@coveo/atomic-angular 3.7.9-pre.a90e222cec → 3.7.9-pre.b08e1fed00
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, defineCustomElementAtomicInsightInterface, 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,
|
|
8
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightInterface, 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, 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, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchBoxRecentQueries as AtomicSearchBoxRecentQueries$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -2003,33 +2003,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2003
2003
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2004
2004
|
}]
|
|
2005
2005
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2006
|
-
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
2007
|
-
z;
|
|
2008
|
-
el;
|
|
2009
|
-
constructor(c, r, z) {
|
|
2010
|
-
this.z = z;
|
|
2011
|
-
c.detach();
|
|
2012
|
-
this.el = r.nativeElement;
|
|
2013
|
-
}
|
|
2014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2015
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxRecentQueries, isStandalone: false, selector: "atomic-search-box-recent-queries", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2016
|
-
};
|
|
2017
|
-
AtomicSearchBoxRecentQueries = __decorate([
|
|
2018
|
-
ProxyCmp({
|
|
2019
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2020
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxRecentQueries
|
|
2021
|
-
})
|
|
2022
|
-
], AtomicSearchBoxRecentQueries);
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
2024
|
-
type: Component,
|
|
2025
|
-
args: [{ standalone: false,
|
|
2026
|
-
selector: 'atomic-search-box-recent-queries',
|
|
2027
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2028
|
-
template: '<ng-content></ng-content>',
|
|
2029
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2030
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2031
|
-
}]
|
|
2032
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2033
2006
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2034
2007
|
z;
|
|
2035
2008
|
el;
|
|
@@ -3950,6 +3923,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3950
3923
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3951
3924
|
}]
|
|
3952
3925
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3926
|
+
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
3927
|
+
z;
|
|
3928
|
+
el;
|
|
3929
|
+
constructor(c, el, z) {
|
|
3930
|
+
this.z = z;
|
|
3931
|
+
c.detach();
|
|
3932
|
+
this.el = el.nativeElement;
|
|
3933
|
+
}
|
|
3934
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3935
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxRecentQueries, isStandalone: false, selector: "atomic-search-box-recent-queries", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3936
|
+
};
|
|
3937
|
+
AtomicSearchBoxRecentQueries = __decorate([
|
|
3938
|
+
ProxyCmp({
|
|
3939
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3940
|
+
methods: ['initialize'],
|
|
3941
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-recent-queries') || customElements.define('atomic-search-box-recent-queries', AtomicSearchBoxRecentQueries$1); }
|
|
3942
|
+
})
|
|
3943
|
+
], AtomicSearchBoxRecentQueries);
|
|
3944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
3945
|
+
type: Component,
|
|
3946
|
+
args: [{
|
|
3947
|
+
selector: 'atomic-search-box-recent-queries',
|
|
3948
|
+
standalone: false,
|
|
3949
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3950
|
+
template: '<ng-content></ng-content>',
|
|
3951
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3952
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
|
|
3953
|
+
}]
|
|
3954
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3953
3955
|
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3954
3956
|
z;
|
|
3955
3957
|
el;
|
|
@@ -4067,6 +4069,7 @@ const DECLARATIONS = [
|
|
|
4067
4069
|
AtomicProductText,
|
|
4068
4070
|
AtomicQuerySummary,
|
|
4069
4071
|
AtomicResultsPerPage,
|
|
4072
|
+
AtomicSearchBoxRecentQueries,
|
|
4070
4073
|
AtomicSearchInterface,
|
|
4071
4074
|
AtomicSearchLayout,
|
|
4072
4075
|
AtomicAutomaticFacet,
|
|
@@ -4141,7 +4144,6 @@ const DECLARATIONS = [
|
|
|
4141
4144
|
AtomicSearchBox,
|
|
4142
4145
|
AtomicSearchBoxInstantResults,
|
|
4143
4146
|
AtomicSearchBoxQuerySuggestions,
|
|
4144
|
-
AtomicSearchBoxRecentQueries,
|
|
4145
4147
|
AtomicSegmentedFacet,
|
|
4146
4148
|
AtomicSegmentedFacetScrollable,
|
|
4147
4149
|
AtomicSmartSnippet,
|
|
@@ -4241,6 +4243,7 @@ class AtomicAngularModule {
|
|
|
4241
4243
|
AtomicProductText,
|
|
4242
4244
|
AtomicQuerySummary,
|
|
4243
4245
|
AtomicResultsPerPage,
|
|
4246
|
+
AtomicSearchBoxRecentQueries,
|
|
4244
4247
|
AtomicSearchInterface,
|
|
4245
4248
|
AtomicSearchLayout,
|
|
4246
4249
|
AtomicAutomaticFacet,
|
|
@@ -4315,7 +4318,6 @@ class AtomicAngularModule {
|
|
|
4315
4318
|
AtomicSearchBox,
|
|
4316
4319
|
AtomicSearchBoxInstantResults,
|
|
4317
4320
|
AtomicSearchBoxQuerySuggestions,
|
|
4318
|
-
AtomicSearchBoxRecentQueries,
|
|
4319
4321
|
AtomicSegmentedFacet,
|
|
4320
4322
|
AtomicSegmentedFacetScrollable,
|
|
4321
4323
|
AtomicSmartSnippet,
|
|
@@ -4382,6 +4384,7 @@ class AtomicAngularModule {
|
|
|
4382
4384
|
AtomicProductText,
|
|
4383
4385
|
AtomicQuerySummary,
|
|
4384
4386
|
AtomicResultsPerPage,
|
|
4387
|
+
AtomicSearchBoxRecentQueries,
|
|
4385
4388
|
AtomicSearchInterface,
|
|
4386
4389
|
AtomicSearchLayout,
|
|
4387
4390
|
AtomicAutomaticFacet,
|
|
@@ -4456,7 +4459,6 @@ class AtomicAngularModule {
|
|
|
4456
4459
|
AtomicSearchBox,
|
|
4457
4460
|
AtomicSearchBoxInstantResults,
|
|
4458
4461
|
AtomicSearchBoxQuerySuggestions,
|
|
4459
|
-
AtomicSearchBoxRecentQueries,
|
|
4460
4462
|
AtomicSegmentedFacet,
|
|
4461
4463
|
AtomicSegmentedFacetScrollable,
|
|
4462
4464
|
AtomicSmartSnippet,
|