@coveo/atomic 3.37.1 → 3.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +0 -2
- package/dist/atomic/components/_index.js +0 -1
- package/dist/atomic/components/atomic-automatic-facet-generator2.js +1 -1
- package/dist/atomic/components/atomic-automatic-facet-generator2.js.map +1 -1
- package/dist/atomic/components/atomic-category-facet.js +2 -2
- package/dist/atomic/components/atomic-category-facet.js.map +1 -1
- package/dist/atomic/components/atomic-color-facet.js +1 -1
- package/dist/atomic/components/atomic-color-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-facet.js +2 -2
- package/dist/atomic/components/atomic-insight-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-numeric-facet.js +2 -2
- package/dist/atomic/components/atomic-insight-numeric-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-timeframe-facet.js +1 -1
- package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-recs-list.js +1 -2
- package/dist/atomic/components/atomic-ipx-recs-list.js.map +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +2 -2
- package/dist/atomic/components/atomic-numeric-facet.js.map +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-rating-facet.js +1 -1
- package/dist/atomic/components/atomic-rating-facet.js.map +1 -1
- package/dist/atomic/components/atomic-rating-range-facet.js +1 -1
- package/dist/atomic/components/atomic-rating-range-facet.js.map +1 -1
- package/dist/atomic/components/atomic-recs-interface.js +1 -1
- package/dist/atomic/components/atomic-recs-list.js +1 -2
- package/dist/atomic/components/atomic-recs-list.js.map +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-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/atomic-timeframe-facet.js +1 -1
- package/dist/atomic/components/atomic-timeframe-facet.js.map +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-facets/atomic-commerce-facets.js +12 -12
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +1 -1
- package/dist/atomic/components/components/common/tabs/tab-wrapper.js +9 -0
- package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +1 -1
- package/dist/atomic/components/components/search/atomic-external/atomic-external.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-list/atomic-result-list.js +434 -0
- package/dist/atomic/components/components/search/atomic-result-template/atomic-result-template.js +1 -0
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +1 -1
- package/dist/atomic/components/components/search/index.js +1 -0
- package/dist/atomic/components/components/search/lazy-index.js +1 -0
- package/dist/atomic/components/decorators/bindings.js +1 -1
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/stencil-carousel.js +16 -1
- package/dist/atomic/components/stencil-carousel.js.map +1 -1
- package/dist/atomic/components/{facet-placeholder.js → stencil-facet-placeholder.js} +1 -1
- package/dist/atomic/components/stencil-facet-placeholder.js.map +1 -0
- package/dist/atomic/components/stencil-result-template-common.js +2 -1
- package/dist/atomic/components/stencil-result-template-common.js.map +1 -1
- package/dist/atomic/components/timeframe-facet-common.js +1 -1
- package/dist/atomic/components/timeframe-facet-common.js.map +1 -1
- package/dist/atomic/components/utils/tab-utils.js +17 -0
- package/dist/atomic/{p-f8bbecdd.entry.js → p-0d3407e9.entry.js} +2 -2
- package/dist/atomic/{p-b986c752.entry.js → p-1fdd2a5a.entry.js} +2 -2
- package/dist/atomic/p-1fdd2a5a.entry.js.map +1 -0
- package/dist/atomic/p-2a979ae5.entry.js +2 -0
- package/dist/atomic/{p-564e93ba.entry.js.map → p-2a979ae5.entry.js.map} +1 -1
- package/dist/atomic/p-2d624182.entry.js +2 -0
- package/dist/atomic/{p-6e47c9a8.entry.js.map → p-2d624182.entry.js.map} +1 -1
- package/dist/atomic/{p-561a531c.entry.js → p-3302a10f.entry.js} +2 -2
- package/dist/atomic/{p-04e08959.entry.js → p-3a426d47.entry.js} +2 -2
- package/dist/atomic/p-3a426d47.entry.js.map +1 -0
- package/dist/atomic/{p-7dfced62.entry.js → p-4362ec1f.entry.js} +2 -2
- package/dist/atomic/p-4362ec1f.entry.js.map +1 -0
- package/dist/atomic/{p-8deeef5f.entry.js → p-4b46b80f.entry.js} +2 -2
- package/dist/atomic/{p-408ffc88.entry.js → p-50353e9d.entry.js} +2 -2
- package/dist/atomic/p-50353e9d.entry.js.map +1 -0
- package/dist/atomic/{p-b528927d.entry.js → p-52721bf1.entry.js} +2 -2
- package/dist/atomic/p-52721bf1.entry.js.map +1 -0
- package/dist/atomic/{p-8deb6142.entry.js → p-594e3243.entry.js} +2 -2
- package/dist/atomic/p-5bdd4fca.entry.js +2 -0
- package/dist/atomic/{p-e351c8ed.entry.js.map → p-5bdd4fca.entry.js.map} +1 -1
- package/dist/atomic/{p-4239e0ec.entry.js → p-7632eb9d.entry.js} +2 -2
- package/dist/atomic/p-7632eb9d.entry.js.map +1 -0
- package/dist/atomic/{p-99203e57.entry.js → p-9a66fe53.entry.js} +2 -2
- package/dist/atomic/p-9a66fe53.entry.js.map +1 -0
- package/dist/atomic/{p-0d955dec.entry.js → p-9f3b431f.entry.js} +2 -2
- package/dist/atomic/{p-29bbd3d3.js → p-a598dc5b.js} +1 -1
- package/dist/atomic/p-a598dc5b.js.map +1 -0
- package/dist/atomic/p-acf4faf8.js +2 -0
- package/dist/atomic/p-acf4faf8.js.map +1 -0
- package/dist/atomic/p-c6763212.entry.js +2 -0
- package/dist/atomic/{p-1f4853b1.entry.js.map → p-c6763212.entry.js.map} +1 -1
- package/dist/atomic/p-c827c5e3.entry.js +2 -0
- package/dist/atomic/{p-7ccbf77d.entry.js.map → p-c827c5e3.entry.js.map} +1 -1
- package/dist/atomic/p-caf548dd.js +2 -0
- package/dist/atomic/p-caf548dd.js.map +1 -0
- package/dist/atomic/{p-3e077971.js → p-da20ee92.js} +2 -2
- package/dist/atomic/p-da20ee92.js.map +1 -0
- package/dist/atomic/{p-7b718df8.entry.js → p-e0e50820.entry.js} +2 -2
- package/dist/atomic/{p-27765040.entry.js → p-ecb92feb.entry.js} +2 -2
- package/dist/atomic/{p-27765040.entry.js.map → p-ecb92feb.entry.js.map} +1 -1
- package/dist/atomic/{p-3119dcb8.entry.js → p-f2893341.entry.js} +2 -2
- package/dist/atomic/{p-906fd94d.entry.js → p-f29cee57.entry.js} +2 -2
- package/dist/atomic/p-f29cee57.entry.js.map +1 -0
- package/dist/atomic/{p-2cd906b9.entry.js → p-f350c5c4.entry.js} +2 -2
- package/dist/atomic/p-f350c5c4.entry.js.map +1 -0
- package/dist/atomic/p-fef9f7d9.entry.js +2 -0
- package/dist/atomic/{p-7b11e602.entry.js.map → p-fef9f7d9.entry.js.map} +1 -1
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/atomic-automatic-facet_2.cjs.entry.js +4 -4
- package/dist/cjs/atomic-automatic-facet_2.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +4 -4
- package/dist/cjs/atomic-category-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-color-facet.cjs.entry.js +4 -4
- package/dist/cjs/atomic-color-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-field-condition.cjs.entry.js +1 -2
- package/dist/cjs/atomic-field-condition.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +1 -2
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-template.cjs.entry.js +1 -2
- package/dist/cjs/atomic-insight-result-template.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +4 -5
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +3 -3
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-rating-facet.cjs.entry.js +4 -4
- package/dist/cjs/atomic-rating-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-rating-range-facet.cjs.entry.js +4 -4
- package/dist/cjs/atomic-rating-range-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-list.cjs.entry.js +4 -5
- package/dist/cjs/atomic-recs-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-recs-result-template.cjs.entry.js +1 -2
- package/dist/cjs/atomic-recs-result-template.cjs.entry.js.map +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-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic-timeframe-facet.cjs.entry.js +3 -3
- package/dist/cjs/atomic-timeframe-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/index-1df73594.js +0 -4
- package/dist/cjs/{stencil-carousel-2beaa7d2.js → stencil-carousel-72557b3b.js} +17 -1
- package/dist/cjs/stencil-carousel-72557b3b.js.map +1 -0
- package/dist/cjs/{facet-placeholder-e86f105c.js → stencil-facet-placeholder-d3c0a675.js} +1 -1
- package/dist/cjs/stencil-facet-placeholder-d3c0a675.js.map +1 -0
- package/dist/cjs/{stencil-result-template-common-268ba233.js → stencil-result-template-common-46913299.js} +4 -3
- package/dist/cjs/stencil-result-template-common-46913299.js.map +1 -0
- package/dist/cjs/{timeframe-facet-common-16ba58fd.js → timeframe-facet-common-4fa4cc95.js} +5 -5
- package/dist/cjs/timeframe-facet-common-4fa4cc95.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/atomic-automatic-facet_2.entry.js +1 -1
- package/dist/esm/atomic-automatic-facet_2.entry.js.map +1 -1
- package/dist/esm/atomic-category-facet.entry.js +2 -2
- package/dist/esm/atomic-category-facet.entry.js.map +1 -1
- package/dist/esm/atomic-color-facet.entry.js +1 -1
- package/dist/esm/atomic-color-facet.entry.js.map +1 -1
- package/dist/esm/atomic-field-condition.entry.js +1 -2
- package/dist/esm/atomic-field-condition.entry.js.map +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +2 -2
- package/dist/esm/atomic-insight-facet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +2 -2
- package/dist/esm/atomic-insight-numeric-facet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-children-template.entry.js +1 -2
- package/dist/esm/atomic-insight-result-children-template.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-template.entry.js +1 -2
- package/dist/esm/atomic-insight-result-template.entry.js.map +1 -1
- package/dist/esm/atomic-insight-timeframe-facet.entry.js +2 -2
- package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-recs-list.entry.js +3 -4
- package/dist/esm/atomic-ipx-recs-list.entry.js.map +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +2 -2
- package/dist/esm/atomic-numeric-facet.entry.js.map +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-rating-facet.entry.js +1 -1
- package/dist/esm/atomic-rating-facet.entry.js.map +1 -1
- package/dist/esm/atomic-rating-range-facet.entry.js +1 -1
- package/dist/esm/atomic-rating-range-facet.entry.js.map +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/atomic-recs-list.entry.js +3 -4
- package/dist/esm/atomic-recs-list.entry.js.map +1 -1
- package/dist/esm/atomic-recs-result-template.entry.js +1 -2
- package/dist/esm/atomic-recs-result-template.entry.js.map +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-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic-timeframe-facet.entry.js +2 -2
- package/dist/esm/atomic-timeframe-facet.entry.js.map +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/index-a59c51bd.js +0 -4
- package/dist/esm/{stencil-carousel-be6f0bc1.js → stencil-carousel-a9540851.js} +17 -2
- package/dist/esm/stencil-carousel-a9540851.js.map +1 -0
- package/dist/esm/{facet-placeholder-7e0836c1.js → stencil-facet-placeholder-8201b5c9.js} +1 -1
- package/dist/esm/stencil-facet-placeholder-8201b5c9.js.map +1 -0
- package/dist/esm/{stencil-result-template-common-cddca36d.js → stencil-result-template-common-8be1ff35.js} +3 -2
- package/dist/esm/stencil-result-template-common-8be1ff35.js.map +1 -0
- package/dist/esm/{timeframe-facet-common-906a271d.js → timeframe-facet-common-4c8d95f2.js} +2 -2
- package/dist/esm/timeframe-facet-common-4c8d95f2.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.d.ts +1 -1
- package/dist/types/components/{context → common/context}/bindings-context.d.ts +1 -1
- package/dist/types/components/common/facets/facet-placeholder/facet-placeholder.d.ts +2 -5
- package/dist/types/components/common/facets/facet-placeholder/stencil-facet-placeholder.d.ts +10 -0
- package/dist/types/components/common/template-controller/base-template-controller.d.ts +2 -1
- package/dist/types/components/search/atomic-result/atomic-result.d.ts +1 -1
- package/dist/types/components/search/{result-lists/atomic-result-list → atomic-result-list}/atomic-result-list.d.ts +45 -33
- package/dist/types/components/search/atomic-result-section-visual/atomic-result-section-visual.d.ts +1 -1
- package/dist/types/components/search/atomic-result-template/atomic-result-template.d.ts +1 -0
- package/dist/types/components/search/index.d.ts +1 -0
- package/dist/types/components.d.ts +0 -70
- package/docs/atomic-docs.json +1 -359
- package/package.json +5 -5
- package/dist/atomic/components/atomic-result-list.d.ts +0 -11
- package/dist/atomic/components/atomic-result-list.js +0 -343
- package/dist/atomic/components/atomic-result-list.js.map +0 -1
- package/dist/atomic/components/facet-placeholder.js.map +0 -1
- package/dist/atomic/components/stencil-display-grid.js +0 -20
- package/dist/atomic/components/stencil-display-grid.js.map +0 -1
- package/dist/atomic/components/table-element-utils.js +0 -5
- package/dist/atomic/components/table-element-utils.js.map +0 -1
- package/dist/atomic/p-023c1f4f.js +0 -2
- package/dist/atomic/p-023c1f4f.js.map +0 -1
- package/dist/atomic/p-04e08959.entry.js.map +0 -1
- package/dist/atomic/p-0a9d79a3.entry.js +0 -2
- package/dist/atomic/p-0a9d79a3.entry.js.map +0 -1
- package/dist/atomic/p-1f4853b1.entry.js +0 -2
- package/dist/atomic/p-2324ab77.js +0 -2
- package/dist/atomic/p-2324ab77.js.map +0 -1
- package/dist/atomic/p-29bbd3d3.js.map +0 -1
- package/dist/atomic/p-2cd906b9.entry.js.map +0 -1
- package/dist/atomic/p-3e077971.js.map +0 -1
- package/dist/atomic/p-408ffc88.entry.js.map +0 -1
- package/dist/atomic/p-4239e0ec.entry.js.map +0 -1
- package/dist/atomic/p-564e93ba.entry.js +0 -2
- package/dist/atomic/p-6e47c9a8.entry.js +0 -2
- package/dist/atomic/p-7b11e602.entry.js +0 -2
- package/dist/atomic/p-7ccbf77d.entry.js +0 -2
- package/dist/atomic/p-7dfced62.entry.js.map +0 -1
- package/dist/atomic/p-8b38c143.js +0 -2
- package/dist/atomic/p-8b38c143.js.map +0 -1
- package/dist/atomic/p-906fd94d.entry.js.map +0 -1
- package/dist/atomic/p-99203e57.entry.js.map +0 -1
- package/dist/atomic/p-b528927d.entry.js.map +0 -1
- package/dist/atomic/p-b986c752.entry.js.map +0 -1
- package/dist/atomic/p-be0518ae.js +0 -2
- package/dist/atomic/p-be0518ae.js.map +0 -1
- package/dist/atomic/p-e351c8ed.entry.js +0 -2
- package/dist/cjs/atomic-result-list.cjs.entry.js +0 -303
- package/dist/cjs/atomic-result-list.cjs.entry.js.map +0 -1
- package/dist/cjs/facet-placeholder-e86f105c.js.map +0 -1
- package/dist/cjs/stencil-carousel-2beaa7d2.js.map +0 -1
- package/dist/cjs/stencil-display-grid-04536fdc.js +0 -22
- package/dist/cjs/stencil-display-grid-04536fdc.js.map +0 -1
- package/dist/cjs/stencil-result-template-common-268ba233.js.map +0 -1
- package/dist/cjs/table-element-utils-2cc6dc82.js +0 -7
- package/dist/cjs/table-element-utils-2cc6dc82.js.map +0 -1
- package/dist/cjs/timeframe-facet-common-16ba58fd.js.map +0 -1
- package/dist/esm/atomic-result-list.entry.js +0 -299
- package/dist/esm/atomic-result-list.entry.js.map +0 -1
- package/dist/esm/facet-placeholder-7e0836c1.js.map +0 -1
- package/dist/esm/stencil-carousel-be6f0bc1.js.map +0 -1
- package/dist/esm/stencil-display-grid-02c4f5d0.js +0 -20
- package/dist/esm/stencil-display-grid-02c4f5d0.js.map +0 -1
- package/dist/esm/stencil-result-template-common-cddca36d.js.map +0 -1
- package/dist/esm/table-element-utils-1dbc5ef6.js +0 -5
- package/dist/esm/table-element-utils-1dbc5ef6.js.map +0 -1
- package/dist/esm/timeframe-facet-common-906a271d.js.map +0 -1
- package/dist/types/components/common/tabs/stencil-tab-guard.d.ts +0 -11
- /package/dist/atomic/components/components/{context → common/context}/bindings-context.js +0 -0
- /package/dist/atomic/{p-f8bbecdd.entry.js.map → p-0d3407e9.entry.js.map} +0 -0
- /package/dist/atomic/{p-561a531c.entry.js.map → p-3302a10f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8deeef5f.entry.js.map → p-4b46b80f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8deb6142.entry.js.map → p-594e3243.entry.js.map} +0 -0
- /package/dist/atomic/{p-0d955dec.entry.js.map → p-9f3b431f.entry.js.map} +0 -0
- /package/dist/atomic/{p-7b718df8.entry.js.map → p-e0e50820.entry.js.map} +0 -0
- /package/dist/atomic/{p-3119dcb8.entry.js.map → p-f2893341.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-recs-list.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,y39EAAy39E,CAAC;AACp59E,6BAAe,iBAAiB;;;;;;;;;;;;MCgEnB,cAAc;;;QAGjB,gBAAW,GAAGA,cAAQ,CAAC,4BAA4B,CAAC,CAAC;QAS5C,gBAAW,GAAG,KAAK,CAAC;QAEpB,6BAAwB,GAAG,KAAK,CAAC;QACjC,qBAAgB,GAAG,KAAK,CAAC;QACzB,gBAAW,GAAG,CAAC,CAAC;;;;;QASH,mBAAc,GAAG,gBAAgB,CAAC;;;;;QAMlC,YAAO,GAA2B,MAAM,CAAC;;;;QAIzC,YAAO,GAAuB,QAAQ,CAAC;;;;QAK9D,cAAS,GAAyB,OAAO,CAAC;;;;;QAMnB,4BAAuB,GAAG,EAAE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;+DAEa;;;;;","names":["randomID","buildRecommendationList","ResultTemplateProvider","ItemListCommon","createAppLoadedListener","FocusTargetController","NumberValue","loadConfigurationActions","h","Heading","recommendation","buildRecsInteractiveResult","getItemListDisplayClasses","DisplayGrid","DisplayWrapper","ResultsPlaceholdersGuard","ItemDisplayGuard","Fragment","Carousel","InitializeBindings","BindStateToController"],"sources":["src/components/recommendations/atomic-recs-list/atomic-recs-list.pcss?tag=atomic-recs-list&encapsulation=shadow","src/components/recommendations/atomic-recs-list/atomic-recs-list.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n@import '../../common/item-list/styles/mixins.pcss';\n@import '../../common/item-list/styles/placeholders.pcss';\n\n:host {\n @apply atomic-grid-clickable-elements;\n @apply atomic-grid-display-common;\n display: block;\n\n /**\n * @prop --atomic-recs-number-of-columns: Number of columns for the recommendation list.\n */\n .list-root {\n @apply atomic-grid-with-cards;\n grid-template-columns: repeat(var(--atomic-recs-number-of-columns, 1), minmax(0, 1fr));\n }\n\n [part='label'] {\n @apply font-sans text-2xl font-bold;\n }\n\n atomic-result:not(.hydrated) {\n visibility: hidden;\n }\n}\n","import {NumberValue} from '@coveo/bueno';\nimport {\n buildRecommendationList,\n RecommendationList,\n RecommendationListState,\n loadConfigurationActions,\n buildInteractiveResult as buildRecsInteractiveResult,\n Result as RecsResult,\n} from '@coveo/headless/recommendation';\nimport {\n Component,\n State,\n Element,\n Prop,\n Method,\n h,\n Fragment,\n Watch,\n} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {FocusTargetController} from '../../../utils/stencil-accessibility-utils';\nimport {randomID} from '../../../utils/utils';\nimport {ResultsPlaceholdersGuard} from '../../common/atomic-result-placeholder/stencil-placeholders';\nimport {createAppLoadedListener} from '../../common/interface/store';\nimport {ItemDisplayGuard} from '../../common/item-list/stencil-item-display-guard';\nimport {ResultTemplateProvider} from '../../common/item-list/result-template-provider';\nimport {DisplayGrid} from '../../common/item-list/stencil-display-grid';\nimport {DisplayWrapper} from '../../common/item-list/stencil-display-wrapper';\nimport {\n ItemListCommon,\n ItemRenderingFunction,\n} from '../../common/item-list/stencil-item-list-common';\nimport {\n ItemDisplayDensity,\n ItemDisplayImageSize,\n ItemDisplayBasicLayout,\n getItemListDisplayClasses,\n} from '../../common/layout/display-options';\nimport {Carousel} from '../../common/stencil-carousel';\nimport {Heading} from '../../common/stencil-heading';\nimport {RecsBindings} from '../atomic-recs-interface/atomic-recs-interface';\n\n/**\n * The `atomic-recs-list` component displays recommendations by applying one or more result templates.\n *\n * @part result-list - The element containing the list of results.\n * @part result-list-grid-clickable-container - The parent of the result & the clickable link encompassing it.\n * @part result-list-grid-clickable - The clickable link encompassing the result.\n * @part label - The label of the result list.\n * @part previous-button - The previous button.\n * @part next-button - The next button.\n * @part indicators - The list of indicators.\n * @part indicator - A single indicator.\n * @part active-indicator - The active indicator.\n * @slot default - The default slot where to insert the template element.\n */\n@Component({\n tag: 'atomic-recs-list',\n styleUrl: 'atomic-recs-list.pcss',\n shadow: true,\n})\nexport class AtomicRecsList implements InitializableComponent<RecsBindings> {\n @InitializeBindings() public bindings!: RecsBindings;\n public recommendationList!: RecommendationList;\n private loadingFlag = randomID('firstRecommendationLoaded-');\n private itemRenderingFunction: ItemRenderingFunction;\n private itemTemplateProvider!: ResultTemplateProvider;\n private nextNewResultTarget?: FocusTargetController;\n private itemListCommon!: ItemListCommon;\n\n @Element() public host!: HTMLDivElement;\n\n @State() public error!: Error;\n @State() private isAppLoaded = false;\n\n @State() private resultTemplateRegistered = false;\n @State() private templateHasError = false;\n @State() private currentPage = 0;\n @BindStateToController('recommendationList')\n @State()\n public recommendationListState!: RecommendationListState;\n\n /**\n * The Recommendation identifier used by the Coveo platform to retrieve recommended documents.\n * Make sure to set a different value for each atomic-recs-list in your page.\n */\n @Prop({reflect: true}) public recommendation = 'Recommendation';\n\n /**\n * The layout to apply when displaying results themselves. This does not affect the display of the surrounding list itself.\n * To modify the number of recommendations per column, modify the --atomic-recs-number-of-columns CSS variable.\n */\n @Prop({reflect: true}) public display: ItemDisplayBasicLayout = 'list';\n /**\n * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.\n */\n @Prop({reflect: true}) public density: ItemDisplayDensity = 'normal';\n /**\n * The expected size of the image displayed in the results.\n */\n @Prop({reflect: true})\n public imageSize: ItemDisplayImageSize = 'small';\n\n /**\n * The total number of recommendations to display.\n * This does not modify the number of recommendations per column. To do so, modify the --atomic-recs-number-of-columns CSS variable.\n */\n @Prop({reflect: true}) public numberOfRecommendations = 10;\n\n /**\n * The number of recommendations to display, per page.\n * Setting a value greater than and lower than the numberOfRecommendations value activates the carousel.\n * This does not affect the display of the list itself, only the number of recommendation pages.\n */\n @Prop({reflect: true}) public numberOfRecommendationsPerPage?: number;\n\n /**\n * The non-localized label for the list of recommendations.\n */\n @Prop({reflect: true}) public label?: string;\n\n /**\n * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.\n */\n @Prop({reflect: true}) public headingLevel = 0;\n\n @Watch('numberOfRecommendationsPerPage')\n public async watchNumberOfRecommendationsPerPage() {\n this.currentPage = 0;\n }\n\n /**\n * Sets a rendering function to bypass the standard HTML template mechanism for rendering results.\n * You can use this function while working with web frameworks that don't use plain HTML syntax, e.g., React, Angular or Vue.\n *\n * Do not use this method if you integrate Atomic in a plain HTML deployment.\n *\n * @param resultRenderingFunction\n */\n @Method() public async setRenderFunction(\n resultRenderingFunction: ItemRenderingFunction\n ) {\n this.itemRenderingFunction = resultRenderingFunction;\n }\n\n /**\n * Moves to the previous page, when the carousel is activated.\n */\n @Method() public async previousPage() {\n this.currentPage =\n this.currentPage - 1 < 0 ? this.numberOfPages - 1 : this.currentPage - 1;\n }\n\n /**\n * Moves to the next page, when the carousel is activated.\n */\n @Method() public async nextPage() {\n this.currentPage = (this.currentPage + 1) % this.numberOfPages;\n }\n\n public initialize() {\n this.validateNumberOfRecommendationsPerPage();\n this.validateRecommendationIdentifier();\n this.updateOriginLevel2();\n this.recommendationList = buildRecommendationList(this.bindings.engine, {\n options: {\n id: this.recommendation,\n numberOfRecommendations: this.numberOfRecommendations,\n },\n });\n\n this.itemTemplateProvider = new ResultTemplateProvider({\n includeDefaultTemplate: true,\n templateElements: Array.from(\n this.host.querySelectorAll('atomic-recs-result-template')\n ),\n getResultTemplateRegistered: () => this.resultTemplateRegistered,\n getTemplateHasError: () => this.templateHasError,\n setResultTemplateRegistered: (value: boolean) => {\n this.resultTemplateRegistered = value;\n },\n setTemplateHasError: (value: boolean) => {\n this.templateHasError = value;\n },\n bindings: this.bindings,\n });\n\n this.itemListCommon = new ItemListCommon({\n engineSubscribe: this.bindings.engine.subscribe,\n getCurrentNumberOfItems: () =>\n this.recommendationListState.recommendations.length,\n getIsLoading: () => this.recommendationListState.isLoading,\n host: this.host,\n loadingFlag: this.loadingFlag,\n nextNewItemTarget: this.focusTarget,\n store: this.bindings.store,\n });\n\n createAppLoadedListener(this.bindings.store, (isAppLoaded) => {\n this.isAppLoaded = isAppLoaded;\n });\n }\n\n public get focusTarget() {\n if (!this.nextNewResultTarget) {\n this.nextNewResultTarget = new FocusTargetController(this);\n }\n return this.nextNewResultTarget;\n }\n\n private get recommendationListStateWithAugment() {\n return {\n ...this.recommendationListState,\n firstRequestExecuted:\n this.recommendationListState.searchResponseId !== '',\n hasError: this.recommendationListState.error !== null,\n hasItems: this.recommendationListState.recommendations.length !== 0,\n results: this.subsetRecommendations,\n };\n }\n\n private validateNumberOfRecommendationsPerPage() {\n const msg = new NumberValue({\n min: 1,\n max: this.numberOfRecommendations - 1,\n }).validate(this.numberOfRecommendationsPerPage!);\n\n if (msg) {\n this.error = new Error(\n `The \"numberOfRecommendationsPerPage\" is invalid: ${msg}`\n );\n }\n }\n\n private validateRecommendationIdentifier() {\n const recListWithRecommendation = document.querySelectorAll(\n `atomic-recs-list[recommendation=\"${this.recommendation}\"]`\n );\n\n if (recListWithRecommendation.length > 1) {\n this.bindings.engine.logger.warn(\n `There are multiple atomic-recs-list in this page with the same recommendation property \"${this.recommendation}\". Make sure to set a different recommendation property for each.`\n );\n }\n }\n\n private updateOriginLevel2() {\n if (this.label) {\n const action = loadConfigurationActions(\n this.bindings.engine\n ).setOriginLevel2({\n originLevel2: this.label,\n });\n\n this.bindings.engine.dispatch(action);\n }\n }\n\n private renderHeading() {\n if (!this.label) {\n return;\n }\n\n if (this.recommendationListStateWithAugment.hasError) {\n return;\n }\n\n if (\n this.recommendationListStateWithAugment.firstRequestExecuted &&\n !this.recommendationListStateWithAugment.hasItems\n ) {\n return;\n }\n\n return (\n <Heading level={this.headingLevel} part=\"label\" class=\"m-0 mb-2\">\n {this.bindings.i18n.t(this.label)}\n </Heading>\n );\n }\n\n private get currentIndex() {\n return Math.abs(\n (this.currentPage * this.numberOfRecommendationsPerPage!) %\n this.recommendationListState.recommendations.length\n );\n }\n\n private get subsetRecommendations() {\n if (!this.numberOfRecommendationsPerPage) {\n return this.recommendationListState.recommendations;\n }\n\n return this.recommendationListState.recommendations.slice(\n this.currentIndex,\n this.currentIndex + this.numberOfRecommendationsPerPage\n );\n }\n\n private get numberOfPages() {\n return Math.ceil(\n this.recommendationListState.recommendations.length /\n this.numberOfRecommendationsPerPage!\n );\n }\n\n private get hasPagination() {\n return this.numberOfPages > 1;\n }\n\n private get shouldRenderPagination() {\n return (\n this.hasPagination && this.recommendationListStateWithAugment.hasItems\n );\n }\n\n private getPropsForAtomicRecsResult(recommendation: RecsResult) {\n const linkContent =\n this.itemTemplateProvider.getLinkTemplateContent(recommendation);\n\n return {\n interactiveResult: buildRecsInteractiveResult(this.bindings.engine, {\n options: {result: recommendation},\n }),\n result: recommendation,\n renderingFunction: this.itemRenderingFunction,\n loadingFlag: this.loadingFlag,\n key: this.itemListCommon.getResultId(\n recommendation.uniqueId,\n this.recommendationListState.searchResponseId,\n this.density,\n this.imageSize\n ),\n content: this.itemTemplateProvider.getTemplateContent(recommendation),\n linkContent,\n stopPropagation: !!linkContent,\n store: this.bindings.store,\n density: this.density,\n display: this.display,\n imageSize: this.imageSize,\n };\n }\n\n private computeListDisplayClasses() {\n const displayPlaceholders = !this.isAppLoaded;\n\n return getItemListDisplayClasses(\n 'grid',\n this.density,\n this.imageSize,\n this.recommendationListState.isLoading,\n displayPlaceholders\n );\n }\n\n private renderAsGrid(recommendation: RecsResult, i: number) {\n const propsForAtomicRecsResult =\n this.getPropsForAtomicRecsResult(recommendation);\n return (\n <DisplayGrid\n selectorForItem=\"atomic-recs-result\"\n item={recommendation}\n {...propsForAtomicRecsResult.interactiveResult}\n setRef={(element) =>\n element && this.itemListCommon.setNewResultRef(element, i)\n }\n >\n <atomic-recs-result {...propsForAtomicRecsResult}></atomic-recs-result>\n </DisplayGrid>\n );\n }\n\n private renderListOfRecommendations() {\n this.itemListCommon.updateBreakpoints();\n const listClasses = this.computeListDisplayClasses();\n\n if (\n !this.resultTemplateRegistered ||\n this.itemTemplateProvider.hasError ||\n this.error\n ) {\n return;\n }\n\n return (\n <DisplayWrapper listClasses={listClasses} display=\"grid\">\n <ResultsPlaceholdersGuard\n density={this.density}\n display={this.display}\n imageSize={this.imageSize}\n displayPlaceholders={!this.isAppLoaded}\n numberOfPlaceholders={\n this.numberOfRecommendationsPerPage ?? this.numberOfRecommendations\n }\n ></ResultsPlaceholdersGuard>\n <ItemDisplayGuard {...this.recommendationListStateWithAugment}>\n {this.subsetRecommendations.map((recommendation, i) => {\n return this.renderAsGrid(recommendation, i);\n })}\n </ItemDisplayGuard>\n </DisplayWrapper>\n );\n }\n\n public render() {\n return (\n <Fragment>\n {this.renderHeading()}\n {this.shouldRenderPagination ? (\n <Carousel\n bindings={this.bindings}\n currentPage={this.currentPage}\n nextPage={() => this.nextPage()}\n previousPage={() => this.previousPage()}\n numberOfPages={this.numberOfPages}\n >\n {this.renderListOfRecommendations()}\n </Carousel>\n ) : (\n this.renderListOfRecommendations()\n )}\n </Fragment>\n );\n }\n}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,CAAC;SAC7C,CAAC,CACe,CACJ,EACjB;KACH;IAEM,MAAM;QACX,QACER,QAACS,cAAQ,uDACN,IAAI,CAAC,aAAa,EAAE,EACpB,IAAI,CAAC,sBAAsB,IAC1BT,QAACU,wBAAQ,IACP,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,EAC/B,YAAY,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,IAEhC,IAAI,CAAC,2BAA2B,EAAE,CAC1B,KAEX,IAAI,CAAC,2BAA2B,EAAE,CACnC,CACQ,EACX;KACH;;;;;;AAzW4B;IAA5BC,sCAAkB,EAAE;gDAAgC;AAkB9C;IAFNC,yCAAqB,CAAC,oBAAoB,CAAC;+DAEa;;;;;","names":["randomID","buildRecommendationList","ResultTemplateProvider","ItemListCommon","createAppLoadedListener","FocusTargetController","NumberValue","loadConfigurationActions","h","Heading","recommendation","buildRecsInteractiveResult","getItemListDisplayClasses","DisplayGrid","DisplayWrapper","ResultsPlaceholdersGuard","ItemDisplayGuard","Fragment","Carousel","InitializeBindings","BindStateToController"],"sources":["src/components/recommendations/atomic-recs-list/atomic-recs-list.pcss?tag=atomic-recs-list&encapsulation=shadow","src/components/recommendations/atomic-recs-list/atomic-recs-list.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n@import '../../common/item-list/styles/mixins.pcss';\n@import '../../common/item-list/styles/placeholders.pcss';\n\n:host {\n @apply atomic-grid-clickable-elements;\n @apply atomic-grid-display-common;\n display: block;\n\n /**\n * @prop --atomic-recs-number-of-columns: Number of columns for the recommendation list.\n */\n .list-root {\n @apply atomic-grid-with-cards;\n grid-template-columns: repeat(var(--atomic-recs-number-of-columns, 1), minmax(0, 1fr));\n }\n\n [part='label'] {\n @apply font-sans text-2xl font-bold;\n }\n\n atomic-result:not(.hydrated) {\n visibility: hidden;\n }\n}\n","import {NumberValue} from '@coveo/bueno';\nimport {\n buildRecommendationList,\n RecommendationList,\n RecommendationListState,\n loadConfigurationActions,\n buildInteractiveResult as buildRecsInteractiveResult,\n Result as RecsResult,\n} from '@coveo/headless/recommendation';\nimport {\n Component,\n State,\n Element,\n Prop,\n Method,\n h,\n Fragment,\n Watch,\n} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {FocusTargetController} from '../../../utils/stencil-accessibility-utils';\nimport {randomID} from '../../../utils/utils';\nimport {ResultsPlaceholdersGuard} from '../../common/atomic-result-placeholder/stencil-placeholders';\nimport {createAppLoadedListener} from '../../common/interface/store';\nimport {ItemDisplayGuard} from '../../common/item-list/stencil-item-display-guard';\nimport {ResultTemplateProvider} from '../../common/item-list/result-template-provider';\nimport {DisplayGrid} from '../../common/item-list/stencil-display-grid';\nimport {DisplayWrapper} from '../../common/item-list/stencil-display-wrapper';\nimport {\n ItemListCommon,\n ItemRenderingFunction,\n} from '../../common/item-list/stencil-item-list-common';\nimport {\n ItemDisplayDensity,\n ItemDisplayImageSize,\n ItemDisplayBasicLayout,\n getItemListDisplayClasses,\n} from '../../common/layout/display-options';\nimport {Carousel} from '../../common/stencil-carousel';\nimport {Heading} from '../../common/stencil-heading';\nimport {RecsBindings} from '../atomic-recs-interface/atomic-recs-interface';\n\n/**\n * The `atomic-recs-list` component displays recommendations by applying one or more result templates.\n *\n * @part result-list - The element containing the list of results.\n * @part result-list-grid-clickable-container - The parent of the result & the clickable link encompassing it.\n * @part result-list-grid-clickable - The clickable link encompassing the result.\n * @part label - The label of the result list.\n * @part previous-button - The previous button.\n * @part next-button - The next button.\n * @part indicators - The list of indicators.\n * @part indicator - A single indicator.\n * @part active-indicator - The active indicator.\n * @slot default - The default slot where to insert the template element.\n */\n@Component({\n tag: 'atomic-recs-list',\n styleUrl: 'atomic-recs-list.pcss',\n shadow: true,\n})\nexport class AtomicRecsList implements InitializableComponent<RecsBindings> {\n @InitializeBindings() public bindings!: RecsBindings;\n public recommendationList!: RecommendationList;\n private loadingFlag = randomID('firstRecommendationLoaded-');\n private itemRenderingFunction: ItemRenderingFunction;\n private itemTemplateProvider!: ResultTemplateProvider;\n private nextNewResultTarget?: FocusTargetController;\n private itemListCommon!: ItemListCommon;\n\n @Element() public host!: HTMLDivElement;\n\n @State() public error!: Error;\n @State() private isAppLoaded = false;\n\n @State() private resultTemplateRegistered = false;\n @State() private templateHasError = false;\n @State() private currentPage = 0;\n @BindStateToController('recommendationList')\n @State()\n public recommendationListState!: RecommendationListState;\n\n /**\n * The Recommendation identifier used by the Coveo platform to retrieve recommended documents.\n * Make sure to set a different value for each atomic-recs-list in your page.\n */\n @Prop({reflect: true}) public recommendation = 'Recommendation';\n\n /**\n * The layout to apply when displaying results themselves. This does not affect the display of the surrounding list itself.\n * To modify the number of recommendations per column, modify the --atomic-recs-number-of-columns CSS variable.\n */\n @Prop({reflect: true}) public display: ItemDisplayBasicLayout = 'list';\n /**\n * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.\n */\n @Prop({reflect: true}) public density: ItemDisplayDensity = 'normal';\n /**\n * The expected size of the image displayed in the results.\n */\n @Prop({reflect: true})\n public imageSize: ItemDisplayImageSize = 'small';\n\n /**\n * The total number of recommendations to display.\n * This does not modify the number of recommendations per column. To do so, modify the --atomic-recs-number-of-columns CSS variable.\n */\n @Prop({reflect: true}) public numberOfRecommendations = 10;\n\n /**\n * The number of recommendations to display, per page.\n * Setting a value greater than and lower than the numberOfRecommendations value activates the carousel.\n * This does not affect the display of the list itself, only the number of recommendation pages.\n */\n @Prop({reflect: true}) public numberOfRecommendationsPerPage?: number;\n\n /**\n * The non-localized label for the list of recommendations.\n */\n @Prop({reflect: true}) public label?: string;\n\n /**\n * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.\n */\n @Prop({reflect: true}) public headingLevel = 0;\n\n @Watch('numberOfRecommendationsPerPage')\n public async watchNumberOfRecommendationsPerPage() {\n this.currentPage = 0;\n }\n\n /**\n * Sets a rendering function to bypass the standard HTML template mechanism for rendering results.\n * You can use this function while working with web frameworks that don't use plain HTML syntax, e.g., React, Angular or Vue.\n *\n * Do not use this method if you integrate Atomic in a plain HTML deployment.\n *\n * @param resultRenderingFunction\n */\n @Method() public async setRenderFunction(\n resultRenderingFunction: ItemRenderingFunction\n ) {\n this.itemRenderingFunction = resultRenderingFunction;\n }\n\n /**\n * Moves to the previous page, when the carousel is activated.\n */\n @Method() public async previousPage() {\n this.currentPage =\n this.currentPage - 1 < 0 ? this.numberOfPages - 1 : this.currentPage - 1;\n }\n\n /**\n * Moves to the next page, when the carousel is activated.\n */\n @Method() public async nextPage() {\n this.currentPage = (this.currentPage + 1) % this.numberOfPages;\n }\n\n public initialize() {\n this.validateNumberOfRecommendationsPerPage();\n this.validateRecommendationIdentifier();\n this.updateOriginLevel2();\n this.recommendationList = buildRecommendationList(this.bindings.engine, {\n options: {\n id: this.recommendation,\n numberOfRecommendations: this.numberOfRecommendations,\n },\n });\n\n this.itemTemplateProvider = new ResultTemplateProvider({\n includeDefaultTemplate: true,\n templateElements: Array.from(\n this.host.querySelectorAll('atomic-recs-result-template')\n ),\n getResultTemplateRegistered: () => this.resultTemplateRegistered,\n getTemplateHasError: () => this.templateHasError,\n setResultTemplateRegistered: (value: boolean) => {\n this.resultTemplateRegistered = value;\n },\n setTemplateHasError: (value: boolean) => {\n this.templateHasError = value;\n },\n bindings: this.bindings,\n });\n\n this.itemListCommon = new ItemListCommon({\n engineSubscribe: this.bindings.engine.subscribe,\n getCurrentNumberOfItems: () =>\n this.recommendationListState.recommendations.length,\n getIsLoading: () => this.recommendationListState.isLoading,\n host: this.host,\n loadingFlag: this.loadingFlag,\n nextNewItemTarget: this.focusTarget,\n store: this.bindings.store,\n });\n\n createAppLoadedListener(this.bindings.store, (isAppLoaded) => {\n this.isAppLoaded = isAppLoaded;\n });\n }\n\n public get focusTarget() {\n if (!this.nextNewResultTarget) {\n this.nextNewResultTarget = new FocusTargetController(this);\n }\n return this.nextNewResultTarget;\n }\n\n private get recommendationListStateWithAugment() {\n return {\n ...this.recommendationListState,\n firstRequestExecuted:\n this.recommendationListState.searchResponseId !== '',\n hasError: this.recommendationListState.error !== null,\n hasItems: this.recommendationListState.recommendations.length !== 0,\n results: this.subsetRecommendations,\n };\n }\n\n private validateNumberOfRecommendationsPerPage() {\n const msg = new NumberValue({\n min: 1,\n max: this.numberOfRecommendations - 1,\n }).validate(this.numberOfRecommendationsPerPage!);\n\n if (msg) {\n this.error = new Error(\n `The \"numberOfRecommendationsPerPage\" is invalid: ${msg}`\n );\n }\n }\n\n private validateRecommendationIdentifier() {\n const recListWithRecommendation = document.querySelectorAll(\n `atomic-recs-list[recommendation=\"${this.recommendation}\"]`\n );\n\n if (recListWithRecommendation.length > 1) {\n this.bindings.engine.logger.warn(\n `There are multiple atomic-recs-list in this page with the same recommendation property \"${this.recommendation}\". Make sure to set a different recommendation property for each.`\n );\n }\n }\n\n private updateOriginLevel2() {\n if (this.label) {\n const action = loadConfigurationActions(\n this.bindings.engine\n ).setOriginLevel2({\n originLevel2: this.label,\n });\n\n this.bindings.engine.dispatch(action);\n }\n }\n\n private renderHeading() {\n if (!this.label) {\n return;\n }\n\n if (this.recommendationListStateWithAugment.hasError) {\n return;\n }\n\n if (\n this.recommendationListStateWithAugment.firstRequestExecuted &&\n !this.recommendationListStateWithAugment.hasItems\n ) {\n return;\n }\n\n return (\n <Heading level={this.headingLevel} part=\"label\" class=\"m-0 mb-2\">\n {this.bindings.i18n.t(this.label)}\n </Heading>\n );\n }\n\n private get currentIndex() {\n return Math.abs(\n (this.currentPage * this.numberOfRecommendationsPerPage!) %\n this.recommendationListState.recommendations.length\n );\n }\n\n private get subsetRecommendations() {\n if (!this.numberOfRecommendationsPerPage) {\n return this.recommendationListState.recommendations;\n }\n\n return this.recommendationListState.recommendations.slice(\n this.currentIndex,\n this.currentIndex + this.numberOfRecommendationsPerPage\n );\n }\n\n private get numberOfPages() {\n return Math.ceil(\n this.recommendationListState.recommendations.length /\n this.numberOfRecommendationsPerPage!\n );\n }\n\n private get hasPagination() {\n return this.numberOfPages > 1;\n }\n\n private get shouldRenderPagination() {\n return (\n this.hasPagination && this.recommendationListStateWithAugment.hasItems\n );\n }\n\n private getPropsForAtomicRecsResult(recommendation: RecsResult) {\n const linkContent =\n this.itemTemplateProvider.getLinkTemplateContent(recommendation);\n\n return {\n interactiveResult: buildRecsInteractiveResult(this.bindings.engine, {\n options: {result: recommendation},\n }),\n result: recommendation,\n renderingFunction: this.itemRenderingFunction,\n loadingFlag: this.loadingFlag,\n key: this.itemListCommon.getResultId(\n recommendation.uniqueId,\n this.recommendationListState.searchResponseId,\n this.density,\n this.imageSize\n ),\n content: this.itemTemplateProvider.getTemplateContent(recommendation),\n linkContent,\n stopPropagation: !!linkContent,\n store: this.bindings.store,\n density: this.density,\n display: this.display,\n imageSize: this.imageSize,\n };\n }\n\n private computeListDisplayClasses() {\n const displayPlaceholders = !this.isAppLoaded;\n\n return getItemListDisplayClasses(\n 'grid',\n this.density,\n this.imageSize,\n this.recommendationListState.isLoading,\n displayPlaceholders\n );\n }\n\n private renderAsGrid(recommendation: RecsResult, i: number) {\n const propsForAtomicRecsResult =\n this.getPropsForAtomicRecsResult(recommendation);\n return (\n <DisplayGrid\n selectorForItem=\"atomic-recs-result\"\n item={recommendation}\n {...propsForAtomicRecsResult.interactiveResult}\n setRef={(element) =>\n element && this.itemListCommon.setNewResultRef(element, i)\n }\n >\n <atomic-recs-result {...propsForAtomicRecsResult}></atomic-recs-result>\n </DisplayGrid>\n );\n }\n\n private renderListOfRecommendations() {\n this.itemListCommon.updateBreakpoints();\n const listClasses = this.computeListDisplayClasses();\n\n if (\n !this.resultTemplateRegistered ||\n this.itemTemplateProvider.hasError ||\n this.error\n ) {\n return;\n }\n\n return (\n <DisplayWrapper listClasses={listClasses} display=\"grid\">\n <ResultsPlaceholdersGuard\n density={this.density}\n display={this.display}\n imageSize={this.imageSize}\n displayPlaceholders={!this.isAppLoaded}\n numberOfPlaceholders={\n this.numberOfRecommendationsPerPage ?? this.numberOfRecommendations\n }\n ></ResultsPlaceholdersGuard>\n <ItemDisplayGuard {...this.recommendationListStateWithAugment}>\n {this.subsetRecommendations.map((recommendation, i) => {\n return this.renderAsGrid(recommendation, i);\n })}\n </ItemDisplayGuard>\n </DisplayWrapper>\n );\n }\n\n public render() {\n return (\n <Fragment>\n {this.renderHeading()}\n {this.shouldRenderPagination ? (\n <Carousel\n bindings={this.bindings}\n currentPage={this.currentPage}\n nextPage={() => this.nextPage()}\n previousPage={() => this.previousPage()}\n numberOfPages={this.numberOfPages}\n >\n {this.renderListOfRecommendations()}\n </Carousel>\n ) : (\n this.renderListOfRecommendations()\n )}\n </Fragment>\n );\n }\n}\n"],"version":3}
|
|
@@ -4,13 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-1df73594.js');
|
|
6
6
|
const propsUtils = require('./props-utils-83b80e92.js');
|
|
7
|
-
const stencilResultTemplateCommon = require('./stencil-result-template-common-
|
|
7
|
+
const stencilResultTemplateCommon = require('./stencil-result-template-common-46913299.js');
|
|
8
8
|
require('@coveo/bueno');
|
|
9
9
|
require('./utils-18c09278.js');
|
|
10
10
|
require('./purify-8bdefd18.js');
|
|
11
11
|
require('./_commonjsHelpers-b3309d7b.js');
|
|
12
12
|
require('@coveo/headless');
|
|
13
|
-
require('./table-element-utils-2cc6dc82.js');
|
|
14
13
|
require('./item-layout-sections-7442285b.js');
|
|
15
14
|
|
|
16
15
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-recs-result-template.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"atomic-recs-result-template.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;MAyBa,wBAAwB;IAmDnC;;QA7CO,oBAAe,GAAkC,EAAE,CAAC;;;;;;;;QAS5C,eAAU,GAAkC,EAAE,CAAC;;;;;;QAqBjB,cAAS,GAGlD,EAAE,CAAC;;;;;;QAOsC,iBAAY,GAGrD,EAAE,CAAC;;0BAlCoD,EAAE;;;yBAwBzD,EAAE;4BAUF,EAAE;KAEU;IAEhB,iBAAiB;QACf,IAAI,CAAC,oBAAoB,GAAG,IAAIA,gDAAoB,CAAC;YACnD,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,CAAC,GAAG;gBACZ,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;aAClB;YACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;YAC1D,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;KACJ;IAEM,iBAAiB;QACtB,IAAI,CAAC,UAAU,GAAGC,iDAAqB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,CAAC,eAAe,GAAGC,+CAAmB,CAC7D,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,YAAY,CAClB,CAAC;KACH;;;;IAMM,MAAM,WAAW;QACtB,OAAO,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;KAC3E;IAEM,MAAM;QACX,OAAO,IAAI,CAAC,oBAAoB,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5D;;;AA9C4C;IAApCC,kBAAO,CAAC,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;2DAG9B;AAOsC;IAApCA,kBAAO,CAAC,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;8DAG9B;;;;","names":["ResultTemplateCommon","makeDefinedConditions","makeMatchConditions","MapProp"],"sources":["src/components/recommendations/atomic-recs-result-template/atomic-recs-result-template.tsx"],"sourcesContent":["import {\n ResultTemplateCondition as RecsResultTemplateCondition,\n ResultTemplate as RecsResultTemplate,\n} from '@coveo/headless/recommendation';\nimport {Component, Element, Prop, Method, State} from '@stencil/core';\nimport {MapProp} from '../../../utils/props-utils';\nimport {\n makeDefinedConditions,\n makeMatchConditions,\n ResultTemplateCommon,\n} from '../../common/result-templates/stencil-result-template-common';\n\n/**\n * A [result template](https://docs.coveo.com/en/atomic/latest/usage/displaying-results#defining-a-result-template) determines the format of the query results, depending on the conditions that are defined for each template.\n *\n * A `template` element must be the child of an `atomic-recs-result-template`, and an `atomic-recs-list` must be the parent of each `atomic-recs-result-template`.\n *\n * **Note:** Any `<script>` tags that are defined inside a `<template>` element will not be executed when the results are being rendered.\n * @MapProp name: mustMatch;attr: must-match;docs: The field and values that define which result items the condition must be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype=\"lithiummessage,YouTubePlaylist\"`;type: Record<string, string[]> ;default: {}\n * @MapProp name: mustNotMatch;attr: must-not-match;docs: The field and values that define which result items the condition must not be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is not `lithiummessage`: `must-not-match-filetype=\"lithiummessage\";type: Record<string, string[]> ;default: {}\n */\n@Component({\n tag: 'atomic-recs-result-template',\n shadow: true,\n})\nexport class AtomicRecsResultTemplate {\n private resultTemplateCommon!: ResultTemplateCommon;\n\n @State() public error!: Error;\n\n @Element() public host!: HTMLDivElement;\n public matchConditions: RecsResultTemplateCondition[] = [];\n\n /**\n * A function that must return true on results for the result template to apply.\n * Set programmatically before initialization, not via attribute.\n *\n * For example, the following targets a template and sets a condition to make it apply only to results whose `title` contains `singapore`:\n * `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`\n */\n @Prop() public conditions: RecsResultTemplateCondition[] = [];\n\n /**\n * The field that, when defined on a result item, would allow the template to be applied.\n *\n * For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are defined: `if-defined=\"filetype,sourcetype\"`\n */\n @Prop({reflect: true}) ifDefined?: string;\n\n /**\n * The field that, when defined on a result item, would prevent the template from being applied.\n *\n * For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are NOT defined: `if-not-defined=\"filetype,sourcetype\"`\n */\n @Prop({reflect: true}) ifNotDefined?: string;\n\n /**\n * The field and values that define which result items the condition must be applied to.\n *\n * For example, a template with the following attribute only applies to result items whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype=\"lithiummessage,YouTubePlaylist\"`\n */\n @Prop() @MapProp({splitValues: true}) public mustMatch: Record<\n string,\n string[]\n > = {};\n\n /**\n * The field and values that define which result items the condition must not be applied to.\n *\n * For example, a template with the following attribute only applies to result items whose `filetype` is not `lithiummessage`: `must-not-match-filetype=\"lithiummessage\"`\n */\n @Prop() @MapProp({splitValues: true}) public mustNotMatch: Record<\n string,\n string[]\n > = {};\n\n constructor() {}\n\n connectedCallback() {\n this.resultTemplateCommon = new ResultTemplateCommon({\n host: this.host,\n setError: (err) => {\n this.error = err;\n },\n validParents: ['atomic-recs-list', 'atomic-ipx-recs-list'],\n allowEmpty: true,\n });\n }\n\n public componentWillLoad() {\n this.conditions = makeDefinedConditions(this.ifDefined, this.ifNotDefined);\n this.resultTemplateCommon.matchConditions = makeMatchConditions(\n this.mustMatch,\n this.mustNotMatch\n );\n }\n\n /**\n * Gets the appropriate result template based on the conditions applied.\n */\n @Method()\n public async getTemplate(): Promise<RecsResultTemplate<DocumentFragment> | null> {\n return this.resultTemplateCommon.getTemplate(this.conditions, this.error);\n }\n\n public render() {\n return this.resultTemplateCommon.renderIfError(this.error);\n }\n}\n"],"version":3}
|
|
@@ -104,7 +104,7 @@ const AtomicResultFieldsList = class {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return index.h(index.Host, { key: '
|
|
107
|
+
return index.h(index.Host, { key: 'd046d0b212d0777d816b93a8c7467f46476a4c0b' });
|
|
108
108
|
}
|
|
109
109
|
get host() { return index.getElement(this); }
|
|
110
110
|
};
|
|
@@ -49,7 +49,7 @@ const AtomicResultLink = class {
|
|
|
49
49
|
const href = bueno.isUndefined(this.hrefTemplate)
|
|
50
50
|
? this.result.clickUri
|
|
51
51
|
: resultUtils.buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
|
|
52
|
-
return (index.h(stencilItemLink.LinkWithItemAnalytics, { key: '
|
|
52
|
+
return (index.h(stencilItemLink.LinkWithItemAnalytics, { key: '818a62306dee3ce6ae26658a8f037d25d3212b05', href: href, onSelect: () => this.interactiveResult.select(), 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" }))));
|
|
53
53
|
}
|
|
54
54
|
get host() { return index.getElement(this); }
|
|
55
55
|
};
|
|
@@ -51,9 +51,9 @@ const AtomicSmartSnippetFeedbackModal = class {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
replaceBreakpointUtils.updateBreakpoints(this.host);
|
|
54
|
-
return (index.h("atomic-modal", { key: '
|
|
54
|
+
return (index.h("atomic-modal", { key: '974214b561a95c4a76a61c70324d68d70eff9ca0', 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: '3829ff4ab492928f46e103caeb7c9cb96a3a019c', i18n: this.bindings.i18n }), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalBody, { key: '4ae99ce432b8babd24f37ca7e53eb0f0356471e5', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeebackModalOptions, { key: 'd2c085f540145e0a0dae5e8abf70259141abe7ad', 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: () => {
|
|
55
55
|
this.currentAnswer = correspondingAnswer;
|
|
56
|
-
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '
|
|
56
|
+
} })))), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalDetails, { key: '2e31e660a0c611ecfdaa2469a0d25f32e802c8cd', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), index.h(smartSnippetFeedbackModalCommon.SmartSnippetFeedbackModalFooter, { key: 'a24b029fdf56ce231663e72a01d7831134ff89e1', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
57
57
|
}
|
|
58
58
|
close() {
|
|
59
59
|
this.isOpen = false;
|
|
@@ -61,7 +61,7 @@ const AtomicTabManager = class {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '337117930b44f774032c331c7cbd65de841f91e2' }, index.h("atomic-tab-bar", { key: '182785b6396fe1e77817564d7ca6b424a15a4ba6' }, index.h("div", { key: '2dbc0478f3321731837c0f27305ca5d5753e3617', role: "list", "aria-label": "tab-area", part: "tab-area", class: "border-neutral mb-2 flex w-full flex-row border-b" }, this.tabs.map((tab) => (index.h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
|
|
65
65
|
defaultValue: tab.label,
|
|
66
66
|
}), select: () => {
|
|
67
67
|
if (!tab.tabController.state.isActive) {
|
|
@@ -8,8 +8,8 @@ const initializationUtils = require('./initialization-utils-9b24f99b.js');
|
|
|
8
8
|
const propsUtils = require('./props-utils-83b80e92.js');
|
|
9
9
|
const stencilAccessibilityUtils = require('./stencil-accessibility-utils-01e53a37.js');
|
|
10
10
|
const dependsOn = require('./depends-on-f0cf3617.js');
|
|
11
|
-
const
|
|
12
|
-
const timeframeFacetCommon = require('./timeframe-facet-common-
|
|
11
|
+
const stencilFacetPlaceholder = require('./stencil-facet-placeholder-d3c0a675.js');
|
|
12
|
+
const timeframeFacetCommon = require('./timeframe-facet-common-4fa4cc95.js');
|
|
13
13
|
require('./dom-utils-d4790328.js');
|
|
14
14
|
require('./event-utils-9bfcf3c5.js');
|
|
15
15
|
require('./init-queue-dbb065ac.js');
|
|
@@ -245,7 +245,7 @@ const AtomicTimeframeFacet = class {
|
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this.timeframeFacetCommon) {
|
|
248
|
-
return (index.h(
|
|
248
|
+
return (index.h(stencilFacetPlaceholder.FacetPlaceholder, { numberOfValues: 5, isCollapsed: this.isCollapsed }));
|
|
249
249
|
}
|
|
250
250
|
return this.timeframeFacetCommon.render({
|
|
251
251
|
hasError: this.searchStatusState.hasError,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-timeframe-facet.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,iglEAAiglE,CAAC;AAClilE,mCAAe,uBAAuB;;;;;;;;;;;;MCgEzB,oBAAoB;;;;;;;QAoCD,UAAK,GAAG,UAAU,CAAC;;;;QAInB,UAAK,GAAG,MAAM,CAAC;;;;;;;;;;QAYtC,iBAAY,GAAsB,IAAI,CAAC;;;;;;;;;;QAavC,iBAAY,GAAsB,IAAI,CAAC;;;;QAKhB,mBAAc,GAAG,KAAK,CAAC;;;;QAIR,gBAAW,GAAG,KAAK,CAAC;;;;QAInC,iBAAY,GAAG,CAAC,CAAC;;;;;;;QAOjB,qB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,CAAC,CAC3C,CAAC;KACL;IAEM,MAAM;QACX,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC9B,QACEC,QAACC,iCAAgB,IACf,cAAc,EAAE,CAAC,EACjB,WAAW,EAAE,IAAI,CAAC,WAAW,GACX,EACpB;SACH;QACD,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC;YACtC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,QAAQ;YACzC,mBAAmB,EAAE,IAAI,CAAC,iBAAiB,CAAC,mBAAmB;YAC/D,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,gBAAgB,EAAE,OAAO,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;SAC/D,CAAC,CAAC;KACJ;;;AAnR4B;IAA5BC,sCAAkB,EAAE;sDAA4B;AAY1C;IAFNC,yCAAqB,CAAC,mBAAmB,CAAC;wDAER;AAG5B;IAFNA,yCAAqB,CAAC,oBAAoB,CAAC;qEAEI;AAGzC;IAFNA,yCAAqB,CAAC,QAAQ,CAAC;yDAEK;AAG9B;IAFNA,yCAAqB,CAAC,cAAc,CAAC;+DAEO;AAGtC;IAFNA,yCAAqB,CAAC,YAAY,CAAC;6DAEK;AA2BlC;IAFNC,oBAAS,EAAE;0DAEkC;AAavC;IAFNA,oBAAS,EAAE;0DAEkC;AAgDpB;IAAzBC,kBAAO,EAAE;uDAAuD;;;;;","names":["FocusTargetController","TimeframeFacetCommon","parseDependsOn","buildFacetConditionsManager","buildDateRange","deserializeRelativeDate","buildSearchStatus","buildTabManager","buildDateFacet","buildDateFilter","loadDateFacetSetActions","h","FacetPlaceholder","InitializeBindings","BindStateToController","ArrayProp","MapProp"],"sources":["src/components/search/facets/atomic-timeframe-facet/atomic-timeframe-facet.pcss?tag=atomic-timeframe-facet&encapsulation=shadow","src/components/search/facets/atomic-timeframe-facet/atomic-timeframe-facet.tsx"],"sourcesContent":["@import '../../../common/facets/facet-common.pcss';\n","import {\n buildDateFacet,\n buildDateFilter,\n buildDateRange,\n buildFacetConditionsManager,\n buildSearchStatus,\n DateFacet,\n DateFacetState,\n DateFilter,\n DateFilterState,\n DateRangeRequest,\n deserializeRelativeDate,\n RangeFacetSortCriterion,\n loadDateFacetSetActions,\n SearchStatus,\n SearchStatusState,\n FacetValueRequest,\n CategoryFacetValueRequest,\n buildTabManager,\n TabManager,\n TabManagerState,\n} from '@coveo/headless';\nimport {Component, Element, h, Listen, Prop, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {ArrayProp, MapProp} from '../../../../utils/props-utils';\nimport {FocusTargetController} from '../../../../utils/stencil-accessibility-utils';\nimport {parseDependsOn} from '../../../common/facets/depends-on';\nimport {FacetPlaceholder} from '../../../common/facets/facet-placeholder/facet-placeholder';\nimport {TimeframeFacetCommon} from '../../../common/facets/timeframe-facet-common';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\n\n/**\n * A facet is a list of values for a certain field occurring in the results.\n * An `atomic-timeframe-facet` displays a facet of the results for the current query as date intervals.\n *\n * @slot default - The `atomic-timeframe` components defining the timeframes to display.\n *\n * @part facet - The wrapper for the entire facet.\n * @part placeholder - The placeholder shown before the first search is executed.\n *\n * @part label-button - The button that displays the label and allows to expand/collapse the facet.\n * @part label-button-icon - The label button icon.\n * @part clear-button - The button that resets the actively selected facet values.\n * @part clear-button-icon - The clear button icon.\n *\n * @part values - The facet values container.\n * @part value-label - The facet value label, common for all displays.\n * @part value-count - The facet value count, common for all displays.\n * @part value-link - The facet value when display is 'link'.\n * @part value-link-selected - The selected facet value when display is 'link'.\n *\n * @part input-start - The input for the starting value of the custom date range.\n * @part input-end - The input for the ending value of the custom date range.\n * @part input-label - The label for both the start and end input.\n * @part input-apply-button - The apply button for the custom range.\n */\n@Component({\n tag: 'atomic-timeframe-facet',\n styleUrl: './atomic-timeframe-facet.pcss',\n shadow: true,\n})\nexport class AtomicTimeframeFacet implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public facetForDateRange?: DateFacet;\n public facetForDatePicker?: DateFacet;\n\n private timeframeFacetCommon?: TimeframeFacetCommon;\n public filter?: DateFilter;\n public searchStatus!: SearchStatus;\n public tabManager!: TabManager;\n @Element() private host!: HTMLElement;\n\n @BindStateToController('facetForDateRange')\n @State()\n public facetState!: DateFacetState;\n @BindStateToController('facetForDatePicker')\n @State()\n public facetForDatePickerState?: DateFacetState;\n @BindStateToController('filter')\n @State()\n public filterState?: DateFilterState;\n @BindStateToController('searchStatus')\n @State()\n public searchStatusState!: SearchStatusState;\n @BindStateToController('tabManager')\n @State()\n public tabManagerState!: TabManagerState;\n @State() public error!: Error;\n\n /**\n * Specifies a unique identifier for the facet.\n */\n @Prop({mutable: true, reflect: true}) public facetId?: string;\n /**\n * The non-localized label for the facet.\n * Used in the atomic-breadbox component through the bindings store.\n */\n @Prop({reflect: true}) public label = 'no-label';\n /**\n * The field whose values you want to display in the facet.\n */\n @Prop({reflect: true}) public field = 'date';\n /**\n * The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-timeframe-facet tabs-included='[\"tabIDA\", \"tabIDB\"]'></atomic-timeframe-facet>\n * ```\n * If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsIncluded: string[] | string = '[]';\n\n /**\n * The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-timeframe-facet tabs-excluded='[\"tabIDA\", \"tabIDB\"]'></atomic-timeframe-facet>\n * ```\n * If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsExcluded: string[] | string = '[]';\n\n /**\n * Whether this facet should contain an datepicker allowing users to set custom ranges.\n */\n @Prop({reflect: true}) public withDatePicker = false;\n /**\n * Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.\n */\n @Prop({reflect: true, mutable: true}) public isCollapsed = false;\n /**\n * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.\n */\n @Prop({reflect: true}) public headingLevel = 0;\n /**\n * Whether to exclude the parents of folded results when estimating the result count for each facet value.\n *\n *\n * Note: Resulting count is only an estimation, in some cases this value could be incorrect.\n */\n @Prop({reflect: true}) public filterFacetCount = true;\n /**\n * The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.\n * Note: A high injectionDepth may negatively impact the facet request performance.\n * Minimum: `0`\n * Default: `1000`\n */\n @Prop({reflect: true}) public injectionDepth = 1000;\n\n /**\n * The required facets and values for this facet to be displayed.\n * Examples:\n * ```html\n * <atomic-facet facet-id=\"abc\" field=\"objecttype\" ...></atomic-facet>\n *\n * <!-- To show the facet when any value is selected in the facet with id \"abc\": -->\n * <atomic-timeframe-facet\n * depends-on-abc\n * ...\n * ></atomic-timeframe-facet>\n *\n * <!-- To show the facet when value \"doc\" is selected in the facet with id \"abc\": -->\n * <atomic-timeframe-facet\n * depends-on-abc=\"doc\"\n * ...\n * ></atomic-timeframe-facet>\n * ```\n */\n @MapProp() @Prop() public dependsOn: Record<string, string> = {};\n\n /**\n * The earliest date to accept from user input when the `withDatepicker` option is enabled.\n *\n * This value must be a valid date string in the format `YYYY-MM-DD`.\n *\n * If this format is not respected, the date picker ignores this property, behaving as if no `min` value had been set.\n *\n * See also [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#min).\n */\n @Prop({reflect: true}) public min?: string;\n\n /**\n * The latest date to accept from user input when the `withDatepicker` option is enabled.\n *\n * This value must be a valid date string in the format `YYYY-MM-DD`.\n *\n * If this format is not respected, the date picker ignores this property, behaving as if no `max` value had been set.\n *\n * See also [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#max).\n */\n @Prop({reflect: true}) public max?: string;\n\n /**\n * The sort criterion to apply to the returned facet values.\n * Possible values are 'ascending' and 'descending'.\n */\n @Prop({reflect: true}) public sortCriteria: RangeFacetSortCriterion =\n 'descending';\n\n private headerFocus?: FocusTargetController;\n\n private get focusTarget(): FocusTargetController {\n if (!this.headerFocus) {\n this.headerFocus = new FocusTargetController(this);\n }\n return this.headerFocus;\n }\n\n public initialize() {\n if (\n [...this.tabsIncluded].length > 0 &&\n [...this.tabsExcluded].length > 0\n ) {\n console.warn(\n 'Values for both \"tabs-included\" and \"tabs-excluded\" have been provided. This is could lead to unexpected behaviors.'\n );\n }\n this.timeframeFacetCommon = new TimeframeFacetCommon({\n facetId: this.facetId,\n host: this.host,\n bindings: this.bindings,\n label: this.label,\n field: this.field,\n headingLevel: this.headingLevel,\n dependsOn: parseDependsOn(this.dependsOn) && this.dependsOn,\n withDatePicker: this.withDatePicker,\n setFacetId: (id: string) => (this.facetId = id),\n buildDependenciesManager: (facetId: string) =>\n buildFacetConditionsManager(this.bindings.engine, {\n facetId,\n conditions: parseDependsOn<\n FacetValueRequest | CategoryFacetValueRequest\n >(this.dependsOn),\n }),\n buildDateRange,\n getSearchStatusState: () => this.searchStatusState,\n deserializeRelativeDate,\n initializeFacetForDatePicker: () => this.initializeFacetForDatePicker(),\n initializeFacetForDateRange: (values: DateRangeRequest[]) =>\n this.initializeFacetForDateRange(values),\n initializeFilter: () => this.initializeFilter(),\n min: this.min,\n max: this.max,\n sortCriteria: this.sortCriteria,\n });\n this.searchStatus = buildSearchStatus(this.bindings.engine);\n this.tabManager = buildTabManager(this.bindings.engine);\n }\n\n public disconnectedCallback() {\n this.timeframeFacetCommon?.disconnectedCallback();\n }\n\n private initializeFacetForDatePicker() {\n this.facetForDatePicker = buildDateFacet(this.bindings.engine, {\n options: {\n facetId: `${this.facetId}_input_range`,\n numberOfValues: 1,\n generateAutomaticRanges: true,\n field: this.field,\n filterFacetCount: this.filterFacetCount,\n injectionDepth: this.injectionDepth,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n return this.facetForDatePicker;\n }\n\n private initializeFacetForDateRange(values: DateRangeRequest[]) {\n this.facetForDateRange = buildDateFacet(this.bindings.engine, {\n options: {\n facetId: this.facetId,\n field: this.field,\n currentValues: values,\n generateAutomaticRanges: false,\n sortCriteria: this.sortCriteria,\n filterFacetCount: this.filterFacetCount,\n injectionDepth: this.injectionDepth,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n return this.facetForDateRange;\n }\n\n private initializeFilter() {\n this.filter = buildDateFilter(this.bindings.engine, {\n options: {\n facetId: `${this.facetId}_input`,\n field: this.field,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n\n return this.filter;\n }\n\n @Listen('atomic/dateInputApply')\n public applyDateInput() {\n this.facetId &&\n this.bindings.engine.dispatch(\n loadDateFacetSetActions(\n this.bindings.engine\n ).deselectAllDateFacetValues(this.facetId)\n );\n }\n\n public render() {\n if (!this.timeframeFacetCommon) {\n return (\n <FacetPlaceholder\n numberOfValues={5}\n isCollapsed={this.isCollapsed}\n ></FacetPlaceholder>\n );\n }\n return this.timeframeFacetCommon.render({\n hasError: this.searchStatusState.hasError,\n firstSearchExecuted: this.searchStatusState.firstSearchExecuted,\n isCollapsed: this.isCollapsed,\n headerFocus: this.focusTarget,\n onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed),\n });\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"atomic-timeframe-facet.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,iglEAAiglE,CAAC;AAClilE,mCAAe,uBAAuB;;;;;;;;;;;;MCgEzB,oBAAoB;;;;;;;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DependsOn","buildFacetConditionsManager","buildDateRange","deserializeRelativeDate","buildSearchStatus","buildTabManager","buildDateFacet","buildDateFilter","loadDateFacetSetActions","h","FacetPlaceholder","InitializeBindings","BindStateToController","ArrayProp","MapProp"],"sources":["src/components/search/facets/atomic-timeframe-facet/atomic-timeframe-facet.pcss?tag=atomic-timeframe-facet&encapsulation=shadow","src/components/search/facets/atomic-timeframe-facet/atomic-timeframe-facet.tsx"],"sourcesContent":["@import '../../../common/facets/facet-common.pcss';\n","import {\n buildDateFacet,\n buildDateFilter,\n buildDateRange,\n buildFacetConditionsManager,\n buildSearchStatus,\n DateFacet,\n DateFacetState,\n DateFilter,\n DateFilterState,\n DateRangeRequest,\n deserializeRelativeDate,\n RangeFacetSortCriterion,\n loadDateFacetSetActions,\n SearchStatus,\n SearchStatusState,\n FacetValueRequest,\n CategoryFacetValueRequest,\n buildTabManager,\n TabManager,\n TabManagerState,\n} from '@coveo/headless';\nimport {Component, Element, h, Listen, Prop, State} from '@stencil/core';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {ArrayProp, MapProp} from '../../../../utils/props-utils';\nimport {FocusTargetController} from '../../../../utils/stencil-accessibility-utils';\nimport {parseDependsOn} from '../../../common/facets/depends-on';\nimport {FacetPlaceholder} from '../../../common/facets/facet-placeholder/stencil-facet-placeholder';\nimport {TimeframeFacetCommon} from '../../../common/facets/timeframe-facet-common';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\n\n/**\n * A facet is a list of values for a certain field occurring in the results.\n * An `atomic-timeframe-facet` displays a facet of the results for the current query as date intervals.\n *\n * @slot default - The `atomic-timeframe` components defining the timeframes to display.\n *\n * @part facet - The wrapper for the entire facet.\n * @part placeholder - The placeholder shown before the first search is executed.\n *\n * @part label-button - The button that displays the label and allows to expand/collapse the facet.\n * @part label-button-icon - The label button icon.\n * @part clear-button - The button that resets the actively selected facet values.\n * @part clear-button-icon - The clear button icon.\n *\n * @part values - The facet values container.\n * @part value-label - The facet value label, common for all displays.\n * @part value-count - The facet value count, common for all displays.\n * @part value-link - The facet value when display is 'link'.\n * @part value-link-selected - The selected facet value when display is 'link'.\n *\n * @part input-start - The input for the starting value of the custom date range.\n * @part input-end - The input for the ending value of the custom date range.\n * @part input-label - The label for both the start and end input.\n * @part input-apply-button - The apply button for the custom range.\n */\n@Component({\n tag: 'atomic-timeframe-facet',\n styleUrl: './atomic-timeframe-facet.pcss',\n shadow: true,\n})\nexport class AtomicTimeframeFacet implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public facetForDateRange?: DateFacet;\n public facetForDatePicker?: DateFacet;\n\n private timeframeFacetCommon?: TimeframeFacetCommon;\n public filter?: DateFilter;\n public searchStatus!: SearchStatus;\n public tabManager!: TabManager;\n @Element() private host!: HTMLElement;\n\n @BindStateToController('facetForDateRange')\n @State()\n public facetState!: DateFacetState;\n @BindStateToController('facetForDatePicker')\n @State()\n public facetForDatePickerState?: DateFacetState;\n @BindStateToController('filter')\n @State()\n public filterState?: DateFilterState;\n @BindStateToController('searchStatus')\n @State()\n public searchStatusState!: SearchStatusState;\n @BindStateToController('tabManager')\n @State()\n public tabManagerState!: TabManagerState;\n @State() public error!: Error;\n\n /**\n * Specifies a unique identifier for the facet.\n */\n @Prop({mutable: true, reflect: true}) public facetId?: string;\n /**\n * The non-localized label for the facet.\n * Used in the atomic-breadbox component through the bindings store.\n */\n @Prop({reflect: true}) public label = 'no-label';\n /**\n * The field whose values you want to display in the facet.\n */\n @Prop({reflect: true}) public field = 'date';\n /**\n * The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-timeframe-facet tabs-included='[\"tabIDA\", \"tabIDB\"]'></atomic-timeframe-facet>\n * ```\n * If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsIncluded: string[] | string = '[]';\n\n /**\n * The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-timeframe-facet tabs-excluded='[\"tabIDA\", \"tabIDB\"]'></atomic-timeframe-facet>\n * ```\n * If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsExcluded: string[] | string = '[]';\n\n /**\n * Whether this facet should contain an datepicker allowing users to set custom ranges.\n */\n @Prop({reflect: true}) public withDatePicker = false;\n /**\n * Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.\n */\n @Prop({reflect: true, mutable: true}) public isCollapsed = false;\n /**\n * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.\n */\n @Prop({reflect: true}) public headingLevel = 0;\n /**\n * Whether to exclude the parents of folded results when estimating the result count for each facet value.\n *\n *\n * Note: Resulting count is only an estimation, in some cases this value could be incorrect.\n */\n @Prop({reflect: true}) public filterFacetCount = true;\n /**\n * The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.\n * Note: A high injectionDepth may negatively impact the facet request performance.\n * Minimum: `0`\n * Default: `1000`\n */\n @Prop({reflect: true}) public injectionDepth = 1000;\n\n /**\n * The required facets and values for this facet to be displayed.\n * Examples:\n * ```html\n * <atomic-facet facet-id=\"abc\" field=\"objecttype\" ...></atomic-facet>\n *\n * <!-- To show the facet when any value is selected in the facet with id \"abc\": -->\n * <atomic-timeframe-facet\n * depends-on-abc\n * ...\n * ></atomic-timeframe-facet>\n *\n * <!-- To show the facet when value \"doc\" is selected in the facet with id \"abc\": -->\n * <atomic-timeframe-facet\n * depends-on-abc=\"doc\"\n * ...\n * ></atomic-timeframe-facet>\n * ```\n */\n @MapProp() @Prop() public dependsOn: Record<string, string> = {};\n\n /**\n * The earliest date to accept from user input when the `withDatepicker` option is enabled.\n *\n * This value must be a valid date string in the format `YYYY-MM-DD`.\n *\n * If this format is not respected, the date picker ignores this property, behaving as if no `min` value had been set.\n *\n * See also [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#min).\n */\n @Prop({reflect: true}) public min?: string;\n\n /**\n * The latest date to accept from user input when the `withDatepicker` option is enabled.\n *\n * This value must be a valid date string in the format `YYYY-MM-DD`.\n *\n * If this format is not respected, the date picker ignores this property, behaving as if no `max` value had been set.\n *\n * See also [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#max).\n */\n @Prop({reflect: true}) public max?: string;\n\n /**\n * The sort criterion to apply to the returned facet values.\n * Possible values are 'ascending' and 'descending'.\n */\n @Prop({reflect: true}) public sortCriteria: RangeFacetSortCriterion =\n 'descending';\n\n private headerFocus?: FocusTargetController;\n\n private get focusTarget(): FocusTargetController {\n if (!this.headerFocus) {\n this.headerFocus = new FocusTargetController(this);\n }\n return this.headerFocus;\n }\n\n public initialize() {\n if (\n [...this.tabsIncluded].length > 0 &&\n [...this.tabsExcluded].length > 0\n ) {\n console.warn(\n 'Values for both \"tabs-included\" and \"tabs-excluded\" have been provided. This is could lead to unexpected behaviors.'\n );\n }\n this.timeframeFacetCommon = new TimeframeFacetCommon({\n facetId: this.facetId,\n host: this.host,\n bindings: this.bindings,\n label: this.label,\n field: this.field,\n headingLevel: this.headingLevel,\n dependsOn: parseDependsOn(this.dependsOn) && this.dependsOn,\n withDatePicker: this.withDatePicker,\n setFacetId: (id: string) => (this.facetId = id),\n buildDependenciesManager: (facetId: string) =>\n buildFacetConditionsManager(this.bindings.engine, {\n facetId,\n conditions: parseDependsOn<\n FacetValueRequest | CategoryFacetValueRequest\n >(this.dependsOn),\n }),\n buildDateRange,\n getSearchStatusState: () => this.searchStatusState,\n deserializeRelativeDate,\n initializeFacetForDatePicker: () => this.initializeFacetForDatePicker(),\n initializeFacetForDateRange: (values: DateRangeRequest[]) =>\n this.initializeFacetForDateRange(values),\n initializeFilter: () => this.initializeFilter(),\n min: this.min,\n max: this.max,\n sortCriteria: this.sortCriteria,\n });\n this.searchStatus = buildSearchStatus(this.bindings.engine);\n this.tabManager = buildTabManager(this.bindings.engine);\n }\n\n public disconnectedCallback() {\n this.timeframeFacetCommon?.disconnectedCallback();\n }\n\n private initializeFacetForDatePicker() {\n this.facetForDatePicker = buildDateFacet(this.bindings.engine, {\n options: {\n facetId: `${this.facetId}_input_range`,\n numberOfValues: 1,\n generateAutomaticRanges: true,\n field: this.field,\n filterFacetCount: this.filterFacetCount,\n injectionDepth: this.injectionDepth,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n return this.facetForDatePicker;\n }\n\n private initializeFacetForDateRange(values: DateRangeRequest[]) {\n this.facetForDateRange = buildDateFacet(this.bindings.engine, {\n options: {\n facetId: this.facetId,\n field: this.field,\n currentValues: values,\n generateAutomaticRanges: false,\n sortCriteria: this.sortCriteria,\n filterFacetCount: this.filterFacetCount,\n injectionDepth: this.injectionDepth,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n return this.facetForDateRange;\n }\n\n private initializeFilter() {\n this.filter = buildDateFilter(this.bindings.engine, {\n options: {\n facetId: `${this.facetId}_input`,\n field: this.field,\n tabs: {\n included: [...this.tabsIncluded],\n excluded: [...this.tabsExcluded],\n },\n },\n });\n\n return this.filter;\n }\n\n @Listen('atomic/dateInputApply')\n public applyDateInput() {\n this.facetId &&\n this.bindings.engine.dispatch(\n loadDateFacetSetActions(\n this.bindings.engine\n ).deselectAllDateFacetValues(this.facetId)\n );\n }\n\n public render() {\n if (!this.timeframeFacetCommon) {\n return (\n <FacetPlaceholder\n numberOfValues={5}\n isCollapsed={this.isCollapsed}\n ></FacetPlaceholder>\n );\n }\n return this.timeframeFacetCommon.render({\n hasError: this.searchStatusState.hasError,\n firstSearchExecuted: this.searchStatusState.firstSearchExecuted,\n isCollapsed: this.isCollapsed,\n headerFocus: this.focusTarget,\n onToggleCollapse: () => (this.isCollapsed = !this.isCollapsed),\n });\n }\n}\n"],"version":3}
|
package/dist/cjs/atomic.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet.cjs\",[[1,\"atomic-insight-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"smartSnippetState\":[32],\"feedbackSent\":[32]}]]],[\"atomic-smart-snippet.cjs\",[[1,\"atomic-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"snippetMaximumHeight\":[514,\"snippet-maximum-height\"],\"snippetCollapsedHeight\":[514,\"snippet-collapsed-height\"],\"smartSnippetState\":[32],\"tabManagerState\":[32],\"feedbackSent\":[32]},[[0,\"selectInlineLink\",\"onSelectInlineLink\"],[0,\"beginDelayedSelectInlineLink\",\"onBeginDelayedSelectInlineLink\"],[0,\"cancelPendingSelectInlineLink\",\"onCancelPendingSelectInlineLink\"]]]]],[\"atomic-insight-smart-snippet-suggestions.cjs\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions.cjs\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-folded-result-list.cjs\",[[1,\"atomic-insight-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]]]]],[\"atomic-insight-result-children.cjs\",[[1,\"atomic-insight-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-insight-result-list.cjs\",[[1,\"atomic-insight-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"resultsPerPageState\":[32],\"resultListState\":[32],\"templateHasError\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-insight-user-actions-toggle.cjs\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-ipx-recs-list.cjs\",[[1,\"atomic-ipx-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-recs-list.cjs\",[[1,\"atomic-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-refine-toggle.cjs\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-result-list.cjs\",[[1,\"atomic-result-list\",{\"display\":[513],\"density\":[513],\"imageSize\":[1537,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"resultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},null,{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-tab-manager.cjs\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list.cjs\",[[1,\"atomic-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"numberOfFoldedResults\":[514,\"number-of-folded-results\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"templateHasError\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]],{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-insight-tabs.cjs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link.cjs\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs.cjs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge.cjs\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-children.cjs\",[[1,\"atomic-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32],\"loadedFullCollection\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-result-link.cjs\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri.cjs\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-insight-numeric-facet.cjs\",[[1,\"atomic-insight-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-insight-refine-toggle.cjs\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action.cjs\",[[0,\"atomic-insight-result-quickview-action\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-insight-search-box.cjs\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded.cjs\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal.cjs\",[[1,\"atomic-ipx-modal\",{\"source\":[1040],\"container\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"hasFooterSlotElements\":[32]},[[0,\"touchmove\",\"onWindowTouchMove\"]],{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-toggle.cjs\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet.cjs\",[[1,\"atomic-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-popover.cjs\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview.cjs\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box.cjs\",[[1,\"atomic-search-box\",{\"numberOfQueries\":[514,\"number-of-queries\"],\"redirectionUrl\":[513,\"redirection-url\"],\"suggestionTimeout\":[2,\"suggestion-timeout\"],\"suggestionDelay\":[2,\"suggestion-delay\"],\"disableSearch\":[516,\"disable-search\"],\"minimumQueryLength\":[514,\"minimum-query-length\"],\"clearFilters\":[516,\"clear-filters\"],\"enableQuerySyntax\":[516,\"enable-query-syntax\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]},[[0,\"atomic/searchBoxSuggestion/register\",\"registerSuggestions\"]],{\"redirectionUrl\":[\"watchRedirectionUrl\"]}]]],[\"atomic-breadbox.cjs\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet.cjs\",[[1,\"atomic-category-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"delimitingCharacter\":[513,\"delimiting-character\"],\"basePath\":[1537,\"base-path\"],\"filterByBasePath\":[516,\"filter-by-base-path\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-citation.cjs\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet.cjs\",[[1,\"atomic-color-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-did-you-mean.cjs\",[[1,\"atomic-did-you-mean\",{\"automaticallyCorrectQuery\":[516,\"automatically-correct-query\"],\"queryCorrectionMode\":[513,\"query-correction-mode\"],\"didYouMeanState\":[32],\"queryTriggerState\":[32],\"error\":[32]},null,{\"queryCorrectionMode\":[\"updateQueryCorrectionMode\"]}]]],[\"atomic-facet-manager.cjs\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition.cjs\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency.cjs\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number.cjs\",[[1,\"atomic-format-number\",{\"minimumIntegerDigits\":[514,\"minimum-integer-digits\"],\"minimumFractionDigits\":[514,\"minimum-fraction-digits\"],\"maximumFractionDigits\":[514,\"maximum-fraction-digits\"],\"minimumSignificantDigits\":[514,\"minimum-significant-digits\"],\"maximumSignificantDigits\":[514,\"maximum-significant-digits\"],\"error\":[32]}]]],[\"atomic-format-unit.cjs\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer.cjs\",[[1,\"atomic-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"],\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-generated-answer-feedback-modal.cjs\",[[1,\"atomic-generated-answer-feedback-modal\",{\"isOpen\":[1540,\"is-open\"],\"generatedAnswer\":[1040],\"helpful\":[1540],\"error\":[32],\"currentAnswer\":[32],\"feedbackSubmitted\":[32],\"answerEvaluationRequired\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-insight-edit-toggle.cjs\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet.cjs\",[[1,\"atomic-insight-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"facetState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-full-search-button.cjs\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer.cjs\",[[1,\"atomic-insight-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"]}]]],[\"atomic-insight-history-toggle.cjs\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout.cjs\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results.cjs\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager.cjs\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error.cjs\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary.cjs\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action.cjs\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar.cjs\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action.cjs\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator.cjs\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template.cjs\",[[1,\"atomic-insight-result-children-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-result-template.cjs\",[[1,\"atomic-insight-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-tab.cjs\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet.cjs\",[[1,\"atomic-insight-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-ipx-button.cjs\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab.cjs\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results.cjs\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results.cjs\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications.cjs\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range.cjs\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-query-error.cjs\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet.cjs\",[[1,\"atomic-rating-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"displayValuesAs\":[513,\"display-values-as\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-rating-range-facet.cjs\",[[1,\"atomic-rating-range-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-recs-error.cjs\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface.cjs\",[[1,\"atomic-recs-interface\",{\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"timezone\":[513],\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithRecommendationEngine\":[64],\"getRecommendations\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-recs-result-template.cjs\",[[1,\"atomic-recs-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-date.cjs\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list.cjs\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-html.cjs\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-result-icon.cjs\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image.cjs\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text.cjs\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text.cjs\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number.cjs\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating.cjs\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan.cjs\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet.cjs\",[[1,\"atomic-segmented-facet\",{\"facetId\":[1537,\"facet-id\"],\"field\":[513],\"label\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"searchStatusState\":[32],\"tabManagerState\":[32],\"facetState\":[32],\"error\":[32]}]]],[\"atomic-segmented-facet-scrollable.cjs\",[[1,\"atomic-segmented-facet-scrollable\",{\"searchStatusState\":[32],\"error\":[32],\"hideLeftArrow\":[32],\"hideRightArrow\":[32]},[[1,\"wheel\",\"handleScroll\"],[1,\"touchmove\",\"handleScroll\"],[0,\"keydown\",\"handleScroll\"]]]]],[\"atomic-sort-dropdown.cjs\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression.cjs\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input.cjs\",[[0,\"atomic-stencil-facet-date-input\",{\"bindings\":[16],\"rangeGetter\":[16],\"rangeSetter\":[16],\"facetId\":[1,\"facet-id\"],\"label\":[1],\"min\":[1],\"max\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-tab.cjs\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element.cjs\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe.cjs\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet.cjs\",[[1,\"atomic-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"min\":[513],\"max\":[513],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-insight-user-actions-modal.cjs\",[[1,\"atomic-insight-user-actions-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-refine-modal.cjs\",[[1,\"atomic-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"sortState\":[32],\"tabManagerState\":[32],\"error\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-focus-trap.cjs\",[[0,\"atomic-focus-trap\",{\"active\":[4],\"source\":[1040],\"container\":[1040],\"shouldHideSelf\":[4,\"should-hide-self\"],\"scope\":[16]},[[4,\"focusin\",\"onFocusChanged\"]],{\"active\":[\"activeChanged\"]}]]],[\"atomic-insight-refine-modal.cjs\",[[1,\"atomic-insight-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal.cjs\",[[1,\"atomic-ipx-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button.cjs\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input.cjs\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body.cjs\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal.cjs\",[[1,\"atomic-quickview-modal\",{\"content\":[1025],\"result\":[1040],\"current\":[2],\"total\":[2],\"sandbox\":[1],\"modalCloseCallback\":[16],\"error\":[32],\"highlightKeywords\":[32],\"minimizeSidebar\":[32],\"words\":[32],\"reset\":[64]},null,{\"highlightKeywords\":[\"watchHighlightKeywords\"]}]]],[\"atomic-recs-result.cjs\",[[1,\"atomic-recs-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"linkContent\":[16],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"click\",\"handleClick\"],[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-suggestion-renderer.cjs\",[[0,\"atomic-suggestion-renderer\",{\"i18n\":[16],\"id\":[1],\"suggestion\":[16],\"isSelected\":[4,\"is-selected\"],\"side\":[1],\"index\":[2],\"lastIndex\":[2,\"last-index\"],\"isDoubleList\":[4,\"is-double-list\"],\"onClick\":[16],\"onMouseOver\":[16]}]]],[\"atomic-insight-result.cjs\",[[1,\"atomic-insight-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-smart-snippet-collapse-wrapper_2.cjs\",[[1,\"atomic-smart-snippet-expandable-answer\",{\"expanded\":[516],\"htmlContent\":[1,\"html-content\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[1,\"snippet-style\"],\"fullHeight\":[32]},null,{\"fullHeight\":[\"fullHeightUpdated\"]}],[1,\"atomic-smart-snippet-collapse-wrapper\",{\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"isExpanded\":[32],\"showButton\":[32],\"fullHeight\":[32]}]]],[\"atomic-automatic-facet_2.cjs\",[[0,\"atomic-automatic-facet-generator\",{\"desiredCount\":[514,\"desired-count\"],\"numberOfValues\":[514,\"number-of-values\"],\"error\":[32],\"automaticFacetGeneratorState\":[32],\"searchStatusState\":[32],\"collapseFacetsAfter\":[32],\"updateCollapseFacetsDependingOnFacetsVisibility\":[64]}],[1,\"atomic-automatic-facet\",{\"field\":[513],\"facetId\":[513,\"facet-id\"],\"facet\":[16],\"searchStatus\":[16],\"isCollapsed\":[1540,\"is-collapsed\"],\"error\":[32]}]]],[\"atomic-insight-user-actions-session_2.cjs\",[[1,\"atomic-insight-user-actions-timeline\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"followingSessionsAreVisible\":[32],\"precedingSessionsAreVisible\":[32]}],[1,\"atomic-insight-user-actions-session\",{\"startTimestamp\":[2,\"start-timestamp\"],\"userActions\":[16],\"error\":[32],\"areActionsAfterCaseCreationVisible\":[32]},null,{\"userActions\":[\"prepareUserActionsToDisplay\"]}]]],[\"atomic-tab-bar_2.cjs\",[[1,\"atomic-tab-bar\",{\"popoverTabs\":[32]},[[0,\"atomic/tabRendered\",\"resolveResult\"]]],[1,\"atomic-tab-popover\",{\"show\":[32],\"error\":[32],\"isOpen\":[32],\"toggle\":[64],\"setButtonVisibility\":[64],\"closePopoverOnFocusOut\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-smart-snippet-answer_2.cjs\",[[0,\"atomic-smart-snippet-source\",{\"source\":[1040],\"anchorAttributes\":[16],\"error\":[32]},[[0,\"atomic/resolveResult\",\"resolveResult\"]]],[1,\"atomic-smart-snippet-answer\",{\"htmlContent\":[1,\"html-content\"],\"innerStyle\":[1,\"inner-style\"]}]]],[\"atomic-result-placeholder_2.cjs\",[[1,\"atomic-result-placeholder\",{\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"]}],[1,\"atomic-result-table-placeholder\",{\"density\":[1],\"imageSize\":[1,\"image-size\"],\"rows\":[2]}]]],[\"atomic-result-text_2.cjs\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet.cjs\",[[1,\"atomic-insight-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"smartSnippetState\":[32],\"feedbackSent\":[32]}]]],[\"atomic-smart-snippet.cjs\",[[1,\"atomic-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"snippetMaximumHeight\":[514,\"snippet-maximum-height\"],\"snippetCollapsedHeight\":[514,\"snippet-collapsed-height\"],\"smartSnippetState\":[32],\"tabManagerState\":[32],\"feedbackSent\":[32]},[[0,\"selectInlineLink\",\"onSelectInlineLink\"],[0,\"beginDelayedSelectInlineLink\",\"onBeginDelayedSelectInlineLink\"],[0,\"cancelPendingSelectInlineLink\",\"onCancelPendingSelectInlineLink\"]]]]],[\"atomic-insight-smart-snippet-suggestions.cjs\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions.cjs\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-folded-result-list.cjs\",[[1,\"atomic-insight-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]]]]],[\"atomic-insight-result-children.cjs\",[[1,\"atomic-insight-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-insight-result-list.cjs\",[[1,\"atomic-insight-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"resultsPerPageState\":[32],\"resultListState\":[32],\"templateHasError\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-insight-user-actions-toggle.cjs\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-ipx-recs-list.cjs\",[[1,\"atomic-ipx-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-recs-list.cjs\",[[1,\"atomic-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-refine-toggle.cjs\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-tab-manager.cjs\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list.cjs\",[[1,\"atomic-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"numberOfFoldedResults\":[514,\"number-of-folded-results\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"templateHasError\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]],{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-insight-tabs.cjs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link.cjs\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs.cjs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge.cjs\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-children.cjs\",[[1,\"atomic-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32],\"loadedFullCollection\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-result-link.cjs\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri.cjs\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-insight-numeric-facet.cjs\",[[1,\"atomic-insight-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-insight-refine-toggle.cjs\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action.cjs\",[[0,\"atomic-insight-result-quickview-action\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-insight-search-box.cjs\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded.cjs\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal.cjs\",[[1,\"atomic-ipx-modal\",{\"source\":[1040],\"container\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"hasFooterSlotElements\":[32]},[[0,\"touchmove\",\"onWindowTouchMove\"]],{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-toggle.cjs\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet.cjs\",[[1,\"atomic-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-popover.cjs\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview.cjs\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box.cjs\",[[1,\"atomic-search-box\",{\"numberOfQueries\":[514,\"number-of-queries\"],\"redirectionUrl\":[513,\"redirection-url\"],\"suggestionTimeout\":[2,\"suggestion-timeout\"],\"suggestionDelay\":[2,\"suggestion-delay\"],\"disableSearch\":[516,\"disable-search\"],\"minimumQueryLength\":[514,\"minimum-query-length\"],\"clearFilters\":[516,\"clear-filters\"],\"enableQuerySyntax\":[516,\"enable-query-syntax\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]},[[0,\"atomic/searchBoxSuggestion/register\",\"registerSuggestions\"]],{\"redirectionUrl\":[\"watchRedirectionUrl\"]}]]],[\"atomic-breadbox.cjs\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet.cjs\",[[1,\"atomic-category-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"delimitingCharacter\":[513,\"delimiting-character\"],\"basePath\":[1537,\"base-path\"],\"filterByBasePath\":[516,\"filter-by-base-path\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-citation.cjs\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet.cjs\",[[1,\"atomic-color-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-did-you-mean.cjs\",[[1,\"atomic-did-you-mean\",{\"automaticallyCorrectQuery\":[516,\"automatically-correct-query\"],\"queryCorrectionMode\":[513,\"query-correction-mode\"],\"didYouMeanState\":[32],\"queryTriggerState\":[32],\"error\":[32]},null,{\"queryCorrectionMode\":[\"updateQueryCorrectionMode\"]}]]],[\"atomic-facet-manager.cjs\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition.cjs\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency.cjs\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number.cjs\",[[1,\"atomic-format-number\",{\"minimumIntegerDigits\":[514,\"minimum-integer-digits\"],\"minimumFractionDigits\":[514,\"minimum-fraction-digits\"],\"maximumFractionDigits\":[514,\"maximum-fraction-digits\"],\"minimumSignificantDigits\":[514,\"minimum-significant-digits\"],\"maximumSignificantDigits\":[514,\"maximum-significant-digits\"],\"error\":[32]}]]],[\"atomic-format-unit.cjs\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer.cjs\",[[1,\"atomic-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"],\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-generated-answer-feedback-modal.cjs\",[[1,\"atomic-generated-answer-feedback-modal\",{\"isOpen\":[1540,\"is-open\"],\"generatedAnswer\":[1040],\"helpful\":[1540],\"error\":[32],\"currentAnswer\":[32],\"feedbackSubmitted\":[32],\"answerEvaluationRequired\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-insight-edit-toggle.cjs\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet.cjs\",[[1,\"atomic-insight-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"facetState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-full-search-button.cjs\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer.cjs\",[[1,\"atomic-insight-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"]}]]],[\"atomic-insight-history-toggle.cjs\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout.cjs\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results.cjs\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager.cjs\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error.cjs\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary.cjs\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action.cjs\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar.cjs\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action.cjs\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator.cjs\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template.cjs\",[[1,\"atomic-insight-result-children-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-result-template.cjs\",[[1,\"atomic-insight-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-tab.cjs\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet.cjs\",[[1,\"atomic-insight-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-ipx-button.cjs\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab.cjs\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results.cjs\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results.cjs\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications.cjs\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range.cjs\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-query-error.cjs\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet.cjs\",[[1,\"atomic-rating-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"displayValuesAs\":[513,\"display-values-as\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-rating-range-facet.cjs\",[[1,\"atomic-rating-range-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-recs-error.cjs\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface.cjs\",[[1,\"atomic-recs-interface\",{\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"timezone\":[513],\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithRecommendationEngine\":[64],\"getRecommendations\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-recs-result-template.cjs\",[[1,\"atomic-recs-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-date.cjs\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list.cjs\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-html.cjs\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-result-icon.cjs\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image.cjs\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text.cjs\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text.cjs\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number.cjs\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating.cjs\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan.cjs\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet.cjs\",[[1,\"atomic-segmented-facet\",{\"facetId\":[1537,\"facet-id\"],\"field\":[513],\"label\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"searchStatusState\":[32],\"tabManagerState\":[32],\"facetState\":[32],\"error\":[32]}]]],[\"atomic-segmented-facet-scrollable.cjs\",[[1,\"atomic-segmented-facet-scrollable\",{\"searchStatusState\":[32],\"error\":[32],\"hideLeftArrow\":[32],\"hideRightArrow\":[32]},[[1,\"wheel\",\"handleScroll\"],[1,\"touchmove\",\"handleScroll\"],[0,\"keydown\",\"handleScroll\"]]]]],[\"atomic-sort-dropdown.cjs\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression.cjs\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input.cjs\",[[0,\"atomic-stencil-facet-date-input\",{\"bindings\":[16],\"rangeGetter\":[16],\"rangeSetter\":[16],\"facetId\":[1,\"facet-id\"],\"label\":[1],\"min\":[1],\"max\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-tab.cjs\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element.cjs\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe.cjs\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet.cjs\",[[1,\"atomic-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"min\":[513],\"max\":[513],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-insight-user-actions-modal.cjs\",[[1,\"atomic-insight-user-actions-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-refine-modal.cjs\",[[1,\"atomic-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"sortState\":[32],\"tabManagerState\":[32],\"error\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-focus-trap.cjs\",[[0,\"atomic-focus-trap\",{\"active\":[4],\"source\":[1040],\"container\":[1040],\"shouldHideSelf\":[4,\"should-hide-self\"],\"scope\":[16]},[[4,\"focusin\",\"onFocusChanged\"]],{\"active\":[\"activeChanged\"]}]]],[\"atomic-insight-refine-modal.cjs\",[[1,\"atomic-insight-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal.cjs\",[[1,\"atomic-ipx-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button.cjs\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input.cjs\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body.cjs\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal.cjs\",[[1,\"atomic-quickview-modal\",{\"content\":[1025],\"result\":[1040],\"current\":[2],\"total\":[2],\"sandbox\":[1],\"modalCloseCallback\":[16],\"error\":[32],\"highlightKeywords\":[32],\"minimizeSidebar\":[32],\"words\":[32],\"reset\":[64]},null,{\"highlightKeywords\":[\"watchHighlightKeywords\"]}]]],[\"atomic-recs-result.cjs\",[[1,\"atomic-recs-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"linkContent\":[16],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"click\",\"handleClick\"],[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-suggestion-renderer.cjs\",[[0,\"atomic-suggestion-renderer\",{\"i18n\":[16],\"id\":[1],\"suggestion\":[16],\"isSelected\":[4,\"is-selected\"],\"side\":[1],\"index\":[2],\"lastIndex\":[2,\"last-index\"],\"isDoubleList\":[4,\"is-double-list\"],\"onClick\":[16],\"onMouseOver\":[16]}]]],[\"atomic-insight-result.cjs\",[[1,\"atomic-insight-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-smart-snippet-collapse-wrapper_2.cjs\",[[1,\"atomic-smart-snippet-expandable-answer\",{\"expanded\":[516],\"htmlContent\":[1,\"html-content\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[1,\"snippet-style\"],\"fullHeight\":[32]},null,{\"fullHeight\":[\"fullHeightUpdated\"]}],[1,\"atomic-smart-snippet-collapse-wrapper\",{\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"isExpanded\":[32],\"showButton\":[32],\"fullHeight\":[32]}]]],[\"atomic-automatic-facet_2.cjs\",[[0,\"atomic-automatic-facet-generator\",{\"desiredCount\":[514,\"desired-count\"],\"numberOfValues\":[514,\"number-of-values\"],\"error\":[32],\"automaticFacetGeneratorState\":[32],\"searchStatusState\":[32],\"collapseFacetsAfter\":[32],\"updateCollapseFacetsDependingOnFacetsVisibility\":[64]}],[1,\"atomic-automatic-facet\",{\"field\":[513],\"facetId\":[513,\"facet-id\"],\"facet\":[16],\"searchStatus\":[16],\"isCollapsed\":[1540,\"is-collapsed\"],\"error\":[32]}]]],[\"atomic-insight-user-actions-session_2.cjs\",[[1,\"atomic-insight-user-actions-timeline\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"followingSessionsAreVisible\":[32],\"precedingSessionsAreVisible\":[32]}],[1,\"atomic-insight-user-actions-session\",{\"startTimestamp\":[2,\"start-timestamp\"],\"userActions\":[16],\"error\":[32],\"areActionsAfterCaseCreationVisible\":[32]},null,{\"userActions\":[\"prepareUserActionsToDisplay\"]}]]],[\"atomic-tab-bar_2.cjs\",[[1,\"atomic-tab-bar\",{\"popoverTabs\":[32]},[[0,\"atomic/tabRendered\",\"resolveResult\"]]],[1,\"atomic-tab-popover\",{\"show\":[32],\"error\":[32],\"isOpen\":[32],\"toggle\":[64],\"setButtonVisibility\":[64],\"closePopoverOnFocusOut\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-smart-snippet-answer_2.cjs\",[[0,\"atomic-smart-snippet-source\",{\"source\":[1040],\"anchorAttributes\":[16],\"error\":[32]},[[0,\"atomic/resolveResult\",\"resolveResult\"]]],[1,\"atomic-smart-snippet-answer\",{\"htmlContent\":[1,\"html-content\"],\"innerStyle\":[1,\"inner-style\"]}]]],[\"atomic-result-placeholder_2.cjs\",[[1,\"atomic-result-placeholder\",{\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"]}],[1,\"atomic-result-table-placeholder\",{\"density\":[1],\"imageSize\":[1,\"image-size\"],\"rows\":[2]}]]],[\"atomic-result-text_2.cjs\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -366,10 +366,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
366
366
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
367
367
|
/* webpackMode: "lazy" */
|
|
368
368
|
'./atomic-result-link.cjs.entry.js')); }).then(processMod, consoleError);
|
|
369
|
-
case 'atomic-result-list.cjs':
|
|
370
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
371
|
-
/* webpackMode: "lazy" */
|
|
372
|
-
'./atomic-result-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
373
369
|
case 'atomic-result-localized-text.cjs':
|
|
374
370
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
375
371
|
/* webpackMode: "lazy" */
|
|
@@ -4,6 +4,21 @@ const index = require('./index-1df73594.js');
|
|
|
4
4
|
const arrowRight = require('./arrow-right-a3be291c.js');
|
|
5
5
|
const stencilButton = require('./stencil-button-e9b9fab0.js');
|
|
6
6
|
|
|
7
|
+
// The Lit equivalent of this file is grid-layout.ts
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated should only be used for Stencil components.
|
|
10
|
+
*/
|
|
11
|
+
const DisplayGrid = ({ setRef, selectorForItem }, children) => {
|
|
12
|
+
let ref;
|
|
13
|
+
return (index.h("div", { part: "result-list-grid-clickable-container outline", ref: (element) => {
|
|
14
|
+
ref = element;
|
|
15
|
+
setRef(element);
|
|
16
|
+
}, onClick: (event) => {
|
|
17
|
+
event.preventDefault();
|
|
18
|
+
ref?.querySelector(selectorForItem)?.click();
|
|
19
|
+
} }, ...children));
|
|
20
|
+
};
|
|
21
|
+
|
|
7
22
|
/**
|
|
8
23
|
* @deprecated should only be used for Stencil components.
|
|
9
24
|
*/
|
|
@@ -33,5 +48,6 @@ const Carousel = (props, children) => {
|
|
|
33
48
|
};
|
|
34
49
|
|
|
35
50
|
exports.Carousel = Carousel;
|
|
51
|
+
exports.DisplayGrid = DisplayGrid;
|
|
36
52
|
|
|
37
|
-
//# sourceMappingURL=stencil-carousel-
|
|
53
|
+
//# sourceMappingURL=stencil-carousel-72557b3b.js.map
|