@senior-gestao-pessoas/payroll-core 9.6.0 → 9.6.1-feature-hcmgdp-12319-85c558d3

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.
@@ -1123,6 +1123,9 @@ var EmployeeSummaryService = /** @class */ (function () {
1123
1123
  EmployeeSummaryService.prototype.findEmployeeAutoComplete = function (path, terms) {
1124
1124
  return this.http.post("hcm/payroll/queries/" + path, { valueSearch: terms });
1125
1125
  };
1126
+ EmployeeSummaryService.prototype.getEmployeeDocuments = function (path, employeeId) {
1127
+ return this.http.post("hcm/payroll/queries/" + path, { employeeId: employeeId });
1128
+ };
1126
1129
  EmployeeSummaryService.prototype.blobServiceRequestAccess = function (path, body) {
1127
1130
  return this.http.post("hcm/payroll/actions/" + path, body);
1128
1131
  };
@@ -2851,6 +2854,12 @@ var InputRestAutoCompleteComponent = /** @class */ (function () {
2851
2854
  })
2852
2855
  .subscribe(function (payload) { return _this.formaterResponce(payload.result); });
2853
2856
  }
2857
+ else if (this.isSituationDefinition) {
2858
+ var params = { searchText: query };
2859
+ return this.service
2860
+ .query('autocompleteSituationDefinitionQuery', params, ServiceType.PAYROLL)
2861
+ .subscribe(function (payload) { return _this.formaterResponce(payload.result); });
2862
+ }
2854
2863
  else if (this.isWagetype) {
2855
2864
  var params = { searchText: query, companyId: this.companyId };
2856
2865
  return this.service
@@ -3082,6 +3091,9 @@ var InputRestAutoCompleteComponent = /** @class */ (function () {
3082
3091
  __decorate([
3083
3092
  Input()
3084
3093
  ], InputRestAutoCompleteComponent.prototype, "isWagetype", void 0);
3094
+ __decorate([
3095
+ Input()
3096
+ ], InputRestAutoCompleteComponent.prototype, "isSituationDefinition", void 0);
3085
3097
  __decorate([
3086
3098
  Input()
3087
3099
  ], InputRestAutoCompleteComponent.prototype, "multiple", void 0);