@esolve/ng-esolve-connect 0.45.2 → 0.46.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 (52) hide show
  1. package/esm2022/lib/account/esolve-account.service.mjs +3 -3
  2. package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +3 -3
  3. package/esm2022/lib/auth/esolve-auth.service.mjs +3 -3
  4. package/esm2022/lib/banners/esolve-banner.service.mjs +3 -3
  5. package/esm2022/lib/cart/esolve-cart.service.mjs +3 -3
  6. package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +3 -3
  7. package/esm2022/lib/core/esolve-config.service.mjs +6 -4
  8. package/esm2022/lib/core/esolve-connect-config.interface.mjs +1 -1
  9. package/esm2022/lib/coupons/esolve-coupons.service.mjs +3 -3
  10. package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +3 -3
  11. package/esm2022/lib/images/directives/cdn-src.directive.mjs +3 -3
  12. package/esm2022/lib/locations/esolve-locations.service.mjs +3 -3
  13. package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +3 -3
  14. package/esm2022/lib/menu/esolve-menu.service.mjs +3 -3
  15. package/esm2022/lib/news/esolve-news.service.mjs +3 -3
  16. package/esm2022/lib/ng-esolve-connect.module.mjs +4 -4
  17. package/esm2022/lib/payment/esolve-payment.service.mjs +3 -3
  18. package/esm2022/lib/ranges/esolve-ranges.service.mjs +3 -3
  19. package/esm2022/lib/session/esolve-session-metadata.service.mjs +3 -3
  20. package/esm2022/lib/session/esolve-session.service.mjs +3 -3
  21. package/esm2022/lib/shared/assets/esolve-assets.service.mjs +3 -3
  22. package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +3 -3
  23. package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +3 -3
  24. package/esm2022/lib/shared/geocoder/esolve-geocoder.service.mjs +3 -3
  25. package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +3 -3
  26. package/esm2022/lib/shared/seo/esolve-seo-info.model.mjs +3 -2
  27. package/esm2022/lib/shared/seo/esolve-seo.service.mjs +26 -8
  28. package/esm2022/lib/shipping/esolve-shipping.service.mjs +3 -3
  29. package/esm2022/lib/specials/esolve-specials.service.mjs +3 -3
  30. package/esm2022/lib/stock/esolve-stock.service.mjs +3 -3
  31. package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +3 -3
  32. package/esm2022/lib/tags/esolve-tags.service.mjs +3 -3
  33. package/esm2022/lib/topics/esolve-topic.service.mjs +3 -3
  34. package/esm2022/lib/transactions/esolve-transactions.service.mjs +3 -3
  35. package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +3 -3
  36. package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +3 -3
  37. package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +3 -3
  38. package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +4 -4
  39. package/esm2022/media/lib/services/esolve-media-layout.service.mjs +3 -3
  40. package/esm2022/media/lib/services/esolve-media.service.mjs +3 -3
  41. package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +3 -3
  42. package/esm2022/survey/lib/services/esolve-survey.service.mjs +3 -3
  43. package/fesm2022/esolve-ng-esolve-connect-media.mjs +16 -16
  44. package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +3 -3
  45. package/fesm2022/esolve-ng-esolve-connect-survey.mjs +3 -3
  46. package/fesm2022/esolve-ng-esolve-connect.mjs +124 -104
  47. package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
  48. package/lib/core/esolve-config.service.d.ts +1 -0
  49. package/lib/core/esolve-connect-config.interface.d.ts +4 -0
  50. package/lib/shared/seo/esolve-seo-info.model.d.ts +2 -1
  51. package/lib/shared/seo/esolve-seo.service.d.ts +4 -1
  52. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { isPlatformBrowser, CommonModule, IMAGE_LOADER } from '@angular/common';
1
+ import { isPlatformBrowser, CommonModule, IMAGE_LOADER, DOCUMENT } from '@angular/common';
2
2
  import * as i2 from '@angular/common/http';
3
3
  import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, HttpClientModule } from '@angular/common/http';
4
4
  import * as i0 from '@angular/core';
5
- import { InjectionToken, Injectable, Inject, PLATFORM_ID, APP_INITIALIZER, NgModule, Directive, Input, HostListener } from '@angular/core';
5
+ import { InjectionToken, Injectable, Inject, PLATFORM_ID, APP_INITIALIZER, NgModule, Directive, Input, HostListener, inject } from '@angular/core';
6
6
  import * as i1 from 'ngx-cookie-service-ssr';
