@coveo/atomic-angular 3.7.7-pre.98b9e67dd8 → 3.7.7-pre.9953d2e5c7
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.
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { ChangeDetectionStrategy, Component, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
|
-
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency,
|
|
7
|
+
import { defineCustomElementAtomicAutomaticFacet, defineCustomElementAtomicAutomaticFacetGenerator, defineCustomElementAtomicBreadbox, defineCustomElementAtomicCategoryFacet, defineCustomElementAtomicCitation, defineCustomElementAtomicColorFacet, defineCustomElementAtomicDidYouMean, defineCustomElementAtomicExternal, defineCustomElementAtomicFacet, defineCustomElementAtomicFacetManager, defineCustomElementAtomicFieldCondition, defineCustomElementAtomicFoldedResultList, defineCustomElementAtomicFormatCurrency, defineCustomElementAtomicFormatUnit, defineCustomElementAtomicGeneratedAnswer, defineCustomElementAtomicGeneratedAnswerFeedbackModal, defineCustomElementAtomicHtml, defineCustomElementAtomicInsightInterface, defineCustomElementAtomicInsightUserActionsTimeline, defineCustomElementAtomicInsightUserActionsToggle, defineCustomElementAtomicLoadMoreResults, defineCustomElementAtomicNoResults, defineCustomElementAtomicNotifications, defineCustomElementAtomicNumericFacet, defineCustomElementAtomicNumericRange, defineCustomElementAtomicPager, defineCustomElementAtomicPopover, 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, defineCustomElementAtomicSearchBox, defineCustomElementAtomicSearchBoxInstantResults, defineCustomElementAtomicSearchBoxQuerySuggestions, defineCustomElementAtomicSearchBoxRecentQueries, defineCustomElementAtomicSearchInterface, 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, AtomicFormatNumber as AtomicFormatNumber$1, AtomicResultsPerPage as AtomicResultsPerPage$1, AtomicSearchLayout as AtomicSearchLayout$1 } from '@coveo/atomic/components';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/* tslint:disable */
|
|
@@ -414,33 +414,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
414
414
|
inputs: ['currency'],
|
|
415
415
|
}]
|
|
416
416
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
417
|
-
let AtomicFormatNumber = class AtomicFormatNumber {
|
|
418
|
-
z;
|
|
419
|
-
el;
|
|
420
|
-
constructor(c, r, z) {
|
|
421
|
-
this.z = z;
|
|
422
|
-
c.detach();
|
|
423
|
-
this.el = r.nativeElement;
|
|
424
|
-
}
|
|
425
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFormatNumber, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
426
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicFormatNumber, isStandalone: false, selector: "atomic-format-number", inputs: { maximumFractionDigits: "maximumFractionDigits", maximumSignificantDigits: "maximumSignificantDigits", minimumFractionDigits: "minimumFractionDigits", minimumIntegerDigits: "minimumIntegerDigits", minimumSignificantDigits: "minimumSignificantDigits" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
427
|
-
};
|
|
428
|
-
AtomicFormatNumber = __decorate([
|
|
429
|
-
ProxyCmp({
|
|
430
|
-
inputs: ['maximumFractionDigits', 'maximumSignificantDigits', 'minimumFractionDigits', 'minimumIntegerDigits', 'minimumSignificantDigits'],
|
|
431
|
-
defineCustomElementFn: defineCustomElementAtomicFormatNumber
|
|
432
|
-
})
|
|
433
|
-
], AtomicFormatNumber);
|
|
434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFormatNumber, decorators: [{
|
|
435
|
-
type: Component,
|
|
436
|
-
args: [{ standalone: false,
|
|
437
|
-
selector: 'atomic-format-number',
|
|
438
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
439
|
-
template: '<ng-content></ng-content>',
|
|
440
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
441
|
-
inputs: ['maximumFractionDigits', 'maximumSignificantDigits', 'minimumFractionDigits', 'minimumIntegerDigits', 'minimumSignificantDigits'],
|
|
442
|
-
}]
|
|
443
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
444
417
|
let AtomicFormatUnit = class AtomicFormatUnit {
|
|
445
418
|
z;
|
|
446
419
|
el;
|
|
@@ -3918,6 +3891,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
3918
3891
|
inputs: ['section', 'minWidth', 'maxWidth']
|
|
3919
3892
|
}]
|
|
3920
3893
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3894
|
+
let AtomicFormatNumber = class AtomicFormatNumber {
|
|
3895
|
+
z;
|
|
3896
|
+
el;
|
|
3897
|
+
constructor(c, el, z) {
|
|
3898
|
+
this.z = z;
|
|
3899
|
+
c.detach();
|
|
3900
|
+
this.el = el.nativeElement;
|
|
3901
|
+
}
|
|
3902
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFormatNumber, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3903
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.2", type: AtomicFormatNumber, isStandalone: false, selector: "atomic-format-number", inputs: { minimumIntegerDigits: "minimumIntegerDigits", minimumFractionDigits: "minimumFractionDigits", maximumFractionDigits: "maximumFractionDigits", minimumSignificantDigits: "minimumSignificantDigits", maximumSignificantDigits: "maximumSignificantDigits" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3904
|
+
};
|
|
3905
|
+
AtomicFormatNumber = __decorate([
|
|
3906
|
+
ProxyCmp({
|
|
3907
|
+
inputs: ['minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits'],
|
|
3908
|
+
methods: [],
|
|
3909
|
+
defineCustomElementFn: () => { customElements.get('atomic-format-number') || customElements.define('atomic-format-number', AtomicFormatNumber$1); }
|
|
3910
|
+
})
|
|
3911
|
+
], AtomicFormatNumber);
|
|
3912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: AtomicFormatNumber, decorators: [{
|
|
3913
|
+
type: Component,
|
|
3914
|
+
args: [{
|
|
3915
|
+
selector: 'atomic-format-number',
|
|
3916
|
+
standalone: false,
|
|
3917
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3918
|
+
template: '<ng-content></ng-content>',
|
|
3919
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3920
|
+
inputs: ['minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits']
|
|
3921
|
+
}]
|
|
3922
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3921
3923
|
let AtomicResultsPerPage = class AtomicResultsPerPage {
|
|
3922
3924
|
z;
|
|
3923
3925
|
el;
|
|
@@ -4009,6 +4011,7 @@ const DECLARATIONS = [
|
|
|
4009
4011
|
AtomicCommerceText,
|
|
4010
4012
|
AtomicCommerceTimeframeFacet,
|
|
4011
4013
|
AtomicComponentError,
|
|
4014
|
+
AtomicFormatNumber,
|
|
4012
4015
|
AtomicIcon,
|
|
4013
4016
|
AtomicLayoutSection,
|
|
4014
4017
|
AtomicProduct,
|
|
@@ -4048,7 +4051,6 @@ const DECLARATIONS = [
|
|
|
4048
4051
|
AtomicFieldCondition,
|
|
4049
4052
|
AtomicFoldedResultList,
|
|
4050
4053
|
AtomicFormatCurrency,
|
|
4051
|
-
AtomicFormatNumber,
|
|
4052
4054
|
AtomicFormatUnit,
|
|
4053
4055
|
AtomicGeneratedAnswer,
|
|
4054
4056
|
AtomicGeneratedAnswerFeedbackModal,
|
|
@@ -4183,6 +4185,7 @@ class AtomicAngularModule {
|
|
|
4183
4185
|
AtomicCommerceText,
|
|
4184
4186
|
AtomicCommerceTimeframeFacet,
|
|
4185
4187
|
AtomicComponentError,
|
|
4188
|
+
AtomicFormatNumber,
|
|
4186
4189
|
AtomicIcon,
|
|
4187
4190
|
AtomicLayoutSection,
|
|
4188
4191
|
AtomicProduct,
|
|
@@ -4222,7 +4225,6 @@ class AtomicAngularModule {
|
|
|
4222
4225
|
AtomicFieldCondition,
|
|
4223
4226
|
AtomicFoldedResultList,
|
|
4224
4227
|
AtomicFormatCurrency,
|
|
4225
|
-
AtomicFormatNumber,
|
|
4226
4228
|
AtomicFormatUnit,
|
|
4227
4229
|
AtomicGeneratedAnswer,
|
|
4228
4230
|
AtomicGeneratedAnswerFeedbackModal,
|
|
@@ -4324,6 +4326,7 @@ class AtomicAngularModule {
|
|
|
4324
4326
|
AtomicCommerceText,
|
|
4325
4327
|
AtomicCommerceTimeframeFacet,
|
|
4326
4328
|
AtomicComponentError,
|
|
4329
|
+
AtomicFormatNumber,
|
|
4327
4330
|
AtomicIcon,
|
|
4328
4331
|
AtomicLayoutSection,
|
|
4329
4332
|
AtomicProduct,
|
|
@@ -4363,7 +4366,6 @@ class AtomicAngularModule {
|
|
|
4363
4366
|
AtomicFieldCondition,
|
|
4364
4367
|
AtomicFoldedResultList,
|
|
4365
4368
|
AtomicFormatCurrency,
|
|
4366
|
-
AtomicFormatNumber,
|
|
4367
4369
|
AtomicFormatUnit,
|
|
4368
4370
|
AtomicGeneratedAnswer,
|
|
4369
4371
|
AtomicGeneratedAnswerFeedbackModal,
|