igniteui-angular 22.1.0-beta.6 → 22.1.0-beta.7
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 +0 -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 +0 -1
- 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.map +1 -1
- package/fesm2022/igniteui-angular-calendar.mjs +4 -5
- package/fesm2022/igniteui-angular-calendar.mjs.map +1 -1
- 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 +17 -6
- package/fesm2022/igniteui-angular-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-core.mjs +16 -337
- package/fesm2022/igniteui-angular-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-date-picker.mjs +12 -14
- 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 +45 -47
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-drop-down.mjs +3 -2
- package/fesm2022/igniteui-angular-drop-down.mjs.map +1 -1
- package/fesm2022/igniteui-angular-expansion-panel.mjs +23 -12
- package/fesm2022/igniteui-angular-expansion-panel.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +484 -202
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +115 -94
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +15 -19
- 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 +75 -153
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs +28 -35
- 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 +1 -1
- 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 +2 -3
- package/fesm2022/igniteui-angular-navigation-drawer.mjs.map +1 -1
- package/fesm2022/igniteui-angular-paginator.mjs.map +1 -1
- package/fesm2022/igniteui-angular-progressbar.mjs +5 -2
- package/fesm2022/igniteui-angular-progressbar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-query-builder.mjs +18 -19
- 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 +10 -7
- 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 +3 -6
- package/fesm2022/igniteui-angular-time-picker.mjs.map +1 -1
- package/fesm2022/igniteui-angular-tree.mjs +8 -10
- package/fesm2022/igniteui-angular-tree.mjs.map +1 -1
- package/migrations/migration-collection.json +0 -7
- package/package.json +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 +1 -1
- 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 +17 -13
- package/types/igniteui-angular-core.d.ts +200 -495
- 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 +60 -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 +1053 -791
- package/types/igniteui-angular-grids-grid.d.ts +104 -267
- package/types/igniteui-angular-grids-hierarchical-grid.d.ts +68 -547
- package/types/igniteui-angular-grids-lite.d.ts +7 -7
- package/types/igniteui-angular-grids-pivot-grid.d.ts +94 -129
- package/types/igniteui-angular-grids-tree-grid.d.ts +5 -51
- package/types/igniteui-angular-icon.d.ts +2 -2
- package/types/igniteui-angular-input-group.d.ts +4 -4
- 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 +1 -0
- 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
- package/migrations/update-22_1_0_import-migration/index.d.ts +0 -2
- package/migrations/update-22_1_0_import-migration/index.js +0 -228
- package/migrations/update-22_1_0_import-migration/index.spec.d.ts +0 -1
- package/migrations/update-22_1_0_import-migration/index.spec.js +0 -188
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, InjectionToken, QueryList, ElementRef, TemplateRef, ChangeDetectorRef, ViewContainerRef, DoCheck, IterableDiffer, OnDestroy, AfterViewInit, OnInit, AfterContentInit, IterableDiffers, PipeTransform, EnvironmentInjector, Injector, NgZone, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as igniteui_angular_core from 'igniteui-angular/core';
|
|
4
|
-
import { IBaseEventArgs, GridTypeBase,
|
|
4
|
+
import { IBaseEventArgs, GridTypeBase, GridColumnDataType, ColumnType, CancelableEventArgs, IFilteringExpressionsTree, ISortingExpression, IGroupingExpression, TransactionService, Transaction, State, SortingDirection, IDataCloneStrategy, IgxSummaryResult, IGroupByRecord, ITreeGridRecord, IGridMergeStrategy, IGridResourceStrings, ɵSize as _Size, IPathSegment, ColumnPinningPosition, FilteringExpressionsTree, GridSummaryCalculationMode, IGridSortingStrategy, IGridGroupingStrategy, FilteringLogic, IFilteringStrategy, ISortingOptions, IGroupByExpandState, IgxOverlayOutletDirective, OverlaySettings, IFilteringExpression, IgxOverlayService, IFilteringOperation, PlatformUtil, IgxFilteringOperand, ISortingStrategy, IColumnPipeArgs, IColumnEditorOptions, MRLColumnSizeInfo, MRLResizeColumnInfo, IQueryBuilderResourceStrings, FieldType, IgxFilterItem, trackByIdentity, IgxActionStripToken, IPagingState, IGroupingState, FilteringStrategy, BaseFormatter, PositionSettings, ConnectedPositioningStrategy, Point } from 'igniteui-angular/core';
|
|
5
5
|
import * as i1 from 'igniteui-angular/directives';
|
|
6
|
-
import { IBaseSearchInfo, IgxGridForOfDirective, IForOfState, IgxToggleDirective, IgxForOfDirective, IDragStartEventArgs,
|
|
6
|
+
import { IBaseSearchInfo, IgxGridForOfDirective, IForOfState, IgxToggleDirective, IgxForOfDirective, IDragStartEventArgs, IgxButtonDirective, IgxDropDirective, 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';
|
|
12
11
|
import { IgxCheckboxComponent, IChangeCheckboxEventArgs } from 'igniteui-angular/checkbox';
|
|
13
12
|
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: any;
|
|
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: any;
|
|
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: any, 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;
|
|
986
|
+
cellEditDone(event: any, 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;
|
|
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): boolean;
|
|
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(): any;
|
|
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?: Event): boolean;
|
|
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
|
|
1058
|
+
enterAddRowMode(parentRow: RowType, asChild?: boolean, event?: Event): void;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Finishes the row transactions on the current row and returns whether the grid editing was canceled.
|
|
1061
1061
|
*
|
|
@@ -1067,11 +1067,105 @@ declare class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
|
1067
1067
|
* ```
|
|
1068
1068
|
* @param commit
|
|
1069
1069
|
*/
|
|
1070
|
-
endEdit(commit?: boolean, event?:
|
|
1070
|
+
endEdit(commit?: boolean, event?: Event): 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
|
+
|
|
1075
1169
|
/**
|
|
1076
1170
|
* This enumeration is used to configure whether the drop position is set before or after
|
|
1077
1171
|
* the target.
|
|
@@ -1092,100 +1186,94 @@ declare class IgxColumnMovingService {
|
|
|
1092
1186
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxColumnMovingService>;
|
|
1093
1187
|
}
|
|
1094
1188
|
|
|
1095
|
-
declare class
|
|
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;
|
|
1189
|
+
declare class IgxGridValidationService {
|
|
1116
1190
|
/**
|
|
1117
1191
|
* @hidden
|
|
1192
|
+
* @internal
|
|
1118
1193
|
*/
|
|
1119
|
-
|
|
1194
|
+
grid: GridType;
|
|
1195
|
+
private _validityStates;
|
|
1196
|
+
private _valid;
|
|
1197
|
+
/** Gets whether state is valid.
|
|
1198
|
+
*/
|
|
1199
|
+
get valid(): boolean;
|
|
1120
1200
|
/**
|
|
1121
1201
|
* @hidden
|
|
1202
|
+
* @internal
|
|
1122
1203
|
*/
|
|
1123
|
-
|
|
1204
|
+
create(rowId: any, data: any): FormGroup<any>;
|
|
1124
1205
|
/**
|
|
1125
|
-
|
|
1206
|
+
* @hidden
|
|
1207
|
+
* @internal
|
|
1208
|
+
*/
|
|
1209
|
+
private addFormControl;
|
|
1210
|
+
/**
|
|
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.
|
|
1126
1216
|
*/
|
|
1127
|
-
|
|
1128
|
-
/** cached single summary res after filter resets collection */
|
|
1129
|
-
protected trackSummaryResult: typeof trackByIdentity;
|
|
1130
|
-
translateSummary(summary: IgxSummaryResult): string;
|
|
1217
|
+
private getFormControlPath;
|
|
1131
1218
|
/**
|
|
1132
|
-
* @hidden
|
|
1219
|
+
* @hidden
|
|
1220
|
+
* @internal
|
|
1133
1221
|
*/
|
|
1134
|
-
|
|
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>);
|
|
1222
|
+
getFormGroup(id: any): FormGroup<any>;
|
|
1153
1223
|
/**
|
|
1154
1224
|
* @hidden
|
|
1225
|
+
* @internal
|
|
1155
1226
|
*/
|
|
1156
|
-
|
|
1157
|
-
ngDoCheck(): void;
|
|
1158
|
-
get nativeElement(): HTMLElement;
|
|
1159
|
-
getColumnSummaries(columnName: string): IgxSummaryResult[] | undefined;
|
|
1227
|
+
getFormControl(rowId: any, columnKey: string): _angular_forms.AbstractControl<any, any, any>;
|
|
1160
1228
|
/**
|
|
1161
1229
|
* @hidden
|
|
1162
1230
|
* @internal
|
|
1163
1231
|
*/
|
|
1164
|
-
|
|
1232
|
+
add(rowId: any, form: FormGroup): void;
|
|
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;
|
|
1165
1241
|
/**
|
|
1166
1242
|
* @hidden
|
|
1243
|
+
* @internal
|
|
1167
1244
|
*/
|
|
1168
|
-
|
|
1245
|
+
private getValidity;
|
|
1246
|
+
/**
|
|
1247
|
+
* Returns all invalid record states.
|
|
1248
|
+
*/
|
|
1249
|
+
getInvalid(): IRecordValidationState[];
|
|
1169
1250
|
/**
|
|
1170
1251
|
* @hidden
|
|
1252
|
+
* @internal
|
|
1171
1253
|
*/
|
|
1172
|
-
|
|
1254
|
+
update(rowId: any, rowData: any): void;
|
|
1173
1255
|
/**
|
|
1174
1256
|
* @hidden
|
|
1257
|
+
* @internal
|
|
1258
|
+
* Update validity based on new data.
|
|
1175
1259
|
*/
|
|
1176
|
-
|
|
1260
|
+
updateAll(newData: any): void;
|
|
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;
|
|
1177
1266
|
/**
|
|
1178
1267
|
* @hidden
|
|
1268
|
+
* @internal
|
|
1179
1269
|
*/
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
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>;
|
|
1270
|
+
private updateStatus;
|
|
1271
|
+
/** Clears validation state by key or all states if none is provided.
|
|
1272
|
+
* @param key Optional. The key of the record for which to clear state.
|
|
1273
|
+
*/
|
|
1274
|
+
clear(key?: any): void;
|
|
1275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridValidationService, never>;
|
|
1276
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridValidationService>;
|
|
1189
1277
|
}
|
|
1190
1278
|
|
|
1191
1279
|
/**
|
|
@@ -1204,7 +1292,7 @@ declare const DEFAULT_PIVOT_KEYS: {
|
|
|
1204
1292
|
*/
|
|
1205
1293
|
interface IDimensionsChange {
|
|
1206
1294
|
/** The new list of dimensions. */
|
|
1207
|
-
dimensions: IPivotDimension[]
|
|
1295
|
+
dimensions: IPivotDimension[];
|
|
1208
1296
|
/** The dimension list type - Row, Column or Filter. */
|
|
1209
1297
|
dimensionCollectionType: PivotDimensionType;
|
|
1210
1298
|
}
|
|
@@ -1310,9 +1398,6 @@ interface IPivotDimension {
|
|
|
1310
1398
|
autoWidth?: number;
|
|
1311
1399
|
horizontalSummary?: boolean;
|
|
1312
1400
|
}
|
|
1313
|
-
interface IPivotExpandableDimension extends IPivotDimension {
|
|
1314
|
-
expandable: boolean;
|
|
1315
|
-
}
|
|
1316
1401
|
/**
|
|
1317
1402
|
* Configuration of a pivot value aggregation.
|
|
1318
1403
|
*/
|
|
@@ -1409,9 +1494,7 @@ interface PivotRowHeaderGroupType {
|
|
|
1409
1494
|
}
|
|
1410
1495
|
interface DimensionValueType {
|
|
1411
1496
|
value: string;
|
|
1412
|
-
|
|
1413
|
-
dimension: IPivotDimension;
|
|
1414
|
-
children: Map<string, DimensionValueType> | null;
|
|
1497
|
+
children: Map<string, string | DimensionValueType>;
|
|
1415
1498
|
}
|
|
1416
1499
|
interface IPivotGridRecord {
|
|
1417
1500
|
/** Gets/Sets the group value associated with the related row dimension by its memberName. **/
|
|
@@ -1431,478 +1514,22 @@ interface IPivotGridRecord {
|
|
|
1431
1514
|
/** The index of the record in the total view */
|
|
1432
1515
|
dataIndex?: number;
|
|
1433
1516
|
}
|
|
1434
|
-
interface IPivotGridGroupRecord extends IPivotGridRecord {
|
|
1435
|
-
height?: number;
|
|
1436
|
-
rowSpan?: number;
|
|
1437
|
-
}
|
|
1438
|
-
interface IPivotGridHorizontalGroup {
|
|
1439
|
-
value?: string;
|
|
1440
|
-
rootDimension?: IPivotDimension;
|
|
1441
|
-
dimensions?: IPivotDimension[];
|
|
1442
|
-
records?: IPivotGridRecord[];
|
|
1443
|
-
rowStart?: number;
|
|
1444
|
-
rowSpan?: number;
|
|
1445
|
-
colStart?: number;
|
|
1446
|
-
colSpan?: number;
|
|
1447
|
-
}
|
|
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;
|
|
1517
|
+
interface IPivotGridGroupRecord extends IPivotGridRecord {
|
|
1518
|
+
height?: number;
|
|
1519
|
+
rowSpan?: number;
|
|
1806
1520
|
}
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
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>;
|
|
1521
|
+
interface IPivotGridHorizontalGroup {
|
|
1522
|
+
value?: string;
|
|
1523
|
+
rootDimension?: IPivotDimension;
|
|
1524
|
+
dimensions?: IPivotDimension[];
|
|
1525
|
+
records?: IPivotGridRecord[];
|
|
1526
|
+
rowStart?: number;
|
|
1527
|
+
rowSpan?: number;
|
|
1528
|
+
colStart?: number;
|
|
1529
|
+
colSpan?: number;
|
|
1530
|
+
}
|
|
1531
|
+
interface IgxPivotGridValueTemplateContext {
|
|
1532
|
+
$implicit: IPivotValue;
|
|
1906
1533
|
}
|
|
1907
1534
|
|
|
1908
1535
|
declare const IGX_GRID_BASE: InjectionToken<GridType>;
|
|
@@ -1971,7 +1598,7 @@ interface CellType {
|
|
|
1971
1598
|
* A method to activate the cell.
|
|
1972
1599
|
* It takes a focus or keyboard event as an argument
|
|
1973
1600
|
*/
|
|
1974
|
-
activate?(event
|
|
1601
|
+
activate?(event: FocusEvent | KeyboardEvent): void;
|
|
1975
1602
|
/**
|
|
1976
1603
|
* Optional
|
|
1977
1604
|
* A method to handle double-click events on the cell
|
|
@@ -1984,12 +1611,6 @@ interface CellType {
|
|
|
1984
1611
|
* It takes a mouse event as an argument
|
|
1985
1612
|
*/
|
|
1986
1613
|
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;
|
|
1993
1614
|
}
|
|
1994
1615
|
/**
|
|
1995
1616
|
* Interface representing a header cell in the grid. It is essentially the blueprint to a header cell object.
|
|
@@ -2006,8 +1627,8 @@ interface HeaderType {
|
|
|
2006
1627
|
selectable: boolean;
|
|
2007
1628
|
/** Indicates whether the cell is currently selected */
|
|
2008
1629
|
selected: boolean;
|
|
2009
|
-
/**
|
|
2010
|
-
title:
|
|
1630
|
+
/** Indicates whether the column header is a title cell. */
|
|
1631
|
+
title: boolean;
|
|
2011
1632
|
/** Represents the sorting direction of the column (ascending, descending or none). */
|
|
2012
1633
|
sortDirection: SortingDirection;
|
|
2013
1634
|
}
|
|
@@ -2029,7 +1650,6 @@ interface RowType {
|
|
|
2029
1650
|
* A map of column field names to the summary results for the row.
|
|
2030
1651
|
*/
|
|
2031
1652
|
summaries?: Map<string, IgxSummaryResult[]>;
|
|
2032
|
-
summaryCells?: QueryList<IgxSummaryCellComponent> | IgxSummaryCellComponent[];
|
|
2033
1653
|
groupRow?: IGroupByRecord;
|
|
2034
1654
|
key?: any;
|
|
2035
1655
|
readonly validation?: IGridValidationState;
|
|
@@ -2195,7 +1815,7 @@ interface GridServiceType {
|
|
|
2195
1815
|
/** The reference to the parent `GridType` that contains the service. */
|
|
2196
1816
|
grid: GridType;
|
|
2197
1817
|
/** Represents the type of the CRUD service (Create, Read, Update, Delete) operations on the grid data. */
|
|
2198
|
-
crudService:
|
|
1818
|
+
crudService: any;
|
|
2199
1819
|
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancellation. */
|
|
2200
1820
|
cms: IgxColumnMovingService;
|
|
2201
1821
|
/** Represents a method declaration for retrieving the data used in the grid. The returned values could be of any type */
|
|
@@ -2231,7 +1851,7 @@ interface GridServiceType {
|
|
|
2231
1851
|
* Represents a method declaration for retrieving the cell object associated with a specific row and column using their indexes.
|
|
2232
1852
|
* It counts only the indexes of the visible columns and rows
|
|
2233
1853
|
*/
|
|
2234
|
-
get_cell_by_visible_index(rowIndex: number, columnIndex: number):
|
|
1854
|
+
get_cell_by_visible_index(rowIndex: number, columnIndex: number): any;
|
|
2235
1855
|
/** Represents a method declaration that sets the expansion state of a group row (used for tree grids)
|
|
2236
1856
|
* It takes the value for the expansion as a parameter (expanded or collapsed)
|
|
2237
1857
|
*/
|
|
@@ -2334,7 +1954,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2334
1954
|
/** @hidden @internal */
|
|
2335
1955
|
theadRow: any;
|
|
2336
1956
|
/** @hidden @internal */
|
|
2337
|
-
groupArea:
|
|
1957
|
+
groupArea: any;
|
|
2338
1958
|
/** @hidden @internal */
|
|
2339
1959
|
filterCellList: any[];
|
|
2340
1960
|
/** @hidden @internal */
|
|
@@ -2350,7 +1970,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2350
1970
|
/** @hidden @internal */
|
|
2351
1971
|
paginatorList?: QueryList<IgxPaginatorComponent>;
|
|
2352
1972
|
/** @hidden @internal */
|
|
2353
|
-
crudService:
|
|
1973
|
+
crudService: any;
|
|
2354
1974
|
/** @hidden @internal */
|
|
2355
1975
|
summaryService: any;
|
|
2356
1976
|
/** @hidden @internal */
|
|
@@ -2359,10 +1979,10 @@ interface GridType extends IGridDataBindable {
|
|
|
2359
1979
|
virtualizationState: IForOfState;
|
|
2360
1980
|
/** @hidden @internal */
|
|
2361
1981
|
/** The service handling selection in the grid. Selecting, deselecting elements */
|
|
2362
|
-
selectionService:
|
|
1982
|
+
selectionService: any;
|
|
2363
1983
|
navigation: any;
|
|
2364
1984
|
/** @hidden @internal */
|
|
2365
|
-
filteringService:
|
|
1985
|
+
filteringService: any;
|
|
2366
1986
|
/**
|
|
2367
1987
|
* @deprecated in version 21.2.0. Overlays now use the HTML Popover API and no longer move to the document
|
|
2368
1988
|
* body by default, so using outlet is also no longer needed - just define the overlay in the intended
|
|
@@ -2498,7 +2118,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2498
2118
|
tbody: any;
|
|
2499
2119
|
verticalScrollContainer: any;
|
|
2500
2120
|
dataRowList: any;
|
|
2501
|
-
rowList:
|
|
2121
|
+
rowList: any;
|
|
2502
2122
|
/** An unmodifiable list, containing all the columns of the grid. */
|
|
2503
2123
|
columnList: QueryList<ColumnType>;
|
|
2504
2124
|
columns: ColumnType[];
|
|
@@ -2519,7 +2139,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2519
2139
|
headerGroups: any[];
|
|
2520
2140
|
/** @hidden @internal */
|
|
2521
2141
|
headerGroupsList: any[];
|
|
2522
|
-
summariesRowList:
|
|
2142
|
+
summariesRowList: any;
|
|
2523
2143
|
/** @hidden @internal */
|
|
2524
2144
|
headerContainer: any;
|
|
2525
2145
|
/** Indicates whether cells are selectable in the grid */
|
|
@@ -2581,7 +2201,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2581
2201
|
hasEditableColumns: boolean;
|
|
2582
2202
|
/** Property, that provides a callback for loading unique column values on demand.
|
|
2583
2203
|
* If this property is provided, the unique values it generates will be used by the Excel Style Filtering */
|
|
2584
|
-
uniqueColumnValuesStrategy
|
|
2204
|
+
uniqueColumnValuesStrategy: (column: ColumnType, tree: FilteringExpressionsTree, done: (values: any[]) => void) => void;
|
|
2585
2205
|
/** Property, that gets the header cell inner width for auto-sizing. */
|
|
2586
2206
|
getHeaderCellWidth: (element: HTMLElement) => ISizeInfo;
|
|
2587
2207
|
/**
|
|
@@ -2736,7 +2356,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2736
2356
|
openRowOverlay(id: any): void;
|
|
2737
2357
|
openAdvancedFilteringDialog(overlaySettings?: OverlaySettings): void;
|
|
2738
2358
|
showSnackbarFor(index: number): void;
|
|
2739
|
-
getColumnByName(name: string):
|
|
2359
|
+
getColumnByName(name: string): any;
|
|
2740
2360
|
getColumnByVisibleIndex(index: number): ColumnType;
|
|
2741
2361
|
getHeaderGroupWidth(column: ColumnType): string;
|
|
2742
2362
|
getRowByKey?(key: any): RowType;
|
|
@@ -2760,7 +2380,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2760
2380
|
isGhostRecord(rec: any): boolean;
|
|
2761
2381
|
isTreeRow?(rec: any): boolean;
|
|
2762
2382
|
isChildGridRecord?(rec: any): boolean;
|
|
2763
|
-
getChildGrids?(inDepth?: boolean):
|
|
2383
|
+
getChildGrids?(inDepth?: boolean): any[];
|
|
2764
2384
|
isHierarchicalRecord?(record: any): boolean;
|
|
2765
2385
|
columnToVisibleIndex(key: string | number): number;
|
|
2766
2386
|
moveColumn(column: ColumnType, target: ColumnType, pos: DropPosition): void;
|
|
@@ -2784,7 +2404,7 @@ interface GridType extends IGridDataBindable {
|
|
|
2784
2404
|
notifyChanges(repaint?: boolean): void;
|
|
2785
2405
|
resetColumnCollections(): void;
|
|
2786
2406
|
triggerPipes(): void;
|
|
2787
|
-
repositionRowEditingOverlay(row
|
|
2407
|
+
repositionRowEditingOverlay(row: RowType): void;
|
|
2788
2408
|
closeRowEditingOverlay(): void;
|
|
2789
2409
|
reflow(): void;
|
|
2790
2410
|
isExpandedGroup(group: IGroupByRecord): boolean;
|
|
@@ -2872,17 +2492,17 @@ interface PivotGridType extends GridType {
|
|
|
2872
2492
|
* Represents a method declaration for moving dimension from its currently collection to the specified target collection
|
|
2873
2493
|
* by type (Row, Column or Filter) at specified index or at the collection's end
|
|
2874
2494
|
*/
|
|
2875
|
-
moveDimension(dimension: IPivotDimension, targetCollectionType: PivotDimensionType, index?: number):
|
|
2876
|
-
getDimensionsByType(dimension: PivotDimensionType):
|
|
2495
|
+
moveDimension(dimension: IPivotDimension, targetCollectionType: PivotDimensionType, index?: number): any;
|
|
2496
|
+
getDimensionsByType(dimension: PivotDimensionType): any;
|
|
2877
2497
|
/** Toggles the dimension's enabled state on or off. The dimension remains in its current collection */
|
|
2878
|
-
toggleDimension(dimension: IPivotDimension):
|
|
2498
|
+
toggleDimension(dimension: IPivotDimension): any;
|
|
2879
2499
|
/** Sort the dimension and its children in the provided direction (ascending, descending or none). */
|
|
2880
|
-
sortDimension(dimension: IPivotDimension, sortDirection: SortingDirection):
|
|
2500
|
+
sortDimension(dimension: IPivotDimension, sortDirection: SortingDirection): any;
|
|
2881
2501
|
/** Toggles the value's enabled state on or off. The value remains in its current collection. */
|
|
2882
|
-
toggleValue(value: IPivotValue):
|
|
2502
|
+
toggleValue(value: IPivotValue): any;
|
|
2883
2503
|
/** Move value from its currently at specified index or at the end.
|
|
2884
2504
|
* If the parameter is not set, it will add it to the end of the collection. */
|
|
2885
|
-
moveValue(value: IPivotValue, index?: number):
|
|
2505
|
+
moveValue(value: IPivotValue, index?: number): any;
|
|
2886
2506
|
rowDimensionWidth(dim: IPivotDimension): string;
|
|
2887
2507
|
rowDimensionWidthToPixels(dim: IPivotDimension): number;
|
|
2888
2508
|
/** Emits an event when the dimensions in the pivot grid change. */
|
|
@@ -2931,13 +2551,13 @@ interface IgxGridEmptyTemplateContext {
|
|
|
2931
2551
|
interface IgxGridRowEditTemplateContext {
|
|
2932
2552
|
$implicit: undefined;
|
|
2933
2553
|
rowChangesCount: number;
|
|
2934
|
-
endEdit: (commit: boolean, event?:
|
|
2554
|
+
endEdit: (commit: boolean, event?: Event) => void;
|
|
2935
2555
|
}
|
|
2936
2556
|
interface IgxGridRowEditTextTemplateContext {
|
|
2937
2557
|
$implicit: number;
|
|
2938
2558
|
}
|
|
2939
2559
|
interface IgxGridRowEditActionsTemplateContext {
|
|
2940
|
-
$implicit: (commit: boolean, event?:
|
|
2560
|
+
$implicit: (commit: boolean, event?: Event) => void;
|
|
2941
2561
|
}
|
|
2942
2562
|
interface IgxGridHeaderTemplateContext {
|
|
2943
2563
|
$implicit: HeaderType;
|
|
@@ -3294,7 +2914,7 @@ declare class IgxColumnActionsComponent implements DoCheck {
|
|
|
3294
2914
|
/**
|
|
3295
2915
|
* @hidden @internal
|
|
3296
2916
|
*/
|
|
3297
|
-
trackChanges: (index:
|
|
2917
|
+
trackChanges: (index: any, col: any) => string;
|
|
3298
2918
|
/**
|
|
3299
2919
|
* @hidden @internal
|
|
3300
2920
|
*/
|
|
@@ -3348,7 +2968,7 @@ declare class IgxColumnHidingDirective extends IgxColumnActionsBaseDirective {
|
|
|
3348
2968
|
/**
|
|
3349
2969
|
* @hidden @internal
|
|
3350
2970
|
*/
|
|
3351
|
-
actionEnabledColumnsFilter: (c:
|
|
2971
|
+
actionEnabledColumnsFilter: (c: any) => boolean;
|
|
3352
2972
|
/**
|
|
3353
2973
|
* @hidden @internal
|
|
3354
2974
|
*/
|
|
@@ -3505,7 +3125,7 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3505
3125
|
/**
|
|
3506
3126
|
* @hidden
|
|
3507
3127
|
*/
|
|
3508
|
-
protected defaultSortHeaderIconTemplate:
|
|
3128
|
+
protected defaultSortHeaderIconTemplate: any;
|
|
3509
3129
|
/**
|
|
3510
3130
|
* @hidden
|
|
3511
3131
|
*/
|
|
@@ -3538,7 +3158,7 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3538
3158
|
/**
|
|
3539
3159
|
* Returns the `aria-sort` of the header.
|
|
3540
3160
|
*/
|
|
3541
|
-
get ariaSort(): "ascending" | "descending"
|
|
3161
|
+
get ariaSort(): "ascending" | "descending";
|
|
3542
3162
|
/**
|
|
3543
3163
|
* @hidden
|
|
3544
3164
|
*/
|
|
@@ -3553,63 +3173,198 @@ declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
|
|
|
3553
3173
|
get numberStyle(): boolean;
|
|
3554
3174
|
get sortableStyle(): boolean;
|
|
3555
3175
|
get selectableStyle(): boolean;
|
|
3556
|
-
get filterableStyle():
|
|
3176
|
+
get filterableStyle(): any;
|
|
3557
3177
|
get sortedStyle(): boolean;
|
|
3558
3178
|
get selectedStyle(): boolean;
|
|
3559
3179
|
/**
|
|
3560
|
-
* @hidden
|
|
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.
|
|
3561
3312
|
*/
|
|
3562
|
-
|
|
3313
|
+
clearFilter(field: string): void;
|
|
3314
|
+
clear_filter(fieldName: string): void;
|
|
3563
3315
|
/**
|
|
3564
|
-
*
|
|
3316
|
+
* Filters all the column in the grid with the same condition.
|
|
3317
|
+
* @deprecated in version 19.0.0.
|
|
3565
3318
|
*/
|
|
3566
|
-
|
|
3319
|
+
filterGlobal(value: any, condition: any, ignoreCase?: any): void;
|
|
3567
3320
|
/**
|
|
3568
|
-
*
|
|
3321
|
+
* Register filtering SVG icons in the icon service.
|
|
3569
3322
|
*/
|
|
3570
|
-
|
|
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;
|
|
3323
|
+
registerSVGIcons(): void;
|
|
3580
3324
|
/**
|
|
3581
|
-
*
|
|
3325
|
+
* Returns the ExpressionUI array for a given column.
|
|
3582
3326
|
*/
|
|
3583
|
-
|
|
3327
|
+
getExpressions(columnId: string): ExpressionUI[];
|
|
3584
3328
|
/**
|
|
3585
|
-
*
|
|
3329
|
+
* Recreates all ExpressionUIs for all columns. Executed after filtering to refresh the cache.
|
|
3586
3330
|
*/
|
|
3587
|
-
|
|
3331
|
+
refreshExpressions(): void;
|
|
3588
3332
|
/**
|
|
3589
|
-
*
|
|
3333
|
+
* Remove an ExpressionUI for a given column.
|
|
3590
3334
|
*/
|
|
3591
|
-
|
|
3335
|
+
removeExpression(columnId: string, indexToRemove: number): void;
|
|
3592
3336
|
/**
|
|
3593
|
-
*
|
|
3337
|
+
* Generate filtering tree for a given column from existing ExpressionUIs.
|
|
3594
3338
|
*/
|
|
3595
|
-
|
|
3339
|
+
createSimpleFilteringTree(columnId: string, expressionUIList?: any): FilteringExpressionsTree;
|
|
3596
3340
|
/**
|
|
3597
|
-
*
|
|
3341
|
+
* Returns whether a complex filter is applied to a given column.
|
|
3598
3342
|
*/
|
|
3599
|
-
|
|
3343
|
+
isFilterComplex(columnId: string): boolean;
|
|
3600
3344
|
/**
|
|
3601
|
-
*
|
|
3345
|
+
* Returns the string representation of the FilteringLogic operator.
|
|
3602
3346
|
*/
|
|
3603
|
-
|
|
3347
|
+
getOperatorAsString(operator: FilteringLogic): any;
|
|
3604
3348
|
/**
|
|
3605
|
-
*
|
|
3349
|
+
* Generate the label of a chip from a given filtering expression.
|
|
3606
3350
|
*/
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3351
|
+
getChipLabel(expression: IFilteringExpression): any;
|
|
3352
|
+
/**
|
|
3353
|
+
* Updates the content of a filterCell.
|
|
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.
|
|
3362
|
+
*/
|
|
3363
|
+
protected prepare_filtering_expression(filteringState: IFilteringExpressionsTree, fieldName: string, searchVal: any, conditionOrExpressionsTree: IFilteringOperation | IFilteringExpressionsTree, ignoreCase: boolean, insertAtIndex?: number, createNewTree?: boolean): FilteringExpressionsTree;
|
|
3364
|
+
private isFilteringTreeComplex;
|
|
3365
|
+
private getChildAndOperatorsCount;
|
|
3366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxFilteringService, never>;
|
|
3367
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxFilteringService>;
|
|
3613
3368
|
}
|
|
3614
3369
|
|
|
3615
3370
|
/**
|
|
@@ -3730,7 +3485,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3730
3485
|
/**
|
|
3731
3486
|
* @hidden
|
|
3732
3487
|
*/
|
|
3733
|
-
get zIndex(): number
|
|
3488
|
+
get zIndex(): number;
|
|
3734
3489
|
/**
|
|
3735
3490
|
* @hidden
|
|
3736
3491
|
*/
|
|
@@ -3787,7 +3542,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3787
3542
|
/**
|
|
3788
3543
|
* @hidden
|
|
3789
3544
|
*/
|
|
3790
|
-
get title(): string
|
|
3545
|
+
get title(): string;
|
|
3791
3546
|
get nativeElement(): HTMLElement;
|
|
3792
3547
|
/**
|
|
3793
3548
|
* @hidden
|
|
@@ -3800,7 +3555,7 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3800
3555
|
/**
|
|
3801
3556
|
* @hidden @internal
|
|
3802
3557
|
*/
|
|
3803
|
-
onPointerDownIndicator(event:
|
|
3558
|
+
onPointerDownIndicator(event: any): void;
|
|
3804
3559
|
/**
|
|
3805
3560
|
* @hidden @internal
|
|
3806
3561
|
*/
|
|
@@ -3833,12 +3588,213 @@ declare class IgxGridHeaderGroupComponent implements DoCheck {
|
|
|
3833
3588
|
rowEnd: number;
|
|
3834
3589
|
colEnd: number;
|
|
3835
3590
|
columnVisibleIndex: number;
|
|
3836
|
-
}
|
|
3591
|
+
};
|
|
3837
3592
|
};
|
|
3838
3593
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridHeaderGroupComponent, never>;
|
|
3839
3594
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridHeaderGroupComponent, "igx-grid-header-group", never, { "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
3840
3595
|
}
|
|
3841
3596
|
|
|
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
|
+
|
|
3842
3798
|
declare class IgxFilterCellTemplateDirective {
|
|
3843
3799
|
template: TemplateRef<IgxColumnTemplateContext>;
|
|
3844
3800
|
static ngTemplateContextGuard(_directive: IgxFilterCellTemplateDirective, context: unknown): context is IgxColumnTemplateContext;
|
|
@@ -4236,7 +4192,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4236
4192
|
*
|
|
4237
4193
|
* @memberof IgxColumnComponent
|
|
4238
4194
|
*/
|
|
4239
|
-
headerStyles:
|
|
4195
|
+
headerStyles: any;
|
|
4240
4196
|
/**
|
|
4241
4197
|
* Sets/gets the class selector of the column group header.
|
|
4242
4198
|
* ```typescript
|
|
@@ -4265,7 +4221,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4265
4221
|
*
|
|
4266
4222
|
* @memberof IgxColumnComponent
|
|
4267
4223
|
*/
|
|
4268
|
-
headerGroupStyles:
|
|
4224
|
+
headerGroupStyles: any;
|
|
4269
4225
|
/**
|
|
4270
4226
|
* Sets a conditional class selector of the column cells.
|
|
4271
4227
|
* Accepts an object literal, containing key-value pairs,
|
|
@@ -4335,7 +4291,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4335
4291
|
*
|
|
4336
4292
|
* @memberof IgxColumnComponent
|
|
4337
4293
|
*/
|
|
4338
|
-
formatter
|
|
4294
|
+
formatter: (value: any, rowData?: any) => any;
|
|
4339
4295
|
/**
|
|
4340
4296
|
* The summaryFormatter is used to format the display of the column summaries.
|
|
4341
4297
|
*
|
|
@@ -4361,7 +4317,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4361
4317
|
*
|
|
4362
4318
|
* @memberof IgxColumnComponent
|
|
4363
4319
|
*/
|
|
4364
|
-
summaryFormatter
|
|
4320
|
+
summaryFormatter: (summary: IgxSummaryResult, summaryOperand: IgxSummaryOperand) => any;
|
|
4365
4321
|
/**
|
|
4366
4322
|
* Sets/gets whether the column filtering should be case sensitive.
|
|
4367
4323
|
* Default value is `true`.
|
|
@@ -4415,7 +4371,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4415
4371
|
*/
|
|
4416
4372
|
dataType: GridColumnDataType;
|
|
4417
4373
|
/** @hidden */
|
|
4418
|
-
collapsibleIndicatorTemplate
|
|
4374
|
+
collapsibleIndicatorTemplate: TemplateRef<IgxColumnTemplateContext>;
|
|
4419
4375
|
/**
|
|
4420
4376
|
* Row index where the current field should end.
|
|
4421
4377
|
* The amount of rows between rowStart and rowEnd will determine the amount of spanning rows to that field
|
|
@@ -4499,36 +4455,36 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
4499
4455
|
/**
|
|
4500
4456
|
* @hidden
|
|
4501
4457
|
*/
|
|
4502
|
-
filterCellTemplateDirective
|
|
4458
|
+
filterCellTemplateDirective: IgxFilterCellTemplateDirective;
|
|
4503
4459
|
/**
|
|
4504
4460
|
* @hidden
|
|
4505
4461
|
*/
|
|
4506
|
-
protected summaryTemplateDirective
|
|
4462
|
+
protected summaryTemplateDirective: IgxSummaryTemplateDirective;
|
|
4507
4463
|
/**
|
|
4508
4464
|
* @hidden
|
|
4509
4465
|
* @see {@link bodyTemplate}
|
|
4510
4466
|
*/
|
|
4511
|
-
protected cellTemplate
|
|
4467
|
+
protected cellTemplate: IgxCellTemplateDirective;
|
|
4512
4468
|
/**
|
|
4513
4469
|
* @hidden
|
|
4514
4470
|
*/
|
|
4515
|
-
protected cellValidationErrorTemplate
|
|
4471
|
+
protected cellValidationErrorTemplate: IgxCellValidationErrorDirective;
|
|
4516
4472
|
/**
|
|
4517
4473
|
* @hidden
|
|
4518
4474
|
*/
|
|
4519
|
-
protected headTemplate
|
|
4475
|
+
protected headTemplate: QueryList<IgxCellHeaderTemplateDirective>;
|
|
4520
4476
|
/**
|
|
4521
4477
|
* @hidden
|
|
4522
4478
|
*/
|
|
4523
|
-
protected editorTemplate
|
|
4479
|
+
protected editorTemplate: IgxCellEditorTemplateDirective;
|
|
4524
4480
|
/**
|
|
4525
4481
|
* @hidden
|
|
4526
4482
|
*/
|
|
4527
|
-
protected collapseIndicatorTemplate
|
|
4483
|
+
protected collapseIndicatorTemplate: IgxCollapsibleIndicatorTemplateDirective;
|
|
4528
4484
|
/**
|
|
4529
4485
|
* @hidden
|
|
4530
4486
|
*/
|
|
4531
|
-
get calcWidth():
|
|
4487
|
+
get calcWidth(): any;
|
|
4532
4488
|
/** @hidden @internal **/
|
|
4533
4489
|
calcPixelWidth: number;
|
|
4534
4490
|
/**
|
|
@@ -5066,7 +5022,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5066
5022
|
*/
|
|
5067
5023
|
protected _applySelectableClass: boolean;
|
|
5068
5024
|
protected _vIndex: number;
|
|
5069
|
-
protected _pinningPosition:
|
|
5025
|
+
protected _pinningPosition: any;
|
|
5070
5026
|
/**
|
|
5071
5027
|
* @hidden
|
|
5072
5028
|
*/
|
|
@@ -5098,7 +5054,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5098
5054
|
/**
|
|
5099
5055
|
* @hidden
|
|
5100
5056
|
*/
|
|
5101
|
-
protected _summaries:
|
|
5057
|
+
protected _summaries: any;
|
|
5102
5058
|
/**
|
|
5103
5059
|
* @hidden
|
|
5104
5060
|
*/
|
|
@@ -5106,7 +5062,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5106
5062
|
/**
|
|
5107
5063
|
* @hidden
|
|
5108
5064
|
*/
|
|
5109
|
-
protected _filters:
|
|
5065
|
+
protected _filters: any;
|
|
5110
5066
|
/**
|
|
5111
5067
|
* @hidden
|
|
5112
5068
|
*/
|
|
@@ -5139,7 +5095,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5139
5095
|
/**
|
|
5140
5096
|
* @hidden
|
|
5141
5097
|
*/
|
|
5142
|
-
protected _maxWidth:
|
|
5098
|
+
protected _maxWidth: any;
|
|
5143
5099
|
/**
|
|
5144
5100
|
* @hidden
|
|
5145
5101
|
*/
|
|
@@ -5159,7 +5115,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5159
5115
|
/**
|
|
5160
5116
|
* @hidden
|
|
5161
5117
|
*/
|
|
5162
|
-
protected _visibleWhenCollapsed:
|
|
5118
|
+
protected _visibleWhenCollapsed: any;
|
|
5163
5119
|
/**
|
|
5164
5120
|
* @hidden
|
|
5165
5121
|
*/
|
|
@@ -5293,7 +5249,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5293
5249
|
/**
|
|
5294
5250
|
* @hidden
|
|
5295
5251
|
*/
|
|
5296
|
-
getCalcWidth():
|
|
5252
|
+
getCalcWidth(): any;
|
|
5297
5253
|
/**
|
|
5298
5254
|
* @hidden
|
|
5299
5255
|
* Returns the width and padding of a header cell.
|
|
@@ -5324,7 +5280,7 @@ declare class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnT
|
|
|
5324
5280
|
* @hidden
|
|
5325
5281
|
* @internal
|
|
5326
5282
|
*/
|
|
5327
|
-
getConstrainedSizePx(newSize:
|
|
5283
|
+
getConstrainedSizePx(newSize: any): any;
|
|
5328
5284
|
/**
|
|
5329
5285
|
* @hidden
|
|
5330
5286
|
* @internal
|
|
@@ -5603,10 +5559,7 @@ declare class IgxColumnGroupComponent extends IgxColumnComponent implements Afte
|
|
|
5603
5559
|
*/
|
|
5604
5560
|
declare class IgxColumnLayoutComponent extends IgxColumnGroupComponent implements AfterContentInit {
|
|
5605
5561
|
/** @hidden @internal **/
|
|
5606
|
-
childrenVisibleIndexes:
|
|
5607
|
-
column: IgxColumnComponent;
|
|
5608
|
-
index: number;
|
|
5609
|
-
}[];
|
|
5562
|
+
childrenVisibleIndexes: any[];
|
|
5610
5563
|
/**
|
|
5611
5564
|
* Gets the width of the column layout.
|
|
5612
5565
|
* ```typescript
|
|
@@ -5621,7 +5574,7 @@ declare class IgxColumnLayoutComponent extends IgxColumnGroupComponent implement
|
|
|
5621
5574
|
/**
|
|
5622
5575
|
* @hidden
|
|
5623
5576
|
*/
|
|
5624
|
-
getCalcWidth():
|
|
5577
|
+
getCalcWidth(): any;
|
|
5625
5578
|
/**
|
|
5626
5579
|
* Gets the column visible index.
|
|
5627
5580
|
* If the column is not visible, returns `-1`.
|
|
@@ -5688,7 +5641,7 @@ declare class IgxGridNavigationService {
|
|
|
5688
5641
|
dispatchEvent(event: KeyboardEvent): void;
|
|
5689
5642
|
summaryNav(event: KeyboardEvent): void;
|
|
5690
5643
|
headerNavigation(event: KeyboardEvent): void;
|
|
5691
|
-
focusTbody(event:
|
|
5644
|
+
focusTbody(event: any): void;
|
|
5692
5645
|
focusFirstCell(header?: boolean): void;
|
|
5693
5646
|
isColumnFullyVisible(columnIndex: number): boolean;
|
|
5694
5647
|
shouldPerformHorizontalScroll(visibleColIndex: number, rowIndex?: number): boolean;
|
|
@@ -5696,7 +5649,7 @@ declare class IgxGridNavigationService {
|
|
|
5696
5649
|
protected shouldNotifyVirtualizedKeyboardSelection(key: string, rowIndex: number, visibleColIndex: number): boolean;
|
|
5697
5650
|
performVerticalScrollToCell(rowIndex: number, visibleColIndex?: number, cb?: () => void): void;
|
|
5698
5651
|
performHorizontalScrollToCell(visibleColumnIndex: number, cb?: () => void): void;
|
|
5699
|
-
isDataRow(rowIndex: number, includeSummary?: boolean):
|
|
5652
|
+
isDataRow(rowIndex: number, includeSummary?: boolean): boolean;
|
|
5700
5653
|
isGroupRow(rowIndex: number): boolean;
|
|
5701
5654
|
setActiveNode(activeNode: IActiveNode): void;
|
|
5702
5655
|
isActiveNodeChanged(activeNode: IActiveNode): boolean;
|
|
@@ -5705,7 +5658,7 @@ declare class IgxGridNavigationService {
|
|
|
5705
5658
|
protected getNextPosition(rowIndex: number, colIndex: number, key: string, shift: boolean, ctrl: boolean, event: KeyboardEvent): {
|
|
5706
5659
|
rowIndex: number;
|
|
5707
5660
|
colIndex: number;
|
|
5708
|
-
}
|
|
5661
|
+
};
|
|
5709
5662
|
protected horizontalNav(event: KeyboardEvent, key: string, rowIndex: number, tag: GridKeydownTargetType): void;
|
|
5710
5663
|
get lastColumnIndex(): number;
|
|
5711
5664
|
get displayContainerWidth(): number;
|
|
@@ -5715,14 +5668,14 @@ declare class IgxGridNavigationService {
|
|
|
5715
5668
|
protected forOfDir(): IgxForOfDirective<any>;
|
|
5716
5669
|
protected handleAlt(key: string, event: KeyboardEvent): void;
|
|
5717
5670
|
protected handleEditing(shift: boolean, event: KeyboardEvent): void;
|
|
5718
|
-
protected navigateInBody(rowIndex:
|
|
5719
|
-
protected emitKeyDown(type: GridKeydownTargetType, rowIndex:
|
|
5671
|
+
protected navigateInBody(rowIndex: any, visibleColIndex: any, cb?: (arg: any) => void): void;
|
|
5672
|
+
protected emitKeyDown(type: GridKeydownTargetType, rowIndex: any, event: any): true;
|
|
5720
5673
|
protected isColumnPinned(columnIndex: number, forOfDir: IgxForOfDirective<any>): boolean;
|
|
5721
5674
|
protected findFirstDataRowIndex(): number;
|
|
5722
5675
|
protected findLastDataRowIndex(): number;
|
|
5723
|
-
protected getRowElementByIndex(index:
|
|
5676
|
+
protected getRowElementByIndex(index: any): any;
|
|
5724
5677
|
protected isValidPosition(rowIndex: number, colIndex: number): boolean;
|
|
5725
|
-
protected performHeaderKeyCombination(column: any, key: any, shift: any, ctrl: any, alt: any, event:
|
|
5678
|
+
protected performHeaderKeyCombination(column: any, key: any, shift: any, ctrl: any, alt: any, event: any): void;
|
|
5726
5679
|
private firstVisibleNode;
|
|
5727
5680
|
private handleMCHeaderNav;
|
|
5728
5681
|
private handleMCHExpandCollapse;
|
|
@@ -5798,7 +5751,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5798
5751
|
/**
|
|
5799
5752
|
* @hidden @internal
|
|
5800
5753
|
*/
|
|
5801
|
-
onDragMove(e:
|
|
5754
|
+
onDragMove(e: any): void;
|
|
5802
5755
|
/**
|
|
5803
5756
|
* @hidden @internal
|
|
5804
5757
|
*/
|
|
@@ -5810,7 +5763,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5810
5763
|
/**
|
|
5811
5764
|
* @hidden @internal
|
|
5812
5765
|
*/
|
|
5813
|
-
onClearButtonClick(event?:
|
|
5766
|
+
onClearButtonClick(event?: Event): void;
|
|
5814
5767
|
/**
|
|
5815
5768
|
* @hidden @internal
|
|
5816
5769
|
*/
|
|
@@ -5818,7 +5771,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5818
5771
|
/**
|
|
5819
5772
|
* @hidden @internal
|
|
5820
5773
|
*/
|
|
5821
|
-
applyChanges(event?:
|
|
5774
|
+
applyChanges(event?: Event): void;
|
|
5822
5775
|
/**
|
|
5823
5776
|
* @hidden @internal
|
|
5824
5777
|
*/
|
|
@@ -5826,7 +5779,7 @@ declare class IgxAdvancedFilteringDialogComponent implements OnDestroy {
|
|
|
5826
5779
|
/**
|
|
5827
5780
|
* @hidden @internal
|
|
5828
5781
|
*/
|
|
5829
|
-
onApplyButtonClick(event?:
|
|
5782
|
+
onApplyButtonClick(event?: Event): void;
|
|
5830
5783
|
/**
|
|
5831
5784
|
* @hidden @internal
|
|
5832
5785
|
*/
|
|
@@ -5841,7 +5794,7 @@ declare abstract class BaseFilteringComponent {
|
|
|
5841
5794
|
element: ElementRef<any>;
|
|
5842
5795
|
protected platform: PlatformUtil;
|
|
5843
5796
|
abstract column: any;
|
|
5844
|
-
abstract get grid():
|
|
5797
|
+
abstract get grid(): any;
|
|
5845
5798
|
abstract overlayComponentId: string;
|
|
5846
5799
|
abstract mainDropdown: ElementRef<HTMLElement>;
|
|
5847
5800
|
abstract expressionsList: ExpressionUI[];
|
|
@@ -5858,7 +5811,7 @@ declare abstract class BaseFilteringComponent {
|
|
|
5858
5811
|
abstract detectChanges(): void;
|
|
5859
5812
|
abstract hide(): void;
|
|
5860
5813
|
abstract closeDropdown(): void;
|
|
5861
|
-
abstract onSelect(
|
|
5814
|
+
abstract onSelect(): void;
|
|
5862
5815
|
abstract onPin(): void;
|
|
5863
5816
|
abstract onHideToggle(): void;
|
|
5864
5817
|
abstract cancel(): void;
|
|
@@ -5914,7 +5867,7 @@ declare class IgxExcelStyleConditionalFilterComponent implements OnDestroy {
|
|
|
5914
5867
|
/**
|
|
5915
5868
|
* @hidden @internal
|
|
5916
5869
|
*/
|
|
5917
|
-
onTextFilterClick(eventArgs:
|
|
5870
|
+
onTextFilterClick(eventArgs: any): void;
|
|
5918
5871
|
/**
|
|
5919
5872
|
* @hidden @internal
|
|
5920
5873
|
*/
|
|
@@ -5939,7 +5892,7 @@ declare class IgxExcelStyleConditionalFilterComponent implements OnDestroy {
|
|
|
5939
5892
|
/**
|
|
5940
5893
|
* @hidden @internal
|
|
5941
5894
|
*/
|
|
5942
|
-
get subMenuText():
|
|
5895
|
+
get subMenuText(): any;
|
|
5943
5896
|
/**
|
|
5944
5897
|
* @hidden @internal
|
|
5945
5898
|
*/
|
|
@@ -6020,7 +5973,7 @@ declare class IgxExcelStyleMovingComponent {
|
|
|
6020
5973
|
/**
|
|
6021
5974
|
* @hidden @internal
|
|
6022
5975
|
*/
|
|
6023
|
-
onMoveButtonClicked(moveDirection:
|
|
5976
|
+
onMoveButtonClicked(moveDirection: any): void;
|
|
6024
5977
|
protected get esfSize(): string;
|
|
6025
5978
|
private findColumn;
|
|
6026
5979
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleMovingComponent, never>;
|
|
@@ -6248,7 +6201,7 @@ declare class IgxExcelStyleSortingComponent implements OnDestroy {
|
|
|
6248
6201
|
/**
|
|
6249
6202
|
* @hidden @internal
|
|
6250
6203
|
*/
|
|
6251
|
-
onSortButtonClicked(sortDirection:
|
|
6204
|
+
onSortButtonClicked(sortDirection: any): void;
|
|
6252
6205
|
protected get esfSize(): string;
|
|
6253
6206
|
private updateSelectedButtons;
|
|
6254
6207
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleSortingComponent, never>;
|
|
@@ -6276,7 +6229,7 @@ declare class IgxExcelStyleFilterOperationsTemplateDirective {
|
|
|
6276
6229
|
*/
|
|
6277
6230
|
declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent implements AfterViewInit, OnDestroy {
|
|
6278
6231
|
private document;
|
|
6279
|
-
protected gridAPI?: GridType
|
|
6232
|
+
protected gridAPI?: GridType;
|
|
6280
6233
|
/**
|
|
6281
6234
|
* @hidden @internal
|
|
6282
6235
|
*/
|
|
@@ -6411,7 +6364,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6411
6364
|
/**
|
|
6412
6365
|
* @hidden @internal
|
|
6413
6366
|
*/
|
|
6414
|
-
get grid():
|
|
6367
|
+
get grid(): GridTypeBase;
|
|
6415
6368
|
/**
|
|
6416
6369
|
* @hidden @internal
|
|
6417
6370
|
*/
|
|
@@ -6435,7 +6388,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6435
6388
|
/**
|
|
6436
6389
|
* @hidden @internal
|
|
6437
6390
|
*/
|
|
6438
|
-
onSelect(
|
|
6391
|
+
onSelect(): void;
|
|
6439
6392
|
/**
|
|
6440
6393
|
* @hidden @internal
|
|
6441
6394
|
*/
|
|
@@ -6464,7 +6417,7 @@ declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
|
|
|
6464
6417
|
* @hidden @internal
|
|
6465
6418
|
*/
|
|
6466
6419
|
detectChanges(): void;
|
|
6467
|
-
protected computedStyles:
|
|
6420
|
+
protected computedStyles: any;
|
|
6468
6421
|
protected get size(): string;
|
|
6469
6422
|
protected afterColumnChange(): void;
|
|
6470
6423
|
private init;
|
|
@@ -6523,14 +6476,14 @@ declare class IgxExcelStyleDefaultExpressionComponent implements AfterViewInit {
|
|
|
6523
6476
|
translateCondition(value: string): string;
|
|
6524
6477
|
getIconName(): string;
|
|
6525
6478
|
isConditionSelected(conditionName: string): boolean;
|
|
6526
|
-
onConditionsChanged(eventArgs:
|
|
6479
|
+
onConditionsChanged(eventArgs: any): void;
|
|
6527
6480
|
getCondition(value: string): IFilteringOperation;
|
|
6528
6481
|
getConditionFriendlyName(name: string): string;
|
|
6529
|
-
updateSearchValueOnBlur(eventArgs:
|
|
6530
|
-
onLogicOperatorButtonClicked(eventArgs:
|
|
6482
|
+
updateSearchValueOnBlur(eventArgs: any): void;
|
|
6483
|
+
onLogicOperatorButtonClicked(eventArgs: any, buttonIndex: number): void;
|
|
6531
6484
|
onLogicOperatorKeyDown(eventArgs: KeyboardEvent, buttonIndex: number): void;
|
|
6532
6485
|
onRemoveButtonClick(): void;
|
|
6533
|
-
onOutletPointerDown(event:
|
|
6486
|
+
onOutletPointerDown(event: any): void;
|
|
6534
6487
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleDefaultExpressionComponent, never>;
|
|
6535
6488
|
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>;
|
|
6536
6489
|
}
|
|
@@ -6562,7 +6515,7 @@ declare class IgxGridActionButtonComponent {
|
|
|
6562
6515
|
* <igx-grid-action-button (actionClick)="startEdit($event)"></igx-grid-action-button>
|
|
6563
6516
|
* ```
|
|
6564
6517
|
*/
|
|
6565
|
-
actionClick: EventEmitter<
|
|
6518
|
+
actionClick: EventEmitter<Event>;
|
|
6566
6519
|
/**
|
|
6567
6520
|
* Reference to the current template.
|
|
6568
6521
|
*
|
|
@@ -6589,24 +6542,187 @@ declare class IgxGridActionButtonComponent {
|
|
|
6589
6542
|
*/
|
|
6590
6543
|
iconSet: string;
|
|
6591
6544
|
/**
|
|
6592
|
-
* The text of the label.
|
|
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;
|
|
6629
|
+
/**
|
|
6630
|
+
* Generates a new selection range from the given `node`.
|
|
6631
|
+
* If `state` is passed instead it will generate the range based on the passed `node`
|
|
6632
|
+
* and the start node of the `state`.
|
|
6593
6633
|
*/
|
|
6594
|
-
|
|
6634
|
+
generateRange(node: ISelectionNode, state?: SelectionState): GridSelectionRange;
|
|
6595
6635
|
/**
|
|
6596
|
-
*
|
|
6597
|
-
* @internal
|
|
6636
|
+
*
|
|
6598
6637
|
*/
|
|
6599
|
-
|
|
6638
|
+
keyboardStateOnKeydown(node: ISelectionNode, shift: boolean, shiftTab: boolean): void;
|
|
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;
|
|
6600
6712
|
/**
|
|
6601
|
-
*
|
|
6713
|
+
* (╯°□°)╯︵ ┻━┻
|
|
6714
|
+
* Chrome and Chromium don't care about the active
|
|
6715
|
+
* range after keyboard navigation, thus this.
|
|
6602
6716
|
*/
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6717
|
+
private _moveSelectionChrome;
|
|
6718
|
+
private isFilteringApplied;
|
|
6719
|
+
private isRowDeleted;
|
|
6720
|
+
private pointerOriginHandler;
|
|
6721
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridSelectionService, never>;
|
|
6722
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridSelectionService>;
|
|
6607
6723
|
}
|
|
6608
6724
|
|
|
6609
|
-
declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy
|
|
6725
|
+
declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
|
|
6610
6726
|
grid: GridType;
|
|
6611
6727
|
selectionService: IgxGridSelectionService;
|
|
6612
6728
|
element: ElementRef<HTMLElement>;
|
|
@@ -6682,7 +6798,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy, RowT
|
|
|
6682
6798
|
*/
|
|
6683
6799
|
set expanded(val: boolean);
|
|
6684
6800
|
get addRowUI(): any;
|
|
6685
|
-
get rowHeight(): number
|
|
6801
|
+
get rowHeight(): number;
|
|
6686
6802
|
/**
|
|
6687
6803
|
* @hidden
|
|
6688
6804
|
*/
|
|
@@ -6833,7 +6949,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy, RowT
|
|
|
6833
6949
|
/**
|
|
6834
6950
|
* @hidden
|
|
6835
6951
|
*/
|
|
6836
|
-
onRowSelectorClick(event:
|
|
6952
|
+
onRowSelectorClick(event: any): void;
|
|
6837
6953
|
/**
|
|
6838
6954
|
* Updates the specified row object and the data source record with the passed value.
|
|
6839
6955
|
*
|
|
@@ -6854,7 +6970,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy, RowT
|
|
|
6854
6970
|
* ```
|
|
6855
6971
|
*/
|
|
6856
6972
|
delete(): void;
|
|
6857
|
-
isCellActive(visibleColumnIndex:
|
|
6973
|
+
isCellActive(visibleColumnIndex: any): boolean;
|
|
6858
6974
|
/**
|
|
6859
6975
|
* Pins the specified row.
|
|
6860
6976
|
* This method emits `rowPinning`\`rowPinned` event.
|
|
@@ -6905,7 +7021,7 @@ declare class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy, RowT
|
|
|
6905
7021
|
* @hidden
|
|
6906
7022
|
*/
|
|
6907
7023
|
animationEndHandler(): void;
|
|
6908
|
-
protected getMergeCellSpan(col: ColumnType): string
|
|
7024
|
+
protected getMergeCellSpan(col: ColumnType): string;
|
|
6909
7025
|
protected isSelectionRoot(col: ColumnType): boolean;
|
|
6910
7026
|
protected isHoveredRoot(col: ColumnType): boolean;
|
|
6911
7027
|
protected extractRecordKey(rec: any): any;
|
|
@@ -7027,11 +7143,11 @@ declare class IgxGridEditingActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7027
7143
|
* this.gridEditingActions.startEdit();
|
|
7028
7144
|
* ```
|
|
7029
7145
|
*/
|
|
7030
|
-
startEdit(event?:
|
|
7146
|
+
startEdit(event?: any): void;
|
|
7031
7147
|
/** @hidden @internal **/
|
|
7032
|
-
deleteRowHandler(event?:
|
|
7148
|
+
deleteRowHandler(event?: any): void;
|
|
7033
7149
|
/** @hidden @internal **/
|
|
7034
|
-
addRowHandler(event?:
|
|
7150
|
+
addRowHandler(event?: any, asChild?: boolean): void;
|
|
7035
7151
|
/**
|
|
7036
7152
|
* @hidden
|
|
7037
7153
|
* @internal
|
|
@@ -7088,7 +7204,7 @@ declare class IgxGridPinningActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7088
7204
|
* this.gridPinningActions.pin();
|
|
7089
7205
|
* ```
|
|
7090
7206
|
*/
|
|
7091
|
-
pin(event?:
|
|
7207
|
+
pin(event?: any): void;
|
|
7092
7208
|
/**
|
|
7093
7209
|
* Unpin the row according to the context.
|
|
7094
7210
|
*
|
|
@@ -7097,8 +7213,8 @@ declare class IgxGridPinningActionsComponent extends IgxGridActionsBaseDirective
|
|
|
7097
7213
|
* this.gridPinningActions.unpin();
|
|
7098
7214
|
* ```
|
|
7099
7215
|
*/
|
|
7100
|
-
unpin(event?:
|
|
7101
|
-
scrollToRow(event:
|
|
7216
|
+
unpin(event?: any): void;
|
|
7217
|
+
scrollToRow(event: any): void;
|
|
7102
7218
|
private registerSVGIcons;
|
|
7103
7219
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridPinningActionsComponent, never>;
|
|
7104
7220
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridPinningActionsComponent, "igx-grid-pinning-actions", never, {}, {}, never, never, true, never>;
|
|
@@ -7208,8 +7324,8 @@ declare class IgxGridEmptyTemplateDirective {
|
|
|
7208
7324
|
declare class IgxGroupAreaDropDirective extends IgxDropDirective {
|
|
7209
7325
|
private groupArea;
|
|
7210
7326
|
hovered: boolean;
|
|
7211
|
-
onDragEnter(event:
|
|
7212
|
-
onDragLeave(event:
|
|
7327
|
+
onDragEnter(event: any): void;
|
|
7328
|
+
onDragLeave(event: any): void;
|
|
7213
7329
|
private closestParentByAttr;
|
|
7214
7330
|
private columnBelongsToGrid;
|
|
7215
7331
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupAreaDropDirective, never>;
|
|
@@ -7278,7 +7394,7 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7278
7394
|
ngAfterViewInit(): void;
|
|
7279
7395
|
get disabled(): boolean;
|
|
7280
7396
|
get template(): TemplateRef<any>;
|
|
7281
|
-
get type(): "number" | "text"
|
|
7397
|
+
get type(): "number" | "text";
|
|
7282
7398
|
get conditions(): any;
|
|
7283
7399
|
get isUnaryCondition(): boolean;
|
|
7284
7400
|
get placeholder(): string;
|
|
@@ -7297,7 +7413,7 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7297
7413
|
/**
|
|
7298
7414
|
* Event handler for input on the input.
|
|
7299
7415
|
*/
|
|
7300
|
-
onInput(eventArgs:
|
|
7416
|
+
onInput(eventArgs: any): void;
|
|
7301
7417
|
private handleInputChange;
|
|
7302
7418
|
/**
|
|
7303
7419
|
* Event handler for compositionstart on the input.
|
|
@@ -7376,11 +7492,11 @@ declare class IgxGridFilteringRowComponent implements OnInit, AfterViewInit, OnD
|
|
|
7376
7492
|
/**
|
|
7377
7493
|
* Opens the logic operators dropdown.
|
|
7378
7494
|
*/
|
|
7379
|
-
toggleOperatorsDropDown(eventArgs: any, index:
|
|
7495
|
+
toggleOperatorsDropDown(eventArgs: any, index: any): void;
|
|
7380
7496
|
/**
|
|
7381
7497
|
* Event handler for change event in conditions dropdown.
|
|
7382
7498
|
*/
|
|
7383
|
-
onConditionsChanged(eventArgs:
|
|
7499
|
+
onConditionsChanged(eventArgs: any): void;
|
|
7384
7500
|
onChipPointerdown(_args: any, chip: IgxChipComponent): void;
|
|
7385
7501
|
onChipClick(_args: any, item: ExpressionUI): void;
|
|
7386
7502
|
toggleChip(item: ExpressionUI): void;
|
|
@@ -7453,7 +7569,7 @@ declare class IgxGridHeaderRowComponent implements DoCheck {
|
|
|
7453
7569
|
* @hidden @internal
|
|
7454
7570
|
*/
|
|
7455
7571
|
role: string;
|
|
7456
|
-
get activeDescendant(): string
|
|
7572
|
+
get activeDescendant(): string;
|
|
7457
7573
|
hasMRL: boolean;
|
|
7458
7574
|
width: number;
|
|
7459
7575
|
/**
|
|
@@ -7559,10 +7675,10 @@ declare class IgxRowDragDirective extends IgxDragDirective implements OnDestroy
|
|
|
7559
7675
|
private subscription$;
|
|
7560
7676
|
private _rowDragStarted;
|
|
7561
7677
|
private get row();
|
|
7562
|
-
onPointerDown(event:
|
|
7563
|
-
onPointerMove(event:
|
|
7564
|
-
onPointerUp(event:
|
|
7565
|
-
protected createGhost(pageX:
|
|
7678
|
+
onPointerDown(event: any): void;
|
|
7679
|
+
onPointerMove(event: any): void;
|
|
7680
|
+
onPointerUp(event: any): void;
|
|
7681
|
+
protected createGhost(pageX: any, pageY: any): void;
|
|
7566
7682
|
private _unsubscribe;
|
|
7567
7683
|
private endDragging;
|
|
7568
7684
|
private transitionEndEvent;
|
|
@@ -7748,11 +7864,12 @@ interface IColumnState {
|
|
|
7748
7864
|
}
|
|
7749
7865
|
type GridFeatures = keyof IGridStateOptions;
|
|
7750
7866
|
declare class IgxGridStateBaseDirective {
|
|
7751
|
-
grid: GridType
|
|
7867
|
+
grid: GridType;
|
|
7752
7868
|
protected viewRef: ViewContainerRef;
|
|
7753
7869
|
protected envInjector: EnvironmentInjector;
|
|
7754
7870
|
protected injector: Injector;
|
|
7755
7871
|
private featureKeys;
|
|
7872
|
+
private state;
|
|
7756
7873
|
private currGrid;
|
|
7757
7874
|
protected _options: IGridStateOptions;
|
|
7758
7875
|
private FEATURES;
|
|
@@ -8164,7 +8281,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8164
8281
|
*
|
|
8165
8282
|
* @memberof IgxCsvExporterOptions
|
|
8166
8283
|
*/
|
|
8167
|
-
get valueDelimiter():
|
|
8284
|
+
get valueDelimiter(): any;
|
|
8168
8285
|
/**
|
|
8169
8286
|
* Sets a value delimiter which will overwrite the default delimiter of the selected export format.
|
|
8170
8287
|
* ```typescript
|
|
@@ -8173,7 +8290,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8173
8290
|
*
|
|
8174
8291
|
* @memberof IgxCsvExporterOptions
|
|
8175
8292
|
*/
|
|
8176
|
-
set valueDelimiter(value:
|
|
8293
|
+
set valueDelimiter(value: any);
|
|
8177
8294
|
/**
|
|
8178
8295
|
* Gets the CSV export format.
|
|
8179
8296
|
* ```typescript
|
|
@@ -8182,7 +8299,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8182
8299
|
*
|
|
8183
8300
|
* @memberof IgxCsvExporterOptions
|
|
8184
8301
|
*/
|
|
8185
|
-
get fileType():
|
|
8302
|
+
get fileType(): any;
|
|
8186
8303
|
/**
|
|
8187
8304
|
* Sets the CSV export format.
|
|
8188
8305
|
* ```typescript
|
|
@@ -8191,7 +8308,7 @@ declare class IgxCsvExporterOptions extends IgxExporterOptionsBase {
|
|
|
8191
8308
|
*
|
|
8192
8309
|
* @memberof IgxCsvExporterOptions
|
|
8193
8310
|
*/
|
|
8194
|
-
set fileType(value:
|
|
8311
|
+
set fileType(value: any);
|
|
8195
8312
|
private setFileType;
|
|
8196
8313
|
private setDelimiter;
|
|
8197
8314
|
}
|
|
@@ -8773,7 +8890,7 @@ declare class IgxTreeGridRow extends BaseRow implements RowType {
|
|
|
8773
8890
|
/**
|
|
8774
8891
|
* @hidden
|
|
8775
8892
|
*/
|
|
8776
|
-
constructor(grid: GridType, index: number, data?: any, _treeRow?: ITreeGridRecord
|
|
8893
|
+
constructor(grid: GridType, index: number, data?: any, _treeRow?: ITreeGridRecord);
|
|
8777
8894
|
/**
|
|
8778
8895
|
* Returns the view index calculated per the grid page.
|
|
8779
8896
|
*/
|
|
@@ -8890,7 +9007,7 @@ declare class IgxGroupByRow implements RowType {
|
|
|
8890
9007
|
/**
|
|
8891
9008
|
* @hidden
|
|
8892
9009
|
*/
|
|
8893
|
-
constructor(grid: GridType, index: number, _groupRow?: IGroupByRecord
|
|
9010
|
+
constructor(grid: GridType, index: number, _groupRow?: IGroupByRecord);
|
|
8894
9011
|
/**
|
|
8895
9012
|
* Gets whether the row is selected.
|
|
8896
9013
|
* Default value is `false`.
|
|
@@ -8950,7 +9067,7 @@ declare class IgxSummaryRow implements RowType {
|
|
|
8950
9067
|
/**
|
|
8951
9068
|
* @hidden
|
|
8952
9069
|
*/
|
|
8953
|
-
constructor(grid: GridType, index: number, _summaries?: Map<string, IgxSummaryResult[]>
|
|
9070
|
+
constructor(grid: GridType, index: number, _summaries?: Map<string, IgxSummaryResult[]>);
|
|
8954
9071
|
private getRootParent;
|
|
8955
9072
|
}
|
|
8956
9073
|
|
|
@@ -9258,7 +9375,7 @@ declare class IgxGridPaginatorOptionsPipe implements PipeTransform {
|
|
|
9258
9375
|
* @internal
|
|
9259
9376
|
*/
|
|
9260
9377
|
declare class IgxHasVisibleColumnsPipe implements PipeTransform {
|
|
9261
|
-
transform(values: any[], hasVisibleColumns:
|
|
9378
|
+
transform(values: any[], hasVisibleColumns: any): any[];
|
|
9262
9379
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxHasVisibleColumnsPipe, never>;
|
|
9263
9380
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxHasVisibleColumnsPipe, "visibleColumns", true>;
|
|
9264
9381
|
}
|
|
@@ -9267,7 +9384,7 @@ declare class IgxHasVisibleColumnsPipe implements PipeTransform {
|
|
|
9267
9384
|
*/
|
|
9268
9385
|
declare class IgxGridRowPinningPipe implements PipeTransform {
|
|
9269
9386
|
private grid;
|
|
9270
|
-
transform(collection: any[], _id: string, isPinned: boolean
|
|
9387
|
+
transform(collection: any[], _id: string, isPinned: boolean, _pipeTrigger: number): any[];
|
|
9271
9388
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridRowPinningPipe, never>;
|
|
9272
9389
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridRowPinningPipe, "gridRowPinning", true>;
|
|
9273
9390
|
}
|
|
@@ -9282,7 +9399,7 @@ declare class IgxStringReplacePipe implements PipeTransform {
|
|
|
9282
9399
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxStringReplacePipe, "igxStringReplace", true>;
|
|
9283
9400
|
}
|
|
9284
9401
|
declare class IgxGridTransactionStatePipe implements PipeTransform {
|
|
9285
|
-
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any):
|
|
9402
|
+
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any): unknown;
|
|
9286
9403
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridTransactionStatePipe, never>;
|
|
9287
9404
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridTransactionStatePipe, "transactionState", true>;
|
|
9288
9405
|
}
|
|
@@ -9298,7 +9415,7 @@ declare class IgxSummaryFormatterPipe implements PipeTransform {
|
|
|
9298
9415
|
}
|
|
9299
9416
|
declare class IgxGridAddRowPipe implements PipeTransform {
|
|
9300
9417
|
private grid;
|
|
9301
|
-
transform(collection: any, isPinned: boolean
|
|
9418
|
+
transform(collection: any, isPinned: boolean, _pipeTrigger: number): any;
|
|
9302
9419
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridAddRowPipe, never>;
|
|
9303
9420
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridAddRowPipe, "gridAddRow", true>;
|
|
9304
9421
|
}
|
|
@@ -9315,7 +9432,7 @@ declare class PivotRowDimensionsStrategy implements IPivotDimensionStrategy {
|
|
|
9315
9432
|
}
|
|
9316
9433
|
declare class PivotColumnDimensionsStrategy implements IPivotDimensionStrategy {
|
|
9317
9434
|
private static _instance;
|
|
9318
|
-
static instance(): PivotRowDimensionsStrategy;
|
|
9435
|
+
static instance(): PivotRowDimensionsStrategy | PivotColumnDimensionsStrategy;
|
|
9319
9436
|
process(collection: IPivotGridRecord[], columns: IPivotDimension[], values: IPivotValue[], cloneStrategy: IDataCloneStrategy, pivotKeys?: IPivotKeys): any[];
|
|
9320
9437
|
private processHierarchy;
|
|
9321
9438
|
private groupColumns;
|
|
@@ -9330,50 +9447,31 @@ declare class DimensionValuesFilteringStrategy extends FilteringStrategy {
|
|
|
9330
9447
|
* @param fields An array of column field names that should be formatted.
|
|
9331
9448
|
* If omitted the values of all columns which has formatter will be formatted.
|
|
9332
9449
|
*/
|
|
9333
|
-
constructor(fields?: string[]
|
|
9450
|
+
constructor(fields?: string[]);
|
|
9334
9451
|
protected getFieldValue(rec: any, fieldName: string, _isDate?: boolean, _isTime?: boolean, grid?: PivotGridType): any;
|
|
9335
9452
|
getFilterItems(column: ColumnType, tree: IFilteringExpressionsTree): Promise<IgxFilterItem[]>;
|
|
9336
9453
|
private _getFilterItems;
|
|
9337
9454
|
private _getDimensionValueHierarchy;
|
|
9338
9455
|
}
|
|
9339
9456
|
|
|
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
|
-
};
|
|
9359
9457
|
/** @hidden */
|
|
9360
9458
|
declare class IgxGridSummaryService {
|
|
9361
9459
|
grid: GridType;
|
|
9362
9460
|
rootSummaryID: string;
|
|
9363
9461
|
summaryHeight: number;
|
|
9364
9462
|
maxSummariesLength: number;
|
|
9365
|
-
groupingExpressions:
|
|
9463
|
+
groupingExpressions: any[];
|
|
9366
9464
|
retriggerRootPipe: number;
|
|
9367
9465
|
deleteOperation: boolean;
|
|
9368
9466
|
protected summaryCacheMap: Map<string, Map<string, any[]>>;
|
|
9369
9467
|
recalculateSummaries(): void;
|
|
9370
|
-
clearSummaryCache(args?:
|
|
9468
|
+
clearSummaryCache(args?: any): void;
|
|
9371
9469
|
removeSummaries(rowID: any, columnName?: any): void;
|
|
9372
|
-
removeSummariesCachePerColumn(columnName:
|
|
9470
|
+
removeSummariesCachePerColumn(columnName: any): void;
|
|
9373
9471
|
calcMaxSummaryHeight(): number;
|
|
9374
9472
|
calculateSummaries(rowID: any, data: any, groupRecord: any): Map<string, any[]>;
|
|
9375
9473
|
resetSummaryHeight(): void;
|
|
9376
|
-
updateSummaryCache(groupingArgs:
|
|
9474
|
+
updateSummaryCache(groupingArgs: any): void;
|
|
9377
9475
|
get hasSummarizedColumns(): boolean;
|
|
9378
9476
|
private deleteSummaryCache;
|
|
9379
9477
|
private getSummaryID;
|
|
@@ -9383,6 +9481,102 @@ declare class IgxGridSummaryService {
|
|
|
9383
9481
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxGridSummaryService>;
|
|
9384
9482
|
}
|
|
9385
9483
|
|
|
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
|
+
|
|
9386
9580
|
declare class IgxSummaryDataPipe implements PipeTransform {
|
|
9387
9581
|
private grid;
|
|
9388
9582
|
transform(id: string, trigger?: number): any;
|
|
@@ -9406,10 +9600,10 @@ declare class IgxColumnMovingDragDirective extends IgxDragDirective implements O
|
|
|
9406
9600
|
private columnSelectedClass;
|
|
9407
9601
|
constructor();
|
|
9408
9602
|
ngOnDestroy(): void;
|
|
9409
|
-
|
|
9410
|
-
onPointerDown(event:
|
|
9411
|
-
onPointerMove(event:
|
|
9412
|
-
onPointerUp(event:
|
|
9603
|
+
onEscape(event: Event): void;
|
|
9604
|
+
onPointerDown(event: Event): void;
|
|
9605
|
+
onPointerMove(event: Event): void;
|
|
9606
|
+
onPointerUp(event: Event): void;
|
|
9413
9607
|
protected createGhost(pageX: number, pageY: number): void;
|
|
9414
9608
|
private _unsubscribe;
|
|
9415
9609
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxColumnMovingDragDirective, never>;
|
|
@@ -9421,7 +9615,7 @@ declare class IgxColumnMovingDropDirective extends IgxDropDirective implements O
|
|
|
9421
9615
|
set data(val: ColumnType | IgxForOfDirective<ColumnType, ColumnType[]>);
|
|
9422
9616
|
get column(): ColumnType;
|
|
9423
9617
|
get isDropTarget(): boolean;
|
|
9424
|
-
get horizontalScroll(): IgxGridForOfDirective<ColumnType, ColumnType[]
|
|
9618
|
+
get horizontalScroll(): IgxGridForOfDirective<ColumnType, ColumnType[]>;
|
|
9425
9619
|
get nativeElement(): any;
|
|
9426
9620
|
private _dropPos;
|
|
9427
9621
|
private _dropIndicator;
|
|
@@ -9432,10 +9626,10 @@ declare class IgxColumnMovingDropDirective extends IgxDropDirective implements O
|
|
|
9432
9626
|
private _dropIndicatorClass;
|
|
9433
9627
|
constructor();
|
|
9434
9628
|
ngOnDestroy(): void;
|
|
9435
|
-
onDragOver(event:
|
|
9436
|
-
onDragEnter(event:
|
|
9437
|
-
onDragLeave(event:
|
|
9438
|
-
onDragDrop(event:
|
|
9629
|
+
onDragOver(event: any): void;
|
|
9630
|
+
onDragEnter(event: any): void;
|
|
9631
|
+
onDragLeave(event: any): void;
|
|
9632
|
+
onDragDrop(event: any): void;
|
|
9439
9633
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxColumnMovingDropDirective, never>;
|
|
9440
9634
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxColumnMovingDropDirective, "[igxColumnMovingDrop]", never, { "data": { "alias": "igxColumnMovingDrop"; "required": false; }; }, {}, never, never, true, never>;
|
|
9441
9635
|
}
|
|
@@ -9521,7 +9715,7 @@ declare class IgxResizeHandleDirective implements AfterViewInit, OnDestroy {
|
|
|
9521
9715
|
/**
|
|
9522
9716
|
* @hidden
|
|
9523
9717
|
*/
|
|
9524
|
-
onDoubleClick(
|
|
9718
|
+
onDoubleClick(): void;
|
|
9525
9719
|
/**
|
|
9526
9720
|
* @hidden
|
|
9527
9721
|
*/
|
|
@@ -9537,7 +9731,7 @@ declare class IgxResizeHandleDirective implements AfterViewInit, OnDestroy {
|
|
|
9537
9731
|
/**
|
|
9538
9732
|
* @hidden
|
|
9539
9733
|
*/
|
|
9540
|
-
protected initResizeService(event?:
|
|
9734
|
+
protected initResizeService(event?: any): void;
|
|
9541
9735
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxResizeHandleDirective, never>;
|
|
9542
9736
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxResizeHandleDirective, "[igxResizeHandle]", never, { "column": { "alias": "igxResizeHandle"; "required": false; }; }, {}, never, never, true, never>;
|
|
9543
9737
|
}
|
|
@@ -9564,7 +9758,7 @@ declare class IgxPivotResizeHandleDirective extends IgxResizeHandleDirective {
|
|
|
9564
9758
|
/**
|
|
9565
9759
|
* @hidden
|
|
9566
9760
|
*/
|
|
9567
|
-
protected initResizeService(event?:
|
|
9761
|
+
protected initResizeService(event?: any): void;
|
|
9568
9762
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotResizeHandleDirective, never>;
|
|
9569
9763
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxPivotResizeHandleDirective, "[igxPivotResizeHandle]", never, { "pivotColumn": { "alias": "igxPivotResizeHandle"; "required": false; }; "rowHeaderGroup": { "alias": "igxPivotResizeHandleHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
9570
9764
|
}
|
|
@@ -9628,13 +9822,13 @@ interface RowEditPositionSettings extends PositionSettings {
|
|
|
9628
9822
|
*/
|
|
9629
9823
|
declare class RowEditPositionStrategy extends ConnectedPositioningStrategy {
|
|
9630
9824
|
isTop: boolean;
|
|
9631
|
-
isTopInitialPosition:
|
|
9825
|
+
isTopInitialPosition: any;
|
|
9632
9826
|
settings: RowEditPositionSettings;
|
|
9633
9827
|
private io;
|
|
9634
9828
|
position(contentElement: HTMLElement, _size: {
|
|
9635
9829
|
width: number;
|
|
9636
9830
|
height: number;
|
|
9637
|
-
}, document
|
|
9831
|
+
}, document?: Document, initialCall?: boolean, target?: Point | HTMLElement): void;
|
|
9638
9832
|
private internalPosition;
|
|
9639
9833
|
private updateContentClip;
|
|
9640
9834
|
private getClippingRect;
|
|
@@ -9670,7 +9864,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
9670
9864
|
* @hidden
|
|
9671
9865
|
* @internal
|
|
9672
9866
|
*/
|
|
9673
|
-
get isEmptyAddRowCell():
|
|
9867
|
+
get isEmptyAddRowCell(): boolean;
|
|
9674
9868
|
/**
|
|
9675
9869
|
* @hidden
|
|
9676
9870
|
* @internal
|
|
@@ -9782,7 +9976,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
9782
9976
|
*
|
|
9783
9977
|
* @memberof IgxGridCellComponent
|
|
9784
9978
|
*/
|
|
9785
|
-
formatter
|
|
9979
|
+
formatter: (value: any, rowData?: any, columnData?: any) => any;
|
|
9786
9980
|
/**
|
|
9787
9981
|
* Gets the cell template context object.
|
|
9788
9982
|
* ```typescript
|
|
@@ -9920,7 +10114,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
9920
10114
|
*/
|
|
9921
10115
|
get readonly(): boolean;
|
|
9922
10116
|
/** @hidden @internal */
|
|
9923
|
-
get ariaDescribeBy(): string
|
|
10117
|
+
get ariaDescribeBy(): string;
|
|
9924
10118
|
/** @hidden @internal */
|
|
9925
10119
|
get ariaErrorMessage(): string;
|
|
9926
10120
|
/**
|
|
@@ -10012,7 +10206,7 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
10012
10206
|
* @hidden
|
|
10013
10207
|
*/
|
|
10014
10208
|
displayPinnedChip: boolean;
|
|
10015
|
-
protected get minHeight(): number
|
|
10209
|
+
protected get minHeight(): number;
|
|
10016
10210
|
protected get ariaRowIndex(): number;
|
|
10017
10211
|
protected get ariaColIndex(): number;
|
|
10018
10212
|
protected defaultCellTemplate: TemplateRef<any>;
|
|
@@ -10181,6 +10375,74 @@ declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, Cell
|
|
|
10181
10375
|
static ngAcceptInputType_editMode: unknown;
|
|
10182
10376
|
}
|
|
10183
10377
|
|
|
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
|
+
|
|
10184
10446
|
/** @hidden */
|
|
10185
10447
|
declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
10186
10448
|
isValidPosition(rowIndex: number, colIndex: number): boolean;
|
|
@@ -10199,14 +10461,14 @@ declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
|
10199
10461
|
};
|
|
10200
10462
|
getNextVerticalPosition(previous?: boolean): {
|
|
10201
10463
|
row: number;
|
|
10202
|
-
column:
|
|
10464
|
+
column: any;
|
|
10203
10465
|
};
|
|
10204
10466
|
headerNavigation(event: KeyboardEvent): void;
|
|
10205
10467
|
/**
|
|
10206
10468
|
* @hidden
|
|
10207
10469
|
* @internal
|
|
10208
10470
|
*/
|
|
10209
|
-
layout(visibleIndex:
|
|
10471
|
+
layout(visibleIndex: any): {
|
|
10210
10472
|
colStart: number;
|
|
10211
10473
|
rowStart: number;
|
|
10212
10474
|
colEnd: number;
|
|
@@ -10216,7 +10478,7 @@ declare class IgxGridMRLNavigationService extends IgxGridNavigationService {
|
|
|
10216
10478
|
protected getNextPosition(rowIndex: number, colIndex: number, key: string, shift: boolean, ctrl: boolean, event: KeyboardEvent): {
|
|
10217
10479
|
rowIndex: number;
|
|
10218
10480
|
colIndex: number;
|
|
10219
|
-
}
|
|
10481
|
+
};
|
|
10220
10482
|
protected horizontalNav(event: KeyboardEvent, key: string, rowIndex: number, tag: GridKeydownTargetType): void;
|
|
10221
10483
|
private isParentColumnFullyVisible;
|
|
10222
10484
|
private getChildColumnScrollPositions;
|
|
@@ -10291,10 +10553,10 @@ declare class GridBaseAPIService<T extends GridType> implements GridServiceType
|
|
|
10291
10553
|
* @param dataCollection
|
|
10292
10554
|
*/
|
|
10293
10555
|
get_rec_index_by_id(pk: string | number, dataCollection?: any[]): number;
|
|
10294
|
-
allow_expansion_state_change(rowID: any, expanded:
|
|
10556
|
+
allow_expansion_state_change(rowID: any, expanded: any): boolean;
|
|
10295
10557
|
prepare_sorting_expression(stateCollections: Array<Array<any>>, expression: ISortingExpression): void;
|
|
10296
10558
|
prepare_grouping_expression(stateCollections: Array<Array<any>>, expression: IGroupingExpression): void;
|
|
10297
|
-
remove_grouping_expression(_fieldName:
|
|
10559
|
+
remove_grouping_expression(_fieldName: any): void;
|
|
10298
10560
|
filterDataByExpressions(expressionsTree: IFilteringExpressionsTree): any[];
|
|
10299
10561
|
sortDataByExpressions(data: any[], expressions: ISortingExpression[]): any[];
|
|
10300
10562
|
pin_row(rowID: any, index?: number, row?: RowType): void;
|
|
@@ -10309,32 +10571,32 @@ declare class GridBaseAPIService<T extends GridType> implements GridServiceType
|
|
|
10309
10571
|
* @param rowCurrentValue Current value of the row as it is with applied previous transactions
|
|
10310
10572
|
* @param rowNewValue New value of the row
|
|
10311
10573
|
*/
|
|
10312
|
-
protected updateData(grid:
|
|
10574
|
+
protected updateData(grid: any, rowID: any, rowValueInDataSource: any, rowCurrentValue: any, rowNewValue: {
|
|
10313
10575
|
[x: string]: any;
|
|
10314
10576
|
}): void;
|
|
10315
10577
|
protected update_row_in_array(value: any, _rowID: any, index: number): void;
|
|
10316
|
-
protected getSortStrategyPerColumn(fieldName: string): igniteui_angular_core.ISortingStrategy
|
|
10578
|
+
protected getSortStrategyPerColumn(fieldName: string): igniteui_angular_core.ISortingStrategy;
|
|
10317
10579
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridBaseAPIService<any>, never>;
|
|
10318
10580
|
static ɵprov: i0.ɵɵInjectableDeclaration<GridBaseAPIService<any>>;
|
|
10319
10581
|
}
|
|
10320
10582
|
|
|
10321
10583
|
declare class PivotUtil {
|
|
10322
10584
|
static processGroups(recs: IPivotGridRecord[], dimension: IPivotDimension, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): void;
|
|
10323
|
-
static flattenGroups(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates:
|
|
10324
|
-
static flattenGroupsHorizontally(data: IPivotGridRecord[], dimension: IPivotDimension, expansionStates:
|
|
10325
|
-
static assignLevels(dims:
|
|
10326
|
-
static getFieldsHierarchy(data: any[], dimensions: IPivotDimension[], dimensionType: PivotDimensionType, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string,
|
|
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: any): void;
|
|
10588
|
+
static getFieldsHierarchy(data: any[], dimensions: IPivotDimension[], dimensionType: PivotDimensionType, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string, any>;
|
|
10327
10589
|
static sort(data: IPivotGridRecord[], expressions: ISortingExpression[], sorting?: IGridSortingStrategy): any[];
|
|
10328
10590
|
static extractValueFromDimension(dim: IPivotDimension, recData: any): any;
|
|
10329
10591
|
static getDimensionDepth(dim: IPivotDimension): number;
|
|
10330
|
-
static extractValuesForRow(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string,
|
|
10331
|
-
static extractValuesForColumn(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, path?: any[]): Map<string,
|
|
10332
|
-
static flatten(arr:
|
|
10333
|
-
static applyAggregations(rec: IPivotGridRecord, hierarchies:
|
|
10592
|
+
static extractValuesForRow(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, cloneStrategy: IDataCloneStrategy): Map<string, any>;
|
|
10593
|
+
static extractValuesForColumn(dims: IPivotDimension[], recData: any, pivotKeys: IPivotKeys, path?: any[]): Map<string, any>;
|
|
10594
|
+
static flatten(arr: any, lvl?: number): any;
|
|
10595
|
+
static applyAggregations(rec: IPivotGridRecord, hierarchies: any, values: any, pivotKeys: IPivotKeys): void;
|
|
10334
10596
|
protected static applyAggregationRecordData(aggregationData: any, groupName: string, rec: IPivotGridRecord, pivotKeys: IPivotKeys): void;
|
|
10335
|
-
static aggregate(records: any, values: IPivotValue[]):
|
|
10336
|
-
static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): igniteui_angular_grids_core.PivotAggregation
|
|
10337
|
-
static processHierarchy(hierarchies:
|
|
10597
|
+
static aggregate(records: any, values: IPivotValue[]): {};
|
|
10598
|
+
static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): igniteui_angular_grids_core.PivotAggregation;
|
|
10599
|
+
static processHierarchy(hierarchies: any, pivotKeys: any, level?: number, rootData?: boolean): IPivotGridRecord[];
|
|
10338
10600
|
static getDirectLeafs(records: IPivotGridRecord[]): any[];
|
|
10339
10601
|
static getRecordKey(rec: IPivotGridRecord, currentDim: IPivotDimension): string;
|
|
10340
10602
|
static buildExpressionTree(config: IPivotConfiguration): FilteringExpressionsTree;
|
|
@@ -10414,7 +10676,7 @@ declare class IgxPivotDateDimension implements IPivotDimension {
|
|
|
10414
10676
|
constructor(inBaseDimension?: IPivotDimension, inOptions?: IPivotDateDimensionOptions);
|
|
10415
10677
|
protected initialize(inBaseDimension: any, inOptions: any): void;
|
|
10416
10678
|
/** @hidden @internal */
|
|
10417
|
-
memberFunction: (_data: any) => string
|
|
10679
|
+
memberFunction: (_data: any) => string;
|
|
10418
10680
|
}
|
|
10419
10681
|
|
|
10420
10682
|
declare class IgxPivotAggregate {
|
|
@@ -10564,7 +10826,7 @@ declare function notifyChanges(repaint?: boolean): (_: any, key: string, propDes
|
|
|
10564
10826
|
*/
|
|
10565
10827
|
declare class ExportUtilities {
|
|
10566
10828
|
static getKeysFromData(data: any[]): string[];
|
|
10567
|
-
static saveBlobToFile(blob: Blob, fileName:
|
|
10829
|
+
static saveBlobToFile(blob: Blob, fileName: any): void;
|
|
10568
10830
|
static stringToArrayBuffer(s: string): ArrayBuffer;
|
|
10569
10831
|
static isSpecialData(data: any): boolean;
|
|
10570
10832
|
static hasValue(value: any): boolean;
|
|
@@ -10734,5 +10996,5 @@ declare class IgxPdfExporterService extends IgxBaseExporter {
|
|
|
10734
10996
|
|
|
10735
10997
|
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];
|
|
10736
10998
|
|
|
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,
|
|
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, IgxDateSummaryOperand, 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, IgxGridTransaction, IgxGridTransactionPipe, IgxGridTransactionStatePipe, IgxGridValidationService, IgxGroupAreaDropDirective, IgxGroupByAreaDirective, IgxGroupByMetaPipe, IgxGroupByRow, IgxGroupByRowSelectorDirective, IgxGroupByRowTemplateDirective, IgxHasVisibleColumnsPipe, IgxHeadSelectorDirective, IgxHeaderCollapsedIndicatorDirective, IgxHeaderExpandedIndicatorDirective, IgxHeaderGroupStylePipe, IgxHierarchicalGridRow, IgxNumberSummaryOperand, 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, IgxSummaryOperand, IgxSummaryRow, IgxSummaryRowComponent, IgxSummaryTemplateDirective, IgxTimeSummaryOperand, 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 };
|
|
11000
|
+
export type { CellType, ColumnGroupsCache, DimensionValueType, FlatGridType, GridFeatures, GridKeydownTargetType, GridSVGIcon, GridSelectionRange, GridServiceType, GridType, GridValidationTrigger, HeaderType, HierarchicalGridType, IActiveNode, IActiveNodeChangeEventArgs, ICellPosition, IClipboardOptions, IColumnExportingEventArgs, IColumnInfo, IColumnList, IColumnMovingEndEventArgs, IColumnMovingEventArgs, IColumnMovingStartEventArgs, IColumnResizeEventArgs, IColumnResizingEventArgs, IColumnSelectionEventArgs, IColumnSelectionState, 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, IMultiRowLayoutNode, IPdfExportEndedEventArgs, IPinColumnCancellableEventArgs, IPinColumnEventArgs, IPinRowEventArgs, IPinningConfig, IPivotAggregator, IPivotConfiguration, IPivotConfigurationChangedEventArgs, IPivotDateDimensionOptions, IPivotDimension, IPivotDimensionData, IPivotDimensionStrategy, IPivotGridColumn, IPivotGridGroupRecord, IPivotGridHorizontalGroup, IPivotGridRecord, IPivotKeys, IPivotUISettings, IPivotValue, IRecordValidationState, IRowDataCancelableEventArgs, IRowDataEventArgs, IRowDragEndEventArgs, IRowDragStartEventArgs, IRowExportingEventArgs, IRowSelectionEventArgs, IRowToggleEventArgs, ISearchInfo, ISelectionKeyboardState, ISelectionNode, ISelectionPointerState, 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, SelectionState, TreeGridType, ValidationStatus };
|