@coveo/atomic-angular 3.7.8-pre.19c9e921f3 → 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.
@@ -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, 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';
7
+ import customElementsManifest from '@coveo/atomic/custom-elements-manifest';
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';
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
@@ -278,33 +302,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
278
302
  inputs: ['boundInterface', 'selector'],
279
303
  }]
280
304
  }], 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
305
  let AtomicFacetManager = class AtomicFacetManager {
309
306
  z;
310
307
  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;
@@ -2562,6 +2531,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
2562
2531
  this.z = z;
2563
2532
  c.detach();
2564
2533
  this.el = el.nativeElement;
2534
+ proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
2565
2535
  }
2566
2536
  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 });
2567
2537
  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 });
@@ -2569,7 +2539,7 @@ let AtomicCommerceLayout = class AtomicCommerceLayout {
2569
2539
  AtomicCommerceLayout = __decorate([
2570
2540
  ProxyCmp({
2571
2541
  inputs: ['mobileBreakpoint'],
2572
- methods: [],
2542
+ methods: ['onMobileBreakpointChange'],
2573
2543
  defineCustomElementFn: () => { customElements.get('atomic-commerce-layout') || customElements.define('atomic-commerce-layout', AtomicCommerceLayout$1); }
2574
2544
  })
2575
2545
  ], AtomicCommerceLayout);
@@ -3894,6 +3864,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
3894
3864
  inputs: ['section', 'minWidth', 'maxWidth']
3895
3865
  }]
3896
3866
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3867
+ let AtomicFacet = class AtomicFacet {
3868
+ z;
3869
+ el;
3870
+ constructor(c, el, z) {
3871
+ this.z = z;
3872
+ c.detach();
3873
+ this.el = el.nativeElement;
3874
+ }
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 });
3877
+ };
3878
+ AtomicFacet = __decorate([
3879
+ ProxyCmp({
3880
+ inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn'],
3881
+ methods: ['initialize'],
3882
+ defineCustomElementFn: () => { customElements.get('atomic-facet') || customElements.define('atomic-facet', AtomicFacet$1); }
3883
+ })
3884
+ ], AtomicFacet);
3885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFacet, decorators: [{
3886
+ type: Component,
3887
+ args: [{
3888
+ selector: 'atomic-facet',
3889
+ standalone: false,
3890
+ changeDetection: ChangeDetectionStrategy.OnPush,
3891
+ template: '<ng-content></ng-content>',
3892
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3893
+ inputs: ['facetId', 'label', 'field', 'tabsIncluded', 'tabsExcluded', 'numberOfValues', 'withSearch', 'sortCriteria', 'resultsMustMatch', 'displayValuesAs', 'isCollapsed', 'headingLevel', 'filterFacetCount', 'enableExclusion', 'injectionDepth', 'allowedValues', 'customSort', 'dependsOn']
3894
+ }]
3895
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3897
3896
  let AtomicQuerySummary = class AtomicQuerySummary {
3898
3897
  z;
3899
3898
  el;
@@ -3953,6 +3952,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
3953
3952
  inputs: ['choicesDisplayed', 'initialChoice']
3954
3953
  }]
3955
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 }] });
3956
3984
  let AtomicSearchLayout = class AtomicSearchLayout {
3957
3985
  z;
3958
3986
  el;
@@ -3960,6 +3988,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
3960
3988
  this.z = z;
3961
3989
  c.detach();
3962
3990
  this.el = el.nativeElement;
3991
+ proxyOutputs(this, this.el, ['atomic-layout-breakpoint-change']);
3963
3992
  }
