@infrab4a/connect-angular 4.5.13-beta.0 → 4.5.14

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.
Files changed (64) hide show
  1. package/esm2020/angular-connect.module.mjs +133 -0
  2. package/esm2020/angular-elastic-search.module.mjs +34 -0
  3. package/esm2020/angular-firebase-auth.module.mjs +115 -0
  4. package/esm2020/angular-firestore.module.mjs +485 -0
  5. package/esm2020/angular-hasura-graphql.module.mjs +287 -0
  6. package/{esm2022 → esm2020}/consts/category-structure.mjs +1 -1
  7. package/{esm2022 → esm2020}/consts/default-shop.const.mjs +1 -1
  8. package/{esm2022 → esm2020}/consts/es-config.const.mjs +1 -1
  9. package/{esm2022 → esm2020}/consts/firebase-const.mjs +1 -1
  10. package/{esm2022 → esm2020}/consts/hasura-options.const.mjs +1 -1
  11. package/{esm2022 → esm2020}/consts/index.mjs +1 -1
  12. package/{esm2022 → esm2020}/consts/persistence.const.mjs +1 -1
  13. package/{esm2022 → esm2020}/consts/storage-base-url.const.mjs +1 -1
  14. package/{esm2022 → esm2020}/helpers/index.mjs +1 -1
  15. package/{esm2022 → esm2020}/helpers/mobile-operation-system-checker.helper.mjs +1 -1
  16. package/{esm2022 → esm2020}/index.mjs +1 -1
  17. package/{esm2022 → esm2020}/persistence/cookie-data-persistence.mjs +4 -4
  18. package/{esm2022 → esm2020}/persistence/data-persistence.mjs +1 -1
  19. package/{esm2022 → esm2020}/persistence/index.mjs +1 -1
  20. package/{esm2022 → esm2020}/services/auth.service.mjs +6 -6
  21. package/{esm2022 → esm2020}/services/cart.service.mjs +6 -6
  22. package/{esm2022 → esm2020}/services/catalog/adapters/category-structure.adapter.mjs +1 -1
  23. package/{esm2022 → esm2020}/services/catalog/adapters/index.mjs +1 -1
  24. package/{esm2022 → esm2020}/services/catalog/adapters/new-category-structure.adapter.mjs +6 -6
  25. package/{esm2022 → esm2020}/services/catalog/adapters/old-category-structure.adapter.mjs +6 -6
  26. package/{esm2022 → esm2020}/services/catalog/catalog.service.mjs +6 -6
  27. package/{esm2022 → esm2020}/services/catalog/category.service.mjs +6 -6
  28. package/{esm2022 → esm2020}/services/catalog/enums/index.mjs +1 -1
  29. package/{esm2022 → esm2020}/services/catalog/enums/product-sorts.enum.mjs +1 -1
  30. package/{esm2022 → esm2020}/services/catalog/index.mjs +1 -1
  31. package/{esm2022 → esm2020}/services/catalog/models/category-with-tree.model.mjs +1 -1
  32. package/{esm2022 → esm2020}/services/catalog/models/index.mjs +1 -1
  33. package/{esm2022 → esm2020}/services/catalog/types/index.mjs +1 -1
  34. package/{esm2022 → esm2020}/services/catalog/types/product-sort.type.mjs +1 -1
  35. package/{esm2022 → esm2020}/services/catalog/wishlist.service.mjs +6 -6
  36. package/{esm2022 → esm2020}/services/checkout-subscription.service.mjs +6 -6
  37. package/{esm2022 → esm2020}/services/checkout.service.mjs +6 -6
  38. package/{esm2022 → esm2020}/services/coupon.service.mjs +6 -6
  39. package/{esm2022 → esm2020}/services/helpers/index.mjs +1 -1
  40. package/{esm2022 → esm2020}/services/helpers/util.helper.mjs +1 -1
  41. package/{esm2022 → esm2020}/services/home-shop.service.mjs +6 -6
  42. package/{esm2022 → esm2020}/services/index.mjs +1 -1
  43. package/{esm2022 → esm2020}/services/order.service.mjs +6 -6
  44. package/{esm2022 → esm2020}/services/shipping.service.mjs +6 -6
  45. package/{esm2022 → esm2020}/services/types/index.mjs +1 -1
  46. package/{esm2022 → esm2020}/services/types/required-checkout-data.type.mjs +1 -1
  47. package/{esm2022 → esm2020}/services/types/required-checkout-subscription-data.type.mjs +1 -1
  48. package/esm2020/services/types/shipping-methods.type.mjs +2 -0
  49. package/{esm2022 → esm2020}/types/firebase-app-config.type.mjs +1 -1
  50. package/{esm2022 → esm2020}/types/index.mjs +1 -1
  51. package/fesm2015/infrab4a-connect-angular.mjs +2499 -0
  52. package/fesm2015/infrab4a-connect-angular.mjs.map +1 -0
  53. package/{fesm2022 → fesm2020}/infrab4a-connect-angular.mjs +528 -528
  54. package/fesm2020/infrab4a-connect-angular.mjs.map +1 -0
  55. package/package.json +12 -6
  56. package/esm2022/angular-connect.module.mjs +0 -133
  57. package/esm2022/angular-elastic-search.module.mjs +0 -34
  58. package/esm2022/angular-firebase-auth.module.mjs +0 -115
  59. package/esm2022/angular-firestore.module.mjs +0 -485
  60. package/esm2022/angular-hasura-graphql.module.mjs +0 -287
  61. package/esm2022/services/types/shipping-methods.type.mjs +0 -2
  62. package/fesm2022/infrab4a-connect-angular.mjs.map +0 -1
  63. /package/{esm2022 → esm2020}/consts/backend-url.const.mjs +0 -0
  64. /package/{esm2022 → esm2020}/infrab4a-connect-angular.mjs +0 -0
