@senior-gestao-pessoas/hcm-advanced-filter-general 4.2.3 → 5.0.0

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.
@@ -1899,7 +1899,7 @@
1899
1899
  return {
1900
1900
  label: this.translate.instant("hcm_contract.employment_contract.advanced_filter_field_company"),
1901
1901
  entityName: FilterFieldType.COMPANY,
1902
- dynamicFormField: __assign(__assign({}, this.convertLabelToCode(this.companyService.getFormField(false), "codEmp")), { onSelect: function () { return _this.updateCompanyFilter(); }, onUnselect: function () { return _this.updateCompanyFilter(); } }),
1902
+ dynamicFormField: __assign(__assign({}, this.convertLabelToCode(this.companyService.getFormField(false), "codEmp")), { onSelect: function () { return _this.updateCompanyFilter(); }, onUnselect: function () { return _this.updateCompanyFilter(); }, onLookupRequest: function (value) { return _this.companyService.onContractCompanyLookupRequest(value, null); }, onSearchRequest: function (event) { return _this.companyService.onContractCompanySearchRequest(event, null); } }),
1903
1903
  filterFormFields: this.companyService.getCompanySearchFields(),
1904
1904
  };
1905
1905
  case FilterFieldType.COMPANY_BRANCH:
@@ -2115,11 +2115,11 @@
2115
2115
  };
2116
2116
  AdvancedFilterComponent.prototype.onCompanyBranchSearchRequest = function (event) {
2117
2117
  var _a;
2118
- this.companyBranchService.onCompanyBranchSearchRequest(event, (_a = this.filtersByCompany) === null || _a === void 0 ? void 0 : _a.companyBranchFilter, null);
2118
+ this.companyBranchService.onContractCompanyBranchSearchRequest(event, (_a = this.filtersByCompany) === null || _a === void 0 ? void 0 : _a.companyBranchFilter, null);
2119
2119
  };
2120
2120
  AdvancedFilterComponent.prototype.onCompanyBranchLookupRequest = function (value) {
2121
2121
  var _a;
2122
- this.companyBranchService.onCompanyBranchLookupRequest(value, (_a = this.filtersByCompany) === null || _a === void 0 ? void 0 : _a.companyBranchFilter, null);
2122
+ this.companyBranchService.onContractCompanyBranchLookupRequest(value, (_a = this.filtersByCompany) === null || _a === void 0 ? void 0 : _a.companyBranchFilter, null);
2123
2123
  };
2124
2124
  /**
2125
2125
  * Workshift