cps-ui-kit 0.114.0 → 0.116.0

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.
@@ -5103,13 +5103,14 @@ class TableColumnFilterComponent {
5103
5103
  this.columnFilterMenu.hide();
5104
5104
  }
5105
5105
  clearFilter() {
5106
- this.clearFilterValues();
5106
+ this._initFieldFilterConstraint();
5107
5107
  this._tableInstance._filter();
5108
5108
  if (this.hideOnClear)
5109
5109
  this.hide();
5110
5110
  }
5111
5111
  clearFilterValues() {
5112
5112
  this._initFieldFilterConstraint();
5113
+ this.isFilterApplied = false;
5113
5114
  }
5114
5115
  applyFilter() {
5115
5116
  this._tableInstance._filter();
@@ -5122,7 +5123,7 @@ class TableColumnFilterComponent {
5122
5123
  }
5123
5124
  onBeforeMenuHidden() {
5124
5125
  if (!this.isFilterApplied)
5125
- this.clearFilterValues();
5126
+ this._initFieldFilterConstraint();
5126
5127
  }
5127
5128
  onMenuHidden() {
5128
5129
  const parent = this.elementRef?.nativeElement?.parentElement;