@senior-gestao-pessoas/payroll-core 9.3.0-d2f4baaf-da8f-4f6f-a650-fbfdeaed4657 → 9.3.0-d3341f01-2532-4915-b7ea-ac938a442b19
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 +5 -1
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +30 -5
- package/esm2015/components/historical-pix-account/historical-pix-account.module.js +1 -3
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -3
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +30 -5
- package/esm5/components/historical-pix-account/historical-pix-account.module.js +1 -3
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -3
- 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,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 = {
|
|
@@ -9473,7 +9477,7 @@
|
|
|
9473
9477
|
_this.visible = true;
|
|
9474
9478
|
}
|
|
9475
9479
|
else {
|
|
9476
|
-
_this.
|
|
9480
|
+
_this.isOnlyView.emit(true);
|
|
9477
9481
|
}
|
|
9478
9482
|
},
|
|
9479
9483
|
},
|
|
@@ -9487,7 +9491,12 @@
|
|
|
9487
9491
|
_this.visible = true;
|
|
9488
9492
|
}
|
|
9489
9493
|
else {
|
|
9490
|
-
_this.
|
|
9494
|
+
_this.isOnlyEdit.emit(true);
|
|
9495
|
+
if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
|
|
9496
|
+
rowData["index"] = key;
|
|
9497
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9498
|
+
_this.visible = true;
|
|
9499
|
+
}
|
|
9491
9500
|
}
|
|
9492
9501
|
},
|
|
9493
9502
|
},
|
|
@@ -9500,7 +9509,11 @@
|
|
|
9500
9509
|
_this.deleteAnnuityItem(key);
|
|
9501
9510
|
}
|
|
9502
9511
|
else {
|
|
9503
|
-
_this.
|
|
9512
|
+
_this.isOnlyDelete.emit(true);
|
|
9513
|
+
if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
|
|
9514
|
+
_this.loading = true;
|
|
9515
|
+
_this.deleteAnnuityItem(key);
|
|
9516
|
+
}
|
|
9504
9517
|
}
|
|
9505
9518
|
},
|
|
9506
9519
|
},
|
|
@@ -9804,6 +9817,18 @@
|
|
|
9804
9817
|
__decorate([
|
|
9805
9818
|
core.Input()
|
|
9806
9819
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9820
|
+
__decorate([
|
|
9821
|
+
core.Input()
|
|
9822
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9823
|
+
__decorate([
|
|
9824
|
+
core.Output()
|
|
9825
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9826
|
+
__decorate([
|
|
9827
|
+
core.Output()
|
|
9828
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9829
|
+
__decorate([
|
|
9830
|
+
core.Output()
|
|
9831
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9807
9832
|
__decorate([
|
|
9808
9833
|
core.Input()
|
|
9809
9834
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10415,7 +10440,6 @@
|
|
|
10415
10440
|
angularComponents.CustomFieldsModule,
|
|
10416
10441
|
panel.PanelModule,
|
|
10417
10442
|
inputmask.InputMaskModule,
|
|
10418
|
-
confirmdialog.ConfirmDialogModule
|
|
10419
10443
|
],
|
|
10420
10444
|
declarations: [HistoricalPixAccountComponent, HistoricalPixAccountFormComponent],
|
|
10421
10445
|
providers: [HistoricalPixAccountService, api.ConfirmationService],
|
|
@@ -10469,6 +10493,7 @@
|
|
|
10469
10493
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10470
10494
|
this.keyPayload = "historicalEmployeePix";
|
|
10471
10495
|
this.withSidebar = true;
|
|
10496
|
+
this.isOnlyView = new core.EventEmitter();
|
|
10472
10497
|
this.enableView = new core.EventEmitter();
|
|
10473
10498
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
10474
10499
|
this.loading = true;
|
|
@@ -10538,12 +10563,15 @@
|
|
|
10538
10563
|
command: function () {
|
|
10539
10564
|
if (_this.isAllowToViewHistorical) {
|
|
10540
10565
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10541
|
-
if (_this.withSidebar)
|
|
10566
|
+
if (_this.withSidebar) {
|
|
10567
|
+
_this.isOnlyView.emit(true);
|
|
10542
10568
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10543
10569
|
relativeTo: _this.activatedRoute,
|
|
10544
10570
|
});
|
|
10545
|
-
|
|
10571
|
+
}
|
|
10572
|
+
else {
|
|
10546
10573
|
_this.enableView.emit(dateChange);
|
|
10574
|
+
}
|
|
10547
10575
|
}
|
|
10548
10576
|
else {
|
|
10549
10577
|
_this.isNotAllowMessage();
|
|
@@ -10698,6 +10726,9 @@
|
|
|
10698
10726
|
__decorate([
|
|
10699
10727
|
core.Input()
|
|
10700
10728
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10729
|
+
__decorate([
|
|
10730
|
+
core.Output()
|
|
10731
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10701
10732
|
__decorate([
|
|
10702
10733
|
core.Output()
|
|
10703
10734
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|