@esolve/ng-esolve-connect 0.77.0 → 0.78.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.
- package/esm2022/lib/account/esolve-account.service.mjs +4 -4
- package/esm2022/lib/assets/esolve-assets.service.mjs +3 -3
- package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +3 -3
- package/esm2022/lib/auth/esolve-auth.service.mjs +4 -4
- package/esm2022/lib/auth/esolve-otp.service.mjs +3 -3
- package/esm2022/lib/banners/esolve-banner.service.mjs +3 -3
- package/esm2022/lib/cart/esolve-cart.service.mjs +3 -3
- package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +3 -3
- package/esm2022/lib/competitions/services/esolve-competitions.service.mjs +3 -3
- package/esm2022/lib/core/esolve-config.service.mjs +4 -4
- package/esm2022/lib/coupons/esolve-coupons.service.mjs +4 -4
- package/esm2022/lib/deliveries/esolve-deliveries.service.mjs +3 -3
- package/esm2022/lib/device/esolve-device.service.mjs +3 -3
- package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +3 -3
- package/esm2022/lib/geocoder/esolve-geocoder.service.mjs +3 -3
- package/esm2022/lib/images/directives/cdn-src.directive.mjs +5 -5
- package/esm2022/lib/locations/esolve-locations.service.mjs +3 -3
- package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +3 -3
- package/esm2022/lib/menu/esolve-menu.service.mjs +3 -3
- package/esm2022/lib/news/esolve-news.service.mjs +3 -3
- package/esm2022/lib/ng-esolve-connect.module.mjs +4 -4
- package/esm2022/lib/payment/esolve-payment.service.mjs +4 -4
- package/esm2022/lib/ranges/esolve-ranges.service.mjs +3 -3
- package/esm2022/lib/seo/esolve-seo.service.mjs +4 -4
- package/esm2022/lib/session/esolve-session-metadata.service.mjs +3 -3
- package/esm2022/lib/session/esolve-session.service.mjs +4 -4
- package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +3 -3
- package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +3 -3
- package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +3 -3
- package/esm2022/lib/shipping/esolve-shipping.service.mjs +3 -3
- package/esm2022/lib/specials/esolve-specials.service.mjs +3 -3
- package/esm2022/lib/stock/classes/esolve-stock-item-base.model.mjs +11 -2
- package/esm2022/lib/stock/esolve-stock.service.mjs +3 -3
- package/esm2022/lib/stock/interfaces/esolve-stock-base-record.interface.mjs +1 -1
- package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +3 -3
- package/esm2022/lib/tags/esolve-tags.service.mjs +3 -3
- package/esm2022/lib/topics/esolve-topic.service.mjs +3 -3
- package/esm2022/lib/transactions/esolve-transactions.service.mjs +4 -4
- package/esm2022/lib/vouchers/esolve-vouchers.service.mjs +4 -4
- package/esm2022/lib/wallet/esolve-wallet.service.mjs +4 -4
- package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +3 -3
- package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +3 -3
- package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +3 -3
- package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +4 -4
- package/esm2022/media/lib/services/esolve-media-layout.service.mjs +4 -4
- package/esm2022/media/lib/services/esolve-media.service.mjs +3 -3
- package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +3 -3
- package/esm2022/survey/lib/services/esolve-survey.service.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect-media.mjs +17 -17
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect.mjs +140 -131
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/payment/esolve-payment.service.d.ts +2 -2
- package/lib/stock/classes/esolve-stock-item-base.model.d.ts +7 -1
- package/lib/stock/interfaces/esolve-stock-base-record.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isPlatformBrowser, CommonModule, IMAGE_LOADER, DOCUMENT } from '@angular/common';
|
|
2
|
-
import { HttpErrorResponse, HttpClient, HttpParams, HttpHeaders, HTTP_INTERCEPTORS,
|
|
2
|
+
import { HttpErrorResponse, HttpClient, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, withInterceptorsFromDi, provideHttpClient, HttpClientModule } from '@angular/common/http';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, inject, Injectable, PLATFORM_ID, APP_INITIALIZER, NgModule, ElementRef, Directive, Input, HostListener } from '@angular/core';
|
|
5
5
|
import { SsrCookieService } from 'ngx-cookie-service-ssr';
|
|
6
|
-
import { throwError, BehaviorSubject, Subject, map,
|
|
6
|
+
import { throwError, BehaviorSubject, Subject, map, takeUntil, timer, switchMap, debounceTime, shareReplay, combineLatest, filter, distinctUntilChanged, of, firstValueFrom, iif, catchError as catchError$1 } from 'rxjs';
|
|
7
7
|
import { map as map$1, catchError, switchMap as switchMap$1, tap } from 'rxjs/operators';
|
|
8
8
|
import { fromUnixTime, parseISO } from 'date-fns';
|
|
9
9
|
import { Title, Meta } from '@angular/platform-browser';
|
|
@@ -55,15 +55,15 @@ class EsolveConfigService {
|
|
|
55
55
|
}
|
|
56
56
|
this.error_image_path = config.error_image_path;
|
|
57
57
|
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
59
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
62
62
|
type: Injectable,
|
|
63
63
|
args: [{
|
|
64
64
|
providedIn: 'root',
|
|
65
65
|
}]
|
|
66
|
-
}], ctorParameters:
|
|
66
|
+
}], ctorParameters: () => [] });
|
|
67
67
|
|
|
68
68
|
class EsolveCookieService {
|
|
69
69
|
constructor() {
|
|
@@ -81,10 +81,10 @@ class EsolveCookieService {
|
|
|
81
81
|
delete(name, path, domain, secure) {
|
|
82
82
|
this.cookieService.delete(name, path, domain, secure);
|
|
83
83
|
}
|
|
84
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
85
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
84
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
85
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCookieService, decorators: [{
|
|
88
88
|
type: Injectable,
|
|
89
89
|
args: [{
|
|
90
90
|
providedIn: 'root',
|
|
@@ -185,10 +185,10 @@ class EsolveErrorHandlerService {
|
|
|
185
185
|
parseDeleteError(result) {
|
|
186
186
|
return new EsolveHttpError('error', result.code, result.message);
|
|
187
187
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
192
192
|
type: Injectable,
|
|
193
193
|
args: [{
|
|
194
194
|
providedIn: 'root',
|
|
@@ -471,10 +471,10 @@ class EsolveResponseHandlerService {
|
|
|
471
471
|
}
|
|
472
472
|
return resultHandler(response);
|
|
473
473
|
}
|
|
474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
475
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
476
476
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
478
478
|
type: Injectable,
|
|
479
479
|
args: [{
|
|
480
480
|
providedIn: 'root',
|
|
@@ -731,15 +731,15 @@ class EsolveSessionService {
|
|
|
731
731
|
}
|
|
732
732
|
localStorage.removeItem(this.storage_key);
|
|
733
733
|
}
|
|
734
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
735
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
735
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
736
736
|
}
|
|
737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
738
738
|
type: Injectable,
|
|
739
739
|
args: [{
|
|
740
740
|
providedIn: 'root',
|
|
741
741
|
}]
|
|
742
|
-
}], ctorParameters:
|
|
742
|
+
}], ctorParameters: () => [] });
|
|
743
743
|
|
|
744
744
|
class EsolveSessionMetadataService {
|
|
745
745
|
constructor() {
|
|
@@ -794,10 +794,10 @@ class EsolveSessionMetadataService {
|
|
|
794
794
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
795
795
|
}));
|
|
796
796
|
}
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionMetadataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
798
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
799
799
|
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
801
801
|
type: Injectable,
|
|
802
802
|
args: [{
|
|
803
803
|
providedIn: 'root',
|
|
@@ -1025,15 +1025,15 @@ class EsolveAuthService {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
return throwError(() => error);
|
|
1027
1027
|
}
|
|
1028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1029
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1029
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
1030
1030
|
}
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
1032
1032
|
type: Injectable,
|
|
1033
1033
|
args: [{
|
|
1034
1034
|
providedIn: 'root',
|
|
1035
1035
|
}]
|
|
1036
|
-
}], ctorParameters:
|
|
1036
|
+
}], ctorParameters: () => [] });
|
|
1037
1037
|
|
|
1038
1038
|
class EsolveAuthInterceptorService {
|
|
1039
1039
|
constructor() {
|
|
@@ -1066,10 +1066,10 @@ class EsolveAuthInterceptorService {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
return next.handle(req);
|
|
1068
1068
|
}
|
|
1069
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1070
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthInterceptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1070
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
1071
1071
|
}
|
|
1072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
1073
1073
|
type: Injectable
|
|
1074
1074
|
}] });
|
|
1075
1075
|
|
|
@@ -1162,10 +1162,10 @@ class EsolveOtpService {
|
|
|
1162
1162
|
return throwError(() => error);
|
|
1163
1163
|
}
|
|
1164
1164
|
}
|
|
1165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveOtpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveOtpService, providedIn: 'root' }); }
|
|
1167
1167
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveOtpService, decorators: [{
|
|
1169
1169
|
type: Injectable,
|
|
1170
1170
|
args: [{
|
|
1171
1171
|
providedIn: 'root',
|
|
@@ -1209,11 +1209,11 @@ class NgEsolveConnectModule {
|
|
|
1209
1209
|
providers: provideNgEsolveConnect(config, auto_login),
|
|
1210
1210
|
};
|
|
1211
1211
|
}
|
|
1212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1213
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1214
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1213
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1214
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1215
1215
|
}
|
|
1216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
1217
1217
|
type: NgModule,
|
|
1218
1218
|
args: [{
|
|
1219
1219
|
imports: [CommonModule, HttpClientModule],
|
|
@@ -1333,16 +1333,16 @@ class EsolveCdnSrcDirective {
|
|
|
1333
1333
|
isImage(el) {
|
|
1334
1334
|
return 'loading' in this.el.nativeElement;
|
|
1335
1335
|
}
|
|
1336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1337
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCdnSrcDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1337
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1338
1338
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
1340
1340
|
type: Directive,
|
|
1341
1341
|
args: [{
|
|
1342
1342
|
selector: '[eslvCdnSrc]',
|
|
1343
1343
|
standalone: true,
|
|
1344
1344
|
}]
|
|
1345
|
-
}], ctorParameters:
|
|
1345
|
+
}], ctorParameters: () => [], propDecorators: { src: [{
|
|
1346
1346
|
type: Input,
|
|
1347
1347
|
args: ['eslvCdnSrc']
|
|
1348
1348
|
}], onError: [{
|
|
@@ -1468,15 +1468,15 @@ class EsolveSeoService {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
return pageSeo;
|
|
1470
1470
|
}
|
|
1471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1472
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1471
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSeoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1472
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1473
1473
|
}
|
|
1474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1475
1475
|
type: Injectable,
|
|
1476
1476
|
args: [{
|
|
1477
1477
|
providedIn: 'root',
|
|
1478
1478
|
}]
|
|
1479
|
-
}], ctorParameters:
|
|
1479
|
+
}], ctorParameters: () => [] });
|
|
1480
1480
|
|
|
1481
1481
|
class EsolveGeocodeAddressResult {
|
|
1482
1482
|
constructor(street_number, street, suburb, city, province, country, postal_code) {
|
|
@@ -1558,10 +1558,10 @@ class EsolveGeocoderService {
|
|
|
1558
1558
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1559
1559
|
return geocode_result;
|
|
1560
1560
|
}
|
|
1561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1561
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveGeocoderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1562
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1563
1563
|
}
|
|
1564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1565
1565
|
type: Injectable,
|
|
1566
1566
|
args: [{
|
|
1567
1567
|
providedIn: 'root',
|
|
@@ -1778,10 +1778,10 @@ class EsolveCategoryTreeService {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
return null;
|
|
1780
1780
|
}
|
|
1781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1782
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1781
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCategoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1782
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1783
1783
|
}
|
|
1784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1785
1785
|
type: Injectable,
|
|
1786
1786
|
args: [{
|
|
1787
1787
|
providedIn: 'root',
|
|
@@ -1900,10 +1900,10 @@ class EsolveManufacturersService {
|
|
|
1900
1900
|
processManufacturer(record) {
|
|
1901
1901
|
return new EsolveManufacturer(record);
|
|
1902
1902
|
}
|
|
1903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1904
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveManufacturersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1904
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1905
1905
|
}
|
|
1906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1907
1907
|
type: Injectable,
|
|
1908
1908
|
args: [{
|
|
1909
1909
|
providedIn: 'root',
|
|
@@ -2018,10 +2018,10 @@ class EsolveRangesService {
|
|
|
2018
2018
|
processRange(record) {
|
|
2019
2019
|
return new EsolveRange(record);
|
|
2020
2020
|
}
|
|
2021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2022
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2021
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveRangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2022
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
2023
2023
|
}
|
|
2024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
2025
2025
|
type: Injectable,
|
|
2026
2026
|
args: [{
|
|
2027
2027
|
providedIn: 'root',
|
|
@@ -2121,10 +2121,10 @@ class EsolveTagsService {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
return tags;
|
|
2123
2123
|
}
|
|
2124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTagsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2125
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
2126
2126
|
}
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
2128
2128
|
type: Injectable,
|
|
2129
2129
|
args: [{
|
|
2130
2130
|
providedIn: 'root',
|
|
@@ -2181,10 +2181,10 @@ class EsolveTopicService {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
return topics;
|
|
2183
2183
|
}
|
|
2184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2185
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTopicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2185
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
2186
2186
|
}
|
|
2187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
2188
2188
|
type: Injectable,
|
|
2189
2189
|
args: [{
|
|
2190
2190
|
providedIn: 'root',
|
|
@@ -2397,10 +2397,10 @@ class EsolveAssetsService {
|
|
|
2397
2397
|
const total = total_records;
|
|
2398
2398
|
return new EsolveList(assets, page, rows, total);
|
|
2399
2399
|
}
|
|
2400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2401
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAssetsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2401
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2402
2402
|
}
|
|
2403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2404
2404
|
type: Injectable,
|
|
2405
2405
|
args: [{
|
|
2406
2406
|
providedIn: 'root',
|
|
@@ -3160,15 +3160,15 @@ class EsolveCouponsService {
|
|
|
3160
3160
|
}
|
|
3161
3161
|
return coupons;
|
|
3162
3162
|
}
|
|
3163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3164
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCouponsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3164
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3165
3165
|
}
|
|
3166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3167
3167
|
type: Injectable,
|
|
3168
3168
|
args: [{
|
|
3169
3169
|
providedIn: 'root',
|
|
3170
3170
|
}]
|
|
3171
|
-
}], ctorParameters:
|
|
3171
|
+
}], ctorParameters: () => [] });
|
|
3172
3172
|
|
|
3173
3173
|
// Classes
|
|
3174
3174
|
|
|
@@ -3392,15 +3392,15 @@ class EsolveVouchersService {
|
|
|
3392
3392
|
}
|
|
3393
3393
|
return vouchers;
|
|
3394
3394
|
}
|
|
3395
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3396
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveVouchersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3396
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveVouchersService, providedIn: 'root' }); }
|
|
3397
3397
|
}
|
|
3398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveVouchersService, decorators: [{
|
|
3399
3399
|
type: Injectable,
|
|
3400
3400
|
args: [{
|
|
3401
3401
|
providedIn: 'root',
|
|
3402
3402
|
}]
|
|
3403
|
-
}], ctorParameters:
|
|
3403
|
+
}], ctorParameters: () => [] });
|
|
3404
3404
|
|
|
3405
3405
|
// Classes
|
|
3406
3406
|
|
|
@@ -3687,10 +3687,10 @@ class EsolveCartService {
|
|
|
3687
3687
|
const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount, +record.vouchers, +record.allowance, record.delivery_category_totals);
|
|
3688
3688
|
return cart_totals;
|
|
3689
3689
|
}
|
|
3690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3691
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3691
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3692
3692
|
}
|
|
3693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3694
3694
|
type: Injectable,
|
|
3695
3695
|
args: [{
|
|
3696
3696
|
providedIn: 'root',
|
|
@@ -4107,10 +4107,10 @@ class EsolveLocationsService {
|
|
|
4107
4107
|
processLocation(record) {
|
|
4108
4108
|
return new EsolveLocation(record);
|
|
4109
4109
|
}
|
|
4110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4111
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveLocationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4111
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
4112
4112
|
}
|
|
4113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
4114
4114
|
type: Injectable,
|
|
4115
4115
|
args: [{
|
|
4116
4116
|
providedIn: 'root',
|
|
@@ -4413,15 +4413,15 @@ class EsolveTransactionsService {
|
|
|
4413
4413
|
}
|
|
4414
4414
|
return transactions;
|
|
4415
4415
|
}
|
|
4416
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4417
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTransactionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4417
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
4418
4418
|
}
|
|
4419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
4420
4420
|
type: Injectable,
|
|
4421
4421
|
args: [{
|
|
4422
4422
|
providedIn: 'root',
|
|
4423
4423
|
}]
|
|
4424
|
-
}], ctorParameters:
|
|
4424
|
+
}], ctorParameters: () => [] });
|
|
4425
4425
|
|
|
4426
4426
|
class EsolveSessionShippingUpdateResult extends EsolveResponseResult {
|
|
4427
4427
|
constructor(response) {
|
|
@@ -4907,15 +4907,15 @@ class EsolveAccountService {
|
|
|
4907
4907
|
return new EsolveLocationUpdateResult(response);
|
|
4908
4908
|
})));
|
|
4909
4909
|
}
|
|
4910
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4911
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4910
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAccountService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4911
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
4912
4912
|
}
|
|
4913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
4914
4914
|
type: Injectable,
|
|
4915
4915
|
args: [{
|
|
4916
4916
|
providedIn: 'root',
|
|
4917
4917
|
}]
|
|
4918
|
-
}], ctorParameters:
|
|
4918
|
+
}], ctorParameters: () => [] });
|
|
4919
4919
|
|
|
4920
4920
|
class EsolveBanner {
|
|
4921
4921
|
constructor(id, banner_display_container, identifier, type, title, sub_title, catch_phrase, background_colour, button_caption, article, sort_priority, link, images) {
|
|
@@ -5050,10 +5050,10 @@ class EsolveBannerService {
|
|
|
5050
5050
|
}
|
|
5051
5051
|
return banners;
|
|
5052
5052
|
}
|
|
5053
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5054
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveBannerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5054
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
5055
5055
|
}
|
|
5056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
5057
5057
|
type: Injectable,
|
|
5058
5058
|
args: [{
|
|
5059
5059
|
providedIn: 'root',
|
|
@@ -5118,10 +5118,10 @@ class EsolveMenuService {
|
|
|
5118
5118
|
}
|
|
5119
5119
|
return menu;
|
|
5120
5120
|
}
|
|
5121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5122
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5122
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
5123
5123
|
}
|
|
5124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
5125
5125
|
type: Injectable,
|
|
5126
5126
|
args: [{
|
|
5127
5127
|
providedIn: 'root',
|
|
@@ -5356,10 +5356,10 @@ class EsolveNewsService {
|
|
|
5356
5356
|
return this.errorHandler.handleHttpPostError('set-newsletter', errorRes);
|
|
5357
5357
|
}));
|
|
5358
5358
|
}
|
|
5359
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5360
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveNewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5360
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
5361
5361
|
}
|
|
5362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
5363
5363
|
type: Injectable,
|
|
5364
5364
|
args: [{
|
|
5365
5365
|
providedIn: 'root',
|
|
@@ -5610,6 +5610,10 @@ class EsolveStockItemBase {
|
|
|
5610
5610
|
* Units used to measure the quantity
|
|
5611
5611
|
*/
|
|
5612
5612
|
this.unit_of_measure = 'unit';
|
|
5613
|
+
/**
|
|
5614
|
+
* The factor used to calculate the price per unit of measurement (e.g. price per kg)
|
|
5615
|
+
*/
|
|
5616
|
+
this.pricing_factor = 1;
|
|
5613
5617
|
/**
|
|
5614
5618
|
* ID of default category linked to the stock item
|
|
5615
5619
|
*
|
|
@@ -5650,7 +5654,9 @@ class EsolveStockItemBase {
|
|
|
5650
5654
|
* Colours
|
|
5651
5655
|
*/
|
|
5652
5656
|
this.colours = [];
|
|
5653
|
-
/**
|
|
5657
|
+
/**
|
|
5658
|
+
* Sizes
|
|
5659
|
+
*/
|
|
5654
5660
|
this.sizes = [];
|
|
5655
5661
|
/**
|
|
5656
5662
|
* Image filename
|
|
@@ -5705,6 +5711,9 @@ class EsolveStockItemBase {
|
|
|
5705
5711
|
if (record.unit_of_measure) {
|
|
5706
5712
|
this.unit_of_measure = record.unit_of_measure;
|
|
5707
5713
|
}
|
|
5714
|
+
if (record.pricing_factor) {
|
|
5715
|
+
this.pricing_factor = +record.pricing_factor;
|
|
5716
|
+
}
|
|
5708
5717
|
base_price = +(record.regular_sellprice ?? 0);
|
|
5709
5718
|
base_price_with_tax = +(record.regular_sellprice_inclusive ?? 0);
|
|
5710
5719
|
sell_price = +(record.sellprice ?? 0);
|
|
@@ -6384,10 +6393,10 @@ class EsolveStockService {
|
|
|
6384
6393
|
return this.errorHandler.handleHttpPostError('set-notify', errorRes);
|
|
6385
6394
|
}));
|
|
6386
6395
|
}
|
|
6387
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6388
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveStockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6397
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
6389
6398
|
}
|
|
6390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
6391
6400
|
type: Injectable,
|
|
6392
6401
|
args: [{
|
|
6393
6402
|
providedIn: 'root',
|
|
@@ -6531,10 +6540,10 @@ class EsolveSpecialsService {
|
|
|
6531
6540
|
processSpecial(record) {
|
|
6532
6541
|
return new EsolveSpecial(record);
|
|
6533
6542
|
}
|
|
6534
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6535
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSpecialsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
6536
6545
|
}
|
|
6537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
6538
6547
|
type: Injectable,
|
|
6539
6548
|
args: [{
|
|
6540
6549
|
providedIn: 'root',
|
|
@@ -6971,10 +6980,10 @@ class EsolvePaymentService {
|
|
|
6971
6980
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
6972
6981
|
return `${month_string}${year_string}`;
|
|
6973
6982
|
}
|
|
6974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6975
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolvePaymentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6984
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
6976
6985
|
}
|
|
6977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
6978
6987
|
type: Injectable,
|
|
6979
6988
|
args: [{
|
|
6980
6989
|
providedIn: 'root',
|
|
@@ -7246,10 +7255,10 @@ class EsolveShippingService {
|
|
|
7246
7255
|
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);
|
|
7247
7256
|
return shipping_cost;
|
|
7248
7257
|
}
|
|
7249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveShippingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7259
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
7251
7260
|
}
|
|
7252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
7253
7262
|
type: Injectable,
|
|
7254
7263
|
args: [{
|
|
7255
7264
|
providedIn: 'root',
|
|
@@ -7284,10 +7293,10 @@ class EsolveEnquiryService {
|
|
|
7284
7293
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
7285
7294
|
}));
|
|
7286
7295
|
}
|
|
7287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7288
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveEnquiryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7297
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
7289
7298
|
}
|
|
7290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
7291
7300
|
type: Injectable,
|
|
7292
7301
|
args: [{
|
|
7293
7302
|
providedIn: 'root',
|
|
@@ -7405,10 +7414,10 @@ class EsolveWishlistService {
|
|
|
7405
7414
|
getWishlistRecords(params) {
|
|
7406
7415
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
7407
7416
|
}
|
|
7408
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7409
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWishlistService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7418
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
7410
7419
|
}
|
|
7411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
7412
7421
|
type: Injectable,
|
|
7413
7422
|
args: [{
|
|
7414
7423
|
providedIn: 'root',
|
|
@@ -7479,10 +7488,10 @@ class EsolveSuppliersService {
|
|
|
7479
7488
|
processSuppliers(record) {
|
|
7480
7489
|
return new EsolveSupplier(record);
|
|
7481
7490
|
}
|
|
7482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7483
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSuppliersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7492
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
7484
7493
|
}
|
|
7485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
7486
7495
|
type: Injectable,
|
|
7487
7496
|
args: [{
|
|
7488
7497
|
providedIn: 'root',
|
|
@@ -7577,10 +7586,10 @@ class EsolveDeviceService {
|
|
|
7577
7586
|
processDevice(record) {
|
|
7578
7587
|
return new EsolveUserDevice(record);
|
|
7579
7588
|
}
|
|
7580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7581
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeviceService, providedIn: 'root' }); }
|
|
7582
7591
|
}
|
|
7583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeviceService, decorators: [{
|
|
7584
7593
|
type: Injectable,
|
|
7585
7594
|
args: [{
|
|
7586
7595
|
providedIn: 'root',
|
|
@@ -7724,15 +7733,15 @@ class EsolveWalletService {
|
|
|
7724
7733
|
}
|
|
7725
7734
|
return transactions;
|
|
7726
7735
|
}
|
|
7727
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7728
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7736
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWalletService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7737
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWalletService, providedIn: 'root' }); }
|
|
7729
7738
|
}
|
|
7730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveWalletService, decorators: [{
|
|
7731
7740
|
type: Injectable,
|
|
7732
7741
|
args: [{
|
|
7733
7742
|
providedIn: 'root',
|
|
7734
7743
|
}]
|
|
7735
|
-
}], ctorParameters:
|
|
7744
|
+
}], ctorParameters: () => [] });
|
|
7736
7745
|
|
|
7737
7746
|
class EsolveDelivery {
|
|
7738
7747
|
constructor(record) {
|
|
@@ -7896,10 +7905,10 @@ class EsolveDeliveriesService {
|
|
|
7896
7905
|
processDelivery(record) {
|
|
7897
7906
|
return new EsolveDelivery(record);
|
|
7898
7907
|
}
|
|
7899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7900
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeliveriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7909
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeliveriesService, providedIn: 'root' }); }
|
|
7901
7910
|
}
|
|
7902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveDeliveriesService, decorators: [{
|
|
7903
7912
|
type: Injectable,
|
|
7904
7913
|
args: [{
|
|
7905
7914
|
providedIn: 'root',
|
|
@@ -8151,10 +8160,10 @@ class EsolveCompetitionsService {
|
|
|
8151
8160
|
processCompetition(record) {
|
|
8152
8161
|
return new EsolveCompetition(record);
|
|
8153
8162
|
}
|
|
8154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8155
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCompetitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8164
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCompetitionsService, providedIn: 'root' }); }
|
|
8156
8165
|
}
|
|
8157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EsolveCompetitionsService, decorators: [{
|
|
8158
8167
|
type: Injectable,
|
|
8159
8168
|
args: [{
|
|
8160
8169
|
providedIn: 'root',
|