@coveo/quantic 3.45.6 → 3.45.8
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/docs/out/quantic-docs.json +5 -5
- package/force-app/main/default/labels/CustomLabels.labels-meta.xml +12 -5
- package/force-app/main/default/lwc/quanticBreadcrumbManager/quanticBreadcrumbManager.html +4 -4
- package/force-app/main/default/lwc/quanticCarousel/quanticCarousel.html +2 -2
- package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.html +18 -18
- package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.js +3 -3
- package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.html +45 -45
- package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.js +9 -0
- package/force-app/main/default/lwc/quanticCategoryFacetValue/quanticCategoryFacetValue.html +11 -11
- package/force-app/main/default/lwc/quanticColoredResultBadge/quanticColoredResultBadge.html +5 -5
- package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.html +4 -4
- package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.js +4 -0
- package/force-app/main/default/lwc/quanticDidYouMean/templates/didYouMean.html +2 -2
- package/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.html +4 -4
- package/force-app/main/default/lwc/quanticFacet/quanticFacet.html +43 -43
- package/force-app/main/default/lwc/quanticFacet/quanticFacet.js +8 -0
- package/force-app/main/default/lwc/quanticFacetValue/quanticFacetValue.html +5 -5
- package/force-app/main/default/lwc/quanticFacetValue/quanticFacetValue.js +4 -0
- package/force-app/main/default/lwc/quanticFeedbackModal/feedbackForm.html +2 -2
- package/force-app/main/default/lwc/quanticFoldedResultList/quanticFoldedResultList.html +1 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswer/quanticGeneratedAnswer.js +3 -5
- package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/conversation.html +2 -2
- package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.html +8 -10
- package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.html +5 -5
- package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.js +4 -0
- package/force-app/main/default/lwc/quanticModal/quanticModal.html +2 -2
- package/force-app/main/default/lwc/quanticNoResults/quanticNoResults.html +4 -4
- package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.html +6 -6
- package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.js +4 -0
- package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.html +3 -3
- package/force-app/main/default/lwc/quanticQueryError/quanticQueryError.html +6 -6
- package/force-app/main/default/lwc/quanticQueryError/quanticQueryError.js +4 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/quanticQuickviewDefault.html +1 -1
- package/force-app/main/default/lwc/quanticQuickviewContent/quanticQuickviewYoutube.html +1 -1
- package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.html +4 -4
- package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.js +8 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.html +4 -4
- package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.js +8 -0
- package/force-app/main/default/lwc/quanticRefineModalContent/quanticRefineModalContent.js +4 -0
- package/force-app/main/default/lwc/quanticRefineModalContent/templates/disabledDynamicNavigation.html +9 -9
- package/force-app/main/default/lwc/quanticRefineModalContent/templates/dynamicNavigation.html +9 -9
- package/force-app/main/default/lwc/quanticRefineToggle/quanticRefineToggle.html +2 -2
- package/force-app/main/default/lwc/quanticResult/quanticResult.html +1 -1
- package/force-app/main/default/lwc/quanticResultAction/quanticResultAction.html +3 -3
- package/force-app/main/default/lwc/quanticResultChildren/quanticResultChildren.html +3 -3
- package/force-app/main/default/lwc/quanticResultDate/quanticResultDate.html +2 -2
- package/force-app/main/default/lwc/quanticResultDate/quanticResultDate.js +1 -1
- package/force-app/main/default/lwc/quanticResultField/quanticResultField.js +1 -1
- package/force-app/main/default/lwc/quanticResultHighlightedTextField/quanticResultHighlightedTextField.html +3 -3
- package/force-app/main/default/lwc/quanticResultLabel/quanticResultLabel.html +3 -3
- package/force-app/main/default/lwc/quanticResultLabel/quanticResultLabel.js +4 -0
- package/force-app/main/default/lwc/quanticResultList/quanticResultList.html +1 -1
- package/force-app/main/default/lwc/quanticResultMultiValueText/quanticResultMultiValueText.html +3 -3
- package/force-app/main/default/lwc/quanticResultMultiValueText/quanticResultMultiValueText.js +1 -1
- package/force-app/main/default/lwc/quanticResultNumber/quanticResultNumber.html +2 -2
- package/force-app/main/default/lwc/quanticResultNumber/quanticResultNumber.js +1 -1
- package/force-app/main/default/lwc/quanticResultPrintableUri/quanticResultPrintableUri.html +4 -4
- package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.html +5 -5
- package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.js +2 -2
- package/force-app/main/default/lwc/quanticResultTag/quanticResultTag.html +2 -2
- package/force-app/main/default/lwc/quanticResultText/quanticResultText.html +3 -3
- package/force-app/main/default/lwc/quanticResultText/quanticResultText.js +1 -1
- package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.html +1 -1
- package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.js +1 -1
- package/force-app/main/default/lwc/quanticSearchBoxInput/quanticSearchBoxInput.js +6 -2
- package/force-app/main/default/lwc/quanticSearchBoxInput/templates/defaultSearchBoxInput.html +4 -4
- package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.html +4 -4
- package/force-app/main/default/lwc/quanticSmartSnippet/quanticSmartSnippet.html +2 -2
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/quanticSmartSnippetSuggestions.html +1 -1
- package/force-app/main/default/lwc/quanticSourceCitations/quanticSourceCitations.html +1 -1
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/templates/standaloneSearchBox.html +2 -2
- package/force-app/main/default/lwc/quanticSummary/quanticSummary.html +1 -1
- package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.html +7 -7
- package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.js +5 -0
- package/force-app/main/default/lwc/quanticViewedByCustomerBadge/quanticViewedByCustomerBadge.html +2 -2
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +17 -17
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/logger.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/build-factory.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/build.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/headless.js +21 -21
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +18 -18
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +16 -16
- package/package.json +10 -10
package/force-app/main/default/lwc/quanticStandaloneSearchBox/templates/standaloneSearchBox.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<template if
|
|
2
|
+
<template lwc:if={isStandalone}>
|
|
3
3
|
<c-quantic-search-interface
|
|
4
4
|
engine-id={standaloneEngineId}
|
|
5
5
|
search-hub={searchHub}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
></c-quantic-search-box-input>
|
|
18
18
|
</c-quantic-search-interface>
|
|
19
19
|
</template>
|
|
20
|
-
<template
|
|
20
|
+
<template lwc:else>
|
|
21
21
|
<c-quantic-search-box
|
|
22
22
|
engine-id={engineId}
|
|
23
23
|
placeholder={placeholder}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
</c-quantic-component-error>
|
|
5
5
|
</template>
|
|
6
6
|
<template lwc:else>
|
|
7
|
-
<template if
|
|
7
|
+
<template lwc:if={hasResults}>
|
|
8
8
|
<p class="slds-text-color_weak">
|
|
9
9
|
<lightning-formatted-rich-text value={summaryLabel} disable-linkify></lightning-formatted-rich-text>
|
|
10
10
|
</p>
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
<slot><!-- Timeframes --></slot>
|
|
8
8
|
<template lwc:if={isFacetEnabled}>
|
|
9
9
|
<div data-testid="facet-content">
|
|
10
|
-
<template if
|
|
10
|
+
<template lwc:if={showPlaceholder}>
|
|
11
11
|
<c-quantic-placeholder
|
|
12
12
|
variant="card"
|
|
13
13
|
number-of-rows="5"
|
|
14
14
|
></c-quantic-placeholder>
|
|
15
15
|
</template>
|
|
16
|
-
<template
|
|
17
|
-
<template if
|
|
16
|
+
<template lwc:else>
|
|
17
|
+
<template lwc:if={showFacet}>
|
|
18
18
|
<div class="slds-size_1-of-1 slds-var-m-bottom_large">
|
|
19
19
|
<c-quantic-card-container
|
|
20
20
|
title={label}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
aria-hidden="true"
|
|
33
33
|
></lightning-button-icon>
|
|
34
34
|
|
|
35
|
-
<template if
|
|
35
|
+
<template lwc:if={hasActiveValues}>
|
|
36
36
|
<button
|
|
37
37
|
data-testid="clear-selection-button"
|
|
38
38
|
class="facet__clear-filter slds-button slds-grid slds-grid_vertical-align-center slds-p-horizontal_x-small slds-m-top_small"
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
</button>
|
|
53
53
|
</template>
|
|
54
54
|
|
|
55
|
-
<template if
|
|
55
|
+
<template lwc:if={isExpanded}>
|
|
56
56
|
<div data-testid="facet__body">
|
|
57
|
-
<template if
|
|
57
|
+
<template lwc:if={shouldDisplayDatePicker}>
|
|
58
58
|
<div
|
|
59
59
|
class="slds-grid slds-gutters slds-grid_vertical slds-p-around_x-small"
|
|
60
60
|
>
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
</div>
|
|
122
122
|
</template>
|
|
123
123
|
|
|
124
|
-
<template if
|
|
124
|
+
<template lwc:if={showValues}>
|
|
125
125
|
<fieldset>
|
|
126
126
|
<legend class="slds-assistive-text">{field}</legend>
|
|
127
127
|
<ul
|
package/force-app/main/default/lwc/quanticViewedByCustomerBadge/quanticViewedByCustomerBadge.html
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<template if
|
|
2
|
+
<template lwc:if={hasInitializationError}>
|
|
3
3
|
<c-quantic-component-error component-name={template.host.localName}>
|
|
4
4
|
</c-quantic-component-error>
|
|
5
5
|
</template>
|
|
6
|
-
<template if
|
|
6
|
+
<template lwc:if={shouldDisplayBadge}>
|
|
7
7
|
<div class="slds-align_absolute-center">
|
|
8
8
|
<lightning-icon
|
|
9
9
|
icon-name="utility:profile_alt"
|