@senior-gestao-empresarial/erpx-components 4.20.0 → 4.20.1
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.
- package/bundles/senior-gestao-empresarial-erpx-components.umd.js +12 -27
- package/bundles/senior-gestao-empresarial-erpx-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js +1 -1
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js.map +1 -1
- package/esm2015/components/tributos/erp-tributos.component.js +4 -1
- package/esm2015/components/tributos/rules/validation/rules/required/tax-amount-required-validation-rule.js +5 -11
- package/esm2015/components/tributos/rules/validation/rules/required/tax-rate-required-validation-rule.js +4 -10
- package/esm2015/components/tributos/rules/validation/rules/required/taxable-base-required-validation-rule.js +4 -10
- package/esm5/components/tributos/erp-tributos.component.js +4 -1
- package/esm5/components/tributos/rules/validation/rules/required/tax-amount-required-validation-rule.js +5 -11
- package/esm5/components/tributos/rules/validation/rules/required/tax-rate-required-validation-rule.js +4 -10
- package/esm5/components/tributos/rules/validation/rules/required/taxable-base-required-validation-rule.js +4 -10
- package/fesm2015/senior-gestao-empresarial-erpx-components.js +12 -27
- package/fesm2015/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-erpx-components.js +12 -27
- package/fesm5/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -15502,11 +15502,7 @@
|
|
|
15502
15502
|
case 'Incoming Invoice':
|
|
15503
15503
|
case 'Purchase Order':
|
|
15504
15504
|
{
|
|
15505
|
-
var baseTaxFormGroup = getBaseTaxItemFromGroup({ group: group }).formGroup;
|
|
15506
15505
|
rxjs.combineLatest([
|
|
15507
|
-
baseTaxFormGroup
|
|
15508
|
-
.get('baseCalculo')
|
|
15509
|
-
.valueChanges.pipe(operators.startWith(baseTaxFormGroup.get('baseCalculo').value), operators.distinctUntilChanged()),
|
|
15510
15506
|
formGroup
|
|
15511
15507
|
.get('baseCalculo')
|
|
15512
15508
|
.valueChanges.pipe(operators.startWith(formGroup.get('baseCalculo')
|
|
@@ -15519,19 +15515,17 @@
|
|
|
15519
15515
|
.valueChanges.pipe(operators.startWith(formGroup.get('valor').value), operators.distinctUntilChanged())
|
|
15520
15516
|
])
|
|
15521
15517
|
.pipe(operators.map(function (_a) {
|
|
15522
|
-
var _b = __read(_a,
|
|
15518
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
15523
15519
|
return [
|
|
15524
|
-
new BigNumber(baseTaxTaxableBase),
|
|
15525
15520
|
new BigNumber(taxableBase),
|
|
15526
15521
|
new BigNumber(taxRate),
|
|
15527
15522
|
new BigNumber(taxAmount)
|
|
15528
15523
|
];
|
|
15529
15524
|
}))
|
|
15530
15525
|
.subscribe(function (_a) {
|
|
15531
|
-
var _b = __read(_a,
|
|
15526
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
15532
15527
|
var validators = [];
|
|
15533
|
-
if (
|
|
15534
|
-
taxableBase.isFinite() ||
|
|
15528
|
+
if (taxableBase.isFinite() ||
|
|
15535
15529
|
taxRate.isFinite() ||
|
|
15536
15530
|
taxAmount.isFinite()) {
|
|
15537
15531
|
validators = [
|
|
@@ -17062,11 +17056,7 @@
|
|
|
17062
17056
|
case 'Incoming Invoice':
|
|
17063
17057
|
case 'Purchase Order':
|
|
17064
17058
|
{
|
|
17065
|
-
var baseTaxFormGroup = getBaseTaxItemFromGroup({ group: group }).formGroup;
|
|
17066
17059
|
rxjs.combineLatest([
|
|
17067
|
-
baseTaxFormGroup
|
|
17068
|
-
.get('baseCalculo')
|
|
17069
|
-
.valueChanges.pipe(operators.startWith(baseTaxFormGroup.get('baseCalculo').value), operators.distinctUntilChanged()),
|
|
17070
17060
|
formGroup
|
|
17071
17061
|
.get('baseCalculo')
|
|
17072
17062
|
.valueChanges.pipe(operators.startWith(formGroup.get('baseCalculo')
|
|
@@ -17079,19 +17069,17 @@
|
|
|
17079
17069
|
.valueChanges.pipe(operators.startWith(formGroup.get('valor').value), operators.distinctUntilChanged())
|
|
17080
17070
|
])
|
|
17081
17071
|
.pipe(operators.map(function (_a) {
|
|
17082
|
-
var _b = __read(_a,
|
|
17072
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
17083
17073
|
return [
|
|
17084
|
-
new BigNumber(baseTaxTaxableBase),
|
|
17085
17074
|
new BigNumber(taxableBase),
|
|
17086
17075
|
new BigNumber(taxRate),
|
|
17087
17076
|
new BigNumber(taxAmount)
|
|
17088
17077
|
];
|
|
17089
17078
|
}))
|
|
17090
17079
|
.subscribe(function (_a) {
|
|
17091
|
-
var _b = __read(_a,
|
|
17080
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
17092
17081
|
var validators = [];
|
|
17093
|
-
if (
|
|
17094
|
-
taxableBase.isFinite() ||
|
|
17082
|
+
if (taxableBase.isFinite() ||
|
|
17095
17083
|
taxRate.isFinite() ||
|
|
17096
17084
|
taxAmount.isFinite()) {
|
|
17097
17085
|
validators = [
|
|
@@ -18146,11 +18134,7 @@
|
|
|
18146
18134
|
case 'Incoming Invoice':
|
|
18147
18135
|
case 'Purchase Order':
|
|
18148
18136
|
{
|
|
18149
|
-
var baseTaxFormGroup = getBaseTaxItemFromGroup({ group: group }).formGroup;
|
|
18150
18137
|
rxjs.combineLatest([
|
|
18151
|
-
baseTaxFormGroup
|
|
18152
|
-
.get('baseCalculo')
|
|
18153
|
-
.valueChanges.pipe(operators.startWith(baseTaxFormGroup.get('baseCalculo').value), operators.distinctUntilChanged()),
|
|
18154
18138
|
formGroup
|
|
18155
18139
|
.get('baseCalculo')
|
|
18156
18140
|
.valueChanges.pipe(operators.startWith(formGroup.get('baseCalculo')
|
|
@@ -18163,19 +18147,17 @@
|
|
|
18163
18147
|
.valueChanges.pipe(operators.startWith(formGroup.get('valor').value), operators.distinctUntilChanged())
|
|
18164
18148
|
])
|
|
18165
18149
|
.pipe(operators.map(function (_a) {
|
|
18166
|
-
var _b = __read(_a,
|
|
18150
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
18167
18151
|
return [
|
|
18168
|
-
new BigNumber(baseTaxTaxableBase),
|
|
18169
18152
|
new BigNumber(taxableBase),
|
|
18170
18153
|
new BigNumber(taxRate),
|
|
18171
18154
|
new BigNumber(taxAmount)
|
|
18172
18155
|
];
|
|
18173
18156
|
}))
|
|
18174
18157
|
.subscribe(function (_a) {
|
|
18175
|
-
var _b = __read(_a,
|
|
18158
|
+
var _b = __read(_a, 3), taxableBase = _b[0], taxRate = _b[1], taxAmount = _b[2];
|
|
18176
18159
|
var validators = [];
|
|
18177
|
-
if (
|
|
18178
|
-
taxableBase.isFinite() ||
|
|
18160
|
+
if (taxableBase.isFinite() ||
|
|
18179
18161
|
taxRate.isFinite() ||
|
|
18180
18162
|
taxAmount.isFinite()) {
|
|
18181
18163
|
validators = [
|
|
@@ -29481,18 +29463,21 @@
|
|
|
29481
29463
|
case exports.EnumTipoTributo.CIDE_TECNOLOGIA:
|
|
29482
29464
|
return 'cide';
|
|
29483
29465
|
case exports.EnumTipoTributo.CBS:
|
|
29466
|
+
case exports.EnumTipoTributo.CBS_A_APROPRIAR:
|
|
29484
29467
|
case exports.EnumTipoTributo.CBS_DIFERIDO:
|
|
29485
29468
|
case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
|
|
29486
29469
|
case exports.EnumTipoTributo.CBS_TRIBUTACAO_REGULAR:
|
|
29487
29470
|
case exports.EnumTipoTributo.CBS_GOVERNAMENTAL:
|
|
29488
29471
|
return 'cbs';
|
|
29489
29472
|
case exports.EnumTipoTributo.IBS_ESTADUAL:
|
|
29473
|
+
case exports.EnumTipoTributo.IBS_ESTADUAL_A_APROPRIAR:
|
|
29490
29474
|
case exports.EnumTipoTributo.IBS_ESTADUAL_DIFERIDO:
|
|
29491
29475
|
case exports.EnumTipoTributo.IBS_ESTADUAL_TRIBUTACAO_REGULAR:
|
|
29492
29476
|
case exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO:
|
|
29493
29477
|
case exports.EnumTipoTributo.IBS_ESTADUAL_GOVERNAMENTAL:
|
|
29494
29478
|
return 'ibs-estadual';
|
|
29495
29479
|
case exports.EnumTipoTributo.IBS_MUNICIPAL:
|
|
29480
|
+
case exports.EnumTipoTributo.IBS_MUNICIPAL_A_APROPRIAR:
|
|
29496
29481
|
case exports.EnumTipoTributo.IBS_MUNICIPAL_DIFERIDO:
|
|
29497
29482
|
case exports.EnumTipoTributo.IBS_MUNICIPAL_TRIBUTACAO_REGULAR:
|
|
29498
29483
|
case exports.EnumTipoTributo.IBS_MUNICIPAL_GOVERNAMENTAL:
|