@@ -27,17 +27,17 @@ class AngularElasticSeachModule {
27
27
  providers: [{ provide: ES_CONFIG, useValue: options }],
28
28
  };
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularElasticSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
31
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: AngularElasticSeachModule }); }
32
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularElasticSeachModule, providers: [
33
- {
34
- provide: ProductsIndex,
35
- useFactory: (configuration) => new ProductsIndex(new AxiosAdapter(configuration)),
36
- deps: [ES_CONFIG],
37
- },
38
- ] }); }
39
30
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularElasticSeachModule, decorators: [{
31
+ AngularElasticSeachModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
+ AngularElasticSeachModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule });
33
+ AngularElasticSeachModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule, providers: [
34
+ {
35
+ provide: ProductsIndex,
36
+ useFactory: (configuration) => new ProductsIndex(new AxiosAdapter(configuration)),
37
+ deps: [ES_CONFIG],
38
+ },
39
+ ] });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularElasticSeachModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  providers: [
@@ -73,54 +73,54 @@ class AngularFirebaseAuthModule {
73
73
  ],
74
74
  };
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirebaseAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: AngularFirebaseAuthModule, imports: [i1.AuthModule] }); }
78
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirebaseAuthModule, providers: [
79
- {
80
- provide: 'Authentication',
81
- useFactory: (authenticationService, userRepository) => {
82
- return new Authentication(authenticationService, userRepository);
83
- },
84
- deps: ['AuthenticationService', 'UserRepository'],
85
- },
86
- {
87
- provide: 'AuthenticationService',
88
- useFactory: (angularFireAuth) => {
89
- return new AuthenticationFirebaseAuthService(angularFireAuth);
90
- },
91
- deps: [Auth],
92
- },
93
- {
94
- provide: 'Register',
95
- useFactory: (registerService, userRepository) => {
96
- return new Register(registerService, userRepository);
97
- },
98
- deps: ['RegisterService', 'UserRepository'],
99
- },
100
- {
101
- provide: 'RegisterService',
102
- useFactory: (angularFireAuth) => {
103
- return new RegisterFirebaseAuthService(angularFireAuth);
104
- },
105
- deps: [Auth],
106
- },
107
- {
108
- provide: 'SignOut',
109
- useFactory: (authenticationService) => {
110
- return new SignOut(authenticationService);
111
- },
112
- deps: ['AuthenticationService'],
113
- },
114
- {
115
- provide: 'RecoveryPassword',
116
- useFactory: (authenticationService) => {
117
- return new RecoveryPassword(authenticationService);
118
- },
119
- deps: ['AuthenticationService'],
120
- },
121
- ], imports: [provideAuth((injector) => getAuth(injector.get(FirebaseApp)))] }); }
122
76
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirebaseAuthModule, decorators: [{
77
+ AngularFirebaseAuthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ AngularFirebaseAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, imports: [i1.AuthModule] });
79
+ AngularFirebaseAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, providers: [
80
+ {
81
+ provide: 'Authentication',
82
+ useFactory: (authenticationService, userRepository) => {
83
+ return new Authentication(authenticationService, userRepository);
84
+ },
85
+ deps: ['AuthenticationService', 'UserRepository'],
86
+ },
87
+ {
88
+ provide: 'AuthenticationService',
89
+ useFactory: (angularFireAuth) => {
90
+ return new AuthenticationFirebaseAuthService(angularFireAuth);
91
+ },
92
+ deps: [Auth],
93
+ },
94
+ {
95
+ provide: 'Register',
96
+ useFactory: (registerService, userRepository) => {
97
+ return new Register(registerService, userRepository);
98
+ },
99
+ deps: ['RegisterService', 'UserRepository'],
100
+ },
101
+ {
102
+ provide: 'RegisterService',
103
+ useFactory: (angularFireAuth) => {
104
+ return new RegisterFirebaseAuthService(angularFireAuth);
105
+ },
106
+ deps: [Auth],
107
+ },
108
+ {
109
+ provide: 'SignOut',
110
+ useFactory: (authenticationService) => {
111
+ return new SignOut(authenticationService);
112
+ },
113
+ deps: ['AuthenticationService'],
114
+ },
115
+ {
116
+ provide: 'RecoveryPassword',
117
+ useFactory: (authenticationService) => {
118
+ return new RecoveryPassword(authenticationService);
119
+ },
120
+ deps: ['AuthenticationService'],
121
+ },
122
+ ], imports: [provideAuth((injector) => getAuth(injector.get(FirebaseApp)))] });
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirebaseAuthModule, decorators: [{
124
124
  type: NgModule,
125
125
  args: [{
126
126
  imports: [provideAuth((injector) => getAuth(injector.get(FirebaseApp)))],
@@ -189,236 +189,236 @@ class AngularFirestoreModule {
189
189
  ],
190
190
  };
191
191
  }
192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
193
- static { thismod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$1.FirestoreModule] }); }
194
- static { thisinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirestoreModule, providers: [
195
- {
196
- provide: 'FirestoreOptions',
197
- useFactory: (firestore, platformId) => ({
198
- firestore: new ConnectFirestoreService(firestore),
199
- interceptors: {
200
- request: (request) => {
201
- if (isPlatformBrowser(platformId))
202
- return request;
203
- const interval = setInterval(() => { }, 100);
204
- request.interval = interval;
192
+ }
193
+ AngularFirestoreModulefac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
194
+ AngularFirestoreModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$1.FirestoreModule] });
195
+ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, providers: [
196
+ {
197
+ provide: 'FirestoreOptions',
198
+ useFactory: (firestore, platformId) => ({
199
+ firestore: new ConnectFirestoreService(firestore),
200
+ interceptors: {
201
+ request: (request) => {
202
+ if (isPlatformBrowser(platformId))
205
203
  return request;
206
- },
207
- response: (response, request) => {
208
- if (isPlatformBrowser(platformId))
209
- return response;
210
- clearInterval(request.interval);
204
+ const interval = setInterval(() => { }, 100);
205
+ request.interval = interval;
206
+ return request;
207
+ },
208
+ response: (response, request) => {
209
+ if (isPlatformBrowser(platformId))
211
210
  return response;
212
- },
211
+ clearInterval(request.interval);
212
+ return response;
213
213
  },
214
- }),
215
- deps: [Firestore, PLATFORM_ID],
216
- },
217
- {
218
- provide: 'BeautyProfileRepository',
219
- useFactory: (config, userRepository) => {
220
- return new UserBeautyProfileFirestoreRepository(config, userRepository);
221
- },
222
- deps: ['FirestoreOptions', 'UserRepository'],
223
- },
224
- {
225
- provide: 'Buy2WinRepository',
226
- useFactory: (options) => {
227
- return new Buy2WinFirestoreRepository(options);
228
- },
229
- deps: ['FirestoreOptions'],
230
- },
231
- {
232
- provide: CategoryFirestoreRepository,
233
- useFactory: (options) => {
234
- return new CategoryFirestoreRepository(options);
235
- },
236
- deps: ['FirestoreOptions'],
237
- },
238
- {
239
- provide: 'CheckoutRepository',
240
- useFactory: (options) => {
241
- return new CheckoutFirestoreRepository(options);
242
- },
243
- deps: ['FirestoreOptions'],
244
- },
245
- {
246
- provide: 'CheckoutSubscriptionRepository',
247
- useFactory: (options) => {
248
- return new CheckoutSubscriptionFirestoreRepository(options);
249
- },
250
- deps: ['FirestoreOptions'],
251
- },
252
- {
253
- provide: 'CouponRepository',
254
- useFactory: (options) => {
255
- return new CouponFirestoreRepository(options);
256
- },
257
- deps: ['FirestoreOptions'],
258
- },
259
- {
260
- provide: 'CampaignHashtagRepository',
261
- useFactory: (options) => {
262
- return new CampaignHashtagFirestoreRepository(options);
263
- },
264
- deps: ['FirestoreOptions'],
265
- },
266
- {
267
- provide: 'CampaignDashboardRepository',
268
- useFactory: (options) => {
269
- return new CampaignDashboardFirestoreRepository(options);
270
- },
271
- deps: ['FirestoreOptions'],
272
- },
273
- {
274
- provide: 'EditionRepository',
275
- useFactory: (options, subscriptionRepository) => {
276
- return new SubscriptionEditionFirestoreRepository(options, subscriptionRepository);
277
- },
278
- deps: ['FirestoreOptions', 'SubscriptionRepository'],
279
- },
280
- {
281
- provide: 'HomeRepository',
282
- useFactory: (options) => {
283
- return new HomeFirestoreRepository(options);
284
- },
285
- deps: ['FirestoreOptions'],
286
- },
287
- {
288
- provide: 'LeadRepository',
289
- useFactory: (options) => {
290
- return new LeadFirestoreRepository(options);
291
- },
292
- deps: ['FirestoreOptions'],
293
- },
294
- {
295
- provide: 'LegacyOrderRepository',
296
- useFactory: (options) => {
297
- return new LegacyOrderFirestoreRepository(options);
298
- },
299
- deps: ['FirestoreOptions'],
300
- },
301
- {
302
- provide: 'ShopMenuRepository',
303
- useFactory: (options) => {
304
- return new ShopMenuFirestoreRepository(options);
305
- },
306
- deps: ['FirestoreOptions'],
307
- },
308
- {
309
- provide: 'OrderRepository',
310
- useFactory: (options) => {
311
- return new OrderFirestoreRepository(options);
312
- },
313
- deps: ['FirestoreOptions'],
314
- },
315
- {
316
- provide: 'PaymentRepository',
317
- useFactory: (options) => {
318
- return new PaymentFirestoreRepository(options);
319
- },
320
- deps: ['FirestoreOptions'],
321
- },
322
- {
323
- provide: ProductFirestoreRepository,
324
- useFactory: (options) => {
325
- return new ProductFirestoreRepository(options);
326
- },
327
- deps: ['FirestoreOptions'],
328
- },
329
- {
330
- provide: 'ShopSettingsRepository',
331
- useFactory: (options) => {
332
- return new ShopSettingsFirestoreRepository(options);
333
- },
334
- deps: ['FirestoreOptions'],
335
- },
336
- {
337
- provide: 'SubscriptionPaymentRepository',
338
- useFactory: (options, subscriptionRepository) => {
339
- return new SubscriptionPaymentFirestoreRepository(options, subscriptionRepository);
340
- },
341
- deps: ['FirestoreOptions', 'SubscriptionRepository'],
342
- },
343
- {
344
- provide: 'SubscriptionPlanRepository',
345
- useFactory: (options) => {
346
- return new SubscriptionPlanFirestoreRepository(options);
347
- },
348
- deps: ['FirestoreOptions'],
349
- },
350
- {
351
- provide: 'SubscriptionProductRepository',
352
- useFactory: (options) => {
353
- return new SubscriptionProductFirestoreRepository(options);
354
- },
355
- deps: ['FirestoreOptions'],
356
- },
357
- {
358
- provide: 'SubscriptionRepository',
359
- useFactory: (options) => {
360
- return new SubscriptionFirestoreRepository(options);
361
- },
362
- deps: ['FirestoreOptions'],
363
- },
364
- {
365
- provide: 'UserRepository',
366
- useFactory: (options) => {
367
- return new UserFirestoreRepository(options);
368
214
  },
369
- deps: ['FirestoreOptions'],
370
- },
371
- {
372
- provide: 'UserAddressRepository',
373
- useFactory: (options, userRepository) => {
374
- return new UserAddressFirestoreRepository(options, userRepository);
375
- },
376
- deps: ['FirestoreOptions', 'UserRepository'],
377
- },
378
- {
379
- provide: 'UserPaymentMethodRepository',
380
- useFactory: (options, userRepository) => {
381
- return new UserPaymentMethodFirestoreRepository(options, userRepository);
382
- },
383
- deps: ['FirestoreOptions', 'UserRepository'],
384
- },
385
- {
386
- provide: 'SubscriptionMaterializationRepository',
387
- useFactory: (options) => {
388
- return new SubscriptionMaterializationFirestoreRepository(options);
389
- },
390
- deps: ['FirestoreOptions'],
391
- },
392
- {
393
- provide: 'SubscriptionSummaryRepository',
394
- useFactory: (options) => {
395
- return new SubscriptionSummaryFirestoreRepository(options);
396
- },
397
- deps: ['FirestoreOptions'],
398
- },
399
- {
400
- provide: ProductVariantFirestoreRepository,
401
- useFactory: (options, productRepository) => {
402
- return new ProductVariantFirestoreRepository(options, productRepository);
403
- },
404
- deps: ['FirestoreOptions', ProductFirestoreRepository],
405
- },
406
- ], imports: [AngularElasticSeachModule,
407
- provideFirestore((injector) => {
408
- const platformId = injector.get(PLATFORM_ID);
409
- if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
410
- return initializeFirestore(injector.get(FirebaseApp), {
411
- ignoreUndefinedProperties: true,
412
- });
413
- const firestore = initializeFirestore(injector.get(FirebaseApp), {
414
- experimentalForceLongPolling: true,
215
+ }),
216
+ deps: [Firestore, PLATFORM_ID],
217
+ },
218
+ {
219
+ provide: 'BeautyProfileRepository',
220
+ useFactory: (config, userRepository) => {
221
+ return new UserBeautyProfileFirestoreRepository(config, userRepository);
222
+ },
223
+ deps: ['FirestoreOptions', 'UserRepository'],
224
+ },
225
+ {
226
+ provide: 'Buy2WinRepository',
227
+ useFactory: (options) => {
228
+ return new Buy2WinFirestoreRepository(options);
229
+ },
230
+ deps: ['FirestoreOptions'],
231
+ },
232
+ {
233
+ provide: CategoryFirestoreRepository,
234
+ useFactory: (options) => {
235
+ return new CategoryFirestoreRepository(options);
236
+ },
237
+ deps: ['FirestoreOptions'],
238
+ },
239
+ {
240
+ provide: 'CheckoutRepository',
241
+ useFactory: (options) => {
242
+ return new CheckoutFirestoreRepository(options);
243
+ },
244
+ deps: ['FirestoreOptions'],
245
+ },
246
+ {
247
+ provide: 'CheckoutSubscriptionRepository',
248
+ useFactory: (options) => {
249
+ return new CheckoutSubscriptionFirestoreRepository(options);
250
+ },
251
+ deps: ['FirestoreOptions'],
252
+ },
253
+ {
254
+ provide: 'CouponRepository',
255
+ useFactory: (options) => {
256
+ return new CouponFirestoreRepository(options);
257
+ },
258
+ deps: ['FirestoreOptions'],
259
+ },
260
+ {
261
+ provide: 'CampaignHashtagRepository',
262
+ useFactory: (options) => {
263
+ return new CampaignHashtagFirestoreRepository(options);
264
+ },
265
+ deps: ['FirestoreOptions'],
266
+ },
267
+ {
268
+ provide: 'CampaignDashboardRepository',
269
+ useFactory: (options) => {
270
+ return new CampaignDashboardFirestoreRepository(options);
271
+ },
272
+ deps: ['FirestoreOptions'],
273
+ },
274
+ {
275
+ provide: 'EditionRepository',
276
+ useFactory: (options, subscriptionRepository) => {
277
+ return new SubscriptionEditionFirestoreRepository(options, subscriptionRepository);
278
+ },
279
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
280
+ },
281
+ {
282
+ provide: 'HomeRepository',
283
+ useFactory: (options) => {
284
+ return new HomeFirestoreRepository(options);
285
+ },
286
+ deps: ['FirestoreOptions'],
287
+ },
288
+ {
289
+ provide: 'LeadRepository',
290
+ useFactory: (options) => {
291
+ return new LeadFirestoreRepository(options);
292
+ },
293
+ deps: ['FirestoreOptions'],
294
+ },
295
+ {
296
+ provide: 'LegacyOrderRepository',
297
+ useFactory: (options) => {
298
+ return new LegacyOrderFirestoreRepository(options);
299
+ },
300
+ deps: ['FirestoreOptions'],
301
+ },
302
+ {
303
+ provide: 'ShopMenuRepository',
304
+ useFactory: (options) => {
305
+ return new ShopMenuFirestoreRepository(options);
306
+ },
307
+ deps: ['FirestoreOptions'],
308
+ },
309
+ {
310
+ provide: 'OrderRepository',
311
+ useFactory: (options) => {
312
+ return new OrderFirestoreRepository(options);
313
+ },
314
+ deps: ['FirestoreOptions'],
315
+ },
316
+ {
317
+ provide: 'PaymentRepository',
318
+ useFactory: (options) => {
319
+ return new PaymentFirestoreRepository(options);
320
+ },
321
+ deps: ['FirestoreOptions'],
322
+ },
323
+ {
324
+ provide: ProductFirestoreRepository,
325
+ useFactory: (options) => {
326
+ return new ProductFirestoreRepository(options);
327
+ },
328
+ deps: ['FirestoreOptions'],
329
+ },
330
+ {
331
+ provide: 'ShopSettingsRepository',
332
+ useFactory: (options) => {
333
+ return new ShopSettingsFirestoreRepository(options);
334
+ },
335
+ deps: ['FirestoreOptions'],
336
+ },
337
+ {
338
+ provide: 'SubscriptionPaymentRepository',
339
+ useFactory: (options, subscriptionRepository) => {
340
+ return new SubscriptionPaymentFirestoreRepository(options, subscriptionRepository);
341
+ },
342
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
343
+ },
344
+ {
345
+ provide: 'SubscriptionPlanRepository',
346
+ useFactory: (options) => {
347
+ return new SubscriptionPlanFirestoreRepository(options);
348
+ },
349
+ deps: ['FirestoreOptions'],
350
+ },
351
+ {
352
+ provide: 'SubscriptionProductRepository',
353
+ useFactory: (options) => {
354
+ return new SubscriptionProductFirestoreRepository(options);
355
+ },
356
+ deps: ['FirestoreOptions'],
357
+ },
358
+ {
359
+ provide: 'SubscriptionRepository',
360
+ useFactory: (options) => {
361
+ return new SubscriptionFirestoreRepository(options);
362
+ },
363
+ deps: ['FirestoreOptions'],
364
+ },
365
+ {
366
+ provide: 'UserRepository',
367
+ useFactory: (options) => {
368
+ return new UserFirestoreRepository(options);
369
+ },
370
+ deps: ['FirestoreOptions'],
371
+ },
372
+ {
373
+ provide: 'UserAddressRepository',
374
+ useFactory: (options, userRepository) => {
375
+ return new UserAddressFirestoreRepository(options, userRepository);
376
+ },
377
+ deps: ['FirestoreOptions', 'UserRepository'],
378
+ },
379
+ {
380
+ provide: 'UserPaymentMethodRepository',
381
+ useFactory: (options, userRepository) => {
382
+ return new UserPaymentMethodFirestoreRepository(options, userRepository);
383
+ },
384
+ deps: ['FirestoreOptions', 'UserRepository'],
385
+ },
386
+ {
387
+ provide: 'SubscriptionMaterializationRepository',
388
+ useFactory: (options) => {
389
+ return new SubscriptionMaterializationFirestoreRepository(options);
390
+ },
391
+ deps: ['FirestoreOptions'],
392
+ },
393
+ {
394
+ provide: 'SubscriptionSummaryRepository',
395
+ useFactory: (options) => {
396
+ return new SubscriptionSummaryFirestoreRepository(options);
397
+ },
398
+ deps: ['FirestoreOptions'],
399
+ },
400
+ {
401
+ provide: ProductVariantFirestoreRepository,
402
+ useFactory: (options, productRepository) => {
403
+ return new ProductVariantFirestoreRepository(options, productRepository);
404
+ },
405
+ deps: ['FirestoreOptions', ProductFirestoreRepository],
406
+ },
407
+ ], imports: [AngularElasticSeachModule,
408
+ provideFirestore((injector) => {
409
+ const platformId = injector.get(PLATFORM_ID);
410
+ if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
411
+ return initializeFirestore(injector.get(FirebaseApp), {
415
412
  ignoreUndefinedProperties: true,
416
- localCache: memoryLocalCache(),
417
413
  });
418
- return firestore;
419
- })] }); }
420
- }
421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularFirestoreModule, decorators: [{
414
+ const firestore = initializeFirestore(injector.get(FirebaseApp), {
415
+ experimentalForceLongPolling: true,
416
+ ignoreUndefinedProperties: true,
417
+ localCache: memoryLocalCache(),
418
+ });
419
+ return firestore;
420
+ })] });
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
422
422
  type: NgModule,
