@esolve/ng-esolve-connect 0.106.0 → 0.107.1
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/index.mjs +3 -1
- package/esm2022/lib/account/esolve-account.service.mjs +16 -6
- package/esm2022/lib/albums/services/esolve-albums.service.mjs +3 -3
- 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 +6 -4
- package/esm2022/lib/auth/esolve-otp.service.mjs +9 -5
- package/esm2022/lib/banners/esolve-banner.service.mjs +3 -3
- package/esm2022/lib/captcha/classes/esolve-captcha.model.mjs +11 -0
- package/esm2022/lib/captcha/classes/index.mjs +2 -0
- package/esm2022/lib/captcha/esolve-captcha.service.mjs +44 -0
- package/esm2022/lib/captcha/index.mjs +5 -0
- package/esm2022/lib/captcha/interfaces/esolve-captcha-options.interface.mjs +2 -0
- package/esm2022/lib/captcha/interfaces/esolve-captcha-record.interface.mjs +2 -0
- package/esm2022/lib/captcha/interfaces/index.mjs +3 -0
- package/esm2022/lib/captcha/types/esolve-captcha-action.type.mjs +2 -0
- package/esm2022/lib/captcha/types/index.mjs +2 -0
- package/esm2022/lib/cart/classes/esolve-cart-totals.model.mjs +5 -3
- package/esm2022/lib/cart/esolve-cart.service.mjs +3 -3
- package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +3 -3
- package/esm2022/lib/competitions/services/esolve-competitions.service.mjs +3 -3
- package/esm2022/lib/core/esolve-config.service.mjs +3 -3
- package/esm2022/lib/coupons/esolve-coupons.service.mjs +6 -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 +3 -3
- 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/reviews/services/esolve-reviews.service.mjs +3 -3
- package/esm2022/lib/seo/esolve-seo.service.mjs +3 -3
- package/esm2022/lib/session/esolve-session-metadata.service.mjs +3 -3
- package/esm2022/lib/session/esolve-session.service.mjs +3 -3
- package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +3 -3
- package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +3 -3
- package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +3 -3
- package/esm2022/lib/shipping/esolve-shipping.service.mjs +3 -3
- package/esm2022/lib/specials/esolve-specials.service.mjs +3 -3
- package/esm2022/lib/stock/esolve-stock.service.mjs +3 -3
- 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/classes/esolve-transaction.model.mjs +3 -1
- package/esm2022/lib/transactions/esolve-transactions.service.mjs +3 -3
- package/esm2022/lib/transactions/interfaces/esolve-transaction-record.interface.mjs +1 -1
- package/esm2022/lib/vouchers/esolve-vouchers.service.mjs +6 -4
- package/esm2022/lib/wallet/esolve-wallet.service.mjs +3 -3
- 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 +3 -3
- 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 +16 -16
- 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 +203 -130
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/account/esolve-account.service.d.ts +2 -1
- package/lib/auth/esolve-otp.service.d.ts +2 -1
- package/lib/captcha/classes/esolve-captcha.model.d.ts +6 -0
- package/lib/captcha/classes/index.d.ts +1 -0
- package/lib/captcha/esolve-captcha.service.d.ts +18 -0
- package/lib/captcha/index.d.ts +4 -0
- package/lib/captcha/interfaces/esolve-captcha-options.interface.d.ts +4 -0
- package/lib/captcha/interfaces/esolve-captcha-record.interface.d.ts +4 -0
- package/lib/captcha/interfaces/index.d.ts +2 -0
- package/lib/captcha/types/esolve-captcha-action.type.d.ts +1 -0
- package/lib/captcha/types/index.d.ts +1 -0
- package/lib/transactions/classes/esolve-transaction.model.d.ts +2 -0
- package/lib/transactions/interfaces/esolve-transaction-record.interface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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: "18.2.
|
|
59
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
59
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", 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: "18.2.
|
|
85
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
84
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCookieService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
85
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", 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: "18.2.
|
|
189
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
192
192
|
type: Injectable,
|
|
193
193
|
args: [{
|
|
194
194
|
providedIn: 'root',
|
|
@@ -462,10 +462,10 @@ class EsolveResponseHandlerService {
|
|
|
462
462
|
}
|
|
463
463
|
return resultHandler(response, http_response.additional_data);
|
|
464
464
|
}
|
|
465
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
466
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
465
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
466
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
467
467
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
469
469
|
type: Injectable,
|
|
470
470
|
args: [{
|
|
471
471
|
providedIn: 'root',
|
|
@@ -741,10 +741,10 @@ class EsolveSessionService {
|
|
|
741
741
|
}
|
|
742
742
|
localStorage.removeItem(this.storage_key);
|
|
743
743
|
}
|
|
744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
745
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
744
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
745
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
746
746
|
}
|
|
747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
748
748
|
type: Injectable,
|
|
749
749
|
args: [{
|
|
750
750
|
providedIn: 'root',
|
|
@@ -804,10 +804,10 @@ class EsolveSessionMetadataService {
|
|
|
804
804
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
805
805
|
}));
|
|
806
806
|
}
|
|
807
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
808
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionMetadataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
808
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
809
809
|
}
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
811
811
|
type: Injectable,
|
|
812
812
|
args: [{
|
|
813
813
|
providedIn: 'root',
|
|
@@ -995,6 +995,7 @@ class EsolveAuthService {
|
|
|
995
995
|
valid = true;
|
|
996
996
|
}
|
|
997
997
|
catch (error) {
|
|
998
|
+
console.error(error);
|
|
998
999
|
this.session.reset();
|
|
999
1000
|
}
|
|
1000
1001
|
return valid;
|
|
@@ -1043,6 +1044,7 @@ class EsolveAuthService {
|
|
|
1043
1044
|
return result;
|
|
1044
1045
|
}
|
|
1045
1046
|
catch (error) {
|
|
1047
|
+
console.error(error);
|
|
1046
1048
|
this.session.reset();
|
|
1047
1049
|
}
|
|
1048
1050
|
return null;
|
|
@@ -1081,10 +1083,10 @@ class EsolveAuthService {
|
|
|
1081
1083
|
}
|
|
1082
1084
|
return throwError(() => error);
|
|
1083
1085
|
}
|
|
1084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1085
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1086
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1087
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
1086
1088
|
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
1088
1090
|
type: Injectable,
|
|
1089
1091
|
args: [{
|
|
1090
1092
|
providedIn: 'root',
|
|
@@ -1122,10 +1124,10 @@ class EsolveAuthInterceptorService {
|
|
|
1122
1124
|
}
|
|
1123
1125
|
return next.handle(req);
|
|
1124
1126
|
}
|
|
1125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1126
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthInterceptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
1127
1129
|
}
|
|
1128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
1129
1131
|
type: Injectable
|
|
1130
1132
|
}] });
|
|
1131
1133
|
|
|
@@ -1169,11 +1171,15 @@ class EsolveOtpService {
|
|
|
1169
1171
|
this.http = inject(HttpClient);
|
|
1170
1172
|
this.auth = inject(EsolveAuthService);
|
|
1171
1173
|
}
|
|
1172
|
-
getOtp(recipient_number) {
|
|
1174
|
+
getOtp(recipient_number, captcha_options) {
|
|
1173
1175
|
let params = new HttpParams();
|
|
1174
1176
|
if (recipient_number) {
|
|
1175
1177
|
params = params.set('recipient_number', recipient_number);
|
|
1176
1178
|
}
|
|
1179
|
+
if (captcha_options) {
|
|
1180
|
+
params = params.set('captcha_key', captcha_options.captcha_key);
|
|
1181
|
+
params = params.set('captcha_code', captcha_options.captcha_code);
|
|
1182
|
+
}
|
|
1177
1183
|
try {
|
|
1178
1184
|
return this.http
|
|
1179
1185
|
.get(`${this.config.api_url}/get-otp.php`, { params })
|
|
@@ -1218,10 +1224,10 @@ class EsolveOtpService {
|
|
|
1218
1224
|
return throwError(() => error);
|
|
1219
1225
|
}
|
|
1220
1226
|
}
|
|
1221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1222
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveOtpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1228
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveOtpService, providedIn: 'root' }); }
|
|
1223
1229
|
}
|
|
1224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveOtpService, decorators: [{
|
|
1225
1231
|
type: Injectable,
|
|
1226
1232
|
args: [{
|
|
1227
1233
|
providedIn: 'root',
|
|
@@ -1265,11 +1271,11 @@ class NgEsolveConnectModule {
|
|
|
1265
1271
|
providers: provideNgEsolveConnect(config, auto_login),
|
|
1266
1272
|
};
|
|
1267
1273
|
}
|
|
1268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1269
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
1270
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
1274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1275
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule] }); }
|
|
1276
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgEsolveConnectModule, providers: [provideHttpClient(withInterceptorsFromDi())], imports: [CommonModule] }); }
|
|
1271
1277
|
}
|
|
1272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
1273
1279
|
type: NgModule,
|
|
1274
1280
|
args: [{
|
|
1275
1281
|
imports: [CommonModule],
|
|
@@ -1390,10 +1396,10 @@ class EsolveCdnSrcDirective {
|
|
|
1390
1396
|
isImage(el) {
|
|
1391
1397
|
return 'loading' in this.el.nativeElement;
|
|
1392
1398
|
}
|
|
1393
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1394
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
|
1399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCdnSrcDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1400
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1395
1401
|
}
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
1397
1403
|
type: Directive,
|
|
1398
1404
|
args: [{
|
|
1399
1405
|
selector: '[eslvCdnSrc]',
|
|
@@ -1515,10 +1521,10 @@ class EsolveSeoService {
|
|
|
1515
1521
|
}
|
|
1516
1522
|
return pageSeo;
|
|
1517
1523
|
}
|
|
1518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1519
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSeoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1525
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1520
1526
|
}
|
|
1521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1522
1528
|
type: Injectable,
|
|
1523
1529
|
args: [{
|
|
1524
1530
|
providedIn: 'root',
|
|
@@ -1605,10 +1611,10 @@ class EsolveGeocoderService {
|
|
|
1605
1611
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1606
1612
|
return geocode_result;
|
|
1607
1613
|
}
|
|
1608
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1609
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveGeocoderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1615
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1610
1616
|
}
|
|
1611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1612
1618
|
type: Injectable,
|
|
1613
1619
|
args: [{
|
|
1614
1620
|
providedIn: 'root',
|
|
@@ -1827,10 +1833,10 @@ class EsolveCategoryTreeService {
|
|
|
1827
1833
|
}
|
|
1828
1834
|
return null;
|
|
1829
1835
|
}
|
|
1830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1831
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1836
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCategoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1837
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1832
1838
|
}
|
|
1833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1834
1840
|
type: Injectable,
|
|
1835
1841
|
args: [{
|
|
1836
1842
|
providedIn: 'root',
|
|
@@ -1951,10 +1957,10 @@ class EsolveManufacturersService {
|
|
|
1951
1957
|
processManufacturer(record) {
|
|
1952
1958
|
return new EsolveManufacturer(record);
|
|
1953
1959
|
}
|
|
1954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
1955
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
1960
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveManufacturersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1961
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1956
1962
|
}
|
|
1957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
1963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1958
1964
|
type: Injectable,
|
|
1959
1965
|
args: [{
|
|
1960
1966
|
providedIn: 'root',
|
|
@@ -2071,10 +2077,10 @@ class EsolveRangesService {
|
|
|
2071
2077
|
processRange(record) {
|
|
2072
2078
|
return new EsolveRange(record);
|
|
2073
2079
|
}
|
|
2074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2075
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2080
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveRangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2081
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
2076
2082
|
}
|
|
2077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
2078
2084
|
type: Injectable,
|
|
2079
2085
|
args: [{
|
|
2080
2086
|
providedIn: 'root',
|
|
@@ -2175,10 +2181,10 @@ class EsolveTagsService {
|
|
|
2175
2181
|
}
|
|
2176
2182
|
return tags;
|
|
2177
2183
|
}
|
|
2178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTagsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2185
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
2180
2186
|
}
|
|
2181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
2182
2188
|
type: Injectable,
|
|
2183
2189
|
args: [{
|
|
2184
2190
|
providedIn: 'root',
|
|
@@ -2237,10 +2243,10 @@ class EsolveTopicService {
|
|
|
2237
2243
|
}
|
|
2238
2244
|
return topics;
|
|
2239
2245
|
}
|
|
2240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2241
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTopicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
2242
2248
|
}
|
|
2243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
2244
2250
|
type: Injectable,
|
|
2245
2251
|
args: [{
|
|
2246
2252
|
providedIn: 'root',
|
|
@@ -2455,10 +2461,10 @@ class EsolveAssetsService {
|
|
|
2455
2461
|
const total = total_records;
|
|
2456
2462
|
return new EsolveList(assets, page, rows, total);
|
|
2457
2463
|
}
|
|
2458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2459
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2464
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAssetsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2465
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2460
2466
|
}
|
|
2461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2462
2468
|
type: Injectable,
|
|
2463
2469
|
args: [{
|
|
2464
2470
|
providedIn: 'root',
|
|
@@ -2940,10 +2946,12 @@ class EsolveCartTotals {
|
|
|
2940
2946
|
* (NOTE: shipping and insurance is not included)
|
|
2941
2947
|
*/
|
|
2942
2948
|
get total() {
|
|
2943
|
-
|
|
2949
|
+
const total = this.sub_total +
|
|
2944
2950
|
this.vat_total -
|
|
2945
2951
|
this.discount_total -
|
|
2946
|
-
this.voucher_total
|
|
2952
|
+
this.voucher_total;
|
|
2953
|
+
// Total can be negative if applied voucher total is greater than cart total
|
|
2954
|
+
return total > 0 ? total : 0;
|
|
2947
2955
|
}
|
|
2948
2956
|
get discount_total_incl() {
|
|
2949
2957
|
return this.discount_total + this.tax.discount;
|
|
@@ -3187,6 +3195,7 @@ class EsolveCouponsService {
|
|
|
3187
3195
|
return result.valid;
|
|
3188
3196
|
}
|
|
3189
3197
|
catch (error) {
|
|
3198
|
+
console.error(error);
|
|
3190
3199
|
return false;
|
|
3191
3200
|
}
|
|
3192
3201
|
}
|
|
@@ -3229,6 +3238,7 @@ class EsolveCouponsService {
|
|
|
3229
3238
|
return this.jsonDecodeMap(coupons_json);
|
|
3230
3239
|
}
|
|
3231
3240
|
catch (error) {
|
|
3241
|
+
console.error(error);
|
|
3232
3242
|
// soft error
|
|
3233
3243
|
}
|
|
3234
3244
|
}
|
|
@@ -3329,10 +3339,10 @@ class EsolveCouponsService {
|
|
|
3329
3339
|
}
|
|
3330
3340
|
return coupons;
|
|
3331
3341
|
}
|
|
3332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
3333
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
3342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCouponsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3334
3344
|
}
|
|
3335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
3345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3336
3346
|
type: Injectable,
|
|
3337
3347
|
args: [{
|
|
3338
3348
|
providedIn: 'root',
|
|
@@ -3419,6 +3429,7 @@ class EsolveVouchersService {
|
|
|
3419
3429
|
return result.valid;
|
|
3420
3430
|
}
|
|
3421
3431
|
catch (error) {
|
|
3432
|
+
console.error(error);
|
|
3422
3433
|
return false;
|
|
3423
3434
|
}
|
|
3424
3435
|
}
|
|
@@ -3461,6 +3472,7 @@ class EsolveVouchersService {
|
|
|
3461
3472
|
return this.jsonDecodeMap(vouchers_json);
|
|
3462
3473
|
}
|
|
3463
3474
|
catch (error) {
|
|
3475
|
+
console.error(error);
|
|
3464
3476
|
// soft error
|
|
3465
3477
|
}
|
|
3466
3478
|
}
|
|
@@ -3561,10 +3573,10 @@ class EsolveVouchersService {
|
|
|
3561
3573
|
}
|
|
3562
3574
|
return vouchers;
|
|
3563
3575
|
}
|
|
3564
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
3565
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
3576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveVouchersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveVouchersService, providedIn: 'root' }); }
|
|
3566
3578
|
}
|
|
3567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
3579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveVouchersService, decorators: [{
|
|
3568
3580
|
type: Injectable,
|
|
3569
3581
|
args: [{
|
|
3570
3582
|
providedIn: 'root',
|
|
@@ -3859,10 +3871,10 @@ class EsolveCartService {
|
|
|
3859
3871
|
processCartTotals(record) {
|
|
3860
3872
|
return new EsolveCartTotals(record);
|
|
3861
3873
|
}
|
|
3862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
3863
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
3874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3864
3876
|
}
|
|
3865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
3877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3866
3878
|
type: Injectable,
|
|
3867
3879
|
args: [{
|
|
3868
3880
|
providedIn: 'root',
|
|
@@ -4289,10 +4301,10 @@ class EsolveLocationsService {
|
|
|
4289
4301
|
processLocation(record) {
|
|
4290
4302
|
return new EsolveLocation(record);
|
|
4291
4303
|
}
|
|
4292
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4293
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveLocationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
4294
4306
|
}
|
|
4295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
4296
4308
|
type: Injectable,
|
|
4297
4309
|
args: [{
|
|
4298
4310
|
providedIn: 'root',
|
|
@@ -4399,8 +4411,10 @@ class EsolveTransaction {
|
|
|
4399
4411
|
this.comment = record.comment ?? '';
|
|
4400
4412
|
this.loyalty_number = record.loyaltynumber;
|
|
4401
4413
|
this.external_order_number = record.external_order_number;
|
|
4414
|
+
this.external_order_total = +(record.external_order_total ?? 0);
|
|
4402
4415
|
this.external_invoice_number = record.external_invoice_number;
|
|
4403
4416
|
this.purchase_order_number = record.purchase_order_number;
|
|
4417
|
+
this.waybill_number = record.waybill_number ?? '';
|
|
4404
4418
|
this.date = new Date(+record.txdate_timestamp * 1000);
|
|
4405
4419
|
this.expected_date = new Date(+record.expected_date_timestamp * 1000);
|
|
4406
4420
|
this.invoice_amount = +record.invoice_amount;
|
|
@@ -4608,10 +4622,10 @@ class EsolveTransactionsService {
|
|
|
4608
4622
|
}
|
|
4609
4623
|
return transactions;
|
|
4610
4624
|
}
|
|
4611
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4612
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTransactionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4626
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
4613
4627
|
}
|
|
4614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
4615
4629
|
type: Injectable,
|
|
4616
4630
|
args: [{
|
|
4617
4631
|
providedIn: 'root',
|
|
@@ -4862,10 +4876,19 @@ class EsolveAccountService {
|
|
|
4862
4876
|
return this.errorHandler.handleHttpPostError('set-account-confirmation', errorRes);
|
|
4863
4877
|
}));
|
|
4864
4878
|
}
|
|
4865
|
-
sendForgotPasswordRequest(email) {
|
|
4879
|
+
sendForgotPasswordRequest(email, captcha_options) {
|
|
4880
|
+
let params = new HttpParams({
|
|
4881
|
+
fromObject: {
|
|
4882
|
+
email,
|
|
4883
|
+
},
|
|
4884
|
+
});
|
|
4885
|
+
if (captcha_options) {
|
|
4886
|
+
params = params.set('captcha_key', captcha_options.captcha_key);
|
|
4887
|
+
params = params.set('captcha_code', captcha_options.captcha_code);
|
|
4888
|
+
}
|
|
4866
4889
|
return this.http
|
|
4867
4890
|
.get(`${this.config.api_url}/get-forgot-password.php`, {
|
|
4868
|
-
params
|
|
4891
|
+
params,
|
|
4869
4892
|
})
|
|
4870
4893
|
.pipe(map((response) => {
|
|
4871
4894
|
if (response.records === undefined ||
|
|
@@ -5092,6 +5115,7 @@ class EsolveAccountService {
|
|
|
5092
5115
|
return `${base_url}?${query_string}`;
|
|
5093
5116
|
}
|
|
5094
5117
|
catch (error) {
|
|
5118
|
+
console.error(error);
|
|
5095
5119
|
return '';
|
|
5096
5120
|
}
|
|
5097
5121
|
}
|
|
@@ -5215,10 +5239,10 @@ class EsolveAccountService {
|
|
|
5215
5239
|
}
|
|
5216
5240
|
return requests;
|
|
5217
5241
|
}
|
|
5218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5219
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAccountService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5243
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
5220
5244
|
}
|
|
5221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
5222
5246
|
type: Injectable,
|
|
5223
5247
|
args: [{
|
|
5224
5248
|
providedIn: 'root',
|
|
@@ -5360,10 +5384,10 @@ class EsolveBannerService {
|
|
|
5360
5384
|
}
|
|
5361
5385
|
return banners;
|
|
5362
5386
|
}
|
|
5363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5364
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5387
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveBannerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5388
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
5365
5389
|
}
|
|
5366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
5367
5391
|
type: Injectable,
|
|
5368
5392
|
args: [{
|
|
5369
5393
|
providedIn: 'root',
|
|
@@ -5430,10 +5454,10 @@ class EsolveMenuService {
|
|
|
5430
5454
|
}
|
|
5431
5455
|
return menu;
|
|
5432
5456
|
}
|
|
5433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5434
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5457
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5458
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
5435
5459
|
}
|
|
5436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
5437
5461
|
type: Injectable,
|
|
5438
5462
|
args: [{
|
|
5439
5463
|
providedIn: 'root',
|
|
@@ -5668,10 +5692,10 @@ class EsolveNewsService {
|
|
|
5668
5692
|
return this.errorHandler.handleHttpPostError('set-newsletter', errorRes);
|
|
5669
5693
|
}));
|
|
5670
5694
|
}
|
|
5671
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5672
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5695
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveNewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5696
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
5673
5697
|
}
|
|
5674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
5675
5699
|
type: Injectable,
|
|
5676
5700
|
args: [{
|
|
5677
5701
|
providedIn: 'root',
|
|
@@ -6807,10 +6831,10 @@ class EsolveStockService {
|
|
|
6807
6831
|
return this.errorHandler.handleHttpPostError('set-notify', errorRes);
|
|
6808
6832
|
}));
|
|
6809
6833
|
}
|
|
6810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6811
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6834
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveStockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6835
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
6812
6836
|
}
|
|
6813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
6814
6838
|
type: Injectable,
|
|
6815
6839
|
args: [{
|
|
6816
6840
|
providedIn: 'root',
|
|
@@ -6954,10 +6978,10 @@ class EsolveSpecialsService {
|
|
|
6954
6978
|
processSpecial(record) {
|
|
6955
6979
|
return new EsolveSpecial(record);
|
|
6956
6980
|
}
|
|
6957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6958
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSpecialsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6982
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
6959
6983
|
}
|
|
6960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
6961
6985
|
type: Injectable,
|
|
6962
6986
|
args: [{
|
|
6963
6987
|
providedIn: 'root',
|
|
@@ -7408,10 +7432,10 @@ class EsolvePaymentService {
|
|
|
7408
7432
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
7409
7433
|
return `${month_string}${year_string}`;
|
|
7410
7434
|
}
|
|
7411
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7412
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
7435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolvePaymentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7436
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
7413
7437
|
}
|
|
7414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
7415
7439
|
type: Injectable,
|
|
7416
7440
|
args: [{
|
|
7417
7441
|
providedIn: 'root',
|
|
@@ -7684,10 +7708,10 @@ class EsolveShippingService {
|
|
|
7684
7708
|
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);
|
|
7685
7709
|
return shipping_cost;
|
|
7686
7710
|
}
|
|
7687
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7688
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
7711
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveShippingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7712
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
7689
7713
|
}
|
|
7690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
7691
7715
|
type: Injectable,
|
|
7692
7716
|
args: [{
|
|
7693
7717
|
providedIn: 'root',
|
|
@@ -7722,10 +7746,10 @@ class EsolveEnquiryService {
|
|
|
7722
7746
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
7723
7747
|
}));
|
|
7724
7748
|
}
|
|
7725
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7726
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
7749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveEnquiryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7750
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
7727
7751
|
}
|
|
7728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
7729
7753
|
type: Injectable,
|
|
7730
7754
|
args: [{
|
|
7731
7755
|
providedIn: 'root',
|
|
@@ -7843,10 +7867,10 @@ class EsolveWishlistService {
|
|
|
7843
7867
|
getWishlistRecords(params) {
|
|
7844
7868
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
7845
7869
|
}
|
|
7846
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7847
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
7870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWishlistService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7871
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
7848
7872
|
}
|
|
7849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
7850
7874
|
type: Injectable,
|
|
7851
7875
|
args: [{
|
|
7852
7876
|
providedIn: 'root',
|
|
@@ -7919,10 +7943,10 @@ class EsolveSuppliersService {
|
|
|
7919
7943
|
processSuppliers(record) {
|
|
7920
7944
|
return new EsolveSupplier(record);
|
|
7921
7945
|
}
|
|
7922
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7923
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
7946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSuppliersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7947
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
7924
7948
|
}
|
|
7925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
7926
7950
|
type: Injectable,
|
|
7927
7951
|
args: [{
|
|
7928
7952
|
providedIn: 'root',
|
|
@@ -8017,10 +8041,10 @@ class EsolveDeviceService {
|
|
|
8017
8041
|
processDevice(record) {
|
|
8018
8042
|
return new EsolveUserDevice(record);
|
|
8019
8043
|
}
|
|
8020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8021
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
8044
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8045
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeviceService, providedIn: 'root' }); }
|
|
8022
8046
|
}
|
|
8023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
8047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeviceService, decorators: [{
|
|
8024
8048
|
type: Injectable,
|
|
8025
8049
|
args: [{
|
|
8026
8050
|
providedIn: 'root',
|
|
@@ -8186,10 +8210,10 @@ class EsolveWalletService {
|
|
|
8186
8210
|
}
|
|
8187
8211
|
return transactions;
|
|
8188
8212
|
}
|
|
8189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8190
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
8213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWalletService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWalletService, providedIn: 'root' }); }
|
|
8191
8215
|
}
|
|
8192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
8216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveWalletService, decorators: [{
|
|
8193
8217
|
type: Injectable,
|
|
8194
8218
|
args: [{
|
|
8195
8219
|
providedIn: 'root',
|
|
@@ -8369,10 +8393,10 @@ class EsolveDeliveriesService {
|
|
|
8369
8393
|
}
|
|
8370
8394
|
return deliveries;
|
|
8371
8395
|
}
|
|
8372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
8396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeliveriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8397
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeliveriesService, providedIn: 'root' }); }
|
|
8374
8398
|
}
|
|
8375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
8399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveDeliveriesService, decorators: [{
|
|
8376
8400
|
type: Injectable,
|
|
8377
8401
|
args: [{
|
|
8378
8402
|
providedIn: 'root',
|
|
@@ -8631,10 +8655,10 @@ class EsolveCompetitionsService {
|
|
|
8631
8655
|
processCompetition(record) {
|
|
8632
8656
|
return new EsolveCompetition(record);
|
|
8633
8657
|
}
|
|
8634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8635
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
8658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCompetitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8659
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCompetitionsService, providedIn: 'root' }); }
|
|
8636
8660
|
}
|
|
8637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
8661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCompetitionsService, decorators: [{
|
|
8638
8662
|
type: Injectable,
|
|
8639
8663
|
args: [{
|
|
8640
8664
|
providedIn: 'root',
|
|
@@ -8796,10 +8820,10 @@ class EsolveReviewsService {
|
|
|
8796
8820
|
}
|
|
8797
8821
|
return reviews;
|
|
8798
8822
|
}
|
|
8799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8800
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
8823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveReviewsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8824
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveReviewsService, providedIn: 'root' }); }
|
|
8801
8825
|
}
|
|
8802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
8826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveReviewsService, decorators: [{
|
|
8803
8827
|
type: Injectable,
|
|
8804
8828
|
args: [{
|
|
8805
8829
|
providedIn: 'root',
|
|
@@ -9021,10 +9045,59 @@ class EsolveAlbumsService {
|
|
|
9021
9045
|
}
|
|
9022
9046
|
return album_images;
|
|
9023
9047
|
}
|
|
9024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
9025
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
9048
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAlbumsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9049
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAlbumsService, providedIn: 'root' }); }
|
|
9050
|
+
}
|
|
9051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveAlbumsService, decorators: [{
|
|
9052
|
+
type: Injectable,
|
|
9053
|
+
args: [{
|
|
9054
|
+
providedIn: 'root',
|
|
9055
|
+
}]
|
|
9056
|
+
}] });
|
|
9057
|
+
|
|
9058
|
+
class EsolveCaptcha {
|
|
9059
|
+
constructor(record) {
|
|
9060
|
+
this.key = '';
|
|
9061
|
+
this.image_uri = '';
|
|
9062
|
+
if (record) {
|
|
9063
|
+
this.key = record.captcha_key ?? '';
|
|
9064
|
+
this.image_uri = record.image_uri ?? '';
|
|
9065
|
+
}
|
|
9066
|
+
}
|
|
9067
|
+
}
|
|
9068
|
+
|
|
9069
|
+
class EsolveCaptchaService {
|
|
9070
|
+
constructor() {
|
|
9071
|
+
this.config = inject(EsolveConfigService);
|
|
9072
|
+
this.http = inject(HttpClient);
|
|
9073
|
+
}
|
|
9074
|
+
/**
|
|
9075
|
+
* Retrieve a captcha for a specified action
|
|
9076
|
+
*
|
|
9077
|
+
* @param action - action for which the captcha is being requested.
|
|
9078
|
+
*
|
|
9079
|
+
* @returns An Observable of type EsolveCaptcha.
|
|
9080
|
+
*/
|
|
9081
|
+
getCaptcha(action) {
|
|
9082
|
+
const params = new HttpParams({
|
|
9083
|
+
fromObject: { captcha_action: action },
|
|
9084
|
+
});
|
|
9085
|
+
return this.http
|
|
9086
|
+
.get(`${this.config.api_url}/get-captcha.php`, {
|
|
9087
|
+
params,
|
|
9088
|
+
})
|
|
9089
|
+
.pipe(map((response) => {
|
|
9090
|
+
if (response.records === undefined ||
|
|
9091
|
+
Array.isArray(response.records)) {
|
|
9092
|
+
throw response;
|
|
9093
|
+
}
|
|
9094
|
+
return new EsolveCaptcha(response.records);
|
|
9095
|
+
}));
|
|
9096
|
+
}
|
|
9097
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCaptchaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9098
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCaptchaService, providedIn: 'root' }); }
|
|
9026
9099
|
}
|
|
9027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
9100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: EsolveCaptchaService, decorators: [{
|
|
9028
9101
|
type: Injectable,
|
|
9029
9102
|
args: [{
|
|
9030
9103
|
providedIn: 'root',
|
|
@@ -9039,5 +9112,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
9039
9112
|
* Generated bundle index. Do not edit.
|
|
9040
9113
|
*/
|
|
9041
9114
|
|
|
9042
|
-
export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN, EsolveAccountConfirmationResult, EsolveAccountPayment, EsolveAccountService, EsolveAdditionalStockImage, EsolveAddress, EsolveAddressResult, EsolveAlbum, EsolveAlbumImage, EsolveAlbumImageList, EsolveAlbumList, EsolveAlbumsService, EsolveAsset, EsolveAssetsService, EsolveAuthInterceptorService, EsolveAuthService, EsolveBankingDetails, EsolveBanner, EsolveBannerImage, EsolveBannerImageHotspot, EsolveBannerService, EsolveCartAlternative, EsolveCartItem, EsolveCartService, EsolveCartStockItem, EsolveCartTotals, EsolveCategoryTreeItem, EsolveCategoryTreeService, EsolveCdnSrcDirective, EsolveChangePasswordResult, EsolveCheckoutResult, EsolveColour, EsolveCompetition, EsolveCompetitionDates, EsolveCompetitionEntryResult, EsolveCompetitionWinner, EsolveCompetitionsService, EsolveConfigService, EsolveCookieService, EsolveCoupon, EsolveCouponsService, EsolveDeliveriesService, EsolveDelivery, EsolveDeliveryCategoryTotals, EsolveDeliveryList, EsolveDeliveryStatus, EsolveDependantItem, EsolveDeviceService, EsolveEmptyCartResult, EsolveEmptyWishlistResult, EsolveEnquiryResult, EsolveEnquiryService, EsolveErpDocumentRequest, EsolveErpDocumentsRequestResult, EsolveErrorHandlerService, EsolveFilterFactory, EsolveGenericFilter, EsolveGeocodeAddressResult, EsolveGeocodeCoordsResult, EsolveGeocodeResult, EsolveGeocoderService, EsolveHttpError, EsolveLinkedAsset, EsolveLinkedStockItem, EsolveList, EsolveLocation, EsolveLocationAddress, EsolveLocationContactInfo, EsolveLocationGEO, EsolveLocationList, EsolveLocationPOBoxAddress, EsolveLocationTradingDay, EsolveLocationTradingTimes, EsolveLocationUpdateResult, EsolveLocationsService, EsolveManufacturer, EsolveManufacturersService, EsolveMediaStockItem, EsolveMenuItem, EsolveMenuService, EsolveMultipleSelectFilter, EsolveNewsArticle, EsolveNewsArticleAuthor, EsolveNewsArticleList, EsolveNewsGroup, EsolveNewsService, EsolveNewsletterResult, EsolveOtp, EsolveOtpService, EsolveOtpValidation, EsolvePaymentMethod, EsolvePaymentResult, EsolvePaymentService, EsolveRange, EsolveRangeFilter, EsolveRangesService, EsolveRecipeStockItem, EsolveRegistrationResult, EsolveResetPasswordResult, EsolveResponseHandlerService, EsolveResponseResult, EsolveResult, EsolveReview, EsolveReviewList, EsolveReviewResult, EsolveReviewsService, EsolveSeoInfo, EsolveSeoService, EsolveSessionAddressUpdateResult, EsolveSessionClientUpdateResult, EsolveSessionMetadataService, EsolveSessionService, EsolveSessionShippingUpdateResult, EsolveSetDeviceResult, EsolveSetNotifyResult, EsolveShippingCost, EsolveShippingMethod, EsolveShippingService, EsolveShippingTotals, EsolveSingleSelectFilter, EsolveSpecial, EsolveSpecialDates, EsolveSpecialImage, EsolveSpecialImageCollection, EsolveSpecialsService, EsolveStatement, EsolveStatementAgeing, EsolveStatementBalances, EsolveStatementTransaction, EsolveStockBadge, EsolveStockGroup, EsolveStockGroupItem, EsolveStockImage, EsolveStockImageCollection, EsolveStockItem, EsolveStockItemBase, EsolveStockItemList, EsolveStockLeadTimes, EsolveStockPrice, EsolveStockReviewsReport, EsolveStockService, EsolveSuggestedStockItem, EsolveSupplier, EsolveSuppliersService, EsolveTag, EsolveTagsService, EsolveTimeSlot, EsolveTimeSlotConfig, EsolveTimeSlotDate, EsolveTimeSlotDays, EsolveTimeSlotTimes, EsolveToggleFilter, EsolveTopic, EsolveTopicService, EsolveTransaction, EsolveTransactionAddress, EsolveTransactionAnalyticsData, EsolveTransactionClient, EsolveTransactionDelivery, EsolveTransactionItem, EsolveTransactionItemPrice, EsolveTransactionList, EsolveTransactionLocation, EsolveTransactionPaymentMethod, EsolveTransactionPick, EsolveTransactionShippingMethod, EsolveTransactionTimeSlot, EsolveTransactionUser, EsolveTransactionsService, EsolveUserAccount, EsolveUserAccountBusiness, EsolveUserAccountContact, EsolveUserAccountResult, EsolveUserClientAccount, EsolveUserClientAccountBalances, EsolveUserDevice, EsolveVaultItem, EsolveVaultItemResult, EsolveVoucher, EsolveVouchersService, EsolveWalletBalances, EsolveWalletService, EsolveWalletTransaction, EsolveWalletTransactionsList, EsolveWishlistItem, EsolveWishlistService, NgEsolveConnectModule, esolveHexHash, isEsolveCdnPath, isFtgCdnPath, isLegacyEsolveCdnPath, processEsolveImageSrc, provideEsolveImageLoader, provideNgEsolveConnect };
|
|
9115
|
+
export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN, EsolveAccountConfirmationResult, EsolveAccountPayment, EsolveAccountService, EsolveAdditionalStockImage, EsolveAddress, EsolveAddressResult, EsolveAlbum, EsolveAlbumImage, EsolveAlbumImageList, EsolveAlbumList, EsolveAlbumsService, EsolveAsset, EsolveAssetsService, EsolveAuthInterceptorService, EsolveAuthService, EsolveBankingDetails, EsolveBanner, EsolveBannerImage, EsolveBannerImageHotspot, EsolveBannerService, EsolveCaptcha, EsolveCaptchaService, EsolveCartAlternative, EsolveCartItem, EsolveCartService, EsolveCartStockItem, EsolveCartTotals, EsolveCategoryTreeItem, EsolveCategoryTreeService, EsolveCdnSrcDirective, EsolveChangePasswordResult, EsolveCheckoutResult, EsolveColour, EsolveCompetition, EsolveCompetitionDates, EsolveCompetitionEntryResult, EsolveCompetitionWinner, EsolveCompetitionsService, EsolveConfigService, EsolveCookieService, EsolveCoupon, EsolveCouponsService, EsolveDeliveriesService, EsolveDelivery, EsolveDeliveryCategoryTotals, EsolveDeliveryList, EsolveDeliveryStatus, EsolveDependantItem, EsolveDeviceService, EsolveEmptyCartResult, EsolveEmptyWishlistResult, EsolveEnquiryResult, EsolveEnquiryService, EsolveErpDocumentRequest, EsolveErpDocumentsRequestResult, EsolveErrorHandlerService, EsolveFilterFactory, EsolveGenericFilter, EsolveGeocodeAddressResult, EsolveGeocodeCoordsResult, EsolveGeocodeResult, EsolveGeocoderService, EsolveHttpError, EsolveLinkedAsset, EsolveLinkedStockItem, EsolveList, EsolveLocation, EsolveLocationAddress, EsolveLocationContactInfo, EsolveLocationGEO, EsolveLocationList, EsolveLocationPOBoxAddress, EsolveLocationTradingDay, EsolveLocationTradingTimes, EsolveLocationUpdateResult, EsolveLocationsService, EsolveManufacturer, EsolveManufacturersService, EsolveMediaStockItem, EsolveMenuItem, EsolveMenuService, EsolveMultipleSelectFilter, EsolveNewsArticle, EsolveNewsArticleAuthor, EsolveNewsArticleList, EsolveNewsGroup, EsolveNewsService, EsolveNewsletterResult, EsolveOtp, EsolveOtpService, EsolveOtpValidation, EsolvePaymentMethod, EsolvePaymentResult, EsolvePaymentService, EsolveRange, EsolveRangeFilter, EsolveRangesService, EsolveRecipeStockItem, EsolveRegistrationResult, EsolveResetPasswordResult, EsolveResponseHandlerService, EsolveResponseResult, EsolveResult, EsolveReview, EsolveReviewList, EsolveReviewResult, EsolveReviewsService, EsolveSeoInfo, EsolveSeoService, EsolveSessionAddressUpdateResult, EsolveSessionClientUpdateResult, EsolveSessionMetadataService, EsolveSessionService, EsolveSessionShippingUpdateResult, EsolveSetDeviceResult, EsolveSetNotifyResult, EsolveShippingCost, EsolveShippingMethod, EsolveShippingService, EsolveShippingTotals, EsolveSingleSelectFilter, EsolveSpecial, EsolveSpecialDates, EsolveSpecialImage, EsolveSpecialImageCollection, EsolveSpecialsService, EsolveStatement, EsolveStatementAgeing, EsolveStatementBalances, EsolveStatementTransaction, EsolveStockBadge, EsolveStockGroup, EsolveStockGroupItem, EsolveStockImage, EsolveStockImageCollection, EsolveStockItem, EsolveStockItemBase, EsolveStockItemList, EsolveStockLeadTimes, EsolveStockPrice, EsolveStockReviewsReport, EsolveStockService, EsolveSuggestedStockItem, EsolveSupplier, EsolveSuppliersService, EsolveTag, EsolveTagsService, EsolveTimeSlot, EsolveTimeSlotConfig, EsolveTimeSlotDate, EsolveTimeSlotDays, EsolveTimeSlotTimes, EsolveToggleFilter, EsolveTopic, EsolveTopicService, EsolveTransaction, EsolveTransactionAddress, EsolveTransactionAnalyticsData, EsolveTransactionClient, EsolveTransactionDelivery, EsolveTransactionItem, EsolveTransactionItemPrice, EsolveTransactionList, EsolveTransactionLocation, EsolveTransactionPaymentMethod, EsolveTransactionPick, EsolveTransactionShippingMethod, EsolveTransactionTimeSlot, EsolveTransactionUser, EsolveTransactionsService, EsolveUserAccount, EsolveUserAccountBusiness, EsolveUserAccountContact, EsolveUserAccountResult, EsolveUserClientAccount, EsolveUserClientAccountBalances, EsolveUserDevice, EsolveVaultItem, EsolveVaultItemResult, EsolveVoucher, EsolveVouchersService, EsolveWalletBalances, EsolveWalletService, EsolveWalletTransaction, EsolveWalletTransactionsList, EsolveWishlistItem, EsolveWishlistService, NgEsolveConnectModule, esolveHexHash, isEsolveCdnPath, isFtgCdnPath, isLegacyEsolveCdnPath, processEsolveImageSrc, provideEsolveImageLoader, provideNgEsolveConnect };
|
|
9043
9116
|
//# sourceMappingURL=esolve-ng-esolve-connect.mjs.map
|