@senior-gestao-empresarial/angular-components 7.27.1 → 7.28.0

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.
@@ -470,7 +470,7 @@ var ErpLookups = /** @class */ (function () {
470
470
  sort: sort,
471
471
  filterQuery: filterQuery,
472
472
  displayFields: displayFields
473
- }, this.entity, options.domain || this.domain, options.service || this.service)
473
+ }, options.entity || this.entity, options.domain || this.domain, options.service || this.service)
474
474
  .pipe(takeUntil(this.ngUnsubscribe))
475
475
  .pipe(map(function (list) {
476
476
  return list.contents.map(function (item) { return (__assign(__assign({}, item), { label: _this.getItemLabel(item, prefix, lookupDisplayFields) })); });
@@ -547,7 +547,7 @@ var ErpLookups = /** @class */ (function () {
547
547
  displayFields = displayFields.concat(options.queryFields);
548
548
  displayFields = displayFields.filter(function (v, i) { return displayFields.indexOf(v) === i; });
549
549
  this.lookupService
550
- .list({ page: page, sort: sort, filterQuery: filterQuery, displayFields: displayFields }, this.entity, options.domain || this.domain, options.service || this.service)
550
+ .list({ page: page, sort: sort, filterQuery: filterQuery, displayFields: displayFields }, options.entity || this.entity, options.domain || this.domain, options.service || this.service)
551
551
  .pipe(takeUntil(this.ngUnsubscribe))
552
552
  .pipe(map(function (list) {
553
553
  // Criar um mapa de campos com maxLength definido
@@ -6225,7 +6225,7 @@ var defaultFields$2 = [
6225
6225
  var NotaFiscalEntradaLookup = /** @class */ (function (_super) {
6226
6226
  __extends(NotaFiscalEntradaLookup, _super);
6227
6227
  function NotaFiscalEntradaLookup(lookupService, translate) {
6228
- var _this = _super.call(this, lookupService, translate, "notaFiscalEntrada", defaultFields$2, defaultFields$2, defaultFields$2, "erpx_fin", "fnd_contas_pagar") || this;
6228
+ var _this = _super.call(this, lookupService, translate, "notaFiscal", defaultFields$2, defaultFields$2, defaultFields$2, "erpx_sup_rcb", "nota_fiscal") || this;
6229
6229
  _this.lookupService = lookupService;
6230
6230
  _this.translate = translate;
6231
6231
  return _this;