@esolve/ng-esolve-connect 0.44.0 → 0.45.0

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 (116) hide show
  1. package/esm2022/lib/account/esolve-account.service.mjs +3 -3
  2. package/esm2022/lib/account/user-account/classes/esolve-user-client-account.model.mjs +2 -1
  3. package/esm2022/lib/account/user-account/interfaces/esolve-user-client-account-record.interface.mjs +1 -1
  4. package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +3 -3
  5. package/esm2022/lib/auth/esolve-auth.service.mjs +3 -3
  6. package/esm2022/lib/banners/esolve-banner.service.mjs +3 -3
  7. package/esm2022/lib/cart/esolve-cart.service.mjs +12 -14
  8. package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +3 -3
  9. package/esm2022/lib/core/esolve-config.service.mjs +7 -4
  10. package/esm2022/lib/core/esolve-connect-config.constant.mjs +1 -1
  11. package/esm2022/lib/core/esolve-connect-config.interface.mjs +2 -0
  12. package/esm2022/lib/core/index.mjs +3 -2
  13. package/esm2022/lib/core/providers/index.mjs +2 -0
  14. package/esm2022/lib/core/providers/provide-ng-esolve-connect.function.mjs +24 -0
  15. package/esm2022/lib/coupons/esolve-coupons.service.mjs +9 -11
  16. package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +3 -3
  17. package/esm2022/lib/images/directives/cdn-src.directive.mjs +5 -5
  18. package/esm2022/lib/images/esolve-image-loader.provider.mjs +6 -3
  19. package/esm2022/lib/images/functions/index.mjs +2 -1
  20. package/esm2022/lib/images/functions/is-ftg-cdn-path.function.mjs +5 -0
  21. package/esm2022/lib/images/functions/process-image-src.function.mjs +7 -2
  22. package/esm2022/lib/locations/esolve-locations.service.mjs +9 -11
  23. package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +3 -3
  24. package/esm2022/lib/menu/esolve-menu.service.mjs +3 -3
  25. package/esm2022/lib/news/esolve-news.service.mjs +3 -3
  26. package/esm2022/lib/ng-esolve-connect.module.mjs +8 -27
  27. package/esm2022/lib/payment/esolve-payment.service.mjs +11 -13
  28. package/esm2022/lib/payment/interfaces/index.mjs +3 -2
  29. package/esm2022/lib/ranges/esolve-ranges.service.mjs +9 -11
  30. package/esm2022/lib/session/esolve-session-metadata.service.mjs +3 -3
  31. package/esm2022/lib/session/esolve-session.service.mjs +3 -3
  32. package/esm2022/lib/shared/assets/esolve-assets.service.mjs +9 -11
  33. package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +3 -3
  34. package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +3 -3
  35. package/esm2022/lib/shared/geocoder/esolve-geocoder.service.mjs +9 -11
  36. package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +3 -3
  37. package/esm2022/lib/shared/seo/esolve-seo.service.mjs +3 -3
  38. package/esm2022/lib/shipping/esolve-shipping.service.mjs +9 -11
  39. package/esm2022/lib/specials/esolve-specials.service.mjs +9 -11
  40. package/esm2022/lib/stock/esolve-stock.service.mjs +9 -11
  41. package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +9 -11
  42. package/esm2022/lib/tags/esolve-tags.service.mjs +9 -11
  43. package/esm2022/lib/topics/esolve-topic.service.mjs +9 -11
  44. package/esm2022/lib/transactions/esolve-transactions.service.mjs +3 -3
  45. package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +11 -13
  46. package/esm2022/media/index.mjs +2 -2
  47. package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +14 -13
  48. package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +15 -14
  49. package/esm2022/media/lib/esolve-connect-media-config.token.mjs +1 -1
  50. package/esm2022/media/lib/functions/index.mjs +2 -0
  51. package/esm2022/media/lib/functions/provide-ng-esolve-connect-media.function.mjs +8 -0
  52. package/esm2022/media/lib/interfaces/esolve-connect-media-config.interface.mjs +2 -0
  53. package/esm2022/media/lib/interfaces/index.mjs +2 -1
  54. package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +8 -29
  55. package/esm2022/media/lib/services/esolve-media-layout.service.mjs +8 -10
  56. package/esm2022/media/lib/services/esolve-media.service.mjs +10 -14
  57. package/esm2022/notifications/index.mjs +1 -2
  58. package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +3 -3
  59. package/esm2022/survey/index.mjs +1 -2
  60. package/esm2022/survey/lib/services/esolve-survey.service.mjs +3 -3
  61. package/fesm2022/esolve-ng-esolve-connect-media.mjs +50 -64
  62. package/fesm2022/esolve-ng-esolve-connect-media.mjs.map +1 -1
  63. package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +5 -18
  64. package/fesm2022/esolve-ng-esolve-connect-notifications.mjs.map +1 -1
  65. package/fesm2022/esolve-ng-esolve-connect-survey.mjs +6 -19
  66. package/fesm2022/esolve-ng-esolve-connect-survey.mjs.map +1 -1
  67. package/fesm2022/esolve-ng-esolve-connect.mjs +169 -194
  68. package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
  69. package/lib/account/user-account/classes/esolve-user-client-account.model.d.ts +1 -0
  70. package/lib/account/user-account/interfaces/esolve-user-client-account-record.interface.d.ts +1 -0
  71. package/lib/cart/esolve-cart.service.d.ts +2 -2
  72. package/lib/core/esolve-config.service.d.ts +2 -1
  73. package/lib/core/esolve-connect-config.constant.d.ts +1 -1
  74. package/lib/core/{esolve-connect.config.d.ts → esolve-connect-config.interface.d.ts} +4 -0
  75. package/lib/core/index.d.ts +2 -1
  76. package/lib/core/providers/index.d.ts +1 -0
  77. package/lib/core/providers/provide-ng-esolve-connect.function.d.ts +3 -0
  78. package/lib/coupons/esolve-coupons.service.d.ts +2 -2
  79. package/lib/images/esolve-image-loader.provider.d.ts +1 -1
  80. package/lib/images/functions/index.d.ts +1 -0
  81. package/lib/images/functions/is-ftg-cdn-path.function.d.ts +1 -0
  82. package/lib/images/functions/process-image-src.function.d.ts +1 -1
  83. package/lib/locations/esolve-locations.service.d.ts +2 -2
  84. package/lib/payment/esolve-payment.service.d.ts +2 -2
  85. package/lib/payment/interfaces/index.d.ts +2 -0
  86. package/lib/ranges/esolve-ranges.service.d.ts +2 -2
  87. package/lib/shared/assets/esolve-assets.service.d.ts +2 -2
  88. package/lib/shared/geocoder/esolve-geocoder.service.d.ts +2 -2
  89. package/lib/shipping/esolve-shipping.service.d.ts +2 -2
  90. package/lib/specials/esolve-specials.service.d.ts +2 -2
  91. package/lib/stock/esolve-stock.service.d.ts +2 -2
  92. package/lib/suppliers/esolve-suppliers.service.d.ts +2 -2
  93. package/lib/tags/esolve-tags.service.d.ts +2 -2
  94. package/lib/topics/esolve-topic.service.d.ts +2 -2
  95. package/lib/wishlist/esolve-wishlist.service.d.ts +2 -2
  96. package/media/index.d.ts +1 -1
  97. package/media/lib/components/media-layout/esolve-media-layout.component.d.ts +2 -3
  98. package/media/lib/components/media-section/esolve-media-section.component.d.ts +2 -3
  99. package/media/lib/esolve-connect-media-config.token.d.ts +1 -1
  100. package/media/lib/functions/index.d.ts +1 -0
  101. package/media/lib/functions/provide-ng-esolve-connect-media.function.d.ts +3 -0
  102. package/media/lib/interfaces/esolve-connect-media-config.interface.d.ts +7 -0
  103. package/media/lib/interfaces/index.d.ts +1 -0
  104. package/media/lib/ng-esolve-connect-media.module.d.ts +2 -6
  105. package/media/lib/services/esolve-media-layout.service.d.ts +1 -2
  106. package/media/lib/services/esolve-media.service.d.ts +0 -3
  107. package/notifications/index.d.ts +0 -1
  108. package/package.json +8 -8
  109. package/survey/index.d.ts +0 -1
  110. package/esm2022/lib/core/esolve-connect.config.mjs +0 -2
  111. package/esm2022/media/lib/esolve-connect-media.config.mjs +0 -2
  112. package/esm2022/notifications/lib/ng-esolve-connect-notifications.module.mjs +0 -15
  113. package/esm2022/survey/lib/ng-esolve-connect-survey.module.mjs +0 -15
  114. package/media/lib/esolve-connect-media.config.d.ts +0 -6
  115. package/notifications/lib/ng-esolve-connect-notifications.module.d.ts +0 -7
  116. package/survey/lib/ng-esolve-connect-survey.module.d.ts +0 -7
