@coveo/atomic-angular 3.7.9-pre.519676740b → 3.7.9-pre.6588b73242
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.
|
@@ -5,7 +5,7 @@ import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@
|
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
7
|
import customElementsManifest from '@coveo/atomic/custom-elements-manifest';
|
|
8
|
-
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml,
|
|
8
|
+
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, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, 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, 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, AtomicPager as AtomicPager$1, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -574,34 +574,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
574
574
|
inputs: ['sanitize', 'value'],
|
|
575
575
|
}]
|
|
576
576
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
577
|
-
let AtomicInsightInterface = class AtomicInsightInterface {
|
|
578
|
-
z;
|
|
579
|
-
el;
|
|
580
|
-
constructor(c, r, z) {
|
|
581
|
-
this.z = z;
|
|
582
|
-
c.detach();
|
|
583
|
-
this.el = r.nativeElement;
|
|
584
|
-
}
|
|
585
|
-
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 });
|
|
586
|
-
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 });
|
|
587
|
-
};
|
|
588
|
-
AtomicInsightInterface = __decorate([
|
|
589
|
-
ProxyCmp({
|
|
590
|
-
inputs: ['CspNonce', 'analytics', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'resultsPerPage'],
|
|
591
|
-
methods: ['initialize', 'initializeWithInsightEngine', 'executeFirstSearch'],
|
|
592
|
-
defineCustomElementFn: defineCustomElementAtomicInsightInterface
|
|
593
|
-
})
|
|
594
|
-
], AtomicInsightInterface);
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, decorators: [{
|
|
596
|
-
type: Component,
|
|
597
|
-
args: [{ standalone: false,
|
|
598
|
-
selector: 'atomic-insight-interface',
|
|
599
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
600
|
-
template: '<ng-content></ng-content>',
|
|
601
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
602
|
-
inputs: ['CspNonce', 'analytics', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'resultsPerPage'],
|
|
603
|
-
}]
|
|
604
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
605
577
|
let AtomicInsightUserActionsTimeline = class AtomicInsightUserActionsTimeline {
|
|
606
578
|
z;
|
|
607
579
|
el;
|
|
@@ -3863,6 +3835,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3863
3835
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3864
3836
|
}]
|
|
3865
3837
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3838
|
+
let AtomicInsightInterface = class AtomicInsightInterface {
|
|
3839
|
+
z;
|
|
3840
|
+
el;
|
|
3841
|
+
constructor(c, el, z) {
|
|
3842
|
+
this.z = z;
|
|
3843
|
+
c.detach();
|
|
3844
|
+
this.el = el.nativeElement;
|
|
3845
|
+
}
|
|
3846
|
+
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 });
|
|
3847
|
+
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 });
|
|
3848
|
+
};
|
|
3849
|
+
AtomicInsightInterface = __decorate([
|
|
3850
|
+
ProxyCmp({
|
|
3851
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage'],
|
|
3852
|
+
methods: ['initialize', 'initializeWithInsightEngine', 'executeFirstSearch', 'toggleAnalytics', 'updateIconAssetsPath', 'updateLanguage', 'registerFieldsToInclude'],
|
|
3853
|
+
defineCustomElementFn: () => { customElements.get('atomic-insight-interface') || customElements.define('atomic-insight-interface', AtomicInsightInterface$1); }
|
|
3854
|
+
})
|
|
3855
|
+
], AtomicInsightInterface);
|
|
3856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, decorators: [{
|
|
3857
|
+
type: Component,
|
|
3858
|
+
args: [{
|
|
3859
|
+
selector: 'atomic-insight-interface',
|
|
3860
|
+
standalone: false,
|
|
3861
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3862
|
+
template: '<ng-content></ng-content>',
|
|
3863
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3864
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage']
|
|
3865
|
+
}]
|
|
3866
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3866
3867
|
let AtomicPager = class AtomicPager {
|
|
3867
3868
|
z;
|
|
3868
3869
|
el;
|
|
@@ -4044,6 +4045,7 @@ const DECLARATIONS = [
|
|
|
4044
4045
|
AtomicCommerceTimeframeFacet,
|
|
4045
4046
|
AtomicComponentError,
|
|
4046
4047
|
AtomicIcon,
|
|
4048
|
+
AtomicInsightInterface,
|
|
4047
4049
|
AtomicLayoutSection,
|
|
4048
4050
|
AtomicPager,
|
|
4049
4051
|
AtomicProduct,
|
|
@@ -4090,7 +4092,6 @@ const DECLARATIONS = [
|
|
|
4090
4092
|
AtomicGeneratedAnswer,
|
|
4091
4093
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4092
4094
|
AtomicHtml,
|
|
4093
|
-
AtomicInsightInterface,
|
|
4094
4095
|
AtomicInsightUserActionsTimeline,
|
|
4095
4096
|
AtomicInsightUserActionsToggle,
|
|
4096
4097
|
AtomicLoadMoreResults,
|
|
@@ -4218,6 +4219,7 @@ class AtomicAngularModule {
|
|
|
4218
4219
|
AtomicCommerceTimeframeFacet,
|
|
4219
4220
|
AtomicComponentError,
|
|
4220
4221
|
AtomicIcon,
|
|
4222
|
+
AtomicInsightInterface,
|
|
4221
4223
|
AtomicLayoutSection,
|
|
4222
4224
|
AtomicPager,
|
|
4223
4225
|
AtomicProduct,
|
|
@@ -4264,7 +4266,6 @@ class AtomicAngularModule {
|
|
|
4264
4266
|
AtomicGeneratedAnswer,
|
|
4265
4267
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4266
4268
|
AtomicHtml,
|
|
4267
|
-
AtomicInsightInterface,
|
|
4268
4269
|
AtomicInsightUserActionsTimeline,
|
|
4269
4270
|
AtomicInsightUserActionsToggle,
|
|
4270
4271
|
AtomicLoadMoreResults,
|
|
@@ -4359,6 +4360,7 @@ class AtomicAngularModule {
|
|
|
4359
4360
|
AtomicCommerceTimeframeFacet,
|
|
4360
4361
|
AtomicComponentError,
|
|
4361
4362
|
AtomicIcon,
|
|
4363
|
+
AtomicInsightInterface,
|
|
4362
4364
|
AtomicLayoutSection,
|
|
4363
4365
|
AtomicPager,
|
|
4364
4366
|
AtomicProduct,
|
|
@@ -4405,7 +4407,6 @@ class AtomicAngularModule {
|
|
|
4405
4407
|
AtomicGeneratedAnswer,
|
|
4406
4408
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4407
4409
|
AtomicHtml,
|
|
4408
|
-
AtomicInsightInterface,
|
|
4409
4410
|
AtomicInsightUserActionsTimeline,
|
|
4410
4411
|
AtomicInsightUserActionsToggle,
|
|
4411
4412
|
AtomicLoadMoreResults,
|