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