@esolve/ng-esolve-connect 0.46.2 → 0.46.3
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 +3 -3
- package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +3 -3
- package/esm2022/lib/auth/esolve-auth.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/core/esolve-config.service.mjs +8 -10
- package/esm2022/lib/coupons/esolve-coupons.service.mjs +3 -3
- package/esm2022/lib/enquiry/esolve-enquiry.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/session/esolve-session-metadata.service.mjs +3 -3
- package/esm2022/lib/session/esolve-session.service.mjs +16 -19
- package/esm2022/lib/shared/assets/esolve-assets.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/geocoder/esolve-geocoder.service.mjs +3 -3
- package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +3 -3
- package/esm2022/lib/shared/seo/esolve-seo.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/esolve-transactions.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 +115 -118
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/core/esolve-config.service.d.ts +1 -1
- package/lib/session/esolve-session.service.d.ts +4 -7
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ import { isPlatformBrowser, CommonModule, IMAGE_LOADER, DOCUMENT } from '@angula
|
|
|
2
2
|
import * as i2 from '@angular/common/http';
|
|
3
3
|
import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, HttpClientModule } from '@angular/common/http';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken,
|
|
5
|
+
import { InjectionToken, inject, Injectable, PLATFORM_ID, APP_INITIALIZER, NgModule, Directive, Input, HostListener, Inject } from '@angular/core';
|
|
6
6
|
import * as i1 from 'ngx-cookie-service-ssr';
|
|
7
7
|
import { SsrCookieService } from 'ngx-cookie-service-ssr';
|
|
8
|
-
import { throwError, BehaviorSubject, Subject, map, switchMap, timer, takeUntil, combineLatest, shareReplay, filter, distinctUntilChanged, of, firstValueFrom, iif } from 'rxjs';
|
|
8
|
+
import { throwError, BehaviorSubject, Subject, map, switchMap, timer, takeUntil, combineLatest, debounceTime, shareReplay, filter, distinctUntilChanged, of, firstValueFrom, iif } from 'rxjs';
|
|
9
9
|
import { map as map$1, catchError, switchMap as switchMap$1, tap } from 'rxjs/operators';
|
|
10
10
|
import { fromUnixTime } from 'date-fns';
|
|
11
11
|
import * as i2$1 from '@angular/platform-browser';
|
|
@@ -13,7 +13,7 @@ import * as i2$1 from '@angular/platform-browser';
|
|
|
13
13
|
const ESOLVE_CONNECT_CONFIG = new InjectionToken('esolve.connect.config');
|
|
14
14
|
|
|
15
15
|
class EsolveConfigService {
|
|
16
|
-
constructor(
|
|
16
|
+
constructor() {
|
|
17
17
|
this.api_url = '';
|
|
18
18
|
this.site_url = '';
|
|
19
19
|
this.wsid = '';
|
|
@@ -21,6 +21,7 @@ class EsolveConfigService {
|
|
|
21
21
|
this.session_storage_key = '_ng_eslv_token';
|
|
22
22
|
this.coupon_storage_key = '_ng_eslv_coupons';
|
|
23
23
|
this.device_designation = 'web';
|
|
24
|
+
const config = inject(ESOLVE_CONNECT_CONFIG);
|
|
24
25
|
if (config.api_url === '' || config.wsid === '') {
|
|
25
26
|
throw new Error('Invalid eSolve Eurus config');
|
|
26
27
|
}
|
|
@@ -52,18 +53,15 @@ class EsolveConfigService {
|
|
|
52
53
|
}
|
|
53
54
|
this.error_image_path = config.error_image_path;
|
|
54
55
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
56
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
57
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
57
58
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
59
60
|
type: Injectable,
|
|
60
61
|
args: [{
|
|
61
62
|
providedIn: 'root',
|
|
62
63
|
}]
|
|
63
|
-
}], ctorParameters: function () { return [
|
|
64
|
-
type: Inject,
|
|
65
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
66
|
-
}] }]; } });
|
|
64
|
+
}], ctorParameters: function () { return []; } });
|
|
67
65
|
|
|
68
66
|
class EsolveHttpError extends Error {
|
|
69
67
|
constructor(type, code, message) {
|
|
@@ -159,10 +157,10 @@ class EsolveErrorHandlerService {
|
|
|
159
157
|
parseDeleteError(result) {
|
|
160
158
|
return new EsolveHttpError('error', result.code, result.message);
|
|
161
159
|
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
163
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
161
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
164
162
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
166
164
|
type: Injectable,
|
|
167
165
|
args: [{
|
|
168
166
|
providedIn: 'root',
|
|
@@ -185,10 +183,10 @@ class EsolveCookieService {
|
|
|
185
183
|
delete(name, path, domain, secure) {
|
|
186
184
|
this.cookieService.delete(name, path, domain, secure);
|
|
187
185
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
189
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
187
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
190
188
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCookieService, decorators: [{
|
|
192
190
|
type: Injectable,
|
|
193
191
|
args: [{
|
|
194
192
|
providedIn: 'root',
|
|
@@ -222,10 +220,10 @@ function esolveHexHash(...values) {
|
|
|
222
220
|
}
|
|
223
221
|
|
|
224
222
|
class EsolveSessionService {
|
|
225
|
-
constructor(
|
|
226
|
-
this.
|
|
227
|
-
this.config =
|
|
228
|
-
this.cookieService =
|
|
223
|
+
constructor() {
|
|
224
|
+
this.is_browser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
225
|
+
this.config = inject(EsolveConfigService);
|
|
226
|
+
this.cookieService = inject(EsolveCookieService);
|
|
229
227
|
this.token$ = new BehaviorSubject('');
|
|
230
228
|
this.user_id$ = new BehaviorSubject(0);
|
|
231
229
|
this.location_id$ = new BehaviorSubject(0);
|
|
@@ -238,7 +236,6 @@ class EsolveSessionService {
|
|
|
238
236
|
this.session_end = new Subject();
|
|
239
237
|
this.setStorageKey();
|
|
240
238
|
this._session = this.initSession();
|
|
241
|
-
this.is_browser = isPlatformBrowser(this.platformId);
|
|
242
239
|
this.getSession()
|
|
243
240
|
.pipe(map(({ token, user_id, location_id }) => {
|
|
244
241
|
return esolveHexHash(token, user_id, location_id);
|
|
@@ -265,7 +262,9 @@ class EsolveSessionService {
|
|
|
265
262
|
user_id: this.onUserIdUpdate(),
|
|
266
263
|
location_id: this.onLocationIdUpdate(),
|
|
267
264
|
};
|
|
268
|
-
return combineLatest(session).pipe(
|
|
265
|
+
return combineLatest(session).pipe(
|
|
266
|
+
// Delays the emit only slightly incase multiple values are set
|
|
267
|
+
debounceTime(10), shareReplay(1));
|
|
269
268
|
}
|
|
270
269
|
isValid() {
|
|
271
270
|
return this.getToken() !== '';
|
|
@@ -336,9 +335,10 @@ class EsolveSessionService {
|
|
|
336
335
|
const expiry_date = fromUnixTime(expiry_date_unix);
|
|
337
336
|
const grace_expiry_date = fromUnixTime(expiry_date_unix + grace_unix);
|
|
338
337
|
this.setCache(session.token, grace_expiry_date);
|
|
339
|
-
this.updateToken(session.token);
|
|
340
338
|
this.updateUserId(session.user_id);
|
|
341
339
|
this.updateLocationId(session.location_id);
|
|
340
|
+
// Update token last to make sure session is correctly checked
|
|
341
|
+
this.updateToken(session.token);
|
|
342
342
|
this.startTimer(expiry_date);
|
|
343
343
|
}
|
|
344
344
|
handleUpdateSession({ user_id, location_id, }) {
|
|
@@ -379,18 +379,15 @@ class EsolveSessionService {
|
|
|
379
379
|
}
|
|
380
380
|
localStorage.removeItem(this.storage_key);
|
|
381
381
|
}
|
|
382
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
383
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
383
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
384
384
|
}
|
|
385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
386
386
|
type: Injectable,
|
|
387
387
|
args: [{
|
|
388
388
|
providedIn: 'root',
|
|
389
389
|
}]
|
|
390
|
-
}], ctorParameters: function () { return [
|
|
391
|
-
type: Inject,
|
|
392
|
-
args: [PLATFORM_ID]
|
|
393
|
-
}] }, { type: EsolveConfigService }, { type: EsolveCookieService }]; } });
|
|
390
|
+
}], ctorParameters: function () { return []; } });
|
|
394
391
|
|
|
395
392
|
class EsolveResult {
|
|
396
393
|
constructor(status, code, message) {
|
|
@@ -430,10 +427,10 @@ class EsolveResponseHandlerService {
|
|
|
430
427
|
}
|
|
431
428
|
return resultHandler(response);
|
|
432
429
|
}
|
|
433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
434
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
431
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
435
432
|
}
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
437
434
|
type: Injectable,
|
|
438
435
|
args: [{
|
|
439
436
|
providedIn: 'root',
|
|
@@ -493,10 +490,10 @@ class EsolveSessionMetadataService {
|
|
|
493
490
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
494
491
|
}));
|
|
495
492
|
}
|
|
496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
497
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
498
495
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
500
497
|
type: Injectable,
|
|
501
498
|
args: [{
|
|
502
499
|
providedIn: 'root',
|
|
@@ -716,10 +713,10 @@ class EsolveAuthService {
|
|
|
716
713
|
}
|
|
717
714
|
return throwError(() => error);
|
|
718
715
|
}
|
|
719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
720
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
716
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
717
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
721
718
|
}
|
|
722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
723
720
|
type: Injectable,
|
|
724
721
|
args: [{
|
|
725
722
|
providedIn: 'root',
|
|
@@ -757,10 +754,10 @@ class EsolveAuthInterceptorService {
|
|
|
757
754
|
}
|
|
758
755
|
return next.handle(req);
|
|
759
756
|
}
|
|
760
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
761
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
758
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
762
759
|
}
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
764
761
|
type: Injectable
|
|
765
762
|
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
|
|
766
763
|
|
|
@@ -801,11 +798,11 @@ class NgEsolveConnectModule {
|
|
|
801
798
|
providers: provideNgEsolveConnect(config, auto_login),
|
|
802
799
|
};
|
|
803
800
|
}
|
|
804
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
805
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
|
806
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
|
801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
802
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
803
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
807
804
|
}
|
|
808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
809
806
|
type: NgModule,
|
|
810
807
|
args: [{
|
|
811
808
|
imports: [CommonModule, HttpClientModule],
|
|
@@ -925,10 +922,10 @@ class EsolveCdnSrcDirective {
|
|
|
925
922
|
isImage(el) {
|
|
926
923
|
return 'loading' in this.el.nativeElement;
|
|
927
924
|
}
|
|
928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
929
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
925
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
926
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.6", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
930
927
|
}
|
|
931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
932
929
|
type: Directive,
|
|
933
930
|
args: [{
|
|
934
931
|
selector: '[eslvCdnSrc]',
|
|
@@ -1274,10 +1271,10 @@ class EsolveSeoService {
|
|
|
1274
1271
|
}
|
|
1275
1272
|
return pageSeo;
|
|
1276
1273
|
}
|
|
1277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1278
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2$1.Title }, { token: i2$1.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1275
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1279
1276
|
}
|
|
1280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1281
1278
|
type: Injectable,
|
|
1282
1279
|
args: [{
|
|
1283
1280
|
providedIn: 'root',
|
|
@@ -1364,10 +1361,10 @@ class EsolveGeocoderService {
|
|
|
1364
1361
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1365
1362
|
return geocode_result;
|
|
1366
1363
|
}
|
|
1367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1368
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1365
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1369
1366
|
}
|
|
1370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1371
1368
|
type: Injectable,
|
|
1372
1369
|
args: [{
|
|
1373
1370
|
providedIn: 'root',
|
|
@@ -1565,10 +1562,10 @@ class EsolveCategoryTreeService {
|
|
|
1565
1562
|
}
|
|
1566
1563
|
return null;
|
|
1567
1564
|
}
|
|
1568
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1569
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1566
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1570
1567
|
}
|
|
1571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1572
1569
|
type: Injectable,
|
|
1573
1570
|
args: [{
|
|
1574
1571
|
providedIn: 'root',
|
|
@@ -1687,10 +1684,10 @@ class EsolveManufacturersService {
|
|
|
1687
1684
|
processManufacturer(record) {
|
|
1688
1685
|
return new EsolveManufacturer(record);
|
|
1689
1686
|
}
|
|
1690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1691
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1688
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1692
1689
|
}
|
|
1693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1694
1691
|
type: Injectable,
|
|
1695
1692
|
args: [{
|
|
1696
1693
|
providedIn: 'root',
|
|
@@ -1807,10 +1804,10 @@ class EsolveRangesService {
|
|
|
1807
1804
|
processRange(record) {
|
|
1808
1805
|
return new EsolveRange(record);
|
|
1809
1806
|
}
|
|
1810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1811
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveRangesService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1808
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
1812
1809
|
}
|
|
1813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
1814
1811
|
type: Injectable,
|
|
1815
1812
|
args: [{
|
|
1816
1813
|
providedIn: 'root',
|
|
@@ -1910,10 +1907,10 @@ class EsolveTagsService {
|
|
|
1910
1907
|
}
|
|
1911
1908
|
return tags;
|
|
1912
1909
|
}
|
|
1913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1914
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1910
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTagsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1911
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
1915
1912
|
}
|
|
1916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
1917
1914
|
type: Injectable,
|
|
1918
1915
|
args: [{
|
|
1919
1916
|
providedIn: 'root',
|
|
@@ -1972,10 +1969,10 @@ class EsolveTopicService {
|
|
|
1972
1969
|
}
|
|
1973
1970
|
return topics;
|
|
1974
1971
|
}
|
|
1975
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1976
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTopicService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1973
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
1977
1974
|
}
|
|
1978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
1979
1976
|
type: Injectable,
|
|
1980
1977
|
args: [{
|
|
1981
1978
|
providedIn: 'root',
|
|
@@ -2165,10 +2162,10 @@ class EsolveAssetsService {
|
|
|
2165
2162
|
const total = total_records;
|
|
2166
2163
|
return new EsolveList(assets, page, rows, total);
|
|
2167
2164
|
}
|
|
2168
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2169
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAssetsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2170
2167
|
}
|
|
2171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2172
2169
|
type: Injectable,
|
|
2173
2170
|
args: [{
|
|
2174
2171
|
providedIn: 'root',
|
|
@@ -2706,10 +2703,10 @@ class EsolveLocationsService {
|
|
|
2706
2703
|
}
|
|
2707
2704
|
return stock_locations;
|
|
2708
2705
|
}
|
|
2709
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2710
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveLocationsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2707
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
2711
2708
|
}
|
|
2712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
2713
2710
|
type: Injectable,
|
|
2714
2711
|
args: [{
|
|
2715
2712
|
providedIn: 'root',
|
|
@@ -2909,10 +2906,10 @@ class EsolveTransactionsService {
|
|
|
2909
2906
|
}
|
|
2910
2907
|
return transactions;
|
|
2911
2908
|
}
|
|
2912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2913
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2909
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2910
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
2914
2911
|
}
|
|
2915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
2916
2913
|
type: Injectable,
|
|
2917
2914
|
args: [{
|
|
2918
2915
|
providedIn: 'root',
|
|
@@ -3293,10 +3290,10 @@ class EsolveCouponsService {
|
|
|
3293
3290
|
}
|
|
3294
3291
|
return coupons;
|
|
3295
3292
|
}
|
|
3296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3297
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3294
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3298
3295
|
}
|
|
3299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3300
3297
|
type: Injectable,
|
|
3301
3298
|
args: [{
|
|
3302
3299
|
providedIn: 'root',
|
|
@@ -3514,10 +3511,10 @@ class EsolveCartService {
|
|
|
3514
3511
|
const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
|
|
3515
3512
|
return cart_totals;
|
|
3516
3513
|
}
|
|
3517
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3518
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCartService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3515
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3519
3516
|
}
|
|
3520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3521
3518
|
type: Injectable,
|
|
3522
3519
|
args: [{
|
|
3523
3520
|
providedIn: 'root',
|
|
@@ -3918,10 +3915,10 @@ class EsolveAccountService {
|
|
|
3918
3915
|
return new EsolveLocationUpdateResult(response);
|
|
3919
3916
|
})));
|
|
3920
3917
|
}
|
|
3921
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3922
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3919
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
3923
3920
|
}
|
|
3924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
3925
3922
|
type: Injectable,
|
|
3926
3923
|
args: [{
|
|
3927
3924
|
providedIn: 'root',
|
|
@@ -4057,10 +4054,10 @@ class EsolveBannerService {
|
|
|
4057
4054
|
}
|
|
4058
4055
|
return banners;
|
|
4059
4056
|
}
|
|
4060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4061
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4058
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
4062
4059
|
}
|
|
4063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
4064
4061
|
type: Injectable,
|
|
4065
4062
|
args: [{
|
|
4066
4063
|
providedIn: 'root',
|
|
@@ -4127,10 +4124,10 @@ class EsolveMenuService {
|
|
|
4127
4124
|
}
|
|
4128
4125
|
return menu;
|
|
4129
4126
|
}
|
|
4130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4131
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
4132
4129
|
}
|
|
4133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
4134
4131
|
type: Injectable,
|
|
4135
4132
|
args: [{
|
|
4136
4133
|
providedIn: 'root',
|
|
@@ -4342,10 +4339,10 @@ class EsolveNewsService {
|
|
|
4342
4339
|
}
|
|
4343
4340
|
return params;
|
|
4344
4341
|
}
|
|
4345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4346
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
4347
4344
|
}
|
|
4348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
4349
4346
|
type: Injectable,
|
|
4350
4347
|
args: [{
|
|
4351
4348
|
providedIn: 'root',
|
|
@@ -5335,10 +5332,10 @@ class EsolveStockService {
|
|
|
5335
5332
|
getStockHistoryRecords(params) {
|
|
5336
5333
|
return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
|
|
5337
5334
|
}
|
|
5338
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5339
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveStockService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5336
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
5340
5337
|
}
|
|
5341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
5342
5339
|
type: Injectable,
|
|
5343
5340
|
args: [{
|
|
5344
5341
|
providedIn: 'root',
|
|
@@ -5482,10 +5479,10 @@ class EsolveSpecialsService {
|
|
|
5482
5479
|
processSpecial(record) {
|
|
5483
5480
|
return new EsolveSpecial(record);
|
|
5484
5481
|
}
|
|
5485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5486
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5483
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
5487
5484
|
}
|
|
5488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
5489
5486
|
type: Injectable,
|
|
5490
5487
|
args: [{
|
|
5491
5488
|
providedIn: 'root',
|
|
@@ -5823,10 +5820,10 @@ class EsolvePaymentService {
|
|
|
5823
5820
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
5824
5821
|
return `${month_string}${year_string}`;
|
|
5825
5822
|
}
|
|
5826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5827
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolvePaymentService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5824
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
5828
5825
|
}
|
|
5829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
5830
5827
|
type: Injectable,
|
|
5831
5828
|
args: [{
|
|
5832
5829
|
providedIn: 'root',
|
|
@@ -6093,10 +6090,10 @@ class EsolveShippingService {
|
|
|
6093
6090
|
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);
|
|
6094
6091
|
return shipping_cost;
|
|
6095
6092
|
}
|
|
6096
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6097
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveShippingService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6094
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
6098
6095
|
}
|
|
6099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
6100
6097
|
type: Injectable,
|
|
6101
6098
|
args: [{
|
|
6102
6099
|
providedIn: 'root',
|
|
@@ -6131,10 +6128,10 @@ class EsolveEnquiryService {
|
|
|
6131
6128
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
6132
6129
|
}));
|
|
6133
6130
|
}
|
|
6134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6135
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6132
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
6136
6133
|
}
|
|
6137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
6138
6135
|
type: Injectable,
|
|
6139
6136
|
args: [{
|
|
6140
6137
|
providedIn: 'root',
|
|
@@ -6252,10 +6249,10 @@ class EsolveWishlistService {
|
|
|
6252
6249
|
getWishlistRecords(params) {
|
|
6253
6250
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
6254
6251
|
}
|
|
6255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6256
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveWishlistService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6253
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
6257
6254
|
}
|
|
6258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
6259
6256
|
type: Injectable,
|
|
6260
6257
|
args: [{
|
|
6261
6258
|
providedIn: 'root',
|
|
@@ -6326,10 +6323,10 @@ class EsolveSuppliersService {
|
|
|
6326
6323
|
processSuppliers(record) {
|
|
6327
6324
|
return new EsolveSupplier(record);
|
|
6328
6325
|
}
|
|
6329
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6330
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
6331
6328
|
}
|
|
6332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
6333
6330
|
type: Injectable,
|
|
6334
6331
|
args: [{
|
|
6335
6332
|
providedIn: 'root',
|