@coveo/atomic-angular 3.7.10-pre.bc0eb65a59 → 3.7.10-pre.c5c77d8c36
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, defineCustomElementAtomicSearchBoxInstantResults, 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, 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,7 +1864,7 @@ 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
|
|
1867
|
+
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
1868
1868
|
z;
|
|
1869
1869
|
el;
|
|
1870
1870
|
constructor(c, r, z) {
|
|
@@ -1872,23 +1872,24 @@ let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
|
1872
1872
|
c.detach();
|
|
1873
1873
|
this.el = r.nativeElement;
|
|
1874
1874
|
}
|
|
1875
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1876
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
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
1877
|
};
|
|
1878
|
-
|
|
1878
|
+
AtomicSearchBoxInstantResults = __decorate([
|
|
1879
1879
|
ProxyCmp({
|
|
1880
|
-
inputs: ['
|
|
1881
|
-
|
|
1880
|
+
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1881
|
+
methods: ['setRenderFunction'],
|
|
1882
|
+
defineCustomElementFn: defineCustomElementAtomicSearchBoxInstantResults
|
|
1882
1883
|
})
|
|
1883
|
-
],
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
1884
|
+
], AtomicSearchBoxInstantResults);
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
1885
1886
|
type: Component,
|
|
1886
1887
|
args: [{ standalone: false,
|
|
1887
|
-
selector: 'atomic-search-box-
|
|
1888
|
+
selector: 'atomic-search-box-instant-results',
|
|
1888
1889
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1889
1890
|
template: '<ng-content></ng-content>',
|
|
1890
1891
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1891
|
-
inputs: ['
|
|
1892
|
+
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1892
1893
|
}]
|
|
1893
1894
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1894
1895
|
let AtomicSegmentedFacet = class AtomicSegmentedFacet {
|
|
@@ -3870,7 +3871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3870
3871
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3871
3872
|
}]
|
|
3872
3873
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3873
|
-
let
|
|
3874
|
+
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
3874
3875
|
z;
|
|
3875
3876
|
el;
|
|
3876
3877
|
constructor(c, el, z) {
|
|
@@ -3878,25 +3879,25 @@ let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
|
3878
3879
|
c.detach();
|
|
3879
3880
|
this.el = el.nativeElement;
|
|
3880
3881
|
}
|
|
3881
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3882
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type:
|
|
3882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3883
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicSearchBoxQuerySuggestions, isStandalone: false, selector: "atomic-search-box-query-suggestions", inputs: { icon: "icon", maxWithQuery: "maxWithQuery", maxWithoutQuery: "maxWithoutQuery" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3883
3884
|
};
|
|
3884
|
-
|
|
3885
|
+
AtomicSearchBoxQuerySuggestions = __decorate([
|
|
3885
3886
|
ProxyCmp({
|
|
3886
|
-
inputs: ['
|
|
3887
|
-
methods: ['
|
|
3888
|
-
defineCustomElementFn: () => { customElements.get('atomic-search-box-
|
|
3887
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery'],
|
|
3888
|
+
methods: ['initialize'],
|
|
3889
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-query-suggestions') || customElements.define('atomic-search-box-query-suggestions', AtomicSearchBoxQuerySuggestions$1); }
|
|
3889
3890
|
})
|
|
3890
|
-
],
|
|
3891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type:
|
|
3891
|
+
], AtomicSearchBoxQuerySuggestions);
|
|
3892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxQuerySuggestions, decorators: [{
|
|
3892
3893
|
type: Component,
|
|
3893
3894
|
args: [{
|
|
3894
|
-
selector: 'atomic-search-box-
|
|
3895
|
+
selector: 'atomic-search-box-query-suggestions',
|
|
3895
3896
|
standalone: false,
|
|
3896
3897
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3897
3898
|
template: '<ng-content></ng-content>',
|
|
3898
3899
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3899
|
-
inputs: ['
|
|
3900
|
+
inputs: ['icon', 'maxWithQuery', 'maxWithoutQuery']
|
|
3900
3901
|
}]
|
|
3901
3902
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3902
3903
|
let AtomicSearchBoxRecentQueries = class AtomicSearchBoxRecentQueries {
|
|
@@ -4047,7 +4048,7 @@ const DECLARATIONS = [
|
|
|
4047
4048
|
AtomicProductText,
|
|
4048
4049
|
AtomicQuerySummary,
|
|
4049
4050
|
AtomicResultsPerPage,
|
|
4050
|
-
|
|
4051
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4051
4052
|
AtomicSearchBoxRecentQueries,
|
|
4052
4053
|
AtomicSearchInterface,
|
|
4053
4054
|
AtomicSearchLayout,
|
|
@@ -4118,7 +4119,7 @@ const DECLARATIONS = [
|
|
|
4118
4119
|
AtomicResultText,
|
|
4119
4120
|
AtomicResultTimespan,
|
|
4120
4121
|
AtomicSearchBox,
|
|
4121
|
-
|
|
4122
|
+
AtomicSearchBoxInstantResults,
|
|
4122
4123
|
AtomicSegmentedFacet,
|
|
4123
4124
|
AtomicSegmentedFacetScrollable,
|
|
4124
4125
|
AtomicSmartSnippet,
|
|
@@ -4220,7 +4221,7 @@ class AtomicAngularModule {
|
|
|
4220
4221
|
AtomicProductText,
|
|
4221
4222
|
AtomicQuerySummary,
|
|
4222
4223
|
AtomicResultsPerPage,
|
|
4223
|
-
|
|
4224
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4224
4225
|
AtomicSearchBoxRecentQueries,
|
|
4225
4226
|
AtomicSearchInterface,
|
|
4226
4227
|
AtomicSearchLayout,
|
|
@@ -4291,7 +4292,7 @@ class AtomicAngularModule {
|
|
|
4291
4292
|
AtomicResultText,
|
|
4292
4293
|
AtomicResultTimespan,
|
|
4293
4294
|
AtomicSearchBox,
|
|
4294
|
-
|
|
4295
|
+
AtomicSearchBoxInstantResults,
|
|
4295
4296
|
AtomicSegmentedFacet,
|
|
4296
4297
|
AtomicSegmentedFacetScrollable,
|
|
4297
4298
|
AtomicSmartSnippet,
|
|
@@ -4360,7 +4361,7 @@ class AtomicAngularModule {
|
|
|
4360
4361
|
AtomicProductText,
|
|
4361
4362
|
AtomicQuerySummary,
|
|
4362
4363
|
AtomicResultsPerPage,
|
|
4363
|
-
|
|
4364
|
+
AtomicSearchBoxQuerySuggestions,
|
|
4364
4365
|
AtomicSearchBoxRecentQueries,
|
|
4365
4366
|
AtomicSearchInterface,
|
|
4366
4367
|
AtomicSearchLayout,
|
|
@@ -4431,7 +4432,7 @@ class AtomicAngularModule {
|
|
|
4431
4432
|
AtomicResultText,
|
|
4432
4433
|
AtomicResultTimespan,
|
|
4433
4434
|
AtomicSearchBox,
|
|
4434
|
-
|
|
4435
|
+
AtomicSearchBoxInstantResults,
|
|
4435
4436
|
AtomicSegmentedFacet,
|
|
4436
4437
|
AtomicSegmentedFacetScrollable,
|
|
4437
4438
|
AtomicSmartSnippet,
|