igniteui-angular 13.0.0-alpha.6 → 13.0.0-alpha.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/README.md +31 -30
- package/esm2020/lib/action-strip/grid-actions/grid-editing-actions.component.mjs +2 -2
- package/esm2020/lib/banner/banner.component.mjs +1 -1
- package/esm2020/lib/combo/combo-dropdown.component.mjs +12 -6
- package/esm2020/lib/combo/combo-item.component.mjs +5 -3
- package/esm2020/lib/combo/combo.api.mjs +3 -3
- package/esm2020/lib/combo/combo.common.mjs +1100 -2
- package/esm2020/lib/combo/combo.component.mjs +107 -1231
- package/esm2020/lib/combo/combo.directives.mjs +9 -25
- package/esm2020/lib/combo/combo.pipes.mjs +4 -6
- package/esm2020/lib/combo/public_api.mjs +5 -1
- package/esm2020/lib/core/utils.mjs +11 -1
- package/esm2020/lib/dialog/dialog.component.mjs +22 -10
- package/esm2020/lib/directives/focus-trap/focus-trap.directive.mjs +112 -0
- package/esm2020/lib/directives/for-of/for_of.directive.mjs +2 -2
- package/esm2020/lib/directives/radio/radio-group.directive.mjs +5 -13
- package/esm2020/lib/drop-down/drop-down-item.base.mjs +1 -5
- package/esm2020/lib/grids/column-actions/column-actions.component.mjs +4 -4
- package/esm2020/lib/grids/columns/column-layout.component.mjs +3 -3
- package/esm2020/lib/grids/columns/column.component.mjs +5 -5
- package/esm2020/lib/grids/common/crud.service.mjs +2 -2
- package/esm2020/lib/grids/filtering/advanced-filtering/advanced-filtering-dialog.component.mjs +2 -2
- package/esm2020/lib/grids/filtering/grid-filtering.service.mjs +9 -9
- package/esm2020/lib/grids/grid/grid.component.mjs +4 -8
- package/esm2020/lib/grids/grid-base.directive.mjs +82 -69
- package/esm2020/lib/grids/grid-public-row.mjs +3 -12
- package/esm2020/lib/grids/grouping/group-by-area.directive.mjs +2 -2
- package/esm2020/lib/grids/headers/grid-header-row.component.mjs +3 -3
- package/esm2020/lib/grids/hierarchical-grid/hierarchical-grid.component.mjs +4 -8
- package/esm2020/lib/grids/state.directive.mjs +2 -2
- package/esm2020/lib/grids/tree-grid/tree-grid.component.mjs +4 -8
- package/esm2020/lib/services/overlay/utilities.mjs +1 -1
- package/esm2020/lib/simple-combo/public_api.mjs +2 -0
- package/esm2020/lib/simple-combo/simple-combo.component.mjs +375 -0
- package/esm2020/lib/toast/toast.component.mjs +3 -6
- package/esm2020/public_api.mjs +3 -1
- package/fesm2015/igniteui-angular.mjs +1723 -1405
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +1714 -1402
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/banner/banner.component.d.ts +1 -2
- package/lib/combo/combo-dropdown.component.d.ts +3 -1
- package/lib/combo/combo-item.component.d.ts +3 -1
- package/lib/combo/combo.common.d.ts +733 -4
- package/lib/combo/combo.component.d.ts +41 -799
- package/lib/combo/combo.pipes.d.ts +1 -1
- package/lib/combo/public_api.d.ts +4 -0
- package/lib/core/utils.d.ts +4 -0
- package/lib/dialog/dialog.component.d.ts +11 -2
- package/lib/directives/focus-trap/focus-trap.directive.d.ts +41 -0
- package/lib/directives/radio/radio-group.directive.d.ts +4 -4
- package/lib/grids/columns/column.component.d.ts +1 -1
- package/lib/grids/grid/grid.component.d.ts +2 -1
- package/lib/grids/grid-base.directive.d.ts +64 -8
- package/lib/grids/grid-public-row.d.ts +2 -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/services/overlay/utilities.d.ts +2 -1
- package/lib/simple-combo/public_api.d.ts +1 -0
- package/lib/simple-combo/simple-combo.component.d.ts +134 -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/migrations/update-13_0_0/changes/members.json +26 -0
- package/migrations/update-13_0_0/index.js +0 -31
- package/package.json +51 -43
- package/public_api.d.ts +2 -0
- package/src/lib/combo/README.md +14 -14
- package/src/lib/directives/focus-trap/README.md +17 -0
- package/src/lib/simple-combo/README.md +317 -0
- package/esm2020/lib/core/deprecateDecorators.mjs +0 -99
- package/lib/core/deprecateDecorators.d.ts +0 -20
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
9
|
export declare class IgxComboFilteringPipe implements PipeTransform {
|
|
10
|
-
transform(collection: any[], searchValue: any, displayKey: any,
|
|
10
|
+
transform(collection: any[], searchValue: any, displayKey: any, filteringOptions: IComboFilteringOptions, shouldFilter?: boolean): any[];
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxComboFilteringPipe, never>;
|
|
12
12
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxComboFilteringPipe, "comboFiltering">;
|
|
13
13
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export * from './combo.component';
|
|
2
2
|
export * from './combo.directives';
|
|
3
|
+
export { IgxComboAddItemComponent } from './combo-add-item.component';
|
|
4
|
+
export { IgxComboDropDownComponent } from './combo-dropdown.component';
|
|
5
|
+
export { IgxComboItemComponent } from './combo-item.component';
|
|
6
|
+
export * from './combo.pipes';
|
package/lib/core/utils.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { AnimationReferenceMetadata } from '@angular/animations';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @hidden
|
|
6
|
+
*/
|
|
7
|
+
export declare const showMessage: (message: string, isMessageShown: boolean) => boolean;
|
|
4
8
|
export declare const mkenum: <T extends {
|
|
5
9
|
[index: string]: U;
|
|
6
10
|
}, U extends string>(x: T) => T;
|
|
@@ -12,6 +12,7 @@ import * as i3 from "../directives/toggle/toggle.directive";
|
|
|
12
12
|
import * as i4 from "../directives/button/button.directive";
|
|
13
13
|
import * as i5 from "../directives/ripple/ripple.directive";
|
|
14
14
|
import * as i6 from "../directives/focus/focus.directive";
|
|
15
|
+
import * as i7 from "../directives/focus-trap/focus-trap.directive";
|
|
15
16
|
/**
|
|
16
17
|
* **Ignite UI for Angular Dialog Window** -
|
|
17
18
|
* [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/dialog.html)
|
|
@@ -70,6 +71,14 @@ export declare class IgxDialogComponent implements IToggleView, OnInit, OnDestro
|
|
|
70
71
|
*/
|
|
71
72
|
get closeOnEscape(): boolean;
|
|
72
73
|
set closeOnEscape(val: boolean);
|
|
74
|
+
/**
|
|
75
|
+
* An @Input property to set whether the Tab key focus is trapped within the dialog when opened.
|
|
76
|
+
* Defaults to `true`.
|
|
77
|
+
* ```html
|
|
78
|
+
* <igx-dialog focusTrap="false""></igx-dialog>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
focusTrap: boolean;
|
|
73
82
|
/**
|
|
74
83
|
* An @Input property controlling the `title` of the dialog.
|
|
75
84
|
* ```html
|
|
@@ -382,7 +391,7 @@ export declare class IgxDialogComponent implements IToggleView, OnInit, OnDestro
|
|
|
382
391
|
private emitClosedFromDialog;
|
|
383
392
|
private emitOpenedFromDialog;
|
|
384
393
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxDialogComponent, [null, { optional: true; }]>;
|
|
385
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxDialogComponent, "igx-dialog", never, { "id": "id"; "isModal": "isModal"; "closeOnEscape": "closeOnEscape"; "title": "title"; "message": "message"; "leftButtonLabel": "leftButtonLabel"; "leftButtonType": "leftButtonType"; "leftButtonColor": "leftButtonColor"; "leftButtonBackgroundColor": "leftButtonBackgroundColor"; "leftButtonRipple": "leftButtonRipple"; "rightButtonLabel": "rightButtonLabel"; "rightButtonType": "rightButtonType"; "rightButtonColor": "rightButtonColor"; "rightButtonBackgroundColor": "rightButtonBackgroundColor"; "rightButtonRipple": "rightButtonRipple"; "closeOnOutsideSelect": "closeOnOutsideSelect"; "positionSettings": "positionSettings"; "isOpen": "isOpen"; "role": "role"; "titleId": "titleId"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "leftButtonSelect": "leftButtonSelect"; "rightButtonSelect": "rightButtonSelect"; "isOpenChange": "isOpenChange"; }, never, ["igx-dialog-title,[igxDialogTitle]", "*", "igx-dialog-actions,[igxDialogActions]"]>;
|
|
394
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxDialogComponent, "igx-dialog", never, { "id": "id"; "isModal": "isModal"; "closeOnEscape": "closeOnEscape"; "focusTrap": "focusTrap"; "title": "title"; "message": "message"; "leftButtonLabel": "leftButtonLabel"; "leftButtonType": "leftButtonType"; "leftButtonColor": "leftButtonColor"; "leftButtonBackgroundColor": "leftButtonBackgroundColor"; "leftButtonRipple": "leftButtonRipple"; "rightButtonLabel": "rightButtonLabel"; "rightButtonType": "rightButtonType"; "rightButtonColor": "rightButtonColor"; "rightButtonBackgroundColor": "rightButtonBackgroundColor"; "rightButtonRipple": "rightButtonRipple"; "closeOnOutsideSelect": "closeOnOutsideSelect"; "positionSettings": "positionSettings"; "isOpen": "isOpen"; "role": "role"; "titleId": "titleId"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "leftButtonSelect": "leftButtonSelect"; "rightButtonSelect": "rightButtonSelect"; "isOpenChange": "isOpenChange"; }, never, ["igx-dialog-title,[igxDialogTitle]", "*", "igx-dialog-actions,[igxDialogActions]"]>;
|
|
386
395
|
}
|
|
387
396
|
export interface IDialogEventArgs extends IBaseEventArgs {
|
|
388
397
|
dialog: IgxDialogComponent;
|
|
@@ -395,7 +404,7 @@ export interface IDialogCancellableEventArgs extends IDialogEventArgs, Cancelabl
|
|
|
395
404
|
*/
|
|
396
405
|
export declare class IgxDialogModule {
|
|
397
406
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxDialogModule, never>;
|
|
398
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgxDialogModule, [typeof IgxDialogComponent, typeof i1.IgxDialogTitleDirective, typeof i1.IgxDialogActionsDirective], [typeof i2.CommonModule, typeof i3.IgxToggleModule, typeof i4.IgxButtonModule, typeof i5.IgxRippleModule, typeof i6.IgxFocusModule], [typeof IgxDialogComponent, typeof i1.IgxDialogTitleDirective, typeof i1.IgxDialogActionsDirective]>;
|
|
407
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgxDialogModule, [typeof IgxDialogComponent, typeof i1.IgxDialogTitleDirective, typeof i1.IgxDialogActionsDirective], [typeof i2.CommonModule, typeof i3.IgxToggleModule, typeof i4.IgxButtonModule, typeof i5.IgxRippleModule, typeof i6.IgxFocusModule, typeof i7.IgxFocusTrapModule], [typeof IgxDialogComponent, typeof i1.IgxDialogTitleDirective, typeof i1.IgxDialogActionsDirective]>;
|
|
399
408
|
static ɵinj: i0.ɵɵInjectorDeclaration<IgxDialogModule>;
|
|
400
409
|
}
|
|
401
410
|
export * from './dialog.directives';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { PlatformUtil } from '../../core/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IgxFocusTrapDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
private elementRef;
|
|
6
|
+
protected platformUtil: PlatformUtil;
|
|
7
|
+
/** @hidden */
|
|
8
|
+
get element(): HTMLElement | null;
|
|
9
|
+
private destroy$;
|
|
10
|
+
private _focusTrap;
|
|
11
|
+
/** @hidden */
|
|
12
|
+
constructor(elementRef: ElementRef, platformUtil: PlatformUtil);
|
|
13
|
+
/**
|
|
14
|
+
* Sets whether the Tab key focus is trapped within the element.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html
|
|
18
|
+
* <div igxFocusTrap="true"></div>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
set focusTrap(focusTrap: boolean);
|
|
22
|
+
/** @hidden */
|
|
23
|
+
get focusTrap(): boolean;
|
|
24
|
+
/** @hidden */
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
/** @hidden */
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
private handleTab;
|
|
29
|
+
private getFocusableElements;
|
|
30
|
+
private getFocusedElement;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxFocusTrapDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxFocusTrapDirective, "[igxFocusTrap]", never, { "focusTrap": "igxFocusTrap"; }, {}, never>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare class IgxFocusTrapModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxFocusTrapModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgxFocusTrapModule, [typeof IgxFocusTrapDirective], never, [typeof IgxFocusTrapDirective]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgxFocusTrapModule>;
|
|
41
|
+
}
|
|
@@ -81,10 +81,10 @@ export declare class IgxRadioGroupDirective implements AfterContentInit, Control
|
|
|
81
81
|
get required(): boolean;
|
|
82
82
|
set required(value: boolean);
|
|
83
83
|
/**
|
|
84
|
-
* An @Input property that allows you to disable the radio group. By default it's false.
|
|
85
|
-
*
|
|
86
84
|
* @deprecated in version 12.2.0
|
|
87
85
|
*
|
|
86
|
+
* An input property that allows you to disable the radio group. By default it's false.
|
|
87
|
+
*
|
|
88
88
|
* @example
|
|
89
89
|
* ```html
|
|
90
90
|
* <igx-radio-group disabled></igx-radio-group>
|
|
@@ -93,10 +93,10 @@ export declare class IgxRadioGroupDirective implements AfterContentInit, Control
|
|
|
93
93
|
get disabled(): boolean;
|
|
94
94
|
set disabled(value: boolean);
|
|
95
95
|
/**
|
|
96
|
-
* Sets/gets the position of the `label` in the child radio buttons.
|
|
97
|
-
*
|
|
98
96
|
* @deprecated in version 12.2.0
|
|
99
97
|
*
|
|
98
|
+
* Sets/gets the position of the `label` in the child radio buttons.
|
|
99
|
+
*
|
|
100
100
|
* @remarks
|
|
101
101
|
* If not set, `labelPosition` will have value `"after"`.
|
|
102
102
|
*
|
|
@@ -864,7 +864,7 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
|
|
|
864
864
|
/**
|
|
865
865
|
* Gets the cells of the column.
|
|
866
866
|
* ```typescript
|
|
867
|
-
* let columnCells = this.column.
|
|
867
|
+
* let columnCells = this.column.cells;
|
|
868
868
|
* ```
|
|
869
869
|
*
|
|
870
870
|
*/
|
|
@@ -300,7 +300,8 @@ export declare class IgxGridComponent extends IgxGridBaseDirective implements Gr
|
|
|
300
300
|
set dropAreaMessage(value: string);
|
|
301
301
|
get dropAreaMessage(): string;
|
|
302
302
|
/**
|
|
303
|
-
* @deprecated
|
|
303
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
304
|
+
*
|
|
304
305
|
* Returns a `CellType` object that matches the conditions.
|
|
305
306
|
*
|
|
306
307
|
* @example
|
|
@@ -173,9 +173,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
173
173
|
*/
|
|
174
174
|
gridScroll: EventEmitter<IGridScrollEventArgs>;
|
|
175
175
|
/**
|
|
176
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
177
|
+
*
|
|
176
178
|
* Emitted after the current page is changed.
|
|
177
179
|
*
|
|
178
180
|
* @deprecated in version 12.1.0
|
|
181
|
+
* Use the corresponding output exposed by the `igx-paginator` component instead.
|
|
182
|
+
*
|
|
179
183
|
* @example
|
|
180
184
|
* ```html
|
|
181
185
|
* <igx-grid (pageChange)="onPageChange($event)"></igx-grid>
|
|
@@ -188,9 +192,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
188
192
|
*/
|
|
189
193
|
pageChange: EventEmitter<number>;
|
|
190
194
|
/**
|
|
195
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
196
|
+
*
|
|
191
197
|
* Emitted when `perPage` property value of the grid is changed.
|
|
192
198
|
*
|
|
193
199
|
* @deprecated in version 12.1.0
|
|
200
|
+
* Use the corresponding output exposed by the `igx-paginator` component instead.
|
|
201
|
+
*
|
|
194
202
|
* @example
|
|
195
203
|
* ```html
|
|
196
204
|
* <igx-grid #grid (perPageChange)="onPerPageChange($event)" [autoGenerate]="true"></igx-grid>
|
|
@@ -208,8 +216,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
208
216
|
*/
|
|
209
217
|
class: string;
|
|
210
218
|
/**
|
|
219
|
+
* @deprecated in version 12.2.0. We suggest using `rowClasses` property instead
|
|
220
|
+
*
|
|
211
221
|
* Gets/Sets the styling classes applied to all even `IgxGridRowComponent`s in the grid.
|
|
212
222
|
*
|
|
223
|
+
* @deprecated
|
|
224
|
+
* `evenRowCSS` is deprecated. We suggest using `rowClasses` property instead.
|
|
225
|
+
*
|
|
213
226
|
* @example
|
|
214
227
|
* ```html
|
|
215
228
|
* <igx-grid #grid [data]="Data" [evenRowCSS]="'igx-grid--my-even-class'" [autoGenerate]="true"></igx-grid>
|
|
@@ -217,8 +230,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
217
230
|
*/
|
|
218
231
|
evenRowCSS: string;
|
|
219
232
|
/**
|
|
233
|
+
* @deprecated in version 12.2.0. We suggest using `rowClasses` property instead
|
|
234
|
+
*
|
|
220
235
|
* Gets/Sets the styling classes applied to all odd `IgxGridRowComponent`s in the grid.
|
|
221
236
|
*
|
|
237
|
+
* @deprecated
|
|
238
|
+
* `oddRowCSS` is deprecated. We suggest using `rowClasses` property instead.
|
|
239
|
+
*
|
|
222
240
|
* @example
|
|
223
241
|
* ```html
|
|
224
242
|
* <igx-grid #grid [data]="Data" [evenRowCSS]="'igx-grid--my-odd-class'" [autoGenerate]="true"></igx-grid>
|
|
@@ -513,9 +531,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
513
531
|
*/
|
|
514
532
|
filteringDone: EventEmitter<IFilteringExpressionsTree>;
|
|
515
533
|
/**
|
|
534
|
+
* @deprecated in version 12.1.0. Use the corresponding output exposed by the `igx-paginator` component instead
|
|
535
|
+
*
|
|
516
536
|
* Emitted after paging is performed.
|
|
517
537
|
*
|
|
518
538
|
* @deprecated in version 12.1.x
|
|
539
|
+
* `pagingDone` is deprecated. Use the corresponding output exposed by the `igx-paginator` component instead.
|
|
540
|
+
*
|
|
519
541
|
* @remarks
|
|
520
542
|
* Returns an object consisting of the previous and next pages.
|
|
521
543
|
* @example
|
|
@@ -1026,9 +1048,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1026
1048
|
get pagingMode(): GridPagingMode;
|
|
1027
1049
|
set pagingMode(val: GridPagingMode);
|
|
1028
1050
|
/**
|
|
1051
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
1052
|
+
*
|
|
1029
1053
|
* Gets/Sets whether the paging feature is enabled.
|
|
1030
1054
|
*
|
|
1031
1055
|
* @deprecated in version 12.1.x
|
|
1056
|
+
* `paging` is deprecated
|
|
1057
|
+
*
|
|
1032
1058
|
* @remarks
|
|
1033
1059
|
* The default state is disabled (false).
|
|
1034
1060
|
* @example
|
|
@@ -1041,9 +1067,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1041
1067
|
get paging(): boolean;
|
|
1042
1068
|
set paging(value: boolean);
|
|
1043
1069
|
/**
|
|
1070
|
+
* @deprecated in version 12.1.0. Use `page` property form `paginator` component instead
|
|
1071
|
+
*
|
|
1044
1072
|
* Gets/Sets the current page index.
|
|
1045
1073
|
*
|
|
1046
1074
|
* @deprecated in version 12.1.x
|
|
1075
|
+
* `page` is deprecated. Use the `page` property from the `igx-paginator` component instead.
|
|
1076
|
+
*
|
|
1047
1077
|
* @example
|
|
1048
1078
|
* ```html
|
|
1049
1079
|
* <igx-grid #grid [data]="Data" [autoGenerate]="true">
|
|
@@ -1056,9 +1086,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1056
1086
|
get page(): number;
|
|
1057
1087
|
set page(val: number);
|
|
1058
1088
|
/**
|
|
1089
|
+
* @deprecated in version 12.1.0. Use `perPage` property from `paginator` component instead
|
|
1090
|
+
*
|
|
1059
1091
|
* Gets/Sets the number of visible items per page.
|
|
1060
1092
|
*
|
|
1061
1093
|
* @deprecated in version 12.1.x
|
|
1094
|
+
* `perPage` is deprecated. Use the `perPage` property from the `igx-paginator` component instead.
|
|
1095
|
+
*
|
|
1062
1096
|
* @remarks
|
|
1063
1097
|
* The default is 15.
|
|
1064
1098
|
* @example
|
|
@@ -2149,19 +2183,19 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2149
2183
|
* @hidden @internal
|
|
2150
2184
|
*/
|
|
2151
2185
|
get summariesMargin(): number;
|
|
2152
|
-
/**
|
|
2153
|
-
* @hidden
|
|
2154
|
-
* @internal
|
|
2155
|
-
*/
|
|
2156
|
-
get columns(): IgxColumnComponent[];
|
|
2157
2186
|
/**
|
|
2158
2187
|
* Gets an array of `IgxColumnComponent`s.
|
|
2159
2188
|
*
|
|
2160
2189
|
* @example
|
|
2161
2190
|
* ```typescript
|
|
2162
|
-
* const colums = this.grid.
|
|
2191
|
+
* const colums = this.grid.columns.
|
|
2163
2192
|
* ```
|
|
2164
2193
|
*/
|
|
2194
|
+
get columns(): IgxColumnComponent[];
|
|
2195
|
+
/**
|
|
2196
|
+
* @hidden
|
|
2197
|
+
* @internal
|
|
2198
|
+
*/
|
|
2165
2199
|
get columnsCollection(): IgxColumnComponent[];
|
|
2166
2200
|
/**
|
|
2167
2201
|
* Gets an array of the pinned `IgxColumnComponent`s.
|
|
@@ -2215,9 +2249,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2215
2249
|
*/
|
|
2216
2250
|
get visibleColumns(): IgxColumnComponent[];
|
|
2217
2251
|
/**
|
|
2252
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2253
|
+
*
|
|
2218
2254
|
* Gets the total number of pages.
|
|
2219
2255
|
*
|
|
2220
2256
|
* @deprecated in version 12.1.0
|
|
2257
|
+
* `totalPages` is deprecated. Use the corresponding property exposed by the `igx-paginator`.
|
|
2258
|
+
*
|
|
2221
2259
|
* @example
|
|
2222
2260
|
* ```typescript
|
|
2223
2261
|
* const totalPages = this.grid.totalPages;
|
|
@@ -2225,9 +2263,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2225
2263
|
*/
|
|
2226
2264
|
get totalPages(): number;
|
|
2227
2265
|
/**
|
|
2266
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2267
|
+
*
|
|
2228
2268
|
* Gets if the current page is the first page.
|
|
2229
2269
|
*
|
|
2230
2270
|
* @deprecated in version 12.1.0
|
|
2271
|
+
* `isFirstPage` is deprecated. Use the corresponding property exposed by the `igx-paginator`.'
|
|
2272
|
+
*
|
|
2231
2273
|
* @example
|
|
2232
2274
|
* ```typescript
|
|
2233
2275
|
* const firstPage = this.grid.isFirstPage;
|
|
@@ -2235,9 +2277,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2235
2277
|
*/
|
|
2236
2278
|
get isFirstPage(): boolean;
|
|
2237
2279
|
/**
|
|
2280
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2281
|
+
*
|
|
2238
2282
|
* Goes to the next page, if the grid is not already at the last page.
|
|
2239
2283
|
*
|
|
2240
2284
|
* @deprecated in version 12.1.0
|
|
2285
|
+
* 'Use the corresponding method exposed by the `igx-paginator`.'
|
|
2286
|
+
*
|
|
2241
2287
|
* @example
|
|
2242
2288
|
* ```typescript
|
|
2243
2289
|
* this.grid1.nextPage();
|
|
@@ -2245,12 +2291,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2245
2291
|
*/
|
|
2246
2292
|
nextPage(): void;
|
|
2247
2293
|
/**
|
|
2294
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2295
|
+
*
|
|
2248
2296
|
* Goes to the previous page, if the grid is not already at the first page.
|
|
2249
2297
|
*
|
|
2250
2298
|
* @deprecated in version 12.1.0
|
|
2299
|
+
* 'Use the corresponding method exposed by the `igx-paginator`.'
|
|
2251
2300
|
* @example
|
|
2252
|
-
* ```typescript
|
|
2253
|
-
* this.grid1.previousPage();
|
|
2254
2301
|
* ```
|
|
2255
2302
|
*/
|
|
2256
2303
|
previousPage(): void;
|
|
@@ -2267,9 +2314,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2267
2314
|
get totalRecords(): number;
|
|
2268
2315
|
set totalRecords(total: number);
|
|
2269
2316
|
/**
|
|
2317
|
+
* @deprecated in version 12.1.0. Use the corresponding property exposed by the `igx-paginator`
|
|
2318
|
+
*
|
|
2270
2319
|
* Returns if the current page is the last page.
|
|
2271
2320
|
*
|
|
2272
2321
|
* @deprecated in version 12.1.0
|
|
2322
|
+
* `isLastPage` is deprecated. Use the corresponding property exposed by the `igx-paginator`.'
|
|
2323
|
+
*
|
|
2273
2324
|
* @example
|
|
2274
2325
|
* ```typescript
|
|
2275
2326
|
* const lastPage = this.grid.isLastPage;
|
|
@@ -2310,8 +2361,13 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2310
2361
|
*/
|
|
2311
2362
|
moveColumn(column: IgxColumnComponent, target: IgxColumnComponent, pos?: DropPosition): void;
|
|
2312
2363
|
/**
|
|
2364
|
+
* @deprecated in version 12.1.0. Use the corresponding method exposed by the `igx-paginator`
|
|
2365
|
+
*
|
|
2313
2366
|
* Goes to the desired page index.
|
|
2314
2367
|
*
|
|
2368
|
+
* @deprecated in version 12.1.x
|
|
2369
|
+
* 'Use the corresponding method exposed by the `igx-paginator`.'
|
|
2370
|
+
*
|
|
2315
2371
|
* @example
|
|
2316
2372
|
* ```typescript
|
|
2317
2373
|
* this.grid1.paginate(1);
|
|
@@ -34,14 +34,13 @@ declare abstract class BaseRow implements RowType {
|
|
|
34
34
|
*/
|
|
35
35
|
get data(): any;
|
|
36
36
|
/**
|
|
37
|
-
* @deprecated Use 'data' instead
|
|
37
|
+
* @deprecated Use 'data' instead
|
|
38
38
|
*
|
|
39
39
|
* The data record that populates the row
|
|
40
40
|
*/
|
|
41
41
|
get rowData(): any;
|
|
42
42
|
/**
|
|
43
|
-
* @deprecated Use 'key' instead
|
|
44
|
-
*
|
|
43
|
+
* @deprecated Use 'key' instead
|
|
45
44
|
*/
|
|
46
45
|
get rowID(): any;
|
|
47
46
|
/**
|
|
@@ -230,7 +230,8 @@ export declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBas
|
|
|
230
230
|
*/
|
|
231
231
|
get expandChildren(): boolean;
|
|
232
232
|
/**
|
|
233
|
-
* @deprecated
|
|
233
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
234
|
+
*
|
|
234
235
|
* Returns a `CellType` object that matches the conditions.
|
|
235
236
|
*
|
|
236
237
|
* @example
|
|
@@ -269,7 +269,8 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
|
|
|
269
269
|
set rowLoadingIndicatorTemplate(value: TemplateRef<any>);
|
|
270
270
|
constructor(selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: GridServiceType, transactionFactory: IgxHierarchicalTransactionFactory, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, document: any, cdr: ChangeDetectorRef, resolver: ComponentFactoryResolver, differs: IterableDiffers, viewRef: ViewContainerRef, navigation: IgxGridNavigationService, filteringService: IgxFilteringService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, _displayDensityOptions: IDisplayDensityOptions, localeId: string, platform: PlatformUtil, _diTransactions?: HierarchicalTransactionService<HierarchicalTransaction, HierarchicalState>);
|
|
271
271
|
/**
|
|
272
|
-
* @deprecated
|
|
272
|
+
* @deprecated in version 12.1.0. Use `getCellByColumn` or `getCellByKey` instead
|
|
273
|
+
*
|
|
273
274
|
* Returns a `CellType` object that matches the conditions.
|
|
274
275
|
*
|
|
275
276
|
* @example
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './simple-combo.component';
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { IgxComboDropDownComponent } from '../combo/combo-dropdown.component';
|
|
4
|
+
import { IgxComboAPIService } from '../combo/combo.api';
|
|
5
|
+
import { IgxComboBaseDirective } from '../combo/combo.common';
|
|
6
|
+
import { IDisplayDensityOptions } from '../core/displayDensity';
|
|
7
|
+
import { IgxSelectionAPIService } from '../core/selection';
|
|
8
|
+
import { CancelableEventArgs, IBaseCancelableBrowserEventArgs, IBaseEventArgs, PlatformUtil } from '../core/utils';
|
|
9
|
+
import { IgxIconService } from '../icon/public_api';
|
|
10
|
+
import { IgxInputGroupType } from '../input-group/public_api';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "../combo/combo.component";
|
|
13
|
+
import * as i2 from "../directives/ripple/ripple.directive";
|
|
14
|
+
import * as i3 from "@angular/common";
|
|
15
|
+
import * as i4 from "../input-group/input-group.component";
|
|
16
|
+
import * as i5 from "@angular/forms";
|
|
17
|
+
import * as i6 from "../directives/for-of/for_of.directive";
|
|
18
|
+
import * as i7 from "../directives/toggle/toggle.directive";
|
|
19
|
+
import * as i8 from "../checkbox/checkbox.component";
|
|
20
|
+
import * as i9 from "../drop-down/public_api";
|
|
21
|
+
import * as i10 from "../directives/button/button.directive";
|
|
22
|
+
import * as i11 from "../icon/public_api";
|
|
23
|
+
import * as i12 from "../directives/text-selection/text-selection.directive";
|
|
24
|
+
/** Emitted when an igx-simple-combo's selection is changing. */
|
|
25
|
+
export interface ISimpleComboSelectionChangingEventArgs extends CancelableEventArgs, IBaseEventArgs {
|
|
26
|
+
/** An object which represents the value that is currently selected */
|
|
27
|
+
oldSelection: any;
|
|
28
|
+
/** An object which represents the value that will be selected after this event */
|
|
29
|
+
newSelection: any;
|
|
30
|
+
/** The text that will be displayed in the combo text box */
|
|
31
|
+
displayText: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Represents a drop-down list that provides filtering functionality, allowing users to choose a single option from a predefined list.
|
|
35
|
+
*
|
|
36
|
+
* @igxModule IgxSimpleComboModule
|
|
37
|
+
* @igxTheme igx-combo-theme
|
|
38
|
+
* @igxKeywords combobox, single combo selection
|
|
39
|
+
* @igxGroup Grids & Lists
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* It provides the ability to filter items as well as perform single selection on the provided data.
|
|
43
|
+
* Additionally, it exposes keyboard navigation and custom styling capabilities.
|
|
44
|
+
* @example
|
|
45
|
+
* ```html
|
|
46
|
+
* <igx-simple-combo [itemsMaxHeight]="250" [data]="locationData"
|
|
47
|
+
* [displayKey]="'field'" [valueKey]="'field'"
|
|
48
|
+
* placeholder="Location" searchPlaceholder="Search...">
|
|
49
|
+
* </igx-simple-combo>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class IgxSimpleComboComponent extends IgxComboBaseDirective implements ControlValueAccessor, AfterViewInit {
|
|
53
|
+
protected elementRef: ElementRef;
|
|
54
|
+
protected cdr: ChangeDetectorRef;
|
|
55
|
+
protected selectionService: IgxSelectionAPIService;
|
|
56
|
+
protected comboAPI: IgxComboAPIService;
|
|
57
|
+
protected _iconService: IgxIconService;
|
|
58
|
+
private platformUtil;
|
|
59
|
+
protected _displayDensityOptions: IDisplayDensityOptions;
|
|
60
|
+
protected _inputGroupType: IgxInputGroupType;
|
|
61
|
+
protected _injector: Injector;
|
|
62
|
+
/** @hidden @internal */
|
|
63
|
+
dropdown: IgxComboDropDownComponent;
|
|
64
|
+
/**
|
|
65
|
+
* Emitted when item selection is changing, before the selection completes
|
|
66
|
+
*
|
|
67
|
+
* ```html
|
|
68
|
+
* <igx-simple-combo (selectionChanging)='handleSelection()'></igx-simple-combo>
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
selectionChanging: EventEmitter<ISimpleComboSelectionChangingEventArgs>;
|
|
72
|
+
private textSelection;
|
|
73
|
+
/** @hidden @internal */
|
|
74
|
+
composing: boolean;
|
|
75
|
+
private _updateInput;
|
|
76
|
+
/** @hidden @internal */
|
|
77
|
+
get filteredData(): any[] | null;
|
|
78
|
+
/** @hidden @internal */
|
|
79
|
+
set filteredData(val: any[] | null);
|
|
80
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, selectionService: IgxSelectionAPIService, comboAPI: IgxComboAPIService, _iconService: IgxIconService, platformUtil: PlatformUtil, _displayDensityOptions: IDisplayDensityOptions, _inputGroupType: IgxInputGroupType, _injector: Injector);
|
|
81
|
+
/**
|
|
82
|
+
* Select a defined item
|
|
83
|
+
*
|
|
84
|
+
* @param item the item to be selected
|
|
85
|
+
* ```typescript
|
|
86
|
+
* this.combo.select("New York");
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
select(item: any): void;
|
|
90
|
+
/**
|
|
91
|
+
* Deselect the currently selected item
|
|
92
|
+
*
|
|
93
|
+
* @param item the items to be deselected
|
|
94
|
+
* ```typescript
|
|
95
|
+
* this.combo.deselect("New York");
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
deselect(): void;
|
|
99
|
+
/** @hidden @internal */
|
|
100
|
+
writeValue(value: any): void;
|
|
101
|
+
/** @hidden @internal */
|
|
102
|
+
ngAfterViewInit(): void;
|
|
103
|
+
/** @hidden @internal */
|
|
104
|
+
handleInputChange(event?: any): void;
|
|
105
|
+
/** @hidden @internal */
|
|
106
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
107
|
+
/** @hidden @internal */
|
|
108
|
+
handleKeyUp(event: KeyboardEvent): void;
|
|
109
|
+
/** @hidden @internal */
|
|
110
|
+
handleItemKeyDown(event: KeyboardEvent): void;
|
|
111
|
+
/** @hidden @internal */
|
|
112
|
+
getEditElement(): HTMLElement;
|
|
113
|
+
/** @hidden @internal */
|
|
114
|
+
handleClear(event: Event): void;
|
|
115
|
+
/** @hidden @internal */
|
|
116
|
+
handleOpened(): void;
|
|
117
|
+
/** @hidden @internal */
|
|
118
|
+
handleClosing(e: IBaseCancelableBrowserEventArgs): void;
|
|
119
|
+
/** @hidden @internal */
|
|
120
|
+
focusSearchInput(opening?: boolean): void;
|
|
121
|
+
/** @hidden @internal */
|
|
122
|
+
onClick(event: Event): void;
|
|
123
|
+
protected findMatch: (element: any) => boolean;
|
|
124
|
+
protected setSelection(newSelection: any): void;
|
|
125
|
+
protected createDisplayText(newSelection: any[], oldSelection: any[]): any;
|
|
126
|
+
private clearSelection;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSimpleComboComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSimpleComboComponent, "igx-simple-combo", never, {}, { "selectionChanging": "selectionChanging"; }, never, ["[igxLabel]", "igx-prefix", "igx-hint, [igxHint]", "igx-suffix"]>;
|
|
129
|
+
}
|
|
130
|
+
export declare class IgxSimpleComboModule {
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSimpleComboModule, never>;
|
|
132
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgxSimpleComboModule, [typeof IgxSimpleComboComponent], [typeof i1.IgxComboModule, typeof i2.IgxRippleModule, typeof i3.CommonModule, typeof i4.IgxInputGroupModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.IgxForOfModule, typeof i7.IgxToggleModule, typeof i8.IgxCheckboxModule, typeof i9.IgxDropDownModule, typeof i10.IgxButtonModule, typeof i11.IgxIconModule, typeof i12.IgxTextSelectionModule], [typeof IgxSimpleComboComponent, typeof i1.IgxComboModule]>;
|
|
133
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgxSimpleComboModule>;
|
|
134
|
+
}
|
|
@@ -68,6 +68,8 @@ export declare class IgxToastComponent extends IgxNotificationsDirective impleme
|
|
|
68
68
|
*/
|
|
69
69
|
isVisibleChange: EventEmitter<ToggleViewEventArgs>;
|
|
70
70
|
/**
|
|
71
|
+
* @deprecated in version 12.2.3. We suggest using `positionSettings` property instead
|
|
72
|
+
*
|
|
71
73
|
* Sets/gets the position of the toast.
|
|
72
74
|
* If not set, the `position` attribute will have value `IgxToastPosition.Bottom`.
|
|
73
75
|
* ```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 = (0, util_1.getWorkspacePath)(host);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../common/schema/members-changes.schema.json",
|
|
3
|
+
"changes": [
|
|
4
|
+
{
|
|
5
|
+
"member": "selectItems",
|
|
6
|
+
"replaceWith": "select",
|
|
7
|
+
"definedIn": [
|
|
8
|
+
"IgxComboComponent"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"member": "deselectItems",
|
|
13
|
+
"replaceWith": "deselect",
|
|
14
|
+
"definedIn": [
|
|
15
|
+
"IgxComboComponent"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"member": "selectedItems()",
|
|
20
|
+
"replaceWith": "selection",
|
|
21
|
+
"definedIn": [
|
|
22
|
+
"IgxComboBaseDirective"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|