@coveo/atomic 3.51.0 → 3.52.1
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/custom-elements.json +950 -828
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +0 -8
- package/dist/atomic/components/_index.js +97 -25
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +2 -2
- package/dist/atomic/components/components/common/atomic-facet-date-input/atomic-facet-date-input.js +1 -0
- package/dist/atomic/components/components/common/facets/timeframe-facet-common.js +1 -0
- package/dist/atomic/components/components/common/generated-answer/atomic-answer-content/atomic-answer-content.js +180 -0
- package/dist/atomic/components/components/common/generated-answer/atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.js +155 -0
- package/dist/atomic/components/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.js +165 -0
- package/dist/atomic/components/components/common/generated-answer/render-agent-generation-steps.js +34 -0
- package/dist/atomic/components/components/common/generated-answer/render-answer-content.js +7 -19
- package/dist/atomic/components/components/common/generated-answer/render-follow-up-input.js +66 -0
- package/dist/atomic/components/components/common/generated-answer/styles/generated-answer.tw.css.js +1 -1
- package/dist/atomic/components/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.js +7 -3
- package/dist/atomic/components/components/insight/atomic-insight-result-action/atomic-insight-result-action.js +169 -0
- package/dist/atomic/components/components/insight/atomic-insight-result-children/atomic-insight-result-children.js +3 -2
- package/dist/atomic/components/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.js +79 -0
- package/dist/atomic/components/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.js +267 -0
- package/dist/atomic/components/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.js +1 -1
- package/dist/atomic/components/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js +1 -1
- package/dist/atomic/components/components/insight/index.js +3 -0
- package/dist/atomic/components/components/insight/lazy-index.js +3 -0
- package/dist/atomic/components/components/search/atomic-external/atomic-external.js +1 -1
- package/dist/atomic/components/components/search/atomic-generated-answer/atomic-generated-answer.js +108 -15
- package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +2 -2
- 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/mixins/bindings-mixin.js +1 -1
- package/dist/atomic/components/utils/custom-element-tags.js +6 -2
- package/dist/atomic/components/utils/tailwind.global.tw.css.js +2 -2
- package/dist/atomic/index.esm.js +1 -1
- package/dist/atomic/index.esm.js.map +1 -1
- package/dist/atomic/lang/cs.json +1 -1
- package/dist/atomic/lang/da.json +1 -1
- package/dist/atomic/lang/de.json +1 -1
- package/dist/atomic/lang/dev.json +1 -1
- package/dist/atomic/lang/el.json +1 -1
- package/dist/atomic/lang/en.json +1 -1
- package/dist/atomic/lang/es.json +1 -1
- package/dist/atomic/lang/fi.json +1 -1
- package/dist/atomic/lang/fr.json +1 -1
- package/dist/atomic/lang/hu.json +1 -1
- package/dist/atomic/lang/id.json +1 -1
- package/dist/atomic/lang/it.json +1 -1
- package/dist/atomic/lang/ja.json +1 -1
- package/dist/atomic/lang/ko.json +1 -1
- package/dist/atomic/lang/nl.json +1 -1
- package/dist/atomic/lang/no.json +1 -1
- package/dist/atomic/lang/pl.json +1 -1
- package/dist/atomic/lang/pt-BR.json +1 -1
- package/dist/atomic/lang/pt.json +1 -1
- package/dist/atomic/lang/ru.json +1 -1
- package/dist/atomic/lang/sv.json +1 -1
- package/dist/atomic/lang/th.json +1 -1
- package/dist/atomic/lang/tr.json +1 -1
- package/dist/atomic/lang/zh-CN.json +1 -1
- package/dist/atomic/lang/zh-TW.json +1 -1
- package/dist/atomic/lang/zh.json +1 -1
- package/dist/atomic/p-998f7983.js +3 -0
- package/dist/atomic/p-998f7983.js.map +1 -0
- package/dist/cjs/_index.cjs.js +110 -28
- package/dist/cjs/_loader.cjs.js +3 -4
- package/dist/cjs/app-globals-18f43c37.js +506 -0
- package/dist/cjs/app-globals-18f43c37.js.map +1 -0
- package/dist/cjs/atomic.cjs.js +4 -5
- package/dist/cjs/atomic.cjs.js.map +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_index.js +97 -23
- package/dist/esm/_loader.js +3 -4
- package/dist/esm/app-globals-c5b073da.js +481 -0
- package/dist/esm/app-globals-c5b073da.js.map +1 -0
- package/dist/esm/atomic.js +3 -4
- package/dist/esm/atomic.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/version.js +2 -2
- package/dist/types/components/common/context/bindings-context.d.ts +1 -1
- package/dist/types/components/common/facets/timeframe-facet-common.d.ts +1 -0
- package/dist/types/components/common/generated-answer/{answerContent/answer-content.d.ts → atomic-answer-content/atomic-answer-content.d.ts} +8 -6
- package/dist/types/components/common/generated-answer/{generated-answer-thread-item/generated-answer-thread-item.d.ts → atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.d.ts} +3 -3
- package/dist/types/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.d.ts +42 -0
- package/dist/types/components/common/generated-answer/render-agent-generation-steps.d.ts +16 -0
- package/dist/types/components/common/generated-answer/render-answer-content.d.ts +3 -4
- package/dist/types/components/insight/atomic-insight-result-action/atomic-insight-result-action.d.ts +33 -18
- package/dist/types/components/insight/atomic-insight-result-children/atomic-insight-result-children.d.ts +1 -0
- package/dist/types/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +62 -0
- package/dist/types/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.d.ts +47 -28
- package/dist/types/components/insight/index.d.ts +3 -0
- package/dist/types/components/search/atomic-external/atomic-external.d.ts +1 -1
- package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +11 -2
- package/dist/types/components.d.ts +0 -298
- package/dist/types/decorators/bindings.d.ts +1 -1
- package/dist/types/index.d.ts +2 -3
- package/dist/types/utils/accessibility-utils.d.ts +2 -2
- package/dist/types/utils/init-queue.d.ts +1 -1
- package/docs/atomic-docs.json +2 -43
- package/package.json +4 -8
- package/dist/atomic/components/_commonjsHelpers.js +0 -5
- package/dist/atomic/components/_commonjsHelpers.js.map +0 -1
- package/dist/atomic/components/atomic-insight-result-action.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-result-action.js +0 -272
- package/dist/atomic/components/atomic-insight-result-action.js.map +0 -1
- package/dist/atomic/components/atomic-insight-result-children-template.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-result-children-template.js +0 -242
- package/dist/atomic/components/atomic-insight-result-children-template.js.map +0 -1
- package/dist/atomic/components/atomic-insight-timeframe-facet.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-timeframe-facet.js +0 -816
- package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +0 -1
- package/dist/atomic/components/atomic-stencil-facet-date-input.d.ts +0 -11
- package/dist/atomic/components/atomic-stencil-facet-date-input.js +0 -107
- package/dist/atomic/components/atomic-stencil-facet-date-input.js.map +0 -1
- package/dist/atomic/components/date-utils.js +0 -26
- package/dist/atomic/components/date-utils.js.map +0 -1
- package/dist/atomic/components/initialization-utils.js +0 -226
- package/dist/atomic/components/initialization-utils.js.map +0 -1
- package/dist/atomic/components/props-utils.js +0 -1457
- package/dist/atomic/components/props-utils.js.map +0 -1
- package/dist/atomic/components/stencil-button.js +0 -148
- package/dist/atomic/components/stencil-button.js.map +0 -1
- package/dist/atomic/p-1580513b.js +0 -2
- package/dist/atomic/p-1580513b.js.map +0 -1
- package/dist/atomic/p-1df0744f.entry.js +0 -9
- package/dist/atomic/p-1df0744f.entry.js.map +0 -1
- package/dist/atomic/p-2045a1b1.js +0 -2
- package/dist/atomic/p-2045a1b1.js.map +0 -1
- package/dist/atomic/p-4573c419.js +0 -2
- package/dist/atomic/p-4573c419.js.map +0 -1
- package/dist/atomic/p-500bf5c4.entry.js +0 -2
- package/dist/atomic/p-500bf5c4.entry.js.map +0 -1
- package/dist/atomic/p-5226a938.js +0 -3
- package/dist/atomic/p-5226a938.js.map +0 -1
- package/dist/atomic/p-720863c3.js +0 -2
- package/dist/atomic/p-720863c3.js.map +0 -1
- package/dist/atomic/p-81336626.entry.js +0 -2
- package/dist/atomic/p-81336626.entry.js.map +0 -1
- package/dist/atomic/p-81d6e743.js +0 -2
- package/dist/atomic/p-81d6e743.js.map +0 -1
- package/dist/atomic/p-aad3b4ec.js +0 -3
- package/dist/atomic/p-aad3b4ec.js.map +0 -1
- package/dist/atomic/p-b5af331b.entry.js +0 -2
- package/dist/atomic/p-b5af331b.entry.js.map +0 -1
- package/dist/atomic/p-b7209471.js +0 -2
- package/dist/atomic/p-b7209471.js.map +0 -1
- package/dist/atomic/p-dac60354.js +0 -2
- package/dist/atomic/p-dac60354.js.map +0 -1
- package/dist/atomic/p-e1255160.js +0 -2
- package/dist/atomic/p-e1255160.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
- package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js +0 -153
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +0 -222
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +0 -790
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +0 -86
- package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js.map +0 -1
- package/dist/cjs/date-utils-aae1d713.js +0 -28
- package/dist/cjs/date-utils-aae1d713.js.map +0 -1
- package/dist/cjs/event-utils-9bfcf3c5.js +0 -27
- package/dist/cjs/event-utils-9bfcf3c5.js.map +0 -1
- package/dist/cjs/index-122375df.js +0 -1394
- package/dist/cjs/index-122375df.js.map +0 -1
- package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js +0 -95
- package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js.map +0 -1
- package/dist/cjs/initialization-utils-c2821271.js +0 -148
- package/dist/cjs/initialization-utils-c2821271.js.map +0 -1
- package/dist/cjs/props-utils-e4f29f1e.js +0 -1464
- package/dist/cjs/props-utils-e4f29f1e.js.map +0 -1
- package/dist/cjs/stencil-button-bf22eea4.js +0 -130
- package/dist/cjs/stencil-button-bf22eea4.js.map +0 -1
- package/dist/cjs/stencil-result-template-decorators-96954751.js +0 -114
- package/dist/cjs/stencil-result-template-decorators-96954751.js.map +0 -1
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
- package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/atomic-insight-result-action.entry.js +0 -149
- package/dist/esm/atomic-insight-result-action.entry.js.map +0 -1
- package/dist/esm/atomic-insight-result-children-template.entry.js +0 -218
- package/dist/esm/atomic-insight-result-children-template.entry.js.map +0 -1
- package/dist/esm/atomic-insight-timeframe-facet.entry.js +0 -786
- package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +0 -1
- package/dist/esm/atomic-stencil-facet-date-input.entry.js +0 -82
- package/dist/esm/atomic-stencil-facet-date-input.entry.js.map +0 -1
- package/dist/esm/date-utils-3b955e79.js +0 -26
- package/dist/esm/date-utils-3b955e79.js.map +0 -1
- package/dist/esm/event-utils-8de63ec3.js +0 -24
- package/dist/esm/event-utils-8de63ec3.js.map +0 -1
- package/dist/esm/index-4d679e44.js +0 -1364
- package/dist/esm/index-4d679e44.js.map +0 -1
- package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js +0 -88
- package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js.map +0 -1
- package/dist/esm/initialization-utils-9ff399ff.js +0 -144
- package/dist/esm/initialization-utils-9ff399ff.js.map +0 -1
- package/dist/esm/props-utils-76043c82.js +0 -1457
- package/dist/esm/props-utils-76043c82.js.map +0 -1
- package/dist/esm/stencil-button-28de709c.js +0 -128
- package/dist/esm/stencil-button-28de709c.js.map +0 -1
- package/dist/esm/stencil-result-template-decorators-4c2e5132.js +0 -110
- package/dist/esm/stencil-result-template-decorators-4c2e5132.js.map +0 -1
- package/dist/types/components/commerce/product-template-component-utils/context/stencil-product-template-decorators.d.ts +0 -14
- package/dist/types/components/common/atomic-rating/stencil-rating.d.ts +0 -18
- package/dist/types/components/common/atomic-result-placeholder/stencil-placeholders.d.ts +0 -20
- package/dist/types/components/common/breadbox/stencil-breadcrumb-button.d.ts +0 -15
- package/dist/types/components/common/breadbox/stencil-breadcrumb-clear-all.d.ts +0 -13
- package/dist/types/components/common/breadbox/stencil-breadcrumb-container.d.ts +0 -11
- package/dist/types/components/common/breadbox/stencil-breadcrumb-content.d.ts +0 -14
- package/dist/types/components/common/breadbox/stencil-breadcrumb-show-less.d.ts +0 -13
- package/dist/types/components/common/breadbox/stencil-breadcrumb-show-more.d.ts +0 -14
- package/dist/types/components/common/facets/category-facet/stencil-all-categories-button.d.ts +0 -13
- package/dist/types/components/common/facets/category-facet/stencil-child-value-link.d.ts +0 -9
- package/dist/types/components/common/facets/category-facet/stencil-children-as-tree-container.d.ts +0 -9
- package/dist/types/components/common/facets/category-facet/stencil-parent-as-tree-container.d.ts +0 -10
- package/dist/types/components/common/facets/category-facet/stencil-parent-button.d.ts +0 -16
- package/dist/types/components/common/facets/category-facet/stencil-parent-value-link.d.ts +0 -9
- package/dist/types/components/common/facets/category-facet/stencil-search-results-container.d.ts +0 -5
- package/dist/types/components/common/facets/category-facet/stencil-search-value.d.ts +0 -19
- package/dist/types/components/common/facets/category-facet/stencil-value-as-tree-container.d.ts +0 -5
- package/dist/types/components/common/facets/category-facet/stencil-value-link.d.ts +0 -20
- package/dist/types/components/common/facets/facet-container/stencil-facet-container.d.ts +0 -5
- package/dist/types/components/common/facets/facet-header/stencil-facet-header.d.ts +0 -17
- package/dist/types/components/common/facets/facet-placeholder/stencil-facet-placeholder.d.ts +0 -10
- package/dist/types/components/common/facets/facet-search/stencil-facet-search-input-guard.d.ts +0 -11
- package/dist/types/components/common/facets/facet-search/stencil-facet-search-input.d.ts +0 -14
- package/dist/types/components/common/facets/facet-search/stencil-facet-search-matches.d.ts +0 -14
- package/dist/types/components/common/facets/facet-search/stencil-facet-search-value.d.ts +0 -6
- package/dist/types/components/common/facets/facet-show-more-less/stencil-facet-show-more-less.d.ts +0 -17
- package/dist/types/components/common/facets/facet-value/stencil-facet-value.d.ts +0 -22
- package/dist/types/components/common/facets/facet-value-box/stencil-facet-value-box.d.ts +0 -6
- package/dist/types/components/common/facets/facet-value-checkbox/stencil-facet-value-checkbox.d.ts +0 -11
- package/dist/types/components/common/facets/facet-value-exclude/stencil-facet-value-exclude.d.ts +0 -10
- package/dist/types/components/common/facets/facet-value-label-highlight/stencil-facet-value-label-highlight.d.ts +0 -12
- package/dist/types/components/common/facets/facet-value-link/stencil-facet-value-link.d.ts +0 -10
- package/dist/types/components/common/facets/facet-values-group/stencil-facet-values-group.d.ts +0 -12
- package/dist/types/components/common/facets/numeric-facet/stencil-value-link.d.ts +0 -12
- package/dist/types/components/common/facets/numeric-facet/stencil-values-container.d.ts +0 -11
- package/dist/types/components/common/facets/stencil-facet-common.d.ts +0 -43
- package/dist/types/components/common/facets/stencil-facet-date-input/stencil-facet-date-input.d.ts +0 -33
- package/dist/types/components/common/facets/stencil-facet-guard.d.ts +0 -12
- package/dist/types/components/common/facets/stencil-timeframe-facet-common.d.ts +0 -72
- package/dist/types/components/common/generated-answer/generated-answer-common.d.ts +0 -58
- package/dist/types/components/common/generated-answer/generated-content/stencil-generated-markdown-content.d.ts +0 -10
- package/dist/types/components/common/generated-answer/generated-content/stencil-generated-text-content.d.ts +0 -10
- package/dist/types/components/common/generated-answer/stencil-copy-button.d.ts +0 -12
- package/dist/types/components/common/generated-answer/stencil-feedback-button.d.ts +0 -13
- package/dist/types/components/common/generated-answer/stencil-generated-content-container.d.ts +0 -11
- package/dist/types/components/common/generated-answer/stencil-retry-prompt.d.ts +0 -11
- package/dist/types/components/common/generated-answer/stencil-show-button.d.ts +0 -12
- package/dist/types/components/common/generated-answer/stencil-source-citations.d.ts +0 -10
- package/dist/types/components/common/interface/interface-common-stencil.d.ts +0 -34
- package/dist/types/components/common/interface/stencil-i18n.d.ts +0 -11
- package/dist/types/components/common/item-link/stencil-item-link.d.ts +0 -30
- package/dist/types/components/common/item-list/item-list-decorators.d.ts +0 -17
- package/dist/types/components/common/item-list/stencil-display-grid.d.ts +0 -17
- package/dist/types/components/common/item-list/stencil-display-wrapper.d.ts +0 -11
- package/dist/types/components/common/item-list/stencil-item-decorators.d.ts +0 -41
- package/dist/types/components/common/item-list/stencil-item-display-guard.d.ts +0 -10
- package/dist/types/components/common/item-list/stencil-item-list-common.d.ts +0 -31
- package/dist/types/components/common/item-list/stencil-item-list-guard.d.ts +0 -13
- package/dist/types/components/common/item-text/stencil-item-text-fallback.d.ts +0 -14
- package/dist/types/components/common/item-text/stencil-item-text-highlighted.d.ts +0 -13
- package/dist/types/components/common/load-more/guard.d.ts +0 -10
- package/dist/types/components/common/load-more/stencil-button.d.ts +0 -13
- package/dist/types/components/common/load-more/stencil-container.d.ts +0 -5
- package/dist/types/components/common/load-more/stencil-progress-bar.d.ts +0 -10
- package/dist/types/components/common/load-more/stencil-summary.d.ts +0 -13
- package/dist/types/components/common/no-items/stencil-container.d.ts +0 -5
- package/dist/types/components/common/no-items/stencil-guard.d.ts +0 -11
- package/dist/types/components/common/no-items/stencil-magnifying-glass.d.ts +0 -5
- package/dist/types/components/common/no-items/stencil-no-items.d.ts +0 -12
- package/dist/types/components/common/no-items/stencil-tips.d.ts +0 -10
- package/dist/types/components/common/pager/stencil-pager-buttons.d.ts +0 -33
- package/dist/types/components/common/pager/stencil-pager-navigation.d.ts +0 -10
- package/dist/types/components/common/product-template/stencil-product-template-common.d.ts +0 -26
- package/dist/types/components/common/query-correction/stencil-auto-correction.d.ts +0 -12
- package/dist/types/components/common/query-correction/stencil-correction.d.ts +0 -12
- package/dist/types/components/common/query-correction/stencil-guard.d.ts +0 -9
- package/dist/types/components/common/query-correction/stencil-trigger-correction.d.ts +0 -13
- package/dist/types/components/common/query-error/stencil-container.d.ts +0 -5
- package/dist/types/components/common/query-error/stencil-description.d.ts +0 -13
- package/dist/types/components/common/query-error/stencil-details.d.ts +0 -10
- package/dist/types/components/common/query-error/stencil-guard.d.ts +0 -9
- package/dist/types/components/common/query-error/stencil-icon.d.ts +0 -9
- package/dist/types/components/common/query-error/stencil-link.d.ts +0 -11
- package/dist/types/components/common/query-error/stencil-show-more.d.ts +0 -13
- package/dist/types/components/common/query-error/stencil-title.d.ts +0 -12
- package/dist/types/components/common/query-summary/stencil-container.d.ts +0 -9
- package/dist/types/components/common/query-summary/stencil-guard.d.ts +0 -11
- package/dist/types/components/common/query-summary/stencil-utils.d.ts +0 -23
- package/dist/types/components/common/refine-modal/stencil-body.d.ts +0 -7
- package/dist/types/components/common/refine-modal/stencil-button.d.ts +0 -12
- package/dist/types/components/common/refine-modal/stencil-filters.d.ts +0 -20
- package/dist/types/components/common/refine-modal/stencil-guard.d.ts +0 -11
- package/dist/types/components/common/refine-modal/stencil-modal.d.ts +0 -18
- package/dist/types/components/common/refine-modal/stencil-sort.d.ts +0 -11
- package/dist/types/components/common/result-children/stencil-children-wrapper.d.ts +0 -9
- package/dist/types/components/common/result-children/stencil-collection-guard.d.ts +0 -16
- package/dist/types/components/common/result-children/stencil-guard.d.ts +0 -11
- package/dist/types/components/common/result-children/stencil-show-hide-button.d.ts +0 -14
- package/dist/types/components/common/result-templates/stencil-result-template-common.d.ts +0 -24
- package/dist/types/components/common/search-box/stencil-search-box-wrapper.d.ts +0 -10
- package/dist/types/components/common/search-box/stencil-search-text-area.d.ts +0 -22
- package/dist/types/components/common/search-box/stencil-submit-button.d.ts +0 -12
- package/dist/types/components/common/search-box/stencil-text-area-clear-button.d.ts +0 -12
- package/dist/types/components/common/smart-snippets/atomic-smart-snippet/stencil-smart-snippet-common.d.ts +0 -31
- package/dist/types/components/common/smart-snippets/atomic-smart-snippet-feedback-modal/stencil-smart-snippet-feedback-modal-common.d.ts +0 -57
- package/dist/types/components/common/smart-snippets/atomic-smart-snippet-suggestions/stencil-smart-snippet-suggestions-common.d.ts +0 -43
- package/dist/types/components/common/smart-snippets/stencil-smart-snippet-feedback-banner.d.ts +0 -18
- package/dist/types/components/common/stencil-button-style.d.ts +0 -11
- package/dist/types/components/common/stencil-button.d.ts +0 -30
- package/dist/types/components/common/stencil-carousel.d.ts +0 -15
- package/dist/types/components/common/stencil-checkbox.d.ts +0 -22
- package/dist/types/components/common/stencil-fieldset-group.d.ts +0 -9
- package/dist/types/components/common/stencil-heading.d.ts +0 -7
- package/dist/types/components/common/stencil-hidden.d.ts +0 -5
- package/dist/types/components/common/stencil-iconButton.d.ts +0 -13
- package/dist/types/components/common/stencil-radio-button.d.ts +0 -12
- package/dist/types/components/common/stencil-switch.d.ts +0 -15
- package/dist/types/components/common/stencil-triStateCheckbox.d.ts +0 -11
- package/dist/types/components/common/suggestions/stencil-instant-item.d.ts +0 -19
- package/dist/types/components/common/suggestions/stencil-query-suggestions.d.ts +0 -32
- package/dist/types/components/common/suggestions/stencil-suggestion-manager.d.ts +0 -96
- package/dist/types/components/insight/result-templates/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +0 -50
- package/dist/types/components/search/facets/facet-segmented-value/stencil-facet-segmented-value.d.ts +0 -6
- package/dist/types/components/search/result-template-component-utils/context/stencil-result-template-decorators.d.ts +0 -32
- package/dist/types/components/search/result-template-components/quickview-iframe/stencil-quickview-iframe.d.ts +0 -14
- package/dist/types/utils/__mocks__/stencil-resource-url.d.ts +0 -1
- package/dist/types/utils/initialization-utils.d.ts +0 -70
- package/dist/types/utils/jsx-utils.d.ts +0 -6
- package/dist/types/utils/stencil-accessibility-utils.d.ts +0 -43
- package/dist/types/utils/stencil-asset-path-utils.d.ts +0 -1
- package/dist/types/utils/stencil-resource-url.d.ts +0 -1
- /package/dist/atomic/components/utils/{initialization-lit-stencil-common-utils.js → initialization-common-utils.js} +0 -0
- /package/dist/types/utils/{initialization-lit-stencil-common-utils.d.ts → initialization-common-utils.d.ts} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { GeneratedAnswerCitation } from '@coveo/headless';
|
|
2
|
+
import { LitElement, type nothing, type PropertyValues, type TemplateResult } from 'lit';
|
|
3
|
+
import "../atomic-generated-answer-thread-item/atomic-generated-answer-thread-item";
|
|
4
|
+
import "../atomic-answer-content/atomic-answer-content";
|
|
5
|
+
import type { i18n } from 'i18next';
|
|
6
|
+
import type { GeneratedAnswer } from "../atomic-answer-content/atomic-answer-content";
|
|
7
|
+
/**
|
|
8
|
+
* The `atomic-generated-answers-thread` component is responsible for rendering a thread of generated answers.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare class AtomicGeneratedAnswersThread extends LitElement {
|
|
12
|
+
/**
|
|
13
|
+
* The list of generated answers to render in the thread.
|
|
14
|
+
*/
|
|
15
|
+
generatedAnswers: GeneratedAnswer[];
|
|
16
|
+
/**
|
|
17
|
+
* The i18next instance used to translate UI labels.
|
|
18
|
+
*/
|
|
19
|
+
i18n: i18n;
|
|
20
|
+
/**
|
|
21
|
+
* A render function responsible for displaying the citations of a single answer.
|
|
22
|
+
*/
|
|
23
|
+
renderCitations: (citations: GeneratedAnswerCitation[]) => TemplateResult | typeof nothing;
|
|
24
|
+
/**
|
|
25
|
+
* Callback invoked when the user clicks the "like" feedback button of a specific answer.
|
|
26
|
+
*/
|
|
27
|
+
onClickLike: (answerId: string) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Callback invoked when the user clicks the "dislike" feedback button of a specific answer.
|
|
30
|
+
*/
|
|
31
|
+
onClickDislike: (answerId: string) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Callback invoked after the text of a specific answer has been successfully copied.
|
|
34
|
+
*/
|
|
35
|
+
onCopyToClipboard: (answerId: string) => void;
|
|
36
|
+
private allGeneratedAnswersDisplayed;
|
|
37
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
38
|
+
render(): TemplateResult<1>;
|
|
39
|
+
private renderThread;
|
|
40
|
+
private handleShowAllClick;
|
|
41
|
+
private renderShowPreviousAnswersButton;
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { GenerationStep } from '@coveo/headless';
|
|
2
|
+
import type { i18n } from 'i18next';
|
|
3
|
+
import type { FunctionalComponent } from "../../../utils/functional-component-utils";
|
|
4
|
+
export interface RenderAgentGenerationStepsProps {
|
|
5
|
+
i18n: i18n;
|
|
6
|
+
agentSteps: GenerationStep[];
|
|
7
|
+
isStreaming: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const renderAgentGenerationSteps: FunctionalComponent<RenderAgentGenerationStepsProps>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the current generation-step localization key.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCurrentStepKey(generationSteps: GenerationStep[]): string | undefined;
|
|
@@ -4,10 +4,9 @@ import type { TemplateResult } from 'lit';
|
|
|
4
4
|
import { nothing } from 'lit';
|
|
5
5
|
import type { FunctionalComponent } from "../../../utils/functional-component-utils";
|
|
6
6
|
import "../atomic-icon/atomic-icon";
|
|
7
|
-
|
|
8
|
-
question: string;
|
|
7
|
+
type GeneratedAnswer = GeneratedAnswerBase & {
|
|
9
8
|
expanded?: boolean;
|
|
10
|
-
}
|
|
9
|
+
};
|
|
11
10
|
export interface RenderAnswerContentProps {
|
|
12
11
|
i18n: i18n;
|
|
13
12
|
generatedAnswer: GeneratedAnswer;
|
|
@@ -18,7 +17,7 @@ export interface RenderAnswerContentProps {
|
|
|
18
17
|
onClickShowButton: () => void;
|
|
19
18
|
}
|
|
20
19
|
/**
|
|
21
|
-
* Renders the answer content of a given generated answer including
|
|
20
|
+
* Renders the answer content of a given generated answer including answer text and citations.
|
|
22
21
|
*/
|
|
23
22
|
export declare const renderAnswerContent: FunctionalComponent<RenderAnswerContentProps>;
|
|
24
23
|
export {};
|
package/dist/types/components/insight/atomic-insight-result-action/atomic-insight-result-action.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Result } from '@coveo/headless';
|
|
2
|
-
import {
|
|
3
|
-
import { InsightBindings } from
|
|
1
|
+
import type { Result } from '@coveo/headless';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
|
|
4
|
+
import type { InitializableComponent } from "../../../decorators/types";
|
|
4
5
|
export interface InsightResultActionClickedEvent {
|
|
5
6
|
action: string;
|
|
6
7
|
result: Result;
|
|
@@ -12,22 +13,21 @@ export declare enum Actions {
|
|
|
12
13
|
PostToFeed = "postToFeed",
|
|
13
14
|
SendAsEmail = "sendAsEmail"
|
|
14
15
|
}
|
|
16
|
+
declare const AtomicInsightResultAction_base: import("../../../mixins/mixin-common").Constructor<{
|
|
17
|
+
injectStyles(dynamicStyles?: import("lit").CSSResultGroup): Promise<void>;
|
|
18
|
+
}> & typeof LitElement;
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
20
|
+
* The `atomic-insight-result-action` component renders an interactive action button for insight results.
|
|
21
|
+
*
|
|
22
|
+
* @part result-action-container - The result action container
|
|
23
|
+
* @part result-action-button - The result action button
|
|
24
|
+
* @part result-action-icon - The result action icon
|
|
25
|
+
* @event atomicInsightResultActionClicked - Fired when the action button is clicked. The event detail contains the action type and the result object.
|
|
17
26
|
*/
|
|
18
|
-
export declare class AtomicInsightResultAction implements InitializableComponent<InsightBindings> {
|
|
19
|
-
|
|
20
|
-
private result;
|
|
21
|
-
error: Error;
|
|
22
|
-
/**
|
|
23
|
-
* @migration Stencil's @Event() decorator defaults to: bubbles=true, composed=true, cancelable=true.
|
|
24
|
-
* Native CustomEvent defaults to: bubbles=false, composed=false, cancelable=false.
|
|
25
|
-
* When migrating to Lit, explicitly set all three options to preserve behavior:
|
|
26
|
-
* `new CustomEvent('atomicInsightResultActionClicked', { bubbles: true, composed: true, cancelable: true, detail: ... })`
|
|
27
|
-
*/
|
|
28
|
-
private actionClicked;
|
|
27
|
+
export declare class AtomicInsightResultAction extends AtomicInsightResultAction_base implements InitializableComponent<InsightBindings> {
|
|
28
|
+
static styles: import("lit").CSSResult;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* The result action icon to display.
|
|
31
31
|
*/
|
|
32
32
|
icon: string;
|
|
33
33
|
/**
|
|
@@ -39,12 +39,27 @@ export declare class AtomicInsightResultAction implements InitializableComponent
|
|
|
39
39
|
*/
|
|
40
40
|
tooltipOnClick: string;
|
|
41
41
|
/**
|
|
42
|
-
* The type of action to perform when the result action is clicked.
|
|
42
|
+
* The type of action to perform when the result action is clicked.
|
|
43
|
+
* This will be sent along the event fired when the button is clicked.
|
|
43
44
|
*/
|
|
44
45
|
action: Actions | string;
|
|
46
|
+
bindings: InsightBindings;
|
|
47
|
+
error: Error;
|
|
48
|
+
private currentTooltip;
|
|
49
|
+
private itemContextController;
|
|
45
50
|
private actions;
|
|
51
|
+
private tooltipResetTimeout?;
|
|
52
|
+
constructor();
|
|
53
|
+
disconnectedCallback(): void;
|
|
54
|
+
private get result();
|
|
46
55
|
initialize(): void;
|
|
47
56
|
private onClick;
|
|
48
57
|
private getIcon;
|
|
49
|
-
render():
|
|
58
|
+
render(): typeof import("lit-html").nothing | import("lit-html").TemplateResult | null;
|
|
59
|
+
}
|
|
60
|
+
declare global {
|
|
61
|
+
interface HTMLElementTagNameMap {
|
|
62
|
+
'atomic-insight-result-action': AtomicInsightResultAction;
|
|
63
|
+
}
|
|
50
64
|
}
|
|
65
|
+
export {};
|
|
@@ -3,6 +3,7 @@ import type { ItemDisplayImageSize } from "../../common/layout/item-layout-utils
|
|
|
3
3
|
import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
|
|
4
4
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
5
5
|
import "../atomic-insight-result/atomic-insight-result";
|
|
6
|
+
import "../atomic-insight-result-children-template/atomic-insight-result-children-template";
|
|
6
7
|
/**
|
|
7
8
|
* The `atomic-insight-result-children` component is responsible for displaying child results by applying one or more child result templates.
|
|
8
9
|
* It includes two slots, `before-children` and `after-children`, which allow for rendering content before and after the list of children,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ResultTemplate as InsightResultTemplate, ResultTemplateCondition as InsightResultTemplateCondition } from '@coveo/headless/insight';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import type { LitElementWithError } from "../../../decorators/types";
|
|
4
|
+
/**
|
|
5
|
+
* The `atomic-insight-result-children-template` component determines the display format of child results within an `atomic-insight-result-children` component.
|
|
6
|
+
*
|
|
7
|
+
* @slot default - The `<template>` element defining the layout of child results.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AtomicInsightResultChildrenTemplate extends LitElement implements LitElementWithError {
|
|
10
|
+
error: Error;
|
|
11
|
+
/**
|
|
12
|
+
* An array of functions that must each return `true` for this template to apply to a child result.
|
|
13
|
+
* Set programmatically before initialization, not via attribute.
|
|
14
|
+
*
|
|
15
|
+
* For example, the following targets a template and sets a condition to make it apply only to child results whose `title` contains `singapore`:
|
|
16
|
+
* `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`
|
|
17
|
+
*/
|
|
18
|
+
conditions: InsightResultTemplateCondition[];
|
|
19
|
+
/**
|
|
20
|
+
* The field that, when defined on a child result, allows this template to be applied.
|
|
21
|
+
*
|
|
22
|
+
* For example, a template with the following attribute only applies to child results whose `filetype` and `sourcetype` fields are defined:
|
|
23
|
+
* `if-defined="filetype,sourcetype"`
|
|
24
|
+
*/
|
|
25
|
+
ifDefined?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The field that, when defined on a child result, prevents this template from being applied.
|
|
28
|
+
*
|
|
29
|
+
* For example, a template with the following attribute only applies to child results whose `filetype` and `sourcetype` fields are NOT defined:
|
|
30
|
+
* `if-not-defined="filetype,sourcetype"`
|
|
31
|
+
*/
|
|
32
|
+
ifNotDefined?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The field and values that define which child results this template applies to.
|
|
35
|
+
*
|
|
36
|
+
* For example, a template with the following attribute only applies to child results whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype="lithiummessage,YouTubePlaylist"`
|
|
37
|
+
* @type {Record<string, string[]>}
|
|
38
|
+
* @default {}
|
|
39
|
+
*/
|
|
40
|
+
mustMatch: Record<string, string[]>;
|
|
41
|
+
/**
|
|
42
|
+
* The field and values that exclude child results from this template.
|
|
43
|
+
*
|
|
44
|
+
* For example, a template with the following attribute only applies to child results whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage"`
|
|
45
|
+
* @type {Record<string, string[]>}
|
|
46
|
+
* @default {}
|
|
47
|
+
*/
|
|
48
|
+
mustNotMatch: Record<string, string[]>;
|
|
49
|
+
private resultTemplateController;
|
|
50
|
+
constructor();
|
|
51
|
+
connectedCallback(): void;
|
|
52
|
+
render(): symbol;
|
|
53
|
+
/**
|
|
54
|
+
* Returns the result template to apply to a child result, based on all defined conditions.
|
|
55
|
+
*/
|
|
56
|
+
getTemplate(): Promise<InsightResultTemplate<DocumentFragment> | null>;
|
|
57
|
+
}
|
|
58
|
+
declare global {
|
|
59
|
+
interface HTMLElementTagNameMap {
|
|
60
|
+
'atomic-insight-result-children-template': AtomicInsightResultChildrenTemplate;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { InsightBindings } from
|
|
1
|
+
import { type RangeFacetSortCriterion, type SearchStatus, type SearchStatusState } from '@coveo/headless/insight';
|
|
2
|
+
import { type CSSResultGroup, LitElement } from 'lit';
|
|
3
|
+
import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
|
|
4
|
+
import type { InitializableComponent } from "../../../decorators/types";
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
+
* The `atomic-insight-timeframe-facet` component displays a facet of results for the current query as date intervals.
|
|
7
|
+
*
|
|
8
|
+
* @slot default - The atomic-timeframe components defining the timeframes to display.
|
|
9
|
+
*
|
|
10
|
+
* @part facet - The wrapper for the entire facet.
|
|
11
|
+
* @part placeholder - The placeholder shown before the first search is executed.
|
|
12
|
+
* @part label-button - The button that displays the label and allows to expand/collapse the facet.
|
|
13
|
+
* @part label-button-icon - The label button icon.
|
|
14
|
+
* @part clear-button - The button that resets the actively selected facet values.
|
|
15
|
+
* @part clear-button-icon - The clear button icon.
|
|
16
|
+
* @part values - The facet values container.
|
|
17
|
+
* @part value-link - A facet value button.
|
|
18
|
+
* @part value-link-selected - A selected facet value button.
|
|
19
|
+
* @part value-count - The result count for a facet value.
|
|
20
|
+
* @part value-label - The label text of a facet value.
|
|
21
|
+
* @part input-start - The starting value of the custom date range.
|
|
22
|
+
* @part input-end - The ending value of the custom date range.
|
|
23
|
+
* @part input-label - The label for both the start and end input.
|
|
24
|
+
* @part input-apply-button - The apply button for the custom range.
|
|
6
25
|
*/
|
|
7
|
-
export declare class AtomicInsightTimeframeFacet implements InitializableComponent<InsightBindings> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
facetForDatePicker?: InsightDateFacet;
|
|
11
|
-
private timeframeFacetCommon?;
|
|
12
|
-
filter?: InsightDateFilter;
|
|
13
|
-
searchStatus: InsightSearchStatus;
|
|
14
|
-
private host;
|
|
15
|
-
facetState: InsightDateFacetState;
|
|
16
|
-
facetForDatePickerState?: InsightDateFacetState;
|
|
17
|
-
filterState?: InsightDateFilterState;
|
|
18
|
-
searchStatusState: InsightSearchStatusState;
|
|
19
|
-
error: Error;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies a unique identifier for the facet.
|
|
22
|
-
*/
|
|
23
|
-
facetId?: string;
|
|
26
|
+
export declare class AtomicInsightTimeframeFacet extends LitElement implements InitializableComponent<InsightBindings> {
|
|
27
|
+
private static readonly propsSchema;
|
|
28
|
+
static styles: CSSResultGroup;
|
|
24
29
|
/**
|
|
25
30
|
* The non-localized label for the facet.
|
|
26
31
|
* Used in the atomic-breadbox component through the bindings store.
|
|
@@ -31,11 +36,11 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
|
|
|
31
36
|
*/
|
|
32
37
|
field: string;
|
|
33
38
|
/**
|
|
34
|
-
* Whether this facet should contain a
|
|
39
|
+
* Whether this facet should contain a datepicker allowing users to set custom ranges.
|
|
35
40
|
*/
|
|
36
41
|
withDatePicker: boolean;
|
|
37
42
|
/**
|
|
38
|
-
* Specifies
|
|
43
|
+
* Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
|
|
39
44
|
*/
|
|
40
45
|
isCollapsed: boolean;
|
|
41
46
|
/**
|
|
@@ -45,7 +50,6 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
|
|
|
45
50
|
/**
|
|
46
51
|
* Whether to exclude the parents of folded results when estimating the result count for each facet value.
|
|
47
52
|
*
|
|
48
|
-
*
|
|
49
53
|
* Note: Resulting count is only an estimation, in some cases this value could be incorrect.
|
|
50
54
|
*/
|
|
51
55
|
filterFacetCount: boolean;
|
|
@@ -80,14 +84,29 @@ export declare class AtomicInsightTimeframeFacet implements InitializableCompone
|
|
|
80
84
|
* The sort criterion to apply to the returned facet values.
|
|
81
85
|
* Possible values are 'ascending' and 'descending'.
|
|
82
86
|
*/
|
|
83
|
-
sortCriteria:
|
|
87
|
+
sortCriteria: RangeFacetSortCriterion;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies a unique identifier for the facet.
|
|
90
|
+
*/
|
|
91
|
+
facetId?: string;
|
|
92
|
+
bindings: InsightBindings;
|
|
93
|
+
error: Error;
|
|
94
|
+
searchStatusState: SearchStatusState;
|
|
95
|
+
searchStatus: SearchStatus;
|
|
84
96
|
private headerFocus?;
|
|
85
|
-
|
|
97
|
+
private timeframeFacetCommon?;
|
|
98
|
+
constructor();
|
|
86
99
|
private get focusTarget();
|
|
100
|
+
initialize(): void;
|
|
87
101
|
disconnectedCallback(): void;
|
|
88
102
|
private initializeFacetForDatePicker;
|
|
89
103
|
private initializeFacetForDateRange;
|
|
90
104
|
private initializeFilter;
|
|
91
|
-
|
|
92
|
-
render():
|
|
105
|
+
private handleDateInputApply;
|
|
106
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
107
|
+
}
|
|
108
|
+
declare global {
|
|
109
|
+
interface HTMLElementTagNameMap {
|
|
110
|
+
'atomic-insight-timeframe-facet': AtomicInsightTimeframeFacet;
|
|
111
|
+
}
|
|
93
112
|
}
|
|
@@ -15,10 +15,12 @@ export { AtomicInsightQuerySummary } from './atomic-insight-query-summary/atomic
|
|
|
15
15
|
export { AtomicInsightRefineModal } from './atomic-insight-refine-modal/atomic-insight-refine-modal.js';
|
|
16
16
|
export { AtomicInsightRefineToggle } from './atomic-insight-refine-toggle/atomic-insight-refine-toggle.js';
|
|
17
17
|
export { AtomicInsightResult } from './atomic-insight-result/atomic-insight-result.js';
|
|
18
|
+
export { AtomicInsightResultAction } from './atomic-insight-result-action/atomic-insight-result-action.js';
|
|
18
19
|
export { AtomicInsightResultActionBar } from './atomic-insight-result-action-bar/atomic-insight-result-action-bar.js';
|
|
19
20
|
export { AtomicInsightResultAttachToCaseAction } from './atomic-insight-result-attach-to-case-action/atomic-insight-result-attach-to-case-action.js';
|
|
20
21
|
export { AtomicInsightResultAttachToCaseIndicator } from './atomic-insight-result-attach-to-case-indicator/atomic-insight-result-attach-to-case-indicator.js';
|
|
21
22
|
export { AtomicInsightResultChildren } from './atomic-insight-result-children/atomic-insight-result-children.js';
|
|
23
|
+
export { AtomicInsightResultChildrenTemplate } from './atomic-insight-result-children-template/atomic-insight-result-children-template.js';
|
|
22
24
|
export { AtomicInsightResultList } from './atomic-insight-result-list/atomic-insight-result-list.js';
|
|
23
25
|
export { AtomicInsightResultQuickviewAction } from './atomic-insight-result-quickview-action/atomic-insight-result-quickview-action.js';
|
|
24
26
|
export { AtomicInsightResultTemplate } from './atomic-insight-result-template/atomic-insight-result-template.js';
|
|
@@ -28,6 +30,7 @@ export { AtomicInsightSmartSnippetFeedbackModal } from './atomic-insight-smart-s
|
|
|
28
30
|
export { AtomicInsightSmartSnippetSuggestions } from './atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js';
|
|
29
31
|
export { AtomicInsightTab } from './atomic-insight-tab/atomic-insight-tab.js';
|
|
30
32
|
export { AtomicInsightTabs } from './atomic-insight-tabs/atomic-insight-tabs.js';
|
|
33
|
+
export { AtomicInsightTimeframeFacet } from './atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.js';
|
|
31
34
|
export { AtomicInsightUserActionsModal } from './atomic-insight-user-actions-modal/atomic-insight-user-actions-modal.js';
|
|
32
35
|
export { AtomicInsightUserActionsSession } from './atomic-insight-user-actions-session/atomic-insight-user-actions-session.js';
|
|
33
36
|
export { AtomicInsightUserActionsTimeline } from './atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import type { AnyBindings } from "../../common/interface/bindings";
|
|
3
|
-
import { type AtomicInterface } from "../../../utils/initialization-
|
|
3
|
+
import { type AtomicInterface } from "../../../utils/initialization-common-utils";
|
|
4
4
|
declare const AtomicExternal_base: typeof LitElement;
|
|
5
5
|
/**
|
|
6
6
|
* The `atomic-external` component allows components defined outside of the `atomic-search-interface` to initialize.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type GeneratedAnswer, type SearchStatus, type TabManager, type TabManagerState } from '@coveo/headless';
|
|
1
|
+
import { type GeneratedAnswer, type GeneratedAnswerWithFollowUps, type SearchStatus, type TabManager, type TabManagerState } from '@coveo/headless';
|
|
2
2
|
import { LitElement, nothing, type PropertyValueMap } from 'lit';
|
|
3
3
|
import type { Bindings } from "../atomic-search-interface/atomic-search-interface";
|
|
4
4
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
5
|
+
import "../../common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.js";
|
|
5
6
|
/**
|
|
6
7
|
* The `atomic-generated-answer` component uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.
|
|
7
8
|
* For more information, see [About Relevance Generative Answering (RGA)](https://docs.coveo.com/en/n9de0370/)
|
|
@@ -113,7 +114,7 @@ export declare class AtomicGeneratedAnswer extends LitElement implements Initial
|
|
|
113
114
|
bindings: Bindings;
|
|
114
115
|
error: Error;
|
|
115
116
|
private generatedAnswerState;
|
|
116
|
-
generatedAnswer: GeneratedAnswer;
|
|
117
|
+
generatedAnswer: GeneratedAnswer | GeneratedAnswerWithFollowUps;
|
|
117
118
|
private searchStatusState;
|
|
118
119
|
searchStatus: SearchStatus;
|
|
119
120
|
tabManagerState: TabManagerState;
|
|
@@ -147,7 +148,15 @@ export declare class AtomicGeneratedAnswer extends LitElement implements Initial
|
|
|
147
148
|
private renderCitationsList;
|
|
148
149
|
private renderFeedbackAndCopyButtonsWrapper;
|
|
149
150
|
private renderAnswerContent;
|
|
151
|
+
private get hasAgentId();
|
|
152
|
+
private get generatedAnswerWithFollowUps();
|
|
153
|
+
private get areFollowUpsEnabled();
|
|
154
|
+
private get isCollapsibleEnabled();
|
|
155
|
+
private resetCollapsibleStyles;
|
|
150
156
|
private renderCardHeaderWrapper;
|
|
157
|
+
private get isAnswerGenerationOngoing();
|
|
158
|
+
private handleAskFollowUp;
|
|
159
|
+
private renderAskFollowUpInputWrapper;
|
|
151
160
|
}
|
|
152
161
|
declare global {
|
|
153
162
|
interface HTMLElementTagNameMap {
|