423
423
  args: [{
424
424
  imports: [
@@ -660,143 +660,143 @@ class AngularHasuraGraphQLModule {
660
660
  providers: [{ provide: HASURA_OPTIONS, useValue: options }],
661
661
  };
662
662
  }
663
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularHasuraGraphQLModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
664
- static { thismod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: AngularHasuraGraphQLModule }); }
665
- static { thisinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularHasuraGraphQLModule, providers: [
666
- {
667
- provide: 'HasuraConfig',
668
- useFactory: (options, platformId) => ({
669
- endpoint: options.endpoint,
670
- authOptions: options.credentials,
671
- interceptors: {
672
- request: (request) => {
673
- if (isPlatformBrowser(platformId))
674
- return request;
675
- const interval = setInterval(() => { }, 100);
676
- request.interval = interval;
663
+ }
664
+ AngularHasuraGraphQLModulefac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
665
+ AngularHasuraGraphQLModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule });
666
+ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule, providers: [
667
+ {
668
+ provide: 'HasuraConfig',
669
+ useFactory: (options, platformId) => ({
670
+ endpoint: options.endpoint,
671
+ authOptions: options.credentials,
672
+ interceptors: {
673
+ request: (request) => {
674
+ if (isPlatformBrowser(platformId))
677
675
  return request;
678
- },
679
- response: (response, request) => {
680
- if (isPlatformBrowser(platformId))
681
- return response;
682
- clearInterval(request.interval);
676
+ const interval = setInterval(() => { }, 100);
677
+ request.interval = interval;
678
+ return request;
679
+ },
680
+ response: (response, request) => {
681
+ if (isPlatformBrowser(platformId))
683
682
  return response;
684
- },
683
+ clearInterval(request.interval);
684
+ return response;
685
685
  },
686
- }),
687
- deps: [HASURA_OPTIONS, PLATFORM_ID],
688
- },
689
- {
690
- provide: 'CategoryRepository',
691
- useExisting: CategoryHasuraGraphQLRepository,
692
- },
693
- {
694
- provide: CategoryHasuraGraphQLRepository,
695
- useFactory: (options, productRepository, categoryFilterRepository) => {
696
- return new CategoryHasuraGraphQLRepository(options, productRepository, categoryFilterRepository);
697
- },
698
- deps: ['HasuraConfig', ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
699
- },
700
- {
701
- provide: 'ProductRepository',
702
- useExisting: ProductHasuraGraphQLRepository,
703
- },
704
- {
705
- provide: ProductHasuraGraphQLRepository,
706
- useFactory: (hasuraConfig) => {
707
- return new ProductHasuraGraphQLRepository(hasuraConfig);
708
- },
709
- deps: ['HasuraConfig'],
710
- },
711
- {
712
- provide: 'ProductReviewsRepository',
713
- useExisting: ProductReviewsHasuraGraphQLRepository,
714
- },
715
- {
716
- provide: ProductReviewsHasuraGraphQLRepository,
717
- useFactory: (hasuraConfig) => {
718
- return new ProductReviewsHasuraGraphQLRepository(hasuraConfig);
719
- },
720
- deps: ['HasuraConfig'],
721
- },
722
- {
723
- provide: 'VariantRepository',
724
- useExisting: VariantHasuraGraphQLRepository,
725
- },
726
- {
727
- provide: VariantHasuraGraphQLRepository,
728
- useFactory: (hasuraConfig) => {
729
- return new VariantHasuraGraphQLRepository(hasuraConfig);
730
- },
731
- deps: ['HasuraConfig'],
732
- },
733
- {
734
- provide: 'ProductStockNotificationRepository',
735
- useExisting: ProductStockNotificationHasuraGraphQLRepository,
736
- },
737
- {
738
- provide: ProductStockNotificationHasuraGraphQLRepository,
739
- useFactory: (hasuraConfig) => {
740
- return new ProductStockNotificationHasuraGraphQLRepository(hasuraConfig);
741
- },
742
- deps: ['HasuraConfig'],
743
- },
744
- {
745
- provide: 'CategoryFilterRepository',
746
- useExisting: CategoryFilterHasuraGraphQLRepository,
747
- },
748
- {
749
- provide: CategoryFilterHasuraGraphQLRepository,
750
- useFactory: (options) => {
751
- return new CategoryFilterHasuraGraphQLRepository(options);
752
- },
753
- deps: ['HasuraConfig'],
754
- },
755
- {
756
- provide: 'FilterOptionRepository',
757
- useExisting: FilterOptionHasuraGraphQLRepository,
758
- },
759
- {
760
- provide: FilterOptionHasuraGraphQLRepository,
761
- useFactory: (options) => {
762
- return new FilterOptionHasuraGraphQLRepository(options);
763
- },
764
- deps: ['HasuraConfig'],
765
- },
766
- {
767
- provide: 'FilterRepository',
768
- useExisting: FilterHasuraGraphQLRepository,
769
- },
770
- {
771
- provide: FilterHasuraGraphQLRepository,
772
- useFactory: (options, filterOptionRepository, categoryFilterRepository) => {
773
- return new FilterHasuraGraphQLRepository(options, filterOptionRepository, categoryFilterRepository);
774
- },
775
- deps: ['HasuraConfig', FilterOptionHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
776
- },
777
- {
778
- provide: CategoryCollectionChildrenHasuraGraphQLRepository,
779
- useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options),
780
- deps: ['HasuraConfig'],
781
- },
782
- {
783
- provide: 'CategoryCollectionChildrenRepository',
784
- useExisting: CategoryCollectionChildrenHasuraGraphQLRepository,
785
- },
786
- {
787
- provide: WishlistHasuraGraphQLRepository,
788
- useFactory: (options, categoryFilterRepository) => {
789
- return new WishlistHasuraGraphQLRepository(options, categoryFilterRepository);
790
686
  },
791
- deps: ['HasuraConfig', CategoryFilterHasuraGraphQLRepository],
792
- },
793
- {
794
- provide: 'WishlistRepository',
795
- useExisting: WishlistHasuraGraphQLRepository,
796
- },
797
- ] }); }
798
- }
799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
687
+ }),
688
+ deps: [HASURA_OPTIONS, PLATFORM_ID],
689
+ },
690
+ {
691
+ provide: 'CategoryRepository',
692
+ useExisting: CategoryHasuraGraphQLRepository,
693
+ },
694
+ {
695
+ provide: CategoryHasuraGraphQLRepository,
696
+ useFactory: (options, productRepository, categoryFilterRepository) => {
697
+ return new CategoryHasuraGraphQLRepository(options, productRepository, categoryFilterRepository);
698
+ },
699
+ deps: ['HasuraConfig', ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
700
+ },
701
+ {
702
+ provide: 'ProductRepository',
703
+ useExisting: ProductHasuraGraphQLRepository,
704
+ },
705
+ {
706
+ provide: ProductHasuraGraphQLRepository,
707
+ useFactory: (hasuraConfig) => {
708
+ return new ProductHasuraGraphQLRepository(hasuraConfig);
709
+ },
710
+ deps: ['HasuraConfig'],
711
+ },
712
+ {
713
+ provide: 'ProductReviewsRepository',
714
+ useExisting: ProductReviewsHasuraGraphQLRepository,
715
+ },
716
+ {
717
+ provide: ProductReviewsHasuraGraphQLRepository,
718
+ useFactory: (hasuraConfig) => {
719
+ return new ProductReviewsHasuraGraphQLRepository(hasuraConfig);
720
+ },
721
+ deps: ['HasuraConfig'],
722
+ },
723
+ {
724
+ provide: 'VariantRepository',
725
+ useExisting: VariantHasuraGraphQLRepository,
726
+ },
727
+ {
728
+ provide: VariantHasuraGraphQLRepository,
729
+ useFactory: (hasuraConfig) => {
730
+ return new VariantHasuraGraphQLRepository(hasuraConfig);
731
+ },
732
+ deps: ['HasuraConfig'],
733
+ },
734
+ {
735
+ provide: 'ProductStockNotificationRepository',
736
+ useExisting: ProductStockNotificationHasuraGraphQLRepository,
737
+ },
738
+ {
739
+ provide: ProductStockNotificationHasuraGraphQLRepository,
740
+ useFactory: (hasuraConfig) => {
741
+ return new ProductStockNotificationHasuraGraphQLRepository(hasuraConfig);
742
+ },
743
+ deps: ['HasuraConfig'],
744
+ },
745
+ {
746
+ provide: 'CategoryFilterRepository',
747
+ useExisting: CategoryFilterHasuraGraphQLRepository,
748
+ },
749
+ {
750
+ provide: CategoryFilterHasuraGraphQLRepository,
751
+ useFactory: (options) => {
752
+ return new CategoryFilterHasuraGraphQLRepository(options);
753
+ },
754
+ deps: ['HasuraConfig'],
755
+ },
756
+ {
757
+ provide: 'FilterOptionRepository',
758
+ useExisting: FilterOptionHasuraGraphQLRepository,
759
+ },
760
+ {
761
+ provide: FilterOptionHasuraGraphQLRepository,
762
+ useFactory: (options) => {
763
+ return new FilterOptionHasuraGraphQLRepository(options);
764
+ },
765
+ deps: ['HasuraConfig'],
766
+ },
767
+ {
768
+ provide: 'FilterRepository',
769
+ useExisting: FilterHasuraGraphQLRepository,
770
+ },
771
+ {
772
+ provide: FilterHasuraGraphQLRepository,
773
+ useFactory: (options, filterOptionRepository, categoryFilterRepository) => {
774
+ return new FilterHasuraGraphQLRepository(options, filterOptionRepository, categoryFilterRepository);
775
+ },
776
+ deps: ['HasuraConfig', FilterOptionHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository],
777
+ },
778
+ {
779
+ provide: CategoryCollectionChildrenHasuraGraphQLRepository,
780
+ useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options),
781
+ deps: ['HasuraConfig'],
782
+ },
783
+ {
784
+ provide: 'CategoryCollectionChildrenRepository',
785
+ useExisting: CategoryCollectionChildrenHasuraGraphQLRepository,
786
+ },
787
+ {
788
+ provide: WishlistHasuraGraphQLRepository,
789
+ useFactory: (options, categoryFilterRepository) => {
790
+ return new WishlistHasuraGraphQLRepository(options, categoryFilterRepository);
791
+ },
792
+ deps: ['HasuraConfig', CategoryFilterHasuraGraphQLRepository],
793
+ },
794
+ {
795
+ provide: 'WishlistRepository',
796
+ useExisting: WishlistHasuraGraphQLRepository,
797
+ },
798
+ ] });
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularHasuraGraphQLModule, decorators: [{
800
800
  type: NgModule,
801
801
  args: [{
802
802
  providers: [
@@ -947,10 +947,10 @@ class CookieDataPersistence {
947
947
  set(key, value) {
948
948
  return from(cookie.set(key, value)).pipe(map(() => { }));
949
949
  }
950
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CookieDataPersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
951
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CookieDataPersistence }); }
952
950
  }
953
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CookieDataPersistence, decorators: [{
951
+ CookieDataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CookieDataPersistence, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
952
+ CookieDataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CookieDataPersistence });
953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CookieDataPersistence, decorators: [{
954
954
  type: Injectable
955
955
  }] });