7
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';
@@ -15,6 +15,7 @@ const ESOLVE_CONNECT_CONFIG = new InjectionToken('esolve.connect.config');
15
15
  class EsolveConfigService {
16
16
  constructor(config) {
17
17
  this.api_url = '';
18
+ this.site_url = '';
18
19
  this.wsid = '';
19
20
  this.title_separator = '|';
20
21
  this.session_storage_key = '_ng_eslv_token';
@@ -24,6 +25,7 @@ class EsolveConfigService {
24
25
  throw new Error('Invalid eSolve Eurus config');
25
26
  }
26
27
  this.api_url = config.api_url;
28
+ this.site_url = config.site_url;
27
29
  this.wsid = config.wsid;
28
30
  this.title_prefix = config.title_prefix ?? '';
29
31
  this.title_suffix = config.title_suffix ?? '';
@@ -50,10 +52,10 @@ class EsolveConfigService {
50
52
  }
51
53
  this.error_image_path = config.error_image_path;
52
54
  }
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' }); }
55
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveConfigService, deps: [{ token: ESOLVE_CONNECT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
56
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
55
57
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveConfigService, decorators: [{
57
59
  type: Injectable,
58
60
  args: [{
59
61
  providedIn: 'root',
@@ -157,10 +159,10 @@ class EsolveErrorHandlerService {
157
159
  parseDeleteError(result) {
158
160
  return new EsolveHttpError('error', result.code, result.message);
159
161
  }
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' }); }
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
163
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
162
164
  }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
164
166
  type: Injectable,
165
167
  args: [{
166
168
  providedIn: 'root',
@@ -183,10 +185,10 @@ class EsolveCookieService {
183
185
  delete(name, path, domain, secure) {
184
186
  this.cookieService.delete(name, path, domain, secure);
185
187
  }
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' }); }
188
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
189
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
188
190
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCookieService, decorators: [{
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCookieService, decorators: [{
190
192
  type: Injectable,
191
193
  args: [{
192
194
  providedIn: 'root',
@@ -377,10 +379,10 @@ class EsolveSessionService {
377
379
  }
378
380
  localStorage.removeItem(this.storage_key);
379
381
  }
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' }); }
382
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
383
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
382
384
  }
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, decorators: [{
385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionService, decorators: [{
384
386
  type: Injectable,
385
387
  args: [{
386
388
  providedIn: 'root',
@@ -428,10 +430,10 @@ class EsolveResponseHandlerService {
428
430
  }
429
431
  return resultHandler(response);
430
432
  }
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' }); }
433
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
434
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
433
435
  }
434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
435
437
  type: Injectable,
436
438
  args: [{
437
439
  providedIn: 'root',
@@ -491,10 +493,10 @@ class EsolveSessionMetadataService {
491
493
  return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
492
494
  }));
493
495
  }
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' }); }
496
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
497
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
496
498
  }
497
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
498
500
  type: Injectable,
499
501
  args: [{
500
502
  providedIn: 'root',
@@ -714,10 +716,10 @@ class EsolveAuthService {
714
716
  }
715
717
  return throwError(() => error);
716
718
  }
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' }); }
719
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
720
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
719
721
  }
720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, decorators: [{
722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthService, decorators: [{
721
723
  type: Injectable,
722
724
  args: [{
723
725
  providedIn: 'root',
@@ -755,10 +757,10 @@ class EsolveAuthInterceptorService {
755
757
  }
756
758
  return next.handle(req);
757
759
  }
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 }); }
760
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
761
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthInterceptorService }); }
760
762
  }
761
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
762
764
  type: Injectable
763
765
  }], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
764
766
 
@@ -799,11 +801,11 @@ class NgEsolveConnectModule {
799
801
  providers: provideNgEsolveConnect(config, auto_login),
800
802
  };
801
803
  }
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] }); }
804
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
805
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.3", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
806
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
805
807
  }
806
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
807
809
  type: NgModule,
808
810
  args: [{
809
811
  imports: [CommonModule, HttpClientModule],
@@ -923,10 +925,10 @@ class EsolveCdnSrcDirective {
923
925
  isImage(el) {
924
926
  return 'loading' in this.el.nativeElement;
925
927
  }
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 }); }
928
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
929
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
928
930
  }
929
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
930
932
  type: Directive,
931
933
  args: [{
932
934
  selector: '[eslvCdnSrc]',
@@ -1158,10 +1160,11 @@ var esolveFilterFactory = /*#__PURE__*/Object.freeze({
1158
1160
  * Search Engine Optimization information.
1159
1161
  */
1160
1162
  class EsolveSeoInfo {
1161
- constructor(title = '', description = '', keywords = '') {
1163
+ constructor(title = '', description = '', keywords = '', canonical_url = '') {
1162
1164
  this.title = title;
1163
1165
  this.description = description;
1164
1166
  this.keywords = keywords;
1167
+ this.canonical_url = canonical_url;
1165
1168
  }
1166
1169
  }
1167
1170
 
@@ -1170,12 +1173,14 @@ class EsolveSeoService {
1170
1173
  this.config = config;
1171
1174
  this.title = title;
1172
1175
  this.meta = meta;
1176
+ this.dom = inject(DOCUMENT);
1173
1177
  this.title_prefix = '';
1174
1178
  this.title_suffix = '';
1175
1179
  this.title_separator = '|';
1176
1180
  this.default_seo_title = '';
1177
1181
  this.default_seo_description = '';
1178
1182
  this.default_seo_keywords = '';
1183
+ this.default_seo_url = '';
1179
1184
  this.init();
1180
1185
  }
1181
1186
  /**
@@ -1187,6 +1192,7 @@ class EsolveSeoService {
1187
1192
  this.setPageTitleTags(seoInfo.title);
1188
1193
  this.setPageDescriptionTags(seoInfo.description);
1189
1194
  this.setPageKeywordsTags(seoInfo.keywords);
1195
+ this.setPageCanonicalUrl(seoInfo.canonical_url);
1190
1196
  }
1191
1197
  init() {
1192
1198
  this.title_prefix = this.config.title_prefix;
@@ -1195,6 +1201,7 @@ class EsolveSeoService {
1195
1201
  this.default_seo_title = this.config.default_seo_title;
1196
1202
  this.default_seo_description = this.config.default_seo_description;
1197
1203
  this.default_seo_keywords = this.config.default_seo_keywords;
1204
+ this.default_seo_url = this.config.site_url;
1198
1205
  }
1199
1206
  setPageTitleTags(title) {
1200
1207
  this.title.setTitle(title);
@@ -1210,8 +1217,18 @@ class EsolveSeoService {
1210
1217
  setPageKeywordsTags(keywords) {
1211
1218
  this.meta.updateTag({ name: 'keywords', content: keywords });
1212
1219
  }
1220
+ setPageCanonicalUrl(canonical_url) {
1221
+ const head = this.dom.head;
1222
+ let element = this.dom.querySelector(`link[rel='canonical']`);
1223
+ if (!element) {
1224
+ element = this.dom.createElement('link');
1225
+ element.setAttribute('rel', 'canonical');
1226
+ head.appendChild(element);
1227
+ }
1228
+ element.setAttribute('href', canonical_url);
1229
+ }
1213
1230
  validateAndSanitizeSeoInfo(seo_info) {
1214
- const pageSeo = new EsolveSeoInfo(this.default_seo_title, this.default_seo_description, this.default_seo_keywords);
1231
+ const pageSeo = new EsolveSeoInfo(this.default_seo_title, this.default_seo_description, this.default_seo_keywords, this.default_seo_url);
1215
1232
  if (seo_info.description.trim() !== '') {
1216
1233
  pageSeo.description = seo_info.description;
1217
1234
  }
@@ -1252,12 +1269,15 @@ class EsolveSeoService {
1252
1269
  if (seo_info.keywords.trim() !== '') {
1253
1270
  pageSeo.keywords = seo_info.keywords;
1254
1271
  }
1272
+ if (seo_info.canonical_url.trim() !== '') {
1273
+ pageSeo.canonical_url = seo_info.canonical_url;
1274
+ }
1255
1275
  return pageSeo;
1256
1276
  }
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' }); }
1277
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2$1.Title }, { token: i2$1.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
1278
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
1259
1279
  }
1260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, decorators: [{
1280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSeoService, decorators: [{
1261
1281
  type: Injectable,
1262
1282
  args: [{
1263
1283
  providedIn: 'root',
@@ -1344,10 +1364,10 @@ class EsolveGeocoderService {
1344
1364
  const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
1345
1365
  return geocode_result;
1346
1366
  }
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' }); }
1367
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1368
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
1349
1369
  }
1350
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveGeocoderService, decorators: [{
1351
1371
  type: Injectable,
1352
1372
  args: [{
1353
1373
  providedIn: 'root',
@@ -1545,10 +1565,10 @@ class EsolveCategoryTreeService {
1545
1565
  }
1546
1566
  return null;
1547
1567
  }
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' }); }
1568
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1569
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
1550
1570
  }
1551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1571
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
1552
1572
  type: Injectable,
1553
1573
  args: [{
1554
1574
  providedIn: 'root',
@@ -1667,10 +1687,10 @@ class EsolveManufacturersService {
1667
1687
  processManufacturer(record) {
1668
1688
  return new EsolveManufacturer(record);
1669
1689
  }
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' }); }
1690
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1691
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
1672
1692
  }
1673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveManufacturersService, decorators: [{
1674
1694
  type: Injectable,
1675
1695
  args: [{
1676
1696
  providedIn: 'root',
@@ -1787,10 +1807,10 @@ class EsolveRangesService {
1787
1807
  processRange(record) {
1788
1808
  return new EsolveRange(record);
1789
1809
  }
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' }); }
1810
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveRangesService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1811
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
1792
1812
  }
1793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, decorators: [{
1813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveRangesService, decorators: [{
1794
1814
  type: Injectable,
1795
1815
  args: [{
1796
1816
  providedIn: 'root',
@@ -1890,10 +1910,10 @@ class EsolveTagsService {
1890
1910
  }
1891
1911
  return tags;
1892
1912
  }
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' }); }
1913
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTagsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1914
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
1895
1915
  }
1896
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, decorators: [{
1916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTagsService, decorators: [{
1897
1917
  type: Injectable,
1898
1918
  args: [{
1899
1919
  providedIn: 'root',
@@ -1952,10 +1972,10 @@ class EsolveTopicService {
1952
1972
  }
1953
1973
  return topics;
1954
1974
  }
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' }); }
1975
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTopicService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1976
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
1957
1977
  }
1958
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, decorators: [{
1978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTopicService, decorators: [{
1959
1979
  type: Injectable,
1960
1980
  args: [{
1961
1981
  providedIn: 'root',
@@ -2145,10 +2165,10 @@ class EsolveAssetsService {
2145
2165
  const total = total_records;
2146
2166
  return new EsolveList(assets, page, rows, total);
2147
2167
  }
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' }); }
2168
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAssetsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2169
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
2150
2170
  }
2151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, decorators: [{
2171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAssetsService, decorators: [{
2152
2172
  type: Injectable,
2153
2173
  args: [{
2154
2174
  providedIn: 'root',
@@ -2686,10 +2706,10 @@ class EsolveLocationsService {
2686
2706
  }
2687
2707
  return stock_locations;
2688
2708
  }
2689
- 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 }); }
2690
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
2709
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveLocationsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2710
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
2691
2711
  }
2692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, decorators: [{
2712
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveLocationsService, decorators: [{
2693
2713
  type: Injectable,
2694
2714
  args: [{
2695
2715
  providedIn: 'root',
@@ -2889,10 +2909,10 @@ class EsolveTransactionsService {
2889
2909
  }
2890
2910
  return transactions;
2891
2911
  }
2892
- 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 }); }
2893
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
2912
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2913
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
2894
2914
  }
2895
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveTransactionsService, decorators: [{
2896
2916
  type: Injectable,
2897
2917
  args: [{
2898
2918
  providedIn: 'root',
@@ -3273,10 +3293,10 @@ class EsolveCouponsService {
3273
3293
  }
3274
3294
  return coupons;
3275
3295
  }
3276
- 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 }); }
3277
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
3296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3297
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
3278
3298
  }
3279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, decorators: [{
3299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCouponsService, decorators: [{
3280
3300
  type: Injectable,
3281
3301
  args: [{
3282
3302
  providedIn: 'root',
@@ -3494,10 +3514,10 @@ class EsolveCartService {
3494
3514
  const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
3495
3515
  return cart_totals;
3496
3516
  }
3497
- 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 }); }
3498
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
3517
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCartService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3518
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
3499
3519
  }
3500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, decorators: [{
3520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveCartService, decorators: [{
3501
3521
  type: Injectable,
3502
3522
  args: [{
3503
3523
  providedIn: 'root',
@@ -3898,10 +3918,10 @@ class EsolveAccountService {
3898
3918
  return new EsolveLocationUpdateResult(response);
3899
3919
  })));
3900
3920
  }
3901
- 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 }); }
3902
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
3921
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3922
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
3903
3923
  }
3904
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, decorators: [{
3924
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveAccountService, decorators: [{
3905
3925
  type: Injectable,
3906
3926
  args: [{
3907
3927
  providedIn: 'root',
@@ -4037,10 +4057,10 @@ class EsolveBannerService {
4037
4057
  }
4038
4058
  return banners;
4039
4059
  }
4040
- 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 }); }
4041
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
4060
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4061
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
4042
4062
  }
4043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, decorators: [{
4063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveBannerService, decorators: [{
4044
4064
  type: Injectable,
4045
4065
  args: [{
4046
4066
  providedIn: 'root',
@@ -4107,10 +4127,10 @@ class EsolveMenuService {
4107
4127
  }
4108
4128
  return menu;
4109
4129
  }
4110
- 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 }); }
4111
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
4130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4131
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
4112
4132
  }
4113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, decorators: [{
4133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveMenuService, decorators: [{
4114
4134
  type: Injectable,
4115
4135
  args: [{
4116
4136
  providedIn: 'root',
@@ -4322,10 +4342,10 @@ class EsolveNewsService {
4322
4342
  }
4323
4343
  return params;
4324
4344
  }
4325
- 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 }); }
4326
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
4345
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
4346
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
4327
4347
  }
4328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, decorators: [{
4348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveNewsService, decorators: [{
4329
4349
  type: Injectable,
4330
4350
  args: [{
4331
4351
  providedIn: 'root',
@@ -5315,10 +5335,10 @@ class EsolveStockService {
5315
5335
  getStockHistoryRecords(params) {
5316
5336
  return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
5317
5337
  }
5318
- 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 }); }
5319
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5338
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveStockService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5339
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
5320
5340
  }
5321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, decorators: [{
5341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveStockService, decorators: [{
5322
5342
  type: Injectable,
5323
5343
  args: [{
5324
5344
  providedIn: 'root',
@@ -5462,10 +5482,10 @@ class EsolveSpecialsService {
5462
5482
  processSpecial(record) {
5463
5483
  return new EsolveSpecial(record);
5464
5484
  }
5465
- 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 }); }
5466
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5485
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
5486
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
5467
5487
  }
5468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5488
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSpecialsService, decorators: [{
5469
5489
  type: Injectable,
5470
5490
  args: [{
5471
5491
  providedIn: 'root',
@@ -5803,10 +5823,10 @@ class EsolvePaymentService {
5803
5823
  const year_string = card_data.expiry_year.padStart(4, '0');
5804
5824
  return `${month_string}${year_string}`;
5805
5825
  }
5806
- 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 }); }
5807
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5826
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolvePaymentService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5827
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
5808
5828
  }
5809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, decorators: [{
5829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolvePaymentService, decorators: [{
5810
5830
  type: Injectable,
5811
5831
  args: [{
5812
5832
  providedIn: 'root',
@@ -6072,10 +6092,10 @@ class EsolveShippingService {
6072
6092
  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);
6073
6093
  return shipping_cost;
6074
6094
  }
6075
- 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 }); }
6076
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6095
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveShippingService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6096
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
6077
6097
  }
6078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, decorators: [{
6098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveShippingService, decorators: [{
6079
6099
  type: Injectable,
6080
6100
  args: [{
6081
6101
  providedIn: 'root',
@@ -6110,10 +6130,10 @@ class EsolveEnquiryService {
6110
6130
  return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
6111
6131
  }));
6112
6132
  }
6113
- 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 }); }
6114
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6133
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6134
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
6115
6135
  }
6116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveEnquiryService, decorators: [{
6117
6137
  type: Injectable,
6118
6138
  args: [{
6119
6139
  providedIn: 'root',
@@ -6231,10 +6251,10 @@ class EsolveWishlistService {
6231
6251
  getWishlistRecords(params) {
6232
6252
  return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
6233
6253
  }
6234
- 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 }); }
6235
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6254
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveWishlistService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
6255
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
6236
6256
  }
6237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, decorators: [{
6257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveWishlistService, decorators: [{
6238
6258
  type: Injectable,
6239
6259
  args: [{
6240
6260
  providedIn: 'root',
@@ -6305,10 +6325,10 @@ class EsolveSuppliersService {
6305
6325
  processSuppliers(record) {
6306
6326
  return new EsolveSupplier(record);
6307
6327
  }
6308
- 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 }); }
6309
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
6329
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
6310
6330
  }
6311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: EsolveSuppliersService, decorators: [{
6312
6332
  type: Injectable,
6313
6333
  args: [{
6314
6334
  providedIn: 'root',