@coveo/atomic-angular 3.7.9-pre.0f5aed88a0 → 3.7.9-pre.17f1048110
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, 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,
|
|
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, 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, AtomicSearchBoxInstantResults as AtomicSearchBoxInstantResults$1, AtomicSearchInterface as AtomicSearchInterface$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
/* tslint:disable */
|
|
@@ -1920,34 +1920,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1920
1920
|
inputs: ['clearFilters', 'disableSearch', 'enableQuerySyntax', 'minimumQueryLength', 'numberOfQueries', 'redirectionUrl', 'suggestionDelay', 'suggestionTimeout'],
|
|
1921
1921
|
}]
|
|
1922
1922
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1923
|
-
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
1924
|
-
z;
|
|
1925
|
-
el;
|
|
1926
|
-
constructor(c, r, z) {
|
|
1927
|
-
this.z = z;
|
|
1928
|
-
c.detach();
|
|
1929
|
-
this.el = r.nativeElement;
|
|
1930
|
-
}
|
|
1931
|
-
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 });
|
|
1932
|
-
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 });
|
|
1933
|
-
};
|
|
1934
|
-
AtomicSearchBoxInstantResults = __decorate([
|
|
1935
|
-
ProxyCmp({
|
|
1936
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1937
|
-
methods: ['setRenderFunction'],
|
|
1938
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxInstantResults
|
|
1939
|
-
})
|
|
1940
|
-
], AtomicSearchBoxInstantResults);
|
|
1941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
1942
|
-
type: Component,
|
|
1943
|
-
args: [{ standalone: false,
|
|
1944
|
-
selector: 'atomic-search-box-instant-results',
|
|
1945
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1946
|
-
template: '<ng-content></ng-content>',
|
|
1947
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1948
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1949
|
-
}]
|
|
1950
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1951
1923
|
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
1952
1924
|
z;
|
|
1953
1925
|
el;
|
|
@@ -3952,6 +3924,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3952
3924
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3953
3925
|
}]
|
|
3954
3926
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3927
|
+
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
3928
|
+
z;
|
|
3929
|
+
el;
|
|
3930
|
+
constructor(c, el, z) {
|
|
3931
|
+
this.z = z;
|
|
3932
|
+
c.detach();
|
|
3933
|
+
this.el = el.nativeElement;
|
|
3934
|
+
}
|
|
3935
|
+
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 });
|
|
3936
|
+
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 });
|
|
3937
|
+
};
|
|
3938
|
+
AtomicSearchBoxInstantResults = __decorate([
|
|
3939
|
+
ProxyCmp({
|
|
3940
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator'],
|
|
3941
|
+
methods: ['setRenderFunction', 'initialize'],
|
|
3942
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-instant-results') || customElements.define('atomic-search-box-instant-results', AtomicSearchBoxInstantResults$1); }
|
|
3943
|
+
})
|
|
3944
|
+
], AtomicSearchBoxInstantResults);
|
|
3945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
3946
|
+
type: Component,
|
|
3947
|
+
args: [{
|
|
3948
|
+
selector: 'atomic-search-box-instant-results',
|
|
3949
|
+
standalone: false,
|
|
3950
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3951
|
+
template: '<ng-content></ng-content>',
|
|
3952
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3953
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator']
|
|
3954
|
+
}]
|
|
3955
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3955
3956
|
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3956
3957
|
z;
|
|
3957
3958
|
el;
|
|
@@ -4070,6 +4071,7 @@ const DECLARATIONS = [
|
|
|
4070
4071
|
AtomicProductText,
|
|
4071
4072
|
AtomicQuerySummary,
|
|
4072
4073
|
AtomicResultsPerPage,
|
|
4074
|
+
AtomicSearchBoxInstantResults,
|
|
4073
4075
|
AtomicSearchInterface,
|
|
4074
4076
|
AtomicSearchLayout,
|
|
4075
4077
|
AtomicAutomaticFacet,
|
|
@@ -4141,7 +4143,6 @@ const DECLARATIONS = [
|
|
|
4141
4143
|
AtomicResultText,
|
|
4142
4144
|
AtomicResultTimespan,
|
|
4143
4145
|
AtomicSearchBox,
|
|
4144
|
-
AtomicSearchBoxInstantResults,
|
|
4145
4146
|
AtomicSearchBoxQuerySuggestions,
|
|
4146
4147
|
AtomicSearchBoxRecentQueries,
|
|
4147
4148
|
AtomicSegmentedFacet,
|
|
@@ -4244,6 +4245,7 @@ class AtomicAngularModule {
|
|
|
4244
4245
|
AtomicProductText,
|
|
4245
4246
|
AtomicQuerySummary,
|
|
4246
4247
|
AtomicResultsPerPage,
|
|
4248
|
+
AtomicSearchBoxInstantResults,
|
|
4247
4249
|
AtomicSearchInterface,
|
|
4248
4250
|
AtomicSearchLayout,
|
|
4249
4251
|
AtomicAutomaticFacet,
|
|
@@ -4315,7 +4317,6 @@ class AtomicAngularModule {
|
|
|
4315
4317
|
AtomicResultText,
|
|
4316
4318
|
AtomicResultTimespan,
|
|
4317
4319
|
AtomicSearchBox,
|
|
4318
|
-
AtomicSearchBoxInstantResults,
|
|
4319
4320
|
AtomicSearchBoxQuerySuggestions,
|
|
4320
4321
|
AtomicSearchBoxRecentQueries,
|
|
4321
4322
|
AtomicSegmentedFacet,
|
|
@@ -4385,6 +4386,7 @@ class AtomicAngularModule {
|
|
|
4385
4386
|
AtomicProductText,
|
|
4386
4387
|
AtomicQuerySummary,
|
|
4387
4388
|
AtomicResultsPerPage,
|
|
4389
|
+
AtomicSearchBoxInstantResults,
|
|
4388
4390
|
AtomicSearchInterface,
|
|
4389
4391
|
AtomicSearchLayout,
|
|
4390
4392
|
AtomicAutomaticFacet,
|
|
@@ -4456,7 +4458,6 @@ class AtomicAngularModule {
|
|
|
4456
4458
|
AtomicResultText,
|
|
4457
4459
|
AtomicResultTimespan,
|
|
4458
4460
|
AtomicSearchBox,
|
|
4459
|
-
AtomicSearchBoxInstantResults,
|
|
4460
4461
|
AtomicSearchBoxQuerySuggestions,
|
|
4461
4462
|
AtomicSearchBoxRecentQueries,
|
|
4462
4463
|
AtomicSegmentedFacet,
|