@coveo/atomic-angular 3.3.39-pre.1ef71f18a4 → 3.3.39-pre.48cf2710b9
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.
|
@@ -3,7 +3,7 @@ import { __decorate } from 'tslib';
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
6
|
-
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNoProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRecommendationInterface, defineCustomElementAtomicCommerceRefineModal, defineCustomElementAtomicCommerceRefineToggle, defineCustomElementAtomicCommerceText, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLayoutSection, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicProductChildren, defineCustomElementAtomicProductDescription, defineCustomElementAtomicProductExcerpt, defineCustomElementAtomicProductFieldCondition, defineCustomElementAtomicProductImage, defineCustomElementAtomicProductLink, defineCustomElementAtomicProductMultiValueText, defineCustomElementAtomicProductNumericFieldValue, defineCustomElementAtomicProductPrice, defineCustomElementAtomicProductRating, defineCustomElementAtomicProductSectionActions, defineCustomElementAtomicProductSectionBadges, defineCustomElementAtomicProductSectionBottomMetadata, defineCustomElementAtomicProductSectionChildren, defineCustomElementAtomicProductSectionDescription, defineCustomElementAtomicProductSectionEmphasized, defineCustomElementAtomicProductSectionMetadata, defineCustomElementAtomicProductSectionName, defineCustomElementAtomicProductSectionVisual, defineCustomElementAtomicProductText, 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, AtomicCommercePager as AtomicCommercePager$1, AtomicCommerceProductList as AtomicCommerceProductList$1,
|
|
6
|
+
import { defineCustomElementAtomicAriaLive, defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicColorFacet, defineCustomElementAtomicCommerceCategoryFacet, defineCustomElementAtomicCommerceFacet, defineCustomElementAtomicCommerceFacetNumberInput, defineCustomElementAtomicCommerceFacets, defineCustomElementAtomicCommerceLoadMoreProducts, defineCustomElementAtomicCommerceNoProducts, defineCustomElementAtomicCommerceNumericFacet, defineCustomElementAtomicCommerceProductsPerPage, defineCustomElementAtomicCommerceQueryError, defineCustomElementAtomicCommerceRecommendationInterface, defineCustomElementAtomicCommerceRefineModal, defineCustomElementAtomicCommerceRefineToggle, defineCustomElementAtomicCommerceText, defineCustomElementAtomicCommerceTimeframeFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicHtml, defineCustomElementAtomicLayoutSection, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, defineCustomElementAtomicProductChildren, defineCustomElementAtomicProductDescription, defineCustomElementAtomicProductExcerpt, defineCustomElementAtomicProductFieldCondition, defineCustomElementAtomicProductImage, defineCustomElementAtomicProductLink, defineCustomElementAtomicProductMultiValueText, defineCustomElementAtomicProductNumericFieldValue, defineCustomElementAtomicProductPrice, defineCustomElementAtomicProductRating, defineCustomElementAtomicProductSectionActions, defineCustomElementAtomicProductSectionBadges, defineCustomElementAtomicProductSectionBottomMetadata, defineCustomElementAtomicProductSectionChildren, defineCustomElementAtomicProductSectionDescription, defineCustomElementAtomicProductSectionEmphasized, defineCustomElementAtomicProductSectionMetadata, defineCustomElementAtomicProductSectionName, defineCustomElementAtomicProductSectionVisual, defineCustomElementAtomicProductText, 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, AtomicCommercePager as AtomicCommercePager$1, AtomicCommerceProductList as AtomicCommerceProductList$1, AtomicCommerceQuerySummary as AtomicCommerceQuerySummary$1, AtomicCommerceRecommendationList as AtomicCommerceRecommendationList$1, AtomicCommerceSearchBoxInstantProducts as AtomicCommerceSearchBoxInstantProducts$1, AtomicCommerceSearchBoxQuerySuggestions as AtomicCommerceSearchBoxQuerySuggestions$1, AtomicCommerceSearchBoxRecentQueries as AtomicCommerceSearchBoxRecentQueries$1, AtomicCommerceSearchBox as AtomicCommerceSearchBox$1, AtomicCommerceSortDropdown as AtomicCommerceSortDropdown$1, AtomicProductTemplate as AtomicProductTemplate$1, AtomicProduct as AtomicProduct$1, AtomicComponentError as AtomicComponentError$1, AtomicIcon as AtomicIcon$1 } from '@coveo/atomic/components';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
@@ -405,6 +405,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
405
405
|
inputs: ['facet', 'field', 'isCollapsed', 'summary'],
|
|
406
406
|
}]
|
|
407
407
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
408
|
+
let AtomicCommerceProductsPerPage = class AtomicCommerceProductsPerPage {
|
|
409
|
+
z;
|
|
410
|
+
el;
|
|
411
|
+
constructor(c, r, z) {
|
|
412
|
+
this.z = z;
|
|
413
|
+
c.detach();
|
|
414
|
+
this.el = r.nativeElement;
|
|
415
|
+
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
416
|
+
}
|
|
417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceProductsPerPage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
418
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceProductsPerPage, isStandalone: false, selector: "atomic-commerce-products-per-page", inputs: { choicesDisplayed: "choicesDisplayed", initialChoice: "initialChoice" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
419
|
+
};
|
|
420
|
+
AtomicCommerceProductsPerPage = __decorate([
|
|
421
|
+
ProxyCmp({
|
|
422
|
+
inputs: ['choicesDisplayed', 'initialChoice'],
|
|
423
|
+
defineCustomElementFn: defineCustomElementAtomicCommerceProductsPerPage
|
|
424
|
+
})
|
|
425
|
+
], AtomicCommerceProductsPerPage);
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceProductsPerPage, decorators: [{
|
|
427
|
+
type: Component,
|
|
428
|
+
args: [{ standalone: false,
|
|
429
|
+
selector: 'atomic-commerce-products-per-page',
|
|
430
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
431
|
+
template: '<ng-content></ng-content>',
|
|
432
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
433
|
+
inputs: ['choicesDisplayed', 'initialChoice'],
|
|
434
|
+
}]
|
|
435
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
408
436
|
let AtomicCommerceQueryError = class AtomicCommerceQueryError {
|
|
409
437
|
z;
|
|
410
438
|
el;
|
|
@@ -3405,36 +3433,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3405
3433
|
inputs: ['density', 'display', 'imageSize', 'numberOfPlaceholders']
|
|
3406
3434
|
}]
|
|
3407
3435
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3408
|
-
let AtomicCommerceProductsPerPage = class AtomicCommerceProductsPerPage {
|
|
3409
|
-
z;
|
|
3410
|
-
el;
|
|
3411
|
-
constructor(c, el, z) {
|
|
3412
|
-
this.z = z;
|
|
3413
|
-
c.detach();
|
|
3414
|
-
this.el = el.nativeElement;
|
|
3415
|
-
proxyOutputs(this, this.el, ['atomic/scrollToTop']);
|
|
3416
|
-
}
|
|
3417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceProductsPerPage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3418
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicCommerceProductsPerPage, isStandalone: false, selector: "atomic-commerce-products-per-page", inputs: { choicesDisplayed: "choicesDisplayed", initialChoice: "initialChoice" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3419
|
-
};
|
|
3420
|
-
AtomicCommerceProductsPerPage = __decorate([
|
|
3421
|
-
ProxyCmp({
|
|
3422
|
-
inputs: ['choicesDisplayed', 'initialChoice'],
|
|
3423
|
-
methods: ['initialize'],
|
|
3424
|
-
defineCustomElementFn: () => { customElements.get('atomic-commerce-products-per-page') || customElements.define('atomic-commerce-products-per-page', AtomicCommerceProductsPerPage$1); }
|
|
3425
|
-
})
|
|
3426
|
-
], AtomicCommerceProductsPerPage);
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicCommerceProductsPerPage, decorators: [{
|
|
3428
|
-
type: Component,
|
|
3429
|
-
args: [{
|
|
3430
|
-
selector: 'atomic-commerce-products-per-page',
|
|
3431
|
-
standalone: false,
|
|
3432
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3433
|
-
template: '<ng-content></ng-content>',
|
|
3434
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3435
|
-
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3436
|
-
}]
|
|
3437
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3438
3436
|
let AtomicCommerceQuerySummary = class AtomicCommerceQuerySummary {
|
|
3439
3437
|
z;
|
|
3440
3438
|
el;
|
|
@@ -3765,7 +3763,6 @@ const DECLARATIONS = [
|
|
|
3765
3763
|
AtomicCommerceLayout,
|
|
3766
3764
|
AtomicCommercePager,
|
|
3767
3765
|
AtomicCommerceProductList,
|
|
3768
|
-
AtomicCommerceProductsPerPage,
|
|
3769
3766
|
AtomicCommerceQuerySummary,
|
|
3770
3767
|
AtomicCommerceRecommendationList,
|
|
3771
3768
|
AtomicCommerceSearchBox,
|
|
@@ -3790,6 +3787,7 @@ const DECLARATIONS = [
|
|
|
3790
3787
|
AtomicCommerceLoadMoreProducts,
|
|
3791
3788
|
AtomicCommerceNoProducts,
|
|
3792
3789
|
AtomicCommerceNumericFacet,
|
|
3790
|
+
AtomicCommerceProductsPerPage,
|
|
3793
3791
|
AtomicCommerceQueryError,
|
|
3794
3792
|
AtomicCommerceRecommendationInterface,
|
|
3795
3793
|
AtomicCommerceRefineModal,
|
|
@@ -3935,7 +3933,6 @@ class AtomicAngularModule {
|
|
|
3935
3933
|
AtomicCommerceLayout,
|
|
3936
3934
|
AtomicCommercePager,
|
|
3937
3935
|
AtomicCommerceProductList,
|
|
3938
|
-
AtomicCommerceProductsPerPage,
|
|
3939
3936
|
AtomicCommerceQuerySummary,
|
|
3940
3937
|
AtomicCommerceRecommendationList,
|
|
3941
3938
|
AtomicCommerceSearchBox,
|
|
@@ -3960,6 +3957,7 @@ class AtomicAngularModule {
|
|
|
3960
3957
|
AtomicCommerceLoadMoreProducts,
|
|
3961
3958
|
AtomicCommerceNoProducts,
|
|
3962
3959
|
AtomicCommerceNumericFacet,
|
|
3960
|
+
AtomicCommerceProductsPerPage,
|
|
3963
3961
|
AtomicCommerceQueryError,
|
|
3964
3962
|
AtomicCommerceRecommendationInterface,
|
|
3965
3963
|
AtomicCommerceRefineModal,
|
|
@@ -4072,7 +4070,6 @@ class AtomicAngularModule {
|
|
|
4072
4070
|
AtomicCommerceLayout,
|
|
4073
4071
|
AtomicCommercePager,
|
|
4074
4072
|
AtomicCommerceProductList,
|
|
4075
|
-
AtomicCommerceProductsPerPage,
|
|
4076
4073
|
AtomicCommerceQuerySummary,
|
|
4077
4074
|
AtomicCommerceRecommendationList,
|
|
4078
4075
|
AtomicCommerceSearchBox,
|
|
@@ -4097,6 +4094,7 @@ class AtomicAngularModule {
|
|
|
4097
4094
|
AtomicCommerceLoadMoreProducts,
|
|
4098
4095
|
AtomicCommerceNoProducts,
|
|
4099
4096
|
AtomicCommerceNumericFacet,
|
|
4097
|
+
AtomicCommerceProductsPerPage,
|
|
4100
4098
|
AtomicCommerceQueryError,
|
|
4101
4099
|
AtomicCommerceRecommendationInterface,
|
|
4102
4100
|
AtomicCommerceRefineModal,
|