@senior-gestao-pessoas/payroll-core 9.3.0-99a8011c-ce6f-42d8-bae5-a9d40dcf3e7b → 9.3.0-ac36b888-edb7-44ba-bf81-c8f7ad64dd56
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 -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/esm2015/components/historical-pix-account/historical-pix-account.component.js +31 -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 +31 -5
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +1 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +29 -6
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +29 -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,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9307
9311
|
_this.visible = true;
|
|
9308
9312
|
}
|
|
9309
9313
|
else {
|
|
9310
|
-
_this.
|
|
9314
|
+
_this.isOnlyView.emit(true);
|
|
9315
|
+
if (!_this.listDataReciever || _this.listDataReciever.length == 0) {
|
|
9316
|
+
rowData["index"] = key;
|
|
9317
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9318
|
+
_this.visible = true;
|
|
9319
|
+
}
|
|
9311
9320
|
}
|
|
9312
9321
|
},
|
|
9313
9322
|
},
|
|
@@ -9321,7 +9330,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9321
9330
|
_this.visible = true;
|
|
9322
9331
|
}
|
|
9323
9332
|
else {
|
|
9324
|
-
_this.
|
|
9333
|
+
_this.isOnlyEdit.emit(true);
|
|
9334
|
+
if (!_this.listDataReciever || _this.listDataReciever.length == 0) {
|
|
9335
|
+
rowData["index"] = key;
|
|
9336
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9337
|
+
_this.visible = true;
|
|
9338
|
+
}
|
|
9325
9339
|
}
|
|
9326
9340
|
},
|
|
9327
9341
|
},
|
|
@@ -9334,7 +9348,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9334
9348
|
_this.deleteAnnuityItem(key);
|
|
9335
9349
|
}
|
|
9336
9350
|
else {
|
|
9337
|
-
_this.
|
|
9351
|
+
_this.isOnlyDelete.emit(true);
|
|
9338
9352
|
}
|
|
9339
9353
|
},
|
|
9340
9354
|
},
|
|
@@ -9638,6 +9652,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9638
9652
|
__decorate([
|
|
9639
9653
|
Input()
|
|
9640
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);
|
|
9641
9667
|
__decorate([
|
|
9642
9668
|
Input()
|
|
9643
9669
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10370,11 +10396,8 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10370
10396
|
{
|
|
10371
10397
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10372
10398
|
command: function () {
|
|
10373
|
-
console.log('COMMAND CALLED');
|
|
10374
|
-
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10375
10399
|
if (_this.isAllowToViewHistorical) {
|
|
10376
10400
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10377
|
-
console.log('withSidebar', _this.withSidebar);
|
|
10378
10401
|
if (_this.withSidebar) {
|
|
10379
10402
|
_this.isOnlyView.emit(true);
|
|
10380
10403
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|