@coveo/quantic 3.13.1 → 3.14.1

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.
Files changed (65) hide show
  1. package/docs/out/quantic-docs.json +20 -2
  2. package/force-app/main/default/labels/CustomLabels.labels-meta.xml +2 -2
  3. package/force-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js +6 -12
  4. package/force-app/main/default/lwc/quanticFeedbackModal/success.html +1 -1
  5. package/force-app/main/default/lwc/quanticFeedbackModalQna/templates/success.html +1 -1
  6. package/force-app/main/default/lwc/quanticGeneratedAnswer/__tests__/quanticGeneratedAnswer.test.js +113 -6
  7. package/force-app/main/default/lwc/quanticGeneratedAnswer/quanticGeneratedAnswer.js +33 -6
  8. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.html +1 -1
  9. package/force-app/main/default/lwc/quanticResultsPerPage/__tests__/quanticResultsPerPage.test.js +404 -0
  10. package/force-app/main/default/lwc/quanticResultsPerPage/e2e/fixture.ts +74 -0
  11. package/force-app/main/default/lwc/quanticResultsPerPage/e2e/pageObject.ts +85 -0
  12. package/force-app/main/default/lwc/quanticResultsPerPage/e2e/quanticResultsPerPage.e2e.ts +97 -0
  13. package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.html +1 -1
  14. package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.js +44 -9
  15. package/force-app/main/default/lwc/quanticSmartSnippet/__tests__/quanticSmartSnippet.test.js +0 -16
  16. package/force-app/main/default/lwc/quanticSmartSnippet/e2e/data.ts +2 -11
  17. package/force-app/main/default/lwc/quanticSmartSnippet/e2e/fixture.ts +9 -5
  18. package/force-app/main/default/lwc/quanticSmartSnippet/e2e/pageObject.ts +9 -1
  19. package/force-app/main/default/lwc/quanticSmartSnippet/e2e/quanticSmartSnippet.e2e.ts +51 -1
  20. package/force-app/main/default/lwc/quanticSmartSnippetAnswer/quanticSmartSnippetAnswer.html +1 -1
  21. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/__tests__/quanticSmartSnippetSuggestions.test.js +329 -0
  22. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/data.ts +31 -0
  23. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/fixture.ts +93 -0
  24. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/pageObject.ts +160 -0
  25. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/quanticSmartSnippetSuggestions.e2e.ts +127 -0
  26. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/quanticSmartSnippetSuggestions.html +2 -1
  27. package/force-app/main/default/lwc/quanticSort/__tests__/quanticSort.test.js +218 -37
  28. package/force-app/main/default/lwc/quanticSort/e2e/fixture.ts +61 -0
  29. package/force-app/main/default/lwc/quanticSort/e2e/pageObject.ts +89 -0
  30. package/force-app/main/default/lwc/quanticSort/e2e/quanticSort.e2e.ts +91 -0
  31. package/force-app/main/default/lwc/quanticSort/quanticSort.js +7 -4
  32. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +6 -6
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-response.d.ts +4 -1
  34. package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts +1 -0
  35. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/context/cart/headless-cart.ssr.d.ts +0 -2
  36. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/context/headless-context.ssr.d.ts +0 -2
  37. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/breadcrumb-manager/headless-core-breadcrumb-manager.ssr.d.ts +0 -2
  38. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.d.ts +2 -4
  39. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/location/headless-commerce-location-facet.d.ts +11 -0
  40. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/regular/headless-commerce-regular-facet.d.ts +8 -0
  41. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/pagination/headless-core-commerce-pagination.d.ts +3 -0
  42. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/pagination/headless-core-commerce-pagination.ssr.d.ts +2 -4
  43. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/parameter-manager/headless-core-parameter-manager.ssr.d.ts +0 -2
  44. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sort/headless-core-commerce-sort.ssr.d.ts +0 -2
  45. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/summary/headless-core-summary.ssr.d.ts +0 -2
  46. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/field-suggestions/headless-field-suggestions-generator.ssr.d.ts +0 -2
  47. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/instant-products/headless-instant-products.ssr.d.ts +0 -2
  48. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-list/headless-product-list.ssr.d.ts +1 -3
  49. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-view/headless-product-view.ssr.d.ts +0 -1
  50. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recent-queries-list/headless-recent-queries-list.ssr.d.ts +0 -2
  51. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.ssr.d.ts +0 -4
  52. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/did-you-mean/headless-did-you-mean.ssr.d.ts +1 -3
  53. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search-box/headless-search-box.ssr.d.ts +0 -2
  54. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/standalone-search-box/headless-standalone-search-box.ssr.d.ts +0 -2
  55. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/triggers/headless-notify-trigger.ssr.d.ts +0 -2
  56. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/triggers/headless-query-trigger.ssr.d.ts +0 -2
  57. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/triggers/headless-redirection-trigger.ssr.d.ts +0 -2
  58. package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-slice.d.ts +4 -2
  59. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +2 -2
  60. package/force-app/main/default/staticresources/coveoheadless/definitions/tsdoc-metadata.json +1 -1
  61. package/force-app/main/default/staticresources/coveoheadless/headless.js +8 -8
  62. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +7 -7
  63. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +6 -6
  64. package/force-app/main/default/staticresources/dompurify/purify.min.js +2 -2
  65. package/package.json +13 -13
