@coveo/atomic-angular 3.5.2-pre.9c2eb5b7fc → 3.5.2-pre.9d27353c3f
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, 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, 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 } 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 AtomicQueryError = class AtomicQueryError {
|
|
873
846
|
z;
|
|
874
847
|
el;
|
|
@@ -3387,6 +3360,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3387
3360
|
inputs: []
|
|
3388
3361
|
}]
|
|
3389
3362
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3363
|
+
let AtomicProductRating = class AtomicProductRating {
|
|
3364
|
+
z;
|
|
3365
|
+
el;
|
|
3366
|
+
constructor(c, el, z) {
|
|
3367
|
+
this.z = z;
|
|
3368
|
+
c.detach();
|
|
3369
|
+
this.el = el.nativeElement;
|
|
3370
|
+
}
|
|
3371
|
+
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 });
|
|
3372
|
+
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 });
|
|
3373
|
+
};
|
|
3374
|
+
AtomicProductRating = __decorate([
|
|
3375
|
+
ProxyCmp({
|
|
3376
|
+
inputs: ['field', 'ratingDetailsField', 'maxValueInIndex', 'icon'],
|
|
3377
|
+
methods: ['initialize'],
|
|
3378
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-rating') || customElements.define('atomic-product-rating', AtomicProductRating$1); }
|
|
3379
|
+
})
|
|
3380
|
+
], AtomicProductRating);
|
|
3381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductRating, decorators: [{
|
|
3382
|
+
type: Component,
|
|
3383
|
+
args: [{
|
|
3384
|
+
selector: 'atomic-product-rating',
|
|
3385
|
+
standalone: false,
|
|
3386
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3387
|
+
template: '<ng-content></ng-content>',
|
|
3388
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3389
|
+
inputs: ['field', 'ratingDetailsField', 'maxValueInIndex', 'icon']
|
|
3390
|
+
}]
|
|
3391
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3390
3392
|
let AtomicProductSectionActions = class AtomicProductSectionActions {
|
|
3391
3393
|
z;
|
|
3392
3394
|
el;
|
|
@@ -3891,6 +3893,7 @@ const DECLARATIONS = [
|
|
|
3891
3893
|
AtomicProductMultiValueText,
|
|
3892
3894
|
AtomicProductNumericFieldValue,
|
|
3893
3895
|
AtomicProductPrice,
|
|
3896
|
+
AtomicProductRating,
|
|
3894
3897
|
AtomicProductSectionActions,
|
|
3895
3898
|
AtomicProductSectionBadges,
|
|
3896
3899
|
AtomicProductSectionBottomMetadata,
|
|
@@ -3931,7 +3934,6 @@ const DECLARATIONS = [
|
|
|
3931
3934
|
AtomicNumericRange,
|
|
3932
3935
|
AtomicPager,
|
|
3933
3936
|
AtomicPopover,
|
|
3934
|
-
AtomicProductRating,
|
|
3935
3937
|
AtomicQueryError,
|
|
3936
3938
|
AtomicQuerySummary,
|
|
3937
3939
|
AtomicQuickview,
|
|
@@ -4061,6 +4063,7 @@ class AtomicAngularModule {
|
|
|
4061
4063
|
AtomicProductMultiValueText,
|
|
4062
4064
|
AtomicProductNumericFieldValue,
|
|
4063
4065
|
AtomicProductPrice,
|
|
4066
|
+
AtomicProductRating,
|
|
4064
4067
|
AtomicProductSectionActions,
|
|
4065
4068
|
AtomicProductSectionBadges,
|
|
4066
4069
|
AtomicProductSectionBottomMetadata,
|
|
@@ -4101,7 +4104,6 @@ class AtomicAngularModule {
|
|
|
4101
4104
|
AtomicNumericRange,
|
|
4102
4105
|
AtomicPager,
|
|
4103
4106
|
AtomicPopover,
|
|
4104
|
-
AtomicProductRating,
|
|
4105
4107
|
AtomicQueryError,
|
|
4106
4108
|
AtomicQuerySummary,
|
|
4107
4109
|
AtomicQuickview,
|
|
@@ -4198,6 +4200,7 @@ class AtomicAngularModule {
|
|
|
4198
4200
|
AtomicProductMultiValueText,
|
|
4199
4201
|
AtomicProductNumericFieldValue,
|
|
4200
4202
|
AtomicProductPrice,
|
|
4203
|
+
AtomicProductRating,
|
|
4201
4204
|
AtomicProductSectionActions,
|
|
4202
4205
|
AtomicProductSectionBadges,
|
|
4203
4206
|
AtomicProductSectionBottomMetadata,
|
|
@@ -4238,7 +4241,6 @@ class AtomicAngularModule {
|
|
|
4238
4241
|
AtomicNumericRange,
|
|
4239
4242
|
AtomicPager,
|
|
4240
4243
|
AtomicPopover,
|
|
4241
|
-
AtomicProductRating,
|
|
4242
4244
|
AtomicQueryError,
|
|
4243
4245
|
AtomicQuerySummary,
|
|
4244
4246
|
AtomicQuickview,
|