@senior-gestao-pessoas/payroll-core 9.4.0-ebf1efc2-fe91-41f8-a0c0-009bafadc393 → 9.4.0-f9d3c09b-0079-4f7c-94cf-dd79338e7089
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 +8 -36
- 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-list/historical-pix-account-list.component.d.ts +1 -2
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +6 -35
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +9 -38
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +5 -33
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +8 -36
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/locale/en-US.json +1 -1
- package/locale/es-ES.json +1 -1
- package/locale/pt-BR.json +1 -1
- package/package.json +32 -2
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -10508,18 +10508,6 @@
|
|
|
10508
10508
|
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_date_change"),
|
|
10509
10509
|
field: "dateChange",
|
|
10510
10510
|
},
|
|
10511
|
-
{
|
|
10512
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key_type"),
|
|
10513
|
-
field: "pixKeyType.value",
|
|
10514
|
-
},
|
|
10515
|
-
{
|
|
10516
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key"),
|
|
10517
|
-
field: "pixKey",
|
|
10518
|
-
},
|
|
10519
|
-
{
|
|
10520
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_percentage"),
|
|
10521
|
-
field: "percentage",
|
|
10522
|
-
},
|
|
10523
10511
|
{
|
|
10524
10512
|
label: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_label_qtd_account"),
|
|
10525
10513
|
field: "numberOfPixAccount",
|
|
@@ -10540,27 +10528,10 @@
|
|
|
10540
10528
|
var _this = this;
|
|
10541
10529
|
payload.forEach(function (value) {
|
|
10542
10530
|
value.dateChange = moment$e(value.dateChange).format(_this.dateFormat);
|
|
10543
|
-
value.pixKey = _this.formatPixKeyByType(value.pixKeyType, value.pixKey);
|
|
10544
|
-
value.percentage = FormatUtilsService.getFormattedPercentage(value.percentage);
|
|
10545
10531
|
});
|
|
10546
10532
|
this.onGridLoad(payload);
|
|
10547
10533
|
this.loading = false;
|
|
10548
10534
|
};
|
|
10549
|
-
HistoricalPixAccountListComponent.prototype.formatPixKeyByType = function (pixKeyType, pixKey) {
|
|
10550
|
-
var keyType = pixKeyType ? pixKeyType.key.toUpperCase() : "";
|
|
10551
|
-
if (keyType === "TELEPHONE") {
|
|
10552
|
-
return FormatUtilsService.getFormattedTelephoneNumber(pixKey);
|
|
10553
|
-
}
|
|
10554
|
-
else if (keyType === "CPF") {
|
|
10555
|
-
return FormatUtilsService.getFormattedCpf(pixKey);
|
|
10556
|
-
}
|
|
10557
|
-
else if (keyType === "CNPJ") {
|
|
10558
|
-
return FormatUtilsService.getFormattedCnpj(pixKey);
|
|
10559
|
-
}
|
|
10560
|
-
else {
|
|
10561
|
-
return pixKey;
|
|
10562
|
-
}
|
|
10563
|
-
};
|
|
10564
10535
|
HistoricalPixAccountListComponent.prototype.getMenuActions = function (rowData) {
|
|
10565
10536
|
var _this = this;
|
|
10566
10537
|
return [
|
|
@@ -10590,6 +10561,7 @@
|
|
|
10590
10561
|
if (_this.isAllowToEditHistorical) {
|
|
10591
10562
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10592
10563
|
if (_this.withSidebar) {
|
|
10564
|
+
_this.isOnlyView.emit(false);
|
|
10593
10565
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10594
10566
|
relativeTo: _this.activatedRoute,
|
|
10595
10567
|
});
|
|
@@ -10613,7 +10585,7 @@
|
|
|
10613
10585
|
_this.isNotAllowMessage();
|
|
10614
10586
|
}
|
|
10615
10587
|
},
|
|
10616
|
-
}
|
|
10588
|
+
}
|
|
10617
10589
|
];
|
|
10618
10590
|
};
|
|
10619
10591
|
HistoricalPixAccountListComponent.prototype.delete = function (id, dateChange) {
|
|
@@ -10687,23 +10659,23 @@
|
|
|
10687
10659
|
enumerable: true,
|
|
10688
10660
|
configurable: true
|
|
10689
10661
|
});
|
|
10690
|
-
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "
|
|
10662
|
+
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToDeleteHistorical", {
|
|
10691
10663
|
get: function () {
|
|
10692
|
-
return (this.permission["
|
|
10664
|
+
return (this.permission["excluir"]);
|
|
10693
10665
|
},
|
|
10694
10666
|
enumerable: true,
|
|
10695
10667
|
configurable: true
|
|
10696
10668
|
});
|
|
10697
|
-
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "
|
|
10669
|
+
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToViewHistorical", {
|
|
10698
10670
|
get: function () {
|
|
10699
|
-
return (this.permission["
|
|
10671
|
+
return (this.permission["visualizar"]);
|
|
10700
10672
|
},
|
|
10701
10673
|
enumerable: true,
|
|
10702
10674
|
configurable: true
|
|
10703
10675
|
});
|
|
10704
|
-
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "
|
|
10676
|
+
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToEditHistorical", {
|
|
10705
10677
|
get: function () {
|
|
10706
|
-
return (this.permission["
|
|
10678
|
+
return (this.permission["editar"]);
|
|
10707
10679
|
},
|
|
10708
10680
|
enumerable: true,
|
|
10709
10681
|
configurable: true
|