@coveo/atomic-angular 3.4.3-pre.33edaacb70 → 3.4.3-pre.3906b15900
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,
|
|
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, 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, 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, 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 */
|
|
@@ -357,30 +357,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
357
357
|
inputs: ['facet', 'field', 'isCollapsed', 'summary'],
|
|
358
358
|
}]
|
|
359
359
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
360
|
-
let AtomicCommerceQueryError = class AtomicCommerceQueryError {
|
|
361
|
-
z;
|
|
362
|
-
el;
|
|
363
|
-
constructor(c, r, z) {
|
|
364
|
-
this.z = z;
|
|
365
|
-
c.detach();
|
|
366
|
-
this.el = r.nativeElement;
|
|
367
|
-
}
|
|
368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceQueryError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
369
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceQueryError, isStandalone: false, selector: "atomic-commerce-query-error", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
370
|
-
};
|
|
371
|
-
AtomicCommerceQueryError = __decorate([
|
|
372
|
-
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicCommerceQueryError })
|
|
373
|
-
], AtomicCommerceQueryError);
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceQueryError, decorators: [{
|
|
375
|
-
type: Component,
|
|
376
|
-
args: [{ standalone: false,
|
|
377
|
-
selector: 'atomic-commerce-query-error',
|
|
378
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
379
|
-
template: '<ng-content></ng-content>',
|
|
380
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
381
|
-
inputs: [],
|
|
382
|
-
}]
|
|
383
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
384
360
|
let AtomicCommerceTimeframeFacet = class AtomicCommerceTimeframeFacet {
|
|
385
361
|
z;
|
|
386
362
|
el;
|
|
@@ -3240,7 +3216,7 @@ let AtomicCommerceProductList = class AtomicCommerceProductList {
|
|
|
3240
3216
|
AtomicCommerceProductList = __decorate([
|
|
3241
3217
|
ProxyCmp({
|
|
3242
3218
|
inputs: ['density', 'display', 'imageSize', 'numberOfPlaceholders'],
|
|
3243
|
-
methods: ['setRenderFunction', 'initialize'],
|
|
3219
|
+
methods: ['setRenderFunction', 'initialize', 'getUpdateComplete'],
|
|
3244
3220
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-product-list') || customElements.define('atomic-commerce-product-list', AtomicCommerceProductList$1); }
|
|
3245
3221
|
})
|
|
3246
3222
|
], AtomicCommerceProductList);
|
|
@@ -3285,6 +3261,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3285
3261
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3286
3262
|
}]
|
|
3287
3263
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3264
|
+
let AtomicCommerceQueryError = class AtomicCommerceQueryError {
|
|
3265
|
+
z;
|
|
3266
|
+
el;
|
|
3267
|
+
constructor(c, el, z) {
|
|
3268
|
+
this.z = z;
|
|
3269
|
+
c.detach();
|
|
3270
|
+
this.el = el.nativeElement;
|
|
3271
|
+
}
|
|
3272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceQueryError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3273
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceQueryError, isStandalone: false, selector: "atomic-commerce-query-error", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3274
|
+
};
|
|
3275
|
+
AtomicCommerceQueryError = __decorate([
|
|
3276
|
+
ProxyCmp({
|
|
3277
|
+
inputs: [],
|
|
3278
|
+
methods: ['initialize'],
|
|
3279
|
+
defineCustomElementFn: () => { customElements.get('atomic-commerce-query-error') || customElements.define('atomic-commerce-query-error', AtomicCommerceQueryError$1); }
|
|
3280
|
+
})
|
|
3281
|
+
], AtomicCommerceQueryError);
|
|
3282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceQueryError, decorators: [{
|
|
3283
|
+
type: Component,
|
|
3284
|
+
args: [{
|
|
3285
|
+
selector: 'atomic-commerce-query-error',
|
|
3286
|
+
standalone: false,
|
|
3287
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3288
|
+
template: '<ng-content></ng-content>',
|
|
3289
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3290
|
+
inputs: []
|
|
3291
|
+
}]
|
|
3292
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3288
3293
|
let AtomicCommerceQuerySummary = class AtomicCommerceQuerySummary {
|
|
3289
3294
|
z;
|
|
3290
3295
|
el;
|
|
@@ -3357,7 +3362,7 @@ let AtomicCommerceRecommendationList = class AtomicCommerceRecommendationList {
|
|
|
3357
3362
|
AtomicCommerceRecommendationList = __decorate([
|
|
3358
3363
|
ProxyCmp({
|
|
3359
3364
|
inputs: ['slotId', 'productId', 'display', 'density', 'imageSize', 'productsPerPage', 'headingLevel'],
|
|
3360
|
-
methods: ['watchNumberOfRecommendationsPerPage', 'setRenderFunction', 'previousPage', 'nextPage', 'initialize', '
|
|
3365
|
+
methods: ['watchNumberOfRecommendationsPerPage', 'setRenderFunction', 'previousPage', 'nextPage', 'initialize', 'getUpdateComplete'],
|
|
3361
3366
|
defineCustomElementFn: () => { customElements.get('atomic-commerce-recommendation-list') || customElements.define('atomic-commerce-recommendation-list', AtomicCommerceRecommendationList$1); }
|
|
3362
3367
|
})
|
|
3363
3368
|
], AtomicCommerceRecommendationList);
|
|
@@ -3677,7 +3682,7 @@ let AtomicProduct = class AtomicProduct {
|
|
|
3677
3682
|
AtomicProduct = __decorate([
|
|
3678
3683
|
ProxyCmp({
|
|
3679
3684
|
inputs: ['stopPropagation', 'product', 'interactiveProduct', 'store', 'content', 'linkContent', 'display', 'density', 'imageSize', 'classes'],
|
|
3680
|
-
methods: [],
|
|
3685
|
+
methods: ['getUpdateComplete'],
|
|
3681
3686
|
defineCustomElementFn: () => { customElements.get('atomic-product') || customElements.define('atomic-product', AtomicProduct$1); }
|
|
3682
3687
|
})
|
|
3683
3688
|
], AtomicProduct);
|
|
@@ -3792,6 +3797,7 @@ const DECLARATIONS = [
|
|
|
3792
3797
|
AtomicCommercePager,
|
|
3793
3798
|
AtomicCommerceProductList,
|
|
3794
3799
|
AtomicCommerceProductsPerPage,
|
|
3800
|
+
AtomicCommerceQueryError,
|
|
3795
3801
|
AtomicCommerceQuerySummary,
|
|
3796
3802
|
AtomicCommerceRecommendationInterface,
|
|
3797
3803
|
AtomicCommerceRecommendationList,
|
|
@@ -3820,7 +3826,6 @@ const DECLARATIONS = [
|
|
|
3820
3826
|
AtomicCommerceFacetNumberInput,
|
|
3821
3827
|
AtomicCommerceFacets,
|
|
3822
3828
|
AtomicCommerceNumericFacet,
|
|
3823
|
-
AtomicCommerceQueryError,
|
|
3824
3829
|
AtomicCommerceTimeframeFacet,
|
|
3825
3830
|
AtomicDidYouMean,
|
|
3826
3831
|
AtomicExternal,
|
|
@@ -3962,6 +3967,7 @@ class AtomicAngularModule {
|
|
|
3962
3967
|
AtomicCommercePager,
|
|
3963
3968
|
AtomicCommerceProductList,
|
|
3964
3969
|
AtomicCommerceProductsPerPage,
|
|
3970
|
+
AtomicCommerceQueryError,
|
|
3965
3971
|
AtomicCommerceQuerySummary,
|
|
3966
3972
|
AtomicCommerceRecommendationInterface,
|
|
3967
3973
|
AtomicCommerceRecommendationList,
|
|
@@ -3990,7 +3996,6 @@ class AtomicAngularModule {
|
|
|
3990
3996
|
AtomicCommerceFacetNumberInput,
|
|
3991
3997
|
AtomicCommerceFacets,
|
|
3992
3998
|
AtomicCommerceNumericFacet,
|
|
3993
|
-
AtomicCommerceQueryError,
|
|
3994
3999
|
AtomicCommerceTimeframeFacet,
|
|
3995
4000
|
AtomicDidYouMean,
|
|
3996
4001
|
AtomicExternal,
|
|
@@ -4099,6 +4104,7 @@ class AtomicAngularModule {
|
|
|
4099
4104
|
AtomicCommercePager,
|
|
4100
4105
|
AtomicCommerceProductList,
|
|
4101
4106
|
AtomicCommerceProductsPerPage,
|
|
4107
|
+
AtomicCommerceQueryError,
|
|
4102
4108
|
AtomicCommerceQuerySummary,
|
|
4103
4109
|
AtomicCommerceRecommendationInterface,
|
|
4104
4110
|
AtomicCommerceRecommendationList,
|
|
@@ -4127,7 +4133,6 @@ class AtomicAngularModule {
|
|
|
4127
4133
|
AtomicCommerceFacetNumberInput,
|
|
4128
4134
|
AtomicCommerceFacets,
|
|
4129
4135
|
AtomicCommerceNumericFacet,
|
|
4130
|
-
AtomicCommerceQueryError,
|
|
4131
4136
|
AtomicCommerceTimeframeFacet,
|
|
4132
4137
|
AtomicDidYouMean,
|
|
4133
4138
|
AtomicExternal,
|