igniteui-angular 22.0.0-rc.2 → 22.0.1

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.
Files changed (28) hide show
  1. package/fesm2022/igniteui-angular-directives.mjs +0 -1
  2. package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
  3. package/fesm2022/igniteui-angular-grids-core.mjs +10 -1
  4. package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
  5. package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +42 -2
  6. package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
  7. package/migrations/common/import-helper.cjs +14 -0
  8. package/migrations/common/import-helper.d.cts +13 -0
  9. package/migrations/update-11_0_0/index.js +3 -2
  10. package/migrations/update-12_0_0/index.js +3 -2
  11. package/migrations/update-12_1_0/index.js +3 -2
  12. package/migrations/update-13_0_0/index.js +3 -2
  13. package/migrations/update-13_1_0/index.js +3 -2
  14. package/migrations/update-15_1_0/index.js +3 -2
  15. package/migrations/update-16_1_0/index.js +3 -2
  16. package/migrations/update-17_0_0/index.js +3 -2
  17. package/migrations/update-17_1_0/index.js +3 -2
  18. package/migrations/update-18_0_0/index.js +3 -2
  19. package/migrations/update-20_0_6/index.js +3 -2
  20. package/migrations/update-22_0_0/index.js +3 -1
  21. package/package.json +2 -2
  22. package/skills/igniteui-angular-components/references/directives.md +8 -1
  23. package/skills/igniteui-angular-components/references/setup.md +11 -1
  24. package/skills/igniteui-angular-grids/references/sizing.md +1 -0
  25. package/skills/igniteui-angular-grids/references/structure.md +1 -0
  26. package/skills/igniteui-angular-grids/references/types.md +2 -1
  27. package/types/igniteui-angular-grids-core.d.ts +1 -0
  28. package/types/igniteui-angular-grids-hierarchical-grid.d.ts +2 -0
@@ -8567,6 +8567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
8567
8567
  }]
8568
8568
  }] });
8569
8569
  let NEXT_ID = 0;
8570
+ const TREE_GRID_GROUPING_HIDDEN_FIELD = '_Igx_Hidden_Data_';
8570
8571
  /**
8571
8572
  * A component used for presenting Excel style search UI.
8572
8573
  */
@@ -9039,7 +9040,7 @@ class IgxExcelStyleSearchComponent {
9039
9040
  searchVal = new Set(selectedItems.map(e => e.value.toLocaleTimeString()));
9040
9041
  break;
9041
9042
  case GridColumnDataType.String:
9042
- if (this.esf.column.filteringIgnoreCase && !this.isHierarchical() && !this.isRemote()) {
9043
+ if (this.esf.column.filteringIgnoreCase && !this.isHierarchical() && !this.isTreeGridWithGroupBy() && !this.isRemote()) {
9043
9044
  const selectedValues = new Set(selectedItems.map(item => item.value.toLowerCase()));
9044
9045
  searchVal = new Set();
9045
9046
  this.esf.grid.data.forEach(item => {
@@ -9301,6 +9302,14 @@ class IgxExcelStyleSearchComponent {
9301
9302
  const subRequired = indexOutOfChunk || scrollNeeded;
9302
9303
  return subRequired;
9303
9304
  }
9305
+ isTreeGridWithGroupBy() {
9306
+ if (this.esf.grid.type !== 'tree') {
9307
+ return false;
9308
+ }
9309
+ const data = this.esf.grid.data;
9310
+ const firstRecord = Array.isArray(data) && data.length > 0 ? data[0] : null;
9311
+ return !!firstRecord && typeof firstRecord === 'object' && Object.prototype.hasOwnProperty.call(firstRecord, TREE_GRID_GROUPING_HIDDEN_FIELD);
9312
+ }
9304
9313
  isRemote() {
9305
9314
  return this.esf.grid.verticalScrollContainer.isRemote || this.esf.grid.pagingMode === GridPagingMode.Remote;
9306
9315
  }