@coveo/atomic-angular 3.7.6-pre.eb8036345b → 3.7.6-pre.ebbb6c85a7
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.
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
|
-
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml,
|
|
7
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, defineCustomElementAtomicQuerySummary, defineCustomElementAtomicQuickview, defineCustomElementAtomicQuickviewModal, defineCustomElementAtomicRatingFacet, defineCustomElementAtomicRatingRangeFacet, defineCustomElementAtomicRecsError, defineCustomElementAtomicRecsInterface, defineCustomElementAtomicRecsList, defineCustomElementAtomicRecsResult, defineCustomElementAtomicRecsResultTemplate, defineCustomElementAtomicRefineModal, defineCustomElementAtomicRefineToggle, defineCustomElementAtomicRelevanceInspector, defineCustomElementAtomicResult, defineCustomElementAtomicResultBadge, defineCustomElementAtomicResultChildren, defineCustomElementAtomicResultChildrenTemplate, defineCustomElementAtomicResultDate, defineCustomElementAtomicResultFieldsList, defineCustomElementAtomicResultHtml, defineCustomElementAtomicResultIcon, defineCustomElementAtomicResultImage, defineCustomElementAtomicResultLink, defineCustomElementAtomicResultList, defineCustomElementAtomicResultLocalizedText, defineCustomElementAtomicResultMultiValueText, defineCustomElementAtomicResultNumber, defineCustomElementAtomicResultPrintableUri, defineCustomElementAtomicResultRating, defineCustomElementAtomicResultSectionActions, defineCustomElementAtomicResultSectionBadges, defineCustomElementAtomicResultSectionBottomMetadata, defineCustomElementAtomicResultSectionChildren, defineCustomElementAtomicResultSectionEmphasized, defineCustomElementAtomicResultSectionExcerpt, defineCustomElementAtomicResultSectionTitle, defineCustomElementAtomicResultSectionTitleMetadata, defineCustomElementAtomicResultSectionVisual, defineCustomElementAtomicResultTemplate, defineCustomElementAtomicResultText, defineCustomElementAtomicResultTimespan, defineCustomElementAtomicSearchBox, defineCustomElementAtomicSearchBoxInstantResults, defineCustomElementAtomicSearchBoxQuerySuggestions, defineCustomElementAtomicSearchBoxRecentQueries, defineCustomElementAtomicSearchInterface, defineCustomElementAtomicSegmentedFacet, defineCustomElementAtomicSegmentedFacetScrollable, defineCustomElementAtomicSmartSnippet, defineCustomElementAtomicSmartSnippetFeedbackModal, defineCustomElementAtomicSmartSnippetSuggestions, defineCustomElementAtomicSortDropdown, defineCustomElementAtomicSortExpression, defineCustomElementAtomicTab, defineCustomElementAtomicTabManager, defineCustomElementAtomicTableElement, defineCustomElementAtomicText, defineCustomElementAtomicTimeframe, defineCustomElementAtomicTimeframeFacet, AtomicCommerceBreadbox as AtomicCommerceBreadbox$1, AtomicCommerceCategoryFacet as AtomicCommerceCategoryFacet$1, AtomicCommerceDidYouMean as AtomicCommerceDidYouMean$1, AtomicCommerceFacet as AtomicCommerceFacet$1, AtomicCommerceFacets as AtomicCommerceFacets$1, AtomicCommerceInterface as AtomicCommerceInterface$1, AtomicCommerceLayout as AtomicCommerceLayout$1, AtomicCommerceLoadMoreProducts as AtomicCommerceLoadMoreProducts$1, AtomicCommerceNoProducts as AtomicCommerceNoProducts$1, AtomicCommerceNumericFacet as AtomicCommerceNumericFacet$1, AtomicCommercePager as AtomicCommercePager$1, AtomicCommerceProductList as AtomicCommerceProductList$1, AtomicCommerceProductsPerPage as AtomicCommerceProductsPerPage$1, AtomicCommerceQueryError as AtomicCommerceQueryError$1, AtomicCommerceQuerySummary as AtomicCommerceQuerySummary$1, AtomicCommerceRecommendationInterface as AtomicCommerceRecommendationInterface$1, AtomicCommerceRecommendationList as AtomicCommerceRecommendationList$1, AtomicCommerceRefineModal as AtomicCommerceRefineModal$1, AtomicCommerceRefineToggle as AtomicCommerceRefineToggle$1, AtomicCommerceSearchBoxInstantProducts as AtomicCommerceSearchBoxInstantProducts$1, AtomicCommerceSearchBoxQuerySuggestions as AtomicCommerceSearchBoxQuerySuggestions$1, AtomicCommerceSearchBoxRecentQueries as AtomicCommerceSearchBoxRecentQueries$1, AtomicCommerceSearchBox as AtomicCommerceSearchBox$1, AtomicCommerceSortDropdown as AtomicCommerceSortDropdown$1, AtomicCommerceText as AtomicCommerceText$1, AtomicCommerceTimeframeFacet as AtomicCommerceTimeframeFacet$1, AtomicProductChildren as AtomicProductChildren$1, AtomicProductDescription as AtomicProductDescription$1, AtomicProductExcerpt as AtomicProductExcerpt$1, AtomicProductFieldCondition as AtomicProductFieldCondition$1, AtomicProductImage as AtomicProductImage$1, AtomicProductLink as AtomicProductLink$1, AtomicProductMultiValueText as AtomicProductMultiValueText$1, AtomicProductNumericFieldValue as AtomicProductNumericFieldValue$1, AtomicProductPrice as AtomicProductPrice$1, AtomicProductRating as AtomicProductRating$1, AtomicProductSectionActions as AtomicProductSectionActions$1, AtomicProductSectionBadges as AtomicProductSectionBadges$1, AtomicProductSectionBottomMetadata as AtomicProductSectionBottomMetadata$1, AtomicProductSectionChildren as AtomicProductSectionChildren$1, AtomicProductSectionDescription as AtomicProductSectionDescription$1, AtomicProductSectionEmphasized as AtomicProductSectionEmphasized$1, AtomicProductSectionMetadata as AtomicProductSectionMetadata$1, AtomicProductSectionName as AtomicProductSectionName$1, AtomicProductSectionVisual as AtomicProductSectionVisual$1, AtomicProductTemplate as AtomicProductTemplate$1, AtomicProductText as AtomicProductText$1, AtomicProduct as AtomicProduct$1, AtomicAriaLive as AtomicAriaLive$1, AtomicComponentError as AtomicComponentError$1, AtomicIcon as AtomicIcon$1, AtomicLayoutSection as AtomicLayoutSection$1, AtomicInsightInterface as AtomicInsightInterface$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -550,34 +550,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
550
550
|
inputs: ['sanitize', 'value'],
|
|
551
551
|
}]
|
|
552
552
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
553
|
-
let AtomicInsightInterface = class AtomicInsightInterface {
|
|
554
|
-
z;
|
|
555
|
-
el;
|
|
556
|
-
constructor(c, r, z) {
|
|
557
|
-
this.z = z;
|
|
558
|
-
c.detach();
|
|
559
|
-
this.el = r.nativeElement;
|
|
560
|
-
}
|
|
561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
562
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicInsightInterface, isStandalone: false, selector: "atomic-insight-interface", inputs: { CspNonce: "CspNonce", analytics: "analytics", engine: "engine", fieldsToInclude: "fieldsToInclude", i18n: "i18n", iconAssetsPath: "iconAssetsPath", language: "language", languageAssetsPath: "languageAssetsPath", logLevel: "logLevel", resultsPerPage: "resultsPerPage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
563
|
-
};
|
|
564
|
-
AtomicInsightInterface = __decorate([
|
|
565
|
-
ProxyCmp({
|
|
566
|
-
inputs: ['CspNonce', 'analytics', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'resultsPerPage'],
|
|
567
|
-
methods: ['initialize', 'initializeWithInsightEngine', 'executeFirstSearch'],
|
|
568
|
-
defineCustomElementFn: defineCustomElementAtomicInsightInterface
|
|
569
|
-
})
|
|
570
|
-
], AtomicInsightInterface);
|
|
571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, decorators: [{
|
|
572
|
-
type: Component,
|
|
573
|
-
args: [{ standalone: false,
|
|
574
|
-
selector: 'atomic-insight-interface',
|
|
575
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
576
|
-
template: '<ng-content></ng-content>',
|
|
577
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
578
|
-
inputs: ['CspNonce', 'analytics', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'resultsPerPage'],
|
|
579
|
-
}]
|
|
580
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
581
553
|
let AtomicInsightUserActionsTimeline = class AtomicInsightUserActionsTimeline {
|
|
582
554
|
z;
|
|
583
555
|
el;
|
|
@@ -3918,6 +3890,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3918
3890
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3919
3891
|
}]
|
|
3920
3892
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3893
|
+
let AtomicInsightInterface = class AtomicInsightInterface {
|
|
3894
|
+
z;
|
|
3895
|
+
el;
|
|
3896
|
+
constructor(c, el, z) {
|
|
3897
|
+
this.z = z;
|
|
3898
|
+
c.detach();
|
|
3899
|
+
this.el = el.nativeElement;
|
|
3900
|
+
}
|
|
3901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3902
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicInsightInterface, isStandalone: false, selector: "atomic-insight-interface", inputs: { engine: "engine", analytics: "analytics", i18n: "i18n", logLevel: "logLevel", language: "language", languageAssetsPath: "languageAssetsPath", iconAssetsPath: "iconAssetsPath", fieldsToInclude: "fieldsToInclude", resultsPerPage: "resultsPerPage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3903
|
+
};
|
|
3904
|
+
AtomicInsightInterface = __decorate([
|
|
3905
|
+
ProxyCmp({
|
|
3906
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage'],
|
|
3907
|
+
methods: ['initialize', 'initializeWithInsightEngine', 'executeFirstSearch', 'toggleAnalytics', 'updateIconAssetsPath', 'updateLanguage', 'registerFieldsToInclude'],
|
|
3908
|
+
defineCustomElementFn: () => { customElements.get('atomic-insight-interface') || customElements.define('atomic-insight-interface', AtomicInsightInterface$1); }
|
|
3909
|
+
})
|
|
3910
|
+
], AtomicInsightInterface);
|
|
3911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, decorators: [{
|
|
3912
|
+
type: Component,
|
|
3913
|
+
args: [{
|
|
3914
|
+
selector: 'atomic-insight-interface',
|
|
3915
|
+
standalone: false,
|
|
3916
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3917
|
+
template: '<ng-content></ng-content>',
|
|
3918
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3919
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage']
|
|
3920
|
+
}]
|
|
3921
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3921
3922
|
let AtomicResultsPerPage = class AtomicResultsPerPage {
|
|
3922
3923
|
z;
|
|
3923
3924
|
el;
|
|
@@ -4010,6 +4011,7 @@ const DECLARATIONS = [
|
|
|
4010
4011
|
AtomicCommerceTimeframeFacet,
|
|
4011
4012
|
AtomicComponentError,
|
|
4012
4013
|
AtomicIcon,
|
|
4014
|
+
AtomicInsightInterface,
|
|
4013
4015
|
AtomicLayoutSection,
|
|
4014
4016
|
AtomicProduct,
|
|
4015
4017
|
AtomicProductChildren,
|
|
@@ -4053,7 +4055,6 @@ const DECLARATIONS = [
|
|
|
4053
4055
|
AtomicGeneratedAnswer,
|
|
4054
4056
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4055
4057
|
AtomicHtml,
|
|
4056
|
-
AtomicInsightInterface,
|
|
4057
4058
|
AtomicInsightUserActionsTimeline,
|
|
4058
4059
|
AtomicInsightUserActionsToggle,
|
|
4059
4060
|
AtomicLoadMoreResults,
|
|
@@ -4184,6 +4185,7 @@ class AtomicAngularModule {
|
|
|
4184
4185
|
AtomicCommerceTimeframeFacet,
|
|
4185
4186
|
AtomicComponentError,
|
|
4186
4187
|
AtomicIcon,
|
|
4188
|
+
AtomicInsightInterface,
|
|
4187
4189
|
AtomicLayoutSection,
|
|
4188
4190
|
AtomicProduct,
|
|
4189
4191
|
AtomicProductChildren,
|
|
@@ -4227,7 +4229,6 @@ class AtomicAngularModule {
|
|
|
4227
4229
|
AtomicGeneratedAnswer,
|
|
4228
4230
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4229
4231
|
AtomicHtml,
|
|
4230
|
-
AtomicInsightInterface,
|
|
4231
4232
|
AtomicInsightUserActionsTimeline,
|
|
4232
4233
|
AtomicInsightUserActionsToggle,
|
|
4233
4234
|
AtomicLoadMoreResults,
|
|
@@ -4325,6 +4326,7 @@ class AtomicAngularModule {
|
|
|
4325
4326
|
AtomicCommerceTimeframeFacet,
|
|
4326
4327
|
AtomicComponentError,
|
|
4327
4328
|
AtomicIcon,
|
|
4329
|
+
AtomicInsightInterface,
|
|
4328
4330
|
AtomicLayoutSection,
|
|
4329
4331
|
AtomicProduct,
|
|
4330
4332
|
AtomicProductChildren,
|
|
@@ -4368,7 +4370,6 @@ class AtomicAngularModule {
|
|
|
4368
4370
|
AtomicGeneratedAnswer,
|
|
4369
4371
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4370
4372
|
AtomicHtml,
|
|
4371
|
-
AtomicInsightInterface,
|
|
4372
4373
|
AtomicInsightUserActionsTimeline,
|
|
4373
4374
|
AtomicInsightUserActionsToggle,
|
|
4374
4375
|
AtomicLoadMoreResults,
|