@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.
@@ -2099,8 +2099,10 @@ var LookupComponent = /** @class */ (function () {
2099
2099
  this.autocomplete.onOverlayAnimationDone = function (event) { };
2100
2100
  };
2101
2101
  LookupComponent.prototype.ngOnChanges = function (changes) {
2102
- if (this.dialogVisible && changes.searchGridData)
2102
+ if (this.dialogVisible && changes.searchGridData) {
2103
2103
  this.loading = false;
2104
+ }
2105
+ this._setFocusFilter();
2104
2106
  };
2105
2107
  LookupComponent.prototype.ngOnDestroy = function () {
2106
2108
  this.ngUnsubscribe.next();
@@ -2276,6 +2278,14 @@ var LookupComponent = /** @class */ (function () {
2276
2278
  this.selected = [rowData];
2277
2279
  this.select();
2278
2280
  };
2281
+ LookupComponent.prototype._setFocusFilter = function () {
2282
+ if (this.dialogVisible && !this.collapsed) {
2283
+ var input = document.querySelector("s-dynamic-form input");
2284
+ if (input) {
2285
+ input.focus();
2286
+ }
2287
+ }
2288
+ };
2279
2289
  var LookupComponent_1;
2280
2290
  LookupComponent.nextId = 0;
2281
2291
  LookupComponent.ctorParameters = function () { return [