igniteui-angular 21.0.12 → 21.0.13

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.
@@ -7811,6 +7811,7 @@ class IgxExcelStyleDefaultExpressionComponent {
7811
7811
  onConditionsChanged(eventArgs) {
7812
7812
  const value = eventArgs.newSelection.value;
7813
7813
  this.expressionUI.expression.condition = this.getCondition(value);
7814
+ this.expressionUI.expression.conditionName = value;
7814
7815
  this.focus();
7815
7816
  }
7816
7817
  getCondition(value) {
@@ -9016,12 +9017,14 @@ class IgxExcelStyleSearchComponent {
9016
9017
  searchVal = new Set(selectedItems.map(e => e.value.toLocaleTimeString()));
9017
9018
  break;
9018
9019
  case GridColumnDataType.String:
9019
- if (this.esf.column.filteringIgnoreCase) {
9020
+ if (this.esf.column.filteringIgnoreCase && !this.isHierarchical()) {
9020
9021
  const selectedValues = new Set(selectedItems.map(item => item.value.toLowerCase()));
9021
9022
  searchVal = new Set();
9022
9023
  this.esf.grid.data.forEach(item => {
9023
- if (typeof item[this.esf.column.field] === "string" && selectedValues.has(item[this.esf.column.field]?.toLowerCase())) {
9024
- searchVal.add(item[this.esf.column.field]);
9024
+ const fieldPaths = columnFieldPath(this.esf.column.field);
9025
+ const itemValue = resolveNestedPath(item, fieldPaths);
9026
+ if (typeof itemValue === "string" && selectedValues.has(itemValue.toLowerCase())) {
9027
+ searchVal.add(itemValue);
9025
9028
  }
9026
9029
  });
9027
9030
  break;
@@ -13334,6 +13337,7 @@ class IgxGridFilteringRowComponent {
13334
13337
  onConditionsChanged(eventArgs) {
13335
13338
  const value = eventArgs.newSelection.value;
13336
13339
  this.expression.condition = this.getCondition(value);
13340
+ this.expression.conditionName = value;
13337
13341
  if (this.expression.condition.isUnary) {
13338
13342
  // update grid's filtering on the next cycle to ensure the drop-down is closed
13339
13343
  // if the drop-down is not closed this event handler will be invoked multiple times