@coveo/atomic 3.28.0-pre.1b995035ea → 3.28.0-pre.40e5fe62d5
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.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +0 -2
- package/dist/atomic/components/_index.js +0 -1
- package/dist/atomic/components/atomic-aria-live2.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +1 -1
- package/dist/atomic/components/atomic-citation.js +1 -1
- package/dist/atomic/components/atomic-commerce-category-facet2.js +1 -1
- package/dist/atomic/components/atomic-commerce-numeric-facet2.js +2 -2
- package/dist/atomic/components/atomic-commerce-query-error.js +1 -1
- package/dist/atomic/components/atomic-commerce-recommendation-interface.js +1 -1
- package/dist/atomic/components/atomic-commerce-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-commerce-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-commerce-timeframe-facet2.js +1 -1
- package/dist/atomic/components/atomic-facet-manager.js +1 -1
- package/dist/atomic/components/atomic-facet.js +1 -1
- package/dist/atomic/components/atomic-format-currency.js +1 -1
- package/dist/atomic/components/atomic-format-number.js +1 -1
- package/dist/atomic/components/atomic-format-unit.js +1 -1
- package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +1 -1
- package/dist/atomic/components/atomic-html2.js +1 -1
- package/dist/atomic/components/atomic-insight-edit-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-facet.js +1 -1
- package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
- package/dist/atomic/components/atomic-insight-full-search-button.js +1 -1
- package/dist/atomic/components/atomic-insight-history-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-no-results.js +1 -1
- package/dist/atomic/components/atomic-insight-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-insight-pager.js +3 -3
- package/dist/atomic/components/atomic-insight-query-error.js +1 -1
- package/dist/atomic/components/atomic-insight-refine-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +1 -1
- package/dist/atomic/components/atomic-insight-result-children.js +1 -1
- package/dist/atomic/components/atomic-insight-result-list.js +1 -1
- package/dist/atomic/components/atomic-insight-result-quickview-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result2.js +1 -1
- package/dist/atomic/components/atomic-insight-search-box.js +2 -2
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-tabs.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-body2.js +2 -2
- package/dist/atomic/components/atomic-ipx-button.js +2 -2
- package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
- package/dist/atomic/components/atomic-ipx-modal.js +2 -2
- package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
- package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
- package/dist/atomic/components/atomic-load-more-results.js +1 -1
- package/dist/atomic/components/atomic-modal2.js +2 -2
- package/dist/atomic/components/atomic-no-results.js +14 -2
- package/dist/atomic/components/atomic-no-results.js.map +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-pager.js +3 -3
- package/dist/atomic/components/atomic-product-price.js +1 -1
- package/dist/atomic/components/atomic-query-error.js +1 -1
- package/dist/atomic/components/atomic-query-summary.js +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-recs-error.js +1 -1
- package/dist/atomic/components/atomic-recs-list.js +1 -1
- package/dist/atomic/components/atomic-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-relevance-inspector2.js +2 -2
- package/dist/atomic/components/atomic-result-children.js +1 -1
- package/dist/atomic/components/atomic-result-fields-list.js +1 -1
- package/dist/atomic/components/atomic-result-link.js +1 -1
- package/dist/atomic/components/atomic-result-list.js +1 -1
- package/dist/atomic/components/atomic-result-placeholder2.js +2 -2
- package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
- package/dist/atomic/components/atomic-results-per-page.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
- package/dist/atomic/components/atomic-search-box.js +4 -4
- package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
- package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
- package/dist/atomic/components/atomic-sort-expression.js +1 -1
- package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.js +95 -0
- package/dist/atomic/components/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +2 -1
- package/dist/atomic/components/components/commerce/index.js +1 -0
- package/dist/atomic/components/components/commerce/lazy-index.js +1 -0
- package/dist/atomic/components/components/common/no-items/container.js +7 -0
- package/dist/atomic/components/components/common/no-items/guard.js +11 -0
- package/dist/atomic/components/components/common/no-items/magnifying-glass.js +11 -0
- package/dist/atomic/components/components/common/no-items/no-items.js +30 -0
- package/dist/atomic/components/components/common/no-items/tips.js +8 -0
- package/dist/atomic/components/{utils2.js → components/common/no-items/utils.js} +1 -5
- package/dist/atomic/components/facet-date-input.js +3 -3
- package/dist/atomic/components/facet-number-input.js +2 -2
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/interface-common-stencil.js +1 -1
- package/dist/atomic/components/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/{p-a046cf06.entry.js → p-0166649f.entry.js} +2 -2
- package/dist/atomic/{p-d827c148.entry.js → p-07968356.entry.js} +2 -2
- package/dist/atomic/{p-29d27418.entry.js → p-0bcfd9e7.entry.js} +2 -2
- package/dist/atomic/{p-a772b365.entry.js → p-0f4f6b95.entry.js} +2 -2
- package/dist/atomic/{p-9ae88402.entry.js → p-107400f4.entry.js} +2 -2
- package/dist/atomic/{p-47ee9d37.entry.js → p-1686dd4e.entry.js} +2 -2
- package/dist/atomic/{p-3f42a2db.entry.js → p-1a189a4a.entry.js} +2 -2
- package/dist/atomic/{p-d1efd50f.entry.js → p-1fbbed3e.entry.js} +2 -2
- package/dist/atomic/{p-a4983d49.entry.js → p-2b0e03ef.entry.js} +2 -2
- package/dist/atomic/{p-2dbdd073.js → p-2f4a3eab.js} +2 -2
- package/dist/atomic/{p-c0d7b26d.entry.js → p-2fb01b9f.entry.js} +2 -2
- package/dist/atomic/{p-f6283657.entry.js → p-37a3e033.entry.js} +2 -2
- package/dist/atomic/{p-a3169f59.entry.js → p-38885808.entry.js} +2 -2
- package/dist/atomic/{p-ec0161b7.entry.js → p-38efdad8.entry.js} +2 -2
- package/dist/atomic/{p-46522ee4.entry.js → p-3a6d85ba.entry.js} +2 -2
- package/dist/atomic/{p-0267a585.entry.js → p-3c56ddf6.entry.js} +2 -2
- package/dist/atomic/{p-306c83ea.entry.js → p-3c8ed811.entry.js} +2 -2
- package/dist/atomic/p-4497df4a.entry.js +2 -0
- package/dist/atomic/{p-f4a1bfe3.entry.js → p-4630f21a.entry.js} +2 -2
- package/dist/atomic/{p-b19a8cbb.entry.js → p-46ecbdbc.entry.js} +2 -2
- package/dist/atomic/{p-fd9d1c3f.entry.js → p-49e052c2.entry.js} +2 -2
- package/dist/atomic/{p-0b0ea7d3.entry.js → p-4d139df4.entry.js} +2 -2
- package/dist/atomic/p-4de0c016.entry.js +2 -0
- package/dist/atomic/{p-60527741.entry.js → p-4f848f7d.entry.js} +2 -2
- package/dist/atomic/{p-e44155cc.entry.js → p-50b7f5e8.entry.js} +2 -2
- package/dist/atomic/{p-543e811e.entry.js → p-50d4886b.entry.js} +2 -2
- package/dist/atomic/{p-99604083.entry.js → p-51565abd.entry.js} +2 -2
- package/dist/atomic/{p-545f7fb1.entry.js → p-55f50d5e.entry.js} +2 -2
- package/dist/atomic/{p-2f0cb73c.entry.js → p-564605c1.entry.js} +2 -2
- package/dist/atomic/{p-dd8c6bdd.entry.js → p-565a5e0d.entry.js} +2 -2
- package/dist/atomic/{p-80dc3bab.entry.js → p-56801993.entry.js} +2 -2
- package/dist/atomic/{p-d4aba9f9.entry.js → p-59ac477f.entry.js} +2 -2
- package/dist/atomic/{p-8e09f796.entry.js → p-5eca0d33.entry.js} +2 -2
- package/dist/atomic/{p-a8281e9b.entry.js → p-631000af.entry.js} +2 -2
- package/dist/atomic/{p-60a9e718.entry.js → p-64a237ba.entry.js} +2 -2
- package/dist/atomic/{p-70ab347b.entry.js → p-66562526.entry.js} +2 -2
- package/dist/atomic/{p-50b9a5d2.entry.js → p-6ae6b977.entry.js} +2 -2
- package/dist/atomic/{p-fb0bdcdb.entry.js → p-6bda0a03.entry.js} +2 -2
- package/dist/atomic/{p-3ec18de9.entry.js → p-6c71c49b.entry.js} +2 -2
- package/dist/atomic/{p-8392e900.entry.js → p-6f6b53e4.entry.js} +2 -2
- package/dist/atomic/{p-f4b98113.entry.js → p-6f708b94.entry.js} +2 -2
- package/dist/atomic/{p-32b26cd0.entry.js → p-714e5692.entry.js} +2 -2
- package/dist/atomic/{p-b7824e0e.entry.js → p-74261c54.entry.js} +2 -2
- package/dist/atomic/{p-67315415.entry.js → p-80e1d96b.entry.js} +2 -2
- package/dist/atomic/{p-bfeefcaa.entry.js → p-81575de0.entry.js} +2 -2
- package/dist/atomic/{p-d69756ae.entry.js → p-82c5b823.entry.js} +2 -2
- package/dist/atomic/{p-36225d4f.entry.js → p-8799c569.entry.js} +2 -2
- package/dist/atomic/{p-d62469e0.entry.js → p-8b0c8887.entry.js} +2 -2
- package/dist/atomic/{p-94e22484.js → p-8edba401.js} +2 -2
- package/dist/atomic/{p-9a08dad7.entry.js → p-90619819.entry.js} +2 -2
- package/dist/atomic/{p-8d7f57d9.entry.js → p-907e8b14.entry.js} +2 -2
- package/dist/atomic/p-93091fb7.entry.js +2 -0
- package/dist/atomic/{p-76122df5.entry.js → p-948c62c9.entry.js} +2 -2
- package/dist/atomic/{p-be13ed5c.entry.js → p-a12a865a.entry.js} +2 -2
- package/dist/atomic/{p-9eb108c9.entry.js → p-a1719068.entry.js} +2 -2
- package/dist/atomic/{p-51c5acfc.entry.js → p-a2161335.entry.js} +2 -2
- package/dist/atomic/{p-0a7b0daa.entry.js → p-a36e0adb.entry.js} +2 -2
- package/dist/atomic/{p-b4d47ca9.entry.js → p-a3b64777.entry.js} +2 -2
- package/dist/atomic/{p-45b26cc7.entry.js → p-a55a6705.entry.js} +2 -2
- package/dist/atomic/{p-ab5eec3d.entry.js → p-a5acd65b.entry.js} +2 -2
- package/dist/atomic/{p-690b5853.entry.js → p-a7abf0e1.entry.js} +2 -2
- package/dist/atomic/{p-32c90fe9.entry.js → p-aac69407.entry.js} +2 -2
- package/dist/atomic/{p-eab28672.entry.js → p-ad3ee863.entry.js} +2 -2
- package/dist/atomic/{p-9d2230db.entry.js → p-ae1675b3.entry.js} +2 -2
- package/dist/atomic/{p-ce4e939b.entry.js → p-b112525e.entry.js} +2 -2
- package/dist/atomic/{p-66683abd.entry.js → p-b1230da3.entry.js} +2 -2
- package/dist/atomic/{p-95942ba2.entry.js → p-b5d358d8.entry.js} +2 -2
- package/dist/atomic/{p-c13d4039.entry.js → p-b8702505.entry.js} +2 -2
- package/dist/atomic/{p-ec6bc15b.entry.js → p-bb502279.entry.js} +2 -2
- package/dist/atomic/{p-ddd52850.entry.js → p-be061124.entry.js} +2 -2
- package/dist/atomic/{p-e604fd29.entry.js → p-c753c557.entry.js} +2 -2
- package/dist/atomic/p-cceca6bd.entry.js +2 -0
- package/dist/atomic/{p-7d1f8d9c.entry.js → p-cd4c6b6b.entry.js} +2 -2
- package/dist/atomic/{p-c4f042ae.entry.js → p-ce3a6c4e.entry.js} +2 -2
- package/dist/atomic/{p-1cc97adc.entry.js → p-d774c15e.entry.js} +2 -2
- package/dist/atomic/{p-f7f8096a.entry.js → p-d9e0dcdf.entry.js} +2 -2
- package/dist/atomic/{p-c83f9cff.entry.js → p-dd073755.entry.js} +2 -2
- package/dist/atomic/{p-689e063d.entry.js → p-ddf0b2e0.entry.js} +2 -2
- package/dist/atomic/{p-cd87574b.entry.js → p-e46150fa.entry.js} +2 -2
- package/dist/atomic/{p-f7f81710.js → p-e988f378.js} +2 -2
- package/dist/atomic/{p-b4dfe5b2.entry.js → p-ea5d6cd8.entry.js} +2 -2
- package/dist/atomic/{p-d30057a0.entry.js → p-eadb22d2.entry.js} +2 -2
- package/dist/atomic/{p-135be5aa.entry.js → p-f46b7410.entry.js} +2 -2
- package/dist/atomic/{p-e4754fd0.entry.js → p-fdd01814.entry.js} +2 -2
- package/dist/atomic/p-fe85b7d7.entry.js +2 -0
- package/dist/atomic/p-fe85b7d7.entry.js.map +1 -0
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-54e62aa5.js → analytics-config-bbd8fac0.js} +2 -2
- package/dist/cjs/{analytics-config-54e62aa5.js.map → analytics-config-bbd8fac0.js.map} +1 -1
- package/dist/cjs/atomic-aria-live.cjs.entry.js +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-category-facet_5.cjs.entry.js +4 -4
- package/dist/cjs/atomic-commerce-facet-number-input_2.cjs.entry.js +3 -3
- package/dist/cjs/atomic-commerce-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-recommendation-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-commerce-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-no-results.cjs.entry.js +15 -3
- package/dist/cjs/atomic-no-results.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-product-price.cjs.entry.js +1 -1
- package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +2 -2
- package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js +3 -3
- package/dist/cjs/atomic-results-per-page.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
- package/dist/cjs/atomic-search-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
- package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/index-757bc886.js +0 -4
- package/dist/cjs/{interface-common-stencil-d4086225.js → interface-common-stencil-2e920d33.js} +2 -2
- package/dist/cjs/{interface-common-stencil-d4086225.js.map → interface-common-stencil-2e920d33.js.map} +1 -1
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-6b5c6ac0.js → analytics-config-0ed6133c.js} +2 -2
- package/dist/esm/{analytics-config-6b5c6ac0.js.map → analytics-config-0ed6133c.js.map} +1 -1
- package/dist/esm/atomic-aria-live.entry.js +1 -1
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-citation.entry.js +1 -1
- package/dist/esm/atomic-commerce-category-facet_5.entry.js +4 -4
- package/dist/esm/atomic-commerce-facet-number-input_2.entry.js +3 -3
- package/dist/esm/atomic-commerce-query-error.entry.js +1 -1
- package/dist/esm/atomic-commerce-recommendation-interface.entry.js +2 -2
- package/dist/esm/atomic-commerce-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-commerce-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-facet-manager.entry.js +1 -1
- package/dist/esm/atomic-facet-number-input.entry.js +2 -2
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
- package/dist/esm/atomic-html.entry.js +1 -1
- package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +2 -2
- package/dist/esm/atomic-insight-no-results.entry.js +2 -2
- package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-pager.entry.js +3 -3
- package/dist/esm/atomic-insight-query-error.entry.js +1 -1
- package/dist/esm/atomic-insight-refine-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +1 -1
- package/dist/esm/atomic-insight-result-children.entry.js +1 -1
- package/dist/esm/atomic-insight-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-result-quickview-action.entry.js +1 -1
- package/dist/esm/atomic-insight-result.entry.js +1 -1
- package/dist/esm/atomic-insight-search-box.entry.js +2 -2
- package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-tabs.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-body.entry.js +2 -2
- package/dist/esm/atomic-ipx-button.entry.js +2 -2
- package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
- package/dist/esm/atomic-ipx-modal.entry.js +2 -2
- package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
- package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
- package/dist/esm/atomic-load-more-results.entry.js +1 -1
- package/dist/esm/atomic-no-results.entry.js +15 -3
- package/dist/esm/atomic-no-results.entry.js.map +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-pager.entry.js +3 -3
- package/dist/esm/atomic-product-price.entry.js +1 -1
- package/dist/esm/atomic-query-error.entry.js +1 -1
- package/dist/esm/atomic-query-summary.entry.js +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-recs-error.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +2 -2
- package/dist/esm/atomic-recs-list.entry.js +1 -1
- package/dist/esm/atomic-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-relevance-inspector.entry.js +2 -2
- package/dist/esm/atomic-result-children.entry.js +1 -1
- package/dist/esm/atomic-result-fields-list.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js +1 -1
- package/dist/esm/atomic-result-list.entry.js +1 -1
- package/dist/esm/atomic-result-placeholder_8.entry.js +3 -3
- package/dist/esm/atomic-results-per-page.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-search-box.entry.js +4 -4
- package/dist/esm/atomic-search-interface.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
- package/dist/esm/atomic-sort-expression.entry.js +1 -1
- package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
- package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
- package/dist/esm/atomic-tab-button.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/index-3f35faca.js +0 -4
- package/dist/esm/{interface-common-stencil-fc6f80e8.js → interface-common-stencil-63e7ccda.js} +2 -2
- package/dist/esm/{interface-common-stencil-fc6f80e8.js.map → interface-common-stencil-63e7ccda.js.map} +1 -1
- package/dist/esm/{stencil-tips-06e9b3c2.js → stencil-tips-be95482d.js} +2 -2
- package/dist/esm/{stencil-tips-06e9b3c2.js.map → stencil-tips-be95482d.js.map} +1 -1
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-layout/atomic-commerce-layout.d.ts +1 -1
- package/dist/types/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.d.ts +15 -6
- package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +2 -1
- package/dist/types/components/commerce/index.d.ts +1 -0
- package/dist/types/components/common/items-per-page/label.d.ts +2 -2
- package/dist/types/components/common/no-items/container.d.ts +2 -2
- package/dist/types/components/common/no-items/magnifying-glass.d.ts +2 -2
- package/dist/types/components.d.ts +0 -25
- package/dist/types/utils/functional-component-utils.d.ts +3 -0
- package/docs/atomic-docs.json +1 -66
- package/package.json +3 -3
- package/dist/atomic/components/atomic-commerce-no-products.d.ts +0 -11
- package/dist/atomic/components/atomic-commerce-no-products.js +0 -74
- package/dist/atomic/components/atomic-commerce-no-products.js.map +0 -1
- package/dist/atomic/components/utils2.js.map +0 -1
- package/dist/atomic/p-2ff906b9.entry.js +0 -2
- package/dist/atomic/p-2ff906b9.entry.js.map +0 -1
- package/dist/atomic/p-59017e0a.entry.js +0 -2
- package/dist/atomic/p-59017e0a.entry.js.map +0 -1
- package/dist/atomic/p-b747e4a9.entry.js +0 -2
- package/dist/atomic/p-befca41f.entry.js +0 -2
- package/dist/atomic/p-eebb168b.entry.js +0 -2
- package/dist/atomic/p-fb3e07e9.js +0 -2
- package/dist/atomic/p-fb3e07e9.js.map +0 -1
- package/dist/atomic/p-fbbbc454.entry.js +0 -2
- package/dist/cjs/atomic-commerce-no-products.cjs.entry.js +0 -65
- package/dist/cjs/atomic-commerce-no-products.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-ca9c9aed.js +0 -18
- package/dist/cjs/utils-ca9c9aed.js.map +0 -1
- package/dist/esm/atomic-commerce-no-products.entry.js +0 -61
- package/dist/esm/atomic-commerce-no-products.entry.js.map +0 -1
- package/dist/esm/utils-bd51f737.js +0 -16
- package/dist/esm/utils-bd51f737.js.map +0 -1
- /package/dist/atomic/{p-a046cf06.entry.js.map → p-0166649f.entry.js.map} +0 -0
- /package/dist/atomic/{p-d827c148.entry.js.map → p-07968356.entry.js.map} +0 -0
- /package/dist/atomic/{p-29d27418.entry.js.map → p-0bcfd9e7.entry.js.map} +0 -0
- /package/dist/atomic/{p-a772b365.entry.js.map → p-0f4f6b95.entry.js.map} +0 -0
- /package/dist/atomic/{p-9ae88402.entry.js.map → p-107400f4.entry.js.map} +0 -0
- /package/dist/atomic/{p-47ee9d37.entry.js.map → p-1686dd4e.entry.js.map} +0 -0
- /package/dist/atomic/{p-3f42a2db.entry.js.map → p-1a189a4a.entry.js.map} +0 -0
- /package/dist/atomic/{p-d1efd50f.entry.js.map → p-1fbbed3e.entry.js.map} +0 -0
- /package/dist/atomic/{p-a4983d49.entry.js.map → p-2b0e03ef.entry.js.map} +0 -0
- /package/dist/atomic/{p-2dbdd073.js.map → p-2f4a3eab.js.map} +0 -0
- /package/dist/atomic/{p-c0d7b26d.entry.js.map → p-2fb01b9f.entry.js.map} +0 -0
- /package/dist/atomic/{p-f6283657.entry.js.map → p-37a3e033.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3169f59.entry.js.map → p-38885808.entry.js.map} +0 -0
- /package/dist/atomic/{p-ec0161b7.entry.js.map → p-38efdad8.entry.js.map} +0 -0
- /package/dist/atomic/{p-46522ee4.entry.js.map → p-3a6d85ba.entry.js.map} +0 -0
- /package/dist/atomic/{p-0267a585.entry.js.map → p-3c56ddf6.entry.js.map} +0 -0
- /package/dist/atomic/{p-306c83ea.entry.js.map → p-3c8ed811.entry.js.map} +0 -0
- /package/dist/atomic/{p-befca41f.entry.js.map → p-4497df4a.entry.js.map} +0 -0
- /package/dist/atomic/{p-f4a1bfe3.entry.js.map → p-4630f21a.entry.js.map} +0 -0
- /package/dist/atomic/{p-b19a8cbb.entry.js.map → p-46ecbdbc.entry.js.map} +0 -0
- /package/dist/atomic/{p-fd9d1c3f.entry.js.map → p-49e052c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-0b0ea7d3.entry.js.map → p-4d139df4.entry.js.map} +0 -0
- /package/dist/atomic/{p-fbbbc454.entry.js.map → p-4de0c016.entry.js.map} +0 -0
- /package/dist/atomic/{p-60527741.entry.js.map → p-4f848f7d.entry.js.map} +0 -0
- /package/dist/atomic/{p-e44155cc.entry.js.map → p-50b7f5e8.entry.js.map} +0 -0
- /package/dist/atomic/{p-543e811e.entry.js.map → p-50d4886b.entry.js.map} +0 -0
- /package/dist/atomic/{p-99604083.entry.js.map → p-51565abd.entry.js.map} +0 -0
- /package/dist/atomic/{p-545f7fb1.entry.js.map → p-55f50d5e.entry.js.map} +0 -0
- /package/dist/atomic/{p-2f0cb73c.entry.js.map → p-564605c1.entry.js.map} +0 -0
- /package/dist/atomic/{p-dd8c6bdd.entry.js.map → p-565a5e0d.entry.js.map} +0 -0
- /package/dist/atomic/{p-80dc3bab.entry.js.map → p-56801993.entry.js.map} +0 -0
- /package/dist/atomic/{p-d4aba9f9.entry.js.map → p-59ac477f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8e09f796.entry.js.map → p-5eca0d33.entry.js.map} +0 -0
- /package/dist/atomic/{p-a8281e9b.entry.js.map → p-631000af.entry.js.map} +0 -0
- /package/dist/atomic/{p-60a9e718.entry.js.map → p-64a237ba.entry.js.map} +0 -0
- /package/dist/atomic/{p-70ab347b.entry.js.map → p-66562526.entry.js.map} +0 -0
- /package/dist/atomic/{p-50b9a5d2.entry.js.map → p-6ae6b977.entry.js.map} +0 -0
- /package/dist/atomic/{p-fb0bdcdb.entry.js.map → p-6bda0a03.entry.js.map} +0 -0
- /package/dist/atomic/{p-3ec18de9.entry.js.map → p-6c71c49b.entry.js.map} +0 -0
- /package/dist/atomic/{p-8392e900.entry.js.map → p-6f6b53e4.entry.js.map} +0 -0
- /package/dist/atomic/{p-f4b98113.entry.js.map → p-6f708b94.entry.js.map} +0 -0
- /package/dist/atomic/{p-32b26cd0.entry.js.map → p-714e5692.entry.js.map} +0 -0
- /package/dist/atomic/{p-b7824e0e.entry.js.map → p-74261c54.entry.js.map} +0 -0
- /package/dist/atomic/{p-67315415.entry.js.map → p-80e1d96b.entry.js.map} +0 -0
- /package/dist/atomic/{p-bfeefcaa.entry.js.map → p-81575de0.entry.js.map} +0 -0
- /package/dist/atomic/{p-d69756ae.entry.js.map → p-82c5b823.entry.js.map} +0 -0
- /package/dist/atomic/{p-36225d4f.entry.js.map → p-8799c569.entry.js.map} +0 -0
- /package/dist/atomic/{p-d62469e0.entry.js.map → p-8b0c8887.entry.js.map} +0 -0
- /package/dist/atomic/{p-94e22484.js.map → p-8edba401.js.map} +0 -0
- /package/dist/atomic/{p-9a08dad7.entry.js.map → p-90619819.entry.js.map} +0 -0
- /package/dist/atomic/{p-8d7f57d9.entry.js.map → p-907e8b14.entry.js.map} +0 -0
- /package/dist/atomic/{p-eebb168b.entry.js.map → p-93091fb7.entry.js.map} +0 -0
- /package/dist/atomic/{p-76122df5.entry.js.map → p-948c62c9.entry.js.map} +0 -0
- /package/dist/atomic/{p-be13ed5c.entry.js.map → p-a12a865a.entry.js.map} +0 -0
- /package/dist/atomic/{p-9eb108c9.entry.js.map → p-a1719068.entry.js.map} +0 -0
- /package/dist/atomic/{p-51c5acfc.entry.js.map → p-a2161335.entry.js.map} +0 -0
- /package/dist/atomic/{p-0a7b0daa.entry.js.map → p-a36e0adb.entry.js.map} +0 -0
- /package/dist/atomic/{p-b4d47ca9.entry.js.map → p-a3b64777.entry.js.map} +0 -0
- /package/dist/atomic/{p-45b26cc7.entry.js.map → p-a55a6705.entry.js.map} +0 -0
- /package/dist/atomic/{p-ab5eec3d.entry.js.map → p-a5acd65b.entry.js.map} +0 -0
- /package/dist/atomic/{p-690b5853.entry.js.map → p-a7abf0e1.entry.js.map} +0 -0
- /package/dist/atomic/{p-32c90fe9.entry.js.map → p-aac69407.entry.js.map} +0 -0
- /package/dist/atomic/{p-eab28672.entry.js.map → p-ad3ee863.entry.js.map} +0 -0
- /package/dist/atomic/{p-9d2230db.entry.js.map → p-ae1675b3.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce4e939b.entry.js.map → p-b112525e.entry.js.map} +0 -0
- /package/dist/atomic/{p-66683abd.entry.js.map → p-b1230da3.entry.js.map} +0 -0
- /package/dist/atomic/{p-95942ba2.entry.js.map → p-b5d358d8.entry.js.map} +0 -0
- /package/dist/atomic/{p-c13d4039.entry.js.map → p-b8702505.entry.js.map} +0 -0
- /package/dist/atomic/{p-ec6bc15b.entry.js.map → p-bb502279.entry.js.map} +0 -0
- /package/dist/atomic/{p-ddd52850.entry.js.map → p-be061124.entry.js.map} +0 -0
- /package/dist/atomic/{p-e604fd29.entry.js.map → p-c753c557.entry.js.map} +0 -0
- /package/dist/atomic/{p-b747e4a9.entry.js.map → p-cceca6bd.entry.js.map} +0 -0
- /package/dist/atomic/{p-7d1f8d9c.entry.js.map → p-cd4c6b6b.entry.js.map} +0 -0
- /package/dist/atomic/{p-c4f042ae.entry.js.map → p-ce3a6c4e.entry.js.map} +0 -0
- /package/dist/atomic/{p-1cc97adc.entry.js.map → p-d774c15e.entry.js.map} +0 -0
- /package/dist/atomic/{p-f7f8096a.entry.js.map → p-d9e0dcdf.entry.js.map} +0 -0
- /package/dist/atomic/{p-c83f9cff.entry.js.map → p-dd073755.entry.js.map} +0 -0
- /package/dist/atomic/{p-689e063d.entry.js.map → p-ddf0b2e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-cd87574b.entry.js.map → p-e46150fa.entry.js.map} +0 -0
- /package/dist/atomic/{p-f7f81710.js.map → p-e988f378.js.map} +0 -0
- /package/dist/atomic/{p-b4dfe5b2.entry.js.map → p-ea5d6cd8.entry.js.map} +0 -0
- /package/dist/atomic/{p-d30057a0.entry.js.map → p-eadb22d2.entry.js.map} +0 -0
- /package/dist/atomic/{p-135be5aa.entry.js.map → p-f46b7410.entry.js.map} +0 -0
- /package/dist/atomic/{p-e4754fd0.entry.js.map → p-fdd01814.entry.js.map} +0 -0
|
@@ -289,7 +289,7 @@ const AtomicNumericFacet$1 = /*@__PURE__*/ proxyCustomElement(class AtomicNumeri
|
|
|
289
289
|
}
|
|
290
290
|
render() {
|
|
291
291
|
const { searchStatusState: { firstSearchExecuted, hasError }, bindings: { i18n }, } = this;
|
|
292
|
-
return (h(FacetGuard, { key: '
|
|
292
|
+
return (h(FacetGuard, { key: '88df5da5012b7a67e20596296e16ec9af66c3e9c', enabled: this.enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: this.shouldRenderFacet }, firstSearchExecuted ? (h(FacetContainer, null, h(FacetHeader, { i18n: i18n, label: this.label, onClearFilters: () => {
|
|
293
293
|
this.focusTarget.focusAfterSearch();
|
|
294
294
|
if (this.filterState?.range) {
|
|
295
295
|
this.filter?.clear();
|
|
@@ -67,15 +67,15 @@ const AtomicPager$1 = /*@__PURE__*/ proxyCustomElement(class AtomicPager extends
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(PagerGuard, { key: '
|
|
70
|
+
return (h(PagerGuard, { key: 'a107375ae44e07602894616f3efef223916aaca6', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h(PagerNavigation, { key: '9c2fa8d575888b95c72ab129381b8c0f7ae4a1ed', i18n: this.bindings.i18n }, h(PagerPreviousButton, { key: 'c740ff23f6ec1944d9d62809647007f5ebd0315e', icon: this.previousButtonIcon, disabled: !this.pagerState.hasPreviousPage, i18n: this.bindings.i18n, onClick: () => {
|
|
71
71
|
this.pager.previousPage();
|
|
72
72
|
this.focusOnFirstResultAndScrollToTop();
|
|
73
|
-
} }), h(PagerPageButtons, { key: '
|
|
73
|
+
} }), h(PagerPageButtons, { key: '4e15854fbdd4dc591a4dd4837caeed23ba5facee', i18n: this.bindings.i18n }, this.pagerState.currentPages.map((pageNumber) => {
|
|
74
74
|
return (h(PagerPageButton, { isSelected: this.pager.isCurrentPage(pageNumber), ariaLabel: this.bindings.i18n.t('page-number', { pageNumber }), onChecked: () => {
|
|
75
75
|
this.pager.selectPage(pageNumber);
|
|
76
76
|
this.focusOnFirstResultAndScrollToTop();
|
|
77
77
|
}, page: pageNumber, groupName: this.radioGroupName, text: pageNumber.toLocaleString(this.bindings.i18n.language) }));
|
|
78
|
-
})), h(PagerNextButton, { key: '
|
|
78
|
+
})), h(PagerNextButton, { key: '26273356a616ea4b682f27a15559767011402fad', icon: this.nextButtonIcon, disabled: !this.pagerState.hasNextPage, i18n: this.bindings.i18n, onClick: () => {
|
|
79
79
|
this.pager.nextPage();
|
|
80
80
|
this.focusOnFirstResultAndScrollToTop();
|
|
81
81
|
} }))));
|
|
@@ -62,7 +62,7 @@ const AtomicProductPrice$1 = /*@__PURE__*/ proxyCustomElement(class AtomicProduc
|
|
|
62
62
|
const originalPrice = this.hasPromotionalPrice
|
|
63
63
|
? this.getFormattedValue('ec_price')
|
|
64
64
|
: null;
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '9fa8c4a59427898756d333d7efe443eab839f376', class: "flex flex-wrap gap-1" }, h("div", { key: '0f84b070717d175296cfc8d732c7dfdf0f8e6a21', class: `truncate break-keep ${this.hasPromotionalPrice && 'text-error'}` }, mainPrice), h("div", { key: 'a2a85a0c7716cf03c0f17d39ee64f4a5aa984c28', class: 'original-price content-center truncate text-xl break-keep line-through' +
|
|
66
66
|
(!originalPrice ? ' invisible' : '') }, originalPrice ?? '')));
|
|
67
67
|
}
|
|
68
68
|
static get style() { return AtomicProductPriceStyle0; }
|
|
@@ -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: '
|
|
40
|
+
return (h(QueryErrorGuard, { key: 'de459790a2b49e8b666ad070446d8b1cbc3db484', hasError: hasError }, h(QueryErrorContainer, { key: 'ff2d33b6a57042ab5bd998779caebd61e80c3ddd' }, h(QueryErrorIcon, { key: '0074ab9b3adeb6395e812f5949cc9f90cc292b88', errorType: error?.type }), h(QueryErrorTitle, { key: 'da49af33e09d9708cbb7e7cb6fcc455ef70278dc', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: 'f9a6211c304cbcdd905cd31b9812509642d2b7a0', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: '34c0e1bd3265d1d86b82bf5dbc52a434d2fd74a6', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'e668186eeecd38a1eba9a55af2dd50ecc7328da1', error: error, show: this.showMoreInfo }))));
|
|
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: '
|
|
43
|
+
return (h(QuerySummaryGuard, { key: 'b3b245b18b96914e0caf19565b27182f674c43f1', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: 'a82724d6c8e0db9705b06726f343f18d87843e98' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: '60bdc5e1fc4e149dbdc103e21dba308a24dad4ef', class: "hidden", part: "duration" }, "\u00A0", h(LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
|
|
44
44
|
count: durationInSeconds.toLocaleString(this.bindings.i18n.language),
|
|
45
45
|
} })))));
|
|
46
46
|
}
|
|
@@ -574,7 +574,7 @@ const AtomicQuickviewModal = /*@__PURE__*/ proxyCustomElement(class AtomicQuickv
|
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
576
|
render() {
|
|
577
|
-
return (h("atomic-modal", { key: '
|
|
577
|
+
return (h("atomic-modal", { key: 'bffc9786c6c9a7d3668334f542f69aba2deeb280', fullscreen: this.bindings.store.isMobile(), class: 'atomic-quickview-modal', isOpen: this.isOpen, close: () => this.onClose(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
|
|
578
578
|
}
|
|
579
579
|
static get watchers() { return {
|
|
580
580
|
"highlightKeywords": ["watchHighlightKeywords"]
|
|
@@ -108,7 +108,7 @@ const AtomicQuickview$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQuickview
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
if (this.quickviewState.resultHasPreview) {
|
|
111
|
-
return (h(Button, { key: '
|
|
111
|
+
return (h(Button, { key: 'be69e922cfb3f46d7a3aaf7f882f5a7c9f947ce4', part: "button", title: this.bindings.i18n.t('quickview'), style: "outline-primary", class: "p-2", onClick: (event) => this.onClick(event), ref: this.focusTarget.setTarget }, h("atomic-icon", { key: 'dc4854a9fcd2f6f4a8216f46457295ca11548178', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
static get style() { return AtomicQuickviewStyle0; }
|
|
@@ -39,7 +39,7 @@ const AtomicRecsError$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsError
|
|
|
39
39
|
if (hasError) {
|
|
40
40
|
this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
41
41
|
}
|
|
42
|
-
return (h(QueryErrorGuard, { key: '
|
|
42
|
+
return (h(QueryErrorGuard, { key: 'f01c2f34b7ccb8ef2bc86e458e3d008cb439397b', hasError: hasError }, h(QueryErrorContainer, { key: 'b00e8d711e52492d2ff7779907ef871911f733bc' }, h(QueryErrorIcon, { key: '2ac8b16873bf80792412c479408513972573ed6a', errorType: error?.type }), h(QueryErrorTitle, { key: '94eece6c5d2c3b7ecacb53e1d41c2dec1a05fa98', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '4cd665279342e4f08a8bdb8ac83e32eba77b66fd', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: 'de6b23502d1ee50b6869c614e955258cb6185abc', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: '4dbf04a6b5c6b33cca42605f4a69e7b3b2fc349f', error: error, show: this.showMoreInfo }))));
|
|
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: '
|
|
265
|
+
return (h(Fragment, { key: '1a491be609deb91dee0a984d1a80f148bed27c7a' }, this.renderHeading(), this.shouldRenderPagination ? (h(Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
|
|
266
266
|
}
|
|
267
267
|
get host() { return this; }
|
|
268
268
|
static get watchers() { return {
|
|
@@ -174,7 +174,7 @@ const AtomicRefineModal = /*@__PURE__*/ proxyCustomElement(class AtomicRefineMod
|
|
|
174
174
|
return (h(RefineModalFiltersSection, { i18n: i18n, withFacets: hasFacetElements, withAutomaticFacets: hasAutomaticFacets }, this.breadcrumbManagerState.hasBreadcrumbs && (h(RefineModalFiltersClearButton, { i18n: i18n, onClick: () => this.breadcrumbManager.deselectAll() }))));
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
|
-
return (h(RefineModal, { key: '
|
|
177
|
+
return (h(RefineModal, { key: '047b430b4b942d8dc2b5b3267d8d03a54dc1f871', i18n: this.bindings.i18n, host: this.host, isOpen: this.isOpen, onClose: () => (this.isOpen = false), title: this.bindings.i18n.t('sort-and-filter'), numberOfItems: this.querySummaryState.total, openButton: this.openButton }, h(RefineModalBody, { key: 'ba88c20ec5635bbc8ed281c0da5bf1770e52350e' }, this.renderSort(), this.renderFilters())));
|
|
178
178
|
}
|
|
179
179
|
componentDidLoad() {
|
|
180
180
|
this.host.style.display = '';
|
|
@@ -53,7 +53,7 @@ const AtomicRefineToggle$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRefine
|
|
|
53
53
|
this.modalRef && (this.modalRef.isOpen = true);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(RefineToggleGuard, { key: '
|
|
56
|
+
return (h(RefineToggleGuard, { key: '67960875f25068614a92d4f383f085cdd572237f', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '8e1d6073e8e953b41f82d6786687bc0e9ee34d30', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
|
|
57
57
|
if (!button) {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
@@ -18,9 +18,9 @@ const AtomicRelevanceInspector = /*@__PURE__*/ proxyCustomElement(class AtomicRe
|
|
|
18
18
|
this.open = false;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("atomic-modal", { key: '
|
|
21
|
+
return (h("atomic-modal", { key: '4a9504b763eae424eb8b0103cc7b7de48ef039ea', exportparts: "footer", isOpen: this.open, close: () => {
|
|
22
22
|
this.closeRelevanceInspector?.emit();
|
|
23
|
-
} }, h("p", { key: '
|
|
23
|
+
} }, h("p", { key: '607572e43578874708e88a74519a36eb7afc20f8', slot: "header" }, "Open the relevance inspector"), h("p", { key: '8e1a14f2e1676a180956ed7b5327524b1547e023', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '8bb0d1fa69335ad5af81559d35b22491b09774c6', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: '1a005711c4a458f508756840031e26cf31043761', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'c6adca21e689da9ba5e71afa39f1cf80ee8c63bd', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
|
|
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: '
|
|
141
|
+
return (h(ResultChildrenGuard, { key: '8ff0036c6cae9ace39115c4e198237938b97241b', 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: '
|
|
101
|
+
return h(Host, { key: '0a98b590a12f5ea337ee12122803a2f1a6940216' });
|
|
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: '
|
|
46
|
+
return (h(LinkWithItemAnalytics, { key: '6eb500bb9118721f5abc3e08ac6281a5c97debad', href: href, onSelect: () => this.interactiveResult.select(), onBeginDelayedSelect: () => this.interactiveResult.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveResult.cancelPendingSelect(), attributes: this.linkAttributes, stopPropagation: this.stopPropagation }, this.hasDefaultSlot ? (h("slot", null)) : (h("atomic-result-text", { field: "title", default: "no-title" }))));
|
|
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: '
|
|
197
|
+
return (h(TabGuard, { key: '0155a5c35d5f35993b1faa19753f42a2582f6059', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: 'dc5385bd41424262ebf3df06a0ab29ddfe8a2c6b', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '6a275399d6e79e063b1054338a2d752452370e14', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '6999cafabf931b62cb0ddf5eae06430d81823ddb', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '0914eefe8a716e81b244d27be74f4e72ac5fe05b', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
|
|
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: '
|
|
30
|
+
return (h("div", { key: 'e954085c5a0705046ef0d11d8e7e8e0bded1ce3e', 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: '
|
|
32
|
+
.trim()}` }, h("atomic-result-section-visual", { key: 'a80e3e80c6d14980b8c8f688e6bcc0a9514c8362' }, h("div", { key: '966bd55835c29564e18073298fe57dd9c6739bb4', class: placeholderClasses })), h("atomic-result-section-badges", { key: 'cd569d2797dcc73c1fdb7bdc8e584ba7148d72d7' }, h("div", { key: '99c1ed6e8be799132e1b685edde533cb3569ed6d', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '00914e2ec6a83ca9fe15de2256310e1b2b9448f9' }, h("div", { key: 'bf98a57b1d75e9d0f3c640d5028424b7f024e5e9', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '64c3ab2c4590a61d4d36a9919027b30b56fa43fb' }, h("div", { key: '0c74c8c7f95691a9d1276b6d8b8885f61e615fe6', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: 'c6e0d695fe79ec595cbf620cfc7df6d94e44a367' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '130079d0ee995d0545485edba9268e80cfcf92fe' }, h("div", { key: 'b1577674d315414f7c46357b89e74155ce7d92cb', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
|
|
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: '
|
|
21
|
+
return (h("table", { key: '983adfb713e79003cfa21dead66b825d322ef4cc', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '583cdcc694237102118be5088bd1c9953d916ecb' }, h("tr", { key: '8329e5ac6601877352902efd4fcf27ff328db3e0' }, h("th", { key: '08efb7d6770dc4a92ab96a021aebab33430b96ad' }, h("div", { key: 'e184a34cd625342bb698733fecee1528f8fbecf6', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '63c3a8475479bfe8212b67e1c6d39274206360d3' }, h("div", { key: '88214bac36ccb1173112d3fe47db8f883a8c3377', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '52c9ef0c4d4f69dec6dc4a217c03db16b64bec60' }, h("div", { key: '657aacd576ac96e41166dffb3f3610fb7cd1773e', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'e48e39258c678df97c98a71e428dceb3d4a0253a' }, Array.from({ length: this.rows }, () => (h("tr", null, h("td", null, h("div", { class: `mb-6 h-8 ${placeholderClasses}`, style: { width: '22.875rem' } }), h("div", { class: `mb-2 h-5 ${placeholderClasses}`, style: { width: '23.75rem' } }), h("div", { class: `h-5 ${placeholderClasses}`, style: { width: '11.5rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '11rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '4.875rem' } }))))))));
|
|
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: '
|
|
132
|
+
return (h(PagerGuard, { key: '9bdeae829b99345de8d10beabcfc528ec5e577f9', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '407cf91584da76c751c7609d040dbfbf9465bba6', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: '45922224c37ac5300459ba07683485c2326d0017' }, this.label), h(FieldsetGroup, { key: '01f272af73c746043c8737b977dd0e517a25b492', label: this.label }, h(Choices, { key: '9fb01d7ec187e9a872f37d257b0cc13956021aef', label: this.label, groupName: this.radioGroupName, pageSize: this.resultPerPageState.numberOfResults, choices: this.choices, lang: this.bindings.i18n.language, scrollToTopEvent: this.scrollToTopEvent.emit, setItemSize: this.resultPerPage.set, focusOnFirstResultAfterNextSearch: () => this.bindings.store.state.resultList?.focusOnFirstResultAfterNextSearch(), focusOnNextNewResult: () => this.bindings.store.state.resultList?.focusOnNextNewResult() })))));
|
|
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: '
|
|
63
|
+
return (h("atomic-component-error", { key: '2cca74061385ba775c03563bcd5d3bd89fe24b34', 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: '
|
|
157
|
+
return (h("atomic-component-error", { key: '201d091a547fafd368881fe3c77d40577c766c98', element: this.host, error: this.error }));
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
get host() { return this; }
|
|
@@ -423,18 +423,18 @@ const AtomicSearchBox$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSearchBox
|
|
|
423
423
|
if (!this.suggestionManager.suggestions.length) {
|
|
424
424
|
this.registerSearchboxSuggestionEvents();
|
|
425
425
|
}
|
|
426
|
-
return (h(Host, { key: '
|
|
427
|
-
h(SearchBoxWrapper, { key: '
|
|
426
|
+
return (h(Host, { key: '749e092220c5beb6e02a32ffceff725a47ca96f3' }, this.renderAbsolutePositionSpacer(), [
|
|
427
|
+
h(SearchBoxWrapper, { key: '5d98dc49bcf840bf0dea10721dfe1a59643ff4ed', disabled: isDisabled, onFocusout: (event) => {
|
|
428
428
|
if (!isFocusingOut(event)) {
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
431
|
this.suggestionManager.clearSuggestions();
|
|
432
432
|
this.isExpanded = false;
|
|
433
|
-
} }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '
|
|
433
|
+
} }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '7c5b666de85a5e00c4a6ec119204191194afb18b', bindings: this.bindings, disabled: isDisabled, onClick: () => {
|
|
434
434
|
this.searchBox.submit();
|
|
435
435
|
this.suggestionManager.clearSuggestions();
|
|
436
436
|
} }), this.renderSuggestions()),
|
|
437
|
-
!this.suggestionManager.suggestions.length && (h("slot", { key: '
|
|
437
|
+
!this.suggestionManager.suggestions.length && (h("slot", { key: '48f1627d07c58961567b895fb68a1897cbc843b6' }, h("atomic-search-box-recent-queries", { key: '06859756b1889852be45df8055989925574509fc' }), h("atomic-search-box-query-suggestions", { key: 'dd3dc3584aab3547314deb079138bfa836af5b1d' }))),
|
|
438
438
|
]));
|
|
439
439
|
}
|
|
440
440
|
get host() { return this; }
|
|
@@ -89,7 +89,7 @@ const AtomicSmartSnippetAnswer = /*@__PURE__*/ proxyCustomElement(class AtomicSm
|
|
|
89
89
|
}), ref: (element) => element && this.bindAnalyticsToLinks(element), part: "answer", class: "margin" })));
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '1326f8babb77089bfa824f03fa599a9be3dd642c' }, 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: '
|
|
59
|
+
return (h(Host, { key: 'ea579e57dc0fcd007cf517294e02582803b94cde', class: this.fullHeight || !this.shouldRenderButton
|
|
60
60
|
? this.isExpanded
|
|
61
61
|
? 'expanded'
|
|
62
62
|
: ''
|
|
63
|
-
: 'invisible' }, h("div", { key: '
|
|
63
|
+
: 'invisible' }, h("div", { key: '869c9ced31db1fa805b9df668707e6e21d8677e3', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: 'e00cd4922f3c4442e53d612afb722de091629912' })), 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: '
|
|
90
|
+
return (h("div", { key: 'b3c33a5746cda5e4e9ca3789c6ada0fc2afdfa4b', 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: '
|
|
48
|
+
return (h("atomic-modal", { key: '83bc425dcde86fceab88333f67d6fa9198035965', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '700932a925e55b38cc6917d3a2fc4a5505124b76', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'cd02ade10d6e45f4776816ba1348c2ce1e0ae78e', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: '1effe1360a380a389a0e6a9a186fd4dd98ae0871', i18n: this.bindings.i18n }, smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (h(SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
|
|
49
49
|
this.currentAnswer = correspondingAnswer;
|
|
50
|
-
} })))), h(SmartSnippetFeedbackModalDetails, { key: '
|
|
50
|
+
} })))), h(SmartSnippetFeedbackModalDetails, { key: '5d202f8f92e679132c4a4a5d61ab841298f82e7d', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'd89d362b8c06402c76b4f2f823c66633727f930f', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
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: '
|
|
36
|
+
return (h(Host, { key: '5bc7f5fde9a6cfad07def1d2d4b2e3b05dc35c8a' }, h(LinkWithItemAnalytics, { key: '505fda21e13950313b91b6f1a012dae7f4420d7f', title: this.source.clickUri, href: this.source.clickUri, className: "block truncate", part: "source-url", attributes: this.anchorAttributes, onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, this.source.clickUri), h(LinkWithItemAnalytics, { key: '58cef9bf2d4fc66734c08c44ab129c2c7f9192e5', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
|
|
37
37
|
}
|
|
38
38
|
}, [0, "atomic-smart-snippet-source", {
|
|
39
39
|
"source": [1040],
|
|
@@ -114,8 +114,8 @@ const AtomicSortDropdown$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSortDr
|
|
|
114
114
|
const { hasError, hasResults, firstSearchExecuted } = this.searchStatusState;
|
|
115
115
|
const { bindings: { i18n }, id, } = this;
|
|
116
116
|
return [
|
|
117
|
-
h(SortGuard, { key: '
|
|
118
|
-
h("slot", { key: '
|
|
117
|
+
h(SortGuard, { key: 'b0aa032d52f3ac18b7c9b9cc87ad7c3793118e00', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '2cb0671502ec77362056821da1fb2d38ec8d9423' }, h(SortLabel, { key: '09fdf55c8185fc2df004ddbfc4722707c0104548', i18n: i18n, id: id }), h(SortSelect, { key: 'f65074c745c1eb4b7ec5ff2bd032f4563b99eba4', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
|
|
118
|
+
h("slot", { key: '925fc1459ae2f40b01fa8a0bc7d14e957a99b5b7' }),
|
|
119
119
|
];
|
|
120
120
|
}
|
|
121
121
|
get host() { return this; }
|
|
@@ -47,7 +47,7 @@ const AtomicSortExpression$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSort
|
|
|
47
47
|
const dropdownComponent = 'atomic-sort-dropdown';
|
|
48
48
|
if (!this.host.closest(dropdownComponent)) {
|
|
49
49
|
const error = new Error(`The "${this.host.nodeName.toLowerCase()}" component has to be used inside an ${dropdownComponent} element.`);
|
|
50
|
-
return (h("atomic-component-error", { key: '
|
|
50
|
+
return (h("atomic-component-error", { key: '0be2d839110b0d15421e2ea40891390c2818b978', 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: '
|
|
76
|
+
return (h(Host, { key: '5184cc95eba894699448d7ea685032e43a430f91', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
|
|
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: '
|
|
62
|
+
return (h(Host, { key: '918a1b844986e8a731cfa6a48b042b368a29e3b5' }, h("atomic-tab-bar", { key: '7d17f77778b55302505b22be9d5f57d1225e440c' }, h("div", { key: 'dd99c956c13bfb94df8ab9f7243d5cffa6147f03', 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) {
|
package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.js
CHANGED
|
@@ -11,8 +11,8 @@ import { customElement, property, state } from 'lit/decorators.js';
|
|
|
11
11
|
import { DEFAULT_MOBILE_BREAKPOINT } from '../../../utils/replace-breakpoint';
|
|
12
12
|
import styles from './atomic-commerce-layout.tw.css';
|
|
13
13
|
/**
|
|
14
|
-
* @alpha
|
|
15
14
|
* The `atomic-commerce-layout` helps organize elements in the commerce page.
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
let AtomicCommerceLayout = class AtomicCommerceLayout extends CommerceLayoutMixin(LitElement, unsafeCSS(styles)) {
|
|
18
18
|
constructor() {
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { bindStateToController } from "../../../decorators/bind-state.js";
|
|
8
|
+
import { bindings } from "../../../decorators/bindings.js";
|
|
9
|
+
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
|
|
10
|
+
import { AriaLiveRegionController } from "../../../utils/accessibility-utils.js";
|
|
11
|
+
import { buildSearch, buildProductListing, } from '@coveo/headless/commerce';
|
|
12
|
+
import { html, LitElement } from 'lit';
|
|
13
|
+
import { customElement, state } from 'lit/decorators.js';
|
|
14
|
+
import { renderNoItemsContainer } from '../../common/no-items/container.js';
|
|
15
|
+
import { noItemsGuard } from '../../common/no-items/guard.js';
|
|
16
|
+
import { renderMagnifyingGlass } from '../../common/no-items/magnifying-glass.js';
|
|
17
|
+
import { renderNoItems } from '../../common/no-items/no-items.js';
|
|
18
|
+
import { renderSearchTips } from '../../common/no-items/tips.js';
|
|
19
|
+
import { getSummary } from '../../common/no-items/utils.js';
|
|
20
|
+
import { errorGuard } from "../../../decorators/error-guard.js";
|
|
21
|
+
import { bindingGuard } from "../../../decorators/binding-guard.js";
|
|
22
|
+
/**
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* The `atomic-commerce-no-products` component displays search tips when there are no products. Any additional content slotted inside of its element will be displayed as well.
|
|
26
|
+
*
|
|
27
|
+
* @part no-results - The text indicating that no products were found for the search.
|
|
28
|
+
* @part search-tips - The search tips to help the user correct the query.
|
|
29
|
+
* @part highlight - The highlighted query.
|
|
30
|
+
* @part icon - The magnifying glass icon.
|
|
31
|
+
*
|
|
32
|
+
* @slot default - Any additional content slotted inside of its element will be displayed as well.
|
|
33
|
+
*/
|
|
34
|
+
let AtomicCommerceNoProducts = class AtomicCommerceNoProducts extends LitElement {
|
|
35
|
+
constructor() {
|
|
36
|
+
super(...arguments);
|
|
37
|
+
this.ariaMessage = new AriaLiveRegionController(this, 'no-products');
|
|
38
|
+
}
|
|
39
|
+
initialize() {
|
|
40
|
+
const controller = this.bindings.interfaceElement.type === 'search'
|
|
41
|
+
? buildSearch(this.bindings.engine)
|
|
42
|
+
: buildProductListing(this.bindings.engine);
|
|
43
|
+
this.summary = controller.summary();
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
const { bindings: { i18n }, } = this;
|
|
47
|
+
const query = 'query' in this.summaryState ? this.summaryState.query : '';
|
|
48
|
+
this.ariaMessage.message = getSummary(i18n, query, this.summary.state.hasProducts, 'no-products');
|
|
49
|
+
return html `${noItemsGuard({
|
|
50
|
+
isLoading: this.summaryState.isLoading,
|
|
51
|
+
firstSearchExecuted: this.summaryState.firstRequestExecuted,
|
|
52
|
+
hasResults: this.summaryState.hasProducts,
|
|
53
|
+
}, () => renderNoItemsContainer()(html `
|
|
54
|
+
${renderMagnifyingGlass()}
|
|
55
|
+
${this.renderNoItems()}
|
|
56
|
+
${this.renderSearchTips()}
|
|
57
|
+
`))}`;
|
|
58
|
+
}
|
|
59
|
+
renderNoItems() {
|
|
60
|
+
return renderNoItems({
|
|
61
|
+
props: {
|
|
62
|
+
query: 'query' in this.summaryState ? this.summaryState.query : '',
|
|
63
|
+
i18n: this.bindings.i18n,
|
|
64
|
+
i18nKey: 'no-products',
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
renderSearchTips() {
|
|
69
|
+
return renderSearchTips({
|
|
70
|
+
props: {
|
|
71
|
+
i18n: this.bindings.i18n,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
__decorate([
|
|
77
|
+
state()
|
|
78
|
+
], AtomicCommerceNoProducts.prototype, "bindings", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
bindStateToController('summary'),
|
|
81
|
+
state()
|
|
82
|
+
], AtomicCommerceNoProducts.prototype, "summaryState", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
state()
|
|
85
|
+
], AtomicCommerceNoProducts.prototype, "error", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
bindingGuard(),
|
|
88
|
+
errorGuard()
|
|
89
|
+
], AtomicCommerceNoProducts.prototype, "render", null);
|
|
90
|
+
AtomicCommerceNoProducts = __decorate([
|
|
91
|
+
customElement('atomic-commerce-no-products'),
|
|
92
|
+
bindings(),
|
|
93
|
+
withTailwindStyles
|
|
94
|
+
], AtomicCommerceNoProducts);
|
|
95
|
+
export { AtomicCommerceNoProducts };
|
|
@@ -71,7 +71,7 @@ let AtomicCommerceProductsPerPage = class AtomicCommerceProductsPerPage extends
|
|
|
71
71
|
},
|
|
72
72
|
})(html `
|
|
73
73
|
<div class="flex items-center">
|
|
74
|
-
${renderLabel(
|
|
74
|
+
${renderLabel()(html `${this.label}`)}
|
|
75
75
|
${renderFieldsetGroup({
|
|
76
76
|
props: {
|
|
77
77
|
label: this.label,
|
|
@@ -14,7 +14,6 @@ import '../atomic-commerce-text/atomic-commerce-text';
|
|
|
14
14
|
import '../atomic-product-text/atomic-product-text';
|
|
15
15
|
import '../atomic-product/atomic-product';
|
|
16
16
|
/**
|
|
17
|
-
* @alpha
|
|
18
17
|
* * A product template determines the format of the query results, depending on the conditions that are defined for each template.
|
|
19
18
|
*
|
|
20
19
|
* A `template` element must be the child of an `atomic-product-template`. Furthermore, an `atomic-commerce-product-list`, `atomic-commerce-recommendation-list`, or `atomic-commerce-search-box-instant-products` must be the parent of each `atomic-product-template`.
|
|
@@ -24,6 +23,8 @@ import '../atomic-product/atomic-product';
|
|
|
24
23
|
* @MapProp name: mustNotMatch;attr: must-not-match;docs: The field and values that must not be matched by a product item for the template to apply. For example, a template with the following attribute only applies to product items whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage";type: Record<string, string[]> ;default: {}
|
|
25
24
|
* @slot default - The default slot where to insert the template element.
|
|
26
25
|
* @slot link - A `template` element that contains a single `atomic-product-link` component.
|
|
26
|
+
*
|
|
27
|
+
* @alpha
|
|
27
28
|
*/
|
|
28
29
|
let AtomicProductTemplate = class AtomicProductTemplate extends LitElement {
|
|
29
30
|
constructor() {
|
|
@@ -3,6 +3,7 @@ export { AtomicCommerceBreadbox } from './atomic-commerce-breadbox/atomic-commer
|
|
|
3
3
|
export { AtomicCommerceDidYouMean } from './atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.js';
|
|
4
4
|
export { AtomicCommerceInterface } from './atomic-commerce-interface/atomic-commerce-interface.js';
|
|
5
5
|
export { AtomicCommerceLayout } from './atomic-commerce-layout/atomic-commerce-layout.js';
|
|
6
|
+
export { AtomicCommerceNoProducts } from './atomic-commerce-no-products/atomic-commerce-no-products.js';
|
|
6
7
|
export { AtomicCommercePager } from './atomic-commerce-pager/atomic-commerce-pager.js';
|
|
7
8
|
export { AtomicCommerceProductList } from './atomic-commerce-product-list/atomic-commerce-product-list.js';
|
|
8
9
|
export { AtomicCommerceProductsPerPage } from './atomic-commerce-products-per-page/atomic-commerce-products-per-page.js';
|
|
@@ -4,6 +4,7 @@ export default {
|
|
|
4
4
|
'atomic-commerce-did-you-mean': async () => await import('./atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.js'),
|
|
5
5
|
'atomic-commerce-interface': async () => await import('./atomic-commerce-interface/atomic-commerce-interface.js'),
|
|
6
6
|
'atomic-commerce-layout': async () => await import('./atomic-commerce-layout/atomic-commerce-layout.js'),
|
|
7
|
+
'atomic-commerce-no-products': async () => await import('./atomic-commerce-no-products/atomic-commerce-no-products.js'),
|
|
7
8
|
'atomic-commerce-pager': async () => await import('./atomic-commerce-pager/atomic-commerce-pager.js'),
|
|
8
9
|
'atomic-commerce-product-list': async () => await import('./atomic-commerce-product-list/atomic-commerce-product-list.js'),
|
|
9
10
|
'atomic-commerce-products-per-page': async () => await import('./atomic-commerce-products-per-page/atomic-commerce-products-per-page.js'),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { html, nothing } from 'lit';
|
|
2
|
+
import { directive, Directive } from 'lit/directive.js';
|
|
3
|
+
class NoItemsGuardDirective extends Directive {
|
|
4
|
+
render({ firstSearchExecuted, isLoading, hasResults }, content) {
|
|
5
|
+
if (!firstSearchExecuted || isLoading || hasResults) {
|
|
6
|
+
return nothing;
|
|
7
|
+
}
|
|
8
|
+
return html `${content()}`;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export const noItemsGuard = directive(NoItemsGuardDirective);
|