3964
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 });
3965
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 });
@@ -3967,7 +3996,7 @@ let AtomicSearchLayout = class AtomicSearchLayout {
3967
3996
  AtomicSearchLayout = __decorate([
3968
3997
  ProxyCmp({
3969
3998
  inputs: ['mobileBreakpoint'],
3970
- methods: [],
3999
+ methods: ['onMobileBreakpointChange'],
3971
4000
  defineCustomElementFn: () => { customElements.get('atomic-search-layout') || customElements.define('atomic-search-layout', AtomicSearchLayout$1); }
3972
4001
  })
3973
4002
  ], AtomicSearchLayout);
@@ -4014,6 +4043,7 @@ const DECLARATIONS = [
4014
4043
  AtomicCommerceText,
4015
4044
  AtomicCommerceTimeframeFacet,
4016
4045
  AtomicComponentError,
4046
+ AtomicFacet,
4017
4047
  AtomicIcon,
4018
4048
  AtomicLayoutSection,
4019
4049
  AtomicProduct,
@@ -4040,6 +4070,7 @@ const DECLARATIONS = [
4040
4070
  AtomicProductText,
4041
4071
  AtomicQuerySummary,
4042
4072
  AtomicResultsPerPage,
4073
+ AtomicSearchInterface,
4043
4074
  AtomicSearchLayout,
4044
4075
  AtomicAutomaticFacet,
4045
4076
  AtomicAutomaticFacetGenerator,
@@ -4049,7 +4080,6 @@ const DECLARATIONS = [
4049
4080
  AtomicColorFacet,
4050
4081
  AtomicDidYouMean,
4051
4082
  AtomicExternal,
4052
- AtomicFacet,
4053
4083
  AtomicFacetManager,
4054
4084
  AtomicFieldCondition,
4055
4085
  AtomicFoldedResultList,
@@ -4114,7 +4144,6 @@ const DECLARATIONS = [
4114
4144
  AtomicSearchBoxInstantResults,
4115
4145
  AtomicSearchBoxQuerySuggestions,
4116
4146
  AtomicSearchBoxRecentQueries,
4117
- AtomicSearchInterface,
4118
4147
  AtomicSegmentedFacet,
4119
4148
  AtomicSegmentedFacetScrollable,
4120
4149
  AtomicSmartSnippet,
@@ -4188,6 +4217,7 @@ class AtomicAngularModule {
4188
4217
  AtomicCommerceText,
4189
4218
  AtomicCommerceTimeframeFacet,
4190
4219
  AtomicComponentError,
4220
+ AtomicFacet,
4191
4221
  AtomicIcon,
4192
4222
  AtomicLayoutSection,
4193
4223
  AtomicProduct,
@@ -4214,6 +4244,7 @@ class AtomicAngularModule {
4214
4244
  AtomicProductText,
4215
4245
  AtomicQuerySummary,
4216
4246
  AtomicResultsPerPage,
4247
+ AtomicSearchInterface,
4217
4248
  AtomicSearchLayout,
4218
4249
  AtomicAutomaticFacet,
4219
4250
  AtomicAutomaticFacetGenerator,
@@ -4223,7 +4254,6 @@ class AtomicAngularModule {
4223
4254
  AtomicColorFacet,
4224
4255
  AtomicDidYouMean,
4225
4256
  AtomicExternal,
4226
- AtomicFacet,
4227
4257
  AtomicFacetManager,
4228
4258
  AtomicFieldCondition,
4229
4259
  AtomicFoldedResultList,
@@ -4288,7 +4318,6 @@ class AtomicAngularModule {
4288
4318
  AtomicSearchBoxInstantResults,
4289
4319
  AtomicSearchBoxQuerySuggestions,
4290
4320
  AtomicSearchBoxRecentQueries,
4291
- AtomicSearchInterface,
4292
4321
  AtomicSegmentedFacet,
4293
4322
  AtomicSegmentedFacetScrollable,
4294
4323
  AtomicSmartSnippet,
@@ -4329,6 +4358,7 @@ class AtomicAngularModule {
4329
4358
  AtomicCommerceText,
4330
4359
  AtomicCommerceTimeframeFacet,
4331
4360
  AtomicComponentError,
4361
+ AtomicFacet,
4332
4362
  AtomicIcon,
4333
4363
  AtomicLayoutSection,
4334
4364
  AtomicProduct,
@@ -4355,6 +4385,7 @@ class AtomicAngularModule {
4355
4385
  AtomicProductText,
4356
4386
  AtomicQuerySummary,
4357
4387
  AtomicResultsPerPage,
4388
+ AtomicSearchInterface,
4358
4389
  AtomicSearchLayout,
4359
4390
  AtomicAutomaticFacet,
4360
4391
  AtomicAutomaticFacetGenerator,
@@ -4364,7 +4395,6 @@ class AtomicAngularModule {
4364
4395
  AtomicColorFacet,
4365
4396
  AtomicDidYouMean,
4366
4397
  AtomicExternal,
4367
- AtomicFacet,
4368
4398
  AtomicFacetManager,
4369
4399
  AtomicFieldCondition,
4370
4400
  AtomicFoldedResultList,
@@ -4429,7 +4459,6 @@ class AtomicAngularModule {
4429
4459
  AtomicSearchBoxInstantResults,
4430
4460
  AtomicSearchBoxQuerySuggestions,
4431
4461
  AtomicSearchBoxRecentQueries,
4432
- AtomicSearchInterface,
4433
4462
  AtomicSegmentedFacet,
4434
4463
  AtomicSegmentedFacetScrollable,
4435
4464
  AtomicSmartSnippet,