@churchillliving/se-ui-toolkit 6.52.84 → 6.52.85

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.
@@ -9016,8 +9016,9 @@
9016
9016
  formSections === null || formSections === void 0 ? void 0 : formSections.forEach(function (formSection) {
9017
9017
  var _a;
9018
9018
  (_a = formSection.fields) === null || _a === void 0 ? void 0 : _a.forEach(function (field) {
9019
+ var _a, _b;
9019
9020
  if (field.control === exports.EFormControl.CARD && field.id && field.id === id && field.card.data) {
9020
- arr = { data: field.card.data, change: field.card.change };
9021
+ arr = { data: field.card.data, change: field.card.change, url: (_b = (_a = field.card) === null || _a === void 0 ? void 0 : _a.cardInfo) === null || _b === void 0 ? void 0 : _b.url };
9021
9022
  }
9022
9023
  });
9023
9024
  });
@@ -9037,11 +9038,11 @@
9037
9038
  }
9038
9039
  };
9039
9040
  CardService.prototype.deleteFile = function (cardInfo, dynamicForm, id) {
9040
- var _a, _b;
9041
+ var _a;
9041
9042
  var fieldInfo = this.getCardData(dynamicForm.formSections, id);
9042
9043
  var cardData = fieldInfo.data;
9043
- cardData = __spreadArray([], __read(this.deleteFromArray(cardData, cardInfo, (_a = fieldInfo.cardInfo) === null || _a === void 0 ? void 0 : _a.url)));
9044
- (_b = dynamicForm.formSections) === null || _b === void 0 ? void 0 : _b.forEach(function (section) {
9044
+ cardData = __spreadArray([], __read(this.deleteFromArray(cardData, cardInfo, fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.url)));
9045
+ (_a = dynamicForm.formSections) === null || _a === void 0 ? void 0 : _a.forEach(function (section) {
9045
9046
  var card = section.fields.find(function (x) { return x.control === exports.EFormControl.CARD && x.id === id; });
9046
9047
  if (card && card.card) {
9047
9048
  card.card.data = cardData;