@esolve/ng-esolve-connect 0.42.0 → 0.43.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 (60) hide show
  1. package/esm2022/lib/account/esolve-account.service.mjs +5 -6
  2. package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +5 -6
  3. package/esm2022/lib/auth/esolve-auth.service.mjs +5 -6
  4. package/esm2022/lib/banners/esolve-banner.service.mjs +5 -6
  5. package/esm2022/lib/cart/esolve-cart.service.mjs +5 -6
  6. package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +5 -6
  7. package/esm2022/lib/core/esolve-config.service.mjs +5 -6
  8. package/esm2022/lib/coupons/esolve-coupons.service.mjs +5 -6
  9. package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +5 -6
  10. package/esm2022/lib/images/directives/cdn-src.directive.mjs +5 -6
  11. package/esm2022/lib/locations/esolve-locations.service.mjs +5 -6
  12. package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +5 -6
  13. package/esm2022/lib/menu/esolve-menu.service.mjs +5 -6
  14. package/esm2022/lib/news/esolve-news.service.mjs +5 -6
  15. package/esm2022/lib/ng-esolve-connect.module.mjs +6 -7
  16. package/esm2022/lib/payment/esolve-payment.service.mjs +5 -6
  17. package/esm2022/lib/ranges/esolve-ranges.service.mjs +5 -6
  18. package/esm2022/lib/session/esolve-session-metadata.service.mjs +5 -6
  19. package/esm2022/lib/session/esolve-session.service.mjs +5 -6
  20. package/esm2022/lib/shared/assets/esolve-assets.service.mjs +43 -13
  21. package/esm2022/lib/shared/assets/esolve-media-asset-options.interface.mjs +2 -0
  22. package/esm2022/lib/shared/assets/index.mjs +2 -1
  23. package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +5 -6
  24. package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +5 -6
  25. package/esm2022/lib/shared/errors/esolve-http-error.model.mjs +3 -3
  26. package/esm2022/lib/shared/geocoder/esolve-geocoder.service.mjs +5 -6
  27. package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +5 -6
  28. package/esm2022/lib/shared/seo/esolve-seo.service.mjs +5 -6
  29. package/esm2022/lib/shipping/esolve-shipping.service.mjs +5 -6
  30. package/esm2022/lib/specials/esolve-specials.service.mjs +5 -6
  31. package/esm2022/lib/stock/classes/esolve-stock-item-base.model.mjs +11 -1
  32. package/esm2022/lib/stock/esolve-stock.service.mjs +5 -6
  33. package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +5 -6
  34. package/esm2022/lib/tags/esolve-tags.service.mjs +5 -6
  35. package/esm2022/lib/topics/esolve-topic.service.mjs +5 -6
  36. package/esm2022/lib/transactions/esolve-transactions.service.mjs +5 -6
  37. package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +5 -6
  38. package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +5 -6
  39. package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +5 -6
  40. package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +6 -7
  41. package/esm2022/media/lib/services/esolve-media-layout.service.mjs +5 -6
  42. package/esm2022/media/lib/services/esolve-media.service.mjs +5 -6
  43. package/esm2022/notifications/lib/ng-esolve-connect-notifications.module.mjs +6 -7
  44. package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +5 -6
  45. package/esm2022/survey/lib/ng-esolve-connect-survey.module.mjs +6 -7
  46. package/esm2022/survey/lib/services/esolve-survey.service.mjs +5 -6
  47. package/fesm2022/esolve-ng-esolve-connect-media.mjs +16 -16
  48. package/fesm2022/esolve-ng-esolve-connect-media.mjs.map +1 -1
  49. package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +7 -7
  50. package/fesm2022/esolve-ng-esolve-connect-notifications.mjs.map +1 -1
  51. package/fesm2022/esolve-ng-esolve-connect-survey.mjs +7 -7
  52. package/fesm2022/esolve-ng-esolve-connect-survey.mjs.map +1 -1
  53. package/fesm2022/esolve-ng-esolve-connect.mjs +149 -109
  54. package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
  55. package/lib/shared/assets/esolve-assets.service.d.ts +3 -0
  56. package/lib/shared/assets/esolve-media-asset-options.interface.d.ts +5 -0
  57. package/lib/shared/assets/index.d.ts +1 -0
  58. package/lib/shared/errors/esolve-http-error.model.d.ts +1 -1
  59. package/lib/stock/classes/esolve-stock-item-base.model.d.ts +8 -0
  60. package/package.json +1 -1
