@coveo/atomic 3.50.0 → 3.52.0
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 +15081 -13083
- 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 -18
- package/dist/atomic/components/_index.js +97 -31
- 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 +166 -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-feedback-and-copy-buttons.js +4 -3
- 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 +444 -0
- package/dist/atomic/components/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tw.css.js +2 -0
- 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-attach-to-case-action/atomic-insight-result-attach-to-case-action.js +122 -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 +5 -0
- package/dist/atomic/components/components/insight/lazy-index.js +5 -0
- package/dist/atomic/components/components/ipx/atomic-ipx-button/atomic-ipx-button.js +1 -1
- package/dist/atomic/components/components/ipx/atomic-ipx-recs-list/atomic-ipx-recs-list.js +483 -0
- package/dist/atomic/components/components/ipx/atomic-ipx-refine-modal/atomic-ipx-refine-modal.js +202 -0
- package/dist/atomic/components/components/ipx/atomic-ipx-refine-toggle/atomic-ipx-refine-toggle.js +123 -0
- package/dist/atomic/components/components/ipx/index.js +3 -0
- package/dist/atomic/components/components/ipx/lazy-index.js +3 -0
- package/dist/atomic/components/components/recommendations/atomic-recs-result/atomic-recs-result.js +1 -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 +103 -10
- package/dist/atomic/components/components/search/atomic-refine-modal/atomic-refine-modal.js +2 -1
- 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 +11 -1
- 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/atomic-answer-content/atomic-answer-content.d.ts +50 -0
- 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-feedback-and-copy-buttons.d.ts +8 -2
- package/dist/types/components/common/item-list/table-layout.d.ts +1 -1
- package/dist/types/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.d.ts +54 -35
- package/dist/types/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tw.css.d.ts +2 -0
- 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-attach-to-case-action/atomic-insight-result-attach-to-case-action.d.ts +25 -20
- 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 +5 -0
- package/dist/types/components/ipx/atomic-ipx-button/atomic-ipx-button.d.ts +1 -1
- package/dist/types/components/ipx/atomic-ipx-recs-list/{atomic-recs-list/atomic-ipx-recs-list.d.ts → atomic-ipx-recs-list.d.ts} +43 -21
- package/dist/types/components/ipx/atomic-ipx-refine-modal/atomic-ipx-refine-modal.d.ts +62 -15
- package/dist/types/components/ipx/atomic-ipx-refine-toggle/atomic-ipx-refine-toggle.d.ts +26 -11
- package/dist/types/components/ipx/index.d.ts +3 -0
- package/dist/types/components/recommendations/atomic-recs-result/atomic-recs-result.d.ts +1 -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/search/atomic-refine-modal/atomic-refine-modal.d.ts +4 -3
- package/dist/types/components.d.ts +0 -547
- 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 -68
- 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/arrow-top-rounded.js +0 -7
- package/dist/atomic/components/arrow-top-rounded.js.map +0 -1
- package/dist/atomic/components/atomic-insight-generated-answer.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-generated-answer.js +0 -3264
- package/dist/atomic/components/atomic-insight-generated-answer.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 -155
- package/dist/atomic/components/atomic-insight-result-action.js.map +0 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +0 -102
- package/dist/atomic/components/atomic-insight-result-attach-to-case-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 -243
- 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 -726
- package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +0 -1
- package/dist/atomic/components/atomic-ipx-recs-list.d.ts +0 -11
- package/dist/atomic/components/atomic-ipx-recs-list.js +0 -631
- package/dist/atomic/components/atomic-ipx-recs-list.js.map +0 -1
- package/dist/atomic/components/atomic-ipx-refine-modal.d.ts +0 -11
- package/dist/atomic/components/atomic-ipx-refine-modal.js +0 -8
- package/dist/atomic/components/atomic-ipx-refine-modal.js.map +0 -1
- package/dist/atomic/components/atomic-ipx-refine-modal2.js +0 -162
- package/dist/atomic/components/atomic-ipx-refine-modal2.js.map +0 -1
- package/dist/atomic/components/atomic-ipx-refine-toggle.d.ts +0 -11
- package/dist/atomic/components/atomic-ipx-refine-toggle.js +0 -121
- package/dist/atomic/components/atomic-ipx-refine-toggle.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/attach.js +0 -115
- package/dist/atomic/components/attach.js.map +0 -1
- package/dist/atomic/components/components/common/layout/display-options.js +0 -28
- 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/popover-type.js +0 -12
- package/dist/atomic/components/popover-type.js.map +0 -1
- package/dist/atomic/components/props-utils.js +0 -57
- 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/components/stencil-heading.js +0 -169
- package/dist/atomic/components/stencil-heading.js.map +0 -1
- package/dist/atomic/components/stencil-iconButton.js +0 -16
- package/dist/atomic/components/stencil-iconButton.js.map +0 -1
- package/dist/atomic/components/store.js +0 -13
- package/dist/atomic/components/store.js.map +0 -1
- package/dist/atomic/components/utils.js +0 -1421
- package/dist/atomic/components/utils.js.map +0 -1
- package/dist/atomic/p-0698ccf1.entry.js +0 -2
- package/dist/atomic/p-0698ccf1.entry.js.map +0 -1
- package/dist/atomic/p-0f896350.entry.js +0 -2
- package/dist/atomic/p-0f896350.entry.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-4117289b.entry.js +0 -2
- package/dist/atomic/p-4117289b.entry.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-4a32511f.js +0 -2
- package/dist/atomic/p-4a32511f.js.map +0 -1
- package/dist/atomic/p-578d761c.js +0 -2
- package/dist/atomic/p-578d761c.js.map +0 -1
- package/dist/atomic/p-677f9c40.js +0 -2
- package/dist/atomic/p-677f9c40.js.map +0 -1
- package/dist/atomic/p-70cc18a1.js +0 -2
- package/dist/atomic/p-70cc18a1.js.map +0 -1
- package/dist/atomic/p-74210c4b.entry.js +0 -9
- package/dist/atomic/p-74210c4b.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-8b039c2e.entry.js +0 -2
- package/dist/atomic/p-8b039c2e.entry.js.map +0 -1
- package/dist/atomic/p-991e840f.entry.js +0 -2
- package/dist/atomic/p-991e840f.entry.js.map +0 -1
- package/dist/atomic/p-9c5ec170.js +0 -2
- package/dist/atomic/p-9c5ec170.js.map +0 -1
- package/dist/atomic/p-9dfe5ab1.js +0 -2
- package/dist/atomic/p-9dfe5ab1.js.map +0 -1
- package/dist/atomic/p-9f774145.entry.js +0 -2
- package/dist/atomic/p-9f774145.entry.js.map +0 -1
- package/dist/atomic/p-a33748a9.js +0 -2
- package/dist/atomic/p-a33748a9.js.map +0 -1
- package/dist/atomic/p-b09433bb.js +0 -3
- package/dist/atomic/p-b09433bb.js.map +0 -1
- package/dist/atomic/p-b4cfedf1.js +0 -2
- package/dist/atomic/p-b4cfedf1.js.map +0 -1
- package/dist/atomic/p-c81f1edb.entry.js +0 -2
- package/dist/atomic/p-c81f1edb.entry.js.map +0 -1
- package/dist/atomic/p-d75a4630.js +0 -2
- package/dist/atomic/p-d75a4630.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/atomic/p-ec1c5f46.js +0 -3
- package/dist/atomic/p-ec1c5f46.js.map +0 -1
- package/dist/atomic/p-eea2c139.entry.js +0 -2
- package/dist/atomic/p-eea2c139.entry.js.map +0 -1
- package/dist/atomic/p-f321aab0.js +0 -2
- package/dist/atomic/p-f321aab0.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/arrow-top-rounded-885250ea.js +0 -10
- package/dist/cjs/arrow-top-rounded-885250ea.js.map +0 -1
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +0 -3238
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js +0 -140
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +0 -90
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +0 -223
- 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 -700
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +0 -600
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +0 -143
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +0 -99
- package/dist/cjs/atomic-ipx-refine-toggle.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/attach-19283bec.js +0 -10
- package/dist/cjs/attach-19283bec.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-3532822e.js +0 -1448
- package/dist/cjs/index-3532822e.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-51a423fe.js +0 -148
- package/dist/cjs/initialization-utils-51a423fe.js.map +0 -1
- package/dist/cjs/popover-type-22f285e1.js +0 -16
- package/dist/cjs/popover-type-22f285e1.js.map +0 -1
- package/dist/cjs/props-utils-bc5feb04.js +0 -59
- package/dist/cjs/props-utils-bc5feb04.js.map +0 -1
- package/dist/cjs/stencil-button-f39da03e.js +0 -130
- package/dist/cjs/stencil-button-f39da03e.js.map +0 -1
- package/dist/cjs/stencil-heading-ecec9ab3.js +0 -174
- package/dist/cjs/stencil-heading-ecec9ab3.js.map +0 -1
- package/dist/cjs/stencil-iconButton-f8b9fda0.js +0 -18
- package/dist/cjs/stencil-iconButton-f8b9fda0.js.map +0 -1
- package/dist/cjs/stencil-result-template-decorators-1f099c15.js +0 -114
- package/dist/cjs/stencil-result-template-decorators-1f099c15.js.map +0 -1
- package/dist/cjs/store-70fff5e6.js +0 -16
- package/dist/cjs/store-70fff5e6.js.map +0 -1
- package/dist/cjs/utils-e845f262.js +0 -1431
- package/dist/cjs/utils-e845f262.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/arrow-top-rounded-745b84a6.js +0 -7
- package/dist/esm/arrow-top-rounded-745b84a6.js.map +0 -1
- package/dist/esm/atomic-insight-generated-answer.entry.js +0 -3234
- package/dist/esm/atomic-insight-generated-answer.entry.js.map +0 -1
- package/dist/esm/atomic-insight-result-action.entry.js +0 -136
- package/dist/esm/atomic-insight-result-action.entry.js.map +0 -1
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +0 -86
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js.map +0 -1
- package/dist/esm/atomic-insight-result-children-template.entry.js +0 -219
- package/dist/esm/atomic-insight-result-children-template.entry.js.map +0 -1
- package/dist/esm/atomic-insight-timeframe-facet.entry.js +0 -696
- package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +0 -1
- package/dist/esm/atomic-ipx-recs-list.entry.js +0 -596
- package/dist/esm/atomic-ipx-recs-list.entry.js.map +0 -1
- package/dist/esm/atomic-ipx-refine-modal.entry.js +0 -139
- package/dist/esm/atomic-ipx-refine-modal.entry.js.map +0 -1
- package/dist/esm/atomic-ipx-refine-toggle.entry.js +0 -95
- package/dist/esm/atomic-ipx-refine-toggle.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/attach-81bb8872.js +0 -8
- package/dist/esm/attach-81bb8872.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-3eb0b28e.js +0 -1417
- package/dist/esm/index-3eb0b28e.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-82d28c63.js +0 -144
- package/dist/esm/initialization-utils-82d28c63.js.map +0 -1
- package/dist/esm/popover-type-c85677ef.js +0 -12
- package/dist/esm/popover-type-c85677ef.js.map +0 -1
- package/dist/esm/props-utils-d343133b.js +0 -57
- package/dist/esm/props-utils-d343133b.js.map +0 -1
- package/dist/esm/stencil-button-c25899df.js +0 -128
- package/dist/esm/stencil-button-c25899df.js.map +0 -1
- package/dist/esm/stencil-heading-98a5f23f.js +0 -169
- package/dist/esm/stencil-heading-98a5f23f.js.map +0 -1
- package/dist/esm/stencil-iconButton-ed5804d3.js +0 -16
- package/dist/esm/stencil-iconButton-ed5804d3.js.map +0 -1
- package/dist/esm/stencil-result-template-decorators-9cbe1e1c.js +0 -110
- package/dist/esm/stencil-result-template-decorators-9cbe1e1c.js.map +0 -1
- package/dist/esm/store-50d170c8.js +0 -13
- package/dist/esm/store-50d170c8.js.map +0 -1
- package/dist/esm/utils-b5bab369.js +0 -1421
- package/dist/esm/utils-b5bab369.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
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
interface ResultChildrenGuardProps {
|
|
3
|
-
inheritTemplates: boolean;
|
|
4
|
-
resultTemplateRegistered: boolean;
|
|
5
|
-
templateHasError: boolean;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated should only be used for Stencil components.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ResultChildrenGuard: FunctionalComponent<ResultChildrenGuardProps>;
|
|
11
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
interface ShowHideButtonProps {
|
|
3
|
-
moreResultsAvailable: boolean;
|
|
4
|
-
loadFullCollection: () => void;
|
|
5
|
-
showInitialChildren: boolean;
|
|
6
|
-
toggleShowInitialChildren: () => void;
|
|
7
|
-
loadAllResults: string;
|
|
8
|
-
collapseResults: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated should only be used for Stencil components.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ShowHideButton: FunctionalComponent<ShowHideButtonProps>;
|
|
14
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ResultTemplate, ResultTemplateCondition } from '@coveo/headless';
|
|
2
|
-
export type TemplateContent = DocumentFragment;
|
|
3
|
-
interface ResultTemplateCommonProps {
|
|
4
|
-
allowEmpty?: boolean;
|
|
5
|
-
host: HTMLDivElement;
|
|
6
|
-
validParents: string[];
|
|
7
|
-
setError: (error: Error) => void;
|
|
8
|
-
}
|
|
9
|
-
type TemplateNodeType = 'section' | 'metadata' | 'table-column-definition' | 'other';
|
|
10
|
-
export declare function getTemplateNodeType(node: Node): TemplateNodeType;
|
|
11
|
-
export declare class ResultTemplateCommon {
|
|
12
|
-
private host;
|
|
13
|
-
matchConditions: ResultTemplateCondition[];
|
|
14
|
-
private gridCellLinkTarget;
|
|
15
|
-
constructor({ host, setError, validParents, allowEmpty, }: ResultTemplateCommonProps);
|
|
16
|
-
validateTemplate(host: HTMLDivElement, setError: (error: Error) => void, validParents: string[], allowEmpty?: boolean): void;
|
|
17
|
-
getTemplate(conditions: ResultTemplateCondition[], error: Error): ResultTemplate<TemplateContent> | null;
|
|
18
|
-
renderIfError(error: Error): any;
|
|
19
|
-
getDefaultLinkTemplateElement(): HTMLTemplateElement;
|
|
20
|
-
getLinkTemplateElement(host: HTMLElement): HTMLTemplateElement;
|
|
21
|
-
}
|
|
22
|
-
export declare function makeMatchConditions(mustMatch: Record<string, string[]>, mustNotMatch: Record<string, string[]>): ResultTemplateCondition[];
|
|
23
|
-
export declare function makeDefinedConditions(ifDefined?: string, ifNotDefined?: string): ResultTemplateCondition[];
|
|
24
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
interface Props {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
onFocusout?: (event: FocusEvent) => void;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated should only be used for Stencil components.
|
|
8
|
-
*/
|
|
9
|
-
export declare const SearchBoxWrapper: FunctionalComponent<Props>;
|
|
10
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { JSXBase } from '../../../stencil-public-runtime';
|
|
3
|
-
import { AnyBindings } from '../interface/bindings';
|
|
4
|
-
interface Props extends JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
5
|
-
textAreaRef: HTMLTextAreaElement;
|
|
6
|
-
loading: boolean;
|
|
7
|
-
bindings: AnyBindings;
|
|
8
|
-
value: string;
|
|
9
|
-
ariaLabel: string;
|
|
10
|
-
onClear(): void;
|
|
11
|
-
popup?: {
|
|
12
|
-
id: string;
|
|
13
|
-
activeDescendant: string;
|
|
14
|
-
expanded: boolean;
|
|
15
|
-
hasSuggestions: boolean;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated should only be used for Stencil components.
|
|
20
|
-
*/
|
|
21
|
-
export declare const SearchTextArea: FunctionalComponent<Props>;
|
|
22
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { AnyBindings } from '../interface/bindings';
|
|
3
|
-
interface Props {
|
|
4
|
-
bindings: AnyBindings;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated should only be used for Stencil components.
|
|
10
|
-
*/
|
|
11
|
-
export declare const SubmitButton: FunctionalComponent<Props>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { AnyBindings } from '../interface/bindings';
|
|
3
|
-
import { StencilButtonProps } from '../stencil-button';
|
|
4
|
-
interface Props extends Partial<StencilButtonProps> {
|
|
5
|
-
bindings: AnyBindings;
|
|
6
|
-
inputRef: HTMLInputElement | HTMLTextAreaElement | null;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated should only be used for Stencil components.
|
|
10
|
-
*/
|
|
11
|
-
export declare const TextAreaClearButton: FunctionalComponent<Props>;
|
|
12
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../../stencil-public-runtime';
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated should only be used for Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export declare const SmartSnippetWrapper: FunctionalComponent<{
|
|
7
|
-
headingLevel?: number;
|
|
8
|
-
i18n: i18n;
|
|
9
|
-
}>;
|
|
10
|
-
interface SmartSnippetQuestionProps {
|
|
11
|
-
headingLevel?: number;
|
|
12
|
-
question: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated should only be used for Stencil components.
|
|
16
|
-
*/
|
|
17
|
-
export declare const SmartSnippetQuestion: FunctionalComponent<SmartSnippetQuestionProps>;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated should only be used for Stencil components.
|
|
20
|
-
*/
|
|
21
|
-
export declare const SmartSnippetTruncatedAnswer: FunctionalComponent<{
|
|
22
|
-
answer: string;
|
|
23
|
-
style?: string;
|
|
24
|
-
}>;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated should only be used for Stencil components.
|
|
27
|
-
*/
|
|
28
|
-
export declare const SmartSnippetFooter: FunctionalComponent<{
|
|
29
|
-
i18n: i18n;
|
|
30
|
-
}>;
|
|
31
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { SmartSnippetFeedback } from '@coveo/headless';
|
|
2
|
-
import { FunctionalComponent } from '../../../../stencil-public-runtime';
|
|
3
|
-
import { i18n } from 'i18next';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated should only be used for Stencil components.
|
|
6
|
-
*/
|
|
7
|
-
export declare const SmartSnippetFeedbackModalHeader: FunctionalComponent<{
|
|
8
|
-
i18n: i18n;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated should only be used for Stencil components.
|
|
12
|
-
*/
|
|
13
|
-
export declare const SmartSnippetFeedbackModalBody: FunctionalComponent<{
|
|
14
|
-
formId: string;
|
|
15
|
-
onSubmit: (e: Event) => void;
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated should only be used for Stencil components.
|
|
19
|
-
*/
|
|
20
|
-
export declare const SmartSnippetFeebackModalOptions: FunctionalComponent<{
|
|
21
|
-
i18n: i18n;
|
|
22
|
-
}>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated should only be used for Stencil components.
|
|
25
|
-
*/
|
|
26
|
-
export declare const SmartSnippetFeedbackModalOption: FunctionalComponent<{
|
|
27
|
-
correspondingAnswer: SmartSnippetFeedback | 'other';
|
|
28
|
-
currentAnswer?: SmartSnippetFeedback | 'other';
|
|
29
|
-
i18n: i18n;
|
|
30
|
-
id: string;
|
|
31
|
-
localeKey: string;
|
|
32
|
-
onChange: (e: Event) => void;
|
|
33
|
-
}>;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated should only be used for Stencil components.
|
|
36
|
-
*/
|
|
37
|
-
export declare const SmartSnippetFeedbackModalDetails: FunctionalComponent<{
|
|
38
|
-
currentAnswer?: SmartSnippetFeedback | 'other';
|
|
39
|
-
i18n: i18n;
|
|
40
|
-
setDetailsInputRef: (ref?: HTMLTextAreaElement) => void;
|
|
41
|
-
}>;
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated should only be used for Stencil components.
|
|
44
|
-
*/
|
|
45
|
-
export declare const SmartSnippetFeedbackModalFooter: FunctionalComponent<{
|
|
46
|
-
formId: string;
|
|
47
|
-
i18n: i18n;
|
|
48
|
-
onClick: (e: MouseEvent) => void;
|
|
49
|
-
}>;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated should only be used for Stencil components.
|
|
52
|
-
*/
|
|
53
|
-
export declare const smartSnippetFeedbackOptions: {
|
|
54
|
-
id: string;
|
|
55
|
-
localeKey: string;
|
|
56
|
-
correspondingAnswer: SmartSnippetFeedback | 'other';
|
|
57
|
-
}[];
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../../stencil-public-runtime';
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated should only be used for Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export declare const SmartSnippetSuggestionsWrapper: FunctionalComponent<{
|
|
7
|
-
headingLevel: number;
|
|
8
|
-
i18n: i18n;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated should only be used for Stencil components.
|
|
12
|
-
*/
|
|
13
|
-
export declare const SmartSnippetSuggestionsQuestionWrapper: FunctionalComponent<{
|
|
14
|
-
expanded: boolean;
|
|
15
|
-
key: string;
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated should only be used for Stencil components.
|
|
19
|
-
*/
|
|
20
|
-
export declare const SmartSnippetSuggestionsQuestion: FunctionalComponent<{
|
|
21
|
-
ariaControls: string;
|
|
22
|
-
expanded: boolean;
|
|
23
|
-
headingLevel?: number;
|
|
24
|
-
onClick: (event: MouseEvent) => void;
|
|
25
|
-
question: string;
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated should only be used for Stencil components.
|
|
29
|
-
*/
|
|
30
|
-
export declare const SmartSnippetSuggestionsAnswerAndSourceWrapper: FunctionalComponent<{
|
|
31
|
-
expanded: boolean;
|
|
32
|
-
id: string;
|
|
33
|
-
}>;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated should only be used for Stencil components.
|
|
36
|
-
*/
|
|
37
|
-
export declare const SmartSnippetSuggestionsFooter: FunctionalComponent<{
|
|
38
|
-
i18n: i18n;
|
|
39
|
-
}>;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated should only be used for Stencil components.
|
|
42
|
-
*/
|
|
43
|
-
export declare const getQuestionPart: (base: string, expanded: boolean) => string;
|
package/dist/types/components/common/smart-snippets/stencil-smart-snippet-feedback-banner.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
interface SmartSnippetFeedbackBannerProps {
|
|
4
|
-
i18n: i18n;
|
|
5
|
-
id: string;
|
|
6
|
-
liked: boolean;
|
|
7
|
-
disliked: boolean;
|
|
8
|
-
feedbackSent: boolean;
|
|
9
|
-
onLike(): void;
|
|
10
|
-
onDislike(): void;
|
|
11
|
-
onPressExplainWhy(): void;
|
|
12
|
-
explainWhyRef?(element?: HTMLButtonElement): void;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated should only be used for Stencil components.
|
|
16
|
-
*/
|
|
17
|
-
export declare const SmartSnippetFeedbackBanner: FunctionalComponent<SmartSnippetFeedbackBannerProps>;
|
|
18
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type ButtonStyle = 'primary' | 'outline-primary' | 'outline-neutral' | 'outline-error' | 'outline-bg-neutral' | 'outline-bg-error' | 'text-primary' | 'text-neutral' | 'text-transparent' | 'square-neutral';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated Should only be used for Stencil components; for Lit components, use the button-style.ts
|
|
4
|
-
* This file is required to be in a tsx file to be able to use it in Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export declare function getClassNameForButtonStyle(buttonStyle: ButtonStyle): "btn-primary" | "btn-outline-primary" | "btn-outline-neutral" | "btn-outline-error" | "btn-outline-bg-neutral" | "btn-outline-bg-error" | "btn-text-primary" | "btn-text-neutral" | "btn-text-transparent" | "btn-square-neutral";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Should only be used for Stencil components; for Lit components, use the button-style.ts
|
|
9
|
-
* This file is required to be in a tsx file to be able to use it in Stencil components.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getRippleColorForButtonStyle(buttonStyle: ButtonStyle): "primary" | "neutral-light" | "neutral";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
import { ButtonStyle } from './stencil-button-style';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated should only be used for Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export interface StencilButtonProps {
|
|
7
|
-
style: ButtonStyle;
|
|
8
|
-
onClick?(event?: MouseEvent): void;
|
|
9
|
-
class?: string;
|
|
10
|
-
text?: string;
|
|
11
|
-
part?: string;
|
|
12
|
-
type?: string;
|
|
13
|
-
form?: string;
|
|
14
|
-
role?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
ariaLabel?: string;
|
|
17
|
-
ariaExpanded?: string;
|
|
18
|
-
ariaPressed?: string;
|
|
19
|
-
ariaChecked?: string;
|
|
20
|
-
ariaCurrent?: string;
|
|
21
|
-
ariaControls?: string;
|
|
22
|
-
ariaHidden?: string;
|
|
23
|
-
tabIndex?: string;
|
|
24
|
-
title?: string;
|
|
25
|
-
ref?(element?: HTMLButtonElement): void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated should only be used for Stencil components.
|
|
29
|
-
*/
|
|
30
|
-
export declare const Button: FunctionalComponent<StencilButtonProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
import { JSXBase } from '../../stencil-public-runtime';
|
|
3
|
-
import { AnyBindings } from './interface/bindings.js';
|
|
4
|
-
interface CarouselProps {
|
|
5
|
-
bindings: AnyBindings;
|
|
6
|
-
previousPage(): void;
|
|
7
|
-
nextPage(): void;
|
|
8
|
-
numberOfPages: number;
|
|
9
|
-
currentPage: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated should only be used for Stencil components.
|
|
13
|
-
*/
|
|
14
|
-
export declare const Carousel: FunctionalComponent<CarouselProps & JSXBase.HTMLAttributes<HTMLHeadingElement>>;
|
|
15
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated should only be used for Stencil components.
|
|
4
|
-
*/
|
|
5
|
-
export interface StencilCheckboxProps {
|
|
6
|
-
checked: boolean;
|
|
7
|
-
onToggle(checked: boolean): void;
|
|
8
|
-
key?: string | number;
|
|
9
|
-
id?: string;
|
|
10
|
-
class?: string;
|
|
11
|
-
text?: string;
|
|
12
|
-
part?: string;
|
|
13
|
-
iconPart?: string;
|
|
14
|
-
ariaLabel?: string;
|
|
15
|
-
ariaCurrent?: string;
|
|
16
|
-
ref?(element?: HTMLElement): void;
|
|
17
|
-
onMouseDown?(evt: MouseEvent): void;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated should only be used for Stencil components.
|
|
21
|
-
*/
|
|
22
|
-
export declare const StencilCheckbox: FunctionalComponent<StencilCheckboxProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
interface GroupProps {
|
|
3
|
-
label: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated should only be used for Stencil components.
|
|
7
|
-
*/
|
|
8
|
-
export declare const FieldsetGroup: FunctionalComponent<GroupProps>;
|
|
9
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
import { JSXBase } from '../../stencil-public-runtime';
|
|
3
|
-
import { HeadingProps } from './heading';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated should only be used for Stencil components.
|
|
6
|
-
*/
|
|
7
|
-
export declare const Heading: FunctionalComponent<Pick<HeadingProps, 'level'> & JSXBase.HTMLAttributes<HTMLHeadingElement>>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent, VNode } from '../../stencil-public-runtime';
|
|
2
|
-
import { StencilButtonProps } from './stencil-button';
|
|
3
|
-
interface IconButtonProps extends StencilButtonProps {
|
|
4
|
-
badge?: VNode;
|
|
5
|
-
buttonRef?: (el?: HTMLButtonElement) => void;
|
|
6
|
-
icon: string;
|
|
7
|
-
partPrefix: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated should only be used for Stencil components.
|
|
11
|
-
*/
|
|
12
|
-
export declare const IconButton: FunctionalComponent<IconButtonProps>;
|
|
13
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
import { RadioButtonProps } from './radio-button';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated should only be used for Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export interface StencilRadioButtonProps extends Omit<RadioButtonProps, 'ref'> {
|
|
7
|
-
ref?(element?: HTMLInputElement): void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated should only be used for Stencil components.
|
|
11
|
-
*/
|
|
12
|
-
export declare const RadioButton: FunctionalComponent<StencilRadioButtonProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
-
interface SwitchProps {
|
|
3
|
-
checked?: boolean;
|
|
4
|
-
onToggle?(checked: boolean): void;
|
|
5
|
-
ariaLabel?: string;
|
|
6
|
-
part?: string;
|
|
7
|
-
tabIndex?: number;
|
|
8
|
-
title?: string;
|
|
9
|
-
withToggle?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated should only be used for Stencil components.
|
|
13
|
-
*/
|
|
14
|
-
export declare const Switch: FunctionalComponent<SwitchProps>;
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FacetValueState } from '@coveo/headless';
|
|
2
|
-
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
3
|
-
import { StencilCheckboxProps } from './stencil-checkbox';
|
|
4
|
-
type TriStateCheckboxProps = Omit<StencilCheckboxProps, 'checked'> & {
|
|
5
|
-
state: FacetValueState;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated should only be used for Stencil components.
|
|
9
|
-
*/
|
|
10
|
-
export declare const TriStateCheckbox: FunctionalComponent<TriStateCheckboxProps>;
|
|
11
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
import { SearchBoxSuggestionElement } from './suggestions-types';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated should only be used for Stencil components.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getPartialInstantItemElement: (i18n: i18n, itemTitle: string, itemUniqueId: string) => Pick<SearchBoxSuggestionElement, "ariaLabel" | "key" | "part">;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated should only be used for Stencil components.
|
|
10
|
-
*/
|
|
11
|
-
export declare const getPartialInstantItemShowAllElement: (i18n: i18n) => Pick<SearchBoxSuggestionElement, "key" | "part" | "ariaLabel">;
|
|
12
|
-
interface InstantItemShowAllButtonProps {
|
|
13
|
-
i18n: i18n;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated should only be used for Stencil components.
|
|
17
|
-
*/
|
|
18
|
-
export declare const InstantItemShowAllButton: FunctionalComponent<InstantItemShowAllButtonProps>;
|
|
19
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
import { SearchBoxSuggestionElement } from './suggestions-types.js';
|
|
4
|
-
interface Suggestion {
|
|
5
|
-
highlightedValue: string;
|
|
6
|
-
rawValue: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated should only be used for Stencil components.
|
|
10
|
-
*/
|
|
11
|
-
export declare const getPartialSearchBoxSuggestionElement: (suggestion: Suggestion, i18n: i18n) => Pick<SearchBoxSuggestionElement, "ariaLabel" | "key" | "query" | "part">;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated should only be used for Stencil components.
|
|
14
|
-
*/
|
|
15
|
-
export declare const QuerySuggestionContainer: FunctionalComponent;
|
|
16
|
-
interface QuerySuggestionIconProps {
|
|
17
|
-
icon: string;
|
|
18
|
-
hasSuggestion: boolean;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated should only be used for Stencil components.
|
|
22
|
-
*/
|
|
23
|
-
export declare const QuerySuggestionIcon: FunctionalComponent<QuerySuggestionIconProps>;
|
|
24
|
-
interface QuerySuggestionTextProps {
|
|
25
|
-
suggestion: Suggestion;
|
|
26
|
-
hasQuery: boolean;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated should only be used for Stencil components.
|
|
30
|
-
*/
|
|
31
|
-
export declare const QuerySuggestionText: FunctionalComponent<QuerySuggestionTextProps>;
|
|
32
|
-
export {};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import type { SearchBoxSuggestionElement, SearchBoxSuggestionsBindings, SearchBoxSuggestionsEvent } from './suggestions-types';
|
|
2
|
-
/**
|
|
3
|
-
* List of suggestions that will be displayed along other lists (for example, recent queries) when the search box's input is selected.
|
|
4
|
-
*/
|
|
5
|
-
export interface SearchBoxSuggestions {
|
|
6
|
-
/**
|
|
7
|
-
* The search box will sort the position of suggestions using this value, the lowest value being first.
|
|
8
|
-
* By default, the DOM position will be used.
|
|
9
|
-
*/
|
|
10
|
-
position: number;
|
|
11
|
-
/**
|
|
12
|
-
* Whether the suggestions should be listed in the right or left panel. By default, the suggestions are listed in the right panel.
|
|
13
|
-
*/
|
|
14
|
-
panel?: 'left' | 'right';
|
|
15
|
-
/**
|
|
16
|
-
* Method that returns the list of elements which will be rendered in the list of suggestions.
|
|
17
|
-
*/
|
|
18
|
-
renderItems(): SearchBoxSuggestionElement[];
|
|
19
|
-
/**
|
|
20
|
-
* Hook called when the user changes the search box's input value. This can lead to all the query suggestions being updated.
|
|
21
|
-
*/
|
|
22
|
-
onInput?(): Promise<unknown>;
|
|
23
|
-
/**
|
|
24
|
-
* Hook called when the current suggested query changes as the user navigates the list of suggestions.
|
|
25
|
-
* This is used for instant results, which are rendered based on the current suggested query.
|
|
26
|
-
* @param q The new current suggested query.
|
|
27
|
-
*/
|
|
28
|
-
onSuggestedQueryChange?(q: string): Promise<unknown>;
|
|
29
|
-
}
|
|
30
|
-
interface SearchBoxProps {
|
|
31
|
-
getSearchBoxValue: () => string;
|
|
32
|
-
updateQuery: (suggestedQuery: string) => void;
|
|
33
|
-
getSuggestionTimeout: () => number;
|
|
34
|
-
getNumberOfSuggestionsToDisplay: () => number;
|
|
35
|
-
getSuggestionDelay: () => number;
|
|
36
|
-
getLogger: () => Pick<typeof console, 'warn'>;
|
|
37
|
-
getHost: () => HTMLElement;
|
|
38
|
-
}
|
|
39
|
-
export declare class SuggestionManager<SearchBoxController> {
|
|
40
|
-
private ownerSearchBoxProps;
|
|
41
|
-
suggestions: SearchBoxSuggestions[];
|
|
42
|
-
leftSuggestionElements: SearchBoxSuggestionElement[];
|
|
43
|
-
rightSuggestionElements: SearchBoxSuggestionElement[];
|
|
44
|
-
leftPanel: HTMLElement | undefined;
|
|
45
|
-
rightPanel: HTMLElement | undefined;
|
|
46
|
-
triggerSuggestions: () => Promise<void>;
|
|
47
|
-
activeDescendant: string;
|
|
48
|
-
suggestedQuery: string;
|
|
49
|
-
keyboardActiveDescendant: string;
|
|
50
|
-
private queryDataAttribute;
|
|
51
|
-
private suggestionEvents;
|
|
52
|
-
private previousActiveDescendantElement;
|
|
53
|
-
private leftSuggestions;
|
|
54
|
-
private rightSuggestions;
|
|
55
|
-
constructor(ownerSearchBoxProps: SearchBoxProps);
|
|
56
|
-
get partialSuggestionBindings(): Pick<SearchBoxSuggestionsBindings<SearchBoxController>, 'suggestedQuery' | 'clearSuggestions' | 'triggerSuggestions' | 'getSuggestions' | 'getSuggestionElements'>;
|
|
57
|
-
get activeDescendantElement(): HTMLElement | null;
|
|
58
|
-
onSubmit(): void;
|
|
59
|
-
updateActiveDescendant(id?: string): void;
|
|
60
|
-
updateKeyboardActiveDescendant(id?: string): void;
|
|
61
|
-
clickOnActiveElement(): void;
|
|
62
|
-
isRightPanelInFocus(): boolean;
|
|
63
|
-
initializeSuggestions(bindings: SearchBoxSuggestionsBindings<SearchBoxController>): void;
|
|
64
|
-
registerSuggestionsFromEvent(event: CustomEvent<SearchBoxSuggestionsEvent<SearchBoxController>>, bindings: SearchBoxSuggestionsBindings<SearchBoxController>): void;
|
|
65
|
-
registerSuggestions(suggestions: SearchBoxSuggestions): void;
|
|
66
|
-
get isDoubleList(): boolean;
|
|
67
|
-
focusPanel(side: 'left' | 'right'): void;
|
|
68
|
-
clearSuggestions(): void;
|
|
69
|
-
focusNextValue(): Promise<void>;
|
|
70
|
-
focusValue(value: HTMLElement): Promise<void>;
|
|
71
|
-
onSuggestionMouseOver(item: SearchBoxSuggestionElement, side: 'left' | 'right', id: string): Promise<void>;
|
|
72
|
-
onSuggestionClick(item: SearchBoxSuggestionElement, e: Event): Promise<void>;
|
|
73
|
-
get hasSuggestions(): boolean;
|
|
74
|
-
get allSuggestionElements(): SearchBoxSuggestionElement[];
|
|
75
|
-
focusPreviousValue(): Promise<void>;
|
|
76
|
-
get hasActiveDescendant(): boolean;
|
|
77
|
-
private executeQuerySuggestion;
|
|
78
|
-
private get lastValue();
|
|
79
|
-
private get previousOrLastValue();
|
|
80
|
-
private sortSuggestions;
|
|
81
|
-
private get nextOrFirstValue();
|
|
82
|
-
private get firstValue();
|
|
83
|
-
private get panelInFocus();
|
|
84
|
-
private scrollActiveDescendantIntoView;
|
|
85
|
-
private updateQueryFromSuggestion;
|
|
86
|
-
private updateOwnerSearchboxQuery;
|
|
87
|
-
private updateSuggestedQuery;
|
|
88
|
-
private updateSuggestionElements;
|
|
89
|
-
forceUpdate(): void;
|
|
90
|
-
private isPanelInFocus;
|
|
91
|
-
private getAndFilterLeftSuggestionElements;
|
|
92
|
-
private getSuggestionElements;
|
|
93
|
-
private updateDescendants;
|
|
94
|
-
private clearSuggestionElements;
|
|
95
|
-
}
|
|
96
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ResultTemplate, ResultTemplateCondition } from '@coveo/headless';
|
|
2
|
-
import { ResultTemplateCommon } from '../../../common/result-templates/stencil-result-template-common';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class AtomicInsightResultChildrenTemplate {
|
|
7
|
-
host: HTMLDivElement;
|
|
8
|
-
error: Error;
|
|
9
|
-
/**
|
|
10
|
-
* A function that must return true on results for the result template to apply.
|
|
11
|
-
* Set programmatically before initialization, not via attribute.
|
|
12
|
-
*
|
|
13
|
-
* For example, the following targets a template and sets a condition to make it apply only to results whose `title` contains `singapore`:
|
|
14
|
-
* `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`
|
|
15
|
-
*/
|
|
16
|
-
conditions: ResultTemplateCondition[];
|
|
17
|
-
/**
|
|
18
|
-
* The field that, when defined on a result item, would allow the template to be applied.
|
|
19
|
-
*
|
|
20
|
-
* For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are defined: `if-defined="filetype,sourcetype"`
|
|
21
|
-
*/
|
|
22
|
-
ifDefined?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The field that, when defined on a result item, would prevent the template from being applied.
|
|
25
|
-
*
|
|
26
|
-
* 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"`
|
|
27
|
-
*/
|
|
28
|
-
ifNotDefined?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The field and values that define which result items the condition must be applied to.
|
|
31
|
-
*
|
|
32
|
-
* For example, a template with the following attribute only applies to result items whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype="lithiummessage,YouTubePlaylist"`
|
|
33
|
-
*/
|
|
34
|
-
mustMatch: Record<string, string[]>;
|
|
35
|
-
/**
|
|
36
|
-
* The field and values that define which result items the condition must not be applied to.
|
|
37
|
-
*
|
|
38
|
-
* For example, a template with the following attribute only applies to result items whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage"`
|
|
39
|
-
*/
|
|
40
|
-
mustNotMatch: Record<string, string[]>;
|
|
41
|
-
resultTemplateCommon: ResultTemplateCommon;
|
|
42
|
-
constructor();
|
|
43
|
-
connectedCallback(): void;
|
|
44
|
-
componentWillLoad(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Gets the appropriate result template based on conditions applied.
|
|
47
|
-
*/
|
|
48
|
-
getTemplate(): Promise<ResultTemplate<DocumentFragment> | null>;
|
|
49
|
-
render(): any;
|
|
50
|
-
}
|
package/dist/types/components/search/facets/facet-segmented-value/stencil-facet-segmented-value.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FunctionalComponent } from '../../../../stencil-public-runtime';
|
|
2
|
-
import { FacetValueProps } from '../../../common/facets/stencil-facet-common';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated should only be used for Stencil components.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FacetSegmentedValue: FunctionalComponent<FacetValueProps>;
|