@coveo/atomic 3.33.4-pre.613dec52e8 → 3.33.4-pre.6bf2fc8784
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +4 -0
- package/dist/atomic/components/_index.js +2 -0
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +2 -2
- package/dist/atomic/components/atomic-category-facet.js.map +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.d.ts +11 -0
- package/dist/atomic/components/atomic-facet.js +470 -0
- package/dist/atomic/components/atomic-facet.js.map +1 -0
- 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 +2 -2
- package/dist/atomic/components/atomic-generated-answer-feedback-modal.js.map +1 -1
- package/dist/atomic/components/atomic-html2.js +1 -1
- package/dist/atomic/components/atomic-insight-edit-toggle.js +2 -2
- package/dist/atomic/components/atomic-insight-edit-toggle.js.map +1 -1
- package/dist/atomic/components/atomic-insight-facet.js +4 -37
- package/dist/atomic/components/atomic-insight-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
- package/dist/atomic/components/atomic-insight-full-search-button.js +2 -2
- package/dist/atomic/components/atomic-insight-full-search-button.js.map +1 -1
- package/dist/atomic/components/atomic-insight-history-toggle.js +2 -2
- package/dist/atomic/components/atomic-insight-history-toggle.js.map +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 +2 -2
- package/dist/atomic/components/atomic-insight-numeric-facet.js.map +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 +2 -2
- package/dist/atomic/components/atomic-insight-refine-toggle.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-action.js +2 -2
- package/dist/atomic/components/atomic-insight-result-action.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +2 -2
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js.map +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 +2 -2
- package/dist/atomic/components/atomic-insight-result-quickview-action.js.map +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 +2 -2
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js.map +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 +2 -2
- package/dist/atomic/components/atomic-ipx-refine-toggle.js.map +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 +2 -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 +2 -2
- package/dist/atomic/components/atomic-quickview-modal2.js.map +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/commerce/atomic-commerce-product-list/atomic-commerce-product-list.js +12 -10
- package/dist/atomic/components/components/commerce/atomic-product/atomic-product.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.js +2 -4
- package/dist/atomic/components/components/commerce/atomic-product-rating/atomic-product-rating.js +4 -4
- package/dist/atomic/components/components/common/atomic-rating/atomic-rating.tw.css.js +3 -2
- package/dist/atomic/components/components/search/index.js +0 -2
- package/dist/atomic/components/components/search/lazy-index.js +0 -2
- package/dist/atomic/components/{stencil-facet-guard.js → facet-guard.js} +1 -2
- package/dist/atomic/components/facet-guard.js.map +1 -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/stencil-facet-value.js +39 -0
- package/dist/atomic/components/stencil-facet-value.js.map +1 -0
- package/dist/atomic/components/{iconButton.js → stencil-iconButton.js} +1 -1
- package/dist/atomic/components/stencil-iconButton.js.map +1 -0
- package/dist/atomic/components/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/{p-162e3c32.entry.js → p-047d14c3.entry.js} +2 -2
- package/dist/atomic/{p-162e3c32.entry.js.map → p-047d14c3.entry.js.map} +1 -1
- 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-2f6ab5e0.entry.js → p-0ba2c573.entry.js} +2 -2
- package/dist/atomic/p-0ba2c573.entry.js.map +1 -0
- package/dist/atomic/{p-db8da154.js → p-0ba42cd4.js} +2 -2
- package/dist/atomic/{p-38346ea7.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-1891a142.entry.js +2 -0
- package/dist/atomic/p-1891a142.entry.js.map +1 -0
- 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-aa3ac5aa.js → p-1f059522.js} +1 -1
- package/dist/atomic/p-1f059522.js.map +1 -0
- 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-367b575e.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-8da9bf03.entry.js → p-29d9fcd5.entry.js} +2 -2
- package/dist/atomic/p-29d9fcd5.entry.js.map +1 -0
- package/dist/atomic/{p-65c48376.entry.js → p-33558548.entry.js} +2 -2
- package/dist/atomic/p-33558548.entry.js.map +1 -0
- package/dist/atomic/p-37697010.js +2 -0
- package/dist/atomic/p-37697010.js.map +1 -0
- 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-cebe63d4.entry.js → p-51a935cf.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-d816e681.entry.js → p-53fb3d7c.entry.js} +2 -2
- package/dist/atomic/p-53fb3d7c.entry.js.map +1 -0
- 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-f0a32efe.entry.js → p-618b31a4.entry.js} +2 -2
- package/dist/atomic/{p-cbeca949.entry.js → p-633628d5.entry.js} +2 -2
- package/dist/atomic/p-65aefc6b.entry.js +2 -0
- package/dist/atomic/p-65aefc6b.entry.js.map +1 -0
- package/dist/atomic/{p-8ab3f25b.entry.js → p-6697abe5.entry.js} +2 -2
- package/dist/atomic/{p-fc950da3.entry.js → p-6e10a3e0.entry.js} +2 -2
- package/dist/atomic/{p-431f0e67.entry.js → p-739773f9.entry.js} +2 -2
- package/dist/atomic/p-739773f9.entry.js.map +1 -0
- package/dist/atomic/{p-43f5763b.entry.js → p-76d69c1a.entry.js} +2 -2
- package/dist/atomic/{p-a3c64c2a.entry.js → p-7ffe752b.entry.js} +2 -2
- package/dist/atomic/{p-8f93df24.entry.js → p-8444b0fd.entry.js} +2 -2
- package/dist/atomic/p-8444b0fd.entry.js.map +1 -0
- package/dist/atomic/{p-a7c8794c.entry.js → p-8833f5a7.entry.js} +2 -2
- package/dist/atomic/{p-ca89bb6e.entry.js → p-891266f0.entry.js} +2 -2
- package/dist/atomic/p-891266f0.entry.js.map +1 -0
- package/dist/atomic/{p-a502b2f6.entry.js → p-8b70f39a.entry.js} +2 -2
- package/dist/atomic/{p-3fbd4bc9.entry.js → p-8c714a2a.entry.js} +2 -2
- package/dist/atomic/{p-a7cd2e06.entry.js → p-8ed5d217.entry.js} +2 -2
- package/dist/atomic/p-8ed5d217.entry.js.map +1 -0
- 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-f63e7cec.entry.js → p-97bbac20.entry.js} +2 -2
- package/dist/atomic/p-97bbac20.entry.js.map +1 -0
- package/dist/atomic/{p-80d9f073.entry.js → p-9e3cf8b5.entry.js} +2 -2
- package/dist/atomic/{p-63b4a863.entry.js → p-a113bf37.entry.js} +2 -2
- package/dist/atomic/{p-06465d20.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-e1d97d57.entry.js → p-ad56ed8b.entry.js} +2 -2
- package/dist/atomic/p-ad56ed8b.entry.js.map +1 -0
- package/dist/atomic/{p-156aa33a.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-b9dc0d99.entry.js +2 -0
- package/dist/atomic/p-b9dc0d99.entry.js.map +1 -0
- package/dist/atomic/{p-5e415d54.entry.js → p-bcdcf373.entry.js} +2 -2
- package/dist/atomic/{p-1d8eba10.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-05768310.js → p-ca15e96b.js} +1 -1
- package/dist/atomic/p-ca15e96b.js.map +1 -0
- package/dist/atomic/p-ce83d873.entry.js +2 -0
- package/dist/atomic/{p-67c650ad.entry.js → p-cf878415.entry.js} +2 -2
- package/dist/atomic/p-cf878415.entry.js.map +1 -0
- 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-bcdd4b32.entry.js → p-e9207607.entry.js} +2 -2
- package/dist/atomic/p-e9207607.entry.js.map +1 -0
- 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-6f4da119.entry.js → p-f58bb73f.entry.js} +2 -2
- package/dist/atomic/p-f58bb73f.entry.js.map +1 -0
- 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-d5358efe.js → analytics-config-bf9a7c34.js} +2 -2
- package/dist/cjs/{analytics-config-d5358efe.js.map → analytics-config-bf9a7c34.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-category-facet.cjs.entry.js.map +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 +453 -0
- package/dist/cjs/atomic-facet.cjs.entry.js.map +1 -0
- 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 +3 -3
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +10 -38
- package/dist/cjs/atomic-insight-facet.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js.map +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 -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 +7 -7
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +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/{stencil-facet-guard-9573df7f.js → facet-guard-328b588d.js} +1 -2
- package/dist/cjs/facet-guard-328b588d.js.map +1 -0
- package/dist/cjs/index-757bc886.js +12 -4
- package/dist/cjs/stencil-facet-value-c72a58e6.js +41 -0
- package/dist/cjs/stencil-facet-value-c72a58e6.js.map +1 -0
- package/dist/cjs/{iconButton-3aef664a.js → stencil-iconButton-5123b12a.js} +1 -1
- package/dist/cjs/stencil-iconButton-5123b12a.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-0a02fab7.js → analytics-config-bc06f9c9.js} +2 -2
- package/dist/esm/{analytics-config-0a02fab7.js.map → analytics-config-bc06f9c9.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +2 -2
- package/dist/esm/atomic-category-facet.entry.js.map +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 +449 -0
- package/dist/esm/atomic-facet.entry.js.map +1 -0
- 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 +2 -2
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js.map +1 -1
- package/dist/esm/atomic-html.entry.js +1 -1
- package/dist/esm/atomic-insight-edit-toggle.entry.js +2 -2
- package/dist/esm/atomic-insight-edit-toggle.entry.js.map +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +10 -38
- package/dist/esm/atomic-insight-facet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-full-search-button.entry.js +2 -2
- package/dist/esm/atomic-insight-full-search-button.entry.js.map +1 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +2 -2
- package/dist/esm/atomic-insight-history-toggle.entry.js.map +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 +2 -2
- package/dist/esm/atomic-insight-numeric-facet.entry.js.map +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 +2 -2
- package/dist/esm/atomic-insight-refine-toggle.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-action.entry.js +2 -2
- package/dist/esm/atomic-insight-result-action.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +2 -2
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js.map +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 +2 -2
- package/dist/esm/atomic-insight-result-quickview-action.entry.js.map +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 +2 -2
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js.map +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 +2 -2
- package/dist/esm/atomic-ipx-refine-toggle.entry.js.map +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 -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 +2 -2
- package/dist/esm/atomic-quickview-modal.entry.js.map +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/{stencil-facet-guard-edbfa966.js → facet-guard-4b795e90.js} +1 -2
- package/dist/esm/facet-guard-4b795e90.js.map +1 -0
- package/dist/esm/index-3f35faca.js +12 -4
- package/dist/esm/stencil-facet-value-c080798e.js +39 -0
- package/dist/esm/stencil-facet-value-c080798e.js.map +1 -0
- package/dist/esm/{iconButton-779dd472.js → stencil-iconButton-a96fd45a.js} +1 -1
- package/dist/esm/stencil-iconButton-a96fd45a.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.d.ts +1 -1
- package/dist/types/components/common/atomic-rating/atomic-rating.tw.css.d.ts +2 -0
- package/dist/types/components/common/icon-button.d.ts +12 -0
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +37 -28
- package/dist/types/components/search/atomic-search-interface/interfaces.d.ts +1 -2
- package/dist/types/components/search/{atomic-facet → facets/atomic-facet}/atomic-facet.d.ts +9 -12
- package/dist/types/components/search/index.d.ts +0 -2
- package/dist/types/components.d.ts +338 -2
- package/docs/atomic-docs.json +7677 -6392
- package/package.json +3 -3
- package/dist/atomic/components/components/common/facets/depends-on.js +0 -62
- package/dist/atomic/components/components/common/facets/popover/popover-type.js +0 -5
- package/dist/atomic/components/components/search/atomic-facet/atomic-facet.js +0 -574
- 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/components/iconButton.js.map +0 -1
- package/dist/atomic/components/stencil-facet-guard.js.map +0 -1
- package/dist/atomic/p-05768310.js.map +0 -1
- package/dist/atomic/p-115573a0.entry.js +0 -2
- package/dist/atomic/p-115573a0.entry.js.map +0 -1
- package/dist/atomic/p-256b5495.entry.js +0 -2
- package/dist/atomic/p-2f6ab5e0.entry.js.map +0 -1
- package/dist/atomic/p-431f0e67.entry.js.map +0 -1
- package/dist/atomic/p-65c48376.entry.js.map +0 -1
- package/dist/atomic/p-67c650ad.entry.js.map +0 -1
- package/dist/atomic/p-6f4da119.entry.js.map +0 -1
- package/dist/atomic/p-8da9bf03.entry.js.map +0 -1
- package/dist/atomic/p-8f93df24.entry.js.map +0 -1
- package/dist/atomic/p-a7cd2e06.entry.js.map +0 -1
- package/dist/atomic/p-aa3ac5aa.js.map +0 -1
- package/dist/atomic/p-b2b7c0b8.entry.js +0 -2
- package/dist/atomic/p-bcdd4b32.entry.js.map +0 -1
- package/dist/atomic/p-ca89bb6e.entry.js.map +0 -1
- package/dist/atomic/p-d34cba13.entry.js +0 -2
- package/dist/atomic/p-d816e681.entry.js.map +0 -1
- package/dist/atomic/p-e1d97d57.entry.js.map +0 -1
- package/dist/atomic/p-f63e7cec.entry.js.map +0 -1
- package/dist/cjs/iconButton-3aef664a.js.map +0 -1
- package/dist/cjs/stencil-facet-guard-9573df7f.js.map +0 -1
- package/dist/esm/iconButton-779dd472.js.map +0 -1
- package/dist/esm/stencil-facet-guard-edbfa966.js.map +0 -1
- package/dist/types/components/search/atomic-facet/stencil-atomic-facet.d.ts +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-db8da154.js.map → p-0ba42cd4.js.map} +0 -0
- /package/dist/atomic/{p-38346ea7.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-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-367b575e.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-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-cebe63d4.entry.js.map → p-51a935cf.entry.js.map} +0 -0
- /package/dist/atomic/{p-256b5495.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-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-f0a32efe.entry.js.map → p-618b31a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-cbeca949.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-fc950da3.entry.js.map → p-6e10a3e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-43f5763b.entry.js.map → p-76d69c1a.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3c64c2a.entry.js.map → p-7ffe752b.entry.js.map} +0 -0
- /package/dist/atomic/{p-a7c8794c.entry.js.map → p-8833f5a7.entry.js.map} +0 -0
- /package/dist/atomic/{p-a502b2f6.entry.js.map → p-8b70f39a.entry.js.map} +0 -0
- /package/dist/atomic/{p-3fbd4bc9.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-80d9f073.entry.js.map → p-9e3cf8b5.entry.js.map} +0 -0
- /package/dist/atomic/{p-63b4a863.entry.js.map → p-a113bf37.entry.js.map} +0 -0
- /package/dist/atomic/{p-06465d20.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-156aa33a.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-5e415d54.entry.js.map → p-bcdcf373.entry.js.map} +0 -0
- /package/dist/atomic/{p-1d8eba10.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-d34cba13.entry.js.map → p-ce83d873.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-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-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
- /package/dist/types/components/common/facets/{stencil-facet-guard.d.ts → facet-guard.d.ts} +0 -0
- /package/dist/types/components/common/{iconButton.d.ts → stencil-iconButton.d.ts} +0 -0
|
@@ -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
|
/**
|
|
@@ -288,6 +292,84 @@ export namespace Components {
|
|
|
288
292
|
*/
|
|
289
293
|
"selector": string;
|
|
290
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
|
297
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
|
298
|
+
*/
|
|
299
|
+
interface AtomicFacet {
|
|
300
|
+
/**
|
|
301
|
+
* Specifies an explicit list of `allowedValues` in the Search API request, as a JSON string representation. If you specify a list of values for this option, the facet uses only these values (if they are available in the current result set). Example: The following facet only uses the `Contact`, `Account`, and `File` values of the `objecttype` field. Even if the current result set contains other `objecttype` values, such as `Message`, or `Product`, the facet does not use those other values. ```html <atomic-facet field="objecttype" allowed-values='["Contact","Account","File"]'></atomic-facet> ``` The maximum amount of allowed values is 25. Default value is `undefined`, and the facet uses all available values for its `field` in the current result set.
|
|
302
|
+
*/
|
|
303
|
+
"allowedValues": string[] | string;
|
|
304
|
+
/**
|
|
305
|
+
* Identifies the facet values that must appear at the top, in this order. This parameter can be used in conjunction with the `sortCriteria` parameter. Facet values not part of the `customSort` list will be sorted according to the `sortCriteria`. Example: The following facet will sort the `Contact`, `Account`, and `File` values at the top of the list for the `objecttype` field. If there are more than these 3 values available, the rest of the list will be sorted using `occurrences`. ```html <atomic-facet field="objecttype" custom-sort='["Contact","Account","File"]' sort-criteria='occurrences'></atomic-facet> ``` The maximum amount of custom sort values is 25. The default value is `undefined`, and the facet values will be sorted using only the `sortCriteria`.
|
|
306
|
+
*/
|
|
307
|
+
"customSort": string[] | string;
|
|
308
|
+
/**
|
|
309
|
+
* The required facets and values for this facet to be displayed. Examples: ```html <atomic-facet facet-id="abc" field="objecttype" ...></atomic-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-facet depends-on-abc ... ></atomic-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-facet depends-on-abc="doc" ... ></atomic-facet> ```
|
|
310
|
+
*/
|
|
311
|
+
"dependsOn": Record<string, string>;
|
|
312
|
+
/**
|
|
313
|
+
* Whether to display the facet values as checkboxes (multiple selection), links (single selection) or boxes (multiple selection). Possible values are 'checkbox', 'link', and 'box'.
|
|
314
|
+
*/
|
|
315
|
+
"displayValuesAs": 'checkbox' | 'link' | 'box';
|
|
316
|
+
/**
|
|
317
|
+
* Whether to allow excluding values from the facet.
|
|
318
|
+
*/
|
|
319
|
+
"enableExclusion": boolean;
|
|
320
|
+
/**
|
|
321
|
+
* Specifies a unique identifier for the facet.
|
|
322
|
+
*/
|
|
323
|
+
"facetId"?: string;
|
|
324
|
+
/**
|
|
325
|
+
* The field whose values you want to display in the facet.
|
|
326
|
+
*/
|
|
327
|
+
"field": string;
|
|
328
|
+
/**
|
|
329
|
+
* Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
|
|
330
|
+
*/
|
|
331
|
+
"filterFacetCount": boolean;
|
|
332
|
+
/**
|
|
333
|
+
* The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
|
|
334
|
+
*/
|
|
335
|
+
"headingLevel": number;
|
|
336
|
+
/**
|
|
337
|
+
* The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
|
|
338
|
+
*/
|
|
339
|
+
"injectionDepth": number;
|
|
340
|
+
/**
|
|
341
|
+
* Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
|
|
342
|
+
*/
|
|
343
|
+
"isCollapsed": boolean;
|
|
344
|
+
/**
|
|
345
|
+
* The non-localized label for the facet. Used in the `atomic-breadbox` component through the bindings store.
|
|
346
|
+
*/
|
|
347
|
+
"label": string;
|
|
348
|
+
/**
|
|
349
|
+
* The number of values to request for this facet. Also determines the number of additional values to request each time more values are shown.
|
|
350
|
+
*/
|
|
351
|
+
"numberOfValues": number;
|
|
352
|
+
/**
|
|
353
|
+
* Specifies how a result must match the selected facet values. Allowed values: - `atLeastOneValue`: A result will match if at least one of the corresponding facet values is selected. - `allValues`: A result will match if all corresponding facet values are selected.
|
|
354
|
+
*/
|
|
355
|
+
"resultsMustMatch": FacetResultsMustMatch;
|
|
356
|
+
/**
|
|
357
|
+
* The sort criterion to apply to the returned facet values. Possible values are 'score', 'alphanumeric', 'alphanumericDescending', 'occurrences', alphanumericNatural', 'alphanumericNaturalDescending' and 'automatic'.
|
|
358
|
+
*/
|
|
359
|
+
"sortCriteria": FacetSortCriterion;
|
|
360
|
+
/**
|
|
361
|
+
* The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-excluded='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.
|
|
362
|
+
*/
|
|
363
|
+
"tabsExcluded": string[] | string;
|
|
364
|
+
/**
|
|
365
|
+
* The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-included='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.
|
|
366
|
+
*/
|
|
367
|
+
"tabsIncluded": string[] | string;
|
|
368
|
+
/**
|
|
369
|
+
* Whether this facet should contain a search box.
|
|
370
|
+
*/
|
|
371
|
+
"withSearch": boolean;
|
|
372
|
+
}
|
|
291
373
|
/**
|
|
292
374
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
|
293
375
|
*/
|
|
@@ -2390,6 +2472,84 @@ export namespace Components {
|
|
|
2390
2472
|
*/
|
|
2391
2473
|
"maxWithoutQuery"?: number;
|
|
2392
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/modules/Search.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
|
+
}
|
|
2393
2553
|
/**
|
|
2394
2554
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
2395
2555
|
*/
|
|
@@ -2927,6 +3087,16 @@ declare global {
|
|
|
2927
3087
|
prototype: HTMLAtomicExternalElement;
|
|
2928
3088
|
new (): HTMLAtomicExternalElement;
|
|
2929
3089
|
};
|
|
3090
|
+
/**
|
|
3091
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
|
3092
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
|
3093
|
+
*/
|
|
3094
|
+
interface HTMLAtomicFacetElement extends Components.AtomicFacet, HTMLStencilElement {
|
|
3095
|
+
}
|
|
3096
|
+
var HTMLAtomicFacetElement: {
|
|
3097
|
+
prototype: HTMLAtomicFacetElement;
|
|
3098
|
+
new (): HTMLAtomicFacetElement;
|
|
3099
|
+
};
|
|
2930
3100
|
/**
|
|
2931
3101
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
|
2932
3102
|
*/
|
|
@@ -4098,6 +4268,15 @@ declare global {
|
|
|
4098
4268
|
prototype: HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4099
4269
|
new (): HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4100
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
|
+
};
|
|
4101
4280
|
/**
|
|
4102
4281
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
4103
4282
|
*/
|
|
@@ -4382,6 +4561,7 @@ declare global {
|
|
|
4382
4561
|
"atomic-color-facet": HTMLAtomicColorFacetElement;
|
|
4383
4562
|
"atomic-did-you-mean": HTMLAtomicDidYouMeanElement;
|
|
4384
4563
|
"atomic-external": HTMLAtomicExternalElement;
|
|
4564
|
+
"atomic-facet": HTMLAtomicFacetElement;
|
|
4385
4565
|
"atomic-facet-manager": HTMLAtomicFacetManagerElement;
|
|
4386
4566
|
"atomic-facet-number-input": HTMLAtomicFacetNumberInputElement;
|
|
4387
4567
|
"atomic-field-condition": HTMLAtomicFieldConditionElement;
|
|
@@ -4495,6 +4675,7 @@ declare global {
|
|
|
4495
4675
|
"atomic-search-box-instant-results": HTMLAtomicSearchBoxInstantResultsElement;
|
|
4496
4676
|
"atomic-search-box-query-suggestions": HTMLAtomicSearchBoxQuerySuggestionsElement;
|
|
4497
4677
|
"atomic-search-box-recent-queries": HTMLAtomicSearchBoxRecentQueriesElement;
|
|
4678
|
+
"atomic-search-interface": HTMLAtomicSearchInterfaceElement;
|
|
4498
4679
|
"atomic-segmented-facet": HTMLAtomicSegmentedFacetElement;
|
|
4499
4680
|
"atomic-segmented-facet-scrollable": HTMLAtomicSegmentedFacetScrollableElement;
|
|
4500
4681
|
"atomic-smart-snippet": HTMLAtomicSmartSnippetElement;
|
|
@@ -4756,6 +4937,84 @@ declare namespace LocalJSX {
|
|
|
4756
4937
|
*/
|
|
4757
4938
|
"selector"?: string;
|
|
4758
4939
|
}
|
|
4940
|
+
/**
|
|
4941
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
|
4942
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
|
4943
|
+
*/
|
|
4944
|
+
interface AtomicFacet {
|
|
4945
|
+
/**
|
|
4946
|
+
* Specifies an explicit list of `allowedValues` in the Search API request, as a JSON string representation. If you specify a list of values for this option, the facet uses only these values (if they are available in the current result set). Example: The following facet only uses the `Contact`, `Account`, and `File` values of the `objecttype` field. Even if the current result set contains other `objecttype` values, such as `Message`, or `Product`, the facet does not use those other values. ```html <atomic-facet field="objecttype" allowed-values='["Contact","Account","File"]'></atomic-facet> ``` The maximum amount of allowed values is 25. Default value is `undefined`, and the facet uses all available values for its `field` in the current result set.
|
|
4947
|
+
*/
|
|
4948
|
+
"allowedValues"?: string[] | string;
|
|
4949
|
+
/**
|
|
4950
|
+
* Identifies the facet values that must appear at the top, in this order. This parameter can be used in conjunction with the `sortCriteria` parameter. Facet values not part of the `customSort` list will be sorted according to the `sortCriteria`. Example: The following facet will sort the `Contact`, `Account`, and `File` values at the top of the list for the `objecttype` field. If there are more than these 3 values available, the rest of the list will be sorted using `occurrences`. ```html <atomic-facet field="objecttype" custom-sort='["Contact","Account","File"]' sort-criteria='occurrences'></atomic-facet> ``` The maximum amount of custom sort values is 25. The default value is `undefined`, and the facet values will be sorted using only the `sortCriteria`.
|
|
4951
|
+
*/
|
|
4952
|
+
"customSort"?: string[] | string;
|
|
4953
|
+
/**
|
|
4954
|
+
* The required facets and values for this facet to be displayed. Examples: ```html <atomic-facet facet-id="abc" field="objecttype" ...></atomic-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-facet depends-on-abc ... ></atomic-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-facet depends-on-abc="doc" ... ></atomic-facet> ```
|
|
4955
|
+
*/
|
|
4956
|
+
"dependsOn"?: Record<string, string>;
|
|
4957
|
+
/**
|
|
4958
|
+
* Whether to display the facet values as checkboxes (multiple selection), links (single selection) or boxes (multiple selection). Possible values are 'checkbox', 'link', and 'box'.
|
|
4959
|
+
*/
|
|
4960
|
+
"displayValuesAs"?: 'checkbox' | 'link' | 'box';
|
|
4961
|
+
/**
|
|
4962
|
+
* Whether to allow excluding values from the facet.
|
|
4963
|
+
*/
|
|
4964
|
+
"enableExclusion"?: boolean;
|
|
4965
|
+
/**
|
|
4966
|
+
* Specifies a unique identifier for the facet.
|
|
4967
|
+
*/
|
|
4968
|
+
"facetId"?: string;
|
|
4969
|
+
/**
|
|
4970
|
+
* The field whose values you want to display in the facet.
|
|
4971
|
+
*/
|
|
4972
|
+
"field": string;
|
|
4973
|
+
/**
|
|
4974
|
+
* Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
|
|
4975
|
+
*/
|
|
4976
|
+
"filterFacetCount"?: boolean;
|
|
4977
|
+
/**
|
|
4978
|
+
* The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
|
|
4979
|
+
*/
|
|
4980
|
+
"headingLevel"?: number;
|
|
4981
|
+
/**
|
|
4982
|
+
* The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
|
|
4983
|
+
*/
|
|
4984
|
+
"injectionDepth"?: number;
|
|
4985
|
+
/**
|
|
4986
|
+
* Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
|
|
4987
|
+
*/
|
|
4988
|
+
"isCollapsed"?: boolean;
|
|
4989
|
+
/**
|
|
4990
|
+
* The non-localized label for the facet. Used in the `atomic-breadbox` component through the bindings store.
|
|
4991
|
+
*/
|
|
4992
|
+
"label"?: string;
|
|
4993
|
+
/**
|
|
4994
|
+
* The number of values to request for this facet. Also determines the number of additional values to request each time more values are shown.
|
|
4995
|
+
*/
|
|
4996
|
+
"numberOfValues"?: number;
|
|
4997
|
+
/**
|
|
4998
|
+
* Specifies how a result must match the selected facet values. Allowed values: - `atLeastOneValue`: A result will match if at least one of the corresponding facet values is selected. - `allValues`: A result will match if all corresponding facet values are selected.
|
|
4999
|
+
*/
|
|
5000
|
+
"resultsMustMatch"?: FacetResultsMustMatch;
|
|
5001
|
+
/**
|
|
5002
|
+
* The sort criterion to apply to the returned facet values. Possible values are 'score', 'alphanumeric', 'alphanumericDescending', 'occurrences', alphanumericNatural', 'alphanumericNaturalDescending' and 'automatic'.
|
|
5003
|
+
*/
|
|
5004
|
+
"sortCriteria"?: FacetSortCriterion;
|
|
5005
|
+
/**
|
|
5006
|
+
* The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-excluded='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.
|
|
5007
|
+
*/
|
|
5008
|
+
"tabsExcluded"?: string[] | string;
|
|
5009
|
+
/**
|
|
5010
|
+
* The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-included='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.
|
|
5011
|
+
*/
|
|
5012
|
+
"tabsIncluded"?: string[] | string;
|
|
5013
|
+
/**
|
|
5014
|
+
* Whether this facet should contain a search box.
|
|
5015
|
+
*/
|
|
5016
|
+
"withSearch"?: boolean;
|
|
5017
|
+
}
|
|
4759
5018
|
/**
|
|
4760
5019
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
|
4761
5020
|
*/
|
|
@@ -6739,6 +6998,72 @@ declare namespace LocalJSX {
|
|
|
6739
6998
|
*/
|
|
6740
6999
|
"maxWithoutQuery"?: number;
|
|
6741
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
|
+
}
|
|
6742
7067
|
/**
|
|
6743
7068
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
6744
7069
|
*/
|
|
@@ -7134,6 +7459,7 @@ declare namespace LocalJSX {
|
|
|
7134
7459
|
"atomic-color-facet": AtomicColorFacet;
|
|
7135
7460
|
"atomic-did-you-mean": AtomicDidYouMean;
|
|
7136
7461
|
"atomic-external": AtomicExternal;
|
|
7462
|
+
"atomic-facet": AtomicFacet;
|
|
7137
7463
|
"atomic-facet-manager": AtomicFacetManager;
|
|
7138
7464
|
"atomic-facet-number-input": AtomicFacetNumberInput;
|
|
7139
7465
|
"atomic-field-condition": AtomicFieldCondition;
|
|
@@ -7247,6 +7573,7 @@ declare namespace LocalJSX {
|
|
|
7247
7573
|
"atomic-search-box-instant-results": AtomicSearchBoxInstantResults;
|
|
7248
7574
|
"atomic-search-box-query-suggestions": AtomicSearchBoxQuerySuggestions;
|
|
7249
7575
|
"atomic-search-box-recent-queries": AtomicSearchBoxRecentQueries;
|
|
7576
|
+
"atomic-search-interface": AtomicSearchInterface;
|
|
7250
7577
|
"atomic-segmented-facet": AtomicSegmentedFacet;
|
|
7251
7578
|
"atomic-segmented-facet-scrollable": AtomicSegmentedFacetScrollable;
|
|
7252
7579
|
"atomic-smart-snippet": AtomicSmartSnippet;
|
|
@@ -7319,6 +7646,11 @@ declare module "@stencil/core" {
|
|
|
7319
7646
|
* The `atomic-external` component allows components defined outside of the `atomic-search-interface` to initialize.
|
|
7320
7647
|
*/
|
|
7321
7648
|
"atomic-external": LocalJSX.AtomicExternal & JSXBase.HTMLAttributes<HTMLAtomicExternalElement>;
|
|
7649
|
+
/**
|
|
7650
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
|
7651
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
|
7652
|
+
*/
|
|
7653
|
+
"atomic-facet": LocalJSX.AtomicFacet & JSXBase.HTMLAttributes<HTMLAtomicFacetElement>;
|
|
7322
7654
|
/**
|
|
7323
7655
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
|
7324
7656
|
*/
|
|
@@ -7769,6 +8101,10 @@ declare module "@stencil/core" {
|
|
|
7769
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.
|
|
7770
8102
|
*/
|
|
7771
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>;
|
|
7772
8108
|
/**
|
|
7773
8109
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
|
7774
8110
|
*/
|