@coveo/atomic-angular 3.7.8-pre.bcd9d55cdd → 3.7.8-pre.c1b9c82ffa
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, 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
|
|
@@ -764,6 +788,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
764
788
|
inputs: ['end', 'endInclusive', 'label', 'start'],
|
|
765
789
|
}]
|
|
766
790
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
791
|
+
let AtomicPager = class AtomicPager {
|
|
792
|
+
z;
|
|
793
|
+
el;
|
|
794
|
+
constructor(c, r, z) {
|
|
795
|
+
this.z = z;
|
|
796
|
+
c.detach();
|
|
797
|
+
this.el = r.nativeElement;
|
|
798
|
+
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
799
|
+
}
|
|
800
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
801
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicPager, isStandalone: false, selector: "atomic-pager", inputs: { nextButtonIcon: "nextButtonIcon", numberOfPages: "numberOfPages", previousButtonIcon: "previousButtonIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
802
|
+
};
|
|
803
|
+
AtomicPager = __decorate([
|
|
804
|
+
ProxyCmp({
|
|
805
|
+
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
806
|
+
defineCustomElementFn: defineCustomElementAtomicPager
|
|
807
|
+
})
|
|
808
|
+
], AtomicPager);
|
|
809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
|
|
810
|
+
type: Component,
|
|
811
|
+
args: [{ standalone: false,
|
|
812
|
+
selector: 'atomic-pager',
|
|
813
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
814
|
+
template: '<ng-content></ng-content>',
|
|
815
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
816
|
+
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
817
|
+
}]
|
|
818
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
767
819
|
let AtomicPopover = class AtomicPopover {
|
|
768
820
|
z;
|
|
769
821
|
el;
|
|
@@ -1111,34 +1163,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1111
1163
|
inputs: ['collapseFacetsAfter'],
|
|
1112
1164
|
}]
|
|
1113
1165
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1114
|
-
let AtomicRelevanceInspector = class AtomicRelevanceInspector {
|
|
1115
|
-
z;
|
|
1116
|
-
el;
|
|
1117
|
-
constructor(c, r, z) {
|
|
1118
|
-
this.z = z;
|
|
1119
|
-
c.detach();
|
|
1120
|
-
this.el = r.nativeElement;
|
|
1121
|
-
proxyOutputs(this, this.el, ['atomic/relevanceInspector/close']);
|
|
1122
|
-
}
|
|
1123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicRelevanceInspector, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1124
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicRelevanceInspector, isStandalone: false, selector: "atomic-relevance-inspector", inputs: { bindings: "bindings", open: "open" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1125
|
-
};
|
|
1126
|
-
AtomicRelevanceInspector = __decorate([
|
|
1127
|
-
ProxyCmp({
|
|
1128
|
-
inputs: ['bindings', 'open'],
|
|
1129
|
-
defineCustomElementFn: defineCustomElementAtomicRelevanceInspector
|
|
1130
|
-
})
|
|
1131
|
-
], AtomicRelevanceInspector);
|
|
1132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicRelevanceInspector, decorators: [{
|
|
1133
|
-
type: Component,
|
|
1134
|
-
args: [{ standalone: false,
|
|
1135
|
-
selector: 'atomic-relevance-inspector',
|
|
1136
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1137
|
-
template: '<ng-content></ng-content>',
|
|
1138
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1139
|
-
inputs: ['bindings', 'open'],
|
|
1140
|
-
}]
|
|
1141
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1142
1166
|
let AtomicResult = class AtomicResult {
|
|
1143
1167
|
z;
|
|
1144
1168
|
el;
|
|
@@ -1978,34 +2002,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1978
2002
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
1979
2003
|
}]
|
|
1980
2004
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1981
|
-
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
1982
|
-
z;
|
|
1983
|
-
el;
|
|
1984
|
-
constructor(c, r, z) {
|
|
1985
|
-
this.z = z;
|
|
1986
|
-
c.detach();
|
|
1987
|
-
this.el = r.nativeElement;
|
|
1988
|
-
}
|
|
1989
|
-
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 });
|
|
1990
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchInterface, isStandalone: false, selector: "atomic-search-interface", inputs: { CspNonce: "CspNonce", analytics: "analytics", enableRelevanceInspector: "enableRelevanceInspector", engine: "engine", fieldsToInclude: "fieldsToInclude", i18n: "i18n", iconAssetsPath: "iconAssetsPath", language: "language", languageAssetsPath: "languageAssetsPath", logLevel: "logLevel", pipeline: "pipeline", reflectStateInUrl: "reflectStateInUrl", scrollContainer: "scrollContainer", searchHub: "searchHub", timezone: "timezone" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1991
|
-
};
|
|
1992
|
-
AtomicSearchInterface = __decorate([
|
|
1993
|
-
ProxyCmp({
|
|
1994
|
-
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
1995
|
-
methods: ['initialize', 'initializeWithSearchEngine', 'executeFirstSearch'],
|
|
1996
|
-
defineCustomElementFn: defineCustomElementAtomicSearchInterface
|
|
1997
|
-
})
|
|
1998
|
-
], AtomicSearchInterface);
|
|
1999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
2000
|
-
type: Component,
|
|
2001
|
-
args: [{ standalone: false,
|
|
2002
|
-
selector: 'atomic-search-interface',
|
|
2003
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2004
|
-
template: '<ng-content></ng-content>',
|
|
2005
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2006
|
-
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
2007
|
-
}]
|
|
2008
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2009
2005
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2010
2006
|
z;
|
|
2011
2007
|
el;
|
|
@@ -2534,6 +2530,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2534
2530
|
this.z = z;
|
|
2535
2531
|
c.detach();
|
|
2536
2532
|
this.el = el.nativeElement;
|
|
2533
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2537
2534
|
}
|
|
2538
2535
|
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 });
|
|
2539
2536
|
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 });
|
|
@@ -2541,7 +2538,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2541
2538
|
AtomicCommerceLayout = __decorate([
|
|
2542
2539
|
ProxyCmp({
|
|
2543
2540
|
inputs: ['mobileBreakpoint'],
|
|
2544
|
-
methods: [],
|
|
2541
|
+
methods: ['onMobileBreakpointChange'],
|
|
2545
2542
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2546
2543
|
})
|
|
2547
2544
|
], AtomicCommerceLayout);
|
|
@@ -3866,36 +3863,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3866
3863
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3867
3864
|
}]
|
|
3868
3865
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3869
|
-
let AtomicPager = class AtomicPager {
|
|
3870
|
-
z;
|
|
3871
|
-
el;
|
|
3872
|
-
constructor(c, el, z) {
|
|
3873
|
-
this.z = z;
|
|
3874
|
-
c.detach();
|
|
3875
|
-
this.el = el.nativeElement;
|
|
3876
|
-
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
3877
|
-
}
|
|
3878
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3879
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicPager, isStandalone: false, selector: "atomic-pager", inputs: { numberOfPages: "numberOfPages", previousButtonIcon: "previousButtonIcon", nextButtonIcon: "nextButtonIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3880
|
-
};
|
|
3881
|
-
AtomicPager = __decorate([
|
|
3882
|
-
ProxyCmp({
|
|
3883
|
-
inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon'],
|
|
3884
|
-
methods: ['initialize'],
|
|
3885
|
-
defineCustomElementFn: () => { customElements.get('atomic-pager') || customElements.define('atomic-pager', AtomicPager$1); }
|
|
3886
|
-
})
|
|
3887
|
-
], AtomicPager);
|
|
3888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
|
|
3889
|
-
type: Component,
|
|
3890
|
-
args: [{
|
|
3891
|
-
selector: 'atomic-pager',
|
|
3892
|
-
standalone: false,
|
|
3893
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3894
|
-
template: '<ng-content></ng-content>',
|
|
3895
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3896
|
-
inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon']
|
|
3897
|
-
}]
|
|
3898
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3899
3866
|
let AtomicQuerySummary = class AtomicQuerySummary {
|
|
3900
3867
|
z;
|
|
3901
3868
|
el;
|
|
@@ -3955,6 +3922,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3955
3922
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3956
3923
|
}]
|
|
3957
3924
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3925
|
+
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3926
|
+
z;
|
|
3927
|
+
el;
|
|
3928
|
+
constructor(c, el, z) {
|
|
3929
|
+
this.z = z;
|
|
3930
|
+
c.detach();
|
|
3931
|
+
this.el = el.nativeElement;
|
|
3932
|
+
}
|
|
3933
|
+
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 });
|
|
3934
|
+
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 });
|
|
3935
|
+
};
|
|
3936
|
+
AtomicSearchInterface = __decorate([
|
|
3937
|
+
ProxyCmp({
|
|
3938
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector'],
|
|
3939
|
+
methods: ['scrollToTop', 'closeRelevanceInspector', 'initialize', 'initializeWithSearchEngine', 'executeFirstSearch', 'updateSearchConfiguration', 'updateSearchHub', 'updatePipeline', 'toggleAnalytics', 'updateLanguage', 'updateIconAssetsPath', 'registerFieldsToInclude'],
|
|
3940
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-interface') || customElements.define('atomic-search-interface', AtomicSearchInterface$1); }
|
|
3941
|
+
})
|
|
3942
|
+
], AtomicSearchInterface);
|
|
3943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
3944
|
+
type: Component,
|
|
3945
|
+
args: [{
|
|
3946
|
+
selector: 'atomic-search-interface',
|
|
3947
|
+
standalone: false,
|
|
3948
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3949
|
+
template: '<ng-content></ng-content>',
|
|
3950
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3951
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector']
|
|
3952
|
+
}]
|
|
3953
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3958
3954
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3959
3955
|
z;
|
|
3960
3956
|
el;
|
|
@@ -3962,6 +3958,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3962
3958
|
this.z = z;
|
|
3963
3959
|
c.detach();
|
|
3964
3960
|
this.el = el.nativeElement;
|
|
3961
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
3965
3962
|
}
|
|
3966
3963
|
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
3964
|
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 +3966,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3969
3966
|
AtomicSearchLayout = __decorate([
|
|
3970
3967
|
ProxyCmp({
|
|
3971
3968
|
inputs: ['mobileBreakpoint'],
|
|
3972
|
-
methods: [],
|
|
3969
|
+
methods: ['onMobileBreakpointChange'],
|
|
3973
3970
|
defineCustomElementFn: () => { customElements.get('atomic-search-layout') || customElements.define('atomic-search-layout', AtomicSearchLayout$1); }
|
|
3974
3971
|
})
|
|
3975
3972
|
], AtomicSearchLayout);
|
|
@@ -4018,7 +4015,6 @@ const DECLARATIONS = [
|
|
|
4018
4015
|
AtomicComponentError,
|
|
4019
4016
|
AtomicIcon,
|
|
4020
4017
|
AtomicLayoutSection,
|
|
4021
|
-
AtomicPager,
|
|
4022
4018
|
AtomicProduct,
|
|
4023
4019
|
AtomicProductChildren,
|
|
4024
4020
|
AtomicProductDescription,
|
|
@@ -4043,6 +4039,7 @@ const DECLARATIONS = [
|
|
|
4043
4039
|
AtomicProductText,
|
|
4044
4040
|
AtomicQuerySummary,
|
|
4045
4041
|
AtomicResultsPerPage,
|
|
4042
|
+
AtomicSearchInterface,
|
|
4046
4043
|
AtomicSearchLayout,
|
|
4047
4044
|
AtomicAutomaticFacet,
|
|
4048
4045
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4070,6 +4067,7 @@ const DECLARATIONS = [
|
|
|
4070
4067
|
AtomicNotifications,
|
|
4071
4068
|
AtomicNumericFacet,
|
|
4072
4069
|
AtomicNumericRange,
|
|
4070
|
+
AtomicPager,
|
|
4073
4071
|
AtomicPopover,
|
|
4074
4072
|
AtomicQueryError,
|
|
4075
4073
|
AtomicQuickview,
|
|
@@ -4083,7 +4081,6 @@ const DECLARATIONS = [
|
|
|
4083
4081
|
AtomicRecsResultTemplate,
|
|
4084
4082
|
AtomicRefineModal,
|
|
4085
4083
|
AtomicRefineToggle,
|
|
4086
|
-
AtomicRelevanceInspector,
|
|
4087
4084
|
AtomicResult,
|
|
4088
4085
|
AtomicResultBadge,
|
|
4089
4086
|
AtomicResultChildren,
|
|
@@ -4116,7 +4113,6 @@ const DECLARATIONS = [
|
|
|
4116
4113
|
AtomicSearchBoxInstantResults,
|
|
4117
4114
|
AtomicSearchBoxQuerySuggestions,
|
|
4118
4115
|
AtomicSearchBoxRecentQueries,
|
|
4119
|
-
AtomicSearchInterface,
|
|
4120
4116
|
AtomicSegmentedFacet,
|
|
4121
4117
|
AtomicSegmentedFacetScrollable,
|
|
4122
4118
|
AtomicSmartSnippet,
|
|
@@ -4192,7 +4188,6 @@ class AtomicAngularModule {
|
|
|
4192
4188
|
AtomicComponentError,
|
|
4193
4189
|
AtomicIcon,
|
|
4194
4190
|
AtomicLayoutSection,
|
|
4195
|
-
AtomicPager,
|
|
4196
4191
|
AtomicProduct,
|
|
4197
4192
|
AtomicProductChildren,
|
|
4198
4193
|
AtomicProductDescription,
|
|
@@ -4217,6 +4212,7 @@ class AtomicAngularModule {
|
|
|
4217
4212
|
AtomicProductText,
|
|
4218
4213
|
AtomicQuerySummary,
|
|
4219
4214
|
AtomicResultsPerPage,
|
|
4215
|
+
AtomicSearchInterface,
|
|
4220
4216
|
AtomicSearchLayout,
|
|
4221
4217
|
AtomicAutomaticFacet,
|
|
4222
4218
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4244,6 +4240,7 @@ class AtomicAngularModule {
|
|
|
4244
4240
|
AtomicNotifications,
|
|
4245
4241
|
AtomicNumericFacet,
|
|
4246
4242
|
AtomicNumericRange,
|
|
4243
|
+
AtomicPager,
|
|
4247
4244
|
AtomicPopover,
|
|
4248
4245
|
AtomicQueryError,
|
|
4249
4246
|
AtomicQuickview,
|
|
@@ -4257,7 +4254,6 @@ class AtomicAngularModule {
|
|
|
4257
4254
|
AtomicRecsResultTemplate,
|
|
4258
4255
|
AtomicRefineModal,
|
|
4259
4256
|
AtomicRefineToggle,
|
|
4260
|
-
AtomicRelevanceInspector,
|
|
4261
4257
|
AtomicResult,
|
|
4262
4258
|
AtomicResultBadge,
|
|
4263
4259
|
AtomicResultChildren,
|
|
@@ -4290,7 +4286,6 @@ class AtomicAngularModule {
|
|
|
4290
4286
|
AtomicSearchBoxInstantResults,
|
|
4291
4287
|
AtomicSearchBoxQuerySuggestions,
|
|
4292
4288
|
AtomicSearchBoxRecentQueries,
|
|
4293
|
-
AtomicSearchInterface,
|
|
4294
4289
|
AtomicSegmentedFacet,
|
|
4295
4290
|
AtomicSegmentedFacetScrollable,
|
|
4296
4291
|
AtomicSmartSnippet,
|
|
@@ -4333,7 +4328,6 @@ class AtomicAngularModule {
|
|
|
4333
4328
|
AtomicComponentError,
|
|
4334
4329
|
AtomicIcon,
|
|
4335
4330
|
AtomicLayoutSection,
|
|
4336
|
-
AtomicPager,
|
|
4337
4331
|
AtomicProduct,
|
|
4338
4332
|
AtomicProductChildren,
|
|
4339
4333
|
AtomicProductDescription,
|
|
@@ -4358,6 +4352,7 @@ class AtomicAngularModule {
|
|
|
4358
4352
|
AtomicProductText,
|
|
4359
4353
|
AtomicQuerySummary,
|
|
4360
4354
|
AtomicResultsPerPage,
|
|
4355
|
+
AtomicSearchInterface,
|
|
4361
4356
|
AtomicSearchLayout,
|
|
4362
4357
|
AtomicAutomaticFacet,
|
|
4363
4358
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4385,6 +4380,7 @@ class AtomicAngularModule {
|
|
|
4385
4380
|
AtomicNotifications,
|
|
4386
4381
|
AtomicNumericFacet,
|
|
4387
4382
|
AtomicNumericRange,
|
|
4383
|
+
AtomicPager,
|
|
4388
4384
|
AtomicPopover,
|
|
4389
4385
|
AtomicQueryError,
|
|
4390
4386
|
AtomicQuickview,
|
|
@@ -4398,7 +4394,6 @@ class AtomicAngularModule {
|
|
|
4398
4394
|
AtomicRecsResultTemplate,
|
|
4399
4395
|
AtomicRefineModal,
|
|
4400
4396
|
AtomicRefineToggle,
|
|
4401
|
-
AtomicRelevanceInspector,
|
|
4402
4397
|
AtomicResult,
|
|
4403
4398
|
AtomicResultBadge,
|
|
4404
4399
|
AtomicResultChildren,
|
|
@@ -4431,7 +4426,6 @@ class AtomicAngularModule {
|
|
|
4431
4426
|
AtomicSearchBoxInstantResults,
|
|
4432
4427
|
AtomicSearchBoxQuerySuggestions,
|
|
4433
4428
|
AtomicSearchBoxRecentQueries,
|
|
4434
|
-
AtomicSearchInterface,
|
|
4435
4429
|
AtomicSegmentedFacet,
|
|
4436
4430
|
AtomicSegmentedFacetScrollable,
|
|
4437
4431
|
AtomicSmartSnippet,
|
|
@@ -4465,5 +4459,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
4465
4459
|
* Generated bundle index. Do not edit.
|
|
4466
4460
|
*/
|
|
4467
4461
|
|
|
4468
|
-
export { AtomicAngularModule, AtomicAriaLive, AtomicAutomaticFacet, AtomicAutomaticFacetGenerator, AtomicBreadbox, AtomicCategoryFacet, AtomicCitation, AtomicColorFacet, AtomicCommerceBreadbox, AtomicCommerceCategoryFacet, AtomicCommerceDidYouMean, AtomicCommerceFacet, AtomicCommerceFacets, AtomicCommerceInterface, AtomicCommerceLayout, AtomicCommerceLoadMoreProducts, AtomicCommerceNoProducts, AtomicCommerceNumericFacet, AtomicCommercePager, AtomicCommerceProductList, AtomicCommerceProductsPerPage, AtomicCommerceQueryError, AtomicCommerceQuerySummary, AtomicCommerceRecommendationInterface, AtomicCommerceRecommendationList, AtomicCommerceRefineModal, AtomicCommerceRefineToggle, AtomicCommerceSearchBox, AtomicCommerceSearchBoxInstantProducts, AtomicCommerceSearchBoxQuerySuggestions, AtomicCommerceSearchBoxRecentQueries, AtomicCommerceSortDropdown, AtomicCommerceText, AtomicCommerceTimeframeFacet, AtomicComponentError, AtomicDidYouMean, AtomicExternal, AtomicFacet, AtomicFacetManager, AtomicFieldCondition, AtomicFoldedResultList, AtomicFormatCurrency, AtomicFormatNumber, AtomicFormatUnit, AtomicGeneratedAnswer, AtomicGeneratedAnswerFeedbackModal, AtomicHtml, AtomicIcon, AtomicInsightInterface, AtomicInsightUserActionsTimeline, AtomicInsightUserActionsToggle, AtomicLayoutSection, AtomicLoadMoreResults, AtomicNoResults, AtomicNotifications, AtomicNumericFacet, AtomicNumericRange, AtomicPager, AtomicPopover, AtomicProduct, AtomicProductChildren, AtomicProductDescription, AtomicProductExcerpt, AtomicProductFieldCondition, AtomicProductImage, AtomicProductLink, AtomicProductMultiValueText, AtomicProductNumericFieldValue, AtomicProductPrice, AtomicProductRating, AtomicProductSectionActions, AtomicProductSectionBadges, AtomicProductSectionBottomMetadata, AtomicProductSectionChildren, AtomicProductSectionDescription, AtomicProductSectionEmphasized, AtomicProductSectionMetadata, AtomicProductSectionName, AtomicProductSectionVisual, AtomicProductTemplate, AtomicProductText, AtomicQueryError, AtomicQuerySummary, AtomicQuickview, AtomicQuickviewModal, AtomicRatingFacet, AtomicRatingRangeFacet, AtomicRecsError, AtomicRecsInterface, AtomicRecsList, AtomicRecsResult, AtomicRecsResultTemplate, AtomicRefineModal, AtomicRefineToggle,
|
|
4462
|
+
export { AtomicAngularModule, AtomicAriaLive, AtomicAutomaticFacet, AtomicAutomaticFacetGenerator, AtomicBreadbox, AtomicCategoryFacet, AtomicCitation, AtomicColorFacet, AtomicCommerceBreadbox, AtomicCommerceCategoryFacet, AtomicCommerceDidYouMean, AtomicCommerceFacet, AtomicCommerceFacets, AtomicCommerceInterface, AtomicCommerceLayout, AtomicCommerceLoadMoreProducts, AtomicCommerceNoProducts, AtomicCommerceNumericFacet, AtomicCommercePager, AtomicCommerceProductList, AtomicCommerceProductsPerPage, AtomicCommerceQueryError, AtomicCommerceQuerySummary, AtomicCommerceRecommendationInterface, AtomicCommerceRecommendationList, AtomicCommerceRefineModal, AtomicCommerceRefineToggle, AtomicCommerceSearchBox, AtomicCommerceSearchBoxInstantProducts, AtomicCommerceSearchBoxQuerySuggestions, AtomicCommerceSearchBoxRecentQueries, AtomicCommerceSortDropdown, AtomicCommerceText, AtomicCommerceTimeframeFacet, AtomicComponentError, AtomicDidYouMean, AtomicExternal, AtomicFacet, AtomicFacetManager, AtomicFieldCondition, AtomicFoldedResultList, AtomicFormatCurrency, AtomicFormatNumber, AtomicFormatUnit, AtomicGeneratedAnswer, AtomicGeneratedAnswerFeedbackModal, AtomicHtml, AtomicIcon, AtomicInsightInterface, AtomicInsightUserActionsTimeline, AtomicInsightUserActionsToggle, AtomicLayoutSection, AtomicLoadMoreResults, AtomicNoResults, AtomicNotifications, AtomicNumericFacet, AtomicNumericRange, AtomicPager, AtomicPopover, AtomicProduct, AtomicProductChildren, AtomicProductDescription, AtomicProductExcerpt, AtomicProductFieldCondition, AtomicProductImage, AtomicProductLink, AtomicProductMultiValueText, AtomicProductNumericFieldValue, AtomicProductPrice, AtomicProductRating, AtomicProductSectionActions, AtomicProductSectionBadges, AtomicProductSectionBottomMetadata, AtomicProductSectionChildren, AtomicProductSectionDescription, AtomicProductSectionEmphasized, AtomicProductSectionMetadata, AtomicProductSectionName, AtomicProductSectionVisual, AtomicProductTemplate, AtomicProductText, AtomicQueryError, AtomicQuerySummary, AtomicQuickview, AtomicQuickviewModal, AtomicRatingFacet, AtomicRatingRangeFacet, AtomicRecsError, AtomicRecsInterface, AtomicRecsList, AtomicRecsResult, AtomicRecsResultTemplate, AtomicRefineModal, AtomicRefineToggle, AtomicResult, AtomicResultBadge, AtomicResultChildren, AtomicResultChildrenTemplate, AtomicResultDate, AtomicResultFieldsList, AtomicResultHtml, AtomicResultIcon, AtomicResultImage, AtomicResultLink, AtomicResultList, AtomicResultLocalizedText, AtomicResultMultiValueText, AtomicResultNumber, AtomicResultPrintableUri, AtomicResultRating, AtomicResultSectionActions, AtomicResultSectionBadges, AtomicResultSectionBottomMetadata, AtomicResultSectionChildren, AtomicResultSectionEmphasized, AtomicResultSectionExcerpt, AtomicResultSectionTitle, AtomicResultSectionTitleMetadata, AtomicResultSectionVisual, AtomicResultTemplate, AtomicResultText, AtomicResultTimespan, AtomicResultsPerPage, AtomicSearchBox, AtomicSearchBoxInstantResults, AtomicSearchBoxQuerySuggestions, AtomicSearchBoxRecentQueries, AtomicSearchInterface, AtomicSearchLayout, AtomicSegmentedFacet, AtomicSegmentedFacetScrollable, AtomicSmartSnippet, AtomicSmartSnippetFeedbackModal, AtomicSmartSnippetSuggestions, AtomicSortDropdown, AtomicSortExpression, AtomicTab, AtomicTabManager, AtomicTableElement, AtomicText, AtomicTimeframe, AtomicTimeframeFacet };
|
|
4469
4463
|
//# sourceMappingURL=coveo-atomic-angular.mjs.map
|