ng-easycommerce 0.0.550 → 0.0.552
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 +4 -0
- package/assets/decidirFormEc.html +1 -2
- package/bundles/ng-easycommerce.umd.js +2 -2
- 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/DinamycsFilter.js +2 -2
- package/esm2015/lib/ec-component/checkout-ec/shipment-ec/shipment-ec.component.js +2 -2
- package/esm5/lib/classes/filters/DinamycsFilter.js +2 -2
- package/esm5/lib/ec-component/checkout-ec/shipment-ec/shipment-ec.component.js +2 -2
- package/fesm2015/ng-easycommerce.js +2 -2
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +2 -2
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# version 0.0.552
|
|
2
|
+
- se actualiza decidir para usar version 2.6.4 y se ajusta botones en checkout mientras carga.
|
|
3
|
+
# version 0.0.551
|
|
4
|
+
- Añadido useToFilter para tener la posibilidad de elegir parámetros del artículo para filtrar
|
|
1
5
|
# version 0.0.550
|
|
2
6
|
- Modificar versión de JS de Decidir a la v2.6.4
|
|
3
7
|
# version 0.0.549
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
let my_awesome_script = document.createElement('script');
|
|
21
21
|
my_awesome_script.setAttribute('defer', 'defer')
|
|
22
22
|
my_awesome_script.setAttribute('src',
|
|
23
|
-
modoHead && 'https://
|
|
24
|
-
|| 'https://live.decidir.com/static/v2.6.4/decidir.js'
|
|
23
|
+
modoHead && 'https://live.decidir.com/static/v2.6.4/decidir.js'
|
|
25
24
|
);
|
|
26
25
|
document.head.appendChild(my_awesome_script);
|
|
27
26
|
|
|
@@ -1371,7 +1371,7 @@
|
|
|
1371
1371
|
};
|
|
1372
1372
|
_this.createElement = function (option) {
|
|
1373
1373
|
option = {
|
|
1374
|
-
title: option.label, type: 'sub', multi: false, code: option.code, shape: option.type, children: option.values.map(function (value) {
|
|
1374
|
+
title: option.label, useToFilter: option.useToFilter, type: 'sub', multi: false, code: option.code, shape: option.type, children: option.values.map(function (value) {
|
|
1375
1375
|
return {
|
|
1376
1376
|
title: value.code,
|
|
1377
1377
|
description: value.name,
|
|
@@ -8261,7 +8261,7 @@
|
|
|
8261
8261
|
_this.shipmentService.setMethod(method.code).then(function (res) {
|
|
8262
8262
|
_this.loading_internal = false;
|
|
8263
8263
|
// Habilitar todos los botones
|
|
8264
|
-
_this.buttonsDisabled = false;
|
|
8264
|
+
setTimeout(function () { _this.buttonsDisabled = false; }, 1000);
|
|
8265
8265
|
}).catch(function (error) {
|
|
8266
8266
|
// En caso de error, también habilitar los botones
|
|
8267
8267
|
_this.loading_internal = false;
|