@coveo/atomic-angular 3.4.4-pre.83e04df118 → 3.4.4-pre.a09bdf627b
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, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicProductDescription, defineCustomElementAtomicProductExcerpt, defineCustomElementAtomicProductFieldCondition, defineCustomElementAtomicProductImage, defineCustomElementAtomicProductLink, defineCustomElementAtomicProductMultiValueText,
|
|
7
|
+
import { defineCustomElementAtomicAriaLive, 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, defineCustomElementAtomicProductDescription, defineCustomElementAtomicProductExcerpt, defineCustomElementAtomicProductFieldCondition, defineCustomElementAtomicProductImage, defineCustomElementAtomicProductLink, defineCustomElementAtomicProductMultiValueText, 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, 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, AtomicProductNumericFieldValue as AtomicProductNumericFieldValue$1, AtomicProductPrice as AtomicProductPrice$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 */
|
|
@@ -1029,57 +1029,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1029
1029
|
inputs: ['delimiter', 'field', 'maxValuesToDisplay'],
|
|
1030
1030
|
}]
|
|
1031
1031
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1032
|
-
let AtomicProductNumericFieldValue = class AtomicProductNumericFieldValue {
|
|
1033
|
-
z;
|
|
1034
|
-
el;
|
|
1035
|
-
constructor(c, r, z) {
|
|
1036
|
-
this.z = z;
|
|
1037
|
-
c.detach();
|
|
1038
|
-
this.el = r.nativeElement;
|
|
1039
|
-
}
|
|
1040
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductNumericFieldValue, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1041
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductNumericFieldValue, isStandalone: false, selector: "atomic-product-numeric-field-value", inputs: { field: "field" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1042
|
-
};
|
|
1043
|
-
AtomicProductNumericFieldValue = __decorate([
|
|
1044
|
-
ProxyCmp({
|
|
1045
|
-
inputs: ['field'],
|
|
1046
|
-
defineCustomElementFn: defineCustomElementAtomicProductNumericFieldValue
|
|
1047
|
-
})
|
|
1048
|
-
], AtomicProductNumericFieldValue);
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductNumericFieldValue, decorators: [{
|
|
1050
|
-
type: Component,
|
|
1051
|
-
args: [{ standalone: false,
|
|
1052
|
-
selector: 'atomic-product-numeric-field-value',
|
|
1053
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1054
|
-
template: '<ng-content></ng-content>',
|
|
1055
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1056
|
-
inputs: ['field'],
|
|
1057
|
-
}]
|
|
1058
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1059
|
-
let AtomicProductPrice = class AtomicProductPrice {
|
|
1060
|
-
z;
|
|
1061
|
-
el;
|
|
1062
|
-
constructor(c, r, z) {
|
|
1063
|
-
this.z = z;
|
|
1064
|
-
c.detach();
|
|
1065
|
-
this.el = r.nativeElement;
|
|
1066
|
-
}
|
|
1067
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductPrice, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1068
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductPrice, isStandalone: false, selector: "atomic-product-price", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1069
|
-
};
|
|
1070
|
-
AtomicProductPrice = __decorate([
|
|
1071
|
-
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicProductPrice })
|
|
1072
|
-
], AtomicProductPrice);
|
|
1073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductPrice, decorators: [{
|
|
1074
|
-
type: Component,
|
|
1075
|
-
args: [{ standalone: false,
|
|
1076
|
-
selector: 'atomic-product-price',
|
|
1077
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1078
|
-
template: '<ng-content></ng-content>',
|
|
1079
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1080
|
-
inputs: [],
|
|
1081
|
-
}]
|
|
1082
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1083
1032
|
let AtomicProductRating = class AtomicProductRating {
|
|
1084
1033
|
z;
|
|
1085
1034
|
el;
|
|
@@ -3612,6 +3561,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3612
3561
|
inputs: ['label', 'field', 'fallback']
|
|
3613
3562
|
}]
|
|
3614
3563
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3564
|
+
let AtomicProductNumericFieldValue = class AtomicProductNumericFieldValue {
|
|
3565
|
+
z;
|
|
3566
|
+
el;
|
|
3567
|
+
constructor(c, el, z) {
|
|
3568
|
+
this.z = z;
|
|
3569
|
+
c.detach();
|
|
3570
|
+
this.el = el.nativeElement;
|
|
3571
|
+
}
|
|
3572
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductNumericFieldValue, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3573
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductNumericFieldValue, isStandalone: false, selector: "atomic-product-numeric-field-value", inputs: { field: "field" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3574
|
+
};
|
|
3575
|
+
AtomicProductNumericFieldValue = __decorate([
|
|
3576
|
+
ProxyCmp({
|
|
3577
|
+
inputs: ['field'],
|
|
3578
|
+
methods: ['initialize'],
|
|
3579
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-numeric-field-value') || customElements.define('atomic-product-numeric-field-value', AtomicProductNumericFieldValue$1); }
|
|
3580
|
+
})
|
|
3581
|
+
], AtomicProductNumericFieldValue);
|
|
3582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductNumericFieldValue, decorators: [{
|
|
3583
|
+
type: Component,
|
|
3584
|
+
args: [{
|
|
3585
|
+
selector: 'atomic-product-numeric-field-value',
|
|
3586
|
+
standalone: false,
|
|
3587
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3588
|
+
template: '<ng-content></ng-content>',
|
|
3589
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3590
|
+
inputs: ['field']
|
|
3591
|
+
}]
|
|
3592
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3593
|
+
let AtomicProductPrice = class AtomicProductPrice {
|
|
3594
|
+
z;
|
|
3595
|
+
el;
|
|
3596
|
+
constructor(c, el, z) {
|
|
3597
|
+
this.z = z;
|
|
3598
|
+
c.detach();
|
|
3599
|
+
this.el = el.nativeElement;
|
|
3600
|
+
}
|
|
3601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductPrice, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3602
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductPrice, isStandalone: false, selector: "atomic-product-price", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3603
|
+
};
|
|
3604
|
+
AtomicProductPrice = __decorate([
|
|
3605
|
+
ProxyCmp({
|
|
3606
|
+
inputs: [],
|
|
3607
|
+
methods: ['initialize'],
|
|
3608
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-price') || customElements.define('atomic-product-price', AtomicProductPrice$1); }
|
|
3609
|
+
})
|
|
3610
|
+
], AtomicProductPrice);
|
|
3611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductPrice, decorators: [{
|
|
3612
|
+
type: Component,
|
|
3613
|
+
args: [{
|
|
3614
|
+
selector: 'atomic-product-price',
|
|
3615
|
+
standalone: false,
|
|
3616
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3617
|
+
template: '<ng-content></ng-content>',
|
|
3618
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3619
|
+
inputs: []
|
|
3620
|
+
}]
|
|
3621
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3615
3622
|
let AtomicProductTemplate = class AtomicProductTemplate {
|
|
3616
3623
|
z;
|
|
3617
3624
|
el;
|
|
@@ -3816,6 +3823,8 @@ const DECLARATIONS = [
|
|
|
3816
3823
|
AtomicLayoutSection,
|
|
3817
3824
|
AtomicProduct,
|
|
3818
3825
|
AtomicProductChildren,
|
|
3826
|
+
AtomicProductNumericFieldValue,
|
|
3827
|
+
AtomicProductPrice,
|
|
3819
3828
|
AtomicProductTemplate,
|
|
3820
3829
|
AtomicProductText,
|
|
3821
3830
|
AtomicAriaLive,
|
|
@@ -3854,8 +3863,6 @@ const DECLARATIONS = [
|
|
|
3854
3863
|
AtomicProductImage,
|
|
3855
3864
|
AtomicProductLink,
|
|
3856
3865
|
AtomicProductMultiValueText,
|
|
3857
|
-
AtomicProductNumericFieldValue,
|
|
3858
|
-
AtomicProductPrice,
|
|
3859
3866
|
AtomicProductRating,
|
|
3860
3867
|
AtomicProductSectionActions,
|
|
3861
3868
|
AtomicProductSectionBadges,
|
|
@@ -3986,6 +3993,8 @@ class AtomicAngularModule {
|
|
|
3986
3993
|
AtomicLayoutSection,
|
|
3987
3994
|
AtomicProduct,
|
|
3988
3995
|
AtomicProductChildren,
|
|
3996
|
+
AtomicProductNumericFieldValue,
|
|
3997
|
+
AtomicProductPrice,
|
|
3989
3998
|
AtomicProductTemplate,
|
|
3990
3999
|
AtomicProductText,
|
|
3991
4000
|
AtomicAriaLive,
|
|
@@ -4024,8 +4033,6 @@ class AtomicAngularModule {
|
|
|
4024
4033
|
AtomicProductImage,
|
|
4025
4034
|
AtomicProductLink,
|
|
4026
4035
|
AtomicProductMultiValueText,
|
|
4027
|
-
AtomicProductNumericFieldValue,
|
|
4028
|
-
AtomicProductPrice,
|
|
4029
4036
|
AtomicProductRating,
|
|
4030
4037
|
AtomicProductSectionActions,
|
|
4031
4038
|
AtomicProductSectionBadges,
|
|
@@ -4123,6 +4130,8 @@ class AtomicAngularModule {
|
|
|
4123
4130
|
AtomicLayoutSection,
|
|
4124
4131
|
AtomicProduct,
|
|
4125
4132
|
AtomicProductChildren,
|
|
4133
|
+
AtomicProductNumericFieldValue,
|
|
4134
|
+
AtomicProductPrice,
|
|
4126
4135
|
AtomicProductTemplate,
|
|
4127
4136
|
AtomicProductText,
|
|
4128
4137
|
AtomicAriaLive,
|
|
@@ -4161,8 +4170,6 @@ class AtomicAngularModule {
|
|
|
4161
4170
|
AtomicProductImage,
|
|
4162
4171
|
AtomicProductLink,
|
|
4163
4172
|
AtomicProductMultiValueText,
|
|
4164
|
-
AtomicProductNumericFieldValue,
|
|
4165
|
-
AtomicProductPrice,
|
|
4166
4173
|
AtomicProductRating,
|
|
4167
4174
|
AtomicProductSectionActions,
|
|
4168
4175
|
AtomicProductSectionBadges,
|