956
956
 
@@ -975,15 +975,15 @@ class AuthService {
975
975
  getFireUser() {
976
976
  return authState(this.angularFireAuth).pipe(catchError(() => of(null)));
977
977
  }
978
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AuthService, deps: [{ token: i1.Auth }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
979
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AuthService }); }
980
978
  }
981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AuthService, decorators: [{
979
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AuthService, deps: [{ token: i1.Auth }, { token: 'UserRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
980
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AuthService });
981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AuthService, decorators: [{
982
982
  type: Injectable
983
- }], ctorParameters: () => [{ type: i1.Auth }, { type: undefined, decorators: [{
983
+ }], ctorParameters: function () { return [{ type: i1.Auth }, { type: undefined, decorators: [{
984
984
  type: Inject,
985
985
  args: ['UserRepository']
986
- }] }] });
986
+ }] }]; } });
987
987
 
988
988
  class CouponService {
989
989
  constructor(couponRepository, defaultShop, orderRepository, categoryRepository) {
@@ -1216,15 +1216,15 @@ class CouponService {
1216
1216
  }
1217
1217
  return lineItemsDiscount;
1218
1218
  }
1219
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CouponService, deps: [{ token: 'CouponRepository' }, { token: DEFAULT_SHOP }, { token: 'OrderRepository' }, { token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
1220
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CouponService, providedIn: 'root' }); }
1221
1219
  }
