@coveo/atomic 3.27.5-pre.fc6b95219b → 3.28.0-pre.1b995035ea
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 -8
- package/dist/atomic/components/_index.js +0 -4
- 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-numeric-facet2.js +2 -2
- package/dist/atomic/components/atomic-commerce-query-error.js +1 -1
- package/dist/atomic/components/atomic-commerce-query-error.js.map +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-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-generated-answer.js +14 -0
- package/dist/atomic/components/atomic-generated-answer.js.map +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-generated-answer.js +14 -0
- package/dist/atomic/components/atomic-insight-generated-answer.js.map +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-query-error.js.map +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-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-product-children.js +1 -7
- package/dist/atomic/components/atomic-product-children.js.map +1 -1
- package/dist/atomic/components/atomic-product-description.js +2 -14
- package/dist/atomic/components/atomic-product-description.js.map +1 -1
- package/dist/atomic/components/atomic-product-excerpt.js +2 -14
- package/dist/atomic/components/atomic-product-excerpt.js.map +1 -1
- package/dist/atomic/components/atomic-product-link.js +1 -13
- 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-query-error.js +1 -1
- package/dist/atomic/components/atomic-query-error.js.map +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-error.js.map +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 +45 -2
- package/dist/atomic/components/atomic-result-text2.js.map +1 -1
- package/dist/atomic/components/atomic-results-per-page.js +68 -3
- package/dist/atomic/components/atomic-results-per-page.js.map +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 +126 -0
- package/dist/atomic/components/components/commerce/atomic-commerce-text/atomic-commerce-text.js +54 -0
- package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +2 -0
- package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +135 -0
- package/dist/atomic/components/components/commerce/index.js +3 -0
- package/dist/atomic/components/components/commerce/lazy-index.js +3 -0
- package/dist/atomic/components/components/commerce/product-template-component-utils/error.js +6 -0
- package/dist/atomic/components/components/commerce/product-template-component-utils/product-utils.js +35 -0
- package/dist/atomic/components/components/common/atomic-layout-section/atomic-layout-section.js +31 -0
- package/dist/atomic/components/components/common/fieldset-group.js +5 -0
- package/dist/atomic/components/components/common/index.js +1 -0
- package/dist/atomic/components/components/common/item-text/field-warning.js +6 -0
- package/dist/atomic/components/components/common/item-text/item-text-fallback.js +15 -0
- package/dist/atomic/components/components/common/item-text/item-text-highlighted.js +17 -0
- package/dist/atomic/components/components/common/item-text/render-highlights.js +13 -0
- package/dist/atomic/components/components/common/items-per-page/choices.js +47 -0
- package/dist/atomic/components/components/common/items-per-page/error.js +18 -0
- package/dist/atomic/components/components/common/items-per-page/label.js +10 -0
- package/dist/atomic/components/components/common/items-per-page/validate.js +19 -0
- package/dist/atomic/components/components/common/lazy-index.js +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 +1 -8
- package/dist/atomic/components/product-utils.js.map +1 -1
- package/dist/atomic/components/sections.js.map +1 -1
- package/dist/atomic/components/{expandable-text.js → stencil-expandable-text.js} +1 -1
- package/dist/atomic/components/stencil-expandable-text.js.map +1 -0
- package/dist/atomic/components/stencil-link.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/components/utils/object-utils.js +13 -0
- package/dist/atomic/{p-a535a268.entry.js → p-0267a585.entry.js} +2 -2
- package/dist/atomic/{p-9a161d8f.entry.js → p-0a7b0daa.entry.js} +2 -2
- package/dist/atomic/{p-f7eab69a.entry.js → p-0b0ea7d3.entry.js} +2 -2
- package/dist/atomic/{p-07cd7e4a.entry.js → p-135be5aa.entry.js} +2 -2
- package/dist/atomic/{p-e739825f.entry.js → p-1cc97adc.entry.js} +2 -2
- package/dist/atomic/{p-de00bdd6.js → p-1d02a670.js} +1 -1
- package/dist/atomic/p-1d02a670.js.map +1 -0
- package/dist/atomic/{p-005d34a4.entry.js → p-29d27418.entry.js} +2 -2
- package/dist/atomic/{p-5250f36d.js → p-2dbdd073.js} +2 -2
- package/dist/atomic/{p-4dbb3798.entry.js → p-2f0cb73c.entry.js} +2 -2
- package/dist/atomic/{p-bad08ec3.entry.js → p-2ff906b9.entry.js} +2 -2
- package/dist/atomic/{p-908fa9c8.entry.js → p-306c83ea.entry.js} +2 -2
- package/dist/atomic/{p-f5ea03f0.entry.js → p-32b26cd0.entry.js} +2 -2
- package/dist/atomic/{p-dc463f0b.entry.js → p-32c90fe9.entry.js} +2 -2
- package/dist/atomic/{p-4e1f7c89.entry.js → p-36225d4f.entry.js} +2 -2
- package/dist/atomic/{p-84b36ec2.entry.js → p-3ec18de9.entry.js} +2 -2
- package/dist/atomic/{p-8a337769.entry.js → p-3f42a2db.entry.js} +2 -2
- package/dist/atomic/{p-c74c1b41.entry.js → p-45b26cc7.entry.js} +2 -2
- package/dist/atomic/{p-1c06ca0c.entry.js → p-46522ee4.entry.js} +2 -2
- package/dist/atomic/{p-cfec0988.entry.js → p-47ee9d37.entry.js} +2 -2
- package/dist/atomic/{p-4af746a9.entry.js → p-50b9a5d2.entry.js} +2 -2
- package/dist/atomic/{p-756462de.entry.js → p-51c5acfc.entry.js} +2 -2
- package/dist/atomic/{p-1202d6cc.entry.js → p-543e811e.entry.js} +2 -2
- package/dist/atomic/{p-1243448d.entry.js → p-545f7fb1.entry.js} +2 -2
- package/dist/atomic/{p-dc9313c5.entry.js → p-60527741.entry.js} +2 -2
- package/dist/atomic/{p-d4ab4985.entry.js → p-60a9e718.entry.js} +2 -2
- package/dist/atomic/{p-1c5502a8.entry.js → p-66683abd.entry.js} +2 -2
- package/dist/atomic/{p-3024c394.entry.js → p-67315415.entry.js} +2 -2
- package/dist/atomic/{p-baa3b8ee.entry.js → p-689e063d.entry.js} +2 -2
- package/dist/atomic/p-690b5853.entry.js +2 -0
- package/dist/atomic/{p-447f0772.entry.js → p-70ab347b.entry.js} +2 -2
- package/dist/atomic/{p-dc051fee.entry.js → p-76122df5.entry.js} +2 -2
- package/dist/atomic/{p-4d8ec431.entry.js → p-7d1f8d9c.entry.js} +2 -2
- package/dist/atomic/{p-d7c44977.entry.js → p-80dc3bab.entry.js} +2 -2
- package/dist/atomic/{p-c265c67d.entry.js → p-8392e900.entry.js} +2 -2
- package/dist/atomic/{p-58c8065c.entry.js → p-8d7f57d9.entry.js} +2 -2
- package/dist/atomic/{p-bb5c19a7.entry.js → p-8e09f796.entry.js} +2 -2
- package/dist/atomic/{p-1bddfac7.js → p-94e22484.js} +2 -2
- package/dist/atomic/{p-79e1bcc1.entry.js → p-95942ba2.entry.js} +2 -2
- package/dist/atomic/{p-00ba0b42.entry.js → p-99604083.entry.js} +2 -2
- package/dist/atomic/p-99604083.entry.js.map +1 -0
- package/dist/atomic/{p-a896c7b8.entry.js → p-9a08dad7.entry.js} +2 -2
- package/dist/atomic/{p-d5c709cd.entry.js → p-9ae88402.entry.js} +2 -2
- package/dist/atomic/p-9c7dbbdf.js.map +1 -1
- package/dist/atomic/{p-04c726de.entry.js → p-9d2230db.entry.js} +2 -2
- package/dist/atomic/p-9d2230db.entry.js.map +1 -0
- package/dist/atomic/{p-52abba32.entry.js → p-9eb108c9.entry.js} +2 -2
- package/dist/atomic/{p-558f3bd6.entry.js → p-a046cf06.entry.js} +2 -2
- package/dist/atomic/p-a1c4ac09.js +2 -0
- package/dist/atomic/p-a1c4ac09.js.map +1 -0
- package/dist/atomic/{p-9fb18d3e.entry.js → p-a3169f59.entry.js} +2 -2
- package/dist/atomic/{p-d1e606f2.entry.js → p-a4983d49.entry.js} +2 -2
- package/dist/atomic/{p-891f0c50.entry.js → p-a772b365.entry.js} +2 -2
- package/dist/atomic/{p-ccff6c87.entry.js → p-a8281e9b.entry.js} +2 -2
- package/dist/atomic/{p-c4dd47ca.entry.js → p-ab5eec3d.entry.js} +2 -2
- package/dist/atomic/{p-d72e52b2.entry.js → p-ab6e303e.entry.js} +2 -2
- package/dist/atomic/p-ab6e303e.entry.js.map +1 -0
- package/dist/atomic/{p-2b11517f.entry.js → p-b19a8cbb.entry.js} +2 -2
- package/dist/atomic/{p-4b20cdb3.entry.js → p-b4d47ca9.entry.js} +2 -2
- package/dist/atomic/{p-0ea5cbb8.entry.js → p-b4dfe5b2.entry.js} +2 -2
- package/dist/atomic/p-b747e4a9.entry.js +2 -0
- package/dist/atomic/{p-af8999b1.entry.js → p-b7824e0e.entry.js} +2 -2
- package/dist/atomic/{p-1cb6a01c.entry.js → p-ba6a30a7.entry.js} +2 -2
- package/dist/atomic/p-ba6a30a7.entry.js.map +1 -0
- package/dist/atomic/{p-b3604b54.entry.js → p-bd32ca3c.entry.js} +2 -2
- package/dist/atomic/p-bd32ca3c.entry.js.map +1 -0
- package/dist/atomic/{p-e7b8ee60.entry.js → p-be13ed5c.entry.js} +2 -2
- package/dist/atomic/p-befca41f.entry.js +2 -0
- package/dist/atomic/{p-6d264c97.entry.js → p-bfeefcaa.entry.js} +2 -2
- package/dist/atomic/{p-34cff6c8.entry.js → p-c0d7b26d.entry.js} +2 -2
- package/dist/atomic/{p-7d1ca26f.entry.js → p-c13d4039.entry.js} +2 -2
- package/dist/atomic/{p-6d083c4e.entry.js → p-c4f042ae.entry.js} +2 -2
- package/dist/atomic/{p-f96655f4.entry.js → p-c83f9cff.entry.js} +2 -2
- package/dist/atomic/{p-4e3518c2.entry.js → p-cd87574b.entry.js} +2 -2
- package/dist/atomic/{p-e260c799.entry.js → p-ce4e939b.entry.js} +2 -2
- package/dist/atomic/p-ce4e939b.entry.js.map +1 -0
- package/dist/atomic/{p-fc81ef98.entry.js → p-d1efd50f.entry.js} +2 -2
- package/dist/atomic/p-d1efd50f.entry.js.map +1 -0
- package/dist/atomic/{p-963a3e18.entry.js → p-d30057a0.entry.js} +2 -2
- package/dist/atomic/{p-d5c308fc.entry.js → p-d4aba9f9.entry.js} +2 -2
- package/dist/atomic/{p-037fbb27.entry.js → p-d62469e0.entry.js} +2 -2
- package/dist/atomic/{p-dd6e18bb.entry.js → p-d69756ae.entry.js} +2 -2
- package/dist/atomic/p-d76c5232.entry.js +2 -0
- package/dist/atomic/{p-68bf4184.entry.js → p-d827c148.entry.js} +2 -2
- package/dist/atomic/{p-cbe083d3.entry.js → p-dd8c6bdd.entry.js} +2 -2
- package/dist/atomic/{p-26ec2d6d.entry.js → p-ddd52850.entry.js} +2 -2
- package/dist/atomic/{p-c751940f.entry.js → p-e44155cc.entry.js} +2 -2
- package/dist/atomic/{p-5e7f50a5.entry.js → p-e4754fd0.entry.js} +2 -2
- package/dist/atomic/{p-bd109981.entry.js → p-e604fd29.entry.js} +2 -2
- package/dist/atomic/{p-22a0d1b9.entry.js → p-ea5d2736.entry.js} +2 -2
- package/dist/atomic/{p-75d11764.entry.js → p-eab28672.entry.js} +2 -2
- package/dist/atomic/p-ec0161b7.entry.js +2 -0
- package/dist/atomic/p-ec0161b7.entry.js.map +1 -0
- package/dist/atomic/{p-6c5524dc.entry.js → p-ec6bc15b.entry.js} +2 -2
- package/dist/atomic/p-eebb168b.entry.js +2 -0
- package/dist/atomic/p-f1bbe060.entry.js +2 -0
- package/dist/atomic/p-f1bbe060.entry.js.map +1 -0
- package/dist/atomic/{p-e36f1951.entry.js → p-f3182312.entry.js} +2 -2
- package/dist/atomic/p-f3182312.entry.js.map +1 -0
- package/dist/atomic/{p-6083c281.js → p-f45d8b3e.js} +1 -1
- package/dist/atomic/p-f45d8b3e.js.map +1 -0
- package/dist/atomic/{p-1de6a3e2.entry.js → p-f4a1bfe3.entry.js} +2 -2
- package/dist/atomic/{p-d1434df4.entry.js → p-f4b98113.entry.js} +2 -2
- package/dist/atomic/{p-a15f6b8c.entry.js → p-f6283657.entry.js} +2 -2
- package/dist/atomic/{p-e961a0cc.entry.js → p-f7f8096a.entry.js} +2 -2
- package/dist/atomic/{p-f8fb398c.entry.js → p-fb0bdcdb.entry.js} +2 -2
- package/dist/atomic/p-fbbbc454.entry.js +2 -0
- package/dist/atomic/{p-dea13af7.entry.js → p-fd9d1c3f.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-4caf672d.js → analytics-config-54e62aa5.js} +2 -2
- package/dist/cjs/{analytics-config-4caf672d.js.map → analytics-config-54e62aa5.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-query-error.cjs.entry.js +2 -2
- package/dist/cjs/atomic-commerce-query-error.cjs.entry.js.map +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-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-generated-answer.cjs.entry.js +13 -0
- package/dist/cjs/atomic-generated-answer.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-html.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-edit-toggle.cjs.entry.js +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-generated-answer.cjs.entry.js +13 -0
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-insight-query-error.cjs.entry.js.map +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-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-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 +2 -2
- package/dist/cjs/atomic-query-error.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/atomic-recs-error.cjs.entry.js.map +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 +46 -4
- package/dist/cjs/atomic-result-text_2.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-results-per-page.cjs.entry.js +71 -7
- package/dist/cjs/atomic-results-per-page.cjs.entry.js.map +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/index-757bc886.js +0 -12
- package/dist/cjs/{interface-common-stencil-61108e17.js → interface-common-stencil-d4086225.js} +2 -2
- package/dist/cjs/{interface-common-stencil-61108e17.js.map → interface-common-stencil-d4086225.js.map} +1 -1
- package/dist/cjs/{product-utils-9507462c.js → product-utils-f6c780e3.js} +1 -9
- package/dist/cjs/product-utils-f6c780e3.js.map +1 -0
- package/dist/cjs/sections-4b4af2f8.js.map +1 -1
- package/dist/cjs/{expandable-text-36fe9f8d.js → stencil-expandable-text-80915f74.js} +1 -1
- package/dist/cjs/stencil-expandable-text-80915f74.js.map +1 -0
- package/dist/cjs/{stencil-link-c6b12034.js → stencil-link-fbb2ab5c.js} +1 -1
- package/dist/cjs/stencil-link-fbb2ab5c.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-359b43de.js → analytics-config-6b5c6ac0.js} +2 -2
- package/dist/esm/{analytics-config-359b43de.js.map → analytics-config-6b5c6ac0.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-query-error.entry.js +2 -2
- package/dist/esm/atomic-commerce-query-error.entry.js.map +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-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-generated-answer.entry.js +13 -0
- package/dist/esm/atomic-generated-answer.entry.js.map +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-generated-answer.entry.js +13 -0
- package/dist/esm/atomic-insight-generated-answer.entry.js.map +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 +1 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-insight-pager.entry.js +3 -3
- package/dist/esm/atomic-insight-query-error.entry.js +2 -2
- package/dist/esm/atomic-insight-query-error.entry.js.map +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-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-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 +2 -2
- package/dist/esm/atomic-query-error.entry.js.map +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 +2 -2
- package/dist/esm/atomic-recs-error.entry.js.map +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 +45 -3
- package/dist/esm/atomic-result-text_2.entry.js.map +1 -1
- package/dist/esm/atomic-results-per-page.entry.js +68 -4
- package/dist/esm/atomic-results-per-page.entry.js.map +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/index-3f35faca.js +0 -12
- package/dist/esm/{interface-common-stencil-623d4314.js → interface-common-stencil-fc6f80e8.js} +2 -2
- package/dist/esm/{interface-common-stencil-623d4314.js.map → interface-common-stencil-fc6f80e8.js.map} +1 -1
- package/dist/esm/{product-utils-8348689f.js → product-utils-85109d2e.js} +2 -9
- package/dist/esm/product-utils-85109d2e.js.map +1 -0
- package/dist/esm/sections-ae00b53a.js.map +1 -1
- package/dist/esm/{expandable-text-4eebe177.js → stencil-expandable-text-957d599c.js} +1 -1
- package/dist/esm/stencil-expandable-text-957d599c.js.map +1 -0
- package/dist/esm/{stencil-link-637c1ac5.js → stencil-link-32a27dfb.js} +1 -1
- package/dist/esm/stencil-link-32a27dfb.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.d.ts +13 -7
- package/dist/types/components/commerce/atomic-commerce-text/atomic-commerce-text.d.ts +13 -5
- 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 +2 -0
- package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +29 -15
- package/dist/types/components/commerce/index.d.ts +3 -0
- package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +11 -2
- package/dist/types/components/common/atomic-layout-section/sections.d.ts +2 -1
- package/dist/types/components/common/expandable-text/expandable-text.d.ts +4 -4
- package/dist/types/components/common/expandable-text/stencil-expandable-text.d.ts +13 -0
- package/dist/types/components/common/index.d.ts +1 -0
- package/dist/types/components/common/items-per-page/choices.d.ts +1 -1
- package/dist/types/components/common/items-per-page/error.d.ts +3 -0
- package/dist/types/components/common/query-error/show-more.d.ts +4 -4
- package/dist/types/components/common/query-error/stencil-show-more.d.ts +10 -0
- package/dist/types/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.d.ts +6 -0
- package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +6 -0
- package/dist/types/components.d.ts +18 -208
- package/docs/atomic-docs.json +37 -492
- package/package.json +3 -3
- package/dist/atomic/components/atomic-commerce-products-per-page.d.ts +0 -11
- package/dist/atomic/components/atomic-commerce-products-per-page.js +0 -107
- package/dist/atomic/components/atomic-commerce-products-per-page.js.map +0 -1
- package/dist/atomic/components/atomic-commerce-text.d.ts +0 -11
- package/dist/atomic/components/atomic-commerce-text.js +0 -8
- package/dist/atomic/components/atomic-commerce-text.js.map +0 -1
- package/dist/atomic/components/atomic-commerce-text2.js +0 -60
- package/dist/atomic/components/atomic-commerce-text2.js.map +0 -1
- package/dist/atomic/components/atomic-layout-section.d.ts +0 -11
- package/dist/atomic/components/atomic-layout-section.js +0 -35
- package/dist/atomic/components/atomic-layout-section.js.map +0 -1
- package/dist/atomic/components/atomic-product-text.d.ts +0 -11
- package/dist/atomic/components/atomic-product-text.js +0 -8
- package/dist/atomic/components/atomic-product-text.js.map +0 -1
- package/dist/atomic/components/atomic-product-text2.js +0 -83
- package/dist/atomic/components/atomic-product-text2.js.map +0 -1
- package/dist/atomic/components/expandable-text.js.map +0 -1
- package/dist/atomic/components/stencil-item-text-highlighted.js +0 -49
- package/dist/atomic/components/stencil-item-text-highlighted.js.map +0 -1
- package/dist/atomic/components/validate.js +0 -62
- package/dist/atomic/components/validate.js.map +0 -1
- package/dist/atomic/p-00ba0b42.entry.js.map +0 -1
- package/dist/atomic/p-03109525.entry.js +0 -2
- package/dist/atomic/p-03109525.entry.js.map +0 -1
- package/dist/atomic/p-04c726de.entry.js.map +0 -1
- package/dist/atomic/p-162da819.entry.js +0 -2
- package/dist/atomic/p-1cb6a01c.entry.js.map +0 -1
- package/dist/atomic/p-39223a2a.entry.js +0 -2
- package/dist/atomic/p-39223a2a.entry.js.map +0 -1
- package/dist/atomic/p-5cf5bb98.entry.js +0 -2
- package/dist/atomic/p-6083c281.js.map +0 -1
- package/dist/atomic/p-67ef14ac.entry.js +0 -2
- package/dist/atomic/p-67ef14ac.entry.js.map +0 -1
- package/dist/atomic/p-733252f1.entry.js +0 -2
- package/dist/atomic/p-733252f1.entry.js.map +0 -1
- package/dist/atomic/p-81874146.entry.js +0 -2
- package/dist/atomic/p-98c16767.entry.js +0 -2
- package/dist/atomic/p-b0be7782.entry.js +0 -2
- package/dist/atomic/p-b1a7d837.js +0 -2
- package/dist/atomic/p-b1a7d837.js.map +0 -1
- package/dist/atomic/p-b3604b54.entry.js.map +0 -1
- package/dist/atomic/p-b90ea7e9.entry.js +0 -2
- package/dist/atomic/p-ba5a125f.entry.js +0 -2
- package/dist/atomic/p-ba5a125f.entry.js.map +0 -1
- package/dist/atomic/p-bb081d4e.js +0 -2
- package/dist/atomic/p-bb081d4e.js.map +0 -1
- package/dist/atomic/p-c408a774.js +0 -2
- package/dist/atomic/p-c408a774.js.map +0 -1
- package/dist/atomic/p-d72e52b2.entry.js.map +0 -1
- package/dist/atomic/p-de00bdd6.js.map +0 -1
- package/dist/atomic/p-e260c799.entry.js.map +0 -1
- package/dist/atomic/p-e36f1951.entry.js.map +0 -1
- package/dist/atomic/p-fc81ef98.entry.js.map +0 -1
- package/dist/cjs/atomic-commerce-products-per-page.cjs.entry.js +0 -95
- package/dist/cjs/atomic-commerce-products-per-page.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-commerce-text_2.cjs.entry.js +0 -106
- package/dist/cjs/atomic-commerce-text_2.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-layout-section.cjs.entry.js +0 -18
- package/dist/cjs/atomic-layout-section.cjs.entry.js.map +0 -1
- package/dist/cjs/expandable-text-36fe9f8d.js.map +0 -1
- package/dist/cjs/product-utils-9507462c.js.map +0 -1
- package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js +0 -52
- package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js.map +0 -1
- package/dist/cjs/stencil-link-c6b12034.js.map +0 -1
- package/dist/cjs/validate-232b3138.js +0 -69
- package/dist/cjs/validate-232b3138.js.map +0 -1
- package/dist/esm/atomic-commerce-products-per-page.entry.js +0 -91
- package/dist/esm/atomic-commerce-products-per-page.entry.js.map +0 -1
- package/dist/esm/atomic-commerce-text_2.entry.js +0 -101
- package/dist/esm/atomic-commerce-text_2.entry.js.map +0 -1
- package/dist/esm/atomic-layout-section.entry.js +0 -14
- package/dist/esm/atomic-layout-section.entry.js.map +0 -1
- package/dist/esm/expandable-text-4eebe177.js.map +0 -1
- package/dist/esm/product-utils-8348689f.js.map +0 -1
- package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js +0 -49
- package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js.map +0 -1
- package/dist/esm/stencil-link-637c1ac5.js.map +0 -1
- package/dist/esm/validate-8b800378.js +0 -62
- package/dist/esm/validate-8b800378.js.map +0 -1
- /package/dist/atomic/{p-a535a268.entry.js.map → p-0267a585.entry.js.map} +0 -0
- /package/dist/atomic/{p-9a161d8f.entry.js.map → p-0a7b0daa.entry.js.map} +0 -0
- /package/dist/atomic/{p-f7eab69a.entry.js.map → p-0b0ea7d3.entry.js.map} +0 -0
- /package/dist/atomic/{p-07cd7e4a.entry.js.map → p-135be5aa.entry.js.map} +0 -0
- /package/dist/atomic/{p-e739825f.entry.js.map → p-1cc97adc.entry.js.map} +0 -0
- /package/dist/atomic/{p-005d34a4.entry.js.map → p-29d27418.entry.js.map} +0 -0
- /package/dist/atomic/{p-5250f36d.js.map → p-2dbdd073.js.map} +0 -0
- /package/dist/atomic/{p-4dbb3798.entry.js.map → p-2f0cb73c.entry.js.map} +0 -0
- /package/dist/atomic/{p-bad08ec3.entry.js.map → p-2ff906b9.entry.js.map} +0 -0
- /package/dist/atomic/{p-908fa9c8.entry.js.map → p-306c83ea.entry.js.map} +0 -0
- /package/dist/atomic/{p-f5ea03f0.entry.js.map → p-32b26cd0.entry.js.map} +0 -0
- /package/dist/atomic/{p-dc463f0b.entry.js.map → p-32c90fe9.entry.js.map} +0 -0
- /package/dist/atomic/{p-4e1f7c89.entry.js.map → p-36225d4f.entry.js.map} +0 -0
- /package/dist/atomic/{p-84b36ec2.entry.js.map → p-3ec18de9.entry.js.map} +0 -0
- /package/dist/atomic/{p-8a337769.entry.js.map → p-3f42a2db.entry.js.map} +0 -0
- /package/dist/atomic/{p-c74c1b41.entry.js.map → p-45b26cc7.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c06ca0c.entry.js.map → p-46522ee4.entry.js.map} +0 -0
- /package/dist/atomic/{p-cfec0988.entry.js.map → p-47ee9d37.entry.js.map} +0 -0
- /package/dist/atomic/{p-4af746a9.entry.js.map → p-50b9a5d2.entry.js.map} +0 -0
- /package/dist/atomic/{p-756462de.entry.js.map → p-51c5acfc.entry.js.map} +0 -0
- /package/dist/atomic/{p-1202d6cc.entry.js.map → p-543e811e.entry.js.map} +0 -0
- /package/dist/atomic/{p-1243448d.entry.js.map → p-545f7fb1.entry.js.map} +0 -0
- /package/dist/atomic/{p-dc9313c5.entry.js.map → p-60527741.entry.js.map} +0 -0
- /package/dist/atomic/{p-d4ab4985.entry.js.map → p-60a9e718.entry.js.map} +0 -0
- /package/dist/atomic/{p-1c5502a8.entry.js.map → p-66683abd.entry.js.map} +0 -0
- /package/dist/atomic/{p-3024c394.entry.js.map → p-67315415.entry.js.map} +0 -0
- /package/dist/atomic/{p-baa3b8ee.entry.js.map → p-689e063d.entry.js.map} +0 -0
- /package/dist/atomic/{p-b0be7782.entry.js.map → p-690b5853.entry.js.map} +0 -0
- /package/dist/atomic/{p-447f0772.entry.js.map → p-70ab347b.entry.js.map} +0 -0
- /package/dist/atomic/{p-dc051fee.entry.js.map → p-76122df5.entry.js.map} +0 -0
- /package/dist/atomic/{p-4d8ec431.entry.js.map → p-7d1f8d9c.entry.js.map} +0 -0
- /package/dist/atomic/{p-d7c44977.entry.js.map → p-80dc3bab.entry.js.map} +0 -0
- /package/dist/atomic/{p-c265c67d.entry.js.map → p-8392e900.entry.js.map} +0 -0
- /package/dist/atomic/{p-58c8065c.entry.js.map → p-8d7f57d9.entry.js.map} +0 -0
- /package/dist/atomic/{p-bb5c19a7.entry.js.map → p-8e09f796.entry.js.map} +0 -0
- /package/dist/atomic/{p-1bddfac7.js.map → p-94e22484.js.map} +0 -0
- /package/dist/atomic/{p-79e1bcc1.entry.js.map → p-95942ba2.entry.js.map} +0 -0
- /package/dist/atomic/{p-a896c7b8.entry.js.map → p-9a08dad7.entry.js.map} +0 -0
- /package/dist/atomic/{p-d5c709cd.entry.js.map → p-9ae88402.entry.js.map} +0 -0
- /package/dist/atomic/{p-52abba32.entry.js.map → p-9eb108c9.entry.js.map} +0 -0
- /package/dist/atomic/{p-558f3bd6.entry.js.map → p-a046cf06.entry.js.map} +0 -0
- /package/dist/atomic/{p-9fb18d3e.entry.js.map → p-a3169f59.entry.js.map} +0 -0
- /package/dist/atomic/{p-d1e606f2.entry.js.map → p-a4983d49.entry.js.map} +0 -0
- /package/dist/atomic/{p-891f0c50.entry.js.map → p-a772b365.entry.js.map} +0 -0
- /package/dist/atomic/{p-ccff6c87.entry.js.map → p-a8281e9b.entry.js.map} +0 -0
- /package/dist/atomic/{p-c4dd47ca.entry.js.map → p-ab5eec3d.entry.js.map} +0 -0
- /package/dist/atomic/{p-2b11517f.entry.js.map → p-b19a8cbb.entry.js.map} +0 -0
- /package/dist/atomic/{p-4b20cdb3.entry.js.map → p-b4d47ca9.entry.js.map} +0 -0
- /package/dist/atomic/{p-0ea5cbb8.entry.js.map → p-b4dfe5b2.entry.js.map} +0 -0
- /package/dist/atomic/{p-81874146.entry.js.map → p-b747e4a9.entry.js.map} +0 -0
- /package/dist/atomic/{p-af8999b1.entry.js.map → p-b7824e0e.entry.js.map} +0 -0
- /package/dist/atomic/{p-e7b8ee60.entry.js.map → p-be13ed5c.entry.js.map} +0 -0
- /package/dist/atomic/{p-b90ea7e9.entry.js.map → p-befca41f.entry.js.map} +0 -0
- /package/dist/atomic/{p-6d264c97.entry.js.map → p-bfeefcaa.entry.js.map} +0 -0
- /package/dist/atomic/{p-34cff6c8.entry.js.map → p-c0d7b26d.entry.js.map} +0 -0
- /package/dist/atomic/{p-7d1ca26f.entry.js.map → p-c13d4039.entry.js.map} +0 -0
- /package/dist/atomic/{p-6d083c4e.entry.js.map → p-c4f042ae.entry.js.map} +0 -0
- /package/dist/atomic/{p-f96655f4.entry.js.map → p-c83f9cff.entry.js.map} +0 -0
- /package/dist/atomic/{p-4e3518c2.entry.js.map → p-cd87574b.entry.js.map} +0 -0
- /package/dist/atomic/{p-963a3e18.entry.js.map → p-d30057a0.entry.js.map} +0 -0
- /package/dist/atomic/{p-d5c308fc.entry.js.map → p-d4aba9f9.entry.js.map} +0 -0
- /package/dist/atomic/{p-037fbb27.entry.js.map → p-d62469e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-dd6e18bb.entry.js.map → p-d69756ae.entry.js.map} +0 -0
- /package/dist/atomic/{p-5cf5bb98.entry.js.map → p-d76c5232.entry.js.map} +0 -0
- /package/dist/atomic/{p-68bf4184.entry.js.map → p-d827c148.entry.js.map} +0 -0
- /package/dist/atomic/{p-cbe083d3.entry.js.map → p-dd8c6bdd.entry.js.map} +0 -0
- /package/dist/atomic/{p-26ec2d6d.entry.js.map → p-ddd52850.entry.js.map} +0 -0
- /package/dist/atomic/{p-c751940f.entry.js.map → p-e44155cc.entry.js.map} +0 -0
- /package/dist/atomic/{p-5e7f50a5.entry.js.map → p-e4754fd0.entry.js.map} +0 -0
- /package/dist/atomic/{p-bd109981.entry.js.map → p-e604fd29.entry.js.map} +0 -0
- /package/dist/atomic/{p-22a0d1b9.entry.js.map → p-ea5d2736.entry.js.map} +0 -0
- /package/dist/atomic/{p-75d11764.entry.js.map → p-eab28672.entry.js.map} +0 -0
- /package/dist/atomic/{p-6c5524dc.entry.js.map → p-ec6bc15b.entry.js.map} +0 -0
- /package/dist/atomic/{p-98c16767.entry.js.map → p-eebb168b.entry.js.map} +0 -0
- /package/dist/atomic/{p-1de6a3e2.entry.js.map → p-f4a1bfe3.entry.js.map} +0 -0
- /package/dist/atomic/{p-d1434df4.entry.js.map → p-f4b98113.entry.js.map} +0 -0
- /package/dist/atomic/{p-a15f6b8c.entry.js.map → p-f6283657.entry.js.map} +0 -0
- /package/dist/atomic/{p-e961a0cc.entry.js.map → p-f7f8096a.entry.js.map} +0 -0
- /package/dist/atomic/{p-f8fb398c.entry.js.map → p-fb0bdcdb.entry.js.map} +0 -0
- /package/dist/atomic/{p-162da819.entry.js.map → p-fbbbc454.entry.js.map} +0 -0
- /package/dist/atomic/{p-dea13af7.entry.js.map → p-fd9d1c3f.entry.js.map} +0 -0
|
@@ -119,7 +119,7 @@ const AtomicInsightResultQuickviewAction = class {
|
|
|
119
119
|
this.addQuickviewModalIfNeeded();
|
|
120
120
|
this.updateModalContent();
|
|
121
121
|
if (this.shouldRenderQuickview) {
|
|
122
|
-
return (index.h(iconButton.IconButton, { key: '
|
|
122
|
+
return (index.h(iconButton.IconButton, { key: 'ae17827e29802f63050b286a58d02edaf221e4c2', partPrefix: "result-action", style: "outline-neutral", ref: this.focusTarget.setTarget, icon: preview.QuickviewIcon, title: this.bindings.i18n.t('quickview'), onClick: () => this.onClick() }));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
get host() { return index.getElement(this); }
|
|
@@ -76,7 +76,7 @@ const AtomicInsightResult = class {
|
|
|
76
76
|
.join('');
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (index.h(index.Host, { key: '
|
|
79
|
+
return (index.h(index.Host, { key: '00ed7ad8dfbf662abd3c2259d1990d4518356cb4', class: stencilItemListCommon.resultComponentClass }, index.h("div", { key: 'f64302661c622f9e9ed335f7c77cd29274e673bd', class: `result-root ${this.layout
|
|
80
80
|
.getClasses()
|
|
81
81
|
.concat(this.classes)
|
|
82
82
|
.join(' ')}`, innerHTML: this.getContentHTML() })));
|
|
@@ -219,13 +219,13 @@ const AtomicInsightSearchBox = class {
|
|
|
219
219
|
: this.bindings.i18n.t('query-suggestions-unavailable');
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
|
-
return (index.h(stencilSuggestionManager.SearchBoxWrapper, { key: '
|
|
222
|
+
return (index.h(stencilSuggestionManager.SearchBoxWrapper, { key: 'a82c5c26b6a366390abec4410eb99020f0bcbe28', disabled: this.disableSearch, onFocusout: (event) => {
|
|
223
223
|
if (!utils.isFocusingOut(event)) {
|
|
224
224
|
return;
|
|
225
225
|
}
|
|
226
226
|
this.suggestionManager.clearSuggestions();
|
|
227
227
|
this.isExpanded = false;
|
|
228
|
-
} }, index.h("atomic-icon", { key: '
|
|
228
|
+
} }, index.h("atomic-icon", { key: 'b99a387360da05a3f26bfe7039acc42661209eb2', part: "submit-icon", icon: stencilSuggestionManager.SearchSlimIcon, class: "my-auto mr-0 ml-4 h-4 w-4" }), index.h(stencilSuggestionManager.SearchTextArea, { key: 'dd25d73db8d5d6052ad079c94543a86f21fbc62d', 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: () => {
|
|
229
229
|
this.searchBox.clear();
|
|
230
230
|
this.triggerTextAreaChange('');
|
|
231
231
|
}, onInput: (e) => this.onInput(e.target.value) }), this.renderSuggestions()));
|
|
@@ -54,9 +54,9 @@ const AtomicInsightSmartSnippetFeedbackModal = class {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
replaceBreakpoint.updateBreakpoints(this.host);
|
|
57
|
-
return (index.h("atomic-modal", { key: '
|
|
57
|
+
return (index.h("atomic-modal", { key: '9eb1a0da8d68aadbfc1036207d5e5d2ffb269cb1', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: exportParts.ATOMIC_MODAL_EXPORT_PARTS }, index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalHeader, { key: '52ba648b0c80c8b8a4d14cec4ef9234f568d1abe', i18n: this.bindings.i18n }), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalBody, { key: '8fbf78edc1b3d6fe2ac65a7fc237c2f9ce71f40b', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeebackModalOptions, { key: '2c5eebb09b703c0986f6c083c07be88ed14969e7', i18n: this.bindings.i18n }, smartSnippetFeedbackModalCommon.smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
|
|
58
58
|
this.currentAnswer = correspondingAnswer;
|
|
59
|
-
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '
|
|
59
|
+
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '6479a3c621c233a2ac06d3f3bb846bd9f560e6a4', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalFooter, { key: '9ec88d455d285eaff7c485467602c3fa1a8009c7', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
60
60
|
}
|
|
61
61
|
close() {
|
|
62
62
|
this.isOpen = false;
|
|
@@ -25,7 +25,7 @@ const AtomicInsightTabs = class {
|
|
|
25
25
|
this.error = undefined;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("atomic-tab-bar", { key: '
|
|
28
|
+
return (index.h("atomic-tab-bar", { key: 'c07bd1d4f7be20cc56abfec69dcf3080db49ec7d' }, index.h("slot", { key: '3e053192ab228b0c8f203a4395dffbf615cca01e' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
__decorate([
|
|
@@ -156,7 +156,7 @@ const AtomicInsightUserActionsSession = class {
|
|
|
156
156
|
render() {
|
|
157
157
|
const isShowMoreActionsButtonVisible = !this.areActionsAfterCaseCreationVisible &&
|
|
158
158
|
!!this.userActionsAfterCaseCreation.length;
|
|
159
|
-
return (index.h("div", { key: '
|
|
159
|
+
return (index.h("div", { key: '59bac8998676254f9dc061fc6fee37d6d7205065' }, this.renderSessionStartDate(), this.areActionsAfterCaseCreationVisible && (index.h("div", { key: '67071a7719d34ce2051e4526871738352097be75', "data-testid": "more-actions-section" }, this.renderActions(this.userActionsAfterCaseCreation))), isShowMoreActionsButtonVisible && this.renderShowMoreActionsButton(), this.renderActions(this.userActionsToDisplay)));
|
|
160
160
|
}
|
|
161
161
|
static get watchers() { return {
|
|
162
162
|
"userActions": ["prepareUserActionsToDisplay"]
|
|
@@ -65,7 +65,7 @@ const AtomicInsightUserActionsToggle = class {
|
|
|
65
65
|
this.modalRef.excludedCustomActions = this.excludedCustomActions;
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (index.h(iconButton.IconButton, { key: '
|
|
68
|
+
return (index.h(iconButton.IconButton, { key: 'f12a60a74d3d1dcc322937b90d281140487f5930', partPrefix: "insight-user-actions-toggle", style: "outline-neutral", icon: clock.Clock, ariaLabel: this.bindings.i18n.t('user-actions'), onClick: () => {
|
|
69
69
|
this.enableModal();
|
|
70
70
|
}, title: this.bindings.i18n.t('user-actions'), buttonRef: (button) => {
|
|
71
71
|
if (!button) {
|
|
@@ -43,7 +43,7 @@ const AtomicIPXBody = class {
|
|
|
43
43
|
render() {
|
|
44
44
|
this.updateBreakpoints();
|
|
45
45
|
const isEmbedded = this.isOpen === undefined;
|
|
46
|
-
return (index.h("article", { key: '
|
|
46
|
+
return (index.h("article", { key: 'f1897cdbbd5614036a6e5a82967abd4cfdd01c07', part: "container", class: `${isEmbedded ? '' : this.isOpen ? 'visible' : 'invisible'}`, onAnimationEnd: () => this.animationEnded.emit() }, index.h("style", { key: 'a0ec30ae4d88bca22c3a9424ac0921c0e8bab8dc' }, `
|
|
47
47
|
/* Chrome, Edge & Safari */
|
|
48
48
|
.scrollbar::-webkit-scrollbar {
|
|
49
49
|
width: 0.8rem;
|
|
@@ -68,7 +68,7 @@ const AtomicIPXBody = class {
|
|
|
68
68
|
scrollbar-color: var(--atomic-primary) var(--atomic-background);
|
|
69
69
|
scrollbar-width: auto;
|
|
70
70
|
}
|
|
71
|
-
`), index.h("header", { key: '
|
|
71
|
+
`), index.h("header", { key: 'c7a92e664a5f4ed8526e0a98b6181f09224d3f9b', part: "header-wrapper", class: "flex flex-col items-center" }, index.h("div", { key: 'ffe856f7b41998646fd86b5e526a4bf66d87ecd0', part: "header" }, index.h("slot", { key: '8da1220fcc1d63347b2b5256647c917187d8e196', name: "header" }))), index.h("hr", { key: '44986e5aa8fe02916359c4f4faa6004710bd8052', part: "header-ruler", class: "" }), index.h("div", { key: '5f49248c988b097c35bc88ff166e99ceb849e019', part: "body-wrapper", class: "scrollbar flex w-full grow flex-col overflow-auto" }, index.h("div", { key: '618d670659a345225943f0e6d9395328d2ffae51', part: "body", class: "w-full" }, index.h("slot", { key: 'adec0693218224c0031649320946ee34d6d6b06f', name: "body" }))), this.displayFooterSlot && (index.h("footer", { key: 'b6149ad10392b5ade9e9fd322edb0c982b6d8f6b', part: "footer-wrapper", class: "border-neutral bg-background z-10 flex w-full flex-col items-center border-t" }, index.h("div", { key: '51ba6b6647ad3ea247d7c18eba5c2f4d8e1417b8', part: "footer" }, index.h("slot", { key: 'f305f803430c2977c6e52aea3543818a2ee51e2b', name: "footer" }))))));
|
|
72
72
|
}
|
|
73
73
|
get host() { return index.getElement(this); }
|
|
74
74
|
};
|
|
@@ -75,7 +75,7 @@ const AtomicIPXButton = class {
|
|
|
75
75
|
if (this.isModalOpen && !this.recommendationsLoaded) {
|
|
76
76
|
this.getRecommendations();
|
|
77
77
|
}
|
|
78
|
-
return (index.h(index.Fragment, { key: '
|
|
78
|
+
return (index.h(index.Fragment, { key: '8d7001430f91d9bb4b62d87f6ced4f40911d19d6' }, index.h("style", { key: '8c319ffc873ace92ddfaf5b55f7b0441e37e0966' }, `
|
|
79
79
|
[part=${displayedIcon}] {
|
|
80
80
|
transform: translateY(0rem);
|
|
81
81
|
}
|
|
@@ -92,7 +92,7 @@ const AtomicIPXButton = class {
|
|
|
92
92
|
[part=${hiddenIcon}] {
|
|
93
93
|
transform: translateY(0rem);
|
|
94
94
|
}
|
|
95
|
-
}`), index.h("div", { key: '
|
|
95
|
+
}`), index.h("div", { key: '265f512f8b724a6e6c073bf6fa05de30bb83af2f', class: "flex flex-col items-center", part: "container" }, this.renderIPXButton())));
|
|
96
96
|
}
|
|
97
97
|
get ipxModal() {
|
|
98
98
|
return this.bindings.interfaceElement.querySelector('atomic-ipx-modal');
|
|
@@ -45,7 +45,7 @@ const AtomicIPXEmbedded = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
this.updateBreakpoints();
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: '5d5562eab984dcec707990ae0f2c086686e436a6' }, index.h("div", { key: '89f78668f5bf2615449fc322a9541f3146720a98', part: "backdrop" }, index.h("atomic-ipx-body", { key: 'ce03a5342520ead976f523039ee059c7e4f55765', displayFooterSlot: this.hasFooterSlotElements }, index.h("slot", { key: '426b66e514d6ae91a8659f3ff4c44b0a5f4afb09', name: "header", slot: "header" }), index.h("slot", { key: '5919edea4acb94ac5ee89e38d874b2df1dbcac46', name: "body", slot: "body" }), index.h("slot", { key: '0b43529b9cdd8132b43d3b820eb184be858c4702', name: "footer", slot: "footer" })))));
|
|
49
49
|
}
|
|
50
50
|
get host() { return index.getElement(this); }
|
|
51
51
|
};
|
|
@@ -70,8 +70,8 @@ const AtomicIPXModal = class {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
this.updateBreakpoints();
|
|
73
|
-
const Body = () => (index.h("atomic-ipx-body", { key: '
|
|
74
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
const Body = () => (index.h("atomic-ipx-body", { key: '6b55b0f20b664d96e748126a52b9eeb7832db344', isOpen: this.isOpen, displayFooterSlot: this.hasFooterSlotElements, exportparts: "container" }, index.h("slot", { key: '3f47eaae5dce51fd39b48d039a5ff25cedafdc13', name: "header", slot: "header" }), index.h("slot", { key: 'bb17d9c9f712d1c573475859637391d89478db0c', name: "body", slot: "body" }), index.h("slot", { key: '366f184a557f2c13c34638f8620d8e3d7f393f28', name: "footer", slot: "footer" })));
|
|
74
|
+
return (index.h(index.Host, { key: '5a1a2d49e870eb2eb157802bfd0c1013c2e0bbc2', class: this.getClasses().join(' '), part: "atomic-ipx-modal" }, index.h("div", { key: 'ea5cb319c483a17bbe5c1e57ccf5e40fdc569943', part: "backdrop" }, index.h(Body, { key: '248e1492666b9d2be2bf69c643280d818c77d4ee' }))));
|
|
75
75
|
}
|
|
76
76
|
get host() { return index.getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -281,7 +281,7 @@ const AtomicIPXRecsList = class {
|
|
|
281
281
|
}))));
|
|
282
282
|
}
|
|
283
283
|
render() {
|
|
284
|
-
return (index.h(index.Fragment, { key: '
|
|
284
|
+
return (index.h(index.Fragment, { key: 'a2444bf3b746ea3aa66f26db89222558a65e34c6' }, this.renderHeading(), this.shouldRenderPagination ? (index.h(stencilCarousel.Carousel, { bindings: this.bindings, currentPage: this.currentPage, nextPage: () => this.nextPage(), previousPage: () => this.previousPage(), numberOfPages: this.numberOfPages }, this.renderListOfRecommendations())) : (this.renderListOfRecommendations())));
|
|
285
285
|
}
|
|
286
286
|
get host() { return index.getElement(this); }
|
|
287
287
|
static get watchers() { return {
|
|
@@ -75,7 +75,7 @@ const AtomicIPXRefineModal = class {
|
|
|
75
75
|
return (index.h("aside", { slot: "body", class: "adjust-for-scroll-bar flex w-full flex-col" }, this.renderHeader(), index.h("slot", { name: "facets" })));
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (index.h(index.Host, { key: '
|
|
78
|
+
return (index.h(index.Host, { key: '5bd3c6f144318d8c3e4972be508e0beed14bce2e' }, index.h(stencilModal.RefineModal, { key: '58a5d2a1606bbabf46aa7f0e07e55bfbb2920231', 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, boundary: "element", scope: this.bindings.interfaceElement }, this.renderBody())));
|
|
79
79
|
}
|
|
80
80
|
componentDidLoad() {
|
|
81
81
|
this.host.style.display = '';
|
|
@@ -69,7 +69,7 @@ const AtomicIPXRefineToggle = class {
|
|
|
69
69
|
this.modalRef.collapseFacetsAfter = this.collapseFacetsAfter;
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (index.h(iconButton.IconButton, { key: '
|
|
72
|
+
return (index.h(iconButton.IconButton, { key: 'a5195ef1416082d26534eb1292a1756149440463', partPrefix: "ipx-refine-toggle", class: "icon-button", style: "outline-neutral", title: this.bindings.i18n.t('filters'), icon: filter.FilterIcon, disabled: !this.searchStatusState.hasResults && !this.numberOfBreadcrumbs, ariaLabel: this.bindings.i18n.t('sort'), onClick: () => {
|
|
73
73
|
this.bindings.store.waitUntilAppLoaded(() => {
|
|
74
74
|
this.enableModal();
|
|
75
75
|
});
|
|
@@ -60,7 +60,7 @@ const AtomicIPXResultLink = class {
|
|
|
60
60
|
const href = bueno.isUndefined(this.hrefTemplate)
|
|
61
61
|
? this.result.clickUri
|
|
62
62
|
: resultUtils.buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
|
|
63
|
-
return (index.h(itemLink.LinkWithItemAnalytics, { key: '
|
|
63
|
+
return (index.h(itemLink.LinkWithItemAnalytics, { key: 'e5d7cc0338c4272c6f7cd4dc00fd05115e2f4029', href: href, onSelect: () => this.onSelect(), onBeginDelayedSelect: () => this.interactiveResult.beginDelayedSelect(), onCancelPendingSelect: () => this.interactiveResult.cancelPendingSelect(), attributes: this.linkAttributes, stopPropagation: this.stopPropagation }, this.hasDefaultSlot ? (index.h("slot", null)) : (index.h("atomic-result-text", { field: "title", default: "no-title" }))));
|
|
64
64
|
}
|
|
65
65
|
get host() { return index.getElement(this); }
|
|
66
66
|
};
|
|
@@ -25,7 +25,7 @@ const AtomicIPXTabs = class {
|
|
|
25
25
|
this.error = undefined;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("atomic-tab-bar", { key: '
|
|
28
|
+
return (index.h("atomic-tab-bar", { key: 'a1ada65b36cb85948f28579fc2fdddefe6726cba' }, index.h("slot", { key: '04c56b496df9b3e6cd61f1c9ebd87fd1023085c1' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
__decorate([
|
|
@@ -61,7 +61,7 @@ const AtomicLoadMoreResults = class {
|
|
|
61
61
|
render() {
|
|
62
62
|
const { lastResult: from, total: to } = this.querySummaryState;
|
|
63
63
|
const { i18n } = this.bindings;
|
|
64
|
-
return (index.h(stencilSummary.LoadMoreGuard, { key: '
|
|
64
|
+
return (index.h(stencilSummary.LoadMoreGuard, { key: '6d0054976491646d1cd0fa6ee6ce757c9d51b108', hasResults: this.querySummaryState.hasResults, isLoaded: this.isAppLoaded }, index.h(stencilSummary.LoadMoreContainer, { key: '413a1469afde0f8ea611ed76a8ca1cb8bd3adc69' }, index.h(stencilSummary.LoadMoreSummary, { key: '2cbd4fe13fe921d32fc9474dbb37e81dcdf3665b', from: from, to: to, i18n: i18n }), index.h(stencilSummary.LoadMoreProgressBar, { key: '003dbafd54be53bec58e58656ca18c39cea96bdf', from: from, to: to }), index.h(stencilSummary.LoadMoreButton, { key: '5f6de613909810400bcfd89bce158ac08c23e0ba', i18n: i18n, moreAvailable: this.resultListState.moreResultsAvailable, onClick: () => this.onClick() }))));
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
__decorate([
|
|
@@ -59,7 +59,7 @@ const AtomicNoResults = class {
|
|
|
59
59
|
render() {
|
|
60
60
|
const { bindings: { i18n }, } = this;
|
|
61
61
|
this.ariaMessage = utils.getSummary(i18n, this.querySummaryState.query, this.searchStatusState.hasResults, 'no-results');
|
|
62
|
-
return (index.h(stencilTips.NoItemsGuard, { key: '
|
|
62
|
+
return (index.h(stencilTips.NoItemsGuard, { key: '68380f48e173373185b89e7ef8204801db3e8b87', ...this.searchStatusState }, index.h(stencilMagnifyingGlass.NoItemsContainer, { key: '362b84e7f6d40f4828bb40171dea4318d8dc6b78' }, index.h(stencilMagnifyingGlass.MagnifyingGlass, { key: '118bf9f02e95c8e9498e20be3df98a3c706c83d4' }), index.h(stencilTips.NoItems, { key: '96cc5d2b483957718abba91d393afe8d127a887d', query: this.querySummaryState.query, i18n: i18n, i18nKey: "no-results" }), index.h(stencilTips.SearchTips, { key: 'a2f39a45880e265346313fe9fc4e3eaaef4abd81', i18n: i18n }), this.enableCancelLastAction && this.historyState.past.length ? (index.h(Cancel, { i18n: i18n, onClick: () => this.history.backOnNoResults() })) : null)));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
__decorate([
|
|
@@ -310,7 +310,7 @@ const AtomicNumericFacet = class {
|
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
312
|
const { searchStatusState: { firstSearchExecuted, hasError }, bindings: { i18n }, } = this;
|
|
313
|
-
return (index.h(facetGuard.FacetGuard, { key: '
|
|
313
|
+
return (index.h(facetGuard.FacetGuard, { key: '28cedaa84d6d7befeaa4cf019b7ca9d885bb216f', enabled: this.enabled, firstSearchExecuted: firstSearchExecuted, hasError: hasError, hasResults: this.shouldRenderFacet }, firstSearchExecuted ? (index.h(facetPlaceholder.FacetContainer, null, index.h(facetPlaceholder.FacetHeader, { i18n: i18n, label: this.label, onClearFilters: () => {
|
|
314
314
|
this.focusTarget.focusAfterSearch();
|
|
315
315
|
if (this.filterState?.range) {
|
|
316
316
|
this.filter?.clear();
|
|
@@ -79,15 +79,15 @@ const AtomicPager = class {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (index.h(stencilPagerGuard.PagerGuard, { key: '
|
|
82
|
+
return (index.h(stencilPagerGuard.PagerGuard, { key: '369f78fa1cb09522f21da7c46c1d570e69e4ef1b', hasError: this.searchStatusState.hasError, hasItems: this.searchStatusState.hasResults, isAppLoaded: this.isAppLoaded }, index.h(stencilPagerNavigation.PagerNavigation, { key: 'bfed460dcdab8375525ea1e9851960c0c9bd82ab', i18n: this.bindings.i18n }, index.h(stencilPagerNavigation.PagerPreviousButton, { key: '53af0bb4f467e2008aad68f1adf05650176f0b24', icon: this.previousButtonIcon, disabled: !this.pagerState.hasPreviousPage, i18n: this.bindings.i18n, onClick: () => {
|
|
83
83
|
this.pager.previousPage();
|
|
84
84
|
this.focusOnFirstResultAndScrollToTop();
|
|
85
|
-
} }), index.h(stencilPagerNavigation.PagerPageButtons, { key: '
|
|
85
|
+
} }), index.h(stencilPagerNavigation.PagerPageButtons, { key: '8612ffe46a0861b9daf9cf3501a59a5c1a4bc294', i18n: this.bindings.i18n }, this.pagerState.currentPages.map((pageNumber) => {
|
|
86
86
|
return (index.h(stencilPagerNavigation.PagerPageButton, { isSelected: this.pager.isCurrentPage(pageNumber), ariaLabel: this.bindings.i18n.t('page-number', { pageNumber }), onChecked: () => {
|
|
87
87
|
this.pager.selectPage(pageNumber);
|
|
88
88
|
this.focusOnFirstResultAndScrollToTop();
|
|
89
89
|
}, page: pageNumber, groupName: this.radioGroupName, text: pageNumber.toLocaleString(this.bindings.i18n.language) }));
|
|
90
|
-
})), index.h(stencilPagerNavigation.PagerNextButton, { key: '
|
|
90
|
+
})), index.h(stencilPagerNavigation.PagerNextButton, { key: 'be9ea2d1da6809f24b9f3988d27acf19f3c0ae42', icon: this.nextButtonIcon, disabled: !this.pagerState.hasNextPage, i18n: this.bindings.i18n, onClick: () => {
|
|
91
91
|
this.pager.nextPage();
|
|
92
92
|
this.focusOnFirstResultAndScrollToTop();
|
|
93
93
|
} }))));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-757bc886.js');
|
|
6
6
|
const bueno = require('@coveo/bueno');
|
|
7
7
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
8
|
-
const
|
|
8
|
+
const stencilExpandableText = require('./stencil-expandable-text-80915f74.js');
|
|
9
9
|
const stencilProductTemplateDecorators = require('./stencil-product-template-decorators-8c9cf847.js');
|
|
10
10
|
require('./dom-utils-d4790328.js');
|
|
11
11
|
require('./event-utils-9bfcf3c5.js');
|
|
@@ -96,7 +96,7 @@ const AtomicProductDescription = class {
|
|
|
96
96
|
if (!productDescription) {
|
|
97
97
|
return index.h(initializationUtils.Hidden, null);
|
|
98
98
|
}
|
|
99
|
-
return (index.h(
|
|
99
|
+
return (index.h(stencilExpandableText.ExpandableText, { isExpanded: this.isExpanded, isTruncated: this.isTruncated, truncateAfter: this.truncateAfter, onToggleExpand: (e) => this.onToggleExpand(e), showMoreLabel: this.bindings.i18n.t('show-more'), showLessLabel: this.bindings.i18n.t('show-less'), isCollapsible: this.isCollapsible }, index.h("atomic-product-text", { field: this.field })));
|
|
100
100
|
}
|
|
101
101
|
get hostElement() { return index.getElement(this); }
|
|
102
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-product-description.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,2BAA2B,GAAG,wUAAwU,CAAC;AAC7W,uCAAe,2BAA2B;;;;;;;;;;;;MCuB7B,wBAAwB;IA+BnC;;QArBiB,eAAU,GAAG,KAAK,CAAC;QACnB,gBAAW,GAAG,KAAK,CAAC;;;;QAQtB,kBAAa,GAAkB,GAAG,CAAC;;;;QAKnC,UAAK,GAAsC,cAAc,CAAC;;;;QAK1D,kBAAa,GAAG,IAAI,CAAC;0BAnBN,KAAK;2BACJ,KAAK;6BAQU,GAAG;qBAKS,cAAc;6BAKzC,IAAI;QAGjC,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC;YACvC,IACE,IAAI,CAAC,eAAe;gBACpB,IAAI,CAAC,eAAe,CAAC,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,EACrE;gBACA,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;aACzB;iBAAM;gBACL,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;aAC1B;SACF,CAAC,CAAC;QACH,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAEO,aAAa;QACnB,IAAIA,YAAM,CAA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AG,CAAC,IAAI,CAAC,UAAU,CAAC;KACpC;IAED,oBAAoB;QAClB,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;KAClC;IAEM,MAAM;QACX,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;QAE5D,IAAI,CAAC,kBAAkB,EAAE;YACvB,OAAOC,QAACC,0BAAM,OAAG,CAAC;SACnB;QAED,QACED,QAACE,oCAAc,IACb,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,cAAc,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAC7C,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,EAChD,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,EAChD,aAAa,EAAE,IAAI,CAAC,aAAa,IAEjCF,iCAAqB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAwB,CAC/C,EACjB;KACH;;;AAjG4B;IAA5BG,sCAAkB,EAAE;0DAAoC;AAC/B;IAAzBC,+CAAc,EAAE;yDAA2B;;;;;","names":["Schema","StringValue","h","Hidden","ExpandableText","InitializeBindings","ProductContext"],"sources":["src/components/commerce/atomic-product-description/atomic-product-description.pcss?tag=atomic-product-description","src/components/commerce/atomic-product-description/atomic-product-description.tsx"],"sourcesContent":["@import '../../common/expandable-text/expandable-text.pcss';\n","import {Schema, StringValue} from '@coveo/bueno';\nimport {Product} from '@coveo/headless/commerce';\nimport {Component, State, h, Element, Prop} from '@stencil/core';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {\n ExpandableText,\n TruncateAfter,\n} from '../../common/expandable-text/stencil-expandable-text';\nimport {Hidden} from '../../common/stencil-hidden';\nimport {CommerceBindings} from '../atomic-commerce-interface/atomic-commerce-interface';\nimport {ProductContext} from '../product-template-component-utils/stencil-product-template-decorators';\n\n/**\n * @alpha\n * The `atomic-product-description` component renders the description of a product.\n */\n@Component({\n tag: 'atomic-product-description',\n styleUrl: 'atomic-product-description.pcss',\n shadow: false,\n})\nexport class AtomicProductDescription\n implements InitializableComponent<CommerceBindings>\n{\n @InitializeBindings() public bindings!: CommerceBindings;\n @ProductContext() private product!: Product;\n\n @Element() hostElement!: HTMLElement;\n\n public error!: Error;\n\n @State() private isExpanded = false;\n @State() private isTruncated = false;\n\n private descriptionText!: HTMLDivElement;\n private resizeObserver: ResizeObserver;\n\n /**\n * The number of lines after which the product description should be truncated. A value of \"none\" will disable truncation.\n */\n @Prop() public truncateAfter: TruncateAfter = '2';\n\n /**\n * The name of the description field to use.\n */\n @Prop() public field: 'ec_description' | 'ec_shortdesc' = 'ec_shortdesc';\n\n /**\n * Whether the description should be collapsible after being expanded.\n */\n @Prop() public isCollapsible = true;\n\n constructor() {\n this.resizeObserver = new ResizeObserver(() => {\n if (\n this.descriptionText &&\n this.descriptionText.scrollHeight > this.descriptionText.clientHeight\n ) {\n this.isTruncated = true;\n } else {\n this.isTruncated = false;\n }\n });\n this.validateProps();\n }\n\n private validateProps() {\n new Schema({\n truncateAfter: new StringValue({\n constrainTo: ['none', '1', '2', '3', '4'],\n }),\n field: new StringValue({\n constrainTo: ['ec_shortdesc', 'ec_description'],\n }),\n }).validate({\n truncateAfter: this.truncateAfter,\n field: this.field,\n });\n }\n\n componentDidLoad() {\n this.descriptionText = this.hostElement.querySelector(\n '.expandable-text'\n ) as HTMLDivElement;\n if (this.descriptionText) {\n this.resizeObserver.observe(this.descriptionText);\n }\n }\n\n private onToggleExpand(e?: MouseEvent) {\n if (e) {\n e.stopPropagation();\n }\n\n this.isExpanded = !this.isExpanded;\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n public render() {\n const productDescription = this.product[this.field] ?? null;\n\n if (!productDescription) {\n return <Hidden />;\n }\n\n return (\n <ExpandableText\n isExpanded={this.isExpanded}\n isTruncated={this.isTruncated}\n truncateAfter={this.truncateAfter}\n onToggleExpand={(e) => this.onToggleExpand(e)}\n showMoreLabel={this.bindings.i18n.t('show-more')}\n showLessLabel={this.bindings.i18n.t('show-less')}\n isCollapsible={this.isCollapsible}\n >\n <atomic-product-text field={this.field}></atomic-product-text>\n </ExpandableText>\n );\n }\n}\n"],"version":3}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-757bc886.js');
|
|
6
6
|
const bueno = require('@coveo/bueno');
|
|
7
7
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
8
|
-
const
|
|
8
|
+
const stencilExpandableText = require('./stencil-expandable-text-80915f74.js');
|
|
9
9
|
const stencilProductTemplateDecorators = require('./stencil-product-template-decorators-8c9cf847.js');
|
|
10
10
|
require('./dom-utils-d4790328.js');
|
|
11
11
|
require('./event-utils-9bfcf3c5.js');
|
|
@@ -87,7 +87,7 @@ const AtomicProductExcerpt = class {
|
|
|
87
87
|
if (!productExcerpt) {
|
|
88
88
|
return index.h(initializationUtils.Hidden, null);
|
|
89
89
|
}
|
|
90
|
-
return (index.h(
|
|
90
|
+
return (index.h(stencilExpandableText.ExpandableText, { isExpanded: this.isExpanded, isTruncated: this.isTruncated, truncateAfter: this.truncateAfter, onToggleExpand: (e) => this.onToggleExpand(e), showMoreLabel: this.bindings.i18n.t('show-more'), showLessLabel: this.bindings.i18n.t('show-less'), isCollapsible: this.isCollapsible }, index.h("atomic-product-text", { field: "excerpt" })));
|
|
91
91
|
}
|
|
92
92
|
get hostElement() { return index.getElement(this); }
|
|
93
93
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-product-excerpt.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,wUAAwU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AAC,WAAW,CAAC,aAAa,CAC/C,kBAAkB,CACD,CAAC;QACpB,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC/C;KACF;IAEO,cAAc,CAAC,CAAc;QACnC,IAAI,CAAC,EAAE;YACL,CAAC,CAAC,eAAe,EAAE,CAAC;SACrB;QAED,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;KACpC;IAED,oBAAoB;QAClB,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;KAClC;IAEM,MAAM;QACX,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;QAEvD,IAAI,CAAC,cAAc,EAAE;YACnB,OAAOC,QAACC,0BAAM,OAAG,CAAC;SACnB;QAED,QACED,QAACE,oCAAc,IACb,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,cAAc,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAC7C,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,EAChD,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,EAChD,aAAa,EAAE,IAAI,CAAC,aAAa,IAEjCF,iCAAqB,KAAK,EAAC,SAAS,GAAuB,CAC5C,EACjB;KACH;;;AAxF4B;IAA5BG,sCAAkB,EAAE;sDAAoC;AAC/B;IAAzBC,+CAAc,EAAE;qDAA2B;;;;;","names":["Schema","StringValue","h","Hidden","ExpandableText","InitializeBindings","ProductContext"],"sources":["src/components/commerce/atomic-product-excerpt/atomic-product-excerpt.pcss?tag=atomic-product-excerpt","src/components/commerce/atomic-product-excerpt/atomic-product-excerpt.tsx"],"sourcesContent":["@import '../../common/expandable-text/expandable-text.pcss';\n","import {Schema, StringValue} from '@coveo/bueno';\nimport {Product} from '@coveo/headless/commerce';\nimport {Component, State, h, Element, Prop} from '@stencil/core';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {\n ExpandableText,\n TruncateAfter,\n} from '../../common/expandable-text/stencil-expandable-text';\nimport {Hidden} from '../../common/stencil-hidden';\nimport {CommerceBindings} from '../atomic-commerce-interface/atomic-commerce-interface';\nimport {ProductContext} from '../product-template-component-utils/stencil-product-template-decorators';\n\n/**\n * @alpha\n * The `atomic-product-excerpt` component renders the excerpt of a product generated at query time.\n */\n@Component({\n tag: 'atomic-product-excerpt',\n styleUrl: 'atomic-product-excerpt.pcss',\n shadow: false,\n})\nexport class AtomicProductExcerpt\n implements InitializableComponent<CommerceBindings>\n{\n @InitializeBindings() public bindings!: CommerceBindings;\n @ProductContext() private product!: Product;\n\n @Element() hostElement!: HTMLElement;\n\n public error!: Error;\n\n @State() private isExpanded = false;\n @State() private isTruncated = false;\n\n private excerptText!: HTMLDivElement;\n private resizeObserver: ResizeObserver;\n\n /**\n * The number of lines after which the product excerpt should be truncated. A value of \"none\" will disable truncation.\n */\n @Prop() public truncateAfter: TruncateAfter = '2';\n\n /**\n * Whether the excerpt should be collapsible after being expanded.\n */\n @Prop() public isCollapsible = false;\n\n constructor() {\n this.resizeObserver = new ResizeObserver(() => {\n if (\n this.excerptText &&\n this.excerptText.scrollHeight > this.excerptText.offsetHeight\n ) {\n this.isTruncated = true;\n } else {\n this.isTruncated = false;\n }\n });\n this.validateProps();\n }\n\n private validateProps() {\n new Schema({\n truncateAfter: new StringValue({\n constrainTo: ['none', '1', '2', '3', '4'],\n }),\n }).validate({\n truncateAfter: this.truncateAfter,\n });\n }\n\n componentDidLoad() {\n this.excerptText = this.hostElement.querySelector(\n '.expandable-text'\n ) as HTMLDivElement;\n if (this.excerptText) {\n this.resizeObserver.observe(this.excerptText);\n }\n }\n\n private onToggleExpand(e?: MouseEvent) {\n if (e) {\n e.stopPropagation();\n }\n\n this.isExpanded = !this.isExpanded;\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n public render() {\n const productExcerpt = this.product['excerpt'] ?? null;\n\n if (!productExcerpt) {\n return <Hidden />;\n }\n\n return (\n <ExpandableText\n isExpanded={this.isExpanded}\n isTruncated={this.isTruncated}\n truncateAfter={this.truncateAfter}\n onToggleExpand={(e) => this.onToggleExpand(e)}\n showMoreLabel={this.bindings.i18n.t('show-more')}\n showLessLabel={this.bindings.i18n.t('show-less')}\n isCollapsible={this.isCollapsible}\n >\n <atomic-product-text field=\"excerpt\"></atomic-product-text>\n </ExpandableText>\n );\n }\n}\n"],"version":3}
|
|
@@ -9,7 +9,7 @@ const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
|
9
9
|
const slotUtils = require('./slot-utils-948feedc.js');
|
|
10
10
|
const attributesSlot = require('./attributes-slot-5799cb5b.js');
|
|
11
11
|
const itemLink = require('./item-link-3844789d.js');
|
|
12
|
-
const productUtils = require('./product-utils-
|
|
12
|
+
const productUtils = require('./product-utils-f6c780e3.js');
|
|
13
13
|
const stencilProductTemplateDecorators = require('./stencil-product-template-decorators-8c9cf847.js');
|
|
14
14
|
require('./dom-utils-d4790328.js');
|
|
15
15
|
require('./init-queue-a18aa323.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-757bc886.js');
|
|
6
6
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
7
7
|
const formatCommon = require('./format-common-4aa8aa88.js');
|
|
8
|
-
const productUtils = require('./product-utils-
|
|
8
|
+
const productUtils = require('./product-utils-f6c780e3.js');
|
|
9
9
|
const stencilProductTemplateDecorators = require('./stencil-product-template-decorators-8c9cf847.js');
|
|
10
10
|
require('./dom-utils-d4790328.js');
|
|
11
11
|
require('./event-utils-9bfcf3c5.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-757bc886.js');
|
|
|
6
6
|
const commerce = require('@coveo/headless/commerce');
|
|
7
7
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
8
8
|
const formatCommon = require('./format-common-4aa8aa88.js');
|
|
9
|
-
const productUtils = require('./product-utils-
|
|
9
|
+
const productUtils = require('./product-utils-f6c780e3.js');
|
|
10
10
|
const stencilProductTemplateDecorators = require('./stencil-product-template-decorators-8c9cf847.js');
|
|
11
11
|
require('./dom-utils-d4790328.js');
|
|
12
12
|
require('./event-utils-9bfcf3c5.js');
|
|
@@ -72,7 +72,7 @@ const AtomicProductPrice = class {
|
|
|
72
72
|
const originalPrice = this.hasPromotionalPrice
|
|
73
73
|
? this.getFormattedValue('ec_price')
|
|
74
74
|
: null;
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: '9be7690a20f179aebcb2ef1330406cf4c0840011', class: "flex flex-wrap gap-1" }, index.h("div", { key: '17f08914229562dbf5fc52a99980d6e7130c83a5', class: `truncate break-keep ${this.hasPromotionalPrice && 'text-error'}` }, mainPrice), index.h("div", { key: 'b70aa6768a3d75b7bce253102326b63d683ea879', class: 'original-price content-center truncate text-xl break-keep line-through' +
|
|
76
76
|
(!originalPrice ? ' invisible' : '') }, originalPrice ?? '')));
|
|
77
77
|
}
|
|
78
78
|
};
|
|
@@ -6,7 +6,7 @@ const index = require('./index-757bc886.js');
|
|
|
6
6
|
const headless = require('@coveo/headless');
|
|
7
7
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
8
8
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-a5d1a814.js');
|
|
9
|
-
const stencilLink = require('./stencil-link-
|
|
9
|
+
const stencilLink = require('./stencil-link-fbb2ab5c.js');
|
|
10
10
|
require('./dom-utils-d4790328.js');
|
|
11
11
|
require('./event-utils-9bfcf3c5.js');
|
|
12
12
|
require('./init-queue-a18aa323.js');
|
|
@@ -49,7 +49,7 @@ const AtomicQueryError = class {
|
|
|
49
49
|
if (hasError) {
|
|
50
50
|
this.ariaMessage = stencilLink.getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
51
51
|
}
|
|
52
|
-
return (index.h(stencilLink.QueryErrorGuard, { key: '
|
|
52
|
+
return (index.h(stencilLink.QueryErrorGuard, { key: '35a365a208b92b8fd42190d0914c55941836a0d5', hasError: hasError }, index.h(stencilLink.QueryErrorContainer, { key: '4a9df9c210520543e6dd28dde603d92ef51eb12d' }, index.h(stencilLink.QueryErrorIcon, { key: '5acc15d972298c51b9a35899c72b21ec9921071f', errorType: error?.type }), index.h(stencilLink.QueryErrorTitle, { key: '69c204454af76de98e2ae5af3c480e28d9bcfd3f', errorType: error?.type, i18n: i18n, organizationId: organizationId }), index.h(stencilLink.QueryErrorDescription, { key: '5bc6f621410459203d5577024abcd2e017a24f77', i18n: i18n, organizationId: organizationId, url: url, errorType: error?.type }), index.h(stencilLink.QueryErrorShowMore, { key: 'c560a6af5df7c51424b647eacae1f66f29d94295', link: index.h(stencilLink.QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), index.h(stencilLink.QueryErrorDetails, { key: '9d1e8c102af5b43904b5dafad4f6e0c043a916d9', error: error, show: this.showMoreInfo }))));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-query-error.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,0u1DAA0u1D,CAAC;AACvw1D,+BAAe,mBAAmB;;;;;;;;;;;;MCsCrB,gBAAgB;;;QAQlB,iBAAY,GAAG,KAAK,CAAC;;;4BAAN,KAAK;;IAKtB,UAAU;QACf,IAAI,CAAC,UAAU,GAAGA,wBAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;KACz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zC;IAFPC,yCAAqB,CAAC,YAAY,CAAC;yDAEM;AAKhC;IADTC,wCAAc,CAAC,aAAa,CAAC;qDACC;;;;;","names":["buildQueryError","getOrganizationEndpoint","getAriaMessageFromErrorType","h","QueryErrorGuard","QueryErrorContainer","QueryErrorIcon","QueryErrorTitle","QueryErrorDescription","QueryErrorShowMore","QueryErrorLink","QueryErrorDetails","InitializeBindings","BindStateToController","AriaLiveRegion"],"sources":["src/components/search/atomic-query-error/atomic-query-error.pcss?tag=atomic-query-error&encapsulation=shadow","src/components/search/atomic-query-error/atomic-query-error.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n","import {\n QueryError,\n QueryErrorState,\n buildQueryError,\n getOrganizationEndpoint,\n} from '@coveo/headless';\nimport {Component, h, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {AriaLiveRegion} from '../../../utils/stencil-accessibility-utils';\nimport {QueryErrorDetails} from '../../common/query-error/stencil-details';\nimport {QueryErrorIcon} from '../../common/query-error/stencil-icon';\nimport {QueryErrorShowMore} from '../../common/query-error/show-more';\nimport {QueryErrorContainer} from '../../common/query-error/stencil-container';\nimport {QueryErrorDescription} from '../../common/query-error/stencil-description';\nimport {QueryErrorGuard} from '../../common/query-error/stencil-guard';\nimport {QueryErrorTitle} from '../../common/query-error/stencil-title';\nimport {getAriaMessageFromErrorType} from '../../common/query-error/utils';\nimport {Bindings} from '../atomic-search-interface/atomic-search-interface';\nimport {QueryErrorLink} from '../../common/query-error/stencil-link';\n\n/**\n * The `atomic-query-error` component handles fatal errors when performing a query on the index or Search API. When the error is known, it displays a link to relevant documentation link for debugging purposes. When the error is unknown, it displays a small text area with the JSON content of the error.\n *\n * @part icon - The svg related to the error.\n * @part title - The title of the error.\n * @part description - A description of the error.\n * @part doc-link - A link to the relevant documentation.\n * @part more-info-btn - A button to request additional error information.\n * @part error-info - Additional error information.\n */\n@Component({\n tag: 'atomic-query-error',\n styleUrl: 'atomic-query-error.pcss',\n shadow: true,\n})\nexport class AtomicQueryError implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public queryError!: QueryError;\n\n @BindStateToController('queryError')\n @State()\n private queryErrorState!: QueryErrorState;\n @State() public error!: Error;\n @State() showMoreInfo = false;\n\n @AriaLiveRegion('query-error')\n protected ariaMessage!: string;\n\n public initialize() {\n this.queryError = buildQueryError(this.bindings.engine);\n }\n\n public render() {\n const {hasError, error} = this.queryErrorState;\n const {\n bindings: {\n i18n,\n engine: {\n state: {\n configuration: {organizationId, environment},\n },\n },\n },\n } = this;\n const url = getOrganizationEndpoint(organizationId, environment);\n if (hasError) {\n this.ariaMessage = getAriaMessageFromErrorType(\n i18n,\n organizationId,\n url,\n error?.type\n );\n }\n return (\n <QueryErrorGuard hasError={hasError}>\n <QueryErrorContainer>\n <QueryErrorIcon errorType={error?.type} />\n <QueryErrorTitle\n errorType={error?.type}\n i18n={i18n}\n organizationId={organizationId}\n />\n <QueryErrorDescription\n i18n={i18n}\n organizationId={organizationId}\n url={url}\n errorType={error?.type}\n />\n <QueryErrorShowMore\n link={<QueryErrorLink i18n={i18n} errorType={error?.type} />}\n onShowMore={() => (this.showMoreInfo = !this.showMoreInfo)}\n i18n={i18n}\n />\n <QueryErrorDetails error={error} show={this.showMoreInfo} />\n </QueryErrorContainer>\n </QueryErrorGuard>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"atomic-query-error.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,0u1DAA0u1D,CAAC;AACvw1D,+BAAe,mBAAmB;;;;;;;;;;;;MCsCrB,gBAAgB;;;QAQlB,iBAAY,GAAG,KAAK,CAAC;;;4BAAN,KAAK;;IAKtB,UAAU;QACf,IAAI,CAAC,UAAU,GAAGA,wBAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;KACzD;IAEM,MAAM;QACX,MAAM,EAAC,QAAQ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yDAEM;AAKhC;IADTC,wCAAc,CAAC,aAAa,CAAC;qDACC;;;;;","names":["buildQueryError","getOrganizationEndpoint","getAriaMessageFromErrorType","h","QueryErrorGuard","QueryErrorContainer","QueryErrorIcon","QueryErrorTitle","QueryErrorDescription","QueryErrorShowMore","QueryErrorLink","QueryErrorDetails","InitializeBindings","BindStateToController","AriaLiveRegion"],"sources":["src/components/search/atomic-query-error/atomic-query-error.pcss?tag=atomic-query-error&encapsulation=shadow","src/components/search/atomic-query-error/atomic-query-error.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n","import {\n QueryError,\n QueryErrorState,\n buildQueryError,\n getOrganizationEndpoint,\n} from '@coveo/headless';\nimport {Component, h, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {AriaLiveRegion} from '../../../utils/stencil-accessibility-utils';\nimport {QueryErrorDetails} from '../../common/query-error/stencil-details';\nimport {QueryErrorIcon} from '../../common/query-error/stencil-icon';\nimport {QueryErrorShowMore} from '../../common/query-error/stencil-show-more';\nimport {QueryErrorContainer} from '../../common/query-error/stencil-container';\nimport {QueryErrorDescription} from '../../common/query-error/stencil-description';\nimport {QueryErrorGuard} from '../../common/query-error/stencil-guard';\nimport {QueryErrorTitle} from '../../common/query-error/stencil-title';\nimport {getAriaMessageFromErrorType} from '../../common/query-error/utils';\nimport {Bindings} from '../atomic-search-interface/atomic-search-interface';\nimport {QueryErrorLink} from '../../common/query-error/stencil-link';\n\n/**\n * The `atomic-query-error` component handles fatal errors when performing a query on the index or Search API. When the error is known, it displays a link to relevant documentation link for debugging purposes. When the error is unknown, it displays a small text area with the JSON content of the error.\n *\n * @part icon - The svg related to the error.\n * @part title - The title of the error.\n * @part description - A description of the error.\n * @part doc-link - A link to the relevant documentation.\n * @part more-info-btn - A button to request additional error information.\n * @part error-info - Additional error information.\n */\n@Component({\n tag: 'atomic-query-error',\n styleUrl: 'atomic-query-error.pcss',\n shadow: true,\n})\nexport class AtomicQueryError implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public queryError!: QueryError;\n\n @BindStateToController('queryError')\n @State()\n private queryErrorState!: QueryErrorState;\n @State() public error!: Error;\n @State() showMoreInfo = false;\n\n @AriaLiveRegion('query-error')\n protected ariaMessage!: string;\n\n public initialize() {\n this.queryError = buildQueryError(this.bindings.engine);\n }\n\n public render() {\n const {hasError, error} = this.queryErrorState;\n const {\n bindings: {\n i18n,\n engine: {\n state: {\n configuration: {organizationId, environment},\n },\n },\n },\n } = this;\n const url = getOrganizationEndpoint(organizationId, environment);\n if (hasError) {\n this.ariaMessage = getAriaMessageFromErrorType(\n i18n,\n organizationId,\n url,\n error?.type\n );\n }\n return (\n <QueryErrorGuard hasError={hasError}>\n <QueryErrorContainer>\n <QueryErrorIcon errorType={error?.type} />\n <QueryErrorTitle\n errorType={error?.type}\n i18n={i18n}\n organizationId={organizationId}\n />\n <QueryErrorDescription\n i18n={i18n}\n organizationId={organizationId}\n url={url}\n errorType={error?.type}\n />\n <QueryErrorShowMore\n link={<QueryErrorLink i18n={i18n} errorType={error?.type} />}\n onShowMore={() => (this.showMoreInfo = !this.showMoreInfo)}\n i18n={i18n}\n />\n <QueryErrorDetails error={error} show={this.showMoreInfo} />\n </QueryErrorContainer>\n </QueryErrorGuard>\n );\n }\n}\n"],"version":3}
|
|
@@ -49,7 +49,7 @@ const AtomicQuerySummary = class {
|
|
|
49
49
|
isLoading,
|
|
50
50
|
});
|
|
51
51
|
this.ariaMessage = ariaLiveMessage;
|
|
52
|
-
return (index.h(stencilUtils.QuerySummaryGuard, { key: '
|
|
52
|
+
return (index.h(stencilUtils.QuerySummaryGuard, { key: '605587e02c8d39c87b0cebcf5877321d3a2a6824', firstSearchExecuted: firstSearchExecuted, hasResults: hasResults, hasError: hasError }, index.h(stencilUtils.QuerySummaryContainer, { key: '33948c83706caaf66a119cbf967e2d394313e42c' }, index.h(jsxUtils.LocalizedString, { key: i18nKey, i18n: this.bindings.i18n, params: highlights, count: total }), index.h("span", { key: 'cac5b48031278d323209bc35b478ee0f05e57a4a', class: "hidden", part: "duration" }, "\u00A0", index.h(jsxUtils.LocalizedString, { key: "in-seconds", i18n: this.bindings.i18n, params: {
|
|
53
53
|
count: durationInSeconds.toLocaleString(this.bindings.i18n.language),
|
|
54
54
|
} })))));
|
|
55
55
|
}
|
|
@@ -581,7 +581,7 @@ const AtomicQuickviewModal = class {
|
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
render() {
|
|
584
|
-
return (index.h("atomic-modal", { key: '
|
|
584
|
+
return (index.h("atomic-modal", { key: '56bf44efabfda516af231dd2eb3004e52285aafe', fullscreen: this.bindings.store.isMobile(), class: 'atomic-quickview-modal', isOpen: this.isOpen, close: () => this.onClose(), exportparts: exportParts.ATOMIC_MODAL_EXPORT_PARTS }, this.renderHeader(), this.renderBody(), this.renderFooter()));
|
|
585
585
|
}
|
|
586
586
|
static get watchers() { return {
|
|
587
587
|
"highlightKeywords": ["watchHighlightKeywords"]
|
|
@@ -117,7 +117,7 @@ const AtomicQuickview = class {
|
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
119
|
if (this.quickviewState.resultHasPreview) {
|
|
120
|
-
return (index.h(stencilButton.Button, { key: '
|
|
120
|
+
return (index.h(stencilButton.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 }, index.h("atomic-icon", { key: '8383eda6ce892806f43dde2128b74c700fe4be88', part: "icon", class: "flex w-5 justify-center", icon: quickview.QuickviewIcon })));
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
};
|
|
@@ -7,7 +7,7 @@ const bueno = require('@coveo/bueno');
|
|
|
7
7
|
const recommendation = require('@coveo/headless/recommendation');
|
|
8
8
|
const initializationUtils = require('./initialization-utils-62dc9852.js');
|
|
9
9
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-a5d1a814.js');
|
|
10
|
-
const stencilLink = require('./stencil-link-
|
|
10
|
+
const stencilLink = require('./stencil-link-fbb2ab5c.js');
|
|
11
11
|
require('./dom-utils-d4790328.js');
|
|
12
12
|
require('./event-utils-9bfcf3c5.js');
|
|
13
13
|
require('./init-queue-a18aa323.js');
|
|
@@ -51,7 +51,7 @@ const AtomicRecsError = class {
|
|
|
51
51
|
if (hasError) {
|
|
52
52
|
this.ariaMessage = stencilLink.getAriaMessageFromErrorType(i18n, organizationId, url, error?.type);
|
|
53
53
|
}
|
|
54
|
-
return (index.h(stencilLink.QueryErrorGuard, { key: '
|
|
54
|
+
return (index.h(stencilLink.QueryErrorGuard, { key: '1dca8ab41bdb8a71f1936cf1751fb6017c7c9fad', hasError: hasError }, index.h(stencilLink.QueryErrorContainer, { key: '711d860dbc6085ed9d3f03fd254865826c9fb897' }, index.h(stencilLink.QueryErrorIcon, { key: '35a3e19666aa1e38cd41ad11503c56ba0b926ce8', errorType: error?.type }), index.h(stencilLink.QueryErrorTitle, { key: '6987ab69f7a8a87a5615ccc8cde9c2a34db48e91', i18n: i18n, organizationId: organizationId }), index.h(stencilLink.QueryErrorDescription, { key: '368140552841c3094bb81c469f58dc59bc1341b7', i18n: i18n, organizationId: organizationId, url: url }), index.h(stencilLink.QueryErrorShowMore, { key: '9f13261f6873e200f96c2a39fa4da506e7f762f8', link: index.h(stencilLink.QueryErrorLink, { i18n: i18n, errorType: error?.type }), onShowMore: () => (this.showMoreInfo = !this.showMoreInfo), i18n: i18n }), index.h(stencilLink.QueryErrorDetails, { key: 'da03ee81b4af216551f847592b4c49d478f35d50', error: error, show: this.showMoreInfo }))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-recs-error.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,0u1DAA0u1D,CAAC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YAAY,CAAC,EAC1D,IAAI,EAAE,IAAI,GACV,EACFP,QAACQ,6BAAiB,qDAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,GAAI,CACxC,CACN,EAClB;KACH;;AA5D4B;IAA5BC,sCAAkB,EAAE;iDAAgC;AAK9C;IAFNC,yCAAqB,CAAC,oBAAoB,CAAC;gEAEa;AAK/C;IADTC,wCAAc,CAAC,YAAY,CAAC;oDACE;;;;;","names":["buildRecommendationList","getOrganizationEndpoint","isNullOrUndefined","getAriaMessageFromErrorType","h","QueryErrorGuard","QueryErrorContainer","QueryErrorIcon","QueryErrorTitle","QueryErrorDescription","QueryErrorShowMore","QueryErrorLink","QueryErrorDetails","InitializeBindings","BindStateToController","AriaLiveRegion"],"sources":["src/components/recommendations/atomic-recs-error/atomic-recs-error.pcss?tag=atomic-recs-error&encapsulation=shadow","src/components/recommendations/atomic-recs-error/atomic-recs-error.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n","import {isNullOrUndefined} from '@coveo/bueno';\nimport {\n buildRecommendationList,\n getOrganizationEndpoint,\n RecommendationList,\n RecommendationListState,\n} from '@coveo/headless/recommendation';\nimport {Component, h, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {AriaLiveRegion} from '../../../utils/stencil-accessibility-utils';\nimport {QueryErrorDetails} from '../../common/query-error/stencil-details';\nimport {QueryErrorIcon} from '../../common/query-error/stencil-icon';\nimport {QueryErrorShowMore} from '../../common/query-error/show-more';\nimport {QueryErrorContainer} from '../../common/query-error/stencil-container';\nimport {QueryErrorDescription} from '../../common/query-error/stencil-description';\nimport {QueryErrorGuard} from '../../common/query-error/stencil-guard';\nimport {QueryErrorTitle} from '../../common/query-error/stencil-title';\nimport {getAriaMessageFromErrorType} from '../../common/query-error/utils';\nimport {RecsBindings} from '../atomic-recs-interface/atomic-recs-interface';\nimport {QueryErrorLink} from '../../common/query-error/stencil-link';\n\n/**\n * The `atomic-recs-error` component handles fatal errors when performing a recommendations request on the index or Search API. When the error is known, it displays a link to relevant documentation link for debugging purposes. When the error is unknown, it displays a small text area with the JSON content of the error.\n *\n * @part icon - The svg related to the error.\n * @part title - The title of the error.\n * @part description - A description of the error.\n * @part doc-link - A link to the relevant documentation.\n * @part more-info-btn - A button to request additional error information.\n * @part error-info - Additional error information.\n */\n@Component({\n tag: 'atomic-recs-error',\n styleUrl: 'atomic-recs-error.pcss',\n shadow: true,\n})\nexport class AtomicRecsError implements InitializableComponent<RecsBindings> {\n @InitializeBindings() public bindings!: RecsBindings;\n public recommendationList!: RecommendationList;\n\n @BindStateToController('recommendationList')\n @State()\n public recommendationListState!: RecommendationListState;\n @State() public error!: Error;\n @State() showMoreInfo = false;\n\n @AriaLiveRegion('recs-error')\n protected ariaMessage!: string;\n\n public initialize() {\n this.recommendationList = buildRecommendationList(this.bindings.engine);\n }\n\n public render() {\n const {error} = this.recommendationListState;\n\n const {\n bindings: {\n i18n,\n engine: {\n state: {\n configuration: {organizationId, environment},\n },\n },\n },\n } = this;\n const url = getOrganizationEndpoint(organizationId, environment);\n const hasError = !isNullOrUndefined(error);\n\n if (hasError) {\n this.ariaMessage = getAriaMessageFromErrorType(\n i18n,\n organizationId,\n url,\n error?.type\n );\n }\n\n return (\n <QueryErrorGuard hasError={hasError}>\n <QueryErrorContainer>\n <QueryErrorIcon errorType={error?.type} />\n <QueryErrorTitle i18n={i18n} organizationId={organizationId} />\n <QueryErrorDescription\n i18n={i18n}\n organizationId={organizationId}\n url={url}\n />\n <QueryErrorShowMore\n link={<QueryErrorLink i18n={i18n} errorType={error?.type} />}\n onShowMore={() => (this.showMoreInfo = !this.showMoreInfo)}\n i18n={i18n}\n />\n <QueryErrorDetails error={error} show={this.showMoreInfo} />\n </QueryErrorContainer>\n </QueryErrorGuard>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"atomic-recs-error.entry.cjs.js","mappings":";;;;;;;;;;;;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,EAAE,OAAO,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,EAC1D,IAAI,EAAE,IAAI,GACV,EACFP,QAACQ,6BAAiB,qDAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,GAAI,CACxC,CACN,EAClB;KACH;;AA5D4B;IAA5BC,sCAAkB,EAAE;iDAAgC;AAK9C;IAFNC,yCAAqB,CAAC,oBAAoB,CAAC;gEAEa;AAK/C;IADTC,wCAAc,CAAC,YAAY,CAAC;oDACE;;;;;","names":["buildRecommendationList","getOrganizationEndpoint","isNullOrUndefined","getAriaMessageFromErrorType","h","QueryErrorGuard","QueryErrorContainer","QueryErrorIcon","QueryErrorTitle","QueryErrorDescription","QueryErrorShowMore","QueryErrorLink","QueryErrorDetails","InitializeBindings","BindStateToController","AriaLiveRegion"],"sources":["src/components/recommendations/atomic-recs-error/atomic-recs-error.pcss?tag=atomic-recs-error&encapsulation=shadow","src/components/recommendations/atomic-recs-error/atomic-recs-error.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n","import {isNullOrUndefined} from '@coveo/bueno';\nimport {\n buildRecommendationList,\n getOrganizationEndpoint,\n RecommendationList,\n RecommendationListState,\n} from '@coveo/headless/recommendation';\nimport {Component, h, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {AriaLiveRegion} from '../../../utils/stencil-accessibility-utils';\nimport {QueryErrorDetails} from '../../common/query-error/stencil-details';\nimport {QueryErrorIcon} from '../../common/query-error/stencil-icon';\nimport {QueryErrorShowMore} from '../../common/query-error/stencil-show-more';\nimport {QueryErrorContainer} from '../../common/query-error/stencil-container';\nimport {QueryErrorDescription} from '../../common/query-error/stencil-description';\nimport {QueryErrorGuard} from '../../common/query-error/stencil-guard';\nimport {QueryErrorTitle} from '../../common/query-error/stencil-title';\nimport {getAriaMessageFromErrorType} from '../../common/query-error/utils';\nimport {RecsBindings} from '../atomic-recs-interface/atomic-recs-interface';\nimport {QueryErrorLink} from '../../common/query-error/stencil-link';\n\n/**\n * The `atomic-recs-error` component handles fatal errors when performing a recommendations request on the index or Search API. When the error is known, it displays a link to relevant documentation link for debugging purposes. When the error is unknown, it displays a small text area with the JSON content of the error.\n *\n * @part icon - The svg related to the error.\n * @part title - The title of the error.\n * @part description - A description of the error.\n * @part doc-link - A link to the relevant documentation.\n * @part more-info-btn - A button to request additional error information.\n * @part error-info - Additional error information.\n */\n@Component({\n tag: 'atomic-recs-error',\n styleUrl: 'atomic-recs-error.pcss',\n shadow: true,\n})\nexport class AtomicRecsError implements InitializableComponent<RecsBindings> {\n @InitializeBindings() public bindings!: RecsBindings;\n public recommendationList!: RecommendationList;\n\n @BindStateToController('recommendationList')\n @State()\n public recommendationListState!: RecommendationListState;\n @State() public error!: Error;\n @State() showMoreInfo = false;\n\n @AriaLiveRegion('recs-error')\n protected ariaMessage!: string;\n\n public initialize() {\n this.recommendationList = buildRecommendationList(this.bindings.engine);\n }\n\n public render() {\n const {error} = this.recommendationListState;\n\n const {\n bindings: {\n i18n,\n engine: {\n state: {\n configuration: {organizationId, environment},\n },\n },\n },\n } = this;\n const url = getOrganizationEndpoint(organizationId, environment);\n const hasError = !isNullOrUndefined(error);\n\n if (hasError) {\n this.ariaMessage = getAriaMessageFromErrorType(\n i18n,\n organizationId,\n url,\n error?.type\n );\n }\n\n return (\n <QueryErrorGuard hasError={hasError}>\n <QueryErrorContainer>\n <QueryErrorIcon errorType={error?.type} />\n <QueryErrorTitle i18n={i18n} organizationId={organizationId} />\n <QueryErrorDescription\n i18n={i18n}\n organizationId={organizationId}\n url={url}\n />\n <QueryErrorShowMore\n link={<QueryErrorLink i18n={i18n} errorType={error?.type} />}\n onShowMore={() => (this.showMoreInfo = !this.showMoreInfo)}\n i18n={i18n}\n />\n <QueryErrorDetails error={error} show={this.showMoreInfo} />\n </QueryErrorContainer>\n </QueryErrorGuard>\n );\n }\n}\n"],"version":3}
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-757bc886.js');
|
|
6
6
|
const initQueue = require('./init-queue-a18aa323.js');
|
|
7
7
|
const recommendation = require('@coveo/headless/recommendation');
|
|
8
|
-
const interfaceCommonStencil = require('./interface-common-stencil-
|
|
8
|
+
const interfaceCommonStencil = require('./interface-common-stencil-d4086225.js');
|
|
9
9
|
const propsUtils = require('./props-utils-66dfcd3a.js');
|
|
10
|
-
const analyticsConfig = require('./analytics-config-
|
|
10
|
+
const analyticsConfig = require('./analytics-config-54e62aa5.js');
|
|
11
11
|
const store = require('./store-116fd400.js');
|
|
12
12
|
require('@coveo/headless');
|
|
13
13
|
require('./dayjs.min-8b80e6d1.js');
|