@coveo/atomic 3.33.2 → 3.33.3-pre.00ad201706
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 -4
- package/dist/atomic/components/_index.js +0 -2
- 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 +82 -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-refine-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-insight-result-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +1 -1
- package/dist/atomic/components/atomic-insight-result-children.js +1 -1
- package/dist/atomic/components/atomic-insight-result-list.js +1 -1
- package/dist/atomic/components/atomic-insight-result-quickview-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result2.js +1 -1
- package/dist/atomic/components/atomic-insight-search-box.js +2 -2
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-insight-tabs.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-session2.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-body2.js +2 -2
- package/dist/atomic/components/atomic-ipx-button.js +2 -2
- package/dist/atomic/components/atomic-ipx-embedded.js +1 -1
- package/dist/atomic/components/atomic-ipx-modal.js +2 -2
- package/dist/atomic/components/atomic-ipx-recs-list.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-ipx-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js +1 -1
- package/dist/atomic/components/atomic-ipx-tabs.js +1 -1
- package/dist/atomic/components/atomic-load-more-results.js +1 -1
- package/dist/atomic/components/atomic-modal2.js +2 -2
- package/dist/atomic/components/atomic-no-results.js +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +1 -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-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 +2 -2
- package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
- package/dist/atomic/components/atomic-search-box-instant-results.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
- package/dist/atomic/components/atomic-search-box.js +4 -4
- package/dist/atomic/components/atomic-search-interface.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/common/query-error/guard.js +11 -0
- 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/atomic-insight-query-error/atomic-insight-query-error.js +83 -0
- package/dist/atomic/components/components/insight/index.js +3 -1
- package/dist/atomic/components/components/insight/lazy-index.js +4 -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-a7dcf131.entry.js → p-00d0ce4a.entry.js} +2 -2
- package/dist/atomic/{p-1d091f9a.entry.js → p-04fbe400.entry.js} +2 -2
- package/dist/atomic/{p-d1d2d945.entry.js → p-05a3e5a4.entry.js} +2 -2
- package/dist/atomic/{p-80055cf6.entry.js → p-0848edb6.entry.js} +2 -2
- package/dist/atomic/p-089ea49c.entry.js +2 -0
- package/dist/atomic/{p-84befe35.entry.js → p-0b44ae08.entry.js} +2 -2
- package/dist/atomic/{p-633628d5.entry.js → p-10c64b16.entry.js} +2 -2
- package/dist/atomic/{p-ce9e510c.entry.js → p-117be4a4.entry.js} +2 -2
- package/dist/atomic/p-17863d79.entry.js +2 -0
- package/dist/atomic/{p-26ad479b.entry.js → p-182a3f9e.entry.js} +2 -2
- package/dist/atomic/{p-cbb819d2.entry.js → p-191edc11.entry.js} +2 -2
- package/dist/atomic/{p-069bf2b9.entry.js → p-1b62c28e.entry.js} +2 -2
- package/dist/atomic/{p-58610952.entry.js → p-24c2110b.entry.js} +2 -2
- package/dist/atomic/{p-571c9614.entry.js → p-2c64e9a2.entry.js} +2 -2
- package/dist/atomic/{p-13e67ab3.entry.js → p-2e2514cf.entry.js} +2 -2
- package/dist/atomic/{p-496da1c9.entry.js → p-308e27ad.entry.js} +2 -2
- package/dist/atomic/{p-b7f38541.entry.js → p-30ad63ef.entry.js} +2 -2
- package/dist/atomic/{p-1c2d25ba.entry.js → p-338b7e34.entry.js} +2 -2
- package/dist/atomic/{p-0c9b553c.entry.js → p-3470ece0.entry.js} +2 -2
- package/dist/atomic/{p-ab627e18.entry.js → p-378fb61e.entry.js} +2 -2
- package/dist/atomic/{p-df2df66a.entry.js → p-37e08995.entry.js} +2 -2
- package/dist/atomic/{p-c9fa8526.entry.js → p-3a994997.entry.js} +2 -2
- package/dist/atomic/{p-c3746d6e.entry.js → p-3c15b912.entry.js} +2 -2
- package/dist/atomic/{p-552d1f66.entry.js → p-44f3df5e.entry.js} +2 -2
- package/dist/atomic/{p-a14fd4de.entry.js → p-4675bdbb.entry.js} +2 -2
- package/dist/atomic/{p-896724e9.entry.js → p-48ef4c1f.entry.js} +2 -2
- package/dist/atomic/{p-aff3a66a.entry.js → p-4a7746df.entry.js} +2 -2
- package/dist/atomic/{p-1c3363ec.entry.js → p-4f097bb4.entry.js} +2 -2
- package/dist/atomic/{p-8b70f39a.entry.js → p-4f26060e.entry.js} +2 -2
- package/dist/atomic/{p-09924944.entry.js → p-55897223.entry.js} +2 -2
- package/dist/atomic/{p-26098930.entry.js → p-58efef75.entry.js} +2 -2
- package/dist/atomic/{p-2c7d4967.entry.js → p-60905b64.entry.js} +2 -2
- package/dist/atomic/{p-b16950ec.entry.js → p-641fc06f.entry.js} +2 -2
- package/dist/atomic/{p-b328cab9.entry.js → p-6a42329f.entry.js} +2 -2
- package/dist/atomic/{p-a3a1f8e9.entry.js → p-6b23deee.entry.js} +2 -2
- package/dist/atomic/{p-2e91aea8.entry.js → p-6b297a61.entry.js} +2 -2
- package/dist/atomic/{p-b103b28a.entry.js → p-70c431f9.entry.js} +2 -2
- package/dist/atomic/{p-258c3253.entry.js → p-71fbcd16.entry.js} +2 -2
- package/dist/atomic/{p-c667812c.entry.js → p-80beb49c.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-8458c355.entry.js +2 -0
- package/dist/atomic/p-8458c355.entry.js.map +1 -0
- package/dist/atomic/{p-4c7654eb.entry.js → p-87747240.entry.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js → p-8a29b219.js} +2 -2
- package/dist/atomic/{p-1315bbaf.js.map → p-8a29b219.js.map} +1 -1
- package/dist/atomic/{p-ef22a3f2.entry.js → p-8f6c61c6.entry.js} +2 -2
- package/dist/atomic/{p-5027d796.entry.js → p-910c67c0.entry.js} +2 -2
- package/dist/atomic/{p-82a8cf74.entry.js → p-943b29c2.entry.js} +2 -2
- package/dist/atomic/{p-3af5e810.entry.js → p-94877a71.entry.js} +2 -2
- package/dist/atomic/{p-05ab5909.entry.js → p-9507e1bc.entry.js} +2 -2
- package/dist/atomic/{p-cb051c21.entry.js → p-96e61669.entry.js} +2 -2
- package/dist/atomic/{p-aa40956c.entry.js → p-971a8a73.entry.js} +2 -2
- package/dist/atomic/{p-5c995d77.entry.js → p-a6cdf904.entry.js} +2 -2
- package/dist/atomic/{p-fc6beee6.entry.js → p-af487ad9.entry.js} +2 -2
- package/dist/atomic/{p-88e4a2f9.entry.js → p-b1305119.entry.js} +2 -2
- package/dist/atomic/{p-612155f0.entry.js → p-b8cd724f.entry.js} +2 -2
- package/dist/atomic/{p-2d3ef0f7.entry.js → p-ba03d7c7.entry.js} +2 -2
- package/dist/atomic/{p-516b5bd4.entry.js → p-ba9b2923.entry.js} +2 -2
- package/dist/atomic/{p-875583aa.entry.js → p-c4d188d5.entry.js} +2 -2
- package/dist/atomic/{p-15d952f3.entry.js → p-c69ae97a.entry.js} +2 -2
- package/dist/atomic/{p-a2714d7e.entry.js → p-c9317aca.entry.js} +2 -2
- package/dist/atomic/{p-64fc4340.entry.js → p-c9e0fd97.entry.js} +2 -2
- package/dist/atomic/{p-737f842d.entry.js → p-cc3bf0ea.entry.js} +2 -2
- package/dist/atomic/{p-d5071b5a.entry.js → p-d1caf040.entry.js} +2 -2
- package/dist/atomic/p-d346b623.entry.js +2 -0
- package/dist/atomic/{p-b97abfb9.entry.js → p-d62c5612.entry.js} +2 -2
- package/dist/atomic/{p-b0bd2709.entry.js → p-d960b136.entry.js} +2 -2
- package/dist/atomic/{p-79499898.entry.js → p-e385889f.entry.js} +2 -2
- package/dist/atomic/{p-bfdecd0f.entry.js → p-e501f1c0.entry.js} +2 -2
- package/dist/atomic/{p-c61609ea.entry.js → p-eb6044a0.entry.js} +2 -2
- package/dist/atomic/{p-e750df14.entry.js → p-ec9c9547.entry.js} +2 -2
- package/dist/atomic/{p-5138d839.entry.js → p-ef08ecba.entry.js} +2 -2
- package/dist/atomic/p-f35551d4.entry.js +2 -0
- package/dist/atomic/{p-9d9f201f.entry.js.map → p-f35551d4.entry.js.map} +1 -1
- package/dist/atomic/{p-50467793.entry.js → p-f5a702cd.entry.js} +2 -2
- package/dist/atomic/{p-57b47b73.entry.js → p-f839d361.entry.js} +2 -2
- package/dist/atomic/{p-cdd70f49.entry.js → p-fa1dcc3e.entry.js} +2 -2
- package/dist/atomic/{p-6ad1adfb.entry.js → p-fb772dcb.entry.js} +2 -2
- package/dist/atomic/{p-1f5473a6.entry.js → p-fed52985.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-f2718cd7.js → analytics-config-928d474c.js} +2 -2
- package/dist/cjs/analytics-config-928d474c.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 +84 -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-refine-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-body.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-button.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-tabs.cjs.entry.js +1 -1
- package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-query-summary.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +2 -2
- package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js +3 -3
- package/dist/cjs/atomic-search-box-instant-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box.cjs.entry.js +4 -4
- package/dist/cjs/atomic-search-interface.cjs.entry.js +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 -8
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-a2ebaf0d.js → analytics-config-99b2416b.js} +3 -3
- package/dist/esm/analytics-config-99b2416b.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 +82 -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-refine-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-result-action.entry.js +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +1 -1
- package/dist/esm/atomic-insight-result-children.entry.js +1 -1
- package/dist/esm/atomic-insight-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-result-quickview-action.entry.js +1 -1
- package/dist/esm/atomic-insight-result.entry.js +1 -1
- package/dist/esm/atomic-insight-search-box.entry.js +2 -2
- package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-insight-tabs.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-session_2.entry.js +1 -1
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-body.entry.js +2 -2
- package/dist/esm/atomic-ipx-button.entry.js +2 -2
- package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
- package/dist/esm/atomic-ipx-modal.entry.js +2 -2
- package/dist/esm/atomic-ipx-recs-list.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-ipx-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-ipx-result-link.entry.js +1 -1
- package/dist/esm/atomic-ipx-tabs.entry.js +1 -1
- package/dist/esm/atomic-load-more-results.entry.js +1 -1
- package/dist/esm/atomic-no-results.entry.js +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-pager.entry.js +3 -3
- package/dist/esm/atomic-query-error.entry.js +1 -1
- package/dist/esm/atomic-query-summary.entry.js +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-recs-error.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +2 -2
- package/dist/esm/atomic-recs-list.entry.js +1 -1
- package/dist/esm/atomic-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-relevance-inspector.entry.js +2 -2
- package/dist/esm/atomic-result-children.entry.js +1 -1
- package/dist/esm/atomic-result-fields-list.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js +1 -1
- package/dist/esm/atomic-result-list.entry.js +1 -1
- package/dist/esm/atomic-result-placeholder_8.entry.js +3 -3
- package/dist/esm/atomic-search-box-instant-results.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-search-box.entry.js +4 -4
- package/dist/esm/atomic-search-interface.entry.js +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 -8
- package/dist/esm/version.js +1 -1
- package/dist/types/components/common/query-error/guard.d.ts +10 -0
- package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +35 -42
- package/dist/types/components/insight/atomic-insight-query-error/atomic-insight-query-error.d.ts +13 -6
- package/dist/types/components/insight/index.d.ts +2 -1
- package/dist/types/components.d.ts +4 -126
- 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/atomic-insight-query-error.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-query-error.js +0 -76
- package/dist/atomic/components/atomic-insight-query-error.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-217c470c.entry.js +0 -2
- package/dist/atomic/p-217c470c.entry.js.map +0 -1
- 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-8ef0e022.entry.js +0 -2
- package/dist/atomic/p-9d9f201f.entry.js +0 -2
- package/dist/atomic/p-ce83d873.entry.js +0 -2
- package/dist/atomic/p-f39de057.entry.js +0 -2
- package/dist/atomic/p-f39de057.entry.js.map +0 -1
- 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/atomic-insight-query-error.cjs.entry.js +0 -67
- package/dist/cjs/atomic-insight-query-error.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/atomic-insight-query-error.entry.js +0 -63
- package/dist/esm/atomic-insight-query-error.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-a7dcf131.entry.js.map → p-00d0ce4a.entry.js.map} +0 -0
- /package/dist/atomic/{p-1d091f9a.entry.js.map → p-04fbe400.entry.js.map} +0 -0
- /package/dist/atomic/{p-d1d2d945.entry.js.map → p-05a3e5a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-80055cf6.entry.js.map → p-0848edb6.entry.js.map} +0 -0
- /package/dist/atomic/{p-8ef0e022.entry.js.map → p-089ea49c.entry.js.map} +0 -0
- /package/dist/atomic/{p-84befe35.entry.js.map → p-0b44ae08.entry.js.map} +0 -0
- /package/dist/atomic/{p-633628d5.entry.js.map → p-10c64b16.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce9e510c.entry.js.map → p-117be4a4.entry.js.map} +0 -0
- /package/dist/atomic/{p-52121e1e.entry.js.map → p-17863d79.entry.js.map} +0 -0
- /package/dist/atomic/{p-26ad479b.entry.js.map → p-182a3f9e.entry.js.map} +0 -0
- /package/dist/atomic/{p-cbb819d2.entry.js.map → p-191edc11.entry.js.map} +0 -0
- /package/dist/atomic/{p-069bf2b9.entry.js.map → p-1b62c28e.entry.js.map} +0 -0
- /package/dist/atomic/{p-58610952.entry.js.map → p-24c2110b.entry.js.map} +0 -0
- /package/dist/atomic/{p-571c9614.entry.js.map → p-2c64e9a2.entry.js.map} +0 -0
- /package/dist/atomic/{p-13e67ab3.entry.js.map → p-2e2514cf.entry.js.map} +0 -0
- /package/dist/atomic/{p-496da1c9.entry.js.map → p-308e27ad.entry.js.map} +0 -0
- /package/dist/atomic/{p-b7f38541.entry.js.map → p-30ad63ef.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c2d25ba.entry.js.map → p-338b7e34.entry.js.map} +0 -0
- /package/dist/atomic/{p-0c9b553c.entry.js.map → p-3470ece0.entry.js.map} +0 -0
- /package/dist/atomic/{p-ab627e18.entry.js.map → p-378fb61e.entry.js.map} +0 -0
- /package/dist/atomic/{p-df2df66a.entry.js.map → p-37e08995.entry.js.map} +0 -0
- /package/dist/atomic/{p-c9fa8526.entry.js.map → p-3a994997.entry.js.map} +0 -0
- /package/dist/atomic/{p-c3746d6e.entry.js.map → p-3c15b912.entry.js.map} +0 -0
- /package/dist/atomic/{p-552d1f66.entry.js.map → p-44f3df5e.entry.js.map} +0 -0
- /package/dist/atomic/{p-a14fd4de.entry.js.map → p-4675bdbb.entry.js.map} +0 -0
- /package/dist/atomic/{p-896724e9.entry.js.map → p-48ef4c1f.entry.js.map} +0 -0
- /package/dist/atomic/{p-aff3a66a.entry.js.map → p-4a7746df.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c3363ec.entry.js.map → p-4f097bb4.entry.js.map} +0 -0
- /package/dist/atomic/{p-8b70f39a.entry.js.map → p-4f26060e.entry.js.map} +0 -0
- /package/dist/atomic/{p-09924944.entry.js.map → p-55897223.entry.js.map} +0 -0
- /package/dist/atomic/{p-26098930.entry.js.map → p-58efef75.entry.js.map} +0 -0
- /package/dist/atomic/{p-2c7d4967.entry.js.map → p-60905b64.entry.js.map} +0 -0
- /package/dist/atomic/{p-b16950ec.entry.js.map → p-641fc06f.entry.js.map} +0 -0
- /package/dist/atomic/{p-b328cab9.entry.js.map → p-6a42329f.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3a1f8e9.entry.js.map → p-6b23deee.entry.js.map} +0 -0
- /package/dist/atomic/{p-2e91aea8.entry.js.map → p-6b297a61.entry.js.map} +0 -0
- /package/dist/atomic/{p-b103b28a.entry.js.map → p-70c431f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-258c3253.entry.js.map → p-71fbcd16.entry.js.map} +0 -0
- /package/dist/atomic/{p-c667812c.entry.js.map → p-80beb49c.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-ef22a3f2.entry.js.map → p-8f6c61c6.entry.js.map} +0 -0
- /package/dist/atomic/{p-5027d796.entry.js.map → p-910c67c0.entry.js.map} +0 -0
- /package/dist/atomic/{p-82a8cf74.entry.js.map → p-943b29c2.entry.js.map} +0 -0
- /package/dist/atomic/{p-3af5e810.entry.js.map → p-94877a71.entry.js.map} +0 -0
- /package/dist/atomic/{p-05ab5909.entry.js.map → p-9507e1bc.entry.js.map} +0 -0
- /package/dist/atomic/{p-cb051c21.entry.js.map → p-96e61669.entry.js.map} +0 -0
- /package/dist/atomic/{p-aa40956c.entry.js.map → p-971a8a73.entry.js.map} +0 -0
- /package/dist/atomic/{p-5c995d77.entry.js.map → p-a6cdf904.entry.js.map} +0 -0
- /package/dist/atomic/{p-fc6beee6.entry.js.map → p-af487ad9.entry.js.map} +0 -0
- /package/dist/atomic/{p-88e4a2f9.entry.js.map → p-b1305119.entry.js.map} +0 -0
- /package/dist/atomic/{p-612155f0.entry.js.map → p-b8cd724f.entry.js.map} +0 -0
- /package/dist/atomic/{p-2d3ef0f7.entry.js.map → p-ba03d7c7.entry.js.map} +0 -0
- /package/dist/atomic/{p-516b5bd4.entry.js.map → p-ba9b2923.entry.js.map} +0 -0
- /package/dist/atomic/{p-875583aa.entry.js.map → p-c4d188d5.entry.js.map} +0 -0
- /package/dist/atomic/{p-15d952f3.entry.js.map → p-c69ae97a.entry.js.map} +0 -0
- /package/dist/atomic/{p-a2714d7e.entry.js.map → p-c9317aca.entry.js.map} +0 -0
- /package/dist/atomic/{p-64fc4340.entry.js.map → p-c9e0fd97.entry.js.map} +0 -0
- /package/dist/atomic/{p-737f842d.entry.js.map → p-cc3bf0ea.entry.js.map} +0 -0
- /package/dist/atomic/{p-d5071b5a.entry.js.map → p-d1caf040.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce83d873.entry.js.map → p-d346b623.entry.js.map} +0 -0
- /package/dist/atomic/{p-b97abfb9.entry.js.map → p-d62c5612.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0bd2709.entry.js.map → p-d960b136.entry.js.map} +0 -0
- /package/dist/atomic/{p-79499898.entry.js.map → p-e385889f.entry.js.map} +0 -0
- /package/dist/atomic/{p-bfdecd0f.entry.js.map → p-e501f1c0.entry.js.map} +0 -0
- /package/dist/atomic/{p-c61609ea.entry.js.map → p-eb6044a0.entry.js.map} +0 -0
- /package/dist/atomic/{p-e750df14.entry.js.map → p-ec9c9547.entry.js.map} +0 -0
- /package/dist/atomic/{p-5138d839.entry.js.map → p-ef08ecba.entry.js.map} +0 -0
- /package/dist/atomic/{p-50467793.entry.js.map → p-f5a702cd.entry.js.map} +0 -0
- /package/dist/atomic/{p-57b47b73.entry.js.map → p-f839d361.entry.js.map} +0 -0
- /package/dist/atomic/{p-cdd70f49.entry.js.map → p-fa1dcc3e.entry.js.map} +0 -0
- /package/dist/atomic/{p-6ad1adfb.entry.js.map → p-fb772dcb.entry.js.map} +0 -0
- /package/dist/atomic/{p-1f5473a6.entry.js.map → p-fed52985.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: '4cb723df48d87a0dab4076285bfe75e47927f748', 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: 'bf81429b84e4d63417153578e29b82724d5f6e35' });
|
|
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: '97a4dff6f3009d9a8659eca5c8e5b3625965968a', 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: 'f6d3ca5f734648ce9d12bfe1c3243fa4a8cc84de', 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: 'd75847b24670a980ec0ed8f670fac77b52c9632b', 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: '1687d07635960b60d6aff0c3370f3d94f2e4e289', 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: '816fa5b9b5e8230dd7da999afa8aa486bbbc3fae', 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: '4f7d4f867b1fb30b5bc100b6b1e61e6a58bc82bc', firstRequestExecuted: this.foldedResultListState.firstSearchExecuted, hasItems: this.foldedResultListState.hasResults, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, hasError: this.foldedResultListState.hasError }, h(DisplayWrapper, { key: '68db15f977cfd85003b7f21872329d3762d335fc', listClasses: listClasses, display: this.display }, h(ResultsPlaceholdersGuard, { key: '139e0b586405ef2c9e2f432f81f15e906dca71b8', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), h(ItemDisplayGuard, { key: '6883297567c39afc3ca95a300d6c156d846fab52', 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;
|
|
@@ -38,6 +116,8 @@ const AtomicInsightLayout = class {
|
|
|
38
116
|
}
|
|
39
117
|
}
|
|
40
118
|
makeStyleTag() {
|
|
119
|
+
if (!this.bindings)
|
|
120
|
+
return;
|
|
41
121
|
this.styleTag = this.bindings.createStyleElement();
|
|
42
122
|
this.styleTag.innerHTML = buildInsightLayout(this.host, this.widget);
|
|
43
123
|
this.host.appendChild(this.styleTag);
|
|
@@ -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,IAAG,CAAC,IAAI,CAAC,QAAQ;YAAG,OAAO;QAC3B,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;;;;;;AAtB4B;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 if(!this.bindings ) return;\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
|
} }))));
|
|
@@ -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: 'd391ea3233213cad06cce47d8aa999d0f19738de' }, this.interfaceDimensions && (h("style", { key: '5799074e01b749867b33f79a0db472e9a58a438e' }, `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: 'bdac2293293a42f30a3a1d876d98cf1ab2a82483', 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: '6a29c50b1365e77deeebc3058440977097c7a608', 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: 'ca201d1917024dba4484c9549713c5a10ec001ab', 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: '5e00b1c7ed1306015812f2caa464b06ae734cace', 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: '2d143f7ce9c57a94c0e29fa58d07950e02e17915', hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults, hasError: this.resultListState.hasError }, h(DisplayWrapper, { key: '99f4fef3b1288420b123de59012d0cc4f2e5ebed', listClasses: listClasses, display: this.display }, h(ResultsPlaceholdersGuard, { key: 'ff25cd4ea8933d3751cc3d0e26b1369beba7a9bd', displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults, display: this.display, density: this.density, imageSize: this.imageSize }), h(ItemDisplayGuard, { key: '2856490135315b08b7683cc75d691823eb642107', 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: '524b427d0bf3b5bba4686410c0453023a9f012fa', 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); }
|
|
@@ -72,7 +72,7 @@ const AtomicInsightResult = class {
|
|
|
72
72
|
.join('');
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '1f436ea96cd88615501b77f6a167c744aa0b49b1', class: resultComponentClass }, h("div", { key: '4369cfce1bf3fd5c1c5a295671b3c6cb3ee7e5da', class: `result-root ${this.layout
|
|
76
76
|
.getClasses()
|
|
77
77
|
.concat(this.classes)
|
|
78
78
|
.join(' ')}`, innerHTML: this.getContentHTML() })));
|
|
@@ -212,13 +212,13 @@ const AtomicInsightSearchBox = class {
|
|
|
212
212
|
: this.bindings.i18n.t('query-suggestions-unavailable');
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
|
-
return (h(SearchBoxWrapper, { key: '
|
|
215
|
+
return (h(SearchBoxWrapper, { key: 'f497a4003073a54f778a149eb05598db90a26d65', disabled: this.disableSearch, onFocusout: (event) => {
|
|
216
216
|
if (!isFocusingOut(event)) {
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
this.suggestionManager.clearSuggestions();
|
|
220
220
|
this.isExpanded = false;
|
|
221
|
-
} }, h("atomic-icon", { key: '
|
|
221
|
+
} }, h("atomic-icon", { key: 'edd832afa753d82464e9c97b5d7b5d893e043cc2', part: "submit-icon", icon: SearchSlimIcon, class: "my-auto mr-0 ml-4 h-4 w-4" }), h(SearchTextArea, { key: '9608b491b85d418c9e3cbf4a0408aa2d270827e0', 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: () => {
|
|
222
222
|
this.searchBox.clear();
|
|
223
223
|
this.triggerTextAreaChange('');
|
|
224
224
|
}, onInput: (e) => this.onInput(e.target.value) }), this.renderSuggestions()));
|
|
@@ -49,9 +49,9 @@ const AtomicInsightSmartSnippetFeedbackModal = class {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
updateBreakpoints(this.host);
|
|
52
|
-
return (h("atomic-modal", { key: '
|
|
52
|
+
return (h("atomic-modal", { key: 'd4b31d45cadfa9eef6ec44f68f223bddeada0aa1', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: 'e20b0fc9fd2cfe24b894a091d6f500736d815f37', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: '19830a8c6f9d696eadbbfec61d0118aea2c6aa72', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: '04945dd835bcc55dc525a10eef533b305553e74b', i18n: this.bindings.i18n }, smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (h(SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
|
|
53
53
|
this.currentAnswer = correspondingAnswer;
|
|
54
|
-
} })))), h(SmartSnippetFeedbackModalDetails, { key: '
|
|
54
|
+
} })))), h(SmartSnippetFeedbackModalDetails, { key: '4bffed0d718a6fc7a82e4b72a62207df9dcf0b61', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'd409996c9b7e84b9c12b542d4207ab4c681d601a', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
55
55
|
}
|
|
56
56
|
close() {
|
|
57
57
|
this.isOpen = false;
|
|
@@ -21,7 +21,7 @@ const AtomicInsightTabs = class {
|
|
|
21
21
|
this.error = undefined;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("atomic-tab-bar", { key: '
|
|
24
|
+
return (h("atomic-tab-bar", { key: '2ce919114c2290d40dcaa4c355fc0f9a2f2ab91f' }, h("slot", { key: 'cf6c8dded91e7129e79e26434390d0c306b1183f' })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
__decorate([
|
|
@@ -151,7 +151,7 @@ const AtomicInsightUserActionsSession = class {
|
|
|
151
151
|
render() {
|
|
152
152
|
const isShowMoreActionsButtonVisible = !this.areActionsAfterCaseCreationVisible &&
|
|
153
153
|
!!this.userActionsAfterCaseCreation.length;
|
|
154
|
-
return (h("div", { key: '
|
|
154
|
+
return (h("div", { key: '1057b0c9192cdbd71c7988111e9900e52de72fab' }, this.renderSessionStartDate(), this.areActionsAfterCaseCreationVisible && (h("div", { key: 'cbafbafe4bd33857c9d30cc4acc3e67d5213fb09', "data-testid": "more-actions-section" }, this.renderActions(this.userActionsAfterCaseCreation))), isShowMoreActionsButtonVisible && this.renderShowMoreActionsButton(), this.renderActions(this.userActionsToDisplay)));
|
|
155
155
|
}
|
|
156
156
|
static get watchers() { return {
|
|
157
157
|
"userActions": ["prepareUserActionsToDisplay"]
|
|
@@ -60,7 +60,7 @@ const AtomicInsightUserActionsToggle = class {
|
|
|
60
60
|
this.modalRef.excludedCustomActions = this.excludedCustomActions;
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(IconButton, { key: '
|
|
63
|
+
return (h(IconButton, { key: '3515dd7c3bbcdd8c876544e993c4db43cb48b983', partPrefix: "insight-user-actions-toggle", style: "outline-neutral", icon: Clock, ariaLabel: this.bindings.i18n.t('user-actions'), onClick: () => {
|
|
64
64
|
this.enableModal();
|
|
65
65
|
}, title: this.bindings.i18n.t('user-actions'), buttonRef: (button) => {
|
|
66
66
|
if (!button) {
|
|
@@ -39,7 +39,7 @@ const AtomicIPXBody = class {
|
|
|
39
39
|
render() {
|
|
40
40
|
this.updateBreakpoints();
|
|
41
41
|
const isEmbedded = this.isOpen === undefined;
|
|
42
|
-
return (h("article", { key: '
|
|
42
|
+
return (h("article", { key: '3dcc582f94e2cc5fd6e74e62ae8953e384b825df', part: "container", class: `${isEmbedded ? '' : this.isOpen ? 'visible' : 'invisible'}`, onAnimationEnd: () => this.animationEnded.emit() }, h("style", { key: '858c39620c8f2cace7f02c19535ee9eac981b810' }, `
|
|
43
43
|
/* Chrome, Edge & Safari */
|
|
44
44
|
.scrollbar::-webkit-scrollbar {
|
|
45
45
|
width: 0.8rem;
|
|
@@ -64,7 +64,7 @@ const AtomicIPXBody = class {
|
|
|
64
64
|
scrollbar-color: var(--atomic-primary) var(--atomic-background);
|
|
65
65
|
scrollbar-width: auto;
|
|
66
66
|
}
|
|
67
|
-
`), h("header", { key: '
|
|
67
|
+
`), h("header", { key: 'da384ab1c43c5826dd42dfc2add3f663359c8b48', part: "header-wrapper", class: "flex flex-col items-center" }, h("div", { key: 'f4e8d2fe564e7b63a5d3e0e6de62ef38ca8e669c', part: "header" }, h("slot", { key: '8ef4ef0bcf0e0d2740689c79aa0d133245c746f3', name: "header" }))), h("hr", { key: 'e5fc6f438c41d4cbb195315c021695e98e36559d', part: "header-ruler", class: "" }), h("div", { key: 'cd2740c6fc58948de9fa653e3ade6c18a1bdaf91', part: "body-wrapper", class: "scrollbar flex w-full grow flex-col overflow-auto" }, h("div", { key: '21c0aea8f438fe71c11f8481d2e24ae786cf4bdc', part: "body", class: "w-full" }, h("slot", { key: 'd664d6bf708dce3149df11e81144f6f4be1c1d9b', name: "body" }))), this.displayFooterSlot && (h("footer", { key: '01b2221dcab9554702e48562af77edb174db2b0f', part: "footer-wrapper", class: "border-neutral bg-background z-10 flex w-full flex-col items-center border-t" }, h("div", { key: 'ee77d7b271d8665871d816411ba852886f63a633', part: "footer" }, h("slot", { key: '66c70b6deb124f0ef26dac23f698fc409b4bfa10', name: "footer" }))))));
|
|
68
68
|
}
|
|
69
69
|
get host() { return getElement(this); }
|
|
70
70
|
};
|
|
@@ -70,7 +70,7 @@ const AtomicIPXButton = class {
|
|
|
70
70
|
if (this.isModalOpen && !this.recommendationsLoaded) {
|
|
71
71
|
this.getRecommendations();
|
|
72
72
|
}
|
|
73
|
-
return (h(Fragment, { key: '
|
|
73
|
+
return (h(Fragment, { key: '6f7c7ea1d63727c40cbdd8a7731df854fe8cee41' }, h("style", { key: '332b5fd4522446136557d92cc5573b604ff241c7' }, `
|
|
74
74
|
[part=${displayedIcon}] {
|
|
75
75
|
transform: translateY(0rem);
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ const AtomicIPXButton = class {
|
|
|
87
87
|
[part=${hiddenIcon}] {
|
|
88
88
|
transform: translateY(0rem);
|
|
89
89
|
}
|
|
90
|
-
}`), h("div", { key: '
|
|
90
|
+
}`), h("div", { key: 'cdd8c6ba8008a9f2e8aff3962ae5dc1c716cb578', class: "flex flex-col items-center", part: "container" }, this.renderIPXButton())));
|
|
91
91
|
}
|
|
92
92
|
get ipxModal() {
|
|
93
93
|
return this.bindings.interfaceElement.querySelector('atomic-ipx-modal');
|