@seniorsistemas/angular-components 17.7.8 → 17.7.9
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 +6 -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 +7 -3
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +7 -3
- package/fesm2015/seniorsistemas-angular-components.js +6 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +6 -2
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -5043,12 +5043,16 @@ var LookupComponent = /** @class */ (function () {
|
|
|
5043
5043
|
LookupComponent.prototype.ngOnInit = function () {
|
|
5044
5044
|
var _this = this;
|
|
5045
5045
|
if (!this.searchGridFields) {
|
|
5046
|
-
this.searchGridFields = this.searchFields
|
|
5046
|
+
this.searchGridFields = this.searchFields
|
|
5047
|
+
.filter(function (item) { var _a; return !item.visible || ((_a = item.visible) === null || _a === void 0 ? void 0 : _a.call(item)); })
|
|
5048
|
+
.map(function (item) { return new FormField(__assign({}, item)); });
|
|
5047
5049
|
}
|
|
5048
5050
|
this.searchFields = this.searchFields.map(function (value) {
|
|
5049
5051
|
return new FormField(__assign(__assign({}, value), { size: { sm: 12, md: 12, lg: 12, xl: 12 } }));
|
|
5050
5052
|
});
|
|
5051
|
-
this.searchGridFields = this.searchGridFields
|
|
5053
|
+
this.searchGridFields = this.searchGridFields
|
|
5054
|
+
.filter(function (gridField) { var _a; return !gridField.visible || ((_a = gridField.visible) === null || _a === void 0 ? void 0 : _a.call(gridField)); })
|
|
5055
|
+
.map(function (gridField) {
|
|
5052
5056
|
gridField["width"] = _this.getColWidth(gridField.label);
|
|
5053
5057
|
var calendarOptions = new CalendarLocaleOptions(__assign({}, gridField.calendarLocaleOptions));
|
|
5054
5058
|
if (calendarOptions === null || calendarOptions === void 0 ? void 0 : calendarOptions.dateFormat) {
|