@infrab4a/connect-angular 5.5.0-alpha.0 → 5.5.0-alpha.1
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/angular-connect.module.d.ts +6 -9
- package/angular-firebase-auth.module.d.ts +1 -2
- package/angular-firestore.module.d.ts +1 -2
- package/esm2022/angular-connect.module.mjs +288 -0
- package/esm2022/angular-elastic-search.module.mjs +34 -0
- package/esm2022/angular-firebase-auth.module.mjs +140 -0
- package/esm2022/angular-firestore.module.mjs +538 -0
- package/esm2022/angular-hasura-graphql.module.mjs +333 -0
- package/esm2022/angular-vertex-search.module.mjs +34 -0
- package/{esm2020 → esm2022}/persistence/cookie-data-persistence.mjs +4 -4
- package/{esm2020 → esm2022}/services/auth.service.mjs +6 -6
- package/{esm2020 → esm2022}/services/cart/cart-services.facade.mjs +5 -5
- package/{esm2020 → esm2022}/services/cart.service.mjs +5 -5
- package/{esm2020 → esm2022}/services/catalog/adapters/new-category-structure.adapter.mjs +6 -6
- package/{esm2020 → esm2022}/services/catalog/adapters/old-category-structure.adapter.mjs +6 -6
- package/esm2022/services/catalog/catalog.service.mjs +111 -0
- package/esm2022/services/catalog/category.service.mjs +42 -0
- package/esm2022/services/catalog/context/catalog-search.context.mjs +40 -0
- package/{esm2020 → esm2022}/services/catalog/facades/catalog-service.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/catalog/facades/catalog-strategies.facade.mjs +5 -5
- package/{esm2020 → esm2022}/services/catalog/facades/category-repository.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/catalog/facades/category-service.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/catalog/facades/product-catalog.facade.mjs +6 -6
- package/esm2022/services/catalog/helpers/brand-manager.helper.mjs +57 -0
- package/esm2022/services/catalog/helpers/catalog-filter.helper.mjs +44 -0
- package/esm2022/services/catalog/helpers/catalog-sort.helper.mjs +52 -0
- package/{esm2020 → esm2022}/services/catalog/helpers/product-fields.helper.mjs +4 -4
- package/{esm2020 → esm2022}/services/catalog/models/category-with-tree.model.mjs +1 -1
- package/{esm2020 → esm2022}/services/catalog/services/catalog-helpers.service.mjs +5 -5
- package/{esm2020 → esm2022}/services/catalog/services/catalog-operations.facade.mjs +5 -5
- package/{esm2020 → esm2022}/services/catalog/services/catalog-repository.service.mjs +6 -6
- package/{esm2020 → esm2022}/services/catalog/services/product-management.facade.mjs +6 -6
- package/esm2022/services/catalog/strategies/category-search.strategy.mjs +133 -0
- package/esm2022/services/catalog/strategies/profile-search.strategy.mjs +42 -0
- package/esm2022/services/catalog/strategies/term-search.strategy.mjs +123 -0
- package/esm2022/services/catalog/wishlist.service.mjs +254 -0
- package/{esm2020 → esm2022}/services/checkout/checkout-dependencies.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/checkout/checkout-repositories.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/checkout-subscription.service.mjs +6 -6
- package/{esm2020 → esm2022}/services/checkout.service.mjs +7 -7
- package/{esm2020 → esm2022}/services/coupon/coupon-repositories.facade.mjs +6 -6
- package/esm2022/services/coupon.service.mjs +248 -0
- package/{esm2020 → esm2022}/services/home-shop/home-shop-repositories.facade.mjs +6 -6
- package/{esm2020 → esm2022}/services/home-shop.service.mjs +5 -5
- package/esm2022/services/order-product-review.service.mjs +110 -0
- package/{esm2020 → esm2022}/services/order.service.mjs +6 -6
- package/{esm2020 → esm2022}/services/shared/configuration.facade.mjs +6 -6
- package/{fesm2020 → fesm2022}/infrab4a-connect-angular.mjs +782 -784
- package/fesm2022/infrab4a-connect-angular.mjs.map +1 -0
- package/package.json +9 -15
- package/services/catalog/category.service.d.ts +1 -0
- package/services/checkout.service.d.ts +1 -1
- package/esm2020/angular-connect.module.mjs +0 -291
- package/esm2020/angular-elastic-search.module.mjs +0 -34
- package/esm2020/angular-firebase-auth.module.mjs +0 -141
- package/esm2020/angular-firestore.module.mjs +0 -541
- package/esm2020/angular-hasura-graphql.module.mjs +0 -333
- package/esm2020/angular-vertex-search.module.mjs +0 -34
- package/esm2020/services/catalog/catalog.service.mjs +0 -111
- package/esm2020/services/catalog/category.service.mjs +0 -39
- package/esm2020/services/catalog/context/catalog-search.context.mjs +0 -40
- package/esm2020/services/catalog/helpers/brand-manager.helper.mjs +0 -57
- package/esm2020/services/catalog/helpers/catalog-filter.helper.mjs +0 -44
- package/esm2020/services/catalog/helpers/catalog-sort.helper.mjs +0 -52
- package/esm2020/services/catalog/strategies/category-search.strategy.mjs +0 -133
- package/esm2020/services/catalog/strategies/profile-search.strategy.mjs +0 -42
- package/esm2020/services/catalog/strategies/term-search.strategy.mjs +0 -123
- package/esm2020/services/catalog/wishlist.service.mjs +0 -254
- package/esm2020/services/coupon.service.mjs +0 -248
- package/esm2020/services/order-product-review.service.mjs +0 -110
- package/fesm2015/infrab4a-connect-angular.mjs +0 -3486
- package/fesm2015/infrab4a-connect-angular.mjs.map +0 -1
- package/fesm2020/infrab4a-connect-angular.mjs.map +0 -1
- /package/{esm2020 → esm2022}/consts/backend-url.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/category-structure.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/default-shop.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/es-config.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/firebase-const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/hasura-options.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/index.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/persistence.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/storage-base-url.const.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/vertex-config.const.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/mobile-operation-system-checker.helper.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/infrab4a-connect-angular.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/catalog-strategies.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/category-facades.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/persistence/data-persistence.mjs +0 -0
- /package/{esm2020 → esm2022}/persistence/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/cart/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/adapters/category-structure.adapter.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/adapters/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/enums/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/enums/product-sorts.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/facades/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/strategies/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/strategies/types/strategy-params.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/fetch-products-options.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/fetch-products-params.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/fetch-products-response.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/method-params.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/catalog/types/product-sort.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/checkout/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/coupon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/coupon/types/coupon-params.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/helpers/util.helper.mjs +0 -0
- /package/{esm2020 → esm2022}/services/home-shop/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/shared/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/types/pending-product-review.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/types/product-review-create.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/types/required-checkout-data.type.mjs +0 -0
- /package/{esm2020 → esm2022}/services/types/required-checkout-subscription-data.type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/firebase-app-config.type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/index.mjs +0 -0
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { NgModule, InjectionToken, PLATFORM_ID, Injectable, Inject } from '@angular/core';
|
|
3
|
-
import * as i1$3 from '@angular/fire/app';
|
|
4
3
|
import { FirebaseApp, provideFirebaseApp, getApp, initializeApp } from '@angular/fire/app';
|
|
5
|
-
import * as i2 from '@angular/fire/app-check';
|
|
6
4
|
import { provideAppCheck, initializeAppCheck } from '@angular/fire/app-check';
|
|
7
|
-
import
|
|
8
|
-
import { Storage, provideStorage, getStorage } from '@angular/fire/storage';
|
|
5
|
+
import { provideStorage, Storage, getStorage } from '@angular/fire/storage';
|
|
9
6
|
import * as i3 from '@infrab4a/connect';
|
|
10
|
-
import { ProductsIndex, AxiosAdapter, Authentication, AuthenticationFirebaseAuthService, Register, RegisterFirebaseAuthService, SignOut, RecoveryPassword, ConnectFirestoreService, UserBeautyProfileFirestoreRepository, Buy2WinFirestoreRepository,
|
|
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';
|
|
11
8
|
import * as i1 from '@angular/fire/auth';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import * as i1$
|
|
15
|
-
import {
|
|
9
|
+
import { provideAuth, Auth, initializeAuth, indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence, getAuth, getIdToken, authState } from '@angular/fire/auth';
|
|
10
|
+
import { isPlatformServer, isPlatformBrowser } from '@angular/common';
|
|
11
|
+
import * as i1$2 from '@angular/fire/firestore';
|
|
12
|
+
import { provideFirestore, Firestore, initializeFirestore, memoryLocalCache, docSnapshots, doc } from '@angular/fire/firestore';
|
|
16
13
|
import cookie from 'js-cookie';
|
|
17
14
|
import { of, from, combineLatest, throwError, Subject, forkJoin } from 'rxjs';
|
|
18
15
|
import { map, mergeMap, catchError, concatMap, tap } from 'rxjs/operators';
|
|
19
|
-
import * as i1$
|
|
16
|
+
import * as i1$1 from '@angular/common/http';
|
|
20
17
|
import { __decorate, __metadata } from 'tslib';
|
|
21
18
|
import { Type } from 'class-transformer';
|
|
22
19
|
|
|
@@ -29,17 +26,17 @@ class AngularElasticSeachModule {
|
|
|
29
26
|
providers: [{ provide: ES_CONFIG, useValue: options }],
|
|
30
27
|
};
|
|
31
28
|
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularElasticSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularElasticSeachModule }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularElasticSeachModule, providers: [
|
|
32
|
+
{
|
|
33
|
+
provide: ProductsIndex,
|
|
34
|
+
useFactory: (configuration) => new ProductsIndex(new AxiosAdapter(configuration)),
|
|
35
|
+
deps: [ES_CONFIG],
|
|
36
|
+
},
|
|
37
|
+
] }); }
|
|
32
38
|
}
|
|
33
|
-
|
|
34
|
-
AngularElasticSeachModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule });
|
|
35
|
-
AngularElasticSeachModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule, providers: [
|
|
36
|
-
{
|
|
37
|
-
provide: ProductsIndex,
|
|
38
|
-
useFactory: (configuration) => new ProductsIndex(new AxiosAdapter(configuration)),
|
|
39
|
-
deps: [ES_CONFIG],
|
|
40
|
-
},
|
|
41
|
-
] });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule, decorators: [{
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularElasticSeachModule, decorators: [{
|
|
43
40
|
type: NgModule,
|
|
44
41
|
args: [{
|
|
45
42
|
providers: [
|
|
@@ -78,69 +75,71 @@ class AngularFirebaseAuthModule {
|
|
|
78
75
|
],
|
|
79
76
|
};
|
|
80
77
|
}
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirebaseAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
79
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularFirebaseAuthModule }); }
|
|
80
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirebaseAuthModule, providers: [
|
|
81
|
+
provideAuth((injector) => {
|
|
82
|
+
const app = injector.get(FirebaseApp);
|
|
83
|
+
try {
|
|
84
|
+
return initializeAuth(app, {
|
|
85
|
+
persistence: [indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence],
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
if (error instanceof Error)
|
|
90
|
+
console.error('Error initializing auth', error.message);
|
|
91
|
+
return getAuth(app);
|
|
92
|
+
}
|
|
93
|
+
}),
|
|
94
|
+
{
|
|
95
|
+
provide: 'Authentication',
|
|
96
|
+
useFactory: (authenticationService, userRepository) => {
|
|
97
|
+
return new Authentication(authenticationService, userRepository);
|
|
98
|
+
},
|
|
99
|
+
deps: ['AuthenticationService', 'UserRepository'],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
provide: 'AuthenticationService',
|
|
103
|
+
useFactory: (angularFireAuth) => {
|
|
104
|
+
return new AuthenticationFirebaseAuthService(angularFireAuth);
|
|
105
|
+
},
|
|
106
|
+
deps: [Auth],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
provide: 'Register',
|
|
110
|
+
useFactory: (registerService, userRepository) => {
|
|
111
|
+
return new Register(registerService, userRepository);
|
|
112
|
+
},
|
|
113
|
+
deps: ['RegisterService', 'UserRepository'],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
provide: 'RegisterService',
|
|
117
|
+
useFactory: (angularFireAuth) => {
|
|
118
|
+
return new RegisterFirebaseAuthService(angularFireAuth);
|
|
119
|
+
},
|
|
120
|
+
deps: [Auth],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
provide: 'SignOut',
|
|
124
|
+
useFactory: (authenticationService) => {
|
|
125
|
+
return new SignOut(authenticationService);
|
|
126
|
+
},
|
|
127
|
+
deps: ['AuthenticationService'],
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
provide: 'RecoveryPassword',
|
|
131
|
+
useFactory: (authenticationService) => {
|
|
132
|
+
return new RecoveryPassword(authenticationService);
|
|
133
|
+
},
|
|
134
|
+
deps: ['AuthenticationService'],
|
|
135
|
+
},
|
|
136
|
+
] }); }
|
|
81
137
|
}
|
|
82
|
-
|
|
83
|
-
AngularFirebaseAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, imports: [i1.AuthModule] });
|
|
84
|
-
AngularFirebaseAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, providers: [
|
|
85
|
-
{
|
|
86
|
-
provide: 'Authentication',
|
|
87
|
-
useFactory: (authenticationService, userRepository) => {
|
|
88
|
-
return new Authentication(authenticationService, userRepository);
|
|
89
|
-
},
|
|
90
|
-
deps: ['AuthenticationService', 'UserRepository'],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
provide: 'AuthenticationService',
|
|
94
|
-
useFactory: (angularFireAuth) => {
|
|
95
|
-
return new AuthenticationFirebaseAuthService(angularFireAuth);
|
|
96
|
-
},
|
|
97
|
-
deps: [Auth],
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
provide: 'Register',
|
|
101
|
-
useFactory: (registerService, userRepository) => {
|
|
102
|
-
return new Register(registerService, userRepository);
|
|
103
|
-
},
|
|
104
|
-
deps: ['RegisterService', 'UserRepository'],
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
provide: 'RegisterService',
|
|
108
|
-
useFactory: (angularFireAuth) => {
|
|
109
|
-
return new RegisterFirebaseAuthService(angularFireAuth);
|
|
110
|
-
},
|
|
111
|
-
deps: [Auth],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
provide: 'SignOut',
|
|
115
|
-
useFactory: (authenticationService) => {
|
|
116
|
-
return new SignOut(authenticationService);
|
|
117
|
-
},
|
|
118
|
-
deps: ['AuthenticationService'],
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
provide: 'RecoveryPassword',
|
|
122
|
-
useFactory: (authenticationService) => {
|
|
123
|
-
return new RecoveryPassword(authenticationService);
|
|
124
|
-
},
|
|
125
|
-
deps: ['AuthenticationService'],
|
|
126
|
-
},
|
|
127
|
-
], imports: [provideAuth((injector) => {
|
|
128
|
-
const app = injector.get(FirebaseApp);
|
|
129
|
-
try {
|
|
130
|
-
return initializeAuth(app, {
|
|
131
|
-
persistence: [indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence],
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
catch (error) {
|
|
135
|
-
if (error instanceof Error)
|
|
136
|
-
console.error('Error initializing auth', error.message);
|
|
137
|
-
return getAuth(app);
|
|
138
|
-
}
|
|
139
|
-
})] });
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, decorators: [{
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirebaseAuthModule, decorators: [{
|
|
141
139
|
type: NgModule,
|
|
142
140
|
args: [{
|
|
143
|
-
imports: [
|
|
141
|
+
imports: [],
|
|
142
|
+
providers: [
|
|
144
143
|
provideAuth((injector) => {
|
|
145
144
|
const app = injector.get(FirebaseApp);
|
|
146
145
|
try {
|
|
@@ -154,8 +153,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
154
153
|
return getAuth(app);
|
|
155
154
|
}
|
|
156
155
|
}),
|
|
157
|
-
],
|
|
158
|
-
providers: [
|
|
159
156
|
{
|
|
160
157
|
provide: 'Authentication',
|
|
161
158
|
useFactory: (authenticationService, userRepository) => {
|
|
@@ -220,268 +217,268 @@ class AngularFirestoreModule {
|
|
|
220
217
|
],
|
|
221
218
|
};
|
|
222
219
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
220
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
221
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule] }); }
|
|
222
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirestoreModule, providers: [
|
|
223
|
+
provideFirestore((injector) => {
|
|
224
|
+
const platformId = injector.get(PLATFORM_ID);
|
|
225
|
+
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
226
|
+
return initializeFirestore(injector.get(FirebaseApp), {
|
|
227
|
+
ignoreUndefinedProperties: true,
|
|
228
|
+
});
|
|
229
|
+
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
230
|
+
experimentalForceLongPolling: true,
|
|
231
|
+
ignoreUndefinedProperties: true,
|
|
232
|
+
localCache: memoryLocalCache(),
|
|
233
|
+
});
|
|
234
|
+
return firestore;
|
|
235
|
+
}),
|
|
236
|
+
{
|
|
237
|
+
provide: 'FirestoreOptions',
|
|
238
|
+
useFactory: (firestore, platformId) => ({
|
|
239
|
+
firestore: new ConnectFirestoreService(firestore),
|
|
240
|
+
interceptors: {
|
|
241
|
+
request: (request) => {
|
|
242
|
+
if (isPlatformBrowser(platformId))
|
|
243
|
+
return request;
|
|
244
|
+
const interval = setInterval(() => { }, 100);
|
|
245
|
+
request.interval = interval;
|
|
234
246
|
return request;
|
|
235
|
-
|
|
236
|
-
request
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
if (isPlatformBrowser(platformId))
|
|
247
|
+
},
|
|
248
|
+
response: (response, request) => {
|
|
249
|
+
if (isPlatformBrowser(platformId))
|
|
250
|
+
return response;
|
|
251
|
+
clearInterval(request.interval);
|
|
241
252
|
return response;
|
|
242
|
-
|
|
243
|
-
return response;
|
|
253
|
+
},
|
|
244
254
|
},
|
|
255
|
+
}),
|
|
256
|
+
deps: [Firestore, PLATFORM_ID],
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
provide: 'BeautyProfileRepository',
|
|
260
|
+
useFactory: (config, userRepository) => {
|
|
261
|
+
return new UserBeautyProfileFirestoreRepository(config, userRepository);
|
|
245
262
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
useFactory: (options) => {
|
|
462
|
-
return new SequenceFirestoreRepository(options);
|
|
463
|
-
},
|
|
464
|
-
deps: ['FirestoreOptions'],
|
|
465
|
-
},
|
|
466
|
-
], imports: [AngularElasticSeachModule,
|
|
467
|
-
provideFirestore((injector) => {
|
|
468
|
-
const platformId = injector.get(PLATFORM_ID);
|
|
469
|
-
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
470
|
-
return initializeFirestore(injector.get(FirebaseApp), {
|
|
471
|
-
ignoreUndefinedProperties: true,
|
|
472
|
-
});
|
|
473
|
-
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
474
|
-
experimentalForceLongPolling: true,
|
|
475
|
-
ignoreUndefinedProperties: true,
|
|
476
|
-
localCache: memoryLocalCache(),
|
|
477
|
-
});
|
|
478
|
-
return firestore;
|
|
479
|
-
})] });
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
|
|
263
|
+
deps: ['FirestoreOptions', 'UserRepository'],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
provide: 'Buy2WinRepository',
|
|
267
|
+
useFactory: (options) => {
|
|
268
|
+
return new Buy2WinFirestoreRepository(options);
|
|
269
|
+
},
|
|
270
|
+
deps: ['FirestoreOptions'],
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
provide: CategoryFirestoreRepository,
|
|
274
|
+
useFactory: (options) => {
|
|
275
|
+
return new CategoryFirestoreRepository(options);
|
|
276
|
+
},
|
|
277
|
+
deps: ['FirestoreOptions'],
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
provide: 'CheckoutRepository',
|
|
281
|
+
useFactory: (options) => {
|
|
282
|
+
return new CheckoutFirestoreRepository(options);
|
|
283
|
+
},
|
|
284
|
+
deps: ['FirestoreOptions'],
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
provide: 'CheckoutSubscriptionRepository',
|
|
288
|
+
useFactory: (options) => {
|
|
289
|
+
return new CheckoutSubscriptionFirestoreRepository(options);
|
|
290
|
+
},
|
|
291
|
+
deps: ['FirestoreOptions'],
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
provide: 'CouponRepository',
|
|
295
|
+
useFactory: (options) => {
|
|
296
|
+
return new CouponFirestoreRepository(options);
|
|
297
|
+
},
|
|
298
|
+
deps: ['FirestoreOptions'],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
provide: 'CampaignHashtagRepository',
|
|
302
|
+
useFactory: (options) => {
|
|
303
|
+
return new CampaignHashtagFirestoreRepository(options);
|
|
304
|
+
},
|
|
305
|
+
deps: ['FirestoreOptions'],
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
provide: 'CampaignDashboardRepository',
|
|
309
|
+
useFactory: (options) => {
|
|
310
|
+
return new CampaignDashboardFirestoreRepository(options);
|
|
311
|
+
},
|
|
312
|
+
deps: ['FirestoreOptions'],
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
provide: 'EditionRepository',
|
|
316
|
+
useFactory: (options, subscriptionRepository) => {
|
|
317
|
+
return new SubscriptionEditionFirestoreRepository(options, subscriptionRepository);
|
|
318
|
+
},
|
|
319
|
+
deps: ['FirestoreOptions', 'SubscriptionRepository'],
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
provide: 'GroupRepository',
|
|
323
|
+
useFactory: (options) => {
|
|
324
|
+
return new GroupFirestoreRepository(options);
|
|
325
|
+
},
|
|
326
|
+
deps: ['FirestoreOptions'],
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
provide: 'HomeRepository',
|
|
330
|
+
useFactory: (options) => {
|
|
331
|
+
return new HomeFirestoreRepository(options);
|
|
332
|
+
},
|
|
333
|
+
deps: ['FirestoreOptions'],
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
provide: 'LeadRepository',
|
|
337
|
+
useFactory: (options) => {
|
|
338
|
+
return new LeadFirestoreRepository(options);
|
|
339
|
+
},
|
|
340
|
+
deps: ['FirestoreOptions'],
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
provide: 'LegacyOrderRepository',
|
|
344
|
+
useFactory: (options) => {
|
|
345
|
+
return new LegacyOrderFirestoreRepository(options);
|
|
346
|
+
},
|
|
347
|
+
deps: ['FirestoreOptions'],
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
provide: 'ShopMenuRepository',
|
|
351
|
+
useFactory: (options) => {
|
|
352
|
+
return new ShopMenuFirestoreRepository(options);
|
|
353
|
+
},
|
|
354
|
+
deps: ['FirestoreOptions'],
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
provide: 'OrderRepository',
|
|
358
|
+
useFactory: (options) => {
|
|
359
|
+
return new OrderFirestoreRepository(options);
|
|
360
|
+
},
|
|
361
|
+
deps: ['FirestoreOptions'],
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
provide: 'PaymentRepository',
|
|
365
|
+
useFactory: (options) => {
|
|
366
|
+
return new PaymentFirestoreRepository(options);
|
|
367
|
+
},
|
|
368
|
+
deps: ['FirestoreOptions'],
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
provide: ProductFirestoreRepository,
|
|
372
|
+
useFactory: (options) => {
|
|
373
|
+
return new ProductFirestoreRepository(options);
|
|
374
|
+
},
|
|
375
|
+
deps: ['FirestoreOptions'],
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
provide: 'ShopSettingsRepository',
|
|
379
|
+
useFactory: (options) => {
|
|
380
|
+
return new ShopSettingsFirestoreRepository(options);
|
|
381
|
+
},
|
|
382
|
+
deps: ['FirestoreOptions'],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
provide: 'SubscriptionPaymentRepository',
|
|
386
|
+
useFactory: (options, subscriptionRepository) => {
|
|
387
|
+
return new SubscriptionPaymentFirestoreRepository(options, subscriptionRepository);
|
|
388
|
+
},
|
|
389
|
+
deps: ['FirestoreOptions', 'SubscriptionRepository'],
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
provide: 'SubscriptionPlanRepository',
|
|
393
|
+
useFactory: (options) => {
|
|
394
|
+
return new SubscriptionPlanFirestoreRepository(options);
|
|
395
|
+
},
|
|
396
|
+
deps: ['FirestoreOptions'],
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
provide: 'SubscriptionProductRepository',
|
|
400
|
+
useFactory: (options) => {
|
|
401
|
+
return new SubscriptionProductFirestoreRepository(options);
|
|
402
|
+
},
|
|
403
|
+
deps: ['FirestoreOptions'],
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
provide: 'SubscriptionRepository',
|
|
407
|
+
useFactory: (options) => {
|
|
408
|
+
return new SubscriptionFirestoreRepository(options);
|
|
409
|
+
},
|
|
410
|
+
deps: ['FirestoreOptions'],
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
provide: 'UserRepository',
|
|
414
|
+
useFactory: (options) => {
|
|
415
|
+
return new UserFirestoreRepository(options);
|
|
416
|
+
},
|
|
417
|
+
deps: ['FirestoreOptions'],
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
provide: 'UserAddressRepository',
|
|
421
|
+
useFactory: (options, userRepository) => {
|
|
422
|
+
return new UserAddressFirestoreRepository(options, userRepository);
|
|
423
|
+
},
|
|
424
|
+
deps: ['FirestoreOptions', 'UserRepository'],
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
provide: 'UserPaymentMethodRepository',
|
|
428
|
+
useFactory: (options, userRepository) => {
|
|
429
|
+
return new UserPaymentMethodFirestoreRepository(options, userRepository);
|
|
430
|
+
},
|
|
431
|
+
deps: ['FirestoreOptions', 'UserRepository'],
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
provide: 'SubscriptionMaterializationRepository',
|
|
435
|
+
useFactory: (options) => {
|
|
436
|
+
return new SubscriptionMaterializationFirestoreRepository(options);
|
|
437
|
+
},
|
|
438
|
+
deps: ['FirestoreOptions'],
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
provide: 'SubscriptionSummaryRepository',
|
|
442
|
+
useFactory: (options) => {
|
|
443
|
+
return new SubscriptionSummaryFirestoreRepository(options);
|
|
444
|
+
},
|
|
445
|
+
deps: ['FirestoreOptions'],
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
provide: ProductVariantFirestoreRepository,
|
|
449
|
+
useFactory: (options, productRepository) => {
|
|
450
|
+
return new ProductVariantFirestoreRepository(options, productRepository);
|
|
451
|
+
},
|
|
452
|
+
deps: ['FirestoreOptions', ProductFirestoreRepository],
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
provide: 'OrderBlockedRepository',
|
|
456
|
+
useFactory: (options) => {
|
|
457
|
+
return new OrderBlockedFirestoreRepository(options);
|
|
458
|
+
},
|
|
459
|
+
deps: ['FirestoreOptions'],
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
provide: 'LogRepository',
|
|
463
|
+
useFactory: (options) => {
|
|
464
|
+
return new LogFirestoreRepository(options);
|
|
465
|
+
},
|
|
466
|
+
deps: ['FirestoreOptions'],
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
provide: 'SequenceRepository',
|
|
470
|
+
useFactory: (options) => {
|
|
471
|
+
return new SequenceFirestoreRepository(options);
|
|
472
|
+
},
|
|
473
|
+
deps: ['FirestoreOptions'],
|
|
474
|
+
},
|
|
475
|
+
], imports: [AngularElasticSeachModule] }); }
|
|
476
|
+
}
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularFirestoreModule, decorators: [{
|
|
481
478
|
type: NgModule,
|
|
482
479
|
args: [{
|
|
483
|
-
imports: [
|
|
484
|
-
|
|
480
|
+
imports: [AngularElasticSeachModule],
|
|
481
|
+
providers: [
|
|
485
482
|
provideFirestore((injector) => {
|
|
486
483
|
const platformId = injector.get(PLATFORM_ID);
|
|
487
484
|
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
@@ -495,8 +492,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
495
492
|
});
|
|
496
493
|
return firestore;
|
|
497
494
|
}),
|
|
498
|
-
],
|
|
499
|
-
providers: [
|
|
500
495
|
{
|
|
501
496
|
provide: 'FirestoreOptions',
|
|
502
497
|
useFactory: (firestore, platformId) => ({
|
|
@@ -747,166 +742,166 @@ class AngularHasuraGraphQLModule {
|
|
|
747
742
|
providers: [{ provide: HASURA_OPTIONS, useValue: options }],
|
|
748
743
|
};
|
|
749
744
|
}
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularHasuraGraphQLModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
746
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularHasuraGraphQLModule }); }
|
|
747
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularHasuraGraphQLModule, providers: [
|
|
748
|
+
{
|
|
749
|
+
provide: 'HasuraConfig',
|
|
750
|
+
useFactory: (options, platformId) => ({
|
|
751
|
+
endpoint: options.endpoint,
|
|
752
|
+
authOptions: options.credentials,
|
|
753
|
+
cache: options.cache,
|
|
754
|
+
interceptors: {
|
|
755
|
+
request: (request) => {
|
|
756
|
+
if (isPlatformBrowser(platformId))
|
|
757
|
+
return request;
|
|
758
|
+
const interval = setInterval(() => { }, 100);
|
|
759
|
+
request.interval = interval;
|
|
763
760
|
return request;
|
|
764
|
-
|
|
765
|
-
request
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
if (isPlatformBrowser(platformId))
|
|
761
|
+
},
|
|
762
|
+
response: (response, request) => {
|
|
763
|
+
if (isPlatformBrowser(platformId))
|
|
764
|
+
return response;
|
|
765
|
+
clearInterval(request.interval);
|
|
770
766
|
return response;
|
|
771
|
-
|
|
772
|
-
return response;
|
|
767
|
+
},
|
|
773
768
|
},
|
|
769
|
+
}),
|
|
770
|
+
deps: [HASURA_OPTIONS, PLATFORM_ID],
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
provide: 'CategoryRepository',
|
|
774
|
+
useExisting: CategoryHasuraGraphQLRepository,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
provide: CategoryHasuraGraphQLRepository,
|
|
778
|
+
useFactory: (options, productRepository, categoryFilterRepository) => {
|
|
779
|
+
return new CategoryHasuraGraphQLRepository(options, productRepository, categoryFilterRepository);
|
|
774
780
|
},
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
useFactory: (options, productRepository) => {
|
|
900
|
-
return new ProductErrorsHasuraGraphQLRepository(options, productRepository);
|
|
901
|
-
},
|
|
902
|
-
deps: ['HasuraConfig', ProductHasuraGraphQLRepository],
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
provide: 'ProductErrorsRepository',
|
|
906
|
-
useExisting: ProductErrorsHasuraGraphQLRepository,
|
|
907
|
-
},
|
|
908
|
-
] });
|
|
909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
|
|
781
|
+
deps: ['HasuraConfig', ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
provide: 'ProductRepository',
|
|
785
|
+
useExisting: ProductHasuraGraphQLRepository,
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
provide: ProductHasuraGraphQLRepository,
|
|
789
|
+
useFactory: (hasuraConfig) => {
|
|
790
|
+
return new ProductHasuraGraphQLRepository(hasuraConfig);
|
|
791
|
+
},
|
|
792
|
+
deps: ['HasuraConfig'],
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
provide: 'ProductReviewRepository',
|
|
796
|
+
useExisting: ProductReviewHasuraGraphQLRepository,
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
provide: ProductReviewHasuraGraphQLRepository,
|
|
800
|
+
useFactory: (hasuraConfig) => {
|
|
801
|
+
return new ProductReviewHasuraGraphQLRepository(hasuraConfig);
|
|
802
|
+
},
|
|
803
|
+
deps: ['HasuraConfig'],
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
provide: 'VariantRepository',
|
|
807
|
+
useExisting: VariantHasuraGraphQLRepository,
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
provide: VariantHasuraGraphQLRepository,
|
|
811
|
+
useFactory: (hasuraConfig) => {
|
|
812
|
+
return new VariantHasuraGraphQLRepository(hasuraConfig);
|
|
813
|
+
},
|
|
814
|
+
deps: ['HasuraConfig'],
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
provide: 'ProductStockNotificationRepository',
|
|
818
|
+
useExisting: ProductStockNotificationHasuraGraphQLRepository,
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
provide: ProductStockNotificationHasuraGraphQLRepository,
|
|
822
|
+
useFactory: (hasuraConfig) => {
|
|
823
|
+
return new ProductStockNotificationHasuraGraphQLRepository(hasuraConfig);
|
|
824
|
+
},
|
|
825
|
+
deps: ['HasuraConfig'],
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
provide: 'CategoryFilterRepository',
|
|
829
|
+
useExisting: CategoryFilterHasuraGraphQLRepository,
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
provide: CategoryFilterHasuraGraphQLRepository,
|
|
833
|
+
useFactory: (options) => {
|
|
834
|
+
return new CategoryFilterHasuraGraphQLRepository(options);
|
|
835
|
+
},
|
|
836
|
+
deps: ['HasuraConfig'],
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
provide: 'FilterOptionRepository',
|
|
840
|
+
useExisting: FilterOptionHasuraGraphQLRepository,
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
provide: FilterOptionHasuraGraphQLRepository,
|
|
844
|
+
useFactory: (options) => {
|
|
845
|
+
return new FilterOptionHasuraGraphQLRepository(options);
|
|
846
|
+
},
|
|
847
|
+
deps: ['HasuraConfig'],
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
provide: 'FilterRepository',
|
|
851
|
+
useExisting: FilterHasuraGraphQLRepository,
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
provide: FilterHasuraGraphQLRepository,
|
|
855
|
+
useFactory: (options, filterOptionRepository, categoryFilterRepository) => {
|
|
856
|
+
return new FilterHasuraGraphQLRepository(options, filterOptionRepository, categoryFilterRepository);
|
|
857
|
+
},
|
|
858
|
+
deps: ['HasuraConfig', FilterOptionHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
provide: CategoryCollectionChildrenHasuraGraphQLRepository,
|
|
862
|
+
useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options),
|
|
863
|
+
deps: ['HasuraConfig'],
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
provide: 'CategoryCollectionChildrenRepository',
|
|
867
|
+
useExisting: CategoryCollectionChildrenHasuraGraphQLRepository,
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
provide: CategoryProductHasuraGraphQLRepository,
|
|
871
|
+
useFactory: (options) => {
|
|
872
|
+
return new CategoryProductHasuraGraphQLRepository(options);
|
|
873
|
+
},
|
|
874
|
+
deps: ['HasuraConfig'],
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
provide: 'CategoryProductRepository',
|
|
878
|
+
useExisting: CategoryProductHasuraGraphQLRepository,
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
provide: WishlistHasuraGraphQLRepository,
|
|
882
|
+
useFactory: (options, categoryProductRepository) => {
|
|
883
|
+
return new WishlistHasuraGraphQLRepository(options, categoryProductRepository);
|
|
884
|
+
},
|
|
885
|
+
deps: ['HasuraConfig', CategoryProductHasuraGraphQLRepository],
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
provide: 'WishlistRepository',
|
|
889
|
+
useExisting: WishlistHasuraGraphQLRepository,
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
provide: ProductErrorsHasuraGraphQLRepository,
|
|
893
|
+
useFactory: (options, productRepository) => {
|
|
894
|
+
return new ProductErrorsHasuraGraphQLRepository(options, productRepository);
|
|
895
|
+
},
|
|
896
|
+
deps: ['HasuraConfig', ProductHasuraGraphQLRepository],
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
provide: 'ProductErrorsRepository',
|
|
900
|
+
useExisting: ProductErrorsHasuraGraphQLRepository,
|
|
901
|
+
},
|
|
902
|
+
] }); }
|
|
903
|
+
}
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
|
|
910
905
|
type: NgModule,
|
|
911
906
|
args: [{
|
|
912
907
|
providers: [
|
|
@@ -1075,17 +1070,17 @@ class AngularVertexSeachModule {
|
|
|
1075
1070
|
providers: [{ provide: VERTEX_CONFIG, useValue: options }],
|
|
1076
1071
|
};
|
|
1077
1072
|
}
|
|
1073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularVertexSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1074
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularVertexSeachModule }); }
|
|
1075
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularVertexSeachModule, providers: [
|
|
1076
|
+
{
|
|
1077
|
+
provide: ProductsVertexSearch,
|
|
1078
|
+
useFactory: (configuration) => new ProductsVertexSearch(new VertexAxiosAdapter(configuration)),
|
|
1079
|
+
deps: [VERTEX_CONFIG],
|
|
1080
|
+
},
|
|
1081
|
+
] }); }
|
|
1078
1082
|
}
|
|
1079
|
-
|
|
1080
|
-
AngularVertexSeachModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularVertexSeachModule });
|
|
1081
|
-
AngularVertexSeachModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularVertexSeachModule, providers: [
|
|
1082
|
-
{
|
|
1083
|
-
provide: ProductsVertexSearch,
|
|
1084
|
-
useFactory: (configuration) => new ProductsVertexSearch(new VertexAxiosAdapter(configuration)),
|
|
1085
|
-
deps: [VERTEX_CONFIG],
|
|
1086
|
-
},
|
|
1087
|
-
] });
|
|
1088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularVertexSeachModule, decorators: [{
|
|
1083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularVertexSeachModule, decorators: [{
|
|
1089
1084
|
type: NgModule,
|
|
1090
1085
|
args: [{
|
|
1091
1086
|
providers: [
|
|
@@ -1110,10 +1105,10 @@ class CookieDataPersistence {
|
|
|
1110
1105
|
set(key, value) {
|
|
1111
1106
|
return from(cookie.set(key, value)).pipe(map(() => { }));
|
|
1112
1107
|
}
|
|
1108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CookieDataPersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1109
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CookieDataPersistence }); }
|
|
1113
1110
|
}
|
|
1114
|
-
|
|
1115
|
-
CookieDataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CookieDataPersistence });
|
|
1116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CookieDataPersistence, decorators: [{
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CookieDataPersistence, decorators: [{
|
|
1117
1112
|
type: Injectable
|
|
1118
1113
|
}] });
|
|
1119
1114
|
|
|
@@ -1138,48 +1133,48 @@ class AuthService {
|
|
|
1138
1133
|
getFireUser() {
|
|
1139
1134
|
return authState(this.angularFireAuth).pipe(catchError(() => of(null)));
|
|
1140
1135
|
}
|
|
1136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthService, deps: [{ token: i1.Auth }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1137
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthService }); }
|
|
1141
1138
|
}
|
|
1142
|
-
|
|
1143
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AuthService });
|
|
1144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AuthService, decorators: [{
|
|
1139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthService, decorators: [{
|
|
1145
1140
|
type: Injectable
|
|
1146
|
-
}], ctorParameters:
|
|
1141
|
+
}], ctorParameters: () => [{ type: i1.Auth }, { type: undefined, decorators: [{
|
|
1147
1142
|
type: Inject,
|
|
1148
1143
|
args: ['UserRepository']
|
|
1149
|
-
}] }]
|
|
1144
|
+
}] }] });
|
|
1150
1145
|
|
|
1151
1146
|
class CheckoutRepositoriesFacade {
|
|
1152
1147
|
constructor(checkoutRepository, userRepository) {
|
|
1153
1148
|
this.checkoutRepository = checkoutRepository;
|
|
1154
1149
|
this.userRepository = userRepository;
|
|
1155
1150
|
}
|
|
1151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutRepositoriesFacade, deps: [{ token: 'CheckoutRepository' }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1152
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutRepositoriesFacade }); }
|
|
1156
1153
|
}
|
|
1157
|
-
|
|
1158
|
-
CheckoutRepositoriesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutRepositoriesFacade });
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutRepositoriesFacade, decorators: [{
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutRepositoriesFacade, decorators: [{
|
|
1160
1155
|
type: Injectable
|
|
1161
|
-
}], ctorParameters:
|
|
1156
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1162
1157
|
type: Inject,
|
|
1163
1158
|
args: ['CheckoutRepository']
|
|
1164
1159
|
}] }, { type: undefined, decorators: [{
|
|
1165
1160
|
type: Inject,
|
|
1166
1161
|
args: ['UserRepository']
|
|
1167
|
-
}] }]
|
|
1162
|
+
}] }] });
|
|
1168
1163
|
|
|
1169
1164
|
class CheckoutDependenciesFacade {
|
|
1170
1165
|
constructor(dataPersistence, httpClient) {
|
|
1171
1166
|
this.dataPersistence = dataPersistence;
|
|
1172
1167
|
this.httpClient = httpClient;
|
|
1173
1168
|
}
|
|
1169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutDependenciesFacade, deps: [{ token: PERSISTENCE_PROVIDER }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1170
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutDependenciesFacade }); }
|
|
1174
1171
|
}
|
|
1175
|
-
|
|
1176
|
-
CheckoutDependenciesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutDependenciesFacade });
|
|
1177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutDependenciesFacade, decorators: [{
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutDependenciesFacade, decorators: [{
|
|
1178
1173
|
type: Injectable
|
|
1179
|
-
}], ctorParameters:
|
|
1174
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1180
1175
|
type: Inject,
|
|
1181
1176
|
args: [PERSISTENCE_PROVIDER]
|
|
1182
|
-
}] }, { type: i1$
|
|
1177
|
+
}] }, { type: i1$1.HttpClient }] });
|
|
1183
1178
|
|
|
1184
1179
|
class ConfigurationFacade {
|
|
1185
1180
|
constructor(defaultShop, firebaseOptions) {
|
|
@@ -1192,18 +1187,18 @@ class ConfigurationFacade {
|
|
|
1192
1187
|
getProjectId() {
|
|
1193
1188
|
return this.firebaseOptions.projectId;
|
|
1194
1189
|
}
|
|
1190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfigurationFacade, deps: [{ token: DEFAULT_SHOP }, { token: FIREBASE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1191
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfigurationFacade }); }
|
|
1195
1192
|
}
|
|
1196
|
-
|
|
1197
|
-
ConfigurationFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ConfigurationFacade });
|
|
1198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ConfigurationFacade, decorators: [{
|
|
1193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfigurationFacade, decorators: [{
|
|
1199
1194
|
type: Injectable
|
|
1200
|
-
}], ctorParameters:
|
|
1195
|
+
}], ctorParameters: () => [{ type: i3.Shops, decorators: [{
|
|
1201
1196
|
type: Inject,
|
|
1202
1197
|
args: [DEFAULT_SHOP]
|
|
1203
1198
|
}] }, { type: undefined, decorators: [{
|
|
1204
1199
|
type: Inject,
|
|
1205
1200
|
args: [FIREBASE_OPTIONS]
|
|
1206
|
-
}] }]
|
|
1201
|
+
}] }] });
|
|
1207
1202
|
|
|
1208
1203
|
class CheckoutService {
|
|
1209
1204
|
constructor(repositoriesFacade, dependenciesFacade, configurationFacade) {
|
|
@@ -1278,7 +1273,7 @@ class CheckoutService {
|
|
|
1278
1273
|
})), concatMap(() => this.getCheckout()));
|
|
1279
1274
|
}
|
|
1280
1275
|
createOrder(checkoutPayload, paymentProvider, applicationVersion) {
|
|
1281
|
-
return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/
|
|
1276
|
+
return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/checkoutV5`, {
|
|
1282
1277
|
data: {
|
|
1283
1278
|
...checkoutPayload,
|
|
1284
1279
|
applicationVersion,
|
|
@@ -1295,12 +1290,12 @@ class CheckoutService {
|
|
|
1295
1290
|
await this.dependenciesFacade.dataPersistence.set('checkoutId', checkout.id).toPromise();
|
|
1296
1291
|
return checkout;
|
|
1297
1292
|
}
|
|
1293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutService, deps: [{ token: CheckoutRepositoriesFacade }, { token: CheckoutDependenciesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1294
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutService }); }
|
|
1298
1295
|
}
|
|
1299
|
-
|
|
1300
|
-
CheckoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutService });
|
|
1301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutService, decorators: [{
|
|
1296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutService, decorators: [{
|
|
1302
1297
|
type: Injectable
|
|
1303
|
-
}], ctorParameters:
|
|
1298
|
+
}], ctorParameters: () => [{ type: CheckoutRepositoriesFacade }, { type: CheckoutDependenciesFacade }, { type: ConfigurationFacade }] });
|
|
1304
1299
|
|
|
1305
1300
|
class CartServicesFacade {
|
|
1306
1301
|
constructor(authService, checkoutService, httpClient) {
|
|
@@ -1308,12 +1303,12 @@ class CartServicesFacade {
|
|
|
1308
1303
|
this.checkoutService = checkoutService;
|
|
1309
1304
|
this.httpClient = httpClient;
|
|
1310
1305
|
}
|
|
1306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartServicesFacade, deps: [{ token: AuthService }, { token: CheckoutService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1307
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartServicesFacade }); }
|
|
1311
1308
|
}
|
|
1312
|
-
|
|
1313
|
-
CartServicesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartServicesFacade });
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartServicesFacade, decorators: [{
|
|
1309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartServicesFacade, decorators: [{
|
|
1315
1310
|
type: Injectable
|
|
1316
|
-
}], ctorParameters:
|
|
1311
|
+
}], ctorParameters: () => [{ type: AuthService }, { type: CheckoutService }, { type: i1$1.HttpClient }] });
|
|
1317
1312
|
|
|
1318
1313
|
class CartService {
|
|
1319
1314
|
constructor(servicesFacade, configurationFacade) {
|
|
@@ -1372,12 +1367,12 @@ class CartService {
|
|
|
1372
1367
|
buildCartFromCheckout(checkoutData) {
|
|
1373
1368
|
return this.servicesFacade.checkoutService.getCheckout(checkoutData).pipe(map((checkout) => checkout.lineItems), concatMap((lineItems) => of(this.generateCartObject(lineItems))));
|
|
1374
1369
|
}
|
|
1370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartService, deps: [{ token: CartServicesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1371
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartService }); }
|
|
1375
1372
|
}
|
|
1376
|
-
|
|
1377
|
-
CartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartService });
|
|
1378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartService, decorators: [{
|
|
1373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CartService, decorators: [{
|
|
1379
1374
|
type: Injectable
|
|
1380
|
-
}], ctorParameters:
|
|
1375
|
+
}], ctorParameters: () => [{ type: CartServicesFacade }, { type: ConfigurationFacade }] });
|
|
1381
1376
|
|
|
1382
1377
|
class NewCategoryStructureAdapter {
|
|
1383
1378
|
constructor(categoryRepository) {
|
|
@@ -1409,15 +1404,15 @@ class NewCategoryStructureAdapter {
|
|
|
1409
1404
|
category.brandCategory;
|
|
1410
1405
|
return collectionCategory ? this.categoryRepository.get({ id: category.id }) : category;
|
|
1411
1406
|
}
|
|
1407
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NewCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1408
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NewCategoryStructureAdapter }); }
|
|
1412
1409
|
}
|
|
1413
|
-
|
|
1414
|
-
NewCategoryStructureAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: NewCategoryStructureAdapter });
|
|
1415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: NewCategoryStructureAdapter, decorators: [{
|
|
1410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NewCategoryStructureAdapter, decorators: [{
|
|
1416
1411
|
type: Injectable
|
|
1417
|
-
}], ctorParameters:
|
|
1412
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1418
1413
|
type: Inject,
|
|
1419
1414
|
args: ['CategoryRepository']
|
|
1420
|
-
}] }]
|
|
1415
|
+
}] }] });
|
|
1421
1416
|
|
|
1422
1417
|
class OldCategoryStructureAdapter {
|
|
1423
1418
|
constructor(categoryRepository) {
|
|
@@ -1429,15 +1424,15 @@ class OldCategoryStructureAdapter {
|
|
|
1429
1424
|
: await this.categoryRepository.get({ id: category.id }).then((categoryFound) => categoryFound.products);
|
|
1430
1425
|
return { id: { operator: Where.IN, value: productsIds } };
|
|
1431
1426
|
}
|
|
1427
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OldCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1428
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OldCategoryStructureAdapter }); }
|
|
1432
1429
|
}
|
|
1433
|
-
|
|
1434
|
-
OldCategoryStructureAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OldCategoryStructureAdapter });
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OldCategoryStructureAdapter, decorators: [{
|
|
1430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OldCategoryStructureAdapter, decorators: [{
|
|
1436
1431
|
type: Injectable
|
|
1437
|
-
}], ctorParameters:
|
|
1432
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1438
1433
|
type: Inject,
|
|
1439
1434
|
args: ['CategoryRepository']
|
|
1440
|
-
}] }]
|
|
1435
|
+
}] }] });
|
|
1441
1436
|
|
|
1442
1437
|
class CatalogSearchContext {
|
|
1443
1438
|
constructor(categoryStrategy, termStrategy, profileStrategy) {
|
|
@@ -1600,12 +1595,12 @@ class CategorySearchStrategy {
|
|
|
1600
1595
|
distinct: totalResult.distinct,
|
|
1601
1596
|
};
|
|
1602
1597
|
}
|
|
1598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategorySearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1599
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategorySearchStrategy }); }
|
|
1603
1600
|
}
|
|
1604
|
-
|
|
1605
|
-
CategorySearchStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategorySearchStrategy });
|
|
1606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategorySearchStrategy, decorators: [{
|
|
1601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategorySearchStrategy, decorators: [{
|
|
1607
1602
|
type: Injectable
|
|
1608
|
-
}], ctorParameters:
|
|
1603
|
+
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1609
1604
|
|
|
1610
1605
|
class ProfileSearchStrategy {
|
|
1611
1606
|
constructor(repositoryService, helpersService) {
|
|
@@ -1637,12 +1632,12 @@ class ProfileSearchStrategy {
|
|
|
1637
1632
|
};
|
|
1638
1633
|
return productCatalog.productRepository.findCatalog(repoParams, mainGender || (shop === Shops.MENSMARKET ? 'male' : 'female'), optionsCache);
|
|
1639
1634
|
}
|
|
1635
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProfileSearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1636
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProfileSearchStrategy }); }
|
|
1640
1637
|
}
|
|
1641
|
-
|
|
1642
|
-
ProfileSearchStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProfileSearchStrategy });
|
|
1643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProfileSearchStrategy, decorators: [{
|
|
1638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProfileSearchStrategy, decorators: [{
|
|
1644
1639
|
type: Injectable
|
|
1645
|
-
}], ctorParameters:
|
|
1640
|
+
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1646
1641
|
|
|
1647
1642
|
class TermSearchStrategy {
|
|
1648
1643
|
constructor(repositoryService, helpersService) {
|
|
@@ -1755,12 +1750,12 @@ class TermSearchStrategy {
|
|
|
1755
1750
|
.search(term, 999, shop === Shops.GLAMSHOP ? 'female' : 'male')
|
|
1756
1751
|
.then((products) => [...new Set(products.map((product) => product.id))]));
|
|
1757
1752
|
}
|
|
1753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TermSearchStrategy, deps: [{ token: CatalogRepositoryService }, { token: CatalogHelpersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1754
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TermSearchStrategy }); }
|
|
1758
1755
|
}
|
|
1759
|
-
|
|
1760
|
-
TermSearchStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TermSearchStrategy });
|
|
1761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TermSearchStrategy, decorators: [{
|
|
1756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TermSearchStrategy, decorators: [{
|
|
1762
1757
|
type: Injectable
|
|
1763
|
-
}], ctorParameters:
|
|
1758
|
+
}], ctorParameters: () => [{ type: CatalogRepositoryService }, { type: CatalogHelpersService }] });
|
|
1764
1759
|
|
|
1765
1760
|
class CatalogStrategiesFacade {
|
|
1766
1761
|
constructor(categoryStrategy, termStrategy, profileStrategy) {
|
|
@@ -1768,12 +1763,12 @@ class CatalogStrategiesFacade {
|
|
|
1768
1763
|
this.termStrategy = termStrategy;
|
|
1769
1764
|
this.profileStrategy = profileStrategy;
|
|
1770
1765
|
}
|
|
1766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogStrategiesFacade, deps: [{ token: CategorySearchStrategy }, { token: TermSearchStrategy }, { token: ProfileSearchStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1767
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogStrategiesFacade }); }
|
|
1771
1768
|
}
|
|
1772
|
-
|
|
1773
|
-
CatalogStrategiesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogStrategiesFacade });
|
|
1774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogStrategiesFacade, decorators: [{
|
|
1769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogStrategiesFacade, decorators: [{
|
|
1775
1770
|
type: Injectable
|
|
1776
|
-
}], ctorParameters:
|
|
1771
|
+
}], ctorParameters: () => [{ type: CategorySearchStrategy }, { type: TermSearchStrategy }, { type: ProfileSearchStrategy }] });
|
|
1777
1772
|
|
|
1778
1773
|
class CatalogServiceFacade {
|
|
1779
1774
|
constructor(helpersService, strategiesFacade, shop) {
|
|
@@ -1786,33 +1781,33 @@ class CatalogServiceFacade {
|
|
|
1786
1781
|
getCatalogService() {
|
|
1787
1782
|
return this.catalogService;
|
|
1788
1783
|
}
|
|
1784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogServiceFacade, deps: [{ token: CatalogHelpersService }, { token: CatalogStrategiesFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1785
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogServiceFacade }); }
|
|
1789
1786
|
}
|
|
1790
|
-
|
|
1791
|
-
CatalogServiceFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogServiceFacade });
|
|
1792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogServiceFacade, decorators: [{
|
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogServiceFacade, decorators: [{
|
|
1793
1788
|
type: Injectable
|
|
1794
|
-
}], ctorParameters:
|
|
1789
|
+
}], ctorParameters: () => [{ type: CatalogHelpersService }, { type: CatalogStrategiesFacade }, { type: i3.Shops, decorators: [{
|
|
1795
1790
|
type: Inject,
|
|
1796
1791
|
args: [DEFAULT_SHOP]
|
|
1797
|
-
}] }]
|
|
1792
|
+
}] }] });
|
|
1798
1793
|
|
|
1799
1794
|
class CategoryRepositoryFacade {
|
|
1800
1795
|
constructor(categoryRepository, categoryFilterRepository) {
|
|
1801
1796
|
this.categoryRepository = categoryRepository;
|
|
1802
1797
|
this.categoryFilterRepository = categoryFilterRepository;
|
|
1803
1798
|
}
|
|
1799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryRepositoryFacade, deps: [{ token: 'CategoryRepository' }, { token: 'CategoryFilterRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1800
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryRepositoryFacade }); }
|
|
1804
1801
|
}
|
|
1805
|
-
|
|
1806
|
-
CategoryRepositoryFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryRepositoryFacade });
|
|
1807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryRepositoryFacade, decorators: [{
|
|
1802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryRepositoryFacade, decorators: [{
|
|
1808
1803
|
type: Injectable
|
|
1809
|
-
}], ctorParameters:
|
|
1804
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1810
1805
|
type: Inject,
|
|
1811
1806
|
args: ['CategoryRepository']
|
|
1812
1807
|
}] }, { type: undefined, decorators: [{
|
|
1813
1808
|
type: Inject,
|
|
1814
1809
|
args: ['CategoryFilterRepository']
|
|
1815
|
-
}] }]
|
|
1810
|
+
}] }] });
|
|
1816
1811
|
|
|
1817
1812
|
class CategoryService {
|
|
1818
1813
|
constructor(categoryFacade, productCatalog, shop) {
|
|
@@ -1831,38 +1826,41 @@ class CategoryService {
|
|
|
1831
1826
|
.find({ filters: { brandCategory: true, shop: options?.shop || this.shop }, orderBy: { name: 'asc' } }, optionsCache)
|
|
1832
1827
|
.then(({ data }) => data.filter((category) => brands.includes(category.conditions.brand)));
|
|
1833
1828
|
}
|
|
1829
|
+
async getMenuBrands() {
|
|
1830
|
+
return this.categoryFacade.categoryRepository.getBrandsWithProducts();
|
|
1831
|
+
}
|
|
1834
1832
|
async fetchFilterOptions(category, optionsCache) {
|
|
1835
1833
|
return await this.categoryFacade.categoryFilterRepository
|
|
1836
1834
|
.find({ filters: { categoryId: +category.id } }, optionsCache)
|
|
1837
1835
|
.then(({ data }) => data.map((categoryFilter) => categoryFilter.filter));
|
|
1838
1836
|
}
|
|
1837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryService, deps: [{ token: CategoryRepositoryFacade }, { token: ProductCatalogFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1838
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryService }); }
|
|
1839
1839
|
}
|
|
1840
|
-
|
|
1841
|
-
CategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryService });
|
|
1842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryService, decorators: [{
|
|
1840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryService, decorators: [{
|
|
1843
1841
|
type: Injectable
|
|
1844
|
-
}], ctorParameters:
|
|
1842
|
+
}], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
|
|
1845
1843
|
type: Inject,
|
|
1846
1844
|
args: [DEFAULT_SHOP]
|
|
1847
|
-
}] }]
|
|
1845
|
+
}] }] });
|
|
1848
1846
|
|
|
1849
1847
|
class ProductCatalogFacade {
|
|
1850
1848
|
constructor(productRepository, categoryStructureAdapter) {
|
|
1851
1849
|
this.productRepository = productRepository;
|
|
1852
1850
|
this.categoryStructureAdapter = categoryStructureAdapter;
|
|
1853
1851
|
}
|
|
1852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductCatalogFacade, deps: [{ token: 'ProductRepository' }, { token: CATEGORY_STRUCTURE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1853
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductCatalogFacade }); }
|
|
1854
1854
|
}
|
|
1855
|
-
|
|
1856
|
-
ProductCatalogFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductCatalogFacade });
|
|
1857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductCatalogFacade, decorators: [{
|
|
1855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductCatalogFacade, decorators: [{
|
|
1858
1856
|
type: Injectable
|
|
1859
|
-
}], ctorParameters:
|
|
1857
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1860
1858
|
type: Inject,
|
|
1861
1859
|
args: ['ProductRepository']
|
|
1862
1860
|
}] }, { type: undefined, decorators: [{
|
|
1863
1861
|
type: Inject,
|
|
1864
1862
|
args: [CATEGORY_STRUCTURE]
|
|
1865
|
-
}] }]
|
|
1863
|
+
}] }] });
|
|
1866
1864
|
|
|
1867
1865
|
class CategoryServiceFacade {
|
|
1868
1866
|
constructor(categoryRepositoryFacade, productCatalogFacade, shop) {
|
|
@@ -1874,15 +1872,15 @@ class CategoryServiceFacade {
|
|
|
1874
1872
|
getCategoryService() {
|
|
1875
1873
|
return this.categoryService;
|
|
1876
1874
|
}
|
|
1875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryServiceFacade, deps: [{ token: CategoryRepositoryFacade }, { token: ProductCatalogFacade }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1876
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryServiceFacade }); }
|
|
1877
1877
|
}
|
|
1878
|
-
|
|
1879
|
-
CategoryServiceFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryServiceFacade });
|
|
1880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryServiceFacade, decorators: [{
|
|
1878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CategoryServiceFacade, decorators: [{
|
|
1881
1879
|
type: Injectable
|
|
1882
|
-
}], ctorParameters:
|
|
1880
|
+
}], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
|
|
1883
1881
|
type: Inject,
|
|
1884
1882
|
args: [DEFAULT_SHOP]
|
|
1885
|
-
}] }]
|
|
1883
|
+
}] }] });
|
|
1886
1884
|
|
|
1887
1885
|
class BrandManagerHelper {
|
|
1888
1886
|
constructor(productCatalog) {
|
|
@@ -1929,12 +1927,12 @@ class BrandManagerHelper {
|
|
|
1929
1927
|
}, options.mainGender)
|
|
1930
1928
|
.then((result) => result.distinct.brand);
|
|
1931
1929
|
}
|
|
1930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrandManagerHelper, deps: [{ token: ProductCatalogFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1931
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrandManagerHelper }); }
|
|
1932
1932
|
}
|
|
1933
|
-
|
|
1934
|
-
BrandManagerHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrandManagerHelper });
|
|
1935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrandManagerHelper, decorators: [{
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrandManagerHelper, decorators: [{
|
|
1936
1934
|
type: Injectable
|
|
1937
|
-
}], ctorParameters:
|
|
1935
|
+
}], ctorParameters: () => [{ type: ProductCatalogFacade }] });
|
|
1938
1936
|
|
|
1939
1937
|
class CatalogFilterHelper {
|
|
1940
1938
|
buildFilterQuery(filters) {
|
|
@@ -1970,10 +1968,10 @@ class CatalogFilterHelper {
|
|
|
1970
1968
|
}
|
|
1971
1969
|
return filterQuery;
|
|
1972
1970
|
}
|
|
1971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogFilterHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1972
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogFilterHelper }); }
|
|
1973
1973
|
}
|
|
1974
|
-
|
|
1975
|
-
CatalogFilterHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogFilterHelper });
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogFilterHelper, decorators: [{
|
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogFilterHelper, decorators: [{
|
|
1977
1975
|
type: Injectable
|
|
1978
1976
|
}] });
|
|
1979
1977
|
|
|
@@ -2020,10 +2018,10 @@ class CatalogSortHelper {
|
|
|
2020
2018
|
return {};
|
|
2021
2019
|
}
|
|
2022
2020
|
}
|
|
2021
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogSortHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2022
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogSortHelper }); }
|
|
2023
2023
|
}
|
|
2024
|
-
|
|
2025
|
-
CatalogSortHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogSortHelper });
|
|
2026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogSortHelper, decorators: [{
|
|
2024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogSortHelper, decorators: [{
|
|
2027
2025
|
type: Injectable
|
|
2028
2026
|
}] });
|
|
2029
2027
|
|
|
@@ -2058,10 +2056,10 @@ class ProductFieldsHelper {
|
|
|
2058
2056
|
'group',
|
|
2059
2057
|
];
|
|
2060
2058
|
}
|
|
2059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductFieldsHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2060
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductFieldsHelper }); }
|
|
2061
2061
|
}
|
|
2062
|
-
|
|
2063
|
-
ProductFieldsHelper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductFieldsHelper });
|
|
2064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductFieldsHelper, decorators: [{
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductFieldsHelper, decorators: [{
|
|
2065
2063
|
type: Injectable
|
|
2066
2064
|
}] });
|
|
2067
2065
|
|
|
@@ -2080,12 +2078,12 @@ class CatalogOperationsFacade {
|
|
|
2080
2078
|
getFieldsHelper() {
|
|
2081
2079
|
return this.fieldsHelper;
|
|
2082
2080
|
}
|
|
2081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogOperationsFacade, deps: [{ token: CatalogFilterHelper }, { token: CatalogSortHelper }, { token: ProductFieldsHelper }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2082
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogOperationsFacade }); }
|
|
2083
2083
|
}
|
|
2084
|
-
|
|
2085
|
-
CatalogOperationsFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogOperationsFacade });
|
|
2086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogOperationsFacade, decorators: [{
|
|
2084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogOperationsFacade, decorators: [{
|
|
2087
2085
|
type: Injectable
|
|
2088
|
-
}], ctorParameters:
|
|
2086
|
+
}], ctorParameters: () => [{ type: CatalogFilterHelper }, { type: CatalogSortHelper }, { type: ProductFieldsHelper }] });
|
|
2089
2087
|
|
|
2090
2088
|
class ProductManagementFacade {
|
|
2091
2089
|
constructor(brandManager, productServices) {
|
|
@@ -2098,15 +2096,15 @@ class ProductManagementFacade {
|
|
|
2098
2096
|
getProductServices() {
|
|
2099
2097
|
return this.productServices;
|
|
2100
2098
|
}
|
|
2099
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductManagementFacade, deps: [{ token: BrandManagerHelper }, { token: 'ProductServicesFacade' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2100
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductManagementFacade }); }
|
|
2101
2101
|
}
|
|
2102
|
-
|
|
2103
|
-
ProductManagementFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductManagementFacade });
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ProductManagementFacade, decorators: [{
|
|
2102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProductManagementFacade, decorators: [{
|
|
2105
2103
|
type: Injectable
|
|
2106
|
-
}], ctorParameters:
|
|
2104
|
+
}], ctorParameters: () => [{ type: BrandManagerHelper }, { type: undefined, decorators: [{
|
|
2107
2105
|
type: Inject,
|
|
2108
2106
|
args: ['ProductServicesFacade']
|
|
2109
|
-
}] }]
|
|
2107
|
+
}] }] });
|
|
2110
2108
|
|
|
2111
2109
|
class CatalogHelpersService {
|
|
2112
2110
|
constructor(catalogOperations, productManagement) {
|
|
@@ -2128,12 +2126,12 @@ class CatalogHelpersService {
|
|
|
2128
2126
|
getProductServices() {
|
|
2129
2127
|
return this.productManagement.getProductServices();
|
|
2130
2128
|
}
|
|
2129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogHelpersService, deps: [{ token: CatalogOperationsFacade }, { token: ProductManagementFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2130
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogHelpersService }); }
|
|
2131
2131
|
}
|
|
2132
|
-
|
|
2133
|
-
CatalogHelpersService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogHelpersService });
|
|
2134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogHelpersService, decorators: [{
|
|
2132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogHelpersService, decorators: [{
|
|
2135
2133
|
type: Injectable
|
|
2136
|
-
}], ctorParameters:
|
|
2134
|
+
}], ctorParameters: () => [{ type: CatalogOperationsFacade }, { type: ProductManagementFacade }] });
|
|
2137
2135
|
|
|
2138
2136
|
class CatalogRepositoryService {
|
|
2139
2137
|
constructor(productCatalog, productServices) {
|
|
@@ -2146,15 +2144,15 @@ class CatalogRepositoryService {
|
|
|
2146
2144
|
getProductServices() {
|
|
2147
2145
|
return this.productServices;
|
|
2148
2146
|
}
|
|
2147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogRepositoryService, deps: [{ token: ProductCatalogFacade }, { token: 'ProductServicesFacade' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2148
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogRepositoryService }); }
|
|
2149
2149
|
}
|
|
2150
|
-
|
|
2151
|
-
CatalogRepositoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogRepositoryService });
|
|
2152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogRepositoryService, decorators: [{
|
|
2150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogRepositoryService, decorators: [{
|
|
2153
2151
|
type: Injectable
|
|
2154
|
-
}], ctorParameters:
|
|
2152
|
+
}], ctorParameters: () => [{ type: ProductCatalogFacade }, { type: undefined, decorators: [{
|
|
2155
2153
|
type: Inject,
|
|
2156
2154
|
args: ['ProductServicesFacade']
|
|
2157
|
-
}] }]
|
|
2155
|
+
}] }] });
|
|
2158
2156
|
|
|
2159
2157
|
class CatalogService {
|
|
2160
2158
|
constructor(searchContext, helpersService, shop) {
|
|
@@ -2248,15 +2246,15 @@ class CatalogService {
|
|
|
2248
2246
|
hasCategory(options) {
|
|
2249
2247
|
return 'category' in options;
|
|
2250
2248
|
}
|
|
2249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogService, deps: [{ token: CatalogSearchContext }, { token: CatalogHelpersService }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2250
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogService }); }
|
|
2251
2251
|
}
|
|
2252
|
-
|
|
2253
|
-
CatalogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogService });
|
|
2254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogService, decorators: [{
|
|
2252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CatalogService, decorators: [{
|
|
2255
2253
|
type: Injectable
|
|
2256
|
-
}], ctorParameters:
|
|
2254
|
+
}], ctorParameters: () => [{ type: CatalogSearchContext }, { type: CatalogHelpersService }, { type: i3.Shops, decorators: [{
|
|
2257
2255
|
type: Inject,
|
|
2258
2256
|
args: [DEFAULT_SHOP]
|
|
2259
|
-
}] }]
|
|
2257
|
+
}] }] });
|
|
2260
2258
|
|
|
2261
2259
|
var ProductSorts;
|
|
2262
2260
|
(function (ProductSorts) {
|
|
@@ -2506,12 +2504,12 @@ class WishlistService {
|
|
|
2506
2504
|
productBrand: product.brand,
|
|
2507
2505
|
};
|
|
2508
2506
|
}
|
|
2507
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WishlistService, deps: [{ token: 'WishlistRepository' }, { token: 'ProductRepository' }, { token: 'LogRepository' }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2508
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WishlistService }); }
|
|
2509
2509
|
}
|
|
2510
|
-
|
|
2511
|
-
WishlistService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: WishlistService });
|
|
2512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: WishlistService, decorators: [{
|
|
2510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WishlistService, decorators: [{
|
|
2513
2511
|
type: Injectable
|
|
2514
|
-
}], ctorParameters:
|
|
2512
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2515
2513
|
type: Inject,
|
|
2516
2514
|
args: ['WishlistRepository']
|
|
2517
2515
|
}] }, { type: undefined, decorators: [{
|
|
@@ -2523,7 +2521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2523
2521
|
}] }, { type: i3.Shops, decorators: [{
|
|
2524
2522
|
type: Inject,
|
|
2525
2523
|
args: [DEFAULT_SHOP]
|
|
2526
|
-
}] }]
|
|
2524
|
+
}] }] });
|
|
2527
2525
|
|
|
2528
2526
|
class CouponRepositoriesFacade {
|
|
2529
2527
|
constructor(couponRepository, orderRepository, categoryRepository) {
|
|
@@ -2531,12 +2529,12 @@ class CouponRepositoriesFacade {
|
|
|
2531
2529
|
this.orderRepository = orderRepository;
|
|
2532
2530
|
this.categoryRepository = categoryRepository;
|
|
2533
2531
|
}
|
|
2532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponRepositoriesFacade, deps: [{ token: 'CouponRepository' }, { token: 'OrderRepository' }, { token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2533
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponRepositoriesFacade }); }
|
|
2534
2534
|
}
|
|
2535
|
-
|
|
2536
|
-
CouponRepositoriesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponRepositoriesFacade });
|
|
2537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponRepositoriesFacade, decorators: [{
|
|
2535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponRepositoriesFacade, decorators: [{
|
|
2538
2536
|
type: Injectable
|
|
2539
|
-
}], ctorParameters:
|
|
2537
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2540
2538
|
type: Inject,
|
|
2541
2539
|
args: ['CouponRepository']
|
|
2542
2540
|
}] }, { type: undefined, decorators: [{
|
|
@@ -2545,7 +2543,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2545
2543
|
}] }, { type: undefined, decorators: [{
|
|
2546
2544
|
type: Inject,
|
|
2547
2545
|
args: ['CategoryRepository']
|
|
2548
|
-
}] }]
|
|
2546
|
+
}] }] });
|
|
2549
2547
|
|
|
2550
2548
|
class CouponService {
|
|
2551
2549
|
constructor(repositoriesFacade, configurationFacade) {
|
|
@@ -2776,15 +2774,15 @@ class CouponService {
|
|
|
2776
2774
|
}
|
|
2777
2775
|
return couponUseLimits;
|
|
2778
2776
|
}
|
|
2777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponService, deps: [{ token: CouponRepositoriesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2778
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponService, providedIn: 'root' }); }
|
|
2779
2779
|
}
|
|
2780
|
-
|
|
2781
|
-
CouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponService, providedIn: 'root' });
|
|
2782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponService, decorators: [{
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CouponService, decorators: [{
|
|
2783
2781
|
type: Injectable,
|
|
2784
2782
|
args: [{
|
|
2785
2783
|
providedIn: 'root',
|
|
2786
2784
|
}]
|
|
2787
|
-
}], ctorParameters:
|
|
2785
|
+
}], ctorParameters: () => [{ type: CouponRepositoriesFacade }, { type: ConfigurationFacade }] });
|
|
2788
2786
|
|
|
2789
2787
|
class CheckoutSubscriptionService {
|
|
2790
2788
|
constructor(checkoutSubscriptionRepository, dataPersistence, couponService) {
|
|
@@ -2821,18 +2819,18 @@ class CheckoutSubscriptionService {
|
|
|
2821
2819
|
await this.dataPersistence.set('checkoutSubscriptionId', checkout.id).toPromise();
|
|
2822
2820
|
return checkout;
|
|
2823
2821
|
}
|
|
2822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutSubscriptionService, deps: [{ token: 'CheckoutSubscriptionRepository' }, { token: PERSISTENCE_PROVIDER }, { token: CouponService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2823
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutSubscriptionService }); }
|
|
2824
2824
|
}
|
|
2825
|
-
|
|
2826
|
-
CheckoutSubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutSubscriptionService });
|
|
2827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutSubscriptionService, decorators: [{
|
|
2825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckoutSubscriptionService, decorators: [{
|
|
2828
2826
|
type: Injectable
|
|
2829
|
-
}], ctorParameters:
|
|
2827
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2830
2828
|
type: Inject,
|
|
2831
2829
|
args: ['CheckoutSubscriptionRepository']
|
|
2832
2830
|
}] }, { type: undefined, decorators: [{
|
|
2833
2831
|
type: Inject,
|
|
2834
2832
|
args: [PERSISTENCE_PROVIDER]
|
|
2835
|
-
}] }, { type: CouponService }]
|
|
2833
|
+
}] }, { type: CouponService }] });
|
|
2836
2834
|
|
|
2837
2835
|
class UtilHelper {
|
|
2838
2836
|
static createSlug(name) {
|
|
@@ -2858,12 +2856,12 @@ class HomeShopRepositoriesFacade {
|
|
|
2858
2856
|
this.homeRepository = homeRepository;
|
|
2859
2857
|
this.productRepository = productRepository;
|
|
2860
2858
|
}
|
|
2859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopRepositoriesFacade, deps: [{ token: 'CategoryRepository' }, { token: 'HomeRepository' }, { token: 'ProductRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2860
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopRepositoriesFacade }); }
|
|
2861
2861
|
}
|
|
2862
|
-
|
|
2863
|
-
HomeShopRepositoriesFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopRepositoriesFacade });
|
|
2864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopRepositoriesFacade, decorators: [{
|
|
2862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopRepositoriesFacade, decorators: [{
|
|
2865
2863
|
type: Injectable
|
|
2866
|
-
}], ctorParameters:
|
|
2864
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2867
2865
|
type: Inject,
|
|
2868
2866
|
args: ['CategoryRepository']
|
|
2869
2867
|
}] }, { type: undefined, decorators: [{
|
|
@@ -2872,7 +2870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2872
2870
|
}] }, { type: undefined, decorators: [{
|
|
2873
2871
|
type: Inject,
|
|
2874
2872
|
args: ['ProductRepository']
|
|
2875
|
-
}] }]
|
|
2873
|
+
}] }] });
|
|
2876
2874
|
|
|
2877
2875
|
class HomeShopService {
|
|
2878
2876
|
get homeId() {
|
|
@@ -2977,12 +2975,12 @@ class HomeShopService {
|
|
|
2977
2975
|
get gender() {
|
|
2978
2976
|
return this.homeId === 'mens_market' ? 'masculino' : undefined;
|
|
2979
2977
|
}
|
|
2978
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopService, deps: [{ token: HomeShopRepositoriesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2979
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopService }); }
|
|
2980
2980
|
}
|
|
2981
|
-
|
|
2982
|
-
HomeShopService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService });
|
|
2983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService, decorators: [{
|
|
2981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HomeShopService, decorators: [{
|
|
2984
2982
|
type: Injectable
|
|
2985
|
-
}], ctorParameters:
|
|
2983
|
+
}], ctorParameters: () => [{ type: HomeShopRepositoriesFacade }, { type: ConfigurationFacade }] });
|
|
2986
2984
|
|
|
2987
2985
|
class OrderProductReviewService {
|
|
2988
2986
|
constructor(orderRepository, productReviewRepository, variantRepository) {
|
|
@@ -3074,12 +3072,12 @@ class OrderProductReviewService {
|
|
|
3074
3072
|
orderId: review.orderId,
|
|
3075
3073
|
}));
|
|
3076
3074
|
}
|
|
3075
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderProductReviewService, deps: [{ token: 'OrderRepository' }, { token: 'ProductReviewRepository' }, { token: 'VariantRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3076
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderProductReviewService }); }
|
|
3077
3077
|
}
|
|
3078
|
-
|
|
3079
|
-
OrderProductReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderProductReviewService });
|
|
3080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderProductReviewService, decorators: [{
|
|
3078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderProductReviewService, decorators: [{
|
|
3081
3079
|
type: Injectable
|
|
3082
|
-
}], ctorParameters:
|
|
3080
|
+
}], ctorParameters: () => [{ type: i3.OrderFirestoreRepository, decorators: [{
|
|
3083
3081
|
type: Inject,
|
|
3084
3082
|
args: ['OrderRepository']
|
|
3085
3083
|
}] }, { type: undefined, decorators: [{
|
|
@@ -3088,7 +3086,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
3088
3086
|
}] }, { type: undefined, decorators: [{
|
|
3089
3087
|
type: Inject,
|
|
3090
3088
|
args: ['VariantRepository']
|
|
3091
|
-
}] }]
|
|
3089
|
+
}] }] });
|
|
3092
3090
|
|
|
3093
3091
|
class OrderService {
|
|
3094
3092
|
constructor(angularFirestore, orderRepository) {
|
|
@@ -3102,15 +3100,15 @@ class OrderService {
|
|
|
3102
3100
|
.subscribe((doc) => this.orderSubject.next(doc));
|
|
3103
3101
|
return this.orderSubject;
|
|
3104
3102
|
}
|
|
3103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderService, deps: [{ token: i1$2.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3104
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderService }); }
|
|
3105
3105
|
}
|
|
3106
|
-
|
|
3107
|
-
OrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderService });
|
|
3108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderService, decorators: [{
|
|
3106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OrderService, decorators: [{
|
|
3109
3107
|
type: Injectable
|
|
3110
|
-
}], ctorParameters:
|
|
3108
|
+
}], ctorParameters: () => [{ type: i1$2.Firestore }, { type: i3.OrderFirestoreRepository, decorators: [{
|
|
3111
3109
|
type: Inject,
|
|
3112
3110
|
args: ['OrderRepository']
|
|
3113
|
-
}] }]
|
|
3111
|
+
}] }] });
|
|
3114
3112
|
|
|
3115
3113
|
class AngularConnectModule {
|
|
3116
3114
|
static initializeApp(defaultShop, options, nameOrConfig) {
|
|
@@ -3152,120 +3150,127 @@ class AngularConnectModule {
|
|
|
3152
3150
|
static createProviderIfExists(token, value) {
|
|
3153
3151
|
return isNil(value) ? [] : [{ provide: token, useValue: value }];
|
|
3154
3152
|
}
|
|
3155
|
-
}
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
CartServicesFacade,
|
|
3175
|
-
CheckoutRepositoriesFacade,
|
|
3176
|
-
CheckoutDependenciesFacade,
|
|
3177
|
-
CategoryRepositoryFacade,
|
|
3178
|
-
ProductCatalogFacade,
|
|
3179
|
-
CatalogServiceFacade,
|
|
3180
|
-
CategoryServiceFacade,
|
|
3181
|
-
CatalogStrategiesFacade,
|
|
3182
|
-
CatalogOperationsFacade,
|
|
3183
|
-
ProductManagementFacade,
|
|
3184
|
-
{
|
|
3185
|
-
provide: 'ProductServicesFacade',
|
|
3186
|
-
useFactory: (productStockNotificationRepository, categoryRepository, productSearch) => ({
|
|
3187
|
-
productStockNotificationRepository,
|
|
3188
|
-
categoryRepository,
|
|
3189
|
-
productSearch,
|
|
3153
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3154
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AngularConnectModule, imports: [AngularElasticSeachModule,
|
|
3155
|
+
AngularVertexSeachModule,
|
|
3156
|
+
AngularFirebaseAuthModule,
|
|
3157
|
+
AngularFirestoreModule,
|
|
3158
|
+
AngularHasuraGraphQLModule] }); }
|
|
3159
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularConnectModule, providers: [
|
|
3160
|
+
provideFirebaseApp((injector) => {
|
|
3161
|
+
const appName = injector.get(FIREBASE_APP_NAME);
|
|
3162
|
+
try {
|
|
3163
|
+
const app = appName ? getApp(appName) : getApp();
|
|
3164
|
+
return app;
|
|
3165
|
+
}
|
|
3166
|
+
catch (error) {
|
|
3167
|
+
console.warn('Firebase app not found, initializing new app');
|
|
3168
|
+
if (error instanceof Error)
|
|
3169
|
+
console.error(error.message);
|
|
3170
|
+
return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
|
|
3171
|
+
}
|
|
3190
3172
|
}),
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
},
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3173
|
+
provideAppCheck((injector) => {
|
|
3174
|
+
const app = injector.get(FirebaseApp);
|
|
3175
|
+
try {
|
|
3176
|
+
const provider = injector.get(APP_CHECK_PROVIDER);
|
|
3177
|
+
if (provider)
|
|
3178
|
+
return initializeAppCheck(app, {
|
|
3179
|
+
provider,
|
|
3180
|
+
isTokenAutoRefreshEnabled: true,
|
|
3181
|
+
});
|
|
3182
|
+
}
|
|
3183
|
+
catch (error) {
|
|
3184
|
+
if (error instanceof Error)
|
|
3185
|
+
console.error(error.message);
|
|
3186
|
+
return;
|
|
3187
|
+
}
|
|
3188
|
+
}),
|
|
3189
|
+
provideStorage((injector) => getStorage(injector.get(FirebaseApp))),
|
|
3190
|
+
AuthService,
|
|
3191
|
+
CartService,
|
|
3192
|
+
CatalogService,
|
|
3193
|
+
CategoryService,
|
|
3194
|
+
CheckoutService,
|
|
3195
|
+
CheckoutSubscriptionService,
|
|
3196
|
+
CouponService,
|
|
3197
|
+
HomeShopService,
|
|
3198
|
+
OrderService,
|
|
3199
|
+
WishlistService,
|
|
3200
|
+
ConfigurationFacade,
|
|
3201
|
+
CartServicesFacade,
|
|
3202
|
+
CheckoutRepositoriesFacade,
|
|
3203
|
+
CheckoutDependenciesFacade,
|
|
3204
|
+
CategoryRepositoryFacade,
|
|
3205
|
+
ProductCatalogFacade,
|
|
3206
|
+
CatalogServiceFacade,
|
|
3207
|
+
CategoryServiceFacade,
|
|
3208
|
+
CatalogStrategiesFacade,
|
|
3209
|
+
CatalogOperationsFacade,
|
|
3210
|
+
ProductManagementFacade,
|
|
3211
|
+
{
|
|
3212
|
+
provide: 'ProductServicesFacade',
|
|
3213
|
+
useFactory: (productStockNotificationRepository, categoryRepository, productSearch) => ({
|
|
3214
|
+
productStockNotificationRepository,
|
|
3215
|
+
categoryRepository,
|
|
3216
|
+
productSearch,
|
|
3217
|
+
}),
|
|
3218
|
+
deps: ['ProductStockNotificationRepository', 'CategoryRepository', 'ProductSearch'],
|
|
3219
|
+
},
|
|
3220
|
+
CatalogFilterHelper,
|
|
3221
|
+
CatalogSortHelper,
|
|
3222
|
+
ProductFieldsHelper,
|
|
3223
|
+
BrandManagerHelper,
|
|
3224
|
+
CatalogRepositoryService,
|
|
3225
|
+
CatalogHelpersService,
|
|
3226
|
+
CategorySearchStrategy,
|
|
3227
|
+
TermSearchStrategy,
|
|
3228
|
+
ProfileSearchStrategy,
|
|
3229
|
+
{
|
|
3230
|
+
provide: CatalogSearchContext,
|
|
3231
|
+
useFactory: (categoryStrategy, termStrategy, profileStrategy) => {
|
|
3232
|
+
return new CatalogSearchContext(categoryStrategy, termStrategy, profileStrategy);
|
|
3233
|
+
},
|
|
3234
|
+
deps: [CategorySearchStrategy, TermSearchStrategy, ProfileSearchStrategy],
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
provide: UpdateUserImage,
|
|
3238
|
+
useFactory: (userRepository, fileUploader) => {
|
|
3239
|
+
return new UpdateUserImage(userRepository, fileUploader);
|
|
3240
|
+
},
|
|
3241
|
+
deps: ['UserRepository', 'FileUploaderService'],
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
provide: 'FileUploaderService',
|
|
3245
|
+
useFactory: (storage, baseUrl) => {
|
|
3246
|
+
return new FirebaseFileUploaderService(storage, baseUrl);
|
|
3247
|
+
},
|
|
3248
|
+
deps: [Storage, STORAGE_BASE_URL],
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
provide: 'ProductSearch',
|
|
3252
|
+
useExisting: ProductsVertexSearch,
|
|
3253
|
+
},
|
|
3254
|
+
CouponRepositoriesFacade,
|
|
3255
|
+
HomeShopRepositoriesFacade,
|
|
3256
|
+
OrderProductReviewService,
|
|
3257
|
+
], imports: [AngularElasticSeachModule,
|
|
3258
|
+
AngularVertexSeachModule,
|
|
3259
|
+
AngularFirebaseAuthModule,
|
|
3260
|
+
AngularFirestoreModule,
|
|
3261
|
+
AngularHasuraGraphQLModule] }); }
|
|
3262
|
+
}
|
|
3263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AngularConnectModule, decorators: [{
|
|
3266
3264
|
type: NgModule,
|
|
3267
3265
|
args: [{
|
|
3268
3266
|
imports: [
|
|
3267
|
+
AngularElasticSeachModule,
|
|
3268
|
+
AngularVertexSeachModule,
|
|
3269
|
+
AngularFirebaseAuthModule,
|
|
3270
|
+
AngularFirestoreModule,
|
|
3271
|
+
AngularHasuraGraphQLModule,
|
|
3272
|
+
],
|
|
3273
|
+
providers: [
|
|
3269
3274
|
provideFirebaseApp((injector) => {
|
|
3270
3275
|
const appName = injector.get(FIREBASE_APP_NAME);
|
|
3271
3276
|
try {
|
|
@@ -3296,13 +3301,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
3296
3301
|
}
|
|
3297
3302
|
}),
|
|
3298
3303
|
provideStorage((injector) => getStorage(injector.get(FirebaseApp))),
|
|
3299
|
-
AngularElasticSeachModule,
|
|
3300
|
-
AngularVertexSeachModule,
|
|
3301
|
-
AngularFirebaseAuthModule,
|
|
3302
|
-
AngularFirestoreModule,
|
|
3303
|
-
AngularHasuraGraphQLModule,
|
|
3304
|
-
],
|
|
3305
|
-
providers: [
|
|
3306
3304
|
AuthService,
|
|
3307
3305
|
CartService,
|
|
3308
3306
|
CatalogService,
|