@senior-gestao-empresarial/erpx-components 3.6.8 → 3.6.10

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.
@@ -601,6 +601,7 @@
601
601
  EnumTipoTributo["CBS_DIFERIDO"] = "CBS_DIFERIDO";
602
602
  EnumTipoTributo["CBS_DESONERADO"] = "CBS_DESONERADO";
603
603
  EnumTipoTributo["CBS_CREDITO_PRESUMIDO"] = "CBS_CREDITO_PRESUMIDO";
604
+ EnumTipoTributo["IBS_ESTADUAL_CREDITO_PRESUMIDO"] = "IBS_ESTADUAL_CREDITO_PRESUMIDO";
604
605
  EnumTipoTributo["IBS_ESTADUAL"] = "IBS_ESTADUAL";
605
606
  EnumTipoTributo["IBS_ESTADUAL_DIFERIDO"] = "IBS_ESTADUAL_DIFERIDO";
606
607
  EnumTipoTributo["IBS_ESTADUAL_DESONERADO"] = "IBS_ESTADUAL_DESONERADO";
@@ -818,6 +819,7 @@
818
819
  this.requiredItemCBSDesonerado = false;
819
820
  this.requiredItemCBSDiferido = false;
820
821
  this.requiredItemCBSCreditoPresumido = false;
822
+ this.requiredItemIBSEstadualCreditoPresumido = false;
821
823
  this.requiredItemIBSEstadual = false;
822
824
  this.requiredItemIBSEstadualDesonerado = false;
823
825
  this.requiredItemIBSEstadualDiferido = false;
@@ -1064,6 +1066,7 @@
1064
1066
  case exports.EnumTipoTributo.CBS_DESONERADO:
1065
1067
  case exports.EnumTipoTributo.CBS_DIFERIDO:
1066
1068
  case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
1069
+ case exports.EnumTipoTributo.IBS_ESTADUAL_CREDITO_PRESUMIDO:
1067
1070
  return 'cbs';
1068
1071
  case exports.EnumTipoTributo.IBS_ESTADUAL:
1069
1072
  case exports.EnumTipoTributo.IBS_ESTADUAL_DESONERADO:
@@ -1149,6 +1152,7 @@
1149
1152
  case exports.EnumTipoTributo.CBS_DESONERADO:
1150
1153
  case exports.EnumTipoTributo.CBS_DIFERIDO:
1151
1154
  case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
1155
+ case exports.EnumTipoTributo.IBS_ESTADUAL_CREDITO_PRESUMIDO:
1152
1156
  _this.montaCBS();
1153
1157
  break;
1154
1158
  case exports.EnumTipoTributo.IBS_ESTADUAL:
@@ -2510,7 +2514,12 @@
2510
2514
  previousAction: function () { return _this.refreshValorImpostoEfetivoEBruto(exports.EnumGrupoTributo.IBS_ESTADUAL, exports.EnumTipoTributo.IBS_ESTADUAL, exports.EnumTipoTributo.IBS_ESTADUAL_DESONERADO); } },
2511
2515
  { campo: exports.EnumCampoTributo.CstDesoneracao },
2512
2516
  { campo: exports.EnumCampoTributo.ClassificacaoTributariaDesoneracao },
2513
- ], exports.EnumTipoTributo.IBS_ESTADUAL_DESONERADO)));
2517
+ ], exports.EnumTipoTributo.IBS_ESTADUAL_DESONERADO)), __assign({ name: exports.EnumTipoTributo.IBS_ESTADUAL_CREDITO_PRESUMIDO, label: 'erpx.tributos.enum_tipo_tributo_ibs_estadual_credito_presumido' }, this.montaCampos([
2518
+ { campo: exports.EnumCampoTributo.BaseCalculo },
2519
+ { campo: exports.EnumCampoTributo.Aliquota },
2520
+ { campo: exports.EnumCampoTributo.Valor, disabled: true },
2521
+ { campo: exports.EnumCampoTributo.ClassificacaoTributaria }
2522
+ ], exports.EnumTipoTributo.IBS_ESTADUAL_CREDITO_PRESUMIDO)));
2514
2523
  this.grupos.unshift({
2515
2524
  grupo: "" + ('erpx.tributos.enum_grupo_tributo_' +
2516
2525
  exports.EnumGrupoTributo.IBS_ESTADUAL +
@@ -2872,6 +2881,8 @@
2872
2881
  return this.requiredItemCBSDiferido;
2873
2882
  case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
2874
2883
  return this.requiredItemCBSCreditoPresumido;
2884
+ case exports.EnumTipoTributo.IBS_ESTADUAL_CREDITO_PRESUMIDO:
2885
+ return this.requiredItemIBSEstadualCreditoPresumido;
2875
2886
  case exports.EnumTipoTributo.CBS_DESONERADO:
2876
2887
  return this.requiredItemCBSDesonerado;
2877
2888
  case exports.EnumTipoTributo.IBS_ESTADUAL:
@@ -3852,10 +3863,10 @@
3852
3863
  }));
3853
3864
  }
3854
3865
  else if (it.campo == exports.EnumCampoTributo.PercentualDiferimento) {
3855
- formGroup = __assign(__assign({}, formGroup), { aliquotaDiferimento: [{ value: undefined, disabled: false }, forms.Validators.compose([forms.Validators.max(100)])] });
3866
+ formGroup = __assign(__assign({}, formGroup), { aliquota: [{ value: undefined, disabled: false }, forms.Validators.compose([forms.Validators.max(100)])] });
3856
3867
  formField.push(new angularComponents$1.FormField({
3857
3868
  id: tributo + 'PercentualDiferimento',
3858
- name: 'aliquotaDiferimento',
3869
+ name: 'aliquota',
3859
3870
  label: _this.translate.instant('erpx.tributos.fields_percentual_diferimento_label'),
3860
3871
  type: angularComponents$1.FieldType.Money,
3861
3872
  precision: 7,