@coveo/atomic 3.33.2 → 3.33.3-pre.00ad201706
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 -4
- package/dist/atomic/components/_index.js +0 -2
- package/dist/atomic/components/analytics-config.js +2 -2
- package/dist/atomic/components/analytics-config.js.map +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-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-layout.js +82 -1
- package/dist/atomic/components/atomic-insight-layout.js.map +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-refine-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-result-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.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 +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-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-interface.js +2 -2
- 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-search-box-instant-results.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-search-interface.js +1 -1
- 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-stencil-facet-date-input.js +3 -3
- 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/common/query-error/guard.js +11 -0
- package/dist/atomic/components/components/insight/atomic-insight-interface/analytics-config.js +31 -0
- package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +252 -0
- package/dist/atomic/components/components/insight/atomic-insight-query-error/atomic-insight-query-error.js +83 -0
- package/dist/atomic/components/components/insight/index.js +3 -1
- package/dist/atomic/components/components/insight/lazy-index.js +4 -1
- 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/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/{p-a7dcf131.entry.js → p-00d0ce4a.entry.js} +2 -2
- package/dist/atomic/{p-1d091f9a.entry.js → p-04fbe400.entry.js} +2 -2
- package/dist/atomic/{p-d1d2d945.entry.js → p-05a3e5a4.entry.js} +2 -2
- package/dist/atomic/{p-80055cf6.entry.js → p-0848edb6.entry.js} +2 -2
- package/dist/atomic/p-089ea49c.entry.js +2 -0
- package/dist/atomic/{p-84befe35.entry.js → p-0b44ae08.entry.js} +2 -2
- package/dist/atomic/{p-633628d5.entry.js → p-10c64b16.entry.js} +2 -2
- package/dist/atomic/{p-ce9e510c.entry.js → p-117be4a4.entry.js} +2 -2
- package/dist/atomic/p-17863d79.entry.js +2 -0
- package/dist/atomic/{p-26ad479b.entry.js → p-182a3f9e.entry.js} +2 -2
- package/dist/atomic/{p-cbb819d2.entry.js → p-191edc11.entry.js} +2 -2
- package/dist/atomic/{p-069bf2b9.entry.js → p-1b62c28e.entry.js} +2 -2
- package/dist/atomic/{p-58610952.entry.js → p-24c2110b.entry.js} +2 -2
- package/dist/atomic/{p-571c9614.entry.js → p-2c64e9a2.entry.js} +2 -2
- package/dist/atomic/{p-13e67ab3.entry.js → p-2e2514cf.entry.js} +2 -2
- package/dist/atomic/{p-496da1c9.entry.js → p-308e27ad.entry.js} +2 -2
- package/dist/atomic/{p-b7f38541.entry.js → p-30ad63ef.entry.js} +2 -2
- package/dist/atomic/{p-1c2d25ba.entry.js → p-338b7e34.entry.js} +2 -2
- package/dist/atomic/{p-0c9b553c.entry.js → p-3470ece0.entry.js} +2 -2
- package/dist/atomic/{p-ab627e18.entry.js → p-378fb61e.entry.js} +2 -2
- package/dist/atomic/{p-df2df66a.entry.js → p-37e08995.entry.js} +2 -2
- package/dist/atomic/{p-c9fa8526.entry.js → p-3a994997.entry.js} +2 -2
- package/dist/atomic/{p-c3746d6e.entry.js → p-3c15b912.entry.js} +2 -2
- package/dist/atomic/{p-552d1f66.entry.js → p-44f3df5e.entry.js} +2 -2
- package/dist/atomic/{p-a14fd4de.entry.js → p-4675bdbb.entry.js} +2 -2
- package/dist/atomic/{p-896724e9.entry.js → p-48ef4c1f.entry.js} +2 -2
- package/dist/atomic/{p-aff3a66a.entry.js → p-4a7746df.entry.js} +2 -2
- package/dist/atomic/{p-1c3363ec.entry.js → p-4f097bb4.entry.js} +2 -2
- package/dist/atomic/{p-8b70f39a.entry.js → p-4f26060e.entry.js} +2 -2
- package/dist/atomic/{p-09924944.entry.js → p-55897223.entry.js} +2 -2
- package/dist/atomic/{p-26098930.entry.js → p-58efef75.entry.js} +2 -2
- package/dist/atomic/{p-2c7d4967.entry.js → p-60905b64.entry.js} +2 -2
- package/dist/atomic/{p-b16950ec.entry.js → p-641fc06f.entry.js} +2 -2
- package/dist/atomic/{p-b328cab9.entry.js → p-6a42329f.entry.js} +2 -2
- package/dist/atomic/{p-a3a1f8e9.entry.js → p-6b23deee.entry.js} +2 -2
- package/dist/atomic/{p-2e91aea8.entry.js → p-6b297a61.entry.js} +2 -2
- package/dist/atomic/{p-b103b28a.entry.js → p-70c431f9.entry.js} +2 -2
- package/dist/atomic/{p-258c3253.entry.js → p-71fbcd16.entry.js} +2 -2
- package/dist/atomic/{p-c667812c.entry.js → p-80beb49c.entry.js} +2 -2
- package/dist/atomic/{p-0368a213.entry.js → p-81b6d12c.entry.js} +2 -2
- package/dist/atomic/{p-1a79c944.entry.js → p-842d31d0.entry.js} +2 -2
- package/dist/atomic/p-8458c355.entry.js +2 -0
- package/dist/atomic/p-8458c355.entry.js.map +1 -0
- package/dist/atomic/{p-4c7654eb.entry.js → p-87747240.entry.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js → p-8a29b219.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js.map → p-8a29b219.js.map} +1 -1
- package/dist/atomic/{p-ef22a3f2.entry.js → p-8f6c61c6.entry.js} +2 -2
- package/dist/atomic/{p-5027d796.entry.js → p-910c67c0.entry.js} +2 -2
- package/dist/atomic/{p-82a8cf74.entry.js → p-943b29c2.entry.js} +2 -2
- package/dist/atomic/{p-3af5e810.entry.js → p-94877a71.entry.js} +2 -2
- package/dist/atomic/{p-05ab5909.entry.js → p-9507e1bc.entry.js} +2 -2
- package/dist/atomic/{p-cb051c21.entry.js → p-96e61669.entry.js} +2 -2
- package/dist/atomic/{p-aa40956c.entry.js → p-971a8a73.entry.js} +2 -2
- package/dist/atomic/{p-5c995d77.entry.js → p-a6cdf904.entry.js} +2 -2
- package/dist/atomic/{p-fc6beee6.entry.js → p-af487ad9.entry.js} +2 -2
- package/dist/atomic/{p-88e4a2f9.entry.js → p-b1305119.entry.js} +2 -2
- package/dist/atomic/{p-612155f0.entry.js → p-b8cd724f.entry.js} +2 -2
- package/dist/atomic/{p-2d3ef0f7.entry.js → p-ba03d7c7.entry.js} +2 -2
- package/dist/atomic/{p-516b5bd4.entry.js → p-ba9b2923.entry.js} +2 -2
- package/dist/atomic/{p-875583aa.entry.js → p-c4d188d5.entry.js} +2 -2
- package/dist/atomic/{p-15d952f3.entry.js → p-c69ae97a.entry.js} +2 -2
- package/dist/atomic/{p-a2714d7e.entry.js → p-c9317aca.entry.js} +2 -2
- package/dist/atomic/{p-64fc4340.entry.js → p-c9e0fd97.entry.js} +2 -2
- package/dist/atomic/{p-737f842d.entry.js → p-cc3bf0ea.entry.js} +2 -2
- package/dist/atomic/{p-d5071b5a.entry.js → p-d1caf040.entry.js} +2 -2
- package/dist/atomic/p-d346b623.entry.js +2 -0
- package/dist/atomic/{p-b97abfb9.entry.js → p-d62c5612.entry.js} +2 -2
- package/dist/atomic/{p-b0bd2709.entry.js → p-d960b136.entry.js} +2 -2
- package/dist/atomic/{p-79499898.entry.js → p-e385889f.entry.js} +2 -2
- package/dist/atomic/{p-bfdecd0f.entry.js → p-e501f1c0.entry.js} +2 -2
- package/dist/atomic/{p-c61609ea.entry.js → p-eb6044a0.entry.js} +2 -2
- package/dist/atomic/{p-e750df14.entry.js → p-ec9c9547.entry.js} +2 -2
- package/dist/atomic/{p-5138d839.entry.js → p-ef08ecba.entry.js} +2 -2
- package/dist/atomic/p-f35551d4.entry.js +2 -0
- package/dist/atomic/{p-9d9f201f.entry.js.map → p-f35551d4.entry.js.map} +1 -1
- package/dist/atomic/{p-50467793.entry.js → p-f5a702cd.entry.js} +2 -2
- package/dist/atomic/{p-57b47b73.entry.js → p-f839d361.entry.js} +2 -2
- package/dist/atomic/{p-cdd70f49.entry.js → p-fa1dcc3e.entry.js} +2 -2
- package/dist/atomic/{p-6ad1adfb.entry.js → p-fb772dcb.entry.js} +2 -2
- package/dist/atomic/{p-1f5473a6.entry.js → p-fed52985.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-f2718cd7.js → analytics-config-928d474c.js} +2 -2
- package/dist/cjs/analytics-config-928d474c.js.map +1 -0
- 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-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-layout.cjs.entry.js +84 -4
- package/dist/cjs/atomic-insight-layout.cjs.entry.js.map +1 -1
- 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-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-action.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-action.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 +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-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-search-box-instant-results.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 +1 -1
- 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-stencil-facet-date-input.cjs.entry.js +3 -3
- 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 -8
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-a2ebaf0d.js → analytics-config-99b2416b.js} +3 -3
- package/dist/esm/analytics-config-99b2416b.js.map +1 -0
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-citation.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-layout.entry.js +82 -2
- package/dist/esm/atomic-insight-layout.entry.js.map +1 -1
- package/dist/esm/atomic-insight-no-results.entry.js +1 -1
- 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-refine-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-result-action.entry.js +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-action.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 +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-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-search-box-instant-results.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 +1 -1
- 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-stencil-facet-date-input.entry.js +3 -3
- 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 -8
- package/dist/esm/version.js +1 -1
- package/dist/types/components/common/query-error/guard.d.ts +10 -0
- package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +35 -42
- package/dist/types/components/insight/atomic-insight-query-error/atomic-insight-query-error.d.ts +13 -6
- package/dist/types/components/insight/index.d.ts +2 -1
- package/dist/types/components.d.ts +4 -126
- package/docs/atomic-docs.json +1 -416
- package/package.json +1 -1
- package/dist/atomic/components/atomic-insight-interface.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-interface.js +0 -332
- package/dist/atomic/components/atomic-insight-interface.js.map +0 -1
- package/dist/atomic/components/atomic-insight-query-error.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-query-error.js +0 -76
- package/dist/atomic/components/atomic-insight-query-error.js.map +0 -1
- package/dist/atomic/components/insight-layout.js +0 -87
- package/dist/atomic/components/insight-layout.js.map +0 -1
- package/dist/atomic/p-217c470c.entry.js +0 -2
- package/dist/atomic/p-217c470c.entry.js.map +0 -1
- package/dist/atomic/p-2caa1859.js +0 -2
- package/dist/atomic/p-2caa1859.js.map +0 -1
- package/dist/atomic/p-412b233b.entry.js +0 -2
- package/dist/atomic/p-412b233b.entry.js.map +0 -1
- package/dist/atomic/p-52121e1e.entry.js +0 -2
- package/dist/atomic/p-8ef0e022.entry.js +0 -2
- package/dist/atomic/p-9d9f201f.entry.js +0 -2
- package/dist/atomic/p-ce83d873.entry.js +0 -2
- package/dist/atomic/p-f39de057.entry.js +0 -2
- package/dist/atomic/p-f39de057.entry.js.map +0 -1
- package/dist/cjs/analytics-config-f2718cd7.js.map +0 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +0 -307
- package/dist/cjs/atomic-insight-interface.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js +0 -67
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js.map +0 -1
- package/dist/cjs/insight-layout-355a94dd.js +0 -90
- package/dist/cjs/insight-layout-355a94dd.js.map +0 -1
- package/dist/esm/analytics-config-a2ebaf0d.js.map +0 -1
- package/dist/esm/atomic-insight-interface.entry.js +0 -303
- package/dist/esm/atomic-insight-interface.entry.js.map +0 -1
- package/dist/esm/atomic-insight-query-error.entry.js +0 -63
- package/dist/esm/atomic-insight-query-error.entry.js.map +0 -1
- package/dist/esm/insight-layout-776b87f2.js +0 -87
- package/dist/esm/insight-layout-776b87f2.js.map +0 -1
- /package/dist/atomic/{p-a7dcf131.entry.js.map → p-00d0ce4a.entry.js.map} +0 -0
- /package/dist/atomic/{p-1d091f9a.entry.js.map → p-04fbe400.entry.js.map} +0 -0
- /package/dist/atomic/{p-d1d2d945.entry.js.map → p-05a3e5a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-80055cf6.entry.js.map → p-0848edb6.entry.js.map} +0 -0
- /package/dist/atomic/{p-8ef0e022.entry.js.map → p-089ea49c.entry.js.map} +0 -0
- /package/dist/atomic/{p-84befe35.entry.js.map → p-0b44ae08.entry.js.map} +0 -0
- /package/dist/atomic/{p-633628d5.entry.js.map → p-10c64b16.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce9e510c.entry.js.map → p-117be4a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-52121e1e.entry.js.map → p-17863d79.entry.js.map} +0 -0
- /package/dist/atomic/{p-26ad479b.entry.js.map → p-182a3f9e.entry.js.map} +0 -0
- /package/dist/atomic/{p-cbb819d2.entry.js.map → p-191edc11.entry.js.map} +0 -0
- /package/dist/atomic/{p-069bf2b9.entry.js.map → p-1b62c28e.entry.js.map} +0 -0
- /package/dist/atomic/{p-58610952.entry.js.map → p-24c2110b.entry.js.map} +0 -0
- /package/dist/atomic/{p-571c9614.entry.js.map → p-2c64e9a2.entry.js.map} +0 -0
- /package/dist/atomic/{p-13e67ab3.entry.js.map → p-2e2514cf.entry.js.map} +0 -0
- /package/dist/atomic/{p-496da1c9.entry.js.map → p-308e27ad.entry.js.map} +0 -0
- /package/dist/atomic/{p-b7f38541.entry.js.map → p-30ad63ef.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c2d25ba.entry.js.map → p-338b7e34.entry.js.map} +0 -0
- /package/dist/atomic/{p-0c9b553c.entry.js.map → p-3470ece0.entry.js.map} +0 -0
- /package/dist/atomic/{p-ab627e18.entry.js.map → p-378fb61e.entry.js.map} +0 -0
- /package/dist/atomic/{p-df2df66a.entry.js.map → p-37e08995.entry.js.map} +0 -0
- /package/dist/atomic/{p-c9fa8526.entry.js.map → p-3a994997.entry.js.map} +0 -0
- /package/dist/atomic/{p-c3746d6e.entry.js.map → p-3c15b912.entry.js.map} +0 -0
- /package/dist/atomic/{p-552d1f66.entry.js.map → p-44f3df5e.entry.js.map} +0 -0
- /package/dist/atomic/{p-a14fd4de.entry.js.map → p-4675bdbb.entry.js.map} +0 -0
- /package/dist/atomic/{p-896724e9.entry.js.map → p-48ef4c1f.entry.js.map} +0 -0
- /package/dist/atomic/{p-aff3a66a.entry.js.map → p-4a7746df.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c3363ec.entry.js.map → p-4f097bb4.entry.js.map} +0 -0
- /package/dist/atomic/{p-8b70f39a.entry.js.map → p-4f26060e.entry.js.map} +0 -0
- /package/dist/atomic/{p-09924944.entry.js.map → p-55897223.entry.js.map} +0 -0
- /package/dist/atomic/{p-26098930.entry.js.map → p-58efef75.entry.js.map} +0 -0
- /package/dist/atomic/{p-2c7d4967.entry.js.map → p-60905b64.entry.js.map} +0 -0
- /package/dist/atomic/{p-b16950ec.entry.js.map → p-641fc06f.entry.js.map} +0 -0
- /package/dist/atomic/{p-b328cab9.entry.js.map → p-6a42329f.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3a1f8e9.entry.js.map → p-6b23deee.entry.js.map} +0 -0
- /package/dist/atomic/{p-2e91aea8.entry.js.map → p-6b297a61.entry.js.map} +0 -0
- /package/dist/atomic/{p-b103b28a.entry.js.map → p-70c431f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-258c3253.entry.js.map → p-71fbcd16.entry.js.map} +0 -0
- /package/dist/atomic/{p-c667812c.entry.js.map → p-80beb49c.entry.js.map} +0 -0
- /package/dist/atomic/{p-0368a213.entry.js.map → p-81b6d12c.entry.js.map} +0 -0
- /package/dist/atomic/{p-1a79c944.entry.js.map → p-842d31d0.entry.js.map} +0 -0
- /package/dist/atomic/{p-4c7654eb.entry.js.map → p-87747240.entry.js.map} +0 -0
- /package/dist/atomic/{p-ef22a3f2.entry.js.map → p-8f6c61c6.entry.js.map} +0 -0
- /package/dist/atomic/{p-5027d796.entry.js.map → p-910c67c0.entry.js.map} +0 -0
- /package/dist/atomic/{p-82a8cf74.entry.js.map → p-943b29c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-3af5e810.entry.js.map → p-94877a71.entry.js.map} +0 -0
- /package/dist/atomic/{p-05ab5909.entry.js.map → p-9507e1bc.entry.js.map} +0 -0
- /package/dist/atomic/{p-cb051c21.entry.js.map → p-96e61669.entry.js.map} +0 -0
- /package/dist/atomic/{p-aa40956c.entry.js.map → p-971a8a73.entry.js.map} +0 -0
- /package/dist/atomic/{p-5c995d77.entry.js.map → p-a6cdf904.entry.js.map} +0 -0
- /package/dist/atomic/{p-fc6beee6.entry.js.map → p-af487ad9.entry.js.map} +0 -0
- /package/dist/atomic/{p-88e4a2f9.entry.js.map → p-b1305119.entry.js.map} +0 -0
- /package/dist/atomic/{p-612155f0.entry.js.map → p-b8cd724f.entry.js.map} +0 -0
- /package/dist/atomic/{p-2d3ef0f7.entry.js.map → p-ba03d7c7.entry.js.map} +0 -0
- /package/dist/atomic/{p-516b5bd4.entry.js.map → p-ba9b2923.entry.js.map} +0 -0
- /package/dist/atomic/{p-875583aa.entry.js.map → p-c4d188d5.entry.js.map} +0 -0
- /package/dist/atomic/{p-15d952f3.entry.js.map → p-c69ae97a.entry.js.map} +0 -0
- /package/dist/atomic/{p-a2714d7e.entry.js.map → p-c9317aca.entry.js.map} +0 -0
- /package/dist/atomic/{p-64fc4340.entry.js.map → p-c9e0fd97.entry.js.map} +0 -0
- /package/dist/atomic/{p-737f842d.entry.js.map → p-cc3bf0ea.entry.js.map} +0 -0
- /package/dist/atomic/{p-d5071b5a.entry.js.map → p-d1caf040.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce83d873.entry.js.map → p-d346b623.entry.js.map} +0 -0
- /package/dist/atomic/{p-b97abfb9.entry.js.map → p-d62c5612.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0bd2709.entry.js.map → p-d960b136.entry.js.map} +0 -0
- /package/dist/atomic/{p-79499898.entry.js.map → p-e385889f.entry.js.map} +0 -0
- /package/dist/atomic/{p-bfdecd0f.entry.js.map → p-e501f1c0.entry.js.map} +0 -0
- /package/dist/atomic/{p-c61609ea.entry.js.map → p-eb6044a0.entry.js.map} +0 -0
- /package/dist/atomic/{p-e750df14.entry.js.map → p-ec9c9547.entry.js.map} +0 -0
- /package/dist/atomic/{p-5138d839.entry.js.map → p-ef08ecba.entry.js.map} +0 -0
- /package/dist/atomic/{p-50467793.entry.js.map → p-f5a702cd.entry.js.map} +0 -0
- /package/dist/atomic/{p-57b47b73.entry.js.map → p-f839d361.entry.js.map} +0 -0
- /package/dist/atomic/{p-cdd70f49.entry.js.map → p-fa1dcc3e.entry.js.map} +0 -0
- /package/dist/atomic/{p-6ad1adfb.entry.js.map → p-fb772dcb.entry.js.map} +0 -0
- /package/dist/atomic/{p-1f5473a6.entry.js.map → p-fed52985.entry.js.map} +0 -0
|
@@ -63,7 +63,7 @@ const AtomicIPXRefineToggle = /*@__PURE__*/ proxyCustomElement(class AtomicIPXRe
|
|
|
63
63
|
this.modalRef.collapseFacetsAfter = this.collapseFacetsAfter;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(IconButton, { key: '
|
|
66
|
+
return (h(IconButton, { key: 'bf99a0ba8b7b430d001c8ada4b5a5ac61d511601', partPrefix: "ipx-refine-toggle", class: "icon-button", style: "outline-neutral", title: this.bindings.i18n.t('filters'), icon: FilterIcon, disabled: !this.searchStatusState.hasResults && !this.numberOfBreadcrumbs, ariaLabel: this.bindings.i18n.t('sort'), onClick: () => {
|
|
67
67
|
this.bindings.store.waitUntilAppLoaded(() => {
|
|
68
68
|
this.enableModal();
|
|
69
69
|
});
|
|
@@ -53,7 +53,7 @@ const AtomicIPXResultLink = /*@__PURE__*/ proxyCustomElement(class AtomicIPXResu
|
|
|
53
53
|
const href = isUndefined(this.hrefTemplate)
|
|
54
54
|
? this.result.clickUri
|
|
55
55
|
: buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
|
|
56
|
-
return (h(LinkWithItemAnalytics, { key: '
|
|
56
|
+
return (h(LinkWithItemAnalytics, { key: 'a929e9342a344d7517c01487883815eb1a7833df', href: href, onSelect: () => this.onSelect(), 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" }))));
|
|
57
57
|
}
|
|
58
58
|
get host() { return this; }
|
|
59
59
|
static get style() { return AtomicIpxResultLinkStyle0; }
|
|
@@ -20,7 +20,7 @@ const AtomicIPXTabs = /*@__PURE__*/ proxyCustomElement(class AtomicIPXTabs exten
|
|
|
20
20
|
this.error = undefined;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("atomic-tab-bar", { key: '
|
|
23
|
+
return (h("atomic-tab-bar", { key: '70ff7aeecb1cf0dde3a457e302624ad4dd0f9519' }, h("slot", { key: 'b838c272b2a4a07b392f767d480bbc36a6423cfd' })));
|
|
24
24
|
}
|
|
25
25
|
}, [4, "atomic-ipx-tabs", {
|
|
26
26
|
"error": [32]
|
|
@@ -90,7 +90,7 @@ const AtomicLoadMoreResults$1 = /*@__PURE__*/ proxyCustomElement(class AtomicLoa
|
|
|
90
90
|
render() {
|
|
91
91
|
const { lastResult: from, total: to } = this.querySummaryState;
|
|
92
92
|
const { i18n } = this.bindings;
|
|
93
|
-
return (h(LoadMoreGuard, { key: '
|
|
93
|
+
return (h(LoadMoreGuard, { key: 'b99fc40c4f96a3fa842f6988c3068034ea68c6c1', hasResults: this.querySummaryState.hasResults, isLoaded: this.isAppLoaded }, h(LoadMoreContainer, { key: '565653e9e6e72ae27839ea7811a0a09df15b75c4' }, h(LoadMoreSummary, { key: '9247722bb290ac5c1414d90eda9b6a1002142067', from: from, to: to, i18n: i18n }), h(LoadMoreProgressBar, { key: '627e61530e84cde7145562f340ca5a69aa908607', from: from, to: to }), h(LoadMoreButton, { key: '9e0751ca972b745c4ec7bf9cbc7aad96da7a7cc6', i18n: i18n, moreAvailable: this.resultListState.moreResultsAvailable, onClick: () => this.onClick() }))));
|
|
94
94
|
}
|
|
95
95
|
static get style() { return AtomicLoadMoreResultsStyle0; }
|
|
96
96
|
}, [1, "atomic-load-more-results", {
|
|
@@ -100,8 +100,8 @@ const AtomicModal = /*@__PURE__*/ proxyCustomElement(class AtomicModal extends H
|
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
102
|
this.updateBreakpoints();
|
|
103
|
-
const Content = () => (h("article", { key: '
|
|
104
|
-
return (h(Host, { key: '
|
|
103
|
+
const Content = () => (h("article", { key: '008d1faad7c3e4283d4b53b52e30909b777527f8', part: "container", class: `bg-background text-on-background flex flex-col justify-between ${this.isOpen ? 'animate-open' : 'animate-close'} ${this.wasEverOpened ? '' : 'invisible'}`, onAnimationEnd: () => this.animationEnded.emit(), ref: (ref) => (this.animatableContainer = ref) }, h("header", { key: '1f46ad343ed9a27d6ff7adb5ecddaba980568b31', part: "header-wrapper", class: "flex flex-col items-center" }, h("div", { key: '72052c73ab5d1392e665a08af0466507f17ca476', part: "header", class: "flex justify-between w-full max-w-lg text-xl", id: this.headerId }, h("slot", { key: '13d32d692848ce7f5a11f3760394ee7b4ff3309c', name: "header" }))), h("hr", { key: '3dc9be298db360de449ee7f40b0ba2a0acc91dda', part: "header-ruler", class: "border-t border-neutral" }), h("div", { key: 'beb640eb7fa7883f3a8d5f82f71845bf4a4fdd7e', part: "body-wrapper", class: "flex w-full grow flex-col items-center overflow-auto [scrollbar-gutter:stable_both-edges]" }, h("div", { key: '69c05359a846a090e021118da04a4f02c15dee20', part: "body", class: "w-full max-w-lg", ref: (element) => element?.addEventListener('touchmove', (e) => this.isOpen && e.stopPropagation(), { passive: false }) }, h("slot", { key: '1b0fb9176a92cae2d1a56a2bfbed8ed0ab3c0b37', name: "body" }))), h("footer", { key: 'd815c2a13fbf6d84a4c7242c8553781c594dd4d1', part: "footer-wrapper", class: "z-10 flex flex-col items-center w-full border-t border-neutral bg-background" }, h("div", { key: 'e420e19b24f94d1fda8bd0f82db786c2259a722a', part: "footer", class: "w-full max-w-lg" }, h("slot", { key: 'bfcc065f2104e52b7a5d0dac4bfabb9ed22d6d03', name: "footer" })))));
|
|
104
|
+
return (h(Host, { key: '93de9982e54ec3e6515f10b9c2408246d6fdf11a', class: this.getClasses().join(' '), "data-nosnippet": true }, h("div", { key: '671e813ca6665ed41cb47267746f4da5ac3b54e5', part: "backdrop", class: ` ${this.boundary === 'page' ? 'fixed' : 'absolute'} top-0 right-0 bottom-0 left-0 z-9999`, onClick: (e) => e.target === e.currentTarget && this.close() }, h("atomic-focus-trap", { key: 'ca302a10b051c200c43b3c355e577f0b2d35f6cc', role: "dialog", "aria-modal": this.isOpen.toString(), "aria-labelledby": this.headerId, source: this.source, container: this.container ?? this.host, ref: (ref) => (this.focusTrap = ref), scope: this.scope }, h(Content, { key: '2a5e928b776e5347ea67e3d365738cf97a0706ea' })))));
|
|
105
105
|
}
|
|
106
106
|
get host() { return this; }
|
|
107
107
|
static get watchers() { return {
|
|
@@ -59,7 +59,7 @@ const AtomicNoResults$1 = /*@__PURE__*/ proxyCustomElement(class AtomicNoResults
|
|
|
59
59
|
render() {
|
|
60
60
|
const { bindings: { i18n }, } = this;
|
|
61
61
|
this.ariaMessage = getSummary(i18n, this.querySummaryState.query, this.searchStatusState.hasResults, 'no-results');
|
|
62
|
-
return (h(NoItemsGuard, { key: '
|
|
62
|
+
return (h(NoItemsGuard, { key: 'fca831ea2bbc4158df8154e0080877e3467b695b', ...this.searchStatusState }, h(NoItemsContainer, { key: 'ff20b72d365f8b90a445ae278567eabd4e50bdb6' }, h(MagnifyingGlass, { key: 'c47352b58f8bca89bbb38174a4d0a263fe401a26' }), h(NoItems, { key: 'b5a2090ca44d77678c065e91fb92d6af89c805f0', query: this.querySummaryState.query, i18n: i18n, i18nKey: "no-results" }), h(SearchTips, { key: '76ab1e40cbcbe6994f86496e3eb30f01f1e8ef85', i18n: i18n }), this.enableCancelLastAction && this.historyState.past.length ? (h(Cancel, { i18n: i18n, onClick: () => this.history.backOnNoResults() })) : null)));
|
|
63
63
|
}
|
|
64
64
|
static get style() { return AtomicNoResultsStyle0; }
|
|
65
65
|
}, [1, "atomic-no-results", {
|
|
@@ -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: '8ff4b873b245dd9d27aa50f839dc4aad1bb5dff9', 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();
|
|
@@ -76,15 +76,15 @@ const AtomicPager$1 = /*@__PURE__*/ proxyCustomElement(class AtomicPager extends
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(PagerGuard, { key: '
|
|
79
|
+
return (h(PagerGuard, { key: '29baa395a42b14b6408a8104932616ec7f24f7c4', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h(PagerNavigation, { key: '67f19e1b7b79de6cd6720c126b1ff17a4d2e1732', i18n: this.bindings.i18n }, h(PagerPreviousButton, { key: '915fd74d41c9d46414cc668c35c55594e29ea416', icon: this.previousButtonIcon, disabled: !this.pagerState.hasPreviousPage, i18n: this.bindings.i18n, onClick: () => {
|
|
80
80
|
this.pager.previousPage();
|
|
81
81
|
this.focusOnFirstResultAndScrollToTop();
|
|
82
|
-
} }), h(PagerPageButtons, { key: '
|
|
82
|
+
} }), h(PagerPageButtons, { key: 'e527daf3983ba89adcc325c63971ee6704b8c71e', i18n: this.bindings.i18n }, this.pagerState.currentPages.map((pageNumber) => {
|
|
83
83
|
return (h(PagerPageButton, { isSelected: this.pager.isCurrentPage(pageNumber), ariaLabel: this.bindings.i18n.t('page-number', { pageNumber }), onChecked: () => {
|
|
84
84
|
this.pager.selectPage(pageNumber);
|
|
85
85
|
this.focusOnFirstResultAndScrollToTop();
|
|
86
86
|
}, page: pageNumber, groupName: this.radioGroupName, text: pageNumber.toLocaleString(this.bindings.i18n.language) }));
|
|
87
|
-
})), h(PagerNextButton, { key: '
|
|
87
|
+
})), h(PagerNextButton, { key: '19f7f68b93337a0cf657b2d5bfd4256623f7176e', icon: this.nextButtonIcon, disabled: !this.pagerState.hasNextPage, i18n: this.bindings.i18n, onClick: () => {
|
|
88
88
|
this.pager.nextPage();
|
|
89
89
|
this.focusOnFirstResultAndScrollToTop();
|
|
90
90
|
} }))));
|
|
@@ -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: '1d9b12dc42459f30170022225223435e7cd84b1e', hasError: hasError }, h(QueryErrorContainer, { key: 'b6adb64879a50d06c0e142ece2736f0f001ccfe0' }, h(QueryErrorIcon, { key: '853972bb6321c16f0a5d87c9b71eaaa778f2573e', errorType: error?.type }), h(QueryErrorTitle, { key: '2b62f54b619f264b1ef22142e234e09d8a3938d7', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '97ae98f6e51e20d9e1fa6c45c541695379fe8f5a', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: '2cb1527477a5bcee1db9d36be34236e726c10323', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'cda6d546c6d2ca799f2a92bacfe32323544866d5', 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: '353ed44a1b5cfc355b85aaf94a79112b446f2cfd', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: '3ccfef1851b26f94ff600b386d59eef119756cef' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: '203fa9ee36d1d815dcf3be880d95dd97a2121873', 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: '
|
|
587
|
+
return (h("atomic-modal", { key: 'f65349fdfd4ed9ecd8a77f0c672417cb410e66ca', 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: '
|
|
111
|
+
return (h(Button, { key: 'f4057e7d25832b0bfe0bea8ffcc67d4d58900566', 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: 'b72f42498db9150a99c91da65aaac0abd46383ae', 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: '4111b640db332cdd978d18827ff3fa7eec9db074', hasError: hasError }, h(QueryErrorContainer, { key: '5bfc60063e0f08613b471ab9e8817baad541034b' }, h(QueryErrorIcon, { key: '6ae8ef0833c026813e20212ef8dae07843c7bda1', errorType: error?.type }), h(QueryErrorTitle, { key: '8c382125b07eb880c9d212031cb29f681bc0b316', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: 'd7025682a137b5cde600e159461d47e1a9e39f4c', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '8a864e39afda329cbbdce933128dbf132cda5804', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'e5223eb7c0a1101ea4b88ace9bfa9c4702dc9e1e', error: error, show: this.showMoreInfo }))));
|
|
43
43
|
}
|
|
44
44
|
static get style() { return AtomicRecsErrorStyle0; }
|
|
45
45
|
}, [1, "atomic-recs-error", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { m as markParentAsReady } from './init-queue.js';
|
|
3
3
|
import { loadRecommendationActions, loadSearchConfigurationActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildRecommendationEngine } from '@coveo/headless/recommendation';
|
|
4
|
-
import { g as getNextAnalyticsConfig,
|
|
4
|
+
import { g as getNextAnalyticsConfig, a as augmentAnalyticsConfigWithDocument, b as augmentAnalyticsConfigWithAtomicVersion, c as augmentWithExternalMiddleware, d as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
|
|
5
5
|
import { A as ArrayProp } from './props-utils.js';
|
|
6
6
|
import { u as unsetLoadingFlag, s as setLoadingFlag, a as createBaseStore } from './store.js';
|
|
7
7
|
|
|
@@ -242,7 +242,7 @@ const AtomicRecsInterface$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsI
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
render() {
|
|
245
|
-
return this.engine && h("slot", { key: '
|
|
245
|
+
return this.engine && h("slot", { key: '161c09a6eda03f4835656753e9f43a3210cf8e17' });
|
|
246
246
|
}
|
|
247
247
|
get host() { return this; }
|
|
248
248
|
static get watchers() { return {
|
|
@@ -262,7 +262,7 @@ const AtomicRecsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsList e
|
|
|
262
262
|
}))));
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
|
-
return (h(Fragment, { key: '
|
|
265
|
+
return (h(Fragment, { key: 'bc8551c7d569401d8563406b474ff4456b4ee56e' }, 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: '
|
|
209
|
+
return (h(RefineModal, { key: '8770b90c3437d07554a62d27301a98b03079978f', 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: '774de3116e7abd90a7a31b93c3ce0e8f6822e097' }, 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: '
|
|
73
|
+
return (h(RefineToggleGuard, { key: 'c3ff846a33b2015006e6ac31c1edc16a1a493dd9', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: 'cd07c472b28678dc6a5016754ee8ba0e4b562d71', 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: '
|
|
21
|
+
return (h("atomic-modal", { key: 'd230070ffbd1daf42d5d5c2f4c3cbc80987e407d', exportparts: "footer", isOpen: this.open, close: () => {
|
|
22
22
|
this.closeRelevanceInspector?.emit();
|
|
23
|
-
} }, h("p", { key: '
|
|
23
|
+
} }, h("p", { key: '180dcba0333d446570a29046934938fe8347bd91', slot: "header" }, "Open the relevance inspector"), h("p", { key: '95f294e5ade437e53db8f84c8174f578ed3b4a17', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: 'e83c5b42c54a57bf0386b2d71641f26e65f75020', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: '0c93c1ed579c9b0b7c7d63608ec7ecd061af86e1', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: '319118c5d69d53abfe1f7c73ecc7170658108321', 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: '4ec8b987ff24e87fe41b0e1ec1087680f3a21fb2', 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: '3b736c02d9c509dc99b4727c176e8725635864f1' });
|
|
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: '6a8ae6482cc550ed1ebc4d95bf1699cfc5ac22d5', 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: 'ea503b5aa0bc31d724cb67a7390c22fb3d33c99b', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '2963231e81f8352f07e4aaf7b664be1f0996d284', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '5abbc98349f36c2ff6af93507d46deb38f1daa29', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: '36f09c09fbe80c05d38e8f8460afc8db2fdb7e31', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: 'b6929420e60a9b5c99d27a12e95edf28fba4b645', 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: '5e3a8a7a1d2cdfe73132135d572996ceb3b02ead', 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: '789d2541401ec858c4ae0ed783b276cd8781874f' }, h("div", { key: 'aace31d6d56f2939b282d73a24d3c40bfe72fb38', class: placeholderClasses })), h("atomic-result-section-badges", { key: 'bc695763f5349004a8173f5a28ffc18d9535cc0c' }, h("div", { key: '37a525e29f9b38632cc39b01f46862108d9b909f', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: 'b69e45566b1d8d3b9e6381e8c9d9a2282d56e16a' }, h("div", { key: '35911841428eb184e9bfd198e219e5f9fc144482', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '7bf576848e5c750018161b4bceedadc2e486d9ce' }, h("div", { key: '7da35b744ab9ed8a2730dcaaee90847aba5293cd', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '88eb068476ca43c6fb49b19a59634bd3657926f1' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '994c29b3125458b753a6cd1619fdfc53061648ff' }, h("div", { key: '7509d34aba156c694d122f29f1184ebbdf73ed80', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
|
|
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: 'a6f4fa7c7674df1df21d342e7ee883b0cd2abbc3', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '276c630e0aaa7a69b421705e12e47b6bd404cfc6' }, h("tr", { key: '92f50593ee6b42e099e1df80c135a2aa9cb9931e' }, h("th", { key: '32ea6e3eb4b835178752a0f5f95698e7de2ac087' }, h("div", { key: 'df4d3585bfdbb574c5fe4f01d567a4680014e870', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: '609154ba9f65593e13c822caaec0b36ec58b10e5' }, h("div", { key: '4e7cd69d2f12ddc8bc2bedbc9f5cec2771d1de13', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: '473f60268f8266e16d8e73b2b0922c2e5aed6f10' }, h("div", { key: '3dd2f86ea239c0406f8061bbe5aa61460a21b393', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'f7a1f7f640b01abe78fb13f72a687b7193a30142' }, Array.from({ length: this.rows }, () => (h("tr", null, h("td", null, h("div", { class: `mb-6 h-8 ${placeholderClasses}`, style: { width: '22.875rem' } }), h("div", { class: `mb-2 h-5 ${placeholderClasses}`, style: { width: '23.75rem' } }), h("div", { class: `h-5 ${placeholderClasses}`, style: { width: '11.5rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '11rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '4.875rem' } }))))))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return AtomicResultTablePlaceholderStyle0; }
|
|
24
24
|
}, [1, "atomic-result-table-placeholder", {
|
|
@@ -172,7 +172,7 @@ const AtomicSearchBoxInstantResults$1 = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
174
|
if (this.error) {
|
|
175
|
-
return (h("atomic-component-error", { key: '
|
|
175
|
+
return (h("atomic-component-error", { key: '9a09219afe8a0204436d3fc91b916c33b0d00726', element: this.host, error: this.error }));
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
get host() { return this; }
|
|
@@ -60,7 +60,7 @@ const AtomicSearchBoxQuerySuggestions = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
if (this.error) {
|
|
63
|
-
return (h("atomic-component-error", { key: '
|
|
63
|
+
return (h("atomic-component-error", { key: 'ba3a0bf66fe938d5523a6fb3968ddc0f162281ef', 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: 'c318ad581048bb699c556a16e3700a1e0c2089dd', 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: '
|
|
431
|
-
h(SearchBoxWrapper, { key: '
|
|
430
|
+
return (h(Host, { key: '7558b67d73a00633b769a247548aaf904cf4107c' }, this.renderAbsolutePositionSpacer(), [
|
|
431
|
+
h(SearchBoxWrapper, { key: '2a389cacb0ab8e312854ef9a8b91a5c17c1b5c6f', 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: '
|
|
437
|
+
} }, this.renderTextBox(searchLabel), h(SubmitButton, { key: 'fe77b79e01a699372f54396684cb0c52449bb54c', 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: '
|
|
441
|
+
!this.suggestionManager.suggestions.length && (h("slot", { key: '770fece405e03e40c3b6e0044668b358a49812c4' }, h("atomic-search-box-recent-queries", { key: 'f21307f7263f0e900a5bb6a7b14aa75e9855d476' }), h("atomic-search-box-query-suggestions", { key: '0c86943b9802d972d31bebdfc0401da426e15188' }))),
|
|
442
442
|
]));
|
|
443
443
|
}
|
|
444
444
|
get host() { return this; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { m as markParentAsReady } from './init-queue.js';
|
|
3
3
|
import { loadSearchConfigurationActions, loadQueryActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildSearchEngine, buildUrlManager, buildSearchStatus } from '@coveo/headless';
|
|
4
|
-
import { g as getNextAnalyticsConfig,
|
|
4
|
+
import { g as getNextAnalyticsConfig, b as augmentAnalyticsConfigWithAtomicVersion, a as augmentAnalyticsConfigWithDocument, c as augmentWithExternalMiddleware, d as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config.js';
|
|
5
5
|
import { S as StorageItems, a as SafeStorage } from './local-storage-utils.js';
|
|
6
6
|
import { A as ArrayProp } from './props-utils.js';
|
|
7
7
|
import { D as DEFAULT_MOBILE_BREAKPOINT } from './replace-breakpoint.js';
|
|
@@ -89,7 +89,7 @@ const AtomicSmartSnippetAnswer = /*@__PURE__*/ proxyCustomElement(class AtomicSm
|
|
|
89
89
|
}), ref: (element) => element && this.bindAnalyticsToLinks(element), part: "answer", class: "margin" })));
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '62e0e00f2ec75c2f4acc972676f338461428671d' }, 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: 'b3e47e176df61e65152422d2de0cdb69a909034a', class: this.fullHeight || !this.shouldRenderButton
|
|
60
60
|
? this.isExpanded
|
|
61
61
|
? 'expanded'
|
|
62
62
|
: ''
|
|
63
|
-
: 'invisible' }, h("div", { key: '
|
|
63
|
+
: 'invisible' }, h("div", { key: 'ae97d3dfba657183f36443e720ba14b32bee91e9', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '67e0ff7ffe1e54a6d65bcfa40873888a538868b3' })), 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: '397b7867c46ef292014f2ece80538f8e64a6df96', 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: '397e8dff998928b333fb25c4cc10f73d7697d0d1', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '1854bcd5745575654de79a87caaa4c9587eeadec', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'c150cedda51f8da4e0ed30cabe0209029425ceb5', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'c5250b14e52e37c983520cdf70713ab921ae112c', 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: '454fe1f9258505c90fff7c0c780f81e49c411454', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: '7f454a02ab82eed24916c1de39b0f6d6433f67f6', 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: '6520ea51d4757548029e157c7f3ab0457686fff0' }, h(LinkWithItemAnalytics, { key: 'eaad110e39c9d08219033e8038e9e4e569951a15', title: this.source.clickUri, href: this.source.clickUri, className: "block truncate", part: "source-url", attributes: this.anchorAttributes, onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, this.source.clickUri), h(LinkWithItemAnalytics, { key: '323ff5b9559f734e65390d354465999e2343ed24', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
|
|
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: '
|
|
121
|
-
h("slot", { key: '
|
|
120
|
+
h(SortGuard, { key: '1c99f7b128831293625d6dfa83a7a0e2224dab0e', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '1080dca5ebfb4bbefe28b80f67adde01ff9fbef9' }, h(SortLabel, { key: '9e20d057ee7d8fdda2710138a8c863d6b5522c59', i18n: i18n, id: id }), h(SortSelect, { key: '2ab06e80ab2073a777a8e97ad0a091fb03e16342', 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: '36167bddec5e63ecbc8052a2acf28b12213cb93e' }),
|
|
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: '
|
|
50
|
+
return (h("atomic-component-error", { key: 'b3b7bdc81ec4c697c7db6b27422e52b8389ff9cd', element: this.host, error: error }));
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
get host() { return this; }
|
|
@@ -66,13 +66,13 @@ const FacetDateInput = /*@__PURE__*/ proxyCustomElement(class FacetDateInput ext
|
|
|
66
66
|
// Fallback for Safari < 14.1, date with format yyyy-mm-dd over 1400 (API limit)
|
|
67
67
|
const pattern = '^(1[4-9]\\d{2}|2\\d{3})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$';
|
|
68
68
|
const range = this.rangeGetter();
|
|
69
|
-
return (h("form", { key: '
|
|
69
|
+
return (h("form", { key: '377adcbcff41771908557ad27244d5fc0c1180e2', class: "mt-4 grid grid-cols-[min-content_1fr] gap-2 px-2", onSubmit: (e) => {
|
|
70
70
|
e.preventDefault();
|
|
71
71
|
this.apply();
|
|
72
72
|
return false;
|
|
73
|
-
} }, h("label", { key: '
|
|
73
|
+
} }, h("label", { key: 'b960ea34d03381dd29c0eb1bbc400bd35c4ea453', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_start` }, startLabel, ":"), h("input", { key: '7819595120e4efcec09158c981762560d01833d4', id: `${this.facetId}_start`, part: "input-start", type: "date", ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": startAria, placeholder: placeholder, pattern: pattern, required: true,
|
|
74
74
|
// API/Index minimum supported date
|
|
75
|
-
min: this.min || this.formattedDateValue('1401-01-01'), max: this.end ? this.formattedDateValue(this.end) : this.max, value: this.formattedDateValue(range?.start), onInput: (e) => (this.start = parseDate(e.target.value).toDate()) }), h("label", { key: '
|
|
75
|
+
min: this.min || this.formattedDateValue('1401-01-01'), max: this.end ? this.formattedDateValue(this.end) : this.max, value: this.formattedDateValue(range?.start), onInput: (e) => (this.start = parseDate(e.target.value).toDate()) }), h("label", { key: 'f29cceb6b8d699b1bcaa4ecae56bc5e17ff7d24f', part: "input-label", class: labelClasses, htmlFor: `${this.facetId}_end` }, endLabel, ":"), h("input", { key: 'f7aec88911a6bef568c8613a01aef106c58d7316', id: `${this.facetId}_end`, part: "input-end", type: "date", ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": endAria, placeholder: placeholder, pattern: pattern, required: true, min: this.formattedDateValue(this.start) || this.min, max: this.max, value: this.formattedDateValue(range?.end), onInput: (e) => (this.end = parseDate(e.target.value).toDate()) }), h(Button, { key: '90f35d82af067bfc7987e8e87b776f411a034517', style: "outline-primary", type: "submit", part: "input-apply-button", class: "col-span-2 truncate p-2.5", ariaLabel: applyAria, text: apply })));
|
|
76
76
|
}
|
|
77
77
|
}, [0, "atomic-stencil-facet-date-input", {
|
|
78
78
|
"bindings": [16],
|
|
@@ -73,7 +73,7 @@ const AtomicSuggestionRenderer = /*@__PURE__*/ proxyCustomElement(class AtomicSu
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const isButton = !!(this.suggestion.onSelect || this.suggestion.query);
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '50c7889706463b07ca38dbd02559eeadae00bb1d', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
|
|
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: '56bf9182ded68a7f84461c83b673eac246c55d9e' }, h("atomic-tab-bar", { key: 'd99b0f01eaa91fe71314658064b7d37df4f31588' }, h("div", { key: '78f47e37e9e4baec3708f16e75f4e70612cb7a9a', 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,11 @@
|
|
|
1
|
+
import { html, nothing } from 'lit';
|
|
2
|
+
import { Directive, directive } from 'lit/directive.js';
|
|
3
|
+
class QueryErrorGuardDirective extends Directive {
|
|
4
|
+
render({ hasError }, content) {
|
|
5
|
+
if (!hasError) {
|
|
6
|
+
return nothing;
|
|
7
|
+
}
|
|
8
|
+
return html `${content()}`;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export const renderQueryErrorGuard = directive(QueryErrorGuardDirective);
|