@coveo/atomic 3.28.0-pre.c28335485c → 3.28.0-pre.d7a2bdbfed

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 (614) 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 +8 -0
  4. package/dist/atomic/components/_index.js +4 -0
  5. package/dist/atomic/components/atomic-aria-live2.js +1 -1
  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-commerce-category-facet2.js +1 -1
  9. package/dist/atomic/components/atomic-commerce-no-products.d.ts +11 -0
  10. package/dist/atomic/components/atomic-commerce-no-products.js +74 -0
  11. package/dist/atomic/components/atomic-commerce-no-products.js.map +1 -0
  12. package/dist/atomic/components/atomic-commerce-numeric-facet2.js +2 -2
  13. package/dist/atomic/components/atomic-commerce-query-error.js +1 -1
  14. package/dist/atomic/components/atomic-commerce-recommendation-interface.js +1 -1
  15. package/dist/atomic/components/atomic-commerce-refine-modal2.js +1 -1
  16. package/dist/atomic/components/atomic-commerce-refine-toggle.js +1 -1
  17. package/dist/atomic/components/atomic-commerce-text.d.ts +11 -0
  18. package/dist/atomic/components/atomic-commerce-text.js +8 -0
  19. package/dist/atomic/components/atomic-commerce-text.js.map +1 -0
  20. package/dist/atomic/components/atomic-commerce-text2.js +60 -0
  21. package/dist/atomic/components/atomic-commerce-text2.js.map +1 -0
  22. package/dist/atomic/components/atomic-commerce-timeframe-facet2.js +1 -1
  23. package/dist/atomic/components/atomic-facet-manager.js +1 -1
  24. package/dist/atomic/components/atomic-facet.js +1 -1
  25. package/dist/atomic/components/atomic-format-currency.js +1 -1
  26. package/dist/atomic/components/atomic-format-number.js +1 -1
  27. package/dist/atomic/components/atomic-format-unit.js +1 -1
  28. package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +1 -1
  29. package/dist/atomic/components/atomic-html2.js +1 -1
  30. package/dist/atomic/components/atomic-insight-edit-toggle.js +1 -1
  31. package/dist/atomic/components/atomic-insight-facet.js +1 -1
  32. package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
  33. package/dist/atomic/components/atomic-insight-full-search-button.js +1 -1
  34. package/dist/atomic/components/atomic-insight-history-toggle.js +1 -1
  35. package/dist/atomic/components/atomic-insight-no-results.js +1 -1
  36. package/dist/atomic/components/atomic-insight-numeric-facet.js +1 -1
  37. package/dist/atomic/components/atomic-insight-pager.js +3 -3
  38. package/dist/atomic/components/atomic-insight-query-error.js +1 -1
  39. package/dist/atomic/components/atomic-insight-refine-modal2.js +2 -2
  40. package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
  41. package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +1 -1
  42. package/dist/atomic/components/atomic-insight-result-children.js +1 -1
  43. package/dist/atomic/components/atomic-insight-result-list.js +1 -1
  44. package/dist/atomic/components/atomic-insight-result-quickview-action.js +1 -1
  45. package/dist/atomic/components/atomic-insight-result2.js +1 -1
  46. package/dist/atomic/components/atomic-insight-search-box.js +2 -2
  47. package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
  48. package/dist/atomic/components/atomic-insight-tabs.js +1 -1
  49. package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
  50. package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
  51. package/dist/atomic/components/atomic-ipx-body2.js +2 -2
  52. package/dist/atomic/components/atomic-ipx-button.js +2 -2
  53. package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
  54. package/dist/atomic/components/atomic-ipx-modal.js +2 -2
  55. package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
  56. package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
  57. package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
  58. package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
  59. package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
  60. package/dist/atomic/components/atomic-layout-section.d.ts +11 -0
  61. package/dist/atomic/components/atomic-layout-section.js +35 -0
  62. package/dist/atomic/components/atomic-layout-section.js.map +1 -0
  63. package/dist/atomic/components/atomic-load-more-results.js +1 -1
  64. package/dist/atomic/components/atomic-modal2.js +2 -2
  65. package/dist/atomic/components/atomic-no-results.js +2 -14
  66. package/dist/atomic/components/atomic-no-results.js.map +1 -1
  67. package/dist/atomic/components/atomic-numeric-facet.js +1 -1
  68. package/dist/atomic/components/atomic-pager.js +3 -3
  69. package/dist/atomic/components/atomic-product-children.js +7 -1
  70. package/dist/atomic/components/atomic-product-children.js.map +1 -1
  71. package/dist/atomic/components/atomic-product-description.js +14 -2
  72. package/dist/atomic/components/atomic-product-description.js.map +1 -1
  73. package/dist/atomic/components/atomic-product-excerpt.js +14 -2
  74. package/dist/atomic/components/atomic-product-excerpt.js.map +1 -1
  75. package/dist/atomic/components/atomic-product-link.js +13 -1
  76. package/dist/atomic/components/atomic-product-link.js.map +1 -1
  77. package/dist/atomic/components/atomic-product-price.js +1 -1
  78. package/dist/atomic/components/atomic-product-text.d.ts +11 -0
  79. package/dist/atomic/components/atomic-product-text.js +8 -0
  80. package/dist/atomic/components/atomic-product-text.js.map +1 -0
  81. package/dist/atomic/components/atomic-product-text2.js +83 -0
  82. package/dist/atomic/components/atomic-product-text2.js.map +1 -0
  83. package/dist/atomic/components/atomic-query-error.js +1 -1
  84. package/dist/atomic/components/atomic-query-summary.js +1 -1
  85. package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
  86. package/dist/atomic/components/atomic-quickview.js +1 -1
  87. package/dist/atomic/components/atomic-recs-error.js +1 -1
  88. package/dist/atomic/components/atomic-recs-list.js +1 -1
  89. package/dist/atomic/components/atomic-refine-modal2.js +1 -1
  90. package/dist/atomic/components/atomic-refine-toggle.js +1 -1
  91. package/dist/atomic/components/atomic-relevance-inspector2.js +2 -2
  92. package/dist/atomic/components/atomic-result-children.js +1 -1
  93. package/dist/atomic/components/atomic-result-fields-list.js +1 -1
  94. package/dist/atomic/components/atomic-result-link.js +1 -1
  95. package/dist/atomic/components/atomic-result-list.js +1 -1
  96. package/dist/atomic/components/atomic-result-placeholder2.js +2 -2
  97. package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
  98. package/dist/atomic/components/atomic-result-text2.js +2 -45
  99. package/dist/atomic/components/atomic-result-text2.js.map +1 -1
  100. package/dist/atomic/components/atomic-results-per-page.js +1 -1
  101. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
  102. package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
  103. package/dist/atomic/components/atomic-search-box.js +4 -4
  104. package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
  105. package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
  106. package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
  107. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  108. package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
  109. package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
  110. package/dist/atomic/components/atomic-sort-expression.js +1 -1
  111. package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
  112. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  113. package/dist/atomic/components/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.js +1 -1
  114. package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +0 -2
  115. package/dist/atomic/components/components/commerce/index.js +0 -3
  116. package/dist/atomic/components/components/commerce/lazy-index.js +0 -3
  117. package/dist/atomic/components/components/common/index.js +0 -1
  118. package/dist/atomic/components/components/common/lazy-index.js +0 -1
  119. package/dist/atomic/components/{stencil-expandable-text.js → expandable-text.js} +1 -1
  120. package/dist/atomic/components/expandable-text.js.map +1 -0
  121. package/dist/atomic/components/facet-date-input.js +3 -3
  122. package/dist/atomic/components/facet-number-input.js +2 -2
  123. package/dist/atomic/components/global/environment.js +1 -1
  124. package/dist/atomic/components/index.js.map +1 -1
  125. package/dist/atomic/components/interface-common-stencil.js +1 -1
  126. package/dist/atomic/components/product-utils.js +8 -1
  127. package/dist/atomic/components/product-utils.js.map +1 -1
  128. package/dist/atomic/components/sections.js.map +1 -1
  129. package/dist/atomic/components/stencil-item-text-highlighted.js +49 -0
  130. package/dist/atomic/components/stencil-item-text-highlighted.js.map +1 -0
  131. package/dist/atomic/components/tab-button.js +1 -1
  132. package/dist/atomic/components/tab-popover.js +1 -1
  133. package/dist/atomic/components/{components/common/no-items/utils.js → utils2.js} +5 -1
  134. package/dist/atomic/components/utils2.js.map +1 -0
  135. package/dist/atomic/{p-3c56ddf6.entry.js → p-0267a585.entry.js} +2 -2
  136. package/dist/atomic/{p-a36e0adb.entry.js → p-0a7b0daa.entry.js} +2 -2
  137. package/dist/atomic/{p-4d139df4.entry.js → p-0b0ea7d3.entry.js} +2 -2
  138. package/dist/atomic/{p-f46b7410.entry.js → p-135be5aa.entry.js} +2 -2
  139. package/dist/atomic/{p-ba6a30a7.entry.js → p-1cb6a01c.entry.js} +2 -2
  140. package/dist/atomic/p-1cb6a01c.entry.js.map +1 -0
  141. package/dist/atomic/{p-d774c15e.entry.js → p-1cc97adc.entry.js} +2 -2
  142. package/dist/atomic/{p-ea5d2736.entry.js → p-22a0d1b9.entry.js} +2 -2
  143. package/dist/atomic/{p-0bcfd9e7.entry.js → p-29d27418.entry.js} +2 -2
  144. package/dist/atomic/{p-564605c1.entry.js → p-2f0cb73c.entry.js} +2 -2
  145. package/dist/atomic/p-2ff906b9.entry.js +2 -0
  146. package/dist/atomic/p-2ff906b9.entry.js.map +1 -0
  147. package/dist/atomic/{p-3c8ed811.entry.js → p-306c83ea.entry.js} +2 -2
  148. package/dist/atomic/{p-55f50d5e.entry.js → p-3195fa42.entry.js} +2 -2
  149. package/dist/atomic/{p-714e5692.entry.js → p-32b26cd0.entry.js} +2 -2
  150. package/dist/atomic/{p-aac69407.entry.js → p-32c90fe9.entry.js} +2 -2
  151. package/dist/atomic/p-39223a2a.entry.js +2 -0
  152. package/dist/atomic/p-39223a2a.entry.js.map +1 -0
  153. package/dist/atomic/{p-6c71c49b.entry.js → p-3ec18de9.entry.js} +2 -2
  154. package/dist/atomic/{p-1a189a4a.entry.js → p-3f42a2db.entry.js} +2 -2
  155. package/dist/atomic/{p-a55a6705.entry.js → p-45b26cc7.entry.js} +2 -2
  156. package/dist/atomic/{p-3a6d85ba.entry.js → p-46522ee4.entry.js} +2 -2
  157. package/dist/atomic/{p-1686dd4e.entry.js → p-47ee9d37.entry.js} +2 -2
  158. package/dist/atomic/{p-6ae6b977.entry.js → p-50b9a5d2.entry.js} +2 -2
  159. package/dist/atomic/{p-a2161335.entry.js → p-51c5acfc.entry.js} +2 -2
  160. package/dist/atomic/{p-50d4886b.entry.js → p-543e811e.entry.js} +2 -2
  161. package/dist/atomic/p-59017e0a.entry.js +2 -0
  162. package/dist/atomic/p-59017e0a.entry.js.map +1 -0
  163. package/dist/atomic/p-5cf5bb98.entry.js +2 -0
  164. package/dist/atomic/{p-64a237ba.entry.js → p-60a9e718.entry.js} +2 -2
  165. package/dist/atomic/{p-b1230da3.entry.js → p-66683abd.entry.js} +2 -2
  166. package/dist/atomic/{p-80e1d96b.entry.js → p-67315415.entry.js} +2 -2
  167. package/dist/atomic/p-67ef14ac.entry.js +2 -0
  168. package/dist/atomic/p-67ef14ac.entry.js.map +1 -0
  169. package/dist/atomic/{p-ddf0b2e0.entry.js → p-689e063d.entry.js} +2 -2
  170. package/dist/atomic/{p-a7abf0e1.entry.js → p-690b5853.entry.js} +2 -2
  171. package/dist/atomic/{p-f2cc3ceb.entry.js → p-6fa077f7.entry.js} +2 -2
  172. package/dist/atomic/{p-66562526.entry.js → p-70ab347b.entry.js} +2 -2
  173. package/dist/atomic/p-733252f1.entry.js +2 -0
  174. package/dist/atomic/p-733252f1.entry.js.map +1 -0
  175. package/dist/atomic/{p-948c62c9.entry.js → p-76122df5.entry.js} +2 -2
  176. package/dist/atomic/{p-8dad20e1.js → p-7cb3144b.js} +2 -2
  177. package/dist/atomic/{p-cd4c6b6b.entry.js → p-7d1f8d9c.entry.js} +2 -2
  178. package/dist/atomic/{p-56801993.entry.js → p-80dc3bab.entry.js} +2 -2
  179. package/dist/atomic/{p-6f6b53e4.entry.js → p-8392e900.entry.js} +2 -2
  180. package/dist/atomic/{p-907e8b14.entry.js → p-8d7f57d9.entry.js} +2 -2
  181. package/dist/atomic/{p-5eca0d33.entry.js → p-8e09f796.entry.js} +2 -2
  182. package/dist/atomic/{p-b5d358d8.entry.js → p-95942ba2.entry.js} +2 -2
  183. package/dist/atomic/{p-51565abd.entry.js → p-99604083.entry.js} +2 -2
  184. package/dist/atomic/{p-90619819.entry.js → p-9a08dad7.entry.js} +2 -2
  185. package/dist/atomic/{p-107400f4.entry.js → p-9ae88402.entry.js} +2 -2
  186. package/dist/atomic/p-9c7dbbdf.js.map +1 -1
  187. package/dist/atomic/{p-ae1675b3.entry.js → p-9d2230db.entry.js} +2 -2
  188. package/dist/atomic/{p-408c230c.entry.js → p-9e4b1ecb.entry.js} +2 -2
  189. package/dist/atomic/{p-a1719068.entry.js → p-9eb108c9.entry.js} +2 -2
  190. package/dist/atomic/{p-0166649f.entry.js → p-a046cf06.entry.js} +2 -2
  191. package/dist/atomic/{p-38885808.entry.js → p-a3169f59.entry.js} +2 -2
  192. package/dist/atomic/{p-0f4f6b95.entry.js → p-a772b365.entry.js} +2 -2
  193. package/dist/atomic/{p-631000af.entry.js → p-a8281e9b.entry.js} +2 -2
  194. package/dist/atomic/{p-a5acd65b.entry.js → p-ab5eec3d.entry.js} +2 -2
  195. package/dist/atomic/{p-46ecbdbc.entry.js → p-b19a8cbb.entry.js} +2 -2
  196. package/dist/atomic/p-b1a7d837.js +2 -0
  197. package/dist/atomic/p-b1a7d837.js.map +1 -0
  198. package/dist/atomic/{p-bd32ca3c.entry.js → p-b3604b54.entry.js} +2 -2
  199. package/dist/atomic/p-b3604b54.entry.js.map +1 -0
  200. package/dist/atomic/{p-a3b64777.entry.js → p-b4d47ca9.entry.js} +2 -2
  201. package/dist/atomic/{p-ea5d6cd8.entry.js → p-b4dfe5b2.entry.js} +2 -2
  202. package/dist/atomic/p-b747e4a9.entry.js +2 -0
  203. package/dist/atomic/{p-74261c54.entry.js → p-b7824e0e.entry.js} +2 -2
  204. package/dist/atomic/p-bb081d4e.js +2 -0
  205. package/dist/atomic/p-bb081d4e.js.map +1 -0
  206. package/dist/atomic/{p-e7834b58.entry.js → p-be05ddd0.entry.js} +2 -2
  207. package/dist/atomic/{p-a12a865a.entry.js → p-be13ed5c.entry.js} +2 -2
  208. package/dist/atomic/p-befca41f.entry.js +2 -0
  209. package/dist/atomic/{p-81575de0.entry.js → p-bfeefcaa.entry.js} +2 -2
  210. package/dist/atomic/{p-2fb01b9f.entry.js → p-c0d7b26d.entry.js} +2 -2
  211. package/dist/atomic/{p-b8702505.entry.js → p-c13d4039.entry.js} +2 -2
  212. package/dist/atomic/{p-ce3a6c4e.entry.js → p-c4f042ae.entry.js} +2 -2
  213. package/dist/atomic/{p-dd073755.entry.js → p-c83f9cff.entry.js} +2 -2
  214. package/dist/atomic/{p-e46150fa.entry.js → p-cd87574b.entry.js} +2 -2
  215. package/dist/atomic/{p-b112525e.entry.js → p-ce4e939b.entry.js} +2 -2
  216. package/dist/atomic/{p-1fbbed3e.entry.js → p-d1efd50f.entry.js} +2 -2
  217. package/dist/atomic/{p-eadb22d2.entry.js → p-d30057a0.entry.js} +2 -2
  218. package/dist/atomic/{p-59ac477f.entry.js → p-d4aba9f9.entry.js} +2 -2
  219. package/dist/atomic/{p-82c5b823.entry.js → p-d69756ae.entry.js} +2 -2
  220. package/dist/atomic/{p-07968356.entry.js → p-d827c148.entry.js} +2 -2
  221. package/dist/atomic/{p-565a5e0d.entry.js → p-dd8c6bdd.entry.js} +2 -2
  222. package/dist/atomic/{p-be061124.entry.js → p-ddd52850.entry.js} +2 -2
  223. package/dist/atomic/{p-1d02a670.js → p-de00bdd6.js} +1 -1
  224. package/dist/atomic/p-de00bdd6.js.map +1 -0
  225. package/dist/atomic/{p-50b7f5e8.entry.js → p-e44155cc.entry.js} +2 -2
  226. package/dist/atomic/{p-fdd01814.entry.js → p-e4754fd0.entry.js} +2 -2
  227. package/dist/atomic/{p-c753c557.entry.js → p-e604fd29.entry.js} +2 -2
  228. package/dist/atomic/{p-f7cce92b.entry.js → p-e80d722f.entry.js} +2 -2
  229. package/dist/atomic/{p-ad3ee863.entry.js → p-eab28672.entry.js} +2 -2
  230. package/dist/atomic/{p-38efdad8.entry.js → p-ec0161b7.entry.js} +2 -2
  231. package/dist/atomic/{p-bb502279.entry.js → p-ec6bc15b.entry.js} +2 -2
  232. package/dist/atomic/p-eebb168b.entry.js +2 -0
  233. package/dist/atomic/{p-4630f21a.entry.js → p-f4a1bfe3.entry.js} +2 -2
  234. package/dist/atomic/{p-6f708b94.entry.js → p-f4b98113.entry.js} +2 -2
  235. package/dist/atomic/{p-37a3e033.entry.js → p-f6283657.entry.js} +2 -2
  236. package/dist/atomic/{p-d9e0dcdf.entry.js → p-f7f8096a.entry.js} +2 -2
  237. package/dist/atomic/{p-e988f378.js → p-f7f81710.js} +2 -2
  238. package/dist/atomic/{p-6bda0a03.entry.js → p-fb0bdcdb.entry.js} +2 -2
  239. package/dist/atomic/p-fb3e07e9.js +2 -0
  240. package/dist/atomic/p-fb3e07e9.js.map +1 -0
  241. package/dist/atomic/p-fbbbc454.entry.js +2 -0
  242. package/dist/atomic/p-fccb1769.js +2 -0
  243. package/dist/atomic/{p-49e052c2.entry.js → p-fd9d1c3f.entry.js} +2 -2
  244. package/dist/cjs/_loader.cjs.js +1 -1
  245. package/dist/cjs/{analytics-config-01739896.js → analytics-config-d9450484.js} +2 -2
  246. package/dist/cjs/{analytics-config-01739896.js.map → analytics-config-d9450484.js.map} +1 -1
  247. package/dist/cjs/atomic-aria-live.cjs.entry.js +1 -1
  248. package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
  249. package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
  250. package/dist/cjs/atomic-commerce-category-facet_5.cjs.entry.js +4 -4
  251. package/dist/cjs/atomic-commerce-facet-number-input_2.cjs.entry.js +3 -3
  252. package/dist/cjs/atomic-commerce-no-products.cjs.entry.js +65 -0
  253. package/dist/cjs/atomic-commerce-no-products.cjs.entry.js.map +1 -0
  254. package/dist/cjs/atomic-commerce-query-error.cjs.entry.js +1 -1
  255. package/dist/cjs/atomic-commerce-recommendation-interface.cjs.entry.js +2 -2
  256. package/dist/cjs/atomic-commerce-refine-modal.cjs.entry.js +1 -1
  257. package/dist/cjs/atomic-commerce-refine-toggle.cjs.entry.js +1 -1
  258. package/dist/cjs/atomic-commerce-text_2.cjs.entry.js +106 -0
  259. package/dist/cjs/atomic-commerce-text_2.cjs.entry.js.map +1 -0
  260. package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
  261. package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
  262. package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
  263. package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
  264. package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
  265. package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
  266. package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
  267. package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
  268. package/dist/cjs/atomic-html.cjs.entry.js +1 -1
  269. package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
  270. package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
  271. package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
  272. package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
  273. package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
  274. package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
  275. package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
  276. package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
  277. package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
  278. package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
  279. package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
  280. package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
  281. package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +1 -1
  282. package/dist/cjs/atomic-insight-result-children.cjs.entry.js +1 -1
  283. package/dist/cjs/atomic-insight-result-list.cjs.entry.js +1 -1
  284. package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +1 -1
  285. package/dist/cjs/atomic-insight-result.cjs.entry.js +1 -1
  286. package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
  287. package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  288. package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
  289. package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
  290. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
  291. package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
  292. package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
  293. package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
  294. package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
  295. package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
  296. package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
  297. package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
  298. package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
  299. package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
  300. package/dist/cjs/atomic-layout-section.cjs.entry.js +18 -0
  301. package/dist/cjs/atomic-layout-section.cjs.entry.js.map +1 -0
  302. package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
  303. package/dist/cjs/atomic-no-results.cjs.entry.js +3 -15
  304. package/dist/cjs/atomic-no-results.cjs.entry.js.map +1 -1
  305. package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
  306. package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
  307. package/dist/cjs/atomic-product-description.cjs.entry.js +2 -2
  308. package/dist/cjs/atomic-product-description.cjs.entry.js.map +1 -1
  309. package/dist/cjs/atomic-product-excerpt.cjs.entry.js +2 -2
  310. package/dist/cjs/atomic-product-excerpt.cjs.entry.js.map +1 -1
  311. package/dist/cjs/atomic-product-link.cjs.entry.js +1 -1
  312. package/dist/cjs/atomic-product-numeric-field-value.cjs.entry.js +1 -1
  313. package/dist/cjs/atomic-product-price.cjs.entry.js +2 -2
  314. package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
  315. package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
  316. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
  317. package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
  318. package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
  319. package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
  320. package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
  321. package/dist/cjs/atomic-refine-modal.cjs.entry.js +1 -1
  322. package/dist/cjs/atomic-refine-toggle.cjs.entry.js +1 -1
  323. package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +2 -2
  324. package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
  325. package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
  326. package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
  327. package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
  328. package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js +3 -3
  329. package/dist/cjs/atomic-result-text_2.cjs.entry.js +4 -46
  330. package/dist/cjs/atomic-result-text_2.cjs.entry.js.map +1 -1
  331. package/dist/cjs/atomic-results-per-page.cjs.entry.js +1 -1
  332. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
  333. package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
  334. package/dist/cjs/atomic-search-interface.cjs.entry.js +2 -2
  335. package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
  336. package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
  337. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  338. package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
  339. package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
  340. package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
  341. package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
  342. package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
  343. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  344. package/dist/cjs/atomic.cjs.js +1 -1
  345. package/dist/cjs/{stencil-expandable-text-80915f74.js → expandable-text-36fe9f8d.js} +1 -1
  346. package/dist/cjs/expandable-text-36fe9f8d.js.map +1 -0
  347. package/dist/cjs/index-757bc886.js +12 -0
  348. package/dist/cjs/{interface-common-stencil-9dfe2ea7.js → interface-common-stencil-12a85cad.js} +2 -2
  349. package/dist/cjs/{interface-common-stencil-9dfe2ea7.js.map → interface-common-stencil-12a85cad.js.map} +1 -1
  350. package/dist/cjs/{product-utils-f6c780e3.js → product-utils-9507462c.js} +9 -1
  351. package/dist/cjs/product-utils-9507462c.js.map +1 -0
  352. package/dist/cjs/sections-4b4af2f8.js.map +1 -1
  353. package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js +52 -0
  354. package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js.map +1 -0
  355. package/dist/cjs/utils-ca9c9aed.js +18 -0
  356. package/dist/cjs/utils-ca9c9aed.js.map +1 -0
  357. package/dist/cjs/version.cjs.js +2 -2
  358. package/dist/esm/_loader.js +1 -1
  359. package/dist/esm/{analytics-config-1806049b.js → analytics-config-40a361c2.js} +2 -2
  360. package/dist/esm/{analytics-config-1806049b.js.map → analytics-config-40a361c2.js.map} +1 -1
  361. package/dist/esm/atomic-aria-live.entry.js +1 -1
  362. package/dist/esm/atomic-category-facet.entry.js +1 -1
  363. package/dist/esm/atomic-citation.entry.js +1 -1
  364. package/dist/esm/atomic-commerce-category-facet_5.entry.js +4 -4
  365. package/dist/esm/atomic-commerce-facet-number-input_2.entry.js +3 -3
  366. package/dist/esm/atomic-commerce-no-products.entry.js +61 -0
  367. package/dist/esm/atomic-commerce-no-products.entry.js.map +1 -0
  368. package/dist/esm/atomic-commerce-query-error.entry.js +1 -1
  369. package/dist/esm/atomic-commerce-recommendation-interface.entry.js +2 -2
  370. package/dist/esm/atomic-commerce-refine-modal.entry.js +1 -1
  371. package/dist/esm/atomic-commerce-refine-toggle.entry.js +1 -1
  372. package/dist/esm/atomic-commerce-text_2.entry.js +101 -0
  373. package/dist/esm/atomic-commerce-text_2.entry.js.map +1 -0
  374. package/dist/esm/atomic-facet-manager.entry.js +1 -1
  375. package/dist/esm/atomic-facet-number-input.entry.js +2 -2
  376. package/dist/esm/atomic-facet.entry.js +1 -1
  377. package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
  378. package/dist/esm/atomic-format-currency.entry.js +1 -1
  379. package/dist/esm/atomic-format-number.entry.js +1 -1
  380. package/dist/esm/atomic-format-unit.entry.js +1 -1
  381. package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
  382. package/dist/esm/atomic-html.entry.js +1 -1
  383. package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
  384. package/dist/esm/atomic-insight-facet.entry.js +1 -1
  385. package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
  386. package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
  387. package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
  388. package/dist/esm/atomic-insight-interface.entry.js +2 -2
  389. package/dist/esm/atomic-insight-no-results.entry.js +2 -2
  390. package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
  391. package/dist/esm/atomic-insight-pager.entry.js +3 -3
  392. package/dist/esm/atomic-insight-query-error.entry.js +1 -1
  393. package/dist/esm/atomic-insight-refine-modal.entry.js +2 -2
  394. package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
  395. package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +1 -1
  396. package/dist/esm/atomic-insight-result-children.entry.js +1 -1
  397. package/dist/esm/atomic-insight-result-list.entry.js +1 -1
  398. package/dist/esm/atomic-insight-result-quickview-action.entry.js +1 -1
  399. package/dist/esm/atomic-insight-result.entry.js +1 -1
  400. package/dist/esm/atomic-insight-search-box.entry.js +2 -2
  401. package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
  402. package/dist/esm/atomic-insight-tabs.entry.js +1 -1
  403. package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
  404. package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
  405. package/dist/esm/atomic-ipx-body.entry.js +2 -2
  406. package/dist/esm/atomic-ipx-button.entry.js +2 -2
  407. package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
  408. package/dist/esm/atomic-ipx-modal.entry.js +2 -2
  409. package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
  410. package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
  411. package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
  412. package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
  413. package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
  414. package/dist/esm/atomic-layout-section.entry.js +14 -0
  415. package/dist/esm/atomic-layout-section.entry.js.map +1 -0
  416. package/dist/esm/atomic-load-more-results.entry.js +1 -1
  417. package/dist/esm/atomic-no-results.entry.js +3 -15
  418. package/dist/esm/atomic-no-results.entry.js.map +1 -1
  419. package/dist/esm/atomic-numeric-facet.entry.js +1 -1
  420. package/dist/esm/atomic-pager.entry.js +3 -3
  421. package/dist/esm/atomic-product-description.entry.js +1 -1
  422. package/dist/esm/atomic-product-description.entry.js.map +1 -1
  423. package/dist/esm/atomic-product-excerpt.entry.js +1 -1
  424. package/dist/esm/atomic-product-excerpt.entry.js.map +1 -1
  425. package/dist/esm/atomic-product-link.entry.js +1 -1
  426. package/dist/esm/atomic-product-numeric-field-value.entry.js +1 -1
  427. package/dist/esm/atomic-product-price.entry.js +2 -2
  428. package/dist/esm/atomic-query-error.entry.js +1 -1
  429. package/dist/esm/atomic-query-summary.entry.js +1 -1
  430. package/dist/esm/atomic-quickview-modal.entry.js +1 -1
  431. package/dist/esm/atomic-quickview.entry.js +1 -1
  432. package/dist/esm/atomic-recs-error.entry.js +1 -1
  433. package/dist/esm/atomic-recs-interface.entry.js +2 -2
  434. package/dist/esm/atomic-recs-list.entry.js +1 -1
  435. package/dist/esm/atomic-refine-modal.entry.js +1 -1
  436. package/dist/esm/atomic-refine-toggle.entry.js +1 -1
  437. package/dist/esm/atomic-relevance-inspector.entry.js +2 -2
  438. package/dist/esm/atomic-result-children.entry.js +1 -1
  439. package/dist/esm/atomic-result-fields-list.entry.js +1 -1
  440. package/dist/esm/atomic-result-link.entry.js +1 -1
  441. package/dist/esm/atomic-result-list.entry.js +1 -1
  442. package/dist/esm/atomic-result-placeholder_8.entry.js +3 -3
  443. package/dist/esm/atomic-result-text_2.entry.js +3 -45
  444. package/dist/esm/atomic-result-text_2.entry.js.map +1 -1
  445. package/dist/esm/atomic-results-per-page.entry.js +1 -1
  446. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
  447. package/dist/esm/atomic-search-box.entry.js +4 -4
  448. package/dist/esm/atomic-search-interface.entry.js +2 -2
  449. package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
  450. package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
  451. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  452. package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
  453. package/dist/esm/atomic-sort-expression.entry.js +1 -1
  454. package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
  455. package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
  456. package/dist/esm/atomic-tab-button.entry.js +1 -1
  457. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  458. package/dist/esm/atomic.js +1 -1
  459. package/dist/esm/{stencil-expandable-text-957d599c.js → expandable-text-4eebe177.js} +1 -1
  460. package/dist/esm/expandable-text-4eebe177.js.map +1 -0
  461. package/dist/esm/index-3f35faca.js +12 -0
  462. package/dist/esm/{interface-common-stencil-99d1e2ca.js → interface-common-stencil-0c6e5ba8.js} +2 -2
  463. package/dist/esm/{interface-common-stencil-99d1e2ca.js.map → interface-common-stencil-0c6e5ba8.js.map} +1 -1
  464. package/dist/esm/{product-utils-85109d2e.js → product-utils-8348689f.js} +9 -2
  465. package/dist/esm/product-utils-8348689f.js.map +1 -0
  466. package/dist/esm/sections-ae00b53a.js.map +1 -1
  467. package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js +49 -0
  468. package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js.map +1 -0
  469. package/dist/esm/{stencil-tips-be95482d.js → stencil-tips-06e9b3c2.js} +2 -2
  470. package/dist/esm/{stencil-tips-be95482d.js.map → stencil-tips-06e9b3c2.js.map} +1 -1
  471. package/dist/esm/utils-bd51f737.js +16 -0
  472. package/dist/esm/utils-bd51f737.js.map +1 -0
  473. package/dist/esm/version.js +2 -2
  474. package/dist/types/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.d.ts +6 -15
  475. package/dist/types/components/commerce/atomic-commerce-text/atomic-commerce-text.d.ts +5 -13
  476. package/dist/types/components/commerce/atomic-product-description/atomic-product-description.d.ts +1 -1
  477. package/dist/types/components/commerce/atomic-product-excerpt/atomic-product-excerpt.d.ts +1 -1
  478. package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +0 -2
  479. package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +15 -29
  480. package/dist/types/components/commerce/index.d.ts +0 -3
  481. package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +2 -11
  482. package/dist/types/components/common/atomic-layout-section/sections.d.ts +1 -2
  483. package/dist/types/components/common/expandable-text/expandable-text.d.ts +4 -4
  484. package/dist/types/components/common/index.d.ts +0 -1
  485. package/dist/types/components/common/items-per-page/label.d.ts +2 -2
  486. package/dist/types/components/common/no-items/container.d.ts +2 -2
  487. package/dist/types/components/common/no-items/magnifying-glass.d.ts +2 -2
  488. package/dist/types/components.d.ts +170 -2
  489. package/dist/types/utils/functional-component-utils.d.ts +0 -3
  490. package/docs/atomic-docs.json +435 -15
  491. package/package.json +3 -3
  492. package/dist/atomic/components/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.js +0 -95
  493. package/dist/atomic/components/components/commerce/atomic-commerce-text/atomic-commerce-text.js +0 -54
  494. package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +0 -135
  495. package/dist/atomic/components/components/commerce/product-template-component-utils/error.js +0 -6
  496. package/dist/atomic/components/components/commerce/product-template-component-utils/product-utils.js +0 -35
  497. package/dist/atomic/components/components/common/atomic-layout-section/atomic-layout-section.js +0 -31
  498. package/dist/atomic/components/components/common/item-text/field-warning.js +0 -6
  499. package/dist/atomic/components/components/common/item-text/item-text-fallback.js +0 -15
  500. package/dist/atomic/components/components/common/item-text/item-text-highlighted.js +0 -17
  501. package/dist/atomic/components/components/common/item-text/render-highlights.js +0 -13
  502. package/dist/atomic/components/components/common/no-items/container.js +0 -7
  503. package/dist/atomic/components/components/common/no-items/guard.js +0 -11
  504. package/dist/atomic/components/components/common/no-items/magnifying-glass.js +0 -11
  505. package/dist/atomic/components/components/common/no-items/no-items.js +0 -30
  506. package/dist/atomic/components/components/common/no-items/tips.js +0 -8
  507. package/dist/atomic/components/stencil-expandable-text.js.map +0 -1
  508. package/dist/atomic/components/utils/object-utils.js +0 -13
  509. package/dist/atomic/p-1d02a670.js.map +0 -1
  510. package/dist/atomic/p-4497df4a.entry.js +0 -2
  511. package/dist/atomic/p-4de0c016.entry.js +0 -2
  512. package/dist/atomic/p-93091fb7.entry.js +0 -2
  513. package/dist/atomic/p-a1c4ac09.js +0 -2
  514. package/dist/atomic/p-a1c4ac09.js.map +0 -1
  515. package/dist/atomic/p-ba6a30a7.entry.js.map +0 -1
  516. package/dist/atomic/p-bd32ca3c.entry.js.map +0 -1
  517. package/dist/atomic/p-cceca6bd.entry.js +0 -2
  518. package/dist/atomic/p-d76c5232.entry.js +0 -2
  519. package/dist/atomic/p-ed63c738.js +0 -2
  520. package/dist/atomic/p-f1bbe060.entry.js +0 -2
  521. package/dist/atomic/p-f1bbe060.entry.js.map +0 -1
  522. package/dist/atomic/p-fe85b7d7.entry.js +0 -2
  523. package/dist/atomic/p-fe85b7d7.entry.js.map +0 -1
  524. package/dist/cjs/product-utils-f6c780e3.js.map +0 -1
  525. package/dist/cjs/stencil-expandable-text-80915f74.js.map +0 -1
  526. package/dist/esm/product-utils-85109d2e.js.map +0 -1
  527. package/dist/esm/stencil-expandable-text-957d599c.js.map +0 -1
  528. package/dist/types/components/common/expandable-text/stencil-expandable-text.d.ts +0 -13
  529. /package/dist/atomic/{p-3c56ddf6.entry.js.map → p-0267a585.entry.js.map} +0 -0
  530. /package/dist/atomic/{p-a36e0adb.entry.js.map → p-0a7b0daa.entry.js.map} +0 -0
  531. /package/dist/atomic/{p-4d139df4.entry.js.map → p-0b0ea7d3.entry.js.map} +0 -0
  532. /package/dist/atomic/{p-f46b7410.entry.js.map → p-135be5aa.entry.js.map} +0 -0
  533. /package/dist/atomic/{p-d774c15e.entry.js.map → p-1cc97adc.entry.js.map} +0 -0
  534. /package/dist/atomic/{p-ea5d2736.entry.js.map → p-22a0d1b9.entry.js.map} +0 -0
  535. /package/dist/atomic/{p-0bcfd9e7.entry.js.map → p-29d27418.entry.js.map} +0 -0
  536. /package/dist/atomic/{p-564605c1.entry.js.map → p-2f0cb73c.entry.js.map} +0 -0
  537. /package/dist/atomic/{p-3c8ed811.entry.js.map → p-306c83ea.entry.js.map} +0 -0
  538. /package/dist/atomic/{p-55f50d5e.entry.js.map → p-3195fa42.entry.js.map} +0 -0
  539. /package/dist/atomic/{p-714e5692.entry.js.map → p-32b26cd0.entry.js.map} +0 -0
  540. /package/dist/atomic/{p-aac69407.entry.js.map → p-32c90fe9.entry.js.map} +0 -0
  541. /package/dist/atomic/{p-6c71c49b.entry.js.map → p-3ec18de9.entry.js.map} +0 -0
  542. /package/dist/atomic/{p-1a189a4a.entry.js.map → p-3f42a2db.entry.js.map} +0 -0
  543. /package/dist/atomic/{p-a55a6705.entry.js.map → p-45b26cc7.entry.js.map} +0 -0
  544. /package/dist/atomic/{p-3a6d85ba.entry.js.map → p-46522ee4.entry.js.map} +0 -0
  545. /package/dist/atomic/{p-1686dd4e.entry.js.map → p-47ee9d37.entry.js.map} +0 -0
  546. /package/dist/atomic/{p-6ae6b977.entry.js.map → p-50b9a5d2.entry.js.map} +0 -0
  547. /package/dist/atomic/{p-a2161335.entry.js.map → p-51c5acfc.entry.js.map} +0 -0
  548. /package/dist/atomic/{p-50d4886b.entry.js.map → p-543e811e.entry.js.map} +0 -0
  549. /package/dist/atomic/{p-d76c5232.entry.js.map → p-5cf5bb98.entry.js.map} +0 -0
  550. /package/dist/atomic/{p-64a237ba.entry.js.map → p-60a9e718.entry.js.map} +0 -0
  551. /package/dist/atomic/{p-b1230da3.entry.js.map → p-66683abd.entry.js.map} +0 -0
  552. /package/dist/atomic/{p-80e1d96b.entry.js.map → p-67315415.entry.js.map} +0 -0
  553. /package/dist/atomic/{p-ddf0b2e0.entry.js.map → p-689e063d.entry.js.map} +0 -0
  554. /package/dist/atomic/{p-a7abf0e1.entry.js.map → p-690b5853.entry.js.map} +0 -0
  555. /package/dist/atomic/{p-f2cc3ceb.entry.js.map → p-6fa077f7.entry.js.map} +0 -0
  556. /package/dist/atomic/{p-66562526.entry.js.map → p-70ab347b.entry.js.map} +0 -0
  557. /package/dist/atomic/{p-948c62c9.entry.js.map → p-76122df5.entry.js.map} +0 -0
  558. /package/dist/atomic/{p-8dad20e1.js.map → p-7cb3144b.js.map} +0 -0
  559. /package/dist/atomic/{p-cd4c6b6b.entry.js.map → p-7d1f8d9c.entry.js.map} +0 -0
  560. /package/dist/atomic/{p-56801993.entry.js.map → p-80dc3bab.entry.js.map} +0 -0
  561. /package/dist/atomic/{p-6f6b53e4.entry.js.map → p-8392e900.entry.js.map} +0 -0
  562. /package/dist/atomic/{p-907e8b14.entry.js.map → p-8d7f57d9.entry.js.map} +0 -0
  563. /package/dist/atomic/{p-5eca0d33.entry.js.map → p-8e09f796.entry.js.map} +0 -0
  564. /package/dist/atomic/{p-b5d358d8.entry.js.map → p-95942ba2.entry.js.map} +0 -0
  565. /package/dist/atomic/{p-51565abd.entry.js.map → p-99604083.entry.js.map} +0 -0
  566. /package/dist/atomic/{p-90619819.entry.js.map → p-9a08dad7.entry.js.map} +0 -0
  567. /package/dist/atomic/{p-107400f4.entry.js.map → p-9ae88402.entry.js.map} +0 -0
  568. /package/dist/atomic/{p-ae1675b3.entry.js.map → p-9d2230db.entry.js.map} +0 -0
  569. /package/dist/atomic/{p-408c230c.entry.js.map → p-9e4b1ecb.entry.js.map} +0 -0
  570. /package/dist/atomic/{p-a1719068.entry.js.map → p-9eb108c9.entry.js.map} +0 -0
  571. /package/dist/atomic/{p-0166649f.entry.js.map → p-a046cf06.entry.js.map} +0 -0
  572. /package/dist/atomic/{p-38885808.entry.js.map → p-a3169f59.entry.js.map} +0 -0
  573. /package/dist/atomic/{p-0f4f6b95.entry.js.map → p-a772b365.entry.js.map} +0 -0
  574. /package/dist/atomic/{p-631000af.entry.js.map → p-a8281e9b.entry.js.map} +0 -0
  575. /package/dist/atomic/{p-a5acd65b.entry.js.map → p-ab5eec3d.entry.js.map} +0 -0
  576. /package/dist/atomic/{p-46ecbdbc.entry.js.map → p-b19a8cbb.entry.js.map} +0 -0
  577. /package/dist/atomic/{p-a3b64777.entry.js.map → p-b4d47ca9.entry.js.map} +0 -0
  578. /package/dist/atomic/{p-ea5d6cd8.entry.js.map → p-b4dfe5b2.entry.js.map} +0 -0
  579. /package/dist/atomic/{p-cceca6bd.entry.js.map → p-b747e4a9.entry.js.map} +0 -0
  580. /package/dist/atomic/{p-74261c54.entry.js.map → p-b7824e0e.entry.js.map} +0 -0
  581. /package/dist/atomic/{p-e7834b58.entry.js.map → p-be05ddd0.entry.js.map} +0 -0
  582. /package/dist/atomic/{p-a12a865a.entry.js.map → p-be13ed5c.entry.js.map} +0 -0
  583. /package/dist/atomic/{p-4497df4a.entry.js.map → p-befca41f.entry.js.map} +0 -0
  584. /package/dist/atomic/{p-81575de0.entry.js.map → p-bfeefcaa.entry.js.map} +0 -0
  585. /package/dist/atomic/{p-2fb01b9f.entry.js.map → p-c0d7b26d.entry.js.map} +0 -0
  586. /package/dist/atomic/{p-b8702505.entry.js.map → p-c13d4039.entry.js.map} +0 -0
  587. /package/dist/atomic/{p-ce3a6c4e.entry.js.map → p-c4f042ae.entry.js.map} +0 -0
  588. /package/dist/atomic/{p-dd073755.entry.js.map → p-c83f9cff.entry.js.map} +0 -0
  589. /package/dist/atomic/{p-e46150fa.entry.js.map → p-cd87574b.entry.js.map} +0 -0
  590. /package/dist/atomic/{p-b112525e.entry.js.map → p-ce4e939b.entry.js.map} +0 -0
  591. /package/dist/atomic/{p-1fbbed3e.entry.js.map → p-d1efd50f.entry.js.map} +0 -0
  592. /package/dist/atomic/{p-eadb22d2.entry.js.map → p-d30057a0.entry.js.map} +0 -0
  593. /package/dist/atomic/{p-59ac477f.entry.js.map → p-d4aba9f9.entry.js.map} +0 -0
  594. /package/dist/atomic/{p-82c5b823.entry.js.map → p-d69756ae.entry.js.map} +0 -0
  595. /package/dist/atomic/{p-07968356.entry.js.map → p-d827c148.entry.js.map} +0 -0
  596. /package/dist/atomic/{p-565a5e0d.entry.js.map → p-dd8c6bdd.entry.js.map} +0 -0
  597. /package/dist/atomic/{p-be061124.entry.js.map → p-ddd52850.entry.js.map} +0 -0
  598. /package/dist/atomic/{p-50b7f5e8.entry.js.map → p-e44155cc.entry.js.map} +0 -0
  599. /package/dist/atomic/{p-fdd01814.entry.js.map → p-e4754fd0.entry.js.map} +0 -0
  600. /package/dist/atomic/{p-c753c557.entry.js.map → p-e604fd29.entry.js.map} +0 -0
  601. /package/dist/atomic/{p-f7cce92b.entry.js.map → p-e80d722f.entry.js.map} +0 -0
  602. /package/dist/atomic/{p-ad3ee863.entry.js.map → p-eab28672.entry.js.map} +0 -0
  603. /package/dist/atomic/{p-38efdad8.entry.js.map → p-ec0161b7.entry.js.map} +0 -0
  604. /package/dist/atomic/{p-bb502279.entry.js.map → p-ec6bc15b.entry.js.map} +0 -0
  605. /package/dist/atomic/{p-93091fb7.entry.js.map → p-eebb168b.entry.js.map} +0 -0
  606. /package/dist/atomic/{p-4630f21a.entry.js.map → p-f4a1bfe3.entry.js.map} +0 -0
  607. /package/dist/atomic/{p-6f708b94.entry.js.map → p-f4b98113.entry.js.map} +0 -0
  608. /package/dist/atomic/{p-37a3e033.entry.js.map → p-f6283657.entry.js.map} +0 -0
  609. /package/dist/atomic/{p-d9e0dcdf.entry.js.map → p-f7f8096a.entry.js.map} +0 -0
  610. /package/dist/atomic/{p-e988f378.js.map → p-f7f81710.js.map} +0 -0
  611. /package/dist/atomic/{p-6bda0a03.entry.js.map → p-fb0bdcdb.entry.js.map} +0 -0
  612. /package/dist/atomic/{p-4de0c016.entry.js.map → p-fbbbc454.entry.js.map} +0 -0
  613. /package/dist/atomic/{p-ed63c738.js.map → p-fccb1769.js.map} +0 -0
  614. /package/dist/atomic/{p-49e052c2.entry.js.map → p-fd9d1c3f.entry.js.map} +0 -0
