@senior-gestao-pessoas/payroll-core 9.3.0-8ebe41a8-581c-4d97-97b8-ab18d24ec02c → 9.3.0-96656ff7-d237-4819-9ab8-984d01f3ff5b
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 -8
- 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 -8
- 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 -8
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -3
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +37 -8
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +37 -8
- 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
|
@@ -9268,6 +9268,10 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9268
9268
|
this.isViewMode = false;
|
|
9269
9269
|
this.withSideBar = true;
|
|
9270
9270
|
this.defaultCpfNumber = null;
|
|
9271
|
+
this.listDataReciever = [];
|
|
9272
|
+
this.isOnlyView = new EventEmitter();
|
|
9273
|
+
this.isOnlyEdit = new EventEmitter();
|
|
9274
|
+
this.isOnlyDelete = new EventEmitter();
|
|
9271
9275
|
this.visibleChange = new EventEmitter();
|
|
9272
9276
|
this.ngUnsubscribe = new Subject();
|
|
9273
9277
|
this.orderBy = {
|
|
@@ -9307,8 +9311,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9307
9311
|
_this.visible = true;
|
|
9308
9312
|
}
|
|
9309
9313
|
else {
|
|
9310
|
-
_this.
|
|
9311
|
-
_this.isNotAllowMessage();
|
|
9314
|
+
_this.isOnlyView.emit(true);
|
|
9312
9315
|
}
|
|
9313
9316
|
},
|
|
9314
9317
|
},
|
|
@@ -9322,8 +9325,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9322
9325
|
_this.visible = true;
|
|
9323
9326
|
}
|
|
9324
9327
|
else {
|
|
9325
|
-
_this.
|
|
9326
|
-
_this.
|
|
9328
|
+
_this.isOnlyEdit.emit(true);
|
|
9329
|
+
if (!_this.listDataReciever) {
|
|
9330
|
+
rowData["index"] = key;
|
|
9331
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9332
|
+
_this.visible = true;
|
|
9333
|
+
}
|
|
9327
9334
|
}
|
|
9328
9335
|
},
|
|
9329
9336
|
},
|
|
@@ -9336,8 +9343,11 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9336
9343
|
_this.deleteAnnuityItem(key);
|
|
9337
9344
|
}
|
|
9338
9345
|
else {
|
|
9339
|
-
_this.
|
|
9340
|
-
_this.
|
|
9346
|
+
_this.isOnlyDelete.emit(true);
|
|
9347
|
+
if (!_this.listDataReciever) {
|
|
9348
|
+
_this.loading = true;
|
|
9349
|
+
_this.deleteAnnuityItem(key);
|
|
9350
|
+
}
|
|
9341
9351
|
}
|
|
9342
9352
|
},
|
|
9343
9353
|
},
|
|
@@ -9641,6 +9651,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9641
9651
|
__decorate([
|
|
9642
9652
|
Input()
|
|
9643
9653
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9654
|
+
__decorate([
|
|
9655
|
+
Input()
|
|
9656
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9657
|
+
__decorate([
|
|
9658
|
+
Output()
|
|
9659
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9660
|
+
__decorate([
|
|
9661
|
+
Output()
|
|
9662
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9663
|
+
__decorate([
|
|
9664
|
+
Output()
|
|
9665
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9644
9666
|
__decorate([
|
|
9645
9667
|
Input()
|
|
9646
9668
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10305,6 +10327,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10305
10327
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10306
10328
|
this.keyPayload = "historicalEmployeePix";
|
|
10307
10329
|
this.withSidebar = true;
|
|
10330
|
+
this.isOnlyView = new EventEmitter();
|
|
10308
10331
|
this.enableView = new EventEmitter();
|
|
10309
10332
|
this.ngUnsubscribe = new Subject();
|
|
10310
10333
|
this.loading = true;
|
|
@@ -10374,12 +10397,15 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10374
10397
|
command: function () {
|
|
10375
10398
|
if (_this.isAllowToViewHistorical) {
|
|
10376
10399
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10377
|
-
if (_this.withSidebar)
|
|
10400
|
+
if (_this.withSidebar) {
|
|
10401
|
+
_this.isOnlyView.emit(true);
|
|
10378
10402
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10379
10403
|
relativeTo: _this.activatedRoute,
|
|
10380
10404
|
});
|
|
10381
|
-
|
|
10405
|
+
}
|
|
10406
|
+
else {
|
|
10382
10407
|
_this.enableView.emit(dateChange);
|
|
10408
|
+
}
|
|
10383
10409
|
}
|
|
10384
10410
|
else {
|
|
10385
10411
|
_this.isNotAllowMessage();
|
|
@@ -10534,6 +10560,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10534
10560
|
__decorate([
|
|
10535
10561
|
Input()
|
|
10536
10562
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10563
|
+
__decorate([
|
|
10564
|
+
Output()
|
|
10565
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10537
10566
|
__decorate([
|
|
10538
10567
|
Output()
|
|
10539
10568
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|