@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.
@@ -7513,7 +7513,7 @@
7513
7513
  this.autocompleteForceSelection = true;
7514
7514
  this.disabled = false;
7515
7515
  this.showSearch = true;
7516
- this.lookupAppendTo = "body";
7516
+ this._lookupAppendTo = "body";
7517
7517
  this.searchFields = [];
7518
7518
  this.showAddOption = false;
7519
7519
  this.showEditOption = false;
@@ -7539,6 +7539,16 @@
7539
7539
  this.ngUnsubscribe = new rxjs.Subject();
7540
7540
  }
7541
7541
  LookupComponent_1 = LookupComponent;
7542
+ Object.defineProperty(LookupComponent.prototype, "lookupAppendTo", {
7543
+ get: function () {
7544
+ return this._lookupAppendTo;
7545
+ },
7546
+ set: function (value) {
7547
+ this._lookupAppendTo = value !== null && value !== void 0 ? value : 'body';
7548
+ },
7549
+ enumerable: true,
7550
+ configurable: true
7551
+ });
7542
7552
  LookupComponent.prototype.ngOnInit = function () {
7543
7553
  var _this = this;
7544
7554
  if (!this.searchGridFields) {
@@ -7930,7 +7940,7 @@
7930
7940
  ], LookupComponent.prototype, "lookupEmptyMessage", void 0);
7931
7941
  __decorate([
7932
7942
  core.Input()
7933
- ], LookupComponent.prototype, "lookupAppendTo", void 0);
7943
+ ], LookupComponent.prototype, "lookupAppendTo", null);
7934
7944
  __decorate([
7935
7945
  core.Input()
7936
7946
  ], LookupComponent.prototype, "searchEmptyDescription", void 0);
@@ -11105,7 +11115,7 @@
11105
11115
  this.changeDetectorRef.detectChanges();
11106
11116
  };
11107
11117
  AutocompleteFieldComponent.prototype.setInputRef = function () {
11108
- this.inputRef = this.elementRef.nativeElement.querySelector('input');
11118
+ this.inputRef = this.elementRef.nativeElement.querySelector("input");
11109
11119
  };
11110
11120
  AutocompleteFieldComponent.ctorParameters = function () { return [
11111
11121
  { type: core.ChangeDetectorRef },
@@ -11119,7 +11129,7 @@
11119
11129
  ], AutocompleteFieldComponent.prototype, "formControl", void 0);
11120
11130
  AutocompleteFieldComponent = __decorate([
11121
11131
  core.Component({
11122
- 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"
11132
+ 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"
11123
11133
  })
11124
11134
  ], AutocompleteFieldComponent);
11125
11135
  return AutocompleteFieldComponent;