@coveo/atomic-angular 3.7.8-pre.e5ad619274 → 3.7.8-pre.f184f52f60

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 { 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, 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, AtomicPager as AtomicPager$1, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
7
+ import customElementsManifest from '@coveo/atomic/custom-elements-manifest';
8
+ import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightInterface, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, defineCustomElementAtomicQuickview, defineCustomElementAtomicQuickviewModal, defineCustomElementAtomicRatingFacet, defineCustomElementAtomicRatingRangeFacet, defineCustomElementAtomicRecsError, defineCustomElementAtomicRecsInterface, defineCustomElementAtomicRecsList, defineCustomElementAtomicRecsResult, defineCustomElementAtomicRecsResultTemplate, defineCustomElementAtomicRefineModal, defineCustomElementAtomicRefineToggle, defineCustomElementAtomicRelevanceInspector, defineCustomElementAtomicResult, defineCustomElementAtomicResultBadge, defineCustomElementAtomicResultChildren, defineCustomElementAtomicResultChildrenTemplate, defineCustomElementAtomicResultDate, defineCustomElementAtomicResultFieldsList, defineCustomElementAtomicResultHtml, defineCustomElementAtomicResultIcon, defineCustomElementAtomicResultImage, defineCustomElementAtomicResultLink, defineCustomElementAtomicResultList, defineCustomElementAtomicResultLocalizedText, defineCustomElementAtomicResultMultiValueText, defineCustomElementAtomicResultNumber, defineCustomElementAtomicResultPrintableUri, defineCustomElementAtomicResultRating, defineCustomElementAtomicResultSectionActions, defineCustomElementAtomicResultSectionBadges, defineCustomElementAtomicResultSectionBottomMetadata, defineCustomElementAtomicResultSectionChildren, defineCustomElementAtomicResultSectionEmphasized, defineCustomElementAtomicResultSectionExcerpt, defineCustomElementAtomicResultSectionTitle, defineCustomElementAtomicResultSectionTitleMetadata, defineCustomElementAtomicResultSectionVisual, defineCustomElementAtomicResultTemplate, defineCustomElementAtomicResultText, defineCustomElementAtomicResultTimespan, defineCustomElementAtomicSearchBox, defineCustomElementAtomicSearchBoxInstantResults, defineCustomElementAtomicSearchBoxQuerySuggestions, 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, AtomicSearchBoxRecentQueries as AtomicSearchBoxRecentQueries$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(() => (this.el[item] = val));
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;
@@ -1951,33 +2003,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
1951
2003
  inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
1952
2004
  }]
1953
2005
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1954
- let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
1955
- z;
1956
- el;
1957
- constructor(c, r, z) {
1958
- this.z = z;
1959
- c.detach();
1960
- this.el = r.nativeElement;
1961
- }
1962
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1963
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxRecentQueries, isStandalone: false, selector: "atomic-search-box-recent-queries", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1964
- };
1965
- AtomicSearchBoxRecentQueries = __decorate([
1966
- ProxyCmp({
1967
- inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
1968
- defineCustomElementFn: defineCustomElementAtomicSearchBoxRecentQueries
1969
- })
1970
- ], AtomicSearchBoxRecentQueries);
1971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
1972
- type: Component,
1973
- args: [{ standalone: false,
1974
- selector: 'atomic-search-box-recent-queries',
1975
- changeDetection: ChangeDetectionStrategy.OnPush,
1976
- template: '<ng-content></ng-content>',
1977
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1978
- inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
1979
- }]
1980
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1981
2006
  let AtomicSearchInterface = class AtomicSearchInterface {
1982
2007
  z;
1983
2008
  el;
@@ -2512,7 +2537,7 @@ let AtomicCommerceInterface = class AtomicCommerceInterface {
2512
2537
  AtomicCommerceInterface = __decorate([
2513
2538
  ProxyCmp({
2514
2539
  inputs: ['type', 'analytics', 'logLevel', 'language', 'reflectStateInUrl', 'disableStateReflectionInUrl', 'scrollContainer', 'languageAssetsPath', 'iconAssetsPath'],
2515
- methods: ['initialize', 'initializeWithEngine', 'executeFirstRequest', 'toggleAnalytics', 'updateIconAssetsPath', 'updateLanguage', 'scrollToTop'],
2540
+ methods: ['initialize', 'initializeWithEngine', 'executeFirstRequest', 'updateLocale', 'toggleAnalytics', 'updateIconAssetsPath', 'updateLanguage', 'scrollToTop'],
2516
2541
  defineCustomElementFn: () => { customElements.get('atomic-commerce-interface') || customElements.define('atomic-commerce-interface', AtomicCommerceInterface$1); }
2517
2542
  })
2518
2543
  ], AtomicCommerceInterface);
@@ -3867,36 +3892,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
3867
3892
  inputs: ['section', 'minWidth', 'maxWidth']
3868
3893
  }]
