@seniorsistemas/angular-components 14.14.1 → 14.14.2

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.
@@ -2153,7 +2153,7 @@
2153
2153
  this.searchFields = this.searchFields.map(function (value) { return new FormField(__assign(__assign({}, value), { size: { sm: 12, md: 12, lg: 12, xl: 12 } })); });
2154
2154
  this.searchGridFields = this.searchGridFields.map(function (gridField) {
2155
2155
  gridField["width"] = _this.getColWidth(gridField.label);
2156
- var calendarOptions = gridField.calendarLocaleOptions;
2156
+ var calendarOptions = new CalendarLocaleOptions(__assign({}, gridField.calendarLocaleOptions));
2157
2157
  if (calendarOptions === null || calendarOptions === void 0 ? void 0 : calendarOptions.dateFormat) {
2158
2158
  switch (gridField.type) {
2159
2159
  case exports.FieldType.Date:
@@ -2163,7 +2163,7 @@
2163
2163
  calendarOptions.dateFormat = _this._convertToMomentHourFormat(calendarOptions.hourFormat, calendarOptions.dateFormat);
2164
2164
  break;
2165
2165
  }
2166
- calendarOptions.dateFormat = calendarOptions.dateFormat;
2166
+ gridField.calendarLocaleOptions = calendarOptions;
2167
2167
  }
2168
2168
  return gridField;
2169
2169
  });