@infrab4a/connect-angular 5.5.0-alpha.1 → 5.5.0-alpha.2
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.
- package/fesm2022/infrab4a-connect-angular.mjs +286 -246
- package/fesm2022/infrab4a-connect-angular.mjs.map +1 -1
- package/index.d.ts +755 -6
- package/package.json +5 -7
- package/angular-connect.module.d.ts +0 -33
- package/angular-elastic-search.module.d.ts +0 -9
- package/angular-firebase-auth.module.d.ts +0 -10
- package/angular-firestore.module.d.ts +0 -16
- package/angular-hasura-graphql.module.d.ts +0 -14
- package/angular-vertex-search.module.d.ts +0 -9
- package/consts/backend-url.const.d.ts +0 -1
- package/consts/category-structure.d.ts +0 -1
- package/consts/default-shop.const.d.ts +0 -1
- package/consts/es-config.const.d.ts +0 -1
- package/consts/firebase-const.d.ts +0 -4
- package/consts/hasura-options.const.d.ts +0 -1
- package/consts/index.d.ts +0 -8
- package/consts/persistence.const.d.ts +0 -1
- package/consts/storage-base-url.const.d.ts +0 -1
- package/consts/vertex-config.const.d.ts +0 -1
- package/esm2022/angular-connect.module.mjs +0 -288
- package/esm2022/angular-elastic-search.module.mjs +0 -34
- package/esm2022/angular-firebase-auth.module.mjs +0 -140
- package/esm2022/angular-firestore.module.mjs +0 -538
- package/esm2022/angular-hasura-graphql.module.mjs +0 -333
- package/esm2022/angular-vertex-search.module.mjs +0 -34
- package/esm2022/consts/backend-url.const.mjs +0 -2
- package/esm2022/consts/category-structure.mjs +0 -2
- package/esm2022/consts/default-shop.const.mjs +0 -2
- package/esm2022/consts/es-config.const.mjs +0 -2
- package/esm2022/consts/firebase-const.mjs +0 -5
- package/esm2022/consts/hasura-options.const.mjs +0 -2
- package/esm2022/consts/index.mjs +0 -9
- package/esm2022/consts/persistence.const.mjs +0 -2
- package/esm2022/consts/storage-base-url.const.mjs +0 -2
- package/esm2022/consts/vertex-config.const.mjs +0 -2
- package/esm2022/helpers/index.mjs +0 -2
- package/esm2022/helpers/mobile-operation-system-checker.helper.mjs +0 -7
- package/esm2022/index.mjs +0 -7
- package/esm2022/infrab4a-connect-angular.mjs +0 -5
- package/esm2022/interfaces/catalog-strategies.interface.mjs +0 -2
- package/esm2022/interfaces/category-facades.interface.mjs +0 -2
- package/esm2022/interfaces/index.mjs +0 -3
- package/esm2022/persistence/cookie-data-persistence.mjs +0 -22
- package/esm2022/persistence/data-persistence.mjs +0 -2
- package/esm2022/persistence/index.mjs +0 -3
- package/esm2022/services/auth.service.mjs +0 -37
- package/esm2022/services/cart/cart-services.facade.mjs +0 -21
- package/esm2022/services/cart/index.mjs +0 -2
- package/esm2022/services/cart.service.mjs +0 -73
- package/esm2022/services/catalog/adapters/category-structure.adapter.mjs +0 -2
- package/esm2022/services/catalog/adapters/index.mjs +0 -4
- package/esm2022/services/catalog/adapters/new-category-structure.adapter.mjs +0 -43
- package/esm2022/services/catalog/adapters/old-category-structure.adapter.mjs +0 -23
- package/esm2022/services/catalog/catalog.service.mjs +0 -111
- package/esm2022/services/catalog/category.service.mjs +0 -42
- package/esm2022/services/catalog/context/catalog-search.context.mjs +0 -40
- package/esm2022/services/catalog/enums/index.mjs +0 -2
- package/esm2022/services/catalog/enums/product-sorts.enum.mjs +0 -11
- package/esm2022/services/catalog/facades/catalog-service.facade.mjs +0 -32
- package/esm2022/services/catalog/facades/catalog-strategies.facade.mjs +0 -17
- package/esm2022/services/catalog/facades/category-repository.facade.mjs +0 -20
- package/esm2022/services/catalog/facades/category-service.facade.mjs +0 -30
- package/esm2022/services/catalog/facades/index.mjs +0 -6
- package/esm2022/services/catalog/facades/product-catalog.facade.mjs +0 -21
- package/esm2022/services/catalog/helpers/brand-manager.helper.mjs +0 -57
- package/esm2022/services/catalog/helpers/catalog-filter.helper.mjs +0 -44
- package/esm2022/services/catalog/helpers/catalog-sort.helper.mjs +0 -52
- package/esm2022/services/catalog/helpers/index.mjs +0 -5
- package/esm2022/services/catalog/helpers/product-fields.helper.mjs +0 -40
- package/esm2022/services/catalog/index.mjs +0 -8
- package/esm2022/services/catalog/models/category-with-tree.model.mjs +0 -10
- package/esm2022/services/catalog/models/index.mjs +0 -2
- package/esm2022/services/catalog/services/catalog-helpers.service.mjs +0 -33
- package/esm2022/services/catalog/services/catalog-operations.facade.mjs +0 -26
- package/esm2022/services/catalog/services/catalog-repository.service.mjs +0 -25
- package/esm2022/services/catalog/services/index.mjs +0 -5
- package/esm2022/services/catalog/services/product-management.facade.mjs +0 -25
- package/esm2022/services/catalog/strategies/category-search.strategy.mjs +0 -133
- package/esm2022/services/catalog/strategies/index.mjs +0 -4
- package/esm2022/services/catalog/strategies/profile-search.strategy.mjs +0 -42
- package/esm2022/services/catalog/strategies/term-search.strategy.mjs +0 -123
- package/esm2022/services/catalog/strategies/types/strategy-params.type.mjs +0 -2
- package/esm2022/services/catalog/types/fetch-products-options.type.mjs +0 -2
- package/esm2022/services/catalog/types/fetch-products-params.type.mjs +0 -2
- package/esm2022/services/catalog/types/fetch-products-response.type.mjs +0 -2
- package/esm2022/services/catalog/types/index.mjs +0 -6
- package/esm2022/services/catalog/types/method-params.type.mjs +0 -2
- package/esm2022/services/catalog/types/product-sort.type.mjs +0 -2
- package/esm2022/services/catalog/wishlist.service.mjs +0 -254
- package/esm2022/services/checkout/checkout-dependencies.facade.mjs +0 -20
- package/esm2022/services/checkout/checkout-repositories.facade.mjs +0 -20
- package/esm2022/services/checkout/index.mjs +0 -3
- package/esm2022/services/checkout-subscription.service.mjs +0 -55
- package/esm2022/services/checkout.service.mjs +0 -106
- package/esm2022/services/coupon/coupon-repositories.facade.mjs +0 -24
- package/esm2022/services/coupon/index.mjs +0 -2
- package/esm2022/services/coupon/types/coupon-params.type.mjs +0 -2
- package/esm2022/services/coupon.service.mjs +0 -248
- package/esm2022/services/helpers/index.mjs +0 -2
- package/esm2022/services/helpers/util.helper.mjs +0 -18
- package/esm2022/services/home-shop/home-shop-repositories.facade.mjs +0 -24
- package/esm2022/services/home-shop/index.mjs +0 -2
- package/esm2022/services/home-shop.service.mjs +0 -119
- package/esm2022/services/index.mjs +0 -11
- package/esm2022/services/order-product-review.service.mjs +0 -110
- package/esm2022/services/order.service.mjs +0 -30
- package/esm2022/services/shared/configuration.facade.mjs +0 -29
- package/esm2022/services/shared/index.mjs +0 -2
- package/esm2022/services/types/index.mjs +0 -5
- package/esm2022/services/types/pending-product-review.type.mjs +0 -2
- package/esm2022/services/types/product-review-create.type.mjs +0 -2
- package/esm2022/services/types/required-checkout-data.type.mjs +0 -2
- package/esm2022/services/types/required-checkout-subscription-data.type.mjs +0 -2
- package/esm2022/types/firebase-app-config.type.mjs +0 -2
- package/esm2022/types/index.mjs +0 -2
- package/helpers/index.d.ts +0 -1
- package/helpers/mobile-operation-system-checker.helper.d.ts +0 -3
- package/interfaces/catalog-strategies.interface.d.ts +0 -31
- package/interfaces/category-facades.interface.d.ts +0 -6
- package/interfaces/index.d.ts +0 -2
- package/persistence/cookie-data-persistence.d.ts +0 -10
- package/persistence/data-persistence.d.ts +0 -6
- package/persistence/index.d.ts +0 -2
- package/services/auth.service.d.ts +0 -18
- package/services/cart/cart-services.facade.d.ts +0 -12
- package/services/cart/index.d.ts +0 -1
- package/services/cart.service.d.ts +0 -26
- package/services/catalog/adapters/category-structure.adapter.d.ts +0 -4
- package/services/catalog/adapters/index.d.ts +0 -3
- package/services/catalog/adapters/new-category-structure.adapter.d.ts +0 -12
- package/services/catalog/adapters/old-category-structure.adapter.d.ts +0 -10
- package/services/catalog/catalog.service.d.ts +0 -24
- package/services/catalog/category.service.d.ts +0 -23
- package/services/catalog/context/catalog-search.context.d.ts +0 -14
- package/services/catalog/enums/index.d.ts +0 -1
- package/services/catalog/enums/product-sorts.enum.d.ts +0 -9
- package/services/catalog/facades/catalog-service.facade.d.ts +0 -15
- package/services/catalog/facades/catalog-strategies.facade.d.ts +0 -10
- package/services/catalog/facades/category-repository.facade.d.ts +0 -9
- package/services/catalog/facades/category-service.facade.d.ts +0 -15
- package/services/catalog/facades/index.d.ts +0 -5
- package/services/catalog/facades/product-catalog.facade.d.ts +0 -10
- package/services/catalog/helpers/brand-manager.helper.d.ts +0 -14
- package/services/catalog/helpers/catalog-filter.helper.d.ts +0 -8
- package/services/catalog/helpers/catalog-sort.helper.d.ts +0 -7
- package/services/catalog/helpers/index.d.ts +0 -4
- package/services/catalog/helpers/product-fields.helper.d.ts +0 -7
- package/services/catalog/index.d.ts +0 -7
- package/services/catalog/models/category-with-tree.model.d.ts +0 -4
- package/services/catalog/models/index.d.ts +0 -1
- package/services/catalog/services/catalog-helpers.service.d.ts +0 -17
- package/services/catalog/services/catalog-operations.facade.d.ts +0 -13
- package/services/catalog/services/catalog-repository.service.d.ts +0 -12
- package/services/catalog/services/index.d.ts +0 -4
- package/services/catalog/services/product-management.facade.d.ts +0 -12
- package/services/catalog/strategies/category-search.strategy.d.ts +0 -19
- package/services/catalog/strategies/index.d.ts +0 -3
- package/services/catalog/strategies/profile-search.strategy.d.ts +0 -14
- package/services/catalog/strategies/term-search.strategy.d.ts +0 -20
- package/services/catalog/strategies/types/strategy-params.type.d.ts +0 -58
- package/services/catalog/types/fetch-products-options.type.d.ts +0 -8
- package/services/catalog/types/fetch-products-params.type.d.ts +0 -25
- package/services/catalog/types/fetch-products-response.type.d.ts +0 -19
- package/services/catalog/types/index.d.ts +0 -5
- package/services/catalog/types/method-params.type.d.ts +0 -17
- package/services/catalog/types/product-sort.type.d.ts +0 -2
- package/services/catalog/wishlist.service.d.ts +0 -59
- package/services/checkout/checkout-dependencies.facade.d.ts +0 -10
- package/services/checkout/checkout-repositories.facade.d.ts +0 -9
- package/services/checkout/index.d.ts +0 -2
- package/services/checkout-subscription.service.d.ts +0 -19
- package/services/checkout.service.d.ts +0 -30
- package/services/coupon/coupon-repositories.facade.d.ts +0 -10
- package/services/coupon/index.d.ts +0 -1
- package/services/coupon/types/coupon-params.type.d.ts +0 -13
- package/services/coupon.service.d.ts +0 -36
- package/services/helpers/index.d.ts +0 -1
- package/services/helpers/util.helper.d.ts +0 -3
- package/services/home-shop/home-shop-repositories.facade.d.ts +0 -10
- package/services/home-shop/index.d.ts +0 -1
- package/services/home-shop.service.d.ts +0 -26
- package/services/index.d.ts +0 -10
- package/services/order-product-review.service.d.ts +0 -16
- package/services/order.service.d.ts +0 -13
- package/services/shared/configuration.facade.d.ts +0 -12
- package/services/shared/index.d.ts +0 -1
- package/services/types/index.d.ts +0 -4
- package/services/types/pending-product-review.type.d.ts +0 -12
- package/services/types/product-review-create.type.d.ts +0 -14
- package/services/types/required-checkout-data.type.d.ts +0 -2
- package/services/types/required-checkout-subscription-data.type.d.ts +0 -2
- package/types/firebase-app-config.type.d.ts +0 -1
- package/types/index.d.ts +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgModule, InjectionToken, PLATFORM_ID, Injectable, Inject } from '@angular/core';
|
|
3
|
-
import { FirebaseApp,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { NgModule, InjectionToken, Injector, PLATFORM_ID, Injectable, Inject } from '@angular/core';
|
|
3
|
+
import { FirebaseApp, getApp, initializeApp } from '@angular/fire/app';
|
|
4
|
+
import { initializeAppCheck } from '@angular/fire/app-check';
|
|
5
|
+
import { getStorage, Storage } from '@angular/fire/storage';
|
|
6
6
|
import * as i3 from '@infrab4a/connect';
|
|
7
7
|
import { ProductsIndex, AxiosAdapter, Authentication, AuthenticationFirebaseAuthService, Register, RegisterFirebaseAuthService, SignOut, RecoveryPassword, ConnectFirestoreService, CategoryFirestoreRepository, ProductFirestoreRepository, ProductVariantFirestoreRepository, UserBeautyProfileFirestoreRepository, Buy2WinFirestoreRepository, CheckoutFirestoreRepository, CheckoutSubscriptionFirestoreRepository, CouponFirestoreRepository, CampaignHashtagFirestoreRepository, CampaignDashboardFirestoreRepository, SubscriptionEditionFirestoreRepository, GroupFirestoreRepository, HomeFirestoreRepository, LeadFirestoreRepository, LegacyOrderFirestoreRepository, ShopMenuFirestoreRepository, OrderFirestoreRepository, PaymentFirestoreRepository, ShopSettingsFirestoreRepository, SubscriptionPaymentFirestoreRepository, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, SubscriptionFirestoreRepository, UserFirestoreRepository, UserAddressFirestoreRepository, UserPaymentMethodFirestoreRepository, SubscriptionMaterializationFirestoreRepository, SubscriptionSummaryFirestoreRepository, OrderBlockedFirestoreRepository, LogFirestoreRepository, SequenceFirestoreRepository, CategoryHasuraGraphQLRepository, ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository, ProductReviewHasuraGraphQLRepository, VariantHasuraGraphQLRepository, ProductStockNotificationHasuraGraphQLRepository, FilterOptionHasuraGraphQLRepository, FilterHasuraGraphQLRepository, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryProductHasuraGraphQLRepository, WishlistHasuraGraphQLRepository, ProductErrorsHasuraGraphQLRepository, ProductsVertexSearch, VertexAxiosAdapter, isNil, NotFoundError, Checkout, pick, LineItem, Where, isEmpty, Shops, set, InvalidArgumentError, RoundProductPricesHelper, Category, WishlistLogType, PersonTypes, Wishlist, CheckoutTypes, CouponTypes, Exclusivities, OrderStatus, CheckoutSubscription, Product, RequiredArgumentError, add, ProductReview, Order, UpdateUserImage, FirebaseFileUploaderService } from '@infrab4a/connect';
|
|
8
8
|
import * as i1 from '@angular/fire/auth';
|
|
9
|
-
import {
|
|
9
|
+
import { Auth, initializeAuth, indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence, getAuth, getIdToken, authState } from '@angular/fire/auth';
|
|
10
10
|
import { isPlatformServer, isPlatformBrowser } from '@angular/common';
|
|
11
11
|
import * as i1$2 from '@angular/fire/firestore';
|
|
12
|
-
import {
|
|
12
|
+
import { Firestore, initializeFirestore, memoryLocalCache, docSnapshots, doc } from '@angular/fire/firestore';
|
|
13
13
|
import cookie from 'js-cookie';
|
|
14
14
|
import { of, from, combineLatest, throwError, Subject, forkJoin } from 'rxjs';
|
|
15
15
|
import { map, mergeMap, catchError, concatMap, tap } from 'rxjs/operators';
|
|
@@ -26,9 +26,9 @@ class AngularElasticSeachModule {
|
|
|
26
26
|
providers: [{ provide: ES_CONFIG, useValue: options }],
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularElasticSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularElasticSeachModule }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularElasticSeachModule, providers: [
|
|
32
32
|
{
|
|
33
33
|
provide: ProductsIndex,
|
|
34
34
|
useFactory: (configuration) => new ProductsIndex(new AxiosAdapter(configuration)),
|
|
@@ -36,7 +36,7 @@ class AngularElasticSeachModule {
|
|
|
36
36
|
},
|
|
37
37
|
] }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularElasticSeachModule, decorators: [{
|
|
40
40
|
type: NgModule,
|
|
41
41
|
args: [{
|
|
42
42
|
providers: [
|
|
@@ -75,22 +75,26 @@ class AngularFirebaseAuthModule {
|
|
|
75
75
|
],
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
80
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirebaseAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
79
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularFirebaseAuthModule }); }
|
|
80
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirebaseAuthModule, providers: [
|
|
81
|
+
{
|
|
82
|
+
provide: Auth,
|
|
83
|
+
useFactory: (injector) => {
|
|
84
|
+
const app = injector.get(FirebaseApp);
|
|
85
|
+
try {
|
|
86
|
+
return initializeAuth(app, {
|
|
87
|
+
persistence: [indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence],
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
catch (error) {
|
|
91
|
+
if (error instanceof Error)
|
|
92
|
+
console.error('Error initializing auth', error.message);
|
|
93
|
+
return getAuth(app);
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
deps: [Injector],
|
|
97
|
+
},
|
|
94
98
|
{
|
|
95
99
|
provide: 'Authentication',
|
|
96
100
|
useFactory: (authenticationService, userRepository) => {
|
|
@@ -135,24 +139,28 @@ class AngularFirebaseAuthModule {
|
|
|
135
139
|
},
|
|
136
140
|
] }); }
|
|
137
141
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirebaseAuthModule, decorators: [{
|
|
139
143
|
type: NgModule,
|
|
140
144
|
args: [{
|
|
141
145
|
imports: [],
|
|
142
146
|
providers: [
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
147
|
+
{
|
|
148
|
+
provide: Auth,
|
|
149
|
+
useFactory: (injector) => {
|
|
150
|
+
const app = injector.get(FirebaseApp);
|
|
151
|
+
try {
|
|
152
|
+
return initializeAuth(app, {
|
|
153
|
+
persistence: [indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence],
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
catch (error) {
|
|
157
|
+
if (error instanceof Error)
|
|
158
|
+
console.error('Error initializing auth', error.message);
|
|
159
|
+
return getAuth(app);
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
deps: [Injector],
|
|
163
|
+
},
|
|
156
164
|
{
|
|
157
165
|
provide: 'Authentication',
|
|
158
166
|
useFactory: (authenticationService, userRepository) => {
|
|
@@ -217,22 +225,26 @@ class AngularFirestoreModule {
|
|
|
217
225
|
],
|
|
218
226
|
};
|
|
219
227
|
}
|
|
220
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
221
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
222
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
229
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule] }); }
|
|
230
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirestoreModule, providers: [
|
|
231
|
+
{
|
|
232
|
+
provide: Firestore,
|
|
233
|
+
useFactory: (injector) => {
|
|
234
|
+
const platformId = injector.get(PLATFORM_ID);
|
|
235
|
+
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
236
|
+
return initializeFirestore(injector.get(FirebaseApp), {
|
|
237
|
+
ignoreUndefinedProperties: true,
|
|
238
|
+
});
|
|
239
|
+
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
240
|
+
experimentalForceLongPolling: true,
|
|
227
241
|
ignoreUndefinedProperties: true,
|
|
242
|
+
localCache: memoryLocalCache(),
|
|
228
243
|
});
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
});
|
|
234
|
-
return firestore;
|
|
235
|
-
}),
|
|
244
|
+
return firestore;
|
|
245
|
+
},
|
|
246
|
+
deps: [Injector],
|
|
247
|
+
},
|
|
236
248
|
{
|
|
237
249
|
provide: 'FirestoreOptions',
|
|
238
250
|
useFactory: (firestore, platformId) => ({
|
|
@@ -474,24 +486,28 @@ class AngularFirestoreModule {
|
|
|
474
486
|
},
|
|
475
487
|
], imports: [AngularElasticSeachModule] }); }
|
|
476
488
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularFirestoreModule, decorators: [{
|
|
478
490
|
type: NgModule,
|
|
479
491
|
args: [{
|
|
480
492
|
imports: [AngularElasticSeachModule],
|
|
481
493
|
providers: [
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
494
|
+
{
|
|
495
|
+
provide: Firestore,
|
|
496
|
+
useFactory: (injector) => {
|
|
497
|
+
const platformId = injector.get(PLATFORM_ID);
|
|
498
|
+
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
499
|
+
return initializeFirestore(injector.get(FirebaseApp), {
|
|
500
|
+
ignoreUndefinedProperties: true,
|
|
501
|
+
});
|
|
502
|
+
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
503
|
+
experimentalForceLongPolling: true,
|
|
486
504
|
ignoreUndefinedProperties: true,
|
|
505
|
+
localCache: memoryLocalCache(),
|
|
487
506
|
});
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
});
|
|
493
|
-
return firestore;
|
|
494
|
-
}),
|
|
507
|
+
return firestore;
|
|
508
|
+
},
|
|
509
|
+
deps: [Injector],
|
|
510
|
+
},
|
|
495
511
|
{
|
|
496
512
|
provide: 'FirestoreOptions',
|
|
497
513
|
useFactory: (firestore, platformId) => ({
|
|
@@ -742,9 +758,9 @@ class AngularHasuraGraphQLModule {
|
|
|
742
758
|
providers: [{ provide: HASURA_OPTIONS, useValue: options }],
|
|
743
759
|
};
|
|
744
760
|
}
|
|
745
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
746
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
747
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularHasuraGraphQLModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
762
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularHasuraGraphQLModule }); }
|
|
763
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularHasuraGraphQLModule, providers: [
|
|
748
764
|
{
|
|
749
765
|
provide: 'HasuraConfig',
|
|
750
766
|
useFactory: (options, platformId) => ({
|
|
@@ -901,7 +917,7 @@ class AngularHasuraGraphQLModule {
|
|
|
901
917
|
},
|
|
902
918
|
] }); }
|
|
903
919
|
}
|
|
904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
|
|
905
921
|
type: NgModule,
|
|
906
922
|
args: [{
|
|
907
923
|
providers: [
|
|
@@ -1070,9 +1086,9 @@ class AngularVertexSeachModule {
|
|
|
1070
1086
|
providers: [{ provide: VERTEX_CONFIG, useValue: options }],
|
|
1071
1087
|
};
|
|
1072
1088
|
}
|
|
1073
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1074
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1075
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1089
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularVertexSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1090
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularVertexSeachModule }); }
|
|
1091
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularVertexSeachModule, providers: [
|
|
1076
1092
|
{
|
|
1077
1093
|
provide: ProductsVertexSearch,
|
|
1078
1094
|
useFactory: (configuration) => new ProductsVertexSearch(new VertexAxiosAdapter(configuration)),
|
|
@@ -1080,7 +1096,7 @@ class AngularVertexSeachModule {
|
|
|
1080
1096
|
},
|
|
1081
1097
|
] }); }
|
|
1082
1098
|
}
|
|
1083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularVertexSeachModule, decorators: [{
|
|
1084
1100
|
type: NgModule,
|
|
1085
1101
|
args: [{
|
|
1086
1102
|
providers: [
|
|
@@ -1105,10 +1121,10 @@ class CookieDataPersistence {
|
|
|
1105
1121
|
set(key, value) {
|
|
1106
1122
|
return from(cookie.set(key, value)).pipe(map(() => { }));
|
|
1107
1123
|
}
|
|
1108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1109
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CookieDataPersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1125
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CookieDataPersistence }); }
|
|
1110
1126
|
}
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CookieDataPersistence, decorators: [{
|
|
1112
1128
|
type: Injectable
|
|
1113
1129
|
}] });
|
|
1114
1130
|
|
|
@@ -1133,10 +1149,10 @@ class AuthService {
|
|
|
1133
1149
|
getFireUser() {
|
|
1134
1150
|
return authState(this.angularFireAuth).pipe(catchError(() => of(null)));
|
|
1135
1151
|
}
|
|
1136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1137
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthService, deps: [{ token: i1.Auth }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1153
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthService }); }
|
|
1138
1154
|
}
|
|
1139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthService, decorators: [{
|
|
1140
1156
|
type: Injectable
|
|
1141
1157
|
}], ctorParameters: () => [{ type: i1.Auth }, { type: undefined, decorators: [{
|
|
1142
1158
|
type: Inject,
|
|
@@ -1148,10 +1164,10 @@ class CheckoutRepositoriesFacade {
|
|
|
1148
1164
|
this.checkoutRepository = checkoutRepository;
|
|
1149
1165
|
this.userRepository = userRepository;
|
|
1150
1166
|
}
|
|
1151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1152
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutRepositoriesFacade, deps: [{ token: 'CheckoutRepository' }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1168
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutRepositoriesFacade }); }
|
|
1153
1169
|
}
|
|
1154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutRepositoriesFacade, decorators: [{
|
|
1155
1171
|
type: Injectable
|
|
1156
1172
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1157
1173
|
type: Inject,
|
|
@@ -1166,10 +1182,10 @@ class CheckoutDependenciesFacade {
|
|
|
1166
1182
|
this.dataPersistence = dataPersistence;
|
|
1167
1183
|
this.httpClient = httpClient;
|
|
1168
1184
|
}
|
|
1169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1170
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutDependenciesFacade, deps: [{ token: PERSISTENCE_PROVIDER }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1186
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutDependenciesFacade }); }
|
|
1171
1187
|
}
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutDependenciesFacade, decorators: [{
|
|
1173
1189
|
type: Injectable
|
|
1174
1190
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1175
1191
|
type: Inject,
|
|
@@ -1187,10 +1203,10 @@ class ConfigurationFacade {
|
|
|
1187
1203
|
getProjectId() {
|
|
1188
1204
|
return this.firebaseOptions.projectId;
|
|
1189
1205
|
}
|
|
1190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1191
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ConfigurationFacade, deps: [{ token: DEFAULT_SHOP }, { token: FIREBASE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ConfigurationFacade }); }
|
|
1192
1208
|
}
|
|
1193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ConfigurationFacade, decorators: [{
|
|
1194
1210
|
type: Injectable
|
|
1195
1211
|
}], ctorParameters: () => [{ type: i3.Shops, decorators: [{
|
|
1196
1212
|
type: Inject,
|
|
@@ -1290,10 +1306,10 @@ class CheckoutService {
|
|
|
1290
1306
|
await this.dependenciesFacade.dataPersistence.set('checkoutId', checkout.id).toPromise();
|
|
1291
1307
|
return checkout;
|
|
1292
1308
|
}
|
|
1293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutService, deps: [{ token: CheckoutRepositoriesFacade }, { token: CheckoutDependenciesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1310
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutService }); }
|
|
1295
1311
|
}
|
|
1296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutService, decorators: [{
|
|
1297
1313
|
type: Injectable
|
|
1298
1314
|
}], ctorParameters: () => [{ type: CheckoutRepositoriesFacade }, { type: CheckoutDependenciesFacade }, { type: ConfigurationFacade }] });
|
|
1299
1315
|
|
|
@@ -1303,10 +1319,10 @@ class CartServicesFacade {
|
|
|
1303
1319
|
this.checkoutService = checkoutService;
|
|
1304
1320
|
this.httpClient = httpClient;
|
|
1305
1321
|
}
|
|
1306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1307
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartServicesFacade, deps: [{ token: AuthService }, { token: CheckoutService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1323
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartServicesFacade }); }
|
|
1308
1324
|
}
|
|
1309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartServicesFacade, decorators: [{
|
|
1310
1326
|
type: Injectable
|
|
1311
1327
|
}], ctorParameters: () => [{ type: AuthService }, { type: CheckoutService }, { type: i1$1.HttpClient }] });
|
|
1312
1328
|
|
|
@@ -1367,10 +1383,10 @@ class CartService {
|
|
|
1367
1383
|
buildCartFromCheckout(checkoutData) {
|
|
1368
1384
|
return this.servicesFacade.checkoutService.getCheckout(checkoutData).pipe(map((checkout) => checkout.lineItems), concatMap((lineItems) => of(this.generateCartObject(lineItems))));
|
|
1369
1385
|
}
|
|
1370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1371
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartService, deps: [{ token: CartServicesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1387
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartService }); }
|
|
1372
1388
|
}
|
|
1373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CartService, decorators: [{
|
|
1374
1390
|
type: Injectable
|
|
1375
1391
|
}], ctorParameters: () => [{ type: CartServicesFacade }, { type: ConfigurationFacade }] });
|
|
1376
1392
|
|
|
@@ -1404,10 +1420,10 @@ class NewCategoryStructureAdapter {
|
|
|
1404
1420
|
category.brandCategory;
|
|
1405
1421
|
return collectionCategory ? this.categoryRepository.get({ id: category.id }) : category;
|
|
1406
1422
|
}
|
|
1407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1408
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: NewCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1424
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: NewCategoryStructureAdapter }); }
|
|
1409
1425
|
}
|
|
1410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: NewCategoryStructureAdapter, decorators: [{
|
|
1411
1427
|
type: Injectable
|
|
1412
1428
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1413
1429
|
type: Inject,
|
|
@@ -1424,10 +1440,10 @@ class OldCategoryStructureAdapter {
|
|
|
1424
1440
|
: await this.categoryRepository.get({ id: category.id }).then((categoryFound) => categoryFound.products);
|
|
1425
1441
|
return { id: { operator: Where.IN, value: productsIds } };
|
|
1426
1442
|
}
|
|
1427
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1428
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OldCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1444
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OldCategoryStructureAdapter }); }
|
|
1429
1445
|
}
|
|
1430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OldCategoryStructureAdapter, decorators: [{
|
|
1431
1447
|
type: Injectable
|
|
1432
1448
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1433
1449
|
type: Inject,
|
|
@@ -1595,10 +1611,10 @@ class CategorySearchStrategy {
|
|
|
1595
1611
|
distinct: totalResult.distinct,
|
|
1596
1612
|
};
|
|
1597
1613
|
}
|
|
1598
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1599
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategorySearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1615
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategorySearchStrategy }); }
|
|
1600
1616
|
}
|
|
1601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategorySearchStrategy, decorators: [{
|
|
1602
1618
|
type: Injectable
|
|
1603
1619
|
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1604
1620
|
|
|
@@ -1632,10 +1648,10 @@ class ProfileSearchStrategy {
|
|
|
1632
1648
|
};
|
|
1633
1649
|
return productCatalog.productRepository.findCatalog(repoParams, mainGender || (shop === Shops.MENSMARKET ? 'male' : 'female'), optionsCache);
|
|
1634
1650
|
}
|
|
1635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1636
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProfileSearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1652
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProfileSearchStrategy }); }
|
|
1637
1653
|
}
|
|
1638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProfileSearchStrategy, decorators: [{
|
|
1639
1655
|
type: Injectable
|
|
1640
1656
|
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1641
1657
|
|
|
@@ -1750,10 +1766,10 @@ class TermSearchStrategy {
|
|
|
1750
1766
|
.search(term, 999, shop === Shops.GLAMSHOP ? 'female' : 'male')
|
|
1751
1767
|
.then((products) => [...new Set(products.map((product) => product.id))]));
|
|
1752
1768
|
}
|
|
1753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1754
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: TermSearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1770
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: TermSearchStrategy }); }
|
|
1755
1771
|
}
|
|
1756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: TermSearchStrategy, decorators: [{
|
|
1757
1773
|
type: Injectable
|
|
1758
1774
|
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1759
1775
|
|
|
@@ -1763,10 +1779,10 @@ class CatalogStrategiesFacade {
|
|
|
1763
1779
|
this.termStrategy = termStrategy;
|
|
1764
1780
|
this.profileStrategy = profileStrategy;
|
|
1765
1781
|
}
|
|
1766
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1767
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1782
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogStrategiesFacade, deps: [{ token: CategorySearchStrategy }, { token: TermSearchStrategy }, { token: ProfileSearchStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1783
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogStrategiesFacade }); }
|
|
1768
1784
|
}
|
|
1769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogStrategiesFacade, decorators: [{
|
|
1770
1786
|
type: Injectable
|
|
1771
1787
|
}], ctorParameters: () => [{ type: CategorySearchStrategy }, { type: TermSearchStrategy }, { type: ProfileSearchStrategy }] });
|
|
1772
1788
|
|
|
@@ -1781,10 +1797,10 @@ class CatalogServiceFacade {
|
|
|
1781
1797
|
getCatalogService() {
|
|
1782
1798
|
return this.catalogService;
|
|
1783
1799
|
}
|
|
1784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1785
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogServiceFacade, deps: [{ token: CatalogHelpersService }, { token: CatalogStrategiesFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1801
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogServiceFacade }); }
|
|
1786
1802
|
}
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogServiceFacade, decorators: [{
|
|
1788
1804
|
type: Injectable
|
|
1789
1805
|
}], ctorParameters: () => [{ type: CatalogHelpersService }, { type: CatalogStrategiesFacade }, { type: i3.Shops, decorators: [{
|
|
1790
1806
|
type: Inject,
|
|
@@ -1796,10 +1812,10 @@ class CategoryRepositoryFacade {
|
|
|
1796
1812
|
this.categoryRepository = categoryRepository;
|
|
1797
1813
|
this.categoryFilterRepository = categoryFilterRepository;
|
|
1798
1814
|
}
|
|
1799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1800
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryRepositoryFacade, deps: [{ token: 'CategoryRepository' }, { token: 'CategoryFilterRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1816
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryRepositoryFacade }); }
|
|
1801
1817
|
}
|
|
1802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryRepositoryFacade, decorators: [{
|
|
1803
1819
|
type: Injectable
|
|
1804
1820
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1805
1821
|
type: Inject,
|
|
@@ -1834,10 +1850,10 @@ class CategoryService {
|
|
|
1834
1850
|
.find({ filters: { categoryId: +category.id } }, optionsCache)
|
|
1835
1851
|
.then(({ data }) => data.map((categoryFilter) => categoryFilter.filter));
|
|
1836
1852
|
}
|
|
1837
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1838
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1853
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryService, deps: [{ token: CategoryRepositoryFacade }, { token: ProductCatalogFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1854
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryService }); }
|
|
1839
1855
|
}
|
|
1840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryService, decorators: [{
|
|
1841
1857
|
type: Injectable
|
|
1842
1858
|
}], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
|
|
1843
1859
|
type: Inject,
|
|
@@ -1849,10 +1865,10 @@ class ProductCatalogFacade {
|
|
|
1849
1865
|
this.productRepository = productRepository;
|
|
1850
1866
|
this.categoryStructureAdapter = categoryStructureAdapter;
|
|
1851
1867
|
}
|
|
1852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1853
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductCatalogFacade, deps: [{ token: 'ProductRepository' }, { token: CATEGORY_STRUCTURE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1869
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductCatalogFacade }); }
|
|
1854
1870
|
}
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductCatalogFacade, decorators: [{
|
|
1856
1872
|
type: Injectable
|
|
1857
1873
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1858
1874
|
type: Inject,
|
|
@@ -1872,10 +1888,10 @@ class CategoryServiceFacade {
|
|
|
1872
1888
|
getCategoryService() {
|
|
1873
1889
|
return this.categoryService;
|
|
1874
1890
|
}
|
|
1875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1876
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryServiceFacade, deps: [{ token: CategoryRepositoryFacade }, { token: ProductCatalogFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1892
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryServiceFacade }); }
|
|
1877
1893
|
}
|
|
1878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CategoryServiceFacade, decorators: [{
|
|
1879
1895
|
type: Injectable
|
|
1880
1896
|
}], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
|
|
1881
1897
|
type: Inject,
|
|
@@ -1927,10 +1943,10 @@ class BrandManagerHelper {
|
|
|
1927
1943
|
}, options.mainGender)
|
|
1928
1944
|
.then((result) => result.distinct.brand);
|
|
1929
1945
|
}
|
|
1930
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1931
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: BrandManagerHelper, deps: [{ token: ProductCatalogFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1947
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: BrandManagerHelper }); }
|
|
1932
1948
|
}
|
|
1933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: BrandManagerHelper, decorators: [{
|
|
1934
1950
|
type: Injectable
|
|
1935
1951
|
}], ctorParameters: () => [{ type: ProductCatalogFacade }] });
|
|
1936
1952
|
|
|
@@ -1968,10 +1984,10 @@ class CatalogFilterHelper {
|
|
|
1968
1984
|
}
|
|
1969
1985
|
return filterQuery;
|
|
1970
1986
|
}
|
|
1971
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1972
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1987
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogFilterHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1988
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogFilterHelper }); }
|
|
1973
1989
|
}
|
|
1974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogFilterHelper, decorators: [{
|
|
1975
1991
|
type: Injectable
|
|
1976
1992
|
}] });
|
|
1977
1993
|
|
|
@@ -2018,10 +2034,10 @@ class CatalogSortHelper {
|
|
|
2018
2034
|
return {};
|
|
2019
2035
|
}
|
|
2020
2036
|
}
|
|
2021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2022
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogSortHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2038
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogSortHelper }); }
|
|
2023
2039
|
}
|
|
2024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogSortHelper, decorators: [{
|
|
2025
2041
|
type: Injectable
|
|
2026
2042
|
}] });
|
|
2027
2043
|
|
|
@@ -2056,10 +2072,10 @@ class ProductFieldsHelper {
|
|
|
2056
2072
|
'group',
|
|
2057
2073
|
];
|
|
2058
2074
|
}
|
|
2059
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2060
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2075
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductFieldsHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2076
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductFieldsHelper }); }
|
|
2061
2077
|
}
|
|
2062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductFieldsHelper, decorators: [{
|
|
2063
2079
|
type: Injectable
|
|
2064
2080
|
}] });
|
|
2065
2081
|
|
|
@@ -2078,10 +2094,10 @@ class CatalogOperationsFacade {
|
|
|
2078
2094
|
getFieldsHelper() {
|
|
2079
2095
|
return this.fieldsHelper;
|
|
2080
2096
|
}
|
|
2081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2082
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2097
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogOperationsFacade, deps: [{ token: CatalogFilterHelper }, { token: CatalogSortHelper }, { token: ProductFieldsHelper }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2098
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogOperationsFacade }); }
|
|
2083
2099
|
}
|
|
2084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogOperationsFacade, decorators: [{
|
|
2085
2101
|
type: Injectable
|
|
2086
2102
|
}], ctorParameters: () => [{ type: CatalogFilterHelper }, { type: CatalogSortHelper }, { type: ProductFieldsHelper }] });
|
|
2087
2103
|
|
|
@@ -2096,10 +2112,10 @@ class ProductManagementFacade {
|
|
|
2096
2112
|
getProductServices() {
|
|
2097
2113
|
return this.productServices;
|
|
2098
2114
|
}
|
|
2099
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2100
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductManagementFacade, deps: [{ token: BrandManagerHelper }, { token: 'ProductServicesFacade' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2116
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductManagementFacade }); }
|
|
2101
2117
|
}
|
|
2102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ProductManagementFacade, decorators: [{
|
|
2103
2119
|
type: Injectable
|
|
2104
2120
|
}], ctorParameters: () => [{ type: BrandManagerHelper }, { type: undefined, decorators: [{
|
|
2105
2121
|
type: Inject,
|
|
@@ -2126,10 +2142,10 @@ class CatalogHelpersService {
|
|
|
2126
2142
|
getProductServices() {
|
|
2127
2143
|
return this.productManagement.getProductServices();
|
|
2128
2144
|
}
|
|
2129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2130
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogHelpersService, deps: [{ token: CatalogOperationsFacade }, { token: ProductManagementFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2146
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogHelpersService }); }
|
|
2131
2147
|
}
|
|
2132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogHelpersService, decorators: [{
|
|
2133
2149
|
type: Injectable
|
|
2134
2150
|
}], ctorParameters: () => [{ type: CatalogOperationsFacade }, { type: ProductManagementFacade }] });
|
|
2135
2151
|
|
|
@@ -2144,10 +2160,10 @@ class CatalogRepositoryService {
|
|
|
2144
2160
|
getProductServices() {
|
|
2145
2161
|
return this.productServices;
|
|
2146
2162
|
}
|
|
2147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2148
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogRepositoryService, deps: [{ token: ProductCatalogFacade }, { token: 'ProductServicesFacade' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2164
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogRepositoryService }); }
|
|
2149
2165
|
}
|
|
2150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogRepositoryService, decorators: [{
|
|
2151
2167
|
type: Injectable
|
|
2152
2168
|
}], ctorParameters: () => [{ type: ProductCatalogFacade }, { type: undefined, decorators: [{
|
|
2153
2169
|
type: Inject,
|
|
@@ -2246,10 +2262,10 @@ class CatalogService {
|
|
|
2246
2262
|
hasCategory(options) {
|
|
2247
2263
|
return 'category' in options;
|
|
2248
2264
|
}
|
|
2249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogService, deps: [{ token: CatalogSearchContext }, { token: CatalogHelpersService }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2266
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogService }); }
|
|
2251
2267
|
}
|
|
2252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CatalogService, decorators: [{
|
|
2253
2269
|
type: Injectable
|
|
2254
2270
|
}], ctorParameters: () => [{ type: CatalogSearchContext }, { type: CatalogHelpersService }, { type: i3.Shops, decorators: [{
|
|
2255
2271
|
type: Inject,
|
|
@@ -2504,10 +2520,10 @@ class WishlistService {
|
|
|
2504
2520
|
productBrand: product.brand,
|
|
2505
2521
|
};
|
|
2506
2522
|
}
|
|
2507
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2508
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: WishlistService, deps: [{ token: 'WishlistRepository' }, { token: 'ProductRepository' }, { token: 'LogRepository' }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: WishlistService }); }
|
|
2509
2525
|
}
|
|
2510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: WishlistService, decorators: [{
|
|
2511
2527
|
type: Injectable
|
|
2512
2528
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2513
2529
|
type: Inject,
|
|
@@ -2529,10 +2545,10 @@ class CouponRepositoriesFacade {
|
|
|
2529
2545
|
this.orderRepository = orderRepository;
|
|
2530
2546
|
this.categoryRepository = categoryRepository;
|
|
2531
2547
|
}
|
|
2532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2533
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponRepositoriesFacade, deps: [{ token: 'CouponRepository' }, { token: 'OrderRepository' }, { token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2549
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponRepositoriesFacade }); }
|
|
2534
2550
|
}
|
|
2535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponRepositoriesFacade, decorators: [{
|
|
2536
2552
|
type: Injectable
|
|
2537
2553
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2538
2554
|
type: Inject,
|
|
@@ -2774,10 +2790,10 @@ class CouponService {
|
|
|
2774
2790
|
}
|
|
2775
2791
|
return couponUseLimits;
|
|
2776
2792
|
}
|
|
2777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2778
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponService, deps: [{ token: CouponRepositoriesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2794
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponService, providedIn: 'root' }); }
|
|
2779
2795
|
}
|
|
2780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CouponService, decorators: [{
|
|
2781
2797
|
type: Injectable,
|
|
2782
2798
|
args: [{
|
|
2783
2799
|
providedIn: 'root',
|
|
@@ -2819,10 +2835,10 @@ class CheckoutSubscriptionService {
|
|
|
2819
2835
|
await this.dataPersistence.set('checkoutSubscriptionId', checkout.id).toPromise();
|
|
2820
2836
|
return checkout;
|
|
2821
2837
|
}
|
|
2822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2823
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2838
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutSubscriptionService, deps: [{ token: 'CheckoutSubscriptionRepository' }, { token: PERSISTENCE_PROVIDER }, { token: CouponService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2839
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutSubscriptionService }); }
|
|
2824
2840
|
}
|
|
2825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: CheckoutSubscriptionService, decorators: [{
|
|
2826
2842
|
type: Injectable
|
|
2827
2843
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2828
2844
|
type: Inject,
|
|
@@ -2856,10 +2872,10 @@ class HomeShopRepositoriesFacade {
|
|
|
2856
2872
|
this.homeRepository = homeRepository;
|
|
2857
2873
|
this.productRepository = productRepository;
|
|
2858
2874
|
}
|
|
2859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2860
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopRepositoriesFacade, deps: [{ token: 'CategoryRepository' }, { token: 'HomeRepository' }, { token: 'ProductRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2876
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopRepositoriesFacade }); }
|
|
2861
2877
|
}
|
|
2862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopRepositoriesFacade, decorators: [{
|
|
2863
2879
|
type: Injectable
|
|
2864
2880
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2865
2881
|
type: Inject,
|
|
@@ -2975,10 +2991,10 @@ class HomeShopService {
|
|
|
2975
2991
|
get gender() {
|
|
2976
2992
|
return this.homeId === 'mens_market' ? 'masculino' : undefined;
|
|
2977
2993
|
}
|
|
2978
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2979
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopService, deps: [{ token: HomeShopRepositoriesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2995
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopService }); }
|
|
2980
2996
|
}
|
|
2981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: HomeShopService, decorators: [{
|
|
2982
2998
|
type: Injectable
|
|
2983
2999
|
}], ctorParameters: () => [{ type: HomeShopRepositoriesFacade }, { type: ConfigurationFacade }] });
|
|
2984
3000
|
|
|
@@ -3072,10 +3088,10 @@ class OrderProductReviewService {
|
|
|
3072
3088
|
orderId: review.orderId,
|
|
3073
3089
|
}));
|
|
3074
3090
|
}
|
|
3075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3076
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderProductReviewService, deps: [{ token: 'OrderRepository' }, { token: 'ProductReviewRepository' }, { token: 'VariantRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3092
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderProductReviewService }); }
|
|
3077
3093
|
}
|
|
3078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderProductReviewService, decorators: [{
|
|
3079
3095
|
type: Injectable
|
|
3080
3096
|
}], ctorParameters: () => [{ type: i3.OrderFirestoreRepository, decorators: [{
|
|
3081
3097
|
type: Inject,
|
|
@@ -3100,10 +3116,10 @@ class OrderService {
|
|
|
3100
3116
|
.subscribe((doc) => this.orderSubject.next(doc));
|
|
3101
3117
|
return this.orderSubject;
|
|
3102
3118
|
}
|
|
3103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3104
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderService, deps: [{ token: i1$2.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3120
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderService }); }
|
|
3105
3121
|
}
|
|
3106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: OrderService, decorators: [{
|
|
3107
3123
|
type: Injectable
|
|
3108
3124
|
}], ctorParameters: () => [{ type: i1$2.Firestore }, { type: i3.OrderFirestoreRepository, decorators: [{
|
|
3109
3125
|
type: Inject,
|
|
@@ -3150,43 +3166,55 @@ class AngularConnectModule {
|
|
|
3150
3166
|
static createProviderIfExists(token, value) {
|
|
3151
3167
|
return isNil(value) ? [] : [{ provide: token, useValue: value }];
|
|
3152
3168
|
}
|
|
3153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3154
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3170
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AngularConnectModule, imports: [AngularElasticSeachModule,
|
|
3155
3171
|
AngularVertexSeachModule,
|
|
3156
3172
|
AngularFirebaseAuthModule,
|
|
3157
3173
|
AngularFirestoreModule,
|
|
3158
3174
|
AngularHasuraGraphQLModule] }); }
|
|
3159
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
const
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
console.
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3175
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularConnectModule, providers: [
|
|
3176
|
+
{
|
|
3177
|
+
provide: FirebaseApp,
|
|
3178
|
+
useFactory: (injector) => {
|
|
3179
|
+
const appName = injector.get(FIREBASE_APP_NAME);
|
|
3180
|
+
try {
|
|
3181
|
+
const app = appName ? getApp(appName) : getApp();
|
|
3182
|
+
return app;
|
|
3183
|
+
}
|
|
3184
|
+
catch (error) {
|
|
3185
|
+
console.warn('Firebase app not found, initializing new app');
|
|
3186
|
+
if (error instanceof Error)
|
|
3187
|
+
console.error(error.message);
|
|
3188
|
+
return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
deps: [Injector],
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
provide: 'APP_CHECK',
|
|
3195
|
+
useFactory: (injector) => {
|
|
3196
|
+
const app = injector.get(FirebaseApp);
|
|
3197
|
+
try {
|
|
3198
|
+
const provider = injector.get(APP_CHECK_PROVIDER);
|
|
3199
|
+
if (provider)
|
|
3200
|
+
return initializeAppCheck(app, {
|
|
3201
|
+
provider,
|
|
3202
|
+
isTokenAutoRefreshEnabled: true,
|
|
3203
|
+
});
|
|
3204
|
+
}
|
|
3205
|
+
catch (error) {
|
|
3206
|
+
if (error instanceof Error)
|
|
3207
|
+
console.error(error.message);
|
|
3208
|
+
return;
|
|
3209
|
+
}
|
|
3210
|
+
},
|
|
3211
|
+
deps: [Injector],
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
provide: Storage,
|
|
3215
|
+
useFactory: (firebaseApp) => getStorage(firebaseApp),
|
|
3216
|
+
deps: [FirebaseApp],
|
|
3217
|
+
},
|
|
3190
3218
|
AuthService,
|
|
3191
3219
|
CartService,
|
|
3192
3220
|
CatalogService,
|
|
@@ -3260,7 +3288,7 @@ class AngularConnectModule {
|
|
|
3260
3288
|
AngularFirestoreModule,
|
|
3261
3289
|
AngularHasuraGraphQLModule] }); }
|
|
3262
3290
|
}
|
|
3263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AngularConnectModule, decorators: [{
|
|
3264
3292
|
type: NgModule,
|
|
3265
3293
|
args: [{
|
|
3266
3294
|
imports: [
|
|
@@ -3271,36 +3299,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
3271
3299
|
AngularHasuraGraphQLModule,
|
|
3272
3300
|
],
|
|
3273
3301
|
providers: [
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
const
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
console.
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3302
|
+
{
|
|
3303
|
+
provide: FirebaseApp,
|
|
3304
|
+
useFactory: (injector) => {
|
|
3305
|
+
const appName = injector.get(FIREBASE_APP_NAME);
|
|
3306
|
+
try {
|
|
3307
|
+
const app = appName ? getApp(appName) : getApp();
|
|
3308
|
+
return app;
|
|
3309
|
+
}
|
|
3310
|
+
catch (error) {
|
|
3311
|
+
console.warn('Firebase app not found, initializing new app');
|
|
3312
|
+
if (error instanceof Error)
|
|
3313
|
+
console.error(error.message);
|
|
3314
|
+
return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
deps: [Injector],
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
provide: 'APP_CHECK',
|
|
3321
|
+
useFactory: (injector) => {
|
|
3322
|
+
const app = injector.get(FirebaseApp);
|
|
3323
|
+
try {
|
|
3324
|
+
const provider = injector.get(APP_CHECK_PROVIDER);
|
|
3325
|
+
if (provider)
|
|
3326
|
+
return initializeAppCheck(app, {
|
|
3327
|
+
provider,
|
|
3328
|
+
isTokenAutoRefreshEnabled: true,
|
|
3329
|
+
});
|
|
3330
|
+
}
|
|
3331
|
+
catch (error) {
|
|
3332
|
+
if (error instanceof Error)
|
|
3333
|
+
console.error(error.message);
|
|
3334
|
+
return;
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
deps: [Injector],
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
provide: Storage,
|
|
3341
|
+
useFactory: (firebaseApp) => getStorage(firebaseApp),
|
|
3342
|
+
deps: [FirebaseApp],
|
|
3343
|
+
},
|
|
3304
3344
|
AuthService,
|
|
3305
3345
|
CartService,
|
|
3306
3346
|
CatalogService,
|