@senior-gestao-pessoas/payroll-core 9.3.0-ee19ef91-03e0-4a39-923b-12f0b8cf42cc → 9.3.0-f4c7eb58-16d4-4081-9a44-5279fa97276a
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 +18 -89
- 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.component.d.ts +1 -7
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +0 -1
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +11 -53
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +9 -23
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +11 -65
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +9 -27
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +18 -73
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +18 -89
- 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
|
@@ -9422,12 +9422,11 @@
|
|
|
9422
9422
|
}());
|
|
9423
9423
|
|
|
9424
9424
|
var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
9425
|
-
function HistoricalPixAccountComponent(translateService, cd, formBuilder
|
|
9425
|
+
function HistoricalPixAccountComponent(translateService, cd, formBuilder) {
|
|
9426
9426
|
var _this = this;
|
|
9427
9427
|
this.translateService = translateService;
|
|
9428
9428
|
this.cd = cd;
|
|
9429
9429
|
this.formBuilder = formBuilder;
|
|
9430
|
-
this.messageService = messageService;
|
|
9431
9430
|
this.recordByRow = 1;
|
|
9432
9431
|
this.showDateChange = false;
|
|
9433
9432
|
this.isEditMode = false;
|
|
@@ -9467,53 +9466,26 @@
|
|
|
9467
9466
|
visible: _this.isEditMode,
|
|
9468
9467
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9469
9468
|
command: function () {
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
_this.visible = true;
|
|
9474
|
-
}
|
|
9475
|
-
else {
|
|
9476
|
-
_this.messageService.add({
|
|
9477
|
-
severity: "error",
|
|
9478
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9479
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9480
|
-
});
|
|
9481
|
-
}
|
|
9469
|
+
rowData["index"] = key;
|
|
9470
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9471
|
+
_this.visible = true;
|
|
9482
9472
|
},
|
|
9483
9473
|
},
|
|
9484
9474
|
{
|
|
9485
9475
|
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9486
9476
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9487
9477
|
command: function () {
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
_this.visible = true;
|
|
9492
|
-
}
|
|
9493
|
-
else {
|
|
9494
|
-
_this.messageService.add({
|
|
9495
|
-
severity: "error",
|
|
9496
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9497
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9498
|
-
});
|
|
9499
|
-
}
|
|
9478
|
+
rowData["index"] = key;
|
|
9479
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9480
|
+
_this.visible = true;
|
|
9500
9481
|
},
|
|
9501
9482
|
},
|
|
9502
9483
|
{
|
|
9503
9484
|
visible: !_this.isEditMode,
|
|
9504
9485
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9505
9486
|
command: function () {
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
_this.deleteAnnuityItem(key);
|
|
9509
|
-
}
|
|
9510
|
-
else {
|
|
9511
|
-
_this.messageService.add({
|
|
9512
|
-
severity: "error",
|
|
9513
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9514
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9515
|
-
});
|
|
9516
|
-
}
|
|
9487
|
+
_this.loading = true;
|
|
9488
|
+
_this.deleteAnnuityItem(key);
|
|
9517
9489
|
},
|
|
9518
9490
|
},
|
|
9519
9491
|
];
|
|
@@ -9724,32 +9696,10 @@
|
|
|
9724
9696
|
HistoricalPixAccountComponent.prototype.getFormattedPercentage = function (value) {
|
|
9725
9697
|
return FormatUtilsService.getFormattedPercentage(value);
|
|
9726
9698
|
};
|
|
9727
|
-
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToDeleteHistorical", {
|
|
9728
|
-
get: function () {
|
|
9729
|
-
return (this.permission["Excluir"]);
|
|
9730
|
-
},
|
|
9731
|
-
enumerable: true,
|
|
9732
|
-
configurable: true
|
|
9733
|
-
});
|
|
9734
|
-
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToEditHistorical", {
|
|
9735
|
-
get: function () {
|
|
9736
|
-
return (this.permission["Editar"]);
|
|
9737
|
-
},
|
|
9738
|
-
enumerable: true,
|
|
9739
|
-
configurable: true
|
|
9740
|
-
});
|
|
9741
|
-
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToViewHistorical", {
|
|
9742
|
-
get: function () {
|
|
9743
|
-
return (this.permission["Visualizar"]);
|
|
9744
|
-
},
|
|
9745
|
-
enumerable: true,
|
|
9746
|
-
configurable: true
|
|
9747
|
-
});
|
|
9748
9699
|
HistoricalPixAccountComponent.ctorParameters = function () { return [
|
|
9749
9700
|
{ type: core$1.TranslateService },
|
|
9750
9701
|
{ type: core.ChangeDetectorRef },
|
|
9751
|
-
{ type: forms.FormBuilder }
|
|
9752
|
-
{ type: api.MessageService }
|
|
9702
|
+
{ type: forms.FormBuilder }
|
|
9753
9703
|
]; };
|
|
9754
9704
|
__decorate([
|
|
9755
9705
|
core.ViewChild(angularComponents.CustomFieldsComponent, { static: false })
|
|
@@ -9799,9 +9749,6 @@
|
|
|
9799
9749
|
__decorate([
|
|
9800
9750
|
core.Input()
|
|
9801
9751
|
], HistoricalPixAccountComponent.prototype, "defaultCpfNumber", void 0);
|
|
9802
|
-
__decorate([
|
|
9803
|
-
core.Input()
|
|
9804
|
-
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9805
9752
|
__decorate([
|
|
9806
9753
|
core.Input()
|
|
9807
9754
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10533,24 +10480,13 @@
|
|
|
10533
10480
|
{
|
|
10534
10481
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10535
10482
|
command: function () {
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
_this.
|
|
10540
|
-
relativeTo: _this.activatedRoute,
|
|
10541
|
-
});
|
|
10542
|
-
}
|
|
10543
|
-
else {
|
|
10544
|
-
_this.enableView.emit(dateChange);
|
|
10545
|
-
}
|
|
10546
|
-
}
|
|
10547
|
-
else {
|
|
10548
|
-
_this.messageService.add({
|
|
10549
|
-
severity: "error",
|
|
10550
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10551
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10483
|
+
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10484
|
+
if (_this.withSidebar)
|
|
10485
|
+
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10486
|
+
relativeTo: _this.activatedRoute,
|
|
10552
10487
|
});
|
|
10553
|
-
|
|
10488
|
+
else
|
|
10489
|
+
_this.enableView.emit(dateChange);
|
|
10554
10490
|
},
|
|
10555
10491
|
},
|
|
10556
10492
|
{
|
|
@@ -10629,21 +10565,14 @@
|
|
|
10629
10565
|
};
|
|
10630
10566
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToAddHistorical", {
|
|
10631
10567
|
get: function () {
|
|
10632
|
-
return (this.permission["
|
|
10568
|
+
return (this.permission["incluir"]);
|
|
10633
10569
|
},
|
|
10634
10570
|
enumerable: true,
|
|
10635
10571
|
configurable: true
|
|
10636
10572
|
});
|
|
10637
10573
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToDeleteHistorical", {
|
|
10638
10574
|
get: function () {
|
|
10639
|
-
return (this.permission["
|
|
10640
|
-
},
|
|
10641
|
-
enumerable: true,
|
|
10642
|
-
configurable: true
|
|
10643
|
-
});
|
|
10644
|
-
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToViewHistorical", {
|
|
10645
|
-
get: function () {
|
|
10646
|
-
return (this.permission["Visualizar"]);
|
|
10575
|
+
return (this.permission["excluir"]);
|
|
10647
10576
|
},
|
|
10648
10577
|
enumerable: true,
|
|
10649
10578
|
configurable: true
|