@coveo/atomic-angular 3.5.2-pre.9d4c1adbc8 → 3.5.2-pre.a0233cd612
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 {
|
|
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, defineCustomElementAtomicProductImage, 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, 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 */
|
|
@@ -64,30 +64,6 @@ function ProxyCmp(opts) {
|
|
|
64
64
|
return decorator;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
let AtomicAriaLive = class AtomicAriaLive {
|
|
68
|
-
z;
|
|
69
|
-
el;
|
|
70
|
-
constructor(c, r, z) {
|
|
71
|
-
this.z = z;
|
|
72
|
-
c.detach();
|
|
73
|
-
this.el = r.nativeElement;
|
|
74
|
-
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAriaLive, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicAriaLive, isStandalone: false, selector: "atomic-aria-live", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
77
|
-
};
|
|
78
|
-
AtomicAriaLive = __decorate([
|
|
79
|
-
ProxyCmp({ defineCustomElementFn: defineCustomElementAtomicAriaLive })
|
|
80
|
-
], AtomicAriaLive);
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAriaLive, decorators: [{
|
|
82
|
-
type: Component,
|
|
83
|
-
args: [{ standalone: false,
|
|
84
|
-
selector: 'atomic-aria-live',
|
|
85
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
86
|
-
template: '<ng-content></ng-content>',
|
|
87
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
88
|
-
inputs: [],
|
|
89
|
-
}]
|
|
90
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
91
67
|
let AtomicAutomaticFacet = class AtomicAutomaticFacet {
|
|
92
68
|
z;
|
|
93
69
|
el;
|
|
@@ -3716,6 +3692,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3716
3692
|
inputs: ['stopPropagation', 'product', 'interactiveProduct', 'store', 'content', 'linkContent', 'display', 'density', 'imageSize', 'classes']
|
|
3717
3693
|
}]
|
|
3718
3694
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3695
|
+
let AtomicAriaLive = class AtomicAriaLive {
|
|
3696
|
+
z;
|
|
3697
|
+
el;
|
|
3698
|
+
constructor(c, el, z) {
|
|
3699
|
+
this.z = z;
|
|
3700
|
+
c.detach();
|
|
3701
|
+
this.el = el.nativeElement;
|
|
3702
|
+
proxyOutputs(this, this.el, ['atomic/accessibility/findAriaLive']);
|
|
3703
|
+
}
|
|
3704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAriaLive, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3705
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicAriaLive, isStandalone: false, selector: "atomic-aria-live", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3706
|
+
};
|
|
3707
|
+
AtomicAriaLive = __decorate([
|
|
3708
|
+
ProxyCmp({
|
|
3709
|
+
inputs: [],
|
|
3710
|
+
methods: ['updateMessage', 'registerRegion'],
|
|
3711
|
+
defineCustomElementFn: () => { customElements.get('atomic-aria-live') || customElements.define('atomic-aria-live', AtomicAriaLive$1); }
|
|
3712
|
+
})
|
|
3713
|
+
], AtomicAriaLive);
|
|
3714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAriaLive, decorators: [{
|
|
3715
|
+
type: Component,
|
|
3716
|
+
args: [{
|
|
3717
|
+
selector: 'atomic-aria-live',
|
|
3718
|
+
standalone: false,
|
|
3719
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3720
|
+
template: '<ng-content></ng-content>',
|
|
3721
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3722
|
+
inputs: []
|
|
3723
|
+
}]
|
|
3724
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3719
3725
|
let AtomicComponentError = class AtomicComponentError {
|
|
3720
3726
|
z;
|
|
3721
3727
|
el;
|
|
@@ -3807,6 +3813,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3807
3813
|
/* tslint:disable */
|
|
3808
3814
|
/* auto-generated angular module */
|
|
3809
3815
|
const DECLARATIONS = [
|
|
3816
|
+
AtomicAriaLive,
|
|
3810
3817
|
AtomicCommerceBreadbox,
|
|
3811
3818
|
AtomicCommerceDidYouMean,
|
|
3812
3819
|
AtomicCommerceInterface,
|
|
@@ -3842,7 +3849,6 @@ const DECLARATIONS = [
|
|
|
3842
3849
|
AtomicProductPrice,
|
|
3843
3850
|
AtomicProductTemplate,
|
|
3844
3851
|
AtomicProductText,
|
|
3845
|
-
AtomicAriaLive,
|
|
3846
3852
|
AtomicAutomaticFacet,
|
|
3847
3853
|
AtomicAutomaticFacetGenerator,
|
|
3848
3854
|
AtomicBreadbox,
|
|
@@ -3977,7 +3983,8 @@ class AtomicAngularModule {
|
|
|
3977
3983
|
};
|
|
3978
3984
|
}
|
|
3979
3985
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3980
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [
|
|
3986
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [AtomicAriaLive,
|
|
3987
|
+
AtomicCommerceBreadbox,
|
|
3981
3988
|
AtomicCommerceDidYouMean,
|
|
3982
3989
|
AtomicCommerceInterface,
|
|
3983
3990
|
AtomicCommerceLayout,
|
|
@@ -4012,7 +4019,6 @@ class AtomicAngularModule {
|
|
|
4012
4019
|
AtomicProductPrice,
|
|
4013
4020
|
AtomicProductTemplate,
|
|
4014
4021
|
AtomicProductText,
|
|
4015
|
-
AtomicAriaLive,
|
|
4016
4022
|
AtomicAutomaticFacet,
|
|
4017
4023
|
AtomicAutomaticFacetGenerator,
|
|
4018
4024
|
AtomicBreadbox,
|
|
@@ -4114,7 +4120,8 @@ class AtomicAngularModule {
|
|
|
4114
4120
|
AtomicTableElement,
|
|
4115
4121
|
AtomicText,
|
|
4116
4122
|
AtomicTimeframe,
|
|
4117
|
-
AtomicTimeframeFacet], imports: [CommonModule], exports: [
|
|
4123
|
+
AtomicTimeframeFacet], imports: [CommonModule], exports: [AtomicAriaLive,
|
|
4124
|
+
AtomicCommerceBreadbox,
|
|
4118
4125
|
AtomicCommerceDidYouMean,
|
|
4119
4126
|
AtomicCommerceInterface,
|
|
4120
4127
|
AtomicCommerceLayout,
|
|
@@ -4149,7 +4156,6 @@ class AtomicAngularModule {
|
|
|
4149
4156
|
AtomicProductPrice,
|
|
4150
4157
|
AtomicProductTemplate,
|
|
4151
4158
|
AtomicProductText,
|
|
4152
|
-
AtomicAriaLive,
|
|
4153
4159
|
AtomicAutomaticFacet,
|
|
4154
4160
|
AtomicAutomaticFacetGenerator,
|
|
4155
4161
|
AtomicBreadbox,
|