@@ -47,10 +47,10 @@ class EsolveConfigService {
47
47
  this.cdn = config.cdn;
48
48
  this.error_image_path = config.error_image_path;
49
49
  }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
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' }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveConfigService, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, decorators: [{
54
54
  type: Injectable,
55
55
  args: [{
56
56
  providedIn: 'root',
@@ -61,9 +61,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImpor
61
61
  }] }]; } });
62
62
 
63
63
  class EsolveHttpError extends Error {
64
- constructor(type, code, message, ...params) {
64
+ constructor(type, code, message) {
65
65
  // Pass remaining arguments (including vendor specific ones) to parent constructor
66
- super(...[message, ...params]);
66
+ super(message);
67
67
  this.http_error = true;
68
68
  // Maintains proper stack trace for where our error was thrown (only available on V8)
69
69
  if (Error.captureStackTrace) {
@@ -154,10 +154,10 @@ class EsolveErrorHandlerService {
154
154
  parseDeleteError(result) {
155
155
  return new EsolveHttpError('error', result.code, result.message);
156
156
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
158
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
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' }); }
159
159
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
161
161
  type: Injectable,
162
162
  args: [{
163
163
  providedIn: 'root',
@@ -180,10 +180,10 @@ class EsolveCookieService {
180
180
  delete(name, path, domain, secure) {
181
181
  this.cookieService.delete(name, path, domain, secure);
182
182
  }
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
184
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
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' }); }
185
185
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCookieService, decorators: [{
186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, decorators: [{
187
187
  type: Injectable,
188
188
  args: [{
189
189
  providedIn: 'root',
@@ -374,10 +374,10 @@ class EsolveSessionService {
374
374
  }
375
375
  localStorage.removeItem(this.storage_key);
376
376
  }
377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
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' }); }
379
379
  }
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSessionService, decorators: [{
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, decorators: [{
381
381
  type: Injectable,
382
382
  args: [{
383
383
  providedIn: 'root',
@@ -425,10 +425,10 @@ class EsolveResponseHandlerService {
425
425
  }
426
426
  return resultHandler(response);
427
427
  }
428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
429
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
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' }); }
430
430
  }
431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
432
432
  type: Injectable,
433
433
  args: [{
434
434
  providedIn: 'root',
@@ -488,10 +488,10 @@ class EsolveSessionMetadataService {
488
488
  return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
489
489
  }));
490
490
  }
491
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
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' }); }
493
493
  }
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
495
495
  type: Injectable,
496
496
  args: [{
497
497
  providedIn: 'root',
@@ -711,10 +711,10 @@ class EsolveAuthService {
711
711
  }
712
712
  return throwError(() => error);
713
713
  }
714
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
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' }); }
716
716
  }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAuthService, decorators: [{
717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, decorators: [{
718
718
  type: Injectable,
719
719
  args: [{
720
720
  providedIn: 'root',
@@ -752,10 +752,10 @@ class EsolveAuthInterceptorService {
752
752
  }
753
753
  return next.handle(req);
754
754
  }
755
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveAuthInterceptorService }); }
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 }); }
757
757
  }
758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
758
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
759
759
  type: Injectable
760
760
  }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
761
761
 
@@ -790,11 +790,11 @@ class NgEsolveConnectModule {
790
790
  providers,
791
791
  };
792
792
  }
793
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
794
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
795
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: NgEsolveConnectModule, providers: [SsrCookieService], imports: [CommonModule, HttpClientModule] }); }
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] }); }
796
796
  }
797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
798
798
  type: NgModule,
799
799
  args: [{
800
800
  declarations: [],
@@ -905,10 +905,10 @@ class EsolveCdnSrcDirective {
905
905
  isImage(el) {
906
906
  return 'loading' in this.el.nativeElement;
907
907
  }
908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
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 }); }
910
910
  }
911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
912
912
  type: Directive,
913
913
  args: [{
914
914
  selector: '[eslvCdnSrc]',
@@ -1236,10 +1236,10 @@ class EsolveSeoService {
1236
1236
  }
1237
1237
  return pageSeo;
1238
1238
  }
1239
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
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' }); }
1241
1241
  }
1242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSeoService, decorators: [{
1242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, decorators: [{
1243
1243
  type: Injectable,
1244
1244
  args: [{
1245
1245
  providedIn: 'root',
@@ -1326,10 +1326,10 @@ class EsolveGeocoderService {
1326
1326
  const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
1327
1327
  return geocode_result;
1328
1328
  }
1329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
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' }); }
1331
1331
  }
1332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1333
1333
  type: Injectable,
1334
1334
  args: [{
1335
1335
  providedIn: 'root',
@@ -1530,10 +1530,10 @@ class EsolveCategoryTreeService {
1530
1530
  }
1531
1531
  return null;
1532
1532
  }
1533
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
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' }); }
1535
1535
  }
1536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1537
1537
  type: Injectable,
1538
1538
  args: [{
1539
1539
  providedIn: 'root',
@@ -1652,10 +1652,10 @@ class EsolveManufacturersService {
1652
1652
  processManufacturer(record) {
1653
1653
  return new EsolveManufacturer(record);
1654
1654
  }
1655
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
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' }); }
1657
1657
  }
1658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1659
1659
  type: Injectable,
1660
1660
  args: [{
1661
1661
  providedIn: 'root',
@@ -1772,10 +1772,10 @@ class EsolveRangesService {
1772
1772
  processRange(record) {
1773
1773
  return new EsolveRange(record);
1774
1774
  }
1775
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
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' }); }
1777
1777
  }
1778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveRangesService, decorators: [{
1778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, decorators: [{
1779
1779
  type: Injectable,
1780
1780
  args: [{
1781
1781
  providedIn: 'root',
@@ -1878,10 +1878,10 @@ class EsolveTagsService {
1878
1878
  }
1879
1879
  return tags;
1880
1880
  }
1881
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
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' }); }
1883
1883
  }
1884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveTagsService, decorators: [{
1884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, decorators: [{
1885
1885
  type: Injectable,
1886
1886
  args: [{
1887
1887
  providedIn: 'root',
@@ -1943,10 +1943,10 @@ class EsolveTopicService {
1943
1943
  }
1944
1944
  return topics;
1945
1945
  }
1946
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", 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.0.4", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
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' }); }
1948
1948
  }
1949
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveTopicService, decorators: [{
1949
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, decorators: [{
1950
1950
  type: Injectable,
1951
1951
  args: [{
1952
1952
  providedIn: 'root',
@@ -2050,14 +2050,34 @@ class EsolveAssetsService {
2050
2050
  if (response.records === undefined) {
2051
2051
  throw response;
2052
2052
  }
2053
- const assets = [];
2054
- for (const record of response.records) {
2055
- assets.push(this.processAsset(record));
2053
+ const additional_data = response.additional_data;
2054
+ const records = response.records;
2055
+ const total_records = +additional_data.total_records;
2056
+ return this.processAssetLists(records, total_records, options);
2057
+ }));
2058
+ }
2059
+ getMediaAssets(options) {
2060
+ let params = this.parseOptions(options);
2061
+ if (options.media_id && options.media_id > 0) {
2062
+ params = params.set('media_id', options.media_id);
2063
+ }
2064
+ else if (options.media_identifier &&
2065
+ options.media_identifier !== '') {
2066
+ params = params.set('media_identifier', options.media_identifier);
2067
+ }
2068
+ else {
2069
+ return throwError(() => new Error('Media ID or identifier is required'));
2070
+ }
2071
+ return this.http
2072
+ .get(`${this.config.api_url}/get-media-assets.php`, { params })
2073
+ .pipe(map$1((response) => {
2074
+ if (response.records === undefined) {
2075
+ throw response;
2056
2076
  }
2057
- const page = options?.page ?? 0;
2058
- const rows = options?.rows ?? 0;
2059
- const total = +response.additional_data.total_records;
2060
- return new EsolveList(assets, page, rows, total);
2077
+ const additional_data = response.additional_data;
2078
+ const records = response.records;
2079
+ const total_records = +additional_data.total_records;
2080
+ return this.processAssetLists(records, total_records, options);
2061
2081
  }));
2062
2082
  }
2063
2083
  processAsset(record) {
@@ -2109,10 +2129,20 @@ class EsolveAssetsService {
2109
2129
  }
2110
2130
  return params;
2111
2131
  }
2112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAssetsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2113
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
2132
+ processAssetLists(records, total_records, options) {
2133
+ const assets = [];
2134
+ for (const record of records) {
2135
+ assets.push(this.processAsset(record));
2136
+ }
2137
+ const page = options?.page ?? 0;
2138
+ const rows = options?.rows ?? 0;
2139
+ const total = total_records;
2140
+ return new EsolveList(assets, page, rows, total);
2141
+ }
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' }); }
2114
2144
  }
2115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAssetsService, decorators: [{
2145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, decorators: [{
2116
2146
  type: Injectable,
2117
2147
  args: [{
2118
2148
  providedIn: 'root',
@@ -2648,10 +2678,10 @@ class EsolveLocationsService {
2648
2678
  }
2649
2679
  return stock_locations;
2650
2680
  }
2651
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveLocationsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2652
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
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' }); }
2653
2683
  }
2654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveLocationsService, decorators: [{
2684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, decorators: [{
2655
2685
  type: Injectable,
2656
2686
  args: [{
2657
2687
  providedIn: 'root',
@@ -2854,10 +2884,10 @@ class EsolveTransactionsService {
2854
2884
  }
2855
2885
  return transactions;
2856
2886
  }
2857
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2858
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
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' }); }
2859
2889
  }
2860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2861
2891
  type: Injectable,
2862
2892
  args: [{
2863
2893
  providedIn: 'root',
@@ -3238,10 +3268,10 @@ class EsolveCouponsService {
3238
3268
  }
3239
3269
  return coupons;
3240
3270
  }
3241
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3242
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
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' }); }
3243
3273
  }
3244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCouponsService, decorators: [{
3274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, decorators: [{
3245
3275
  type: Injectable,
3246
3276
  args: [{
3247
3277
  providedIn: 'root',
@@ -3462,10 +3492,10 @@ class EsolveCartService {
3462
3492
  const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
3463
3493
  return cart_totals;
3464
3494
  }
3465
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCartService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3466
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
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' }); }
3467
3497
  }
3468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveCartService, decorators: [{
3498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, decorators: [{
3469
3499
  type: Injectable,
3470
3500
  args: [{
3471
3501
  providedIn: 'root',
@@ -3869,10 +3899,10 @@ class EsolveAccountService {
3869
3899
  return new EsolveLocationUpdateResult(response);
3870
3900
  })));
3871
3901
  }
3872
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3873
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
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' }); }
3874
3904
  }
3875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveAccountService, decorators: [{
3905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, decorators: [{
3876
3906
  type: Injectable,
3877
3907
  args: [{
3878
3908
  providedIn: 'root',
@@ -4008,10 +4038,10 @@ class EsolveBannerService {
4008
4038
  }
4009
4039
  return banners;
4010
4040
  }
4011
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4012
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
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' }); }
4013
4043
  }
4014
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveBannerService, decorators: [{
4044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, decorators: [{
4015
4045
  type: Injectable,
4016
4046
  args: [{
4017
4047
  providedIn: 'root',
@@ -4078,10 +4108,10 @@ class EsolveMenuService {
4078
4108
  }
4079
4109
  return menu;
4080
4110
  }
4081
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4082
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
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' }); }
4083
4113
  }
4084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveMenuService, decorators: [{
4114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, decorators: [{
4085
4115
  type: Injectable,
4086
4116
  args: [{
4087
4117
  providedIn: 'root',
@@ -4293,10 +4323,10 @@ class EsolveNewsService {
4293
4323
  }
4294
4324
  return params;
4295
4325
  }
4296
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4297
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
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' }); }
4298
4328
  }
4299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveNewsService, decorators: [{
4329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, decorators: [{
4300
4330
  type: Injectable,
4301
4331
  args: [{
4302
4332
  providedIn: 'root',
@@ -4435,6 +4465,14 @@ class EsolveStockItemBase {
4435
4465
  * Code identifying the stock item
4436
4466
  */
4437
4467
  this.code = '';
4468
+ /**
4469
+ * Code used by supplier
4470
+ */
4471
+ this.supplier_code = '';
4472
+ /**
4473
+ * The barcode of the item
4474
+ */
4475
+ this.barcode = '';
4438
4476
  /**
4439
4477
  * Name of the stock item
4440
4478
  */
@@ -4592,6 +4630,8 @@ class EsolveStockItemBase {
4592
4630
  if (record) {
4593
4631
  this.id = +(record.id ?? 0);
4594
4632
  this.code = record.code ?? '';
4633
+ this.supplier_code = record.supplier_code ?? '';
4634
+ this.barcode = record.barcode ?? '';
4595
4635
  this.name = record.name ?? '';
4596
4636
  this.sef_name = record.sef_name ?? '';
4597
4637
  this.search_composite = record.search_composite ?? '';
@@ -5269,10 +5309,10 @@ class EsolveStockService {
5269
5309
  getStockHistoryRecords(params) {
5270
5310
  return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
5271
5311
  }
5272
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveStockService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5273
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5312
+ 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 }); }
5313
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5274
5314
  }
5275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveStockService, decorators: [{
5315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, decorators: [{
5276
5316
  type: Injectable,
5277
5317
  args: [{
5278
5318
  providedIn: 'root',
@@ -5419,10 +5459,10 @@ class EsolveSpecialsService {
5419
5459
  processSpecial(record) {
5420
5460
  return new EsolveSpecial(record);
5421
5461
  }
5422
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5423
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5462
+ 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 }); }
5463
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5424
5464
  }
5425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5426
5466
  type: Injectable,
5427
5467
  args: [{
5428
5468
  providedIn: 'root',
@@ -5765,10 +5805,10 @@ class EsolvePaymentService {
5765
5805
  const year_string = card_data.expiry_year.padStart(4, '0');
5766
5806
  return `${month_string}${year_string}`;
5767
5807
  }
5768
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolvePaymentService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5769
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5808
+ 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 }); }
5809
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5770
5810
  }
5771
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolvePaymentService, decorators: [{
5811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, decorators: [{
5772
5812
  type: Injectable,
5773
5813
  args: [{
5774
5814
  providedIn: 'root',
@@ -6037,10 +6077,10 @@ class EsolveShippingService {
6037
6077
  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);
6038
6078
  return shipping_cost;
6039
6079
  }
6040
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveShippingService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6041
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6080
+ 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 }); }
6081
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6042
6082
  }
6043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveShippingService, decorators: [{
6083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, decorators: [{
6044
6084
  type: Injectable,
6045
6085
  args: [{
6046
6086
  providedIn: 'root',
@@ -6078,10 +6118,10 @@ class EsolveEnquiryService {
6078
6118
  return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
6079
6119
  }));
6080
6120
  }
6081
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6082
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6121
+ 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 }); }
6122
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6083
6123
  }
6084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6085
6125
  type: Injectable,
6086
6126
  args: [{
6087
6127
  providedIn: 'root',
@@ -6199,10 +6239,10 @@ class EsolveWishlistService {
6199
6239
  getWishlistRecords(params) {
6200
6240
  return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
6201
6241
  }
6202
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveWishlistService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6203
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6242
+ 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 }); }
6243
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6204
6244
  }
6205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveWishlistService, decorators: [{
6245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, decorators: [{
6206
6246
  type: Injectable,
6207
6247
  args: [{
6208
6248
  providedIn: 'root',
@@ -6276,10 +6316,10 @@ class EsolveSuppliersService {
6276
6316
  processSuppliers(record) {
6277
6317
  return new EsolveSupplier(record);
6278
6318
  }
6279
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6280
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6319
+ 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 }); }
6320
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6281
6321
  }
6282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6283
6323
  type: Injectable,
6284
6324
  args: [{
6285
6325
  providedIn: 'root',