@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.
@@ -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 [