@senior-gestao-pessoas/payroll-core 9.7.0-feature-hcmgdp-11851-8f025e25 → 9.7.0-feature-hcmgdp-11851-12103c19
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-pessoas-payroll-core.umd.js +12 -4
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.d.ts +1 -0
- package/components/historical-pix-account/historical-pix-account.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +8 -4
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +6 -2
- package/esm5/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +8 -4
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +6 -2
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +12 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +12 -4
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -9730,6 +9730,7 @@
|
|
|
9730
9730
|
this.paramsForm = new forms.FormGroup({});
|
|
9731
9731
|
this.defaultCpfNumber = null;
|
|
9732
9732
|
this.permitsEditBankAccountForm = false;
|
|
9733
|
+
this.isAlphanumericCNPJ = false;
|
|
9733
9734
|
this.visibleChange = new core.EventEmitter();
|
|
9734
9735
|
this.pixAccountItemToList = new core.EventEmitter();
|
|
9735
9736
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
@@ -9781,7 +9782,7 @@
|
|
|
9781
9782
|
this.pixKeyType = item.key;
|
|
9782
9783
|
this.isShowPixKeyFieldValidatorMessage = true;
|
|
9783
9784
|
this.pixAccountFormGroup.get("pixKey").reset();
|
|
9784
|
-
this.setPixKeyValidators(true);
|
|
9785
|
+
this.setPixKeyValidators(true, this.isAlphanumericCNPJ);
|
|
9785
9786
|
if (item.key === "CPF") {
|
|
9786
9787
|
this.setDefaultCpfPixKey();
|
|
9787
9788
|
}
|
|
@@ -9844,7 +9845,7 @@
|
|
|
9844
9845
|
this.visibleBtnSave = isEditMode;
|
|
9845
9846
|
if (this.pixAccountFormGroup.get("pixKeyType").value) {
|
|
9846
9847
|
this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
|
|
9847
|
-
this.setPixKeyValidators(isEditMode);
|
|
9848
|
+
this.setPixKeyValidators(isEditMode, this.isAlphanumericCNPJ);
|
|
9848
9849
|
this.formatPixKeyTelephoneNumber();
|
|
9849
9850
|
}
|
|
9850
9851
|
configEnabledFields(this.pixAccountFormGroup, isEditMode, [
|
|
@@ -9937,7 +9938,7 @@
|
|
|
9937
9938
|
});
|
|
9938
9939
|
}
|
|
9939
9940
|
this.beforeSetPixKeyTypeValidator();
|
|
9940
|
-
this.setPixKeyValidators(isEditMode);
|
|
9941
|
+
this.setPixKeyValidators(isEditMode, this.isAlphanumericCNPJ);
|
|
9941
9942
|
this.validatePercentageValid(percentageIncluded);
|
|
9942
9943
|
};
|
|
9943
9944
|
/**
|
|
@@ -10101,6 +10102,9 @@
|
|
|
10101
10102
|
__decorate([
|
|
10102
10103
|
core.Input()
|
|
10103
10104
|
], HistoricalPixAccountFormComponent.prototype, "permitsEditBankAccountForm", void 0);
|
|
10105
|
+
__decorate([
|
|
10106
|
+
core.Input()
|
|
10107
|
+
], HistoricalPixAccountFormComponent.prototype, "isAlphanumericCNPJ", void 0);
|
|
10104
10108
|
__decorate([
|
|
10105
10109
|
core.Output()
|
|
10106
10110
|
], HistoricalPixAccountFormComponent.prototype, "visibleChange", void 0);
|
|
@@ -10144,6 +10148,7 @@
|
|
|
10144
10148
|
this.defaultCpfNumber = null;
|
|
10145
10149
|
this.listDataReciever = [];
|
|
10146
10150
|
this.showButtonEdit = false;
|
|
10151
|
+
this.isAlphanumericCNPJ = false;
|
|
10147
10152
|
this.isViewModeActive = new core.EventEmitter();
|
|
10148
10153
|
this.isEditModeActive = new core.EventEmitter();
|
|
10149
10154
|
this.isDeleteModeActive = new core.EventEmitter();
|
|
@@ -10457,7 +10462,7 @@
|
|
|
10457
10462
|
return FormatUtilsService.getFormattedCpf(cpf);
|
|
10458
10463
|
};
|
|
10459
10464
|
HistoricalPixAccountComponent.prototype.getFormattedCnpj = function (cnpj) {
|
|
10460
|
-
return FormatUtilsService.getFormattedCnpj(cnpj);
|
|
10465
|
+
return FormatUtilsService.getFormattedCnpj(cnpj, this.isAlphanumericCNPJ);
|
|
10461
10466
|
};
|
|
10462
10467
|
HistoricalPixAccountComponent.prototype.getFormattedPercentage = function (value) {
|
|
10463
10468
|
return FormatUtilsService.getFormattedPercentage(value);
|
|
@@ -10556,6 +10561,9 @@
|
|
|
10556
10561
|
__decorate([
|
|
10557
10562
|
core.Input()
|
|
10558
10563
|
], HistoricalPixAccountComponent.prototype, "showButtonEdit", void 0);
|
|
10564
|
+
__decorate([
|
|
10565
|
+
core.Input()
|
|
10566
|
+
], HistoricalPixAccountComponent.prototype, "isAlphanumericCNPJ", void 0);
|
|
10559
10567
|
__decorate([
|
|
10560
10568
|
core.Output()
|
|
10561
10569
|
], HistoricalPixAccountComponent.prototype, "isViewModeActive", void 0);
|