1222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CouponService, decorators: [{
1220
+ CouponService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponService, deps: [{ token: 'CouponRepository' }, { token: DEFAULT_SHOP }, { token: 'OrderRepository' }, { token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
1221
+ CouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponService, providedIn: 'root' });
1222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CouponService, decorators: [{
1223
1223
  type: Injectable,
1224
1224
  args: [{
1225
1225
  providedIn: 'root',
1226
1226
  }]
1227
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1227
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1228
1228
  type: Inject,
1229
1229
  args: ['CouponRepository']
1230
1230
  }] }, { type: i1$2.Shops, decorators: [{
@@ -1236,7 +1236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
1236
1236
  }] }, { type: undefined, decorators: [{
1237
1237
  type: Inject,
1238
1238
  args: ['CategoryRepository']
1239
- }] }] });
1239
+ }] }]; } });
1240
1240
 
1241
1241
  class CheckoutService {
1242
1242
  constructor(couponService, checkoutRepository, userRepository, defaultShop, dataPersistence) {
@@ -1278,12 +1278,12 @@ class CheckoutService {
1278
1278
  await this.dataPersistence.set('checkoutId', checkout.id).toPromise();
1279
1279
  return checkout;
1280
1280
  }
1281
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutService, deps: [{ token: CouponService }, { token: 'CheckoutRepository' }, { token: 'UserRepository' }, { token: DEFAULT_SHOP }, { token: PERSISTENCE_PROVIDER }], target: i0.ɵɵFactoryTarget.Injectable }); }
1282
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutService }); }
1283
1281
  }
