igniteui-angular 12.2.5 → 12.2.9
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/bundles/igniteui-angular.umd.js +364 -495
- package/bundles/igniteui-angular.umd.js.map +1 -1
- package/esm2015/igniteui-angular.js +106 -107
- package/esm2015/lib/action-strip/grid-actions/grid-editing-actions.component.js +2 -2
- package/esm2015/lib/banner/banner.component.js +1 -1
- package/esm2015/lib/combo/combo-item.component.js +2 -2
- package/esm2015/lib/core/utils.js +24 -2
- package/esm2015/lib/data-operations/data-clone-strategy.js +7 -0
- package/esm2015/lib/data-operations/data-util.js +7 -6
- package/esm2015/lib/directives/radio/radio-group.directive.js +5 -13
- package/esm2015/lib/drop-down/drop-down-item.base.js +1 -5
- package/esm2015/lib/grids/api.service.js +2 -2
- package/esm2015/lib/grids/cell.component.js +1 -17
- package/esm2015/lib/grids/column-actions/column-actions.component.js +3 -7
- package/esm2015/lib/grids/common/crud.service.js +4 -3
- package/esm2015/lib/grids/common/grid.interface.js +1 -1
- package/esm2015/lib/grids/common/pipes.js +2 -2
- package/esm2015/lib/grids/common/row.interface.js +1 -1
- package/esm2015/lib/grids/grid/grid.component.js +3 -7
- package/esm2015/lib/grids/grid-base.directive.js +79 -118
- package/esm2015/lib/grids/grid-public-row.js +18 -16
- package/esm2015/lib/grids/headers/grid-header-row.component.js +2 -2
- package/esm2015/lib/grids/hierarchical-grid/hierarchical-grid.component.js +3 -7
- package/esm2015/lib/grids/row.directive.js +2 -3
- package/esm2015/lib/grids/summaries/grid-summary.service.js +2 -2
- package/esm2015/lib/grids/tree-grid/tree-grid.component.js +3 -7
- package/esm2015/lib/grids/tree-grid/tree-grid.pipes.js +3 -3
- package/esm2015/lib/icon/icon.component.js +1 -6
- package/esm2015/lib/services/overlay/overlay.js +2 -1
- package/esm2015/lib/services/overlay/utilities.js +1 -1
- package/esm2015/lib/services/transaction/base-transaction.js +17 -4
- package/esm2015/lib/services/transaction/igx-hierarchical-transaction.js +3 -4
- package/esm2015/lib/services/transaction/igx-transaction.js +3 -3
- package/esm2015/lib/services/transaction/transaction-factory.service.js +1 -2
- package/esm2015/lib/services/transaction/transaction.js +1 -1
- package/esm2015/lib/toast/toast.component.js +3 -6
- package/esm2015/public_api.js +2 -1
- package/fesm2015/igniteui-angular.js +171 -299
- package/fesm2015/igniteui-angular.js.map +1 -1
- package/igniteui-angular.d.ts +105 -106
- package/igniteui-angular.metadata.json +1 -1
- package/lib/banner/banner.component.d.ts +1 -2
- package/lib/core/utils.d.ts +12 -0
- package/lib/data-operations/data-clone-strategy.d.ts +6 -0
- package/lib/data-operations/data-util.d.ts +3 -2
- package/lib/directives/radio/radio-group.directive.d.ts +4 -4
- package/lib/grids/cell.component.d.ts +0 -9
- package/lib/grids/column-actions/column-actions.component.d.ts +2 -1
- package/lib/grids/common/grid.interface.d.ts +2 -0
- package/lib/grids/common/row.interface.d.ts +1 -0
- package/lib/grids/grid/grid.component.d.ts +2 -1
- package/lib/grids/grid-base.directive.d.ts +66 -37
- package/lib/grids/grid-public-row.d.ts +10 -3
- package/lib/grids/hierarchical-grid/hierarchical-grid.component.d.ts +2 -1
- package/lib/grids/tree-grid/tree-grid.component.d.ts +2 -1
- package/lib/icon/icon.component.d.ts +2 -2
- package/lib/services/overlay/utilities.d.ts +2 -1
- package/lib/services/transaction/base-transaction.d.ts +7 -0
- package/lib/services/transaction/transaction.d.ts +5 -0
- package/lib/toast/toast.component.d.ts +2 -0
- package/migrations/common/filterSourceDirs.d.ts +2 -2
- package/migrations/common/filterSourceDirs.js +2 -2
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/esm2015/lib/core/deprecateDecorators.js +0 -101
- package/lib/core/deprecateDecorators.d.ts +0 -20
|
@@ -5,8 +5,7 @@ import { CancelableEventArgs, IBaseEventArgs } from '../core/utils';
|
|
|
5
5
|
import { ToggleAnimationSettings } from '../expansion-panel/toggle-animation-component';
|
|
6
6
|
export interface BannerEventArgs extends IBaseEventArgs {
|
|
7
7
|
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* To get a reference to the banner, use `owner` instead.
|
|
8
|
+
* @deprecated in 12.1.0. To get a reference to the banner, use `owner` instead
|
|
10
9
|
*/
|
|
11
10
|
banner: IgxBannerComponent;
|
|
12
11
|
event?: Event;
|
package/lib/core/utils.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { AnimationReferenceMetadata } from '@angular/animations';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* @hidden
|
|
5
|
+
*/
|
|
6
|
+
export declare const showMessage: (message: string, isMessageShown: boolean) => boolean;
|
|
3
7
|
export declare const mkenum: <T extends {
|
|
4
8
|
[index: string]: U;
|
|
5
9
|
}, U extends string>(x: T) => T;
|
|
@@ -22,6 +26,14 @@ export declare const cloneArray: (array: any[], deep?: boolean) => any[];
|
|
|
22
26
|
* @hidden
|
|
23
27
|
*/
|
|
24
28
|
export declare const cloneHierarchicalArray: (array: any[], childDataKey: any) => any[];
|
|
29
|
+
/**
|
|
30
|
+
* Creates an object with prototype from provided source and copies
|
|
31
|
+
* all properties descriptors from provided source
|
|
32
|
+
*
|
|
33
|
+
* @param obj Source to copy prototype and descriptors from
|
|
34
|
+
* @returns New object with cloned prototype and property descriptors
|
|
35
|
+
*/
|
|
36
|
+
export declare const copyDescriptors: (obj: any) => any;
|
|
25
37
|
/**
|
|
26
38
|
* Deep clones all first level keys of Obj2 and merges them to Obj1
|
|
27
39
|
*
|
|
@@ -10,6 +10,7 @@ import { IGridGroupingStrategy } from './grouping-strategy';
|
|
|
10
10
|
import { ITreeGridRecord } from '../grids/tree-grid/public_api';
|
|
11
11
|
import { Transaction, HierarchicalTransaction } from '../services/transaction/transaction';
|
|
12
12
|
import { GridType } from '../grids/common/grid.interface';
|
|
13
|
+
import { IDataCloneStrategy } from '../data-operations/data-clone-strategy';
|
|
13
14
|
/**
|
|
14
15
|
* @hidden
|
|
15
16
|
*/
|
|
@@ -46,7 +47,7 @@ export declare class DataUtil {
|
|
|
46
47
|
* @param deleteRows Should delete rows with DELETE transaction type from data
|
|
47
48
|
* @returns Provided data collections updated with all provided transactions
|
|
48
49
|
*/
|
|
49
|
-
static mergeTransactions<T>(data: T[], transactions: Transaction[], primaryKey?: any, deleteRows?: boolean): T[];
|
|
50
|
+
static mergeTransactions<T>(data: T[], transactions: Transaction[], primaryKey?: any, cloneStrategy?: IDataCloneStrategy, deleteRows?: boolean): T[];
|
|
50
51
|
/**
|
|
51
52
|
* Merges all changes from provided transactions into provided hierarchical data collection
|
|
52
53
|
*
|
|
@@ -57,7 +58,7 @@ export declare class DataUtil {
|
|
|
57
58
|
* @param deleteRows Should delete rows with DELETE transaction type from data
|
|
58
59
|
* @returns Provided data collections updated with all provided transactions
|
|
59
60
|
*/
|
|
60
|
-
static mergeHierarchicalTransactions(data: any[], transactions: HierarchicalTransaction[], childDataKey: any, primaryKey?: any, deleteRows?: boolean): any[];
|
|
61
|
+
static mergeHierarchicalTransactions(data: any[], transactions: HierarchicalTransaction[], childDataKey: any, primaryKey?: any, cloneStrategy?: IDataCloneStrategy, deleteRows?: boolean): any[];
|
|
61
62
|
static parseValue(dataType: GridColumnDataType, value: any): any;
|
|
62
63
|
private static findParentFromPath;
|
|
63
64
|
}
|
|
@@ -78,10 +78,10 @@ export declare class IgxRadioGroupDirective implements AfterContentInit, Control
|
|
|
78
78
|
get required(): boolean;
|
|
79
79
|
set required(value: boolean);
|
|
80
80
|
/**
|
|
81
|
-
* An @Input property that allows you to disable the radio group. By default it's false.
|
|
82
|
-
*
|
|
83
81
|
* @deprecated in version 12.2.0
|
|
84
82
|
*
|
|
83
|
+
* An input property that allows you to disable the radio group. By default it's false.
|
|
84
|
+
*
|
|
85
85
|
* @example
|
|
86
86
|
* ```html
|
|
87
87
|
* <igx-radio-group disabled></igx-radio-group>
|
|
@@ -90,10 +90,10 @@ export declare class IgxRadioGroupDirective implements AfterContentInit, Control
|
|
|
90
90
|
get disabled(): boolean;
|
|
91
91
|
set disabled(value: boolean);
|
|
92
92
|
/**
|
|
93
|
-
* Sets/gets the position of the `label` in the child radio buttons.
|
|
94
|
-
*
|
|
95
93
|
* @deprecated in version 12.2.0
|
|
96
94
|
*
|
|
95
|
+
* Sets/gets the position of the `label` in the child radio buttons.
|
|
96
|
+
*
|
|
97
97
|
* @remarks
|
|
98
98
|
* If not set, `labelPosition` will have value `"after"`.
|
|
99
99
|
*
|
|
@@ -382,15 +382,6 @@ export declare class IgxGridCellComponent implements OnInit, OnChanges, OnDestro
|
|
|
382
382
|
private _cellSelection;
|
|
383
383
|
private _vIndex;
|
|
384
384
|
constructor(selectionService: IgxGridSelectionService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, cdr: ChangeDetectorRef, element: ElementRef, zone: NgZone, touchManager: HammerGesturesManager, platformUtil: PlatformUtil);
|
|
385
|
-
/**
|
|
386
|
-
* @deprecated
|
|
387
|
-
* Gets whether the cell is selected.
|
|
388
|
-
* ```typescript
|
|
389
|
-
* let isCellSelected = thid.cell.isCellSelected();
|
|
390
|
-
* ```
|
|
391
|
-
* @memberof IgxGridCellComponent
|
|
392
|
-
*/
|
|
393
|
-
isCellSelected(): boolean;
|
|
394
385
|
/**
|
|
395
386
|
* @hidden
|
|
396
387
|
* @internal
|
|
@@ -131,9 +131,10 @@ export declare class IgxColumnActionsComponent implements DoCheck {
|
|
|
131
131
|
private _id;
|
|
132
132
|
constructor(differs: IterableDiffers);
|
|
133
133
|
/**
|
|
134
|
+
* @deprecated Use grid input instead.
|
|
135
|
+
*
|
|
134
136
|
* Gets the grid columns to provide an action for.
|
|
135
137
|
*
|
|
136
|
-
* @deprecated
|
|
137
138
|
* @example
|
|
138
139
|
* ```typescript
|
|
139
140
|
* let gridColumns = this.columnActions.columns;
|
|
@@ -9,6 +9,7 @@ import { TransactionService, Transaction, State } from '../../services/public_ap
|
|
|
9
9
|
import { ITreeGridRecord } from '../tree-grid/public_api';
|
|
10
10
|
import { IGroupByRecord } from '../../data-operations/groupby-record.interface';
|
|
11
11
|
import { IGroupByExpandState } from '../../data-operations/groupby-expand-state.interface';
|
|
12
|
+
import { IDataCloneStrategy } from '../../data-operations/data-clone-strategy';
|
|
12
13
|
export interface IGridDataBindable {
|
|
13
14
|
data: any[] | null;
|
|
14
15
|
filteredData: any[];
|
|
@@ -31,6 +32,7 @@ export interface GridType extends IGridDataBindable {
|
|
|
31
32
|
summaryPipeTrigger: number;
|
|
32
33
|
hasColumnLayouts: boolean;
|
|
33
34
|
filterMode: FilterMode;
|
|
35
|
+
dataCloneStrategy: IDataCloneStrategy;
|
|
34
36
|
selectionService: any;
|
|
35
37
|
navigation: any;
|
|
36
38
|
filteringService: any;
|
|
@@ -301,7 +301,8 @@ export declare class IgxGridComponent extends IgxGridBaseDirective implements Gr
|
|
|
301
301
|
set dropAreaMessage(value: string);
|
|
302
302
|
get dropAreaMessage(): string;
|
|
303
303
|
/**
|
|
304
|
-
* @deprecated
|
|
304
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
305
|
+
*
|
|
305
306
|
* Returns a `CellType` object that matches the conditions.
|
|
306
307
|
*
|
|
307
308
|
* @example
|
|
@@ -49,6 +49,7 @@ import { IgxPaginatorComponent } from '../paginator/paginator.component';
|
|
|
49
49
|
import { IgxGridHeaderRowComponent } from './headers/grid-header-row.component';
|
|
50
50
|
import { IgxGridGroupByAreaComponent } from './grouping/grid-group-by-area.component';
|
|
51
51
|
import { IgxFlatTransactionFactory } from '../services/transaction/transaction-factory.service';
|
|
52
|
+
import { IDataCloneStrategy } from '../data-operations/data-clone-strategy';
|
|
52
53
|
export declare const IgxGridTransaction: InjectionToken<string>;
|
|
53
54
|
export declare abstract class IgxGridBaseDirective extends DisplayDensityBase implements GridType, OnInit, DoCheck, OnDestroy, AfterContentInit, AfterViewInit {
|
|
54
55
|
selectionService: IgxGridSelectionService;
|
|
@@ -171,9 +172,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
171
172
|
*/
|
|
172
173
|
gridScroll: EventEmitter<IGridScrollEventArgs>;
|
|
173
174
|
/**
|
|
175
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
176
|
+
*
|
|
174
177
|
* Emitted after the current page is changed.
|
|
175
178
|
*
|
|
176
|
-
* @deprecated in version 12.1.0
|
|
177
179
|
* @example
|
|
178
180
|
* ```html
|
|
179
181
|
* <igx-grid (pageChange)="onPageChange($event)"></igx-grid>
|
|
@@ -186,10 +188,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
186
188
|
*/
|
|
187
189
|
pageChange: EventEmitter<number>;
|
|
188
190
|
/**
|
|
191
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
192
|
+
*
|
|
189
193
|
* Emitted when `perPage` property value of the grid is changed.
|
|
190
194
|
*
|
|
191
|
-
* @deprecated in version 12.1.0
|
|
192
|
-
* @example
|
|
193
195
|
* ```html
|
|
194
196
|
* <igx-grid #grid (perPageChange)="onPerPageChange($event)" [autoGenerate]="true"></igx-grid>
|
|
195
197
|
* ```
|
|
@@ -206,6 +208,8 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
206
208
|
*/
|
|
207
209
|
class: string;
|
|
208
210
|
/**
|
|
211
|
+
* @deprecated in version 12.2.0. We suggest using `rowClasses` property instead
|
|
212
|
+
*
|
|
209
213
|
* Gets/Sets the styling classes applied to all even `IgxGridRowComponent`s in the grid.
|
|
210
214
|
*
|
|
211
215
|
* @example
|
|
@@ -215,6 +219,8 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
215
219
|
*/
|
|
216
220
|
evenRowCSS: string;
|
|
217
221
|
/**
|
|
222
|
+
* @deprecated in version 12.2.0. We suggest using `rowClasses` property instead
|
|
223
|
+
*
|
|
218
224
|
* Gets/Sets the styling classes applied to all odd `IgxGridRowComponent`s in the grid.
|
|
219
225
|
*
|
|
220
226
|
* @example
|
|
@@ -282,6 +288,16 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
282
288
|
*/
|
|
283
289
|
excelStyleFilteringComponents: QueryList<IgxGridExcelStyleFilteringComponent>;
|
|
284
290
|
get headerGroups(): IgxGridHeaderGroupComponent[];
|
|
291
|
+
/**
|
|
292
|
+
* Gets/Sets the data clone strategy of the grid when in edit mode.
|
|
293
|
+
*
|
|
294
|
+
* @example
|
|
295
|
+
* ```html
|
|
296
|
+
* <igx-grid #grid [data]="localData" [dataCloneStrategy]="customCloneStrategy"></igx-grid>
|
|
297
|
+
* ```
|
|
298
|
+
*/
|
|
299
|
+
get dataCloneStrategy(): IDataCloneStrategy;
|
|
300
|
+
set dataCloneStrategy(strategy: IDataCloneStrategy);
|
|
285
301
|
/**
|
|
286
302
|
* Emitted when a cell is clicked.
|
|
287
303
|
*
|
|
@@ -511,9 +527,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
511
527
|
*/
|
|
512
528
|
filteringDone: EventEmitter<IFilteringExpressionsTree>;
|
|
513
529
|
/**
|
|
530
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
531
|
+
*
|
|
514
532
|
* Emitted after paging is performed.
|
|
515
533
|
*
|
|
516
|
-
* @deprecated in version 12.1.x
|
|
517
534
|
* @remarks
|
|
518
535
|
* Returns an object consisting of the previous and next pages.
|
|
519
536
|
* @example
|
|
@@ -1024,9 +1041,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1024
1041
|
get pagingMode(): GridPagingMode;
|
|
1025
1042
|
set pagingMode(val: GridPagingMode);
|
|
1026
1043
|
/**
|
|
1044
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
1045
|
+
*
|
|
1027
1046
|
* Gets/Sets whether the paging feature is enabled.
|
|
1028
1047
|
*
|
|
1029
|
-
* @deprecated in version 12.1.x
|
|
1030
1048
|
* @remarks
|
|
1031
1049
|
* The default state is disabled (false).
|
|
1032
1050
|
* @example
|
|
@@ -1039,9 +1057,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1039
1057
|
get paging(): boolean;
|
|
1040
1058
|
set paging(value: boolean);
|
|
1041
1059
|
/**
|
|
1060
|
+
* @deprecated in version 12.1.0. Use `page` property form `paginator` component instead
|
|
1061
|
+
*
|
|
1042
1062
|
* Gets/Sets the current page index.
|
|
1043
1063
|
*
|
|
1044
|
-
* @deprecated in version 12.1.x
|
|
1045
1064
|
* @example
|
|
1046
1065
|
* ```html
|
|
1047
1066
|
* <igx-grid #grid [data]="Data" [autoGenerate]="true">
|
|
@@ -1054,9 +1073,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1054
1073
|
get page(): number;
|
|
1055
1074
|
set page(val: number);
|
|
1056
1075
|
/**
|
|
1076
|
+
* @deprecated in version 12.1.0. Use `perPage` property from `paginator` component instead
|
|
1077
|
+
*
|
|
1057
1078
|
* Gets/Sets the number of visible items per page.
|
|
1058
1079
|
*
|
|
1059
|
-
* @deprecated in version 12.1.x
|
|
1060
1080
|
* @remarks
|
|
1061
1081
|
* The default is 15.
|
|
1062
1082
|
* @example
|
|
@@ -1069,9 +1089,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1069
1089
|
get perPage(): number;
|
|
1070
1090
|
set perPage(val: number);
|
|
1071
1091
|
/**
|
|
1092
|
+
* @deprecated in version 10.1.0
|
|
1093
|
+
*
|
|
1072
1094
|
* Gets/Sets whether the column hiding UI is enabled.
|
|
1073
1095
|
*
|
|
1074
|
-
* @deprecated
|
|
1075
1096
|
* @remarks
|
|
1076
1097
|
* By default it is disabled (false). In order for the UI to work, you need to enable the toolbar as shown in the example below.
|
|
1077
1098
|
* @example
|
|
@@ -1220,9 +1241,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1220
1241
|
set emptyFilteredGridMessage(value: string);
|
|
1221
1242
|
get emptyFilteredGridMessage(): string;
|
|
1222
1243
|
/**
|
|
1223
|
-
*
|
|
1244
|
+
* @deprecated in version 10.1.0
|
|
1224
1245
|
*
|
|
1225
|
-
*
|
|
1246
|
+
* Gets/Sets the title to be displayed in the built-in column hiding UI.
|
|
1226
1247
|
*
|
|
1227
1248
|
* @example
|
|
1228
1249
|
* ```html
|
|
@@ -1247,9 +1268,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1247
1268
|
get pinning(): IPinningConfig;
|
|
1248
1269
|
set pinning(value: IPinningConfig);
|
|
1249
1270
|
/**
|
|
1250
|
-
*
|
|
1271
|
+
* @deprecated in version 10.1.0
|
|
1251
1272
|
*
|
|
1252
|
-
*
|
|
1273
|
+
* Gets/Sets if the built-in column pinning UI should be shown in the toolbar.
|
|
1253
1274
|
*
|
|
1254
1275
|
* @example
|
|
1255
1276
|
* ```html
|
|
@@ -1259,9 +1280,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1259
1280
|
get columnPinning(): boolean;
|
|
1260
1281
|
set columnPinning(value: boolean);
|
|
1261
1282
|
/**
|
|
1262
|
-
*
|
|
1283
|
+
* @deprecated in version 10.1.0
|
|
1263
1284
|
*
|
|
1264
|
-
*
|
|
1285
|
+
* Gets/Sets the title to be displayed in the UI of the column pinning.
|
|
1265
1286
|
*
|
|
1266
1287
|
* @example
|
|
1267
1288
|
* ```html
|
|
@@ -1524,9 +1545,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1524
1545
|
*/
|
|
1525
1546
|
get pinnedColumnsCount(): number;
|
|
1526
1547
|
/**
|
|
1527
|
-
*
|
|
1548
|
+
* @deprecated in version 10.1.0
|
|
1528
1549
|
*
|
|
1529
|
-
*
|
|
1550
|
+
* Gets/Sets the text to be displayed inside the toggle button.
|
|
1530
1551
|
*
|
|
1531
1552
|
* @remarks
|
|
1532
1553
|
* Used for the built-in column hiding UI of the`IgxColumnComponent`.
|
|
@@ -1538,9 +1559,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1538
1559
|
get hiddenColumnsText(): string;
|
|
1539
1560
|
set hiddenColumnsText(value: string);
|
|
1540
1561
|
/**
|
|
1541
|
-
*
|
|
1562
|
+
* @deprecated in version 10.1.0
|
|
1542
1563
|
*
|
|
1543
|
-
*
|
|
1564
|
+
* Gets/Sets the text to be displayed inside the toggle button.
|
|
1544
1565
|
*
|
|
1545
1566
|
* @remarks
|
|
1546
1567
|
* Used for the built-in column pinning UI of the`IgxColumnComponent`.
|
|
@@ -1579,9 +1600,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1579
1600
|
*/
|
|
1580
1601
|
get currencyPositionLeft(): boolean;
|
|
1581
1602
|
/**
|
|
1582
|
-
*
|
|
1603
|
+
* @deprecated in version 11.0.0
|
|
1583
1604
|
*
|
|
1584
|
-
*
|
|
1605
|
+
* Gets/Sets whether the toolbar is shown.
|
|
1585
1606
|
*
|
|
1586
1607
|
* @example
|
|
1587
1608
|
* ```html
|
|
@@ -1591,9 +1612,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1591
1612
|
get showToolbar(): boolean;
|
|
1592
1613
|
set showToolbar(newValue: boolean);
|
|
1593
1614
|
/**
|
|
1594
|
-
*
|
|
1615
|
+
* @deprecated in version 11.0.0
|
|
1595
1616
|
*
|
|
1596
|
-
*
|
|
1617
|
+
* Gets/Sets the toolbar's title.
|
|
1597
1618
|
*
|
|
1598
1619
|
* @example
|
|
1599
1620
|
* ```html
|
|
@@ -1603,9 +1624,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1603
1624
|
get toolbarTitle(): string;
|
|
1604
1625
|
set toolbarTitle(newValue: string);
|
|
1605
1626
|
/**
|
|
1606
|
-
*
|
|
1627
|
+
* @deprecated `exportExcel` is deprecated
|
|
1607
1628
|
*
|
|
1608
|
-
*
|
|
1629
|
+
* Gets/Sets whether exporting to MS Excel is enabled or disabled.
|
|
1609
1630
|
*
|
|
1610
1631
|
* @example
|
|
1611
1632
|
* ```html
|
|
@@ -1615,9 +1636,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1615
1636
|
get exportExcel(): boolean;
|
|
1616
1637
|
set exportExcel(newValue: boolean);
|
|
1617
1638
|
/**
|
|
1618
|
-
*
|
|
1639
|
+
* @deprecated `exportCsv` is deprecated
|
|
1619
1640
|
*
|
|
1620
|
-
*
|
|
1641
|
+
* Gets/Sets whether the option for exporting to CSV is enabled or disabled.
|
|
1621
1642
|
*
|
|
1622
1643
|
* ```html
|
|
1623
1644
|
* <igx-grid [data]="localData" [showToolbar]="true" [autoGenerate]="true" [exportCsv]="true"></igx-grid>
|
|
@@ -1626,9 +1647,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1626
1647
|
get exportCsv(): boolean;
|
|
1627
1648
|
set exportCsv(newValue: boolean);
|
|
1628
1649
|
/**
|
|
1629
|
-
*
|
|
1650
|
+
* @deprecated `exportText` is deprecated
|
|
1630
1651
|
*
|
|
1631
|
-
*
|
|
1652
|
+
* Gets/Sets the textual content for the main export button.
|
|
1632
1653
|
*
|
|
1633
1654
|
* @example
|
|
1634
1655
|
* ```html
|
|
@@ -1638,9 +1659,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1638
1659
|
get exportText(): string;
|
|
1639
1660
|
set exportText(newValue: string);
|
|
1640
1661
|
/**
|
|
1641
|
-
*
|
|
1662
|
+
* @deprecated `exportExcelText` is deprecated
|
|
1642
1663
|
*
|
|
1643
|
-
*
|
|
1664
|
+
* Gets/Sets the textual content for the MS Excel export button.
|
|
1644
1665
|
*
|
|
1645
1666
|
* ```html
|
|
1646
1667
|
* <igx-grid [exportExcelText]="'My Excel Exporter" [showToolbar]="true" [exportText]="'My Exporter'" [exportCsv]="true"></igx-grid>
|
|
@@ -1649,9 +1670,9 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1649
1670
|
get exportExcelText(): string;
|
|
1650
1671
|
set exportExcelText(newValue: string);
|
|
1651
1672
|
/**
|
|
1652
|
-
*
|
|
1673
|
+
* @deprecated `exportCsvText` is deprecated
|
|
1653
1674
|
*
|
|
1654
|
-
*
|
|
1675
|
+
* Gets/Sets the textual content for the CSV export button.
|
|
1655
1676
|
*
|
|
1656
1677
|
* @example
|
|
1657
1678
|
* ```html
|
|
@@ -1934,6 +1955,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1934
1955
|
private _currencyPositionLeft;
|
|
1935
1956
|
private rowEditPositioningStrategy;
|
|
1936
1957
|
private rowEditSettings;
|
|
1958
|
+
private _dataCloneStrategy;
|
|
1937
1959
|
private transactionChange$;
|
|
1938
1960
|
private _rendered;
|
|
1939
1961
|
private readonly DRAG_SCROLL_DELTA;
|
|
@@ -2400,9 +2422,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2400
2422
|
*/
|
|
2401
2423
|
get visibleColumns(): IgxColumnComponent[];
|
|
2402
2424
|
/**
|
|
2425
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2426
|
+
*
|
|
2403
2427
|
* Gets the total number of pages.
|
|
2404
2428
|
*
|
|
2405
|
-
* @deprecated in version 12.1.0
|
|
2406
2429
|
* @example
|
|
2407
2430
|
* ```typescript
|
|
2408
2431
|
* const totalPages = this.grid.totalPages;
|
|
@@ -2410,9 +2433,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2410
2433
|
*/
|
|
2411
2434
|
get totalPages(): number;
|
|
2412
2435
|
/**
|
|
2436
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2437
|
+
*
|
|
2413
2438
|
* Gets if the current page is the first page.
|
|
2414
2439
|
*
|
|
2415
|
-
* @deprecated in version 12.1.0
|
|
2416
2440
|
* @example
|
|
2417
2441
|
* ```typescript
|
|
2418
2442
|
* const firstPage = this.grid.isFirstPage;
|
|
@@ -2420,9 +2444,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2420
2444
|
*/
|
|
2421
2445
|
get isFirstPage(): boolean;
|
|
2422
2446
|
/**
|
|
2447
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2448
|
+
*
|
|
2423
2449
|
* Goes to the next page, if the grid is not already at the last page.
|
|
2424
2450
|
*
|
|
2425
|
-
* @deprecated in version 12.1.0
|
|
2426
2451
|
* @example
|
|
2427
2452
|
* ```typescript
|
|
2428
2453
|
* this.grid1.nextPage();
|
|
@@ -2430,9 +2455,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2430
2455
|
*/
|
|
2431
2456
|
nextPage(): void;
|
|
2432
2457
|
/**
|
|
2458
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2459
|
+
*
|
|
2433
2460
|
* Goes to the previous page, if the grid is not already at the first page.
|
|
2434
2461
|
*
|
|
2435
|
-
* @deprecated in version 12.1.0
|
|
2436
2462
|
* @example
|
|
2437
2463
|
* ```typescript
|
|
2438
2464
|
* this.grid1.previousPage();
|
|
@@ -2452,9 +2478,10 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2452
2478
|
get totalRecords(): number;
|
|
2453
2479
|
set totalRecords(total: number);
|
|
2454
2480
|
/**
|
|
2481
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2482
|
+
*
|
|
2455
2483
|
* Returns if the current page is the last page.
|
|
2456
2484
|
*
|
|
2457
|
-
* @deprecated in version 12.1.0
|
|
2458
2485
|
* @example
|
|
2459
2486
|
* ```typescript
|
|
2460
2487
|
* const lastPage = this.grid.isLastPage;
|
|
@@ -2495,6 +2522,8 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2495
2522
|
*/
|
|
2496
2523
|
moveColumn(column: IgxColumnComponent, target: IgxColumnComponent, pos?: DropPosition): void;
|
|
2497
2524
|
/**
|
|
2525
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2526
|
+
*
|
|
2498
2527
|
* Goes to the desired page index.
|
|
2499
2528
|
*
|
|
2500
2529
|
* @example
|
|
@@ -29,6 +29,14 @@ declare abstract class BaseRow implements RowType {
|
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
get key(): any;
|
|
32
|
+
/**
|
|
33
|
+
* Gets if this represents add row UI
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* let isAddRow = row.addRowUI;
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
get addRowUI(): boolean;
|
|
32
40
|
/**
|
|
33
41
|
* The data record that populates the row.
|
|
34
42
|
*
|
|
@@ -38,14 +46,13 @@ declare abstract class BaseRow implements RowType {
|
|
|
38
46
|
*/
|
|
39
47
|
get data(): any;
|
|
40
48
|
/**
|
|
41
|
-
* @deprecated Use 'data' instead
|
|
49
|
+
* @deprecated Use 'data' instead
|
|
42
50
|
*
|
|
43
51
|
* The data record that populates the row
|
|
44
52
|
*/
|
|
45
53
|
get rowData(): any;
|
|
46
54
|
/**
|
|
47
|
-
* @deprecated Use 'key' instead
|
|
48
|
-
*
|
|
55
|
+
* @deprecated Use 'key' instead
|
|
49
56
|
*/
|
|
50
57
|
get rowID(): any;
|
|
51
58
|
/**
|
|
@@ -149,7 +149,8 @@ export declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBas
|
|
|
149
149
|
*/
|
|
150
150
|
get expandChildren(): boolean;
|
|
151
151
|
/**
|
|
152
|
-
* @deprecated
|
|
152
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
153
|
+
*
|
|
153
154
|
* Returns a `CellType` object that matches the conditions.
|
|
154
155
|
*
|
|
155
156
|
* @example
|
|
@@ -271,7 +271,8 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
|
|
|
271
271
|
private get _gridAPI();
|
|
272
272
|
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, transactionFactory: IgxHierarchicalTransactionFactory, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, navigation: IgxGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: HierarchicalTransactionService<HierarchicalTransaction, HierarchicalState>);
|
|
273
273
|
/**
|
|
274
|
-
* @deprecated
|
|
274
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
275
|
+
*
|
|
275
276
|
* Returns a `CellType` object that matches the conditions.
|
|
276
277
|
*
|
|
277
278
|
* @example
|
|
@@ -67,9 +67,9 @@ export declare class IgxIconComponent implements OnInit, OnDestroy {
|
|
|
67
67
|
*/
|
|
68
68
|
active: boolean;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* @deprecated in version 11.1.0. `color` is deprecated
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
* An @Input property that allows you to change the `color` of the icon.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* ```html
|
|
@@ -54,7 +54,8 @@ export interface OutOfViewPort {
|
|
|
54
54
|
}
|
|
55
55
|
export interface PositionSettings {
|
|
56
56
|
/**
|
|
57
|
-
* @deprecated Set the target point/element in the overlay settings instead
|
|
57
|
+
* @deprecated in version 10.2.0. Set the target point/element in the overlay settings instead
|
|
58
|
+
*
|
|
58
59
|
* Attaching target for the component to show
|
|
59
60
|
*/
|
|
60
61
|
target?: Point | HTMLElement;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { TransactionService, Transaction, State, StateUpdateEvent } from './transaction';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { IDataCloneStrategy } from '../../data-operations/data-clone-strategy';
|
|
3
4
|
export declare class IgxBaseTransactionService<T extends Transaction, S extends State> implements TransactionService<T, S> {
|
|
5
|
+
/**
|
|
6
|
+
* @inheritdoc
|
|
7
|
+
*/
|
|
8
|
+
get cloneStrategy(): IDataCloneStrategy;
|
|
9
|
+
set cloneStrategy(strategy: IDataCloneStrategy);
|
|
4
10
|
/**
|
|
5
11
|
* @inheritdoc
|
|
6
12
|
*/
|
|
@@ -20,6 +26,7 @@ export declare class IgxBaseTransactionService<T extends Transaction, S extends
|
|
|
20
26
|
protected _isPending: boolean;
|
|
21
27
|
protected _pendingTransactions: T[];
|
|
22
28
|
protected _pendingStates: Map<any, S>;
|
|
29
|
+
private _cloneStrategy;
|
|
23
30
|
/**
|
|
24
31
|
* @inheritdoc
|
|
25
32
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IDataCloneStrategy } from '../../data-operations/data-clone-strategy';
|
|
2
3
|
export declare enum TransactionType {
|
|
3
4
|
ADD = "add",
|
|
4
5
|
DELETE = "delete",
|
|
@@ -48,6 +49,10 @@ export interface TransactionService<T extends Transaction, S extends State> {
|
|
|
48
49
|
* Returns whether transaction is enabled for this service
|
|
49
50
|
*/
|
|
50
51
|
readonly enabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Gets/Sets the data clone strategy used to clone data
|
|
54
|
+
*/
|
|
55
|
+
cloneStrategy: IDataCloneStrategy;
|
|
51
56
|
/**
|
|
52
57
|
* Event fired when transaction state has changed - add transaction, commit all transactions, undo and redo
|
|
53
58
|
*/
|
|
@@ -66,6 +66,8 @@ export declare class IgxToastComponent extends IgxNotificationsDirective impleme
|
|
|
66
66
|
*/
|
|
67
67
|
isVisibleChange: EventEmitter<ToggleViewEventArgs>;
|
|
68
68
|
/**
|
|
69
|
+
* @deprecated in version 12.2.3. We suggest using `positionSettings` property instead
|
|
70
|
+
*
|
|
69
71
|
* Sets/gets the position of the toast.
|
|
70
72
|
* If not set, the `position` attribute will have value `IgxToastPosition.Bottom`.
|
|
71
73
|
* ```html
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
|
|
2
2
|
/**
|
|
3
|
-
* Filter tree to project source dirs
|
|
4
|
-
*
|
|
5
3
|
* @deprecated Temporary
|
|
4
|
+
*
|
|
5
|
+
* Filter tree to project source dirs
|
|
6
6
|
*/
|
|
7
7
|
export declare const filterSourceDirs: (host: Tree, context: SchematicContext) => Rule;
|
|
@@ -4,9 +4,9 @@ exports.filterSourceDirs = void 0;
|
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const util_1 = require("./util");
|
|
6
6
|
/**
|
|
7
|
-
* Filter tree to project source dirs
|
|
8
|
-
*
|
|
9
7
|
* @deprecated Temporary
|
|
8
|
+
*
|
|
9
|
+
* Filter tree to project source dirs
|
|
10
10
|
*/
|
|
11
11
|
const filterSourceDirs = (host, context) => {
|
|
12
12
|
const configPath = util_1.getWorkspacePath(host);
|
package/package.json
CHANGED