@coveo/atomic 3.30.1-pre.6f8efc1feb → 3.30.1-pre.a09bdf627b

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 (507) 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 +0 -4
  4. package/dist/atomic/components/_index.js +0 -2
  5. package/dist/atomic/components/analytics-config.js +1 -1
  6. package/dist/atomic/components/atomic-aria-live2.js +1 -1
  7. package/dist/atomic/components/atomic-category-facet.js +1 -1
  8. package/dist/atomic/components/atomic-citation.js +1 -1
  9. package/dist/atomic/components/atomic-commerce-category-facet2.js +1 -1
  10. package/dist/atomic/components/atomic-commerce-numeric-facet2.js +2 -2
  11. package/dist/atomic/components/atomic-commerce-timeframe-facet2.js +1 -1
  12. package/dist/atomic/components/atomic-facet-manager.js +1 -1
  13. package/dist/atomic/components/atomic-facet.js +1 -1
  14. package/dist/atomic/components/atomic-format-currency.js +1 -1
  15. package/dist/atomic/components/atomic-format-number.js +1 -1
  16. package/dist/atomic/components/atomic-format-unit.js +1 -1
  17. package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +1 -1
  18. package/dist/atomic/components/atomic-html2.js +1 -1
  19. package/dist/atomic/components/atomic-insight-edit-toggle.js +1 -1
  20. package/dist/atomic/components/atomic-insight-facet.js +1 -1
  21. package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
  22. package/dist/atomic/components/atomic-insight-full-search-button.js +1 -1
  23. package/dist/atomic/components/atomic-insight-history-toggle.js +1 -1
  24. package/dist/atomic/components/atomic-insight-no-results.js +1 -1
  25. package/dist/atomic/components/atomic-insight-numeric-facet.js +1 -1
  26. package/dist/atomic/components/atomic-insight-pager.js +3 -3
  27. package/dist/atomic/components/atomic-insight-query-error.js +1 -1
  28. package/dist/atomic/components/atomic-insight-refine-modal2.js +2 -2
  29. package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
  30. package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +1 -1
  31. package/dist/atomic/components/atomic-insight-result-children.js +1 -1
  32. package/dist/atomic/components/atomic-insight-result-list.js +1 -1
  33. package/dist/atomic/components/atomic-insight-result-quickview-action.js +1 -1
  34. package/dist/atomic/components/atomic-insight-result2.js +1 -1
  35. package/dist/atomic/components/atomic-insight-search-box.js +2 -2
  36. package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
  37. package/dist/atomic/components/atomic-insight-tabs.js +1 -1
  38. package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
  39. package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
  40. package/dist/atomic/components/atomic-ipx-body2.js +2 -2
  41. package/dist/atomic/components/atomic-ipx-button.js +2 -2
  42. package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
  43. package/dist/atomic/components/atomic-ipx-modal.js +2 -2
  44. package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
  45. package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
  46. package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
  47. package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
  48. package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
  49. package/dist/atomic/components/atomic-load-more-results.js +1 -1
  50. package/dist/atomic/components/atomic-modal2.js +2 -2
  51. package/dist/atomic/components/atomic-no-results.js +1 -1
  52. package/dist/atomic/components/atomic-numeric-facet.js +1 -1
  53. package/dist/atomic/components/atomic-pager.js +3 -3
  54. package/dist/atomic/components/atomic-product-link.js +17 -1
  55. package/dist/atomic/components/atomic-product-link.js.map +1 -1
  56. package/dist/atomic/components/atomic-query-error.js +1 -1
  57. package/dist/atomic/components/atomic-query-summary.js +1 -1
  58. package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
  59. package/dist/atomic/components/atomic-quickview.js +1 -1
  60. package/dist/atomic/components/atomic-rating.js +7 -1
  61. package/dist/atomic/components/atomic-rating.js.map +1 -1
  62. package/dist/atomic/components/atomic-recs-error.js +1 -1
  63. package/dist/atomic/components/atomic-recs-list.js +1 -1
  64. package/dist/atomic/components/atomic-refine-modal2.js +1 -1
  65. package/dist/atomic/components/atomic-refine-toggle.js +1 -1
  66. package/dist/atomic/components/atomic-relevance-inspector2.js +2 -2
  67. package/dist/atomic/components/atomic-result-children.js +1 -1
  68. package/dist/atomic/components/atomic-result-fields-list.js +1 -1
  69. package/dist/atomic/components/atomic-result-link.js +1 -1
  70. package/dist/atomic/components/atomic-result-list.js +1 -1
  71. package/dist/atomic/components/atomic-result-placeholder2.js +2 -2
  72. package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
  73. package/dist/atomic/components/atomic-results-per-page.js +1 -1
  74. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
  75. package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
  76. package/dist/atomic/components/atomic-search-box.js +4 -4
  77. package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
  78. package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
  79. package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
  80. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  81. package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
  82. package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
  83. package/dist/atomic/components/atomic-sort-expression.js +1 -1
  84. package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
  85. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  86. package/dist/atomic/components/components/commerce/atomic-product-numeric-field-value/atomic-product-numeric-field-value.js +81 -0
  87. package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.js +103 -0
  88. package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.tw.css.js +3 -0
  89. package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +2 -0
  90. package/dist/atomic/components/components/commerce/index.js +2 -0
  91. package/dist/atomic/components/components/commerce/lazy-index.js +2 -0
  92. package/dist/atomic/components/facet-date-input.js +3 -3
  93. package/dist/atomic/components/facet-number-input.js +2 -2
  94. package/dist/atomic/components/global/environment.js +1 -1
  95. package/dist/atomic/components/index.js.map +1 -1
  96. package/dist/atomic/components/tab-button.js +1 -1
  97. package/dist/atomic/components/tab-popover.js +1 -1
  98. package/dist/atomic/{p-254493bb.entry.js → p-10533f5e.entry.js} +2 -2
  99. package/dist/atomic/{p-ff601596.entry.js → p-1241378f.entry.js} +2 -2
  100. package/dist/atomic/{p-fcc01555.entry.js → p-179dd992.entry.js} +2 -2
  101. package/dist/atomic/{p-9ea0730b.entry.js → p-188a5988.entry.js} +2 -2
  102. package/dist/atomic/{p-053630b7.entry.js → p-1d8d898e.entry.js} +2 -2
  103. package/dist/atomic/{p-b7c58d1b.entry.js → p-1e82867d.entry.js} +2 -2
  104. package/dist/atomic/{p-18a6ee18.entry.js → p-2075d1c2.entry.js} +2 -2
  105. package/dist/atomic/{p-3817e41f.entry.js → p-23367d09.entry.js} +2 -2
  106. package/dist/atomic/{p-ef42977c.entry.js → p-24df7eb5.entry.js} +2 -2
  107. package/dist/atomic/{p-6fafebf4.entry.js → p-2b7bd1a7.entry.js} +2 -2
  108. package/dist/atomic/{p-16f39309.entry.js → p-2cb0696d.entry.js} +2 -2
  109. package/dist/atomic/{p-82f73cb7.entry.js → p-34280d19.entry.js} +2 -2
  110. package/dist/atomic/{p-4600286e.entry.js → p-34f13f68.entry.js} +2 -2
  111. package/dist/atomic/{p-4780a993.entry.js → p-380e9947.entry.js} +2 -2
  112. package/dist/atomic/{p-2e5900d5.entry.js → p-3a22931a.entry.js} +2 -2
  113. package/dist/atomic/{p-fa1c4917.entry.js → p-3b4f8370.entry.js} +2 -2
  114. package/dist/atomic/p-3f50439d.entry.js +2 -0
  115. package/dist/atomic/{p-8f10d6b1.entry.js → p-451abd79.entry.js} +2 -2
  116. package/dist/atomic/{p-0457e70e.entry.js → p-4cb4dce2.entry.js} +2 -2
  117. package/dist/atomic/{p-7e477e6a.entry.js → p-4cf83057.entry.js} +2 -2
  118. package/dist/atomic/{p-f37215a3.entry.js → p-4f71433c.entry.js} +2 -2
  119. package/dist/atomic/{p-0dbfef2a.entry.js → p-5231d47e.entry.js} +2 -2
  120. package/dist/atomic/{p-1bd29155.entry.js → p-547ec848.entry.js} +2 -2
  121. package/dist/atomic/{p-e67e6f25.entry.js → p-558b561c.entry.js} +2 -2
  122. package/dist/atomic/{p-312ea507.entry.js → p-56f79dbc.entry.js} +2 -2
  123. package/dist/atomic/{p-90e7ab82.entry.js → p-598355e2.entry.js} +2 -2
  124. package/dist/atomic/{p-0caed756.entry.js → p-5f5f3c02.entry.js} +2 -2
  125. package/dist/atomic/{p-413a3e9a.entry.js → p-5fc9f751.entry.js} +2 -2
  126. package/dist/atomic/{p-d376a122.entry.js → p-60677298.entry.js} +2 -2
  127. package/dist/atomic/{p-32768595.js → p-6f1e7923.js} +2 -2
  128. package/dist/atomic/{p-619fdbad.entry.js → p-78798600.entry.js} +2 -2
  129. package/dist/atomic/{p-0d272101.entry.js → p-793ac925.entry.js} +2 -2
  130. package/dist/atomic/{p-60c221c4.entry.js → p-7abdbad3.entry.js} +2 -2
  131. package/dist/atomic/{p-ab5284ef.entry.js → p-7c2465db.entry.js} +2 -2
  132. package/dist/atomic/{p-2553b81a.entry.js → p-7da7091f.entry.js} +2 -2
  133. package/dist/atomic/{p-fae8b0b6.entry.js → p-7e316f12.entry.js} +2 -2
  134. package/dist/atomic/{p-32d1d80d.entry.js → p-7e979900.entry.js} +2 -2
  135. package/dist/atomic/{p-f662801b.entry.js → p-81f9321f.entry.js} +2 -2
  136. package/dist/atomic/{p-5daf65a2.entry.js → p-8664e49f.entry.js} +2 -2
  137. package/dist/atomic/{p-1868dae3.entry.js → p-87306667.entry.js} +2 -2
  138. package/dist/atomic/p-88e3af33.entry.js +2 -0
  139. package/dist/atomic/{p-14e07101.entry.js → p-8b19b5c1.entry.js} +2 -2
  140. package/dist/atomic/{p-b25c9315.entry.js → p-8c07fe23.entry.js} +2 -2
  141. package/dist/atomic/{p-40068301.entry.js → p-933fb81c.entry.js} +2 -2
  142. package/dist/atomic/p-9619c25e.entry.js +2 -0
  143. package/dist/atomic/{p-0ed3432e.entry.js.map → p-9619c25e.entry.js.map} +1 -1
  144. package/dist/atomic/{p-c9594881.entry.js → p-9f349dea.entry.js} +2 -2
  145. package/dist/atomic/{p-33883a60.entry.js → p-a21b8355.entry.js} +2 -2
  146. package/dist/atomic/{p-014d7074.entry.js → p-a6f59ee7.entry.js} +2 -2
  147. package/dist/atomic/p-a7a7573a.js +2 -0
  148. package/dist/atomic/p-a7a7573a.js.map +1 -0
  149. package/dist/atomic/{p-ef6daa3c.entry.js → p-a9e90e8d.entry.js} +2 -2
  150. package/dist/atomic/p-ac93a338.entry.js +2 -0
  151. package/dist/atomic/p-b1c25636.entry.js +2 -0
  152. package/dist/atomic/p-b1c25636.entry.js.map +1 -0
  153. package/dist/atomic/{p-3e4997cb.entry.js → p-b369d9f3.entry.js} +2 -2
  154. package/dist/atomic/{p-0051c09e.entry.js → p-b7df58a2.entry.js} +2 -2
  155. package/dist/atomic/{p-c7aea960.entry.js → p-b8884511.entry.js} +2 -2
  156. package/dist/atomic/{p-d67f0c7d.entry.js → p-b9d90a15.entry.js} +2 -2
  157. package/dist/atomic/{p-b9cdeb9c.entry.js → p-c52ea307.entry.js} +2 -2
  158. package/dist/atomic/{p-6757d5c8.entry.js → p-c6d607ef.entry.js} +2 -2
  159. package/dist/atomic/{p-5cae2acd.entry.js → p-c7c8a40b.entry.js} +2 -2
  160. package/dist/atomic/{p-6c10c08c.entry.js → p-c8d47706.entry.js} +2 -2
  161. package/dist/atomic/{p-c7e06c91.entry.js → p-c8f4a164.entry.js} +2 -2
  162. package/dist/atomic/{p-7151eb35.entry.js → p-c91d1951.entry.js} +2 -2
  163. package/dist/atomic/{p-d2d1bbbc.entry.js → p-c953ea9f.entry.js} +2 -2
  164. package/dist/atomic/{p-86f61caa.entry.js → p-c997c2ad.entry.js} +2 -2
  165. package/dist/atomic/{p-57377cc0.entry.js → p-cb07fb1a.entry.js} +2 -2
  166. package/dist/atomic/{p-55c12e5f.entry.js → p-cc4a90fc.entry.js} +2 -2
  167. package/dist/atomic/p-d441cf69.entry.js +2 -0
  168. package/dist/atomic/{p-0c604072.entry.js.map → p-d441cf69.entry.js.map} +1 -1
  169. package/dist/atomic/{p-05f50dc9.entry.js → p-d64c6b59.entry.js} +2 -2
  170. package/dist/atomic/{p-087ba363.entry.js → p-dad54a83.entry.js} +2 -2
  171. package/dist/atomic/{p-03c36274.entry.js → p-e0c09699.entry.js} +2 -2
  172. package/dist/atomic/{p-19b2085d.entry.js → p-e240f215.entry.js} +2 -2
  173. package/dist/atomic/{p-6a43fe66.entry.js → p-e2765b24.entry.js} +2 -2
  174. package/dist/atomic/{p-f57dd2a9.entry.js → p-e51aee3d.entry.js} +2 -2
  175. package/dist/atomic/p-e790d557.entry.js +2 -0
  176. package/dist/atomic/{p-b8584d50.entry.js → p-ea98f3c7.entry.js} +2 -2
  177. package/dist/atomic/p-efd2bb5f.entry.js +2 -0
  178. package/dist/atomic/p-f09c6548.entry.js +2 -0
  179. package/dist/atomic/{p-a44740ec.entry.js.map → p-f09c6548.entry.js.map} +1 -1
  180. package/dist/atomic/{p-1df62ba9.entry.js → p-f27fba44.entry.js} +2 -2
  181. package/dist/atomic/p-f389bcba.entry.js +2 -0
  182. package/dist/atomic/{p-1e971b29.entry.js.map → p-f389bcba.entry.js.map} +1 -1
  183. package/dist/atomic/{p-23200ea1.entry.js → p-f7830503.entry.js} +2 -2
  184. package/dist/atomic/{p-a516f15f.entry.js → p-f7e0887c.entry.js} +2 -2
  185. package/dist/atomic/{p-66fd5541.entry.js → p-fa9454b5.entry.js} +2 -2
  186. package/dist/atomic/{p-963e508f.entry.js → p-fc68c8b0.entry.js} +2 -2
  187. package/dist/cjs/_loader.cjs.js +1 -1
  188. package/dist/cjs/{analytics-config-56ddc132.js → analytics-config-923c8877.js} +2 -2
  189. package/dist/cjs/{analytics-config-56ddc132.js.map → analytics-config-923c8877.js.map} +1 -1
  190. package/dist/cjs/atomic-aria-live_2.cjs.entry.js +3 -3
  191. package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
  192. package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
  193. package/dist/cjs/atomic-commerce-category-facet_4.cjs.entry.js +4 -4
  194. package/dist/cjs/atomic-facet-date-input.cjs.entry.js +3 -3
  195. package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
  196. package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
  197. package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
  198. package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
  199. package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
  200. package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
  201. package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
  202. package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
  203. package/dist/cjs/atomic-html.cjs.entry.js +1 -1
  204. package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
  205. package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
  206. package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
  207. package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
  208. package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
  209. package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
  210. package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
  211. package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
  212. package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
  213. package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
  214. package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
  215. package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
  216. package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +1 -1
  217. package/dist/cjs/atomic-insight-result-children.cjs.entry.js +1 -1
  218. package/dist/cjs/atomic-insight-result-list.cjs.entry.js +1 -1
  219. package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +1 -1
  220. package/dist/cjs/atomic-insight-result.cjs.entry.js +1 -1
  221. package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
  222. package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  223. package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
  224. package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
  225. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
  226. package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
  227. package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
  228. package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
  229. package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
  230. package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
  231. package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
  232. package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
  233. package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
  234. package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
  235. package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
  236. package/dist/cjs/atomic-no-results.cjs.entry.js +1 -1
  237. package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
  238. package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
  239. package/dist/cjs/atomic-product-link.cjs.entry.js +18 -5
  240. package/dist/cjs/atomic-product-link.cjs.entry.js.map +1 -1
  241. package/dist/cjs/atomic-product-rating.cjs.entry.js +1 -2
  242. package/dist/cjs/atomic-product-rating.cjs.entry.js.map +1 -1
  243. package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
  244. package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
  245. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
  246. package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
  247. package/dist/cjs/{atomic-rating-6d5a98ec.js → atomic-rating-a37a1793.js} +9 -3
  248. package/dist/cjs/atomic-rating-a37a1793.js.map +1 -0
  249. package/dist/cjs/atomic-rating-facet.cjs.entry.js +1 -2
  250. package/dist/cjs/atomic-rating-facet.cjs.entry.js.map +1 -1
  251. package/dist/cjs/atomic-rating-range-facet.cjs.entry.js +1 -2
  252. package/dist/cjs/atomic-rating-range-facet.cjs.entry.js.map +1 -1
  253. package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
  254. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  255. package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
  256. package/dist/cjs/atomic-refine-modal.cjs.entry.js +1 -1
  257. package/dist/cjs/atomic-refine-toggle.cjs.entry.js +1 -1
  258. package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
  259. package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
  260. package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
  261. package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
  262. package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js +3 -3
  263. package/dist/cjs/atomic-result-rating.cjs.entry.js +1 -2
  264. package/dist/cjs/atomic-result-rating.cjs.entry.js.map +1 -1
  265. package/dist/cjs/atomic-results-per-page.cjs.entry.js +1 -1
  266. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
  267. package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
  268. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  269. package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
  270. package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
  271. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  272. package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
  273. package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
  274. package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
  275. package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
  276. package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
  277. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  278. package/dist/cjs/atomic.cjs.js +1 -1
  279. package/dist/cjs/index-757bc886.js +0 -8
  280. package/dist/cjs/version.cjs.js +2 -2
  281. package/dist/esm/_loader.js +1 -1
  282. package/dist/esm/{analytics-config-4e83a998.js → analytics-config-f4cb30c7.js} +2 -2
  283. package/dist/esm/{analytics-config-4e83a998.js.map → analytics-config-f4cb30c7.js.map} +1 -1
  284. package/dist/esm/atomic-aria-live_2.entry.js +3 -3
  285. package/dist/esm/atomic-category-facet.entry.js +1 -1
  286. package/dist/esm/atomic-citation.entry.js +1 -1
  287. package/dist/esm/atomic-commerce-category-facet_4.entry.js +4 -4
  288. package/dist/esm/atomic-facet-date-input.entry.js +3 -3
  289. package/dist/esm/atomic-facet-manager.entry.js +1 -1
  290. package/dist/esm/atomic-facet-number-input.entry.js +2 -2
  291. package/dist/esm/atomic-facet.entry.js +1 -1
  292. package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
  293. package/dist/esm/atomic-format-currency.entry.js +1 -1
  294. package/dist/esm/atomic-format-number.entry.js +1 -1
  295. package/dist/esm/atomic-format-unit.entry.js +1 -1
  296. package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
  297. package/dist/esm/atomic-html.entry.js +1 -1
  298. package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
  299. package/dist/esm/atomic-insight-facet.entry.js +1 -1
  300. package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
  301. package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
  302. package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
  303. package/dist/esm/atomic-insight-interface.entry.js +1 -1
  304. package/dist/esm/atomic-insight-no-results.entry.js +1 -1
  305. package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
  306. package/dist/esm/atomic-insight-pager.entry.js +3 -3
  307. package/dist/esm/atomic-insight-query-error.entry.js +1 -1
  308. package/dist/esm/atomic-insight-refine-modal.entry.js +2 -2
  309. package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
  310. package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +1 -1
  311. package/dist/esm/atomic-insight-result-children.entry.js +1 -1
  312. package/dist/esm/atomic-insight-result-list.entry.js +1 -1
  313. package/dist/esm/atomic-insight-result-quickview-action.entry.js +1 -1
  314. package/dist/esm/atomic-insight-result.entry.js +1 -1
  315. package/dist/esm/atomic-insight-search-box.entry.js +2 -2
  316. package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
  317. package/dist/esm/atomic-insight-tabs.entry.js +1 -1
  318. package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
  319. package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
  320. package/dist/esm/atomic-ipx-body.entry.js +2 -2
  321. package/dist/esm/atomic-ipx-button.entry.js +2 -2
  322. package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
  323. package/dist/esm/atomic-ipx-modal.entry.js +2 -2
  324. package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
  325. package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
  326. package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
  327. package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
  328. package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
  329. package/dist/esm/atomic-load-more-results.entry.js +1 -1
  330. package/dist/esm/atomic-no-results.entry.js +1 -1
  331. package/dist/esm/atomic-numeric-facet.entry.js +1 -1
  332. package/dist/esm/atomic-pager.entry.js +3 -3
  333. package/dist/esm/atomic-product-link.entry.js +17 -4
  334. package/dist/esm/atomic-product-link.entry.js.map +1 -1
  335. package/dist/esm/atomic-product-rating.entry.js +1 -2
  336. package/dist/esm/atomic-product-rating.entry.js.map +1 -1
  337. package/dist/esm/atomic-query-error.entry.js +1 -1
  338. package/dist/esm/atomic-query-summary.entry.js +1 -1
  339. package/dist/esm/atomic-quickview-modal.entry.js +1 -1
  340. package/dist/esm/atomic-quickview.entry.js +1 -1
  341. package/dist/esm/{atomic-rating-623f80fb.js → atomic-rating-cb537bf2.js} +8 -2
  342. package/dist/esm/atomic-rating-cb537bf2.js.map +1 -0
  343. package/dist/esm/atomic-rating-facet.entry.js +1 -2
  344. package/dist/esm/atomic-rating-facet.entry.js.map +1 -1
  345. package/dist/esm/atomic-rating-range-facet.entry.js +1 -2
  346. package/dist/esm/atomic-rating-range-facet.entry.js.map +1 -1
  347. package/dist/esm/atomic-recs-error.entry.js +1 -1
  348. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  349. package/dist/esm/atomic-recs-list.entry.js +1 -1
  350. package/dist/esm/atomic-refine-modal.entry.js +1 -1
  351. package/dist/esm/atomic-refine-toggle.entry.js +1 -1
  352. package/dist/esm/atomic-result-children.entry.js +1 -1
  353. package/dist/esm/atomic-result-fields-list.entry.js +1 -1
  354. package/dist/esm/atomic-result-link.entry.js +1 -1
  355. package/dist/esm/atomic-result-list.entry.js +1 -1
  356. package/dist/esm/atomic-result-placeholder_8.entry.js +3 -3
  357. package/dist/esm/atomic-result-rating.entry.js +1 -2
  358. package/dist/esm/atomic-result-rating.entry.js.map +1 -1
  359. package/dist/esm/atomic-results-per-page.entry.js +1 -1
  360. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
  361. package/dist/esm/atomic-search-box.entry.js +4 -4
  362. package/dist/esm/atomic-search-interface.entry.js +1 -1
  363. package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
  364. package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
  365. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  366. package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
  367. package/dist/esm/atomic-sort-expression.entry.js +1 -1
  368. package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
  369. package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
  370. package/dist/esm/atomic-tab-button.entry.js +1 -1
  371. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  372. package/dist/esm/atomic.js +1 -1
  373. package/dist/esm/index-3f35faca.js +0 -8
  374. package/dist/esm/version.js +2 -2
  375. package/dist/types/components/commerce/atomic-product-numeric-field-value/atomic-product-numeric-field-value.d.ts +18 -13
  376. package/dist/types/components/commerce/atomic-product-price/atomic-product-price.d.ts +15 -8
  377. package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +2 -0
  378. package/dist/types/components/commerce/index.d.ts +2 -0
  379. package/dist/types/components.d.ts +0 -62
  380. package/docs/atomic-docs.json +1 -75
  381. package/package.json +5 -5
  382. package/dist/atomic/components/atomic-product-numeric-field-value.d.ts +0 -11
  383. package/dist/atomic/components/atomic-product-numeric-field-value.js +0 -90
  384. package/dist/atomic/components/atomic-product-numeric-field-value.js.map +0 -1
  385. package/dist/atomic/components/atomic-product-price.d.ts +0 -11
  386. package/dist/atomic/components/atomic-product-price.js +0 -98
  387. package/dist/atomic/components/atomic-product-price.js.map +0 -1
  388. package/dist/atomic/components/error.js +0 -10
  389. package/dist/atomic/components/error.js.map +0 -1
  390. package/dist/atomic/components/product-utils.js +0 -33
  391. package/dist/atomic/components/product-utils.js.map +0 -1
  392. package/dist/atomic/p-009af1a0.entry.js +0 -2
  393. package/dist/atomic/p-0c604072.entry.js +0 -2
  394. package/dist/atomic/p-0ed3432e.entry.js +0 -2
  395. package/dist/atomic/p-1e971b29.entry.js +0 -2
  396. package/dist/atomic/p-2bdfa055.js +0 -2
  397. package/dist/atomic/p-2bdfa055.js.map +0 -1
  398. package/dist/atomic/p-2cfcffc7.entry.js +0 -2
  399. package/dist/atomic/p-3a9ef094.entry.js +0 -2
  400. package/dist/atomic/p-7163256b.js +0 -2
  401. package/dist/atomic/p-7163256b.js.map +0 -1
  402. package/dist/atomic/p-7525968c.entry.js +0 -2
  403. package/dist/atomic/p-7525968c.entry.js.map +0 -1
  404. package/dist/atomic/p-7deba242.entry.js +0 -2
  405. package/dist/atomic/p-7deba242.entry.js.map +0 -1
  406. package/dist/atomic/p-a44740ec.entry.js +0 -2
  407. package/dist/atomic/p-b1b751a5.js +0 -2
  408. package/dist/atomic/p-b1b751a5.js.map +0 -1
  409. package/dist/atomic/p-d4f88be6.entry.js +0 -2
  410. package/dist/atomic/p-db9fc2f4.entry.js +0 -2
  411. package/dist/atomic/p-f20b2d62.entry.js +0 -2
  412. package/dist/atomic/p-f20b2d62.entry.js.map +0 -1
  413. package/dist/cjs/atomic-product-numeric-field-value.cjs.entry.js +0 -80
  414. package/dist/cjs/atomic-product-numeric-field-value.cjs.entry.js.map +0 -1
  415. package/dist/cjs/atomic-product-price.cjs.entry.js +0 -92
  416. package/dist/cjs/atomic-product-price.cjs.entry.js.map +0 -1
  417. package/dist/cjs/atomic-rating-6d5a98ec.js.map +0 -1
  418. package/dist/cjs/error-ad501bd7.js +0 -12
  419. package/dist/cjs/error-ad501bd7.js.map +0 -1
  420. package/dist/cjs/product-utils-4bd389b3.js +0 -36
  421. package/dist/cjs/product-utils-4bd389b3.js.map +0 -1
  422. package/dist/esm/atomic-product-numeric-field-value.entry.js +0 -76
  423. package/dist/esm/atomic-product-numeric-field-value.entry.js.map +0 -1
  424. package/dist/esm/atomic-product-price.entry.js +0 -88
  425. package/dist/esm/atomic-product-price.entry.js.map +0 -1
  426. package/dist/esm/atomic-rating-623f80fb.js.map +0 -1
  427. package/dist/esm/error-9520e6d0.js +0 -10
  428. package/dist/esm/error-9520e6d0.js.map +0 -1
  429. package/dist/esm/product-utils-9dcbe57e.js +0 -33
  430. package/dist/esm/product-utils-9dcbe57e.js.map +0 -1
  431. /package/dist/atomic/{p-254493bb.entry.js.map → p-10533f5e.entry.js.map} +0 -0
  432. /package/dist/atomic/{p-ff601596.entry.js.map → p-1241378f.entry.js.map} +0 -0
  433. /package/dist/atomic/{p-fcc01555.entry.js.map → p-179dd992.entry.js.map} +0 -0
  434. /package/dist/atomic/{p-9ea0730b.entry.js.map → p-188a5988.entry.js.map} +0 -0
  435. /package/dist/atomic/{p-053630b7.entry.js.map → p-1d8d898e.entry.js.map} +0 -0
  436. /package/dist/atomic/{p-b7c58d1b.entry.js.map → p-1e82867d.entry.js.map} +0 -0
  437. /package/dist/atomic/{p-18a6ee18.entry.js.map → p-2075d1c2.entry.js.map} +0 -0
  438. /package/dist/atomic/{p-3817e41f.entry.js.map → p-23367d09.entry.js.map} +0 -0
  439. /package/dist/atomic/{p-ef42977c.entry.js.map → p-24df7eb5.entry.js.map} +0 -0
  440. /package/dist/atomic/{p-6fafebf4.entry.js.map → p-2b7bd1a7.entry.js.map} +0 -0
  441. /package/dist/atomic/{p-16f39309.entry.js.map → p-2cb0696d.entry.js.map} +0 -0
  442. /package/dist/atomic/{p-82f73cb7.entry.js.map → p-34280d19.entry.js.map} +0 -0
  443. /package/dist/atomic/{p-4600286e.entry.js.map → p-34f13f68.entry.js.map} +0 -0
  444. /package/dist/atomic/{p-4780a993.entry.js.map → p-380e9947.entry.js.map} +0 -0
  445. /package/dist/atomic/{p-2e5900d5.entry.js.map → p-3a22931a.entry.js.map} +0 -0
  446. /package/dist/atomic/{p-fa1c4917.entry.js.map → p-3b4f8370.entry.js.map} +0 -0
  447. /package/dist/atomic/{p-3a9ef094.entry.js.map → p-3f50439d.entry.js.map} +0 -0
  448. /package/dist/atomic/{p-8f10d6b1.entry.js.map → p-451abd79.entry.js.map} +0 -0
  449. /package/dist/atomic/{p-0457e70e.entry.js.map → p-4cb4dce2.entry.js.map} +0 -0
  450. /package/dist/atomic/{p-7e477e6a.entry.js.map → p-4cf83057.entry.js.map} +0 -0
  451. /package/dist/atomic/{p-f37215a3.entry.js.map → p-4f71433c.entry.js.map} +0 -0
  452. /package/dist/atomic/{p-0dbfef2a.entry.js.map → p-5231d47e.entry.js.map} +0 -0
  453. /package/dist/atomic/{p-1bd29155.entry.js.map → p-547ec848.entry.js.map} +0 -0
  454. /package/dist/atomic/{p-e67e6f25.entry.js.map → p-558b561c.entry.js.map} +0 -0
  455. /package/dist/atomic/{p-312ea507.entry.js.map → p-56f79dbc.entry.js.map} +0 -0
  456. /package/dist/atomic/{p-90e7ab82.entry.js.map → p-598355e2.entry.js.map} +0 -0
  457. /package/dist/atomic/{p-0caed756.entry.js.map → p-5f5f3c02.entry.js.map} +0 -0
  458. /package/dist/atomic/{p-413a3e9a.entry.js.map → p-5fc9f751.entry.js.map} +0 -0
  459. /package/dist/atomic/{p-d376a122.entry.js.map → p-60677298.entry.js.map} +0 -0
  460. /package/dist/atomic/{p-32768595.js.map → p-6f1e7923.js.map} +0 -0
  461. /package/dist/atomic/{p-619fdbad.entry.js.map → p-78798600.entry.js.map} +0 -0
  462. /package/dist/atomic/{p-0d272101.entry.js.map → p-793ac925.entry.js.map} +0 -0
  463. /package/dist/atomic/{p-60c221c4.entry.js.map → p-7abdbad3.entry.js.map} +0 -0
  464. /package/dist/atomic/{p-ab5284ef.entry.js.map → p-7c2465db.entry.js.map} +0 -0
  465. /package/dist/atomic/{p-2553b81a.entry.js.map → p-7da7091f.entry.js.map} +0 -0
  466. /package/dist/atomic/{p-fae8b0b6.entry.js.map → p-7e316f12.entry.js.map} +0 -0
  467. /package/dist/atomic/{p-32d1d80d.entry.js.map → p-7e979900.entry.js.map} +0 -0
  468. /package/dist/atomic/{p-f662801b.entry.js.map → p-81f9321f.entry.js.map} +0 -0
  469. /package/dist/atomic/{p-5daf65a2.entry.js.map → p-8664e49f.entry.js.map} +0 -0
  470. /package/dist/atomic/{p-1868dae3.entry.js.map → p-87306667.entry.js.map} +0 -0
  471. /package/dist/atomic/{p-2cfcffc7.entry.js.map → p-88e3af33.entry.js.map} +0 -0
  472. /package/dist/atomic/{p-14e07101.entry.js.map → p-8b19b5c1.entry.js.map} +0 -0
  473. /package/dist/atomic/{p-b25c9315.entry.js.map → p-8c07fe23.entry.js.map} +0 -0
  474. /package/dist/atomic/{p-40068301.entry.js.map → p-933fb81c.entry.js.map} +0 -0
  475. /package/dist/atomic/{p-c9594881.entry.js.map → p-9f349dea.entry.js.map} +0 -0
  476. /package/dist/atomic/{p-33883a60.entry.js.map → p-a21b8355.entry.js.map} +0 -0
  477. /package/dist/atomic/{p-014d7074.entry.js.map → p-a6f59ee7.entry.js.map} +0 -0
  478. /package/dist/atomic/{p-ef6daa3c.entry.js.map → p-a9e90e8d.entry.js.map} +0 -0
  479. /package/dist/atomic/{p-db9fc2f4.entry.js.map → p-ac93a338.entry.js.map} +0 -0
  480. /package/dist/atomic/{p-3e4997cb.entry.js.map → p-b369d9f3.entry.js.map} +0 -0
  481. /package/dist/atomic/{p-0051c09e.entry.js.map → p-b7df58a2.entry.js.map} +0 -0
  482. /package/dist/atomic/{p-c7aea960.entry.js.map → p-b8884511.entry.js.map} +0 -0
  483. /package/dist/atomic/{p-d67f0c7d.entry.js.map → p-b9d90a15.entry.js.map} +0 -0
  484. /package/dist/atomic/{p-b9cdeb9c.entry.js.map → p-c52ea307.entry.js.map} +0 -0
  485. /package/dist/atomic/{p-6757d5c8.entry.js.map → p-c6d607ef.entry.js.map} +0 -0
  486. /package/dist/atomic/{p-5cae2acd.entry.js.map → p-c7c8a40b.entry.js.map} +0 -0
  487. /package/dist/atomic/{p-6c10c08c.entry.js.map → p-c8d47706.entry.js.map} +0 -0
  488. /package/dist/atomic/{p-c7e06c91.entry.js.map → p-c8f4a164.entry.js.map} +0 -0
  489. /package/dist/atomic/{p-7151eb35.entry.js.map → p-c91d1951.entry.js.map} +0 -0
  490. /package/dist/atomic/{p-d2d1bbbc.entry.js.map → p-c953ea9f.entry.js.map} +0 -0
  491. /package/dist/atomic/{p-86f61caa.entry.js.map → p-c997c2ad.entry.js.map} +0 -0
  492. /package/dist/atomic/{p-57377cc0.entry.js.map → p-cb07fb1a.entry.js.map} +0 -0
  493. /package/dist/atomic/{p-55c12e5f.entry.js.map → p-cc4a90fc.entry.js.map} +0 -0
  494. /package/dist/atomic/{p-05f50dc9.entry.js.map → p-d64c6b59.entry.js.map} +0 -0
  495. /package/dist/atomic/{p-087ba363.entry.js.map → p-dad54a83.entry.js.map} +0 -0
  496. /package/dist/atomic/{p-03c36274.entry.js.map → p-e0c09699.entry.js.map} +0 -0
  497. /package/dist/atomic/{p-19b2085d.entry.js.map → p-e240f215.entry.js.map} +0 -0
  498. /package/dist/atomic/{p-6a43fe66.entry.js.map → p-e2765b24.entry.js.map} +0 -0
  499. /package/dist/atomic/{p-f57dd2a9.entry.js.map → p-e51aee3d.entry.js.map} +0 -0
  500. /package/dist/atomic/{p-d4f88be6.entry.js.map → p-e790d557.entry.js.map} +0 -0
  501. /package/dist/atomic/{p-b8584d50.entry.js.map → p-ea98f3c7.entry.js.map} +0 -0
  502. /package/dist/atomic/{p-009af1a0.entry.js.map → p-efd2bb5f.entry.js.map} +0 -0
  503. /package/dist/atomic/{p-1df62ba9.entry.js.map → p-f27fba44.entry.js.map} +0 -0
  504. /package/dist/atomic/{p-23200ea1.entry.js.map → p-f7830503.entry.js.map} +0 -0
  505. /package/dist/atomic/{p-a516f15f.entry.js.map → p-f7e0887c.entry.js.map} +0 -0
  506. /package/dist/atomic/{p-66fd5541.entry.js.map → p-fa9454b5.entry.js.map} +0 -0
  507. /package/dist/atomic/{p-963e508f.entry.js.map → p-fc68c8b0.entry.js.map} +0 -0
