ng-easycommerce 0.0.384 → 0.0.388
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 +21 -0
- package/assets/bancardFrameBase.html +105 -0
- package/assets/ec-i18n/en.json +4 -1
- package/assets/ec-i18n/es.json +4 -1
- package/bundles/ng-easycommerce.umd.js +54 -25
- 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/classes/filters/AttributesFilter.js +5 -2
- package/esm2015/lib/classes/filters/CategoryFilter.js +6 -3
- package/esm2015/lib/ec-component/auth-ec/login-form-ec/login-form-ec.component.js +4 -2
- package/esm2015/lib/ec-component/auth-ec/select-channel-ec/select-channel-ec.component.js +1 -2
- package/esm2015/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +15 -6
- package/esm2015/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +2 -2
- package/esm2015/lib/ec-component/widgets-ec/bancard-ec/bancard-ec.component.js +6 -5
- package/esm2015/lib/ec-component/widgets-ec/ceca-redirect-ec/ceca-redirect-ec.component.js +2 -2
- package/esm2015/lib/ec-component/widgets-ec/mobbex-ec/mobbex-ec.component.js +2 -2
- package/esm2015/lib/ec-component/widgets-ec/redsys-pro-ec/redsys-pro-ec.component.js +2 -2
- package/esm2015/lib/ec-component/widgets-ec/redsys-redirect-ec/redsys-redirect-ec.component.js +2 -2
- package/esm2015/lib/services/auth.service.js +17 -5
- package/esm2015/lib/services/checkout/addressing.service.js +2 -2
- package/esm2015/lib/services/checkout/payment.service.js +2 -2
- package/esm5/lib/classes/filters/AttributesFilter.js +5 -2
- package/esm5/lib/classes/filters/CategoryFilter.js +6 -3
- package/esm5/lib/ec-component/auth-ec/login-form-ec/login-form-ec.component.js +4 -2
- package/esm5/lib/ec-component/auth-ec/select-channel-ec/select-channel-ec.component.js +1 -2
- package/esm5/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +15 -6
- package/esm5/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +2 -2
- package/esm5/lib/ec-component/widgets-ec/bancard-ec/bancard-ec.component.js +6 -5
- package/esm5/lib/ec-component/widgets-ec/ceca-redirect-ec/ceca-redirect-ec.component.js +2 -2
- package/esm5/lib/ec-component/widgets-ec/mobbex-ec/mobbex-ec.component.js +2 -2
- package/esm5/lib/ec-component/widgets-ec/redsys-pro-ec/redsys-pro-ec.component.js +2 -2
- package/esm5/lib/ec-component/widgets-ec/redsys-redirect-ec/redsys-redirect-ec.component.js +2 -2
- package/esm5/lib/services/auth.service.js +17 -5
- package/esm5/lib/services/checkout/addressing.service.js +2 -2
- package/esm5/lib/services/checkout/payment.service.js +2 -2
- package/fesm2015/ng-easycommerce.js +54 -25
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +54 -25
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/classes/filters/AttributesFilter.d.ts +1 -0
- package/lib/classes/filters/CategoryFilter.d.ts +1 -0
- package/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.d.ts +2 -0
- package/lib/services/auth.service.d.ts +2 -0
- package/lib/services/checkout/addressing.service.d.ts +2 -1
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Ultimas Modificaciones
|
|
2
2
|
|
|
3
|
+
### version: 0.0.388
|
|
4
|
+
|
|
5
|
+
- Add: opción para configurar desde la implementación si se desea una comprobación de permisos usuario-canal simple o con selección/redirección.
|
|
6
|
+
|
|
7
|
+
### version: 0.0.387
|
|
8
|
+
|
|
9
|
+
- Se agrego logica para que la seleccion de sedes sea de a acuerdo a la logica de la implmentacion
|
|
10
|
+
-- Opciones : 'ONLY_LOAD_ADDRESS' | 'ONLY_ADDRESS_SELECTION' | 'LOAD_ADDRESS_AND_SELECTION' . Por defecto : 'ONLY_LOAD_ADDRESS'
|
|
11
|
+
|
|
12
|
+
- Se soluciona fix filtrado por categorias y atributos con caracteres especiales.
|
|
13
|
+
|
|
14
|
+
### version: 0.0.386
|
|
15
|
+
|
|
16
|
+
- Ajustes en metodo de pago bancard para futuro pase a produccion.
|
|
17
|
+
|
|
18
|
+
### version: 0.0.385
|
|
19
|
+
|
|
20
|
+
- Se realizaron ajustes sobre todos los componentes de metodos de pago por modal.
|
|
21
|
+
|
|
22
|
+
- Se agrego nuevo metodo de pago bancard por iframe.
|
|
23
|
+
|
|
3
24
|
### version: 0.0.384
|
|
4
25
|
|
|
5
26
|
- Se agrega manejo de diccionarios integrados desde core.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="es">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>BANCARD</title>
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
Producción - https://vpos.infonet.com.py
|
|
11
|
+
Staging - https://vpos.infonet.com.py:8888
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
<script type="text/javascript">
|
|
15
|
+
|
|
16
|
+
let my_awesome_script = document.createElement('script');
|
|
17
|
+
|
|
18
|
+
my_awesome_script.setAttribute('src', window.location.host.includes('easycommercetech')
|
|
19
|
+
&& 'https://vpos.infonet.com.py:8888/checkout/javascript/dist/bancard-checkout-3.0.0.js'
|
|
20
|
+
|| 'https://vpos.infonet.com.py/checkout/javascript/dist/bancard-checkout-3.0.0.js'
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
document.head.appendChild(my_awesome_script);
|
|
24
|
+
|
|
25
|
+
const dataRedirect = localStorage.getItem('dataRedirect')
|
|
26
|
+
|
|
27
|
+
window.onload = function () {
|
|
28
|
+
|
|
29
|
+
const styles = {
|
|
30
|
+
// 'input-background-color': '#453454',
|
|
31
|
+
// 'input-text-color': '#B22222',
|
|
32
|
+
// 'input-border-color': '#CCCCCC',
|
|
33
|
+
// 'input-placeholder-color': '#999999',
|
|
34
|
+
// 'button-background-color': '#5CB85C',
|
|
35
|
+
// 'button-text-color': '#FFFFFF',
|
|
36
|
+
// 'button-border-color': '#4CAE4C',
|
|
37
|
+
// 'form-background-color': '#999999',
|
|
38
|
+
// 'form-border-color': '#DDDDDD',
|
|
39
|
+
// 'header-background-color': '#F5F5F5',
|
|
40
|
+
// 'header-text-color': '#333333',
|
|
41
|
+
// 'hr-border-color': '#B22222'
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
options = {
|
|
45
|
+
styles: styles
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
setTimeout(() => {
|
|
49
|
+
Bancard.Checkout.createForm('iframe-container', dataRedirect, options);
|
|
50
|
+
localStorage.removeItem('dataRedirect')
|
|
51
|
+
document.getElementById('loadercontainer').style.display = 'none'
|
|
52
|
+
}, 2000);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
</head>
|
|
59
|
+
|
|
60
|
+
<body>
|
|
61
|
+
|
|
62
|
+
<style>
|
|
63
|
+
.loader {
|
|
64
|
+
border: 16px solid #f3f3f3;
|
|
65
|
+
border-top: 16px solid #356adc;
|
|
66
|
+
border-radius: 50%;
|
|
67
|
+
width: 50px;
|
|
68
|
+
height: 50px;
|
|
69
|
+
animation: spin 2s linear infinite;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes spin {
|
|
73
|
+
0% {
|
|
74
|
+
transform: rotate(0deg);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
100% {
|
|
78
|
+
transform: rotate(360deg);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.flex-container {
|
|
83
|
+
display: flex;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
align-items: center;
|
|
86
|
+
height: 80vh;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.flex-container>div {
|
|
90
|
+
width: 100px;
|
|
91
|
+
height: 100px;
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
94
|
+
|
|
95
|
+
<div style="height: 130px; width: 100%; margin: auto" id="iframe-container" />
|
|
96
|
+
|
|
97
|
+
<div id="loadercontainer" class="flex-container">
|
|
98
|
+
<div>
|
|
99
|
+
<div class="loader"></div>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
</body>
|
|
104
|
+
|
|
105
|
+
</html>
|
package/assets/ec-i18n/en.json
CHANGED
|
@@ -322,5 +322,8 @@
|
|
|
322
322
|
"will_contact": "Once the transfer is received, we will contact you to inform you of the status of your purchase",
|
|
323
323
|
"wishlist": "wishlist",
|
|
324
324
|
"women-collection": "Women's collection",
|
|
325
|
-
"women-fashion": "women's fashion"
|
|
325
|
+
"women-fashion": "women's fashion",
|
|
326
|
+
"select-address": "Select address",
|
|
327
|
+
"load-address": "Load address",
|
|
328
|
+
"channel-permission-denied": "You are not authorized to access this channel"
|
|
326
329
|
}
|
package/assets/ec-i18n/es.json
CHANGED
|
@@ -322,5 +322,8 @@
|
|
|
322
322
|
"will_contact": "Una vez percibida la transferencia, nos pondremos en contacto con usted para informarle el estado de su compra",
|
|
323
323
|
"wishlist": "lista de deseos",
|
|
324
324
|
"women-collection": "Colección de mujer",
|
|
325
|
-
"women-fashion": "Mujeres"
|
|
325
|
+
"women-fashion": "Mujeres",
|
|
326
|
+
"select-address": "Seleccionar direccion",
|
|
327
|
+
"load-address": "Cargar direccion",
|
|
328
|
+
"channel-permission-denied": "Actualmente no posee permiso para acceder a este canal"
|
|
326
329
|
}
|