@coveo/atomic-angular 3.7.8-pre.7d9c40858c → 3.7.8-pre.7f039d5f49
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,31 +4,10 @@ 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
|
|
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, 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, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
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';
|
|
9
8
|
|
|
10
9
|
/* eslint-disable */
|
|
11
10
|
/* tslint:disable */
|
|
12
|
-
const createPropertyToAttributeMap = () => {
|
|
13
|
-
const map = new Map();
|
|
14
|
-
customElementsManifest.modules.forEach((module) => {
|
|
15
|
-
module.declarations?.forEach((declaration) => {
|
|
16
|
-
if (declaration.kind === 'class' && declaration.attributes) {
|
|
17
|
-
declaration.attributes.forEach((attr) => {
|
|
18
|
-
if (attr.fieldName && attr.name) {
|
|
19
|
-
map.set(attr.fieldName, attr.name);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
return map;
|
|
26
|
-
};
|
|
27
|
-
const propertyToAttributeMap = createPropertyToAttributeMap();
|
|
28
|
-
const getAttributeName = (propertyName) => {
|
|
29
|
-
const mappedAttr = propertyToAttributeMap.get(propertyName);
|
|
30
|
-
return mappedAttr || propertyName.replace(/([A-Z])/g, '-$1').toLowerCase();
|
|
31
|
-
};
|
|
32
11
|
const proxyInputs = (Cmp, inputs) => {
|
|
33
12
|
const Prototype = Cmp.prototype;
|
|
34
13
|
inputs.forEach((item) => {
|
|
@@ -37,10 +16,7 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
37
16
|
return this.el[item];
|
|
38
17
|
},
|
|
39
18
|
set(val) {
|
|
40
|
-
this.z.runOutsideAngular(() =>
|
|
41
|
-
const attrName = getAttributeName(item);
|
|
42
|
-
this.el.setAttribute(attrName, val);
|
|
43
|
-
});
|
|
19
|
+
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
44
20
|
},
|
|
45
21
|
/**
|
|
46
22
|
* In the event that proxyInputs is called
|
|
@@ -1976,33 +1952,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1976
1952
|
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1977
1953
|
}]
|
|
1978
1954
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1979
|
-
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
1980
|
-
z;
|
|
1981
|
-
el;
|
|
1982
|
-
constructor(c, r, z) {
|
|
1983
|
-
this.z = z;
|
|
1984
|
-
c.detach();
|
|
1985
|
-
this.el = r.nativeElement;
|
|
1986
|
-
}
|
|
1987
|
-
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 });
|
|
1988
|
-
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 });
|
|
1989
|
-
};
|
|
1990
|
-
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
1991
|
-
ProxyCmp({
|
|
1992
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1993
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxQuerySuggestions
|
|
1994
|
-
})
|
|
1995
|
-
], AtomicSearchBoxQuerySuggestions);
|
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
1997
|
-
type: Component,
|
|
1998
|
-
args: [{ standalone: false,
|
|
1999
|
-
selector: 'atomic-search-box-query-suggestions',
|
|
2000
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2001
|
-
template: '<ng-content></ng-content>',
|
|
2002
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2003
|
-
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2004
|
-
}]
|
|
2005
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2006
1955
|
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
2007
1956
|
z;
|
|
2008
1957
|
el;
|
|
@@ -2586,7 +2535,6 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2586
2535
|
this.z = z;
|
|
2587
2536
|
c.detach();
|
|
2588
2537
|
this.el = el.nativeElement;
|
|
2589
|
-
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2590
2538
|
}
|
|
2591
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 });
|
|
2592
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 });
|
|
@@ -2594,7 +2542,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2594
2542
|
AtomicCommerceLayout = __decorate([
|
|
2595
2543
|
ProxyCmp({
|
|
2596
2544
|
inputs: ['mobileBreakpoint'],
|
|
2597
|
-
methods: [
|
|
2545
|
+
methods: [],
|
|
2598
2546
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2599
2547
|
})
|
|
2600
2548
|
], AtomicCommerceLayout);
|
|
@@ -3978,6 +3926,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3978
3926
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3979
3927
|
}]
|
|
3980
3928
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3929
|
+
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
3930
|
+
z;
|
|
3931
|
+
el;
|
|
3932
|
+
constructor(c, el, z) {
|
|
3933
|
+
this.z = z;
|
|
3934
|
+
c.detach();
|
|
3935
|
+
this.el = el.nativeElement;
|
|
3936
|
+
}
|
|
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 });
|
|
3939
|
+
};
|
|
3940
|
+
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
3941
|
+
ProxyCmp({
|
|
3942
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3943
|
+
methods: ['initialize'],
|
|
3944
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-query-suggestions') || customElements.define('atomic-search-box-query-suggestions', AtomicSearchBoxQuerySuggestions$1); }
|
|
3945
|
+
})
|
|
3946
|
+
], AtomicSearchBoxQuerySuggestions);
|
|
3947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
3948
|
+
type: Component,
|
|
3949
|
+
args: [{
|
|
3950
|
+
selector: 'atomic-search-box-query-suggestions',
|
|
3951
|
+
standalone: false,
|
|
3952
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3953
|
+
template: '<ng-content></ng-content>',
|
|
3954
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3955
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
|
|
3956
|
+
}]
|
|
3957
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3981
3958
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3982
3959
|
z;
|
|
3983
3960
|
el;
|
|
@@ -4065,6 +4042,7 @@ const DECLARATIONS = [
|
|
|
4065
4042
|
AtomicProductText,
|
|
4066
4043
|
AtomicQuerySummary,
|
|
4067
4044
|
AtomicResultsPerPage,
|
|
4045
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4068
4046
|
AtomicSearchLayout,
|
|
4069
4047
|
AtomicAutomaticFacet,
|
|
4070
4048
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4137,7 +4115,6 @@ const DECLARATIONS = [
|
|
|
4137
4115
|
AtomicResultTimespan,
|
|
4138
4116
|
AtomicSearchBox,
|
|
4139
4117
|
AtomicSearchBoxInstantResults,
|
|
4140
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4141
4118
|
AtomicSearchBoxRecentQueries,
|
|
4142
4119
|
AtomicSearchInterface,
|
|
4143
4120
|
AtomicSegmentedFacet,
|
|
@@ -4239,6 +4216,7 @@ class AtomicAngularModule {
|
|
|
4239
4216
|
AtomicProductText,
|
|
4240
4217
|
AtomicQuerySummary,
|
|
4241
4218
|
AtomicResultsPerPage,
|
|
4219
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4242
4220
|
AtomicSearchLayout,
|
|
4243
4221
|
AtomicAutomaticFacet,
|
|
4244
4222
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4311,7 +4289,6 @@ class AtomicAngularModule {
|
|
|
4311
4289
|
AtomicResultTimespan,
|
|
4312
4290
|
AtomicSearchBox,
|
|
4313
4291
|
AtomicSearchBoxInstantResults,
|
|
4314
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4315
4292
|
AtomicSearchBoxRecentQueries,
|
|
4316
4293
|
AtomicSearchInterface,
|
|
4317
4294
|
AtomicSegmentedFacet,
|
|
@@ -4380,6 +4357,7 @@ class AtomicAngularModule {
|
|
|
4380
4357
|
AtomicProductText,
|
|
4381
4358
|
AtomicQuerySummary,
|
|
4382
4359
|
AtomicResultsPerPage,
|
|
4360
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4383
4361
|
AtomicSearchLayout,
|
|
4384
4362
|
AtomicAutomaticFacet,
|
|
4385
4363
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4452,7 +4430,6 @@ class AtomicAngularModule {
|
|
|
4452
4430
|
AtomicResultTimespan,
|
|
4453
4431
|
AtomicSearchBox,
|
|
4454
4432
|
AtomicSearchBoxInstantResults,
|
|
4455
|
-
AtomicSearchBoxQuerySuggestions,
|
|
4456
4433
|
AtomicSearchBoxRecentQueries,
|
|
4457
4434
|
AtomicSearchInterface,
|
|
4458
4435
|
AtomicSegmentedFacet,
|