@senior-gestao-pessoas/payroll-core 9.3.0-d2f4baaf-da8f-4f6f-a650-fbfdeaed4657 → 9.3.0-d71ffa7e-4847-40d5-bab1-68cfbfa80b16
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 +47 -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 +8 -2
- 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 +40 -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 +40 -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 +47 -6
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +47 -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,11 @@ 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();
|
|
9275
|
+
this.listFromApp = [];
|
|
9271
9276
|
this.visibleChange = new EventEmitter();
|
|
9272
9277
|
this.ngUnsubscribe = new Subject();
|
|
9273
9278
|
this.orderBy = {
|
|
@@ -9307,7 +9312,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9307
9312
|
_this.visible = true;
|
|
9308
9313
|
}
|
|
9309
9314
|
else {
|
|
9310
|
-
_this.
|
|
9315
|
+
_this.isOnlyView.emit(true);
|
|
9311
9316
|
}
|
|
9312
9317
|
},
|
|
9313
9318
|
},
|
|
@@ -9321,7 +9326,14 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9321
9326
|
_this.visible = true;
|
|
9322
9327
|
}
|
|
9323
9328
|
else {
|
|
9324
|
-
_this.
|
|
9329
|
+
_this.isOnlyEdit.emit(true);
|
|
9330
|
+
console.log('listFromApp', _this.listFromApp);
|
|
9331
|
+
if (_this.listFromApp.length == 0) {
|
|
9332
|
+
console.log('ENTER IN EDIT');
|
|
9333
|
+
rowData["index"] = key;
|
|
9334
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9335
|
+
_this.visible = true;
|
|
9336
|
+
}
|
|
9325
9337
|
}
|
|
9326
9338
|
},
|
|
9327
9339
|
},
|
|
@@ -9334,7 +9346,11 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9334
9346
|
_this.deleteAnnuityItem(key);
|
|
9335
9347
|
}
|
|
9336
9348
|
else {
|
|
9337
|
-
_this.
|
|
9349
|
+
_this.isOnlyDelete.emit(true);
|
|
9350
|
+
if (_this.listFromApp.length == 0) {
|
|
9351
|
+
_this.loading = true;
|
|
9352
|
+
_this.deleteAnnuityItem(key);
|
|
9353
|
+
}
|
|
9338
9354
|
}
|
|
9339
9355
|
},
|
|
9340
9356
|
},
|
|
@@ -9345,6 +9361,13 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9345
9361
|
HistoricalPixAccountComponent.prototype.ngOnInit = function () {
|
|
9346
9362
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
9347
9363
|
};
|
|
9364
|
+
HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
|
|
9365
|
+
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
9366
|
+
console.log('changes', changes['listDataReciever'].currentValue);
|
|
9367
|
+
this.listFromApp = changes['listDataReciever'].currentValue;
|
|
9368
|
+
console.log('listFromApp', this.listFromApp);
|
|
9369
|
+
}
|
|
9370
|
+
};
|
|
9348
9371
|
HistoricalPixAccountComponent.prototype.createFormGroup = function () {
|
|
9349
9372
|
this.historicalPixAccountList = this.formBuilder.group({
|
|
9350
9373
|
historicalPixAccountList: this.formBuilder.control(null),
|
|
@@ -9638,6 +9661,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9638
9661
|
__decorate([
|
|
9639
9662
|
Input()
|
|
9640
9663
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9664
|
+
__decorate([
|
|
9665
|
+
Input()
|
|
9666
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9667
|
+
__decorate([
|
|
9668
|
+
Output()
|
|
9669
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9670
|
+
__decorate([
|
|
9671
|
+
Output()
|
|
9672
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9673
|
+
__decorate([
|
|
9674
|
+
Output()
|
|
9675
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9641
9676
|
__decorate([
|
|
9642
9677
|
Input()
|
|
9643
9678
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10249,7 +10284,6 @@ var HistoricalPixAccountModule = /** @class */ (function () {
|
|
|
10249
10284
|
CustomFieldsModule$1,
|
|
10250
10285
|
PanelModule,
|
|
10251
10286
|
InputMaskModule,
|
|
10252
|
-
ConfirmDialogModule
|
|
10253
10287
|
],
|
|
10254
10288
|
declarations: [HistoricalPixAccountComponent, HistoricalPixAccountFormComponent],
|
|
10255
10289
|
providers: [HistoricalPixAccountService, ConfirmationService],
|
|
@@ -10303,6 +10337,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10303
10337
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10304
10338
|
this.keyPayload = "historicalEmployeePix";
|
|
10305
10339
|
this.withSidebar = true;
|
|
10340
|
+
this.isOnlyView = new EventEmitter();
|
|
10306
10341
|
this.enableView = new EventEmitter();
|
|
10307
10342
|
this.ngUnsubscribe = new Subject();
|
|
10308
10343
|
this.loading = true;
|
|
@@ -10372,12 +10407,15 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10372
10407
|
command: function () {
|
|
10373
10408
|
if (_this.isAllowToViewHistorical) {
|
|
10374
10409
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10375
|
-
if (_this.withSidebar)
|
|
10410
|
+
if (_this.withSidebar) {
|
|
10411
|
+
_this.isOnlyView.emit(true);
|
|
10376
10412
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10377
10413
|
relativeTo: _this.activatedRoute,
|
|
10378
10414
|
});
|
|
10379
|
-
|
|
10415
|
+
}
|
|
10416
|
+
else {
|
|
10380
10417
|
_this.enableView.emit(dateChange);
|
|
10418
|
+
}
|
|
10381
10419
|
}
|
|
10382
10420
|
else {
|
|
10383
10421
|
_this.isNotAllowMessage();
|
|
@@ -10532,6 +10570,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10532
10570
|
__decorate([
|
|
10533
10571
|
Input()
|
|
10534
10572
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10573
|
+
__decorate([
|
|
10574
|
+
Output()
|
|
10575
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10535
10576
|
__decorate([
|
|
10536
10577
|
Output()
|
|
10537
10578
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|