@coveo/atomic-angular 3.7.8-pre.7f039d5f49 → 3.7.8-pre.81433fa5be
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,10 +4,31 @@ 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
|
|
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, defineCustomElementAtomicSearchBoxRecentQueries, 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, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
8
9
|
|
|
9
10
|
/* eslint-disable */
|
|
10
11
|
/* 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
|
+
};
|
|
11
32
|
const proxyInputs = (Cmp, inputs) => {
|
|
12
33
|
const Prototype = Cmp.prototype;
|
|
13
34
|
inputs.forEach((item) => {
|
|
@@ -16,7 +37,10 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
16
37
|
return this.el[item];
|
|
17
38
|
},
|
|
18
39
|
set(val) {
|
|
19
|
-
this.z.runOutsideAngular(() =>
|
|
40
|
+
this.z.runOutsideAngular(() => {
|
|
41
|
+
const attrName = getAttributeName(item);
|
|
42
|
+
this.el.setAttribute(attrName, val);
|
|
43
|
+
});
|
|
20
44
|
},
|
|
21
45
|
/**
|
|
22
46
|
* In the event that proxyInputs is called
|
|
@@ -1952,7 +1976,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1952
1976
|
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1953
1977
|
}]
|
|
1954
1978
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1955
|
-
let
|
|
1979
|
+
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
1956
1980
|
z;
|
|
1957
1981
|
el;
|
|
1958
1982
|
constructor(c, r, z) {
|
|
@@ -1960,26 +1984,26 @@ let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
|
1960
1984
|
c.detach();
|
|
1961
1985
|
this.el = r.nativeElement;
|
|
1962
1986
|
}
|
|
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:
|
|
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 });
|
|
1965
1989
|
};
|
|
1966
|
-
|
|
1990
|
+
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
1967
1991
|
ProxyCmp({
|
|
1968
1992
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1969
|
-
defineCustomElementFn:
|
|
1993
|
+
defineCustomElementFn: defineCustomElementAtomicSearchBoxQuerySuggestions
|
|
1970
1994
|
})
|
|
1971
|
-
],
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1995
|
+
], AtomicSearchBoxQuerySuggestions);
|
|
1996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
1973
1997
|
type: Component,
|
|
1974
1998
|
args: [{ standalone: false,
|
|
1975
|
-
selector: 'atomic-search-box-
|
|
1999
|
+
selector: 'atomic-search-box-query-suggestions',
|
|
1976
2000
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1977
2001
|
template: '<ng-content></ng-content>',
|
|
1978
2002
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1979
2003
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1980
2004
|
}]
|
|
1981
2005
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1982
|
-
let
|
|
2006
|
+
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
1983
2007
|
z;
|
|
1984
2008
|
el;
|
|
1985
2009
|
constructor(c, r, z) {
|
|
@@ -1987,24 +2011,23 @@ let AtomicSearchInterface = class AtomicSearchInterface {
|
|
|
1987
2011
|
c.detach();
|
|
1988
2012
|
this.el = r.nativeElement;
|
|
1989
2013
|
}
|
|
1990
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1991
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
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 });
|
|
1992
2016
|
};
|
|
1993
|
-
|
|
2017
|
+
AtomicSearchBoxRecentQueries = __decorate([
|
|
1994
2018
|
ProxyCmp({
|
|
1995
|
-
inputs: ['
|
|
1996
|
-
|
|
1997
|
-
defineCustomElementFn: defineCustomElementAtomicSearchInterface
|
|
2019
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2020
|
+
defineCustomElementFn: defineCustomElementAtomicSearchBoxRecentQueries
|
|
1998
2021
|
})
|
|
1999
|
-
],
|
|
2000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
2022
|
+
], AtomicSearchBoxRecentQueries);
|
|
2023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
|
|
2001
2024
|
type: Component,
|
|
2002
2025
|
args: [{ standalone: false,
|
|
2003
|
-
selector: 'atomic-search-
|
|
2026
|
+
selector: 'atomic-search-box-recent-queries',
|
|
2004
2027
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2005
2028
|
template: '<ng-content></ng-content>',
|
|
2006
2029
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2007
|
-
inputs: ['
|
|
2030
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2008
2031
|
}]
|
|
2009
2032
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2010
2033
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
@@ -2535,6 +2558,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2535
2558
|
this.z = z;
|
|
2536
2559
|
c.detach();
|
|
2537
2560
|
this.el = el.nativeElement;
|
|
2561
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2538
2562
|
}
|
|
2539
2563
|
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 });
|
|
2540
2564
|
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 });
|
|
@@ -2542,7 +2566,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2542
2566
|
AtomicCommerceLayout = __decorate([
|
|
2543
2567
|
ProxyCmp({
|
|
2544
2568
|
inputs: ['mobileBreakpoint'],
|
|
2545
|
-
methods: [],
|
|
2569
|
+
methods: ['onMobileBreakpointChange'],
|
|
2546
2570
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2547
2571
|
})
|
|
2548
2572
|
], AtomicCommerceLayout);
|
|
@@ -3926,7 +3950,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3926
3950
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3927
3951
|
}]
|
|
3928
3952
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3929
|
-
let
|
|
3953
|
+
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3930
3954
|
z;
|
|
3931
3955
|
el;
|
|
3932
3956
|
constructor(c, el, z) {
|
|
@@ -3934,25 +3958,25 @@ let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
|
3934
3958
|
c.detach();
|
|
3935
3959
|
this.el = el.nativeElement;
|
|
3936
3960
|
}
|
|
3937
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3938
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
3961
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3962
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchInterface, isStandalone: false, selector: "atomic-search-interface", inputs: { fieldsToInclude: "fieldsToInclude", pipeline: "pipeline", searchHub: "searchHub", analytics: "analytics", timezone: "timezone", logLevel: "logLevel", language: "language", reflectStateInUrl: "reflectStateInUrl", disableStateReflectionInUrl: "disableStateReflectionInUrl", scrollContainer: "scrollContainer", languageAssetsPath: "languageAssetsPath", iconAssetsPath: "iconAssetsPath", enableRelevanceInspector: "enableRelevanceInspector", disableRelevanceInspector: "disableRelevanceInspector" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3939
3963
|
};
|
|
3940
|
-
|
|
3964
|
+
AtomicSearchInterface = __decorate([
|
|
3941
3965
|
ProxyCmp({
|
|
3942
|
-
inputs: ['
|
|
3943
|
-
methods: ['initialize'],
|
|
3944
|
-
defineCustomElementFn: () => { customElements.get('atomic-search-
|
|
3966
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector'],
|
|
3967
|
+
methods: ['scrollToTop', 'closeRelevanceInspector', 'initialize', 'initializeWithSearchEngine', 'executeFirstSearch', 'updateSearchConfiguration', 'updateSearchHub', 'updatePipeline', 'toggleAnalytics', 'updateLanguage', 'updateIconAssetsPath', 'registerFieldsToInclude'],
|
|
3968
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-interface') || customElements.define('atomic-search-interface', AtomicSearchInterface$1); }
|
|
3945
3969
|
})
|
|
3946
|
-
],
|
|
3947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3970
|
+
], AtomicSearchInterface);
|
|
3971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
3948
3972
|
type: Component,
|
|
3949
3973
|
args: [{
|
|
3950
|
-
selector: 'atomic-search-
|
|
3974
|
+
selector: 'atomic-search-interface',
|
|
3951
3975
|
standalone: false,
|
|
3952
3976
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3953
3977
|
template: '<ng-content></ng-content>',
|
|
3954
3978
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3955
|
-
inputs: ['
|
|
3979
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector']
|
|
3956
3980
|
}]
|
|
3957
3981
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3958
3982
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
@@ -3962,6 +3986,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3962
3986
|
this.z = z;
|
|
3963
3987
|
c.detach();
|
|
3964
3988
|
this.el = el.nativeElement;
|
|
3989
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
3965
3990
|
}
|
|
3966
3991
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3967
3992
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchLayout, isStandalone: false, selector: "atomic-search-layout", inputs: { mobileBreakpoint: "mobileBreakpoint" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -3969,7 +3994,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3969
3994
|
AtomicSearchLayout = __decorate([
|
|
3970
3995
|
ProxyCmp({
|
|
3971
3996
|
inputs: ['mobileBreakpoint'],
|
|
3972
|
-
methods: [],
|
|
3997
|
+
methods: ['onMobileBreakpointChange'],
|
|
3973
3998
|
defineCustomElementFn: () => { customElements.get('atomic-search-layout') || customElements.define('atomic-search-layout', AtomicSearchLayout$1); }
|
|
3974
3999
|
})
|
|
3975
4000
|
], AtomicSearchLayout);
|
|
@@ -4042,7 +4067,7 @@ const DECLARATIONS = [
|
|
|
4042
4067
|
AtomicProductText,
|
|
4043
4068
|
AtomicQuerySummary,
|
|
4044
4069
|
AtomicResultsPerPage,
|
|
4045
|
-
|
|
4070
|
+
AtomicSearchInterface,
|
|
4046
4071
|
AtomicSearchLayout,
|
|
4047
4072
|
AtomicAutomaticFacet,
|
|
4048
4073
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4115,8 +4140,8 @@ const DECLARATIONS = [
|
|
|
4115
4140
|
AtomicResultTimespan,
|
|
4116
4141
|
AtomicSearchBox,
|
|
4117
4142
|
AtomicSearchBoxInstantResults,
|
|
4143
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4118
4144
|
AtomicSearchBoxRecentQueries,
|
|
4119
|
-
AtomicSearchInterface,
|
|
4120
4145
|
AtomicSegmentedFacet,
|
|
4121
4146
|
AtomicSegmentedFacetScrollable,
|
|
4122
4147
|
AtomicSmartSnippet,
|
|
@@ -4216,7 +4241,7 @@ class AtomicAngularModule {
|
|
|
4216
4241
|
AtomicProductText,
|
|
4217
4242
|
AtomicQuerySummary,
|
|
4218
4243
|
AtomicResultsPerPage,
|
|
4219
|
-
|
|
4244
|
+
AtomicSearchInterface,
|
|
4220
4245
|
AtomicSearchLayout,
|
|
4221
4246
|
AtomicAutomaticFacet,
|
|
4222
4247
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4289,8 +4314,8 @@ class AtomicAngularModule {
|
|
|
4289
4314
|
AtomicResultTimespan,
|
|
4290
4315
|
AtomicSearchBox,
|
|
4291
4316
|
AtomicSearchBoxInstantResults,
|
|
4317
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4292
4318
|
AtomicSearchBoxRecentQueries,
|
|
4293
|
-
AtomicSearchInterface,
|
|
4294
4319
|
AtomicSegmentedFacet,
|
|
4295
4320
|
AtomicSegmentedFacetScrollable,
|
|
4296
4321
|
AtomicSmartSnippet,
|
|
@@ -4357,7 +4382,7 @@ class AtomicAngularModule {
|
|
|
4357
4382
|
AtomicProductText,
|
|
4358
4383
|
AtomicQuerySummary,
|
|
4359
4384
|
AtomicResultsPerPage,
|
|
4360
|
-
|
|
4385
|
+
AtomicSearchInterface,
|
|
4361
4386
|
AtomicSearchLayout,
|
|
4362
4387
|
AtomicAutomaticFacet,
|
|
4363
4388
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4430,8 +4455,8 @@ class AtomicAngularModule {
|
|
|
4430
4455
|
AtomicResultTimespan,
|
|
4431
4456
|
AtomicSearchBox,
|
|
4432
4457
|
AtomicSearchBoxInstantResults,
|
|
4458
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4433
4459
|
AtomicSearchBoxRecentQueries,
|
|
4434
|
-
AtomicSearchInterface,
|
|
4435
4460
|
AtomicSegmentedFacet,
|
|
4436
4461
|
AtomicSegmentedFacetScrollable,
|
|
4437
4462
|
AtomicSmartSnippet,
|