@coveo/atomic-angular 3.7.10-pre.c5c77d8c36 → 3.7.10-pre.c951c9bf6f
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, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, defineCustomElementAtomicQuickview, defineCustomElementAtomicQuickviewModal, defineCustomElementAtomicRatingFacet, defineCustomElementAtomicRatingRangeFacet, defineCustomElementAtomicRecsError, defineCustomElementAtomicRecsInterface, defineCustomElementAtomicRecsList, defineCustomElementAtomicRecsResult, defineCustomElementAtomicRecsResultTemplate, defineCustomElementAtomicRefineModal, defineCustomElementAtomicRefineToggle, 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,
|
|
8
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatNumber, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPopover, defineCustomElementAtomicQueryError, defineCustomElementAtomicQuickview, defineCustomElementAtomicQuickviewModal, defineCustomElementAtomicRatingFacet, defineCustomElementAtomicRatingRangeFacet, defineCustomElementAtomicRecsError, defineCustomElementAtomicRecsInterface, defineCustomElementAtomicRecsList, defineCustomElementAtomicRecsResult, defineCustomElementAtomicRecsResultTemplate, defineCustomElementAtomicRefineModal, defineCustomElementAtomicRefineToggle, 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, 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, AtomicInsightInterface as AtomicInsightInterface$1, AtomicPager as AtomicPager$1, AtomicQuerySummary as AtomicQuerySummary$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchBoxInstantResults as AtomicSearchBoxInstantResults$1, AtomicSearchBoxQuerySuggestions as AtomicSearchBoxQuerySuggestions$1, AtomicSearchBoxRecentQueries as AtomicSearchBoxRecentQueries$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -1864,34 +1864,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1864
1864
|
inputs: ['clearFilters', 'disableSearch', 'enableQuerySyntax', 'minimumQueryLength', 'numberOfQueries', 'redirectionUrl', 'suggestionDelay', 'suggestionTimeout'],
|
|
1865
1865
|
}]
|
|
1866
1866
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1867
|
-
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
1868
|
-
z;
|
|
1869
|
-
el;
|
|
1870
|
-
constructor(c, r, z) {
|
|
1871
|
-
this.z = z;
|
|
1872
|
-
c.detach();
|
|
1873
|
-
this.el = r.nativeElement;
|
|
1874
|
-
}
|
|
1875
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1876
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxInstantResults, isStandalone: false, selector: "atomic-search-box-instant-results", inputs: { ariaLabelGenerator: "ariaLabelGenerator", density: "density", imageSize: "imageSize", maxResultsPerQuery: "maxResultsPerQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1877
|
-
};
|
|
1878
|
-
AtomicSearchBoxInstantResults = __decorate([
|
|
1879
|
-
ProxyCmp({
|
|
1880
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1881
|
-
methods: ['setRenderFunction'],
|
|
1882
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxInstantResults
|
|
1883
|
-
})
|
|
1884
|
-
], AtomicSearchBoxInstantResults);
|
|
1885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
1886
|
-
type: Component,
|
|
1887
|
-
args: [{ standalone: false,
|
|
1888
|
-
selector: 'atomic-search-box-instant-results',
|
|
1889
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1890
|
-
template: '<ng-content></ng-content>',
|
|
1891
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1892
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1893
|
-
}]
|
|
1894
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1895
1867
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
1896
1868
|
z;
|
|
1897
1869
|
el;
|
|
@@ -3871,6 +3843,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3871
3843
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3872
3844
|
}]
|
|
3873
3845
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3846
|
+
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
3847
|
+
z;
|
|
3848
|
+
el;
|
|
3849
|
+
constructor(c, el, z) {
|
|
3850
|
+
this.z = z;
|
|
3851
|
+
c.detach();
|
|
3852
|
+
this.el = el.nativeElement;
|
|
3853
|
+
}
|
|
3854
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3855
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxInstantResults, isStandalone: false, selector: "atomic-search-box-instant-results", inputs: { maxResultsPerQuery: "maxResultsPerQuery", density: "density", imageSize: "imageSize", ariaLabelGenerator: "ariaLabelGenerator" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3856
|
+
};
|
|
3857
|
+
AtomicSearchBoxInstantResults = __decorate([
|
|
3858
|
+
ProxyCmp({
|
|
3859
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator'],
|
|
3860
|
+
methods: ['setRenderFunction', 'initialize'],
|
|
3861
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-instant-results') || customElements.define('atomic-search-box-instant-results', AtomicSearchBoxInstantResults$1); }
|
|
3862
|
+
})
|
|
3863
|
+
], AtomicSearchBoxInstantResults);
|
|
3864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
3865
|
+
type: Component,
|
|
3866
|
+
args: [{
|
|
3867
|
+
selector: 'atomic-search-box-instant-results',
|
|
3868
|
+
standalone: false,
|
|
3869
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3870
|
+
template: '<ng-content></ng-content>',
|
|
3871
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3872
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator']
|
|
3873
|
+
}]
|
|
3874
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3874
3875
|
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
3875
3876
|
z;
|
|
3876
3877
|
el;
|
|
@@ -4048,6 +4049,7 @@ const DECLARATIONS = [
|
|
|
4048
4049
|
AtomicProductText,
|
|
4049
4050
|
AtomicQuerySummary,
|
|
4050
4051
|
AtomicResultsPerPage,
|
|
4052
|
+
AtomicSearchBoxInstantResults,
|
|
4051
4053
|
AtomicSearchBoxQuerySuggestions,
|
|
4052
4054
|
AtomicSearchBoxRecentQueries,
|
|
4053
4055
|
AtomicSearchInterface,
|
|
@@ -4119,7 +4121,6 @@ const DECLARATIONS = [
|
|
|
4119
4121
|
AtomicResultText,
|
|
4120
4122
|
AtomicResultTimespan,
|
|
4121
4123
|
AtomicSearchBox,
|
|
4122
|
-
AtomicSearchBoxInstantResults,
|
|
4123
4124
|
AtomicSegmentedFacet,
|
|
4124
4125
|
AtomicSegmentedFacetScrollable,
|
|
4125
4126
|
AtomicSmartSnippet,
|
|
@@ -4221,6 +4222,7 @@ class AtomicAngularModule {
|
|
|
4221
4222
|
AtomicProductText,
|
|
4222
4223
|
AtomicQuerySummary,
|
|
4223
4224
|
AtomicResultsPerPage,
|
|
4225
|
+
AtomicSearchBoxInstantResults,
|
|
4224
4226
|
AtomicSearchBoxQuerySuggestions,
|
|
4225
4227
|
AtomicSearchBoxRecentQueries,
|
|
4226
4228
|
AtomicSearchInterface,
|
|
@@ -4292,7 +4294,6 @@ class AtomicAngularModule {
|
|
|
4292
4294
|
AtomicResultText,
|
|
4293
4295
|
AtomicResultTimespan,
|
|
4294
4296
|
AtomicSearchBox,
|
|
4295
|
-
AtomicSearchBoxInstantResults,
|
|
4296
4297
|
AtomicSegmentedFacet,
|
|
4297
4298
|
AtomicSegmentedFacetScrollable,
|
|
4298
4299
|
AtomicSmartSnippet,
|
|
@@ -4361,6 +4362,7 @@ class AtomicAngularModule {
|
|
|
4361
4362
|
AtomicProductText,
|
|
4362
4363
|
AtomicQuerySummary,
|
|
4363
4364
|
AtomicResultsPerPage,
|
|
4365
|
+
AtomicSearchBoxInstantResults,
|
|
4364
4366
|
AtomicSearchBoxQuerySuggestions,
|
|
4365
4367
|
AtomicSearchBoxRecentQueries,
|
|
4366
4368
|
AtomicSearchInterface,
|
|
@@ -4432,7 +4434,6 @@ class AtomicAngularModule {
|
|
|
4432
4434
|
AtomicResultText,
|
|
4433
4435
|
AtomicResultTimespan,
|
|
4434
4436
|
AtomicSearchBox,
|
|
4435
|
-
AtomicSearchBoxInstantResults,
|
|
4436
4437
|
AtomicSegmentedFacet,
|
|
4437
4438
|
AtomicSegmentedFacetScrollable,
|
|
4438
4439
|
AtomicSmartSnippet,
|