3869
3894
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3870
- let AtomicPager = class AtomicPager {
3871
- z;
3872
- el;
3873
- constructor(c, el, z) {
3874
- this.z = z;
3875
- c.detach();
3876
- this.el = el.nativeElement;
3877
- proxyOutputs(this, this.el, ['atomic/scrollToTop']);
3878
- }
3879
- 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 });
3880
- 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 });
3881
- };
3882
- AtomicPager = __decorate([
3883
- ProxyCmp({
3884
- inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon'],
3885
- methods: ['initialize'],
3886
- defineCustomElementFn: () => { customElements.get('atomic-pager') || customElements.define('atomic-pager', AtomicPager$1); }
3887
- })
3888
- ], AtomicPager);
3889
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
3890
- type: Component,
3891
- args: [{
3892
- selector: 'atomic-pager',
3893
- standalone: false,
3894
- changeDetection: ChangeDetectionStrategy.OnPush,
3895
- template: '<ng-content></ng-content>',
3896
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3897
- inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon']
3898
- }]
3899
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3900
3895
  let AtomicQuerySummary = class AtomicQuerySummary {
3901
3896
  z;
3902
3897
  el;
@@ -3956,6 +3951,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
3956
3951
  inputs: ['choicesDisplayed', 'initialChoice']
3957
3952
  }]
