@coveo/atomic 3.33.2-pre.8a6d9083d3 → 3.33.2-pre.9b6ad522eb

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 (468) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/atomic.esm.js.map +1 -1
  3. package/dist/atomic/components/_index.d.ts +2 -0
  4. package/dist/atomic/components/_index.js +1 -0
  5. package/dist/atomic/components/analytics-config.js +2 -2
  6. package/dist/atomic/components/atomic-category-facet.js +1 -1
  7. package/dist/atomic/components/atomic-citation.js +1 -1
  8. package/dist/atomic/components/atomic-citation.js.map +1 -1
  9. package/dist/atomic/components/atomic-facet-manager.js +1 -1
  10. package/dist/atomic/components/atomic-facet.js +1 -1
  11. package/dist/atomic/components/atomic-format-currency.js +1 -1
  12. package/dist/atomic/components/atomic-format-number.js +1 -1
  13. package/dist/atomic/components/atomic-format-unit.js +1 -1
  14. package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +1 -1
  15. package/dist/atomic/components/atomic-generated-answer-feedback-modal.js.map +1 -1
  16. package/dist/atomic/components/atomic-html2.js +1 -1
  17. package/dist/atomic/components/atomic-insight-edit-toggle.js +1 -1
  18. package/dist/atomic/components/atomic-insight-facet.js +1 -1
  19. package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
  20. package/dist/atomic/components/atomic-insight-full-search-button.js +1 -1
  21. package/dist/atomic/components/atomic-insight-history-toggle.js +1 -1
  22. package/dist/atomic/components/atomic-insight-interface.d.ts +11 -0
  23. package/dist/atomic/components/atomic-insight-interface.js +332 -0
  24. package/dist/atomic/components/atomic-insight-interface.js.map +1 -0
  25. package/dist/atomic/components/atomic-insight-layout.js +1 -80
  26. package/dist/atomic/components/atomic-insight-layout.js.map +1 -1
  27. package/dist/atomic/components/atomic-insight-no-results.js +1 -1
  28. package/dist/atomic/components/atomic-insight-numeric-facet.js +1 -1
  29. package/dist/atomic/components/atomic-insight-pager.js +3 -3
  30. package/dist/atomic/components/atomic-insight-query-error.js +1 -1
  31. package/dist/atomic/components/atomic-insight-refine-modal2.js +2 -2
  32. package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
  33. package/dist/atomic/components/atomic-insight-result-action.js +1 -1
  34. package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +1 -1
  35. package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +1 -1
  36. package/dist/atomic/components/atomic-insight-result-children.js +1 -1
  37. package/dist/atomic/components/atomic-insight-result-list.js +1 -1
  38. package/dist/atomic/components/atomic-insight-result-quickview-action.js +1 -1
  39. package/dist/atomic/components/atomic-insight-result2.js +1 -1
  40. package/dist/atomic/components/atomic-insight-search-box.js +2 -2
  41. package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
  42. package/dist/atomic/components/atomic-insight-tabs.js +1 -1
  43. package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
  44. package/dist/atomic/components/atomic-insight-user-actions-timeline2.js.map +1 -1
  45. package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
  46. package/dist/atomic/components/atomic-insight-user-actions-toggle.js.map +1 -1
  47. package/dist/atomic/components/atomic-ipx-body2.js +2 -2
  48. package/dist/atomic/components/atomic-ipx-button.js +2 -2
  49. package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
  50. package/dist/atomic/components/atomic-ipx-modal.js +2 -2
  51. package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
  52. package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
  53. package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
  54. package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
  55. package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
  56. package/dist/atomic/components/atomic-load-more-results.js +1 -1
  57. package/dist/atomic/components/atomic-modal2.js +2 -2
  58. package/dist/atomic/components/atomic-no-results.js +1 -1
  59. package/dist/atomic/components/atomic-numeric-facet.js +1 -1
  60. package/dist/atomic/components/atomic-pager.js +3 -3
  61. package/dist/atomic/components/atomic-query-error.js +1 -1
  62. package/dist/atomic/components/atomic-query-summary.js +1 -1
  63. package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
  64. package/dist/atomic/components/atomic-quickview.js +1 -1
  65. package/dist/atomic/components/atomic-recs-error.js +1 -1
  66. package/dist/atomic/components/atomic-recs-interface.js +2 -2
  67. package/dist/atomic/components/atomic-recs-list.js +1 -1
  68. package/dist/atomic/components/atomic-refine-modal2.js +1 -1
  69. package/dist/atomic/components/atomic-refine-toggle.js +1 -1
  70. package/dist/atomic/components/atomic-relevance-inspector2.js +2 -2
  71. package/dist/atomic/components/atomic-result-children.js +1 -1
  72. package/dist/atomic/components/atomic-result-fields-list.js +1 -1
  73. package/dist/atomic/components/atomic-result-link.js +1 -1
  74. package/dist/atomic/components/atomic-result-list.js +1 -1
  75. package/dist/atomic/components/atomic-result-placeholder2.js +2 -2
  76. package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
  77. package/dist/atomic/components/atomic-search-box-instant-results.js +1 -1
  78. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
  79. package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
  80. package/dist/atomic/components/atomic-search-box.js +4 -4
  81. package/dist/atomic/components/atomic-search-interface.js +1 -1
  82. package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
  83. package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
  84. package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
  85. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  86. package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
  87. package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
  88. package/dist/atomic/components/atomic-sort-expression.js +1 -1
  89. package/dist/atomic/components/atomic-stencil-facet-date-input.js +3 -3
  90. package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
  91. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  92. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +2 -2
  93. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +2 -2
  94. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.js +1 -0
  95. package/dist/atomic/components/components/common/expandable-text/expandable-text.js +1 -1
  96. package/dist/atomic/components/components/insight/index.js +1 -2
  97. package/dist/atomic/components/components/insight/lazy-index.js +1 -3
  98. package/dist/atomic/components/facet-number-input.js +2 -2
  99. package/dist/atomic/components/global/environment.js +1 -1
  100. package/dist/atomic/components/index.js.map +1 -1
  101. package/dist/atomic/components/insight-layout.js +87 -0
  102. package/dist/atomic/components/insight-layout.js.map +1 -0
  103. package/dist/atomic/components/tab-button.js +1 -1
  104. package/dist/atomic/components/tab-popover.js +1 -1
  105. package/dist/atomic/{p-81b6d12c.entry.js → p-0368a213.entry.js} +2 -2
  106. package/dist/atomic/{p-9507e1bc.entry.js → p-05ab5909.entry.js} +2 -2
  107. package/dist/atomic/p-05e9040f.entry.js +2 -0
  108. package/dist/atomic/p-05e9040f.entry.js.map +1 -0
  109. package/dist/atomic/{p-39698267.entry.js → p-069bf2b9.entry.js} +2 -2
  110. package/dist/atomic/{p-681610d3.entry.js → p-09924944.entry.js} +2 -2
  111. package/dist/atomic/{p-cd8f11ea.entry.js → p-0c9b553c.entry.js} +2 -2
  112. package/dist/atomic/{p-dac69bca.entry.js → p-100da102.entry.js} +2 -2
  113. package/dist/atomic/p-12f4bbea.entry.js +2 -0
  114. package/dist/atomic/{p-8187b910.entry.js.map → p-12f4bbea.entry.js.map} +1 -1
  115. package/dist/atomic/{p-f076efa7.entry.js → p-13e67ab3.entry.js} +2 -2
  116. package/dist/atomic/{p-c69ae97a.entry.js → p-15d952f3.entry.js} +2 -2
  117. package/dist/atomic/{p-edf102d6.entry.js → p-1a79c944.entry.js} +2 -2
  118. package/dist/atomic/p-1a79c944.entry.js.map +1 -0
  119. package/dist/atomic/{p-6bea42e6.entry.js → p-1c2d25ba.entry.js} +2 -2
  120. package/dist/atomic/{p-3c7ed752.entry.js → p-1c3363ec.entry.js} +2 -2
  121. package/dist/atomic/{p-b1c9b043.entry.js → p-1d091f9a.entry.js} +2 -2
  122. package/dist/atomic/{p-8b8eb35f.entry.js → p-258c3253.entry.js} +2 -2
  123. package/dist/atomic/{p-09953fee.entry.js → p-26098930.entry.js} +2 -2
  124. package/dist/atomic/{p-182a3f9e.entry.js → p-26ad479b.entry.js} +2 -2
  125. package/dist/atomic/{p-f79f31f8.entry.js → p-2c7d4967.entry.js} +2 -2
  126. package/dist/atomic/p-2caa1859.js +2 -0
  127. package/dist/atomic/p-2caa1859.js.map +1 -0
  128. package/dist/atomic/{p-bbed84f9.entry.js → p-2d3ef0f7.entry.js} +2 -2
  129. package/dist/atomic/{p-6b297a61.entry.js → p-2e91aea8.entry.js} +2 -2
  130. package/dist/atomic/{p-e20c18f0.entry.js → p-3af5e810.entry.js} +2 -2
  131. package/dist/atomic/p-412b233b.entry.js +2 -0
  132. package/dist/atomic/p-412b233b.entry.js.map +1 -0
  133. package/dist/atomic/{p-d1e5e2d7.entry.js → p-496da1c9.entry.js} +2 -2
  134. package/dist/atomic/{p-87747240.entry.js → p-4c7654eb.entry.js} +2 -2
  135. package/dist/atomic/{p-17564517.entry.js → p-500248e1.entry.js} +2 -2
  136. package/dist/atomic/{p-3e7ea7a5.entry.js → p-5027d796.entry.js} +2 -2
  137. package/dist/atomic/{p-f45a7b82.entry.js → p-50467793.entry.js} +2 -2
  138. package/dist/atomic/{p-bfb23490.entry.js → p-5138d839.entry.js} +2 -2
  139. package/dist/atomic/{p-ba9b2923.entry.js → p-516b5bd4.entry.js} +2 -2
  140. package/dist/atomic/p-52121e1e.entry.js +2 -0
  141. package/dist/atomic/{p-c9b1568b.entry.js → p-5225eb50.entry.js} +2 -2
  142. package/dist/atomic/{p-a0d04767.entry.js → p-552d1f66.entry.js} +2 -2
  143. package/dist/atomic/{p-2c64e9a2.entry.js → p-571c9614.entry.js} +2 -2
  144. package/dist/atomic/{p-c15fc656.entry.js → p-57b47b73.entry.js} +2 -2
  145. package/dist/atomic/{p-24c2110b.entry.js → p-58610952.entry.js} +2 -2
  146. package/dist/atomic/{p-0dc6ebf8.entry.js → p-5c995d77.entry.js} +2 -2
  147. package/dist/atomic/{p-7bff27b2.entry.js → p-612155f0.entry.js} +2 -2
  148. package/dist/atomic/{p-cbeca949.entry.js → p-633628d5.entry.js} +2 -2
  149. package/dist/atomic/{p-31e55d26.entry.js → p-6ad1adfb.entry.js} +2 -2
  150. package/dist/atomic/{p-43a0f6e2.entry.js → p-737f842d.entry.js} +2 -2
  151. package/dist/atomic/{p-e50b1d73.entry.js → p-79499898.entry.js} +2 -2
  152. package/dist/atomic/{p-0dac8e7b.entry.js → p-80055cf6.entry.js} +2 -2
  153. package/dist/atomic/{p-943b29c2.entry.js → p-82a8cf74.entry.js} +2 -2
  154. package/dist/atomic/{p-57c90e5f.entry.js → p-84befe35.entry.js} +2 -2
  155. package/dist/atomic/{p-57c90e5f.entry.js.map → p-84befe35.entry.js.map} +1 -1
  156. package/dist/atomic/{p-c434b50f.entry.js → p-875583aa.entry.js} +2 -2
  157. package/dist/atomic/{p-c81d1971.entry.js → p-88e4a2f9.entry.js} +2 -2
  158. package/dist/atomic/{p-c1721cb2.entry.js → p-896724e9.entry.js} +2 -2
  159. package/dist/atomic/{p-455fbbd7.entry.js → p-8b70f39a.entry.js} +2 -2
  160. package/dist/atomic/p-8ef0e022.entry.js +2 -0
  161. package/dist/atomic/{p-be6251ac.js → p-96f45065.js} +2 -2
  162. package/dist/atomic/{p-770da48e.entry.js → p-a14fd4de.entry.js} +2 -2
  163. package/dist/atomic/{p-e9922d7c.entry.js → p-a2714d7e.entry.js} +2 -2
  164. package/dist/atomic/{p-7753ae27.entry.js → p-a3a1f8e9.entry.js} +2 -2
  165. package/dist/atomic/{p-f30c4c7d.entry.js → p-a7dcf131.entry.js} +2 -2
  166. package/dist/atomic/p-a7dcf131.entry.js.map +1 -0
  167. package/dist/atomic/{p-971a8a73.entry.js → p-aa40956c.entry.js} +2 -2
  168. package/dist/atomic/{p-429270f6.entry.js → p-ab627e18.entry.js} +2 -2
  169. package/dist/atomic/{p-d6d0a47f.entry.js → p-aff3a66a.entry.js} +2 -2
  170. package/dist/atomic/{p-156aa33a.entry.js → p-b0bd2709.entry.js} +2 -2
  171. package/dist/atomic/{p-70c431f9.entry.js → p-b103b28a.entry.js} +2 -2
  172. package/dist/atomic/{p-db6034e2.entry.js → p-b328cab9.entry.js} +2 -2
  173. package/dist/atomic/{p-caabedeb.entry.js → p-b7f38541.entry.js} +2 -2
  174. package/dist/atomic/p-b7f38541.entry.js.map +1 -0
  175. package/dist/atomic/{p-45e88039.entry.js → p-b97abfb9.entry.js} +2 -2
  176. package/dist/atomic/{p-1d8eba10.entry.js → p-bfdecd0f.entry.js} +2 -2
  177. package/dist/atomic/{p-e67dabc9.entry.js → p-c3746d6e.entry.js} +2 -2
  178. package/dist/atomic/{p-52b66ca8.entry.js → p-c61609ea.entry.js} +2 -2
  179. package/dist/atomic/{p-a5751bb0.entry.js → p-c667812c.entry.js} +2 -2
  180. package/dist/atomic/{p-3a994997.entry.js → p-c9fa8526.entry.js} +2 -2
  181. package/dist/atomic/{p-c572a219.entry.js → p-cb051c21.entry.js} +2 -2
  182. package/dist/atomic/{p-11fc3a7b.entry.js → p-cbb819d2.entry.js} +2 -2
  183. package/dist/atomic/{p-fa1dcc3e.entry.js → p-cdd70f49.entry.js} +2 -2
  184. package/dist/atomic/{p-fe23b0b3.entry.js → p-ce83d873.entry.js} +2 -2
  185. package/dist/atomic/{p-117be4a4.entry.js → p-ce9e510c.entry.js} +2 -2
  186. package/dist/atomic/{p-05a3e5a4.entry.js → p-d1d2d945.entry.js} +2 -2
  187. package/dist/atomic/{p-d1caf040.entry.js → p-d5071b5a.entry.js} +2 -2
  188. package/dist/atomic/{p-8baf4780.entry.js → p-df2df66a.entry.js} +2 -2
  189. package/dist/atomic/{p-fce653a1.entry.js → p-e750df14.entry.js} +2 -2
  190. package/dist/atomic/{p-104c7d84.entry.js → p-ef22a3f2.entry.js} +2 -2
  191. package/dist/atomic/{p-d3b5c8e5.entry.js → p-f39de057.entry.js} +2 -2
  192. package/dist/atomic/{p-af487ad9.entry.js → p-fc6beee6.entry.js} +2 -2
  193. package/dist/cjs/_loader.cjs.js +1 -1
  194. package/dist/cjs/{analytics-config-0e22a0c9.js → analytics-config-6970332b.js} +2 -2
  195. package/dist/cjs/{analytics-config-0e22a0c9.js.map → analytics-config-6970332b.js.map} +1 -1
  196. package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
  197. package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
  198. package/dist/cjs/atomic-citation.cjs.entry.js.map +1 -1
  199. package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
  200. package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
  201. package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
  202. package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
  203. package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
  204. package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
  205. package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
  206. package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
  207. package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js.map +1 -1
  208. package/dist/cjs/atomic-html.cjs.entry.js +1 -1
  209. package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
  210. package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
  211. package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
  212. package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
  213. package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
  214. package/dist/cjs/atomic-insight-interface.cjs.entry.js +307 -0
  215. package/dist/cjs/atomic-insight-interface.cjs.entry.js.map +1 -0
  216. package/dist/cjs/atomic-insight-layout.cjs.entry.js +4 -82
  217. package/dist/cjs/atomic-insight-layout.cjs.entry.js.map +1 -1
  218. package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
  219. package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
  220. package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
  221. package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
  222. package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
  223. package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
  224. package/dist/cjs/atomic-insight-result-action.cjs.entry.js +1 -1
  225. package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +1 -1
  226. package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +1 -1
  227. package/dist/cjs/atomic-insight-result-children.cjs.entry.js +1 -1
  228. package/dist/cjs/atomic-insight-result-list.cjs.entry.js +1 -1
  229. package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +1 -1
  230. package/dist/cjs/atomic-insight-result.cjs.entry.js +1 -1
  231. package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
  232. package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  233. package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
  234. package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
  235. package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js.map +1 -1
  236. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
  237. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js.map +1 -1
  238. package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
  239. package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
  240. package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
  241. package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
  242. package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
  243. package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
  244. package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
  245. package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
  246. package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
  247. package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
  248. package/dist/cjs/atomic-no-results.cjs.entry.js +1 -1
  249. package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
  250. package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
  251. package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
  252. package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
  253. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
  254. package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
  255. package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
  256. package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
  257. package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
  258. package/dist/cjs/atomic-refine-modal.cjs.entry.js +1 -1
  259. package/dist/cjs/atomic-refine-toggle.cjs.entry.js +1 -1
  260. package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +2 -2
  261. package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
  262. package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
  263. package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
  264. package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
  265. package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js +3 -3
  266. package/dist/cjs/atomic-search-box-instant-results.cjs.entry.js +1 -1
  267. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
  268. package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
  269. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  270. package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
  271. package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
  272. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  273. package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
  274. package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
  275. package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +3 -3
  276. package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
  277. package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
  278. package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
  279. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  280. package/dist/cjs/atomic.cjs.js +1 -1
  281. package/dist/cjs/index-757bc886.js +4 -0
  282. package/dist/cjs/insight-layout-355a94dd.js +90 -0
  283. package/dist/cjs/insight-layout-355a94dd.js.map +1 -0
  284. package/dist/cjs/version.cjs.js +1 -1
  285. package/dist/esm/_loader.js +1 -1
  286. package/dist/esm/{analytics-config-d082e438.js → analytics-config-ed7665a6.js} +3 -3
  287. package/dist/esm/{analytics-config-d082e438.js.map → analytics-config-ed7665a6.js.map} +1 -1
  288. package/dist/esm/atomic-category-facet.entry.js +1 -1
  289. package/dist/esm/atomic-citation.entry.js +1 -1
  290. package/dist/esm/atomic-citation.entry.js.map +1 -1
  291. package/dist/esm/atomic-facet-manager.entry.js +1 -1
  292. package/dist/esm/atomic-facet-number-input.entry.js +2 -2
  293. package/dist/esm/atomic-facet.entry.js +1 -1
  294. package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
  295. package/dist/esm/atomic-format-currency.entry.js +1 -1
  296. package/dist/esm/atomic-format-number.entry.js +1 -1
  297. package/dist/esm/atomic-format-unit.entry.js +1 -1
  298. package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
  299. package/dist/esm/atomic-generated-answer-feedback-modal.entry.js.map +1 -1
  300. package/dist/esm/atomic-html.entry.js +1 -1
  301. package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
  302. package/dist/esm/atomic-insight-facet.entry.js +1 -1
  303. package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
  304. package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
  305. package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
  306. package/dist/esm/atomic-insight-interface.entry.js +303 -0
  307. package/dist/esm/atomic-insight-interface.entry.js.map +1 -0
  308. package/dist/esm/atomic-insight-layout.entry.js +2 -80
  309. package/dist/esm/atomic-insight-layout.entry.js.map +1 -1
  310. package/dist/esm/atomic-insight-no-results.entry.js +1 -1
  311. package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
  312. package/dist/esm/atomic-insight-pager.entry.js +3 -3
  313. package/dist/esm/atomic-insight-query-error.entry.js +1 -1
  314. package/dist/esm/atomic-insight-refine-modal.entry.js +2 -2
  315. package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
  316. package/dist/esm/atomic-insight-result-action.entry.js +1 -1
  317. package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +1 -1
  318. package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +1 -1
  319. package/dist/esm/atomic-insight-result-children.entry.js +1 -1
  320. package/dist/esm/atomic-insight-result-list.entry.js +1 -1
  321. package/dist/esm/atomic-insight-result-quickview-action.entry.js +1 -1
  322. package/dist/esm/atomic-insight-result.entry.js +1 -1
  323. package/dist/esm/atomic-insight-search-box.entry.js +2 -2
  324. package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
  325. package/dist/esm/atomic-insight-tabs.entry.js +1 -1
  326. package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
  327. package/dist/esm/atomic-insight-user-actions-session_2.entry.js.map +1 -1
  328. package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
  329. package/dist/esm/atomic-insight-user-actions-toggle.entry.js.map +1 -1
  330. package/dist/esm/atomic-ipx-body.entry.js +2 -2
  331. package/dist/esm/atomic-ipx-button.entry.js +2 -2
  332. package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
  333. package/dist/esm/atomic-ipx-modal.entry.js +2 -2
  334. package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
  335. package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
  336. package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
  337. package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
  338. package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
  339. package/dist/esm/atomic-load-more-results.entry.js +1 -1
  340. package/dist/esm/atomic-no-results.entry.js +1 -1
  341. package/dist/esm/atomic-numeric-facet.entry.js +1 -1
  342. package/dist/esm/atomic-pager.entry.js +3 -3
  343. package/dist/esm/atomic-query-error.entry.js +1 -1
  344. package/dist/esm/atomic-query-summary.entry.js +1 -1
  345. package/dist/esm/atomic-quickview-modal.entry.js +1 -1
  346. package/dist/esm/atomic-quickview.entry.js +1 -1
  347. package/dist/esm/atomic-recs-error.entry.js +1 -1
  348. package/dist/esm/atomic-recs-interface.entry.js +2 -2
  349. package/dist/esm/atomic-recs-list.entry.js +1 -1
  350. package/dist/esm/atomic-refine-modal.entry.js +1 -1
  351. package/dist/esm/atomic-refine-toggle.entry.js +1 -1
  352. package/dist/esm/atomic-relevance-inspector.entry.js +2 -2
  353. package/dist/esm/atomic-result-children.entry.js +1 -1
  354. package/dist/esm/atomic-result-fields-list.entry.js +1 -1
  355. package/dist/esm/atomic-result-link.entry.js +1 -1
  356. package/dist/esm/atomic-result-list.entry.js +1 -1
  357. package/dist/esm/atomic-result-placeholder_8.entry.js +3 -3
  358. package/dist/esm/atomic-search-box-instant-results.entry.js +1 -1
  359. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
  360. package/dist/esm/atomic-search-box.entry.js +4 -4
  361. package/dist/esm/atomic-search-interface.entry.js +1 -1
  362. package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
  363. package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
  364. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  365. package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
  366. package/dist/esm/atomic-sort-expression.entry.js +1 -1
  367. package/dist/esm/atomic-stencil-facet-date-input.entry.js +3 -3
  368. package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
  369. package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
  370. package/dist/esm/atomic-tab-button.entry.js +1 -1
  371. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  372. package/dist/esm/atomic.js +1 -1
  373. package/dist/esm/index-3f35faca.js +4 -0
  374. package/dist/esm/insight-layout-776b87f2.js +87 -0
  375. package/dist/esm/insight-layout-776b87f2.js.map +1 -0
  376. package/dist/esm/version.js +1 -1
  377. package/dist/types/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.d.ts +1 -0
  378. package/dist/types/components/common/generated-answer/atomic-citation/atomic-citation.d.ts +1 -1
  379. package/dist/types/components/common/generated-answer/atomic-generated-answer-feedback/atomic-generated-answer-feedback-modal.d.ts +1 -1
  380. package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +42 -36
  381. package/dist/types/components/insight/index.d.ts +1 -1
  382. package/dist/types/components/insight/user-actions/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.d.ts +2 -1
  383. package/dist/types/components/insight/user-actions/atomic-insight-user-actions-toggle/atomic-insight-user-actions-toggle.d.ts +1 -1
  384. package/dist/types/components.d.ts +169 -4
  385. package/docs/atomic-docs.json +1098 -181
  386. package/package.json +8 -12
  387. package/dist/atomic/components/components/insight/atomic-insight-interface/analytics-config.js +0 -31
  388. package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +0 -253
  389. package/dist/atomic/p-256b5495.entry.js +0 -2
  390. package/dist/atomic/p-564be2a3.entry.js +0 -2
  391. package/dist/atomic/p-8187b910.entry.js +0 -2
  392. package/dist/atomic/p-bd404744.entry.js +0 -2
  393. package/dist/atomic/p-bd404744.entry.js.map +0 -1
  394. package/dist/atomic/p-caabedeb.entry.js.map +0 -1
  395. package/dist/atomic/p-edf102d6.entry.js.map +0 -1
  396. package/dist/atomic/p-f30c4c7d.entry.js.map +0 -1
  397. /package/dist/atomic/{p-81b6d12c.entry.js.map → p-0368a213.entry.js.map} +0 -0
  398. /package/dist/atomic/{p-9507e1bc.entry.js.map → p-05ab5909.entry.js.map} +0 -0
  399. /package/dist/atomic/{p-39698267.entry.js.map → p-069bf2b9.entry.js.map} +0 -0
  400. /package/dist/atomic/{p-681610d3.entry.js.map → p-09924944.entry.js.map} +0 -0
  401. /package/dist/atomic/{p-cd8f11ea.entry.js.map → p-0c9b553c.entry.js.map} +0 -0
  402. /package/dist/atomic/{p-dac69bca.entry.js.map → p-100da102.entry.js.map} +0 -0
  403. /package/dist/atomic/{p-f076efa7.entry.js.map → p-13e67ab3.entry.js.map} +0 -0
  404. /package/dist/atomic/{p-c69ae97a.entry.js.map → p-15d952f3.entry.js.map} +0 -0
  405. /package/dist/atomic/{p-6bea42e6.entry.js.map → p-1c2d25ba.entry.js.map} +0 -0
  406. /package/dist/atomic/{p-3c7ed752.entry.js.map → p-1c3363ec.entry.js.map} +0 -0
  407. /package/dist/atomic/{p-b1c9b043.entry.js.map → p-1d091f9a.entry.js.map} +0 -0
  408. /package/dist/atomic/{p-8b8eb35f.entry.js.map → p-258c3253.entry.js.map} +0 -0
  409. /package/dist/atomic/{p-09953fee.entry.js.map → p-26098930.entry.js.map} +0 -0
  410. /package/dist/atomic/{p-182a3f9e.entry.js.map → p-26ad479b.entry.js.map} +0 -0
  411. /package/dist/atomic/{p-f79f31f8.entry.js.map → p-2c7d4967.entry.js.map} +0 -0
  412. /package/dist/atomic/{p-bbed84f9.entry.js.map → p-2d3ef0f7.entry.js.map} +0 -0
  413. /package/dist/atomic/{p-6b297a61.entry.js.map → p-2e91aea8.entry.js.map} +0 -0
  414. /package/dist/atomic/{p-e20c18f0.entry.js.map → p-3af5e810.entry.js.map} +0 -0
  415. /package/dist/atomic/{p-d1e5e2d7.entry.js.map → p-496da1c9.entry.js.map} +0 -0
  416. /package/dist/atomic/{p-87747240.entry.js.map → p-4c7654eb.entry.js.map} +0 -0
  417. /package/dist/atomic/{p-17564517.entry.js.map → p-500248e1.entry.js.map} +0 -0
  418. /package/dist/atomic/{p-3e7ea7a5.entry.js.map → p-5027d796.entry.js.map} +0 -0
  419. /package/dist/atomic/{p-f45a7b82.entry.js.map → p-50467793.entry.js.map} +0 -0
  420. /package/dist/atomic/{p-bfb23490.entry.js.map → p-5138d839.entry.js.map} +0 -0
  421. /package/dist/atomic/{p-ba9b2923.entry.js.map → p-516b5bd4.entry.js.map} +0 -0
  422. /package/dist/atomic/{p-256b5495.entry.js.map → p-52121e1e.entry.js.map} +0 -0
  423. /package/dist/atomic/{p-c9b1568b.entry.js.map → p-5225eb50.entry.js.map} +0 -0
  424. /package/dist/atomic/{p-a0d04767.entry.js.map → p-552d1f66.entry.js.map} +0 -0
  425. /package/dist/atomic/{p-2c64e9a2.entry.js.map → p-571c9614.entry.js.map} +0 -0
  426. /package/dist/atomic/{p-c15fc656.entry.js.map → p-57b47b73.entry.js.map} +0 -0
  427. /package/dist/atomic/{p-24c2110b.entry.js.map → p-58610952.entry.js.map} +0 -0
  428. /package/dist/atomic/{p-0dc6ebf8.entry.js.map → p-5c995d77.entry.js.map} +0 -0
  429. /package/dist/atomic/{p-7bff27b2.entry.js.map → p-612155f0.entry.js.map} +0 -0
  430. /package/dist/atomic/{p-cbeca949.entry.js.map → p-633628d5.entry.js.map} +0 -0
  431. /package/dist/atomic/{p-31e55d26.entry.js.map → p-6ad1adfb.entry.js.map} +0 -0
  432. /package/dist/atomic/{p-43a0f6e2.entry.js.map → p-737f842d.entry.js.map} +0 -0
  433. /package/dist/atomic/{p-e50b1d73.entry.js.map → p-79499898.entry.js.map} +0 -0
  434. /package/dist/atomic/{p-0dac8e7b.entry.js.map → p-80055cf6.entry.js.map} +0 -0
  435. /package/dist/atomic/{p-943b29c2.entry.js.map → p-82a8cf74.entry.js.map} +0 -0
  436. /package/dist/atomic/{p-c434b50f.entry.js.map → p-875583aa.entry.js.map} +0 -0
  437. /package/dist/atomic/{p-c81d1971.entry.js.map → p-88e4a2f9.entry.js.map} +0 -0
  438. /package/dist/atomic/{p-c1721cb2.entry.js.map → p-896724e9.entry.js.map} +0 -0
  439. /package/dist/atomic/{p-455fbbd7.entry.js.map → p-8b70f39a.entry.js.map} +0 -0
  440. /package/dist/atomic/{p-564be2a3.entry.js.map → p-8ef0e022.entry.js.map} +0 -0
  441. /package/dist/atomic/{p-be6251ac.js.map → p-96f45065.js.map} +0 -0
  442. /package/dist/atomic/{p-770da48e.entry.js.map → p-a14fd4de.entry.js.map} +0 -0
  443. /package/dist/atomic/{p-e9922d7c.entry.js.map → p-a2714d7e.entry.js.map} +0 -0
  444. /package/dist/atomic/{p-7753ae27.entry.js.map → p-a3a1f8e9.entry.js.map} +0 -0
  445. /package/dist/atomic/{p-971a8a73.entry.js.map → p-aa40956c.entry.js.map} +0 -0
  446. /package/dist/atomic/{p-429270f6.entry.js.map → p-ab627e18.entry.js.map} +0 -0
  447. /package/dist/atomic/{p-d6d0a47f.entry.js.map → p-aff3a66a.entry.js.map} +0 -0
  448. /package/dist/atomic/{p-156aa33a.entry.js.map → p-b0bd2709.entry.js.map} +0 -0
  449. /package/dist/atomic/{p-70c431f9.entry.js.map → p-b103b28a.entry.js.map} +0 -0
  450. /package/dist/atomic/{p-db6034e2.entry.js.map → p-b328cab9.entry.js.map} +0 -0
  451. /package/dist/atomic/{p-45e88039.entry.js.map → p-b97abfb9.entry.js.map} +0 -0
  452. /package/dist/atomic/{p-1d8eba10.entry.js.map → p-bfdecd0f.entry.js.map} +0 -0
  453. /package/dist/atomic/{p-e67dabc9.entry.js.map → p-c3746d6e.entry.js.map} +0 -0
  454. /package/dist/atomic/{p-52b66ca8.entry.js.map → p-c61609ea.entry.js.map} +0 -0
  455. /package/dist/atomic/{p-a5751bb0.entry.js.map → p-c667812c.entry.js.map} +0 -0
  456. /package/dist/atomic/{p-3a994997.entry.js.map → p-c9fa8526.entry.js.map} +0 -0
  457. /package/dist/atomic/{p-c572a219.entry.js.map → p-cb051c21.entry.js.map} +0 -0
  458. /package/dist/atomic/{p-11fc3a7b.entry.js.map → p-cbb819d2.entry.js.map} +0 -0
  459. /package/dist/atomic/{p-fa1dcc3e.entry.js.map → p-cdd70f49.entry.js.map} +0 -0
  460. /package/dist/atomic/{p-fe23b0b3.entry.js.map → p-ce83d873.entry.js.map} +0 -0
  461. /package/dist/atomic/{p-117be4a4.entry.js.map → p-ce9e510c.entry.js.map} +0 -0
  462. /package/dist/atomic/{p-05a3e5a4.entry.js.map → p-d1d2d945.entry.js.map} +0 -0
  463. /package/dist/atomic/{p-d1caf040.entry.js.map → p-d5071b5a.entry.js.map} +0 -0
  464. /package/dist/atomic/{p-8baf4780.entry.js.map → p-df2df66a.entry.js.map} +0 -0
  465. /package/dist/atomic/{p-fce653a1.entry.js.map → p-e750df14.entry.js.map} +0 -0
  466. /package/dist/atomic/{p-104c7d84.entry.js.map → p-ef22a3f2.entry.js.map} +0 -0
  467. /package/dist/atomic/{p-d3b5c8e5.entry.js.map → p-f39de057.entry.js.map} +0 -0
  468. /package/dist/atomic/{p-af487ad9.entry.js.map → p-fc6beee6.entry.js.map} +0 -0
