igniteui-angular 22.1.0-beta.4 → 22.1.0-beta.6
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/igniteui-angular-accordion.mjs +4 -4
- package/fesm2022/igniteui-angular-accordion.mjs.map +1 -1
- package/fesm2022/igniteui-angular-action-strip.mjs +3 -1
- package/fesm2022/igniteui-angular-action-strip.mjs.map +1 -1
- package/fesm2022/igniteui-angular-avatar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-badge.mjs +3 -2
- package/fesm2022/igniteui-angular-badge.mjs.map +1 -1
- package/fesm2022/igniteui-angular-banner.mjs +2 -2
- package/fesm2022/igniteui-angular-banner.mjs.map +1 -1
- package/fesm2022/igniteui-angular-button-group.mjs +2 -2
- package/fesm2022/igniteui-angular-button-group.mjs.map +1 -1
- package/fesm2022/igniteui-angular-calendar.mjs +9 -8
- package/fesm2022/igniteui-angular-calendar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-card.mjs +2 -2
- package/fesm2022/igniteui-angular-card.mjs.map +1 -1
- package/fesm2022/igniteui-angular-carousel.mjs.map +1 -1
- package/fesm2022/igniteui-angular-chips.mjs.map +1 -1
- package/fesm2022/igniteui-angular-combo.mjs +6 -17
- package/fesm2022/igniteui-angular-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-core.mjs +337 -16
- package/fesm2022/igniteui-angular-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-date-picker.mjs +14 -12
- package/fesm2022/igniteui-angular-date-picker.mjs.map +1 -1
- package/fesm2022/igniteui-angular-dialog.mjs +1 -1
- package/fesm2022/igniteui-angular-dialog.mjs.map +1 -1
- package/fesm2022/igniteui-angular-directives.mjs +67 -48
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-drop-down.mjs +2 -3
- package/fesm2022/igniteui-angular-drop-down.mjs.map +1 -1
- package/fesm2022/igniteui-angular-expansion-panel.mjs +12 -23
- package/fesm2022/igniteui-angular-expansion-panel.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +223 -491
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +98 -116
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +21 -16
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-lite.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +153 -75
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs +35 -28
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-icon.mjs.map +1 -1
- package/fesm2022/igniteui-angular-input-group.mjs +19 -4
- package/fesm2022/igniteui-angular-input-group.mjs.map +1 -1
- package/fesm2022/igniteui-angular-list.mjs.map +1 -1
- package/fesm2022/igniteui-angular-navbar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-navigation-drawer.mjs +3 -2
- package/fesm2022/igniteui-angular-navigation-drawer.mjs.map +1 -1
- package/fesm2022/igniteui-angular-paginator.mjs +2 -1
- package/fesm2022/igniteui-angular-paginator.mjs.map +1 -1
- package/fesm2022/igniteui-angular-progressbar.mjs +2 -5
- package/fesm2022/igniteui-angular-progressbar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-query-builder.mjs +21 -20
- package/fesm2022/igniteui-angular-query-builder.mjs.map +1 -1
- package/fesm2022/igniteui-angular-radio.mjs +1 -1
- package/fesm2022/igniteui-angular-radio.mjs.map +1 -1
- package/fesm2022/igniteui-angular-select.mjs.map +1 -1
- package/fesm2022/igniteui-angular-simple-combo.mjs +7 -10
- package/fesm2022/igniteui-angular-simple-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-slider.mjs +3 -3
- package/fesm2022/igniteui-angular-slider.mjs.map +1 -1
- package/fesm2022/igniteui-angular-splitter.mjs +1 -1
- package/fesm2022/igniteui-angular-splitter.mjs.map +1 -1
- package/fesm2022/igniteui-angular-stepper.mjs +1 -1
- package/fesm2022/igniteui-angular-stepper.mjs.map +1 -1
- package/fesm2022/igniteui-angular-tabs.mjs.map +1 -1
- package/fesm2022/igniteui-angular-time-picker.mjs +6 -3
- package/fesm2022/igniteui-angular-time-picker.mjs.map +1 -1
- package/fesm2022/igniteui-angular-tree.mjs +10 -8
- package/fesm2022/igniteui-angular-tree.mjs.map +1 -1
- package/lib/core/styles/components/button/_button-theme.scss +24 -31
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +21 -0
- package/lib/core/styles/spec/_mixins.spec.scss +21 -1
- package/lib/core/styles/themes/_scoping.scss +12 -0
- package/lib/core/styles/themes/generators/_base.scss +0 -1
- package/lib/grids/core/src/filtering/excel-style/themes/_derived.scss +3 -2
- package/migrations/migration-collection.json +7 -0
- package/migrations/update-22_1_0_import-migration/index.d.ts +2 -0
- package/migrations/update-22_1_0_import-migration/index.js +228 -0
- package/migrations/update-22_1_0_import-migration/index.spec.d.ts +1 -0
- package/migrations/update-22_1_0_import-migration/index.spec.js +188 -0
- package/package.json +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/types/igniteui-angular-avatar.d.ts +1 -1
- package/types/igniteui-angular-banner.d.ts +3 -3
- package/types/igniteui-angular-calendar.d.ts +9 -9
- package/types/igniteui-angular-card.d.ts +2 -2
- package/types/igniteui-angular-carousel.d.ts +9 -9
- package/types/igniteui-angular-chat.d.ts +1 -1
- package/types/igniteui-angular-chips.d.ts +5 -5
- package/types/igniteui-angular-combo.d.ts +13 -17
- package/types/igniteui-angular-core.d.ts +495 -200
- package/types/igniteui-angular-date-picker.d.ts +3 -3
- package/types/igniteui-angular-dialog.d.ts +4 -4
- package/types/igniteui-angular-directives.d.ts +59 -59
- package/types/igniteui-angular-drop-down.d.ts +16 -16
- package/types/igniteui-angular-expansion-panel.d.ts +6 -6
- package/types/igniteui-angular-grids-core.d.ts +782 -1044
- package/types/igniteui-angular-grids-grid.d.ts +267 -104
- package/types/igniteui-angular-grids-hierarchical-grid.d.ts +547 -68
- package/types/igniteui-angular-grids-lite.d.ts +7 -7
- package/types/igniteui-angular-grids-pivot-grid.d.ts +129 -94
- package/types/igniteui-angular-grids-tree-grid.d.ts +51 -5
- package/types/igniteui-angular-icon.d.ts +2 -2
- package/types/igniteui-angular-input-group.d.ts +19 -6
- package/types/igniteui-angular-list.d.ts +4 -4
- package/types/igniteui-angular-navigation-drawer.d.ts +3 -3
- package/types/igniteui-angular-progressbar.d.ts +0 -1
- package/types/igniteui-angular-query-builder.d.ts +9 -9
- package/types/igniteui-angular-radio.d.ts +1 -1
- package/types/igniteui-angular-select.d.ts +5 -5
- package/types/igniteui-angular-simple-combo.d.ts +2 -2
- package/types/igniteui-angular-slider.d.ts +4 -4
- package/types/igniteui-angular-splitter.d.ts +3 -3
- package/types/igniteui-angular-time-picker.d.ts +8 -8
- package/types/igniteui-angular-tree.d.ts +8 -8
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, TemplateRef, DoCheck, ElementRef, ChangeDetectorRef, QueryList, PipeTransform, OnDestroy, ViewContainerRef, InjectionToken, IterableDiffer, AfterViewInit, OnInit, AfterContentInit, IterableDiffers, EnvironmentInjector, Injector, NgZone, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as igniteui_angular_core from 'igniteui-angular/core';
|
|
4
|
-
import { IBaseEventArgs, GridTypeBase, GridColumnDataType, ColumnType, CancelableEventArgs, IFilteringExpressionsTree,
|
|
4
|
+
import { IBaseEventArgs, GridTypeBase, ISortingExpression, GridColumnDataType, ColumnType, CancelableEventArgs, IFilteringExpressionsTree, IGroupingExpression, IgxSummaryResult, IgxSummaryOperand, ISelectionNode, BaseFormatter, trackByIdentity, SortingDirection, IDataCloneStrategy, PlatformUtil, ISelectionKeyboardState, ISelectionPointerState, IColumnSelectionState, GridSelectionRange, IMultiRowLayoutNode, SelectionState, IFilteringExpression, FilteringLogic, IgxOverlayService, OverlaySettings, FilteringExpressionsTree, IFilteringOperation, IGroupByRecord, ITreeGridRecord, IGridMergeStrategy, IGridResourceStrings, ɵSize as _Size, IPathSegment, IGroupByExpandState, ColumnPinningPosition, TransactionService, Transaction, State, GridSummaryCalculationMode, IGridSortingStrategy, IGridGroupingStrategy, IFilteringStrategy, ISortingOptions, IgxOverlayOutletDirective, IgxFilteringOperand, ISortingStrategy, IColumnPipeArgs, IColumnEditorOptions, MRLColumnSizeInfo, MRLResizeColumnInfo, IQueryBuilderResourceStrings, FieldType, IgxFilterItem, IgxActionStripToken, IPagingState, IGroupingState, FilteringStrategy, PositionSettings, ConnectedPositioningStrategy, Point } from 'igniteui-angular/core';
|
|
5
5
|
import * as i1 from 'igniteui-angular/directives';
|
|
6
|
-
import { IBaseSearchInfo, IgxGridForOfDirective, IForOfState, IgxToggleDirective, IgxForOfDirective, IDragStartEventArgs, IgxButtonDirective, IgxDropDirective, IgxDragDirective, ToggleViewCancelableEventArgs, ToggleViewEventArgs, IgxTooltipDirective, IgxTextHighlightDirective } from 'igniteui-angular/directives';
|
|
6
|
+
import { IBaseSearchInfo, IgxGridForOfDirective, IForOfState, IgxToggleDirective, IgxForOfDirective, IDragStartEventArgs, IDragMoveEventArgs, IgxButtonDirective, IgxDropDirective, IgxDragCustomEventDetails, IgxDragDirective, ToggleViewCancelableEventArgs, ToggleViewEventArgs, IgxTooltipDirective, IgxTextHighlightDirective } from 'igniteui-angular/directives';
|
|
7
7
|
import { Subject, Observable, Subscription } from 'rxjs';
|
|
8
8
|
import * as _angular_forms from '@angular/forms';
|
|
9
9
|
import { FormGroup, ValidationErrors, FormControl, RequiredValidator, MinValidator, MaxValidator, EmailValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, Validator } from '@angular/forms';
|
|
10
10
|
import { IgxPaginatorComponent } from 'igniteui-angular/paginator';
|
|
11
|
+
import { IgxChipComponent, IChipsAreaReorderEventArgs, IgxChipsAreaComponent, IBaseChipEventArgs } from 'igniteui-angular/chips';
|
|
11
12
|
import { IgxCheckboxComponent, IChangeCheckboxEventArgs } from 'igniteui-angular/checkbox';
|
|
12
13
|
import * as igniteui_angular_grids_core from 'igniteui-angular/grids/core';
|
|
13
|
-
import { IgxChipsAreaComponent, IgxChipComponent, IBaseChipEventArgs, IChipsAreaReorderEventArgs } from 'igniteui-angular/chips';
|
|
14
14
|
import { IgxQueryBuilderComponent } from 'igniteui-angular/query-builder';
|
|
15
15
|
import { IgxDropDownComponent, ISelectionEventArgs } from 'igniteui-angular/drop-down';
|
|
16
16
|
import { IgxInputDirective } from 'igniteui-angular/input-group';
|
|
@@ -365,7 +365,7 @@ declare abstract class IgxBaseExporter {
|
|
|
365
365
|
* @memberof IgxBaseExporter
|
|
366
366
|
*/
|
|
367
367
|
columnExporting: EventEmitter<IColumnExportingEventArgs>;
|
|
368
|
-
protected _sort:
|
|
368
|
+
protected _sort: ISortingExpression | null;
|
|
369
369
|
protected pivotGridFilterFieldsCount: number;
|
|
370
370
|
protected _ownersMap: Map<any, IColumnList>;
|
|
371
371
|
private locale;
|
|
@@ -955,7 +955,7 @@ interface IgxAddRowParent {
|
|
|
955
955
|
declare class IgxCell {
|
|
956
956
|
id: any;
|
|
957
957
|
rowIndex: number;
|
|
958
|
-
column:
|
|
958
|
+
column: ColumnType;
|
|
959
959
|
value: any;
|
|
960
960
|
_editValue: any;
|
|
961
961
|
rowData: any;
|
|
@@ -963,7 +963,7 @@ declare class IgxCell {
|
|
|
963
963
|
primaryKey: any;
|
|
964
964
|
state: any;
|
|
965
965
|
pendingValue: any;
|
|
966
|
-
constructor(id: any, rowIndex: number, column:
|
|
966
|
+
constructor(id: any, rowIndex: number, column: ColumnType, value: any, _editValue: any, rowData: any, grid: GridType);
|
|
967
967
|
get editValue(): any;
|
|
968
968
|
set editValue(value: any);
|
|
969
969
|
castToNumber(value: any): any;
|
|
@@ -982,8 +982,8 @@ declare class IgxCellCrudState {
|
|
|
982
982
|
get cellInEditMode(): boolean;
|
|
983
983
|
beginCellEdit(event?: Event): void;
|
|
984
984
|
cellEdit(event?: Event): IGridEditEventArgs;
|
|
985
|
-
updateCell(exit: boolean, event?: Event): IGridEditEventArgs;
|
|
986
|
-
cellEditDone(event:
|
|
985
|
+
updateCell(exit: boolean, event?: Event): IGridEditEventArgs | IGridEditDoneEventArgs | undefined;
|
|
986
|
+
cellEditDone(event: Event | undefined, addRow: boolean): IGridEditDoneEventArgs;
|
|
987
987
|
/** Exit cell edit mode */
|
|
988
988
|
exitCellEdit(event?: Event): IGridEditDoneEventArgs;
|
|
989
989
|
/** Clears cell editing state */
|
|
@@ -996,13 +996,13 @@ declare class IgxRowCrudState extends IgxCellCrudState {
|
|
|
996
996
|
private _rowEditingBlocked;
|
|
997
997
|
private _rowEditingStarted;
|
|
998
998
|
get primaryKey(): any;
|
|
999
|
-
get rowInEditMode(): RowType;
|
|
999
|
+
get rowInEditMode(): RowType | undefined;
|
|
1000
1000
|
get rowEditing(): boolean;
|
|
1001
1001
|
get nonEditable(): boolean;
|
|
1002
1002
|
get rowEditingBlocked(): boolean;
|
|
1003
1003
|
set rowEditingBlocked(val: boolean);
|
|
1004
1004
|
/** Enters row edit mode */
|
|
1005
|
-
beginRowEdit(event?: Event):
|
|
1005
|
+
beginRowEdit(event?: Event): true | undefined;
|
|
1006
1006
|
rowEdit(event: Event): IGridEditEventArgs;
|
|
1007
1007
|
updateRow(commit: boolean, event?: Event): IGridEditEventArgs;
|
|
1008
1008
|
/**
|
|
@@ -1017,7 +1017,7 @@ declare class IgxRowCrudState extends IgxCellCrudState {
|
|
|
1017
1017
|
/** Clears cell and row editing state and closes row editing template if it is open */
|
|
1018
1018
|
endEditMode(): void;
|
|
1019
1019
|
updateRowEditData(row: IgxEditRow, value?: any): void;
|
|
1020
|
-
protected getParentRowId():
|
|
1020
|
+
protected getParentRowId(): null;
|
|
1021
1021
|
}
|
|
1022
1022
|
declare class IgxRowAddCrudState extends IgxRowCrudState {
|
|
1023
1023
|
addRowParent: IgxAddRowParent;
|
|
@@ -1046,7 +1046,7 @@ declare class IgxRowAddCrudState extends IgxRowCrudState {
|
|
|
1046
1046
|
protected getParentRowId(): any;
|
|
1047
1047
|
}
|
|
1048
1048
|
declare class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
1049
|
-
enterEditMode(cell: any, event?:
|
|
1049
|
+
enterEditMode(cell: any, event?: FocusEvent | MouseEvent | KeyboardEvent): true | undefined;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Enters add row mode by creating temporary dummy so the user can fill in new row cells.
|
|
1052
1052
|
*
|
|
@@ -1055,7 +1055,7 @@ declare class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
|
1055
1055
|
* @param asChild Specifies if the new row should be added as a child to a tree row.
|
|
1056
1056
|
* @param event Base event that triggered the add row mode.
|
|
1057
1057
|
*/
|
|
1058
|
-
enterAddRowMode(parentRow: RowType, asChild?: boolean, event?:
|
|
1058
|
+
enterAddRowMode(parentRow: RowType | null, asChild?: boolean, event?: MouseEvent | KeyboardEvent): void;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Finishes the row transactions on the current row and returns whether the grid editing was canceled.
|
|
1061
1061
|
*
|
|
@@ -1067,105 +1067,11 @@ declare class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
|
1067
1067
|
* ```
|
|
1068
1068
|
* @param commit
|
|
1069
1069
|
*/
|
|
1070
|
-
endEdit(commit?: boolean, event?:
|
|
1070
|
+
endEdit(commit?: boolean, event?: FocusEvent | MouseEvent | KeyboardEvent): boolean;
|
|
1071
1071
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridCRUDService, never>;
|
|
1072
1072
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridCRUDService>;
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
/**
|
|
1076
|
-
* Represents a range selection between certain rows and columns of the grid.
|
|
1077
|
-
* Range selection can be made either through drag selection or through keyboard selection.
|
|
1078
|
-
*/
|
|
1079
|
-
interface GridSelectionRange {
|
|
1080
|
-
/** The index of the starting row of the selection range. */
|
|
1081
|
-
rowStart: number;
|
|
1082
|
-
/** The index of the ending row of the selection range. */
|
|
1083
|
-
rowEnd: number;
|
|
1084
|
-
/**
|
|
1085
|
-
* The identifier or index of the starting column of the selection range.
|
|
1086
|
-
* It can be either a string representing the column's field name or a numeric index.
|
|
1087
|
-
*/
|
|
1088
|
-
columnStart: string | number;
|
|
1089
|
-
/**
|
|
1090
|
-
* The identifier or index of the ending column of the selection range.
|
|
1091
|
-
* It can be either a string representing the column's field name or a numeric index.
|
|
1092
|
-
*/
|
|
1093
|
-
columnEnd: string | number;
|
|
1094
|
-
}
|
|
1095
|
-
/**
|
|
1096
|
-
* Represents a single selected cell or node in a grid.
|
|
1097
|
-
*/
|
|
1098
|
-
interface ISelectionNode {
|
|
1099
|
-
/**
|
|
1100
|
-
* The index of the selected row.
|
|
1101
|
-
*/
|
|
1102
|
-
row: number;
|
|
1103
|
-
/**
|
|
1104
|
-
* The index of the selected column.
|
|
1105
|
-
*/
|
|
1106
|
-
column: number;
|
|
1107
|
-
/**
|
|
1108
|
-
* (Optional)
|
|
1109
|
-
* Additional layout information for multi-row selection nodes.
|
|
1110
|
-
*/
|
|
1111
|
-
layout?: IMultiRowLayoutNode;
|
|
1112
|
-
/**
|
|
1113
|
-
* (Optional)
|
|
1114
|
-
* Indicates if the selected node is a summary row.
|
|
1115
|
-
* This property is true if the selected row is a summary row; otherwise, it is false.
|
|
1116
|
-
*/
|
|
1117
|
-
isSummaryRow?: boolean;
|
|
1118
|
-
}
|
|
1119
|
-
interface IMultiRowLayoutNode {
|
|
1120
|
-
rowStart: number;
|
|
1121
|
-
colStart: number;
|
|
1122
|
-
rowEnd: number;
|
|
1123
|
-
colEnd: number;
|
|
1124
|
-
columnVisibleIndex: number;
|
|
1125
|
-
}
|
|
1126
|
-
/**
|
|
1127
|
-
* Represents the state of the keyboard when selecting.
|
|
1128
|
-
*/
|
|
1129
|
-
interface ISelectionKeyboardState {
|
|
1130
|
-
/** The selected node in the grid, if any. Can be null if no node is selected. */
|
|
1131
|
-
node: null | ISelectionNode;
|
|
1132
|
-
/** Indicates whether the Shift key is currently pressed during the selection. */
|
|
1133
|
-
shift: boolean;
|
|
1134
|
-
/** The range of the selected cells in the grid. Can be null when resetting the selection. */
|
|
1135
|
-
range: GridSelectionRange;
|
|
1136
|
-
/** Indicates whether the selection is currently active (being performed). `False` when resetting the selection. */
|
|
1137
|
-
active: boolean;
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* Represents the state of the grid selection using pointer interactions (mouse).
|
|
1141
|
-
* Extends ISelectionKeyboardState to include pointer-specific properties.
|
|
1142
|
-
*/
|
|
1143
|
-
interface ISelectionPointerState extends ISelectionKeyboardState {
|
|
1144
|
-
/** Indicates whether the Ctrl key is currently pressed during the selection. */
|
|
1145
|
-
ctrl: boolean;
|
|
1146
|
-
/** Indicates whether the primary pointer button is pressed during the selection (clicked). */
|
|
1147
|
-
primaryButton: boolean;
|
|
1148
|
-
}
|
|
1149
|
-
/**
|
|
1150
|
-
* Represents the state of the columns in the grid.
|
|
1151
|
-
*/
|
|
1152
|
-
interface IColumnSelectionState {
|
|
1153
|
-
/** Represents the field name of the selected column, if any. Can be null if no column is selected. */
|
|
1154
|
-
field: null | string;
|
|
1155
|
-
/** An array of strings representing the ranges of selected columns in the grid. */
|
|
1156
|
-
range: string[];
|
|
1157
|
-
}
|
|
1158
|
-
/**
|
|
1159
|
-
* Represents the overall state of grid selection, combining both keyboard and pointer interaction states.
|
|
1160
|
-
* It can be either an ISelectionKeyboardState or an ISelectionPointerState.
|
|
1161
|
-
*/
|
|
1162
|
-
type SelectionState = ISelectionKeyboardState | ISelectionPointerState;
|
|
1163
|
-
/**
|
|
1164
|
-
* Injection token for accessing the grid transaction object.
|
|
1165
|
-
* This allows injecting the grid transaction object into components or services.
|
|
1166
|
-
*/
|
|
1167
|
-
declare const IgxGridTransaction: InjectionToken<TransactionService<Transaction, State>>;
|
|
1168
|
-
|
|
1169
1075
|
/**
|
|
1170
1076
|
* This enumeration is used to configure whether the drop position is set before or after
|
|
1171
1077
|
* the target.
|
|
@@ -1186,94 +1092,100 @@ declare class IgxColumnMovingService {
|
|
|
1186
1092
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxColumnMovingService>;
|
|
1187
1093
|
}
|
|
1188
1094
|
|
|
1189
|
-
declare class
|
|
1095
|
+
declare class IgxSummaryCellComponent {
|
|
1096
|
+
private element;
|
|
1097
|
+
summaryResults: IgxSummaryResult[];
|
|
1098
|
+
column: ColumnType;
|
|
1099
|
+
firstCellIndentation: number;
|
|
1100
|
+
hasSummary: boolean;
|
|
1101
|
+
summaryFormatter: (summaryResult: IgxSummaryResult, summaryOperand: IgxSummaryOperand) => any;
|
|
1102
|
+
summaryTemplate: TemplateRef<any>;
|
|
1103
|
+
locale: any;
|
|
1104
|
+
gridResourceStrings: any;
|
|
1105
|
+
/** @hidden */
|
|
1106
|
+
active: boolean;
|
|
1107
|
+
rowIndex: number;
|
|
1108
|
+
get visibleColumnIndex(): number;
|
|
1109
|
+
get attrCellID(): string;
|
|
1110
|
+
activate(): void;
|
|
1111
|
+
protected get selectionNode(): ISelectionNode;
|
|
1112
|
+
get width(): string;
|
|
1113
|
+
get nativeElement(): any;
|
|
1114
|
+
get columnDatatype(): GridColumnDataType;
|
|
1115
|
+
get itemHeight(): any;
|
|
1190
1116
|
/**
|
|
1191
1117
|
* @hidden
|
|
1192
|
-
* @internal
|
|
1193
1118
|
*/
|
|
1194
|
-
grid:
|
|
1195
|
-
private _validityStates;
|
|
1196
|
-
private _valid;
|
|
1197
|
-
/** Gets whether state is valid.
|
|
1198
|
-
*/
|
|
1199
|
-
get valid(): boolean;
|
|
1119
|
+
get grid(): GridTypeBase;
|
|
1200
1120
|
/**
|
|
1201
1121
|
* @hidden
|
|
1202
|
-
* @internal
|
|
1203
1122
|
*/
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* @hidden
|
|
1207
|
-
* @internal
|
|
1208
|
-
*/
|
|
1209
|
-
private addFormControl;
|
|
1123
|
+
get i18nFormatter(): BaseFormatter;
|
|
1210
1124
|
/**
|
|
1211
|
-
* @hidden
|
|
1212
|
-
* @internal
|
|
1213
|
-
Wraps the provided path into an array. This way FormGroup.get will return proper result.
|
|
1214
|
-
Otherwise, if the path is a string (e.g. 'address.street'), FormGroup.get will treat it as there is a nested structure
|
|
1215
|
-
and will look for control with a name of 'address' which returns undefined.
|
|
1125
|
+
* @hidden @internal
|
|
1216
1126
|
*/
|
|
1217
|
-
|
|
1127
|
+
get currencyCode(): string;
|
|
1128
|
+
/** cached single summary res after filter resets collection */
|
|
1129
|
+
protected trackSummaryResult: typeof trackByIdentity;
|
|
1130
|
+
translateSummary(summary: IgxSummaryResult): string;
|
|
1218
1131
|
/**
|
|
1219
|
-
* @hidden
|
|
1220
|
-
* @internal
|
|
1132
|
+
* @hidden @internal
|
|
1221
1133
|
*/
|
|
1222
|
-
|
|
1134
|
+
formatSummaryResult(summary: IgxSummaryResult): string;
|
|
1135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSummaryCellComponent, never>;
|
|
1136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSummaryCellComponent, "igx-grid-summary-cell", never, { "summaryResults": { "alias": "summaryResults"; "required": false; }; "column": { "alias": "column"; "required": false; }; "firstCellIndentation": { "alias": "firstCellIndentation"; "required": false; }; "hasSummary": { "alias": "hasSummary"; "required": false; }; "summaryFormatter": { "alias": "summaryFormatter"; "required": false; }; "summaryTemplate": { "alias": "summaryTemplate"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "gridResourceStrings": { "alias": "gridResourceStrings"; "required": false; }; "active": { "alias": "active"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
1137
|
+
static ngAcceptInputType_hasSummary: unknown;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
declare class IgxSummaryRowComponent implements DoCheck {
|
|
1141
|
+
grid: GridType;
|
|
1142
|
+
element: ElementRef<HTMLElement>;
|
|
1143
|
+
cdr: ChangeDetectorRef;
|
|
1144
|
+
summaries: Map<string, IgxSummaryResult[]>;
|
|
1145
|
+
gridID: any;
|
|
1146
|
+
index: number;
|
|
1147
|
+
firstCellIndentation: number;
|
|
1148
|
+
get dataRowIndex(): number;
|
|
1149
|
+
get minHeight(): number;
|
|
1150
|
+
_summaryCells: QueryList<IgxSummaryCellComponent>;
|
|
1151
|
+
get summaryCells(): QueryList<IgxSummaryCellComponent>;
|
|
1152
|
+
set summaryCells(cells: QueryList<IgxSummaryCellComponent>);
|
|
1223
1153
|
/**
|
|
1224
1154
|
* @hidden
|
|
1225
|
-
* @internal
|
|
1226
1155
|
*/
|
|
1227
|
-
|
|
1156
|
+
virtDirRow: IgxGridForOfDirective<ColumnType, ColumnType[]>;
|
|
1157
|
+
ngDoCheck(): void;
|
|
1158
|
+
get nativeElement(): HTMLElement;
|
|
1159
|
+
getColumnSummaries(columnName: string): IgxSummaryResult[] | undefined;
|
|
1228
1160
|
/**
|
|
1229
1161
|
* @hidden
|
|
1230
1162
|
* @internal
|
|
1231
1163
|
*/
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* Checks the validity of the native ngControl
|
|
1235
|
-
*/
|
|
1236
|
-
isFieldInvalid(formGroup: FormGroup, fieldName: string): boolean;
|
|
1237
|
-
/**
|
|
1238
|
-
* Checks the validity of the native ngControl after edit
|
|
1239
|
-
*/
|
|
1240
|
-
isFieldValidAfterEdit(formGroup: FormGroup, fieldName: string): boolean;
|
|
1164
|
+
isCellActive(visibleColumnIndex: any): boolean;
|
|
1241
1165
|
/**
|
|
1242
1166
|
* @hidden
|
|
1243
|
-
* @internal
|
|
1244
|
-
*/
|
|
1245
|
-
private getValidity;
|
|
1246
|
-
/**
|
|
1247
|
-
* Returns all invalid record states.
|
|
1248
1167
|
*/
|
|
1249
|
-
|
|
1168
|
+
get pinnedColumns(): ColumnType[];
|
|
1250
1169
|
/**
|
|
1251
1170
|
* @hidden
|
|
1252
|
-
* @internal
|
|
1253
1171
|
*/
|
|
1254
|
-
|
|
1172
|
+
get pinnedStartColumns(): ColumnType[];
|
|
1255
1173
|
/**
|
|
1256
1174
|
* @hidden
|
|
1257
|
-
* @internal
|
|
1258
|
-
* Update validity based on new data.
|
|
1259
1175
|
*/
|
|
1260
|
-
|
|
1261
|
-
/** Marks the associated record or field as touched.
|
|
1262
|
-
* @param key The id of the record that will be marked as touched.
|
|
1263
|
-
* @param field Optional. The field from the record that will be marked as touched. If not provided all fields will be touched.
|
|
1264
|
-
*/
|
|
1265
|
-
markAsTouched(key: any, field?: string): void;
|
|
1176
|
+
get pinnedEndColumns(): ColumnType[];
|
|
1266
1177
|
/**
|
|
1267
1178
|
* @hidden
|
|
1268
|
-
* @internal
|
|
1269
1179
|
*/
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1180
|
+
get unpinnedColumns(): ColumnType[];
|
|
1181
|
+
getContext(row: any, cols: any): {
|
|
1182
|
+
$implicit: any;
|
|
1183
|
+
columns: any;
|
|
1184
|
+
};
|
|
1185
|
+
/** state persistence switching all pinned columns resets collection */
|
|
1186
|
+
protected trackPinnedColumn: typeof trackByIdentity;
|
|
1187
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSummaryRowComponent, never>;
|
|
1188
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSummaryRowComponent, "igx-grid-summary-row", never, { "summaries": { "alias": "summaries"; "required": false; }; "gridID": { "alias": "gridID"; "required": false; }; "index": { "alias": "index"; "required": false; }; "firstCellIndentation": { "alias": "firstCellIndentation"; "required": false; }; }, {}, never, never, true, never>;
|
|
1277
1189
|
}
|
|
1278
1190
|
|
|
1279
1191
|
/**
|
|
@@ -1292,7 +1204,7 @@ declare const DEFAULT_PIVOT_KEYS: {
|
|
|
1292
1204
|
*/
|
|
1293
1205
|
interface IDimensionsChange {
|
|
1294
1206
|
/** The new list of dimensions. */
|
|
1295
|
-
dimensions: IPivotDimension[];
|
|
1207
|
+
dimensions: IPivotDimension[] | null;
|
|
1296
1208
|
/** The dimension list type - Row, Column or Filter. */
|
|
1297
1209
|
dimensionCollectionType: PivotDimensionType;
|
|
1298
1210
|
}
|
|
@@ -1398,6 +1310,9 @@ interface IPivotDimension {
|
|
|
1398
1310
|
autoWidth?: number;
|
|
1399
1311
|
horizontalSummary?: boolean;
|
|
1400
1312
|
}
|
|
1313
|
+
interface IPivotExpandableDimension extends IPivotDimension {
|
|
1314
|
+
expandable: boolean;
|
|
1315
|
+
}
|
|
1401
1316
|
/**
|
|
1402
1317
|
* Configuration of a pivot value aggregation.
|
|
1403
1318
|
*/
|
|
@@ -1494,7 +1409,9 @@ interface PivotRowHeaderGroupType {
|
|
|
1494
1409
|
}
|
|
1495
1410
|
interface DimensionValueType {
|
|
1496
1411
|
value: string;
|
|
1497
|
-
|
|
1412
|
+
expandable: boolean;
|
|
1413
|
+
dimension: IPivotDimension;
|
|
1414
|
+
children: Map<string, DimensionValueType> | null;
|
|
1498
1415
|
}
|
|
1499
1416
|
interface IPivotGridRecord {
|
|
1500
1417
|
/** Gets/Sets the group value associated with the related row dimension by its memberName. **/
|
|
@@ -1528,8 +1445,464 @@ interface IPivotGridHorizontalGroup {
|
|
|
1528
1445
|
colStart?: number;
|
|
1529
1446
|
colSpan?: number;
|
|
1530
1447
|
}
|
|
1531
|
-
interface IgxPivotGridValueTemplateContext {
|
|
1532
|
-
$implicit: IPivotValue;
|
|
1448
|
+
interface IgxPivotGridValueTemplateContext {
|
|
1449
|
+
$implicit: IPivotValue;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* An internal component representing a base group-by drop area.
|
|
1454
|
+
*
|
|
1455
|
+
* @hidden @internal
|
|
1456
|
+
*/
|
|
1457
|
+
declare abstract class IgxGroupByAreaDirective {
|
|
1458
|
+
private ref;
|
|
1459
|
+
protected platform: PlatformUtil;
|
|
1460
|
+
/**
|
|
1461
|
+
* The drop area template if provided by the parent grid.
|
|
1462
|
+
* Otherwise, uses the default internal one.
|
|
1463
|
+
*/
|
|
1464
|
+
dropAreaTemplate: TemplateRef<void>;
|
|
1465
|
+
defaultClass: boolean;
|
|
1466
|
+
/**
|
|
1467
|
+
* @hidden @internal
|
|
1468
|
+
*/
|
|
1469
|
+
role: string;
|
|
1470
|
+
/** The parent grid containing the component. */
|
|
1471
|
+
grid: FlatGridType | GridType;
|
|
1472
|
+
/**
|
|
1473
|
+
* The group-by expressions provided by the parent grid.
|
|
1474
|
+
*/
|
|
1475
|
+
get expressions(): IGroupingExpression[];
|
|
1476
|
+
set expressions(value: IGroupingExpression[]);
|
|
1477
|
+
/**
|
|
1478
|
+
* The default message for the default drop area template.
|
|
1479
|
+
* Obviously, if another template is provided, this is ignored.
|
|
1480
|
+
*/
|
|
1481
|
+
get dropAreaMessage(): string;
|
|
1482
|
+
set dropAreaMessage(value: string);
|
|
1483
|
+
expressionsChange: EventEmitter<IGroupingExpression[]>;
|
|
1484
|
+
chips: QueryList<IgxChipComponent>;
|
|
1485
|
+
chipExpressions: IGroupingExpression[];
|
|
1486
|
+
/** The native DOM element. Used in sizing calculations. */
|
|
1487
|
+
get nativeElement(): any;
|
|
1488
|
+
private _expressions;
|
|
1489
|
+
private _dropAreaMessage;
|
|
1490
|
+
get dropAreaVisible(): boolean;
|
|
1491
|
+
handleKeyDown(id: string, event: KeyboardEvent): void;
|
|
1492
|
+
handleClick(id: string): void;
|
|
1493
|
+
onDragDrop(event: Event): void;
|
|
1494
|
+
protected getReorderedExpressions(chipsArray: IgxChipComponent[]): IGroupingExpression[];
|
|
1495
|
+
protected updateGroupSorting(id: string): void;
|
|
1496
|
+
protected expressionsChanged(): void;
|
|
1497
|
+
abstract handleReorder(event: IChipsAreaReorderEventArgs): void;
|
|
1498
|
+
abstract handleMoveEnd(): void;
|
|
1499
|
+
abstract groupBy(expression: IGroupingExpression): void;
|
|
1500
|
+
abstract clearGrouping(name: string): void;
|
|
1501
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupByAreaDirective, never>;
|
|
1502
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGroupByAreaDirective, never, never, { "dropAreaTemplate": { "alias": "dropAreaTemplate"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "expressions": { "alias": "expressions"; "required": false; }; "dropAreaMessage": { "alias": "dropAreaMessage"; "required": false; }; }, { "expressionsChange": "expressionsChange"; }, never, never, true, never>;
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* A pipe to circumvent the use of getters/methods just to get some additional
|
|
1506
|
+
* information from the grouping expression and pass it to the chip representing
|
|
1507
|
+
* that expression.
|
|
1508
|
+
*
|
|
1509
|
+
* @hidden @internal
|
|
1510
|
+
*/
|
|
1511
|
+
declare class IgxGroupByMetaPipe implements PipeTransform {
|
|
1512
|
+
transform(key: string, grid: GridType, _pipeTrigger?: number): {
|
|
1513
|
+
groupable: boolean;
|
|
1514
|
+
title: string;
|
|
1515
|
+
};
|
|
1516
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupByMetaPipe, never>;
|
|
1517
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGroupByMetaPipe, "igxGroupByMeta", true>;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
declare class IgxGridSelectionService {
|
|
1521
|
+
private zone;
|
|
1522
|
+
protected platform: PlatformUtil;
|
|
1523
|
+
grid: GridType;
|
|
1524
|
+
dragMode: boolean;
|
|
1525
|
+
activeElement: ISelectionNode | null;
|
|
1526
|
+
keyboardState: ISelectionKeyboardState;
|
|
1527
|
+
pointerState: ISelectionPointerState;
|
|
1528
|
+
columnsState: IColumnSelectionState;
|
|
1529
|
+
selection: Map<number, Set<number>>;
|
|
1530
|
+
temp: Map<number, Set<number>>;
|
|
1531
|
+
rowSelection: Set<any>;
|
|
1532
|
+
indeterminateRows: Set<any>;
|
|
1533
|
+
columnSelection: Set<string>;
|
|
1534
|
+
/**
|
|
1535
|
+
* @hidden @internal
|
|
1536
|
+
*/
|
|
1537
|
+
selectedRowsChange: Subject<any[]>;
|
|
1538
|
+
/**
|
|
1539
|
+
* @hidden @internal
|
|
1540
|
+
*/
|
|
1541
|
+
selectedRangeChange: Subject<Map<number, Set<number>>>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Toggled when a pointerdown event is triggered inside the grid body (cells).
|
|
1544
|
+
* When `false` the drag select behavior is disabled.
|
|
1545
|
+
*/
|
|
1546
|
+
private pointerEventInGridBody;
|
|
1547
|
+
private allRowsSelected;
|
|
1548
|
+
private _lastSelectedNode;
|
|
1549
|
+
private _ranges;
|
|
1550
|
+
private _selectionRange;
|
|
1551
|
+
/**
|
|
1552
|
+
* Returns the current selected ranges in the grid from both
|
|
1553
|
+
* keyboard and pointer interactions
|
|
1554
|
+
*/
|
|
1555
|
+
get ranges(): GridSelectionRange[];
|
|
1556
|
+
get primaryButton(): boolean;
|
|
1557
|
+
set primaryButton(value: boolean);
|
|
1558
|
+
constructor();
|
|
1559
|
+
/**
|
|
1560
|
+
* Resets the keyboard state
|
|
1561
|
+
*/
|
|
1562
|
+
initKeyboardState(): void;
|
|
1563
|
+
/**
|
|
1564
|
+
* Resets the pointer state
|
|
1565
|
+
*/
|
|
1566
|
+
initPointerState(): void;
|
|
1567
|
+
/**
|
|
1568
|
+
* Resets the columns state
|
|
1569
|
+
*/
|
|
1570
|
+
initColumnsState(): void;
|
|
1571
|
+
/**
|
|
1572
|
+
* Adds a single node.
|
|
1573
|
+
* Single clicks | Ctrl + single clicks on cells is the usual case.
|
|
1574
|
+
*/
|
|
1575
|
+
add(node: ISelectionNode, addToRange?: boolean): void;
|
|
1576
|
+
/**
|
|
1577
|
+
* Adds the active keyboard range selection (if any) to the `ranges` meta.
|
|
1578
|
+
*/
|
|
1579
|
+
addKeyboardRange(): void;
|
|
1580
|
+
remove(node: ISelectionNode): void;
|
|
1581
|
+
isInMap(node: ISelectionNode): boolean;
|
|
1582
|
+
selected(node: ISelectionNode): boolean;
|
|
1583
|
+
isActiveNode(node: ISelectionNode): boolean;
|
|
1584
|
+
isActiveLayout(current: IMultiRowLayoutNode, target: IMultiRowLayoutNode): boolean;
|
|
1585
|
+
addRangeMeta(node: ISelectionNode, state?: SelectionState): void;
|
|
1586
|
+
removeRangeMeta(node: ISelectionNode, state?: SelectionState): void;
|
|
1587
|
+
/**
|
|
1588
|
+
* Generates a new selection range from the given `node`.
|
|
1589
|
+
* If `state` is passed instead it will generate the range based on the passed `node`
|
|
1590
|
+
* and the start node of the `state`.
|
|
1591
|
+
*/
|
|
1592
|
+
generateRange(node: ISelectionNode, state?: SelectionState): GridSelectionRange;
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
*/
|
|
1596
|
+
keyboardStateOnKeydown(node: ISelectionNode, shift: boolean, shiftTab: boolean): void;
|
|
1597
|
+
keyboardStateOnFocus(node: ISelectionNode, emitter: EventEmitter<GridSelectionRange>, dom: HTMLElement): void;
|
|
1598
|
+
pointerDown(node: ISelectionNode, shift: boolean, ctrl: boolean): void;
|
|
1599
|
+
pointerDownShiftKey(node: ISelectionNode): void;
|
|
1600
|
+
mergeMap(target: Map<number, Set<number>>, source: Map<number, Set<number>>): void;
|
|
1601
|
+
pointerEnter(node: ISelectionNode, event: PointerEvent): boolean;
|
|
1602
|
+
pointerUp(node: ISelectionNode, emitter: EventEmitter<GridSelectionRange>, firedOutsideGrid?: boolean): boolean;
|
|
1603
|
+
selectRange(node: ISelectionNode, state: SelectionState, collection?: Map<number, Set<number>>): void;
|
|
1604
|
+
dragSelect(node: ISelectionNode, state: SelectionState): void;
|
|
1605
|
+
clear(clearAcriveEl?: boolean): void;
|
|
1606
|
+
clearTextSelection(): void;
|
|
1607
|
+
restoreTextSelection(): void;
|
|
1608
|
+
getSelectedRowsData(): any[];
|
|
1609
|
+
/** Returns array of the selected row id's. */
|
|
1610
|
+
getSelectedRows(): Array<any>;
|
|
1611
|
+
/** Returns array of the rows in indeterminate state. */
|
|
1612
|
+
getIndeterminateRows(): Array<any>;
|
|
1613
|
+
/** Clears row selection, if filtering is applied clears only selected rows from filtered data. */
|
|
1614
|
+
clearRowSelection(event?: MouseEvent): void;
|
|
1615
|
+
/** Select all rows, if filtering is applied select only from filtered data. */
|
|
1616
|
+
selectAllRows(event?: MouseEvent): void;
|
|
1617
|
+
/** Select the specified row and emit event. */
|
|
1618
|
+
selectRowById(rowID: any, clearPrevSelection?: boolean, event?: MouseEvent | KeyboardEvent): void;
|
|
1619
|
+
selectPivotRowById(rowID: any, clearPrevSelection: boolean, event?: MouseEvent | KeyboardEvent): void;
|
|
1620
|
+
/** Deselect the specified row and emit event. */
|
|
1621
|
+
deselectRow(rowID: any, event?: MouseEvent | KeyboardEvent): void;
|
|
1622
|
+
deselectPivotRowByID(rowID: any, event?: MouseEvent | KeyboardEvent): void;
|
|
1623
|
+
private emitRowSelectionEventPivotGrid;
|
|
1624
|
+
/** Select the specified rows and emit event. */
|
|
1625
|
+
selectRows(keys: any[], clearPrevSelection?: boolean, event?: MouseEvent): void;
|
|
1626
|
+
deselectRows(keys: any[], event?: MouseEvent): void;
|
|
1627
|
+
/** Select specified rows. No event is emitted. */
|
|
1628
|
+
selectRowsWithNoEvent(rowIDs: any[], clearPrevSelection?: boolean): void;
|
|
1629
|
+
/** Deselect specified rows. No event is emitted. */
|
|
1630
|
+
deselectRowsWithNoEvent(rowIDs: any[]): void;
|
|
1631
|
+
isRowSelected(rowID: any): boolean;
|
|
1632
|
+
isPivotRowSelected(rowID: any): boolean;
|
|
1633
|
+
isRowInIndeterminateState(rowID: any): boolean;
|
|
1634
|
+
/** Select range from last selected row to the current specified row. */
|
|
1635
|
+
selectMultipleRows(rowID: any, rowData: any, event?: MouseEvent): void;
|
|
1636
|
+
areAllRowSelected(newSelection?: any): boolean;
|
|
1637
|
+
hasSomeRowSelected(): boolean;
|
|
1638
|
+
get filteredSelectedRowIds(): any[];
|
|
1639
|
+
emitRowSelectionEvent(newSelection: any, added: any, removed: any, event?: MouseEvent | KeyboardEvent, currSelection?: any): boolean;
|
|
1640
|
+
getPivotRowsByIds(ids: any[]): any[];
|
|
1641
|
+
getRowDataById(rowID: any): any;
|
|
1642
|
+
clearHeaderCBState(): void;
|
|
1643
|
+
getRowIDs(data: any): Array<any>;
|
|
1644
|
+
getRecordKey(record: any): any;
|
|
1645
|
+
/** Clear rowSelection and update checkbox state */
|
|
1646
|
+
clearAllSelectedRows(): void;
|
|
1647
|
+
/** Returns all data in the grid, with applied filtering and sorting and without deleted rows. */
|
|
1648
|
+
get allData(): Array<any>;
|
|
1649
|
+
/** Returns array of the selected columns fields. */
|
|
1650
|
+
getSelectedColumns(): Array<any>;
|
|
1651
|
+
isColumnSelected(field: string): boolean;
|
|
1652
|
+
/** Select the specified column and emit event. */
|
|
1653
|
+
selectColumn(field: string, clearPrevSelection?: boolean, selectColumnsRange?: boolean, event?: MouseEvent): void;
|
|
1654
|
+
/** Select specified columns. And emit event. */
|
|
1655
|
+
selectColumns(fields: string[], clearPrevSelection?: boolean, selectColumnsRange?: boolean, event?: MouseEvent | KeyboardEvent): void;
|
|
1656
|
+
/** Select range from last clicked column to the current specified column. */
|
|
1657
|
+
selectColumnsRange(field: string, event?: MouseEvent | KeyboardEvent): void;
|
|
1658
|
+
/** Select specified columns. No event is emitted. */
|
|
1659
|
+
selectColumnsWithNoEvent(fields: string[], clearPrevSelection?: boolean): void;
|
|
1660
|
+
/** Deselect the specified column and emit event. */
|
|
1661
|
+
deselectColumn(field: string, event?: MouseEvent): void;
|
|
1662
|
+
/** Deselect specified columns. No event is emitted. */
|
|
1663
|
+
deselectColumnsWithNoEvent(fields: string[]): void;
|
|
1664
|
+
/** Deselect specified columns. And emit event. */
|
|
1665
|
+
deselectColumns(fields: string[], event?: MouseEvent | KeyboardEvent): void;
|
|
1666
|
+
emitColumnSelectionEvent(newSelection: any, added: any, removed: any, event?: MouseEvent | KeyboardEvent): boolean;
|
|
1667
|
+
/** Clear columnSelection */
|
|
1668
|
+
clearAllSelectedColumns(): void;
|
|
1669
|
+
protected areEqualCollections(first: any, second: any): boolean;
|
|
1670
|
+
/**
|
|
1671
|
+
* (╯°□°)╯︵ ┻━┻
|
|
1672
|
+
* Chrome and Chromium don't care about the active
|
|
1673
|
+
* range after keyboard navigation, thus this.
|
|
1674
|
+
*/
|
|
1675
|
+
private _moveSelectionChrome;
|
|
1676
|
+
private isFilteringApplied;
|
|
1677
|
+
private isRowDeleted;
|
|
1678
|
+
private pointerOriginHandler;
|
|
1679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridSelectionService, never>;
|
|
1680
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridSelectionService>;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
declare class IgxGridValidationService {
|
|
1684
|
+
/**
|
|
1685
|
+
* @hidden
|
|
1686
|
+
* @internal
|
|
1687
|
+
*/
|
|
1688
|
+
grid: GridType;
|
|
1689
|
+
private _validityStates;
|
|
1690
|
+
private _valid;
|
|
1691
|
+
/** Gets whether state is valid.
|
|
1692
|
+
*/
|
|
1693
|
+
get valid(): boolean;
|
|
1694
|
+
/**
|
|
1695
|
+
* @hidden
|
|
1696
|
+
* @internal
|
|
1697
|
+
*/
|
|
1698
|
+
create(rowId: any, data: any): FormGroup<any>;
|
|
1699
|
+
/**
|
|
1700
|
+
* @hidden
|
|
1701
|
+
* @internal
|
|
1702
|
+
*/
|
|
1703
|
+
private addFormControl;
|
|
1704
|
+
/**
|
|
1705
|
+
* @hidden
|
|
1706
|
+
* @internal
|
|
1707
|
+
Wraps the provided path into an array. This way FormGroup.get will return proper result.
|
|
1708
|
+
Otherwise, if the path is a string (e.g. 'address.street'), FormGroup.get will treat it as there is a nested structure
|
|
1709
|
+
and will look for control with a name of 'address' which returns undefined.
|
|
1710
|
+
*/
|
|
1711
|
+
private getFormControlPath;
|
|
1712
|
+
/**
|
|
1713
|
+
* @hidden
|
|
1714
|
+
* @internal
|
|
1715
|
+
*/
|
|
1716
|
+
getFormGroup(id: any): FormGroup<any> | undefined;
|
|
1717
|
+
/**
|
|
1718
|
+
* @hidden
|
|
1719
|
+
* @internal
|
|
1720
|
+
*/
|
|
1721
|
+
getFormControl(rowId: any, columnKey: string): _angular_forms.AbstractControl<any, any, any> | null | undefined;
|
|
1722
|
+
/**
|
|
1723
|
+
* @hidden
|
|
1724
|
+
* @internal
|
|
1725
|
+
*/
|
|
1726
|
+
add(rowId: any, form: FormGroup): void;
|
|
1727
|
+
/**
|
|
1728
|
+
* Checks the validity of the native ngControl
|
|
1729
|
+
*/
|
|
1730
|
+
isFieldInvalid(formGroup: FormGroup, fieldName: string): boolean;
|
|
1731
|
+
/**
|
|
1732
|
+
* Checks the validity of the native ngControl after edit
|
|
1733
|
+
*/
|
|
1734
|
+
isFieldValidAfterEdit(formGroup: FormGroup, fieldName: string): boolean;
|
|
1735
|
+
/**
|
|
1736
|
+
* @hidden
|
|
1737
|
+
* @internal
|
|
1738
|
+
*/
|
|
1739
|
+
private getValidity;
|
|
1740
|
+
/**
|
|
1741
|
+
* Returns all invalid record states.
|
|
1742
|
+
*/
|
|
1743
|
+
getInvalid(): IRecordValidationState[];
|
|
1744
|
+
/**
|
|
1745
|
+
* @hidden
|
|
1746
|
+
* @internal
|
|
1747
|
+
*/
|
|
1748
|
+
update(rowId: any, rowData: any): void;
|
|
1749
|
+
/**
|
|
1750
|
+
* @hidden
|
|
1751
|
+
* @internal
|
|
1752
|
+
* Update validity based on new data.
|
|
1753
|
+
*/
|
|
1754
|
+
updateAll(newData: any): void;
|
|
1755
|
+
/** Marks the associated record or field as touched.
|
|
1756
|
+
* @param key The id of the record that will be marked as touched.
|
|
1757
|
+
* @param field Optional. The field from the record that will be marked as touched. If not provided all fields will be touched.
|
|
1758
|
+
*/
|
|
1759
|
+
markAsTouched(key: any, field?: string): void;
|
|
1760
|
+
/**
|
|
1761
|
+
* @hidden
|
|
1762
|
+
* @internal
|
|
1763
|
+
*/
|
|
1764
|
+
private updateStatus;
|
|
1765
|
+
/** Clears validation state by key or all states if none is provided.
|
|
1766
|
+
* @param key Optional. The key of the record for which to clear state.
|
|
1767
|
+
*/
|
|
1768
|
+
clear(key?: any): void;
|
|
1769
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridValidationService, never>;
|
|
1770
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridValidationService>;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @hidden @internal
|
|
1775
|
+
*/
|
|
1776
|
+
declare class FilterListItem {
|
|
1777
|
+
value: any;
|
|
1778
|
+
label: any;
|
|
1779
|
+
isSelected: boolean;
|
|
1780
|
+
indeterminate: boolean;
|
|
1781
|
+
isFiltered: boolean;
|
|
1782
|
+
isSpecial: boolean;
|
|
1783
|
+
isBlanks: boolean;
|
|
1784
|
+
children?: Array<FilterListItem>;
|
|
1785
|
+
parent?: FilterListItem;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* @hidden
|
|
1789
|
+
*/
|
|
1790
|
+
declare class ExpressionUI {
|
|
1791
|
+
expressionId: string;
|
|
1792
|
+
expression: IFilteringExpression;
|
|
1793
|
+
beforeOperator: FilteringLogic;
|
|
1794
|
+
afterOperator: FilteringLogic;
|
|
1795
|
+
isSelected: boolean;
|
|
1796
|
+
isVisible: boolean;
|
|
1797
|
+
constructor();
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* @hidden @internal
|
|
1801
|
+
*/
|
|
1802
|
+
declare class ActiveElement {
|
|
1803
|
+
index: number;
|
|
1804
|
+
id: string;
|
|
1805
|
+
checked: boolean;
|
|
1806
|
+
}
|
|
1807
|
+
declare function generateExpressionsList(expressions: IFilteringExpressionsTree | IFilteringExpression, operator: FilteringLogic, expressionsUIs: ExpressionUI[]): void;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* @hidden
|
|
1811
|
+
*/
|
|
1812
|
+
declare class IgxFilteringService implements OnDestroy {
|
|
1813
|
+
private iconService;
|
|
1814
|
+
protected _overlayService: IgxOverlayService;
|
|
1815
|
+
isFilterRowVisible: boolean;
|
|
1816
|
+
filteredColumn: ColumnType;
|
|
1817
|
+
selectedExpression: IFilteringExpression;
|
|
1818
|
+
columnToMoreIconHidden: Map<string, boolean>;
|
|
1819
|
+
activeFilterCell: number;
|
|
1820
|
+
grid: GridType;
|
|
1821
|
+
private columnsWithComplexFilter;
|
|
1822
|
+
private areEventsSubscribed;
|
|
1823
|
+
protected destroy$: Subject<boolean>;
|
|
1824
|
+
private isFiltering;
|
|
1825
|
+
private columnToExpressionsMap;
|
|
1826
|
+
private columnStartIndex;
|
|
1827
|
+
protected _filterMenuOverlaySettings: OverlaySettings;
|
|
1828
|
+
protected lastActiveNode: any;
|
|
1829
|
+
ngOnDestroy(): void;
|
|
1830
|
+
toggleFilterDropdown(element: HTMLElement, column: ColumnType): void;
|
|
1831
|
+
/**
|
|
1832
|
+
* Subscribe to grid's events.
|
|
1833
|
+
*/
|
|
1834
|
+
subscribeToEvents(): void;
|
|
1835
|
+
/**
|
|
1836
|
+
* Close filtering row if a column is hidden.
|
|
1837
|
+
*/
|
|
1838
|
+
hideFilteringRowOnColumnVisibilityChange(col: ColumnType): void;
|
|
1839
|
+
/**
|
|
1840
|
+
* Internal method to create expressionsTree and filter grid used in both filter modes.
|
|
1841
|
+
*/
|
|
1842
|
+
filterInternal(field: string, expressions?: FilteringExpressionsTree | Array<ExpressionUI>): void;
|
|
1843
|
+
/**
|
|
1844
|
+
* Execute filtering on the grid.
|
|
1845
|
+
*/
|
|
1846
|
+
filter(field: string, value: any, conditionOrExpressionTree?: IFilteringOperation | IFilteringExpressionsTree, ignoreCase?: boolean): void;
|
|
1847
|
+
filter_global(term: any, condition: any, ignoreCase: any): void;
|
|
1848
|
+
/**
|
|
1849
|
+
* Clears the filter of a given column if name is provided. Otherwise clears the filters of all columns.
|
|
1850
|
+
*/
|
|
1851
|
+
clearFilter(field: string): void;
|
|
1852
|
+
clear_filter(fieldName: string): void;
|
|
1853
|
+
/**
|
|
1854
|
+
* Filters all the column in the grid with the same condition.
|
|
1855
|
+
* @deprecated in version 19.0.0.
|
|
1856
|
+
*/
|
|
1857
|
+
filterGlobal(value: any, condition: IFilteringOperation, ignoreCase?: boolean): void;
|
|
1858
|
+
/**
|
|
1859
|
+
* Register filtering SVG icons in the icon service.
|
|
1860
|
+
*/
|
|
1861
|
+
registerSVGIcons(): void;
|
|
1862
|
+
/**
|
|
1863
|
+
* Returns the ExpressionUI array for a given column.
|
|
1864
|
+
*/
|
|
1865
|
+
getExpressions(columnId: string): ExpressionUI[];
|
|
1866
|
+
/**
|
|
1867
|
+
* Recreates all ExpressionUIs for all columns. Executed after filtering to refresh the cache.
|
|
1868
|
+
*/
|
|
1869
|
+
refreshExpressions(): void;
|
|
1870
|
+
/**
|
|
1871
|
+
* Remove an ExpressionUI for a given column.
|
|
1872
|
+
*/
|
|
1873
|
+
removeExpression(columnId: string, indexToRemove: number): void;
|
|
1874
|
+
/**
|
|
1875
|
+
* Generate filtering tree for a given column from existing ExpressionUIs.
|
|
1876
|
+
*/
|
|
1877
|
+
createSimpleFilteringTree(columnId: string, expressionUIList?: ExpressionUI[]): FilteringExpressionsTree;
|
|
1878
|
+
/**
|
|
1879
|
+
* Returns whether a complex filter is applied to a given column.
|
|
1880
|
+
*/
|
|
1881
|
+
isFilterComplex(columnId: string): boolean | undefined;
|
|
1882
|
+
/**
|
|
1883
|
+
* Returns the string representation of the FilteringLogic operator.
|
|
1884
|
+
*/
|
|
1885
|
+
getOperatorAsString(operator: FilteringLogic): any;
|
|
1886
|
+
/**
|
|
1887
|
+
* Generate the label of a chip from a given filtering expression.
|
|
1888
|
+
*/
|
|
1889
|
+
getChipLabel(expression: IFilteringExpression): any;
|
|
1890
|
+
/**
|
|
1891
|
+
* Updates the content of a filterCell.
|
|
1892
|
+
*/
|
|
1893
|
+
updateFilteringCell(column: ColumnType): void;
|
|
1894
|
+
generateExpressionsList(expressions: IFilteringExpressionsTree | IFilteringExpression, operator: FilteringLogic, expressionsUIs: ExpressionUI[]): void;
|
|
1895
|
+
isFilteringExpressionsTreeEmpty(expressionTree: IFilteringExpressionsTree): boolean;
|
|
1896
|
+
protected filter_internal(fieldName: string, term: any, conditionOrExpressionsTree: IFilteringOperation | IFilteringExpressionsTree, ignoreCase: boolean): void;
|
|
1897
|
+
/** Modifies the filteringState object to contain the newly added filtering conditions/expressions.
|
|
1898
|
+
* If createNewTree is true, filteringState will not be modified (because it directly affects the grid.filteringExpressionsTree),
|
|
1899
|
+
* but a new object is created and returned.
|
|
1900
|
+
*/
|
|
1901
|
+
protected prepare_filtering_expression(filteringState: IFilteringExpressionsTree, fieldName: string, searchVal: any, conditionOrExpressionsTree: IFilteringOperation | IFilteringExpressionsTree, ignoreCase: boolean, insertAtIndex?: number, createNewTree?: boolean): FilteringExpressionsTree;
|
|
1902
|
+
private isFilteringTreeComplex;
|
|
1903
|
+
private getChildAndOperatorsCount;
|
|
1904
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxFilteringService, never>;
|
|
1905
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxFilteringService>;
|
|
1533
1906
|
}
|
|
1534
1907
|
|
|
1535
1908
|
declare const IGX_GRID_BASE: InjectionToken<GridType>;
|
|
@@ -1598,7 +1971,7 @@ interface CellType {
|
|
|
1598
1971
|
* A method to activate the cell.
|
|
1599
1972
|
* It takes a focus or keyboard event as an argument
|
|
1600
1973
|
*/
|
|
1601
|
-
activate?(event
|
|
1974
|
+
activate?(event?: FocusEvent | KeyboardEvent | MouseEvent): void;
|
|
1602
1975
|
/**
|
|
1603
1976
|
* Optional
|
|
1604
1977
|
* A method to handle double-click events on the cell
|
|
@@ -1611,6 +1984,12 @@ interface CellType {
|
|
|
1611
1984
|
* It takes a mouse event as an argument
|
|
1612
1985
|
*/
|
|
1613
1986
|
onClick?(event: MouseEvent): void;
|
|
1987
|
+
/**
|
|
1988
|
+
* Optional
|
|
1989
|
+
* A method to handle click events on the cell
|
|
1990
|
+
* It takes a mouse event as an argument
|
|
1991
|
+
*/
|
|
1992
|
+
pointerdown?(event: PointerEvent): void;
|
|
1614
1993
|
}
|
|
1615
1994
|
/**
|
|
1616
1995
|
* Interface representing a header cell in the grid. It is essentially the blueprint to a header cell object.
|
|
@@ -1627,8 +2006,8 @@ interface HeaderType {
|
|
|
1627
2006
|
selectable: boolean;
|
|
1628
2007
|
/** Indicates whether the cell is currently selected */
|
|
1629
2008
|
selected: boolean;
|
|
1630
|
-
/**
|
|
1631
|
-
title:
|
|
2009
|
+
/** Represents the header title */
|
|
2010
|
+
title: string;
|
|
1632
2011
|
/** Represents the sorting direction of the column (ascending, descending or none). */
|
|
1633
2012
|
sortDirection: SortingDirection;
|
|
1634
2013
|
}
|
|
@@ -1650,6 +2029,7 @@ interface RowType {
|
|
|
1650
2029
|
* A map of column field names to the summary results for the row.
|
|
1651
2030
|
*/
|
|
1652
2031
|
summaries?: Map<string, IgxSummaryResult[]>;
|
|
2032
|
+
summaryCells?: QueryList<IgxSummaryCellComponent> | IgxSummaryCellComponent[];
|
|
1653
2033
|
groupRow?: IGroupByRecord;
|
|
1654
2034
|
key?: any;
|
|
1655
2035
|
readonly validation?: IGridValidationState;
|
|
@@ -1815,7 +2195,7 @@ interface GridServiceType {
|
|
|
1815
2195
|
/** The reference to the parent `GridType` that contains the service. */
|
|
1816
2196
|
grid: GridType;
|
|
1817
2197
|
/** Represents the type of the CRUD service (Create, Read, Update, Delete) operations on the grid data. */
|
|
1818
|
-
crudService:
|
|
2198
|
+
crudService: IgxGridCRUDService;
|
|
1819
2199
|
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancellation. */
|
|
1820
2200
|
cms: IgxColumnMovingService;
|
|
1821
2201
|
/** Represents a method declaration for retrieving the data used in the grid. The returned values could be of any type */
|
|
@@ -1851,7 +2231,7 @@ interface GridServiceType {
|
|
|
1851
2231
|
* Represents a method declaration for retrieving the cell object associated with a specific row and column using their indexes.
|
|
1852
2232
|
* It counts only the indexes of the visible columns and rows
|
|
1853
2233
|
*/
|
|
1854
|
-
get_cell_by_visible_index(rowIndex: number, columnIndex: number):
|
|
2234
|
+
get_cell_by_visible_index(rowIndex: number, columnIndex: number): CellType;
|
|
1855
2235
|
/** Represents a method declaration that sets the expansion state of a group row (used for tree grids)
|
|
1856
2236
|
* It takes the value for the expansion as a parameter (expanded or collapsed)
|
|
1857
2237
|
*/
|
|
@@ -1954,7 +2334,7 @@ interface GridType extends IGridDataBindable {
|
|
|
1954
2334
|
/** @hidden @internal */
|
|
1955
2335
|
theadRow: any;
|
|
1956
2336
|
/** @hidden @internal */
|
|
1957
|
-
groupArea:
|
|
2337
|
+
groupArea: IgxGroupByAreaDirective;
|
|
1958
2338
|
/** @hidden @internal */
|
|
1959
2339
|
filterCellList: any[];
|
|
1960
2340
|
/** @hidden @internal */
|
|
@@ -1970,7 +2350,7 @@ interface GridType extends IGridDataBindable {
|
|
|
1970
2350
|
/** @hidden @internal */
|
|
1971
2351
|
paginatorList?: QueryList<IgxPaginatorComponent>;
|
|
1972
2352
|
/** @hidden @internal */
|
|
1973
|
-
crudService:
|
|
2353
|
+
crudService: IgxGridCRUDService;
|
|
1974
2354
|
/** @hidden @internal */
|
|
1975
2355
|
summaryService: any;
|
|
1976
2356
|
/** @hidden @internal */
|
|
@@ -1979,10 +2359,10 @@ interface GridType extends IGridDataBindable {
|
|
|
1979
2359
|
virtualizationState: IForOfState;
|
|
1980
2360
|
/** @hidden @internal */
|
|
1981
2361
|
/** The service handling selection in the grid. Selecting, deselecting elements */
|
|
1982
|
-
selectionService:
|
|
2362
|
+
selectionService: IgxGridSelectionService;
|
|
1983
2363
|
navigation: any;
|
|
1984
2364
|
/** @hidden @internal */
|
|
1985
|
-
filteringService:
|
|
2365
|
+
filteringService: IgxFilteringService;
|
|
1986
2366
|
/**
|
|
1987
2367
|
* @deprecated in version 21.2.0. Overlays now use the HTML Popover API and no longer move to the document
|
|
1988
2368
|
* body by default, so using outlet is also no longer needed - just define the overlay in the intended
|
|
@@ -2118,7 +2498,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2118
2498
|
tbody: any;
|
|
2119
2499
|
verticalScrollContainer: any;
|
|
2120
2500
|
dataRowList: any;
|
|
2121
|
-
rowList:
|
|
2501
|
+
rowList: QueryList<RowType>;
|
|
2122
2502
|
/** An unmodifiable list, containing all the columns of the grid. */
|
|
2123
2503
|
columnList: QueryList<ColumnType>;
|
|
2124
2504
|
columns: ColumnType[];
|
|
@@ -2139,7 +2519,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2139
2519
|
headerGroups: any[];
|
|
2140
2520
|
/** @hidden @internal */
|
|
2141
2521
|
headerGroupsList: any[];
|
|
2142
|
-
summariesRowList:
|
|
2522
|
+
summariesRowList: QueryList<IgxSummaryRowComponent>;
|
|
2143
2523
|
/** @hidden @internal */
|
|
2144
2524
|
headerContainer: any;
|
|
2145
2525
|
/** Indicates whether cells are selectable in the grid */
|
|
@@ -2201,7 +2581,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2201
2581
|
hasEditableColumns: boolean;
|
|
2202
2582
|
/** Property, that provides a callback for loading unique column values on demand.
|
|
2203
2583
|
* If this property is provided, the unique values it generates will be used by the Excel Style Filtering */
|
|
2204
|
-
uniqueColumnValuesStrategy
|
|
2584
|
+
uniqueColumnValuesStrategy?: (column: ColumnType, tree: FilteringExpressionsTree, done: (values: any[]) => void) => void;
|
|
2205
2585
|
/** Property, that gets the header cell inner width for auto-sizing. */
|
|
2206
2586
|
getHeaderCellWidth: (element: HTMLElement) => ISizeInfo;
|
|
2207
2587
|
/**
|
|
@@ -2356,7 +2736,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2356
2736
|
openRowOverlay(id: any): void;
|
|
2357
2737
|
openAdvancedFilteringDialog(overlaySettings?: OverlaySettings): void;
|
|
2358
2738
|
showSnackbarFor(index: number): void;
|
|
2359
|
-
getColumnByName(name: string):
|
|
2739
|
+
getColumnByName(name: string): ColumnType;
|
|
2360
2740
|
getColumnByVisibleIndex(index: number): ColumnType;
|
|
2361
2741
|
getHeaderGroupWidth(column: ColumnType): string;
|
|
2362
2742
|
getRowByKey?(key: any): RowType;
|
|
@@ -2380,7 +2760,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2380
2760
|
isGhostRecord(rec: any): boolean;
|
|
2381
2761
|
isTreeRow?(rec: any): boolean;
|
|
2382
2762
|
isChildGridRecord?(rec: any): boolean;
|
|
2383
|
-
getChildGrids?(inDepth?: boolean):
|
|
2763
|
+
getChildGrids?(inDepth?: boolean): GridType[];
|
|
2384
2764
|
isHierarchicalRecord?(record: any): boolean;
|
|
2385
2765
|
columnToVisibleIndex(key: string | number): number;
|
|
2386
2766
|
moveColumn(column: ColumnType, target: ColumnType, pos: DropPosition): void;
|
|
@@ -2404,7 +2784,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2404
2784
|
notifyChanges(repaint?: boolean): void;
|
|
2405
2785
|
resetColumnCollections(): void;
|
|
2406
2786
|
triggerPipes(): void;
|
|
2407
|
-
repositionRowEditingOverlay(row
|
|
2787
|
+
repositionRowEditingOverlay(row?: RowType): void;
|
|
2408
2788
|
closeRowEditingOverlay(): void;
|
|
2409
2789
|
reflow(): void;
|
|
2410
2790
|
isExpandedGroup(group: IGroupByRecord): boolean;
|
|
@@ -2492,17 +2872,17 @@ interface PivotGridType extends GridType {
|
|
|
2492
2872
|
* Represents a method declaration for moving dimension from its currently collection to the specified target collection
|
|
2493
2873
|
* by type (Row, Column or Filter) at specified index or at the collection's end
|
|
2494
2874
|
*/
|
|
2495
|
-
moveDimension(dimension: IPivotDimension, targetCollectionType: PivotDimensionType, index?: number):
|
|
2496
|
-
getDimensionsByType(dimension: PivotDimensionType):
|
|
2875
|
+
moveDimension(dimension: IPivotDimension, targetCollectionType: PivotDimensionType, index?: number): void;
|
|
2876
|
+
getDimensionsByType(dimension: PivotDimensionType): IPivotDimension[] | null;
|
|
2497
2877
|
/** Toggles the dimension's enabled state on or off. The dimension remains in its current collection */
|
|
2498
|
-
toggleDimension(dimension: IPivotDimension):
|
|
2878
|
+
toggleDimension(dimension: IPivotDimension): void;
|
|
2499
2879
|
/** Sort the dimension and its children in the provided direction (ascending, descending or none). */
|
|
2500
|
-
sortDimension(dimension: IPivotDimension, sortDirection: SortingDirection):
|
|
2880
|
+
sortDimension(dimension: IPivotDimension, sortDirection: SortingDirection): void;
|
|
2501
2881
|
/** Toggles the value's enabled state on or off. The value remains in its current collection. */
|
|
2502
|
-
toggleValue(value: IPivotValue):
|
|
2882
|
+
toggleValue(value: IPivotValue): void;
|
|
2503
2883
|
/** Move value from its currently at specified index or at the end.
|
|
2504
2884
|
* If the parameter is not set, it will add it to the end of the collection. */
|
|
2505
|
-
moveValue(value: IPivotValue, index?: number):
|
|
2885
|
+
moveValue(value: IPivotValue, index?: number): void;
|
|
2506
2886
|
rowDimensionWidth(dim: IPivotDimension): string;
|
|
2507
2887
|
rowDimensionWidthToPixels(dim: IPivotDimension): number;
|
|
2508
2888
|
/** Emits an event when the dimensions in the pivot grid change. */
|
|
@@ -2551,13 +2931,13 @@ interface IgxGridEmptyTemplateContext {
|
|
|
2551
2931
|
interface IgxGridRowEditTemplateContext {
|
|
2552
2932
|
$implicit: undefined;
|
|
2553
2933
|
rowChangesCount: number;
|
|
2554
|
-
endEdit: (commit: boolean, event?:
|
|
2934
|
+
endEdit: (commit: boolean, event?: FocusEvent | MouseEvent | KeyboardEvent) => void;
|
|
2555
2935
|
}
|
|
2556
2936
|
interface IgxGridRowEditTextTemplateContext {
|
|
2557
2937
|
$implicit: number;
|
|
2558
2938
|
}
|
|
2559
2939
|
interface IgxGridRowEditActionsTemplateContext {
|
|
2560
|
-
$implicit: (commit: boolean, event?:
|
|
2940
|
+
$implicit: (commit: boolean, event?: FocusEvent | MouseEvent | KeyboardEvent) => void;
|
|
2561
2941
|
}
|
|
2562
2942
|
interface IgxGridHeaderTemplateContext {
|
|
2563
2943
|
$implicit: HeaderType;
|
|
@@ -2914,7 +3294,7 @@ declare class IgxColumnActionsComponent implements DoCheck {
|
|
|
2914
3294
|
/**
|
|
2915
3295
|
* @hidden @internal
|
|
2916
3296
|
*/
|
|
2917
|
-
trackChanges: (index:
|
|
3297
|
+
trackChanges: (index: number, col: ColumnType) => string;
|
|
2918
3298
|
/**
|
|
2919
3299
|
* @hidden @internal
|
|
2920
3300
|
*/
|
|
@@ -2968,7 +3348,7 @@ declare class IgxColumnHidingDirective extends IgxColumnActionsBaseDirective {
|
|
|
2968
3348
|
/**
|
|
2969
3349
|
* @hidden @internal
|
|
2970
3350
|
*/
|
|
2971
|
-
actionEnabledColumnsFilter: (c:
|
|
3351
|
+
actionEnabledColumnsFilter: (c: ColumnType) => boolean;
|
|
2972
3352
|
/**
|
|
2973
3353
|
* @hidden @internal
|
|
2974
3354
|
*/
|
|
@@ -3125,7 +3505,7 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3125
3505
|
/**
|
|
3126
3506
|
* @hidden
|
|
3127
3507
|
*/
|
|
3128
|
-
protected defaultSortHeaderIconTemplate: any
|
|
3508
|
+
protected defaultSortHeaderIconTemplate: TemplateRef<any>;
|
|
3129
3509
|
/**
|
|
3130
3510
|
* @hidden
|
|
3131
3511
|
*/
|
|
@@ -3158,7 +3538,7 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3158
3538
|
/**
|
|
3159
3539
|
* Returns the `aria-sort` of the header.
|
|
3160
3540
|
*/
|
|
3161
|
-
get ariaSort(): "ascending" | "descending";
|
|
3541
|
+
get ariaSort(): "ascending" | "descending" | null;
|
|
3162
3542
|
/**
|
|
3163
3543
|
* @hidden
|
|
3164
3544
|
*/
|
|
@@ -3173,198 +3553,63 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3173
3553
|
get numberStyle(): boolean;
|
|
3174
3554
|
get sortableStyle(): boolean;
|
|
3175
3555
|
get selectableStyle(): boolean;
|
|
3176
|
-
get filterableStyle():
|
|
3177
|
-
get sortedStyle(): boolean;
|
|
3178
|
-
get selectedStyle(): boolean;
|
|
3179
|
-
/**
|
|
3180
|
-
* @hidden
|
|
3181
|
-
*/
|
|
3182
|
-
get esfIconTemplate(): TemplateRef<any>;
|
|
3183
|
-
/**
|
|
3184
|
-
* @hidden
|
|
3185
|
-
*/
|
|
3186
|
-
get sortIconTemplate(): any;
|
|
3187
|
-
/**
|
|
3188
|
-
* @hidden
|
|
3189
|
-
*/
|
|
3190
|
-
get disabled(): boolean;
|
|
3191
|
-
get sorted(): boolean;
|
|
3192
|
-
get filterIconClassName(): "igx-excel-filter__icon--filtered" | "igx-excel-filter__icon";
|
|
3193
|
-
get selectable(): boolean;
|
|
3194
|
-
get selected(): boolean;
|
|
3195
|
-
get title(): string;
|
|
3196
|
-
get nativeElement(): HTMLElement;
|
|
3197
|
-
sortDirection: SortingDirection;
|
|
3198
|
-
protected _destroy$: Subject<boolean>;
|
|
3199
|
-
onClick(event: MouseEvent): void;
|
|
3200
|
-
/**
|
|
3201
|
-
* @hidden
|
|
3202
|
-
*/
|
|
3203
|
-
onPinterEnter(): void;
|
|
3204
|
-
/**
|
|
3205
|
-
* @hidden
|
|
3206
|
-
*/
|
|
3207
|
-
onPointerLeave(): void;
|
|
3208
|
-
/**
|
|
3209
|
-
* @hidden @internal
|
|
3210
|
-
*/
|
|
3211
|
-
ngDoCheck(): void;
|
|
3212
|
-
/**
|
|
3213
|
-
* @hidden @internal
|
|
3214
|
-
*/
|
|
3215
|
-
ngOnDestroy(): void;
|
|
3216
|
-
/**
|
|
3217
|
-
* @hidden @internal
|
|
3218
|
-
*/
|
|
3219
|
-
onPointerDownIndicator(event: any): void;
|
|
3220
|
-
/**
|
|
3221
|
-
* @hidden @internal
|
|
3222
|
-
*/
|
|
3223
|
-
onFilteringIconClick(event: any): void;
|
|
3224
|
-
/**
|
|
3225
|
-
* @hidden @internal
|
|
3226
|
-
*/
|
|
3227
|
-
onSortingIconClick(event: any): void;
|
|
3228
|
-
protected getSortDirection(): void;
|
|
3229
|
-
protected isAdvancedFilterApplied(): boolean;
|
|
3230
|
-
private triggerSort;
|
|
3231
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridHeaderComponent, never>;
|
|
3232
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridHeaderComponent, "igx-grid-header", never, { "column": { "alias": "column"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
3233
|
-
}
|
|
3234
|
-
|
|
3235
|
-
/**
|
|
3236
|
-
* @hidden @internal
|
|
3237
|
-
*/
|
|
3238
|
-
declare class FilterListItem {
|
|
3239
|
-
value: any;
|
|
3240
|
-
label: any;
|
|
3241
|
-
isSelected: boolean;
|
|
3242
|
-
indeterminate: boolean;
|
|
3243
|
-
isFiltered: boolean;
|
|
3244
|
-
isSpecial: boolean;
|
|
3245
|
-
isBlanks: boolean;
|
|
3246
|
-
children?: Array<FilterListItem>;
|
|
3247
|
-
parent?: FilterListItem;
|
|
3248
|
-
}
|
|
3249
|
-
/**
|
|
3250
|
-
* @hidden
|
|
3251
|
-
*/
|
|
3252
|
-
declare class ExpressionUI {
|
|
3253
|
-
expressionId: string;
|
|
3254
|
-
expression: IFilteringExpression;
|
|
3255
|
-
beforeOperator: FilteringLogic;
|
|
3256
|
-
afterOperator: FilteringLogic;
|
|
3257
|
-
isSelected: boolean;
|
|
3258
|
-
isVisible: boolean;
|
|
3259
|
-
constructor();
|
|
3260
|
-
}
|
|
3261
|
-
/**
|
|
3262
|
-
* @hidden @internal
|
|
3263
|
-
*/
|
|
3264
|
-
declare class ActiveElement {
|
|
3265
|
-
index: number;
|
|
3266
|
-
id: string;
|
|
3267
|
-
checked: boolean;
|
|
3268
|
-
}
|
|
3269
|
-
declare function generateExpressionsList(expressions: IFilteringExpressionsTree | IFilteringExpression, operator: FilteringLogic, expressionsUIs: ExpressionUI[]): void;
|
|
3270
|
-
|
|
3271
|
-
/**
|
|
3272
|
-
* @hidden
|
|
3273
|
-
*/
|
|
3274
|
-
declare class IgxFilteringService implements OnDestroy {
|
|
3275
|
-
private iconService;
|
|
3276
|
-
protected _overlayService: IgxOverlayService;
|
|
3277
|
-
isFilterRowVisible: boolean;
|
|
3278
|
-
filteredColumn: ColumnType;
|
|
3279
|
-
selectedExpression: IFilteringExpression;
|
|
3280
|
-
columnToMoreIconHidden: Map<string, boolean>;
|
|
3281
|
-
activeFilterCell: number;
|
|
3282
|
-
grid: GridType;
|
|
3283
|
-
private columnsWithComplexFilter;
|
|
3284
|
-
private areEventsSubscribed;
|
|
3285
|
-
protected destroy$: Subject<boolean>;
|
|
3286
|
-
private isFiltering;
|
|
3287
|
-
private columnToExpressionsMap;
|
|
3288
|
-
private columnStartIndex;
|
|
3289
|
-
protected _filterMenuOverlaySettings: OverlaySettings;
|
|
3290
|
-
protected lastActiveNode: any;
|
|
3291
|
-
ngOnDestroy(): void;
|
|
3292
|
-
toggleFilterDropdown(element: HTMLElement, column: ColumnType): void;
|
|
3293
|
-
/**
|
|
3294
|
-
* Subscribe to grid's events.
|
|
3295
|
-
*/
|
|
3296
|
-
subscribeToEvents(): void;
|
|
3297
|
-
/**
|
|
3298
|
-
* Close filtering row if a column is hidden.
|
|
3299
|
-
*/
|
|
3300
|
-
hideFilteringRowOnColumnVisibilityChange(col: ColumnType): void;
|
|
3301
|
-
/**
|
|
3302
|
-
* Internal method to create expressionsTree and filter grid used in both filter modes.
|
|
3303
|
-
*/
|
|
3304
|
-
filterInternal(field: string, expressions?: FilteringExpressionsTree | Array<ExpressionUI>): void;
|
|
3305
|
-
/**
|
|
3306
|
-
* Execute filtering on the grid.
|
|
3307
|
-
*/
|
|
3308
|
-
filter(field: string, value: any, conditionOrExpressionTree?: IFilteringOperation | IFilteringExpressionsTree, ignoreCase?: boolean): void;
|
|
3309
|
-
filter_global(term: any, condition: any, ignoreCase: any): void;
|
|
3310
|
-
/**
|
|
3311
|
-
* Clears the filter of a given column if name is provided. Otherwise clears the filters of all columns.
|
|
3312
|
-
*/
|
|
3313
|
-
clearFilter(field: string): void;
|
|
3314
|
-
clear_filter(fieldName: string): void;
|
|
3556
|
+
get filterableStyle(): boolean;
|
|
3557
|
+
get sortedStyle(): boolean;
|
|
3558
|
+
get selectedStyle(): boolean;
|
|
3315
3559
|
/**
|
|
3316
|
-
*
|
|
3317
|
-
* @deprecated in version 19.0.0.
|
|
3560
|
+
* @hidden
|
|
3318
3561
|
*/
|
|
3319
|
-
|
|
3562
|
+
get esfIconTemplate(): TemplateRef<igniteui_angular_grids_core.IgxGridHeaderTemplateContext>;
|
|
3320
3563
|
/**
|
|
3321
|
-
*
|
|
3564
|
+
* @hidden
|
|
3322
3565
|
*/
|
|
3323
|
-
|
|
3566
|
+
get sortIconTemplate(): TemplateRef<any>;
|
|
3324
3567
|
/**
|
|
3325
|
-
*
|
|
3568
|
+
* @hidden
|
|
3326
3569
|
*/
|
|
3327
|
-
|
|
3570
|
+
get disabled(): boolean;
|
|
3571
|
+
get sorted(): boolean;
|
|
3572
|
+
get filterIconClassName(): "igx-excel-filter__icon--filtered" | "igx-excel-filter__icon";
|
|
3573
|
+
get selectable(): boolean;
|
|
3574
|
+
get selected(): boolean;
|
|
3575
|
+
get title(): string;
|
|
3576
|
+
get nativeElement(): HTMLElement;
|
|
3577
|
+
sortDirection: SortingDirection;
|
|
3578
|
+
protected _destroy$: Subject<boolean>;
|
|
3579
|
+
onClick(event: MouseEvent): void;
|
|
3328
3580
|
/**
|
|
3329
|
-
*
|
|
3581
|
+
* @hidden
|
|
3330
3582
|
*/
|
|
3331
|
-
|
|
3583
|
+
onPinterEnter(): void;
|
|
3332
3584
|
/**
|
|
3333
|
-
*
|
|
3585
|
+
* @hidden
|
|
3334
3586
|
*/
|
|
3335
|
-
|
|
3587
|
+
onPointerLeave(): void;
|
|
3336
3588
|
/**
|
|
3337
|
-
*
|
|
3589
|
+
* @hidden @internal
|
|
3338
3590
|
*/
|
|
3339
|
-
|
|
3591
|
+
ngDoCheck(): void;
|
|
3340
3592
|
/**
|
|
3341
|
-
*
|
|
3593
|
+
* @hidden @internal
|
|
3342
3594
|
*/
|
|
3343
|
-
|
|
3595
|
+
ngOnDestroy(): void;
|
|
3344
3596
|
/**
|
|
3345
|
-
*
|
|
3597
|
+
* @hidden @internal
|
|
3346
3598
|
*/
|
|
3347
|
-
|
|
3599
|
+
onPointerDownIndicator(event: PointerEvent): void;
|
|
3348
3600
|
/**
|
|
3349
|
-
*
|
|
3601
|
+
* @hidden @internal
|
|
3350
3602
|
*/
|
|
3351
|
-
|
|
3603
|
+
onFilteringIconClick(event: MouseEvent): void;
|
|
3352
3604
|
/**
|
|
3353
|
-
*
|
|
3354
|
-
*/
|
|
3355
|
-
updateFilteringCell(column: ColumnType): void;
|
|
3356
|
-
generateExpressionsList(expressions: IFilteringExpressionsTree | IFilteringExpression, operator: FilteringLogic, expressionsUIs: ExpressionUI[]): void;
|
|
3357
|
-
isFilteringExpressionsTreeEmpty(expressionTree: IFilteringExpressionsTree): boolean;
|
|
3358
|
-
protected filter_internal(fieldName: string, term: any, conditionOrExpressionsTree: IFilteringOperation | IFilteringExpressionsTree, ignoreCase: boolean): void;
|
|
3359
|
-
/** Modifies the filteringState object to contain the newly added filtering conditions/expressions.
|
|
3360
|
-
* If createNewTree is true, filteringState will not be modified (because it directly affects the grid.filteringExpressionsTree),
|
|
3361
|
-
* but a new object is created and returned.
|
|
3605
|
+
* @hidden @internal
|
|
3362
3606
|
*/
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
static
|
|
3607
|
+
onSortingIconClick(event: MouseEvent): void;
|
|
3608
|
+
protected getSortDirection(): void;
|
|
3609
|
+
protected isAdvancedFilterApplied(): boolean;
|
|
3610
|
+
private triggerSort;
|
|
3611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridHeaderComponent, never>;
|
|
3612
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridHeaderComponent, "igx-grid-header", never, { "column": { "alias": "column"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
3368
3613
|
}
|
|
3369
3614
|
|
|
3370
3615
|
/**
|
|
@@ -3485,7 +3730,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3485
3730
|
/**
|
|
3486
3731
|
* @hidden
|
|
3487
3732
|
*/
|
|
3488
|
-
get zIndex(): number;
|
|
3733
|
+
get zIndex(): number | null;
|
|
3489
3734
|
/**
|
|
3490
3735
|
* @hidden
|
|
3491
3736
|
*/
|
|
@@ -3542,7 +3787,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3542
3787
|
/**
|
|
3543
3788
|
* @hidden
|
|
3544
3789
|
*/
|
|
3545
|
-
get title(): string;
|
|
3790
|
+
get title(): string | undefined;
|
|
3546
3791
|
get nativeElement(): HTMLElement;
|
|
3547
3792
|
/**
|
|
3548
3793
|
* @hidden
|
|
@@ -3555,7 +3800,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3555
3800
|
/**
|
|
3556
3801
|
* @hidden @internal
|
|
3557
3802
|
*/
|
|
3558
|
-
onPointerDownIndicator(event:
|
|
3803
|
+
onPointerDownIndicator(event: PointerEvent): void;
|
|
3559
3804
|
/**
|
|
3560
3805
|
* @hidden @internal
|
|
3561
3806
|
*/
|
|
@@ -3588,213 +3833,12 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3588
3833
|
rowEnd: number;
|
|
3589
3834
|
colEnd: number;
|
|
3590
3835
|
columnVisibleIndex: number;
|
|
3591
|
-
};
|
|
3836
|
+
} | null;
|
|
3592
3837
|
};
|
|
3593
3838
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridHeaderGroupComponent, never>;
|
|
3594
3839
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridHeaderGroupComponent, "igx-grid-header-group", never, { "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
3595
3840
|
}
|
|
3596
3841
|
|
|
3597
|
-
declare class IgxSummaryOperand {
|
|
3598
|
-
/**
|
|
3599
|
-
* Counts all the records in the data source.
|
|
3600
|
-
* If filtering is applied, counts only the filtered records.
|
|
3601
|
-
* ```typescript
|
|
3602
|
-
* IgxSummaryOperand.count(dataSource);
|
|
3603
|
-
* ```
|
|
3604
|
-
*
|
|
3605
|
-
* @memberof IgxSummaryOperand
|
|
3606
|
-
*/
|
|
3607
|
-
static count(data: any[]): number;
|
|
3608
|
-
/**
|
|
3609
|
-
* Executes the static `count` method and returns summary result[]`.
|
|
3610
|
-
* ```typescript
|
|
3611
|
-
* interface IgxSummaryResult {
|
|
3612
|
-
* key: string;
|
|
3613
|
-
* label: string;
|
|
3614
|
-
* summaryResult: any;
|
|
3615
|
-
* }
|
|
3616
|
-
* ```
|
|
3617
|
-
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
3618
|
-
* ```typescript
|
|
3619
|
-
* class CustomSummary extends IgxSummaryOperand {
|
|
3620
|
-
* constructor() {
|
|
3621
|
-
* super();
|
|
3622
|
-
* }
|
|
3623
|
-
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
3624
|
-
* const result = [];
|
|
3625
|
-
* result.push({
|
|
3626
|
-
* key: "test",
|
|
3627
|
-
* label: "Test",
|
|
3628
|
-
* summaryResult: IgxSummaryOperand.count(data)
|
|
3629
|
-
* });
|
|
3630
|
-
* return result;
|
|
3631
|
-
* }
|
|
3632
|
-
* }
|
|
3633
|
-
* this.grid.getColumnByName('ColumnName').summaries = CustomSummary;
|
|
3634
|
-
* ```
|
|
3635
|
-
*
|
|
3636
|
-
* @memberof IgxSummaryOperand
|
|
3637
|
-
*/
|
|
3638
|
-
operate(data?: any[], _allData?: any[], _fieldName?: string, _groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
3639
|
-
}
|
|
3640
|
-
declare class IgxNumberSummaryOperand extends IgxSummaryOperand {
|
|
3641
|
-
/**
|
|
3642
|
-
* Returns the minimum numeric value in the provided data records.
|
|
3643
|
-
* If filtering is applied, returns the minimum value in the filtered data records.
|
|
3644
|
-
* ```typescript
|
|
3645
|
-
* IgxNumberSummaryOperand.min(data);
|
|
3646
|
-
* ```
|
|
3647
|
-
*
|
|
3648
|
-
* @memberof IgxNumberSummaryOperand
|
|
3649
|
-
*/
|
|
3650
|
-
static min(data: any[]): number;
|
|
3651
|
-
/**
|
|
3652
|
-
* Returns the maximum numeric value in the provided data records.
|
|
3653
|
-
* If filtering is applied, returns the maximum value in the filtered data records.
|
|
3654
|
-
* ```typescript
|
|
3655
|
-
* IgxNumberSummaryOperand.max(data);
|
|
3656
|
-
* ```
|
|
3657
|
-
*
|
|
3658
|
-
* @memberof IgxNumberSummaryOperand
|
|
3659
|
-
*/
|
|
3660
|
-
static max(data: any[]): number;
|
|
3661
|
-
/**
|
|
3662
|
-
* Returns the sum of the numeric values in the provided data records.
|
|
3663
|
-
* If filtering is applied, returns the sum of the numeric values in the data records.
|
|
3664
|
-
* ```typescript
|
|
3665
|
-
* IgxNumberSummaryOperand.sum(data);
|
|
3666
|
-
* ```
|
|
3667
|
-
*
|
|
3668
|
-
* @memberof IgxNumberSummaryOperand
|
|
3669
|
-
*/
|
|
3670
|
-
static sum(data: any[]): number;
|
|
3671
|
-
/**
|
|
3672
|
-
* Returns the average numeric value in the data provided data records.
|
|
3673
|
-
* If filtering is applied, returns the average numeric value in the filtered data records.
|
|
3674
|
-
* ```typescript
|
|
3675
|
-
* IgxSummaryOperand.average(data);
|
|
3676
|
-
* ```
|
|
3677
|
-
*
|
|
3678
|
-
* @memberof IgxNumberSummaryOperand
|
|
3679
|
-
*/
|
|
3680
|
-
static average(data: any[]): number;
|
|
3681
|
-
/**
|
|
3682
|
-
* Executes the static methods and returns summary result[]`.
|
|
3683
|
-
* ```typescript
|
|
3684
|
-
* interface IgxSummaryResult {
|
|
3685
|
-
* key: string;
|
|
3686
|
-
* label: string;
|
|
3687
|
-
* summaryResult: any;
|
|
3688
|
-
* }
|
|
3689
|
-
* ```
|
|
3690
|
-
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
3691
|
-
* ```typescript
|
|
3692
|
-
* class CustomNumberSummary extends IgxNumberSummaryOperand {
|
|
3693
|
-
* constructor() {
|
|
3694
|
-
* super();
|
|
3695
|
-
* }
|
|
3696
|
-
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
3697
|
-
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
3698
|
-
* result.push({
|
|
3699
|
-
* key: "avg",
|
|
3700
|
-
* label: "Avg",
|
|
3701
|
-
* summaryResult: IgxNumberSummaryOperand.average(data)
|
|
3702
|
-
* });
|
|
3703
|
-
* result.push({
|
|
3704
|
-
* key: 'mdn',
|
|
3705
|
-
* label: 'Median',
|
|
3706
|
-
* summaryResult: this.findMedian(data)
|
|
3707
|
-
* });
|
|
3708
|
-
* return result;
|
|
3709
|
-
* }
|
|
3710
|
-
* }
|
|
3711
|
-
* this.grid.getColumnByName('ColumnName').summaries = CustomNumberSummary;
|
|
3712
|
-
* ```
|
|
3713
|
-
*
|
|
3714
|
-
* @memberof IgxNumberSummaryOperand
|
|
3715
|
-
*/
|
|
3716
|
-
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
3717
|
-
}
|
|
3718
|
-
declare class IgxDateSummaryOperand extends IgxSummaryOperand {
|
|
3719
|
-
/**
|
|
3720
|
-
* Returns the latest date value in the data records.
|
|
3721
|
-
* If filtering is applied, returns the latest date value in the filtered data records.
|
|
3722
|
-
* ```typescript
|
|
3723
|
-
* IgxDateSummaryOperand.latest(data);
|
|
3724
|
-
* ```
|
|
3725
|
-
*
|
|
3726
|
-
* @memberof IgxDateSummaryOperand
|
|
3727
|
-
*/
|
|
3728
|
-
static latest(data: any[]): any;
|
|
3729
|
-
/**
|
|
3730
|
-
* Returns the earliest date value in the data records.
|
|
3731
|
-
* If filtering is applied, returns the latest date value in the filtered data records.
|
|
3732
|
-
* ```typescript
|
|
3733
|
-
* IgxDateSummaryOperand.earliest(data);
|
|
3734
|
-
* ```
|
|
3735
|
-
*
|
|
3736
|
-
* @memberof IgxDateSummaryOperand
|
|
3737
|
-
*/
|
|
3738
|
-
static earliest(data: any[]): any;
|
|
3739
|
-
/**
|
|
3740
|
-
* Executes the static methods and returns summary result[]`.
|
|
3741
|
-
* ```typescript
|
|
3742
|
-
* interface IgxSummaryResult {
|
|
3743
|
-
* key: string;
|
|
3744
|
-
* label: string;
|
|
3745
|
-
* summaryResult: any;
|
|
3746
|
-
* }
|
|
3747
|
-
* ```
|
|
3748
|
-
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
3749
|
-
* ```typescript
|
|
3750
|
-
* class CustomDateSummary extends IgxDateSummaryOperand {
|
|
3751
|
-
* constructor() {
|
|
3752
|
-
* super();
|
|
3753
|
-
* }
|
|
3754
|
-
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
3755
|
-
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
3756
|
-
* result.push({
|
|
3757
|
-
* key: "deadline",
|
|
3758
|
-
* label: "Deadline Date",
|
|
3759
|
-
* summaryResult: this.calculateDeadline(data);
|
|
3760
|
-
* });
|
|
3761
|
-
* return result;
|
|
3762
|
-
* }
|
|
3763
|
-
* }
|
|
3764
|
-
* this.grid.getColumnByName('ColumnName').summaries = CustomDateSummary;
|
|
3765
|
-
* ```
|
|
3766
|
-
*
|
|
3767
|
-
* @memberof IgxDateSummaryOperand
|
|
3768
|
-
*/
|
|
3769
|
-
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
3770
|
-
}
|
|
3771
|
-
declare class IgxTimeSummaryOperand extends IgxSummaryOperand {
|
|
3772
|
-
/**
|
|
3773
|
-
* Returns the latest time value in the data records. Compare only the time part of the date.
|
|
3774
|
-
* If filtering is applied, returns the latest time value in the filtered data records.
|
|
3775
|
-
* ```typescript
|
|
3776
|
-
* IgxTimeSummaryOperand.latestTime(data);
|
|
3777
|
-
* ```
|
|
3778
|
-
*
|
|
3779
|
-
* @memberof IgxTimeSummaryOperand
|
|
3780
|
-
*/
|
|
3781
|
-
static latestTime(data: any[]): any;
|
|
3782
|
-
/**
|
|
3783
|
-
* Returns the earliest time value in the data records. Compare only the time part of the date.
|
|
3784
|
-
* If filtering is applied, returns the earliest time value in the filtered data records.
|
|
3785
|
-
* ```typescript
|
|
3786
|
-
* IgxTimeSummaryOperand.earliestTime(data);
|
|
3787
|
-
* ```
|
|
3788
|
-
*
|
|
3789
|
-
* @memberof IgxTimeSummaryOperand
|
|
3790
|
-
*/
|
|
3791
|
-
static earliestTime(data: any[]): any;
|
|
3792
|
-
/**
|
|
3793
|
-
* @memberof IgxTimeSummaryOperand
|
|
3794
|
-
*/
|
|
3795
|
-
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
3796
|
-
}
|
|
3797
|
-
|
|
3798
3842
|
declare class IgxFilterCellTemplateDirective {
|
|
3799
3843
|
template: TemplateRef<IgxColumnTemplateContext>;
|
|
3800
3844
|
static ngTemplateContextGuard(_directive: IgxFilterCellTemplateDirective, context: unknown): context is IgxColumnTemplateContext;
|
|
@@ -4192,7 +4236,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4192
4236
|
*
|
|
4193
4237
|
* @memberof IgxColumnComponent
|
|
4194
4238
|
*/
|
|
4195
|
-
headerStyles:
|
|
4239
|
+
headerStyles: null;
|
|
4196
4240
|
/**
|
|
4197
4241
|
* Sets/gets the class selector of the column group header.
|
|
4198
4242
|
* ```typescript
|
|
@@ -4221,7 +4265,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4221
4265
|
*
|
|
4222
4266
|
* @memberof IgxColumnComponent
|
|
4223
4267
|
*/
|
|
4224
|
-
headerGroupStyles:
|
|
4268
|
+
headerGroupStyles: null;
|
|
4225
4269
|
/**
|
|
4226
4270
|
* Sets a conditional class selector of the column cells.
|
|
4227
4271
|
* Accepts an object literal, containing key-value pairs,
|
|
@@ -4291,7 +4335,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4291
4335
|
*
|
|
4292
4336
|
* @memberof IgxColumnComponent
|
|
4293
4337
|
*/
|
|
4294
|
-
formatter
|
|
4338
|
+
formatter?: (value: any, rowData?: any) => any;
|
|
4295
4339
|
/**
|
|
4296
4340
|
* The summaryFormatter is used to format the display of the column summaries.
|
|
4297
4341
|
*
|
|
@@ -4317,7 +4361,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4317
4361
|
*
|
|
4318
4362
|
* @memberof IgxColumnComponent
|
|
4319
4363
|
*/
|
|
4320
|
-
summaryFormatter
|
|
4364
|
+
summaryFormatter?: (summary: IgxSummaryResult, summaryOperand: IgxSummaryOperand) => any;
|
|
4321
4365
|
/**
|
|
4322
4366
|
* Sets/gets whether the column filtering should be case sensitive.
|
|
4323
4367
|
* Default value is `true`.
|
|
@@ -4371,7 +4415,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4371
4415
|
*/
|
|
4372
4416
|
dataType: GridColumnDataType;
|
|
4373
4417
|
/** @hidden */
|
|
4374
|
-
collapsibleIndicatorTemplate
|
|
4418
|
+
collapsibleIndicatorTemplate?: TemplateRef<IgxColumnTemplateContext>;
|
|
4375
4419
|
/**
|
|
4376
4420
|
* Row index where the current field should end.
|
|
4377
4421
|
* The amount of rows between rowStart and rowEnd will determine the amount of spanning rows to that field
|
|
@@ -4455,36 +4499,36 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4455
4499
|
/**
|
|
4456
4500
|
* @hidden
|
|
4457
4501
|
*/
|
|
4458
|
-
filterCellTemplateDirective
|
|
4502
|
+
filterCellTemplateDirective?: IgxFilterCellTemplateDirective;
|
|
4459
4503
|
/**
|
|
4460
4504
|
* @hidden
|
|
4461
4505
|
*/
|
|
4462
|
-
protected summaryTemplateDirective
|
|
4506
|
+
protected summaryTemplateDirective?: IgxSummaryTemplateDirective;
|
|
4463
4507
|
/**
|
|
4464
4508
|
* @hidden
|
|
4465
4509
|
* @see {@link bodyTemplate}
|
|
4466
4510
|
*/
|
|
4467
|
-
protected cellTemplate
|
|
4511
|
+
protected cellTemplate?: IgxCellTemplateDirective;
|
|
4468
4512
|
/**
|
|
4469
4513
|
* @hidden
|
|
4470
4514
|
*/
|
|
4471
|
-
protected cellValidationErrorTemplate
|
|
4515
|
+
protected cellValidationErrorTemplate?: IgxCellValidationErrorDirective;
|
|
4472
4516
|
/**
|
|
4473
4517
|
* @hidden
|
|
4474
4518
|
*/
|
|
4475
|
-
protected headTemplate
|
|
4519
|
+
protected headTemplate?: QueryList<IgxCellHeaderTemplateDirective>;
|
|
4476
4520
|
/**
|
|
4477
4521
|
* @hidden
|
|
4478
4522
|
*/
|
|
4479
|
-
protected editorTemplate
|
|
4523
|
+
protected editorTemplate?: IgxCellEditorTemplateDirective;
|
|
4480
4524
|
/**
|
|
4481
4525
|
* @hidden
|
|
4482
4526
|
*/
|
|
4483
|
-
protected collapseIndicatorTemplate
|
|
4527
|
+
protected collapseIndicatorTemplate?: IgxCollapsibleIndicatorTemplateDirective;
|
|
4484
4528
|
/**
|
|
4485
4529
|
* @hidden
|
|
4486
4530
|
*/
|
|
4487
|
-
get calcWidth():
|
|
4531
|
+
get calcWidth(): string | number | null;
|
|
4488
4532
|
/** @hidden @internal **/
|
|
4489
4533
|
calcPixelWidth: number;
|
|
4490
4534
|
/**
|
|
@@ -5022,7 +5066,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5022
5066
|
*/
|
|
5023
5067
|
protected _applySelectableClass: boolean;
|
|
5024
5068
|
protected _vIndex: number;
|
|
5025
|
-
protected _pinningPosition:
|
|
5069
|
+
protected _pinningPosition: ColumnPinningPosition;
|
|
5026
5070
|
/**
|
|
5027
5071
|
* @hidden
|
|
5028
5072
|
*/
|
|
@@ -5054,7 +5098,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5054
5098
|
/**
|
|
5055
5099
|
* @hidden
|
|
5056
5100
|
*/
|
|
5057
|
-
protected _summaries:
|
|
5101
|
+
protected _summaries: null;
|
|
5058
5102
|
/**
|
|
5059
5103
|
* @hidden
|
|
5060
5104
|
*/
|
|
@@ -5062,7 +5106,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5062
5106
|
/**
|
|
5063
5107
|
* @hidden
|
|
5064
5108
|
*/
|
|
5065
|
-
protected _filters:
|
|
5109
|
+
protected _filters: IgxFilteringOperand;
|
|
5066
5110
|
/**
|
|
5067
5111
|
* @hidden
|
|
5068
5112
|
*/
|
|
@@ -5095,7 +5139,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5095
5139
|
/**
|
|
5096
5140
|
* @hidden
|
|
5097
5141
|
*/
|
|
5098
|
-
protected _maxWidth:
|
|
5142
|
+
protected _maxWidth: string;
|
|
5099
5143
|
/**
|
|
5100
5144
|
* @hidden
|
|
5101
5145
|
*/
|
|
@@ -5115,7 +5159,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5115
5159
|
/**
|
|
5116
5160
|
* @hidden
|
|
5117
5161
|
*/
|
|
5118
|
-
protected _visibleWhenCollapsed:
|
|
5162
|
+
protected _visibleWhenCollapsed: boolean;
|
|
5119
5163
|
/**
|
|
5120
5164
|
* @hidden
|
|
5121
5165
|
*/
|
|
@@ -5249,7 +5293,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5249
5293
|
/**
|
|
5250
5294
|
* @hidden
|
|
5251
5295
|
*/
|
|
5252
|
-
getCalcWidth():
|
|
5296
|
+
getCalcWidth(): string | number | null;
|
|
5253
5297
|
/**
|
|
5254
5298
|
* @hidden
|
|
5255
5299
|
* Returns the width and padding of a header cell.
|
|
@@ -5280,7 +5324,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5280
5324
|
* @hidden
|
|
5281
5325
|
* @internal
|
|
5282
5326
|
*/
|
|
5283
|
-
getConstrainedSizePx(newSize:
|
|
5327
|
+
getConstrainedSizePx(newSize: number): number;
|
|
5284
5328
|
/**
|
|
5285
5329
|
* @hidden
|
|
5286
5330
|
* @internal
|
|
@@ -5559,7 +5603,10 @@ declare class IgxColumnGroupComponent extends IgxColumnComponent implements Afte
|
|
|
5559
5603
|
*/
|
|
5560
5604
|
declare class IgxColumnLayoutComponent extends IgxColumnGroupComponent implements AfterContentInit {
|
|
5561
5605
|
/** @hidden @internal **/
|
|
5562
|
-
childrenVisibleIndexes:
|
|
5606
|
+
childrenVisibleIndexes: {
|
|
5607
|
+
column: IgxColumnComponent;
|
|
5608
|
+
index: number;
|
|
5609
|
+
}[];
|
|
5563
5610
|
/**
|
|
5564
5611
|
* Gets the width of the column layout.
|
|
5565
5612
|
* ```typescript
|
|
@@ -5574,7 +5621,7 @@ declare class IgxColumnLayoutComponent extends IgxColumnGroupComponent implement
|
|
|
5574
5621
|
/**
|
|
5575
5622
|
* @hidden
|
|
5576
5623
|
*/
|
|
5577
|
-
getCalcWidth():
|
|
5624
|
+
getCalcWidth(): string | number | null;
|
|
5578
5625
|
/**
|
|
5579
5626
|
* Gets the column visible index.
|
|
5580
5627
|
* If the column is not visible, returns `-1`.
|
|
@@ -5641,7 +5688,7 @@ declare class IgxGridNavigationService {
|
|
|
5641
5688
|
dispatchEvent(event: KeyboardEvent): void;
|
|
5642
5689
|
summaryNav(event: KeyboardEvent): void;
|
|
5643
5690
|
headerNavigation(event: KeyboardEvent): void;
|
|
5644
|
-
focusTbody(event:
|
|
5691
|
+
focusTbody(event: FocusEvent): void;
|
|
5645
5692
|
focusFirstCell(header?: boolean): void;
|
|
5646
5693
|
isColumnFullyVisible(columnIndex: number): boolean;
|
|
5647
5694
|
shouldPerformHorizontalScroll(visibleColIndex: number, rowIndex?: number): boolean;
|
|
@@ -5649,7 +5696,7 @@ declare class IgxGridNavigationService {
|
|
|
5649
5696
|
protected shouldNotifyVirtualizedKeyboardSelection(key: string, rowIndex: number, visibleColIndex: number): boolean;
|
|
5650
5697
|
performVerticalScrollToCell(rowIndex: number, visibleColIndex?: number, cb?: () => void): void;
|
|
5651
5698
|
performHorizontalScrollToCell(visibleColumnIndex: number, cb?: () => void): void;
|
|
5652
|
-
isDataRow(rowIndex: number, includeSummary?: boolean):
|
|
5699
|
+
isDataRow(rowIndex: number, includeSummary?: boolean): any;
|
|
5653
5700
|
isGroupRow(rowIndex: number): boolean;
|
|
5654
5701
|
setActiveNode(activeNode: IActiveNode): void;
|
|
5655
5702
|
isActiveNodeChanged(activeNode: IActiveNode): boolean;
|
|
@@ -5658,7 +5705,7 @@ declare class IgxGridNavigationService {
|
|
|
5658
5705
|
protected getNextPosition(rowIndex: number, colIndex: number, key: string, shift: boolean, ctrl: boolean, event: KeyboardEvent): {
|
|
5659
5706
|
rowIndex: number;
|
|
5660
5707
|
colIndex: number;
|
|
5661
|
-
};
|
|
5708
|
+
} | undefined;
|
|
5662
5709
|
protected horizontalNav(event: KeyboardEvent, key: string, rowIndex: number, tag: GridKeydownTargetType): void;
|
|
5663
5710
|
get lastColumnIndex(): number;
|
|
5664
5711
|
get displayContainerWidth(): number;
|
|
@@ -5668,14 +5715,14 @@ declare class IgxGridNavigationService {
|
|
|
5668
5715
|
protected forOfDir(): IgxForOfDirective<any>;
|
|
5669
5716
|
protected handleAlt(key: string, event: KeyboardEvent): void;
|
|
5670
5717
|
protected handleEditing(shift: boolean, event: KeyboardEvent): void;
|
|
5671
|
-
protected navigateInBody(rowIndex:
|
|
5672
|
-
protected emitKeyDown(type: GridKeydownTargetType, rowIndex:
|
|
5718
|
+
protected navigateInBody(rowIndex: number, visibleColIndex: number, cb?: (arg: any) => void): void;
|
|
5719
|
+
protected emitKeyDown(type: GridKeydownTargetType, rowIndex: number, event: KeyboardEvent): true | undefined;
|
|
5673
5720
|
protected isColumnPinned(columnIndex: number, forOfDir: IgxForOfDirective<any>): boolean;
|
|
5674
5721
|
protected findFirstDataRowIndex(): number;
|
|
5675
5722
|
protected findLastDataRowIndex(): number;
|
|
5676
|
-
protected getRowElementByIndex(index:
|
|
5723
|
+
protected getRowElementByIndex(index: number): HTMLElement | null;
|
|
5677
5724
|
protected isValidPosition(rowIndex: number, colIndex: number): boolean;
|
|
5678
|
-
protected performHeaderKeyCombination(column: any, key: any, shift: any, ctrl: any, alt: any, event:
|
|
5725
|
+
protected performHeaderKeyCombination(column: any, key: any, shift: any, ctrl: any, alt: any, event: KeyboardEvent): void;
|
|
5679
5726
|
private firstVisibleNode;
|
|
5680
5727
|
private handleMCHeaderNav;
|
|
5681
5728
|
private handleMCHExpandCollapse;
|
|
@@ -5751,7 +5798,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5751
5798
|
/**
|
|
5752
5799
|
* @hidden @internal
|
|
5753
5800
|
*/
|
|
5754
|
-
onDragMove(e:
|
|
5801
|
+
onDragMove(e: IDragMoveEventArgs): void;
|
|
5755
5802
|
/**
|
|
5756
5803
|
* @hidden @internal
|
|
5757
5804
|
*/
|
|
@@ -5763,7 +5810,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5763
5810
|
/**
|
|
5764
5811
|
* @hidden @internal
|
|
5765
5812
|
*/
|
|
5766
|
-
onClearButtonClick(event?:
|
|
5813
|
+
onClearButtonClick(event?: MouseEvent): void;
|
|
5767
5814
|
/**
|
|
5768
5815
|
* @hidden @internal
|
|
5769
5816
|
*/
|
|
@@ -5771,7 +5818,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5771
5818
|
/**
|
|
5772
5819
|
* @hidden @internal
|
|
5773
5820
|
*/
|
|
5774
|
-
applyChanges(event?:
|
|
5821
|
+
applyChanges(event?: MouseEvent): void;
|
|
5775
5822
|
/**
|
|
5776
5823
|
* @hidden @internal
|
|
5777
5824
|
*/
|
|
@@ -5779,7 +5826,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5779
5826
|
/**
|
|
5780
5827
|
* @hidden @internal
|
|
5781
5828
|
*/
|
|
5782
|
-
onApplyButtonClick(event?:
|
|
5829
|
+
onApplyButtonClick(event?: MouseEvent): void;
|
|
5783
5830
|
/**
|
|
5784
5831
|
* @hidden @internal
|
|
5785
5832
|
*/
|
|
@@ -5794,7 +5841,7 @@ declare abstract class BaseFilteringComponent {
|
|
|
5794
5841
|
element: ElementRef<any>;
|
|
5795
5842
|
protected platform: PlatformUtil;
|
|
5796
5843
|
abstract column: any;
|
|
5797
|
-
abstract get grid():
|
|
5844
|
+
abstract get grid(): GridType;
|
|
5798
5845
|
abstract overlayComponentId: string;
|
|
5799
5846
|
abstract mainDropdown: ElementRef<HTMLElement>;
|
|
5800
5847
|
abstract expressionsList: ExpressionUI[];
|
|
@@ -5811,7 +5858,7 @@ declare abstract class BaseFilteringComponent {
|
|
|
5811
5858
|
abstract detectChanges(): void;
|
|
5812
5859
|
abstract hide(): void;
|
|
5813
5860
|
abstract closeDropdown(): void;
|
|
5814
|
-
abstract onSelect(): void;
|
|
5861
|
+
abstract onSelect(event?: MouseEvent): void;
|
|
5815
5862
|
abstract onPin(): void;
|
|
5816
5863
|
abstract onHideToggle(): void;
|
|
5817
5864
|
abstract cancel(): void;
|
|
@@ -5867,7 +5914,7 @@ declare class IgxExcelStyleConditionalFilterComponent implements OnDestroy {
|
|
|
5867
5914
|
/**
|
|
5868
5915
|
* @hidden @internal
|
|
5869
5916
|
*/
|
|
5870
|
-
onTextFilterClick(eventArgs:
|
|
5917
|
+
onTextFilterClick(eventArgs: MouseEvent | KeyboardEvent): void;
|
|
5871
5918
|
/**
|
|
5872
5919
|
* @hidden @internal
|
|
5873
5920
|
*/
|
|
@@ -5892,7 +5939,7 @@ declare class IgxExcelStyleConditionalFilterComponent implements OnDestroy {
|
|
|
5892
5939
|
/**
|
|
5893
5940
|
* @hidden @internal
|
|
5894
5941
|
*/
|
|
5895
|
-
get subMenuText():
|
|
5942
|
+
get subMenuText(): string | undefined;
|
|
5896
5943
|
/**
|
|
5897
5944
|
* @hidden @internal
|
|
5898
5945
|
*/
|
|
@@ -5973,7 +6020,7 @@ declare class IgxExcelStyleMovingComponent {
|
|
|
5973
6020
|
/**
|
|
5974
6021
|
* @hidden @internal
|
|
5975
6022
|
*/
|
|
5976
|
-
onMoveButtonClicked(moveDirection:
|
|
6023
|
+
onMoveButtonClicked(moveDirection: number): void;
|
|
5977
6024
|
protected get esfSize(): string;
|
|
5978
6025
|
private findColumn;
|
|
5979
6026
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleMovingComponent, never>;
|
|
@@ -6201,7 +6248,7 @@ declare class IgxExcelStyleSortingComponent implements OnDestroy {
|
|
|
6201
6248
|
/**
|
|
6202
6249
|
* @hidden @internal
|
|
6203
6250
|
*/
|
|
6204
|
-
onSortButtonClicked(sortDirection:
|
|
6251
|
+
onSortButtonClicked(sortDirection: number): void;
|
|
6205
6252
|
protected get esfSize(): string;
|
|
6206
6253
|
private updateSelectedButtons;
|
|
6207
6254
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleSortingComponent, never>;
|
|
@@ -6229,7 +6276,7 @@ declare class IgxExcelStyleFilterOperationsTemplateDirective {
|
|
|
6229
6276
|
*/
|
|
6230
6277
|
declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent implements AfterViewInit, OnDestroy {
|
|
6231
6278
|
private document;
|
|
6232
|
-
protected gridAPI?: GridType;
|
|
6279
|
+
protected gridAPI?: GridType | null | undefined;
|
|
6233
6280
|
/**
|
|
6234
6281
|
* @hidden @internal
|
|
6235
6282
|
*/
|
|
@@ -6364,7 +6411,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6364
6411
|
/**
|
|
6365
6412
|
* @hidden @internal
|
|
6366
6413
|
*/
|
|
6367
|
-
get grid():
|
|
6414
|
+
get grid(): GridType;
|
|
6368
6415
|
/**
|
|
6369
6416
|
* @hidden @internal
|
|
6370
6417
|
*/
|
|
@@ -6388,7 +6435,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6388
6435
|
/**
|
|
6389
6436
|
* @hidden @internal
|
|
6390
6437
|
*/
|
|
6391
|
-
onSelect(): void;
|
|
6438
|
+
onSelect(event?: MouseEvent): void;
|
|
6392
6439
|
/**
|
|
6393
6440
|
* @hidden @internal
|
|
6394
6441
|
*/
|
|
@@ -6417,7 +6464,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6417
6464
|
* @hidden @internal
|
|
6418
6465
|
*/
|
|
6419
6466
|
detectChanges(): void;
|
|
6420
|
-
protected computedStyles:
|
|
6467
|
+
protected computedStyles: CSSStyleDeclaration;
|
|
6421
6468
|
protected get size(): string;
|
|
6422
6469
|
protected afterColumnChange(): void;
|
|
6423
6470
|
private init;
|
|
@@ -6476,14 +6523,14 @@ declare class IgxExcelStyleDefaultExpressionComponent implements AfterViewInit {
|
|
|
6476
6523
|
translateCondition(value: string): string;
|
|
6477
6524
|
getIconName(): string;
|
|
6478
6525
|
isConditionSelected(conditionName: string): boolean;
|
|
6479
|
-
onConditionsChanged(eventArgs:
|
|
6526
|
+
onConditionsChanged(eventArgs: ISelectionEventArgs): void;
|
|
6480
6527
|
getCondition(value: string): IFilteringOperation;
|
|
6481
6528
|
getConditionFriendlyName(name: string): string;
|
|
6482
|
-
updateSearchValueOnBlur(eventArgs:
|
|
6483
|
-
onLogicOperatorButtonClicked(eventArgs:
|
|
6529
|
+
updateSearchValueOnBlur(eventArgs: FocusEvent): void;
|
|
6530
|
+
onLogicOperatorButtonClicked(eventArgs: MouseEvent, buttonIndex: number): void;
|
|
6484
6531
|
onLogicOperatorKeyDown(eventArgs: KeyboardEvent, buttonIndex: number): void;
|
|
6485
6532
|
onRemoveButtonClick(): void;
|
|
6486
|
-
onOutletPointerDown(event:
|
|
6533
|
+
onOutletPointerDown(event: PointerEvent): void;
|
|
6487
6534
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleDefaultExpressionComponent, never>;
|
|
6488
6535
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxExcelStyleDefaultExpressionComponent, "igx-excel-style-default-expression", never, { "column": { "alias": "column"; "required": false; }; "expressionUI": { "alias": "expressionUI"; "required": false; }; "expressionsList": { "alias": "expressionsList"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; }, { "expressionRemoved": "expressionRemoved"; "logicOperatorChanged": "logicOperatorChanged"; }, never, never, true, never>;
|
|
6489
6536
|
}
|
|
@@ -6515,7 +6562,7 @@ declare class IgxGridActionButtonComponent {
|
|
|
6515
6562
|
* <igx-grid-action-button (actionClick)="startEdit($event)"></igx-grid-action-button>
|
|
6516
6563
|
* ```
|
|
6517
6564
|
*/
|
|
6518
|
-
actionClick: EventEmitter<
|
|
6565
|
+
actionClick: EventEmitter<MouseEvent>;
|
|
6519
6566
|
/**
|
|
6520
6567
|
* Reference to the current template.
|
|
6521
6568
|
*
|
|
@@ -6539,190 +6586,27 @@ declare class IgxGridActionButtonComponent {
|
|
|
6539
6586
|
get containerClass(): string;
|
|
6540
6587
|
/**
|
|
6541
6588
|
* The name of the icon set. Used in case the icon is from a different icon set.
|
|
6542
|
-
*/
|
|
6543
|
-
iconSet: string;
|
|
6544
|
-
/**
|
|
6545
|
-
* The text of the label.
|
|
6546
|
-
*/
|
|
6547
|
-
labelText: string;
|
|
6548
|
-
/**
|
|
6549
|
-
* @hidden
|
|
6550
|
-
* @internal
|
|
6551
|
-
*/
|
|
6552
|
-
handleClick(event: any): void;
|
|
6553
|
-
/**
|
|
6554
|
-
* @hidden @internal
|
|
6555
|
-
*/
|
|
6556
|
-
preventEvent(event: any): void;
|
|
6557
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridActionButtonComponent, never>;
|
|
6558
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridActionButtonComponent, "igx-grid-action-button", never, { "asMenuItem": { "alias": "asMenuItem"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "classNames": { "alias": "classNames"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
|
|
6559
|
-
static ngAcceptInputType_asMenuItem: unknown;
|
|
6560
|
-
}
|
|
6561
|
-
|
|
6562
|
-
declare class IgxGridSelectionService {
|
|
6563
|
-
private zone;
|
|
6564
|
-
protected platform: PlatformUtil;
|
|
6565
|
-
grid: GridType;
|
|
6566
|
-
dragMode: boolean;
|
|
6567
|
-
activeElement: ISelectionNode | null;
|
|
6568
|
-
keyboardState: ISelectionKeyboardState;
|
|
6569
|
-
pointerState: ISelectionPointerState;
|
|
6570
|
-
columnsState: IColumnSelectionState;
|
|
6571
|
-
selection: Map<number, Set<number>>;
|
|
6572
|
-
temp: Map<number, Set<number>>;
|
|
6573
|
-
rowSelection: Set<any>;
|
|
6574
|
-
indeterminateRows: Set<any>;
|
|
6575
|
-
columnSelection: Set<string>;
|
|
6576
|
-
/**
|
|
6577
|
-
* @hidden @internal
|
|
6578
|
-
*/
|
|
6579
|
-
selectedRowsChange: Subject<any[]>;
|
|
6580
|
-
/**
|
|
6581
|
-
* @hidden @internal
|
|
6582
|
-
*/
|
|
6583
|
-
selectedRangeChange: Subject<Map<number, Set<number>>>;
|
|
6584
|
-
/**
|
|
6585
|
-
* Toggled when a pointerdown event is triggered inside the grid body (cells).
|
|
6586
|
-
* When `false` the drag select behavior is disabled.
|
|
6587
|
-
*/
|
|
6588
|
-
private pointerEventInGridBody;
|
|
6589
|
-
private allRowsSelected;
|
|
6590
|
-
private _lastSelectedNode;
|
|
6591
|
-
private _ranges;
|
|
6592
|
-
private _selectionRange;
|
|
6593
|
-
/**
|
|
6594
|
-
* Returns the current selected ranges in the grid from both
|
|
6595
|
-
* keyboard and pointer interactions
|
|
6596
|
-
*/
|
|
6597
|
-
get ranges(): GridSelectionRange[];
|
|
6598
|
-
get primaryButton(): boolean;
|
|
6599
|
-
set primaryButton(value: boolean);
|
|
6600
|
-
constructor();
|
|
6601
|
-
/**
|
|
6602
|
-
* Resets the keyboard state
|
|
6603
|
-
*/
|
|
6604
|
-
initKeyboardState(): void;
|
|
6605
|
-
/**
|
|
6606
|
-
* Resets the pointer state
|
|
6607
|
-
*/
|
|
6608
|
-
initPointerState(): void;
|
|
6609
|
-
/**
|
|
6610
|
-
* Resets the columns state
|
|
6611
|
-
*/
|
|
6612
|
-
initColumnsState(): void;
|
|
6613
|
-
/**
|
|
6614
|
-
* Adds a single node.
|
|
6615
|
-
* Single clicks | Ctrl + single clicks on cells is the usual case.
|
|
6616
|
-
*/
|
|
6617
|
-
add(node: ISelectionNode, addToRange?: boolean): void;
|
|
6618
|
-
/**
|
|
6619
|
-
* Adds the active keyboard range selection (if any) to the `ranges` meta.
|
|
6620
|
-
*/
|
|
6621
|
-
addKeyboardRange(): void;
|
|
6622
|
-
remove(node: ISelectionNode): void;
|
|
6623
|
-
isInMap(node: ISelectionNode): boolean;
|
|
6624
|
-
selected(node: ISelectionNode): boolean;
|
|
6625
|
-
isActiveNode(node: ISelectionNode): boolean;
|
|
6626
|
-
isActiveLayout(current: IMultiRowLayoutNode, target: IMultiRowLayoutNode): boolean;
|
|
6627
|
-
addRangeMeta(node: ISelectionNode, state?: SelectionState): void;
|
|
6628
|
-
removeRangeMeta(node: ISelectionNode, state?: SelectionState): void;
|
|
6589
|
+
*/
|
|
6590
|
+
iconSet: string;
|
|
6629
6591
|
/**
|
|
6630
|
-
*
|
|
6631
|
-
* If `state` is passed instead it will generate the range based on the passed `node`
|
|
6632
|
-
* and the start node of the `state`.
|
|
6592
|
+
* The text of the label.
|
|
6633
6593
|
*/
|
|
6634
|
-
|
|
6594
|
+
labelText: string;
|
|
6635
6595
|
/**
|
|
6636
|
-
*
|
|
6596
|
+
* @hidden
|
|
6597
|
+
* @internal
|
|
6637
6598
|
*/
|
|
6638
|
-
|
|
6639
|
-
keyboardStateOnFocus(node: ISelectionNode, emitter: EventEmitter<GridSelectionRange>, dom: any): void;
|
|
6640
|
-
pointerDown(node: ISelectionNode, shift: boolean, ctrl: boolean): void;
|
|
6641
|
-
pointerDownShiftKey(node: ISelectionNode): void;
|
|
6642
|
-
mergeMap(target: Map<number, Set<number>>, source: Map<number, Set<number>>): void;
|
|
6643
|
-
pointerEnter(node: ISelectionNode, event: PointerEvent): boolean;
|
|
6644
|
-
pointerUp(node: ISelectionNode, emitter: EventEmitter<GridSelectionRange>, firedOutsideGrid?: boolean): boolean;
|
|
6645
|
-
selectRange(node: ISelectionNode, state: SelectionState, collection?: Map<number, Set<number>>): void;
|
|
6646
|
-
dragSelect(node: ISelectionNode, state: SelectionState): void;
|
|
6647
|
-
clear(clearAcriveEl?: boolean): void;
|
|
6648
|
-
clearTextSelection(): void;
|
|
6649
|
-
restoreTextSelection(): void;
|
|
6650
|
-
getSelectedRowsData(): any[];
|
|
6651
|
-
/** Returns array of the selected row id's. */
|
|
6652
|
-
getSelectedRows(): Array<any>;
|
|
6653
|
-
/** Returns array of the rows in indeterminate state. */
|
|
6654
|
-
getIndeterminateRows(): Array<any>;
|
|
6655
|
-
/** Clears row selection, if filtering is applied clears only selected rows from filtered data. */
|
|
6656
|
-
clearRowSelection(event?: any): void;
|
|
6657
|
-
/** Select all rows, if filtering is applied select only from filtered data. */
|
|
6658
|
-
selectAllRows(event?: any): void;
|
|
6659
|
-
/** Select the specified row and emit event. */
|
|
6660
|
-
selectRowById(rowID: any, clearPrevSelection?: any, event?: any): void;
|
|
6661
|
-
selectPivotRowById(rowID: any, clearPrevSelection: boolean, event?: any): void;
|
|
6662
|
-
/** Deselect the specified row and emit event. */
|
|
6663
|
-
deselectRow(rowID: any, event?: any): void;
|
|
6664
|
-
deselectPivotRowByID(rowID: any, event?: any): void;
|
|
6665
|
-
private emitRowSelectionEventPivotGrid;
|
|
6666
|
-
/** Select the specified rows and emit event. */
|
|
6667
|
-
selectRows(keys: any[], clearPrevSelection?: boolean, event?: any): void;
|
|
6668
|
-
deselectRows(keys: any[], event?: any): void;
|
|
6669
|
-
/** Select specified rows. No event is emitted. */
|
|
6670
|
-
selectRowsWithNoEvent(rowIDs: any[], clearPrevSelection?: any): void;
|
|
6671
|
-
/** Deselect specified rows. No event is emitted. */
|
|
6672
|
-
deselectRowsWithNoEvent(rowIDs: any[]): void;
|
|
6673
|
-
isRowSelected(rowID: any): boolean;
|
|
6674
|
-
isPivotRowSelected(rowID: any): boolean;
|
|
6675
|
-
isRowInIndeterminateState(rowID: any): boolean;
|
|
6676
|
-
/** Select range from last selected row to the current specified row. */
|
|
6677
|
-
selectMultipleRows(rowID: any, rowData: any, event?: any): void;
|
|
6678
|
-
areAllRowSelected(newSelection?: any): boolean;
|
|
6679
|
-
hasSomeRowSelected(): boolean;
|
|
6680
|
-
get filteredSelectedRowIds(): any[];
|
|
6681
|
-
emitRowSelectionEvent(newSelection: any, added: any, removed: any, event?: any, currSelection?: any): boolean;
|
|
6682
|
-
getPivotRowsByIds(ids: any[]): any[];
|
|
6683
|
-
getRowDataById(rowID: any): any;
|
|
6684
|
-
clearHeaderCBState(): void;
|
|
6685
|
-
getRowIDs(data: any): Array<any>;
|
|
6686
|
-
getRecordKey(record: any): any;
|
|
6687
|
-
/** Clear rowSelection and update checkbox state */
|
|
6688
|
-
clearAllSelectedRows(): void;
|
|
6689
|
-
/** Returns all data in the grid, with applied filtering and sorting and without deleted rows. */
|
|
6690
|
-
get allData(): Array<any>;
|
|
6691
|
-
/** Returns array of the selected columns fields. */
|
|
6692
|
-
getSelectedColumns(): Array<any>;
|
|
6693
|
-
isColumnSelected(field: string): boolean;
|
|
6694
|
-
/** Select the specified column and emit event. */
|
|
6695
|
-
selectColumn(field: string, clearPrevSelection?: any, selectColumnsRange?: any, event?: any): void;
|
|
6696
|
-
/** Select specified columns. And emit event. */
|
|
6697
|
-
selectColumns(fields: string[], clearPrevSelection?: any, selectColumnsRange?: any, event?: any): void;
|
|
6698
|
-
/** Select range from last clicked column to the current specified column. */
|
|
6699
|
-
selectColumnsRange(field: string, event: any): void;
|
|
6700
|
-
/** Select specified columns. No event is emitted. */
|
|
6701
|
-
selectColumnsWithNoEvent(fields: string[], clearPrevSelection?: any): void;
|
|
6702
|
-
/** Deselect the specified column and emit event. */
|
|
6703
|
-
deselectColumn(field: string, event?: any): void;
|
|
6704
|
-
/** Deselect specified columns. No event is emitted. */
|
|
6705
|
-
deselectColumnsWithNoEvent(fields: string[]): void;
|
|
6706
|
-
/** Deselect specified columns. And emit event. */
|
|
6707
|
-
deselectColumns(fields: string[], event?: any): void;
|
|
6708
|
-
emitColumnSelectionEvent(newSelection: any, added: any, removed: any, event?: any): boolean;
|
|
6709
|
-
/** Clear columnSelection */
|
|
6710
|
-
clearAllSelectedColumns(): void;
|
|
6711
|
-
protected areEqualCollections(first: any, second: any): boolean;
|
|
6599
|
+
handleClick(event: MouseEvent): void;
|
|
6712
6600
|
/**
|
|
6713
|
-
*
|
|
6714
|
-
* Chrome and Chromium don't care about the active
|
|
6715
|
-
* range after keyboard navigation, thus this.
|
|
6601
|
+
* @hidden @internal
|
|
6716
6602
|
*/
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridSelectionService, never>;
|
|
6722
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridSelectionService>;
|
|
6603
|
+
preventEvent(event: Event): void;
|
|
6604
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridActionButtonComponent, never>;
|
|
6605
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridActionButtonComponent, "igx-grid-action-button", never, { "asMenuItem": { "alias": "asMenuItem"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "classNames": { "alias": "classNames"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
|
|
6606
|
+
static ngAcceptInputType_asMenuItem: unknown;
|
|
6723
6607
|
}
|
|
6724
6608
|
|
|
6725
|
-
declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
6609
|
+
declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy, RowType {
|
|
6726
6610
|
grid: GridType;
|
|
6727
6611
|
selectionService: IgxGridSelectionService;
|
|
6728
6612
|
element: ElementRef<HTMLElement>;
|
|
@@ -6798,7 +6682,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
|
6798
6682
|
*/
|
|
6799
6683
|
set expanded(val: boolean);
|
|
6800
6684
|
get addRowUI(): any;
|
|
6801
|
-
get rowHeight(): number;
|
|
6685
|
+
get rowHeight(): number | null;
|
|
6802
6686
|
/**
|
|
6803
6687
|
* @hidden
|
|
6804
6688
|
*/
|
|
@@ -6949,7 +6833,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
|
6949
6833
|
/**
|
|
6950
6834
|
* @hidden
|
|
6951
6835
|
*/
|
|
6952
|
-
onRowSelectorClick(event:
|
|
6836
|
+
onRowSelectorClick(event: MouseEvent): void;
|
|
6953
6837
|
/**
|
|
6954
6838
|
* Updates the specified row object and the data source record with the passed value.
|
|
6955
6839
|
*
|
|
@@ -6970,7 +6854,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
|
6970
6854
|
* ```
|
|
6971
6855
|
*/
|
|
6972
6856
|
delete(): void;
|
|
6973
|
-
isCellActive(visibleColumnIndex:
|
|
6857
|
+
isCellActive(visibleColumnIndex: number): boolean;
|
|
6974
6858
|
/**
|
|
6975
6859
|
* Pins the specified row.
|
|
6976
6860
|
* This method emits `rowPinning`\`rowPinned` event.
|
|
@@ -7021,7 +6905,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
|
7021
6905
|
* @hidden
|
|
7022
6906
|
*/
|
|
7023
6907
|
animationEndHandler(): void;
|
|
7024
|
-
protected getMergeCellSpan(col: ColumnType): string;
|
|
6908
|
+
protected getMergeCellSpan(col: ColumnType): string | null;
|
|
7025
6909
|
protected isSelectionRoot(col: ColumnType): boolean;
|
|
7026
6910
|
protected isHoveredRoot(col: ColumnType): boolean;
|
|
7027
6911
|
protected extractRecordKey(rec: any): any;
|
|
@@ -7143,11 +7027,11 @@ declare class IgxGridEditingActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7143
7027
|
* this.gridEditingActions.startEdit();
|
|
7144
7028
|
* ```
|
|
7145
7029
|
*/
|
|
7146
|
-
startEdit(event?:
|
|
7030
|
+
startEdit(event?: MouseEvent): void;
|
|
7147
7031
|
/** @hidden @internal **/
|
|
7148
|
-
deleteRowHandler(event?:
|
|
7032
|
+
deleteRowHandler(event?: MouseEvent): void;
|
|
7149
7033
|
/** @hidden @internal **/
|
|
7150
|
-
addRowHandler(event?:
|
|
7034
|
+
addRowHandler(event?: MouseEvent, asChild?: boolean): void;
|
|
7151
7035
|
/**
|
|
7152
7036
|
* @hidden
|
|
7153
7037
|
* @internal
|
|
@@ -7204,7 +7088,7 @@ declare class IgxGridPinningActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7204
7088
|
* this.gridPinningActions.pin();
|
|
7205
7089
|
* ```
|
|
7206
7090
|
*/
|
|
7207
|
-
pin(event?:
|
|
7091
|
+
pin(event?: MouseEvent): void;
|
|
7208
7092
|
/**
|
|
7209
7093
|
* Unpin the row according to the context.
|
|
7210
7094
|
*
|
|
@@ -7213,8 +7097,8 @@ declare class IgxGridPinningActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7213
7097
|
* this.gridPinningActions.unpin();
|
|
7214
7098
|
* ```
|
|
7215
7099
|
*/
|
|
7216
|
-
unpin(event?:
|
|
7217
|
-
scrollToRow(event:
|
|
7100
|
+
unpin(event?: MouseEvent): void;
|
|
7101
|
+
scrollToRow(event: MouseEvent): void;
|
|
7218
7102
|
private registerSVGIcons;
|
|
7219
7103
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridPinningActionsComponent, never>;
|
|
7220
7104
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridPinningActionsComponent, "igx-grid-pinning-actions", never, {}, {}, never, never, true, never>;
|
|
@@ -7324,8 +7208,8 @@ declare class IgxGridEmptyTemplateDirective {
|
|
|
7324
7208
|
declare class IgxGroupAreaDropDirective extends IgxDropDirective {
|
|
7325
7209
|
private groupArea;
|
|
7326
7210
|
hovered: boolean;
|
|
7327
|
-
onDragEnter(event:
|
|
7328
|
-
onDragLeave(event:
|
|
7211
|
+
onDragEnter(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
7212
|
+
onDragLeave(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
7329
7213
|
private closestParentByAttr;
|
|
7330
7214
|
private columnBelongsToGrid;
|
|
7331
7215
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupAreaDropDirective, never>;
|
|
@@ -7394,7 +7278,7 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7394
7278
|
ngAfterViewInit(): void;
|
|
7395
7279
|
get disabled(): boolean;
|
|
7396
7280
|
get template(): TemplateRef<any>;
|
|
7397
|
-
get type(): "number" | "text";
|
|
7281
|
+
get type(): "number" | "text" | undefined;
|
|
7398
7282
|
get conditions(): any;
|
|
7399
7283
|
get isUnaryCondition(): boolean;
|
|
7400
7284
|
get placeholder(): string;
|
|
@@ -7413,7 +7297,7 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7413
7297
|
/**
|
|
7414
7298
|
* Event handler for input on the input.
|
|
7415
7299
|
*/
|
|
7416
|
-
onInput(eventArgs:
|
|
7300
|
+
onInput(eventArgs: InputEvent | Date): void;
|
|
7417
7301
|
private handleInputChange;
|
|
7418
7302
|
/**
|
|
7419
7303
|
* Event handler for compositionstart on the input.
|
|
@@ -7492,11 +7376,11 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7492
7376
|
/**
|
|
7493
7377
|
* Opens the logic operators dropdown.
|
|
7494
7378
|
*/
|
|
7495
|
-
toggleOperatorsDropDown(eventArgs: any, index:
|
|
7379
|
+
toggleOperatorsDropDown(eventArgs: any, index: number): void;
|
|
7496
7380
|
/**
|
|
7497
7381
|
* Event handler for change event in conditions dropdown.
|
|
7498
7382
|
*/
|
|
7499
|
-
onConditionsChanged(eventArgs:
|
|
7383
|
+
onConditionsChanged(eventArgs: ISelectionEventArgs): void;
|
|
7500
7384
|
onChipPointerdown(_args: any, chip: IgxChipComponent): void;
|
|
7501
7385
|
onChipClick(_args: any, item: ExpressionUI): void;
|
|
7502
7386
|
toggleChip(item: ExpressionUI): void;
|
|
@@ -7569,7 +7453,7 @@ declare class IgxGridHeaderRowComponent implements DoCheck {
|
|
|
7569
7453
|
* @hidden @internal
|
|
7570
7454
|
*/
|
|
7571
7455
|
role: string;
|
|
7572
|
-
get activeDescendant(): string;
|
|
7456
|
+
get activeDescendant(): string | null;
|
|
7573
7457
|
hasMRL: boolean;
|
|
7574
7458
|
width: number;
|
|
7575
7459
|
/**
|
|
@@ -7675,10 +7559,10 @@ declare class IgxRowDragDirective extends IgxDragDirective implements OnDestroy
|
|
|
7675
7559
|
private subscription$;
|
|
7676
7560
|
private _rowDragStarted;
|
|
7677
7561
|
private get row();
|
|
7678
|
-
onPointerDown(event:
|
|
7679
|
-
onPointerMove(event:
|
|
7680
|
-
onPointerUp(event:
|
|
7681
|
-
protected createGhost(pageX:
|
|
7562
|
+
onPointerDown(event: PointerEvent): void;
|
|
7563
|
+
onPointerMove(event: PointerEvent): void;
|
|
7564
|
+
onPointerUp(event: PointerEvent): void;
|
|
7565
|
+
protected createGhost(pageX: number, pageY: number): void;
|
|
7682
7566
|
private _unsubscribe;
|
|
7683
7567
|
private endDragging;
|
|
7684
7568
|
private transitionEndEvent;
|
|
@@ -7864,12 +7748,11 @@ interface IColumnState {
|
|
|
7864
7748
|
}
|
|
7865
7749
|
type GridFeatures = keyof IGridStateOptions;
|
|
7866
7750
|
declare class IgxGridStateBaseDirective {
|
|
7867
|
-
grid: GridType;
|
|
7751
|
+
grid: GridType | null;
|
|
7868
7752
|
protected viewRef: ViewContainerRef;
|
|
7869
7753
|
protected envInjector: EnvironmentInjector;
|
|
7870
7754
|
protected injector: Injector;
|
|
7871
7755
|
private featureKeys;
|
|
7872
|
-
private state;
|
|
7873
7756
|
private currGrid;
|
|
7874
7757
|
protected _options: IGridStateOptions;
|
|
7875
7758
|
private FEATURES;
|
|
@@ -8281,7 +8164,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8281
8164
|
*
|
|
8282
8165
|
* @memberof IgxCsvExporterOptions
|
|
8283
8166
|
*/
|
|
8284
|
-
get valueDelimiter():
|
|
8167
|
+
get valueDelimiter(): string;
|
|
8285
8168
|
/**
|
|
8286
8169
|
* Sets a value delimiter which will overwrite the default delimiter of the selected export format.
|
|
8287
8170
|
* ```typescript
|
|
@@ -8290,7 +8173,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8290
8173
|
*
|
|
8291
8174
|
* @memberof IgxCsvExporterOptions
|
|
8292
8175
|
*/
|
|
8293
|
-
set valueDelimiter(value:
|
|
8176
|
+
set valueDelimiter(value: string);
|
|
8294
8177
|
/**
|
|
8295
8178
|
* Gets the CSV export format.
|
|
8296
8179
|
* ```typescript
|
|
@@ -8299,7 +8182,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8299
8182
|
*
|
|
8300
8183
|
* @memberof IgxCsvExporterOptions
|
|
8301
8184
|
*/
|
|
8302
|
-
get fileType():
|
|
8185
|
+
get fileType(): CsvFileTypes;
|
|
8303
8186
|
/**
|
|
8304
8187
|
* Sets the CSV export format.
|
|
8305
8188
|
* ```typescript
|
|
@@ -8308,7 +8191,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8308
8191
|
*
|
|
8309
8192
|
* @memberof IgxCsvExporterOptions
|
|
8310
8193
|
*/
|
|
8311
|
-
set fileType(value:
|
|
8194
|
+
set fileType(value: CsvFileTypes);
|
|
8312
8195
|
private setFileType;
|
|
8313
8196
|
private setDelimiter;
|
|
8314
8197
|
}
|
|
@@ -8890,7 +8773,7 @@ declare class IgxTreeGridRow extends BaseRow implements RowType {
|
|
|
8890
8773
|
/**
|
|
8891
8774
|
* @hidden
|
|
8892
8775
|
*/
|
|
8893
|
-
constructor(grid: GridType, index: number, data?: any, _treeRow?: ITreeGridRecord);
|
|
8776
|
+
constructor(grid: GridType, index: number, data?: any, _treeRow?: ITreeGridRecord | undefined);
|
|
8894
8777
|
/**
|
|
8895
8778
|
* Returns the view index calculated per the grid page.
|
|
8896
8779
|
*/
|
|
@@ -9007,7 +8890,7 @@ declare class IgxGroupByRow implements RowType {
|
|
|
9007
8890
|
/**
|
|
9008
8891
|
* @hidden
|
|
9009
8892
|
*/
|
|
9010
|
-
constructor(grid: GridType, index: number, _groupRow?: IGroupByRecord);
|
|
8893
|
+
constructor(grid: GridType, index: number, _groupRow?: IGroupByRecord | undefined);
|
|
9011
8894
|
/**
|
|
9012
8895
|
* Gets whether the row is selected.
|
|
9013
8896
|
* Default value is `false`.
|
|
@@ -9067,7 +8950,7 @@ declare class IgxSummaryRow implements RowType {
|
|
|
9067
8950
|
/**
|
|
9068
8951
|
* @hidden
|
|
9069
8952
|
*/
|
|
9070
|
-
constructor(grid: GridType, index: number, _summaries?: Map<string, IgxSummaryResult[]>);
|
|
8953
|
+
constructor(grid: GridType, index: number, _summaries?: Map<string, IgxSummaryResult[]> | undefined);
|
|
9071
8954
|
private getRootParent;
|
|
9072
8955
|
}
|
|
9073
8956
|
|
|
@@ -9375,7 +9258,7 @@ declare class IgxGridPaginatorOptionsPipe implements PipeTransform {
|
|
|
9375
9258
|
* @internal
|
|
9376
9259
|
*/
|
|
9377
9260
|
declare class IgxHasVisibleColumnsPipe implements PipeTransform {
|
|
9378
|
-
transform(values: any[], hasVisibleColumns:
|
|
9261
|
+
transform(values: any[], hasVisibleColumns: boolean): any[];
|
|
9379
9262
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxHasVisibleColumnsPipe, never>;
|
|
9380
9263
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxHasVisibleColumnsPipe, "visibleColumns", true>;
|
|
9381
9264
|
}
|
|
@@ -9384,7 +9267,7 @@ declare class IgxHasVisibleColumnsPipe implements PipeTransform {
|
|
|
9384
9267
|
*/
|
|
9385
9268
|
declare class IgxGridRowPinningPipe implements PipeTransform {
|
|
9386
9269
|
private grid;
|
|
9387
|
-
transform(collection: any[], _id: string, isPinned: boolean, _pipeTrigger: number): any[];
|
|
9270
|
+
transform(collection: any[], _id: string, isPinned: boolean | undefined, _pipeTrigger: number): any[];
|
|
9388
9271
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridRowPinningPipe, never>;
|
|
9389
9272
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridRowPinningPipe, "gridRowPinning", true>;
|
|
9390
9273
|
}
|
|
@@ -9399,7 +9282,7 @@ declare class IgxStringReplacePipe implements PipeTransform {
|
|
|
9399
9282
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxStringReplacePipe, "igxStringReplace", true>;
|
|
9400
9283
|
}
|
|
9401
9284
|
declare class IgxGridTransactionStatePipe implements PipeTransform {
|
|
9402
|
-
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any):
|
|
9285
|
+
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any): any;
|
|
9403
9286
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridTransactionStatePipe, never>;
|
|
9404
9287
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridTransactionStatePipe, "transactionState", true>;
|
|
9405
9288
|
}
|
|
@@ -9415,7 +9298,7 @@ declare class IgxSummaryFormatterPipe implements PipeTransform {
|
|
|
9415
9298
|
}
|
|
9416
9299
|
declare class IgxGridAddRowPipe implements PipeTransform {
|
|
9417
9300
|
private grid;
|
|
9418
|
-
transform(collection: any, isPinned: boolean, _pipeTrigger: number): any;
|
|
9301
|
+
transform(collection: any, isPinned: boolean | undefined, _pipeTrigger: number): any;
|
|
9419
9302
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridAddRowPipe, never>;
|
|
9420
9303
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridAddRowPipe, "gridAddRow", true>;
|
|
9421
9304
|
}
|
|
@@ -9432,7 +9315,7 @@ declare class PivotRowDimensionsStrategy implements IPivotDimensionStrategy {
|
|
|
9432
9315
|
}
|
|
9433
9316
|
declare class PivotColumnDimensionsStrategy implements IPivotDimensionStrategy {
|
|
9434
9317
|
private static _instance;
|
|
9435
|
-
static instance(): PivotRowDimensionsStrategy
|
|
9318
|
+
static instance(): PivotRowDimensionsStrategy;
|
|
9436
9319
|
process(collection: IPivotGridRecord[], columns: IPivotDimension[], values: IPivotValue[], cloneStrategy: IDataCloneStrategy, pivotKeys?: IPivotKeys): any[];
|
|
9437
9320
|
private processHierarchy;
|
|
9438
9321
|
private groupColumns;
|
|
@@ -9447,31 +9330,50 @@ declare class DimensionValuesFilteringStrategy extends FilteringStrategy {
|
|
|
9447
9330
|
* @param fields An array of column field names that should be formatted.
|
|
9448
9331
|
* If omitted the values of all columns which has formatter will be formatted.
|
|
9449
9332
|
*/
|
|
9450
|
-
constructor(fields?: string[]);
|
|
9333
|
+
constructor(fields?: string[] | undefined);
|
|
9451
9334
|
protected getFieldValue(rec: any, fieldName: string, _isDate?: boolean, _isTime?: boolean, grid?: PivotGridType): any;
|
|
9452
9335
|
getFilterItems(column: ColumnType, tree: IFilteringExpressionsTree): Promise<IgxFilterItem[]>;
|
|
9453
9336
|
private _getFilterItems;
|
|
9454
9337
|
private _getDimensionValueHierarchy;
|
|
9455
9338
|
}
|
|
9456
9339
|
|
|
9340
|
+
interface IGroupingDoneEventArgs extends IBaseEventArgs {
|
|
9341
|
+
expressions: Array<ISortingExpression> | ISortingExpression;
|
|
9342
|
+
groupedColumns: Array<IgxColumnComponent> | IgxColumnComponent;
|
|
9343
|
+
ungroupedColumns: Array<IgxColumnComponent> | IgxColumnComponent;
|
|
9344
|
+
}
|
|
9345
|
+
|
|
9346
|
+
/**
|
|
9347
|
+
* @hidden
|
|
9348
|
+
* The argument shapes `clearSummaryCache` is called with: row data events, cell edit
|
|
9349
|
+
* events, or a bare `{ rowID }` (see IgxTreeGridAPIService).
|
|
9350
|
+
*/
|
|
9351
|
+
type SummaryCacheArgs = Partial<IRowDataEventArgs> & {
|
|
9352
|
+
rowID?: any;
|
|
9353
|
+
cellID?: {
|
|
9354
|
+
rowID: any;
|
|
9355
|
+
columnID: number;
|
|
9356
|
+
rowIndex: number;
|
|
9357
|
+
};
|
|
9358
|
+
};
|
|
9457
9359
|
/** @hidden */
|
|
9458
9360
|
declare class IgxGridSummaryService {
|
|
9459
9361
|
grid: GridType;
|
|
9460
9362
|
rootSummaryID: string;
|
|
9461
9363
|
summaryHeight: number;
|
|
9462
9364
|
maxSummariesLength: number;
|
|
9463
|
-
groupingExpressions:
|
|
9365
|
+
groupingExpressions: IGroupingExpression[];
|
|
9464
9366
|
retriggerRootPipe: number;
|
|
9465
9367
|
deleteOperation: boolean;
|
|
9466
9368
|
protected summaryCacheMap: Map<string, Map<string, any[]>>;
|
|
9467
9369
|
recalculateSummaries(): void;
|
|
9468
|
-
clearSummaryCache(args?:
|
|
9370
|
+
clearSummaryCache(args?: SummaryCacheArgs): void;
|
|
9469
9371
|
removeSummaries(rowID: any, columnName?: any): void;
|
|
9470
|
-
removeSummariesCachePerColumn(columnName:
|
|
9372
|
+
removeSummariesCachePerColumn(columnName: string): void;
|
|
9471
9373
|
calcMaxSummaryHeight(): number;
|
|
9472
9374
|
calculateSummaries(rowID: any, data: any, groupRecord: any): Map<string, any[]>;
|
|
9473
9375
|
resetSummaryHeight(): void;
|
|
9474
|
-
updateSummaryCache(groupingArgs:
|
|
9376
|
+
updateSummaryCache(groupingArgs: IGroupingDoneEventArgs): void;
|
|
9475
9377
|
get hasSummarizedColumns(): boolean;
|
|
9476
9378
|
private deleteSummaryCache;
|
|
9477
9379
|
private getSummaryID;
|
|
@@ -9481,102 +9383,6 @@ declare class IgxGridSummaryService {
|
|
|
9481
9383
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridSummaryService>;
|
|
9482
9384
|
}
|
|
9483
9385
|
|
|
9484
|
-
declare class IgxSummaryCellComponent {
|
|
9485
|
-
private element;
|
|
9486
|
-
summaryResults: IgxSummaryResult[];
|
|
9487
|
-
column: ColumnType;
|
|
9488
|
-
firstCellIndentation: number;
|
|
9489
|
-
hasSummary: boolean;
|
|
9490
|
-
summaryFormatter: (summaryResult: IgxSummaryResult, summaryOperand: IgxSummaryOperand) => any;
|
|
9491
|
-
summaryTemplate: TemplateRef<any>;
|
|
9492
|
-
locale: any;
|
|
9493
|
-
gridResourceStrings: any;
|
|
9494
|
-
/** @hidden */
|
|
9495
|
-
active: boolean;
|
|
9496
|
-
rowIndex: number;
|
|
9497
|
-
get visibleColumnIndex(): number;
|
|
9498
|
-
get attrCellID(): string;
|
|
9499
|
-
activate(): void;
|
|
9500
|
-
protected get selectionNode(): ISelectionNode;
|
|
9501
|
-
get width(): string;
|
|
9502
|
-
get nativeElement(): any;
|
|
9503
|
-
get columnDatatype(): GridColumnDataType;
|
|
9504
|
-
get itemHeight(): any;
|
|
9505
|
-
/**
|
|
9506
|
-
* @hidden
|
|
9507
|
-
*/
|
|
9508
|
-
get grid(): GridTypeBase;
|
|
9509
|
-
/**
|
|
9510
|
-
* @hidden
|
|
9511
|
-
*/
|
|
9512
|
-
get i18nFormatter(): BaseFormatter;
|
|
9513
|
-
/**
|
|
9514
|
-
* @hidden @internal
|
|
9515
|
-
*/
|
|
9516
|
-
get currencyCode(): string;
|
|
9517
|
-
/** cached single summary res after filter resets collection */
|
|
9518
|
-
protected trackSummaryResult: typeof trackByIdentity;
|
|
9519
|
-
translateSummary(summary: IgxSummaryResult): string;
|
|
9520
|
-
/**
|
|
9521
|
-
* @hidden @internal
|
|
9522
|
-
*/
|
|
9523
|
-
formatSummaryResult(summary: IgxSummaryResult): string;
|
|
9524
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSummaryCellComponent, never>;
|
|
9525
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSummaryCellComponent, "igx-grid-summary-cell", never, { "summaryResults": { "alias": "summaryResults"; "required": false; }; "column": { "alias": "column"; "required": false; }; "firstCellIndentation": { "alias": "firstCellIndentation"; "required": false; }; "hasSummary": { "alias": "hasSummary"; "required": false; }; "summaryFormatter": { "alias": "summaryFormatter"; "required": false; }; "summaryTemplate": { "alias": "summaryTemplate"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "gridResourceStrings": { "alias": "gridResourceStrings"; "required": false; }; "active": { "alias": "active"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
9526
|
-
static ngAcceptInputType_hasSummary: unknown;
|
|
9527
|
-
}
|
|
9528
|
-
|
|
9529
|
-
declare class IgxSummaryRowComponent implements DoCheck {
|
|
9530
|
-
grid: GridType;
|
|
9531
|
-
element: ElementRef<HTMLElement>;
|
|
9532
|
-
cdr: ChangeDetectorRef;
|
|
9533
|
-
summaries: Map<string, IgxSummaryResult[]>;
|
|
9534
|
-
gridID: any;
|
|
9535
|
-
index: number;
|
|
9536
|
-
firstCellIndentation: number;
|
|
9537
|
-
get dataRowIndex(): number;
|
|
9538
|
-
get minHeight(): number;
|
|
9539
|
-
_summaryCells: QueryList<IgxSummaryCellComponent>;
|
|
9540
|
-
get summaryCells(): QueryList<IgxSummaryCellComponent>;
|
|
9541
|
-
set summaryCells(cells: QueryList<IgxSummaryCellComponent>);
|
|
9542
|
-
/**
|
|
9543
|
-
* @hidden
|
|
9544
|
-
*/
|
|
9545
|
-
virtDirRow: IgxGridForOfDirective<ColumnType, ColumnType[]>;
|
|
9546
|
-
ngDoCheck(): void;
|
|
9547
|
-
get nativeElement(): HTMLElement;
|
|
9548
|
-
getColumnSummaries(columnName: string): IgxSummaryResult[];
|
|
9549
|
-
/**
|
|
9550
|
-
* @hidden
|
|
9551
|
-
* @internal
|
|
9552
|
-
*/
|
|
9553
|
-
isCellActive(visibleColumnIndex: any): boolean;
|
|
9554
|
-
/**
|
|
9555
|
-
* @hidden
|
|
9556
|
-
*/
|
|
9557
|
-
get pinnedColumns(): ColumnType[];
|
|
9558
|
-
/**
|
|
9559
|
-
* @hidden
|
|
9560
|
-
*/
|
|
9561
|
-
get pinnedStartColumns(): ColumnType[];
|
|
9562
|
-
/**
|
|
9563
|
-
* @hidden
|
|
9564
|
-
*/
|
|
9565
|
-
get pinnedEndColumns(): ColumnType[];
|
|
9566
|
-
/**
|
|
9567
|
-
* @hidden
|
|
9568
|
-
*/
|
|
9569
|
-
get unpinnedColumns(): ColumnType[];
|
|
9570
|
-
getContext(row: any, cols: any): {
|
|
9571
|
-
$implicit: any;
|
|
9572
|
-
columns: any;
|
|
9573
|
-
};
|
|
9574
|
-
/** state persistence switching all pinned columns resets collection */
|
|
9575
|
-
protected trackPinnedColumn: typeof trackByIdentity;
|
|
9576
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSummaryRowComponent, never>;
|
|
9577
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSummaryRowComponent, "igx-grid-summary-row", never, { "summaries": { "alias": "summaries"; "required": false; }; "gridID": { "alias": "gridID"; "required": false; }; "index": { "alias": "index"; "required": false; }; "firstCellIndentation": { "alias": "firstCellIndentation"; "required": false; }; }, {}, never, never, true, never>;
|
|
9578
|
-
}
|
|
9579
|
-
|
|
9580
9386
|
declare class IgxSummaryDataPipe implements PipeTransform {
|
|
9581
9387
|
private grid;
|
|
9582
9388
|
transform(id: string, trigger?: number): any;
|
|
@@ -9600,10 +9406,10 @@ declare class IgxColumnMovingDragDirective extends IgxDragDirective implements O
|
|
|
9600
9406
|
private columnSelectedClass;
|
|
9601
9407
|
constructor();
|
|
9602
9408
|
ngOnDestroy(): void;
|
|
9603
|
-
|
|
9604
|
-
onPointerDown(event:
|
|
9605
|
-
onPointerMove(event:
|
|
9606
|
-
onPointerUp(event:
|
|
9409
|
+
cancelMove(event: PointerEvent): void;
|
|
9410
|
+
onPointerDown(event: PointerEvent): void;
|
|
9411
|
+
onPointerMove(event: PointerEvent): void;
|
|
9412
|
+
onPointerUp(event: PointerEvent): void;
|
|
9607
9413
|
protected createGhost(pageX: number, pageY: number): void;
|
|
9608
9414
|
private _unsubscribe;
|
|
9609
9415
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxColumnMovingDragDirective, never>;
|
|
@@ -9615,7 +9421,7 @@ declare class IgxColumnMovingDropDirective extends IgxDropDirective implements O
|
|
|
9615
9421
|
set data(val: ColumnType | IgxForOfDirective<ColumnType, ColumnType[]>);
|
|
9616
9422
|
get column(): ColumnType;
|
|
9617
9423
|
get isDropTarget(): boolean;
|
|
9618
|
-
get horizontalScroll(): IgxGridForOfDirective<ColumnType, ColumnType[]
|
|
9424
|
+
get horizontalScroll(): IgxGridForOfDirective<ColumnType, ColumnType[]> | undefined;
|
|
9619
9425
|
get nativeElement(): any;
|
|
9620
9426
|
private _dropPos;
|
|
9621
9427
|
private _dropIndicator;
|
|
@@ -9626,10 +9432,10 @@ declare class IgxColumnMovingDropDirective extends IgxDropDirective implements O
|
|
|
9626
9432
|
private _dropIndicatorClass;
|
|
9627
9433
|
constructor();
|
|
9628
9434
|
ngOnDestroy(): void;
|
|
9629
|
-
onDragOver(event:
|
|
9630
|
-
onDragEnter(event:
|
|
9631
|
-
onDragLeave(event:
|
|
9632
|
-
onDragDrop(event:
|
|
9435
|
+
onDragOver(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
9436
|
+
onDragEnter(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
9437
|
+
onDragLeave(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
9438
|
+
onDragDrop(event: CustomEvent<IgxDragCustomEventDetails>): void;
|
|
9633
9439
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxColumnMovingDropDirective, never>;
|
|
9634
9440
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxColumnMovingDropDirective, "[igxColumnMovingDrop]", never, { "data": { "alias": "igxColumnMovingDrop"; "required": false; }; }, {}, never, never, true, never>;
|
|
9635
9441
|
}
|
|
@@ -9715,7 +9521,7 @@ declare class IgxResizeHandleDirective implements AfterViewInit, OnDestroy {
|
|
|
9715
9521
|
/**
|
|
9716
9522
|
* @hidden
|
|
9717
9523
|
*/
|
|
9718
|
-
onDoubleClick(): void;
|
|
9524
|
+
onDoubleClick(event: MouseEvent): void;
|
|
9719
9525
|
/**
|
|
9720
9526
|
* @hidden
|
|
9721
9527
|
*/
|
|
@@ -9731,7 +9537,7 @@ declare class IgxResizeHandleDirective implements AfterViewInit, OnDestroy {
|
|
|
9731
9537
|
/**
|
|
9732
9538
|
* @hidden
|
|
9733
9539
|
*/
|
|
9734
|
-
protected initResizeService(event?:
|
|
9540
|
+
protected initResizeService(event?: MouseEvent | null): void;
|
|
9735
9541
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxResizeHandleDirective, never>;
|
|
9736
9542
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxResizeHandleDirective, "[igxResizeHandle]", never, { "column": { "alias": "igxResizeHandle"; "required": false; }; }, {}, never, never, true, never>;
|
|
9737
9543
|
}
|
|
@@ -9758,7 +9564,7 @@ declare class IgxPivotResizeHandleDirective extends IgxResizeHandleDirective {
|
|
|
9758
9564
|
/**
|
|
9759
9565
|
* @hidden
|
|
9760
9566
|
*/
|
|
9761
|
-
protected initResizeService(event?:
|
|
9567
|
+
protected initResizeService(event?: null): void;
|
|
9762
9568
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotResizeHandleDirective, never>;
|
|
9763
9569
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxPivotResizeHandleDirective, "[igxPivotResizeHandle]", never, { "pivotColumn": { "alias": "igxPivotResizeHandle"; "required": false; }; "rowHeaderGroup": { "alias": "igxPivotResizeHandleHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
9764
9570
|
}
|
|
@@ -9822,13 +9628,13 @@ interface RowEditPositionSettings extends PositionSettings {
|
|
|
9822
9628
|
*/
|
|
9823
9629
|
declare class RowEditPositionStrategy extends ConnectedPositioningStrategy {
|
|
9824
9630
|
isTop: boolean;
|
|
9825
|
-
isTopInitialPosition:
|
|
9631
|
+
isTopInitialPosition: null;
|
|
9826
9632
|
settings: RowEditPositionSettings;
|
|
9827
9633
|
private io;
|
|
9828
9634
|
position(contentElement: HTMLElement, _size: {
|
|
9829
9635
|
width: number;
|
|
9830
9636
|
height: number;
|
|
9831
|
-
}, document
|
|
9637
|
+
}, document: Document, initialCall: boolean, target: Point | HTMLElement): void;
|
|
9832
9638
|
private internalPosition;
|
|
9833
9639
|
private updateContentClip;
|
|
9834
9640
|
private getClippingRect;
|
|
@@ -9864,7 +9670,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
9864
9670
|
* @hidden
|
|
9865
9671
|
* @internal
|
|
9866
9672
|
*/
|
|
9867
|
-
get isEmptyAddRowCell():
|
|
9673
|
+
get isEmptyAddRowCell(): any;
|
|
9868
9674
|
/**
|
|
9869
9675
|
* @hidden
|
|
9870
9676
|
* @internal
|
|
@@ -9976,7 +9782,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
9976
9782
|
*
|
|
9977
9783
|
* @memberof IgxGridCellComponent
|
|
9978
9784
|
*/
|
|
9979
|
-
formatter
|
|
9785
|
+
formatter?: (value: any, rowData?: any, columnData?: any) => any;
|
|
9980
9786
|
/**
|
|
9981
9787
|
* Gets the cell template context object.
|
|
9982
9788
|
* ```typescript
|
|
@@ -10114,7 +9920,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
10114
9920
|
*/
|
|
10115
9921
|
get readonly(): boolean;
|
|
10116
9922
|
/** @hidden @internal */
|
|
10117
|
-
get ariaDescribeBy(): string;
|
|
9923
|
+
get ariaDescribeBy(): string | null;
|
|
10118
9924
|
/** @hidden @internal */
|
|
10119
9925
|
get ariaErrorMessage(): string;
|
|
10120
9926
|
/**
|
|
@@ -10206,7 +10012,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
10206
10012
|
* @hidden
|
|
10207
10013
|
*/
|
|
10208
10014
|
displayPinnedChip: boolean;
|
|
10209
|
-
protected get minHeight(): number;
|
|
10015
|
+
protected get minHeight(): number | undefined;
|
|
10210
10016
|
protected get ariaRowIndex(): number;
|
|
10211
10017
|
protected get ariaColIndex(): number;
|
|
10212
10018
|
protected defaultCellTemplate: TemplateRef<any>;
|
|
@@ -10375,74 +10181,6 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
10375
10181
|
static ngAcceptInputType_editMode: unknown;
|
|
10376
10182
|
}
|
|
10377
10183
|
|
|
10378
|
-
/**
|
|
10379
|
-
* An internal component representing a base group-by drop area.
|
|
10380
|
-
*
|
|
10381
|
-
* @hidden @internal
|
|
10382
|
-
*/
|
|
10383
|
-
declare abstract class IgxGroupByAreaDirective {
|
|
10384
|
-
private ref;
|
|
10385
|
-
protected platform: PlatformUtil;
|
|
10386
|
-
/**
|
|
10387
|
-
* The drop area template if provided by the parent grid.
|
|
10388
|
-
* Otherwise, uses the default internal one.
|
|
10389
|
-
*/
|
|
10390
|
-
dropAreaTemplate: TemplateRef<void>;
|
|
10391
|
-
defaultClass: boolean;
|
|
10392
|
-
/**
|
|
10393
|
-
* @hidden @internal
|
|
10394
|
-
*/
|
|
10395
|
-
role: string;
|
|
10396
|
-
/** The parent grid containing the component. */
|
|
10397
|
-
grid: FlatGridType | GridType;
|
|
10398
|
-
/**
|
|
10399
|
-
* The group-by expressions provided by the parent grid.
|
|
10400
|
-
*/
|
|
10401
|
-
get expressions(): IGroupingExpression[];
|
|
10402
|
-
set expressions(value: IGroupingExpression[]);
|
|
10403
|
-
/**
|
|
10404
|
-
* The default message for the default drop area template.
|
|
10405
|
-
* Obviously, if another template is provided, this is ignored.
|
|
10406
|
-
*/
|
|
10407
|
-
get dropAreaMessage(): string;
|
|
10408
|
-
set dropAreaMessage(value: string);
|
|
10409
|
-
expressionsChange: EventEmitter<IGroupingExpression[]>;
|
|
10410
|
-
chips: QueryList<IgxChipComponent>;
|
|
10411
|
-
chipExpressions: IGroupingExpression[];
|
|
10412
|
-
/** The native DOM element. Used in sizing calculations. */
|
|
10413
|
-
get nativeElement(): any;
|
|
10414
|
-
private _expressions;
|
|
10415
|
-
private _dropAreaMessage;
|
|
10416
|
-
get dropAreaVisible(): boolean;
|
|
10417
|
-
handleKeyDown(id: string, event: KeyboardEvent): void;
|
|
10418
|
-
handleClick(id: string): void;
|
|
10419
|
-
onDragDrop(event: any): void;
|
|
10420
|
-
protected getReorderedExpressions(chipsArray: IgxChipComponent[]): any[];
|
|
10421
|
-
protected updateGroupSorting(id: string): void;
|
|
10422
|
-
protected expressionsChanged(): void;
|
|
10423
|
-
abstract handleReorder(event: IChipsAreaReorderEventArgs): any;
|
|
10424
|
-
abstract handleMoveEnd(): any;
|
|
10425
|
-
abstract groupBy(expression: IGroupingExpression): any;
|
|
10426
|
-
abstract clearGrouping(name: string): any;
|
|
10427
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupByAreaDirective, never>;
|
|
10428
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGroupByAreaDirective, never, never, { "dropAreaTemplate": { "alias": "dropAreaTemplate"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "expressions": { "alias": "expressions"; "required": false; }; "dropAreaMessage": { "alias": "dropAreaMessage"; "required": false; }; }, { "expressionsChange": "expressionsChange"; }, never, never, true, never>;
|
|
10429
|
-
}
|
|
10430
|
-
/**
|
|
10431
|
-
* A pipe to circumvent the use of getters/methods just to get some additional
|
|
10432
|
-
* information from the grouping expression and pass it to the chip representing
|
|
10433
|
-
* that expression.
|
|
10434
|
-
*
|
|
10435
|
-
* @hidden @internal
|
|
10436
|
-
*/
|
|
10437
|
-
declare class IgxGroupByMetaPipe implements PipeTransform {
|
|
10438
|
-
transform(key: string, grid: GridType, _pipeTrigger?: number): {
|
|
10439
|
-
groupable: boolean;
|
|
10440
|
-
title: any;
|
|
10441
|
-
};
|
|
10442
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupByMetaPipe, never>;
|
|
10443
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGroupByMetaPipe, "igxGroupByMeta", true>;
|
|
10444
|
-
}
|
|
10445
|
-
|
|
10446
10184
|
/** @hidden */
|
|
10447
10185
|
declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
10448
10186
|
isValidPosition(rowIndex: number, colIndex: number): boolean;
|
|
@@ -10461,14 +10199,14 @@ declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
|
10461
10199
|
};
|
|
10462
10200
|
getNextVerticalPosition(previous?: boolean): {
|
|
10463
10201
|
row: number;
|
|
10464
|
-
column:
|
|
10202
|
+
column: number;
|
|
10465
10203
|
};
|
|
10466
10204
|
headerNavigation(event: KeyboardEvent): void;
|
|
10467
10205
|
/**
|
|
10468
10206
|
* @hidden
|
|
10469
10207
|
* @internal
|
|
10470
10208
|
*/
|
|
10471
|
-
layout(visibleIndex:
|
|
10209
|
+
layout(visibleIndex: number): {
|
|
10472
10210
|
colStart: number;
|
|
10473
10211
|
rowStart: number;
|
|
10474
10212
|
colEnd: number;
|
|
@@ -10478,7 +10216,7 @@ declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
|
10478
10216
|
protected getNextPosition(rowIndex: number, colIndex: number, key: string, shift: boolean, ctrl: boolean, event: KeyboardEvent): {
|
|
10479
10217
|
rowIndex: number;
|
|
10480
10218
|
colIndex: number;
|
|
10481
|
-
};
|
|
10219
|
+
} | undefined;
|
|
10482
10220
|
protected horizontalNav(event: KeyboardEvent, key: string, rowIndex: number, tag: GridKeydownTargetType): void;
|
|
10483
10221
|
private isParentColumnFullyVisible;
|
|
10484
10222
|
private getChildColumnScrollPositions;
|
|
@@ -10553,10 +10291,10 @@ declare class GridBaseAPIService<T extends GridType> implements GridServiceType
|
|
|
10553
10291
|
* @param dataCollection
|
|
10554
10292
|
*/
|
|
10555
10293
|
get_rec_index_by_id(pk: string | number, dataCollection?: any[]): number;
|
|
10556
|
-
allow_expansion_state_change(rowID: any, expanded:
|
|
10294
|
+
allow_expansion_state_change(rowID: any, expanded: boolean): boolean;
|
|
10557
10295
|
prepare_sorting_expression(stateCollections: Array<Array<any>>, expression: ISortingExpression): void;
|
|
10558
10296
|
prepare_grouping_expression(stateCollections: Array<Array<any>>, expression: IGroupingExpression): void;
|
|
10559
|
-
remove_grouping_expression(_fieldName:
|
|
10297
|
+
remove_grouping_expression(_fieldName: string): void;
|
|
10560
10298
|
filterDataByExpressions(expressionsTree: IFilteringExpressionsTree): any[];
|
|
10561
10299
|
sortDataByExpressions(data: any[], expressions: ISortingExpression[]): any[];
|
|
10562
10300
|
pin_row(rowID: any, index?: number, row?: RowType): void;
|
|
@@ -10571,32 +10309,32 @@ declare class GridBaseAPIService<T extends GridType> implements GridServiceType
|
|
|
10571
10309
|
* @param rowCurrentValue Current value of the row as it is with applied previous transactions
|
|
10572
10310
|
* @param rowNewValue New value of the row
|
|
10573
10311
|
*/
|
|
10574
|
-
protected updateData(grid:
|
|
10312
|
+
protected updateData(grid: GridType, rowID: any, rowValueInDataSource: any, rowCurrentValue: any, rowNewValue: {
|
|
10575
10313
|
[x: string]: any;
|
|
10576
10314
|
}): void;
|
|
10577
10315
|
protected update_row_in_array(value: any, _rowID: any, index: number): void;
|
|
10578
|
-
protected getSortStrategyPerColumn(fieldName: string): igniteui_angular_core.ISortingStrategy;
|
|
10316
|
+
protected getSortStrategyPerColumn(fieldName: string): igniteui_angular_core.ISortingStrategy | undefined;
|
|
10579
10317
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridBaseAPIService<any>, never>;
|
|
10580
10318
|
static ɵprov: i0.ɵɵInjectableDeclaration<GridBaseAPIService<any>>;
|
|
10581
10319
|
}
|
|
10582
10320
|
|
|
10583
10321
|
declare class PivotUtil {
|
|
10584
10322
|
static processGroups(recs: IPivotGridRecord[], dimension: IPivotDimension, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): void;
|
|
10585
|
-
static flattenGroups(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates: any, defaultExpand: boolean, parent?: IPivotDimension, parentRec?: IPivotGridRecord): void;
|
|
10586
|
-
static flattenGroupsHorizontally(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates: any, defaultExpand: boolean, visibleDimensions: IPivotDimension[], summariesPosition: PivotSummaryPosition, parent?: IPivotDimension, parentRec?: IPivotGridRecord): void;
|
|
10587
|
-
static assignLevels(dims:
|
|
10588
|
-
static getFieldsHierarchy(data: any[], dimensions: IPivotDimension[], dimensionType: PivotDimensionType, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string,
|
|
10323
|
+
static flattenGroups(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates: Map<any, boolean>, defaultExpand: boolean, parent?: IPivotDimension, parentRec?: IPivotGridRecord): void;
|
|
10324
|
+
static flattenGroupsHorizontally(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates: Map<any, boolean>, defaultExpand: boolean, visibleDimensions: IPivotDimension[], summariesPosition: PivotSummaryPosition, parent?: IPivotDimension, parentRec?: IPivotGridRecord): void;
|
|
10325
|
+
static assignLevels(dims: IPivotDimension[]): void;
|
|
10326
|
+
static getFieldsHierarchy(data: any[], dimensions: IPivotDimension[], dimensionType: PivotDimensionType, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string, DimensionValueType>;
|
|
10589
10327
|
static sort(data: IPivotGridRecord[], expressions: ISortingExpression[], sorting?: IGridSortingStrategy): any[];
|
|
10590
10328
|
static extractValueFromDimension(dim: IPivotDimension, recData: any): any;
|
|
10591
10329
|
static getDimensionDepth(dim: IPivotDimension): number;
|
|
10592
|
-
static extractValuesForRow(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string,
|
|
10593
|
-
static extractValuesForColumn(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, path?: any[]): Map<string,
|
|
10594
|
-
static flatten(arr:
|
|
10595
|
-
static applyAggregations(rec: IPivotGridRecord, hierarchies:
|
|
10330
|
+
static extractValuesForRow(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string, DimensionValueType>;
|
|
10331
|
+
static extractValuesForColumn(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, path?: any[]): Map<string, DimensionValueType>;
|
|
10332
|
+
static flatten(arr: IPivotDimension[] | null, lvl?: number): IPivotExpandableDimension[];
|
|
10333
|
+
static applyAggregations(rec: IPivotGridRecord, hierarchies: Map<string, any>, values: IPivotValue[], pivotKeys: IPivotKeys): void;
|
|
10596
10334
|
protected static applyAggregationRecordData(aggregationData: any, groupName: string, rec: IPivotGridRecord, pivotKeys: IPivotKeys): void;
|
|
10597
|
-
static aggregate(records: any, values: IPivotValue[]):
|
|
10598
|
-
static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): igniteui_angular_grids_core.PivotAggregation;
|
|
10599
|
-
static processHierarchy(hierarchies:
|
|
10335
|
+
static aggregate(records: any, values: IPivotValue[]): any;
|
|
10336
|
+
static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): igniteui_angular_grids_core.PivotAggregation | undefined;
|
|
10337
|
+
static processHierarchy(hierarchies: Map<string, any>, pivotKeys: IPivotKeys, level?: number, rootData?: boolean): IPivotGridRecord[];
|
|
10600
10338
|
static getDirectLeafs(records: IPivotGridRecord[]): any[];
|
|
10601
10339
|
static getRecordKey(rec: IPivotGridRecord, currentDim: IPivotDimension): string;
|
|
10602
10340
|
static buildExpressionTree(config: IPivotConfiguration): FilteringExpressionsTree;
|
|
@@ -10676,7 +10414,7 @@ declare class IgxPivotDateDimension implements IPivotDimension {
|
|
|
10676
10414
|
constructor(inBaseDimension?: IPivotDimension, inOptions?: IPivotDateDimensionOptions);
|
|
10677
10415
|
protected initialize(inBaseDimension: any, inOptions: any): void;
|
|
10678
10416
|
/** @hidden @internal */
|
|
10679
|
-
memberFunction: (_data: any) => string;
|
|
10417
|
+
memberFunction: (_data: any) => string | undefined;
|
|
10680
10418
|
}
|
|
10681
10419
|
|
|
10682
10420
|
declare class IgxPivotAggregate {
|
|
@@ -10826,7 +10564,7 @@ declare function notifyChanges(repaint?: boolean): (_: any, key: string, propDes
|
|
|
10826
10564
|
*/
|
|
10827
10565
|
declare class ExportUtilities {
|
|
10828
10566
|
static getKeysFromData(data: any[]): string[];
|
|
10829
|
-
static saveBlobToFile(blob: Blob, fileName:
|
|
10567
|
+
static saveBlobToFile(blob: Blob, fileName: string): void;
|
|
10830
10568
|
static stringToArrayBuffer(s: string): ArrayBuffer;
|
|
10831
10569
|
static isSpecialData(data: any): boolean;
|
|
10832
10570
|
static hasValue(value: any): boolean;
|
|
@@ -10996,5 +10734,5 @@ declare class IgxPdfExporterService extends IgxBaseExporter {
|
|
|
10996
10734
|
|
|
10997
10735
|
declare const IGX_GRID_COMMON_DIRECTIVES: readonly [typeof IgxRowDirective, typeof IgxGridFooterComponent, typeof IgxAdvancedFilteringDialogComponent, typeof IgxRowExpandedIndicatorDirective, typeof IgxRowCollapsedIndicatorDirective, typeof IgxHeaderExpandedIndicatorDirective, typeof IgxHeaderCollapsedIndicatorDirective, typeof IgxExcelStyleHeaderIconDirective, typeof IgxSortAscendingHeaderIconDirective, typeof IgxSortDescendingHeaderIconDirective, typeof IgxSortHeaderIconDirective, typeof IgxGridEmptyTemplateDirective, typeof IgxGridLoadingTemplateDirective, typeof IgxDragIndicatorIconDirective, typeof IgxRowDragGhostDirective, typeof IgxGridStateDirective, typeof IgxGridHeaderComponent, typeof IgxGridHeaderGroupComponent, typeof IgxGridHeaderRowComponent, typeof IgxFilterCellTemplateDirective, typeof IgxSummaryTemplateDirective, typeof IgxCellTemplateDirective, typeof IgxCellValidationErrorDirective, typeof IgxCellHeaderTemplateDirective, typeof IgxCellFooterTemplateDirective, typeof IgxCellEditorTemplateDirective, typeof IgxCollapsibleIndicatorTemplateDirective, typeof IgxColumnComponent, typeof IgxColumnGroupComponent, typeof IgxColumnLayoutComponent, typeof IgxColumnActionsComponent, typeof IgxColumnHidingDirective, typeof IgxColumnPinningDirective, typeof IgxRowSelectorDirective, typeof IgxGroupByRowSelectorDirective, typeof IgxHeadSelectorDirective, typeof IgxCSVTextDirective, typeof IgxExcelTextDirective, typeof IgxGridToolbarActionsComponent, typeof IgxGridToolbarAdvancedFilteringComponent, typeof IgxGridToolbarComponent, typeof IgxGridToolbarExporterComponent, typeof IgxGridToolbarHidingComponent, typeof IgxGridToolbarPinningComponent, typeof IgxGridToolbarTitleComponent, typeof IgxGridToolbarDirective, typeof IgxGridExcelStyleFilteringComponent, typeof IgxExcelStyleHeaderComponent, typeof IgxExcelStyleSortingComponent, typeof IgxExcelStylePinningComponent, typeof IgxExcelStyleHidingComponent, typeof IgxExcelStyleSelectingComponent, typeof IgxExcelStyleClearFiltersComponent, typeof IgxExcelStyleConditionalFilterComponent, typeof IgxExcelStyleMovingComponent, typeof IgxExcelStyleSearchComponent, typeof IgxExcelStyleColumnOperationsTemplateDirective, typeof IgxExcelStyleFilterOperationsTemplateDirective, typeof IgxExcelStyleLoadingValuesTemplateDirective, typeof IgxGridPinningActionsComponent, typeof IgxGridEditingActionsComponent, typeof IgxGridActionsBaseDirective, typeof IgxGridActionButtonComponent];
|
|
10998
10736
|
|
|
10999
|
-
export { ActiveElement, CharSeparatedValueData, ColumnDisplayOrder, CsvFileTypes, DEFAULT_OWNER, DEFAULT_PIVOT_KEYS, DimensionValuesFilteringStrategy, DropPosition, ExportHeaderType, ExportRecordType, ExportUtilities, ExpressionUI, FilterListItem, FilterMode, GRID_LEVEL_COL, GRID_PARENT, GRID_ROOT_SUMMARY, GridBaseAPIService, GridCellMergeMode, GridPagingMode, GridSelectionMode, GridSummaryPosition, HEADER_KEYS, HORIZONTAL_NAV_KEYS, IGX_GRID_BASE, IGX_GRID_COMMON_DIRECTIVES, IGX_GRID_SERVICE_BASE, IGX_GRID_VALIDATION_DIRECTIVES, INPUT_DEBOUNCE_TIME, INPUT_DEBOUNCE_TIME_DEFAULT, IgxAddRow, IgxAdvancedFilteringDialogComponent, IgxBaseExporter, IgxCSVTextDirective, IgxCell, IgxCellCrudState, IgxCellEditorTemplateDirective, IgxCellFooterTemplateDirective, IgxCellHeaderTemplateDirective, IgxCellTemplateDirective, IgxCellValidationErrorDirective, IgxCollapsibleIndicatorTemplateDirective, IgxColumnActionsBaseDirective, IgxColumnActionsComponent, IgxColumnComponent, IgxColumnEmailValidatorDirective, IgxColumnFormatterPipe, IgxColumnGroupComponent, IgxColumnHidingDirective, IgxColumnLayoutComponent, IgxColumnMaxLengthValidatorDirective, IgxColumnMaxValidatorDirective, IgxColumnMinLengthValidatorDirective, IgxColumnMinValidatorDirective, IgxColumnMovingDragDirective, IgxColumnMovingDropDirective, IgxColumnMovingService, IgxColumnPatternValidatorDirective, IgxColumnPinningDirective, IgxColumnRequiredValidatorDirective, IgxColumnResizerDirective, IgxColumnResizingService, IgxCsvExporterOptions, IgxCsvExporterService,
|
|
11000
|
-
export type { CellType, ColumnGroupsCache, DimensionValueType, FlatGridType, GridFeatures, GridKeydownTargetType, GridSVGIcon,
|
|
10737
|
+
export { ActiveElement, CharSeparatedValueData, ColumnDisplayOrder, CsvFileTypes, DEFAULT_OWNER, DEFAULT_PIVOT_KEYS, DimensionValuesFilteringStrategy, DropPosition, ExportHeaderType, ExportRecordType, ExportUtilities, ExpressionUI, FilterListItem, FilterMode, GRID_LEVEL_COL, GRID_PARENT, GRID_ROOT_SUMMARY, GridBaseAPIService, GridCellMergeMode, GridPagingMode, GridSelectionMode, GridSummaryPosition, HEADER_KEYS, HORIZONTAL_NAV_KEYS, IGX_GRID_BASE, IGX_GRID_COMMON_DIRECTIVES, IGX_GRID_SERVICE_BASE, IGX_GRID_VALIDATION_DIRECTIVES, INPUT_DEBOUNCE_TIME, INPUT_DEBOUNCE_TIME_DEFAULT, IgxAddRow, IgxAdvancedFilteringDialogComponent, IgxBaseExporter, IgxCSVTextDirective, IgxCell, IgxCellCrudState, IgxCellEditorTemplateDirective, IgxCellFooterTemplateDirective, IgxCellHeaderTemplateDirective, IgxCellTemplateDirective, IgxCellValidationErrorDirective, IgxCollapsibleIndicatorTemplateDirective, IgxColumnActionsBaseDirective, IgxColumnActionsComponent, IgxColumnComponent, IgxColumnEmailValidatorDirective, IgxColumnFormatterPipe, IgxColumnGroupComponent, IgxColumnHidingDirective, IgxColumnLayoutComponent, IgxColumnMaxLengthValidatorDirective, IgxColumnMaxValidatorDirective, IgxColumnMinLengthValidatorDirective, IgxColumnMinValidatorDirective, IgxColumnMovingDragDirective, IgxColumnMovingDropDirective, IgxColumnMovingService, IgxColumnPatternValidatorDirective, IgxColumnPinningDirective, IgxColumnRequiredValidatorDirective, IgxColumnResizerDirective, IgxColumnResizingService, IgxCsvExporterOptions, IgxCsvExporterService, IgxDragIndicatorIconDirective, IgxEditRow, IgxExcelExporterOptions, IgxExcelExporterService, IgxExcelStyleClearFiltersComponent, IgxExcelStyleColumnOperationsTemplateDirective, IgxExcelStyleConditionalFilterComponent, IgxExcelStyleDateExpressionComponent, IgxExcelStyleFilterOperationsTemplateDirective, IgxExcelStyleHeaderComponent, IgxExcelStyleHeaderIconDirective, IgxExcelStyleHidingComponent, IgxExcelStyleLoadingValuesTemplateDirective, IgxExcelStyleMovingComponent, IgxExcelStylePinningComponent, IgxExcelStyleSearchComponent, IgxExcelStyleSelectingComponent, IgxExcelStyleSortingComponent, IgxExcelTextDirective, IgxExporterOptionsBase, IgxFilterCellTemplateDirective, IgxFilteringService, IgxGridActionButtonComponent, IgxGridActionsBaseDirective, IgxGridAddRowPipe, IgxGridBodyDirective, IgxGridCRUDService, IgxGridCell, IgxGridCellComponent, IgxGridCellImageAltPipe, IgxGridCellStyleClassesPipe, IgxGridCellStylesPipe, IgxGridColumnResizerComponent, IgxGridDataMapperPipe, IgxGridDetailTemplateDirective, IgxGridDragSelectDirective, IgxGridEditingActionsComponent, IgxGridEmptyTemplateDirective, IgxGridExcelStyleFilteringComponent, IgxGridFilterConditionPipe, IgxGridFilteringCellComponent, IgxGridFilteringRowComponent, IgxGridFooterComponent, IgxGridHeaderComponent, IgxGridHeaderGroupComponent, IgxGridHeaderRowComponent, IgxGridLoadingTemplateDirective, IgxGridMRLNavigationService, IgxGridNavigationService, IgxGridNotGroupedPipe, IgxGridPaginatorOptionsPipe, IgxGridPinningActionsComponent, IgxGridRow, IgxGridRowClassesPipe, IgxGridRowPinningPipe, IgxGridRowStylesPipe, IgxGridSelectionService, IgxGridStateBaseDirective, IgxGridStateDirective, IgxGridSummaryService, IgxGridToolbarActionsComponent, IgxGridToolbarAdvancedFilteringComponent, IgxGridToolbarComponent, IgxGridToolbarDirective, IgxGridToolbarExporterComponent, IgxGridToolbarHidingComponent, IgxGridToolbarPinningComponent, IgxGridToolbarTitleComponent, IgxGridTopLevelColumns, IgxGridTransactionPipe, IgxGridTransactionStatePipe, IgxGridValidationService, IgxGroupAreaDropDirective, IgxGroupByAreaDirective, IgxGroupByMetaPipe, IgxGroupByRow, IgxGroupByRowSelectorDirective, IgxGroupByRowTemplateDirective, IgxHasVisibleColumnsPipe, IgxHeadSelectorDirective, IgxHeaderCollapsedIndicatorDirective, IgxHeaderExpandedIndicatorDirective, IgxHeaderGroupStylePipe, IgxHierarchicalGridRow, IgxPdfExporterOptions, IgxPdfExporterService, IgxPdfTextDirective, IgxPivotAggregate, IgxPivotColumnResizingService, IgxPivotDateAggregate, IgxPivotDateDimension, IgxPivotGridColumnResizerComponent, IgxPivotNumericAggregate, IgxPivotResizeHandleDirective, IgxPivotTimeAggregate, IgxRowAddCrudState, IgxRowAddTextDirective, IgxRowCollapsedIndicatorDirective, IgxRowCrudState, IgxRowDirective, IgxRowDragDirective, IgxRowDragGhostDirective, IgxRowEditActionsDirective, IgxRowEditTabStopDirective, IgxRowEditTemplateDirective, IgxRowEditTextDirective, IgxRowExpandedIndicatorDirective, IgxRowSelectorDirective, IgxSortAscendingHeaderIconDirective, IgxSortDescendingHeaderIconDirective, IgxSortHeaderIconDirective, IgxStringReplacePipe, IgxSummaryDataPipe, IgxSummaryFormatterPipe, IgxSummaryRow, IgxSummaryRowComponent, IgxSummaryTemplateDirective, IgxToolbarToken, IgxTreeGridRow, NoopPivotDimensionsStrategy, PivotColumnDimensionsStrategy, PivotDimensionType, PivotRowDimensionsStrategy, PivotRowLayoutType, PivotSummaryPosition, PivotUtil, ROW_ADD_KEYS, ROW_COLLAPSE_KEYS, ROW_EXPAND_KEYS, RowEditPositionStrategy, RowPinningPosition, SUPPORTED_KEYS, SortingIndexPipe, WatchChanges, WatchColumnChanges, generateExpressionsList, getUUID, notifyChanges };
|
|
10738
|
+
export type { CellType, ColumnGroupsCache, DimensionValueType, FlatGridType, GridFeatures, GridKeydownTargetType, GridSVGIcon, GridServiceType, GridType, GridValidationTrigger, HeaderType, HierarchicalGridType, IActiveNode, IActiveNodeChangeEventArgs, ICellPosition, IClipboardOptions, IColumnExportingEventArgs, IColumnInfo, IColumnList, IColumnMovingEndEventArgs, IColumnMovingEventArgs, IColumnMovingStartEventArgs, IColumnResizeEventArgs, IColumnResizingEventArgs, IColumnSelectionEventArgs, IColumnState, IColumnToggledEventArgs, IColumnVisibilityChangedEventArgs, IColumnVisibilityChangingEventArgs, ICsvExportEndedEventArgs, IDimensionsChange, IExcelExportEndedEventArgs, IExportRecord, IFieldValidationState, IFilteringEventArgs, IGridCellEventArgs, IGridClipboardEvent, IGridContextMenuEventArgs, IGridDataBindable, IGridEditDoneEventArgs, IGridEditEventArgs, IGridFormGroupCreatedEventArgs, IGridKeydownEventArgs, IGridRowEventArgs, IGridScrollEventArgs, IGridState, IGridStateCollection, IGridStateOptions, IGridToolbarExportEventArgs, IGridValidationState, IGridValidationStatusEventArgs, IGroupingDoneEventArgs, IPdfExportEndedEventArgs, IPinColumnCancellableEventArgs, IPinColumnEventArgs, IPinRowEventArgs, IPinningConfig, IPivotAggregator, IPivotConfiguration, IPivotConfigurationChangedEventArgs, IPivotDateDimensionOptions, IPivotDimension, IPivotDimensionData, IPivotDimensionStrategy, IPivotExpandableDimension, IPivotGridColumn, IPivotGridGroupRecord, IPivotGridHorizontalGroup, IPivotGridRecord, IPivotKeys, IPivotUISettings, IPivotValue, IRecordValidationState, IRowDataCancelableEventArgs, IRowDataEventArgs, IRowDragEndEventArgs, IRowDragStartEventArgs, IRowExportingEventArgs, IRowSelectionEventArgs, IRowToggleEventArgs, ISearchInfo, ISizeInfo, ISortingEventArgs, IValuesChange, IgxAddRowParent, IgxCellTemplateContext, IgxColumnTemplateContext, IgxExporterEvent, IgxExporterOptions, IgxGridEmptyTemplateContext, IgxGridHeaderTemplateContext, IgxGridMasterDetailContext, IgxGridPaginatorTemplateContext, IgxGridRowDragGhostContext, IgxGridRowEditActionsTemplateContext, IgxGridRowEditTemplateContext, IgxGridRowEditTextTemplateContext, IgxGridRowTemplateContext, IgxGridTemplateContext, IgxGridToolbarTemplateContext, IgxGroupByRowSelectorTemplateContext, IgxGroupByRowSelectorTemplateDetails, IgxGroupByRowTemplateContext, IgxHeadSelectorTemplateContext, IgxHeadSelectorTemplateDetails, IgxPivotGridValueTemplateContext, IgxRowSelectorTemplateContext, IgxRowSelectorTemplateDetails, IgxSummaryTemplateContext, PdfUnicodeFont, PivotAggregation, PivotAggregationType, PivotGridType, PivotRowHeaderGroupType, RowEditPositionSettings, RowType, TreeGridType, ValidationStatus };
|