@coveo/atomic 3.51.0 → 3.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/custom-elements.json +950 -828
  2. package/dist/atomic/_atomic.esm.js +1 -1
  3. package/dist/atomic/atomic.esm.js.map +1 -1
  4. package/dist/atomic/components/_index.d.ts +0 -8
  5. package/dist/atomic/components/_index.js +97 -25
  6. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +2 -2
  7. package/dist/atomic/components/components/common/atomic-facet-date-input/atomic-facet-date-input.js +1 -0
  8. package/dist/atomic/components/components/common/facets/timeframe-facet-common.js +1 -0
  9. package/dist/atomic/components/components/common/generated-answer/atomic-answer-content/atomic-answer-content.js +180 -0
  10. package/dist/atomic/components/components/common/generated-answer/atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.js +155 -0
  11. package/dist/atomic/components/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.js +165 -0
  12. package/dist/atomic/components/components/common/generated-answer/render-agent-generation-steps.js +34 -0
  13. package/dist/atomic/components/components/common/generated-answer/render-answer-content.js +7 -19
  14. package/dist/atomic/components/components/common/generated-answer/render-follow-up-input.js +66 -0
  15. package/dist/atomic/components/components/common/generated-answer/styles/generated-answer.tw.css.js +1 -1
  16. package/dist/atomic/components/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.js +7 -3
  17. package/dist/atomic/components/components/insight/atomic-insight-result-action/atomic-insight-result-action.js +169 -0
  18. package/dist/atomic/components/components/insight/atomic-insight-result-children/atomic-insight-result-children.js +3 -2
  19. package/dist/atomic/components/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.js +79 -0
  20. package/dist/atomic/components/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.js +267 -0
  21. package/dist/atomic/components/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.js +1 -1
  22. package/dist/atomic/components/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js +1 -1
  23. package/dist/atomic/components/components/insight/index.js +3 -0
  24. package/dist/atomic/components/components/insight/lazy-index.js +3 -0
  25. package/dist/atomic/components/components/search/atomic-external/atomic-external.js +1 -1
  26. package/dist/atomic/components/components/search/atomic-generated-answer/atomic-generated-answer.js +108 -15
  27. package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +2 -2
  28. package/dist/atomic/components/decorators/bindings.js +1 -1
  29. package/dist/atomic/components/global/environment.js +1 -1
  30. package/dist/atomic/components/index.js.map +1 -1
  31. package/dist/atomic/components/mixins/bindings-mixin.js +1 -1
  32. package/dist/atomic/components/utils/custom-element-tags.js +6 -2
  33. package/dist/atomic/components/utils/tailwind.global.tw.css.js +2 -2
  34. package/dist/atomic/index.esm.js +1 -1
  35. package/dist/atomic/index.esm.js.map +1 -1
  36. package/dist/atomic/lang/cs.json +1 -1
  37. package/dist/atomic/lang/da.json +1 -1
  38. package/dist/atomic/lang/de.json +1 -1
  39. package/dist/atomic/lang/dev.json +1 -1
  40. package/dist/atomic/lang/el.json +1 -1
  41. package/dist/atomic/lang/en.json +1 -1
  42. package/dist/atomic/lang/es.json +1 -1
  43. package/dist/atomic/lang/fi.json +1 -1
  44. package/dist/atomic/lang/fr.json +1 -1
  45. package/dist/atomic/lang/hu.json +1 -1
  46. package/dist/atomic/lang/id.json +1 -1
  47. package/dist/atomic/lang/it.json +1 -1
  48. package/dist/atomic/lang/ja.json +1 -1
  49. package/dist/atomic/lang/ko.json +1 -1
  50. package/dist/atomic/lang/nl.json +1 -1
  51. package/dist/atomic/lang/no.json +1 -1
  52. package/dist/atomic/lang/pl.json +1 -1
  53. package/dist/atomic/lang/pt-BR.json +1 -1
  54. package/dist/atomic/lang/pt.json +1 -1
  55. package/dist/atomic/lang/ru.json +1 -1
  56. package/dist/atomic/lang/sv.json +1 -1
  57. package/dist/atomic/lang/th.json +1 -1
  58. package/dist/atomic/lang/tr.json +1 -1
  59. package/dist/atomic/lang/zh-CN.json +1 -1
  60. package/dist/atomic/lang/zh-TW.json +1 -1
  61. package/dist/atomic/lang/zh.json +1 -1
  62. package/dist/atomic/p-998f7983.js +3 -0
  63. package/dist/atomic/p-998f7983.js.map +1 -0
  64. package/dist/cjs/_index.cjs.js +110 -28
  65. package/dist/cjs/_loader.cjs.js +3 -4
  66. package/dist/cjs/app-globals-18f43c37.js +506 -0
  67. package/dist/cjs/app-globals-18f43c37.js.map +1 -0
  68. package/dist/cjs/atomic.cjs.js +4 -5
  69. package/dist/cjs/atomic.cjs.js.map +1 -1
  70. package/dist/cjs/index.cjs.js.map +1 -1
  71. package/dist/cjs/loader.cjs.js.map +1 -1
  72. package/dist/cjs/version.cjs.js +2 -2
  73. package/dist/esm/_index.js +97 -23
  74. package/dist/esm/_loader.js +3 -4
  75. package/dist/esm/app-globals-c5b073da.js +481 -0
  76. package/dist/esm/app-globals-c5b073da.js.map +1 -0
  77. package/dist/esm/atomic.js +3 -4
  78. package/dist/esm/atomic.js.map +1 -1
  79. package/dist/esm/index.js.map +1 -1
  80. package/dist/esm/loader.js.map +1 -1
  81. package/dist/esm/version.js +2 -2
  82. package/dist/types/components/common/context/bindings-context.d.ts +1 -1
  83. package/dist/types/components/common/facets/timeframe-facet-common.d.ts +1 -0
  84. package/dist/types/components/common/generated-answer/{answerContent/answer-content.d.ts → atomic-answer-content/atomic-answer-content.d.ts} +8 -6
  85. package/dist/types/components/common/generated-answer/{generated-answer-thread-item/generated-answer-thread-item.d.ts → atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.d.ts} +3 -3
  86. package/dist/types/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.d.ts +42 -0
  87. package/dist/types/components/common/generated-answer/render-agent-generation-steps.d.ts +16 -0
  88. package/dist/types/components/common/generated-answer/render-answer-content.d.ts +3 -4
  89. package/dist/types/components/insight/atomic-insight-result-action/atomic-insight-result-action.d.ts +33 -18
  90. package/dist/types/components/insight/atomic-insight-result-children/atomic-insight-result-children.d.ts +1 -0
  91. package/dist/types/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +62 -0
  92. package/dist/types/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.d.ts +47 -28
  93. package/dist/types/components/insight/index.d.ts +3 -0
  94. package/dist/types/components/search/atomic-external/atomic-external.d.ts +1 -1
  95. package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +11 -2
  96. package/dist/types/components.d.ts +0 -298
  97. package/dist/types/decorators/bindings.d.ts +1 -1
  98. package/dist/types/index.d.ts +2 -3
  99. package/dist/types/utils/accessibility-utils.d.ts +2 -2
  100. package/dist/types/utils/init-queue.d.ts +1 -1
  101. package/docs/atomic-docs.json +2 -43
  102. package/package.json +4 -8
  103. package/dist/atomic/components/_commonjsHelpers.js +0 -5
  104. package/dist/atomic/components/_commonjsHelpers.js.map +0 -1
  105. package/dist/atomic/components/atomic-insight-result-action.d.ts +0 -11
  106. package/dist/atomic/components/atomic-insight-result-action.js +0 -272
  107. package/dist/atomic/components/atomic-insight-result-action.js.map +0 -1
  108. package/dist/atomic/components/atomic-insight-result-children-template.d.ts +0 -11
  109. package/dist/atomic/components/atomic-insight-result-children-template.js +0 -242
  110. package/dist/atomic/components/atomic-insight-result-children-template.js.map +0 -1
  111. package/dist/atomic/components/atomic-insight-timeframe-facet.d.ts +0 -11
  112. package/dist/atomic/components/atomic-insight-timeframe-facet.js +0 -816
  113. package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +0 -1
  114. package/dist/atomic/components/atomic-stencil-facet-date-input.d.ts +0 -11
  115. package/dist/atomic/components/atomic-stencil-facet-date-input.js +0 -107
  116. package/dist/atomic/components/atomic-stencil-facet-date-input.js.map +0 -1
  117. package/dist/atomic/components/date-utils.js +0 -26
  118. package/dist/atomic/components/date-utils.js.map +0 -1
  119. package/dist/atomic/components/initialization-utils.js +0 -226
  120. package/dist/atomic/components/initialization-utils.js.map +0 -1
  121. package/dist/atomic/components/props-utils.js +0 -1457
  122. package/dist/atomic/components/props-utils.js.map +0 -1
  123. package/dist/atomic/components/stencil-button.js +0 -148
  124. package/dist/atomic/components/stencil-button.js.map +0 -1
  125. package/dist/atomic/p-1580513b.js +0 -2
  126. package/dist/atomic/p-1580513b.js.map +0 -1
  127. package/dist/atomic/p-1df0744f.entry.js +0 -9
  128. package/dist/atomic/p-1df0744f.entry.js.map +0 -1
  129. package/dist/atomic/p-2045a1b1.js +0 -2
  130. package/dist/atomic/p-2045a1b1.js.map +0 -1
  131. package/dist/atomic/p-4573c419.js +0 -2
  132. package/dist/atomic/p-4573c419.js.map +0 -1
  133. package/dist/atomic/p-500bf5c4.entry.js +0 -2
  134. package/dist/atomic/p-500bf5c4.entry.js.map +0 -1
  135. package/dist/atomic/p-5226a938.js +0 -3
  136. package/dist/atomic/p-5226a938.js.map +0 -1
  137. package/dist/atomic/p-720863c3.js +0 -2
  138. package/dist/atomic/p-720863c3.js.map +0 -1
  139. package/dist/atomic/p-81336626.entry.js +0 -2
  140. package/dist/atomic/p-81336626.entry.js.map +0 -1
  141. package/dist/atomic/p-81d6e743.js +0 -2
  142. package/dist/atomic/p-81d6e743.js.map +0 -1
  143. package/dist/atomic/p-aad3b4ec.js +0 -3
  144. package/dist/atomic/p-aad3b4ec.js.map +0 -1
  145. package/dist/atomic/p-b5af331b.entry.js +0 -2
  146. package/dist/atomic/p-b5af331b.entry.js.map +0 -1
  147. package/dist/atomic/p-b7209471.js +0 -2
  148. package/dist/atomic/p-b7209471.js.map +0 -1
  149. package/dist/atomic/p-dac60354.js +0 -2
  150. package/dist/atomic/p-dac60354.js.map +0 -1
  151. package/dist/atomic/p-e1255160.js +0 -2
  152. package/dist/atomic/p-e1255160.js.map +0 -1
  153. package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
  154. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
  155. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  156. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  157. package/dist/cjs/atomic-insight-result-action.cjs.entry.js +0 -153
  158. package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +0 -1
  159. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +0 -222
  160. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +0 -1
  161. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +0 -790
  162. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +0 -1
  163. package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +0 -86
  164. package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js.map +0 -1
  165. package/dist/cjs/date-utils-aae1d713.js +0 -28
  166. package/dist/cjs/date-utils-aae1d713.js.map +0 -1
  167. package/dist/cjs/event-utils-9bfcf3c5.js +0 -27
  168. package/dist/cjs/event-utils-9bfcf3c5.js.map +0 -1
  169. package/dist/cjs/index-122375df.js +0 -1394
  170. package/dist/cjs/index-122375df.js.map +0 -1
  171. package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js +0 -95
  172. package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js.map +0 -1
  173. package/dist/cjs/initialization-utils-c2821271.js +0 -148
  174. package/dist/cjs/initialization-utils-c2821271.js.map +0 -1
  175. package/dist/cjs/props-utils-e4f29f1e.js +0 -1464
  176. package/dist/cjs/props-utils-e4f29f1e.js.map +0 -1
  177. package/dist/cjs/stencil-button-bf22eea4.js +0 -130
  178. package/dist/cjs/stencil-button-bf22eea4.js.map +0 -1
  179. package/dist/cjs/stencil-result-template-decorators-96954751.js +0 -114
  180. package/dist/cjs/stencil-result-template-decorators-96954751.js.map +0 -1
  181. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
  182. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
  183. package/dist/esm/app-globals-0f993ce5.js +0 -5
  184. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  185. package/dist/esm/atomic-insight-result-action.entry.js +0 -149
  186. package/dist/esm/atomic-insight-result-action.entry.js.map +0 -1
  187. package/dist/esm/atomic-insight-result-children-template.entry.js +0 -218
  188. package/dist/esm/atomic-insight-result-children-template.entry.js.map +0 -1
  189. package/dist/esm/atomic-insight-timeframe-facet.entry.js +0 -786
  190. package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +0 -1
  191. package/dist/esm/atomic-stencil-facet-date-input.entry.js +0 -82
  192. package/dist/esm/atomic-stencil-facet-date-input.entry.js.map +0 -1
  193. package/dist/esm/date-utils-3b955e79.js +0 -26
  194. package/dist/esm/date-utils-3b955e79.js.map +0 -1
  195. package/dist/esm/event-utils-8de63ec3.js +0 -24
  196. package/dist/esm/event-utils-8de63ec3.js.map +0 -1
  197. package/dist/esm/index-4d679e44.js +0 -1364
  198. package/dist/esm/index-4d679e44.js.map +0 -1
  199. package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js +0 -88
  200. package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js.map +0 -1
  201. package/dist/esm/initialization-utils-9ff399ff.js +0 -144
  202. package/dist/esm/initialization-utils-9ff399ff.js.map +0 -1
  203. package/dist/esm/props-utils-76043c82.js +0 -1457
  204. package/dist/esm/props-utils-76043c82.js.map +0 -1
  205. package/dist/esm/stencil-button-28de709c.js +0 -128
  206. package/dist/esm/stencil-button-28de709c.js.map +0 -1
  207. package/dist/esm/stencil-result-template-decorators-4c2e5132.js +0 -110
  208. package/dist/esm/stencil-result-template-decorators-4c2e5132.js.map +0 -1
  209. package/dist/types/components/commerce/product-template-component-utils/context/stencil-product-template-decorators.d.ts +0 -14
  210. package/dist/types/components/common/atomic-rating/stencil-rating.d.ts +0 -18
  211. package/dist/types/components/common/atomic-result-placeholder/stencil-placeholders.d.ts +0 -20
  212. package/dist/types/components/common/breadbox/stencil-breadcrumb-button.d.ts +0 -15
  213. package/dist/types/components/common/breadbox/stencil-breadcrumb-clear-all.d.ts +0 -13
  214. package/dist/types/components/common/breadbox/stencil-breadcrumb-container.d.ts +0 -11
  215. package/dist/types/components/common/breadbox/stencil-breadcrumb-content.d.ts +0 -14
  216. package/dist/types/components/common/breadbox/stencil-breadcrumb-show-less.d.ts +0 -13
  217. package/dist/types/components/common/breadbox/stencil-breadcrumb-show-more.d.ts +0 -14
  218. package/dist/types/components/common/facets/category-facet/stencil-all-categories-button.d.ts +0 -13
  219. package/dist/types/components/common/facets/category-facet/stencil-child-value-link.d.ts +0 -9
  220. package/dist/types/components/common/facets/category-facet/stencil-children-as-tree-container.d.ts +0 -9
  221. package/dist/types/components/common/facets/category-facet/stencil-parent-as-tree-container.d.ts +0 -10
  222. package/dist/types/components/common/facets/category-facet/stencil-parent-button.d.ts +0 -16
  223. package/dist/types/components/common/facets/category-facet/stencil-parent-value-link.d.ts +0 -9
  224. package/dist/types/components/common/facets/category-facet/stencil-search-results-container.d.ts +0 -5
  225. package/dist/types/components/common/facets/category-facet/stencil-search-value.d.ts +0 -19
  226. package/dist/types/components/common/facets/category-facet/stencil-value-as-tree-container.d.ts +0 -5
  227. package/dist/types/components/common/facets/category-facet/stencil-value-link.d.ts +0 -20
  228. package/dist/types/components/common/facets/facet-container/stencil-facet-container.d.ts +0 -5
  229. package/dist/types/components/common/facets/facet-header/stencil-facet-header.d.ts +0 -17
  230. package/dist/types/components/common/facets/facet-placeholder/stencil-facet-placeholder.d.ts +0 -10
  231. package/dist/types/components/common/facets/facet-search/stencil-facet-search-input-guard.d.ts +0 -11
  232. package/dist/types/components/common/facets/facet-search/stencil-facet-search-input.d.ts +0 -14
  233. package/dist/types/components/common/facets/facet-search/stencil-facet-search-matches.d.ts +0 -14
  234. package/dist/types/components/common/facets/facet-search/stencil-facet-search-value.d.ts +0 -6
  235. package/dist/types/components/common/facets/facet-show-more-less/stencil-facet-show-more-less.d.ts +0 -17
  236. package/dist/types/components/common/facets/facet-value/stencil-facet-value.d.ts +0 -22
  237. package/dist/types/components/common/facets/facet-value-box/stencil-facet-value-box.d.ts +0 -6
  238. package/dist/types/components/common/facets/facet-value-checkbox/stencil-facet-value-checkbox.d.ts +0 -11
  239. package/dist/types/components/common/facets/facet-value-exclude/stencil-facet-value-exclude.d.ts +0 -10
  240. package/dist/types/components/common/facets/facet-value-label-highlight/stencil-facet-value-label-highlight.d.ts +0 -12
  241. package/dist/types/components/common/facets/facet-value-link/stencil-facet-value-link.d.ts +0 -10
  242. package/dist/types/components/common/facets/facet-values-group/stencil-facet-values-group.d.ts +0 -12
  243. package/dist/types/components/common/facets/numeric-facet/stencil-value-link.d.ts +0 -12
  244. package/dist/types/components/common/facets/numeric-facet/stencil-values-container.d.ts +0 -11
  245. package/dist/types/components/common/facets/stencil-facet-common.d.ts +0 -43
  246. package/dist/types/components/common/facets/stencil-facet-date-input/stencil-facet-date-input.d.ts +0 -33
  247. package/dist/types/components/common/facets/stencil-facet-guard.d.ts +0 -12
  248. package/dist/types/components/common/facets/stencil-timeframe-facet-common.d.ts +0 -72
  249. package/dist/types/components/common/generated-answer/generated-answer-common.d.ts +0 -58
  250. package/dist/types/components/common/generated-answer/generated-content/stencil-generated-markdown-content.d.ts +0 -10
  251. package/dist/types/components/common/generated-answer/generated-content/stencil-generated-text-content.d.ts +0 -10
  252. package/dist/types/components/common/generated-answer/stencil-copy-button.d.ts +0 -12
  253. package/dist/types/components/common/generated-answer/stencil-feedback-button.d.ts +0 -13
  254. package/dist/types/components/common/generated-answer/stencil-generated-content-container.d.ts +0 -11
  255. package/dist/types/components/common/generated-answer/stencil-retry-prompt.d.ts +0 -11
  256. package/dist/types/components/common/generated-answer/stencil-show-button.d.ts +0 -12
  257. package/dist/types/components/common/generated-answer/stencil-source-citations.d.ts +0 -10
  258. package/dist/types/components/common/interface/interface-common-stencil.d.ts +0 -34
  259. package/dist/types/components/common/interface/stencil-i18n.d.ts +0 -11
  260. package/dist/types/components/common/item-link/stencil-item-link.d.ts +0 -30
  261. package/dist/types/components/common/item-list/item-list-decorators.d.ts +0 -17
  262. package/dist/types/components/common/item-list/stencil-display-grid.d.ts +0 -17
  263. package/dist/types/components/common/item-list/stencil-display-wrapper.d.ts +0 -11
  264. package/dist/types/components/common/item-list/stencil-item-decorators.d.ts +0 -41
  265. package/dist/types/components/common/item-list/stencil-item-display-guard.d.ts +0 -10
  266. package/dist/types/components/common/item-list/stencil-item-list-common.d.ts +0 -31
  267. package/dist/types/components/common/item-list/stencil-item-list-guard.d.ts +0 -13
  268. package/dist/types/components/common/item-text/stencil-item-text-fallback.d.ts +0 -14
  269. package/dist/types/components/common/item-text/stencil-item-text-highlighted.d.ts +0 -13
  270. package/dist/types/components/common/load-more/guard.d.ts +0 -10
  271. package/dist/types/components/common/load-more/stencil-button.d.ts +0 -13
  272. package/dist/types/components/common/load-more/stencil-container.d.ts +0 -5
  273. package/dist/types/components/common/load-more/stencil-progress-bar.d.ts +0 -10
  274. package/dist/types/components/common/load-more/stencil-summary.d.ts +0 -13
  275. package/dist/types/components/common/no-items/stencil-container.d.ts +0 -5
  276. package/dist/types/components/common/no-items/stencil-guard.d.ts +0 -11
  277. package/dist/types/components/common/no-items/stencil-magnifying-glass.d.ts +0 -5
  278. package/dist/types/components/common/no-items/stencil-no-items.d.ts +0 -12
  279. package/dist/types/components/common/no-items/stencil-tips.d.ts +0 -10
  280. package/dist/types/components/common/pager/stencil-pager-buttons.d.ts +0 -33
  281. package/dist/types/components/common/pager/stencil-pager-navigation.d.ts +0 -10
  282. package/dist/types/components/common/product-template/stencil-product-template-common.d.ts +0 -26
  283. package/dist/types/components/common/query-correction/stencil-auto-correction.d.ts +0 -12
  284. package/dist/types/components/common/query-correction/stencil-correction.d.ts +0 -12
  285. package/dist/types/components/common/query-correction/stencil-guard.d.ts +0 -9
  286. package/dist/types/components/common/query-correction/stencil-trigger-correction.d.ts +0 -13
  287. package/dist/types/components/common/query-error/stencil-container.d.ts +0 -5
  288. package/dist/types/components/common/query-error/stencil-description.d.ts +0 -13
  289. package/dist/types/components/common/query-error/stencil-details.d.ts +0 -10
  290. package/dist/types/components/common/query-error/stencil-guard.d.ts +0 -9
  291. package/dist/types/components/common/query-error/stencil-icon.d.ts +0 -9
  292. package/dist/types/components/common/query-error/stencil-link.d.ts +0 -11
  293. package/dist/types/components/common/query-error/stencil-show-more.d.ts +0 -13
  294. package/dist/types/components/common/query-error/stencil-title.d.ts +0 -12
  295. package/dist/types/components/common/query-summary/stencil-container.d.ts +0 -9
  296. package/dist/types/components/common/query-summary/stencil-guard.d.ts +0 -11
  297. package/dist/types/components/common/query-summary/stencil-utils.d.ts +0 -23
  298. package/dist/types/components/common/refine-modal/stencil-body.d.ts +0 -7
  299. package/dist/types/components/common/refine-modal/stencil-button.d.ts +0 -12
  300. package/dist/types/components/common/refine-modal/stencil-filters.d.ts +0 -20
  301. package/dist/types/components/common/refine-modal/stencil-guard.d.ts +0 -11
  302. package/dist/types/components/common/refine-modal/stencil-modal.d.ts +0 -18
  303. package/dist/types/components/common/refine-modal/stencil-sort.d.ts +0 -11
  304. package/dist/types/components/common/result-children/stencil-children-wrapper.d.ts +0 -9
  305. package/dist/types/components/common/result-children/stencil-collection-guard.d.ts +0 -16
  306. package/dist/types/components/common/result-children/stencil-guard.d.ts +0 -11
  307. package/dist/types/components/common/result-children/stencil-show-hide-button.d.ts +0 -14
  308. package/dist/types/components/common/result-templates/stencil-result-template-common.d.ts +0 -24
  309. package/dist/types/components/common/search-box/stencil-search-box-wrapper.d.ts +0 -10
  310. package/dist/types/components/common/search-box/stencil-search-text-area.d.ts +0 -22
  311. package/dist/types/components/common/search-box/stencil-submit-button.d.ts +0 -12
  312. package/dist/types/components/common/search-box/stencil-text-area-clear-button.d.ts +0 -12
  313. package/dist/types/components/common/smart-snippets/atomic-smart-snippet/stencil-smart-snippet-common.d.ts +0 -31
  314. package/dist/types/components/common/smart-snippets/atomic-smart-snippet-feedback-modal/stencil-smart-snippet-feedback-modal-common.d.ts +0 -57
  315. package/dist/types/components/common/smart-snippets/atomic-smart-snippet-suggestions/stencil-smart-snippet-suggestions-common.d.ts +0 -43
  316. package/dist/types/components/common/smart-snippets/stencil-smart-snippet-feedback-banner.d.ts +0 -18
  317. package/dist/types/components/common/stencil-button-style.d.ts +0 -11
  318. package/dist/types/components/common/stencil-button.d.ts +0 -30
  319. package/dist/types/components/common/stencil-carousel.d.ts +0 -15
  320. package/dist/types/components/common/stencil-checkbox.d.ts +0 -22
  321. package/dist/types/components/common/stencil-fieldset-group.d.ts +0 -9
  322. package/dist/types/components/common/stencil-heading.d.ts +0 -7
  323. package/dist/types/components/common/stencil-hidden.d.ts +0 -5
  324. package/dist/types/components/common/stencil-iconButton.d.ts +0 -13
  325. package/dist/types/components/common/stencil-radio-button.d.ts +0 -12
  326. package/dist/types/components/common/stencil-switch.d.ts +0 -15
  327. package/dist/types/components/common/stencil-triStateCheckbox.d.ts +0 -11
  328. package/dist/types/components/common/suggestions/stencil-instant-item.d.ts +0 -19
  329. package/dist/types/components/common/suggestions/stencil-query-suggestions.d.ts +0 -32
  330. package/dist/types/components/common/suggestions/stencil-suggestion-manager.d.ts +0 -96
  331. package/dist/types/components/insight/result-templates/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +0 -50
  332. package/dist/types/components/search/facets/facet-segmented-value/stencil-facet-segmented-value.d.ts +0 -6
  333. package/dist/types/components/search/result-template-component-utils/context/stencil-result-template-decorators.d.ts +0 -32
  334. package/dist/types/components/search/result-template-components/quickview-iframe/stencil-quickview-iframe.d.ts +0 -14
  335. package/dist/types/utils/__mocks__/stencil-resource-url.d.ts +0 -1
  336. package/dist/types/utils/initialization-utils.d.ts +0 -70
  337. package/dist/types/utils/jsx-utils.d.ts +0 -6
  338. package/dist/types/utils/stencil-accessibility-utils.d.ts +0 -43
  339. package/dist/types/utils/stencil-asset-path-utils.d.ts +0 -1
  340. package/dist/types/utils/stencil-resource-url.d.ts +0 -1
  341. /package/dist/atomic/components/utils/{initialization-lit-stencil-common-utils.js → initialization-common-utils.js} +0 -0
  342. /package/dist/types/utils/{initialization-lit-stencil-common-utils.d.ts → initialization-common-utils.d.ts} +0 -0
