@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
|
@@ -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,7 +9311,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9307
9311
|
_this.visible = true;
|
|
9308
9312
|
}
|
|
9309
9313
|
else {
|
|
9310
|
-
_this.
|
|
9314
|
+
_this.isOnlyView.emit(true);
|
|
9311
9315
|
}
|
|
9312
9316
|
},
|
|
9313
9317
|
},
|
|
@@ -9321,7 +9325,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9321
9325
|
_this.visible = true;
|
|
9322
9326
|
}
|
|
9323
9327
|
else {
|
|
9324
|
-
_this.
|
|
9328
|
+
_this.isOnlyEdit.emit(true);
|
|
9329
|
+
if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
|
|
9330
|
+
rowData["index"] = key;
|
|
9331
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9332
|
+
_this.visible = true;
|
|
9333
|
+
}
|
|
9325
9334
|
}
|
|
9326
9335
|
},
|
|
9327
9336
|
},
|
|
@@ -9334,7 +9343,11 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9334
9343
|
_this.deleteAnnuityItem(key);
|
|
9335
9344
|
}
|
|
9336
9345
|
else {
|
|
9337
|
-
_this.
|
|
9346
|
+
_this.isOnlyDelete.emit(true);
|
|
9347
|
+
if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
|
|
9348
|
+
_this.loading = true;
|
|
9349
|
+
_this.deleteAnnuityItem(key);
|
|
9350
|
+
}
|
|
9338
9351
|
}
|
|
9339
9352
|
},
|
|
9340
9353
|
},
|
|
@@ -9638,6 +9651,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9638
9651
|
__decorate([
|
|
9639
9652
|
Input()
|
|
9640
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);
|
|
9641
9666
|
__decorate([
|
|
9642
9667
|
Input()
|
|
9643
9668
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10249,7 +10274,6 @@ var HistoricalPixAccountModule = /** @class */ (function () {
|
|
|
10249
10274
|
CustomFieldsModule$1,
|
|
10250
10275
|
PanelModule,
|
|
10251
10276
|
InputMaskModule,
|
|
10252
|
-
ConfirmDialogModule
|
|
10253
10277
|
],
|
|
10254
10278
|
declarations: [HistoricalPixAccountComponent, HistoricalPixAccountFormComponent],
|
|
10255
10279
|
providers: [HistoricalPixAccountService, ConfirmationService],
|
|
@@ -10303,6 +10327,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10303
10327
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10304
10328
|
this.keyPayload = "historicalEmployeePix";
|
|
10305
10329
|
this.withSidebar = true;
|
|
10330
|
+
this.isOnlyView = new EventEmitter();
|
|
10306
10331
|
this.enableView = new EventEmitter();
|
|
10307
10332
|
this.ngUnsubscribe = new Subject();
|
|
10308
10333
|
this.loading = true;
|
|
@@ -10372,12 +10397,15 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10372
10397
|
command: function () {
|
|
10373
10398
|
if (_this.isAllowToViewHistorical) {
|
|
10374
10399
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10375
|
-
if (_this.withSidebar)
|
|
10400
|
+
if (_this.withSidebar) {
|
|
10401
|
+
_this.isOnlyView.emit(true);
|
|
10376
10402
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10377
10403
|
relativeTo: _this.activatedRoute,
|
|
10378
10404
|
});
|
|
10379
|
-
|
|
10405
|
+
}
|
|
10406
|
+
else {
|
|
10380
10407
|
_this.enableView.emit(dateChange);
|
|
10408
|
+
}
|
|
10381
10409
|
}
|
|
10382
10410
|
else {
|
|
10383
10411
|
_this.isNotAllowMessage();
|
|
@@ -10532,6 +10560,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10532
10560
|
__decorate([
|
|
10533
10561
|
Input()
|
|
10534
10562
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10563
|
+
__decorate([
|
|
10564
|
+
Output()
|
|
10565
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10535
10566
|
__decorate([
|
|
10536
10567
|
Output()
|
|
10537
10568
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|