@coveo/quantic 3.32.0 → 3.33.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.
- package/README.md +15 -15
- package/docs/out/quantic-docs.json +1 -1
- package/force-app/main/default/lwc/quanticAriaLive/__tests__/quanticAriaLive.test.js +106 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js +752 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/fixture.ts +76 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/pageObject.ts +282 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts +167 -0
- package/force-app/main/default/lwc/quanticCarousel/__tests__/quanticCarousel.test.js +262 -0
- package/force-app/main/default/lwc/quanticCaseClassification/__tests__/quanticCaseClassification.test.js +819 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/data.ts +23 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/fixture.ts +51 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/pageObject.ts +152 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/quanticCaseClassification.e2e.ts +269 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/__tests__/quanticCategoryFacet.test.js +1183 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/data.ts +27 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/fixture.ts +75 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/quanticCategoryFacet.e2e.ts +199 -0
- package/force-app/main/default/lwc/quanticCitation/__tests__/quanticCitation.test.js +371 -0
- package/force-app/main/default/lwc/quanticColoredResultBadge/__tests__/quanticColoredResultBadge.test.js +212 -0
- package/force-app/main/default/lwc/quanticDateFacet/__tests__/quanticDateFacet.test.js +688 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/data.ts +24 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/fixture.ts +68 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/pageObject.ts +27 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/quanticDateFacet.e2e.ts +145 -0
- package/force-app/main/default/lwc/quanticDidYouMean/__tests__/quanticDidYouMean.test.js +348 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/data.ts +48 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/fixture.ts +80 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/pageObject.ts +173 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/quanticDidYouMean.e2e.ts +219 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/__tests__/quanticDocumentSuggestion.test.js +404 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/fixture.ts +38 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/pageObject.ts +52 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/quanticDocumentSuggestion.e2e.ts +102 -0
- package/force-app/main/default/lwc/quanticFacet/__tests__/quanticFacet.test.js +1105 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/data.ts +21 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/fixture.ts +73 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/pageObject.ts +67 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/quanticFacet.e2e.ts +208 -0
- package/force-app/main/default/lwc/quanticFacetCaption/__tests__/quanticFacetCaption.test.js +28 -0
- package/force-app/main/default/lwc/quanticFacetManager/__tests__/quanticFacetManager.test.js +178 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/fixture.ts +64 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/pageObject.ts +23 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/quanticFacetManager.e2e.ts +82 -0
- package/force-app/main/default/lwc/quanticFeedback/__tests__/quanticFeedback.test.js +392 -0
- package/force-app/main/default/lwc/quanticFeedbackModal/__tests__/quanticFeedbackModal.test.js +448 -0
- package/force-app/main/default/lwc/quanticFeedbackModalQna/__tests__/quanticFeedbackModalQna.test.js +298 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/__tests__/quanticFoldedResultList.test.js +323 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/fixture.ts +70 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/pageObject.ts +81 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/quanticFoldedResultList.e2e.ts +69 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/__tests__/quanticGeneratedAnswer.test.js +1158 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/data.ts +56 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/fixture.ts +185 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/pageObject.ts +451 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/quanticGeneratedAnswer.e2e.ts +337 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/__tests__/quanticGeneratedAnswerContent.test.js +151 -0
- package/force-app/main/default/lwc/quanticHeading/__tests__/quanticHeading.test.js +71 -0
- package/force-app/main/default/lwc/quanticHeadlessLoader/__tests__/quanticHeadlessLoader.test.js +651 -0
- package/force-app/main/default/lwc/quanticInsightInterface/__tests__/quanticInsightInterface.test.js +194 -0
- package/force-app/main/default/lwc/quanticInsightInterface/quanticInsightInterface.js +1 -1
- package/force-app/main/default/lwc/quanticInsightSummary/__tests__/quanticInsightSummary.test.js +230 -0
- package/force-app/main/default/lwc/quanticModal/__tests__/quanticModal.test.js +205 -0
- package/force-app/main/default/lwc/quanticNotifications/__tests__/quanticNotifications.test.js +309 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/fixture.ts +58 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/quanticNotifications.e2e.ts +47 -0
- package/force-app/main/default/lwc/quanticNumericFacet/__tests__/quanticNumericFacet.test.js +953 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/data.ts +28 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/fixture.ts +71 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/pageObject.ts +59 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/quanticNumericFacet.e2e.ts +164 -0
- package/force-app/main/default/lwc/quanticPager/__tests__/quanticPager.test.js +430 -0
- package/force-app/main/default/lwc/quanticPager/e2e/fixture.ts +65 -0
- package/force-app/main/default/lwc/quanticPager/e2e/pageObject.ts +69 -0
- package/force-app/main/default/lwc/quanticPager/e2e/quanticPager.e2e.ts +106 -0
- package/force-app/main/default/lwc/quanticPlaceholder/__tests__/quanticPlaceholder.test.js +47 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/data/defaultTestCase.json +13 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/data/youtubeTestCase.json +14 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/quanticQuickviewContent.test.js +82 -0
- package/force-app/main/default/lwc/quanticRadioButtonsGroup/__tests__/quanticRadioButtonsGroup.test.js +273 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/__tests__/quanticRecentQueriesList.test.js +448 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/fixture.ts +42 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/quanticRecentQueriesList.e2e.ts +93 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/__tests__/quanticRecentResultsList.test.js +516 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/fixture.ts +42 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/pageObject.ts +61 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/quanticRecentResultsList.e2e.ts +48 -0
- package/force-app/main/default/lwc/quanticRecommendationList/__tests__/quanticRecommendationList.test.js +491 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/fixture.ts +35 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/pageObject.ts +52 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/quanticRecommendationList.e2e.ts +53 -0
- package/force-app/main/default/lwc/quanticRefineModalContent/__tests__/quanticRefineModalContent.test.js +747 -0
- package/force-app/main/default/lwc/quanticRefineToggle/__tests__/quanticRefineToggle.test.js +542 -0
- package/force-app/main/default/lwc/quanticResultAction/__tests__/quanticResultAction.test.js +262 -0
- package/force-app/main/default/lwc/quanticResultActionBar/__tests__/quanticResultActionBar.test.js +141 -0
- package/force-app/main/default/lwc/quanticResultChildren/__tests__/quanticResultChildren.test.js +340 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/__tests__/quanticResultCopyToClipboard.test.js +300 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/fixture.ts +46 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/pageObject.ts +49 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/quanticResultCopyToClipboard.e2e.ts +40 -0
- package/force-app/main/default/lwc/quanticResultDate/__tests__/quanticResultDate.test.js +144 -0
- package/force-app/main/default/lwc/quanticResultField/__tests__/quanticResultField.test.js +120 -0
- package/force-app/main/default/lwc/quanticResultHighlightedTextField/__tests__/quanticResultHighlightedTextField.test.js +209 -0
- package/force-app/main/default/lwc/quanticResultLink/__tests__/quanticResultLink.test.js +261 -0
- package/force-app/main/default/lwc/quanticResultList/__tests__/quanticResultList.test.js +342 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/fixture.ts +66 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/pageObject.ts +81 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/quanticResultList.e2e.ts +69 -0
- package/force-app/main/default/lwc/quanticResultMultiValueText/__tests__/quanticResultMultiValueText.test.js +235 -0
- package/force-app/main/default/lwc/quanticResultNumber/__tests__/quanticResultNumber.test.js +144 -0
- package/force-app/main/default/lwc/quanticResultPrintableUri/__tests__/quanticResultPrintableUri.test.js +324 -0
- package/force-app/main/default/lwc/quanticResultQuickview/__tests__/quanticResultQuickview.test.js +301 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/fixture.ts +81 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/pageObject.ts +38 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/quanticResultQuickView.e2e.ts +66 -0
- package/force-app/main/default/lwc/quanticResultTemplate/__tests__/quanticResultTemplate.test.js +90 -0
- package/force-app/main/default/lwc/quanticResultText/__tests__/quanticResultText.test.js +155 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/__tests__/quanticResultsPerPage.test.js +464 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/fixture.ts +74 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/pageObject.ts +85 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/quanticResultsPerPage.e2e.ts +97 -0
- package/force-app/main/default/lwc/quanticSearchBox/__tests__/quanticSearchBox.test.js +487 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/fixture.ts +84 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/pageObject.ts +45 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/quanticSearchBox.e2e.ts +159 -0
- package/force-app/main/default/lwc/quanticSearchBoxInput/__tests__/quanticSearchBoxInput.test.js +743 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/__tests__/quanticSearchBoxSuggestionsList.test.js +571 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/fixture.ts +110 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/pageObject.ts +113 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/quanticSearchBoxSuggestionsList.e2e.ts +299 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/__tests__/quanticSmartSnippet.test.js +341 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/data.ts +21 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/fixture.ts +91 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/pageObject.ts +196 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/quanticSmartSnippet.e2e.ts +192 -0
- package/force-app/main/default/lwc/quanticSmartSnippetAnswer/__tests__/quanticSmartSnippetAnswer.test.js +126 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSource/__tests__/quanticSmartSnippetSource.test.js +290 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/__tests__/quanticSmartSnippetSuggestions.test.js +329 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/data.ts +31 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/fixture.ts +93 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/pageObject.ts +160 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/quanticSmartSnippetSuggestions.e2e.ts +127 -0
- package/force-app/main/default/lwc/quanticSort/__tests__/quanticSort.test.js +416 -0
- package/force-app/main/default/lwc/quanticSort/e2e/fixture.ts +61 -0
- package/force-app/main/default/lwc/quanticSort/e2e/pageObject.ts +89 -0
- package/force-app/main/default/lwc/quanticSort/e2e/quanticSort.e2e.ts +91 -0
- package/force-app/main/default/lwc/quanticSourceCitations/__tests__/quanticSourceCitations.test.js +136 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/__tests__/quanticStandaloneSearchBox.test.js +387 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/fixture.ts +53 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/pageObject.ts +54 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/quanticStandaloneSearchBox.e2e.ts +72 -0
- package/force-app/main/default/lwc/quanticStatefulButton/__tests__/quanticStatefulButton.test.js +222 -0
- package/force-app/main/default/lwc/quanticSummary/__tests__/quanticSummary.test.js +244 -0
- package/force-app/main/default/lwc/quanticTab/__tests__/quanticTab.test.js +333 -0
- package/force-app/main/default/lwc/quanticTab/e2e/fixture.ts +56 -0
- package/force-app/main/default/lwc/quanticTab/e2e/pageObject.ts +68 -0
- package/force-app/main/default/lwc/quanticTab/e2e/quanticTab.e2e.ts +72 -0
- package/force-app/main/default/lwc/quanticTabBar/__tests__/quanticTabBar.test.js +331 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/fixture.ts +61 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/pageObject.ts +80 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/quanticTabBar.e2e.ts +171 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/__tests__/quanticTimeframeFacet.test.js +1037 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/fixture.ts +58 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/pageObject.ts +43 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/quanticTimeframeFacet.e2e.ts +160 -0
- package/force-app/main/default/lwc/quanticTooltip/__tests__/quanticTooltip.test.js +107 -0
- package/force-app/main/default/lwc/quanticUserAction/__tests__/quanticUserAction.test.js +427 -0
- package/force-app/main/default/lwc/quanticUserActionsSession/__tests__/quanticUserActionsSession.test.js +269 -0
- package/force-app/main/default/lwc/quanticUserActionsTimeline/__tests__/data/userActionsState.json +89 -0
- package/force-app/main/default/lwc/quanticUserActionsTimeline/__tests__/quanticUserActionsTimeline.test.js +511 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/__tests__/quanticUserActionsToggle.test.js +229 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/data.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/fixture.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/pageObject.ts +71 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/quanticUserActionsToggle.e2e.ts +39 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/citationAnchoringUtils.test.js +84 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/facetDependenciesUtils.test.js +92 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/markdownUtils.test.js +71 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/quanticUtils.test.js +223 -0
- package/force-app/main/default/lwc/quanticUtils/recentQueriesUtils.js +20 -12
- package/force-app/main/default/lwc/quanticViewedByCustomerBadge/__tests__/quanticViewedByCustomerBadge.test.js +131 -0
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/case-assist-engine/case-assist-engine.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine.d.ts +16 -16
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/common-reducers.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/recommendation-engine/recommendation-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/store.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/headless-core-commerce-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/headless-core-range-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/recent-queries-list/headless-core-recent-queries-list.d.ts +91 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/attach-to-case/headless-attach-to-case.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/attached-results/headless-attached-results.d.ts +68 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/recent-queries-list/headless-insight-recent-queries-list.d.ts +14 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +2 -79
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/actions-history/ipx-actions-history-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-action-cause.d.ts +9 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-state.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-context/case-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-input/case-input-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-search-set/commerce-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/field-suggestions-order/field-suggestions-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/instant-products/instant-products-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product/product-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/sort/sort-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/debug-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/version-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/dictionary-field-context/dictionary-field-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/excerpt-length/excerpt-length-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/automatic-facet-set/automatic-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-order/facet-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/category/category-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/generic/generic-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/specific/specific-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-actions.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-slice.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-configuration/insight-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/legacy/insight-search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pipeline/pipeline-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-set/query-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/question-answering/question-answering-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-insight-analytics-actions.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-results/recent-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-hub/search-hub-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort-criteria/sort-criteria-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/tab-set/tab-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/factories/build-factory.d.ts +6 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/fetch-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/from-build-result.d.ts +6 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/hydrate-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/access-token-manager.d.ts +19 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/augment-preprocess-request.d.ts +7 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/fetch-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/hydrate-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +4 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/access-token-manager.d.ts +19 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/augment-preprocess-request.d.ts +7 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/engine/search-engine.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/state/insight-app-state.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-ssr-controller-definitions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +3 -3
- package/package.json +46 -44
|
@@ -5,13 +5,13 @@ import { type CoreEngine, type ExternalEngineOptions } from '../engine.js';
|
|
|
5
5
|
import { type CaseAssistEngineConfiguration } from './case-assist-engine-configuration.js';
|
|
6
6
|
export type { CaseAssistEngineConfiguration };
|
|
7
7
|
declare const caseassistEngineReducers: {
|
|
8
|
-
debug: import("
|
|
8
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
9
9
|
getInitialState: () => boolean;
|
|
10
10
|
};
|
|
11
|
-
caseAssistConfiguration: import("
|
|
11
|
+
caseAssistConfiguration: import("@reduxjs/toolkit").Reducer<import("../../features/case-assist-configuration/case-assist-configuration-state.js").CaseAssistConfigurationState> & {
|
|
12
12
|
getInitialState: () => import("../../features/case-assist-configuration/case-assist-configuration-state.js").CaseAssistConfigurationState;
|
|
13
13
|
};
|
|
14
|
-
searchHub: import("
|
|
14
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
15
15
|
getInitialState: () => string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -6,52 +6,52 @@ import { type CoreEngineNext, type CoreState, type ExternalEngineOptions } from
|
|
|
6
6
|
import { type CommerceEngineConfiguration } from './commerce-engine-configuration.js';
|
|
7
7
|
export type { CommerceEngineConfiguration };
|
|
8
8
|
declare const commerceEngineReducers: {
|
|
9
|
-
productListing: import("
|
|
9
|
+
productListing: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/product-listing/product-listing-state.js").ProductListingState> & {
|
|
10
10
|
getInitialState: () => import("../../features/commerce/product-listing/product-listing-state.js").ProductListingState;
|
|
11
11
|
};
|
|
12
|
-
recommendations: import("
|
|
12
|
+
recommendations: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/recommendations/recommendations-state.js").RecommendationsState> & {
|
|
13
13
|
getInitialState: () => import("../../features/commerce/recommendations/recommendations-state.js").RecommendationsState;
|
|
14
14
|
};
|
|
15
|
-
commerceSearch: import("
|
|
15
|
+
commerceSearch: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/search/search-state.js").CommerceSearchState> & {
|
|
16
16
|
getInitialState: () => import("../../features/commerce/search/search-state.js").CommerceSearchState;
|
|
17
17
|
};
|
|
18
|
-
commercePagination: import("
|
|
18
|
+
commercePagination: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/pagination/pagination-state.js").CommercePaginationState> & {
|
|
19
19
|
getInitialState: () => import("../../features/commerce/pagination/pagination-state.js").CommercePaginationState;
|
|
20
20
|
};
|
|
21
|
-
commerceSort: import("
|
|
21
|
+
commerceSort: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/sort/sort-state.js").CommerceSortState> & {
|
|
22
22
|
getInitialState: () => import("../../features/commerce/sort/sort-state.js").CommerceSortState;
|
|
23
23
|
};
|
|
24
|
-
facetOrder: import("
|
|
24
|
+
facetOrder: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-order/facet-order-state.js").FacetOrderState> & {
|
|
25
25
|
getInitialState: () => import("../../features/facets/facet-order/facet-order-state.js").FacetOrderState;
|
|
26
26
|
};
|
|
27
|
-
fieldSuggestionsOrder: import("
|
|
27
|
+
fieldSuggestionsOrder: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/field-suggestions-order/field-suggestions-order-state.js").FieldSuggestionsOrderState> & {
|
|
28
28
|
getInitialState: () => import("../../features/commerce/facets/field-suggestions-order/field-suggestions-order-state.js").FieldSuggestionsOrderState;
|
|
29
29
|
};
|
|
30
|
-
facetSearchSet: import("
|
|
30
|
+
facetSearchSet: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-search-set/specific/specific-facet-search-set-state.js").SpecificFacetSearchSetState> & {
|
|
31
31
|
getInitialState: () => import("../../features/facets/facet-search-set/specific/specific-facet-search-set-state.js").SpecificFacetSearchSetState;
|
|
32
32
|
};
|
|
33
|
-
categoryFacetSearchSet: import("
|
|
33
|
+
categoryFacetSearchSet: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-search-set/category/category-facet-search-set-state.js").CategoryFacetSearchSetState> & {
|
|
34
34
|
getInitialState: () => import("../../features/facets/facet-search-set/category/category-facet-search-set-state.js").CategoryFacetSearchSetState;
|
|
35
35
|
};
|
|
36
|
-
commerceFacetSet: import("
|
|
36
|
+
commerceFacetSet: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/facet-set/facet-set-state.js").CommerceFacetSetState> & {
|
|
37
37
|
getInitialState: () => import("../../features/commerce/facets/facet-set/facet-set-state.js").CommerceFacetSetState;
|
|
38
38
|
};
|
|
39
|
-
manualNumericFacetSet: import("
|
|
39
|
+
manualNumericFacetSet: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/numeric-facet/manual-numeric-facet-state.js").ManualNumericFacetSetState> & {
|
|
40
40
|
getInitialState: () => import("../../features/commerce/facets/numeric-facet/manual-numeric-facet-state.js").ManualNumericFacetSetState;
|
|
41
41
|
};
|
|
42
|
-
commerceContext: import("
|
|
42
|
+
commerceContext: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/context/context-state.js").CommerceContextState> & {
|
|
43
43
|
getInitialState: () => import("../../features/commerce/context/context-state.js").CommerceContextState;
|
|
44
44
|
};
|
|
45
|
-
commerceQuery: import("
|
|
45
|
+
commerceQuery: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/query/query-state.js").CommerceQueryState> & {
|
|
46
46
|
getInitialState: () => import("../../features/commerce/query/query-state.js").CommerceQueryState;
|
|
47
47
|
};
|
|
48
|
-
cart: import("
|
|
48
|
+
cart: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/context/cart/cart-state.js").CartState> & {
|
|
49
49
|
getInitialState: () => import("../../features/commerce/context/cart/cart-state.js").CartState;
|
|
50
50
|
};
|
|
51
|
-
didYouMean: import("
|
|
51
|
+
didYouMean: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/did-you-mean/did-you-mean-state.js").DidYouMeanState> & {
|
|
52
52
|
getInitialState: () => import("../../features/commerce/did-you-mean/did-you-mean-state.js").DidYouMeanState;
|
|
53
53
|
};
|
|
54
|
-
triggers: import("
|
|
54
|
+
triggers: import("@reduxjs/toolkit").Reducer<import("../../features/triggers/triggers-state.js").TriggerState> & {
|
|
55
55
|
getInitialState: () => import("../../features/triggers/triggers-state.js").TriggerState;
|
|
56
56
|
};
|
|
57
57
|
};
|
package/force-app/main/default/staticresources/coveoheadless/definitions/app/common-reducers.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const configuration: import("
|
|
1
|
+
export declare const configuration: import("@reduxjs/toolkit").Reducer<import("../features/configuration/configuration-state.js").ConfigurationState> & {
|
|
2
2
|
getInitialState: () => import("../features/configuration/configuration-state.js").ConfigurationState;
|
|
3
3
|
};
|
|
@@ -7,19 +7,19 @@ import { getSampleInsightEngineConfiguration, type InsightEngineConfiguration, t
|
|
|
7
7
|
export type { InsightEngineConfiguration, InsightEngineSearchConfigurationOptions, };
|
|
8
8
|
export { getSampleInsightEngineConfiguration };
|
|
9
9
|
declare const insightEngineReducers: {
|
|
10
|
-
insightConfiguration: import("
|
|
10
|
+
insightConfiguration: import("@reduxjs/toolkit").Reducer<import("../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState> & {
|
|
11
11
|
getInitialState: () => import("../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState;
|
|
12
12
|
};
|
|
13
|
-
search: import("
|
|
13
|
+
search: import("@reduxjs/toolkit").Reducer<import("../../features/search/search-state.js").SearchState> & {
|
|
14
14
|
getInitialState: () => import("../../features/search/search-state.js").SearchState;
|
|
15
15
|
};
|
|
16
|
-
insightInterface: import("
|
|
16
|
+
insightInterface: import("@reduxjs/toolkit").Reducer<import("../../insight.index.js").InsightInterfaceState> & {
|
|
17
17
|
getInitialState: () => import("../../insight.index.js").InsightInterfaceState;
|
|
18
18
|
};
|
|
19
|
-
searchHub: import("
|
|
19
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
20
20
|
getInitialState: () => string;
|
|
21
21
|
};
|
|
22
|
-
resultPreview: import("
|
|
22
|
+
resultPreview: import("@reduxjs/toolkit").Reducer<import("../../features/result-preview/result-preview-state.js").ResultPreviewState> & {
|
|
23
23
|
getInitialState: () => import("../../features/result-preview/result-preview-state.js").ResultPreviewState;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -6,16 +6,16 @@ import { getSampleRecommendationEngineConfiguration, type RecommendationEngineCo
|
|
|
6
6
|
export type { RecommendationEngineConfiguration };
|
|
7
7
|
export { getSampleRecommendationEngineConfiguration };
|
|
8
8
|
declare const recommendationEngineReducers: {
|
|
9
|
-
debug: import("
|
|
9
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
10
10
|
getInitialState: () => boolean;
|
|
11
11
|
};
|
|
12
|
-
pipeline: import("
|
|
12
|
+
pipeline: import("@reduxjs/toolkit").Reducer<string> & {
|
|
13
13
|
getInitialState: () => string;
|
|
14
14
|
};
|
|
15
|
-
searchHub: import("
|
|
15
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
16
16
|
getInitialState: () => string;
|
|
17
17
|
};
|
|
18
|
-
recommendation: import("
|
|
18
|
+
recommendation: import("@reduxjs/toolkit").Reducer<import("../../features/recommendation/recommendation-state.js").RecommendationState> & {
|
|
19
19
|
getInitialState: () => import("../../features/recommendation/recommendation-state.js").RecommendationState;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -9,16 +9,16 @@ import { getSampleSearchEngineConfiguration, type SearchConfigurationOptions, ty
|
|
|
9
9
|
export type { SearchEngineConfiguration, SearchConfigurationOptions };
|
|
10
10
|
export { getSampleSearchEngineConfiguration };
|
|
11
11
|
declare const searchEngineReducers: {
|
|
12
|
-
debug: import("
|
|
12
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
13
13
|
getInitialState: () => boolean;
|
|
14
14
|
};
|
|
15
|
-
pipeline: import("
|
|
15
|
+
pipeline: import("@reduxjs/toolkit").Reducer<string> & {
|
|
16
16
|
getInitialState: () => string;
|
|
17
17
|
};
|
|
18
|
-
searchHub: import("
|
|
18
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
19
19
|
getInitialState: () => string;
|
|
20
20
|
};
|
|
21
|
-
search: import("
|
|
21
|
+
search: import("@reduxjs/toolkit").Reducer<import("../../features/search/search-state.js").SearchState> & {
|
|
22
22
|
getInitialState: () => import("../../features/search/search-state.js").SearchState;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -15,8 +15,8 @@ interface ConfigureStoreOptions<Reducers extends ReducersMapObject> {
|
|
|
15
15
|
thunkExtraArguments: CoreExtraArguments;
|
|
16
16
|
name: string;
|
|
17
17
|
}
|
|
18
|
-
export declare function configureStore<Reducers extends ReducersMapObject>({ reducer, preloadedState, middlewares, thunkExtraArguments, name, }: ConfigureStoreOptions<Reducers>): import("@reduxjs/toolkit").EnhancedStore<any, import("
|
|
18
|
+
export declare function configureStore<Reducers extends ReducersMapObject>({ reducer, preloadedState, middlewares, thunkExtraArguments, name, }: ConfigureStoreOptions<Reducers>): import("@reduxjs/toolkit").EnhancedStore<any, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
|
|
19
19
|
dispatch: {};
|
|
20
|
-
}>, import("
|
|
20
|
+
}>, import("@reduxjs/toolkit").StoreEnhancer]>>;
|
|
21
21
|
export type Store = ReturnType<typeof configureStore>;
|
|
22
22
|
export {};
|
|
@@ -100,6 +100,6 @@ export declare function buildCoreCommerceFacet<ValueRequest extends AnyFacetValu
|
|
|
100
100
|
showMoreValues(): void;
|
|
101
101
|
showLessValues(): void;
|
|
102
102
|
state: CoreCommerceFacetState<ValueResponse>;
|
|
103
|
-
subscribe(listener: () => void): import("
|
|
103
|
+
subscribe(listener: () => void): import("@reduxjs/toolkit").Unsubscribe;
|
|
104
104
|
};
|
|
105
105
|
export declare const getCoreFacetState: <T extends AnyFacetValueResponse>(facetId: string, request: AnyFacetRequest | undefined, response: AnyFacetResponse | undefined, isLoading: boolean) => CoreCommerceFacetState<T>;
|
|
@@ -31,5 +31,5 @@ export declare function buildCoreRangeFacet<T extends RangeFacetRequest, R exten
|
|
|
31
31
|
start: number;
|
|
32
32
|
} | undefined;
|
|
33
33
|
};
|
|
34
|
-
subscribe(listener: () => void): import("
|
|
34
|
+
subscribe(listener: () => void): import("@reduxjs/toolkit").Unsubscribe;
|
|
35
35
|
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { CoreEngine } from '../../../app/engine.js';
|
|
2
|
+
import { type Controller } from '../../controller/headless-controller.js';
|
|
3
|
+
export interface RecentQueriesListProps {
|
|
4
|
+
/**
|
|
5
|
+
* The initial state that should be applied to the `RecentQueriesList` controller.
|
|
6
|
+
*/
|
|
7
|
+
initialState?: RecentQueriesListInitialState;
|
|
8
|
+
/**
|
|
9
|
+
* The configuration options that should be applied to the `RecentQueriesList` controller.
|
|
10
|
+
*/
|
|
11
|
+
options?: RecentQueriesListOptions;
|
|
12
|
+
}
|
|
13
|
+
export interface RecentQueriesListInitialState {
|
|
14
|
+
/**
|
|
15
|
+
* The list of recent queries.
|
|
16
|
+
* @defaultValue `[]`
|
|
17
|
+
*/
|
|
18
|
+
queries: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface RecentQueriesListOptions {
|
|
21
|
+
/**
|
|
22
|
+
* The maximum number of queries to retain in the list.
|
|
23
|
+
* @defaultValue `10`
|
|
24
|
+
*/
|
|
25
|
+
maxLength: number;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to clear all active query filters when the end user submits a new query from the recent queries list.
|
|
28
|
+
* Setting this option to "false" is not recommended & can lead to an increasing number of queries returning no results.
|
|
29
|
+
*/
|
|
30
|
+
clearFilters?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The `RecentQueriesList` controller manages the user's recent queries.
|
|
34
|
+
*
|
|
35
|
+
* Example: [recent-queries.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/recent-queries/recent-queries.fn.tsx)
|
|
36
|
+
*
|
|
37
|
+
* @group Controllers
|
|
38
|
+
* @category RecentQueriesList
|
|
39
|
+
*/
|
|
40
|
+
export interface RecentQueriesList extends Controller {
|
|
41
|
+
/**
|
|
42
|
+
* The state of the RecentQueriesList controller.
|
|
43
|
+
* */
|
|
44
|
+
state: RecentQueriesState;
|
|
45
|
+
/**
|
|
46
|
+
* Clears the recent queries list.
|
|
47
|
+
*/
|
|
48
|
+
clear(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Executes the given recent query.
|
|
51
|
+
* @param index - The index of the recent query to execute.
|
|
52
|
+
*/
|
|
53
|
+
executeRecentQuery(index: number): void;
|
|
54
|
+
/**
|
|
55
|
+
* Sets the recent queries list to the specified array of queries.
|
|
56
|
+
* @param queries - The array of queries to set.
|
|
57
|
+
*/
|
|
58
|
+
updateRecentQueries(queries: string[]): void;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A scoped and simplified part of the headless state that is relevant to the `RecentQueriesList` controller.
|
|
62
|
+
*
|
|
63
|
+
* @group Controllers
|
|
64
|
+
* @category RecentQueriesList
|
|
65
|
+
* */
|
|
66
|
+
export interface RecentQueriesState {
|
|
67
|
+
/**
|
|
68
|
+
* The list of recent queries.
|
|
69
|
+
*/
|
|
70
|
+
queries: string[];
|
|
71
|
+
/**
|
|
72
|
+
* The maximum number of queries to retain in the list.
|
|
73
|
+
*/
|
|
74
|
+
maxLength: number;
|
|
75
|
+
/**
|
|
76
|
+
* Whether analytics & tracking are enabled.
|
|
77
|
+
* When analyticsEnabled is `false`, it is recommended not to save recent queries.
|
|
78
|
+
*/
|
|
79
|
+
analyticsEnabled: boolean;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Creates a `RecentQueriesList` controller instance.
|
|
83
|
+
*
|
|
84
|
+
* @param engine - The headless engine.
|
|
85
|
+
* @param props - The configuration `RecentQueriesList` properties.
|
|
86
|
+
* @returns A `RecentQueriesList` controller instance.
|
|
87
|
+
*
|
|
88
|
+
* @group Controllers
|
|
89
|
+
* @category RecentQueriesList
|
|
90
|
+
* */
|
|
91
|
+
export declare function buildCoreRecentQueriesList(engine: CoreEngine, props?: RecentQueriesListProps): RecentQueriesList;
|
|
@@ -23,6 +23,7 @@ export interface AttachToCaseOptions {
|
|
|
23
23
|
*
|
|
24
24
|
* @group Controllers
|
|
25
25
|
* @category AttachToCase
|
|
26
|
+
* @deprecated Use `buildAttachedResults` instead. // TODO: SFINT-6395 - This controller will be removed in ui-kit v4.
|
|
26
27
|
*/
|
|
27
28
|
export interface AttachToCase extends Controller {
|
|
28
29
|
/**
|
|
@@ -50,5 +51,6 @@ export interface AttachToCase extends Controller {
|
|
|
50
51
|
*
|
|
51
52
|
* @group Controllers
|
|
52
53
|
* @category AttachToCase
|
|
54
|
+
* @deprecated Use `buildAttachedResults` instead. // TODO: SFINT-6395 - This controller will be removed in ui-kit v4.
|
|
53
55
|
*/
|
|
54
56
|
export declare function buildAttachToCase(engine: InsightEngine, props: AttachToCaseProps): AttachToCase;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { Result } from '../../../api/search/search/result.js';
|
|
2
|
+
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
3
|
+
import type { AttachedResult } from '../../../features/attached-results/attached-results-state.js';
|
|
4
|
+
import { type Controller } from '../../controller/headless-controller.js';
|
|
5
|
+
export interface AttachedResultsProps {
|
|
6
|
+
/**
|
|
7
|
+
* The options for the `AttachedResults` controller.
|
|
8
|
+
*/
|
|
9
|
+
options: AttachedResultsOptions;
|
|
10
|
+
}
|
|
11
|
+
export interface AttachedResultsOptions {
|
|
12
|
+
/**
|
|
13
|
+
* The Id of the case to attach to.
|
|
14
|
+
*/
|
|
15
|
+
caseId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AttachedResultsState {
|
|
18
|
+
/**
|
|
19
|
+
* The list of attached results for the specified case.
|
|
20
|
+
*/
|
|
21
|
+
results: AttachedResult[];
|
|
22
|
+
/**
|
|
23
|
+
* Whether the attached results are currently being loaded.
|
|
24
|
+
*/
|
|
25
|
+
loading: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The AttachedResults controller manages all attached results for a given case.
|
|
29
|
+
* It provides a unified API to attach/detach results, check attachment status,
|
|
30
|
+
* and access all attached results for the case.
|
|
31
|
+
*
|
|
32
|
+
* @group Controllers
|
|
33
|
+
* @category AttachedResults
|
|
34
|
+
*/
|
|
35
|
+
export interface AttachedResults extends Controller {
|
|
36
|
+
/**
|
|
37
|
+
* Check if a specific result is attached to this case.
|
|
38
|
+
* @param result - The result to check if attached, with SearchAPI fields such as permanentId or uriHash.
|
|
39
|
+
* @returns A boolean indicating if the result is attached.
|
|
40
|
+
*/
|
|
41
|
+
isAttached(result: Result): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Attach a new result by adding it to the attachedResults state.
|
|
44
|
+
* @param result - A result to add to the list of currently attached results.
|
|
45
|
+
*/
|
|
46
|
+
attach(result: Result): void;
|
|
47
|
+
/**
|
|
48
|
+
* Detach a result by removing it from the attachedResults state.
|
|
49
|
+
* @param result - A result to remove from the list of currently attached results.
|
|
50
|
+
*/
|
|
51
|
+
detach(result: Result): void;
|
|
52
|
+
/**
|
|
53
|
+
* The state of the `AttachedResults` controller.
|
|
54
|
+
* Returns all attached results for this case.
|
|
55
|
+
*/
|
|
56
|
+
state: AttachedResultsState;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Creates an AttachedResults controller instance.
|
|
60
|
+
*
|
|
61
|
+
* @param engine - The headless engine.
|
|
62
|
+
* @param props - The configurable `AttachedResults` properties.
|
|
63
|
+
* @returns A `AttachedResults` controller instance.
|
|
64
|
+
*
|
|
65
|
+
* @group Controllers
|
|
66
|
+
* @category AttachedResults
|
|
67
|
+
*/
|
|
68
|
+
export declare function buildAttachedResults(engine: InsightEngine, props: AttachedResultsProps): AttachedResults;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
|
+
import { type RecentQueriesList, type RecentQueriesListInitialState, type RecentQueriesListOptions, type RecentQueriesListProps, type RecentQueriesState } from '../../core/recent-queries-list/headless-core-recent-queries-list.js';
|
|
3
|
+
export type { RecentQueriesListProps, RecentQueriesListOptions, RecentQueriesList, RecentQueriesState, RecentQueriesListInitialState, };
|
|
4
|
+
/**
|
|
5
|
+
* Creates a `RecentQueriesList` controller instance.
|
|
6
|
+
*
|
|
7
|
+
* @param engine - The headless engine.
|
|
8
|
+
* @param props - The configuration `RecentQueriesList` properties.
|
|
9
|
+
* @returns A `RecentQueriesList` controller instance.
|
|
10
|
+
*
|
|
11
|
+
* @group Controllers
|
|
12
|
+
* @category RecentQueriesList
|
|
13
|
+
* */
|
|
14
|
+
export declare function buildRecentQueriesList(engine: InsightEngine, props?: RecentQueriesListProps): RecentQueriesList;
|
|
@@ -1,83 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
|
-
import { type
|
|
3
|
-
export
|
|
4
|
-
/**
|
|
5
|
-
* The initial state that should be applied to the `RecentQueriesList` controller.
|
|
6
|
-
*/
|
|
7
|
-
initialState?: RecentQueriesListInitialState;
|
|
8
|
-
/**
|
|
9
|
-
* The configuration options that should be applied to the `RecentQueriesList` controller.
|
|
10
|
-
*/
|
|
11
|
-
options?: RecentQueriesListOptions;
|
|
12
|
-
}
|
|
13
|
-
export interface RecentQueriesListInitialState {
|
|
14
|
-
/**
|
|
15
|
-
* The list of recent queries.
|
|
16
|
-
* @defaultValue `[]`
|
|
17
|
-
*/
|
|
18
|
-
queries: string[];
|
|
19
|
-
}
|
|
20
|
-
export interface RecentQueriesListOptions {
|
|
21
|
-
/**
|
|
22
|
-
* The maximum number of queries to retain in the list.
|
|
23
|
-
* @defaultValue `10`
|
|
24
|
-
*/
|
|
25
|
-
maxLength: number;
|
|
26
|
-
/**
|
|
27
|
-
* Whether to clear all active query filters when the end user submits a new query from the recent queries list.
|
|
28
|
-
* Setting this option to "false" is not recommended & can lead to an increasing number of queries returning no results.
|
|
29
|
-
*/
|
|
30
|
-
clearFilters?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* The `RecentQueriesList` controller manages the user's recent queries.
|
|
34
|
-
*
|
|
35
|
-
* Example: [recent-queries.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/recent-queries/recent-queries.fn.tsx)
|
|
36
|
-
*
|
|
37
|
-
* @group Controllers
|
|
38
|
-
* @category RecentQueriesList
|
|
39
|
-
*/
|
|
40
|
-
export interface RecentQueriesList extends Controller {
|
|
41
|
-
/**
|
|
42
|
-
* The state of the RecentQueriesList controller.
|
|
43
|
-
* */
|
|
44
|
-
state: RecentQueriesState;
|
|
45
|
-
/**
|
|
46
|
-
* Clears the recent queries list.
|
|
47
|
-
*/
|
|
48
|
-
clear(): void;
|
|
49
|
-
/**
|
|
50
|
-
* Executes the given recent query.
|
|
51
|
-
* @param index - The index of the recent query to execute.
|
|
52
|
-
*/
|
|
53
|
-
executeRecentQuery(index: number): void;
|
|
54
|
-
/**
|
|
55
|
-
* Sets the recent queries list to the specified array of queries.
|
|
56
|
-
* @param queries - The array of queries to set.
|
|
57
|
-
*/
|
|
58
|
-
updateRecentQueries(queries: string[]): void;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* A scoped and simplified part of the headless state that is relevant to the `RecentQueriesList` controller.
|
|
62
|
-
*
|
|
63
|
-
* @group Controllers
|
|
64
|
-
* @category RecentQueriesList
|
|
65
|
-
* */
|
|
66
|
-
export interface RecentQueriesState {
|
|
67
|
-
/**
|
|
68
|
-
* The list of recent queries.
|
|
69
|
-
*/
|
|
70
|
-
queries: string[];
|
|
71
|
-
/**
|
|
72
|
-
* The maximum number of queries to retain in the list.
|
|
73
|
-
*/
|
|
74
|
-
maxLength: number;
|
|
75
|
-
/**
|
|
76
|
-
* Whether analytics & tracking are enabled.
|
|
77
|
-
* In the case where it is disabled, it is recommended not to save recent queries.
|
|
78
|
-
*/
|
|
79
|
-
analyticsEnabled: boolean;
|
|
80
|
-
}
|
|
2
|
+
import { type RecentQueriesList, type RecentQueriesListInitialState, type RecentQueriesListOptions, type RecentQueriesListProps, type RecentQueriesState } from '../core/recent-queries-list/headless-core-recent-queries-list.js';
|
|
3
|
+
export type { RecentQueriesListProps, RecentQueriesListOptions, RecentQueriesList, RecentQueriesState, RecentQueriesListInitialState, };
|
|
81
4
|
/**
|
|
82
5
|
* Creates a `RecentQueriesList` controller instance.
|
|
83
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const addPageViewEntryInActionsHistory: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
2
2
|
state?: unknown;
|
|
3
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
3
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction>;
|
|
4
4
|
extra?: unknown;
|
|
5
5
|
rejectValue?: unknown;
|
|
6
6
|
serializedErrorType?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const advancedSearchQueriesReducer: import("
|
|
1
|
+
export declare const advancedSearchQueriesReducer: import("@reduxjs/toolkit").Reducer<import("./advanced-search-queries-state.js").AdvancedSearchQueriesState> & {
|
|
2
2
|
getInitialState: () => import("./advanced-search-queries-state.js").AdvancedSearchQueriesState;
|
|
3
3
|
};
|
|
@@ -238,5 +238,13 @@ export declare enum SearchPageEvents {
|
|
|
238
238
|
/**
|
|
239
239
|
* Identifies the custom event that gets logged when the user clicks the create article button.
|
|
240
240
|
*/
|
|
241
|
-
createArticle = "createArticle"
|
|
241
|
+
createArticle = "createArticle",
|
|
242
|
+
/**
|
|
243
|
+
* Identifies the search event that gets logged when the user selects a recent query.
|
|
244
|
+
*/
|
|
245
|
+
recentQueriesClick = "recentQueriesClick",
|
|
246
|
+
/**
|
|
247
|
+
* Identifies the custom event that gets logged when the user clears the recent queries.
|
|
248
|
+
*/
|
|
249
|
+
clearRecentQueries = "clearRecentQueries"
|
|
242
250
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const attachedResultsReducer: import("
|
|
1
|
+
export declare const attachedResultsReducer: import("@reduxjs/toolkit").Reducer<import("./attached-results-state.js").AttachedResultsState> & {
|
|
2
2
|
getInitialState: () => import("./attached-results-state.js").AttachedResultsState;
|
|
3
3
|
};
|
|
@@ -47,6 +47,7 @@ export interface AttachedResultsState {
|
|
|
47
47
|
results: AttachedResult[];
|
|
48
48
|
/**
|
|
49
49
|
* A loading state, used to sync loading the attached results between multiple components.
|
|
50
|
+
* // TODO: SFINT-6404 - Remove the loading property in UI-KIT V4 as its not used.
|
|
50
51
|
*/
|
|
51
52
|
loading: boolean;
|
|
52
53
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseAssistConfigurationReducer: import("
|
|
1
|
+
export declare const caseAssistConfigurationReducer: import("@reduxjs/toolkit").Reducer<import("./case-assist-configuration-state.js").CaseAssistConfigurationState> & {
|
|
2
2
|
getInitialState: () => import("./case-assist-configuration-state.js").CaseAssistConfigurationState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseContextReducer: import("
|
|
1
|
+
export declare const caseContextReducer: import("@reduxjs/toolkit").Reducer<import("./case-context-state.js").CaseContextState> & {
|
|
2
2
|
getInitialState: () => import("./case-context-state.js").CaseContextState;
|
|
3
3
|
};
|
|
@@ -21,7 +21,7 @@ export declare const fetchCaseClassifications: import("@reduxjs/toolkit").AsyncT
|
|
|
21
21
|
rejectValue: import("../../api/service/case-assist/case-assist-api-client.js").CaseAssistAPIErrorStatusResponse;
|
|
22
22
|
state: StateNeededByFetchClassifications;
|
|
23
23
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/case-assist/case-assist-api-client.js").CaseAssistAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseFieldReducer: import("
|
|
1
|
+
export declare const caseFieldReducer: import("@reduxjs/toolkit").Reducer<import("./case-field-state.js").CaseFieldState> & {
|
|
2
2
|
getInitialState: () => import("./case-field-state.js").CaseFieldState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseInputReducer: import("
|
|
1
|
+
export declare const caseInputReducer: import("@reduxjs/toolkit").Reducer<import("./case-input-state.js").CaseInputState> & {
|
|
2
2
|
getInitialState: () => import("./case-input-state.js").CaseInputState;
|
|
3
3
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ConfigurationState } from './configuration-state.js';
|
|
2
|
-
export declare const configurationReducer: import("
|
|
2
|
+
export declare const configurationReducer: import("@reduxjs/toolkit").Reducer<ConfigurationState> & {
|
|
3
3
|
getInitialState: () => ConfigurationState;
|
|
4
4
|
};
|
|
@@ -11,7 +11,7 @@ export declare const emitPurchaseEvent: import("@reduxjs/toolkit").AsyncThunk<vo
|
|
|
11
11
|
state: CommerceEngineState;
|
|
12
12
|
rejectValue: import("../../../../api/commerce/commerce-api-error-response.js").CommerceAPIErrorStatusResponse;
|
|
13
13
|
extra: import("../../../../app/commerce-thunk-extra-arguments.js").CommerceThunkExtraArguments;
|
|
14
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
14
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
15
15
|
serializedErrorType?: unknown;
|
|
16
16
|
pendingMeta?: unknown;
|
|
17
17
|
fulfilledMeta?: unknown;
|
|
@@ -22,7 +22,7 @@ export declare const emitCartActionEvent: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
22
22
|
state: CommerceEngineState;
|
|
23
23
|
rejectValue: import("../../../../api/commerce/commerce-api-error-response.js").CommerceAPIErrorStatusResponse;
|
|
24
24
|
extra: import("../../../../app/commerce-thunk-extra-arguments.js").CommerceThunkExtraArguments;
|
|
25
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
25
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
26
26
|
serializedErrorType?: unknown;
|
|
27
27
|
pendingMeta?: unknown;
|
|
28
28
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const contextReducer: import("
|
|
1
|
+
export declare const contextReducer: import("@reduxjs/toolkit").Reducer<import("./context-state.js").CommerceContextState> & {
|
|
2
2
|
getInitialState: () => import("./context-state.js").CommerceContextState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const didYouMeanReducer: import("
|
|
1
|
+
export declare const didYouMeanReducer: import("@reduxjs/toolkit").Reducer<import("./did-you-mean-state.js").DidYouMeanState> & {
|
|
2
2
|
getInitialState: () => import("./did-you-mean-state.js").DidYouMeanState;
|
|
3
3
|
};
|