@coveo/atomic-angular 3.7.9-pre.eac38e190d → 3.7.9-pre.f222963b65
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, defineCustomElementAtomicPager, 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, defineCustomElementAtomicPager, 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, 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 */
|
|
@@ -1948,34 +1948,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1948
1948
|
inputs: ['clearFilters', 'disableSearch', 'enableQuerySyntax', 'minimumQueryLength', 'numberOfQueries', 'redirectionUrl', 'suggestionDelay', 'suggestionTimeout'],
|
|
1949
1949
|
}]
|
|
1950
1950
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1951
|
-
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
1952
|
-
z;
|
|
1953
|
-
el;
|
|
1954
|
-
constructor(c, r, z) {
|
|
1955
|
-
this.z = z;
|
|
1956
|
-
c.detach();
|
|
1957
|
-
this.el = r.nativeElement;
|
|
1958
|
-
}
|
|
1959
|
-
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 });
|
|
1960
|
-
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 });
|
|
1961
|
-
};
|
|
1962
|
-
AtomicSearchBoxInstantResults = __decorate([
|
|
1963
|
-
ProxyCmp({
|
|
1964
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1965
|
-
methods: ['setRenderFunction'],
|
|
1966
|
-
defineCustomElementFn: defineCustomElementAtomicSearchBoxInstantResults
|
|
1967
|
-
})
|
|
1968
|
-
], AtomicSearchBoxInstantResults);
|
|
1969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
1970
|
-
type: Component,
|
|
1971
|
-
args: [{ standalone: false,
|
|
1972
|
-
selector: 'atomic-search-box-instant-results',
|
|
1973
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1974
|
-
template: '<ng-content></ng-content>',
|
|
1975
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1976
|
-
inputs: ['ariaLabelGenerator', 'density', 'imageSize', 'maxResultsPerQuery'],
|
|
1977
|
-
}]
|
|
1978
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1979
1951
|
let AtomicSearchBoxQuerySuggestions = class AtomicSearchBoxQuerySuggestions {
|
|
1980
1952
|
z;
|
|
1981
1953
|
el;
|
|
@@ -3950,6 +3922,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3950
3922
|
inputs: ['choicesDisplayed', 'initialChoice']
|
|
3951
3923
|
}]
|
|
3952
3924
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3925
|
+
let AtomicSearchBoxInstantResults = class AtomicSearchBoxInstantResults {
|
|
3926
|
+
z;
|
|
3927
|
+
el;
|
|
3928
|
+
constructor(c, el, z) {
|
|
3929
|
+
this.z = z;
|
|
3930
|
+
c.detach();
|
|
3931
|
+
this.el = el.nativeElement;
|
|
3932
|
+
}
|
|
3933
|
+
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 });
|
|
3934
|
+
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 });
|
|
3935
|
+
};
|
|
3936
|
+
AtomicSearchBoxInstantResults = __decorate([
|
|
3937
|
+
ProxyCmp({
|
|
3938
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator'],
|
|
3939
|
+
methods: ['setRenderFunction', 'initialize'],
|
|
3940
|
+
defineCustomElementFn: () => { customElements.get('atomic-search-box-instant-results') || customElements.define('atomic-search-box-instant-results', AtomicSearchBoxInstantResults$1); }
|
|
3941
|
+
})
|
|
3942
|
+
], AtomicSearchBoxInstantResults);
|
|
3943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicSearchBoxInstantResults, decorators: [{
|
|
3944
|
+
type: Component,
|
|
3945
|
+
args: [{
|
|
3946
|
+
selector: 'atomic-search-box-instant-results',
|
|
3947
|
+
standalone: false,
|
|
3948
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3949
|
+
template: '<ng-content></ng-content>',
|
|
3950
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3951
|
+
inputs: ['maxResultsPerQuery', 'density', 'imageSize', 'ariaLabelGenerator']
|
|
3952
|
+
}]
|
|
3953
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3953
3954
|
let AtomicSearchInterface = class AtomicSearchInterface {
|
|
3954
3955
|
z;
|
|
3955
3956
|
el;
|
|
@@ -4067,6 +4068,7 @@ const DECLARATIONS = [
|
|
|
4067
4068
|
AtomicProductText,
|
|
4068
4069
|
AtomicQuerySummary,
|
|
4069
4070
|
AtomicResultsPerPage,
|
|
4071
|
+
AtomicSearchBoxInstantResults,
|
|
4070
4072
|
AtomicSearchInterface,
|
|
4071
4073
|
AtomicSearchLayout,
|
|
4072
4074
|
AtomicAutomaticFacet,
|
|
@@ -4139,7 +4141,6 @@ const DECLARATIONS = [
|
|
|
4139
4141
|
AtomicResultText,
|
|
4140
4142
|
AtomicResultTimespan,
|
|
4141
4143
|
AtomicSearchBox,
|
|
4142
|
-
AtomicSearchBoxInstantResults,
|
|
4143
4144
|
AtomicSearchBoxQuerySuggestions,
|
|
4144
4145
|
AtomicSearchBoxRecentQueries,
|
|
4145
4146
|
AtomicSegmentedFacet,
|
|
@@ -4241,6 +4242,7 @@ class AtomicAngularModule {
|
|
|
4241
4242
|
AtomicProductText,
|
|
4242
4243
|
AtomicQuerySummary,
|
|
4243
4244
|
AtomicResultsPerPage,
|
|
4245
|
+
AtomicSearchBoxInstantResults,
|
|
4244
4246
|
AtomicSearchInterface,
|
|
4245
4247
|
AtomicSearchLayout,
|
|
4246
4248
|
AtomicAutomaticFacet,
|
|
@@ -4313,7 +4315,6 @@ class AtomicAngularModule {
|
|
|
4313
4315
|
AtomicResultText,
|
|
4314
4316
|
AtomicResultTimespan,
|
|
4315
4317
|
AtomicSearchBox,
|
|
4316
|
-
AtomicSearchBoxInstantResults,
|
|
4317
4318
|
AtomicSearchBoxQuerySuggestions,
|
|
4318
4319
|
AtomicSearchBoxRecentQueries,
|
|
4319
4320
|
AtomicSegmentedFacet,
|
|
@@ -4382,6 +4383,7 @@ class AtomicAngularModule {
|
|
|
4382
4383
|
AtomicProductText,
|
|
4383
4384
|
AtomicQuerySummary,
|
|
4384
4385
|
AtomicResultsPerPage,
|
|
4386
|
+
AtomicSearchBoxInstantResults,
|
|
4385
4387
|
AtomicSearchInterface,
|
|
4386
4388
|
AtomicSearchLayout,
|
|
4387
4389
|
AtomicAutomaticFacet,
|
|
@@ -4454,7 +4456,6 @@ class AtomicAngularModule {
|
|
|
4454
4456
|
AtomicResultText,
|
|
4455
4457
|
AtomicResultTimespan,
|
|
4456
4458
|
AtomicSearchBox,
|
|
4457
|
-
AtomicSearchBoxInstantResults,
|
|
4458
4459
|
AtomicSearchBoxQuerySuggestions,
|
|
4459
4460
|
AtomicSearchBoxRecentQueries,
|
|
4460
4461
|
AtomicSegmentedFacet,
|