@sinequa/atomic-angular 0.4.19-dev.1 → 0.4.19-dev.3

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.
@@ -8348,7 +8348,8 @@ class AggregationListComponent {
8348
8348
  this.suggests.set([]);
8349
8349
  return;
8350
8350
  }
8351
- const suggests = (await withFetch(() => fetchSuggestField(this.normalizedSearchText(), [this.aggregation()?.column || ""]), this.injector)) || [];
8351
+ const query = this.queryParamsStore.getQuery();
8352
+ const suggests = (await withFetch(() => fetchSuggestField(this.normalizedSearchText(), [this.aggregation()?.column || ""], query), this.injector)) || [];
8352
8353
  this.suggests.set(suggests);
8353
8354
  });
8354
8355
  }
@@ -12898,7 +12899,8 @@ class AggregationTreeComponent {
12898
12899
  this.suggests.set([]);
12899
12900
  return;
12900
12901
  }
12901
- const suggests = (await withFetch(() => fetchSuggestField(this.normalizedSearchText(), [this.aggregation()?.column || ""]), this.injector)) || [];
12902
+ const query = this.queryParamsStore.getQuery();
12903
+ const suggests = (await withFetch(() => fetchSuggestField(this.normalizedSearchText(), [this.aggregation()?.column || ""], query), this.injector)) || [];
12902
12904
  this.suggests.set(suggests);
12903
12905
  });
12904
12906
  effect(() => {
@@ -13634,7 +13636,7 @@ class FilterButtonComponent {
13634
13636
  column: this.column(),
13635
13637
  icon,
13636
13638
  hidden,
13637
- display: agg?.isTree ? display : (f?.display ?? f?.value ?? display),
13639
+ display: f?.display ?? f?.value ?? display,
13638
13640
  isTree: agg?.isTree || false,
13639
13641
  count,
13640
13642
  disabled: !!(!agg?.items || agg.items?.length === 0),
@@ -13677,7 +13679,8 @@ class FilterButtonComponent {
13677
13679
  <span [innerHTML]="filter().legacyFilter | operator | syslang | transloco"></span>
13678
13680
  } @else {
13679
13681
  <!-- display the first filter value or the aggregation name if no value is set -->
13680
- <span class="max-w-40 truncate">{{ filter().display || filter().name | syslang | transloco }}</span>
13682
+ @let display = filter().display || filter().name | syslang | transloco;
13683
+ <span class="max-w-40 truncate" [title]="display">{{ display }}</span>
13681
13684
  }
13682
13685
 
13683
13686
  <!-- show the count of selected items -->
@@ -13741,7 +13744,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
13741
13744
  <span [innerHTML]="filter().legacyFilter | operator | syslang | transloco"></span>
13742
13745
  } @else {
13743
13746
  <!-- display the first filter value or the aggregation name if no value is set -->
13744
- <span class="max-w-40 truncate">{{ filter().display || filter().name | syslang | transloco }}</span>
13747
+ @let display = filter().display || filter().name | syslang | transloco;
13748
+ <span class="max-w-40 truncate" [title]="display">{{ display }}</span>
13745
13749
  }
13746
13750
 
13747
13751
  <!-- show the count of selected items -->