@coveo/atomic-angular 3.7.9-pre.158cee9fec → 3.7.9-pre.453cfecf5c
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, defineCustomElementAtomicPager, 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, 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;
|
|
@@ -3891,6 +3863,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3891
3863
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3892
3864
|
}]
|
|
3893
3865
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3866
|
+
let AtomicInsightInterface = class AtomicInsightInterface {
|
|
3867
|
+
z;
|
|
3868
|
+
el;
|
|
3869
|
+
constructor(c, el, z) {
|
|
3870
|
+
this.z = z;
|
|
3871
|
+
c.detach();
|
|
3872
|
+
this.el = el.nativeElement;
|
|
3873
|
+
}
|
|
3874
|
+
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 });
|
|
3875
|
+
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 });
|
|
3876
|
+
};
|
|
3877
|
+
AtomicInsightInterface = __decorate([
|
|
3878
|
+
ProxyCmp({
|
|
3879
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage'],
|
|
3880
|
+
methods: ['initialize', 'initializeWithInsightEngine', 'executeFirstSearch', 'toggleAnalytics', 'updateIconAssetsPath', 'updateLanguage', 'registerFieldsToInclude'],
|
|
3881
|
+
defineCustomElementFn: () => { customElements.get('atomic-insight-interface') || customElements.define('atomic-insight-interface', AtomicInsightInterface$1); }
|
|
3882
|
+
})
|
|
3883
|
+
], AtomicInsightInterface);
|
|
3884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicInsightInterface, decorators: [{
|
|
3885
|
+
type: Component,
|
|
3886
|
+
args: [{
|
|
3887
|
+
selector: 'atomic-insight-interface',
|
|
3888
|
+
standalone: false,
|
|
3889
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3890
|
+
template: '<ng-content></ng-content>',
|
|
3891
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3892
|
+
inputs: ['engine', 'analytics', 'i18n', 'logLevel', 'language', 'languageAssetsPath', 'iconAssetsPath', 'fieldsToInclude', 'resultsPerPage']
|
|
3893
|
+
}]
|
|
3894
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3894
3895
|
let AtomicQuerySummary = class AtomicQuerySummary {
|
|
3895
3896
|
z;
|
|
3896
3897
|
el;
|
|
@@ -4042,6 +4043,7 @@ const DECLARATIONS = [
|
|
|
4042
4043
|
AtomicCommerceTimeframeFacet,
|
|
4043
4044
|
AtomicComponentError,
|
|
4044
4045
|
AtomicIcon,
|
|
4046
|
+
AtomicInsightInterface,
|
|
4045
4047
|
AtomicLayoutSection,
|
|
4046
4048
|
AtomicProduct,
|
|
4047
4049
|
AtomicProductChildren,
|
|
@@ -4087,7 +4089,6 @@ const DECLARATIONS = [
|
|
|
4087
4089
|
AtomicGeneratedAnswer,
|
|
4088
4090
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4089
4091
|
AtomicHtml,
|
|
4090
|
-
AtomicInsightInterface,
|
|
4091
4092
|
AtomicInsightUserActionsTimeline,
|
|
4092
4093
|
AtomicInsightUserActionsToggle,
|
|
4093
4094
|
AtomicLoadMoreResults,
|
|
@@ -4216,6 +4217,7 @@ class AtomicAngularModule {
|
|
|
4216
4217
|
AtomicCommerceTimeframeFacet,
|
|
4217
4218
|
AtomicComponentError,
|
|
4218
4219
|
AtomicIcon,
|
|
4220
|
+
AtomicInsightInterface,
|
|
4219
4221
|
AtomicLayoutSection,
|
|
4220
4222
|
AtomicProduct,
|
|
4221
4223
|
AtomicProductChildren,
|
|
@@ -4261,7 +4263,6 @@ class AtomicAngularModule {
|
|
|
4261
4263
|
AtomicGeneratedAnswer,
|
|
4262
4264
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4263
4265
|
AtomicHtml,
|
|
4264
|
-
AtomicInsightInterface,
|
|
4265
4266
|
AtomicInsightUserActionsTimeline,
|
|
4266
4267
|
AtomicInsightUserActionsToggle,
|
|
4267
4268
|
AtomicLoadMoreResults,
|
|
@@ -4357,6 +4358,7 @@ class AtomicAngularModule {
|
|
|
4357
4358
|
AtomicCommerceTimeframeFacet,
|
|
4358
4359
|
AtomicComponentError,
|
|
4359
4360
|
AtomicIcon,
|
|
4361
|
+
AtomicInsightInterface,
|
|
4360
4362
|
AtomicLayoutSection,
|
|
4361
4363
|
AtomicProduct,
|
|
4362
4364
|
AtomicProductChildren,
|
|
@@ -4402,7 +4404,6 @@ class AtomicAngularModule {
|
|
|
4402
4404
|
AtomicGeneratedAnswer,
|
|
4403
4405
|
AtomicGeneratedAnswerFeedbackModal,
|
|
4404
4406
|
AtomicHtml,
|
|
4405
|
-
AtomicInsightInterface,
|
|
4406
4407
|
AtomicInsightUserActionsTimeline,
|
|
4407
4408
|
AtomicInsightUserActionsToggle,
|
|
4408
4409
|
AtomicLoadMoreResults,
|