@coveo/atomic-angular 3.7.7-pre.fca9d855d9 → 3.7.7-pre.fe8f11da3b
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,7 +4,7 @@ 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 { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal,
|
|
7
|
+
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, defineCustomElementAtomicQuerySummary, 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, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -278,33 +278,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
278
278
|
inputs: ['boundInterface', 'selector'],
|
|
279
279
|
}]
|
|
280
280
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
281
|
-
let AtomicFacet = class AtomicFacet {
|
|
282
|
-
z;
|
|
283
|
-
el;
|
|
284
|
-
constructor(c, r, z) {
|
|
285
|
-
this.z = z;
|
|
286
|
-
c.detach();
|
|
287
|
-
this.el = r.nativeElement;
|
|
288
|
-
}
|
|
289
|
-
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 });
|
|
290
|
-
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 });
|
|
291
|
-
};
|
|
292
|
-
AtomicFacet = __decorate([
|
|
293
|
-
ProxyCmp({
|
|
294
|
-
inputs: ['allowedValues', 'customSort', 'dependsOn', 'displayValuesAs', 'enableExclusion', 'facetId', 'field', 'filterFacetCount', 'headingLevel', 'injectionDepth', 'isCollapsed', 'label', 'numberOfValues', 'resultsMustMatch', 'sortCriteria', 'tabsExcluded', 'tabsIncluded', 'withSearch'],
|
|
295
|
-
defineCustomElementFn: defineCustomElementAtomicFacet
|
|
296
|
-
})
|
|
297
|
-
], AtomicFacet);
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, decorators: [{
|
|
299
|
-
type: Component,
|
|
300
|
-
args: [{ standalone: false,
|
|
301
|
-
selector: 'atomic-facet',
|
|
302
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
303
|
-
template: '<ng-content></ng-content>',
|
|
304
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
305
|
-
inputs: ['allowedValues', 'customSort', 'dependsOn', 'displayValuesAs', 'enableExclusion', 'facetId', 'field', 'filterFacetCount', 'headingLevel', 'injectionDepth', 'isCollapsed', 'label', 'numberOfValues', 'resultsMustMatch', 'sortCriteria', 'tabsExcluded', 'tabsIncluded', 'withSearch'],
|
|
306
|
-
}]
|
|
307
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
308
281
|
let AtomicFacetManager = class AtomicFacetManager {
|
|
309
282
|
z;
|
|
310
283
|
el;
|
|
@@ -840,6 +813,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
840
813
|
inputs: [],
|
|
841
814
|
}]
|
|
842
815
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
816
|
+
let AtomicQuerySummary = class AtomicQuerySummary {
|
|
817
|
+
z;
|
|
818
|
+
el;
|
|
819
|
+
constructor(c, r, z) {
|
|
820
|
+
this.z = z;
|
|
821
|
+
c.detach();
|
|
822
|
+
this.el = r.nativeElement;
|
|
823
|
+
}
|
|
824
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicQuerySummary, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
825
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicQuerySummary, isStandalone: false, selector: "atomic-query-summary", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
826
|
+
};
|
|
827
|
+
AtomicQuerySummary = __decorate([
|
|
828
|
+
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicQuerySummary })
|
|
829
|
+
], AtomicQuerySummary);
|
|
830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicQuerySummary, decorators: [{
|
|
831
|
+
type: Component,
|
|
832
|
+
args: [{ standalone: false,
|
|
833
|
+
selector: 'atomic-query-summary',
|
|
834
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
835
|
+
template: '<ng-content></ng-content>',
|
|
836
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
837
|
+
inputs: [],
|
|
838
|
+
}]
|
|
839
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
843
840
|
let AtomicQuickview = class AtomicQuickview {
|
|
844
841
|
z;
|
|
845
842
|
el;
|
|
@@ -2006,34 +2003,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2006
2003
|
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
2007
2004
|
}]
|
|
2008
2005
|
}], 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 }] });
|
|
2037
2006
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
2038
2007
|
z;
|
|
2039
2008
|
el;
|
|
@@ -2540,7 +2509,7 @@ let AtomicCommerceInterface = class AtomicCommerceInterface {
|
|
|
2540
2509
|
AtomicCommerceInterface = __decorate([
|
|
2541
2510
|
ProxyCmp({
|
|
2542
2511
|
inputs: ['type', 'analytics', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath'],
|
|
2543
|
-
methods: ['
|
|
2512
|
+
methods: ['toggleAnalytics', 'updateLanguage', 'updateIconAssetsPath', 'scrollToTop', 'initialize', 'initializeWithEngine', 'executeFirstRequest'],
|
|
2544
2513
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-interface') || customElements.define('atomic-commerce-interface', AtomicCommerceInterface$1); }
|
|
2545
2514
|
})
|
|
2546
2515
|
], AtomicCommerceInterface);
|
|
@@ -3894,7 +3863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3894
3863
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3895
3864
|
}]
|
|
3896
3865
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3897
|
-
let
|
|
3866
|
+
let AtomicFacet = class AtomicFacet {
|
|
3898
3867
|
z;
|
|
3899
3868
|
el;
|
|
3900
3869
|
constructor(c, el, z) {
|
|
@@ -3902,25 +3871,25 @@ let AtomicQuerySummary = class AtomicQuerySummary {
|
|
|
3902
3871
|
c.detach();
|
|
3903
3872
|
this.el = el.nativeElement;
|
|
3904
3873
|
}
|
|
3905
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3906
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
3874
|
+
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 });
|
|
3875
|
+
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 });
|
|
3907
3876
|
};
|
|
3908
|
-
|
|
3877
|
+
AtomicFacet = __decorate([
|
|
3909
3878
|
ProxyCmp({
|
|
3910
|
-
inputs: [],
|
|
3879
|
+
inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn'],
|
|
3911
3880
|
methods: ['initialize'],
|
|
3912
|
-
defineCustomElementFn: () => { customElements.get('atomic-
|
|
3881
|
+
defineCustomElementFn: () => { customElements.get('atomic-facet') || customElements.define('atomic-facet', AtomicFacet$1); }
|
|
3913
3882
|
})
|
|
3914
|
-
],
|
|
3915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3883
|
+
], AtomicFacet);
|
|
3884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, decorators: [{
|
|
3916
3885
|
type: Component,
|
|
3917
3886
|
args: [{
|
|
3918
|
-
selector: 'atomic-
|
|
3887
|
+
selector: 'atomic-facet',
|
|
3919
3888
|
standalone: false,
|
|
3920
3889
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3921
3890
|
template: '<ng-content></ng-content>',
|
|
3922
3891
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3923
|
-
inputs: []
|
|
3892
|
+
inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn']
|
|
3924
3893
|
}]
|
|
3925
3894
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3926
3895
|
let AtomicResultsPerPage = class AtomicResultsPerPage {
|
|
@@ -3953,6 +3922,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3953
3922
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3954
3923
|
}]
|
|
3955
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 }] });
|
|
3956
3954
|
let AtomicSearchLayout = class AtomicSearchLayout {
|
|
3957
3955
|
z;
|
|
3958
3956
|
el;
|
|
@@ -4014,6 +4012,7 @@ const DECLARATIONS = [
|
|
|
4014
4012
|
AtomicCommerceText,
|
|
4015
4013
|
AtomicCommerceTimeframeFacet,
|
|
4016
4014
|
AtomicComponentError,
|
|
4015
|
+
AtomicFacet,
|
|
4017
4016
|
AtomicIcon,
|
|
4018
4017
|
AtomicLayoutSection,
|
|
4019
4018
|
AtomicProduct,
|
|
@@ -4038,8 +4037,8 @@ const DECLARATIONS = [
|
|
|
4038
4037
|
AtomicProductSectionVisual,
|
|
4039
4038
|
AtomicProductTemplate,
|
|
4040
4039
|
AtomicProductText,
|
|
4041
|
-
AtomicQuerySummary,
|
|
4042
4040
|
AtomicResultsPerPage,
|
|
4041
|
+
AtomicSearchInterface,
|
|
4043
4042
|
AtomicSearchLayout,
|
|
4044
4043
|
AtomicAutomaticFacet,
|
|
4045
4044
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4049,7 +4048,6 @@ const DECLARATIONS = [
|
|
|
4049
4048
|
AtomicColorFacet,
|
|
4050
4049
|
AtomicDidYouMean,
|
|
4051
4050
|
AtomicExternal,
|
|
4052
|
-
AtomicFacet,
|
|
4053
4051
|
AtomicFacetManager,
|
|
4054
4052
|
AtomicFieldCondition,
|
|
4055
4053
|
AtomicFoldedResultList,
|
|
@@ -4070,6 +4068,7 @@ const DECLARATIONS = [
|
|
|
4070
4068
|
AtomicPager,
|
|
4071
4069
|
AtomicPopover,
|
|
4072
4070
|
AtomicQueryError,
|
|
4071
|
+
AtomicQuerySummary,
|
|
4073
4072
|
AtomicQuickview,
|
|
4074
4073
|
AtomicQuickviewModal,
|
|
4075
4074
|
AtomicRatingFacet,
|
|
@@ -4114,7 +4113,6 @@ const DECLARATIONS = [
|
|
|
4114
4113
|
AtomicSearchBoxInstantResults,
|
|
4115
4114
|
AtomicSearchBoxQuerySuggestions,
|
|
4116
4115
|
AtomicSearchBoxRecentQueries,
|
|
4117
|
-
AtomicSearchInterface,
|
|
4118
4116
|
AtomicSegmentedFacet,
|
|
4119
4117
|
AtomicSegmentedFacetScrollable,
|
|
4120
4118
|
AtomicSmartSnippet,
|
|
@@ -4188,6 +4186,7 @@ class AtomicAngularModule {
|
|
|
4188
4186
|
AtomicCommerceText,
|
|
4189
4187
|
AtomicCommerceTimeframeFacet,
|
|
4190
4188
|
AtomicComponentError,
|
|
4189
|
+
AtomicFacet,
|
|
4191
4190
|
AtomicIcon,
|
|
4192
4191
|
AtomicLayoutSection,
|
|
4193
4192
|
AtomicProduct,
|
|
@@ -4212,8 +4211,8 @@ class AtomicAngularModule {
|
|
|
4212
4211
|
AtomicProductSectionVisual,
|
|
4213
4212
|
AtomicProductTemplate,
|
|
4214
4213
|
AtomicProductText,
|
|
4215
|
-
AtomicQuerySummary,
|
|
4216
4214
|
AtomicResultsPerPage,
|
|
4215
|
+
AtomicSearchInterface,
|
|
4217
4216
|
AtomicSearchLayout,
|
|
4218
4217
|
AtomicAutomaticFacet,
|
|
4219
4218
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4223,7 +4222,6 @@ class AtomicAngularModule {
|
|
|
4223
4222
|
AtomicColorFacet,
|
|
4224
4223
|
AtomicDidYouMean,
|
|
4225
4224
|
AtomicExternal,
|
|
4226
|
-
AtomicFacet,
|
|
4227
4225
|
AtomicFacetManager,
|
|
4228
4226
|
AtomicFieldCondition,
|
|
4229
4227
|
AtomicFoldedResultList,
|
|
@@ -4244,6 +4242,7 @@ class AtomicAngularModule {
|
|
|
4244
4242
|
AtomicPager,
|
|
4245
4243
|
AtomicPopover,
|
|
4246
4244
|
AtomicQueryError,
|
|
4245
|
+
AtomicQuerySummary,
|
|
4247
4246
|
AtomicQuickview,
|
|
4248
4247
|
AtomicQuickviewModal,
|
|
4249
4248
|
AtomicRatingFacet,
|
|
@@ -4288,7 +4287,6 @@ class AtomicAngularModule {
|
|
|
4288
4287
|
AtomicSearchBoxInstantResults,
|
|
4289
4288
|
AtomicSearchBoxQuerySuggestions,
|
|
4290
4289
|
AtomicSearchBoxRecentQueries,
|
|
4291
|
-
AtomicSearchInterface,
|
|
4292
4290
|
AtomicSegmentedFacet,
|
|
4293
4291
|
AtomicSegmentedFacetScrollable,
|
|
4294
4292
|
AtomicSmartSnippet,
|
|
@@ -4329,6 +4327,7 @@ class AtomicAngularModule {
|
|
|
4329
4327
|
AtomicCommerceText,
|
|
4330
4328
|
AtomicCommerceTimeframeFacet,
|
|
4331
4329
|
AtomicComponentError,
|
|
4330
|
+
AtomicFacet,
|
|
4332
4331
|
AtomicIcon,
|
|
4333
4332
|
AtomicLayoutSection,
|
|
4334
4333
|
AtomicProduct,
|
|
@@ -4353,8 +4352,8 @@ class AtomicAngularModule {
|
|
|
4353
4352
|
AtomicProductSectionVisual,
|
|
4354
4353
|
AtomicProductTemplate,
|
|
4355
4354
|
AtomicProductText,
|
|
4356
|
-
AtomicQuerySummary,
|
|
4357
4355
|
AtomicResultsPerPage,
|
|
4356
|
+
AtomicSearchInterface,
|
|
4358
4357
|
AtomicSearchLayout,
|
|
4359
4358
|
AtomicAutomaticFacet,
|
|
4360
4359
|
AtomicAutomaticFacetGenerator,
|
|
@@ -4364,7 +4363,6 @@ class AtomicAngularModule {
|
|
|
4364
4363
|
AtomicColorFacet,
|
|
4365
4364
|
AtomicDidYouMean,
|
|
4366
4365
|
AtomicExternal,
|
|
4367
|
-
AtomicFacet,
|
|
4368
4366
|
AtomicFacetManager,
|
|
4369
4367
|
AtomicFieldCondition,
|
|
4370
4368
|
AtomicFoldedResultList,
|
|
@@ -4385,6 +4383,7 @@ class AtomicAngularModule {
|
|
|
4385
4383
|
AtomicPager,
|
|
4386
4384
|
AtomicPopover,
|
|
4387
4385
|
AtomicQueryError,
|
|
4386
|
+
AtomicQuerySummary,
|
|
4388
4387
|
AtomicQuickview,
|
|
4389
4388
|
AtomicQuickviewModal,
|
|
4390
4389
|
AtomicRatingFacet,
|
|
@@ -4429,7 +4428,6 @@ class AtomicAngularModule {
|
|
|
4429
4428
|
AtomicSearchBoxInstantResults,
|
|
4430
4429
|
AtomicSearchBoxQuerySuggestions,
|
|
4431
4430
|
AtomicSearchBoxRecentQueries,
|
|
4432
|
-
AtomicSearchInterface,
|
|
4433
4431
|
AtomicSegmentedFacet,
|
|
4434
4432
|
AtomicSegmentedFacetScrollable,
|
|
4435
4433
|
AtomicSmartSnippet,
|