@adlfe/campaign-management-library 2.15.7 → 2.15.8
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/bundles/adlfe-campaign-management-library.umd.js +10 -6
- package/bundles/adlfe-campaign-management-library.umd.js.map +1 -1
- package/bundles/adlfe-campaign-management-library.umd.min.js +1 -1
- package/bundles/adlfe-campaign-management-library.umd.min.js.map +1 -1
- package/esm2015/lib/campaign-management/modules/new-campaign/components/general-information-wa/general-information-wa.component.js +11 -7
- package/esm5/lib/campaign-management/modules/new-campaign/components/general-information-wa/general-information-wa.component.js +11 -7
- package/fesm2015/adlfe-campaign-management-library.js +10 -6
- package/fesm2015/adlfe-campaign-management-library.js.map +1 -1
- package/fesm5/adlfe-campaign-management-library.js +10 -6
- package/fesm5/adlfe-campaign-management-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -5236,7 +5236,7 @@
|
|
|
5236
5236
|
this.updateTemplate((_l = this.getControl('template')) === null || _l === void 0 ? void 0 : _l.value);
|
|
5237
5237
|
};
|
|
5238
5238
|
GeneralInformationWAComponent.prototype.handleChangeTemplate = function (useExisting) {
|
|
5239
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5239
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
5240
5240
|
(_a = this.getControl('isDownloadVariableXLS')) === null || _a === void 0 ? void 0 : _a.setValue(false);
|
|
5241
5241
|
this.variables.clear();
|
|
5242
5242
|
this.updateVariableDownloadXLS(false);
|
|
@@ -5246,13 +5246,17 @@
|
|
|
5246
5246
|
(_d = this.getControl('text')) === null || _d === void 0 ? void 0 : _d.clearValidators();
|
|
5247
5247
|
(_e = this.getControl('text')) === null || _e === void 0 ? void 0 : _e.updateValueAndValidity();
|
|
5248
5248
|
(_f = this.getControl('template')) === null || _f === void 0 ? void 0 : _f.updateValueAndValidity();
|
|
5249
|
+
var fromValue = (_g = this.getControl('from')) === null || _g === void 0 ? void 0 : _g.value;
|
|
5250
|
+
if (fromValue) {
|
|
5251
|
+
this.getTemplateOptionService(fromValue);
|
|
5252
|
+
}
|
|
5249
5253
|
}
|
|
5250
5254
|
else {
|
|
5251
|
-
(
|
|
5252
|
-
(
|
|
5253
|
-
(
|
|
5254
|
-
(
|
|
5255
|
-
(
|
|
5255
|
+
(_h = this.getControl('template')) === null || _h === void 0 ? void 0 : _h.reset();
|
|
5256
|
+
(_j = this.getControl('template')) === null || _j === void 0 ? void 0 : _j.clearValidators();
|
|
5257
|
+
(_k = this.getControl('text')) === null || _k === void 0 ? void 0 : _k.setValidators([forms.Validators.required, forms.Validators.max(1024)]);
|
|
5258
|
+
(_l = this.getControl('text')) === null || _l === void 0 ? void 0 : _l.updateValueAndValidity();
|
|
5259
|
+
(_m = this.getControl('template')) === null || _m === void 0 ? void 0 : _m.updateValueAndValidity();
|
|
5256
5260
|
}
|
|
5257
5261
|
};
|
|
5258
5262
|
GeneralInformationWAComponent.prototype.handleChangeFrom = function (value) {
|