@@ -108,7 +108,7 @@ const AtomicQuickview$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQuickview
108
108
  }
109
109
  render() {
110
110
  if (this.quickviewState.resultHasPreview) {
111
- return (h(Button, { key: '72e95cedd02c6791c40ce45981f29068f0a4495d', part: "button", title: this.bindings.i18n.t('quickview'), style: "outline-primary", class: "p-2", onClick: (event) => this.onClick(event), ref: this.focusTarget.setTarget }, h("atomic-icon", { key: '8e7d5d70056a9ba229c9f1d03625f4d463a9933f', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
111
+ return (h(Button, { key: 'b96d9a3049190935a2c4f041bae9faa89e62ce20', part: "button", title: this.bindings.i18n.t('quickview'), style: "outline-primary", class: "p-2", onClick: (event) => this.onClick(event), ref: this.focusTarget.setTarget }, h("atomic-icon", { key: 'a5be2ca28ccb7762d98ab9b71fec6a121eefcf38', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
112
112
  }
113
113
  }
114
114
  static get style() { return AtomicQuickviewStyle0; }
@@ -39,7 +39,7 @@ const AtomicRecsError$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsError
39
39
  if (hasError) {
40
40
  this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
41
41
  }
42
- return (h(QueryErrorGuard, { key: '9b8e02d2ee8a7cafb158626d6e82f50e313aeb69', hasError: hasError }, h(QueryErrorContainer, { key: '621ebfcf7d14deb8c059eb05f3dddb1c5819fddb' }, h(QueryErrorIcon, { key: '8c5a2e393ac9f385acf9c8482a423babcb2dd9f8', errorType: error?.type }), h(QueryErrorTitle, { key: '65396f2dd30a1d000938f92bebdad0dd1b4e70af', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: 'b885d1621080c8a6fc6cb676545cde88b09c7234', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: 'cac81f2e998ede1b7b8b858804708c65acd48392', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'be12424409e56098b98bf9ffedb4f8b797030399', error: error, show: this.showMoreInfo }))));
42
+ return (h(QueryErrorGuard, { key: 'bfb50f392a5102f3528974f4d9fec2e3913305c4', hasError: hasError }, h(QueryErrorContainer, { key: 'e970eb381ed1558629c10787ad335813f8f243ba' }, h(QueryErrorIcon, { key: '6ba3f9a746d608719495b49fb92d87140e981e90', errorType: error?.type }), h(QueryErrorTitle, { key: 'cd673e82164cc44e04852fbfe7f897737010ec5e', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '540e87976960cd7924f7f5eb5dde43fe7eee3bed', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: 'c24878763ccd26f5ccefd81e96900f75f92975bd', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'fb4d9e98a5861d24316775463dc11ac2e4c3915c', error: error, show: this.showMoreInfo }))));
43
43
  }
44
44
  static get style() { return AtomicRecsErrorStyle0; }
45
45
  }, [1, "atomic-recs-error", {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { m as markParentAsReady } from './init-queue.js';
3
3
  import { loadRecommendationActions, loadSearchConfigurationActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildRecommendationEngine } from '@coveo/headless/recommendation';
4
- import { g as getNextAnalyticsConfig, a as augmentAnalyticsConfigWithDocument, b as augmentAnalyticsConfigWithAtomicVersion, c as augmentWithExternalMiddleware, d as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
4
+ import { g as getNextAnalyticsConfig, c as augmentAnalyticsConfigWithDocument, d as augmentAnalyticsConfigWithAtomicVersion, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
5
5
  import { A as ArrayProp } from './props-utils.js';
6
6
  import { u as unsetLoadingFlag, s as setLoadingFlag, a as createBaseStore } from './store.js';
7
7
 
@@ -242,7 +242,7 @@ const AtomicRecsInterface$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsI
242
242
  }
243
243
  }
244
244
  render() {
245
- return this.engine && h("slot", { key: '161c09a6eda03f4835656753e9f43a3210cf8e17' });
245
+ return this.engine && h("slot", { key: '83b64f57da68e94c0ba4a28639296d8e4c29b77a' });
246
246
  }
247
247
  get host() { return this; }
248
248
  static get watchers() { return {
@@ -262,7 +262,7 @@ const AtomicRecsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsList e
262
262
  }))));
263
263
  }
264
264
  render() {
265
- return (h(Fragment, { key: 'f776bbf20134d97cc036bd7c0b231d68ef9fb3a6' }, this.renderHeading(), this.shouldRenderPagination ? (h(Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
265
+ return (h(Fragment, { key: '3469818622186a476e010dc43d0ee7662ccc07af' }, this.renderHeading(), this.shouldRenderPagination ? (h(Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
266
266
  }
267
267
  get host() { return this; }
268
268
  static get watchers() { return {
@@ -206,7 +206,7 @@ const AtomicRefineModal = /*@__PURE__*/ proxyCustomElement(class AtomicRefineMod
206
206
  return (h(RefineModalFiltersSection, { i18n: i18n, withFacets: hasFacetElements, withAutomaticFacets: hasAutomaticFacets }, this.breadcrumbManagerState.hasBreadcrumbs && (h(RefineModalFiltersClearButton, { i18n: i18n, onClick: () => this.breadcrumbManager.deselectAll() }))));
207
207
  }
208
208
  render() {
209
- return (h(RefineModal, { key: '588c02274d716ac4871f1bf4e9c43a1d3e75f4a3', i18n: this.bindings.i18n, host: this.host, isOpen: this.isOpen, onClose: () => (this.isOpen = false), title: this.bindings.i18n.t('sort-and-filter'), numberOfItems: this.querySummaryState.total, openButton: this.openButton }, h(RefineModalBody, { key: '3be92683f697bb9d28bf6e3fafc877437aae08aa' }, this.renderSort(), this.renderFilters())));
209
+ return (h(RefineModal, { key: '578ba550f74e75f58a81e99e9d5f96fc6dd392bd', i18n: this.bindings.i18n, host: this.host, isOpen: this.isOpen, onClose: () => (this.isOpen = false), title: this.bindings.i18n.t('sort-and-filter'), numberOfItems: this.querySummaryState.total, openButton: this.openButton }, h(RefineModalBody, { key: 'bd18d383e63befd72165c1fa6a3d5cff75d1f25f' }, this.renderSort(), this.renderFilters())));
210
210
  }
211
211
  componentDidLoad() {
212
212
  this.host.style.display = '';
@@ -70,7 +70,7 @@ const AtomicRefineToggle$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRefine
70
70
  this.modalRef && (this.modalRef.isOpen = true);
71
71
  }
72
72
  render() {
73
- return (h(RefineToggleGuard, { key: 'fd562a60540b4749bc0324b739514351c6896e62', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '21702faa4703a9cd6a06ef87f9cdba8846ec45bc', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
73
+ return (h(RefineToggleGuard, { key: 'a902220b34a81ac9e854301c21eca6fa98cf3970', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '176c9580a4fbf1e4ec4f640c313f7105ba7524b9', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
74
74
  if (!button) {
75
75
  return;
76
76
  }
@@ -18,9 +18,9 @@ const AtomicRelevanceInspector = /*@__PURE__*/ proxyCustomElement(class AtomicRe
18
18
  this.open = false;
19
19
  }
20
20
  render() {
21
- return (h("atomic-modal", { key: '6452c09e6706cf2b05c080f6a46aed9ae5fe4563', exportparts: "footer", isOpen: this.open, close: () => {
21
+ return (h("atomic-modal", { key: '95ee313534de72d4272913a035339af3a0ae2937', exportparts: "footer", isOpen: this.open, close: () => {
22
22
  this.closeRelevanceInspector?.emit();
23
- } }, h("p", { key: 'b9665c93520cdf4b7fc421928a7f86de65f9f06b', slot: "header" }, "Open the relevance inspector"), h("p", { key: 'b50fc62e610b420754fb850018bea716571d76fd', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: 'e58526af861165cad3ec8410de5c2542f5b70bb5', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: '5b19e7c0c44024cc9bdc2a0544098c8052b90042', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: '8d2ac6969445607f7804e926b4a61572e644dd19', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
23
+ } }, h("p", { key: 'c123866bd818077dee3d84449137f0c0ed835d1c', slot: "header" }, "Open the relevance inspector"), h("p", { key: '71c58b0f8d088e51ba5ee8c70b315e259bb729b1', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '6384f4af443d851a900085eae3aa76d29708872f', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: '833244682dc439faca9238e59cd314b33c46375d', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: '430ea1d3f76db008bc71587a2e6dc0ccad2e8566', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
24
24
  }
25
25
  get adminHref() {
26
26
  const { organizationId, environment } = this.bindings.engine.state.configuration;
@@ -138,7 +138,7 @@ const AtomicResultChildren$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResu
138
138
  return (h(ChildrenWrapper, { hasChildren: children.length > 0 }, children.map((child, i) => this.renderChild(child, i === children.length - 1))));
139
139
  }
140
140
  render() {
141
- return (h(ResultChildrenGuard, { key: '95cced037c2ff2e776f2ff0798439c90f320140b', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
141
+ return (h(ResultChildrenGuard, { key: '4792c391d2d6dfd5b6a8f9ca7de5f6e17856aaf7', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
142
142
  }
143
143
  get host() { return this; }
144
144
  static get style() { return AtomicResultChildrenStyle0; }
@@ -98,7 +98,7 @@ const AtomicResultFieldsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRe
98
98
  }
99
99
  }
100
100
  render() {
101
- return h(Host, { key: '0454ef5f46021ef1176e7e5d96694bb213b1026e' });
101
+ return h(Host, { key: '16dd76a0e5d91ab65deeeb1cef7e0eb666068ce7' });
102
102
  }
103
103
  get host() { return this; }
104
104
  static get style() { return AtomicResultFieldsListStyle0; }
@@ -43,7 +43,7 @@ const AtomicResultLink$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResultLi
43
43
  const href = isUndefined(this.hrefTemplate)
44
44
  ? this.result.clickUri
45
45
  : buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
46
- return (h(LinkWithItemAnalytics, { key: '91ac5b839339b2450a665ace9b5c16067802041f', href: href, onSelect: () => this.interactiveResult.select(), onBeginDelayedSelect: () => this.interactiveResult.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveResult.cancelPendingSelect(), attributes: this.linkAttributes, stopPropagation: this.stopPropagation }, this.hasDefaultSlot ? (h("slot", null)) : (h("atomic-result-text", { field: "title", default: "no-title" }))));
46
+ return (h(LinkWithItemAnalytics, { key: '893426e32ef773352ce0dec5e005d12d37d35a67', href: href, onSelect: () => this.interactiveResult.select(), onBeginDelayedSelect: () => this.interactiveResult.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveResult.cancelPendingSelect(), attributes: this.linkAttributes, stopPropagation: this.stopPropagation }, this.hasDefaultSlot ? (h("slot", null)) : (h("atomic-result-text", { field: "title", default: "no-title" }))));
47
47
  }
48
48
  get host() { return this; }
49
49
  static get style() { return AtomicResultLinkStyle0; }
@@ -194,7 +194,7 @@ const AtomicResultList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResultLi
194
194
  render() {
195
195
  this.resultListCommon.updateBreakpoints();
196
196
  const listClasses = this.computeListDisplayClasses();
197
- return (h(TabGuard, { key: '5b4569fd5bbdec7f668c2c30b90071d6c115dd6d', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '3a2ff503cec54a306178ac82aacb63fdb7ff4f91', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '61c4e4c85bd62b8ca9a23217d0c09a06baaa7c25', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '5401b30e47737e01d80e12c6b5e2395484fe4da9', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '540e38788640a9598dd90932effa400022dccc7e', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
197
+ return (h(TabGuard, { key: '2a166d26e6ce4887d1ed43ea5041110a277f8d06', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '3c0a5e6697a02832a65a5ec3e70414184133062b', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: 'e54764caa5d90956732ed083af7b9cebb47c6eb4', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '379a10c62c510e78d4b2ce4a27670a54e33470a1', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '6f86f55ec045b323dd2419ff7343c29de7afadfe', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
198
198
  ? this.renderAsTable()
199
199
  : this.display === 'grid'
200
200
  ? this.renderAsGrid()
@@ -27,9 +27,9 @@ const AtomicResultPlaceholder = /*@__PURE__*/ proxyCustomElement(class AtomicRes
27
27
  } }, h("div", { class: placeholderClasses, style: { height: 'var(--font-size)' } })));
28
28
  }
29
29
  render() {
30
- return (h("div", { key: '5e3a8a7a1d2cdfe73132135d572996ceb3b02ead', class: `result-root placeholder with-sections animate-pulse ${getItemDisplayClasses(this.display, this.density, this.imageSize)
30
+ return (h("div", { key: '752a3b1b722f00811ea5aadd0b1aa27293c31340', class: `result-root placeholder with-sections animate-pulse ${getItemDisplayClasses(this.display, this.density, this.imageSize)
31
31
  .join(' ')
32
- .trim()}` }, h("atomic-result-section-visual", { key: '789d2541401ec858c4ae0ed783b276cd8781874f' }, h("div", { key: 'aace31d6d56f2939b282d73a24d3c40bfe72fb38', class: placeholderClasses })), h("atomic-result-section-badges", { key: 'bc695763f5349004a8173f5a28ffc18d9535cc0c' }, h("div", { key: '37a525e29f9b38632cc39b01f46862108d9b909f', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: 'b69e45566b1d8d3b9e6381e8c9d9a2282d56e16a' }, h("div", { key: '35911841428eb184e9bfd198e219e5f9fc144482', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '7bf576848e5c750018161b4bceedadc2e486d9ce' }, h("div", { key: '7da35b744ab9ed8a2730dcaaee90847aba5293cd', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '88eb068476ca43c6fb49b19a59634bd3657926f1' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '994c29b3125458b753a6cd1619fdfc53061648ff' }, h("div", { key: '7509d34aba156c694d122f29f1184ebbdf73ed80', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
32
+ .trim()}` }, h("atomic-result-section-visual", { key: 'e06c304ae90feb5cea9d8efdc308a4cf09dd1dbe' }, h("div", { key: '1eba1b5d9487de316b17cc6a15f61a7ba1d6ea70', class: placeholderClasses })), h("atomic-result-section-badges", { key: '6aef58812f5605ef338bccff15fc7a551ce8f119' }, h("div", { key: 'f4ec59865edf2968f6ebe6ab9f1dafc14ba7426b', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: 'f0f20b8f9469ed30a008c2aec09411962cf20b18' }, h("div", { key: '388b26449b3654507e37caa63785d9426ff8b18d', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '616c2a21d4b637937416ae2b57c208469dfc64d5' }, h("div", { key: '1c225eddae56c5594fe4ec44f2dfa7bbcc629a99', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: 'b11afc665ca9da6c196456e0e09717714e6f252c' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: 'c0e022b150fcbd1c466ee15db2f873dbbfb10190' }, h("div", { key: 'bef611cf47c30f339b9450c7b4d34cff6f7b56f6', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
33
33
  }
34
34
  static get style() { return AtomicResultPlaceholderStyle0; }
35
35
  }, [1, "atomic-result-placeholder", {
@@ -18,7 +18,7 @@ const AtomicResultTablePlaceholder = /*@__PURE__*/ proxyCustomElement(class Atom
18
18
  return getItemDisplayClasses('table', this.density, this.imageSize);
19
19
  }
20
20
  render() {
21
- return (h("table", { key: 'ae48be5639a61375fef2937ba0910439d9cd6d8a', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: 'ef98ffc5146aebe3980dc79c72e3e56a76433687' }, h("tr", { key: '131e6f9835363e224ba4449bde2bfca1ba863c2f' }, h("th", { key: 'd9b9ed5efd2a277977cae8b103d560d65e813f1d' }, h("div", { key: '634aed335c094769829eabeac094a19e3fcf69de', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '44b72525283eeb1f46f21a88093f61ae536914f6' }, h("div", { key: '1e1ca63273b33718c167174d22d8c09dbdb902fb', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '06d33f8b8b0945722fb1752ef162d3fbe2bb9274' }, h("div", { key: '32bbc45bb32870a401be2d6dfa206023d3259875', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'ab18b97ef676c6bf993dea8312b5046a1f77b4a9' }, Array.from({ length: this.rows }, () => (h("tr", null, h("td", null, h("div", { class: `mb-6 h-8 ${placeholderClasses}`, style: { width: '22.875rem' } }), h("div", { class: `mb-2 h-5 ${placeholderClasses}`, style: { width: '23.75rem' } }), h("div", { class: `h-5 ${placeholderClasses}`, style: { width: '11.5rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '11rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '4.875rem' } }))))))));
21
+ return (h("table", { key: '803964f2463ed72ef839a4481f0b7be63b2a6cfb', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '44f9f6bd2cf09e0ac2c495655af3bbddb8f19622' }, h("tr", { key: 'e612c986b6210df782e310b0baaec129f4236421' }, h("th", { key: 'aec1a52a77732aa7c3e2b5012f74331df312a3e0' }, h("div", { key: 'f4aa998fa72c24f38c429a49aa367251232b7805', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '6bc77466104af5e73a2049dac70c048930cf2ac6' }, h("div", { key: 'dd1088eca32e478f008264c75fe57df25d1d808e', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '8c17808b69eb0f54758c977448443854d005fbe2' }, h("div", { key: '19f1f33f57b60ea1a5c1cdc438dd1d8572744eeb', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'd153a34ba99cff2379b719f9341013cadbb5699e' }, Array.from({ length: this.rows }, () => (h("tr", null, h("td", null, h("div", { class: `mb-6 h-8 ${placeholderClasses}`, style: { width: '22.875rem' } }), h("div", { class: `mb-2 h-5 ${placeholderClasses}`, style: { width: '23.75rem' } }), h("div", { class: `h-5 ${placeholderClasses}`, style: { width: '11.5rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '11rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '4.875rem' } }))))))));
22
22
  }
23
23
  static get style() { return AtomicResultTablePlaceholderStyle0; }
24
24
  }, [1, "atomic-result-table-placeholder", {
@@ -172,7 +172,7 @@ const AtomicSearchBoxInstantResults$1 = /*@__PURE__*/ proxyCustomElement(class A
172
172
  }
173
173
  render() {
174
174
  if (this.error) {
175
- return (h("atomic-component-error", { key: '9a09219afe8a0204436d3fc91b916c33b0d00726', element: this.host, error: this.error }));
175
+ return (h("atomic-component-error", { key: 'fdc7168e2ad782021d361221f692da91bff1c3af', element: this.host, error: this.error }));
176
176
  }
177
177
  }
178
178
  get host() { return this; }
@@ -60,7 +60,7 @@ const AtomicSearchBoxQuerySuggestions = /*@__PURE__*/ proxyCustomElement(class A
60
60
  }
61
61
  render() {
62
62
  if (this.error) {
63
- return (h("atomic-component-error", { key: 'd37f642d0a8dab2ea78883cfd40ae4afd481e245', element: this.host, error: this.error }));
63
+ return (h("atomic-component-error", { key: '60fd04f52305a72133a2cf04e70ce0b1c489c10d', element: this.host, error: this.error }));
64
64
  }
65
65
  }
66
66
  get host() { return this; }
@@ -154,7 +154,7 @@ const AtomicSearchBoxRecentQueries = /*@__PURE__*/ proxyCustomElement(class Atom
154
154
  }
155
155
  render() {
156
156
  if (this.error) {
157
- return (h("atomic-component-error", { key: '4e4f5a2acd2e77885f1867aa27abb8d372e95dcf', element: this.host, error: this.error }));
157
+ return (h("atomic-component-error", { key: '9a6efb2a4483b2a1924418e9b52cc94164b4c8e4', element: this.host, error: this.error }));
158
158
  }
159
159
  }
160
160
  get host() { return this; }
@@ -427,18 +427,18 @@ const AtomicSearchBox$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSearchBox
427
427
  if (!this.suggestionManager.suggestions.length) {
428
428
  this.registerSearchboxSuggestionEvents();
429
429
  }
430
- return (h(Host, { key: 'dbdbc97b10a1cf170c0baee6cde1c2d8ef7fe28e' }, this.renderAbsolutePositionSpacer(), [
431
- h(SearchBoxWrapper, { key: '8c3079d587bd9f54334e30ec3ede82c3e2b5ed38', disabled: isDisabled, onFocusout: (event) => {
430
+ return (h(Host, { key: '14bd784f74d5cfcbcb82136d6f8e6bc2aa4e2815' }, this.renderAbsolutePositionSpacer(), [
431
+ h(SearchBoxWrapper, { key: '5d13e6bcdb5c27f5f169a7881eb471f431d86a51', disabled: isDisabled, onFocusout: (event) => {
432
432
  if (!isFocusingOut(event)) {
433
433
  return;
434
434
  }
435
435
  this.suggestionManager.clearSuggestions();
436
436
  this.isExpanded = false;
437
- } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '66f38c383d28a1ee350b45358a9546944d7d9cd4', bindings: this.bindings, disabled: isDisabled, onClick: () => {
437
+ } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '105c32ac0b57202156661fcbb2b82722ca357ea7', bindings: this.bindings, disabled: isDisabled, onClick: () => {
438
438
  this.searchBox.submit();
439
439
  this.suggestionManager.clearSuggestions();
440
440
  } }), this.renderSuggestions()),
441
- !this.suggestionManager.suggestions.length && (h("slot", { key: '85d2a3ea66e49325c829022fbe8c13eb07c15fdb' }, h("atomic-search-box-recent-queries", { key: '17f5e6e7bae4f8182298a67a6d14914284a23ef1' }), h("atomic-search-box-query-suggestions", { key: '4788e7863db50becd3a182803653bf4320f9d401' }))),
441
+ !this.suggestionManager.suggestions.length && (h("slot", { key: 'ceb85736ad1c30d088fa8e828134237a543dd908' }, h("atomic-search-box-recent-queries", { key: 'a3f0dfc0ac6f6177a20e8e6e5a4fbcc688b63a40' }), h("atomic-search-box-query-suggestions", { key: '7cf5f99564c9ed776d114cc4d75cbc75e44efa71' }))),
442
442
  ]));
443
443
  }
444
444
  get host() { return this; }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { m as markParentAsReady } from './init-queue.js';
3
3
  import { loadSearchConfigurationActions, loadQueryActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildSearchEngine, buildUrlManager, buildSearchStatus } from '@coveo/headless';
4
- import { g as getNextAnalyticsConfig, b as augmentAnalyticsConfigWithAtomicVersion, a as augmentAnalyticsConfigWithDocument, c as augmentWithExternalMiddleware, d as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
4
+ import { g as getNextAnalyticsConfig, d as augmentAnalyticsConfigWithAtomicVersion, c as augmentAnalyticsConfigWithDocument, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
5
5
  import { S as StorageItems, a as SafeStorage } from './local-storage-utils.js';
6
6
  import { A as ArrayProp } from './props-utils.js';
7
7
  import { m as makeDesktopQuery, n as noResultsSelector, e as errorSelector, f as firstSearchExecutedSelector } from './search-layout.js';
@@ -89,7 +89,7 @@ const AtomicSmartSnippetAnswer = /*@__PURE__*/ proxyCustomElement(class AtomicSm
89
89
  }), ref: (element) => element && this.bindAnalyticsToLinks(element), part: "answer", class: "margin" })));
90
90
  }
91
91
  render() {
92
- return (h(Host, { key: '62e0e00f2ec75c2f4acc972676f338461428671d' }, this.renderStyle(), this.renderContent()));
92
+ return (h(Host, { key: '9dc7ab52e182ea2958c0bf651547a172313d40e3' }, this.renderStyle(), this.renderContent()));
93
93
  }
94
94
  get host() { return this; }
95
95
  static get style() { return AtomicSmartSnippetAnswerStyle0; }
@@ -56,11 +56,11 @@ const AtomicSmartSnippetCollapseWrapper = /*@__PURE__*/ proxyCustomElement(class
56
56
  return (h("button", { onClick: () => (this.isExpanded = !this.isExpanded), class: "text-primary mb-4 hover:underline", part: this.isExpanded ? 'show-less-button' : 'show-more-button' }, this.bindings.i18n.t(this.isExpanded ? 'show-less' : 'show-more'), h("atomic-icon", { icon: ArrowDown, class: "ml-2 w-3 align-baseline" })));
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: 'b3e47e176df61e65152422d2de0cdb69a909034a', class: this.fullHeight || !this.shouldRenderButton
59
+ return (h(Host, { key: '11a4917faf70f82681d12bcf07ae8e61df918b5b', class: this.fullHeight || !this.shouldRenderButton
60
60
  ? this.isExpanded
61
61
  ? 'expanded'
62
62
  : ''
63
- : 'invisible' }, h("div", { key: 'ae97d3dfba657183f36443e720ba14b32bee91e9', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '67e0ff7ffe1e54a6d65bcfa40873888a538868b3' })), this.shouldRenderButton && this.renderButton()));
63
+ : 'invisible' }, h("div", { key: 'e77394a919a5ffe3548df8066c069b251b76540f', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: 'b765e464f429c3a0d931be29ee60e9fe9d767d9e' })), this.shouldRenderButton && this.renderButton()));
64
64
  }
65
65
  get host() { return this; }
66
66
  static get style() { return AtomicSmartSnippetCollapseWrapperStyle0; }
@@ -87,7 +87,7 @@ const AtomicSmartSnippetExpandableAnswer = /*@__PURE__*/ proxyCustomElement(clas
87
87
  return (h("button", { onClick: () => this.isExpanded ? this.collapse.emit() : this.expand.emit(), class: "text-primary mb-4 hover:underline", part: this.isExpanded ? 'show-less-button' : 'show-more-button' }, this.bindings.i18n.t(this.isExpanded ? 'show-less' : 'show-more'), h("atomic-icon", { icon: ArrowDown, class: "ml-2 w-3 align-baseline" })));
88
88
  }
89
89
  render() {
90
- return (h("div", { key: '397b7867c46ef292014f2ece80538f8e64a6df96', class: this.isExpanded ? 'expanded' : '' }, this.renderAnswer(), this.renderButton()));
90
+ return (h("div", { key: '07fab7157153bef9553fd898c3c768aae89e59d9', class: this.isExpanded ? 'expanded' : '' }, this.renderAnswer(), this.renderButton()));
91
91
  }
92
92
  get host() { return this; }
93
93
  static get watchers() { return {
@@ -45,9 +45,9 @@ const AtomicSmartSnippetFeedbackModal = /*@__PURE__*/ proxyCustomElement(class A
45
45
  }
46
46
  render() {
47
47
  updateBreakpoints(this.host);
48
- return (h("atomic-modal", { key: 'f9f2832f5eb7b4a5f2b89f9b420a42b35c51c30f', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '21ac2cf6152e4aec8e64d3ea2e3f20bf4e259938', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: '7707a40b56a2000af78412c82ae97493018477e9', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: '033e3c0fa91f49c0819654e4b775e0eb5d1cf0f5', i18n: this.bindings.i18n }, smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (h(SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
48
+ return (h("atomic-modal", { key: 'a0cf5aeda0d5ddb9e897c93f91e80f92454c9e4f', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: 'a24f8d4ab805d17086f7de7702fbe9e2709208b0', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'f1329b3299fad8a6987c83d79ee5676ac2b80500', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'c0630d7e8c086001530649d6e45aa44e862ae5f3', i18n: this.bindings.i18n }, smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (h(SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
49
49
  this.currentAnswer = correspondingAnswer;
50
- } })))), h(SmartSnippetFeedbackModalDetails, { key: '4f230b1871432e462f33dd74de67fca3eccbe7fe', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'f6d4b7341e7b2e799de180daeb329e1c8d6da415', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
50
+ } })))), h(SmartSnippetFeedbackModalDetails, { key: '9d71e67a52776a08b97a80b22e1078ea0086fd6c', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: '60a0d8d350aef37f9df02c267f11de297c805703', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
51
51
  }
52
52
  close() {
53
53
  this.isOpen = false;
@@ -33,7 +33,7 @@ const AtomicSmartSnippetSource = /*@__PURE__*/ proxyCustomElement(class AtomicSm
33
33
  }
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '6520ea51d4757548029e157c7f3ab0457686fff0' }, h(LinkWithItemAnalytics, { key: 'eaad110e39c9d08219033e8038e9e4e569951a15', title: this.source.clickUri, href: this.source.clickUri, className: "block truncate", part: "source-url", attributes: this.anchorAttributes, onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, this.source.clickUri), h(LinkWithItemAnalytics, { key: '323ff5b9559f734e65390d354465999e2343ed24', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
36
+ return (h(Host, { key: '6e310815eb6ff1e946c53d1d6df1720486d4ed18' }, h(LinkWithItemAnalytics, { key: 'b3ded9dc0a96f9e5f76984d1f72c567ac778c560', title: this.source.clickUri, href: this.source.clickUri, className: "block truncate", part: "source-url", attributes: this.anchorAttributes, onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, this.source.clickUri), h(LinkWithItemAnalytics, { key: '486e92c8a519b149cff8938687d0ba2e67e2d2f2', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
37
37
  }
38
38
  }, [0, "atomic-smart-snippet-source", {
39
39
  "source": [1040],
@@ -117,8 +117,8 @@ const AtomicSortDropdown$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSortDr
117
117
  const { hasError, hasResults, firstSearchExecuted } = this.searchStatusState;
118
118
  const { bindings: { i18n }, id, } = this;
119
119
  return [
120
- h(SortGuard, { key: '6667c6e503af290a0e51b40bfd6f643831dfa0fc', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: 'b0373de043f4dc0fc61e650ea5a90b4fdd304339' }, h(SortLabel, { key: '8a4fff541f85ca5f40a32b3858c6ba235c2679a1', i18n: i18n, id: id }), h(SortSelect, { key: '5580563b8a27810e0c20d793a63bac8c74cb4cab', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
121
- h("slot", { key: '60c231823fd359621709b41f5d95aa230fc2ee64' }),
120
+ h(SortGuard, { key: '6bcf83c0920b696573d396e22f2d914cc1537022', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '07a9afdfc2b3ccab21f4e3b11c535be4f1434d2e' }, h(SortLabel, { key: 'e934aa217d8b46af88c7911cfa9bde8a24c70b42', i18n: i18n, id: id }), h(SortSelect, { key: '6d9e56ae34355b2d8f194845bf1549b92ca82304', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
121
+ h("slot", { key: '04455925e05235d7c024831ff217ca9aca774557' }),
122
122
  ];
123
123
  }
124
124
  get host() { return this; }
@@ -47,7 +47,7 @@ const AtomicSortExpression$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSort
47
47
  const dropdownComponent = 'atomic-sort-dropdown';
48
48
  if (!this.host.closest(dropdownComponent)) {
49
49
  const error = new Error(`The "${this.host.nodeName.toLowerCase()}" component has to be used inside an ${dropdownComponent} element.`);
50
- return (h("atomic-component-error", { key: '1dcf1d5a49d9a2582cf71892f27811e86aaaf329', element: this.host, error: error }));
50
+ return (h("atomic-component-error", { key: '4492cc004facf655eaad9558db0c7a161535a8b6', element: this.host, error: error }));
51
51
  }
52
52
  }
53
53
  get host() { return this; }
@@ -66,13 +66,13 @@ const FacetDateInput = /*@__PURE__*/ proxyCustomElement(class FacetDateInput ext
66
66
  // Fallback for Safari < 14.1, date with format yyyy-mm-dd over 1400 (API limit)
67
67
  const pattern = '^(1[4-9]\\d{2}|2\\d{3})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$';
68
68
  const range = this.rangeGetter();
69
- return (h("form", { key: '377adcbcff41771908557ad27244d5fc0c1180e2', class: "mt-4 grid grid-cols-[min-content_1fr] gap-2 px-2", onSubmit: (e) => {
69
+ return (h("form", { key: '084dd9894f80b7cd42138f934103d90dae3b140f', class: "mt-4 grid grid-cols-[min-content_1fr] gap-2 px-2", onSubmit: (e) => {
70
70
  e.preventDefault();
71
71
  this.apply();
72
72
  return false;
73
- } }, h("label", { key: 'b960ea34d03381dd29c0eb1bbc400bd35c4ea453', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_start` }, startLabel, ":"), h("input", { key: '7819595120e4efcec09158c981762560d01833d4', id: `${this.facetId}_start`, part: "input-start", type: "date", ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": startAria, placeholder: placeholder, pattern: pattern, required: true,
73
+ } }, h("label", { key: '2a47b82cec5373a0665c0ae28aaac525399b206b', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_start` }, startLabel, ":"), h("input", { key: 'f7035e188f43beb3694b66d2a4c9a718b909bfaa', id: `${this.facetId}_start`, part: "input-start", type: "date", ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": startAria, placeholder: placeholder, pattern: pattern, required: true,
74
74
  // API/Index minimum supported date
75
- min: this.min || this.formattedDateValue('1401-01-01'), max: this.end ? this.formattedDateValue(this.end) : this.max, value: this.formattedDateValue(range?.start), onInput: (e) => (this.start = parseDate(e.target.value).toDate()) }), h("label", { key: 'f29cceb6b8d699b1bcaa4ecae56bc5e17ff7d24f', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_end` }, endLabel, ":"), h("input", { key: 'f7aec88911a6bef568c8613a01aef106c58d7316', id: `${this.facetId}_end`, part: "input-end", type: "date", ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": endAria, placeholder: placeholder, pattern: pattern, required: true, min: this.formattedDateValue(this.start) || this.min, max: this.max, value: this.formattedDateValue(range?.end), onInput: (e) => (this.end = parseDate(e.target.value).toDate()) }), h(Button, { key: '90f35d82af067bfc7987e8e87b776f411a034517', style: "outline-primary", type: "submit", part: "input-apply-button", class: "col-span-2 truncate p-2.5", ariaLabel: applyAria, text: apply })));
75
+ min: this.min || this.formattedDateValue('1401-01-01'), max: this.end ? this.formattedDateValue(this.end) : this.max, value: this.formattedDateValue(range?.start), onInput: (e) => (this.start = parseDate(e.target.value).toDate()) }), h("label", { key: 'd3d8f0f24b787d73391d86c5f739e22c08775b42', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_end` }, endLabel, ":"), h("input", { key: '71b451d78fa4df94a5e219d6baefbd9306c74687', id: `${this.facetId}_end`, part: "input-end", type: "date", ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": endAria, placeholder: placeholder, pattern: pattern, required: true, min: this.formattedDateValue(this.start) || this.min, max: this.max, value: this.formattedDateValue(range?.end), onInput: (e) => (this.end = parseDate(e.target.value).toDate()) }), h(Button, { key: '0346899f0f10ef0493367493a25d8fc9988bfc0a', style: "outline-primary", type: "submit", part: "input-apply-button", class: "col-span-2 truncate p-2.5", ariaLabel: applyAria, text: apply })));
76
76
  }
77
77
  }, [0, "atomic-stencil-facet-date-input", {
78
78
  "bindings": [16],
@@ -73,7 +73,7 @@ const AtomicSuggestionRenderer = /*@__PURE__*/ proxyCustomElement(class AtomicSu
73
73
  }
74
74
  render() {
75
75
  const isButton = !!(this.suggestion.onSelect || this.suggestion.query);
76
- return (h(Host, { key: '50c7889706463b07ca38dbd02559eeadae00bb1d', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
76
+ return (h(Host, { key: '97ab3d71c92310e5371d7803a511f747855370f4', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
77
77
  if (!el) {
78
78
  return;
79
79
  }
@@ -59,7 +59,7 @@ const AtomicTabManager$1 = /*@__PURE__*/ proxyCustomElement(class AtomicTabManag
59
59
  });
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: '4a69196109d422072d625146adab3cc92b76016e' }, h("atomic-tab-bar", { key: 'ab8f6f14eef1425517142abf03b5b3783f821a30' }, h("div", { key: 'b2e122393dc52e1de0b9c3f6f151cafe461c1b11', role: "list", "aria-label": "tab-area", part: "tab-area", class: "border-neutral mb-2 flex w-full flex-row border-b" }, this.tabs.map((tab) => (h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
62
+ return (h(Host, { key: '4ea1e2534d1a02ca62d7ac6ec6462252e3d562ee' }, h("atomic-tab-bar", { key: '98896c96e0599094edee87021c10c9fe6fbf3ab0' }, h("div", { key: '2087916e6bda8851a9296a194bbe0cdca44e6330', role: "list", "aria-label": "tab-area", part: "tab-area", class: "border-neutral mb-2 flex w-full flex-row border-b" }, this.tabs.map((tab) => (h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
63
63
  defaultValue: tab.label,
64
64
  }), select: () => {
65
65
  if (!tab.tabController.state.isActive) {
@@ -303,13 +303,13 @@ __decorate([
303
303
  property({ type: String, attribute: 'log-level', reflect: true })
304
304
  ], AtomicCommerceInterface.prototype, "logLevel", void 0);
305
305
  __decorate([
306
- property({ type: Object })
306
+ property({ type: Object, attribute: false })
307
307
  ], AtomicCommerceInterface.prototype, "i18n", void 0);
308
308
  __decorate([
309
309
  property({ type: String, attribute: 'language', reflect: true })
310
310
  ], AtomicCommerceInterface.prototype, "language", void 0);
311
311
  __decorate([
312
- property({ type: Object })
312
+ property({ type: Object, attribute: false })
313
313
  ], AtomicCommerceInterface.prototype, "engine", void 0);
314
314
  __decorate([
315
315
  property({
@@ -183,10 +183,10 @@ __decorate([
183
183
  state()
184
184
  ], AtomicCommerceRecommendationInterface.prototype, "error", void 0);
185
185
  __decorate([
186
- property({ type: Object })
186
+ property({ type: Object, attribute: false })
187
187
  ], AtomicCommerceRecommendationInterface.prototype, "i18n", void 0);
188
188
  __decorate([
189
- property({ type: Object })
189
+ property({ type: Object, attribute: false })
190
190
  ], AtomicCommerceRecommendationInterface.prototype, "engine", void 0);
191
191
  __decorate([
192
192
  property({ type: String, attribute: 'scroll-container', reflect: true })
@@ -70,6 +70,7 @@ let AtomicCommerceRecommendationList = class AtomicCommerceRecommendationList ex
70
70
  this.imageSize = 'small';
71
71
  /**
72
72
  * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.
73
+ * When set to 0, a `div` will be used instead of an Heading Element.
73
74
  */
74
75
  this.headingLevel = 0;
75
76
  }
@@ -24,7 +24,7 @@ export const renderExpandableText = ({ props: { isExpanded, isTruncated, isColla
24
24
  const buttonClasses = tw({
25
25
  'expandable-text-button p-1 text-xs leading-[calc(1/.75)]': true,
26
26
  invisible: !isTruncated && !isExpanded,
27
- hidden: !isCollapsible && !isTruncated && isExpanded,
27
+ hidden: isExpanded && (!isTruncated || !isCollapsible),
28
28
  });
29
29
  const buttonClassString = Object.entries(buttonClasses)
30
30
  .filter(([, value]) => value)
@@ -1,2 +1 @@
1
- // Auto-generated file
2
- export { AtomicInsightInterface } from './atomic-insight-interface/atomic-insight-interface.js';
1
+ export {};
@@ -1,4 +1,2 @@
1
1
  // Auto-generated file
2
- export default {
3
- 'atomic-insight-interface': async () => await import('./atomic-insight-interface/atomic-insight-interface.js'),
4
- };
2
+ export default {};
@@ -42,11 +42,11 @@ const FacetNumberInput = /*@__PURE__*/ proxyCustomElement(class FacetNumberInput
42
42
  const inputClasses = 'p-2.5 input-primary placeholder-neutral-dark min-w-0 mr-1';
43
43
  const labelClasses = 'text-neutral-dark text-sm';
44
44
  const step = this.type === 'integer' ? '1' : 'any';
45
- return (h("form", { key: '0406137b757fd80da0c1003275fe4d85b1989d40', class: "mt-4 gap-y-0.5 px-2", part: "input-form", onSubmit: (e) => {
45
+ return (h("form", { key: 'cb496200417a7ae923ed216a520d31d6a413b2e8', class: "mt-4 gap-y-0.5 px-2", part: "input-form", onSubmit: (e) => {
46
46
  e.preventDefault();
47
47
  this.apply();
48
48
  return false;
49
- } }, h("label", { key: '5f6edbdcdcb7b47a0e762bcd635d0ed19ee0b31d', part: "label-start", class: labelClasses, htmlFor: `${this.filterState.facetId}_start` }, minText), h("input", { key: '433ec768234b052b43cf54b7178c023d42ebb6d2', part: "input-start", id: `${this.filterState.facetId}_start`, type: "number", step: step, ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": minAria, required: true, min: Number.MIN_SAFE_INTEGER, max: this.end, value: this.filterState.range?.start, onInput: (e) => (this.start = e.target.valueAsNumber) }), h("label", { key: 'ee812a7d94ced36e18dbfc48708521cd7749f4ce', part: "label-end", class: labelClasses, htmlFor: `${this.filterState.facetId}_end` }, maxText), h("input", { key: '3b108ec9fcf5c27ea4d842ba1562cde73f243c43', part: "input-end", id: `${this.filterState.facetId}_end`, type: "number", step: step, ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": maxAria, required: true, min: this.start, max: Number.MAX_SAFE_INTEGER, value: this.filterState.range?.end, onInput: (e) => (this.end = e.target.valueAsNumber) }), h(Button, { key: '858b1dddb7ba6d7d921eab781825382a05760526', style: "outline-primary", type: "submit", part: "input-apply-button", class: "flex-none truncate p-2.5", ariaLabel: applyAria, text: apply })));
49
+ } }, h("label", { key: '1e48ce21159e66f154cb46bb3a83d0d973e54cd0', part: "label-start", class: labelClasses, htmlFor: `${this.filterState.facetId}_start` }, minText), h("input", { key: '9a2421c00463cd2f5c361553d94353a193bf2734', part: "input-start", id: `${this.filterState.facetId}_start`, type: "number", step: step, ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": minAria, required: true, min: Number.MIN_SAFE_INTEGER, max: this.end, value: this.filterState.range?.start, onInput: (e) => (this.start = e.target.valueAsNumber) }), h("label", { key: '075914740e743b2e26818d902cc903a2610b913b', part: "label-end", class: labelClasses, htmlFor: `${this.filterState.facetId}_end` }, maxText), h("input", { key: '726e7ddaf3144b7e2d0f78e18c7d2f657d29a1dc', part: "input-end", id: `${this.filterState.facetId}_end`, type: "number", step: step, ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": maxAria, required: true, min: this.start, max: Number.MAX_SAFE_INTEGER, value: this.filterState.range?.end, onInput: (e) => (this.end = e.target.valueAsNumber) }), h(Button, { key: '3bc6b01792661d0ca214cba22d1a00a5acd2f003', style: "outline-primary", type: "submit", part: "input-apply-button", class: "flex-none truncate p-2.5", ariaLabel: applyAria, text: apply })));
50
50
  }
51
51
  static get style() { return AtomicFacetNumberInputStyle0; }
52
52
  }, [0, "atomic-facet-number-input", {
@@ -3,7 +3,7 @@ function getWindow() {
3
3
  }
4
4
  export function getAtomicEnvironment(headlessVersion) {
5
5
  return {
6
- version: "3.33.2-pre.8a6d9083d3",
6
+ version: "3.33.2-pre.9b6ad522eb",
7
7
  headlessVersion,
8
8
  };
9
9
  }
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;;;;;;;;;;;;SAYgB,cAAc,CAAoB,OAAgB;IAChE,OAAO,WAAW,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACnD;;MCjCa,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,WAAmB,EAAE,UAAkB;QACjD,KAAK,CACH,QAAQ,WAAW,sCAAsC,UAAU,YAAY,CAChF,CAAC;KACH;;;ACfH,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;SAIpC,gBAAgB,CAAI,OAAgB,EAAE,UAAkB;IACtE,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM;QACpC,MAAM,KAAK,GAAG,gBAAgB,CAC5B,oBAAoB,EACpB,CAAC,IAAO;YACN,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;SACtB,CACF,CAAC;QACF,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE;YACjC,MAAM,CACJ,IAAI,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,UAAU,CAAC,CACnE,CAAC;SACH;KACF,CAAC,CAAC;AACL;;ACoDA;;;;;;;;;;SAUgB,mBAAmB,CAAoB,OAAgB;IACrE,OAAO,gBAAgB,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACxD;;;;","names":[],"sources":["src/components/commerce/product-template-component-utils/stencil-product-template-decorators.tsx","src/components/common/item-list/context/item-context-controller.ts","src/components/common/item-list/fetch-item-context.ts","src/decorators/commerce/product-template-decorators.ts"],"sourcesContent":["import {Product} from '@coveo/headless/commerce';\nimport {\n InteractiveItemContext,\n InteractiveItemContextEvent,\n ItemContext,\n ItemContextEvent,\n itemContext,\n} from '../../common/item-list/stencil-item-decorators';\n\n/**\n * A [StencilJS property decorator](https://stenciljs.com/) to be used for product template components.\n * This allows the Stencil component to fetch the current product from its rendered parent, the `atomic-product` component.\n *\n * Example:\n * ```\n * @ProductContext() private product!: Product;\n * ```\n *\n * For more information and examples, view the [Utilities section](https://github.com/coveo/ui-kit/tree/master/packages/atomic#utilities) of the Coveo Atomic README.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `createProductContextController` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function ProductContext(opts: {folded: boolean} = {folded: false}) {\n return ItemContext({parentName: 'atomic-product', folded: opts.folded});\n}\n\nexport function InteractiveProductContext() {\n return InteractiveItemContext();\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent = InteractiveItemContextEvent;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * 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.\n *\n * 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).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered \"atomic-product\".\n * @returns A promise that resolves on initialization of the parent \"atomic-product\" element, or rejects when there is no parent \"atomic-product\" element.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `fetchProductContext` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function productContext<T extends Product>(element: Element) {\n return itemContext<T>(element, 'atomic-product');\n}\n","import type {LitElement, ReactiveController, ReactiveControllerHost} from 'lit';\nimport type {InitializableComponent} from '@/src/decorators/types.js';\nimport {buildCustomEvent} from '@/src/utils/event-utils';\n\ntype LitElementWithError = Omit<\n Pick<InitializableComponent, 'error'>,\n 'error'\n> &\n LitElement & {\n error: Error | null;\n };\n\nconst itemContextEventName = 'atomic/resolveResult';\n\nexport class MissingParentError extends Error {\n constructor(elementName: string, parentName: string) {\n super(\n `The \"${elementName}\" element must be the child of an \"${parentName}\" element.`\n );\n }\n}\n\nfunction extractFolded<T = Record<string, unknown>>(\n item: Record<string, unknown>,\n returnFolded: boolean\n): T {\n if (returnFolded) {\n if ('children' in item) {\n return item as T;\n } else {\n return {children: [], result: item} as T;\n }\n }\n\n if ('children' in item && 'result' in item) {\n return item.result as T;\n }\n return item as T;\n}\n\n/**\n * A reactive controller that manages item context data from parent components.\n * Handles fetching item data via custom events and manages error states.\n */\nexport class ItemContextController<T = Record<string, unknown>>\n implements ReactiveController\n{\n private host: ReactiveControllerHost & LitElementWithError;\n private parentName: string;\n private folded: boolean;\n private _item: T | null = null;\n private _error: MissingParentError | null = null;\n\n constructor(\n host: ReactiveControllerHost & LitElementWithError,\n options: {parentName?: string; folded?: boolean} = {}\n ) {\n this.host = host;\n this.parentName = options.parentName ?? 'atomic-result';\n this.folded = options.folded ?? false;\n host.addController(this);\n }\n\n get item(): T | null {\n return this._error ? null : this._item;\n }\n\n get error(): MissingParentError | null {\n return this._error;\n }\n\n get hasError(): boolean {\n return this._error !== null;\n }\n\n hostConnected(): void {\n this._resolveItemContext();\n }\n\n private _resolveItemContext(): void {\n const event = buildCustomEvent(\n itemContextEventName,\n (item: Record<string, unknown>) => {\n this._item = extractFolded<T>(item, this.folded);\n this._error = null;\n this.host.error = null;\n this.host.requestUpdate();\n }\n );\n\n const canceled = this.host.dispatchEvent(event);\n if (canceled) {\n const elementName = (this.host as Element).nodeName.toLowerCase();\n this._error = new MissingParentError(elementName, this.parentName);\n this._item = null;\n this.host.error = this._error;\n this.host.requestUpdate();\n }\n }\n}\n\ntype ItemContextEventHandler<T> = (item: T) => void;\nexport type ItemContextEvent<T> = CustomEvent<ItemContextEventHandler<T>>;\n","import {closest} from '../../../utils/dom-utils.js';\nimport {buildCustomEvent} from '../../../utils/event-utils.js';\nimport {MissingParentError} from './context/item-context-controller.js';\n\nconst itemContextEventName = 'atomic/resolveResult';\n\ntype ItemContextEventHandler<T> = (item: T) => void;\n\nexport function fetchItemContext<T>(element: Element, parentName: string) {\n return new Promise<T>((resolve, reject) => {\n const event = buildCustomEvent<ItemContextEventHandler<T>>(\n itemContextEventName,\n (item: T) => {\n return resolve(item);\n }\n );\n element.dispatchEvent(event);\n\n if (!closest(element, parentName)) {\n reject(\n new MissingParentError(element.nodeName.toLowerCase(), parentName)\n );\n }\n });\n}\n","import type {InteractiveProduct, Product} from '@coveo/headless/commerce';\nimport type {LitElement} from 'lit';\nimport {\n InteractiveItemContextController,\n type InteractiveItemContextEvent,\n} from '@/src/components/common/item-list/context/interactive-item-context-controller';\nimport {\n ItemContextController,\n type ItemContextEvent,\n} from '@/src/components/common/item-list/context/item-context-controller';\nimport {fetchItemContext} from '@/src/components/common/item-list/fetch-item-context';\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing product context in product template components.\n *\n * @param host - The Lit component instance\n * @param options - Configuration options\n * @returns ItemContextController instance configured for atomic-product\n *\n * @example\n * ```typescript\n * @customElement('my-product-component')\n * export class MyProductComponent extends LitElement {\n * private productController = createProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.productController.item;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createProductContextController(\n host: LitElement & {error: Error | null},\n options: {folded?: boolean} = {}\n): ItemContextController<Product> {\n return new ItemContextController<Product>(host, {\n parentName: 'atomic-product',\n folded: options.folded ?? false,\n });\n}\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing interactive product context in product template components.\n *\n * @param host - The Lit component instance\n * @returns InteractiveItemContextController instance\n *\n * @example\n * ```typescript\n * @customElement('my-interactive-product-component')\n * export class MyInteractiveProductComponent extends LitElement {\n * private interactiveProductController = createInteractiveProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.interactiveProductController.interactiveItem;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createInteractiveProductContextController(\n host: LitElement & {error: Error}\n): InteractiveItemContextController<InteractiveProduct> {\n return new InteractiveItemContextController<InteractiveProduct>(host);\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent<\n T extends InteractiveProduct = InteractiveProduct,\n> = InteractiveItemContextEvent<T>;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This utility function 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.\n *\n * You should use the utility function in the [`connectedCallback` lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered `atomic-product`.\n * @returns A promise that resolves on initialization of the parent `atomic-product` element, or rejects when there is no parent `atomic-product` element.\n */\nexport function fetchProductContext<T extends Product>(element: Element) {\n return fetchItemContext<T>(element, 'atomic-product');\n}\n"],"version":3}
1
+ {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;;;;;;;;;;;;SAYgB,cAAc,CAAoB,OAAgB;IAChE,OAAO,WAAW,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACnD;;MCjCa,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,WAAmB,EAAE,UAAkB;QACjD,KAAK,CACH,QAAQ,WAAW,sCAAsC,UAAU,YAAY,CAChF,CAAC;KACH;;;ACfH,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;SAIpC,gBAAgB,CAAI,OAAgB,EAAE,UAAkB;IACtE,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM;QACpC,MAAM,KAAK,GAAG,gBAAgB,CAC5B,oBAAoB,EACpB,CAAC,IAAO;YACN,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;SACtB,CACF,CAAC;QACF,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE;YACjC,MAAM,CACJ,IAAI,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,UAAU,CAAC,CACnE,CAAC;SACH;KACF,CAAC,CAAC;AACL;;ACoDA;;;;;;;;;;SAUgB,mBAAmB,CAAoB,OAAgB;IACrE,OAAO,gBAAgB,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACxD;;;;","names":[],"sources":["src/components/commerce/product-template-component-utils/stencil-product-template-decorators.tsx","src/components/common/item-list/context/item-context-controller.ts","src/components/common/item-list/fetch-item-context.ts","src/decorators/commerce/product-template-decorators.ts"],"sourcesContent":["import {Product} from '@coveo/headless/commerce';\nimport {\n InteractiveItemContext,\n InteractiveItemContextEvent,\n ItemContext,\n ItemContextEvent,\n itemContext,\n} from '../../common/item-list/stencil-item-decorators';\n\n/**\n * A [StencilJS property decorator](https://stenciljs.com/) to be used for product template components.\n * This allows the Stencil component to fetch the current product from its rendered parent, the `atomic-product` component.\n *\n * Example:\n * ```\n * @ProductContext() private product!: Product;\n * ```\n *\n * For more information and examples, view the [Utilities section](https://github.com/coveo/ui-kit/tree/master/packages/atomic#utilities) of the Coveo Atomic README.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `createProductContextController` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function ProductContext(opts: {folded: boolean} = {folded: false}) {\n return ItemContext({parentName: 'atomic-product', folded: opts.folded});\n}\n\nexport function InteractiveProductContext() {\n return InteractiveItemContext();\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent = InteractiveItemContextEvent;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * 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.\n *\n * 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).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered \"atomic-product\".\n * @returns A promise that resolves on initialization of the parent \"atomic-product\" element, or rejects when there is no parent \"atomic-product\" element.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `fetchProductContext` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function productContext<T extends Product>(element: Element) {\n return itemContext<T>(element, 'atomic-product');\n}\n","import type {LitElement, ReactiveController, ReactiveControllerHost} from 'lit';\nimport type {InitializableComponent} from '@/src/decorators/types.js';\nimport {buildCustomEvent} from '@/src/utils/event-utils';\n\ntype LitElementWithError = Omit<\n Pick<InitializableComponent, 'error'>,\n 'error'\n> &\n LitElement & {\n error: Error | null;\n };\n\nconst itemContextEventName = 'atomic/resolveResult';\n\nexport class MissingParentError extends Error {\n constructor(elementName: string, parentName: string) {\n super(\n `The \"${elementName}\" element must be the child of an \"${parentName}\" element.`\n );\n }\n}\n\nfunction extractFolded<T = Record<string, unknown>>(\n item: Record<string, unknown>,\n returnFolded: boolean\n): T {\n if (returnFolded) {\n if ('children' in item) {\n return item as T;\n } else {\n return {children: [], result: item} as T;\n }\n }\n\n if ('children' in item && 'result' in item) {\n return item.result as T;\n }\n return item as T;\n}\n\n/**\n * A reactive controller that manages item context data from parent components.\n * Handles fetching item data via custom events and manages error states.\n */\nexport class ItemContextController<T = Record<string, unknown>>\n implements ReactiveController\n{\n private host: ReactiveControllerHost & LitElementWithError;\n private parentName: string;\n private folded: boolean;\n private _item: T | null = null;\n private _error: MissingParentError | null = null;\n\n constructor(\n host: ReactiveControllerHost & LitElementWithError,\n options: {parentName?: string; folded?: boolean} = {}\n ) {\n this.host = host;\n this.parentName = options.parentName ?? 'atomic-result';\n this.folded = options.folded ?? false;\n host.addController(this);\n }\n\n get item(): T | null {\n return this._error ? null : this._item;\n }\n\n get error(): MissingParentError | null {\n return this._error;\n }\n\n get hasError(): boolean {\n return this._error !== null;\n }\n\n hostConnected(): void {\n this._resolveItemContext();\n }\n\n private _resolveItemContext(): void {\n const event = buildCustomEvent(\n itemContextEventName,\n (item: Record<string, unknown>) => {\n this._item = extractFolded<T>(item, this.folded);\n this._error = null;\n this.host.error = null;\n this.host.requestUpdate();\n }\n );\n\n const canceled = this.host.dispatchEvent(event);\n if (canceled) {\n const elementName = (this.host as Element).nodeName.toLowerCase();\n this._error = new MissingParentError(elementName, this.parentName);\n this._item = null;\n this.host.error = this._error;\n this.host.requestUpdate();\n }\n }\n}\n\ntype ItemContextEventHandler<T> = (item: T) => void;\nexport type ItemContextEvent<T> = CustomEvent<ItemContextEventHandler<T>>;\n","import {closest} from '../../../utils/dom-utils.js';\nimport {buildCustomEvent} from '../../../utils/event-utils.js';\nimport {MissingParentError} from './context/item-context-controller.js';\n\nconst itemContextEventName = 'atomic/resolveResult';\n\ntype ItemContextEventHandler<T> = (item: T) => void;\n\nexport function fetchItemContext<T>(element: Element, parentName: string) {\n return new Promise<T>((resolve, reject) => {\n const event = buildCustomEvent<ItemContextEventHandler<T>>(\n itemContextEventName,\n (item: T) => {\n return resolve(item);\n }\n );\n element.dispatchEvent(event);\n\n if (!closest(element, parentName)) {\n reject(\n new MissingParentError(element.nodeName.toLowerCase(), parentName)\n );\n }\n });\n}\n","import type {InteractiveProduct, Product} from '@coveo/headless/commerce';\nimport type {LitElement} from 'lit';\nimport {\n InteractiveItemContextController,\n type InteractiveItemContextEvent,\n} from '@/src/components/common/item-list/context/interactive-item-context-controller';\nimport {\n ItemContextController,\n type ItemContextEvent,\n} from '@/src/components/common/item-list/context/item-context-controller';\nimport {fetchItemContext} from '@/src/components/common/item-list/fetch-item-context';\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing product context in product template components.\n *\n * @param host - The Lit component instance\n * @param options - Configuration options\n * @returns ItemContextController instance configured for atomic-product\n *\n * @example\n * ```typescript\n * @customElement('my-product-component')\n * export class MyProductComponent extends LitElement {\n * private productController = createProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.productController.item;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createProductContextController(\n host: LitElement & {error: Error | null},\n options: {folded?: boolean} = {}\n): ItemContextController<Product> {\n return new ItemContextController<Product>(host, {\n parentName: 'atomic-product',\n folded: options.folded ?? false,\n });\n}\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing interactive product context in product template components.\n *\n * @param host - The Lit component instance\n * @returns InteractiveItemContextController instance\n *\n * @example\n * ```typescript\n * @customElement('my-interactive-product-component')\n * export class MyInteractiveProductComponent extends LitElement {\n * private interactiveProductController = createInteractiveProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.interactiveProductController.interactiveItem;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createInteractiveProductContextController(\n host: LitElement & {error: Error}\n): InteractiveItemContextController<InteractiveProduct> {\n return new InteractiveItemContextController<InteractiveProduct>(host);\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent<\n T extends InteractiveProduct = InteractiveProduct,\n> = InteractiveItemContextEvent<T>;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This utility function 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.\n *\n * You should use the utility function in the [`connectedCallback` lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered `atomic-product`.\n * @returns A promise that resolves on initialization of the parent `atomic-product` element, or rejects when there is no parent `atomic-product` element.\n */\nexport function fetchProductContext<T extends Product>(element: Element) {\n return fetchItemContext<T>(element, 'atomic-product');\n}\n"],"version":3}