@@ -60,10 +60,13 @@ interface Tab {
60
60
  label: string;
61
61
  conditions: Condition[];
62
62
  }
63
+ interface InsightGenQAOptions extends InsightOption {
64
+ collapsible: boolean;
65
+ }
63
66
  interface SettingsSection {
64
67
  createArticle: InsightOption;
65
68
  fullSearch: InsightOption;
66
- genQA: InsightOption;
69
+ genQA: InsightGenQAOptions;
67
70
  userActions: InsightUserActionOptions;
68
71
  }
69
72
  interface InsightUserActionOptions {
@@ -130,3 +130,4 @@ export type { SearchParameters } from './features/search-parameters/search-param
130
130
  export type { CommerceSearchParameters } from './features/commerce/search-parameters/search-parameters-actions.js';
131
131
  export { HighlightUtils };
132
132
  export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
133
+ export { productListingSerializer, searchSerializer, } from './features/commerce/parameters/parameters-serializer.js';
@@ -12,7 +12,5 @@ export interface CartDefinition extends UniversalControllerDefinitionWithProps<C
12
12
  * @group Definers
13
13
  *
14
14
  * @returns The `Cart` controller definition.
15
- *
16
- * @internal
17
15
  */
18
16
  export declare function defineCart(): CartDefinition;
@@ -9,7 +9,5 @@ export interface ContextDefinition extends UniversalControllerDefinitionWithProp
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `Context` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineContext(): ContextDefinition;
@@ -6,7 +6,5 @@ export type { BreadcrumbManager, BreadcrumbManagerState };
6
6
  * @group Definers
7
7
  *
8
8
  * @returns The `BreadcrumbManager` controller definition.
9
- *
10
- * @internal
11
9
  */
12
10
  export declare function defineBreadcrumbManager<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithoutProps<BreadcrumbManager, TOptions>;
@@ -5,12 +5,12 @@ import { ControllerDefinitionOption, SolutionType, SubControllerDefinitionWithou
5
5
  import { LocationFacetValue, RegularFacetValue } from '../../../../../features/commerce/facets/facet-set/interfaces/response.js';
6
6
  import { CategoryFacet, CategoryFacetState } from '../category/headless-commerce-category-facet.js';
7
7
  import { DateFacet, DateFacetState, DateFacetValue } from '../date/headless-commerce-date-facet.js';
8
- import { CategoryFacetValue, FacetType } from '../headless-core-commerce-facet.js';
8
+ import { CategoryFacetValue, FacetType, CoreCommerceFacet } from '../headless-core-commerce-facet.js';
9
9
  import { LocationFacet, LocationFacetState } from '../location/headless-commerce-location-facet.js';
10
10
  import { NumericFacet, NumericFacetValue, NumericFacetState } from '../numeric/headless-commerce-numeric-facet.js';
11
11
  import { RegularFacet, RegularFacetState } from '../regular/headless-commerce-regular-facet.js';
12
12
  import { FacetGenerator as CSRFacetGenerator, MappedGeneratedFacetController } from './headless-commerce-facet-generator.js';
13
- export type { BaseFacetSearchResult, CategoryFacet, CategoryFacetState, CategoryFacetValue, CategoryFacetSearchResult, DateFacet, DateFacetValue, DateFacetState, NumericFacet, NumericFacetValue, NumericFacetState, RegularFacet, RegularFacetState, RegularFacetValue, LocationFacet, LocationFacetState, LocationFacetValue, MappedGeneratedFacetController, };
13
+ export type { BaseFacetSearchResult, CategoryFacet, CategoryFacetState, CategoryFacetValue, CategoryFacetSearchResult, CoreCommerceFacet, DateFacet, DateFacetValue, DateFacetState, NumericFacet, NumericFacetValue, NumericFacetState, RegularFacet, RegularFacetState, RegularFacetValue, LocationFacet, LocationFacetState, LocationFacetValue, MappedGeneratedFacetController, };
14
14
  export type FacetGeneratorState = MappedFacetStates;
15
15
  export type MappedFacetStates = Array<MappedFacetState[FacetType]>;
16
16
  export type { FacetType };
@@ -56,8 +56,6 @@ export interface FacetGeneratorProps {
56
56
  solutionType: SolutionType;
57
57
  }
58
58
  /**
59
- * @internal
60
- *
61
59
  * Creates a `FacetGenerator` sub-controller for server-side rendering purposes (SSR).
62
60
  *
63
61
  * @param engine - The SSR commerce engine.
@@ -1,13 +1,24 @@
1
1
  import { CommerceEngine } from '../../../../../app/commerce-engine/commerce-engine.js';
2
2
  import { LocationFacetValue } from '../../../../../features/commerce/facets/facet-set/interfaces/response.js';
3
3
  import { CoreCommerceFacet, CoreCommerceFacetOptions, CoreCommerceFacetState, FacetControllerType, FacetValueRequest } from '../headless-core-commerce-facet.js';
4
+ /**
5
+ * @group Sub-controllers
6
+ * @category LocationFacet
7
+ */
4
8
  export type LocationFacetOptions = Omit<CoreCommerceFacetOptions, 'toggleSelectActionCreator' | 'toggleExcludeActionCreator'>;
9
+ /**
10
+ * @group Sub-controllers
11
+ * @category LocationFacet
12
+ */
5
13
  export type LocationFacetState = Omit<CoreCommerceFacetState<LocationFacetValue>, 'type'> & {
6
14
  type: 'location';
7
15
  };
8
16
  /**
9
17
  * The `LocationFacet` sub-controller offers a high-level programming interface for implementing a location commerce
10
18
  * facet UI component.
19
+ *
20
+ * @group Sub-controllers
21
+ * @category LocationFacet
11
22
  */
12
23
  export type LocationFacet = Omit<CoreCommerceFacet<FacetValueRequest, LocationFacetValue>, 'isValueExcluded' | 'toggleExclude' | 'toggleSingleExclude'> & {
13
24
  state: LocationFacetState;
@@ -3,7 +3,15 @@ import { specificFacetSearchStateSelector } from '../../../../../features/facets
3
3
  import { CoreCommerceFacet, CoreCommerceFacetOptions, CoreCommerceFacetState, FacetControllerType, FacetValueRequest, RegularFacetValue } from '../headless-core-commerce-facet.js';
4
4
  import { SearchableFacetOptions } from '../searchable/headless-commerce-searchable-facet.js';
5
5
  import { RegularFacetSearch, RegularFacetSearchState } from './headless-commerce-regular-facet-search.js';
6
+ /**
7
+ * @group Sub-controllers
8
+ * @category RegularFacet
9
+ */
6
10
  export type RegularFacetOptions = Omit<CoreCommerceFacetOptions, 'toggleSelectActionCreator' | 'toggleExcludeActionCreator'> & SearchableFacetOptions;
11
+ /**
12
+ * @group Sub-controllers
13
+ * @category RegularFacet
14
+ */
7
15
  export type RegularFacetState = Omit<CoreCommerceFacetState<RegularFacetValue>, 'type'> & {
8
16
  facetSearch: RegularFacetSearchState;
9
17
  type: 'regular';
@@ -48,6 +48,9 @@ export interface PaginationState {
48
48
  totalPages: number;
49
49
  }
50
50
  export interface CorePaginationOptions {
51
+ /**
52
+ * For internal use by Headless.
53
+ */
51
54
  slotId?: string;
52
55
  /**
53
56
  * The number of products to fetch per page.
@@ -1,13 +1,11 @@
1
1
  import { ControllerDefinitionOption, SubControllerDefinitionWithoutProps } from '../../../../app/commerce-ssr-engine/types/common.js';
2
- import { Pagination, PaginationProps, PaginationState } from './headless-core-commerce-pagination.js';
3
- export type { Pagination, PaginationProps, PaginationState };
2
+ import { Pagination, PaginationProps, PaginationState, PaginationOptions, CorePaginationOptions } from './headless-core-commerce-pagination.js';
3
+ export type { Pagination, PaginationProps, PaginationState, PaginationOptions, CorePaginationOptions, };
4
4
  /**
5
5
  * Defines a `Pagination` controller instance.
6
6
  * @group Definers
7
7
  *
8
8
  * @param props - The configurable `Pagination` properties.
9
9
  * @returns The `Pagination` controller definition.
10
- *
11
- * @internal
12
10
  */
13
11
  export declare function definePagination<TOptions extends ControllerDefinitionOption | undefined>(props?: PaginationProps & TOptions): SubControllerDefinitionWithoutProps<Pagination, TOptions>;
@@ -9,8 +9,6 @@ export type { ParameterManager, ParameterManagerProps, ParameterManagerState, Pa
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `ParameterManager` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineParameterManager<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithProps<ParameterManager<MappedParameterTypes<TOptions>>, TOptions, SSRParameterManagerProps<MappedParameterTypes<TOptions>>>;
16
14
  export interface SSRParameterManagerProps<T extends Parameters> extends Omit<ParameterManagerProps<T>, 'excludeDefaultParameters'> {
@@ -7,7 +7,5 @@ export type { Sort, SortProps, SortState };
7
7
  *
8
8
  * @param props - The configurable `Sort` properties.
9
9
  * @returns The `Sort` controller definition.
10
- *
11
- * @internal
12
10
  */
13
11
  export declare function defineSort<TOptions extends ControllerDefinitionOption | undefined>(props?: SortProps & TOptions): SubControllerDefinitionWithoutProps<Sort, TOptions>;
@@ -9,7 +9,5 @@ export type { Summary, ProductListingSummaryState, RecommendationsSummaryState,
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `Summary` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineSummary<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithoutProps<Summary<ProductListingSummaryState | SearchSummaryState | RecommendationsSummaryState>, TOptions>;
@@ -12,7 +12,5 @@ export interface FieldSuggestionsGeneratorDefinition extends NonRecommendationCo
12
12
  * @group Definers
13
13
  *
14
14
  * @returns The `FieldSuggestionsGenerator` controller definition.
15
- *
16
- * @internal
17
15
  */
18
16
  export declare function defineFieldSuggestionsGenerator(): FieldSuggestionsGeneratorDefinition;
@@ -9,7 +9,5 @@ export interface InstantProductsDefinition extends NonRecommendationControllerDe
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `InstantProducts` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineInstantProducts(props?: InstantProductsProps): InstantProductsDefinition;
@@ -9,7 +9,5 @@ export type ProductList = Pick<ProductListing | Search, 'state' | 'subscribe' |
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `ProductList` controller definition.
12
- *
13
- * @internal
14
- * */
12
+ */
15
13
  export declare function defineProductList<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithoutProps<ProductList, TOptions>;
@@ -12,7 +12,6 @@ export interface ProductViewDefinition extends NonRecommendationControllerDefini
12
12
  *
13
13
  * @returns The `ProductView` controller definition.
14
14
  *
15
- * @internal
16
15
  * @group Definers
17
16
  */
18
17
  export declare function defineProductView(): ProductViewDefinition;
@@ -10,7 +10,5 @@ export interface RecentQueriesListDefinition extends NonRecommendationController
10
10
  *
11
11
  * @param props - The configuration `RecentQueriesList` properties.
12
12
  * @returns The `RecentQueriesList` controller definition.
13
- *
14
- * @internal
15
13
  */
16
14
  export declare function defineRecentQueriesList(props?: RecentQueriesListProps): RecentQueriesListDefinition;
@@ -2,16 +2,12 @@ import { recommendationInternalOptionKey, RecommendationOnlyControllerDefinition
2
2
  import { RecommendationsOptions, RecommendationsState } from '../recommendations/headless-recommendations.js';
3
3
  import { RecommendationsProps, Recommendations } from './headless-recommendations.js';
4
4
  export type { Recommendations, RecommendationsState };
5
- /**
6
- * @internal
7
- * */
8
5
  export type RecommendationsDefinitionMeta = {
9
6
  [recommendationInternalOptionKey]: {} & RecommendationsProps['options'];
10
7
  };
11
8
  export interface RecommendationsDefinition extends RecommendationOnlyControllerDefinitionWithProps<Recommendations, Partial<RecommendationsOptions>> {
12
9
  }
13
10
  /**
14
- * @internal
15
11
  * Defines a `Recommendations` controller instance.
16
12
  * @group Definers
17
13
  *
@@ -6,7 +6,5 @@ export type { DidYouMean, DidYouMeanState };
6
6
  * @group Definers
7
7
  *
8
8
  * @returns The `DidYouMean` controller definition.
9
- *
10
- * @internal
11
- * */
9
+ */
12
10
  export declare function defineDidYouMean(): SearchOnlyControllerDefinitionWithoutProps<DidYouMean>;
@@ -9,7 +9,5 @@ export interface SearchBoxDefinition extends SearchOnlyControllerDefinitionWitho
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `SearchBox` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineSearchBox(props?: SearchBoxProps): SearchBoxDefinition;
@@ -12,7 +12,5 @@ export interface StandaloneSearchBoxDefinition extends ListingAndStandaloneContr
12
12
  *
13
13
  * @param props - The configurable `StandaloneSearchBox` properties.
14
14
  * @returns The `StandaloneSearchBox` controller definition.
15
- *
16
- * @internal
17
15
  */
18
16
  export declare function defineStandaloneSearchBox(props: StandaloneSearchBoxProps): StandaloneSearchBoxDefinition;
@@ -9,7 +9,5 @@ export interface NotifyTriggerDefinition extends SearchOnlyControllerDefinitionW
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `NotifyTrigger` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineNotifyTrigger(): NotifyTriggerDefinition;
@@ -9,7 +9,5 @@ export interface QueryTriggerDefinition extends SearchOnlyControllerDefinitionWi
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `NotifyTrigger` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineQueryTrigger(): QueryTriggerDefinition;
@@ -9,7 +9,5 @@ export interface RedirectionTriggerDefinition extends SearchOnlyControllerDefini
9
9
  * @group Definers
10
10
  *
11
11
  * @returns The `NotifyTrigger` controller definition.
12
- *
13
- * @internal
14
12
  */
15
13
  export declare function defineRedirectionTrigger(): RedirectionTriggerDefinition;
@@ -1,8 +1,10 @@
1
- import { AnyAction, type Draft as WritableDraft } from '@reduxjs/toolkit';
1
+ import { type Draft as WritableDraft } from '@reduxjs/toolkit';
2
+ import { registerRecentQueries as registerCommerceRecentQueries } from '../commerce/recent-queries/recent-queries-actions.js';
3
+ import { registerRecentQueries } from './recent-queries-actions.js';
2
4
  import { RecentQueriesState } from './recent-queries-state.js';
3
5
  export declare const recentQueriesReducer: import("redux").Reducer<RecentQueriesState> & {
4
6
  getInitialState: () => RecentQueriesState;
5
7
  };
6
- export declare function handleRegisterQueries(state: WritableDraft<RecentQueriesState>, action: AnyAction): void;
8
+ export declare function handleRegisterQueries(state: WritableDraft<RecentQueriesState>, action: ReturnType<typeof registerRecentQueries> | ReturnType<typeof registerCommerceRecentQueries>): void;
7
9
  export declare function handleClearRecentQueries(state: WritableDraft<RecentQueriesState>): void;
8
10
  export declare function handleExecuteSearchFulfilled(query: string, state: WritableDraft<RecentQueriesState>): void;
@@ -87,9 +87,9 @@ export type { CommerceSearchParametersState, CommerceProductListingParametersSta
87
87
  export type { Controller, Subscribable, } from './controllers/controller/headless-controller.js';
88
88
  export type { DidYouMean, DidYouMeanState, } from './controllers/commerce/search/did-you-mean/headless-did-you-mean.ssr.js';
89
89
  export { defineDidYouMean } from './controllers/commerce/search/did-you-mean/headless-did-you-mean.ssr.js';
90
- export type { BaseFacetSearchResult, CategoryFacet, CategoryFacetState, CategoryFacetValue, CategoryFacetSearchResult, DateFacet, DateFacetValue, DateFacetState, FacetGenerator, FacetGeneratorState, NumericFacet, NumericFacetValue, NumericFacetState, RegularFacet, RegularFacetState, RegularFacetValue, MappedGeneratedFacetController, MappedFacetStates, MappedFacetState, LocationFacetValue, LocationFacetState, FacetType, } from './controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.js';
90
+ export type { BaseFacetSearchResult, CategoryFacet, CategoryFacetState, CategoryFacetValue, CategoryFacetSearchResult, CoreCommerceFacet, DateFacet, DateFacetValue, DateFacetState, FacetGenerator, FacetGeneratorState, NumericFacet, NumericFacetValue, NumericFacetState, RegularFacet, RegularFacetState, RegularFacetValue, MappedGeneratedFacetController, MappedFacetStates, MappedFacetState, LocationFacet, LocationFacetValue, LocationFacetState, FacetType, } from './controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.js';
91
91
  export { defineFacetGenerator } from './controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.js';
92
- export type { Pagination, PaginationProps, PaginationState, } from './controllers/commerce/core/pagination/headless-core-commerce-pagination.ssr.js';
92
+ export type { Pagination, PaginationProps, PaginationState, PaginationOptions, CorePaginationOptions, } from './controllers/commerce/core/pagination/headless-core-commerce-pagination.ssr.js';
93
93
  export { definePagination } from './controllers/commerce/core/pagination/headless-core-commerce-pagination.ssr.js';
94
94
  export type { ParameterManager, ParameterManagerProps, SSRParameterManagerProps, ParameterManagerState, Parameters, ProductListingParameters, CommerceSearchParameters, } from './controllers/commerce/core/parameter-manager/headless-core-parameter-manager.ssr.js';
95
95
  export { defineParameterManager } from './controllers/commerce/core/parameter-manager/headless-core-parameter-manager.ssr.js';
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.49.1"
8
+ "packageVersion": "7.49.2"
9
9
  }
10
10
  ]
11
11
  }