@coveo/atomic 3.33.8-pre.a6ca64b34f → 3.33.8-pre.aca5ee1011
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/autoloader/index.cjs.js +2 -2
- package/dist/atomic/autoloader/index.esm.js +2 -2
- package/dist/atomic/components/_index.d.ts +2 -2
- package/dist/atomic/components/_index.js +1 -1
- 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 +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 +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 +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 +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
- package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
- package/dist/atomic/components/atomic-load-more-results.js +1 -1
- package/dist/atomic/components/atomic-no-results.js +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +2 -1
- package/dist/atomic/components/atomic-numeric-facet.js.map +1 -1
- package/dist/atomic/components/atomic-pager.js +3 -3
- package/dist/atomic/components/atomic-query-error.js +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-recs-error.js +1 -1
- package/dist/atomic/components/atomic-recs-interface.js +1 -1
- package/dist/atomic/components/atomic-recs-list.js +1 -1
- package/dist/atomic/components/atomic-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-relevance-inspector.js +46 -1
- package/dist/atomic/components/atomic-relevance-inspector.js.map +1 -1
- package/dist/atomic/components/atomic-result-children.js +1 -1
- package/dist/atomic/components/atomic-result-fields-list.js +1 -1
- package/dist/atomic/components/atomic-result-link.js +1 -1
- package/dist/atomic/components/atomic-result-list.js +1 -1
- package/dist/atomic/components/atomic-result-placeholder2.js +2 -2
- package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
- package/dist/atomic/components/atomic-search-box-instant-results.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries.d.ts +11 -0
- package/dist/atomic/components/atomic-search-box-recent-queries.js +8 -0
- package/dist/atomic/components/atomic-search-box-recent-queries.js.map +1 -0
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +183 -0
- package/dist/atomic/components/atomic-search-box-recent-queries2.js.map +1 -0
- package/dist/atomic/components/atomic-search-box.js +23 -6
- package/dist/atomic/components/atomic-search-box.js.map +1 -1
- package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
- package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
- package/dist/atomic/components/atomic-sort-expression.js +1 -1
- package/dist/atomic/components/atomic-stencil-facet-date-input.js +3 -3
- package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/clock.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +50 -8
- package/dist/atomic/components/components/commerce/atomic-commerce-query-summary/atomic-commerce-query-summary.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +25 -10
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +12 -5
- package/dist/atomic/components/components/common/atomic-modal/atomic-modal.js +2 -0
- package/dist/atomic/components/components/common/formats/format-common.js +1 -1
- package/dist/atomic/components/components/search/atomic-search-interface/analytics-config.js +57 -0
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +496 -0
- package/dist/atomic/components/components/search/atomic-search-layout/atomic-search-layout.js +20 -9
- package/dist/atomic/components/components/search/index.js +1 -1
- package/dist/atomic/components/components/search/lazy-index.js +1 -1
- package/dist/atomic/components/depends-on.js +28 -28
- package/dist/atomic/components/depends-on.js.map +1 -1
- package/dist/atomic/components/facet-number-input.js +2 -2
- package/dist/atomic/components/format-common.js.map +1 -1
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/{p-ba4bf29f.entry.js → p-004adbb8.entry.js} +2 -2
- package/dist/atomic/{p-d0f47b33.entry.js → p-00a6ab8c.entry.js} +2 -2
- package/dist/atomic/{p-3b20b011.entry.js → p-0610b3e7.entry.js} +2 -2
- package/dist/atomic/{p-3a5257b5.entry.js → p-066b9147.entry.js} +2 -2
- package/dist/atomic/{p-ee6771f1.entry.js → p-07b6424c.entry.js} +2 -2
- package/dist/atomic/{p-2f8de0b9.entry.js → p-07fbb49a.entry.js} +2 -2
- package/dist/atomic/{p-811d6dcb.entry.js → p-0b3f6994.entry.js} +2 -2
- package/dist/atomic/{p-83c9244a.entry.js → p-0e27d4f2.entry.js} +2 -2
- package/dist/atomic/{p-c126ee6b.entry.js → p-0e5dc57f.entry.js} +2 -2
- package/dist/atomic/p-0edea6f9.entry.js +2 -0
- package/dist/atomic/{p-20341936.entry.js → p-10b5e0f3.entry.js} +2 -2
- package/dist/atomic/{p-2ca352f4.entry.js → p-15406648.entry.js} +2 -2
- package/dist/atomic/{p-a3efa89e.entry.js → p-160553ce.entry.js} +2 -2
- package/dist/atomic/p-25a96534.js.map +1 -1
- package/dist/atomic/{p-82cda72d.js → p-27e3a50c.js} +2 -2
- package/dist/atomic/{p-de066001.entry.js → p-2a4e9425.entry.js} +2 -2
- package/dist/atomic/{p-26a51a77.entry.js → p-3213225f.entry.js} +2 -2
- package/dist/atomic/{p-c49cfa0c.entry.js → p-383f66dc.entry.js} +2 -2
- package/dist/atomic/{p-021f01d6.entry.js → p-41c5d5fa.entry.js} +2 -2
- package/dist/atomic/{p-e23b3334.entry.js → p-441b1a7b.entry.js} +2 -2
- package/dist/atomic/{p-75e00690.entry.js → p-45c4685e.entry.js} +2 -2
- package/dist/atomic/{p-ae98c582.entry.js → p-4915faeb.entry.js} +2 -2
- package/dist/atomic/{p-e514cdb2.entry.js → p-4a74f4a3.entry.js} +2 -2
- package/dist/atomic/{p-52ba404c.entry.js → p-4c30ca3e.entry.js} +2 -2
- package/dist/atomic/{p-39e63678.entry.js → p-4e9d1f9e.entry.js} +2 -2
- package/dist/atomic/p-516b8165.entry.js +2 -0
- package/dist/atomic/p-516b8165.entry.js.map +1 -0
- package/dist/atomic/{p-877d35b1.entry.js → p-5adbf098.entry.js} +2 -2
- package/dist/atomic/{p-4b3d253b.entry.js → p-65373475.entry.js} +2 -2
- package/dist/atomic/p-6de44060.entry.js +2 -0
- package/dist/atomic/{p-fcf3f7d7.entry.js.map → p-6de44060.entry.js.map} +1 -1
- package/dist/atomic/{p-b28011e6.entry.js → p-71bb8125.entry.js} +2 -2
- package/dist/atomic/{p-c1999888.entry.js → p-754909fe.entry.js} +2 -2
- package/dist/atomic/p-79a9a372.entry.js +2 -0
- package/dist/atomic/{p-c88a3d2d.entry.js.map → p-79a9a372.entry.js.map} +1 -1
- package/dist/atomic/{p-36fab158.entry.js → p-7a6468a7.entry.js} +2 -2
- package/dist/atomic/{p-3a2c900c.entry.js → p-7b1a3cab.entry.js} +2 -2
- package/dist/atomic/{p-d93adf52.entry.js → p-7d63bf7b.entry.js} +2 -2
- package/dist/atomic/{p-d364064c.entry.js → p-7f40e57d.entry.js} +2 -2
- package/dist/atomic/{p-d785121d.entry.js → p-856e858c.entry.js} +2 -2
- package/dist/atomic/{p-e162805d.entry.js → p-8a7a23b7.entry.js} +2 -2
- package/dist/atomic/{p-78b70622.entry.js → p-8acb1466.entry.js} +2 -2
- package/dist/atomic/{p-604c4085.entry.js → p-8df7270f.entry.js} +2 -2
- package/dist/atomic/{p-8256cd44.entry.js → p-9147b0db.entry.js} +2 -2
- package/dist/atomic/{p-37374964.entry.js → p-9727f36b.entry.js} +2 -2
- package/dist/atomic/p-97829295.entry.js +2 -0
- package/dist/atomic/{p-31aa052e.entry.js → p-97e42c43.entry.js} +2 -2
- package/dist/atomic/{p-93e29b24.entry.js → p-9b92b4e2.entry.js} +2 -2
- package/dist/atomic/{p-1ef658d8.entry.js → p-9d023f0b.entry.js} +2 -2
- package/dist/atomic/{p-40635c2d.entry.js → p-9e771351.entry.js} +2 -2
- package/dist/atomic/{p-7b899b57.entry.js → p-a02b1209.entry.js} +2 -2
- package/dist/atomic/{p-9187a339.entry.js → p-a1dd8c62.entry.js} +2 -2
- package/dist/atomic/{p-035f8dc8.entry.js → p-a3fa6695.entry.js} +2 -2
- package/dist/atomic/{p-f0c2dfe8.entry.js → p-abb14108.entry.js} +2 -2
- package/dist/atomic/{p-48f57fd8.entry.js → p-b0c50194.entry.js} +2 -2
- package/dist/atomic/{p-d00a12e9.entry.js → p-b4ad3036.entry.js} +2 -2
- package/dist/atomic/{p-b0b17e21.entry.js → p-b4c34553.entry.js} +2 -2
- package/dist/atomic/{p-98c5b9b8.entry.js → p-b6377fb6.entry.js} +2 -2
- package/dist/atomic/{p-08794435.entry.js → p-ba650801.entry.js} +2 -2
- package/dist/atomic/{p-ea446721.entry.js → p-bd32625e.entry.js} +2 -2
- package/dist/atomic/{p-939eaaac.entry.js → p-bd99fcc1.entry.js} +2 -2
- package/dist/atomic/{p-a760d9f9.entry.js → p-be1b98a6.entry.js} +2 -2
- package/dist/atomic/{p-534b6a0a.entry.js → p-bf1dff76.entry.js} +2 -2
- package/dist/atomic/{p-99b8d52d.entry.js → p-bf49fed3.entry.js} +2 -2
- package/dist/atomic/{p-3f912e98.entry.js → p-c08f4ee6.entry.js} +2 -2
- package/dist/atomic/{p-e1cc5150.js → p-c280cd05.js} +1 -1
- package/dist/atomic/p-c2b4b401.entry.js +2 -0
- package/dist/atomic/{p-a53c7821.entry.js → p-c538c8ac.entry.js} +2 -2
- package/dist/atomic/{p-ca762513.entry.js → p-c889adbd.entry.js} +2 -2
- package/dist/atomic/{p-43d708cb.entry.js → p-c9fe4f77.entry.js} +2 -2
- package/dist/atomic/{p-ae060711.entry.js → p-ce41c447.entry.js} +2 -2
- package/dist/atomic/{p-3c8d109e.entry.js → p-d282e943.entry.js} +2 -2
- package/dist/atomic/{p-3c8d109e.entry.js.map → p-d282e943.entry.js.map} +1 -1
- package/dist/atomic/{p-f22bcb8c.entry.js → p-d2d22ab2.entry.js} +2 -2
- package/dist/atomic/{p-fa8b7c4c.entry.js → p-d4ad7336.entry.js} +2 -2
- package/dist/atomic/{p-627e1265.entry.js → p-d50c96c2.entry.js} +2 -2
- package/dist/atomic/p-dafbe2ef.js +2 -0
- package/dist/atomic/p-dafbe2ef.js.map +1 -0
- package/dist/atomic/{p-bc0d6d3d.entry.js → p-dee60597.entry.js} +2 -2
- package/dist/atomic/{p-b2ff1330.entry.js → p-e1c99e2e.entry.js} +2 -2
- package/dist/atomic/{p-7383fd32.entry.js → p-e3af1bb4.entry.js} +2 -2
- package/dist/atomic/{p-7dfcd6af.entry.js → p-e6a7e7b2.entry.js} +2 -2
- package/dist/atomic/{p-594488f2.entry.js → p-f0012580.entry.js} +2 -2
- package/dist/atomic/{p-7b0b9e9b.entry.js → p-f073a78d.entry.js} +2 -2
- package/dist/atomic/{p-fbe37f4b.entry.js → p-f8d62605.entry.js} +2 -2
- package/dist/atomic/{p-bdbbb47b.entry.js → p-f8ded37c.entry.js} +2 -2
- package/dist/atomic/{p-fea7bf3b.entry.js → p-f936f55e.entry.js} +2 -2
- package/dist/atomic/{p-fbfe913d.entry.js → p-fb1a1e2e.entry.js} +2 -2
- package/dist/atomic/{p-330e6e7c.entry.js → p-fd1326ad.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-4c6d87cf.js → analytics-config-ead50db3.js} +2 -2
- package/dist/cjs/{analytics-config-4c6d87cf.js.map → analytics-config-ead50db3.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
- package/dist/cjs/atomic-color-facet.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 +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 +2 -2
- 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 +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-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-timeframe-facet.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 +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 +3 -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-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-rating-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-rating-range-facet.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 +234 -0
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-search-box.cjs.entry.js +15 -4
- package/dist/cjs/atomic-search-box.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-segmented-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
- package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +3 -3
- package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-timeframe-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/clock-f03ff827.js +7 -0
- package/dist/cjs/clock-f03ff827.js.map +1 -0
- package/dist/cjs/depends-on-f0cf3617.js +68 -0
- package/dist/cjs/depends-on-f0cf3617.js.map +1 -0
- package/dist/cjs/format-common-4aa8aa88.js.map +1 -1
- package/dist/cjs/index-757bc886.js +6 -10
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-46d030a5.js → analytics-config-4429a5de.js} +2 -2
- package/dist/esm/{analytics-config-46d030a5.js.map → analytics-config-4429a5de.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +2 -2
- package/dist/esm/atomic-citation.entry.js +1 -1
- package/dist/esm/atomic-color-facet.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 +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 +2 -2
- 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 +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-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-timeframe-facet.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 +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 +3 -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-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-rating-facet.entry.js +1 -1
- package/dist/esm/atomic-rating-range-facet.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 +229 -0
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js.map +1 -0
- package/dist/esm/atomic-search-box.entry.js +15 -4
- package/dist/esm/atomic-search-box.entry.js.map +1 -1
- package/dist/esm/atomic-segmented-facet.entry.js +1 -1
- package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
- package/dist/esm/atomic-sort-expression.entry.js +1 -1
- package/dist/esm/atomic-stencil-facet-date-input.entry.js +3 -3
- package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
- package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
- package/dist/esm/atomic-tab-button.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic-timeframe-facet.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/clock-add3e9a5.js +5 -0
- package/dist/esm/clock-add3e9a5.js.map +1 -0
- package/dist/esm/depends-on-20dabb86.js +66 -0
- package/dist/esm/depends-on-20dabb86.js.map +1 -0
- package/dist/esm/format-common-274e0f7c.js.map +1 -1
- package/dist/esm/index-3f35faca.js +6 -10
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +30 -2
- package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +1 -0
- package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +1 -0
- package/dist/types/components/search/atomic-search-box/atomic-search-box.d.ts +1 -0
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +46 -44
- package/dist/types/components/search/atomic-search-interface/interfaces.d.ts +2 -1
- package/dist/types/components/search/atomic-search-layout/atomic-search-layout.d.ts +3 -1
- package/dist/types/components/search/index.d.ts +1 -1
- package/dist/types/components/search/{atomic-search-box-recent-queries → search-box-suggestions/atomic-search-box-recent-queries}/atomic-search-box-recent-queries.d.ts +6 -10
- package/dist/types/components.d.ts +27 -141
- package/docs/atomic-docs.json +42 -508
- package/package.json +4 -4
- package/dist/atomic/components/atomic-relevance-inspector2.js +0 -50
- package/dist/atomic/components/atomic-relevance-inspector2.js.map +0 -1
- package/dist/atomic/components/atomic-search-interface.d.ts +0 -11
- package/dist/atomic/components/atomic-search-interface.js +0 -552
- package/dist/atomic/components/atomic-search-interface.js.map +0 -1
- package/dist/atomic/components/components/search/atomic-search-box-recent-queries/atomic-search-box-recent-queries.js +0 -144
- package/dist/atomic/p-0f13077e.js +0 -2
- package/dist/atomic/p-0f13077e.js.map +0 -1
- package/dist/atomic/p-1992b245.entry.js +0 -2
- package/dist/atomic/p-2e9db4ca.entry.js +0 -2
- package/dist/atomic/p-2e9db4ca.entry.js.map +0 -1
- package/dist/atomic/p-ad0f197a.entry.js +0 -2
- package/dist/atomic/p-ad0f197a.entry.js.map +0 -1
- package/dist/atomic/p-c88a3d2d.entry.js +0 -2
- package/dist/atomic/p-d24d34a7.entry.js +0 -2
- package/dist/atomic/p-e2afb475.entry.js +0 -2
- package/dist/atomic/p-fcf3f7d7.entry.js +0 -2
- package/dist/cjs/atomic-search-box-query-suggestions.cjs.entry.js +0 -76
- package/dist/cjs/atomic-search-box-query-suggestions.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-search-interface.cjs.entry.js +0 -511
- package/dist/cjs/atomic-search-interface.cjs.entry.js.map +0 -1
- package/dist/cjs/clock-7aeb19d0.js +0 -7
- package/dist/cjs/clock-7aeb19d0.js.map +0 -1
- package/dist/cjs/depends-on-0d4e4f15.js +0 -68
- package/dist/cjs/depends-on-0d4e4f15.js.map +0 -1
- package/dist/esm/atomic-search-box-query-suggestions.entry.js +0 -72
- package/dist/esm/atomic-search-box-query-suggestions.entry.js.map +0 -1
- package/dist/esm/atomic-search-interface.entry.js +0 -507
- package/dist/esm/atomic-search-interface.entry.js.map +0 -1
- package/dist/esm/clock-b1f5d7f7.js +0 -5
- package/dist/esm/clock-b1f5d7f7.js.map +0 -1
- package/dist/esm/depends-on-d73b0ce3.js +0 -66
- package/dist/esm/depends-on-d73b0ce3.js.map +0 -1
- /package/dist/atomic/{p-ba4bf29f.entry.js.map → p-004adbb8.entry.js.map} +0 -0
- /package/dist/atomic/{p-d0f47b33.entry.js.map → p-00a6ab8c.entry.js.map} +0 -0
- /package/dist/atomic/{p-3b20b011.entry.js.map → p-0610b3e7.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a5257b5.entry.js.map → p-066b9147.entry.js.map} +0 -0
- /package/dist/atomic/{p-ee6771f1.entry.js.map → p-07b6424c.entry.js.map} +0 -0
- /package/dist/atomic/{p-2f8de0b9.entry.js.map → p-07fbb49a.entry.js.map} +0 -0
- /package/dist/atomic/{p-811d6dcb.entry.js.map → p-0b3f6994.entry.js.map} +0 -0
- /package/dist/atomic/{p-83c9244a.entry.js.map → p-0e27d4f2.entry.js.map} +0 -0
- /package/dist/atomic/{p-c126ee6b.entry.js.map → p-0e5dc57f.entry.js.map} +0 -0
- /package/dist/atomic/{p-1992b245.entry.js.map → p-0edea6f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-20341936.entry.js.map → p-10b5e0f3.entry.js.map} +0 -0
- /package/dist/atomic/{p-2ca352f4.entry.js.map → p-15406648.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3efa89e.entry.js.map → p-160553ce.entry.js.map} +0 -0
- /package/dist/atomic/{p-82cda72d.js.map → p-27e3a50c.js.map} +0 -0
- /package/dist/atomic/{p-de066001.entry.js.map → p-2a4e9425.entry.js.map} +0 -0
- /package/dist/atomic/{p-26a51a77.entry.js.map → p-3213225f.entry.js.map} +0 -0
- /package/dist/atomic/{p-c49cfa0c.entry.js.map → p-383f66dc.entry.js.map} +0 -0
- /package/dist/atomic/{p-021f01d6.entry.js.map → p-41c5d5fa.entry.js.map} +0 -0
- /package/dist/atomic/{p-e23b3334.entry.js.map → p-441b1a7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-75e00690.entry.js.map → p-45c4685e.entry.js.map} +0 -0
- /package/dist/atomic/{p-ae98c582.entry.js.map → p-4915faeb.entry.js.map} +0 -0
- /package/dist/atomic/{p-e514cdb2.entry.js.map → p-4a74f4a3.entry.js.map} +0 -0
- /package/dist/atomic/{p-52ba404c.entry.js.map → p-4c30ca3e.entry.js.map} +0 -0
- /package/dist/atomic/{p-39e63678.entry.js.map → p-4e9d1f9e.entry.js.map} +0 -0
- /package/dist/atomic/{p-877d35b1.entry.js.map → p-5adbf098.entry.js.map} +0 -0
- /package/dist/atomic/{p-4b3d253b.entry.js.map → p-65373475.entry.js.map} +0 -0
- /package/dist/atomic/{p-b28011e6.entry.js.map → p-71bb8125.entry.js.map} +0 -0
- /package/dist/atomic/{p-c1999888.entry.js.map → p-754909fe.entry.js.map} +0 -0
- /package/dist/atomic/{p-36fab158.entry.js.map → p-7a6468a7.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a2c900c.entry.js.map → p-7b1a3cab.entry.js.map} +0 -0
- /package/dist/atomic/{p-d93adf52.entry.js.map → p-7d63bf7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-d364064c.entry.js.map → p-7f40e57d.entry.js.map} +0 -0
- /package/dist/atomic/{p-d785121d.entry.js.map → p-856e858c.entry.js.map} +0 -0
- /package/dist/atomic/{p-e162805d.entry.js.map → p-8a7a23b7.entry.js.map} +0 -0
- /package/dist/atomic/{p-78b70622.entry.js.map → p-8acb1466.entry.js.map} +0 -0
- /package/dist/atomic/{p-604c4085.entry.js.map → p-8df7270f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8256cd44.entry.js.map → p-9147b0db.entry.js.map} +0 -0
- /package/dist/atomic/{p-37374964.entry.js.map → p-9727f36b.entry.js.map} +0 -0
- /package/dist/atomic/{p-d24d34a7.entry.js.map → p-97829295.entry.js.map} +0 -0
- /package/dist/atomic/{p-31aa052e.entry.js.map → p-97e42c43.entry.js.map} +0 -0
- /package/dist/atomic/{p-93e29b24.entry.js.map → p-9b92b4e2.entry.js.map} +0 -0
- /package/dist/atomic/{p-1ef658d8.entry.js.map → p-9d023f0b.entry.js.map} +0 -0
- /package/dist/atomic/{p-40635c2d.entry.js.map → p-9e771351.entry.js.map} +0 -0
- /package/dist/atomic/{p-7b899b57.entry.js.map → p-a02b1209.entry.js.map} +0 -0
- /package/dist/atomic/{p-9187a339.entry.js.map → p-a1dd8c62.entry.js.map} +0 -0
- /package/dist/atomic/{p-035f8dc8.entry.js.map → p-a3fa6695.entry.js.map} +0 -0
- /package/dist/atomic/{p-f0c2dfe8.entry.js.map → p-abb14108.entry.js.map} +0 -0
- /package/dist/atomic/{p-48f57fd8.entry.js.map → p-b0c50194.entry.js.map} +0 -0
- /package/dist/atomic/{p-d00a12e9.entry.js.map → p-b4ad3036.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0b17e21.entry.js.map → p-b4c34553.entry.js.map} +0 -0
- /package/dist/atomic/{p-98c5b9b8.entry.js.map → p-b6377fb6.entry.js.map} +0 -0
- /package/dist/atomic/{p-08794435.entry.js.map → p-ba650801.entry.js.map} +0 -0
- /package/dist/atomic/{p-ea446721.entry.js.map → p-bd32625e.entry.js.map} +0 -0
- /package/dist/atomic/{p-939eaaac.entry.js.map → p-bd99fcc1.entry.js.map} +0 -0
- /package/dist/atomic/{p-a760d9f9.entry.js.map → p-be1b98a6.entry.js.map} +0 -0
- /package/dist/atomic/{p-534b6a0a.entry.js.map → p-bf1dff76.entry.js.map} +0 -0
- /package/dist/atomic/{p-99b8d52d.entry.js.map → p-bf49fed3.entry.js.map} +0 -0
- /package/dist/atomic/{p-3f912e98.entry.js.map → p-c08f4ee6.entry.js.map} +0 -0
- /package/dist/atomic/{p-e1cc5150.js.map → p-c280cd05.js.map} +0 -0
- /package/dist/atomic/{p-e2afb475.entry.js.map → p-c2b4b401.entry.js.map} +0 -0
- /package/dist/atomic/{p-a53c7821.entry.js.map → p-c538c8ac.entry.js.map} +0 -0
- /package/dist/atomic/{p-ca762513.entry.js.map → p-c889adbd.entry.js.map} +0 -0
- /package/dist/atomic/{p-43d708cb.entry.js.map → p-c9fe4f77.entry.js.map} +0 -0
- /package/dist/atomic/{p-ae060711.entry.js.map → p-ce41c447.entry.js.map} +0 -0
- /package/dist/atomic/{p-f22bcb8c.entry.js.map → p-d2d22ab2.entry.js.map} +0 -0
- /package/dist/atomic/{p-fa8b7c4c.entry.js.map → p-d4ad7336.entry.js.map} +0 -0
- /package/dist/atomic/{p-627e1265.entry.js.map → p-d50c96c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-bc0d6d3d.entry.js.map → p-dee60597.entry.js.map} +0 -0
- /package/dist/atomic/{p-b2ff1330.entry.js.map → p-e1c99e2e.entry.js.map} +0 -0
- /package/dist/atomic/{p-7383fd32.entry.js.map → p-e3af1bb4.entry.js.map} +0 -0
- /package/dist/atomic/{p-7dfcd6af.entry.js.map → p-e6a7e7b2.entry.js.map} +0 -0
- /package/dist/atomic/{p-594488f2.entry.js.map → p-f0012580.entry.js.map} +0 -0
- /package/dist/atomic/{p-7b0b9e9b.entry.js.map → p-f073a78d.entry.js.map} +0 -0
- /package/dist/atomic/{p-fbe37f4b.entry.js.map → p-f8d62605.entry.js.map} +0 -0
- /package/dist/atomic/{p-bdbbb47b.entry.js.map → p-f8ded37c.entry.js.map} +0 -0
- /package/dist/atomic/{p-fea7bf3b.entry.js.map → p-f936f55e.entry.js.map} +0 -0
- /package/dist/atomic/{p-fbfe913d.entry.js.map → p-fb1a1e2e.entry.js.map} +0 -0
- /package/dist/atomic/{p-330e6e7c.entry.js.map → p-fd1326ad.entry.js.map} +0 -0
@@ -12,7 +12,7 @@ const arrowLeftRounded = require('./arrow-left-rounded-87aa2218.js');
|
|
12
12
|
const stencilButton = require('./stencil-button-94b89acc.js');
|
13
13
|
const stencilFacetValueLabelHighlight = require('./stencil-facet-value-label-highlight-c2421e8f.js');
|
14
14
|
const stencilFacetValueLink = require('./stencil-facet-value-link-8a095034.js');
|
15
|
-
const dependsOn = require('./depends-on-
|
15
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
16
16
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
17
17
|
const facetGuard = require('./facet-guard-328b588d.js');
|
18
18
|
const stencilFacetShowMoreLess = require('./stencil-facet-show-more-less-70f4d20d.js');
|
@@ -485,7 +485,7 @@ const AtomicCategoryFacet = class {
|
|
485
485
|
}
|
486
486
|
render() {
|
487
487
|
const { bindings: { i18n }, label, facetState: { facetSearch, enabled, valuesAsTrees, selectedValueAncestry }, searchStatusState: { hasError, firstSearchExecuted }, } = this;
|
488
|
-
return (index.h(facetGuard.FacetGuard, { key: '
|
488
|
+
return (index.h(facetGuard.FacetGuard, { key: '05348e027579918259ce47139953af36ef1facb7', enabled: enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: valuesAsTrees.length > 0 }, firstSearchExecuted ? (index.h(facetPlaceholder.FacetContainer, null, this.renderHeader(), !this.isCollapsed && [
|
489
489
|
this.renderSearchInput(),
|
490
490
|
stencilFacetValueLabelHighlight.shouldDisplaySearchResults(facetSearch) ? (index.h(index.Fragment, null, facetSearch.values.length ? (index.h(stencilFacetValuesGroup.FacetValuesGroup, { i18n: i18n, label: label, query: facetSearch.query }, this.renderSearchResults())) : (index.h("div", { class: "mt-3" })), this.renderMatches())) : (index.h(index.Fragment, null, index.h(stencilFacetValuesGroup.FacetValuesGroup, { i18n: i18n, label: label }, this.hasParents ? (index.h(CategoryFacetParentAsTreeContainer, { isTopLevel: true, className: "mt-3" }, this.renderValuesTree(selectedValueAncestry, true))) : (index.h(CategoryFacetChildrenAsTreeContainer, { className: "mt-3" }, this.renderChildren()))), this.renderShowMoreLess())),
|
491
491
|
])) : (index.h(facetPlaceholder.FacetPlaceholder, { isCollapsed: this.isCollapsed, numberOfValues: this.numberOfValues }))));
|
@@ -519,7 +519,7 @@ const AtomicCitation = class {
|
|
519
519
|
return (index.h("div", { part: "citation-popover", class: `border-neutral bg-background z-10 rounded-md border p-4 shadow ${this.isOpen ? 'desktop-only:flex' : 'hidden'} mobile-only:hidden flex-col gap-3`, ref: (el) => (this.popupRef = el), role: "dialog" }, index.h("div", { class: "text-neutral-dark truncate text-sm" }, this.citation.uri), index.h(stencilHeading.Heading, { level: 0, class: "text-md font-bold" }, this.citation.title), index.h("p", { class: "text-on-background text-sm" }, this.getTruncatedText())));
|
520
520
|
}
|
521
521
|
render() {
|
522
|
-
return (index.h("div", { key: '
|
522
|
+
return (index.h("div", { key: '722e7bb137739f4cd523113ef80d2626e545b57e', class: "relative" }, index.h(stencilItemLink.LinkWithItemAnalytics, { key: '891daad94243bbefab8beb4224457496fc117444', href: this.anchorUrl(this.citation.clickUri ?? this.citation.uri, this.citation.text, this.citation.fields?.filetype), ref: (el) => (this.citationRef = el), part: "citation", target: "_blank", rel: "noopener", "aria-haspopup": "dialog", className: "bg-background btn-outline-primary border-neutral text-on-background flex items-center rounded-full border p-1", onSelect: () => this.interactiveCitation.select(), onBeginDelayedSelect: () => this.interactiveCitation.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveCitation.cancelPendingSelect(), stopPropagation: this.stopPropagation, onMouseLeave: this.closePopover, onMouseOver: this.delayedPopoverOpen, onFocus: this.openPopover, onBlur: this.closePopover }, index.h("span", { key: 'efde78595c5ce1cea8775f9b5a0a0bf6f6840393', class: "citation-title mx-1 truncate" }, this.citation.title)), this.renderPopover()));
|
523
523
|
}
|
524
524
|
get host() { return index.getElement(this); }
|
525
525
|
static get watchers() { return {
|
@@ -8,7 +8,7 @@ const fieldUtils = require('./field-utils-a715deca.js');
|
|
8
8
|
const initializationUtils = require('./initialization-utils-92f1b080.js');
|
9
9
|
const propsUtils = require('./props-utils-1e4ba1b0.js');
|
10
10
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-aa4c9f6c.js');
|
11
|
-
const dependsOn = require('./depends-on-
|
11
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
12
12
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
13
13
|
const stencilFacetShowMoreLess = require('./stencil-facet-show-more-less-70f4d20d.js');
|
14
14
|
const stencilFacetValueLabelHighlight = require('./stencil-facet-value-label-highlight-c2421e8f.js');
|
@@ -74,7 +74,7 @@ const AtomicFacetManager = class {
|
|
74
74
|
this.bindings?.i18n.off('languageChanged', this.sortFacets);
|
75
75
|
}
|
76
76
|
render() {
|
77
|
-
return index.h("slot", { key: '
|
77
|
+
return index.h("slot", { key: '98bd3b8884cf83b7ed709a2849a5a9f7127b0cc7' });
|
78
78
|
}
|
79
79
|
get host() { return index.getElement(this); }
|
80
80
|
};
|
@@ -47,11 +47,11 @@ const FacetNumberInput = class {
|
|
47
47
|
const inputClasses = 'p-2.5 input-primary placeholder-neutral-dark min-w-0 mr-1';
|
48
48
|
const labelClasses = 'text-neutral-dark text-sm';
|
49
49
|
const step = this.type === 'integer' ? '1' : 'any';
|
50
|
-
return (index.h("form", { key: '
|
50
|
+
return (index.h("form", { key: '3afc8c27aad7fc2f3f280a8e5305dfdbc5291f74', class: "mt-4 gap-y-0.5 px-2", part: "input-form", onSubmit: (e) => {
|
51
51
|
e.preventDefault();
|
52
52
|
this.apply();
|
53
53
|
return false;
|
54
|
-
} }, index.h("label", { key: '
|
54
|
+
} }, index.h("label", { key: '9749444397b017e575f1cbc598ef8d4e440dc8b0', part: "label-start", class: labelClasses, htmlFor: `${this.filterState.facetId}_start` }, minText), index.h("input", { key: '94b1e3e64ec6ef14aff52ecf8e18c52bc987c7a7', part: "input-start", id: `${this.filterState.facetId}_start`, type: "number", step: step, ref: (ref) => (this.startRef = ref), class: inputClasses, "aria-label": minAria, required: true, min: Number.MIN_SAFE_INTEGER, max: this.end, value: this.filterState.range?.start, onInput: (e) => (this.start = e.target.valueAsNumber) }), index.h("label", { key: '89da4fb4747fb9d0cba5251dd3972677867301de', part: "label-end", class: labelClasses, htmlFor: `${this.filterState.facetId}_end` }, maxText), index.h("input", { key: '17813e5183986382376d765716ed60bff74de98c', part: "input-end", id: `${this.filterState.facetId}_end`, type: "number", step: step, ref: (ref) => (this.endRef = ref), class: inputClasses, "aria-label": maxAria, required: true, min: this.start, max: Number.MAX_SAFE_INTEGER, value: this.filterState.range?.end, onInput: (e) => (this.end = e.target.valueAsNumber) }), index.h(stencilButton.Button, { key: 'a98a7d0b356bb5c3eeec2512d96fd5bedc3605a6', style: "outline-primary", type: "submit", part: "input-apply-button", class: "flex-none truncate p-2.5", ariaLabel: applyAria, text: apply })));
|
55
55
|
}
|
56
56
|
};
|
57
57
|
FacetNumberInput.style = AtomicFacetNumberInputStyle0;
|
@@ -8,7 +8,7 @@ const fieldUtils = require('./field-utils-a715deca.js');
|
|
8
8
|
const initializationUtils = require('./initialization-utils-92f1b080.js');
|
9
9
|
const propsUtils = require('./props-utils-1e4ba1b0.js');
|
10
10
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-aa4c9f6c.js');
|
11
|
-
const dependsOn = require('./depends-on-
|
11
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
12
12
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
13
13
|
const facetGuard = require('./facet-guard-328b588d.js');
|
14
14
|
const stencilFacetShowMoreLess = require('./stencil-facet-show-more-less-70f4d20d.js');
|
@@ -266,7 +266,7 @@ const AtomicFacet = class {
|
|
266
266
|
return true;
|
267
267
|
}
|
268
268
|
render() {
|
269
|
-
return (index.h(facetGuard.FacetGuard, { key: '
|
269
|
+
return (index.h(facetGuard.FacetGuard, { key: 'cd17a5197d5c996e448e7e34fa4a499c8d21c16a', enabled: this.facetState.enabled, hasError: this.searchStatusState.hasError, firstSearchExecuted: this.searchStatusState.firstSearchExecuted, hasResults: this.facetState.values.length > 0 }, this.searchStatusState.firstSearchExecuted ? (index.h(facetPlaceholder.FacetContainer, null, index.h(facetPlaceholder.FacetHeader, { i18n: this.bindings.i18n, label: this.definedLabel, onClearFilters: () => {
|
270
270
|
this.focusTargets.header.focusAfterSearch();
|
271
271
|
this.facet.deselectAll();
|
272
272
|
}, numberOfActiveValues: this.activeValues.length, isCollapsed: this.isCollapsed, headingLevel: this.headingLevel, onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed), headerRef: (el) => this.focusTargets.header.setTarget(el) }), this.renderBody())) : (index.h(facetPlaceholder.FacetPlaceholder, { numberOfValues: this.numberOfValues, isCollapsed: this.isCollapsed }))));
|
@@ -23,7 +23,7 @@ const AtomicFormatCurrency = class {
|
|
23
23
|
}
|
24
24
|
render() {
|
25
25
|
if (this.error) {
|
26
|
-
return (index.h("atomic-component-error", { key: '
|
26
|
+
return (index.h("atomic-component-error", { key: '0bfb9ae8202ecb573c97d03fdd094d4c65cd630a', element: this.host, error: this.error }));
|
27
27
|
}
|
28
28
|
}
|
29
29
|
get host() { return index.getElement(this); }
|
@@ -35,7 +35,7 @@ const AtomicFormatNumber = class {
|
|
35
35
|
}
|
36
36
|
render() {
|
37
37
|
if (this.error) {
|
38
|
-
return (index.h("atomic-component-error", { key: '
|
38
|
+
return (index.h("atomic-component-error", { key: '89707eb65b3a8d3000fd35fc348cb44ad4e08b42', element: this.host, error: this.error }));
|
39
39
|
}
|
40
40
|
}
|
41
41
|
get host() { return index.getElement(this); }
|
@@ -38,7 +38,7 @@ const AtomicFormatUnit = class {
|
|
38
38
|
}
|
39
39
|
render() {
|
40
40
|
if (this.error) {
|
41
|
-
return (index.h("atomic-component-error", { key: '
|
41
|
+
return (index.h("atomic-component-error", { key: 'ca4a87a8f048943b94852ae6ba309237f33b2152', element: this.host, error: this.error }));
|
42
42
|
}
|
43
43
|
}
|
44
44
|
get host() { return index.getElement(this); }
|
@@ -383,7 +383,7 @@ const AtomicGeneratedAnswerFeedbackModal = class {
|
|
383
383
|
}
|
384
384
|
render() {
|
385
385
|
this.updateBreakpoints();
|
386
|
-
return (index.h("atomic-modal", { key: '
|
386
|
+
return (index.h("atomic-modal", { key: '4cdbdf6499f2f10ed70256452a53996265afa811', fullscreen: false, isOpen: this.isOpen, close: () => this.close(), container: this.host, part: "generated-answer-feedback-modal", exportparts: exportParts.ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
|
387
387
|
}
|
388
388
|
get host() { return index.getElement(this); }
|
389
389
|
static get watchers() { return {
|
@@ -38,7 +38,7 @@ const AtomicHtml = class {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (index.h("span", { key: '
|
41
|
+
return (index.h("span", { key: '25a661526a3b3c05cd4ebada423004ee0524bccb', innerHTML: this.sanitize ? purify.DOMPurify.sanitize(this.value) : this.value }));
|
42
42
|
}
|
43
43
|
};
|
44
44
|
__decorate([
|
@@ -29,7 +29,7 @@ const AtomicInsightEditToggle = class {
|
|
29
29
|
this.tooltip = '';
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
32
|
+
return (index.h(stencilIconButton.IconButton, { key: '5fc6e66495d8e55aa67f4305a99426b28f2f66d3', partPrefix: "insight-edit-toggle", style: "outline-neutral", icon: EditIcon, ariaLabel: "Edit", onClick: this.clickCallback, title: this.tooltip }));
|
33
33
|
}
|
34
34
|
};
|
35
35
|
AtomicInsightEditToggle.style = AtomicInsightEditToggleStyle0;
|
@@ -6,7 +6,7 @@ const index = require('./index-757bc886.js');
|
|
6
6
|
const insight = require('@coveo/headless/insight');
|
7
7
|
const initializationUtils = require('./initialization-utils-92f1b080.js');
|
8
8
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-aa4c9f6c.js');
|
9
|
-
const dependsOn = require('./depends-on-
|
9
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
10
10
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
11
11
|
const facetGuard = require('./facet-guard-328b588d.js');
|
12
12
|
const stencilFacetShowMoreLess = require('./stencil-facet-show-more-less-70f4d20d.js');
|
@@ -161,7 +161,7 @@ const AtomicInsightFacet = class {
|
|
161
161
|
this.facetConditionsManager?.stopWatching();
|
162
162
|
}
|
163
163
|
render() {
|
164
|
-
return (index.h(facetGuard.FacetGuard, { key: '
|
164
|
+
return (index.h(facetGuard.FacetGuard, { key: '209c91f18074e83047c0139f96132dafed502ef7', enabled: this.facetState.enabled, hasError: this.searchStatusState.hasError, firstSearchExecuted: this.searchStatusState.firstSearchExecuted, hasResults: this.facetState.values.length > 0 }, this.searchStatusState.firstSearchExecuted ? (index.h(facetPlaceholder.FacetContainer, null, index.h(facetPlaceholder.FacetHeader, { i18n: this.bindings.i18n, label: this.label, onClearFilters: () => {
|
165
165
|
this.focusTargets.header.focusAfterSearch();
|
166
166
|
this.facet.deselectAll();
|
167
167
|
}, numberOfActiveValues: this.activeValues.length, isCollapsed: this.isCollapsed, headingLevel: this.headingLevel, onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed), headerRef: (el) => this.focusTargets.header.setTarget(el) }), this.renderBody())) : (index.h(facetPlaceholder.FacetPlaceholder, { numberOfValues: this.numberOfValues, isCollapsed: this.isCollapsed }))));
|
@@ -140,7 +140,7 @@ const AtomicInsightFoldedResultList = class {
|
|
140
140
|
render() {
|
141
141
|
this.itemListCommon.updateBreakpoints();
|
142
142
|
const listClasses = this.computeListDisplayClasses();
|
143
|
-
return (index.h(itemListGuard.ItemListGuard, { key: '
|
143
|
+
return (index.h(itemListGuard.ItemListGuard, { key: '0b0f992ff556c146c2f7cc3204b10e4c53b6c1f2', firstRequestExecuted: this.foldedResultListState.firstSearchExecuted, hasItems: this.foldedResultListState.hasResults, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, hasError: this.foldedResultListState.hasError }, index.h(stencilDisplayWrapper.DisplayWrapper, { key: 'cba4abfceddac1dbde50d7a4c4f6280067e0ebb1', listClasses: listClasses, display: this.display }, index.h(stencilPlaceholders.ResultsPlaceholdersGuard, { key: '4415c252262de75beebc6b1a730e884582753c12', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), index.h(stencilDisplayWrapper.ItemDisplayGuard, { key: '4bf005429fddb905f29f3050845272a578de62be', firstRequestExecuted: this.foldedResultListState.firstSearchExecuted, hasItems: this.foldedResultListState.hasResults }, this.foldedResultListState.results.map((collection, i) => {
|
144
144
|
const atomicInsightResultProps = this.getPropsForAtomicInsightResult(collection);
|
145
145
|
return (index.h("atomic-insight-result", { ...atomicInsightResultProps, part: "outline", ref: (element) => element && this.itemListCommon.setNewResultRef(element, i) }));
|
146
146
|
})))));
|
@@ -38,7 +38,7 @@ const AtomicInsightFullSearchButton = class {
|
|
38
38
|
this.error = undefined;
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
41
|
+
return (index.h(stencilIconButton.IconButton, { key: 'f8a8010b72cc525224a239c98d5e0118a6beeec6', partPrefix: "full-search", style: "outline-neutral", icon: ArrowFull, ariaLabel: this.bindings.i18n.t('full-search'), title: this.tooltip }));
|
42
42
|
}
|
43
43
|
};
|
44
44
|
__decorate([
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-757bc886.js');
|
6
|
-
const clock = require('./clock-
|
6
|
+
const clock = require('./clock-f03ff827.js');
|
7
7
|
const stencilIconButton = require('./stencil-iconButton-738b1548.js');
|
8
8
|
require('./stencil-button-94b89acc.js');
|
9
9
|
require('./event-utils-9bfcf3c5.js');
|
@@ -21,7 +21,7 @@ const AtomicInsightHistoryToggle = class {
|
|
21
21
|
this.tooltip = '';
|
22
22
|
}
|
23
23
|
render() {
|
24
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
24
|
+
return (index.h(stencilIconButton.IconButton, { key: '6b51befa85ec864f15534e4ca42e0bdbb2692e24', partPrefix: "insight-history-toggle", style: "outline-neutral", icon: clock.Clock, ariaLabel: "history", onClick: this.clickCallback, title: this.tooltip }));
|
25
25
|
}
|
26
26
|
};
|
27
27
|
AtomicInsightHistoryToggle.style = AtomicInsightHistoryToggleStyle0;
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"atomic-insight-history-toggle.entry.cjs.js","mappings":";;;;;;;;;;;AAAA,MAAM,6BAA6B,GAAG,yqjEAAyqjE,CAAC;AAChtjE,yCAAe,6BAA6B;;MCW/B,0BAA0B;;;QACP,kBAAa,GAAe,SAAQ,CAAC;QAErC,YAAO,GAAG,EAAE,CAAC;6BAFe,SAAQ;uBAE1B,EAAE;;IAEnC,MAAM;QACX,QACEA,QAACC,4BAAU,qDACT,UAAU,EAAC,wBAAwB,EACnC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAEC,
|
1
|
+
{"file":"atomic-insight-history-toggle.entry.cjs.js","mappings":";;;;;;;;;;;AAAA,MAAM,6BAA6B,GAAG,yqjEAAyqjE,CAAC;AAChtjE,yCAAe,6BAA6B;;MCW/B,0BAA0B;;;QACP,kBAAa,GAAe,SAAQ,CAAC;QAErC,YAAO,GAAG,EAAE,CAAC;6BAFe,SAAQ;uBAE1B,EAAE;;IAEnC,MAAM;QACX,QACEA,QAACC,4BAAU,qDACT,UAAU,EAAC,wBAAwB,EACnC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAEC,WAAS,EACf,SAAS,EAAC,SAAS,EACnB,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,KAAK,EAAE,IAAI,CAAC,OAAO,GACnB,EACF;KACH;;;;;;","names":["h","IconButton","Clockicon"],"sources":["src/components/insight/atomic-insight-history-toggle/atomic-insight-history-toggle.pcss?tag=atomic-insight-history-toggle&encapsulation=shadow","src/components/insight/atomic-insight-history-toggle/atomic-insight-history-toggle.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n","import {Component, h, Prop} from '@stencil/core';\nimport Clockicon from '../../../images/clock.svg';\nimport {IconButton} from '../../common/stencil-iconButton';\n\n/**\n * @internal\n */\n@Component({\n tag: 'atomic-insight-history-toggle',\n styleUrl: 'atomic-insight-history-toggle.pcss',\n shadow: true,\n})\nexport class AtomicInsightHistoryToggle {\n @Prop({mutable: true}) public clickCallback: () => void = () => {};\n\n @Prop({mutable: true}) public tooltip = '';\n\n public render() {\n return (\n <IconButton\n partPrefix=\"insight-history-toggle\"\n style=\"outline-neutral\"\n icon={Clockicon}\n ariaLabel=\"history\"\n onClick={this.clickCallback}\n title={this.tooltip}\n />\n );\n }\n}\n"],"version":3}
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-757bc886.js');
|
6
6
|
const initQueue = require('./init-queue-a18aa323.js');
|
7
7
|
const insight = require('@coveo/headless/insight');
|
8
|
-
const analyticsConfig = require('./analytics-config-
|
8
|
+
const analyticsConfig = require('./analytics-config-ead50db3.js');
|
9
9
|
const propsUtils = require('./props-utils-1e4ba1b0.js');
|
10
10
|
const replaceBreakpointUtils = require('./replace-breakpoint-utils-7a084f54.js');
|
11
11
|
const store = require('./store-82abd941.js');
|
@@ -288,7 +288,7 @@ const AtomicInsightInterface = class {
|
|
288
288
|
this.initialized = true;
|
289
289
|
}
|
290
290
|
render() {
|
291
|
-
return (this.engine && (index.h(index.Host, { key: '
|
291
|
+
return (this.engine && (index.h(index.Host, { key: '53ae449a082a237aeaf252b434ac3f2ccac3b355' }, index.h("slot", { key: '014213e9abbe998a723c646913deb2d93ed3b806', name: "full-search" }), index.h("slot", { key: 'ce4e1360340307e0c17121c199c08f0dce8a003a' }))));
|
292
292
|
}
|
293
293
|
get host() { return index.getElement(this); }
|
294
294
|
static get watchers() { return {
|
@@ -43,7 +43,7 @@ const AtomicInsightNoResults = class {
|
|
43
43
|
}
|
44
44
|
render() {
|
45
45
|
const { bindings: { i18n }, } = this;
|
46
|
-
return (index.h("div", { key: '
|
46
|
+
return (index.h("div", { key: 'a23c36b70bcc6d0e71e68bb890ff2e2a27286169', class: "p-3 text-center" }, index.h(stencilTips.NoItemsGuard, { key: '80949ee88ba1d432dc12fcd00763e0326999cbb5', ...this.searchStatusState }, index.h(stencilMagnifyingGlass.NoItemsContainer, { key: 'ad7ddbd0582ab7e5668add11192e516cf9b44873' }, index.h(stencilMagnifyingGlass.MagnifyingGlass, { key: 'fbe200d569271d4b386f4ff6df591ddca9becce1' }), index.h(stencilTips.NoItems, { key: '1a20ceaa235e6fcbd1aa4ae8adbc78041b184bd9', query: this.querySummaryState.query, i18n: i18n, i18nKey: "no-results" }), index.h(stencilTips.SearchTips, { key: '3ae8f891aed35cc44f6e19555c5c7803f2acd81e', i18n: i18n })))));
|
47
47
|
}
|
48
48
|
};
|
49
49
|
__decorate([
|
@@ -9,7 +9,7 @@ const initializationUtils = require('./initialization-utils-92f1b080.js');
|
|
9
9
|
const propsUtils = require('./props-utils-1e4ba1b0.js');
|
10
10
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-aa4c9f6c.js');
|
11
11
|
const utils = require('./utils-7153ae6b.js');
|
12
|
-
const dependsOn = require('./depends-on-
|
12
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
13
13
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
14
14
|
const facetGuard = require('./facet-guard-328b588d.js');
|
15
15
|
const stencilValuesContainer = require('./stencil-values-container-9f50ec1a.js');
|
@@ -262,7 +262,7 @@ const AtomicInsightNumericFacet = class {
|
|
262
262
|
}
|
263
263
|
render() {
|
264
264
|
const { searchStatusState: { firstSearchExecuted, hasError }, bindings: { i18n }, label, numberOfSelectedValues, isCollapsed, headingLevel, focusTarget, withInput, filter, } = this;
|
265
|
-
return (index.h(facetGuard.FacetGuard, { key: '
|
265
|
+
return (index.h(facetGuard.FacetGuard, { key: 'cbcd1f3da333944008f7aa9dc26ee7fc8e1aac5e', enabled: this.enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: this.shouldRenderFacet }, firstSearchExecuted ? (index.h(facetPlaceholder.FacetContainer, null, index.h(facetPlaceholder.FacetHeader, { i18n: i18n, label: label, onClearFilters: () => {
|
266
266
|
focusTarget.focusAfterSearch();
|
267
267
|
if (this.filterState?.range) {
|
268
268
|
this.filter?.clear();
|
@@ -57,15 +57,15 @@ const AtomicInsightPager = class {
|
|
57
57
|
this.scrollToTopEvent.emit();
|
58
58
|
}
|
59
59
|
render() {
|
60
|
-
return (index.h(index.Host, { key: '
|
60
|
+
return (index.h(index.Host, { key: 'b1322f38ffddc548e489d1f855d28bb6ff393cc7' }, index.h(stencilPagerNavigation.PagerNavigation, { key: 'cd1a9e8c02badcd228d70e4a0120801e3b8465b3', i18n: this.bindings.i18n }, index.h(stencilPagerNavigation.PagerPreviousButton, { key: '3e18e5c1bd7f6f150139eeaeb2c747cece7756c0', icon: arrowLeftRounded.ArrowLeftIcon, disabled: !this.pagerState.hasPreviousPage, i18n: this.bindings.i18n, onClick: () => {
|
61
61
|
this.pager.previousPage();
|
62
62
|
this.focusOnFirstResultAndScrollToTop();
|
63
|
-
} }), index.h(stencilPagerNavigation.PagerPageButtons, { key: '
|
63
|
+
} }), index.h(stencilPagerNavigation.PagerPageButtons, { key: '31bd65d83e00cbad05a40ff53b964a1fdb62d6f8', i18n: this.bindings.i18n }, this.pagerState.currentPages.map((pageNumber) => {
|
64
64
|
return (index.h(stencilPagerNavigation.PagerPageButton, { isSelected: this.pager.isCurrentPage(pageNumber), ariaLabel: this.bindings.i18n.t('page-number', { pageNumber }), onChecked: () => {
|
65
65
|
this.pager.selectPage(pageNumber);
|
66
66
|
this.focusOnFirstResultAndScrollToTop();
|
67
67
|
}, page: pageNumber, groupName: this.radioGroupName, text: pageNumber.toLocaleString(this.bindings.i18n.language) }));
|
68
|
-
})), index.h(stencilPagerNavigation.PagerNextButton, { key: '
|
68
|
+
})), index.h(stencilPagerNavigation.PagerNextButton, { key: 'fb64237dff6f55bc7d5ce212097a05736d1db8a4', icon: arrowRightRounded.ArrowRightIcon, disabled: !this.pagerState.hasNextPage, i18n: this.bindings.i18n, onClick: () => {
|
69
69
|
this.pager.nextPage();
|
70
70
|
this.focusOnFirstResultAndScrollToTop();
|
71
71
|
} }))));
|
@@ -48,7 +48,7 @@ const AtomicQueryError = class {
|
|
48
48
|
if (hasError) {
|
49
49
|
this.ariaMessage = stencilLink.getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
50
50
|
}
|
51
|
-
return (index.h(stencilLink.QueryErrorGuard, { key: '
|
51
|
+
return (index.h(stencilLink.QueryErrorGuard, { key: '18dc2e83185dd0820b1a3c59a09de6dbca32505d', hasError: hasError }, index.h(stencilLink.QueryErrorContainer, { key: '205f102a865c6d6d0c8306f9fc30bfa62652d80f' }, index.h(stencilLink.QueryErrorIcon, { key: '486d1d6784b26fb722758e8e7ee9facbc719fec1', errorType: error?.type }), index.h(stencilLink.QueryErrorTitle, { key: '4f7ec033db523fab12d6c43680d51dd4bc8ce487', i18n: i18n, organizationId: organizationId }), index.h(stencilLink.QueryErrorDescription, { key: 'd2e1f142a3df55578dd8b41fad93065578ccde23', i18n: i18n, organizationId: organizationId, url: url }), index.h(stencilLink.QueryErrorShowMore, { key: '14bfc75c18e46f3231c8144c3093b12c3ccb9896', link: index.h(stencilLink.QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), index.h(stencilLink.QueryErrorDetails, { key: '0d13ac67caee0ff6621ce62011c9634cf3d68dfd', error: error, show: this.showMoreInfo }))));
|
52
52
|
}
|
53
53
|
};
|
54
54
|
__decorate([
|
@@ -86,12 +86,12 @@ const AtomicInsightRefineModal = class {
|
|
86
86
|
return (index.h("aside", { slot: "body", class: "flex flex-col w-full" }, this.renderHeader(), index.h("slot", { name: "facets" })));
|
87
87
|
}
|
88
88
|
render() {
|
89
|
-
return (index.h(index.Host, { key: '
|
89
|
+
return (index.h(index.Host, { key: '572005258b9ca0b03f2d3695c2cf34b19230ae1b' }, this.interfaceDimensions && (index.h("style", { key: 'bca809425a5a1fc7a65e5c876504bdde23c64136' }, `atomic-modal::part(backdrop) {
|
90
90
|
top: ${this.interfaceDimensions.top}px;
|
91
91
|
left: ${this.interfaceDimensions.left}px;
|
92
92
|
width: ${this.interfaceDimensions.width}px;
|
93
93
|
height: ${this.interfaceDimensions.height}px;
|
94
|
-
}`)), index.h(stencilModal.RefineModal, { key: '
|
94
|
+
}`)), index.h(stencilModal.RefineModal, { key: '03ca226e506ae944c32abb88cb461c89c452580a', i18n: this.bindings.i18n, host: this.host, isOpen: this.isOpen, onClose: () => (this.isOpen = false), numberOfItems: this.querySummaryState.total, title: this.bindings.i18n.t('filters'), openButton: this.openButton, scope: this.bindings.interfaceElement }, this.renderBody())));
|
95
95
|
}
|
96
96
|
componentDidLoad() {
|
97
97
|
this.host.style.display = '';
|
@@ -59,7 +59,7 @@ const AtomicInsightRefineToggle = class {
|
|
59
59
|
this.modalRef.openButton = this.buttonRef;
|
60
60
|
}
|
61
61
|
render() {
|
62
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
62
|
+
return (index.h(stencilIconButton.IconButton, { key: 'a597455f34f5b2bfb08dba34ac180a65d67b3c3b', partPrefix: "insight-refine-toggle", style: "outline-neutral", title: this.bindings.i18n.t('filters'), icon: filter.FilterIcon, disabled: !this.searchStatusState.hasResults && !this.numberOfBreadcrumbs, ariaLabel: this.bindings.i18n.t('sort'), onClick: () => {
|
63
63
|
this.bindings.store.waitUntilAppLoaded(() => {
|
64
64
|
this.enableModal();
|
65
65
|
});
|
@@ -124,7 +124,7 @@ const AtomicInsightResultAction = class {
|
|
124
124
|
}
|
125
125
|
}
|
126
126
|
render() {
|
127
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
127
|
+
return (index.h(stencilIconButton.IconButton, { key: '5bfc0b93f8fe44cfebbf937610cfe9c23d12f8bb', partPrefix: "result-action", style: "outline-neutral", icon: this.getIcon(), title: this.tooltip, onClick: () => this.onClick() }));
|
128
128
|
}
|
129
129
|
};
|
130
130
|
__decorate([
|
@@ -74,7 +74,7 @@ const AtomicInsightResultAttachToCaseAction = class {
|
|
74
74
|
: this.bindings.i18n.t('attach-to-case');
|
75
75
|
}
|
76
76
|
render() {
|
77
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
77
|
+
return (index.h(stencilIconButton.IconButton, { key: 'ebf5f45e034e5f915ea989983c0524a64cde7828', partPrefix: "result-action", style: "outline-neutral", icon: this.getIcon(), title: this.getTooltip(), onClick: () => this.onClick() }));
|
78
78
|
}
|
79
79
|
get host() { return index.getElement(this); }
|
80
80
|
};
|
@@ -43,7 +43,7 @@ const AtomicInsightResultAttachToCaseIndicator = class {
|
|
43
43
|
}
|
44
44
|
render() {
|
45
45
|
if (this.attachToCase.isAttached()) {
|
46
|
-
return (index.h("atomic-icon", { key: '
|
46
|
+
return (index.h("atomic-icon", { key: 'f5a9c8ef641335fd25e885cb7c2bc78abf40e084', part: "icon", class: "flex w-5 justify-center", icon: attach.AttachIcon, title: this.bindings.i18n.t('result-is-attached') }));
|
47
47
|
}
|
48
48
|
}
|
49
49
|
get host() { return index.getElement(this); }
|
@@ -132,7 +132,7 @@ const AtomicResultChildren = class {
|
|
132
132
|
return (index.h(showHideButton.ChildrenWrapper, { hasChildren: children.length > 0 }, children.map((child, i) => this.renderChild(child, i === children.length - 1))));
|
133
133
|
}
|
134
134
|
render() {
|
135
|
-
return (index.h(showHideButton.ResultChildrenGuard, { key: '
|
135
|
+
return (index.h(showHideButton.ResultChildrenGuard, { key: '373a3b5e413999083c60c826aab9d93851a8a76b', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
|
136
136
|
}
|
137
137
|
get host() { return index.getElement(this); }
|
138
138
|
};
|
@@ -115,7 +115,7 @@ const AtomicInsightResultList = class {
|
|
115
115
|
render() {
|
116
116
|
this.itemListCommon.updateBreakpoints();
|
117
117
|
const listClasses = this.computeListDisplayClasses();
|
118
|
-
return (index.h(itemListGuard.ItemListGuard, { key: '
|
118
|
+
return (index.h(itemListGuard.ItemListGuard, { key: '68c6de3278b153a5999e117a36938fe55b67d178', hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults, hasError: this.resultListState.hasError }, index.h(stencilDisplayWrapper.DisplayWrapper, { key: '088d9b3819274cebd30c17ef86664cbfc6912ca2', listClasses: listClasses, display: this.display }, index.h(stencilPlaceholders.ResultsPlaceholdersGuard, { key: '87135c73b06dbc15afbc0ca271a211e23fc10830', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), index.h(stencilDisplayWrapper.ItemDisplayGuard, { key: '022af0fc1875857d00bdef23dc68457b859fc2de', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.resultListState.results.map((result, i) => {
|
119
119
|
const atomicInsightResultProps = this.getPropsForAtomicInsightResult(result);
|
120
120
|
return (index.h("atomic-insight-result", { ...atomicInsightResultProps, part: "outline", ref: (element) => element && this.itemListCommon.setNewResultRef(element, i) }));
|
121
121
|
})))));
|
@@ -118,7 +118,7 @@ const AtomicInsightResultQuickviewAction = class {
|
|
118
118
|
this.addQuickviewModalIfNeeded();
|
119
119
|
this.updateModalContent();
|
120
120
|
if (this.shouldRenderQuickview) {
|
121
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
121
|
+
return (index.h(stencilIconButton.IconButton, { key: 'a731ecd4015b07e448f043a56246318fa06d4aa4', partPrefix: "result-action", style: "outline-neutral", ref: this.focusTarget.setTarget, icon: preview.QuickviewIcon, title: this.bindings.i18n.t('quickview'), onClick: () => this.onClick() }));
|
122
122
|
}
|
123
123
|
}
|
124
124
|
get host() { return index.getElement(this); }
|
@@ -76,7 +76,7 @@ const AtomicInsightResult = class {
|
|
76
76
|
.join('');
|
77
77
|
}
|
78
78
|
render() {
|
79
|
-
return (index.h(index.Host, { key: '
|
79
|
+
return (index.h(index.Host, { key: '505c25b1654eb640ab6e06b25b162a56d43f491f', class: stencilItemListCommon.resultComponentClass }, index.h("div", { key: 'cb2689c14b83b4dc8356c4cb0150017972f8613e', class: `result-root ${this.layout
|
80
80
|
.getClasses()
|
81
81
|
.concat(this.classes)
|
82
82
|
.join(' ')}`, innerHTML: this.getContentHTML() })));
|
@@ -216,13 +216,13 @@ const AtomicInsightSearchBox = class {
|
|
216
216
|
: this.bindings.i18n.t('query-suggestions-unavailable');
|
217
217
|
}
|
218
218
|
render() {
|
219
|
-
return (index.h(stencilSuggestionManager.SearchBoxWrapper, { key: '
|
219
|
+
return (index.h(stencilSuggestionManager.SearchBoxWrapper, { key: 'f92f6078e860d6984ebb5f55ebbc166606b5a509', disabled: this.disableSearch, onFocusout: (event) => {
|
220
220
|
if (!utils.isFocusingOut(event)) {
|
221
221
|
return;
|
222
222
|
}
|
223
223
|
this.suggestionManager.clearSuggestions();
|
224
224
|
this.isExpanded = false;
|
225
|
-
} }, index.h("atomic-icon", { key: '
|
225
|
+
} }, index.h("atomic-icon", { key: '1fc15cc40b0eafac001ed602d482973002ac01ed', part: "submit-icon", icon: stencilSuggestionManager.SearchSlimIcon, class: "my-auto mr-0 ml-4 h-4 w-4" }), index.h(stencilSuggestionManager.SearchTextArea, { key: '15315ae93d56c429993452860f20a4dc3ba23eec', textAreaRef: this.textAreaRef, loading: this.searchBoxState.isLoading, ref: (el) => el && (this.textAreaRef = el), bindings: this.bindings, value: this.searchBoxState.value, ariaLabel: this.getSearchInputLabel(), placeholder: this.bindings.i18n.t('search-ellipsis'), onFocus: () => this.onFocus(), onKeyDown: (e) => this.onKeyDown(e), onClear: () => {
|
226
226
|
this.searchBox.clear();
|
227
227
|
this.triggerTextAreaChange('');
|
228
228
|
}, onInput: (e) => this.onInput(e.target.value) }), this.renderSuggestions()));
|
@@ -53,9 +53,9 @@ const AtomicInsightSmartSnippetFeedbackModal = class {
|
|
53
53
|
}
|
54
54
|
render() {
|
55
55
|
replaceBreakpointUtils.updateBreakpoints(this.host);
|
56
|
-
return (index.h("atomic-modal", { key: '
|
56
|
+
return (index.h("atomic-modal", { key: '7f27e946204b80ac255fcc91ca67b26d0a1bfe2e', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: exportParts.ATOMIC_MODAL_EXPORT_PARTS }, index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalHeader, { key: '2862eb9f636366ad7ce3a7679829454ac66b6972', i18n: this.bindings.i18n }), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalBody, { key: 'a6b2665561a15085af500b239d4c1b33edf97974', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeebackModalOptions, { key: '5529b15ba4d771c0e1ecbef2319e0851f118ab7f', i18n: this.bindings.i18n }, smartSnippetFeedbackModalCommon.smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
|
57
57
|
this.currentAnswer = correspondingAnswer;
|
58
|
-
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '
|
58
|
+
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '7a3d40453da9dbc950693f5664e805dbfcd8cf0e', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalFooter, { key: '60c5f2461918a776fa9c1333cdc1224facd4c841', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
59
59
|
}
|
60
60
|
close() {
|
61
61
|
this.isOpen = false;
|
@@ -25,7 +25,7 @@ const AtomicInsightTabs = class {
|
|
25
25
|
this.error = undefined;
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (index.h("atomic-tab-bar", { key: '
|
28
|
+
return (index.h("atomic-tab-bar", { key: 'f6fd5e43db6567e6c31818e29378a7917e917e88' }, index.h("slot", { key: 'aaa18852e801b844d251be5ed4978cf82b68811b' })));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
__decorate([
|
@@ -7,7 +7,7 @@ const insight = require('@coveo/headless/insight');
|
|
7
7
|
const initializationUtils = require('./initialization-utils-92f1b080.js');
|
8
8
|
const propsUtils = require('./props-utils-1e4ba1b0.js');
|
9
9
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-aa4c9f6c.js');
|
10
|
-
const dependsOn = require('./depends-on-
|
10
|
+
const dependsOn = require('./depends-on-f0cf3617.js');
|
11
11
|
const facetPlaceholder = require('./facet-placeholder-22074f05.js');
|
12
12
|
const timeframeFacetCommon = require('./timeframe-facet-common-b5535cca.js');
|
13
13
|
require('./dom-utils-d4790328.js');
|
@@ -155,7 +155,7 @@ const AtomicInsightUserActionsSession = class {
|
|
155
155
|
render() {
|
156
156
|
const isShowMoreActionsButtonVisible = !this.areActionsAfterCaseCreationVisible &&
|
157
157
|
!!this.userActionsAfterCaseCreation.length;
|
158
|
-
return (index.h("div", { key: '
|
158
|
+
return (index.h("div", { key: 'd249a7e9e88e9fc6fc722cd2174e6939ac8007dd' }, this.renderSessionStartDate(), this.areActionsAfterCaseCreationVisible && (index.h("div", { key: '46d9f919e1c82a1c2f8c3887e08a32710a750586', "data-testid": "more-actions-section" }, this.renderActions(this.userActionsAfterCaseCreation))), isShowMoreActionsButtonVisible && this.renderShowMoreActionsButton(), this.renderActions(this.userActionsToDisplay)));
|
159
159
|
}
|
160
160
|
static get watchers() { return {
|
161
161
|
"userActions": ["prepareUserActionsToDisplay"]
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-757bc886.js');
|
6
6
|
const insight = require('@coveo/headless/insight');
|
7
|
-
const clock = require('./clock-
|
7
|
+
const clock = require('./clock-f03ff827.js');
|
8
8
|
const initializationUtils = require('./initialization-utils-92f1b080.js');
|
9
9
|
const stencilIconButton = require('./stencil-iconButton-738b1548.js');
|
10
10
|
require('./dom-utils-d4790328.js');
|
@@ -64,7 +64,7 @@ const AtomicInsightUserActionsToggle = class {
|
|
64
64
|
this.modalRef.excludedCustomActions = this.excludedCustomActions;
|
65
65
|
}
|
66
66
|
render() {
|
67
|
-
return (index.h(stencilIconButton.IconButton, { key: '
|
67
|
+
return (index.h(stencilIconButton.IconButton, { key: '944b266236746e954178687006e56395f3e24868', partPrefix: "insight-user-actions-toggle", style: "outline-neutral", icon: clock.Clock, ariaLabel: this.bindings.i18n.t('user-actions'), onClick: () => {
|
68
68
|
this.enableModal();
|
69
69
|
}, title: this.bindings.i18n.t('user-actions'), buttonRef: (button) => {
|
70
70
|
if (!button) {
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"atomic-insight-user-actions-toggle.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,iCAAiC,GAAG,yqjEAAyqjE,CAAC;AACptjE,6CAAe,iCAAiC;;;;;;;;;;;;MCuBnC,8BAA8B;;;;;;QAsB1B,0BAAqB,GAAa,EAAE,CAAC;;;;;qCAAH,EAAE;;IAE5C,UAAU;QACf,IAAI,CAAC,WAAW,GAAGA,wBAAuB,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YAC/D,OAAO,EAAE;gBACP,kBAAkB,EAAE,IAAI,CAAC,sBAAsB;gBAC/C,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;aAClD;SACF,CAAC,CAAC;KACJ;IAKO,WAAW;QACjB,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAC;KACvC;IAEO,SAAS;QACf,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,mCAAmC,CAAC,CAAC;QAE5E,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9D,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;QAC1C,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;QACnE,IAAI,CAAC,QAAQ,CAAC,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;KAClE;IAEM,MAAM;QACX,QACEC,QAACC,4BAAU,qDACT,UAAU,EAAC,6BAA6B,EACxC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAEC,
|
1
|
+
{"file":"atomic-insight-user-actions-toggle.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,iCAAiC,GAAG,yqjEAAyqjE,CAAC;AACptjE,6CAAe,iCAAiC;;;;;;;;;;;;MCuBnC,8BAA8B;;;;;;QAsB1B,0BAAqB,GAAa,EAAE,CAAC;;;;;qCAAH,EAAE;;IAE5C,UAAU;QACf,IAAI,CAAC,WAAW,GAAGA,wBAAuB,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YAC/D,OAAO,EAAE;gBACP,kBAAkB,EAAE,IAAI,CAAC,sBAAsB;gBAC/C,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;aAClD;SACF,CAAC,CAAC;KACJ;IAKO,WAAW;QACjB,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAC;KACvC;IAEO,SAAS;QACf,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,mCAAmC,CAAC,CAAC;QAE5E,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9D,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;QAC1C,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;QACnE,IAAI,CAAC,QAAQ,CAAC,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;KAClE;IAEM,MAAM;QACX,QACEC,QAACC,4BAAU,qDACT,UAAU,EAAC,6BAA6B,EACxC,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAEC,WAAS,EACf,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,EAC/C,OAAO,EAAE;gBACP,IAAI,CAAC,WAAW,EAAE,CAAC;aACpB,EACD,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,EAC3C,SAAS,EAAE,CAAC,MAA0B;gBACpC,IAAI,CAAC,MAAM,EAAE;oBACX,OAAO;iBACR;gBACD,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;gBACxB,IAAI,CAAC,SAAS,EAAE,CAAC;aAClB,GACD,EACF;KACH;;;AAvE4B;IAA5BC,sCAAkB,EAAE;gEAAmC;AAIjD;IAFNC,yCAAqB,CAAC,aAAa,CAAC;wEAEa;;;;;","names":["buildInsightUserActions","h","IconButton","Clockicon","InitializeBindings","BindStateToController"],"sources":["src/components/insight/user-actions/atomic-insight-user-actions-toggle/atomic-insight-user-actions-toggle.pcss?tag=atomic-insight-user-actions-toggle&encapsulation=shadow","src/components/insight/user-actions/atomic-insight-user-actions-toggle/atomic-insight-user-actions-toggle.tsx"],"sourcesContent":["@import '../../../../global/global.pcss';\n","import {\n buildUserActions as buildInsightUserActions,\n UserActions as InsightUserActions,\n UserActionsState as InsightUserActionsState,\n} from '@coveo/headless/insight';\nimport {Component, h, Prop, Element, State} from '@stencil/core';\nimport Clockicon from '../../../../images/clock.svg';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {IconButton} from '../../../common/stencil-iconButton';\nimport {InsightBindings} from '../../atomic-insight-interface/atomic-insight-interface';\n\n/**\n * Internal component of the atomic-insight-interface\n * The `atomic-insight-user-actions-toggle` component displays a button that opens a modal containing the user actions timeline component.\n */\n@Component({\n tag: 'atomic-insight-user-actions-toggle',\n styleUrl: 'atomic-insight-user-actions-toggle.pcss',\n shadow: true,\n})\nexport class AtomicInsightUserActionsToggle\n implements InitializableComponent<InsightBindings>\n{\n @Element() public host!: HTMLElement;\n @InitializeBindings() public bindings!: InsightBindings;\n public userActions!: InsightUserActions;\n @BindStateToController('userActions')\n @State()\n public userActionsState!: InsightUserActionsState;\n @State() public error!: Error;\n\n /**\n * The ID of the user whose actions are being displayed.\n */\n @Prop() public userId!: string;\n /**\n * The date and time when the case was created. For example \"2024-01-01T00:00:00Z\"\n */\n @Prop() public ticketCreationDateTime!: string;\n /**\n * The names of custom events to exclude.\n */\n @Prop() public excludedCustomActions: string[] = [];\n\n public initialize() {\n this.userActions = buildInsightUserActions(this.bindings.engine, {\n options: {\n ticketCreationDate: this.ticketCreationDateTime,\n excludedCustomActions: this.excludedCustomActions,\n },\n });\n }\n\n private buttonRef?: HTMLButtonElement;\n private modalRef?: HTMLAtomicInsightUserActionsModalElement;\n\n private enableModal() {\n this.modalRef && (this.modalRef.isOpen = true);\n this.userActions.logOpenUserActions();\n }\n\n private loadModal() {\n if (this.modalRef) {\n return;\n }\n\n this.modalRef = document.createElement('atomic-insight-user-actions-modal');\n\n this.host.insertAdjacentElement('beforebegin', this.modalRef);\n this.modalRef.openButton = this.buttonRef;\n this.modalRef.userId = this.userId;\n this.modalRef.ticketCreationDateTime = this.ticketCreationDateTime;\n this.modalRef.excludedCustomActions = this.excludedCustomActions;\n }\n\n public render() {\n return (\n <IconButton\n partPrefix=\"insight-user-actions-toggle\"\n style=\"outline-neutral\"\n icon={Clockicon}\n ariaLabel={this.bindings.i18n.t('user-actions')}\n onClick={() => {\n this.enableModal();\n }}\n title={this.bindings.i18n.t('user-actions')}\n buttonRef={(button?: HTMLButtonElement) => {\n if (!button) {\n return;\n }\n this.buttonRef = button;\n this.loadModal();\n }}\n />\n );\n }\n}\n"],"version":3}
|
@@ -43,7 +43,7 @@ const AtomicIPXBody = class {
|
|
43
43
|
render() {
|
44
44
|
this.updateBreakpoints();
|
45
45
|
const isEmbedded = this.isOpen === undefined;
|
46
|
-
return (index.h("article", { key: '
|
46
|
+
return (index.h("article", { key: '0465ae7987580b12b6decaff851c55c41384bab4', part: "container", class: `${isEmbedded ? '' : this.isOpen ? 'visible' : 'invisible'}`, onAnimationEnd: () => this.animationEnded.emit() }, index.h("style", { key: '8dc52a9290cfd92748eacd274e814e66db8bd25e' }, `
|
47
47
|
/* Chrome, Edge & Safari */
|
48
48
|
.scrollbar::-webkit-scrollbar {
|
49
49
|
width: 0.8rem;
|
@@ -68,7 +68,7 @@ const AtomicIPXBody = class {
|
|
68
68
|
scrollbar-color: var(--atomic-primary) var(--atomic-background);
|
69
69
|
scrollbar-width: auto;
|
70
70
|
}
|
71
|
-
`), index.h("header", { key: '
|
71
|
+
`), index.h("header", { key: '1c624b727582762a72719c86cc217b6d660b435b', part: "header-wrapper", class: "flex flex-col items-center" }, index.h("div", { key: '729e1901342405daf3655dac940310e64e6683f0', part: "header" }, index.h("slot", { key: 'cab7be113beb75fea4b9b237222546d0ab12d8e6', name: "header" }))), index.h("hr", { key: '3e6cb374d706a7d07ccef7ceeda19cce9ce6e6cc', part: "header-ruler", class: "border-neutral" }), index.h("div", { key: 'cc08f1fabc986ffe389014e41dca2d7cae2b7db4', part: "body-wrapper", class: "scrollbar flex w-full grow flex-col overflow-auto" }, index.h("div", { key: 'f9abcf602db7dc1c677a9e1df4a52775fe6b4692', part: "body", class: "w-full" }, index.h("slot", { key: '25c24157e641ef0371484f61855bb08b81096874', name: "body" }))), this.displayFooterSlot && (index.h("footer", { key: '8d4fb1f447cac8f708e2a5271d988abe73eb22d2', part: "footer-wrapper", class: "border-neutral bg-background z-10 flex w-full flex-col items-center border-t" }, index.h("div", { key: '28b1745eab8ffb4f11392263a04f2cdea6db75a1', part: "footer" }, index.h("slot", { key: '7d5ae3a1e8ce159190a6e4d7c8d675d4a446c2ea', name: "footer" }))))));
|
72
72
|
}
|
73
73
|
get host() { return index.getElement(this); }
|
74
74
|
};
|