@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.
- package/bundles/seniorsistemas-angular-components.umd.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +4 -3
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +4 -3
- package/fesm2015/seniorsistemas-angular-components.js +2 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +2 -2
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -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
|
-
|
|
1992
|
+
gridField.calendarLocaleOptions = calendarOptions;
|
|
1993
1993
|
}
|
|
1994
1994
|
return gridField;
|
|
1995
1995
|
});
|