@coveo/atomic-angular 3.5.2-pre.da74c43571 → 3.5.2-pre.dbf3f017a1
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, 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, 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, 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,61 +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 AtomicProductFieldCondition = class AtomicProductFieldCondition {
|
|
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: AtomicProductFieldCondition, 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: AtomicProductFieldCondition, isStandalone: false, selector: "atomic-product-field-condition", inputs: { ifDefined: "ifDefined", ifNotDefined: "ifNotDefined", mustMatch: "mustMatch", mustNotMatch: "mustNotMatch" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
855
|
-
};
|
|
856
|
-
AtomicProductFieldCondition = __decorate([
|
|
857
|
-
ProxyCmp({
|
|
858
|
-
inputs: ['ifDefined', 'ifNotDefined', 'mustMatch', 'mustNotMatch'],
|
|
859
|
-
defineCustomElementFn: defineCustomElementAtomicProductFieldCondition
|
|
860
|
-
})
|
|
861
|
-
], AtomicProductFieldCondition);
|
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductFieldCondition, decorators: [{
|
|
863
|
-
type: Component,
|
|
864
|
-
args: [{ standalone: false,
|
|
865
|
-
selector: 'atomic-product-field-condition',
|
|
866
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
867
|
-
template: '<ng-content></ng-content>',
|
|
868
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
869
|
-
inputs: ['ifDefined', 'ifNotDefined', 'mustMatch', 'mustNotMatch'],
|
|
870
|
-
}]
|
|
871
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
872
|
-
let AtomicProductImage = class AtomicProductImage {
|
|
873
|
-
z;
|
|
874
|
-
el;
|
|
875
|
-
constructor(c, r, z) {
|
|
876
|
-
this.z = z;
|
|
877
|
-
c.detach();
|
|
878
|
-
this.el = r.nativeElement;
|
|
879
|
-
}
|
|
880
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductImage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
881
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductImage, isStandalone: false, selector: "atomic-product-image", inputs: { fallback: "fallback", field: "field", imageAltField: "imageAltField" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
882
|
-
};
|
|
883
|
-
AtomicProductImage = __decorate([
|
|
884
|
-
ProxyCmp({
|
|
885
|
-
inputs: ['fallback', 'field', 'imageAltField'],
|
|
886
|
-
methods: ['previousImage', 'nextImage', 'navigateToImage'],
|
|
887
|
-
defineCustomElementFn: defineCustomElementAtomicProductImage
|
|
888
|
-
})
|
|
889
|
-
], AtomicProductImage);
|
|
890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductImage, decorators: [{
|
|
891
|
-
type: Component,
|
|
892
|
-
args: [{ standalone: false,
|
|
893
|
-
selector: 'atomic-product-image',
|
|
894
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
895
|
-
template: '<ng-content></ng-content>',
|
|
896
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
897
|
-
inputs: ['fallback', 'field', 'imageAltField'],
|
|
898
|
-
}]
|
|
899
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
900
845
|
let AtomicProductRating = class AtomicProductRating {
|
|
901
846
|
z;
|
|
902
847
|
el;
|
|
@@ -3487,6 +3432,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3487
3432
|
inputs: ['truncateAfter', 'isCollapsible']
|
|
3488
3433
|
}]
|
|
3489
3434
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3435
|
+
let AtomicProductFieldCondition = class AtomicProductFieldCondition {
|
|
3436
|
+
z;
|
|
3437
|
+
el;
|
|
3438
|
+
constructor(c, el, z) {
|
|
3439
|
+
this.z = z;
|
|
3440
|
+
c.detach();
|
|
3441
|
+
this.el = el.nativeElement;
|
|
3442
|
+
}
|
|
3443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductFieldCondition, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3444
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductFieldCondition, isStandalone: false, selector: "atomic-product-field-condition", inputs: { ifDefined: "ifDefined", ifNotDefined: "ifNotDefined", mustMatch: "mustMatch", mustNotMatch: "mustNotMatch" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3445
|
+
};
|
|
3446
|
+
AtomicProductFieldCondition = __decorate([
|
|
3447
|
+
ProxyCmp({
|
|
3448
|
+
inputs: ['ifDefined', 'ifNotDefined', 'mustMatch', 'mustNotMatch'],
|
|
3449
|
+
methods: ['initialize'],
|
|
3450
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-field-condition') || customElements.define('atomic-product-field-condition', AtomicProductFieldCondition$1); }
|
|
3451
|
+
})
|
|
3452
|
+
], AtomicProductFieldCondition);
|
|
3453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductFieldCondition, decorators: [{
|
|
3454
|
+
type: Component,
|
|
3455
|
+
args: [{
|
|
3456
|
+
selector: 'atomic-product-field-condition',
|
|
3457
|
+
standalone: false,
|
|
3458
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3459
|
+
template: '<ng-content></ng-content>',
|
|
3460
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3461
|
+
inputs: ['ifDefined', 'ifNotDefined', 'mustMatch', 'mustNotMatch']
|
|
3462
|
+
}]
|
|
3463
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3464
|
+
let AtomicProductImage = class AtomicProductImage {
|
|
3465
|
+
z;
|
|
3466
|
+
el;
|
|
3467
|
+
constructor(c, el, z) {
|
|
3468
|
+
this.z = z;
|
|
3469
|
+
c.detach();
|
|
3470
|
+
this.el = el.nativeElement;
|
|
3471
|
+
}
|
|
3472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductImage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3473
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicProductImage, isStandalone: false, selector: "atomic-product-image", inputs: { field: "field", imageAltField: "imageAltField", fallback: "fallback" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3474
|
+
};
|
|
3475
|
+
AtomicProductImage = __decorate([
|
|
3476
|
+
ProxyCmp({
|
|
3477
|
+
inputs: ['field', 'imageAltField', 'fallback'],
|
|
3478
|
+
methods: ['initialize'],
|
|
3479
|
+
defineCustomElementFn: () => { customElements.get('atomic-product-image') || customElements.define('atomic-product-image', AtomicProductImage$1); }
|
|
3480
|
+
})
|
|
3481
|
+
], AtomicProductImage);
|
|
3482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicProductImage, decorators: [{
|
|
3483
|
+
type: Component,
|
|
3484
|
+
args: [{
|
|
3485
|
+
selector: 'atomic-product-image',
|
|
3486
|
+
standalone: false,
|
|
3487
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3488
|
+
template: '<ng-content></ng-content>',
|
|
3489
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3490
|
+
inputs: ['field', 'imageAltField', 'fallback']
|
|
3491
|
+
}]
|
|
3492
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3490
3493
|
let AtomicProductLink = class AtomicProductLink {
|
|
3491
3494
|
z;
|
|
3492
3495
|
el;
|
|
@@ -3840,6 +3843,8 @@ const DECLARATIONS = [
|
|
|
3840
3843
|
AtomicProductChildren,
|
|
3841
3844
|
AtomicProductDescription,
|
|
3842
3845
|
AtomicProductExcerpt,
|
|
3846
|
+
AtomicProductFieldCondition,
|
|
3847
|
+
AtomicProductImage,
|
|
3843
3848
|
AtomicProductLink,
|
|
3844
3849
|
AtomicProductMultiValueText,
|
|
3845
3850
|
AtomicProductNumericFieldValue,
|
|
@@ -3875,8 +3880,6 @@ const DECLARATIONS = [
|
|
|
3875
3880
|
AtomicNumericRange,
|
|
3876
3881
|
AtomicPager,
|
|
3877
3882
|
AtomicPopover,
|
|
3878
|
-
AtomicProductFieldCondition,
|
|
3879
|
-
AtomicProductImage,
|
|
3880
3883
|
AtomicProductRating,
|
|
3881
3884
|
AtomicProductSectionActions,
|
|
3882
3885
|
AtomicProductSectionBadges,
|
|
@@ -4010,6 +4013,8 @@ class AtomicAngularModule {
|
|
|
4010
4013
|
AtomicProductChildren,
|
|
4011
4014
|
AtomicProductDescription,
|
|
4012
4015
|
AtomicProductExcerpt,
|
|
4016
|
+
AtomicProductFieldCondition,
|
|
4017
|
+
AtomicProductImage,
|
|
4013
4018
|
AtomicProductLink,
|
|
4014
4019
|
AtomicProductMultiValueText,
|
|
4015
4020
|
AtomicProductNumericFieldValue,
|
|
@@ -4045,8 +4050,6 @@ class AtomicAngularModule {
|
|
|
4045
4050
|
AtomicNumericRange,
|
|
4046
4051
|
AtomicPager,
|
|
4047
4052
|
AtomicPopover,
|
|
4048
|
-
AtomicProductFieldCondition,
|
|
4049
|
-
AtomicProductImage,
|
|
4050
4053
|
AtomicProductRating,
|
|
4051
4054
|
AtomicProductSectionActions,
|
|
4052
4055
|
AtomicProductSectionBadges,
|
|
@@ -4147,6 +4150,8 @@ class AtomicAngularModule {
|
|
|
4147
4150
|
AtomicProductChildren,
|
|
4148
4151
|
AtomicProductDescription,
|
|
4149
4152
|
AtomicProductExcerpt,
|
|
4153
|
+
AtomicProductFieldCondition,
|
|
4154
|
+
AtomicProductImage,
|
|
4150
4155
|
AtomicProductLink,
|
|
4151
4156
|
AtomicProductMultiValueText,
|
|
4152
4157
|
AtomicProductNumericFieldValue,
|
|
@@ -4182,8 +4187,6 @@ class AtomicAngularModule {
|
|
|
4182
4187
|
AtomicNumericRange,
|
|
4183
4188
|
AtomicPager,
|
|
4184
4189
|
AtomicPopover,
|
|
4185
|
-
AtomicProductFieldCondition,
|
|
4186
|
-
AtomicProductImage,
|
|
4187
4190
|
AtomicProductRating,
|
|
4188
4191
|
AtomicProductSectionActions,
|
|
4189
4192
|
AtomicProductSectionBadges,
|