ng-easycommerce 0.0.587 → 0.0.588
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/README.md +2 -0
- package/bundles/ng-easycommerce.umd.js +542 -493
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/services/checkout/checkout.service.js +28 -8
- package/esm2015/lib/services/ip-address.service.js +34 -0
- package/esm2015/ng-easycommerce.js +11 -10
- package/esm5/lib/services/checkout/checkout.service.js +28 -8
- package/esm5/lib/services/ip-address.service.js +35 -0
- package/esm5/ng-easycommerce.js +11 -10
- package/fesm2015/ng-easycommerce.js +532 -485
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +534 -486
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/services/checkout/checkout.service.d.ts +3 -1
- package/lib/services/ip-address.service.d.ts +10 -0
- package/ng-easycommerce.d.ts +10 -9
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/ng-easycommerce.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Router, NavigationEnd, ActivatedRoute, NavigationStart, RouterModule }
|
|
|
5
5
|
import { HttpHeaders, HttpParams, HttpClient, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
6
6
|
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
7
7
|
import { ToastrService, ToastrModule } from 'ngx-toastr';
|
|
8
|
-
import { ReplaySubject, of, BehaviorSubject, combineLatest, Observable, throwError } from 'rxjs';
|
|
8
|
+
import { ReplaySubject, of, BehaviorSubject, forkJoin, combineLatest, Observable, throwError } from 'rxjs';
|
|
9
9
|
import 'rxjs/add/operator/map';
|
|
10
10
|
import { take, map, catchError, filter, mapTo, skipWhile, concatMap } from 'rxjs/operators';
|
|
11
11
|
import 'rxjs/add/operator/catch';
|
|
@@ -3332,6 +3332,36 @@ var ToastService = /** @class */ (function () {
|
|
|
3332
3332
|
return ToastService;
|
|
3333
3333
|
}());
|
|
3334
3334
|
|
|
3335
|
+
var __decorate$i = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3336
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3337
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3338
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3339
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3340
|
+
};
|
|
3341
|
+
var IpService = /** @class */ (function () {
|
|
3342
|
+
function IpService(http) {
|
|
3343
|
+
this.http = http;
|
|
3344
|
+
this.apiGetIp = 'https://api64.ipify.org?format=json'; // También puedes usar 'https://api.myip.com'
|
|
3345
|
+
this.apiGetLocation = 'http://ip-api.com/json/';
|
|
3346
|
+
}
|
|
3347
|
+
IpService.prototype.getIp = function () {
|
|
3348
|
+
return this.http.get(this.apiGetIp);
|
|
3349
|
+
};
|
|
3350
|
+
IpService.prototype.getLocation = function () {
|
|
3351
|
+
return this.http.get(this.apiGetLocation);
|
|
3352
|
+
};
|
|
3353
|
+
IpService.ctorParameters = function () { return [
|
|
3354
|
+
{ type: HttpClient }
|
|
3355
|
+
]; };
|
|
3356
|
+
IpService.ɵprov = ɵɵdefineInjectable({ factory: function IpService_Factory() { return new IpService(ɵɵinject(HttpClient)); }, token: IpService, providedIn: "root" });
|
|
3357
|
+
IpService = __decorate$i([
|
|
3358
|
+
Injectable({
|
|
3359
|
+
providedIn: 'root'
|
|
3360
|
+
})
|
|
3361
|
+
], IpService);
|
|
3362
|
+
return IpService;
|
|
3363
|
+
}());
|
|
3364
|
+
|
|
3335
3365
|
var __assign$6 = (this && this.__assign) || function () {
|
|
3336
3366
|
__assign$6 = Object.assign || function(t) {
|
|
3337
3367
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -3343,7 +3373,7 @@ var __assign$6 = (this && this.__assign) || function () {
|
|
|
3343
3373
|
};
|
|
3344
3374
|
return __assign$6.apply(this, arguments);
|
|
3345
3375
|
};
|
|
3346
|
-
var __decorate$
|
|
3376
|
+
var __decorate$j = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3347
3377
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3348
3378
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3349
3379
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3402,7 +3432,7 @@ var __read$2 = (this && this.__read) || function (o, n) {
|
|
|
3402
3432
|
return ar;
|
|
3403
3433
|
};
|
|
3404
3434
|
var CheckoutService = /** @class */ (function () {
|
|
3405
|
-
function CheckoutService$1(connection, cartService, consts, toastrService, orderUtils, analyticsService, authService, router, errorHandler) {
|
|
3435
|
+
function CheckoutService$1(connection, cartService, consts, toastrService, orderUtils, analyticsService, authService, router, errorHandler, ipService) {
|
|
3406
3436
|
var _this = this;
|
|
3407
3437
|
this.connection = connection;
|
|
3408
3438
|
this.cartService = cartService;
|
|
@@ -3413,6 +3443,7 @@ var CheckoutService = /** @class */ (function () {
|
|
|
3413
3443
|
this.authService = authService;
|
|
3414
3444
|
this.router = router;
|
|
3415
3445
|
this.errorHandler = errorHandler;
|
|
3446
|
+
this.ipService = ipService;
|
|
3416
3447
|
this.baseApi = function () { return 'shop-api/' + _this.consts.getChannel() + '/checkout/' + _this.cartService.getCartToken(); };
|
|
3417
3448
|
this.getPaymentMethodsApi = function () { return _this.baseApi() + '/payment'; };
|
|
3418
3449
|
this.putAddressApi = function () { return _this.baseApi() + '/address'; };
|
|
@@ -3444,9 +3475,25 @@ var CheckoutService = /** @class */ (function () {
|
|
|
3444
3475
|
var final_steps = [];
|
|
3445
3476
|
steps.forEach(function (step, i) { return final_steps.push(new Step(step.name, step.priority || (i + 1))); });
|
|
3446
3477
|
_this.stateSubject.next(final_steps);
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3478
|
+
// Obtener IP y ubicación
|
|
3479
|
+
forkJoin({
|
|
3480
|
+
ip: _this.ipService.getIp(),
|
|
3481
|
+
location: _this.ipService.getLocation()
|
|
3482
|
+
}).subscribe(function (results) {
|
|
3483
|
+
var _a, _b, _c;
|
|
3484
|
+
var params = {
|
|
3485
|
+
ip: (_a = results.ip) === null || _a === void 0 ? void 0 : _a.ip,
|
|
3486
|
+
country: (_b = results.location) === null || _b === void 0 ? void 0 : _b.country,
|
|
3487
|
+
city: (_c = results.location) === null || _c === void 0 ? void 0 : _c.city
|
|
3488
|
+
};
|
|
3489
|
+
// Convertir los datos a una cadena de consulta
|
|
3490
|
+
var queryString = new URLSearchParams(params).toString();
|
|
3491
|
+
// Agregar la cadena de consulta a la URL del endpoint
|
|
3492
|
+
var urlWithParams = _this.getHasPurchaseConditions() + "?" + queryString;
|
|
3493
|
+
_this.connection.getErrorNotHandler(urlWithParams).toPromise().then(function (res) {
|
|
3494
|
+
var _a, _b;
|
|
3495
|
+
_this.analyticsService.callEvent('checkout_init', __assign$6(__assign$6({}, _this.cartLocal), { currency: (_a = _this.cartLocal) === null || _a === void 0 ? void 0 : _a.currency, value: (_b = _this.cartLocal) === null || _b === void 0 ? void 0 : _b.total }));
|
|
3496
|
+
});
|
|
3450
3497
|
});
|
|
3451
3498
|
};
|
|
3452
3499
|
this.setStepReady = function (step_number, data, order, automatic) { return __awaiter$1(_this, void 0, void 0, function () {
|
|
@@ -3600,10 +3647,11 @@ var CheckoutService = /** @class */ (function () {
|
|
|
3600
3647
|
{ type: AnalyticsService },
|
|
3601
3648
|
{ type: AuthService },
|
|
3602
3649
|
{ type: Router },
|
|
3603
|
-
{ type: ErrorHandlerService }
|
|
3650
|
+
{ type: ErrorHandlerService },
|
|
3651
|
+
{ type: IpService }
|
|
3604
3652
|
]; };
|
|
3605
|
-
CheckoutService$1.ɵprov = ɵɵdefineInjectable({ factory: function CheckoutService_Factory() { return new CheckoutService(ɵɵinject(ConnectionService), ɵɵinject(CartService), ɵɵinject(Constants), ɵɵinject(ToastService), ɵɵinject(OrderUtilityService), ɵɵinject(AnalyticsService), ɵɵinject(AuthService), ɵɵinject(Router), ɵɵinject(ErrorHandlerService)); }, token: CheckoutService, providedIn: "root" });
|
|
3606
|
-
CheckoutService$1 = __decorate$
|
|
3653
|
+
CheckoutService$1.ɵprov = ɵɵdefineInjectable({ factory: function CheckoutService_Factory() { return new CheckoutService(ɵɵinject(ConnectionService), ɵɵinject(CartService), ɵɵinject(Constants), ɵɵinject(ToastService), ɵɵinject(OrderUtilityService), ɵɵinject(AnalyticsService), ɵɵinject(AuthService), ɵɵinject(Router), ɵɵinject(ErrorHandlerService), ɵɵinject(IpService)); }, token: CheckoutService, providedIn: "root" });
|
|
3654
|
+
CheckoutService$1 = __decorate$j([
|
|
3607
3655
|
Injectable({
|
|
3608
3656
|
providedIn: 'root'
|
|
3609
3657
|
})
|
|
@@ -3708,7 +3756,7 @@ var __assign$7 = (this && this.__assign) || function () {
|
|
|
3708
3756
|
};
|
|
3709
3757
|
return __assign$7.apply(this, arguments);
|
|
3710
3758
|
};
|
|
3711
|
-
var __decorate$
|
|
3759
|
+
var __decorate$k = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3712
3760
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3713
3761
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3714
3762
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3944,7 +3992,7 @@ var AddressingService = /** @class */ (function (_super) {
|
|
|
3944
3992
|
{ type: AnalyticsService }
|
|
3945
3993
|
]; };
|
|
3946
3994
|
AddressingService$1.ɵprov = ɵɵdefineInjectable({ factory: function AddressingService_Factory() { return new AddressingService(ɵɵinject(ConnectionService), ɵɵinject(Constants), ɵɵinject(CartService), ɵɵinject(CheckoutService), ɵɵinject(AnalyticsService)); }, token: AddressingService, providedIn: "root" });
|
|
3947
|
-
AddressingService$1 = __decorate$
|
|
3995
|
+
AddressingService$1 = __decorate$k([
|
|
3948
3996
|
Injectable({
|
|
3949
3997
|
providedIn: 'root'
|
|
3950
3998
|
})
|
|
@@ -3952,7 +4000,7 @@ var AddressingService = /** @class */ (function (_super) {
|
|
|
3952
4000
|
return AddressingService$1;
|
|
3953
4001
|
}(StepService));
|
|
3954
4002
|
|
|
3955
|
-
var __decorate$
|
|
4003
|
+
var __decorate$l = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3956
4004
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3957
4005
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3958
4006
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -4042,7 +4090,7 @@ var ChannelConfigService = /** @class */ (function () {
|
|
|
4042
4090
|
{ type: Injector }
|
|
4043
4091
|
]; };
|
|
4044
4092
|
ChannelConfigService$1.ɵprov = ɵɵdefineInjectable({ factory: function ChannelConfigService_Factory() { return new ChannelConfigService(ɵɵinject(Constants), ɵɵinject("env"), ɵɵinject(ConnectionService), ɵɵinject(INJECTOR)); }, token: ChannelConfigService, providedIn: "root" });
|
|
4045
|
-
ChannelConfigService$1 = __decorate$
|
|
4093
|
+
ChannelConfigService$1 = __decorate$l([
|
|
4046
4094
|
Injectable({
|
|
4047
4095
|
providedIn: 'root'
|
|
4048
4096
|
}),
|
|
@@ -4062,7 +4110,7 @@ var __assign$8 = (this && this.__assign) || function () {
|
|
|
4062
4110
|
};
|
|
4063
4111
|
return __assign$8.apply(this, arguments);
|
|
4064
4112
|
};
|
|
4065
|
-
var __decorate$
|
|
4113
|
+
var __decorate$m = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4066
4114
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4067
4115
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4068
4116
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -4441,7 +4489,7 @@ var AuthService = /** @class */ (function () {
|
|
|
4441
4489
|
{ type: Injector }
|
|
4442
4490
|
]; };
|
|
4443
4491
|
AuthService$1.ɵprov = ɵɵdefineInjectable({ factory: function AuthService_Factory() { return new AuthService(ɵɵinject(ConnectionService), ɵɵinject(ToastrService), ɵɵinject(Constants), ɵɵinject(INJECTOR)); }, token: AuthService, providedIn: "root" });
|
|
4444
|
-
AuthService$1 = __decorate$
|
|
4492
|
+
AuthService$1 = __decorate$m([
|
|
4445
4493
|
Injectable({
|
|
4446
4494
|
providedIn: 'root'
|
|
4447
4495
|
})
|
|
@@ -4460,7 +4508,7 @@ var __assign$9 = (this && this.__assign) || function () {
|
|
|
4460
4508
|
};
|
|
4461
4509
|
return __assign$9.apply(this, arguments);
|
|
4462
4510
|
};
|
|
4463
|
-
var __decorate$
|
|
4511
|
+
var __decorate$n = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4464
4512
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4465
4513
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4466
4514
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5105,7 +5153,7 @@ var CartService = /** @class */ (function () {
|
|
|
5105
5153
|
{ type: Router }
|
|
5106
5154
|
]; };
|
|
5107
5155
|
CartService$1.ɵprov = ɵɵdefineInjectable({ factory: function CartService_Factory() { return new CartService(ɵɵinject(ConnectionService), ɵɵinject(ToastService), ɵɵinject(Constants), ɵɵinject(AuthService), ɵɵinject(OrderUtilityService), ɵɵinject(AnalyticsService), ɵɵinject(ChannelConfigService), ɵɵinject(Router)); }, token: CartService, providedIn: "root" });
|
|
5108
|
-
CartService$1 = __decorate$
|
|
5156
|
+
CartService$1 = __decorate$n([
|
|
5109
5157
|
Injectable({
|
|
5110
5158
|
providedIn: 'root'
|
|
5111
5159
|
})
|
|
@@ -5124,7 +5172,7 @@ var __assign$a = (this && this.__assign) || function () {
|
|
|
5124
5172
|
};
|
|
5125
5173
|
return __assign$a.apply(this, arguments);
|
|
5126
5174
|
};
|
|
5127
|
-
var __decorate$
|
|
5175
|
+
var __decorate$o = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5128
5176
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5129
5177
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5130
5178
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5214,7 +5262,7 @@ var OrdersService = /** @class */ (function () {
|
|
|
5214
5262
|
{ type: Constants }
|
|
5215
5263
|
]; };
|
|
5216
5264
|
OrdersService$1.ɵprov = ɵɵdefineInjectable({ factory: function OrdersService_Factory() { return new OrdersService(ɵɵinject(ConnectionService), ɵɵinject(CartService), ɵɵinject(Router), ɵɵinject(Constants)); }, token: OrdersService, providedIn: "root" });
|
|
5217
|
-
OrdersService$1 = __decorate$
|
|
5265
|
+
OrdersService$1 = __decorate$o([
|
|
5218
5266
|
Injectable({
|
|
5219
5267
|
providedIn: 'root'
|
|
5220
5268
|
})
|
|
@@ -5233,7 +5281,7 @@ var __assign$b = (this && this.__assign) || function () {
|
|
|
5233
5281
|
};
|
|
5234
5282
|
return __assign$b.apply(this, arguments);
|
|
5235
5283
|
};
|
|
5236
|
-
var __decorate$
|
|
5284
|
+
var __decorate$p = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5237
5285
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5238
5286
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5239
5287
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5292,13 +5340,13 @@ var ShipmentDataTransformer = /** @class */ (function () {
|
|
|
5292
5340
|
return result;
|
|
5293
5341
|
};
|
|
5294
5342
|
}
|
|
5295
|
-
ShipmentDataTransformer = __decorate$
|
|
5343
|
+
ShipmentDataTransformer = __decorate$p([
|
|
5296
5344
|
Injectable()
|
|
5297
5345
|
], ShipmentDataTransformer);
|
|
5298
5346
|
return ShipmentDataTransformer;
|
|
5299
5347
|
}());
|
|
5300
5348
|
|
|
5301
|
-
var __decorate$
|
|
5349
|
+
var __decorate$q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5302
5350
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5303
5351
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5304
5352
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5322,7 +5370,7 @@ var StoresService = /** @class */ (function () {
|
|
|
5322
5370
|
{ type: Constants }
|
|
5323
5371
|
]; };
|
|
5324
5372
|
StoresService$1.ɵprov = ɵɵdefineInjectable({ factory: function StoresService_Factory() { return new StoresService(ɵɵinject(ConnectionService), ɵɵinject(Constants)); }, token: StoresService, providedIn: "root" });
|
|
5325
|
-
StoresService$1 = __decorate$
|
|
5373
|
+
StoresService$1 = __decorate$q([
|
|
5326
5374
|
Injectable({
|
|
5327
5375
|
providedIn: 'root'
|
|
5328
5376
|
})
|
|
@@ -5354,7 +5402,7 @@ var __assign$c = (this && this.__assign) || function () {
|
|
|
5354
5402
|
};
|
|
5355
5403
|
return __assign$c.apply(this, arguments);
|
|
5356
5404
|
};
|
|
5357
|
-
var __decorate$
|
|
5405
|
+
var __decorate$r = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5358
5406
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5359
5407
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5360
5408
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5578,7 +5626,7 @@ var ShipmentService = /** @class */ (function (_super) {
|
|
|
5578
5626
|
{ type: StoresService },
|
|
5579
5627
|
{ type: CheckoutService }
|
|
5580
5628
|
]; };
|
|
5581
|
-
ShipmentService = __decorate$
|
|
5629
|
+
ShipmentService = __decorate$r([
|
|
5582
5630
|
Injectable()
|
|
5583
5631
|
], ShipmentService);
|
|
5584
5632
|
return ShipmentService;
|
|
@@ -5590,7 +5638,7 @@ var FilterOptionTypes;
|
|
|
5590
5638
|
FilterOptionTypes["multiSelect"] = "multi-select";
|
|
5591
5639
|
})(FilterOptionTypes || (FilterOptionTypes = {}));
|
|
5592
5640
|
|
|
5593
|
-
var __decorate$
|
|
5641
|
+
var __decorate$s = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5594
5642
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5595
5643
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5596
5644
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5679,13 +5727,13 @@ var OptionsOfProductListDataReceiverService = /** @class */ (function () {
|
|
|
5679
5727
|
],
|
|
5680
5728
|
};
|
|
5681
5729
|
};
|
|
5682
|
-
OptionsOfProductListDataReceiverService = __decorate$
|
|
5730
|
+
OptionsOfProductListDataReceiverService = __decorate$s([
|
|
5683
5731
|
Injectable()
|
|
5684
5732
|
], OptionsOfProductListDataReceiverService);
|
|
5685
5733
|
return OptionsOfProductListDataReceiverService;
|
|
5686
5734
|
}());
|
|
5687
5735
|
|
|
5688
|
-
var __decorate$
|
|
5736
|
+
var __decorate$t = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5689
5737
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5690
5738
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5691
5739
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5722,13 +5770,13 @@ var DataformService = /** @class */ (function () {
|
|
|
5722
5770
|
{ type: FormBuilder },
|
|
5723
5771
|
{ type: AuthService }
|
|
5724
5772
|
]; };
|
|
5725
|
-
DataformService = __decorate$
|
|
5773
|
+
DataformService = __decorate$t([
|
|
5726
5774
|
Injectable()
|
|
5727
5775
|
], DataformService);
|
|
5728
5776
|
return DataformService;
|
|
5729
5777
|
}());
|
|
5730
5778
|
|
|
5731
|
-
var __decorate$
|
|
5779
|
+
var __decorate$u = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5732
5780
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5733
5781
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5734
5782
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5812,13 +5860,13 @@ var BlocksRepositoryService = /** @class */ (function () {
|
|
|
5812
5860
|
{ type: Constants },
|
|
5813
5861
|
{ type: ConnectionService }
|
|
5814
5862
|
]; };
|
|
5815
|
-
BlocksRepositoryService = __decorate$
|
|
5863
|
+
BlocksRepositoryService = __decorate$u([
|
|
5816
5864
|
Injectable()
|
|
5817
5865
|
], BlocksRepositoryService);
|
|
5818
5866
|
return BlocksRepositoryService;
|
|
5819
5867
|
}());
|
|
5820
5868
|
|
|
5821
|
-
var __decorate$
|
|
5869
|
+
var __decorate$v = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5822
5870
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5823
5871
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5824
5872
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5885,13 +5933,13 @@ var BlocksService = /** @class */ (function () {
|
|
|
5885
5933
|
{ type: ConnectionService },
|
|
5886
5934
|
{ type: BlocksRepositoryService }
|
|
5887
5935
|
]; };
|
|
5888
|
-
BlocksService = __decorate$
|
|
5936
|
+
BlocksService = __decorate$v([
|
|
5889
5937
|
Injectable()
|
|
5890
5938
|
], BlocksService);
|
|
5891
5939
|
return BlocksService;
|
|
5892
5940
|
}());
|
|
5893
5941
|
|
|
5894
|
-
var __decorate$
|
|
5942
|
+
var __decorate$w = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5895
5943
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5896
5944
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5897
5945
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5905,13 +5953,13 @@ var UtilsService = /** @class */ (function () {
|
|
|
5905
5953
|
return word;
|
|
5906
5954
|
return word[0].toUpperCase() + word.substr(1).toLowerCase();
|
|
5907
5955
|
};
|
|
5908
|
-
UtilsService = __decorate$
|
|
5956
|
+
UtilsService = __decorate$w([
|
|
5909
5957
|
Injectable()
|
|
5910
5958
|
], UtilsService);
|
|
5911
5959
|
return UtilsService;
|
|
5912
5960
|
}());
|
|
5913
5961
|
|
|
5914
|
-
var __decorate$
|
|
5962
|
+
var __decorate$x = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5915
5963
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5916
5964
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5917
5965
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5940,13 +5988,13 @@ var PaymentUtils = /** @class */ (function () {
|
|
|
5940
5988
|
};
|
|
5941
5989
|
this.getErrorMessage = function (code) { return _this.mp_error_codes[code]; };
|
|
5942
5990
|
}
|
|
5943
|
-
PaymentUtils = __decorate$
|
|
5991
|
+
PaymentUtils = __decorate$x([
|
|
5944
5992
|
Injectable()
|
|
5945
5993
|
], PaymentUtils);
|
|
5946
5994
|
return PaymentUtils;
|
|
5947
5995
|
}());
|
|
5948
5996
|
|
|
5949
|
-
var __decorate$
|
|
5997
|
+
var __decorate$y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5950
5998
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5951
5999
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5952
6000
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5968,7 +6016,7 @@ var AuthGuardService = /** @class */ (function () {
|
|
|
5968
6016
|
{ type: Router }
|
|
5969
6017
|
]; };
|
|
5970
6018
|
AuthGuardService$1.ɵprov = ɵɵdefineInjectable({ factory: function AuthGuardService_Factory() { return new AuthGuardService(ɵɵinject(AuthService), ɵɵinject(Router)); }, token: AuthGuardService, providedIn: "root" });
|
|
5971
|
-
AuthGuardService$1 = __decorate$
|
|
6019
|
+
AuthGuardService$1 = __decorate$y([
|
|
5972
6020
|
Injectable({
|
|
5973
6021
|
providedIn: 'root'
|
|
5974
6022
|
})
|
|
@@ -5976,7 +6024,7 @@ var AuthGuardService = /** @class */ (function () {
|
|
|
5976
6024
|
return AuthGuardService$1;
|
|
5977
6025
|
}());
|
|
5978
6026
|
|
|
5979
|
-
var __decorate$
|
|
6027
|
+
var __decorate$z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5980
6028
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5981
6029
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5982
6030
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -5998,7 +6046,7 @@ var AbleBuyerGuardService = /** @class */ (function () {
|
|
|
5998
6046
|
{ type: Router }
|
|
5999
6047
|
]; };
|
|
6000
6048
|
AbleBuyerGuardService$1.ɵprov = ɵɵdefineInjectable({ factory: function AbleBuyerGuardService_Factory() { return new AbleBuyerGuardService(ɵɵinject(AuthService), ɵɵinject(Router)); }, token: AbleBuyerGuardService, providedIn: "root" });
|
|
6001
|
-
AbleBuyerGuardService$1 = __decorate$
|
|
6049
|
+
AbleBuyerGuardService$1 = __decorate$z([
|
|
6002
6050
|
Injectable({
|
|
6003
6051
|
providedIn: 'root'
|
|
6004
6052
|
})
|
|
@@ -6006,7 +6054,7 @@ var AbleBuyerGuardService = /** @class */ (function () {
|
|
|
6006
6054
|
return AbleBuyerGuardService$1;
|
|
6007
6055
|
}());
|
|
6008
6056
|
|
|
6009
|
-
var __decorate$
|
|
6057
|
+
var __decorate$A = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6010
6058
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6011
6059
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6012
6060
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6030,7 +6078,7 @@ var UserRoleGuardService = /** @class */ (function () {
|
|
|
6030
6078
|
{ type: Router }
|
|
6031
6079
|
]; };
|
|
6032
6080
|
UserRoleGuardService$1.ɵprov = ɵɵdefineInjectable({ factory: function UserRoleGuardService_Factory() { return new UserRoleGuardService(ɵɵinject(AuthService), ɵɵinject(Router)); }, token: UserRoleGuardService, providedIn: "root" });
|
|
6033
|
-
UserRoleGuardService$1 = __decorate$
|
|
6081
|
+
UserRoleGuardService$1 = __decorate$A([
|
|
6034
6082
|
Injectable({
|
|
6035
6083
|
providedIn: 'root'
|
|
6036
6084
|
})
|
|
@@ -6038,7 +6086,7 @@ var UserRoleGuardService = /** @class */ (function () {
|
|
|
6038
6086
|
return UserRoleGuardService$1;
|
|
6039
6087
|
}());
|
|
6040
6088
|
|
|
6041
|
-
var __decorate$
|
|
6089
|
+
var __decorate$B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6042
6090
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6043
6091
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6044
6092
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6060,7 +6108,7 @@ var LoggedInGuard = /** @class */ (function () {
|
|
|
6060
6108
|
{ type: Router }
|
|
6061
6109
|
]; };
|
|
6062
6110
|
LoggedInGuard$1.ɵprov = ɵɵdefineInjectable({ factory: function LoggedInGuard_Factory() { return new LoggedInGuard(ɵɵinject(AuthService), ɵɵinject(Router)); }, token: LoggedInGuard, providedIn: "root" });
|
|
6063
|
-
LoggedInGuard$1 = __decorate$
|
|
6111
|
+
LoggedInGuard$1 = __decorate$B([
|
|
6064
6112
|
Injectable({
|
|
6065
6113
|
providedIn: 'root'
|
|
6066
6114
|
})
|
|
@@ -6068,7 +6116,7 @@ var LoggedInGuard = /** @class */ (function () {
|
|
|
6068
6116
|
return LoggedInGuard$1;
|
|
6069
6117
|
}());
|
|
6070
6118
|
|
|
6071
|
-
var __decorate$
|
|
6119
|
+
var __decorate$C = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6072
6120
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6073
6121
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6074
6122
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6090,7 +6138,7 @@ var CheckoutReadyGuard = /** @class */ (function () {
|
|
|
6090
6138
|
{ type: CheckoutService }
|
|
6091
6139
|
]; };
|
|
6092
6140
|
CheckoutReadyGuard$1.ɵprov = ɵɵdefineInjectable({ factory: function CheckoutReadyGuard_Factory() { return new CheckoutReadyGuard(ɵɵinject(Router), ɵɵinject(CheckoutService)); }, token: CheckoutReadyGuard, providedIn: "root" });
|
|
6093
|
-
CheckoutReadyGuard$1 = __decorate$
|
|
6141
|
+
CheckoutReadyGuard$1 = __decorate$C([
|
|
6094
6142
|
Injectable({
|
|
6095
6143
|
providedIn: 'root'
|
|
6096
6144
|
})
|
|
@@ -6098,7 +6146,7 @@ var CheckoutReadyGuard = /** @class */ (function () {
|
|
|
6098
6146
|
return CheckoutReadyGuard$1;
|
|
6099
6147
|
}());
|
|
6100
6148
|
|
|
6101
|
-
var __decorate$
|
|
6149
|
+
var __decorate$D = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6102
6150
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6103
6151
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6104
6152
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6142,13 +6190,13 @@ var AuthInterceptor = /** @class */ (function () {
|
|
|
6142
6190
|
AuthInterceptor.ctorParameters = function () { return [
|
|
6143
6191
|
{ type: Injector }
|
|
6144
6192
|
]; };
|
|
6145
|
-
AuthInterceptor = __decorate$
|
|
6193
|
+
AuthInterceptor = __decorate$D([
|
|
6146
6194
|
Injectable()
|
|
6147
6195
|
], AuthInterceptor);
|
|
6148
6196
|
return AuthInterceptor;
|
|
6149
6197
|
}());
|
|
6150
6198
|
|
|
6151
|
-
var __decorate$
|
|
6199
|
+
var __decorate$E = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6152
6200
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6153
6201
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6154
6202
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6186,7 +6234,7 @@ var CustomerInterceptor = /** @class */ (function () {
|
|
|
6186
6234
|
CustomerInterceptor.ctorParameters = function () { return [
|
|
6187
6235
|
{ type: Injector }
|
|
6188
6236
|
]; };
|
|
6189
|
-
CustomerInterceptor = __decorate$
|
|
6237
|
+
CustomerInterceptor = __decorate$E([
|
|
6190
6238
|
Injectable()
|
|
6191
6239
|
], CustomerInterceptor);
|
|
6192
6240
|
return CustomerInterceptor;
|
|
@@ -6209,7 +6257,7 @@ var ComponentHelper = /** @class */ (function () {
|
|
|
6209
6257
|
return ComponentHelper;
|
|
6210
6258
|
}());
|
|
6211
6259
|
|
|
6212
|
-
var __decorate$
|
|
6260
|
+
var __decorate$F = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6213
6261
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6214
6262
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6215
6263
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6267,7 +6315,7 @@ var ParametersService = /** @class */ (function () {
|
|
|
6267
6315
|
{ type: AnalyticsService }
|
|
6268
6316
|
]; };
|
|
6269
6317
|
ParametersService$1.ɵprov = ɵɵdefineInjectable({ factory: function ParametersService_Factory() { return new ParametersService(ɵɵinject(ConnectionService), ɵɵinject(Constants), ɵɵinject(AnalyticsService)); }, token: ParametersService, providedIn: "root" });
|
|
6270
|
-
ParametersService$1 = __decorate$
|
|
6318
|
+
ParametersService$1 = __decorate$F([
|
|
6271
6319
|
Injectable({
|
|
6272
6320
|
providedIn: 'root'
|
|
6273
6321
|
})
|
|
@@ -6288,7 +6336,7 @@ var __extends$8 = (this && this.__extends) || (function () {
|
|
|
6288
6336
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6289
6337
|
};
|
|
6290
6338
|
})();
|
|
6291
|
-
var __decorate$
|
|
6339
|
+
var __decorate$G = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6292
6340
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6293
6341
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6294
6342
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6321,7 +6369,7 @@ var AccountEcComponent = /** @class */ (function (_super) {
|
|
|
6321
6369
|
{ type: Router },
|
|
6322
6370
|
{ type: ParametersService }
|
|
6323
6371
|
]; };
|
|
6324
|
-
AccountEcComponent = __decorate$
|
|
6372
|
+
AccountEcComponent = __decorate$G([
|
|
6325
6373
|
Component({
|
|
6326
6374
|
selector: 'app-account-ec',
|
|
6327
6375
|
template: "<section class=\"perfil mt-5\" id=\"accountEcComponent\">\r\n <div class=\"container row w-100 mx-auto py-md-3\">\r\n <div class=\"col-12 py-3\">\r\n <div class=\"row w-100 mx-auto border-bottom justify-content-between align-items-center py-3\">\r\n <h3 class=\"text-black w-auto\">MIS PEDIDOS</h3>\r\n <button class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto\" (click)=\"logout()\">CERRAR\r\n SESI\u00D3N</button>\r\n </div>\r\n <app-orders-ec></app-orders-ec>\r\n </div>\r\n </div>\r\n</section>",
|
|
@@ -6355,7 +6403,7 @@ var __assign$d = (this && this.__assign) || function () {
|
|
|
6355
6403
|
};
|
|
6356
6404
|
return __assign$d.apply(this, arguments);
|
|
6357
6405
|
};
|
|
6358
|
-
var __decorate$
|
|
6406
|
+
var __decorate$H = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6359
6407
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6360
6408
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6361
6409
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6462,25 +6510,25 @@ var BlockBannerBoxesEcComponent = /** @class */ (function (_super) {
|
|
|
6462
6510
|
{ type: AnalyticsService },
|
|
6463
6511
|
{ type: ParametersService }
|
|
6464
6512
|
]; };
|
|
6465
|
-
__decorate$
|
|
6513
|
+
__decorate$H([
|
|
6466
6514
|
Input()
|
|
6467
6515
|
], BlockBannerBoxesEcComponent.prototype, "banners", void 0);
|
|
6468
|
-
__decorate$
|
|
6516
|
+
__decorate$H([
|
|
6469
6517
|
Input()
|
|
6470
6518
|
], BlockBannerBoxesEcComponent.prototype, "meta", void 0);
|
|
6471
|
-
__decorate$
|
|
6519
|
+
__decorate$H([
|
|
6472
6520
|
Input()
|
|
6473
6521
|
], BlockBannerBoxesEcComponent.prototype, "dots", void 0);
|
|
6474
|
-
__decorate$
|
|
6522
|
+
__decorate$H([
|
|
6475
6523
|
Input()
|
|
6476
6524
|
], BlockBannerBoxesEcComponent.prototype, "nav", void 0);
|
|
6477
|
-
__decorate$
|
|
6525
|
+
__decorate$H([
|
|
6478
6526
|
Input()
|
|
6479
6527
|
], BlockBannerBoxesEcComponent.prototype, "loop", void 0);
|
|
6480
|
-
__decorate$
|
|
6528
|
+
__decorate$H([
|
|
6481
6529
|
Input()
|
|
6482
6530
|
], BlockBannerBoxesEcComponent.prototype, "margin", void 0);
|
|
6483
|
-
BlockBannerBoxesEcComponent = __decorate$
|
|
6531
|
+
BlockBannerBoxesEcComponent = __decorate$H([
|
|
6484
6532
|
Component({
|
|
6485
6533
|
selector: 'app-block-banner-boxes-ec',
|
|
6486
6534
|
template: "<section [ngClass]=\"trimClassBlock(meta.code) + ' container-fluid'\" *ngIf=\"banners.length\"\r\n [style.background-color]=\"meta.styles?.backgroundColor\"\r\n [style.background-image]=\"meta.styles?.backgroundImage ? 'url(' + consts.mediaUrl() + meta.styles?.backgroundImage +')' : 'inherit'\">\r\n\r\n\r\n <div class=\"block-boxes\">\r\n <div class=\"row\" *ngIf=\"meta.name\">\r\n <div class=\"col-12 mt-4\">\r\n <h2 class=\"font-weight-normal font-gd\">\r\n <span>{{meta.name}}</span>\r\n </h2>\r\n </div>\r\n </div>\r\n\r\n <!-- Si es formato fijo -->\r\n <ng-container *ngIf=\"meta.styles && meta.styles.carrousel == false ; else carrousel\">\r\n\r\n <div class=\"banner-content\">\r\n\r\n <div class=\"row g-0\">\r\n <div [class]=\"'item '+ ' col-md-6 ' + ' col-lg-' + (12/banners.length) \"\r\n *ngFor=\"let banner of banners; let i = index\" [id]=\"i\">\r\n <img class=\"img-fluid\" [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n <div class=\"position-absolute w-100 top-0 start-0 h-100\">\r\n <h2 [class]=\"'item-title px-2 item-position-vertical-'+ (banner.styles?.description?.position)\" \r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000'\">\r\n {{banner.title}}\r\n </h2>\r\n <p *ngIf=\"banner.subtitle\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle item-position-vertical-' + (banner.styles?.description?.position)\">\r\n {{banner.subtitle}}\r\n </p>\r\n <div [class]=\"'item-position-vertical-' + (banner.styles?.button?.position)\">\r\n <a *ngIf=\"banner.styles?.button?.text\" href=\"{{banner.url}}\"\r\n [class]=\"'item-button btn btn-light'\">\r\n {{banner.styles.button.text}}\r\n </a>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </ng-container>\r\n\r\n <!-- Si es Carrousel -->\r\n <ng-template #carrousel>\r\n\r\n\r\n <!-- carrousel mobile -->\r\n <ng-container *ngIf=\"consts.mobile(); else carrouselNormal\">\r\n <div class=\"banner-content mobile carrousel\">\r\n\r\n <div class=\"row my-2\">\r\n\r\n <div class=\"col-12 item-carrousel\" *ngFor=\"let banner of banners; let i = index\" [id]=\"i\">\r\n <a href=\"{{banner.url}}\">\r\n <img class=\"img-fluid\" [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n <div class=\"position-absolute w-100 top-0 start-0 h-100\">\r\n <h2 *ngIf=\"banner.title\" [class]=\"'item-title-fullpx-2 item-position-vertical-'+ (banner.styles?.description?.position)\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#fff' \">\r\n {{banner.title}}\r\n </h2>\r\n <p *ngIf=\"banner.subtitle\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle item-position-vertical-' + (banner.styles?.description?.position)\">\r\n {{banner.subtitle}}\r\n </p>\r\n <div [class]=\"'item-position-vertical-' + (banner.styles?.button?.position)\">\r\n <a *ngIf=\"banner.styles?.button?.text\" href=\"{{banner.url}}\"\r\n [class]=\"'item-button btn btn-light'\">\r\n {{banner.styles.button.text}}\r\n </a>\r\n </div>\r\n </div>\r\n </a>\r\n\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- carrousel desktop -->\r\n <ng-template #carrouselNormal>\r\n\r\n <owl-carousel-o [options]=\"options\">\r\n <ng-template carouselSlide *ngFor=\"let banner of banners; let i = index\" [id]=\"i\">\r\n\r\n <div class=\"banner-content carrousel\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n <div class=\"position-absolute w-100 top-0 start-0 h-100\">\r\n <h2 *ngIf=\"banner.title\" \r\n [class]=\"'item-title-full px-2 item-position-vertical-'+ (banner.styles?.description?.position)\"\r\n style=\"color:#fff\">\r\n {{banner.title}}\r\n </h2>\r\n <p *ngIf=\"banner.subtitle\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle-full item-position-vertical-' + (banner.styles?.description?.position)\">\r\n {{banner.subtitle}}\r\n </p>\r\n <div [class]=\"'item-position-vertical-' + (banner.styles?.button?.position)\">\r\n <a *ngIf=\"banner.styles?.button?.text\" href=\"{{banner.url}}\"\r\n [style.background-color]=\"(banner.styles?.button?.color) ? banner.styles?.button?.color : '#fff' \"\r\n [class]=\"'item-button-full btn btn-light'\">\r\n {{banner.styles.button.text}}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- <div *ngIf=\"!banner.url; else externalUrl\" class=\"item-carrousel\">\r\n <a [routerLink]=\"formUrl(banner)\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\"></a>\r\n </div>\r\n <ng-template #externalUrl>\r\n <div class=\"item-carrousel\">\r\n <a href=\"{{banner.url}}\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n <div class=\"bottom-left\">\r\n {{banner.title}}\r\n </div>\r\n\r\n </a>\r\n </div>\r\n </ng-template> -->\r\n </ng-template>\r\n </owl-carousel-o>\r\n\r\n </ng-template>\r\n\r\n </ng-template>\r\n </div>\r\n</section>",
|
|
@@ -6514,7 +6562,7 @@ var __assign$e = (this && this.__assign) || function () {
|
|
|
6514
6562
|
};
|
|
6515
6563
|
return __assign$e.apply(this, arguments);
|
|
6516
6564
|
};
|
|
6517
|
-
var __decorate$
|
|
6565
|
+
var __decorate$I = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6518
6566
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6519
6567
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6520
6568
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6593,25 +6641,25 @@ var BlockBannerFullEcComponent = /** @class */ (function (_super) {
|
|
|
6593
6641
|
{ type: Router },
|
|
6594
6642
|
{ type: AnalyticsService }
|
|
6595
6643
|
]; };
|
|
6596
|
-
__decorate$
|
|
6644
|
+
__decorate$I([
|
|
6597
6645
|
Input()
|
|
6598
6646
|
], BlockBannerFullEcComponent.prototype, "banners", void 0);
|
|
6599
|
-
__decorate$
|
|
6647
|
+
__decorate$I([
|
|
6600
6648
|
Input()
|
|
6601
6649
|
], BlockBannerFullEcComponent.prototype, "meta", void 0);
|
|
6602
|
-
__decorate$
|
|
6650
|
+
__decorate$I([
|
|
6603
6651
|
Input()
|
|
6604
6652
|
], BlockBannerFullEcComponent.prototype, "dots", void 0);
|
|
6605
|
-
__decorate$
|
|
6653
|
+
__decorate$I([
|
|
6606
6654
|
Input()
|
|
6607
6655
|
], BlockBannerFullEcComponent.prototype, "nav", void 0);
|
|
6608
|
-
__decorate$
|
|
6656
|
+
__decorate$I([
|
|
6609
6657
|
Input()
|
|
6610
6658
|
], BlockBannerFullEcComponent.prototype, "loop", void 0);
|
|
6611
|
-
__decorate$
|
|
6659
|
+
__decorate$I([
|
|
6612
6660
|
Input()
|
|
6613
6661
|
], BlockBannerFullEcComponent.prototype, "margin", void 0);
|
|
6614
|
-
BlockBannerFullEcComponent = __decorate$
|
|
6662
|
+
BlockBannerFullEcComponent = __decorate$I([
|
|
6615
6663
|
Component({
|
|
6616
6664
|
selector: 'app-block-banner-full-ec',
|
|
6617
6665
|
template: "<section [ngClass]=\"trimClassBlock(meta.code) + ' container-fluid px-0'\" *ngIf=\"banners.length\"\r\n [style.background-color]=\"meta.styles?.backgroundColor\"\r\n [style.background-image]=\"meta.styles?.backgroundImage ? 'url(' + consts.mediaUrl() + meta.styles?.backgroundImage +')' : 'inherit'\">\r\n\r\n\r\n <!-- si es formato fijo -->\r\n <ng-container *ngIf=\"banners.length == 1;else carrousel \">\r\n\r\n <div class=\"row justify-content-center\">\r\n <!-- banner sin boton -->\r\n <a *ngIf=\"!banners[0].styles?.button?.text; else fullwithButton\" href=\"{{banners[0].url}}\">\r\n <div class=\"item col-12\">\r\n <img class=\"img-fluid\" [src]=\"consts.mediaBannerUrl() + getImage(banners[0])\" alt=\"\">\r\n <div class=\"position-absolute w-100 h-100 start-0 top-0\">\r\n <h2 *ngIf=\"banners[0].title\" [class]=\"'item-title-full px-2 item-position-vertical-' + (banners[0].styles?.description?.position)\"\r\n [style.color]=\"(banners[0].styles?.description?.color) ? banners[0].styles?.description?.color : '#fff' \">\r\n {{banners[0].title}}\r\n </h2>\r\n <p *ngIf=\"banners[0].subtitle\"\r\n [style.color]=\"(banners[0].styles?.description?.color) ? banners[0].styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle-full item-position-vertical-' + (banners[0].styles?.description?.position)\">\r\n {{banners[0].subtitle}}\r\n </p>\r\n </div>\r\n </div>\r\n </a>\r\n\r\n <!-- banner fijo con boton -->\r\n <ng-template #fullwithButton>\r\n <div class=\"item col-12\">\r\n <img class=\"img-fluid\" [src]=\"consts.mediaBannerUrl() + getImage(banners[0])\" alt=\"\">\r\n <div class=\"position-absolute w-100 h-100 start-0 top-0\">\r\n <h2 *ngIf=\"banners[0].title\" [class]=\"'item-title-full px-2 item-position-vertical-' + (banners[0].styles?.description?.position)\"\r\n [style.color]=\"(banners[0].styles?.description?.color) ? banners[0].styles?.description?.color : '#000' \">\r\n {{banners[0].title}}\r\n </h2>\r\n <p *ngIf=\"banners[0].subtitle\"\r\n [style.color]=\"(banners[0].styles?.description?.color) ? banners[0].styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle-full item-position-vertical-' + (banners[0].styles?.description?.position)\">\r\n {{banners[0].subtitle}}\r\n </p>\r\n <div [class]=\"'item-position-vertical-' + (banners[0].styles?.button?.position)\">\r\n <a *ngIf=\"banners[0].styles?.button?.text\" href=\"{{banners[0].url}}\"\r\n [class]=\"'item-button-full btn btn-light '\">\r\n {{banners[0].styles.button.text}}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </ng-template>\r\n </div>\r\n </ng-container>\r\n\r\n\r\n <!-- si es carrousel -->\r\n <ng-template #carrousel>\r\n\r\n <owl-carousel-o [options]=\"options\">\r\n <ng-template carouselSlide *ngFor=\"let banner of banners\" [id]=\"banner.id\">\r\n\r\n <!-- banner sin boton -->\r\n <div class=\"item\" *ngIf=\"!banner.styles?.button?.text; else carrouselwithButton\">\r\n <a *ngIf=\"banner.url; else onlyImage\" href=\"{{banner.url}}\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n </a>\r\n <ng-template #onlyImage>\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n </ng-template>\r\n </div>\r\n\r\n <!-- banner con boton -->\r\n <ng-template #carrouselwithButton>\r\n <div class=\"item\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n <div class=\"position-absolute w-100 h-100 start-0 top-0\">\r\n <h2 *ngIf=\"banner.title\"\r\n [class]=\"'item-title-full px-2 item-position-vertical-'+ (banner.styles?.description?.position)\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000' \">\r\n {{banner.title}}\r\n </h2>\r\n <p *ngIf=\"banner.subtitle\"\r\n [style.color]=\"(banner.styles?.description?.color) ? banner.styles?.description?.color : '#000' \"\r\n [class]=\"'px-4 item-subtitle-full item-position-vertical-' + (banner.styles?.description?.position)\">\r\n {{banner.subtitle}}\r\n </p>\r\n <div [class]=\"'item-position-vertical-' + (banner.styles?.button?.position)\">\r\n <a *ngIf=\"banner.styles?.button?.text\" href=\"{{banner.url}}\"\r\n [class]=\"'item-button-full btn btn-light'\">\r\n {{banner.styles.button.text}}\r\n </a>\r\n </div>\r\n </div>\r\n <!-- <a *ngIf=\"!banner.url && (formUrl(banner) != '/')\" [routerLink]=\"formUrl(banner)\"\r\n class=\"btn btn-outline-light rounded-0 py-3 px-4 btn-conoce btn-caption-banner\">\r\n Conocé Mas</a>\r\n <a *ngIf=\"banner.url\" href=\"{{banner.url}}\"\r\n class=\"btn btn-outline-light rounded-0 py-3 px-4 btn-conoce btn-caption-banner\">\r\n Conocé Mas</a> -->\r\n </div>\r\n </ng-template>\r\n\r\n\r\n <!-- <div class=\"item\">\r\n <a *ngIf=\"banner.url; else onlyImage\" href=\"{{banner.url}}\">\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n </a>\r\n <ng-template #onlyImage>\r\n <img [src]=\"consts.mediaBannerUrl() + getImage(banner)\" alt=\"\">\r\n </ng-template>\r\n <div class=\"carousel-caption d-block\">\r\n <a *ngIf=\"!banner.url && (formUrl(banner) != '/')\" [routerLink]=\"formUrl(banner)\"\r\n class=\"btn btn-outline-light rounded-0 py-3 px-4 btn-conoce btn-caption-banner\">\r\n Conocé Mas</a>\r\n <a *ngIf=\"banner.url\" href=\"{{banner.url}}\"\r\n class=\"btn btn-outline-light rounded-0 py-3 px-4 btn-conoce btn-caption-banner\">\r\n Conocé Mas</a>\r\n </div>\r\n </div> -->\r\n </ng-template>\r\n </owl-carousel-o>\r\n </ng-template>\r\n</section>\r\n",
|
|
@@ -6645,7 +6693,7 @@ var __assign$f = (this && this.__assign) || function () {
|
|
|
6645
6693
|
};
|
|
6646
6694
|
return __assign$f.apply(this, arguments);
|
|
6647
6695
|
};
|
|
6648
|
-
var __decorate$
|
|
6696
|
+
var __decorate$J = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6649
6697
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6650
6698
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6651
6699
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6755,19 +6803,19 @@ var BlockFormContactEcComponent = /** @class */ (function (_super) {
|
|
|
6755
6803
|
{ type: FormBuilder },
|
|
6756
6804
|
{ type: BlocksService }
|
|
6757
6805
|
]; };
|
|
6758
|
-
__decorate$
|
|
6806
|
+
__decorate$J([
|
|
6759
6807
|
Input()
|
|
6760
6808
|
], BlockFormContactEcComponent.prototype, "block", void 0);
|
|
6761
|
-
__decorate$
|
|
6809
|
+
__decorate$J([
|
|
6762
6810
|
Input()
|
|
6763
6811
|
], BlockFormContactEcComponent.prototype, "success_message", void 0);
|
|
6764
|
-
__decorate$
|
|
6812
|
+
__decorate$J([
|
|
6765
6813
|
Input()
|
|
6766
6814
|
], BlockFormContactEcComponent.prototype, "redirect", void 0);
|
|
6767
|
-
__decorate$
|
|
6815
|
+
__decorate$J([
|
|
6768
6816
|
Input()
|
|
6769
6817
|
], BlockFormContactEcComponent.prototype, "subject", void 0);
|
|
6770
|
-
BlockFormContactEcComponent = __decorate$
|
|
6818
|
+
BlockFormContactEcComponent = __decorate$J([
|
|
6771
6819
|
Component({
|
|
6772
6820
|
selector: 'app-block-form-contact-ec',
|
|
6773
6821
|
template: "<!-- banners -->\r\n<!-- <div class=\"row\">\r\n <div class=\"col-12 p-0\" id=\"banner-slider-home\">\r\n <div id=\"banner-slider\" class=\"h-100 w-100\">\r\n <div class=\"item\">\r\n <img src=\"assets/image/login.png\" class=\"w-100 d-none d-md-block\">\r\n <img src=\"assets/image/26912-05-mobile.png\" class=\"w-100 d-block d-md-none\">\r\n <div class=\"caption position-absolute center-item\">\r\n <h1 class=\"color-white\">Contacto</h1>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"row\" id=\"contacto\">\r\n <div class=\"col-12 py-md-5 py-0 px-0\">\r\n <div class=\"container\" style=\"background-color: #F1F1F1;\">\r\n <div class=\"row d-flex justify-content-center\">\r\n <div class=\"col-md-7 px-md-5 px-3 col-12\">\r\n <h1 class=\"right-line font-mg ff-ubuntu-light mb-2\"><span>Tomamos nota y te</span>\r\n </h1>\r\n <h1 class=\"font-mg ff-ubuntu-semi-bold mb-2\">respondemos lo antes posible</h1>\r\n <form (submit)=\"toastCompleteForm($event)\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-12 mt-2\" *ngIf=\"block.sendName\">\r\n <input class=\"form-control mb-4 radius-0 border-0\" type=\"text\"\r\n [formControl]=\"contact_form.controls['name']\" placeholder=\"Nombre\">\r\n </div>\r\n <div class=\"col-md-6 col-12 mt-2\" *ngIf=\"block.sendEmail\">\r\n <input class=\"form-control mb-4 radius-0 border-0\" type=\"text\"\r\n [formControl]=\"contact_form.controls['email']\"\r\n placeholder=\"Correo electr\u00F3nico\">\r\n </div>\r\n <div class=\"col-md-6 col-12 mt-2\" *ngIf=\"block.sendTelephone\">\r\n <input class=\"form-control mb-4 radius-0 border-0\" type=\"text\"\r\n [formControl]=\"contact_form.controls['telephone']\"\r\n placeholder=\"Numero de tel\u00E9fno\">\r\n </div>\r\n <div class=\"col-md-6 col-12 mt-2\" *ngIf=\"block.sendSubject\">\r\n <input class=\"form-control mb-4 radius-0 border-0\" type=\"text\"\r\n [formControl]=\"contact_form.controls['subject']\" placeholder=\"Asunto\">\r\n </div>\r\n <div class=\"col-12 mt-2\" *ngIf=\"block.sendBody\">\r\n <textarea class=\"form-control mb-4 radius-0 border-0\"\r\n [formControl]=\"contact_form.controls['body']\"\r\n placeholder=\"Comentarios\"></textarea>\r\n </div>\r\n <div class=\"col-12 mt-2\">\r\n \r\n <re-captcha class=\"g-recaptcha\" (resolved)=\"resolved($event)\"\r\n [formControl]=\"contact_form.controls['captcha']\">\r\n </re-captcha>\r\n </div>\r\n <div class=\"col-12 mb-5\">\r\n <button [disabled]=\"contact_form.invalid\" type=\"submit\"\r\n class=\"bg-gray border-0 px-4 py-2 color-white ff-ubuntu-light\">ENVIAR</button>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div> -->\r\n\r\n<div [ngClass]=\"trimClassBlock(block.code) + ' container-fluid'\" *ngIf=\"block\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12 col-md-12\">\r\n <div class=\"row w-100 m-auto\">\r\n <h5>{{block.name || 'Dejanos tu consulta'}}</h5>\r\n <p class=\"w-100\">{{ block.description || 'Completa el siguiente formulario y responderemos tu consulta a\r\n la brevedad' }}</p>\r\n </div>\r\n <form (submit)=\"toastCompleteForm($event)\" class=\"position-relative\">\r\n <div class=\"form-group\" *ngIf=\"block.sendName\">\r\n <label class=\"sr-only\" for=\"nombre\">Nombre</label>\r\n <input [formControl]=\"contact_form.controls['name']\" type=\"text\"\r\n class=\"form-control form-control-sm required\" id=\"nombre\" placeholder=\"Nombre\">\r\n </div>\r\n\r\n <div class=\"form-group\" *ngIf=\"block.sendEmail\">\r\n <label class=\"sr-only\" for=\"mail\">Email</label>\r\n <input [formControl]=\"contact_form.controls['email']\" type=\"email\"\r\n class=\"form-control form-control-sm required\" id=\"mail\" placeholder=\"Email\">\r\n </div>\r\n\r\n <div class=\"form-group\" *ngIf=\"block.sendTelephone\">\r\n <label class=\"sr-only\" for=\"telefono\">Tel\u00E9fono</label>\r\n <input [formControl]=\"contact_form.controls['telephone']\" type=\"text\"\r\n class=\"form-control form-control-sm required\" id=\"telefono\" placeholder=\"Tel\u00E9fono\">\r\n </div>\r\n\r\n <div class=\"form-group\" *ngIf=\"block.sendSubject\">\r\n <label class=\"sr-only\" for=\"subject\">Asunto</label>\r\n <input [formControl]=\"contact_form.controls['subject']\" type=\"text\"\r\n class=\"form-control form-control-sm required\" id=\"subject\" placeholder=\"Asunto\">\r\n </div>\r\n\r\n <div class=\"form-group\" *ngIf=\"block.sendBody\">\r\n <label class=\"sr-only\" for=\"mensaje\">Mensaje</label>\r\n <textarea [formControl]=\"contact_form.controls['body']\" name=\"mensaje\" id=\"mensaje \" cols=\"30\"\r\n rows=\"5\" placeholder=\"Dejanos tu mensaje\"\r\n class=\"form-control form-control-sm required\"></textarea>\r\n </div>\r\n\r\n <div class=\"boxContenidoCapcha mb-3\">\r\n <div class=\"contenedorCaptcha\">\r\n <re-captcha-ec [form]=\"contact_form\"></re-captcha-ec>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n <button type=\"submit\" class=\"btn btn-dark text-uppercase px-5\"\r\n [disabled]=\"contact_form.invalid\">ENVIAR</button>\r\n \r\n <app-loading-section-ec *ngIf=\"loading\"></app-loading-section-ec>\r\n </form>\r\n </div>\r\n\r\n <!-- <div class=\"col-12 col-md-4 py-3\">\r\n <div *ngIf=\"block && block.additionalInformation; else noHTMLContentView\"\r\n [innerHTML]=\"block.additionalInformation\">\r\n </div>\r\n </div> -->\r\n </div>\r\n</div>",
|
|
@@ -6790,7 +6838,7 @@ var __extends$c = (this && this.__extends) || (function () {
|
|
|
6790
6838
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6791
6839
|
};
|
|
6792
6840
|
})();
|
|
6793
|
-
var __decorate$
|
|
6841
|
+
var __decorate$K = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6794
6842
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6795
6843
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6796
6844
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6814,10 +6862,10 @@ var BlockHtmlEcComponent = /** @class */ (function (_super) {
|
|
|
6814
6862
|
BlockHtmlEcComponent.ctorParameters = function () { return [
|
|
6815
6863
|
{ type: DomSanitizer }
|
|
6816
6864
|
]; };
|
|
6817
|
-
__decorate$
|
|
6865
|
+
__decorate$K([
|
|
6818
6866
|
Input()
|
|
6819
6867
|
], BlockHtmlEcComponent.prototype, "html_content", void 0);
|
|
6820
|
-
BlockHtmlEcComponent = __decorate$
|
|
6868
|
+
BlockHtmlEcComponent = __decorate$K([
|
|
6821
6869
|
Component({
|
|
6822
6870
|
selector: 'app-block-html-ec',
|
|
6823
6871
|
template: "<div [innerHTML]=\"html_content\"></div>",
|
|
@@ -6851,7 +6899,7 @@ var __assign$g = (this && this.__assign) || function () {
|
|
|
6851
6899
|
};
|
|
6852
6900
|
return __assign$g.apply(this, arguments);
|
|
6853
6901
|
};
|
|
6854
|
-
var __decorate$
|
|
6902
|
+
var __decorate$L = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6855
6903
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6856
6904
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6857
6905
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -6968,22 +7016,22 @@ var ContactFormNewsEcComponent = /** @class */ (function (_super) {
|
|
|
6968
7016
|
{ type: BlocksService },
|
|
6969
7017
|
{ type: undefined, decorators: [{ type: Inject, args: ['env',] }] }
|
|
6970
7018
|
]; };
|
|
6971
|
-
__decorate$
|
|
7019
|
+
__decorate$L([
|
|
6972
7020
|
Input()
|
|
6973
7021
|
], ContactFormNewsEcComponent.prototype, "block", void 0);
|
|
6974
|
-
__decorate$
|
|
7022
|
+
__decorate$L([
|
|
6975
7023
|
Input()
|
|
6976
7024
|
], ContactFormNewsEcComponent.prototype, "complete", void 0);
|
|
6977
|
-
__decorate$
|
|
7025
|
+
__decorate$L([
|
|
6978
7026
|
Input()
|
|
6979
7027
|
], ContactFormNewsEcComponent.prototype, "success_message", void 0);
|
|
6980
|
-
__decorate$
|
|
7028
|
+
__decorate$L([
|
|
6981
7029
|
Input()
|
|
6982
7030
|
], ContactFormNewsEcComponent.prototype, "subject", void 0);
|
|
6983
|
-
__decorate$
|
|
7031
|
+
__decorate$L([
|
|
6984
7032
|
Input()
|
|
6985
7033
|
], ContactFormNewsEcComponent.prototype, "codeBlock", void 0);
|
|
6986
|
-
ContactFormNewsEcComponent = __decorate$
|
|
7034
|
+
ContactFormNewsEcComponent = __decorate$L([
|
|
6987
7035
|
Component({
|
|
6988
7036
|
selector: 'app-contact-form-news-ec',
|
|
6989
7037
|
template: "<div class=\"row\">\r\n <div class=\"col-12 p-md-5 p-0\">\r\n <div class=\"row d-flex flex-row justify-content-center\" id=\"newsletter\">\r\n\r\n <form (submit)=\"toastNewsletterForm($event)\" id=\"form-suscripcion\" name=\"form-suscripcion\">\r\n <h4>{{block.name || 'Suscr\u00EDbete a nuestras novedades'}}</h4>\r\n\r\n <div class=\"input-group mb-3\">\r\n <input type=\"email\" class=\"form-control\" placeholder=\"Tu Email\" [formControl]=\"newsletter_form.controls['email']\">\r\n <button class=\"btn btn-secondary\" type=\"submit\" id=\"button-addon\">Enviar</button>\r\n </div>\r\n <div class=\"form-check\">\r\n <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheck\" [formControl]=\"newsletter_form.controls['terms']\">\r\n <label class=\"form-check-label\" for=\"flexCheck\">\r\n Acepto que he le\u00EDdo la <a routerLink=\"/section/terminos-y-condiciones\">pol\u00EDtica de\r\n privacidad y condiciones</a>\r\n </label>\r\n </div>\r\n <!-- <input type=\"text\" name=\"email-suscripcion\" id=\"email-suscripcion\" placeholder=\"Tu e-mail\"\r\n data-bs-bvalidator=\"email,required\" data-bs-bvalidator-msg=\"Completar\" required email\r\n [formControl]=\"newsletter_form.controls['email']\">\r\n <button type=\"submit\" value=\"Enviar\">Enviar</button>\r\n <br />\r\n <div class=\"d-flex flex-row align-items-end\">\r\n <input class=\"form-check-input justify-content-star\" type=\"checkbox\" required\r\n [formControl]=\"newsletter_form.controls['terms']\" id=\"flexCheckDefault\">\r\n <label class=\"form-check-label\" for=\"flexCheckDefault\">\r\n Acepto que he le\u00EDdo la <a routerLink=\"/section/terminos-y-condiciones\"\r\n class=\"text-white text-underline d-inline\">pol\u00EDtica de\r\n privacidad y condiciones</a>\r\n </label>\r\n </div> -->\r\n </form>\r\n\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -7019,7 +7067,7 @@ var __assign$h = (this && this.__assign) || function () {
|
|
|
7019
7067
|
};
|
|
7020
7068
|
return __assign$h.apply(this, arguments);
|
|
7021
7069
|
};
|
|
7022
|
-
var __decorate$
|
|
7070
|
+
var __decorate$M = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7023
7071
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7024
7072
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7025
7073
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7105,28 +7153,28 @@ var BlockProductsEcComponent = /** @class */ (function (_super) {
|
|
|
7105
7153
|
{ type: Constants },
|
|
7106
7154
|
{ type: AnalyticsService }
|
|
7107
7155
|
]; };
|
|
7108
|
-
__decorate$
|
|
7156
|
+
__decorate$M([
|
|
7109
7157
|
Input()
|
|
7110
7158
|
], BlockProductsEcComponent.prototype, "appProduct", void 0);
|
|
7111
|
-
__decorate$
|
|
7159
|
+
__decorate$M([
|
|
7112
7160
|
Input()
|
|
7113
7161
|
], BlockProductsEcComponent.prototype, "products", void 0);
|
|
7114
|
-
__decorate$
|
|
7162
|
+
__decorate$M([
|
|
7115
7163
|
Input()
|
|
7116
7164
|
], BlockProductsEcComponent.prototype, "meta", void 0);
|
|
7117
|
-
__decorate$
|
|
7165
|
+
__decorate$M([
|
|
7118
7166
|
Input()
|
|
7119
7167
|
], BlockProductsEcComponent.prototype, "dots", void 0);
|
|
7120
|
-
__decorate$
|
|
7168
|
+
__decorate$M([
|
|
7121
7169
|
Input()
|
|
7122
7170
|
], BlockProductsEcComponent.prototype, "nav", void 0);
|
|
7123
|
-
__decorate$
|
|
7171
|
+
__decorate$M([
|
|
7124
7172
|
Input()
|
|
7125
7173
|
], BlockProductsEcComponent.prototype, "loop", void 0);
|
|
7126
|
-
__decorate$
|
|
7174
|
+
__decorate$M([
|
|
7127
7175
|
Input()
|
|
7128
7176
|
], BlockProductsEcComponent.prototype, "margin", void 0);
|
|
7129
|
-
BlockProductsEcComponent = __decorate$
|
|
7177
|
+
BlockProductsEcComponent = __decorate$M([
|
|
7130
7178
|
Component({
|
|
7131
7179
|
selector: 'app-block-products-ec',
|
|
7132
7180
|
template: "<!-- <div class=\"row\">\r\n <div class=\"col-12 text-center mt-4\">\r\n <h1 class=\"ff-source-bold color-golden\">\r\n {{ meta.name || 'NOVEDADES'}}\r\n </h1>\r\n </div>\r\n <div class=\"col-12 p-0\">\r\n <div class=\"container\">\r\n <owl-carousel-o [options]=\"options\" class=\" py-3 px-md-5 px-0\">\r\n <ng-container *ngFor=\"let product of products\">\r\n <ng-template carouselSlide>\r\n <div class=\"px-4 py-0 text-center\">\r\n <app-product [product]=\"product\"></app-product>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </owl-carousel-o>\r\n </div>\r\n </div>\r\n</div> -->\r\n<section [ngClass]=\"trimClassBlock(meta.code) + ' container-fluid'\">\r\n\r\n\r\n <div class=\"blockProduct block-product\">\r\n <div *ngIf=\"meta.name\" class=\"row\">\r\n <div class=\"col-12 mt-4\">\r\n <h2 class=\"font-weight-normal font-gd\">\r\n <span>{{meta.name}}</span>\r\n </h2>\r\n </div>\r\n </div>\r\n\r\n <ng-container *ngIf=\"meta.styles && meta.styles.carrousel == false ; else carrousel\">\r\n\r\n <div class=\"row \">\r\n <div [class]=\"'item '+ ' col-'+ (meta.styles.items.sm) + ' col-md-' + (meta.styles.items.md) + ' col-lg-' + (meta.styles.items.lg) + ' px-2'\"\r\n *ngFor=\"let product of products; let i = index\" [id]=\"i\">\r\n\r\n\r\n <!-- verifica que si vienen un template para un custom appProduct llamado \"appProduct\" con un objeto \"product\"- sino usa por defecto el del core -->\r\n <ng-container [ngTemplateOutlet]=\"appProduct ? appProduct : defaultAppProduct\" [ngTemplateOutletContext]=\"{product:product}\" ></ng-container>\r\n \r\n \r\n </div>\r\n </div>\r\n\r\n </ng-container>\r\n\r\n <ng-template #carrousel>\r\n\r\n\r\n <owl-carousel-o [options]=\"optionsOwl\">\r\n <ng-template carouselSlide *ngFor=\"let product of products; let i = index\" [id]=\"i\">\r\n\r\n <ng-container [ngTemplateOutlet]=\"appProduct ? appProduct : defaultAppProduct\" [ngTemplateOutletContext]=\"{product:product}\" ></ng-container>\r\n\r\n <!-- <app-product-ec [product]=\"product\"></app-product-ec> -->\r\n </ng-template>\r\n </owl-carousel-o>\r\n\r\n\r\n </ng-template>\r\n </div>\r\n</section>\r\n\r\n\r\n<!-- componente por defecto (tomara como producto el contexto pasado como \"product\") -->\r\n<ng-template #defaultAppProduct let-product=\"product\" > \r\n <!-- <app-product [product]=\"product\"></app-product> -->\r\n <app-product-ec [product]=\"product\"></app-product-ec>\r\n</ng-template>",
|
|
@@ -7149,7 +7197,7 @@ var __extends$f = (this && this.__extends) || (function () {
|
|
|
7149
7197
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7150
7198
|
};
|
|
7151
7199
|
})();
|
|
7152
|
-
var __decorate$
|
|
7200
|
+
var __decorate$N = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7153
7201
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7154
7202
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7155
7203
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7194,22 +7242,22 @@ var BlocksEcComponent = /** @class */ (function (_super) {
|
|
|
7194
7242
|
{ type: Constants },
|
|
7195
7243
|
{ type: AnalyticsService }
|
|
7196
7244
|
]; };
|
|
7197
|
-
__decorate$
|
|
7245
|
+
__decorate$N([
|
|
7198
7246
|
Input()
|
|
7199
7247
|
], BlocksEcComponent.prototype, "appProduct", void 0);
|
|
7200
|
-
__decorate$
|
|
7248
|
+
__decorate$N([
|
|
7201
7249
|
Input()
|
|
7202
7250
|
], BlocksEcComponent.prototype, "templates", void 0);
|
|
7203
|
-
__decorate$
|
|
7251
|
+
__decorate$N([
|
|
7204
7252
|
Input()
|
|
7205
7253
|
], BlocksEcComponent.prototype, "blockFilters", void 0);
|
|
7206
|
-
__decorate$
|
|
7254
|
+
__decorate$N([
|
|
7207
7255
|
Input()
|
|
7208
7256
|
], BlocksEcComponent.prototype, "section", null);
|
|
7209
|
-
__decorate$
|
|
7257
|
+
__decorate$N([
|
|
7210
7258
|
Input()
|
|
7211
7259
|
], BlocksEcComponent.prototype, "show_loading", void 0);
|
|
7212
|
-
BlocksEcComponent = __decorate$
|
|
7260
|
+
BlocksEcComponent = __decorate$N([
|
|
7213
7261
|
Component({
|
|
7214
7262
|
selector: 'app-blocks-ec',
|
|
7215
7263
|
template: "<div *ngIf=\"blocksService.blocks | async as blocks\">\r\n <div *ngIf=\"blocks\">\r\n <div class=\"container-fluid px-0\" *ngIf=\"blocks.length >= 1; else loading\">\r\n <div class=\"row\">\r\n\r\n <ng-container *ngFor=\"let block of blocks\">\r\n <ng-container [ngSwitch]=\"block.contentType\">\r\n <!-- Block Banner-->\r\n <ng-container *ngSwitchCase=\"'banner'\">\r\n <!--Banner Full-->\r\n <ng-template #appBlockBannerFullEc let-block=\"block\">\r\n <app-block-banner-full-ec\r\n [class]=\"block.styles && block.styles?.items ? ('col-sm-' + block.styles?.items.sm + ' col-md-' + block.styles?.items.md + ' col-lg-' + block.styles?.items.lg) : ' col-12'\"\r\n [banners]=\"block.banners\" [margin]=\"0\" [meta]=\"block\">\r\n </app-block-banner-full-ec>\r\n </ng-template>\r\n <ng-container *ngIf=\"block.design == 'full'\"\r\n [ngTemplateOutlet]=\"templates && templates.appBlockBannerFull ? templates.appBlockBannerFull : appBlockBannerFullEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\">\r\n </ng-container>\r\n <!---->\r\n <!--Banner Box-->\r\n <ng-template #appBlockBannerBoxesEc let-block=\"block\">\r\n <app-block-banner-boxes-ec\r\n [class]=\"block.styles && block.styles?.items ? ('col-sm-' + block.styles?.items.sm + ' col-md-' + block.styles?.items.md + ' col-lg-' + block.styles?.items.lg) : ' col-12'\"\r\n [banners]=\"block.banners\" [meta]=\"block\">\r\n </app-block-banner-boxes-ec>\r\n </ng-template>\r\n <ng-container *ngIf=\"block.design == 'boxes'\"\r\n [ngTemplateOutlet]=\"templates && templates.appBlockBannerBoxes? templates.appBlockBannerBoxes : appBlockBannerBoxesEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\">\r\n </ng-container>\r\n <!---->\r\n </ng-container>\r\n <!-- End Block Banner -->\r\n\r\n <!--Block Html -->\r\n <ng-template #appBlockHtmlEc let-block=\"block\">\r\n <app-block-html-ec class=\"col-12\" [html_content]=\"getHTMLContent(block)\">\r\n </app-block-html-ec>\r\n </ng-template>\r\n <ng-container *ngSwitchCase=\"'html'\">\r\n <ng-container *ngIf=\"showBlock(block)\"\r\n [ngTemplateOutlet]=\"templates && templates.appBlockHtml ? templates.appBlockHtml : appBlockHtmlEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\">\r\n </ng-container>\r\n </ng-container>\r\n <!--End Block Html-->\r\n\r\n <!--Block Products-->\r\n <ng-template #appBlockProductsEc let-block=\"block\">\r\n <app-block-products-ec\r\n [class]=\"block.styles && block.styles?.items ? ('col-sm-' + block.styles?.items.sm + ' col-md-' + block.styles?.items.md + ' col-lg-' + block.styles?.items.lg) : ' col-12'\"\r\n [products]=\"block.products.items\" [meta]=\"block\" [appProduct]=\"appProduct\">\r\n </app-block-products-ec>\r\n </ng-template>\r\n\r\n <ng-container *ngSwitchCase=\"'products'\"\r\n [ngTemplateOutlet]=\"templates && templates.appBlockProducts ? templates.appBlockProducts : appBlockProductsEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\"></ng-container>\r\n <!--End Blocks Products-->\r\n\r\n <!-- Contact Form/Newsletter -->\r\n <ng-container *ngSwitchCase=\"'contact_form'\">\r\n <!--Newsletter-->\r\n <ng-container *ngIf=\"isNewsletter(block); else completeForm\">\r\n <ng-template #appContactFormNewsEc let-block=\"block\">\r\n <app-contact-form-news-ec [block]=\"block.contactForm\">\r\n </app-contact-form-news-ec>\r\n </ng-template>\r\n <ng-container\r\n [ngTemplateOutlet]=\"templates && templates.appContactFormNews ? templates.appContactFormNews : appContactFormNewsEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\"></ng-container>\r\n </ng-container>\r\n <!---->\r\n <!--Contact Form-->\r\n <ng-template #completeForm>\r\n <ng-template #appBlockFormContactEc let-block=\"block\">\r\n <app-block-form-contact-ec [block]=\"block.contactForm\"></app-block-form-contact-ec>\r\n </ng-template>\r\n <ng-container\r\n [ngTemplateOutlet]=\"templates && templates.appBlockFormContact ? templates.appBlockFormContact : appBlockFormContactEc\"\r\n [ngTemplateOutletContext]=\"{block:block}\"></ng-container>\r\n </ng-template>\r\n <!---->\r\n </ng-container>\r\n <!-- End Contact Form/Newsletter-->\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n <ng-template #loading>\r\n <div *ngIf=\"show_loading\">\r\n <div class=\"loading-container\">\r\n <app-loading-full-ec [hole_height]=\"true\"></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </div>\r\n</div>",
|
|
@@ -7233,7 +7281,7 @@ var __extends$g = (this && this.__extends) || (function () {
|
|
|
7233
7281
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7234
7282
|
};
|
|
7235
7283
|
})();
|
|
7236
|
-
var __decorate$
|
|
7284
|
+
var __decorate$O = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7237
7285
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7238
7286
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7239
7287
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7666,7 +7714,7 @@ var CartEcComponent = /** @class */ (function (_super) {
|
|
|
7666
7714
|
{ type: ToastService },
|
|
7667
7715
|
{ type: AddressingService }
|
|
7668
7716
|
]; };
|
|
7669
|
-
CartEcComponent = __decorate$
|
|
7717
|
+
CartEcComponent = __decorate$O([
|
|
7670
7718
|
Component({
|
|
7671
7719
|
selector: 'app-cart-ec',
|
|
7672
7720
|
template: "",
|
|
@@ -7689,7 +7737,7 @@ var __extends$h = (this && this.__extends) || (function () {
|
|
|
7689
7737
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7690
7738
|
};
|
|
7691
7739
|
})();
|
|
7692
|
-
var __decorate$
|
|
7740
|
+
var __decorate$P = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7693
7741
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7694
7742
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7695
7743
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7817,7 +7865,7 @@ var CheckoutEcComponent = /** @class */ (function (_super) {
|
|
|
7817
7865
|
{ type: ProductsService },
|
|
7818
7866
|
{ type: ChannelConfigService }
|
|
7819
7867
|
]; };
|
|
7820
|
-
CheckoutEcComponent = __decorate$
|
|
7868
|
+
CheckoutEcComponent = __decorate$P([
|
|
7821
7869
|
Component({
|
|
7822
7870
|
selector: 'app-checkout-ec',
|
|
7823
7871
|
template: "<main class=\"py-4\" id=\"appCheckoutEc\">\r\n <div *ngIf=\"canCheckout; else cartEmpty\">\r\n <app-detail-checkout-block-ec></app-detail-checkout-block-ec>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12\">\r\n <div id=\"stepper\" class=\"bs-stepper\" *ngIf=\"(checkoutService.state$ | async) as state\">\r\n\r\n <div class=\"row mb-3 position-relative stepperContainer\">\r\n <ng-container *ngFor=\"let step of steps; let x=index\">\r\n <div [class]=\"'px-0 col-'+(12 / steps.length)\">\r\n <div [class]=\"'step ' + getClassToStepper(x)\" [attr.data-target]=\"'#test-l-'+step.step\">\r\n <button class=\"step-trigger\">\r\n <span class=\"bs-stepper-circle\">{{x+1}}</span>\r\n <span class=\"bs-stepper-label\">{{ step.label |translate}}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- CONTENT -->\r\n <div class=\"bs-stepper-content margin-bottom-i\">\r\n <div *ngIf=\"(checkoutService.state$ | async) as checkoutState\">\r\n <ng-container *ngFor=\"let step of steps; let x=index\">\r\n <div [id]=\"'test-l-'+step.step\" class=\"content\">\r\n <app-step-ec [step_id]=\"step.step\" [id_step]=\"x+1\" [previousStep]=\"steps[x-1] ? steps[x-1].name : step.name\" [nextStep]=\"steps[x+1] ? next : endCheckout\" [goBack]=\"goBack\" [lastStep]=\"steps[x+1] ? false : true\"> \r\n </app-step-ec> \r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"(checkoutService.loading$ | async) as load\">\r\n <div class=\"col-md-12 col-12\">\r\n <div *ngIf=\"load\" class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n <h5>{{ 'processing-payment' | translate }}</h5>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n</main>\r\n\r\n<ng-template #cartEmpty>\r\n <div class=\"wrap\">\r\n <div *ngIf=\"(loading$ | async) as load\">\r\n <app-loading-full-ec *ngIf=\"canCheckout\"></app-loading-full-ec>\r\n </div>\r\n <section id=\"cart\" *ngIf=\"!canCheckout\">\r\n <section id=\"cart bg-white h-50\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center text-center\">\r\n <h4>{{ 'empty-cart' | translate }}</h4>\r\n <h5>{{ 'empty-cart-detail' | translate }}</h5>\r\n </div>\r\n </section>\r\n </section>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loading>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</ng-template>\r\n\r\n<ng-template #requireLoginView>\r\n</ng-template>\r\n\r\n\r\n<!-- <ec-checkout-error></ec-checkout-error> -->",
|
|
@@ -7851,7 +7899,7 @@ var __assign$i = (this && this.__assign) || function () {
|
|
|
7851
7899
|
};
|
|
7852
7900
|
return __assign$i.apply(this, arguments);
|
|
7853
7901
|
};
|
|
7854
|
-
var __decorate$
|
|
7902
|
+
var __decorate$Q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7855
7903
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7856
7904
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7857
7905
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8232,16 +8280,16 @@ var DataFormEcComponent = /** @class */ (function (_super) {
|
|
|
8232
8280
|
{ type: Constants },
|
|
8233
8281
|
{ type: ChannelConfigService }
|
|
8234
8282
|
]; };
|
|
8235
|
-
__decorate$
|
|
8283
|
+
__decorate$Q([
|
|
8236
8284
|
Input()
|
|
8237
8285
|
], DataFormEcComponent.prototype, "step_id", void 0);
|
|
8238
|
-
__decorate$
|
|
8286
|
+
__decorate$Q([
|
|
8239
8287
|
Input()
|
|
8240
8288
|
], DataFormEcComponent.prototype, "isLastOne", void 0);
|
|
8241
|
-
__decorate$
|
|
8289
|
+
__decorate$Q([
|
|
8242
8290
|
Input()
|
|
8243
8291
|
], DataFormEcComponent.prototype, "nextStep", void 0);
|
|
8244
|
-
DataFormEcComponent = __decorate$
|
|
8292
|
+
DataFormEcComponent = __decorate$Q([
|
|
8245
8293
|
Component({
|
|
8246
8294
|
selector: 'app-dataform-ec',
|
|
8247
8295
|
template: "<ng-container *ngIf=\"this.channelConfig.channelType != 'b2b' || (this.channelConfig.channelType == 'b2b' && authService.isAuthenticated()); else pleaseLogin\">\r\n<ng-container *ngIf=\"this.addressingService.modeSelectAddress == 'LOAD_ADDRESS_AND_SELECTION' && this.authService.isAuthenticated() && this.addressBook != null\">\r\n <div class=\"container card p-4 mb-3\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12 col-md-10 col-lg-8 text-center\">\r\n <div class=\"btn-group btn-group-toggle\" data-bs-toggle=\"buttons\">\r\n <label [class]=\"'btn btn-outline-secondary ' + (!getMode() ? 'active' : '')\">\r\n <input type=\"radio\" name=\"options\" id=\"option1\" autocomplete=\"off\" checked\r\n (change)=\"setMode('seleccion')\"> {{'select-address' | translate | titlecase}}\r\n </label>\r\n\r\n <label [class]=\"'btn btn-outline-secondary ' + (getMode() ? 'active' : '')\" *ngIf=\"!getParamByChannelAndLanguage('btn_new_address_')\">\r\n <input type=\"radio\" name=\"options\" id=\"option2\" autocomplete=\"off\" (change)=\"setMode('carga')\">\r\n {{ 'new-address' | translate | titlecase}}\r\n </label>\r\n\r\n <label [class]=\"'btn btn-outline-secondary ' + (selectAddress ? 'active' : '')\" *ngIf=\"getParamByChannelAndLanguage('btn_new_address_') as param\">\r\n <input type=\"radio\" name=\"options\" id=\"option2\" autocomplete=\"off\" (change)=\"setMode('carga')\">\r\n {{ param.value}}\r\n </label>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"getMode(); else addressSelection\">\r\n <div *ngIf=\"!require_login; else requireLoginView\">\r\n\r\n <ng-container *ngIf=\"this.addressingService.modeSelectAddress == 'ONLY_LOAD_ADDRESS'\">\r\n <div class=\"checkout-title my-2\">\r\n <h3>{{'billing-details'|translate}}</h3>\r\n </div>\r\n </ng-container>\r\n\r\n <form (submit)=\"verifyValidate(false,this.cartService.items)\">\r\n <div class=\"row mt-df\"><!--Fila 1-->\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.firstName.enabled\">\r\n <label class=\"field-label\">{{'first-name'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.firstName.required\"\r\n class=\"required\">*</span></label>\r\n <input class=\"form-control\" type=\"text\" name=\"firstName\"\r\n [formControl]=\"checkoutForm.controls['firstName']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.firstName.touched && checkoutForm.controls.firstName.errors?.required\">\r\n <span class=\"text-danger\">{{'first-name-help1'|translate}}</span>\r\n\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.firstName.touched && checkoutForm.controls.firstName.errors?.pattern\">\r\n <span class=\"text-danger\">\r\n {{'first-name-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.lastName.enabled\">\r\n <label class=\"field-label\">{{'last-name'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.lastName.required\"\r\n class=\"required\">*</span></label>\r\n <input class=\"form-control\" type=\"text\" name=\"lastName\"\r\n [formControl]=\"checkoutForm.controls['lastName']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.lastName.touched && checkoutForm.controls.lastName.errors?.required\">\r\n <span class=\"text-danger\">{{'last-name-help1'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.lastName.touched && checkoutForm.controls.lastName.errors?.pattern\">\r\n <span class=\"text-danger\">{{'last-name-help2'|translate}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\"><!--Fila 2-->\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.phoneNumber.enabled\">\r\n <label class=\"field-label\">{{'phone'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.phoneNumber.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"phoneNumber\"\r\n [formControl]=\"checkoutForm.controls['phoneNumber']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.phoneNumber.touched && checkoutForm.controls.phoneNumber.errors?.required\">\r\n <span class=\"text-danger\">\r\n\r\n {{'phone-help1'|translate}}\r\n </span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.phoneNumber.touched && checkoutForm.controls.phoneNumber.errors?.pattern\">\r\n <span class=\"text-danger\">\r\n {{'phone-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.email.enabled\">\r\n <label class=\"field-label\">{{'email-address'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.email.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"email\" name=\"email\"\r\n [formControl]=\"checkoutForm.controls['email']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.email.touched && checkoutForm.controls.email.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'email-address-help1'|translate}}\r\n </span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.email.touched && checkoutForm.controls.email.errors?.email\">\r\n <span class=\"text-danger\">\r\n {{'email-address-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-df\"><!--Fila 3-->\r\n <ng-container *ngIf=\"this.addressingService.getTypeForm().viewForms.countryCode.enabled\">\r\n <div class=\"form-group col-12 col-md-4\" *ngIf=\"(countries$ | async) as countries\">\r\n <label class=\"field-label\">{{'country'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.countryCode.required\"\r\n class=\"required\">*</span></label>\r\n <select class=\"form-select\" name=\"countryCode\"\r\n [formControl]=\"checkoutForm.controls['countryCode']\"\r\n (change)=\"onCountrySelected($event.target.value)\">\r\n <!-- <option selected [value]=\"countries[0].code\">{{ 'choose-country' | translate }}</option> -->\r\n <option *ngFor=\"let country of countries\" [value]=\"country.code\">{{ country.name }}</option>\r\n </select>\r\n <div *ngIf=\"checkoutForm.controls.countryCode.touched && checkoutForm.controls.countryCode.errors?.required\"\r\n class=\"text text-danger\">\r\n {{'country-help'|translate}}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"this.addressingService.getTypeForm().viewForms.provinceCode.enabled\">\r\n <div class=\"form-group col-12 col-md-4\" *ngIf=\"(provinces$ | async) as provinces\">\r\n <label class=\"field-label\">{{'state'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.provinceCode.required\"\r\n class=\"required\">*</span></label>\r\n <select class=\"form-select\" name=\"provinceCode\"\r\n (change)=\"onProvincesSelected($event.target.value)\"\r\n [formControl]=\"checkoutForm.controls['provinceCode']\">\r\n<!-- <option selected [value]=\"null\">{{ 'choose-province' | translate }}</option>\r\n --> <option *ngFor=\"let province of provinces\" [value]=\"province.code\">{{ province.name }}\r\n </option>\r\n </select>\r\n <div *ngIf=\"checkoutForm.controls.provinceCode.touched && checkoutForm.controls.provinceCode.errors?.required\"\r\n class=\"text text-danger\">\r\n {{'state-help'|translate}}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.city.enabled\">\r\n <label class=\"field-label\">{{'town-city'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.city.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"city\"\r\n [formControl]=\"checkoutForm.controls['city']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.city.touched && checkoutForm.controls.city.errors?.required\">\r\n <span class=\"text-danger\">{{'town-city-help'|translate}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-df\"><!--Fila 4-->\r\n <div class=\"form-group col-12 col-md-8\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.street.enabled\">\r\n <label class=\"field-label\">{{'address'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.street.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"street\"\r\n [formControl]=\"checkoutForm.controls['street']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.street.touched && checkoutForm.controls.street.errors?.required\">\r\n <span class=\"text-danger\">{{'address-help1'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.street.touched && checkoutForm.controls.street.errors?.maxlength\">\r\n <span class=\"text-danger\">{{'address-help2'|translate}}</span>\r\n </div>\r\n </div>\r\n\r\n <!-- form direcci\u00F3n -->\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.postcode.enabled\">\r\n <label class=\"field-label\">{{'postal-code'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.postcode.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"postcode\"\r\n [formControl]=\"checkoutForm.controls['postcode']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.postcode.touched && checkoutForm.controls.postcode.errors?.required\">\r\n <span class=\"text-danger\">{{'postal-code-help'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.postcode.touched && checkoutForm.controls.postcode.errors?.pattern\">\r\n <span class=\"text-danger\"> {{'postal-code-pattern-error' | translate}} </span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-df\"><!--Fila 5-->\r\n <ng-container *ngIf=\"this.addressingService.getTypeForm().viewForms.documentType.enabled\">\r\n <div class=\"form-group col-12 col-md-4\" *ngIf=\"(documentTypes$ | async) as documentTypes\">\r\n <label class=\"field-label\">{{'document-type'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentType.required\"\r\n class=\"required\">*</span></label>\r\n <select name=\"documentType\" class=\"form-select\"\r\n (change)=\"onDocumentTypesSelected($event.target.value)\"\r\n [formControl]=\"checkoutForm.controls['documentType']\">\r\n<!-- <option [value]=\"''\" selected>{{'document-type'|translate}}</option>\r\n --> <option *ngFor=\"let item of documentTypes\" [value]=\"item.code\">{{item.name}}</option>\r\n </select>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.documentType.touched && checkoutForm.controls.documentType.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'type-document-help'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentNumber.enabled\">\r\n <label class=\"field-label\">{{'document-number'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentNumber.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\"\r\n [type]=\"'text'\" name=\"documentNumber\"\r\n [formControl]=\"checkoutForm.controls['documentNumber']\" min=\"1\" max=\"99999999999\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.documentNumber.touched && checkoutForm.controls.documentNumber.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'document-number-help'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-df\"><!--Fila 6-->\r\n <div class=\"form-group col-12 col-md-12\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.enabled\">\r\n\r\n <label class=\"field-label\" *ngIf=\"!getLabelNotesParam()\">{{'notes'|translate}} <span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\"\r\n class=\"required\">*</span></label>\r\n <label class=\"field-label\" *ngIf=\"getLabelNotesParam() as labelnotes\" [innerHTML]=\"labelnotes.value\"><span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\"\r\n class=\"required\">*</span></label>\r\n\r\n <!-- <label class=\"field-label\">{{'notes'|translate}}<span *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\" class=\"required\">*</span></label> -->\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"notes\"\r\n [formControl]=\"checkoutForm.controls['notes']\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\"><!--Fila 7-->\r\n <div class=\"form-group col-12 col-md-12\">\r\n <label for=\"formFact\"><b>{{ 'same-billing-address' | translate }}</b> <input type=\"checkbox\"\r\n class=\"ms-2\" [checked]=\"viewDataFacturacion\" (change)=\"showFormFacturacion()\"\r\n id=\"formFact\"></label>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <div class=\"col-12\">\r\n <p>\r\n <!-- <span class=\"required\"></span> -->\r\n <label class=\"required text-underline\">* {{ 'required-fields' | translate }}</label>\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <div class=\"form-group col-12 col-md-12\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.terms.enabled\">\r\n <span *ngIf=\"this.addressingService.getTypeForm().viewForms.terms.required\"\r\n class=\"required\">*</span>\r\n <label class=\"\" for=\"\"> {{ 'accept-terms' | translate }} <input class=\"ms-2\" name=\"terms\"\r\n [formControl]=\"checkoutForm.controls['terms']\" type=\"checkbox\" required\r\n (change)=\"onInputChange()\" /> </label><br />\r\n <a (click)=\"openModal(template)\" role=\"button\" class=\"ms-3 nota-input text-dark\">{{ 'whats-this' |\r\n translate }}</a>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutForm.controls.terms.touched && !checkoutForm.controls.terms.value\">\r\n <span class=\"text-danger\">{{ 'must-accept-terms' | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"viewDataFacturacion ; else datosFormFacturacion\"> </div>\r\n <div class=\"checkout-btn-unique text-end\">\r\n <button type=\"submit\" [disabled]=\"!validado\" class=\"btn valid-btn mt-2\">\r\n {{(isLastOne ? 'finish-checkout' : (allready_data ? 'update' :\r\n 'ready-form')) | translate}}</button>\r\n\r\n\r\n </div>\r\n <div *ngIf=\"loading\" class=\"d-flex flex-column jusitfy-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #addressSelection>\r\n\r\n <ng-container *ngIf=\"this.addressingService.modeSelectAddress == 'ONLY_ADDRESS_SELECTION'\">\r\n <div class=\"checkout-title my-2\">\r\n <h3>{{'address-selection'|translate}}</h3>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"this.addressBook; else addressBookNotResult\">\r\n\r\n <ng-container *ngIf=\"this.addressBook?.length ;else addressBookLoading\">\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-6 col-12 my-3\" *ngFor=\"let item of addressBook; let i = index\">\r\n <div class=\"card p-3\">\r\n <input class=\"ms-1 mt-3 form-check-input input-size-lg\" type=\"radio\" [name]=\"'n-'+i\" [id]=\"i\"\r\n [checked]=\"item.selected\" (click)=\"setSelectAddress(item)\" (change)=\"onInputChange()\">\r\n <div class=\"ms-5\">\r\n <h4 class=\"card-title\">\r\n <strong>{{'address'|translate}}</strong><br>\r\n <span class=\"text-uppercase h3\">{{item.street}}</span>\r\n </h4>\r\n <div class=\"row\">\r\n <h5 class=\"card-subtitle mb-2 text-muted col-auto\">\r\n <strong>{{'country'|translate}}</strong> {{getCountry(item.countryCode)}}\r\n </h5>\r\n <h5 class=\"card-subtitle mb-2 text-muted col-auto\">\r\n <strong>{{'state'|translate}}</strong> {{getProvince(item.provinceCode)}}\r\n </h5>\r\n <h5 class=\"card-subtitle mb-2 text-muted col-auto\">\r\n <strong>{{'town-city'|translate}}</strong> {{item.city}}\r\n </h5>\r\n <h5 class=\"card-subtitle mb-2 text-muted col-auto\">\r\n <strong>{{'postal-code'|translate}}</strong> {{item.postcode}}\r\n </h5>\r\n </div>\r\n <div class=\"row px-3\">\r\n <div class=\"card p-2 bg-light w-100\">\r\n <div class=\"card-body\">\r\n <h5 class=\"card-title\">{{'address-contact'|translate}}</h5>\r\n <h6 class=\"card-subtitle mb-2 text-muted\">\r\n <strong>{{'first-name'|translate}}</strong>\r\n {{item.addressContact.firstName}}\r\n </h6>\r\n <h6 class=\"card-subtitle mb-2 text-muted\">\r\n <strong>{{'last-name'|translate}}</strong> {{item.addressContact.lastName}}\r\n </h6>\r\n <h6 class=\"card-subtitle mb-2 text-muted\">\r\n <strong>{{'document-type'|translate}}</strong>\r\n {{getDocumentType(item.addressContact.documentType)}}\r\n </h6>\r\n <h6 class=\"card-subtitle mb-2 text-muted\">\r\n <strong>{{'document-number'|translate}}</strong>\r\n {{item.addressContact.documentNumber}}\r\n </h6>\r\n <h6 class=\"card-subtitle mb-2 text-muted\">\r\n <strong>{{'email-address'|translate}}</strong> {{item.addressContact.email}}\r\n </h6>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"w-100\">\r\n <div class=\"row mt-df\">\r\n <div class=\"form-group col-12 col-md-12\">\r\n <label class=\"field-label\" *ngIf=\"!getLabelNotesParam()\">{{'notes'|translate}}</label>\r\n <label class=\"field-label\"\r\n *ngIf=\"getLabelNotesParam() as labelnotes\" [innerHTML]=\"labelnotes.value\"></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"notes\"\r\n [(ngModel)]=\"this.addressBookSelected.notes\" #ctrl=\"ngModel\" value=\"\" placeholder=\"\"\r\n autocomplete=\"off\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"checkout-btn-unique text-end\">\r\n <button (click)=\"selectAddress(this.cartService.items)\" class=\"btn valid-btn mt-2\">\r\n {{(isLastOne ? 'finish-checkout' : (allready_data ? 'update' :\r\n 'ready-form')) | translate}}\r\n </button>\r\n </div>\r\n <div *ngIf=\"loading\" class=\"d-flex flex-column jusitfy-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n</ng-template>\r\n\r\n\r\n<ng-template #requireLoginView>\r\n <div id=\"loginCheckout\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\" *ngIf=\"require_login\">\r\n <div class=\"col-12\">\r\n <app-login-form-ec (ready)=\"verifyValidate($event)\" [redirect]=\"false\" [title]=\"'need-login'\">\r\n </app-login-form-ec>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<ng-template #datosFormFacturacion>\r\n <div class=\"container-fluid px-0 px-md-2\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card \">\r\n <div class=\"card-header text-dark text-center\">\r\n <h3>{{'billing-data'|translate}}</h3>\r\n </div>\r\n <div class=\"card-body\">\r\n <form (submit)=\"verifyValidate()\">\r\n <div class=\"row mt-df\">\r\n <!--Fila 1-->\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.firstName.enabled\">\r\n <label class=\"field-label\">{{'first-name'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.firstName.required\"\r\n class=\"required\">*</span></label>\r\n <input class=\"form-control\" type=\"text\" name=\"firstName\"\r\n [formControl]=\"checkoutFormFacturacion.controls['firstName']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.firstName.touched && checkoutFormFacturacion.controls.firstName.errors?.required\">\r\n <span class=\"text-danger\">{{'first-name-help1'|translate}}</span>\r\n\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.firstName.touched && checkoutFormFacturacion.controls.firstName.errors?.pattern\">\r\n <span class=\"text-danger\">\r\n {{'first-name-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.lastName.enabled\">\r\n <label class=\"field-label\">{{'last-name'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.lastName.required\"\r\n class=\"required\">*</span></label>\r\n <input class=\"form-control\" type=\"text\" name=\"lastName\"\r\n [formControl]=\"checkoutFormFacturacion.controls['lastName']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.lastName.touched && checkoutFormFacturacion.controls.lastName.errors?.required\">\r\n <span class=\"text-danger\">{{'last-name-help1'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.lastName.touched && checkoutFormFacturacion.controls.lastName.errors?.pattern\">\r\n <span class=\"text-danger\">{{'last-name-help2'|translate}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <!--Fila 2-->\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.phoneNumber.enabled\">\r\n <label class=\"field-label\">{{'phone'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.phoneNumber.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\"\r\n name=\"phoneNumber\"\r\n [formControl]=\"checkoutFormFacturacion.controls['phoneNumber']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.phoneNumber.touched && checkoutFormFacturacion.controls.phoneNumber.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'phone-help1'|translate}}\r\n </span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.phoneNumber.touched && checkoutFormFacturacion.controls.phoneNumber.errors?.pattern\">\r\n <span class=\"text-danger\">\r\n {{'phone-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.email.enabled\">\r\n <label class=\"field-label\">{{'email-address'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.email.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"email\" name=\"email\"\r\n [formControl]=\"checkoutFormFacturacion.controls['email']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.email.touched && checkoutFormFacturacion.controls.email.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'email-address-help1'|translate}}\r\n </span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.email.touched && checkoutFormFacturacion.controls.email.errors?.email\">\r\n <span class=\"text-danger\">\r\n {{'email-address-help2'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <!--Fila 3-->\r\n\r\n <ng-container\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.countryCode.enabled\">\r\n\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"(countriesFacturacion$ | async) as countries\">\r\n <label class=\"field-label\">{{'country'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.countryCode.required\"\r\n class=\"required\">*</span></label>\r\n <select class=\"form-select\" name=\"countryCode\"\r\n [formControl]=\"checkoutFormFacturacion.controls['countryCode']\"\r\n (change)=\"onCountrySelectedFacturacion($event.target.value)\">\r\n <!-- <option selected [value]=\"null\">{{ 'choose-country' | translate }}</option> -->\r\n <option *ngFor=\"let country of countries\" [value]=\"country.code\">\r\n {{ country.name }}</option>\r\n </select>\r\n <div *ngIf=\"checkoutFormFacturacion.controls.countryCode.touched && checkoutFormFacturacion.controls.countryCode.errors?.required\"\r\n class=\"text text-danger\">\r\n {{'country-help'|translate}}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.provinceCode.enabled\">\r\n\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"(provincesFacturacion$ | async) as provinces\">\r\n <label class=\"field-label\">{{'state'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.provinceCode.required\"\r\n class=\"required\">*</span></label>\r\n <select class=\"form-select\" name=\"provinceCode\"\r\n (change)=\"onProvincesSelectedFacturacion($event.target.value)\"\r\n [formControl]=\"checkoutFormFacturacion.controls['provinceCode']\">\r\n <!-- <option selected [value]=\"null\">{{ 'choose-province' | translate }}</option> -->\r\n <option *ngFor=\"let province of provinces\" [value]=\"province.code\">\r\n {{ province.name }}\r\n </option>\r\n </select>\r\n <div *ngIf=\"checkoutFormFacturacion.controls.provinceCode.touched && checkoutFormFacturacion.controls.provinceCode.errors?.required\"\r\n class=\"text text-danger\">\r\n {{'state-help'|translate}}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.city.enabled\">\r\n <label class=\"field-label\">{{'town-city'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.city.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"city\"\r\n [formControl]=\"checkoutFormFacturacion.controls['city']\" value=\"\" placeholder=\"\"\r\n autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.city.touched && checkoutFormFacturacion.controls.city.errors?.required\">\r\n <span class=\"text-danger\">{{'town-city-help'|translate}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <!--Fila 4-->\r\n <div class=\"form-group col-12 col-md-8\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.street.enabled\">\r\n <label class=\"field-label\">{{'address'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.street.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"street\"\r\n [formControl]=\"checkoutFormFacturacion.controls['street']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.street.touched && checkoutFormFacturacion.controls.street.errors?.required\">\r\n <span class=\"text-danger\">{{'address-help1'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.street.touched && checkoutFormFacturacion.controls.street.errors?.maxlength\">\r\n <span class=\"text-danger\">{{'address-help2'|translate}}</span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.postcode.enabled\">\r\n <label class=\"field-label\">{{'postal-code'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.postcode.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"postcode\"\r\n [formControl]=\"checkoutFormFacturacion.controls['postcode']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.postcode.touched && checkoutFormFacturacion.controls.postcode.errors?.required\">\r\n <span class=\"text-danger\">{{'postal-code-help'|translate}}</span>\r\n </div>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.postcode.touched && checkoutFormFacturacion.controls.postcode.errors?.pattern\">\r\n <span class=\"text-danger\">{{'postal-code-pattern-error'|translate}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <!--Fila 5-->\r\n <ng-container *ngIf=\"this.addressingService.getTypeForm().viewForms.documentType.enabled\">\r\n <div class=\"form-group col-12 col-md-4\" *ngIf=\"(documentTypesFacturacion$ | async) as documentTypes\">\r\n <label class=\"field-label\">{{'document-type'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentType.required\"\r\n class=\"required\">*</span></label>\r\n <select name=\"documentType\" class=\"form-select\"\r\n [formControl]=\"checkoutFormFacturacion.controls['documentType']\">\r\n <!-- <option [value]=\"''\" selected>{{'document-type'|translate}}</option> -->\r\n <option\r\n *ngFor=\"let item of documentTypes\"\r\n [value]=\"item.code\">{{item.name}}</option>\r\n </select>\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.documentType.touched && checkoutFormFacturacion.controls.documentType.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'type-document-help'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12 col-md-4\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentNumber.enabled\">\r\n <label class=\"field-label\">{{'document-number'|translate}}<span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.documentNumber.required\"\r\n class=\"required\">*</span></label>\r\n <input (change)=\"onInputChange()\" class=\"form-control\"\r\n [type]=\"(this.addressingService.typeForms == 'EUR' ? 'text' : 'number') \"\r\n name=\"documentNumber\"\r\n [formControl]=\"checkoutFormFacturacion.controls['documentNumber']\" min=\"1\"\r\n max=\"99999999999\" value=\"\" placeholder=\"\" autocomplete=\"off\">\r\n <div class=\"text-danger-container\"\r\n *ngIf=\"checkoutFormFacturacion.controls.documentNumber.touched && checkoutFormFacturacion.controls.documentNumber.errors?.required\">\r\n <span class=\"text-danger\">\r\n {{'document-number-help'|translate}}\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"row mt-df\">\r\n <div class=\"form-group col-12 col-md-12\"\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.enabled\">\r\n <label class=\"field-label\" *ngIf=\"!getLabelNotesParam()\">{{'notes'|translate}} <span\r\n *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\"\r\n class=\"required\">*</span></label>\r\n <label class=\"field-label\" *ngIf=\"getLabelNotesParam() as labelNotesHtml\">\r\n <div [innerHTML]=\"labelNotesHtml\"></div>\r\n <span *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\" class=\"required\">*</span>\r\n </label>\r\n\r\n <!-- <label class=\"field-label\">{{'notes'|translate}}<span *ngIf=\"this.addressingService.getTypeForm().viewForms.notes.required\" class=\"required\">*</span></label> -->\r\n <input (change)=\"onInputChange()\" class=\"form-control\" type=\"text\" name=\"notes\"\r\n [formControl]=\"checkoutFormFacturacion.controls['notes']\" value=\"\"\r\n placeholder=\"\" autocomplete=\"off\">\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <button type=\"button\" class=\"btn-close float-end\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"modal-body scrol-if\">\r\n <app-section-container-ec [name]=\"'terminos-y-condiciones'\"> </app-section-container-ec>\r\n </div>\r\n\r\n</ng-template>\r\n\r\n\r\n<ng-template #addressBookNotResult>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 text-center my-2\">\r\n <h4> {{'address-book-not-result' | translate }} </h4>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #addressBookLoading>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 text-center my-2\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n</ng-container>\r\n\r\n<ng-template #pleaseLogin>\r\n <div class=\"container\">\r\n <p>Por favor <a [routerLink]=\"['/auth/login']\" > Inicie Sesi\u00F3n</a></p>\r\n </div>\r\n</ng-template>",
|
|
@@ -8265,7 +8313,7 @@ var __extends$j = (this && this.__extends) || (function () {
|
|
|
8265
8313
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8266
8314
|
};
|
|
8267
8315
|
})();
|
|
8268
|
-
var __decorate$
|
|
8316
|
+
var __decorate$R = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8269
8317
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8270
8318
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8271
8319
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8360,7 +8408,7 @@ var PaymentService = /** @class */ (function (_super) {
|
|
|
8360
8408
|
{ type: CheckoutService },
|
|
8361
8409
|
{ type: AnalyticsService }
|
|
8362
8410
|
]; };
|
|
8363
|
-
PaymentService = __decorate$
|
|
8411
|
+
PaymentService = __decorate$R([
|
|
8364
8412
|
Injectable()
|
|
8365
8413
|
], PaymentService);
|
|
8366
8414
|
return PaymentService;
|
|
@@ -8390,7 +8438,7 @@ var __assign$j = (this && this.__assign) || function () {
|
|
|
8390
8438
|
};
|
|
8391
8439
|
return __assign$j.apply(this, arguments);
|
|
8392
8440
|
};
|
|
8393
|
-
var __decorate$
|
|
8441
|
+
var __decorate$S = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8394
8442
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8395
8443
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8396
8444
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8559,13 +8607,13 @@ var PaymentEcComponent = /** @class */ (function (_super) {
|
|
|
8559
8607
|
{ type: PaymentService },
|
|
8560
8608
|
{ type: CheckoutService }
|
|
8561
8609
|
]; };
|
|
8562
|
-
__decorate$
|
|
8610
|
+
__decorate$S([
|
|
8563
8611
|
Input()
|
|
8564
8612
|
], PaymentEcComponent.prototype, "step_id", void 0);
|
|
8565
|
-
__decorate$
|
|
8613
|
+
__decorate$S([
|
|
8566
8614
|
ViewChild('formContainer')
|
|
8567
8615
|
], PaymentEcComponent.prototype, "mercadopago_button", void 0);
|
|
8568
|
-
PaymentEcComponent = __decorate$
|
|
8616
|
+
PaymentEcComponent = __decorate$S([
|
|
8569
8617
|
Component({
|
|
8570
8618
|
selector: 'app-payment-ec',
|
|
8571
8619
|
template: "<div class=\"container-fluid\" *ngIf=\"(paymentService.methods$ | async) as methods\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card \">\r\n <div class=\"card-header text-dark text-center\">\r\n <h4>{{ 'select-method' | translate }}</h4>\r\n <div class=\"btn-toolbar justify-content-center\" role=\"toolbar\" aria-label=\"Envios toolbar\">\r\n <div class=\"\" role=\"group\" aria-label=\"Grupo botones envio\">\r\n <div class=\"d-flex align-content-start justify-content-center flex-wrap\">\r\n <button type=\"button\" class=\"btn btn-outline-secondary mx-1 mb-1\"\r\n *ngFor=\"let method of methods; let x = index\"\r\n (click)=\"setMethod(method) ; setActive($event)\">\r\n {{ method.name | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body text-center\">\r\n <div class=\"row justify-content-center\" *ngIf=\"(method_data$ | async) as method\">\r\n <ng-container *ngIf=\"!loading_internal ; else loading\">\r\n <div class=\"method-container text-dark\" *ngIf=\"isMP(method.code)\">\r\n <p id=\"faqs\" class=\"qt px-5 \">{{ method.description }}</p>\r\n <p class=\"px-5\">{{ method.instructions }}</p>\r\n <app-mp-redirect-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [paymentServiceInst]=\"paymentService\" [allData]=\"allData()\"></app-mp-redirect-ec>\r\n </div>\r\n <div class=\"method-container text-dark text-left\" *ngIf=\"isMPTarjetaDeCredito(method.code)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <p id=\"faqs\" class=\"qt px-5 \">{{ method.description }}</p>\r\n <p class=\"px-5\">{{ method.instructions }}</p>\r\n <div app-mp-credit-ec (ready)=\"verifyValidate()\" [public_key]=\"getPK(method)\"\r\n [user_data]=\"allData()\" [total_amount]=\"total_amount\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\"\r\n *ngIf=\"isRedirectRedsys(method.code)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <ng-container *ngIf=\"!method.code.includes('bizum') && !method.code.includes('_out_')\">\r\n <app-redsys-redirect-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\">\r\n </app-redsys-redirect-ec>\r\n </ng-container>\r\n <ng-container *ngIf=\"method.code.includes('bizum') || method.code.includes('_out_')\">\r\n <app-redsys-redirect-out-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\">\r\n </app-redsys-redirect-out-ec>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isRedirectCecaBank(method.code)\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <app-ceca-redirect-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\">\r\n </app-ceca-redirect-ec>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isPeyPalExpress(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-paypal-express-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\"\r\n [total_amount]=\"total_amount\">\r\n </app-paypal-express-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isMobbex(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-mobbex-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\" [paymentServiceInst]=\"paymentService\"\r\n [total_amount]=\"total_amount\">\r\n </app-mobbex-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isBancard(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-bancard-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\"\r\n [paymentServiceInst]=\"paymentService\" [total_amount]=\"total_amount\">\r\n </app-bancard-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isDecidir(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-decidir-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\" [paymentServiceInst]=\"paymentService\"\r\n [total_amount]=\"total_amount\">\r\n </app-decidir-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark\" *ngIf=\"isMethodOffline(method.code)\">\r\n <p id=\"faqs\" class=\"qt px-5\">{{ method.description }}</p>\r\n <p class=\"px-5\">{{ method.instructions }}</p>\r\n <div class=\"end-button\">\r\n <button class=\"btn comprar\" (click)=\"setLoading() && verifyValidate()\">{{ ('pay-with-offline'| translate) }}</button>\r\n </div>\r\n <ng-container *ngIf=\"(loading$ | async) as load\">\r\n <div class=\"mt-2\" *ngIf=\"load\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isCulqi(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <!-- <app-mobbex-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\" [paymentServiceInst]=\"paymentService\"\r\n [total_amount]=\"total_amount\">\r\n </app-mobbex-ec> -->\r\n <app-culqi-ec [apiKey]=\"getPKCulqi(method)\" [method]=\"method\" [amount]=\"total_amount\" [customStyle]=\"true\" (ready)=\"verifyValidate()\"></app-culqi-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isCatastro(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-bancard-catastro-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\"\r\n [paymentServiceInst]=\"paymentService\" [total_amount]=\"total_amount\"></app-bancard-catastro-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark text-start\" *ngIf=\"isBamboo(method.code)\">\r\n <div class=\"container\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-12\">\r\n <app-bamboo-ec (ready)=\"verifyValidate($event)\" [method]=\"method\" [user_data]=\"allData()\"\r\n [paymentServiceInst]=\"paymentService\" [total_amount]=\"total_amount\"></app-bamboo-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"method-container text-dark\" *ngIf=\"isBankTransfer(method.code)\">\r\n <div class=\"row px-0 description-cont\">\r\n <ng-container *ngFor=\"let line of method.description.split('\\r\\n'); let i=index\">\r\n <p [id]=\"'faqs-'+i\" [class]=\"'qt px-5 m-0 line-'+i\">{{ line }}</p>\r\n </ng-container>\r\n </div>\r\n <hr *ngIf=\"method.instructions\">\r\n <div *ngIf=\"method.instructions\" class=\"row px-0 instructions-cont mb-1\">\r\n <h5 class=\"instructions-title\">{{ ('instructions' | translate) }}</h5>\r\n <ng-container *ngFor=\"let line of method.instructions.split('\\r\\n'); let i=index\">\r\n <p [class]=\"'px-5 m-0 instructions-text line-'+i \">{{ line }}</p>\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"end-button\">\r\n <button class=\"btn comprar\" (click)=\"setLoading() && verifyValidate()\">{{\r\n ('pay-with-transfer'\r\n | translate) }}</button>\r\n </div>\r\n <ng-container *ngIf=\"(loading$ | async) as load\">\r\n <div class=\"mt-2\" *ngIf=\"load\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #mercadoPago>\r\n <div class=\"row \">\r\n <div class=\"col-12 text-center\">\r\n <app-loading-inline-ec *ngIf=\"loading_internal_mp\"></app-loading-inline-ec>\r\n <form action=\"javascript:void(0)\" #formContainer></form>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loading>\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n</ng-template>\r\n",
|
|
@@ -8600,7 +8648,7 @@ var __assign$k = (this && this.__assign) || function () {
|
|
|
8600
8648
|
};
|
|
8601
8649
|
return __assign$k.apply(this, arguments);
|
|
8602
8650
|
};
|
|
8603
|
-
var __decorate$
|
|
8651
|
+
var __decorate$T = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8604
8652
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8605
8653
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8606
8654
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8717,10 +8765,10 @@ var ShipmentEcComponent = /** @class */ (function (_super) {
|
|
|
8717
8765
|
{ type: ProductsService },
|
|
8718
8766
|
{ type: CheckoutService }
|
|
8719
8767
|
]; };
|
|
8720
|
-
__decorate$
|
|
8768
|
+
__decorate$T([
|
|
8721
8769
|
Input()
|
|
8722
8770
|
], ShipmentEcComponent.prototype, "step_id", void 0);
|
|
8723
|
-
ShipmentEcComponent = __decorate$
|
|
8771
|
+
ShipmentEcComponent = __decorate$T([
|
|
8724
8772
|
Component({
|
|
8725
8773
|
selector: 'app-shipment-ec',
|
|
8726
8774
|
template: "<!-- <div class=\"checkout-title\">\r\n <h3>{{'shipment-methods'|translate}}</h3>\r\n</div> -->\r\n\r\n<div class=\"container-fluid\">\r\n <div class=\"col-12\">\r\n <div class=\"card text-center\">\r\n <div class=\"card-header text-dark\">\r\n <h4>{{ 'select-method' | translate }}</h4>\r\n <div class=\"btn-toolbar justify-content-center\" role=\"toolbar\" aria-label=\"Envios toolbar\"\r\n *ngIf=\"(shipmentService.methods | async) as methods; else noMethods\">\r\n <div class=\"\" role=\"group\" aria-label=\"Grupo botones envio\">\r\n <div class=\"d-flex align-content-start justify-content-center flex-wrap\">\r\n <button [disabled]=\"this.shipmentService.buttonsDisabled || this.buttonsDisabled\" type=\"button\" class=\"btn btn-outline-secondary mx-1 mb-1\"\r\n *ngFor=\"let method of deleteUPS(methods); let x = index\"\r\n (click)=\"setMethod(method, post_code); setActive($event)\">\r\n {{ method.name | translate }}\r\n </button>\r\n </div>\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"row justify-content-center mb-2\" *ngIf=\"moreInfoInMethod && methodSelect && methodSelect.description\">\r\n <div class=\"col-12 col-md-6 col-lg-4 d-flex flex-column mb-2\" [id]=\"methodSelect.code\">\r\n <ng-container *ngFor=\"let line of methodSelect.description.split('\\r\\n'); let i=index\">\r\n <span [id]=\"methodSelect.code+'-'+i\" [class]=\"'line-'+i\">{{line}}</span>\r\n </ng-container>\r\n </div>\r\n <!--<span> <b>{{ 'information' | translate }}:</b> {{methodSelect.description}} </span>-->\r\n </div>\r\n <div class=\"row justify-content-center\" *ngIf=\"this.costs\">\r\n <ng-container *ngIf=\"!loading_internal ; else loading\">\r\n <div class=\"col-auto text-dark\" *ngFor=\"let cost of costs; let y = index\">\r\n <ng-container *ngIf=\"cost.contracts.length > 0\">\r\n <ng-container *ngIf=\"costs.length > 1; else uniqueShipment\">\r\n <span><b>{{ cost.name | translate }}</b></span>\r\n <hr />\r\n </ng-container>\r\n <ng-template #uniqueShipment>\r\n <span><b>{{ methodSelect.name | translate }}</b></span>\r\n <hr />\r\n </ng-template>\r\n <div class=\"option\" *ngFor=\"let contract of cost.contracts; let i = index\">\r\n <div class=\"form-check current-contract\">\r\n <input class=\"form-check-input\" [checked]=\"(y === 0 && i === 0) ? true : contract.selected\" type=\"radio\" name=\"card\" [id]=\"cost.name + i\"\r\n value=\"dark\" (click)=\"verifyValidate(cost.name, contract)\">\r\n <label class=\"form-check-label\" [for]=\"cost.name + i\" aria-label=\"Dark grey\">\r\n <span\r\n [class]=\"(cost.name == 'home_delivery') ? 'shipment-contractname home_delivery' : 'shipment-contractname' \"\r\n *ngIf=\"validName(contract.name)\">{{ contract.name | translate }}</span>\r\n <span *ngIf=\"contract.computed\"><br class=\"shipment-contractname\">{{ contract.computed | translate }}<br\r\n class=\"shipment-contractname\"></span>\r\n <div *ngIf=\"contract.detail\" class=\"contract-detail\">\r\n <div *ngFor=\"let line of contract.detail.split(' - '); let i = index\" [class]=\"'contrat-item-'+i\">\r\n <span *ngIf=\"i == 0\"><b>{{ line }}</b></span>\r\n <span class=\"inside-detail\" *ngIf=\"i > 0\">{{ line }}</span>\r\n </div>\r\n </div>\r\n <span *ngIf=\"contract.price > 0\" [class]=\"'inside-detail ' + ( costos?.amount == 0 ? ' free ' : '') \">\r\n <br class=\"shipment-contractname\" *ngIf=\"!contract.computed\">\r\n {{ ('price'|translate) + ': ' + (contract.price | ecCurrencySymbol) }}</span>\r\n <!-- <span *ngIf=\"contract.price == 0\" [class]=\"'inside-detail ' + ( costos?.amount == 0 ? ' free ' : '') \">\r\n <br class=\"shipment-contractname\" *ngIf=\"!contract.computed\"> {{ ('free'|translate) }}</span> -->\r\n <br>\r\n </label>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n\r\n<ng-template #noMethods>\r\n <div class=\"d-flex flex-row w-100 justify-content-center mt-2\">\r\n <h5 class=\"text-secondary\">{{'no-shipment-methods'|translate}}</h5>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loading>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</ng-template>\r\n",
|
|
@@ -8744,7 +8792,7 @@ var __extends$m = (this && this.__extends) || (function () {
|
|
|
8744
8792
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8745
8793
|
};
|
|
8746
8794
|
})();
|
|
8747
|
-
var __decorate$
|
|
8795
|
+
var __decorate$U = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8748
8796
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8749
8797
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8750
8798
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8795,7 +8843,7 @@ var SuccessEcComponent = /** @class */ (function (_super) {
|
|
|
8795
8843
|
{ type: BlocksService },
|
|
8796
8844
|
{ type: Constants }
|
|
8797
8845
|
]; };
|
|
8798
|
-
SuccessEcComponent = __decorate$
|
|
8846
|
+
SuccessEcComponent = __decorate$U([
|
|
8799
8847
|
Component({
|
|
8800
8848
|
selector: 'app-order-success-ec',
|
|
8801
8849
|
template: "<div id=\"container\" class=\"flex-center generalContainer container-xl\">\r\n <div class=\"Main card my-2\" *ngIf=\"this.payments && this.payments[0].method.code; else loading\">\r\n <ng-container *ngIf=\"this.blocks && this.blocks.length > 0; else notInfoToMethod\">\r\n <ng-container *ngIf=\"containsBlock(this.payments[0].method.code) as bloque; else notInfoToMethod\">\r\n <div class=\"wrap my-4 card-body\" [id]=\"bloque.code\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12\">\r\n <h5 [class]=\"bloque.code+'-title'\">{{ (bloque?.translations[consts.getLocale()]?.name ?\r\n bloque.translations[consts.getLocale()].name :\r\n 'thanks-for-buying') | translate\r\n | uppercase }}</h5>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12 text-start\">\r\n <app-blocks-ec [section]=\"'info_metodo_pago'\" [blockFilters]=\"this.payments[0].method.code\">\r\n </app-blocks-ec>\r\n <div class=\"d-flex flex-column details\">\r\n <p class=\"card-text\">{{ ('number' | translate) + ': ' + params.external_reference }}</p>\r\n <p class=\"card-text\">{{((params.payment_status || 'pending') | translate)}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #notInfoToMethod>\r\n <ng-template #defaultMessage>\r\n <div class=\"wrap my-4 card-body\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12\">\r\n <h5 class=\"card-title titpage center-block text-center\">\r\n {{ 'thanks-for-buying' | translate | uppercase }}\r\n </h5>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12 text-center py-3\">\r\n <h4 class=\"thanks-details\">{{ 'thanks-details' | translate }}</h4>\r\n <h5 class=\"number\">{{ ('number' | translate) + ': ' + params.external_reference }}</h5>\r\n <h5 class=\"pending\">{{ ((params.payment_status || 'pending') | translate) }}</h5>\r\n <!-- <h5 *ngIf=\"!from_mp\">{{ ('will_contact' | translate) }}</h5> -->\r\n\r\n <!-- <a routerLink=\"/collection\"><button class=\"comprar\">{{ 'continue-shopping' | translate }}</button></a> -->\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"notInfoToMethodTemplate ? notInfoToMethodTemplate : defaultMessage\"\r\n [ngTemplateOutletContext]=\"{params:params}\">\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>\r\n\r\n<ng-template #loading>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</ng-template>",
|
|
@@ -8818,7 +8866,7 @@ var __extends$n = (this && this.__extends) || (function () {
|
|
|
8818
8866
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8819
8867
|
};
|
|
8820
8868
|
})();
|
|
8821
|
-
var __decorate$
|
|
8869
|
+
var __decorate$V = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8822
8870
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8823
8871
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8824
8872
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9030,19 +9078,19 @@ var CollectionEcComponent = /** @class */ (function (_super) {
|
|
|
9030
9078
|
{ type: Constants },
|
|
9031
9079
|
{ type: FiltersService }
|
|
9032
9080
|
]; };
|
|
9033
|
-
__decorate$
|
|
9081
|
+
__decorate$V([
|
|
9034
9082
|
Input()
|
|
9035
9083
|
], CollectionEcComponent.prototype, "type", void 0);
|
|
9036
|
-
__decorate$
|
|
9084
|
+
__decorate$V([
|
|
9037
9085
|
Input()
|
|
9038
9086
|
], CollectionEcComponent.prototype, "value", void 0);
|
|
9039
|
-
__decorate$
|
|
9087
|
+
__decorate$V([
|
|
9040
9088
|
Input()
|
|
9041
9089
|
], CollectionEcComponent.prototype, "productsWithUniqueVariant", void 0);
|
|
9042
|
-
__decorate$
|
|
9090
|
+
__decorate$V([
|
|
9043
9091
|
Input()
|
|
9044
9092
|
], CollectionEcComponent.prototype, "optionsFilters", void 0);
|
|
9045
|
-
CollectionEcComponent = __decorate$
|
|
9093
|
+
CollectionEcComponent = __decorate$V([
|
|
9046
9094
|
Component({
|
|
9047
9095
|
selector: 'app-collection-ec',
|
|
9048
9096
|
template: "\r\n<div>\r\n <div class=\"collection\">\r\n <ng-content select=\"[collection]\"> </ng-content>\r\n </div>\r\n\r\n <div class=\"all\">\r\n <ng-content select=\"[all]\"> </ng-content>\r\n </div>\r\n</div>\r\n\r\n<app-blocks-ec [section]=\"'collection'\"></app-blocks-ec>",
|
|
@@ -9065,7 +9113,7 @@ var __extends$o = (this && this.__extends) || (function () {
|
|
|
9065
9113
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9066
9114
|
};
|
|
9067
9115
|
})();
|
|
9068
|
-
var __decorate$
|
|
9116
|
+
var __decorate$W = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9069
9117
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9070
9118
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9071
9119
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9108,7 +9156,7 @@ var CouponEcComponent = /** @class */ (function (_super) {
|
|
|
9108
9156
|
{ type: CartService },
|
|
9109
9157
|
{ type: ToastService }
|
|
9110
9158
|
]; };
|
|
9111
|
-
CouponEcComponent = __decorate$
|
|
9159
|
+
CouponEcComponent = __decorate$W([
|
|
9112
9160
|
Component({
|
|
9113
9161
|
selector: 'app-coupon-ec',
|
|
9114
9162
|
template: "<!-- <div class=\"input-group mb-3 border-golden\" *ngIf=\"!aplied\">\r\n <input type=\"text\" class=\"form-control radius-0\" placeholder=\"\u00A1Tengo un cup\u00F3n de descuento!\"\r\n aria-label=\"\u00A1Tengo un cup\u00F3n de descuento!\" aria-describedby=\"basic-addon2\"\r\n [disabled]=\"aplied\" [(ngModel)]=\"coupon_value\">\r\n <div class=\"input-group-append\">\r\n <button class=\"btn bg-golden color-white radius-0\" \r\n (click)=\"setLoading() && addCoupon()\" \r\n [disabled]=\"!validCoupon() || loading\" \r\n type=\"button\">APLICAR</button>\r\n </div>\r\n</div> -->",
|
|
@@ -9131,7 +9179,7 @@ var __extends$p = (this && this.__extends) || (function () {
|
|
|
9131
9179
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9132
9180
|
};
|
|
9133
9181
|
})();
|
|
9134
|
-
var __decorate$
|
|
9182
|
+
var __decorate$X = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9135
9183
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9136
9184
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9137
9185
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9169,7 +9217,7 @@ var FaqsContentEcComponent = /** @class */ (function (_super) {
|
|
|
9169
9217
|
{ type: OptionsService },
|
|
9170
9218
|
{ type: ToastService }
|
|
9171
9219
|
]; };
|
|
9172
|
-
FaqsContentEcComponent = __decorate$
|
|
9220
|
+
FaqsContentEcComponent = __decorate$X([
|
|
9173
9221
|
Component({
|
|
9174
9222
|
selector: 'app-faqs-content-ec',
|
|
9175
9223
|
template: "<section class=\"formulario container\" *ngIf=\"faqs; else loading\">\r\n\r\n <div *ngIf=\"!empty_faqs; else emptyFaqsView\">\r\n <div class=\"row w-100 mx-auto my-4 px-3 bb-s bt-md-s py-1\">\r\n <strong>{{ 'FAQ' | translate }}</strong>\r\n </div>\r\n\r\n <div class=\"row w-100 m-auto\">\r\n <div class=\"col-12 col-md-4 col-lg-3 col-xl-2\">\r\n <div class=\"nav flex-column nav-pills\" id=\"v-pills-tab\" role=\"tablist\" aria-orientation=\"vertical\">\r\n <a [class]=\"'nav-link radius-0 text-dark bb-solid ' + (i == 0 ? 'active' : '')\" data-bs-toggle=\"pill\"\r\n role=\"tab\" [id]=\"'v-pills-tab-'+i\" [href]=\"'#v-pills-'+i\" [attr.data-bs-target]=\"'#v-pills-'+i\"\r\n *ngFor=\"let faq of faqs; let i = index\">{{ faq.title | translate }}</a>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 col-lg-9 col-xl-10\">\r\n <div class=\"tab-content mt-5 mt-md-0\" id=\"v-pills-tabContent\">\r\n <div [class]=\"'tab-pane fade ' + (i == 0 ? 'show active' : '')\" role=\"tabpanel\"\r\n *ngFor=\"let faq of faqs; let i = index\" [id]=\"'v-pills-'+i\">\r\n <h3>{{ faq.title | translate }}</h3>\r\n <div *ngFor=\"let question of faq.questions\">\r\n <h5><strong>{{ question.question | translate }}</strong></h5>\r\n <p>{{ question.answer | translate }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</section>\r\n\r\n<ng-template #loading>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 align-items-center\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #emptyFaqsView>\r\n <div>\r\n {{ 'empty_faqs' | translate }}\r\n </div>\r\n</ng-template>",
|
|
@@ -9192,7 +9240,7 @@ var __extends$q = (this && this.__extends) || (function () {
|
|
|
9192
9240
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9193
9241
|
};
|
|
9194
9242
|
})();
|
|
9195
|
-
var __decorate$
|
|
9243
|
+
var __decorate$Y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9196
9244
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9197
9245
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9198
9246
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9266,13 +9314,13 @@ var FiltersEcComponent = /** @class */ (function (_super) {
|
|
|
9266
9314
|
{ type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
|
|
9267
9315
|
{ type: FiltersService }
|
|
9268
9316
|
]; };
|
|
9269
|
-
__decorate$
|
|
9317
|
+
__decorate$Y([
|
|
9270
9318
|
Input()
|
|
9271
9319
|
], FiltersEcComponent.prototype, "setSelected", void 0);
|
|
9272
|
-
__decorate$
|
|
9320
|
+
__decorate$Y([
|
|
9273
9321
|
Input()
|
|
9274
9322
|
], FiltersEcComponent.prototype, "filters", void 0);
|
|
9275
|
-
FiltersEcComponent = __decorate$
|
|
9323
|
+
FiltersEcComponent = __decorate$Y([
|
|
9276
9324
|
Component({
|
|
9277
9325
|
selector: 'app-filters-ec',
|
|
9278
9326
|
template: "",
|
|
@@ -9296,7 +9344,7 @@ var __extends$r = (this && this.__extends) || (function () {
|
|
|
9296
9344
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9297
9345
|
};
|
|
9298
9346
|
})();
|
|
9299
|
-
var __decorate$
|
|
9347
|
+
var __decorate$Z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9300
9348
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9301
9349
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9302
9350
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9373,19 +9421,19 @@ var FiltersTopEcComponent = /** @class */ (function (_super) {
|
|
|
9373
9421
|
{ type: Constants },
|
|
9374
9422
|
{ type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
|
9375
9423
|
]; };
|
|
9376
|
-
__decorate$
|
|
9424
|
+
__decorate$Z([
|
|
9377
9425
|
Input()
|
|
9378
9426
|
], FiltersTopEcComponent.prototype, "setSelected", void 0);
|
|
9379
|
-
__decorate$
|
|
9427
|
+
__decorate$Z([
|
|
9380
9428
|
Input()
|
|
9381
9429
|
], FiltersTopEcComponent.prototype, "filters", void 0);
|
|
9382
|
-
__decorate$
|
|
9430
|
+
__decorate$Z([
|
|
9383
9431
|
Input()
|
|
9384
9432
|
], FiltersTopEcComponent.prototype, "full", void 0);
|
|
9385
|
-
__decorate$
|
|
9433
|
+
__decorate$Z([
|
|
9386
9434
|
Output()
|
|
9387
9435
|
], FiltersTopEcComponent.prototype, "changeFilter", void 0);
|
|
9388
|
-
FiltersTopEcComponent = __decorate$
|
|
9436
|
+
FiltersTopEcComponent = __decorate$Z([
|
|
9389
9437
|
Component({
|
|
9390
9438
|
selector: 'app-filters-top-ec',
|
|
9391
9439
|
template: "",
|
|
@@ -9420,7 +9468,7 @@ var __assign$l = (this && this.__assign) || function () {
|
|
|
9420
9468
|
};
|
|
9421
9469
|
return __assign$l.apply(this, arguments);
|
|
9422
9470
|
};
|
|
9423
|
-
var __decorate$
|
|
9471
|
+
var __decorate$_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9424
9472
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9425
9473
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9426
9474
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9489,7 +9537,7 @@ var FooterEcComponent = /** @class */ (function (_super) {
|
|
|
9489
9537
|
{ type: ParametersService },
|
|
9490
9538
|
{ type: Constants }
|
|
9491
9539
|
]; };
|
|
9492
|
-
FooterEcComponent = __decorate$
|
|
9540
|
+
FooterEcComponent = __decorate$_([
|
|
9493
9541
|
Component({
|
|
9494
9542
|
selector: 'app-footer-ec',
|
|
9495
9543
|
template: "",
|
|
@@ -9523,7 +9571,7 @@ var __assign$m = (this && this.__assign) || function () {
|
|
|
9523
9571
|
};
|
|
9524
9572
|
return __assign$m.apply(this, arguments);
|
|
9525
9573
|
};
|
|
9526
|
-
var __decorate
|
|
9574
|
+
var __decorate$$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9527
9575
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9528
9576
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9529
9577
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9718,10 +9766,10 @@ var HeaderEcComponent = /** @class */ (function (_super) {
|
|
|
9718
9766
|
{ type: Renderer2 },
|
|
9719
9767
|
{ type: ChannelConfigService }
|
|
9720
9768
|
]; };
|
|
9721
|
-
__decorate
|
|
9769
|
+
__decorate$$([
|
|
9722
9770
|
ViewChild("menu")
|
|
9723
9771
|
], HeaderEcComponent.prototype, "menu_button", void 0);
|
|
9724
|
-
HeaderEcComponent = __decorate
|
|
9772
|
+
HeaderEcComponent = __decorate$$([
|
|
9725
9773
|
Component({
|
|
9726
9774
|
selector: 'app-header-ec',
|
|
9727
9775
|
template: "<!-- <header [class]=\"(!transparent ? 'no-banner' : '')\" id=\"header-principal\">\r\n <div class=\"row border-color-buttom-gray m-0 d-none d-md-block\" id=\"novedades\">\r\n <div class=\"col-12 py-2\">\r\n {{ (params && params.header) || 'Sin informaci\u00F3n de cabecera' }}\r\n </div>\r\n </div>\r\n <div class=\"row encabezado-superior m-0 d-flex justify-content-center\" id=\"top-menu-principal\">\r\n <div class=\"col-md-6 col-3 p-md-3 p-2\">\r\n <a routerLink=\"/home\">\r\n <img src=\"assets/image/logo.png\" id=\"logo-superior\" class=\"ml-md-4 ml-1\">\r\n </a>\r\n </div>\r\n <div class=\"col-md-6 col-9 px-md-5 px-2 d-flex align-items-center justify-content-end\">\r\n <ul class=\"nav d-flex align-items-center justify-content-end\">\r\n <li class=\"px-2 outside-menu\">\r\n <div class=\"order-3 order-lg-1 input-search pt-3\">\r\n <form (submit)=\"$event.preventDefault()\" class=\"navbar-form navbar-left m-1\">\r\n <div class=\"input-group input-group-sm mb-3\" >\r\n <input type=\"text\" class=\"form-control input-rounded bg-transparent border-left-none\" placeholder=\"Buscar producto\"\r\n aria-label=\"Username\" aria-describedby=\"basic-addon1\" (keyup)=\"setSearchValue($event)\">\r\n <div class=\"input-group-prepend\" (click)=\"getCollectionSearch()\" role=\"button\">\r\n <span class=\"input-group-text icon-rounded bg-transparent border-right-none\" id=\"basic-addon1\">\r\n <a class=\"color-white\"><img src=\"assets/svg/search.svg\"></a>\r\n </span>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </li>\r\n <li class=\"px-2 outside-menu\">\r\n <a routerLink=\"cart\" class=\"color-white\"><img src=\"assets/svg/cart.svg\"></a>\r\n </li>\r\n <li class=\"px-2 outside-menu\">\r\n <a [routerLink]=\"'/account'\" *ngIf=\"(authService.loggedIn | async); else sessionOptionsViewMobile\" class=\"color-white\"><img src=\"assets/svg/user.svg\"></a>\r\n <ng-template #sessionOptionsViewMobile>\r\n <a [routerLink]=\"'/auth/login'\" class=\"color-white\"><img src=\"assets/svg/user.svg\"></a>\r\n </ng-template>\r\n </li>\r\n <li class=\"px-2 outside-menu\">\r\n <a disabled style=\"vertical-align: -webkit-ecline-middle;\"\r\n class=\"color-white ff-ubuntu-light font-sm\">ES</a>\r\n </li>\r\n <li class=\"px-2 d-inline-block d-md-none\">\r\n <a id=\"openMenu\" class=\"color-white\" (click)=\"toogleToolbar()\">\r\n <img src=\"assets/svg/menu.svg\" class=\"open-m\" >\r\n <img src=\"assets/svg/close.svg\" class=\"close-m\">\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-11 border-color-buttom-gray d-none d-md-block\"></div>\r\n </div>\r\n <nav class=\"py-md-3 py-0 w-100 d-none d-md-block\" id=\"menu-principal\" #menu>\r\n <ul class=\"nav d-flex flex-md-row flex-column justify-content-center\">\r\n <li class=\"dropdown separador-left\">\r\n <a class=\"dropdown-toggle color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\r\n data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" data-target=\"#buscador\"\r\n role=\"button\">\r\n CAT\u00C1LOGO\r\n </a>\r\n <ul class=\"dropdown-menu mega-menu dropdown-menu-right mt-md-2 mt-0\" role=\"menu\">\r\n <div class=\"flex-md-row flex-column py-0 d-flex align-items-start justify-content-center\">\r\n <div class=\"row mega-menu-center px-md-3 px-0\">\r\n <div class=\"col-sm py-3 box-submenu\"\r\n *ngFor=\"let category of categories; let i = index\">\r\n <div class=\"row\">\r\n <div class=\"col-3 col-md-4 p-0\">\r\n <img [src]=\"consts.mediaUrl() + category.images[0].path\"\r\n class=\"w-100\">\r\n </div>\r\n <div class=\"col-9 col-md-8 py-2 pr-0\">\r\n <a [routerLink]=\"category.path\">\r\n <h5 class=\"ff-ubuntu-semi-bold font-xl\">{{ category.title }}</h5>\r\n </a>\r\n <ul\r\n class=\"nav d-md-flex d-none flex-column font-ss ff-ubuntu color-white submenu\">\r\n <li class=\"text-uppercase mb-2\"\r\n *ngFor=\"let child of category.children\">\r\n <a [routerLink]=\"child.path\">\r\n {{ child.title }}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ul>\r\n </li>\r\n <li class=\"dropdown separador-left\">\r\n <a [routerLink]=\"'collection/'\"\r\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\r\n role=\"button\">\r\n NOVEDADES\r\n </a>\r\n </li>\r\n <li class=\"dropdown separador-left\">\r\n <a [routerLink]=\"'/collection/attributes/ofertas'\"\r\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\r\n role=\"button\">\r\n OFERTAS\r\n </a>\r\n </li>\r\n <li class=\"dropdown separador-left\">\r\n <a [routerLink]=\"'/section/quienes-somos'\"\r\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\r\n role=\"button\">\r\n QUIENES SOMOS\r\n </a>\r\n </li>\r\n <li class=\"dropdown separador-left\">\r\n <a [routerLink]=\"'/contact'\"\r\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\r\n role=\"button\">\r\n CONTACTO\r\n </a>\r\n </li>\r\n </ul>\r\n </nav>\r\n</header> -->",
|
|
@@ -9744,7 +9792,7 @@ var __extends$u = (this && this.__extends) || (function () {
|
|
|
9744
9792
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9745
9793
|
};
|
|
9746
9794
|
})();
|
|
9747
|
-
var __decorate
|
|
9795
|
+
var __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9748
9796
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9749
9797
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9750
9798
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9769,7 +9817,7 @@ var HomeEcComponent = /** @class */ (function (_super) {
|
|
|
9769
9817
|
{ type: BlocksService },
|
|
9770
9818
|
{ type: Constants }
|
|
9771
9819
|
]; };
|
|
9772
|
-
HomeEcComponent = __decorate
|
|
9820
|
+
HomeEcComponent = __decorate$10([
|
|
9773
9821
|
Component({
|
|
9774
9822
|
selector: 'app-home-ec',
|
|
9775
9823
|
template: "<app-blocks-ec [section]=\"'home'\"></app-blocks-ec>",
|
|
@@ -9792,7 +9840,7 @@ var __extends$v = (this && this.__extends) || (function () {
|
|
|
9792
9840
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9793
9841
|
};
|
|
9794
9842
|
})();
|
|
9795
|
-
var __decorate$
|
|
9843
|
+
var __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9796
9844
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9797
9845
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9798
9846
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9862,25 +9910,25 @@ var LoginEcComponent = /** @class */ (function (_super) {
|
|
|
9862
9910
|
{ type: FormBuilder },
|
|
9863
9911
|
{ type: Router }
|
|
9864
9912
|
]; };
|
|
9865
|
-
__decorate$
|
|
9913
|
+
__decorate$11([
|
|
9866
9914
|
Input()
|
|
9867
9915
|
], LoginEcComponent.prototype, "redirect", void 0);
|
|
9868
|
-
__decorate$
|
|
9916
|
+
__decorate$11([
|
|
9869
9917
|
Input()
|
|
9870
9918
|
], LoginEcComponent.prototype, "title", void 0);
|
|
9871
|
-
__decorate$
|
|
9919
|
+
__decorate$11([
|
|
9872
9920
|
Input()
|
|
9873
9921
|
], LoginEcComponent.prototype, "buyButton", void 0);
|
|
9874
|
-
__decorate$
|
|
9922
|
+
__decorate$11([
|
|
9875
9923
|
Input()
|
|
9876
9924
|
], LoginEcComponent.prototype, "withRoles", void 0);
|
|
9877
|
-
__decorate$
|
|
9925
|
+
__decorate$11([
|
|
9878
9926
|
Output()
|
|
9879
9927
|
], LoginEcComponent.prototype, "ready", void 0);
|
|
9880
|
-
__decorate$
|
|
9928
|
+
__decorate$11([
|
|
9881
9929
|
Output()
|
|
9882
9930
|
], LoginEcComponent.prototype, "loggedIn", void 0);
|
|
9883
|
-
LoginEcComponent = __decorate$
|
|
9931
|
+
LoginEcComponent = __decorate$11([
|
|
9884
9932
|
Component({
|
|
9885
9933
|
selector: 'app-login-ec',
|
|
9886
9934
|
template: "<div class=\"card card-body container content_menu h-100\">\r\n <div class=\"row w-100 mx-auto\">\r\n <div class=\"col-12 pb-3 d-flex justify-content-between\">\r\n <h3>{{title | translate }}</h3>\r\n </div>\r\n\r\n <div class=\"col-12 pb-3\">\r\n <form [formGroup]=\"loginForm\" (submit)=\"login($event)\">\r\n <div class=\"form-group\">\r\n <input type=\"email\" class=\"form-control rounded-0\" formControlName=\"username\"\r\n autocomplete=\"username\" placeholder=\"Email\">\r\n </div>\r\n <div class=\"form-group\">\r\n <input type=\"password\" class=\"form-control rounded-0\" formControlName=\"password\"\r\n autocomplete=\"current-password\" placeholder=\"Contrase\u00F1a\">\r\n </div>\r\n <button *ngIf=\"!loading\" [disabled]=\"!loginForm.valid\"\r\n class=\"btn btn-dark bg-black rounded-0 w-100\">INICIAR SESI\u00D3N</button>\r\n <div class=\"loading-container-form\" *ngIf=\"loading\">\r\n <div id=\"loading\"></div>\r\n </div>\r\n <h6 class=\"text-center mb-0 mt-3\">\r\n Olvidaste tu contrase\u00F1a?\r\n <br>\r\n <a [routerLink]=\"'/auth/forgot-password'\" class=\"d-contents\">Recuperala aqui</a>\r\n </h6>\r\n </form>\r\n </div>\r\n <div class=\"col-12 pt-3 border-top text-center\">\r\n\r\n <ng-container *ngIf=\"!buyButton;else invited\">\r\n\r\n Todavia no ten\u00E9s tu cuenta?\r\n <br>\r\n Creala desde <a (click)=\"nagivate('/register')\" class=\"d-contents\">aqui</a>\r\n </ng-container>\r\n\r\n\r\n <ng-template #invited>\r\n <a routerLink=\"/cart/checkout\" class=\"btn bg-black btn-finalizar-compra text-blanco mt-4\">\r\n {{ 'invited-checkout' | translate }}\r\n </a>\r\n </ng-template>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -9890,7 +9938,7 @@ var LoginEcComponent = /** @class */ (function (_super) {
|
|
|
9890
9938
|
return LoginEcComponent;
|
|
9891
9939
|
}(ComponentHelper));
|
|
9892
9940
|
|
|
9893
|
-
var __decorate$
|
|
9941
|
+
var __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9894
9942
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9895
9943
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9896
9944
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10078,7 +10126,7 @@ var CurrencyService = /** @class */ (function () {
|
|
|
10078
10126
|
{ type: Injector }
|
|
10079
10127
|
]; };
|
|
10080
10128
|
CurrencyService$1.ɵprov = ɵɵdefineInjectable({ factory: function CurrencyService_Factory() { return new CurrencyService(ɵɵinject(Constants), ɵɵinject(ConnectionService), ɵɵinject(ToastService), ɵɵinject(INJECTOR)); }, token: CurrencyService, providedIn: "root" });
|
|
10081
|
-
CurrencyService$1 = __decorate$
|
|
10129
|
+
CurrencyService$1 = __decorate$12([
|
|
10082
10130
|
Injectable({
|
|
10083
10131
|
providedIn: 'root'
|
|
10084
10132
|
})
|
|
@@ -10097,7 +10145,7 @@ var __assign$n = (this && this.__assign) || function () {
|
|
|
10097
10145
|
};
|
|
10098
10146
|
return __assign$n.apply(this, arguments);
|
|
10099
10147
|
};
|
|
10100
|
-
var __decorate$
|
|
10148
|
+
var __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10101
10149
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10102
10150
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10103
10151
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10563,7 +10611,7 @@ var ProductDetailService = /** @class */ (function () {
|
|
|
10563
10611
|
{ type: AnalyticsService },
|
|
10564
10612
|
{ type: CurrencyService }
|
|
10565
10613
|
]; };
|
|
10566
|
-
ProductDetailService = __decorate$
|
|
10614
|
+
ProductDetailService = __decorate$13([
|
|
10567
10615
|
Injectable()
|
|
10568
10616
|
], ProductDetailService);
|
|
10569
10617
|
return ProductDetailService;
|
|
@@ -10593,7 +10641,7 @@ var __assign$o = (this && this.__assign) || function () {
|
|
|
10593
10641
|
};
|
|
10594
10642
|
return __assign$o.apply(this, arguments);
|
|
10595
10643
|
};
|
|
10596
|
-
var __decorate$
|
|
10644
|
+
var __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10597
10645
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10598
10646
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10599
10647
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10732,10 +10780,10 @@ var ProductDetailEcComponent = /** @class */ (function (_super) {
|
|
|
10732
10780
|
{ type: Meta },
|
|
10733
10781
|
{ type: Injector }
|
|
10734
10782
|
]; };
|
|
10735
|
-
__decorate$
|
|
10783
|
+
__decorate$14([
|
|
10736
10784
|
ViewChild('contact')
|
|
10737
10785
|
], ProductDetailEcComponent.prototype, "contact", void 0);
|
|
10738
|
-
ProductDetailEcComponent = __decorate$
|
|
10786
|
+
ProductDetailEcComponent = __decorate$14([
|
|
10739
10787
|
Component({
|
|
10740
10788
|
selector: 'app-product-detail-ec',
|
|
10741
10789
|
template: "",
|
|
@@ -10759,7 +10807,7 @@ var __extends$x = (this && this.__extends) || (function () {
|
|
|
10759
10807
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10760
10808
|
};
|
|
10761
10809
|
})();
|
|
10762
|
-
var __decorate$
|
|
10810
|
+
var __decorate$15 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10763
10811
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10764
10812
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10765
10813
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10861,13 +10909,13 @@ var ProductEcComponent = /** @class */ (function (_super) {
|
|
|
10861
10909
|
{ type: ToastService },
|
|
10862
10910
|
{ type: AnalyticsService }
|
|
10863
10911
|
]; };
|
|
10864
|
-
__decorate$
|
|
10912
|
+
__decorate$15([
|
|
10865
10913
|
Input()
|
|
10866
10914
|
], ProductEcComponent.prototype, "isProductBox", void 0);
|
|
10867
|
-
__decorate$
|
|
10915
|
+
__decorate$15([
|
|
10868
10916
|
Input()
|
|
10869
10917
|
], ProductEcComponent.prototype, "product", void 0);
|
|
10870
|
-
ProductEcComponent = __decorate$
|
|
10918
|
+
ProductEcComponent = __decorate$15([
|
|
10871
10919
|
Component({
|
|
10872
10920
|
selector: 'app-product-ec',
|
|
10873
10921
|
template: "",
|
|
@@ -10891,7 +10939,7 @@ var __extends$y = (this && this.__extends) || (function () {
|
|
|
10891
10939
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10892
10940
|
};
|
|
10893
10941
|
})();
|
|
10894
|
-
var __decorate$
|
|
10942
|
+
var __decorate$16 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10895
10943
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10896
10944
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10897
10945
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10968,10 +11016,10 @@ var RelatedProductsEcComponent = /** @class */ (function (_super) {
|
|
|
10968
11016
|
{ type: Constants },
|
|
10969
11017
|
{ type: Router }
|
|
10970
11018
|
]; };
|
|
10971
|
-
__decorate$
|
|
11019
|
+
__decorate$16([
|
|
10972
11020
|
Input()
|
|
10973
11021
|
], RelatedProductsEcComponent.prototype, "product_id", void 0);
|
|
10974
|
-
RelatedProductsEcComponent = __decorate$
|
|
11022
|
+
RelatedProductsEcComponent = __decorate$16([
|
|
10975
11023
|
Component({
|
|
10976
11024
|
selector: 'app-related-products-ec',
|
|
10977
11025
|
template: "<!-- <div *ngFor=\"let products of relatedProducts\" >\r\n <section class=\"destacados\" id=\"destacados\"> \r\n <div class=\"container-fluid mx-auto py-5\">\r\n <div class=\"row mx-auto d-flex justify-content-start px-3 py-3\">\r\n <h3 class=\"my-auto mx-2 text-left w-fit bold text-beige1\">\r\n {{ products.title ? products.title : 'PRODUCTOS RECOMENDADOS' | uppercase}}\r\n </h3>\r\n </div>\r\n \r\n <owl-carousel-o [options]=\"customOptionsDestacados\" class=\"row mx-auto d-flex justify-content-center p-3 pb-1\">\r\n <ng-template carouselSlide *ngFor=\"let product of products.items\">\r\n <app-product-destacados [product]=\"product\" [isValorados]=\"false\"></app-product-destacados>\r\n </ng-template>\r\n </owl-carousel-o>\r\n \r\n <div class=\"row mx-auto d-flex justify-content-center pb-3 d-md-none\">\r\n <a routerLink=\"/collection\" role=\"button\" class=\"btn btn-dark bg-beige1 text-blanco bold rounded-pill px-5 py-2\">IR A LA TIENDA</a>\r\n </div>\r\n </div>\r\n </section>\r\n</div> -->",
|
|
@@ -10994,7 +11042,7 @@ var __extends$z = (this && this.__extends) || (function () {
|
|
|
10994
11042
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10995
11043
|
};
|
|
10996
11044
|
})();
|
|
10997
|
-
var __decorate$
|
|
11045
|
+
var __decorate$17 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10998
11046
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10999
11047
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11000
11048
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11061,13 +11109,13 @@ var SectionContainerEcComponent = /** @class */ (function (_super) {
|
|
|
11061
11109
|
{ type: ToastrService },
|
|
11062
11110
|
{ type: DomSanitizer }
|
|
11063
11111
|
]; };
|
|
11064
|
-
__decorate$
|
|
11112
|
+
__decorate$17([
|
|
11065
11113
|
Input()
|
|
11066
11114
|
], SectionContainerEcComponent.prototype, "sanitizeHtml", void 0);
|
|
11067
|
-
__decorate$
|
|
11115
|
+
__decorate$17([
|
|
11068
11116
|
Input()
|
|
11069
11117
|
], SectionContainerEcComponent.prototype, "name", void 0);
|
|
11070
|
-
SectionContainerEcComponent = __decorate$
|
|
11118
|
+
SectionContainerEcComponent = __decorate$17([
|
|
11071
11119
|
Component({
|
|
11072
11120
|
selector: 'app-section-container-ec',
|
|
11073
11121
|
template: "<div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"scrol-if\">\r\n <div *ngIf=\"loadSection; else notBlockContact\" [innerHtml]=\"content_html\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<app-blocks-ec [section]=\"name\"></app-blocks-ec>\r\n\r\n\r\n<ng-template #notBlockContact>\r\n<div class=\"col-12 align-items-center\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</div>\r\n</ng-template>",
|
|
@@ -11090,7 +11138,7 @@ var __extends$A = (this && this.__extends) || (function () {
|
|
|
11090
11138
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11091
11139
|
};
|
|
11092
11140
|
})();
|
|
11093
|
-
var __decorate$
|
|
11141
|
+
var __decorate$18 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11094
11142
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11095
11143
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11096
11144
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11273,7 +11321,7 @@ var StoresEcComponent = /** @class */ (function (_super) {
|
|
|
11273
11321
|
{ type: Constants },
|
|
11274
11322
|
{ type: DomSanitizer }
|
|
11275
11323
|
]; };
|
|
11276
|
-
StoresEcComponent = __decorate$
|
|
11324
|
+
StoresEcComponent = __decorate$18([
|
|
11277
11325
|
Component({
|
|
11278
11326
|
selector: 'app-store-ec',
|
|
11279
11327
|
template: "<div class=\"row w-100 mx-auto my-4 px-3 bb-s bt-md-s py-1\">\r\n <strong>{{ 'stores' | translate }}</strong>\r\n</div>\r\n\r\n<section class=\"formulario container-fluid\" *ngIf=\"stores ; else noStores\">\r\n <div *ngIf=\"stores.length; else loading\">\r\n\r\n <div class=\"row\" *ngIf=\"stores && stores.length > 0; else noStores\">\r\n <div class=\"col-12 col-md-3 order-1 order-md-1\">\r\n <div class=\"row\">\r\n <div class=\"form-group w-100\">\r\n <select (change)=\"selectChange($event.target.value)\"\r\n class=\"rounded-0 form-control form-control-sm\" id=\"exampleFormControlSelect1\">\r\n <option selected [value]=\"''\">Seleccione provincia</option>\r\n <option [value]=\"item.code\" *ngFor=\"let item of getProvices(stores)\"> {{item.name}}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3 order-3 order-md-2\">\r\n <div class=\"container-fluid scrolleable\" *ngIf=\"filterStores && filterStores.length\">\r\n <div class=\"row mb-1\" *ngFor=\"let store of filterStores; let i = index\">\r\n <div class=\"col-12\">\r\n <h6 class=\"\"><strong>{{ store.name }}</strong></h6>\r\n <label>{{ store.address }}</label>\r\n <label>{{ store.phone }}</label>\r\n <div [innerHtml]=\"store.note\"></div>\r\n <div class=\"text-right\">\r\n <!-- <a [href]=\"store.urlMap\" target=\"_blank\" class=\"custom-a\">Ver mapa</a> -->\r\n <a *ngIf=\"store.urlMap\" (click)=\"updateMap (store.urlMap)\" class=\"custom-a\">Ver mapa</a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-6 order-2 order-md-3 my-4 mt-md-0\">\r\n <!-- <img *ngIf=\"imageMap\" src=\"../../../assets/images/recurso (21).png\" alt=\"\" class=\"w-100\"> -->\r\n <!-- <iframe *ngIf=\"!imageMap\" [src]=\"urlMap\" frameborder=\"0\" style=\"width: 100%; height: 500px;\"></iframe> -->\r\n <iframe id=\"map-iframe\" [src]=\"urlmap\" frameborder=\"0\"></iframe>\r\n </div>\r\n </div>\r\n </div>\r\n</section>\r\n\r\n\r\n<ng-template #noStores>\r\n\r\n <div class=\"d-flex flex-row justify-content-center my-5 align-items-center alto-total\">\r\n <h5 class=\"text-center\">{{ 'no-stores' | translate }}</h5>\r\n </div>\r\n\r\n</ng-template>\r\n\r\n<ng-template #loading>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 align-items-center\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center my-5\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -11296,7 +11344,7 @@ var __extends$B = (this && this.__extends) || (function () {
|
|
|
11296
11344
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11297
11345
|
};
|
|
11298
11346
|
})();
|
|
11299
|
-
var __decorate$
|
|
11347
|
+
var __decorate$19 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11300
11348
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11301
11349
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11302
11350
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11331,16 +11379,16 @@ var VariantsEcComponent = /** @class */ (function (_super) {
|
|
|
11331
11379
|
{ type: Constants },
|
|
11332
11380
|
{ type: ProductDetailService }
|
|
11333
11381
|
]; };
|
|
11334
|
-
__decorate$
|
|
11382
|
+
__decorate$19([
|
|
11335
11383
|
Input()
|
|
11336
11384
|
], VariantsEcComponent.prototype, "product", void 0);
|
|
11337
|
-
__decorate$
|
|
11385
|
+
__decorate$19([
|
|
11338
11386
|
Input('options')
|
|
11339
11387
|
], VariantsEcComponent.prototype, "options$", void 0);
|
|
11340
|
-
__decorate$
|
|
11388
|
+
__decorate$19([
|
|
11341
11389
|
Input()
|
|
11342
11390
|
], VariantsEcComponent.prototype, "setOption", void 0);
|
|
11343
|
-
VariantsEcComponent = __decorate$
|
|
11391
|
+
VariantsEcComponent = __decorate$19([
|
|
11344
11392
|
Component({
|
|
11345
11393
|
selector: 'app-product-variants-ec',
|
|
11346
11394
|
template: "<div *ngIf=\"(options$ | async) as options ; else loading\">\r\n <div *ngIf=\"options && options.length && view(options.length, options)\">\r\n <div *ngFor=\"let option of options; let i = index\" class=\"mb-2\">\r\n <h5 class=\"text-lowercase\">{{option.name | titlecase}}</h5>\r\n <div [ngSwitch]=\"option.type\">\r\n <div *ngSwitchCase=\"'color'\">\r\n <div class=\"row w-100 mx-auto pb-3 mb-2\">\r\n <a *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\r\n (click)=\"setOption(option.code, value.name)\"\r\n [class]=\"'rounded-0 color-item mr-2 ' + (value.selected ? 'shadow' : '')\"\r\n [id]=\"x + value.name\" [style.background]=\"'#' + value.name\"\r\n [style.border]=\"(value.selected ? '1px black solid' : '1px gray solid')\"></a>\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"'size'\">\r\n <div class=\"row w-100 mx-auto pb-3\">\r\n <select (change)=\"setSeleccion($event.target.value)\" class=\"form-control pr-5\">\r\n <option id=\"op\" value=\"\">Seleccione {{option.name | lowercase}}</option>\r\n <option *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\r\n [value]=\"option.code +','+ value.name\" [id]=\"x + value.name\"\r\n [selected]=\"value.selected\">\r\n {{ value.name }}\r\n </option>\r\n </select>\r\n <!-- <a *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\r\n (click)=\"setOption(option.code, value.name)\"\r\n [id]=\"x + value.name\"\r\n [class]=\"'btn btn-outline-dark rounded-0 talle-item m-1 ' + (value.selected ? 'selected-size' : 'unselected-size')\">\r\n {{ value.name }}\r\n </a> -->\r\n </div>\r\n </div>\r\n <div *ngSwitchDefault>\r\n <select (change)=\"setSeleccion($event.target.value)\" class=\"form-control \">\r\n <option id=\"op\" value=\"\">Seleccione {{option.name | lowercase}}</option>\r\n <option *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\r\n [value]=\"option.code +','+ value.name\" [id]=\"x + value.name\"\r\n [selected]=\"value.selected\">\r\n {{ value.name }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #loading>\r\n <div class=\"col-12 align-items-center\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -11363,7 +11411,7 @@ var __extends$C = (this && this.__extends) || (function () {
|
|
|
11363
11411
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11364
11412
|
};
|
|
11365
11413
|
})();
|
|
11366
|
-
var __decorate$
|
|
11414
|
+
var __decorate$1a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11367
11415
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11368
11416
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11369
11417
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11477,10 +11525,10 @@ var SellerDashboardContainerEcComponent = /** @class */ (function (_super) {
|
|
|
11477
11525
|
{ type: Constants },
|
|
11478
11526
|
{ type: undefined, decorators: [{ type: Inject, args: ['env',] }] }
|
|
11479
11527
|
]; };
|
|
11480
|
-
__decorate$
|
|
11528
|
+
__decorate$1a([
|
|
11481
11529
|
Input()
|
|
11482
11530
|
], SellerDashboardContainerEcComponent.prototype, "UIComponents", void 0);
|
|
11483
|
-
SellerDashboardContainerEcComponent = __decorate$
|
|
11531
|
+
SellerDashboardContainerEcComponent = __decorate$1a([
|
|
11484
11532
|
Component({
|
|
11485
11533
|
selector: 'app-seller-dashboard-container',
|
|
11486
11534
|
template: "<section *ngIf=\"user\" id=\"seller-dashboard\">\r\n <div class=\"section-content mt-5 mb-2 tablaVendedores\">\r\n <div class=\"container-xl\">\r\n <div class=\"row\">\r\n <main class=\"col-md-12\">\r\n\r\n <ul *ngIf=\"hasHeader()\" class=\"nav nav-tabs\">\r\n <li class=\"nav-item col-12 col-lg-2\">\r\n <a *ngIf=\"hasUIComponent('HEADER_TAB')\" class=\"nav-link active cursor-pointer px-4\"\r\n aria-current=\"page\">\r\n {{ 'my-clients' | translate }}\r\n </a>\r\n </li>\r\n <li class=\"ms-auto row\">\r\n <div\r\n class=\"d-flex justify-content-end justify-content-lg-end justify-content-xl-end col-12 col-md-12 col-lg-auto\">\r\n <ng-container *ngIf=\"hasUIComponent('GENERATE_BUDGET_BTN') \">\r\n <a *ngIf=\"authService.getCustomer()?.id; else withoutCustomer\"\r\n [routerLink]=\"'/collection'\"\r\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center\"><i\r\n class=\"bi bi-file-earmark me-2 mr-2\"></i>{{ 'generate-budget' | translate }}\r\n </a>\r\n <ng-template #withoutCustomer>\r\n <a class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center\"\r\n (click)=\"toastrService.show('must-select-customer')\">\r\n <i class=\"bi bi-file-earmark me-2 mr-2\"></i>{{ 'generate-budget' | translate\r\n }}\r\n </a>\r\n </ng-template>\r\n </ng-container>\r\n <a *ngIf=\"hasUIComponent('MANAGE_ORDERS_BTN')\"\r\n (click)=\"navigateExternal(constants.getUrlBase())\"\r\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center me- me-lg-4 mr- mr-lg-4\"><i\r\n class=\"bi bi-archive-fill me-2 mr-2\"></i>{{ 'manage-orders' | translate }}</a>\r\n </div>\r\n <div class=\"d-flex camposVendedores col-12 col-md-12 col-lg-auto justify-content-end\">\r\n <select *ngIf=\"hasUIComponent('SORT_SELECT')\" id=\"customerSort\" name=\"customerSort\"\r\n (change)=\"sortCustomers($event.target.value)\" class=\"mb-1 ordenarVendedores form-select\">\r\n <option selected hidden disabled>{{ 'order-by' | translate }}</option>\r\n <option value='asc_firstName'>{{ 'client' | translate }} (A-Z)</option>\r\n <option value='desc_firstName'>{{ 'client' | translate }} (Z-A)</option>\r\n <option value='asc_id'>Menor a Mayor c\u00F3digo</option>\r\n <option value='desc_id'>Mayor a Menor c\u00F3digo</option>\r\n </select>\r\n <form *ngIf=\"hasUIComponent('SEARCH_FORM')\"\r\n class=\"col-lg-auto mb-lg-0 d-flex ms-3 ml-3 d-flex buscadorVendedores\">\r\n <input type=\"text\" name=\"searchInput\" class=\"form-control\"\r\n placeholder=\"{{ 'search' | translate }}\" [(ngModel)]=\"searchInput\"\r\n (keyup.enter)=\"updateCustomers()\">\r\n <button class=\"btn btn-primary ms-1 ml-1 bg-white border-dark btnSearch\"><i\r\n class=\"bi bi-search text-dark\" (click)=\"updateCustomers()\"></i></button>\r\n </form>\r\n </div>\r\n </li>\r\n </ul>\r\n\r\n <ng-container *ngIf=\"user.customers?.length; else noCustomers\">\r\n\r\n <article class=\"card card-body mb-1 carritoProductoHeader m-0 py-0 mt-4\">\r\n <div class=\"row align-items-center font-bold border-bottom\">\r\n <div class=\"col-3 col-md-2 text-left\">\r\n <small>{{ 'code' | translate | uppercase }}</small>\r\n </div>\r\n <div class=\"col-5 col-md-3 mb-md-0\">\r\n <small>{{ 'client' | translate | uppercase }}</small>\r\n </div>\r\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\r\n <small>{{ 'user' | translate | uppercase }}</small>\r\n </div>\r\n <div class=\"col-4 col-md-2 text-left\">\r\n <small>{{ 'new-orders' | translate | uppercase }}</small>\r\n </div>\r\n <div class=\"col-2 col-md-2 text-left d-none d-md-block\">\r\n <small></small>\r\n </div>\r\n\r\n </div>\r\n </article>\r\n\r\n <article *ngFor=\"let customer of filteredCustomers\" [class]=\"'card card-body mb-3 cadaVendedor ' + (isActive(customer) ? 'activo':'')\">\r\n <div class=\"row d-flex align-items-center\">\r\n <div class=\"col-3 col-md-2 text-left ps-2 pl-2\">\r\n <div class=\"price h6 pb-0 mb-0 ps-3 pl-1\">\r\n {{ customer.managementSystemInternalCode || 'n/a' }}\r\n </div>\r\n </div>\r\n <div class=\"col-5 col-md-3 text-left\">\r\n <div class=\"price h6 fw-normal ps-2 pl-2 pb-0 mb-0\">\r\n {{ customer.firstName }} {{ customer.lastName }}\r\n <p class=\"d-block d-md-none fs-6 mt-1 mb-0 p-0 userMobile\">\r\n {{ customer.email }}\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\r\n <div class=\"price h6 fw-normal pb-0 mb-0 ps-2 pl-2\">\r\n {{ customer.email }}\r\n </div>\r\n </div>\r\n <div class=\"col-4 col-md-2 text-left ps-2 pl-2\">\r\n <div *ngIf=\"true\" class=\"contNumero\">\r\n {{ customer.ordersNotApproved }}\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-2 btnIngresar\">\r\n\r\n <ng-container\r\n *ngIf=\"authService.getCustomer()?.id == customer.id; else noActiveCustomer\">\r\n <a (click)=\"changeCustomer(null)\"\r\n class=\"btn btn-seller-primary justify-content-center\">\r\n <i class=\"bi bi-box-arrow-left me-2 mr-2\"></i>\r\n <small class=\"me-2 mr-2 d-none d-md-block\">\r\n {{ 'exit' | translate | uppercase }}\r\n </small>\r\n </a>\r\n </ng-container>\r\n <ng-template #noActiveCustomer>\r\n <a (click)=\"changeCustomer(customer)\"\r\n class=\"btn btn-seller-primary justify-content-center\">\r\n <i class=\"bi bi-box-arrow-in-right me-2 mr-2\"></i>\r\n <small class=\"me-2 mr-2 d-none d-md-block\">\r\n {{ 'operate-as' | translate | uppercase }}\r\n </small>\r\n </a>\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n </article>\r\n\r\n </ng-container>\r\n\r\n </main>\r\n </div>\r\n </div>\r\n </div>\r\n</section>\r\n\r\n<ng-template #noCustomers>\r\n <h4 class=\"text-center p-5\">{{ 'no-customers' | translate }}</h4>\r\n</ng-template>",
|
|
@@ -11504,7 +11552,7 @@ var __extends$D = (this && this.__extends) || (function () {
|
|
|
11504
11552
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11505
11553
|
};
|
|
11506
11554
|
})();
|
|
11507
|
-
var __decorate$
|
|
11555
|
+
var __decorate$1b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11508
11556
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11509
11557
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11510
11558
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11521,10 +11569,10 @@ var LoadingFullEcComponent = /** @class */ (function (_super) {
|
|
|
11521
11569
|
LoadingFullEcComponent.prototype.ngOnInit = function () {
|
|
11522
11570
|
this.ecOnInit();
|
|
11523
11571
|
};
|
|
11524
|
-
__decorate$
|
|
11572
|
+
__decorate$1b([
|
|
11525
11573
|
Input()
|
|
11526
11574
|
], LoadingFullEcComponent.prototype, "hole_height", void 0);
|
|
11527
|
-
LoadingFullEcComponent = __decorate$
|
|
11575
|
+
LoadingFullEcComponent = __decorate$1b([
|
|
11528
11576
|
Component({
|
|
11529
11577
|
selector: 'app-loading-full-ec',
|
|
11530
11578
|
template: "<div [class]=\"'d-flex w-100 ' + (hole_height ? 'hole_height' : '')\">\r\n <div class=\"w-100 h-100 d-flex flex-row justify-content-center align-items-center\">\r\n <div class=\"spinner-border text-dark spinner-color\" id=\"loading\" role=\"status\">\r\n <span class=\"sr-only\">{{ 'loading' | translate }}</span>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -11547,7 +11595,7 @@ var __extends$E = (this && this.__extends) || (function () {
|
|
|
11547
11595
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11548
11596
|
};
|
|
11549
11597
|
})();
|
|
11550
|
-
var __decorate$
|
|
11598
|
+
var __decorate$1c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11551
11599
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11552
11600
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11553
11601
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11563,7 +11611,7 @@ var LoadingInlineEcComponent = /** @class */ (function (_super) {
|
|
|
11563
11611
|
LoadingInlineEcComponent.prototype.ngOnInit = function () {
|
|
11564
11612
|
this.ecOnInit();
|
|
11565
11613
|
};
|
|
11566
|
-
LoadingInlineEcComponent = __decorate$
|
|
11614
|
+
LoadingInlineEcComponent = __decorate$1c([
|
|
11567
11615
|
Component({
|
|
11568
11616
|
selector: 'app-loading-inline-ec',
|
|
11569
11617
|
template: "<div class=\"loading-inline-container\">\r\n <div class=\"spinner-border text-dark spinner-color\" id=\"loading\" role=\"status\">\r\n <span class=\"sr-only\">{{ 'loading' | translate }}</span>\r\n </div>\r\n</div>",
|
|
@@ -11573,7 +11621,7 @@ var LoadingInlineEcComponent = /** @class */ (function (_super) {
|
|
|
11573
11621
|
return LoadingInlineEcComponent;
|
|
11574
11622
|
}(ComponentHelper));
|
|
11575
11623
|
|
|
11576
|
-
var __decorate$
|
|
11624
|
+
var __decorate$1d = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11577
11625
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11578
11626
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11579
11627
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11584,7 +11632,7 @@ var LoadingSectionEcComponent = /** @class */ (function () {
|
|
|
11584
11632
|
}
|
|
11585
11633
|
LoadingSectionEcComponent.prototype.ngOnInit = function () {
|
|
11586
11634
|
};
|
|
11587
|
-
LoadingSectionEcComponent = __decorate$
|
|
11635
|
+
LoadingSectionEcComponent = __decorate$1d([
|
|
11588
11636
|
Component({
|
|
11589
11637
|
selector: 'app-loading-section-ec',
|
|
11590
11638
|
template: "<div id=\"sectionLoading\" class=\"d-flex flex-column position-absolute top-0 opacity-75 bg-white w-100 h-100 justify-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</div>\r\n",
|
|
@@ -11618,7 +11666,7 @@ var __assign$p = (this && this.__assign) || function () {
|
|
|
11618
11666
|
};
|
|
11619
11667
|
return __assign$p.apply(this, arguments);
|
|
11620
11668
|
};
|
|
11621
|
-
var __decorate$
|
|
11669
|
+
var __decorate$1e = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11622
11670
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11623
11671
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11624
11672
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11961,19 +12009,19 @@ var MPCreditEcComponent = /** @class */ (function (_super) {
|
|
|
11961
12009
|
{ type: CartService },
|
|
11962
12010
|
{ type: ToastService }
|
|
11963
12011
|
]; };
|
|
11964
|
-
__decorate$
|
|
12012
|
+
__decorate$1e([
|
|
11965
12013
|
Input()
|
|
11966
12014
|
], MPCreditEcComponent.prototype, "public_key", void 0);
|
|
11967
|
-
__decorate$
|
|
12015
|
+
__decorate$1e([
|
|
11968
12016
|
Input()
|
|
11969
12017
|
], MPCreditEcComponent.prototype, "total_amount", void 0);
|
|
11970
|
-
__decorate$
|
|
12018
|
+
__decorate$1e([
|
|
11971
12019
|
Output()
|
|
11972
12020
|
], MPCreditEcComponent.prototype, "ready", void 0);
|
|
11973
|
-
__decorate$
|
|
12021
|
+
__decorate$1e([
|
|
11974
12022
|
Input()
|
|
11975
12023
|
], MPCreditEcComponent.prototype, "user_data", void 0);
|
|
11976
|
-
MPCreditEcComponent = __decorate$
|
|
12024
|
+
MPCreditEcComponent = __decorate$1e([
|
|
11977
12025
|
Component({
|
|
11978
12026
|
selector: '[app-mp-credit-ec]',
|
|
11979
12027
|
template: "<h3 class=\"text-center\">Detalles del pago</h3>\r\n<div *ngIf=\"!consts.mobile()\">\r\n <div class=\"card-wrapper m-3\"></div>\r\n</div>\r\n<form (submit)=\"getCardToken($event)\" method=\"post\" card container=\".card-wrapper\"\r\n card-width=\"{{ consts.mobile() ? '100': '350' }}\">\r\n\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-6\">\r\n <label for=\"emailForm\">Correo electronico</label>\r\n <input class=\"form-control\" id=\"emailForm\" name=\"emailForm\" type=\"email\" [(ngModel)]=\"email\">\r\n </div>\r\n <div class=\"form-group col-12 col-md-2\">\r\n <label for=\"docTypeForm\">Tipo Doc.</label>\r\n <select class=\"form-control\" id=\"docTypeForm\" name=\"docTypeForm\" type=\"text\" [(ngModel)]=\"doc_type\">\r\n <option selected value=\"DNI\">DNI</option>\r\n <option value=\"CUIT\">CUIT</option>\r\n </select>\r\n </div>\r\n <div class=\"form-group col-12 col-md-4\">\r\n <label for=\"docNumberForm\">N\u00FAmero Doc.</label>\r\n <input class=\"form-control\" id=\"docNumberForm\" name=\"docNumberForm\" type=\"text\" [(ngModel)]=\"doc_number\" />\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12\">\r\n <label for=\"cardholderNameForm\">Titular (como figura en la tarjeta)</label>\r\n <input class=\"form-control\" id=\"cardholderNameForm\" data-checkout=\"cardholderName\" type=\"text\"\r\n [(ngModel)]=\"cardholder\" [ngModelOptions]=\"{standalone: true}\" name=\"first-name\" autocomplete=\"off\"\r\n card-name>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-7\">\r\n <label for=\"cardNumberForm\">N\u00FAmero de la tarjeta</label>\r\n <input class=\"form-control\" type=\"text\" id=\"cardNumberForm\" (change)=\"cardNumberChange($event)\"\r\n [(ngModel)]=\"bin\" [ngModelOptions]=\"{standalone: true}\" onselectstart=\"return false\"\r\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\r\n ondrop=\"return false\" autocomplete=\"off\" card-number>\r\n </div>\r\n <div class=\"form-group col-12 col-md-3\">\r\n <label for=\"securityCodeForm\">C\u00F3digo de seguridad</label>\r\n <input class=\"form-control\" id=\"securityCodeForm\" type=\"text\" name=\"cvc\" onselectstart=\"return false\"\r\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\r\n ondrop=\"return false\" autocomplete=\"off\" card-cvc [(ngModel)]=\"code\"\r\n [ngModelOptions]=\"{standalone: true}\">\r\n </div>\r\n <div class=\"form-group col-12 col-md-2\">\r\n <label for=\"expiryForm\">Expiraci\u00F3n</label>\r\n <input type=\"text\" class=\"form-control\" id=\"expiryForm\" name=\"expiry\" placeholder=\"MM/YY\" maxlength=\"5\"\r\n (keyup)=\"expiryOnKey($event)\" (change)=\"expiryChange($event)\" onselectstart=\"return false\"\r\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\r\n ondrop=\"return false\" autocomplete=\"off\" card-expiry />\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-md-center\">\r\n <div class=\"form-group col-12 col-md-6\" id=\"issuerInput\" *ngIf=\"require_issuer\">\r\n <label for=\"issuerForm\">Banco emisor</label>\r\n <select class=\"form-control\" id=\"issuerForm\" name=\"issuer\" autocomplete=\"off\" data-checkout=\"issuer\"\r\n (change)=\"selectIssuer($event.target.value)\">\r\n <option selected>Seleccione el banco</option>\r\n <option *ngFor=\"let issuer of issuers\" [value]=\"issuer.value\">{{ issuer.name }}</option>\r\n </select>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\">\r\n <label for=\"installmentsForm\">Cuotas</label>\r\n <select class=\"form-control\" type=\"text\" id=\"installmentsForm\" name=\"installments\"\r\n (change)=\"selectInstallment($event.target.value)\">\r\n <option selected>Seleccione el n\u00FAmero de cuotas</option>\r\n <option *ngFor=\"let cost of installments\" [value]=\"cost.value\">{{ getDescripcionCuota(cost) }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div hidden>\r\n <input class=\"form-control\" name=\"transactionAmountt\" id=\"transactionAmountt\" [value]=\"total_amount\" />\r\n <input class=\"form-control\" name=\"paymentMethodIdd\" id=\"paymentMethodIdd\" [value]=\"payment_method\" />\r\n <input class=\"form-control\" name=\"descriptionn\" id=\"descriptionn\" />\r\n </div>\r\n <div class=\"row justify-content-md-center\">\r\n <div class=\"col-md-auto\">\r\n <div class=\"checkout-btn-unique\">\r\n <button type=\"submit\" *ngIf=\"!isInvalid()\" class=\"btn valid-btn\">Pagar</button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</form>\r\n\r\n\r\n\r\n\r\n<form (submit)=\"getCardToken($event)\" hidden method=\"post\" id=\"paymentForm\">\r\n\r\n <h3>Detalles del pago</h3>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-4\">\r\n <label for=\"email\">Correo electronico</label>\r\n <input class=\"form-control\" id=\"email\" name=\"email\" type=\"email\" [(ngModel)]=\"email\">\r\n </div>\r\n <div class=\"form-group col-12 col-md-4\">\r\n <label for=\"docType\">Tipo de documento</label>\r\n <select class=\"form-control\" id=\"docType\" name=\"docType\" data-checkout=\"docType\" type=\"text\"\r\n [(ngModel)]=\"doc_type\">\r\n <option selected value=\"DNI\">DNI</option>\r\n <option value=\"CUIT\">CUIT</option>\r\n </select>\r\n </div>\r\n <div class=\"form-group col-12 col-md-4\">\r\n <label for=\"docNumber\">N\u00FAmero de documento</label>\r\n <input class=\"form-control\" id=\"docNumber\" name=\"docNumber\" data-checkout=\"docNumber\" type=\"text\"\r\n [(ngModel)]=\"doc_number\" />\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-6\">\r\n <label for=\"cardholderName\">Titular (como figura en la tarjeta)</label>\r\n <input class=\"form-control\" id=\"cardholderName\" data-checkout=\"cardholderName\" type=\"text\"\r\n [(ngModel)]=\"cardholder\" [ngModelOptions]=\"{standalone: true}\" autocomplete=\"off\">\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\">\r\n <label for=\"date\">Fecha de vencimiento</label>\r\n <div id=\"date\">\r\n <div class=\"\">\r\n <input class=\"form-control col-xs-6 col-md-6 half-width\" type=\"text\" placeholder=\"MM\"\r\n [(ngModel)]=\"month\" [ngModelOptions]=\"{standalone: true}\" id=\"cardExpirationMonth\"\r\n data-checkout=\"cardExpirationMonth\" onselectstart=\"return false\" onpaste=\"return false\"\r\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\r\n autocomplete=\"off\">\r\n <input class=\"form-control col-xs-6 col-md-6 half-width ml-1\" type=\"text\" placeholder=\"YY\"\r\n [(ngModel)]=\"year\" [ngModelOptions]=\"{standalone: true}\" id=\"cardExpirationYear\"\r\n data-checkout=\"cardExpirationYear\" onselectstart=\"return false\" onpaste=\"return false\"\r\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\r\n autocomplete=\"off\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-9\">\r\n <label for=\"cardNumber\">N\u00FAmero de la tarjeta</label>\r\n <input class=\"form-control\" type=\"text\" id=\"cardNumber\" (change)=\"cardNumberChange($event)\"\r\n [(ngModel)]=\"bin\" [ngModelOptions]=\"{standalone: true}\" data-checkout=\"cardNumber\"\r\n onselectstart=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\r\n ondrop=\"return false\" autocomplete=\"off\">\r\n </div>\r\n <div class=\"form-group col-12 col-md-3\">\r\n <label for=\"securityCode\">C\u00F3digo de seguridad</label>\r\n <input class=\"form-control\" id=\"securityCode\" data-checkout=\"securityCode\" type=\"text\" [(ngModel)]=\"code\"\r\n [ngModelOptions]=\"{standalone: true}\" onselectstart=\"return false\" onpaste=\"return false\"\r\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\r\n autocomplete=\"off\">\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 col-md-6\" id=\"issuerInput\" *ngIf=\"require_issuer\">\r\n <label for=\"issuer\">Banco emisor</label>\r\n <select class=\"form-control\" id=\"issuer\" name=\"issuer\" autocomplete=\"off\" data-checkout=\"issuer\"\r\n (change)=\"selectIssuer($event.target.value)\">\r\n <option selected>Seleccione el banco</option>\r\n <option *ngFor=\"let issuer of issuers\" [value]=\"issuer.value\">{{ issuer.name }}</option>\r\n </select>\r\n </div>\r\n <div class=\"form-group col-12 col-md-6\">\r\n <label for=\"installments\">Cuotas</label>\r\n <select class=\"form-control\" type=\"text\" id=\"installments\" name=\"installments\"\r\n (change)=\"selectInstallment($event.target.value)\">\r\n <option selected>Seleccione el n\u00FAmero de cuotas</option>\r\n <option *ngFor=\"let cost of installments\" [value]=\"cost.value\">{{ cost.name }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div hidden>\r\n <input class=\"form-control\" name=\"transactionAmount\" id=\"transactionAmount\" [value]=\"total_amount\" />\r\n <input class=\"form-control\" name=\"paymentMethodId\" id=\"paymentMethodId\" [value]=\"payment_method\" />\r\n <input class=\"form-control\" name=\"description\" id=\"description\" />\r\n </div>\r\n <div class=\"checkout-btn-unique\">\r\n <button type=\"submit\" *ngIf=\"!isInvalid()\" class=\"btn valid-btn\">Pagar</button>\r\n </div>\r\n</form>",
|
|
@@ -11996,7 +12044,7 @@ var __extends$G = (this && this.__extends) || (function () {
|
|
|
11996
12044
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11997
12045
|
};
|
|
11998
12046
|
})();
|
|
11999
|
-
var __decorate$
|
|
12047
|
+
var __decorate$1f = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12000
12048
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12001
12049
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12002
12050
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12017,19 +12065,19 @@ var PriceEcComponent = /** @class */ (function (_super) {
|
|
|
12017
12065
|
PriceEcComponent.ctorParameters = function () { return [
|
|
12018
12066
|
{ type: ProductsService }
|
|
12019
12067
|
]; };
|
|
12020
|
-
__decorate$
|
|
12068
|
+
__decorate$1f([
|
|
12021
12069
|
Input()
|
|
12022
12070
|
], PriceEcComponent.prototype, "price", void 0);
|
|
12023
|
-
__decorate$
|
|
12071
|
+
__decorate$1f([
|
|
12024
12072
|
Input()
|
|
12025
12073
|
], PriceEcComponent.prototype, "saleprice", void 0);
|
|
12026
|
-
__decorate$
|
|
12074
|
+
__decorate$1f([
|
|
12027
12075
|
Input()
|
|
12028
12076
|
], PriceEcComponent.prototype, "priceSize", void 0);
|
|
12029
|
-
__decorate$
|
|
12077
|
+
__decorate$1f([
|
|
12030
12078
|
Input()
|
|
12031
12079
|
], PriceEcComponent.prototype, "classStrSpacing", void 0);
|
|
12032
|
-
PriceEcComponent = __decorate$
|
|
12080
|
+
PriceEcComponent = __decorate$1f([
|
|
12033
12081
|
Component({
|
|
12034
12082
|
selector: 'app-price-ec',
|
|
12035
12083
|
template: "<div *ngIf=\"saleprice; else onlyprice\" class=\"line-height-custom\">\r\n <div [class]=\"(priceSize ? 'price-sm':'price')\" *ngIf=\"price && price.split(' - ').length > 1; else simplePriceDel\">\r\n <del class=\"tachado\">\r\n {{ price.split(' - ')[0] | currency:productsService?.currency:'symbol' }}\r\n {{ price.split(' - ')[1] | currency:productsService?.currency:'symbol' }}\r\n </del>\r\n </div>\r\n <div [class]=\"(priceSize ? 'price-sm':'price')\" *ngIf=\"saleprice && saleprice.split(' - ').length > 1; else simpleSalePrice\">\r\n {{ saleprice.split(' - ')[0] | currency:productsService?.currency:'symbol' }}\r\n {{ saleprice.split(' - ')[1] | currency:productsService?.currency:'symbol' }}\r\n </div>\r\n</div>\r\n\r\n<ng-template #onlyprice>\r\n <div [class]=\"(priceSize ? 'price-sm':'price')\" *ngIf=\"price && price.split(' - ').length > 1; else simplePrice\">\r\n {{ price.split(' - ')[0] | currency:productsService?.currency:'symbol' }} - \r\n {{ price.split(' - ')[1] | currency:productsService?.currency:'symbol' }}\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #simplePrice>\r\n <div [class]=\"'uno line-height-custom ' + (priceSize ? 'price-sm':'price')\" >{{ price | currency:productsService?.currency:'symbol' }} </div>\r\n</ng-template>\r\n\r\n<ng-template #simplePriceDel>\r\n <div [class]=\"'dos line-height-custom ' + (priceSize ? 'price-sm':'price')\" ><span class=\"lnth\">{{ price | currency:productsService?.currency:'symbol' }}</span></div>\r\n</ng-template>\r\n\r\n<ng-template #simpleSalePrice>\r\n <div [class]=\"'tres line-height-custom ' + (priceSize ? 'price-sm':'price')\" >{{ saleprice | currency:productsService?.currency:'symbol' }} </div>\r\n</ng-template>",
|
|
@@ -12052,7 +12100,7 @@ var __extends$H = (this && this.__extends) || (function () {
|
|
|
12052
12100
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12053
12101
|
};
|
|
12054
12102
|
})();
|
|
12055
|
-
var __decorate$
|
|
12103
|
+
var __decorate$1g = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12056
12104
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12057
12105
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12058
12106
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12147,7 +12195,7 @@ var RedsysCatchEcComponent = /** @class */ (function (_super) {
|
|
|
12147
12195
|
{ type: Router },
|
|
12148
12196
|
{ type: CheckoutService }
|
|
12149
12197
|
]; };
|
|
12150
|
-
RedsysCatchEcComponent = __decorate$
|
|
12198
|
+
RedsysCatchEcComponent = __decorate$1g([
|
|
12151
12199
|
Component({
|
|
12152
12200
|
selector: 'app-redsys-catch-ec',
|
|
12153
12201
|
template: "<div id=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col align-self-center\">\r\n <h4 class=\"titpage center-block text-center font-nexa font-lg my-3\">{{ message | uppercase }}</h4>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col align-self-center\">\r\n <h5 class=\"center-block text-center font-nexa my-3\">Redirigiendo en segundos...</h5>\r\n <br>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -12170,7 +12218,7 @@ var __extends$I = (this && this.__extends) || (function () {
|
|
|
12170
12218
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12171
12219
|
};
|
|
12172
12220
|
})();
|
|
12173
|
-
var __decorate$
|
|
12221
|
+
var __decorate$1h = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12174
12222
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12175
12223
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12176
12224
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12276,25 +12324,25 @@ var RedSysProEcComponent = /** @class */ (function (_super) {
|
|
|
12276
12324
|
{ type: ActivatedRoute },
|
|
12277
12325
|
{ type: BsModalService }
|
|
12278
12326
|
]; };
|
|
12279
|
-
__decorate$
|
|
12327
|
+
__decorate$1h([
|
|
12280
12328
|
Input()
|
|
12281
12329
|
], RedSysProEcComponent.prototype, "method", void 0);
|
|
12282
|
-
__decorate$
|
|
12330
|
+
__decorate$1h([
|
|
12283
12331
|
Input()
|
|
12284
12332
|
], RedSysProEcComponent.prototype, "total_amount", void 0);
|
|
12285
|
-
__decorate$
|
|
12333
|
+
__decorate$1h([
|
|
12286
12334
|
Output()
|
|
12287
12335
|
], RedSysProEcComponent.prototype, "ready", void 0);
|
|
12288
|
-
__decorate$
|
|
12336
|
+
__decorate$1h([
|
|
12289
12337
|
Input()
|
|
12290
12338
|
], RedSysProEcComponent.prototype, "user_data", void 0);
|
|
12291
|
-
__decorate$
|
|
12339
|
+
__decorate$1h([
|
|
12292
12340
|
ViewChild('formDobleAuthContainer')
|
|
12293
12341
|
], RedSysProEcComponent.prototype, "formDobleAuth", void 0);
|
|
12294
|
-
__decorate$
|
|
12342
|
+
__decorate$1h([
|
|
12295
12343
|
ViewChild('template')
|
|
12296
12344
|
], RedSysProEcComponent.prototype, "template", void 0);
|
|
12297
|
-
RedSysProEcComponent = __decorate$
|
|
12345
|
+
RedSysProEcComponent = __decorate$1h([
|
|
12298
12346
|
Component({
|
|
12299
12347
|
selector: 'app-redsys-pro-ec',
|
|
12300
12348
|
template: "<div class=\"text-center\">\r\n <h3>Continuar con el pago</h3>\r\n <button class=\"btn btn-outline-secondary rounded-0 comprar\" (click)=\"openModal(template)\">Pagar con tarjeta</button>\r\n</div>\r\n\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"clickClose()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"modal-body\">\r\n <iframe src=\"../../../assets/redsysProBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n \r\n</ng-template>\r\n",
|
|
@@ -12319,7 +12367,7 @@ var __extends$J = (this && this.__extends) || (function () {
|
|
|
12319
12367
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12320
12368
|
};
|
|
12321
12369
|
})();
|
|
12322
|
-
var __decorate$
|
|
12370
|
+
var __decorate$1i = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12323
12371
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12324
12372
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12325
12373
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12415,22 +12463,22 @@ var RedSysRedirectEcComponent = /** @class */ (function (_super) {
|
|
|
12415
12463
|
{ type: ActivatedRoute },
|
|
12416
12464
|
{ type: BsModalService }
|
|
12417
12465
|
]; };
|
|
12418
|
-
__decorate$
|
|
12466
|
+
__decorate$1i([
|
|
12419
12467
|
Input()
|
|
12420
12468
|
], RedSysRedirectEcComponent.prototype, "method", void 0);
|
|
12421
|
-
__decorate$
|
|
12469
|
+
__decorate$1i([
|
|
12422
12470
|
Input()
|
|
12423
12471
|
], RedSysRedirectEcComponent.prototype, "total_amount", void 0);
|
|
12424
|
-
__decorate$
|
|
12472
|
+
__decorate$1i([
|
|
12425
12473
|
Output()
|
|
12426
12474
|
], RedSysRedirectEcComponent.prototype, "ready", void 0);
|
|
12427
|
-
__decorate$
|
|
12475
|
+
__decorate$1i([
|
|
12428
12476
|
Input()
|
|
12429
12477
|
], RedSysRedirectEcComponent.prototype, "user_data", void 0);
|
|
12430
|
-
__decorate$
|
|
12478
|
+
__decorate$1i([
|
|
12431
12479
|
ViewChild('template')
|
|
12432
12480
|
], RedSysRedirectEcComponent.prototype, "template", void 0);
|
|
12433
|
-
RedSysRedirectEcComponent = __decorate$
|
|
12481
|
+
RedSysRedirectEcComponent = __decorate$1i([
|
|
12434
12482
|
Component({
|
|
12435
12483
|
selector: 'app-redsys-redirect-ec',
|
|
12436
12484
|
template: "<div class=\"text-center\">\r\n <h3>Continuar con el pago</h3>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar con tarjeta</button>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n </div>\r\n <div class=\"modal-body\">\r\n <iframe src=\"../../../assets/redsysFrameRedirectBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n \r\n</ng-template>",
|
|
@@ -12454,7 +12502,7 @@ var __extends$K = (this && this.__extends) || (function () {
|
|
|
12454
12502
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12455
12503
|
};
|
|
12456
12504
|
})();
|
|
12457
|
-
var __decorate$
|
|
12505
|
+
var __decorate$1j = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12458
12506
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12459
12507
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12460
12508
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12555,22 +12603,22 @@ var CecaRedirectEcComponent = /** @class */ (function (_super) {
|
|
|
12555
12603
|
{ type: ActivatedRoute },
|
|
12556
12604
|
{ type: BsModalService }
|
|
12557
12605
|
]; };
|
|
12558
|
-
__decorate$
|
|
12606
|
+
__decorate$1j([
|
|
12559
12607
|
Input()
|
|
12560
12608
|
], CecaRedirectEcComponent.prototype, "method", void 0);
|
|
12561
|
-
__decorate$
|
|
12609
|
+
__decorate$1j([
|
|
12562
12610
|
Input()
|
|
12563
12611
|
], CecaRedirectEcComponent.prototype, "total_amount", void 0);
|
|
12564
|
-
__decorate$
|
|
12612
|
+
__decorate$1j([
|
|
12565
12613
|
Output()
|
|
12566
12614
|
], CecaRedirectEcComponent.prototype, "ready", void 0);
|
|
12567
|
-
__decorate$
|
|
12615
|
+
__decorate$1j([
|
|
12568
12616
|
Input()
|
|
12569
12617
|
], CecaRedirectEcComponent.prototype, "user_data", void 0);
|
|
12570
|
-
__decorate$
|
|
12618
|
+
__decorate$1j([
|
|
12571
12619
|
ViewChild('template')
|
|
12572
12620
|
], CecaRedirectEcComponent.prototype, "template", void 0);
|
|
12573
|
-
CecaRedirectEcComponent = __decorate$
|
|
12621
|
+
CecaRedirectEcComponent = __decorate$1j([
|
|
12574
12622
|
Component({
|
|
12575
12623
|
selector: 'app-ceca-redirect-ec',
|
|
12576
12624
|
template: "<div class=\"text-center\">\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar con cecabank</button>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n </div>\r\n <div class=\"modal-body\">\r\n <iframe src=\"../../../assets/cecaFrameRedirectBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n \r\n</ng-template>",
|
|
@@ -12594,7 +12642,7 @@ var __extends$L = (this && this.__extends) || (function () {
|
|
|
12594
12642
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12595
12643
|
};
|
|
12596
12644
|
})();
|
|
12597
|
-
var __decorate$
|
|
12645
|
+
var __decorate$1k = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12598
12646
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12599
12647
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12600
12648
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12763,10 +12811,10 @@ var OrdersEcComponent = /** @class */ (function (_super) {
|
|
|
12763
12811
|
{ type: Constants },
|
|
12764
12812
|
{ type: CartService }
|
|
12765
12813
|
]; };
|
|
12766
|
-
__decorate$
|
|
12814
|
+
__decorate$1k([
|
|
12767
12815
|
Input()
|
|
12768
12816
|
], OrdersEcComponent.prototype, "showImage", void 0);
|
|
12769
|
-
OrdersEcComponent = __decorate$
|
|
12817
|
+
OrdersEcComponent = __decorate$1k([
|
|
12770
12818
|
Component({
|
|
12771
12819
|
selector: 'app-orders-ec',
|
|
12772
12820
|
template: "<div class=\"container-fluid\" id=\"ordersEcComponent\">\r\n <section id=\"orders\" class=\"w-100\" *ngIf=\"!loading; else loadingView\">\r\n <div *ngIf=\"orders && orders.length; else noOrders\">\r\n <div class=\"row mb-1 border-bottom\">\r\n <div class=\"col-lg-2 col-12\">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'number' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('number')\">{{ 'order' | translate }}:</p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'paymentState' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('paymentState')\">{{ 'payment-state' | translate }}:</p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'method' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('method')\">{{ 'shipment-method' | translate }}:</p>\r\n </div>\r\n <div class=\"col-lg-2 col-12 \">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'methodState' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('methodState')\">\r\n {{ 'shipment-state' | translate }}:</p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'date' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('date')\">{{ 'date' | translate }}:</p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'total' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\r\n (click)=\"sortOrders('total')\">{{ 'total' | translate }}:</p>\r\n </div>\r\n </div>\r\n <div class=\"row item border-bottom py-2\" *ngFor=\"let order of orders\">\r\n <div class=\"col-lg-2 col-12\">\r\n <h5 class=\"fw-bold\">\r\n {{ order.number }}\r\n </h5>\r\n <!-- <ng-container *ngIf=\"showImage\">\r\n <ng-container *ngIf=\"order.items[0].product.variants[0]?.images?.length ; else defaultpicture\">\r\n <img class=\"smc maxwidth\" [src]=\"mediaUrl + order.items[0].product.variants[0].images[0]\" alt=\"\">\r\n </ng-container>\r\n <ng-template #defaultpicture>\r\n <img *ngIf=\"order.items[0].product.picturesdefault\" class=\"smc maxwidth\"\r\n [src]=\"mediaUrl + order.items[0].product.picturesdefault[0]\" alt=\"\">\r\n </ng-template>\r\n </ng-container> -->\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p class=\"price\" *ngIf=\"order.payments && order.payments.length > 0\">\r\n {{ order.payments[0].state | translate | titlecase }}\r\n </p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n\r\n <p class=\"price\">\r\n {{ order.shipments[0].method.name }}\r\n </p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p class=\"price\">\r\n {{ order.shipments[0].state | translate | titlecase }}\r\n </p>\r\n <!-- ACA DEBERIA IR EL LINK DE SEGUIMIENTO -->\r\n <!-- <button class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver seguimiento</button> -->\r\n <a *ngIf=\"order.tracking\" [href]=\"order.tracking\"\r\n class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver seguimiento</a>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <p class=\"price\">\r\n {{ toDate(order.checkoutCompletedAt, 'DD/MM/YYYY') | translate }}<br>\r\n {{ toDate(order.checkoutCompletedAt, 'h:mm:ss a') | translate }}\r\n </p>\r\n </div>\r\n <div class=\"col-lg-2 col-12\">\r\n <h5 class=\"fw-bold text-nowrap\" *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n {{ (order.totals.total) | ecCurrencySymbol }}\r\n </h5>\r\n <button class=\"btn px-0 w-100 btdetalle\" (click)=\"goToOrder(order)\">{{\r\n 'see-order' | translate }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n</div>\r\n\r\n<ng-template #noOrders>\r\n <div class=\"w-100 h-50\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <h5>{{ 'no-orders' | translate }}</h5>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #errorView>\r\n <div class=\"w-100 h-50\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <h4>{{ 'orders-error' | translate }}</h4>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingView>\r\n <div class=\"w-100 h-50 py-5\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -12789,7 +12837,7 @@ var __extends$M = (this && this.__extends) || (function () {
|
|
|
12789
12837
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12790
12838
|
};
|
|
12791
12839
|
})();
|
|
12792
|
-
var __decorate$
|
|
12840
|
+
var __decorate$1l = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12793
12841
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12794
12842
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12795
12843
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12919,10 +12967,10 @@ var OrderEcComponent = /** @class */ (function (_super) {
|
|
|
12919
12967
|
{ type: CartService },
|
|
12920
12968
|
{ type: ChannelConfigService }
|
|
12921
12969
|
]; };
|
|
12922
|
-
__decorate$
|
|
12970
|
+
__decorate$1l([
|
|
12923
12971
|
Input()
|
|
12924
12972
|
], OrderEcComponent.prototype, "numberOrder", void 0);
|
|
12925
|
-
OrderEcComponent = __decorate$
|
|
12973
|
+
OrderEcComponent = __decorate$1l([
|
|
12926
12974
|
Component({
|
|
12927
12975
|
selector: 'app-order-ec',
|
|
12928
12976
|
template: "<main class=\"py-5\" id=\"orderEcComponent\">\r\n <div class=\"container\">\r\n <div class=\"wrap\" *ngIf=\"!loading; else loadingView\">\r\n <div *ngIf=\"order; else noOrder\">\r\n\r\n <div class=\"row justify-content-between \">\r\n <div class=\"col-sm-auto col-12 font-brandon\">\r\n <h4 class=\"tit1 fw-bold\">{{ ('order' | translate) + ': ' + order.number }}</h4>\r\n </div>\r\n <ng-container *ngIf=\"order?.invoice\">\r\n <div class=\"col-sm col-12 font-brandon\">\r\n <a target=\"_blank\" [href]=\"consts.getUrlBase().slice(0, -1) + order.invoice\"\r\n class=\"btn btn-link btn-invoice\">\r\n <i class=\"fas fa-file-download me-1\"></i>\r\n {{ 'download' | translate }} {{ 'invoices' | translate | titlecase }}\r\n </a>\r\n </div>\r\n </ng-container>\r\n <a (click)=\"volver()\" class=\"col-auto text-end\">\r\n <button class=\"btn btvolver bg-gray text-white\">{{ 'back-to-orders' | translate }}</button>\r\n </a>\r\n </div>\r\n\r\n <section id=\"orders\">\r\n <div class=\"row pt-2\">\r\n <div class=\"col-md-2 col-12\">\r\n <p class=\"st\">{{ 'payment-state' | translate }}:</p>\r\n <p class=\"\">\r\n {{ order.payments[0].state | translate }}\r\n </p>\r\n </div>\r\n <div class=\"col-md-2 col-12 font-brandon\">\r\n <p class=\"st\">{{ 'shipment-state' | translate }}:</p>\r\n <p class=\"\">\r\n {{ order.shipments[0].state | translate }}\r\n </p>\r\n </div>\r\n <div class=\"col-md-2 col-12 font-brandon\">\r\n <p class=\"st\">{{ 'payment-method' | translate }}:</p>\r\n <p class=\"\">\r\n {{ order.payments[0]?.method?.name | translate }}\r\n </p>\r\n </div>\r\n <div class=\"col-md-2 col-12 font-brandon\">\r\n <p class=\"st\">{{ 'shipment-method' | translate }}:</p>\r\n <p class=\"\">\r\n {{ order.shipments[0].method.name }}\r\n </p>\r\n <!-- ACA DEBERIA IR EL LINK DE SEGUIMIENTO -->\r\n <a *ngIf=\"order.tracking\" [href]=\"order.tracking\"\r\n class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver\r\n seguimiento</a>\r\n </div>\r\n <div class=\"col-md-2 col-12 font-brandon\">\r\n <p class=\"st\">{{ 'date' | translate }}:</p>\r\n <p class=\"\">\r\n {{ toDate(order.checkoutCompletedAt, 'DD/MM/YYYY') | translate }}<br>\r\n {{ toDate(order.checkoutCompletedAt, 'h:mm:ss a') | translate }}\r\n </p>\r\n </div>\r\n <div class=\"col-md-2 col-12 font-brandon\" *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n <p class=\"st\">{{ 'total' | translate }}:</p>\r\n <h5 class=\"fw-bold\">\r\n {{ (order.totals.total) | ecCurrencySymbol}}\r\n\r\n </h5>\r\n </div>\r\n </div>\r\n </section>\r\n\r\n <div class=\"text-end mt-3\" *ngIf=\"allowRepeatOrders\">\r\n <button class=\"btn btn-primary\" (click)=\"repeatOrder()\">\r\n {{ 'repeat-order' | translate }}\r\n </button>\r\n </div>\r\n\r\n <div class=\"container py-3 border-top border-bottom\">\r\n <div *ngIf=\"order.items.length; else noProducts\" class=\"row\">\r\n <div class=\"col-2 font-sm font-brandon d-none d-md-block\">\r\n {{ 'product' | translate | uppercase }}\r\n </div>\r\n <div class=\"col-4 font-sm font-brandon d-none d-md-block\">\r\n {{ 'description' | translate | uppercase }}\r\n </div>\r\n <div id=\"colLots\" *ngIf=\"ordersService.channelConfig.applyOrderLot\"\r\n class=\"col-1 font-sm font-brandon d-none d-md-block\">\r\n <!-- {{ 'description' | translate | uppercase }} -->\r\n {{ 'lots' | translate | uppercase }}\r\n </div>\r\n <div class=\"col-2 text-center font-sm font-brandon d-none d-md-block\"\r\n *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n {{ 'unit-price' | translate | uppercase }}\r\n </div>\r\n <div class=\"col-1 text-center font-sm font-brandon d-none d-md-block\">\r\n {{ 'quantity' | translate | uppercase }}\r\n </div>\r\n <div class=\"col-2 text-end font-sm font-brandon d-none d-md-block\"\r\n *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n {{ 'total' | translate | uppercase }}\r\n </div>\r\n </div>\r\n <ng-container *ngFor=\"let item of order.items; let i = index\">\r\n <div class=\"row cart-items\">\r\n <div class=\"col-5 col-md-2 py-2\">\r\n <ng-container *ngIf=\"item.product.variants[0]?.images?.length ; else defaultpicture\">\r\n <img class=\"smc maxwidth img-fluid rounded-custom \"\r\n [src]=\"consts.mediaUrl() + item.product.variants[0].images[0]\" alt=\"\">\r\n </ng-container>\r\n <ng-template #defaultpicture>\r\n <img *ngIf=\"item.product.picturesdefault\"\r\n class=\"smc maxwidth img-fluid rounded-custom\"\r\n [src]=\"consts.mediaUrl() + item.product.picturesdefault[0]\" alt=\"\">\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"col-md-4 col-7 flex-column flex-md-row justify-content-start d-flex align-items-center\">\r\n <p class=\"font-brandon d-flex w-100 mb-0\">\r\n {{ item.product.name }} (Cod:{{ item.product.variants[0].code }})\r\n </p>\r\n </div>\r\n <div class=\"col-md-1 col-1 flex-column flex-md-row justify-content-start d-flex align-items-center\"\r\n *ngIf=\"ordersService.channelConfig.applyOrderLot\">\r\n <input type=\"button\" class=\"btn btn-primary btnSeguir m-0 text-center\" type=\"button\"\r\n [attr.data-bs-toggle]=\"'collapse'\" [attr.data-bs-target]=\"'#collapseExample'+i\"\r\n aria-expanded=\"false\" [attr.aria-controls]=\"'collapseExample'+i\"\r\n value=\"{{ 'see' | translate | uppercase }}\">\r\n </div>\r\n <div class=\"container d-md-none\">\r\n <div class=\"row\">\r\n <div class=\"col-4\">\r\n <p class=\"text-center w-100 m-0\"> {{ item.quantity }}</p>\r\n </div>\r\n <div class=\"col-4 font-xl\">\r\n <p class=\"text-center w-100 m-0\"> {{ (item.product.variants[0].saleprice ?\r\n item.product.variants[0].saleprice : item.product.variants[0].price) |\r\n ecCurrencySymbol}}</p>\r\n </div>\r\n <div class=\"col-4 font-xl\">\r\n <p class=\"text-center w-100 m-0\"> {{ ((item.product.variants[0].saleprice ?\r\n item.product.variants[0].saleprice : item.product.variants[0].price) *\r\n item.quantity) | ecCurrencySymbol}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-2 d-none d-md-flex align-items-center\"\r\n *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n <p class=\"text-center w-100 m-0\">\r\n {{ (item.product.variants[0].saleprice ? item.product.variants[0].saleprice :\r\n item.product.variants[0].price) | ecCurrencySymbol}}\r\n </p>\r\n </div>\r\n <div class=\"col-1 d-none d-md-flex align-items-center\">\r\n <p class=\"text-center w-100 m-0\"> {{ item.quantity }}</p>\r\n </div>\r\n <div class=\"col-2 d-none d-md-flex align-items-center\"\r\n *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n <p class=\"text-end w-100 m-0\">\r\n {{ ((item.product.variants[0].saleprice ? item.product.variants[0].saleprice :\r\n item.product.variants[0].price) * item.quantity) | ecCurrencySymbol}}</p>\r\n </div>\r\n <div class=\"collapse\" [attr.id]=\"'collapseExample'+i\">\r\n <div class=\"card card-body\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th scope=\"col\">#</th>\r\n <th scope=\"col\">Estado</th>\r\n <th scope=\"col\">Cantidad</th>\r\n <th scope=\"col\">Fecha Solicitada</th>\r\n <th scope=\"col\">Fecha Estimada</th>\r\n <th scope=\"col\">Sede</th>\r\n <th scope=\"col\">Nota</th>\r\n <th scope=\"col\">Total Lote</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let lot of item.orderItemLot\">\r\n <tr>\r\n <th scope=\"row\">{{lot.id}}</th>\r\n <td>{{lot.lot_status}}</td>\r\n <td>{{lot.quantity}}</td>\r\n <td>{{ toDate(lot.date_request, 'DD/MM/YYYY') | translate }}</td>\r\n <td *ngIf=\"lot.date_deliver; else sinFechaEstimada\">{{\r\n toDate(lot.date_deliver, 'DD/MM/YYYY') | translate }}</td>\r\n <ng-template #sinFechaEstimada>\r\n <td>Pendiente</td>\r\n </ng-template>\r\n <td>{{lot.shipping_address_name}}</td>\r\n <td>{{lot.notes}}</td>\r\n <td>{{lot.total_lot | ecCurrencySymbol}}</td>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-6\"></div>\r\n <div class=\"col-12 col-md-6\" *ngIf=\"(creditAmountConfigured ? showPrice : true)\">\r\n <div class=\"row py-4\">\r\n <div class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'total-products' |\r\n translate }}</div>\r\n <div class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\r\n {{ (order.totals.items) | ecCurrencySymbol }}\r\n </div>\r\n\r\n <div class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'shipment' |\r\n translate }}</div>\r\n <div class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\r\n {{ (order.totals.shipping || '0') | ecCurrencySymbol }}\r\n\r\n </div>\r\n\r\n <div *ngIf=\"order.totals.promotion && order.totals.promotion != 0\"\r\n class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'discount' |\r\n translate }}</div>\r\n <div *ngIf=\"order.totals.promotion && order.totals.promotion != 0\"\r\n class=\"col-6 font-brandon font-md text-gray border-bottom text-end text-end\">\r\n {{ (order.totals.promotion) | ecCurrencySymbol }}</div>\r\n\r\n <div *ngIf=\"order.totals.taxes && order.totals.taxes != 0 \"\r\n class=\"col-6 font-brandon font-md text-gray border-bottom \">\r\n {{ 'taxes' | translate }}</div>\r\n <div *ngIf=\"order.totals.taxes && order.totals.taxes != 0\"\r\n class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\r\n {{ (order.totals.taxes) | ecCurrencySymbol }}</div>\r\n\r\n <div class=\"col-6 font-brandon font-md\">{{ 'total' | translate | uppercase }}</div>\r\n <div class=\"col-6 font-brandon font-md text-end\">\r\n {{ (order.totals.total) | ecCurrencySymbol }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</main>\r\n\r\n<ng-template #noOrder>\r\n <div class=\"w-100 h-50\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <h5>{{ 'no-orders' | translate }}</h5>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingView>\r\n <div class=\"w-100 h-50 py-5\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -12945,7 +12993,7 @@ var __extends$N = (this && this.__extends) || (function () {
|
|
|
12945
12993
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12946
12994
|
};
|
|
12947
12995
|
})();
|
|
12948
|
-
var __decorate$
|
|
12996
|
+
var __decorate$1m = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12949
12997
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12950
12998
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12951
12999
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13040,13 +13088,13 @@ var AuthEcComponent = /** @class */ (function (_super) {
|
|
|
13040
13088
|
{ type: FormBuilder },
|
|
13041
13089
|
{ type: Router }
|
|
13042
13090
|
]; };
|
|
13043
|
-
__decorate$
|
|
13091
|
+
__decorate$1m([
|
|
13044
13092
|
Input()
|
|
13045
13093
|
], AuthEcComponent.prototype, "complete", void 0);
|
|
13046
|
-
__decorate$
|
|
13094
|
+
__decorate$1m([
|
|
13047
13095
|
Input()
|
|
13048
13096
|
], AuthEcComponent.prototype, "redirect", void 0);
|
|
13049
|
-
AuthEcComponent = __decorate$
|
|
13097
|
+
AuthEcComponent = __decorate$1m([
|
|
13050
13098
|
Component({
|
|
13051
13099
|
selector: 'app-auth-ec',
|
|
13052
13100
|
template: "<!-- banners -->\r\n<div class=\"row\">\r\n <div class=\"col-12 p-0\" id=\"banner-slider-home\">\r\n <div id=\"banner-slider\" class=\"owl-carousel h-100 w-100\">\r\n <div class=\"item\">\r\n <img src=\"assets/image/login.png\" class=\"w-100 d-none d-md-block\">\r\n <img src=\"assets/image/26912-05-mobile.png\" class=\"w-100 d-block d-md-none\">\r\n <div class=\"caption\">\r\n <h1 class=\"color-white\">Ingresar</h1>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"row\" id=\"contacto\">\r\n <div class=\"col-12 py-md-5 py-0 px-0\">\r\n <div class=\"container\" style=\"background-color: #F1F1F1;\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 px-md-5 px-3 col-12\">\r\n <app-login-form-ec></app-login-form-ec>\r\n </div>\r\n <div class=\"col-md-6 px-md-5 px-3 col-12\">\r\n <app-register-form-ec></app-register-form-ec>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -13069,7 +13117,7 @@ var __extends$O = (this && this.__extends) || (function () {
|
|
|
13069
13117
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13070
13118
|
};
|
|
13071
13119
|
})();
|
|
13072
|
-
var __decorate$
|
|
13120
|
+
var __decorate$1n = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13073
13121
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13074
13122
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13075
13123
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13205,19 +13253,19 @@ var RegisterFormEcComponent = /** @class */ (function (_super) {
|
|
|
13205
13253
|
{ type: FormBuilder },
|
|
13206
13254
|
{ type: ChannelConfigService }
|
|
13207
13255
|
]; };
|
|
13208
|
-
__decorate$
|
|
13256
|
+
__decorate$1n([
|
|
13209
13257
|
Input()
|
|
13210
13258
|
], RegisterFormEcComponent.prototype, "darkMode", void 0);
|
|
13211
|
-
__decorate$
|
|
13259
|
+
__decorate$1n([
|
|
13212
13260
|
Input()
|
|
13213
13261
|
], RegisterFormEcComponent.prototype, "redirect", void 0);
|
|
13214
|
-
__decorate$
|
|
13262
|
+
__decorate$1n([
|
|
13215
13263
|
Input()
|
|
13216
13264
|
], RegisterFormEcComponent.prototype, "complete", void 0);
|
|
13217
|
-
__decorate$
|
|
13265
|
+
__decorate$1n([
|
|
13218
13266
|
Output()
|
|
13219
13267
|
], RegisterFormEcComponent.prototype, "ready", void 0);
|
|
13220
|
-
RegisterFormEcComponent = __decorate$
|
|
13268
|
+
RegisterFormEcComponent = __decorate$1n([
|
|
13221
13269
|
Component({
|
|
13222
13270
|
selector: 'app-register-form-ec',
|
|
13223
13271
|
template: "<div class=\"w-100 pl-md-5 position-relative\" id=\"register\">\r\n <div class=\"py-2\">\r\n <h5>CREAR CUENTA</h5>\r\n </div>\r\n <form id=\"registro\" [formGroup]=\"registerForm\" (submit)=\"register($event)\">\r\n <div class=\"form-group\">\r\n <label for=\"\" class=\"form-label\">NOMBRE</label>\r\n <input formControlName=\"firstName\" class=\"form-control rounded-0\" type=\"text\" placeholder=\"Nombre\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"\" class=\"form-label\">APELLIDO</label>\r\n <input formControlName=\"lastName\" class=\"form-control rounded-0\" type=\"text\" placeholder=\"Apellido\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"\" class=\"\">CORREO ELECTRONICO</label>\r\n <input formControlName=\"email\" email required class=\"form-control rounded-0\" type=\"email\"\r\n placeholder=\"Correo electr\u00F3nico\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"\" class=\"form-label\">CONTRASE\u00D1A</label>\r\n <input formControlName=\"plainPassword\" required class=\"form-control rounded-0\" type=\"password\"\r\n placeholder=\"Contrase\u00F1a\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"\" class=\"form-label\">REPETIR CONTRASE\u00D1A</label>\r\n <input formControlName=\"plainPassword2\" required class=\"form-control rounded-0\" type=\"password\"\r\n placeholder=\"Repetir contrase\u00F1a\">\r\n </div>\r\n\r\n <div class=\"custom-control d-flex flex-row form-check custom-checkbox mr-sm-2 mt-4 mb-2\">\r\n <input type=\"checkbox\" formControlName=\"terms\" required class=\"custom-control-input form-check-input\" name=\"Color2\"\r\n id=\"Color2\">\r\n <label class=\"custom-control-label ff-ubuntu-light font-sm form-check-label\" for=\"Color2\"> He\r\n le\u00EDdo y acepto las pol\u00EDticas de privacidad y los t\u00E9rminos y\r\n condiciones</label>\r\n </div>\r\n\r\n <div class=\"custom-control d-flex flex-row form-check custom-checkbox mr-sm-2 mb-4\">\r\n <input type=\"checkbox\" formControlName=\"newsletter\" class=\"custom-control-input form-check-input\" name=\"Color3\" id=\"Color3\">\r\n <label class=\"custom-control-label form-check-label ff-ubuntu-light font-sm\" for=\"Color3\">\r\n Suscripci\u00F3n al Newsletter</label>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <button [disabled]=\"registerForm.invalid\" type=\"submit\"\r\n class=\"btn btn-dark bg-black btn-block px-5 py-2 rounded-0 h-fit\">CREAR</button>\r\n </div>\r\n </div>\r\n </form>\r\n <app-loading-section-ec *ngIf=\"register_loading\"></app-loading-section-ec>\r\n</div>",
|
|
@@ -13240,7 +13288,7 @@ var __extends$P = (this && this.__extends) || (function () {
|
|
|
13240
13288
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13241
13289
|
};
|
|
13242
13290
|
})();
|
|
13243
|
-
var __decorate$
|
|
13291
|
+
var __decorate$1o = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13244
13292
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13245
13293
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13246
13294
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13317,25 +13365,25 @@ var LoginFormEcComponent = /** @class */ (function (_super) {
|
|
|
13317
13365
|
{ type: FormBuilder },
|
|
13318
13366
|
{ type: Router }
|
|
13319
13367
|
]; };
|
|
13320
|
-
__decorate$
|
|
13368
|
+
__decorate$1o([
|
|
13321
13369
|
Input()
|
|
13322
13370
|
], LoginFormEcComponent.prototype, "darkMode", void 0);
|
|
13323
|
-
__decorate$
|
|
13371
|
+
__decorate$1o([
|
|
13324
13372
|
Input()
|
|
13325
13373
|
], LoginFormEcComponent.prototype, "redirect", void 0);
|
|
13326
|
-
__decorate$
|
|
13374
|
+
__decorate$1o([
|
|
13327
13375
|
Input()
|
|
13328
13376
|
], LoginFormEcComponent.prototype, "redirectTo", void 0);
|
|
13329
|
-
__decorate$
|
|
13377
|
+
__decorate$1o([
|
|
13330
13378
|
Input()
|
|
13331
13379
|
], LoginFormEcComponent.prototype, "complete", void 0);
|
|
13332
|
-
__decorate$
|
|
13380
|
+
__decorate$1o([
|
|
13333
13381
|
Input()
|
|
13334
13382
|
], LoginFormEcComponent.prototype, "title", void 0);
|
|
13335
|
-
__decorate$
|
|
13383
|
+
__decorate$1o([
|
|
13336
13384
|
Output()
|
|
13337
13385
|
], LoginFormEcComponent.prototype, "ready", void 0);
|
|
13338
|
-
LoginFormEcComponent = __decorate$
|
|
13386
|
+
LoginFormEcComponent = __decorate$1o([
|
|
13339
13387
|
Component({
|
|
13340
13388
|
selector: 'app-login-form-ec',
|
|
13341
13389
|
template: "<div class=\"d-flex flex-column position-relative\">\r\n <h1 class=\"right-line ff-ubuntu-light mb-2\"><span>Ingresar</span></h1>\r\n <p class=\"ff-ubuntu-light font-sm pr-4\">\r\n Si ya est\u00E1s registrado. Ingresa en tu cuenta con tu email y la\r\n contrase\u00F1a adecuada.\r\n </p>\r\n <div class=\"w-md-50 w-100 text-center\">\r\n <form [formGroup]=\"loginForm\" (submit)=\"login($event)\">\r\n <input class=\"form-control mb-4 radius-0\" type=\"email\" formControlName=\"username\"\r\n placeholder=\"Correo Electr\u00F3nico\">\r\n <input class=\"form-control mb-4 radius-0\" type=\"password\" formControlName=\"password\"\r\n placeholder=\"Contrase\u00F1a\">\r\n \r\n <div class=\"row d-flex flex-column\">\r\n <div class=\"col-12\">\r\n <button type=\"submit\"\r\n class=\"bg-gray border-0 px-4 py-2 color-white ff-ubuntu-light\">INGRESAR</button>\r\n </div>\r\n <div class=\"col-12 d-flex justify-content-center align-items-center\">\r\n <a [routerLink]=\"'/auth/forgot-password'\" class=\"font-md ff-ubuntu-light\">\r\n \u00BFOlvid\u00F3 su contrase\u00F1a?\r\n </a>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n <div *ngIf=\"!loading; else loadingView\"></div>\r\n</div>\r\n<ng-template #loadingView>\r\n <app-loading-section-ec></app-loading-section-ec>\r\n</ng-template>\r\n\r\n\r\n<select-channel-ec></select-channel-ec>",
|
|
@@ -13358,7 +13406,7 @@ var __extends$Q = (this && this.__extends) || (function () {
|
|
|
13358
13406
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13359
13407
|
};
|
|
13360
13408
|
})();
|
|
13361
|
-
var __decorate$
|
|
13409
|
+
var __decorate$1p = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13362
13410
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13363
13411
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13364
13412
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13404,7 +13452,7 @@ var ForgotPasswordEcComponent = /** @class */ (function (_super) {
|
|
|
13404
13452
|
{ type: AuthService },
|
|
13405
13453
|
{ type: ToastService }
|
|
13406
13454
|
]; };
|
|
13407
|
-
ForgotPasswordEcComponent = __decorate$
|
|
13455
|
+
ForgotPasswordEcComponent = __decorate$1p([
|
|
13408
13456
|
Component({
|
|
13409
13457
|
selector: 'app-forgot-password-ec',
|
|
13410
13458
|
template: "<div class=\"container\" id=\"passReset\">\r\n\r\n <div *ngIf=\"!ready; else readyView\">\r\n <form (submit)=\"recoverPassword($event)\" class=\"row justify-content-center\">\r\n <div class=\"col-12 col-md-10 text-center\">\r\n <h3>{{ 'set-forgot-email' | translate }}</h3>\r\n <div class=\"element-container\">\r\n <input type=\"email\" [(ngModel)]=\"email\" class=\"form-control\"\r\n [ngModelOptions]=\"{standalone: true}\" />\r\n </div>\r\n <button class=\"btn btn-primary btn-passreset my-2\" type=\"submit\">{{ 'recover-password' | translate\r\n }}</button>\r\n\r\n <div *ngIf=\"loading\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n\r\n<ng-template #readyView>\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-8\">\r\n <div class=\"element-container text-center\">\r\n <h3>{{ 'mail-sent' | translate }}</h3>\r\n </div>\r\n <div class=\"element-container text-center\">\r\n <h5 class=\"center-text\">{{ 'check-your-email' | translate }}</h5>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -13427,7 +13475,7 @@ var __extends$R = (this && this.__extends) || (function () {
|
|
|
13427
13475
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13428
13476
|
};
|
|
13429
13477
|
})();
|
|
13430
|
-
var __decorate$
|
|
13478
|
+
var __decorate$1q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13431
13479
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13432
13480
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13433
13481
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13459,7 +13507,7 @@ var ConfirmAccountEcComponent = /** @class */ (function (_super) {
|
|
|
13459
13507
|
{ type: AuthService },
|
|
13460
13508
|
{ type: ActivatedRoute }
|
|
13461
13509
|
]; };
|
|
13462
|
-
ConfirmAccountEcComponent = __decorate$
|
|
13510
|
+
ConfirmAccountEcComponent = __decorate$1q([
|
|
13463
13511
|
Component({
|
|
13464
13512
|
selector: 'app-confirm-account-ec',
|
|
13465
13513
|
template: "<div class=\"mt-5 mb-5\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12 text-center\">\r\n <h4 class=\"confirm-title text-white py-3 text-uppercase d-inline-block\">\r\n {{ ('thanks-for-register' | translate) | uppercase }}</h4>\r\n </div>\r\n </div>\r\n \r\n \r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-12 text-center\">\r\n <h4>{{ 'thanks-for-register-detail' | translate }}</h4>\r\n <br>\r\n <a routerLink=\"/auth/login\">\r\n <button class=\"btn bg-golden color-white radius-0\" type=\"button\">{{ 'login' | translate |\r\n uppercase }}</button>\r\n </a>\r\n <br>\r\n <br>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -13482,7 +13530,7 @@ var __extends$S = (this && this.__extends) || (function () {
|
|
|
13482
13530
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13483
13531
|
};
|
|
13484
13532
|
})();
|
|
13485
|
-
var __decorate$
|
|
13533
|
+
var __decorate$1r = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13486
13534
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13487
13535
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13488
13536
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13571,7 +13619,7 @@ var PasswordResetEcComponent = /** @class */ (function (_super) {
|
|
|
13571
13619
|
{ type: Router },
|
|
13572
13620
|
{ type: FormBuilder }
|
|
13573
13621
|
]; };
|
|
13574
|
-
PasswordResetEcComponent = __decorate$
|
|
13622
|
+
PasswordResetEcComponent = __decorate$1r([
|
|
13575
13623
|
Component({
|
|
13576
13624
|
selector: 'app-password-reset-ec',
|
|
13577
13625
|
template: "<div class=\"container\">\r\n <div class=\"row justify-content-center mt-5\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <div *ngIf=\"!ready; else readyView\">\r\n <form [formGroup]=\"formGroup\" (submit)=\"sendNewPassword($event)\">\r\n <div class=\"mb-4 text-center\">\r\n <h3>{{ 'set-new-password' | translate }}</h3>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'set-password' | translate }}</label>\r\n <div class=\"input-group\">\r\n <input type=\"password\" formControlName=\"first\" class=\"form-control\" id=\"contrase\u00F1a1\" />\r\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\r\n (click)=\"showPassword()\">\r\n <i id=\"show1\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide1\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'repeat-password' | translate }}</label>\r\n <div class=\"input-group\">\r\n <input type=\"password\" formControlName=\"second\" class=\"form-control\" id=\"contrase\u00F1a2\" />\r\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\r\n (click)=\"showPassword2()\">\r\n <i id=\"show2\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide2\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"mt-4 text-center\">\r\n <button type=\"submit\" class=\"comprar w-100\">{{ 'update' | translate }}</button>\r\n </div>\r\n <div *ngIf=\"loading\" class=\"mt-3\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #readyView>\r\n <div class=\"row justify-content-center mt-5 mb-5\">\r\n <div class=\"text-center\">\r\n <div class=\"mb-4\">\r\n <h3>{{ 'updated-password' | translate }}</h3>\r\n </div>\r\n <div class=\"mb-4\">\r\n <h5>{{ 'updated-password-detail' | translate }}</h5>\r\n </div>\r\n <button class=\"comprar\" (click)=\"sendToLogin()\">{{ 'login' | translate }}</button>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -13594,7 +13642,7 @@ var __extends$T = (this && this.__extends) || (function () {
|
|
|
13594
13642
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13595
13643
|
};
|
|
13596
13644
|
})();
|
|
13597
|
-
var __decorate$
|
|
13645
|
+
var __decorate$1s = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13598
13646
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13599
13647
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13600
13648
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13731,19 +13779,19 @@ var RegisterWholesalerFormEcComponent = /** @class */ (function (_super) {
|
|
|
13731
13779
|
{ type: ParametersService },
|
|
13732
13780
|
{ type: FormBuilder }
|
|
13733
13781
|
]; };
|
|
13734
|
-
__decorate$
|
|
13782
|
+
__decorate$1s([
|
|
13735
13783
|
Input()
|
|
13736
13784
|
], RegisterWholesalerFormEcComponent.prototype, "darkMode", void 0);
|
|
13737
|
-
__decorate$
|
|
13785
|
+
__decorate$1s([
|
|
13738
13786
|
Input()
|
|
13739
13787
|
], RegisterWholesalerFormEcComponent.prototype, "redirect", void 0);
|
|
13740
|
-
__decorate$
|
|
13788
|
+
__decorate$1s([
|
|
13741
13789
|
Input()
|
|
13742
13790
|
], RegisterWholesalerFormEcComponent.prototype, "complete", void 0);
|
|
13743
|
-
__decorate$
|
|
13791
|
+
__decorate$1s([
|
|
13744
13792
|
Output()
|
|
13745
13793
|
], RegisterWholesalerFormEcComponent.prototype, "ready", void 0);
|
|
13746
|
-
RegisterWholesalerFormEcComponent = __decorate$
|
|
13794
|
+
RegisterWholesalerFormEcComponent = __decorate$1s([
|
|
13747
13795
|
Component({
|
|
13748
13796
|
selector: 'app-register-wholesaler-form-ec',
|
|
13749
13797
|
template: "\r\n<div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"\">\r\n <div class=\"pt-5 pb-3 border-bottom\">\r\n <h3 class=\"my-auto mx-2 text-left w-fit bold text-beige1 white-space-md-nowrap\">CREAR CUENTA MAYORISTA</h3>\r\n </div>\r\n <div class=\" py-3\">\r\n <p>Si todavia no tienes una cuenta de grandes consumidores en Vi\u00F1als registrate ingresando estos\r\n datos:</p>\r\n </div>\r\n <form [formGroup]=\"registerForm\" (submit)=\"register($event)\" class=\"position-relative\">\r\n <div class=\"row w-100 mx-auto d-flex justify-content-center px-0 py-3\">\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Nombre</label>\r\n <input type=\"text\" id=\"\" placeholder=\"Nombre\" required name=\"firstName\"\r\n formControlName=\"firstName\"\r\n [class]=\"registerForm.controls.firstName.touched ? (registerForm.controls.firstName.valid && registerForm.controls.firstName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">El nombre es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Apellidos</label>\r\n <input type=\"text\" id=\"\" placeholder=\"Apellido\" required\r\n name=\"lastName\" formControlName=\"lastName\"\r\n [class]=\"registerForm.controls.lastName.touched ? (registerForm.controls.lastName.valid && registerForm.controls.lastName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">El apellido es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Email</label>\r\n <input type=\"email\" id=\"\" placeholder=\"Email\" email required\r\n name=\"email\" formControlName=\"email\"\r\n [class]=\"registerForm.controls.email.touched ? (registerForm.controls.email.valid && registerForm.controls.email.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">El email no posee un formato correcto.</span>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Contrase\u00F1a</label>\r\n <input type=\"password\" id=\"\" placeholder=\"Contrase\u00F1a\" required\r\n name=\"plainPassword\" formControlName=\"plainPassword\"\r\n [class]=\"registerForm.controls.plainPassword.touched ? (registerForm.controls.plainPassword.valid && registerForm.controls.plainPassword.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">La contrase\u00F1a es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\" *ngIf=\"(countries$ | async) as countries\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'country'|translate}}</label>\r\n <select name=\"countryCode\" formControlName=\"countryCode\" required\r\n (change)=\"onCountrySelected($event.target.value)\"\r\n [class]=\"registerForm.controls.countryCode.touched ? (registerForm.controls.countryCode.valid && registerForm.controls.countryCode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <option value=\"null\" id=\"selectOpPais\">Seleccione un pais</option>\r\n <option *ngFor=\"let country of countries\" [value]=\"country.code\"> {{ country.name }}</option>\r\n </select>\r\n <span class=\"invalid-feedback\">{{'country-help'|translate}}</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\" *ngIf=\"(provinces$ | async) as provinces\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'state'|translate}}</label>\r\n <select name=\"provinceCode\" formControlName=\"provinceCode\" required\r\n (change)=\"onProvincesSelected($event.target.value)\"\r\n [class]=\"registerForm.controls.countryCode.touched ? (registerForm.controls.countryCode.valid && registerForm.controls.countryCode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <option value=\"null\" id=\"selectOpProvincia\">Seleccione una provincia</option>\r\n <option *ngFor=\"let province of provinces\" [value]=\"province.code\">{{ province.name }}</option>\r\n </select>\r\n <span class=\"invalid-feedback\">{{'state-help'|translate}}</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'address'|translate}}</label>\r\n <input placeholder=\"{{'address'|translate}}\" required type=\"text\" name=\"street\"\r\n formControlName=\"street\"\r\n [class]=\"registerForm.controls.street.touched ? (registerForm.controls.street.valid && registerForm.controls.street.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">{{'address-help1'|translate}}</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'town-city'|translate}}</label>\r\n <input placeholder=\"{{'town-city'|translate}}\" required type=\"text\" name=\"city\"\r\n formControlName=\"city\"\r\n [class]=\"registerForm.controls.city.touched ? (registerForm.controls.city.valid && registerForm.controls.city.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">{{'town-city-help'|translate}}</span>\r\n </div>\r\n </div>\r\n \r\n \r\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'postal-code'|translate}}</label>\r\n <input placeholder=\"{{'postal-code'|translate}}\" required type=\"text\" name=\"postcode\"\r\n formControlName=\"postcode\"\r\n [class]=\"registerForm.controls.postcode.touched ? (registerForm.controls.postcode.valid && registerForm.controls.postcode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">{{'postal-code-help'|translate}}</span>\r\n </div>\r\n </div>\r\n \r\n \r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Nombre compa\u00F1\u00EDa</label>\r\n <input type=\"text\" id=\"\" placeholder=\"Nombre compa\u00F1\u00EDa\" required\r\n name=\"companyName\" formControlName=\"companyName\"\r\n [class]=\"registerForm.controls.companyName.touched ? (registerForm.controls.companyName.valid && registerForm.controls.companyName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">El nombre compa\u00F1\u00EDa es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">{{'phone'|translate}}</label>\r\n <input type=\"text\" id=\"\" placeholder=\"{{'phone'|translate}}\" required\r\n name=\"phoneNumber\" formControlName=\"phoneNumber\"\r\n [class]=\"registerForm.controls.phoneNumber.touched ? (registerForm.controls.phoneNumber.valid && registerForm.controls.phoneNumber.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">El numero de telefono es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Sexo</label>\r\n <select (change)=\"onGenderSelected($event.target.value)\" required name=\"gender\"\r\n formControlName=\"gender\"\r\n [class]=\"registerForm.controls.gender.touched ? (registerForm.controls.gender.valid && registerForm.controls.gender.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <option value=\"null\" id=\"selectOpSexo\">Sexo</option>\r\n <option value=\"u\">Desconocido</option>\r\n <option value=\"s\">Femenino</option>\r\n <option value=\"m\">Masculino</option>\r\n </select>\r\n <span class=\"invalid-feedback\">El sexo es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Fecha creacion</label>\r\n <input type=\"date\" id=\"\" placeholder=\"Fecha creacion\" required\r\n name=\"birthday\" formControlName=\"birthday\"\r\n [class]=\"registerForm.controls.birthday.touched ? (registerForm.controls.birthday.valid && registerForm.controls.birthday.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">La fecha de creacion es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\r\n <div class=\"form-group\">\r\n <label for=\"\">Identificacion</label>\r\n <input type=\"text\" id=\"\" placeholder=\"Identificacion\" required\r\n name=\"taxIdentification\" formControlName=\"taxIdentification\"\r\n [class]=\"registerForm.controls.taxIdentification.touched ? (registerForm.controls.taxIdentification.valid && registerForm.controls.taxIdentification.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\r\n <span class=\"invalid-feedback\">La identificacion de la compa\u00F1\u00EDa es un campo obligatorio.</span>\r\n </div>\r\n </div>\r\n \r\n \r\n \r\n <div class=\"col-12 col-md-6 px-0 py-4 pl-md-1 order-1 order-md-2\">\r\n <!-- <div class=\"form-check py-2\">\r\n <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"defaultCheck1\" #terms=\"ngModel\"\r\n name=\"terms\" [(ngModel)]=\"registroUsuario.terms\" type=\"checkbox\" required\r\n [class]=\"terms.touched ? (terms.valid && terms.touched && registroUsuario.terms != false) ? 'form-check-input is-valid' : 'form-check-input is-invalid' : 'form-check-input '\" />\r\n <label class=\"form-check-label\" for=\"defaultCheck1\">\r\n He leido y acepto las <a routerLink=\"/section/politicas-privacidad\" class=\"text\">pol\u00EDticas de\r\n privacidad</a>\r\n y los <a routerLink=\"/section/terminos-y-condiciones\" class=\"text\">t\u00E9rminos y condiciones</a>\r\n </label>\r\n <span class=\"invalid-feedback\">Debe aceptar los t\u00E9rminos y condiciones para continuar.</span>\r\n </div> -->\r\n <div class=\"form-check py-2\">\r\n <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"defaultCheck2\"\r\n name=\"subscribedToNewsletter\" formControlName=\"subscribedToNewsletter\" type=\"checkbox\">\r\n <label class=\"form-check-label\" for=\"defaultCheck2\">\r\n Suscripci\u00F3n al newsletter\r\n </label>\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-12 col-md-6 px-0 py-4 pr-md-1 d-flex justify-content-md-start order-2 order-md-1\">\r\n <button *ngIf=\"!register_loading\" type=\"submit\" role=\"button\"\r\n class=\"btn btn-dark bg-beige1 text-blanco bold rounded-0 px-5 py-2 w-100 w-md-auto h-fit\">REGISTRATE</button>\r\n </div>\r\n \r\n </div>\r\n <app-loading-section-ec *ngIf=\"register_loading\"></app-loading-section-ec>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -13766,7 +13814,7 @@ var __extends$U = (this && this.__extends) || (function () {
|
|
|
13766
13814
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13767
13815
|
};
|
|
13768
13816
|
})();
|
|
13769
|
-
var __decorate$
|
|
13817
|
+
var __decorate$1t = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13770
13818
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13771
13819
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13772
13820
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13900,10 +13948,10 @@ var ShareBlockEcComponent = /** @class */ (function (_super) {
|
|
|
13900
13948
|
{ type: Meta },
|
|
13901
13949
|
{ type: Title }
|
|
13902
13950
|
]; };
|
|
13903
|
-
__decorate$
|
|
13951
|
+
__decorate$1t([
|
|
13904
13952
|
Input()
|
|
13905
13953
|
], ShareBlockEcComponent.prototype, "product", void 0);
|
|
13906
|
-
ShareBlockEcComponent = __decorate$
|
|
13954
|
+
ShareBlockEcComponent = __decorate$1t([
|
|
13907
13955
|
Component({
|
|
13908
13956
|
selector: 'app-share-block-ec',
|
|
13909
13957
|
template: "<div class=\"w-100 d-flex justify-content-around\">\r\n <ng-container *ngIf=\"params && params.length > 0; else default\">\r\n <a *ngIf=\"hasParams(params, 'facebook')\" target=\"_blank\" [href]=\"toShareFacebook()\"\r\n class=\"social-sharing__link\" title=\"Compartir en Facebook\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-facebook\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M18.56 31.36V17.28h4.48l.64-5.12h-5.12v-3.2c0-1.28.64-2.56 2.56-2.56h2.56V1.28H19.2c-3.84 0-7.04 2.56-7.04 7.04v3.84H7.68v5.12h4.48v14.08h6.4z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Compartir</span>\r\n </a>\r\n <a *ngIf=\"hasParams(params, 'twitter')\" target=\"_blank\" \r\n [href]=\"toShareTwitter()\"\r\n class=\"social-sharing__link\" title=\"Tuitear en Twitter\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-twitter\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M31.281 6.733q-1.304 1.924-3.13 3.26 0 .13.033.408t.033.408q0 2.543-.75 5.086t-2.282 4.858-3.635 4.108-5.053 2.869-6.341 1.076q-5.282 0-9.65-2.836.913.065 1.5.065 4.401 0 7.857-2.673-2.054-.033-3.668-1.255t-2.266-3.146q.554.13 1.206.13.88 0 1.663-.261-2.184-.456-3.619-2.184t-1.435-3.977v-.065q1.239.652 2.836.717-1.271-.848-2.021-2.233t-.75-2.983q0-1.63.815-3.195 2.38 2.967 5.754 4.678t7.319 1.907q-.228-.815-.228-1.434 0-2.608 1.858-4.45t4.532-1.842q1.304 0 2.51.522t2.054 1.467q2.152-.424 4.01-1.532-.685 2.217-2.771 3.488 1.989-.261 3.619-.978z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Tuitear</span>\r\n </a>\r\n <a *ngIf=\"hasParams(params, 'pinterest')\" target=\"_blank\"\r\n [href]=\"toSharePinterest()\"\r\n class=\"social-sharing__link\" title=\"Pinear en Pinterest\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-pinterest\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M27.52 9.6c-.64-5.76-6.4-8.32-12.8-7.68-4.48.64-9.6 4.48-9.6 10.24 0 3.2.64 5.76 3.84 6.4 1.28-2.56-.64-3.2-.64-4.48-1.28-7.04 8.32-12.16 13.44-7.04 3.2 3.84 1.28 14.08-4.48 13.44-5.12-1.28 2.56-9.6-1.92-11.52-3.2-1.28-5.12 4.48-3.84 7.04-1.28 4.48-3.2 8.96-1.92 15.36 2.56-1.92 3.84-5.76 4.48-9.6 1.28.64 1.92 1.92 3.84 1.92 6.4-.64 10.24-7.68 9.6-14.08z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Hacer pin</span>\r\n </a>\r\n <a *ngIf=\"hasParams(params, 'whatsapp') as wsp\" target=\"_blank\" [href]=\"toShareWhatsapp(wsp)\" class=\"social-sharing__link\" title=\"Whatsapp\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" fill=\"currentColor\" class=\"bi bi-whatsapp\"\r\n viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\" />\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Whatsapp</span>\r\n </a>\r\n <a *ngIf=\"hasParams(params, 'email') as email\" target=\"_blank\" [href]=\"toShareEmail(email)\" class=\"social-sharing__link\"\r\n title=\"Email\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" fill=\"currentColor\" class=\"bi bi-envelope-fill\"\r\n viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z\" />\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Email</span>\r\n </a>\r\n </ng-container>\r\n</div>\r\n\r\n<!-- VISTA DEFAULT CON LINKS QUE NO REQUIEREN PARAMETROS-->\r\n<ng-template #default>\r\n <a target=\"_blank\" [href]=\"toShareFacebook()\" class=\"social-sharing__link\" title=\"Compartir en Facebook\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-facebook\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M18.56 31.36V17.28h4.48l.64-5.12h-5.12v-3.2c0-1.28.64-2.56 2.56-2.56h2.56V1.28H19.2c-3.84 0-7.04 2.56-7.04 7.04v3.84H7.68v5.12h4.48v14.08h6.4z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Compartir</span>\r\n </a>\r\n <a target=\"_blank\" [href]=\"toShareTwitter()\" class=\"social-sharing__link\" title=\"Tuitear en Twitter\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-twitter\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M31.281 6.733q-1.304 1.924-3.13 3.26 0 .13.033.408t.033.408q0 2.543-.75 5.086t-2.282 4.858-3.635 4.108-5.053 2.869-6.341 1.076q-5.282 0-9.65-2.836.913.065 1.5.065 4.401 0 7.857-2.673-2.054-.033-3.668-1.255t-2.266-3.146q.554.13 1.206.13.88 0 1.663-.261-2.184-.456-3.619-2.184t-1.435-3.977v-.065q1.239.652 2.836.717-1.271-.848-2.021-2.233t-.75-2.983q0-1.63.815-3.195 2.38 2.967 5.754 4.678t7.319 1.907q-.228-.815-.228-1.434 0-2.608 1.858-4.45t4.532-1.842q1.304 0 2.51.522t2.054 1.467q2.152-.424 4.01-1.532-.685 2.217-2.771 3.488 1.989-.261 3.619-.978z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Tuitear</span>\r\n </a>\r\n <a target=\"_blank\" [href]=\"toSharePinterest()\" class=\"social-sharing__link\" title=\"Pinear en Pinterest\">\r\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-pinterest\" viewBox=\"0 0 32 32\">\r\n <path fill=\"#444\"\r\n d=\"M27.52 9.6c-.64-5.76-6.4-8.32-12.8-7.68-4.48.64-9.6 4.48-9.6 10.24 0 3.2.64 5.76 3.84 6.4 1.28-2.56-.64-3.2-.64-4.48-1.28-7.04 8.32-12.16 13.44-7.04 3.2 3.84 1.28 14.08-4.48 13.44-5.12-1.28 2.56-9.6-1.92-11.52-3.2-1.28-5.12 4.48-3.84 7.04-1.28 4.48-3.2 8.96-1.92 15.36 2.56-1.92 3.84-5.76 4.48-9.6 1.28.64 1.92 1.92 3.84 1.92 6.4-.64 10.24-7.68 9.6-14.08z\">\r\n </path>\r\n </svg>\r\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Hacer pin</span>\r\n </a>\r\n</ng-template>\r\n<!-- FIN -->",
|
|
@@ -13926,7 +13974,7 @@ var __extends$V = (this && this.__extends) || (function () {
|
|
|
13926
13974
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13927
13975
|
};
|
|
13928
13976
|
})();
|
|
13929
|
-
var __decorate$
|
|
13977
|
+
var __decorate$1u = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13930
13978
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13931
13979
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13932
13980
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13990,10 +14038,10 @@ var DetailCheckoutBlockEcComponent = /** @class */ (function (_super) {
|
|
|
13990
14038
|
{ type: CheckoutService },
|
|
13991
14039
|
{ type: CartService }
|
|
13992
14040
|
]; };
|
|
13993
|
-
__decorate$
|
|
14041
|
+
__decorate$1u([
|
|
13994
14042
|
Input()
|
|
13995
14043
|
], DetailCheckoutBlockEcComponent.prototype, "asociatedData", void 0);
|
|
13996
|
-
DetailCheckoutBlockEcComponent = __decorate$
|
|
14044
|
+
DetailCheckoutBlockEcComponent = __decorate$1u([
|
|
13997
14045
|
Component({
|
|
13998
14046
|
selector: 'app-detail-checkout-block-ec',
|
|
13999
14047
|
template: "<div id=\"appDetailCheckoutBlockEc\" class=\"d-flex flex-row w-100 justify-content-center flex-wrap\"\r\n *ngIf=\"data && (creditAmountConfigured ? showPrice : true)\">\r\n <ng-container *ngFor=\"let item of data; let i = index\">\r\n <ng-container *ngIf=\"item.type != 'discount' && item.type != 'coupon'\">\r\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\">\r\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon(item)\"></i>\r\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">{{ item.type | translate }}</strong>\r\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{ (item.amount != 0 ) ? (item.amount |\r\n ecCurrencySymbol) : ('free' | translate) }}</span>\r\n </div>\r\n </ng-container>\r\n\r\n\r\n <!-- Mostrar total de descuentos -->\r\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\"\r\n *ngIf=\"this.discountTotal != 0 && i === 1\">\r\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon2('discount')\"></i>\r\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">Descuento</strong>\r\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{ (this.discountTotal | ecCurrencySymbol)\r\n }}</span>\r\n </div>\r\n\r\n <!-- Mostrar total de cupones -->\r\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\"\r\n *ngIf=\"this.couponTotal != 0 && i === 1\">\r\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon2('coupon')\"></i>\r\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">Cupon</strong>\r\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{(this.couponTotal| ecCurrencySymbol)\r\n }}</span>\r\n </div>\r\n </ng-container>\r\n</div>",
|
|
@@ -14016,7 +14064,7 @@ var __extends$W = (this && this.__extends) || (function () {
|
|
|
14016
14064
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14017
14065
|
};
|
|
14018
14066
|
})();
|
|
14019
|
-
var __decorate$
|
|
14067
|
+
var __decorate$1v = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14020
14068
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14021
14069
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14022
14070
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14075,13 +14123,13 @@ var CheckoutErrorComponent = /** @class */ (function (_super) {
|
|
|
14075
14123
|
{ type: BsModalService },
|
|
14076
14124
|
{ type: Router }
|
|
14077
14125
|
]; };
|
|
14078
|
-
__decorate$
|
|
14126
|
+
__decorate$1v([
|
|
14079
14127
|
ViewChild('template')
|
|
14080
14128
|
], CheckoutErrorComponent.prototype, "template", void 0);
|
|
14081
|
-
__decorate$
|
|
14129
|
+
__decorate$1v([
|
|
14082
14130
|
Input()
|
|
14083
14131
|
], CheckoutErrorComponent.prototype, "urlRedireccion", void 0);
|
|
14084
|
-
CheckoutErrorComponent = __decorate$
|
|
14132
|
+
CheckoutErrorComponent = __decorate$1v([
|
|
14085
14133
|
Component({
|
|
14086
14134
|
selector: 'ec-checkout-error',
|
|
14087
14135
|
template: "<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title pull-left\">{{ 'error-during-checkout' | translate }}</h4>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body p-5\">\r\n {{ error.message }}\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-default\" (click)=\"bsModalRef.hide()\">Continuar</button>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n",
|
|
@@ -14105,7 +14153,7 @@ var __extends$X = (this && this.__extends) || (function () {
|
|
|
14105
14153
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14106
14154
|
};
|
|
14107
14155
|
})();
|
|
14108
|
-
var __decorate$
|
|
14156
|
+
var __decorate$1w = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14109
14157
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14110
14158
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14111
14159
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14232,22 +14280,22 @@ var MpRedirectEcComponent = /** @class */ (function (_super) {
|
|
|
14232
14280
|
{ type: ActivatedRoute },
|
|
14233
14281
|
{ type: DomSanitizer }
|
|
14234
14282
|
]; };
|
|
14235
|
-
__decorate$
|
|
14283
|
+
__decorate$1w([
|
|
14236
14284
|
Input()
|
|
14237
14285
|
], MpRedirectEcComponent.prototype, "method", void 0);
|
|
14238
|
-
__decorate$
|
|
14286
|
+
__decorate$1w([
|
|
14239
14287
|
Input()
|
|
14240
14288
|
], MpRedirectEcComponent.prototype, "total_amount", void 0);
|
|
14241
|
-
__decorate$
|
|
14289
|
+
__decorate$1w([
|
|
14242
14290
|
Input()
|
|
14243
14291
|
], MpRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14244
|
-
__decorate$
|
|
14292
|
+
__decorate$1w([
|
|
14245
14293
|
Input()
|
|
14246
14294
|
], MpRedirectEcComponent.prototype, "allData", void 0);
|
|
14247
|
-
__decorate$
|
|
14295
|
+
__decorate$1w([
|
|
14248
14296
|
Output()
|
|
14249
14297
|
], MpRedirectEcComponent.prototype, "ready", void 0);
|
|
14250
|
-
MpRedirectEcComponent = __decorate$
|
|
14298
|
+
MpRedirectEcComponent = __decorate$1w([
|
|
14251
14299
|
Component({
|
|
14252
14300
|
selector: 'app-mp-redirect-ec',
|
|
14253
14301
|
template: "<div class=\"text-center\">\r\n <ng-container *ngIf=\"url;else loadingUrl\">\r\n <ng-container *ngIf=\"!loading;else loadingTemp\">\r\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary rounded-0 comprar mt-3\">Pagar</button>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingTemp>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <h3>Procesando el pago por mercado pago</h3>\r\n <h5>Recuerde hacer click en \"Volver al sitio\" desde mercado pago para finalizar la compra.</h5>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n <div class=\"col-2 text-center\">\r\n <label for=\"\">o</label>\r\n </div>\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\r\n </div>\r\n</ng-template>\r\n",
|
|
@@ -14270,7 +14318,7 @@ var __extends$Y = (this && this.__extends) || (function () {
|
|
|
14270
14318
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14271
14319
|
};
|
|
14272
14320
|
})();
|
|
14273
|
-
var __decorate$
|
|
14321
|
+
var __decorate$1x = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14274
14322
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14275
14323
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14276
14324
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14382,25 +14430,25 @@ var RedSysRedirectOutEcComponent = /** @class */ (function (_super) {
|
|
|
14382
14430
|
{ type: ActivatedRoute },
|
|
14383
14431
|
{ type: DomSanitizer }
|
|
14384
14432
|
]; };
|
|
14385
|
-
__decorate$
|
|
14433
|
+
__decorate$1x([
|
|
14386
14434
|
Input()
|
|
14387
14435
|
], RedSysRedirectOutEcComponent.prototype, "method", void 0);
|
|
14388
|
-
__decorate$
|
|
14436
|
+
__decorate$1x([
|
|
14389
14437
|
Input()
|
|
14390
14438
|
], RedSysRedirectOutEcComponent.prototype, "total_amount", void 0);
|
|
14391
|
-
__decorate$
|
|
14439
|
+
__decorate$1x([
|
|
14392
14440
|
Input()
|
|
14393
14441
|
], RedSysRedirectOutEcComponent.prototype, "user_data", void 0);
|
|
14394
|
-
__decorate$
|
|
14442
|
+
__decorate$1x([
|
|
14395
14443
|
Input()
|
|
14396
14444
|
], RedSysRedirectOutEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14397
|
-
__decorate$
|
|
14445
|
+
__decorate$1x([
|
|
14398
14446
|
Input()
|
|
14399
14447
|
], RedSysRedirectOutEcComponent.prototype, "allData", void 0);
|
|
14400
|
-
__decorate$
|
|
14448
|
+
__decorate$1x([
|
|
14401
14449
|
Output()
|
|
14402
14450
|
], RedSysRedirectOutEcComponent.prototype, "ready", void 0);
|
|
14403
|
-
RedSysRedirectOutEcComponent = __decorate$
|
|
14451
|
+
RedSysRedirectOutEcComponent = __decorate$1x([
|
|
14404
14452
|
Component({
|
|
14405
14453
|
selector: 'app-redsys-redirect-out-ec',
|
|
14406
14454
|
template: "<div class=\"text-center\">\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"url;else loadingUrl\">\r\n <ng-container *ngIf=\"!loading;else loadingTemp\">\r\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Pagar</button>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingTemp>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <h3>Procesando el pago por Redsys</h3>\r\n <h5>Recuerde hacer click en \"Continuar\" desde Redsys para finalizar la compra.</h5>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n <div class=\"col-2 text-center\">\r\n <label for=\"\">o</label>\r\n </div>\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\r\n </div>\r\n</ng-template>",
|
|
@@ -14423,7 +14471,7 @@ var __extends$Z = (this && this.__extends) || (function () {
|
|
|
14423
14471
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14424
14472
|
};
|
|
14425
14473
|
})();
|
|
14426
|
-
var __decorate$
|
|
14474
|
+
var __decorate$1y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14427
14475
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14428
14476
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14429
14477
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14605,25 +14653,25 @@ var PaypalExpressEcComponent = /** @class */ (function (_super) {
|
|
|
14605
14653
|
{ type: ToastService },
|
|
14606
14654
|
{ type: ActivatedRoute }
|
|
14607
14655
|
]; };
|
|
14608
|
-
__decorate$
|
|
14656
|
+
__decorate$1y([
|
|
14609
14657
|
Input()
|
|
14610
14658
|
], PaypalExpressEcComponent.prototype, "method", void 0);
|
|
14611
|
-
__decorate$
|
|
14659
|
+
__decorate$1y([
|
|
14612
14660
|
Input()
|
|
14613
14661
|
], PaypalExpressEcComponent.prototype, "total_amount", void 0);
|
|
14614
|
-
__decorate$
|
|
14662
|
+
__decorate$1y([
|
|
14615
14663
|
Output()
|
|
14616
14664
|
], PaypalExpressEcComponent.prototype, "ready", void 0);
|
|
14617
|
-
__decorate$
|
|
14665
|
+
__decorate$1y([
|
|
14618
14666
|
Input()
|
|
14619
14667
|
], PaypalExpressEcComponent.prototype, "user_data", void 0);
|
|
14620
|
-
__decorate$
|
|
14668
|
+
__decorate$1y([
|
|
14621
14669
|
ViewChild('template')
|
|
14622
14670
|
], PaypalExpressEcComponent.prototype, "template", void 0);
|
|
14623
|
-
__decorate$
|
|
14671
|
+
__decorate$1y([
|
|
14624
14672
|
ViewChild('paypal', { static: true })
|
|
14625
14673
|
], PaypalExpressEcComponent.prototype, "paypalElement", void 0);
|
|
14626
|
-
PaypalExpressEcComponent = __decorate$
|
|
14674
|
+
PaypalExpressEcComponent = __decorate$1y([
|
|
14627
14675
|
Component({
|
|
14628
14676
|
selector: 'app-paypal-express-ec',
|
|
14629
14677
|
template: "<div class=\"text-center\">\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"!loading;else loadingTemp\">\r\n </ng-container>\r\n <div #paypal> </div>\r\n</div>\r\n\r\n<ng-template #loadingTemp>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>",
|
|
@@ -14646,7 +14694,7 @@ var __extends$_ = (this && this.__extends) || (function () {
|
|
|
14646
14694
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14647
14695
|
};
|
|
14648
14696
|
})();
|
|
14649
|
-
var __decorate$
|
|
14697
|
+
var __decorate$1z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14650
14698
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14651
14699
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14652
14700
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14758,28 +14806,28 @@ var MobbexEcComponent = /** @class */ (function (_super) {
|
|
|
14758
14806
|
{ type: DomSanitizer },
|
|
14759
14807
|
{ type: BsModalService }
|
|
14760
14808
|
]; };
|
|
14761
|
-
__decorate$
|
|
14809
|
+
__decorate$1z([
|
|
14762
14810
|
Input()
|
|
14763
14811
|
], MobbexEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14764
|
-
__decorate$
|
|
14812
|
+
__decorate$1z([
|
|
14765
14813
|
Input()
|
|
14766
14814
|
], MobbexEcComponent.prototype, "method", void 0);
|
|
14767
|
-
__decorate$
|
|
14815
|
+
__decorate$1z([
|
|
14768
14816
|
Input()
|
|
14769
14817
|
], MobbexEcComponent.prototype, "total_amount", void 0);
|
|
14770
|
-
__decorate$
|
|
14818
|
+
__decorate$1z([
|
|
14771
14819
|
Input()
|
|
14772
14820
|
], MobbexEcComponent.prototype, "allData", void 0);
|
|
14773
|
-
__decorate$
|
|
14821
|
+
__decorate$1z([
|
|
14774
14822
|
Input()
|
|
14775
14823
|
], MobbexEcComponent.prototype, "user_data", void 0);
|
|
14776
|
-
__decorate$
|
|
14824
|
+
__decorate$1z([
|
|
14777
14825
|
Output()
|
|
14778
14826
|
], MobbexEcComponent.prototype, "ready", void 0);
|
|
14779
|
-
__decorate$
|
|
14827
|
+
__decorate$1z([
|
|
14780
14828
|
ViewChild('template')
|
|
14781
14829
|
], MobbexEcComponent.prototype, "template", void 0);
|
|
14782
|
-
MobbexEcComponent = __decorate$
|
|
14830
|
+
MobbexEcComponent = __decorate$1z([
|
|
14783
14831
|
Component({
|
|
14784
14832
|
selector: 'app-mobbex-ec',
|
|
14785
14833
|
template: "<div class=\"text-center\">\r\n <h3>Continuar con el pago en Mobbex</h3>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\r\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n </div>\r\n <div class=\"modal-body\">\r\n <iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>",
|
|
@@ -14803,7 +14851,7 @@ var __extends$$ = (this && this.__extends) || (function () {
|
|
|
14803
14851
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14804
14852
|
};
|
|
14805
14853
|
})();
|
|
14806
|
-
var __decorate$
|
|
14854
|
+
var __decorate$1A = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14807
14855
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14808
14856
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14809
14857
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14918,28 +14966,28 @@ var BancardEcComponent = /** @class */ (function (_super) {
|
|
|
14918
14966
|
{ type: DomSanitizer },
|
|
14919
14967
|
{ type: BsModalService }
|
|
14920
14968
|
]; };
|
|
14921
|
-
__decorate$
|
|
14969
|
+
__decorate$1A([
|
|
14922
14970
|
Input()
|
|
14923
14971
|
], BancardEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14924
|
-
__decorate$
|
|
14972
|
+
__decorate$1A([
|
|
14925
14973
|
Input()
|
|
14926
14974
|
], BancardEcComponent.prototype, "method", void 0);
|
|
14927
|
-
__decorate$
|
|
14975
|
+
__decorate$1A([
|
|
14928
14976
|
Input()
|
|
14929
14977
|
], BancardEcComponent.prototype, "total_amount", void 0);
|
|
14930
|
-
__decorate$
|
|
14978
|
+
__decorate$1A([
|
|
14931
14979
|
Input()
|
|
14932
14980
|
], BancardEcComponent.prototype, "allData", void 0);
|
|
14933
|
-
__decorate$
|
|
14981
|
+
__decorate$1A([
|
|
14934
14982
|
Input()
|
|
14935
14983
|
], BancardEcComponent.prototype, "user_data", void 0);
|
|
14936
|
-
__decorate$
|
|
14984
|
+
__decorate$1A([
|
|
14937
14985
|
Output()
|
|
14938
14986
|
], BancardEcComponent.prototype, "ready", void 0);
|
|
14939
|
-
__decorate$
|
|
14987
|
+
__decorate$1A([
|
|
14940
14988
|
ViewChild('template')
|
|
14941
14989
|
], BancardEcComponent.prototype, "template", void 0);
|
|
14942
|
-
BancardEcComponent = __decorate$
|
|
14990
|
+
BancardEcComponent = __decorate$1A([
|
|
14943
14991
|
Component({
|
|
14944
14992
|
selector: 'app-bancard-ec',
|
|
14945
14993
|
template: "<div class=\"h-100 text-center\">\r\n <h4>Continuar con el pago con Bancard</h4>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\r\n <button *ngIf=\"url\" class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\r\n <p *ngIf=\"!url\" class=\"px-5\">Actualmente no se encuentra disponible el m\u00E9todo de pago</p>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header border-none justify-content-end px-1\">\r\n <button type=\"button\" class=\"btn bg-none\" (click)=\"clickClose()\">\r\n X \r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"modal-body\">\r\n <iframe src=\"assets/bancardFrameBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>",
|
|
@@ -14963,7 +15011,7 @@ var __extends$10 = (this && this.__extends) || (function () {
|
|
|
14963
15011
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14964
15012
|
};
|
|
14965
15013
|
})();
|
|
14966
|
-
var __decorate$
|
|
15014
|
+
var __decorate$1B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14967
15015
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14968
15016
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14969
15017
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15073,25 +15121,25 @@ var BancardRedirectEcComponent = /** @class */ (function (_super) {
|
|
|
15073
15121
|
{ type: ActivatedRoute },
|
|
15074
15122
|
{ type: DomSanitizer }
|
|
15075
15123
|
]; };
|
|
15076
|
-
__decorate$
|
|
15124
|
+
__decorate$1B([
|
|
15077
15125
|
Input()
|
|
15078
15126
|
], BancardRedirectEcComponent.prototype, "method", void 0);
|
|
15079
|
-
__decorate$
|
|
15127
|
+
__decorate$1B([
|
|
15080
15128
|
Input()
|
|
15081
15129
|
], BancardRedirectEcComponent.prototype, "total_amount", void 0);
|
|
15082
|
-
__decorate$
|
|
15130
|
+
__decorate$1B([
|
|
15083
15131
|
Input()
|
|
15084
15132
|
], BancardRedirectEcComponent.prototype, "user_data", void 0);
|
|
15085
|
-
__decorate$
|
|
15133
|
+
__decorate$1B([
|
|
15086
15134
|
Input()
|
|
15087
15135
|
], BancardRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15088
|
-
__decorate$
|
|
15136
|
+
__decorate$1B([
|
|
15089
15137
|
Input()
|
|
15090
15138
|
], BancardRedirectEcComponent.prototype, "allData", void 0);
|
|
15091
|
-
__decorate$
|
|
15139
|
+
__decorate$1B([
|
|
15092
15140
|
Output()
|
|
15093
15141
|
], BancardRedirectEcComponent.prototype, "ready", void 0);
|
|
15094
|
-
BancardRedirectEcComponent = __decorate$
|
|
15142
|
+
BancardRedirectEcComponent = __decorate$1B([
|
|
15095
15143
|
Component({
|
|
15096
15144
|
selector: 'app-bancard-redirect-ec',
|
|
15097
15145
|
template: "<div class=\"text-center\">\r\n <h4>Continuar con el pago con Bancard</h4>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"url;else loadingUrl\">\r\n <ng-container *ngIf=\"!loading;else loadingTemp\">\r\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary comprar\">Pagar</button>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingTemp>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <h3>Procesando el pago por Bancard</h3>\r\n <h5>Recuerde hacer click en \"Finalizar\" desde Bancard para finalizar la compra.</h5>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n <div class=\"col-2 text-center\">\r\n <label for=\"\">o</label>\r\n </div>\r\n <div class=\"col-5\">\r\n <hr>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\r\n </div>\r\n</ng-template>",
|
|
@@ -15125,7 +15173,7 @@ var __assign$q = (this && this.__assign) || function () {
|
|
|
15125
15173
|
};
|
|
15126
15174
|
return __assign$q.apply(this, arguments);
|
|
15127
15175
|
};
|
|
15128
|
-
var __decorate$
|
|
15176
|
+
var __decorate$1C = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15129
15177
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15130
15178
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15131
15179
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15186,10 +15234,10 @@ var SelectChannelEcComponent = /** @class */ (function (_super) {
|
|
|
15186
15234
|
{ type: BsModalService },
|
|
15187
15235
|
{ type: Router }
|
|
15188
15236
|
]; };
|
|
15189
|
-
__decorate$
|
|
15237
|
+
__decorate$1C([
|
|
15190
15238
|
ViewChild('template')
|
|
15191
15239
|
], SelectChannelEcComponent.prototype, "template", void 0);
|
|
15192
|
-
SelectChannelEcComponent = __decorate$
|
|
15240
|
+
SelectChannelEcComponent = __decorate$1C([
|
|
15193
15241
|
Component({
|
|
15194
15242
|
selector: 'select-channel-ec',
|
|
15195
15243
|
template: "<ng-template #template>\r\n <div class=\"modal-content\" id=\"modalChanel\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title w-100 text-center text-uppercase\">{{ 'select-channel' | translate }}</h5>\r\n </div>\r\n <div class=\"modal-body px-4\">\r\n <div class=\"card p-3 my-2 bg-light\" *ngFor=\"let item of channels; let i = index\">\r\n <div class=\"form-check\">\r\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'n-'+i\" [id]=\"i\" [checked]=\"item.selected\" (click)=\"setSelect(item)\">\r\n <h5 class=\"form-check-label\" role=\"button\" (click)=\"setSelect(item)\">{{ 'channel' | translate }}: {{ item.name }}</h5>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row\" *ngFor=\"let item of channels; let i = index\">\r\n <div class=\"col-1\">\r\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'n-'+i\" [id]=\"i\" [checked]=\"item.selected\"\r\n (click)=\"setSelect(item)\">\r\n </div>\r\n <div class=\"col-11\">\r\n <h5 role=\"button\" (click)=\"setSelect(item)\">{{ 'channel' | translate }}: {{ item.name }}</h5>\r\n </div>\r\n </div> -->\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-primary px-3 py-2\" (click)=\"setChannel()\">{{ 'continue' | translate }}</button>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -15213,7 +15261,7 @@ var __extends$12 = (this && this.__extends) || (function () {
|
|
|
15213
15261
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15214
15262
|
};
|
|
15215
15263
|
})();
|
|
15216
|
-
var __decorate$
|
|
15264
|
+
var __decorate$1D = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15217
15265
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15218
15266
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15219
15267
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15266,7 +15314,7 @@ var CartLoadEcComponent = /** @class */ (function (_super) {
|
|
|
15266
15314
|
{ type: CheckoutService },
|
|
15267
15315
|
{ type: CartService }
|
|
15268
15316
|
]; };
|
|
15269
|
-
CartLoadEcComponent = __decorate$
|
|
15317
|
+
CartLoadEcComponent = __decorate$1D([
|
|
15270
15318
|
Component({
|
|
15271
15319
|
selector: 'app-cart-load-ec',
|
|
15272
15320
|
template: "<div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col align-self-center\">\r\n <h4 class=\"titpage center-block text-center font-nexa font-lg my-3\">{{ 'retrieve-cart' | translate | uppercase }}</h4>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col align-self-center mt-2\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
@@ -15276,7 +15324,7 @@ var CartLoadEcComponent = /** @class */ (function (_super) {
|
|
|
15276
15324
|
return CartLoadEcComponent;
|
|
15277
15325
|
}(ComponentHelper));
|
|
15278
15326
|
|
|
15279
|
-
var __decorate$
|
|
15327
|
+
var __decorate$1E = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15280
15328
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15281
15329
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15282
15330
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15424,28 +15472,28 @@ var MagnizoomComponent = /** @class */ (function () {
|
|
|
15424
15472
|
event.preventDefault();
|
|
15425
15473
|
event.stopPropagation();
|
|
15426
15474
|
};
|
|
15427
|
-
__decorate$
|
|
15475
|
+
__decorate$1E([
|
|
15428
15476
|
Input()
|
|
15429
15477
|
], MagnizoomComponent.prototype, "ImageSrc", null);
|
|
15430
|
-
__decorate$
|
|
15478
|
+
__decorate$1E([
|
|
15431
15479
|
Input()
|
|
15432
15480
|
], MagnizoomComponent.prototype, "zoomMode", void 0);
|
|
15433
|
-
__decorate$
|
|
15481
|
+
__decorate$1E([
|
|
15434
15482
|
Input()
|
|
15435
15483
|
], MagnizoomComponent.prototype, "minZoomFactor", void 0);
|
|
15436
|
-
__decorate$
|
|
15484
|
+
__decorate$1E([
|
|
15437
15485
|
Input()
|
|
15438
15486
|
], MagnizoomComponent.prototype, "maxZoomFactor", void 0);
|
|
15439
|
-
__decorate$
|
|
15487
|
+
__decorate$1E([
|
|
15440
15488
|
Input()
|
|
15441
15489
|
], MagnizoomComponent.prototype, "imageStyle", void 0);
|
|
15442
|
-
__decorate$
|
|
15490
|
+
__decorate$1E([
|
|
15443
15491
|
Input()
|
|
15444
15492
|
], MagnizoomComponent.prototype, "imageClass", void 0);
|
|
15445
|
-
__decorate$
|
|
15493
|
+
__decorate$1E([
|
|
15446
15494
|
ViewChild('mainCanvas', { static: true })
|
|
15447
15495
|
], MagnizoomComponent.prototype, "mainCanvasRef", void 0);
|
|
15448
|
-
MagnizoomComponent = __decorate$
|
|
15496
|
+
MagnizoomComponent = __decorate$1E([
|
|
15449
15497
|
Component({
|
|
15450
15498
|
selector: '[app-magnizoom-ec]',
|
|
15451
15499
|
template: "<canvas #mainCanvas\r\n class=\"main-canvas\"\r\n [ngClass]=\"imageClass\"\r\n [ngStyle]=\"imageStyle\"\r\n [width]=\"canvasWidth\"\r\n [height]=\"canvasHeight\"\r\n (mouseleave)=\"onMouseLeave($event)\"\r\n (mouseenter)=\"onMouseEnterOrMove($event)\"\r\n (mousemove)=\"onMouseEnterOrMove($event)\"\r\n (wheel)=\"onMouseScroll($event)\">\r\n</canvas>\r\n",
|
|
@@ -15468,7 +15516,7 @@ var __extends$13 = (this && this.__extends) || (function () {
|
|
|
15468
15516
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15469
15517
|
};
|
|
15470
15518
|
})();
|
|
15471
|
-
var __decorate$
|
|
15519
|
+
var __decorate$1F = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15472
15520
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15473
15521
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15474
15522
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15532,19 +15580,19 @@ var MultipleItemsToCartEcComponent = /** @class */ (function (_super) {
|
|
|
15532
15580
|
{ type: CartService },
|
|
15533
15581
|
{ type: ToastService }
|
|
15534
15582
|
]; };
|
|
15535
|
-
__decorate$
|
|
15583
|
+
__decorate$1F([
|
|
15536
15584
|
Input()
|
|
15537
15585
|
], MultipleItemsToCartEcComponent.prototype, "product", void 0);
|
|
15538
|
-
__decorate$
|
|
15586
|
+
__decorate$1F([
|
|
15539
15587
|
Input()
|
|
15540
15588
|
], MultipleItemsToCartEcComponent.prototype, "objectWithVariant", void 0);
|
|
15541
|
-
__decorate$
|
|
15589
|
+
__decorate$1F([
|
|
15542
15590
|
Output()
|
|
15543
15591
|
], MultipleItemsToCartEcComponent.prototype, "totalCostItems", void 0);
|
|
15544
|
-
__decorate$
|
|
15592
|
+
__decorate$1F([
|
|
15545
15593
|
Output()
|
|
15546
15594
|
], MultipleItemsToCartEcComponent.prototype, "totalItems", void 0);
|
|
15547
|
-
MultipleItemsToCartEcComponent = __decorate$
|
|
15595
|
+
MultipleItemsToCartEcComponent = __decorate$1F([
|
|
15548
15596
|
Component({
|
|
15549
15597
|
selector: 'app-multiple-items-to-cart-ec',
|
|
15550
15598
|
template: "<table class=\"table table-hover tablas tabla-curva\">\r\n <thead>\r\n <tr>\r\n <th scope=\"col\">Curva</th>\r\n <th *ngFor=\"let item of optionsProductForVariant()\" scope=\"col\">{{item.currentOption?.code}}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"allWithoutTracking()\">\r\n <tr>\r\n <td>Stock</td>\r\n <th *ngFor=\"let item of optionsProductForVariant()\" scope=\"col\">{{(item.currentOption?.stock == 9999)? 'N/A' : item.currentOption?.stock }}</th>\r\n </tr>\r\n </ng-container>\r\n <tr>\r\n <td></td>\r\n <td *ngFor=\"let item of optionsProductForVariant()\">\r\n <div class=\"text-center\">\r\n <input class=\"form-control form-control-sm in-curva\"\r\n (keypress)=\"consts.inputValidationByExpressions($event,'[0-9]{1,9}', condition(inputValue.value,item) )\" #inputValue \r\n (keyup)=\"setQuantity(inputValue.value,item)\" [max]=\"item.currentOption?.stock\" min=\"0\" type=\"text\"\r\n [value]=\"item?.productToCartItem?.quantity || 0\" id=\"\">\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n<ng-template #loading>\r\n <div class=\"col-12 align-items-center\">\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -15554,7 +15602,7 @@ var MultipleItemsToCartEcComponent = /** @class */ (function (_super) {
|
|
|
15554
15602
|
return MultipleItemsToCartEcComponent;
|
|
15555
15603
|
}(ComponentHelper));
|
|
15556
15604
|
|
|
15557
|
-
var __decorate$
|
|
15605
|
+
var __decorate$1G = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15558
15606
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15559
15607
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15560
15608
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15667,7 +15715,7 @@ var CaptchaService = /** @class */ (function () {
|
|
|
15667
15715
|
{ type: ParametersService }
|
|
15668
15716
|
]; };
|
|
15669
15717
|
CaptchaService$1.ɵprov = ɵɵdefineInjectable({ factory: function CaptchaService_Factory() { return new CaptchaService(ɵɵinject(Constants), ɵɵinject(ConnectionService), ɵɵinject(HttpClient), ɵɵinject(ParametersService)); }, token: CaptchaService, providedIn: "root" });
|
|
15670
|
-
CaptchaService$1 = __decorate$
|
|
15718
|
+
CaptchaService$1 = __decorate$1G([
|
|
15671
15719
|
Injectable({
|
|
15672
15720
|
providedIn: 'root'
|
|
15673
15721
|
})
|
|
@@ -15675,7 +15723,7 @@ var CaptchaService = /** @class */ (function () {
|
|
|
15675
15723
|
return CaptchaService$1;
|
|
15676
15724
|
}());
|
|
15677
15725
|
|
|
15678
|
-
var __decorate$
|
|
15726
|
+
var __decorate$1H = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15679
15727
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15680
15728
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15681
15729
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15709,13 +15757,13 @@ var RecaptchaEcComponent = /** @class */ (function () {
|
|
|
15709
15757
|
RecaptchaEcComponent.ctorParameters = function () { return [
|
|
15710
15758
|
{ type: CaptchaService }
|
|
15711
15759
|
]; };
|
|
15712
|
-
__decorate$
|
|
15760
|
+
__decorate$1H([
|
|
15713
15761
|
Input()
|
|
15714
15762
|
], RecaptchaEcComponent.prototype, "form", void 0);
|
|
15715
|
-
__decorate$
|
|
15763
|
+
__decorate$1H([
|
|
15716
15764
|
Input()
|
|
15717
15765
|
], RecaptchaEcComponent.prototype, "siteKey", void 0);
|
|
15718
|
-
RecaptchaEcComponent = __decorate$
|
|
15766
|
+
RecaptchaEcComponent = __decorate$1H([
|
|
15719
15767
|
Component({
|
|
15720
15768
|
selector: 're-captcha-ec',
|
|
15721
15769
|
template: "<ng-container *ngIf=\"captcha.siteKey; else loading\">\r\n <re-captcha (resolved)=\"resolved($event)\" siteKey=\"{{captcha.siteKey}}\" [formControl]=\"form.controls['captcha']\">\r\n </re-captcha>\r\n</ng-container>\r\n<ng-template #loading>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</ng-template>",
|
|
@@ -15738,7 +15786,7 @@ var __extends$14 = (this && this.__extends) || (function () {
|
|
|
15738
15786
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15739
15787
|
};
|
|
15740
15788
|
})();
|
|
15741
|
-
var __decorate$
|
|
15789
|
+
var __decorate$1I = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15742
15790
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15743
15791
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15744
15792
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15873,28 +15921,28 @@ var DecidirEcComponent = /** @class */ (function (_super) {
|
|
|
15873
15921
|
{ type: ParametersService },
|
|
15874
15922
|
{ type: CheckoutService }
|
|
15875
15923
|
]; };
|
|
15876
|
-
__decorate$
|
|
15924
|
+
__decorate$1I([
|
|
15877
15925
|
Input()
|
|
15878
15926
|
], DecidirEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15879
|
-
__decorate$
|
|
15927
|
+
__decorate$1I([
|
|
15880
15928
|
Input()
|
|
15881
15929
|
], DecidirEcComponent.prototype, "method", void 0);
|
|
15882
|
-
__decorate$
|
|
15930
|
+
__decorate$1I([
|
|
15883
15931
|
Input()
|
|
15884
15932
|
], DecidirEcComponent.prototype, "total_amount", void 0);
|
|
15885
|
-
__decorate$
|
|
15933
|
+
__decorate$1I([
|
|
15886
15934
|
Input()
|
|
15887
15935
|
], DecidirEcComponent.prototype, "allData", void 0);
|
|
15888
|
-
__decorate$
|
|
15936
|
+
__decorate$1I([
|
|
15889
15937
|
Input()
|
|
15890
15938
|
], DecidirEcComponent.prototype, "user_data", void 0);
|
|
15891
|
-
__decorate$
|
|
15939
|
+
__decorate$1I([
|
|
15892
15940
|
Output()
|
|
15893
15941
|
], DecidirEcComponent.prototype, "ready", void 0);
|
|
15894
|
-
__decorate$
|
|
15942
|
+
__decorate$1I([
|
|
15895
15943
|
ViewChild('template')
|
|
15896
15944
|
], DecidirEcComponent.prototype, "template", void 0);
|
|
15897
|
-
DecidirEcComponent = __decorate$
|
|
15945
|
+
DecidirEcComponent = __decorate$1I([
|
|
15898
15946
|
Component({
|
|
15899
15947
|
selector: 'app-decidir-ec',
|
|
15900
15948
|
template: "<div class=\"text-center\">\r\n <h3>Continuar con el pago en Decidir</h3>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"!loading; else loadingUrl\">\r\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header border-none justify-content-end px-1\">\r\n <button type=\"button\" class=\"btn bg-none\" (click)=\"clickClose()\">\r\n X \r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"modal-body\">\r\n <iframe #iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>\r\n",
|
|
@@ -15905,7 +15953,7 @@ var DecidirEcComponent = /** @class */ (function (_super) {
|
|
|
15905
15953
|
return DecidirEcComponent;
|
|
15906
15954
|
}(ComponentHelper));
|
|
15907
15955
|
|
|
15908
|
-
var __decorate$
|
|
15956
|
+
var __decorate$1J = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15909
15957
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15910
15958
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15911
15959
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16052,7 +16100,7 @@ var ConcatenatedAssociationsService = /** @class */ (function () {
|
|
|
16052
16100
|
{ type: ConnectionService }
|
|
16053
16101
|
]; };
|
|
16054
16102
|
ConcatenatedAssociationsService$1.ɵprov = ɵɵdefineInjectable({ factory: function ConcatenatedAssociationsService_Factory() { return new ConcatenatedAssociationsService(ɵɵinject(Constants), ɵɵinject(ConnectionService)); }, token: ConcatenatedAssociationsService, providedIn: "root" });
|
|
16055
|
-
ConcatenatedAssociationsService$1 = __decorate$
|
|
16103
|
+
ConcatenatedAssociationsService$1 = __decorate$1J([
|
|
16056
16104
|
Injectable({
|
|
16057
16105
|
providedIn: 'root'
|
|
16058
16106
|
})
|
|
@@ -16073,7 +16121,7 @@ var __extends$15 = (this && this.__extends) || (function () {
|
|
|
16073
16121
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16074
16122
|
};
|
|
16075
16123
|
})();
|
|
16076
|
-
var __decorate$
|
|
16124
|
+
var __decorate$1K = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16077
16125
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16078
16126
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16079
16127
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16366,7 +16414,7 @@ var BuildYourEcComponent = /** @class */ (function (_super) {
|
|
|
16366
16414
|
{ type: CartService },
|
|
16367
16415
|
{ type: Router }
|
|
16368
16416
|
]; };
|
|
16369
|
-
BuildYourEcComponent = __decorate$
|
|
16417
|
+
BuildYourEcComponent = __decorate$1K([
|
|
16370
16418
|
Component({
|
|
16371
16419
|
selector: 'app-build-your-ec',
|
|
16372
16420
|
template: "<p>\r\n build-your-ec works!\r\n</p>\r\n",
|
|
@@ -16400,7 +16448,7 @@ var __assign$r = (this && this.__assign) || function () {
|
|
|
16400
16448
|
};
|
|
16401
16449
|
return __assign$r.apply(this, arguments);
|
|
16402
16450
|
};
|
|
16403
|
-
var __decorate$
|
|
16451
|
+
var __decorate$1L = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16404
16452
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16405
16453
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16406
16454
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16462,10 +16510,10 @@ var ProductFoundEcComponent = /** @class */ (function (_super) {
|
|
|
16462
16510
|
{ type: Router },
|
|
16463
16511
|
{ type: ToastService }
|
|
16464
16512
|
]; };
|
|
16465
|
-
__decorate$
|
|
16513
|
+
__decorate$1L([
|
|
16466
16514
|
Input()
|
|
16467
16515
|
], ProductFoundEcComponent.prototype, "product", void 0);
|
|
16468
|
-
ProductFoundEcComponent = __decorate$
|
|
16516
|
+
ProductFoundEcComponent = __decorate$1L([
|
|
16469
16517
|
Component({
|
|
16470
16518
|
selector: 'app-product-found-ec',
|
|
16471
16519
|
template: "<p>\r\n product-found works!\r\n</p>\r\n",
|
|
@@ -16489,7 +16537,7 @@ var __extends$17 = (this && this.__extends) || (function () {
|
|
|
16489
16537
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16490
16538
|
};
|
|
16491
16539
|
})();
|
|
16492
|
-
var __decorate$
|
|
16540
|
+
var __decorate$1M = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16493
16541
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16494
16542
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16495
16543
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16653,22 +16701,22 @@ var ComparedProductsEcComponent = /** @class */ (function (_super) {
|
|
|
16653
16701
|
{ type: Constants },
|
|
16654
16702
|
{ type: Router }
|
|
16655
16703
|
]; };
|
|
16656
|
-
__decorate$
|
|
16704
|
+
__decorate$1M([
|
|
16657
16705
|
Input()
|
|
16658
16706
|
], ComparedProductsEcComponent.prototype, "product_id", void 0);
|
|
16659
|
-
__decorate$
|
|
16707
|
+
__decorate$1M([
|
|
16660
16708
|
Input()
|
|
16661
16709
|
], ComparedProductsEcComponent.prototype, "emptyValue", void 0);
|
|
16662
|
-
__decorate$
|
|
16710
|
+
__decorate$1M([
|
|
16663
16711
|
Input()
|
|
16664
16712
|
], ComparedProductsEcComponent.prototype, "classes", void 0);
|
|
16665
|
-
__decorate$
|
|
16713
|
+
__decorate$1M([
|
|
16666
16714
|
Input()
|
|
16667
16715
|
], ComparedProductsEcComponent.prototype, "setSize", null);
|
|
16668
|
-
__decorate$
|
|
16716
|
+
__decorate$1M([
|
|
16669
16717
|
Output()
|
|
16670
16718
|
], ComparedProductsEcComponent.prototype, "error", void 0);
|
|
16671
|
-
ComparedProductsEcComponent = __decorate$
|
|
16719
|
+
ComparedProductsEcComponent = __decorate$1M([
|
|
16672
16720
|
Component({
|
|
16673
16721
|
selector: 'app-compared-products-ec',
|
|
16674
16722
|
template: "<ng-container *ngIf=\"!loading; else loadingView\">\r\n <ng-container *ngIf=\"comparedProducts && comparedProducts.length\">\r\n <div [class]=\"'table-responsive'+size\">\r\n <table id=\"table\" [class]=\"'table '+classes\">\r\n <thead id=\"thead\">\r\n <tr class=\"thead-tr\">\r\n <th class=\"thead-tr-th\" scope=\"col\"></th>\r\n <th class=\"thead-tr-th\" *ngFor=\"let product of comparedProducts\" scope=\"col\">{{product.id}}</th>\r\n </tr>\r\n </thead>\r\n <tbody id=\"tbody\">\r\n <tr *ngFor=\"let row of matrixComparedProducts | keyvalue\" class=\"tbody-tr\">\r\n <th class=\"tbody-tr-th\" scope=\"row\">{{attributes[row.key].name}}</th>\r\n <td class=\"tbody-tr-td\" *ngFor=\"let col of row.value\">\r\n <ul>\r\n <li *ngFor=\"let item of col.values\">\r\n {{ item.name }}\r\n </li>\r\n </ul>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-container>\r\n</ng-container>\r\n<ng-template #loadingView>\r\n <div class=\"w-100 h-50 py-5\">\r\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n </div>\r\n</ng-template>",
|
|
@@ -16691,7 +16739,7 @@ var __extends$18 = (this && this.__extends) || (function () {
|
|
|
16691
16739
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16692
16740
|
};
|
|
16693
16741
|
})();
|
|
16694
|
-
var __decorate$
|
|
16742
|
+
var __decorate$1N = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16695
16743
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16696
16744
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16697
16745
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16714,25 +16762,25 @@ var StepEcComponent = /** @class */ (function (_super) {
|
|
|
16714
16762
|
{ type: CheckoutService },
|
|
16715
16763
|
{ type: AnalyticsService }
|
|
16716
16764
|
]; };
|
|
16717
|
-
__decorate$
|
|
16765
|
+
__decorate$1N([
|
|
16718
16766
|
Input()
|
|
16719
16767
|
], StepEcComponent.prototype, "lastStep", void 0);
|
|
16720
|
-
__decorate$
|
|
16768
|
+
__decorate$1N([
|
|
16721
16769
|
Input()
|
|
16722
16770
|
], StepEcComponent.prototype, "previousStep", void 0);
|
|
16723
|
-
__decorate$
|
|
16771
|
+
__decorate$1N([
|
|
16724
16772
|
Input()
|
|
16725
16773
|
], StepEcComponent.prototype, "step_id", void 0);
|
|
16726
|
-
__decorate$
|
|
16774
|
+
__decorate$1N([
|
|
16727
16775
|
Input()
|
|
16728
16776
|
], StepEcComponent.prototype, "nextStep", void 0);
|
|
16729
|
-
__decorate$
|
|
16777
|
+
__decorate$1N([
|
|
16730
16778
|
Input()
|
|
16731
16779
|
], StepEcComponent.prototype, "goBack", void 0);
|
|
16732
|
-
__decorate$
|
|
16780
|
+
__decorate$1N([
|
|
16733
16781
|
Input()
|
|
16734
16782
|
], StepEcComponent.prototype, "id_step", void 0);
|
|
16735
|
-
StepEcComponent = __decorate$
|
|
16783
|
+
StepEcComponent = __decorate$1N([
|
|
16736
16784
|
Component({
|
|
16737
16785
|
selector: 'app-step-ec',
|
|
16738
16786
|
template: "<ng-container [ngSwitch]=\"step_id\">\r\n\r\n <ng-container *ngSwitchCase=\"1\">\r\n <app-dataform-ec [step_id]=\"id_step\" [isLastOne]=\"lastStep\" [nextStep]=\"nextStep\">\r\n </app-dataform-ec>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"2\">\r\n <ng-container *ngIf=\"isStepReady('address')\">\r\n <app-shipment-ec [step_id]=\"id_step\">\r\n </app-shipment-ec>\r\n <div class=\"checkout-btn-container mt-2\">\r\n <button class=\"btn valid-btn\" (click)=\"goBack()\">{{'back'|translate}}</button>\r\n <ng-container *ngIf=\"(checkoutService.order$ | async) as order\">\r\n <button *ngIf=\"isStepReady('shipment')\" (click)=\"nextStep()\"\r\n class=\"btn valid-btn float-end\" (click)=\"metodoEnvio(order)\">{{ (lastStep ? 'finish-checkout' : 'ready-form') |translate}}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"3\">\r\n <ng-container *ngIf=\"isStepReady(previousStep)\">\r\n <app-payment-ec [step_id]=\"id_step\">\r\n </app-payment-ec>\r\n <div class=\"checkout-btn-container mt-2\">\r\n <button class=\"btn valid-btn\"\r\n (click)=\"goBack()\">{{'back'|translate}}</button>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n</ng-container>\r\n",
|
|
@@ -16742,7 +16790,7 @@ var StepEcComponent = /** @class */ (function (_super) {
|
|
|
16742
16790
|
return StepEcComponent;
|
|
16743
16791
|
}(ComponentHelper));
|
|
16744
16792
|
|
|
16745
|
-
var __decorate$
|
|
16793
|
+
var __decorate$1O = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16746
16794
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16747
16795
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16748
16796
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16863,25 +16911,25 @@ var CulqiEcComponent = /** @class */ (function () {
|
|
|
16863
16911
|
{ type: ConnectionService },
|
|
16864
16912
|
{ type: ParametersService }
|
|
16865
16913
|
]; };
|
|
16866
|
-
__decorate$
|
|
16914
|
+
__decorate$1O([
|
|
16867
16915
|
Input()
|
|
16868
16916
|
], CulqiEcComponent.prototype, "amount", void 0);
|
|
16869
|
-
__decorate$
|
|
16917
|
+
__decorate$1O([
|
|
16870
16918
|
Input()
|
|
16871
16919
|
], CulqiEcComponent.prototype, "apiKey", void 0);
|
|
16872
|
-
__decorate$
|
|
16920
|
+
__decorate$1O([
|
|
16873
16921
|
Input()
|
|
16874
16922
|
], CulqiEcComponent.prototype, "method", void 0);
|
|
16875
|
-
__decorate$
|
|
16923
|
+
__decorate$1O([
|
|
16876
16924
|
Input()
|
|
16877
16925
|
], CulqiEcComponent.prototype, "customStyle", void 0);
|
|
16878
|
-
__decorate$
|
|
16926
|
+
__decorate$1O([
|
|
16879
16927
|
Output()
|
|
16880
16928
|
], CulqiEcComponent.prototype, "ready", void 0);
|
|
16881
|
-
__decorate$
|
|
16929
|
+
__decorate$1O([
|
|
16882
16930
|
ViewChild('formContainer')
|
|
16883
16931
|
], CulqiEcComponent.prototype, "anchor", void 0);
|
|
16884
|
-
CulqiEcComponent = __decorate$
|
|
16932
|
+
CulqiEcComponent = __decorate$1O([
|
|
16885
16933
|
Component({
|
|
16886
16934
|
selector: 'app-culqi-ec',
|
|
16887
16935
|
template: "<div class=\"text-center\">\r\n <h3 *ngIf=\"method && method?.name\">{{method.name}}</h3>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <form action=\"javascript:void(0)\" #formContainer></form>\r\n <button *ngIf=\"loaded; else loading\" (click)=\"open()\" class=\"comprar\">Pagar</button>\r\n</div>\r\n\r\n\r\n<ng-template #loading>\r\n <app-loading-full-ec></app-loading-full-ec>\r\n</ng-template>",
|
|
@@ -16904,7 +16952,7 @@ var __extends$19 = (this && this.__extends) || (function () {
|
|
|
16904
16952
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16905
16953
|
};
|
|
16906
16954
|
})();
|
|
16907
|
-
var __decorate$
|
|
16955
|
+
var __decorate$1P = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16908
16956
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16909
16957
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16910
16958
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16969,16 +17017,16 @@ var RatingEcComponent = /** @class */ (function (_super) {
|
|
|
16969
17017
|
RatingEcComponent.prototype.ngOnInit = function () {
|
|
16970
17018
|
this.ratingValue ? this.processRatingValue(this.ratingValue) : null;
|
|
16971
17019
|
};
|
|
16972
|
-
__decorate$
|
|
17020
|
+
__decorate$1P([
|
|
16973
17021
|
Input()
|
|
16974
17022
|
], RatingEcComponent.prototype, "template", void 0);
|
|
16975
|
-
__decorate$
|
|
17023
|
+
__decorate$1P([
|
|
16976
17024
|
Input()
|
|
16977
17025
|
], RatingEcComponent.prototype, "type", void 0);
|
|
16978
|
-
__decorate$
|
|
17026
|
+
__decorate$1P([
|
|
16979
17027
|
Input()
|
|
16980
17028
|
], RatingEcComponent.prototype, "ratingValue", void 0);
|
|
16981
|
-
RatingEcComponent = __decorate$
|
|
17029
|
+
RatingEcComponent = __decorate$1P([
|
|
16982
17030
|
Component({
|
|
16983
17031
|
selector: 'app-rating-ec',
|
|
16984
17032
|
template: "<ng-container [ngSwitch]=\"type\">\r\n <ng-template #stars let-score=\"score\">\r\n <ng-container *ngFor=\"let value of score\">\r\n <ng-container [ngSwitch]=\"value\">\r\n <i *ngSwitchCase=\"1\" class=\"me-1 bi bi-star-fill text-warning star\"></i>\r\n <i *ngSwitchCase=\"0.5\" class=\"me-1 bi bi-star-half text-warning star\"></i>\r\n <i *ngSwitchCase=\"0\" class=\"me-1 bi bi-star text-muted star\"></i>\r\n </ng-container>\r\n </ng-container>\r\n </ng-template>\r\n <ng-container *ngSwitchCase=\"'stars'\"\r\n [ngTemplateOutlet]=\"template ? template : stars\"\r\n [ngTemplateOutletContext]=\"{score:score, ratingValue:ratingValue}\">\r\n </ng-container>\r\n</ng-container>\r\n",
|
|
@@ -16988,7 +17036,7 @@ var RatingEcComponent = /** @class */ (function (_super) {
|
|
|
16988
17036
|
return RatingEcComponent;
|
|
16989
17037
|
}(ComponentHelper));
|
|
16990
17038
|
|
|
16991
|
-
var __decorate$
|
|
17039
|
+
var __decorate$1Q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16992
17040
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16993
17041
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16994
17042
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17087,7 +17135,7 @@ var ReviewsService = /** @class */ (function () {
|
|
|
17087
17135
|
{ type: PaginationService }
|
|
17088
17136
|
]; };
|
|
17089
17137
|
ReviewsService$1.ɵprov = ɵɵdefineInjectable({ factory: function ReviewsService_Factory() { return new ReviewsService(ɵɵinject(ConnectionService), ɵɵinject(Constants), ɵɵinject(PaginationService)); }, token: ReviewsService, providedIn: "root" });
|
|
17090
|
-
ReviewsService$1 = __decorate$
|
|
17138
|
+
ReviewsService$1 = __decorate$1Q([
|
|
17091
17139
|
Injectable({
|
|
17092
17140
|
providedIn: 'root'
|
|
17093
17141
|
})
|
|
@@ -17108,7 +17156,7 @@ var __extends$1a = (this && this.__extends) || (function () {
|
|
|
17108
17156
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17109
17157
|
};
|
|
17110
17158
|
})();
|
|
17111
|
-
var __decorate$
|
|
17159
|
+
var __decorate$1R = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17112
17160
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17113
17161
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17114
17162
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17218,19 +17266,19 @@ var ReviewsFormEcComponent = /** @class */ (function (_super) {
|
|
|
17218
17266
|
{ type: AuthService },
|
|
17219
17267
|
{ type: ReviewsService }
|
|
17220
17268
|
]; };
|
|
17221
|
-
__decorate$
|
|
17269
|
+
__decorate$1R([
|
|
17222
17270
|
Input()
|
|
17223
17271
|
], ReviewsFormEcComponent.prototype, "product", void 0);
|
|
17224
|
-
__decorate$
|
|
17272
|
+
__decorate$1R([
|
|
17225
17273
|
Input()
|
|
17226
17274
|
], ReviewsFormEcComponent.prototype, "withAuthenticated", void 0);
|
|
17227
|
-
__decorate$
|
|
17275
|
+
__decorate$1R([
|
|
17228
17276
|
Input()
|
|
17229
17277
|
], ReviewsFormEcComponent.prototype, "max", void 0);
|
|
17230
|
-
__decorate$
|
|
17278
|
+
__decorate$1R([
|
|
17231
17279
|
Output()
|
|
17232
17280
|
], ReviewsFormEcComponent.prototype, "ready", void 0);
|
|
17233
|
-
ReviewsFormEcComponent = __decorate$
|
|
17281
|
+
ReviewsFormEcComponent = __decorate$1R([
|
|
17234
17282
|
Component({
|
|
17235
17283
|
selector: 'app-reviews-form-ec',
|
|
17236
17284
|
template: "<p>\r\n reviews-form-ec works!\r\n</p>\r\n",
|
|
@@ -17253,7 +17301,7 @@ var __extends$1b = (this && this.__extends) || (function () {
|
|
|
17253
17301
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17254
17302
|
};
|
|
17255
17303
|
})();
|
|
17256
|
-
var __decorate$
|
|
17304
|
+
var __decorate$1S = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17257
17305
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17258
17306
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17259
17307
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17307,10 +17355,10 @@ var ReviewsEcComponent = /** @class */ (function (_super) {
|
|
|
17307
17355
|
{ type: ReviewsService },
|
|
17308
17356
|
{ type: Constants }
|
|
17309
17357
|
]; };
|
|
17310
|
-
__decorate$
|
|
17358
|
+
__decorate$1S([
|
|
17311
17359
|
Input()
|
|
17312
17360
|
], ReviewsEcComponent.prototype, "product", void 0);
|
|
17313
|
-
ReviewsEcComponent = __decorate$
|
|
17361
|
+
ReviewsEcComponent = __decorate$1S([
|
|
17314
17362
|
Component({
|
|
17315
17363
|
selector: 'app-reviews-ec',
|
|
17316
17364
|
template: "<p>\r\n reviews-ec works!\r\n</p>\r\n",
|
|
@@ -17333,7 +17381,7 @@ var __extends$1c = (this && this.__extends) || (function () {
|
|
|
17333
17381
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17334
17382
|
};
|
|
17335
17383
|
})();
|
|
17336
|
-
var __decorate$
|
|
17384
|
+
var __decorate$1T = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17337
17385
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17338
17386
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17339
17387
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17594,28 +17642,28 @@ var BancardCatastroEcComponent = /** @class */ (function (_super) {
|
|
|
17594
17642
|
{ type: ChangeDetectorRef },
|
|
17595
17643
|
{ type: Renderer2 }
|
|
17596
17644
|
]; };
|
|
17597
|
-
__decorate$
|
|
17645
|
+
__decorate$1T([
|
|
17598
17646
|
Input()
|
|
17599
17647
|
], BancardCatastroEcComponent.prototype, "paymentServiceInst", void 0);
|
|
17600
|
-
__decorate$
|
|
17648
|
+
__decorate$1T([
|
|
17601
17649
|
Input()
|
|
17602
17650
|
], BancardCatastroEcComponent.prototype, "method", void 0);
|
|
17603
|
-
__decorate$
|
|
17651
|
+
__decorate$1T([
|
|
17604
17652
|
Input()
|
|
17605
17653
|
], BancardCatastroEcComponent.prototype, "total_amount", void 0);
|
|
17606
|
-
__decorate$
|
|
17654
|
+
__decorate$1T([
|
|
17607
17655
|
Input()
|
|
17608
17656
|
], BancardCatastroEcComponent.prototype, "allData", void 0);
|
|
17609
|
-
__decorate$
|
|
17657
|
+
__decorate$1T([
|
|
17610
17658
|
Input()
|
|
17611
17659
|
], BancardCatastroEcComponent.prototype, "user_data", void 0);
|
|
17612
|
-
__decorate$
|
|
17660
|
+
__decorate$1T([
|
|
17613
17661
|
Output()
|
|
17614
17662
|
], BancardCatastroEcComponent.prototype, "ready", void 0);
|
|
17615
|
-
__decorate$
|
|
17663
|
+
__decorate$1T([
|
|
17616
17664
|
Output()
|
|
17617
17665
|
], BancardCatastroEcComponent.prototype, "cardAdded", void 0);
|
|
17618
|
-
BancardCatastroEcComponent = __decorate$
|
|
17666
|
+
BancardCatastroEcComponent = __decorate$1T([
|
|
17619
17667
|
Component({
|
|
17620
17668
|
selector: 'app-bancard-catastro-ec',
|
|
17621
17669
|
template: "<div *ngIf=\"!loading; else loadingView\">\r\n <div class=\"row my-3\">\r\n <ng-container *ngIf=\"registered_cards && registered_cards.length > 0; else notCards\">\r\n <ng-container *ngFor=\"let card of registered_cards; let x=index\">\r\n <div class=\"col-12 col-md-6\">\r\n <div class=\"card my-2\">\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-9\">\r\n <h5 class=\"card-title\">Terminada en {{card.card_masked_number.slice(-4)}}</h5>\r\n <!-- <h6 class=\"card-subtitle mb-2 text-muted\">Card subtitle</h6> -->\r\n <!-- <p class=\"card-text\">Some quick example text to build on the card title and make up the bulk of the card's content.</p>\r\n -->\r\n <p class=\"card-text text-muted\">{{card.card_brand}}</p>\r\n <p class=\"card-text text-muted\">Vencimiento: {{card.expiration_date}}</p>\r\n </div>\r\n <div class=\"col-3 d-none d-md-flex\">\r\n <div class=\"d-flex flex-column justify-content-between align-items-center w-100\">\r\n <div class=\"d-flex justify-content-end w-100\">\r\n <a class=\"cursor-pointer text-primary\" (click)=\"deleteCard(card.card_id)\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-trash3\"\r\n viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5ZM11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H2.506a.58.58 0 0 0-.01 0H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1h-.995a.59.59 0 0 0-.01 0H11Zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5h9.916Zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47ZM8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z\" />\r\n </svg>\r\n </a>\r\n </div>\r\n <img [src]=\"getCardImg(card.card_brand)\" class=\"img-card\" />\r\n \r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-footer d-flex flex-row justify-content-end\">\r\n <ng-container *ngIf=\"!checkingPayment; else buttonLoading\">\r\n <button *ngIf=\"card.card_type == 'credit'; else debito\" class=\"btn comprar text-white\" data-bs-toggle=\"modal\"\r\n data-bs-target=\"#modalCuotas\" (click)=\"setCurrentCardID(card.card_id)\">Pagar</button>\r\n <ng-template #debito>\r\n <button class=\"btn comprar text-white\" (click)=\"toPay(card.card_id)\">Pagar</button>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #notCards>\r\n <div class=\"col-12 d-flex justify-content-center\">\r\n <h6>Usted no posee tarjetas registrada. Para continuar con este m\u00E9todo de pago por favor registre una\r\n tarjeta presionando el bot\u00F3n de <span class=\"text-decoration-underline fs-6\"> Nueva tarjeta</span>\r\n </h6>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div class=\"d-flex flex-row w-full justify-content-center\">\r\n <button class=\"btn comprar text-white\" data-bs-toggle=\"modal\" data-bs-target=\"#catastro\"\r\n (click)=\"getProcessId(); openModal()\">Nueva Tarjeta</button>\r\n </div>\r\n</div>\r\n\r\n<div class=\"modal\" tabindex=\"-1\" id=\"catastro\">\r\n <div class=\"modal-dialog\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <!-- <h5 class=\"modal-title\">Modal title</h5> -->\r\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\r\n (click)=\"closeModal()\"></button>\r\n </div>\r\n <div class=\"modal-body d-flex flex-column justify-content-center align-items-center\">\r\n <ng-container *ngIf=\"infoPreview; else iframe\">\r\n <div class=\"alert alert-warning \" role=\"alert\">\r\n <p class=\"mb-0\">Estimado usuario,</p>\r\n <p> A continuaci\u00F3n usted pasar\u00E1 por \u00FAnica vez por un proceso de\r\n validaci\u00F3n con preguntas de seguridad. Para iniciar favor tener en\r\n cuenta las siguientes recomendaciones:</p>\r\n <ol class=\"list-group list-group-numbered\">\r\n <li class=\"list-group-item list-group-item-warning\">Verifique su n\u00FAmero de c\u00E9dula de\r\n identidad</li>\r\n <li class=\"list-group-item list-group-item-warning\">Tenga a mano sus tarjetas de cr\u00E9dito y\r\n d\u00E9bito activas</li>\r\n <li class=\"list-group-item list-group-item-warning\">Verifique el monto y lugar de sus\r\n \u00FAltimas compras en\r\n comercios o extracciones en cajeros</li>\r\n </ol>\r\n </div>\r\n <div class=\"d-flex flex-row w-full justify-content-center\">\r\n <a class=\"cursor-pointer text-dark fs-xs\" (click)=\"skipInfoPreview()\">Saltar</a>\r\n </div>\r\n </ng-container>\r\n <ng-template #iframe>\r\n <iframe *ngIf=\"url; else loadingView\" [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n<!-- Modal -->\r\n<div class=\"modal fade\" id=\"modalCuotas\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-sm\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\">Elija el n\u00FAmero de cuotas</h5>\r\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <select class=\"form-select\" aria-label=\"Default select example\"\r\n (change)=\"setNumberOfPayments($event.target.value)\">\r\n <option selected disabled>Selecciones la cantidad de cuotas</option>\r\n <option value=\"1\">1 cuota</option>\r\n <option value=\"3\">3 cuotas</option>\r\n <option value=\"6\">6 cuotas</option>\r\n <option value=\"12\">12 cuotas</option>\r\n </select>\r\n </div>\r\n <div class=\"modal-footer\" *ngIf=\"canPay()\">\r\n <button type=\"button\" class=\"btn comprar text-white\" data-bs-dismiss=\"modal\"\r\n (click)=\"toPay(currentCardID)\">Pagar</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #loadingView>\r\n <div>\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #buttonLoading>\r\n <button type=\"button\" class=\"btn comprar text-white\" data-bs-dismiss=\"modal\"> \r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </button>\r\n</ng-template>",
|
|
@@ -17636,7 +17684,7 @@ var __assign$s = (this && this.__assign) || function () {
|
|
|
17636
17684
|
};
|
|
17637
17685
|
return __assign$s.apply(this, arguments);
|
|
17638
17686
|
};
|
|
17639
|
-
var __decorate$
|
|
17687
|
+
var __decorate$1U = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17640
17688
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17641
17689
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17642
17690
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17834,7 +17882,7 @@ var CookiesService = /** @class */ (function () {
|
|
|
17834
17882
|
{ type: Injector }
|
|
17835
17883
|
]; };
|
|
17836
17884
|
CookiesService.ɵprov = ɵɵdefineInjectable({ factory: function CookiesService_Factory() { return new CookiesService(ɵɵinject(INJECTOR)); }, token: CookiesService, providedIn: "root" });
|
|
17837
|
-
CookiesService = __decorate$
|
|
17885
|
+
CookiesService = __decorate$1U([
|
|
17838
17886
|
Injectable({
|
|
17839
17887
|
providedIn: 'root'
|
|
17840
17888
|
})
|
|
@@ -17855,7 +17903,7 @@ var __extends$1d = (this && this.__extends) || (function () {
|
|
|
17855
17903
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17856
17904
|
};
|
|
17857
17905
|
})();
|
|
17858
|
-
var __decorate$
|
|
17906
|
+
var __decorate$1V = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17859
17907
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17860
17908
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17861
17909
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17950,10 +17998,10 @@ var CookiesEcComponent = /** @class */ (function (_super) {
|
|
|
17950
17998
|
{ type: Constants },
|
|
17951
17999
|
{ type: CookiesService }
|
|
17952
18000
|
]; };
|
|
17953
|
-
__decorate$
|
|
18001
|
+
__decorate$1V([
|
|
17954
18002
|
Input()
|
|
17955
18003
|
], CookiesEcComponent.prototype, "templates", void 0);
|
|
17956
|
-
CookiesEcComponent = __decorate$
|
|
18004
|
+
CookiesEcComponent = __decorate$1V([
|
|
17957
18005
|
Component({
|
|
17958
18006
|
selector: 'app-cookies-ec',
|
|
17959
18007
|
template: "<ng-container *ngIf=\"ready\">\r\n <ng-container [ngSwitch]=\"cookies.format.type\">\r\n <ng-container *ngSwitchCase=\"'toast'\">\r\n <ng-template #toastEcTemplate>\r\n <app-toast-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-toast-cookies-ec>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"templates && templates.toast? templates.toast : toastEcTemplate\"\r\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'modal'\">\r\n <ng-template #modalEcTemplate>\r\n <app-modal-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-modal-cookies-ec>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"templates && templates.modal? templates.modal : modalEcTemplate\"\r\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'sidebar'\">\r\n <ng-template #sidebarEcTemplate>\r\n <app-sidebar-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-sidebar-cookies-ec>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"templates && templates.sidebar? templates.sidebar : sidebarEcTemplate\"\r\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #configEcTemplate>\r\n <app-modal-config-ec [cookies]=\"cookies\" [cookiesToSave]=\"cookiesToSave\"\r\n [cookiesFunctions]=\"cookiesFunctions\"></app-modal-config-ec>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"templates && templates.config ? templates.config : configEcTemplate\"\r\n [ngTemplateOutletContext]=\"{cookies:cookies, cookiesToSave:cookiesToSave, cookiesFunctions:cookiesFunctions}\"></ng-container>\r\n</ng-container>",
|
|
@@ -17963,7 +18011,7 @@ var CookiesEcComponent = /** @class */ (function (_super) {
|
|
|
17963
18011
|
return CookiesEcComponent;
|
|
17964
18012
|
}(ComponentHelper));
|
|
17965
18013
|
|
|
17966
|
-
var __decorate$
|
|
18014
|
+
var __decorate$1W = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17967
18015
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17968
18016
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17969
18017
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17981,13 +18029,13 @@ var SidebarCookiesEcComponent = /** @class */ (function () {
|
|
|
17981
18029
|
_this.show();
|
|
17982
18030
|
}, 2000);
|
|
17983
18031
|
};
|
|
17984
|
-
__decorate$
|
|
18032
|
+
__decorate$1W([
|
|
17985
18033
|
Input()
|
|
17986
18034
|
], SidebarCookiesEcComponent.prototype, "cookies", void 0);
|
|
17987
|
-
__decorate$
|
|
18035
|
+
__decorate$1W([
|
|
17988
18036
|
Input()
|
|
17989
18037
|
], SidebarCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
17990
|
-
SidebarCookiesEcComponent = __decorate$
|
|
18038
|
+
SidebarCookiesEcComponent = __decorate$1W([
|
|
17991
18039
|
Component({
|
|
17992
18040
|
selector: 'app-sidebar-cookies-ec',
|
|
17993
18041
|
template: "<ng-container *ngIf=\"cookies.format.position == 'start' || cookies.format.position == 'end'; else startend\">\r\n <div [class]=\"'offcanvas offcanvas-'+cookies.format.position\"\r\n [attr.data-bs-scroll]=\"(cookies.format.scrolling != undefined) ? cookies.format.scrolling : true\"\r\n [attr.data-bs-backdrop]=\"(cookies.format.backdrop != undefined) ? cookies.format.backdrop : false\" tabindex=\"-1\"\r\n id=\"offcanvasCookies\" aria-labelledby=\"offcanvasScrollingLabel\" style=\"height: 20%\">\r\n <div class=\"offcanvas-header\">\r\n <h5 *ngIf=\"cookies.title\" class=\"offcanvas-title\" id=\"offcanvasScrollingLabel\">{{cookies.title}}</h5>\r\n <button type=\"button\" class=\"btn-close text-reset\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"offcanvas-body d-flex align-items-start\">\r\n <div class=\"row d-flex flex-row justify-content-between cookies-body\">\r\n <div class=\"col-lg-12\">\r\n <p [innerHtml]=\"cookies.message | ecSanitizerHtml\"></p>\r\n </div>\r\n <div class=\"col-lg-12 d-flex flex-row justify-content-center align-items-center\">\r\n <button class=\"btn btn-primary mx-2\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\r\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\r\n <button class=\"btn btn-primary mx-2\" data-bs-dismiss=\"offcanvas\" (click)=\"acceptCookies()\">{{ cookies.others.btnAccept }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #startend>\r\n <div [class]=\"'offcanvas offcanvas-'+(cookies.format.position ? cookies.format.position : 'bottom')\"\r\n [attr.data-bs-scroll]=\"(cookies.format.scrolling != undefined) ? cookies.format.scrolling : true\"\r\n [attr.data-bs-backdrop]=\"(cookies.format.backdrop != undefined) ? cookies.format.backdrop : false\" tabindex=\"-1\"\r\n id=\"offcanvasCookies\" aria-labelledby=\"offcanvasScrollingLabel\" style=\"height: 20%\">\r\n <div class=\"offcanvas-header\">\r\n <h5 *ngIf=\"cookies.title\" class=\"offcanvas-title\" id=\"offcanvasScrollingLabel\">{{cookies.title}}</h5>\r\n <button type=\"button\" class=\"btn-close text-reset\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"offcanvas-body d-flex align-items-center\">\r\n <div class=\"row d-flex flex-row justify-content-between cookies-body w-100\">\r\n <div class=\"col-lg-9\">\r\n <p [innerHtml]=\"cookies.message\"></p>\r\n </div>\r\n <div class=\"col-lg-3 d-flex flex-row justify-content-center align-items-center\" *ngIf=\"cookies.others\">\r\n <button class=\"btn btn-primary mx-2\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\r\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\r\n <button class=\"btn btn-primary mx-2\"\r\n (click)=\"acceptCookies()\" data-bs-dismiss=\"offcanvas\">{{ cookies.others.btnAccept }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n",
|
|
@@ -17997,7 +18045,7 @@ var SidebarCookiesEcComponent = /** @class */ (function () {
|
|
|
17997
18045
|
return SidebarCookiesEcComponent;
|
|
17998
18046
|
}());
|
|
17999
18047
|
|
|
18000
|
-
var __decorate$
|
|
18048
|
+
var __decorate$1X = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18001
18049
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18002
18050
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18003
18051
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18015,13 +18063,13 @@ var ModalCookiesEcComponent = /** @class */ (function () {
|
|
|
18015
18063
|
_this.show();
|
|
18016
18064
|
}, 2000);
|
|
18017
18065
|
};
|
|
18018
|
-
__decorate$
|
|
18066
|
+
__decorate$1X([
|
|
18019
18067
|
Input()
|
|
18020
18068
|
], ModalCookiesEcComponent.prototype, "cookies", void 0);
|
|
18021
|
-
__decorate$
|
|
18069
|
+
__decorate$1X([
|
|
18022
18070
|
Input()
|
|
18023
18071
|
], ModalCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18024
|
-
ModalCookiesEcComponent = __decorate$
|
|
18072
|
+
ModalCookiesEcComponent = __decorate$1X([
|
|
18025
18073
|
Component({
|
|
18026
18074
|
selector: 'app-modal-cookies-ec',
|
|
18027
18075
|
template: "<!-- Modal -->\r\n<div class=\"modal fade\" id=\"modal-cookies\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">\r\n <div [class]=\"'modal-dialog modal-dialog-centered '+(cookies.format.size ? 'modal-'+cookies.format.size : '')\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 *ngIf=\"cookies.title\" class=\"modal-title\" id=\"exampleModalLabel\">{{cookies.title}}</h5>\r\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <p [innerHtml]=\"cookies.message\"></p>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer d-flex justify-content-between\" *ngIf=\"cookies.others\">\r\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\r\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\r\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" (click)=\"acceptCookies()\">{{cookies.others.btnAccept}}</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
@@ -18031,7 +18079,7 @@ var ModalCookiesEcComponent = /** @class */ (function () {
|
|
|
18031
18079
|
return ModalCookiesEcComponent;
|
|
18032
18080
|
}());
|
|
18033
18081
|
|
|
18034
|
-
var __decorate$
|
|
18082
|
+
var __decorate$1Y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18035
18083
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18036
18084
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18037
18085
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18050,13 +18098,13 @@ var ToastCookiesEcComponent = /** @class */ (function () {
|
|
|
18050
18098
|
_this.acceptCookies();
|
|
18051
18099
|
}, 2000);
|
|
18052
18100
|
};
|
|
18053
|
-
__decorate$
|
|
18101
|
+
__decorate$1Y([
|
|
18054
18102
|
Input()
|
|
18055
18103
|
], ToastCookiesEcComponent.prototype, "cookies", void 0);
|
|
18056
|
-
__decorate$
|
|
18104
|
+
__decorate$1Y([
|
|
18057
18105
|
Input()
|
|
18058
18106
|
], ToastCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18059
|
-
ToastCookiesEcComponent = __decorate$
|
|
18107
|
+
ToastCookiesEcComponent = __decorate$1Y([
|
|
18060
18108
|
Component({
|
|
18061
18109
|
selector: 'app-toast-cookies-ec',
|
|
18062
18110
|
template: "<div [class]=\"'position-fixed p-3 '+(cookies.format?.positionY ? cookies.format.positionY : 'top-0')+' '+(cookies.format?.positionX ? cookies.format.positionX : 'start-0')\" style=\"z-index: 9999\">\r\n <div id=\"cookieToast\" class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\">\r\n <div class=\"toast-header bg-primary\">\r\n <!-- <img src=\"...\" class=\"rounded me-2\" alt=\"...\"> -->\r\n <strong *ngIf=\"cookies.title\" class=\"me-auto\">{{cookies.title}}</strong>\r\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"toast\" aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"toast-body\">\r\n <p [innerHtml]=\"cookies.message\"></p>\r\n </div>\r\n <!-- <div class=\"toast-footer\" *ngIf=\"cookies.others\">\r\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\r\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"acceptCookies()\">{{cookies.others.btnAccept}}</button>\r\n </div> -->\r\n </div>\r\n</div>",
|
|
@@ -18066,7 +18114,7 @@ var ToastCookiesEcComponent = /** @class */ (function () {
|
|
|
18066
18114
|
return ToastCookiesEcComponent;
|
|
18067
18115
|
}());
|
|
18068
18116
|
|
|
18069
|
-
var __decorate$
|
|
18117
|
+
var __decorate$1Z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18070
18118
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18071
18119
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18072
18120
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18079,16 +18127,16 @@ var ModalConfigEcComponent = /** @class */ (function () {
|
|
|
18079
18127
|
}
|
|
18080
18128
|
ModalConfigEcComponent.prototype.ngOnInit = function () {
|
|
18081
18129
|
};
|
|
18082
|
-
__decorate$
|
|
18130
|
+
__decorate$1Z([
|
|
18083
18131
|
Input()
|
|
18084
18132
|
], ModalConfigEcComponent.prototype, "cookies", void 0);
|
|
18085
|
-
__decorate$
|
|
18133
|
+
__decorate$1Z([
|
|
18086
18134
|
Input()
|
|
18087
18135
|
], ModalConfigEcComponent.prototype, "cookiesToSave", void 0);
|
|
18088
|
-
__decorate$
|
|
18136
|
+
__decorate$1Z([
|
|
18089
18137
|
Input()
|
|
18090
18138
|
], ModalConfigEcComponent.prototype, "cookiesFunctions", void 0);
|
|
18091
|
-
ModalConfigEcComponent = __decorate$
|
|
18139
|
+
ModalConfigEcComponent = __decorate$1Z([
|
|
18092
18140
|
Component({
|
|
18093
18141
|
selector: 'app-modal-config-ec',
|
|
18094
18142
|
template: "<!-- Modal -->\r\n<div class=\"modal fade\" id=\"config\" tabindex=\"-1\" aria-labelledby=\"configModalLabel\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 *ngIf=\"cookies.title\" class=\"modal-title\" id=\"configModalLabel\">{{cookies.title}}</h5>\r\n <button *ngIf=\"cookies.format.type == 'modal'; else close\" type=\"button\" class=\"btn-close\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\" aria-label=\"Close\"></button>\r\n <ng-template #close>\r\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\r\n </ng-template>\r\n </div>\r\n <div class=\"modal-body px-0 d-flex justify-content-center\">\r\n <!--Vertical Pill-->\r\n <div class=\"row w-100\">\r\n <div class=\"col-12 col-md-4 p-0 m-0\">\r\n <div class=\"nav flex-column nav-pills me-3\" id=\"v-pills-tab\" role=\"tablist\" aria-orientation=\"vertical\">\r\n <button *ngFor=\"let cookie of cookies.cookies; let x = index\"\r\n [class]=\"'btn rounded-0 btn-primary '+ (x==0 ? 'active' : '')\"\r\n [id]=\"'v-pills-'+cookie.name+'-tab'\" data-bs-toggle=\"pill\"\r\n [attr.data-bs-target]=\"'#v-pills-'+cookie.name\" type=\"button\" role=\"tab\"\r\n [attr.aria-controls]=\"'v-pills-'+cookie.name\" [attr.aria-selected]=\"x==0\">\r\n {{cookie.name.replaceAll('-',' ')}}\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 p-0 m-0\">\r\n <div class=\"tab-content\" id=\"v-pills-tabContent\">\r\n <div *ngFor=\"let cookie of cookies.cookies; let x = index\"\r\n [class]=\"'tab-pane fade '+ (x==0 ? 'show active ' : '')\" [id]=\"'v-pills-'+cookie.name\"\r\n role=\"tabpanel\" [attr.aria-labelledby]=\"'v-pills-'+cookie.name+'-tab'\">\r\n <div class=\"d-flex justify-content-between w-100\">\r\n <h5 class=\"title-cookie\">{{cookie.name.replaceAll('-',' ')}}</h5>\r\n <div class=\"form-check\" *ngIf=\"checkCookie(cookie.name) as info\">\r\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'flexRadio'+x\" [id]=\"'flexRadioDefault'+x\"\r\n [checked]=\"info.enabled\" (click)=\"cookiesFunctions.toggle(cookie.name)\">\r\n </div>\r\n </div>\r\n \r\n <div class=\"h-100 overflow-scroll text-content\">\r\n <p class=\"text-cookie\">{{cookie.message}}</p>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!--End-->\r\n </div>\r\n <div class=\"modal-footer d-flex justify-content-between\">\r\n <ng-container *ngIf=\"cookies.format.type == 'modal'; else default\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\">{{cookies.others.btnSave}}</button>\r\n <button type=\"button\" class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\"\r\n (click)=\"cookiesFunctions.acceptAll()\">{{cookies.others.btnAll}}</button>\r\n </ng-container>\r\n <ng-template #default>\r\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">{{cookies.others.btnSave}}</button>\r\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\"\r\n (click)=\"cookiesFunctions.acceptAll()\">{{cookies.others.btnAll}}</button>\r\n </ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
@@ -18111,7 +18159,7 @@ var __extends$1e = (this && this.__extends) || (function () {
|
|
|
18111
18159
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18112
18160
|
};
|
|
18113
18161
|
})();
|
|
18114
|
-
var __decorate$
|
|
18162
|
+
var __decorate$1_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18115
18163
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18116
18164
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18117
18165
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18279,28 +18327,28 @@ var BambooEcComponent = /** @class */ (function (_super) {
|
|
|
18279
18327
|
{ type: Injector },
|
|
18280
18328
|
{ type: CartService }
|
|
18281
18329
|
]; };
|
|
18282
|
-
__decorate$
|
|
18330
|
+
__decorate$1_([
|
|
18283
18331
|
Input()
|
|
18284
18332
|
], BambooEcComponent.prototype, "paymentServiceInst", void 0);
|
|
18285
|
-
__decorate$
|
|
18333
|
+
__decorate$1_([
|
|
18286
18334
|
Input()
|
|
18287
18335
|
], BambooEcComponent.prototype, "method", void 0);
|
|
18288
|
-
__decorate$
|
|
18336
|
+
__decorate$1_([
|
|
18289
18337
|
Input()
|
|
18290
18338
|
], BambooEcComponent.prototype, "total_amount", void 0);
|
|
18291
|
-
__decorate$
|
|
18339
|
+
__decorate$1_([
|
|
18292
18340
|
Input()
|
|
18293
18341
|
], BambooEcComponent.prototype, "allData", void 0);
|
|
18294
|
-
__decorate$
|
|
18342
|
+
__decorate$1_([
|
|
18295
18343
|
Input()
|
|
18296
18344
|
], BambooEcComponent.prototype, "user_data", void 0);
|
|
18297
|
-
__decorate$
|
|
18345
|
+
__decorate$1_([
|
|
18298
18346
|
Output()
|
|
18299
18347
|
], BambooEcComponent.prototype, "ready", void 0);
|
|
18300
|
-
__decorate$
|
|
18348
|
+
__decorate$1_([
|
|
18301
18349
|
ViewChild('template')
|
|
18302
18350
|
], BambooEcComponent.prototype, "template", void 0);
|
|
18303
|
-
BambooEcComponent = __decorate$
|
|
18351
|
+
BambooEcComponent = __decorate$1_([
|
|
18304
18352
|
Component({
|
|
18305
18353
|
selector: 'app-bamboo-ec',
|
|
18306
18354
|
template: "<div class=\"text-center\">\r\n <h3>Continuar con el pago en Bamboo</h3>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\r\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\r\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\r\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"iniciar()\">Pagar</button>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\">Modal title</h5>\r\n <button type=\"button\" class=\"btn-close\" (click)=\"clickClose()\"></button>\r\n </div>\r\n <div class=\"modal-body d-flex justify-content-center\" *ngIf=\"url\">\r\n <iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\r\n </div>\r\n <!-- <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Close</button>\r\n <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\r\n </div> -->\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loadingUrl>\r\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\r\n <app-loading-full-ec></app-loading-full-ec>\r\n </div>\r\n</ng-template>",
|
|
@@ -18310,7 +18358,7 @@ var BambooEcComponent = /** @class */ (function (_super) {
|
|
|
18310
18358
|
return BambooEcComponent;
|
|
18311
18359
|
}(ComponentHelper));
|
|
18312
18360
|
|
|
18313
|
-
var __decorate$
|
|
18361
|
+
var __decorate$1$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18314
18362
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18315
18363
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18316
18364
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18413,7 +18461,7 @@ var SidebarEcComponent = /** @class */ (function () {
|
|
|
18413
18461
|
{ type: Router },
|
|
18414
18462
|
{ type: ToastService }
|
|
18415
18463
|
]; };
|
|
18416
|
-
SidebarEcComponent = __decorate$
|
|
18464
|
+
SidebarEcComponent = __decorate$1$([
|
|
18417
18465
|
Component({
|
|
18418
18466
|
selector: 'app-sidebar-ec',
|
|
18419
18467
|
template: "",
|
|
@@ -18506,7 +18554,7 @@ var components = [
|
|
|
18506
18554
|
SidebarEcComponent
|
|
18507
18555
|
];
|
|
18508
18556
|
|
|
18509
|
-
var __decorate$
|
|
18557
|
+
var __decorate$20 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18510
18558
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18511
18559
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18512
18560
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18586,16 +18634,16 @@ var AddActionRedirectDirective = /** @class */ (function () {
|
|
|
18586
18634
|
{ type: BlocksService },
|
|
18587
18635
|
{ type: Router }
|
|
18588
18636
|
]; };
|
|
18589
|
-
__decorate$
|
|
18637
|
+
__decorate$20([
|
|
18590
18638
|
Input()
|
|
18591
18639
|
], AddActionRedirectDirective.prototype, "ecAddActionRedirect", null);
|
|
18592
|
-
__decorate$
|
|
18640
|
+
__decorate$20([
|
|
18593
18641
|
Input()
|
|
18594
18642
|
], AddActionRedirectDirective.prototype, "classStrSpacing", null);
|
|
18595
|
-
__decorate$
|
|
18643
|
+
__decorate$20([
|
|
18596
18644
|
Input()
|
|
18597
18645
|
], AddActionRedirectDirective.prototype, "isTransparent", null);
|
|
18598
|
-
AddActionRedirectDirective = __decorate$
|
|
18646
|
+
AddActionRedirectDirective = __decorate$20([
|
|
18599
18647
|
Directive({
|
|
18600
18648
|
selector: "[ecAddActionRedirect]",
|
|
18601
18649
|
}),
|
|
@@ -18604,7 +18652,7 @@ var AddActionRedirectDirective = /** @class */ (function () {
|
|
|
18604
18652
|
return AddActionRedirectDirective;
|
|
18605
18653
|
}());
|
|
18606
18654
|
|
|
18607
|
-
var __decorate$
|
|
18655
|
+
var __decorate$21 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18608
18656
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18609
18657
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18610
18658
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18669,13 +18717,13 @@ var ProductStockDirective = /** @class */ (function () {
|
|
|
18669
18717
|
{ type: TemplateRef },
|
|
18670
18718
|
{ type: ViewContainerRef }
|
|
18671
18719
|
]; };
|
|
18672
|
-
__decorate$
|
|
18720
|
+
__decorate$21([
|
|
18673
18721
|
Input()
|
|
18674
18722
|
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
18675
|
-
__decorate$
|
|
18723
|
+
__decorate$21([
|
|
18676
18724
|
Input()
|
|
18677
18725
|
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
18678
|
-
ProductStockDirective = __decorate$
|
|
18726
|
+
ProductStockDirective = __decorate$21([
|
|
18679
18727
|
Directive({
|
|
18680
18728
|
selector: "[ecProductStock]"
|
|
18681
18729
|
})
|
|
@@ -18683,7 +18731,7 @@ var ProductStockDirective = /** @class */ (function () {
|
|
|
18683
18731
|
return ProductStockDirective;
|
|
18684
18732
|
}());
|
|
18685
18733
|
|
|
18686
|
-
var __decorate$
|
|
18734
|
+
var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18687
18735
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18688
18736
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18689
18737
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18824,16 +18872,16 @@ var ProductOffDirective = /** @class */ (function () {
|
|
|
18824
18872
|
{ type: ElementRef },
|
|
18825
18873
|
{ type: Renderer2 }
|
|
18826
18874
|
]; };
|
|
18827
|
-
__decorate$
|
|
18875
|
+
__decorate$22([
|
|
18828
18876
|
Input()
|
|
18829
18877
|
], ProductOffDirective.prototype, "ecProductOff", null);
|
|
18830
|
-
__decorate$
|
|
18878
|
+
__decorate$22([
|
|
18831
18879
|
Input()
|
|
18832
18880
|
], ProductOffDirective.prototype, "classStrSpacing", null);
|
|
18833
|
-
__decorate$
|
|
18881
|
+
__decorate$22([
|
|
18834
18882
|
Input()
|
|
18835
18883
|
], ProductOffDirective.prototype, "customMessage", null);
|
|
18836
|
-
ProductOffDirective = __decorate$
|
|
18884
|
+
ProductOffDirective = __decorate$22([
|
|
18837
18885
|
Directive({
|
|
18838
18886
|
selector: "[ecProductOff]",
|
|
18839
18887
|
}),
|
|
@@ -18842,7 +18890,7 @@ var ProductOffDirective = /** @class */ (function () {
|
|
|
18842
18890
|
return ProductOffDirective;
|
|
18843
18891
|
}());
|
|
18844
18892
|
|
|
18845
|
-
var __decorate$
|
|
18893
|
+
var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18846
18894
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18847
18895
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18848
18896
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18900,10 +18948,10 @@ var ProductMiniStandardDirective = /** @class */ (function () {
|
|
|
18900
18948
|
{ type: Renderer2 },
|
|
18901
18949
|
{ type: Constants }
|
|
18902
18950
|
]; };
|
|
18903
|
-
__decorate$
|
|
18951
|
+
__decorate$23([
|
|
18904
18952
|
Input()
|
|
18905
18953
|
], ProductMiniStandardDirective.prototype, "ecProductMiniStandard", null);
|
|
18906
|
-
ProductMiniStandardDirective = __decorate$
|
|
18954
|
+
ProductMiniStandardDirective = __decorate$23([
|
|
18907
18955
|
Directive({
|
|
18908
18956
|
selector: '[ecProductMiniStandard]'
|
|
18909
18957
|
})
|
|
@@ -18911,7 +18959,7 @@ var ProductMiniStandardDirective = /** @class */ (function () {
|
|
|
18911
18959
|
return ProductMiniStandardDirective;
|
|
18912
18960
|
}());
|
|
18913
18961
|
|
|
18914
|
-
var __decorate$
|
|
18962
|
+
var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18915
18963
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18916
18964
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18917
18965
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18954,13 +19002,13 @@ var AuthWholesalerDirective = /** @class */ (function () {
|
|
|
18954
19002
|
{ type: ViewContainerRef },
|
|
18955
19003
|
{ type: AuthService }
|
|
18956
19004
|
]; };
|
|
18957
|
-
__decorate$
|
|
19005
|
+
__decorate$24([
|
|
18958
19006
|
Input()
|
|
18959
19007
|
], AuthWholesalerDirective.prototype, "ecAuthWholesalerElse", void 0);
|
|
18960
|
-
__decorate$
|
|
19008
|
+
__decorate$24([
|
|
18961
19009
|
Input()
|
|
18962
19010
|
], AuthWholesalerDirective.prototype, "ecAuthWholesaler", null);
|
|
18963
|
-
AuthWholesalerDirective = __decorate$
|
|
19011
|
+
AuthWholesalerDirective = __decorate$24([
|
|
18964
19012
|
Directive({
|
|
18965
19013
|
selector: "[ecAuthWholesaler]"
|
|
18966
19014
|
})
|
|
@@ -18968,7 +19016,7 @@ var AuthWholesalerDirective = /** @class */ (function () {
|
|
|
18968
19016
|
return AuthWholesalerDirective;
|
|
18969
19017
|
}());
|
|
18970
19018
|
|
|
18971
|
-
var __decorate$
|
|
19019
|
+
var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18972
19020
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18973
19021
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18974
19022
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18990,10 +19038,10 @@ var ReloadViewDirective = /** @class */ (function () {
|
|
|
18990
19038
|
{ type: TemplateRef },
|
|
18991
19039
|
{ type: ViewContainerRef }
|
|
18992
19040
|
]; };
|
|
18993
|
-
__decorate$
|
|
19041
|
+
__decorate$25([
|
|
18994
19042
|
Input()
|
|
18995
19043
|
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
18996
|
-
ReloadViewDirective = __decorate$
|
|
19044
|
+
ReloadViewDirective = __decorate$25([
|
|
18997
19045
|
Directive({
|
|
18998
19046
|
selector: '[ecReloadView]'
|
|
18999
19047
|
})
|
|
@@ -19016,7 +19064,7 @@ var directives = [
|
|
|
19016
19064
|
ReloadViewDirective,
|
|
19017
19065
|
];
|
|
19018
19066
|
|
|
19019
|
-
var __decorate$
|
|
19067
|
+
var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19020
19068
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19021
19069
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19022
19070
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19076,7 +19124,7 @@ var ecCurrencySymbolPipe = /** @class */ (function () {
|
|
|
19076
19124
|
{ type: CurrencyService },
|
|
19077
19125
|
{ type: Injector }
|
|
19078
19126
|
]; };
|
|
19079
|
-
ecCurrencySymbolPipe = __decorate$
|
|
19127
|
+
ecCurrencySymbolPipe = __decorate$26([
|
|
19080
19128
|
Pipe({
|
|
19081
19129
|
name: 'ecCurrencySymbol',
|
|
19082
19130
|
})
|
|
@@ -19084,7 +19132,7 @@ var ecCurrencySymbolPipe = /** @class */ (function () {
|
|
|
19084
19132
|
return ecCurrencySymbolPipe;
|
|
19085
19133
|
}());
|
|
19086
19134
|
|
|
19087
|
-
var __decorate$
|
|
19135
|
+
var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19088
19136
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19089
19137
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19090
19138
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19100,7 +19148,7 @@ var EcSanitizerHtmlPipe = /** @class */ (function () {
|
|
|
19100
19148
|
EcSanitizerHtmlPipe.ctorParameters = function () { return [
|
|
19101
19149
|
{ type: DomSanitizer }
|
|
19102
19150
|
]; };
|
|
19103
|
-
EcSanitizerHtmlPipe = __decorate$
|
|
19151
|
+
EcSanitizerHtmlPipe = __decorate$27([
|
|
19104
19152
|
Pipe({
|
|
19105
19153
|
name: 'ecSanitizerHtml'
|
|
19106
19154
|
})
|
|
@@ -19108,7 +19156,7 @@ var EcSanitizerHtmlPipe = /** @class */ (function () {
|
|
|
19108
19156
|
return EcSanitizerHtmlPipe;
|
|
19109
19157
|
}());
|
|
19110
19158
|
|
|
19111
|
-
var __decorate$
|
|
19159
|
+
var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19112
19160
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19113
19161
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19114
19162
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19124,7 +19172,7 @@ var EcSanitizerUrlPipe = /** @class */ (function () {
|
|
|
19124
19172
|
EcSanitizerUrlPipe.ctorParameters = function () { return [
|
|
19125
19173
|
{ type: DomSanitizer }
|
|
19126
19174
|
]; };
|
|
19127
|
-
EcSanitizerUrlPipe = __decorate$
|
|
19175
|
+
EcSanitizerUrlPipe = __decorate$28([
|
|
19128
19176
|
Pipe({
|
|
19129
19177
|
name: 'ecSanitizerUrl'
|
|
19130
19178
|
})
|
|
@@ -19139,7 +19187,7 @@ var pipes = [
|
|
|
19139
19187
|
EcSanitizerUrlPipe
|
|
19140
19188
|
];
|
|
19141
19189
|
|
|
19142
|
-
var __decorate$
|
|
19190
|
+
var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19143
19191
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19144
19192
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19145
19193
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19226,7 +19274,7 @@ var NgEasycommerceModule = /** @class */ (function () {
|
|
|
19226
19274
|
};
|
|
19227
19275
|
};
|
|
19228
19276
|
var NgEasycommerceModule_1;
|
|
19229
|
-
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$
|
|
19277
|
+
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$29([
|
|
19230
19278
|
NgModule({
|
|
19231
19279
|
exports: [
|
|
19232
19280
|
OrderByPipe,
|
|
@@ -19263,7 +19311,7 @@ var NgEasycommerceModule = /** @class */ (function () {
|
|
|
19263
19311
|
return NgEasycommerceModule;
|
|
19264
19312
|
}());
|
|
19265
19313
|
|
|
19266
|
-
var __decorate$
|
|
19314
|
+
var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19267
19315
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19268
19316
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19269
19317
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19311,7 +19359,7 @@ var GiftCardService = /** @class */ (function () {
|
|
|
19311
19359
|
{ type: ConnectionService }
|
|
19312
19360
|
]; };
|
|
19313
19361
|
GiftCardService$1.ɵprov = ɵɵdefineInjectable({ factory: function GiftCardService_Factory() { return new GiftCardService(ɵɵinject(Constants), ɵɵinject(CartService), ɵɵinject(ConnectionService)); }, token: GiftCardService, providedIn: "root" });
|
|
19314
|
-
GiftCardService$1 = __decorate$
|
|
19362
|
+
GiftCardService$1 = __decorate$2a([
|
|
19315
19363
|
Injectable({
|
|
19316
19364
|
providedIn: 'root'
|
|
19317
19365
|
})
|
|
@@ -19319,7 +19367,7 @@ var GiftCardService = /** @class */ (function () {
|
|
|
19319
19367
|
return GiftCardService$1;
|
|
19320
19368
|
}());
|
|
19321
19369
|
|
|
19322
|
-
var __decorate$
|
|
19370
|
+
var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19323
19371
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19324
19372
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19325
19373
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19375,7 +19423,7 @@ var WishlistService = /** @class */ (function () {
|
|
|
19375
19423
|
{ type: ToastrService }
|
|
19376
19424
|
]; };
|
|
19377
19425
|
WishlistService$1.ɵprov = ɵɵdefineInjectable({ factory: function WishlistService_Factory() { return new WishlistService(ɵɵinject(ToastrService)); }, token: WishlistService, providedIn: "root" });
|
|
19378
|
-
WishlistService$1 = __decorate$
|
|
19426
|
+
WishlistService$1 = __decorate$2b([
|
|
19379
19427
|
Injectable({
|
|
19380
19428
|
providedIn: 'root'
|
|
19381
19429
|
})
|
|
@@ -19383,7 +19431,7 @@ var WishlistService = /** @class */ (function () {
|
|
|
19383
19431
|
return WishlistService$1;
|
|
19384
19432
|
}());
|
|
19385
19433
|
|
|
19386
|
-
var __decorate$
|
|
19434
|
+
var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19387
19435
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19388
19436
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19389
19437
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19418,7 +19466,7 @@ var StandardReuseStrategy = /** @class */ (function () {
|
|
|
19418
19466
|
StandardReuseStrategy.ctorParameters = function () { return [
|
|
19419
19467
|
{ type: undefined, decorators: [{ type: Inject, args: ['env',] }] }
|
|
19420
19468
|
]; };
|
|
19421
|
-
StandardReuseStrategy = __decorate$
|
|
19469
|
+
StandardReuseStrategy = __decorate$2c([
|
|
19422
19470
|
Injectable(),
|
|
19423
19471
|
__param$d(0, Inject('env'))
|
|
19424
19472
|
], StandardReuseStrategy);
|
|
@@ -19433,5 +19481,5 @@ var StandardReuseStrategy = /** @class */ (function () {
|
|
|
19433
19481
|
* Generated bundle index. Do not edit.
|
|
19434
19482
|
*/
|
|
19435
19483
|
|
|
19436
|
-
export { AbleBuyerGuardService, AccountEcComponent, AddActionRedirectDirective, AddressingService, AnalyticsService, AttributesFilter, AuthEcComponent, AuthGuardService, AuthInterceptor, AuthService, AuthWholesalerDirective, BambooEcComponent, BancardEcComponent, BancardRedirectEcComponent, BannerService, BlockBannerBoxesEcComponent, BlockBannerFullEcComponent, BlockFormContactEcComponent, BlockHtmlEcComponent, BlockProductsEcComponent, BlocksEcComponent, BlocksService, BrowserWindowRef, BuildYourEcComponent, CaptchaService, CartEcComponent, CartLoadEcComponent, CartService, CategoryFilter, CecaRedirectEcComponent, ChannelConfigService, CheckoutEcComponent, CheckoutErrorComponent, CheckoutReadyGuard, CheckoutService, CollectionEcComponent, ConcatenatedAssociationsService, ConfirmAccountEcComponent, ConnectionService, Constants, ContactFormNewsEcComponent, CookiesEcComponent, CouponEcComponent, CurrencyService, DataFormEcComponent, DataformService, DecidirEcComponent, DetailCheckoutBlockEcComponent, DynamicsFilter, EcSanitizerHtmlPipe, EcSanitizerUrlPipe, FaqsContentEcComponent, Filter, FilterOptionTypes, FiltersEcComponent, FiltersService, FiltersTopEcComponent, FooterEcComponent, ForgotPasswordEcComponent, GiftCardService, HeaderEcComponent, HomeEcComponent, LoadingFullEcComponent, LoadingInlineEcComponent, LoadingSectionEcComponent, LoggedInGuard, LoginEcComponent, LoginFormEcComponent, MPCreditEcComponent, MobbexEcComponent, ModalConfigEcComponent, ModalCookiesEcComponent, MpRedirectEcComponent, MultipleItemsToCartEcComponent, NgEasycommerceModule, OptionsService, OrderEcComponent, OrdersEcComponent, OrdersService, PaginationService, ParametersService, ParamsContext, PasswordResetEcComponent, PaymentEcComponent, PaymentService, PaypalExpressEcComponent, PriceEcComponent, ProductDetailEcComponent, ProductDetailService, ProductEcComponent, ProductFoundEcComponent, ProductMiniStandardDirective, ProductStockDirective, ProductsService, RatingEcComponent, RedSysProEcComponent, RedSysRedirectEcComponent, RedSysRedirectOutEcComponent, RedsysCatchEcComponent, RegisterFormEcComponent, RegisterWholesalerFormEcComponent, RelatedProductsEcComponent, ReviewsEcComponent, ReviewsFormEcComponent, ReviewsService, SectionContainerEcComponent, SelectChannelEcComponent, ShareBlockEcComponent, ShipmentEcComponent, ShipmentService, SidebarCookiesEcComponent, SidebarEcComponent, SortFilter, StandardReuseStrategy, Step, StoresEcComponent, StoresService, SuccessEcComponent, ToastCookiesEcComponent, ToastService, User, UserRoleGuardService, UtilsService, VariantsEcComponent, WINDOW, WINDOW_PROVIDERS, WindowRef, WishlistService, browserWindowProvider, ecCurrencySymbolPipe, windowFactory, windowProvider, OrderByPipe as ɵa, components as ɵb,
|
|
19484
|
+
export { AbleBuyerGuardService, AccountEcComponent, AddActionRedirectDirective, AddressingService, AnalyticsService, AttributesFilter, AuthEcComponent, AuthGuardService, AuthInterceptor, AuthService, AuthWholesalerDirective, BambooEcComponent, BancardEcComponent, BancardRedirectEcComponent, BannerService, BlockBannerBoxesEcComponent, BlockBannerFullEcComponent, BlockFormContactEcComponent, BlockHtmlEcComponent, BlockProductsEcComponent, BlocksEcComponent, BlocksService, BrowserWindowRef, BuildYourEcComponent, CaptchaService, CartEcComponent, CartLoadEcComponent, CartService, CategoryFilter, CecaRedirectEcComponent, ChannelConfigService, CheckoutEcComponent, CheckoutErrorComponent, CheckoutReadyGuard, CheckoutService, CollectionEcComponent, ConcatenatedAssociationsService, ConfirmAccountEcComponent, ConnectionService, Constants, ContactFormNewsEcComponent, CookiesEcComponent, CouponEcComponent, CurrencyService, DataFormEcComponent, DataformService, DecidirEcComponent, DetailCheckoutBlockEcComponent, DynamicsFilter, EcSanitizerHtmlPipe, EcSanitizerUrlPipe, FaqsContentEcComponent, Filter, FilterOptionTypes, FiltersEcComponent, FiltersService, FiltersTopEcComponent, FooterEcComponent, ForgotPasswordEcComponent, GiftCardService, HeaderEcComponent, HomeEcComponent, LoadingFullEcComponent, LoadingInlineEcComponent, LoadingSectionEcComponent, LoggedInGuard, LoginEcComponent, LoginFormEcComponent, MPCreditEcComponent, MobbexEcComponent, ModalConfigEcComponent, ModalCookiesEcComponent, MpRedirectEcComponent, MultipleItemsToCartEcComponent, NgEasycommerceModule, OptionsService, OrderEcComponent, OrdersEcComponent, OrdersService, PaginationService, ParametersService, ParamsContext, PasswordResetEcComponent, PaymentEcComponent, PaymentService, PaypalExpressEcComponent, PriceEcComponent, ProductDetailEcComponent, ProductDetailService, ProductEcComponent, ProductFoundEcComponent, ProductMiniStandardDirective, ProductStockDirective, ProductsService, RatingEcComponent, RedSysProEcComponent, RedSysRedirectEcComponent, RedSysRedirectOutEcComponent, RedsysCatchEcComponent, RegisterFormEcComponent, RegisterWholesalerFormEcComponent, RelatedProductsEcComponent, ReviewsEcComponent, ReviewsFormEcComponent, ReviewsService, SectionContainerEcComponent, SelectChannelEcComponent, ShareBlockEcComponent, ShipmentEcComponent, ShipmentService, SidebarCookiesEcComponent, SidebarEcComponent, SortFilter, StandardReuseStrategy, Step, StoresEcComponent, StoresService, SuccessEcComponent, ToastCookiesEcComponent, ToastService, User, UserRoleGuardService, UtilsService, VariantsEcComponent, WINDOW, WINDOW_PROVIDERS, WindowRef, WishlistService, browserWindowProvider, ecCurrencySymbolPipe, windowFactory, windowProvider, OrderByPipe as ɵa, components as ɵb, OptionsOfProductListDataReceiverService as ɵba, PaymentUtils as ɵbb, CustomerInterceptor as ɵbc, SellerDashboardContainerEcComponent as ɵc, MagnizoomComponent as ɵd, RecaptchaEcComponent as ɵe, ComparedProductsEcComponent as ɵf, StepEcComponent as ɵg, CulqiEcComponent as ɵh, BancardCatastroEcComponent as ɵi, ComponentHelper as ɵj, BlocksRepositoryService as ɵk, FacebookPixelService as ɵl, GoogleAnalyticsService as ɵm, GTMService as ɵn, MetricoolPixelService as ɵo, DopplerService as ɵp, OrderUtilityService as ɵq, StepService as ɵr, ErrorHandlerService as ɵs, IpService as ɵt, ShipmentDataTransformer as ɵu, CookiesService as ɵv, directives as ɵw, ProductOffDirective as ɵx, ReloadViewDirective as ɵy, pipes as ɵz };
|
|
19437
19485
|
//# sourceMappingURL=ng-easycommerce.js.map
|