@@ -62,7 +62,7 @@ const AtomicProductPrice$1 = /*@__PURE__*/ proxyCustomElement(class AtomicProduc
62
62
  const originalPrice = this.hasPromotionalPrice
63
63
  ? this.getFormattedValue('ec_price')
64
64
  : null;
65
- return (h(Host, { key: '9fa8c4a59427898756d333d7efe443eab839f376', class: "flex flex-wrap gap-1" }, h("div", { key: '0f84b070717d175296cfc8d732c7dfdf0f8e6a21', class: `truncate break-keep ${this.hasPromotionalPrice && 'text-error'}` }, mainPrice), h("div", { key: 'a2a85a0c7716cf03c0f17d39ee64f4a5aa984c28', class: 'original-price content-center truncate text-xl break-keep line-through' +
65
+ return (h(Host, { key: '9be7690a20f179aebcb2ef1330406cf4c0840011', class: "flex flex-wrap gap-1" }, h("div", { key: '17f08914229562dbf5fc52a99980d6e7130c83a5', class: `truncate break-keep ${this.hasPromotionalPrice && 'text-error'}` }, mainPrice), h("div", { key: 'b70aa6768a3d75b7bce253102326b63d683ea879', class: 'original-price content-center truncate text-xl break-keep line-through' +
66
66
  (!originalPrice ? ' invisible' : '') }, originalPrice ?? '​')));
67
67
  }
68
68
  static get style() { return AtomicProductPriceStyle0; }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../../types/components";
2
+
3
+ interface AtomicProductText extends Components.AtomicProductText, HTMLElement {}
4
+ export const AtomicProductText: {
5
+ prototype: AtomicProductText;
6
+ new (): AtomicProductText;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,8 @@
1
+ import { A as AtomicProductText$1, d as defineCustomElement$1 } from './atomic-product-text2.js';
2
+
3
+ const AtomicProductText = AtomicProductText$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { AtomicProductText, defineCustomElement };
7
+
8
+ //# sourceMappingURL=atomic-product-text.js.map
@@ -0,0 +1 @@
1
+ {"file":"atomic-product-text.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,83 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { ProductTemplatesHelpers, HighlightUtils } from '@coveo/headless/commerce';
3
+ import { g as getFieldValueCaption } from './field-utils.js';
4
+ import { I as InitializeBindings } from './initialization-utils.js';
5
+ import { I as ItemTextFallback, a as ItemTextHighlighted } from './stencil-item-text-highlighted.js';
6
+ import { g as getStringValueFromProductOrNull } from './product-utils.js';
7
+ import { P as ProductContext } from './stencil-product-template-decorators.js';
8
+ import { d as defineCustomElement$1 } from './atomic-commerce-text2.js';
9
+
10
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
13
+ r = Reflect.decorate(decorators, target, key, desc);
14
+ else
15
+ for (var i = decorators.length - 1; i >= 0; i--)
16
+ if (d = decorators[i])
17
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ const AtomicProductText = /*@__PURE__*/ proxyCustomElement(class AtomicProductText extends HTMLElement {
21
+ constructor() {
22
+ super();
23
+ this.__registerHost();
24
+ /**
25
+ * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.
26
+ * This property only works for the product excerpt and the ec_name field.
27
+ */
28
+ this.shouldHighlight = true;
29
+ this.error = undefined;
30
+ this.field = undefined;
31
+ this.shouldHighlight = true;
32
+ this.default = undefined;
33
+ }
34
+ get shouldRenderHighlights() {
35
+ return this.shouldHighlight && this.isFieldSupportedForHighlighting();
36
+ }
37
+ isFieldSupportedForHighlighting() {
38
+ return ['ec_name', 'excerpt'].includes(this.field);
39
+ }
40
+ render() {
41
+ const productValueAsString = getStringValueFromProductOrNull(this.product, this.field);
42
+ if (productValueAsString === null) {
43
+ return (h(ItemTextFallback, { field: this.field, host: this.host, logger: this.bindings.engine.logger, defaultValue: this.default, item: this.product, getProperty: ProductTemplatesHelpers.getProductProperty }, h("atomic-commerce-text", { value: getFieldValueCaption(this.field, this.default, this.bindings.i18n) })));
44
+ }
45
+ const textValue = `${productValueAsString}`;
46
+ const highlightKeywords = ProductTemplatesHelpers.getProductProperty(this.product, this.field === 'ec_name' ? 'nameHighlights' : 'excerptHighlights');
47
+ return this.shouldRenderHighlights && highlightKeywords ? (h(ItemTextHighlighted, { textValue: textValue, highlightKeywords: highlightKeywords, highlightString: HighlightUtils.highlightString, onError: (error) => (this.error = error) })) : (h("atomic-commerce-text", { value: getFieldValueCaption(this.field, textValue, this.bindings.i18n) }));
48
+ }
49
+ get host() { return this; }
50
+ }, [0, "atomic-product-text", {
51
+ "field": [513],
52
+ "shouldHighlight": [516, "should-highlight"],
53
+ "default": [513],
54
+ "error": [32]
55
+ }]);
56
+ __decorate([
57
+ InitializeBindings()
58
+ ], AtomicProductText.prototype, "bindings", void 0);
59
+ __decorate([
60
+ ProductContext()
61
+ ], AtomicProductText.prototype, "product", void 0);
62
+ function defineCustomElement() {
63
+ if (typeof customElements === "undefined") {
64
+ return;
65
+ }
66
+ const components = ["atomic-product-text", "atomic-commerce-text"];
67
+ components.forEach(tagName => { switch (tagName) {
68
+ case "atomic-product-text":
69
+ if (!customElements.get(tagName)) {
70
+ customElements.define(tagName, AtomicProductText);
71
+ }
72
+ break;
73
+ case "atomic-commerce-text":
74
+ if (!customElements.get(tagName)) {
75
+ defineCustomElement$1();
76
+ }
77
+ break;
78
+ } });
79
+ }
80
+
81
+ export { AtomicProductText as A, defineCustomElement as d };
82
+
83
+ //# sourceMappingURL=atomic-product-text2.js.map
@@ -0,0 +1 @@
1
+ {"file":"atomic-product-text2.js","mappings":";;;;;;;;;;;;;;;;;;;MAyBa,iBAAiB;;;;;;;;QAmBE,oBAAe,GAAG,IAAI,CAAC;;;+BAAL,IAAI;;;IAMpD,IAAY,sBAAsB;QAChC,OAAO,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,+BAA+B,EAAE,CAAC;KACvE;IAEM,+BAA+B;QACpC,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACpD;IAEM,MAAM;QACX,MAAM,oBAAoB,GAAG,+BAA+B,CAC1D,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,CACX,CAAC;QAEF,IAAI,oBAAoB,KAAK,IAAI,EAAE;YACjC,QACE,EAAC,gBAAgB,IACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EACnC,YAAY,EAAE,IAAI,CAAC,OAAO,EAC1B,IAAI,EAAE,IAAI,CAAC,OAAO,EAClB,WAAW,EAAE,uBAAuB,CAAC,kBAAkB,IAEvD,4BACE,KAAK,EAAE,oBAAoB,CACzB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,IAAI,CACnB,GACqB,CACP,EACnB;SACH;QAED,MAAM,SAAS,GAAG,GAAG,oBAAoB,EAAE,CAAC;QAC5C,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,kBAAkB,CAClE,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,KAAK,SAAS,GAAG,gBAAgB,GAAG,mBAAmB,CAC7B,CAAC;QAEvC,OAAO,IAAI,CAAC,sBAAsB,IAAI,iBAAiB,IACrD,EAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,cAAc,CAAC,eAAe,EAC/C,OAAO,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GACnB,KAEvB,4BACE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAChD,CACzB,CAAC;KACH;;;;;;;;AA3E4B;IAA5B,kBAAkB,EAAE;mDAAoC;AAG/B;IAAzB,cAAc,EAAE;kDAA2B;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/commerce/atomic-product-text/atomic-product-text.tsx"],"sourcesContent":["import {\n Product,\n ProductTemplatesHelpers,\n HighlightUtils,\n} from '@coveo/headless/commerce';\nimport {Component, h, Prop, Element, State} from '@stencil/core';\nimport {getFieldValueCaption} from '../../../utils/field-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {ItemTextFallback} from '../../common/item-text/stencil-item-text-fallback';\nimport {ItemTextHighlighted} from '../../common/item-text/stencil-item-text-highlighted';\nimport {CommerceBindings} from '../atomic-commerce-interface/atomic-commerce-interface';\nimport {getStringValueFromProductOrNull} from '../product-template-component-utils/product-utils';\nimport {ProductContext} from '../product-template-component-utils/stencil-product-template-decorators';\n\n/**\n * @alpha\n * The `atomic-product-text` component renders the value of a string product field.\n */\n@Component({\n tag: 'atomic-product-text',\n shadow: false,\n})\nexport class AtomicProductText\n implements InitializableComponent<CommerceBindings>\n{\n @InitializeBindings() public bindings!: CommerceBindings;\n @State() public error!: Error;\n\n @ProductContext() private product!: Product;\n\n @Element() private host!: HTMLElement;\n\n /**\n * The product field which the component should use.\n * This will look in the Product object first, and then in the product.additionalFields object for the fields.\n */\n @Prop({reflect: true}) public field!: string;\n /**\n * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\n * This property only works for the product excerpt and the ec_name field.\n */\n @Prop({reflect: true}) public shouldHighlight = true;\n /**\n * The locale key for the text to display when the configured field has no value.\n */\n @Prop({reflect: true}) public default?: string;\n\n private get shouldRenderHighlights() {\n return this.shouldHighlight && this.isFieldSupportedForHighlighting();\n }\n\n public isFieldSupportedForHighlighting() {\n return ['ec_name', 'excerpt'].includes(this.field);\n }\n\n public render() {\n const productValueAsString = getStringValueFromProductOrNull(\n this.product,\n this.field\n );\n\n if (productValueAsString === null) {\n return (\n <ItemTextFallback\n field={this.field}\n host={this.host}\n logger={this.bindings.engine.logger}\n defaultValue={this.default}\n item={this.product}\n getProperty={ProductTemplatesHelpers.getProductProperty}\n >\n <atomic-commerce-text\n value={getFieldValueCaption(\n this.field,\n this.default!,\n this.bindings.i18n\n )}\n ></atomic-commerce-text>\n </ItemTextFallback>\n );\n }\n\n const textValue = `${productValueAsString}`;\n const highlightKeywords = ProductTemplatesHelpers.getProductProperty(\n this.product,\n this.field === 'ec_name' ? 'nameHighlights' : 'excerptHighlights'\n ) as HighlightUtils.HighlightKeyword[];\n\n return this.shouldRenderHighlights && highlightKeywords ? (\n <ItemTextHighlighted\n textValue={textValue}\n highlightKeywords={highlightKeywords}\n highlightString={HighlightUtils.highlightString}\n onError={(error) => (this.error = error)}\n ></ItemTextHighlighted>\n ) : (\n <atomic-commerce-text\n value={getFieldValueCaption(this.field, textValue, this.bindings.i18n)}\n ></atomic-commerce-text>\n );\n }\n}\n"],"version":3}
@@ -37,7 +37,7 @@ const AtomicQueryError$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQueryErr
37
37
  if (hasError) {
38
38
  this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
39
39
  }
40
- return (h(QueryErrorGuard, { key: 'de459790a2b49e8b666ad070446d8b1cbc3db484', hasError: hasError }, h(QueryErrorContainer, { key: 'ff2d33b6a57042ab5bd998779caebd61e80c3ddd' }, h(QueryErrorIcon, { key: '0074ab9b3adeb6395e812f5949cc9f90cc292b88', errorType: error?.type }), h(QueryErrorTitle, { key: 'da49af33e09d9708cbb7e7cb6fcc455ef70278dc', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: 'f9a6211c304cbcdd905cd31b9812509642d2b7a0', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: '34c0e1bd3265d1d86b82bf5dbc52a434d2fd74a6', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'e668186eeecd38a1eba9a55af2dd50ecc7328da1', error: error, show: this.showMoreInfo }))));
40
+ return (h(QueryErrorGuard, { key: '35a365a208b92b8fd42190d0914c55941836a0d5', hasError: hasError }, h(QueryErrorContainer, { key: '4a9df9c210520543e6dd28dde603d92ef51eb12d' }, h(QueryErrorIcon, { key: '5acc15d972298c51b9a35899c72b21ec9921071f', errorType: error?.type }), h(QueryErrorTitle, { key: '69c204454af76de98e2ae5af3c480e28d9bcfd3f', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '5bc6f621410459203d5577024abcd2e017a24f77', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: 'c560a6af5df7c51424b647eacae1f66f29d94295', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: '9d1e8c102af5b43904b5dafad4f6e0c043a916d9', error: error, show: this.showMoreInfo }))));
41
41
  }
42
42
  static get style() { return AtomicQueryErrorStyle0; }
43
43
  }, [1, "atomic-query-error", {
@@ -40,7 +40,7 @@ const AtomicQuerySummary$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQueryS
40
40
  isLoading,
41
41
  });
42
42
  this.ariaMessage = ariaLiveMessage;
43
- return (h(QuerySummaryGuard, { key: 'b3b245b18b96914e0caf19565b27182f674c43f1', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: 'a82724d6c8e0db9705b06726f343f18d87843e98' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: '60bdc5e1fc4e149dbdc103e21dba308a24dad4ef', class: "hidden", part: "duration" }, "\u00A0", h(LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
43
+ return (h(QuerySummaryGuard, { key: '605587e02c8d39c87b0cebcf5877321d3a2a6824', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: '33948c83706caaf66a119cbf967e2d394313e42c' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: 'cac5b48031278d323209bc35b478ee0f05e57a4a', class: "hidden", part: "duration" }, "\u00A0", h(LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
44
44
  count: durationInSeconds.toLocaleString(this.bindings.i18n.language),
45
45
  } })))));
46
46
  }
@@ -574,7 +574,7 @@ const AtomicQuickviewModal = /*@__PURE__*/ proxyCustomElement(class AtomicQuickv
574
574
  });
