@senior-gestao-pessoas/payroll-core 9.3.0-0a28751a-09d5-4c6f-ad82-be2566554925 → 9.3.0-11ecd384-3d65-4305-af51-72620b6bf7e1
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 +26 -12
- 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 +5 -1
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +28 -14
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +28 -14
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +26 -12
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +26 -12
- 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,10 @@
|
|
|
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();
|
|
9437
9441
|
this.visibleChange = new core.EventEmitter();
|
|
9438
9442
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
9439
9443
|
this.orderBy = {
|
|
@@ -9467,16 +9471,18 @@
|
|
|
9467
9471
|
visible: _this.isEditMode,
|
|
9468
9472
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9469
9473
|
command: function () {
|
|
9470
|
-
console.log('CAALING VIEW');
|
|
9471
9474
|
if (_this.isAllowToViewHistorical) {
|
|
9472
|
-
console.log('IS ALLOW TO VIEW');
|
|
9473
9475
|
rowData["index"] = key;
|
|
9474
9476
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9475
9477
|
_this.visible = true;
|
|
9476
9478
|
}
|
|
9477
9479
|
else {
|
|
9478
|
-
|
|
9479
|
-
_this.
|
|
9480
|
+
_this.isOnlyView.emit(true);
|
|
9481
|
+
if (_this.listDataReciever.length == 0) {
|
|
9482
|
+
rowData["index"] = key;
|
|
9483
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9484
|
+
_this.visible = true;
|
|
9485
|
+
}
|
|
9480
9486
|
}
|
|
9481
9487
|
},
|
|
9482
9488
|
},
|
|
@@ -9484,16 +9490,18 @@
|
|
|
9484
9490
|
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9485
9491
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9486
9492
|
command: function () {
|
|
9487
|
-
console.log('CAALING EDIT');
|
|
9488
9493
|
if (_this.isAllowToEditHistorical) {
|
|
9489
|
-
console.log('IS ALLOW TO EDIT');
|
|
9490
9494
|
rowData["index"] = key;
|
|
9491
9495
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9492
9496
|
_this.visible = true;
|
|
9493
9497
|
}
|
|
9494
9498
|
else {
|
|
9495
|
-
|
|
9496
|
-
_this.
|
|
9499
|
+
_this.isOnlyEdit.emit(true);
|
|
9500
|
+
if (_this.listDataReciever.length == 0) {
|
|
9501
|
+
rowData["index"] = key;
|
|
9502
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9503
|
+
_this.visible = true;
|
|
9504
|
+
}
|
|
9497
9505
|
}
|
|
9498
9506
|
},
|
|
9499
9507
|
},
|
|
@@ -9501,15 +9509,12 @@
|
|
|
9501
9509
|
visible: !_this.isEditMode,
|
|
9502
9510
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9503
9511
|
command: function () {
|
|
9504
|
-
console.log('CAALING DELETE');
|
|
9505
9512
|
if (_this.isAllowToDeleteHistorical) {
|
|
9506
|
-
console.log('IS ALLOW TO DELETE');
|
|
9507
9513
|
_this.loading = true;
|
|
9508
9514
|
_this.deleteAnnuityItem(key);
|
|
9509
9515
|
}
|
|
9510
9516
|
else {
|
|
9511
|
-
|
|
9512
|
-
_this.isNotAllowMessage();
|
|
9517
|
+
_this.isOnlyDelete.emit(true);
|
|
9513
9518
|
}
|
|
9514
9519
|
},
|
|
9515
9520
|
},
|
|
@@ -9813,6 +9818,15 @@
|
|
|
9813
9818
|
__decorate([
|
|
9814
9819
|
core.Input()
|
|
9815
9820
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9821
|
+
__decorate([
|
|
9822
|
+
core.Output()
|
|
9823
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9824
|
+
__decorate([
|
|
9825
|
+
core.Output()
|
|
9826
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9827
|
+
__decorate([
|
|
9828
|
+
core.Output()
|
|
9829
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9816
9830
|
__decorate([
|
|
9817
9831
|
core.Input()
|
|
9818
9832
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|