@coveo/atomic 3.33.8 → 3.33.9-pre.01801cbde1
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/autoloader/index.cjs.js +2 -2
- package/dist/atomic/autoloader/index.esm.js +2 -2
- package/dist/atomic/components/_index.d.ts +0 -4
- package/dist/atomic/components/_index.js +0 -2
- package/dist/atomic/components/analytics-config.js +1 -1
- 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-interface.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 +41 -5
- package/dist/atomic/components/atomic-insight-pager.js.map +1 -1
- 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-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-no-results.js +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +2 -1
- package/dist/atomic/components/atomic-numeric-facet.js.map +1 -1
- package/dist/atomic/components/atomic-query-error.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 +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-inspector.js +46 -1
- package/dist/atomic/components/atomic-relevance-inspector.js.map +1 -1
- 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 +3 -3
- 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/commerce/atomic-commerce-interface/atomic-commerce-interface.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-pager/atomic-commerce-pager.js +25 -11
- package/dist/atomic/components/components/search/atomic-pager/atomic-pager.js +188 -0
- package/dist/atomic/components/components/search/atomic-search-interface/analytics-config.js +57 -0
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +496 -0
- package/dist/atomic/components/components/search/atomic-search-layout/atomic-search-layout.js +20 -9
- package/dist/atomic/components/components/search/index.js +2 -0
- package/dist/atomic/components/components/search/lazy-index.js +2 -0
- 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-6329ff94.entry.js → p-004adbb8.entry.js} +2 -2
- package/dist/atomic/{p-d0f47b33.entry.js → p-00a6ab8c.entry.js} +2 -2
- package/dist/atomic/{p-3b20b011.entry.js → p-0610b3e7.entry.js} +2 -2
- package/dist/atomic/{p-ee6771f1.entry.js → p-07b6424c.entry.js} +2 -2
- package/dist/atomic/{p-7e2109e9.entry.js → p-09ce78e0.entry.js} +2 -2
- package/dist/atomic/{p-93e29b24.entry.js → p-09d99fc7.entry.js} +2 -2
- package/dist/atomic/{p-f5b58a15.entry.js → p-0b3f6994.entry.js} +2 -2
- package/dist/atomic/{p-83c9244a.entry.js → p-0e27d4f2.entry.js} +2 -2
- package/dist/atomic/{p-c126ee6b.entry.js → p-0e5dc57f.entry.js} +2 -2
- package/dist/atomic/p-0edea6f9.entry.js +2 -0
- package/dist/atomic/{p-20341936.entry.js → p-10b5e0f3.entry.js} +2 -2
- package/dist/atomic/{p-2ca352f4.entry.js → p-15406648.entry.js} +2 -2
- package/dist/atomic/{p-a3efa89e.entry.js → p-160553ce.entry.js} +2 -2
- package/dist/atomic/{p-021f01d6.entry.js → p-18911f64.entry.js} +2 -2
- package/dist/atomic/{p-d716d680.entry.js → p-2148764e.entry.js} +2 -2
- package/dist/atomic/{p-3b023e83.entry.js → p-21bde6fe.entry.js} +2 -2
- package/dist/atomic/{p-de066001.entry.js → p-2c792837.entry.js} +2 -2
- package/dist/atomic/{p-26a51a77.entry.js → p-3213225f.entry.js} +2 -2
- package/dist/atomic/{p-f289269f.entry.js → p-3cbab25b.entry.js} +2 -2
- package/dist/atomic/{p-e23b3334.entry.js → p-441b1a7b.entry.js} +2 -2
- package/dist/atomic/{p-09a3a067.entry.js → p-49a9cba9.entry.js} +2 -2
- package/dist/atomic/{p-744da781.entry.js → p-4b8c0026.entry.js} +2 -2
- package/dist/atomic/{p-89085429.entry.js → p-57af710b.entry.js} +2 -2
- package/dist/atomic/{p-ae060711.entry.js → p-5a67b7c5.entry.js} +2 -2
- package/dist/atomic/{p-92548ab6.entry.js → p-5fe54a66.entry.js} +2 -2
- package/dist/atomic/{p-a8882a2a.entry.js → p-60800b2f.entry.js} +2 -2
- package/dist/atomic/{p-c1999888.entry.js → p-754909fe.entry.js} +2 -2
- package/dist/atomic/{p-36fab158.entry.js → p-7a6468a7.entry.js} +2 -2
- package/dist/atomic/{p-3a2c900c.entry.js → p-7b1a3cab.entry.js} +2 -2
- package/dist/atomic/{p-d93adf52.entry.js → p-7d63bf7b.entry.js} +2 -2
- package/dist/atomic/{p-d364064c.entry.js → p-7f40e57d.entry.js} +2 -2
- package/dist/atomic/{p-d785121d.entry.js → p-856e858c.entry.js} +2 -2
- package/dist/atomic/{p-89ab44de.entry.js → p-8a352ff3.entry.js} +2 -2
- package/dist/atomic/{p-e162805d.entry.js → p-8a7a23b7.entry.js} +2 -2
- package/dist/atomic/{p-604c4085.entry.js → p-8df7270f.entry.js} +2 -2
- package/dist/atomic/{p-8256cd44.entry.js → p-9147b0db.entry.js} +2 -2
- package/dist/atomic/{p-37374964.entry.js → p-9727f36b.entry.js} +2 -2
- package/dist/atomic/p-97829295.entry.js +2 -0
- package/dist/atomic/{p-31aa052e.entry.js → p-97e42c43.entry.js} +2 -2
- package/dist/atomic/{p-1ef658d8.entry.js → p-9d023f0b.entry.js} +2 -2
- package/dist/atomic/{p-40635c2d.entry.js → p-9e771351.entry.js} +2 -2
- package/dist/atomic/{p-ada63017.entry.js → p-9fb66d62.entry.js} +2 -2
- package/dist/atomic/{p-ada63017.entry.js.map → p-9fb66d62.entry.js.map} +1 -1
- package/dist/atomic/{p-035f8dc8.entry.js → p-a3fa6695.entry.js} +2 -2
- package/dist/atomic/{p-d8245258.entry.js → p-a522e38c.entry.js} +2 -2
- package/dist/atomic/{p-5f1fa581.entry.js → p-a5714bc4.entry.js} +2 -2
- package/dist/atomic/{p-f0c2dfe8.entry.js → p-abb14108.entry.js} +2 -2
- package/dist/atomic/p-af1068c1.entry.js +2 -0
- package/dist/atomic/p-af1068c1.entry.js.map +1 -0
- package/dist/atomic/{p-48f57fd8.entry.js → p-b0c50194.entry.js} +2 -2
- package/dist/atomic/{p-b0b17e21.entry.js → p-b4c34553.entry.js} +2 -2
- package/dist/atomic/{p-98c5b9b8.entry.js → p-b6377fb6.entry.js} +2 -2
- package/dist/atomic/{p-ea446721.entry.js → p-bd32625e.entry.js} +2 -2
- package/dist/atomic/{p-939eaaac.entry.js → p-bd99fcc1.entry.js} +2 -2
- package/dist/atomic/{p-7dfcd6af.entry.js → p-be9e40d9.entry.js} +2 -2
- package/dist/atomic/{p-a9b32844.entry.js → p-bf1dff76.entry.js} +2 -2
- package/dist/atomic/{p-99b8d52d.entry.js → p-bf49fed3.entry.js} +2 -2
- package/dist/atomic/{p-48f239b8.js → p-c073d31f.js} +2 -2
- package/dist/atomic/{p-48f239b8.js.map → p-c073d31f.js.map} +1 -1
- package/dist/atomic/{p-3f912e98.entry.js → p-c08f4ee6.entry.js} +2 -2
- package/dist/atomic/p-c2b4b401.entry.js +2 -0
- package/dist/atomic/{p-49c38b27.entry.js → p-c33da203.entry.js} +2 -2
- package/dist/atomic/{p-a53c7821.entry.js → p-c538c8ac.entry.js} +2 -2
- package/dist/atomic/{p-43d708cb.entry.js → p-c9fe4f77.entry.js} +2 -2
- package/dist/atomic/{p-1d1f54a5.entry.js → p-cf810f7a.entry.js} +2 -2
- package/dist/atomic/{p-627e1265.entry.js → p-d50c96c2.entry.js} +2 -2
- package/dist/atomic/{p-bc0d6d3d.entry.js → p-dee60597.entry.js} +2 -2
- package/dist/atomic/{p-4c2f230f.entry.js → p-df4397ab.entry.js} +2 -2
- package/dist/atomic/{p-b2ff1330.entry.js → p-e1c99e2e.entry.js} +2 -2
- package/dist/atomic/{p-b6963bae.entry.js → p-e398835b.entry.js} +2 -2
- package/dist/atomic/{p-6e6d686e.entry.js → p-e3af1bb4.entry.js} +2 -2
- package/dist/atomic/{p-089be992.entry.js → p-e6684bd4.entry.js} +2 -2
- package/dist/atomic/{p-0879d77a.entry.js → p-eda7de4c.entry.js} +2 -2
- package/dist/atomic/{p-594488f2.entry.js → p-f0012580.entry.js} +2 -2
- package/dist/atomic/{p-2ce8220a.entry.js → p-f05f114f.entry.js} +2 -2
- package/dist/atomic/{p-fea7bf3b.entry.js → p-f936f55e.entry.js} +2 -2
- package/dist/atomic/{p-fbfe913d.entry.js → p-fb1a1e2e.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-64ae1273.js → analytics-config-346b4720.js} +2 -2
- package/dist/cjs/analytics-config-346b4720.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-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 +41 -7
- package/dist/cjs/atomic-insight-pager.cjs.entry.js.map +1 -1
- 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-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 +2 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-query-error.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 +3 -3
- 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 +4 -12
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-94a94d25.js → analytics-config-4644bac0.js} +2 -2
- package/dist/esm/analytics-config-4644bac0.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-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 +1 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-pager.entry.js +41 -7
- package/dist/esm/atomic-insight-pager.entry.js.map +1 -1
- 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-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 +2 -1
- package/dist/esm/atomic-numeric-facet.entry.js.map +1 -1
- package/dist/esm/atomic-query-error.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 +3 -3
- 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 +4 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +1 -1
- package/dist/types/components/commerce/atomic-commerce-pager/atomic-commerce-pager.d.ts +5 -3
- package/dist/types/components/search/atomic-pager/atomic-pager.d.ts +28 -16
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +46 -44
- package/dist/types/components/search/atomic-search-interface/interfaces.d.ts +2 -1
- package/dist/types/components/search/atomic-search-layout/atomic-search-layout.d.ts +3 -1
- package/dist/types/components/search/index.d.ts +2 -0
- package/dist/types/components.d.ts +2 -230
- package/docs/atomic-docs.json +85 -814
- package/package.json +2 -2
- package/dist/atomic/components/atomic-pager.d.ts +0 -11
- package/dist/atomic/components/atomic-pager.js +0 -134
- package/dist/atomic/components/atomic-pager.js.map +0 -1
- package/dist/atomic/components/atomic-relevance-inspector2.js +0 -50
- package/dist/atomic/components/atomic-relevance-inspector2.js.map +0 -1
- package/dist/atomic/components/atomic-search-interface.d.ts +0 -11
- package/dist/atomic/components/atomic-search-interface.js +0 -552
- package/dist/atomic/components/atomic-search-interface.js.map +0 -1
- package/dist/atomic/components/stencil-pager-navigation.js +0 -42
- package/dist/atomic/components/stencil-pager-navigation.js.map +0 -1
- package/dist/atomic/p-1992b245.entry.js +0 -2
- package/dist/atomic/p-211d7d6a.js +0 -2
- package/dist/atomic/p-211d7d6a.js.map +0 -1
- package/dist/atomic/p-79bc66b9.entry.js +0 -2
- package/dist/atomic/p-79bc66b9.entry.js.map +0 -1
- package/dist/atomic/p-d24d34a7.entry.js +0 -2
- package/dist/atomic/p-e2afb475.entry.js +0 -2
- package/dist/atomic/p-fa8b7c4c.entry.js +0 -2
- package/dist/atomic/p-fa8b7c4c.entry.js.map +0 -1
- package/dist/atomic/p-fcf3f7d7.entry.js +0 -2
- package/dist/atomic/p-fcf3f7d7.entry.js.map +0 -1
- package/dist/cjs/analytics-config-64ae1273.js.map +0 -1
- package/dist/cjs/atomic-pager.cjs.entry.js +0 -121
- package/dist/cjs/atomic-pager.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-search-interface.cjs.entry.js +0 -511
- package/dist/cjs/atomic-search-interface.cjs.entry.js.map +0 -1
- package/dist/cjs/stencil-pager-navigation-c20b8a95.js +0 -48
- package/dist/cjs/stencil-pager-navigation-c20b8a95.js.map +0 -1
- package/dist/esm/analytics-config-94a94d25.js.map +0 -1
- package/dist/esm/atomic-pager.entry.js +0 -117
- package/dist/esm/atomic-pager.entry.js.map +0 -1
- package/dist/esm/atomic-search-interface.entry.js +0 -507
- package/dist/esm/atomic-search-interface.entry.js.map +0 -1
- package/dist/esm/stencil-pager-navigation-7261a834.js +0 -42
- package/dist/esm/stencil-pager-navigation-7261a834.js.map +0 -1
- /package/dist/atomic/{p-6329ff94.entry.js.map → p-004adbb8.entry.js.map} +0 -0
- /package/dist/atomic/{p-d0f47b33.entry.js.map → p-00a6ab8c.entry.js.map} +0 -0
- /package/dist/atomic/{p-3b20b011.entry.js.map → p-0610b3e7.entry.js.map} +0 -0
- /package/dist/atomic/{p-ee6771f1.entry.js.map → p-07b6424c.entry.js.map} +0 -0
- /package/dist/atomic/{p-7e2109e9.entry.js.map → p-09ce78e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-93e29b24.entry.js.map → p-09d99fc7.entry.js.map} +0 -0
- /package/dist/atomic/{p-f5b58a15.entry.js.map → p-0b3f6994.entry.js.map} +0 -0
- /package/dist/atomic/{p-83c9244a.entry.js.map → p-0e27d4f2.entry.js.map} +0 -0
- /package/dist/atomic/{p-c126ee6b.entry.js.map → p-0e5dc57f.entry.js.map} +0 -0
- /package/dist/atomic/{p-1992b245.entry.js.map → p-0edea6f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-20341936.entry.js.map → p-10b5e0f3.entry.js.map} +0 -0
- /package/dist/atomic/{p-2ca352f4.entry.js.map → p-15406648.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3efa89e.entry.js.map → p-160553ce.entry.js.map} +0 -0
- /package/dist/atomic/{p-021f01d6.entry.js.map → p-18911f64.entry.js.map} +0 -0
- /package/dist/atomic/{p-d716d680.entry.js.map → p-2148764e.entry.js.map} +0 -0
- /package/dist/atomic/{p-3b023e83.entry.js.map → p-21bde6fe.entry.js.map} +0 -0
- /package/dist/atomic/{p-de066001.entry.js.map → p-2c792837.entry.js.map} +0 -0
- /package/dist/atomic/{p-26a51a77.entry.js.map → p-3213225f.entry.js.map} +0 -0
- /package/dist/atomic/{p-f289269f.entry.js.map → p-3cbab25b.entry.js.map} +0 -0
- /package/dist/atomic/{p-e23b3334.entry.js.map → p-441b1a7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-09a3a067.entry.js.map → p-49a9cba9.entry.js.map} +0 -0
- /package/dist/atomic/{p-744da781.entry.js.map → p-4b8c0026.entry.js.map} +0 -0
- /package/dist/atomic/{p-89085429.entry.js.map → p-57af710b.entry.js.map} +0 -0
- /package/dist/atomic/{p-ae060711.entry.js.map → p-5a67b7c5.entry.js.map} +0 -0
- /package/dist/atomic/{p-92548ab6.entry.js.map → p-5fe54a66.entry.js.map} +0 -0
- /package/dist/atomic/{p-a8882a2a.entry.js.map → p-60800b2f.entry.js.map} +0 -0
- /package/dist/atomic/{p-c1999888.entry.js.map → p-754909fe.entry.js.map} +0 -0
- /package/dist/atomic/{p-36fab158.entry.js.map → p-7a6468a7.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a2c900c.entry.js.map → p-7b1a3cab.entry.js.map} +0 -0
- /package/dist/atomic/{p-d93adf52.entry.js.map → p-7d63bf7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-d364064c.entry.js.map → p-7f40e57d.entry.js.map} +0 -0
- /package/dist/atomic/{p-d785121d.entry.js.map → p-856e858c.entry.js.map} +0 -0
- /package/dist/atomic/{p-89ab44de.entry.js.map → p-8a352ff3.entry.js.map} +0 -0
- /package/dist/atomic/{p-e162805d.entry.js.map → p-8a7a23b7.entry.js.map} +0 -0
- /package/dist/atomic/{p-604c4085.entry.js.map → p-8df7270f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8256cd44.entry.js.map → p-9147b0db.entry.js.map} +0 -0
- /package/dist/atomic/{p-37374964.entry.js.map → p-9727f36b.entry.js.map} +0 -0
- /package/dist/atomic/{p-d24d34a7.entry.js.map → p-97829295.entry.js.map} +0 -0
- /package/dist/atomic/{p-31aa052e.entry.js.map → p-97e42c43.entry.js.map} +0 -0
- /package/dist/atomic/{p-1ef658d8.entry.js.map → p-9d023f0b.entry.js.map} +0 -0
- /package/dist/atomic/{p-40635c2d.entry.js.map → p-9e771351.entry.js.map} +0 -0
- /package/dist/atomic/{p-035f8dc8.entry.js.map → p-a3fa6695.entry.js.map} +0 -0
- /package/dist/atomic/{p-d8245258.entry.js.map → p-a522e38c.entry.js.map} +0 -0
- /package/dist/atomic/{p-5f1fa581.entry.js.map → p-a5714bc4.entry.js.map} +0 -0
- /package/dist/atomic/{p-f0c2dfe8.entry.js.map → p-abb14108.entry.js.map} +0 -0
- /package/dist/atomic/{p-48f57fd8.entry.js.map → p-b0c50194.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0b17e21.entry.js.map → p-b4c34553.entry.js.map} +0 -0
- /package/dist/atomic/{p-98c5b9b8.entry.js.map → p-b6377fb6.entry.js.map} +0 -0
- /package/dist/atomic/{p-ea446721.entry.js.map → p-bd32625e.entry.js.map} +0 -0
- /package/dist/atomic/{p-939eaaac.entry.js.map → p-bd99fcc1.entry.js.map} +0 -0
- /package/dist/atomic/{p-7dfcd6af.entry.js.map → p-be9e40d9.entry.js.map} +0 -0
- /package/dist/atomic/{p-a9b32844.entry.js.map → p-bf1dff76.entry.js.map} +0 -0
- /package/dist/atomic/{p-99b8d52d.entry.js.map → p-bf49fed3.entry.js.map} +0 -0
- /package/dist/atomic/{p-3f912e98.entry.js.map → p-c08f4ee6.entry.js.map} +0 -0
- /package/dist/atomic/{p-e2afb475.entry.js.map → p-c2b4b401.entry.js.map} +0 -0
- /package/dist/atomic/{p-49c38b27.entry.js.map → p-c33da203.entry.js.map} +0 -0
- /package/dist/atomic/{p-a53c7821.entry.js.map → p-c538c8ac.entry.js.map} +0 -0
- /package/dist/atomic/{p-43d708cb.entry.js.map → p-c9fe4f77.entry.js.map} +0 -0
- /package/dist/atomic/{p-1d1f54a5.entry.js.map → p-cf810f7a.entry.js.map} +0 -0
- /package/dist/atomic/{p-627e1265.entry.js.map → p-d50c96c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-bc0d6d3d.entry.js.map → p-dee60597.entry.js.map} +0 -0
- /package/dist/atomic/{p-4c2f230f.entry.js.map → p-df4397ab.entry.js.map} +0 -0
- /package/dist/atomic/{p-b2ff1330.entry.js.map → p-e1c99e2e.entry.js.map} +0 -0
- /package/dist/atomic/{p-b6963bae.entry.js.map → p-e398835b.entry.js.map} +0 -0
- /package/dist/atomic/{p-6e6d686e.entry.js.map → p-e3af1bb4.entry.js.map} +0 -0
- /package/dist/atomic/{p-089be992.entry.js.map → p-e6684bd4.entry.js.map} +0 -0
- /package/dist/atomic/{p-0879d77a.entry.js.map → p-eda7de4c.entry.js.map} +0 -0
- /package/dist/atomic/{p-594488f2.entry.js.map → p-f0012580.entry.js.map} +0 -0
- /package/dist/atomic/{p-2ce8220a.entry.js.map → p-f05f114f.entry.js.map} +0 -0
- /package/dist/atomic/{p-fea7bf3b.entry.js.map → p-f936f55e.entry.js.map} +0 -0
- /package/dist/atomic/{p-fbfe913d.entry.js.map → p-fb1a1e2e.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Pagination, type PaginationState, type ProductListing, type Search } from '@coveo/headless/commerce';
|
2
|
-
import { LitElement } from 'lit';
|
2
|
+
import { LitElement, type PropertyValues } from 'lit';
|
3
3
|
import type { InitializableComponent } from "../../../decorators/types";
|
4
4
|
import type { CommerceBindings } from '../atomic-commerce-interface/atomic-commerce-interface';
|
5
5
|
/**
|
@@ -17,6 +17,8 @@ import type { CommerceBindings } from '../atomic-commerce-interface/atomic-comme
|
|
17
17
|
* @event atomic/scrollToTop - Emitted when the user clicks the next or previous button, or a page button.
|
18
18
|
*/
|
19
19
|
export declare class AtomicCommercePager extends LitElement implements InitializableComponent<CommerceBindings> {
|
20
|
+
private static propsSchema;
|
21
|
+
private radioGroupName;
|
20
22
|
bindings: CommerceBindings;
|
21
23
|
error: Error;
|
22
24
|
private isAppLoaded;
|
@@ -44,9 +46,9 @@ export declare class AtomicCommercePager extends LitElement implements Initializ
|
|
44
46
|
pager: Pagination;
|
45
47
|
listingOrSearch: ProductListing | Search;
|
46
48
|
initialize(): void;
|
47
|
-
|
48
|
-
private radioGroupName;
|
49
|
+
willUpdate(changedProperties: PropertyValues): void;
|
49
50
|
render(): import("lit-html").TemplateResult<1>;
|
51
|
+
private validateProps;
|
50
52
|
private focusOnFirstResultAndScrollToTop;
|
51
53
|
}
|
52
54
|
declare global {
|
@@ -1,33 +1,37 @@
|
|
1
|
-
import { Pager, PagerState, SearchStatus, SearchStatusState } from '@coveo/headless';
|
2
|
-
import {
|
3
|
-
import { Bindings } from
|
1
|
+
import { type Pager, type PagerState, type SearchStatus, type SearchStatusState } from '@coveo/headless';
|
2
|
+
import { LitElement, type PropertyValues } from 'lit';
|
3
|
+
import type { Bindings } from "../atomic-search-interface/interfaces";
|
4
|
+
import type { InitializableComponent } from "../../../decorators/types";
|
5
|
+
declare const AtomicPager_base: typeof LitElement;
|
4
6
|
/**
|
5
7
|
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
6
8
|
*
|
7
9
|
* @part buttons - The list of the next/previous buttons and page-buttons.
|
8
10
|
* @part page-buttons - The list of page buttons.
|
9
|
-
* @part page-button - The page
|
11
|
+
* @part page-button - The individual page buttons.
|
10
12
|
* @part active-page-button - The active page button.
|
11
|
-
* @part previous-button - The previous button.
|
12
|
-
* @part next-button - The next button.
|
13
|
-
* @part previous-button-icon -
|
14
|
-
* @part next-button-icon -
|
13
|
+
* @part previous-button - The previous page button.
|
14
|
+
* @part next-button - The next page button.
|
15
|
+
* @part previous-button-icon - The icon displayed on the "previous page" button.
|
16
|
+
* @part next-button-icon - The icon displayed on the "next page" button.
|
17
|
+
*
|
18
|
+
* @event atomic/scrollToTop - Emitted when the user clicks any of the buttons rendered by the component.
|
15
19
|
*/
|
16
|
-
export declare class AtomicPager implements InitializableComponent {
|
20
|
+
export declare class AtomicPager extends AtomicPager_base implements InitializableComponent<Bindings> {
|
21
|
+
private static propsSchema;
|
17
22
|
bindings: Bindings;
|
23
|
+
error: Error;
|
24
|
+
private isAppLoaded;
|
18
25
|
pager: Pager;
|
19
26
|
searchStatus: SearchStatus;
|
20
27
|
pagerState: PagerState;
|
21
28
|
searchStatusState: SearchStatusState;
|
22
|
-
error: Error;
|
23
|
-
private isAppLoaded;
|
24
|
-
private scrollToTopEvent;
|
25
29
|
/**
|
26
|
-
*
|
30
|
+
* The maximum number of page buttons to display in the pager.
|
27
31
|
*/
|
28
32
|
numberOfPages: number;
|
29
33
|
/**
|
30
|
-
* The SVG icon to
|
34
|
+
* The SVG icon to render on the "previous page" button.
|
31
35
|
*
|
32
36
|
* - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.
|
33
37
|
* - Use a value that starts with `assets://`, to display an icon from the Atomic package.
|
@@ -35,7 +39,7 @@ export declare class AtomicPager implements InitializableComponent {
|
|
35
39
|
*/
|
36
40
|
previousButtonIcon: string;
|
37
41
|
/**
|
38
|
-
* The SVG icon to
|
42
|
+
* The SVG icon to render on the "next page" button.
|
39
43
|
*
|
40
44
|
* - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.
|
41
45
|
* - Use a value that starts with `assets://`, to display an icon from the Atomic package.
|
@@ -44,6 +48,14 @@ export declare class AtomicPager implements InitializableComponent {
|
|
44
48
|
nextButtonIcon: string;
|
45
49
|
private radioGroupName;
|
46
50
|
initialize(): void;
|
47
|
-
|
51
|
+
willUpdate(changedProperties: PropertyValues): void;
|
52
|
+
render(): import("lit-html").TemplateResult<1>;
|
53
|
+
private validateProps;
|
48
54
|
private focusOnFirstResultAndScrollToTop;
|
49
55
|
}
|
56
|
+
declare global {
|
57
|
+
interface HTMLElementTagNameMap {
|
58
|
+
'atomic-pager': AtomicPager;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
export {};
|
@@ -1,24 +1,30 @@
|
|
1
|
-
import { LogLevel, SearchEngine, SearchEngineConfiguration } from '@coveo/headless';
|
2
|
-
import { i18n } from 'i18next';
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import
|
1
|
+
import { type LogLevel, type SearchEngine, type SearchEngineConfiguration, type SearchStatus, type UrlManager } from '@coveo/headless';
|
2
|
+
import { type i18n } from 'i18next';
|
3
|
+
import { type CSSResultGroup, LitElement } from 'lit';
|
4
|
+
import type { CommonBindings, NonceBindings } from "../../common/interface/bindings";
|
5
|
+
import { type BaseAtomicInterface } from "../../common/interface/interface-controller";
|
6
|
+
import { type SearchStore } from './store';
|
7
|
+
import "../../common/atomic-modal/atomic-modal";
|
6
8
|
export type InitializationOptions = SearchEngineConfiguration;
|
7
|
-
export type Bindings =
|
9
|
+
export type Bindings = CommonBindings<SearchEngine, SearchStore, AtomicSearchInterface> & NonceBindings;
|
10
|
+
declare const AtomicSearchInterface_base: typeof LitElement;
|
8
11
|
/**
|
9
12
|
* The `atomic-search-interface` component is the parent to all other atomic components in a search page. It handles the headless search engine and localization configurations.
|
13
|
+
*
|
14
|
+
* @slot default - The default slot where you can add child components to the interface.
|
10
15
|
*/
|
11
|
-
export declare class AtomicSearchInterface implements
|
12
|
-
|
13
|
-
|
16
|
+
export declare class AtomicSearchInterface extends AtomicSearchInterface_base implements BaseAtomicInterface<SearchEngine> {
|
17
|
+
bindings: Bindings;
|
18
|
+
error: Error;
|
19
|
+
relevanceInspectorIsOpen: boolean;
|
20
|
+
urlManager: UrlManager;
|
21
|
+
searchStatus: SearchStatus;
|
14
22
|
private unsubscribeUrlManager;
|
15
23
|
private unsubscribeSearchStatus;
|
16
24
|
private initialized;
|
17
25
|
private store;
|
18
|
-
private
|
19
|
-
|
20
|
-
error?: Error;
|
21
|
-
relevanceInspectorIsOpen: boolean;
|
26
|
+
private interfaceController;
|
27
|
+
static styles: CSSResultGroup;
|
22
28
|
/**
|
23
29
|
* A list of non-default fields to include in the query results.
|
24
30
|
*
|
@@ -27,7 +33,7 @@ export declare class AtomicSearchInterface implements StencilBaseAtomicInterface
|
|
27
33
|
* <atomic-search-interface fields-to-include='["fieldA", "fieldB"]'></atomic-search-interface>
|
28
34
|
* ```
|
29
35
|
*/
|
30
|
-
fieldsToInclude: string[]
|
36
|
+
fieldsToInclude: string[];
|
31
37
|
/**
|
32
38
|
* The search interface [query pipeline](https://docs.coveo.com/en/180/).
|
33
39
|
*
|
@@ -69,8 +75,13 @@ export declare class AtomicSearchInterface implements StencilBaseAtomicInterface
|
|
69
75
|
engine?: SearchEngine;
|
70
76
|
/**
|
71
77
|
* Whether the state should be reflected in the URL parameters.
|
78
|
+
* @deprecated - replaced by `disable-state-reflection-in-url` (this defaults to `true`, while the replacement defaults to `false`).
|
72
79
|
*/
|
73
80
|
reflectStateInUrl: boolean;
|
81
|
+
/**
|
82
|
+
* Whether to disable state reflection in the URL parameters.
|
83
|
+
*/
|
84
|
+
disableStateReflectionInUrl: boolean;
|
74
85
|
/**
|
75
86
|
* The CSS selector for the container where the interface will scroll back to.
|
76
87
|
*/
|
@@ -95,39 +106,19 @@ export declare class AtomicSearchInterface implements StencilBaseAtomicInterface
|
|
95
106
|
* The relevance inspector can be opened by holding the Alt key (Option on Mac) while over the interface, and performing a double click.
|
96
107
|
*
|
97
108
|
* The relevance inspector allows to troubleshoot and debug queries.
|
109
|
+
* @deprecated - replaced by `disable-relevance-inspector` (this defaults to `true`, while the replacement defaults to `false`).
|
98
110
|
*/
|
99
111
|
enableRelevanceInspector: boolean;
|
100
112
|
/**
|
101
|
-
*
|
102
|
-
* If your application is served with a Content Security Policy (CSP) that doesn't include the `script-src: 'unsafe-inline'` or `style-src: 'unsafe-inline'` directives,
|
103
|
-
* you should ensure that your application server generates a new nonce on every page load and uses the generated value to set this prop and serve the corresponding CSP response headers
|
104
|
-
* (i.e., script-src 'nonce-<YOUR_GENERATED_NONCE>' and style-src 'nonce-<YOUR_GENERATED_NONCE>').
|
105
|
-
* Otherwise you may see console errors such as
|
106
|
-
* - Refused to execute inline script because it violates the following Content Security Policy directive: [...]
|
107
|
-
* - Refused to apply inline style because it violates the following Content Security Policy directive: [...].
|
108
|
-
* @example:
|
109
|
-
* ```html
|
110
|
-
* <script nonce="<YOUR_GENERATED_NONCE>">
|
111
|
-
* import {setNonce} from '@coveo/atomic';
|
112
|
-
* setNonce('<YOUR_GENERATED_NONCE>');
|
113
|
-
* </script>
|
114
|
-
* ```
|
113
|
+
* Whether to disable the relevance inspector shortcut for this interface.
|
115
114
|
*/
|
116
|
-
|
115
|
+
disableRelevanceInspector: boolean;
|
117
116
|
private i18Initialized;
|
118
|
-
private componentWillLoadCalledPromise;
|
119
|
-
private componentWillLoadResolver;
|
120
117
|
constructor();
|
121
118
|
connectedCallback(): void;
|
122
|
-
|
123
|
-
updateSearchConfiguration(updatedProp: 'searchHub' | 'pipeline', newValue: string | undefined): void;
|
124
|
-
updateSearchHub(): void;
|
125
|
-
updatePipeline(): void;
|
126
|
-
toggleAnalytics(): void;
|
127
|
-
updateLanguage(): Promise<void> | undefined;
|
128
|
-
updateIconAssetsPath(): void;
|
119
|
+
willUpdate(changedProperties: Map<string, unknown>): void;
|
129
120
|
disconnectedCallback(): void;
|
130
|
-
handleInitialization
|
121
|
+
private handleInitialization;
|
131
122
|
scrollToTop(): void;
|
132
123
|
closeRelevanceInspector(): void;
|
133
124
|
/**
|
@@ -135,7 +126,7 @@ export declare class AtomicSearchInterface implements StencilBaseAtomicInterface
|
|
135
126
|
*/
|
136
127
|
initialize(options: InitializationOptions): Promise<void>;
|
137
128
|
/**
|
138
|
-
* Initializes the
|
129
|
+
* Initializes the interface using the provided [headless search engine](https://docs.coveo.com/en/headless/latest/reference/modules/Search.html, as opposed to the `initialize` method which internally builds a search engine instance.
|
139
130
|
* This bypasses the properties set on the component, such as analytics, searchHub, pipeline, language, timezone & logLevel.
|
140
131
|
*/
|
141
132
|
initializeWithSearchEngine(engine: SearchEngine): Promise<void>;
|
@@ -144,19 +135,30 @@ export declare class AtomicSearchInterface implements StencilBaseAtomicInterface
|
|
144
135
|
* Executes the first search and logs the interface load event to analytics, after initializing connection to the headless search engine.
|
145
136
|
*/
|
146
137
|
executeFirstSearch(): Promise<void>;
|
147
|
-
|
138
|
+
updateSearchConfiguration(updatedProp: 'searchHub' | 'pipeline', newValue: string | undefined): void;
|
139
|
+
updateSearchHub(): void;
|
140
|
+
updatePipeline(): void;
|
141
|
+
toggleAnalytics(): void;
|
142
|
+
updateLanguage(): void;
|
143
|
+
updateIconAssetsPath(): void;
|
144
|
+
private getBindings;
|
148
145
|
private initFieldsToInclude;
|
149
146
|
registerFieldsToInclude(): void;
|
150
|
-
private updateMobileBreakpoint;
|
151
147
|
private initEngine;
|
152
148
|
private getSearchConfiguration;
|
153
149
|
private get fragment();
|
154
150
|
private initUrlManager;
|
155
|
-
private
|
151
|
+
private handleRelevanceInspectorDoubleClick;
|
156
152
|
private initRelevanceInspector;
|
157
153
|
private initSearchStatus;
|
158
154
|
private updateHash;
|
159
155
|
private onHashChange;
|
160
156
|
private internalInitialization;
|
161
|
-
render():
|
157
|
+
render(): import("lit-html").TemplateResult<1>;
|
158
|
+
}
|
159
|
+
declare global {
|
160
|
+
interface HTMLElementTagNameMap {
|
161
|
+
'atomic-search-interface': AtomicSearchInterface;
|
162
|
+
}
|
162
163
|
}
|
164
|
+
export {};
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { SearchEngine } from '@coveo/headless';
|
2
2
|
import type { CommonBindings, NonceBindings } from '../../common/interface/bindings';
|
3
|
+
import type { AtomicSearchInterface } from './atomic-search-interface';
|
3
4
|
import type { SearchStore } from './store';
|
4
|
-
export type Bindings = CommonBindings<SearchEngine, SearchStore,
|
5
|
+
export type Bindings = CommonBindings<SearchEngine, SearchStore, AtomicSearchInterface> & NonceBindings;
|
@@ -11,14 +11,16 @@ declare const AtomicSearchLayout_base: import("../../../mixins/mixin-common").Co
|
|
11
11
|
*/
|
12
12
|
export declare class AtomicSearchLayout extends AtomicSearchLayout_base {
|
13
13
|
static styles: import("lit").CSSResult[];
|
14
|
-
private addStyles;
|
15
14
|
error: Error;
|
16
15
|
/**
|
17
16
|
* The viewport width at which the layout goes from desktop to mobile.
|
18
17
|
* E.g., 800px, 65rem.
|
19
18
|
*/
|
20
19
|
mobileBreakpoint: string;
|
20
|
+
private layoutStylesController;
|
21
21
|
connectedCallback(): void;
|
22
|
+
private emitBreakpointChangeEvent;
|
23
|
+
onMobileBreakpointChange(): void;
|
22
24
|
}
|
23
25
|
declare global {
|
24
26
|
interface HTMLElementTagNameMap {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
export { AtomicPager } from './atomic-pager/atomic-pager.js';
|
1
2
|
export { AtomicQuerySummary } from './atomic-query-summary/atomic-query-summary.js';
|
2
3
|
export { AtomicResultsPerPage } from './atomic-results-per-page/atomic-results-per-page.js';
|
4
|
+
export { AtomicSearchInterface } from './atomic-search-interface/atomic-search-interface.js';
|
3
5
|
export { AtomicSearchLayout } from './atomic-search-layout/atomic-search-layout.js';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult,
|
8
|
+
import { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult, NumericFilter, NumericFilterState, RangeFacetRangeAlgorithm, RangeFacetSortCriterion, RelativeDateUnit, Result, ResultTemplate, ResultTemplateCondition, SearchStatus } from "@coveo/headless";
|
9
9
|
import { AtomicInterface } from "./utils/initialization-utils";
|
10
10
|
import { AnyBindings } from "./components/common/interface/bindings";
|
11
11
|
import { NumberInputType } from "./components/common/facets/facet-number-input/number-input-type";
|
@@ -24,10 +24,8 @@ import { Bindings } from "./components/search/atomic-search-interface/atomic-sea
|
|
24
24
|
import { SearchStore } from "./components/search/atomic-search-interface/store";
|
25
25
|
import { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
26
26
|
import { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
27
|
-
import { InitializationOptions } from "./components/search/atomic-search-interface/atomic-search-interface";
|
28
|
-
import { StandaloneSearchBoxData } from "./utils/local-storage-utils";
|
29
27
|
import { SearchBoxSuggestionElement } from "./components/common/suggestions/suggestions-types";
|
30
|
-
export { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult,
|
28
|
+
export { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult, NumericFilter, NumericFilterState, RangeFacetRangeAlgorithm, RangeFacetSortCriterion, RelativeDateUnit, Result, ResultTemplate, ResultTemplateCondition, SearchStatus } from "@coveo/headless";
|
31
29
|
export { AtomicInterface } from "./utils/initialization-utils";
|
32
30
|
export { AnyBindings } from "./components/common/interface/bindings";
|
33
31
|
export { NumberInputType } from "./components/common/facets/facet-number-input/number-input-type";
|
@@ -46,8 +44,6 @@ export { Bindings } from "./components/search/atomic-search-interface/atomic-sea
|
|
46
44
|
export { SearchStore } from "./components/search/atomic-search-interface/store";
|
47
45
|
export { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
48
46
|
export { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
49
|
-
export { InitializationOptions } from "./components/search/atomic-search-interface/atomic-search-interface";
|
50
|
-
export { StandaloneSearchBoxData } from "./utils/local-storage-utils";
|
51
47
|
export { SearchBoxSuggestionElement } from "./components/common/suggestions/suggestions-types";
|
52
48
|
export namespace Components {
|
53
49
|
/**
|
@@ -1427,23 +1423,6 @@ export namespace Components {
|
|
1427
1423
|
*/
|
1428
1424
|
"start": number;
|
1429
1425
|
}
|
1430
|
-
/**
|
1431
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
1432
|
-
*/
|
1433
|
-
interface AtomicPager {
|
1434
|
-
/**
|
1435
|
-
* The SVG icon to use to display the Next button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
1436
|
-
*/
|
1437
|
-
"nextButtonIcon": string;
|
1438
|
-
/**
|
1439
|
-
* Specifies how many page buttons to display in the pager.
|
1440
|
-
*/
|
1441
|
-
"numberOfPages": number;
|
1442
|
-
/**
|
1443
|
-
* The SVG icon to use to display the Previous button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
1444
|
-
*/
|
1445
|
-
"previousButtonIcon": string;
|
1446
|
-
}
|
1447
1426
|
/**
|
1448
1427
|
* The `atomic-popover` component displays any facet as a popover menu.
|
1449
1428
|
*/
|
@@ -2449,84 +2428,6 @@ export namespace Components {
|
|
2449
2428
|
*/
|
2450
2429
|
"maxWithoutQuery"?: number;
|
2451
2430
|
}
|
2452
|
-
/**
|
2453
|
-
* The `atomic-search-interface` component is the parent to all other atomic components in a search page. It handles the headless search engine and localization configurations.
|
2454
|
-
*/
|
2455
|
-
interface AtomicSearchInterface {
|
2456
|
-
/**
|
2457
|
-
* The value to set the [nonce](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce) attribute to on inline script and style elements generated by this interface and its child components. If your application is served with a Content Security Policy (CSP) that doesn't include the `script-src: 'unsafe-inline'` or `style-src: 'unsafe-inline'` directives, you should ensure that your application server generates a new nonce on every page load and uses the generated value to set this prop and serve the corresponding CSP response headers (i.e., script-src 'nonce-<YOUR_GENERATED_NONCE>' and style-src 'nonce-<YOUR_GENERATED_NONCE>'). Otherwise you may see console errors such as - Refused to execute inline script because it violates the following Content Security Policy directive: [...] - Refused to apply inline style because it violates the following Content Security Policy directive: [...].
|
2458
|
-
* @example : ```html <script nonce="<YOUR_GENERATED_NONCE>"> import {setNonce} from '@coveo/atomic'; setNonce('<YOUR_GENERATED_NONCE>'); </script> ```
|
2459
|
-
*/
|
2460
|
-
"CspNonce"?: string;
|
2461
|
-
/**
|
2462
|
-
* Whether analytics should be enabled.
|
2463
|
-
*/
|
2464
|
-
"analytics": boolean;
|
2465
|
-
/**
|
2466
|
-
* Whether the relevance inspector shortcut should be enabled for this interface. The relevance inspector can be opened by holding the Alt key (Option on Mac) while over the interface, and performing a double click. The relevance inspector allows to troubleshoot and debug queries.
|
2467
|
-
*/
|
2468
|
-
"enableRelevanceInspector": boolean;
|
2469
|
-
/**
|
2470
|
-
* The search interface headless engine.
|
2471
|
-
*/
|
2472
|
-
"engine"?: SearchEngine;
|
2473
|
-
/**
|
2474
|
-
* Executes the first search and logs the interface load event to analytics, after initializing connection to the headless search engine.
|
2475
|
-
*/
|
2476
|
-
"executeFirstSearch": () => Promise<void>;
|
2477
|
-
/**
|
2478
|
-
* A list of non-default fields to include in the query results. Specify the property as an array using a JSON string representation: ```html <atomic-search-interface fields-to-include='["fieldA", "fieldB"]'></atomic-search-interface> ```
|
2479
|
-
*/
|
2480
|
-
"fieldsToInclude": string[] | string;
|
2481
|
-
/**
|
2482
|
-
* The search interface i18next instance.
|
2483
|
-
*/
|
2484
|
-
"i18n": i18n;
|
2485
|
-
/**
|
2486
|
-
* The icon assets path. By default, this will be a relative URL pointing to `./assets`. Example: "/mypublicpath/icons"
|
2487
|
-
*/
|
2488
|
-
"iconAssetsPath": string;
|
2489
|
-
/**
|
2490
|
-
* Initializes the connection with the headless search engine using options for `accessToken` (required), `organizationId` (required), `environment` (defaults to `prod`), and `renewAccessToken`.
|
2491
|
-
*/
|
2492
|
-
"initialize": (options: InitializationOptions) => Promise<void>;
|
2493
|
-
/**
|
2494
|
-
* Initializes the connection with an already preconfigured [headless search engine](https://docs.coveo.com/en/headless/latest/reference/interfaces/Search.SearchEngine.html), as opposed to the `initialize` method, which will internally create a new search engine instance. This bypasses the properties set on the component, such as analytics, searchHub, pipeline, language, timezone & logLevel.
|
2495
|
-
*/
|
2496
|
-
"initializeWithSearchEngine": (engine: SearchEngine) => Promise<void>;
|
2497
|
-
/**
|
2498
|
-
* The search interface language.
|
2499
|
-
*/
|
2500
|
-
"language": string;
|
2501
|
-
/**
|
2502
|
-
* The language assets path. By default, this will be a relative URL pointing to `./lang`. Example: "/mypublicpath/languages"
|
2503
|
-
*/
|
2504
|
-
"languageAssetsPath": string;
|
2505
|
-
/**
|
2506
|
-
* The severity level of the messages to log in the console.
|
2507
|
-
*/
|
2508
|
-
"logLevel"?: LogLevel;
|
2509
|
-
/**
|
2510
|
-
* The search interface [query pipeline](https://docs.coveo.com/en/180/). If the search interface is initialized using [`initializeWithSearchEngine`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-interface/#initializewithsearchengine), the query pipeline should instead be configured in the target engine.
|
2511
|
-
*/
|
2512
|
-
"pipeline"?: string;
|
2513
|
-
/**
|
2514
|
-
* Whether the state should be reflected in the URL parameters.
|
2515
|
-
*/
|
2516
|
-
"reflectStateInUrl": boolean;
|
2517
|
-
/**
|
2518
|
-
* The CSS selector for the container where the interface will scroll back to.
|
2519
|
-
*/
|
2520
|
-
"scrollContainer": string;
|
2521
|
-
/**
|
2522
|
-
* The search interface [search hub](https://docs.coveo.com/en/1342/). If the search interface is initialized using [`initializeWithSearchEngine`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-interface/#initializewithsearchengine, the search hub should instead be configured in the target engine.
|
2523
|
-
*/
|
2524
|
-
"searchHub"?: string;
|
2525
|
-
/**
|
2526
|
-
* The [tz database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) identifier of the time zone to use to correctly interpret dates in the query expression, facets, and result items. By default, the timezone will be [guessed](https://day.js.org/docs/en/timezone/guessing-user-timezone). Example: "America/Montreal"
|
2527
|
-
*/
|
2528
|
-
"timezone"?: string;
|
2529
|
-
}
|
2530
2431
|
/**
|
2531
2432
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
2532
2433
|
*/
|
@@ -2939,10 +2840,6 @@ export interface AtomicIpxModalCustomEvent<T> extends CustomEvent<T> {
|
|
2939
2840
|
detail: T;
|
2940
2841
|
target: HTMLAtomicIpxModalElement;
|
2941
2842
|
}
|
2942
|
-
export interface AtomicPagerCustomEvent<T> extends CustomEvent<T> {
|
2943
|
-
detail: T;
|
2944
|
-
target: HTMLAtomicPagerElement;
|
2945
|
-
}
|
2946
2843
|
export interface AtomicQuickviewModalCustomEvent<T> extends CustomEvent<T> {
|
2947
2844
|
detail: T;
|
2948
2845
|
target: HTMLAtomicQuickviewModalElement;
|
@@ -3619,26 +3516,6 @@ declare global {
|
|
3619
3516
|
prototype: HTMLAtomicNumericRangeElement;
|
3620
3517
|
new (): HTMLAtomicNumericRangeElement;
|
3621
3518
|
};
|
3622
|
-
interface HTMLAtomicPagerElementEventMap {
|
3623
|
-
"atomic/scrollToTop": any;
|
3624
|
-
}
|
3625
|
-
/**
|
3626
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
3627
|
-
*/
|
3628
|
-
interface HTMLAtomicPagerElement extends Components.AtomicPager, HTMLStencilElement {
|
3629
|
-
addEventListener<K extends keyof HTMLAtomicPagerElementEventMap>(type: K, listener: (this: HTMLAtomicPagerElement, ev: AtomicPagerCustomEvent<HTMLAtomicPagerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
3630
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3631
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3632
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
3633
|
-
removeEventListener<K extends keyof HTMLAtomicPagerElementEventMap>(type: K, listener: (this: HTMLAtomicPagerElement, ev: AtomicPagerCustomEvent<HTMLAtomicPagerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
3634
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3635
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3636
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
3637
|
-
}
|
3638
|
-
var HTMLAtomicPagerElement: {
|
3639
|
-
prototype: HTMLAtomicPagerElement;
|
3640
|
-
new (): HTMLAtomicPagerElement;
|
3641
|
-
};
|
3642
3519
|
/**
|
3643
3520
|
* The `atomic-popover` component displays any facet as a popover menu.
|
3644
3521
|
*/
|
@@ -4212,15 +4089,6 @@ declare global {
|
|
4212
4089
|
prototype: HTMLAtomicSearchBoxRecentQueriesElement;
|
4213
4090
|
new (): HTMLAtomicSearchBoxRecentQueriesElement;
|
4214
4091
|
};
|
4215
|
-
/**
|
4216
|
-
* The `atomic-search-interface` component is the parent to all other atomic components in a search page. It handles the headless search engine and localization configurations.
|
4217
|
-
*/
|
4218
|
-
interface HTMLAtomicSearchInterfaceElement extends Components.AtomicSearchInterface, HTMLStencilElement {
|
4219
|
-
}
|
4220
|
-
var HTMLAtomicSearchInterfaceElement: {
|
4221
|
-
prototype: HTMLAtomicSearchInterfaceElement;
|
4222
|
-
new (): HTMLAtomicSearchInterfaceElement;
|
4223
|
-
};
|
4224
4092
|
/**
|
4225
4093
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
4226
4094
|
*/
|
@@ -4568,7 +4436,6 @@ declare global {
|
|
4568
4436
|
"atomic-notifications": HTMLAtomicNotificationsElement;
|
4569
4437
|
"atomic-numeric-facet": HTMLAtomicNumericFacetElement;
|
4570
4438
|
"atomic-numeric-range": HTMLAtomicNumericRangeElement;
|
4571
|
-
"atomic-pager": HTMLAtomicPagerElement;
|
4572
4439
|
"atomic-popover": HTMLAtomicPopoverElement;
|
4573
4440
|
"atomic-query-error": HTMLAtomicQueryErrorElement;
|
4574
4441
|
"atomic-quickview": HTMLAtomicQuickviewElement;
|
@@ -4617,7 +4484,6 @@ declare global {
|
|
4617
4484
|
"atomic-search-box-instant-results": HTMLAtomicSearchBoxInstantResultsElement;
|
4618
4485
|
"atomic-search-box-query-suggestions": HTMLAtomicSearchBoxQuerySuggestionsElement;
|
4619
4486
|
"atomic-search-box-recent-queries": HTMLAtomicSearchBoxRecentQueriesElement;
|
4620
|
-
"atomic-search-interface": HTMLAtomicSearchInterfaceElement;
|
4621
4487
|
"atomic-segmented-facet": HTMLAtomicSegmentedFacetElement;
|
4622
4488
|
"atomic-segmented-facet-scrollable": HTMLAtomicSegmentedFacetScrollableElement;
|
4623
4489
|
"atomic-smart-snippet": HTMLAtomicSmartSnippetElement;
|
@@ -5960,24 +5826,6 @@ declare namespace LocalJSX {
|
|
5960
5826
|
*/
|
5961
5827
|
"start": number;
|
5962
5828
|
}
|
5963
|
-
/**
|
5964
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
5965
|
-
*/
|
5966
|
-
interface AtomicPager {
|
5967
|
-
/**
|
5968
|
-
* The SVG icon to use to display the Next button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
5969
|
-
*/
|
5970
|
-
"nextButtonIcon"?: string;
|
5971
|
-
/**
|
5972
|
-
* Specifies how many page buttons to display in the pager.
|
5973
|
-
*/
|
5974
|
-
"numberOfPages"?: number;
|
5975
|
-
"onAtomic/scrollToTop"?: (event: AtomicPagerCustomEvent<any>) => void;
|
5976
|
-
/**
|
5977
|
-
* The SVG icon to use to display the Previous button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
5978
|
-
*/
|
5979
|
-
"previousButtonIcon"?: string;
|
5980
|
-
}
|
5981
5829
|
/**
|
5982
5830
|
* The `atomic-popover` component displays any facet as a popover menu.
|
5983
5831
|
*/
|
@@ -6916,72 +6764,6 @@ declare namespace LocalJSX {
|
|
6916
6764
|
*/
|
6917
6765
|
"maxWithoutQuery"?: number;
|
6918
6766
|
}
|
6919
|
-
/**
|
6920
|
-
* The `atomic-search-interface` component is the parent to all other atomic components in a search page. It handles the headless search engine and localization configurations.
|
6921
|
-
*/
|
6922
|
-
interface AtomicSearchInterface {
|
6923
|
-
/**
|
6924
|
-
* The value to set the [nonce](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce) attribute to on inline script and style elements generated by this interface and its child components. If your application is served with a Content Security Policy (CSP) that doesn't include the `script-src: 'unsafe-inline'` or `style-src: 'unsafe-inline'` directives, you should ensure that your application server generates a new nonce on every page load and uses the generated value to set this prop and serve the corresponding CSP response headers (i.e., script-src 'nonce-<YOUR_GENERATED_NONCE>' and style-src 'nonce-<YOUR_GENERATED_NONCE>'). Otherwise you may see console errors such as - Refused to execute inline script because it violates the following Content Security Policy directive: [...] - Refused to apply inline style because it violates the following Content Security Policy directive: [...].
|
6925
|
-
* @example : ```html <script nonce="<YOUR_GENERATED_NONCE>"> import {setNonce} from '@coveo/atomic'; setNonce('<YOUR_GENERATED_NONCE>'); </script> ```
|
6926
|
-
*/
|
6927
|
-
"CspNonce"?: string;
|
6928
|
-
/**
|
6929
|
-
* Whether analytics should be enabled.
|
6930
|
-
*/
|
6931
|
-
"analytics"?: boolean;
|
6932
|
-
/**
|
6933
|
-
* Whether the relevance inspector shortcut should be enabled for this interface. The relevance inspector can be opened by holding the Alt key (Option on Mac) while over the interface, and performing a double click. The relevance inspector allows to troubleshoot and debug queries.
|
6934
|
-
*/
|
6935
|
-
"enableRelevanceInspector"?: boolean;
|
6936
|
-
/**
|
6937
|
-
* The search interface headless engine.
|
6938
|
-
*/
|
6939
|
-
"engine"?: SearchEngine;
|
6940
|
-
/**
|
6941
|
-
* A list of non-default fields to include in the query results. Specify the property as an array using a JSON string representation: ```html <atomic-search-interface fields-to-include='["fieldA", "fieldB"]'></atomic-search-interface> ```
|
6942
|
-
*/
|
6943
|
-
"fieldsToInclude"?: string[] | string;
|
6944
|
-
/**
|
6945
|
-
* The search interface i18next instance.
|
6946
|
-
*/
|
6947
|
-
"i18n"?: i18n;
|
6948
|
-
/**
|
6949
|
-
* The icon assets path. By default, this will be a relative URL pointing to `./assets`. Example: "/mypublicpath/icons"
|
6950
|
-
*/
|
6951
|
-
"iconAssetsPath"?: string;
|
6952
|
-
/**
|
6953
|
-
* The search interface language.
|
6954
|
-
*/
|
6955
|
-
"language"?: string;
|
6956
|
-
/**
|
6957
|
-
* The language assets path. By default, this will be a relative URL pointing to `./lang`. Example: "/mypublicpath/languages"
|
6958
|
-
*/
|
6959
|
-
"languageAssetsPath"?: string;
|
6960
|
-
/**
|
6961
|
-
* The severity level of the messages to log in the console.
|
6962
|
-
*/
|
6963
|
-
"logLevel"?: LogLevel;
|
6964
|
-
/**
|
6965
|
-
* The search interface [query pipeline](https://docs.coveo.com/en/180/). If the search interface is initialized using [`initializeWithSearchEngine`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-interface/#initializewithsearchengine), the query pipeline should instead be configured in the target engine.
|
6966
|
-
*/
|
6967
|
-
"pipeline"?: string;
|
6968
|
-
/**
|
6969
|
-
* Whether the state should be reflected in the URL parameters.
|
6970
|
-
*/
|
6971
|
-
"reflectStateInUrl"?: boolean;
|
6972
|
-
/**
|
6973
|
-
* The CSS selector for the container where the interface will scroll back to.
|
6974
|
-
*/
|
6975
|
-
"scrollContainer"?: string;
|
6976
|
-
/**
|
6977
|
-
* The search interface [search hub](https://docs.coveo.com/en/1342/). If the search interface is initialized using [`initializeWithSearchEngine`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-interface/#initializewithsearchengine, the search hub should instead be configured in the target engine.
|
6978
|
-
*/
|
6979
|
-
"searchHub"?: string;
|
6980
|
-
/**
|
6981
|
-
* The [tz database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) identifier of the time zone to use to correctly interpret dates in the query expression, facets, and result items. By default, the timezone will be [guessed](https://day.js.org/docs/en/timezone/guessing-user-timezone). Example: "America/Montreal"
|
6982
|
-
*/
|
6983
|
-
"timezone"?: string;
|
6984
|
-
}
|
6985
6767
|
/**
|
6986
6768
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
6987
6769
|
*/
|
@@ -7440,7 +7222,6 @@ declare namespace LocalJSX {
|
|
7440
7222
|
"atomic-notifications": AtomicNotifications;
|
7441
7223
|
"atomic-numeric-facet": AtomicNumericFacet;
|
7442
7224
|
"atomic-numeric-range": AtomicNumericRange;
|
7443
|
-
"atomic-pager": AtomicPager;
|
7444
7225
|
"atomic-popover": AtomicPopover;
|
7445
7226
|
"atomic-query-error": AtomicQueryError;
|
7446
7227
|
"atomic-quickview": AtomicQuickview;
|
@@ -7489,7 +7270,6 @@ declare namespace LocalJSX {
|
|
7489
7270
|
"atomic-search-box-instant-results": AtomicSearchBoxInstantResults;
|
7490
7271
|
"atomic-search-box-query-suggestions": AtomicSearchBoxQuerySuggestions;
|
7491
7272
|
"atomic-search-box-recent-queries": AtomicSearchBoxRecentQueries;
|
7492
|
-
"atomic-search-interface": AtomicSearchInterface;
|
7493
7273
|
"atomic-segmented-facet": AtomicSegmentedFacet;
|
7494
7274
|
"atomic-segmented-facet-scrollable": AtomicSegmentedFacetScrollable;
|
7495
7275
|
"atomic-smart-snippet": AtomicSmartSnippet;
|
@@ -7706,10 +7486,6 @@ declare module "@stencil/core" {
|
|
7706
7486
|
* The `atomic-numeric-range` component defines the range of an `atomic-numeric-facet`, and therefore must be defined within an `atomic-numeric-facet` component.
|
7707
7487
|
*/
|
7708
7488
|
"atomic-numeric-range": LocalJSX.AtomicNumericRange & JSXBase.HTMLAttributes<HTMLAtomicNumericRangeElement>;
|
7709
|
-
/**
|
7710
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
7711
|
-
*/
|
7712
|
-
"atomic-pager": LocalJSX.AtomicPager & JSXBase.HTMLAttributes<HTMLAtomicPagerElement>;
|
7713
7489
|
/**
|
7714
7490
|
* The `atomic-popover` component displays any facet as a popover menu.
|
7715
7491
|
*/
|
@@ -8009,10 +7785,6 @@ declare module "@stencil/core" {
|
|
8009
7785
|
* The `atomic-search-box-recent-queries` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of recent query suggestions.
|
8010
7786
|
*/
|
8011
7787
|
"atomic-search-box-recent-queries": LocalJSX.AtomicSearchBoxRecentQueries & JSXBase.HTMLAttributes<HTMLAtomicSearchBoxRecentQueriesElement>;
|
8012
|
-
/**
|
8013
|
-
* The `atomic-search-interface` component is the parent to all other atomic components in a search page. It handles the headless search engine and localization configurations.
|
8014
|
-
*/
|
8015
|
-
"atomic-search-interface": LocalJSX.AtomicSearchInterface & JSXBase.HTMLAttributes<HTMLAtomicSearchInterfaceElement>;
|
8016
7788
|
/**
|
8017
7789
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
8018
7790
|
*/
|