@coveo/atomic-angular 3.4.0-pre.961cf46d73 → 3.4.0-pre.9833a8bc66
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.
|
@@ -3,7 +3,7 @@ import { __decorate } from 'tslib';
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
6
|
-
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRefineModal,
|
|
6
|
+
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRefineModal, 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, 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, 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';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
@@ -432,30 +432,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
432
432
|
inputs: ['collapseFacetsAfter', 'isOpen', 'openButton'],
|
|
433
433
|
}]
|
|
434
434
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
435
|
-
let AtomicCommerceRefineToggle = class AtomicCommerceRefineToggle {
|
|
436
|
-
z;
|
|
437
|
-
el;
|
|
438
|
-
constructor(c, r, z) {
|
|
439
|
-
this.z = z;
|
|
440
|
-
c.detach();
|
|
441
|
-
this.el = r.nativeElement;
|
|
442
|
-
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
444
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceRefineToggle, isStandalone: false, selector: "atomic-commerce-refine-toggle", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
445
|
-
};
|
|
446
|
-
AtomicCommerceRefineToggle = __decorate([
|
|
447
|
-
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicCommerceRefineToggle })
|
|
448
|
-
], AtomicCommerceRefineToggle);
|
|
449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineToggle, decorators: [{
|
|
450
|
-
type: Component,
|
|
451
|
-
args: [{ standalone: false,
|
|
452
|
-
selector: 'atomic-commerce-refine-toggle',
|
|
453
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
454
|
-
template: '<ng-content></ng-content>',
|
|
455
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
456
|
-
inputs: [],
|
|
457
|
-
}]
|
|
458
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
459
435
|
let AtomicCommerceTimeframeFacet = class AtomicCommerceTimeframeFacet {
|
|
460
436
|
z;
|
|
461
437
|
el;
|
|
@@ -3418,6 +3394,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3418
3394
|
inputs: ['slotId', 'productId', 'display', 'density', 'imageSize', 'productsPerPage', 'headingLevel']
|
|
3419
3395
|
}]
|
|
3420
3396
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3397
|
+
let AtomicCommerceRefineToggle = class AtomicCommerceRefineToggle {
|
|
3398
|
+
z;
|
|
3399
|
+
el;
|
|
3400
|
+
constructor(c, el, z) {
|
|
3401
|
+
this.z = z;
|
|
3402
|
+
c.detach();
|
|
3403
|
+
this.el = el.nativeElement;
|
|
3404
|
+
}
|
|
3405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceRefineToggle, isStandalone: false, selector: "atomic-commerce-refine-toggle", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3407
|
+
};
|
|
3408
|
+
AtomicCommerceRefineToggle = __decorate([
|
|
3409
|
+
ProxyCmp({
|
|
3410
|
+
inputs: [],
|
|
3411
|
+
methods: ['initialize'],
|
|
3412
|
+
defineCustomElementFn: () => { customElements.get('atomic-commerce-refine-toggle') || customElements.define('atomic-commerce-refine-toggle', AtomicCommerceRefineToggle$1); }
|
|
3413
|
+
})
|
|
3414
|
+
], AtomicCommerceRefineToggle);
|
|
3415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceRefineToggle, decorators: [{
|
|
3416
|
+
type: Component,
|
|
3417
|
+
args: [{
|
|
3418
|
+
selector: 'atomic-commerce-refine-toggle',
|
|
3419
|
+
standalone: false,
|
|
3420
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3421
|
+
template: '<ng-content></ng-content>',
|
|
3422
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3423
|
+
inputs: []
|
|
3424
|
+
}]
|
|
3425
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3421
3426
|
let AtomicCommerceSearchBoxInstantProducts = class AtomicCommerceSearchBoxInstantProducts {
|
|
3422
3427
|
z;
|
|
3423
3428
|
el;
|
|
@@ -3636,7 +3641,7 @@ let AtomicProductText = class AtomicProductText {
|
|
|
3636
3641
|
AtomicProductText = __decorate([
|
|
3637
3642
|
ProxyCmp({
|
|
3638
3643
|
inputs: ['field', 'shouldHighlight', 'default'],
|
|
3639
|
-
methods: ['initialize'
|
|
3644
|
+
methods: ['initialize'],
|
|
3640
3645
|
defineCustomElementFn: () => { customElements.get('atomic-product-text') || customElements.define('atomic-product-text', AtomicProductText$1); }
|
|
3641
3646
|
})
|
|
3642
3647
|
], AtomicProductText);
|
|
@@ -3782,6 +3787,7 @@ const DECLARATIONS = [
|
|
|
3782
3787
|
AtomicCommerceQuerySummary,
|
|
3783
3788
|
AtomicCommerceRecommendationInterface,
|
|
3784
3789
|
AtomicCommerceRecommendationList,
|
|
3790
|
+
AtomicCommerceRefineToggle,
|
|
3785
3791
|
AtomicCommerceSearchBox,
|
|
3786
3792
|
AtomicCommerceSearchBoxInstantProducts,
|
|
3787
3793
|
AtomicCommerceSearchBoxQuerySuggestions,
|
|
@@ -3808,7 +3814,6 @@ const DECLARATIONS = [
|
|
|
3808
3814
|
AtomicCommerceNumericFacet,
|
|
3809
3815
|
AtomicCommerceQueryError,
|
|
3810
3816
|
AtomicCommerceRefineModal,
|
|
3811
|
-
AtomicCommerceRefineToggle,
|
|
3812
3817
|
AtomicCommerceTimeframeFacet,
|
|
3813
3818
|
AtomicDidYouMean,
|
|
3814
3819
|
AtomicExternal,
|
|
@@ -3952,6 +3957,7 @@ class AtomicAngularModule {
|
|
|
3952
3957
|
AtomicCommerceQuerySummary,
|
|
3953
3958
|
AtomicCommerceRecommendationInterface,
|
|
3954
3959
|
AtomicCommerceRecommendationList,
|
|
3960
|
+
AtomicCommerceRefineToggle,
|
|
3955
3961
|
AtomicCommerceSearchBox,
|
|
3956
3962
|
AtomicCommerceSearchBoxInstantProducts,
|
|
3957
3963
|
AtomicCommerceSearchBoxQuerySuggestions,
|
|
@@ -3978,7 +3984,6 @@ class AtomicAngularModule {
|
|
|
3978
3984
|
AtomicCommerceNumericFacet,
|
|
3979
3985
|
AtomicCommerceQueryError,
|
|
3980
3986
|
AtomicCommerceRefineModal,
|
|
3981
|
-
AtomicCommerceRefineToggle,
|
|
3982
3987
|
AtomicCommerceTimeframeFacet,
|
|
3983
3988
|
AtomicDidYouMean,
|
|
3984
3989
|
AtomicExternal,
|
|
@@ -4089,6 +4094,7 @@ class AtomicAngularModule {
|
|
|
4089
4094
|
AtomicCommerceQuerySummary,
|
|
4090
4095
|
AtomicCommerceRecommendationInterface,
|
|
4091
4096
|
AtomicCommerceRecommendationList,
|
|
4097
|
+
AtomicCommerceRefineToggle,
|
|
4092
4098
|
AtomicCommerceSearchBox,
|
|
4093
4099
|
AtomicCommerceSearchBoxInstantProducts,
|
|
4094
4100
|
AtomicCommerceSearchBoxQuerySuggestions,
|
|
@@ -4115,7 +4121,6 @@ class AtomicAngularModule {
|
|
|
4115
4121
|
AtomicCommerceNumericFacet,
|
|
4116
4122
|
AtomicCommerceQueryError,
|
|
4117
4123
|
AtomicCommerceRefineModal,
|
|
4118
|
-
AtomicCommerceRefineToggle,
|
|
4119
4124
|
AtomicCommerceTimeframeFacet,
|
|
4120
4125
|
AtomicDidYouMean,
|
|
4121
4126
|
AtomicExternal,
|