igniteui-angular 11.1.31 → 11.1.35
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/LICENSE +16 -0
- package/bundles/igniteui-angular.umd.js +13 -14
- package/bundles/igniteui-angular.umd.js.map +1 -1
- package/bundles/igniteui-angular.umd.min.js +1 -1
- package/bundles/igniteui-angular.umd.min.js.map +1 -1
- package/esm2015/lib/grids/common/events.js +1 -1
- package/esm2015/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.js +2 -2
- package/esm2015/lib/grids/grid-base.directive.js +11 -3
- package/esm2015/lib/grids/row.directive.js +2 -2
- package/esm2015/lib/grids/toolbar/grid-toolbar.component.js +2 -11
- package/fesm2015/igniteui-angular.js +13 -13
- package/fesm2015/igniteui-angular.js.map +1 -1
- package/igniteui-angular.metadata.json +1 -1
- package/lib/grids/common/events.d.ts +2 -2
- package/lib/grids/toolbar/grid-toolbar.component.d.ts +2 -6
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
This is a commercial product, requiring a valid paid-for license for commercial use.
|
|
2
|
+
This product is free to use for non-commercial educational use for students in K through 12 grades
|
|
3
|
+
or University programs, and for educators to use in a classroom setting as examples / tools in their curriculum.
|
|
4
|
+
|
|
5
|
+
In order for us to verify your eligibility for free usage, please register for trial at
|
|
6
|
+
https://Infragistics.com/Angular and open a support ticket with a request for free license.
|
|
7
|
+
|
|
8
|
+
To acquire a license for commercial usage, please register for trial at https://Infragistics.com/Angular
|
|
9
|
+
and refer to the purchasing options in the pricing section on the product page.
|
|
10
|
+
|
|
11
|
+
This repository includes code originally copied from https://github.com/zloirock/core-js
|
|
12
|
+
in the projects/igniteui-angular/src/lib/core/setImmediate.ts file. The original version of the code is MIT licensed. See the file header for details.
|
|
13
|
+
|
|
14
|
+
© Copyright 2020 INFRAGISTICS. All Rights Reserved.
|
|
15
|
+
The Infragistics Ultimate license & copyright applies to this distribution.
|
|
16
|
+
For information on that license, please go to our website https://www.infragistics.com/legal/license.
|
|
@@ -23715,7 +23715,7 @@
|
|
|
23715
23715
|
* ```
|
|
23716
23716
|
*/
|
|
23717
23717
|
IgxRowDirective.prototype.pin = function () {
|
|
23718
|
-
return this.grid.pinRow(this.rowID);
|
|
23718
|
+
return this.grid.pinRow(this.rowID, this.index);
|
|
23719
23719
|
};
|
|
23720
23720
|
/**
|
|
23721
23721
|
* Unpins the specified row.
|
|
@@ -38010,7 +38010,7 @@
|
|
|
38010
38010
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
38011
38011
|
preserveWhitespaces: false,
|
|
38012
38012
|
selector: 'igx-grid-excel-style-filtering',
|
|
38013
|
-
template: "<ng-template #defaultExcelColumnOperations>\n <igx-excel-style-header\n [showHiding]=\"displayDensity !== 'comfortable' && !column?.disableHiding\"\n [showPinning]=\"displayDensity !== 'comfortable' && !column?.disablePinning\"\n [showSelecting]=\"displayDensity !== 'comfortable' && columnSelectable()\"\n >\n </igx-excel-style-header>\n\n <igx-excel-style-sorting *ngIf=\"column?.sortable\">\n </igx-excel-style-sorting>\n\n <igx-excel-style-moving *ngIf=\"column?.movable\">\n </igx-excel-style-moving>\n\n <igx-excel-style-pinning *ngIf=\"!column?.disablePinning && displayDensity==='comfortable'\">\n </igx-excel-style-pinning>\n\n <igx-excel-style-hiding *ngIf=\"!column?.disableHiding && displayDensity==='comfortable'\">\n </igx-excel-style-hiding>\n\n <igx-excel-style-selecting *ngIf=\"columnSelectable() && displayDensity==='comfortable'\">\n </igx-excel-style-selecting>\n</ng-template>\n\n<ng-template #defaultExcelFilterOperations>\n <igx-excel-style-clear-filters>\n </igx-excel-style-clear-filters>\n\n <igx-excel-style-conditional-filter>\n </igx-excel-style-conditional-filter>\n\n <igx-excel-style-search>\n </igx-excel-style-search>\n</ng-template>\n\n<article #mainDropdown\n class=\"igx-excel-filter__menu\"\n [ngClass]=\"{\n 'igx-excel-filter__menu--cosy': displayDensity === 'cosy',\n 'igx-excel-filter__menu--compact': displayDensity === 'compact'\n }\"\n [id]=\"overlayComponentId\"\n (keydown)=\"onKeyDown($event)\"\n [style.min-height]=\"minHeight\"\n [style.max-height]=\"maxHeight\">\n\n <ng-container *ngIf=\"this.excelColumnOperationsDirective; else defaultExcelColumnOperations\">\n <ng-content select=\"igx-excel-style-column-operations,[igxExcelStyleColumnOperations]\">\n </ng-content>\n </ng-container>\n\n <ng-container *ngIf=\"this.excelFilterOperationsDirective; else defaultExcelFilterOperations\">\n <ng-content select=\"igx-excel-style-filter-operations,[igxExcelStyleFilterOperations]\">\n </ng-content>\n </ng-container>\n</article>\n"
|
|
38013
|
+
template: "<ng-template #defaultExcelColumnOperations>\n <igx-excel-style-header\n [showHiding]=\"displayDensity !== 'comfortable' && !column?.disableHiding\"\n [showPinning]=\"displayDensity !== 'comfortable' && !column?.disablePinning\"\n [showSelecting]=\"displayDensity !== 'comfortable' && columnSelectable()\"\n >\n </igx-excel-style-header>\n\n <igx-excel-style-sorting *ngIf=\"column?.sortable\">\n </igx-excel-style-sorting>\n\n <igx-excel-style-moving *ngIf=\"column?.movable\">\n </igx-excel-style-moving>\n\n <igx-excel-style-pinning *ngIf=\"!column?.disablePinning && displayDensity==='comfortable'\">\n </igx-excel-style-pinning>\n\n <igx-excel-style-hiding *ngIf=\"!column?.disableHiding && displayDensity==='comfortable'\">\n </igx-excel-style-hiding>\n\n <igx-excel-style-selecting *ngIf=\"columnSelectable() && displayDensity==='comfortable'\">\n </igx-excel-style-selecting>\n</ng-template>\n\n<ng-template #defaultExcelFilterOperations>\n <igx-excel-style-clear-filters>\n </igx-excel-style-clear-filters>\n\n <igx-excel-style-conditional-filter>\n </igx-excel-style-conditional-filter>\n\n <igx-excel-style-search>\n </igx-excel-style-search>\n</ng-template>\n\n<article #mainDropdown\n class=\"igx-excel-filter__menu\"\n [ngClass]=\"{\n 'igx-excel-filter__menu--cosy': displayDensity === 'cosy',\n 'igx-excel-filter__menu--compact': displayDensity === 'compact'\n }\"\n [id]=\"overlayComponentId\"\n (keydown)=\"onKeyDown($event)\"\n [style.min-height]=\"minHeight\"\n [style.max-height]=\"maxHeight\"\n role=\"menu\">\n\n <ng-container *ngIf=\"this.excelColumnOperationsDirective; else defaultExcelColumnOperations\">\n <ng-content select=\"igx-excel-style-column-operations,[igxExcelStyleColumnOperations]\">\n </ng-content>\n </ng-container>\n\n <ng-container *ngIf=\"this.excelFilterOperationsDirective; else defaultExcelFilterOperations\">\n <ng-content select=\"igx-excel-style-filter-operations,[igxExcelStyleFilterOperations]\">\n </ng-content>\n </ng-container>\n</article>\n"
|
|
38014
38014
|
},] }
|
|
38015
38015
|
];
|
|
38016
38016
|
IgxGridExcelStyleFilteringComponent.ctorParameters = function () { return [
|
|
@@ -46312,8 +46312,6 @@
|
|
|
46312
46312
|
* @internal
|
|
46313
46313
|
*/
|
|
46314
46314
|
_this.defaultStyle = true;
|
|
46315
|
-
/** @hidden @internal */
|
|
46316
|
-
_this.width = null;
|
|
46317
46315
|
_this.iconService.addSvgIconFromText(materialIconsExtended.pinLeft.name, materialIconsExtended.pinLeft.value, 'imx-icons');
|
|
46318
46316
|
_this.iconService.addSvgIconFromText(materialIconsExtended.unpinLeft.name, materialIconsExtended.unpinLeft.value, 'imx-icons');
|
|
46319
46317
|
return _this;
|
|
@@ -46370,12 +46368,6 @@
|
|
|
46370
46368
|
configurable: true
|
|
46371
46369
|
});
|
|
46372
46370
|
/** @hidden @internal */
|
|
46373
|
-
IgxGridToolbarComponent.prototype.ngOnInit = function () {
|
|
46374
|
-
var _this = this;
|
|
46375
|
-
this.grid.rendered$.pipe(operators.first()).subscribe(function () { return _this.width = _this.grid.outerWidth; });
|
|
46376
|
-
this.sub = this.grid.resizeNotify.subscribe(function () { return _this.width = _this.grid.outerWidth; });
|
|
46377
|
-
};
|
|
46378
|
-
/** @hidden @internal */
|
|
46379
46371
|
IgxGridToolbarComponent.prototype.ngOnDestroy = function () {
|
|
46380
46372
|
var _a;
|
|
46381
46373
|
(_a = this.sub) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
@@ -46401,8 +46393,7 @@
|
|
|
46401
46393
|
hasActions: [{ type: i0.ContentChild, args: [IgxGridToolbarActionsDirective,] }],
|
|
46402
46394
|
defaultStyle: [{ type: i0.HostBinding, args: ['class.igx-grid-toolbar',] }],
|
|
46403
46395
|
cosyStyle: [{ type: i0.HostBinding, args: ['class.igx-grid-toolbar--cosy',] }],
|
|
46404
|
-
compactStyle: [{ type: i0.HostBinding, args: ['class.igx-grid-toolbar--compact',] }]
|
|
46405
|
-
width: [{ type: i0.HostBinding, args: ['style.max-width.px',] }, { type: i0.HostBinding, args: ['style.flex-basis.px',] }]
|
|
46396
|
+
compactStyle: [{ type: i0.HostBinding, args: ['class.igx-grid-toolbar--compact',] }]
|
|
46406
46397
|
};
|
|
46407
46398
|
|
|
46408
46399
|
/** @hidden @internal */
|
|
@@ -56266,9 +56257,13 @@
|
|
|
56266
56257
|
insertAtIndex: index,
|
|
56267
56258
|
isPinned: true,
|
|
56268
56259
|
rowID: rowID,
|
|
56269
|
-
row: row
|
|
56260
|
+
row: row,
|
|
56261
|
+
cancel: false
|
|
56270
56262
|
};
|
|
56271
56263
|
this.onRowPinning.emit(eventArgs);
|
|
56264
|
+
if (eventArgs.cancel) {
|
|
56265
|
+
return;
|
|
56266
|
+
}
|
|
56272
56267
|
this.endEdit(false);
|
|
56273
56268
|
var insertIndex = typeof eventArgs.insertAtIndex === 'number' ? eventArgs.insertAtIndex : this._pinnedRecordIDs.length;
|
|
56274
56269
|
this._pinnedRecordIDs.splice(insertIndex, 0, rowID);
|
|
@@ -56297,9 +56292,13 @@
|
|
|
56297
56292
|
var eventArgs = {
|
|
56298
56293
|
isPinned: false,
|
|
56299
56294
|
rowID: rowID,
|
|
56300
|
-
row: row
|
|
56295
|
+
row: row,
|
|
56296
|
+
cancel: false
|
|
56301
56297
|
};
|
|
56302
56298
|
this.onRowPinning.emit(eventArgs);
|
|
56299
|
+
if (eventArgs.cancel) {
|
|
56300
|
+
return;
|
|
56301
|
+
}
|
|
56303
56302
|
this.endEdit(false);
|
|
56304
56303
|
this._pinnedRecordIDs.splice(index, 1);
|
|
56305
56304
|
this._pipeTrigger++;
|