@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-result-template.entry.js","mappings":"
|
|
1
|
+
{"file":"atomic-recs-result-template.entry.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,IAAI,oBAAoB,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,GAAG,qBAAqB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,CAAC,eAAe,GAAG,mBAAmB,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;IAApC,OAAO,CAAC,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;2DAG9B;AAOsC;IAApC,OAAO,CAAC,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;8DAG9B;;;;","names":[],"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}
|
|
@@ -100,7 +100,7 @@ const AtomicResultFieldsList = class {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return h(Host, { key: '
|
|
103
|
+
return h(Host, { key: 'd046d0b212d0777d816b93a8c7467f46476a4c0b' });
|
|
104
104
|
}
|
|
105
105
|
get host() { return getElement(this); }
|
|
106
106
|
};
|
|
@@ -45,7 +45,7 @@ const AtomicResultLink = class {
|
|
|
45
45
|
const href = isUndefined(this.hrefTemplate)
|
|
46
46
|
? this.result.clickUri
|
|
47
47
|
: buildStringTemplateFromResult(this.hrefTemplate, this.result, this.bindings);
|
|
48
|
-
return (h(LinkWithItemAnalytics, { key: '
|
|
48
|
+
return (h(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 ? (h("slot", null)) : (h("atomic-result-text", { field: "title", default: "no-title" }))));
|
|
49
49
|
}
|
|
50
50
|
get host() { return getElement(this); }
|
|
51
51
|
};
|
|
@@ -47,9 +47,9 @@ const AtomicSmartSnippetFeedbackModal = class {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
updateBreakpoints(this.host);
|
|
50
|
-
return (h("atomic-modal", { key: '
|
|
50
|
+
return (h("atomic-modal", { key: '974214b561a95c4a76a61c70324d68d70eff9ca0', fullscreen: false, source: this.source, container: this.host, isOpen: this.isOpen, close: () => this.close(), exportparts: ATOMIC_MODAL_EXPORT_PARTS }, h(SmartSnippetFeedbackModalHeader, { key: '3829ff4ab492928f46e103caeb7c9cb96a3a019c', i18n: this.bindings.i18n }), h(SmartSnippetFeedbackModalBody, { key: '4ae99ce432b8babd24f37ca7e53eb0f0356471e5', formId: this.formId, onSubmit: (e) => this.sendFeedback(e) }, h(SmartSnippetFeebackModalOptions, { key: 'd2c085f540145e0a0dae5e8abf70259141abe7ad', i18n: this.bindings.i18n }, smartSnippetFeedbackOptions.map(({ id, localeKey, correspondingAnswer }) => (h(SmartSnippetFeedbackModalOption, { correspondingAnswer: correspondingAnswer, currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, id: id, localeKey: localeKey, onChange: () => {
|
|
51
51
|
this.currentAnswer = correspondingAnswer;
|
|
52
|
-
} })))), h(SmartSnippetFeedbackModalDetails, { key: '
|
|
52
|
+
} })))), h(SmartSnippetFeedbackModalDetails, { key: '2e31e660a0c611ecfdaa2469a0d25f32e802c8cd', currentAnswer: this.currentAnswer, i18n: this.bindings.i18n, setDetailsInputRef: (ref) => (this.detailsInputRef = ref) })), h(SmartSnippetFeedbackModalFooter, { key: 'a24b029fdf56ce231663e72a01d7831134ff89e1', formId: this.formId, i18n: this.bindings.i18n, onClick: () => this.close() })));
|
|
53
53
|
}
|
|
54
54
|
close() {
|
|
55
55
|
this.isOpen = false;
|
|
@@ -57,7 +57,7 @@ const AtomicTabManager = class {
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '337117930b44f774032c331c7cbd65de841f91e2' }, h("atomic-tab-bar", { key: '182785b6396fe1e77817564d7ca6b424a15a4ba6' }, 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) => (h("atomic-tab-button", { active: this.tabManagerState.activeTab === tab.name, label: this.bindings.i18n.t(tab.label, {
|
|
61
61
|
defaultValue: tab.label,
|
|
62
62
|
}), select: () => {
|
|
63
63
|
if (!tab.tabController.state.isActive) {
|
|
@@ -4,8 +4,8 @@ import { I as InitializeBindings, B as BindStateToController } from './initializ
|
|
|
4
4
|
import { A as ArrayProp, M as MapProp } from './props-utils-abc3c855.js';
|
|
5
5
|
import { F as FocusTargetController } from './stencil-accessibility-utils-29cc6679.js';
|
|
6
6
|
import { p as parseDependsOn } from './depends-on-20dabb86.js';
|
|
7
|
-
import { b as FacetPlaceholder } from './facet-placeholder-
|
|
8
|
-
import { T as TimeframeFacetCommon } from './timeframe-facet-common-
|
|
7
|
+
import { b as FacetPlaceholder } from './stencil-facet-placeholder-8201b5c9.js';
|
|
8
|
+
import { T as TimeframeFacetCommon } from './timeframe-facet-common-4c8d95f2.js';
|
|
9
9
|
import './dom-utils-f6086cd3.js';
|
|
10
10
|
import './event-utils-8de63ec3.js';
|
|
11
11
|
import './init-queue-a1970cb1.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"atomic-timeframe-facet.entry.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,iglEAAiglE,CAAC;AAClilE,mCAAe,uBAAuB;;;;;;;;;;;;MCgEzB,oBAAoB;;;;;;;QAoCD,UAAK,GAAG,UAAU,CAAC;;;;QAInB,UAAK,GAAG,MAAM,CAAC;;;;;;;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GM,cAAc;QACnB,IAAI,CAAC,OAAO;YACV,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAC3B,uBAAuB,CACrB,IAAI,CAAC,QAAQ,CAAC,MAAM,CACrB,CAAC,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAC3C,CAAC;KACL;IAEM,MAAM;QACX,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC9B,QACE,EAAC,gBAAgB,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;IAA5B,kBAAkB,EAAE;sDAA4B;AAY1C;IAFN,qBAAqB,CAAC,mBAAmB,CAAC;wDAER;AAG5B;IAFN,qBAAqB,CAAC,oBAAoB,CAAC;qEAEI;AAGzC;IAFN,qBAAqB,CAAC,QAAQ,CAAC;yDAEK;AAG9B;IAFN,qBAAqB,CAAC,cAAc,CAAC;+DAEO;AAGtC;IAFN,qBAAqB,CAAC,YAAY,CAAC;6DAEK;AA2BlC;IAFN,SAAS,EAAE;0DAEkC;AAavC;IAFN,SAAS,EAAE;0DAEkC;AAgDpB;IAAzB,OAAO,EAAE;uDAAuD;;;;;","names":[],"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.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,iglEAAiglE,CAAC;AAClilE,mCAAe,uBAAuB;;;;;;;;;;;;MCgEzB,oBAAoB;;;;;;;QAoCD,UAAK,GA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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/esm/atomic.js
CHANGED
|
@@ -16,7 +16,7 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet\",[[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\",[[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\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-folded-result-list\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-result-list\",[[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\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list\",[[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\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-children\",[[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\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-insight-numeric-facet\",[[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\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action\",[[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\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal\",[[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\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet\",[[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\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box\",[[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\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet\",[[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\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet\",[[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\",[[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\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number\",[[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\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer\",[[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\",[[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\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet\",[[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\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer\",[[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\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template\",[[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\",[[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\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet\",[[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\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-query-error\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet\",[[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\",[[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\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface\",[[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\",[[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\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-html\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-result-icon\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet\",[[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\",[[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\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input\",[[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\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal\",[[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\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]]]"), options);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet\",[[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\",[[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\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-folded-result-list\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-tab-manager\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list\",[[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\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-children\",[[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\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-insight-numeric-facet\",[[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\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action\",[[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\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal\",[[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\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet\",[[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\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box\",[[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\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet\",[[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\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet\",[[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\",[[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\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number\",[[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\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer\",[[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\",[[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\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet\",[[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\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer\",[[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\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template\",[[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\",[[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\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet\",[[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\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-query-error\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet\",[[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\",[[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\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface\",[[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\",[[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\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-html\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-result-icon\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet\",[[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\",[[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\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input\",[[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\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal\",[[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\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]]]"), options);
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
//# sourceMappingURL=atomic.js.map
|
|
@@ -344,10 +344,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
344
344
|
return import(
|
|
345
345
|
/* webpackMode: "lazy" */
|
|
346
346
|
'./atomic-result-link.entry.js').then(processMod, consoleError);
|
|
347
|
-
case 'atomic-result-list':
|
|
348
|
-
return import(
|
|
349
|
-
/* webpackMode: "lazy" */
|
|
350
|
-
'./atomic-result-list.entry.js').then(processMod, consoleError);
|
|
351
347
|
case 'atomic-result-localized-text':
|
|
352
348
|
return import(
|
|
353
349
|
/* webpackMode: "lazy" */
|
|
@@ -2,6 +2,21 @@ import { h, F as Fragment } from './index-a59c51bd.js';
|
|
|
2
2
|
import { A as ArrowRight } from './arrow-right-cb365b01.js';
|
|
3
3
|
import { B as Button } from './stencil-button-d6e06ca8.js';
|
|
4
4
|
|
|
5
|
+
// The Lit equivalent of this file is grid-layout.ts
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated should only be used for Stencil components.
|
|
8
|
+
*/
|
|
9
|
+
const DisplayGrid = ({ setRef, selectorForItem }, children) => {
|
|
10
|
+
let ref;
|
|
11
|
+
return (h("div", { part: "result-list-grid-clickable-container outline", ref: (element) => {
|
|
12
|
+
ref = element;
|
|
13
|
+
setRef(element);
|
|
14
|
+
}, onClick: (event) => {
|
|
15
|
+
event.preventDefault();
|
|
16
|
+
ref?.querySelector(selectorForItem)?.click();
|
|
17
|
+
} }, ...children));
|
|
18
|
+
};
|
|
19
|
+
|
|
5
20
|
/**
|
|
6
21
|
* @deprecated should only be used for Stencil components.
|
|
7
22
|
*/
|
|
@@ -30,6 +45,6 @@ const Carousel = (props, children) => {
|
|
|
30
45
|
renderIndicators()));
|
|
31
46
|
};
|
|
32
47
|
|
|
33
|
-
export { Carousel as C };
|
|
48
|
+
export { Carousel as C, DisplayGrid as D };
|
|
34
49
|
|
|
35
|
-
//# sourceMappingURL=stencil-carousel-
|
|
50
|
+
//# sourceMappingURL=stencil-carousel-a9540851.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stencil-carousel-a9540851.js","mappings":";;;;AAAA;AAYA;;;MAGa,WAAW,GAA0C,CAChE,EAAC,MAAM,EAAE,eAAe,EAAC,EACzB,QAAQ;IAER,IAAI,GAA4B,CAAC;IACjC,QACE,WACE,IAAI,EAAC,8CAA8C,EACnD,GAAG,EAAE,CAAC,OAAO;YACX,GAAG,GAAG,OAAO,CAAC;YACd,MAAM,CAAC,OAAO,CAAC,CAAC;SACjB,EACD,OAAO,EAAE,CAAC,KAAK;YACb,KAAK,CAAC,cAAc,EAAE,CAAC;YACtB,GAAG,EAAE,aAAa,CAAC,eAAe,CAAiB,EAAE,KAAK,EAAE,CAAC;SAC/D,OAEG,QAAQ,CACR,EACN;AACJ;;ACrBA;;;MAGa,QAAQ,GAEjB,CAAC,KAAK,EAAE,QAAQ;IAClB,MAAM,uBAAuB,GAC3B,kGAAkG,CAAC;IACrG,MAAM,kBAAkB,GACt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tB,QAAQ;YACR,gBAAgB,EAAE,CACf;QACL,gBAAgB,EAAE,CACV,EACX;AACJ;;;;","names":[],"sources":["src/components/common/item-list/stencil-display-grid.tsx","src/components/common/stencil-carousel.tsx"],"sourcesContent":["// The Lit equivalent of this file is grid-layout.ts\nimport {FunctionalComponent, h} from '@stencil/core';\n\ninterface DisplayGridProps {\n selectorForItem: string;\n item: {clickUri: string; title: string};\n setRef: (element?: HTMLElement) => void;\n select: () => void;\n beginDelayedSelect: () => void;\n cancelPendingSelect: () => void;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const DisplayGrid: FunctionalComponent<DisplayGridProps> = (\n {setRef, selectorForItem},\n children\n) => {\n let ref: HTMLElement | undefined;\n return (\n <div\n part=\"result-list-grid-clickable-container outline\"\n ref={(element) => {\n ref = element;\n setRef(element);\n }}\n onClick={(event) => {\n event.preventDefault();\n (ref?.querySelector(selectorForItem) as HTMLElement)?.click();\n }}\n >\n {...children}\n </div>\n );\n};\n","import {h, FunctionalComponent, Fragment} from '@stencil/core';\nimport {JSXBase} from '@stencil/core/internal';\nimport ArrowRight from '../../images/arrow-right.svg';\nimport {AnyBindings} from './interface/bindings.js';\nimport {Button} from './stencil-button.js';\n\ninterface CarouselProps {\n bindings: AnyBindings;\n previousPage(): void;\n nextPage(): void;\n numberOfPages: number;\n currentPage: number;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const Carousel: FunctionalComponent<\n CarouselProps & JSXBase.HTMLAttributes<HTMLHeadingElement>\n> = (props, children) => {\n const commonPaginationClasses =\n 'w-10 h-10 grid justify-center items-center absolute top-1/2 -translate-y-1/2 z-1 shadow-lg group';\n const commonArrowClasses =\n 'w-3.5 align-middle text-on-background group-hover:text-primary group-focus:text-primary-light';\n\n function renderPreviousButton() {\n return (\n <Button\n style=\"outline-primary\"\n ariaLabel={props.bindings.i18n.t('previous')}\n onClick={() => props.previousPage()}\n part=\"previous-button\"\n class={`${commonPaginationClasses} -translate-x-1/2`}\n >\n <atomic-icon\n icon={ArrowRight}\n class={`${commonArrowClasses} rotate-180`}\n ></atomic-icon>\n </Button>\n );\n }\n\n function renderNextButton() {\n return (\n <Button\n style=\"outline-primary\"\n ariaLabel={props.bindings.i18n.t('next')}\n onClick={() => props.nextPage()}\n part=\"next-button\"\n class={`${commonPaginationClasses} right-0 translate-x-1/2`}\n >\n <atomic-icon icon={ArrowRight} class={commonArrowClasses}></atomic-icon>\n </Button>\n );\n }\n\n function renderIndicators() {\n return (\n <ul part=\"indicators\" class=\"mt-6 flex justify-center gap-2\">\n {Array.from({length: props.numberOfPages}, (_, index) => {\n const isActive = index === props.currentPage % props.numberOfPages;\n return (\n <li\n part={`indicator ${isActive ? 'active-indicator' : ''}`}\n class={`h-1 w-12 rounded-md ${\n isActive ? 'bg-primary' : 'bg-neutral'\n } `}\n ></li>\n );\n })}\n </ul>\n );\n }\n\n return (\n <Fragment>\n <div class=\"relative\">\n {renderPreviousButton()}\n {children}\n {renderNextButton()}\n </div>\n {renderIndicators()}\n </Fragment>\n );\n};\n"],"version":3}
|
|
@@ -49,4 +49,4 @@ const FacetPlaceholder = ({ numberOfValues, isCollapsed, }) => {
|
|
|
49
49
|
|
|
50
50
|
export { FacetHeader as F, FacetContainer as a, FacetPlaceholder as b };
|
|
51
51
|
|
|
52
|
-
//# sourceMappingURL=facet-placeholder-
|
|
52
|
+
//# sourceMappingURL=stencil-facet-placeholder-8201b5c9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stencil-facet-placeholder-8201b5c9.js","mappings":";;;;;;;AAEA;;;MAGa,cAAc,GAAwB,CAAC,CAAC,EAAE,QAAQ,MAC7D,WAAK,KAAK,EAAC,oDAAoD,EAAC,IAAI,EAAC,OAAO,IACzE,QAAQ,CACL;;ACWR;;;MAGa,WAAW,GAA0C,CAAC,KAAK;IACtE,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC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AAM,KAAK,CAAC,cAAe,EAAE;YAEtC,mBACE,IAAI,EAAC,mBAAmB,EACxB,KAAK,EAAC,cAAc,EACpB,IAAI,EAAE,SAAS,GACF;YACf,gBAAO,YAAY,CAAQ,CACpB,CACV;KACF,CAAC;AACJ;;AC/DA;;;MAGa,gBAAgB,GAA+C,CAAC,EAC3E,cAAc,EACd,WAAW,GACZ;IACC,MAAM,WAAW,GAAG,EAAE,CAAC;IACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,EAAE,CAAC,EAAE,EAAE;QACvC,WAAW,CAAC,IAAI,CACd,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAC,GACjC,CACR,CAAC;KACH;IAED,QACE,WACE,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,uEAAuE,iBACjE,MAAM;QAElB,WAAK,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,KAAK,EAAC,GAAQ;QAChE,CAAC,WAAW,IAAI,WAAK,KAAK,EAAC,MAAM,IAAE,WAAW,CAAO,CAClD,EACN;AACJ;;;;","names":["ArrowTopIcon"],"sources":["src/components/common/facets/facet-container/stencil-facet-container.tsx","src/components/common/facets/facet-header/stencil-facet-header.tsx","src/components/common/facets/facet-placeholder/stencil-facet-placeholder.tsx"],"sourcesContent":["import {FunctionalComponent, h} from '@stencil/core';\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetContainer: FunctionalComponent = (_, children) => (\n <div class=\"bg-background border-neutral rounded-lg border p-4\" part=\"facet\">\n {children}\n </div>\n);\n","import {FunctionalComponent, h} from '@stencil/core';\nimport {i18n} from 'i18next';\nimport ArrowBottomIcon from '../../../../images/arrow-bottom-rounded.svg';\nimport ArrowTopIcon from '../../../../images/arrow-top-rounded.svg';\nimport CloseIcon from '../../../../images/close.svg';\nimport {Button} from '../../stencil-button';\nimport {Heading} from '../../stencil-heading';\n\ninterface FacetHeaderProps {\n i18n: i18n;\n label: string;\n numberOfActiveValues: number;\n isCollapsed: boolean;\n headingLevel: number;\n onToggleCollapse(): void;\n onClearFilters?(): void;\n headerRef?: (element?: HTMLButtonElement) => void;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetHeader: FunctionalComponent<FacetHeaderProps> = (props) => {\n const label = props.i18n.t(props.label);\n const expandFacet = props.i18n.t('expand-facet', {label});\n const collapseFacet = props.i18n.t('collapse-facet', {label});\n const clearFilters = props.i18n.t('clear-filters', {\n count: props.numberOfActiveValues,\n });\n const clearFiltersForFacet = props.i18n.t('clear-filters-for-facet', {\n count: props.numberOfActiveValues,\n label,\n });\n\n return [\n <Button\n style=\"text-transparent\"\n part=\"label-button\"\n class=\"flex w-full justify-between rounded-none px-2 py-1 text-lg font-bold\"\n ariaLabel={props.isCollapsed ? expandFacet : collapseFacet}\n onClick={() => props.onToggleCollapse()}\n ariaExpanded={(!props.isCollapsed).toString()}\n ref={props.headerRef}\n >\n <Heading level={props.headingLevel} class=\"truncate\">\n {label}\n </Heading>\n <atomic-icon\n part=\"label-button-icon\"\n class=\"ml-4 w-3 shrink-0 self-center\"\n icon={props.isCollapsed ? ArrowBottomIcon : ArrowTopIcon}\n ></atomic-icon>\n </Button>,\n props.onClearFilters && props.numberOfActiveValues > 0 && (\n <Button\n style=\"text-primary\"\n part=\"clear-button\"\n class=\"flex max-w-full items-baseline p-2 text-sm\"\n ariaLabel={clearFiltersForFacet}\n onClick={() => props.onClearFilters!()}\n >\n <atomic-icon\n part=\"clear-button-icon\"\n class=\"mr-1 h-2 w-2\"\n icon={CloseIcon}\n ></atomic-icon>\n <span>{clearFilters}</span>\n </Button>\n ),\n ];\n};\n","import {FunctionalComponent, h} from '@stencil/core';\n\ninterface FacetPlaceholderProps {\n numberOfValues: number;\n isCollapsed: boolean;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetPlaceholder: FunctionalComponent<FacetPlaceholderProps> = ({\n numberOfValues,\n isCollapsed,\n}) => {\n const facetValues = [];\n for (let i = 0; i < numberOfValues; i++) {\n facetValues.push(\n <div\n class=\"bg-neutral mt-4 flex h-5\"\n style={{width: '100%', opacity: '0.5'}}\n ></div>\n );\n }\n\n return (\n <div\n part=\"placeholder\"\n class=\"bg-background border-neutral mb-4 animate-pulse rounded-lg border p-7\"\n aria-hidden=\"true\"\n >\n <div class=\"bg-neutral h-8 rounded\" style={{width: '75%'}}></div>\n {!isCollapsed && <div class=\"mt-7\">{facetValues}</div>}\n </div>\n );\n};\n"],"version":3}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ResultTemplatesHelpers } from '@coveo/headless';
|
|
2
2
|
import { h } from './index-a59c51bd.js';
|
|
3
3
|
import { a as aggregate, i as isVisualNode, b as isElementNode } from './utils-46078fcb.js';
|
|
4
|
-
import { t as tableElementTagName } from './table-element-utils-1dbc5ef6.js';
|
|
5
4
|
import { i as isResultSectionNode } from './item-layout-sections-b59d1d64.js';
|
|
6
5
|
|
|
6
|
+
const tableElementTagName = 'atomic-table-element';
|
|
7
|
+
|
|
7
8
|
function getTemplateNodeType(node) {
|
|
8
9
|
if (isResultSectionNode(node)) {
|
|
9
10
|
return 'section';
|
|
@@ -112,4 +113,4 @@ function makeDefinedConditions(ifDefined, ifNotDefined) {
|
|
|
112
113
|
|
|
113
114
|
export { ResultTemplateCommon as R, makeDefinedConditions as a, makeMatchConditions as m };
|
|
114
115
|
|
|
115
|
-
//# sourceMappingURL=stencil-result-template-common-
|
|
116
|
+
//# sourceMappingURL=stencil-result-template-common-8be1ff35.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"stencil-result-template-common-8be1ff35.js","mappings":";;;;;AAAO,MAAM,mBAAmB,GAAG,sBAAsB;;SC0BzC,mBAAmB,CAAC,IAAU;IAC5C,IAAI,mBAAmB,CAAC,IAAI,CAAC,EAAE;QAC7B,OAAO,SAAS,CA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B,CACnC,SAAkB,EAClB,YAAqB;IAErB,MAAM,UAAU,GAA8B,EAAE,CAAC;IACjD,IAAI,SAAS,EAAE;QACb,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACxC,UAAU,CAAC,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAC;KACzE;IAED,IAAI,YAAY,EAAE;QAChB,MAAM,UAAU,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC3C,UAAU,CAAC,IAAI,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC;KAC5E;IACD,OAAO,UAAU,CAAC;AACpB;;;;","names":[],"sources":["src/components/common/table-element-utils.ts","src/components/common/result-templates/stencil-result-template-common.tsx"],"sourcesContent":["export const tableElementTagName = 'atomic-table-element';\n","import {\n ResultTemplate,\n ResultTemplateCondition,\n ResultTemplatesHelpers,\n} from '@coveo/headless';\nimport {h} from '@stencil/core';\nimport {aggregate, isElementNode, isVisualNode} from '@/src/utils/utils';\nimport {tableElementTagName} from '../table-element-utils';\nimport {ItemTarget} from '../layout/display-options';\nimport {isResultSectionNode} from '../layout/item-layout-sections';\n\nexport type TemplateContent = DocumentFragment;\n\ninterface ResultTemplateCommonProps {\n allowEmpty?: boolean;\n host: HTMLDivElement;\n validParents: string[];\n setError: (error: Error) => void;\n}\n\ntype TemplateNodeType =\n | 'section'\n | 'metadata'\n | 'table-column-definition'\n | 'other';\n\nexport function getTemplateNodeType(node: Node): TemplateNodeType {\n if (isResultSectionNode(node)) {\n return 'section';\n }\n if (!isVisualNode(node)) {\n return 'metadata';\n }\n if (\n isElementNode(node) &&\n node.tagName.toLowerCase() === tableElementTagName\n ) {\n return 'table-column-definition';\n }\n return 'other';\n}\n\nfunction groupNodesByType(nodes: NodeList) {\n return aggregate(Array.from(nodes), (node) => getTemplateNodeType(node));\n}\n\nexport class ResultTemplateCommon {\n private host: HTMLDivElement;\n public matchConditions: ResultTemplateCondition[] = [];\n private gridCellLinkTarget: ItemTarget = '_self';\n\n constructor({\n host,\n setError,\n validParents,\n allowEmpty = false,\n }: ResultTemplateCommonProps) {\n this.host = host;\n this.validateTemplate(host, setError, validParents, allowEmpty);\n }\n\n validateTemplate(\n host: HTMLDivElement,\n setError: (error: Error) => void,\n validParents: string[],\n allowEmpty = true\n ) {\n const hasValidParent = validParents\n .map((p) => p.toUpperCase())\n .includes(host.parentElement?.nodeName || '');\n const tagName = host.nodeName.toLowerCase();\n\n if (!hasValidParent) {\n setError(\n new Error(\n `The \"${tagName}\" component has to be the child of one of the following: ${validParents\n .map((p) => `\"${p.toLowerCase()}\"`)\n .join(', ')}.`\n )\n );\n return;\n }\n\n if (\n host.parentElement?.attributes.getNamedItem('display')?.value === 'grid'\n ) {\n this.gridCellLinkTarget = host.parentElement?.attributes.getNamedItem(\n 'grid-cell-link-target'\n )?.value as ItemTarget;\n }\n\n const template = host.querySelector<HTMLTemplateElement>(\n 'template:not([slot])'\n );\n if (!template) {\n setError(\n new Error(\n `The \"${tagName}\" component has to contain a \"template\" element as a child.`\n )\n );\n return;\n }\n\n if (!allowEmpty && !template.innerHTML.trim()) {\n setError(\n new Error(`The \"template\" tag inside \"${tagName}\" cannot be empty.`)\n );\n return;\n }\n\n if (template.content.querySelector('script')) {\n console.warn(\n 'Any \"script\" tags defined inside of \"template\" elements are not supported and will not be executed when the results are rendered.',\n host\n );\n }\n\n const {section: sectionNodes, other: otherNodes} = groupNodesByType(\n template.content.childNodes\n );\n if (sectionNodes?.length && otherNodes?.length) {\n console.warn(\n 'Result templates should only contain section elements or non-section elements. Future updates could unpredictably affect this result template.',\n host,\n {sectionNodes, otherNodes}\n );\n }\n }\n\n getTemplate(\n conditions: ResultTemplateCondition[],\n error: Error\n ): ResultTemplate<TemplateContent> | null {\n if (error) {\n return null;\n }\n\n return {\n conditions: conditions.concat(this.matchConditions),\n content: getTemplateElement(this.host).content!,\n linkContent: this.getLinkTemplateElement(this.host).content!,\n priority: 1,\n };\n }\n\n renderIfError(error: Error) {\n if (error) {\n return (\n <atomic-component-error\n element={this.host}\n error={error}\n ></atomic-component-error>\n );\n }\n }\n\n getDefaultLinkTemplateElement() {\n const linkTemplate = document.createElement('template');\n linkTemplate.innerHTML = `<atomic-result-link>${this.gridCellLinkTarget ? `<a slot=\"attributes\" target=\"${this.gridCellLinkTarget}\"></a>` : ''}</atomic-result-link>`;\n return linkTemplate;\n }\n\n getLinkTemplateElement(host: HTMLElement) {\n return (\n host.querySelector<HTMLTemplateElement>('template[slot=\"link\"]') ??\n this.getDefaultLinkTemplateElement()\n );\n }\n}\n\nfunction getTemplateElement(host: HTMLElement) {\n return host.querySelector<HTMLTemplateElement>('template:not([slot])')!;\n}\n\nexport function makeMatchConditions(\n mustMatch: Record<string, string[]>,\n mustNotMatch: Record<string, string[]>\n): ResultTemplateCondition[] {\n const conditions: ResultTemplateCondition[] = [];\n for (const field in mustMatch) {\n conditions.push(\n ResultTemplatesHelpers.fieldMustMatch(field, mustMatch[field])\n );\n }\n\n for (const field in mustNotMatch) {\n conditions.push(\n ResultTemplatesHelpers.fieldMustNotMatch(field, mustNotMatch[field])\n );\n }\n return conditions;\n}\n\nexport function makeDefinedConditions(\n ifDefined?: string,\n ifNotDefined?: string\n): ResultTemplateCondition[] {\n const conditions: ResultTemplateCondition[] = [];\n if (ifDefined) {\n const fieldNames = ifDefined.split(',');\n conditions.push(ResultTemplatesHelpers.fieldsMustBeDefined(fieldNames));\n }\n\n if (ifNotDefined) {\n const fieldNames = ifNotDefined.split(',');\n conditions.push(ResultTemplatesHelpers.fieldsMustNotBeDefined(fieldNames));\n }\n return conditions;\n}\n"],"version":3}
|
|
@@ -3,7 +3,7 @@ import { p as parseDate } from './date-utils-6b5ec352.js';
|
|
|
3
3
|
import { g as getFieldValueCaption } from './field-utils-f0146383.js';
|
|
4
4
|
import { r as randomID } from './utils-46078fcb.js';
|
|
5
5
|
import { H as Hidden } from './initialization-utils-3a74d440.js';
|
|
6
|
-
import { F as FacetHeader, b as FacetPlaceholder, a as FacetContainer } from './facet-placeholder-
|
|
6
|
+
import { F as FacetHeader, b as FacetPlaceholder, a as FacetContainer } from './stencil-facet-placeholder-8201b5c9.js';
|
|
7
7
|
import { F as FacetValueLabelHighlight } from './stencil-facet-value-label-highlight-3d1f6b62.js';
|
|
8
8
|
import { F as FacetValueLink } from './stencil-facet-value-link-5507b3b2.js';
|
|
9
9
|
import { F as FacetValuesGroup } from './stencil-facet-values-group-c33807e6.js';
|
|
@@ -209,4 +209,4 @@ class TimeframeFacetCommon {
|
|
|
209
209
|
|
|
210
210
|
export { TimeframeFacetCommon as T };
|
|
211
211
|
|
|
212
|
-
//# sourceMappingURL=timeframe-facet-common-
|
|
212
|
+
//# sourceMappingURL=timeframe-facet-common-4c8d95f2.js.map
|