@fluid-topics/ft-search-selected-facets 1.3.52 → 1.3.54

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.
@@ -4,6 +4,7 @@ import { FtSearchSelectedFacetsProperties } from "./ft-search-selected-facets.pr
4
4
  import { FtSearchComponent } from "@fluid-topics/ft-search-context/build/registration";
5
5
  import { FtMetadataFilter, FtSearchFacet, FtSearchScopeKeys } from "@fluid-topics/public-api";
6
6
  import { I18nAttributeValue } from "@fluid-topics/ft-i18n/build/decorators/i18nAttribute";
7
+ import { FtSearchStateResourceRequest } from "@fluid-topics/ft-search-context/build/store/model";
7
8
  declare const FtSearchSelectedFacets_base: typeof FtSearchComponent & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-i18n").FtLitElementWithI18nInterface> & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-app-context").FtLitElementWithDateFormatInterface> & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-wc-utils").FtLitElementWithAriaNotificationInterface>;
8
9
  export declare class FtSearchSelectedFacets extends FtSearchSelectedFacets_base implements FtSearchSelectedFacetsProperties {
9
10
  static elementDefinitions: ElementDefinitionsMap;
@@ -18,6 +19,7 @@ export declare class FtSearchSelectedFacets extends FtSearchSelectedFacets_base
18
19
  filters?: FtMetadataFilter[];
19
20
  scope?: FtSearchScopeKeys;
20
21
  selectedFacetsAriaNotification: I18nAttributeValue;
22
+ neededSearchRequests: FtSearchStateResourceRequest[];
21
23
  protected ariaNotificationDebouncer: Debouncer;
22
24
  get hasSomethingToDisplay(): boolean | undefined;
23
25
  get numberOfChips(): number;
@@ -19,6 +19,7 @@ import { searchTypeContext, searchTypeDefaultMessages } from "@fluid-topics/ft-s
19
19
  import { periodFilterContext, periodFilterDefaultMessages } from "@fluid-topics/ft-search-period-filter";
20
20
  import { searchSelectedFacets, searchSelectedFacetsDefaultMessages } from "./FtSearchSelectedFacetsMessages";
21
21
  import { withDateFormat } from "@fluid-topics/ft-app-context";
22
+ import { FtSearchStateResourceRequest } from "@fluid-topics/ft-search-context/build/store/model";
22
23
  class FtSearchSelectedFacets extends withAriaNotification(withDateFormat(withI18n(FtSearchComponent))) {
23
24
  get hasSomethingToDisplay() {
24
25
  var _a, _b;
@@ -41,6 +42,7 @@ class FtSearchSelectedFacets extends withAriaNotification(withDateFormat(withI18
41
42
  key: "searchSelectedFacetsAriaNotification",
42
43
  message: "",
43
44
  };
45
+ this.neededSearchRequests = [FtSearchStateResourceRequest.CLUSTERED_SEARCH];
44
46
  this.ariaNotificationDebouncer = new Debouncer(100);
45
47
  this.addI18nContext(searchTypeContext, searchTypeDefaultMessages);
46
48
  this.addI18nContext(searchSelectedFacets, searchSelectedFacetsDefaultMessages);