1284
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutService, decorators: [{
1282
+ CheckoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutService, deps: [{ token: CouponService }, { token: 'CheckoutRepository' }, { token: 'UserRepository' }, { token: DEFAULT_SHOP }, { token: PERSISTENCE_PROVIDER }], target: i0.ɵɵFactoryTarget.Injectable });
1283
+ CheckoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutService });
1284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutService, decorators: [{
1285
1285
  type: Injectable
1286
- }], ctorParameters: () => [{ type: CouponService }, { type: undefined, decorators: [{
1286
+ }], ctorParameters: function () { return [{ type: CouponService }, { type: undefined, decorators: [{
1287
1287
  type: Inject,
1288
1288
  args: ['CheckoutRepository']
1289
1289
  }] }, { type: undefined, decorators: [{
@@ -1295,7 +1295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
1295
1295
  }] }, { type: undefined, decorators: [{
1296
1296
  type: Inject,
1297
1297
  args: [PERSISTENCE_PROVIDER]
1298
- }] }] });
1298
+ }] }]; } });
1299
1299
 
1300
1300
  class CartService {
1301
1301
  constructor(authService, checkoutService, defaultShop, productRepository, categoryRepository, variantRepository, buy2WinRepository) {
@@ -1546,12 +1546,12 @@ class CartService {
1546
1546
  });
1547
1547
  });
1548
1548
  }
1549
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CartService, deps: [{ token: AuthService }, { token: CheckoutService }, { token: DEFAULT_SHOP }, { token: 'ProductRepository' }, { token: 'CategoryRepository' }, { token: 'VariantRepository' }, { token: 'Buy2WinRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
1550
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CartService }); }
1551
1549
  }
1552
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CartService, decorators: [{
1550
+ CartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartService, deps: [{ token: AuthService }, { token: CheckoutService }, { token: DEFAULT_SHOP }, { token: 'ProductRepository' }, { token: 'CategoryRepository' }, { token: 'VariantRepository' }, { token: 'Buy2WinRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
1551
+ CartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartService });
1552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CartService, decorators: [{
1553
1553
  type: Injectable
1554
- }], ctorParameters: () => [{ type: AuthService }, { type: CheckoutService }, { type: i1$2.Shops, decorators: [{
1554
+ }], ctorParameters: function () { return [{ type: AuthService }, { type: CheckoutService }, { type: i1$2.Shops, decorators: [{
1555
1555
  type: Inject,
1556
1556
  args: [DEFAULT_SHOP]
1557
1557
  }] }, { type: undefined, decorators: [{
@@ -1566,7 +1566,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
1566
1566
  }] }, { type: i1$2.Buy2WinFirestoreRepository, decorators: [{
1567
1567
  type: Inject,
1568
1568
  args: ['Buy2WinRepository']
1569
- }] }] });
1569
+ }] }]; } });
1570
1570
 
1571
1571
  class NewCategoryStructureAdapter {
1572
1572
  constructor(categoryRepository) {
@@ -1598,15 +1598,15 @@ class NewCategoryStructureAdapter {
1598
1598
  category.brandCategory;
1599
1599
  return collectionCategory ? this.categoryRepository.get({ id: category.id }) : category;
1600
1600
  }
1601
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NewCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
1602
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NewCategoryStructureAdapter }); }
1603
1601
  }
1604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NewCategoryStructureAdapter, decorators: [{
1602
+ NewCategoryStructureAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: NewCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
1603
+ NewCategoryStructureAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: NewCategoryStructureAdapter });
1604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: NewCategoryStructureAdapter, decorators: [{
1605
1605
  type: Injectable
1606
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1606
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1607
1607
  type: Inject,
1608
1608
  args: ['CategoryRepository']
1609
- }] }] });
1609
+ }] }]; } });
1610
1610
 
1611
1611
  class OldCategoryStructureAdapter {
1612
1612
  constructor(categoryRepository) {
@@ -1618,15 +1618,15 @@ class OldCategoryStructureAdapter {
1618
1618
  : await this.categoryRepository.get({ id: category.id }).then((categoryFound) => categoryFound.products);
1619
1619
  return { id: { operator: Where.IN, value: productsIds } };
1620
1620
  }
1621
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OldCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
1622
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OldCategoryStructureAdapter }); }
1623
1621
  }
