@coveo/atomic-angular 3.3.38-pre.fb138586ae → 3.3.38-pre.fba84e863c
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, defineCustomElementAtomicCommerceBreadbox, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceDidYouMean, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNoProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceProductsPerPage, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRecommendationInterface, defineCustomElementAtomicCommerceRefineModal, defineCustomElementAtomicCommerceRefineToggle, defineCustomElementAtomicCommerceText, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLayoutSection, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover,
|
|
6
|
+
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceBreadbox, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceDidYouMean, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNoProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceProductsPerPage, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRecommendationInterface, defineCustomElementAtomicCommerceRefineModal, defineCustomElementAtomicCommerceRefineToggle, defineCustomElementAtomicCommerceText, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLayoutSection, 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, defineCustomElementAtomicProductText, 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, AtomicCommerceInterface as AtomicCommerceInterface$1, AtomicCommerceLayout as AtomicCommerceLayout$1, AtomicCommercePager as AtomicCommercePager$1, AtomicCommerceProductList as AtomicCommerceProductList$1, AtomicCommerceQuerySummary as AtomicCommerceQuerySummary$1, AtomicCommerceRecommendationList as AtomicCommerceRecommendationList$1, AtomicCommerceSearchBoxInstantProducts as AtomicCommerceSearchBoxInstantProducts$1, AtomicCommerceSearchBoxQuerySuggestions as AtomicCommerceSearchBoxQuerySuggestions$1, AtomicCommerceSearchBoxRecentQueries as AtomicCommerceSearchBoxRecentQueries$1, AtomicCommerceSearchBox as AtomicCommerceSearchBox$1, AtomicCommerceSortDropdown as AtomicCommerceSortDropdown$1, AtomicProductTemplate as AtomicProductTemplate$1, AtomicProduct as AtomicProduct$1, AtomicComponentError as AtomicComponentError$1, AtomicIcon as AtomicIcon$1 } from '@coveo/atomic/components';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
@@ -1150,33 +1150,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1150
1150
|
inputs: [],
|
|
1151
1151
|
}]
|
|
1152
1152
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1153
|
-
let AtomicProduct = class AtomicProduct {
|
|
1154
|
-
z;
|
|
1155
|
-
el;
|
|
1156
|
-
constructor(c, r, z) {
|
|
1157
|
-
this.z = z;
|
|
1158
|
-
c.detach();
|
|
1159
|
-
this.el = r.nativeElement;
|
|
1160
|
-
}
|
|
1161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProduct, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1162
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProduct, isStandalone: false, selector: "atomic-product", inputs: { classes: "classes", content: "content", density: "density", display: "display", imageSize: "imageSize", interactiveProduct: "interactiveProduct", linkContent: "linkContent", loadingFlag: "loadingFlag", product: "product", renderingFunction: "renderingFunction", stopPropagation: "stopPropagation", store: "store" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1163
|
-
};
|
|
1164
|
-
AtomicProduct = __decorate([
|
|
1165
|
-
ProxyCmp({
|
|
1166
|
-
inputs: ['classes', 'content', 'density', 'display', 'imageSize', 'interactiveProduct', 'linkContent', 'loadingFlag', 'product', 'renderingFunction', 'stopPropagation', 'store'],
|
|
1167
|
-
defineCustomElementFn: defineCustomElementAtomicProduct
|
|
1168
|
-
})
|
|
1169
|
-
], AtomicProduct);
|
|
1170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProduct, decorators: [{
|
|
1171
|
-
type: Component,
|
|
1172
|
-
args: [{ standalone: false,
|
|
1173
|
-
selector: 'atomic-product',
|
|
1174
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1175
|
-
template: '<ng-content></ng-content>',
|
|
1176
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1177
|
-
inputs: ['classes', 'content', 'density', 'display', 'imageSize', 'interactiveProduct', 'linkContent', 'loadingFlag', 'product', 'renderingFunction', 'stopPropagation', 'store'],
|
|
1178
|
-
}]
|
|
1179
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1180
1153
|
let AtomicProductChildren = class AtomicProductChildren {
|
|
1181
1154
|
z;
|
|
1182
1155
|
el;
|
|
@@ -3686,6 +3659,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3686
3659
|
inputs: ['conditions', 'mustMatch', 'mustNotMatch']
|
|
3687
3660
|
}]
|
|
3688
3661
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3662
|
+
let AtomicProduct = class AtomicProduct {
|
|
3663
|
+
z;
|
|
3664
|
+
el;
|
|
3665
|
+
constructor(c, el, z) {
|
|
3666
|
+
this.z = z;
|
|
3667
|
+
c.detach();
|
|
3668
|
+
this.el = el.nativeElement;
|
|
3669
|
+
}
|
|
3670
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProduct, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3671
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProduct, isStandalone: false, selector: "atomic-product", inputs: { stopPropagation: "stopPropagation", product: "product", interactiveProduct: "interactiveProduct", store: "store", content: "content", linkContent: "linkContent", display: "display", density: "density", imageSize: "imageSize", classes: "classes" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3672
|
+
};
|
|
3673
|
+
AtomicProduct = __decorate([
|
|
3674
|
+
ProxyCmp({
|
|
3675
|
+
inputs: ['stopPropagation', 'product', 'interactiveProduct', 'store', 'content', 'linkContent', 'display', 'density', 'imageSize', 'classes'],
|
|
3676
|
+
methods: [],
|
|
3677
|
+
defineCustomElementFn: () => { customElements.get('atomic-product') || customElements.define('atomic-product', AtomicProduct$1); }
|
|
3678
|
+
})
|
|
3679
|
+
], AtomicProduct);
|
|
3680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProduct, decorators: [{
|
|
3681
|
+
type: Component,
|
|
3682
|
+
args: [{
|
|
3683
|
+
selector: 'atomic-product',
|
|
3684
|
+
standalone: false,
|
|
3685
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3686
|
+
template: '<ng-content></ng-content>',
|
|
3687
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3688
|
+
inputs: ['stopPropagation', 'product', 'interactiveProduct', 'store', 'content', 'linkContent', 'display', 'density', 'imageSize', 'classes']
|
|
3689
|
+
}]
|
|
3690
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3689
3691
|
let AtomicComponentError = class AtomicComponentError {
|
|
3690
3692
|
z;
|
|
3691
3693
|
el;
|
|
@@ -3761,6 +3763,7 @@ const DECLARATIONS = [
|
|
|
3761
3763
|
AtomicCommerceSortDropdown,
|
|
3762
3764
|
AtomicComponentError,
|
|
3763
3765
|
AtomicIcon,
|
|
3766
|
+
AtomicProduct,
|
|
3764
3767
|
AtomicProductTemplate,
|
|
3765
3768
|
AtomicAriaLive,
|
|
3766
3769
|
AtomicAutomaticFacet,
|
|
@@ -3803,7 +3806,6 @@ const DECLARATIONS = [
|
|
|
3803
3806
|
AtomicNumericRange,
|
|
3804
3807
|
AtomicPager,
|
|
3805
3808
|
AtomicPopover,
|
|
3806
|
-
AtomicProduct,
|
|
3807
3809
|
AtomicProductChildren,
|
|
3808
3810
|
AtomicProductDescription,
|
|
3809
3811
|
AtomicProductExcerpt,
|
|
@@ -3931,6 +3933,7 @@ class AtomicAngularModule {
|
|
|
3931
3933
|
AtomicCommerceSortDropdown,
|
|
3932
3934
|
AtomicComponentError,
|
|
3933
3935
|
AtomicIcon,
|
|
3936
|
+
AtomicProduct,
|
|
3934
3937
|
AtomicProductTemplate,
|
|
3935
3938
|
AtomicAriaLive,
|
|
3936
3939
|
AtomicAutomaticFacet,
|
|
@@ -3973,7 +3976,6 @@ class AtomicAngularModule {
|
|
|
3973
3976
|
AtomicNumericRange,
|
|
3974
3977
|
AtomicPager,
|
|
3975
3978
|
AtomicPopover,
|
|
3976
|
-
AtomicProduct,
|
|
3977
3979
|
AtomicProductChildren,
|
|
3978
3980
|
AtomicProductDescription,
|
|
3979
3981
|
AtomicProductExcerpt,
|
|
@@ -4068,6 +4070,7 @@ class AtomicAngularModule {
|
|
|
4068
4070
|
AtomicCommerceSortDropdown,
|
|
4069
4071
|
AtomicComponentError,
|
|
4070
4072
|
AtomicIcon,
|
|
4073
|
+
AtomicProduct,
|
|
4071
4074
|
AtomicProductTemplate,
|
|
4072
4075
|
AtomicAriaLive,
|
|
4073
4076
|
AtomicAutomaticFacet,
|
|
@@ -4110,7 +4113,6 @@ class AtomicAngularModule {
|
|
|
4110
4113
|
AtomicNumericRange,
|
|
4111
4114
|
AtomicPager,
|
|
4112
4115
|
AtomicPopover,
|
|
4113
|
-
AtomicProduct,
|
|
4114
4116
|
AtomicProductChildren,
|
|
4115
4117
|
AtomicProductDescription,
|
|
4116
4118
|
AtomicProductExcerpt,
|