igniteui-angular 14.1.0-alpha.1 → 14.1.0-alpha.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/esm2020/lib/date-picker/date-picker.component.mjs +2 -1
- package/esm2020/lib/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2020/lib/grids/columns/column.component.mjs +1 -1
- package/esm2020/lib/grids/grid-base.directive.mjs +1 -1
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid.component.mjs +2 -2
- package/esm2020/lib/grids/pivot-grid/pivot-grid.component.mjs +42 -3
- package/esm2020/lib/grids/state.directive.mjs +113 -7
- package/esm2020/lib/grids/summaries/summary-cell.component.mjs +36 -25
- package/esm2020/lib/grids/watch-changes.mjs +1 -1
- package/esm2020/lib/time-picker/time-picker.component.mjs +3 -2
- package/fesm2015/igniteui-angular.mjs +16722 -16564
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +16588 -16433
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +24 -1
- package/lib/grids/state.directive.d.ts +31 -2
- package/lib/grids/summaries/summary-cell.component.d.ts +3 -11
- package/package.json +1 -1
|
@@ -69,6 +69,28 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
71
71
|
dimensionsChange: EventEmitter<IDimensionsChange>;
|
|
72
|
+
/**
|
|
73
|
+
* Emitted when the dimension is initialized.
|
|
74
|
+
* @remarks
|
|
75
|
+
* Emits the dimension that is about to be initialized.
|
|
76
|
+
* @example
|
|
77
|
+
* ```html
|
|
78
|
+
* <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
|
|
79
|
+
* (dimensionInit)="dimensionInit($event)"></igx-pivot-grid>
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
dimensionInit: EventEmitter<IPivotDimension>;
|
|
83
|
+
/**
|
|
84
|
+
* Emitted when the value is initialized.
|
|
85
|
+
* @remarks
|
|
86
|
+
* Emits the value that is about to be initialized.
|
|
87
|
+
* @example
|
|
88
|
+
* ```html
|
|
89
|
+
* <igx-pivot-grid #grid [data]="localData" [height]="'305px'"
|
|
90
|
+
* (valueInit)="valueInit($event)"></igx-pivot-grid>
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
valueInit: EventEmitter<IPivotValue>;
|
|
72
94
|
/**
|
|
73
95
|
* Emitted when a dimension is sorted.
|
|
74
96
|
*
|
|
@@ -940,6 +962,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
940
962
|
* @hidden @internal
|
|
941
963
|
*/
|
|
942
964
|
get template(): TemplateRef<any>;
|
|
965
|
+
private emitInitEvents;
|
|
943
966
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotGridComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
944
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxPivotGridComponent, "igx-pivot-grid", never, { "valueChipTemplate": "valueChipTemplate"; "pivotConfiguration": "pivotConfiguration"; "showPivotConfigurationUI": "showPivotConfigurationUI"; "superCompactMode": "superCompactMode"; "displayDensity": "displayDensity"; "addRowEmptyTemplate": "addRowEmptyTemplate"; "snackbarDisplayTime": "snackbarDisplayTime"; "defaultExpandState": "defaultExpandState"; "pagingMode": "pagingMode"; "hideRowSelectors": "hideRowSelectors"; "rowDraggable": "rowDraggable"; "allowAdvancedFiltering": "allowAdvancedFiltering"; "filterMode": "filterMode"; "allowFiltering": "allowFiltering"; "page": "page"; "paging": "paging"; "perPage": "perPage"; "summaryRowHeight": "summaryRowHeight"; "rowEditable": "rowEditable"; "pinning": "pinning"; "summaryPosition": "summaryPosition"; "summaryCalculationMode": "summaryCalculationMode"; "showSummaryOnCollapse": "showSummaryOnCollapse"; "batchEditing": "batchEditing"; "id": "id"; "data": "data"; "totalRecords": "totalRecords"; "emptyPivotGridTemplate": "emptyPivotGridTemplate"; }, { "dimensionsChange": "dimensionsChange"; "dimensionsSortingExpressionsChange": "dimensionsSortingExpressionsChange"; "valuesChange": "valuesChange"; "cellEdit": "cellEdit"; "cellEditDone": "cellEditDone"; "cellEditEnter": "cellEditEnter"; "cellEditExit": "cellEditExit"; "columnMovingStart": "columnMovingStart"; "columnMoving": "columnMoving"; "columnMovingEnd": "columnMovingEnd"; "columnPin": "columnPin"; "columnPinned": "columnPinned"; "rowAdd": "rowAdd"; "rowAdded": "rowAdded"; "rowDeleted": "rowDeleted"; "rowDelete": "rowDelete"; "rowDragStart": "rowDragStart"; "rowDragEnd": "rowDragEnd"; "rowEditEnter": "rowEditEnter"; "rowEdit": "rowEdit"; "rowEditDone": "rowEditDone"; "rowEditExit": "rowEditExit"; "rowPinning": "rowPinning"; "rowPinned": "rowPinned"; }, ["valueChipTemplateDirective"], ["igx-grid-toolbar", "igx-grid-footer"], false>;
|
|
967
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxPivotGridComponent, "igx-pivot-grid", never, { "valueChipTemplate": "valueChipTemplate"; "pivotConfiguration": "pivotConfiguration"; "showPivotConfigurationUI": "showPivotConfigurationUI"; "superCompactMode": "superCompactMode"; "displayDensity": "displayDensity"; "addRowEmptyTemplate": "addRowEmptyTemplate"; "snackbarDisplayTime": "snackbarDisplayTime"; "defaultExpandState": "defaultExpandState"; "pagingMode": "pagingMode"; "hideRowSelectors": "hideRowSelectors"; "rowDraggable": "rowDraggable"; "allowAdvancedFiltering": "allowAdvancedFiltering"; "filterMode": "filterMode"; "allowFiltering": "allowFiltering"; "page": "page"; "paging": "paging"; "perPage": "perPage"; "summaryRowHeight": "summaryRowHeight"; "rowEditable": "rowEditable"; "pinning": "pinning"; "summaryPosition": "summaryPosition"; "summaryCalculationMode": "summaryCalculationMode"; "showSummaryOnCollapse": "showSummaryOnCollapse"; "batchEditing": "batchEditing"; "id": "id"; "data": "data"; "totalRecords": "totalRecords"; "emptyPivotGridTemplate": "emptyPivotGridTemplate"; }, { "dimensionsChange": "dimensionsChange"; "dimensionInit": "dimensionInit"; "valueInit": "valueInit"; "dimensionsSortingExpressionsChange": "dimensionsSortingExpressionsChange"; "valuesChange": "valuesChange"; "cellEdit": "cellEdit"; "cellEditDone": "cellEditDone"; "cellEditEnter": "cellEditEnter"; "cellEditExit": "cellEditExit"; "columnMovingStart": "columnMovingStart"; "columnMoving": "columnMoving"; "columnMovingEnd": "columnMovingEnd"; "columnPin": "columnPin"; "columnPinned": "columnPinned"; "rowAdd": "rowAdd"; "rowAdded": "rowAdded"; "rowDeleted": "rowDeleted"; "rowDelete": "rowDelete"; "rowDragStart": "rowDragStart"; "rowDragEnd": "rowDragEnd"; "rowEditEnter": "rowEditEnter"; "rowEdit": "rowEdit"; "rowEditDone": "rowEditDone"; "rowEditExit": "rowEditExit"; "rowPinning": "rowPinning"; "rowPinned": "rowPinned"; }, ["valueChipTemplateDirective"], ["igx-grid-toolbar", "igx-grid-footer"], false>;
|
|
945
968
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ComponentFactoryResolver, ViewContainerRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { IFilteringExpressionsTree } from '../data-operations/filtering-expressions-tree';
|
|
3
3
|
import { IPagingState } from '../data-operations/paging-state.interface';
|
|
4
4
|
import { GridColumnDataType } from '../data-operations/data-util';
|
|
@@ -7,6 +7,7 @@ import { IPinningConfig } from './grid.common';
|
|
|
7
7
|
import { GridSelectionRange } from './common/types';
|
|
8
8
|
import { ISortingExpression } from '../data-operations/sorting-strategy';
|
|
9
9
|
import { GridType } from './common/grid.interface';
|
|
10
|
+
import { IPivotConfiguration } from './pivot-grid/pivot-grid.interface';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export interface IGridState {
|
|
12
13
|
columns?: IColumnState[];
|
|
@@ -24,6 +25,7 @@ export interface IGridState {
|
|
|
24
25
|
expansion?: any[];
|
|
25
26
|
rowIslands?: IGridStateCollection[];
|
|
26
27
|
id?: string;
|
|
28
|
+
pivotConfiguration?: IPivotConfiguration;
|
|
27
29
|
}
|
|
28
30
|
export interface IGridStateCollection {
|
|
29
31
|
id: string;
|
|
@@ -45,6 +47,7 @@ export interface IGridStateOptions {
|
|
|
45
47
|
expansion?: boolean;
|
|
46
48
|
rowIslands?: boolean;
|
|
47
49
|
moving?: boolean;
|
|
50
|
+
pivotConfiguration?: boolean;
|
|
48
51
|
}
|
|
49
52
|
export interface IColumnState {
|
|
50
53
|
pinned: boolean;
|
|
@@ -81,6 +84,14 @@ export declare class IgxGridStateDirective {
|
|
|
81
84
|
private currGrid;
|
|
82
85
|
private _options;
|
|
83
86
|
private FEATURES;
|
|
87
|
+
/**
|
|
88
|
+
* Event emitted when set state is called with a string.
|
|
89
|
+
* Returns the parsed state object so that it can be further modified before applying to the grid.
|
|
90
|
+
* ```typescript
|
|
91
|
+
* this.state.stateParsed.subscribe(parsedState => parsedState.sorting.forEach(x => x.strategy = NoopSortingStrategy.instance()});
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
stateParsed: EventEmitter<IGridState>;
|
|
84
95
|
/**
|
|
85
96
|
* An object with options determining if a certain feature state should be saved.
|
|
86
97
|
* ```html
|
|
@@ -139,6 +150,24 @@ export declare class IgxGridStateDirective {
|
|
|
139
150
|
* Returns a collection of all grid features.
|
|
140
151
|
*/
|
|
141
152
|
private applyFeatures;
|
|
153
|
+
/**
|
|
154
|
+
* This method restores complex objects in the pivot dimensions
|
|
155
|
+
* Like the IgxPivotDateDimension and filters.
|
|
156
|
+
*/
|
|
157
|
+
private restoreDimensions;
|
|
158
|
+
/**
|
|
159
|
+
* This method restores the IgxPivotDateDimension with its default functions and resource strings.
|
|
160
|
+
*/
|
|
161
|
+
private restoreDateDimension;
|
|
162
|
+
/**
|
|
163
|
+
* Returns if this is a IgxPivotDateDimension.
|
|
164
|
+
*/
|
|
165
|
+
private isDateDimension;
|
|
166
|
+
/**
|
|
167
|
+
* This method restores complex objects in the pivot values.
|
|
168
|
+
* Like the default aggregator methods.
|
|
169
|
+
*/
|
|
170
|
+
private restoreValues;
|
|
142
171
|
/**
|
|
143
172
|
* This method builds a FilteringExpressionsTree from a provided object.
|
|
144
173
|
*/
|
|
@@ -150,7 +179,7 @@ export declare class IgxGridStateDirective {
|
|
|
150
179
|
private stringifyCallback;
|
|
151
180
|
private getFeature;
|
|
152
181
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridStateDirective, [{ optional: true; host: true; }, null, null]>;
|
|
153
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridStateDirective, "[igxGridState]", never, { "options": "igxGridState"; }, {}, never, never, false>;
|
|
182
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridStateDirective, "[igxGridState]", never, { "options": "igxGridState"; }, { "stateParsed": "stateParsed"; }, never, never, false>;
|
|
154
183
|
}
|
|
155
184
|
/**
|
|
156
185
|
* @hidden
|
|
@@ -33,23 +33,15 @@ export declare class IgxSummaryCellComponent {
|
|
|
33
33
|
* @hidden @internal
|
|
34
34
|
*/
|
|
35
35
|
get currencyCode(): string;
|
|
36
|
-
translateSummary(summary: IgxSummaryResult): string;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden @internal
|
|
39
|
-
*/
|
|
40
|
-
isNumberColumn(): boolean;
|
|
41
36
|
/**
|
|
42
37
|
* @hidden @internal
|
|
43
38
|
*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* @hidden @internal
|
|
47
|
-
*/
|
|
48
|
-
isCurrencyColumn(): boolean;
|
|
39
|
+
get currencySymbol(): string;
|
|
40
|
+
translateSummary(summary: IgxSummaryResult): string;
|
|
49
41
|
/**
|
|
50
42
|
* @hidden @internal
|
|
51
43
|
*/
|
|
52
|
-
|
|
44
|
+
formatSummaryResult(summary: IgxSummaryResult): string;
|
|
53
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSummaryCellComponent, never>;
|
|
54
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSummaryCellComponent, "igx-grid-summary-cell", never, { "summaryResults": "summaryResults"; "column": "column"; "firstCellIndentation": "firstCellIndentation"; "hasSummary": "hasSummary"; "density": "density"; "summaryFormatter": "summaryFormatter"; "summaryTemplate": "summaryTemplate"; "active": "active"; "rowIndex": "rowIndex"; }, {}, never, never, false>;
|
|
55
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "14.1.0-alpha.
|
|
3
|
+
"version": "14.1.0-alpha.2",
|
|
4
4
|
"description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|