igniteui-angular 13.1.0-rc.1 → 13.1.0-rc.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/action-strip/grid-actions/grid-editing-actions.component.mjs +2 -2
- package/esm2020/lib/data-operations/pivot-sort-strategy.mjs +44 -0
- package/esm2020/lib/data-operations/pivot-strategy.mjs +2 -43
- package/esm2020/lib/grids/cell.component.mjs +1 -2
- package/esm2020/lib/grids/common/grid.interface.mjs +1 -1
- package/esm2020/lib/grids/filtering/excel-style/excel-style-search.component.mjs +6 -3
- package/esm2020/lib/grids/grid-base.directive.mjs +11 -11
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-cell.component.mjs +2 -2
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid-api.service.mjs +3 -3
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid-base.directive.mjs +10 -10
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid-navigation.service.mjs +3 -3
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid.component.mjs +31 -30
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid.module.mjs +1 -1
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-row.component.mjs +2 -2
- package/esm2020/lib/grids/hierarchical-grid/row-island.component.mjs +12 -13
- package/esm2020/lib/grids/pivot-grid/pivot-data-selector.component.mjs +2 -5
- package/esm2020/lib/grids/pivot-grid/pivot-grid-dimensions.mjs +2 -2
- package/esm2020/lib/grids/pivot-grid/pivot-grid.component.mjs +13 -13
- package/esm2020/lib/grids/pivot-grid/pivot-grid.pipes.mjs +7 -9
- package/esm2020/lib/grids/pivot-grid/pivot-header-row.component.mjs +6 -9
- package/esm2020/lib/grids/pivot-grid/pivot-row-dimension-content.component.mjs +9 -10
- package/esm2020/lib/grids/pivot-grid/pivot-row-dimension-header-group.component.mjs +1 -1
- package/esm2020/lib/grids/pivot-grid/pivot-row.component.mjs +1 -1
- package/esm2020/lib/grids/pivot-grid/pivot-sort-util.mjs +26 -0
- package/esm2020/lib/grids/pivot-grid/pivot-util.mjs +1 -23
- package/esm2020/lib/grids/resizing/pivot-grid/pivot-resize-handle.directive.mjs +1 -1
- package/esm2020/lib/grids/resizing/resize-handle.directive.mjs +1 -1
- package/esm2020/lib/grids/resizing/resizer.component.mjs +1 -1
- package/esm2020/lib/grids/resizing/resizing.service.mjs +1 -1
- package/esm2020/lib/grids/row.directive.mjs +1 -1
- package/esm2020/lib/grids/state.directive.mjs +2 -2
- package/esm2020/lib/grids/toolbar/grid-toolbar.base.mjs +1 -1
- package/esm2020/lib/grids/tree-grid/tree-grid.component.mjs +5 -7
- package/esm2020/lib/progressbar/progressbar.component.mjs +1 -2
- package/esm2020/lib/services/exporter-common/base-export-service.mjs +3 -3
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/igniteui-angular.mjs +276 -290
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +276 -289
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/data-operations/pivot-sort-strategy.d.ts +16 -0
- package/lib/data-operations/pivot-strategy.d.ts +0 -14
- package/lib/grids/cell.component.d.ts +2 -2
- package/lib/grids/common/grid.interface.d.ts +3 -3
- package/lib/grids/grid-base.directive.d.ts +6 -7
- package/lib/grids/hierarchical-grid/hierarchical-grid-api.service.d.ts +1 -1
- package/lib/grids/hierarchical-grid/hierarchical-grid-base.directive.d.ts +4 -8
- package/lib/grids/hierarchical-grid/hierarchical-grid.component.d.ts +11 -6
- package/lib/grids/hierarchical-grid/row-island.component.d.ts +5 -5
- package/lib/grids/pivot-grid/pivot-grid-dimensions.d.ts +1 -1
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +4 -2
- package/lib/grids/pivot-grid/pivot-grid.pipes.d.ts +2 -2
- package/lib/grids/pivot-grid/pivot-header-row.component.d.ts +1 -1
- package/lib/grids/pivot-grid/pivot-row-dimension-content.component.d.ts +6 -6
- package/lib/grids/pivot-grid/pivot-sort-util.d.ts +5 -0
- package/lib/grids/pivot-grid/pivot-util.d.ts +0 -1
- package/lib/grids/row.directive.d.ts +3 -3
- package/lib/grids/tree-grid/tree-grid.component.d.ts +2 -4
- package/lib/progressbar/progressbar.component.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/schematics/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PivotGridType } from '../grids/common/grid.interface';
|
|
2
|
+
import { IPivotGridRecord } from '../grids/pivot-grid/pivot-grid.interface';
|
|
3
|
+
import { DefaultSortingStrategy, SortingDirection } from './sorting-strategy';
|
|
4
|
+
export declare class DefaultPivotGridRecordSortingStrategy extends DefaultSortingStrategy {
|
|
5
|
+
protected static _instance: DefaultPivotGridRecordSortingStrategy;
|
|
6
|
+
static instance(): DefaultPivotGridRecordSortingStrategy;
|
|
7
|
+
sort(data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: (obj: any, key: string, isDate?: boolean) => any, isDate?: boolean, isTime?: boolean, grid?: PivotGridType): any[];
|
|
8
|
+
protected getFieldValue(obj: IPivotGridRecord, key: string, isDate?: boolean, isTime?: boolean): any;
|
|
9
|
+
}
|
|
10
|
+
export declare class DefaultPivotSortingStrategy extends DefaultSortingStrategy {
|
|
11
|
+
protected static _instance: DefaultPivotSortingStrategy;
|
|
12
|
+
protected dimension: any;
|
|
13
|
+
static instance(): DefaultPivotSortingStrategy;
|
|
14
|
+
sort(data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: (obj: any, key: string, isDate?: boolean) => any, isDate?: boolean, isTime?: boolean, grid?: PivotGridType): any[];
|
|
15
|
+
protected getFieldValue(obj: any, key: string, isDate?: boolean, isTime?: boolean): any;
|
|
16
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PivotGridType } from '../grids/common/grid.interface';
|
|
2
2
|
import { IPivotDimension, IPivotDimensionStrategy, IPivotGridRecord, IPivotKeys, IPivotValue } from '../grids/pivot-grid/pivot-grid.interface';
|
|
3
3
|
import { FilteringStrategy } from './filtering-strategy';
|
|
4
|
-
import { DefaultSortingStrategy, SortingDirection } from './sorting-strategy';
|
|
5
4
|
export declare class NoopPivotDimensionsStrategy implements IPivotDimensionStrategy {
|
|
6
5
|
private static _instance;
|
|
7
6
|
static instance(): NoopPivotDimensionsStrategy;
|
|
@@ -33,16 +32,3 @@ export declare class DimensionValuesFilteringStrategy extends FilteringStrategy
|
|
|
33
32
|
constructor(fields?: string[]);
|
|
34
33
|
protected getFieldValue(rec: any, fieldName: string, isDate?: boolean, isTime?: boolean, grid?: PivotGridType): any;
|
|
35
34
|
}
|
|
36
|
-
export declare class DefaultPivotSortingStrategy extends DefaultSortingStrategy {
|
|
37
|
-
protected static _instance: DefaultPivotSortingStrategy;
|
|
38
|
-
protected dimension: any;
|
|
39
|
-
static instance(): DefaultPivotSortingStrategy;
|
|
40
|
-
sort(data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: (obj: any, key: string, isDate?: boolean) => any, isDate?: boolean, isTime?: boolean, grid?: PivotGridType): any[];
|
|
41
|
-
protected getFieldValue(obj: any, key: string, isDate?: boolean, isTime?: boolean): any;
|
|
42
|
-
}
|
|
43
|
-
export declare class DefaultPivotGridRecordSortingStrategy extends DefaultSortingStrategy {
|
|
44
|
-
protected static _instance: DefaultPivotGridRecordSortingStrategy;
|
|
45
|
-
static instance(): DefaultPivotGridRecordSortingStrategy;
|
|
46
|
-
sort(data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: (obj: any, key: string, isDate?: boolean) => any, isDate?: boolean, isTime?: boolean, grid?: PivotGridType): any[];
|
|
47
|
-
protected getFieldValue(obj: IPivotGridRecord, key: string, isDate?: boolean, isTime?: boolean): any;
|
|
48
|
-
}
|
|
@@ -3,7 +3,7 @@ import { IgxTextHighlightDirective } from '../directives/text-highlight/text-hig
|
|
|
3
3
|
import { PlatformUtil } from '../core/utils';
|
|
4
4
|
import { IgxGridSelectionService } from './selection/selection.service';
|
|
5
5
|
import { HammerGesturesManager } from '../core/touch';
|
|
6
|
-
import { ColumnType, GridType, RowType } from './common/grid.interface';
|
|
6
|
+
import { CellType, ColumnType, GridType, RowType } from './common/grid.interface';
|
|
7
7
|
import { IgxRowDirective } from './row.directive';
|
|
8
8
|
import { ISearchInfo } from './common/events';
|
|
9
9
|
import { ISelectionNode } from './common/types';
|
|
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
|
|
|
21
21
|
* let cell = column.cells[0];
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
|
|
24
|
+
export declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, CellType {
|
|
25
25
|
protected selectionService: IgxGridSelectionService;
|
|
26
26
|
grid: GridType;
|
|
27
27
|
cdr: ChangeDetectorRef;
|
|
@@ -49,7 +49,7 @@ export interface CellType {
|
|
|
49
49
|
column: ColumnType;
|
|
50
50
|
row: RowType;
|
|
51
51
|
grid: GridType;
|
|
52
|
-
id
|
|
52
|
+
id?: {
|
|
53
53
|
rowID: any;
|
|
54
54
|
columnID: number;
|
|
55
55
|
rowIndex: number;
|
|
@@ -223,7 +223,8 @@ export interface GridServiceType {
|
|
|
223
223
|
getParentRowId?(child: GridType): any;
|
|
224
224
|
getChildGrids?(inDepth?: boolean): GridType[];
|
|
225
225
|
getChildGrid?(path: IPathSegment[]): GridType;
|
|
226
|
-
unsetChildRowIsland?(rowIsland:
|
|
226
|
+
unsetChildRowIsland?(rowIsland: GridType): void;
|
|
227
|
+
registerChildRowIsland?(rowIsland: GridType): void;
|
|
227
228
|
}
|
|
228
229
|
/**
|
|
229
230
|
* An interface describing a Grid type
|
|
@@ -386,7 +387,6 @@ export interface GridType extends IGridDataBindable {
|
|
|
386
387
|
loadingRows?: Set<any>;
|
|
387
388
|
parent?: GridType;
|
|
388
389
|
highlightedRowID?: any;
|
|
389
|
-
hgridAPI?: GridServiceType;
|
|
390
390
|
updateOnRender?: boolean;
|
|
391
391
|
childLayoutKeys?: any[];
|
|
392
392
|
childLayoutList?: QueryList<any>;
|
|
@@ -67,7 +67,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
67
67
|
protected viewRef: ViewContainerRef;
|
|
68
68
|
private appRef;
|
|
69
69
|
private moduleRef;
|
|
70
|
-
private factoryResolver;
|
|
71
70
|
private injector;
|
|
72
71
|
navigation: IgxGridNavigationService;
|
|
73
72
|
filteringService: IgxFilteringService;
|
|
@@ -1691,6 +1690,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1691
1690
|
isPivot: boolean;
|
|
1692
1691
|
/** @hidden @internal */
|
|
1693
1692
|
_baseFontSize: number;
|
|
1693
|
+
/**
|
|
1694
|
+
* @hidden
|
|
1695
|
+
*/
|
|
1696
|
+
destroy$: Subject<any>;
|
|
1694
1697
|
/**
|
|
1695
1698
|
* @hidden
|
|
1696
1699
|
*/
|
|
@@ -1752,10 +1755,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1752
1755
|
*/
|
|
1753
1756
|
protected _columnPinning: boolean;
|
|
1754
1757
|
protected _pinnedRecordIDs: any[];
|
|
1755
|
-
/**
|
|
1756
|
-
* @hidden
|
|
1757
|
-
*/
|
|
1758
|
-
protected destroy$: Subject<any>;
|
|
1759
1758
|
/**
|
|
1760
1759
|
* @hidden
|
|
1761
1760
|
*/
|
|
@@ -1888,7 +1887,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1888
1887
|
* @hidden @internal
|
|
1889
1888
|
*/
|
|
1890
1889
|
get columnInDrag(): ColumnType;
|
|
1891
|
-
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridServiceType, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>,
|
|
1890
|
+
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridServiceType, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>, injector: Injector, navigation: IgxGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: TransactionService<Transaction, State>);
|
|
1892
1891
|
/**
|
|
1893
1892
|
* @hidden
|
|
1894
1893
|
* @internal
|
|
@@ -3447,6 +3446,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
3447
3446
|
private find;
|
|
3448
3447
|
private rebuildMatchCache;
|
|
3449
3448
|
private configureRowEditingOverlay;
|
|
3450
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridBaseDirective, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
|
3449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridBaseDirective, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
3451
3450
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridBaseDirective, never, never, { "snackbarDisplayTime": "snackbarDisplayTime"; "autoGenerate": "autoGenerate"; "moving": "moving"; "emptyGridTemplate": "emptyGridTemplate"; "addRowEmptyTemplate": "addRowEmptyTemplate"; "loadingGridTemplate": "loadingGridTemplate"; "summaryRowHeight": "summaryRowHeight"; "dataCloneStrategy": "dataCloneStrategy"; "clipboardOptions": "clipboardOptions"; "class": "class"; "evenRowCSS": "evenRowCSS"; "oddRowCSS": "oddRowCSS"; "rowClasses": "rowClasses"; "rowStyles": "rowStyles"; "primaryKey": "primaryKey"; "uniqueColumnValuesStrategy": "uniqueColumnValuesStrategy"; "resourceStrings": "resourceStrings"; "filteringLogic": "filteringLogic"; "filteringExpressionsTree": "filteringExpressionsTree"; "advancedFilteringExpressionsTree": "advancedFilteringExpressionsTree"; "locale": "locale"; "pagingMode": "pagingMode"; "paging": "paging"; "page": "page"; "perPage": "perPage"; "hideRowSelectors": "hideRowSelectors"; "rowDraggable": "rowDraggable"; "rowEditable": "rowEditable"; "height": "height"; "width": "width"; "rowHeight": "rowHeight"; "columnWidth": "columnWidth"; "emptyGridMessage": "emptyGridMessage"; "isLoading": "isLoading"; "emptyFilteredGridMessage": "emptyFilteredGridMessage"; "pinning": "pinning"; "allowFiltering": "allowFiltering"; "allowAdvancedFiltering": "allowAdvancedFiltering"; "filterMode": "filterMode"; "summaryPosition": "summaryPosition"; "summaryCalculationMode": "summaryCalculationMode"; "showSummaryOnCollapse": "showSummaryOnCollapse"; "filterStrategy": "filterStrategy"; "sortStrategy": "sortStrategy"; "selectedRows": "selectedRows"; "sortingExpressions": "sortingExpressions"; "batchEditing": "batchEditing"; "cellSelection": "cellSelection"; "rowSelection": "rowSelection"; "columnSelection": "columnSelection"; "expansionStates": "expansionStates"; "outlet": "outlet"; "totalRecords": "totalRecords"; "selectRowOnClick": "selectRowOnClick"; }, { "filteringExpressionsTreeChange": "filteringExpressionsTreeChange"; "advancedFilteringExpressionsTreeChange": "advancedFilteringExpressionsTreeChange"; "gridScroll": "gridScroll"; "pageChange": "pageChange"; "perPageChange": "perPageChange"; "cellClick": "cellClick"; "selected": "selected"; "rowSelectionChanging": "rowSelectionChanging"; "columnSelectionChanging": "columnSelectionChanging"; "columnPin": "columnPin"; "columnPinned": "columnPinned"; "cellEditEnter": "cellEditEnter"; "cellEditExit": "cellEditExit"; "cellEdit": "cellEdit"; "cellEditDone": "cellEditDone"; "rowEditEnter": "rowEditEnter"; "rowEdit": "rowEdit"; "rowEditDone": "rowEditDone"; "rowEditExit": "rowEditExit"; "columnInit": "columnInit"; "sorting": "sorting"; "sortingDone": "sortingDone"; "filtering": "filtering"; "filteringDone": "filteringDone"; "pagingDone": "pagingDone"; "rowAdded": "rowAdded"; "rowDeleted": "rowDeleted"; "rowDelete": "rowDelete"; "rowAdd": "rowAdd"; "columnResized": "columnResized"; "contextMenu": "contextMenu"; "doubleClick": "doubleClick"; "columnVisibilityChanging": "columnVisibilityChanging"; "columnVisibilityChanged": "columnVisibilityChanged"; "columnMovingStart": "columnMovingStart"; "columnMoving": "columnMoving"; "columnMovingEnd": "columnMovingEnd"; "gridKeydown": "gridKeydown"; "rowDragStart": "rowDragStart"; "rowDragEnd": "rowDragEnd"; "gridCopy": "gridCopy"; "expansionStatesChange": "expansionStatesChange"; "rowToggle": "rowToggle"; "rowPinning": "rowPinning"; "rowPinned": "rowPinned"; "activeNodeChange": "activeNodeChange"; "sortingExpressionsChange": "sortingExpressionsChange"; "toolbarExporting": "toolbarExporting"; "rangeSelected": "rangeSelected"; "rendered": "rendered"; "localeChange": "localeChange"; "dataChanging": "dataChanging"; "dataChanged": "dataChanged"; }, ["actionStrip", "excelStyleLoadingValuesTemplateDirective", "rowAddText", "rowExpandedIndicatorTemplate", "rowCollapsedIndicatorTemplate", "headerExpandIndicatorTemplate", "headerCollapseIndicatorTemplate", "excelStyleHeaderIconTemplate", "sortAscendingHeaderIconTemplate", "sortDescendingHeaderIconTemplate", "sortHeaderIconTemplate", "excelStyleFilteringComponents", "columnList", "headSelectorsTemplates", "rowSelectorsTemplates", "dragGhostCustomTemplates", "rowEditCustomDirectives", "rowEditTextDirectives", "rowEditActionsDirectives", "dragIndicatorIconTemplates", "rowEditTabsCUSTOM", "toolbar", "paginationComponents"]>;
|
|
3452
3451
|
}
|
|
@@ -12,7 +12,7 @@ export declare class IgxHierarchicalGridAPIService extends GridBaseAPIService<Gr
|
|
|
12
12
|
getChildGrids(inDepth?: boolean): any[];
|
|
13
13
|
getParentRowId(childGrid: GridType): any;
|
|
14
14
|
registerChildGrid(parentRowID: any, rowIslandKey: string, grid: GridType): void;
|
|
15
|
-
getChildGridsForRowIsland(rowIslandKey:
|
|
15
|
+
getChildGridsForRowIsland(rowIslandKey: string): GridType[];
|
|
16
16
|
getChildGridByID(rowIslandKey: any, rowID: any): GridType;
|
|
17
17
|
get_row_expansion_state(record: any): boolean;
|
|
18
18
|
allow_expansion_state_change(rowID: any, expanded: any): boolean;
|
|
@@ -8,7 +8,7 @@ import { IgxHierarchicalGridNavigationService } from './hierarchical-grid-naviga
|
|
|
8
8
|
import { IgxGridSummaryService } from '../summaries/grid-summary.service';
|
|
9
9
|
import { IgxGridSelectionService } from '../selection/selection.service';
|
|
10
10
|
import { IgxColumnResizingService } from '../resizing/resizing.service';
|
|
11
|
-
import {
|
|
11
|
+
import { GridType, IPathSegment } from '../common/grid.interface';
|
|
12
12
|
import { IgxColumnGroupComponent } from '../columns/column-group.component';
|
|
13
13
|
import { IgxColumnComponent } from '../columns/column.component';
|
|
14
14
|
import { IForOfState } from '../../directives/for-of/for_of.directive';
|
|
@@ -26,7 +26,7 @@ export declare const IgxHierarchicalTransactionServiceFactory: {
|
|
|
26
26
|
export declare abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirective implements GridType {
|
|
27
27
|
selectionService: IgxGridSelectionService;
|
|
28
28
|
colResizingService: IgxColumnResizingService;
|
|
29
|
-
gridAPI:
|
|
29
|
+
gridAPI: IgxHierarchicalGridAPIService;
|
|
30
30
|
protected transactionFactory: IgxFlatTransactionFactory;
|
|
31
31
|
document: any;
|
|
32
32
|
protected overlayService: IgxOverlayService;
|
|
@@ -90,17 +90,13 @@ export declare abstract class IgxHierarchicalGridBaseDirective extends IgxGridBa
|
|
|
90
90
|
batchEditingChange: EventEmitter<boolean>;
|
|
91
91
|
get batchEditing(): boolean;
|
|
92
92
|
set batchEditing(val: boolean);
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
hgridAPI: IgxHierarchicalGridAPIService;
|
|
97
93
|
/**
|
|
98
94
|
* @hidden
|
|
99
95
|
*/
|
|
100
96
|
parentIsland: IgxRowIslandComponent;
|
|
101
97
|
abstract rootGrid: GridType;
|
|
102
98
|
abstract expandChildren: boolean;
|
|
103
|
-
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI:
|
|
99
|
+
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: IgxHierarchicalGridAPIService, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>, injector: Injector, navigation: IgxHierarchicalGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: TransactionService<Transaction, State>);
|
|
104
100
|
/**
|
|
105
101
|
* @hidden
|
|
106
102
|
*/
|
|
@@ -110,6 +106,6 @@ export declare abstract class IgxHierarchicalGridBaseDirective extends IgxGridBa
|
|
|
110
106
|
protected _createColComponent(col: any): import("@angular/core").ComponentRef<IgxColumnComponent>;
|
|
111
107
|
protected getGridsForIsland(rowIslandID: string): GridType[];
|
|
112
108
|
protected getChildGrid(path: Array<IPathSegment>): any;
|
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxHierarchicalGridBaseDirective, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxHierarchicalGridBaseDirective, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
114
110
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxHierarchicalGridBaseDirective, never, never, { "hasChildrenKey": "hasChildrenKey"; "showExpandAll": "showExpandAll"; }, { "dataPreLoad": "dataPreLoad"; }, never>;
|
|
115
111
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, DoCheck, ElementRef, OnDestroy, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { IgxHierarchicalGridAPIService } from './hierarchical-grid-api.service';
|
|
2
3
|
import { IgxRowIslandComponent } from './row-island.component';
|
|
3
4
|
import { IgxColumnComponent } from '../columns/column.component';
|
|
4
5
|
import { IgxHierarchicalGridBaseDirective } from './hierarchical-grid-base.directive';
|
|
5
|
-
import { CellType,
|
|
6
|
+
import { CellType, GridType, RowType } from '../common/grid.interface';
|
|
6
7
|
import { IgxGridToolbarTemplateContext } from '../toolbar/common';
|
|
7
8
|
import { IgxPaginatorComponent } from '../../paginator/paginator.component';
|
|
8
9
|
import { IgxOverlayOutletDirective } from '../../directives/toggle/toggle.directive';
|
|
@@ -11,7 +12,7 @@ export interface HierarchicalStateRecord {
|
|
|
11
12
|
rowID: any;
|
|
12
13
|
}
|
|
13
14
|
export declare class IgxChildGridRowComponent implements AfterViewInit, OnInit {
|
|
14
|
-
gridAPI:
|
|
15
|
+
gridAPI: IgxHierarchicalGridAPIService;
|
|
15
16
|
element: ElementRef<HTMLElement>;
|
|
16
17
|
private resolver;
|
|
17
18
|
cdr: ChangeDetectorRef;
|
|
@@ -42,7 +43,7 @@ export declare class IgxChildGridRowComponent implements AfterViewInit, OnInit {
|
|
|
42
43
|
* ```
|
|
43
44
|
*/
|
|
44
45
|
index: number;
|
|
45
|
-
hGrid:
|
|
46
|
+
hGrid: IgxHierarchicalGridComponent;
|
|
46
47
|
/**
|
|
47
48
|
* Get a reference to the grid that contains the selected row.
|
|
48
49
|
*
|
|
@@ -60,7 +61,7 @@ export declare class IgxChildGridRowComponent implements AfterViewInit, OnInit {
|
|
|
60
61
|
* </igx-grid>
|
|
61
62
|
* ```
|
|
62
63
|
*/
|
|
63
|
-
get parentGrid():
|
|
64
|
+
get parentGrid(): IgxHierarchicalGridComponent;
|
|
64
65
|
get level(): number;
|
|
65
66
|
/**
|
|
66
67
|
* The native DOM element representing the row. Could be null in certain environments.
|
|
@@ -78,7 +79,7 @@ export declare class IgxChildGridRowComponent implements AfterViewInit, OnInit {
|
|
|
78
79
|
* ```
|
|
79
80
|
*/
|
|
80
81
|
expanded: boolean;
|
|
81
|
-
constructor(gridAPI:
|
|
82
|
+
constructor(gridAPI: IgxHierarchicalGridAPIService, element: ElementRef<HTMLElement>, resolver: ComponentFactoryResolver, cdr: ChangeDetectorRef);
|
|
82
83
|
/**
|
|
83
84
|
* @hidden
|
|
84
85
|
*/
|
|
@@ -136,7 +137,11 @@ export declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBas
|
|
|
136
137
|
/**
|
|
137
138
|
* @hidden
|
|
138
139
|
*/
|
|
139
|
-
parent:
|
|
140
|
+
parent: IgxHierarchicalGridComponent;
|
|
141
|
+
/**
|
|
142
|
+
* @hidden
|
|
143
|
+
*/
|
|
144
|
+
childRow: IgxChildGridRowComponent;
|
|
140
145
|
private _data;
|
|
141
146
|
private _filteredData;
|
|
142
147
|
private h_id;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter, Injector, IterableDiffers, NgModuleRef, NgZone, OnChanges, OnDestroy, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { IgxHierarchicalGridAPIService } from './hierarchical-grid-api.service';
|
|
2
3
|
import { IgxFilteringService } from '../filtering/grid-filtering.service';
|
|
3
4
|
import { IDisplayDensityOptions } from '../../core/displayDensity';
|
|
4
5
|
import { IgxGridSummaryService } from '../summaries/grid-summary.service';
|
|
@@ -10,7 +11,7 @@ import { IgxColumnComponent } from '../columns/column.component';
|
|
|
10
11
|
import { IgxRowIslandAPIService } from './row-island-api.service';
|
|
11
12
|
import { PlatformUtil } from '../../core/utils';
|
|
12
13
|
import { IgxColumnResizingService } from '../resizing/resizing.service';
|
|
13
|
-
import {
|
|
14
|
+
import { GridType } from '../common/grid.interface';
|
|
14
15
|
import { IgxGridToolbarTemplateContext } from '../toolbar/common';
|
|
15
16
|
import { IgxActionStripComponent } from '../../action-strip/action-strip.component';
|
|
16
17
|
import { IgxFlatTransactionFactory } from '../../services/transaction/transaction-factory.service';
|
|
@@ -19,7 +20,6 @@ import * as i0 from "@angular/core";
|
|
|
19
20
|
export declare class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective implements AfterContentInit, AfterViewInit, OnChanges, OnInit, OnDestroy {
|
|
20
21
|
selectionService: IgxGridSelectionService;
|
|
21
22
|
colResizingService: IgxColumnResizingService;
|
|
22
|
-
gridAPI: GridServiceType;
|
|
23
23
|
protected transactionFactory: IgxFlatTransactionFactory;
|
|
24
24
|
document: any;
|
|
25
25
|
protected overlayService: IgxOverlayService;
|
|
@@ -89,7 +89,7 @@ export declare class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirect
|
|
|
89
89
|
/**
|
|
90
90
|
* @hidden
|
|
91
91
|
*/
|
|
92
|
-
rootGrid:
|
|
92
|
+
rootGrid: GridType;
|
|
93
93
|
readonly data: any[] | null;
|
|
94
94
|
readonly filteredData: any[];
|
|
95
95
|
private ri_columnListDiffer;
|
|
@@ -129,7 +129,7 @@ export declare class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirect
|
|
|
129
129
|
* @hidden
|
|
130
130
|
*/
|
|
131
131
|
get level(): number;
|
|
132
|
-
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI:
|
|
132
|
+
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: IgxHierarchicalGridAPIService, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, moduleRef: NgModuleRef<any>, injector: Injector, appRef: ApplicationRef, navigation: IgxHierarchicalGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, rowIslandAPI: IgxRowIslandAPIService, localeId: string, platform: PlatformUtil);
|
|
133
133
|
/**
|
|
134
134
|
* @hidden
|
|
135
135
|
*/
|
|
@@ -161,6 +161,6 @@ export declare class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirect
|
|
|
161
161
|
protected updateColumnList(): void;
|
|
162
162
|
protected updateChildren(): void;
|
|
163
163
|
private cleanGridState;
|
|
164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowIslandComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
|
164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowIslandComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, null]>;
|
|
165
165
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxRowIslandComponent, "igx-row-island", never, { "key": "key"; "expandChildren": "expandChildren"; }, { "layoutChange": "layoutChange"; "gridCreated": "gridCreated"; "gridInitialized": "gridInitialized"; }, ["islandToolbarTemplate", "islandPaginatorTemplate", "children", "childColumns", "actionStrips"], never>;
|
|
166
166
|
}
|
|
@@ -49,5 +49,5 @@ export declare class IgxPivotDateDimension implements IPivotDimension {
|
|
|
49
49
|
*/
|
|
50
50
|
constructor(inBaseDimension: IPivotDimension, inOptions?: IPivotDateDimensionOptions);
|
|
51
51
|
/** @hidden @internal */
|
|
52
|
-
memberFunction: (
|
|
52
|
+
memberFunction: (_data: any) => string;
|
|
53
53
|
}
|
|
@@ -27,6 +27,7 @@ import { IgxPivotGridColumnResizerComponent } from '../resizing/pivot-grid/pivot
|
|
|
27
27
|
import { IgxActionStripComponent } from '../../action-strip/action-strip.component';
|
|
28
28
|
import { IPageEventArgs } from '../../paginator/paginator-interfaces';
|
|
29
29
|
import { ISortingExpression, SortingDirection } from '../../data-operations/sorting-strategy';
|
|
30
|
+
import { IFilteringStrategy } from '../../data-operations/filtering-strategy';
|
|
30
31
|
import * as i0 from "@angular/core";
|
|
31
32
|
/**
|
|
32
33
|
* Pivot Grid provides a way to present and manipulate data in a pivot table view.
|
|
@@ -268,6 +269,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
268
269
|
private _emptyRowDimension;
|
|
269
270
|
get emptyRowDimension(): IPivotDimension;
|
|
270
271
|
protected _defaultExpandState: boolean;
|
|
272
|
+
protected _filterStrategy: IFilteringStrategy;
|
|
271
273
|
private _data;
|
|
272
274
|
private _filteredData;
|
|
273
275
|
private _pivotConfiguration;
|
|
@@ -449,7 +451,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
449
451
|
* ```
|
|
450
452
|
*/
|
|
451
453
|
get defaultRowHeight(): number;
|
|
452
|
-
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxPivotColumnResizingService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>,
|
|
454
|
+
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxPivotColumnResizingService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>, injector: Injector, navigation: IgxPivotGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: TransactionService<Transaction, State>);
|
|
453
455
|
/**
|
|
454
456
|
* @hidden
|
|
455
457
|
*/
|
|
@@ -905,6 +907,6 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
905
907
|
* @hidden @internal
|
|
906
908
|
*/
|
|
907
909
|
get template(): TemplateRef<any>;
|
|
908
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotGridComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
|
910
|
+
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; }]>;
|
|
909
911
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxPivotGridComponent, "igx-pivot-grid", never, { "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"; }, never, ["igx-grid-toolbar", "igx-grid-footer"]>;
|
|
910
912
|
}
|
|
@@ -70,7 +70,7 @@ export declare class IgxPivotGridFilterPipe implements PipeTransform {
|
|
|
70
70
|
* @hidden
|
|
71
71
|
*/
|
|
72
72
|
export declare class IgxPivotGridColumnSortingPipe implements PipeTransform {
|
|
73
|
-
transform(collection: IPivotGridRecord[], expressions: ISortingExpression[], sorting: IGridSortingStrategy,
|
|
73
|
+
transform(collection: IPivotGridRecord[], expressions: ISortingExpression[], sorting: IGridSortingStrategy, _pipeTrigger: number): IPivotGridRecord[];
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotGridColumnSortingPipe, never>;
|
|
75
75
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxPivotGridColumnSortingPipe, "pivotGridColumnSort">;
|
|
76
76
|
}
|
|
@@ -80,7 +80,7 @@ export declare class IgxPivotGridColumnSortingPipe implements PipeTransform {
|
|
|
80
80
|
export declare class IgxPivotGridSortingPipe implements PipeTransform {
|
|
81
81
|
private gridAPI;
|
|
82
82
|
constructor(gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>);
|
|
83
|
-
transform(collection: any[], config: IPivotConfiguration, sorting: IGridSortingStrategy,
|
|
83
|
+
transform(collection: any[], config: IPivotConfiguration, sorting: IGridSortingStrategy, _pipeTrigger: number): any[];
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotGridSortingPipe, never>;
|
|
85
85
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxPivotGridSortingPipe, "pivotGridSort">;
|
|
86
86
|
}
|
|
@@ -178,7 +178,7 @@ export declare class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponen
|
|
|
178
178
|
* @hidden
|
|
179
179
|
* @internal
|
|
180
180
|
*/
|
|
181
|
-
onChipSort(
|
|
181
|
+
onChipSort(_event: any, dimension: IPivotDimension): void;
|
|
182
182
|
/**
|
|
183
183
|
* @hidden
|
|
184
184
|
* @internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, OnChanges, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { IgxColumnComponent } from '../columns/column.component';
|
|
3
3
|
import { PivotGridType } from '../common/grid.interface';
|
|
4
4
|
import { IgxGridHeaderRowComponent } from '../headers/grid-header-row.component';
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
*
|
|
14
14
|
* @hidden @internal
|
|
15
15
|
*/
|
|
16
|
-
export declare class IgxPivotRowDimensionContentComponent extends IgxGridHeaderRowComponent {
|
|
16
|
+
export declare class IgxPivotRowDimensionContentComponent extends IgxGridHeaderRowComponent implements OnChanges {
|
|
17
17
|
grid: PivotGridType;
|
|
18
18
|
protected ref: ElementRef<HTMLElement>;
|
|
19
19
|
protected cdr: ChangeDetectorRef;
|
|
@@ -51,14 +51,14 @@ export declare class IgxPivotRowDimensionContentComponent extends IgxGridHeaderR
|
|
|
51
51
|
* @hidden
|
|
52
52
|
* @internal
|
|
53
53
|
*/
|
|
54
|
-
toggleRowDimension(event: any
|
|
54
|
+
toggleRowDimension(event: any): void;
|
|
55
55
|
/**
|
|
56
56
|
* @hidden
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
|
-
getRowDimensionKey(
|
|
60
|
-
getExpandState(
|
|
61
|
-
getLevel(
|
|
59
|
+
getRowDimensionKey(): string;
|
|
60
|
+
getExpandState(): boolean;
|
|
61
|
+
getLevel(): number;
|
|
62
62
|
get rowSpan(): number;
|
|
63
63
|
get headerHeight(): number;
|
|
64
64
|
protected extractFromDimensions(): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ISortingExpression } from '../../data-operations/sorting-strategy';
|
|
2
|
+
import { IPivotDimension } from './pivot-grid.interface';
|
|
3
|
+
export declare class PivotSortUtil {
|
|
4
|
+
static generateDimensionSortingExpressions(dimensions: IPivotDimension[]): ISortingExpression[];
|
|
5
|
+
}
|
|
@@ -27,5 +27,4 @@ export declare class PivotUtil {
|
|
|
27
27
|
private static applyHierarchyChildren;
|
|
28
28
|
static getAggregateList(val: IPivotValue, grid: PivotGridType): IPivotAggregator[];
|
|
29
29
|
static getAggregatorsForValue(value: IPivotValue, grid: PivotGridType): IPivotAggregator[];
|
|
30
|
-
static generateDimensionSortingExpressions(dimensions: IPivotDimension[]): ISortingExpression[];
|
|
31
30
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, On
|
|
|
2
2
|
import { IgxCheckboxComponent } from '../checkbox/checkbox.component';
|
|
3
3
|
import { IgxGridForOfDirective } from '../directives/for-of/for_of.directive';
|
|
4
4
|
import { IgxGridSelectionService } from './selection/selection.service';
|
|
5
|
-
import { ColumnType, GridType } from './common/grid.interface';
|
|
5
|
+
import { CellType, ColumnType, GridType } from './common/grid.interface';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
@@ -91,7 +91,7 @@ export declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestro
|
|
|
91
91
|
* @hidden
|
|
92
92
|
*/
|
|
93
93
|
checkboxElement: IgxCheckboxComponent;
|
|
94
|
-
protected _cells: QueryList<
|
|
94
|
+
protected _cells: QueryList<CellType>;
|
|
95
95
|
/**
|
|
96
96
|
* Gets the rendered cells in the row component.
|
|
97
97
|
*
|
|
@@ -100,7 +100,7 @@ export declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestro
|
|
|
100
100
|
* let selectedRowCells = this.grid.selectedRows[2].cells;
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
get cells(): QueryList<
|
|
103
|
+
get cells(): QueryList<CellType>;
|
|
104
104
|
get dataRowIndex(): number;
|
|
105
105
|
/**
|
|
106
106
|
* @hidden
|
|
@@ -39,8 +39,6 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
|
|
|
39
39
|
colResizingService: IgxColumnResizingService;
|
|
40
40
|
gridAPI: GridServiceType;
|
|
41
41
|
protected transactionFactory: IgxHierarchicalTransactionFactory;
|
|
42
|
-
private _elementRef;
|
|
43
|
-
private _zone;
|
|
44
42
|
document: any;
|
|
45
43
|
cdr: ChangeDetectorRef;
|
|
46
44
|
protected resolver: ComponentFactoryResolver;
|
|
@@ -269,7 +267,7 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
|
|
|
269
267
|
*/
|
|
270
268
|
get rowLoadingIndicatorTemplate(): TemplateRef<any>;
|
|
271
269
|
set rowLoadingIndicatorTemplate(value: TemplateRef<any>);
|
|
272
|
-
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridServiceType, transactionFactory: IgxHierarchicalTransactionFactory, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>,
|
|
270
|
+
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridServiceType, transactionFactory: IgxHierarchicalTransactionFactory, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, appRef: ApplicationRef, moduleRef: NgModuleRef<any>, injector: Injector, navigation: IgxGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: HierarchicalTransactionService<HierarchicalTransaction, HierarchicalState>);
|
|
273
271
|
/**
|
|
274
272
|
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
275
273
|
*
|
|
@@ -508,6 +506,6 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
|
|
|
508
506
|
private addChildRows;
|
|
509
507
|
private loadChildrenOnRowExpansion;
|
|
510
508
|
private handleCascadeSelection;
|
|
511
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
|
509
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
512
510
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxTreeGridComponent, "igx-tree-grid", never, { "childDataKey": "childDataKey"; "foreignKey": "foreignKey"; "hasChildrenKey": "hasChildrenKey"; "cascadeOnDelete": "cascadeOnDelete"; "loadChildrenOnDemand": "loadChildrenOnDemand"; "id": "id"; "data": "data"; "expansionDepth": "expansionDepth"; "rowLoadingIndicatorTemplate": "rowLoadingIndicatorTemplate"; }, {}, ["groupArea", "rowLoadingTemplate"], ["igx-grid-toolbar", "igx-tree-grid-group-by-area", "igx-grid-footer", "igx-paginator"]>;
|
|
513
511
|
}
|
|
@@ -170,7 +170,7 @@ export declare abstract class BaseProgressDirective {
|
|
|
170
170
|
* @hidden
|
|
171
171
|
*/
|
|
172
172
|
protected directionFlow(currentValue: number, prevValue: number): number;
|
|
173
|
-
protected runAnimation(value: number):
|
|
173
|
+
protected abstract runAnimation(value: number): any;
|
|
174
174
|
/**
|
|
175
175
|
* @hidden
|
|
176
176
|
* @param step
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './lib/data-operations/filtering-expressions-tree';
|
|
|
34
34
|
export * from './lib/data-operations/filtering-condition';
|
|
35
35
|
export * from './lib/data-operations/filtering-state.interface';
|
|
36
36
|
export * from './lib/data-operations/filtering-strategy';
|
|
37
|
+
export * from './lib/data-operations/pivot-sort-strategy';
|
|
37
38
|
export * from './lib/data-operations/pivot-strategy';
|
|
38
39
|
export * from './lib/data-operations/groupby-expand-state.interface';
|
|
39
40
|
export * from './lib/data-operations/groupby-record.interface';
|