@@ -1,6 +1,6 @@
1
1
  import { isPlatformBrowser, CommonModule, IMAGE_LOADER } from '@angular/common';
2
- import * as i1$1 from '@angular/common/http';
3
- import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
2
+ import * as i2 from '@angular/common/http';
3
+ import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, HttpClientModule } from '@angular/common/http';
4
4
  import * as i0 from '@angular/core';
5
5
  import { InjectionToken, Injectable, Inject, PLATFORM_ID, APP_INITIALIZER, NgModule, Directive, Input, HostListener } from '@angular/core';
6
6
  import * as i1 from 'ngx-cookie-service-ssr';
@@ -8,7 +8,7 @@ import { SsrCookieService } from 'ngx-cookie-service-ssr';
8
8
  import { throwError, BehaviorSubject, Subject, map, switchMap, timer, takeUntil, combineLatest, shareReplay, filter, distinctUntilChanged, of, firstValueFrom, iif } from 'rxjs';
9
9
  import { map as map$1, catchError, switchMap as switchMap$1, tap } from 'rxjs/operators';
10
10
  import { fromUnixTime } from 'date-fns';
11
- import * as i2 from '@angular/platform-browser';
11
+ import * as i2$1 from '@angular/platform-browser';
12
12
 
13
13
  const ESOLVE_CONNECT_CONFIG = new InjectionToken('esolve.connect.config');
14
14
 
@@ -45,12 +45,15 @@ class EsolveConfigService {
45
45
  }
46
46
  this.legacy_cdn = config.legacy_cdn;
47
47
  this.cdn = config.cdn;
48
+ if (config.ftg_cdn) {
49
+ this.ftg_cdn = config.ftg_cdn;
50
+ }
48
51
  this.error_image_path = config.error_image_path;
