@coveo/atomic-angular 3.4.2 → 3.4.3-pre.1b0a4b3894
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 { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceQueryError,
|
|
7
|
+
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicProductChildren, defineCustomElementAtomicProductDescription, defineCustomElementAtomicProductExcerpt, defineCustomElementAtomicProductFieldCondition, defineCustomElementAtomicProductImage, defineCustomElementAtomicProductLink, defineCustomElementAtomicProductMultiValueText, defineCustomElementAtomicProductNumericFieldValue, defineCustomElementAtomicProductPrice, defineCustomElementAtomicProductRating, defineCustomElementAtomicProductSectionActions, defineCustomElementAtomicProductSectionBadges, defineCustomElementAtomicProductSectionBottomMetadata, defineCustomElementAtomicProductSectionChildren, defineCustomElementAtomicProductSectionDescription, defineCustomElementAtomicProductSectionEmphasized, defineCustomElementAtomicProductSectionMetadata, defineCustomElementAtomicProductSectionName, defineCustomElementAtomicProductSectionVisual, 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, defineCustomElementAtomicResultsPerPage, defineCustomElementAtomicSearchBox, defineCustomElementAtomicSearchBoxInstantResults, defineCustomElementAtomicSearchBoxQuerySuggestions, defineCustomElementAtomicSearchBoxRecentQueries, defineCustomElementAtomicSearchInterface, defineCustomElementAtomicSearchLayout, defineCustomElementAtomicSegmentedFacet, defineCustomElementAtomicSegmentedFacetScrollable, defineCustomElementAtomicSmartSnippet, defineCustomElementAtomicSmartSnippetFeedbackModal, defineCustomElementAtomicSmartSnippetSuggestions, defineCustomElementAtomicSortDropdown, defineCustomElementAtomicSortExpression, defineCustomElementAtomicTab, defineCustomElementAtomicTabManager, defineCustomElementAtomicTableElement, defineCustomElementAtomicText, defineCustomElementAtomicTimeframe, defineCustomElementAtomicTimeframeFacet, AtomicCommerceBreadbox as AtomicCommerceBreadbox$1, AtomicCommerceDidYouMean as AtomicCommerceDidYouMean$1, AtomicCommerceInterface as AtomicCommerceInterface$1, AtomicCommerceLayout as AtomicCommerceLayout$1, AtomicCommerceLoadMoreProducts as AtomicCommerceLoadMoreProducts$1, AtomicCommerceNoProducts as AtomicCommerceNoProducts$1, AtomicCommercePager as AtomicCommercePager$1, AtomicCommerceProductList as AtomicCommerceProductList$1, AtomicCommerceProductsPerPage as AtomicCommerceProductsPerPage$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, AtomicProductTemplate as AtomicProductTemplate$1, AtomicProductText as AtomicProductText$1, AtomicProduct as AtomicProduct$1, AtomicComponentError as AtomicComponentError$1, AtomicIcon as AtomicIcon$1, AtomicLayoutSection as AtomicLayoutSection$1 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -381,33 +381,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
381
381
|
inputs: [],
|
|
382
382
|
}]
|
|
383
383
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
384
|
-
let AtomicCommerceRefineModal = class AtomicCommerceRefineModal {
|
|
385
|
-
z;
|
|
386
|
-
el;
|
|
387
|
-
constructor(c, r, z) {
|
|
388
|
-
this.z = z;
|
|
389
|
-
c.detach();
|
|
390
|
-
this.el = r.nativeElement;
|
|
391
|
-
}
|
|
392
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
393
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceRefineModal, isStandalone: false, selector: "atomic-commerce-refine-modal", inputs: { collapseFacetsAfter: "collapseFacetsAfter", isOpen: "isOpen", openButton: "openButton" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
394
|
-
};
|
|
395
|
-
AtomicCommerceRefineModal = __decorate([
|
|
396
|
-
ProxyCmp({
|
|
397
|
-
inputs: ['collapseFacetsAfter', 'isOpen', 'openButton'],
|
|
398
|
-
defineCustomElementFn: defineCustomElementAtomicCommerceRefineModal
|
|
399
|
-
})
|
|
400
|
-
], AtomicCommerceRefineModal);
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineModal, decorators: [{
|
|
402
|
-
type: Component,
|
|
403
|
-
args: [{ standalone: false,
|
|
404
|
-
selector: 'atomic-commerce-refine-modal',
|
|
405
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
406
|
-
template: '<ng-content></ng-content>',
|
|
407
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
408
|
-
inputs: ['collapseFacetsAfter', 'isOpen', 'openButton'],
|
|
409
|
-
}]
|
|
410
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
411
384
|
let AtomicCommerceTimeframeFacet = class AtomicCommerceTimeframeFacet {
|
|
412
385
|
z;
|
|
413
386
|
el;
|
|
@@ -3399,6 +3372,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3399
3372
|
inputs: ['slotId', 'productId', 'display', 'density', 'imageSize', 'productsPerPage', 'headingLevel']
|
|
3400
3373
|
}]
|
|
3401
3374
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3375
|
+
let AtomicCommerceRefineModal = class AtomicCommerceRefineModal {
|
|
3376
|
+
z;
|
|
3377
|
+
el;
|
|
3378
|
+
constructor(c, el, z) {
|
|
3379
|
+
this.z = z;
|
|
3380
|
+
c.detach();
|
|
3381
|
+
this.el = el.nativeElement;
|
|
3382
|
+
}
|
|
3383
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3384
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceRefineModal, isStandalone: false, selector: "atomic-commerce-refine-modal", inputs: { openButton: "openButton", isOpen: "isOpen", collapseFacetsAfter: "collapseFacetsAfter" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3385
|
+
};
|
|
3386
|
+
AtomicCommerceRefineModal = __decorate([
|
|
3387
|
+
ProxyCmp({
|
|
3388
|
+
inputs: ['openButton', 'isOpen', 'collapseFacetsAfter'],
|
|
3389
|
+
methods: ['initialize', 'watchEnabled'],
|
|
3390
|
+
defineCustomElementFn: () => { customElements.get('atomic-commerce-refine-modal') || customElements.define('atomic-commerce-refine-modal', AtomicCommerceRefineModal$1); }
|
|
3391
|
+
})
|
|
3392
|
+
], AtomicCommerceRefineModal);
|
|
3393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineModal, decorators: [{
|
|
3394
|
+
type: Component,
|
|
3395
|
+
args: [{
|
|
3396
|
+
selector: 'atomic-commerce-refine-modal',
|
|
3397
|
+
standalone: false,
|
|
3398
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3399
|
+
template: '<ng-content></ng-content>',
|
|
3400
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3401
|
+
inputs: ['openButton', 'isOpen', 'collapseFacetsAfter']
|
|
3402
|
+
}]
|
|
3403
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3402
3404
|
let AtomicCommerceRefineToggle = class AtomicCommerceRefineToggle {
|
|
3403
3405
|
z;
|
|
3404
3406
|
el;
|
|
@@ -3793,6 +3795,7 @@ const DECLARATIONS = [
|
|
|
3793
3795
|
AtomicCommerceQuerySummary,
|
|
3794
3796
|
AtomicCommerceRecommendationInterface,
|
|
3795
3797
|
AtomicCommerceRecommendationList,
|
|
3798
|
+
AtomicCommerceRefineModal,
|
|
3796
3799
|
AtomicCommerceRefineToggle,
|
|
3797
3800
|
AtomicCommerceSearchBox,
|
|
3798
3801
|
AtomicCommerceSearchBoxInstantProducts,
|
|
@@ -3818,7 +3821,6 @@ const DECLARATIONS = [
|
|
|
3818
3821
|
AtomicCommerceFacets,
|
|
3819
3822
|
AtomicCommerceNumericFacet,
|
|
3820
3823
|
AtomicCommerceQueryError,
|
|
3821
|
-
AtomicCommerceRefineModal,
|
|
3822
3824
|
AtomicCommerceTimeframeFacet,
|
|
3823
3825
|
AtomicDidYouMean,
|
|
3824
3826
|
AtomicExternal,
|
|
@@ -3963,6 +3965,7 @@ class AtomicAngularModule {
|
|
|
3963
3965
|
AtomicCommerceQuerySummary,
|
|
3964
3966
|
AtomicCommerceRecommendationInterface,
|
|
3965
3967
|
AtomicCommerceRecommendationList,
|
|
3968
|
+
AtomicCommerceRefineModal,
|
|
3966
3969
|
AtomicCommerceRefineToggle,
|
|
3967
3970
|
AtomicCommerceSearchBox,
|
|
3968
3971
|
AtomicCommerceSearchBoxInstantProducts,
|
|
@@ -3988,7 +3991,6 @@ class AtomicAngularModule {
|
|
|
3988
3991
|
AtomicCommerceFacets,
|
|
3989
3992
|
AtomicCommerceNumericFacet,
|
|
3990
3993
|
AtomicCommerceQueryError,
|
|
3991
|
-
AtomicCommerceRefineModal,
|
|
3992
3994
|
AtomicCommerceTimeframeFacet,
|
|
3993
3995
|
AtomicDidYouMean,
|
|
3994
3996
|
AtomicExternal,
|
|
@@ -4100,6 +4102,7 @@ class AtomicAngularModule {
|
|
|
4100
4102
|
AtomicCommerceQuerySummary,
|
|
4101
4103
|
AtomicCommerceRecommendationInterface,
|
|
4102
4104
|
AtomicCommerceRecommendationList,
|
|
4105
|
+
AtomicCommerceRefineModal,
|
|
4103
4106
|
AtomicCommerceRefineToggle,
|
|
4104
4107
|
AtomicCommerceSearchBox,
|
|
4105
4108
|
AtomicCommerceSearchBoxInstantProducts,
|
|
@@ -4125,7 +4128,6 @@ class AtomicAngularModule {
|
|
|
4125
4128
|
AtomicCommerceFacets,
|
|
4126
4129
|
AtomicCommerceNumericFacet,
|
|
4127
4130
|
AtomicCommerceQueryError,
|
|
4128
|
-
AtomicCommerceRefineModal,
|
|
4129
4131
|
AtomicCommerceTimeframeFacet,
|
|
4130
4132
|
AtomicDidYouMean,
|
|
4131
4133
|
AtomicExternal,
|