@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
|
@@ -9564,6 +9564,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
|
|
|
9564
9564
|
this.paramsForm = new FormGroup({});
|
|
9565
9565
|
this.defaultCpfNumber = null;
|
|
9566
9566
|
this.permitsEditBankAccountForm = false;
|
|
9567
|
+
this.isAlphanumericCNPJ = false;
|
|
9567
9568
|
this.visibleChange = new EventEmitter();
|
|
9568
9569
|
this.pixAccountItemToList = new EventEmitter();
|
|
9569
9570
|
this.ngUnsubscribe = new Subject();
|
|
@@ -9615,7 +9616,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
|
|
|
9615
9616
|
this.pixKeyType = item.key;
|
|
9616
9617
|
this.isShowPixKeyFieldValidatorMessage = true;
|
|
9617
9618
|
this.pixAccountFormGroup.get("pixKey").reset();
|
|
9618
|
-
this.setPixKeyValidators(true);
|
|
9619
|
+
this.setPixKeyValidators(true, this.isAlphanumericCNPJ);
|
|
9619
9620
|
if (item.key === "CPF") {
|
|
9620
9621
|
this.setDefaultCpfPixKey();
|
|
9621
9622
|
}
|
|
@@ -9678,7 +9679,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
|
|
|
9678
9679
|
this.visibleBtnSave = isEditMode;
|
|
9679
9680
|
if (this.pixAccountFormGroup.get("pixKeyType").value) {
|
|
9680
9681
|
this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
|
|
9681
|
-
this.setPixKeyValidators(isEditMode);
|
|
9682
|
+
this.setPixKeyValidators(isEditMode, this.isAlphanumericCNPJ);
|
|
9682
9683
|
this.formatPixKeyTelephoneNumber();
|
|
9683
9684
|
}
|
|
9684
9685
|
configEnabledFields(this.pixAccountFormGroup, isEditMode, [
|
|
@@ -9771,7 +9772,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
|
|
|
9771
9772
|
});
|
|
9772
9773
|
}
|
|
9773
9774
|
this.beforeSetPixKeyTypeValidator();
|
|
9774
|
-
this.setPixKeyValidators(isEditMode);
|
|
9775
|
+
this.setPixKeyValidators(isEditMode, this.isAlphanumericCNPJ);
|
|
9775
9776
|
this.validatePercentageValid(percentageIncluded);
|
|
9776
9777
|
};
|
|
9777
9778
|
/**
|
|
@@ -9935,6 +9936,9 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
|
|
|
9935
9936
|
__decorate([
|
|
9936
9937
|
Input()
|
|
9937
9938
|
], HistoricalPixAccountFormComponent.prototype, "permitsEditBankAccountForm", void 0);
|
|
9939
|
+
__decorate([
|
|
9940
|
+
Input()
|
|
9941
|
+
], HistoricalPixAccountFormComponent.prototype, "isAlphanumericCNPJ", void 0);
|
|
9938
9942
|
__decorate([
|
|
9939
9943
|
Output()
|
|
9940
9944
|
], HistoricalPixAccountFormComponent.prototype, "visibleChange", void 0);
|
|
@@ -9978,6 +9982,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9978
9982
|
this.defaultCpfNumber = null;
|
|
9979
9983
|
this.listDataReciever = [];
|
|
9980
9984
|
this.showButtonEdit = false;
|
|
9985
|
+
this.isAlphanumericCNPJ = false;
|
|
9981
9986
|
this.isViewModeActive = new EventEmitter();
|
|
9982
9987
|
this.isEditModeActive = new EventEmitter();
|
|
9983
9988
|
this.isDeleteModeActive = new EventEmitter();
|
|
@@ -10291,7 +10296,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
10291
10296
|
return FormatUtilsService.getFormattedCpf(cpf);
|
|
10292
10297
|
};
|
|
10293
10298
|
HistoricalPixAccountComponent.prototype.getFormattedCnpj = function (cnpj) {
|
|
10294
|
-
return FormatUtilsService.getFormattedCnpj(cnpj);
|
|
10299
|
+
return FormatUtilsService.getFormattedCnpj(cnpj, this.isAlphanumericCNPJ);
|
|
10295
10300
|
};
|
|
10296
10301
|
HistoricalPixAccountComponent.prototype.getFormattedPercentage = function (value) {
|
|
10297
10302
|
return FormatUtilsService.getFormattedPercentage(value);
|
|
@@ -10390,6 +10395,9 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
10390
10395
|
__decorate([
|
|
10391
10396
|
Input()
|
|
10392
10397
|
], HistoricalPixAccountComponent.prototype, "showButtonEdit", void 0);
|
|
10398
|
+
__decorate([
|
|
10399
|
+
Input()
|
|
10400
|
+
], HistoricalPixAccountComponent.prototype, "isAlphanumericCNPJ", void 0);
|
|
10393
10401
|
__decorate([
|
|
10394
10402
|
Output()
|
|
10395
10403
|
], HistoricalPixAccountComponent.prototype, "isViewModeActive", void 0);
|