@esolve/ng-esolve-connect 0.41.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/account/esolve-account.service.mjs +5 -6
- package/esm2022/lib/auth/esolve-auth-interceptor.service.mjs +5 -6
- package/esm2022/lib/auth/esolve-auth.service.mjs +5 -6
- package/esm2022/lib/banners/esolve-banner.service.mjs +5 -6
- package/esm2022/lib/cart/classes/esolve-cart-item.model.mjs +2 -1
- package/esm2022/lib/cart/classes/esolve-cart-stock-item.model.mjs +1 -1
- package/esm2022/lib/cart/esolve-cart.service.mjs +5 -6
- package/esm2022/lib/cart/interfaces/esolve-cart-item-record.interface.mjs +1 -1
- package/esm2022/lib/category-tree/esolve-category-tree.service.mjs +5 -6
- package/esm2022/lib/core/esolve-config.service.mjs +5 -6
- package/esm2022/lib/coupons/esolve-coupons.service.mjs +5 -6
- package/esm2022/lib/enquiry/esolve-enquiry.service.mjs +5 -6
- package/esm2022/lib/images/directives/cdn-src.directive.mjs +5 -6
- package/esm2022/lib/locations/esolve-locations.service.mjs +5 -6
- package/esm2022/lib/manufacturers/esolve-manufacturers.service.mjs +5 -6
- package/esm2022/lib/menu/esolve-menu.service.mjs +5 -6
- package/esm2022/lib/news/esolve-news.service.mjs +5 -6
- package/esm2022/lib/ng-esolve-connect.module.mjs +6 -7
- package/esm2022/lib/payment/esolve-payment.service.mjs +5 -6
- package/esm2022/lib/ranges/esolve-ranges.service.mjs +5 -6
- package/esm2022/lib/session/esolve-session-metadata.service.mjs +5 -6
- package/esm2022/lib/session/esolve-session.service.mjs +5 -6
- package/esm2022/lib/shared/assets/esolve-assets.service.mjs +43 -13
- package/esm2022/lib/shared/assets/esolve-media-asset-options.interface.mjs +2 -0
- package/esm2022/lib/shared/assets/index.mjs +2 -1
- package/esm2022/lib/shared/cookie/esolve-cookie.service.mjs +5 -6
- package/esm2022/lib/shared/errors/esolve-error-handler.service.mjs +5 -6
- package/esm2022/lib/shared/errors/esolve-http-error.model.mjs +3 -3
- package/esm2022/lib/shared/geocoder/esolve-geocoder.service.mjs +5 -6
- package/esm2022/lib/shared/response/esolve-response-handler.service.mjs +5 -6
- package/esm2022/lib/shared/seo/esolve-seo.service.mjs +5 -6
- package/esm2022/lib/shipping/esolve-shipping.service.mjs +5 -6
- package/esm2022/lib/specials/esolve-specials.service.mjs +5 -6
- package/esm2022/lib/stock/classes/esolve-stock-item-base.model.mjs +11 -1
- package/esm2022/lib/stock/esolve-stock.service.mjs +5 -6
- package/esm2022/lib/suppliers/esolve-suppliers.service.mjs +5 -6
- package/esm2022/lib/tags/esolve-tags.service.mjs +5 -6
- package/esm2022/lib/topics/esolve-topic.service.mjs +5 -6
- package/esm2022/lib/transactions/esolve-transactions.service.mjs +5 -6
- package/esm2022/lib/wishlist/esolve-wishlist.service.mjs +5 -6
- package/esm2022/media/lib/components/media-layout/esolve-media-layout.component.mjs +5 -6
- package/esm2022/media/lib/components/media-section/esolve-media-section.component.mjs +5 -6
- package/esm2022/media/lib/ng-esolve-connect-media.module.mjs +6 -7
- package/esm2022/media/lib/services/esolve-media-layout.service.mjs +5 -6
- package/esm2022/media/lib/services/esolve-media.service.mjs +5 -6
- package/esm2022/notifications/lib/ng-esolve-connect-notifications.module.mjs +6 -7
- package/esm2022/notifications/lib/services/esolve-notifications.service.mjs +5 -6
- package/esm2022/survey/lib/ng-esolve-connect-survey.module.mjs +6 -7
- package/esm2022/survey/lib/services/esolve-survey.service.mjs +5 -6
- package/fesm2022/esolve-ng-esolve-connect-media.mjs +16 -16
- package/fesm2022/esolve-ng-esolve-connect-media.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs +7 -7
- package/fesm2022/esolve-ng-esolve-connect-notifications.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs +7 -7
- package/fesm2022/esolve-ng-esolve-connect-survey.mjs.map +1 -1
- package/fesm2022/esolve-ng-esolve-connect.mjs +150 -109
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/cart/classes/esolve-cart-item.model.d.ts +2 -1
- package/lib/cart/classes/esolve-cart-stock-item.model.d.ts +1 -1
- package/lib/cart/interfaces/esolve-cart-item-record.interface.d.ts +1 -0
- package/lib/shared/assets/esolve-assets.service.d.ts +3 -0
- package/lib/shared/assets/esolve-media-asset-options.interface.d.ts +5 -0
- package/lib/shared/assets/index.d.ts +1 -0
- package/lib/shared/errors/esolve-http-error.model.d.ts +1 -1
- package/lib/stock/classes/esolve-stock-item-base.model.d.ts +8 -0
- package/package.json +1 -1
|
@@ -47,10 +47,10 @@ class EsolveConfigService {
|
|
|
47
47
|
this.cdn = config.cdn;
|
|
48
48
|
this.error_image_path = config.error_image_path;
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, deps: [{ token: ESOLVE_CONNECT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
51
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, providedIn: 'root' }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveConfigService, decorators: [{
|
|
54
54
|
type: Injectable,
|
|
55
55
|
args: [{
|
|
56
56
|
providedIn: 'root',
|
|
@@ -61,9 +61,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImpor
|
|
|
61
61
|
}] }]; } });
|
|
62
62
|
|
|
63
63
|
class EsolveHttpError extends Error {
|
|
64
|
-
constructor(type, code, message
|
|
64
|
+
constructor(type, code, message) {
|
|
65
65
|
// Pass remaining arguments (including vendor specific ones) to parent constructor
|
|
66
|
-
super(
|
|
66
|
+
super(message);
|
|
67
67
|
this.http_error = true;
|
|
68
68
|
// Maintains proper stack trace for where our error was thrown (only available on V8)
|
|
69
69
|
if (Error.captureStackTrace) {
|
|
@@ -154,10 +154,10 @@ class EsolveErrorHandlerService {
|
|
|
154
154
|
parseDeleteError(result) {
|
|
155
155
|
return new EsolveHttpError('error', result.code, result.message);
|
|
156
156
|
}
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
158
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
158
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, providedIn: 'root' }); }
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveErrorHandlerService, decorators: [{
|
|
161
161
|
type: Injectable,
|
|
162
162
|
args: [{
|
|
163
163
|
providedIn: 'root',
|
|
@@ -180,10 +180,10 @@ class EsolveCookieService {
|
|
|
180
180
|
delete(name, path, domain, secure) {
|
|
181
181
|
this.cookieService.delete(name, path, domain, secure);
|
|
182
182
|
}
|
|
183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
184
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, deps: [{ token: i1.SsrCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
184
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, providedIn: 'root' }); }
|
|
185
185
|
}
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCookieService, decorators: [{
|
|
187
187
|
type: Injectable,
|
|
188
188
|
args: [{
|
|
189
189
|
providedIn: 'root',
|
|
@@ -374,10 +374,10 @@ class EsolveSessionService {
|
|
|
374
374
|
}
|
|
375
375
|
localStorage.removeItem(this.storage_key);
|
|
376
376
|
}
|
|
377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
378
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, deps: [{ token: PLATFORM_ID }, { token: EsolveConfigService }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
378
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, providedIn: 'root' }); }
|
|
379
379
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionService, decorators: [{
|
|
381
381
|
type: Injectable,
|
|
382
382
|
args: [{
|
|
383
383
|
providedIn: 'root',
|
|
@@ -425,10 +425,10 @@ class EsolveResponseHandlerService {
|
|
|
425
425
|
}
|
|
426
426
|
return resultHandler(response);
|
|
427
427
|
}
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, providedIn: 'root' }); }
|
|
430
430
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveResponseHandlerService, decorators: [{
|
|
432
432
|
type: Injectable,
|
|
433
433
|
args: [{
|
|
434
434
|
providedIn: 'root',
|
|
@@ -488,10 +488,10 @@ class EsolveSessionMetadataService {
|
|
|
488
488
|
return this.errorHandler.handleHttpDeleteError('delete-sessions-metadata', errorRes);
|
|
489
489
|
}));
|
|
490
490
|
}
|
|
491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
492
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
492
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, providedIn: 'root' }); }
|
|
493
493
|
}
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSessionMetadataService, decorators: [{
|
|
495
495
|
type: Injectable,
|
|
496
496
|
args: [{
|
|
497
497
|
providedIn: 'root',
|
|
@@ -711,10 +711,10 @@ class EsolveAuthService {
|
|
|
711
711
|
}
|
|
712
712
|
return throwError(() => error);
|
|
713
713
|
}
|
|
714
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
715
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
715
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, providedIn: 'root' }); }
|
|
716
716
|
}
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthService, decorators: [{
|
|
718
718
|
type: Injectable,
|
|
719
719
|
args: [{
|
|
720
720
|
providedIn: 'root',
|
|
@@ -752,10 +752,10 @@ class EsolveAuthInterceptorService {
|
|
|
752
752
|
}
|
|
753
753
|
return next.handle(req);
|
|
754
754
|
}
|
|
755
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
756
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
755
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService, deps: [{ token: EsolveConfigService }, { token: EsolveSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
756
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService }); }
|
|
757
757
|
}
|
|
758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAuthInterceptorService, decorators: [{
|
|
759
759
|
type: Injectable
|
|
760
760
|
}], ctorParameters: function () { return [{ type: EsolveConfigService }, { type: EsolveSessionService }]; } });
|
|
761
761
|
|
|
@@ -790,11 +790,11 @@ class NgEsolveConnectModule {
|
|
|
790
790
|
providers,
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
794
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
795
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
794
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, imports: [CommonModule, HttpClientModule] }); }
|
|
795
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, providers: [SsrCookieService], imports: [CommonModule, HttpClientModule] }); }
|
|
796
796
|
}
|
|
797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NgEsolveConnectModule, decorators: [{
|
|
798
798
|
type: NgModule,
|
|
799
799
|
args: [{
|
|
800
800
|
declarations: [],
|
|
@@ -905,10 +905,10 @@ class EsolveCdnSrcDirective {
|
|
|
905
905
|
isImage(el) {
|
|
906
906
|
return 'loading' in this.el.nativeElement;
|
|
907
907
|
}
|
|
908
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
909
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCdnSrcDirective, deps: [{ token: i0.ElementRef }, { token: EsolveConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
909
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: EsolveCdnSrcDirective, isStandalone: true, selector: "[eslvCdnSrc]", inputs: { src: ["eslvCdnSrc", "src"] }, host: { listeners: { "error": "onError()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
910
910
|
}
|
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCdnSrcDirective, decorators: [{
|
|
912
912
|
type: Directive,
|
|
913
913
|
args: [{
|
|
914
914
|
selector: '[eslvCdnSrc]',
|
|
@@ -1236,10 +1236,10 @@ class EsolveSeoService {
|
|
|
1236
1236
|
}
|
|
1237
1237
|
return pageSeo;
|
|
1238
1238
|
}
|
|
1239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, deps: [{ token: EsolveConfigService }, { token: i2.Title }, { token: i2.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, providedIn: 'root' }); }
|
|
1241
1241
|
}
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSeoService, decorators: [{
|
|
1243
1243
|
type: Injectable,
|
|
1244
1244
|
args: [{
|
|
1245
1245
|
providedIn: 'root',
|
|
@@ -1326,10 +1326,10 @@ class EsolveGeocoderService {
|
|
|
1326
1326
|
const geocode_result = new EsolveGeocodeResult(record.formatted_address, geocode_address, geocode_coords, record.status, record.checksum, record.cached);
|
|
1327
1327
|
return geocode_result;
|
|
1328
1328
|
}
|
|
1329
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1330
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1330
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, providedIn: 'root' }); }
|
|
1331
1331
|
}
|
|
1332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveGeocoderService, decorators: [{
|
|
1333
1333
|
type: Injectable,
|
|
1334
1334
|
args: [{
|
|
1335
1335
|
providedIn: 'root',
|
|
@@ -1530,10 +1530,10 @@ class EsolveCategoryTreeService {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
return null;
|
|
1532
1532
|
}
|
|
1533
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1534
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1534
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, providedIn: 'root' }); }
|
|
1535
1535
|
}
|
|
1536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCategoryTreeService, decorators: [{
|
|
1537
1537
|
type: Injectable,
|
|
1538
1538
|
args: [{
|
|
1539
1539
|
providedIn: 'root',
|
|
@@ -1652,10 +1652,10 @@ class EsolveManufacturersService {
|
|
|
1652
1652
|
processManufacturer(record) {
|
|
1653
1653
|
return new EsolveManufacturer(record);
|
|
1654
1654
|
}
|
|
1655
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1656
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, providedIn: 'root' }); }
|
|
1657
1657
|
}
|
|
1658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveManufacturersService, decorators: [{
|
|
1659
1659
|
type: Injectable,
|
|
1660
1660
|
args: [{
|
|
1661
1661
|
providedIn: 'root',
|
|
@@ -1772,10 +1772,10 @@ class EsolveRangesService {
|
|
|
1772
1772
|
processRange(record) {
|
|
1773
1773
|
return new EsolveRange(record);
|
|
1774
1774
|
}
|
|
1775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1776
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1776
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, providedIn: 'root' }); }
|
|
1777
1777
|
}
|
|
1778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveRangesService, decorators: [{
|
|
1779
1779
|
type: Injectable,
|
|
1780
1780
|
args: [{
|
|
1781
1781
|
providedIn: 'root',
|
|
@@ -1878,10 +1878,10 @@ class EsolveTagsService {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return tags;
|
|
1880
1880
|
}
|
|
1881
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1882
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1882
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, providedIn: 'root' }); }
|
|
1883
1883
|
}
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTagsService, decorators: [{
|
|
1885
1885
|
type: Injectable,
|
|
1886
1886
|
args: [{
|
|
1887
1887
|
providedIn: 'root',
|
|
@@ -1943,10 +1943,10 @@ class EsolveTopicService {
|
|
|
1943
1943
|
}
|
|
1944
1944
|
return topics;
|
|
1945
1945
|
}
|
|
1946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1947
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1947
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, providedIn: 'root' }); }
|
|
1948
1948
|
}
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTopicService, decorators: [{
|
|
1950
1950
|
type: Injectable,
|
|
1951
1951
|
args: [{
|
|
1952
1952
|
providedIn: 'root',
|
|
@@ -2050,14 +2050,34 @@ class EsolveAssetsService {
|
|
|
2050
2050
|
if (response.records === undefined) {
|
|
2051
2051
|
throw response;
|
|
2052
2052
|
}
|
|
2053
|
-
const
|
|
2054
|
-
|
|
2055
|
-
|
|
2053
|
+
const additional_data = response.additional_data;
|
|
2054
|
+
const records = response.records;
|
|
2055
|
+
const total_records = +additional_data.total_records;
|
|
2056
|
+
return this.processAssetLists(records, total_records, options);
|
|
2057
|
+
}));
|
|
2058
|
+
}
|
|
2059
|
+
getMediaAssets(options) {
|
|
2060
|
+
let params = this.parseOptions(options);
|
|
2061
|
+
if (options.media_id && options.media_id > 0) {
|
|
2062
|
+
params = params.set('media_id', options.media_id);
|
|
2063
|
+
}
|
|
2064
|
+
else if (options.media_identifier &&
|
|
2065
|
+
options.media_identifier !== '') {
|
|
2066
|
+
params = params.set('media_identifier', options.media_identifier);
|
|
2067
|
+
}
|
|
2068
|
+
else {
|
|
2069
|
+
return throwError(() => new Error('Media ID or identifier is required'));
|
|
2070
|
+
}
|
|
2071
|
+
return this.http
|
|
2072
|
+
.get(`${this.config.api_url}/get-media-assets.php`, { params })
|
|
2073
|
+
.pipe(map$1((response) => {
|
|
2074
|
+
if (response.records === undefined) {
|
|
2075
|
+
throw response;
|
|
2056
2076
|
}
|
|
2057
|
-
const
|
|
2058
|
-
const
|
|
2059
|
-
const
|
|
2060
|
-
return
|
|
2077
|
+
const additional_data = response.additional_data;
|
|
2078
|
+
const records = response.records;
|
|
2079
|
+
const total_records = +additional_data.total_records;
|
|
2080
|
+
return this.processAssetLists(records, total_records, options);
|
|
2061
2081
|
}));
|
|
2062
2082
|
}
|
|
2063
2083
|
processAsset(record) {
|
|
@@ -2109,10 +2129,20 @@ class EsolveAssetsService {
|
|
|
2109
2129
|
}
|
|
2110
2130
|
return params;
|
|
2111
2131
|
}
|
|
2112
|
-
|
|
2113
|
-
|
|
2132
|
+
processAssetLists(records, total_records, options) {
|
|
2133
|
+
const assets = [];
|
|
2134
|
+
for (const record of records) {
|
|
2135
|
+
assets.push(this.processAsset(record));
|
|
2136
|
+
}
|
|
2137
|
+
const page = options?.page ?? 0;
|
|
2138
|
+
const rows = options?.rows ?? 0;
|
|
2139
|
+
const total = total_records;
|
|
2140
|
+
return new EsolveList(assets, page, rows, total);
|
|
2141
|
+
}
|
|
2142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, providedIn: 'root' }); }
|
|
2114
2144
|
}
|
|
2115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAssetsService, decorators: [{
|
|
2116
2146
|
type: Injectable,
|
|
2117
2147
|
args: [{
|
|
2118
2148
|
providedIn: 'root',
|
|
@@ -2648,10 +2678,10 @@ class EsolveLocationsService {
|
|
|
2648
2678
|
}
|
|
2649
2679
|
return stock_locations;
|
|
2650
2680
|
}
|
|
2651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2652
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
2681
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2682
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, providedIn: 'root' }); }
|
|
2653
2683
|
}
|
|
2654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveLocationsService, decorators: [{
|
|
2655
2685
|
type: Injectable,
|
|
2656
2686
|
args: [{
|
|
2657
2687
|
providedIn: 'root',
|
|
@@ -2854,10 +2884,10 @@ class EsolveTransactionsService {
|
|
|
2854
2884
|
}
|
|
2855
2885
|
return transactions;
|
|
2856
2886
|
}
|
|
2857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2858
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
2887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2888
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, providedIn: 'root' }); }
|
|
2859
2889
|
}
|
|
2860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveTransactionsService, decorators: [{
|
|
2861
2891
|
type: Injectable,
|
|
2862
2892
|
args: [{
|
|
2863
2893
|
providedIn: 'root',
|
|
@@ -2948,6 +2978,7 @@ class EsolveCartItem {
|
|
|
2948
2978
|
this.allow_orders = record.allow_orders ?? false;
|
|
2949
2979
|
this.must_collect = record.must_collect ?? false;
|
|
2950
2980
|
this.requested_assembly = record.requested_assembly ?? false;
|
|
2981
|
+
this.is_dependency = record.is_dependency ?? false;
|
|
2951
2982
|
this.stock_item = new EsolveCartStockItem(record);
|
|
2952
2983
|
}
|
|
2953
2984
|
}
|
|
@@ -3237,10 +3268,10 @@ class EsolveCouponsService {
|
|
|
3237
3268
|
}
|
|
3238
3269
|
return coupons;
|
|
3239
3270
|
}
|
|
3240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
3241
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
3271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, deps: [{ token: PLATFORM_ID }, { token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveCookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3272
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, providedIn: 'root' }); }
|
|
3242
3273
|
}
|
|
3243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
3274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCouponsService, decorators: [{
|
|
3244
3275
|
type: Injectable,
|
|
3245
3276
|
args: [{
|
|
3246
3277
|
providedIn: 'root',
|
|
@@ -3461,10 +3492,10 @@ class EsolveCartService {
|
|
|
3461
3492
|
const cart_totals = new EsolveCartTotals(+record.records, +record.items, +record.total, +record.vat, +record.discount);
|
|
3462
3493
|
return cart_totals;
|
|
3463
3494
|
}
|
|
3464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
3465
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
3495
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }, { token: EsolveCouponsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3496
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, providedIn: 'root' }); }
|
|
3466
3497
|
}
|
|
3467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
3498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveCartService, decorators: [{
|
|
3468
3499
|
type: Injectable,
|
|
3469
3500
|
args: [{
|
|
3470
3501
|
providedIn: 'root',
|
|
@@ -3868,10 +3899,10 @@ class EsolveAccountService {
|
|
|
3868
3899
|
return new EsolveLocationUpdateResult(response);
|
|
3869
3900
|
})));
|
|
3870
3901
|
}
|
|
3871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
3872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
3902
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveSessionService }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3903
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, providedIn: 'root' }); }
|
|
3873
3904
|
}
|
|
3874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
3905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveAccountService, decorators: [{
|
|
3875
3906
|
type: Injectable,
|
|
3876
3907
|
args: [{
|
|
3877
3908
|
providedIn: 'root',
|
|
@@ -4007,10 +4038,10 @@ class EsolveBannerService {
|
|
|
4007
4038
|
}
|
|
4008
4039
|
return banners;
|
|
4009
4040
|
}
|
|
4010
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
4011
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
4041
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4042
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, providedIn: 'root' }); }
|
|
4012
4043
|
}
|
|
4013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
4044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveBannerService, decorators: [{
|
|
4014
4045
|
type: Injectable,
|
|
4015
4046
|
args: [{
|
|
4016
4047
|
providedIn: 'root',
|
|
@@ -4077,10 +4108,10 @@ class EsolveMenuService {
|
|
|
4077
4108
|
}
|
|
4078
4109
|
return menu;
|
|
4079
4110
|
}
|
|
4080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
4081
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
4111
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4112
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, providedIn: 'root' }); }
|
|
4082
4113
|
}
|
|
4083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
4114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveMenuService, decorators: [{
|
|
4084
4115
|
type: Injectable,
|
|
4085
4116
|
args: [{
|
|
4086
4117
|
providedIn: 'root',
|
|
@@ -4292,10 +4323,10 @@ class EsolveNewsService {
|
|
|
4292
4323
|
}
|
|
4293
4324
|
return params;
|
|
4294
4325
|
}
|
|
4295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
4296
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
4326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, providedIn: 'root' }); }
|
|
4297
4328
|
}
|
|
4298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
4329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveNewsService, decorators: [{
|
|
4299
4330
|
type: Injectable,
|
|
4300
4331
|
args: [{
|
|
4301
4332
|
providedIn: 'root',
|
|
@@ -4434,6 +4465,14 @@ class EsolveStockItemBase {
|
|
|
4434
4465
|
* Code identifying the stock item
|
|
4435
4466
|
*/
|
|
4436
4467
|
this.code = '';
|
|
4468
|
+
/**
|
|
4469
|
+
* Code used by supplier
|
|
4470
|
+
*/
|
|
4471
|
+
this.supplier_code = '';
|
|
4472
|
+
/**
|
|
4473
|
+
* The barcode of the item
|
|
4474
|
+
*/
|
|
4475
|
+
this.barcode = '';
|
|
4437
4476
|
/**
|
|
4438
4477
|
* Name of the stock item
|
|
4439
4478
|
*/
|
|
@@ -4591,6 +4630,8 @@ class EsolveStockItemBase {
|
|
|
4591
4630
|
if (record) {
|
|
4592
4631
|
this.id = +(record.id ?? 0);
|
|
4593
4632
|
this.code = record.code ?? '';
|
|
4633
|
+
this.supplier_code = record.supplier_code ?? '';
|
|
4634
|
+
this.barcode = record.barcode ?? '';
|
|
4594
4635
|
this.name = record.name ?? '';
|
|
4595
4636
|
this.sef_name = record.sef_name ?? '';
|
|
4596
4637
|
this.search_composite = record.search_composite ?? '';
|
|
@@ -5268,10 +5309,10 @@ class EsolveStockService {
|
|
|
5268
5309
|
getStockHistoryRecords(params) {
|
|
5269
5310
|
return this.http.get(`${this.config.api_url}/get-items-transaction-history.php`, { params });
|
|
5270
5311
|
}
|
|
5271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
5272
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
5312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5313
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, providedIn: 'root' }); }
|
|
5273
5314
|
}
|
|
5274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
5315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveStockService, decorators: [{
|
|
5275
5316
|
type: Injectable,
|
|
5276
5317
|
args: [{
|
|
5277
5318
|
providedIn: 'root',
|
|
@@ -5418,10 +5459,10 @@ class EsolveSpecialsService {
|
|
|
5418
5459
|
processSpecial(record) {
|
|
5419
5460
|
return new EsolveSpecial(record);
|
|
5420
5461
|
}
|
|
5421
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
5422
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
5462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5463
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, providedIn: 'root' }); }
|
|
5423
5464
|
}
|
|
5424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
5465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSpecialsService, decorators: [{
|
|
5425
5466
|
type: Injectable,
|
|
5426
5467
|
args: [{
|
|
5427
5468
|
providedIn: 'root',
|
|
@@ -5764,10 +5805,10 @@ class EsolvePaymentService {
|
|
|
5764
5805
|
const year_string = card_data.expiry_year.padStart(4, '0');
|
|
5765
5806
|
return `${month_string}${year_string}`;
|
|
5766
5807
|
}
|
|
5767
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
5768
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
5808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5809
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, providedIn: 'root' }); }
|
|
5769
5810
|
}
|
|
5770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
5811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolvePaymentService, decorators: [{
|
|
5771
5812
|
type: Injectable,
|
|
5772
5813
|
args: [{
|
|
5773
5814
|
providedIn: 'root',
|
|
@@ -6036,10 +6077,10 @@ class EsolveShippingService {
|
|
|
6036
6077
|
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);
|
|
6037
6078
|
return shipping_cost;
|
|
6038
6079
|
}
|
|
6039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
6040
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
6080
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6081
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, providedIn: 'root' }); }
|
|
6041
6082
|
}
|
|
6042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
6083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveShippingService, decorators: [{
|
|
6043
6084
|
type: Injectable,
|
|
6044
6085
|
args: [{
|
|
6045
6086
|
providedIn: 'root',
|
|
@@ -6077,10 +6118,10 @@ class EsolveEnquiryService {
|
|
|
6077
6118
|
return this.errorHandler.handleHttpPostError('set-enquiry', errorRes);
|
|
6078
6119
|
}));
|
|
6079
6120
|
}
|
|
6080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
6081
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
6121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, deps: [{ token: EsolveConfigService }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6122
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, providedIn: 'root' }); }
|
|
6082
6123
|
}
|
|
6083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
6124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveEnquiryService, decorators: [{
|
|
6084
6125
|
type: Injectable,
|
|
6085
6126
|
args: [{
|
|
6086
6127
|
providedIn: 'root',
|
|
@@ -6198,10 +6239,10 @@ class EsolveWishlistService {
|
|
|
6198
6239
|
getWishlistRecords(params) {
|
|
6199
6240
|
return this.http.get(`${this.config.api_url}/get-wishlist.php`, { params });
|
|
6200
6241
|
}
|
|
6201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
6202
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
6242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }, { token: EsolveErrorHandlerService }, { token: EsolveResponseHandlerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6243
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, providedIn: 'root' }); }
|
|
6203
6244
|
}
|
|
6204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
6245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveWishlistService, decorators: [{
|
|
6205
6246
|
type: Injectable,
|
|
6206
6247
|
args: [{
|
|
6207
6248
|
providedIn: 'root',
|
|
@@ -6275,10 +6316,10 @@ class EsolveSuppliersService {
|
|
|
6275
6316
|
processSuppliers(record) {
|
|
6276
6317
|
return new EsolveSupplier(record);
|
|
6277
6318
|
}
|
|
6278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
6279
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
6319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, deps: [{ token: ESOLVE_CONNECT_CONFIG }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, providedIn: 'root' }); }
|
|
6280
6321
|
}
|
|
6281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
6322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EsolveSuppliersService, decorators: [{
|
|
6282
6323
|
type: Injectable,
|
|
6283
6324
|
args: [{
|
|
6284
6325
|
providedIn: 'root',
|