ng-easycommerce 0.0.592 → 0.0.593
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 +2 -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/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.js +3 -1
- package/esm5/lib/ec-component/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.js +3 -1
- package/fesm2015/ng-easycommerce.js +2 -0
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +2 -0
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.d.ts +1 -0
- package/package.json +1 -1
package/fesm5/ng-easycommerce.js
CHANGED
|
@@ -6951,6 +6951,7 @@ var ContactFormNewsEcComponent = /** @class */ (function (_super) {
|
|
|
6951
6951
|
_this.codeBlock = 'newsletter_block';
|
|
6952
6952
|
_this.blocks = [];
|
|
6953
6953
|
_this.blockContact = null;
|
|
6954
|
+
_this.params = {};
|
|
6954
6955
|
_this.form_data = {};
|
|
6955
6956
|
_this.sendForm = function (form, success_message) {
|
|
6956
6957
|
console.log('enviando...');
|
|
@@ -7012,6 +7013,7 @@ var ContactFormNewsEcComponent = /** @class */ (function (_super) {
|
|
|
7012
7013
|
};
|
|
7013
7014
|
ContactFormNewsEcComponent.prototype.ngOnInit = function () {
|
|
7014
7015
|
var _this = this;
|
|
7016
|
+
this.paramsService.parameters.subscribe(function (res) { return _this.params = res; });
|
|
7015
7017
|
if (!this.block) {
|
|
7016
7018
|
this.blocksService.getBlocks('home');
|
|
7017
7019
|
this.blocksService.blocks.pipe(filter(function (blocks) { return (blocks && blocks.length > 0); })).subscribe(function (blocks) {
|