@senior-gestao-pessoas/payroll-core 9.3.0-0a28751a-09d5-4c6f-ad82-be2566554925 → 9.3.0-0c9b8608-8eb2-4a54-a822-926f0794fa8c
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 +29 -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 +31 -14
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +31 -14
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +29 -12
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +29 -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
|
@@ -8533,6 +8533,10 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8533
8533
|
this.isViewMode = false;
|
|
8534
8534
|
this.withSideBar = true;
|
|
8535
8535
|
this.defaultCpfNumber = null;
|
|
8536
|
+
this.listDataReciever = [];
|
|
8537
|
+
this.isOnlyView = new EventEmitter();
|
|
8538
|
+
this.isOnlyEdit = new EventEmitter();
|
|
8539
|
+
this.isOnlyDelete = new EventEmitter();
|
|
8536
8540
|
this.visibleChange = new EventEmitter();
|
|
8537
8541
|
this.ngUnsubscribe = new Subject();
|
|
8538
8542
|
this.orderBy = {
|
|
@@ -8565,16 +8569,18 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8565
8569
|
visible: this.isEditMode,
|
|
8566
8570
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
8567
8571
|
command: () => {
|
|
8568
|
-
console.log('CAALING VIEW');
|
|
8569
8572
|
if (this.isAllowToViewHistorical) {
|
|
8570
|
-
console.log('IS ALLOW TO VIEW');
|
|
8571
8573
|
rowData["index"] = key;
|
|
8572
8574
|
this.pixAccountItemInput = { currentItem: rowData, listData: this.listDataNoPage, isEditMode: false };
|
|
8573
8575
|
this.visible = true;
|
|
8574
8576
|
}
|
|
8575
8577
|
else {
|
|
8576
|
-
|
|
8577
|
-
this.
|
|
8578
|
+
this.isOnlyView.emit(true);
|
|
8579
|
+
if (this.listDataReciever.length == 0) {
|
|
8580
|
+
rowData["index"] = key;
|
|
8581
|
+
this.pixAccountItemInput = { currentItem: rowData, listData: this.listDataNoPage, isEditMode: false };
|
|
8582
|
+
this.visible = true;
|
|
8583
|
+
}
|
|
8578
8584
|
}
|
|
8579
8585
|
},
|
|
8580
8586
|
},
|
|
@@ -8582,16 +8588,18 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8582
8588
|
visible: !!(!this.isEditMode && this.withSideBar),
|
|
8583
8589
|
label: this.translateService.instant("hcm.payroll.edit"),
|
|
8584
8590
|
command: () => {
|
|
8585
|
-
console.log('CAALING EDIT');
|
|
8586
8591
|
if (this.isAllowToEditHistorical) {
|
|
8587
|
-
console.log('IS ALLOW TO EDIT');
|
|
8588
8592
|
rowData["index"] = key;
|
|
8589
8593
|
this.pixAccountItemInput = { currentItem: rowData, listData: this.listDataNoPage, isEditMode: true };
|
|
8590
8594
|
this.visible = true;
|
|
8591
8595
|
}
|
|
8592
8596
|
else {
|
|
8593
|
-
|
|
8594
|
-
this.
|
|
8597
|
+
this.isOnlyEdit.emit(true);
|
|
8598
|
+
if (this.listDataReciever.length == 0) {
|
|
8599
|
+
rowData["index"] = key;
|
|
8600
|
+
this.pixAccountItemInput = { currentItem: rowData, listData: this.listDataNoPage, isEditMode: false };
|
|
8601
|
+
this.visible = true;
|
|
8602
|
+
}
|
|
8595
8603
|
}
|
|
8596
8604
|
},
|
|
8597
8605
|
},
|
|
@@ -8599,15 +8607,12 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8599
8607
|
visible: !this.isEditMode,
|
|
8600
8608
|
label: this.translateService.instant("hcm.payroll.delete"),
|
|
8601
8609
|
command: () => {
|
|
8602
|
-
console.log('CAALING DELETE');
|
|
8603
8610
|
if (this.isAllowToDeleteHistorical) {
|
|
8604
|
-
console.log('IS ALLOW TO DELETE');
|
|
8605
8611
|
this.loading = true;
|
|
8606
8612
|
this.deleteAnnuityItem(key);
|
|
8607
8613
|
}
|
|
8608
8614
|
else {
|
|
8609
|
-
|
|
8610
|
-
this.isNotAllowMessage();
|
|
8615
|
+
this.isOnlyDelete.emit(true);
|
|
8611
8616
|
}
|
|
8612
8617
|
},
|
|
8613
8618
|
},
|
|
@@ -8865,6 +8870,18 @@ __decorate([
|
|
|
8865
8870
|
__decorate([
|
|
8866
8871
|
Input()
|
|
8867
8872
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
8873
|
+
__decorate([
|
|
8874
|
+
Input()
|
|
8875
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
8876
|
+
__decorate([
|
|
8877
|
+
Output()
|
|
8878
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
8879
|
+
__decorate([
|
|
8880
|
+
Output()
|
|
8881
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
8882
|
+
__decorate([
|
|
8883
|
+
Output()
|
|
8884
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
8868
8885
|
__decorate([
|
|
8869
8886
|
Input()
|
|
8870
8887
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|