@churchillliving/se-ui-toolkit 6.53.207 → 6.53.208
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 +13 -18
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/form/form.component.js +14 -18
- package/fesm2015/churchillliving-se-ui-toolkit.js +13 -17
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -6662,20 +6662,18 @@
|
|
|
6662
6662
|
};
|
|
6663
6663
|
//invoke when file upload OR delete a file
|
|
6664
6664
|
FormComponent.prototype.fileOnchangeEvent = function () {
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
(
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
}
|
|
6678
|
-
}, 3000);
|
|
6665
|
+
this.setCardData = !this.setCardData;
|
|
6666
|
+
// let cardControl: boolean = false;
|
|
6667
|
+
// this.form?.formSections?.forEach((formSection)=> {
|
|
6668
|
+
// if(formSection?.fields?.some((formField: any)=> formField?.control === EFormControl.CARD)){
|
|
6669
|
+
// cardControl = true;
|
|
6670
|
+
// }
|
|
6671
|
+
// });
|
|
6672
|
+
// setTimeout(() => {
|
|
6673
|
+
// if(cardControl){
|
|
6674
|
+
// this.loadDynamicComponents();
|
|
6675
|
+
// }
|
|
6676
|
+
// }, 3000);
|
|
6679
6677
|
};
|
|
6680
6678
|
FormComponent.prototype.ngAfterViewInit = function () {
|
|
6681
6679
|
var _this = this;
|
|
@@ -7090,7 +7088,7 @@
|
|
|
7090
7088
|
(_e = this.form.formSections) === null || _e === void 0 ? void 0 : _e.forEach(function (formSection) {
|
|
7091
7089
|
if (formSection.fields) {
|
|
7092
7090
|
formSection.fields.forEach(function (field) {
|
|
7093
|
-
var _a, _b
|
|
7091
|
+
var _a, _b;
|
|
7094
7092
|
if (field.control === exports.EFormControl.AUTOCOMPLETE && !field.showAllValue) {
|
|
7095
7093
|
field.value = (_b = (_a = tempValue_1.toString().replaceAll(",", ";")) === null || _a === void 0 ? void 0 : _a.split(";")) === null || _b === void 0 ? void 0 : _b.map(function (val) {
|
|
7096
7094
|
var _s;
|
|
@@ -7100,9 +7098,6 @@
|
|
|
7100
7098
|
if (field.control === exports.EFormControl.CHECKBOX) {
|
|
7101
7099
|
field.value = field.value === 1 ? true : false;
|
|
7102
7100
|
}
|
|
7103
|
-
if (field.control === exports.EFormControl.CARD && ((_d = (_c = field.card) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.length) > 0) {
|
|
7104
|
-
// this.fileOnchangeEvent();
|
|
7105
|
-
}
|
|
7106
7101
|
});
|
|
7107
7102
|
}
|
|
7108
7103
|
});
|