@coveo/atomic-angular 3.7.9-pre.d34e47bc86 → 3.7.9-pre.d6630bb1de
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.
|
@@ -5,7 +5,7 @@ import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@
|
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
7
|
import customElementsManifest from '@coveo/atomic/custom-elements-manifest';
|
|
8
|
-
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightInterface, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange,
|
|
8
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightInterface, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, 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, defineCustomElementAtomicSearchBox, defineCustomElementAtomicSearchBoxInstantResults, defineCustomElementAtomicSearchBoxQuerySuggestions, defineCustomElementAtomicSearchBoxRecentQueries, defineCustomElementAtomicSegmentedFacet, defineCustomElementAtomicSegmentedFacetScrollable, defineCustomElementAtomicSmartSnippet, defineCustomElementAtomicSmartSnippetFeedbackModal, defineCustomElementAtomicSmartSnippetSuggestions, defineCustomElementAtomicSortDropdown, defineCustomElementAtomicSortExpression, defineCustomElementAtomicTab, defineCustomElementAtomicTabManager, defineCustomElementAtomicTableElement, defineCustomElementAtomicText, defineCustomElementAtomicTimeframe, defineCustomElementAtomicTimeframeFacet, AtomicCommerceBreadbox as AtomicCommerceBreadbox$1, AtomicCommerceCategoryFacet as AtomicCommerceCategoryFacet$1, AtomicCommerceDidYouMean as AtomicCommerceDidYouMean$1, AtomicCommerceFacet as AtomicCommerceFacet$1, AtomicCommerceFacets as AtomicCommerceFacets$1, AtomicCommerceInterface as AtomicCommerceInterface$1, AtomicCommerceLayout as AtomicCommerceLayout$1, AtomicCommerceLoadMoreProducts as AtomicCommerceLoadMoreProducts$1, AtomicCommerceNoProducts as AtomicCommerceNoProducts$1, AtomicCommerceNumericFacet as AtomicCommerceNumericFacet$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, AtomicCommerceTimeframeFacet as AtomicCommerceTimeframeFacet$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, AtomicProductRating as AtomicProductRating$1, AtomicProductSectionActions as AtomicProductSectionActions$1, AtomicProductSectionBadges as AtomicProductSectionBadges$1, AtomicProductSectionBottomMetadata as AtomicProductSectionBottomMetadata$1, AtomicProductSectionChildren as AtomicProductSectionChildren$1, AtomicProductSectionDescription as AtomicProductSectionDescription$1, AtomicProductSectionEmphasized as AtomicProductSectionEmphasized$1, AtomicProductSectionMetadata as AtomicProductSectionMetadata$1, AtomicProductSectionName as AtomicProductSectionName$1, AtomicProductSectionVisual as AtomicProductSectionVisual$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, AtomicPager as AtomicPager$1, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -788,34 +788,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
788
788
|
inputs: ['end', 'endInclusive', 'label', 'start'],
|
|
789
789
|
}]
|
|
790
790
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
791
|
-
let AtomicPager = class AtomicPager {
|
|
792
|
-
z;
|
|
793
|
-
el;
|
|
794
|
-
constructor(c, r, z) {
|
|
795
|
-
this.z = z;
|
|
796
|
-
c.detach();
|
|
797
|
-
this.el = r.nativeElement;
|
|
798
|
-
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
799
|
-
}
|
|
800
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
801
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicPager, isStandalone: false, selector: "atomic-pager", inputs: { nextButtonIcon: "nextButtonIcon", numberOfPages: "numberOfPages", previousButtonIcon: "previousButtonIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
802
|
-
};
|
|
803
|
-
AtomicPager = __decorate([
|
|
804
|
-
ProxyCmp({
|
|
805
|
-
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
806
|
-
defineCustomElementFn: defineCustomElementAtomicPager
|
|
807
|
-
})
|
|
808
|
-
], AtomicPager);
|
|
809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
|
|
810
|
-
type: Component,
|
|
811
|
-
args: [{ standalone: false,
|
|
812
|
-
selector: 'atomic-pager',
|
|
813
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
814
|
-
template: '<ng-content></ng-content>',
|
|
815
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
816
|
-
inputs: ['nextButtonIcon', 'numberOfPages', 'previousButtonIcon'],
|
|
817
|
-
}]
|
|
818
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
819
791
|
let AtomicPopover = class AtomicPopover {
|
|
820
792
|
z;
|
|
821
793
|
el;
|
|
@@ -3891,6 +3863,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3891
3863
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3892
3864
|
}]
|
|
3893
3865
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3866
|
+
let AtomicPager = class AtomicPager {
|
|
3867
|
+
z;
|
|
3868
|
+
el;
|
|
3869
|
+
constructor(c, el, z) {
|
|
3870
|
+
this.z = z;
|
|
3871
|
+
c.detach();
|
|
3872
|
+
this.el = el.nativeElement;
|
|
3873
|
+
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
3874
|
+
}
|
|
3875
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3876
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicPager, isStandalone: false, selector: "atomic-pager", inputs: { numberOfPages: "numberOfPages", previousButtonIcon: "previousButtonIcon", nextButtonIcon: "nextButtonIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3877
|
+
};
|
|
3878
|
+
AtomicPager = __decorate([
|
|
3879
|
+
ProxyCmp({
|
|
3880
|
+
inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon'],
|
|
3881
|
+
methods: ['initialize'],
|
|
3882
|
+
defineCustomElementFn: () => { customElements.get('atomic-pager') || customElements.define('atomic-pager', AtomicPager$1); }
|
|
3883
|
+
})
|
|
3884
|
+
], AtomicPager);
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicPager, decorators: [{
|
|
3886
|
+
type: Component,
|
|
3887
|
+
args: [{
|
|
3888
|
+
selector: 'atomic-pager',
|
|
3889
|
+
standalone: false,
|
|
3890
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3891
|
+
template: '<ng-content></ng-content>',
|
|
3892
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3893
|
+
inputs: ['numberOfPages', 'previousButtonIcon', 'nextButtonIcon']
|
|
3894
|
+
}]
|
|
3895
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3894
3896
|
let AtomicQuerySummary = class AtomicQuerySummary {
|
|
3895
3897
|
z;
|
|
3896
3898
|
el;
|
|
@@ -4043,6 +4045,7 @@ const DECLARATIONS = [
|
|
|
4043
4045
|
AtomicComponentError,
|
|
4044
4046
|
AtomicIcon,
|
|
4045
4047
|
AtomicLayoutSection,
|
|
4048
|
+
AtomicPager,
|
|
4046
4049
|
AtomicProduct,
|
|
4047
4050
|
AtomicProductChildren,
|
|
4048
4051
|
AtomicProductDescription,
|
|
@@ -4095,7 +4098,6 @@ const DECLARATIONS = [
|
|
|
4095
4098
|
AtomicNotifications,
|
|
4096
4099
|
AtomicNumericFacet,
|
|
4097
4100
|
AtomicNumericRange,
|
|
4098
|
-
AtomicPager,
|
|
4099
4101
|
AtomicPopover,
|
|
4100
4102
|
AtomicQueryError,
|
|
4101
4103
|
AtomicQuickview,
|
|
@@ -4217,6 +4219,7 @@ class AtomicAngularModule {
|
|
|
4217
4219
|
AtomicComponentError,
|
|
4218
4220
|
AtomicIcon,
|
|
4219
4221
|
AtomicLayoutSection,
|
|
4222
|
+
AtomicPager,
|
|
4220
4223
|
AtomicProduct,
|
|
4221
4224
|
AtomicProductChildren,
|
|
4222
4225
|
AtomicProductDescription,
|
|
@@ -4269,7 +4272,6 @@ class AtomicAngularModule {
|
|
|
4269
4272
|
AtomicNotifications,
|
|
4270
4273
|
AtomicNumericFacet,
|
|
4271
4274
|
AtomicNumericRange,
|
|
4272
|
-
AtomicPager,
|
|
4273
4275
|
AtomicPopover,
|
|
4274
4276
|
AtomicQueryError,
|
|
4275
4277
|
AtomicQuickview,
|
|
@@ -4358,6 +4360,7 @@ class AtomicAngularModule {
|
|
|
4358
4360
|
AtomicComponentError,
|
|
4359
4361
|
AtomicIcon,
|
|
4360
4362
|
AtomicLayoutSection,
|
|
4363
|
+
AtomicPager,
|
|
4361
4364
|
AtomicProduct,
|
|
4362
4365
|
AtomicProductChildren,
|
|
4363
4366
|
AtomicProductDescription,
|
|
@@ -4410,7 +4413,6 @@ class AtomicAngularModule {
|
|
|
4410
4413
|
AtomicNotifications,
|
|
4411
4414
|
AtomicNumericFacet,
|
|
4412
4415
|
AtomicNumericRange,
|
|
4413
|
-
AtomicPager,
|
|
4414
4416
|
AtomicPopover,
|
|
4415
4417
|
AtomicQueryError,
|
|
4416
4418
|
AtomicQuickview,
|