@coveo/atomic 3.33.4-pre.d6df6afdb0 → 3.33.4-pre.da0d82cd6a
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 +1 -1
- package/dist/atomic/autoloader/index.esm.js +1 -1
- package/dist/atomic/components/_index.d.ts +2 -0
- package/dist/atomic/components/_index.js +1 -0
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +1 -1
- package/dist/atomic/components/atomic-citation.js +1 -1
- package/dist/atomic/components/atomic-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 +3 -3
- package/dist/atomic/components/atomic-insight-query-error.js +1 -1
- package/dist/atomic/components/atomic-insight-refine-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-result-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 -2
- package/dist/atomic/components/atomic-numeric-facet.js.map +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 +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 +1 -58
- package/dist/atomic/components/atomic-relevance-inspector.js.map +1 -1
- package/dist/atomic/components/atomic-relevance-inspector2.js +62 -0
- package/dist/atomic/components/atomic-relevance-inspector2.js.map +1 -0
- 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.d.ts +11 -0
- package/dist/atomic/components/atomic-search-interface.js +564 -0
- package/dist/atomic/components/atomic-search-interface.js.map +1 -0
- 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/search/index.js +0 -1
- package/dist/atomic/components/components/search/lazy-index.js +0 -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-0f893ac2.entry.js → p-047d14c3.entry.js} +2 -2
- package/dist/atomic/{p-4e52a690.entry.js → p-05ab5909.entry.js} +2 -2
- package/dist/atomic/{p-adbfad02.entry.js → p-09924944.entry.js} +2 -2
- package/dist/atomic/{p-5cc883ed.entry.js → p-0ba2c573.entry.js} +2 -2
- package/dist/atomic/{p-29790bd4.entry.js → p-1246be0e.entry.js} +2 -2
- package/dist/atomic/{p-8d25c828.entry.js → p-15f72dca.entry.js} +2 -2
- package/dist/atomic/{p-0708a2cd.entry.js → p-1891a142.entry.js} +2 -2
- package/dist/atomic/{p-fde02203.entry.js → p-1ae7c81f.entry.js} +2 -2
- package/dist/atomic/{p-12b8f495.entry.js → p-1e0ecf71.entry.js} +2 -2
- package/dist/atomic/{p-3a49e406.entry.js → p-20bbdb90.entry.js} +2 -2
- package/dist/atomic/{p-3b13b1eb.entry.js → p-22294a5c.entry.js} +2 -2
- package/dist/atomic/{p-29396f9d.entry.js → p-241ce78d.entry.js} +2 -2
- package/dist/atomic/{p-bea8ab55.entry.js → p-26b30352.entry.js} +2 -2
- package/dist/atomic/{p-0d6a5189.entry.js → p-29764ce8.entry.js} +2 -2
- package/dist/atomic/{p-f4fa21ec.entry.js → p-29d9fcd5.entry.js} +2 -2
- package/dist/atomic/{p-891f9766.entry.js → p-30c7b3d8.entry.js} +2 -2
- package/dist/atomic/{p-31e4fe8f.entry.js → p-33558548.entry.js} +2 -2
- package/dist/atomic/{p-ffc71a4d.js → p-3b4d82ef.js} +2 -2
- package/dist/atomic/{p-fb7e4f01.entry.js → p-3cf858f2.entry.js} +2 -2
- package/dist/atomic/{p-502ca5f8.entry.js → p-3d42442f.entry.js} +2 -2
- package/dist/atomic/{p-3ad14952.entry.js → p-4657f3ee.entry.js} +2 -2
- package/dist/atomic/{p-185d0587.entry.js → p-50467793.entry.js} +2 -2
- package/dist/atomic/{p-c391f113.entry.js → p-516b5bd4.entry.js} +2 -2
- package/dist/atomic/p-52121e1e.entry.js +2 -0
- package/dist/atomic/{p-4ab83f74.entry.js → p-52189672.entry.js} +2 -2
- package/dist/atomic/{p-1ee9b0c5.entry.js → p-5383aa21.entry.js} +2 -2
- package/dist/atomic/{p-153b9108.entry.js → p-53fb3d7c.entry.js} +2 -2
- package/dist/atomic/{p-24bc372d.entry.js → p-5694553b.entry.js} +2 -2
- package/dist/atomic/{p-51f73f5e.entry.js → p-5f694374.entry.js} +2 -2
- package/dist/atomic/{p-6e43e98c.entry.js → p-6065f250.entry.js} +2 -2
- package/dist/atomic/{p-bb28ef1e.entry.js → p-6082ae7f.entry.js} +2 -2
- package/dist/atomic/{p-f11431a6.entry.js → p-633628d5.entry.js} +2 -2
- package/dist/atomic/{p-8ab3f25b.entry.js → p-6697abe5.entry.js} +2 -2
- package/dist/atomic/{p-0959af5a.entry.js → p-6e10a3e0.entry.js} +2 -2
- package/dist/atomic/{p-29f03371.entry.js → p-739773f9.entry.js} +2 -2
- package/dist/atomic/{p-43f5763b.entry.js → p-76d69c1a.entry.js} +2 -2
- package/dist/atomic/{p-c7129f18.entry.js → p-7ffe752b.entry.js} +2 -2
- package/dist/atomic/{p-0a1ccbf1.entry.js → p-8444b0fd.entry.js} +2 -2
- package/dist/atomic/{p-a7c8794c.entry.js → p-8833f5a7.entry.js} +2 -2
- package/dist/atomic/{p-6494a05c.entry.js → p-891266f0.entry.js} +2 -2
- package/dist/atomic/{p-a502b2f6.entry.js → p-8b70f39a.entry.js} +2 -2
- package/dist/atomic/{p-6456558e.entry.js → p-8c714a2a.entry.js} +2 -2
- package/dist/atomic/{p-e2a6ad4a.entry.js → p-8ed5d217.entry.js} +2 -2
- package/dist/atomic/{p-e2a6ad4a.entry.js.map → p-8ed5d217.entry.js.map} +1 -1
- package/dist/atomic/p-8ef0e022.entry.js +2 -0
- package/dist/atomic/{p-b693b806.entry.js → p-8f638bf3.entry.js} +2 -2
- package/dist/atomic/{p-bab2b979.entry.js → p-9074b855.entry.js} +2 -2
- package/dist/atomic/{p-4ae9f567.entry.js → p-95a21b56.entry.js} +2 -2
- package/dist/atomic/{p-50d6ba4e.entry.js → p-97bbac20.entry.js} +2 -2
- package/dist/atomic/{p-80d9f073.entry.js → p-9e3cf8b5.entry.js} +2 -2
- package/dist/atomic/{p-8c428bb1.entry.js → p-a113bf37.entry.js} +2 -2
- package/dist/atomic/{p-dee7c703.entry.js → p-a59c4d49.entry.js} +2 -2
- package/dist/atomic/{p-c9070d39.entry.js → p-a722a427.entry.js} +2 -2
- package/dist/atomic/{p-43cd2619.entry.js → p-aa21c2d8.entry.js} +2 -2
- package/dist/atomic/{p-6ac67e87.entry.js → p-ad56ed8b.entry.js} +2 -2
- package/dist/atomic/p-b03cd755.entry.js +2 -0
- package/dist/atomic/p-b03cd755.entry.js.map +1 -0
- package/dist/atomic/{p-f93ce906.entry.js → p-b0bd2709.entry.js} +2 -2
- package/dist/atomic/{p-87802851.entry.js → p-b40b9341.entry.js} +2 -2
- package/dist/atomic/{p-d7bf0c0b.entry.js → p-b9dc0d99.entry.js} +2 -2
- package/dist/atomic/{p-5e415d54.entry.js → p-bcdcf373.entry.js} +2 -2
- package/dist/atomic/{p-ecebe9cf.entry.js → p-bfdecd0f.entry.js} +2 -2
- package/dist/atomic/{p-e9822683.entry.js → p-c1a43c8c.entry.js} +2 -2
- package/dist/atomic/{p-fb4f0ecb.entry.js → p-c3784f21.entry.js} +2 -2
- package/dist/atomic/{p-140055cd.entry.js → p-cad812af.entry.js} +2 -2
- package/dist/atomic/p-ce83d873.entry.js +2 -0
- package/dist/atomic/{p-8073a21c.entry.js → p-cf878415.entry.js} +2 -2
- package/dist/atomic/{p-8f5c9c50.entry.js → p-d5071b5a.entry.js} +2 -2
- package/dist/atomic/{p-48668426.entry.js → p-db929bc4.entry.js} +2 -2
- package/dist/atomic/{p-05ac9172.entry.js → p-e40a763b.entry.js} +2 -2
- package/dist/atomic/{p-f04ab33f.entry.js → p-e57a49d5.entry.js} +2 -2
- package/dist/atomic/{p-51ec51b8.entry.js → p-e8e6fc6e.entry.js} +2 -2
- package/dist/atomic/{p-94dce16a.entry.js → p-e9207607.entry.js} +2 -2
- package/dist/atomic/{p-9ae70432.entry.js → p-ee9fd772.entry.js} +2 -2
- package/dist/atomic/{p-d2adf8f7.entry.js → p-f24267a9.entry.js} +2 -2
- package/dist/atomic/{p-1042ab52.entry.js → p-f32dbc1d.entry.js} +2 -2
- package/dist/atomic/{p-4ffc1ea4.entry.js → p-f58bb73f.entry.js} +2 -2
- package/dist/atomic/{p-867c168e.entry.js → p-fa1aebca.entry.js} +2 -2
- package/dist/atomic/{p-14bb74ce.entry.js → p-fc6beee6.entry.js} +2 -2
- package/dist/atomic/{p-ac71586c.entry.js → p-feb020b6.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-f0517d81.js → analytics-config-dea6d0f3.js} +2 -2
- package/dist/cjs/{analytics-config-f0517d81.js.map → analytics-config-dea6d0f3.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-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 -2
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js.map +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 +511 -0
- package/dist/cjs/atomic-search-interface.cjs.entry.js.map +1 -0
- 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 +8 -4
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-0c0024d2.js → analytics-config-e425d2e1.js} +2 -2
- package/dist/esm/{analytics-config-0c0024d2.js.map → analytics-config-e425d2e1.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-citation.entry.js +1 -1
- package/dist/esm/atomic-facet-manager.entry.js +1 -1
- package/dist/esm/atomic-facet-number-input.entry.js +2 -2
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
- package/dist/esm/atomic-html.entry.js +1 -1
- package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +2 -2
- package/dist/esm/atomic-insight-no-results.entry.js +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-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 +1 -2
- package/dist/esm/atomic-numeric-facet.entry.js.map +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 +507 -0
- package/dist/esm/atomic-search-interface.entry.js.map +1 -0
- 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 +8 -4
- package/dist/esm/version.js +2 -2
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +38 -29
- package/dist/types/components/search/atomic-search-interface/interfaces.d.ts +1 -2
- package/dist/types/components/search/index.d.ts +0 -1
- package/dist/types/components.d.ts +165 -2
- package/docs/atomic-docs.json +722 -154
- package/package.json +3 -3
- package/dist/atomic/components/components/search/atomic-search-interface/analytics-config.js +0 -57
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +0 -440
- package/dist/atomic/p-5fd282b3.entry.js +0 -2
- package/dist/atomic/p-b2b7c0b8.entry.js +0 -2
- package/dist/atomic/p-d34cba13.entry.js +0 -2
- /package/dist/atomic/{p-0f893ac2.entry.js.map → p-047d14c3.entry.js.map} +0 -0
- /package/dist/atomic/{p-4e52a690.entry.js.map → p-05ab5909.entry.js.map} +0 -0
- /package/dist/atomic/{p-adbfad02.entry.js.map → p-09924944.entry.js.map} +0 -0
- /package/dist/atomic/{p-5cc883ed.entry.js.map → p-0ba2c573.entry.js.map} +0 -0
- /package/dist/atomic/{p-29790bd4.entry.js.map → p-1246be0e.entry.js.map} +0 -0
- /package/dist/atomic/{p-8d25c828.entry.js.map → p-15f72dca.entry.js.map} +0 -0
- /package/dist/atomic/{p-0708a2cd.entry.js.map → p-1891a142.entry.js.map} +0 -0
- /package/dist/atomic/{p-fde02203.entry.js.map → p-1ae7c81f.entry.js.map} +0 -0
- /package/dist/atomic/{p-12b8f495.entry.js.map → p-1e0ecf71.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a49e406.entry.js.map → p-20bbdb90.entry.js.map} +0 -0
- /package/dist/atomic/{p-3b13b1eb.entry.js.map → p-22294a5c.entry.js.map} +0 -0
- /package/dist/atomic/{p-29396f9d.entry.js.map → p-241ce78d.entry.js.map} +0 -0
- /package/dist/atomic/{p-bea8ab55.entry.js.map → p-26b30352.entry.js.map} +0 -0
- /package/dist/atomic/{p-0d6a5189.entry.js.map → p-29764ce8.entry.js.map} +0 -0
- /package/dist/atomic/{p-f4fa21ec.entry.js.map → p-29d9fcd5.entry.js.map} +0 -0
- /package/dist/atomic/{p-891f9766.entry.js.map → p-30c7b3d8.entry.js.map} +0 -0
- /package/dist/atomic/{p-31e4fe8f.entry.js.map → p-33558548.entry.js.map} +0 -0
- /package/dist/atomic/{p-ffc71a4d.js.map → p-3b4d82ef.js.map} +0 -0
- /package/dist/atomic/{p-fb7e4f01.entry.js.map → p-3cf858f2.entry.js.map} +0 -0
- /package/dist/atomic/{p-502ca5f8.entry.js.map → p-3d42442f.entry.js.map} +0 -0
- /package/dist/atomic/{p-3ad14952.entry.js.map → p-4657f3ee.entry.js.map} +0 -0
- /package/dist/atomic/{p-185d0587.entry.js.map → p-50467793.entry.js.map} +0 -0
- /package/dist/atomic/{p-c391f113.entry.js.map → p-516b5bd4.entry.js.map} +0 -0
- /package/dist/atomic/{p-5fd282b3.entry.js.map → p-52121e1e.entry.js.map} +0 -0
- /package/dist/atomic/{p-4ab83f74.entry.js.map → p-52189672.entry.js.map} +0 -0
- /package/dist/atomic/{p-1ee9b0c5.entry.js.map → p-5383aa21.entry.js.map} +0 -0
- /package/dist/atomic/{p-153b9108.entry.js.map → p-53fb3d7c.entry.js.map} +0 -0
- /package/dist/atomic/{p-24bc372d.entry.js.map → p-5694553b.entry.js.map} +0 -0
- /package/dist/atomic/{p-51f73f5e.entry.js.map → p-5f694374.entry.js.map} +0 -0
- /package/dist/atomic/{p-6e43e98c.entry.js.map → p-6065f250.entry.js.map} +0 -0
- /package/dist/atomic/{p-bb28ef1e.entry.js.map → p-6082ae7f.entry.js.map} +0 -0
- /package/dist/atomic/{p-f11431a6.entry.js.map → p-633628d5.entry.js.map} +0 -0
- /package/dist/atomic/{p-8ab3f25b.entry.js.map → p-6697abe5.entry.js.map} +0 -0
- /package/dist/atomic/{p-0959af5a.entry.js.map → p-6e10a3e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-29f03371.entry.js.map → p-739773f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-43f5763b.entry.js.map → p-76d69c1a.entry.js.map} +0 -0
- /package/dist/atomic/{p-c7129f18.entry.js.map → p-7ffe752b.entry.js.map} +0 -0
- /package/dist/atomic/{p-0a1ccbf1.entry.js.map → p-8444b0fd.entry.js.map} +0 -0
- /package/dist/atomic/{p-a7c8794c.entry.js.map → p-8833f5a7.entry.js.map} +0 -0
- /package/dist/atomic/{p-6494a05c.entry.js.map → p-891266f0.entry.js.map} +0 -0
- /package/dist/atomic/{p-a502b2f6.entry.js.map → p-8b70f39a.entry.js.map} +0 -0
- /package/dist/atomic/{p-6456558e.entry.js.map → p-8c714a2a.entry.js.map} +0 -0
- /package/dist/atomic/{p-b2b7c0b8.entry.js.map → p-8ef0e022.entry.js.map} +0 -0
- /package/dist/atomic/{p-b693b806.entry.js.map → p-8f638bf3.entry.js.map} +0 -0
- /package/dist/atomic/{p-bab2b979.entry.js.map → p-9074b855.entry.js.map} +0 -0
- /package/dist/atomic/{p-4ae9f567.entry.js.map → p-95a21b56.entry.js.map} +0 -0
- /package/dist/atomic/{p-50d6ba4e.entry.js.map → p-97bbac20.entry.js.map} +0 -0
- /package/dist/atomic/{p-80d9f073.entry.js.map → p-9e3cf8b5.entry.js.map} +0 -0
- /package/dist/atomic/{p-8c428bb1.entry.js.map → p-a113bf37.entry.js.map} +0 -0
- /package/dist/atomic/{p-dee7c703.entry.js.map → p-a59c4d49.entry.js.map} +0 -0
- /package/dist/atomic/{p-c9070d39.entry.js.map → p-a722a427.entry.js.map} +0 -0
- /package/dist/atomic/{p-43cd2619.entry.js.map → p-aa21c2d8.entry.js.map} +0 -0
- /package/dist/atomic/{p-6ac67e87.entry.js.map → p-ad56ed8b.entry.js.map} +0 -0
- /package/dist/atomic/{p-f93ce906.entry.js.map → p-b0bd2709.entry.js.map} +0 -0
- /package/dist/atomic/{p-87802851.entry.js.map → p-b40b9341.entry.js.map} +0 -0
- /package/dist/atomic/{p-d7bf0c0b.entry.js.map → p-b9dc0d99.entry.js.map} +0 -0
- /package/dist/atomic/{p-5e415d54.entry.js.map → p-bcdcf373.entry.js.map} +0 -0
- /package/dist/atomic/{p-ecebe9cf.entry.js.map → p-bfdecd0f.entry.js.map} +0 -0
- /package/dist/atomic/{p-e9822683.entry.js.map → p-c1a43c8c.entry.js.map} +0 -0
- /package/dist/atomic/{p-fb4f0ecb.entry.js.map → p-c3784f21.entry.js.map} +0 -0
- /package/dist/atomic/{p-140055cd.entry.js.map → p-cad812af.entry.js.map} +0 -0
- /package/dist/atomic/{p-d34cba13.entry.js.map → p-ce83d873.entry.js.map} +0 -0
- /package/dist/atomic/{p-8073a21c.entry.js.map → p-cf878415.entry.js.map} +0 -0
- /package/dist/atomic/{p-8f5c9c50.entry.js.map → p-d5071b5a.entry.js.map} +0 -0
- /package/dist/atomic/{p-48668426.entry.js.map → p-db929bc4.entry.js.map} +0 -0
- /package/dist/atomic/{p-05ac9172.entry.js.map → p-e40a763b.entry.js.map} +0 -0
- /package/dist/atomic/{p-f04ab33f.entry.js.map → p-e57a49d5.entry.js.map} +0 -0
- /package/dist/atomic/{p-51ec51b8.entry.js.map → p-e8e6fc6e.entry.js.map} +0 -0
- /package/dist/atomic/{p-94dce16a.entry.js.map → p-e9207607.entry.js.map} +0 -0
- /package/dist/atomic/{p-9ae70432.entry.js.map → p-ee9fd772.entry.js.map} +0 -0
- /package/dist/atomic/{p-d2adf8f7.entry.js.map → p-f24267a9.entry.js.map} +0 -0
- /package/dist/atomic/{p-1042ab52.entry.js.map → p-f32dbc1d.entry.js.map} +0 -0
- /package/dist/atomic/{p-4ffc1ea4.entry.js.map → p-f58bb73f.entry.js.map} +0 -0
- /package/dist/atomic/{p-867c168e.entry.js.map → p-fa1aebca.entry.js.map} +0 -0
- /package/dist/atomic/{p-14bb74ce.entry.js.map → p-fc6beee6.entry.js.map} +0 -0
- /package/dist/atomic/{p-ac71586c.entry.js.map → p-feb020b6.entry.js.map} +0 -0
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { type SearchStore } from './store';
|
|
1
|
+
import { LogLevel, SearchEngine, SearchEngineConfiguration } from '@coveo/headless';
|
|
2
|
+
import { i18n } from 'i18next';
|
|
3
|
+
import { InitializeEvent } from '../../../utils/initialization-utils';
|
|
4
|
+
import { StencilBaseAtomicInterface } from '../../common/interface/interface-common-stencil';
|
|
5
|
+
import type { Bindings as _Bindings } from './interfaces';
|
|
7
6
|
export type InitializationOptions = SearchEngineConfiguration;
|
|
8
|
-
export type Bindings =
|
|
9
|
-
declare const AtomicSearchInterface_base: typeof LitElement;
|
|
7
|
+
export type Bindings = _Bindings;
|
|
10
8
|
/**
|
|
11
9
|
* 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.
|
|
12
|
-
*
|
|
13
|
-
* @slot default - The default slot where you can add child components to the interface.
|
|
14
10
|
*/
|
|
15
|
-
export declare class AtomicSearchInterface
|
|
11
|
+
export declare class AtomicSearchInterface implements StencilBaseAtomicInterface<SearchEngine> {
|
|
16
12
|
private urlManager;
|
|
17
13
|
private searchStatus;
|
|
18
14
|
private unsubscribeUrlManager;
|
|
19
15
|
private unsubscribeSearchStatus;
|
|
20
16
|
private initialized;
|
|
21
17
|
private store;
|
|
22
|
-
private
|
|
23
|
-
|
|
18
|
+
private commonInterfaceHelper;
|
|
19
|
+
host: HTMLAtomicSearchInterfaceElement;
|
|
20
|
+
error?: Error;
|
|
24
21
|
relevanceInspectorIsOpen: boolean;
|
|
25
|
-
static styles: CSSResultGroup;
|
|
26
22
|
/**
|
|
27
23
|
* A list of non-default fields to include in the query results.
|
|
28
24
|
*
|
|
@@ -31,7 +27,7 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
|
31
27
|
* <atomic-search-interface fields-to-include='["fieldA", "fieldB"]'></atomic-search-interface>
|
|
32
28
|
* ```
|
|
33
29
|
*/
|
|
34
|
-
fieldsToInclude: string[];
|
|
30
|
+
fieldsToInclude: string[] | string;
|
|
35
31
|
/**
|
|
36
32
|
* The search interface [query pipeline](https://docs.coveo.com/en/180/).
|
|
37
33
|
*
|
|
@@ -101,17 +97,37 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
|
101
97
|
* The relevance inspector allows to troubleshoot and debug queries.
|
|
102
98
|
*/
|
|
103
99
|
enableRelevanceInspector: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* 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.
|
|
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
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
CspNonce?: string;
|
|
104
117
|
private i18Initialized;
|
|
118
|
+
private componentWillLoadCalledPromise;
|
|
119
|
+
private componentWillLoadResolver;
|
|
105
120
|
constructor();
|
|
106
121
|
connectedCallback(): void;
|
|
107
|
-
|
|
122
|
+
componentWillLoad(): void;
|
|
123
|
+
updateSearchConfiguration(updatedProp: 'searchHub' | 'pipeline', newValue: string | undefined): void;
|
|
108
124
|
updateSearchHub(): void;
|
|
109
125
|
updatePipeline(): void;
|
|
110
126
|
toggleAnalytics(): void;
|
|
111
|
-
updateLanguage(): void;
|
|
127
|
+
updateLanguage(): Promise<void> | undefined;
|
|
112
128
|
updateIconAssetsPath(): void;
|
|
113
129
|
disconnectedCallback(): void;
|
|
114
|
-
|
|
130
|
+
handleInitialization(event: InitializeEvent): void;
|
|
115
131
|
scrollToTop(): void;
|
|
116
132
|
closeRelevanceInspector(): void;
|
|
117
133
|
/**
|
|
@@ -119,7 +135,7 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
|
119
135
|
*/
|
|
120
136
|
initialize(options: InitializationOptions): Promise<void>;
|
|
121
137
|
/**
|
|
122
|
-
* Initializes the connection with an already preconfigured [headless search engine](https://docs.coveo.com/en/headless/latest/reference/
|
|
138
|
+
* 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.
|
|
123
139
|
* This bypasses the properties set on the component, such as analytics, searchHub, pipeline, language, timezone & logLevel.
|
|
124
140
|
*/
|
|
125
141
|
initializeWithSearchEngine(engine: SearchEngine): Promise<void>;
|
|
@@ -128,9 +144,7 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
|
128
144
|
* Executes the first search and logs the interface load event to analytics, after initializing connection to the headless search engine.
|
|
129
145
|
*/
|
|
130
146
|
executeFirstSearch(): Promise<void>;
|
|
131
|
-
bindings: Bindings;
|
|
132
|
-
updateSearchConfiguration(updatedProp: 'searchHub' | 'pipeline', newValue: string | undefined): void;
|
|
133
|
-
private getBindings;
|
|
147
|
+
get bindings(): Bindings;
|
|
134
148
|
private initFieldsToInclude;
|
|
135
149
|
registerFieldsToInclude(): void;
|
|
136
150
|
private updateMobileBreakpoint;
|
|
@@ -138,16 +152,11 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
|
138
152
|
private getSearchConfiguration;
|
|
139
153
|
private get fragment();
|
|
140
154
|
private initUrlManager;
|
|
155
|
+
private initAriaLive;
|
|
141
156
|
private initRelevanceInspector;
|
|
142
157
|
private initSearchStatus;
|
|
143
158
|
private updateHash;
|
|
144
159
|
private onHashChange;
|
|
145
160
|
private internalInitialization;
|
|
146
|
-
render():
|
|
147
|
-
}
|
|
148
|
-
declare global {
|
|
149
|
-
interface HTMLElementTagNameMap {
|
|
150
|
-
'atomic-search-interface': AtomicSearchInterface;
|
|
151
|
-
}
|
|
161
|
+
render(): any[];
|
|
152
162
|
}
|
|
153
|
-
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
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';
|
|
4
3
|
import type { SearchStore } from './store';
|
|
5
|
-
export type Bindings = CommonBindings<SearchEngine, SearchStore,
|
|
4
|
+
export type Bindings = CommonBindings<SearchEngine, SearchStore, HTMLAtomicSearchInterfaceElement> & NonceBindings;
|
|
@@ -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, NumericFilter, NumericFilterState, RangeFacetRangeAlgorithm, RangeFacetSortCriterion, RelativeDateUnit, Result, ResultTemplate, ResultTemplateCondition, SearchStatus } from "@coveo/headless";
|
|
8
|
+
import { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult, LogLevel, NumericFilter, NumericFilterState, RangeFacetRangeAlgorithm, RangeFacetSortCriterion, RelativeDateUnit, Result, ResultTemplate, ResultTemplateCondition, SearchEngine, 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,8 +24,10 @@ 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";
|
|
27
29
|
import { SearchBoxSuggestionElement } from "./components/common/suggestions/suggestions-common";
|
|
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";
|
|
30
|
+
export { AutomaticFacet, CategoryFacetSortCriterion, DateFilterRange, DateRangeRequest, FacetResultsMustMatch, FacetSortCriterion, FoldedResult, GeneratedAnswer, GeneratedAnswerCitation, InlineLink, InteractiveCitation, InteractiveResult, LogLevel, NumericFilter, NumericFilterState, RangeFacetRangeAlgorithm, RangeFacetSortCriterion, RelativeDateUnit, Result, ResultTemplate, ResultTemplateCondition, SearchEngine, SearchStatus } from "@coveo/headless";
|
|
29
31
|
export { AtomicInterface } from "./utils/initialization-utils";
|
|
30
32
|
export { AnyBindings } from "./components/common/interface/bindings";
|
|
31
33
|
export { NumberInputType } from "./components/common/facets/facet-number-input/number-input-type";
|
|
@@ -44,6 +46,8 @@ export { Bindings } from "./components/search/atomic-search-interface/atomic-sea
|
|
|
44
46
|
export { SearchStore } from "./components/search/atomic-search-interface/store";
|
|
45
47
|
export { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
|
46
48
|
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";
|
|
47
51
|
export { SearchBoxSuggestionElement } from "./components/common/suggestions/suggestions-common";
|
|
48
52
|
export namespace Components {
|
|
49
53
|
/**
|
|
@@ -2468,6 +2472,84 @@ export namespace Components {
|
|
|
2468
2472
|
*/
|
|
2469
2473
|
"maxWithoutQuery"?: number;
|
|
2470
2474
|
}
|
|
2475
|
+
/**
|
|
2476
|
+
* 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.
|
|
2477
|
+
*/
|
|
2478
|
+
interface AtomicSearchInterface {
|
|
2479
|
+
/**
|
|
2480
|
+
* 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: [...].
|
|
2481
|
+
* @example : ```html <script nonce="<YOUR_GENERATED_NONCE>"> import {setNonce} from '@coveo/atomic'; setNonce('<YOUR_GENERATED_NONCE>'); </script> ```
|
|
2482
|
+
*/
|
|
2483
|
+
"CspNonce"?: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* Whether analytics should be enabled.
|
|
2486
|
+
*/
|
|
2487
|
+
"analytics": boolean;
|
|
2488
|
+
/**
|
|
2489
|
+
* 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.
|
|
2490
|
+
*/
|
|
2491
|
+
"enableRelevanceInspector": boolean;
|
|
2492
|
+
/**
|
|
2493
|
+
* The search interface headless engine.
|
|
2494
|
+
*/
|
|
2495
|
+
"engine"?: SearchEngine;
|
|
2496
|
+
/**
|
|
2497
|
+
* Executes the first search and logs the interface load event to analytics, after initializing connection to the headless search engine.
|
|
2498
|
+
*/
|
|
2499
|
+
"executeFirstSearch": () => Promise<void>;
|
|
2500
|
+
/**
|
|
2501
|
+
* 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> ```
|
|
2502
|
+
*/
|
|
2503
|
+
"fieldsToInclude": string[] | string;
|
|
2504
|
+
/**
|
|
2505
|
+
* The search interface i18next instance.
|
|
2506
|
+
*/
|
|
2507
|
+
"i18n": i18n;
|
|
2508
|
+
/**
|
|
2509
|
+
* The icon assets path. By default, this will be a relative URL pointing to `./assets`. Example: "/mypublicpath/icons"
|
|
2510
|
+
*/
|
|
2511
|
+
"iconAssetsPath": string;
|
|
2512
|
+
/**
|
|
2513
|
+
* Initializes the connection with the headless search engine using options for `accessToken` (required), `organizationId` (required), `environment` (defaults to `prod`), and `renewAccessToken`.
|
|
2514
|
+
*/
|
|
2515
|
+
"initialize": (options: InitializationOptions) => Promise<void>;
|
|
2516
|
+
/**
|
|
2517
|
+
* 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.
|
|
2518
|
+
*/
|
|
2519
|
+
"initializeWithSearchEngine": (engine: SearchEngine) => Promise<void>;
|
|
2520
|
+
/**
|
|
2521
|
+
* The search interface language.
|
|
2522
|
+
*/
|
|
2523
|
+
"language": string;
|
|
2524
|
+
/**
|
|
2525
|
+
* The language assets path. By default, this will be a relative URL pointing to `./lang`. Example: "/mypublicpath/languages"
|
|
2526
|
+
*/
|
|
2527
|
+
"languageAssetsPath": string;
|
|
2528
|
+
/**
|
|
2529
|
+
* The severity level of the messages to log in the console.
|
|
2530
|
+
*/
|
|
2531
|
+
"logLevel"?: LogLevel;
|
|
2532
|
+
/**
|
|
2533
|
+
* 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.
|
|
2534
|
+
*/
|
|
2535
|
+
"pipeline"?: string;
|
|
2536
|
+
/**
|
|
2537
|
+
* Whether the state should be reflected in the URL parameters.
|
|
2538
|
+
*/
|
|
2539
|
+
"reflectStateInUrl": boolean;
|
|
2540
|
+
/**
|
|
2541
|
+
* The CSS selector for the container where the interface will scroll back to.
|
|
2542
|
+
*/
|
|
2543
|
+
"scrollContainer": string;
|
|
2544
|
+
/**
|
|
2545
|
+
* 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.
|
|
2546
|
+
*/
|
|
2547
|
+
"searchHub"?: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* 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"
|
|
2550
|
+
*/
|
|
2551
|
+
"timezone"?: string;
|
|
2552
|
+
}
|
|
2471
2553
|
/**
|
|
2472
2554
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
2473
2555
|
*/
|
|
@@ -4186,6 +4268,15 @@ declare global {
|
|
|
4186
4268
|
prototype: HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4187
4269
|
new (): HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4188
4270
|
};
|
|
4271
|
+
/**
|
|
4272
|
+
* 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.
|
|
4273
|
+
*/
|
|
4274
|
+
interface HTMLAtomicSearchInterfaceElement extends Components.AtomicSearchInterface, HTMLStencilElement {
|
|
4275
|
+
}
|
|
4276
|
+
var HTMLAtomicSearchInterfaceElement: {
|
|
4277
|
+
prototype: HTMLAtomicSearchInterfaceElement;
|
|
4278
|
+
new (): HTMLAtomicSearchInterfaceElement;
|
|
4279
|
+
};
|
|
4189
4280
|
/**
|
|
4190
4281
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
4191
4282
|
*/
|
|
@@ -4584,6 +4675,7 @@ declare global {
|
|
|
4584
4675
|
"atomic-search-box-instant-results": HTMLAtomicSearchBoxInstantResultsElement;
|
|
4585
4676
|
"atomic-search-box-query-suggestions": HTMLAtomicSearchBoxQuerySuggestionsElement;
|
|
4586
4677
|
"atomic-search-box-recent-queries": HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4678
|
+
"atomic-search-interface": HTMLAtomicSearchInterfaceElement;
|
|
4587
4679
|
"atomic-segmented-facet": HTMLAtomicSegmentedFacetElement;
|
|
4588
4680
|
"atomic-segmented-facet-scrollable": HTMLAtomicSegmentedFacetScrollableElement;
|
|
4589
4681
|
"atomic-smart-snippet": HTMLAtomicSmartSnippetElement;
|
|
@@ -6906,6 +6998,72 @@ declare namespace LocalJSX {
|
|
|
6906
6998
|
*/
|
|
6907
6999
|
"maxWithoutQuery"?: number;
|
|
6908
7000
|
}
|
|
7001
|
+
/**
|
|
7002
|
+
* 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.
|
|
7003
|
+
*/
|
|
7004
|
+
interface AtomicSearchInterface {
|
|
7005
|
+
/**
|
|
7006
|
+
* 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: [...].
|
|
7007
|
+
* @example : ```html <script nonce="<YOUR_GENERATED_NONCE>"> import {setNonce} from '@coveo/atomic'; setNonce('<YOUR_GENERATED_NONCE>'); </script> ```
|
|
7008
|
+
*/
|
|
7009
|
+
"CspNonce"?: string;
|
|
7010
|
+
/**
|
|
7011
|
+
* Whether analytics should be enabled.
|
|
7012
|
+
*/
|
|
7013
|
+
"analytics"?: boolean;
|
|
7014
|
+
/**
|
|
7015
|
+
* 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.
|
|
7016
|
+
*/
|
|
7017
|
+
"enableRelevanceInspector"?: boolean;
|
|
7018
|
+
/**
|
|
7019
|
+
* The search interface headless engine.
|
|
7020
|
+
*/
|
|
7021
|
+
"engine"?: SearchEngine;
|
|
7022
|
+
/**
|
|
7023
|
+
* 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> ```
|
|
7024
|
+
*/
|
|
7025
|
+
"fieldsToInclude"?: string[] | string;
|
|
7026
|
+
/**
|
|
7027
|
+
* The search interface i18next instance.
|
|
7028
|
+
*/
|
|
7029
|
+
"i18n"?: i18n;
|
|
7030
|
+
/**
|
|
7031
|
+
* The icon assets path. By default, this will be a relative URL pointing to `./assets`. Example: "/mypublicpath/icons"
|
|
7032
|
+
*/
|
|
7033
|
+
"iconAssetsPath"?: string;
|
|
7034
|
+
/**
|
|
7035
|
+
* The search interface language.
|
|
7036
|
+
*/
|
|
7037
|
+
"language"?: string;
|
|
7038
|
+
/**
|
|
7039
|
+
* The language assets path. By default, this will be a relative URL pointing to `./lang`. Example: "/mypublicpath/languages"
|
|
7040
|
+
*/
|
|
7041
|
+
"languageAssetsPath"?: string;
|
|
7042
|
+
/**
|
|
7043
|
+
* The severity level of the messages to log in the console.
|
|
7044
|
+
*/
|
|
7045
|
+
"logLevel"?: LogLevel;
|
|
7046
|
+
/**
|
|
7047
|
+
* 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.
|
|
7048
|
+
*/
|
|
7049
|
+
"pipeline"?: string;
|
|
7050
|
+
/**
|
|
7051
|
+
* Whether the state should be reflected in the URL parameters.
|
|
7052
|
+
*/
|
|
7053
|
+
"reflectStateInUrl"?: boolean;
|
|
7054
|
+
/**
|
|
7055
|
+
* The CSS selector for the container where the interface will scroll back to.
|
|
7056
|
+
*/
|
|
7057
|
+
"scrollContainer"?: string;
|
|
7058
|
+
/**
|
|
7059
|
+
* 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.
|
|
7060
|
+
*/
|
|
7061
|
+
"searchHub"?: string;
|
|
7062
|
+
/**
|
|
7063
|
+
* 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"
|
|
7064
|
+
*/
|
|
7065
|
+
"timezone"?: string;
|
|
7066
|
+
}
|
|
6909
7067
|
/**
|
|
6910
7068
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
6911
7069
|
*/
|
|
@@ -7415,6 +7573,7 @@ declare namespace LocalJSX {
|
|
|
7415
7573
|
"atomic-search-box-instant-results": AtomicSearchBoxInstantResults;
|
|
7416
7574
|
"atomic-search-box-query-suggestions": AtomicSearchBoxQuerySuggestions;
|
|
7417
7575
|
"atomic-search-box-recent-queries": AtomicSearchBoxRecentQueries;
|
|
7576
|
+
"atomic-search-interface": AtomicSearchInterface;
|
|
7418
7577
|
"atomic-segmented-facet": AtomicSegmentedFacet;
|
|
7419
7578
|
"atomic-segmented-facet-scrollable": AtomicSegmentedFacetScrollable;
|
|
7420
7579
|
"atomic-smart-snippet": AtomicSmartSnippet;
|
|
@@ -7942,6 +8101,10 @@ declare module "@stencil/core" {
|
|
|
7942
8101
|
* 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.
|
|
7943
8102
|
*/
|
|
7944
8103
|
"atomic-search-box-recent-queries": LocalJSX.AtomicSearchBoxRecentQueries & JSXBase.HTMLAttributes<HTMLAtomicSearchBoxRecentQueriesElement>;
|
|
8104
|
+
/**
|
|
8105
|
+
* 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.
|
|
8106
|
+
*/
|
|
8107
|
+
"atomic-search-interface": LocalJSX.AtomicSearchInterface & JSXBase.HTMLAttributes<HTMLAtomicSearchInterfaceElement>;
|
|
7945
8108
|
/**
|
|
7946
8109
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
7947
8110
|
*/
|