@infrab4a/connect-angular 5.7.5-beta.0 → 5.7.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,12 +3,12 @@ import { NgModule, InjectionToken, PLATFORM_ID, Injectable, Inject } from '@angu
3
3
  import { FirebaseApp, provideFirebaseApp, getApp, initializeApp } from '@angular/fire/app';
4
4
  import { provideAppCheck, initializeAppCheck } from '@angular/fire/app-check';
5
5
  import { Storage, provideStorage, getStorage } from '@angular/fire/storage';
6
- import * as i1$2 from '@infrab4a/connect';
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, BrandCategoryFirestoreRepository, ShopConfigsFirestoreRepository, CategoryHasuraGraphQLRepository, ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository, ProductReviewHasuraGraphQLRepository, VariantHasuraGraphQLRepository, ProductStockNotificationHasuraGraphQLRepository, FilterOptionHasuraGraphQLRepository, FilterHasuraGraphQLRepository, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryProductHasuraGraphQLRepository, WishlistHasuraGraphQLRepository, ProductErrorsHasuraGraphQLRepository, ProductCatalogHasuraGraphQLRepository, ProductStockEntryHasuraGraphQLRepository, 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';
6
+ import * as i3 from '@infrab4a/connect';
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, ShoppingRecurrenceFirestoreRepository, ShoppingRecurrenceEditionFirestoreRepository, ShopSettingsFirestoreRepository, SubscriptionPaymentFirestoreRepository, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, SubscriptionFirestoreRepository, UserFirestoreRepository, UserAddressFirestoreRepository, UserPaymentMethodFirestoreRepository, SubscriptionMaterializationFirestoreRepository, SubscriptionSummaryFirestoreRepository, OrderBlockedFirestoreRepository, LogFirestoreRepository, SequenceFirestoreRepository, BrandCategoryFirestoreRepository, ShopConfigsFirestoreRepository, CategoryHasuraGraphQLRepository, ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository, ProductReviewHasuraGraphQLRepository, VariantHasuraGraphQLRepository, ProductStockNotificationHasuraGraphQLRepository, FilterOptionHasuraGraphQLRepository, FilterHasuraGraphQLRepository, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryProductHasuraGraphQLRepository, WishlistHasuraGraphQLRepository, ProductErrorsHasuraGraphQLRepository, ProductCatalogHasuraGraphQLRepository, ProductStockEntryHasuraGraphQLRepository, ProductGroupHasuraGraphQLRepository, ProductPriceLogHasuraGraphQLRepository, ProductsVertexSearch, VertexAxiosAdapter, isNil, NotFoundError, Checkout, pick, LineItem, Where, isEmpty, Shops, set, InvalidArgumentError, RoundProductPricesHelper, Category, WishlistLogType, PersonTypes, Wishlist, CheckoutTypes, CouponTypes, Exclusivities, OrderStatus, CheckoutSubscription, Product, RequiredArgumentError, add, ProductReview, Order, UpdateUserImage, FirebaseFileUploaderService } from '@infrab4a/connect';
8
8
  import * as i1 from '@angular/fire/auth';
9
9
  import { Auth, provideAuth, initializeAuth, indexedDBLocalPersistence, browserLocalPersistence, browserSessionPersistence, getAuth, getIdToken, authState } from '@angular/fire/auth';
10
10
  import { isPlatformServer, isPlatformBrowser } from '@angular/common';
11
- import * as i1$3 from '@angular/fire/firestore';
11
+ import * as i1$2 from '@angular/fire/firestore';
12
12
  import { Firestore, provideFirestore, initializeFirestore, memoryLocalCache, docSnapshots, doc } from '@angular/fire/firestore';
13
13
  import cookie from 'js-cookie';
14
14
  import { of, from, combineLatest, throwError, Subject, forkJoin } from 'rxjs';
@@ -367,6 +367,20 @@ class AngularFirestoreModule {
367
367
  },
368
368
  deps: ['FirestoreOptions'],
369
369
  },
