@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
|
@@ -5189,12 +5189,16 @@
|
|
|
5189
5189
|
LookupComponent.prototype.ngOnInit = function () {
|
|
5190
5190
|
var _this = this;
|
|
5191
5191
|
if (!this.searchGridFields) {
|
|
5192
|
-
this.searchGridFields = this.searchFields
|
|
5192
|
+
this.searchGridFields = this.searchFields
|
|
5193
|
+
.filter(function (item) { var _a; return !item.visible || ((_a = item.visible) === null || _a === void 0 ? void 0 : _a.call(item)); })
|
|
5194
|
+
.map(function (item) { return new FormField(__assign({}, item)); });
|
|
5193
5195
|
}
|
|
5194
5196
|
this.searchFields = this.searchFields.map(function (value) {
|
|
5195
5197
|
return new FormField(__assign(__assign({}, value), { size: { sm: 12, md: 12, lg: 12, xl: 12 } }));
|
|
5196
5198
|
});
|
|
5197
|
-
this.searchGridFields = this.searchGridFields
|
|
5199
|
+
this.searchGridFields = this.searchGridFields
|
|
5200
|
+
.filter(function (gridField) { var _a; return !gridField.visible || ((_a = gridField.visible) === null || _a === void 0 ? void 0 : _a.call(gridField)); })
|
|
5201
|
+
.map(function (gridField) {
|
|
5198
5202
|
gridField["width"] = _this.getColWidth(gridField.label);
|
|
5199
5203
|
var calendarOptions = new CalendarLocaleOptions(__assign({}, gridField.calendarLocaleOptions));
|
|
5200
5204
|
if (calendarOptions === null || calendarOptions === void 0 ? void 0 : calendarOptions.dateFormat) {
|