575
575
  }
576
576
  render() {
577
- return (h("atomic-modal", { key: 'bffc9786c6c9a7d3668334f542f69aba2deeb280', fullscreen: this.bindings.store.isMobile(), class: 'atomic-quickview-modal', isOpen: this.isOpen, close: () => this.onClose(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
577
+ return (h("atomic-modal", { key: '56bf44efabfda516af231dd2eb3004e52285aafe', fullscreen: this.bindings.store.isMobile(), class: 'atomic-quickview-modal', isOpen: this.isOpen, close: () => this.onClose(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
578
578
  }
579
579
  static get watchers() { return {
580
580
  "highlightKeywords": ["watchHighlightKeywords"]
@@ -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: 'be69e922cfb3f46d7a3aaf7f882f5a7c9f947ce4', 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: 'dc4854a9fcd2f6f4a8216f46457295ca11548178', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
111
+ return (h(Button, { key: 'bf02d4c04582bf6fea9e5bb4094942e4bedbcf57', 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: '8383eda6ce892806f43dde2128b74c700fe4be88', 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: 'f01c2f34b7ccb8ef2bc86e458e3d008cb439397b', hasError: hasError }, h(QueryErrorContainer, { key: 'b00e8d711e52492d2ff7779907ef871911f733bc' }, h(QueryErrorIcon, { key: '2ac8b16873bf80792412c479408513972573ed6a', errorType: error?.type }), h(QueryErrorTitle, { key: '94eece6c5d2c3b7ecacb53e1d41c2dec1a05fa98', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '4cd665279342e4f08a8bdb8ac83e32eba77b66fd', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: 'de6b23502d1ee50b6869c614e955258cb6185abc', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: '4dbf04a6b5c6b33cca42605f4a69e7b3b2fc349f', error: error, show: this.showMoreInfo }))));
42
+ return (h(QueryErrorGuard, { key: '1dca8ab41bdb8a71f1936cf1751fb6017c7c9fad', hasError: hasError }, h(QueryErrorContainer, { key: '711d860dbc6085ed9d3f03fd254865826c9fb897' }, h(QueryErrorIcon, { key: '35a3e19666aa1e38cd41ad11503c56ba0b926ce8', errorType: error?.type }), h(QueryErrorTitle, { key: '6987ab69f7a8a87a5615ccc8cde9c2a34db48e91', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '368140552841c3094bb81c469f58dc59bc1341b7', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '9f13261f6873e200f96c2a39fa4da506e7f762f8', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'da03ee81b4af216551f847592b4c49d478f35d50', error: error, show: this.showMoreInfo }))));
43
43
  }
44
44
  static get style() { return AtomicRecsErrorStyle0; }
45
45
  }, [1, "atomic-recs-error", {
@@ -262,7 +262,7 @@ const AtomicRecsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsList e
262
262
  }))));
263
263
  }
264
264
  render() {
265
- return (h(Fragment, { key: '1a491be609deb91dee0a984d1a80f148bed27c7a' }, 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: '8e2cdc749e141dc6c83ffbdf53e3cb3ab4331f67' }, 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 {
@@ -174,7 +174,7 @@ const AtomicRefineModal = /*@__PURE__*/ proxyCustomElement(class AtomicRefineMod
174
174
  return (h(RefineModalFiltersSection, { i18n: i18n, withFacets: hasFacetElements, withAutomaticFacets: hasAutomaticFacets }, this.breadcrumbManagerState.hasBreadcrumbs && (h(RefineModalFiltersClearButton, { i18n: i18n, onClick: () => this.breadcrumbManager.deselectAll() }))));
175
175
  }
176
176
  render() {
177
- return (h(RefineModal, { key: '047b430b4b942d8dc2b5b3267d8d03a54dc1f871', 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: 'ba88c20ec5635bbc8ed281c0da5bf1770e52350e' }, this.renderSort(), this.renderFilters())));
177
+ return (h(RefineModal, { key: '1e877f4411313bcc5c3998c8802dbc807dc189a8', 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: '7cc1ef970c9623247304cfbbcbb96fbf72b2bfa7' }, this.renderSort(), this.renderFilters())));
178
178
  }
179
179
  componentDidLoad() {
180
180
  this.host.style.display = '';
@@ -53,7 +53,7 @@ const AtomicRefineToggle$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRefine
53
53
  this.modalRef && (this.modalRef.isOpen = true);
54
54
  }
55
55
  render() {
56
- return (h(RefineToggleGuard, { key: '67960875f25068614a92d4f383f085cdd572237f', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '8e1d6073e8e953b41f82d6786687bc0e9ee34d30', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
56
+ return (h(RefineToggleGuard, { key: '7dc34e7fd9ee7f10a74d49e57d45a89554eda119', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '1833f1b2b333e5eba52699bea29fbe086ac1e292', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
57
57
  if (!button) {
58
58
  return;
59
59
  }
@@ -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: '4a9504b763eae424eb8b0103cc7b7de48ef039ea', exportparts: "footer", isOpen: this.open, close: () => {
21
+ return (h("atomic-modal", { key: '46ce0cc49ee3cc72208e17ec5a47fc44bc364669', exportparts: "footer", isOpen: this.open, close: () => {
22
22
  this.closeRelevanceInspector?.emit();
23
- } }, h("p", { key: '607572e43578874708e88a74519a36eb7afc20f8', slot: "header" }, "Open the relevance inspector"), h("p", { key: '8e1a14f2e1676a180956ed7b5327524b1547e023', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '8bb0d1fa69335ad5af81559d35b22491b09774c6', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: '1a005711c4a458f508756840031e26cf31043761', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'c6adca21e689da9ba5e71afa39f1cf80ee8c63bd', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
23
+ } }, h("p", { key: '3e9e61f720d3508d151ec2bbee9f0fe8320d48c0', slot: "header" }, "Open the relevance inspector"), h("p", { key: 'e105518acca647f7e38e405a468d8c6b8e86a1b4', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '177e646a5eb79311f567c531debd84a4cf18e44b', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: 'f4fd56d47235c4cbcaf41da0da814f2503c6a8d9', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'c98c637d86171fde324e97fee9862d9ede38bb3d', 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: '8ff0036c6cae9ace39115c4e198237938b97241b', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
141
+ return (h(ResultChildrenGuard, { key: 'f6183807a8b58ead059e5fa7db300117c77e5425', 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: '0a98b590a12f5ea337ee12122803a2f1a6940216' });
101
+ return h(Host, { key: 'a5dc1fdae78e0475a7952f31369f6cccf6f6c2b7' });
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: '6eb500bb9118721f5abc3e08ac6281a5c97debad', 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: '73c2bb5a7ca23992bbf448ff25e1763e789b0148', 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: '0155a5c35d5f35993b1faa19753f42a2582f6059', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: 'dc5385bd41424262ebf3df06a0ab29ddfe8a2c6b', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '6a275399d6e79e063b1054338a2d752452370e14', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '6999cafabf931b62cb0ddf5eae06430d81823ddb', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '0914eefe8a716e81b244d27be74f4e72ac5fe05b', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
197
+ return (h(TabGuard, { key: '8cd1828891f42c56c35d1dd45b87b12c79254826', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '514229c8a95f6675a0683e37ea65a14263e88c78', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '435e24ee5c19c9d4f46de0e813918afc441f310b', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: 'e04b1c8ccebc79ea6f031b62331b0b89c53e67b7', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '987265fbaab67daeebb031393fbba65dad737439', 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: 'e954085c5a0705046ef0d11d8e7e8e0bded1ce3e', class: `result-root placeholder with-sections animate-pulse ${getItemDisplayClasses(this.display, this.density, this.imageSize)
30
+ return (h("div", { key: '44d6f6fcae141700636748bf0bf1d324801ad7b0', 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: 'a80e3e80c6d14980b8c8f688e6bcc0a9514c8362' }, h("div", { key: '966bd55835c29564e18073298fe57dd9c6739bb4', class: placeholderClasses })), h("atomic-result-section-badges", { key: 'cd569d2797dcc73c1fdb7bdc8e584ba7148d72d7' }, h("div", { key: '99c1ed6e8be799132e1b685edde533cb3569ed6d', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '00914e2ec6a83ca9fe15de2256310e1b2b9448f9' }, h("div", { key: 'bf98a57b1d75e9d0f3c640d5028424b7f024e5e9', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '64c3ab2c4590a61d4d36a9919027b30b56fa43fb' }, h("div", { key: '0c74c8c7f95691a9d1276b6d8b8885f61e615fe6', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: 'c6e0d695fe79ec595cbf620cfc7df6d94e44a367' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '130079d0ee995d0545485edba9268e80cfcf92fe' }, h("div", { key: 'b1577674d315414f7c46357b89e74155ce7d92cb', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
32
+ .trim()}` }, h("atomic-result-section-visual", { key: '26dfc3541d739adf34491f475068f7eaed1b9450' }, h("div", { key: 'f191b225416bab5522ccbd04482d46b8e0917e90', class: placeholderClasses })), h("atomic-result-section-badges", { key: '08a0ba74c846888549718c9da9e8a8c931193770' }, h("div", { key: '6112d11347845ceebea377a9dda46f29893ea4b2', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '37c82ca42e6f287137bb6c734d2387fab395c143' }, h("div", { key: 'dcadfe0f127aa99b934c0a4de70e230ba0cd6cc6', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '6f934bbaa48ce4e8b39eb5f8e6294e635551a977' }, h("div", { key: '98cbc660cb80f97aebb18673883649cb6cdbc37b', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '8faa1af5537e63d3862b7f98ef81e3f813908ccb' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '5bccd91ac5ed5f9ae2abcf005ad436927856f49d' }, h("div", { key: 'e947f3929a136565bc86383855c78d6f15faf317', 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: '983adfb713e79003cfa21dead66b825d322ef4cc', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '583cdcc694237102118be5088bd1c9953d916ecb' }, h("tr", { key: '8329e5ac6601877352902efd4fcf27ff328db3e0' }, h("th", { key: '08efb7d6770dc4a92ab96a021aebab33430b96ad' }, h("div", { key: 'e184a34cd625342bb698733fecee1528f8fbecf6', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '63c3a8475479bfe8212b67e1c6d39274206360d3' }, h("div", { key: '88214bac36ccb1173112d3fe47db8f883a8c3377', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '52c9ef0c4d4f69dec6dc4a217c03db16b64bec60' }, h("div", { key: '657aacd576ac96e41166dffb3f3610fb7cd1773e', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'e48e39258c678df97c98a71e428dceb3d4a0253a' }, 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: 'db3a9b9d55eb8d3417e60b89f13f07636c8196f9', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '5dc2f253b16ec6302fbafa604d7bffac41670dd0' }, h("tr", { key: 'fd20bb0566ddadfaf855f9624d58aadb942e772d' }, h("th", { key: '85875071396ae899dc8479dfa52ec16bd3ea2e19' }, h("div", { key: 'b6707df93ed8d964755a539966f109c20f5e9f5f', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: 'ee7cc8149bd3eee23225a3e2622f999acf030385' }, h("div", { key: '07ec2fa2f4625c63e353a842680d04540c94e85e', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: 'c24de3a80547bc1af784a238e68c931ea2586167' }, h("div", { key: 'fed9db9f0174e5961845d5f3cec4806f395c6722', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'e1a3e36e69c633186d4530cc499dcd5a29b1fdb8' }, 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", {
@@ -1,55 +1,12 @@
1
- import { h, Fragment, Host, proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { ResultTemplatesHelpers, HighlightUtils } from '@coveo/headless';
3
3
  import { g as getFieldValueCaption } from './field-utils.js';
4
4
  import { I as InitializeBindings } from './initialization-utils.js';
5
5
  import { g as getStringValueFromResultOrNull } from './result-utils.js';
6
- import { isArray, isUndefined } from '@coveo/bueno';
6
+ import { I as ItemTextFallback, a as ItemTextHighlighted } from './stencil-item-text-highlighted.js';
7
7
  import { R as ResultContext } from './result-template-decorators.js';
8
8
  import { d as defineCustomElement$1 } from './atomic-text2.js';
9
9
 
10
- function possiblyWarnOnBadFieldType(field, itemValueRaw, host, logger) {
11
- if (isArray(itemValueRaw)) {
12
- logger.error(`${host.nodeName.toLowerCase()} cannot be used with multi value field "${field}" with values "${itemValueRaw}".`, host);
13
- }
14
- }
15
-
16
- const ItemTextFallback = ({ field, host, logger, defaultValue, item, getProperty }, children) => {
17
- const raw = getProperty(item, field);
18
- possiblyWarnOnBadFieldType(field, raw, host, logger);
19
- if (isUndefined(defaultValue)) {
20
- host.remove();
21
- return null;
22
- }
23
- else {
24
- return h(Fragment, null, children);
25
- }
26
- };
27
-
28
- function renderWithHighlights(value, highlights, highlightString) {
29
- const openingDelimiter = '_openingDelimiter_';
30
- const closingDelimiter = '_closingDelimiter_';
31
- const highlightedValue = highlightString({
32
- content: value,
33
- openingDelimiter,
34
- closingDelimiter,
35
- highlights,
36
- });
37
- return highlightedValue
38
- .replace(new RegExp(openingDelimiter, 'g'), '<b>')
39
- .replace(new RegExp(closingDelimiter, 'g'), '</b>');
40
- }
41
-
42
- const ItemTextHighlighted = ({ highlightKeywords, highlightString, onError, textValue }) => {
43
- try {
44
- const highlightedValue = renderWithHighlights(textValue, highlightKeywords, highlightString);
45
- // deepcode ignore ReactSetInnerHtml: This is not React code
46
- return h(Host, { innerHTML: highlightedValue });
47
- }
48
- catch (error) {
49
- onError(error);
50
- }
51
- };
52
-
53
10
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
54
11
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
55
12
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
@@ -1 +1 @@
1
- {"file":"atomic-result-text2.js","mappings":";;;;;;;;;SAEgB,0BAA0B,CACxC,KAAa,EACb,YAAqB,EACrB,IAAiB,EACjB,MAA8B;IAE9B,IAAI,OAAO,CAAC,YAAY,CAAC,EAAE;QACzB,MAAM,CAAC,KAAK,CACV,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,2CAA2C,KAAK,kBAAkB,YAAY,IAAI,EAChH,IAAI,CACL,CAAC;KACH;AACH;;ACDO,MAAM,gBAAgB,GAAG,CAC9B,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAmB,EACxE,QAAiB;IAEjB,MAAM,GAAG,GAAG,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACrC,0BAA0B,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IAErD,IAAI,WAAW,CAAC,YAAY,CAAC,EAAE;QAC7B,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;KACb;SAAM;QACL,OAAO,EAAC,QAAQ,QAAE,QAAQ,CAAY,CAAC;KACxC;AACH,CAAC;;SCde,oBAAoB,CAClC,KAAa,EACb,UAA+B,EAC/B,eAAgC;IAEhC,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;IAC9C,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;IAC9C,MAAM,gBAAgB,GAAG,eAAe,CAAC;QACvC,OAAO,EAAE,KAAK;QACd,gBAAgB;QAChB,gBAAgB;QAChB,UAAU;KACX,CAAC,CAAC;IACH,OAAO,gBAAgB;SACpB,OAAO,CAAC,IAAI,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC;SACjD,OAAO,CAAC,IAAI,MAAM,CAAC,gBAAgB,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC;AACxD;;ACdO,MAAM,mBAAmB,GAE5B,CAAC,EAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,EAAC;IAC3D,IAAI;QACF,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,SAAS,EACT,iBAAiB,EACjB,eAAe,CAChB,CAAC;;QAGF,OAAO,EAAC,IAAI,IAAC,SAAS,EAAE,gBAAgB,GAAS,CAAC;KACnD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAc,CAAC,CAAC;KACzB;AACH,CAAC;;;;;;;;;;;;MCTY,gBAAgB;;;;;;;QAiBG,oBAAe,GAAG,IAAI,CAAC;;;+BAAL,IAAI;;;IAO7C,MAAM;QACX,MAAM,mBAAmB,GAAG,8BAA8B,CACxD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,KAAK,CACX,CAAC;QAEF,IAAI,mBAAmB,KAAK,IAAI,EAAE;YAChC,QACE,EAAC,gBAAgB,IACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EACnC,YAAY,EAAE,IAAI,CAAC,OAAO,EAC1B,IAAI,EAAE,IAAI,CAAC,MAAM,EACjB,WAAW,EAAE,sBAAsB,CAAC,iBAAiB,IAErD,mBACE,KAAK,EAAE,oBAAoB,CACzB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,IAAI,CACnB,GACY,CACE,EACnB;SACH;QAED,MAAM,SAAS,GAAG,GAAG,mBAAmB,EAAE,CAAC;QAC3C,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,iBAAiB,CAChE,IAAI,CAAC,MAAM,EACX,GAAG,IAAI,CAAC,KAAK,YAAY,CACW,CAAC;QAEvC,OAAO,IAAI,CAAC,eAAe,IAAI,iBAAiB,IAC9C,EAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,cAAc,CAAC,eAAe,EAC/C,OAAO,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GACnB,KAEvB,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAChE,CAAC;KACH;;;;;;;;AAlE4B;IAA5B,kBAAkB,EAAE;kDAA4B;AACxB;IAAxB,aAAa,EAAE;gDAAyB;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/common/item-text/field-warning.ts","src/components/common/item-text/stencil-item-text-fallback.tsx","src/components/common/item-text/render-highlights.ts","src/components/common/item-text/stencil-item-text-highlighted.tsx","src/components/search/result-template-components/atomic-result-text/atomic-result-text.tsx"],"sourcesContent":["import {isArray} from '@coveo/bueno';\n\nexport function possiblyWarnOnBadFieldType(\n field: string,\n itemValueRaw: unknown,\n host: HTMLElement,\n logger: Pick<Console, 'error'>\n) {\n if (isArray(itemValueRaw)) {\n logger.error(\n `${host.nodeName.toLowerCase()} cannot be used with multi value field \"${field}\" with values \"${itemValueRaw}\".`,\n host\n );\n }\n}\n","import {isUndefined} from '@coveo/bueno';\nimport {Fragment, FunctionalComponent, VNode, h} from '@stencil/core';\nimport {possiblyWarnOnBadFieldType} from './field-warning';\n\nexport interface ItemTextProps<T> {\n logger: Pick<Console, 'error'>;\n host: HTMLElement;\n defaultValue: string | undefined;\n field: string;\n item: T;\n getProperty: (result: T, property: string) => unknown;\n}\n\nexport const ItemTextFallback = <T,>(\n {field, host, logger, defaultValue, item, getProperty}: ItemTextProps<T>,\n children: VNode[]\n): FunctionalComponent<ItemTextProps<T>> | null => {\n const raw = getProperty(item, field);\n possiblyWarnOnBadFieldType(field, raw, host, logger);\n\n if (isUndefined(defaultValue)) {\n host.remove();\n return null;\n } else {\n return <Fragment>{children}</Fragment>;\n }\n};\n","export type HighlightKeywords = {\n offset: number;\n length: number;\n};\n\nexport type HighlightString = (params: {\n content: string;\n openingDelimiter: string;\n closingDelimiter: string;\n highlights: HighlightKeywords[];\n}) => string;\n\nexport function renderWithHighlights(\n value: string,\n highlights: HighlightKeywords[],\n highlightString: HighlightString\n) {\n const openingDelimiter = '_openingDelimiter_';\n const closingDelimiter = '_closingDelimiter_';\n const highlightedValue = highlightString({\n content: value,\n openingDelimiter,\n closingDelimiter,\n highlights,\n });\n return highlightedValue\n .replace(new RegExp(openingDelimiter, 'g'), '<b>')\n .replace(new RegExp(closingDelimiter, 'g'), '</b>');\n}\n","import {FunctionalComponent, h, Host} from '@stencil/core';\nimport {\n HighlightKeywords,\n HighlightString,\n renderWithHighlights,\n} from './render-highlights';\n\nexport interface ItemTextHighlightedProps {\n textValue: string;\n highlightKeywords: HighlightKeywords[];\n onError: (error: Error) => void;\n highlightString: HighlightString;\n}\n\nexport const ItemTextHighlighted: FunctionalComponent<\n ItemTextHighlightedProps\n> = ({highlightKeywords, highlightString, onError, textValue}) => {\n try {\n const highlightedValue = renderWithHighlights(\n textValue,\n highlightKeywords,\n highlightString\n );\n\n // deepcode ignore ReactSetInnerHtml: This is not React code\n return <Host innerHTML={highlightedValue}></Host>;\n } catch (error) {\n onError(error as Error);\n }\n};\n","import {HighlightUtils, Result, ResultTemplatesHelpers} from '@coveo/headless';\nimport {Component, Prop, h, Element, State} from '@stencil/core';\nimport {getFieldValueCaption} from '../../../../utils/field-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {getStringValueFromResultOrNull} from '../../../../utils/result-utils';\nimport {ItemTextFallback} from '../../../common/item-text/stencil-item-text-fallback';\nimport {ItemTextHighlighted} from '../../../common/item-text/stencil-item-text-highlighted';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\nimport {ResultContext} from '../result-template-decorators';\n\n/**\n * The `atomic-result-text` component renders the value of a string result field.\n */\n@Component({\n tag: 'atomic-result-text',\n shadow: false,\n})\nexport class AtomicResultText implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n @ResultContext() private result!: Result;\n\n @Element() private host!: HTMLElement;\n\n @State() public error!: Error;\n\n /**\n * The result field which the component should use.\n * This will look in the Result object first, and then in the Result.raw object for the fields.\n * It is important to include the necessary field in the `atomic-search-interface` component.\n */\n @Prop({reflect: true}) public field!: string;\n /**\n * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\n */\n @Prop({reflect: true}) public shouldHighlight = true;\n\n /**\n * The locale key for the text to display when the configured field has no value.\n */\n @Prop({reflect: true}) public default?: string;\n\n public render() {\n const resultValueAsString = getStringValueFromResultOrNull(\n this.result,\n this.field\n );\n\n if (resultValueAsString === null) {\n return (\n <ItemTextFallback\n field={this.field}\n host={this.host}\n logger={this.bindings.engine.logger}\n defaultValue={this.default}\n item={this.result}\n getProperty={ResultTemplatesHelpers.getResultProperty}\n >\n <atomic-text\n value={getFieldValueCaption(\n this.field,\n this.default!,\n this.bindings.i18n\n )}\n ></atomic-text>\n </ItemTextFallback>\n );\n }\n\n const textValue = `${resultValueAsString}`;\n const highlightKeywords = ResultTemplatesHelpers.getResultProperty(\n this.result,\n `${this.field}Highlights`\n ) as HighlightUtils.HighlightKeyword[];\n\n return this.shouldHighlight && highlightKeywords ? (\n <ItemTextHighlighted\n textValue={textValue}\n highlightKeywords={highlightKeywords}\n highlightString={HighlightUtils.highlightString}\n onError={(error) => (this.error = error)}\n ></ItemTextHighlighted>\n ) : (\n getFieldValueCaption(this.field, textValue, this.bindings.i18n)\n );\n }\n}\n"],"version":3}
1
+ {"file":"atomic-result-text2.js","mappings":";;;;;;;;;;;;;;;;;;;MAoBa,gBAAgB;;;;;;;QAiBG,oBAAe,GAAG,IAAI,CAAC;;;+BAAL,IAAI;;;IAO7C,MAAM;QACX,MAAM,mBAAmB,GAAG,8BAA8B,CACxD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,KAAK,CACX,CAAC;QAEF,IAAI,mBAAmB,KAAK,IAAI,EAAE;YAChC,QACE,EAAC,gBAAgB,IACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EACnC,YAAY,EAAE,IAAI,CAAC,OAAO,EAC1B,IAAI,EAAE,IAAI,CAAC,MAAM,EACjB,WAAW,EAAE,sBAAsB,CAAC,iBAAiB,IAErD,mBACE,KAAK,EAAE,oBAAoB,CACzB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,IAAI,CACnB,GACY,CACE,EACnB;SACH;QAED,MAAM,SAAS,GAAG,GAAG,mBAAmB,EAAE,CAAC;QAC3C,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,iBAAiB,CAChE,IAAI,CAAC,MAAM,EACX,GAAG,IAAI,CAAC,KAAK,YAAY,CACW,CAAC;QAEvC,OAAO,IAAI,CAAC,eAAe,IAAI,iBAAiB,IAC9C,EAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,cAAc,CAAC,eAAe,EAC/C,OAAO,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GACnB,KAEvB,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAChE,CAAC;KACH;;;;;;;;AAlE4B;IAA5B,kBAAkB,EAAE;kDAA4B;AACxB;IAAxB,aAAa,EAAE;gDAAyB;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/search/result-template-components/atomic-result-text/atomic-result-text.tsx"],"sourcesContent":["import {HighlightUtils, Result, ResultTemplatesHelpers} from '@coveo/headless';\nimport {Component, Prop, h, Element, State} from '@stencil/core';\nimport {getFieldValueCaption} from '../../../../utils/field-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {getStringValueFromResultOrNull} from '../../../../utils/result-utils';\nimport {ItemTextFallback} from '../../../common/item-text/stencil-item-text-fallback';\nimport {ItemTextHighlighted} from '../../../common/item-text/stencil-item-text-highlighted';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\nimport {ResultContext} from '../result-template-decorators';\n\n/**\n * The `atomic-result-text` component renders the value of a string result field.\n */\n@Component({\n tag: 'atomic-result-text',\n shadow: false,\n})\nexport class AtomicResultText implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n @ResultContext() private result!: Result;\n\n @Element() private host!: HTMLElement;\n\n @State() public error!: Error;\n\n /**\n * The result field which the component should use.\n * This will look in the Result object first, and then in the Result.raw object for the fields.\n * It is important to include the necessary field in the `atomic-search-interface` component.\n */\n @Prop({reflect: true}) public field!: string;\n /**\n * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\n */\n @Prop({reflect: true}) public shouldHighlight = true;\n\n /**\n * The locale key for the text to display when the configured field has no value.\n */\n @Prop({reflect: true}) public default?: string;\n\n public render() {\n const resultValueAsString = getStringValueFromResultOrNull(\n this.result,\n this.field\n );\n\n if (resultValueAsString === null) {\n return (\n <ItemTextFallback\n field={this.field}\n host={this.host}\n logger={this.bindings.engine.logger}\n defaultValue={this.default}\n item={this.result}\n getProperty={ResultTemplatesHelpers.getResultProperty}\n >\n <atomic-text\n value={getFieldValueCaption(\n this.field,\n this.default!,\n this.bindings.i18n\n )}\n ></atomic-text>\n </ItemTextFallback>\n );\n }\n\n const textValue = `${resultValueAsString}`;\n const highlightKeywords = ResultTemplatesHelpers.getResultProperty(\n this.result,\n `${this.field}Highlights`\n ) as HighlightUtils.HighlightKeyword[];\n\n return this.shouldHighlight && highlightKeywords ? (\n <ItemTextHighlighted\n textValue={textValue}\n highlightKeywords={highlightKeywords}\n highlightString={HighlightUtils.highlightString}\n onError={(error) => (this.error = error)}\n ></ItemTextHighlighted>\n ) : (\n getFieldValueCaption(this.field, textValue, this.bindings.i18n)\n );\n }\n}\n"],"version":3}
@@ -129,7 +129,7 @@ const AtomicResultsPerPage$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResu
129
129
  return this.bindings.i18n.t('results-per-page');
130
130
  }
131
131
  render() {
132
- return (h(PagerGuard, { key: '9bdeae829b99345de8d10beabcfc528ec5e577f9', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '407cf91584da76c751c7609d040dbfbf9465bba6', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: '45922224c37ac5300459ba07683485c2326d0017' }, this.label), h(FieldsetGroup, { key: '01f272af73c746043c8737b977dd0e517a25b492', label: this.label }, h(Choices, { key: '9fb01d7ec187e9a872f37d257b0cc13956021aef', label: this.label, groupName: this.radioGroupName, pageSize: this.resultPerPageState.numberOfResults, choices: this.choices, lang: this.bindings.i18n.language, scrollToTopEvent: this.scrollToTopEvent.emit, setItemSize: this.resultPerPage.set, focusOnFirstResultAfterNextSearch: () => this.bindings.store.state.resultList?.focusOnFirstResultAfterNextSearch(), focusOnNextNewResult: () => this.bindings.store.state.resultList?.focusOnNextNewResult() })))));
132
+ return (h(PagerGuard, { key: 'b0fe31054e793cf60358ec7b1edbcea450175443', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '165171b0faa9d0fb0377035828682cd99b862766', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: 'c210230840e71fd5b58264f3e062901e531dd2e2' }, this.label), h(FieldsetGroup, { key: 'e36ca5f11d489f371d1917b04bb502bef29ca7fc', label: this.label }, h(Choices, { key: '2c3c5a568de2c50b1eb361c68f4acf7311969887', label: this.label, groupName: this.radioGroupName, pageSize: this.resultPerPageState.numberOfResults, choices: this.choices, lang: this.bindings.i18n.language, scrollToTopEvent: this.scrollToTopEvent.emit, setItemSize: this.resultPerPage.set, focusOnFirstResultAfterNextSearch: () => this.bindings.store.state.resultList?.focusOnFirstResultAfterNextSearch(), focusOnNextNewResult: () => this.bindings.store.state.resultList?.focusOnNextNewResult() })))));
133
133
  }
134
134
  static get style() { return AtomicResultsPerPageStyle0; }
135
135
  }, [1, "atomic-results-per-page", {
@@ -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: '2cca74061385ba775c03563bcd5d3bd89fe24b34', element: this.host, error: this.error }));
63
+ return (h("atomic-component-error", { key: '8bf7ca4f0c8c9a4bda7a0af471b2ee3881e65e7b', 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: '201d091a547fafd368881fe3c77d40577c766c98', element: this.host, error: this.error }));
157
+ return (h("atomic-component-error", { key: '35b831a2e561510f9fe3d15cf956e46d35fb965e', element: this.host, error: this.error }));
158
158
  }
159
159
  }
160
160
  get host() { return this; }
@@ -423,18 +423,18 @@ const AtomicSearchBox$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSearchBox
423
423
  if (!this.suggestionManager.suggestions.length) {
424
424
  this.registerSearchboxSuggestionEvents();
425
425
  }
426
- return (h(Host, { key: '749e092220c5beb6e02a32ffceff725a47ca96f3' }, this.renderAbsolutePositionSpacer(), [
427
- h(SearchBoxWrapper, { key: '5d98dc49bcf840bf0dea10721dfe1a59643ff4ed', disabled: isDisabled, onFocusout: (event) => {
426
+ return (h(Host, { key: '2b41f9ebbc7d074c79b4f9ffbf7502644aeda85f' }, this.renderAbsolutePositionSpacer(), [
427
+ h(SearchBoxWrapper, { key: '51627c6c4604f1f343ced6b3caa5d537f17ee731', disabled: isDisabled, onFocusout: (event) => {
428
428
  if (!isFocusingOut(event)) {
429
429
  return;
430
430
  }
431
431
  this.suggestionManager.clearSuggestions();
432
432
  this.isExpanded = false;
433
- } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '7c5b666de85a5e00c4a6ec119204191194afb18b', bindings: this.bindings, disabled: isDisabled, onClick: () => {
433
+ } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '079bcc8068e8c021465cf52eb0e1f25bb3f4746b', bindings: this.bindings, disabled: isDisabled, onClick: () => {
434
434
  this.searchBox.submit();
435
435
  this.suggestionManager.clearSuggestions();
436
436
  } }), this.renderSuggestions()),
437
- !this.suggestionManager.suggestions.length && (h("slot", { key: '48f1627d07c58961567b895fb68a1897cbc843b6' }, h("atomic-search-box-recent-queries", { key: '06859756b1889852be45df8055989925574509fc' }), h("atomic-search-box-query-suggestions", { key: 'dd3dc3584aab3547314deb079138bfa836af5b1d' }))),
437
+ !this.suggestionManager.suggestions.length && (h("slot", { key: 'e9fba98f79ee57e181ade72c43c907696812a80e' }, h("atomic-search-box-recent-queries", { key: 'e092cce8ec33ee745a7605e1e28bdebcecf042cd' }), h("atomic-search-box-query-suggestions", { key: '54078dfa8f0feef509ec90b6ef030c622609d10e' }))),
438
438
  ]));
439
439
  }
440
440
  get host() { return this; }
@@ -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: '1326f8babb77089bfa824f03fa599a9be3dd642c' }, this.renderStyle(), this.renderContent()));
92
+ return (h(Host, { key: '73c8cecf140de750245c315c15bd9cc024c03af6' }, 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: 'ea579e57dc0fcd007cf517294e02582803b94cde', class: this.fullHeight || !this.shouldRenderButton
59
+ return (h(Host, { key: 'b8f301063f02330064468da7a49d94f1755fe037', class: this.fullHeight || !this.shouldRenderButton
60
60
  ? this.isExpanded
61
61
  ? 'expanded'
62
62
  : ''
63
- : 'invisible' }, h("div", { key: '869c9ced31db1fa805b9df668707e6e21d8677e3', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: 'e00cd4922f3c4442e53d612afb722de091629912' })), this.shouldRenderButton && this.renderButton()));
63
+ : 'invisible' }, h("div", { key: 'c47cad3b2d4fc5aa5b094bb6c9c1be7a8a60a1d7', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '0d89b70ec983b53febd1fcf7abe3f2af62c51d64' })), 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: 'b3c33a5746cda5e4e9ca3789c6ada0fc2afdfa4b', class: this.isExpanded ? 'expanded' : '' }, this.renderAnswer(), this.renderButton()));
90
+ return (h("div", { key: '45ce0b38e5913223969a508a9c36fc7bd67c22e1', 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: '83bc425dcde86fceab88333f67d6fa9198035965', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '700932a925e55b38cc6917d3a2fc4a5505124b76', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'cd02ade10d6e45f4776816ba1348c2ce1e0ae78e', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: '1effe1360a380a389a0e6a9a186fd4dd98ae0871', 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: '5cf1d8a60b5e1a0f1442d1b91d99932b5800b478', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '4b66d05fa6b314e4bc8d4f078d3b11dd1150c714', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'a28995cd1fe46db2a92397f2f4e8a8fb381ff7ed', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'fc9faf4362a240b0c1abc53db51b0595c2e58d19', 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: '5d202f8f92e679132c4a4a5d61ab841298f82e7d', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'd89d362b8c06402c76b4f2f823c66633727f930f', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
50
+ } })))), h(SmartSnippetFeedbackModalDetails, { key: '89a037be724a072e556a39afdff53c15526eaa31', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: '067d01b5d56eac0396dc7b41a585f28f80e29c54', 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: '5bc7f5fde9a6cfad07def1d2d4b2e3b05dc35c8a' }, h(LinkWithItemAnalytics, { key: '505fda21e13950313b91b6f1a012dae7f4420d7f', 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: '58cef9bf2d4fc66734c08c44ab129c2c7f9192e5', 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: '4dc8d05126261d39232c7d0ea634ea90ddcb4d90' }, h(LinkWithItemAnalytics, { key: '030fa73af4fb26fa2acd56717dc00173688b301e', 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: '5b114abb56a754597a285e3c6ba4758a6aac3a6b', 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],
@@ -114,8 +114,8 @@ const AtomicSortDropdown$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSortDr
114
114
  const { hasError, hasResults, firstSearchExecuted } = this.searchStatusState;
115
115
  const { bindings: { i18n }, id, } = this;
116
116
  return [
117
- h(SortGuard, { key: 'b0aa032d52f3ac18b7c9b9cc87ad7c3793118e00', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '2cb0671502ec77362056821da1fb2d38ec8d9423' }, h(SortLabel, { key: '09fdf55c8185fc2df004ddbfc4722707c0104548', i18n: i18n, id: id }), h(SortSelect, { key: 'f65074c745c1eb4b7ec5ff2bd032f4563b99eba4', 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 })))))),
118
- h("slot", { key: '925fc1459ae2f40b01fa8a0bc7d14e957a99b5b7' }),
117
+ h(SortGuard, { key: 'c7edd6b76765d787e983d8ef6987f6d96b9a1609', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '01d4f576f03430102f345b684d9806c821220db6' }, h(SortLabel, { key: '19c612f4a7fb08f99280bfd6747a7cc5b9d0a73c', i18n: i18n, id: id }), h(SortSelect, { key: '3386c33ee148385019a38706b5a20b9866ebf2fc', 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 })))))),
118
+ h("slot", { key: '348514a7299aafded22fa1fc9b6fe3b2b14ffb29' }),
119
119
  ];
120
120
  }
121
121
  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: '0be2d839110b0d15421e2ea40891390c2818b978', element: this.host, error: error }));
50
+ return (h("atomic-component-error", { key: 'e471a621d6a1d6753663297763b5c3a0a09bb43e', element: this.host, error: error }));
51
51
  }
52
52
  }
53
53
  get host() { return this; }
@@ -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: '5184cc95eba894699448d7ea685032e43a430f91', 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: '65b5d84340d508712073522ae4ff19d4274fafeb', 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
  }