@coveo/atomic-angular 3.5.2-pre.214bb00aea → 3.5.2-pre.220482c28a
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, defineCustomElementAtomicProductFieldCondition, 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, 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;
|
|
@@ -3714,6 +3690,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3714
3690
|
inputs: ['stopPropagation', 'product', 'interactiveProduct', 'store', 'content', 'linkContent', 'display', 'density', 'imageSize', 'classes']
|
|
3715
3691
|
}]
|
|
3716
3692
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3693
|
+
let AtomicAriaLive = class AtomicAriaLive {
|
|
3694
|
+
z;
|
|
3695
|
+
el;
|
|
3696
|
+
constructor(c, el, z) {
|
|
3697
|
+
this.z = z;
|
|
3698
|
+
c.detach();
|
|
3699
|
+
this.el = el.nativeElement;
|
|
3700
|
+
proxyOutputs(this, this.el, ['atomic/accessibility/findAriaLive']);
|
|
3701
|
+
}
|
|
3702
|
+
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 });
|
|
3703
|
+
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 });
|
|
3704
|
+
};
|
|
3705
|
+
AtomicAriaLive = __decorate([
|
|
3706
|
+
ProxyCmp({
|
|
3707
|
+
inputs: [],
|
|
3708
|
+
methods: ['updateMessage', 'registerRegion'],
|
|
3709
|
+
defineCustomElementFn: () => { customElements.get('atomic-aria-live') || customElements.define('atomic-aria-live', AtomicAriaLive$1); }
|
|
3710
|
+
})
|
|
3711
|
+
], AtomicAriaLive);
|
|
3712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAriaLive, decorators: [{
|
|
3713
|
+
type: Component,
|
|
3714
|
+
args: [{
|
|
3715
|
+
selector: 'atomic-aria-live',
|
|
3716
|
+
standalone: false,
|
|
3717
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3718
|
+
template: '<ng-content></ng-content>',
|
|
3719
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3720
|
+
inputs: []
|
|
3721
|
+
}]
|
|
3722
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3717
3723
|
let AtomicComponentError = class AtomicComponentError {
|
|
3718
3724
|
z;
|
|
3719
3725
|
el;
|
|
@@ -3805,6 +3811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3805
3811
|
/* tslint:disable */
|
|
3806
3812
|
/* auto-generated angular module */
|
|
3807
3813
|
const DECLARATIONS = [
|
|
3814
|
+
AtomicAriaLive,
|
|
3808
3815
|
AtomicCommerceBreadbox,
|
|
3809
3816
|
AtomicCommerceDidYouMean,
|
|
3810
3817
|
AtomicCommerceInterface,
|
|
@@ -3839,7 +3846,6 @@ const DECLARATIONS = [
|
|
|
3839
3846
|
AtomicProductPrice,
|
|
3840
3847
|
AtomicProductTemplate,
|
|
3841
3848
|
AtomicProductText,
|
|
3842
|
-
AtomicAriaLive,
|
|
3843
3849
|
AtomicAutomaticFacet,
|
|
3844
3850
|
AtomicAutomaticFacetGenerator,
|
|
3845
3851
|
AtomicBreadbox,
|
|
@@ -3975,7 +3981,8 @@ class AtomicAngularModule {
|
|
|
3975
3981
|
};
|
|
3976
3982
|
}
|
|
3977
3983
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3978
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [
|
|
3984
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: AtomicAngularModule, declarations: [AtomicAriaLive,
|
|
3985
|
+
AtomicCommerceBreadbox,
|
|
3979
3986
|
AtomicCommerceDidYouMean,
|
|
3980
3987
|
AtomicCommerceInterface,
|
|
3981
3988
|
AtomicCommerceLayout,
|
|
@@ -4009,7 +4016,6 @@ class AtomicAngularModule {
|
|
|
4009
4016
|
AtomicProductPrice,
|
|
4010
4017
|
AtomicProductTemplate,
|
|
4011
4018
|
AtomicProductText,
|
|
4012
|
-
AtomicAriaLive,
|
|
4013
4019
|
AtomicAutomaticFacet,
|
|
4014
4020
|
AtomicAutomaticFacetGenerator,
|
|
4015
4021
|
AtomicBreadbox,
|
|
@@ -4112,7 +4118,8 @@ class AtomicAngularModule {
|
|
|
4112
4118
|
AtomicTableElement,
|
|
4113
4119
|
AtomicText,
|
|
4114
4120
|
AtomicTimeframe,
|
|
4115
|
-
AtomicTimeframeFacet], imports: [CommonModule], exports: [
|
|
4121
|
+
AtomicTimeframeFacet], imports: [CommonModule], exports: [AtomicAriaLive,
|
|
4122
|
+
AtomicCommerceBreadbox,
|
|
4116
4123
|
AtomicCommerceDidYouMean,
|
|
4117
4124
|
AtomicCommerceInterface,
|
|
4118
4125
|
AtomicCommerceLayout,
|
|
@@ -4146,7 +4153,6 @@ class AtomicAngularModule {
|
|
|
4146
4153
|
AtomicProductPrice,
|
|
4147
4154
|
AtomicProductTemplate,
|
|
4148
4155
|
AtomicProductText,
|
|
4149
|
-
AtomicAriaLive,
|
|
4150
4156
|
AtomicAutomaticFacet,
|
|
4151
4157
|
AtomicAutomaticFacetGenerator,
|
|
4152
4158
|
AtomicBreadbox,
|