@senior-gestao-pessoas/payroll-core 9.3.0-d99b0dbd-5fc0-4b98-979b-fe30c751fa36 → 9.3.0-dfe04f23-c797-41a3-b912-c4cf9ef516cd
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 +13 -52
- 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 -6
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +8 -38
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -9
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +8 -46
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -9
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +13 -44
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +13 -52
- 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;
|
|
@@ -9476,35 +9475,17 @@
|
|
|
9476
9475
|
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9477
9476
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9478
9477
|
command: function () {
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
_this.visible = true;
|
|
9483
|
-
}
|
|
9484
|
-
else {
|
|
9485
|
-
_this.messageService.add({
|
|
9486
|
-
severity: "error",
|
|
9487
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9488
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9489
|
-
});
|
|
9490
|
-
}
|
|
9478
|
+
rowData["index"] = key;
|
|
9479
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9480
|
+
_this.visible = true;
|
|
9491
9481
|
},
|
|
9492
9482
|
},
|
|
9493
9483
|
{
|
|
9494
9484
|
visible: !_this.isEditMode,
|
|
9495
9485
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9496
9486
|
command: function () {
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
_this.deleteAnnuityItem(key);
|
|
9500
|
-
}
|
|
9501
|
-
else {
|
|
9502
|
-
_this.messageService.add({
|
|
9503
|
-
severity: "error",
|
|
9504
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9505
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9506
|
-
});
|
|
9507
|
-
}
|
|
9487
|
+
_this.loading = true;
|
|
9488
|
+
_this.deleteAnnuityItem(key);
|
|
9508
9489
|
},
|
|
9509
9490
|
},
|
|
9510
9491
|
];
|
|
@@ -9715,25 +9696,10 @@
|
|
|
9715
9696
|
HistoricalPixAccountComponent.prototype.getFormattedPercentage = function (value) {
|
|
9716
9697
|
return FormatUtilsService.getFormattedPercentage(value);
|
|
9717
9698
|
};
|
|
9718
|
-
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToDeleteHistorical", {
|
|
9719
|
-
get: function () {
|
|
9720
|
-
return (this.permission["Excluir"]);
|
|
9721
|
-
},
|
|
9722
|
-
enumerable: true,
|
|
9723
|
-
configurable: true
|
|
9724
|
-
});
|
|
9725
|
-
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToEditHistorical", {
|
|
9726
|
-
get: function () {
|
|
9727
|
-
return (this.permission["Editar"]);
|
|
9728
|
-
},
|
|
9729
|
-
enumerable: true,
|
|
9730
|
-
configurable: true
|
|
9731
|
-
});
|
|
9732
9699
|
HistoricalPixAccountComponent.ctorParameters = function () { return [
|
|
9733
9700
|
{ type: core$1.TranslateService },
|
|
9734
9701
|
{ type: core.ChangeDetectorRef },
|
|
9735
|
-
{ type: forms.FormBuilder }
|
|
9736
|
-
{ type: api.MessageService }
|
|
9702
|
+
{ type: forms.FormBuilder }
|
|
9737
9703
|
]; };
|
|
9738
9704
|
__decorate([
|
|
9739
9705
|
core.ViewChild(angularComponents.CustomFieldsComponent, { static: false })
|
|
@@ -9783,9 +9749,6 @@
|
|
|
9783
9749
|
__decorate([
|
|
9784
9750
|
core.Input()
|
|
9785
9751
|
], HistoricalPixAccountComponent.prototype, "defaultCpfNumber", void 0);
|
|
9786
|
-
__decorate([
|
|
9787
|
-
core.Input()
|
|
9788
|
-
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9789
9752
|
__decorate([
|
|
9790
9753
|
core.Input()
|
|
9791
9754
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10517,16 +10480,14 @@
|
|
|
10517
10480
|
{
|
|
10518
10481
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10519
10482
|
command: function () {
|
|
10520
|
-
if (_this.isAllowToViewHistorical
|
|
10483
|
+
if (_this.isAllowToViewHistorical) {
|
|
10521
10484
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10522
|
-
if (_this.withSidebar)
|
|
10485
|
+
if (_this.withSidebar)
|
|
10523
10486
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10524
10487
|
relativeTo: _this.activatedRoute,
|
|
10525
10488
|
});
|
|
10526
|
-
|
|
10527
|
-
else {
|
|
10489
|
+
else
|
|
10528
10490
|
_this.enableView.emit(dateChange);
|
|
10529
|
-
}
|
|
10530
10491
|
}
|
|
10531
10492
|
else {
|
|
10532
10493
|
_this.messageService.add({
|
|
@@ -10613,21 +10574,21 @@
|
|
|
10613
10574
|
};
|
|
10614
10575
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToAddHistorical", {
|
|
10615
10576
|
get: function () {
|
|
10616
|
-
return (this.permission["
|
|
10577
|
+
return (this.permission["incluir"]);
|
|
10617
10578
|
},
|
|
10618
10579
|
enumerable: true,
|
|
10619
10580
|
configurable: true
|
|
10620
10581
|
});
|
|
10621
10582
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToDeleteHistorical", {
|
|
10622
10583
|
get: function () {
|
|
10623
|
-
return (this.permission["
|
|
10584
|
+
return (this.permission["excluir"]);
|
|
10624
10585
|
},
|
|
10625
10586
|
enumerable: true,
|
|
10626
10587
|
configurable: true
|
|
10627
10588
|
});
|
|
10628
10589
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToViewHistorical", {
|
|
10629
10590
|
get: function () {
|
|
10630
|
-
return (this.permission["
|
|
10591
|
+
return (this.permission["visualizar"]);
|
|
10631
10592
|
},
|
|
10632
10593
|
enumerable: true,
|
|
10633
10594
|
configurable: true
|