ps-toolkit-ui 1.18.26 → 1.18.28

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.
@@ -3957,7 +3957,7 @@
3957
3957
  }
3958
3958
  this.table.set(this.changeRows);
3959
3959
  if (this.table.searchForm) {
3960
- this.table.searchForm.displayLabel = !this.table.expertSearch;
3960
+ this.table.searchForm.displayLabel = this.table.expertSearch;
3961
3961
  this.table.searchForm.class = (this.table.searchForm.class ? this.table.searchForm.class : '') + (this.table.expertSearch ? '' : ' p-0');
3962
3962
  this.table.searchForm.inputs.forEach(function (x) {
3963
3963
  x.required = false;
@@ -4074,13 +4074,7 @@
4074
4074
  return this.table.optionsActions.filter(function (x) { return x instanceof ModalClass; });
4075
4075
  };
4076
4076
  TableComponent.prototype.hideExpertSearch = function (e) {
4077
- var container = $__namespace(e.target).closest('.search-form').find('.form');
4078
- console.log($__namespace(e.target));
4079
- console.log($__namespace(e.target).closest('.search-form'));
4080
- console.log($__namespace(e.target).closest('.search-form').find('.form'));
4081
- console.log(container.is(e.target));
4082
- console.log(container.has(e.target).length);
4083
- if (!container.is(e.target) && container.has(e.target).length === 0) {
4077
+ if ($__namespace(e.target).hasClass('search-form')) {
4084
4078
  $__namespace(this.tableDiv.nativeElement).removeClass('show-expert-search');
4085
4079
  }
4086
4080
  };