@senior-gestao-pessoas/payroll-core 9.0.0-5e88461d-2ff2-4ed9-a55b-9d1692fa1e06 → 9.0.0-61049a4f-3ca7-4e51-b067-b8e33a4dd965
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 +18 -10
- 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/employee-summary/employee-summary.service.d.ts +0 -2
- package/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.d.ts +5 -2
- package/esm2015/components/employee-summary/employee-summary.service.js +1 -4
- package/esm2015/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +21 -8
- package/esm5/components/employee-summary/employee-summary.service.js +1 -4
- package/esm5/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +22 -8
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +17 -10
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +18 -10
- 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
- package/core/interfaces/auto-complete-employee.d.ts +0 -10
- package/esm2015/core/interfaces/auto-complete-employee.js +0 -1
- package/esm5/core/interfaces/auto-complete-employee.js +0 -1
|
@@ -1298,9 +1298,6 @@
|
|
|
1298
1298
|
EmployeeSummaryService.prototype.getEmployeeBasicInformations = function () {
|
|
1299
1299
|
return this.employeeBasicInformations.asObservable();
|
|
1300
1300
|
};
|
|
1301
|
-
EmployeeSummaryService.prototype.findEmployeeCompleteParameterizable = function (path, autocompleteEmployee) {
|
|
1302
|
-
return this.http.post("hcm/payroll/queries/" + path, autocompleteEmployee);
|
|
1303
|
-
};
|
|
1304
1301
|
EmployeeSummaryService.ctorParameters = function () { return [
|
|
1305
1302
|
{ type: http.HttpClient }
|
|
1306
1303
|
]; };
|
|
@@ -3533,8 +3530,9 @@
|
|
|
3533
3530
|
}());
|
|
3534
3531
|
|
|
3535
3532
|
var InputRestAutoCompleteEmployeeModelComponent = /** @class */ (function () {
|
|
3536
|
-
function InputRestAutoCompleteEmployeeModelComponent(service) {
|
|
3533
|
+
function InputRestAutoCompleteEmployeeModelComponent(service, activatedRoute) {
|
|
3537
3534
|
this.service = service;
|
|
3535
|
+
this.activatedRoute = activatedRoute;
|
|
3538
3536
|
this.forceSelection = true;
|
|
3539
3537
|
this.keyName = 'name';
|
|
3540
3538
|
this.onBlur = new core.EventEmitter();
|
|
@@ -3542,8 +3540,14 @@
|
|
|
3542
3540
|
this.onClear = new core.EventEmitter();
|
|
3543
3541
|
this.modelChange = new core.EventEmitter();
|
|
3544
3542
|
this.suggestions = [];
|
|
3543
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
3545
3544
|
}
|
|
3546
|
-
InputRestAutoCompleteEmployeeModelComponent.prototype.ngOnInit = function () {
|
|
3545
|
+
InputRestAutoCompleteEmployeeModelComponent.prototype.ngOnInit = function () {
|
|
3546
|
+
var _this = this;
|
|
3547
|
+
this.activatedRoute.data.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (data) {
|
|
3548
|
+
_this.useWorkflow = !!(data && data.useWorkflow);
|
|
3549
|
+
});
|
|
3550
|
+
};
|
|
3547
3551
|
InputRestAutoCompleteEmployeeModelComponent.prototype.filterQuery = function (event) {
|
|
3548
3552
|
var _this = this;
|
|
3549
3553
|
var query = event.query;
|
|
@@ -3593,7 +3597,6 @@
|
|
|
3593
3597
|
InputRestAutoCompleteEmployeeModelComponent.prototype.getParamsRest = function (search) {
|
|
3594
3598
|
var returnFilter = {
|
|
3595
3599
|
valueSearch: search,
|
|
3596
|
-
timeTrackingResumeType: { key: "FIRED" },
|
|
3597
3600
|
};
|
|
3598
3601
|
if (this.company) {
|
|
3599
3602
|
returnFilter['company'] = this.company;
|
|
@@ -3604,6 +3607,13 @@
|
|
|
3604
3607
|
if (this.employeeType) {
|
|
3605
3608
|
returnFilter['employeeType'] = this.employeeType;
|
|
3606
3609
|
}
|
|
3610
|
+
/**
|
|
3611
|
+
* If para uso do BPO
|
|
3612
|
+
* Serve para tirar os colaboradores demitidos do dropbox do autocomplete
|
|
3613
|
+
*/
|
|
3614
|
+
if (this.useWorkflow) {
|
|
3615
|
+
returnFilter['timeTrackingResumeType'] = { key: "FIRED" };
|
|
3616
|
+
}
|
|
3607
3617
|
return returnFilter;
|
|
3608
3618
|
};
|
|
3609
3619
|
/**
|
|
@@ -3632,7 +3642,8 @@
|
|
|
3632
3642
|
configurable: true
|
|
3633
3643
|
});
|
|
3634
3644
|
InputRestAutoCompleteEmployeeModelComponent.ctorParameters = function () { return [
|
|
3635
|
-
{ type: InputRestAutoCompleteEmployeeModelService }
|
|
3645
|
+
{ type: InputRestAutoCompleteEmployeeModelService },
|
|
3646
|
+
{ type: router.ActivatedRoute }
|
|
3636
3647
|
]; };
|
|
3637
3648
|
__decorate([
|
|
3638
3649
|
core.Input()
|
|
@@ -3688,9 +3699,6 @@
|
|
|
3688
3699
|
__decorate([
|
|
3689
3700
|
core.Input()
|
|
3690
3701
|
], InputRestAutoCompleteEmployeeModelComponent.prototype, "inputStyle", void 0);
|
|
3691
|
-
__decorate([
|
|
3692
|
-
core.Input()
|
|
3693
|
-
], InputRestAutoCompleteEmployeeModelComponent.prototype, "timeTrackingResumeType", void 0);
|
|
3694
3702
|
__decorate([
|
|
3695
3703
|
core.Output()
|
|
3696
3704
|
], InputRestAutoCompleteEmployeeModelComponent.prototype, "onBlur", void 0);
|