@coveo/atomic-angular 3.5.2-pre.2d4a67a617 → 3.5.2-pre.33e6999388
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, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover,
|
|
7
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, 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, 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, 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, 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 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -842,33 +842,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
842
842
|
inputs: [],
|
|
843
843
|
}]
|
|
844
844
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
845
|
-
let AtomicProductRating = class AtomicProductRating {
|
|
846
|
-
z;
|
|
847
|
-
el;
|
|
848
|
-
constructor(c, r, z) {
|
|
849
|
-
this.z = z;
|
|
850
|
-
c.detach();
|
|
851
|
-
this.el = r.nativeElement;
|
|
852
|
-
}
|
|
853
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductRating, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
854
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductRating, isStandalone: false, selector: "atomic-product-rating", inputs: { field: "field", icon: "icon", maxValueInIndex: "maxValueInIndex", ratingDetailsField: "ratingDetailsField" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
855
|
-
};
|
|
856
|
-
AtomicProductRating = __decorate([
|
|
857
|
-
ProxyCmp({
|
|
858
|
-
inputs: ['field', 'icon', 'maxValueInIndex', 'ratingDetailsField'],
|
|
859
|
-
defineCustomElementFn: defineCustomElementAtomicProductRating
|
|
860
|
-
})
|
|
861
|
-
], AtomicProductRating);
|
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductRating, decorators: [{
|
|
863
|
-
type: Component,
|
|
864
|
-
args: [{ standalone: false,
|
|
865
|
-
selector: 'atomic-product-rating',
|
|
866
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
867
|
-
template: '<ng-content></ng-content>',
|
|
868
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
869
|
-
inputs: ['field', 'icon', 'maxValueInIndex', 'ratingDetailsField'],
|
|
870
|
-
}]
|
|
871
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
872
845
|
let AtomicProductSectionActions = class AtomicProductSectionActions {
|
|
873
846
|
z;
|
|
874
847
|
el;
|
|
@@ -3606,6 +3579,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3606
3579
|
inputs: []
|
|
3607
3580
|
}]
|
|
3608
3581
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3582
|
+
let AtomicProductRating = class AtomicProductRating {
|
|
3583
|
+
z;
|
|
3584
|
+
el;
|
|
3585
|
+
constructor(c, el, z) {
|
|
3586
|
+
this.z = z;
|
|
3587
|
+
c.detach();
|
|
3588
|
+
this.el = el.nativeElement;
|
|
3589
|
+
}
|
|
3590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductRating, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3591
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductRating, isStandalone: false, selector: "atomic-product-rating", inputs: { field: "field", ratingDetailsField: "ratingDetailsField", maxValueInIndex: "maxValueInIndex", icon: "icon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3592
|
+
};
|
|
3593
|
+
AtomicProductRating = __decorate([
|
|
3594
|
+
ProxyCmp({
|
|
3595
|
+
inputs: ['field', 'ratingDetailsField', 'maxValueInIndex', 'icon'],
|
|
3596
|
+
methods: ['initialize'],
|
|
3597
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-rating') || customElements.define('atomic-product-rating', AtomicProductRating$1); }
|
|
3598
|
+
})
|
|
3599
|
+
], AtomicProductRating);
|
|
3600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductRating, decorators: [{
|
|
3601
|
+
type: Component,
|
|
3602
|
+
args: [{
|
|
3603
|
+
selector: 'atomic-product-rating',
|
|
3604
|
+
standalone: false,
|
|
3605
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3606
|
+
template: '<ng-content></ng-content>',
|
|
3607
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3608
|
+
inputs: ['field', 'ratingDetailsField', 'maxValueInIndex', 'icon']
|
|
3609
|
+
}]
|
|
3610
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3609
3611
|
let AtomicProductTemplate = class AtomicProductTemplate {
|
|
3610
3612
|
z;
|
|
3611
3613
|
el;
|
|
@@ -3849,6 +3851,7 @@ const DECLARATIONS = [
|
|
|
3849
3851
|
AtomicProductMultiValueText,
|
|
3850
3852
|
AtomicProductNumericFieldValue,
|
|
3851
3853
|
AtomicProductPrice,
|
|
3854
|
+
AtomicProductRating,
|
|
3852
3855
|
AtomicProductTemplate,
|
|
3853
3856
|
AtomicProductText,
|
|
3854
3857
|
AtomicAutomaticFacet,
|
|
@@ -3880,7 +3883,6 @@ const DECLARATIONS = [
|
|
|
3880
3883
|
AtomicNumericRange,
|
|
3881
3884
|
AtomicPager,
|
|
3882
3885
|
AtomicPopover,
|
|
3883
|
-
AtomicProductRating,
|
|
3884
3886
|
AtomicProductSectionActions,
|
|
3885
3887
|
AtomicProductSectionBadges,
|
|
3886
3888
|
AtomicProductSectionBottomMetadata,
|
|
@@ -4019,6 +4021,7 @@ class AtomicAngularModule {
|
|
|
4019
4021
|
AtomicProductMultiValueText,
|
|
4020
4022
|
AtomicProductNumericFieldValue,
|
|
4021
4023
|
AtomicProductPrice,
|
|
4024
|
+
AtomicProductRating,
|
|
4022
4025
|
AtomicProductTemplate,
|
|
4023
4026
|
AtomicProductText,
|
|
4024
4027
|
AtomicAutomaticFacet,
|
|
@@ -4050,7 +4053,6 @@ class AtomicAngularModule {
|
|
|
4050
4053
|
AtomicNumericRange,
|
|
4051
4054
|
AtomicPager,
|
|
4052
4055
|
AtomicPopover,
|
|
4053
|
-
AtomicProductRating,
|
|
4054
4056
|
AtomicProductSectionActions,
|
|
4055
4057
|
AtomicProductSectionBadges,
|
|
4056
4058
|
AtomicProductSectionBottomMetadata,
|
|
@@ -4156,6 +4158,7 @@ class AtomicAngularModule {
|
|
|
4156
4158
|
AtomicProductMultiValueText,
|
|
4157
4159
|
AtomicProductNumericFieldValue,
|
|
4158
4160
|
AtomicProductPrice,
|
|
4161
|
+
AtomicProductRating,
|
|
4159
4162
|
AtomicProductTemplate,
|
|
4160
4163
|
AtomicProductText,
|
|
4161
4164
|
AtomicAutomaticFacet,
|
|
@@ -4187,7 +4190,6 @@ class AtomicAngularModule {
|
|
|
4187
4190
|
AtomicNumericRange,
|
|
4188
4191
|
AtomicPager,
|
|
4189
4192
|
AtomicPopover,
|
|
4190
|
-
AtomicProductRating,
|
|
4191
4193
|
AtomicProductSectionActions,
|
|
4192
4194
|
AtomicProductSectionBadges,
|
|
4193
4195
|
AtomicProductSectionBottomMetadata,
|