@seniorsistemas/angular-components 16.3.1 → 16.3.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 +11 -1
- 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/components/dynamic-form/components/lookup/lookup.component.d.ts +1 -0
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +12 -2
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +12 -2
- package/fesm2015/seniorsistemas-angular-components.js +11 -1
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +11 -1
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -2270,8 +2270,10 @@
|
|
|
2270
2270
|
this.autocomplete.onOverlayAnimationDone = function (event) { };
|
|
2271
2271
|
};
|
|
2272
2272
|
LookupComponent.prototype.ngOnChanges = function (changes) {
|
|
2273
|
-
if (this.dialogVisible && changes.searchGridData)
|
|
2273
|
+
if (this.dialogVisible && changes.searchGridData) {
|
|
2274
2274
|
this.loading = false;
|
|
2275
|
+
}
|
|
2276
|
+
this._setFocusFilter();
|
|
2275
2277
|
};
|
|
2276
2278
|
LookupComponent.prototype.ngOnDestroy = function () {
|
|
2277
2279
|
this.ngUnsubscribe.next();
|
|
@@ -2447,6 +2449,14 @@
|
|
|
2447
2449
|
this.selected = [rowData];
|
|
2448
2450
|
this.select();
|
|
2449
2451
|
};
|
|
2452
|
+
LookupComponent.prototype._setFocusFilter = function () {
|
|
2453
|
+
if (this.dialogVisible && !this.collapsed) {
|
|
2454
|
+
var input = document.querySelector("s-dynamic-form input");
|
|
2455
|
+
if (input) {
|
|
2456
|
+
input.focus();
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2450
2460
|
var LookupComponent_1;
|
|
2451
2461
|
LookupComponent.nextId = 0;
|
|
2452
2462
|
LookupComponent.ctorParameters = function () { return [
|