@seniorsistemas/angular-components 17.31.4 → 17.31.5

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.
@@ -7367,7 +7367,7 @@ var LookupComponent = /** @class */ (function () {
7367
7367
  this.autocompleteForceSelection = true;
7368
7368
  this.disabled = false;
7369
7369
  this.showSearch = true;
7370
- this.lookupAppendTo = "body";
7370
+ this._lookupAppendTo = "body";
7371
7371
  this.searchFields = [];
7372
7372
  this.showAddOption = false;
7373
7373
  this.showEditOption = false;
@@ -7393,6 +7393,16 @@ var LookupComponent = /** @class */ (function () {
7393
7393
  this.ngUnsubscribe = new Subject();
7394
7394
  }
7395
7395
  LookupComponent_1 = LookupComponent;
7396
+ Object.defineProperty(LookupComponent.prototype, "lookupAppendTo", {
7397
+ get: function () {
7398
+ return this._lookupAppendTo;
7399
+ },
7400
+ set: function (value) {
7401
+ this._lookupAppendTo = value !== null && value !== void 0 ? value : 'body';
7402
+ },
7403
+ enumerable: true,
7404
+ configurable: true
7405
+ });
7396
7406
  LookupComponent.prototype.ngOnInit = function () {
7397
7407
  var _this = this;
7398
7408
  if (!this.searchGridFields) {
@@ -7784,7 +7794,7 @@ var LookupComponent = /** @class */ (function () {
7784
7794
  ], LookupComponent.prototype, "lookupEmptyMessage", void 0);
7785
7795
  __decorate([
7786
7796
  Input()
7787
- ], LookupComponent.prototype, "lookupAppendTo", void 0);
7797
+ ], LookupComponent.prototype, "lookupAppendTo", null);
7788
7798
  __decorate([
7789
7799
  Input()
7790
7800
  ], LookupComponent.prototype, "searchEmptyDescription", void 0);
@@ -10959,7 +10969,7 @@ var AutocompleteFieldComponent = /** @class */ (function () {
10959
10969
  this.changeDetectorRef.detectChanges();
10960
10970
  };
10961
10971
  AutocompleteFieldComponent.prototype.setInputRef = function () {
10962
- this.inputRef = this.elementRef.nativeElement.querySelector('input');
10972
+ this.inputRef = this.elementRef.nativeElement.querySelector("input");
10963
10973
  };
10964
10974
  AutocompleteFieldComponent.ctorParameters = function () { return [
10965
10975
  { type: ChangeDetectorRef },
@@ -10973,7 +10983,7 @@ var AutocompleteFieldComponent = /** @class */ (function () {
10973
10983
  ], AutocompleteFieldComponent.prototype, "formControl", void 0);
10974
10984
  AutocompleteFieldComponent = __decorate([
10975
10985
  Component({
10976
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
10986
+ template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\" [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n >\n </s-lookup>\n</div>\n"
10977
10987
  })
10978
10988
  ], AutocompleteFieldComponent);
10979
10989
  return AutocompleteFieldComponent;