@coveo/atomic-angular 3.3.38-pre.fba84e863c → 3.3.38
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,
|
|
6
|
+
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, 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, AtomicCommerceBreadbox as AtomicCommerceBreadbox$1, AtomicCommerceDidYouMean as AtomicCommerceDidYouMean$1, 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 */
|
|
@@ -221,33 +221,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
221
221
|
inputs: ['allowedValues', 'customSort', 'dependsOn', 'displayValuesAs', 'facetId', 'field', 'filterFacetCount', 'headingLevel', 'injectionDepth', 'isCollapsed', 'label', 'numberOfValues', 'resultsMustMatch', 'sortCriteria', 'tabsExcluded', 'tabsIncluded', 'withSearch'],
|
|
222
222
|
}]
|
|
223
223
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
224
|
-
let AtomicCommerceBreadbox = class AtomicCommerceBreadbox {
|
|
225
|
-
z;
|
|
226
|
-
el;
|
|
227
|
-
constructor(c, r, z) {
|
|
228
|
-
this.z = z;
|
|
229
|
-
c.detach();
|
|
230
|
-
this.el = r.nativeElement;
|
|
231
|
-
}
|
|
232
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceBreadbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceBreadbox, isStandalone: false, selector: "atomic-commerce-breadbox", inputs: { pathLimit: "pathLimit" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
234
|
-
};
|
|
235
|
-
AtomicCommerceBreadbox = __decorate([
|
|
236
|
-
ProxyCmp({
|
|
237
|
-
inputs: ['pathLimit'],
|
|
238
|
-
defineCustomElementFn: defineCustomElementAtomicCommerceBreadbox
|
|
239
|
-
})
|
|
240
|
-
], AtomicCommerceBreadbox);
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceBreadbox, decorators: [{
|
|
242
|
-
type: Component,
|
|
243
|
-
args: [{ standalone: false,
|
|
244
|
-
selector: 'atomic-commerce-breadbox',
|
|
245
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
246
|
-
template: '<ng-content></ng-content>',
|
|
247
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
248
|
-
inputs: ['pathLimit'],
|
|
249
|
-
}]
|
|
250
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
251
224
|
let AtomicCommerceCategoryFacet = class AtomicCommerceCategoryFacet {
|
|
252
225
|
z;
|
|
253
226
|
el;
|
|
@@ -275,30 +248,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
275
248
|
inputs: ['facet', 'field', 'isCollapsed', 'summary'],
|
|
276
249
|
}]
|
|
277
250
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
278
|
-
let AtomicCommerceDidYouMean = class AtomicCommerceDidYouMean {
|
|
279
|
-
z;
|
|
280
|
-
el;
|
|
281
|
-
constructor(c, r, z) {
|
|
282
|
-
this.z = z;
|
|
283
|
-
c.detach();
|
|
284
|
-
this.el = r.nativeElement;
|
|
285
|
-
}
|
|
286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceDidYouMean, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
287
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceDidYouMean, isStandalone: false, selector: "atomic-commerce-did-you-mean", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
288
|
-
};
|
|
289
|
-
AtomicCommerceDidYouMean = __decorate([
|
|
290
|
-
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicCommerceDidYouMean })
|
|
291
|
-
], AtomicCommerceDidYouMean);
|
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceDidYouMean, decorators: [{
|
|
293
|
-
type: Component,
|
|
294
|
-
args: [{ standalone: false,
|
|
295
|
-
selector: 'atomic-commerce-did-you-mean',
|
|
296
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
297
|
-
template: '<ng-content></ng-content>',
|
|
298
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
299
|
-
inputs: [],
|
|
300
|
-
}]
|
|
301
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
302
251
|
let AtomicCommerceFacet = class AtomicCommerceFacet {
|
|
303
252
|
z;
|
|
304
253
|
el;
|
|
@@ -3309,6 +3258,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3309
3258
|
}]
|
|
3310
3259
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3311
3260
|
//#region Lit Declarations
|
|
3261
|
+
let AtomicCommerceBreadbox = class AtomicCommerceBreadbox {
|
|
3262
|
+
z;
|
|
3263
|
+
el;
|
|
3264
|
+
constructor(c, el, z) {
|
|
3265
|
+
this.z = z;
|
|
3266
|
+
c.detach();
|
|
3267
|
+
this.el = el.nativeElement;
|
|
3268
|
+
}
|
|
3269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceBreadbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3270
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceBreadbox, isStandalone: false, selector: "atomic-commerce-breadbox", inputs: { pathLimit: "pathLimit" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3271
|
+
};
|
|
3272
|
+
AtomicCommerceBreadbox = __decorate([
|
|
3273
|
+
ProxyCmp({
|
|
3274
|
+
inputs: ['pathLimit'],
|
|
3275
|
+
methods: ['initialize'],
|
|
3276
|
+
defineCustomElementFn: () => { customElements.get('atomic-commerce-breadbox') || customElements.define('atomic-commerce-breadbox', AtomicCommerceBreadbox$1); }
|
|
3277
|
+
})
|
|
3278
|
+
], AtomicCommerceBreadbox);
|
|
3279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceBreadbox, decorators: [{
|
|
3280
|
+
type: Component,
|
|
3281
|
+
args: [{
|
|
3282
|
+
selector: 'atomic-commerce-breadbox',
|
|
3283
|
+
standalone: false,
|
|
3284
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3285
|
+
template: '<ng-content></ng-content>',
|
|
3286
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3287
|
+
inputs: ['pathLimit']
|
|
3288
|
+
}]
|
|
3289
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3290
|
+
let AtomicCommerceDidYouMean = class AtomicCommerceDidYouMean {
|
|
3291
|
+
z;
|
|
3292
|
+
el;
|
|
3293
|
+
constructor(c, el, z) {
|
|
3294
|
+
this.z = z;
|
|
3295
|
+
c.detach();
|
|
3296
|
+
this.el = el.nativeElement;
|
|
3297
|
+
}
|
|
3298
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceDidYouMean, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3299
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceDidYouMean, isStandalone: false, selector: "atomic-commerce-did-you-mean", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3300
|
+
};
|
|
3301
|
+
AtomicCommerceDidYouMean = __decorate([
|
|
3302
|
+
ProxyCmp({
|
|
3303
|
+
inputs: [],
|
|
3304
|
+
methods: ['initialize'],
|
|
3305
|
+
defineCustomElementFn: () => { customElements.get('atomic-commerce-did-you-mean') || customElements.define('atomic-commerce-did-you-mean', AtomicCommerceDidYouMean$1); }
|
|
3306
|
+
})
|
|
3307
|
+
], AtomicCommerceDidYouMean);
|
|
3308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceDidYouMean, decorators: [{
|
|
3309
|
+
type: Component,
|
|
3310
|
+
args: [{
|
|
3311
|
+
selector: 'atomic-commerce-did-you-mean',
|
|
3312
|
+
standalone: false,
|
|
3313
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3314
|
+
template: '<ng-content></ng-content>',
|
|
3315
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3316
|
+
inputs: []
|
|
3317
|
+
}]
|
|
3318
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3312
3319
|
let AtomicCommerceInterface = class AtomicCommerceInterface {
|
|
3313
3320
|
z;
|
|
3314
3321
|
el;
|
|
@@ -3750,6 +3757,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3750
3757
|
/* tslint:disable */
|
|
3751
3758
|
/* auto-generated angular module */
|
|
3752
3759
|
const DECLARATIONS = [
|
|
3760
|
+
AtomicCommerceBreadbox,
|
|
3761
|
+
AtomicCommerceDidYouMean,
|
|
3753
3762
|
AtomicCommerceInterface,
|
|
3754
3763
|
AtomicCommerceLayout,
|
|
3755
3764
|
AtomicCommercePager,
|
|
@@ -3771,9 +3780,7 @@ const DECLARATIONS = [
|
|
|
3771
3780
|
AtomicBreadbox,
|
|
3772
3781
|
AtomicCategoryFacet,
|
|
3773
3782
|
AtomicColorFacet,
|
|
3774
|
-
AtomicCommerceBreadbox,
|
|
3775
3783
|
AtomicCommerceCategoryFacet,
|
|
3776
|
-
AtomicCommerceDidYouMean,
|
|
3777
3784
|
AtomicCommerceFacet,
|
|
3778
3785
|
AtomicCommerceFacetNumberInput,
|
|
3779
3786
|
AtomicCommerceFacets,
|
|
@@ -3920,7 +3927,9 @@ class AtomicAngularModule {
|
|
|
3920
3927
|
};
|
|
3921
3928
|
}
|
|
3922
3929
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3923
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [
|
|
3930
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [AtomicCommerceBreadbox,
|
|
3931
|
+
AtomicCommerceDidYouMean,
|
|
3932
|
+
AtomicCommerceInterface,
|
|
3924
3933
|
AtomicCommerceLayout,
|
|
3925
3934
|
AtomicCommercePager,
|
|
3926
3935
|
AtomicCommerceProductList,
|
|
@@ -3941,9 +3950,7 @@ class AtomicAngularModule {
|
|
|
3941
3950
|
AtomicBreadbox,
|
|
3942
3951
|
AtomicCategoryFacet,
|
|
3943
3952
|
AtomicColorFacet,
|
|
3944
|
-
AtomicCommerceBreadbox,
|
|
3945
3953
|
AtomicCommerceCategoryFacet,
|
|
3946
|
-
AtomicCommerceDidYouMean,
|
|
3947
3954
|
AtomicCommerceFacet,
|
|
3948
3955
|
AtomicCommerceFacetNumberInput,
|
|
3949
3956
|
AtomicCommerceFacets,
|
|
@@ -4057,7 +4064,9 @@ class AtomicAngularModule {
|
|
|
4057
4064
|
AtomicTableElement,
|
|
4058
4065
|
AtomicText,
|
|
4059
4066
|
AtomicTimeframe,
|
|
4060
|
-
AtomicTimeframeFacet], imports: [CommonModule], exports: [
|
|
4067
|
+
AtomicTimeframeFacet], imports: [CommonModule], exports: [AtomicCommerceBreadbox,
|
|
4068
|
+
AtomicCommerceDidYouMean,
|
|
4069
|
+
AtomicCommerceInterface,
|
|
4061
4070
|
AtomicCommerceLayout,
|
|
4062
4071
|
AtomicCommercePager,
|
|
4063
4072
|
AtomicCommerceProductList,
|
|
@@ -4078,9 +4087,7 @@ class AtomicAngularModule {
|
|
|
4078
4087
|
AtomicBreadbox,
|
|
4079
4088
|
AtomicCategoryFacet,
|
|
4080
4089
|
AtomicColorFacet,
|
|
4081
|
-
AtomicCommerceBreadbox,
|
|
4082
4090
|
AtomicCommerceCategoryFacet,
|
|
4083
|
-
AtomicCommerceDidYouMean,
|
|
4084
4091
|
AtomicCommerceFacet,
|
|
4085
4092
|
AtomicCommerceFacetNumberInput,
|
|
4086
4093
|
AtomicCommerceFacets,
|