@churchillliving/se-ui-toolkit 6.53.28 → 6.53.31
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/churchillliving-se-ui-toolkit.umd.js +11 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/form/form.component.js +12 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +11 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -6162,8 +6162,18 @@
|
|
|
6162
6162
|
//invoke when file upload OR delete a file
|
|
6163
6163
|
FormComponent.prototype.fileOnchangeEvent = function () {
|
|
6164
6164
|
var _this = this;
|
|
6165
|
+
var _a, _b;
|
|
6166
|
+
var cardControl = false;
|
|
6167
|
+
(_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.formSections) === null || _b === void 0 ? void 0 : _b.forEach(function (formSection) {
|
|
6168
|
+
var _a;
|
|
6169
|
+
if ((_a = formSection === null || formSection === void 0 ? void 0 : formSection.fields) === null || _a === void 0 ? void 0 : _a.some(function (formField) { return (formField === null || formField === void 0 ? void 0 : formField.control) === exports.EFormControl.CARD; })) {
|
|
6170
|
+
cardControl = true;
|
|
6171
|
+
}
|
|
6172
|
+
});
|
|
6165
6173
|
setTimeout(function () {
|
|
6166
|
-
|
|
6174
|
+
if (cardControl) {
|
|
6175
|
+
_this.loadDynamicComponents();
|
|
6176
|
+
}
|
|
6167
6177
|
}, 1000);
|
|
6168
6178
|
};
|
|
6169
6179
|
FormComponent.prototype.ngAfterViewInit = function () {
|