1624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OldCategoryStructureAdapter, decorators: [{
1622
+ OldCategoryStructureAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OldCategoryStructureAdapter, deps: [{ token: 'CategoryRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
1623
+ OldCategoryStructureAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OldCategoryStructureAdapter });
1624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OldCategoryStructureAdapter, decorators: [{
1625
1625
  type: Injectable
1626
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1626
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1627
1627
  type: Inject,
1628
1628
  args: ['CategoryRepository']
1629
- }] }] });
1629
+ }] }]; } });
1630
1630
 
1631
1631
  class CatalogService {
1632
1632
  constructor(productRepository, productStockNotificationRepository, categoryRepository, categoryStructureAdapter, shop, productIndex) {
@@ -1831,12 +1831,12 @@ class CatalogService {
1831
1831
  return [...new Set(sorted.map(({ _source }) => _source.id))];
1832
1832
  }));
1833
1833
  }
1834
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CatalogService, deps: [{ token: 'ProductRepository' }, { token: 'ProductStockNotificationRepository' }, { token: 'CategoryRepository' }, { token: CATEGORY_STRUCTURE }, { token: DEFAULT_SHOP }, { token: i1$2.ProductsIndex }], target: i0.ɵɵFactoryTarget.Injectable }); }
1835
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CatalogService }); }
1836
1834
  }
1837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CatalogService, decorators: [{
1835
+ CatalogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogService, deps: [{ token: 'ProductRepository' }, { token: 'ProductStockNotificationRepository' }, { token: 'CategoryRepository' }, { token: CATEGORY_STRUCTURE }, { token: DEFAULT_SHOP }, { token: i1$2.ProductsIndex }], target: i0.ɵɵFactoryTarget.Injectable });
1836
+ CatalogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogService });
1837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CatalogService, decorators: [{
1838
1838
  type: Injectable
1839
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1839
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1840
1840
  type: Inject,
1841
1841
  args: ['ProductRepository']
1842
1842
  }] }, { type: undefined, decorators: [{
@@ -1851,7 +1851,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
1851
1851
  }] }, { type: i1$2.Shops, decorators: [{
1852
1852
  type: Inject,
1853
1853
  args: [DEFAULT_SHOP]
1854
- }] }, { type: i1$2.ProductsIndex }] });
1854
+ }] }, { type: i1$2.ProductsIndex }]; } });
1855
1855
 
1856
1856
  class CategoryService {
1857
1857
  constructor(productRepository, categoryRepository, categoryFilterRepository, categoryStructureAdapter, shop) {
@@ -1877,12 +1877,12 @@ class CategoryService {
1877
1877
  .find({ filters: { categoryId: +category.id } })
1878
1878
  .then(({ data }) => data.map((categoryFilter) => categoryFilter.filter));
1879
1879
  }
1880
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CategoryService, deps: [{ token: 'ProductRepository' }, { token: 'CategoryRepository' }, { token: 'CategoryFilterRepository' }, { token: CATEGORY_STRUCTURE }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
1881
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CategoryService }); }
1882
1880
  }
1883
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CategoryService, decorators: [{
1881
+ CategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryService, deps: [{ token: 'ProductRepository' }, { token: 'CategoryRepository' }, { token: 'CategoryFilterRepository' }, { token: CATEGORY_STRUCTURE }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable });
1882
+ CategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryService });
1883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CategoryService, decorators: [{
1884
1884
  type: Injectable
1885
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1885
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1886
1886
  type: Inject,
1887
1887
  args: ['ProductRepository']
1888
1888
  }] }, { type: undefined, decorators: [{
@@ -1897,7 +1897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
1897
1897
  }] }, { type: i1$2.Shops, decorators: [{
1898
1898
  type: Inject,
1899
1899
  args: [DEFAULT_SHOP]
1900
- }] }] });
1900
+ }] }]; } });
1901
1901
 
1902
1902
  var ProductSorts;
1903
1903
  (function (ProductSorts) {
@@ -2003,12 +2003,12 @@ class WishlistService {
2003
2003
  }
2004
2004
  return wishlist;
2005
2005
  }
2006
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: WishlistService, deps: [{ token: 'WishlistRepository' }, { token: DEFAULT_SHOP }, { token: 'ProductRepository' }, { token: 'CategoryFilterRepository' }, { token: 'CategoryRepository' }, { token: 'ProductStockNotificationRepository' }, { token: i1$2.ProductsIndex }], target: i0.ɵɵFactoryTarget.Injectable }); }
2007
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: WishlistService }); }
2008
2006
  }
2009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: WishlistService, decorators: [{
2007
+ WishlistService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: WishlistService, deps: [{ token: 'WishlistRepository' }, { token: DEFAULT_SHOP }, { token: 'ProductRepository' }, { token: 'CategoryFilterRepository' }, { token: 'CategoryRepository' }, { token: 'ProductStockNotificationRepository' }, { token: i1$2.ProductsIndex }], target: i0.ɵɵFactoryTarget.Injectable });
2008
+ WishlistService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: WishlistService });
2009
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: WishlistService, decorators: [{
2010
2010
  type: Injectable
2011
- }], ctorParameters: () => [{ type: undefined, decorators: [{
2011
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2012
2012
  type: Inject,
2013
2013
  args: ['WishlistRepository']
2014
2014
  }] }, { type: i1$2.Shops, decorators: [{
@@ -2026,7 +2026,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
2026
2026
  }] }, { type: undefined, decorators: [{
2027
2027
  type: Inject,
2028
2028
  args: ['ProductStockNotificationRepository']
2029
- }] }, { type: i1$2.ProductsIndex }] });
2029
+ }] }, { type: i1$2.ProductsIndex }]; } });
2030
2030
 
2031
2031
  class CheckoutSubscriptionService {
2032
2032
  constructor(checkoutSubscriptionRepository, dataPersistence, couponService) {
@@ -2058,18 +2058,18 @@ class CheckoutSubscriptionService {
2058
2058
  await this.dataPersistence.set('checkoutSubscriptionId', checkout.id).toPromise();
2059
2059
  return checkout;
2060
2060
  }
2061
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutSubscriptionService, deps: [{ token: 'CheckoutSubscriptionRepository' }, { token: PERSISTENCE_PROVIDER }, { token: CouponService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2062
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutSubscriptionService }); }
2063
2061
  }
2064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: CheckoutSubscriptionService, decorators: [{
2062
+ CheckoutSubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutSubscriptionService, deps: [{ token: 'CheckoutSubscriptionRepository' }, { token: PERSISTENCE_PROVIDER }, { token: CouponService }], target: i0.ɵɵFactoryTarget.Injectable });
2063
+ CheckoutSubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutSubscriptionService });
2064
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: CheckoutSubscriptionService, decorators: [{
2065
2065
  type: Injectable
2066
- }], ctorParameters: () => [{ type: undefined, decorators: [{
2066
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2067
2067
  type: Inject,
2068
2068
  args: ['CheckoutSubscriptionRepository']
2069
2069
  }] }, { type: undefined, decorators: [{
2070
2070
  type: Inject,
2071
2071
  args: [PERSISTENCE_PROVIDER]
2072
- }] }, { type: CouponService }] });
2072
+ }] }, { type: CouponService }]; } });
2073
2073
 
2074
2074
  class UtilHelper {
2075
2075
  static createSlug(name) {
@@ -2188,12 +2188,12 @@ class HomeShopService {
2188
2188
  get gender() {
2189
2189
  return this.homeId === 'mens_market' ? 'masculino' : undefined;
2190
2190
  }
2191
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: HomeShopService, deps: [{ token: 'CategoryRepository' }, { token: 'HomeRepository' }, { token: 'ProductRepository' }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable }); }
2192
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: HomeShopService }); }
2193
2191
  }
