@churchillliving/se-ui-toolkit 6.52.84 → 6.52.86

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.
@@ -4111,13 +4111,13 @@
4111
4111
  var format = '';
4112
4112
  if (column.format) {
4113
4113
  if (column.format === exports.EGridFormatType.SMALLDATE) {
4114
- format = 'MM/dd/YY';
4114
+ format = 'MM/dd/yy';
4115
4115
  }
4116
4116
  else if (column.format === exports.EGridFormatType.SHORTDATE) {
4117
- format = 'MM/dd/Y';
4117
+ format = 'MM/dd/yyyy';
4118
4118
  }
4119
4119
  }
4120
- value = this.datePipe.transform((newValue === null || newValue === void 0 ? void 0 : newValue.toString()) === "Invalid Date" ? null : newValue, format ? format : 'MM/dd/YY');
4120
+ value = this.datePipe.transform((newValue === null || newValue === void 0 ? void 0 : newValue.toString()) === "Invalid Date" ? null : newValue, format ? format : 'MM/dd/yy');
4121
4121
  }
4122
4122
  }
4123
4123
  }
@@ -5392,6 +5392,7 @@
5392
5392
  _this.calendarFormat = 'mm/dd/y';
5393
5393
  }
5394
5394
  });
5395
+ // console.log("AAA",this.calendarFormat);
5395
5396
  };
5396
5397
  return GridComponent;
5397
5398
  }());
@@ -9016,8 +9017,9 @@
9016
9017
  formSections === null || formSections === void 0 ? void 0 : formSections.forEach(function (formSection) {
9017
9018
  var _a;
9018
9019
  (_a = formSection.fields) === null || _a === void 0 ? void 0 : _a.forEach(function (field) {
9020
+ var _a, _b;
9019
9021
  if (field.control === exports.EFormControl.CARD && field.id && field.id === id && field.card.data) {
9020
- arr = { data: field.card.data, change: field.card.change };
9022
+ 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
9023
  }
9022
9024
  });
9023
9025
  });
@@ -9037,11 +9039,11 @@
9037
9039
  }
9038
9040
  };
9039
9041
  CardService.prototype.deleteFile = function (cardInfo, dynamicForm, id) {
9040
- var _a, _b;
9042
+ var _a;
9041
9043
  var fieldInfo = this.getCardData(dynamicForm.formSections, id);
9042
9044
  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) {
9045
+ cardData = __spreadArray([], __read(this.deleteFromArray(cardData, cardInfo, fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.url)));
9046
+ (_a = dynamicForm.formSections) === null || _a === void 0 ? void 0 : _a.forEach(function (section) {
9045
9047
  var card = section.fields.find(function (x) { return x.control === exports.EFormControl.CARD && x.id === id; });
9046
9048
  if (card && card.card) {
9047
9049
  card.card.data = cardData;