@esolve/ng-esolve-connect 0.44.1 → 0.45.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/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 +12 -14
- package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +3 -3
- package/esm2022/lib/core/esolve-config.service.mjs +7 -4
- package/esm2022/lib/core/esolve-connect-config.constant.mjs +1 -1
- package/esm2022/lib/core/esolve-connect-config.interface.mjs +2 -0
- package/esm2022/lib/core/index.mjs +3 -2
- package/esm2022/lib/core/providers/index.mjs +2 -0
- package/esm2022/lib/core/providers/provide-ng-esolve-connect.function.mjs +24 -0
- package/esm2022/lib/coupons/esolve-coupons.service.mjs +9 -11
- package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +3 -3
- package/esm2022/lib/images/directives/cdn-src.directive.mjs +5 -5
- package/esm2022/lib/images/esolve-image-loader.provider.mjs +6 -3
- package/esm2022/lib/images/functions/index.mjs +2 -1
- package/esm2022/lib/images/functions/is-ftg-cdn-path.function.mjs +5 -0
- package/esm2022/lib/images/functions/process-image-src.function.mjs +7 -2
- package/esm2022/lib/locations/esolve-locations.service.mjs +9 -11
- 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 +8 -27
- package/esm2022/lib/payment/esolve-payment.service.mjs +11 -13
- package/esm2022/lib/payment/interfaces/index.mjs +3 -2
- package/esm2022/lib/ranges/esolve-ranges.service.mjs +9 -11
- 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/assets/esolve-assets.service.mjs +9 -11
- 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 +9 -11
- 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 +9 -11
- package/esm2022/lib/specials/esolve-specials.service.mjs +9 -11
- package/esm2022/lib/stock/esolve-stock.service.mjs +9 -11
- package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +9 -11
- package/esm2022/lib/tags/esolve-tags.service.mjs +9 -11
- package/esm2022/lib/topics/esolve-topic.service.mjs +9 -11
- package/esm2022/lib/transactions/esolve-transactions.service.mjs +3 -3
- package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +11 -13
- package/esm2022/media/index.mjs +2 -2
- package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +14 -13
- package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +15 -14
- package/esm2022/media/lib/esolve-connect-media-config.token.mjs +1 -1
- package/esm2022/media/lib/functions/index.mjs +2 -0
- package/esm2022/media/lib/functions/provide-ng-esolve-connect-media.function.mjs +8 -0
- package/esm2022/media/lib/interfaces/esolve-connect-media-config.interface.mjs +2 -0
- package/esm2022/media/lib/interfaces/index.mjs +2 -1
- package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +8 -29
- package/esm2022/media/lib/services/esolve-media-layout.service.mjs +8 -10
- package/esm2022/media/lib/services/esolve-media.service.mjs +10 -14
- package/esm2022/notifications/index.mjs +1 -2
- package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +3 -3
- package/esm2022/survey/index.mjs +1 -2
- package/esm2022/survey/lib/services/esolve-survey.service.mjs +3 -3
- package/fesm2022/esolve-ng-esolve-connect-media.mjs +50 -64
- package/fesm2022/esolve-ng-esolve-connect-media.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +5 -18
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs +6 -19
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect.mjs +168 -194
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/cart/esolve-cart.service.d.ts +2 -2
- package/lib/core/esolve-config.service.d.ts +2 -1
- package/lib/core/esolve-connect-config.constant.d.ts +1 -1
- package/lib/core/{esolve-connect.config.d.ts → esolve-connect-config.interface.d.ts} +4 -0
- package/lib/core/index.d.ts +2 -1
- package/lib/core/providers/index.d.ts +1 -0
- package/lib/core/providers/provide-ng-esolve-connect.function.d.ts +3 -0
- package/lib/coupons/esolve-coupons.service.d.ts +2 -2
- package/lib/images/esolve-image-loader.provider.d.ts +1 -1
- package/lib/images/functions/index.d.ts +1 -0
- package/lib/images/functions/is-ftg-cdn-path.function.d.ts +1 -0
- package/lib/images/functions/process-image-src.function.d.ts +1 -1
- package/lib/locations/esolve-locations.service.d.ts +2 -2
- package/lib/payment/esolve-payment.service.d.ts +2 -2
- package/lib/payment/interfaces/index.d.ts +2 -0
- package/lib/ranges/esolve-ranges.service.d.ts +2 -2
- package/lib/shared/assets/esolve-assets.service.d.ts +2 -2
- package/lib/shared/geocoder/esolve-geocoder.service.d.ts +2 -2
- package/lib/shipping/esolve-shipping.service.d.ts +2 -2
- package/lib/specials/esolve-specials.service.d.ts +2 -2
- package/lib/stock/esolve-stock.service.d.ts +2 -2
- package/lib/suppliers/esolve-suppliers.service.d.ts +2 -2
- package/lib/tags/esolve-tags.service.d.ts +2 -2
- package/lib/topics/esolve-topic.service.d.ts +2 -2
- package/lib/wishlist/esolve-wishlist.service.d.ts +2 -2
- package/media/index.d.ts +1 -1
- package/media/lib/components/media-layout/esolve-media-layout.component.d.ts +2 -3
- package/media/lib/components/media-section/esolve-media-section.component.d.ts +2 -3
- package/media/lib/esolve-connect-media-config.token.d.ts +1 -1
- package/media/lib/functions/index.d.ts +1 -0
- package/media/lib/functions/provide-ng-esolve-connect-media.function.d.ts +3 -0
- package/media/lib/interfaces/esolve-connect-media-config.interface.d.ts +7 -0
- package/media/lib/interfaces/index.d.ts +1 -0
- package/media/lib/ng-esolve-connect-media.module.d.ts +2 -6
- package/media/lib/services/esolve-media-layout.service.d.ts +1 -2
- package/media/lib/services/esolve-media.service.d.ts +0 -3
- package/notifications/index.d.ts +0 -1
- package/package.json +8 -8
- package/survey/index.d.ts +0 -1
- package/esm2022/lib/core/esolve-connect.config.mjs +0 -2
- package/esm2022/media/lib/esolve-connect-media.config.mjs +0 -2
- package/esm2022/notifications/lib/ng-esolve-connect-notifications.module.mjs +0 -15
- package/esm2022/survey/lib/ng-esolve-connect-survey.module.mjs +0 -15
- package/media/lib/esolve-connect-media.config.d.ts +0 -6
- package/notifications/lib/ng-esolve-connect-notifications.module.d.ts +0 -7
- package/survey/lib/ng-esolve-connect-survey.module.d.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPlatformBrowser, CommonModule, IMAGE_LOADER } from '@angular/common';
|
|
2
|
-
import * as
|
|
3
|
-
import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
2
|
+
import * as i2 from '@angular/common/http';
|
|
3
|
+
import { HttpErrorResponse, HttpParams, HttpHeaders, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, HttpClientModule } from '@angular/common/http';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { InjectionToken, Injectable, Inject, PLATFORM_ID, APP_INITIALIZER, NgModule, Directive, Input, HostListener } from '@angular/core';
|
|
6
6
|
import * as i1 from 'ngx-cookie-service-ssr';
|
|
@@ -8,7 +8,7 @@ import { SsrCookieService } from 'ngx-cookie-service-ssr';
|
|
|
8
8
|
import { throwError, BehaviorSubject, Subject, map, switchMap, timer, takeUntil, combineLatest, 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
|
-
import * as i2 from '@angular/platform-browser';
|
|
11
|
+
import * as i2$1 from '@angular/platform-browser';
|
|
12
12
|
|
|
13
13
|
const ESOLVE_CONNECT_CONFIG = new InjectionToken('esolve.connect.config');
|
|
14
14
|
|
|
@@ -45,12 +45,15 @@ class EsolveConfigService {
|
|
|
45
45
|
}
|
|
46
46
|
this.legacy_cdn = config.legacy_cdn;
|
|
47
47
|
this.cdn = config.cdn;
|
|
48
|
+
if (config.ftg_cdn) {
|
|
49
|
+
this.ftg_cdn = config.ftg_cdn;
|
|
50
|
+
}
|
|
48
51
|
this.error_image_path = config.error_image_path;
|
|
49
52
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, deps: [{ token: ESOLVE_CONNECT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
54
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
52
55
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
54
57
|
type: Injectable,
|
|
55
58
|
args: [{
|
|
56
59
|
providedIn: 'root',
|
|
@@ -154,10 +157,10 @@ class EsolveErrorHandlerService {
|
|
|
154
157
|
parseDeleteError(result) {
|
|
155
158
|
return new EsolveHttpError('error', result.code, result.message);
|
|
156
159
|
}
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
158
|
-
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.2", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
161
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
159
162
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
161
164
|
type: Injectable,
|
|
162
165
|
args: [{
|
|
163
166
|
providedIn: 'root',
|
|
@@ -180,10 +183,10 @@ class EsolveCookieService {
|
|
|
180
183
|
delete(name, path, domain, secure) {
|
|
181
184
|
this.cookieService.delete(name, path, domain, secure);
|
|
182
185
|
}
|
|
183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
184
|
-
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.2", 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.2", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
185
188
|
}
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCookieService, decorators: [{
|
|
187
190
|
type: Injectable,
|
|
188
191
|
args: [{
|
|
189
192
|
providedIn: 'root',
|
|
@@ -374,10 +377,10 @@ class EsolveSessionService {
|
|
|
374
377
|
}
|
|
375
378
|
localStorage.removeItem(this.storage_key);
|
|
376
379
|
}
|
|
377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
378
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
381
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
379
382
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
381
384
|
type: Injectable,
|
|
382
385
|
args: [{
|
|
383
386
|
providedIn: 'root',
|
|
@@ -425,10 +428,10 @@ class EsolveResponseHandlerService {
|
|
|
425
428
|
}
|
|
426
429
|
return resultHandler(response);
|
|
427
430
|
}
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
432
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
430
433
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
432
435
|
type: Injectable,
|
|
433
436
|
args: [{
|
|
434
437
|
providedIn: 'root',
|
|
@@ -488,15 +491,15 @@ class EsolveSessionMetadataService {
|
|
|
488
491
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
489
492
|
}));
|
|
490
493
|
}
|
|
491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
492
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
495
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
493
496
|
}
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
495
498
|
type: Injectable,
|
|
496
499
|
args: [{
|
|
497
500
|
providedIn: 'root',
|
|
498
501
|
}]
|
|
499
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
502
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
500
503
|
|
|
501
504
|
class EsolveAuthService {
|
|
502
505
|
constructor(config, http, session, errorHandler) {
|
|
@@ -711,15 +714,15 @@ class EsolveAuthService {
|
|
|
711
714
|
}
|
|
712
715
|
return throwError(() => error);
|
|
713
716
|
}
|
|
714
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
715
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
718
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
716
719
|
}
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
718
721
|
type: Injectable,
|
|
719
722
|
args: [{
|
|
720
723
|
providedIn: 'root',
|
|
721
724
|
}]
|
|
722
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
725
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
|
|
723
726
|
|
|
724
727
|
class EsolveAuthInterceptorService {
|
|
725
728
|
constructor(config, session) {
|
|
@@ -752,10 +755,10 @@ class EsolveAuthInterceptorService {
|
|
|
752
755
|
}
|
|
753
756
|
return next.handle(req);
|
|
754
757
|
}
|
|
755
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
756
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
759
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
757
760
|
}
|
|
758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
759
762
|
type: Injectable
|
|
760
763
|
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
|
|
761
764
|
|
|
@@ -769,38 +772,41 @@ const ESOLVE_EURUS_AUTO_LOGIN = {
|
|
|
769
772
|
},
|
|
770
773
|
};
|
|
771
774
|
|
|
775
|
+
function provideNgEsolveConnect(config, auto_login = false) {
|
|
776
|
+
const providers = [
|
|
777
|
+
SsrCookieService,
|
|
778
|
+
{
|
|
779
|
+
provide: ESOLVE_CONNECT_CONFIG,
|
|
780
|
+
useValue: config,
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
provide: HTTP_INTERCEPTORS,
|
|
784
|
+
useClass: EsolveAuthInterceptorService,
|
|
785
|
+
multi: true,
|
|
786
|
+
},
|
|
787
|
+
provideHttpClient(withInterceptorsFromDi()),
|
|
788
|
+
];
|
|
789
|
+
if (auto_login) {
|
|
790
|
+
providers.push(ESOLVE_EURUS_AUTO_LOGIN);
|
|
791
|
+
}
|
|
792
|
+
return providers;
|
|
793
|
+
}
|
|
794
|
+
|
|
772
795
|
class NgEsolveConnectModule {
|
|
773
796
|
static forRoot(config, auto_login = false) {
|
|
774
|
-
const providers = [
|
|
775
|
-
{
|
|
776
|
-
provide: ESOLVE_CONNECT_CONFIG,
|
|
777
|
-
useValue: config,
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
provide: HTTP_INTERCEPTORS,
|
|
781
|
-
useClass: EsolveAuthInterceptorService,
|
|
782
|
-
multi: true,
|
|
783
|
-
},
|
|
784
|
-
];
|
|
785
|
-
if (auto_login) {
|
|
786
|
-
providers.push(ESOLVE_EURUS_AUTO_LOGIN);
|
|
787
|
-
}
|
|
788
797
|
return {
|
|
789
798
|
ngModule: NgEsolveConnectModule,
|
|
790
|
-
providers,
|
|
799
|
+
providers: provideNgEsolveConnect(config, auto_login),
|
|
791
800
|
};
|
|
792
801
|
}
|
|
793
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
794
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
|
795
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
|
802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
803
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
804
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
796
805
|
}
|
|
797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
798
807
|
type: NgModule,
|
|
799
808
|
args: [{
|
|
800
|
-
declarations: [],
|
|
801
809
|
imports: [CommonModule, HttpClientModule],
|
|
802
|
-
providers: [SsrCookieService],
|
|
803
|
-
exports: [],
|
|
804
810
|
}]
|
|
805
811
|
}] });
|
|
806
812
|
|
|
@@ -809,6 +815,11 @@ function isEsolveCdnPath(path) {
|
|
|
809
815
|
return cdn_regex.test(path);
|
|
810
816
|
}
|
|
811
817
|
|
|
818
|
+
function isFtgCdnPath(path) {
|
|
819
|
+
const cdn_regex = /^\/?images\/(?:stock)\//;
|
|
820
|
+
return cdn_regex.test(path);
|
|
821
|
+
}
|
|
822
|
+
|
|
812
823
|
function isLegacyEsolveCdnPath(path) {
|
|
813
824
|
const cdn_regex = /^\/?images\/(?:media|news|assets|banners|documents|manufacturers|ranges|categories|subcategories|tags|specials)\//;
|
|
814
825
|
return cdn_regex.test(path);
|
|
@@ -823,7 +834,7 @@ function normalizePath(path) {
|
|
|
823
834
|
function normalizeSrc(src) {
|
|
824
835
|
return src.startsWith('/') ? src.slice(1) : src;
|
|
825
836
|
}
|
|
826
|
-
function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '') {
|
|
837
|
+
function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '', ftg_cdn) {
|
|
827
838
|
if (isAbsoluteUrl(src)) {
|
|
828
839
|
return src;
|
|
829
840
|
}
|
|
@@ -842,6 +853,10 @@ function processEsolveImageSrc(src, cdn_url = '', legacy_cdn_url = '') {
|
|
|
842
853
|
if (isLegacyEsolveCdnPath(src)) {
|
|
843
854
|
return `${legacy_cdn_url}/${src}`;
|
|
844
855
|
}
|
|
856
|
+
if (ftg_cdn && isFtgCdnPath(src)) {
|
|
857
|
+
ftg_cdn = normalizePath(ftg_cdn);
|
|
858
|
+
return `${ftg_cdn}/${src}`;
|
|
859
|
+
}
|
|
845
860
|
return `${cdn_url}/${src}`;
|
|
846
861
|
}
|
|
847
862
|
|
|
@@ -849,11 +864,14 @@ const ESOLVE_IMAGE_LOADER_PROVIDER = {
|
|
|
849
864
|
provide: IMAGE_LOADER,
|
|
850
865
|
useFactory: (esolveConfig) => {
|
|
851
866
|
return (config) => {
|
|
852
|
-
return processEsolveImageSrc(config.src, esolveConfig.cdn, esolveConfig.legacy_cdn);
|
|
867
|
+
return processEsolveImageSrc(config.src, esolveConfig.cdn, esolveConfig.legacy_cdn, esolveConfig.ftg_cdn);
|
|
853
868
|
};
|
|
854
869
|
},
|
|
855
870
|
deps: [EsolveConfigService],
|
|
856
871
|
};
|
|
872
|
+
function provideEsolveImageLoader() {
|
|
873
|
+
return ESOLVE_IMAGE_LOADER_PROVIDER;
|
|
874
|
+
}
|
|
857
875
|
|
|
858
876
|
/**
|
|
859
877
|
* An alternative to optimised images to load a new image
|
|
@@ -884,7 +902,7 @@ class EsolveCdnSrcDirective {
|
|
|
884
902
|
this.setErrorImage();
|
|
885
903
|
return;
|
|
886
904
|
}
|
|
887
|
-
const image_src = processEsolveImageSrc(this.src, this.config.cdn, this.config.legacy_cdn);
|
|
905
|
+
const image_src = processEsolveImageSrc(this.src, this.config.cdn, this.config.legacy_cdn, this.config.ftg_cdn);
|
|
888
906
|
this.setSrc(image_src);
|
|
889
907
|
}
|
|
890
908
|
setSrc(src) {
|
|
@@ -905,10 +923,10 @@ class EsolveCdnSrcDirective {
|
|
|
905
923
|
isImage(el) {
|
|
906
924
|
return 'loading' in this.el.nativeElement;
|
|
907
925
|
}
|
|
908
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
909
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
927
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.2", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
910
928
|
}
|
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
912
930
|
type: Directive,
|
|
913
931
|
args: [{
|
|
914
932
|
selector: '[eslvCdnSrc]',
|
|
@@ -1236,15 +1254,15 @@ class EsolveSeoService {
|
|
|
1236
1254
|
}
|
|
1237
1255
|
return pageSeo;
|
|
1238
1256
|
}
|
|
1239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2$1.Title }, { token: i2$1.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1258
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1241
1259
|
}
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1243
1261
|
type: Injectable,
|
|
1244
1262
|
args: [{
|
|
1245
1263
|
providedIn: 'root',
|
|
1246
1264
|
}]
|
|
1247
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.Title }, { type: i2.Meta }]; } });
|
|
1265
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2$1.Title }, { type: i2$1.Meta }]; } });
|
|
1248
1266
|
|
|
1249
1267
|
class EsolveGeocodeAddressResult {
|
|
1250
1268
|
constructor(street_number, street, suburb, city, province, country, postal_code) {
|
|
@@ -1326,18 +1344,15 @@ class EsolveGeocoderService {
|
|
|
1326
1344
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1327
1345
|
return geocode_result;
|
|
1328
1346
|
}
|
|
1329
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1330
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1348
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1331
1349
|
}
|
|
1332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1333
1351
|
type: Injectable,
|
|
1334
1352
|
args: [{
|
|
1335
1353
|
providedIn: 'root',
|
|
1336
1354
|
}]
|
|
1337
|
-
}], ctorParameters: function () { return [{ type:
|
|
1338
|
-
type: Inject,
|
|
1339
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
1340
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
1355
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1341
1356
|
|
|
1342
1357
|
class EsolveLinkedAsset {
|
|
1343
1358
|
constructor(record) {
|
|
@@ -1530,15 +1545,15 @@ class EsolveCategoryTreeService {
|
|
|
1530
1545
|
}
|
|
1531
1546
|
return null;
|
|
1532
1547
|
}
|
|
1533
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1534
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1549
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1535
1550
|
}
|
|
1536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1537
1552
|
type: Injectable,
|
|
1538
1553
|
args: [{
|
|
1539
1554
|
providedIn: 'root',
|
|
1540
1555
|
}]
|
|
1541
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
1556
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1542
1557
|
|
|
1543
1558
|
class EsolveManufacturer {
|
|
1544
1559
|
get original_image_src() {
|
|
@@ -1652,15 +1667,15 @@ class EsolveManufacturersService {
|
|
|
1652
1667
|
processManufacturer(record) {
|
|
1653
1668
|
return new EsolveManufacturer(record);
|
|
1654
1669
|
}
|
|
1655
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1656
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1671
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1657
1672
|
}
|
|
1658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1659
1674
|
type: Injectable,
|
|
1660
1675
|
args: [{
|
|
1661
1676
|
providedIn: 'root',
|
|
1662
1677
|
}]
|
|
1663
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
1678
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1664
1679
|
|
|
1665
1680
|
// Types
|
|
1666
1681
|
|
|
@@ -1772,18 +1787,15 @@ class EsolveRangesService {
|
|
|
1772
1787
|
processRange(record) {
|
|
1773
1788
|
return new EsolveRange(record);
|
|
1774
1789
|
}
|
|
1775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1776
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1791
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
1777
1792
|
}
|
|
1778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
1779
1794
|
type: Injectable,
|
|
1780
1795
|
args: [{
|
|
1781
1796
|
providedIn: 'root',
|
|
1782
1797
|
}]
|
|
1783
|
-
}], ctorParameters: function () { return [{ type:
|
|
1784
|
-
type: Inject,
|
|
1785
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
1786
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
1798
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1787
1799
|
|
|
1788
1800
|
class EsolveTag {
|
|
1789
1801
|
/**
|
|
@@ -1878,18 +1890,15 @@ class EsolveTagsService {
|
|
|
1878
1890
|
}
|
|
1879
1891
|
return tags;
|
|
1880
1892
|
}
|
|
1881
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1882
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1894
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
1883
1895
|
}
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
1885
1897
|
type: Injectable,
|
|
1886
1898
|
args: [{
|
|
1887
1899
|
providedIn: 'root',
|
|
1888
1900
|
}]
|
|
1889
|
-
}], ctorParameters: function () { return [{ type:
|
|
1890
|
-
type: Inject,
|
|
1891
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
1892
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
1901
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1893
1902
|
|
|
1894
1903
|
// Types
|
|
1895
1904
|
|
|
@@ -1943,18 +1952,15 @@ class EsolveTopicService {
|
|
|
1943
1952
|
}
|
|
1944
1953
|
return topics;
|
|
1945
1954
|
}
|
|
1946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1947
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1955
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1956
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
1948
1957
|
}
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
1950
1959
|
type: Injectable,
|
|
1951
1960
|
args: [{
|
|
1952
1961
|
providedIn: 'root',
|
|
1953
1962
|
}]
|
|
1954
|
-
}], ctorParameters: function () { return [{ type:
|
|
1955
|
-
type: Inject,
|
|
1956
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
1957
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
1963
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
1958
1964
|
|
|
1959
1965
|
class EsolveAsset {
|
|
1960
1966
|
/**
|
|
@@ -2139,18 +2145,15 @@ class EsolveAssetsService {
|
|
|
2139
2145
|
const total = total_records;
|
|
2140
2146
|
return new EsolveList(assets, page, rows, total);
|
|
2141
2147
|
}
|
|
2142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2143
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2149
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2144
2150
|
}
|
|
2145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2146
2152
|
type: Injectable,
|
|
2147
2153
|
args: [{
|
|
2148
2154
|
providedIn: 'root',
|
|
2149
2155
|
}]
|
|
2150
|
-
}], ctorParameters: function () { return [{ type:
|
|
2151
|
-
type: Inject,
|
|
2152
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
2153
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
2156
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
2154
2157
|
|
|
2155
2158
|
// Types
|
|
2156
2159
|
|
|
@@ -2679,18 +2682,15 @@ class EsolveLocationsService {
|
|
|
2679
2682
|
}
|
|
2680
2683
|
return stock_locations;
|
|
2681
2684
|
}
|
|
2682
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2683
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2686
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
2684
2687
|
}
|
|
2685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
2686
2689
|
type: Injectable,
|
|
2687
2690
|
args: [{
|
|
2688
2691
|
providedIn: 'root',
|
|
2689
2692
|
}]
|
|
2690
|
-
}], ctorParameters: function () { return [{ type:
|
|
2691
|
-
type: Inject,
|
|
2692
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
2693
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
2693
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
2694
2694
|
|
|
2695
2695
|
class EsolveTransactionLocation extends EsolveLocation {
|
|
2696
2696
|
}
|
|
@@ -2885,15 +2885,15 @@ class EsolveTransactionsService {
|
|
|
2885
2885
|
}
|
|
2886
2886
|
return transactions;
|
|
2887
2887
|
}
|
|
2888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2889
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
2888
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2889
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
2890
2890
|
}
|
|
2891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
2892
2892
|
type: Injectable,
|
|
2893
2893
|
args: [{
|
|
2894
2894
|
providedIn: 'root',
|
|
2895
2895
|
}]
|
|
2896
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
2896
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }]; } });
|
|
2897
2897
|
|
|
2898
2898
|
class EsolveEmptyCartResult extends EsolveResponseResult {
|
|
2899
2899
|
}
|
|
@@ -3269,10 +3269,10 @@ class EsolveCouponsService {
|
|
|
3269
3269
|
}
|
|
3270
3270
|
return coupons;
|
|
3271
3271
|
}
|
|
3272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3273
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3273
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3274
3274
|
}
|
|
3275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3276
3276
|
type: Injectable,
|
|
3277
3277
|
args: [{
|
|
3278
3278
|
providedIn: 'root',
|
|
@@ -3280,10 +3280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
|
|
|
3280
3280
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3281
3281
|
type: Inject,
|
|
3282
3282
|
args: [PLATFORM_ID]
|
|
3283
|
-
}] }, { type:
|
|
3284
|
-
type: Inject,
|
|
3285
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
3286
|
-
}] }, { type: i1$1.HttpClient }, { type: EsolveCookieService }]; } });
|
|
3283
|
+
}] }, { type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveCookieService }]; } });
|
|
3287
3284
|
|
|
3288
3285
|
// Classes
|
|
3289
3286
|
|
|
@@ -3493,18 +3490,15 @@ class EsolveCartService {
|
|
|
3493
3490
|
const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
|
|
3494
3491
|
return cart_totals;
|
|
3495
3492
|
}
|
|
3496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3497
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3498
3495
|
}
|
|
3499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3500
3497
|
type: Injectable,
|
|
3501
3498
|
args: [{
|
|
3502
3499
|
providedIn: 'root',
|
|
3503
3500
|
}]
|
|
3504
|
-
}], ctorParameters: function () { return [{ type:
|
|
3505
|
-
type: Inject,
|
|
3506
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
3507
|
-
}] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }, { type: EsolveCouponsService }]; } });
|
|
3501
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }, { type: EsolveCouponsService }]; } });
|
|
3508
3502
|
|
|
3509
3503
|
class EsolveAccountService {
|
|
3510
3504
|
get user_id() {
|
|
@@ -3900,15 +3894,15 @@ class EsolveAccountService {
|
|
|
3900
3894
|
return new EsolveLocationUpdateResult(response);
|
|
3901
3895
|
})));
|
|
3902
3896
|
}
|
|
3903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3904
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
3897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3898
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
3905
3899
|
}
|
|
3906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
3907
3901
|
type: Injectable,
|
|
3908
3902
|
args: [{
|
|
3909
3903
|
providedIn: 'root',
|
|
3910
3904
|
}]
|
|
3911
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
3905
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveSessionService }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
3912
3906
|
|
|
3913
3907
|
class EsolveBanner {
|
|
3914
3908
|
constructor(id, banner_display_container, identifier, type, title, article, sort_priority, link, images) {
|
|
@@ -4039,15 +4033,15 @@ class EsolveBannerService {
|
|
|
4039
4033
|
}
|
|
4040
4034
|
return banners;
|
|
4041
4035
|
}
|
|
4042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4043
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4036
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4037
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
4044
4038
|
}
|
|
4045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
4046
4040
|
type: Injectable,
|
|
4047
4041
|
args: [{
|
|
4048
4042
|
providedIn: 'root',
|
|
4049
4043
|
}]
|
|
4050
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
4044
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
4051
4045
|
|
|
4052
4046
|
// Types
|
|
4053
4047
|
|
|
@@ -4109,15 +4103,15 @@ class EsolveMenuService {
|
|
|
4109
4103
|
}
|
|
4110
4104
|
return menu;
|
|
4111
4105
|
}
|
|
4112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4113
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4107
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
4114
4108
|
}
|
|
4115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
4116
4110
|
type: Injectable,
|
|
4117
4111
|
args: [{
|
|
4118
4112
|
providedIn: 'root',
|
|
4119
4113
|
}]
|
|
4120
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
4114
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
4121
4115
|
|
|
4122
4116
|
class EsolveNewsGroup {
|
|
4123
4117
|
get image_src() {
|
|
@@ -4324,15 +4318,15 @@ class EsolveNewsService {
|
|
|
4324
4318
|
}
|
|
4325
4319
|
return params;
|
|
4326
4320
|
}
|
|
4327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
4321
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4322
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
4329
4323
|
}
|
|
4330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
4331
4325
|
type: Injectable,
|
|
4332
4326
|
args: [{
|
|
4333
4327
|
providedIn: 'root',
|
|
4334
4328
|
}]
|
|
4335
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
4329
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
4336
4330
|
|
|
4337
4331
|
// Types
|
|
4338
4332
|
|
|
@@ -5317,18 +5311,15 @@ class EsolveStockService {
|
|
|
5317
5311
|
getStockHistoryRecords(params) {
|
|
5318
5312
|
return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
|
|
5319
5313
|
}
|
|
5320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5321
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
5322
5316
|
}
|
|
5323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
5324
5318
|
type: Injectable,
|
|
5325
5319
|
args: [{
|
|
5326
5320
|
providedIn: 'root',
|
|
5327
5321
|
}]
|
|
5328
|
-
}], ctorParameters: function () { return [{ type:
|
|
5329
|
-
type: Inject,
|
|
5330
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
5331
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
5322
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
5332
5323
|
|
|
5333
5324
|
class EsolveSpecialImage {
|
|
5334
5325
|
constructor(record) {
|
|
@@ -5467,20 +5458,15 @@ class EsolveSpecialsService {
|
|
|
5467
5458
|
processSpecial(record) {
|
|
5468
5459
|
return new EsolveSpecial(record);
|
|
5469
5460
|
}
|
|
5470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5471
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
5472
5463
|
}
|
|
5473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
5474
5465
|
type: Injectable,
|
|
5475
5466
|
args: [{
|
|
5476
5467
|
providedIn: 'root',
|
|
5477
5468
|
}]
|
|
5478
|
-
}], ctorParameters: function () { return [{ type:
|
|
5479
|
-
type: Inject,
|
|
5480
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
5481
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
5482
|
-
|
|
5483
|
-
// Only export the types that are accessible to the public API
|
|
5469
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
5484
5470
|
|
|
5485
5471
|
class EsolveBankingDetails {
|
|
5486
5472
|
constructor(bank_name, account_holder, account, account_type, swift_number, branch_code) {
|
|
@@ -5813,18 +5799,15 @@ class EsolvePaymentService {
|
|
|
5813
5799
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
5814
5800
|
return `${month_string}${year_string}`;
|
|
5815
5801
|
}
|
|
5816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5817
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5803
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
5818
5804
|
}
|
|
5819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
5820
5806
|
type: Injectable,
|
|
5821
5807
|
args: [{
|
|
5822
5808
|
providedIn: 'root',
|
|
5823
5809
|
}]
|
|
5824
|
-
}], ctorParameters: function () { return [{ type:
|
|
5825
|
-
type: Inject,
|
|
5826
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
5827
|
-
}] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
5810
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
5828
5811
|
|
|
5829
5812
|
class EsolveShippingTotals {
|
|
5830
5813
|
constructor(total, vat, savings) {
|
|
@@ -6085,18 +6068,15 @@ class EsolveShippingService {
|
|
|
6085
6068
|
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);
|
|
6086
6069
|
return shipping_cost;
|
|
6087
6070
|
}
|
|
6088
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6089
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6072
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
6090
6073
|
}
|
|
6091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
6092
6075
|
type: Injectable,
|
|
6093
6076
|
args: [{
|
|
6094
6077
|
providedIn: 'root',
|
|
6095
6078
|
}]
|
|
6096
|
-
}], ctorParameters: function () { return [{ type:
|
|
6097
|
-
type: Inject,
|
|
6098
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
6099
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
6079
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
6100
6080
|
|
|
6101
6081
|
class EsolveEnquiryResult extends EsolveResponseResult {
|
|
6102
6082
|
constructor(response) {
|
|
@@ -6126,15 +6106,15 @@ class EsolveEnquiryService {
|
|
|
6126
6106
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
6127
6107
|
}));
|
|
6128
6108
|
}
|
|
6129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6130
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6110
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
6131
6111
|
}
|
|
6132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
6133
6113
|
type: Injectable,
|
|
6134
6114
|
args: [{
|
|
6135
6115
|
providedIn: 'root',
|
|
6136
6116
|
}]
|
|
6137
|
-
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type:
|
|
6117
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
6138
6118
|
|
|
6139
6119
|
class EsolveWishlistItem {
|
|
6140
6120
|
constructor(id, qty, vat_rate, price, price_incl, vat_total, total, total_incl, stock_item) {
|
|
@@ -6247,18 +6227,15 @@ class EsolveWishlistService {
|
|
|
6247
6227
|
getWishlistRecords(params) {
|
|
6248
6228
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
6249
6229
|
}
|
|
6250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6251
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6231
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
6252
6232
|
}
|
|
6253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
6254
6234
|
type: Injectable,
|
|
6255
6235
|
args: [{
|
|
6256
6236
|
providedIn: 'root',
|
|
6257
6237
|
}]
|
|
6258
|
-
}], ctorParameters: function () { return [{ type:
|
|
6259
|
-
type: Inject,
|
|
6260
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
6261
|
-
}] }, { type: i1$1.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
6238
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
|
|
6262
6239
|
|
|
6263
6240
|
class EsolveSupplier {
|
|
6264
6241
|
constructor(record) {
|
|
@@ -6324,18 +6301,15 @@ class EsolveSuppliersService {
|
|
|
6324
6301
|
processSuppliers(record) {
|
|
6325
6302
|
return new EsolveSupplier(record);
|
|
6326
6303
|
}
|
|
6327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: EsolveConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
6329
6306
|
}
|
|
6330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
6331
6308
|
type: Injectable,
|
|
6332
6309
|
args: [{
|
|
6333
6310
|
providedIn: 'root',
|
|
6334
6311
|
}]
|
|
6335
|
-
}], ctorParameters: function () { return [{ type:
|
|
6336
|
-
type: Inject,
|
|
6337
|
-
args: [ESOLVE_CONNECT_CONFIG]
|
|
6338
|
-
}] }, { type: i1$1.HttpClient }]; } });
|
|
6312
|
+
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: i2.HttpClient }]; } });
|
|
6339
6313
|
|
|
6340
6314
|
/*
|
|
6341
6315
|
* Public API Surface of ng-esolve-connect
|
|
@@ -6345,5 +6319,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
|
|
|
6345
6319
|
* Generated bundle index. Do not edit.
|
|
6346
6320
|
*/
|
|
6347
6321
|
|
|
6348
|
-
export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN,
|
|
6322
|
+
export { ESOLVE_CONNECT_CONFIG, ESOLVE_EURUS_AUTO_LOGIN, EsolveAccountConfirmationResult, EsolveAccountService, EsolveAdditionalStockImage, EsolveAddress, EsolveAddressResult, EsolveAsset, EsolveAssetsService, EsolveAuthInterceptorService, EsolveAuthService, EsolveBankingDetails, EsolveBanner, EsolveBannerImage, EsolveBannerImageHotspot, EsolveBannerService, EsolveCartItem, EsolveCartService, EsolveCartStockItem, EsolveCartTotals, EsolveCategoryTreeItem, EsolveCategoryTreeService, EsolveCdnSrcDirective, EsolveChangePasswordResult, EsolveCheckoutResult, EsolveColour, EsolveConfigService, EsolveCookieService, EsolveCoupon, EsolveCouponsService, EsolveDependantItem, EsolveEmptyCartResult, EsolveEmptyWishlistResult, EsolveEnquiryResult, EsolveEnquiryService, EsolveErrorHandlerService, esolveFilterFactory as EsolveFilterFactory, EsolveGeocodeAddressResult, EsolveGeocodeCoordsResult, EsolveGeocodeResult, EsolveGeocoderService, EsolveHttpError, EsolveLinkedAsset, EsolveLinkedStockItem, EsolveList, EsolveLocation, EsolveLocationAddress, EsolveLocationContactInfo, EsolveLocationGEO, EsolveLocationPOBoxAddress, EsolveLocationTradingDay, EsolveLocationTradingTimes, EsolveLocationUpdateResult, EsolveLocationsService, EsolveManufacturer, EsolveManufacturersService, EsolveMediaStockItem, EsolveMenuItem, EsolveMenuService, EsolveMultipleSelectFilter, EsolveNewsArticle, EsolveNewsArticleAuthor, EsolveNewsArticleList, EsolveNewsGroup, EsolveNewsService, EsolvePaymentMethod, EsolvePaymentResult, EsolvePaymentService, EsolveRange, EsolveRangeFilter, EsolveRangesService, EsolveRecipeStockItem, EsolveRegistrationResult, EsolveResetPasswordResult, EsolveResponseHandlerService, EsolveResponseResult, EsolveResult, EsolveSeoInfo, EsolveSeoService, EsolveSessionMetadataService, EsolveSessionService, EsolveShippingCost, EsolveShippingMethod, EsolveShippingService, EsolveShippingTotals, EsolveSingleSelectFilter, EsolveSpecial, EsolveSpecialDates, EsolveSpecialImage, EsolveSpecialImageCollection, EsolveSpecialsService, EsolveStatement, EsolveStatementAgeing, EsolveStatementBalances, EsolveStatementTransaction, EsolveStockBadge, EsolveStockGroup, EsolveStockGroupItem, EsolveStockImage, EsolveStockImageCollection, EsolveStockItem, EsolveStockItemBase, EsolveStockItemList, EsolveStockLeadTimes, EsolveStockPrice, EsolveStockService, EsolveSupplier, EsolveSuppliersService, EsolveTag, EsolveTagsService, EsolveTimeSlot, EsolveTimeSlotConfig, EsolveTimeSlotDate, EsolveTimeSlotDays, EsolveTimeSlotTimes, EsolveToggleFilter, EsolveTopic, EsolveTopicService, EsolveTransaction, EsolveTransactionAddress, EsolveTransactionAnalyticsData, EsolveTransactionClient, EsolveTransactionItem, EsolveTransactionItemPrice, EsolveTransactionList, EsolveTransactionLocation, EsolveTransactionPaymentMethod, EsolveTransactionShippingMethod, EsolveTransactionUser, EsolveTransactionsService, EsolveUserAccount, EsolveUserAccountBusiness, EsolveUserAccountContact, EsolveUserAccountResult, EsolveUserClientAccount, EsolveUserClientAccountBalances, EsolveVaultItem, EsolveVaultItemResult, EsolveWishlistItem, EsolveWishlistService, NgEsolveConnectModule, esolveHexHash, isEsolveCdnPath, isFtgCdnPath, isLegacyEsolveCdnPath, processEsolveImageSrc, provideEsolveImageLoader, provideNgEsolveConnect };
|
|
6349
6323
|
//# sourceMappingURL=esolve-ng-esolve-connect.mjs.map
|