@coveo/atomic-angular 3.3.39-pre.fc6b95219b → 3.4.0-pre.05db57fb0d
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,
|
|
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, AtomicCommerceProductsPerPage as AtomicCommerceProductsPerPage$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,34 +405,6 @@ 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 }] });
|
|
436
408
|
let AtomicCommerceQueryError = class AtomicCommerceQueryError {
|
|
437
409
|
z;
|
|
438
410
|
el;
|
|
@@ -843,11 +815,11 @@ let AtomicGeneratedAnswer = class AtomicGeneratedAnswer {
|
|
|
843
815
|
this.el = r.nativeElement;
|
|
844
816
|
}
|
|
845
817
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicGeneratedAnswer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
846
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicGeneratedAnswer, isStandalone: false, selector: "atomic-generated-answer", inputs: { answerConfigurationId: "answerConfigurationId", collapsible: "collapsible", maxCollapsedHeight: "maxCollapsedHeight", tabsExcluded: "tabsExcluded", tabsIncluded: "tabsIncluded", withToggle: "withToggle" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicGeneratedAnswer, isStandalone: false, selector: "atomic-generated-answer", inputs: { answerConfigurationId: "answerConfigurationId", collapsible: "collapsible", fieldsToIncludeInCitations: "fieldsToIncludeInCitations", maxCollapsedHeight: "maxCollapsedHeight", tabsExcluded: "tabsExcluded", tabsIncluded: "tabsIncluded", withToggle: "withToggle" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
847
819
|
};
|
|
848
820
|
AtomicGeneratedAnswer = __decorate([
|
|
849
821
|
ProxyCmp({
|
|
850
|
-
inputs: ['answerConfigurationId', 'collapsible', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
|
|
822
|
+
inputs: ['answerConfigurationId', 'collapsible', 'fieldsToIncludeInCitations', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
|
|
851
823
|
defineCustomElementFn: defineCustomElementAtomicGeneratedAnswer
|
|
852
824
|
})
|
|
853
825
|
], AtomicGeneratedAnswer);
|
|
@@ -858,7 +830,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
858
830
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
859
831
|
template: '<ng-content></ng-content>',
|
|
860
832
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
861
|
-
inputs: ['answerConfigurationId', 'collapsible', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
|
|
833
|
+
inputs: ['answerConfigurationId', 'collapsible', 'fieldsToIncludeInCitations', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
|
|
862
834
|
}]
|
|
863
835
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
864
836
|
let AtomicHtml = class AtomicHtml {
|
|
@@ -3433,6 +3405,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3433
3405
|
inputs: ['density', 'display', 'imageSize', 'numberOfPlaceholders']
|
|
3434
3406
|
}]
|
|
3435
3407
|
}], 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 }] });
|
|
3436
3438
|
let AtomicCommerceQuerySummary = class AtomicCommerceQuerySummary {
|
|
3437
3439
|
z;
|
|
3438
3440
|
el;
|
|
@@ -3763,6 +3765,7 @@ const DECLARATIONS = [
|
|
|
3763
3765
|
AtomicCommerceLayout,
|
|
3764
3766
|
AtomicCommercePager,
|
|
3765
3767
|
AtomicCommerceProductList,
|
|
3768
|
+
AtomicCommerceProductsPerPage,
|
|
3766
3769
|
AtomicCommerceQuerySummary,
|
|
3767
3770
|
AtomicCommerceRecommendationList,
|
|
3768
3771
|
AtomicCommerceSearchBox,
|
|
@@ -3787,7 +3790,6 @@ const DECLARATIONS = [
|
|
|
3787
3790
|
AtomicCommerceLoadMoreProducts,
|
|
3788
3791
|
AtomicCommerceNoProducts,
|
|
3789
3792
|
AtomicCommerceNumericFacet,
|
|
3790
|
-
AtomicCommerceProductsPerPage,
|
|
3791
3793
|
AtomicCommerceQueryError,
|
|
3792
3794
|
AtomicCommerceRecommendationInterface,
|
|
3793
3795
|
AtomicCommerceRefineModal,
|
|
@@ -3933,6 +3935,7 @@ class AtomicAngularModule {
|
|
|
3933
3935
|
AtomicCommerceLayout,
|
|
3934
3936
|
AtomicCommercePager,
|
|
3935
3937
|
AtomicCommerceProductList,
|
|
3938
|
+
AtomicCommerceProductsPerPage,
|
|
3936
3939
|
AtomicCommerceQuerySummary,
|
|
3937
3940
|
AtomicCommerceRecommendationList,
|
|
3938
3941
|
AtomicCommerceSearchBox,
|
|
@@ -3957,7 +3960,6 @@ class AtomicAngularModule {
|
|
|
3957
3960
|
AtomicCommerceLoadMoreProducts,
|
|
3958
3961
|
AtomicCommerceNoProducts,
|
|
3959
3962
|
AtomicCommerceNumericFacet,
|
|
3960
|
-
AtomicCommerceProductsPerPage,
|
|
3961
3963
|
AtomicCommerceQueryError,
|
|
3962
3964
|
AtomicCommerceRecommendationInterface,
|
|
3963
3965
|
AtomicCommerceRefineModal,
|
|
@@ -4070,6 +4072,7 @@ class AtomicAngularModule {
|
|
|
4070
4072
|
AtomicCommerceLayout,
|
|
4071
4073
|
AtomicCommercePager,
|
|
4072
4074
|
AtomicCommerceProductList,
|
|
4075
|
+
AtomicCommerceProductsPerPage,
|
|
4073
4076
|
AtomicCommerceQuerySummary,
|
|
4074
4077
|
AtomicCommerceRecommendationList,
|
|
4075
4078
|
AtomicCommerceSearchBox,
|
|
@@ -4094,7 +4097,6 @@ class AtomicAngularModule {
|
|
|
4094
4097
|
AtomicCommerceLoadMoreProducts,
|
|
4095
4098
|
AtomicCommerceNoProducts,
|
|
4096
4099
|
AtomicCommerceNumericFacet,
|
|
4097
|
-
AtomicCommerceProductsPerPage,
|
|
4098
4100
|
AtomicCommerceQueryError,
|
|
4099
4101
|
AtomicCommerceRecommendationInterface,
|
|
4100
4102
|
AtomicCommerceRefineModal,
|