@senior-gestao-empresarial/angular-components 7.4.0-5f160e25-dcad-4596-8f60-a2785db103cc → 7.5.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.
@@ -697,6 +697,7 @@
697
697
  if (dynamicFilterQuery)
698
698
  filterQuery ? filterQuery += " and (" + dynamicFilterQuery + ")" : filterQuery = "(" + dynamicFilterQuery + ")";
699
699
  var displayFields = lookupDisplayFields.concat((options.searchGridFields || this.searchGridFields)
700
+ .concat(options.searchGridFields || [])
700
701
  .map(function (_a) {
701
702
  var name = _a.name;
702
703
  return name;
@@ -6928,6 +6929,17 @@
6928
6929
  EnumDifalNaoContribuinte["NAO_SE_APLICA"] = "NAO_SE_APLICA";
6929
6930
  })(EnumDifalNaoContribuinte || (EnumDifalNaoContribuinte = {}));
6930
6931
 
6932
+ var EnumDifalContribuinte;
6933
+ (function (EnumDifalContribuinte) {
6934
+ EnumDifalContribuinte["BASE_DUPLA"] = "BASE_DUPLA";
6935
+ EnumDifalContribuinte["BASE_DUPLA_DIF_PERC_PER_DESTINO"] = "BASE_DUPLA_DIF_PERC_PER_DESTINO";
6936
+ EnumDifalContribuinte["BASE_DUPLA_DIF_PERCENTUAL"] = "BASE_DUPLA_DIF_PERCENTUAL";
6937
+ EnumDifalContribuinte["BASE_DUPLA_DIF_VALOR"] = "BASE_DUPLA_DIF_VALOR";
6938
+ EnumDifalContribuinte["BASE_UNICA"] = "BASE_UNICA";
6939
+ EnumDifalContribuinte["BASE_UNICA_DIF_PERCENTUAL"] = "BASE_UNICA_DIF_PERCENTUAL";
6940
+ EnumDifalContribuinte["NAO_SE_APLICA"] = "NAO_SE_APLICA";
6941
+ })(EnumDifalContribuinte || (EnumDifalContribuinte = {}));
6942
+
6931
6943
  var getOptionsFromEnum = function (translateService, enumPrefix, enumValues) {
6932
6944
  return enumValues
6933
6945
  .map(function (value) { return ({
@@ -6945,6 +6957,18 @@
6945
6957
  ]);
6946
6958
  };
6947
6959
  var ɵ0$2 = getEnumDifalNaoContribuinteOptions;
6960
+ var getEnumDifalContribuinteOptions = function (_a) {
6961
+ var translateService = _a.translateService;
6962
+ return getOptionsFromEnum(translateService, "erpx_cpl_imp.icms.enum_difal_contribuinte_", [
6963
+ EnumDifalContribuinte.BASE_DUPLA,
6964
+ EnumDifalContribuinte.BASE_DUPLA_DIF_PERCENTUAL,
6965
+ EnumDifalContribuinte.BASE_DUPLA_DIF_PERC_PER_DESTINO,
6966
+ EnumDifalContribuinte.BASE_DUPLA_DIF_VALOR,
6967
+ EnumDifalContribuinte.BASE_UNICA,
6968
+ EnumDifalContribuinte.NAO_SE_APLICA,
6969
+ ]);
6970
+ };
6971
+ var ɵ1 = getEnumDifalContribuinteOptions;
6948
6972
  var getFields$1 = function (_a) {
6949
6973
  var translateService = _a.translateService;
6950
6974
  return [
@@ -6960,7 +6984,7 @@
6960
6984
  {
6961
6985
  name: "difalContribuinte",
6962
6986
  type: angularComponents.FieldType.Enum,
6963
- options: getEnumDifalNaoContribuinteOptions({ translateService: translateService }),
6987
+ options: getEnumDifalContribuinteOptions({ translateService: translateService }),
6964
6988
  },
6965
6989
  {
6966
6990
  name: "percentualImportado",
@@ -6982,7 +7006,7 @@
6982
7006
  },
6983
7007
  ];
6984
7008
  };
6985
- var ɵ1 = getFields$1;
7009
+ var ɵ2 = getFields$1;
6986
7010
  var OrigemDestinoLookup = /** @class */ (function (_super) {
6987
7011
  __extends(OrigemDestinoLookup, _super);
6988
7012
  function OrigemDestinoLookup(lookupService, translateService, e007UfsLookup) {
@@ -7013,6 +7037,10 @@
7013
7037
  name: "e007ufsOrigem.nomUfs",
7014
7038
  type: angularComponents.FieldType.String,
7015
7039
  },
7040
+ {
7041
+ name: "e007ufsOrigem.e006pai.nomPai",
7042
+ type: angularComponents.FieldType.String,
7043
+ },
7016
7044
  {
7017
7045
  name: "e007ufsDestino.sigUfs",
7018
7046
  type: angularComponents.FieldType.String,
@@ -7020,6 +7048,10 @@
7020
7048
  {
7021
7049
  name: "e007ufsDestino.nomUfs",
7022
7050
  type: angularComponents.FieldType.String,
7051
+ },
7052
+ {
7053
+ name: "e007ufsDestino.e006pai.nomPai",
7054
+ type: angularComponents.FieldType.String,
7023
7055
  }
7024
7056
  ], getFields$1({ translateService: translateService })), "erpx_cpl_imp", "icms") || this;
7025
7057
  _this.lookupService = lookupService;
@@ -8725,6 +8757,7 @@
8725
8757
  exports.naturezaReceitaPisCofins = naturezaReceitaPisCofins;
8726
8758
  exports.ɵ0 = ɵ0;
8727
8759
  exports.ɵ1 = ɵ1;
8760
+ exports.ɵ2 = ɵ2;
8728
8761
  exports.ɵa = ErpLookupsService;
8729
8762
  exports.ɵd = StorageService;
8730
8763
  exports.ɵe = UserInformationService;