@senior-gestao-pessoas/payroll-core 9.3.0-06538e11-08fa-4c6f-9e67-58f132131fe8 → 9.3.0-0a28751a-09d5-4c6f-ad82-be2566554925
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 +10 -1
- 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/esm2015/components/historical-pix-account/historical-pix-account.component.js +10 -1
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +2 -2
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +10 -1
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +2 -2
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +10 -1
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +10 -1
- 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
|
@@ -9301,12 +9301,15 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9301
9301
|
visible: _this.isEditMode,
|
|
9302
9302
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9303
9303
|
command: function () {
|
|
9304
|
+
console.log('CAALING VIEW');
|
|
9304
9305
|
if (_this.isAllowToViewHistorical) {
|
|
9306
|
+
console.log('IS ALLOW TO VIEW');
|
|
9305
9307
|
rowData["index"] = key;
|
|
9306
9308
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9307
9309
|
_this.visible = true;
|
|
9308
9310
|
}
|
|
9309
9311
|
else {
|
|
9312
|
+
console.log('IS NOT ALLOW TO VIEW');
|
|
9310
9313
|
_this.isNotAllowMessage();
|
|
9311
9314
|
}
|
|
9312
9315
|
},
|
|
@@ -9315,12 +9318,15 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9315
9318
|
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9316
9319
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9317
9320
|
command: function () {
|
|
9321
|
+
console.log('CAALING EDIT');
|
|
9318
9322
|
if (_this.isAllowToEditHistorical) {
|
|
9323
|
+
console.log('IS ALLOW TO EDIT');
|
|
9319
9324
|
rowData["index"] = key;
|
|
9320
9325
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9321
9326
|
_this.visible = true;
|
|
9322
9327
|
}
|
|
9323
9328
|
else {
|
|
9329
|
+
console.log('IS NOT ALLOW TO EDIT');
|
|
9324
9330
|
_this.isNotAllowMessage();
|
|
9325
9331
|
}
|
|
9326
9332
|
},
|
|
@@ -9329,11 +9335,14 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9329
9335
|
visible: !_this.isEditMode,
|
|
9330
9336
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9331
9337
|
command: function () {
|
|
9338
|
+
console.log('CAALING DELETE');
|
|
9332
9339
|
if (_this.isAllowToDeleteHistorical) {
|
|
9340
|
+
console.log('IS ALLOW TO DELETE');
|
|
9333
9341
|
_this.loading = true;
|
|
9334
9342
|
_this.deleteAnnuityItem(key);
|
|
9335
9343
|
}
|
|
9336
9344
|
else {
|
|
9345
|
+
console.log('IS NOT ALLOW TO DELETE');
|
|
9337
9346
|
_this.isNotAllowMessage();
|
|
9338
9347
|
}
|
|
9339
9348
|
},
|
|
@@ -10373,12 +10382,12 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10373
10382
|
if (_this.isAllowToViewHistorical) {
|
|
10374
10383
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10375
10384
|
if (_this.withSidebar) {
|
|
10385
|
+
_this.isOnlyView.emit(true);
|
|
10376
10386
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10377
10387
|
relativeTo: _this.activatedRoute,
|
|
10378
10388
|
});
|
|
10379
10389
|
}
|
|
10380
10390
|
else {
|
|
10381
|
-
_this.isOnlyView.emit(true);
|
|
10382
10391
|
_this.enableView.emit(dateChange);
|
|
10383
10392
|
}
|
|
10384
10393
|
}
|