49
52
  }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, deps: [{ token: ESOLVE_CONNECT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
51
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, deps: [{ token: ESOLVE_CONNECT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
54
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
52
55
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, decorators: [{
54
57
  type: Injectable,
55
58
  args: [{
56
59
  providedIn: 'root',
@@ -154,10 +157,10 @@ class EsolveErrorHandlerService {
154
157
  parseDeleteError(result) {
155
158
  return new EsolveHttpError('error', result.code, result.message);
156
159
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
158
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
160
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
161
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
159
162
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
161
164
  type: Injectable,
162
165
  args: [{
163
166
  providedIn: 'root',
@@ -180,10 +183,10 @@ class EsolveCookieService {
180
183
  delete(name, path, domain, secure) {
181
184
  this.cookieService.delete(name, path, domain, secure);
182
185
  }
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
184
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
187
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
185
188
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCookieService, decorators: [{
187
190
  type: Injectable,
188
191
  args: [{
189
192
  providedIn: 'root',
@@ -374,10 +377,10 @@ class EsolveSessionService {
374
377
  }
375
378
  localStorage.removeItem(this.storage_key);
376
379
  }
377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
378
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
380
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
381
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
379
382
  }
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, decorators: [{
383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, decorators: [{
381
384
  type: Injectable,
382
385
  args: [{
383
386
  providedIn: 'root',
@@ -425,10 +428,10 @@ class EsolveResponseHandlerService {
425
428
  }
426
429
  return resultHandler(response);
427
430
  }
428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
429
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
431
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
432
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
430
433
  }
431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
432
435
  type: Injectable,
433
436
  args: [{
434
437
  providedIn: 'root',
@@ -488,15 +491,15 @@ class EsolveSessionMetadataService {
488
491
  return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
489
492
  }));
490
493
  }
491
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
492
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
494
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
495
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
493
496
  }
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
495
498
  type: Injectable,
496
499
  args: [{
497
500
  providedIn: 'root',
498
501
  }]
499
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
502
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
500
503
 
501
504
  class EsolveAuthService {
502
505
  constructor(config, http, session, errorHandler) {
@@ -711,15 +714,15 @@ class EsolveAuthService {
711
714
  }
712
715
  return throwError(() => error);
713
716
  }
714
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
715
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
717
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
718
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
716
719
  }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, decorators: [{
720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, decorators: [{
718
721
  type: Injectable,
719
722
  args: [{
720
723
  providedIn: 'root',
721
724
  }]
722
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
725
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
723
726
 
724
727
  class EsolveAuthInterceptorService {
725
728
  constructor(config, session) {
@@ -752,10 +755,10 @@ class EsolveAuthInterceptorService {
752
755
  }
753
756
  return next.handle(req);
754
757
  }
755
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
756
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService }); }
758
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
759
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService }); }
757
760
  }
758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
759
762
  type: Injectable
760
763
  }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
761
764
 
@@ -769,38 +772,41 @@ const ESOLVE_EURUS_AUTO_LOGIN = {
769
772
  },
770
773
  };
771
774
 
775
+ function provideNgEsolveConnect(config, auto_login = false) {
776
+ const providers = [
777
+ SsrCookieService,
778
+ {
779
+ provide: ESOLVE_CONNECT_CONFIG,
780
+ useValue: config,
781
+ },
782
+ {
783
+ provide: HTTP_INTERCEPTORS,
784
+ useClass: EsolveAuthInterceptorService,
785
+ multi: true,
786
+ },
787
+ provideHttpClient(withInterceptorsFromDi()),
788
+ ];
789
+ if (auto_login) {
790
+ providers.push(ESOLVE_EURUS_AUTO_LOGIN);
791
+ }
792
+ return providers;
793
+ }
794
+
772
795
  class NgEsolveConnectModule {
773
796
  static forRoot(config, auto_login = false) {
774
- const providers = [
775
- {
776
- provide: ESOLVE_CONNECT_CONFIG,
777
- useValue: config,
778
- },
779
- {
780
- provide: HTTP_INTERCEPTORS,
781
- useClass: EsolveAuthInterceptorService,
782
- multi: true,
783
- },
784
- ];
785
- if (auto_login) {
786
- providers.push(ESOLVE_EURUS_AUTO_LOGIN);
787
- }
788
797
  return {
789
798
  ngModule: NgEsolveConnectModule,
790
- providers,
799
+ providers: provideNgEsolveConnect(config, auto_login),
791
800
  };
792
801
  }
793
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
794
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
795
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, providers: [SsrCookieService], imports: [CommonModule, HttpClientModule] }); }
802
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
803
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
804
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
796
805
  }
797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
798
807
  type: NgModule,
799
808
  args: [{
800
- declarations: [],
801
809
  imports: [CommonModule, HttpClientModule],
802
- providers: [SsrCookieService],
803
- exports: [],
804
810
  }]
805
811
  }] });
806
812
 
@@ -809,6 +815,11 @@ function isEsolveCdnPath(path) {
809
815
  return cdn_regex.test(path);
810
816
  }
811
817
 
818
+ function isFtgCdnPath(path) {
819
+ const cdn_regex = /^\/?images\/(?:stock)\//;
820
+ return cdn_regex.test(path);
821
+ }
822
+
812
823
  function isLegacyEsolveCdnPath(path) {
813
824
  const cdn_regex = /^\/?images\/(?:media|news|assets|banners|documents|manufacturers|ranges|categories|subcategories|tags|specials)\//;
814
825
  return cdn_regex.test(path);
@@ -823,7 +834,7 @@ function normalizePath(path) {
823
834
  function normalizeSrc(src) {
824
835
  return src.startsWith('/') ? src.slice(1) : src;
825
836
  }
826
- function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '') {
837
+ function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '', ftg_cdn) {
827
838
  if (isAbsoluteUrl(src)) {
828
839
  return src;
829
840
  }
@@ -842,6 +853,10 @@ function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '') {
842
853
  if (isLegacyEsolveCdnPath(src)) {
843
854
  return `${legacy_cdn_url}/${src}`;
844
855
  }
856
+ if (ftg_cdn && isFtgCdnPath(src)) {
857
+ ftg_cdn = normalizePath(ftg_cdn);
858
+ return `${ftg_cdn}/src`;
859
+ }
845
860
  return `${cdn_url}/${src}`;
846
861
  }
847
862
 
@@ -849,11 +864,14 @@ const ESOLVE_IMAGE_LOADER_PROVIDER = {
849
864
  provide: IMAGE_LOADER,
850
865
  useFactory: (esolveConfig) => {
851
866
  return (config) => {
852
- return processEsolveImageSrc(config.src, esolveConfig.cdn, esolveConfig.legacy_cdn);
867
+ return processEsolveImageSrc(config.src, esolveConfig.cdn, esolveConfig.legacy_cdn, esolveConfig.ftg_cdn);
853
868
  };
854
869
  },
855
870
  deps: [EsolveConfigService],
856
871
  };
872
+ function provideEsolveImageLoader() {
873
+ return ESOLVE_IMAGE_LOADER_PROVIDER;
874
+ }
857
875
 
858
876
  /**
859
877
  * An alternative to optimised images to load a new image
@@ -884,7 +902,7 @@ class EsolveCdnSrcDirective {
884
902
  this.setErrorImage();
885
903
  return;
886
904
  }
887
- const image_src = processEsolveImageSrc(this.src, this.config.cdn, this.config.legacy_cdn);
905
+ const image_src = processEsolveImageSrc(this.src, this.config.cdn, this.config.legacy_cdn, this.config.ftg_cdn);
888
906
  this.setSrc(image_src);
889
907
  }
890
908
  setSrc(src) {
@@ -905,10 +923,10 @@ class EsolveCdnSrcDirective {
905
923
  isImage(el) {
906
924
  return 'loading' in this.el.nativeElement;
907
925
  }
908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
909
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
926
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
927
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.2", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
910
928
  }
911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
929
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
912
930
  type: Directive,
913
931
  args: [{
914
932
  selector: '[eslvCdnSrc]',
@@ -1236,15 +1254,15 @@ class EsolveSeoService {
1236
1254
  }
1237
1255
  return pageSeo;
1238
1256
  }
1239
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2.Title }, { token: i2.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
1240
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
1257
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2$1.Title }, { token: i2$1.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
1258
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
1241
1259
  }
1242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, decorators: [{
1260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, decorators: [{
1243
1261
  type: Injectable,
1244
1262
  args: [{
1245
1263
  providedIn: 'root',
1246
1264
  }]
1247
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.Title }, { type: i2.Meta }]; } });
1265
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2$1.Title }, { type: i2$1.Meta }]; } });
1248
1266
 
1249
1267
  class EsolveGeocodeAddressResult {
1250
1268
  constructor(street_number, street, suburb, city, province, country, postal_code) {
@@ -1326,18 +1344,15 @@ class EsolveGeocoderService {
1326
1344
  const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
1327
1345
  return geocode_result;
1328
1346
  }
1329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1330
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
1347
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1348
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
1331
1349
  }
1332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1333
1351
  type: Injectable,
1334
1352
  args: [{
1335
1353
  providedIn: 'root',
1336
1354
  }]
1337
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1338
- type: Inject,
1339
- args: [ESOLVE_CONNECT_CONFIG]
1340
- }] }, { type: i1$1.HttpClient }]; } });
1355
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1341
1356
 
1342
1357
  class EsolveLinkedAsset {
1343
1358
  constructor(record) {
@@ -1530,15 +1545,15 @@ class EsolveCategoryTreeService {
1530
1545
  }
1531
1546
  return null;
1532
1547
  }
1533
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1534
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
1548
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1549
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
1535
1550
  }
1536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1537
1552
  type: Injectable,
1538
1553
  args: [{
1539
1554
  providedIn: 'root',
1540
1555
  }]
1541
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }]; } });
1556
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1542
1557
 
1543
1558
  class EsolveManufacturer {
1544
1559
  get original_image_src() {
@@ -1652,15 +1667,15 @@ class EsolveManufacturersService {
1652
1667
  processManufacturer(record) {
1653
1668
  return new EsolveManufacturer(record);
1654
1669
  }
1655
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1656
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
1670
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1671
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
1657
1672
  }
1658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1659
1674
  type: Injectable,
1660
1675
  args: [{
1661
1676
  providedIn: 'root',
1662
1677
  }]
1663
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }]; } });
1678
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1664
1679
 
1665
1680
  // Types
1666
1681
 
@@ -1772,18 +1787,15 @@ class EsolveRangesService {
1772
1787
  processRange(record) {
1773
1788
  return new EsolveRange(record);
1774
1789
  }
1775
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1776
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
1790
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1791
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
1777
1792
  }
1778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, decorators: [{
1793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, decorators: [{
1779
1794
  type: Injectable,
1780
1795
  args: [{
1781
1796
  providedIn: 'root',
1782
1797
  }]
1783
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1784
- type: Inject,
1785
- args: [ESOLVE_CONNECT_CONFIG]
1786
- }] }, { type: i1$1.HttpClient }]; } });
1798
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1787
1799
 
1788
1800
  class EsolveTag {
1789
1801
  /**
@@ -1878,18 +1890,15 @@ class EsolveTagsService {
1878
1890
  }
1879
1891
  return tags;
1880
1892
  }
1881
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1882
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
1893
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1894
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
1883
1895
  }
1884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, decorators: [{
1896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, decorators: [{
1885
1897
  type: Injectable,
1886
1898
  args: [{
1887
1899
  providedIn: 'root',
1888
1900
  }]
1889
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1890
- type: Inject,
1891
- args: [ESOLVE_CONNECT_CONFIG]
1892
- }] }, { type: i1$1.HttpClient }]; } });
1901
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1893
1902
 
1894
1903
  // Types
1895
1904
 
@@ -1943,18 +1952,15 @@ class EsolveTopicService {
1943
1952
  }
1944
1953
  return topics;
1945
1954
  }
1946
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1947
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
1955
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1956
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
1948
1957
  }
1949
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, decorators: [{
1958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, decorators: [{
1950
1959
  type: Injectable,
1951
1960
  args: [{
1952
1961
  providedIn: 'root',
1953
1962
  }]
1954
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1955
- type: Inject,
1956
- args: [ESOLVE_CONNECT_CONFIG]
1957
- }] }, { type: i1$1.HttpClient }]; } });
1963
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
1958
1964
 
1959
1965
  class EsolveAsset {
1960
1966
  /**
@@ -2139,18 +2145,15 @@ class EsolveAssetsService {
2139
2145
  const total = total_records;
2140
2146
  return new EsolveList(assets, page, rows, total);
2141
2147
  }
2142
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2143
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
2148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2149
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
2144
2150
  }
2145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, decorators: [{
2151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, decorators: [{
2146
2152
  type: Injectable,
2147
2153
  args: [{
2148
2154
  providedIn: 'root',
2149
2155
  }]
2150
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2151
- type: Inject,
2152
- args: [ESOLVE_CONNECT_CONFIG]
2153
- }] }, { type: i1$1.HttpClient }]; } });
2156
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
2154
2157
 
2155
2158
  // Types
2156
2159
 
@@ -2259,6 +2262,7 @@ class EsolveStatement {
2259
2262
  class EsolveUserClientAccount {
2260
2263
  constructor(record) {
2261
2264
  if (record) {
2265
+ this.esolve_id = +(record.id ?? 0);
2262
2266
  this.account = record.account ?? '';
2263
2267
  this.branch_code = record.branch_code ?? '';
2264
2268
  this.account_group = record.account_group ?? '';
@@ -2678,18 +2682,15 @@ class EsolveLocationsService {
2678
2682
  }
2679
2683
  return stock_locations;
2680
2684
  }
2681
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2682
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
2685
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2686
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
2683
2687
  }
2684
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, decorators: [{
2688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, decorators: [{
2685
2689
  type: Injectable,
2686
2690
  args: [{
2687
2691
  providedIn: 'root',
2688
2692
  }]
2689
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2690
- type: Inject,
2691
- args: [ESOLVE_CONNECT_CONFIG]
2692
- }] }, { type: i1$1.HttpClient }]; } });
2693
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
2693
2694
 
2694
2695
  class EsolveTransactionLocation extends EsolveLocation {
2695
2696
  }
@@ -2884,15 +2885,15 @@ class EsolveTransactionsService {
2884
2885
  }
2885
2886
  return transactions;
2886
2887
  }
2887
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2888
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
2888
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2889
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
2889
2890
  }
2890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2891
2892
  type: Injectable,
2892
2893
  args: [{
2893
2894
  providedIn: 'root',
2894
2895
  }]
2895
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
2896
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
2896
2897
 
2897
2898
  class EsolveEmptyCartResult extends EsolveResponseResult {
2898
2899
  }
@@ -3268,10 +3269,10 @@ class EsolveCouponsService {
3268
3269
  }
3269
3270
  return coupons;
3270
3271
  }
3271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3272
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
3272
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3273
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
3273
3274
  }
3274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, decorators: [{
3275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, decorators: [{
3275
3276
  type: Injectable,
3276
3277
  args: [{
3277
3278
  providedIn: 'root',
@@ -3279,10 +3280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
3279
3280
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3280
3281
  type: Inject,
3281
3282
  args: [PLATFORM_ID]
3282
- }] }, { type: undefined, decorators: [{
3283
- type: Inject,
3284
- args: [ESOLVE_CONNECT_CONFIG]
3285
- }] }, { type: i1$1.HttpClient }, { type: EsolveCookieService }]; } });
3283
+ }] }, { type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveCookieService }]; } });
3286
3284
 
3287
3285
  // Classes
3288
3286
 
@@ -3492,18 +3490,15 @@ class EsolveCartService {
3492
3490
  const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
3493
3491
  return cart_totals;
3494
3492
  }
3495
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3496
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
3493
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3494
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
3497
3495
  }
3498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, decorators: [{
3496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, decorators: [{
3499
3497
  type: Injectable,
3500
3498
  args: [{
3501
3499
  providedIn: 'root',
3502
3500
  }]
3503
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3504
- type: Inject,
3505
- args: [ESOLVE_CONNECT_CONFIG]
3506
- }] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }, { type: EsolveCouponsService }]; } });
3501
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }, { type: EsolveCouponsService }]; } });
3507
3502
 
3508
3503
  class EsolveAccountService {
3509
3504
  get user_id() {
@@ -3899,15 +3894,15 @@ class EsolveAccountService {
3899
3894
  return new EsolveLocationUpdateResult(response);
3900
3895
  })));
3901
3896
  }
3902
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3903
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
3897
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3898
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
3904
3899
  }
3905
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, decorators: [{
3900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, decorators: [{
3906
3901
  type: Injectable,
3907
3902
  args: [{
3908
3903
  providedIn: 'root',
3909
3904
  }]
3910
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
3905
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
3911
3906
 
3912
3907
  class EsolveBanner {
3913
3908
  constructor(id, banner_display_container, identifier, type, title, article, sort_priority, link, images) {
@@ -4038,15 +4033,15 @@ class EsolveBannerService {
4038
4033
  }
4039
4034
  return banners;
4040
4035
  }
4041
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4042
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
4036
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4037
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
4043
4038
  }
4044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, decorators: [{
4039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, decorators: [{
4045
4040
  type: Injectable,
4046
4041
  args: [{
4047
4042
  providedIn: 'root',
4048
4043
  }]
4049
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }]; } });
4044
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
4050
4045
 
4051
4046
  // Types
4052
4047
 
@@ -4108,15 +4103,15 @@ class EsolveMenuService {
4108
4103
  }
4109
4104
  return menu;
4110
4105
  }
4111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4112
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
4106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4107
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
4113
4108
  }
4114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, decorators: [{
4109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, decorators: [{
4115
4110
  type: Injectable,
4116
4111
  args: [{
4117
4112
  providedIn: 'root',
4118
4113
  }]
4119
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }]; } });
4114
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
4120
4115
 
4121
4116
  class EsolveNewsGroup {
4122
4117
  get image_src() {
@@ -4323,15 +4318,15 @@ class EsolveNewsService {
4323
4318
  }
4324
4319
  return params;
4325
4320
  }
4326
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4327
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
4321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4322
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
4328
4323
  }
4329
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, decorators: [{
4324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, decorators: [{
4330
4325
  type: Injectable,
4331
4326
  args: [{
4332
4327
  providedIn: 'root',
4333
4328
  }]
4334
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }]; } });
4329
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
4335
4330
 
4336
4331
  // Types
4337
4332
 
@@ -5316,18 +5311,15 @@ class EsolveStockService {
5316
5311
  getStockHistoryRecords(params) {
5317
5312
  return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
5318
5313
  }
5319
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5320
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5314
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5315
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5321
5316
  }
5322
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, decorators: [{
5317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, decorators: [{
5323
5318
  type: Injectable,
5324
5319
  args: [{
5325
5320
  providedIn: 'root',
5326
5321
  }]
5327
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
5328
- type: Inject,
5329
- args: [ESOLVE_CONNECT_CONFIG]
5330
- }] }, { type: i1$1.HttpClient }]; } });
5322
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
5331
5323
 
5332
5324
  class EsolveSpecialImage {
5333
5325
  constructor(record) {
@@ -5466,20 +5458,15 @@ class EsolveSpecialsService {
5466
5458
  processSpecial(record) {
5467
5459
  return new EsolveSpecial(record);
5468
5460
  }
5469
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5470
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5461
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5462
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5471
5463
  }
5472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5473
5465
  type: Injectable,
5474
5466
  args: [{
5475
5467
  providedIn: 'root',
5476
5468
  }]
5477
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
5478
- type: Inject,
5479
- args: [ESOLVE_CONNECT_CONFIG]
5480
- }] }, { type: i1$1.HttpClient }]; } });
5481
-
5482
- // Only export the types that are accessible to the public API
5469
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
5483
5470
 
5484
5471
  class EsolveBankingDetails {
5485
5472
  constructor(bank_name, account_holder, account, account_type, swift_number, branch_code) {
@@ -5812,18 +5799,15 @@ class EsolvePaymentService {
5812
5799
  const year_string = card_data.expiry_year.padStart(4, '0');
5813
5800
  return `${month_string}${year_string}`;
5814
5801
  }
5815
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5816
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5802
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5803
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5817
5804
  }
5818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, decorators: [{
5805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, decorators: [{
5819
5806
  type: Injectable,
5820
5807
  args: [{
5821
5808
  providedIn: 'root',
5822
5809
  }]
5823
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
5824
- type: Inject,
5825
- args: [ESOLVE_CONNECT_CONFIG]
5826
- }] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
5810
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
5827
5811
 
5828
5812
  class EsolveShippingTotals {
5829
5813
  constructor(total, vat, savings) {
@@ -6084,18 +6068,15 @@ class EsolveShippingService {
6084
6068
  const shipping_cost = new EsolveShippingCost(+record.shipping_total, +record.vat_on_shipping, +record.total_saving_on_shipping, +record.insurance_total, +record.vat_on_insurance, +record.total_saving_on_insurance);
6085
6069
  return shipping_cost;
6086
6070
  }
6087
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6088
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6072
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6089
6073
  }
6090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, decorators: [{
6074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, decorators: [{
6091
6075
  type: Injectable,
6092
6076
  args: [{
6093
6077
  providedIn: 'root',
6094
6078
  }]
6095
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
6096
- type: Inject,
6097
- args: [ESOLVE_CONNECT_CONFIG]
6098
- }] }, { type: i1$1.HttpClient }]; } });
6079
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
6099
6080
 
6100
6081
  class EsolveEnquiryResult extends EsolveResponseResult {
6101
6082
  constructor(response) {
@@ -6125,15 +6106,15 @@ class EsolveEnquiryService {
6125
6106
  return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
6126
6107
  }));
6127
6108
  }
6128
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6129
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6110
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6130
6111
  }
6131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6132
6113
  type: Injectable,
6133
6114
  args: [{
6134
6115
  providedIn: 'root',
6135
6116
  }]
6136
- }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
6117
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
6137
6118
 
6138
6119
  class EsolveWishlistItem {
6139
6120
  constructor(id, qty, vat_rate, price, price_incl, vat_total, total, total_incl, stock_item) {
@@ -6246,18 +6227,15 @@ class EsolveWishlistService {
6246
6227
  getWishlistRecords(params) {
6247
6228
  return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
6248
6229
  }
6249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6250
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6230
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6231
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6251
6232
  }
6252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, decorators: [{
6233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, decorators: [{
6253
6234
  type: Injectable,
6254
6235
  args: [{
6255
6236
  providedIn: 'root',
6256
6237
  }]
6257
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
6258
- type: Inject,
6259
- args: [ESOLVE_CONNECT_CONFIG]
6260
- }] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
6238
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
6261
6239
 
6262
6240
  class EsolveSupplier {
6263
6241
  constructor(record) {
@@ -6323,18 +6301,15 @@ class EsolveSuppliersService {
6323
6301
  processSuppliers(record) {
6324
6302
  return new EsolveSupplier(record);
6325
6303
  }
6326
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6327
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6305
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6328
6306
  }
6329
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6330
6308
  type: Injectable,
6331
6309
  args: [{
6332
6310
  providedIn: 'root',
6333
6311
  }]
6334
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
6335
- type: Inject,
6336
- args: [ESOLVE_CONNECT_CONFIG]
6337
- }] }, { type: i1$1.HttpClient }]; } });
6312
+ }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
6338
6313
 
6339
6314
  /*
6340
6315
  * Public API Surface of ng-esolve-connect
@@ -6344,5 +6319,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
6344
6319
  * Generated bundle index. Do not edit.
6345
6320
  */
6346
6321
 
6347
- export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN, ESOLVE_IMAGE_LOADER_PROVIDER, EsolveAccountConfirmationResult, EsolveAccountService, EsolveAdditionalStockImage, EsolveAddress, EsolveAddressResult, EsolveAsset, EsolveAssetsService, EsolveAuthInterceptorService, EsolveAuthService, EsolveBankingDetails, EsolveBanner, EsolveBannerImage, EsolveBannerImageHotspot, EsolveBannerService, EsolveCartItem, EsolveCartService, EsolveCartStockItem, EsolveCartTotals, EsolveCategoryTreeItem, EsolveCategoryTreeService, EsolveCdnSrcDirective, EsolveChangePasswordResult, EsolveCheckoutResult, EsolveColour, EsolveConfigService, EsolveCookieService, EsolveCoupon, EsolveCouponsService, EsolveDependantItem, EsolveEmptyCartResult, EsolveEmptyWishlistResult, EsolveEnquiryResult, EsolveEnquiryService, EsolveErrorHandlerService, esolveFilterFactory as EsolveFilterFactory, EsolveGeocodeAddressResult, EsolveGeocodeCoordsResult, EsolveGeocodeResult, EsolveGeocoderService, EsolveHttpError, EsolveLinkedAsset, EsolveLinkedStockItem, EsolveList, EsolveLocation, EsolveLocationAddress, EsolveLocationContactInfo, EsolveLocationGEO, EsolveLocationPOBoxAddress, EsolveLocationTradingDay, EsolveLocationTradingTimes, EsolveLocationUpdateResult, EsolveLocationsService, EsolveManufacturer, EsolveManufacturersService, EsolveMediaStockItem, EsolveMenuItem, EsolveMenuService, EsolveMultipleSelectFilter, EsolveNewsArticle, EsolveNewsArticleAuthor, EsolveNewsArticleList, EsolveNewsGroup, EsolveNewsService, EsolvePaymentMethod, EsolvePaymentResult, EsolvePaymentService, EsolveRange, EsolveRangeFilter, EsolveRangesService, EsolveRecipeStockItem, EsolveRegistrationResult, EsolveResetPasswordResult, EsolveResponseHandlerService, EsolveResponseResult, EsolveResult, EsolveSeoInfo, EsolveSeoService, EsolveSessionMetadataService, EsolveSessionService, EsolveShippingCost, EsolveShippingMethod, EsolveShippingService, EsolveShippingTotals, EsolveSingleSelectFilter, EsolveSpecial, EsolveSpecialDates, EsolveSpecialImage, EsolveSpecialImageCollection, EsolveSpecialsService, EsolveStatement, EsolveStatementAgeing, EsolveStatementBalances, EsolveStatementTransaction, EsolveStockBadge, EsolveStockGroup, EsolveStockGroupItem, EsolveStockImage, EsolveStockImageCollection, EsolveStockItem, EsolveStockItemBase, EsolveStockItemList, EsolveStockLeadTimes, EsolveStockPrice, EsolveStockService, EsolveSupplier, EsolveSuppliersService, EsolveTag, EsolveTagsService, EsolveTimeSlot, EsolveTimeSlotConfig, EsolveTimeSlotDate, EsolveTimeSlotDays, EsolveTimeSlotTimes, EsolveToggleFilter, EsolveTopic, EsolveTopicService, EsolveTransaction, EsolveTransactionAddress, EsolveTransactionAnalyticsData, EsolveTransactionClient, EsolveTransactionItem, EsolveTransactionItemPrice, EsolveTransactionList, EsolveTransactionLocation, EsolveTransactionPaymentMethod, EsolveTransactionShippingMethod, EsolveTransactionUser, EsolveTransactionsService, EsolveUserAccount, EsolveUserAccountBusiness, EsolveUserAccountContact, EsolveUserAccountResult, EsolveUserClientAccount, EsolveUserClientAccountBalances, EsolveVaultItem, EsolveVaultItemResult, EsolveWishlistItem, EsolveWishlistService, NgEsolveConnectModule, esolveHexHash, isEsolveCdnPath, isLegacyEsolveCdnPath, processEsolveImageSrc };
6322
+ export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN, EsolveAccountConfirmationResult, EsolveAccountService, EsolveAdditionalStockImage, EsolveAddress, EsolveAddressResult, EsolveAsset, EsolveAssetsService, EsolveAuthInterceptorService, EsolveAuthService, EsolveBankingDetails, EsolveBanner, EsolveBannerImage, EsolveBannerImageHotspot, EsolveBannerService, EsolveCartItem, EsolveCartService, EsolveCartStockItem, EsolveCartTotals, EsolveCategoryTreeItem, EsolveCategoryTreeService, EsolveCdnSrcDirective, EsolveChangePasswordResult, EsolveCheckoutResult, EsolveColour, EsolveConfigService, EsolveCookieService, EsolveCoupon, EsolveCouponsService, EsolveDependantItem, EsolveEmptyCartResult, EsolveEmptyWishlistResult, EsolveEnquiryResult, EsolveEnquiryService, EsolveErrorHandlerService, esolveFilterFactory as EsolveFilterFactory, EsolveGeocodeAddressResult, EsolveGeocodeCoordsResult, EsolveGeocodeResult, EsolveGeocoderService, EsolveHttpError, EsolveLinkedAsset, EsolveLinkedStockItem, EsolveList, EsolveLocation, EsolveLocationAddress, EsolveLocationContactInfo, EsolveLocationGEO, EsolveLocationPOBoxAddress, EsolveLocationTradingDay, EsolveLocationTradingTimes, EsolveLocationUpdateResult, EsolveLocationsService, EsolveManufacturer, EsolveManufacturersService, EsolveMediaStockItem, EsolveMenuItem, EsolveMenuService, EsolveMultipleSelectFilter, EsolveNewsArticle, EsolveNewsArticleAuthor, EsolveNewsArticleList, EsolveNewsGroup, EsolveNewsService, EsolvePaymentMethod, EsolvePaymentResult, EsolvePaymentService, EsolveRange, EsolveRangeFilter, EsolveRangesService, EsolveRecipeStockItem, EsolveRegistrationResult, EsolveResetPasswordResult, EsolveResponseHandlerService, EsolveResponseResult, EsolveResult, EsolveSeoInfo, EsolveSeoService, EsolveSessionMetadataService, EsolveSessionService, EsolveShippingCost, EsolveShippingMethod, EsolveShippingService, EsolveShippingTotals, EsolveSingleSelectFilter, EsolveSpecial, EsolveSpecialDates, EsolveSpecialImage, EsolveSpecialImageCollection, EsolveSpecialsService, EsolveStatement, EsolveStatementAgeing, EsolveStatementBalances, EsolveStatementTransaction, EsolveStockBadge, EsolveStockGroup, EsolveStockGroupItem, EsolveStockImage, EsolveStockImageCollection, EsolveStockItem, EsolveStockItemBase, EsolveStockItemList, EsolveStockLeadTimes, EsolveStockPrice, EsolveStockService, EsolveSupplier, EsolveSuppliersService, EsolveTag, EsolveTagsService, EsolveTimeSlot, EsolveTimeSlotConfig, EsolveTimeSlotDate, EsolveTimeSlotDays, EsolveTimeSlotTimes, EsolveToggleFilter, EsolveTopic, EsolveTopicService, EsolveTransaction, EsolveTransactionAddress, EsolveTransactionAnalyticsData, EsolveTransactionClient, EsolveTransactionItem, EsolveTransactionItemPrice, EsolveTransactionList, EsolveTransactionLocation, EsolveTransactionPaymentMethod, EsolveTransactionShippingMethod, EsolveTransactionUser, EsolveTransactionsService, EsolveUserAccount, EsolveUserAccountBusiness, EsolveUserAccountContact, EsolveUserAccountResult, EsolveUserClientAccount, EsolveUserClientAccountBalances, EsolveVaultItem, EsolveVaultItemResult, EsolveWishlistItem, EsolveWishlistService, NgEsolveConnectModule, esolveHexHash, isEsolveCdnPath, isFtgCdnPath, isLegacyEsolveCdnPath, processEsolveImageSrc, provideEsolveImageLoader, provideNgEsolveConnect };
6348
6323
  //# sourceMappingURL=esolve-ng-esolve-connect.mjs.map