@senior-gestao-pessoas/payroll-core 9.3.0-99a8011c-ce6f-42d8-bae5-a9d40dcf3e7b → 9.3.0-a077689b-20b5-4a6b-9e4f-5cf29bb85406
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 +37 -6
- 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 +8 -2
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +39 -5
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +1 -4
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +39 -5
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +1 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +37 -6
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +37 -6
- 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
|
@@ -9434,6 +9434,11 @@
|
|
|
9434
9434
|
this.isViewMode = false;
|
|
9435
9435
|
this.withSideBar = true;
|
|
9436
9436
|
this.defaultCpfNumber = null;
|
|
9437
|
+
this.listDataReciever = [];
|
|
9438
|
+
this.isOnlyView = new core.EventEmitter();
|
|
9439
|
+
this.isOnlyEdit = new core.EventEmitter();
|
|
9440
|
+
this.isOnlyDelete = new core.EventEmitter();
|
|
9441
|
+
this.listFromApp = [];
|
|
9437
9442
|
this.visibleChange = new core.EventEmitter();
|
|
9438
9443
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
9439
9444
|
this.orderBy = {
|
|
@@ -9473,7 +9478,7 @@
|
|
|
9473
9478
|
_this.visible = true;
|
|
9474
9479
|
}
|
|
9475
9480
|
else {
|
|
9476
|
-
_this.
|
|
9481
|
+
_this.isOnlyView.emit(true);
|
|
9477
9482
|
}
|
|
9478
9483
|
},
|
|
9479
9484
|
},
|
|
@@ -9487,7 +9492,13 @@
|
|
|
9487
9492
|
_this.visible = true;
|
|
9488
9493
|
}
|
|
9489
9494
|
else {
|
|
9490
|
-
_this.
|
|
9495
|
+
_this.isOnlyEdit.emit(true);
|
|
9496
|
+
if (!_this.listFromApp) {
|
|
9497
|
+
console.log('ENTER IN EDIT');
|
|
9498
|
+
rowData["index"] = key;
|
|
9499
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9500
|
+
_this.visible = true;
|
|
9501
|
+
}
|
|
9491
9502
|
}
|
|
9492
9503
|
},
|
|
9493
9504
|
},
|
|
@@ -9500,7 +9511,11 @@
|
|
|
9500
9511
|
_this.deleteAnnuityItem(key);
|
|
9501
9512
|
}
|
|
9502
9513
|
else {
|
|
9503
|
-
_this.
|
|
9514
|
+
_this.isOnlyDelete.emit(true);
|
|
9515
|
+
if (!_this.listFromApp) {
|
|
9516
|
+
_this.loading = true;
|
|
9517
|
+
_this.deleteAnnuityItem(key);
|
|
9518
|
+
}
|
|
9504
9519
|
}
|
|
9505
9520
|
},
|
|
9506
9521
|
},
|
|
@@ -9511,6 +9526,13 @@
|
|
|
9511
9526
|
HistoricalPixAccountComponent.prototype.ngOnInit = function () {
|
|
9512
9527
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
9513
9528
|
};
|
|
9529
|
+
HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
|
|
9530
|
+
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
9531
|
+
console.log('changes', changes['listDataReciever'].currentValue);
|
|
9532
|
+
this.listFromApp = changes['listDataReciever'].currentValue;
|
|
9533
|
+
console.log('listFromApp', this.listFromApp);
|
|
9534
|
+
}
|
|
9535
|
+
};
|
|
9514
9536
|
HistoricalPixAccountComponent.prototype.createFormGroup = function () {
|
|
9515
9537
|
this.historicalPixAccountList = this.formBuilder.group({
|
|
9516
9538
|
historicalPixAccountList: this.formBuilder.control(null),
|
|
@@ -9804,6 +9826,18 @@
|
|
|
9804
9826
|
__decorate([
|
|
9805
9827
|
core.Input()
|
|
9806
9828
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9829
|
+
__decorate([
|
|
9830
|
+
core.Input()
|
|
9831
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9832
|
+
__decorate([
|
|
9833
|
+
core.Output()
|
|
9834
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9835
|
+
__decorate([
|
|
9836
|
+
core.Output()
|
|
9837
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9838
|
+
__decorate([
|
|
9839
|
+
core.Output()
|
|
9840
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9807
9841
|
__decorate([
|
|
9808
9842
|
core.Input()
|
|
9809
9843
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10536,11 +10570,8 @@
|
|
|
10536
10570
|
{
|
|
10537
10571
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10538
10572
|
command: function () {
|
|
10539
|
-
console.log('COMMAND CALLED');
|
|
10540
|
-
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10541
10573
|
if (_this.isAllowToViewHistorical) {
|
|
10542
10574
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10543
|
-
console.log('withSidebar', _this.withSidebar);
|
|
10544
10575
|
if (_this.withSidebar) {
|
|
10545
10576
|
_this.isOnlyView.emit(true);
|
|
10546
10577
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|