@senior-gestao-pessoas/payroll-core 9.3.0-0a28751a-09d5-4c6f-ad82-be2566554925 → 9.3.0-0c9b8608-8eb2-4a54-a822-926f0794fa8c
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 +29 -12
- 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/esm2015/components/historical-pix-account/historical-pix-account.component.js +31 -14
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +31 -14
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +29 -12
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +29 -12
- 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 = {
|
|
@@ -9301,16 +9305,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9301
9305
|
visible: _this.isEditMode,
|
|
9302
9306
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9303
9307
|
command: function () {
|
|
9304
|
-
console.log('CAALING VIEW');
|
|
9305
9308
|
if (_this.isAllowToViewHistorical) {
|
|
9306
|
-
console.log('IS ALLOW TO VIEW');
|
|
9307
9309
|
rowData["index"] = key;
|
|
9308
9310
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9309
9311
|
_this.visible = true;
|
|
9310
9312
|
}
|
|
9311
9313
|
else {
|
|
9312
|
-
|
|
9313
|
-
_this.
|
|
9314
|
+
_this.isOnlyView.emit(true);
|
|
9315
|
+
if (_this.listDataReciever.length == 0) {
|
|
9316
|
+
rowData["index"] = key;
|
|
9317
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9318
|
+
_this.visible = true;
|
|
9319
|
+
}
|
|
9314
9320
|
}
|
|
9315
9321
|
},
|
|
9316
9322
|
},
|
|
@@ -9318,16 +9324,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9318
9324
|
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9319
9325
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9320
9326
|
command: function () {
|
|
9321
|
-
console.log('CAALING EDIT');
|
|
9322
9327
|
if (_this.isAllowToEditHistorical) {
|
|
9323
|
-
console.log('IS ALLOW TO EDIT');
|
|
9324
9328
|
rowData["index"] = key;
|
|
9325
9329
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9326
9330
|
_this.visible = true;
|
|
9327
9331
|
}
|
|
9328
9332
|
else {
|
|
9329
|
-
|
|
9330
|
-
_this.
|
|
9333
|
+
_this.isOnlyEdit.emit(true);
|
|
9334
|
+
if (_this.listDataReciever.length == 0) {
|
|
9335
|
+
rowData["index"] = key;
|
|
9336
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9337
|
+
_this.visible = true;
|
|
9338
|
+
}
|
|
9331
9339
|
}
|
|
9332
9340
|
},
|
|
9333
9341
|
},
|
|
@@ -9335,15 +9343,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9335
9343
|
visible: !_this.isEditMode,
|
|
9336
9344
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9337
9345
|
command: function () {
|
|
9338
|
-
console.log('CAALING DELETE');
|
|
9339
9346
|
if (_this.isAllowToDeleteHistorical) {
|
|
9340
|
-
console.log('IS ALLOW TO DELETE');
|
|
9341
9347
|
_this.loading = true;
|
|
9342
9348
|
_this.deleteAnnuityItem(key);
|
|
9343
9349
|
}
|
|
9344
9350
|
else {
|
|
9345
|
-
|
|
9346
|
-
_this.isNotAllowMessage();
|
|
9351
|
+
_this.isOnlyDelete.emit(true);
|
|
9347
9352
|
}
|
|
9348
9353
|
},
|
|
9349
9354
|
},
|
|
@@ -9647,6 +9652,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9647
9652
|
__decorate([
|
|
9648
9653
|
Input()
|
|
9649
9654
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9655
|
+
__decorate([
|
|
9656
|
+
Input()
|
|
9657
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9658
|
+
__decorate([
|
|
9659
|
+
Output()
|
|
9660
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9661
|
+
__decorate([
|
|
9662
|
+
Output()
|
|
9663
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9664
|
+
__decorate([
|
|
9665
|
+
Output()
|
|
9666
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9650
9667
|
__decorate([
|
|
9651
9668
|
Input()
|
|
9652
9669
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|