igniteui-angular 22.0.6 → 22.0.8
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-action-strip.mjs +2 -1
- package/fesm2022/igniteui-angular-action-strip.mjs.map +1 -1
- package/fesm2022/igniteui-angular-directives.mjs +21 -4
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +22 -7
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +27 -7
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +2 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-paginator.mjs +2 -1
- package/fesm2022/igniteui-angular-paginator.mjs.map +1 -1
- package/package.json +1 -1
- package/types/igniteui-angular-directives.d.ts +1 -0
- package/types/igniteui-angular-grids-grid.d.ts +6 -2
|
@@ -826,7 +826,8 @@ function WatchChanges() {
|
|
|
826
826
|
const oldValue = this[key];
|
|
827
827
|
if (val !== oldValue || (typeof val === 'object' && val === oldValue)) {
|
|
828
828
|
originalSetter.call(this, val);
|
|
829
|
-
|
|
829
|
+
// Explicitly check whether the decorator is called during initialization
|
|
830
|
+
if (this.ngOnChanges && init !== undefined && !init) {
|
|
830
831
|
// in case wacthed prop changes trigger ngOnChanges manually
|
|
831
832
|
const changes = {
|
|
832
833
|
[key]: new SimpleChange(oldValue, val, false)
|
|
@@ -8810,7 +8811,7 @@ class IgxExcelStyleSearchComponent {
|
|
|
8810
8811
|
*/
|
|
8811
8812
|
get containerSize() {
|
|
8812
8813
|
if (this.esf.listData.length) {
|
|
8813
|
-
return this.list?.element.nativeElement.
|
|
8814
|
+
return this.list?.element.nativeElement.clientHeight;
|
|
8814
8815
|
}
|
|
8815
8816
|
// GE Nov 1st, 2021 #10355 Return a numeric value, so the chunk size is calculated properly.
|
|
8816
8817
|
// If we skip this branch, on applying the filter the _calculateChunkSize() method off the ForOfDirective receives
|
|
@@ -15488,6 +15489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
|
|
|
15488
15489
|
// }
|
|
15489
15490
|
// },
|
|
15490
15491
|
class IgxPivotDateDimension {
|
|
15492
|
+
/* treatAsRef */
|
|
15491
15493
|
/**
|
|
15492
15494
|
* Gets/Sets the resource strings.
|
|
15493
15495
|
*
|
|
@@ -15771,10 +15773,22 @@ class IgxGridStateBaseDirective {
|
|
|
15771
15773
|
newColumns.push(ref);
|
|
15772
15774
|
}
|
|
15773
15775
|
});
|
|
15774
|
-
context.currGrid.
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15776
|
+
if (!context.currGrid._init && !context.currGrid._rendered) {
|
|
15777
|
+
// If grid is not rendered but is initialized (during ngAfterViewInit) wait for it to render.
|
|
15778
|
+
// Otherwise pushing mid detect change (mainly while calculating sizes from `calculateGridWidth` and `calculateGridSizes`) messes up headers detect changing.
|
|
15779
|
+
context.currGrid.rendered.pipe(first$1()).subscribe(() => {
|
|
15780
|
+
context.currGrid.updateColumns(newColumns);
|
|
15781
|
+
newColumns.forEach(col => {
|
|
15782
|
+
context.currGrid.columnInit.emit(col);
|
|
15783
|
+
});
|
|
15784
|
+
});
|
|
15785
|
+
}
|
|
15786
|
+
else {
|
|
15787
|
+
context.currGrid.updateColumns(newColumns);
|
|
15788
|
+
newColumns.forEach(col => {
|
|
15789
|
+
context.currGrid.columnInit.emit(col);
|
|
15790
|
+
});
|
|
15791
|
+
}
|
|
15778
15792
|
}
|
|
15779
15793
|
},
|
|
15780
15794
|
groupBy: {
|
|
@@ -16487,7 +16501,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
|
|
|
16487
16501
|
/* wcElementTag: igc-grid-toolbar */
|
|
16488
16502
|
/* blazorIndirectRender */
|
|
16489
16503
|
/* singleInstanceIdentifier */
|
|
16490
|
-
/* contentParent:
|
|
16504
|
+
/* contentParent: Grid */
|
|
16505
|
+
/* contentParent: TreeGrid */
|
|
16491
16506
|
/* contentParent: RowIsland */
|
|
16492
16507
|
/* contentParent: HierarchicalGrid */
|
|
16493
16508
|
/* jsonAPIManageItemInMarkup */
|