@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.
Files changed (83) hide show
  1. package/docs/out/quantic-docs.json +5 -5
  2. package/force-app/main/default/labels/CustomLabels.labels-meta.xml +12 -5
  3. package/force-app/main/default/lwc/quanticBreadcrumbManager/quanticBreadcrumbManager.html +4 -4
  4. package/force-app/main/default/lwc/quanticCarousel/quanticCarousel.html +2 -2
  5. package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.html +18 -18
  6. package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.js +3 -3
  7. package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.html +45 -45
  8. package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.js +9 -0
  9. package/force-app/main/default/lwc/quanticCategoryFacetValue/quanticCategoryFacetValue.html +11 -11
  10. package/force-app/main/default/lwc/quanticColoredResultBadge/quanticColoredResultBadge.html +5 -5
  11. package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.html +4 -4
  12. package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.js +4 -0
  13. package/force-app/main/default/lwc/quanticDidYouMean/templates/didYouMean.html +2 -2
  14. package/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.html +4 -4
  15. package/force-app/main/default/lwc/quanticFacet/quanticFacet.html +43 -43
  16. package/force-app/main/default/lwc/quanticFacet/quanticFacet.js +8 -0
  17. package/force-app/main/default/lwc/quanticFacetValue/quanticFacetValue.html +5 -5
  18. package/force-app/main/default/lwc/quanticFacetValue/quanticFacetValue.js +4 -0
  19. package/force-app/main/default/lwc/quanticFeedbackModal/feedbackForm.html +2 -2
  20. package/force-app/main/default/lwc/quanticFoldedResultList/quanticFoldedResultList.html +1 -1
  21. package/force-app/main/default/lwc/quanticGeneratedAnswer/quanticGeneratedAnswer.js +3 -5
  22. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/conversation.html +2 -2
  23. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.html +8 -10
  24. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.html +5 -5
  25. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.js +4 -0
  26. package/force-app/main/default/lwc/quanticModal/quanticModal.html +2 -2
  27. package/force-app/main/default/lwc/quanticNoResults/quanticNoResults.html +4 -4
  28. package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.html +6 -6
  29. package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.js +4 -0
  30. package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.html +3 -3
  31. package/force-app/main/default/lwc/quanticQueryError/quanticQueryError.html +6 -6
  32. package/force-app/main/default/lwc/quanticQueryError/quanticQueryError.js +4 -0
  33. package/force-app/main/default/lwc/quanticQuickviewContent/quanticQuickviewDefault.html +1 -1
  34. package/force-app/main/default/lwc/quanticQuickviewContent/quanticQuickviewYoutube.html +1 -1
  35. package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.html +4 -4
  36. package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.js +8 -0
  37. package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.html +4 -4
  38. package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.js +8 -0
  39. package/force-app/main/default/lwc/quanticRefineModalContent/quanticRefineModalContent.js +4 -0
  40. package/force-app/main/default/lwc/quanticRefineModalContent/templates/disabledDynamicNavigation.html +9 -9
  41. package/force-app/main/default/lwc/quanticRefineModalContent/templates/dynamicNavigation.html +9 -9
  42. package/force-app/main/default/lwc/quanticRefineToggle/quanticRefineToggle.html +2 -2
  43. package/force-app/main/default/lwc/quanticResult/quanticResult.html +1 -1
  44. package/force-app/main/default/lwc/quanticResultAction/quanticResultAction.html +3 -3
  45. package/force-app/main/default/lwc/quanticResultChildren/quanticResultChildren.html +3 -3
  46. package/force-app/main/default/lwc/quanticResultDate/quanticResultDate.html +2 -2
  47. package/force-app/main/default/lwc/quanticResultDate/quanticResultDate.js +1 -1
  48. package/force-app/main/default/lwc/quanticResultField/quanticResultField.js +1 -1
  49. package/force-app/main/default/lwc/quanticResultHighlightedTextField/quanticResultHighlightedTextField.html +3 -3
  50. package/force-app/main/default/lwc/quanticResultLabel/quanticResultLabel.html +3 -3
  51. package/force-app/main/default/lwc/quanticResultLabel/quanticResultLabel.js +4 -0
  52. package/force-app/main/default/lwc/quanticResultList/quanticResultList.html +1 -1
  53. package/force-app/main/default/lwc/quanticResultMultiValueText/quanticResultMultiValueText.html +3 -3
  54. package/force-app/main/default/lwc/quanticResultMultiValueText/quanticResultMultiValueText.js +1 -1
  55. package/force-app/main/default/lwc/quanticResultNumber/quanticResultNumber.html +2 -2
  56. package/force-app/main/default/lwc/quanticResultNumber/quanticResultNumber.js +1 -1
  57. package/force-app/main/default/lwc/quanticResultPrintableUri/quanticResultPrintableUri.html +4 -4
  58. package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.html +5 -5
  59. package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.js +2 -2
  60. package/force-app/main/default/lwc/quanticResultTag/quanticResultTag.html +2 -2
  61. package/force-app/main/default/lwc/quanticResultText/quanticResultText.html +3 -3
  62. package/force-app/main/default/lwc/quanticResultText/quanticResultText.js +1 -1
  63. package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.html +1 -1
  64. package/force-app/main/default/lwc/quanticResultsPerPage/quanticResultsPerPage.js +1 -1
  65. package/force-app/main/default/lwc/quanticSearchBoxInput/quanticSearchBoxInput.js +6 -2
  66. package/force-app/main/default/lwc/quanticSearchBoxInput/templates/defaultSearchBoxInput.html +4 -4
  67. package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.html +4 -4
  68. package/force-app/main/default/lwc/quanticSmartSnippet/quanticSmartSnippet.html +2 -2
  69. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/quanticSmartSnippetSuggestions.html +1 -1
  70. package/force-app/main/default/lwc/quanticSourceCitations/quanticSourceCitations.html +1 -1
  71. package/force-app/main/default/lwc/quanticStandaloneSearchBox/templates/standaloneSearchBox.html +2 -2
  72. package/force-app/main/default/lwc/quanticSummary/quanticSummary.html +1 -1
  73. package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.html +7 -7
  74. package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.js +5 -0
  75. package/force-app/main/default/lwc/quanticViewedByCustomerBadge/quanticViewedByCustomerBadge.html +2 -2
  76. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +17 -17
  77. package/force-app/main/default/staticresources/coveoheadless/definitions/app/logger.d.ts +2 -2
  78. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/build-factory.d.ts +1 -1
  79. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/build.d.ts +2 -2
  80. package/force-app/main/default/staticresources/coveoheadless/headless.js +21 -21
  81. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +18 -18
  82. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +16 -16
  83. package/package.json +10 -10
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <template if:true={isStandalone}>
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 if:false={isStandalone}>
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:true={hasResults}>
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:true={showPlaceholder}>
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 if:false={showPlaceholder}>
17
- <template if:true={showFacet}>
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:true={hasActiveValues}>
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:false={isCollapsed}>
55
+ <template lwc:if={isExpanded}>
56
56
  <div data-testid="facet__body">
57
- <template if:true={shouldDisplayDatePicker}>
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:true={showValues}>
124
+ <template lwc:if={showValues}>
125
125
  <fieldset>
126
126
  <legend class="slds-assistive-text">{field}</legend>
127
127
  <ul
@@ -214,6 +214,11 @@ export default class QuanticTimeframeFacet extends LightningElement {
214
214
  engine;
215
215
 
216
216
  _isCollapsed = false;
217
+
218
+ get isExpanded() {
219
+ return !this.isCollapsed;
220
+ }
221
+
217
222
  _showValues = true;
218
223
 
219
224
  labels = {
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <template if:true={hasInitializationError}>
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:true={shouldDisplayBadge}>
6
+ <template lwc:if={shouldDisplayBadge}>
7
7
  <div class="slds-align_absolute-center">
8
8
  <lightning-icon
9
9
  icon-name="utility:profile_alt"