@senior-gestao-pessoas/payroll-core 9.3.0-91e42bbe-0783-45c0-91c2-ac243803cb3c → 9.3.0-99a8011c-ce6f-42d8-bae5-a9d40dcf3e7b

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.
@@ -10302,6 +10302,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10302
10302
  this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
10303
10303
  this.keyPayload = "historicalEmployeePix";
10304
10304
  this.withSidebar = true;
10305
+ this.isOnlyView = new EventEmitter();
10305
10306
  this.enableView = new EventEmitter();
10306
10307
  this.ngUnsubscribe = new Subject();
10307
10308
  this.loading = true;
@@ -10369,14 +10370,20 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10369
10370
  {
10370
10371
  label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
10371
10372
  command: function () {
10373
+ console.log('COMMAND CALLED');
10374
+ console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
10372
10375
  if (_this.isAllowToViewHistorical) {
10373
10376
  var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10374
- if (_this.withSidebar)
10377
+ console.log('withSidebar', _this.withSidebar);
10378
+ if (_this.withSidebar) {
10379
+ _this.isOnlyView.emit(true);
10375
10380
  _this.router.navigate(["historical-pix-account/" + dateChange], {
10376
10381
  relativeTo: _this.activatedRoute,
10377
10382
  });
10378
- else
10383
+ }
10384
+ else {
10379
10385
  _this.enableView.emit(dateChange);
10386
+ }
10380
10387
  }
10381
10388
  else {
10382
10389
  _this.isNotAllowMessage();
@@ -10531,6 +10538,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10531
10538
  __decorate([
10532
10539
  Input()
10533
10540
  ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10541
+ __decorate([
10542
+ Output()
10543
+ ], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
10534
10544
  __decorate([
10535
10545
  Output()
10536
10546
  ], HistoricalPixAccountListComponent.prototype, "enableView", void 0);