@coveo/atomic 3.28.0-pre.c28335485c → 3.28.0-pre.d7a2bdbfed
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 +8 -0
- package/dist/atomic/components/_index.js +4 -0
- package/dist/atomic/components/atomic-aria-live2.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +1 -1
- package/dist/atomic/components/atomic-citation.js +1 -1
- package/dist/atomic/components/atomic-commerce-category-facet2.js +1 -1
- package/dist/atomic/components/atomic-commerce-no-products.d.ts +11 -0
- package/dist/atomic/components/atomic-commerce-no-products.js +74 -0
- package/dist/atomic/components/atomic-commerce-no-products.js.map +1 -0
- package/dist/atomic/components/atomic-commerce-numeric-facet2.js +2 -2
- package/dist/atomic/components/atomic-commerce-query-error.js +1 -1
- package/dist/atomic/components/atomic-commerce-recommendation-interface.js +1 -1
- package/dist/atomic/components/atomic-commerce-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-commerce-refine-toggle.js +1 -1
- package/dist/atomic/components/atomic-commerce-text.d.ts +11 -0
- package/dist/atomic/components/atomic-commerce-text.js +8 -0
- package/dist/atomic/components/atomic-commerce-text.js.map +1 -0
- package/dist/atomic/components/atomic-commerce-text2.js +60 -0
- package/dist/atomic/components/atomic-commerce-text2.js.map +1 -0
- package/dist/atomic/components/atomic-commerce-timeframe-facet2.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-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-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-layout-section.d.ts +11 -0
- package/dist/atomic/components/atomic-layout-section.js +35 -0
- package/dist/atomic/components/atomic-layout-section.js.map +1 -0
- 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 +2 -14
- package/dist/atomic/components/atomic-no-results.js.map +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-product-children.js +7 -1
- package/dist/atomic/components/atomic-product-children.js.map +1 -1
- package/dist/atomic/components/atomic-product-description.js +14 -2
- package/dist/atomic/components/atomic-product-description.js.map +1 -1
- package/dist/atomic/components/atomic-product-excerpt.js +14 -2
- package/dist/atomic/components/atomic-product-excerpt.js.map +1 -1
- package/dist/atomic/components/atomic-product-link.js +13 -1
- package/dist/atomic/components/atomic-product-link.js.map +1 -1
- package/dist/atomic/components/atomic-product-price.js +1 -1
- package/dist/atomic/components/atomic-product-text.d.ts +11 -0
- package/dist/atomic/components/atomic-product-text.js +8 -0
- package/dist/atomic/components/atomic-product-text.js.map +1 -0
- package/dist/atomic/components/atomic-product-text2.js +83 -0
- package/dist/atomic/components/atomic-product-text2.js.map +1 -0
- 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-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-result-text2.js +2 -45
- package/dist/atomic/components/atomic-result-text2.js.map +1 -1
- package/dist/atomic/components/atomic-results-per-page.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-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-suggestion-renderer2.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +0 -2
- package/dist/atomic/components/components/commerce/index.js +0 -3
- package/dist/atomic/components/components/commerce/lazy-index.js +0 -3
- package/dist/atomic/components/components/common/index.js +0 -1
- package/dist/atomic/components/components/common/lazy-index.js +0 -1
- package/dist/atomic/components/{stencil-expandable-text.js → expandable-text.js} +1 -1
- package/dist/atomic/components/expandable-text.js.map +1 -0
- package/dist/atomic/components/facet-date-input.js +3 -3
- 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/interface-common-stencil.js +1 -1
- package/dist/atomic/components/product-utils.js +8 -1
- package/dist/atomic/components/product-utils.js.map +1 -1
- package/dist/atomic/components/sections.js.map +1 -1
- package/dist/atomic/components/stencil-item-text-highlighted.js +49 -0
- package/dist/atomic/components/stencil-item-text-highlighted.js.map +1 -0
- package/dist/atomic/components/tab-button.js +1 -1
- package/dist/atomic/components/tab-popover.js +1 -1
- package/dist/atomic/components/{components/common/no-items/utils.js → utils2.js} +5 -1
- package/dist/atomic/components/utils2.js.map +1 -0
- package/dist/atomic/{p-3c56ddf6.entry.js → p-0267a585.entry.js} +2 -2
- package/dist/atomic/{p-a36e0adb.entry.js → p-0a7b0daa.entry.js} +2 -2
- package/dist/atomic/{p-4d139df4.entry.js → p-0b0ea7d3.entry.js} +2 -2
- package/dist/atomic/{p-f46b7410.entry.js → p-135be5aa.entry.js} +2 -2
- package/dist/atomic/{p-ba6a30a7.entry.js → p-1cb6a01c.entry.js} +2 -2
- package/dist/atomic/p-1cb6a01c.entry.js.map +1 -0
- package/dist/atomic/{p-d774c15e.entry.js → p-1cc97adc.entry.js} +2 -2
- package/dist/atomic/{p-ea5d2736.entry.js → p-22a0d1b9.entry.js} +2 -2
- package/dist/atomic/{p-0bcfd9e7.entry.js → p-29d27418.entry.js} +2 -2
- package/dist/atomic/{p-564605c1.entry.js → p-2f0cb73c.entry.js} +2 -2
- package/dist/atomic/p-2ff906b9.entry.js +2 -0
- package/dist/atomic/p-2ff906b9.entry.js.map +1 -0
- package/dist/atomic/{p-3c8ed811.entry.js → p-306c83ea.entry.js} +2 -2
- package/dist/atomic/{p-55f50d5e.entry.js → p-3195fa42.entry.js} +2 -2
- package/dist/atomic/{p-714e5692.entry.js → p-32b26cd0.entry.js} +2 -2
- package/dist/atomic/{p-aac69407.entry.js → p-32c90fe9.entry.js} +2 -2
- package/dist/atomic/p-39223a2a.entry.js +2 -0
- package/dist/atomic/p-39223a2a.entry.js.map +1 -0
- package/dist/atomic/{p-6c71c49b.entry.js → p-3ec18de9.entry.js} +2 -2
- package/dist/atomic/{p-1a189a4a.entry.js → p-3f42a2db.entry.js} +2 -2
- package/dist/atomic/{p-a55a6705.entry.js → p-45b26cc7.entry.js} +2 -2
- package/dist/atomic/{p-3a6d85ba.entry.js → p-46522ee4.entry.js} +2 -2
- package/dist/atomic/{p-1686dd4e.entry.js → p-47ee9d37.entry.js} +2 -2
- package/dist/atomic/{p-6ae6b977.entry.js → p-50b9a5d2.entry.js} +2 -2
- package/dist/atomic/{p-a2161335.entry.js → p-51c5acfc.entry.js} +2 -2
- package/dist/atomic/{p-50d4886b.entry.js → p-543e811e.entry.js} +2 -2
- package/dist/atomic/p-59017e0a.entry.js +2 -0
- package/dist/atomic/p-59017e0a.entry.js.map +1 -0
- package/dist/atomic/p-5cf5bb98.entry.js +2 -0
- package/dist/atomic/{p-64a237ba.entry.js → p-60a9e718.entry.js} +2 -2
- package/dist/atomic/{p-b1230da3.entry.js → p-66683abd.entry.js} +2 -2
- package/dist/atomic/{p-80e1d96b.entry.js → p-67315415.entry.js} +2 -2
- package/dist/atomic/p-67ef14ac.entry.js +2 -0
- package/dist/atomic/p-67ef14ac.entry.js.map +1 -0
- package/dist/atomic/{p-ddf0b2e0.entry.js → p-689e063d.entry.js} +2 -2
- package/dist/atomic/{p-a7abf0e1.entry.js → p-690b5853.entry.js} +2 -2
- package/dist/atomic/{p-f2cc3ceb.entry.js → p-6fa077f7.entry.js} +2 -2
- package/dist/atomic/{p-66562526.entry.js → p-70ab347b.entry.js} +2 -2
- package/dist/atomic/p-733252f1.entry.js +2 -0
- package/dist/atomic/p-733252f1.entry.js.map +1 -0
- package/dist/atomic/{p-948c62c9.entry.js → p-76122df5.entry.js} +2 -2
- package/dist/atomic/{p-8dad20e1.js → p-7cb3144b.js} +2 -2
- package/dist/atomic/{p-cd4c6b6b.entry.js → p-7d1f8d9c.entry.js} +2 -2
- package/dist/atomic/{p-56801993.entry.js → p-80dc3bab.entry.js} +2 -2
- package/dist/atomic/{p-6f6b53e4.entry.js → p-8392e900.entry.js} +2 -2
- package/dist/atomic/{p-907e8b14.entry.js → p-8d7f57d9.entry.js} +2 -2
- package/dist/atomic/{p-5eca0d33.entry.js → p-8e09f796.entry.js} +2 -2
- package/dist/atomic/{p-b5d358d8.entry.js → p-95942ba2.entry.js} +2 -2
- package/dist/atomic/{p-51565abd.entry.js → p-99604083.entry.js} +2 -2
- package/dist/atomic/{p-90619819.entry.js → p-9a08dad7.entry.js} +2 -2
- package/dist/atomic/{p-107400f4.entry.js → p-9ae88402.entry.js} +2 -2
- package/dist/atomic/p-9c7dbbdf.js.map +1 -1
- package/dist/atomic/{p-ae1675b3.entry.js → p-9d2230db.entry.js} +2 -2
- package/dist/atomic/{p-408c230c.entry.js → p-9e4b1ecb.entry.js} +2 -2
- package/dist/atomic/{p-a1719068.entry.js → p-9eb108c9.entry.js} +2 -2
- package/dist/atomic/{p-0166649f.entry.js → p-a046cf06.entry.js} +2 -2
- package/dist/atomic/{p-38885808.entry.js → p-a3169f59.entry.js} +2 -2
- package/dist/atomic/{p-0f4f6b95.entry.js → p-a772b365.entry.js} +2 -2
- package/dist/atomic/{p-631000af.entry.js → p-a8281e9b.entry.js} +2 -2
- package/dist/atomic/{p-a5acd65b.entry.js → p-ab5eec3d.entry.js} +2 -2
- package/dist/atomic/{p-46ecbdbc.entry.js → p-b19a8cbb.entry.js} +2 -2
- package/dist/atomic/p-b1a7d837.js +2 -0
- package/dist/atomic/p-b1a7d837.js.map +1 -0
- package/dist/atomic/{p-bd32ca3c.entry.js → p-b3604b54.entry.js} +2 -2
- package/dist/atomic/p-b3604b54.entry.js.map +1 -0
- package/dist/atomic/{p-a3b64777.entry.js → p-b4d47ca9.entry.js} +2 -2
- package/dist/atomic/{p-ea5d6cd8.entry.js → p-b4dfe5b2.entry.js} +2 -2
- package/dist/atomic/p-b747e4a9.entry.js +2 -0
- package/dist/atomic/{p-74261c54.entry.js → p-b7824e0e.entry.js} +2 -2
- package/dist/atomic/p-bb081d4e.js +2 -0
- package/dist/atomic/p-bb081d4e.js.map +1 -0
- package/dist/atomic/{p-e7834b58.entry.js → p-be05ddd0.entry.js} +2 -2
- package/dist/atomic/{p-a12a865a.entry.js → p-be13ed5c.entry.js} +2 -2
- package/dist/atomic/p-befca41f.entry.js +2 -0
- package/dist/atomic/{p-81575de0.entry.js → p-bfeefcaa.entry.js} +2 -2
- package/dist/atomic/{p-2fb01b9f.entry.js → p-c0d7b26d.entry.js} +2 -2
- package/dist/atomic/{p-b8702505.entry.js → p-c13d4039.entry.js} +2 -2
- package/dist/atomic/{p-ce3a6c4e.entry.js → p-c4f042ae.entry.js} +2 -2
- package/dist/atomic/{p-dd073755.entry.js → p-c83f9cff.entry.js} +2 -2
- package/dist/atomic/{p-e46150fa.entry.js → p-cd87574b.entry.js} +2 -2
- package/dist/atomic/{p-b112525e.entry.js → p-ce4e939b.entry.js} +2 -2
- package/dist/atomic/{p-1fbbed3e.entry.js → p-d1efd50f.entry.js} +2 -2
- package/dist/atomic/{p-eadb22d2.entry.js → p-d30057a0.entry.js} +2 -2
- package/dist/atomic/{p-59ac477f.entry.js → p-d4aba9f9.entry.js} +2 -2
- package/dist/atomic/{p-82c5b823.entry.js → p-d69756ae.entry.js} +2 -2
- package/dist/atomic/{p-07968356.entry.js → p-d827c148.entry.js} +2 -2
- package/dist/atomic/{p-565a5e0d.entry.js → p-dd8c6bdd.entry.js} +2 -2
- package/dist/atomic/{p-be061124.entry.js → p-ddd52850.entry.js} +2 -2
- package/dist/atomic/{p-1d02a670.js → p-de00bdd6.js} +1 -1
- package/dist/atomic/p-de00bdd6.js.map +1 -0
- package/dist/atomic/{p-50b7f5e8.entry.js → p-e44155cc.entry.js} +2 -2
- package/dist/atomic/{p-fdd01814.entry.js → p-e4754fd0.entry.js} +2 -2
- package/dist/atomic/{p-c753c557.entry.js → p-e604fd29.entry.js} +2 -2
- package/dist/atomic/{p-f7cce92b.entry.js → p-e80d722f.entry.js} +2 -2
- package/dist/atomic/{p-ad3ee863.entry.js → p-eab28672.entry.js} +2 -2
- package/dist/atomic/{p-38efdad8.entry.js → p-ec0161b7.entry.js} +2 -2
- package/dist/atomic/{p-bb502279.entry.js → p-ec6bc15b.entry.js} +2 -2
- package/dist/atomic/p-eebb168b.entry.js +2 -0
- package/dist/atomic/{p-4630f21a.entry.js → p-f4a1bfe3.entry.js} +2 -2
- package/dist/atomic/{p-6f708b94.entry.js → p-f4b98113.entry.js} +2 -2
- package/dist/atomic/{p-37a3e033.entry.js → p-f6283657.entry.js} +2 -2
- package/dist/atomic/{p-d9e0dcdf.entry.js → p-f7f8096a.entry.js} +2 -2
- package/dist/atomic/{p-e988f378.js → p-f7f81710.js} +2 -2
- package/dist/atomic/{p-6bda0a03.entry.js → p-fb0bdcdb.entry.js} +2 -2
- package/dist/atomic/p-fb3e07e9.js +2 -0
- package/dist/atomic/p-fb3e07e9.js.map +1 -0
- package/dist/atomic/p-fbbbc454.entry.js +2 -0
- package/dist/atomic/p-fccb1769.js +2 -0
- package/dist/atomic/{p-49e052c2.entry.js → p-fd9d1c3f.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-01739896.js → analytics-config-d9450484.js} +2 -2
- package/dist/cjs/{analytics-config-01739896.js.map → analytics-config-d9450484.js.map} +1 -1
- package/dist/cjs/atomic-aria-live.cjs.entry.js +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-citation.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-category-facet_5.cjs.entry.js +4 -4
- package/dist/cjs/atomic-commerce-facet-number-input_2.cjs.entry.js +3 -3
- package/dist/cjs/atomic-commerce-no-products.cjs.entry.js +65 -0
- package/dist/cjs/atomic-commerce-no-products.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-commerce-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-recommendation-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-commerce-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-commerce-text_2.cjs.entry.js +106 -0
- package/dist/cjs/atomic-commerce-text_2.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-facet-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet-number-input.cjs.entry.js +2 -2
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-focus-trap_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-full-search-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-no-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-pager.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-result-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-layout-section.cjs.entry.js +18 -0
- package/dist/cjs/atomic-layout-section.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-load-more-results.cjs.entry.js +1 -1
- package/dist/cjs/atomic-no-results.cjs.entry.js +3 -15
- package/dist/cjs/atomic-no-results.cjs.entry.js.map +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-product-description.cjs.entry.js +2 -2
- package/dist/cjs/atomic-product-description.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-product-excerpt.cjs.entry.js +2 -2
- package/dist/cjs/atomic-product-excerpt.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-product-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-product-numeric-field-value.cjs.entry.js +1 -1
- package/dist/cjs/atomic-product-price.cjs.entry.js +2 -2
- 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-result-text_2.cjs.entry.js +4 -46
- package/dist/cjs/atomic-result-text_2.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-results-per-page.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 +2 -2
- 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-suggestion-renderer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/{stencil-expandable-text-80915f74.js → expandable-text-36fe9f8d.js} +1 -1
- package/dist/cjs/expandable-text-36fe9f8d.js.map +1 -0
- package/dist/cjs/index-757bc886.js +12 -0
- package/dist/cjs/{interface-common-stencil-9dfe2ea7.js → interface-common-stencil-12a85cad.js} +2 -2
- package/dist/cjs/{interface-common-stencil-9dfe2ea7.js.map → interface-common-stencil-12a85cad.js.map} +1 -1
- package/dist/cjs/{product-utils-f6c780e3.js → product-utils-9507462c.js} +9 -1
- package/dist/cjs/product-utils-9507462c.js.map +1 -0
- package/dist/cjs/sections-4b4af2f8.js.map +1 -1
- package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js +52 -0
- package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js.map +1 -0
- package/dist/cjs/utils-ca9c9aed.js +18 -0
- package/dist/cjs/utils-ca9c9aed.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-1806049b.js → analytics-config-40a361c2.js} +2 -2
- package/dist/esm/{analytics-config-1806049b.js.map → analytics-config-40a361c2.js.map} +1 -1
- package/dist/esm/atomic-aria-live.entry.js +1 -1
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-citation.entry.js +1 -1
- package/dist/esm/atomic-commerce-category-facet_5.entry.js +4 -4
- package/dist/esm/atomic-commerce-facet-number-input_2.entry.js +3 -3
- package/dist/esm/atomic-commerce-no-products.entry.js +61 -0
- package/dist/esm/atomic-commerce-no-products.entry.js.map +1 -0
- package/dist/esm/atomic-commerce-query-error.entry.js +1 -1
- package/dist/esm/atomic-commerce-recommendation-interface.entry.js +2 -2
- package/dist/esm/atomic-commerce-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-commerce-refine-toggle.entry.js +1 -1
- package/dist/esm/atomic-commerce-text_2.entry.js +101 -0
- package/dist/esm/atomic-commerce-text_2.entry.js.map +1 -0
- package/dist/esm/atomic-facet-manager.entry.js +1 -1
- package/dist/esm/atomic-facet-number-input.entry.js +2 -2
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-focus-trap_2.entry.js +2 -2
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
- package/dist/esm/atomic-html.entry.js +1 -1
- package/dist/esm/atomic-insight-edit-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +1 -1
- package/dist/esm/atomic-insight-full-search-button.entry.js +1 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +2 -2
- package/dist/esm/atomic-insight-no-results.entry.js +2 -2
- 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-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-layout-section.entry.js +14 -0
- package/dist/esm/atomic-layout-section.entry.js.map +1 -0
- package/dist/esm/atomic-load-more-results.entry.js +1 -1
- package/dist/esm/atomic-no-results.entry.js +3 -15
- package/dist/esm/atomic-no-results.entry.js.map +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-product-description.entry.js +1 -1
- package/dist/esm/atomic-product-description.entry.js.map +1 -1
- package/dist/esm/atomic-product-excerpt.entry.js +1 -1
- package/dist/esm/atomic-product-excerpt.entry.js.map +1 -1
- package/dist/esm/atomic-product-link.entry.js +1 -1
- package/dist/esm/atomic-product-numeric-field-value.entry.js +1 -1
- package/dist/esm/atomic-product-price.entry.js +2 -2
- 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-result-text_2.entry.js +3 -45
- package/dist/esm/atomic-result-text_2.entry.js.map +1 -1
- package/dist/esm/atomic-results-per-page.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 +2 -2
- 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-suggestion-renderer.entry.js +1 -1
- package/dist/esm/atomic-tab-bar_2.entry.js +1 -1
- package/dist/esm/atomic-tab-button.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/{stencil-expandable-text-957d599c.js → expandable-text-4eebe177.js} +1 -1
- package/dist/esm/expandable-text-4eebe177.js.map +1 -0
- package/dist/esm/index-3f35faca.js +12 -0
- package/dist/esm/{interface-common-stencil-99d1e2ca.js → interface-common-stencil-0c6e5ba8.js} +2 -2
- package/dist/esm/{interface-common-stencil-99d1e2ca.js.map → interface-common-stencil-0c6e5ba8.js.map} +1 -1
- package/dist/esm/{product-utils-85109d2e.js → product-utils-8348689f.js} +9 -2
- package/dist/esm/product-utils-8348689f.js.map +1 -0
- package/dist/esm/sections-ae00b53a.js.map +1 -1
- package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js +49 -0
- package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js.map +1 -0
- package/dist/esm/{stencil-tips-be95482d.js → stencil-tips-06e9b3c2.js} +2 -2
- package/dist/esm/{stencil-tips-be95482d.js.map → stencil-tips-06e9b3c2.js.map} +1 -1
- package/dist/esm/utils-bd51f737.js +16 -0
- package/dist/esm/utils-bd51f737.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.d.ts +6 -15
- package/dist/types/components/commerce/atomic-commerce-text/atomic-commerce-text.d.ts +5 -13
- package/dist/types/components/commerce/atomic-product-description/atomic-product-description.d.ts +1 -1
- package/dist/types/components/commerce/atomic-product-excerpt/atomic-product-excerpt.d.ts +1 -1
- package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +0 -2
- package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +15 -29
- package/dist/types/components/commerce/index.d.ts +0 -3
- package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +2 -11
- package/dist/types/components/common/atomic-layout-section/sections.d.ts +1 -2
- package/dist/types/components/common/expandable-text/expandable-text.d.ts +4 -4
- package/dist/types/components/common/index.d.ts +0 -1
- package/dist/types/components/common/items-per-page/label.d.ts +2 -2
- package/dist/types/components/common/no-items/container.d.ts +2 -2
- package/dist/types/components/common/no-items/magnifying-glass.d.ts +2 -2
- package/dist/types/components.d.ts +170 -2
- package/dist/types/utils/functional-component-utils.d.ts +0 -3
- package/docs/atomic-docs.json +435 -15
- package/package.json +3 -3
- package/dist/atomic/components/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.js +0 -95
- package/dist/atomic/components/components/commerce/atomic-commerce-text/atomic-commerce-text.js +0 -54
- package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +0 -135
- package/dist/atomic/components/components/commerce/product-template-component-utils/error.js +0 -6
- package/dist/atomic/components/components/commerce/product-template-component-utils/product-utils.js +0 -35
- package/dist/atomic/components/components/common/atomic-layout-section/atomic-layout-section.js +0 -31
- package/dist/atomic/components/components/common/item-text/field-warning.js +0 -6
- package/dist/atomic/components/components/common/item-text/item-text-fallback.js +0 -15
- package/dist/atomic/components/components/common/item-text/item-text-highlighted.js +0 -17
- package/dist/atomic/components/components/common/item-text/render-highlights.js +0 -13
- package/dist/atomic/components/components/common/no-items/container.js +0 -7
- package/dist/atomic/components/components/common/no-items/guard.js +0 -11
- package/dist/atomic/components/components/common/no-items/magnifying-glass.js +0 -11
- package/dist/atomic/components/components/common/no-items/no-items.js +0 -30
- package/dist/atomic/components/components/common/no-items/tips.js +0 -8
- package/dist/atomic/components/stencil-expandable-text.js.map +0 -1
- package/dist/atomic/components/utils/object-utils.js +0 -13
- package/dist/atomic/p-1d02a670.js.map +0 -1
- package/dist/atomic/p-4497df4a.entry.js +0 -2
- package/dist/atomic/p-4de0c016.entry.js +0 -2
- package/dist/atomic/p-93091fb7.entry.js +0 -2
- package/dist/atomic/p-a1c4ac09.js +0 -2
- package/dist/atomic/p-a1c4ac09.js.map +0 -1
- package/dist/atomic/p-ba6a30a7.entry.js.map +0 -1
- package/dist/atomic/p-bd32ca3c.entry.js.map +0 -1
- package/dist/atomic/p-cceca6bd.entry.js +0 -2
- package/dist/atomic/p-d76c5232.entry.js +0 -2
- package/dist/atomic/p-ed63c738.js +0 -2
- package/dist/atomic/p-f1bbe060.entry.js +0 -2
- package/dist/atomic/p-f1bbe060.entry.js.map +0 -1
- package/dist/atomic/p-fe85b7d7.entry.js +0 -2
- package/dist/atomic/p-fe85b7d7.entry.js.map +0 -1
- package/dist/cjs/product-utils-f6c780e3.js.map +0 -1
- package/dist/cjs/stencil-expandable-text-80915f74.js.map +0 -1
- package/dist/esm/product-utils-85109d2e.js.map +0 -1
- package/dist/esm/stencil-expandable-text-957d599c.js.map +0 -1
- package/dist/types/components/common/expandable-text/stencil-expandable-text.d.ts +0 -13
- /package/dist/atomic/{p-3c56ddf6.entry.js.map → p-0267a585.entry.js.map} +0 -0
- /package/dist/atomic/{p-a36e0adb.entry.js.map → p-0a7b0daa.entry.js.map} +0 -0
- /package/dist/atomic/{p-4d139df4.entry.js.map → p-0b0ea7d3.entry.js.map} +0 -0
- /package/dist/atomic/{p-f46b7410.entry.js.map → p-135be5aa.entry.js.map} +0 -0
- /package/dist/atomic/{p-d774c15e.entry.js.map → p-1cc97adc.entry.js.map} +0 -0
- /package/dist/atomic/{p-ea5d2736.entry.js.map → p-22a0d1b9.entry.js.map} +0 -0
- /package/dist/atomic/{p-0bcfd9e7.entry.js.map → p-29d27418.entry.js.map} +0 -0
- /package/dist/atomic/{p-564605c1.entry.js.map → p-2f0cb73c.entry.js.map} +0 -0
- /package/dist/atomic/{p-3c8ed811.entry.js.map → p-306c83ea.entry.js.map} +0 -0
- /package/dist/atomic/{p-55f50d5e.entry.js.map → p-3195fa42.entry.js.map} +0 -0
- /package/dist/atomic/{p-714e5692.entry.js.map → p-32b26cd0.entry.js.map} +0 -0
- /package/dist/atomic/{p-aac69407.entry.js.map → p-32c90fe9.entry.js.map} +0 -0
- /package/dist/atomic/{p-6c71c49b.entry.js.map → p-3ec18de9.entry.js.map} +0 -0
- /package/dist/atomic/{p-1a189a4a.entry.js.map → p-3f42a2db.entry.js.map} +0 -0
- /package/dist/atomic/{p-a55a6705.entry.js.map → p-45b26cc7.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a6d85ba.entry.js.map → p-46522ee4.entry.js.map} +0 -0
- /package/dist/atomic/{p-1686dd4e.entry.js.map → p-47ee9d37.entry.js.map} +0 -0
- /package/dist/atomic/{p-6ae6b977.entry.js.map → p-50b9a5d2.entry.js.map} +0 -0
- /package/dist/atomic/{p-a2161335.entry.js.map → p-51c5acfc.entry.js.map} +0 -0
- /package/dist/atomic/{p-50d4886b.entry.js.map → p-543e811e.entry.js.map} +0 -0
- /package/dist/atomic/{p-d76c5232.entry.js.map → p-5cf5bb98.entry.js.map} +0 -0
- /package/dist/atomic/{p-64a237ba.entry.js.map → p-60a9e718.entry.js.map} +0 -0
- /package/dist/atomic/{p-b1230da3.entry.js.map → p-66683abd.entry.js.map} +0 -0
- /package/dist/atomic/{p-80e1d96b.entry.js.map → p-67315415.entry.js.map} +0 -0
- /package/dist/atomic/{p-ddf0b2e0.entry.js.map → p-689e063d.entry.js.map} +0 -0
- /package/dist/atomic/{p-a7abf0e1.entry.js.map → p-690b5853.entry.js.map} +0 -0
- /package/dist/atomic/{p-f2cc3ceb.entry.js.map → p-6fa077f7.entry.js.map} +0 -0
- /package/dist/atomic/{p-66562526.entry.js.map → p-70ab347b.entry.js.map} +0 -0
- /package/dist/atomic/{p-948c62c9.entry.js.map → p-76122df5.entry.js.map} +0 -0
- /package/dist/atomic/{p-8dad20e1.js.map → p-7cb3144b.js.map} +0 -0
- /package/dist/atomic/{p-cd4c6b6b.entry.js.map → p-7d1f8d9c.entry.js.map} +0 -0
- /package/dist/atomic/{p-56801993.entry.js.map → p-80dc3bab.entry.js.map} +0 -0
- /package/dist/atomic/{p-6f6b53e4.entry.js.map → p-8392e900.entry.js.map} +0 -0
- /package/dist/atomic/{p-907e8b14.entry.js.map → p-8d7f57d9.entry.js.map} +0 -0
- /package/dist/atomic/{p-5eca0d33.entry.js.map → p-8e09f796.entry.js.map} +0 -0
- /package/dist/atomic/{p-b5d358d8.entry.js.map → p-95942ba2.entry.js.map} +0 -0
- /package/dist/atomic/{p-51565abd.entry.js.map → p-99604083.entry.js.map} +0 -0
- /package/dist/atomic/{p-90619819.entry.js.map → p-9a08dad7.entry.js.map} +0 -0
- /package/dist/atomic/{p-107400f4.entry.js.map → p-9ae88402.entry.js.map} +0 -0
- /package/dist/atomic/{p-ae1675b3.entry.js.map → p-9d2230db.entry.js.map} +0 -0
- /package/dist/atomic/{p-408c230c.entry.js.map → p-9e4b1ecb.entry.js.map} +0 -0
- /package/dist/atomic/{p-a1719068.entry.js.map → p-9eb108c9.entry.js.map} +0 -0
- /package/dist/atomic/{p-0166649f.entry.js.map → p-a046cf06.entry.js.map} +0 -0
- /package/dist/atomic/{p-38885808.entry.js.map → p-a3169f59.entry.js.map} +0 -0
- /package/dist/atomic/{p-0f4f6b95.entry.js.map → p-a772b365.entry.js.map} +0 -0
- /package/dist/atomic/{p-631000af.entry.js.map → p-a8281e9b.entry.js.map} +0 -0
- /package/dist/atomic/{p-a5acd65b.entry.js.map → p-ab5eec3d.entry.js.map} +0 -0
- /package/dist/atomic/{p-46ecbdbc.entry.js.map → p-b19a8cbb.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3b64777.entry.js.map → p-b4d47ca9.entry.js.map} +0 -0
- /package/dist/atomic/{p-ea5d6cd8.entry.js.map → p-b4dfe5b2.entry.js.map} +0 -0
- /package/dist/atomic/{p-cceca6bd.entry.js.map → p-b747e4a9.entry.js.map} +0 -0
- /package/dist/atomic/{p-74261c54.entry.js.map → p-b7824e0e.entry.js.map} +0 -0
- /package/dist/atomic/{p-e7834b58.entry.js.map → p-be05ddd0.entry.js.map} +0 -0
- /package/dist/atomic/{p-a12a865a.entry.js.map → p-be13ed5c.entry.js.map} +0 -0
- /package/dist/atomic/{p-4497df4a.entry.js.map → p-befca41f.entry.js.map} +0 -0
- /package/dist/atomic/{p-81575de0.entry.js.map → p-bfeefcaa.entry.js.map} +0 -0
- /package/dist/atomic/{p-2fb01b9f.entry.js.map → p-c0d7b26d.entry.js.map} +0 -0
- /package/dist/atomic/{p-b8702505.entry.js.map → p-c13d4039.entry.js.map} +0 -0
- /package/dist/atomic/{p-ce3a6c4e.entry.js.map → p-c4f042ae.entry.js.map} +0 -0
- /package/dist/atomic/{p-dd073755.entry.js.map → p-c83f9cff.entry.js.map} +0 -0
- /package/dist/atomic/{p-e46150fa.entry.js.map → p-cd87574b.entry.js.map} +0 -0
- /package/dist/atomic/{p-b112525e.entry.js.map → p-ce4e939b.entry.js.map} +0 -0
- /package/dist/atomic/{p-1fbbed3e.entry.js.map → p-d1efd50f.entry.js.map} +0 -0
- /package/dist/atomic/{p-eadb22d2.entry.js.map → p-d30057a0.entry.js.map} +0 -0
- /package/dist/atomic/{p-59ac477f.entry.js.map → p-d4aba9f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-82c5b823.entry.js.map → p-d69756ae.entry.js.map} +0 -0
- /package/dist/atomic/{p-07968356.entry.js.map → p-d827c148.entry.js.map} +0 -0
- /package/dist/atomic/{p-565a5e0d.entry.js.map → p-dd8c6bdd.entry.js.map} +0 -0
- /package/dist/atomic/{p-be061124.entry.js.map → p-ddd52850.entry.js.map} +0 -0
- /package/dist/atomic/{p-50b7f5e8.entry.js.map → p-e44155cc.entry.js.map} +0 -0
- /package/dist/atomic/{p-fdd01814.entry.js.map → p-e4754fd0.entry.js.map} +0 -0
- /package/dist/atomic/{p-c753c557.entry.js.map → p-e604fd29.entry.js.map} +0 -0
- /package/dist/atomic/{p-f7cce92b.entry.js.map → p-e80d722f.entry.js.map} +0 -0
- /package/dist/atomic/{p-ad3ee863.entry.js.map → p-eab28672.entry.js.map} +0 -0
- /package/dist/atomic/{p-38efdad8.entry.js.map → p-ec0161b7.entry.js.map} +0 -0
- /package/dist/atomic/{p-bb502279.entry.js.map → p-ec6bc15b.entry.js.map} +0 -0
- /package/dist/atomic/{p-93091fb7.entry.js.map → p-eebb168b.entry.js.map} +0 -0
- /package/dist/atomic/{p-4630f21a.entry.js.map → p-f4a1bfe3.entry.js.map} +0 -0
- /package/dist/atomic/{p-6f708b94.entry.js.map → p-f4b98113.entry.js.map} +0 -0
- /package/dist/atomic/{p-37a3e033.entry.js.map → p-f6283657.entry.js.map} +0 -0
- /package/dist/atomic/{p-d9e0dcdf.entry.js.map → p-f7f8096a.entry.js.map} +0 -0
- /package/dist/atomic/{p-e988f378.js.map → p-f7f81710.js.map} +0 -0
- /package/dist/atomic/{p-6bda0a03.entry.js.map → p-fb0bdcdb.entry.js.map} +0 -0
- /package/dist/atomic/{p-4de0c016.entry.js.map → p-fbbbc454.entry.js.map} +0 -0
- /package/dist/atomic/{p-ed63c738.js.map → p-fccb1769.js.map} +0 -0
- /package/dist/atomic/{p-49e052c2.entry.js.map → p-fd9d1c3f.entry.js.map} +0 -0
|
@@ -62,7 +62,7 @@ const AtomicProductPrice$1 = /*@__PURE__*/ proxyCustomElement(class AtomicProduc
|
|
|
62
62
|
const originalPrice = this.hasPromotionalPrice
|
|
63
63
|
? this.getFormattedValue('ec_price')
|
|
64
64
|
: null;
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '9be7690a20f179aebcb2ef1330406cf4c0840011', class: "flex flex-wrap gap-1" }, h("div", { key: '17f08914229562dbf5fc52a99980d6e7130c83a5', class: `truncate break-keep ${this.hasPromotionalPrice && 'text-error'}` }, mainPrice), h("div", { key: 'b70aa6768a3d75b7bce253102326b63d683ea879', class: 'original-price content-center truncate text-xl break-keep line-through' +
|
|
66
66
|
(!originalPrice ? ' invisible' : '') }, originalPrice ?? '')));
|
|
67
67
|
}
|
|
68
68
|
static get style() { return AtomicProductPriceStyle0; }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../../types/components";
|
|
2
|
+
|
|
3
|
+
interface AtomicProductText extends Components.AtomicProductText, HTMLElement {}
|
|
4
|
+
export const AtomicProductText: {
|
|
5
|
+
prototype: AtomicProductText;
|
|
6
|
+
new (): AtomicProductText;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { A as AtomicProductText$1, d as defineCustomElement$1 } from './atomic-product-text2.js';
|
|
2
|
+
|
|
3
|
+
const AtomicProductText = AtomicProductText$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AtomicProductText, defineCustomElement };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=atomic-product-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"atomic-product-text.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { ProductTemplatesHelpers, HighlightUtils } from '@coveo/headless/commerce';
|
|
3
|
+
import { g as getFieldValueCaption } from './field-utils.js';
|
|
4
|
+
import { I as InitializeBindings } from './initialization-utils.js';
|
|
5
|
+
import { I as ItemTextFallback, a as ItemTextHighlighted } from './stencil-item-text-highlighted.js';
|
|
6
|
+
import { g as getStringValueFromProductOrNull } from './product-utils.js';
|
|
7
|
+
import { P as ProductContext } from './stencil-product-template-decorators.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './atomic-commerce-text2.js';
|
|
9
|
+
|
|
10
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
13
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
14
|
+
else
|
|
15
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
16
|
+
if (d = decorators[i])
|
|
17
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
const AtomicProductText = /*@__PURE__*/ proxyCustomElement(class AtomicProductText extends HTMLElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super();
|
|
23
|
+
this.__registerHost();
|
|
24
|
+
/**
|
|
25
|
+
* When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.
|
|
26
|
+
* This property only works for the product excerpt and the ec_name field.
|
|
27
|
+
*/
|
|
28
|
+
this.shouldHighlight = true;
|
|
29
|
+
this.error = undefined;
|
|
30
|
+
this.field = undefined;
|
|
31
|
+
this.shouldHighlight = true;
|
|
32
|
+
this.default = undefined;
|
|
33
|
+
}
|
|
34
|
+
get shouldRenderHighlights() {
|
|
35
|
+
return this.shouldHighlight && this.isFieldSupportedForHighlighting();
|
|
36
|
+
}
|
|
37
|
+
isFieldSupportedForHighlighting() {
|
|
38
|
+
return ['ec_name', 'excerpt'].includes(this.field);
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
const productValueAsString = getStringValueFromProductOrNull(this.product, this.field);
|
|
42
|
+
if (productValueAsString === null) {
|
|
43
|
+
return (h(ItemTextFallback, { field: this.field, host: this.host, logger: this.bindings.engine.logger, defaultValue: this.default, item: this.product, getProperty: ProductTemplatesHelpers.getProductProperty }, h("atomic-commerce-text", { value: getFieldValueCaption(this.field, this.default, this.bindings.i18n) })));
|
|
44
|
+
}
|
|
45
|
+
const textValue = `${productValueAsString}`;
|
|
46
|
+
const highlightKeywords = ProductTemplatesHelpers.getProductProperty(this.product, this.field === 'ec_name' ? 'nameHighlights' : 'excerptHighlights');
|
|
47
|
+
return this.shouldRenderHighlights && highlightKeywords ? (h(ItemTextHighlighted, { textValue: textValue, highlightKeywords: highlightKeywords, highlightString: HighlightUtils.highlightString, onError: (error) => (this.error = error) })) : (h("atomic-commerce-text", { value: getFieldValueCaption(this.field, textValue, this.bindings.i18n) }));
|
|
48
|
+
}
|
|
49
|
+
get host() { return this; }
|
|
50
|
+
}, [0, "atomic-product-text", {
|
|
51
|
+
"field": [513],
|
|
52
|
+
"shouldHighlight": [516, "should-highlight"],
|
|
53
|
+
"default": [513],
|
|
54
|
+
"error": [32]
|
|
55
|
+
}]);
|
|
56
|
+
__decorate([
|
|
57
|
+
InitializeBindings()
|
|
58
|
+
], AtomicProductText.prototype, "bindings", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
ProductContext()
|
|
61
|
+
], AtomicProductText.prototype, "product", void 0);
|
|
62
|
+
function defineCustomElement() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["atomic-product-text", "atomic-commerce-text"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "atomic-product-text":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, AtomicProductText);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
case "atomic-commerce-text":
|
|
74
|
+
if (!customElements.get(tagName)) {
|
|
75
|
+
defineCustomElement$1();
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
78
|
+
} });
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { AtomicProductText as A, defineCustomElement as d };
|
|
82
|
+
|
|
83
|
+
//# sourceMappingURL=atomic-product-text2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"atomic-product-text2.js","mappings":";;;;;;;;;;;;;;;;;;;MAyBa,iBAAiB;;;;;;;;QAmBE,oBAAe,GAAG,IAAI,CAAC;;;+BAAL,IAAI;;;IAMpD,IAAY,sBAAsB;QAChC,OAAO,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,+BAA+B,EAAE,CAAC;KACvE;IAEM,+BAA+B;QACpC,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACpD;IAEM,MAAM;QACX,MAAM,oBAAoB,GAAG,+BAA+B,CAC1D,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,CACX,CAAC;QAEF,IAAI,oBAAoB,KAAK,IAAI,EAAE;YACjC,QACE,EAAC,gBAAgB,IACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EACnC,YAAY,EAAE,IAAI,CAAC,OAAO,EAC1B,IAAI,EAAE,IAAI,CAAC,OAAO,EAClB,WAAW,EAAE,uBAAuB,CAAC,kBAAkB,IAEvD,4BACE,KAAK,EAAE,oBAAoB,CACzB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,IAAI,CACnB,GACqB,CACP,EACnB;SACH;QAED,MAAM,SAAS,GAAG,GAAG,oBAAoB,EAAE,CAAC;QAC5C,MAAM,iBAAiB,GAAG,uBAAuB,CAAC,kBAAkB,CAClE,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,KAAK,SAAS,GAAG,gBAAgB,GAAG,mBAAmB,CAC7B,CAAC;QAEvC,OAAO,IAAI,CAAC,sBAAsB,IAAI,iBAAiB,IACrD,EAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,cAAc,CAAC,eAAe,EAC/C,OAAO,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GACnB,KAEvB,4BACE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAChD,CACzB,CAAC;KACH;;;;;;;;AA3E4B;IAA5B,kBAAkB,EAAE;mDAAoC;AAG/B;IAAzB,cAAc,EAAE;kDAA2B;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/commerce/atomic-product-text/atomic-product-text.tsx"],"sourcesContent":["import {\n Product,\n ProductTemplatesHelpers,\n HighlightUtils,\n} from '@coveo/headless/commerce';\nimport {Component, h, Prop, Element, State} from '@stencil/core';\nimport {getFieldValueCaption} from '../../../utils/field-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {ItemTextFallback} from '../../common/item-text/stencil-item-text-fallback';\nimport {ItemTextHighlighted} from '../../common/item-text/stencil-item-text-highlighted';\nimport {CommerceBindings} from '../atomic-commerce-interface/atomic-commerce-interface';\nimport {getStringValueFromProductOrNull} from '../product-template-component-utils/product-utils';\nimport {ProductContext} from '../product-template-component-utils/stencil-product-template-decorators';\n\n/**\n * @alpha\n * The `atomic-product-text` component renders the value of a string product field.\n */\n@Component({\n tag: 'atomic-product-text',\n shadow: false,\n})\nexport class AtomicProductText\n implements InitializableComponent<CommerceBindings>\n{\n @InitializeBindings() public bindings!: CommerceBindings;\n @State() public error!: Error;\n\n @ProductContext() private product!: Product;\n\n @Element() private host!: HTMLElement;\n\n /**\n * The product field which the component should use.\n * This will look in the Product object first, and then in the product.additionalFields object for the fields.\n */\n @Prop({reflect: true}) public field!: string;\n /**\n * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\n * This property only works for the product excerpt and the ec_name field.\n */\n @Prop({reflect: true}) public shouldHighlight = true;\n /**\n * The locale key for the text to display when the configured field has no value.\n */\n @Prop({reflect: true}) public default?: string;\n\n private get shouldRenderHighlights() {\n return this.shouldHighlight && this.isFieldSupportedForHighlighting();\n }\n\n public isFieldSupportedForHighlighting() {\n return ['ec_name', 'excerpt'].includes(this.field);\n }\n\n public render() {\n const productValueAsString = getStringValueFromProductOrNull(\n this.product,\n this.field\n );\n\n if (productValueAsString === null) {\n return (\n <ItemTextFallback\n field={this.field}\n host={this.host}\n logger={this.bindings.engine.logger}\n defaultValue={this.default}\n item={this.product}\n getProperty={ProductTemplatesHelpers.getProductProperty}\n >\n <atomic-commerce-text\n value={getFieldValueCaption(\n this.field,\n this.default!,\n this.bindings.i18n\n )}\n ></atomic-commerce-text>\n </ItemTextFallback>\n );\n }\n\n const textValue = `${productValueAsString}`;\n const highlightKeywords = ProductTemplatesHelpers.getProductProperty(\n this.product,\n this.field === 'ec_name' ? 'nameHighlights' : 'excerptHighlights'\n ) as HighlightUtils.HighlightKeyword[];\n\n return this.shouldRenderHighlights && highlightKeywords ? (\n <ItemTextHighlighted\n textValue={textValue}\n highlightKeywords={highlightKeywords}\n highlightString={HighlightUtils.highlightString}\n onError={(error) => (this.error = error)}\n ></ItemTextHighlighted>\n ) : (\n <atomic-commerce-text\n value={getFieldValueCaption(this.field, textValue, this.bindings.i18n)}\n ></atomic-commerce-text>\n );\n }\n}\n"],"version":3}
|
|
@@ -37,7 +37,7 @@ const AtomicQueryError$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQueryErr
|
|
|
37
37
|
if (hasError) {
|
|
38
38
|
this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
39
39
|
}
|
|
40
|
-
return (h(QueryErrorGuard, { key: '
|
|
40
|
+
return (h(QueryErrorGuard, { key: '35a365a208b92b8fd42190d0914c55941836a0d5', hasError: hasError }, h(QueryErrorContainer, { key: '4a9df9c210520543e6dd28dde603d92ef51eb12d' }, h(QueryErrorIcon, { key: '5acc15d972298c51b9a35899c72b21ec9921071f', errorType: error?.type }), h(QueryErrorTitle, { key: '69c204454af76de98e2ae5af3c480e28d9bcfd3f', errorType: error?.type, i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '5bc6f621410459203d5577024abcd2e017a24f77', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), h(QueryErrorShowMore, { key: 'c560a6af5df7c51424b647eacae1f66f29d94295', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: '9d1e8c102af5b43904b5dafad4f6e0c043a916d9', error: error, show: this.showMoreInfo }))));
|
|
41
41
|
}
|
|
42
42
|
static get style() { return AtomicQueryErrorStyle0; }
|
|
43
43
|
}, [1, "atomic-query-error", {
|
|
@@ -40,7 +40,7 @@ const AtomicQuerySummary$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQueryS
|
|
|
40
40
|
isLoading,
|
|
41
41
|
});
|
|
42
42
|
this.ariaMessage = ariaLiveMessage;
|
|
43
|
-
return (h(QuerySummaryGuard, { key: '
|
|
43
|
+
return (h(QuerySummaryGuard, { key: '605587e02c8d39c87b0cebcf5877321d3a2a6824', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, h(QuerySummaryContainer, { key: '33948c83706caaf66a119cbf967e2d394313e42c' }, h(LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), h("span", { key: 'cac5b48031278d323209bc35b478ee0f05e57a4a', class: "hidden", part: "duration" }, "\u00A0", h(LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
|
|
44
44
|
count: durationInSeconds.toLocaleString(this.bindings.i18n.language),
|
|
45
45
|
} })))));
|
|
46
46
|
}
|
|
@@ -574,7 +574,7 @@ const AtomicQuickviewModal = /*@__PURE__*/ proxyCustomElement(class AtomicQuickv
|
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
576
|
render() {
|
|
577
|
-
return (h("atomic-modal", { key: '
|
|
577
|
+
return (h("atomic-modal", { key: '56bf44efabfda516af231dd2eb3004e52285aafe', fullscreen: this.bindings.store.isMobile(), class: 'atomic-quickview-modal', isOpen: this.isOpen, close: () => this.onClose(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
|
|
578
578
|
}
|
|
579
579
|
static get watchers() { return {
|
|
580
580
|
"highlightKeywords": ["watchHighlightKeywords"]
|
|
@@ -108,7 +108,7 @@ const AtomicQuickview$1 = /*@__PURE__*/ proxyCustomElement(class AtomicQuickview
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
if (this.quickviewState.resultHasPreview) {
|
|
111
|
-
return (h(Button, { key: '
|
|
111
|
+
return (h(Button, { key: 'bf02d4c04582bf6fea9e5bb4094942e4bedbcf57', part: "button", title: this.bindings.i18n.t('quickview'), style: "outline-primary", class: "p-2", onClick: (event) => this.onClick(event), ref: this.focusTarget.setTarget }, h("atomic-icon", { key: '8383eda6ce892806f43dde2128b74c700fe4be88', part: "icon", class: "flex w-5 justify-center", icon: QuickviewIcon })));
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
static get style() { return AtomicQuickviewStyle0; }
|
|
@@ -39,7 +39,7 @@ const AtomicRecsError$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsError
|
|
|
39
39
|
if (hasError) {
|
|
40
40
|
this.ariaMessage = getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
41
41
|
}
|
|
42
|
-
return (h(QueryErrorGuard, { key: '
|
|
42
|
+
return (h(QueryErrorGuard, { key: '1dca8ab41bdb8a71f1936cf1751fb6017c7c9fad', hasError: hasError }, h(QueryErrorContainer, { key: '711d860dbc6085ed9d3f03fd254865826c9fb897' }, h(QueryErrorIcon, { key: '35a3e19666aa1e38cd41ad11503c56ba0b926ce8', errorType: error?.type }), h(QueryErrorTitle, { key: '6987ab69f7a8a87a5615ccc8cde9c2a34db48e91', i18n: i18n, organizationId: organizationId }), h(QueryErrorDescription, { key: '368140552841c3094bb81c469f58dc59bc1341b7', i18n: i18n, organizationId: organizationId, url: url }), h(QueryErrorShowMore, { key: '9f13261f6873e200f96c2a39fa4da506e7f762f8', link: h(QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), h(QueryErrorDetails, { key: 'da03ee81b4af216551f847592b4c49d478f35d50', error: error, show: this.showMoreInfo }))));
|
|
43
43
|
}
|
|
44
44
|
static get style() { return AtomicRecsErrorStyle0; }
|
|
45
45
|
}, [1, "atomic-recs-error", {
|
|
@@ -262,7 +262,7 @@ const AtomicRecsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRecsList e
|
|
|
262
262
|
}))));
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
|
-
return (h(Fragment, { key: '
|
|
265
|
+
return (h(Fragment, { key: '8e2cdc749e141dc6c83ffbdf53e3cb3ab4331f67' }, this.renderHeading(), this.shouldRenderPagination ? (h(Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
|
|
266
266
|
}
|
|
267
267
|
get host() { return this; }
|
|
268
268
|
static get watchers() { return {
|
|
@@ -174,7 +174,7 @@ const AtomicRefineModal = /*@__PURE__*/ proxyCustomElement(class AtomicRefineMod
|
|
|
174
174
|
return (h(RefineModalFiltersSection, { i18n: i18n, withFacets: hasFacetElements, withAutomaticFacets: hasAutomaticFacets }, this.breadcrumbManagerState.hasBreadcrumbs && (h(RefineModalFiltersClearButton, { i18n: i18n, onClick: () => this.breadcrumbManager.deselectAll() }))));
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
|
-
return (h(RefineModal, { key: '
|
|
177
|
+
return (h(RefineModal, { key: '1e877f4411313bcc5c3998c8802dbc807dc189a8', i18n: this.bindings.i18n, host: this.host, isOpen: this.isOpen, onClose: () => (this.isOpen = false), title: this.bindings.i18n.t('sort-and-filter'), numberOfItems: this.querySummaryState.total, openButton: this.openButton }, h(RefineModalBody, { key: '7cc1ef970c9623247304cfbbcbb96fbf72b2bfa7' }, this.renderSort(), this.renderFilters())));
|
|
178
178
|
}
|
|
179
179
|
componentDidLoad() {
|
|
180
180
|
this.host.style.display = '';
|
|
@@ -53,7 +53,7 @@ const AtomicRefineToggle$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRefine
|
|
|
53
53
|
this.modalRef && (this.modalRef.isOpen = true);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(RefineToggleGuard, { key: '
|
|
56
|
+
return (h(RefineToggleGuard, { key: '7dc34e7fd9ee7f10a74d49e57d45a89554eda119', firstRequestExecuted: this.searchStatusState.firstSearchExecuted, hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults }, h(RefineToggleButton, { key: '1833f1b2b333e5eba52699bea29fbe086ac1e292', i18n: this.bindings.i18n, onClick: () => this.enableModal(), setRef: (button) => {
|
|
57
57
|
if (!button) {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
@@ -18,9 +18,9 @@ const AtomicRelevanceInspector = /*@__PURE__*/ proxyCustomElement(class AtomicRe
|
|
|
18
18
|
this.open = false;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("atomic-modal", { key: '
|
|
21
|
+
return (h("atomic-modal", { key: '46ce0cc49ee3cc72208e17ec5a47fc44bc364669', exportparts: "footer", isOpen: this.open, close: () => {
|
|
22
22
|
this.closeRelevanceInspector?.emit();
|
|
23
|
-
} }, h("p", { key: '
|
|
23
|
+
} }, h("p", { key: '3e9e61f720d3508d151ec2bbee9f0fe8320d48c0', slot: "header" }, "Open the relevance inspector"), h("p", { key: 'e105518acca647f7e38e405a468d8c6b8e86a1b4', slot: "body" }, "The Relevance Inspector will open in the Coveo Administration Console."), h("div", { key: '177e646a5eb79311f567c531debd84a4cf18e44b', slot: "footer", class: "flex w-full items-center justify-end" }, h(Button, { key: 'f4fd56d47235c4cbcaf41da0da814f2503c6a8d9', style: "outline-primary", class: "mr-2 p-2", onClick: () => this.closeRelevanceInspector?.emit() }, "Ignore"), h("a", { key: 'c98c637d86171fde324e97fee9862d9ede38bb3d', class: "btn-primary p-2", target: "_blank", href: this.adminHref, onClick: () => this.closeRelevanceInspector?.emit() }, "Open"))));
|
|
24
24
|
}
|
|
25
25
|
get adminHref() {
|
|
26
26
|
const { organizationId, environment } = this.bindings.engine.state.configuration;
|
|
@@ -138,7 +138,7 @@ const AtomicResultChildren$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResu
|
|
|
138
138
|
return (h(ChildrenWrapper, { hasChildren: children.length > 0 }, children.map((child, i) => this.renderChild(child, i === children.length - 1))));
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
return (h(ResultChildrenGuard, { key: '
|
|
141
|
+
return (h(ResultChildrenGuard, { key: 'f6183807a8b58ead059e5fa7db300117c77e5425', inheritTemplates: this.inheritTemplates, resultTemplateRegistered: this.resultTemplateRegistered, templateHasError: this.templateHasError }, this.collection ? this.renderCollection() : this.renderFoldedResult()));
|
|
142
142
|
}
|
|
143
143
|
get host() { return this; }
|
|
144
144
|
static get style() { return AtomicResultChildrenStyle0; }
|
|
@@ -98,7 +98,7 @@ const AtomicResultFieldsList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicRe
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return h(Host, { key: '
|
|
101
|
+
return h(Host, { key: 'a5dc1fdae78e0475a7952f31369f6cccf6f6c2b7' });
|
|
102
102
|
}
|
|
103
103
|
get host() { return this; }
|
|
104
104
|
static get style() { return AtomicResultFieldsListStyle0; }
|
|
@@ -43,7 +43,7 @@ const AtomicResultLink$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResultLi
|
|
|
43
43
|
const href = isUndefined(this.hrefTemplate)
|
|
44
44
|
? this.result.clickUri
|
|
45
45
|
: buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
|
|
46
|
-
return (h(LinkWithItemAnalytics, { key: '
|
|
46
|
+
return (h(LinkWithItemAnalytics, { key: '73c2bb5a7ca23992bbf448ff25e1763e789b0148', href: href, onSelect: () => this.interactiveResult.select(), onBeginDelayedSelect: () => this.interactiveResult.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveResult.cancelPendingSelect(), attributes: this.linkAttributes, stopPropagation: this.stopPropagation }, this.hasDefaultSlot ? (h("slot", null)) : (h("atomic-result-text", { field: "title", default: "no-title" }))));
|
|
47
47
|
}
|
|
48
48
|
get host() { return this; }
|
|
49
49
|
static get style() { return AtomicResultLinkStyle0; }
|
|
@@ -194,7 +194,7 @@ const AtomicResultList$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResultLi
|
|
|
194
194
|
render() {
|
|
195
195
|
this.resultListCommon.updateBreakpoints();
|
|
196
196
|
const listClasses = this.computeListDisplayClasses();
|
|
197
|
-
return (h(TabGuard, { key: '
|
|
197
|
+
return (h(TabGuard, { key: '8cd1828891f42c56c35d1dd45b87b12c79254826', tabsIncluded: this.tabsIncluded, tabsExcluded: this.tabsExcluded, activeTab: this.tabManagerState.activeTab }, h(ItemListGuard, { key: '514229c8a95f6675a0683e37ea65a14263e88c78', hasError: this.resultListState.hasError, hasTemplate: this.resultTemplateRegistered, templateHasError: this.itemTemplateProvider.hasError, firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, h(DisplayWrapper, { key: '435e24ee5c19c9d4f46de0e813918afc441f310b', display: this.display, listClasses: listClasses }, h(ResultsPlaceholdersGuard, { key: 'e04b1c8ccebc79ea6f031b62331b0b89c53e67b7', density: this.density, display: this.display, imageSize: this.imageSize, displayPlaceholders: !this.isAppLoaded, numberOfPlaceholders: this.resultsPerPageState.numberOfResults }), h(ItemDisplayGuard, { key: '987265fbaab67daeebb031393fbba65dad737439', firstRequestExecuted: this.resultListState.firstSearchExecuted, hasItems: this.resultListState.hasResults }, this.display === 'table'
|
|
198
198
|
? this.renderAsTable()
|
|
199
199
|
: this.display === 'grid'
|
|
200
200
|
? this.renderAsGrid()
|
|
@@ -27,9 +27,9 @@ const AtomicResultPlaceholder = /*@__PURE__*/ proxyCustomElement(class AtomicRes
|
|
|
27
27
|
} }, h("div", { class: placeholderClasses, style: { height: 'var(--font-size)' } })));
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '44d6f6fcae141700636748bf0bf1d324801ad7b0', class: `result-root placeholder with-sections animate-pulse ${getItemDisplayClasses(this.display, this.density, this.imageSize)
|
|
31
31
|
.join(' ')
|
|
32
|
-
.trim()}` }, h("atomic-result-section-visual", { key: '
|
|
32
|
+
.trim()}` }, h("atomic-result-section-visual", { key: '26dfc3541d739adf34491f475068f7eaed1b9450' }, h("div", { key: 'f191b225416bab5522ccbd04482d46b8e0917e90', class: placeholderClasses })), h("atomic-result-section-badges", { key: '08a0ba74c846888549718c9da9e8a8c931193770' }, h("div", { key: '6112d11347845ceebea377a9dda46f29893ea4b2', class: `badge ${placeholderClasses}` })), h("atomic-result-section-actions", { key: '37c82ca42e6f287137bb6c734d2387fab395c143' }, h("div", { key: 'dcadfe0f127aa99b934c0a4de70e230ba0cd6cc6', class: `action ${placeholderClasses}` })), h("atomic-result-section-title", { key: '6f934bbaa48ce4e8b39eb5f8e6294e635551a977' }, h("div", { key: '98cbc660cb80f97aebb18673883649cb6cdbc37b', class: `title ${placeholderClasses}` })), h("atomic-result-section-excerpt", { key: '8faa1af5537e63d3862b7f98ef81e3f813908ccb' }, this.renderExcerptLine('100%'), this.renderExcerptLine('95%'), this.renderExcerptLine('98%')), h("atomic-result-section-bottom-metadata", { key: '5bccd91ac5ed5f9ae2abcf005ad436927856f49d' }, h("div", { key: 'e947f3929a136565bc86383855c78d6f15faf317', class: "fields-placeholder" }, Array.from({ length: 4 }, () => (h("div", { class: `field-value-placeholder ${placeholderClasses}` })))))));
|
|
33
33
|
}
|
|
34
34
|
static get style() { return AtomicResultPlaceholderStyle0; }
|
|
35
35
|
}, [1, "atomic-result-placeholder", {
|
|
@@ -18,7 +18,7 @@ const AtomicResultTablePlaceholder = /*@__PURE__*/ proxyCustomElement(class Atom
|
|
|
18
18
|
return getItemDisplayClasses('table', this.density, this.imageSize);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("table", { key: '
|
|
21
|
+
return (h("table", { key: 'db3a9b9d55eb8d3417e60b89f13f07636c8196f9', class: `list-root animate-pulse ${this.getClasses().join(' ')}` }, h("thead", { key: '5dc2f253b16ec6302fbafa604d7bffac41670dd0' }, h("tr", { key: 'fd20bb0566ddadfaf855f9624d58aadb942e772d' }, h("th", { key: '85875071396ae899dc8479dfa52ec16bd3ea2e19' }, h("div", { key: 'b6707df93ed8d964755a539966f109c20f5e9f5f', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '14.5rem' } })), h("th", { key: 'ee7cc8149bd3eee23225a3e2622f999acf030385' }, h("div", { key: '07ec2fa2f4625c63e353a842680d04540c94e85e', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '9.75rem' } })), h("th", { key: 'c24de3a80547bc1af784a238e68c931ea2586167' }, h("div", { key: 'fed9db9f0174e5961845d5f3cec4806f395c6722', class: `mt-2 h-8 ${placeholderClasses}`, style: { width: '6.5rem' } })))), h("tbody", { key: 'e1a3e36e69c633186d4530cc499dcd5a29b1fdb8' }, Array.from({ length: this.rows }, () => (h("tr", null, h("td", null, h("div", { class: `mb-6 h-8 ${placeholderClasses}`, style: { width: '22.875rem' } }), h("div", { class: `mb-2 h-5 ${placeholderClasses}`, style: { width: '23.75rem' } }), h("div", { class: `h-5 ${placeholderClasses}`, style: { width: '11.5rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '11rem' } })), h("td", null, h("div", { class: `mt-1.5 h-5 ${placeholderClasses}`, style: { width: '4.875rem' } }))))))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return AtomicResultTablePlaceholderStyle0; }
|
|
24
24
|
}, [1, "atomic-result-table-placeholder", {
|
|
@@ -1,55 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { ResultTemplatesHelpers, HighlightUtils } from '@coveo/headless';
|
|
3
3
|
import { g as getFieldValueCaption } from './field-utils.js';
|
|
4
4
|
import { I as InitializeBindings } from './initialization-utils.js';
|
|
5
5
|
import { g as getStringValueFromResultOrNull } from './result-utils.js';
|
|
6
|
-
import {
|
|
6
|
+
import { I as ItemTextFallback, a as ItemTextHighlighted } from './stencil-item-text-highlighted.js';
|
|
7
7
|
import { R as ResultContext } from './result-template-decorators.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './atomic-text2.js';
|
|
9
9
|
|
|
10
|
-
function possiblyWarnOnBadFieldType(field, itemValueRaw, host, logger) {
|
|
11
|
-
if (isArray(itemValueRaw)) {
|
|
12
|
-
logger.error(`${host.nodeName.toLowerCase()} cannot be used with multi value field "${field}" with values "${itemValueRaw}".`, host);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const ItemTextFallback = ({ field, host, logger, defaultValue, item, getProperty }, children) => {
|
|
17
|
-
const raw = getProperty(item, field);
|
|
18
|
-
possiblyWarnOnBadFieldType(field, raw, host, logger);
|
|
19
|
-
if (isUndefined(defaultValue)) {
|
|
20
|
-
host.remove();
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
return h(Fragment, null, children);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
function renderWithHighlights(value, highlights, highlightString) {
|
|
29
|
-
const openingDelimiter = '_openingDelimiter_';
|
|
30
|
-
const closingDelimiter = '_closingDelimiter_';
|
|
31
|
-
const highlightedValue = highlightString({
|
|
32
|
-
content: value,
|
|
33
|
-
openingDelimiter,
|
|
34
|
-
closingDelimiter,
|
|
35
|
-
highlights,
|
|
36
|
-
});
|
|
37
|
-
return highlightedValue
|
|
38
|
-
.replace(new RegExp(openingDelimiter, 'g'), '<b>')
|
|
39
|
-
.replace(new RegExp(closingDelimiter, 'g'), '</b>');
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
const ItemTextHighlighted = ({ highlightKeywords, highlightString, onError, textValue }) => {
|
|
43
|
-
try {
|
|
44
|
-
const highlightedValue = renderWithHighlights(textValue, highlightKeywords, highlightString);
|
|
45
|
-
// deepcode ignore ReactSetInnerHtml: This is not React code
|
|
46
|
-
return h(Host, { innerHTML: highlightedValue });
|
|
47
|
-
}
|
|
48
|
-
catch (error) {
|
|
49
|
-
onError(error);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
10
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
54
11
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
55
12
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-result-text2.js","mappings":"
|
|
1
|
+
{"file":"atomic-result-text2.js","mappings":";;;;;;;;;;;;;;;;;;;MAoBa,gBAAgB;;;;;;;QAiBG,oBAAe,GAAG,IAAI,CAAC;;;+BAAL,IAAI;;;IAO7C,MAAM;QACX,MAAM,mBAAmB,GAAG,8BAA8B,CACxD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,KAAK,CACX,CAAC;QAEF,IAAI,mBAAmB,KAAK,IAAI,EAAE;YAChC,QACE,EAAC,gBAAgB,IACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EACnC,YAAY,EAAE,IAAI,CAAC,OAAO,EAC1B,IAAI,EAAE,IAAI,CAAC,MAAM,EACjB,WAAW,EAAE,sBAAsB,CAAC,iBAAiB,IAErD,mBACE,KAAK,EAAE,oBAAoB,CACzB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,IAAI,CACnB,GACY,CACE,EACnB;SACH;QAED,MAAM,SAAS,GAAG,GAAG,mBAAmB,EAAE,CAAC;QAC3C,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,iBAAiB,CAChE,IAAI,CAAC,MAAM,EACX,GAAG,IAAI,CAAC,KAAK,YAAY,CACW,CAAC;QAEvC,OAAO,IAAI,CAAC,eAAe,IAAI,iBAAiB,IAC9C,EAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,cAAc,CAAC,eAAe,EAC/C,OAAO,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GACnB,KAEvB,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAChE,CAAC;KACH;;;;;;;;AAlE4B;IAA5B,kBAAkB,EAAE;kDAA4B;AACxB;IAAxB,aAAa,EAAE;gDAAyB;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/search/result-template-components/atomic-result-text/atomic-result-text.tsx"],"sourcesContent":["import {HighlightUtils, Result, ResultTemplatesHelpers} from '@coveo/headless';\nimport {Component, Prop, h, Element, State} from '@stencil/core';\nimport {getFieldValueCaption} from '../../../../utils/field-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {getStringValueFromResultOrNull} from '../../../../utils/result-utils';\nimport {ItemTextFallback} from '../../../common/item-text/stencil-item-text-fallback';\nimport {ItemTextHighlighted} from '../../../common/item-text/stencil-item-text-highlighted';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\nimport {ResultContext} from '../result-template-decorators';\n\n/**\n * The `atomic-result-text` component renders the value of a string result field.\n */\n@Component({\n tag: 'atomic-result-text',\n shadow: false,\n})\nexport class AtomicResultText implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n @ResultContext() private result!: Result;\n\n @Element() private host!: HTMLElement;\n\n @State() public error!: Error;\n\n /**\n * The result field which the component should use.\n * This will look in the Result object first, and then in the Result.raw object for the fields.\n * It is important to include the necessary field in the `atomic-search-interface` component.\n */\n @Prop({reflect: true}) public field!: string;\n /**\n * When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\n */\n @Prop({reflect: true}) public shouldHighlight = true;\n\n /**\n * The locale key for the text to display when the configured field has no value.\n */\n @Prop({reflect: true}) public default?: string;\n\n public render() {\n const resultValueAsString = getStringValueFromResultOrNull(\n this.result,\n this.field\n );\n\n if (resultValueAsString === null) {\n return (\n <ItemTextFallback\n field={this.field}\n host={this.host}\n logger={this.bindings.engine.logger}\n defaultValue={this.default}\n item={this.result}\n getProperty={ResultTemplatesHelpers.getResultProperty}\n >\n <atomic-text\n value={getFieldValueCaption(\n this.field,\n this.default!,\n this.bindings.i18n\n )}\n ></atomic-text>\n </ItemTextFallback>\n );\n }\n\n const textValue = `${resultValueAsString}`;\n const highlightKeywords = ResultTemplatesHelpers.getResultProperty(\n this.result,\n `${this.field}Highlights`\n ) as HighlightUtils.HighlightKeyword[];\n\n return this.shouldHighlight && highlightKeywords ? (\n <ItemTextHighlighted\n textValue={textValue}\n highlightKeywords={highlightKeywords}\n highlightString={HighlightUtils.highlightString}\n onError={(error) => (this.error = error)}\n ></ItemTextHighlighted>\n ) : (\n getFieldValueCaption(this.field, textValue, this.bindings.i18n)\n );\n }\n}\n"],"version":3}
|
|
@@ -129,7 +129,7 @@ const AtomicResultsPerPage$1 = /*@__PURE__*/ proxyCustomElement(class AtomicResu
|
|
|
129
129
|
return this.bindings.i18n.t('results-per-page');
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h(PagerGuard, { key: '
|
|
132
|
+
return (h(PagerGuard, { key: 'b0fe31054e793cf60358ec7b1edbcea450175443', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, h("div", { key: '165171b0faa9d0fb0377035828682cd99b862766', class: "flex items-center", role: "toolbar", "aria-label": this.label }, h(Label, { key: 'c210230840e71fd5b58264f3e062901e531dd2e2' }, this.label), h(FieldsetGroup, { key: 'e36ca5f11d489f371d1917b04bb502bef29ca7fc', label: this.label }, h(Choices, { key: '2c3c5a568de2c50b1eb361c68f4acf7311969887', label: this.label, groupName: this.radioGroupName, pageSize: this.resultPerPageState.numberOfResults, choices: this.choices, lang: this.bindings.i18n.language, scrollToTopEvent: this.scrollToTopEvent.emit, setItemSize: this.resultPerPage.set, focusOnFirstResultAfterNextSearch: () => this.bindings.store.state.resultList?.focusOnFirstResultAfterNextSearch(), focusOnNextNewResult: () => this.bindings.store.state.resultList?.focusOnNextNewResult() })))));
|
|
133
133
|
}
|
|
134
134
|
static get style() { return AtomicResultsPerPageStyle0; }
|
|
135
135
|
}, [1, "atomic-results-per-page", {
|
|
@@ -60,7 +60,7 @@ const AtomicSearchBoxQuerySuggestions = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
if (this.error) {
|
|
63
|
-
return (h("atomic-component-error", { key: '
|
|
63
|
+
return (h("atomic-component-error", { key: '8bf7ca4f0c8c9a4bda7a0af471b2ee3881e65e7b', element: this.host, error: this.error }));
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
get host() { return this; }
|
|
@@ -154,7 +154,7 @@ const AtomicSearchBoxRecentQueries = /*@__PURE__*/ proxyCustomElement(class Atom
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
if (this.error) {
|
|
157
|
-
return (h("atomic-component-error", { key: '
|
|
157
|
+
return (h("atomic-component-error", { key: '35b831a2e561510f9fe3d15cf956e46d35fb965e', element: this.host, error: this.error }));
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
get host() { return this; }
|
|
@@ -423,18 +423,18 @@ const AtomicSearchBox$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSearchBox
|
|
|
423
423
|
if (!this.suggestionManager.suggestions.length) {
|
|
424
424
|
this.registerSearchboxSuggestionEvents();
|
|
425
425
|
}
|
|
426
|
-
return (h(Host, { key: '
|
|
427
|
-
h(SearchBoxWrapper, { key: '
|
|
426
|
+
return (h(Host, { key: '2b41f9ebbc7d074c79b4f9ffbf7502644aeda85f' }, this.renderAbsolutePositionSpacer(), [
|
|
427
|
+
h(SearchBoxWrapper, { key: '51627c6c4604f1f343ced6b3caa5d537f17ee731', disabled: isDisabled, onFocusout: (event) => {
|
|
428
428
|
if (!isFocusingOut(event)) {
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
431
|
this.suggestionManager.clearSuggestions();
|
|
432
432
|
this.isExpanded = false;
|
|
433
|
-
} }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '
|
|
433
|
+
} }, this.renderTextBox(searchLabel), h(SubmitButton, { key: '079bcc8068e8c021465cf52eb0e1f25bb3f4746b', bindings: this.bindings, disabled: isDisabled, onClick: () => {
|
|
434
434
|
this.searchBox.submit();
|
|
435
435
|
this.suggestionManager.clearSuggestions();
|
|
436
436
|
} }), this.renderSuggestions()),
|
|
437
|
-
!this.suggestionManager.suggestions.length && (h("slot", { key: '
|
|
437
|
+
!this.suggestionManager.suggestions.length && (h("slot", { key: 'e9fba98f79ee57e181ade72c43c907696812a80e' }, h("atomic-search-box-recent-queries", { key: 'e092cce8ec33ee745a7605e1e28bdebcecf042cd' }), h("atomic-search-box-query-suggestions", { key: '54078dfa8f0feef509ec90b6ef030c622609d10e' }))),
|
|
438
438
|
]));
|
|
439
439
|
}
|
|
440
440
|
get host() { return this; }
|
|
@@ -89,7 +89,7 @@ const AtomicSmartSnippetAnswer = /*@__PURE__*/ proxyCustomElement(class AtomicSm
|
|
|
89
89
|
}), ref: (element) => element && this.bindAnalyticsToLinks(element), part: "answer", class: "margin" })));
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '73c8cecf140de750245c315c15bd9cc024c03af6' }, this.renderStyle(), this.renderContent()));
|
|
93
93
|
}
|
|
94
94
|
get host() { return this; }
|
|
95
95
|
static get style() { return AtomicSmartSnippetAnswerStyle0; }
|
|
@@ -56,11 +56,11 @@ const AtomicSmartSnippetCollapseWrapper = /*@__PURE__*/ proxyCustomElement(class
|
|
|
56
56
|
return (h("button", { onClick: () => (this.isExpanded = !this.isExpanded), class: "text-primary mb-4 hover:underline", part: this.isExpanded ? 'show-less-button' : 'show-more-button' }, this.bindings.i18n.t(this.isExpanded ? 'show-less' : 'show-more'), h("atomic-icon", { icon: ArrowDown, class: "ml-2 w-3 align-baseline" })));
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'b8f301063f02330064468da7a49d94f1755fe037', class: this.fullHeight || !this.shouldRenderButton
|
|
60
60
|
? this.isExpanded
|
|
61
61
|
? 'expanded'
|
|
62
62
|
: ''
|
|
63
|
-
: 'invisible' }, h("div", { key: '
|
|
63
|
+
: 'invisible' }, h("div", { key: 'c47cad3b2d4fc5aa5b094bb6c9c1be7a8a60a1d7', part: "smart-snippet-collapse-wrapper", class: "block overflow-hidden" }, h("slot", { key: '0d89b70ec983b53febd1fcf7abe3f2af62c51d64' })), this.shouldRenderButton && this.renderButton()));
|
|
64
64
|
}
|
|
65
65
|
get host() { return this; }
|
|
66
66
|
static get style() { return AtomicSmartSnippetCollapseWrapperStyle0; }
|
|
@@ -87,7 +87,7 @@ const AtomicSmartSnippetExpandableAnswer = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
87
87
|
return (h("button", { onClick: () => this.isExpanded ? this.collapse.emit() : this.expand.emit(), class: "text-primary mb-4 hover:underline", part: this.isExpanded ? 'show-less-button' : 'show-more-button' }, this.bindings.i18n.t(this.isExpanded ? 'show-less' : 'show-more'), h("atomic-icon", { icon: ArrowDown, class: "ml-2 w-3 align-baseline" })));
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: '45ce0b38e5913223969a508a9c36fc7bd67c22e1', class: this.isExpanded ? 'expanded' : '' }, this.renderAnswer(), this.renderButton()));
|
|
91
91
|
}
|
|
92
92
|
get host() { return this; }
|
|
93
93
|
static get watchers() { return {
|
|
@@ -45,9 +45,9 @@ const AtomicSmartSnippetFeedbackModal = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
updateBreakpoints(this.host);
|
|
48
|
-
return (h("atomic-modal", { key: '
|
|
48
|
+
return (h("atomic-modal", { key: '5cf1d8a60b5e1a0f1442d1b91d99932b5800b478', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '4b66d05fa6b314e4bc8d4f078d3b11dd1150c714', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: 'a28995cd1fe46db2a92397f2f4e8a8fb381ff7ed', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'fc9faf4362a240b0c1abc53db51b0595c2e58d19', 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: () => {
|
|
49
49
|
this.currentAnswer = correspondingAnswer;
|
|
50
|
-
} })))), h(SmartSnippetFeedbackModalDetails, { key: '
|
|
50
|
+
} })))), h(SmartSnippetFeedbackModalDetails, { key: '89a037be724a072e556a39afdff53c15526eaa31', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: '067d01b5d56eac0396dc7b41a585f28f80e29c54', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
51
51
|
}
|
|
52
52
|
close() {
|
|
53
53
|
this.isOpen = false;
|
|
@@ -33,7 +33,7 @@ const AtomicSmartSnippetSource = /*@__PURE__*/ proxyCustomElement(class AtomicSm
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '4dc8d05126261d39232c7d0ea634ea90ddcb4d90' }, h(LinkWithItemAnalytics, { key: '030fa73af4fb26fa2acd56717dc00173688b301e', title: this.source.clickUri, href: this.source.clickUri, className: "block truncate", part: "source-url", attributes: this.anchorAttributes, onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, this.source.clickUri), h(LinkWithItemAnalytics, { key: '5b114abb56a754597a285e3c6ba4758a6aac3a6b', title: this.source.title, href: this.source.clickUri, attributes: this.anchorAttributes, className: "block", part: "source-title", onSelect: () => this.selectSource.emit(), onBeginDelayedSelect: () => this.beginDelayedSelectSource.emit(), onCancelPendingSelect: () => this.cancelPendingSelectSource.emit() }, h("atomic-result-text", { field: "title", default: "no-title", key: this.source.uniqueId }))));
|
|
37
37
|
}
|
|
38
38
|
}, [0, "atomic-smart-snippet-source", {
|
|
39
39
|
"source": [1040],
|
|
@@ -114,8 +114,8 @@ const AtomicSortDropdown$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSortDr
|
|
|
114
114
|
const { hasError, hasResults, firstSearchExecuted } = this.searchStatusState;
|
|
115
115
|
const { bindings: { i18n }, id, } = this;
|
|
116
116
|
return [
|
|
117
|
-
h(SortGuard, { key: '
|
|
118
|
-
h("slot", { key: '
|
|
117
|
+
h(SortGuard, { key: 'c7edd6b76765d787e983d8ef6987f6d96b9a1609', firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: hasResults }, h(SortContainer, { key: '01d4f576f03430102f345b684d9806c821220db6' }, h(SortLabel, { key: '19c612f4a7fb08f99280bfd6747a7cc5b9d0a73c', i18n: i18n, id: id }), h(SortSelect, { key: '3386c33ee148385019a38706b5a20b9866ebf2fc', i18n: i18n, id: id, onSelect: (evt) => this.select(evt) }, this.options.map(({ label, criteria, expression }) => (h(SortOption, { i18n: i18n, label: label, selected: this.sort.isSortedBy(criteria), value: expression })))))),
|
|
118
|
+
h("slot", { key: '348514a7299aafded22fa1fc9b6fe3b2b14ffb29' }),
|
|
119
119
|
];
|
|
120
120
|
}
|
|
121
121
|
get host() { return this; }
|
|
@@ -47,7 +47,7 @@ const AtomicSortExpression$1 = /*@__PURE__*/ proxyCustomElement(class AtomicSort
|
|
|
47
47
|
const dropdownComponent = 'atomic-sort-dropdown';
|
|
48
48
|
if (!this.host.closest(dropdownComponent)) {
|
|
49
49
|
const error = new Error(`The "${this.host.nodeName.toLowerCase()}" component has to be used inside an ${dropdownComponent} element.`);
|
|
50
|
-
return (h("atomic-component-error", { key: '
|
|
50
|
+
return (h("atomic-component-error", { key: 'e471a621d6a1d6753663297763b5c3a0a09bb43e', element: this.host, error: error }));
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
get host() { return this; }
|
|
@@ -73,7 +73,7 @@ const AtomicSuggestionRenderer = /*@__PURE__*/ proxyCustomElement(class AtomicSu
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const isButton = !!(this.suggestion.onSelect || this.suggestion.query);
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '65b5d84340d508712073522ae4ff19d4274fafeb', class: "contents" }, isButton ? (h("button", { id: this.id, key: this.suggestion.key, part: this.parts, class: this.classes, onMouseDown: (e) => e.preventDefault(), onClick: (e) => this.onClick?.(e), onMouseOver: (e) => this.onMouseOver?.(e), "data-query": this.suggestion.query, "aria-label": this.ariaLabel(isButton), ref: (el) => {
|
|
77
77
|
if (!el) {
|
|
78
78
|
return;
|
|
79
79
|
}
|