@senior-gestao-pessoas/payroll-core 9.3.0-99a8011c-ce6f-42d8-bae5-a9d40dcf3e7b → 9.3.0-a077689b-20b5-4a6b-9e4f-5cf29bb85406
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 +8 -2
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +39 -5
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +1 -4
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +39 -5
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +1 -4
- 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,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,13 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9321
9326
|
_this.visible = true;
|
|
9322
9327
|
}
|
|
9323
9328
|
else {
|
|
9324
|
-
_this.
|
|
9329
|
+
_this.isOnlyEdit.emit(true);
|
|
9330
|
+
if (!_this.listFromApp) {
|
|
9331
|
+
console.log('ENTER IN EDIT');
|
|
9332
|
+
rowData["index"] = key;
|
|
9333
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9334
|
+
_this.visible = true;
|
|
9335
|
+
}
|
|
9325
9336
|
}
|
|
9326
9337
|
},
|
|
9327
9338
|
},
|
|
@@ -9334,7 +9345,11 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9334
9345
|
_this.deleteAnnuityItem(key);
|
|
9335
9346
|
}
|
|
9336
9347
|
else {
|
|
9337
|
-
_this.
|
|
9348
|
+
_this.isOnlyDelete.emit(true);
|
|
9349
|
+
if (!_this.listFromApp) {
|
|
9350
|
+
_this.loading = true;
|
|
9351
|
+
_this.deleteAnnuityItem(key);
|
|
9352
|
+
}
|
|
9338
9353
|
}
|
|
9339
9354
|
},
|
|
9340
9355
|
},
|
|
@@ -9345,6 +9360,13 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9345
9360
|
HistoricalPixAccountComponent.prototype.ngOnInit = function () {
|
|
9346
9361
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
9347
9362
|
};
|
|
9363
|
+
HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
|
|
9364
|
+
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
9365
|
+
console.log('changes', changes['listDataReciever'].currentValue);
|
|
9366
|
+
this.listFromApp = changes['listDataReciever'].currentValue;
|
|
9367
|
+
console.log('listFromApp', this.listFromApp);
|
|
9368
|
+
}
|
|
9369
|
+
};
|
|
9348
9370
|
HistoricalPixAccountComponent.prototype.createFormGroup = function () {
|
|
9349
9371
|
this.historicalPixAccountList = this.formBuilder.group({
|
|
9350
9372
|
historicalPixAccountList: this.formBuilder.control(null),
|
|
@@ -9638,6 +9660,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9638
9660
|
__decorate([
|
|
9639
9661
|
Input()
|
|
9640
9662
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9663
|
+
__decorate([
|
|
9664
|
+
Input()
|
|
9665
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9666
|
+
__decorate([
|
|
9667
|
+
Output()
|
|
9668
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9669
|
+
__decorate([
|
|
9670
|
+
Output()
|
|
9671
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9672
|
+
__decorate([
|
|
9673
|
+
Output()
|
|
9674
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9641
9675
|
__decorate([
|
|
9642
9676
|
Input()
|
|
9643
9677
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10370,11 +10404,8 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10370
10404
|
{
|
|
10371
10405
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10372
10406
|
command: function () {
|
|
10373
|
-
console.log('COMMAND CALLED');
|
|
10374
|
-
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10375
10407
|
if (_this.isAllowToViewHistorical) {
|
|
10376
10408
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10377
|
-
console.log('withSidebar', _this.withSidebar);
|
|
10378
10409
|
if (_this.withSidebar) {
|
|
10379
10410
|
_this.isOnlyView.emit(true);
|
|
10380
10411
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|