@coveo/atomic-angular 3.7.8-pre.f26e1593fa → 3.7.8-pre.f62f2d7753
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, 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,
|
|
7
|
+
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, 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, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchBoxQuerySuggestions as AtomicSearchBoxQuerySuggestions$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -1952,7 +1952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1952
1952
|
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1953
1953
|
}]
|
|
1954
1954
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1955
|
-
let
|
|
1955
|
+
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
1956
1956
|
z;
|
|
1957
1957
|
el;
|
|
1958
1958
|
constructor(c, r, z) {
|
|
@@ -1960,19 +1960,19 @@ let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
|
1960
1960
|
c.detach();
|
|
1961
1961
|
this.el = r.nativeElement;
|
|
1962
1962
|
}
|
|
1963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
1963
|
+
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 });
|
|
1964
|
+
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 });
|
|
1965
1965
|
};
|
|
1966
|
-
|
|
1966
|
+
AtomicSearchBoxRecentQueries = __decorate([
|
|
1967
1967
|
ProxyCmp({
|
|
1968
1968
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1969
|
-
defineCustomElementFn:
|
|
1969
|
+
defineCustomElementFn: defineCustomElementAtomicSearchBoxRecentQueries
|
|
1970
1970
|
})
|
|
1971
|
-
],
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1971
|
+
], AtomicSearchBoxRecentQueries);
|
|
1972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
1973
1973
|
type: Component,
|
|
1974
1974
|
args: [{ standalone: false,
|
|
1975
|
-
selector: 'atomic-search-box-
|
|
1975
|
+
selector: 'atomic-search-box-recent-queries',
|
|
1976
1976
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1977
1977
|
template: '<ng-content></ng-content>',
|
|
1978
1978
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -2535,7 +2535,6 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2535
2535
|
this.z = z;
|
|
2536
2536
|
c.detach();
|
|
2537
2537
|
this.el = el.nativeElement;
|
|
2538
|
-
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2539
2538
|
}
|
|
2540
2539
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2541
2540
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceLayout, isStandalone: false, selector: "atomic-commerce-layout", inputs: { mobileBreakpoint: "mobileBreakpoint" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -2543,7 +2542,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2543
2542
|
AtomicCommerceLayout = __decorate([
|
|
2544
2543
|
ProxyCmp({
|
|
2545
2544
|
inputs: ['mobileBreakpoint'],
|
|
2546
|
-
methods: [
|
|
2545
|
+
methods: [],
|
|
2547
2546
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2548
2547
|
})
|
|
2549
2548
|
], AtomicCommerceLayout);
|
|
@@ -3927,7 +3926,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3927
3926
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3928
3927
|
}]
|
|
3929
3928
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3930
|
-
let
|
|
3929
|
+
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
3931
3930
|
z;
|
|
3932
3931
|
el;
|
|
3933
3932
|
constructor(c, el, z) {
|
|
@@ -3935,20 +3934,20 @@ let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
|
3935
3934
|
c.detach();
|
|
3936
3935
|
this.el = el.nativeElement;
|
|
3937
3936
|
}
|
|
3938
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3939
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
3937
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3938
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxQuerySuggestions, isStandalone: false, selector: "atomic-search-box-query-suggestions", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3940
3939
|
};
|
|
3941
|
-
|
|
3940
|
+
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
3942
3941
|
ProxyCmp({
|
|
3943
3942
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3944
3943
|
methods: ['initialize'],
|
|
3945
|
-
defineCustomElementFn: () => { customElements.get('atomic-search-box-
|
|
3944
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-query-suggestions') || customElements.define('atomic-search-box-query-suggestions', AtomicSearchBoxQuerySuggestions$1); }
|
|
3946
3945
|
})
|
|
3947
|
-
],
|
|
3948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3946
|
+
], AtomicSearchBoxQuerySuggestions);
|
|
3947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
3949
3948
|
type: Component,
|
|
3950
3949
|
args: [{
|
|
3951
|
-
selector: 'atomic-search-box-
|
|
3950
|
+
selector: 'atomic-search-box-query-suggestions',
|
|
3952
3951
|
standalone: false,
|
|
3953
3952
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3954
3953
|
template: '<ng-content></ng-content>',
|
|
@@ -4043,7 +4042,7 @@ const DECLARATIONS = [
|
|
|
4043
4042
|
AtomicProductText,
|
|
4044
4043
|
AtomicQuerySummary,
|
|
4045
4044
|
AtomicResultsPerPage,
|
|
4046
|
-
|
|
4045
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4047
4046
|
AtomicSearchLayout,
|
|
4048
4047
|
AtomicAutomaticFacet,
|
|
4049
4048
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4116,7 +4115,7 @@ const DECLARATIONS = [
|
|
|
4116
4115
|
AtomicResultTimespan,
|
|
4117
4116
|
AtomicSearchBox,
|
|
4118
4117
|
AtomicSearchBoxInstantResults,
|
|
4119
|
-
|
|
4118
|
+
AtomicSearchBoxRecentQueries,
|
|
4120
4119
|
AtomicSearchInterface,
|
|
4121
4120
|
AtomicSegmentedFacet,
|
|
4122
4121
|
AtomicSegmentedFacetScrollable,
|
|
@@ -4217,7 +4216,7 @@ class AtomicAngularModule {
|
|
|
4217
4216
|
AtomicProductText,
|
|
4218
4217
|
AtomicQuerySummary,
|
|
4219
4218
|
AtomicResultsPerPage,
|
|
4220
|
-
|
|
4219
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4221
4220
|
AtomicSearchLayout,
|
|
4222
4221
|
AtomicAutomaticFacet,
|
|
4223
4222
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4290,7 +4289,7 @@ class AtomicAngularModule {
|
|
|
4290
4289
|
AtomicResultTimespan,
|
|
4291
4290
|
AtomicSearchBox,
|
|
4292
4291
|
AtomicSearchBoxInstantResults,
|
|
4293
|
-
|
|
4292
|
+
AtomicSearchBoxRecentQueries,
|
|
4294
4293
|
AtomicSearchInterface,
|
|
4295
4294
|
AtomicSegmentedFacet,
|
|
4296
4295
|
AtomicSegmentedFacetScrollable,
|
|
@@ -4358,7 +4357,7 @@ class AtomicAngularModule {
|
|
|
4358
4357
|
AtomicProductText,
|
|
4359
4358
|
AtomicQuerySummary,
|
|
4360
4359
|
AtomicResultsPerPage,
|
|
4361
|
-
|
|
4360
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4362
4361
|
AtomicSearchLayout,
|
|
4363
4362
|
AtomicAutomaticFacet,
|
|
4364
4363
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4431,7 +4430,7 @@ class AtomicAngularModule {
|
|
|
4431
4430
|
AtomicResultTimespan,
|
|
4432
4431
|
AtomicSearchBox,
|
|
4433
4432
|
AtomicSearchBoxInstantResults,
|
|
4434
|
-
|
|
4433
|
+
AtomicSearchBoxRecentQueries,
|
|
4435
4434
|
AtomicSearchInterface,
|
|
4436
4435
|
AtomicSegmentedFacet,
|
|
4437
4436
|
AtomicSegmentedFacetScrollable,
|