3958
3953
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3954
+ let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
3955
+ z;
3956
+ el;
3957
+ constructor(c, el, z) {
3958
+ this.z = z;
3959
+ c.detach();
3960
+ this.el = el.nativeElement;
3961
+ }
3962
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3963
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxRecentQueries, isStandalone: false, selector: "atomic-search-box-recent-queries", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3964
+ };
3965
+ AtomicSearchBoxRecentQueries = __decorate([
3966
+ ProxyCmp({
3967
+ inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
3968
+ methods: ['initialize'],
3969
+ defineCustomElementFn: () => { customElements.get('atomic-search-box-recent-queries') || customElements.define('atomic-search-box-recent-queries', AtomicSearchBoxRecentQueries$1); }
3970
+ })
3971
+ ], AtomicSearchBoxRecentQueries);
3972
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxRecentQueries, decorators: [{
3973
+ type: Component,
3974
+ args: [{
3975
+ selector: 'atomic-search-box-recent-queries',
3976
+ standalone: false,
3977
+ changeDetection: ChangeDetectionStrategy.OnPush,
3978
+ template: '<ng-content></ng-content>',
3979
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3980
+ inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
3981
+ }]
3982
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3959
3983
  let AtomicSearchLayout = class AtomicSearchLayout {
3960
3984
  z;
3961
3985
  el;
@@ -4019,7 +4043,6 @@ const DECLARATIONS = [
4019
4043
  AtomicComponentError,
4020
4044
  AtomicIcon,
4021
4045
  AtomicLayoutSection,
4022
- AtomicPager,
4023
4046
  AtomicProduct,
4024
4047
  AtomicProductChildren,
4025
4048
  AtomicProductDescription,
@@ -4044,6 +4067,7 @@ const DECLARATIONS = [
4044
4067
  AtomicProductText,
4045
4068
  AtomicQuerySummary,
4046
4069
  AtomicResultsPerPage,
4070
+ AtomicSearchBoxRecentQueries,
4047
4071
  AtomicSearchLayout,
4048
4072
  AtomicAutomaticFacet,
4049
4073
  AtomicAutomaticFacetGenerator,
@@ -4071,6 +4095,7 @@ const DECLARATIONS = [
4071
4095
  AtomicNotifications,
4072
4096
  AtomicNumericFacet,
4073
4097
  AtomicNumericRange,
4098
+ AtomicPager,
4074
4099
  AtomicPopover,
4075
4100
  AtomicQueryError,
4076
4101
  AtomicQuickview,
@@ -4116,7 +4141,6 @@ const DECLARATIONS = [
4116
4141
  AtomicSearchBox,
4117
4142
  AtomicSearchBoxInstantResults,
4118
4143
  AtomicSearchBoxQuerySuggestions,
4119
- AtomicSearchBoxRecentQueries,
4120
4144
  AtomicSearchInterface,
4121
4145
  AtomicSegmentedFacet,
4122
4146
  AtomicSegmentedFacetScrollable,
@@ -4193,7 +4217,6 @@ class AtomicAngularModule {
4193
4217
  AtomicComponentError,
4194
4218
  AtomicIcon,
4195
4219
  AtomicLayoutSection,
4196
- AtomicPager,
4197
4220
  AtomicProduct,
4198
4221
  AtomicProductChildren,
4199
4222
  AtomicProductDescription,
@@ -4218,6 +4241,7 @@ class AtomicAngularModule {
4218
4241
  AtomicProductText,
4219
4242
  AtomicQuerySummary,
4220
4243
  AtomicResultsPerPage,
4244
+ AtomicSearchBoxRecentQueries,
4221
4245
  AtomicSearchLayout,
4222
4246
  AtomicAutomaticFacet,
4223
4247
  AtomicAutomaticFacetGenerator,
@@ -4245,6 +4269,7 @@ class AtomicAngularModule {
4245
4269
  AtomicNotifications,
4246
4270
  AtomicNumericFacet,
4247
4271
  AtomicNumericRange,
4272
+ AtomicPager,
4248
4273
  AtomicPopover,
4249
4274
  AtomicQueryError,
4250
4275
  AtomicQuickview,
@@ -4290,7 +4315,6 @@ class AtomicAngularModule {
4290
4315
  AtomicSearchBox,
4291
4316
  AtomicSearchBoxInstantResults,
4292
4317
  AtomicSearchBoxQuerySuggestions,
4293
- AtomicSearchBoxRecentQueries,
4294
4318
  AtomicSearchInterface,
4295
4319
  AtomicSegmentedFacet,
4296
4320
  AtomicSegmentedFacetScrollable,
@@ -4334,7 +4358,6 @@ class AtomicAngularModule {
4334
4358
  AtomicComponentError,
4335
4359
  AtomicIcon,
4336
4360
  AtomicLayoutSection,
4337
- AtomicPager,
4338
4361
  AtomicProduct,
4339
4362
  AtomicProductChildren,
4340
4363
  AtomicProductDescription,
@@ -4359,6 +4382,7 @@ class AtomicAngularModule {
4359
4382
  AtomicProductText,
4360
4383
  AtomicQuerySummary,
4361
4384
  AtomicResultsPerPage,
4385
+ AtomicSearchBoxRecentQueries,
4362
4386
  AtomicSearchLayout,
4363
4387
  AtomicAutomaticFacet,
4364
4388
  AtomicAutomaticFacetGenerator,
@@ -4386,6 +4410,7 @@ class AtomicAngularModule {
4386
4410
  AtomicNotifications,
4387
4411
  AtomicNumericFacet,
4388
4412
  AtomicNumericRange,
4413
+ AtomicPager,
4389
4414
  AtomicPopover,
4390
4415
  AtomicQueryError,
4391
4416
  AtomicQuickview,
@@ -4431,7 +4456,6 @@ class AtomicAngularModule {
4431
4456
  AtomicSearchBox,
4432
4457
  AtomicSearchBoxInstantResults,
4433
4458
  AtomicSearchBoxQuerySuggestions,
4434
- AtomicSearchBoxRecentQueries,
4435
4459
  AtomicSearchInterface,
4436
4460
  AtomicSegmentedFacet,
4437
4461
  AtomicSegmentedFacetScrollable,