@coveo/atomic-angular 3.7.9-pre.0f5aed88a0 → 3.7.9-pre.15af8fb61b
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, 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, 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, AtomicPager as AtomicPager$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 */
|
|
@@ -1975,33 +1975,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1975
1975
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1976
1976
|
}]
|
|
1977
1977
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1978
|
-
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
1979
|
-
z;
|
|
1980
|
-
el;
|
|
1981
|
-
constructor(c, r, z) {
|
|
1982
|
-
this.z = z;
|
|
1983
|
-
c.detach();
|
|
1984
|
-
this.el = r.nativeElement;
|
|
1985
|
-
}
|
|
1986
|
-
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 });
|
|
1987
|
-
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 });
|
|
1988
|
-
};
|
|
1989
|
-
AtomicSearchBoxRecentQueries = __decorate([
|
|
1990
|
-
ProxyCmp({
|
|
1991
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1992
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxRecentQueries
|
|
1993
|
-
})
|
|
1994
|
-
], AtomicSearchBoxRecentQueries);
|
|
1995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
1996
|
-
type: Component,
|
|
1997
|
-
args: [{ standalone: false,
|
|
1998
|
-
selector: 'atomic-search-box-recent-queries',
|
|
1999
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2000
|
-
template: '<ng-content></ng-content>',
|
|
2001
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2002
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2003
|
-
}]
|
|
2004
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2005
1978
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2006
1979
|
z;
|
|
2007
1980
|
el;
|
|
@@ -3952,6 +3925,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3952
3925
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3953
3926
|
}]
|
|
3954
3927
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3928
|
+
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
3929
|
+
z;
|
|
3930
|
+
el;
|
|
3931
|
+
constructor(c, el, z) {
|
|
3932
|
+
this.z = z;
|
|
3933
|
+
c.detach();
|
|
3934
|
+
this.el = el.nativeElement;
|
|
3935
|
+
}
|
|
3936
|
+
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 });
|
|
3937
|
+
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 });
|
|
3938
|
+
};
|
|
3939
|
+
AtomicSearchBoxRecentQueries = __decorate([
|
|
3940
|
+
ProxyCmp({
|
|
3941
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3942
|
+
methods: ['initialize'],
|
|
3943
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-recent-queries') || customElements.define('atomic-search-box-recent-queries', AtomicSearchBoxRecentQueries$1); }
|
|
3944
|
+
})
|
|
3945
|
+
], AtomicSearchBoxRecentQueries);
|
|
3946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
3947
|
+
type: Component,
|
|
3948
|
+
args: [{
|
|
3949
|
+
selector: 'atomic-search-box-recent-queries',
|
|
3950
|
+
standalone: false,
|
|
3951
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3952
|
+
template: '<ng-content></ng-content>',
|
|
3953
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3954
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
|
|
3955
|
+
}]
|
|
3956
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3955
3957
|
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3956
3958
|
z;
|
|
3957
3959
|
el;
|
|
@@ -4070,6 +4072,7 @@ const DECLARATIONS = [
|
|
|
4070
4072
|
AtomicProductText,
|
|
4071
4073
|
AtomicQuerySummary,
|
|
4072
4074
|
AtomicResultsPerPage,
|
|
4075
|
+
AtomicSearchBoxRecentQueries,
|
|
4073
4076
|
AtomicSearchInterface,
|
|
4074
4077
|
AtomicSearchLayout,
|
|
4075
4078
|
AtomicAutomaticFacet,
|
|
@@ -4143,7 +4146,6 @@ const DECLARATIONS = [
|
|
|
4143
4146
|
AtomicSearchBox,
|
|
4144
4147
|
AtomicSearchBoxInstantResults,
|
|
4145
4148
|
AtomicSearchBoxQuerySuggestions,
|
|
4146
|
-
AtomicSearchBoxRecentQueries,
|
|
4147
4149
|
AtomicSegmentedFacet,
|
|
4148
4150
|
AtomicSegmentedFacetScrollable,
|
|
4149
4151
|
AtomicSmartSnippet,
|
|
@@ -4244,6 +4246,7 @@ class AtomicAngularModule {
|
|
|
4244
4246
|
AtomicProductText,
|
|
4245
4247
|
AtomicQuerySummary,
|
|
4246
4248
|
AtomicResultsPerPage,
|
|
4249
|
+
AtomicSearchBoxRecentQueries,
|
|
4247
4250
|
AtomicSearchInterface,
|
|
4248
4251
|
AtomicSearchLayout,
|
|
4249
4252
|
AtomicAutomaticFacet,
|
|
@@ -4317,7 +4320,6 @@ class AtomicAngularModule {
|
|
|
4317
4320
|
AtomicSearchBox,
|
|
4318
4321
|
AtomicSearchBoxInstantResults,
|
|
4319
4322
|
AtomicSearchBoxQuerySuggestions,
|
|
4320
|
-
AtomicSearchBoxRecentQueries,
|
|
4321
4323
|
AtomicSegmentedFacet,
|
|
4322
4324
|
AtomicSegmentedFacetScrollable,
|
|
4323
4325
|
AtomicSmartSnippet,
|
|
@@ -4385,6 +4387,7 @@ class AtomicAngularModule {
|
|
|
4385
4387
|
AtomicProductText,
|
|
4386
4388
|
AtomicQuerySummary,
|
|
4387
4389
|
AtomicResultsPerPage,
|
|
4390
|
+
AtomicSearchBoxRecentQueries,
|
|
4388
4391
|
AtomicSearchInterface,
|
|
4389
4392
|
AtomicSearchLayout,
|
|
4390
4393
|
AtomicAutomaticFacet,
|
|
@@ -4458,7 +4461,6 @@ class AtomicAngularModule {
|
|
|
4458
4461
|
AtomicSearchBox,
|
|
4459
4462
|
AtomicSearchBoxInstantResults,
|
|
4460
4463
|
AtomicSearchBoxQuerySuggestions,
|
|
4461
|
-
AtomicSearchBoxRecentQueries,
|
|
4462
4464
|
AtomicSegmentedFacet,
|
|
4463
4465
|
AtomicSegmentedFacetScrollable,
|
|
4464
4466
|
AtomicSmartSnippet,
|