@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.
@@ -1979,7 +1979,7 @@ var LookupComponent = /** @class */ (function () {
1979
1979
  this.searchFields = this.searchFields.map(function (value) { return new FormField(__assign(__assign({}, value), { size: { sm: 12, md: 12, lg: 12, xl: 12 } })); });
1980
1980
  this.searchGridFields = this.searchGridFields.map(function (gridField) {
1981
1981
  gridField["width"] = _this.getColWidth(gridField.label);
1982
- var calendarOptions = gridField.calendarLocaleOptions;
1982
+ var calendarOptions = new CalendarLocaleOptions(__assign({}, gridField.calendarLocaleOptions));
1983
1983
  if (calendarOptions === null || calendarOptions === void 0 ? void 0 : calendarOptions.dateFormat) {
1984
1984
  switch (gridField.type) {
1985
1985
  case FieldType.Date:
@@ -1989,7 +1989,7 @@ var LookupComponent = /** @class */ (function () {
1989
1989
  calendarOptions.dateFormat = _this._convertToMomentHourFormat(calendarOptions.hourFormat, calendarOptions.dateFormat);
1990
1990
  break;
1991
1991
  }
1992
- calendarOptions.dateFormat = calendarOptions.dateFormat;
1992
+ gridField.calendarLocaleOptions = calendarOptions;
1993
1993
  }
1994
1994
  return gridField;
1995
1995
  });