@esolve/ng-esolve-connect 0.79.1 → 0.81.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 +11 -6
- 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/classes/esolve-competition.model.mjs +6 -1
- package/esm2022/lib/competitions/interfaces/esolve-competition-record.interface.mjs +1 -1
- 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 +3 -3
- 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 +9 -6
- 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 +5 -5
- 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 +3 -1
- 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 +148 -133
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/competitions/classes/esolve-competition.model.d.ts +4 -0
- package/lib/competitions/interfaces/esolve-competition-record.interface.d.ts +1 -0
- package/lib/session/esolve-session.service.d.ts +2 -1
- package/lib/shared/response/esolve-response-handler.service.d.ts +1 -1
- package/lib/stock/classes/esolve-stock-item-base.model.d.ts +2 -0
- package/lib/stock/interfaces/esolve-stock-base-record.interface.d.ts +2 -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, 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, combineLatest, debounceTime, shareReplay, 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: "16.2.4", ngImport: i0, type: EsolveConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
59
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
62
62
|
type: Injectable,
|
|
63
63
|
args: [{
|
|
64
64
|
providedIn: 'root',
|
|
65
65
|
}]
|
|
66
|
-
}], ctorParameters: ()
|
|
66
|
+
}], ctorParameters: function () { return []; } });
|
|
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: "16.2.4", ngImport: i0, type: EsolveCookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
85
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", 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: "16.2.4", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
192
192
|
type: Injectable,
|
|
193
193
|
args: [{
|
|
194
194
|
providedIn: 'root',
|
|
@@ -469,12 +469,12 @@ class EsolveResponseHandlerService {
|
|
|
469
469
|
response.status.state === 'none') {
|
|
470
470
|
throw response;
|
|
471
471
|
}
|
|
472
|
-
return resultHandler(response);
|
|
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: "16.2.4", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
476
476
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
478
478
|
type: Injectable,
|
|
479
479
|
args: [{
|
|
480
480
|
providedIn: 'root',
|
|
@@ -687,7 +687,7 @@ class EsolveSessionService {
|
|
|
687
687
|
this.updateToken(session.token);
|
|
688
688
|
this.startTimer(expiry_date);
|
|
689
689
|
}
|
|
690
|
-
handleUpdateSession({ user_id, location_id, addresses_id, shipping_id, }) {
|
|
690
|
+
handleUpdateSession({ user_id, location_id, addresses_id, shipping_id, token, }) {
|
|
691
691
|
if (typeof user_id !== 'undefined') {
|
|
692
692
|
this.updateUserId(user_id);
|
|
693
693
|
}
|
|
@@ -700,6 +700,9 @@ class EsolveSessionService {
|
|
|
700
700
|
if (typeof shipping_id !== 'undefined') {
|
|
701
701
|
this.updateShippingId(shipping_id);
|
|
702
702
|
}
|
|
703
|
+
if (typeof token !== 'undefined' && token.trim() !== '') {
|
|
704
|
+
this.updateToken(token);
|
|
705
|
+
}
|
|
703
706
|
}
|
|
704
707
|
setStorageKey() {
|
|
705
708
|
if (typeof this.config.session_storage_key === 'string' &&
|
|
@@ -731,15 +734,15 @@ class EsolveSessionService {
|
|
|
731
734
|
}
|
|
732
735
|
localStorage.removeItem(this.storage_key);
|
|
733
736
|
}
|
|
734
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
735
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
738
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
736
739
|
}
|
|
737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
738
741
|
type: Injectable,
|
|
739
742
|
args: [{
|
|
740
743
|
providedIn: 'root',
|
|
741
744
|
}]
|
|
742
|
-
}], ctorParameters: ()
|
|
745
|
+
}], ctorParameters: function () { return []; } });
|
|
743
746
|
|
|
744
747
|
class EsolveSessionMetadataService {
|
|
745
748
|
constructor() {
|
|
@@ -794,10 +797,10 @@ class EsolveSessionMetadataService {
|
|
|
794
797
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
795
798
|
}));
|
|
796
799
|
}
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionMetadataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
801
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
799
802
|
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
801
804
|
type: Injectable,
|
|
802
805
|
args: [{
|
|
803
806
|
providedIn: 'root',
|
|
@@ -1025,15 +1028,15 @@ class EsolveAuthService {
|
|
|
1025
1028
|
}
|
|
1026
1029
|
return throwError(() => error);
|
|
1027
1030
|
}
|
|
1028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1029
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1032
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
1030
1033
|
}
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
1032
1035
|
type: Injectable,
|
|
1033
1036
|
args: [{
|
|
1034
1037
|
providedIn: 'root',
|
|
1035
1038
|
}]
|
|
1036
|
-
}], ctorParameters: ()
|
|
1039
|
+
}], ctorParameters: function () { return []; } });
|
|
1037
1040
|
|
|
1038
1041
|
class EsolveAuthInterceptorService {
|
|
1039
1042
|
constructor() {
|
|
@@ -1066,10 +1069,10 @@ class EsolveAuthInterceptorService {
|
|
|
1066
1069
|
}
|
|
1067
1070
|
return next.handle(req);
|
|
1068
1071
|
}
|
|
1069
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1070
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthInterceptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1073
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
1071
1074
|
}
|
|
1072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
1073
1076
|
type: Injectable
|
|
1074
1077
|
}] });
|
|
1075
1078
|
|
|
@@ -1162,10 +1165,10 @@ class EsolveOtpService {
|
|
|
1162
1165
|
return throwError(() => error);
|
|
1163
1166
|
}
|
|
1164
1167
|
}
|
|
1165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveOtpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1169
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveOtpService, providedIn: 'root' }); }
|
|
1167
1170
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveOtpService, decorators: [{
|
|
1169
1172
|
type: Injectable,
|
|
1170
1173
|
args: [{
|
|
1171
1174
|
providedIn: 'root',
|
|
@@ -1209,11 +1212,11 @@ class NgEsolveConnectModule {
|
|
|
1209
1212
|
providers: provideNgEsolveConnect(config, auto_login),
|
|
1210
1213
|
};
|
|
1211
1214
|
}
|
|
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: "
|
|
1215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1216
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1217
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
1215
1218
|
}
|
|
1216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
1217
1220
|
type: NgModule,
|
|
1218
1221
|
args: [{
|
|
1219
1222
|
imports: [CommonModule, HttpClientModule],
|
|
@@ -1333,16 +1336,16 @@ class EsolveCdnSrcDirective {
|
|
|
1333
1336
|
isImage(el) {
|
|
1334
1337
|
return 'loading' in this.el.nativeElement;
|
|
1335
1338
|
}
|
|
1336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1337
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCdnSrcDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1340
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1338
1341
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
1340
1343
|
type: Directive,
|
|
1341
1344
|
args: [{
|
|
1342
1345
|
selector: '[eslvCdnSrc]',
|
|
1343
1346
|
standalone: true,
|
|
1344
1347
|
}]
|
|
1345
|
-
}], ctorParameters: ()
|
|
1348
|
+
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
1346
1349
|
type: Input,
|
|
1347
1350
|
args: ['eslvCdnSrc']
|
|
1348
1351
|
}], onError: [{
|
|
@@ -1468,15 +1471,15 @@ class EsolveSeoService {
|
|
|
1468
1471
|
}
|
|
1469
1472
|
return pageSeo;
|
|
1470
1473
|
}
|
|
1471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1472
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSeoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1473
1476
|
}
|
|
1474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1475
1478
|
type: Injectable,
|
|
1476
1479
|
args: [{
|
|
1477
1480
|
providedIn: 'root',
|
|
1478
1481
|
}]
|
|
1479
|
-
}], ctorParameters: ()
|
|
1482
|
+
}], ctorParameters: function () { return []; } });
|
|
1480
1483
|
|
|
1481
1484
|
class EsolveGeocodeAddressResult {
|
|
1482
1485
|
constructor(street_number, street, suburb, city, province, country, postal_code) {
|
|
@@ -1558,10 +1561,10 @@ class EsolveGeocoderService {
|
|
|
1558
1561
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1559
1562
|
return geocode_result;
|
|
1560
1563
|
}
|
|
1561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveGeocoderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1565
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1563
1566
|
}
|
|
1564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1565
1568
|
type: Injectable,
|
|
1566
1569
|
args: [{
|
|
1567
1570
|
providedIn: 'root',
|
|
@@ -1778,10 +1781,10 @@ class EsolveCategoryTreeService {
|
|
|
1778
1781
|
}
|
|
1779
1782
|
return null;
|
|
1780
1783
|
}
|
|
1781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1782
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCategoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1785
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1783
1786
|
}
|
|
1784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1785
1788
|
type: Injectable,
|
|
1786
1789
|
args: [{
|
|
1787
1790
|
providedIn: 'root',
|
|
@@ -1900,10 +1903,10 @@ class EsolveManufacturersService {
|
|
|
1900
1903
|
processManufacturer(record) {
|
|
1901
1904
|
return new EsolveManufacturer(record);
|
|
1902
1905
|
}
|
|
1903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1904
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveManufacturersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1907
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1905
1908
|
}
|
|
1906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1907
1910
|
type: Injectable,
|
|
1908
1911
|
args: [{
|
|
1909
1912
|
providedIn: 'root',
|
|
@@ -2018,10 +2021,10 @@ class EsolveRangesService {
|
|
|
2018
2021
|
processRange(record) {
|
|
2019
2022
|
return new EsolveRange(record);
|
|
2020
2023
|
}
|
|
2021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2022
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveRangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2025
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
2023
2026
|
}
|
|
2024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
2025
2028
|
type: Injectable,
|
|
2026
2029
|
args: [{
|
|
2027
2030
|
providedIn: 'root',
|
|
@@ -2121,10 +2124,10 @@ class EsolveTagsService {
|
|
|
2121
2124
|
}
|
|
2122
2125
|
return tags;
|
|
2123
2126
|
}
|
|
2124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTagsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
2126
2129
|
}
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
2128
2131
|
type: Injectable,
|
|
2129
2132
|
args: [{
|
|
2130
2133
|
providedIn: 'root',
|
|
@@ -2181,10 +2184,10 @@ class EsolveTopicService {
|
|
|
2181
2184
|
}
|
|
2182
2185
|
return topics;
|
|
2183
2186
|
}
|
|
2184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2185
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTopicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2188
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
2186
2189
|
}
|
|
2187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
2188
2191
|
type: Injectable,
|
|
2189
2192
|
args: [{
|
|
2190
2193
|
providedIn: 'root',
|
|
@@ -2397,10 +2400,10 @@ class EsolveAssetsService {
|
|
|
2397
2400
|
const total = total_records;
|
|
2398
2401
|
return new EsolveList(assets, page, rows, total);
|
|
2399
2402
|
}
|
|
2400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2401
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAssetsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2404
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2402
2405
|
}
|
|
2403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2404
2407
|
type: Injectable,
|
|
2405
2408
|
args: [{
|
|
2406
2409
|
providedIn: 'root',
|
|
@@ -3190,15 +3193,15 @@ class EsolveCouponsService {
|
|
|
3190
3193
|
}
|
|
3191
3194
|
return coupons;
|
|
3192
3195
|
}
|
|
3193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3194
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCouponsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3197
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3195
3198
|
}
|
|
3196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3197
3200
|
type: Injectable,
|
|
3198
3201
|
args: [{
|
|
3199
3202
|
providedIn: 'root',
|
|
3200
3203
|
}]
|
|
3201
|
-
}], ctorParameters: ()
|
|
3204
|
+
}], ctorParameters: function () { return []; } });
|
|
3202
3205
|
|
|
3203
3206
|
// Classes
|
|
3204
3207
|
|
|
@@ -3422,15 +3425,15 @@ class EsolveVouchersService {
|
|
|
3422
3425
|
}
|
|
3423
3426
|
return vouchers;
|
|
3424
3427
|
}
|
|
3425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3426
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveVouchersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveVouchersService, providedIn: 'root' }); }
|
|
3427
3430
|
}
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveVouchersService, decorators: [{
|
|
3429
3432
|
type: Injectable,
|
|
3430
3433
|
args: [{
|
|
3431
3434
|
providedIn: 'root',
|
|
3432
3435
|
}]
|
|
3433
|
-
}], ctorParameters: ()
|
|
3436
|
+
}], ctorParameters: function () { return []; } });
|
|
3434
3437
|
|
|
3435
3438
|
// Classes
|
|
3436
3439
|
|
|
@@ -3716,10 +3719,10 @@ class EsolveCartService {
|
|
|
3716
3719
|
processCartTotals(record) {
|
|
3717
3720
|
return new EsolveCartTotals(record);
|
|
3718
3721
|
}
|
|
3719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3720
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3722
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3723
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3721
3724
|
}
|
|
3722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3723
3726
|
type: Injectable,
|
|
3724
3727
|
args: [{
|
|
3725
3728
|
providedIn: 'root',
|
|
@@ -4136,10 +4139,10 @@ class EsolveLocationsService {
|
|
|
4136
4139
|
processLocation(record) {
|
|
4137
4140
|
return new EsolveLocation(record);
|
|
4138
4141
|
}
|
|
4139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4140
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveLocationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
4141
4144
|
}
|
|
4142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
4143
4146
|
type: Injectable,
|
|
4144
4147
|
args: [{
|
|
4145
4148
|
providedIn: 'root',
|
|
@@ -4442,15 +4445,15 @@ class EsolveTransactionsService {
|
|
|
4442
4445
|
}
|
|
4443
4446
|
return transactions;
|
|
4444
4447
|
}
|
|
4445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4446
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTransactionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4449
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
4447
4450
|
}
|
|
4448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
4449
4452
|
type: Injectable,
|
|
4450
4453
|
args: [{
|
|
4451
4454
|
providedIn: 'root',
|
|
4452
4455
|
}]
|
|
4453
|
-
}], ctorParameters: ()
|
|
4456
|
+
}], ctorParameters: function () { return []; } });
|
|
4454
4457
|
|
|
4455
4458
|
class EsolveSessionShippingUpdateResult extends EsolveResponseResult {
|
|
4456
4459
|
constructor(response) {
|
|
@@ -4595,14 +4598,19 @@ class EsolveAccountService {
|
|
|
4595
4598
|
responseType: 'json',
|
|
4596
4599
|
observe: 'body',
|
|
4597
4600
|
})
|
|
4598
|
-
.pipe(map$1((http_response) => this.responseHandler.validateSingleHttpResponse(http_response, (response) => {
|
|
4601
|
+
.pipe(map$1((http_response) => this.responseHandler.validateSingleHttpResponse(http_response, (response, additional_data) => {
|
|
4599
4602
|
if (response.auto_login) {
|
|
4600
4603
|
const session_data = response.session_data;
|
|
4604
|
+
let token = '';
|
|
4605
|
+
if (!Array.isArray(additional_data)) {
|
|
4606
|
+
token = additional_data.key;
|
|
4607
|
+
}
|
|
4601
4608
|
this.sessionService.handleUpdateSession({
|
|
4602
4609
|
user_id: +response.esolve_id,
|
|
4603
4610
|
location_id: +session_data.location_id,
|
|
4604
4611
|
addresses_id: +session_data.addresses_id,
|
|
4605
4612
|
shipping_id: +session_data.shipping_id,
|
|
4613
|
+
token,
|
|
4606
4614
|
});
|
|
4607
4615
|
}
|
|
4608
4616
|
return new EsolveRegistrationResult(response);
|
|
@@ -4936,15 +4944,15 @@ class EsolveAccountService {
|
|
|
4936
4944
|
return new EsolveLocationUpdateResult(response);
|
|
4937
4945
|
})));
|
|
4938
4946
|
}
|
|
4939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4940
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4947
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAccountService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4948
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
4941
4949
|
}
|
|
4942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
4943
4951
|
type: Injectable,
|
|
4944
4952
|
args: [{
|
|
4945
4953
|
providedIn: 'root',
|
|
4946
4954
|
}]
|
|
4947
|
-
}], ctorParameters: ()
|
|
4955
|
+
}], ctorParameters: function () { return []; } });
|
|
4948
4956
|
|
|
4949
4957
|
class EsolveBanner {
|
|
4950
4958
|
constructor(id, banner_display_container, identifier, type, title, sub_title, catch_phrase, background_colour, button_caption, article, sort_priority, link, images) {
|
|
@@ -5079,10 +5087,10 @@ class EsolveBannerService {
|
|
|
5079
5087
|
}
|
|
5080
5088
|
return banners;
|
|
5081
5089
|
}
|
|
5082
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5083
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5090
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveBannerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5091
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
5084
5092
|
}
|
|
5085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
5086
5094
|
type: Injectable,
|
|
5087
5095
|
args: [{
|
|
5088
5096
|
providedIn: 'root',
|
|
@@ -5147,10 +5155,10 @@ class EsolveMenuService {
|
|
|
5147
5155
|
}
|
|
5148
5156
|
return menu;
|
|
5149
5157
|
}
|
|
5150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5151
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5159
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
5152
5160
|
}
|
|
5153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
5154
5162
|
type: Injectable,
|
|
5155
5163
|
args: [{
|
|
5156
5164
|
providedIn: 'root',
|
|
@@ -5385,10 +5393,10 @@ class EsolveNewsService {
|
|
|
5385
5393
|
return this.errorHandler.handleHttpPostError('set-newsletter', errorRes);
|
|
5386
5394
|
}));
|
|
5387
5395
|
}
|
|
5388
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5389
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveNewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5397
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
5390
5398
|
}
|
|
5391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
5392
5400
|
type: Injectable,
|
|
5393
5401
|
args: [{
|
|
5394
5402
|
providedIn: 'root',
|
|
@@ -5795,6 +5803,8 @@ class EsolveStockItemBase {
|
|
|
5795
5803
|
const total_quote_qty = +(record.total_quote_qty ?? 0);
|
|
5796
5804
|
this.history = new EsolveStockTransactionHistory(total_order_qty, total_quote_qty);
|
|
5797
5805
|
}
|
|
5806
|
+
this.video_embed = record.video_embed;
|
|
5807
|
+
this.three_d_embed = record.three_d_embed;
|
|
5798
5808
|
seo_title = record.seo_page_title ?? '';
|
|
5799
5809
|
seo_keywords = record.seo_keywords ?? '';
|
|
5800
5810
|
}
|
|
@@ -6422,10 +6432,10 @@ class EsolveStockService {
|
|
|
6422
6432
|
return this.errorHandler.handleHttpPostError('set-notify', errorRes);
|
|
6423
6433
|
}));
|
|
6424
6434
|
}
|
|
6425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6426
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveStockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6436
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
6427
6437
|
}
|
|
6428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
6429
6439
|
type: Injectable,
|
|
6430
6440
|
args: [{
|
|
6431
6441
|
providedIn: 'root',
|
|
@@ -6569,10 +6579,10 @@ class EsolveSpecialsService {
|
|
|
6569
6579
|
processSpecial(record) {
|
|
6570
6580
|
return new EsolveSpecial(record);
|
|
6571
6581
|
}
|
|
6572
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6573
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSpecialsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6583
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
6574
6584
|
}
|
|
6575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
6576
6586
|
type: Injectable,
|
|
6577
6587
|
args: [{
|
|
6578
6588
|
providedIn: 'root',
|
|
@@ -7009,10 +7019,10 @@ class EsolvePaymentService {
|
|
|
7009
7019
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
7010
7020
|
return `${month_string}${year_string}`;
|
|
7011
7021
|
}
|
|
7012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7013
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolvePaymentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7023
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
7014
7024
|
}
|
|
7015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
7016
7026
|
type: Injectable,
|
|
7017
7027
|
args: [{
|
|
7018
7028
|
providedIn: 'root',
|
|
@@ -7284,10 +7294,10 @@ class EsolveShippingService {
|
|
|
7284
7294
|
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);
|
|
7285
7295
|
return shipping_cost;
|
|
7286
7296
|
}
|
|
7287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7288
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveShippingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7298
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
7289
7299
|
}
|
|
7290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
7291
7301
|
type: Injectable,
|
|
7292
7302
|
args: [{
|
|
7293
7303
|
providedIn: 'root',
|
|
@@ -7322,10 +7332,10 @@ class EsolveEnquiryService {
|
|
|
7322
7332
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
7323
7333
|
}));
|
|
7324
7334
|
}
|
|
7325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveEnquiryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7336
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
7327
7337
|
}
|
|
7328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
7329
7339
|
type: Injectable,
|
|
7330
7340
|
args: [{
|
|
7331
7341
|
providedIn: 'root',
|
|
@@ -7443,10 +7453,10 @@ class EsolveWishlistService {
|
|
|
7443
7453
|
getWishlistRecords(params) {
|
|
7444
7454
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
7445
7455
|
}
|
|
7446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7447
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7456
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWishlistService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7457
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
7448
7458
|
}
|
|
7449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
7450
7460
|
type: Injectable,
|
|
7451
7461
|
args: [{
|
|
7452
7462
|
providedIn: 'root',
|
|
@@ -7517,10 +7527,10 @@ class EsolveSuppliersService {
|
|
|
7517
7527
|
processSuppliers(record) {
|
|
7518
7528
|
return new EsolveSupplier(record);
|
|
7519
7529
|
}
|
|
7520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7521
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSuppliersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7531
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
7522
7532
|
}
|
|
7523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
7524
7534
|
type: Injectable,
|
|
7525
7535
|
args: [{
|
|
7526
7536
|
providedIn: 'root',
|
|
@@ -7615,10 +7625,10 @@ class EsolveDeviceService {
|
|
|
7615
7625
|
processDevice(record) {
|
|
7616
7626
|
return new EsolveUserDevice(record);
|
|
7617
7627
|
}
|
|
7618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7619
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7629
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeviceService, providedIn: 'root' }); }
|
|
7620
7630
|
}
|
|
7621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeviceService, decorators: [{
|
|
7622
7632
|
type: Injectable,
|
|
7623
7633
|
args: [{
|
|
7624
7634
|
providedIn: 'root',
|
|
@@ -7762,15 +7772,15 @@ class EsolveWalletService {
|
|
|
7762
7772
|
}
|
|
7763
7773
|
return transactions;
|
|
7764
7774
|
}
|
|
7765
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7766
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWalletService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7776
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWalletService, providedIn: 'root' }); }
|
|
7767
7777
|
}
|
|
7768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveWalletService, decorators: [{
|
|
7769
7779
|
type: Injectable,
|
|
7770
7780
|
args: [{
|
|
7771
7781
|
providedIn: 'root',
|
|
7772
7782
|
}]
|
|
7773
|
-
}], ctorParameters: ()
|
|
7783
|
+
}], ctorParameters: function () { return []; } });
|
|
7774
7784
|
|
|
7775
7785
|
class EsolveDelivery {
|
|
7776
7786
|
constructor(record) {
|
|
@@ -7934,10 +7944,10 @@ class EsolveDeliveriesService {
|
|
|
7934
7944
|
processDelivery(record) {
|
|
7935
7945
|
return new EsolveDelivery(record);
|
|
7936
7946
|
}
|
|
7937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7938
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7947
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeliveriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7948
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeliveriesService, providedIn: 'root' }); }
|
|
7939
7949
|
}
|
|
7940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveDeliveriesService, decorators: [{
|
|
7941
7951
|
type: Injectable,
|
|
7942
7952
|
args: [{
|
|
7943
7953
|
providedIn: 'root',
|
|
@@ -8051,6 +8061,10 @@ class EsolveCompetition {
|
|
|
8051
8061
|
* List of competition winners
|
|
8052
8062
|
*/
|
|
8053
8063
|
this.winners = [];
|
|
8064
|
+
/**
|
|
8065
|
+
* Display a count down timer
|
|
8066
|
+
*/
|
|
8067
|
+
this.display_timer = false;
|
|
8054
8068
|
if (record) {
|
|
8055
8069
|
this.id = +(record.id ?? 0);
|
|
8056
8070
|
this.identifier = record.identifier ?? '';
|
|
@@ -8074,6 +8088,7 @@ class EsolveCompetition {
|
|
|
8074
8088
|
this.require_video = !!+(record.video_attachment ?? false);
|
|
8075
8089
|
this.require_image = !!+(record.image_attachment ?? false);
|
|
8076
8090
|
this.require_text = !!+(record.text ?? false);
|
|
8091
|
+
this.display_timer = !!+(record.display_timer ?? false);
|
|
8077
8092
|
const winners = record.winners;
|
|
8078
8093
|
if (winners && winners.length > 0) {
|
|
8079
8094
|
for (const winner of winners) {
|
|
@@ -8189,10 +8204,10 @@ class EsolveCompetitionsService {
|
|
|
8189
8204
|
processCompetition(record) {
|
|
8190
8205
|
return new EsolveCompetition(record);
|
|
8191
8206
|
}
|
|
8192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8193
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8207
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCompetitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8208
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCompetitionsService, providedIn: 'root' }); }
|
|
8194
8209
|
}
|
|
8195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: EsolveCompetitionsService, decorators: [{
|
|
8196
8211
|
type: Injectable,
|
|
8197
8212
|
args: [{
|
|
8198
8213
|
providedIn: 'root',
|