@senior-gestao-empresarial/erpx-components 4.7.0 → 4.8.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.
Files changed (28) hide show
  1. package/bundles/senior-gestao-empresarial-erpx-components.umd.js +61 -1
  2. package/bundles/senior-gestao-empresarial-erpx-components.umd.js.map +1 -1
  3. package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js +1 -1
  4. package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js.map +1 -1
  5. package/components/tributos/index.d.ts +1 -0
  6. package/components/tributos/rules/types/schemas/incoming-invoice.schema.d.ts +2 -0
  7. package/components/tributos/types/credit-invoice-type.d.ts +1 -0
  8. package/components/tributos/types/incoming-invoice.d.ts +6 -1
  9. package/esm2015/components/tributos/erp-tributos.component.js +6 -2
  10. package/esm2015/components/tributos/index.js +1 -1
  11. package/esm2015/components/tributos/rules/calculation/registries/calculation-rules-registries/incoming-invoice-calculation-rules.registry.js +29 -1
  12. package/esm2015/components/tributos/rules/types/schemas/incoming-invoice.schema.js +15 -1
  13. package/esm2015/components/tributos/rules/validation/registries/incoming-invoice-validation-rules.registry.js +29 -1
  14. package/esm2015/components/tributos/types/credit-invoice-type.js +1 -0
  15. package/esm2015/components/tributos/types/incoming-invoice.js +1 -1
  16. package/esm5/components/tributos/erp-tributos.component.js +6 -2
  17. package/esm5/components/tributos/index.js +1 -1
  18. package/esm5/components/tributos/rules/calculation/registries/calculation-rules-registries/incoming-invoice-calculation-rules.registry.js +29 -1
  19. package/esm5/components/tributos/rules/types/schemas/incoming-invoice.schema.js +15 -1
  20. package/esm5/components/tributos/rules/validation/registries/incoming-invoice-validation-rules.registry.js +29 -1
  21. package/esm5/components/tributos/types/credit-invoice-type.js +1 -0
  22. package/esm5/components/tributos/types/incoming-invoice.js +1 -1
  23. package/fesm2015/senior-gestao-empresarial-erpx-components.js +61 -1
  24. package/fesm2015/senior-gestao-empresarial-erpx-components.js.map +1 -1
  25. package/fesm5/senior-gestao-empresarial-erpx-components.js +61 -1
  26. package/fesm5/senior-gestao-empresarial-erpx-components.js.map +1 -1
  27. package/package.json +1 -1
  28. package/senior-gestao-empresarial-erpx-components.metadata.json +1 -1
@@ -4102,6 +4102,34 @@
4102
4102
  rule: this.taxClassificationCalculationRule
4103
4103
  }
4104
4104
  ],
4105
+ _f[exports.EnumTipoTributo.CBS_TRANSFERENCIA_CREDITO] = [
4106
+ {
4107
+ field: exports.EnumCampoTributo.SituacaoTributaria,
4108
+ rule: this.taxSituationCalculationRule
4109
+ },
4110
+ {
4111
+ field: exports.EnumCampoTributo.ClassificacaoTributaria,
4112
+ rule: this.taxClassificationCalculationRule
4113
+ },
4114
+ {
4115
+ field: exports.EnumCampoTributo.Valor,
4116
+ rule: this.taxAmountCalculationRule
4117
+ }
4118
+ ],
4119
+ _f[exports.EnumTipoTributo.IBS_TRANSFERENCIA_CREDITO] = [
4120
+ {
4121
+ field: exports.EnumCampoTributo.SituacaoTributaria,
4122
+ rule: this.taxSituationCalculationRule
4123
+ },
4124
+ {
4125
+ field: exports.EnumCampoTributo.ClassificacaoTributaria,
4126
+ rule: this.taxClassificationCalculationRule
4127
+ },
4128
+ {
4129
+ field: exports.EnumCampoTributo.Valor,
4130
+ rule: this.taxAmountCalculationRule
4131
+ }
4132
+ ],
4105
4133
  _f),
4106
4134
  Freight: (_g = {},
4107
4135
  _g[exports.EnumTipoTributo.CBS] = [
@@ -17671,6 +17699,34 @@
17671
17699
  rules: [this.taxAmountRequiredValidationRule]
17672
17700
  }
17673
17701
  ],
17702
+ _f[exports.EnumTipoTributo.CBS_TRANSFERENCIA_CREDITO] = [
17703
+ {
17704
+ field: exports.EnumCampoTributo.SituacaoTributaria,
17705
+ rules: [this.taxSituationRequiredValidationRule]
17706
+ },
17707
+ {
17708
+ field: exports.EnumCampoTributo.ClassificacaoTributaria,
17709
+ rules: [this.taxClassificationRequiredValidationRule]
17710
+ },
17711
+ {
17712
+ field: exports.EnumCampoTributo.Valor,
17713
+ rules: [this.taxAmountRequiredValidationRule]
17714
+ }
17715
+ ],
17716
+ _f[exports.EnumTipoTributo.IBS_TRANSFERENCIA_CREDITO] = [
17717
+ {
17718
+ field: exports.EnumCampoTributo.SituacaoTributaria,
17719
+ rules: [this.taxSituationRequiredValidationRule]
17720
+ },
17721
+ {
17722
+ field: exports.EnumCampoTributo.ClassificacaoTributaria,
17723
+ rules: [this.taxClassificationRequiredValidationRule]
17724
+ },
17725
+ {
17726
+ field: exports.EnumCampoTributo.Valor,
17727
+ rules: [this.taxAmountRequiredValidationRule]
17728
+ }
17729
+ ],
17674
17730
  _f),
17675
17731
  Freight: (_g = {},
17676
17732
  _g[exports.EnumTipoTributo.CBS] = [
@@ -26985,11 +27041,15 @@
26985
27041
  });
26986
27042
  _this.changeDetector.detectChanges();
26987
27043
  },
26988
- visible: this.context.document === 'Outgoing Invoice' &&
27044
+ visible: (this.context.document === 'Outgoing Invoice' &&
26989
27045
  this.context.invoice.type === 'Debit' &&
26990
27046
  (this.context.invoice.debitInvoiceType ===
26991
27047
  'Credit Transfer Cooperatives' ||
26992
27048
  this.context.invoice.debitInvoiceType ===
27049
+ 'Credit Transfer Succession')) ||
27050
+ (this.context.document === 'Incoming Invoice' &&
27051
+ this.context.invoice.type === 'Credit' &&
27052
+ this.context.invoice.creditInvoiceType ===
26993
27053
  'Credit Transfer Succession')
26994
27054
  }, {
26995
27055
  id: 'retencaoFunrural',