@coveo/atomic-angular 3.7.8-pre.c44c9ff482 → 3.7.8-pre.c54adf6755
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,33 +1952,6 @@ 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 AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
1956
|
-
z;
|
|
1957
|
-
el;
|
|
1958
|
-
constructor(c, r, z) {
|
|
1959
|
-
this.z = z;
|
|
1960
|
-
c.detach();
|
|
1961
|
-
this.el = r.nativeElement;
|
|
1962
|
-
}
|
|
1963
|
-
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 });
|
|
1964
|
-
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 });
|
|
1965
|
-
};
|
|
1966
|
-
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
1967
|
-
ProxyCmp({
|
|
1968
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1969
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxQuerySuggestions
|
|
1970
|
-
})
|
|
1971
|
-
], AtomicSearchBoxQuerySuggestions);
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
1973
|
-
type: Component,
|
|
1974
|
-
args: [{ standalone: false,
|
|
1975
|
-
selector: 'atomic-search-box-query-suggestions',
|
|
1976
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1977
|
-
template: '<ng-content></ng-content>',
|
|
1978
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1979
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1980
|
-
}]
|
|
1981
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1982
1955
|
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
1983
1956
|
z;
|
|
1984
1957
|
el;
|
|
@@ -2562,6 +2535,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2562
2535
|
this.z = z;
|
|
2563
2536
|
c.detach();
|
|
2564
2537
|
this.el = el.nativeElement;
|
|
2538
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2565
2539
|
}
|
|
2566
2540
|
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 });
|
|
2567
2541
|
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 });
|
|
@@ -2569,7 +2543,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2569
2543
|
AtomicCommerceLayout = __decorate([
|
|
2570
2544
|
ProxyCmp({
|
|
2571
2545
|
inputs: ['mobileBreakpoint'],
|
|
2572
|
-
methods: [],
|
|
2546
|
+
methods: ['onMobileBreakpointChange'],
|
|
2573
2547
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2574
2548
|
})
|
|
2575
2549
|
], AtomicCommerceLayout);
|
|
@@ -3953,6 +3927,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3953
3927
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3954
3928
|
}]
|
|
3955
3929
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3930
|
+
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
3931
|
+
z;
|
|
3932
|
+
el;
|
|
3933
|
+
constructor(c, el, z) {
|
|
3934
|
+
this.z = z;
|
|
3935
|
+
c.detach();
|
|
3936
|
+
this.el = el.nativeElement;
|
|
3937
|
+
}
|
|
3938
|
+
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 });
|
|
3939
|
+
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
|
+
};
|
|
3941
|
+
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
3942
|
+
ProxyCmp({
|
|
3943
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3944
|
+
methods: [],
|
|
3945
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-query-suggestions') || customElements.define('atomic-search-box-query-suggestions', AtomicSearchBoxQuerySuggestions$1); }
|
|
3946
|
+
})
|
|
3947
|
+
], AtomicSearchBoxQuerySuggestions);
|
|
3948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
3949
|
+
type: Component,
|
|
3950
|
+
args: [{
|
|
3951
|
+
selector: 'atomic-search-box-query-suggestions',
|
|
3952
|
+
standalone: false,
|
|
3953
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3954
|
+
template: '<ng-content></ng-content>',
|
|
3955
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3956
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
|
|
3957
|
+
}]
|
|
3958
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3956
3959
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3957
3960
|
z;
|
|
3958
3961
|
el;
|
|
@@ -4040,6 +4043,7 @@ const DECLARATIONS = [
|
|
|
4040
4043
|
AtomicProductText,
|
|
4041
4044
|
AtomicQuerySummary,
|
|
4042
4045
|
AtomicResultsPerPage,
|
|
4046
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4043
4047
|
AtomicSearchLayout,
|
|
4044
4048
|
AtomicAutomaticFacet,
|
|
4045
4049
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4112,7 +4116,6 @@ const DECLARATIONS = [
|
|
|
4112
4116
|
AtomicResultTimespan,
|
|
4113
4117
|
AtomicSearchBox,
|
|
4114
4118
|
AtomicSearchBoxInstantResults,
|
|
4115
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4116
4119
|
AtomicSearchBoxRecentQueries,
|
|
4117
4120
|
AtomicSearchInterface,
|
|
4118
4121
|
AtomicSegmentedFacet,
|
|
@@ -4214,6 +4217,7 @@ class AtomicAngularModule {
|
|
|
4214
4217
|
AtomicProductText,
|
|
4215
4218
|
AtomicQuerySummary,
|
|
4216
4219
|
AtomicResultsPerPage,
|
|
4220
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4217
4221
|
AtomicSearchLayout,
|
|
4218
4222
|
AtomicAutomaticFacet,
|
|
4219
4223
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4286,7 +4290,6 @@ class AtomicAngularModule {
|
|
|
4286
4290
|
AtomicResultTimespan,
|
|
4287
4291
|
AtomicSearchBox,
|
|
4288
4292
|
AtomicSearchBoxInstantResults,
|
|
4289
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4290
4293
|
AtomicSearchBoxRecentQueries,
|
|
4291
4294
|
AtomicSearchInterface,
|
|
4292
4295
|
AtomicSegmentedFacet,
|
|
@@ -4355,6 +4358,7 @@ class AtomicAngularModule {
|
|
|
4355
4358
|
AtomicProductText,
|
|
4356
4359
|
AtomicQuerySummary,
|
|
4357
4360
|
AtomicResultsPerPage,
|
|
4361
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4358
4362
|
AtomicSearchLayout,
|
|
4359
4363
|
AtomicAutomaticFacet,
|
|
4360
4364
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4427,7 +4431,6 @@ class AtomicAngularModule {
|
|
|
4427
4431
|
AtomicResultTimespan,
|
|
4428
4432
|
AtomicSearchBox,
|
|
4429
4433
|
AtomicSearchBoxInstantResults,
|
|
4430
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4431
4434
|
AtomicSearchBoxRecentQueries,
|
|
4432
4435
|
AtomicSearchInterface,
|
|
4433
4436
|
AtomicSegmentedFacet,
|