370
+ {
371
+ provide: 'ShoppingRecurrenceRepository',
372
+ useFactory: (options) => {
373
+ return new ShoppingRecurrenceFirestoreRepository(options);
374
+ },
375
+ deps: ['FirestoreOptions'],
376
+ },
377
+ {
378
+ provide: 'ShoppingRecurrenceEditionRepository',
379
+ useFactory: (options) => {
380
+ return new ShoppingRecurrenceEditionFirestoreRepository(options);
381
+ },
382
+ deps: ['FirestoreOptions'],
383
+ },
370
384
  {
371
385
  provide: ProductFirestoreRepository,
372
386
  useFactory: (options) => {
@@ -640,6 +654,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
640
654
  },
641
655
  deps: ['FirestoreOptions'],
642
656
  },
657
+ {
658
+ provide: 'ShoppingRecurrenceRepository',
659
+ useFactory: (options) => {
660
+ return new ShoppingRecurrenceFirestoreRepository(options);
661
+ },
662
+ deps: ['FirestoreOptions'],
663
+ },
664
+ {
665
+ provide: 'ShoppingRecurrenceEditionRepository',
666
+ useFactory: (options) => {
667
+ return new ShoppingRecurrenceEditionFirestoreRepository(options);
668
+ },
669
+ deps: ['FirestoreOptions'],
670
+ },
643
671
  {
644
672
  provide: ProductFirestoreRepository,
645
673
  useFactory: (options) => {
@@ -949,6 +977,28 @@ class AngularHasuraGraphQLModule {
949
977
  provide: 'ProductStockEntryRepository',
950
978
  useExisting: ProductStockEntryHasuraGraphQLRepository,
951
979
  },
980
+ {
981
+ provide: ProductGroupHasuraGraphQLRepository,
982
+ useFactory: (options) => {
983
+ return new ProductGroupHasuraGraphQLRepository(options);
984
+ },
985
+ deps: ['HasuraConfig'],
986
+ },
987
+ {
988
+ provide: 'ProductGroupRepository',
989
+ useExisting: ProductGroupHasuraGraphQLRepository,
990
+ },
991
+ {
992
+ provide: ProductPriceLogHasuraGraphQLRepository,
993
+ useFactory: (options) => {
994
+ return new ProductPriceLogHasuraGraphQLRepository(options);
995
+ },
996
+ deps: ['HasuraConfig'],
997
+ },
998
+ {
999
+ provide: 'ProductPriceLogRepository',
1000
+ useExisting: ProductPriceLogHasuraGraphQLRepository,
1001
+ },
952
1002
  ] }); }
953
1003
  }
954
1004
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
@@ -1131,6 +1181,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
1131
1181
  provide: 'ProductStockEntryRepository',
1132
1182
  useExisting: ProductStockEntryHasuraGraphQLRepository,
1133
1183
  },
1184
+ {
1185
+ provide: ProductGroupHasuraGraphQLRepository,
1186
+ useFactory: (options) => {
1187
+ return new ProductGroupHasuraGraphQLRepository(options);
1188
+ },
1189
+ deps: ['HasuraConfig'],
1190
+ },
1191
+ {
1192
+ provide: 'ProductGroupRepository',
1193
+ useExisting: ProductGroupHasuraGraphQLRepository,
1194
+ },
1195
+ {
1196
+ provide: ProductPriceLogHasuraGraphQLRepository,
1197
+ useFactory: (options) => {
1198
+ return new ProductPriceLogHasuraGraphQLRepository(options);
1199
+ },
1200
+ deps: ['HasuraConfig'],
1201
+ },
1202
+ {
1203
+ provide: 'ProductPriceLogRepository',
1204
+ useExisting: ProductPriceLogHasuraGraphQLRepository,
1205
+ },
1134
1206
  ],
1135
1207
  }]
1136
1208
  }] });
@@ -1264,7 +1336,7 @@ class ConfigurationFacade {
1264
1336
  }
