@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
@@ -0,0 +1,42 @@
1
+ import type { GeneratedAnswerCitation } from '@coveo/headless';
2
+ import { LitElement, type nothing, type PropertyValues, type TemplateResult } from 'lit';
3
+ import "../atomic-generated-answer-thread-item/atomic-generated-answer-thread-item";
4
+ import "../atomic-answer-content/atomic-answer-content";
5
+ import type { i18n } from 'i18next';
6
+ import type { GeneratedAnswer } from "../atomic-answer-content/atomic-answer-content";
7
+ /**
8
+ * The `atomic-generated-answers-thread` component is responsible for rendering a thread of generated answers.
9
+ * @internal
10
+ */
11
+ export declare class AtomicGeneratedAnswersThread extends LitElement {
12
+ /**
13
+ * The list of generated answers to render in the thread.
14
+ */
15
+ generatedAnswers: GeneratedAnswer[];
16
+ /**
17
+ * The i18next instance used to translate UI labels.
18
+ */
19
+ i18n: i18n;
20
+ /**
21
+ * A render function responsible for displaying the citations of a single answer.
22
+ */
23
+ renderCitations: (citations: GeneratedAnswerCitation[]) => TemplateResult | typeof nothing;
24
+ /**
25
+ * Callback invoked when the user clicks the "like" feedback button of a specific answer.
26
+ */
27
+ onClickLike: (answerId: string) => void;
28
+ /**
29
+ * Callback invoked when the user clicks the "dislike" feedback button of a specific answer.
30
+ */
31
+ onClickDislike: (answerId: string) => void;
32
+ /**
33
+ * Callback invoked after the text of a specific answer has been successfully copied.
34
+ */
35
+ onCopyToClipboard: (answerId: string) => void;
36
+ private allGeneratedAnswersDisplayed;
37
+ updated(changedProperties: PropertyValues<this>): void;
38
+ render(): TemplateResult<1>;
39
+ private renderThread;
40
+ private handleShowAllClick;
41
+ private renderShowPreviousAnswersButton;
42
+ }
@@ -0,0 +1,16 @@
1
+ import type { GenerationStep } from '@coveo/headless';
2
+ import type { i18n } from 'i18next';
3
+ import type { FunctionalComponent } from "../../../utils/functional-component-utils";
4
+ export interface RenderAgentGenerationStepsProps {
5
+ i18n: i18n;
6
+ agentSteps: GenerationStep[];
7
+ isStreaming: boolean;
8
+ }
9
+ /**
10
+ * @internal
11
+ */
12
+ export declare const renderAgentGenerationSteps: FunctionalComponent<RenderAgentGenerationStepsProps>;
13
+ /**
14
+ * Returns the current generation-step localization key.
15
+ */
16
+ export declare function getCurrentStepKey(generationSteps: GenerationStep[]): string | undefined;
@@ -4,10 +4,9 @@ import type { TemplateResult } from 'lit';
4
4
  import { nothing } from 'lit';
5
5
  import type { FunctionalComponent } from "../../../utils/functional-component-utils";
6
6
  import "../atomic-icon/atomic-icon";
