@esolve/ng-esolve-connect 0.100.0 → 0.101.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/account/user-account/classes/esolve-user-client-account.model.mjs +49 -5
- package/esm2022/lib/albums/services/esolve-albums.service.mjs +4 -4
- package/esm2022/lib/assets/esolve-assets.service.mjs +4 -4
- package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +4 -4
- package/esm2022/lib/auth/esolve-auth.service.mjs +4 -4
- package/esm2022/lib/auth/esolve-otp.service.mjs +4 -4
- package/esm2022/lib/banners/esolve-banner.service.mjs +4 -4
- package/esm2022/lib/cart/esolve-cart.service.mjs +4 -4
- package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +4 -4
- package/esm2022/lib/competitions/services/esolve-competitions.service.mjs +4 -4
- 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 +4 -4
- package/esm2022/lib/device/esolve-device.service.mjs +4 -4
- package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +4 -4
- package/esm2022/lib/geocoder/esolve-geocoder.service.mjs +4 -4
- package/esm2022/lib/images/directives/cdn-src.directive.mjs +4 -4
- package/esm2022/lib/locations/esolve-locations.service.mjs +4 -4
- package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +4 -4
- package/esm2022/lib/menu/esolve-menu.service.mjs +4 -4
- package/esm2022/lib/news/esolve-news.service.mjs +4 -4
- package/esm2022/lib/ng-esolve-connect.module.mjs +5 -5
- package/esm2022/lib/payment/esolve-payment.service.mjs +4 -4
- package/esm2022/lib/ranges/esolve-ranges.service.mjs +4 -4
- package/esm2022/lib/reviews/services/esolve-reviews.service.mjs +4 -4
- package/esm2022/lib/seo/esolve-seo.service.mjs +4 -4
- package/esm2022/lib/session/esolve-session-metadata.service.mjs +4 -4
- package/esm2022/lib/session/esolve-session.service.mjs +4 -4
- package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +4 -4
- package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +4 -4
- package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +4 -4
- package/esm2022/lib/shipping/esolve-shipping.service.mjs +4 -4
- package/esm2022/lib/specials/esolve-specials.service.mjs +4 -4
- package/esm2022/lib/stock/classes/esolve-stock-item-base.model.mjs +6 -1
- package/esm2022/lib/stock/esolve-stock.service.mjs +4 -4
- package/esm2022/lib/stock/interfaces/esolve-stock-base-record.interface.mjs +1 -1
- package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +4 -4
- package/esm2022/lib/tags/esolve-tags.service.mjs +4 -4
- package/esm2022/lib/topics/esolve-topic.service.mjs +4 -4
- 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 +4 -4
- package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +4 -4
- package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +4 -4
- package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +5 -5
- package/esm2022/media/lib/services/esolve-media-layout.service.mjs +4 -4
- package/esm2022/media/lib/services/esolve-media.service.mjs +4 -4
- package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +4 -4
- package/esm2022/survey/lib/services/esolve-survey.service.mjs +4 -4
- package/fesm2022/esolve-ng-esolve-connect-media.mjs +16 -16
- package/fesm2022/esolve-ng-esolve-connect-media.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect.mjs +179 -130
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/account/user-account/classes/esolve-user-client-account.model.d.ts +42 -38
- package/lib/stock/classes/esolve-stock-item-base.model.d.ts +4 -0
- package/lib/stock/interfaces/esolve-stock-base-record.interface.d.ts +1 -0
- package/lib/wishlist/classes/esolve-wishlist-item.model.d.ts +2 -2
- 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, provideHttpClient, withInterceptorsFromDi, 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, switchMap, timer, takeUntil, filter, distinctUntilChanged, combineLatest, debounceTime, shareReplay, 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,10 +55,10 @@ 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: "18.1.1", ngImport: i0, type: EsolveConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
59
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
62
62
|
type: Injectable,
|
|
63
63
|
args: [{
|
|
64
64
|
providedIn: 'root',
|
|
@@ -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: "18.1.1", ngImport: i0, type: EsolveCookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
85
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", 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: "18.1.1", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", 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, http_response.additional_data);
|
|
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: "18.1.1", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
476
476
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
478
478
|
type: Injectable,
|
|
479
479
|
args: [{
|
|
480
480
|
providedIn: 'root',
|
|
@@ -750,10 +750,10 @@ class EsolveSessionService {
|
|
|
750
750
|
}
|
|
751
751
|
localStorage.removeItem(this.storage_key);
|
|
752
752
|
}
|
|
753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
754
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
754
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
755
755
|
}
|
|
756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
757
757
|
type: Injectable,
|
|
758
758
|
args: [{
|
|
759
759
|
providedIn: 'root',
|
|
@@ -813,10 +813,10 @@ class EsolveSessionMetadataService {
|
|
|
813
813
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
814
814
|
}));
|
|
815
815
|
}
|
|
816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
817
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionMetadataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
817
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
818
818
|
}
|
|
819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
820
820
|
type: Injectable,
|
|
821
821
|
args: [{
|
|
822
822
|
providedIn: 'root',
|
|
@@ -1047,10 +1047,10 @@ class EsolveAuthService {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
return throwError(() => error);
|
|
1049
1049
|
}
|
|
1050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1051
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1051
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
1052
1052
|
}
|
|
1053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
1054
1054
|
type: Injectable,
|
|
1055
1055
|
args: [{
|
|
1056
1056
|
providedIn: 'root',
|
|
@@ -1088,10 +1088,10 @@ class EsolveAuthInterceptorService {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
return next.handle(req);
|
|
1090
1090
|
}
|
|
1091
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1092
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthInterceptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1092
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
1093
1093
|
}
|
|
1094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
1095
1095
|
type: Injectable
|
|
1096
1096
|
}] });
|
|
1097
1097
|
|
|
@@ -1184,10 +1184,10 @@ class EsolveOtpService {
|
|
|
1184
1184
|
return throwError(() => error);
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1188
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveOtpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1188
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveOtpService, providedIn: 'root' }); }
|
|
1189
1189
|
}
|
|
1190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveOtpService, decorators: [{
|
|
1191
1191
|
type: Injectable,
|
|
1192
1192
|
args: [{
|
|
1193
1193
|
providedIn: 'root',
|
|
@@ -1231,11 +1231,11 @@ class NgEsolveConnectModule {
|
|
|
1231
1231
|
providers: provideNgEsolveConnect(config, auto_login),
|
|
1232
1232
|
};
|
|
1233
1233
|
}
|
|
1234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1235
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1236
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1235
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1236
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1237
1237
|
}
|
|
1238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
1239
1239
|
type: NgModule,
|
|
1240
1240
|
args: [{
|
|
1241
1241
|
imports: [CommonModule, HttpClientModule],
|
|
@@ -1355,10 +1355,10 @@ class EsolveCdnSrcDirective {
|
|
|
1355
1355
|
isImage(el) {
|
|
1356
1356
|
return 'loading' in this.el.nativeElement;
|
|
1357
1357
|
}
|
|
1358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1359
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCdnSrcDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1359
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1360
1360
|
}
|
|
1361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
1362
1362
|
type: Directive,
|
|
1363
1363
|
args: [{
|
|
1364
1364
|
selector: '[eslvCdnSrc]',
|
|
@@ -1480,10 +1480,10 @@ class EsolveSeoService {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
return pageSeo;
|
|
1482
1482
|
}
|
|
1483
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1484
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1483
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSeoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1484
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1485
1485
|
}
|
|
1486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1487
1487
|
type: Injectable,
|
|
1488
1488
|
args: [{
|
|
1489
1489
|
providedIn: 'root',
|
|
@@ -1570,10 +1570,10 @@ class EsolveGeocoderService {
|
|
|
1570
1570
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1571
1571
|
return geocode_result;
|
|
1572
1572
|
}
|
|
1573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1574
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1573
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveGeocoderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1574
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1575
1575
|
}
|
|
1576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1577
1577
|
type: Injectable,
|
|
1578
1578
|
args: [{
|
|
1579
1579
|
providedIn: 'root',
|
|
@@ -1792,10 +1792,10 @@ class EsolveCategoryTreeService {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1795
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCategoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1796
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1797
1797
|
}
|
|
1798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1799
1799
|
type: Injectable,
|
|
1800
1800
|
args: [{
|
|
1801
1801
|
providedIn: 'root',
|
|
@@ -1916,10 +1916,10 @@ class EsolveManufacturersService {
|
|
|
1916
1916
|
processManufacturer(record) {
|
|
1917
1917
|
return new EsolveManufacturer(record);
|
|
1918
1918
|
}
|
|
1919
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1920
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveManufacturersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1920
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1921
1921
|
}
|
|
1922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1923
1923
|
type: Injectable,
|
|
1924
1924
|
args: [{
|
|
1925
1925
|
providedIn: 'root',
|
|
@@ -2036,10 +2036,10 @@ class EsolveRangesService {
|
|
|
2036
2036
|
processRange(record) {
|
|
2037
2037
|
return new EsolveRange(record);
|
|
2038
2038
|
}
|
|
2039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2040
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2039
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveRangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2040
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
2041
2041
|
}
|
|
2042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
2043
2043
|
type: Injectable,
|
|
2044
2044
|
args: [{
|
|
2045
2045
|
providedIn: 'root',
|
|
@@ -2140,10 +2140,10 @@ class EsolveTagsService {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
return tags;
|
|
2142
2142
|
}
|
|
2143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2144
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTagsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2144
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
2145
2145
|
}
|
|
2146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
2147
2147
|
type: Injectable,
|
|
2148
2148
|
args: [{
|
|
2149
2149
|
providedIn: 'root',
|
|
@@ -2202,10 +2202,10 @@ class EsolveTopicService {
|
|
|
2202
2202
|
}
|
|
2203
2203
|
return topics;
|
|
2204
2204
|
}
|
|
2205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2206
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTopicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2206
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
2207
2207
|
}
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
2209
2209
|
type: Injectable,
|
|
2210
2210
|
args: [{
|
|
2211
2211
|
providedIn: 'root',
|
|
@@ -2420,10 +2420,10 @@ class EsolveAssetsService {
|
|
|
2420
2420
|
const total = total_records;
|
|
2421
2421
|
return new EsolveList(assets, page, rows, total);
|
|
2422
2422
|
}
|
|
2423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAssetsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2424
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2425
2425
|
}
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2427
2427
|
type: Injectable,
|
|
2428
2428
|
args: [{
|
|
2429
2429
|
providedIn: 'root',
|
|
@@ -2565,9 +2565,53 @@ class EsolveStatement {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
|
|
2567
2567
|
class EsolveUserClientAccount {
|
|
2568
|
+
/**
|
|
2569
|
+
* @deprecated Use field id` instead
|
|
2570
|
+
*/
|
|
2571
|
+
get esolve_id() {
|
|
2572
|
+
return this.id;
|
|
2573
|
+
}
|
|
2568
2574
|
constructor(record) {
|
|
2575
|
+
this.id = 0;
|
|
2576
|
+
this.account = '';
|
|
2577
|
+
this.branch_code = '';
|
|
2578
|
+
this.account_group = '';
|
|
2579
|
+
this.pricing_group = '';
|
|
2580
|
+
this.company_name = '';
|
|
2581
|
+
this.client_contact_person = '';
|
|
2582
|
+
this.client_firstname = '';
|
|
2583
|
+
this.client_surname = '';
|
|
2584
|
+
this.client_email = '';
|
|
2585
|
+
this.client_contact_number = '';
|
|
2586
|
+
this.client_fax_number = '';
|
|
2587
|
+
this.client_cellphone_number = '';
|
|
2588
|
+
this.client_id_number = '';
|
|
2589
|
+
this.address_description = '';
|
|
2590
|
+
this.street = '';
|
|
2591
|
+
this.suburb = '';
|
|
2592
|
+
this.city = '';
|
|
2593
|
+
this.province = '';
|
|
2594
|
+
this.country = '';
|
|
2595
|
+
this.postal_code = '';
|
|
2596
|
+
this.postal_address = '';
|
|
2597
|
+
this.delivery_address = '';
|
|
2598
|
+
this.latitude = 0;
|
|
2599
|
+
this.longitude = 0;
|
|
2600
|
+
this.vat_number = '';
|
|
2601
|
+
this.ageing = '';
|
|
2602
|
+
this.balance_last_updated = '';
|
|
2603
|
+
this.client_classification = '';
|
|
2604
|
+
this.override_stock_listing_identifiers = '';
|
|
2605
|
+
this.requires_transaction_approval = '';
|
|
2606
|
+
this.price_list = 0;
|
|
2607
|
+
this.loyalty_classification_id = 0;
|
|
2608
|
+
this.credit_limit = 0;
|
|
2609
|
+
this.pending_invoice_balance = 0;
|
|
2610
|
+
this.external_account_balance = 0;
|
|
2611
|
+
this.default_sellprice = 0;
|
|
2612
|
+
this.is_active = false;
|
|
2569
2613
|
if (record) {
|
|
2570
|
-
this.
|
|
2614
|
+
this.id = +(record.id ?? 0);
|
|
2571
2615
|
this.account = record.account ?? '';
|
|
2572
2616
|
this.branch_code = record.branch_code ?? '';
|
|
2573
2617
|
this.account_group = record.account_group ?? '';
|
|
@@ -2583,13 +2627,15 @@ class EsolveUserClientAccount {
|
|
|
2583
2627
|
this.client_id_number = record.client_id_number ?? '';
|
|
2584
2628
|
this.address_description = record.address_description ?? '';
|
|
2585
2629
|
this.street = record.street ?? '';
|
|
2586
|
-
this.suburb = record.suburb;
|
|
2630
|
+
this.suburb = record.suburb ?? '';
|
|
2587
2631
|
this.city = record.city ?? '';
|
|
2588
2632
|
this.province = record.province ?? '';
|
|
2589
2633
|
this.country = record.country ?? '';
|
|
2590
2634
|
this.postal_code = record.postal_code ?? '';
|
|
2591
2635
|
this.postal_address = record.postal_address ?? '';
|
|
2592
2636
|
this.delivery_address = record.delivery_address ?? '';
|
|
2637
|
+
this.latitude = +(record.latitude ?? 0);
|
|
2638
|
+
this.longitude = +(record.longitude ?? 0);
|
|
2593
2639
|
this.vat_number = record.vat_number ?? '';
|
|
2594
2640
|
this.ageing = record.ageing ?? '';
|
|
2595
2641
|
this.balance_last_updated = record.balance_last_updated ?? '';
|
|
@@ -2598,8 +2644,6 @@ class EsolveUserClientAccount {
|
|
|
2598
2644
|
record.override_stock_listing_identifiers ?? '';
|
|
2599
2645
|
this.requires_transaction_approval =
|
|
2600
2646
|
record.requires_transaction_approval ?? '';
|
|
2601
|
-
this.latitude = +(record.latitude ?? 0);
|
|
2602
|
-
this.longitude = +(record.longitude ?? 0);
|
|
2603
2647
|
this.price_list = +(record.price_list ?? 0);
|
|
2604
2648
|
this.loyalty_classification_id = +(record.loyalty_classification_id ?? 0);
|
|
2605
2649
|
this.credit_limit = +(record.credit_limit ?? 0);
|
|
@@ -3246,10 +3290,10 @@ class EsolveCouponsService {
|
|
|
3246
3290
|
}
|
|
3247
3291
|
return coupons;
|
|
3248
3292
|
}
|
|
3249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCouponsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3294
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3251
3295
|
}
|
|
3252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3253
3297
|
type: Injectable,
|
|
3254
3298
|
args: [{
|
|
3255
3299
|
providedIn: 'root',
|
|
@@ -3478,10 +3522,10 @@ class EsolveVouchersService {
|
|
|
3478
3522
|
}
|
|
3479
3523
|
return vouchers;
|
|
3480
3524
|
}
|
|
3481
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3482
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3525
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveVouchersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3526
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveVouchersService, providedIn: 'root' }); }
|
|
3483
3527
|
}
|
|
3484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveVouchersService, decorators: [{
|
|
3485
3529
|
type: Injectable,
|
|
3486
3530
|
args: [{
|
|
3487
3531
|
providedIn: 'root',
|
|
@@ -3776,10 +3820,10 @@ class EsolveCartService {
|
|
|
3776
3820
|
processCartTotals(record) {
|
|
3777
3821
|
return new EsolveCartTotals(record);
|
|
3778
3822
|
}
|
|
3779
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3780
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3824
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3781
3825
|
}
|
|
3782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3783
3827
|
type: Injectable,
|
|
3784
3828
|
args: [{
|
|
3785
3829
|
providedIn: 'root',
|
|
@@ -4204,10 +4248,10 @@ class EsolveLocationsService {
|
|
|
4204
4248
|
processLocation(record) {
|
|
4205
4249
|
return new EsolveLocation(record);
|
|
4206
4250
|
}
|
|
4207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4208
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveLocationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4252
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
4209
4253
|
}
|
|
4210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
4211
4255
|
type: Injectable,
|
|
4212
4256
|
args: [{
|
|
4213
4257
|
providedIn: 'root',
|
|
@@ -4517,10 +4561,10 @@ class EsolveTransactionsService {
|
|
|
4517
4561
|
}
|
|
4518
4562
|
return transactions;
|
|
4519
4563
|
}
|
|
4520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4521
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTransactionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4565
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
4522
4566
|
}
|
|
4523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
4524
4568
|
type: Injectable,
|
|
4525
4569
|
args: [{
|
|
4526
4570
|
providedIn: 'root',
|
|
@@ -5124,10 +5168,10 @@ class EsolveAccountService {
|
|
|
5124
5168
|
}
|
|
5125
5169
|
return requests;
|
|
5126
5170
|
}
|
|
5127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5128
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAccountService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5172
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
5129
5173
|
}
|
|
5130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
5131
5175
|
type: Injectable,
|
|
5132
5176
|
args: [{
|
|
5133
5177
|
providedIn: 'root',
|
|
@@ -5269,10 +5313,10 @@ class EsolveBannerService {
|
|
|
5269
5313
|
}
|
|
5270
5314
|
return banners;
|
|
5271
5315
|
}
|
|
5272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5273
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveBannerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5317
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
5274
5318
|
}
|
|
5275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
5276
5320
|
type: Injectable,
|
|
5277
5321
|
args: [{
|
|
5278
5322
|
providedIn: 'root',
|
|
@@ -5339,10 +5383,10 @@ class EsolveMenuService {
|
|
|
5339
5383
|
}
|
|
5340
5384
|
return menu;
|
|
5341
5385
|
}
|
|
5342
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5343
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5387
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
5344
5388
|
}
|
|
5345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
5346
5390
|
type: Injectable,
|
|
5347
5391
|
args: [{
|
|
5348
5392
|
providedIn: 'root',
|
|
@@ -5577,10 +5621,10 @@ class EsolveNewsService {
|
|
|
5577
5621
|
return this.errorHandler.handleHttpPostError('set-newsletter', errorRes);
|
|
5578
5622
|
}));
|
|
5579
5623
|
}
|
|
5580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5581
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveNewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5625
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
5582
5626
|
}
|
|
5583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
5584
5628
|
type: Injectable,
|
|
5585
5629
|
args: [{
|
|
5586
5630
|
providedIn: 'root',
|
|
@@ -5741,6 +5785,10 @@ class EsolveStockItemBase {
|
|
|
5741
5785
|
* Code used by supplier
|
|
5742
5786
|
*/
|
|
5743
5787
|
this.supplier_code = '';
|
|
5788
|
+
/**
|
|
5789
|
+
* Code used by the ERP
|
|
5790
|
+
*/
|
|
5791
|
+
this.erp_code = '';
|
|
5744
5792
|
/**
|
|
5745
5793
|
* The barcode of the item
|
|
5746
5794
|
*/
|
|
@@ -5923,6 +5971,7 @@ class EsolveStockItemBase {
|
|
|
5923
5971
|
this.id = +(record.id ?? 0);
|
|
5924
5972
|
this.code = record.code ?? '';
|
|
5925
5973
|
this.supplier_code = record.supplier_code ?? '';
|
|
5974
|
+
this.erp_code = record.erp_code ?? '';
|
|
5926
5975
|
this.barcode = record.barcode ?? '';
|
|
5927
5976
|
this.name = record.name ?? '';
|
|
5928
5977
|
this.sef_name = record.sef_name ?? '';
|
|
@@ -6701,10 +6750,10 @@ class EsolveStockService {
|
|
|
6701
6750
|
return this.errorHandler.handleHttpPostError('set-notify', errorRes);
|
|
6702
6751
|
}));
|
|
6703
6752
|
}
|
|
6704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6705
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveStockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6754
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
6706
6755
|
}
|
|
6707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
6708
6757
|
type: Injectable,
|
|
6709
6758
|
args: [{
|
|
6710
6759
|
providedIn: 'root',
|
|
@@ -6848,10 +6897,10 @@ class EsolveSpecialsService {
|
|
|
6848
6897
|
processSpecial(record) {
|
|
6849
6898
|
return new EsolveSpecial(record);
|
|
6850
6899
|
}
|
|
6851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6852
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6900
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSpecialsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6901
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
6853
6902
|
}
|
|
6854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
6855
6904
|
type: Injectable,
|
|
6856
6905
|
args: [{
|
|
6857
6906
|
providedIn: 'root',
|
|
@@ -7302,10 +7351,10 @@ class EsolvePaymentService {
|
|
|
7302
7351
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
7303
7352
|
return `${month_string}${year_string}`;
|
|
7304
7353
|
}
|
|
7305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7306
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolvePaymentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7355
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
7307
7356
|
}
|
|
7308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
7309
7358
|
type: Injectable,
|
|
7310
7359
|
args: [{
|
|
7311
7360
|
providedIn: 'root',
|
|
@@ -7578,10 +7627,10 @@ class EsolveShippingService {
|
|
|
7578
7627
|
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);
|
|
7579
7628
|
return shipping_cost;
|
|
7580
7629
|
}
|
|
7581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7582
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7630
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveShippingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7631
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
7583
7632
|
}
|
|
7584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
7585
7634
|
type: Injectable,
|
|
7586
7635
|
args: [{
|
|
7587
7636
|
providedIn: 'root',
|
|
@@ -7616,10 +7665,10 @@ class EsolveEnquiryService {
|
|
|
7616
7665
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
7617
7666
|
}));
|
|
7618
7667
|
}
|
|
7619
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7620
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveEnquiryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7669
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
7621
7670
|
}
|
|
7622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
7623
7672
|
type: Injectable,
|
|
7624
7673
|
args: [{
|
|
7625
7674
|
providedIn: 'root',
|
|
@@ -7737,10 +7786,10 @@ class EsolveWishlistService {
|
|
|
7737
7786
|
getWishlistRecords(params) {
|
|
7738
7787
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
7739
7788
|
}
|
|
7740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7741
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7789
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWishlistService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7790
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
7742
7791
|
}
|
|
7743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
7744
7793
|
type: Injectable,
|
|
7745
7794
|
args: [{
|
|
7746
7795
|
providedIn: 'root',
|
|
@@ -7813,10 +7862,10 @@ class EsolveSuppliersService {
|
|
|
7813
7862
|
processSuppliers(record) {
|
|
7814
7863
|
return new EsolveSupplier(record);
|
|
7815
7864
|
}
|
|
7816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7817
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7865
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSuppliersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7866
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
7818
7867
|
}
|
|
7819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
7820
7869
|
type: Injectable,
|
|
7821
7870
|
args: [{
|
|
7822
7871
|
providedIn: 'root',
|
|
@@ -7911,10 +7960,10 @@ class EsolveDeviceService {
|
|
|
7911
7960
|
processDevice(record) {
|
|
7912
7961
|
return new EsolveUserDevice(record);
|
|
7913
7962
|
}
|
|
7914
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7915
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7964
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeviceService, providedIn: 'root' }); }
|
|
7916
7965
|
}
|
|
7917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeviceService, decorators: [{
|
|
7918
7967
|
type: Injectable,
|
|
7919
7968
|
args: [{
|
|
7920
7969
|
providedIn: 'root',
|
|
@@ -8080,10 +8129,10 @@ class EsolveWalletService {
|
|
|
8080
8129
|
}
|
|
8081
8130
|
return transactions;
|
|
8082
8131
|
}
|
|
8083
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8084
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWalletService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWalletService, providedIn: 'root' }); }
|
|
8085
8134
|
}
|
|
8086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveWalletService, decorators: [{
|
|
8087
8136
|
type: Injectable,
|
|
8088
8137
|
args: [{
|
|
8089
8138
|
providedIn: 'root',
|
|
@@ -8263,10 +8312,10 @@ class EsolveDeliveriesService {
|
|
|
8263
8312
|
}
|
|
8264
8313
|
return deliveries;
|
|
8265
8314
|
}
|
|
8266
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8267
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeliveriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8316
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeliveriesService, providedIn: 'root' }); }
|
|
8268
8317
|
}
|
|
8269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveDeliveriesService, decorators: [{
|
|
8270
8319
|
type: Injectable,
|
|
8271
8320
|
args: [{
|
|
8272
8321
|
providedIn: 'root',
|
|
@@ -8525,10 +8574,10 @@ class EsolveCompetitionsService {
|
|
|
8525
8574
|
processCompetition(record) {
|
|
8526
8575
|
return new EsolveCompetition(record);
|
|
8527
8576
|
}
|
|
8528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCompetitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8578
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCompetitionsService, providedIn: 'root' }); }
|
|
8530
8579
|
}
|
|
8531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveCompetitionsService, decorators: [{
|
|
8532
8581
|
type: Injectable,
|
|
8533
8582
|
args: [{
|
|
8534
8583
|
providedIn: 'root',
|
|
@@ -8690,10 +8739,10 @@ class EsolveReviewsService {
|
|
|
8690
8739
|
}
|
|
8691
8740
|
return reviews;
|
|
8692
8741
|
}
|
|
8693
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8694
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveReviewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8743
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveReviewsService, providedIn: 'root' }); }
|
|
8695
8744
|
}
|
|
8696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveReviewsService, decorators: [{
|
|
8697
8746
|
type: Injectable,
|
|
8698
8747
|
args: [{
|
|
8699
8748
|
providedIn: 'root',
|
|
@@ -8915,10 +8964,10 @@ class EsolveAlbumsService {
|
|
|
8915
8964
|
}
|
|
8916
8965
|
return album_images;
|
|
8917
8966
|
}
|
|
8918
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8919
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAlbumsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8968
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAlbumsService, providedIn: 'root' }); }
|
|
8920
8969
|
}
|
|
8921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: EsolveAlbumsService, decorators: [{
|
|
8922
8971
|
type: Injectable,
|
|
8923
8972
|
args: [{
|
|
8924
8973
|
providedIn: 'root',
|