ng-easycommerce 0.0.659-beta.1 → 0.0.659-beta.2
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 +5 -0
- 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/ec-component/footer-ec/footer-ec.component.js +6 -1
- package/esm2015/lib/interfaces/footer.types.js +1 -1
- package/esm5/lib/ec-component/footer-ec/footer-ec.component.js +6 -1
- package/esm5/lib/interfaces/footer.types.js +1 -1
- package/fesm2015/ng-easycommerce.js +5 -0
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +5 -0
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/footer-ec/footer-ec.component.d.ts +1 -0
- package/lib/interfaces/footer.types.d.ts +1 -0
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# version 0.0.659-beta.2
|
|
2
|
+
- Footer: `extras.fiscalQr` ahora acepta `url` (opcional) y el frontend hace clickeable la imagen del QR abriendo nueva pestaña cuando viene informado.
|
|
1
3
|
# version 0.0.659-beta.1
|
|
2
4
|
- **Footer (implementación completa y nueva)**
|
|
3
5
|
- **Endpoint nuevo**: consumo de `shop-api/{channel}/footer?locale={locale}`.
|
|
@@ -10299,6 +10299,11 @@
|
|
|
10299
10299
|
var p = (_c = (_b = (_a = extras) === null || _a === void 0 ? void 0 : _a.fiscalQr) === null || _b === void 0 ? void 0 : _b.image) === null || _c === void 0 ? void 0 : _c.path;
|
|
10300
10300
|
return p ? this.absOrMedia(p) : '';
|
|
10301
10301
|
};
|
|
10302
|
+
FooterEcComponent.prototype.fiscalQrTarget = function (extras) {
|
|
10303
|
+
var _a, _b;
|
|
10304
|
+
var url = (_b = (_a = extras) === null || _a === void 0 ? void 0 : _a.fiscalQr) === null || _b === void 0 ? void 0 : _b.url;
|
|
10305
|
+
return url ? this.makeAbsolute(url) : '';
|
|
10306
|
+
};
|
|
10302
10307
|
FooterEcComponent.prototype.whatsappFloating = function (extras) {
|
|
10303
10308
|
var _a, _b, _c, _d, _e;
|
|
10304
10309
|
var e = (_a = extras) === null || _a === void 0 ? void 0 : _a.whatsappFloating;
|