@@ -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: '178e59602538037b863cdc9fcfb4805e65da2299', hasError: hasError }, h(QueryErrorContainer, { key: '45553959b7831ca626fe092fdd3049f5039d8c35' }, h(QueryErrorIcon, { key: 'd082b3211fb877d552940e269bbd56b4c90b4dc4', errorType: error?.type }), h(QueryErrorTitle, { key: '3b65fc9f57c0ab9021029ddf4bfad98fe5591c40', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '440ab8a492636e4d9895c363a40fddc185a02fca', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: '731fb0c84ed116b8be9c53c717af628e9350aee5', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'edfdba8dd4e54d79efce8d6034240ff89be24c79', error: error, show: this.showMoreInfo }))));
40
+ return (h(QueryErrorGuard, { key: 'ea42a4a04bb483f9ec1575cc22072d6b5d87cf59', hasError: hasError }, h(QueryErrorContainer, { key: 'f813d0286bcadcda4885f62a454bd8e47a0463bb' }, h(QueryErrorIcon, { key: 'f02e79966f3b5e49bd618ebcee8f087ead715933', errorType: error?.type }), h(QueryErrorTitle, { key: '82773be68680d32c6ea0f0ad3d39ed3c6a84d88d', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '117ec022bcedba69ba868d29c8d2350fa8c03e12', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: 'd1bf3b2e88d1a827757a8e51b13dd37f858629b4', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'fd4c572f5d84d45c337e51bcbb93bfb565ec3284', 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: '07ed1fb4746f8a9d3fb2b62282f65d64107dd2f1', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: 'f1fe4f859eddabc2d05ecf7f300203d9f7b9362d' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: '925a4e6fa496fc6c49cd8c89b1ba575a3e2b0293', class: "hidden", part: "duration" }, "\u00A0", h(LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
43
+ return (h(QuerySummaryGuard, { key: '824f25afe007b343cbf902060c97ea5e6716131e', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: '392946ee77790cdf1a8e9374a8ad72a6a0ada0ca' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: '6d180fbed56a0f2fea5ba255d2596764b6c4949d', 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
  }
@@ -584,7 +584,7 @@ const AtomicQuickviewModal = /*@__PURE__*/ proxyCustomElement(class AtomicQuickv
584
584
  });
585
585
  }
586
586
  render() {
587
- return (h("atomic-modal", { key: 'cab99372c60580d964b5aafb9cac1a6a198f108f', 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()));
587
+ return (h("atomic-modal", { key: '3538cc54522d1d134282ec0528a17d97011aebdc', 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()));
588
588
  }
589
589
  static get watchers() { return {
590
590
  "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: 'ef6378f27c339de13d47ff4f11ecf00115403886', 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: '9e103075b7e00564d23c2f081729f11a0d975263', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
111
+ return (h(Button, { key: 'c043bb39ed2ce14e84f669f912d111b3cddd59a5', 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: 'e413d964e1fc691350dc0b6e6b1ba98be131cde0', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
112
112
  }
113
113
  }
114
114
  static get style() { return AtomicQuickviewStyle0; }
@@ -1,5 +1,11 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { F as FieldValueIsNaNError } from './error.js';
2
+
3
+ class FieldValueIsNaNError extends Error {
4
+ constructor(field, value) {
5
+ super(`Could not parse "${value}" from field "${field}" as a number.`);
6
+ this.name = 'FieldValueIsNaNError';
7
+ }
8
+ }
3
9
 
4
10
  const Star = `<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
5
11
  <path
@@ -1 +1 @@
1
- {"file":"atomic-rating.js","mappings":";;;;;;;;;;MAYa,MAAM,GAAqC,CAAC,KAAK;IAC5D,MAAM,KAAK,GACT,CAAC,CAAC,KAAK,CAAC,mBAAmB,GAAG,KAAK,CAAC,kBAAkB,IAAI,GAAG,EAAE,QAAQ,EAAE;QACzE,GAAG,CAAC;IACN,MAAM,QAAQ,GAAG,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,KAAK,CAAC;IAEhD,MAAM,UAAU,GAAG,CAAC,MAAe;QACjC,QACE,mBACE,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,KAAK,EAAE,YAAY,MAAM,GAAG,aAAa,GAAG,eAAe,EAAE,EAC7D,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAC,EAC1C,IAAI,EAAC,mBAAmB,GACX,EACf;KACH,CAAC;IAEF,MAAM,gBAAgB,GAAG;QACvB,MAAM,gBAAgB,GAAY,EAAE,CAAC;QACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE;YACjD,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;SAC1C;QACD,OAAO,gBAAgB,CAAC;KACzB,CAAC;IAEF,MAAM,iBAAiB,GAAG;QACxB,MAAM,iBAAiB,GAAY,EAAE,CAAC;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE;YACjD,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;SAC1C;QACD,OAAO,iBAAiB,CAAC;KAC1B,CAAC;IAEF,QACE,WACE,KAAK,EAAC,gBAAgB,EACtB,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,KAAK,gBACE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE;YAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;YAChC,GAAG,EAAE,KAAK,CAAC,kBAAkB;SAC9B,CAAC;QAEF,WAAK,KAAK,EAAC,kBAAkB,IAAE,gBAAgB,EAAE,CAAO;QACxD,WACE,KAAK,EAAC,wDAAwD,EAC9D,KAAK,EAAE,EAAC,KAAK,EAAC,IAEb,iBAAiB,EAAE,CAChB,CACF,EACN;AACJ,EAAE;MAEW,oBAAoB,GAAG,CAClC,KAAc,EACd,KAAa;IAEb,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;IAC7C,IAAI,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE;QAC/B,MAAM,IAAI,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAC9C;IACD,OAAO,aAAa,CAAC;AACvB;;;;","names":[],"sources":["src/components/common/atomic-rating/atomic-rating.tsx"],"sourcesContent":["import {FunctionalComponent, h, VNode} from '@stencil/core';\nimport {i18n} from 'i18next';\nimport {FieldValueIsNaNError} from '../../commerce/product-template-component-utils/error';\n\ninterface RatingProps {\n i18n: i18n;\n numberOfTotalIcons: number;\n numberOfActiveIcons: number;\n icon: string;\n iconSize?: number;\n}\n\nexport const Rating: FunctionalComponent<RatingProps> = (props) => {\n const width =\n ((props.numberOfActiveIcons / props.numberOfTotalIcons) * 100).toString() +\n '%';\n const iconSize = `${props.iconSize ?? 0.75}rem`;\n\n const renderIcon = (active: boolean) => {\n return (\n <atomic-icon\n icon={props.icon}\n class={`shrink-0 ${active ? 'icon-active' : 'icon-inactive'}`}\n style={{width: iconSize, height: iconSize}}\n part=\"value-rating-icon\"\n ></atomic-icon>\n );\n };\n\n const emptyIconDisplay = () => {\n const emptyIconDisplay: VNode[] = [];\n for (let i = 0; i < props.numberOfTotalIcons; i++) {\n emptyIconDisplay.push(renderIcon(false));\n }\n return emptyIconDisplay;\n };\n\n const filledIconDisplay = () => {\n const filledIconDisplay: VNode[] = [];\n for (let i = 0; i < props.numberOfTotalIcons; i++) {\n filledIconDisplay.push(renderIcon(true));\n }\n return filledIconDisplay;\n };\n\n return (\n <div\n class=\"relative w-max\"\n part=\"value-rating\"\n role=\"img\"\n aria-label={props.i18n.t('stars', {\n count: props.numberOfActiveIcons,\n max: props.numberOfTotalIcons,\n })}\n >\n <div class=\"z-0 flex gap-0.5\">{emptyIconDisplay()}</div>\n <div\n class=\"absolute top-0 left-0 z-1 flex gap-0.5 overflow-hidden\"\n style={{width}}\n >\n {filledIconDisplay()}\n </div>\n </div>\n );\n};\n\nexport const computeNumberOfStars = (\n value: unknown,\n field: string\n): number | null => {\n if (value === null) {\n return null;\n }\n const valueAsNumber = parseFloat(`${value}`);\n if (Number.isNaN(valueAsNumber)) {\n throw new FieldValueIsNaNError(field, value);\n }\n return valueAsNumber;\n};\n"],"version":3}
1
+ {"file":"atomic-rating.js","mappings":";;MAAa,oBAAqB,SAAQ,KAAK;IAC7C,YAAY,KAAa,EAAE,KAAU;QACnC,KAAK,CAAC,oBAAoB,KAAK,iBAAiB,KAAK,gBAAgB,CAAC,CAAC;QACvE,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;KACpC;;;;;;;;;;MCQU,MAAM,GAAqC,CAAC,KAAK;IAC5D,MAAM,KAAK,GACT,CAAC,CAAC,KAAK,CAAC,mBAAmB,GAAG,KAAK,CAAC,kBAAkB,IAAI,GAAG,EAAE,QAAQ,EAAE;QACzE,GAAG,CAAC;IACN,MAAM,QAAQ,GAAG,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,KAAK,CAAC;IAEhD,MAAM,UAAU,GAAG,CAAC,MAAe;QACjC,QACE,mBACE,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,KAAK,EAAE,YAAY,MAAM,GAAG,aAAa,GAAG,eAAe,EAAE,EAC7D,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAC,EAC1C,IAAI,EAAC,mBAAmB,GACX,EACf;KACH,CAAC;IAEF,MAAM,gBAAgB,GAAG;QACvB,MAAM,gBAAgB,GAAY,EAAE,CAAC;QACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE;YACjD,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;SAC1C;QACD,OAAO,gBAAgB,CAAC;KACzB,CAAC;IAEF,MAAM,iBAAiB,GAAG;QACxB,MAAM,iBAAiB,GAAY,EAAE,CAAC;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE;YACjD,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;SAC1C;QACD,OAAO,iBAAiB,CAAC;KAC1B,CAAC;IAEF,QACE,WACE,KAAK,EAAC,gBAAgB,EACtB,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,KAAK,gBACE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE;YAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;YAChC,GAAG,EAAE,KAAK,CAAC,kBAAkB;SAC9B,CAAC;QAEF,WAAK,KAAK,EAAC,kBAAkB,IAAE,gBAAgB,EAAE,CAAO;QACxD,WACE,KAAK,EAAC,wDAAwD,EAC9D,KAAK,EAAE,EAAC,KAAK,EAAC,IAEb,iBAAiB,EAAE,CAChB,CACF,EACN;AACJ,EAAE;MAEW,oBAAoB,GAAG,CAClC,KAAc,EACd,KAAa;IAEb,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;IAC7C,IAAI,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE;QAC/B,MAAM,IAAI,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAC9C;IACD,OAAO,aAAa,CAAC;AACvB;;;;","names":[],"sources":["src/components/commerce/product-template-component-utils/error.ts","src/components/common/atomic-rating/atomic-rating.tsx"],"sourcesContent":["export class FieldValueIsNaNError extends Error {\n constructor(field: string, value?: {}) {\n super(`Could not parse \"${value}\" from field \"${field}\" as a number.`);\n this.name = 'FieldValueIsNaNError';\n }\n}\n","import {FunctionalComponent, h, VNode} from '@stencil/core';\nimport {i18n} from 'i18next';\nimport {FieldValueIsNaNError} from '../../commerce/product-template-component-utils/error';\n\ninterface RatingProps {\n i18n: i18n;\n numberOfTotalIcons: number;\n numberOfActiveIcons: number;\n icon: string;\n iconSize?: number;\n}\n\nexport const Rating: FunctionalComponent<RatingProps> = (props) => {\n const width =\n ((props.numberOfActiveIcons / props.numberOfTotalIcons) * 100).toString() +\n '%';\n const iconSize = `${props.iconSize ?? 0.75}rem`;\n\n const renderIcon = (active: boolean) => {\n return (\n <atomic-icon\n icon={props.icon}\n class={`shrink-0 ${active ? 'icon-active' : 'icon-inactive'}`}\n style={{width: iconSize, height: iconSize}}\n part=\"value-rating-icon\"\n ></atomic-icon>\n );\n };\n\n const emptyIconDisplay = () => {\n const emptyIconDisplay: VNode[] = [];\n for (let i = 0; i < props.numberOfTotalIcons; i++) {\n emptyIconDisplay.push(renderIcon(false));\n }\n return emptyIconDisplay;\n };\n\n const filledIconDisplay = () => {\n const filledIconDisplay: VNode[] = [];\n for (let i = 0; i < props.numberOfTotalIcons; i++) {\n filledIconDisplay.push(renderIcon(true));\n }\n return filledIconDisplay;\n };\n\n return (\n <div\n class=\"relative w-max\"\n part=\"value-rating\"\n role=\"img\"\n aria-label={props.i18n.t('stars', {\n count: props.numberOfActiveIcons,\n max: props.numberOfTotalIcons,\n })}\n >\n <div class=\"z-0 flex gap-0.5\">{emptyIconDisplay()}</div>\n <div\n class=\"absolute top-0 left-0 z-1 flex gap-0.5 overflow-hidden\"\n style={{width}}\n >\n {filledIconDisplay()}\n </div>\n </div>\n );\n};\n\nexport const computeNumberOfStars = (\n value: unknown,\n field: string\n): number | null => {\n if (value === null) {\n return null;\n }\n const valueAsNumber = parseFloat(`${value}`);\n if (Number.isNaN(valueAsNumber)) {\n throw new FieldValueIsNaNError(field, value);\n }\n return valueAsNumber;\n};\n"],"version":3}
@@ -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: '52593cc6801d9b8793c4a057c9e547039a962e08', hasError: hasError }, h(QueryErrorContainer, { key: '3f0fedb8da429aba7402de9f63e1be18d0fe1513' }, h(QueryErrorIcon, { key: 'ba6f355d3b01724f1bad24064fd61395ce81f50b', errorType: error?.type }), h(QueryErrorTitle, { key: '8cb0eda5473236b46a9bf7f73863e923d2350aae', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '7cca3b1d78cb5a2da86712c309143d2c1b40c9fa', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '240914fc31db0e7746094668ead737d0697ff627', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'b468d00bd4751b9b77d2c66b61002337e17bc84f', error: error, show: this.showMoreInfo }))));
42
+ return (h(QueryErrorGuard, { key: '8300dbdd069b2cc791fbfd2c9a34905029d849c7', hasError: hasError }, h(QueryErrorContainer, { key: '4a4a0f632256d0ac1d6510542496e4e697363621' }, h(QueryErrorIcon, { key: '87895858979696f8defe5f8eddb9cea6f0662741', errorType: error?.type }), h(QueryErrorTitle, { key: '3c6c38cb44496a28168593127bb99439c39bbe15', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: 'b37db01242ce1f93ccb283039cd76172ce976e25', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '7fb9dd18dda32bcfe6dfc696cc959e57bddcb9f9', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: '142873cf8a892cd13308f875ca033f428afd12a7', 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: '77c497291a8e709d3fe6151993054061283e2df0' }, 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: '765902164a53c1134a443c9db5de24c0bce12c35' }, this.renderHeading(), this.shouldRenderPagination ? (h(Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
266
266
  }
267
267
  get host() { return this; }
268
268
  static get watchers() { return {
@@ -206,7 +206,7 @@ const AtomicRefineModal = /*@__PURE__*/ proxyCustomElement(class AtomicRefineMod
206
206
  return (h(RefineModalFiltersSection, { i18n: i18n, withFacets: hasFacetElements, withAutomaticFacets: hasAutomaticFacets }, this.breadcrumbManagerState.hasBreadcrumbs && (h(RefineModalFiltersClearButton, { i18n: i18n, onClick: () => this.breadcrumbManager.deselectAll() }))));
207
207
  }
208
208
  render() {
209
- return (h(RefineModal, { key: '446ce79e9630f6d4c271ae964cc3d2b8ad089198', 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: 'f1cd056e8ef2d9137cfc852f578aa8f54d9db657' }, this.renderSort(), this.renderFilters())));
209
+ return (h(RefineModal, { key: '432ce8badf2b18c42d60e46cf51079214c1817a5', 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: '849e935b8fbc3fead5a57b7e7d1a65dffec1eafd' }, this.renderSort(), this.renderFilters())));
210
210
  }
211
211
  componentDidLoad() {
212
212
  this.host.style.display = '';
@@ -70,7 +70,7 @@ const AtomicRefineToggle$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRefine
70
70
  this.modalRef && (this.modalRef.isOpen = true);
71
71
  }
72
72
  render() {
73
- return (h(RefineToggleGuard, { key: 'e4962d25a82404bab2140a06e2973886e258f7d9', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: 'a1e0b70e40d075ef5bfc92e9ff0b11bfb2248949', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
73
+ return (h(RefineToggleGuard, { key: '836247eec175c1cf0e5cd53893de04f4812fdbb7', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '7c47869f8a807cf382aa9b19908fb977beb1a69a', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
74
74
  if (!button) {
75
75
  return;
76
76
  }
@@ -18,9 +18,9 @@ const AtomicRelevanceInspector = /*@__PURE__*/ proxyCustomElement(class AtomicRe
18
18
  this.open = false;
19
19
  }
20
20
  render() {
21
- return (h("atomic-modal", { key: '46b0eb41ac8d0d3e4a1991cbffeddd1f6ba80984', exportparts: "footer", isOpen: this.open, close: () => {
21
+ return (h("atomic-modal", { key: 'fdca864107673701719cf3daea3a399d4eb65006', exportparts: "footer", isOpen: this.open, close: () => {
22
22
  this.closeRelevanceInspector?.emit();
23
- } }, h("p", { key: 'ac5de5c78f8bb4e0aaf89478d2681f5a117d0c9a', slot: "header" }, "Open the relevance inspector"), h("p", { key: '12e1e781ff836107afb90857c09177c86211d413', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '1a10ed77461e8ed0f9e291910ba3b67357113461', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: 'd64f242f153da2cc775128caf743f0d73743f4c6', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'f29945423397c92c77e15c4c777bf3a1f8b3afc5', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
23
+ } }, h("p", { key: 'ef8bd0ddeccdbfb89410a08f5e11f9f155774829', slot: "header" }, "Open the relevance inspector"), h("p", { key: '9c539ea8d52a4722bc255b505bd5ce648f6741eb', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: 'ae566e999066b319c294282878f3ced7803ab6ee', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: 'd5e5d96dfdbddc9d1f35eb4dede47aab187bea40', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'b5b65d232255a2f1c3660381b4828e9eb3e6225d', 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: '8449783197b670085a277b0705cabcbb5cb49e0c', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
141
+ return (h(ResultChildrenGuard, { key: '717045df4bd68be2f64d8c2d9091f05a763e55ed', 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: '006a41326b27303afb6c65aa8098ef41a66654b9' });
101
+ return h(Host, { key: '96122012d005a559ce273f7a624715c8d35e5d9a' });
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: '56915ec4e3a8094a5aac613d21cd9b354ecd6a80', 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: '3fc36762124d5af7fc1b4f70bad32af4bb82f7cd', 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: 'a2b584e8fcde30459513a16890086e8a63d75aec', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '036006cb9775695f03b4375a38b49f8492cd7d00', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '4df6464e2ec80f76e03db9e8656c7870ff6654f4', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '701af6f1c4f5c077c9ef7441b1b5b453ea7cfff9', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '4d70804d12b7cc6ffd25b96bc67533de1a6ce57d', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
197
+ return (h(TabGuard, { key: 'c70bc74385cc32b6fc26fcac2f351cdacc4c5356', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '2e0ca0d534692f2956fdc6030cf132249eca3b7c', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: 'ae74dd8f97f47849672efdd54dfd3346944b9a64', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '9ef950ba2e66a8655a88e26b7c3c6cdfa5644d8b', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '7c469f902f86b956b73b64ea639fa937794f6cb5', 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: 'b0b59793f2095844799a523ef2e269b96a5fe9fe', class: `result-root placeholder with-sections animate-pulse ${getItemDisplayClasses(this.display, this.density, this.imageSize)
30
+ return (h("div", { key: '3e020db4911d8d41c33d89cf53fe3c1a37db3d74', 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: 'c27894b2261a6763d6138f94b3d1d9c667bf7fba' }, h("div", { key: 'b94015949d6a2be3718bc6d4818106344d4039f6', class: placeholderClasses })), h("atomic-result-section-badges", { key: 'd17db8b8484b3ab72a6939307ef62d2688afbd4a' }, h("div", { key: '2dedcb4f3479f28b2dc16c9855e8863687bef780', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '910cdcb84f10e724e11454f46df2e99b8593eea4' }, h("div", { key: '6b03b3fbd7a0854e6cfa45ea4531ab86f6001a45', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '49db8cdb57bbe08794185a9159acf2db940dd450' }, h("div", { key: '913c361b103fbcbc593913a7913d35a2dd4e042b', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '623d694e520dfc4b7a50c8a74c2564ea0f2589ca' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '23fce16fc541e6f28f1a0ecc9a6a548b43e83d6c' }, h("div", { key: 'a6000fea2df41d9fe754a86945e5a01ab81d5f21', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
32
+ .trim()}` }, h("atomic-result-section-visual", { key: '1a7052cf55926cc38d925f2abb9eab3456e1f6d2' }, h("div", { key: '56be825849b3fa941fac230b2f38e6ac799788e8', class: placeholderClasses })), h("atomic-result-section-badges", { key: '65fd60631d764b39b991b7a8bde5840ccdfc058f' }, h("div", { key: '98bf58d26965f1af34d0528d15a46cd227320b1f', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '4b5c654914ff62e3c0eb75eb1f4a5faf12c2296e' }, h("div", { key: '83e3f10b054bd842f22a30746a907066846fcf14', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '4af4daa4118078cd7e65afe1f572e85629527cf0' }, h("div", { key: 'a9e0afc0ed5dbb2294234244692c63a56f102869', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '73525474400b12f6bb48c5997ca85338f63a6459' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: 'c4ed0a67319247a32cb84c2982446f97cea31208' }, h("div", { key: '40c43e2f52f8c5264fe55f6cebafb6aac2a1aaf1', 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: '979754afd61f270b52aa443f801968e5b68273fc', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '826d1b28430ba31591e564ab4638e932c02caaa5' }, h("tr", { key: 'fdcb5342af50e0052004bd2f1dd84938b5e8aa50' }, h("th", { key: 'bc12e103e6a83b5ef00cb4868e32d97f93095ff4' }, h("div", { key: '56e344ad0b6cf40cab36b46186b768c237db026c', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: 'feeb4453c70cc99788b18330b7e852592f1bafcb' }, h("div", { key: '0e1302eb6227640829506fdb4eed004b6559bf1a', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: 'ac048a6173448760fe4f4c2fb27defaeeab8ef77' }, h("div", { key: '7b41395b1b88c15d15020139a0026895b35a0504', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'a81316bf8ec1f5707db74cb3c718a430ec5b477b' }, 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: 'e3894d1a723938a6f1f66d47371478897da7f46b', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '6f1d91fdb7fbb3414dc47e379eb9ad11b0d6f5d5' }, h("tr", { key: 'a3d73bce56235237bd3213044f24b61c10408ac6' }, h("th", { key: '2adef1f6a0423ce4390b2a0fd94b61ddde41dfa1' }, h("div", { key: '07e7aceaff65b4b101113c7616e3bbe4fa398062', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '37e3206bedd16de03d7f4085bf147f29ba47f941' }, h("div", { key: '422fb8fd304cbb560eb224eacefb4bf3311c8199', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '63d45ed4794cf2a2138338bb4b65db28c2165544' }, h("div", { key: 'aa8f94e563c9a47bfdd178af8468ababd17fb630', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'f2c27545245f277a5ad5f47d95666663f16728c5' }, 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", {
@@ -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: 'c471f3e23a7ae6c5413a7fcf2a4e4cd41783b955', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '76fb8c63be65bbeb43827e4422f1ea300919b4c3', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: 'd03d1e9a864829e2b68486175e7af217da37e25c' }, this.label), h(FieldsetGroup, { key: 'c7f1bcdcfb72c73f81eede664b2f209de37249fc', label: this.label }, h(Choices, { key: 'df23823064894b9698abc5a7210cee9c351cd8f5', 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: 'aef59ffbe113b8ff6d2d8de45ec1f38a8ab8b5ad', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '8e77efbab4efc970e67855673853b1629f45ef0b', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: '6af26c78e85aac895e6bff8654c8bbdd3f0523a9' }, this.label), h(FieldsetGroup, { key: '4b92c1975712848f6285f270e679a18b4aa08eee', label: this.label }, h(Choices, { key: '16faa4f15bcce244e615dc6ee3324dc73205db8b', 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: '5c96440627d9e192b93bfc45d4709e094985b396', element: this.host, error: this.error }));
63
+ return (h("atomic-component-error", { key: '7fef78ba34dcf5520614b00b2f90f9e20559ab5b', 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: 'a0f6f39d3fe8744d9e72ed4e80a3c4f3800961bf', element: this.host, error: this.error }));
157
+ return (h("atomic-component-error", { key: 'cef7d53ee00b38415521f42ed24377129f4c7093', element: this.host, error: this.error }));
158
158
  }
159
159
  }
160
160
  get host() { return this; }
@@ -427,18 +427,18 @@ const AtomicSearchBox$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSearchBox
427
427
  if (!this.suggestionManager.suggestions.length) {
428
428
  this.registerSearchboxSuggestionEvents();
429
429
  }
430
- return (h(Host, { key: 'f21a73ca4a074383bbd0643b76aa841b45c866dc' }, this.renderAbsolutePositionSpacer(), [
431
- h(SearchBoxWrapper, { key: '1a749881c2ce6442109c0f5ef40aa5d061de0a34', disabled: isDisabled, onFocusout: (event) => {
430
+ return (h(Host, { key: '09b06f32127b7d7a63e3d8166104147a671ab43e' }, this.renderAbsolutePositionSpacer(), [
431
+ h(SearchBoxWrapper, { key: '7aba6374fa549fa038d330194a5bc0f023997dec', disabled: isDisabled, onFocusout: (event) => {
432
432
  if (!isFocusingOut(event)) {
433
433
  return;
434
434
  }
435
435
  this.suggestionManager.clearSuggestions();
436
436
  this.isExpanded = false;
437
- } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: 'aede3ac8b5dbe68c4e9a0946f435c5e5c840a5a7', bindings: this.bindings, disabled: isDisabled, onClick: () => {
437
+ } }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '30adbc0710741bc451f6e49acb4d2b45581cfcaf', bindings: this.bindings, disabled: isDisabled, onClick: () => {
438
438
  this.searchBox.submit();
439
439
  this.suggestionManager.clearSuggestions();
440
440
  } }), this.renderSuggestions()),
441
- !this.suggestionManager.suggestions.length && (h("slot", { key: 'e4198009c807b24297e7b007a340c16e88972df7' }, h("atomic-search-box-recent-queries", { key: '22a0e07a0e358d68905822a5df603ea4e8b733f4' }), h("atomic-search-box-query-suggestions", { key: '2f712bd0a5a473018669540fc8612227782ae623' }))),
441
+ !this.suggestionManager.suggestions.length && (h("slot", { key: '3316ac0b4980aa58afebdf04de77df7aedaf6de6' }, h("atomic-search-box-recent-queries", { key: '318455ea4ccefc0c3e18946fe95d165fdc10a182' }), h("atomic-search-box-query-suggestions", { key: 'e95f76775e5bbaed7c3fdbdc9eeddd6740073e7b' }))),
442
442
  ]));
443
443
  }
444
444
  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: '902eeedfbc7673a1d89baeff45db6dc3ec0121c3' }, this.renderStyle(), this.renderContent()));
92
+ return (h(Host, { key: '4affba20e6d0450b25ec7b25195f84757d0352c5' }, 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: '15541ccb49c30db6916a54880d0a60d0cdf82347', class: this.fullHeight || !this.shouldRenderButton
59
+ return (h(Host, { key: '49c073d4a3f1c26b7697e6d934ecb9e6201cf245', class: this.fullHeight || !this.shouldRenderButton
60
60
  ? this.isExpanded
61
61
  ? 'expanded'
62
62
  : ''
63
- : 'invisible' }, h("div", { key: '1214c2d9bd66d1e23d2aa99ed6bf670d392f151e', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '90977bbe6317f864d7ed962ac738719610c7e5cc' })), this.shouldRenderButton && this.renderButton()));
63
+ : 'invisible' }, h("div", { key: 'dd00c48c5379b0be6cddb0d9c3a8e0a0fc18b631', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '7f80007a1b5ec17744076a548ee60dcf9f0ad30b' })), 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: '3b58763eaae5a58e7ac106eb6d067f3aa6d9d087', class: this.isExpanded ? 'expanded' : '' }, this.renderAnswer(), this.renderButton()));
90
+ return (h("div", { key: '06742ab1eec50c35d086c87ab8e197ef39a79d49', 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: 'aa5e80a3cde439689475c0e040b5bd9e17318243', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: 'a25d4fbd9589f777a769a60d5b7efb874003b280', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: '6a0fb79f3b7b315744bfdf7f65617d639d9bb5d4', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: '4c75e32661d2cbd1a58ac874dd34baab364e22e2', 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: '836bcadd40b303488223df26d7c0f5554f2db6c6', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '1217615617e3f41ef061461116f5d054040d977a', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: '084f5eed70bdaab992ae6d1573a753cc8da0bc28', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'b94fbcad5e3881854282c6df35b6552c558452ed', 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: '385c9f047c347e83639e3143d289a112237ccf87', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'e27e71a4a33478a4a01d2419bf727268babeeb48', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
50
+ } })))), h(SmartSnippetFeedbackModalDetails, { key: 'e19ba2cf9a1ea90b369d9ec39e7a0b54f0a9ad4c', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'b8d8fc82351c15d659328c373f1e51d5e5393f01', 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: '1735c5761ab620b195f0db7f69562da50366f6c0' }, h(LinkWithItemAnalytics, { key: '87d9e2ad4cdfe15497c2bf158ad005b4a1c28458', 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: '55a0793e0a14923ad6356b0e465b0cbbad2e629a', 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: '5c3ed8dcf2781a61b8bef1e326c31c0464c672fb' }, h(LinkWithItemAnalytics, { key: 'e2570a124c186f80ef86181641d9dcacf1f109b1', 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: '8065bfdeb815dbfa537f2b8c3394a1c16ffbde82', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
37
37
  }
38
38
  }, [0, "atomic-smart-snippet-source", {
39
39
  "source": [1040],
@@ -117,8 +117,8 @@ const AtomicSortDropdown$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSortDr
117
117
  const { hasError, hasResults, firstSearchExecuted } = this.searchStatusState;
118
118
  const { bindings: { i18n }, id, } = this;
119
119
  return [
120
- h(SortGuard, { key: '4ee8ff63c7e211ad4c0363e767cb790cd9710e43', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '5038bbcf2ada8edcaf3f53e8a773956c3ebb5b9e' }, h(SortLabel, { key: '854fc6ec309794b68c863dae07daef9c3e2220b5', i18n: i18n, id: id }), h(SortSelect, { key: 'bcf25587ecfda1360af47c9a38ac21d12bf06e50', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
121
- h("slot", { key: '780cda787ea62acbcc2c2c992320aed0bbd7e987' }),
120
+ h(SortGuard, { key: 'c4710486ab41fc6759c07d5850c8e83bb9a37160', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '653c93dbd9d5b3535f8ddb808f4cdfba0026613c' }, h(SortLabel, { key: 'a9c6c2a860400c3f6c07eda8be3a34a2469bec71', i18n: i18n, id: id }), h(SortSelect, { key: '8f4826457092ffb87bc9292a9d8276b232f3d99b', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
121
+ h("slot", { key: 'd36b41c41973b6fda29d7ba6b0ec3c1eacde7224' }),
122
122
  ];
123
123
  }
124
124
  get host() { return this; }
@@ -47,7 +47,7 @@ const AtomicSortExpression$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSort
47
47
  const dropdownComponent = 'atomic-sort-dropdown';
48
48
  if (!this.host.closest(dropdownComponent)) {
49
49
  const error = new Error(`The "${this.host.nodeName.toLowerCase()}" component has to be used inside an ${dropdownComponent} element.`);
50
- return (h("atomic-component-error", { key: '4e670761918ce5550411f515fd32136df0e2224e', element: this.host, error: error }));
50
+ return (h("atomic-component-error", { key: '278d83f4f6b5d95041fe199f0a911e360eb5823c', 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: '67d5e49cfc54a02d7bea535ad2cacca11a4af465', 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: '285092df55387853ab1c4ae7b855329243e0f6e5', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
77
77
  if (!el) {
78
78
  return;
79
79
  }
@@ -59,7 +59,7 @@ const AtomicTabManager$1 = /*@__PURE__*/ proxyCustomElement(class AtomicTabManag
59
59
  });
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: '9e75ad3be1f4468d7b2d0eb9c6f6e57f50840826' }, h("atomic-tab-bar", { key: 'ed6823fbf1249ec38a1a057244a530ce7f3fae1f' }, h("div", { key: '87ed2de51ab176f9059339a8bb54e895716ca15a', role: "list", "aria-label": "tab-area", part: "tab-area", class: "border-neutral mb-2 flex w-full flex-row border-b" }, this.tabs.map((tab) => (h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
62
+ return (h(Host, { key: '51deeb9f56009f83954ab00c955065dcb740e319' }, h("atomic-tab-bar", { key: '7e637249b5b4db12f3a81f777e9fcb6cab66210d' }, h("div", { key: 'd19cc7766d8b1c5123bcc2cbb3d5482e541e63d8', role: "list", "aria-label": "tab-area", part: "tab-area", class: "border-neutral mb-2 flex w-full flex-row border-b" }, this.tabs.map((tab) => (h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
63
63
  defaultValue: tab.label,
64
64
  }), select: () => {
65
65
  if (!tab.tabController.state.isActive) {
@@ -0,0 +1,81 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, LitElement } from 'lit';
8
+ import { customElement, property, state } from 'lit/decorators.js';
9
+ import { when } from 'lit/directives/when.js';
10
+ import { bindingGuard } from "../../../decorators/binding-guard.js";
11
+ import { bindings } from "../../../decorators/bindings.js";
12
+ import { createProductContextController } from "../../../decorators/commerce/product-template-decorators.js";
13
+ import { errorGuard } from "../../../decorators/error-guard.js";
14
+ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
15
+ import { defaultNumberFormatter, } from '../../common/formats/format-common.js';
16
+ import { parseValue } from '../product-template-component-utils/product-utils.js';
17
+ /**
18
+ * The `atomic-product-numeric-field-value` component renders the value of a number product field.
19
+ *
20
+ * The number can be formatted by adding a `atomic-format-number`, `atomic-format-currency` or `atomic-format-unit` component into this component.
21
+ * @alpha
22
+ */
23
+ let AtomicProductNumericFieldValue = class AtomicProductNumericFieldValue extends LitElement {
24
+ constructor() {
25
+ super(...arguments);
26
+ this.productController = createProductContextController(this);
27
+ this.formatter = defaultNumberFormatter;
28
+ this.setFormat = (event) => {
29
+ const customEvent = event;
30
+ customEvent.preventDefault();
31
+ customEvent.stopPropagation();
32
+ this.formatter = customEvent.detail;
33
+ };
34
+ }
35
+ createRenderRoot() {
36
+ return this;
37
+ }
38
+ initialize() {
39
+ this.addEventListener('atomic/numberFormat', this.setFormat);
40
+ }
41
+ disconnectedCallback() {
42
+ super.disconnectedCallback();
43
+ this.removeEventListener('atomic/numberFormat', this.setFormat);
44
+ }
45
+ get value() {
46
+ const product = this.productController.item;
47
+ if (!product) {
48
+ return null;
49
+ }
50
+ const value = parseValue(product, this.field);
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return this.formatter(value, this.bindings.i18n.languages);
55
+ }
56
+ render() {
57
+ return html `${when(this.value !== null, () => html `${this.value}`)}`;
58
+ }
59
+ };
60
+ __decorate([
61
+ state()
62
+ ], AtomicProductNumericFieldValue.prototype, "bindings", void 0);
63
+ __decorate([
64
+ state()
65
+ ], AtomicProductNumericFieldValue.prototype, "error", void 0);
66
+ __decorate([
67
+ property({ reflect: true })
68
+ ], AtomicProductNumericFieldValue.prototype, "field", void 0);
69
+ __decorate([
70
+ state()
71
+ ], AtomicProductNumericFieldValue.prototype, "formatter", void 0);
72
+ __decorate([
73
+ errorGuard(),
74
+ bindingGuard()
75
+ ], AtomicProductNumericFieldValue.prototype, "render", null);
76
+ AtomicProductNumericFieldValue = __decorate([
77
+ customElement('atomic-product-numeric-field-value'),
78
+ bindings(),
79
+ withTailwindStyles
80
+ ], AtomicProductNumericFieldValue);
81
+ export { AtomicProductNumericFieldValue };
@@ -0,0 +1,103 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { buildContext, } from '@coveo/headless/commerce';
8
+ import { html, LitElement, unsafeCSS } from 'lit';
9
+ import { customElement, state } from 'lit/decorators.js';
10
+ import { when } from 'lit/directives/when.js';
11
+ import { bindStateToController } from "../../../decorators/bind-state.js";
12
+ import { bindingGuard } from "../../../decorators/binding-guard.js";
13
+ import { bindings } from "../../../decorators/bindings.js";
14
+ import { createProductContextController } from "../../../decorators/commerce/product-template-decorators.js";
15
+ import { errorGuard } from "../../../decorators/error-guard.js";
16
+ import { injectStylesForNoShadowDOM } from "../../../decorators/inject-styles-for-no-shadow-dom.js";
17
+ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
18
+ import { multiClassMap, tw } from "../../../directives/multi-class-map.js";
19
+ import { defaultCurrencyFormatter } from '../../common/formats/format-common.js';
20
+ import { parseValue } from '../product-template-component-utils/product-utils.js';
21
+ import styles from './atomic-product-price.tw.css';
22
+ /**
23
+ * The `atomic-product-price` component renders the price of a product.
24
+ * @alpha
25
+ */
26
+ let AtomicProductPrice = class AtomicProductPrice extends LitElement {
27
+ constructor() {
28
+ super(...arguments);
29
+ this.productController = createProductContextController(this);
30
+ }
31
+ initialize() {
32
+ this.context = buildContext(this.bindings.engine);
33
+ }
34
+ get product() {
35
+ return this.productController.item;
36
+ }
37
+ formatValue(value) {
38
+ try {
39
+ const { currency } = this.contextState;
40
+ const formatter = defaultCurrencyFormatter(currency);
41
+ return formatter(value, this.bindings.i18n.languages);
42
+ }
43
+ catch (error) {
44
+ this.error = error;
45
+ return value.toString();
46
+ }
47
+ }
48
+ getFormattedValue(field) {
49
+ const value = parseValue(this.product, field);
50
+ if (value !== null) {
51
+ return this.formatValue(value);
52
+ }
53
+ }
54
+ get hasPromotionalPrice() {
55
+ return (this.product &&
56
+ this.product.ec_promo_price !== null &&
57
+ this.product.ec_price !== null &&
58
+ this.product.ec_promo_price < this.product.ec_price);
59
+ }
60
+ render() {
61
+ const priceClasses = tw({
62
+ 'truncate break-keep text-2xl': true,
63
+ 'text-error': this.hasPromotionalPrice,
64
+ });
65
+ return html `
66
+ <div class="flex flex-wrap gap-1">
67
+ <div
68
+ class=${multiClassMap(priceClasses)}
69
+ >
70
+ ${this.getFormattedValue(this.hasPromotionalPrice ? 'ec_promo_price' : 'ec_price')}
71
+ </div>
72
+
73
+ ${when(this.hasPromotionalPrice, () => html `
74
+ <div class="original-price content-center truncate text-xl break-keep line-through">
75
+ ${this.getFormattedValue('ec_price')}
76
+ </div>
77
+ `)}
78
+ </div>
79
+ `;
80
+ }
81
+ };
82
+ AtomicProductPrice.styles = unsafeCSS(styles);
83
+ __decorate([
84
+ state()
85
+ ], AtomicProductPrice.prototype, "bindings", void 0);
86
+ __decorate([
87
+ state()
88
+ ], AtomicProductPrice.prototype, "error", void 0);
89
+ __decorate([
90
+ bindStateToController('context'),
91
+ state()
92
+ ], AtomicProductPrice.prototype, "contextState", void 0);
93
+ __decorate([
94
+ errorGuard(),
95
+ bindingGuard()
96
+ ], AtomicProductPrice.prototype, "render", null);
97
+ AtomicProductPrice = __decorate([
98
+ customElement('atomic-product-price'),
99
+ bindings(),
100
+ injectStylesForNoShadowDOM,
101
+ withTailwindStyles
102
+ ], AtomicProductPrice);
103
+ export { AtomicProductPrice };
@@ -0,0 +1,3 @@
1
+ const css = `/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-leading:initial}}}.display-grid atomic-product-price{flex-flow:column wrap;display:flex}.display-grid atomic-product-price .original-price{--tw-leading:1;line-height:1}@property --tw-leading{syntax:"*";inherits:false}`;
3
+ export default [css];