@coveo/atomic-angular 3.7.8-pre.81433fa5be → 3.7.8-pre.845fe849b2
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, 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';
|
|
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, 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';
|
|
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
|
|
@@ -2030,6 +2006,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2030
2006
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2031
2007
|
}]
|
|
2032
2008
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2009
|
+
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
2010
|
+
z;
|
|
2011
|
+
el;
|
|
2012
|
+
constructor(c, r, z) {
|
|
2013
|
+
this.z = z;
|
|
2014
|
+
c.detach();
|
|
2015
|
+
this.el = r.nativeElement;
|
|
2016
|
+
}
|
|
2017
|
+
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 });
|
|
2018
|
+
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 });
|
|
2019
|
+
};
|
|
2020
|
+
AtomicSearchInterface = __decorate([
|
|
2021
|
+
ProxyCmp({
|
|
2022
|
+
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
2023
|
+
methods: ['initialize', 'initializeWithSearchEngine', 'executeFirstSearch'],
|
|
2024
|
+
defineCustomElementFn: defineCustomElementAtomicSearchInterface
|
|
2025
|
+
})
|
|
2026
|
+
], AtomicSearchInterface);
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
2028
|
+
type: Component,
|
|
2029
|
+
args: [{ standalone: false,
|
|
2030
|
+
selector: 'atomic-search-interface',
|
|
2031
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2032
|
+
template: '<ng-content></ng-content>',
|
|
2033
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2034
|
+
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
2035
|
+
}]
|
|
2036
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2033
2037
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2034
2038
|
z;
|
|
2035
2039
|
el;
|
|
@@ -2558,7 +2562,6 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2558
2562
|
this.z = z;
|
|
2559
2563
|
c.detach();
|
|
2560
2564
|
this.el = el.nativeElement;
|
|
2561
|
-
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
2562
2565
|
}
|
|
2563
2566
|
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 });
|
|
2564
2567
|
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 });
|
|
@@ -2566,7 +2569,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
|
|
|
2566
2569
|
AtomicCommerceLayout = __decorate([
|
|
2567
2570
|
ProxyCmp({
|
|
2568
2571
|
inputs: ['mobileBreakpoint'],
|
|
2569
|
-
methods: [
|
|
2572
|
+
methods: [],
|
|
2570
2573
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
|
|
2571
2574
|
})
|
|
2572
2575
|
], AtomicCommerceLayout);
|
|
@@ -3950,35 +3953,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3950
3953
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3951
3954
|
}]
|
|
3952
3955
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3953
|
-
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3954
|
-
z;
|
|
3955
|
-
el;
|
|
3956
|
-
constructor(c, el, z) {
|
|
3957
|
-
this.z = z;
|
|
3958
|
-
c.detach();
|
|
3959
|
-
this.el = el.nativeElement;
|
|
3960
|
-
}
|
|
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 });
|
|
3963
|
-
};
|
|
3964
|
-
AtomicSearchInterface = __decorate([
|
|
3965
|
-
ProxyCmp({
|
|
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); }
|
|
3969
|
-
})
|
|
3970
|
-
], AtomicSearchInterface);
|
|
3971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
3972
|
-
type: Component,
|
|
3973
|
-
args: [{
|
|
3974
|
-
selector: 'atomic-search-interface',
|
|
3975
|
-
standalone: false,
|
|
3976
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3977
|
-
template: '<ng-content></ng-content>',
|
|
3978
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3979
|
-
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector']
|
|
3980
|
-
}]
|
|
3981
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3982
3956
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3983
3957
|
z;
|
|
3984
3958
|
el;
|
|
@@ -3986,7 +3960,6 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3986
3960
|
this.z = z;
|
|
3987
3961
|
c.detach();
|
|
3988
3962
|
this.el = el.nativeElement;
|
|
3989
|
-
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
3990
3963
|
}
|
|
3991
3964
|
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 });
|
|
3992
3965
|
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 });
|
|
@@ -3994,7 +3967,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3994
3967
|
AtomicSearchLayout = __decorate([
|
|
3995
3968
|
ProxyCmp({
|
|
3996
3969
|
inputs: ['mobileBreakpoint'],
|
|
3997
|
-
methods: [
|
|
3970
|
+
methods: [],
|
|
3998
3971
|
defineCustomElementFn: () => { customElements.get('atomic-search-layout') || customElements.define('atomic-search-layout', AtomicSearchLayout$1); }
|
|
3999
3972
|
})
|
|
4000
3973
|
], AtomicSearchLayout);
|
|
@@ -4067,7 +4040,6 @@ const DECLARATIONS = [
|
|
|
4067
4040
|
AtomicProductText,
|
|
4068
4041
|
AtomicQuerySummary,
|
|
4069
4042
|
AtomicResultsPerPage,
|
|
4070
|
-
AtomicSearchInterface,
|
|
4071
4043
|
AtomicSearchLayout,
|
|
4072
4044
|
AtomicAutomaticFacet,
|
|
4073
4045
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4142,6 +4114,7 @@ const DECLARATIONS = [
|
|
|
4142
4114
|
AtomicSearchBoxInstantResults,
|
|
4143
4115
|
AtomicSearchBoxQuerySuggestions,
|
|
4144
4116
|
AtomicSearchBoxRecentQueries,
|
|
4117
|
+
AtomicSearchInterface,
|
|
4145
4118
|
AtomicSegmentedFacet,
|
|
4146
4119
|
AtomicSegmentedFacetScrollable,
|
|
4147
4120
|
AtomicSmartSnippet,
|
|
@@ -4241,7 +4214,6 @@ class AtomicAngularModule {
|
|
|
4241
4214
|
AtomicProductText,
|
|
4242
4215
|
AtomicQuerySummary,
|
|
4243
4216
|
AtomicResultsPerPage,
|
|
4244
|
-
AtomicSearchInterface,
|
|
4245
4217
|
AtomicSearchLayout,
|
|
4246
4218
|
AtomicAutomaticFacet,
|
|
4247
4219
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4316,6 +4288,7 @@ class AtomicAngularModule {
|
|
|
4316
4288
|
AtomicSearchBoxInstantResults,
|
|
4317
4289
|
AtomicSearchBoxQuerySuggestions,
|
|
4318
4290
|
AtomicSearchBoxRecentQueries,
|
|
4291
|
+
AtomicSearchInterface,
|
|
4319
4292
|
AtomicSegmentedFacet,
|
|
4320
4293
|
AtomicSegmentedFacetScrollable,
|
|
4321
4294
|
AtomicSmartSnippet,
|
|
@@ -4382,7 +4355,6 @@ class AtomicAngularModule {
|
|
|
4382
4355
|
AtomicProductText,
|
|
4383
4356
|
AtomicQuerySummary,
|
|
4384
4357
|
AtomicResultsPerPage,
|
|
4385
|
-
AtomicSearchInterface,
|
|
4386
4358
|
AtomicSearchLayout,
|
|
4387
4359
|
AtomicAutomaticFacet,
|
|
4388
4360
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4457,6 +4429,7 @@ class AtomicAngularModule {
|
|
|
4457
4429
|
AtomicSearchBoxInstantResults,
|
|
4458
4430
|
AtomicSearchBoxQuerySuggestions,
|
|
4459
4431
|
AtomicSearchBoxRecentQueries,
|
|
4432
|
+
AtomicSearchInterface,
|
|
4460
4433
|
AtomicSegmentedFacet,
|
|
4461
4434
|
AtomicSegmentedFacetScrollable,
|
|
4462
4435
|
AtomicSmartSnippet,
|