@coveo/atomic-angular 3.7.8-pre.1c7ce2c966 → 3.7.8-pre.1de0612019
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.
|
@@ -5,7 +5,7 @@ import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@
|
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
7
|
import customElementsManifest from '@coveo/atomic/custom-elements-manifest';
|
|
8
|
-
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal,
|
|
8
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, 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, AtomicFacet as AtomicFacet$1, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -302,33 +302,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
302
302
|
inputs: ['boundInterface', 'selector'],
|
|
303
303
|
}]
|
|
304
304
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
305
|
-
let AtomicFacet = class AtomicFacet {
|
|
306
|
-
z;
|
|
307
|
-
el;
|
|
308
|
-
constructor(c, r, z) {
|
|
309
|
-
this.z = z;
|
|
310
|
-
c.detach();
|
|
311
|
-
this.el = r.nativeElement;
|
|
312
|
-
}
|
|
313
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
314
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicFacet, isStandalone: false, selector: "atomic-facet", inputs: { allowedValues: "allowedValues", customSort: "customSort", dependsOn: "dependsOn", displayValuesAs: "displayValuesAs", enableExclusion: "enableExclusion", facetId: "facetId", field: "field", filterFacetCount: "filterFacetCount", headingLevel: "headingLevel", injectionDepth: "injectionDepth", isCollapsed: "isCollapsed", label: "label", numberOfValues: "numberOfValues", resultsMustMatch: "resultsMustMatch", sortCriteria: "sortCriteria", tabsExcluded: "tabsExcluded", tabsIncluded: "tabsIncluded", withSearch: "withSearch" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
315
|
-
};
|
|
316
|
-
AtomicFacet = __decorate([
|
|
317
|
-
ProxyCmp({
|
|
318
|
-
inputs: ['allowedValues', 'customSort', 'dependsOn', 'displayValuesAs', 'enableExclusion', 'facetId', 'field', 'filterFacetCount', 'headingLevel', 'injectionDepth', 'isCollapsed', 'label', 'numberOfValues', 'resultsMustMatch', 'sortCriteria', 'tabsExcluded', 'tabsIncluded', 'withSearch'],
|
|
319
|
-
defineCustomElementFn: defineCustomElementAtomicFacet
|
|
320
|
-
})
|
|
321
|
-
], AtomicFacet);
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, decorators: [{
|
|
323
|
-
type: Component,
|
|
324
|
-
args: [{ standalone: false,
|
|
325
|
-
selector: 'atomic-facet',
|
|
326
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
327
|
-
template: '<ng-content></ng-content>',
|
|
328
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
329
|
-
inputs: ['allowedValues', 'customSort', 'dependsOn', 'displayValuesAs', 'enableExclusion', 'facetId', 'field', 'filterFacetCount', 'headingLevel', 'injectionDepth', 'isCollapsed', 'label', 'numberOfValues', 'resultsMustMatch', 'sortCriteria', 'tabsExcluded', 'tabsIncluded', 'withSearch'],
|
|
330
|
-
}]
|
|
331
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
332
305
|
let AtomicFacetManager = class AtomicFacetManager {
|
|
333
306
|
z;
|
|
334
307
|
el;
|
|
@@ -788,6 +761,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
788
761
|
inputs: ['end', 'endInclusive', 'label', 'start'],
|
|
789
762
|
}]
|
|
790
763
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
764
|
+
let AtomicPager = class AtomicPager {
|
|
765
|
+
z;
|
|
766
|
+
el;
|
|
767
|
+
constructor(c, r, z) {
|
|
768
|
+
this.z = z;
|
|
769
|
+
c.detach();
|
|
770
|
+
this.el = r.nativeElement;
|
|
771
|
+
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
772
|
+
}
|
|
773
|
+
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 });
|
|
774
|
+
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 });
|
|
775
|
+
};
|
|
776
|
+
AtomicPager = __decorate([
|
|
777
|
+
ProxyCmp({
|
|
778
|
+
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
779
|
+
defineCustomElementFn: defineCustomElementAtomicPager
|
|
780
|
+
})
|
|
781
|
+
], AtomicPager);
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
|
|
783
|
+
type: Component,
|
|
784
|
+
args: [{ standalone: false,
|
|
785
|
+
selector: 'atomic-pager',
|
|
786
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
787
|
+
template: '<ng-content></ng-content>',
|
|
788
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
789
|
+
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
790
|
+
}]
|
|
791
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
791
792
|
let AtomicPopover = class AtomicPopover {
|
|
792
793
|
z;
|
|
793
794
|
el;
|
|
@@ -2002,34 +2003,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2002
2003
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2003
2004
|
}]
|
|
2004
2005
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2005
|
-
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
2006
|
-
z;
|
|
2007
|
-
el;
|
|
2008
|
-
constructor(c, r, z) {
|
|
2009
|
-
this.z = z;
|
|
2010
|
-
c.detach();
|
|
2011
|
-
this.el = r.nativeElement;
|
|
2012
|
-
}
|
|
2013
|
-
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 });
|
|
2014
|
-
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 });
|
|
2015
|
-
};
|
|
2016
|
-
AtomicSearchInterface = __decorate([
|
|
2017
|
-
ProxyCmp({
|
|
2018
|
-
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
2019
|
-
methods: ['initialize', 'initializeWithSearchEngine', 'executeFirstSearch'],
|
|
2020
|
-
defineCustomElementFn: defineCustomElementAtomicSearchInterface
|
|
2021
|
-
})
|
|
2022
|
-
], AtomicSearchInterface);
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
2024
|
-
type: Component,
|
|
2025
|
-
args: [{ standalone: false,
|
|
2026
|
-
selector: 'atomic-search-interface',
|
|
2027
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2028
|
-
template: '<ng-content></ng-content>',
|
|
2029
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2030
|
-
inputs: ['CspNonce', 'analytics', 'enableRelevanceInspector', 'engine', 'fieldsToInclude', 'i18n', 'iconAssetsPath', 'language', 'languageAssetsPath', 'logLevel', 'pipeline', 'reflectStateInUrl', 'scrollContainer', 'searchHub', 'timezone'],
|
|
2031
|
-
}]
|
|
2032
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2033
2006
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2034
2007
|
z;
|
|
2035
2008
|
el;
|
|
@@ -3891,34 +3864,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3891
3864
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3892
3865
|
}]
|
|
3893
3866
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3894
|
-
let
|
|
3867
|
+
let AtomicFacet = class AtomicFacet {
|
|
3895
3868
|
z;
|
|
3896
3869
|
el;
|
|
3897
3870
|
constructor(c, el, z) {
|
|
3898
3871
|
this.z = z;
|
|
3899
3872
|
c.detach();
|
|
3900
3873
|
this.el = el.nativeElement;
|
|
3901
|
-
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
3902
3874
|
}
|
|
3903
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3904
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
3875
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3876
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicFacet, isStandalone: false, selector: "atomic-facet", inputs: { facetId: "facetId", label: "label", field: "field", tabsIncluded: "tabsIncluded", tabsExcluded: "tabsExcluded", numberOfValues: "numberOfValues", withSearch: "withSearch", sortCriteria: "sortCriteria", resultsMustMatch: "resultsMustMatch", displayValuesAs: "displayValuesAs", isCollapsed: "isCollapsed", headingLevel: "headingLevel", filterFacetCount: "filterFacetCount", enableExclusion: "enableExclusion", injectionDepth: "injectionDepth", allowedValues: "allowedValues", customSort: "customSort", dependsOn: "dependsOn" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3905
3877
|
};
|
|
3906
|
-
|
|
3878
|
+
AtomicFacet = __decorate([
|
|
3907
3879
|
ProxyCmp({
|
|
3908
|
-
inputs: ['
|
|
3880
|
+
inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn'],
|
|
3909
3881
|
methods: ['initialize'],
|
|
3910
|
-
defineCustomElementFn: () => { customElements.get('atomic-
|
|
3882
|
+
defineCustomElementFn: () => { customElements.get('atomic-facet') || customElements.define('atomic-facet', AtomicFacet$1); }
|
|
3911
3883
|
})
|
|
3912
|
-
],
|
|
3913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3884
|
+
], AtomicFacet);
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, decorators: [{
|
|
3914
3886
|
type: Component,
|
|
3915
3887
|
args: [{
|
|
3916
|
-
selector: 'atomic-
|
|
3888
|
+
selector: 'atomic-facet',
|
|
3917
3889
|
standalone: false,
|
|
3918
3890
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3919
3891
|
template: '<ng-content></ng-content>',
|
|
3920
3892
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3921
|
-
inputs: ['
|
|
3893
|
+
inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn']
|
|
3922
3894
|
}]
|
|
3923
3895
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3924
3896
|
let AtomicQuerySummary = class AtomicQuerySummary {
|
|
@@ -3980,6 +3952,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3980
3952
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3981
3953
|
}]
|
|
3982
3954
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3955
|
+
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3956
|
+
z;
|
|
3957
|
+
el;
|
|
3958
|
+
constructor(c, el, z) {
|
|
3959
|
+
this.z = z;
|
|
3960
|
+
c.detach();
|
|
3961
|
+
this.el = el.nativeElement;
|
|
3962
|
+
}
|
|
3963
|
+
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 });
|
|
3964
|
+
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 });
|
|
3965
|
+
};
|
|
3966
|
+
AtomicSearchInterface = __decorate([
|
|
3967
|
+
ProxyCmp({
|
|
3968
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector'],
|
|
3969
|
+
methods: ['scrollToTop', 'closeRelevanceInspector', 'initialize', 'initializeWithSearchEngine', 'executeFirstSearch', 'updateSearchConfiguration', 'updateSearchHub', 'updatePipeline', 'toggleAnalytics', 'updateLanguage', 'updateIconAssetsPath', 'registerFieldsToInclude'],
|
|
3970
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-interface') || customElements.define('atomic-search-interface', AtomicSearchInterface$1); }
|
|
3971
|
+
})
|
|
3972
|
+
], AtomicSearchInterface);
|
|
3973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchInterface, decorators: [{
|
|
3974
|
+
type: Component,
|
|
3975
|
+
args: [{
|
|
3976
|
+
selector: 'atomic-search-interface',
|
|
3977
|
+
standalone: false,
|
|
3978
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3979
|
+
template: '<ng-content></ng-content>',
|
|
3980
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3981
|
+
inputs: ['fieldsToInclude', 'pipeline', 'searchHub', 'analytics', 'timezone', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath', 'enableRelevanceInspector', 'disableRelevanceInspector']
|
|
3982
|
+
}]
|
|
3983
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3983
3984
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3984
3985
|
z;
|
|
3985
3986
|
el;
|
|
@@ -3987,6 +3988,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3987
3988
|
this.z = z;
|
|
3988
3989
|
c.detach();
|
|
3989
3990
|
this.el = el.nativeElement;
|
|
3991
|
+
proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
|
|
3990
3992
|
}
|
|
3991
3993
|
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
3994
|
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 +3996,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
|
|
|
3994
3996
|
AtomicSearchLayout = __decorate([
|
|
3995
3997
|
ProxyCmp({
|
|
3996
3998
|
inputs: ['mobileBreakpoint'],
|
|
3997
|
-
methods: [],
|
|
3999
|
+
methods: ['onMobileBreakpointChange'],
|
|
3998
4000
|
defineCustomElementFn: () => { customElements.get('atomic-search-layout') || customElements.define('atomic-search-layout', AtomicSearchLayout$1); }
|
|
3999
4001
|
})
|
|
4000
4002
|
], AtomicSearchLayout);
|
|
@@ -4041,9 +4043,9 @@ const DECLARATIONS = [
|
|
|
4041
4043
|
AtomicCommerceText,
|
|
4042
4044
|
AtomicCommerceTimeframeFacet,
|
|
4043
4045
|
AtomicComponentError,
|
|
4046
|
+
AtomicFacet,
|
|
4044
4047
|
AtomicIcon,
|
|
4045
4048
|
AtomicLayoutSection,
|
|
4046
|
-
AtomicPager,
|
|
4047
4049
|
AtomicProduct,
|
|
4048
4050
|
AtomicProductChildren,
|
|
4049
4051
|
AtomicProductDescription,
|
|
@@ -4068,6 +4070,7 @@ const DECLARATIONS = [
|
|
|
4068
4070
|
AtomicProductText,
|
|
4069
4071
|
AtomicQuerySummary,
|
|
4070
4072
|
AtomicResultsPerPage,
|
|
4073
|
+
AtomicSearchInterface,
|
|
4071
4074
|
AtomicSearchLayout,
|
|
4072
4075
|
AtomicAutomaticFacet,
|
|
4073
4076
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4077,7 +4080,6 @@ const DECLARATIONS = [
|
|
|
4077
4080
|
AtomicColorFacet,
|
|
4078
4081
|
AtomicDidYouMean,
|
|
4079
4082
|
AtomicExternal,
|
|
4080
|
-
AtomicFacet,
|
|
4081
4083
|
AtomicFacetManager,
|
|
4082
4084
|
AtomicFieldCondition,
|
|
4083
4085
|
AtomicFoldedResultList,
|
|
@@ -4095,6 +4097,7 @@ const DECLARATIONS = [
|
|
|
4095
4097
|
AtomicNotifications,
|
|
4096
4098
|
AtomicNumericFacet,
|
|
4097
4099
|
AtomicNumericRange,
|
|
4100
|
+
AtomicPager,
|
|
4098
4101
|
AtomicPopover,
|
|
4099
4102
|
AtomicQueryError,
|
|
4100
4103
|
AtomicQuickview,
|
|
@@ -4141,7 +4144,6 @@ const DECLARATIONS = [
|
|
|
4141
4144
|
AtomicSearchBoxInstantResults,
|
|
4142
4145
|
AtomicSearchBoxQuerySuggestions,
|
|
4143
4146
|
AtomicSearchBoxRecentQueries,
|
|
4144
|
-
AtomicSearchInterface,
|
|
4145
4147
|
AtomicSegmentedFacet,
|
|
4146
4148
|
AtomicSegmentedFacetScrollable,
|
|
4147
4149
|
AtomicSmartSnippet,
|
|
@@ -4215,9 +4217,9 @@ class AtomicAngularModule {
|
|
|
4215
4217
|
AtomicCommerceText,
|
|
4216
4218
|
AtomicCommerceTimeframeFacet,
|
|
4217
4219
|
AtomicComponentError,
|
|
4220
|
+
AtomicFacet,
|
|
4218
4221
|
AtomicIcon,
|
|
4219
4222
|
AtomicLayoutSection,
|
|
4220
|
-
AtomicPager,
|
|
4221
4223
|
AtomicProduct,
|
|
4222
4224
|
AtomicProductChildren,
|
|
4223
4225
|
AtomicProductDescription,
|
|
@@ -4242,6 +4244,7 @@ class AtomicAngularModule {
|
|
|
4242
4244
|
AtomicProductText,
|
|
4243
4245
|
AtomicQuerySummary,
|
|
4244
4246
|
AtomicResultsPerPage,
|
|
4247
|
+
AtomicSearchInterface,
|
|
4245
4248
|
AtomicSearchLayout,
|
|
4246
4249
|
AtomicAutomaticFacet,
|
|
4247
4250
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4251,7 +4254,6 @@ class AtomicAngularModule {
|
|
|
4251
4254
|
AtomicColorFacet,
|
|
4252
4255
|
AtomicDidYouMean,
|
|
4253
4256
|
AtomicExternal,
|
|
4254
|
-
AtomicFacet,
|
|
4255
4257
|
AtomicFacetManager,
|
|
4256
4258
|
AtomicFieldCondition,
|
|
4257
4259
|
AtomicFoldedResultList,
|
|
@@ -4269,6 +4271,7 @@ class AtomicAngularModule {
|
|
|
4269
4271
|
AtomicNotifications,
|
|
4270
4272
|
AtomicNumericFacet,
|
|
4271
4273
|
AtomicNumericRange,
|
|
4274
|
+
AtomicPager,
|
|
4272
4275
|
AtomicPopover,
|
|
4273
4276
|
AtomicQueryError,
|
|
4274
4277
|
AtomicQuickview,
|
|
@@ -4315,7 +4318,6 @@ class AtomicAngularModule {
|
|
|
4315
4318
|
AtomicSearchBoxInstantResults,
|
|
4316
4319
|
AtomicSearchBoxQuerySuggestions,
|
|
4317
4320
|
AtomicSearchBoxRecentQueries,
|
|
4318
|
-
AtomicSearchInterface,
|
|
4319
4321
|
AtomicSegmentedFacet,
|
|
4320
4322
|
AtomicSegmentedFacetScrollable,
|
|
4321
4323
|
AtomicSmartSnippet,
|
|
@@ -4356,9 +4358,9 @@ class AtomicAngularModule {
|
|
|
4356
4358
|
AtomicCommerceText,
|
|
4357
4359
|
AtomicCommerceTimeframeFacet,
|
|
4358
4360
|
AtomicComponentError,
|
|
4361
|
+
AtomicFacet,
|
|
4359
4362
|
AtomicIcon,
|
|
4360
4363
|
AtomicLayoutSection,
|
|
4361
|
-
AtomicPager,
|
|
4362
4364
|
AtomicProduct,
|
|
4363
4365
|
AtomicProductChildren,
|
|
4364
4366
|
AtomicProductDescription,
|
|
@@ -4383,6 +4385,7 @@ class AtomicAngularModule {
|
|
|
4383
4385
|
AtomicProductText,
|
|
4384
4386
|
AtomicQuerySummary,
|
|
4385
4387
|
AtomicResultsPerPage,
|
|
4388
|
+
AtomicSearchInterface,
|
|
4386
4389
|
AtomicSearchLayout,
|
|
4387
4390
|
AtomicAutomaticFacet,
|
|
4388
4391
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4392,7 +4395,6 @@ class AtomicAngularModule {
|
|
|
4392
4395
|
AtomicColorFacet,
|
|
4393
4396
|
AtomicDidYouMean,
|
|
4394
4397
|
AtomicExternal,
|
|
4395
|
-
AtomicFacet,
|
|
4396
4398
|
AtomicFacetManager,
|
|
4397
4399
|
AtomicFieldCondition,
|
|
4398
4400
|
AtomicFoldedResultList,
|
|
@@ -4410,6 +4412,7 @@ class AtomicAngularModule {
|
|
|
4410
4412
|
AtomicNotifications,
|
|
4411
4413
|
AtomicNumericFacet,
|
|
4412
4414
|
AtomicNumericRange,
|
|
4415
|
+
AtomicPager,
|
|
4413
4416
|
AtomicPopover,
|
|
4414
4417
|
AtomicQueryError,
|
|
4415
4418
|
AtomicQuickview,
|
|
@@ -4456,7 +4459,6 @@ class AtomicAngularModule {
|
|
|
4456
4459
|
AtomicSearchBoxInstantResults,
|
|
4457
4460
|
AtomicSearchBoxQuerySuggestions,
|
|
4458
4461
|
AtomicSearchBoxRecentQueries,
|
|
4459
|
-
AtomicSearchInterface,
|
|
4460
4462
|
AtomicSegmentedFacet,
|
|
4461
4463
|
AtomicSegmentedFacetScrollable,
|
|
4462
4464
|
AtomicSmartSnippet,
|