@progress/kendo-angular-pivotgrid 24.2.2 → 25.0.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/progress-kendo-angular-pivotgrid.mjs +117 -117
- package/index.d.ts +1667 -25
- package/package-metadata.mjs +2 -2
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +2 -2
- package/configurator/chip-kb-nav.directive.d.ts +0 -25
- package/configurator/chip-menu/chip-menu-container.component.d.ts +0 -21
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +0 -44
- package/configurator/chip-menu/chip-menu-item-base.d.ts +0 -22
- package/configurator/chip-menu/chip-menu-item-content-template.directive.d.ts +0 -18
- package/configurator/chip-menu/chip-menu-item.component.d.ts +0 -60
- package/configurator/chip-menu/chip-menu-item.directive.d.ts +0 -32
- package/configurator/chip-menu/chip-menu-reorder.component.d.ts +0 -44
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +0 -36
- package/configurator/chip-menu/chip-menu.component.d.ts +0 -41
- package/configurator/chip-menu/chip-menu.service.d.ts +0 -26
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +0 -44
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +0 -19
- package/configurator/chip-menu/filtering/menu-tabbing.service.d.ts +0 -16
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +0 -53
- package/configurator/chip-menu/single-popup.service.d.ts +0 -53
- package/configurator/configurator.component.d.ts +0 -128
- package/configurator/configurator.service.d.ts +0 -32
- package/configurator/draggable.directive.d.ts +0 -34
- package/configurator/drop-cue.service.d.ts +0 -23
- package/configurator/drop-target.directive.d.ts +0 -38
- package/data-binding/base-binding-directive.d.ts +0 -74
- package/data-binding/local-binding.directive.d.ts +0 -57
- package/data-binding/olap-binding.directive.d.ts +0 -58
- package/data-binding/pivotgrid-data.service.d.ts +0 -51
- package/directives.d.ts +0 -58
- package/localization/custom-messages.component.d.ts +0 -31
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -178
- package/localization/pivot-localization.service.d.ts +0 -19
- package/models/configuration-change-event.d.ts +0 -36
- package/models/configurator-chipmenu-reorder-target.d.ts +0 -8
- package/models/configurator-orientation.d.ts +0 -10
- package/models/configurator-position.d.ts +0 -10
- package/models/configurator-settings.d.ts +0 -37
- package/models/data-row-item.d.ts +0 -18
- package/models/drop-section.d.ts +0 -8
- package/models/drop-target.d.ts +0 -8
- package/models/expanded-change-event.d.ts +0 -27
- package/models/expanded-state-action.d.ts +0 -16
- package/models/loader-settings.d.ts +0 -57
- package/models/virtualization-settings.d.ts +0 -43
- package/package-metadata.d.ts +0 -9
- package/pivotgrid.component.d.ts +0 -145
- package/pivotgrid.module.d.ts +0 -56
- package/rendering/pivotgrid-cell.directive.d.ts +0 -38
- package/rendering/pivotgrid-table.component.d.ts +0 -60
- package/rendering/templates/pivotgrid-cell-template.directive.d.ts +0 -35
- package/rendering/templates/pivotgrid-column-header-cell-template.directive.d.ts +0 -35
- package/rendering/templates/pivotgrid-row-header-cell-template.directive.d.ts +0 -35
- package/rendering/templates/pivotgrid-value-cell-template.directive.d.ts +0 -34
- package/util.d.ts +0 -87
- package/virtual/scroll.service.d.ts +0 -15
- package/virtual/scrollable-container.d.ts +0 -35
package/index.d.ts
CHANGED
|
@@ -2,28 +2,1670 @@
|
|
|
2
2
|
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { OnInit, OnDestroy, EventEmitter, Renderer2, NgZone, ElementRef, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, QueryList, TemplateRef, AfterContentInit } from '@angular/core';
|
|
7
|
+
import { ChipComponent, ChipListComponent, ChipRemoveEvent } from '@progress/kendo-angular-buttons';
|
|
8
|
+
import { PivotGridAxis, PivotDataItem, DataState, Tuple, PivotGridField, ConfiguratorNavigation, PivotGridConfiguratorState, AxisDescriptor, PivotGridConfiguratorDropDirection, PivotGridConfiguratorDropZone, Dimension, Measure, PivotGridNavigation } from '@progress/kendo-pivotgrid-common';
|
|
9
|
+
export { Aggregate, AggregateType, AxisDataItem, Dimension, DimensionField, HierarchyField, KPIField, KPIMeasureField, LevelField, Measure, MeasureField, MemberField, PivotDataItem, PivotGridAxis, PivotGridField, averageAggregate, countAggregate, createAggregate, maxAggregate, minAggregate, sumAggregate } from '@progress/kendo-pivotgrid-common';
|
|
10
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
11
|
+
import { SortDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
12
|
+
import { PreventableEvent, DraggableDirective, ScrollbarService } from '@progress/kendo-angular-common';
|
|
13
|
+
import { TreeViewComponent, TreeItem } from '@progress/kendo-angular-treeview';
|
|
14
|
+
import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
15
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
|
|
17
|
+
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
18
|
+
import { ControlValueAccessor, FormGroup, FormBuilder } from '@angular/forms';
|
|
19
|
+
import { LoaderSize as LoaderSize$1, LoaderThemeColor as LoaderThemeColor$1, LoaderType as LoaderType$1 } from '@progress/kendo-angular-indicators';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
declare class ChipKeyboardNavigationDirective implements OnInit, OnDestroy {
|
|
25
|
+
private host;
|
|
26
|
+
private renderer;
|
|
27
|
+
private ngZone;
|
|
28
|
+
private keydownSub;
|
|
29
|
+
reorder: EventEmitter<{
|
|
30
|
+
direction: string;
|
|
31
|
+
sender: ChipComponent;
|
|
32
|
+
}>;
|
|
33
|
+
constructor(host: ChipComponent, renderer: Renderer2, ngZone: NgZone);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipKeyboardNavigationDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipKeyboardNavigationDirective, "[kendoChipKeyboardNavigation]", never, {}, { "reorder": "reorder"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
declare class ChipMenuItemDirective {
|
|
44
|
+
hostElement: ElementRef;
|
|
45
|
+
private renderer;
|
|
46
|
+
private ngZone;
|
|
47
|
+
menuItemComponent: any;
|
|
48
|
+
firstFocusableElement: HTMLElement;
|
|
49
|
+
lastFocusableElement: HTMLElement;
|
|
50
|
+
set isFirst(value: boolean);
|
|
51
|
+
get isFirst(): boolean;
|
|
52
|
+
set isLast(value: boolean);
|
|
53
|
+
get isLast(): boolean;
|
|
54
|
+
private _isFirst;
|
|
55
|
+
private _isLast;
|
|
56
|
+
private chipMenuItems;
|
|
57
|
+
private subs;
|
|
58
|
+
constructor(hostElement: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
59
|
+
ngAfterViewInit(): void;
|
|
60
|
+
ngOnDestroy(): void;
|
|
61
|
+
private onTab;
|
|
62
|
+
private getLastColumnMenuItem;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuItemDirective, never>;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipMenuItemDirective, "[kendoPivotChipMenuItem]", never, { "menuItemComponent": { "alias": "kendoPivotChipMenuItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Defines the layout orientation of the Configurator.
|
|
69
|
+
*
|
|
70
|
+
* @default 'vertical'
|
|
71
|
+
*/
|
|
72
|
+
type PivotGridConfiguratorOrientation = 'horizontal' | 'vertical';
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the Configurator position in the container.
|
|
76
|
+
*
|
|
77
|
+
* @default 'right'
|
|
78
|
+
*/
|
|
79
|
+
type PivotGridConfiguratorPosition = 'top' | 'left' | 'right' | 'bottom';
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Represents the available settings for the PivotGrid Configurator layout.
|
|
83
|
+
*/
|
|
84
|
+
interface ConfiguratorSettings {
|
|
85
|
+
/**
|
|
86
|
+
* Specifies the Configurator position in the container.
|
|
87
|
+
*
|
|
88
|
+
* @default 'right'
|
|
89
|
+
*/
|
|
90
|
+
position?: PivotGridConfiguratorPosition;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies whether the layout orientation of the Configurator inner elements
|
|
93
|
+
* is horizontal or vertical.
|
|
94
|
+
*
|
|
95
|
+
* @default 'vertical'
|
|
96
|
+
*/
|
|
97
|
+
orientation?: PivotGridConfiguratorOrientation;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
declare class PivotGridState {
|
|
103
|
+
columnAxes?: PivotGridAxis[];
|
|
104
|
+
rowAxes?: PivotGridAxis[];
|
|
105
|
+
measureAxes?: PivotGridAxis[];
|
|
106
|
+
sort?: SortDescriptor[];
|
|
107
|
+
filter?: FilterDescriptor[];
|
|
108
|
+
constructor(columnAxes: PivotGridAxis[], rowAxes: PivotGridAxis[], measureAxes: PivotGridAxis[], sort: SortDescriptor[], filter: FilterDescriptor[]);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Represents the event data for the `expandChange` event.
|
|
113
|
+
*/
|
|
114
|
+
declare class ExpandChangeEvent extends PreventableEvent {
|
|
115
|
+
/**
|
|
116
|
+
* Provides the current row axes configuration that results from user interaction.
|
|
117
|
+
*/
|
|
118
|
+
rowAxes: PivotGridAxis[];
|
|
119
|
+
/**
|
|
120
|
+
* Provides the current column axes configuration that results from user interaction.
|
|
121
|
+
*/
|
|
122
|
+
columnAxes: PivotGridAxis[];
|
|
123
|
+
/**
|
|
124
|
+
* Provides the measure axes configuration.
|
|
125
|
+
*/
|
|
126
|
+
measureAxes: PivotGridAxis[];
|
|
127
|
+
/**
|
|
128
|
+
* @hidden
|
|
129
|
+
*/
|
|
130
|
+
constructor(args?: any);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Represents the event data for the `configurationChange` event.
|
|
135
|
+
*/
|
|
136
|
+
declare class ConfigurationChangeEvent extends PreventableEvent {
|
|
137
|
+
/**
|
|
138
|
+
* Specifies the current row axes configuration that results from user interaction.
|
|
139
|
+
*/
|
|
140
|
+
rowAxes: PivotGridAxis[];
|
|
141
|
+
/**
|
|
142
|
+
* Specifies the current column axes configuration that results from user interaction.
|
|
143
|
+
*/
|
|
144
|
+
columnAxes: PivotGridAxis[];
|
|
145
|
+
/**
|
|
146
|
+
* Provides the measure axes configuration.
|
|
147
|
+
*/
|
|
148
|
+
measureAxes: PivotGridAxis[];
|
|
149
|
+
/**
|
|
150
|
+
* Provides the sorting configuration.
|
|
151
|
+
*/
|
|
152
|
+
sort?: SortDescriptor[];
|
|
153
|
+
/**
|
|
154
|
+
* Provides the filtering configuration.
|
|
155
|
+
*/
|
|
156
|
+
filter?: FilterDescriptor[];
|
|
157
|
+
/**
|
|
158
|
+
* @hidden
|
|
159
|
+
*/
|
|
160
|
+
constructor(args?: any);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Represents the event data for `dataLoaded` event.
|
|
165
|
+
*/
|
|
166
|
+
interface PivotDataRowItem {
|
|
167
|
+
/**
|
|
168
|
+
* Provides the row hierarchy.
|
|
169
|
+
*/
|
|
170
|
+
row: string[];
|
|
171
|
+
/**
|
|
172
|
+
* Provides the aggregated cell data.
|
|
173
|
+
*/
|
|
174
|
+
cells: PivotDataItem[];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @hidden
|
|
179
|
+
* A directive which binds the PivotGrid to an array of objects.
|
|
180
|
+
*/
|
|
181
|
+
declare abstract class PivotBaseBindingDirective implements OnInit, OnDestroy {
|
|
182
|
+
protected dataService: PivotGridDataService;
|
|
183
|
+
private zone;
|
|
184
|
+
protected abstract loadData(state: PivotGridState): void;
|
|
185
|
+
protected abstract loadFields(): void;
|
|
186
|
+
abstract fetchChildren(state: any, fields: any): Promise<any>;
|
|
187
|
+
abstract type: 'local' | 'olap';
|
|
188
|
+
/**
|
|
189
|
+
* Defines the column axes configuration of the PivotGrid.
|
|
190
|
+
*/
|
|
191
|
+
columnAxes: PivotGridAxis[];
|
|
192
|
+
/**
|
|
193
|
+
* Defines the row axes configuration of the PivotGrid.
|
|
194
|
+
*/
|
|
195
|
+
rowAxes: PivotGridAxis[];
|
|
196
|
+
/**
|
|
197
|
+
* Defines the measure axes configuration of the PivotGrid.
|
|
198
|
+
*/
|
|
199
|
+
measureAxes: PivotGridAxis[];
|
|
200
|
+
/**
|
|
201
|
+
* Sets the initial sorted state of the PivotGrid.
|
|
202
|
+
*/
|
|
203
|
+
sort: SortDescriptor[];
|
|
204
|
+
/**
|
|
205
|
+
* Sets the initial filtered state of the PivotGrid.
|
|
206
|
+
*/
|
|
207
|
+
filter: FilterDescriptor[];
|
|
208
|
+
/**
|
|
209
|
+
* Fires each time a row or column header gets expanded or collapsed by the user.
|
|
210
|
+
*
|
|
211
|
+
* The event is preventable. If you prevent the event, the PivotGrid will not rerender with the new state that results from the user interaction.
|
|
212
|
+
*/
|
|
213
|
+
expandChange: EventEmitter<ExpandChangeEvent>;
|
|
214
|
+
/**
|
|
215
|
+
* Fires when the Configurator **Apply** button is pressed.
|
|
216
|
+
*
|
|
217
|
+
* The event is preventable. If you prevent the event, the PivotGrid will not rerender with the new state that results from the configuration changes.
|
|
218
|
+
*/
|
|
219
|
+
configurationChange: EventEmitter<ConfigurationChangeEvent>;
|
|
220
|
+
/**
|
|
221
|
+
* Fires each time new data is loaded and transformed to show aggregated values.
|
|
222
|
+
*
|
|
223
|
+
* The event fires upon initialization and on user interaction that changes the state of the PivotGrid.
|
|
224
|
+
*/
|
|
225
|
+
dataLoaded: EventEmitter<PivotDataRowItem[]>;
|
|
226
|
+
protected dataState: DataState;
|
|
227
|
+
protected configuratorFields: any;
|
|
228
|
+
private subs;
|
|
229
|
+
constructor(dataService: PivotGridDataService, zone: NgZone);
|
|
230
|
+
ngOnInit(): void;
|
|
231
|
+
ngOnDestroy(): void;
|
|
232
|
+
protected updateDataServiceFields(): void;
|
|
233
|
+
protected updateConfiguratorFields(): void;
|
|
234
|
+
private updateHeaders;
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotBaseBindingDirective, never>;
|
|
236
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotBaseBindingDirective, "kendo-base-binding-directive", never, { "columnAxes": { "alias": "columnAxes"; "required": false; }; "rowAxes": { "alias": "rowAxes"; "required": false; }; "measureAxes": { "alias": "measureAxes"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, { "expandChange": "expandChange"; "configurationChange": "configurationChange"; "dataLoaded": "dataLoaded"; }, never, never, true, never>;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @hidden
|
|
241
|
+
*/
|
|
242
|
+
declare class PivotGridDataService {
|
|
243
|
+
private ngZone;
|
|
244
|
+
expandedStateChange: EventEmitter<any>;
|
|
245
|
+
configuratorFieldChange: EventEmitter<any>;
|
|
246
|
+
expandedFieldChange: EventEmitter<any>;
|
|
247
|
+
directive: PivotBaseBindingDirective;
|
|
248
|
+
normalizedData: any[];
|
|
249
|
+
rows: Tuple[];
|
|
250
|
+
columns: Tuple[];
|
|
251
|
+
wrapper: Element;
|
|
252
|
+
aggregateData: PivotDataRowItem[];
|
|
253
|
+
state: PivotGridState;
|
|
254
|
+
columnHeaderLeaves: {
|
|
255
|
+
total: boolean;
|
|
256
|
+
path: string[];
|
|
257
|
+
}[];
|
|
258
|
+
columnHeaderRows: BehaviorSubject<any[]>;
|
|
259
|
+
columnHeaderCols: BehaviorSubject<any[]>;
|
|
260
|
+
rowHeaderLeaves: {
|
|
261
|
+
total: boolean;
|
|
262
|
+
path: string[];
|
|
263
|
+
}[];
|
|
264
|
+
rowHeaderCols: BehaviorSubject<any[]>;
|
|
265
|
+
rowHeaderRows: BehaviorSubject<any[]>;
|
|
266
|
+
valuesRows: BehaviorSubject<{
|
|
267
|
+
row: string[];
|
|
268
|
+
cells: PivotDataItem[];
|
|
269
|
+
}[]>;
|
|
270
|
+
loading: BehaviorSubject<boolean>;
|
|
271
|
+
pivotGridId: number;
|
|
272
|
+
constructor(ngZone: NgZone);
|
|
273
|
+
fields: BehaviorSubject<PivotGridField[]>;
|
|
274
|
+
configuredFields: BehaviorSubject<any>;
|
|
275
|
+
updateRowsAndCols(): void;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridDataService, never>;
|
|
277
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PivotGridDataService>;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @hidden
|
|
282
|
+
*/
|
|
283
|
+
type DropSectionType = 'column' | 'row' | 'measure';
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
* Represents the Kendo UI PivotGrid Configurator component for Angular.
|
|
288
|
+
*/
|
|
289
|
+
declare class PivotGridConfiguratorComponent implements OnInit, OnChanges, OnDestroy {
|
|
290
|
+
private dataService;
|
|
291
|
+
private localization;
|
|
292
|
+
configuratorService: ConfiguratorService;
|
|
293
|
+
private cdr;
|
|
294
|
+
private zone;
|
|
295
|
+
hostClass: boolean;
|
|
296
|
+
hostAriaRole: string;
|
|
297
|
+
get headerTextId(): string;
|
|
298
|
+
orientation: PivotGridConfiguratorOrientation;
|
|
299
|
+
sort: Array<SortDescriptor>;
|
|
300
|
+
filter: FilterDescriptor[];
|
|
301
|
+
navigation: ConfiguratorNavigation;
|
|
302
|
+
close: EventEmitter<any>;
|
|
303
|
+
treeView: TreeViewComponent;
|
|
304
|
+
columnsList: ChipListComponent;
|
|
305
|
+
rowsList: ChipListComponent;
|
|
306
|
+
originalState: PivotGridConfiguratorState;
|
|
307
|
+
state: PivotGridConfiguratorState;
|
|
308
|
+
fields: PivotGridField[];
|
|
309
|
+
checked: any[];
|
|
310
|
+
get isHorizontal(): boolean;
|
|
311
|
+
get isApplyDisabled(): boolean;
|
|
312
|
+
private subs;
|
|
313
|
+
/**
|
|
314
|
+
* A function which determines if a specific node has child nodes.
|
|
315
|
+
*/
|
|
316
|
+
hasChildren: (node: any) => boolean;
|
|
317
|
+
constructor(dataService: PivotGridDataService, localization: LocalizationService, configuratorService: ConfiguratorService, cdr: ChangeDetectorRef, zone: NgZone);
|
|
318
|
+
ngOnInit(): void;
|
|
319
|
+
ngAfterViewInit(): void;
|
|
320
|
+
ngOnDestroy(): void;
|
|
321
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
322
|
+
getName(name: string[]): string;
|
|
323
|
+
contentLabelId(section: string): string;
|
|
324
|
+
setState(state: PivotGridConfiguratorState): void;
|
|
325
|
+
onReorder(ev: any, name: string, item: any): void;
|
|
326
|
+
/**
|
|
327
|
+
* Returns the localized message for a given token
|
|
328
|
+
*/
|
|
329
|
+
messageFor(localizationToken: string): string;
|
|
330
|
+
/**
|
|
331
|
+
* Retrieves the 'Columns' section item names
|
|
332
|
+
*/
|
|
333
|
+
get columnHierarchies(): unknown[];
|
|
334
|
+
/**
|
|
335
|
+
* Retrieves the 'Rows' section item names
|
|
336
|
+
*/
|
|
337
|
+
get rowHierarchies(): unknown[];
|
|
338
|
+
/**
|
|
339
|
+
* Retrieves the 'Value' section item names
|
|
340
|
+
*/
|
|
341
|
+
get measureHierarchies(): unknown[];
|
|
342
|
+
/**
|
|
343
|
+
* Updates the respective axis configuration of the current state
|
|
344
|
+
* when a chip is deleted from the UI
|
|
345
|
+
*/
|
|
346
|
+
onChipRemove(ev: ChipRemoveEvent, item: AxisDescriptor, section: DropSectionType): void;
|
|
347
|
+
/**
|
|
348
|
+
* Constructs an array with all selected fields.
|
|
349
|
+
* @param fields - used for when child nodes are loaded on demand.
|
|
350
|
+
* Child nodes are concatinated to the root level nodes.
|
|
351
|
+
*/
|
|
352
|
+
setChecked(fields?: any[]): void;
|
|
353
|
+
checkItemBy: (context: any) => any;
|
|
354
|
+
/**
|
|
355
|
+
* Determines if a checkbox should be rendered.
|
|
356
|
+
*/
|
|
357
|
+
isSelectable(node: any): boolean;
|
|
358
|
+
/**
|
|
359
|
+
* A function which provides the child nodes for a given parent node.
|
|
360
|
+
*/
|
|
361
|
+
children: (node: any) => Observable<any[]>;
|
|
362
|
+
/**
|
|
363
|
+
* Check if the newly loaded child nodes have checked items.
|
|
364
|
+
* (Only for OLAP data-binding directive)
|
|
365
|
+
*/
|
|
366
|
+
handleChildrenLoaded(event: {
|
|
367
|
+
children: TreeItem[];
|
|
368
|
+
item: TreeItem;
|
|
369
|
+
}): void;
|
|
370
|
+
handleCheckedChange(event: any): void;
|
|
371
|
+
onTreeViewSelect(ev: Event): void;
|
|
372
|
+
onTreeViewEscape(ev: KeyboardEvent): void;
|
|
373
|
+
handleSubmit(): void;
|
|
374
|
+
/**
|
|
375
|
+
* Reset the configurator to the last saved state
|
|
376
|
+
*/
|
|
377
|
+
handleReset(): void;
|
|
378
|
+
/**
|
|
379
|
+
* Flattens all available fields.
|
|
380
|
+
*/
|
|
381
|
+
private getFieldsFlatMap;
|
|
382
|
+
/**
|
|
383
|
+
* Creates an array containing only the field names, e.g. '[Date].[Calendar]' or 'Product'
|
|
384
|
+
*/
|
|
385
|
+
private extractDefaultFields;
|
|
386
|
+
/**
|
|
387
|
+
* Swaps chips within the same ChipList
|
|
388
|
+
*/
|
|
389
|
+
private swapChips;
|
|
390
|
+
/**
|
|
391
|
+
* Moves a chip from one ChipList to another
|
|
392
|
+
*/
|
|
393
|
+
private moveChip;
|
|
394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridConfiguratorComponent, never>;
|
|
395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridConfiguratorComponent, "kendo-pivotgrid-configurator", never, { "orientation": { "alias": "orientation"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* @hidden
|
|
400
|
+
*/
|
|
401
|
+
declare class ConfiguratorService {
|
|
402
|
+
private dataService;
|
|
403
|
+
configuratorInstance: PivotGridConfiguratorComponent;
|
|
404
|
+
state: PivotGridConfiguratorState;
|
|
405
|
+
draggedElement: {
|
|
406
|
+
element: Element;
|
|
407
|
+
fromSection: DropSectionType;
|
|
408
|
+
};
|
|
409
|
+
dropTargetElement: Element;
|
|
410
|
+
cueContainer: Element;
|
|
411
|
+
orientation: PivotGridConfiguratorOrientation;
|
|
412
|
+
configuratorStateChange: EventEmitter<any>;
|
|
413
|
+
closeMenu: EventEmitter<any>;
|
|
414
|
+
constructor(dataService: PivotGridDataService);
|
|
415
|
+
parseConfiguratorState(action: any): void;
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorService, never>;
|
|
417
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorService>;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @hidden
|
|
422
|
+
*/
|
|
423
|
+
declare class MenuTabbingService {
|
|
424
|
+
firstFocusable: any;
|
|
425
|
+
lastFocusable: any;
|
|
426
|
+
isPopupOpen: boolean;
|
|
427
|
+
lastMenuItem: any;
|
|
428
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTabbingService, never>;
|
|
429
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuTabbingService>;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* @hidden
|
|
434
|
+
* Represents the service that is passed to the ChipMenuFilterComponent and ChipMenuSortComponent.
|
|
435
|
+
*/
|
|
436
|
+
declare class ChipMenuService {
|
|
437
|
+
configuratorService?: ConfiguratorService;
|
|
438
|
+
menuTabbingService: MenuTabbingService;
|
|
439
|
+
closeMenu: EventEmitter<any>;
|
|
440
|
+
private sub;
|
|
441
|
+
/**
|
|
442
|
+
* Closes the chip menu.
|
|
443
|
+
*/
|
|
444
|
+
close(): void;
|
|
445
|
+
constructor(menuTabbingService?: MenuTabbingService, configuratorService?: ConfiguratorService);
|
|
446
|
+
ngOnDestroy(): void;
|
|
447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuService, never>;
|
|
448
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ChipMenuService>;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* @hidden
|
|
453
|
+
*/
|
|
454
|
+
declare class ChipMenuContainerComponent implements AfterViewInit {
|
|
455
|
+
private service;
|
|
456
|
+
private ngZone;
|
|
457
|
+
chipMenuItems: QueryList<ChipMenuItemDirective>;
|
|
458
|
+
hostClass: boolean;
|
|
459
|
+
constructor(service: ChipMenuService, ngZone: NgZone);
|
|
460
|
+
ngAfterViewInit(): void;
|
|
461
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuContainerComponent, never>;
|
|
462
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuContainerComponent, "kendo-pivot-chipmenu-container", never, {}, {}, ["chipMenuItems"], ["*"], true, never>;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @hidden
|
|
467
|
+
*
|
|
468
|
+
* Needed to keep the Pivot's LocalizationService reference and be able to use it inside the ChipList component.
|
|
469
|
+
*/
|
|
470
|
+
declare class PivotLocalizationService {
|
|
471
|
+
localization: LocalizationService;
|
|
472
|
+
constructor(localization: LocalizationService);
|
|
473
|
+
get(token: string): string;
|
|
474
|
+
get rtl(): boolean;
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotLocalizationService, never>;
|
|
476
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PivotLocalizationService>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @hidden
|
|
481
|
+
*/
|
|
482
|
+
declare class ChipMenuItemBase implements OnInit {
|
|
483
|
+
/**
|
|
484
|
+
* Represents the ChipMenuService class.
|
|
485
|
+
* Requires a mandatory input.
|
|
486
|
+
*/
|
|
487
|
+
service: ChipMenuService;
|
|
488
|
+
hostClass: boolean;
|
|
489
|
+
ngOnInit(): void;
|
|
490
|
+
close(): void;
|
|
491
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuItemBase, never>;
|
|
492
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuItemBase, "kendo-pivot-chip-menu-item-base", never, { "service": { "alias": "service"; "required": false; }; }, {}, never, never, true, never>;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @hidden
|
|
497
|
+
* Represents the component for setting field filters in the PivotGrid.
|
|
498
|
+
*/
|
|
499
|
+
declare class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
500
|
+
localization: PivotLocalizationService;
|
|
501
|
+
/**
|
|
502
|
+
* Fires when the content is expanded.
|
|
503
|
+
*/
|
|
504
|
+
expand: EventEmitter<any>;
|
|
505
|
+
/**
|
|
506
|
+
* Fires when the content is collapsed.
|
|
507
|
+
*/
|
|
508
|
+
collapse: EventEmitter<any>;
|
|
509
|
+
/**
|
|
510
|
+
* Holds current field information.
|
|
511
|
+
*/
|
|
512
|
+
chip: AxisDescriptor;
|
|
513
|
+
/**
|
|
514
|
+
* Specifies if the content is expanded.
|
|
515
|
+
*/
|
|
516
|
+
expanded: boolean;
|
|
517
|
+
actionsClass: string;
|
|
518
|
+
filterSVGIcon: SVGIcon;
|
|
519
|
+
constructor(localization: PivotLocalizationService);
|
|
520
|
+
onCollapse(): void;
|
|
521
|
+
onExpand(): void;
|
|
522
|
+
/**
|
|
523
|
+
* Returns the localized message for a given token
|
|
524
|
+
*/
|
|
525
|
+
messageFor(localizationToken: string): string;
|
|
526
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuFilterComponent, never>;
|
|
527
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuFilterComponent, "kendo-pivot-chipmenu-filter", never, { "chip": { "alias": "chip"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, { "expand": "expand"; "collapse": "collapse"; }, never, never, true, never>;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @hidden
|
|
532
|
+
*
|
|
533
|
+
* Represents the content template of the ChipMenuItemComponent.
|
|
534
|
+
* Provides an option for specifying the content of a chip menu item..
|
|
535
|
+
*/
|
|
536
|
+
declare class ChipMenuItemContentTemplateDirective {
|
|
537
|
+
templateRef: TemplateRef<any>;
|
|
538
|
+
constructor(templateRef: TemplateRef<any>);
|
|
539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuItemContentTemplateDirective, [{ optional: true; }]>;
|
|
540
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipMenuItemContentTemplateDirective, "[kendoPivotChipMenuItemContentTemplate]", never, {}, {}, never, never, true, never>;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* @hidden
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
declare class ChipMenuItemComponent implements OnChanges {
|
|
548
|
+
/**
|
|
549
|
+
* Fires when the item is clicked.
|
|
550
|
+
*/
|
|
551
|
+
itemClick: EventEmitter<any>;
|
|
552
|
+
/**
|
|
553
|
+
* Fires when the content is expanded.
|
|
554
|
+
*/
|
|
555
|
+
expand: EventEmitter<any>;
|
|
556
|
+
/**
|
|
557
|
+
* Fires when the content is collapsed.
|
|
558
|
+
*/
|
|
559
|
+
collapse: EventEmitter<any>;
|
|
560
|
+
/**
|
|
561
|
+
* Specifies the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list)
|
|
562
|
+
* that will be rendered for the item.
|
|
563
|
+
*/
|
|
564
|
+
icon: string;
|
|
565
|
+
/**
|
|
566
|
+
* Defines an SVGIcon to be rendered for the column menu items.
|
|
567
|
+
* The input can take either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
568
|
+
*/
|
|
569
|
+
svgIcon: SVGIcon;
|
|
570
|
+
/**
|
|
571
|
+
* Specifies the item text.
|
|
572
|
+
*/
|
|
573
|
+
text: string;
|
|
574
|
+
/**
|
|
575
|
+
* Specifies if the item is selected.
|
|
576
|
+
*/
|
|
577
|
+
selected: boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Specifies if the item is expanded.
|
|
580
|
+
*/
|
|
581
|
+
expanded: boolean;
|
|
582
|
+
/**
|
|
583
|
+
* Specified if the item is disabled
|
|
584
|
+
*/
|
|
585
|
+
disabled: boolean;
|
|
586
|
+
contentTemplate: ChipMenuItemContentTemplateDirective;
|
|
587
|
+
get iconClass(): string;
|
|
588
|
+
contentState: string;
|
|
589
|
+
ngOnChanges(changes: any): void;
|
|
590
|
+
onClick(e: any): void;
|
|
591
|
+
private updateContentState;
|
|
592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuItemComponent, never>;
|
|
593
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuItemComponent, "kendo-pivot-chipmenu-item", never, { "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never, true, never>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @hidden
|
|
598
|
+
*/
|
|
599
|
+
type ChipMenuReorderTarget = 'columns' | 'rows' | 'prev' | 'next';
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @hidden
|
|
603
|
+
*
|
|
604
|
+
* Represents a chip-menu item for reordering PivotGrid fields.
|
|
605
|
+
*/
|
|
606
|
+
declare class ChipMenuReorderComponent extends ChipMenuItemBase {
|
|
607
|
+
localization: PivotLocalizationService;
|
|
608
|
+
protected renderer: Renderer2;
|
|
609
|
+
protected configuratorService: ConfiguratorService;
|
|
610
|
+
protected dataService: PivotGridDataService;
|
|
611
|
+
protected cdr: ChangeDetectorRef;
|
|
612
|
+
protected ngZone: NgZone;
|
|
613
|
+
chip: AxisDescriptor;
|
|
614
|
+
columnsIcon: SVGIcon;
|
|
615
|
+
rowsIcon: SVGIcon;
|
|
616
|
+
arrowLeftIcon: SVGIcon;
|
|
617
|
+
arrowRightIcon: SVGIcon;
|
|
618
|
+
rtl: boolean;
|
|
619
|
+
get isColumnsField(): boolean;
|
|
620
|
+
get isRowsField(): boolean;
|
|
621
|
+
get isMeasureField(): boolean;
|
|
622
|
+
get isFirst(): boolean;
|
|
623
|
+
get isLast(): boolean;
|
|
624
|
+
private subs;
|
|
625
|
+
constructor(localization: PivotLocalizationService, renderer: Renderer2, configuratorService: ConfiguratorService, dataService: PivotGridDataService, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
626
|
+
ngOnDestroy(): void;
|
|
627
|
+
messageFor(localizationToken: string): string;
|
|
628
|
+
move(e: any, target: ChipMenuReorderTarget): void;
|
|
629
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuReorderComponent, never>;
|
|
630
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuReorderComponent, "kendo-pivot-chipmenu-reorder", never, { "chip": { "alias": "chip"; "required": false; }; }, {}, never, never, true, never>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @hidden
|
|
635
|
+
*
|
|
636
|
+
* Represents a chip-menu item for sorting PivotGrid fields.
|
|
637
|
+
* Allows the user to sort the PivotGrid.
|
|
638
|
+
*/
|
|
639
|
+
declare class ChipMenuSortComponent extends ChipMenuItemBase {
|
|
640
|
+
localization: PivotLocalizationService;
|
|
641
|
+
protected renderer: Renderer2;
|
|
642
|
+
protected configuratorService: ConfiguratorService;
|
|
643
|
+
chip: AxisDescriptor;
|
|
644
|
+
sortAscSVGIcon: SVGIcon;
|
|
645
|
+
sortDescSVGIcon: SVGIcon;
|
|
646
|
+
constructor(localization: PivotLocalizationService, renderer: Renderer2, configuratorService: ConfiguratorService);
|
|
647
|
+
get sortedAsc(): boolean;
|
|
648
|
+
get sortedDesc(): boolean;
|
|
649
|
+
/**
|
|
650
|
+
* Returns the localized message for a given token
|
|
651
|
+
*/
|
|
652
|
+
messageFor(localizationToken: string): string;
|
|
653
|
+
toggleSort(dir: 'asc' | 'desc'): void;
|
|
654
|
+
private get descriptor();
|
|
655
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuSortComponent, never>;
|
|
656
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuSortComponent, "kendo-pivot-chipmenu-sort", never, { "chip": { "alias": "chip"; "required": false; }; }, {}, never, never, true, never>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @hidden
|
|
661
|
+
* Arguments for the `close` event of the chip-menu popup.
|
|
662
|
+
*/
|
|
663
|
+
declare class PopupCloseEvent extends PreventableEvent {
|
|
664
|
+
/**
|
|
665
|
+
* The original DOM event that causes the popup to close.
|
|
666
|
+
*/
|
|
667
|
+
originalEvent: any;
|
|
668
|
+
/**
|
|
669
|
+
* @hidden
|
|
670
|
+
*/
|
|
671
|
+
constructor(e: any);
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @hidden
|
|
675
|
+
* The service that is used for the popups of the chip menus.
|
|
676
|
+
*/
|
|
677
|
+
declare class SinglePopupService implements OnDestroy {
|
|
678
|
+
private popupService;
|
|
679
|
+
private renderer;
|
|
680
|
+
private ngZone;
|
|
681
|
+
private localization;
|
|
682
|
+
/**
|
|
683
|
+
* Fires when the chip menus are about to close because the user clicked outside their popups.
|
|
684
|
+
* Used to prevent the popup from closing.
|
|
685
|
+
*/
|
|
686
|
+
readonly onClose: Subject<PopupCloseEvent>;
|
|
687
|
+
private removeClick;
|
|
688
|
+
private pointerEventsSub;
|
|
689
|
+
private popupRef;
|
|
690
|
+
private scrollSubscription;
|
|
691
|
+
private canClosePopup;
|
|
692
|
+
constructor(popupService: PopupService, renderer: Renderer2, ngZone: NgZone, localization: PivotLocalizationService);
|
|
693
|
+
open(anchor: any, template: any, popupRef: PopupRef, popupClass?: string): PopupRef;
|
|
694
|
+
destroy(): void;
|
|
695
|
+
ngOnDestroy(): void;
|
|
696
|
+
private detachClose;
|
|
697
|
+
private attachClose;
|
|
698
|
+
private attachMouseListeners;
|
|
699
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SinglePopupService, never>;
|
|
700
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SinglePopupService>;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @hidden
|
|
705
|
+
*
|
|
706
|
+
* Represents the field chip menu component.
|
|
707
|
+
*/
|
|
708
|
+
declare class ChipMenuComponent implements OnDestroy {
|
|
709
|
+
protected popupService: SinglePopupService;
|
|
710
|
+
localization: PivotLocalizationService;
|
|
711
|
+
service: ChipMenuService;
|
|
712
|
+
private renderer;
|
|
713
|
+
/**
|
|
714
|
+
* The Configurator field instance to control with the menu.
|
|
715
|
+
*/
|
|
716
|
+
chip: AxisDescriptor;
|
|
717
|
+
tabIndex: string;
|
|
718
|
+
isMeasureField: boolean;
|
|
719
|
+
anchor: ChipComponent;
|
|
720
|
+
template: TemplateRef<any>;
|
|
721
|
+
menuItemSVGIcon: SVGIcon;
|
|
722
|
+
private popupRef;
|
|
723
|
+
private closeSubscription;
|
|
724
|
+
constructor(popupService: SinglePopupService, localization: PivotLocalizationService, service: ChipMenuService, renderer: Renderer2);
|
|
725
|
+
ngOnDestroy(): void;
|
|
726
|
+
toggle(e: any): void;
|
|
727
|
+
close(): void;
|
|
728
|
+
get chipMenuTitle(): string;
|
|
729
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuComponent, never>;
|
|
730
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuComponent, "kendo-pivot-chip-menu", never, { "chip": { "alias": "chip"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "isMeasureField": { "alias": "isMeasureField"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, {}, never, never, true, never>;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @hidden
|
|
735
|
+
*/
|
|
736
|
+
declare class FilterMenuContainerComponent implements OnDestroy {
|
|
737
|
+
protected localization: PivotLocalizationService;
|
|
738
|
+
protected cd: ChangeDetectorRef;
|
|
739
|
+
private configuratorService;
|
|
740
|
+
close: EventEmitter<undefined>;
|
|
741
|
+
/**
|
|
742
|
+
* The field with which the filter is associated.
|
|
743
|
+
*/
|
|
744
|
+
chip: AxisDescriptor;
|
|
745
|
+
isExpanded: boolean;
|
|
746
|
+
menuTabbingService: MenuTabbingService;
|
|
747
|
+
actionsClass: string;
|
|
748
|
+
filterDescriptorValue: {
|
|
749
|
+
operator: any;
|
|
750
|
+
value: any;
|
|
751
|
+
};
|
|
752
|
+
private filterMenuComponent;
|
|
753
|
+
constructor(localization: PivotLocalizationService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService, configuratorService: ConfiguratorService);
|
|
754
|
+
ngOnDestroy(): void;
|
|
755
|
+
get disabled(): boolean;
|
|
756
|
+
get clearDisabled(): boolean;
|
|
757
|
+
submit(): boolean;
|
|
758
|
+
reset(e?: Event): void;
|
|
759
|
+
onClearAction(e: Event): void;
|
|
760
|
+
/**
|
|
761
|
+
* Returns the localized message for a given token
|
|
762
|
+
*/
|
|
763
|
+
messageFor(localizationToken: string): string;
|
|
764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, never>;
|
|
765
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterMenuContainerComponent, "kendo-pivot-filter-menu-container", never, { "chip": { "alias": "chip"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "menuTabbingService": { "alias": "menuTabbingService"; "required": false; }; "actionsClass": { "alias": "actionsClass"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* @hidden
|
|
770
|
+
*/
|
|
771
|
+
declare class FilterMenuDropDownListDirective {
|
|
772
|
+
private host;
|
|
773
|
+
filterMenuDropDownLabel: string;
|
|
774
|
+
constructor(host: DropDownListComponent);
|
|
775
|
+
ngAfterViewInit(): void;
|
|
776
|
+
ngOnDestroy(): void;
|
|
777
|
+
private keydownHandler;
|
|
778
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuDropDownListDirective, never>;
|
|
779
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterMenuDropDownListDirective, "[kendoFilterMenuDropDown]", never, { "filterMenuDropDownLabel": { "alias": "filterMenuDropDownLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
type ChangeCallbackFn<T> = (value: T) => void;
|
|
783
|
+
type TouchCallbackFn = () => void;
|
|
784
|
+
/**
|
|
785
|
+
* @hidden
|
|
786
|
+
*
|
|
787
|
+
* Represents a string-filter menu component.
|
|
788
|
+
*/
|
|
789
|
+
declare class StringFilterMenuComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
790
|
+
private localization;
|
|
791
|
+
private configuratorService;
|
|
792
|
+
private fb;
|
|
793
|
+
/**
|
|
794
|
+
* The field with which the filter is associated.
|
|
795
|
+
*/
|
|
796
|
+
chip: any;
|
|
797
|
+
menuTabbingService: MenuTabbingService;
|
|
798
|
+
operators: Array<{
|
|
799
|
+
text: string;
|
|
800
|
+
value: string;
|
|
801
|
+
}>;
|
|
802
|
+
filterFormGroup: FormGroup;
|
|
803
|
+
get currentFilter(): FilterDescriptor;
|
|
804
|
+
private subscription;
|
|
805
|
+
constructor(localization: PivotLocalizationService, configuratorService: ConfiguratorService, fb: FormBuilder);
|
|
806
|
+
onTouched: () => void;
|
|
807
|
+
registerOnChange(fn: ChangeCallbackFn<object>): void;
|
|
808
|
+
registerOnTouched(fn: TouchCallbackFn): void;
|
|
809
|
+
writeValue(val: any): void;
|
|
810
|
+
get filterMenuDropDownLabel(): string;
|
|
811
|
+
ngOnInit(): void;
|
|
812
|
+
ngOnDestroy(): void;
|
|
813
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterMenuComponent, never>;
|
|
814
|
+
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>;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* @hidden
|
|
819
|
+
*/
|
|
820
|
+
declare class DropCueService {
|
|
821
|
+
dom: any;
|
|
822
|
+
create(): void;
|
|
823
|
+
attach(container: Element): Function;
|
|
824
|
+
remove(container: Element): void;
|
|
825
|
+
hide(): void;
|
|
826
|
+
show(direction: PivotGridConfiguratorDropDirection, container: Element, target: Element): void;
|
|
827
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropCueService, never>;
|
|
828
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DropCueService>;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* @hidden
|
|
833
|
+
*/
|
|
834
|
+
declare class DraggableChipDirective implements OnInit, OnDestroy {
|
|
835
|
+
draggable: DraggableDirective;
|
|
836
|
+
private element;
|
|
837
|
+
private zone;
|
|
838
|
+
private service;
|
|
839
|
+
private cue;
|
|
840
|
+
private renderer;
|
|
841
|
+
get pointerEvents(): any;
|
|
842
|
+
touchActions: string;
|
|
843
|
+
item: PivotGridAxis;
|
|
844
|
+
initialX: any;
|
|
845
|
+
initialY: any;
|
|
846
|
+
private drag;
|
|
847
|
+
private invalidTarget;
|
|
848
|
+
private subs;
|
|
849
|
+
constructor(draggable: DraggableDirective, element: ElementRef, zone: NgZone, service: ConfiguratorService, cue: DropCueService, renderer: Renderer2);
|
|
850
|
+
ngOnInit(): void;
|
|
851
|
+
ngOnDestroy(): void;
|
|
852
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableChipDirective, [{ optional: true; }, null, null, null, null, null]>;
|
|
853
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableChipDirective, "[kendoChipDraggable]", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* @hidden
|
|
858
|
+
*/
|
|
859
|
+
declare class DropTargetDirective implements OnInit, OnDestroy {
|
|
860
|
+
private element;
|
|
861
|
+
private configuratorService;
|
|
862
|
+
private cue;
|
|
863
|
+
private renderer;
|
|
864
|
+
private zone;
|
|
865
|
+
item: PivotGridAxis;
|
|
866
|
+
axes: PivotGridConfiguratorDropZone;
|
|
867
|
+
private elementType;
|
|
868
|
+
private elementSectionType;
|
|
869
|
+
private targetElement;
|
|
870
|
+
private nextChipOffset;
|
|
871
|
+
private subs;
|
|
872
|
+
constructor(element: ElementRef, configuratorService: ConfiguratorService, cue: DropCueService, renderer: Renderer2, zone: NgZone);
|
|
873
|
+
ngOnInit(): void;
|
|
874
|
+
ngOnDestroy(): void;
|
|
875
|
+
private handleMouseEnter;
|
|
876
|
+
private handleMouseMove;
|
|
877
|
+
private handleMouseLeave;
|
|
878
|
+
private isDropAllowed;
|
|
879
|
+
private getElementType;
|
|
880
|
+
private getCueContainer;
|
|
881
|
+
private getNextChip;
|
|
882
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetDirective, never>;
|
|
883
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetDirective, "[kendoDropTarget]", never, { "item": { "alias": "item"; "required": false; }; "axes": { "alias": "axes"; "required": false; }; }, {}, never, never, true, never>;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Represents a directive that binds the PivotGrid to local data ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/data-binding/local-directive)).
|
|
888
|
+
*
|
|
889
|
+
* @example
|
|
890
|
+
* ```html
|
|
891
|
+
* <kendo-pivotgrid
|
|
892
|
+
* [kendoPivotLocalBinding]="data"
|
|
893
|
+
* [dimensions]="dimensions"
|
|
894
|
+
* [measures]="measures"
|
|
895
|
+
* [columnAxes]="columnAxes"
|
|
896
|
+
* [rowAxes]="rowAxes"
|
|
897
|
+
* [measureAxes]="measureAxes">
|
|
898
|
+
* </kendo-pivotgrid>
|
|
899
|
+
* ```
|
|
900
|
+
*
|
|
901
|
+
* @remarks
|
|
902
|
+
* Applied to: {@link PivotGridComponent}
|
|
903
|
+
*/
|
|
904
|
+
declare class PivotLocalBindingDirective extends PivotBaseBindingDirective {
|
|
905
|
+
/**
|
|
906
|
+
* Contains the array of data which will be used to populate the PivotGrid.
|
|
907
|
+
*/
|
|
908
|
+
data: any[];
|
|
909
|
+
/**
|
|
910
|
+
* Defines the dimensions object of the PivotGrid.
|
|
911
|
+
*/
|
|
912
|
+
dimensions: {
|
|
913
|
+
[key: string]: Dimension;
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Contains the measures collection of the PivotGrid.
|
|
917
|
+
*/
|
|
918
|
+
measures: Measure[];
|
|
919
|
+
type: 'local' | 'olap';
|
|
920
|
+
constructor(dataService: PivotGridDataService, zone: NgZone);
|
|
921
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
922
|
+
/**
|
|
923
|
+
* @hidden
|
|
924
|
+
*/
|
|
925
|
+
fetchChildren(node: any): Promise<any>;
|
|
926
|
+
protected loadFields(): void;
|
|
927
|
+
protected loadData(state: PivotGridState): void;
|
|
928
|
+
private createAxisSettings;
|
|
929
|
+
private getRootAxes;
|
|
930
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotLocalBindingDirective, never>;
|
|
931
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotLocalBindingDirective, "[kendoPivotLocalBinding]", ["kendoPivotLocalBinding"], { "data": { "alias": "kendoPivotLocalBinding"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "measures": { "alias": "measures"; "required": false; }; }, {}, never, never, true, never>;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Represents a directive that binds the PivotGrid to data using an Online Analytical Processing (OLAP) service ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/data-binding/olap-directive)).
|
|
936
|
+
*
|
|
937
|
+
* @example
|
|
938
|
+
* ```html
|
|
939
|
+
* <kendo-pivotgrid
|
|
940
|
+
* kendoPivotOLAPBinding
|
|
941
|
+
* [url]="url"
|
|
942
|
+
* catalog="Adventure Works DW 2008 SE"
|
|
943
|
+
* cube="Adventure Works"
|
|
944
|
+
* [columnAxes]="columnAxes"
|
|
945
|
+
* [rowAxes]="rowAxes"
|
|
946
|
+
* [measureAxes]="measureAxes">
|
|
947
|
+
* </kendo-pivotgrid>
|
|
948
|
+
* ```
|
|
949
|
+
*
|
|
950
|
+
* @remarks
|
|
951
|
+
* Applied to: {@link PivotGridComponent}
|
|
952
|
+
*/
|
|
953
|
+
declare class PivotOLAPBindingDirective extends PivotBaseBindingDirective {
|
|
954
|
+
/**
|
|
955
|
+
* Defines the OLAP service endpoint where the data is processed and retrieved to render the pivot table.
|
|
956
|
+
*/
|
|
957
|
+
url: string;
|
|
958
|
+
/**
|
|
959
|
+
* Sets the cube name that is used to retrieve data for the pivot table rendering.
|
|
960
|
+
*/
|
|
961
|
+
cube: string;
|
|
962
|
+
/**
|
|
963
|
+
* Sets the database name that is used to retrieve the data from the specified connection string.
|
|
964
|
+
*/
|
|
965
|
+
catalog: string;
|
|
966
|
+
type: 'local' | 'olap';
|
|
967
|
+
constructor(dataService: PivotGridDataService, zone: NgZone);
|
|
968
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
969
|
+
protected loadData(state: PivotGridState): void;
|
|
970
|
+
protected loadFields(): void;
|
|
971
|
+
protected updateFields(event: any, fields: any): Promise<any>;
|
|
972
|
+
/**
|
|
973
|
+
* @hidden
|
|
974
|
+
*/
|
|
975
|
+
fetchChildren(event: any, fields: any): Promise<any>;
|
|
976
|
+
private normalizeKPIs;
|
|
977
|
+
private getField;
|
|
978
|
+
private loadKPIs;
|
|
979
|
+
private loadAvailableFields;
|
|
980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotOLAPBindingDirective, never>;
|
|
981
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotOLAPBindingDirective, "[kendoPivotOLAPBinding]", ["kendoPivotOLAPBinding"], { "url": { "alias": "url"; "required": false; }; "cube": { "alias": "cube"; "required": false; }; "catalog": { "alias": "catalog"; "required": false; }; }, {}, never, never, true, never>;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* @hidden
|
|
986
|
+
*/
|
|
987
|
+
declare class PivotGridMessages extends ComponentMessages {
|
|
988
|
+
/**
|
|
989
|
+
* Sets the text content of the filter item in the column and row fields menu.
|
|
990
|
+
*/
|
|
991
|
+
fieldMenuFilterItemLabel: string;
|
|
992
|
+
/**
|
|
993
|
+
* Specifies the text content of the sort ascending item in the column and row fields menu.
|
|
994
|
+
*/
|
|
995
|
+
fieldMenuSortAscendingItemLabel: string;
|
|
996
|
+
/**
|
|
997
|
+
* Sets the text content of the sort descending item in the column and row fields menu.
|
|
998
|
+
*/
|
|
999
|
+
fieldMenuSortDescendingItemLabel: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Defines the label of the filter input.
|
|
1002
|
+
*
|
|
1003
|
+
* The filter input label has two parts—the field name(s) and a localizable string.
|
|
1004
|
+
* For fields named `'[Geography][City]'`, the default label will be `'Geography City Filter'`.
|
|
1005
|
+
*
|
|
1006
|
+
* You can reorder the parts using `'{fields}'` as a placeholder. The `'{fields}'` placeholder will get replaced
|
|
1007
|
+
* with the field name(s). For example, `'filter for {fields}'` will become `'filter for Geography City'`.
|
|
1008
|
+
*/
|
|
1009
|
+
filterInputLabel: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Specifies the label of the filter operators DropDownList.
|
|
1012
|
+
*
|
|
1013
|
+
* The label has two parts—the field name(s) and a localizable string.
|
|
1014
|
+
* For fields named `'[Geography][City]'`, the default label will be `'Geography City Filter Operators'`.
|
|
1015
|
+
*
|
|
1016
|
+
* You can reorder the parts using `'{fields}'` as a placeholder. The `'{fields}'` placeholder will get replaced
|
|
1017
|
+
* with the field name(s). For example, `'filter operators for {fields}'` will become `'filter operators for Geography City'`.
|
|
1018
|
+
*/
|
|
1019
|
+
filterOperatorsDropDownLabel: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Sets the text of the `Equal` (**Is equal to**) filter operator.
|
|
1022
|
+
*/
|
|
1023
|
+
filterEqOperator: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* Specifies the text of the `NotEqual` (**Is not equal to**) filter operator.
|
|
1026
|
+
*/
|
|
1027
|
+
filterNotEqOperator: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Specifies the text of the `IsNull` (**Is null**) filter operator.
|
|
1030
|
+
*/
|
|
1031
|
+
filterIsNullOperator: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Sets the text of the `IsNotNull` (**Is not null**) filter operator.
|
|
1034
|
+
*/
|
|
1035
|
+
filterIsNotNullOperator: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* Specifies the text of the `IsEmpty` (**Is empty**) filter operator.
|
|
1038
|
+
*/
|
|
1039
|
+
filterIsEmptyOperator: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Specifies the text of the `IsNotEmpty` (**Is not empty**) filter operator.
|
|
1042
|
+
*/
|
|
1043
|
+
filterIsNotEmptyOperator: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Sets the text of the `StartsWith` (**Starts with**) filter operator.
|
|
1046
|
+
*/
|
|
1047
|
+
filterStartsWithOperator: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* Sets the text of the `Contains` (**Contains**) filter operator.
|
|
1050
|
+
*/
|
|
1051
|
+
filterContainsOperator: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* Specifies the text of the `DoesNotContain` (**Does not contain**) filter operator.
|
|
1054
|
+
*/
|
|
1055
|
+
filterNotContainsOperator: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Specifies the text of the `EndsWith` (**Ends with**) string filter operator.
|
|
1058
|
+
*/
|
|
1059
|
+
filterEndsWithOperator: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* Sets the text of the **Filter** button.
|
|
1062
|
+
*/
|
|
1063
|
+
filterFilterButton: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Sets the text of the **Clear filter** button.
|
|
1066
|
+
*/
|
|
1067
|
+
filterClearButton: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Specifies the loading text.
|
|
1070
|
+
*
|
|
1071
|
+
* > The `loading` property is part of the accessibility support of the PivotGrid.
|
|
1072
|
+
* Its value is detectable by screen readers and is not visible otherwise.
|
|
1073
|
+
*/
|
|
1074
|
+
loading: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* Specifies the value of the aria-label attribute placed on the PivotGrid focusable empty cell element.
|
|
1077
|
+
*/
|
|
1078
|
+
emptyCellLabel: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* Sets the text content of the button that opens and closes the PivotGrid configurator.
|
|
1081
|
+
*/
|
|
1082
|
+
configuratorButtonText: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Sets the text content of the PivotGrid configurator title element.
|
|
1085
|
+
*/
|
|
1086
|
+
configuratorHeaderText: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Sets the text content of the PivotGrid configurator fields section title element.
|
|
1089
|
+
*/
|
|
1090
|
+
configuratorFieldsText: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Sets the text content of the PivotGrid configurator columns section title element.
|
|
1093
|
+
*/
|
|
1094
|
+
configuratorColumnsText: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Specifies the text content of the PivotGrid configurator rows section title element.
|
|
1097
|
+
*/
|
|
1098
|
+
configuratorRowsText: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Specifies the text content of the PivotGrid configurator values section title element.
|
|
1101
|
+
*/
|
|
1102
|
+
configuratorValuesText: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Sets the text content of the PivotGrid configurator **Cancel** button.
|
|
1105
|
+
*/
|
|
1106
|
+
configuratorCancelButtonText: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Specifies the text content of the PivotGrid configurator **Apply** button.
|
|
1109
|
+
*/
|
|
1110
|
+
configuratorApplyButtonText: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Sets the text content of the PivotGrid configurator empty rows container.
|
|
1113
|
+
*/
|
|
1114
|
+
configuratorEmptyRowsText: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* Sets the text content of the PivotGrid configurator empty columns container.
|
|
1117
|
+
*/
|
|
1118
|
+
configuratorEmptyColumnsText: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Sets the text content of the PivotGrid configurator empty measures container.
|
|
1121
|
+
*/
|
|
1122
|
+
configuratorEmptyMeasuresText: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Sets the text content of the **Move to Columns** item in the column and row fields menu.
|
|
1125
|
+
*/
|
|
1126
|
+
fieldMenuMoveToColumnsItem: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Specifies the text content of the **Move to Rows** item in the column and row fields menu.
|
|
1129
|
+
*/
|
|
1130
|
+
fieldMenuMoveToRowsItem: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Specifies the text content of the **Move as previous** item in the column, row, and value fields menu.
|
|
1133
|
+
*/
|
|
1134
|
+
fieldMenuMovePreviousItem: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Specifies the text content of the **Move as next** item in the column, row, and value fields menu.
|
|
1137
|
+
*/
|
|
1138
|
+
fieldMenuMoveNextItem: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Controls the title of the chip menu icon.
|
|
1141
|
+
*
|
|
1142
|
+
* The title has two parts—the chip name and a localizable string.
|
|
1143
|
+
* For a field named `'Product'`, the default title will be `'Product Field Menu'`.
|
|
1144
|
+
*
|
|
1145
|
+
* You can reorder the parts using `'{fieldName}'` as a placeholder. The `'{fieldName}'` placeholder will get replaced
|
|
1146
|
+
* with the current chip name. For example, `'chip for {fieldName}'` will become `'chip for Product Field Menu'`.
|
|
1147
|
+
*/
|
|
1148
|
+
chipMenuIconTitle: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* The text content of the PivotGrid configurator fields TreeView Measures node
|
|
1151
|
+
*/
|
|
1152
|
+
configuratorMeasuresText: string;
|
|
1153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridMessages, never>;
|
|
1154
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotGridMessages, never, never, { "fieldMenuFilterItemLabel": { "alias": "fieldMenuFilterItemLabel"; "required": false; }; "fieldMenuSortAscendingItemLabel": { "alias": "fieldMenuSortAscendingItemLabel"; "required": false; }; "fieldMenuSortDescendingItemLabel": { "alias": "fieldMenuSortDescendingItemLabel"; "required": false; }; "filterInputLabel": { "alias": "filterInputLabel"; "required": false; }; "filterOperatorsDropDownLabel": { "alias": "filterOperatorsDropDownLabel"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterIsNullOperator": { "alias": "filterIsNullOperator"; "required": false; }; "filterIsNotNullOperator": { "alias": "filterIsNotNullOperator"; "required": false; }; "filterIsEmptyOperator": { "alias": "filterIsEmptyOperator"; "required": false; }; "filterIsNotEmptyOperator": { "alias": "filterIsNotEmptyOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterFilterButton": { "alias": "filterFilterButton"; "required": false; }; "filterClearButton": { "alias": "filterClearButton"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "emptyCellLabel": { "alias": "emptyCellLabel"; "required": false; }; "configuratorButtonText": { "alias": "configuratorButtonText"; "required": false; }; "configuratorHeaderText": { "alias": "configuratorHeaderText"; "required": false; }; "configuratorFieldsText": { "alias": "configuratorFieldsText"; "required": false; }; "configuratorColumnsText": { "alias": "configuratorColumnsText"; "required": false; }; "configuratorRowsText": { "alias": "configuratorRowsText"; "required": false; }; "configuratorValuesText": { "alias": "configuratorValuesText"; "required": false; }; "configuratorCancelButtonText": { "alias": "configuratorCancelButtonText"; "required": false; }; "configuratorApplyButtonText": { "alias": "configuratorApplyButtonText"; "required": false; }; "configuratorEmptyRowsText": { "alias": "configuratorEmptyRowsText"; "required": false; }; "configuratorEmptyColumnsText": { "alias": "configuratorEmptyColumnsText"; "required": false; }; "configuratorEmptyMeasuresText": { "alias": "configuratorEmptyMeasuresText"; "required": false; }; "fieldMenuMoveToColumnsItem": { "alias": "fieldMenuMoveToColumnsItem"; "required": false; }; "fieldMenuMoveToRowsItem": { "alias": "fieldMenuMoveToRowsItem"; "required": false; }; "fieldMenuMovePreviousItem": { "alias": "fieldMenuMovePreviousItem"; "required": false; }; "fieldMenuMoveNextItem": { "alias": "fieldMenuMoveNextItem"; "required": false; }; "chipMenuIconTitle": { "alias": "chipMenuIconTitle"; "required": false; }; "configuratorMeasuresText": { "alias": "configuratorMeasuresText"; "required": false; }; }, {}, never, never, true, never>;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Represents the custom messages component of the PivotGrid.
|
|
1159
|
+
*
|
|
1160
|
+
* Use this component to override default messages for the PivotGrid.
|
|
1161
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/globalization#custom-messages)).
|
|
1162
|
+
*
|
|
1163
|
+
* @example
|
|
1164
|
+
* ```html
|
|
1165
|
+
* <kendo-pivotgrid>
|
|
1166
|
+
* <kendo-pivotgrid-messages
|
|
1167
|
+
* configuratorButtonText="Configure"
|
|
1168
|
+
* configuratorHeaderText="PivotGrid Settings"
|
|
1169
|
+
* configuratorApplyButtonText="Apply Changes">
|
|
1170
|
+
* </kendo-pivotgrid-messages>
|
|
1171
|
+
* </kendo-pivotgrid>
|
|
1172
|
+
* ```
|
|
1173
|
+
*/
|
|
1174
|
+
declare class CustomMessagesComponent extends PivotGridMessages {
|
|
1175
|
+
protected service: LocalizationService;
|
|
1176
|
+
constructor(service: LocalizationService);
|
|
1177
|
+
protected get override(): boolean;
|
|
1178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
1179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-pivotgrid-messages", never, {}, {}, never, never, true, never>;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* @hidden
|
|
1184
|
+
*/
|
|
1185
|
+
declare class LocalizedMessagesDirective extends PivotGridMessages {
|
|
1186
|
+
protected service: LocalizationService;
|
|
1187
|
+
constructor(service: LocalizationService);
|
|
1188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
1189
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoPivotGridLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* Specifies the size of the PivotGrid loader.
|
|
1194
|
+
*
|
|
1195
|
+
* The available values are:
|
|
1196
|
+
* * `small`
|
|
1197
|
+
* * `medium`
|
|
1198
|
+
* * `large`
|
|
1199
|
+
*/
|
|
1200
|
+
declare type LoaderSize = Partial<LoaderSize$1>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Specifies the theme color of the PivotGrid loader.
|
|
1203
|
+
*
|
|
1204
|
+
* The available values are:
|
|
1205
|
+
* * `primary`—Applies coloring based on primary theme color.
|
|
1206
|
+
* * `secondary`—Applies coloring based on secondary theme color.
|
|
1207
|
+
* * `tertiary`—Applies coloring based on tertiary theme color.
|
|
1208
|
+
* * `info`—Applies coloring based on info theme color.
|
|
1209
|
+
* * `success`—Applies coloring based on success theme color.
|
|
1210
|
+
* * `warning`—Applies coloring based on warning theme color.
|
|
1211
|
+
* * `error`—Applies coloring based on error theme color.
|
|
1212
|
+
* * `dark`—Applies coloring based on dark theme color.
|
|
1213
|
+
* * `light`—Applies coloring based on light theme color.
|
|
1214
|
+
* * `inverse`—Applies coloring based on inverted theme color.
|
|
1215
|
+
*/
|
|
1216
|
+
declare type LoaderThemeColor = Partial<LoaderThemeColor$1>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Specifies the type of the PivotGrid loader.
|
|
1219
|
+
*
|
|
1220
|
+
* The available values are:
|
|
1221
|
+
* * `pulsing`
|
|
1222
|
+
* * `infinite-spinner`
|
|
1223
|
+
* * `converging-spinner`
|
|
1224
|
+
*/
|
|
1225
|
+
declare type LoaderType = Partial<LoaderType$1>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Specifies the type, size, and color of the PivotGrid loader.
|
|
1228
|
+
*/
|
|
1229
|
+
interface LoaderSettings {
|
|
1230
|
+
/**
|
|
1231
|
+
* Specifies the size of the loader.
|
|
1232
|
+
*/
|
|
1233
|
+
size?: LoaderSize;
|
|
1234
|
+
/**
|
|
1235
|
+
* Specifies the theme color of the loader.
|
|
1236
|
+
*/
|
|
1237
|
+
themeColor?: LoaderThemeColor;
|
|
1238
|
+
/**
|
|
1239
|
+
* Specifies the type of the loader.
|
|
1240
|
+
* @default 'converging-spinner'
|
|
1241
|
+
*/
|
|
1242
|
+
type?: LoaderType;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Represents the cell template of the PivotGrid. Allows customizing the content of the cells.
|
|
1247
|
+
*
|
|
1248
|
+
* To define the cell template, nest an `<ng-template>` tag with the
|
|
1249
|
+
* `kendoPivotGridCellTemplate` directive inside a `<kendo-pivot-grid>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/templates#cell-template)).
|
|
1250
|
+
*
|
|
1251
|
+
* The template context provides the current cell item and the following additional fields:
|
|
1252
|
+
* - `cellItem`—The current cell item. This is the default template context that you can access with any `let-x` syntax—for example, `let-cellItem`.
|
|
1253
|
+
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` to access this variable in your template.
|
|
1254
|
+
* - `rowIndex`—The current row index. Use `let-rowIndex="rowIndex"` to access this variable in your template.
|
|
1255
|
+
* - `expanded`—The expanded state of the cell. Use `let-expanded="expanded"` to access this boolean variable in your template.
|
|
1256
|
+
* - `tableType`—The table type identifier. Use `let-tableType="tableType"` to access this variable in your template.
|
|
1257
|
+
* - `text`—The default cell text. Use `let-text="text"` to access this variable in your template.
|
|
1258
|
+
*
|
|
1259
|
+
* @example
|
|
1260
|
+
* ```html
|
|
1261
|
+
* <kendo-pivot-grid [data]="data" ...>
|
|
1262
|
+
* <ng-template kendoPivotGridCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
|
1263
|
+
* Row: {{rowIndex}}
|
|
1264
|
+
* </ng-template>
|
|
1265
|
+
* </kendo-pivot-grid>
|
|
1266
|
+
* ```
|
|
1267
|
+
*/
|
|
1268
|
+
declare class CellTemplateDirective {
|
|
1269
|
+
templateRef: TemplateRef<any>;
|
|
1270
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CellTemplateDirective, never>;
|
|
1272
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CellTemplateDirective, "[kendoPivotGridCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Represents the value cell template of the PivotGrid. Allows customizing the content of the value cells.
|
|
1277
|
+
*
|
|
1278
|
+
* To define the value cell template, nest an `<ng-template>` tag with the
|
|
1279
|
+
* `kendoPivotGridValueCellTemplate` directive inside a `<kendo-pivot-grid>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/templates#value-cell-template)).
|
|
1280
|
+
*
|
|
1281
|
+
* The template context provides the current cell item and the following additional fields:
|
|
1282
|
+
* - `cellItem`—The current cell item. This is the default template context that you can access with any `let-x` syntax—for example, `let-cellItem`.
|
|
1283
|
+
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` to access this variable in your template.
|
|
1284
|
+
* - `rowIndex`—The current row index. Use `let-rowIndex="rowIndex"` to access this variable in your template.
|
|
1285
|
+
* - `tableType`—The table type identifier. Use `let-tableType="tableType"` to access this variable in your template.
|
|
1286
|
+
* - `value`—The default cell value. Use `let-value="value"` to access this variable in your template.
|
|
1287
|
+
*
|
|
1288
|
+
* @example
|
|
1289
|
+
* ```html
|
|
1290
|
+
* <kendo-pivot-grid [data]="data" ...>
|
|
1291
|
+
* <ng-template kendoPivotGridValueCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
|
1292
|
+
* Row: {{rowIndex}}
|
|
1293
|
+
* </ng-template>
|
|
1294
|
+
* </kendo-pivot-grid>
|
|
1295
|
+
* ```
|
|
1296
|
+
*/
|
|
1297
|
+
declare class ValueCellTemplateDirective {
|
|
1298
|
+
templateRef: TemplateRef<any>;
|
|
1299
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueCellTemplateDirective, never>;
|
|
1301
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueCellTemplateDirective, "[kendoPivotGridValueCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* Represents the row header cell template of the PivotGrid. Allows customizing the content of the row header cells.
|
|
1306
|
+
*
|
|
1307
|
+
* To define the row header cell template, nest an `<ng-template>` tag with the
|
|
1308
|
+
* `kendoPivotGridRowHeaderCellTemplate` directive inside a `<kendo-pivot-grid>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/templates#row-header-cell-template)).
|
|
1309
|
+
*
|
|
1310
|
+
* The template context provides the current cell item and the following additional fields:
|
|
1311
|
+
* - `cellItem`—The current cell item. This is the default template context that you can access with any `let-x` syntax—for example, `let-cellItem`.
|
|
1312
|
+
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` to access this variable in your template.
|
|
1313
|
+
* - `rowIndex`—The current row index. Use `let-rowIndex="rowIndex"` to access this variable in your template.
|
|
1314
|
+
* - `expanded`—The expanded state of the cell. Use `let-expanded="expanded"` to access this boolean variable in your template.
|
|
1315
|
+
* - `tableType`—The table type identifier. Use `let-tableType="tableType"` to access this variable in your template.
|
|
1316
|
+
* - `text`—The default cell text. Use `let-text="text"` to access this variable in your template.
|
|
1317
|
+
*
|
|
1318
|
+
* @example
|
|
1319
|
+
* ```html
|
|
1320
|
+
* <kendo-pivot-grid [data]="data" ...>
|
|
1321
|
+
* <ng-template kendoPivotGridRowHeaderCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
|
1322
|
+
* Row: {{rowIndex}}
|
|
1323
|
+
* </ng-template>
|
|
1324
|
+
* </kendo-pivot-grid>
|
|
1325
|
+
* ```
|
|
1326
|
+
*/
|
|
1327
|
+
declare class RowHeaderCellTemplateDirective {
|
|
1328
|
+
templateRef: TemplateRef<any>;
|
|
1329
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1330
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowHeaderCellTemplateDirective, never>;
|
|
1331
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RowHeaderCellTemplateDirective, "[kendoPivotGridRowHeaderCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Represents the column header cell template of the PivotGrid. Allows customizing the content of the column header cells.
|
|
1336
|
+
*
|
|
1337
|
+
* To define the column header cell template, nest an `<ng-template>` tag with the
|
|
1338
|
+
* `kendoPivotGridColumnHeaderCellTemplate` directive inside a `<kendo-pivot-grid>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/templates#column-header-cell-template)).
|
|
1339
|
+
*
|
|
1340
|
+
* The template context provides the current cell item and the following additional fields:
|
|
1341
|
+
* - `cellItem`—The current cell item. This is the default template context that you can access with any `let-x` syntax—for example, `let-cellItem`.
|
|
1342
|
+
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` to access this variable in your template.
|
|
1343
|
+
* - `rowIndex`—The current row index. Use `let-rowIndex="rowIndex"` to access this variable in your template.
|
|
1344
|
+
* - `expanded`—The expanded state of the cell. Use `let-expanded="expanded"` to access this boolean variable in your template.
|
|
1345
|
+
* - `tableType`—The table type identifier. Use `let-tableType="tableType"` to access this variable in your template.
|
|
1346
|
+
* - `text`—The default cell text. Use `let-text="text"` to access this variable in your template.
|
|
1347
|
+
*
|
|
1348
|
+
* @example
|
|
1349
|
+
* ```html
|
|
1350
|
+
* <kendo-pivot-grid [data]="data" ...>
|
|
1351
|
+
* <ng-template kendoPivotGridColumnHeaderCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
|
1352
|
+
* Row: {{rowIndex}}
|
|
1353
|
+
* </ng-template>
|
|
1354
|
+
* </kendo-pivot-grid>
|
|
1355
|
+
* ```
|
|
1356
|
+
*/
|
|
1357
|
+
declare class ColumnHeaderCellTemplateDirective {
|
|
1358
|
+
templateRef: TemplateRef<any>;
|
|
1359
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1360
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHeaderCellTemplateDirective, never>;
|
|
1361
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnHeaderCellTemplateDirective, "[kendoPivotGridColumnHeaderCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Specifies the supported values of the [`VirtualizationSettings`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/virtualizationsettings) `type` property.
|
|
1366
|
+
*
|
|
1367
|
+
* The available values are:
|
|
1368
|
+
* * `row`—Enables row virtualization only.
|
|
1369
|
+
* * `column`—Enables column virtualization only.
|
|
1370
|
+
* * `both`—Enables both row and column virtualization.
|
|
1371
|
+
*/
|
|
1372
|
+
type PivotGridVirtualizationSettingsType = 'row | column | both';
|
|
1373
|
+
/**
|
|
1374
|
+
* Represents the virtualization settings for the PivotGrid data table.
|
|
1375
|
+
* Controls how many rows and columns are rendered in the DOM to improve performance with large datasets.
|
|
1376
|
+
*/
|
|
1377
|
+
interface VirtualizationSettings {
|
|
1378
|
+
/**
|
|
1379
|
+
* Specifies the virtualization type for the PivotGrid data table. When virtualization is enabled, both rows and columns are virtualized by default.
|
|
1380
|
+
* @default 'both'
|
|
1381
|
+
*/
|
|
1382
|
+
type?: PivotGridVirtualizationSettingsType;
|
|
1383
|
+
/**
|
|
1384
|
+
* Represents the actual height of each data row in the DOM in pixels.
|
|
1385
|
+
* @default 37
|
|
1386
|
+
*/
|
|
1387
|
+
rowHeight?: number;
|
|
1388
|
+
/**
|
|
1389
|
+
* Specifies the maximum number of value table rows that render in the DOM.
|
|
1390
|
+
* @default 50
|
|
1391
|
+
*/
|
|
1392
|
+
rows?: number;
|
|
1393
|
+
/**
|
|
1394
|
+
* Specifies the maximum number of value table columns that render in the DOM.
|
|
1395
|
+
* @default 10
|
|
1396
|
+
*/
|
|
1397
|
+
columns?: number;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* @hidden
|
|
1402
|
+
*/
|
|
1403
|
+
declare class PivotGridScrollService {
|
|
1404
|
+
virtualScrolling: boolean;
|
|
1405
|
+
pivotGrid: PivotGridComponent;
|
|
1406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridScrollService, never>;
|
|
1407
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PivotGridScrollService>;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* Represents the [Kendo UI PivotGrid component for Angular](https://www.telerik.com/kendo-angular-ui/components/pivotgrid).
|
|
1412
|
+
*
|
|
1413
|
+
* @example
|
|
1414
|
+
* ```html
|
|
1415
|
+
* <kendo-pivotgrid
|
|
1416
|
+
* [kendoPivotLocalBinding]="data"
|
|
1417
|
+
* [dimensions]="dimensions"
|
|
1418
|
+
* [measures]="measures"
|
|
1419
|
+
* [rowAxes]="defaultRowAxes"
|
|
1420
|
+
* [columnAxes]="defaultColumnAxes"
|
|
1421
|
+
* [measureAxes]="defaultMeasureAxes"
|
|
1422
|
+
* [configurator]="true"
|
|
1423
|
+
* >
|
|
1424
|
+
* </kendo-pivotgrid>
|
|
1425
|
+
* ```
|
|
1426
|
+
*
|
|
1427
|
+
* @remarks
|
|
1428
|
+
* Supported children components are: {@link CustomMessagesComponent}
|
|
1429
|
+
*/
|
|
1430
|
+
declare class PivotGridComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
1431
|
+
private hostEl;
|
|
1432
|
+
private zone;
|
|
1433
|
+
dataService: PivotGridDataService;
|
|
1434
|
+
private localization;
|
|
1435
|
+
private renderer;
|
|
1436
|
+
private scrollService;
|
|
1437
|
+
hostClass: boolean;
|
|
1438
|
+
get rightPositionClass(): boolean;
|
|
1439
|
+
get leftPositionClass(): boolean;
|
|
1440
|
+
get bottomPositionClass(): boolean;
|
|
1441
|
+
get topPositionClass(): boolean;
|
|
1442
|
+
get dir(): string;
|
|
1443
|
+
private colHeadersTable;
|
|
1444
|
+
private rowHeadersTable;
|
|
1445
|
+
private valuesTable;
|
|
1446
|
+
private table;
|
|
1447
|
+
private configuratorWrapper;
|
|
1448
|
+
customCellTemplate: CellTemplateDirective;
|
|
1449
|
+
valueCellTemplate: ValueCellTemplateDirective;
|
|
1450
|
+
rowHeaderCellTemplate: RowHeaderCellTemplateDirective;
|
|
1451
|
+
columnHeaderCellTemplate: ColumnHeaderCellTemplateDirective;
|
|
1452
|
+
/**
|
|
1453
|
+
* Sets the type, size, and color of the PivotGrid loader.
|
|
1454
|
+
*/
|
|
1455
|
+
set loaderSettings(settings: LoaderSettings);
|
|
1456
|
+
get loaderSettings(): LoaderSettings;
|
|
1457
|
+
/**
|
|
1458
|
+
* @hidden
|
|
1459
|
+
*/
|
|
1460
|
+
get loadingText(): string;
|
|
1461
|
+
/**
|
|
1462
|
+
* Controls whether the axes configurator is displayed.
|
|
1463
|
+
*
|
|
1464
|
+
* @default false
|
|
1465
|
+
*/
|
|
1466
|
+
configurator: boolean | ConfiguratorSettings;
|
|
1467
|
+
/**
|
|
1468
|
+
* Sets the virtualization options of the component. By default, the virtual scrolling functionality is disabled.
|
|
1469
|
+
*
|
|
1470
|
+
* @default false
|
|
1471
|
+
*/
|
|
1472
|
+
set virtualScrolling(value: boolean | VirtualizationSettings);
|
|
1473
|
+
get virtualScrolling(): VirtualizationSettings;
|
|
1474
|
+
get configuratorSettings(): ConfiguratorSettings;
|
|
1475
|
+
/**
|
|
1476
|
+
* Sets the width of the column header and data cells. The provided value is treated in pixels [(see example)](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/appearance#column-headers-width).
|
|
1477
|
+
*
|
|
1478
|
+
* @default 200
|
|
1479
|
+
*/
|
|
1480
|
+
columnHeadersWidth: number;
|
|
1481
|
+
/**
|
|
1482
|
+
* Specifies whether the keyboard navigation is enabled. When enabled, you can use keyboard shortcuts to interact with the PivotGrid.
|
|
1483
|
+
* Set to `false` to disable navigation and include the PivotGrid content in the normal tab sequence.
|
|
1484
|
+
*
|
|
1485
|
+
* @default true
|
|
1486
|
+
*
|
|
1487
|
+
* @remarks
|
|
1488
|
+
* This property is related to accessibility.
|
|
1489
|
+
*/
|
|
1490
|
+
navigable: boolean;
|
|
1491
|
+
/**
|
|
1492
|
+
* Gets the aggregated PivotGrid values that are displayed.
|
|
1493
|
+
*/
|
|
1494
|
+
get aggregateData(): PivotDataRowItem[];
|
|
1495
|
+
/**
|
|
1496
|
+
* @hidden
|
|
1497
|
+
*/
|
|
1498
|
+
gearSVGIcon: SVGIcon;
|
|
1499
|
+
loading: boolean;
|
|
1500
|
+
showConfigurator: boolean;
|
|
1501
|
+
configuratorNavigation: ConfiguratorNavigation;
|
|
1502
|
+
private resizeObservers;
|
|
1503
|
+
private _loaderSettings;
|
|
1504
|
+
private _virtualScrolling;
|
|
1505
|
+
private subs;
|
|
1506
|
+
private rtl;
|
|
1507
|
+
private direction;
|
|
1508
|
+
navigation: PivotGridNavigation;
|
|
1509
|
+
private navigationSubs;
|
|
1510
|
+
constructor(hostEl: ElementRef, zone: NgZone, dataService: PivotGridDataService, localization: LocalizationService, renderer: Renderer2, _scrollbarService: ScrollbarService, scrollService: PivotGridScrollService);
|
|
1511
|
+
ngAfterViewInit(): void;
|
|
1512
|
+
ngAfterContentInit(): void;
|
|
1513
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1514
|
+
ngOnDestroy(): void;
|
|
1515
|
+
/**
|
|
1516
|
+
* @hidden
|
|
1517
|
+
*/
|
|
1518
|
+
messageFor(localizationToken: string): string;
|
|
1519
|
+
/**
|
|
1520
|
+
* @hidden
|
|
1521
|
+
*/
|
|
1522
|
+
toggleConfigurator(): void;
|
|
1523
|
+
private resizeContainer;
|
|
1524
|
+
private handleScroll;
|
|
1525
|
+
/**
|
|
1526
|
+
* @hidden
|
|
1527
|
+
*/
|
|
1528
|
+
initNavigation(): void;
|
|
1529
|
+
private stopNavigation;
|
|
1530
|
+
private initConfiguratorNavigation;
|
|
1531
|
+
private stopConfiguratorNavigation;
|
|
1532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridComponent, never>;
|
|
1533
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridComponent, "kendo-pivotgrid", never, { "loaderSettings": { "alias": "loaderSettings"; "required": false; }; "configurator": { "alias": "configurator"; "required": false; }; "virtualScrolling": { "alias": "virtualScrolling"; "required": false; }; "columnHeadersWidth": { "alias": "columnHeadersWidth"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; }, {}, ["customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate"], never, true, never>;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* @hidden
|
|
1538
|
+
*/
|
|
1539
|
+
declare class PivotGridCellDirective {
|
|
1540
|
+
private hostEl;
|
|
1541
|
+
private renderer;
|
|
1542
|
+
private dataService;
|
|
1543
|
+
cellClass: boolean;
|
|
1544
|
+
kendoPivotGridCell: any;
|
|
1545
|
+
tableType: string;
|
|
1546
|
+
rowIndex: number;
|
|
1547
|
+
colIndex: number;
|
|
1548
|
+
customCellTemplate: CellTemplateDirective;
|
|
1549
|
+
valueCellTemplate: ValueCellTemplateDirective;
|
|
1550
|
+
rowHeaderCellTemplate: RowHeaderCellTemplateDirective;
|
|
1551
|
+
columnHeaderCellTemplate: ColumnHeaderCellTemplateDirective;
|
|
1552
|
+
get isNotProvidedCellTemplatePerType(): boolean;
|
|
1553
|
+
get expanded(): boolean;
|
|
1554
|
+
chevronUpSVGIcon: SVGIcon;
|
|
1555
|
+
chevronDownSVGIcon: SVGIcon;
|
|
1556
|
+
constructor(hostEl: ElementRef, renderer: Renderer2, dataService: PivotGridDataService);
|
|
1557
|
+
ngOnInit(): void;
|
|
1558
|
+
handleClick: () => void;
|
|
1559
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridCellDirective, never>;
|
|
1560
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridCellDirective, "[kendoPivotGridCell]", never, { "kendoPivotGridCell": { "alias": "kendoPivotGridCell"; "required": false; }; "tableType": { "alias": "tableType"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "colIndex": { "alias": "colIndex"; "required": false; }; "customCellTemplate": { "alias": "customCellTemplate"; "required": false; }; "valueCellTemplate": { "alias": "valueCellTemplate"; "required": false; }; "rowHeaderCellTemplate": { "alias": "rowHeaderCellTemplate"; "required": false; }; "columnHeaderCellTemplate": { "alias": "columnHeaderCellTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* @hidden
|
|
1565
|
+
*/
|
|
1566
|
+
declare class PivotGridTableComponent implements OnInit, OnDestroy {
|
|
1567
|
+
private host;
|
|
1568
|
+
private dataService;
|
|
1569
|
+
private localization;
|
|
1570
|
+
private zone;
|
|
1571
|
+
private scrollService;
|
|
1572
|
+
headerItems: any;
|
|
1573
|
+
rows: any;
|
|
1574
|
+
renderedRows: any;
|
|
1575
|
+
renderedCols: any;
|
|
1576
|
+
totalRows: any;
|
|
1577
|
+
startRowIndex: number;
|
|
1578
|
+
startColIndex: number;
|
|
1579
|
+
rtl: boolean;
|
|
1580
|
+
private itemIdCounter;
|
|
1581
|
+
private itemIdMap;
|
|
1582
|
+
private rowIdMap;
|
|
1583
|
+
private cellIdMap;
|
|
1584
|
+
tableType: string;
|
|
1585
|
+
colWidth: number;
|
|
1586
|
+
customCellTemplate: CellTemplateDirective;
|
|
1587
|
+
valueCellTemplate: ValueCellTemplateDirective;
|
|
1588
|
+
rowHeaderCellTemplate: RowHeaderCellTemplateDirective;
|
|
1589
|
+
columnHeaderCellTemplate: ColumnHeaderCellTemplateDirective;
|
|
1590
|
+
scrollableSettings: VirtualizationSettings;
|
|
1591
|
+
get pivotGridId(): string;
|
|
1592
|
+
get columnVirtualization(): boolean;
|
|
1593
|
+
get rowVirtualization(): boolean;
|
|
1594
|
+
private subs;
|
|
1595
|
+
private scrollable;
|
|
1596
|
+
constructor(host: ElementRef, dataService: PivotGridDataService, localization: LocalizationService, zone: NgZone, scrollService: PivotGridScrollService);
|
|
1597
|
+
ngOnInit(): void;
|
|
1598
|
+
ngAfterViewInit(): void;
|
|
1599
|
+
ngOnDestroy(): void;
|
|
1600
|
+
trackByColIndex(index: number, item: any): string;
|
|
1601
|
+
trackByRowIndex(index: number, row: any): string;
|
|
1602
|
+
trackByCellIndex(index: number, cell: any): string;
|
|
1603
|
+
private colsUpdateCallback;
|
|
1604
|
+
private initScrollable;
|
|
1605
|
+
private initScrollableKeyboardNavigation;
|
|
1606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridTableComponent, never>;
|
|
1607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridTableComponent, "kendo-pivotgrid-table", never, { "tableType": { "alias": "tableType"; "required": false; }; "colWidth": { "alias": "colWidth"; "required": false; }; "customCellTemplate": { "alias": "customCellTemplate"; "required": false; }; "valueCellTemplate": { "alias": "valueCellTemplate"; "required": false; }; "rowHeaderCellTemplate": { "alias": "rowHeaderCellTemplate"; "required": false; }; "columnHeaderCellTemplate": { "alias": "columnHeaderCellTemplate"; "required": false; }; "scrollableSettings": { "alias": "scrollableSettings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* @hidden
|
|
1612
|
+
*/
|
|
1613
|
+
declare const KENDO_PIVOTGRID_CHIPMENU_DECLARATIONS: readonly [typeof ChipMenuItemComponent, typeof ChipMenuSortComponent, typeof ChipMenuComponent, typeof ChipMenuFilterComponent, typeof ChipMenuItemContentTemplateDirective, typeof FilterMenuContainerComponent, typeof StringFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof ChipMenuContainerComponent, typeof ChipMenuItemDirective, typeof ChipMenuReorderComponent];
|
|
1614
|
+
/**
|
|
1615
|
+
* @hidden
|
|
1616
|
+
*/
|
|
1617
|
+
declare const KENDO_PIVOTGRID_DECLARATIONS: readonly [typeof PivotGridComponent, typeof PivotGridTableComponent, typeof PivotGridConfiguratorComponent, typeof PivotGridCellDirective, typeof PivotLocalBindingDirective, typeof PivotOLAPBindingDirective, typeof DraggableChipDirective, typeof DropTargetDirective, typeof LocalizedMessagesDirective, typeof CustomMessagesComponent, typeof ChipKeyboardNavigationDirective, typeof CellTemplateDirective, typeof ValueCellTemplateDirective, typeof RowHeaderCellTemplateDirective, typeof ColumnHeaderCellTemplateDirective];
|
|
1618
|
+
/**
|
|
1619
|
+
* Use the `KENDO_PIVOTGRID` utility array to add all `@progress/kendo-angular-pivotgrid`-related components and directives to a standalone Angular component.
|
|
1620
|
+
*
|
|
1621
|
+
* @example
|
|
1622
|
+
* ```ts
|
|
1623
|
+
* import { Component } from '@angular/core';
|
|
1624
|
+
* import { KENDO_PIVOTGRID } from '@progress/kendo-angular-pivotgrid';
|
|
1625
|
+
*
|
|
1626
|
+
* @Component({
|
|
1627
|
+
* standalone: true,
|
|
1628
|
+
* imports: [KENDO_PIVOTGRID],
|
|
1629
|
+
* template: `
|
|
1630
|
+
* <kendo-pivotgrid [data]="data" ...>
|
|
1631
|
+
* </kendo-pivotgrid>
|
|
1632
|
+
* `
|
|
1633
|
+
* })
|
|
1634
|
+
* export class AppComponent { }
|
|
1635
|
+
* ```
|
|
1636
|
+
*/
|
|
1637
|
+
declare const KENDO_PIVOTGRID: readonly [typeof PivotGridComponent, typeof PivotGridTableComponent, typeof PivotGridCellDirective, typeof PivotLocalBindingDirective, typeof PivotOLAPBindingDirective, typeof CustomMessagesComponent, typeof CellTemplateDirective, typeof ValueCellTemplateDirective, typeof RowHeaderCellTemplateDirective, typeof ColumnHeaderCellTemplateDirective];
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
1641
|
+
* definition for the PivotGrid component.
|
|
1642
|
+
*
|
|
1643
|
+
* @example
|
|
1644
|
+
*
|
|
1645
|
+
* ```typescript
|
|
1646
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
1647
|
+
* import { NgModule } from '@angular/core';
|
|
1648
|
+
* import { AppComponent } from './app.component';
|
|
1649
|
+
* import { PivotGridModule } from '@progress/kendo-angular-pivotgrid';
|
|
1650
|
+
*
|
|
1651
|
+
* @NgModule({
|
|
1652
|
+
* declarations: [AppComponent],
|
|
1653
|
+
* imports: [BrowserModule, PivotGridModule],
|
|
1654
|
+
* bootstrap: [AppComponent]
|
|
1655
|
+
* })
|
|
1656
|
+
* export class AppModule {}
|
|
1657
|
+
* ```
|
|
1658
|
+
*/
|
|
1659
|
+
declare class PivotGridModule {
|
|
1660
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridModule, never>;
|
|
1661
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PivotGridModule, never, [typeof ChipMenuItemComponent, typeof ChipMenuSortComponent, typeof ChipMenuComponent, typeof ChipMenuFilterComponent, typeof ChipMenuItemContentTemplateDirective, typeof FilterMenuContainerComponent, typeof StringFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof ChipMenuContainerComponent, typeof ChipMenuItemDirective, typeof ChipMenuReorderComponent, typeof PivotGridComponent, typeof PivotGridTableComponent, typeof PivotGridConfiguratorComponent, typeof PivotGridCellDirective, typeof PivotLocalBindingDirective, typeof PivotOLAPBindingDirective, typeof DraggableChipDirective, typeof DropTargetDirective, typeof LocalizedMessagesDirective, typeof CustomMessagesComponent, typeof ChipKeyboardNavigationDirective, typeof CellTemplateDirective, typeof ValueCellTemplateDirective, typeof RowHeaderCellTemplateDirective, typeof ColumnHeaderCellTemplateDirective], [typeof PivotGridComponent, typeof PivotGridTableComponent, typeof PivotGridCellDirective, typeof PivotLocalBindingDirective, typeof PivotOLAPBindingDirective, typeof CustomMessagesComponent, typeof CellTemplateDirective, typeof ValueCellTemplateDirective, typeof RowHeaderCellTemplateDirective, typeof ColumnHeaderCellTemplateDirective]>;
|
|
1662
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PivotGridModule>;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* @hidden
|
|
1667
|
+
*/
|
|
1668
|
+
type DropTargetType = 'chip' | 'container' | 'header';
|
|
1669
|
+
|
|
1670
|
+
export { CellTemplateDirective, ColumnHeaderCellTemplateDirective, ConfigurationChangeEvent, CustomMessagesComponent, DraggableChipDirective, DropTargetDirective, ExpandChangeEvent, KENDO_PIVOTGRID, KENDO_PIVOTGRID_CHIPMENU_DECLARATIONS, KENDO_PIVOTGRID_DECLARATIONS, PivotGridCellDirective, PivotGridComponent, PivotGridConfiguratorComponent, PivotGridModule, PivotGridTableComponent, PivotLocalBindingDirective, PivotOLAPBindingDirective, RowHeaderCellTemplateDirective, ValueCellTemplateDirective };
|
|
1671
|
+
export type { ConfiguratorSettings, DropSectionType, DropTargetType, LoaderSettings, PivotDataRowItem, PivotGridConfiguratorOrientation, PivotGridConfiguratorPosition };
|