7
- interface GeneratedAnswer extends GeneratedAnswerBase {
8
- question: string;
7
+ type GeneratedAnswer = GeneratedAnswerBase & {
9
8
  expanded?: boolean;
10
- }
9
+ };
11
10
  export interface RenderAnswerContentProps {
12
11
  i18n: i18n;
13
12
  generatedAnswer: GeneratedAnswer;
@@ -18,7 +17,7 @@ export interface RenderAnswerContentProps {
18
17
  onClickShowButton: () => void;
19
18
  }
20
19
  /**
21
- * Renders the answer content of a given generated answer including question, answer text, and citations.
20
+ * Renders the answer content of a given generated answer including answer text and citations.
22
21
  */
23
22
  export declare const renderAnswerContent: FunctionalComponent<RenderAnswerContentProps>;
24
23
  export {};
@@ -1,6 +1,7 @@
1
- import { Result } from '@coveo/headless';
2
- import { InitializableComponent } from '../../../utils/initialization-utils';
3
- import { InsightBindings } from '../atomic-insight-interface/atomic-insight-interface';
1
+ import type { Result } from '@coveo/headless';
2
+ import { LitElement } from 'lit';
3
+ import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
4
+ import type { InitializableComponent } from "../../../decorators/types";
4
5
  export interface InsightResultActionClickedEvent {
5
6
  action: string;
6
7
  result: Result;
@@ -12,22 +13,21 @@ export declare enum Actions {
12
13
  PostToFeed = "postToFeed",
13
14
  SendAsEmail = "sendAsEmail"
14
15
  }
16
+ declare const AtomicInsightResultAction_base: import("../../../mixins/mixin-common").Constructor<{
17
+ injectStyles(dynamicStyles?: import("lit").CSSResultGroup): Promise<void>;
18
+ }> & typeof LitElement;
15
19
  /**
16
- * @internal
20
+ * The `atomic-insight-result-action` component renders an interactive action button for insight results.
21
+ *
22
+ * @part result-action-container - The result action container
23
+ * @part result-action-button - The result action button
24
+ * @part result-action-icon - The result action icon
25
+ * @event atomicInsightResultActionClicked - Fired when the action button is clicked. The event detail contains the action type and the result object.
17
26
  */
18
- export declare class AtomicInsightResultAction implements InitializableComponent<InsightBindings> {
19
- bindings: InsightBindings;
20
- private result;
21
- error: Error;
22
- /**
23
- * @migration Stencil's @Event() decorator defaults to: bubbles=true, composed=true, cancelable=true.
24
- * Native CustomEvent defaults to: bubbles=false, composed=false, cancelable=false.
25
- * When migrating to Lit, explicitly set all three options to preserve behavior:
26
- * `new CustomEvent('atomicInsightResultActionClicked', { bubbles: true, composed: true, cancelable: true, detail: ... })`
27
- */
28
- private actionClicked;
27
+ export declare class AtomicInsightResultAction extends AtomicInsightResultAction_base implements InitializableComponent<InsightBindings> {
28
+ static styles: import("lit").CSSResult;
29
29
  /**
30
- * Specify the result action icon to display.
30
+ * The result action icon to display.
31
31
  */
32
32
  icon: string;
33
33
  /**
@@ -39,12 +39,27 @@ export declare class AtomicInsightResultAction implements InitializableComponent
39
39
  */
40
40
  tooltipOnClick: string;
41
41
  /**
42
- * The type of action to perform when the result action is clicked. This will be sent along the event fired when the button is clicked.
42
+ * The type of action to perform when the result action is clicked.
43
+ * This will be sent along the event fired when the button is clicked.
43
44
  */
44
45
  action: Actions | string;
46
+ bindings: InsightBindings;
47
+ error: Error;
48
+ private currentTooltip;
49
+ private itemContextController;
45
50
  private actions;
51
+ private tooltipResetTimeout?;
52
+ constructor();
53
+ disconnectedCallback(): void;
54
+ private get result();
46
55
  initialize(): void;
47
56
  private onClick;
48
57
  private getIcon;
49
- render(): any;
58
+ render(): typeof import("lit-html").nothing | import("lit-html").TemplateResult | null;
59
+ }
60
+ declare global {
61
+ interface HTMLElementTagNameMap {
62
+ 'atomic-insight-result-action': AtomicInsightResultAction;
63
+ }
50
64
  }
65
+ export {};
@@ -3,6 +3,7 @@ import type { ItemDisplayImageSize } from "../../common/layout/item-layout-utils
3
3
  import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
4
4
  import type { InitializableComponent } from "../../../decorators/types";
5
5
  import "../atomic-insight-result/atomic-insight-result";
6
+ import "../atomic-insight-result-children-template/atomic-insight-result-children-template";
6
7
  /**
7
8
  * The `atomic-insight-result-children` component is responsible for displaying child results by applying one or more child result templates.
8
9
  * It includes two slots, `before-children` and `after-children`, which allow for rendering content before and after the list of children,
@@ -0,0 +1,62 @@
1
+ import type { ResultTemplate as InsightResultTemplate, ResultTemplateCondition as InsightResultTemplateCondition } from '@coveo/headless/insight';
2
+ import { LitElement } from 'lit';
3
+ import type { LitElementWithError } from "../../../decorators/types";
4
+ /**
5
+ * The `atomic-insight-result-children-template` component determines the display format of child results within an `atomic-insight-result-children` component.
6
+ *
7
+ * @slot default - The `<template>` element defining the layout of child results.
8
+ */
9
+ export declare class AtomicInsightResultChildrenTemplate extends LitElement implements LitElementWithError {
10
+ error: Error;
11
+ /**
12
+ * An array of functions that must each return `true` for this template to apply to a child result.
13
+ * Set programmatically before initialization, not via attribute.
14
+ *
15
+ * For example, the following targets a template and sets a condition to make it apply only to child results whose `title` contains `singapore`:
16
+ * `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`
17
+ */
18
+ conditions: InsightResultTemplateCondition[];
19
+ /**
20
+ * The field that, when defined on a child result, allows this template to be applied.
21
+ *
22
+ * For example, a template with the following attribute only applies to child results whose `filetype` and `sourcetype` fields are defined:
23
+ * `if-defined="filetype,sourcetype"`
24
+ */
25
+ ifDefined?: string;
26
+ /**
27
+ * The field that, when defined on a child result, prevents this template from being applied.
28
+ *
29
+ * For example, a template with the following attribute only applies to child results whose `filetype` and `sourcetype` fields are NOT defined:
30
+ * `if-not-defined="filetype,sourcetype"`
31
+ */
32
+ ifNotDefined?: string;
33
+ /**
34
+ * The field and values that define which child results this template applies to.
35
+ *
36
+ * For example, a template with the following attribute only applies to child results whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype="lithiummessage,YouTubePlaylist"`
37
+ * @type {Record<string, string[]>}
38
+ * @default {}
39
+ */
40
+ mustMatch: Record<string, string[]>;
41
+ /**
42
+ * The field and values that exclude child results from this template.
43
+ *
44
+ * For example, a template with the following attribute only applies to child results whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage"`
45
+ * @type {Record<string, string[]>}
46
+ * @default {}
47
+ */
48
+ mustNotMatch: Record<string, string[]>;
49
+ private resultTemplateController;
50
+ constructor();
51
+ connectedCallback(): void;
52
+ render(): symbol;
53
+ /**
54
+ * Returns the result template to apply to a child result, based on all defined conditions.
55
+ */
56
+ getTemplate(): Promise<InsightResultTemplate<DocumentFragment> | null>;
57
+ }
58
+ declare global {
59
+ interface HTMLElementTagNameMap {
60
+ 'atomic-insight-result-children-template': AtomicInsightResultChildrenTemplate;
61
+ }
62
+ }
@@ -1,26 +1,31 @@
1
- import { DateFacet as InsightDateFacet, DateFacetState as InsightDateFacetState, DateFilter as InsightDateFilter, DateFilterState as InsightDateFilterState, SearchStatus as InsightSearchStatus, SearchStatusState as InsightSearchStatusState, RangeFacetSortCriterion as InsightRangeFacetSortCriterion } from '@coveo/headless/insight';
2
- import { InitializableComponent } from '../../../utils/initialization-utils';
3
- import { InsightBindings } from '../atomic-insight-interface/atomic-insight-interface';
1
+ import { type RangeFacetSortCriterion, type SearchStatus, type SearchStatusState } from '@coveo/headless/insight';
2
+ import { type CSSResultGroup, LitElement } from 'lit';
3
+ import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
4
+ import type { InitializableComponent } from "../../../decorators/types";
4
5
  /**
5
- * @internal
6
+ * The `atomic-insight-timeframe-facet` component displays a facet of results for the current query as date intervals.
7
+ *
8
+ * @slot default - The atomic-timeframe components defining the timeframes to display.
9
+ *
10
+ * @part facet - The wrapper for the entire facet.
11
+ * @part placeholder - The placeholder shown before the first search is executed.
12
+ * @part label-button - The button that displays the label and allows to expand/collapse the facet.
13
+ * @part label-button-icon - The label button icon.
14
+ * @part clear-button - The button that resets the actively selected facet values.
15
+ * @part clear-button-icon - The clear button icon.
16
+ * @part values - The facet values container.
17
+ * @part value-link - A facet value button.
18
+ * @part value-link-selected - A selected facet value button.
19
+ * @part value-count - The result count for a facet value.
20
+ * @part value-label - The label text of a facet value.
21
+ * @part input-start - The starting value of the custom date range.
22
+ * @part input-end - The ending value of the custom date range.
23
+ * @part input-label - The label for both the start and end input.
24
+ * @part input-apply-button - The apply button for the custom range.
6
25
  */
7
- export declare class AtomicInsightTimeframeFacet implements InitializableComponent<InsightBindings> {
8
- bindings: InsightBindings;
9
- facetForDateRange?: InsightDateFacet;
10
- facetForDatePicker?: InsightDateFacet;
11
- private timeframeFacetCommon?;
12
- filter?: InsightDateFilter;
13
- searchStatus: InsightSearchStatus;
14
- private host;
15
- facetState: InsightDateFacetState;
16
- facetForDatePickerState?: InsightDateFacetState;
17
- filterState?: InsightDateFilterState;
18
- searchStatusState: InsightSearchStatusState;
19
- error: Error;
20
- /**
21
- * Specifies a unique identifier for the facet.
22
- */
23
- facetId?: string;
26
+ export declare class AtomicInsightTimeframeFacet extends LitElement implements InitializableComponent<InsightBindings> {
27
+ private static readonly propsSchema;
28
+ static styles: CSSResultGroup;
24
29
  /**
25
30
  * The non-localized label for the facet.
26
31
  * Used in the atomic-breadbox component through the bindings store.
@@ -31,11 +36,11 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
31
36
  */
32
37
  field: string;
33
38
  /**
34
- * Whether this facet should contain a date picker allowing users to set custom ranges.
39
+ * Whether this facet should contain a datepicker allowing users to set custom ranges.
35
40
  */
36
41
  withDatePicker: boolean;
37
42
  /**
38
- * Specifies if the facet is collapsed.
43
+ * Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
39
44
  */
40
45
  isCollapsed: boolean;
41
46
  /**
@@ -45,7 +50,6 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
45
50
  /**
46
51
  * Whether to exclude the parents of folded results when estimating the result count for each facet value.
47
52
  *
48
- *
49
53
  * Note: Resulting count is only an estimation, in some cases this value could be incorrect.
50
54
  */
51
55
  filterFacetCount: boolean;
@@ -80,14 +84,29 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
80
84
  * The sort criterion to apply to the returned facet values.
81
85
  * Possible values are 'ascending' and 'descending'.
82
86
  */
83
- sortCriteria: InsightRangeFacetSortCriterion;
87
+ sortCriteria: RangeFacetSortCriterion;
88
+ /**
89
+ * Specifies a unique identifier for the facet.
90
+ */
91
+ facetId?: string;
92
+ bindings: InsightBindings;
93
+ error: Error;
94
+ searchStatusState: SearchStatusState;
95
+ searchStatus: SearchStatus;
84
96
  private headerFocus?;
85
- initialize(): void;
97
+ private timeframeFacetCommon?;
98
+ constructor();
86
99
  private get focusTarget();
100
+ initialize(): void;
87
101
  disconnectedCallback(): void;
88
102
  private initializeFacetForDatePicker;
89
103
  private initializeFacetForDateRange;
90
104
  private initializeFilter;
91
- applyDateInput(): void;
92
- render(): any;
105
+ private handleDateInputApply;
106
+ protected render(): import("lit-html").TemplateResult<1>;
107
+ }
108
+ declare global {
109
+ interface HTMLElementTagNameMap {
110
+ 'atomic-insight-timeframe-facet': AtomicInsightTimeframeFacet;
111
+ }
93
112
  }
@@ -15,10 +15,12 @@ export { AtomicInsightQuerySummary } from './atomic-insight-query-summary/atomic
15
15
  export { AtomicInsightRefineModal } from './atomic-insight-refine-modal/atomic-insight-refine-modal.js';
16
16
  export { AtomicInsightRefineToggle } from './atomic-insight-refine-toggle/atomic-insight-refine-toggle.js';
17
17
  export { AtomicInsightResult } from './atomic-insight-result/atomic-insight-result.js';
18
+ export { AtomicInsightResultAction } from './atomic-insight-result-action/atomic-insight-result-action.js';
18
19
  export { AtomicInsightResultActionBar } from './atomic-insight-result-action-bar/atomic-insight-result-action-bar.js';
19
20
  export { AtomicInsightResultAttachToCaseAction } from './atomic-insight-result-attach-to-case-action/atomic-insight-result-attach-to-case-action.js';
20
21
  export { AtomicInsightResultAttachToCaseIndicator } from './atomic-insight-result-attach-to-case-indicator/atomic-insight-result-attach-to-case-indicator.js';
21
22
  export { AtomicInsightResultChildren } from './atomic-insight-result-children/atomic-insight-result-children.js';
23
+ export { AtomicInsightResultChildrenTemplate } from './atomic-insight-result-children-template/atomic-insight-result-children-template.js';
22
24
  export { AtomicInsightResultList } from './atomic-insight-result-list/atomic-insight-result-list.js';
23
25
  export { AtomicInsightResultQuickviewAction } from './atomic-insight-result-quickview-action/atomic-insight-result-quickview-action.js';
24
26
  export { AtomicInsightResultTemplate } from './atomic-insight-result-template/atomic-insight-result-template.js';
@@ -28,6 +30,7 @@ export { AtomicInsightSmartSnippetFeedbackModal } from './atomic-insight-smart-s
28
30
  export { AtomicInsightSmartSnippetSuggestions } from './atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js';
29
31
  export { AtomicInsightTab } from './atomic-insight-tab/atomic-insight-tab.js';
30
32
  export { AtomicInsightTabs } from './atomic-insight-tabs/atomic-insight-tabs.js';
33
+ export { AtomicInsightTimeframeFacet } from './atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.js';
31
34
  export { AtomicInsightUserActionsModal } from './atomic-insight-user-actions-modal/atomic-insight-user-actions-modal.js';
32
35
  export { AtomicInsightUserActionsSession } from './atomic-insight-user-actions-session/atomic-insight-user-actions-session.js';
33
36
  export { AtomicInsightUserActionsTimeline } from './atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js';
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import type { AnyBindings } from "../../common/interface/bindings";
3
- import { type AtomicInterface } from "../../../utils/initialization-lit-stencil-common-utils";
3
+ import { type AtomicInterface } from "../../../utils/initialization-common-utils";
4
4
  declare const AtomicExternal_base: typeof LitElement;
5
5
  /**
6
6
  * The `atomic-external` component allows components defined outside of the `atomic-search-interface` to initialize.
@@ -1,7 +1,8 @@
1
- import { type GeneratedAnswer, type SearchStatus, type TabManager, type TabManagerState } from '@coveo/headless';
1
+ import { type GeneratedAnswer, type GeneratedAnswerWithFollowUps, type SearchStatus, type TabManager, type TabManagerState } from '@coveo/headless';
2
2
  import { LitElement, nothing, type PropertyValueMap } from 'lit';
3
3
  import type { Bindings } from "../atomic-search-interface/atomic-search-interface";
4
4
  import type { InitializableComponent } from "../../../decorators/types";
5
+ import "../../common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.js";
5
6
  /**
6
7
  * The `atomic-generated-answer` component uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.
7
8
  * For more information, see [About Relevance Generative Answering (RGA)](https://docs.coveo.com/en/n9de0370/)
@@ -113,7 +114,7 @@ export declare class AtomicGeneratedAnswer extends LitElement implements Initial
113
114
  bindings: Bindings;
114
115
  error: Error;
115
116
  private generatedAnswerState;
116
- generatedAnswer: GeneratedAnswer;
117
+ generatedAnswer: GeneratedAnswer | GeneratedAnswerWithFollowUps;
117
118
  private searchStatusState;
118
119
  searchStatus: SearchStatus;
119
120
  tabManagerState: TabManagerState;
@@ -147,7 +148,15 @@ export declare class AtomicGeneratedAnswer extends LitElement implements Initial
147
148
  private renderCitationsList;
148
149
  private renderFeedbackAndCopyButtonsWrapper;
149
150
  private renderAnswerContent;
151
+ private get hasAgentId();
152
+ private get generatedAnswerWithFollowUps();
153
+ private get areFollowUpsEnabled();
154
+ private get isCollapsibleEnabled();
155
+ private resetCollapsibleStyles;
150
156
  private renderCardHeaderWrapper;
157
+ private get isAnswerGenerationOngoing();
158
+ private handleAskFollowUp;
159
+ private renderAskFollowUpInputWrapper;
151
160
  }
152
161
  declare global {
153
162
  interface HTMLElementTagNameMap {