@coveo/atomic 3.33.2 → 3.33.3-pre.0757b1116b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +0 -2
- package/dist/atomic/components/_index.js +0 -1
- package/dist/atomic/components/analytics-config.js +2 -2
- package/dist/atomic/components/analytics-config.js.map +1 -1
- package/dist/atomic/components/atomic-category-facet.js +1 -1
- package/dist/atomic/components/atomic-citation.js +1 -1
- package/dist/atomic/components/atomic-facet-manager.js +1 -1
- package/dist/atomic/components/atomic-facet.js +1 -1
- package/dist/atomic/components/atomic-format-currency.js +1 -1
- package/dist/atomic/components/atomic-format-number.js +1 -1
- package/dist/atomic/components/atomic-format-unit.js +1 -1
- package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +1 -1
- package/dist/atomic/components/atomic-html2.js +1 -1
- package/dist/atomic/components/atomic-insight-edit-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-facet.js +1 -1
- package/dist/atomic/components/atomic-insight-folded-result-list.js +1 -1
- package/dist/atomic/components/atomic-insight-full-search-button.js +1 -1
- package/dist/atomic/components/atomic-insight-history-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-layout.js +80 -1
- package/dist/atomic/components/atomic-insight-layout.js.map +1 -1
- package/dist/atomic/components/atomic-insight-no-results.js +1 -1
- package/dist/atomic/components/atomic-insight-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-insight-pager.js +3 -3
- package/dist/atomic/components/atomic-insight-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 +2 -2
- package/dist/atomic/components/atomic-insight-result2.js.map +1 -1
- package/dist/atomic/components/atomic-insight-search-box.js +2 -2
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-tabs.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-body2.js +2 -2
- package/dist/atomic/components/atomic-ipx-button.js +2 -2
- package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
- package/dist/atomic/components/atomic-ipx-modal.js +2 -2
- package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
- package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
- package/dist/atomic/components/atomic-load-more-results.js +1 -1
- package/dist/atomic/components/atomic-modal2.js +2 -2
- package/dist/atomic/components/atomic-no-results.js +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-pager.js +3 -3
- package/dist/atomic/components/atomic-query-error.js +1 -1
- package/dist/atomic/components/atomic-query-summary.js +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-recs-error.js +1 -1
- package/dist/atomic/components/atomic-recs-interface.js +2 -2
- package/dist/atomic/components/atomic-recs-list.js +1 -1
- package/dist/atomic/components/atomic-recs-result2.js +1 -1
- package/dist/atomic/components/atomic-recs-result2.js.map +1 -1
- package/dist/atomic/components/atomic-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-relevance-inspector2.js +2 -2
- package/dist/atomic/components/atomic-result-children.js +1 -1
- package/dist/atomic/components/atomic-result-fields-list.js +1 -1
- package/dist/atomic/components/atomic-result-link.js +1 -1
- package/dist/atomic/components/atomic-result-list.js +1 -1
- package/dist/atomic/components/atomic-result-placeholder2.js +3 -3
- package/dist/atomic/components/atomic-result-placeholder2.js.map +1 -1
- package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
- package/dist/atomic/components/atomic-result2.js +1 -1
- package/dist/atomic/components/atomic-result2.js.map +1 -1
- package/dist/atomic/components/atomic-search-box-instant-results.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
- package/dist/atomic/components/atomic-search-box.js +4 -4
- package/dist/atomic/components/atomic-search-interface.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-smart-snippet-source2.js +1 -1
- package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
- package/dist/atomic/components/atomic-sort-expression.js +1 -1
- package/dist/atomic/components/atomic-stencil-facet-date-input.js +3 -3
- package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product/atomic-product.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-section-emphasized/atomic-product-section-emphasized.js +3 -2
- package/dist/atomic/components/components/insight/atomic-insight-interface/analytics-config.js +31 -0
- package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +252 -0
- package/dist/atomic/components/components/insight/index.js +2 -1
- package/dist/atomic/components/components/insight/lazy-index.js +3 -1
- package/dist/atomic/components/facet-number-input.js +2 -2
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/{p-d1d2d945.entry.js → p-05a3e5a4.entry.js} +2 -2
- package/dist/atomic/{p-26098930.entry.js → p-09953fee.entry.js} +2 -2
- package/dist/atomic/{p-84befe35.entry.js → p-0b44ae08.entry.js} +2 -2
- package/dist/atomic/{p-80055cf6.entry.js → p-0dac8e7b.entry.js} +2 -2
- package/dist/atomic/{p-5c995d77.entry.js → p-0dc6ebf8.entry.js} +2 -2
- package/dist/atomic/{p-ef22a3f2.entry.js → p-104c7d84.entry.js} +2 -2
- package/dist/atomic/{p-ce9e510c.entry.js → p-117be4a4.entry.js} +2 -2
- package/dist/atomic/{p-cbb819d2.entry.js → p-11fc3a7b.entry.js} +2 -2
- package/dist/atomic/{p-b0bd2709.entry.js → p-156aa33a.entry.js} +2 -2
- package/dist/atomic/p-15d2ebce.entry.js +2 -0
- package/dist/atomic/{p-64fc4340.entry.js.map → p-15d2ebce.entry.js.map} +1 -1
- package/dist/atomic/{p-26ad479b.entry.js → p-182a3f9e.entry.js} +2 -2
- package/dist/atomic/{p-bfdecd0f.entry.js → p-1d8eba10.entry.js} +2 -2
- package/dist/atomic/{p-58610952.entry.js → p-24c2110b.entry.js} +2 -2
- package/dist/atomic/p-256b5495.entry.js +2 -0
- package/dist/atomic/{p-571c9614.entry.js → p-2c64e9a2.entry.js} +2 -2
- package/dist/atomic/{p-6ad1adfb.entry.js → p-31e55d26.entry.js} +2 -2
- package/dist/atomic/{p-069bf2b9.entry.js → p-39698267.entry.js} +2 -2
- package/dist/atomic/p-3a3f7783.entry.js +2 -0
- package/dist/atomic/{p-29919fba.entry.js.map → p-3a3f7783.entry.js.map} +1 -1
- package/dist/atomic/{p-c9fa8526.entry.js → p-3a994997.entry.js} +2 -2
- package/dist/atomic/{p-1c3363ec.entry.js → p-3c7ed752.entry.js} +2 -2
- package/dist/atomic/{p-5027d796.entry.js → p-3e7ea7a5.entry.js} +2 -2
- package/dist/atomic/{p-ab627e18.entry.js → p-429270f6.entry.js} +2 -2
- package/dist/atomic/{p-737f842d.entry.js → p-43a0f6e2.entry.js} +2 -2
- package/dist/atomic/p-44930be9.entry.js +2 -0
- package/dist/atomic/{p-9d9f201f.entry.js.map → p-44930be9.entry.js.map} +1 -1
- package/dist/atomic/{p-8b70f39a.entry.js → p-455fbbd7.entry.js} +2 -2
- package/dist/atomic/{p-b97abfb9.entry.js → p-45e88039.entry.js} +2 -2
- package/dist/atomic/{p-c61609ea.entry.js → p-52b66ca8.entry.js} +2 -2
- package/dist/atomic/p-564be2a3.entry.js +2 -0
- package/dist/atomic/{p-09924944.entry.js → p-681610d3.entry.js} +2 -2
- package/dist/atomic/{p-2e91aea8.entry.js → p-6b297a61.entry.js} +2 -2
- package/dist/atomic/{p-1c2d25ba.entry.js → p-6bea42e6.entry.js} +2 -2
- package/dist/atomic/{p-b103b28a.entry.js → p-70c431f9.entry.js} +2 -2
- package/dist/atomic/{p-a14fd4de.entry.js → p-770da48e.entry.js} +2 -2
- package/dist/atomic/{p-a3a1f8e9.entry.js → p-7753ae27.entry.js} +2 -2
- package/dist/atomic/{p-612155f0.entry.js → p-7bff27b2.entry.js} +2 -2
- package/dist/atomic/{p-0368a213.entry.js → p-81b6d12c.entry.js} +2 -2
- package/dist/atomic/{p-1a79c944.entry.js → p-842d31d0.entry.js} +2 -2
- package/dist/atomic/p-8677b56e.entry.js +2 -0
- package/dist/atomic/{p-6f7c823d.entry.js.map → p-8677b56e.entry.js.map} +1 -1
- package/dist/atomic/{p-4c7654eb.entry.js → p-87747240.entry.js} +2 -2
- package/dist/atomic/{p-258c3253.entry.js → p-8b8eb35f.entry.js} +2 -2
- package/dist/atomic/{p-df2df66a.entry.js → p-8baf4780.entry.js} +2 -2
- package/dist/atomic/{p-82a8cf74.entry.js → p-943b29c2.entry.js} +2 -2
- package/dist/atomic/{p-05ab5909.entry.js → p-9507e1bc.entry.js} +2 -2
- package/dist/atomic/{p-aa40956c.entry.js → p-971a8a73.entry.js} +2 -2
- package/dist/atomic/{p-552d1f66.entry.js → p-a0d04767.entry.js} +2 -2
- package/dist/atomic/{p-c667812c.entry.js → p-a5751bb0.entry.js} +2 -2
- package/dist/atomic/{p-fc6beee6.entry.js → p-af487ad9.entry.js} +2 -2
- package/dist/atomic/{p-1d091f9a.entry.js → p-b1c9b043.entry.js} +2 -2
- package/dist/atomic/p-b8cce384.entry.js +2 -0
- package/dist/atomic/{p-1f5473a6.entry.js.map → p-b8cce384.entry.js.map} +1 -1
- package/dist/atomic/{p-516b5bd4.entry.js → p-ba9b2923.entry.js} +2 -2
- package/dist/atomic/{p-2d3ef0f7.entry.js → p-bbed84f9.entry.js} +2 -2
- package/dist/atomic/p-bd404744.entry.js +2 -0
- package/dist/atomic/p-bd404744.entry.js.map +1 -0
- package/dist/atomic/{p-5138d839.entry.js → p-bfb23490.entry.js} +2 -2
- package/dist/atomic/{p-57b47b73.entry.js → p-c15fc656.entry.js} +2 -2
- package/dist/atomic/{p-896724e9.entry.js → p-c1721cb2.entry.js} +2 -2
- package/dist/atomic/{p-875583aa.entry.js → p-c434b50f.entry.js} +2 -2
- package/dist/atomic/{p-cb051c21.entry.js → p-c572a219.entry.js} +2 -2
- package/dist/atomic/{p-15d952f3.entry.js → p-c69ae97a.entry.js} +2 -2
- package/dist/atomic/{p-88e4a2f9.entry.js → p-c81d1971.entry.js} +2 -2
- package/dist/atomic/{p-633628d5.entry.js → p-cbeca949.entry.js} +2 -2
- package/dist/atomic/{p-b7f38541.entry.js → p-cc330153.entry.js} +2 -2
- package/dist/atomic/{p-0c9b553c.entry.js → p-cd8f11ea.entry.js} +2 -2
- package/dist/atomic/{p-d5071b5a.entry.js → p-d1caf040.entry.js} +2 -2
- package/dist/atomic/{p-496da1c9.entry.js → p-d1e5e2d7.entry.js} +2 -2
- package/dist/atomic/{p-b16950ec.entry.js → p-d3146795.entry.js} +2 -2
- package/dist/atomic/{p-f39de057.entry.js → p-d3b5c8e5.entry.js} +2 -2
- package/dist/atomic/{p-aff3a66a.entry.js → p-d6d0a47f.entry.js} +2 -2
- package/dist/atomic/{p-b328cab9.entry.js → p-db6034e2.entry.js} +2 -2
- package/dist/atomic/{p-3af5e810.entry.js → p-e20c18f0.entry.js} +2 -2
- package/dist/atomic/{p-79499898.entry.js → p-e50b1d73.entry.js} +2 -2
- package/dist/atomic/{p-c3746d6e.entry.js → p-e67dabc9.entry.js} +2 -2
- package/dist/atomic/{p-a2714d7e.entry.js → p-e9922d7c.entry.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js → p-eb45c870.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js.map → p-eb45c870.js.map} +1 -1
- package/dist/atomic/{p-13e67ab3.entry.js → p-f076efa7.entry.js} +2 -2
- package/dist/atomic/{p-a7dcf131.entry.js → p-f30c4c7d.entry.js} +2 -2
- package/dist/atomic/{p-50467793.entry.js → p-f45a7b82.entry.js} +2 -2
- package/dist/atomic/{p-2c7d4967.entry.js → p-f79f31f8.entry.js} +2 -2
- package/dist/atomic/{p-cdd70f49.entry.js → p-fa1dcc3e.entry.js} +2 -2
- package/dist/atomic/{p-e750df14.entry.js → p-fce653a1.entry.js} +2 -2
- package/dist/atomic/{p-ce83d873.entry.js → p-fe23b0b3.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-f2718cd7.js → analytics-config-1a560aab.js} +2 -2
- package/dist/cjs/analytics-config-1a560aab.js.map +1 -0
- package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-layout.cjs.entry.js +82 -4
- package/dist/cjs/atomic-insight-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-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 +2 -2
- package/dist/cjs/atomic-insight-result.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-result.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-result.cjs.entry.js.map +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 +4 -4
- package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-result.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-search-box-instant-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
- package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-smart-snippet-answer_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
- package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +3 -3
- package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/index-757bc886.js +0 -4
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-a2ebaf0d.js → analytics-config-0dc0bb46.js} +3 -3
- package/dist/esm/analytics-config-0dc0bb46.js.map +1 -0
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-citation.entry.js +1 -1
- package/dist/esm/atomic-facet-manager.entry.js +1 -1
- package/dist/esm/atomic-facet-number-input.entry.js +2 -2
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
- package/dist/esm/atomic-html.entry.js +1 -1
- package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-layout.entry.js +80 -2
- package/dist/esm/atomic-insight-layout.entry.js.map +1 -1
- package/dist/esm/atomic-insight-no-results.entry.js +1 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-pager.entry.js +3 -3
- package/dist/esm/atomic-insight-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 +2 -2
- package/dist/esm/atomic-insight-result.entry.js.map +1 -1
- package/dist/esm/atomic-insight-search-box.entry.js +2 -2
- package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-tabs.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-body.entry.js +2 -2
- package/dist/esm/atomic-ipx-button.entry.js +2 -2
- package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
- package/dist/esm/atomic-ipx-modal.entry.js +2 -2
- package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
- package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
- package/dist/esm/atomic-load-more-results.entry.js +1 -1
- package/dist/esm/atomic-no-results.entry.js +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-pager.entry.js +3 -3
- package/dist/esm/atomic-query-error.entry.js +1 -1
- package/dist/esm/atomic-query-summary.entry.js +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-recs-error.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +2 -2
- package/dist/esm/atomic-recs-list.entry.js +1 -1
- package/dist/esm/atomic-recs-result.entry.js +1 -1
- package/dist/esm/atomic-recs-result.entry.js.map +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 +4 -4
- package/dist/esm/atomic-result-placeholder_8.entry.js.map +1 -1
- package/dist/esm/atomic-result.entry.js +1 -1
- package/dist/esm/atomic-result.entry.js.map +1 -1
- package/dist/esm/atomic-search-box-instant-results.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-search-box.entry.js +4 -4
- package/dist/esm/atomic-search-interface.entry.js +1 -1
- package/dist/esm/atomic-smart-snippet-answer_2.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js +3 -3
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
- package/dist/esm/atomic-sort-expression.entry.js +1 -1
- package/dist/esm/atomic-stencil-facet-date-input.entry.js +3 -3
- package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
- package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
- package/dist/esm/atomic-tab-button.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/index-3f35faca.js +0 -4
- package/dist/esm/version.js +1 -1
- package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +35 -42
- package/dist/types/components/insight/index.d.ts +1 -1
- package/dist/types/components.d.ts +4 -113
- package/docs/atomic-docs.json +1 -416
- package/package.json +1 -1
- package/dist/atomic/components/atomic-insight-interface.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-interface.js +0 -332
- package/dist/atomic/components/atomic-insight-interface.js.map +0 -1
- package/dist/atomic/components/insight-layout.js +0 -87
- package/dist/atomic/components/insight-layout.js.map +0 -1
- package/dist/atomic/p-1f5473a6.entry.js +0 -2
- package/dist/atomic/p-217c470c.entry.js +0 -2
- package/dist/atomic/p-217c470c.entry.js.map +0 -1
- package/dist/atomic/p-29919fba.entry.js +0 -2
- package/dist/atomic/p-2caa1859.js +0 -2
- package/dist/atomic/p-2caa1859.js.map +0 -1
- package/dist/atomic/p-412b233b.entry.js +0 -2
- package/dist/atomic/p-412b233b.entry.js.map +0 -1
- package/dist/atomic/p-52121e1e.entry.js +0 -2
- package/dist/atomic/p-64fc4340.entry.js +0 -2
- package/dist/atomic/p-6f7c823d.entry.js +0 -2
- package/dist/atomic/p-8ef0e022.entry.js +0 -2
- package/dist/atomic/p-9d9f201f.entry.js +0 -2
- package/dist/cjs/analytics-config-f2718cd7.js.map +0 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +0 -307
- package/dist/cjs/atomic-insight-interface.cjs.entry.js.map +0 -1
- package/dist/cjs/insight-layout-355a94dd.js +0 -90
- package/dist/cjs/insight-layout-355a94dd.js.map +0 -1
- package/dist/esm/analytics-config-a2ebaf0d.js.map +0 -1
- package/dist/esm/atomic-insight-interface.entry.js +0 -303
- package/dist/esm/atomic-insight-interface.entry.js.map +0 -1
- package/dist/esm/insight-layout-776b87f2.js +0 -87
- package/dist/esm/insight-layout-776b87f2.js.map +0 -1
- /package/dist/atomic/{p-d1d2d945.entry.js.map → p-05a3e5a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-26098930.entry.js.map → p-09953fee.entry.js.map} +0 -0
- /package/dist/atomic/{p-84befe35.entry.js.map → p-0b44ae08.entry.js.map} +0 -0
- /package/dist/atomic/{p-80055cf6.entry.js.map → p-0dac8e7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-5c995d77.entry.js.map → p-0dc6ebf8.entry.js.map} +0 -0
- /package/dist/atomic/{p-ef22a3f2.entry.js.map → p-104c7d84.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce9e510c.entry.js.map → p-117be4a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-cbb819d2.entry.js.map → p-11fc3a7b.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0bd2709.entry.js.map → p-156aa33a.entry.js.map} +0 -0
- /package/dist/atomic/{p-26ad479b.entry.js.map → p-182a3f9e.entry.js.map} +0 -0
- /package/dist/atomic/{p-bfdecd0f.entry.js.map → p-1d8eba10.entry.js.map} +0 -0
- /package/dist/atomic/{p-58610952.entry.js.map → p-24c2110b.entry.js.map} +0 -0
- /package/dist/atomic/{p-52121e1e.entry.js.map → p-256b5495.entry.js.map} +0 -0
- /package/dist/atomic/{p-571c9614.entry.js.map → p-2c64e9a2.entry.js.map} +0 -0
- /package/dist/atomic/{p-6ad1adfb.entry.js.map → p-31e55d26.entry.js.map} +0 -0
- /package/dist/atomic/{p-069bf2b9.entry.js.map → p-39698267.entry.js.map} +0 -0
- /package/dist/atomic/{p-c9fa8526.entry.js.map → p-3a994997.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c3363ec.entry.js.map → p-3c7ed752.entry.js.map} +0 -0
- /package/dist/atomic/{p-5027d796.entry.js.map → p-3e7ea7a5.entry.js.map} +0 -0
- /package/dist/atomic/{p-ab627e18.entry.js.map → p-429270f6.entry.js.map} +0 -0
- /package/dist/atomic/{p-737f842d.entry.js.map → p-43a0f6e2.entry.js.map} +0 -0
- /package/dist/atomic/{p-8b70f39a.entry.js.map → p-455fbbd7.entry.js.map} +0 -0
- /package/dist/atomic/{p-b97abfb9.entry.js.map → p-45e88039.entry.js.map} +0 -0
- /package/dist/atomic/{p-c61609ea.entry.js.map → p-52b66ca8.entry.js.map} +0 -0
- /package/dist/atomic/{p-8ef0e022.entry.js.map → p-564be2a3.entry.js.map} +0 -0
- /package/dist/atomic/{p-09924944.entry.js.map → p-681610d3.entry.js.map} +0 -0
- /package/dist/atomic/{p-2e91aea8.entry.js.map → p-6b297a61.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c2d25ba.entry.js.map → p-6bea42e6.entry.js.map} +0 -0
- /package/dist/atomic/{p-b103b28a.entry.js.map → p-70c431f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-a14fd4de.entry.js.map → p-770da48e.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3a1f8e9.entry.js.map → p-7753ae27.entry.js.map} +0 -0
- /package/dist/atomic/{p-612155f0.entry.js.map → p-7bff27b2.entry.js.map} +0 -0
- /package/dist/atomic/{p-0368a213.entry.js.map → p-81b6d12c.entry.js.map} +0 -0
- /package/dist/atomic/{p-1a79c944.entry.js.map → p-842d31d0.entry.js.map} +0 -0
- /package/dist/atomic/{p-4c7654eb.entry.js.map → p-87747240.entry.js.map} +0 -0
- /package/dist/atomic/{p-258c3253.entry.js.map → p-8b8eb35f.entry.js.map} +0 -0
- /package/dist/atomic/{p-df2df66a.entry.js.map → p-8baf4780.entry.js.map} +0 -0
- /package/dist/atomic/{p-82a8cf74.entry.js.map → p-943b29c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-05ab5909.entry.js.map → p-9507e1bc.entry.js.map} +0 -0
- /package/dist/atomic/{p-aa40956c.entry.js.map → p-971a8a73.entry.js.map} +0 -0
- /package/dist/atomic/{p-552d1f66.entry.js.map → p-a0d04767.entry.js.map} +0 -0
- /package/dist/atomic/{p-c667812c.entry.js.map → p-a5751bb0.entry.js.map} +0 -0
- /package/dist/atomic/{p-fc6beee6.entry.js.map → p-af487ad9.entry.js.map} +0 -0
- /package/dist/atomic/{p-1d091f9a.entry.js.map → p-b1c9b043.entry.js.map} +0 -0
- /package/dist/atomic/{p-516b5bd4.entry.js.map → p-ba9b2923.entry.js.map} +0 -0
- /package/dist/atomic/{p-2d3ef0f7.entry.js.map → p-bbed84f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-5138d839.entry.js.map → p-bfb23490.entry.js.map} +0 -0
- /package/dist/atomic/{p-57b47b73.entry.js.map → p-c15fc656.entry.js.map} +0 -0
- /package/dist/atomic/{p-896724e9.entry.js.map → p-c1721cb2.entry.js.map} +0 -0
- /package/dist/atomic/{p-875583aa.entry.js.map → p-c434b50f.entry.js.map} +0 -0
- /package/dist/atomic/{p-cb051c21.entry.js.map → p-c572a219.entry.js.map} +0 -0
- /package/dist/atomic/{p-15d952f3.entry.js.map → p-c69ae97a.entry.js.map} +0 -0
- /package/dist/atomic/{p-88e4a2f9.entry.js.map → p-c81d1971.entry.js.map} +0 -0
- /package/dist/atomic/{p-633628d5.entry.js.map → p-cbeca949.entry.js.map} +0 -0
- /package/dist/atomic/{p-b7f38541.entry.js.map → p-cc330153.entry.js.map} +0 -0
- /package/dist/atomic/{p-0c9b553c.entry.js.map → p-cd8f11ea.entry.js.map} +0 -0
- /package/dist/atomic/{p-d5071b5a.entry.js.map → p-d1caf040.entry.js.map} +0 -0
- /package/dist/atomic/{p-496da1c9.entry.js.map → p-d1e5e2d7.entry.js.map} +0 -0
- /package/dist/atomic/{p-b16950ec.entry.js.map → p-d3146795.entry.js.map} +0 -0
- /package/dist/atomic/{p-f39de057.entry.js.map → p-d3b5c8e5.entry.js.map} +0 -0
- /package/dist/atomic/{p-aff3a66a.entry.js.map → p-d6d0a47f.entry.js.map} +0 -0
- /package/dist/atomic/{p-b328cab9.entry.js.map → p-db6034e2.entry.js.map} +0 -0
- /package/dist/atomic/{p-3af5e810.entry.js.map → p-e20c18f0.entry.js.map} +0 -0
- /package/dist/atomic/{p-79499898.entry.js.map → p-e50b1d73.entry.js.map} +0 -0
- /package/dist/atomic/{p-c3746d6e.entry.js.map → p-e67dabc9.entry.js.map} +0 -0
- /package/dist/atomic/{p-a2714d7e.entry.js.map → p-e9922d7c.entry.js.map} +0 -0
- /package/dist/atomic/{p-13e67ab3.entry.js.map → p-f076efa7.entry.js.map} +0 -0
- /package/dist/atomic/{p-a7dcf131.entry.js.map → p-f30c4c7d.entry.js.map} +0 -0
- /package/dist/atomic/{p-50467793.entry.js.map → p-f45a7b82.entry.js.map} +0 -0
- /package/dist/atomic/{p-2c7d4967.entry.js.map → p-f79f31f8.entry.js.map} +0 -0
- /package/dist/atomic/{p-cdd70f49.entry.js.map → p-fa1dcc3e.entry.js.map} +0 -0
- /package/dist/atomic/{p-e750df14.entry.js.map → p-fce653a1.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce83d873.entry.js.map → p-fe23b0b3.entry.js.map} +0 -0
|
@@ -481,7 +481,7 @@ const AtomicCategoryFacet = class {
|
|
|
481
481
|
}
|
|
482
482
|
render() {
|
|
483
483
|
const { bindings: { i18n }, label, facetState: { facetSearch, enabled, valuesAsTrees, selectedValueAncestry }, searchStatusState: { hasError, firstSearchExecuted }, } = this;
|
|
484
|
-
return (h(FacetGuard, { key: '
|
|
484
|
+
return (h(FacetGuard, { key: '61a6426346c7ede515070c8eb5e5cb22bf9bad25', enabled: enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: valuesAsTrees.length > 0 }, firstSearchExecuted ? (h(FacetContainer, null, this.renderHeader(), !this.isCollapsed && [
|
|
485
485
|
this.renderSearchInput(),
|
|
486
486
|
shouldDisplaySearchResults(facetSearch) ? (h(Fragment, null, facetSearch.values.length ? (h(FacetValuesGroup, { i18n: i18n, label: label, query: facetSearch.query }, this.renderSearchResults())) : (h("div", { class: "mt-3" })), this.renderMatches())) : (h(Fragment, null, h(FacetValuesGroup, { i18n: i18n, label: label }, this.hasParents ? (h(CategoryFacetParentAsTreeContainer, { isTopLevel: true, className: "mt-3" }, this.renderValuesTree(selectedValueAncestry, true))) : (h(CategoryFacetChildrenAsTreeContainer, { className: "mt-3" }, this.renderChildren()))), this.renderShowMoreLess())),
|
|
487
487
|
])) : (h(FacetPlaceholder, { isCollapsed: this.isCollapsed, numberOfValues: this.numberOfValues }))));
|
|
@@ -515,7 +515,7 @@ const AtomicCitation = class {
|
|
|
515
515
|
return (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" }, h("div", { class: "text-neutral-dark truncate text-sm" }, this.citation.uri), h(Heading, { level: 0, class: "text-md font-bold" }, this.citation.title), h("p", { class: "text-on-background text-sm" }, this.getTruncatedText())));
|
|
516
516
|
}
|
|
517
517
|
render() {
|
|
518
|
-
return (h("div", { key: '
|
|
518
|
+
return (h("div", { key: 'a930672292f74e7f68e03c0466d12cd2a34cff8c', class: "relative" }, h(LinkWithItemAnalytics, { key: 'd73396c0696e2f4cfe9744f8faf9f6f6b8f74eba', 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 }, h("span", { key: '0a50f24a6ee80e2de5489d6232a0561136181849', class: "citation-title mx-1 truncate" }, this.citation.title)), this.renderPopover()));
|
|
519
519
|
}
|
|
520
520
|
get host() { return getElement(this); }
|
|
521
521
|
static get watchers() { return {
|
|
@@ -70,7 +70,7 @@ const AtomicFacetManager = class {
|
|
|
70
70
|
this.bindings?.i18n.off('languageChanged', this.sortFacets);
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return h("slot", { key: '
|
|
73
|
+
return h("slot", { key: '1e5f5b263d0ae964a059a962f8de142293a6ad9b' });
|
|
74
74
|
}
|
|
75
75
|
get host() { return getElement(this); }
|
|
76
76
|
};
|
|
@@ -43,11 +43,11 @@ const FacetNumberInput = class {
|
|
|
43
43
|
const inputClasses = 'p-2.5 input-primary placeholder-neutral-dark min-w-0 mr-1';
|
|
44
44
|
const labelClasses = 'text-neutral-dark text-sm';
|
|
45
45
|
const step = this.type === 'integer' ? '1' : 'any';
|
|
46
|
-
return (h("form", { key: '
|
|
46
|
+
return (h("form", { key: '0406137b757fd80da0c1003275fe4d85b1989d40', class: "mt-4 gap-y-0.5 px-2", part: "input-form", onSubmit: (e) => {
|
|
47
47
|
e.preventDefault();
|
|
48
48
|
this.apply();
|
|
49
49
|
return false;
|
|
50
|
-
} }, h("label", { key: '
|
|
50
|
+
} }, h("label", { key: '5f6edbdcdcb7b47a0e762bcd635d0ed19ee0b31d', part: "label-start", class: labelClasses, htmlFor: `${this.filterState.facetId}_start` }, minText), h("input", { key: '433ec768234b052b43cf54b7178c023d42ebb6d2', 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) }), h("label", { key: 'ee812a7d94ced36e18dbfc48708521cd7749f4ce', part: "label-end", class: labelClasses, htmlFor: `${this.filterState.facetId}_end` }, maxText), h("input", { key: '3b108ec9fcf5c27ea4d842ba1562cde73f243c43', 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) }), h(Button, { key: '858b1dddb7ba6d7d921eab781825382a05760526', style: "outline-primary", type: "submit", part: "input-apply-button", class: "flex-none truncate p-2.5", ariaLabel: applyAria, text: apply })));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
FacetNumberInput.style = AtomicFacetNumberInputStyle0;
|
|
@@ -262,7 +262,7 @@ const AtomicFacet = class {
|
|
|
262
262
|
return true;
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
|
-
return (h(FacetGuard, { key: '
|
|
265
|
+
return (h(FacetGuard, { key: 'b844a78d56c4cb2dac67dff9b1c30971bf216b88', enabled: this.facetState.enabled, hasError: this.searchStatusState.hasError, firstSearchExecuted: this.searchStatusState.firstSearchExecuted, hasResults: this.facetState.values.length > 0 }, this.searchStatusState.firstSearchExecuted ? (h(FacetContainer, null, h(FacetHeader, { i18n: this.bindings.i18n, label: this.definedLabel, onClearFilters: () => {
|
|
266
266
|
this.focusTargets.header.focusAfterSearch();
|
|
267
267
|
this.facet.deselectAll();
|
|
268
268
|
}, numberOfActiveValues: this.activeValues.length, isCollapsed: this.isCollapsed, headingLevel: this.headingLevel, onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed), headerRef: (el) => this.focusTargets.header.setTarget(el) }), this.renderBody())) : (h(FacetPlaceholder, { numberOfValues: this.numberOfValues, isCollapsed: this.isCollapsed }))));
|
|
@@ -222,8 +222,8 @@ const AtomicModal = class {
|
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
224
|
this.updateBreakpoints();
|
|
225
|
-
const Content = () => (h("article", { key: '
|
|
226
|
-
return (h(Host, { key: '
|
|
225
|
+
const Content = () => (h("article", { key: '008d1faad7c3e4283d4b53b52e30909b777527f8', part: "container", class: `bg-background text-on-background flex flex-col justify-between ${this.isOpen ? 'animate-open' : 'animate-close'} ${this.wasEverOpened ? '' : 'invisible'}`, onAnimationEnd: () => this.animationEnded.emit(), ref: (ref) => (this.animatableContainer = ref) }, h("header", { key: '1f46ad343ed9a27d6ff7adb5ecddaba980568b31', part: "header-wrapper", class: "flex flex-col items-center" }, h("div", { key: '72052c73ab5d1392e665a08af0466507f17ca476', part: "header", class: "flex justify-between w-full max-w-lg text-xl", id: this.headerId }, h("slot", { key: '13d32d692848ce7f5a11f3760394ee7b4ff3309c', name: "header" }))), h("hr", { key: '3dc9be298db360de449ee7f40b0ba2a0acc91dda', part: "header-ruler", class: "border-t border-neutral" }), h("div", { key: 'beb640eb7fa7883f3a8d5f82f71845bf4a4fdd7e', part: "body-wrapper", class: "flex w-full grow flex-col items-center overflow-auto [scrollbar-gutter:stable_both-edges]" }, h("div", { key: '69c05359a846a090e021118da04a4f02c15dee20', part: "body", class: "w-full max-w-lg", ref: (element) => element?.addEventListener('touchmove', (e) => this.isOpen && e.stopPropagation(), { passive: false }) }, h("slot", { key: '1b0fb9176a92cae2d1a56a2bfbed8ed0ab3c0b37', name: "body" }))), h("footer", { key: 'd815c2a13fbf6d84a4c7242c8553781c594dd4d1', part: "footer-wrapper", class: "z-10 flex flex-col items-center w-full border-t border-neutral bg-background" }, h("div", { key: 'e420e19b24f94d1fda8bd0f82db786c2259a722a', part: "footer", class: "w-full max-w-lg" }, h("slot", { key: 'bfcc065f2104e52b7a5d0dac4bfabb9ed22d6d03', name: "footer" })))));
|
|
226
|
+
return (h(Host, { key: '93de9982e54ec3e6515f10b9c2408246d6fdf11a', class: this.getClasses().join(' '), "data-nosnippet": true }, h("div", { key: '671e813ca6665ed41cb47267746f4da5ac3b54e5', part: "backdrop", class: ` ${this.boundary === 'page' ? 'fixed' : 'absolute'} top-0 right-0 bottom-0 left-0 z-9999`, onClick: (e) => e.target === e.currentTarget && this.close() }, h("atomic-focus-trap", { key: 'ca302a10b051c200c43b3c355e577f0b2d35f6cc', role: "dialog", "aria-modal": this.isOpen.toString(), "aria-labelledby": this.headerId, source: this.source, container: this.container ?? this.host, ref: (ref) => (this.focusTrap = ref), scope: this.scope }, h(Content, { key: '2a5e928b776e5347ea67e3d365738cf97a0706ea' })))));
|
|
227
227
|
}
|
|
228
228
|
get host() { return getElement(this); }
|
|
229
229
|
static get watchers() { return {
|
|
@@ -19,7 +19,7 @@ const AtomicFormatCurrency = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
if (this.error) {
|
|
22
|
-
return (h("atomic-component-error", { key: '
|
|
22
|
+
return (h("atomic-component-error", { key: '6c58ef2738ba65ad81ac497bafa6c96aa46a11f0', element: this.host, error: this.error }));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
get host() { return getElement(this); }
|
|
@@ -31,7 +31,7 @@ const AtomicFormatNumber = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
if (this.error) {
|
|
34
|
-
return (h("atomic-component-error", { key: '
|
|
34
|
+
return (h("atomic-component-error", { key: '46668f14b8d90c5abeaadcc62ca1218e2a32117c', element: this.host, error: this.error }));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
get host() { return getElement(this); }
|
|
@@ -34,7 +34,7 @@ const AtomicFormatUnit = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
if (this.error) {
|
|
37
|
-
return (h("atomic-component-error", { key: '
|
|
37
|
+
return (h("atomic-component-error", { key: '4948d53869b8fd428717b2c0bce996fdab7974c6', element: this.host, error: this.error }));
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
get host() { return getElement(this); }
|
|
@@ -379,7 +379,7 @@ const AtomicGeneratedAnswerFeedbackModal = class {
|
|
|
379
379
|
}
|
|
380
380
|
render() {
|
|
381
381
|
this.updateBreakpoints();
|
|
382
|
-
return (h("atomic-modal", { key: '
|
|
382
|
+
return (h("atomic-modal", { key: '2748809f496a717231c2e1d3c9fccebf455aae41', fullscreen: false, isOpen: this.isOpen, close: () => this.close(), container: this.host, part: "generated-answer-feedback-modal", exportparts: ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
|
|
383
383
|
}
|
|
384
384
|
get host() { return getElement(this); }
|
|
385
385
|
static get watchers() { return {
|
|
@@ -34,7 +34,7 @@ const AtomicHtml = class {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("span", { key: '
|
|
37
|
+
return (h("span", { key: '3422a530ed4626351073e5f4c385f5bce6b222ba', innerHTML: this.sanitize ? DOMPurify.sanitize(this.value) : this.value }));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
__decorate([
|
|
@@ -25,7 +25,7 @@ const AtomicInsightEditToggle = class {
|
|
|
25
25
|
this.tooltip = '';
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(IconButton, { key: '
|
|
28
|
+
return (h(IconButton, { key: '03f46eea342f4c28dc04be5ca48cfc5a98526355', partPrefix: "insight-edit-toggle", style: "outline-neutral", icon: EditIcon, ariaLabel: "Edit", onClick: this.clickCallback, title: this.tooltip }));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
AtomicInsightEditToggle.style = AtomicInsightEditToggleStyle0;
|
|
@@ -157,7 +157,7 @@ const AtomicInsightFacet = class {
|
|
|
157
157
|
this.facetConditionsManager?.stopWatching();
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h(FacetGuard, { key: '
|
|
160
|
+
return (h(FacetGuard, { key: 'b48240c3ecc7d4e548dde742ce3d3856f7e562b8', enabled: this.facetState.enabled, hasError: this.searchStatusState.hasError, firstSearchExecuted: this.searchStatusState.firstSearchExecuted, hasResults: this.facetState.values.length > 0 }, this.searchStatusState.firstSearchExecuted ? (h(FacetContainer, null, h(FacetHeader, { i18n: this.bindings.i18n, label: this.label, onClearFilters: () => {
|
|
161
161
|
this.focusTargets.header.focusAfterSearch();
|
|
162
162
|
this.facet.deselectAll();
|
|
163
163
|
}, numberOfActiveValues: this.activeValues.length, isCollapsed: this.isCollapsed, headingLevel: this.headingLevel, onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed), headerRef: (el) => this.focusTargets.header.setTarget(el) }), this.renderBody())) : (h(FacetPlaceholder, { numberOfValues: this.numberOfValues, isCollapsed: this.isCollapsed }))));
|
|
@@ -136,7 +136,7 @@ const AtomicInsightFoldedResultList = class {
|
|
|
136
136
|
render() {
|
|
137
137
|
this.itemListCommon.updateBreakpoints();
|
|
138
138
|
const listClasses = this.computeListDisplayClasses();
|
|
139
|
-
return (h(ItemListGuard, { key: '
|
|
139
|
+
return (h(ItemListGuard, { key: 'd4d6d9046af76a195ba6fd67c93168490dd6bfea', firstRequestExecuted: this.foldedResultListState.firstSearchExecuted, hasItems: this.foldedResultListState.hasResults, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, hasError: this.foldedResultListState.hasError }, h(DisplayWrapper, { key: 'a18b32090a339f0c3af3eccf7633fb2f4795dc2c', listClasses: listClasses, display: this.display }, h(ResultsPlaceholdersGuard, { key: '9b9a83e169dd659a8fb89b47be3af3e9aeeb325b', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), h(ItemDisplayGuard, { key: '0d996b64a204f7f102355c849da8d7940b9402b3', firstRequestExecuted: this.foldedResultListState.firstSearchExecuted, hasItems: this.foldedResultListState.hasResults }, this.foldedResultListState.results.map((collection, i) => {
|
|
140
140
|
const atomicInsightResultProps = this.getPropsForAtomicInsightResult(collection);
|
|
141
141
|
return (h("atomic-insight-result", { ...atomicInsightResultProps, part: "outline", ref: (element) => element && this.itemListCommon.setNewResultRef(element, i) }));
|
|
142
142
|
})))));
|
|
@@ -34,7 +34,7 @@ const AtomicInsightFullSearchButton = class {
|
|
|
34
34
|
this.error = undefined;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(IconButton, { key: '
|
|
37
|
+
return (h(IconButton, { key: 'b627c3c6abfd4123d107f53914f2796db4633c1b', partPrefix: "full-search", style: "outline-neutral", icon: ArrowFull, ariaLabel: this.bindings.i18n.t('full-search'), title: this.tooltip }));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
__decorate([
|
|
@@ -17,7 +17,7 @@ const AtomicInsightHistoryToggle = class {
|
|
|
17
17
|
this.tooltip = '';
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(IconButton, { key: '
|
|
20
|
+
return (h(IconButton, { key: '50228ac6285964a86a04a8bd0442b68b4860a712', partPrefix: "insight-history-toggle", style: "outline-neutral", icon: Clock, ariaLabel: "history", onClick: this.clickCallback, title: this.tooltip }));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
AtomicInsightHistoryToggle.style = AtomicInsightHistoryToggleStyle0;
|
|
@@ -1,14 +1,92 @@
|
|
|
1
1
|
import { r as registerInstance, g as getElement } from './index-3f35faca.js';
|
|
2
2
|
import { I as InitializeBindings } from './initialization-utils-ffbc4136.js';
|
|
3
3
|
import { r as randomID } from './utils-7ac76ba7.js';
|
|
4
|
-
import {
|
|
4
|
+
import { f as findSection, s as sectionSelector } from './sections-ae00b53a.js';
|
|
5
5
|
import './dom-utils-f6086cd3.js';
|
|
6
6
|
import './event-utils-8de63ec3.js';
|
|
7
7
|
import './init-queue-fbe942c3.js';
|
|
8
8
|
import './initialization-lit-stencil-common-utils-804fe146.js';
|
|
9
9
|
import './purify-c7ebd240.js';
|
|
10
10
|
import './_commonjsHelpers-1789f0cf.js';
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
const tabsSelector = 'atomic-insight-tabs';
|
|
13
|
+
const refineModalSelector = 'atomic-insight-refine-modal';
|
|
14
|
+
const searchBoxSelector = 'atomic-insight-search-box';
|
|
15
|
+
const toggleSelectors = [
|
|
16
|
+
'atomic-insight-refine-toggle',
|
|
17
|
+
'atomic-insight-edit-toggle',
|
|
18
|
+
'atomic-insight-history-toggle',
|
|
19
|
+
];
|
|
20
|
+
const smartSnippetSelectors = [
|
|
21
|
+
'atomic-insight-smart-snippet-suggestions',
|
|
22
|
+
'atomic-insight-smart-snippet',
|
|
23
|
+
];
|
|
24
|
+
const generatedAnswerSelector = 'atomic-insight-generated-answer';
|
|
25
|
+
function buildInsightLayout(element, widget) {
|
|
26
|
+
const id = element.id;
|
|
27
|
+
const layoutSelector = `atomic-insight-layout#${id}`;
|
|
28
|
+
const hasTabs = Boolean(findSection(element, 'search')?.querySelector(tabsSelector));
|
|
29
|
+
const interfaceStyle = widget
|
|
30
|
+
? `
|
|
31
|
+
${layoutSelector} {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-rows: auto auto 8fr 1fr;
|
|
34
|
+
max-height: 100%;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
}
|
|
37
|
+
${layoutSelector} ${refineModalSelector} {
|
|
38
|
+
grid-row-start: 5;
|
|
39
|
+
}`
|
|
40
|
+
: '';
|
|
41
|
+
const search = `${sectionSelector('search')} {
|
|
42
|
+
width: 100%;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
grid-gap: 0.5rem;
|
|
46
|
+
background: var(--atomic-neutral-light);
|
|
47
|
+
padding-top: 1.5rem;
|
|
48
|
+
padding-left: 1.5rem;
|
|
49
|
+
padding-right: 1.5rem;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
min-width: 0;
|
|
52
|
+
${!hasTabs ? 'padding-bottom: 1.5rem;' : ''}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
${sectionSelector('search')} ${searchBoxSelector} {
|
|
56
|
+
flex-grow: 1;
|
|
57
|
+
height: 2.6rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
${toggleSelectors.map((toggleSelector) => `${sectionSelector('search')} ${toggleSelector} {
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
}`)}
|
|
63
|
+
|
|
64
|
+
${sectionSelector('search')} ${tabsSelector} {
|
|
65
|
+
width: 100%;
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
const facets = `${sectionSelector('facets')} {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
const results = `
|
|
73
|
+
${sectionSelector('results')} {
|
|
74
|
+
overflow: auto;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
${sectionSelector('results')} ${smartSnippetSelectors.join(',')} {
|
|
78
|
+
padding: 1.5rem 1.5rem 0px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
${sectionSelector('results')} ${generatedAnswerSelector} {
|
|
82
|
+
margin-left: 1.5rem;
|
|
83
|
+
margin-right: 1.5rem;
|
|
84
|
+
}
|
|
85
|
+
`;
|
|
86
|
+
return [interfaceStyle, search, facets, results]
|
|
87
|
+
.filter((declaration) => declaration !== '')
|
|
88
|
+
.join('\n\n');
|
|
89
|
+
}
|
|
12
90
|
|
|
13
91
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14
92
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-insight-layout.entry.js","mappings":"
|
|
1
|
+
{"file":"atomic-insight-layout.entry.js","mappings":";;;;;;;;;;;AAKA,MAAM,YAAY,GAAG,qBAAqB,CAAC;AAC3C,MAAM,mBAAmB,GAAG,6BAA6B,CAAC;AAC1D,MAAM,iBAAiB,GAAG,2BAA2B,CAAC;AACtD,MAAM,eAAe,GAAG;IACtB,8BAA8B;IAC9B,4BAA4B;IAC5B,+BAA+B;CAChC,CAAC;AACF,MAAM,qBAAqB,GAAG;IAC5B,0CAA0C;IAC1C,8BAA8B;CAC/B,CAAC;AACF,MAAM,uBAAuB,GAAG,iCAAiC,CAAC;SAMlD,kBAAkB,CAAC,OAAoB,EAAE,MAAe;IACtE,MAAM,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACtB,MAAM,cAAc,GAAG,yBAAyB,EAAE,EAAE,CAAC;IAErD,MAAM,OAAO,GAAG,OAAO,CACrB,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAC5D,CAAC;IAEF,MAAM,cAAc,GAAG,MAAM;UACzB;IACF,cAAc;;;;;;IAMd,cAAc,IAAI,mBAAmB;;IAErC;UACE,EAAE,CAAC;IAEP,MAAM,MAAM,GAAG,GAAG,eAAe,CAAC,QAAQ,CAAC;;;;;;;;;;;QAWrC,CAAC,OAAO,GAAG,yBAAyB,GAAG,EAAE;;;MAG3C,eAAe,CAAC,QAAQ,CAAC,IAAI,iBAAiB;;;;;MAK9C,eAAe,CAAC,GAAG,CACnB,CAAC,cAAc,KAAK,GAAG,eAAe,CAAC,QAAQ,CAAC,IAAI,cAAc;;MAElE,CACD;;MAEC,eAAe,CAAC,QAAQ,CAAC,IAAI,YAAY;;;KAG1C,CAAC;IAEJ,MAAM,MAAM,GAAG,GAAG,eAAe,CAAC,QAAQ,CAAC;;;KAGxC,CAAC;IAEJ,MAAM,OAAO,GAAG;MACZ,eAAe,CAAC,SAAS,CAAC;;;;MAI1B,eAAe,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC;;;;MAI7D,eAAe,CAAC,SAAS,CAAC,IAAI,uBAAuB;;;;KAItD,CAAC;IAEJ,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;SAC7C,MAAM,CAAC,CAAC,WAAW,KAAK,WAAW,KAAK,EAAE,CAAC;SAC3C,IAAI,CAAC,MAAM,CAAC,CAAC;AAClB;;;;;;;;;;;;MCjFa,mBAAmB;;;;;;QASe,WAAM,GAAG,KAAK,CAAC;sBAAN,KAAK;;IAGpD,YAAY;QACjB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;SACtE;aAAM;YACL,IAAI,CAAC,YAAY,EAAE,CAAC;SACrB;KACF;IAEO,YAAY;QAClB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;QACnD,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACrE,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACtC;IAEM,gBAAgB;QACrB,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,QAAQ,CAAC,wBAAwB,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QAElB,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;;;;;;AArB4B;IAA5B,kBAAkB,EAAE;qDAAmC;;;;","names":[],"sources":["src/components/insight/atomic-insight-layout/insight-layout.ts","src/components/insight/atomic-insight-layout/atomic-insight-layout.tsx"],"sourcesContent":["import {\n findSection,\n sectionSelector,\n} from '../../common/atomic-layout-section/sections';\n\nconst tabsSelector = 'atomic-insight-tabs';\nconst refineModalSelector = 'atomic-insight-refine-modal';\nconst searchBoxSelector = 'atomic-insight-search-box';\nconst toggleSelectors = [\n 'atomic-insight-refine-toggle',\n 'atomic-insight-edit-toggle',\n 'atomic-insight-history-toggle',\n];\nconst smartSnippetSelectors = [\n 'atomic-insight-smart-snippet-suggestions',\n 'atomic-insight-smart-snippet',\n];\nconst generatedAnswerSelector = 'atomic-insight-generated-answer';\n\nexport function makeDesktopQuery(mobileBreakpoint: string) {\n return `only screen and (min-width: ${mobileBreakpoint})`;\n}\n\nexport function buildInsightLayout(element: HTMLElement, widget: boolean) {\n const id = element.id;\n const layoutSelector = `atomic-insight-layout#${id}`;\n\n const hasTabs = Boolean(\n findSection(element, 'search')?.querySelector(tabsSelector)\n );\n\n const interfaceStyle = widget\n ? `\n ${layoutSelector} {\n display: grid;\n grid-template-rows: auto auto 8fr 1fr;\n max-height: 100%;\n box-sizing: border-box;\n }\n ${layoutSelector} ${refineModalSelector} {\n grid-row-start: 5;\n }`\n : '';\n\n const search = `${sectionSelector('search')} {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n grid-gap: 0.5rem;\n background: var(--atomic-neutral-light);\n padding-top: 1.5rem;\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n box-sizing: border-box;\n min-width: 0;\n ${!hasTabs ? 'padding-bottom: 1.5rem;' : ''}\n }\n\n ${sectionSelector('search')} ${searchBoxSelector} {\n flex-grow: 1;\n height: 2.6rem;\n }\n\n ${toggleSelectors.map(\n (toggleSelector) => `${sectionSelector('search')} ${toggleSelector} {\n flex-shrink: 0;\n }`\n )}\n\n ${sectionSelector('search')} ${tabsSelector} {\n width: 100%;\n }\n `;\n\n const facets = `${sectionSelector('facets')} {\n display: none;\n }\n `;\n\n const results = `\n ${sectionSelector('results')} {\n overflow: auto;\n }\n\n ${sectionSelector('results')} ${smartSnippetSelectors.join(',')} {\n padding: 1.5rem 1.5rem 0px;\n }\n\n ${sectionSelector('results')} ${generatedAnswerSelector} {\n margin-left: 1.5rem;\n margin-right: 1.5rem;\n }\n `;\n\n return [interfaceStyle, search, facets, results]\n .filter((declaration) => declaration !== '')\n .join('\\n\\n');\n}\n","import {Component, Element, Prop, Watch} from '@stencil/core';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {randomID} from '../../../utils/utils';\nimport {InsightBindings} from '../atomic-insight-interface/atomic-insight-interface';\nimport {buildInsightLayout} from './insight-layout';\n\n/**\n * @internal\n */\n@Component({\n tag: 'atomic-insight-layout',\n shadow: false,\n})\nexport class AtomicInsightLayout\n implements InitializableComponent<InsightBindings>\n{\n public error!: Error;\n private styleTag?: HTMLStyleElement;\n @Element() private host!: HTMLElement;\n /**\n * Whether the interface should be shown in widget format.\n */\n @Prop({reflect: true, mutable: true}) public widget = false;\n @InitializeBindings() public bindings!: InsightBindings;\n @Watch('widget')\n public updateStyles() {\n if (this.styleTag) {\n this.styleTag.innerHTML = buildInsightLayout(this.host, this.widget);\n } else {\n this.makeStyleTag();\n }\n }\n\n private makeStyleTag() {\n this.styleTag = this.bindings.createStyleElement();\n this.styleTag.innerHTML = buildInsightLayout(this.host, this.widget);\n this.host.appendChild(this.styleTag);\n }\n\n public componentDidLoad() {\n const id = this.host.id || randomID('atomic-insight-layout-');\n this.host.id = id;\n\n this.makeStyleTag();\n }\n}\n"],"version":3}
|
|
@@ -39,7 +39,7 @@ const AtomicInsightNoResults = class {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const { bindings: { i18n }, } = this;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '90225d9ee22151a75ed726683c71677cda8e9246', class: "p-3 text-center" }, h(NoItemsGuard, { key: '53380634bfb5d2653dff3c3a35983fae2b9c6d2e', ...this.searchStatusState }, h(NoItemsContainer, { key: '4dd7e06bac3f3d4e769e727775971577ae179ac8' }, h(MagnifyingGlass, { key: 'c495e0ab1e54bbcba48c293b90c81ab5d98caf8e' }), h(NoItems, { key: '9ab50057802d03fcf9c959a0343c33ddc2dd7664', query: this.querySummaryState.query, i18n: i18n, i18nKey: "no-results" }), h(SearchTips, { key: '166400fc291b1214d904b0372173e81f55ab0a6c', i18n: i18n })))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
__decorate([
|
|
@@ -258,7 +258,7 @@ const AtomicInsightNumericFacet = class {
|
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
260
|
const { searchStatusState: { firstSearchExecuted, hasError }, bindings: { i18n }, label, numberOfSelectedValues, isCollapsed, headingLevel, focusTarget, withInput, filter, } = this;
|
|
261
|
-
return (h(FacetGuard, { key: '
|
|
261
|
+
return (h(FacetGuard, { key: 'c07266e4dd8b2f641f47bb2589a99a0297b4f394', enabled: this.enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: this.shouldRenderFacet }, firstSearchExecuted ? (h(FacetContainer, null, h(FacetHeader, { i18n: i18n, label: label, onClearFilters: () => {
|
|
262
262
|
focusTarget.focusAfterSearch();
|
|
263
263
|
if (this.filterState?.range) {
|
|
264
264
|
this.filter?.clear();
|
|
@@ -53,15 +53,15 @@ const AtomicInsightPager = class {
|
|
|
53
53
|
this.scrollToTopEvent.emit();
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'f7b6f60c069737b8c19987eccf9305c316d278a2' }, h(PagerNavigation, { key: 'fbf3b937f2ed0571a2a2e60aba9336ea7bf6a872', i18n: this.bindings.i18n }, h(PagerPreviousButton, { key: '4c5a8c5c9db4ea3c627edc9afb3342851006f5b3', icon: ArrowLeftIcon, disabled: !this.pagerState.hasPreviousPage, i18n: this.bindings.i18n, onClick: () => {
|
|
57
57
|
this.pager.previousPage();
|
|
58
58
|
this.focusOnFirstResultAndScrollToTop();
|
|
59
|
-
} }), h(PagerPageButtons, { key: '
|
|
59
|
+
} }), h(PagerPageButtons, { key: '1f10b211d90eea28e9c58d7c9787ea455cdbe576', i18n: this.bindings.i18n }, this.pagerState.currentPages.map((pageNumber) => {
|
|
60
60
|
return (h(PagerPageButton, { isSelected: this.pager.isCurrentPage(pageNumber), ariaLabel: this.bindings.i18n.t('page-number', { pageNumber }), onChecked: () => {
|
|
61
61
|
this.pager.selectPage(pageNumber);
|
|
62
62
|
this.focusOnFirstResultAndScrollToTop();
|
|
63
63
|
}, page: pageNumber, groupName: this.radioGroupName, text: pageNumber.toLocaleString(this.bindings.i18n.language) }));
|
|
64
|
-
})), h(PagerNextButton, { key: '
|
|
64
|
+
})), h(PagerNextButton, { key: 'c15a0d7fae8b6499daf5e593b72373844633925f', icon: ArrowRightIcon, disabled: !this.pagerState.hasNextPage, i18n: this.bindings.i18n, onClick: () => {
|
|
65
65
|
this.pager.nextPage();
|
|
66
66
|
this.focusOnFirstResultAndScrollToTop();
|
|
67
67
|
} }))));
|
|
@@ -44,7 +44,7 @@ const AtomicQueryError = class {
|
|
|
44
44
|
if (hasError) {
|
|
45
45
|
this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
46
46
|
}
|
|
47
|
-
return (h(QueryErrorGuard, { key: '
|
|
47
|
+
return (h(QueryErrorGuard, { key: '73ffd4b9c3b483d14bf0d465a1dc670746c602d0', hasError: hasError }, h(QueryErrorContainer, { key: '04a5eb90e747186ba083c3d01e79a44ea4cf9a25' }, h(QueryErrorIcon, { key: '9d709588960d6701d114b2935b98ab7f65ddf7ba', errorType: error?.type }), h(QueryErrorTitle, { key: 'eed626b09e00415df1e003bac93833beca3d5206', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '8494aba5d1ec691e5710853258b7d07297bf0d63', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '22cdacae298a5f5ed245741d5ca2544261665c1c', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'e986fdcede751bc77f874985717eee8c16f62e23', error: error, show: this.showMoreInfo }))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
__decorate([
|
|
@@ -82,12 +82,12 @@ const AtomicInsightRefineModal = class {
|
|
|
82
82
|
return (h("aside", { slot: "body", class: "flex flex-col w-full" }, this.renderHeader(), h("slot", { name: "facets" })));
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: 'dbc2014d0ece29b74e28f2966f6af221bb63aea9' }, this.interfaceDimensions && (h("style", { key: 'd6a2cda31c022c22d8ec6ae3dffb9adc46eecc7b' }, `atomic-modal::part(backdrop) {
|
|
86
86
|
top: ${this.interfaceDimensions.top}px;
|
|
87
87
|
left: ${this.interfaceDimensions.left}px;
|
|
88
88
|
width: ${this.interfaceDimensions.width}px;
|
|
89
89
|
height: ${this.interfaceDimensions.height}px;
|
|
90
|
-
}`)), h(RefineModal, { key: '
|
|
90
|
+
}`)), h(RefineModal, { key: '771aacb66471f2540ccb3ce786706b1fb1ffd794', 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())));
|
|
91
91
|
}
|
|
92
92
|
componentDidLoad() {
|
|
93
93
|
this.host.style.display = '';
|
|
@@ -55,7 +55,7 @@ const AtomicInsightRefineToggle = class {
|
|
|
55
55
|
this.modalRef.openButton = this.buttonRef;
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(IconButton, { key: '
|
|
58
|
+
return (h(IconButton, { key: '043b82c4c063c02149f7e8ce24a9bad7dd881494', partPrefix: "insight-refine-toggle", style: "outline-neutral", title: this.bindings.i18n.t('filters'), icon: FilterIcon, disabled: !this.searchStatusState.hasResults && !this.numberOfBreadcrumbs, ariaLabel: this.bindings.i18n.t('sort'), onClick: () => {
|
|
59
59
|
this.bindings.store.waitUntilAppLoaded(() => {
|
|
60
60
|
this.enableModal();
|
|
61
61
|
});
|
|
@@ -120,7 +120,7 @@ const AtomicInsightResultAction = class {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(IconButton, { key: '
|
|
123
|
+
return (h(IconButton, { key: 'bd7d3f15b9c0769783c5492758de62c3b4bf39a3', partPrefix: "result-action", style: "outline-neutral", icon: this.getIcon(), title: this.tooltip, onClick: () => this.onClick() }));
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
__decorate([
|
|
@@ -70,7 +70,7 @@ const AtomicInsightResultAttachToCaseAction = class {
|
|
|
70
70
|
: this.bindings.i18n.t('attach-to-case');
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(IconButton, { key: '
|
|
73
|
+
return (h(IconButton, { key: 'bb3bd9a198db8f8ead63dad02be315afd593bf79', partPrefix: "result-action", style: "outline-neutral", icon: this.getIcon(), title: this.getTooltip(), onClick: () => this.onClick() }));
|
|
74
74
|
}
|
|
75
75
|
get host() { return getElement(this); }
|
|
76
76
|
};
|
|
@@ -39,7 +39,7 @@ const AtomicInsightResultAttachToCaseIndicator = class {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
if (this.attachToCase.isAttached()) {
|
|
42
|
-
return (h("atomic-icon", { key: '
|
|
42
|
+
return (h("atomic-icon", { key: '009274b7ad6d552cbff3abfd42b4d376cf020197', part: "icon", class: "flex w-5 justify-center", icon: AttachIcon, title: this.bindings.i18n.t('result-is-attached') }));
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
get host() { return getElement(this); }
|
|
@@ -128,7 +128,7 @@ const AtomicResultChildren = class {
|
|
|
128
128
|
return (h(ChildrenWrapper, { hasChildren: children.length > 0 }, children.map((child, i) => this.renderChild(child, i === children.length - 1))));
|
|
129
129
|
}
|
|
130
130
|
render() {
|
|
131
|
-
return (h(ResultChildrenGuard, { key: '
|
|
131
|
+
return (h(ResultChildrenGuard, { key: '166e6636541e62682f2cdf3aa3f742e23ae6efaf', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
|
|
132
132
|
}
|
|
133
133
|
get host() { return getElement(this); }
|
|
134
134
|
};
|
|
@@ -111,7 +111,7 @@ const AtomicInsightResultList = class {
|
|
|
111
111
|
render() {
|
|
112
112
|
this.itemListCommon.updateBreakpoints();
|
|
113
113
|
const listClasses = this.computeListDisplayClasses();
|
|
114
|
-
return (h(ItemListGuard, { key: '
|
|
114
|
+
return (h(ItemListGuard, { key: '91352feb7ae5972c976a9c16284347626a643659', hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults, hasError: this.resultListState.hasError }, h(DisplayWrapper, { key: 'b611d70901c95f48495fd6d4aa78f571cab95861', listClasses: listClasses, display: this.display }, h(ResultsPlaceholdersGuard, { key: '96d42bed5e2f2a9c57f6997a54bc8968675a83fb', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), h(ItemDisplayGuard, { key: '019c2d88d2eb45f7f429f80434831ae22bf8782b', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.resultListState.results.map((result, i) => {
|
|
115
115
|
const atomicInsightResultProps = this.getPropsForAtomicInsightResult(result);
|
|
116
116
|
return (h("atomic-insight-result", { ...atomicInsightResultProps, part: "outline", ref: (element) => element && this.itemListCommon.setNewResultRef(element, i) }));
|
|
117
117
|
})))));
|
|
@@ -114,7 +114,7 @@ const AtomicInsightResultQuickviewAction = class {
|
|
|
114
114
|
this.addQuickviewModalIfNeeded();
|
|
115
115
|
this.updateModalContent();
|
|
116
116
|
if (this.shouldRenderQuickview) {
|
|
117
|
-
return (h(IconButton, { key: '
|
|
117
|
+
return (h(IconButton, { key: '2c20d39af6832c5db5c629131aa8616d48efdbd8', partPrefix: "result-action", style: "outline-neutral", ref: this.focusTarget.setTarget, icon: QuickviewIcon, title: this.bindings.i18n.t('quickview'), onClick: () => this.onClick() }));
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
get host() { return getElement(this); }
|