1265
1337
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ConfigurationFacade, decorators: [{
1266
1338
  type: Injectable
1267
- }], ctorParameters: () => [{ type: i1$2.Shops, decorators: [{
1339
+ }], ctorParameters: () => [{ type: i3.Shops, decorators: [{
1268
1340
  type: Inject,
1269
1341
  args: [DEFAULT_SHOP]
1270
1342
  }] }, { type: undefined, decorators: [{
@@ -1316,16 +1388,41 @@ class CheckoutService {
1316
1388
  checkoutId: checkout.id,
1317
1389
  })), concatMap(() => this.getCheckout()));
1318
1390
  }
1391
+ applyPointsDiscount(points) {
1392
+ return this.getCheckout().pipe(concatMap((checkout) => this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/checkoutApplyPointsDiscount`, {
1393
+ checkoutId: checkout.id,
1394
+ points,
1395
+ })), concatMap(() => this.getCheckout()));
1396
+ }
1397
+ removePointsDiscount() {
1398
+ return this.getCheckout().pipe(concatMap((checkout) => this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/checkoutRemovePointsDiscount`, {
1399
+ checkoutId: checkout.id,
1400
+ })), concatMap(() => this.getCheckout()));
1401
+ }
1319
1402
  validateStockProducts() {
1320
1403
  return this.getCheckout().pipe(concatMap((checkout) => this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/checkoutValidateProductStock`, {
1321
1404
  checkoutId: checkout.id,
1322
1405
  })));
1323
1406
  }
1324
1407
  selectShippingAddress(address) {
1408
+ const formattedAddress = {
1409
+ ...address,
1410
+ zip: this.formatZip(address.zip),
1411
+ };
1325
1412
  return this.getCheckout().pipe(concatMap((checkout) => {
1326
- return this.repositoriesFacade.checkoutRepository.update(Checkout.toInstance({ id: checkout.id, shippingAddress: address, billingAddress: address }));
1413
+ return this.repositoriesFacade.checkoutRepository.update(Checkout.toInstance({
1414
+ id: checkout.id,
1415
+ shippingAddress: formattedAddress,
1416
+ billingAddress: formattedAddress,
1417
+ }));
1327
1418
  }));
1328
1419
  }
1420
+ formatZip(zip) {
1421
+ if (!zip)
1422
+ return zip;
1423
+ const digits = zip.replace(/\D/g, '');
1424
+ return digits;
1425
+ }
1329
1426
  getAvailableShippingForProduct(productShipping) {
1330
1427
  return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/checkoutGetAvailableShipping`, {
1331
1428
  checkoutId: null,
@@ -1861,7 +1958,7 @@ class CatalogServiceFacade {
1861
1958
  }
1862
1959
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CatalogServiceFacade, decorators: [{
1863
1960
  type: Injectable
1864
- }], ctorParameters: () => [{ type: CatalogHelpersService }, { type: CatalogStrategiesFacade }, { type: i1$2.Shops, decorators: [{
1961
+ }], ctorParameters: () => [{ type: CatalogHelpersService }, { type: CatalogStrategiesFacade }, { type: i3.Shops, decorators: [{
1865
1962
  type: Inject,
1866
1963
  args: [DEFAULT_SHOP]
1867
1964
  }] }] });
@@ -1914,7 +2011,7 @@ class CategoryService {
1914
2011
  }
1915
2012
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CategoryService, decorators: [{
1916
2013
  type: Injectable
1917
- }], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i1$2.Shops, decorators: [{
2014
+ }], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
1918
2015
  type: Inject,
1919
2016
  args: [DEFAULT_SHOP]
1920
2017
  }] }] });
@@ -1952,7 +2049,7 @@ class CategoryServiceFacade {
1952
2049
  }
1953
2050
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CategoryServiceFacade, decorators: [{
1954
2051
  type: Injectable
1955
- }], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i1$2.Shops, decorators: [{
2052
+ }], ctorParameters: () => [{ type: CategoryRepositoryFacade }, { type: ProductCatalogFacade }, { type: i3.Shops, decorators: [{
1956
2053
  type: Inject,
1957
2054
  args: [DEFAULT_SHOP]
1958
2055
  }] }] });
@@ -2334,7 +2431,7 @@ class CatalogService {
2334
2431
  }
2335
2432
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: CatalogService, decorators: [{
2336
2433
  type: Injectable
2337
- }], ctorParameters: () => [{ type: CatalogSearchContext }, { type: CatalogHelpersService }, { type: i1$2.Shops, decorators: [{
2434
+ }], ctorParameters: () => [{ type: CatalogSearchContext }, { type: CatalogHelpersService }, { type: i3.Shops, decorators: [{
2338
2435
  type: Inject,
2339
2436
  args: [DEFAULT_SHOP]
2340
2437
  }] }] });
