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
|
@@ -3318,6 +3318,36 @@
|
|
|
3318
3318
|
return ToastService;
|
|
3319
3319
|
}());
|
|
3320
3320
|
|
|
3321
|
+
var __decorate$i = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3322
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3323
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3324
|
+
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;
|
|
3325
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3326
|
+
};
|
|
3327
|
+
var IpService = /** @class */ (function () {
|
|
3328
|
+
function IpService(http) {
|
|
3329
|
+
this.http = http;
|
|
3330
|
+
this.apiGetIp = 'https://api64.ipify.org?format=json'; // También puedes usar 'https://api.myip.com'
|
|
3331
|
+
this.apiGetLocation = 'http://ip-api.com/json/';
|
|
3332
|
+
}
|
|
3333
|
+
IpService.prototype.getIp = function () {
|
|
3334
|
+
return this.http.get(this.apiGetIp);
|
|
3335
|
+
};
|
|
3336
|
+
IpService.prototype.getLocation = function () {
|
|
3337
|
+
return this.http.get(this.apiGetLocation);
|
|
3338
|
+
};
|
|
3339
|
+
IpService.ctorParameters = function () { return [
|
|
3340
|
+
{ type: http.HttpClient }
|
|
3341
|
+
]; };
|
|
3342
|
+
IpService.ɵprov = core.ɵɵdefineInjectable({ factory: function IpService_Factory() { return new IpService(core.ɵɵinject(http.HttpClient)); }, token: IpService, providedIn: "root" });
|
|
3343
|
+
IpService = __decorate$i([
|
|
3344
|
+
core.Injectable({
|
|
3345
|
+
providedIn: 'root'
|
|
3346
|
+
})
|
|
3347
|
+
], IpService);
|
|
3348
|
+
return IpService;
|
|
3349
|
+
}());
|
|
3350
|
+
|
|
3321
3351
|
var __assign$6 = (this && this.__assign) || function () {
|
|
3322
3352
|
__assign$6 = Object.assign || function(t) {
|
|
3323
3353
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -3329,7 +3359,7 @@
|
|
|
3329
3359
|
};
|
|
3330
3360
|
return __assign$6.apply(this, arguments);
|
|
3331
3361
|
};
|
|
3332
|
-
var __decorate$
|
|
3362
|
+
var __decorate$j = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3333
3363
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3334
3364
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3335
3365
|
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;
|
|
@@ -3388,7 +3418,7 @@
|
|
|
3388
3418
|
return ar;
|
|
3389
3419
|
};
|
|
3390
3420
|
var CheckoutService = /** @class */ (function () {
|
|
3391
|
-
function CheckoutService$1(connection, cartService, consts, toastrService, orderUtils, analyticsService, authService, router, errorHandler) {
|
|
3421
|
+
function CheckoutService$1(connection, cartService, consts, toastrService, orderUtils, analyticsService, authService, router, errorHandler, ipService) {
|
|
3392
3422
|
var _this = this;
|
|
3393
3423
|
this.connection = connection;
|
|
3394
3424
|
this.cartService = cartService;
|
|
@@ -3399,6 +3429,7 @@
|
|
|
3399
3429
|
this.authService = authService;
|
|
3400
3430
|
this.router = router;
|
|
3401
3431
|
this.errorHandler = errorHandler;
|
|
3432
|
+
this.ipService = ipService;
|
|
3402
3433
|
this.baseApi = function () { return 'shop-api/' + _this.consts.getChannel() + '/checkout/' + _this.cartService.getCartToken(); };
|
|
3403
3434
|
this.getPaymentMethodsApi = function () { return _this.baseApi() + '/payment'; };
|
|
3404
3435
|
this.putAddressApi = function () { return _this.baseApi() + '/address'; };
|
|
@@ -3430,9 +3461,25 @@
|
|
|
3430
3461
|
var final_steps = [];
|
|
3431
3462
|
steps.forEach(function (step, i) { return final_steps.push(new Step(step.name, step.priority || (i + 1))); });
|
|
3432
3463
|
_this.stateSubject.next(final_steps);
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3464
|
+
// Obtener IP y ubicación
|
|
3465
|
+
rxjs.forkJoin({
|
|
3466
|
+
ip: _this.ipService.getIp(),
|
|
3467
|
+
location: _this.ipService.getLocation()
|
|
3468
|
+
}).subscribe(function (results) {
|
|
3469
|
+
var _a, _b, _c;
|
|
3470
|
+
var params = {
|
|
3471
|
+
ip: (_a = results.ip) === null || _a === void 0 ? void 0 : _a.ip,
|
|
3472
|
+
country: (_b = results.location) === null || _b === void 0 ? void 0 : _b.country,
|
|
3473
|
+
city: (_c = results.location) === null || _c === void 0 ? void 0 : _c.city
|
|
3474
|
+
};
|
|
3475
|
+
// Convertir los datos a una cadena de consulta
|
|
3476
|
+
var queryString = new URLSearchParams(params).toString();
|
|
3477
|
+
// Agregar la cadena de consulta a la URL del endpoint
|
|
3478
|
+
var urlWithParams = _this.getHasPurchaseConditions() + "?" + queryString;
|
|
3479
|
+
_this.connection.getErrorNotHandler(urlWithParams).toPromise().then(function (res) {
|
|
3480
|
+
var _a, _b;
|
|
3481
|
+
_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 }));
|
|
3482
|
+
});
|
|
3436
3483
|
});
|
|
3437
3484
|
};
|
|
3438
3485
|
this.setStepReady = function (step_number, data, order, automatic) { return __awaiter$1(_this, void 0, void 0, function () {
|
|
@@ -3586,10 +3633,11 @@
|
|
|
3586
3633
|
{ type: AnalyticsService },
|
|
3587
3634
|
{ type: AuthService },
|
|
3588
3635
|
{ type: router.Router },
|
|
3589
|
-
{ type: ErrorHandlerService }
|
|
3636
|
+
{ type: ErrorHandlerService },
|
|
3637
|
+
{ type: IpService }
|
|
3590
3638
|
]; };
|
|
3591
|
-
CheckoutService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CheckoutService_Factory() { return new CheckoutService(core.ɵɵinject(ConnectionService), core.ɵɵinject(CartService), core.ɵɵinject(Constants), core.ɵɵinject(ToastService), core.ɵɵinject(OrderUtilityService), core.ɵɵinject(AnalyticsService), core.ɵɵinject(AuthService), core.ɵɵinject(router.Router), core.ɵɵinject(ErrorHandlerService)); }, token: CheckoutService, providedIn: "root" });
|
|
3592
|
-
CheckoutService$1 = __decorate$
|
|
3639
|
+
CheckoutService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CheckoutService_Factory() { return new CheckoutService(core.ɵɵinject(ConnectionService), core.ɵɵinject(CartService), core.ɵɵinject(Constants), core.ɵɵinject(ToastService), core.ɵɵinject(OrderUtilityService), core.ɵɵinject(AnalyticsService), core.ɵɵinject(AuthService), core.ɵɵinject(router.Router), core.ɵɵinject(ErrorHandlerService), core.ɵɵinject(IpService)); }, token: CheckoutService, providedIn: "root" });
|
|
3640
|
+
CheckoutService$1 = __decorate$j([
|
|
3593
3641
|
core.Injectable({
|
|
3594
3642
|
providedIn: 'root'
|
|
3595
3643
|
})
|
|
@@ -3694,7 +3742,7 @@
|
|
|
3694
3742
|
};
|
|
3695
3743
|
return __assign$7.apply(this, arguments);
|
|
3696
3744
|
};
|
|
3697
|
-
var __decorate$
|
|
3745
|
+
var __decorate$k = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3698
3746
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3699
3747
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3700
3748
|
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;
|
|
@@ -3930,7 +3978,7 @@
|
|
|
3930
3978
|
{ type: AnalyticsService }
|
|
3931
3979
|
]; };
|
|
3932
3980
|
AddressingService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function AddressingService_Factory() { return new AddressingService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants), core.ɵɵinject(CartService), core.ɵɵinject(CheckoutService), core.ɵɵinject(AnalyticsService)); }, token: AddressingService, providedIn: "root" });
|
|
3933
|
-
AddressingService$1 = __decorate$
|
|
3981
|
+
AddressingService$1 = __decorate$k([
|
|
3934
3982
|
core.Injectable({
|
|
3935
3983
|
providedIn: 'root'
|
|
3936
3984
|
})
|
|
@@ -3938,7 +3986,7 @@
|
|
|
3938
3986
|
return AddressingService$1;
|
|
3939
3987
|
}(StepService));
|
|
3940
3988
|
|
|
3941
|
-
var __decorate$
|
|
3989
|
+
var __decorate$l = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3942
3990
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3943
3991
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3944
3992
|
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;
|
|
@@ -4028,7 +4076,7 @@
|
|
|
4028
4076
|
{ type: core.Injector }
|
|
4029
4077
|
]; };
|
|
4030
4078
|
ChannelConfigService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ChannelConfigService_Factory() { return new ChannelConfigService(core.ɵɵinject(Constants), core.ɵɵinject("env"), core.ɵɵinject(ConnectionService), core.ɵɵinject(core.INJECTOR)); }, token: ChannelConfigService, providedIn: "root" });
|
|
4031
|
-
ChannelConfigService$1 = __decorate$
|
|
4079
|
+
ChannelConfigService$1 = __decorate$l([
|
|
4032
4080
|
core.Injectable({
|
|
4033
4081
|
providedIn: 'root'
|
|
4034
4082
|
}),
|
|
@@ -4048,7 +4096,7 @@
|
|
|
4048
4096
|
};
|
|
4049
4097
|
return __assign$8.apply(this, arguments);
|
|
4050
4098
|
};
|
|
4051
|
-
var __decorate$
|
|
4099
|
+
var __decorate$m = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4052
4100
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4053
4101
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4054
4102
|
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;
|
|
@@ -4427,7 +4475,7 @@
|
|
|
4427
4475
|
{ type: core.Injector }
|
|
4428
4476
|
]; };
|
|
4429
4477
|
AuthService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function AuthService_Factory() { return new AuthService(core.ɵɵinject(ConnectionService), core.ɵɵinject(ngxToastr.ToastrService), core.ɵɵinject(Constants), core.ɵɵinject(core.INJECTOR)); }, token: AuthService, providedIn: "root" });
|
|
4430
|
-
AuthService$1 = __decorate$
|
|
4478
|
+
AuthService$1 = __decorate$m([
|
|
4431
4479
|
core.Injectable({
|
|
4432
4480
|
providedIn: 'root'
|
|
4433
4481
|
})
|
|
@@ -4446,7 +4494,7 @@
|
|
|
4446
4494
|
};
|
|
4447
4495
|
return __assign$9.apply(this, arguments);
|
|
4448
4496
|
};
|
|
4449
|
-
var __decorate$
|
|
4497
|
+
var __decorate$n = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4450
4498
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4451
4499
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4452
4500
|
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;
|
|
@@ -5091,7 +5139,7 @@
|
|
|
5091
5139
|
{ type: router.Router }
|
|
5092
5140
|
]; };
|
|
5093
5141
|
CartService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CartService_Factory() { return new CartService(core.ɵɵinject(ConnectionService), core.ɵɵinject(ToastService), core.ɵɵinject(Constants), core.ɵɵinject(AuthService), core.ɵɵinject(OrderUtilityService), core.ɵɵinject(AnalyticsService), core.ɵɵinject(ChannelConfigService), core.ɵɵinject(router.Router)); }, token: CartService, providedIn: "root" });
|
|
5094
|
-
CartService$1 = __decorate$
|
|
5142
|
+
CartService$1 = __decorate$n([
|
|
5095
5143
|
core.Injectable({
|
|
5096
5144
|
providedIn: 'root'
|
|
5097
5145
|
})
|
|
@@ -5110,7 +5158,7 @@
|
|
|
5110
5158
|
};
|
|
5111
5159
|
return __assign$a.apply(this, arguments);
|
|
5112
5160
|
};
|
|
5113
|
-
var __decorate$
|
|
5161
|
+
var __decorate$o = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5114
5162
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5115
5163
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5116
5164
|
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;
|
|
@@ -5200,7 +5248,7 @@
|
|
|
5200
5248
|
{ type: Constants }
|
|
5201
5249
|
]; };
|
|
5202
5250
|
OrdersService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function OrdersService_Factory() { return new OrdersService(core.ɵɵinject(ConnectionService), core.ɵɵinject(CartService), core.ɵɵinject(router.Router), core.ɵɵinject(Constants)); }, token: OrdersService, providedIn: "root" });
|
|
5203
|
-
OrdersService$1 = __decorate$
|
|
5251
|
+
OrdersService$1 = __decorate$o([
|
|
5204
5252
|
core.Injectable({
|
|
5205
5253
|
providedIn: 'root'
|
|
5206
5254
|
})
|
|
@@ -5219,7 +5267,7 @@
|
|
|
5219
5267
|
};
|
|
5220
5268
|
return __assign$b.apply(this, arguments);
|
|
5221
5269
|
};
|
|
5222
|
-
var __decorate$
|
|
5270
|
+
var __decorate$p = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5223
5271
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5224
5272
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5225
5273
|
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;
|
|
@@ -5278,13 +5326,13 @@
|
|
|
5278
5326
|
return result;
|
|
5279
5327
|
};
|
|
5280
5328
|
}
|
|
5281
|
-
ShipmentDataTransformer = __decorate$
|
|
5329
|
+
ShipmentDataTransformer = __decorate$p([
|
|
5282
5330
|
core.Injectable()
|
|
5283
5331
|
], ShipmentDataTransformer);
|
|
5284
5332
|
return ShipmentDataTransformer;
|
|
5285
5333
|
}());
|
|
5286
5334
|
|
|
5287
|
-
var __decorate$
|
|
5335
|
+
var __decorate$q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5288
5336
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5289
5337
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5290
5338
|
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;
|
|
@@ -5308,7 +5356,7 @@
|
|
|
5308
5356
|
{ type: Constants }
|
|
5309
5357
|
]; };
|
|
5310
5358
|
StoresService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function StoresService_Factory() { return new StoresService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants)); }, token: StoresService, providedIn: "root" });
|
|
5311
|
-
StoresService$1 = __decorate$
|
|
5359
|
+
StoresService$1 = __decorate$q([
|
|
5312
5360
|
core.Injectable({
|
|
5313
5361
|
providedIn: 'root'
|
|
5314
5362
|
})
|
|
@@ -5340,7 +5388,7 @@
|
|
|
5340
5388
|
};
|
|
5341
5389
|
return __assign$c.apply(this, arguments);
|
|
5342
5390
|
};
|
|
5343
|
-
var __decorate$
|
|
5391
|
+
var __decorate$r = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5344
5392
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5345
5393
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5346
5394
|
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;
|
|
@@ -5564,7 +5612,7 @@
|
|
|
5564
5612
|
{ type: StoresService },
|
|
5565
5613
|
{ type: CheckoutService }
|
|
5566
5614
|
]; };
|
|
5567
|
-
ShipmentService = __decorate$
|
|
5615
|
+
ShipmentService = __decorate$r([
|
|
5568
5616
|
core.Injectable()
|
|
5569
5617
|
], ShipmentService);
|
|
5570
5618
|
return ShipmentService;
|
|
@@ -5576,7 +5624,7 @@
|
|
|
5576
5624
|
FilterOptionTypes["multiSelect"] = "multi-select";
|
|
5577
5625
|
})(exports.FilterOptionTypes || (exports.FilterOptionTypes = {}));
|
|
5578
5626
|
|
|
5579
|
-
var __decorate$
|
|
5627
|
+
var __decorate$s = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5580
5628
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5581
5629
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5582
5630
|
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;
|
|
@@ -5665,13 +5713,13 @@
|
|
|
5665
5713
|
],
|
|
5666
5714
|
};
|
|
5667
5715
|
};
|
|
5668
|
-
OptionsOfProductListDataReceiverService = __decorate$
|
|
5716
|
+
OptionsOfProductListDataReceiverService = __decorate$s([
|
|
5669
5717
|
core.Injectable()
|
|
5670
5718
|
], OptionsOfProductListDataReceiverService);
|
|
5671
5719
|
return OptionsOfProductListDataReceiverService;
|
|
5672
5720
|
}());
|
|
5673
5721
|
|
|
5674
|
-
var __decorate$
|
|
5722
|
+
var __decorate$t = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5675
5723
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5676
5724
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5677
5725
|
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;
|
|
@@ -5708,13 +5756,13 @@
|
|
|
5708
5756
|
{ type: forms.FormBuilder },
|
|
5709
5757
|
{ type: AuthService }
|
|
5710
5758
|
]; };
|
|
5711
|
-
DataformService = __decorate$
|
|
5759
|
+
DataformService = __decorate$t([
|
|
5712
5760
|
core.Injectable()
|
|
5713
5761
|
], DataformService);
|
|
5714
5762
|
return DataformService;
|
|
5715
5763
|
}());
|
|
5716
5764
|
|
|
5717
|
-
var __decorate$
|
|
5765
|
+
var __decorate$u = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5718
5766
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5719
5767
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5720
5768
|
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;
|
|
@@ -5798,13 +5846,13 @@
|
|
|
5798
5846
|
{ type: Constants },
|
|
5799
5847
|
{ type: ConnectionService }
|
|
5800
5848
|
]; };
|
|
5801
|
-
BlocksRepositoryService = __decorate$
|
|
5849
|
+
BlocksRepositoryService = __decorate$u([
|
|
5802
5850
|
core.Injectable()
|
|
5803
5851
|
], BlocksRepositoryService);
|
|
5804
5852
|
return BlocksRepositoryService;
|
|
5805
5853
|
}());
|
|
5806
5854
|
|
|
5807
|
-
var __decorate$
|
|
5855
|
+
var __decorate$v = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5808
5856
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5809
5857
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5810
5858
|
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;
|
|
@@ -5871,13 +5919,13 @@
|
|
|
5871
5919
|
{ type: ConnectionService },
|
|
5872
5920
|
{ type: BlocksRepositoryService }
|
|
5873
5921
|
]; };
|
|
5874
|
-
BlocksService = __decorate$
|
|
5922
|
+
BlocksService = __decorate$v([
|
|
5875
5923
|
core.Injectable()
|
|
5876
5924
|
], BlocksService);
|
|
5877
5925
|
return BlocksService;
|
|
5878
5926
|
}());
|
|
5879
5927
|
|
|
5880
|
-
var __decorate$
|
|
5928
|
+
var __decorate$w = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5881
5929
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5882
5930
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5883
5931
|
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;
|
|
@@ -5891,13 +5939,13 @@
|
|
|
5891
5939
|
return word;
|
|
5892
5940
|
return word[0].toUpperCase() + word.substr(1).toLowerCase();
|
|
5893
5941
|
};
|
|
5894
|
-
UtilsService = __decorate$
|
|
5942
|
+
UtilsService = __decorate$w([
|
|
5895
5943
|
core.Injectable()
|
|
5896
5944
|
], UtilsService);
|
|
5897
5945
|
return UtilsService;
|
|
5898
5946
|
}());
|
|
5899
5947
|
|
|
5900
|
-
var __decorate$
|
|
5948
|
+
var __decorate$x = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5901
5949
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5902
5950
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5903
5951
|
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;
|
|
@@ -5926,13 +5974,13 @@
|
|
|
5926
5974
|
};
|
|
5927
5975
|
this.getErrorMessage = function (code) { return _this.mp_error_codes[code]; };
|
|
5928
5976
|
}
|
|
5929
|
-
PaymentUtils = __decorate$
|
|
5977
|
+
PaymentUtils = __decorate$x([
|
|
5930
5978
|
core.Injectable()
|
|
5931
5979
|
], PaymentUtils);
|
|
5932
5980
|
return PaymentUtils;
|
|
5933
5981
|
}());
|
|
5934
5982
|
|
|
5935
|
-
var __decorate$
|
|
5983
|
+
var __decorate$y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5936
5984
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5937
5985
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5938
5986
|
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;
|
|
@@ -5954,7 +6002,7 @@
|
|
|
5954
6002
|
{ type: router.Router }
|
|
5955
6003
|
]; };
|
|
5956
6004
|
AuthGuardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function AuthGuardService_Factory() { return new AuthGuardService(core.ɵɵinject(AuthService), core.ɵɵinject(router.Router)); }, token: AuthGuardService, providedIn: "root" });
|
|
5957
|
-
AuthGuardService$1 = __decorate$
|
|
6005
|
+
AuthGuardService$1 = __decorate$y([
|
|
5958
6006
|
core.Injectable({
|
|
5959
6007
|
providedIn: 'root'
|
|
5960
6008
|
})
|
|
@@ -5962,7 +6010,7 @@
|
|
|
5962
6010
|
return AuthGuardService$1;
|
|
5963
6011
|
}());
|
|
5964
6012
|
|
|
5965
|
-
var __decorate$
|
|
6013
|
+
var __decorate$z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5966
6014
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5967
6015
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5968
6016
|
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;
|
|
@@ -5984,7 +6032,7 @@
|
|
|
5984
6032
|
{ type: router.Router }
|
|
5985
6033
|
]; };
|
|
5986
6034
|
AbleBuyerGuardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function AbleBuyerGuardService_Factory() { return new AbleBuyerGuardService(core.ɵɵinject(AuthService), core.ɵɵinject(router.Router)); }, token: AbleBuyerGuardService, providedIn: "root" });
|
|
5987
|
-
AbleBuyerGuardService$1 = __decorate$
|
|
6035
|
+
AbleBuyerGuardService$1 = __decorate$z([
|
|
5988
6036
|
core.Injectable({
|
|
5989
6037
|
providedIn: 'root'
|
|
5990
6038
|
})
|
|
@@ -5992,7 +6040,7 @@
|
|
|
5992
6040
|
return AbleBuyerGuardService$1;
|
|
5993
6041
|
}());
|
|
5994
6042
|
|
|
5995
|
-
var __decorate$
|
|
6043
|
+
var __decorate$A = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5996
6044
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5997
6045
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5998
6046
|
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;
|
|
@@ -6016,7 +6064,7 @@
|
|
|
6016
6064
|
{ type: router.Router }
|
|
6017
6065
|
]; };
|
|
6018
6066
|
UserRoleGuardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function UserRoleGuardService_Factory() { return new UserRoleGuardService(core.ɵɵinject(AuthService), core.ɵɵinject(router.Router)); }, token: UserRoleGuardService, providedIn: "root" });
|
|
6019
|
-
UserRoleGuardService$1 = __decorate$
|
|
6067
|
+
UserRoleGuardService$1 = __decorate$A([
|
|
6020
6068
|
core.Injectable({
|
|
6021
6069
|
providedIn: 'root'
|
|
6022
6070
|
})
|
|
@@ -6024,7 +6072,7 @@
|
|
|
6024
6072
|
return UserRoleGuardService$1;
|
|
6025
6073
|
}());
|
|
6026
6074
|
|
|
6027
|
-
var __decorate$
|
|
6075
|
+
var __decorate$B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6028
6076
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6029
6077
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6030
6078
|
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;
|
|
@@ -6046,7 +6094,7 @@
|
|
|
6046
6094
|
{ type: router.Router }
|
|
6047
6095
|
]; };
|
|
6048
6096
|
LoggedInGuard$1.ɵprov = core.ɵɵdefineInjectable({ factory: function LoggedInGuard_Factory() { return new LoggedInGuard(core.ɵɵinject(AuthService), core.ɵɵinject(router.Router)); }, token: LoggedInGuard, providedIn: "root" });
|
|
6049
|
-
LoggedInGuard$1 = __decorate$
|
|
6097
|
+
LoggedInGuard$1 = __decorate$B([
|
|
6050
6098
|
core.Injectable({
|
|
6051
6099
|
providedIn: 'root'
|
|
6052
6100
|
})
|
|
@@ -6054,7 +6102,7 @@
|
|
|
6054
6102
|
return LoggedInGuard$1;
|
|
6055
6103
|
}());
|
|
6056
6104
|
|
|
6057
|
-
var __decorate$
|
|
6105
|
+
var __decorate$C = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6058
6106
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6059
6107
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6060
6108
|
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;
|
|
@@ -6076,7 +6124,7 @@
|
|
|
6076
6124
|
{ type: CheckoutService }
|
|
6077
6125
|
]; };
|
|
6078
6126
|
CheckoutReadyGuard$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CheckoutReadyGuard_Factory() { return new CheckoutReadyGuard(core.ɵɵinject(router.Router), core.ɵɵinject(CheckoutService)); }, token: CheckoutReadyGuard, providedIn: "root" });
|
|
6079
|
-
CheckoutReadyGuard$1 = __decorate$
|
|
6127
|
+
CheckoutReadyGuard$1 = __decorate$C([
|
|
6080
6128
|
core.Injectable({
|
|
6081
6129
|
providedIn: 'root'
|
|
6082
6130
|
})
|
|
@@ -6084,7 +6132,7 @@
|
|
|
6084
6132
|
return CheckoutReadyGuard$1;
|
|
6085
6133
|
}());
|
|
6086
6134
|
|
|
6087
|
-
var __decorate$
|
|
6135
|
+
var __decorate$D = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6088
6136
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6089
6137
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6090
6138
|
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;
|
|
@@ -6128,13 +6176,13 @@
|
|
|
6128
6176
|
AuthInterceptor.ctorParameters = function () { return [
|
|
6129
6177
|
{ type: core.Injector }
|
|
6130
6178
|
]; };
|
|
6131
|
-
AuthInterceptor = __decorate$
|
|
6179
|
+
AuthInterceptor = __decorate$D([
|
|
6132
6180
|
core.Injectable()
|
|
6133
6181
|
], AuthInterceptor);
|
|
6134
6182
|
return AuthInterceptor;
|
|
6135
6183
|
}());
|
|
6136
6184
|
|
|
6137
|
-
var __decorate$
|
|
6185
|
+
var __decorate$E = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6138
6186
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6139
6187
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6140
6188
|
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;
|
|
@@ -6172,7 +6220,7 @@
|
|
|
6172
6220
|
CustomerInterceptor.ctorParameters = function () { return [
|
|
6173
6221
|
{ type: core.Injector }
|
|
6174
6222
|
]; };
|
|
6175
|
-
CustomerInterceptor = __decorate$
|
|
6223
|
+
CustomerInterceptor = __decorate$E([
|
|
6176
6224
|
core.Injectable()
|
|
6177
6225
|
], CustomerInterceptor);
|
|
6178
6226
|
return CustomerInterceptor;
|
|
@@ -6195,7 +6243,7 @@
|
|
|
6195
6243
|
return ComponentHelper;
|
|
6196
6244
|
}());
|
|
6197
6245
|
|
|
6198
|
-
var __decorate$
|
|
6246
|
+
var __decorate$F = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6199
6247
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6200
6248
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6201
6249
|
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;
|
|
@@ -6253,7 +6301,7 @@
|
|
|
6253
6301
|
{ type: AnalyticsService }
|
|
6254
6302
|
]; };
|
|
6255
6303
|
ParametersService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ParametersService_Factory() { return new ParametersService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants), core.ɵɵinject(AnalyticsService)); }, token: ParametersService, providedIn: "root" });
|
|
6256
|
-
ParametersService$1 = __decorate$
|
|
6304
|
+
ParametersService$1 = __decorate$F([
|
|
6257
6305
|
core.Injectable({
|
|
6258
6306
|
providedIn: 'root'
|
|
6259
6307
|
})
|
|
@@ -6274,7 +6322,7 @@
|
|
|
6274
6322
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6275
6323
|
};
|
|
6276
6324
|
})();
|
|
6277
|
-
var __decorate$
|
|
6325
|
+
var __decorate$G = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6278
6326
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6279
6327
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6280
6328
|
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;
|
|
@@ -6307,7 +6355,7 @@
|
|
|
6307
6355
|
{ type: router.Router },
|
|
6308
6356
|
{ type: ParametersService }
|
|
6309
6357
|
]; };
|
|
6310
|
-
AccountEcComponent = __decorate$
|
|
6358
|
+
AccountEcComponent = __decorate$G([
|
|
6311
6359
|
core.Component({
|
|
6312
6360
|
selector: 'app-account-ec',
|
|
6313
6361
|
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>",
|
|
@@ -6341,7 +6389,7 @@
|
|
|
6341
6389
|
};
|
|
6342
6390
|
return __assign$d.apply(this, arguments);
|
|
6343
6391
|
};
|
|
6344
|
-
var __decorate$
|
|
6392
|
+
var __decorate$H = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6345
6393
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6346
6394
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6347
6395
|
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;
|
|
@@ -6448,25 +6496,25 @@
|
|
|
6448
6496
|
{ type: AnalyticsService },
|
|
6449
6497
|
{ type: ParametersService }
|
|
6450
6498
|
]; };
|
|
6451
|
-
__decorate$
|
|
6499
|
+
__decorate$H([
|
|
6452
6500
|
core.Input()
|
|
6453
6501
|
], BlockBannerBoxesEcComponent.prototype, "banners", void 0);
|
|
6454
|
-
__decorate$
|
|
6502
|
+
__decorate$H([
|
|
6455
6503
|
core.Input()
|
|
6456
6504
|
], BlockBannerBoxesEcComponent.prototype, "meta", void 0);
|
|
6457
|
-
__decorate$
|
|
6505
|
+
__decorate$H([
|
|
6458
6506
|
core.Input()
|
|
6459
6507
|
], BlockBannerBoxesEcComponent.prototype, "dots", void 0);
|
|
6460
|
-
__decorate$
|
|
6508
|
+
__decorate$H([
|
|
6461
6509
|
core.Input()
|
|
6462
6510
|
], BlockBannerBoxesEcComponent.prototype, "nav", void 0);
|
|
6463
|
-
__decorate$
|
|
6511
|
+
__decorate$H([
|
|
6464
6512
|
core.Input()
|
|
6465
6513
|
], BlockBannerBoxesEcComponent.prototype, "loop", void 0);
|
|
6466
|
-
__decorate$
|
|
6514
|
+
__decorate$H([
|
|
6467
6515
|
core.Input()
|
|
6468
6516
|
], BlockBannerBoxesEcComponent.prototype, "margin", void 0);
|
|
6469
|
-
BlockBannerBoxesEcComponent = __decorate$
|
|
6517
|
+
BlockBannerBoxesEcComponent = __decorate$H([
|
|
6470
6518
|
core.Component({
|
|
6471
6519
|
selector: 'app-block-banner-boxes-ec',
|
|
6472
6520
|
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>",
|
|
@@ -6500,7 +6548,7 @@
|
|
|
6500
6548
|
};
|
|
6501
6549
|
return __assign$e.apply(this, arguments);
|
|
6502
6550
|
};
|
|
6503
|
-
var __decorate$
|
|
6551
|
+
var __decorate$I = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6504
6552
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6505
6553
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6506
6554
|
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;
|
|
@@ -6579,25 +6627,25 @@
|
|
|
6579
6627
|
{ type: router.Router },
|
|
6580
6628
|
{ type: AnalyticsService }
|
|
6581
6629
|
]; };
|
|
6582
|
-
__decorate$
|
|
6630
|
+
__decorate$I([
|
|
6583
6631
|
core.Input()
|
|
6584
6632
|
], BlockBannerFullEcComponent.prototype, "banners", void 0);
|
|
6585
|
-
__decorate$
|
|
6633
|
+
__decorate$I([
|
|
6586
6634
|
core.Input()
|
|
6587
6635
|
], BlockBannerFullEcComponent.prototype, "meta", void 0);
|
|
6588
|
-
__decorate$
|
|
6636
|
+
__decorate$I([
|
|
6589
6637
|
core.Input()
|
|
6590
6638
|
], BlockBannerFullEcComponent.prototype, "dots", void 0);
|
|
6591
|
-
__decorate$
|
|
6639
|
+
__decorate$I([
|
|
6592
6640
|
core.Input()
|
|
6593
6641
|
], BlockBannerFullEcComponent.prototype, "nav", void 0);
|
|
6594
|
-
__decorate$
|
|
6642
|
+
__decorate$I([
|
|
6595
6643
|
core.Input()
|
|
6596
6644
|
], BlockBannerFullEcComponent.prototype, "loop", void 0);
|
|
6597
|
-
__decorate$
|
|
6645
|
+
__decorate$I([
|
|
6598
6646
|
core.Input()
|
|
6599
6647
|
], BlockBannerFullEcComponent.prototype, "margin", void 0);
|
|
6600
|
-
BlockBannerFullEcComponent = __decorate$
|
|
6648
|
+
BlockBannerFullEcComponent = __decorate$I([
|
|
6601
6649
|
core.Component({
|
|
6602
6650
|
selector: 'app-block-banner-full-ec',
|
|
6603
6651
|
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",
|
|
@@ -6631,7 +6679,7 @@
|
|
|
6631
6679
|
};
|
|
6632
6680
|
return __assign$f.apply(this, arguments);
|
|
6633
6681
|
};
|
|
6634
|
-
var __decorate$
|
|
6682
|
+
var __decorate$J = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6635
6683
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6636
6684
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6637
6685
|
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;
|
|
@@ -6741,19 +6789,19 @@
|
|
|
6741
6789
|
{ type: forms.FormBuilder },
|
|
6742
6790
|
{ type: BlocksService }
|
|
6743
6791
|
]; };
|
|
6744
|
-
__decorate$
|
|
6792
|
+
__decorate$J([
|
|
6745
6793
|
core.Input()
|
|
6746
6794
|
], BlockFormContactEcComponent.prototype, "block", void 0);
|
|
6747
|
-
__decorate$
|
|
6795
|
+
__decorate$J([
|
|
6748
6796
|
core.Input()
|
|
6749
6797
|
], BlockFormContactEcComponent.prototype, "success_message", void 0);
|
|
6750
|
-
__decorate$
|
|
6798
|
+
__decorate$J([
|
|
6751
6799
|
core.Input()
|
|
6752
6800
|
], BlockFormContactEcComponent.prototype, "redirect", void 0);
|
|
6753
|
-
__decorate$
|
|
6801
|
+
__decorate$J([
|
|
6754
6802
|
core.Input()
|
|
6755
6803
|
], BlockFormContactEcComponent.prototype, "subject", void 0);
|
|
6756
|
-
BlockFormContactEcComponent = __decorate$
|
|
6804
|
+
BlockFormContactEcComponent = __decorate$J([
|
|
6757
6805
|
core.Component({
|
|
6758
6806
|
selector: 'app-block-form-contact-ec',
|
|
6759
6807
|
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>",
|
|
@@ -6776,7 +6824,7 @@
|
|
|
6776
6824
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6777
6825
|
};
|
|
6778
6826
|
})();
|
|
6779
|
-
var __decorate$
|
|
6827
|
+
var __decorate$K = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6780
6828
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6781
6829
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6782
6830
|
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;
|
|
@@ -6800,10 +6848,10 @@
|
|
|
6800
6848
|
BlockHtmlEcComponent.ctorParameters = function () { return [
|
|
6801
6849
|
{ type: platformBrowser.DomSanitizer }
|
|
6802
6850
|
]; };
|
|
6803
|
-
__decorate$
|
|
6851
|
+
__decorate$K([
|
|
6804
6852
|
core.Input()
|
|
6805
6853
|
], BlockHtmlEcComponent.prototype, "html_content", void 0);
|
|
6806
|
-
BlockHtmlEcComponent = __decorate$
|
|
6854
|
+
BlockHtmlEcComponent = __decorate$K([
|
|
6807
6855
|
core.Component({
|
|
6808
6856
|
selector: 'app-block-html-ec',
|
|
6809
6857
|
template: "<div [innerHTML]=\"html_content\"></div>",
|
|
@@ -6837,7 +6885,7 @@
|
|
|
6837
6885
|
};
|
|
6838
6886
|
return __assign$g.apply(this, arguments);
|
|
6839
6887
|
};
|
|
6840
|
-
var __decorate$
|
|
6888
|
+
var __decorate$L = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6841
6889
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6842
6890
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6843
6891
|
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;
|
|
@@ -6954,22 +7002,22 @@
|
|
|
6954
7002
|
{ type: BlocksService },
|
|
6955
7003
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
|
|
6956
7004
|
]; };
|
|
6957
|
-
__decorate$
|
|
7005
|
+
__decorate$L([
|
|
6958
7006
|
core.Input()
|
|
6959
7007
|
], ContactFormNewsEcComponent.prototype, "block", void 0);
|
|
6960
|
-
__decorate$
|
|
7008
|
+
__decorate$L([
|
|
6961
7009
|
core.Input()
|
|
6962
7010
|
], ContactFormNewsEcComponent.prototype, "complete", void 0);
|
|
6963
|
-
__decorate$
|
|
7011
|
+
__decorate$L([
|
|
6964
7012
|
core.Input()
|
|
6965
7013
|
], ContactFormNewsEcComponent.prototype, "success_message", void 0);
|
|
6966
|
-
__decorate$
|
|
7014
|
+
__decorate$L([
|
|
6967
7015
|
core.Input()
|
|
6968
7016
|
], ContactFormNewsEcComponent.prototype, "subject", void 0);
|
|
6969
|
-
__decorate$
|
|
7017
|
+
__decorate$L([
|
|
6970
7018
|
core.Input()
|
|
6971
7019
|
], ContactFormNewsEcComponent.prototype, "codeBlock", void 0);
|
|
6972
|
-
ContactFormNewsEcComponent = __decorate$
|
|
7020
|
+
ContactFormNewsEcComponent = __decorate$L([
|
|
6973
7021
|
core.Component({
|
|
6974
7022
|
selector: 'app-contact-form-news-ec',
|
|
6975
7023
|
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>",
|
|
@@ -7005,7 +7053,7 @@
|
|
|
7005
7053
|
};
|
|
7006
7054
|
return __assign$h.apply(this, arguments);
|
|
7007
7055
|
};
|
|
7008
|
-
var __decorate$
|
|
7056
|
+
var __decorate$M = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7009
7057
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7010
7058
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7011
7059
|
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;
|
|
@@ -7091,28 +7139,28 @@
|
|
|
7091
7139
|
{ type: Constants },
|
|
7092
7140
|
{ type: AnalyticsService }
|
|
7093
7141
|
]; };
|
|
7094
|
-
__decorate$
|
|
7142
|
+
__decorate$M([
|
|
7095
7143
|
core.Input()
|
|
7096
7144
|
], BlockProductsEcComponent.prototype, "appProduct", void 0);
|
|
7097
|
-
__decorate$
|
|
7145
|
+
__decorate$M([
|
|
7098
7146
|
core.Input()
|
|
7099
7147
|
], BlockProductsEcComponent.prototype, "products", void 0);
|
|
7100
|
-
__decorate$
|
|
7148
|
+
__decorate$M([
|
|
7101
7149
|
core.Input()
|
|
7102
7150
|
], BlockProductsEcComponent.prototype, "meta", void 0);
|
|
7103
|
-
__decorate$
|
|
7151
|
+
__decorate$M([
|
|
7104
7152
|
core.Input()
|
|
7105
7153
|
], BlockProductsEcComponent.prototype, "dots", void 0);
|
|
7106
|
-
__decorate$
|
|
7154
|
+
__decorate$M([
|
|
7107
7155
|
core.Input()
|
|
7108
7156
|
], BlockProductsEcComponent.prototype, "nav", void 0);
|
|
7109
|
-
__decorate$
|
|
7157
|
+
__decorate$M([
|
|
7110
7158
|
core.Input()
|
|
7111
7159
|
], BlockProductsEcComponent.prototype, "loop", void 0);
|
|
7112
|
-
__decorate$
|
|
7160
|
+
__decorate$M([
|
|
7113
7161
|
core.Input()
|
|
7114
7162
|
], BlockProductsEcComponent.prototype, "margin", void 0);
|
|
7115
|
-
BlockProductsEcComponent = __decorate$
|
|
7163
|
+
BlockProductsEcComponent = __decorate$M([
|
|
7116
7164
|
core.Component({
|
|
7117
7165
|
selector: 'app-block-products-ec',
|
|
7118
7166
|
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>",
|
|
@@ -7135,7 +7183,7 @@
|
|
|
7135
7183
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7136
7184
|
};
|
|
7137
7185
|
})();
|
|
7138
|
-
var __decorate$
|
|
7186
|
+
var __decorate$N = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7139
7187
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7140
7188
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7141
7189
|
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;
|
|
@@ -7180,22 +7228,22 @@
|
|
|
7180
7228
|
{ type: Constants },
|
|
7181
7229
|
{ type: AnalyticsService }
|
|
7182
7230
|
]; };
|
|
7183
|
-
__decorate$
|
|
7231
|
+
__decorate$N([
|
|
7184
7232
|
core.Input()
|
|
7185
7233
|
], BlocksEcComponent.prototype, "appProduct", void 0);
|
|
7186
|
-
__decorate$
|
|
7234
|
+
__decorate$N([
|
|
7187
7235
|
core.Input()
|
|
7188
7236
|
], BlocksEcComponent.prototype, "templates", void 0);
|
|
7189
|
-
__decorate$
|
|
7237
|
+
__decorate$N([
|
|
7190
7238
|
core.Input()
|
|
7191
7239
|
], BlocksEcComponent.prototype, "blockFilters", void 0);
|
|
7192
|
-
__decorate$
|
|
7240
|
+
__decorate$N([
|
|
7193
7241
|
core.Input()
|
|
7194
7242
|
], BlocksEcComponent.prototype, "section", null);
|
|
7195
|
-
__decorate$
|
|
7243
|
+
__decorate$N([
|
|
7196
7244
|
core.Input()
|
|
7197
7245
|
], BlocksEcComponent.prototype, "show_loading", void 0);
|
|
7198
|
-
BlocksEcComponent = __decorate$
|
|
7246
|
+
BlocksEcComponent = __decorate$N([
|
|
7199
7247
|
core.Component({
|
|
7200
7248
|
selector: 'app-blocks-ec',
|
|
7201
7249
|
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>",
|
|
@@ -7219,7 +7267,7 @@
|
|
|
7219
7267
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7220
7268
|
};
|
|
7221
7269
|
})();
|
|
7222
|
-
var __decorate$
|
|
7270
|
+
var __decorate$O = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7223
7271
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7224
7272
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7225
7273
|
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;
|
|
@@ -7652,7 +7700,7 @@
|
|
|
7652
7700
|
{ type: ToastService },
|
|
7653
7701
|
{ type: AddressingService }
|
|
7654
7702
|
]; };
|
|
7655
|
-
CartEcComponent = __decorate$
|
|
7703
|
+
CartEcComponent = __decorate$O([
|
|
7656
7704
|
core.Component({
|
|
7657
7705
|
selector: 'app-cart-ec',
|
|
7658
7706
|
template: "",
|
|
@@ -7675,7 +7723,7 @@
|
|
|
7675
7723
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7676
7724
|
};
|
|
7677
7725
|
})();
|
|
7678
|
-
var __decorate$
|
|
7726
|
+
var __decorate$P = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7679
7727
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7680
7728
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7681
7729
|
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;
|
|
@@ -7803,7 +7851,7 @@
|
|
|
7803
7851
|
{ type: ProductsService },
|
|
7804
7852
|
{ type: ChannelConfigService }
|
|
7805
7853
|
]; };
|
|
7806
|
-
CheckoutEcComponent = __decorate$
|
|
7854
|
+
CheckoutEcComponent = __decorate$P([
|
|
7807
7855
|
core.Component({
|
|
7808
7856
|
selector: 'app-checkout-ec',
|
|
7809
7857
|
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> -->",
|
|
@@ -7837,7 +7885,7 @@
|
|
|
7837
7885
|
};
|
|
7838
7886
|
return __assign$i.apply(this, arguments);
|
|
7839
7887
|
};
|
|
7840
|
-
var __decorate$
|
|
7888
|
+
var __decorate$Q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7841
7889
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7842
7890
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7843
7891
|
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;
|
|
@@ -8218,16 +8266,16 @@
|
|
|
8218
8266
|
{ type: Constants },
|
|
8219
8267
|
{ type: ChannelConfigService }
|
|
8220
8268
|
]; };
|
|
8221
|
-
__decorate$
|
|
8269
|
+
__decorate$Q([
|
|
8222
8270
|
core.Input()
|
|
8223
8271
|
], DataFormEcComponent.prototype, "step_id", void 0);
|
|
8224
|
-
__decorate$
|
|
8272
|
+
__decorate$Q([
|
|
8225
8273
|
core.Input()
|
|
8226
8274
|
], DataFormEcComponent.prototype, "isLastOne", void 0);
|
|
8227
|
-
__decorate$
|
|
8275
|
+
__decorate$Q([
|
|
8228
8276
|
core.Input()
|
|
8229
8277
|
], DataFormEcComponent.prototype, "nextStep", void 0);
|
|
8230
|
-
DataFormEcComponent = __decorate$
|
|
8278
|
+
DataFormEcComponent = __decorate$Q([
|
|
8231
8279
|
core.Component({
|
|
8232
8280
|
selector: 'app-dataform-ec',
|
|
8233
8281
|
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>",
|
|
@@ -8251,7 +8299,7 @@
|
|
|
8251
8299
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8252
8300
|
};
|
|
8253
8301
|
})();
|
|
8254
|
-
var __decorate$
|
|
8302
|
+
var __decorate$R = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8255
8303
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8256
8304
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8257
8305
|
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;
|
|
@@ -8346,7 +8394,7 @@
|
|
|
8346
8394
|
{ type: CheckoutService },
|
|
8347
8395
|
{ type: AnalyticsService }
|
|
8348
8396
|
]; };
|
|
8349
|
-
PaymentService = __decorate$
|
|
8397
|
+
PaymentService = __decorate$R([
|
|
8350
8398
|
core.Injectable()
|
|
8351
8399
|
], PaymentService);
|
|
8352
8400
|
return PaymentService;
|
|
@@ -8376,7 +8424,7 @@
|
|
|
8376
8424
|
};
|
|
8377
8425
|
return __assign$j.apply(this, arguments);
|
|
8378
8426
|
};
|
|
8379
|
-
var __decorate$
|
|
8427
|
+
var __decorate$S = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8380
8428
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8381
8429
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8382
8430
|
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;
|
|
@@ -8545,13 +8593,13 @@
|
|
|
8545
8593
|
{ type: PaymentService },
|
|
8546
8594
|
{ type: CheckoutService }
|
|
8547
8595
|
]; };
|
|
8548
|
-
__decorate$
|
|
8596
|
+
__decorate$S([
|
|
8549
8597
|
core.Input()
|
|
8550
8598
|
], PaymentEcComponent.prototype, "step_id", void 0);
|
|
8551
|
-
__decorate$
|
|
8599
|
+
__decorate$S([
|
|
8552
8600
|
core.ViewChild('formContainer')
|
|
8553
8601
|
], PaymentEcComponent.prototype, "mercadopago_button", void 0);
|
|
8554
|
-
PaymentEcComponent = __decorate$
|
|
8602
|
+
PaymentEcComponent = __decorate$S([
|
|
8555
8603
|
core.Component({
|
|
8556
8604
|
selector: 'app-payment-ec',
|
|
8557
8605
|
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",
|
|
@@ -8586,7 +8634,7 @@
|
|
|
8586
8634
|
};
|
|
8587
8635
|
return __assign$k.apply(this, arguments);
|
|
8588
8636
|
};
|
|
8589
|
-
var __decorate$
|
|
8637
|
+
var __decorate$T = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8590
8638
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8591
8639
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8592
8640
|
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;
|
|
@@ -8703,10 +8751,10 @@
|
|
|
8703
8751
|
{ type: ProductsService },
|
|
8704
8752
|
{ type: CheckoutService }
|
|
8705
8753
|
]; };
|
|
8706
|
-
__decorate$
|
|
8754
|
+
__decorate$T([
|
|
8707
8755
|
core.Input()
|
|
8708
8756
|
], ShipmentEcComponent.prototype, "step_id", void 0);
|
|
8709
|
-
ShipmentEcComponent = __decorate$
|
|
8757
|
+
ShipmentEcComponent = __decorate$T([
|
|
8710
8758
|
core.Component({
|
|
8711
8759
|
selector: 'app-shipment-ec',
|
|
8712
8760
|
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",
|
|
@@ -8730,7 +8778,7 @@
|
|
|
8730
8778
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8731
8779
|
};
|
|
8732
8780
|
})();
|
|
8733
|
-
var __decorate$
|
|
8781
|
+
var __decorate$U = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8734
8782
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8735
8783
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8736
8784
|
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;
|
|
@@ -8781,7 +8829,7 @@
|
|
|
8781
8829
|
{ type: BlocksService },
|
|
8782
8830
|
{ type: Constants }
|
|
8783
8831
|
]; };
|
|
8784
|
-
SuccessEcComponent = __decorate$
|
|
8832
|
+
SuccessEcComponent = __decorate$U([
|
|
8785
8833
|
core.Component({
|
|
8786
8834
|
selector: 'app-order-success-ec',
|
|
8787
8835
|
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>",
|
|
@@ -8804,7 +8852,7 @@
|
|
|
8804
8852
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8805
8853
|
};
|
|
8806
8854
|
})();
|
|
8807
|
-
var __decorate$
|
|
8855
|
+
var __decorate$V = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8808
8856
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8809
8857
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8810
8858
|
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;
|
|
@@ -9016,19 +9064,19 @@
|
|
|
9016
9064
|
{ type: Constants },
|
|
9017
9065
|
{ type: FiltersService }
|
|
9018
9066
|
]; };
|
|
9019
|
-
__decorate$
|
|
9067
|
+
__decorate$V([
|
|
9020
9068
|
core.Input()
|
|
9021
9069
|
], CollectionEcComponent.prototype, "type", void 0);
|
|
9022
|
-
__decorate$
|
|
9070
|
+
__decorate$V([
|
|
9023
9071
|
core.Input()
|
|
9024
9072
|
], CollectionEcComponent.prototype, "value", void 0);
|
|
9025
|
-
__decorate$
|
|
9073
|
+
__decorate$V([
|
|
9026
9074
|
core.Input()
|
|
9027
9075
|
], CollectionEcComponent.prototype, "productsWithUniqueVariant", void 0);
|
|
9028
|
-
__decorate$
|
|
9076
|
+
__decorate$V([
|
|
9029
9077
|
core.Input()
|
|
9030
9078
|
], CollectionEcComponent.prototype, "optionsFilters", void 0);
|
|
9031
|
-
CollectionEcComponent = __decorate$
|
|
9079
|
+
CollectionEcComponent = __decorate$V([
|
|
9032
9080
|
core.Component({
|
|
9033
9081
|
selector: 'app-collection-ec',
|
|
9034
9082
|
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>",
|
|
@@ -9051,7 +9099,7 @@
|
|
|
9051
9099
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9052
9100
|
};
|
|
9053
9101
|
})();
|
|
9054
|
-
var __decorate$
|
|
9102
|
+
var __decorate$W = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9055
9103
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9056
9104
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9057
9105
|
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;
|
|
@@ -9094,7 +9142,7 @@
|
|
|
9094
9142
|
{ type: CartService },
|
|
9095
9143
|
{ type: ToastService }
|
|
9096
9144
|
]; };
|
|
9097
|
-
CouponEcComponent = __decorate$
|
|
9145
|
+
CouponEcComponent = __decorate$W([
|
|
9098
9146
|
core.Component({
|
|
9099
9147
|
selector: 'app-coupon-ec',
|
|
9100
9148
|
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> -->",
|
|
@@ -9117,7 +9165,7 @@
|
|
|
9117
9165
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9118
9166
|
};
|
|
9119
9167
|
})();
|
|
9120
|
-
var __decorate$
|
|
9168
|
+
var __decorate$X = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9121
9169
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9122
9170
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9123
9171
|
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;
|
|
@@ -9155,7 +9203,7 @@
|
|
|
9155
9203
|
{ type: OptionsService },
|
|
9156
9204
|
{ type: ToastService }
|
|
9157
9205
|
]; };
|
|
9158
|
-
FaqsContentEcComponent = __decorate$
|
|
9206
|
+
FaqsContentEcComponent = __decorate$X([
|
|
9159
9207
|
core.Component({
|
|
9160
9208
|
selector: 'app-faqs-content-ec',
|
|
9161
9209
|
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>",
|
|
@@ -9178,7 +9226,7 @@
|
|
|
9178
9226
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9179
9227
|
};
|
|
9180
9228
|
})();
|
|
9181
|
-
var __decorate$
|
|
9229
|
+
var __decorate$Y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9182
9230
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9183
9231
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9184
9232
|
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;
|
|
@@ -9252,13 +9300,13 @@
|
|
|
9252
9300
|
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
9253
9301
|
{ type: FiltersService }
|
|
9254
9302
|
]; };
|
|
9255
|
-
__decorate$
|
|
9303
|
+
__decorate$Y([
|
|
9256
9304
|
core.Input()
|
|
9257
9305
|
], FiltersEcComponent.prototype, "setSelected", void 0);
|
|
9258
|
-
__decorate$
|
|
9306
|
+
__decorate$Y([
|
|
9259
9307
|
core.Input()
|
|
9260
9308
|
], FiltersEcComponent.prototype, "filters", void 0);
|
|
9261
|
-
FiltersEcComponent = __decorate$
|
|
9309
|
+
FiltersEcComponent = __decorate$Y([
|
|
9262
9310
|
core.Component({
|
|
9263
9311
|
selector: 'app-filters-ec',
|
|
9264
9312
|
template: "",
|
|
@@ -9282,7 +9330,7 @@
|
|
|
9282
9330
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9283
9331
|
};
|
|
9284
9332
|
})();
|
|
9285
|
-
var __decorate$
|
|
9333
|
+
var __decorate$Z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9286
9334
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9287
9335
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9288
9336
|
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;
|
|
@@ -9359,19 +9407,19 @@
|
|
|
9359
9407
|
{ type: Constants },
|
|
9360
9408
|
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }
|
|
9361
9409
|
]; };
|
|
9362
|
-
__decorate$
|
|
9410
|
+
__decorate$Z([
|
|
9363
9411
|
core.Input()
|
|
9364
9412
|
], FiltersTopEcComponent.prototype, "setSelected", void 0);
|
|
9365
|
-
__decorate$
|
|
9413
|
+
__decorate$Z([
|
|
9366
9414
|
core.Input()
|
|
9367
9415
|
], FiltersTopEcComponent.prototype, "filters", void 0);
|
|
9368
|
-
__decorate$
|
|
9416
|
+
__decorate$Z([
|
|
9369
9417
|
core.Input()
|
|
9370
9418
|
], FiltersTopEcComponent.prototype, "full", void 0);
|
|
9371
|
-
__decorate$
|
|
9419
|
+
__decorate$Z([
|
|
9372
9420
|
core.Output()
|
|
9373
9421
|
], FiltersTopEcComponent.prototype, "changeFilter", void 0);
|
|
9374
|
-
FiltersTopEcComponent = __decorate$
|
|
9422
|
+
FiltersTopEcComponent = __decorate$Z([
|
|
9375
9423
|
core.Component({
|
|
9376
9424
|
selector: 'app-filters-top-ec',
|
|
9377
9425
|
template: "",
|
|
@@ -9406,7 +9454,7 @@
|
|
|
9406
9454
|
};
|
|
9407
9455
|
return __assign$l.apply(this, arguments);
|
|
9408
9456
|
};
|
|
9409
|
-
var __decorate$
|
|
9457
|
+
var __decorate$_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9410
9458
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9411
9459
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9412
9460
|
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;
|
|
@@ -9475,7 +9523,7 @@
|
|
|
9475
9523
|
{ type: ParametersService },
|
|
9476
9524
|
{ type: Constants }
|
|
9477
9525
|
]; };
|
|
9478
|
-
FooterEcComponent = __decorate$
|
|
9526
|
+
FooterEcComponent = __decorate$_([
|
|
9479
9527
|
core.Component({
|
|
9480
9528
|
selector: 'app-footer-ec',
|
|
9481
9529
|
template: "",
|
|
@@ -9509,7 +9557,7 @@
|
|
|
9509
9557
|
};
|
|
9510
9558
|
return __assign$m.apply(this, arguments);
|
|
9511
9559
|
};
|
|
9512
|
-
var __decorate
|
|
9560
|
+
var __decorate$$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9513
9561
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9514
9562
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9515
9563
|
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;
|
|
@@ -9704,10 +9752,10 @@
|
|
|
9704
9752
|
{ type: core.Renderer2 },
|
|
9705
9753
|
{ type: ChannelConfigService }
|
|
9706
9754
|
]; };
|
|
9707
|
-
__decorate
|
|
9755
|
+
__decorate$$([
|
|
9708
9756
|
core.ViewChild("menu")
|
|
9709
9757
|
], HeaderEcComponent.prototype, "menu_button", void 0);
|
|
9710
|
-
HeaderEcComponent = __decorate
|
|
9758
|
+
HeaderEcComponent = __decorate$$([
|
|
9711
9759
|
core.Component({
|
|
9712
9760
|
selector: 'app-header-ec',
|
|
9713
9761
|
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> -->",
|
|
@@ -9730,7 +9778,7 @@
|
|
|
9730
9778
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9731
9779
|
};
|
|
9732
9780
|
})();
|
|
9733
|
-
var __decorate
|
|
9781
|
+
var __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9734
9782
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9735
9783
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9736
9784
|
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;
|
|
@@ -9755,7 +9803,7 @@
|
|
|
9755
9803
|
{ type: BlocksService },
|
|
9756
9804
|
{ type: Constants }
|
|
9757
9805
|
]; };
|
|
9758
|
-
HomeEcComponent = __decorate
|
|
9806
|
+
HomeEcComponent = __decorate$10([
|
|
9759
9807
|
core.Component({
|
|
9760
9808
|
selector: 'app-home-ec',
|
|
9761
9809
|
template: "<app-blocks-ec [section]=\"'home'\"></app-blocks-ec>",
|
|
@@ -9778,7 +9826,7 @@
|
|
|
9778
9826
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9779
9827
|
};
|
|
9780
9828
|
})();
|
|
9781
|
-
var __decorate$
|
|
9829
|
+
var __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9782
9830
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9783
9831
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9784
9832
|
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;
|
|
@@ -9848,25 +9896,25 @@
|
|
|
9848
9896
|
{ type: forms.FormBuilder },
|
|
9849
9897
|
{ type: router.Router }
|
|
9850
9898
|
]; };
|
|
9851
|
-
__decorate$
|
|
9899
|
+
__decorate$11([
|
|
9852
9900
|
core.Input()
|
|
9853
9901
|
], LoginEcComponent.prototype, "redirect", void 0);
|
|
9854
|
-
__decorate$
|
|
9902
|
+
__decorate$11([
|
|
9855
9903
|
core.Input()
|
|
9856
9904
|
], LoginEcComponent.prototype, "title", void 0);
|
|
9857
|
-
__decorate$
|
|
9905
|
+
__decorate$11([
|
|
9858
9906
|
core.Input()
|
|
9859
9907
|
], LoginEcComponent.prototype, "buyButton", void 0);
|
|
9860
|
-
__decorate$
|
|
9908
|
+
__decorate$11([
|
|
9861
9909
|
core.Input()
|
|
9862
9910
|
], LoginEcComponent.prototype, "withRoles", void 0);
|
|
9863
|
-
__decorate$
|
|
9911
|
+
__decorate$11([
|
|
9864
9912
|
core.Output()
|
|
9865
9913
|
], LoginEcComponent.prototype, "ready", void 0);
|
|
9866
|
-
__decorate$
|
|
9914
|
+
__decorate$11([
|
|
9867
9915
|
core.Output()
|
|
9868
9916
|
], LoginEcComponent.prototype, "loggedIn", void 0);
|
|
9869
|
-
LoginEcComponent = __decorate$
|
|
9917
|
+
LoginEcComponent = __decorate$11([
|
|
9870
9918
|
core.Component({
|
|
9871
9919
|
selector: 'app-login-ec',
|
|
9872
9920
|
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>",
|
|
@@ -9876,7 +9924,7 @@
|
|
|
9876
9924
|
return LoginEcComponent;
|
|
9877
9925
|
}(ComponentHelper));
|
|
9878
9926
|
|
|
9879
|
-
var __decorate$
|
|
9927
|
+
var __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9880
9928
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9881
9929
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9882
9930
|
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;
|
|
@@ -10064,7 +10112,7 @@
|
|
|
10064
10112
|
{ type: core.Injector }
|
|
10065
10113
|
]; };
|
|
10066
10114
|
CurrencyService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CurrencyService_Factory() { return new CurrencyService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService), core.ɵɵinject(ToastService), core.ɵɵinject(core.INJECTOR)); }, token: CurrencyService, providedIn: "root" });
|
|
10067
|
-
CurrencyService$1 = __decorate$
|
|
10115
|
+
CurrencyService$1 = __decorate$12([
|
|
10068
10116
|
core.Injectable({
|
|
10069
10117
|
providedIn: 'root'
|
|
10070
10118
|
})
|
|
@@ -10083,7 +10131,7 @@
|
|
|
10083
10131
|
};
|
|
10084
10132
|
return __assign$n.apply(this, arguments);
|
|
10085
10133
|
};
|
|
10086
|
-
var __decorate$
|
|
10134
|
+
var __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10087
10135
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10088
10136
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10089
10137
|
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;
|
|
@@ -10549,7 +10597,7 @@
|
|
|
10549
10597
|
{ type: AnalyticsService },
|
|
10550
10598
|
{ type: CurrencyService }
|
|
10551
10599
|
]; };
|
|
10552
|
-
ProductDetailService = __decorate$
|
|
10600
|
+
ProductDetailService = __decorate$13([
|
|
10553
10601
|
core.Injectable()
|
|
10554
10602
|
], ProductDetailService);
|
|
10555
10603
|
return ProductDetailService;
|
|
@@ -10579,7 +10627,7 @@
|
|
|
10579
10627
|
};
|
|
10580
10628
|
return __assign$o.apply(this, arguments);
|
|
10581
10629
|
};
|
|
10582
|
-
var __decorate$
|
|
10630
|
+
var __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10583
10631
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10584
10632
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10585
10633
|
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;
|
|
@@ -10718,10 +10766,10 @@
|
|
|
10718
10766
|
{ type: platformBrowser.Meta },
|
|
10719
10767
|
{ type: core.Injector }
|
|
10720
10768
|
]; };
|
|
10721
|
-
__decorate$
|
|
10769
|
+
__decorate$14([
|
|
10722
10770
|
core.ViewChild('contact')
|
|
10723
10771
|
], ProductDetailEcComponent.prototype, "contact", void 0);
|
|
10724
|
-
ProductDetailEcComponent = __decorate$
|
|
10772
|
+
ProductDetailEcComponent = __decorate$14([
|
|
10725
10773
|
core.Component({
|
|
10726
10774
|
selector: 'app-product-detail-ec',
|
|
10727
10775
|
template: "",
|
|
@@ -10745,7 +10793,7 @@
|
|
|
10745
10793
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10746
10794
|
};
|
|
10747
10795
|
})();
|
|
10748
|
-
var __decorate$
|
|
10796
|
+
var __decorate$15 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10749
10797
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10750
10798
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10751
10799
|
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;
|
|
@@ -10847,13 +10895,13 @@
|
|
|
10847
10895
|
{ type: ToastService },
|
|
10848
10896
|
{ type: AnalyticsService }
|
|
10849
10897
|
]; };
|
|
10850
|
-
__decorate$
|
|
10898
|
+
__decorate$15([
|
|
10851
10899
|
core.Input()
|
|
10852
10900
|
], ProductEcComponent.prototype, "isProductBox", void 0);
|
|
10853
|
-
__decorate$
|
|
10901
|
+
__decorate$15([
|
|
10854
10902
|
core.Input()
|
|
10855
10903
|
], ProductEcComponent.prototype, "product", void 0);
|
|
10856
|
-
ProductEcComponent = __decorate$
|
|
10904
|
+
ProductEcComponent = __decorate$15([
|
|
10857
10905
|
core.Component({
|
|
10858
10906
|
selector: 'app-product-ec',
|
|
10859
10907
|
template: "",
|
|
@@ -10877,7 +10925,7 @@
|
|
|
10877
10925
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10878
10926
|
};
|
|
10879
10927
|
})();
|
|
10880
|
-
var __decorate$
|
|
10928
|
+
var __decorate$16 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10881
10929
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10882
10930
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10883
10931
|
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;
|
|
@@ -10954,10 +11002,10 @@
|
|
|
10954
11002
|
{ type: Constants },
|
|
10955
11003
|
{ type: router.Router }
|
|
10956
11004
|
]; };
|
|
10957
|
-
__decorate$
|
|
11005
|
+
__decorate$16([
|
|
10958
11006
|
core.Input()
|
|
10959
11007
|
], RelatedProductsEcComponent.prototype, "product_id", void 0);
|
|
10960
|
-
RelatedProductsEcComponent = __decorate$
|
|
11008
|
+
RelatedProductsEcComponent = __decorate$16([
|
|
10961
11009
|
core.Component({
|
|
10962
11010
|
selector: 'app-related-products-ec',
|
|
10963
11011
|
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> -->",
|
|
@@ -10980,7 +11028,7 @@
|
|
|
10980
11028
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10981
11029
|
};
|
|
10982
11030
|
})();
|
|
10983
|
-
var __decorate$
|
|
11031
|
+
var __decorate$17 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10984
11032
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10985
11033
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10986
11034
|
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;
|
|
@@ -11047,13 +11095,13 @@
|
|
|
11047
11095
|
{ type: ngxToastr.ToastrService },
|
|
11048
11096
|
{ type: platformBrowser.DomSanitizer }
|
|
11049
11097
|
]; };
|
|
11050
|
-
__decorate$
|
|
11098
|
+
__decorate$17([
|
|
11051
11099
|
core.Input()
|
|
11052
11100
|
], SectionContainerEcComponent.prototype, "sanitizeHtml", void 0);
|
|
11053
|
-
__decorate$
|
|
11101
|
+
__decorate$17([
|
|
11054
11102
|
core.Input()
|
|
11055
11103
|
], SectionContainerEcComponent.prototype, "name", void 0);
|
|
11056
|
-
SectionContainerEcComponent = __decorate$
|
|
11104
|
+
SectionContainerEcComponent = __decorate$17([
|
|
11057
11105
|
core.Component({
|
|
11058
11106
|
selector: 'app-section-container-ec',
|
|
11059
11107
|
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>",
|
|
@@ -11076,7 +11124,7 @@
|
|
|
11076
11124
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11077
11125
|
};
|
|
11078
11126
|
})();
|
|
11079
|
-
var __decorate$
|
|
11127
|
+
var __decorate$18 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11080
11128
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11081
11129
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11082
11130
|
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;
|
|
@@ -11259,7 +11307,7 @@
|
|
|
11259
11307
|
{ type: Constants },
|
|
11260
11308
|
{ type: platformBrowser.DomSanitizer }
|
|
11261
11309
|
]; };
|
|
11262
|
-
StoresEcComponent = __decorate$
|
|
11310
|
+
StoresEcComponent = __decorate$18([
|
|
11263
11311
|
core.Component({
|
|
11264
11312
|
selector: 'app-store-ec',
|
|
11265
11313
|
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>",
|
|
@@ -11282,7 +11330,7 @@
|
|
|
11282
11330
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11283
11331
|
};
|
|
11284
11332
|
})();
|
|
11285
|
-
var __decorate$
|
|
11333
|
+
var __decorate$19 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11286
11334
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11287
11335
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11288
11336
|
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;
|
|
@@ -11317,16 +11365,16 @@
|
|
|
11317
11365
|
{ type: Constants },
|
|
11318
11366
|
{ type: ProductDetailService }
|
|
11319
11367
|
]; };
|
|
11320
|
-
__decorate$
|
|
11368
|
+
__decorate$19([
|
|
11321
11369
|
core.Input()
|
|
11322
11370
|
], VariantsEcComponent.prototype, "product", void 0);
|
|
11323
|
-
__decorate$
|
|
11371
|
+
__decorate$19([
|
|
11324
11372
|
core.Input('options')
|
|
11325
11373
|
], VariantsEcComponent.prototype, "options$", void 0);
|
|
11326
|
-
__decorate$
|
|
11374
|
+
__decorate$19([
|
|
11327
11375
|
core.Input()
|
|
11328
11376
|
], VariantsEcComponent.prototype, "setOption", void 0);
|
|
11329
|
-
VariantsEcComponent = __decorate$
|
|
11377
|
+
VariantsEcComponent = __decorate$19([
|
|
11330
11378
|
core.Component({
|
|
11331
11379
|
selector: 'app-product-variants-ec',
|
|
11332
11380
|
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>",
|
|
@@ -11349,7 +11397,7 @@
|
|
|
11349
11397
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11350
11398
|
};
|
|
11351
11399
|
})();
|
|
11352
|
-
var __decorate$
|
|
11400
|
+
var __decorate$1a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11353
11401
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11354
11402
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11355
11403
|
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;
|
|
@@ -11463,10 +11511,10 @@
|
|
|
11463
11511
|
{ type: Constants },
|
|
11464
11512
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
|
|
11465
11513
|
]; };
|
|
11466
|
-
__decorate$
|
|
11514
|
+
__decorate$1a([
|
|
11467
11515
|
core.Input()
|
|
11468
11516
|
], SellerDashboardContainerEcComponent.prototype, "UIComponents", void 0);
|
|
11469
|
-
SellerDashboardContainerEcComponent = __decorate$
|
|
11517
|
+
SellerDashboardContainerEcComponent = __decorate$1a([
|
|
11470
11518
|
core.Component({
|
|
11471
11519
|
selector: 'app-seller-dashboard-container',
|
|
11472
11520
|
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>",
|
|
@@ -11490,7 +11538,7 @@
|
|
|
11490
11538
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11491
11539
|
};
|
|
11492
11540
|
})();
|
|
11493
|
-
var __decorate$
|
|
11541
|
+
var __decorate$1b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11494
11542
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11495
11543
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11496
11544
|
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;
|
|
@@ -11507,10 +11555,10 @@
|
|
|
11507
11555
|
LoadingFullEcComponent.prototype.ngOnInit = function () {
|
|
11508
11556
|
this.ecOnInit();
|
|
11509
11557
|
};
|
|
11510
|
-
__decorate$
|
|
11558
|
+
__decorate$1b([
|
|
11511
11559
|
core.Input()
|
|
11512
11560
|
], LoadingFullEcComponent.prototype, "hole_height", void 0);
|
|
11513
|
-
LoadingFullEcComponent = __decorate$
|
|
11561
|
+
LoadingFullEcComponent = __decorate$1b([
|
|
11514
11562
|
core.Component({
|
|
11515
11563
|
selector: 'app-loading-full-ec',
|
|
11516
11564
|
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>",
|
|
@@ -11533,7 +11581,7 @@
|
|
|
11533
11581
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11534
11582
|
};
|
|
11535
11583
|
})();
|
|
11536
|
-
var __decorate$
|
|
11584
|
+
var __decorate$1c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11537
11585
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11538
11586
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11539
11587
|
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;
|
|
@@ -11549,7 +11597,7 @@
|
|
|
11549
11597
|
LoadingInlineEcComponent.prototype.ngOnInit = function () {
|
|
11550
11598
|
this.ecOnInit();
|
|
11551
11599
|
};
|
|
11552
|
-
LoadingInlineEcComponent = __decorate$
|
|
11600
|
+
LoadingInlineEcComponent = __decorate$1c([
|
|
11553
11601
|
core.Component({
|
|
11554
11602
|
selector: 'app-loading-inline-ec',
|
|
11555
11603
|
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>",
|
|
@@ -11559,7 +11607,7 @@
|
|
|
11559
11607
|
return LoadingInlineEcComponent;
|
|
11560
11608
|
}(ComponentHelper));
|
|
11561
11609
|
|
|
11562
|
-
var __decorate$
|
|
11610
|
+
var __decorate$1d = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11563
11611
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11564
11612
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11565
11613
|
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;
|
|
@@ -11570,7 +11618,7 @@
|
|
|
11570
11618
|
}
|
|
11571
11619
|
LoadingSectionEcComponent.prototype.ngOnInit = function () {
|
|
11572
11620
|
};
|
|
11573
|
-
LoadingSectionEcComponent = __decorate$
|
|
11621
|
+
LoadingSectionEcComponent = __decorate$1d([
|
|
11574
11622
|
core.Component({
|
|
11575
11623
|
selector: 'app-loading-section-ec',
|
|
11576
11624
|
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",
|
|
@@ -11604,7 +11652,7 @@
|
|
|
11604
11652
|
};
|
|
11605
11653
|
return __assign$p.apply(this, arguments);
|
|
11606
11654
|
};
|
|
11607
|
-
var __decorate$
|
|
11655
|
+
var __decorate$1e = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11608
11656
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11609
11657
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11610
11658
|
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;
|
|
@@ -11947,19 +11995,19 @@
|
|
|
11947
11995
|
{ type: CartService },
|
|
11948
11996
|
{ type: ToastService }
|
|
11949
11997
|
]; };
|
|
11950
|
-
__decorate$
|
|
11998
|
+
__decorate$1e([
|
|
11951
11999
|
core.Input()
|
|
11952
12000
|
], MPCreditEcComponent.prototype, "public_key", void 0);
|
|
11953
|
-
__decorate$
|
|
12001
|
+
__decorate$1e([
|
|
11954
12002
|
core.Input()
|
|
11955
12003
|
], MPCreditEcComponent.prototype, "total_amount", void 0);
|
|
11956
|
-
__decorate$
|
|
12004
|
+
__decorate$1e([
|
|
11957
12005
|
core.Output()
|
|
11958
12006
|
], MPCreditEcComponent.prototype, "ready", void 0);
|
|
11959
|
-
__decorate$
|
|
12007
|
+
__decorate$1e([
|
|
11960
12008
|
core.Input()
|
|
11961
12009
|
], MPCreditEcComponent.prototype, "user_data", void 0);
|
|
11962
|
-
MPCreditEcComponent = __decorate$
|
|
12010
|
+
MPCreditEcComponent = __decorate$1e([
|
|
11963
12011
|
core.Component({
|
|
11964
12012
|
selector: '[app-mp-credit-ec]',
|
|
11965
12013
|
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>",
|
|
@@ -11982,7 +12030,7 @@
|
|
|
11982
12030
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11983
12031
|
};
|
|
11984
12032
|
})();
|
|
11985
|
-
var __decorate$
|
|
12033
|
+
var __decorate$1f = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11986
12034
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11987
12035
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11988
12036
|
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;
|
|
@@ -12003,19 +12051,19 @@
|
|
|
12003
12051
|
PriceEcComponent.ctorParameters = function () { return [
|
|
12004
12052
|
{ type: ProductsService }
|
|
12005
12053
|
]; };
|
|
12006
|
-
__decorate$
|
|
12054
|
+
__decorate$1f([
|
|
12007
12055
|
core.Input()
|
|
12008
12056
|
], PriceEcComponent.prototype, "price", void 0);
|
|
12009
|
-
__decorate$
|
|
12057
|
+
__decorate$1f([
|
|
12010
12058
|
core.Input()
|
|
12011
12059
|
], PriceEcComponent.prototype, "saleprice", void 0);
|
|
12012
|
-
__decorate$
|
|
12060
|
+
__decorate$1f([
|
|
12013
12061
|
core.Input()
|
|
12014
12062
|
], PriceEcComponent.prototype, "priceSize", void 0);
|
|
12015
|
-
__decorate$
|
|
12063
|
+
__decorate$1f([
|
|
12016
12064
|
core.Input()
|
|
12017
12065
|
], PriceEcComponent.prototype, "classStrSpacing", void 0);
|
|
12018
|
-
PriceEcComponent = __decorate$
|
|
12066
|
+
PriceEcComponent = __decorate$1f([
|
|
12019
12067
|
core.Component({
|
|
12020
12068
|
selector: 'app-price-ec',
|
|
12021
12069
|
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>",
|
|
@@ -12038,7 +12086,7 @@
|
|
|
12038
12086
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12039
12087
|
};
|
|
12040
12088
|
})();
|
|
12041
|
-
var __decorate$
|
|
12089
|
+
var __decorate$1g = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12042
12090
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12043
12091
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12044
12092
|
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;
|
|
@@ -12133,7 +12181,7 @@
|
|
|
12133
12181
|
{ type: router.Router },
|
|
12134
12182
|
{ type: CheckoutService }
|
|
12135
12183
|
]; };
|
|
12136
|
-
RedsysCatchEcComponent = __decorate$
|
|
12184
|
+
RedsysCatchEcComponent = __decorate$1g([
|
|
12137
12185
|
core.Component({
|
|
12138
12186
|
selector: 'app-redsys-catch-ec',
|
|
12139
12187
|
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>",
|
|
@@ -12156,7 +12204,7 @@
|
|
|
12156
12204
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12157
12205
|
};
|
|
12158
12206
|
})();
|
|
12159
|
-
var __decorate$
|
|
12207
|
+
var __decorate$1h = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12160
12208
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12161
12209
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12162
12210
|
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;
|
|
@@ -12262,25 +12310,25 @@
|
|
|
12262
12310
|
{ type: router.ActivatedRoute },
|
|
12263
12311
|
{ type: modal.BsModalService }
|
|
12264
12312
|
]; };
|
|
12265
|
-
__decorate$
|
|
12313
|
+
__decorate$1h([
|
|
12266
12314
|
core.Input()
|
|
12267
12315
|
], RedSysProEcComponent.prototype, "method", void 0);
|
|
12268
|
-
__decorate$
|
|
12316
|
+
__decorate$1h([
|
|
12269
12317
|
core.Input()
|
|
12270
12318
|
], RedSysProEcComponent.prototype, "total_amount", void 0);
|
|
12271
|
-
__decorate$
|
|
12319
|
+
__decorate$1h([
|
|
12272
12320
|
core.Output()
|
|
12273
12321
|
], RedSysProEcComponent.prototype, "ready", void 0);
|
|
12274
|
-
__decorate$
|
|
12322
|
+
__decorate$1h([
|
|
12275
12323
|
core.Input()
|
|
12276
12324
|
], RedSysProEcComponent.prototype, "user_data", void 0);
|
|
12277
|
-
__decorate$
|
|
12325
|
+
__decorate$1h([
|
|
12278
12326
|
core.ViewChild('formDobleAuthContainer')
|
|
12279
12327
|
], RedSysProEcComponent.prototype, "formDobleAuth", void 0);
|
|
12280
|
-
__decorate$
|
|
12328
|
+
__decorate$1h([
|
|
12281
12329
|
core.ViewChild('template')
|
|
12282
12330
|
], RedSysProEcComponent.prototype, "template", void 0);
|
|
12283
|
-
RedSysProEcComponent = __decorate$
|
|
12331
|
+
RedSysProEcComponent = __decorate$1h([
|
|
12284
12332
|
core.Component({
|
|
12285
12333
|
selector: 'app-redsys-pro-ec',
|
|
12286
12334
|
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",
|
|
@@ -12305,7 +12353,7 @@
|
|
|
12305
12353
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12306
12354
|
};
|
|
12307
12355
|
})();
|
|
12308
|
-
var __decorate$
|
|
12356
|
+
var __decorate$1i = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12309
12357
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12310
12358
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12311
12359
|
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;
|
|
@@ -12401,22 +12449,22 @@
|
|
|
12401
12449
|
{ type: router.ActivatedRoute },
|
|
12402
12450
|
{ type: modal.BsModalService }
|
|
12403
12451
|
]; };
|
|
12404
|
-
__decorate$
|
|
12452
|
+
__decorate$1i([
|
|
12405
12453
|
core.Input()
|
|
12406
12454
|
], RedSysRedirectEcComponent.prototype, "method", void 0);
|
|
12407
|
-
__decorate$
|
|
12455
|
+
__decorate$1i([
|
|
12408
12456
|
core.Input()
|
|
12409
12457
|
], RedSysRedirectEcComponent.prototype, "total_amount", void 0);
|
|
12410
|
-
__decorate$
|
|
12458
|
+
__decorate$1i([
|
|
12411
12459
|
core.Output()
|
|
12412
12460
|
], RedSysRedirectEcComponent.prototype, "ready", void 0);
|
|
12413
|
-
__decorate$
|
|
12461
|
+
__decorate$1i([
|
|
12414
12462
|
core.Input()
|
|
12415
12463
|
], RedSysRedirectEcComponent.prototype, "user_data", void 0);
|
|
12416
|
-
__decorate$
|
|
12464
|
+
__decorate$1i([
|
|
12417
12465
|
core.ViewChild('template')
|
|
12418
12466
|
], RedSysRedirectEcComponent.prototype, "template", void 0);
|
|
12419
|
-
RedSysRedirectEcComponent = __decorate$
|
|
12467
|
+
RedSysRedirectEcComponent = __decorate$1i([
|
|
12420
12468
|
core.Component({
|
|
12421
12469
|
selector: 'app-redsys-redirect-ec',
|
|
12422
12470
|
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>",
|
|
@@ -12440,7 +12488,7 @@
|
|
|
12440
12488
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12441
12489
|
};
|
|
12442
12490
|
})();
|
|
12443
|
-
var __decorate$
|
|
12491
|
+
var __decorate$1j = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12444
12492
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12445
12493
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12446
12494
|
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;
|
|
@@ -12541,22 +12589,22 @@
|
|
|
12541
12589
|
{ type: router.ActivatedRoute },
|
|
12542
12590
|
{ type: modal.BsModalService }
|
|
12543
12591
|
]; };
|
|
12544
|
-
__decorate$
|
|
12592
|
+
__decorate$1j([
|
|
12545
12593
|
core.Input()
|
|
12546
12594
|
], CecaRedirectEcComponent.prototype, "method", void 0);
|
|
12547
|
-
__decorate$
|
|
12595
|
+
__decorate$1j([
|
|
12548
12596
|
core.Input()
|
|
12549
12597
|
], CecaRedirectEcComponent.prototype, "total_amount", void 0);
|
|
12550
|
-
__decorate$
|
|
12598
|
+
__decorate$1j([
|
|
12551
12599
|
core.Output()
|
|
12552
12600
|
], CecaRedirectEcComponent.prototype, "ready", void 0);
|
|
12553
|
-
__decorate$
|
|
12601
|
+
__decorate$1j([
|
|
12554
12602
|
core.Input()
|
|
12555
12603
|
], CecaRedirectEcComponent.prototype, "user_data", void 0);
|
|
12556
|
-
__decorate$
|
|
12604
|
+
__decorate$1j([
|
|
12557
12605
|
core.ViewChild('template')
|
|
12558
12606
|
], CecaRedirectEcComponent.prototype, "template", void 0);
|
|
12559
|
-
CecaRedirectEcComponent = __decorate$
|
|
12607
|
+
CecaRedirectEcComponent = __decorate$1j([
|
|
12560
12608
|
core.Component({
|
|
12561
12609
|
selector: 'app-ceca-redirect-ec',
|
|
12562
12610
|
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>",
|
|
@@ -12580,7 +12628,7 @@
|
|
|
12580
12628
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12581
12629
|
};
|
|
12582
12630
|
})();
|
|
12583
|
-
var __decorate$
|
|
12631
|
+
var __decorate$1k = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12584
12632
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12585
12633
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12586
12634
|
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;
|
|
@@ -12749,10 +12797,10 @@
|
|
|
12749
12797
|
{ type: Constants },
|
|
12750
12798
|
{ type: CartService }
|
|
12751
12799
|
]; };
|
|
12752
|
-
__decorate$
|
|
12800
|
+
__decorate$1k([
|
|
12753
12801
|
core.Input()
|
|
12754
12802
|
], OrdersEcComponent.prototype, "showImage", void 0);
|
|
12755
|
-
OrdersEcComponent = __decorate$
|
|
12803
|
+
OrdersEcComponent = __decorate$1k([
|
|
12756
12804
|
core.Component({
|
|
12757
12805
|
selector: 'app-orders-ec',
|
|
12758
12806
|
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>",
|
|
@@ -12775,7 +12823,7 @@
|
|
|
12775
12823
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12776
12824
|
};
|
|
12777
12825
|
})();
|
|
12778
|
-
var __decorate$
|
|
12826
|
+
var __decorate$1l = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12779
12827
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12780
12828
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12781
12829
|
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;
|
|
@@ -12905,10 +12953,10 @@
|
|
|
12905
12953
|
{ type: CartService },
|
|
12906
12954
|
{ type: ChannelConfigService }
|
|
12907
12955
|
]; };
|
|
12908
|
-
__decorate$
|
|
12956
|
+
__decorate$1l([
|
|
12909
12957
|
core.Input()
|
|
12910
12958
|
], OrderEcComponent.prototype, "numberOrder", void 0);
|
|
12911
|
-
OrderEcComponent = __decorate$
|
|
12959
|
+
OrderEcComponent = __decorate$1l([
|
|
12912
12960
|
core.Component({
|
|
12913
12961
|
selector: 'app-order-ec',
|
|
12914
12962
|
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>",
|
|
@@ -12931,7 +12979,7 @@
|
|
|
12931
12979
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12932
12980
|
};
|
|
12933
12981
|
})();
|
|
12934
|
-
var __decorate$
|
|
12982
|
+
var __decorate$1m = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12935
12983
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12936
12984
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12937
12985
|
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;
|
|
@@ -13026,13 +13074,13 @@
|
|
|
13026
13074
|
{ type: forms.FormBuilder },
|
|
13027
13075
|
{ type: router.Router }
|
|
13028
13076
|
]; };
|
|
13029
|
-
__decorate$
|
|
13077
|
+
__decorate$1m([
|
|
13030
13078
|
core.Input()
|
|
13031
13079
|
], AuthEcComponent.prototype, "complete", void 0);
|
|
13032
|
-
__decorate$
|
|
13080
|
+
__decorate$1m([
|
|
13033
13081
|
core.Input()
|
|
13034
13082
|
], AuthEcComponent.prototype, "redirect", void 0);
|
|
13035
|
-
AuthEcComponent = __decorate$
|
|
13083
|
+
AuthEcComponent = __decorate$1m([
|
|
13036
13084
|
core.Component({
|
|
13037
13085
|
selector: 'app-auth-ec',
|
|
13038
13086
|
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>",
|
|
@@ -13055,7 +13103,7 @@
|
|
|
13055
13103
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13056
13104
|
};
|
|
13057
13105
|
})();
|
|
13058
|
-
var __decorate$
|
|
13106
|
+
var __decorate$1n = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13059
13107
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13060
13108
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13061
13109
|
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;
|
|
@@ -13191,19 +13239,19 @@
|
|
|
13191
13239
|
{ type: forms.FormBuilder },
|
|
13192
13240
|
{ type: ChannelConfigService }
|
|
13193
13241
|
]; };
|
|
13194
|
-
__decorate$
|
|
13242
|
+
__decorate$1n([
|
|
13195
13243
|
core.Input()
|
|
13196
13244
|
], RegisterFormEcComponent.prototype, "darkMode", void 0);
|
|
13197
|
-
__decorate$
|
|
13245
|
+
__decorate$1n([
|
|
13198
13246
|
core.Input()
|
|
13199
13247
|
], RegisterFormEcComponent.prototype, "redirect", void 0);
|
|
13200
|
-
__decorate$
|
|
13248
|
+
__decorate$1n([
|
|
13201
13249
|
core.Input()
|
|
13202
13250
|
], RegisterFormEcComponent.prototype, "complete", void 0);
|
|
13203
|
-
__decorate$
|
|
13251
|
+
__decorate$1n([
|
|
13204
13252
|
core.Output()
|
|
13205
13253
|
], RegisterFormEcComponent.prototype, "ready", void 0);
|
|
13206
|
-
RegisterFormEcComponent = __decorate$
|
|
13254
|
+
RegisterFormEcComponent = __decorate$1n([
|
|
13207
13255
|
core.Component({
|
|
13208
13256
|
selector: 'app-register-form-ec',
|
|
13209
13257
|
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>",
|
|
@@ -13226,7 +13274,7 @@
|
|
|
13226
13274
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13227
13275
|
};
|
|
13228
13276
|
})();
|
|
13229
|
-
var __decorate$
|
|
13277
|
+
var __decorate$1o = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13230
13278
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13231
13279
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13232
13280
|
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;
|
|
@@ -13303,25 +13351,25 @@
|
|
|
13303
13351
|
{ type: forms.FormBuilder },
|
|
13304
13352
|
{ type: router.Router }
|
|
13305
13353
|
]; };
|
|
13306
|
-
__decorate$
|
|
13354
|
+
__decorate$1o([
|
|
13307
13355
|
core.Input()
|
|
13308
13356
|
], LoginFormEcComponent.prototype, "darkMode", void 0);
|
|
13309
|
-
__decorate$
|
|
13357
|
+
__decorate$1o([
|
|
13310
13358
|
core.Input()
|
|
13311
13359
|
], LoginFormEcComponent.prototype, "redirect", void 0);
|
|
13312
|
-
__decorate$
|
|
13360
|
+
__decorate$1o([
|
|
13313
13361
|
core.Input()
|
|
13314
13362
|
], LoginFormEcComponent.prototype, "redirectTo", void 0);
|
|
13315
|
-
__decorate$
|
|
13363
|
+
__decorate$1o([
|
|
13316
13364
|
core.Input()
|
|
13317
13365
|
], LoginFormEcComponent.prototype, "complete", void 0);
|
|
13318
|
-
__decorate$
|
|
13366
|
+
__decorate$1o([
|
|
13319
13367
|
core.Input()
|
|
13320
13368
|
], LoginFormEcComponent.prototype, "title", void 0);
|
|
13321
|
-
__decorate$
|
|
13369
|
+
__decorate$1o([
|
|
13322
13370
|
core.Output()
|
|
13323
13371
|
], LoginFormEcComponent.prototype, "ready", void 0);
|
|
13324
|
-
LoginFormEcComponent = __decorate$
|
|
13372
|
+
LoginFormEcComponent = __decorate$1o([
|
|
13325
13373
|
core.Component({
|
|
13326
13374
|
selector: 'app-login-form-ec',
|
|
13327
13375
|
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>",
|
|
@@ -13344,7 +13392,7 @@
|
|
|
13344
13392
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13345
13393
|
};
|
|
13346
13394
|
})();
|
|
13347
|
-
var __decorate$
|
|
13395
|
+
var __decorate$1p = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13348
13396
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13349
13397
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13350
13398
|
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;
|
|
@@ -13390,7 +13438,7 @@
|
|
|
13390
13438
|
{ type: AuthService },
|
|
13391
13439
|
{ type: ToastService }
|
|
13392
13440
|
]; };
|
|
13393
|
-
ForgotPasswordEcComponent = __decorate$
|
|
13441
|
+
ForgotPasswordEcComponent = __decorate$1p([
|
|
13394
13442
|
core.Component({
|
|
13395
13443
|
selector: 'app-forgot-password-ec',
|
|
13396
13444
|
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>",
|
|
@@ -13413,7 +13461,7 @@
|
|
|
13413
13461
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13414
13462
|
};
|
|
13415
13463
|
})();
|
|
13416
|
-
var __decorate$
|
|
13464
|
+
var __decorate$1q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13417
13465
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13418
13466
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13419
13467
|
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;
|
|
@@ -13445,7 +13493,7 @@
|
|
|
13445
13493
|
{ type: AuthService },
|
|
13446
13494
|
{ type: router.ActivatedRoute }
|
|
13447
13495
|
]; };
|
|
13448
|
-
ConfirmAccountEcComponent = __decorate$
|
|
13496
|
+
ConfirmAccountEcComponent = __decorate$1q([
|
|
13449
13497
|
core.Component({
|
|
13450
13498
|
selector: 'app-confirm-account-ec',
|
|
13451
13499
|
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>",
|
|
@@ -13468,7 +13516,7 @@
|
|
|
13468
13516
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13469
13517
|
};
|
|
13470
13518
|
})();
|
|
13471
|
-
var __decorate$
|
|
13519
|
+
var __decorate$1r = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13472
13520
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13473
13521
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13474
13522
|
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;
|
|
@@ -13557,7 +13605,7 @@
|
|
|
13557
13605
|
{ type: router.Router },
|
|
13558
13606
|
{ type: forms.FormBuilder }
|
|
13559
13607
|
]; };
|
|
13560
|
-
PasswordResetEcComponent = __decorate$
|
|
13608
|
+
PasswordResetEcComponent = __decorate$1r([
|
|
13561
13609
|
core.Component({
|
|
13562
13610
|
selector: 'app-password-reset-ec',
|
|
13563
13611
|
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>",
|
|
@@ -13580,7 +13628,7 @@
|
|
|
13580
13628
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13581
13629
|
};
|
|
13582
13630
|
})();
|
|
13583
|
-
var __decorate$
|
|
13631
|
+
var __decorate$1s = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13584
13632
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13585
13633
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13586
13634
|
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;
|
|
@@ -13717,19 +13765,19 @@
|
|
|
13717
13765
|
{ type: ParametersService },
|
|
13718
13766
|
{ type: forms.FormBuilder }
|
|
13719
13767
|
]; };
|
|
13720
|
-
__decorate$
|
|
13768
|
+
__decorate$1s([
|
|
13721
13769
|
core.Input()
|
|
13722
13770
|
], RegisterWholesalerFormEcComponent.prototype, "darkMode", void 0);
|
|
13723
|
-
__decorate$
|
|
13771
|
+
__decorate$1s([
|
|
13724
13772
|
core.Input()
|
|
13725
13773
|
], RegisterWholesalerFormEcComponent.prototype, "redirect", void 0);
|
|
13726
|
-
__decorate$
|
|
13774
|
+
__decorate$1s([
|
|
13727
13775
|
core.Input()
|
|
13728
13776
|
], RegisterWholesalerFormEcComponent.prototype, "complete", void 0);
|
|
13729
|
-
__decorate$
|
|
13777
|
+
__decorate$1s([
|
|
13730
13778
|
core.Output()
|
|
13731
13779
|
], RegisterWholesalerFormEcComponent.prototype, "ready", void 0);
|
|
13732
|
-
RegisterWholesalerFormEcComponent = __decorate$
|
|
13780
|
+
RegisterWholesalerFormEcComponent = __decorate$1s([
|
|
13733
13781
|
core.Component({
|
|
13734
13782
|
selector: 'app-register-wholesaler-form-ec',
|
|
13735
13783
|
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>",
|
|
@@ -13752,7 +13800,7 @@
|
|
|
13752
13800
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13753
13801
|
};
|
|
13754
13802
|
})();
|
|
13755
|
-
var __decorate$
|
|
13803
|
+
var __decorate$1t = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13756
13804
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13757
13805
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13758
13806
|
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;
|
|
@@ -13886,10 +13934,10 @@
|
|
|
13886
13934
|
{ type: platformBrowser.Meta },
|
|
13887
13935
|
{ type: platformBrowser.Title }
|
|
13888
13936
|
]; };
|
|
13889
|
-
__decorate$
|
|
13937
|
+
__decorate$1t([
|
|
13890
13938
|
core.Input()
|
|
13891
13939
|
], ShareBlockEcComponent.prototype, "product", void 0);
|
|
13892
|
-
ShareBlockEcComponent = __decorate$
|
|
13940
|
+
ShareBlockEcComponent = __decorate$1t([
|
|
13893
13941
|
core.Component({
|
|
13894
13942
|
selector: 'app-share-block-ec',
|
|
13895
13943
|
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 -->",
|
|
@@ -13912,7 +13960,7 @@
|
|
|
13912
13960
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13913
13961
|
};
|
|
13914
13962
|
})();
|
|
13915
|
-
var __decorate$
|
|
13963
|
+
var __decorate$1u = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13916
13964
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13917
13965
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13918
13966
|
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;
|
|
@@ -13976,10 +14024,10 @@
|
|
|
13976
14024
|
{ type: CheckoutService },
|
|
13977
14025
|
{ type: CartService }
|
|
13978
14026
|
]; };
|
|
13979
|
-
__decorate$
|
|
14027
|
+
__decorate$1u([
|
|
13980
14028
|
core.Input()
|
|
13981
14029
|
], DetailCheckoutBlockEcComponent.prototype, "asociatedData", void 0);
|
|
13982
|
-
DetailCheckoutBlockEcComponent = __decorate$
|
|
14030
|
+
DetailCheckoutBlockEcComponent = __decorate$1u([
|
|
13983
14031
|
core.Component({
|
|
13984
14032
|
selector: 'app-detail-checkout-block-ec',
|
|
13985
14033
|
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>",
|
|
@@ -14002,7 +14050,7 @@
|
|
|
14002
14050
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14003
14051
|
};
|
|
14004
14052
|
})();
|
|
14005
|
-
var __decorate$
|
|
14053
|
+
var __decorate$1v = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14006
14054
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14007
14055
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14008
14056
|
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;
|
|
@@ -14061,13 +14109,13 @@
|
|
|
14061
14109
|
{ type: modal.BsModalService },
|
|
14062
14110
|
{ type: router.Router }
|
|
14063
14111
|
]; };
|
|
14064
|
-
__decorate$
|
|
14112
|
+
__decorate$1v([
|
|
14065
14113
|
core.ViewChild('template')
|
|
14066
14114
|
], CheckoutErrorComponent.prototype, "template", void 0);
|
|
14067
|
-
__decorate$
|
|
14115
|
+
__decorate$1v([
|
|
14068
14116
|
core.Input()
|
|
14069
14117
|
], CheckoutErrorComponent.prototype, "urlRedireccion", void 0);
|
|
14070
|
-
CheckoutErrorComponent = __decorate$
|
|
14118
|
+
CheckoutErrorComponent = __decorate$1v([
|
|
14071
14119
|
core.Component({
|
|
14072
14120
|
selector: 'ec-checkout-error',
|
|
14073
14121
|
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",
|
|
@@ -14091,7 +14139,7 @@
|
|
|
14091
14139
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14092
14140
|
};
|
|
14093
14141
|
})();
|
|
14094
|
-
var __decorate$
|
|
14142
|
+
var __decorate$1w = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14095
14143
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14096
14144
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14097
14145
|
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;
|
|
@@ -14218,22 +14266,22 @@
|
|
|
14218
14266
|
{ type: router.ActivatedRoute },
|
|
14219
14267
|
{ type: platformBrowser.DomSanitizer }
|
|
14220
14268
|
]; };
|
|
14221
|
-
__decorate$
|
|
14269
|
+
__decorate$1w([
|
|
14222
14270
|
core.Input()
|
|
14223
14271
|
], MpRedirectEcComponent.prototype, "method", void 0);
|
|
14224
|
-
__decorate$
|
|
14272
|
+
__decorate$1w([
|
|
14225
14273
|
core.Input()
|
|
14226
14274
|
], MpRedirectEcComponent.prototype, "total_amount", void 0);
|
|
14227
|
-
__decorate$
|
|
14275
|
+
__decorate$1w([
|
|
14228
14276
|
core.Input()
|
|
14229
14277
|
], MpRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14230
|
-
__decorate$
|
|
14278
|
+
__decorate$1w([
|
|
14231
14279
|
core.Input()
|
|
14232
14280
|
], MpRedirectEcComponent.prototype, "allData", void 0);
|
|
14233
|
-
__decorate$
|
|
14281
|
+
__decorate$1w([
|
|
14234
14282
|
core.Output()
|
|
14235
14283
|
], MpRedirectEcComponent.prototype, "ready", void 0);
|
|
14236
|
-
MpRedirectEcComponent = __decorate$
|
|
14284
|
+
MpRedirectEcComponent = __decorate$1w([
|
|
14237
14285
|
core.Component({
|
|
14238
14286
|
selector: 'app-mp-redirect-ec',
|
|
14239
14287
|
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",
|
|
@@ -14256,7 +14304,7 @@
|
|
|
14256
14304
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14257
14305
|
};
|
|
14258
14306
|
})();
|
|
14259
|
-
var __decorate$
|
|
14307
|
+
var __decorate$1x = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14260
14308
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14261
14309
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14262
14310
|
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;
|
|
@@ -14368,25 +14416,25 @@
|
|
|
14368
14416
|
{ type: router.ActivatedRoute },
|
|
14369
14417
|
{ type: platformBrowser.DomSanitizer }
|
|
14370
14418
|
]; };
|
|
14371
|
-
__decorate$
|
|
14419
|
+
__decorate$1x([
|
|
14372
14420
|
core.Input()
|
|
14373
14421
|
], RedSysRedirectOutEcComponent.prototype, "method", void 0);
|
|
14374
|
-
__decorate$
|
|
14422
|
+
__decorate$1x([
|
|
14375
14423
|
core.Input()
|
|
14376
14424
|
], RedSysRedirectOutEcComponent.prototype, "total_amount", void 0);
|
|
14377
|
-
__decorate$
|
|
14425
|
+
__decorate$1x([
|
|
14378
14426
|
core.Input()
|
|
14379
14427
|
], RedSysRedirectOutEcComponent.prototype, "user_data", void 0);
|
|
14380
|
-
__decorate$
|
|
14428
|
+
__decorate$1x([
|
|
14381
14429
|
core.Input()
|
|
14382
14430
|
], RedSysRedirectOutEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14383
|
-
__decorate$
|
|
14431
|
+
__decorate$1x([
|
|
14384
14432
|
core.Input()
|
|
14385
14433
|
], RedSysRedirectOutEcComponent.prototype, "allData", void 0);
|
|
14386
|
-
__decorate$
|
|
14434
|
+
__decorate$1x([
|
|
14387
14435
|
core.Output()
|
|
14388
14436
|
], RedSysRedirectOutEcComponent.prototype, "ready", void 0);
|
|
14389
|
-
RedSysRedirectOutEcComponent = __decorate$
|
|
14437
|
+
RedSysRedirectOutEcComponent = __decorate$1x([
|
|
14390
14438
|
core.Component({
|
|
14391
14439
|
selector: 'app-redsys-redirect-out-ec',
|
|
14392
14440
|
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>",
|
|
@@ -14409,7 +14457,7 @@
|
|
|
14409
14457
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14410
14458
|
};
|
|
14411
14459
|
})();
|
|
14412
|
-
var __decorate$
|
|
14460
|
+
var __decorate$1y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14413
14461
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14414
14462
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14415
14463
|
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;
|
|
@@ -14591,25 +14639,25 @@
|
|
|
14591
14639
|
{ type: ToastService },
|
|
14592
14640
|
{ type: router.ActivatedRoute }
|
|
14593
14641
|
]; };
|
|
14594
|
-
__decorate$
|
|
14642
|
+
__decorate$1y([
|
|
14595
14643
|
core.Input()
|
|
14596
14644
|
], PaypalExpressEcComponent.prototype, "method", void 0);
|
|
14597
|
-
__decorate$
|
|
14645
|
+
__decorate$1y([
|
|
14598
14646
|
core.Input()
|
|
14599
14647
|
], PaypalExpressEcComponent.prototype, "total_amount", void 0);
|
|
14600
|
-
__decorate$
|
|
14648
|
+
__decorate$1y([
|
|
14601
14649
|
core.Output()
|
|
14602
14650
|
], PaypalExpressEcComponent.prototype, "ready", void 0);
|
|
14603
|
-
__decorate$
|
|
14651
|
+
__decorate$1y([
|
|
14604
14652
|
core.Input()
|
|
14605
14653
|
], PaypalExpressEcComponent.prototype, "user_data", void 0);
|
|
14606
|
-
__decorate$
|
|
14654
|
+
__decorate$1y([
|
|
14607
14655
|
core.ViewChild('template')
|
|
14608
14656
|
], PaypalExpressEcComponent.prototype, "template", void 0);
|
|
14609
|
-
__decorate$
|
|
14657
|
+
__decorate$1y([
|
|
14610
14658
|
core.ViewChild('paypal', { static: true })
|
|
14611
14659
|
], PaypalExpressEcComponent.prototype, "paypalElement", void 0);
|
|
14612
|
-
PaypalExpressEcComponent = __decorate$
|
|
14660
|
+
PaypalExpressEcComponent = __decorate$1y([
|
|
14613
14661
|
core.Component({
|
|
14614
14662
|
selector: 'app-paypal-express-ec',
|
|
14615
14663
|
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>",
|
|
@@ -14632,7 +14680,7 @@
|
|
|
14632
14680
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14633
14681
|
};
|
|
14634
14682
|
})();
|
|
14635
|
-
var __decorate$
|
|
14683
|
+
var __decorate$1z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14636
14684
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14637
14685
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14638
14686
|
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;
|
|
@@ -14744,28 +14792,28 @@
|
|
|
14744
14792
|
{ type: platformBrowser.DomSanitizer },
|
|
14745
14793
|
{ type: modal.BsModalService }
|
|
14746
14794
|
]; };
|
|
14747
|
-
__decorate$
|
|
14795
|
+
__decorate$1z([
|
|
14748
14796
|
core.Input()
|
|
14749
14797
|
], MobbexEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14750
|
-
__decorate$
|
|
14798
|
+
__decorate$1z([
|
|
14751
14799
|
core.Input()
|
|
14752
14800
|
], MobbexEcComponent.prototype, "method", void 0);
|
|
14753
|
-
__decorate$
|
|
14801
|
+
__decorate$1z([
|
|
14754
14802
|
core.Input()
|
|
14755
14803
|
], MobbexEcComponent.prototype, "total_amount", void 0);
|
|
14756
|
-
__decorate$
|
|
14804
|
+
__decorate$1z([
|
|
14757
14805
|
core.Input()
|
|
14758
14806
|
], MobbexEcComponent.prototype, "allData", void 0);
|
|
14759
|
-
__decorate$
|
|
14807
|
+
__decorate$1z([
|
|
14760
14808
|
core.Input()
|
|
14761
14809
|
], MobbexEcComponent.prototype, "user_data", void 0);
|
|
14762
|
-
__decorate$
|
|
14810
|
+
__decorate$1z([
|
|
14763
14811
|
core.Output()
|
|
14764
14812
|
], MobbexEcComponent.prototype, "ready", void 0);
|
|
14765
|
-
__decorate$
|
|
14813
|
+
__decorate$1z([
|
|
14766
14814
|
core.ViewChild('template')
|
|
14767
14815
|
], MobbexEcComponent.prototype, "template", void 0);
|
|
14768
|
-
MobbexEcComponent = __decorate$
|
|
14816
|
+
MobbexEcComponent = __decorate$1z([
|
|
14769
14817
|
core.Component({
|
|
14770
14818
|
selector: 'app-mobbex-ec',
|
|
14771
14819
|
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>",
|
|
@@ -14789,7 +14837,7 @@
|
|
|
14789
14837
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14790
14838
|
};
|
|
14791
14839
|
})();
|
|
14792
|
-
var __decorate$
|
|
14840
|
+
var __decorate$1A = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14793
14841
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14794
14842
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14795
14843
|
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;
|
|
@@ -14904,28 +14952,28 @@
|
|
|
14904
14952
|
{ type: platformBrowser.DomSanitizer },
|
|
14905
14953
|
{ type: modal.BsModalService }
|
|
14906
14954
|
]; };
|
|
14907
|
-
__decorate$
|
|
14955
|
+
__decorate$1A([
|
|
14908
14956
|
core.Input()
|
|
14909
14957
|
], BancardEcComponent.prototype, "paymentServiceInst", void 0);
|
|
14910
|
-
__decorate$
|
|
14958
|
+
__decorate$1A([
|
|
14911
14959
|
core.Input()
|
|
14912
14960
|
], BancardEcComponent.prototype, "method", void 0);
|
|
14913
|
-
__decorate$
|
|
14961
|
+
__decorate$1A([
|
|
14914
14962
|
core.Input()
|
|
14915
14963
|
], BancardEcComponent.prototype, "total_amount", void 0);
|
|
14916
|
-
__decorate$
|
|
14964
|
+
__decorate$1A([
|
|
14917
14965
|
core.Input()
|
|
14918
14966
|
], BancardEcComponent.prototype, "allData", void 0);
|
|
14919
|
-
__decorate$
|
|
14967
|
+
__decorate$1A([
|
|
14920
14968
|
core.Input()
|
|
14921
14969
|
], BancardEcComponent.prototype, "user_data", void 0);
|
|
14922
|
-
__decorate$
|
|
14970
|
+
__decorate$1A([
|
|
14923
14971
|
core.Output()
|
|
14924
14972
|
], BancardEcComponent.prototype, "ready", void 0);
|
|
14925
|
-
__decorate$
|
|
14973
|
+
__decorate$1A([
|
|
14926
14974
|
core.ViewChild('template')
|
|
14927
14975
|
], BancardEcComponent.prototype, "template", void 0);
|
|
14928
|
-
BancardEcComponent = __decorate$
|
|
14976
|
+
BancardEcComponent = __decorate$1A([
|
|
14929
14977
|
core.Component({
|
|
14930
14978
|
selector: 'app-bancard-ec',
|
|
14931
14979
|
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>",
|
|
@@ -14949,7 +14997,7 @@
|
|
|
14949
14997
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14950
14998
|
};
|
|
14951
14999
|
})();
|
|
14952
|
-
var __decorate$
|
|
15000
|
+
var __decorate$1B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14953
15001
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14954
15002
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14955
15003
|
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;
|
|
@@ -15059,25 +15107,25 @@
|
|
|
15059
15107
|
{ type: router.ActivatedRoute },
|
|
15060
15108
|
{ type: platformBrowser.DomSanitizer }
|
|
15061
15109
|
]; };
|
|
15062
|
-
__decorate$
|
|
15110
|
+
__decorate$1B([
|
|
15063
15111
|
core.Input()
|
|
15064
15112
|
], BancardRedirectEcComponent.prototype, "method", void 0);
|
|
15065
|
-
__decorate$
|
|
15113
|
+
__decorate$1B([
|
|
15066
15114
|
core.Input()
|
|
15067
15115
|
], BancardRedirectEcComponent.prototype, "total_amount", void 0);
|
|
15068
|
-
__decorate$
|
|
15116
|
+
__decorate$1B([
|
|
15069
15117
|
core.Input()
|
|
15070
15118
|
], BancardRedirectEcComponent.prototype, "user_data", void 0);
|
|
15071
|
-
__decorate$
|
|
15119
|
+
__decorate$1B([
|
|
15072
15120
|
core.Input()
|
|
15073
15121
|
], BancardRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15074
|
-
__decorate$
|
|
15122
|
+
__decorate$1B([
|
|
15075
15123
|
core.Input()
|
|
15076
15124
|
], BancardRedirectEcComponent.prototype, "allData", void 0);
|
|
15077
|
-
__decorate$
|
|
15125
|
+
__decorate$1B([
|
|
15078
15126
|
core.Output()
|
|
15079
15127
|
], BancardRedirectEcComponent.prototype, "ready", void 0);
|
|
15080
|
-
BancardRedirectEcComponent = __decorate$
|
|
15128
|
+
BancardRedirectEcComponent = __decorate$1B([
|
|
15081
15129
|
core.Component({
|
|
15082
15130
|
selector: 'app-bancard-redirect-ec',
|
|
15083
15131
|
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>",
|
|
@@ -15111,7 +15159,7 @@
|
|
|
15111
15159
|
};
|
|
15112
15160
|
return __assign$q.apply(this, arguments);
|
|
15113
15161
|
};
|
|
15114
|
-
var __decorate$
|
|
15162
|
+
var __decorate$1C = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15115
15163
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15116
15164
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15117
15165
|
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;
|
|
@@ -15172,10 +15220,10 @@
|
|
|
15172
15220
|
{ type: modal.BsModalService },
|
|
15173
15221
|
{ type: router.Router }
|
|
15174
15222
|
]; };
|
|
15175
|
-
__decorate$
|
|
15223
|
+
__decorate$1C([
|
|
15176
15224
|
core.ViewChild('template')
|
|
15177
15225
|
], SelectChannelEcComponent.prototype, "template", void 0);
|
|
15178
|
-
SelectChannelEcComponent = __decorate$
|
|
15226
|
+
SelectChannelEcComponent = __decorate$1C([
|
|
15179
15227
|
core.Component({
|
|
15180
15228
|
selector: 'select-channel-ec',
|
|
15181
15229
|
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>",
|
|
@@ -15199,7 +15247,7 @@
|
|
|
15199
15247
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15200
15248
|
};
|
|
15201
15249
|
})();
|
|
15202
|
-
var __decorate$
|
|
15250
|
+
var __decorate$1D = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15203
15251
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15204
15252
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15205
15253
|
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;
|
|
@@ -15252,7 +15300,7 @@
|
|
|
15252
15300
|
{ type: CheckoutService },
|
|
15253
15301
|
{ type: CartService }
|
|
15254
15302
|
]; };
|
|
15255
|
-
CartLoadEcComponent = __decorate$
|
|
15303
|
+
CartLoadEcComponent = __decorate$1D([
|
|
15256
15304
|
core.Component({
|
|
15257
15305
|
selector: 'app-cart-load-ec',
|
|
15258
15306
|
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>",
|
|
@@ -15262,7 +15310,7 @@
|
|
|
15262
15310
|
return CartLoadEcComponent;
|
|
15263
15311
|
}(ComponentHelper));
|
|
15264
15312
|
|
|
15265
|
-
var __decorate$
|
|
15313
|
+
var __decorate$1E = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15266
15314
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15267
15315
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15268
15316
|
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;
|
|
@@ -15410,28 +15458,28 @@
|
|
|
15410
15458
|
event.preventDefault();
|
|
15411
15459
|
event.stopPropagation();
|
|
15412
15460
|
};
|
|
15413
|
-
__decorate$
|
|
15461
|
+
__decorate$1E([
|
|
15414
15462
|
core.Input()
|
|
15415
15463
|
], MagnizoomComponent.prototype, "ImageSrc", null);
|
|
15416
|
-
__decorate$
|
|
15464
|
+
__decorate$1E([
|
|
15417
15465
|
core.Input()
|
|
15418
15466
|
], MagnizoomComponent.prototype, "zoomMode", void 0);
|
|
15419
|
-
__decorate$
|
|
15467
|
+
__decorate$1E([
|
|
15420
15468
|
core.Input()
|
|
15421
15469
|
], MagnizoomComponent.prototype, "minZoomFactor", void 0);
|
|
15422
|
-
__decorate$
|
|
15470
|
+
__decorate$1E([
|
|
15423
15471
|
core.Input()
|
|
15424
15472
|
], MagnizoomComponent.prototype, "maxZoomFactor", void 0);
|
|
15425
|
-
__decorate$
|
|
15473
|
+
__decorate$1E([
|
|
15426
15474
|
core.Input()
|
|
15427
15475
|
], MagnizoomComponent.prototype, "imageStyle", void 0);
|
|
15428
|
-
__decorate$
|
|
15476
|
+
__decorate$1E([
|
|
15429
15477
|
core.Input()
|
|
15430
15478
|
], MagnizoomComponent.prototype, "imageClass", void 0);
|
|
15431
|
-
__decorate$
|
|
15479
|
+
__decorate$1E([
|
|
15432
15480
|
core.ViewChild('mainCanvas', { static: true })
|
|
15433
15481
|
], MagnizoomComponent.prototype, "mainCanvasRef", void 0);
|
|
15434
|
-
MagnizoomComponent = __decorate$
|
|
15482
|
+
MagnizoomComponent = __decorate$1E([
|
|
15435
15483
|
core.Component({
|
|
15436
15484
|
selector: '[app-magnizoom-ec]',
|
|
15437
15485
|
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",
|
|
@@ -15454,7 +15502,7 @@
|
|
|
15454
15502
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15455
15503
|
};
|
|
15456
15504
|
})();
|
|
15457
|
-
var __decorate$
|
|
15505
|
+
var __decorate$1F = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15458
15506
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15459
15507
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15460
15508
|
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;
|
|
@@ -15518,19 +15566,19 @@
|
|
|
15518
15566
|
{ type: CartService },
|
|
15519
15567
|
{ type: ToastService }
|
|
15520
15568
|
]; };
|
|
15521
|
-
__decorate$
|
|
15569
|
+
__decorate$1F([
|
|
15522
15570
|
core.Input()
|
|
15523
15571
|
], MultipleItemsToCartEcComponent.prototype, "product", void 0);
|
|
15524
|
-
__decorate$
|
|
15572
|
+
__decorate$1F([
|
|
15525
15573
|
core.Input()
|
|
15526
15574
|
], MultipleItemsToCartEcComponent.prototype, "objectWithVariant", void 0);
|
|
15527
|
-
__decorate$
|
|
15575
|
+
__decorate$1F([
|
|
15528
15576
|
core.Output()
|
|
15529
15577
|
], MultipleItemsToCartEcComponent.prototype, "totalCostItems", void 0);
|
|
15530
|
-
__decorate$
|
|
15578
|
+
__decorate$1F([
|
|
15531
15579
|
core.Output()
|
|
15532
15580
|
], MultipleItemsToCartEcComponent.prototype, "totalItems", void 0);
|
|
15533
|
-
MultipleItemsToCartEcComponent = __decorate$
|
|
15581
|
+
MultipleItemsToCartEcComponent = __decorate$1F([
|
|
15534
15582
|
core.Component({
|
|
15535
15583
|
selector: 'app-multiple-items-to-cart-ec',
|
|
15536
15584
|
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>",
|
|
@@ -15540,7 +15588,7 @@
|
|
|
15540
15588
|
return MultipleItemsToCartEcComponent;
|
|
15541
15589
|
}(ComponentHelper));
|
|
15542
15590
|
|
|
15543
|
-
var __decorate$
|
|
15591
|
+
var __decorate$1G = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15544
15592
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15545
15593
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15546
15594
|
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;
|
|
@@ -15653,7 +15701,7 @@
|
|
|
15653
15701
|
{ type: ParametersService }
|
|
15654
15702
|
]; };
|
|
15655
15703
|
CaptchaService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CaptchaService_Factory() { return new CaptchaService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService), core.ɵɵinject(http.HttpClient), core.ɵɵinject(ParametersService)); }, token: CaptchaService, providedIn: "root" });
|
|
15656
|
-
CaptchaService$1 = __decorate$
|
|
15704
|
+
CaptchaService$1 = __decorate$1G([
|
|
15657
15705
|
core.Injectable({
|
|
15658
15706
|
providedIn: 'root'
|
|
15659
15707
|
})
|
|
@@ -15661,7 +15709,7 @@
|
|
|
15661
15709
|
return CaptchaService$1;
|
|
15662
15710
|
}());
|
|
15663
15711
|
|
|
15664
|
-
var __decorate$
|
|
15712
|
+
var __decorate$1H = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15665
15713
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15666
15714
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15667
15715
|
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;
|
|
@@ -15695,13 +15743,13 @@
|
|
|
15695
15743
|
RecaptchaEcComponent.ctorParameters = function () { return [
|
|
15696
15744
|
{ type: CaptchaService }
|
|
15697
15745
|
]; };
|
|
15698
|
-
__decorate$
|
|
15746
|
+
__decorate$1H([
|
|
15699
15747
|
core.Input()
|
|
15700
15748
|
], RecaptchaEcComponent.prototype, "form", void 0);
|
|
15701
|
-
__decorate$
|
|
15749
|
+
__decorate$1H([
|
|
15702
15750
|
core.Input()
|
|
15703
15751
|
], RecaptchaEcComponent.prototype, "siteKey", void 0);
|
|
15704
|
-
RecaptchaEcComponent = __decorate$
|
|
15752
|
+
RecaptchaEcComponent = __decorate$1H([
|
|
15705
15753
|
core.Component({
|
|
15706
15754
|
selector: 're-captcha-ec',
|
|
15707
15755
|
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>",
|
|
@@ -15724,7 +15772,7 @@
|
|
|
15724
15772
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15725
15773
|
};
|
|
15726
15774
|
})();
|
|
15727
|
-
var __decorate$
|
|
15775
|
+
var __decorate$1I = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15728
15776
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15729
15777
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15730
15778
|
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;
|
|
@@ -15859,28 +15907,28 @@
|
|
|
15859
15907
|
{ type: ParametersService },
|
|
15860
15908
|
{ type: CheckoutService }
|
|
15861
15909
|
]; };
|
|
15862
|
-
__decorate$
|
|
15910
|
+
__decorate$1I([
|
|
15863
15911
|
core.Input()
|
|
15864
15912
|
], DecidirEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15865
|
-
__decorate$
|
|
15913
|
+
__decorate$1I([
|
|
15866
15914
|
core.Input()
|
|
15867
15915
|
], DecidirEcComponent.prototype, "method", void 0);
|
|
15868
|
-
__decorate$
|
|
15916
|
+
__decorate$1I([
|
|
15869
15917
|
core.Input()
|
|
15870
15918
|
], DecidirEcComponent.prototype, "total_amount", void 0);
|
|
15871
|
-
__decorate$
|
|
15919
|
+
__decorate$1I([
|
|
15872
15920
|
core.Input()
|
|
15873
15921
|
], DecidirEcComponent.prototype, "allData", void 0);
|
|
15874
|
-
__decorate$
|
|
15922
|
+
__decorate$1I([
|
|
15875
15923
|
core.Input()
|
|
15876
15924
|
], DecidirEcComponent.prototype, "user_data", void 0);
|
|
15877
|
-
__decorate$
|
|
15925
|
+
__decorate$1I([
|
|
15878
15926
|
core.Output()
|
|
15879
15927
|
], DecidirEcComponent.prototype, "ready", void 0);
|
|
15880
|
-
__decorate$
|
|
15928
|
+
__decorate$1I([
|
|
15881
15929
|
core.ViewChild('template')
|
|
15882
15930
|
], DecidirEcComponent.prototype, "template", void 0);
|
|
15883
|
-
DecidirEcComponent = __decorate$
|
|
15931
|
+
DecidirEcComponent = __decorate$1I([
|
|
15884
15932
|
core.Component({
|
|
15885
15933
|
selector: 'app-decidir-ec',
|
|
15886
15934
|
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",
|
|
@@ -15891,7 +15939,7 @@
|
|
|
15891
15939
|
return DecidirEcComponent;
|
|
15892
15940
|
}(ComponentHelper));
|
|
15893
15941
|
|
|
15894
|
-
var __decorate$
|
|
15942
|
+
var __decorate$1J = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15895
15943
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15896
15944
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15897
15945
|
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;
|
|
@@ -16038,7 +16086,7 @@
|
|
|
16038
16086
|
{ type: ConnectionService }
|
|
16039
16087
|
]; };
|
|
16040
16088
|
ConcatenatedAssociationsService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ConcatenatedAssociationsService_Factory() { return new ConcatenatedAssociationsService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService)); }, token: ConcatenatedAssociationsService, providedIn: "root" });
|
|
16041
|
-
ConcatenatedAssociationsService$1 = __decorate$
|
|
16089
|
+
ConcatenatedAssociationsService$1 = __decorate$1J([
|
|
16042
16090
|
core.Injectable({
|
|
16043
16091
|
providedIn: 'root'
|
|
16044
16092
|
})
|
|
@@ -16059,7 +16107,7 @@
|
|
|
16059
16107
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16060
16108
|
};
|
|
16061
16109
|
})();
|
|
16062
|
-
var __decorate$
|
|
16110
|
+
var __decorate$1K = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16063
16111
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16064
16112
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16065
16113
|
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;
|
|
@@ -16352,7 +16400,7 @@
|
|
|
16352
16400
|
{ type: CartService },
|
|
16353
16401
|
{ type: router.Router }
|
|
16354
16402
|
]; };
|
|
16355
|
-
BuildYourEcComponent = __decorate$
|
|
16403
|
+
BuildYourEcComponent = __decorate$1K([
|
|
16356
16404
|
core.Component({
|
|
16357
16405
|
selector: 'app-build-your-ec',
|
|
16358
16406
|
template: "<p>\r\n build-your-ec works!\r\n</p>\r\n",
|
|
@@ -16386,7 +16434,7 @@
|
|
|
16386
16434
|
};
|
|
16387
16435
|
return __assign$r.apply(this, arguments);
|
|
16388
16436
|
};
|
|
16389
|
-
var __decorate$
|
|
16437
|
+
var __decorate$1L = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16390
16438
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16391
16439
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16392
16440
|
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;
|
|
@@ -16448,10 +16496,10 @@
|
|
|
16448
16496
|
{ type: router.Router },
|
|
16449
16497
|
{ type: ToastService }
|
|
16450
16498
|
]; };
|
|
16451
|
-
__decorate$
|
|
16499
|
+
__decorate$1L([
|
|
16452
16500
|
core.Input()
|
|
16453
16501
|
], ProductFoundEcComponent.prototype, "product", void 0);
|
|
16454
|
-
ProductFoundEcComponent = __decorate$
|
|
16502
|
+
ProductFoundEcComponent = __decorate$1L([
|
|
16455
16503
|
core.Component({
|
|
16456
16504
|
selector: 'app-product-found-ec',
|
|
16457
16505
|
template: "<p>\r\n product-found works!\r\n</p>\r\n",
|
|
@@ -16475,7 +16523,7 @@
|
|
|
16475
16523
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16476
16524
|
};
|
|
16477
16525
|
})();
|
|
16478
|
-
var __decorate$
|
|
16526
|
+
var __decorate$1M = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16479
16527
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16480
16528
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16481
16529
|
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;
|
|
@@ -16639,22 +16687,22 @@
|
|
|
16639
16687
|
{ type: Constants },
|
|
16640
16688
|
{ type: router.Router }
|
|
16641
16689
|
]; };
|
|
16642
|
-
__decorate$
|
|
16690
|
+
__decorate$1M([
|
|
16643
16691
|
core.Input()
|
|
16644
16692
|
], ComparedProductsEcComponent.prototype, "product_id", void 0);
|
|
16645
|
-
__decorate$
|
|
16693
|
+
__decorate$1M([
|
|
16646
16694
|
core.Input()
|
|
16647
16695
|
], ComparedProductsEcComponent.prototype, "emptyValue", void 0);
|
|
16648
|
-
__decorate$
|
|
16696
|
+
__decorate$1M([
|
|
16649
16697
|
core.Input()
|
|
16650
16698
|
], ComparedProductsEcComponent.prototype, "classes", void 0);
|
|
16651
|
-
__decorate$
|
|
16699
|
+
__decorate$1M([
|
|
16652
16700
|
core.Input()
|
|
16653
16701
|
], ComparedProductsEcComponent.prototype, "setSize", null);
|
|
16654
|
-
__decorate$
|
|
16702
|
+
__decorate$1M([
|
|
16655
16703
|
core.Output()
|
|
16656
16704
|
], ComparedProductsEcComponent.prototype, "error", void 0);
|
|
16657
|
-
ComparedProductsEcComponent = __decorate$
|
|
16705
|
+
ComparedProductsEcComponent = __decorate$1M([
|
|
16658
16706
|
core.Component({
|
|
16659
16707
|
selector: 'app-compared-products-ec',
|
|
16660
16708
|
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>",
|
|
@@ -16677,7 +16725,7 @@
|
|
|
16677
16725
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16678
16726
|
};
|
|
16679
16727
|
})();
|
|
16680
|
-
var __decorate$
|
|
16728
|
+
var __decorate$1N = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16681
16729
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16682
16730
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16683
16731
|
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;
|
|
@@ -16700,25 +16748,25 @@
|
|
|
16700
16748
|
{ type: CheckoutService },
|
|
16701
16749
|
{ type: AnalyticsService }
|
|
16702
16750
|
]; };
|
|
16703
|
-
__decorate$
|
|
16751
|
+
__decorate$1N([
|
|
16704
16752
|
core.Input()
|
|
16705
16753
|
], StepEcComponent.prototype, "lastStep", void 0);
|
|
16706
|
-
__decorate$
|
|
16754
|
+
__decorate$1N([
|
|
16707
16755
|
core.Input()
|
|
16708
16756
|
], StepEcComponent.prototype, "previousStep", void 0);
|
|
16709
|
-
__decorate$
|
|
16757
|
+
__decorate$1N([
|
|
16710
16758
|
core.Input()
|
|
16711
16759
|
], StepEcComponent.prototype, "step_id", void 0);
|
|
16712
|
-
__decorate$
|
|
16760
|
+
__decorate$1N([
|
|
16713
16761
|
core.Input()
|
|
16714
16762
|
], StepEcComponent.prototype, "nextStep", void 0);
|
|
16715
|
-
__decorate$
|
|
16763
|
+
__decorate$1N([
|
|
16716
16764
|
core.Input()
|
|
16717
16765
|
], StepEcComponent.prototype, "goBack", void 0);
|
|
16718
|
-
__decorate$
|
|
16766
|
+
__decorate$1N([
|
|
16719
16767
|
core.Input()
|
|
16720
16768
|
], StepEcComponent.prototype, "id_step", void 0);
|
|
16721
|
-
StepEcComponent = __decorate$
|
|
16769
|
+
StepEcComponent = __decorate$1N([
|
|
16722
16770
|
core.Component({
|
|
16723
16771
|
selector: 'app-step-ec',
|
|
16724
16772
|
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",
|
|
@@ -16728,7 +16776,7 @@
|
|
|
16728
16776
|
return StepEcComponent;
|
|
16729
16777
|
}(ComponentHelper));
|
|
16730
16778
|
|
|
16731
|
-
var __decorate$
|
|
16779
|
+
var __decorate$1O = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16732
16780
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16733
16781
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16734
16782
|
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;
|
|
@@ -16849,25 +16897,25 @@
|
|
|
16849
16897
|
{ type: ConnectionService },
|
|
16850
16898
|
{ type: ParametersService }
|
|
16851
16899
|
]; };
|
|
16852
|
-
__decorate$
|
|
16900
|
+
__decorate$1O([
|
|
16853
16901
|
core.Input()
|
|
16854
16902
|
], CulqiEcComponent.prototype, "amount", void 0);
|
|
16855
|
-
__decorate$
|
|
16903
|
+
__decorate$1O([
|
|
16856
16904
|
core.Input()
|
|
16857
16905
|
], CulqiEcComponent.prototype, "apiKey", void 0);
|
|
16858
|
-
__decorate$
|
|
16906
|
+
__decorate$1O([
|
|
16859
16907
|
core.Input()
|
|
16860
16908
|
], CulqiEcComponent.prototype, "method", void 0);
|
|
16861
|
-
__decorate$
|
|
16909
|
+
__decorate$1O([
|
|
16862
16910
|
core.Input()
|
|
16863
16911
|
], CulqiEcComponent.prototype, "customStyle", void 0);
|
|
16864
|
-
__decorate$
|
|
16912
|
+
__decorate$1O([
|
|
16865
16913
|
core.Output()
|
|
16866
16914
|
], CulqiEcComponent.prototype, "ready", void 0);
|
|
16867
|
-
__decorate$
|
|
16915
|
+
__decorate$1O([
|
|
16868
16916
|
core.ViewChild('formContainer')
|
|
16869
16917
|
], CulqiEcComponent.prototype, "anchor", void 0);
|
|
16870
|
-
CulqiEcComponent = __decorate$
|
|
16918
|
+
CulqiEcComponent = __decorate$1O([
|
|
16871
16919
|
core.Component({
|
|
16872
16920
|
selector: 'app-culqi-ec',
|
|
16873
16921
|
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>",
|
|
@@ -16890,7 +16938,7 @@
|
|
|
16890
16938
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16891
16939
|
};
|
|
16892
16940
|
})();
|
|
16893
|
-
var __decorate$
|
|
16941
|
+
var __decorate$1P = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16894
16942
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16895
16943
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16896
16944
|
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;
|
|
@@ -16955,16 +17003,16 @@
|
|
|
16955
17003
|
RatingEcComponent.prototype.ngOnInit = function () {
|
|
16956
17004
|
this.ratingValue ? this.processRatingValue(this.ratingValue) : null;
|
|
16957
17005
|
};
|
|
16958
|
-
__decorate$
|
|
17006
|
+
__decorate$1P([
|
|
16959
17007
|
core.Input()
|
|
16960
17008
|
], RatingEcComponent.prototype, "template", void 0);
|
|
16961
|
-
__decorate$
|
|
17009
|
+
__decorate$1P([
|
|
16962
17010
|
core.Input()
|
|
16963
17011
|
], RatingEcComponent.prototype, "type", void 0);
|
|
16964
|
-
__decorate$
|
|
17012
|
+
__decorate$1P([
|
|
16965
17013
|
core.Input()
|
|
16966
17014
|
], RatingEcComponent.prototype, "ratingValue", void 0);
|
|
16967
|
-
RatingEcComponent = __decorate$
|
|
17015
|
+
RatingEcComponent = __decorate$1P([
|
|
16968
17016
|
core.Component({
|
|
16969
17017
|
selector: 'app-rating-ec',
|
|
16970
17018
|
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",
|
|
@@ -16974,7 +17022,7 @@
|
|
|
16974
17022
|
return RatingEcComponent;
|
|
16975
17023
|
}(ComponentHelper));
|
|
16976
17024
|
|
|
16977
|
-
var __decorate$
|
|
17025
|
+
var __decorate$1Q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16978
17026
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16979
17027
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16980
17028
|
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;
|
|
@@ -17073,7 +17121,7 @@
|
|
|
17073
17121
|
{ type: PaginationService }
|
|
17074
17122
|
]; };
|
|
17075
17123
|
ReviewsService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ReviewsService_Factory() { return new ReviewsService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants), core.ɵɵinject(PaginationService)); }, token: ReviewsService, providedIn: "root" });
|
|
17076
|
-
ReviewsService$1 = __decorate$
|
|
17124
|
+
ReviewsService$1 = __decorate$1Q([
|
|
17077
17125
|
core.Injectable({
|
|
17078
17126
|
providedIn: 'root'
|
|
17079
17127
|
})
|
|
@@ -17094,7 +17142,7 @@
|
|
|
17094
17142
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17095
17143
|
};
|
|
17096
17144
|
})();
|
|
17097
|
-
var __decorate$
|
|
17145
|
+
var __decorate$1R = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17098
17146
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17099
17147
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17100
17148
|
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;
|
|
@@ -17204,19 +17252,19 @@
|
|
|
17204
17252
|
{ type: AuthService },
|
|
17205
17253
|
{ type: ReviewsService }
|
|
17206
17254
|
]; };
|
|
17207
|
-
__decorate$
|
|
17255
|
+
__decorate$1R([
|
|
17208
17256
|
core.Input()
|
|
17209
17257
|
], ReviewsFormEcComponent.prototype, "product", void 0);
|
|
17210
|
-
__decorate$
|
|
17258
|
+
__decorate$1R([
|
|
17211
17259
|
core.Input()
|
|
17212
17260
|
], ReviewsFormEcComponent.prototype, "withAuthenticated", void 0);
|
|
17213
|
-
__decorate$
|
|
17261
|
+
__decorate$1R([
|
|
17214
17262
|
core.Input()
|
|
17215
17263
|
], ReviewsFormEcComponent.prototype, "max", void 0);
|
|
17216
|
-
__decorate$
|
|
17264
|
+
__decorate$1R([
|
|
17217
17265
|
core.Output()
|
|
17218
17266
|
], ReviewsFormEcComponent.prototype, "ready", void 0);
|
|
17219
|
-
ReviewsFormEcComponent = __decorate$
|
|
17267
|
+
ReviewsFormEcComponent = __decorate$1R([
|
|
17220
17268
|
core.Component({
|
|
17221
17269
|
selector: 'app-reviews-form-ec',
|
|
17222
17270
|
template: "<p>\r\n reviews-form-ec works!\r\n</p>\r\n",
|
|
@@ -17239,7 +17287,7 @@
|
|
|
17239
17287
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17240
17288
|
};
|
|
17241
17289
|
})();
|
|
17242
|
-
var __decorate$
|
|
17290
|
+
var __decorate$1S = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17243
17291
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17244
17292
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17245
17293
|
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;
|
|
@@ -17293,10 +17341,10 @@
|
|
|
17293
17341
|
{ type: ReviewsService },
|
|
17294
17342
|
{ type: Constants }
|
|
17295
17343
|
]; };
|
|
17296
|
-
__decorate$
|
|
17344
|
+
__decorate$1S([
|
|
17297
17345
|
core.Input()
|
|
17298
17346
|
], ReviewsEcComponent.prototype, "product", void 0);
|
|
17299
|
-
ReviewsEcComponent = __decorate$
|
|
17347
|
+
ReviewsEcComponent = __decorate$1S([
|
|
17300
17348
|
core.Component({
|
|
17301
17349
|
selector: 'app-reviews-ec',
|
|
17302
17350
|
template: "<p>\r\n reviews-ec works!\r\n</p>\r\n",
|
|
@@ -17319,7 +17367,7 @@
|
|
|
17319
17367
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17320
17368
|
};
|
|
17321
17369
|
})();
|
|
17322
|
-
var __decorate$
|
|
17370
|
+
var __decorate$1T = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17323
17371
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17324
17372
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17325
17373
|
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;
|
|
@@ -17580,28 +17628,28 @@
|
|
|
17580
17628
|
{ type: core.ChangeDetectorRef },
|
|
17581
17629
|
{ type: core.Renderer2 }
|
|
17582
17630
|
]; };
|
|
17583
|
-
__decorate$
|
|
17631
|
+
__decorate$1T([
|
|
17584
17632
|
core.Input()
|
|
17585
17633
|
], BancardCatastroEcComponent.prototype, "paymentServiceInst", void 0);
|
|
17586
|
-
__decorate$
|
|
17634
|
+
__decorate$1T([
|
|
17587
17635
|
core.Input()
|
|
17588
17636
|
], BancardCatastroEcComponent.prototype, "method", void 0);
|
|
17589
|
-
__decorate$
|
|
17637
|
+
__decorate$1T([
|
|
17590
17638
|
core.Input()
|
|
17591
17639
|
], BancardCatastroEcComponent.prototype, "total_amount", void 0);
|
|
17592
|
-
__decorate$
|
|
17640
|
+
__decorate$1T([
|
|
17593
17641
|
core.Input()
|
|
17594
17642
|
], BancardCatastroEcComponent.prototype, "allData", void 0);
|
|
17595
|
-
__decorate$
|
|
17643
|
+
__decorate$1T([
|
|
17596
17644
|
core.Input()
|
|
17597
17645
|
], BancardCatastroEcComponent.prototype, "user_data", void 0);
|
|
17598
|
-
__decorate$
|
|
17646
|
+
__decorate$1T([
|
|
17599
17647
|
core.Output()
|
|
17600
17648
|
], BancardCatastroEcComponent.prototype, "ready", void 0);
|
|
17601
|
-
__decorate$
|
|
17649
|
+
__decorate$1T([
|
|
17602
17650
|
core.Output()
|
|
17603
17651
|
], BancardCatastroEcComponent.prototype, "cardAdded", void 0);
|
|
17604
|
-
BancardCatastroEcComponent = __decorate$
|
|
17652
|
+
BancardCatastroEcComponent = __decorate$1T([
|
|
17605
17653
|
core.Component({
|
|
17606
17654
|
selector: 'app-bancard-catastro-ec',
|
|
17607
17655
|
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>",
|
|
@@ -17622,7 +17670,7 @@
|
|
|
17622
17670
|
};
|
|
17623
17671
|
return __assign$s.apply(this, arguments);
|
|
17624
17672
|
};
|
|
17625
|
-
var __decorate$
|
|
17673
|
+
var __decorate$1U = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17626
17674
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17627
17675
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17628
17676
|
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;
|
|
@@ -17820,7 +17868,7 @@
|
|
|
17820
17868
|
{ type: core.Injector }
|
|
17821
17869
|
]; };
|
|
17822
17870
|
CookiesService.ɵprov = core.ɵɵdefineInjectable({ factory: function CookiesService_Factory() { return new CookiesService(core.ɵɵinject(core.INJECTOR)); }, token: CookiesService, providedIn: "root" });
|
|
17823
|
-
CookiesService = __decorate$
|
|
17871
|
+
CookiesService = __decorate$1U([
|
|
17824
17872
|
core.Injectable({
|
|
17825
17873
|
providedIn: 'root'
|
|
17826
17874
|
})
|
|
@@ -17841,7 +17889,7 @@
|
|
|
17841
17889
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17842
17890
|
};
|
|
17843
17891
|
})();
|
|
17844
|
-
var __decorate$
|
|
17892
|
+
var __decorate$1V = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17845
17893
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17846
17894
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17847
17895
|
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;
|
|
@@ -17936,10 +17984,10 @@
|
|
|
17936
17984
|
{ type: Constants },
|
|
17937
17985
|
{ type: CookiesService }
|
|
17938
17986
|
]; };
|
|
17939
|
-
__decorate$
|
|
17987
|
+
__decorate$1V([
|
|
17940
17988
|
core.Input()
|
|
17941
17989
|
], CookiesEcComponent.prototype, "templates", void 0);
|
|
17942
|
-
CookiesEcComponent = __decorate$
|
|
17990
|
+
CookiesEcComponent = __decorate$1V([
|
|
17943
17991
|
core.Component({
|
|
17944
17992
|
selector: 'app-cookies-ec',
|
|
17945
17993
|
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>",
|
|
@@ -17949,7 +17997,7 @@
|
|
|
17949
17997
|
return CookiesEcComponent;
|
|
17950
17998
|
}(ComponentHelper));
|
|
17951
17999
|
|
|
17952
|
-
var __decorate$
|
|
18000
|
+
var __decorate$1W = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17953
18001
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17954
18002
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17955
18003
|
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;
|
|
@@ -17967,13 +18015,13 @@
|
|
|
17967
18015
|
_this.show();
|
|
17968
18016
|
}, 2000);
|
|
17969
18017
|
};
|
|
17970
|
-
__decorate$
|
|
18018
|
+
__decorate$1W([
|
|
17971
18019
|
core.Input()
|
|
17972
18020
|
], SidebarCookiesEcComponent.prototype, "cookies", void 0);
|
|
17973
|
-
__decorate$
|
|
18021
|
+
__decorate$1W([
|
|
17974
18022
|
core.Input()
|
|
17975
18023
|
], SidebarCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
17976
|
-
SidebarCookiesEcComponent = __decorate$
|
|
18024
|
+
SidebarCookiesEcComponent = __decorate$1W([
|
|
17977
18025
|
core.Component({
|
|
17978
18026
|
selector: 'app-sidebar-cookies-ec',
|
|
17979
18027
|
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",
|
|
@@ -17983,7 +18031,7 @@
|
|
|
17983
18031
|
return SidebarCookiesEcComponent;
|
|
17984
18032
|
}());
|
|
17985
18033
|
|
|
17986
|
-
var __decorate$
|
|
18034
|
+
var __decorate$1X = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17987
18035
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17988
18036
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17989
18037
|
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;
|
|
@@ -18001,13 +18049,13 @@
|
|
|
18001
18049
|
_this.show();
|
|
18002
18050
|
}, 2000);
|
|
18003
18051
|
};
|
|
18004
|
-
__decorate$
|
|
18052
|
+
__decorate$1X([
|
|
18005
18053
|
core.Input()
|
|
18006
18054
|
], ModalCookiesEcComponent.prototype, "cookies", void 0);
|
|
18007
|
-
__decorate$
|
|
18055
|
+
__decorate$1X([
|
|
18008
18056
|
core.Input()
|
|
18009
18057
|
], ModalCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18010
|
-
ModalCookiesEcComponent = __decorate$
|
|
18058
|
+
ModalCookiesEcComponent = __decorate$1X([
|
|
18011
18059
|
core.Component({
|
|
18012
18060
|
selector: 'app-modal-cookies-ec',
|
|
18013
18061
|
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",
|
|
@@ -18017,7 +18065,7 @@
|
|
|
18017
18065
|
return ModalCookiesEcComponent;
|
|
18018
18066
|
}());
|
|
18019
18067
|
|
|
18020
|
-
var __decorate$
|
|
18068
|
+
var __decorate$1Y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18021
18069
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18022
18070
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18023
18071
|
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;
|
|
@@ -18036,13 +18084,13 @@
|
|
|
18036
18084
|
_this.acceptCookies();
|
|
18037
18085
|
}, 2000);
|
|
18038
18086
|
};
|
|
18039
|
-
__decorate$
|
|
18087
|
+
__decorate$1Y([
|
|
18040
18088
|
core.Input()
|
|
18041
18089
|
], ToastCookiesEcComponent.prototype, "cookies", void 0);
|
|
18042
|
-
__decorate$
|
|
18090
|
+
__decorate$1Y([
|
|
18043
18091
|
core.Input()
|
|
18044
18092
|
], ToastCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18045
|
-
ToastCookiesEcComponent = __decorate$
|
|
18093
|
+
ToastCookiesEcComponent = __decorate$1Y([
|
|
18046
18094
|
core.Component({
|
|
18047
18095
|
selector: 'app-toast-cookies-ec',
|
|
18048
18096
|
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>",
|
|
@@ -18052,7 +18100,7 @@
|
|
|
18052
18100
|
return ToastCookiesEcComponent;
|
|
18053
18101
|
}());
|
|
18054
18102
|
|
|
18055
|
-
var __decorate$
|
|
18103
|
+
var __decorate$1Z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18056
18104
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18057
18105
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18058
18106
|
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;
|
|
@@ -18065,16 +18113,16 @@
|
|
|
18065
18113
|
}
|
|
18066
18114
|
ModalConfigEcComponent.prototype.ngOnInit = function () {
|
|
18067
18115
|
};
|
|
18068
|
-
__decorate$
|
|
18116
|
+
__decorate$1Z([
|
|
18069
18117
|
core.Input()
|
|
18070
18118
|
], ModalConfigEcComponent.prototype, "cookies", void 0);
|
|
18071
|
-
__decorate$
|
|
18119
|
+
__decorate$1Z([
|
|
18072
18120
|
core.Input()
|
|
18073
18121
|
], ModalConfigEcComponent.prototype, "cookiesToSave", void 0);
|
|
18074
|
-
__decorate$
|
|
18122
|
+
__decorate$1Z([
|
|
18075
18123
|
core.Input()
|
|
18076
18124
|
], ModalConfigEcComponent.prototype, "cookiesFunctions", void 0);
|
|
18077
|
-
ModalConfigEcComponent = __decorate$
|
|
18125
|
+
ModalConfigEcComponent = __decorate$1Z([
|
|
18078
18126
|
core.Component({
|
|
18079
18127
|
selector: 'app-modal-config-ec',
|
|
18080
18128
|
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",
|
|
@@ -18097,7 +18145,7 @@
|
|
|
18097
18145
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18098
18146
|
};
|
|
18099
18147
|
})();
|
|
18100
|
-
var __decorate$
|
|
18148
|
+
var __decorate$1_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18101
18149
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18102
18150
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18103
18151
|
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;
|
|
@@ -18265,28 +18313,28 @@
|
|
|
18265
18313
|
{ type: core.Injector },
|
|
18266
18314
|
{ type: CartService }
|
|
18267
18315
|
]; };
|
|
18268
|
-
__decorate$
|
|
18316
|
+
__decorate$1_([
|
|
18269
18317
|
core.Input()
|
|
18270
18318
|
], BambooEcComponent.prototype, "paymentServiceInst", void 0);
|
|
18271
|
-
__decorate$
|
|
18319
|
+
__decorate$1_([
|
|
18272
18320
|
core.Input()
|
|
18273
18321
|
], BambooEcComponent.prototype, "method", void 0);
|
|
18274
|
-
__decorate$
|
|
18322
|
+
__decorate$1_([
|
|
18275
18323
|
core.Input()
|
|
18276
18324
|
], BambooEcComponent.prototype, "total_amount", void 0);
|
|
18277
|
-
__decorate$
|
|
18325
|
+
__decorate$1_([
|
|
18278
18326
|
core.Input()
|
|
18279
18327
|
], BambooEcComponent.prototype, "allData", void 0);
|
|
18280
|
-
__decorate$
|
|
18328
|
+
__decorate$1_([
|
|
18281
18329
|
core.Input()
|
|
18282
18330
|
], BambooEcComponent.prototype, "user_data", void 0);
|
|
18283
|
-
__decorate$
|
|
18331
|
+
__decorate$1_([
|
|
18284
18332
|
core.Output()
|
|
18285
18333
|
], BambooEcComponent.prototype, "ready", void 0);
|
|
18286
|
-
__decorate$
|
|
18334
|
+
__decorate$1_([
|
|
18287
18335
|
core.ViewChild('template')
|
|
18288
18336
|
], BambooEcComponent.prototype, "template", void 0);
|
|
18289
|
-
BambooEcComponent = __decorate$
|
|
18337
|
+
BambooEcComponent = __decorate$1_([
|
|
18290
18338
|
core.Component({
|
|
18291
18339
|
selector: 'app-bamboo-ec',
|
|
18292
18340
|
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>",
|
|
@@ -18296,7 +18344,7 @@
|
|
|
18296
18344
|
return BambooEcComponent;
|
|
18297
18345
|
}(ComponentHelper));
|
|
18298
18346
|
|
|
18299
|
-
var __decorate$
|
|
18347
|
+
var __decorate$1$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18300
18348
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18301
18349
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18302
18350
|
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;
|
|
@@ -18399,7 +18447,7 @@
|
|
|
18399
18447
|
{ type: router.Router },
|
|
18400
18448
|
{ type: ToastService }
|
|
18401
18449
|
]; };
|
|
18402
|
-
SidebarEcComponent = __decorate$
|
|
18450
|
+
SidebarEcComponent = __decorate$1$([
|
|
18403
18451
|
core.Component({
|
|
18404
18452
|
selector: 'app-sidebar-ec',
|
|
18405
18453
|
template: "",
|
|
@@ -18492,7 +18540,7 @@
|
|
|
18492
18540
|
SidebarEcComponent
|
|
18493
18541
|
];
|
|
18494
18542
|
|
|
18495
|
-
var __decorate$
|
|
18543
|
+
var __decorate$20 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18496
18544
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18497
18545
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18498
18546
|
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;
|
|
@@ -18572,16 +18620,16 @@
|
|
|
18572
18620
|
{ type: BlocksService },
|
|
18573
18621
|
{ type: router.Router }
|
|
18574
18622
|
]; };
|
|
18575
|
-
__decorate$
|
|
18623
|
+
__decorate$20([
|
|
18576
18624
|
core.Input()
|
|
18577
18625
|
], AddActionRedirectDirective.prototype, "ecAddActionRedirect", null);
|
|
18578
|
-
__decorate$
|
|
18626
|
+
__decorate$20([
|
|
18579
18627
|
core.Input()
|
|
18580
18628
|
], AddActionRedirectDirective.prototype, "classStrSpacing", null);
|
|
18581
|
-
__decorate$
|
|
18629
|
+
__decorate$20([
|
|
18582
18630
|
core.Input()
|
|
18583
18631
|
], AddActionRedirectDirective.prototype, "isTransparent", null);
|
|
18584
|
-
AddActionRedirectDirective = __decorate$
|
|
18632
|
+
AddActionRedirectDirective = __decorate$20([
|
|
18585
18633
|
core.Directive({
|
|
18586
18634
|
selector: "[ecAddActionRedirect]",
|
|
18587
18635
|
}),
|
|
@@ -18590,7 +18638,7 @@
|
|
|
18590
18638
|
return AddActionRedirectDirective;
|
|
18591
18639
|
}());
|
|
18592
18640
|
|
|
18593
|
-
var __decorate$
|
|
18641
|
+
var __decorate$21 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18594
18642
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18595
18643
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18596
18644
|
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;
|
|
@@ -18655,13 +18703,13 @@
|
|
|
18655
18703
|
{ type: core.TemplateRef },
|
|
18656
18704
|
{ type: core.ViewContainerRef }
|
|
18657
18705
|
]; };
|
|
18658
|
-
__decorate$
|
|
18706
|
+
__decorate$21([
|
|
18659
18707
|
core.Input()
|
|
18660
18708
|
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
18661
|
-
__decorate$
|
|
18709
|
+
__decorate$21([
|
|
18662
18710
|
core.Input()
|
|
18663
18711
|
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
18664
|
-
ProductStockDirective = __decorate$
|
|
18712
|
+
ProductStockDirective = __decorate$21([
|
|
18665
18713
|
core.Directive({
|
|
18666
18714
|
selector: "[ecProductStock]"
|
|
18667
18715
|
})
|
|
@@ -18669,7 +18717,7 @@
|
|
|
18669
18717
|
return ProductStockDirective;
|
|
18670
18718
|
}());
|
|
18671
18719
|
|
|
18672
|
-
var __decorate$
|
|
18720
|
+
var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18673
18721
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18674
18722
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18675
18723
|
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;
|
|
@@ -18810,16 +18858,16 @@
|
|
|
18810
18858
|
{ type: core.ElementRef },
|
|
18811
18859
|
{ type: core.Renderer2 }
|
|
18812
18860
|
]; };
|
|
18813
|
-
__decorate$
|
|
18861
|
+
__decorate$22([
|
|
18814
18862
|
core.Input()
|
|
18815
18863
|
], ProductOffDirective.prototype, "ecProductOff", null);
|
|
18816
|
-
__decorate$
|
|
18864
|
+
__decorate$22([
|
|
18817
18865
|
core.Input()
|
|
18818
18866
|
], ProductOffDirective.prototype, "classStrSpacing", null);
|
|
18819
|
-
__decorate$
|
|
18867
|
+
__decorate$22([
|
|
18820
18868
|
core.Input()
|
|
18821
18869
|
], ProductOffDirective.prototype, "customMessage", null);
|
|
18822
|
-
ProductOffDirective = __decorate$
|
|
18870
|
+
ProductOffDirective = __decorate$22([
|
|
18823
18871
|
core.Directive({
|
|
18824
18872
|
selector: "[ecProductOff]",
|
|
18825
18873
|
}),
|
|
@@ -18828,7 +18876,7 @@
|
|
|
18828
18876
|
return ProductOffDirective;
|
|
18829
18877
|
}());
|
|
18830
18878
|
|
|
18831
|
-
var __decorate$
|
|
18879
|
+
var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18832
18880
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18833
18881
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18834
18882
|
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;
|
|
@@ -18886,10 +18934,10 @@
|
|
|
18886
18934
|
{ type: core.Renderer2 },
|
|
18887
18935
|
{ type: Constants }
|
|
18888
18936
|
]; };
|
|
18889
|
-
__decorate$
|
|
18937
|
+
__decorate$23([
|
|
18890
18938
|
core.Input()
|
|
18891
18939
|
], ProductMiniStandardDirective.prototype, "ecProductMiniStandard", null);
|
|
18892
|
-
ProductMiniStandardDirective = __decorate$
|
|
18940
|
+
ProductMiniStandardDirective = __decorate$23([
|
|
18893
18941
|
core.Directive({
|
|
18894
18942
|
selector: '[ecProductMiniStandard]'
|
|
18895
18943
|
})
|
|
@@ -18897,7 +18945,7 @@
|
|
|
18897
18945
|
return ProductMiniStandardDirective;
|
|
18898
18946
|
}());
|
|
18899
18947
|
|
|
18900
|
-
var __decorate$
|
|
18948
|
+
var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18901
18949
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18902
18950
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18903
18951
|
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;
|
|
@@ -18940,13 +18988,13 @@
|
|
|
18940
18988
|
{ type: core.ViewContainerRef },
|
|
18941
18989
|
{ type: AuthService }
|
|
18942
18990
|
]; };
|
|
18943
|
-
__decorate$
|
|
18991
|
+
__decorate$24([
|
|
18944
18992
|
core.Input()
|
|
18945
18993
|
], AuthWholesalerDirective.prototype, "ecAuthWholesalerElse", void 0);
|
|
18946
|
-
__decorate$
|
|
18994
|
+
__decorate$24([
|
|
18947
18995
|
core.Input()
|
|
18948
18996
|
], AuthWholesalerDirective.prototype, "ecAuthWholesaler", null);
|
|
18949
|
-
AuthWholesalerDirective = __decorate$
|
|
18997
|
+
AuthWholesalerDirective = __decorate$24([
|
|
18950
18998
|
core.Directive({
|
|
18951
18999
|
selector: "[ecAuthWholesaler]"
|
|
18952
19000
|
})
|
|
@@ -18954,7 +19002,7 @@
|
|
|
18954
19002
|
return AuthWholesalerDirective;
|
|
18955
19003
|
}());
|
|
18956
19004
|
|
|
18957
|
-
var __decorate$
|
|
19005
|
+
var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18958
19006
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18959
19007
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18960
19008
|
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;
|
|
@@ -18976,10 +19024,10 @@
|
|
|
18976
19024
|
{ type: core.TemplateRef },
|
|
18977
19025
|
{ type: core.ViewContainerRef }
|
|
18978
19026
|
]; };
|
|
18979
|
-
__decorate$
|
|
19027
|
+
__decorate$25([
|
|
18980
19028
|
core.Input()
|
|
18981
19029
|
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
18982
|
-
ReloadViewDirective = __decorate$
|
|
19030
|
+
ReloadViewDirective = __decorate$25([
|
|
18983
19031
|
core.Directive({
|
|
18984
19032
|
selector: '[ecReloadView]'
|
|
18985
19033
|
})
|
|
@@ -19002,7 +19050,7 @@
|
|
|
19002
19050
|
ReloadViewDirective,
|
|
19003
19051
|
];
|
|
19004
19052
|
|
|
19005
|
-
var __decorate$
|
|
19053
|
+
var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19006
19054
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19007
19055
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19008
19056
|
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;
|
|
@@ -19062,7 +19110,7 @@
|
|
|
19062
19110
|
{ type: CurrencyService },
|
|
19063
19111
|
{ type: core.Injector }
|
|
19064
19112
|
]; };
|
|
19065
|
-
ecCurrencySymbolPipe = __decorate$
|
|
19113
|
+
ecCurrencySymbolPipe = __decorate$26([
|
|
19066
19114
|
core.Pipe({
|
|
19067
19115
|
name: 'ecCurrencySymbol',
|
|
19068
19116
|
})
|
|
@@ -19070,7 +19118,7 @@
|
|
|
19070
19118
|
return ecCurrencySymbolPipe;
|
|
19071
19119
|
}());
|
|
19072
19120
|
|
|
19073
|
-
var __decorate$
|
|
19121
|
+
var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19074
19122
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19075
19123
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19076
19124
|
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;
|
|
@@ -19086,7 +19134,7 @@
|
|
|
19086
19134
|
EcSanitizerHtmlPipe.ctorParameters = function () { return [
|
|
19087
19135
|
{ type: platformBrowser.DomSanitizer }
|
|
19088
19136
|
]; };
|
|
19089
|
-
EcSanitizerHtmlPipe = __decorate$
|
|
19137
|
+
EcSanitizerHtmlPipe = __decorate$27([
|
|
19090
19138
|
core.Pipe({
|
|
19091
19139
|
name: 'ecSanitizerHtml'
|
|
19092
19140
|
})
|
|
@@ -19094,7 +19142,7 @@
|
|
|
19094
19142
|
return EcSanitizerHtmlPipe;
|
|
19095
19143
|
}());
|
|
19096
19144
|
|
|
19097
|
-
var __decorate$
|
|
19145
|
+
var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19098
19146
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19099
19147
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19100
19148
|
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;
|
|
@@ -19110,7 +19158,7 @@
|
|
|
19110
19158
|
EcSanitizerUrlPipe.ctorParameters = function () { return [
|
|
19111
19159
|
{ type: platformBrowser.DomSanitizer }
|
|
19112
19160
|
]; };
|
|
19113
|
-
EcSanitizerUrlPipe = __decorate$
|
|
19161
|
+
EcSanitizerUrlPipe = __decorate$28([
|
|
19114
19162
|
core.Pipe({
|
|
19115
19163
|
name: 'ecSanitizerUrl'
|
|
19116
19164
|
})
|
|
@@ -19125,7 +19173,7 @@
|
|
|
19125
19173
|
EcSanitizerUrlPipe
|
|
19126
19174
|
];
|
|
19127
19175
|
|
|
19128
|
-
var __decorate$
|
|
19176
|
+
var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19129
19177
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19130
19178
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19131
19179
|
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;
|
|
@@ -19212,7 +19260,7 @@
|
|
|
19212
19260
|
};
|
|
19213
19261
|
};
|
|
19214
19262
|
var NgEasycommerceModule_1;
|
|
19215
|
-
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$
|
|
19263
|
+
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$29([
|
|
19216
19264
|
core.NgModule({
|
|
19217
19265
|
exports: [
|
|
19218
19266
|
OrderByPipe,
|
|
@@ -19249,7 +19297,7 @@
|
|
|
19249
19297
|
return NgEasycommerceModule;
|
|
19250
19298
|
}());
|
|
19251
19299
|
|
|
19252
|
-
var __decorate$
|
|
19300
|
+
var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19253
19301
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19254
19302
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19255
19303
|
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;
|
|
@@ -19297,7 +19345,7 @@
|
|
|
19297
19345
|
{ type: ConnectionService }
|
|
19298
19346
|
]; };
|
|
19299
19347
|
GiftCardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function GiftCardService_Factory() { return new GiftCardService(core.ɵɵinject(Constants), core.ɵɵinject(CartService), core.ɵɵinject(ConnectionService)); }, token: GiftCardService, providedIn: "root" });
|
|
19300
|
-
GiftCardService$1 = __decorate$
|
|
19348
|
+
GiftCardService$1 = __decorate$2a([
|
|
19301
19349
|
core.Injectable({
|
|
19302
19350
|
providedIn: 'root'
|
|
19303
19351
|
})
|
|
@@ -19305,7 +19353,7 @@
|
|
|
19305
19353
|
return GiftCardService$1;
|
|
19306
19354
|
}());
|
|
19307
19355
|
|
|
19308
|
-
var __decorate$
|
|
19356
|
+
var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19309
19357
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19310
19358
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19311
19359
|
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;
|
|
@@ -19361,7 +19409,7 @@
|
|
|
19361
19409
|
{ type: ngxToastr.ToastrService }
|
|
19362
19410
|
]; };
|
|
19363
19411
|
WishlistService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function WishlistService_Factory() { return new WishlistService(core.ɵɵinject(ngxToastr.ToastrService)); }, token: WishlistService, providedIn: "root" });
|
|
19364
|
-
WishlistService$1 = __decorate$
|
|
19412
|
+
WishlistService$1 = __decorate$2b([
|
|
19365
19413
|
core.Injectable({
|
|
19366
19414
|
providedIn: 'root'
|
|
19367
19415
|
})
|
|
@@ -19369,7 +19417,7 @@
|
|
|
19369
19417
|
return WishlistService$1;
|
|
19370
19418
|
}());
|
|
19371
19419
|
|
|
19372
|
-
var __decorate$
|
|
19420
|
+
var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19373
19421
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19374
19422
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19375
19423
|
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;
|
|
@@ -19404,7 +19452,7 @@
|
|
|
19404
19452
|
StandardReuseStrategy.ctorParameters = function () { return [
|
|
19405
19453
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
|
|
19406
19454
|
]; };
|
|
19407
|
-
StandardReuseStrategy = __decorate$
|
|
19455
|
+
StandardReuseStrategy = __decorate$2c([
|
|
19408
19456
|
core.Injectable(),
|
|
19409
19457
|
__param$d(0, core.Inject('env'))
|
|
19410
19458
|
], StandardReuseStrategy);
|
|
@@ -19544,8 +19592,9 @@
|
|
|
19544
19592
|
exports.windowProvider = windowProvider;
|
|
19545
19593
|
exports.ɵa = OrderByPipe;
|
|
19546
19594
|
exports.ɵb = components;
|
|
19547
|
-
exports.ɵba =
|
|
19548
|
-
exports.ɵbb =
|
|
19595
|
+
exports.ɵba = OptionsOfProductListDataReceiverService;
|
|
19596
|
+
exports.ɵbb = PaymentUtils;
|
|
19597
|
+
exports.ɵbc = CustomerInterceptor;
|
|
19549
19598
|
exports.ɵc = SellerDashboardContainerEcComponent;
|
|
19550
19599
|
exports.ɵd = MagnizoomComponent;
|
|
19551
19600
|
exports.ɵe = RecaptchaEcComponent;
|
|
@@ -19563,13 +19612,13 @@
|
|
|
19563
19612
|
exports.ɵq = OrderUtilityService;
|
|
19564
19613
|
exports.ɵr = StepService;
|
|
19565
19614
|
exports.ɵs = ErrorHandlerService;
|
|
19566
|
-
exports.ɵt =
|
|
19567
|
-
exports.ɵu =
|
|
19568
|
-
exports.ɵv =
|
|
19569
|
-
exports.ɵw =
|
|
19570
|
-
exports.ɵx =
|
|
19571
|
-
exports.ɵy =
|
|
19572
|
-
exports.ɵz =
|
|
19615
|
+
exports.ɵt = IpService;
|
|
19616
|
+
exports.ɵu = ShipmentDataTransformer;
|
|
19617
|
+
exports.ɵv = CookiesService;
|
|
19618
|
+
exports.ɵw = directives;
|
|
19619
|
+
exports.ɵx = ProductOffDirective;
|
|
19620
|
+
exports.ɵy = ReloadViewDirective;
|
|
19621
|
+
exports.ɵz = pipes;
|
|
19573
19622
|
|
|
19574
19623
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
19575
19624
|
|