@coveo/quantic 3.29.0-pre.aeda47bcba → 3.29.0-pre.bc5fc96bfc
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 +1 -1
- package/force-app/main/default/lwc/quanticFeedbackModal/quanticFeedbackModal.js +1 -1
- package/force-app/main/default/lwc/quanticFeedbackModalQna/quanticFeedbackModalQna.js +1 -1
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/case-assist-engine/case-assist-engine.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/breadcrumb-manager/headless-breadcrumb-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/case-field/headless-case-field.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/case-input/headless-case-input.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-listing/headless-product-listing.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/headless-search.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-context.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/did-you-mean/headless-core-did-you-mean.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facet-manager/headless-core-facet-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-facet.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/folded-result-list/headless-core-folded-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/pager/headless-core-pager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/query-error/headless-core-query-error.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/result-list/headless-core-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/results-per-page/headless-core-results-per-page.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/sort/headless-core-sort.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/status/headless-core-status.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/tab/headless-core-tab.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-notify-trigger.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-query-trigger.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-redirection-trigger.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/dictionary-field-context/headless-dictionary-field-context.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/document-suggestion-list/case-assist-headless-interactive-result.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/document-suggestion-list/headless-document-suggestion-list.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet-generator/headless-automatic-facet-generator.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/category-facet/headless-category-field-suggestions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/facet/headless-field-suggestions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/history-manager/headless-history-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/instant-results/instant-results.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/query-summary/headless-query-summary.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/case-assist-headless-quickview.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/headless-quickview.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-results-list/headless-recent-results-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/headless-recommendation.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/relevance-inspector/headless-relevance-inspector.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/standalone-search-box/headless-standalone-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/static-filter/headless-static-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-execute-trigger.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/url-manager/headless-url-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +2 -2
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +2 -2
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +2 -2
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ export interface PagerProps {
|
|
|
27
27
|
/**
|
|
28
28
|
* The `Pager` controller allows to navigate through the different result pages.
|
|
29
29
|
*
|
|
30
|
-
* [pager.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
30
|
+
* [pager.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/pager/pager.fn.tsx)
|
|
31
31
|
*
|
|
32
32
|
* @group Controllers
|
|
33
33
|
* @category Pager
|
|
@@ -4,7 +4,7 @@ import { type Controller } from '../../controller/headless-controller.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* The `QueryError` controller allows to retrieve information about the current error returned by the search API, if any.
|
|
6
6
|
*
|
|
7
|
-
* Example: [query-error.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
7
|
+
* Example: [query-error.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/query-error/query-error.fn.tsx)
|
|
8
8
|
*
|
|
9
9
|
* @group Controllers
|
|
10
10
|
* @category QueryError
|
|
@@ -24,7 +24,7 @@ export interface ResultListProps {
|
|
|
24
24
|
/**
|
|
25
25
|
* The `ResultList` headless controller offers a high-level interface for designing a common result list UI controller.
|
|
26
26
|
*
|
|
27
|
-
* Example: [result-list.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
27
|
+
* Example: [result-list.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/result-list/result-list.fn.tsx)
|
|
28
28
|
*
|
|
29
29
|
* @group Controllers
|
|
30
30
|
* @category ResultList
|
|
@@ -15,7 +15,7 @@ export interface ResultsPerPageInitialState {
|
|
|
15
15
|
/**
|
|
16
16
|
* The `ResultsPerPage` controller allows the end user to choose how many results to display per page.
|
|
17
17
|
*
|
|
18
|
-
* Example: [results-per-page.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
18
|
+
* Example: [results-per-page.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/results-per-page/results-per-page.fn.tsx)
|
|
19
19
|
*
|
|
20
20
|
* @group Controllers
|
|
21
21
|
* @category ResultsPerPage
|
|
@@ -16,7 +16,7 @@ export interface SortInitialState {
|
|
|
16
16
|
/**
|
|
17
17
|
* The `Sort` controller manages how the results are sorted.
|
|
18
18
|
*
|
|
19
|
-
* Example: [sort.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
19
|
+
* Example: [sort.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/sort/sort.fn.tsx)
|
|
20
20
|
*
|
|
21
21
|
* @group Controllers
|
|
22
22
|
* @category Sort
|
|
@@ -3,7 +3,7 @@ import { type Controller } from '../../controller/headless-controller.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* The `SearchStatus` controller lets you access search status information.
|
|
5
5
|
*
|
|
6
|
-
* Example: [search-status.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
6
|
+
* Example: [search-status.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/search-status/search-status.fn.tsx)
|
|
7
7
|
*
|
|
8
8
|
* @group Controllers
|
|
9
9
|
* @category SearchStatus
|
|
@@ -38,7 +38,7 @@ export interface TabProps {
|
|
|
38
38
|
/**
|
|
39
39
|
* The `Tab` headless controller offers a high-level interface for designing a common tab UI controller.
|
|
40
40
|
*
|
|
41
|
-
* Example: [tab.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
41
|
+
* Example: [tab.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/tab/tab.fn.tsx)
|
|
42
42
|
*
|
|
43
43
|
* @group Controllers
|
|
44
44
|
* @category Tab
|
|
@@ -4,7 +4,7 @@ import { type Controller } from '../../controller/headless-controller.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* The `NotifyTrigger` controller handles notify triggers. A [Notify trigger](https://docs.coveo.com/en/3413#notify) query pipeline rule lets you define a message to be displayed to the end user when a certain condition is met.
|
|
6
6
|
*
|
|
7
|
-
* Example: [notify-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
7
|
+
* Example: [notify-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/triggers/notify-trigger.fn.tsx)
|
|
8
8
|
*
|
|
9
9
|
* @group Controllers
|
|
10
10
|
* @category NotifyTrigger
|
|
@@ -2,7 +2,7 @@ import type { Controller } from '../../controller/headless-controller.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* The `QueryTrigger` controller handles [query trigger](https://docs.coveo.com/en/3413#query) query pipeline rules, which let you define a search query to execute when a certain condition is met.
|
|
4
4
|
*
|
|
5
|
-
* Example: [query-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
5
|
+
* Example: [query-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/triggers/query-trigger.fn.tsx)
|
|
6
6
|
*
|
|
7
7
|
* @group Controllers
|
|
8
8
|
* @category QueryTrigger
|
|
@@ -2,7 +2,7 @@ import type { Controller } from '../../controller/headless-controller.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* The `RedirectionTrigger` controller handles redirection triggers. A [Redirection trigger](https://docs.coveo.com/en/3413#redirect) query pipeline rule lets you define a URL to redirect the user's browser to when a certain condition is met.
|
|
4
4
|
*
|
|
5
|
-
* Example: [redirection-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
5
|
+
* Example: [redirection-trigger.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/triggers/redirection-trigger.fn.tsx)
|
|
6
6
|
*
|
|
7
7
|
* @group Controllers
|
|
8
8
|
* @category RedirectionTrigger
|
|
@@ -5,7 +5,7 @@ export type { DictionaryFieldContextPayload };
|
|
|
5
5
|
/**
|
|
6
6
|
* The `DictionaryFieldContext` controller allows specifying which [dictionary field](https://docs.coveo.com/en/2036/) keys to retrieve.
|
|
7
7
|
*
|
|
8
|
-
* Example: [dictionary-field-context.fn.ts](https://github.com/coveo/ui-kit/blob/
|
|
8
|
+
* Example: [dictionary-field-context.fn.ts](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/dictionary-field-context/dictionary-field-context.fn.ts)
|
|
9
9
|
*
|
|
10
10
|
* @group Controllers
|
|
11
11
|
* @category DictionaryFieldContext
|
|
@@ -18,8 +18,8 @@ export interface CaseAssistInteractiveResultProps extends InteractiveResultCoreP
|
|
|
18
18
|
* The `CaseAssistInteractiveResult` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user selects a query result.
|
|
19
19
|
*
|
|
20
20
|
* For example implementations, see the following [Coveo Quantic Case Assist components](https://docs.coveo.com/en/quantic/latest/reference/case-assist-components/):
|
|
21
|
-
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/
|
|
22
|
-
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/
|
|
21
|
+
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.js)
|
|
22
|
+
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.js)
|
|
23
23
|
*
|
|
24
24
|
* @group Controllers
|
|
25
25
|
* @category CaseAssistInteractiveResult
|
|
@@ -6,8 +6,8 @@ import { type Controller } from '../controller/headless-controller.js';
|
|
|
6
6
|
* The `DocumentSuggestion` controller is responsible for getting document suggestions using case information present in the state.
|
|
7
7
|
*
|
|
8
8
|
* For example implementations, see the following [Coveo Quantic Case Assist components](https://docs.coveo.com/en/quantic/latest/reference/case-assist-components/):
|
|
9
|
-
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/
|
|
10
|
-
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/
|
|
9
|
+
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.js)
|
|
10
|
+
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.js)
|
|
11
11
|
*
|
|
12
12
|
* @group Controllers
|
|
13
13
|
* @category DocumentSuggestionList
|
|
@@ -12,8 +12,8 @@ export type { AutomaticFacetGeneratorOptions };
|
|
|
12
12
|
* To learn more about the automatic facet generator feature, see: [About the Facet Generator](https://docs.coveo.com/en/n9sd0159/).
|
|
13
13
|
*
|
|
14
14
|
* Examples:
|
|
15
|
-
* - [automatic-facet-generator.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
16
|
-
* - [automatic-facet-generator.class.tsx](https://github.com/coveo/ui-kit/blob/
|
|
15
|
+
* - [automatic-facet-generator.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/automatic-facet-generator/automatic-facet-generator.fn.tsx)
|
|
16
|
+
* - [automatic-facet-generator.class.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/automatic-facet-generator/automatic-facet-generator.class.tsx)
|
|
17
17
|
*
|
|
18
18
|
* @group Controllers
|
|
19
19
|
* @category AutomaticFacetGenerator
|
|
@@ -54,7 +54,7 @@ export interface CategoryFieldSuggestionsState {
|
|
|
54
54
|
*
|
|
55
55
|
* This controller is a wrapper around the basic category facet controller search functionality, and thus exposes similar options and properties.
|
|
56
56
|
*
|
|
57
|
-
* Example: [category-suggestions.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
57
|
+
* Example: [category-suggestions.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/field-suggestions/category-field/category-suggestions.fn.tsx)
|
|
58
58
|
*
|
|
59
59
|
* @group Controllers
|
|
60
60
|
* @category CategoryFieldSuggestions
|
|
@@ -47,7 +47,7 @@ export interface FieldSuggestionsState {
|
|
|
47
47
|
*
|
|
48
48
|
* This controller is a wrapper around the basic facet controller search functionality, and thus exposes similar options and properties.
|
|
49
49
|
*
|
|
50
|
-
* Example: [field-suggestions.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
50
|
+
* Example: [field-suggestions.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/field-suggestions/specific-field/field-suggestions.fn.tsx)
|
|
51
51
|
*
|
|
52
52
|
* @group Controllers
|
|
53
53
|
* @category FieldSuggestions
|
|
@@ -5,7 +5,7 @@ import { type Controller } from '../controller/headless-controller.js';
|
|
|
5
5
|
/**
|
|
6
6
|
* The `HistoryManager` controller is in charge of allowing navigating back and forward in the search interface history.
|
|
7
7
|
*
|
|
8
|
-
* Example: [history-manager.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
8
|
+
* Example: [history-manager.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/history-manager/history-manager.fn.tsx)
|
|
9
9
|
*
|
|
10
10
|
* @group Controllers
|
|
11
11
|
* @category HistoryManager
|
|
@@ -11,7 +11,7 @@ export interface InstantResultProps {
|
|
|
11
11
|
/**
|
|
12
12
|
* The `InstantResults` controller allows the end user to manage instant results queries.
|
|
13
13
|
*
|
|
14
|
-
* Example: [instant-results.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
14
|
+
* Example: [instant-results.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/instant-results/instant-results.fn.tsx)
|
|
15
15
|
*
|
|
16
16
|
* @group Controllers
|
|
17
17
|
* @category InstantResults
|
|
@@ -7,7 +7,7 @@ export type { QuerySummary, QuerySummaryState };
|
|
|
7
7
|
* @param engine - The headless engine instance.
|
|
8
8
|
* @returns A `QuerySummary` controller instance.
|
|
9
9
|
*
|
|
10
|
-
* Example: [query-summary.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
10
|
+
* Example: [query-summary.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/query-summary/query-summary.fn.tsx)
|
|
11
11
|
*
|
|
12
12
|
* @group Controllers
|
|
13
13
|
* @category QuerySummary
|
|
@@ -8,8 +8,8 @@ export interface CaseAssistQuickviewOptions extends QuickviewOptions {
|
|
|
8
8
|
* The `CaseAssistQuickview` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user interacts with a quickview.
|
|
9
9
|
*
|
|
10
10
|
* For example implementations, see the following [Coveo Quantic Case Assist components](https://docs.coveo.com/en/quantic/latest/reference/case-assist-components/):
|
|
11
|
-
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/
|
|
12
|
-
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/
|
|
11
|
+
* * [quanticCaseClassification.js](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.js)
|
|
12
|
+
* * [quanticDocumentSuggestion](https://github.com/coveo/ui-kit/blob/main/packages/quantic/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.js)
|
|
13
13
|
*
|
|
14
14
|
* @group Controllers
|
|
15
15
|
* @category CaseAssistQuickview
|
|
@@ -24,7 +24,7 @@ export interface QuickviewState extends CoreQuickviewState {
|
|
|
24
24
|
/**
|
|
25
25
|
* The `Quickview` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user interacts with a quickview.
|
|
26
26
|
*
|
|
27
|
-
* Example: [quickview.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
27
|
+
* Example: [quickview.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/quickview/quickview.fn.tsx)
|
|
28
28
|
*
|
|
29
29
|
* @group Controllers
|
|
30
30
|
* @category Quickview
|
|
@@ -32,7 +32,7 @@ export interface RecentQueriesListOptions {
|
|
|
32
32
|
/**
|
|
33
33
|
* The `RecentQueriesList` controller manages the user's recent queries.
|
|
34
34
|
*
|
|
35
|
-
* Example: [recent-queries.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
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
36
|
*
|
|
37
37
|
* @group Controllers
|
|
38
38
|
* @category RecentQueriesList
|
|
@@ -28,7 +28,7 @@ export interface RecentResultsListOptions {
|
|
|
28
28
|
/**
|
|
29
29
|
* The `RecentResultsList` controller manages a user's recently clicked results.
|
|
30
30
|
*
|
|
31
|
-
* Example: [recent-results.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
31
|
+
* Example: [recent-results.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/recent-results/recent-results.fn.tsx)
|
|
32
32
|
*
|
|
33
33
|
* @group Controllers
|
|
34
34
|
* @category RecentResultsList
|
|
@@ -20,7 +20,7 @@ export interface RecommendationListProps {
|
|
|
20
20
|
/**
|
|
21
21
|
* The `RecommendationList` controller retrieves information about the current recommendations by the search API, if there are any.
|
|
22
22
|
*
|
|
23
|
-
* Example: [recommendation-list.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
23
|
+
* Example: [recommendation-list.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/recommendation-list/recommendation-list.fn.tsx)
|
|
24
24
|
*
|
|
25
25
|
* @group Controllers
|
|
26
26
|
* @category RecommendationList
|
|
@@ -22,7 +22,7 @@ export interface RelevanceInspectorInitialState {
|
|
|
22
22
|
/**
|
|
23
23
|
* The `RelevanceInspector` controller is in charge of allowing displaying various debug information.
|
|
24
24
|
*
|
|
25
|
-
* Example: [relevance-inspector.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
25
|
+
* Example: [relevance-inspector.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/relevance-inspector/relevance-inspector.fn.tsx)
|
|
26
26
|
*
|
|
27
27
|
* @group Controllers
|
|
28
28
|
* @category RelevanceInspector
|
|
@@ -16,7 +16,7 @@ export interface InteractiveResultProps extends InteractiveResultCoreProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* The `InteractiveResult` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user selects a query result.
|
|
18
18
|
*
|
|
19
|
-
* Example: [result-link.tsx](https://github.com/coveo/ui-kit/blob/
|
|
19
|
+
* Example: [result-link.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/result-list/result-link.tsx)
|
|
20
20
|
*
|
|
21
21
|
* @group Controllers
|
|
22
22
|
* @category InteractiveResult
|
|
@@ -13,7 +13,7 @@ export interface SmartSnippetQuestionsListState extends CoreSmartSnippetQuestion
|
|
|
13
13
|
/**
|
|
14
14
|
* The `SmartSnippetQuestionsList` controller allows to manage additional queries for which a SmartSnippet model can provide relevant excerpts.
|
|
15
15
|
*
|
|
16
|
-
* Example: [smart-snippet-questions-list.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
16
|
+
* Example: [smart-snippet-questions-list.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/smart-snippet-questions-list/smart-snippet-questions-list.fn.tsx)
|
|
17
17
|
*
|
|
18
18
|
* @group Controllers
|
|
19
19
|
* @category SmartSnippetQuestionsList
|
|
@@ -10,7 +10,7 @@ export interface StandaloneSearchBoxProps {
|
|
|
10
10
|
* The `StandaloneSearchBox` headless controller offers a high-level interface for designing a common search box UI controller.
|
|
11
11
|
* Meant to be used for a search box that will redirect instead of executing a query.
|
|
12
12
|
*
|
|
13
|
-
* Example: [standalone-search-box.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
13
|
+
* Example: [standalone-search-box.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/standalone-search-box/standalone-search-box.fn.tsx)
|
|
14
14
|
*
|
|
15
15
|
* @group Controllers
|
|
16
16
|
* @category StandaloneSearchBox
|
|
@@ -23,7 +23,7 @@ export interface StaticFilterOptions {
|
|
|
23
23
|
/**
|
|
24
24
|
* The `StaticFilter` controller manages a collection of filter values.
|
|
25
25
|
*
|
|
26
|
-
* Example: [static-filter.fn.tsx](https://github.com/coveo/ui-kit/blob/
|
|
26
|
+
* Example: [static-filter.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/static-filter/static-filter.fn.tsx)
|
|
27
27
|
*
|
|
28
28
|
* @group Controllers
|
|
29
29
|
* @category StaticFilter
|
|
@@ -5,8 +5,8 @@ import { type Controller } from '../controller/headless-controller.js';
|
|
|
5
5
|
* The `ExecuteTrigger` controller handles Execute triggers from the query response. An [Execute trigger](https://docs.coveo.com/en/3413#execute) query pipeline rule lets you define a custom JavaScript function to be executed in the frontend when a certain condition is met.
|
|
6
6
|
*
|
|
7
7
|
* Examples:
|
|
8
|
-
* - [execute-trigger.tsx](https://github.com/coveo/ui-kit/blob/
|
|
9
|
-
* - [execute-trigger.class.tsx](https://github.com/coveo/ui-kit/blob/
|
|
8
|
+
* - [execute-trigger.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/triggers/execute-trigger.tsx)
|
|
9
|
+
* - [execute-trigger.class.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/triggers/execute-trigger.class.tsx)
|
|
10
10
|
*
|
|
11
11
|
* @group Controllers
|
|
12
12
|
* @category ExecuteTrigger
|
|
@@ -18,7 +18,7 @@ export declare const initialStateSchema: Schema<Required<UrlManagerInitialState>
|
|
|
18
18
|
/**
|
|
19
19
|
* The `UrlManager` controller can parse an url fragment to extract search parameters which affect the search response.
|
|
20
20
|
*
|
|
21
|
-
* Example: [url-manager.ts](https://github.com/coveo/ui-kit/blob/
|
|
21
|
+
* Example: [url-manager.ts](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/url-manager/url-manager.ts)
|
|
22
22
|
*
|
|
23
23
|
* @group Controllers
|
|
24
24
|
* @category UrlManager
|