@@ -2605,7 +2702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
2605
2702
  }] }, { type: undefined, decorators: [{
2606
2703
  type: Inject,
2607
2704
  args: ['LogRepository']
2608
- }] }, { type: i1$2.Shops, decorators: [{
2705
+ }] }, { type: i3.Shops, decorators: [{
2609
2706
  type: Inject,
2610
2707
  args: [DEFAULT_SHOP]
2611
2708
  }] }] });
@@ -3020,6 +3117,17 @@ class HomeShopService {
3020
3117
  getMinValueForFreeShipping() {
3021
3118
  return this.getHomeConfiguration().pipe(map((home) => home.minValueForFreeShipping));
3022
3119
  }
3120
+ /**
3121
+ * Retorna os thresholds de frete grátis estruturados configurados no documento
3122
+ * Home (`shippingThresholds`). Quando o documento ainda não possui essa
3123
+ * estrutura, retorna um default conservador equivalente à regra legada
3124
+ * (edition: 50, avulsoSp: 99, avulsoOutro: null) para que consumidores não
3125
+ * quebrem durante a migração.
3126
+ */
3127
+ getShippingThresholds() {
3128
+ const conservativeDefault = { edition: 50, avulsoSp: 99, avulsoOutro: null };
3129
+ return this.getHomeConfiguration().pipe(map((home) => home.shippingThresholds ?? conservativeDefault));
3130
+ }
3023
3131
  getDiscoverProducts(_gender) {
3024
3132
  return this.getHomeConfiguration().pipe(concatMap((home) => from(this.repositoriesFacade.categoryRepository.getCategoriesForHome({
3025
3133
  categoryIds: home.discoverCategories,
@@ -3176,7 +3284,7 @@ class OrderProductReviewService {
3176
3284
  }
3177
3285
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderProductReviewService, decorators: [{
3178
3286
  type: Injectable
3179
- }], ctorParameters: () => [{ type: i1$2.OrderFirestoreRepository, decorators: [{
3287
+ }], ctorParameters: () => [{ type: i3.OrderFirestoreRepository, decorators: [{
3180
3288
  type: Inject,
3181
3289
  args: ['OrderRepository']
3182
3290
  }] }, { type: undefined, decorators: [{
@@ -3185,11 +3293,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
3185
3293
  }] }, { type: undefined, decorators: [{
3186
3294
  type: Inject,
3187
3295
  args: ['VariantRepository']
3188
- }] }, { type: i1$2.Shops, decorators: [{
3296
+ }] }, { type: i3.Shops, decorators: [{
3189
3297
  type: Inject,
3190
3298
  args: [DEFAULT_SHOP]
3191
3299
  }] }] });
3192
3300
 
3301
+ class OrderRecurrenceService {
3302
+ constructor(shoppingRecurrenceRepository, defaultShop, dependenciesFacade, configurationFacade) {
3303
+ this.shoppingRecurrenceRepository = shoppingRecurrenceRepository;
3304
+ this.defaultShop = defaultShop;
3305
+ this.dependenciesFacade = dependenciesFacade;
3306
+ this.configurationFacade = configurationFacade;
3307
+ this.checkoutUrl = null;
3308
+ this.checkoutUrl = this.configurationFacade.getCheckoutUrl();
3309
+ }
3310
+ getRecurrenceOrder(recurrenceId) {
3311
+ return from(this.shoppingRecurrenceRepository.get({ id: recurrenceId }));
3312
+ }
3313
+ createRecurrenceOrder(recurrencePayload) {
3314
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/createShoppingRecurrence`, {
3315
+ data: recurrencePayload,
3316
+ });
3317
+ }
3318
+ updatePaymentMethod(data) {
3319
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/updateShoppingRecurrencePaymentMethod`, {
3320
+ data,
3321
+ });
3322
+ }
3323
+ getRecurrenceAvailableShipping(data) {
3324
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/getShoppingRecurrenceAvailableShipping`, {
3325
+ data,
3326
+ });
3327
+ }
3328
+ updateShippingAddress(data) {
3329
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/updateShoppingRecurrenceShippingAddress`, {
3330
+ data,
3331
+ });
3332
+ }
3333
+ cancelRecurrenceOrder(data) {
3334
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/cancelShoppingRecurrence`, {
3335
+ data,
3336
+ });
3337
+ }
3338
+ enableOrDisableRecurrenceOrder(recurrenceId, active) {
3339
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/enableOrDisableShoppingRecurrence`, {
3340
+ recurrenceId,
3341
+ active,
3342
+ });
3343
+ }
3344
+ skipRecurrenceOrder(recurrenceEditionId) {
3345
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/skipShoppingRecurrenceEdition`, {
3346
+ recurrenceEditionId,
3347
+ });
3348
+ }
3349
+ updateFrequency(recurrenceId, frequency) {
3350
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/updateShoppingRecurrenceFrequency`, {
3351
+ recurrenceId,
3352
+ frequency,
3353
+ });
3354
+ }
3355
+ updateLineItems(recurrenceId, lineItems) {
3356
+ return this.dependenciesFacade.httpClient.post(`${this.checkoutUrl}/updateShoppingRecurrenceLineItems`, {
3357
+ recurrenceId,
3358
+ lineItems,
3359
+ });
3360
+ }
3361
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderRecurrenceService, deps: [{ token: 'ShoppingRecurrenceRepository' }, { token: DEFAULT_SHOP }, { token: CheckoutDependenciesFacade }, { token: ConfigurationFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
3362
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderRecurrenceService }); }
3363
+ }
3364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderRecurrenceService, decorators: [{
3365
+ type: Injectable
3366
+ }], ctorParameters: () => [{ type: i3.ShoppingRecurrenceFirestoreRepository, decorators: [{
3367
+ type: Inject,
3368
+ args: ['ShoppingRecurrenceRepository']
3369
+ }] }, { type: i3.Shops, decorators: [{
3370
+ type: Inject,
3371
+ args: [DEFAULT_SHOP]
3372
+ }] }, { type: CheckoutDependenciesFacade }, { type: ConfigurationFacade }] });
3373
+
3193
3374
  class OrderService {
3194
3375
  constructor(angularFirestore, orderRepository) {
3195
3376
  this.angularFirestore = angularFirestore;
@@ -3202,12 +3383,12 @@ class OrderService {
3202
3383
  .subscribe((doc) => this.orderSubject.next(doc));
3203
3384
  return this.orderSubject;
3204
3385
  }
3205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderService, deps: [{ token: i1$3.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
3386
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderService, deps: [{ token: i1$2.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
3206
3387
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderService }); }
3207
3388
  }
3208
3389
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: OrderService, decorators: [{
3209
3390
  type: Injectable
3210
- }], ctorParameters: () => [{ type: i1$3.Firestore }, { type: i1$2.OrderFirestoreRepository, decorators: [{
3391
+ }], ctorParameters: () => [{ type: i1$2.Firestore }, { type: i3.OrderFirestoreRepository, decorators: [{
3211
3392
  type: Inject,
3212
3393
  args: ['OrderRepository']
3213
3394
  }] }] });
@@ -3356,6 +3537,7 @@ class AngularConnectModule {
3356
3537
  CouponRepositoriesFacade,
3357
3538
  HomeShopRepositoriesFacade,
3358
3539
  OrderProductReviewService,
3540
+ OrderRecurrenceService
3359
3541
  ], imports: [AngularElasticSeachModule,
3360
3542
  AngularVertexSeachModule,
3361
3543
  AngularFirebaseAuthModule,
@@ -3470,6 +3652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
3470
3652
  CouponRepositoriesFacade,
3471
3653
  HomeShopRepositoriesFacade,
3472
3654
  OrderProductReviewService,
3655
+ OrderRecurrenceService
3473
3656
  ],
3474
3657
  }]
3475
3658
  }] });
@@ -3478,5 +3661,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
3478
3661
  * Generated bundle index. Do not edit.
3479
3662
  */
3480
3663
 
3481
- export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CookieDataPersistence, CouponService, HomeShopService, NewCategoryStructureAdapter, OldCategoryStructureAdapter, OrderProductReviewService, OrderService, ProductSorts, UtilHelper, WishlistService };
3664
+ export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CookieDataPersistence, CouponService, HomeShopService, NewCategoryStructureAdapter, OldCategoryStructureAdapter, OrderProductReviewService, OrderRecurrenceService, OrderService, ProductSorts, UtilHelper, WishlistService };
3482
3665
  //# sourceMappingURL=infrab4a-connect-angular.mjs.map