2194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: HomeShopService, decorators: [{
2192
+ HomeShopService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService, deps: [{ token: 'CategoryRepository' }, { token: 'HomeRepository' }, { token: 'ProductRepository' }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable });
2193
+ HomeShopService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService });
2194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService, decorators: [{
2195
2195
  type: Injectable
2196
- }], ctorParameters: () => [{ type: undefined, decorators: [{
2196
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2197
2197
  type: Inject,
2198
2198
  args: ['CategoryRepository']
2199
2199
  }] }, { type: undefined, decorators: [{
@@ -2205,7 +2205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
2205
2205
  }] }, { type: i1$2.Shops, decorators: [{
2206
2206
  type: Inject,
2207
2207
  args: [DEFAULT_SHOP]
2208
- }] }] });
2208
+ }] }]; } });
2209
2209
 
2210
2210
  class OrderService {
2211
2211
  constructor(angularFirestore, orderRepository) {
@@ -2219,15 +2219,15 @@ class OrderService {
2219
2219
  .subscribe((doc) => this.orderSubject.next(doc));
2220
2220
  return this.orderSubject;
2221
2221
  }
2222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OrderService, deps: [{ token: i1$1.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable }); }
2223
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OrderService }); }
2224
2222
  }
2225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: OrderService, decorators: [{
2223
+ OrderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderService, deps: [{ token: i1$1.Firestore }, { token: 'OrderRepository' }], target: i0.ɵɵFactoryTarget.Injectable });
2224
+ OrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderService });
2225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: OrderService, decorators: [{
2226
2226
  type: Injectable
2227
- }], ctorParameters: () => [{ type: i1$1.Firestore }, { type: i1$2.OrderFirestoreRepository, decorators: [{
2227
+ }], ctorParameters: function () { return [{ type: i1$1.Firestore }, { type: i1$2.OrderFirestoreRepository, decorators: [{
2228
2228
  type: Inject,
2229
2229
  args: ['OrderRepository']
2230
- }] }] });
2230
+ }] }]; } });
2231
2231
 
2232
2232
  class ShippingService {
2233
2233
  constructor(http, apiUrl, homeService) {
@@ -2305,15 +2305,15 @@ class ShippingService {
2305
2305
  }
2306
2306
  return false;
2307
2307
  }
2308
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: ShippingService, deps: [{ token: i1$3.HttpClient }, { token: BACKEND_URL }, { token: HomeShopService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2309
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: ShippingService }); }
2310
2308
  }
2311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: ShippingService, decorators: [{
2309
+ ShippingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ShippingService, deps: [{ token: i1$3.HttpClient }, { token: BACKEND_URL }, { token: HomeShopService }], target: i0.ɵɵFactoryTarget.Injectable });
2310
+ ShippingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ShippingService });
2311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ShippingService, decorators: [{
2312
2312
  type: Injectable
2313
- }], ctorParameters: () => [{ type: i1$3.HttpClient }, { type: undefined, decorators: [{
2313
+ }], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: undefined, decorators: [{
2314
2314
  type: Inject,
2315
2315
  args: [BACKEND_URL]
2316
- }] }, { type: HomeShopService }] });
2316
+ }] }, { type: HomeShopService }]; } });
2317
2317
 
2318
2318
  class AngularConnectModule {
2319
2319
  static initializeApp(defaultShop, options, nameOrConfig) {
@@ -2337,53 +2337,53 @@ class AngularConnectModule {
2337
2337
  ],
2338
2338
  };
2339
2339
  }
2340
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2341
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: AngularConnectModule, imports: [i1$4.FirebaseAppModule, i2.StorageModule, AngularElasticSeachModule,
2342
- AngularFirebaseAuthModule,
2343
- AngularFirestoreModule,
2344
- AngularHasuraGraphQLModule] }); }
2345
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularConnectModule, providers: [
2346
- AuthService,
2347
- CartService,
2348
- CatalogService,
2349
- CategoryService,
2350
- CheckoutService,
2351
- CheckoutSubscriptionService,
2352
- CouponService,
2353
- HomeShopService,
2354
- OrderService,
2355
- ShippingService,
2356
- WishlistService,
2357
- {
2358
- provide: UpdateUserImage,
2359
- useFactory: (userRepository, fileUploader) => {
2360
- return new UpdateUserImage(userRepository, fileUploader);
2361
- },
2362
- deps: ['UserRepository', 'FileUploaderService'],
2363
- },
2364
- {
2365
- provide: 'FileUploaderService',
2366
- useFactory: (storage, baseUrl) => {
2367
- return new FirebaseFileUploaderService(storage, baseUrl);
2368
- },
2369
- deps: [Storage, STORAGE_BASE_URL],
2370
- },
2371
- ], imports: [provideFirebaseApp((injector) => {
2372
- const appName = injector.get(FIREBASE_APP_NAME) || '[DEFAULT]';
2373
- try {
2374
- return getApp(appName);
2375
- }
2376
- catch (error) {
2377
- return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
2378
- }
2379
- }),
2380
- provideStorage((injector) => getStorage(injector.get(FirebaseApp))),
2381
- AngularElasticSeachModule,
2382
- AngularFirebaseAuthModule,
2383
- AngularFirestoreModule,
2384
- AngularHasuraGraphQLModule] }); }
2385
2340
  }
2386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: AngularConnectModule, decorators: [{
2341
+ AngularConnectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2342
+ AngularConnectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularConnectModule, imports: [i1$4.FirebaseAppModule, i2.StorageModule, AngularElasticSeachModule,
2343
+ AngularFirebaseAuthModule,
2344
+ AngularFirestoreModule,
2345
+ AngularHasuraGraphQLModule] });
2346
+ AngularConnectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularConnectModule, providers: [
2347
+ AuthService,
2348
+ CartService,
2349
+ CatalogService,
2350
+ CategoryService,
2351
+ CheckoutService,
2352
+ CheckoutSubscriptionService,
2353
+ CouponService,
2354
+ HomeShopService,
2355
+ OrderService,
2356
+ ShippingService,
2357
+ WishlistService,
2358
+ {
2359
+ provide: UpdateUserImage,
2360
+ useFactory: (userRepository, fileUploader) => {
2361
+ return new UpdateUserImage(userRepository, fileUploader);
2362
+ },
2363
+ deps: ['UserRepository', 'FileUploaderService'],
2364
+ },
2365
+ {
2366
+ provide: 'FileUploaderService',
2367
+ useFactory: (storage, baseUrl) => {
2368
+ return new FirebaseFileUploaderService(storage, baseUrl);
2369
+ },
2370
+ deps: [Storage, STORAGE_BASE_URL],
2371
+ },
2372
+ ], imports: [provideFirebaseApp((injector) => {
2373
+ const appName = injector.get(FIREBASE_APP_NAME) || '[DEFAULT]';
2374
+ try {
2375
+ return getApp(appName);
2376
+ }
2377
+ catch (error) {
2378
+ return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
2379
+ }
2380
+ }),
2381
+ provideStorage((injector) => getStorage(injector.get(FirebaseApp))),
2382
+ AngularElasticSeachModule,
2383
+ AngularFirebaseAuthModule,
2384
+ AngularFirestoreModule,
2385
+ AngularHasuraGraphQLModule] });
2386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularConnectModule, decorators: [{
2387
2387
  type: NgModule,
2388
2388
  args: [{
2389
2389
  imports: [