@@ -1,14 +0,0 @@
1
- import { Product } from '@coveo/headless/commerce';
2
- /**
3
- * Retrieves `Product` on a rendered `atomic-product`.
4
- *
5
- * This method is useful for building custom product template elements, see [Create a Product List](https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/native-components/#custom-product-template-component-example) for more information.
6
- *
7
- * You should use the method in the [`connectedCallback` lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).
8
- *
9
- * @param element - The element that the event is dispatched to, which must be the child of a rendered "atomic-product".
10
- * @returns A promise that resolves on initialization of the parent "atomic-product" element, or rejects when there is no parent "atomic-product" element.
11
- *
12
- * @deprecated should only be used for Stencil components. For Lit components, use `fetchProductContext` from \@/src/components/commerce/product-template-component-utils/context/fetch-product-context.ts
13
- */
14
- export declare function productContext<T extends Product>(element: Element): Promise<T>;
@@ -1,18 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface RatingProps {
4
- i18n: i18n;
5
- numberOfTotalIcons: number;
6
- numberOfActiveIcons: number;
7
- icon: string;
8
- iconSize?: number;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const Rating: FunctionalComponent<RatingProps>;
14
- /**
15
- * @deprecated should only be used for Stencil components.
16
- */
17
- export declare const computeNumberOfStars: (value: unknown, field: string) => number | null;
18
- export {};
@@ -1,20 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { ItemDisplayDensity, ItemDisplayImageSize, ItemDisplayLayout } from '../layout/display-options.js';
3
- interface ResultPlaceholderProps {
4
- density: ItemDisplayDensity;
5
- imageSize: ItemDisplayImageSize;
6
- display: ItemDisplayLayout;
7
- numberOfPlaceholders: number;
8
- }
9
- interface ResultPlaceholderGuardProps extends ResultPlaceholderProps {
10
- displayPlaceholders: boolean;
11
- }
12
- /**
13
- * @deprecated should only be used for Stencil components.
14
- */
15
- export declare const ResultsPlaceholdersGuard: FunctionalComponent<ResultPlaceholderGuardProps>;
16
- /**
17
- * @deprecated should only be used for Stencil components.
18
- */
19
- export declare const ResultsPlaceholder: FunctionalComponent<ResultPlaceholderProps>;
20
- export {};
@@ -1,15 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- import { Breadcrumb } from './breadcrumb-types';
4
- interface BreadcrumbButtonProps {
5
- onSelectBreadcrumb: () => void;
6
- setRef: (el: HTMLButtonElement) => void;
7
- pathLimit: number;
8
- breadcrumb: Breadcrumb;
9
- i18n: i18n;
10
- }
11
- /**
12
- * @deprecated should only be used for Stencil components.
13
- */
14
- export declare const BreadcrumbButton: FunctionalComponent<BreadcrumbButtonProps>;
15
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface BreadcrumbClearAllProps {
4
- setRef: (el: HTMLButtonElement) => void;
5
- onClick: ((event?: MouseEvent | undefined) => void) | undefined;
6
- isCollapsed: boolean;
7
- i18n: i18n;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const BreadcrumbClearAll: FunctionalComponent<BreadcrumbClearAllProps>;
13
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface BreadcrumbContainerProps {
4
- isCollapsed: boolean;
5
- i18n: i18n;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const BreadcrumbContainer: FunctionalComponent<BreadcrumbContainerProps>;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- import { Breadcrumb } from './breadcrumb-types';
4
- interface BreadcrumbContentProps {
5
- pathLimit: number;
6
- isCollapsed: boolean;
7
- i18n: i18n;
8
- breadcrumb: Breadcrumb;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const BreadcrumbContent: FunctionalComponent<BreadcrumbContentProps>;
14
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface BreadcrumbShowLessProps {
4
- onShowLess: () => void;
5
- setRef: (el: HTMLButtonElement) => void;
6
- isCollapsed: boolean;
7
- i18n: i18n;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const BreadcrumbShowLess: FunctionalComponent<BreadcrumbShowLessProps>;
13
- export {};
@@ -1,14 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface BreadcrumbShowMoreProps {
4
- setRef: (el: HTMLButtonElement) => void;
5
- onShowMore: () => void;
6
- numberOfCollapsedBreadcrumbs: number;
7
- isCollapsed: boolean;
8
- i18n: i18n;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const BreadcrumbShowMore: FunctionalComponent<BreadcrumbShowMoreProps>;
14
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface CategoryFacetAllCategoryButtonProps {
4
- i18n: i18n;
5
- onClick(): void;
6
- facetId?: string;
7
- field: string;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const CategoryFacetAllCategoryButton: FunctionalComponent<CategoryFacetAllCategoryButtonProps>;
13
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { CategoryFacetValueLinkProps } from './stencil-value-link';
3
- interface CategoryFacetChildValueLinkProps extends Omit<CategoryFacetValueLinkProps, 'isParent'> {
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const CategoryFacetChildValueLink: FunctionalComponent<CategoryFacetChildValueLinkProps>;
9
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface CategoryFacetChildrenAsTreeContainerProps {
3
- className?: string;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const CategoryFacetChildrenAsTreeContainer: FunctionalComponent<CategoryFacetChildrenAsTreeContainerProps>;
9
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface CategoryFacetParentAsTreeContainerProps {
3
- isTopLevel: boolean;
4
- className?: string;
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const CategoryFacetParentAsTreeContainer: FunctionalComponent<CategoryFacetParentAsTreeContainerProps>;
10
- export {};
@@ -1,16 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface CategoryFacetParentButtonProps {
4
- i18n: i18n;
5
- field: string;
6
- facetValue: {
7
- value: string;
8
- numberOfResults: number;
9
- };
10
- onClick: () => void;
11
- }
12
- /**
13
- * @deprecated should only be used for Stencil components.
14
- */
15
- export declare const CategoryFacetParentButton: FunctionalComponent<CategoryFacetParentButtonProps>;
16
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { CategoryFacetValueLinkProps } from './stencil-value-link';
3
- interface CategoryFacetParentValueLinkProps extends Omit<CategoryFacetValueLinkProps, 'isParent' | 'isSelected'> {
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const CategoryFacetParentValueLink: FunctionalComponent<CategoryFacetParentValueLinkProps>;
9
- export {};
@@ -1,5 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- /**
3
- * @deprecated should only be used for Stencil components.
4
- */
5
- export declare const CategoryFacetSearchResultsContainer: FunctionalComponent;
@@ -1,19 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface CategoryFacetSearchValueProps {
4
- value: {
5
- count: number;
6
- path: string[];
7
- displayValue: string;
8
- };
9
- i18n: i18n;
10
- field: string;
11
- facetId?: string;
12
- onClick(): void;
13
- searchQuery: string;
14
- }
15
- /**
16
- * @deprecated should only be used for Stencil components.
17
- */
18
- export declare const CategoryFacetSearchValue: FunctionalComponent<CategoryFacetSearchValueProps>;
19
- export {};
@@ -1,5 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- /**
3
- * @deprecated should only be used for Stencil components.
4
- */
5
- export declare const CategoryFacetTreeValueContainer: FunctionalComponent;
@@ -1,20 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export interface CategoryFacetValueLinkProps {
7
- displayValue: string;
8
- numberOfResults: number;
9
- i18n: i18n;
10
- onClick: () => void;
11
- isParent: boolean;
12
- isSelected: boolean;
13
- searchQuery: string;
14
- isLeafValue: boolean;
15
- setRef: (el?: HTMLButtonElement) => void;
16
- }
17
- /**
18
- * @deprecated should only be used for Stencil components.
19
- */
20
- export declare const CategoryFacetValueLink: FunctionalComponent<CategoryFacetValueLinkProps>;
@@ -1,5 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- /**
3
- * @deprecated should only be used for Stencil components.
4
- */
5
- export declare const FacetContainer: FunctionalComponent;
@@ -1,17 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface FacetHeaderProps {
4
- i18n: i18n;
5
- label: string;
6
- numberOfActiveValues: number;
7
- isCollapsed: boolean;
8
- headingLevel: number;
9
- onToggleCollapse(): void;
10
- onClearFilters?(): void;
11
- headerRef?: (element?: HTMLButtonElement) => void;
12
- }
13
- /**
14
- * @deprecated should only be used for Stencil components.
15
- */
16
- export declare const FacetHeader: FunctionalComponent<FacetHeaderProps>;
17
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface FacetPlaceholderProps {
3
- numberOfValues: number;
4
- isCollapsed: boolean;
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const FacetPlaceholder: FunctionalComponent<FacetPlaceholderProps>;
10
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface FacetSearchInputGuardProps {
3
- withSearch: boolean;
4
- canShowMoreValues: boolean;
5
- numberOfDisplayedValues: number;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const FacetSearchInputGuard: FunctionalComponent<FacetSearchInputGuardProps>;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface FacetSearchInputProps {
4
- label: string;
5
- query: string;
6
- i18n: i18n;
7
- onClear(): void;
8
- onChange(value: string): void;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const FacetSearchInput: FunctionalComponent<FacetSearchInputProps>;
14
- export {};
@@ -1,14 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface FacetSearchMatchesProps {
4
- i18n: i18n;
5
- query: string;
6
- numberOfMatches: number;
7
- hasMoreMatches: boolean;
8
- showMoreMatches?: () => void;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const FacetSearchMatches: FunctionalComponent<FacetSearchMatchesProps>;
14
- export {};
@@ -1,6 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { FacetValueProps } from '../facet-value/stencil-facet-value';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export declare const FacetSearchValue: FunctionalComponent<Omit<FacetValueProps, 'facetState' | 'setRef'>>;
@@ -1,17 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface FacetShowMoreProps {
4
- label: string;
5
- i18n: i18n;
6
- canShowLessValues: boolean;
7
- canShowMoreValues: boolean;
8
- onShowMore(): void;
9
- onShowLess(): void;
10
- showMoreRef?: (element?: HTMLButtonElement) => void;
11
- showLessRef?: (element?: HTMLButtonElement) => void;
12
- }
13
- /**
14
- * @deprecated should only be used for Stencil components.
15
- */
16
- export declare const FacetShowMoreLess: FunctionalComponent<FacetShowMoreProps>;
17
- export {};
@@ -1,22 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export interface FacetValueProps {
7
- field: string;
8
- facetValue: string;
9
- facetCount: number;
10
- facetState: 'idle' | 'selected' | 'excluded';
11
- i18n: i18n;
12
- enableExclusion: boolean;
13
- onExclude: () => void;
14
- onSelect: () => void;
15
- displayValuesAs: 'checkbox' | 'link' | 'box';
16
- facetSearchQuery: string;
17
- setRef?: (btn?: HTMLButtonElement) => void;
18
- }
19
- /**
20
- * @deprecated should only be used for Stencil components.
21
- */
22
- export declare const FacetValue: FunctionalComponent<FacetValueProps>;
@@ -1,6 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { FacetValueProps } from '../stencil-facet-common';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export declare const FacetValueBox: FunctionalComponent<FacetValueProps>;
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { FacetValueProps } from '../stencil-facet-common';
3
- type TriStateFacetValueProps = Omit<FacetValueProps, 'isSelected'> & {
4
- state: 'idle' | 'selected' | 'excluded';
5
- onExclude(): void;
6
- };
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const FacetValueCheckbox: FunctionalComponent<FacetValueProps | TriStateFacetValueProps>;
11
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface ExcludeProps {
3
- onClick(): void;
4
- ariaLabel?: string;
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const FacetValueExclude: FunctionalComponent<ExcludeProps>;
10
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- interface FacetValueLabelHighlightProps {
3
- displayValue: string;
4
- searchQuery?: string;
5
- isSelected: boolean;
6
- isExcluded?: boolean;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const FacetValueLabelHighlight: FunctionalComponent<FacetValueLabelHighlightProps>;
12
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent, VNode } from '../../../../stencil-public-runtime';
2
- import { FacetValueProps } from '../stencil-facet-common';
3
- interface FacetValueLinkProps extends FacetValueProps {
4
- subList?: VNode | VNode[];
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const FacetValueLink: FunctionalComponent<FacetValueLinkProps>;
10
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface FacetValuesGroupProps {
4
- i18n: i18n;
5
- label?: string;
6
- query?: string;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const FacetValuesGroup: FunctionalComponent<FacetValuesGroupProps>;
12
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { FormatFacetValueRange } from './formatter';
3
- interface NumericFacetValueLinkProps extends FormatFacetValueRange {
4
- onClick: () => void;
5
- logger: Pick<Console, 'error'>;
6
- displayValuesAs: 'checkbox' | 'link';
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const NumericFacetValueLink: FunctionalComponent<NumericFacetValueLinkProps>;
12
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface NumericFacetValuesContainerProps {
4
- i18n: i18n;
5
- label: string;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const NumericFacetValuesContainer: FunctionalComponent<NumericFacetValuesContainerProps>;
11
- export {};
@@ -1,43 +0,0 @@
1
- import { FacetValue, SearchStatusState } from '@coveo/headless';
2
- import { i18n } from 'i18next';
3
- import { AtomicAutomaticFacetGenerator } from '../../search/atomic-automatic-facet-generator/atomic-automatic-facet-generator';
4
- export interface FacetValueProps {
5
- i18n: i18n;
6
- displayValue: string;
7
- numberOfResults: number;
8
- isSelected: boolean;
9
- onClick(): void;
10
- searchQuery?: string;
11
- class?: string;
12
- part?: string;
13
- additionalPart?: string;
14
- buttonRef?: (element?: HTMLButtonElement) => void;
15
- }
16
- export declare function shouldDisplayInputForFacetRange(facetRange: {
17
- hasInput: boolean;
18
- hasInputRange: boolean;
19
- searchStatusState: SearchStatusState;
20
- facetValues: Pick<FacetValue, 'numberOfResults' | 'state'>[];
21
- }): boolean;
22
- export type BaseFacetElement = HTMLElement & {
23
- facetId: string;
24
- isCollapsed: boolean;
25
- };
26
- export declare function sortFacetVisibility(facetElements: BaseFacetElement[], facetInfoMap: Record<string, {
27
- isHidden: () => boolean;
28
- }>): {
29
- visibleFacets: BaseFacetElement[];
30
- invisibleFacets: BaseFacetElement[];
31
- };
32
- export declare function collapseFacetsAfter(facets: BaseFacetElement[], visibleFacetsCount: number): void;
33
- export declare function isAutomaticFacetGenerator(element: HTMLElement): element is AtomicAutomaticFacetGenerator;
34
- export declare function getFacetsInChildren(parent: HTMLElement): BaseFacetElement[];
35
- export declare function getAutomaticFacetGenerator(parent: HTMLElement): AtomicAutomaticFacetGenerator | undefined;
36
- /**
37
- * Triage elements by their parents.
38
- * @param facets Facet Elements
39
- * @param parents Elements that may contains the facets
40
- * @returns an array in the same order as the parents, containing the facets that are contained by the corresponding parent.
41
- * The last element of the array contains the facets that are not contained by any of the parents.
42
- */
43
- export declare function triageFacetsByParents(facets: BaseFacetElement[], ...parents: (HTMLElement | null)[]): Map<HTMLElement | null, BaseFacetElement[]>;
@@ -1,33 +0,0 @@
1
- import { DateFilterRange, DateRangeRequest } from '@coveo/headless';
2
- import { AnyBindings } from '../../interface/bindings';
3
- /**
4
- * @deprecated
5
- * Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
6
- * Internal component made to be integrated in a TimeframeFacet.
7
- * @internal
8
- */
9
- export declare class FacetDateInput {
10
- private start?;
11
- private end?;
12
- private startRef;
13
- private endRef;
14
- bindings: AnyBindings;
15
- rangeGetter: () => DateFilterRange | undefined;
16
- rangeSetter: (range: DateRangeRequest) => void;
17
- facetId: string;
18
- label: string;
19
- min?: string;
20
- max?: string;
21
- /**
22
- * @migration Stencil's @Event() decorator defaults to: bubbles=true, composed=true, cancelable=true.
23
- * Native CustomEvent defaults to: bubbles=false, composed=false, cancelable=false.
24
- * When migrating to Lit, explicitly set all three options to preserve behavior:
25
- * `new CustomEvent('atomic/dateInputApply', { bubbles: true, composed: true, cancelable: true, detail: ... })`
26
- */
27
- private applyInput;
28
- connectedCallback(): void;
29
- componentDidUpdate(): void;
30
- private apply;
31
- private formattedDateValue;
32
- render(): any;
33
- }
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface FacetGuardProps {
3
- hasError: boolean;
4
- enabled: boolean;
5
- firstSearchExecuted: boolean;
6
- hasResults: boolean;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const FacetGuard: FunctionalComponent<FacetGuardProps>;
12
- export {};