@senior-gestao-pessoas/hcm-entity-lookups 3.1.2 → 3.1.3
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-hcm-entity-lookups.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-hcm-entity-lookups.umd.min.js.map +1 -1
- package/esm2015/lookups/annotation-type-lookup/annotation-type-lookup.service.js +1 -1
- package/esm2015/lookups/employment-relationship-lookup/employment-relationship-lookup.service.js +1 -1
- package/esm2015/lookups/job-position-lookup/job-position-lookup.service.js +1 -1
- package/esm2015/lookups/location-lookup/location-lookup.service.js +1 -1
- package/esm2015/lookups/position-lookup/position-lookup.service.js +1 -1
- package/esm2015/lookups/syndicate-lookup/syndicate-lookup.service.js +1 -1
- package/esm2015/lookups/workshift-lookup/workshift-lookup.service.js +1 -1
- package/esm5/lookups/annotation-type-lookup/annotation-type-lookup.service.js +1 -1
- package/esm5/lookups/employment-relationship-lookup/employment-relationship-lookup.service.js +1 -1
- package/esm5/lookups/job-position-lookup/job-position-lookup.service.js +1 -1
- package/esm5/lookups/location-lookup/location-lookup.service.js +1 -1
- package/esm5/lookups/position-lookup/position-lookup.service.js +1 -1
- package/esm5/lookups/syndicate-lookup/syndicate-lookup.service.js +1 -1
- package/esm5/lookups/workshift-lookup/workshift-lookup.service.js +1 -1
- package/fesm2015/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/lookups/annotation-type-lookup/annotation-type-lookup.service.d.ts +3 -3
- package/lookups/employment-relationship-lookup/employment-relationship-lookup.service.d.ts +3 -3
- package/lookups/job-position-lookup/job-position-lookup.service.d.ts +3 -3
- package/lookups/location-lookup/location-lookup.service.d.ts +3 -3
- package/lookups/position-lookup/position-lookup.service.d.ts +3 -3
- package/lookups/syndicate-lookup/syndicate-lookup.service.d.ts +3 -3
- package/lookups/workshift-lookup/workshift-lookup.service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"senior-gestao-pessoas-hcm-entity-lookups.umd.js","sources":["../../node_modules/tslib/tslib.es6.js","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/dto/project-config.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/entity-lookup-config.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/comparetype.enumeration.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/utils/date-validator/date-validator.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/contract-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/utils/utils.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/structure-filter-service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/shared.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/entity-service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/pis-pasep-taxation/pis-pasep-taxation.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/base-lookup/base-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/base-lookup/base-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/collective-process-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/collective-history-filters/collective-history-filters.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/situation-employee.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/workshift-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/person-lookup/person-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/person-lookup/person-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type/wage-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/calculation-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-definition.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/origin-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-payroll/wage-type-payroll.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/entity-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/locale/fallback.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/environments/environment.default.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type/wage-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-defition.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-payroll/wage-type-payroll.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/core-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position-structure/job-position-structure.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-table/wage-type-table.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-definition.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/characteristics/characteristics.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/characteristics/characteristics.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/rules/rules.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/rules/rules.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import { InjectionToken } from \"@angular/core\";\n\nexport const ProjectConfigsInjectionToken = new InjectionToken<ProjectConfigs>(\"projectConfigs\");\n\nexport interface ProjectConfigs {\n domain: string;\n service: string;\n translationPrefix?: string;\n}\n","import { Inject, Injectable } from \"@angular/core\";\nimport { ProjectConfigs, ProjectConfigsInjectionToken } from \"../../core/dto/project-config\";\n\n@Injectable()\nexport class EntityLookupConfigService {\n constructor(\n @Inject(ProjectConfigsInjectionToken)\n private readonly projectConfigs: ProjectConfigs) {\n }\n\n public getDomain() {\n return this.projectConfigs.domain;\n }\n\n public getService() {\n return this.projectConfigs.service;\n }\n\n public getTranslationPrefix() {\n if (this.projectConfigs.translationPrefix) {\n return this.projectConfigs.translationPrefix;\n }\n return `${this.projectConfigs.domain}.${this.projectConfigs.service}`;\n }\n}\n","/**\n * Enum com as funções de comparação da biblioteca Moment.js\n * Não contempla a função isBetween, será necessário fazer uma validação esoecÃfica para usá-la\n */\nexport enum CompareType {\n IS_BEFORE = \"isBefore\",\n IS_AFTER = \"isAfter\",\n IS_SAME = \"isSame\",\n IS_SAME_OR_AFTER = \"isSameOrAfter\",\n IS_SAME_OF_BEFORE = \"isSameOrBefore\",\n IS_NOT_SAME = \"isNotSame\",\n}\n","import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from \"@angular/forms\";\nimport { CalendarLocaleOptions } from \"@seniorsistemas/angular-components\";\nimport { DateCompareOptions } from \"../../../core/dto/date-compare-options\";\nimport { CompareType } from \"../../../core/enums/comparetype.enumeration\";\nimport * as _moment from \"moment\";\n\nexport class DateValidator {\n\n\n /**\n * Validador genérico usando comparação entre datas\n * @param compareToDate Data a ser comparada\n * @param dateFormat Informações do local\n * @param compareType Tipo de comparação\n * @param options Opções para a comparação\n * @returns Objeto no formato { nomeChave: true } indicando que a data não é válida\n */\n static isValidDateCompare(compareToDate: string, dateFormat: string, compareType: CompareType, options?: DateCompareOptions):\n ValidatorFn {\n const validator: ValidatorFn = (control: AbstractControl): Validators => { // NOSONAR\n let referenceDate = control && control.value;\n if (referenceDate && dateFormat) {\n referenceDate = _moment(control.value);\n const compareTo = _moment(compareToDate, dateFormat);\n return this.dateCompare(referenceDate, compareTo, compareType, options);\n }\n return null;\n };\n return validator;\n }\n\n /**\n * Retorna o formato da data de acordo com o local\n * @param calendar Informações de calendário\n * @param removeDayPart Remove os dias do formato da data (Opcional)\n * @returns Exemplo de retornos 'DDMMYYYY', 'MMYYYY', ou seja, retorna o formato somente com letras\n */\n static getDateFormatFromLocale(calendar: CalendarLocaleOptions, removeDayPart?: boolean): string {\n const dateFormat = calendar && calendar.dateFormat;\n if (dateFormat) {\n let result = dateFormat.replace(/[y]/g, \"YY\").replace(/[^a-zA-Z]/g, \"\").toUpperCase();\n if (removeDayPart) {\n result = result.replace(\"DD\", \"\");\n }\n return result;\n }\n return null;\n }\n\n /**\n * Retorna o formato da data/hora de acordo com o local\n * @param calendar Informações de calendário\n * @returns Exemplo de retornos 'DD/MM/YYYY HH:mm:ss'\n */\n static getDateTimeFormatFromLocale(calendar: CalendarLocaleOptions): string {\n if (calendar) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat.replace(/[y]/g, \"YY\").toUpperCase();\n dateFormat = dateFormat + \" HH:mm:ss\";\n\n return dateFormat;\n }\n return null;\n }\n\n /**\n * Retorna o formato da data de acordo com o local\n * @param calendar Informações de calendário\n * @returns Exemplo de retornos 'DD/MM/YYYY'\n */\n static getDateFormatFromCalendar(calendar: CalendarLocaleOptions): string {\n if (calendar && calendar.dateFormat) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat.replace(/[y]/g, \"YY\").toUpperCase();\n\n return dateFormat;\n }\n return null;\n }\n\n /**\n * Método auxiliar que realiza a comparação entre as datas e retorna um objeto caso a validação seja válida\n * @param referenceDate Data de referência para a comparação\n * @param compareToDate Data a ser comparada.\n * @param compareType Tipo de comparação.\n * @param options Opções para a comparação\n */\n private static dateCompare(referenceDate: any, compareToDate: any, compareType: CompareType, options?: DateCompareOptions):\n ValidationErrors {\n const compareTypeName: string = compareType === CompareType.IS_NOT_SAME ? CompareType.IS_SAME : compareType;\n const granularity = options && options.granularity ? options.granularity : \"day\";\n\n if(referenceDate.isValid() && compareToDate.isValid()) {\n let comparison = referenceDate[compareTypeName](compareToDate, granularity);\n comparison = compareType === CompareType.IS_NOT_SAME ? !comparison : comparison;\n if (comparison) {\n const keyName = options && options.compareName ? options.compareName : compareType;\n const result = {};\n result[keyName] = true;\n return result;\n }\n }\n return null;\n }\n\n /**\n * Retorna uma mascara com as barras Ex: âDD/MM/YYYYâ\n * @param calendar\n */\n static getFormatDateWithBar(calendar: CalendarLocaleOptions): string {\n if (calendar && calendar.dateFormat) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat\n .replace(\"dd\", \"DD\")\n .replace(\"mm\", \"MM\")\n .replace(\"yy\", \"YYYY\");\n return dateFormat;\n }\n return null;\n }\n\n}\n\nexport function startDateTimeIsBeforeEndDateTimeValidator(startDateTime: AbstractControl, endDateTime: AbstractControl): ValidationErrors | null {\n if (startDateTime && endDateTime && startDateTime.value && endDateTime.value) {\n const isInvalid = startDateTime.value > endDateTime.value ? { startDateTimeIsBeforeEndDateTime: { value: [endDateTime.value, startDateTime.value] } } : null;\n if (isInvalid) {\n startDateTime.markAsDirty();\n endDateTime.markAsDirty();\n endDateTime.setErrors(isInvalid);\n startDateTime.setErrors(isInvalid);\n return isInvalid;\n }\n removeErrorFromField(endDateTime, \"startDateTimeIsBeforeEndDateTime\");\n removeErrorFromField(startDateTime, \"startDateTimeIsBeforeEndDateTime\");\n } else if (startDateTime && startDateTime.value && !(endDateTime && endDateTime.value)) {\n removeErrorFromField(startDateTime, \"startDateTimeIsBeforeEndDateTime\");\n } else if (!(startDateTime && startDateTime.value) && endDateTime && endDateTime.value) {\n removeErrorFromField(endDateTime, \"startDateTimeIsBeforeEndDateTime\");\n }\n\n return null;\n}\n\nexport function startDateIsBeforeOrEqualToEndDateValidator(startDate: AbstractControl, endDate: AbstractControl): ValidationErrors | null {\n if (startDate && endDate && startDate.value && endDate.value) {\n const forbidden = startDate.value > endDate.value ? { startDateIsBeforeEndDate: { value: endDate.value } } : null;\n if (forbidden) {\n startDate.markAsDirty();\n endDate.markAsDirty();\n startDate.setErrors(forbidden);\n endDate.setErrors(forbidden);\n return forbidden;\n }\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (startDate && startDate.value && !(endDate && endDate.value)) {\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (!(startDate && startDate.value) && endDate && endDate.value) {\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n }\n return null;\n}\n\nexport function removeErrorFromField(field: AbstractControl, error: string) {\n if (field.errors) {\n delete field.errors[error];\n }\n if (JSON.stringify(field.errors) == JSON.stringify({})) {\n field.setErrors(null);\n }\n}\n\nexport function startDateIsBeforeEndDateValidator(startDate: AbstractControl, endDate: AbstractControl): ValidationErrors | null {\n if (startDate && endDate && startDate.value && endDate.value) {\n const forbidden = _moment(startDate.value).isSameOrAfter(endDate.value) ? { startDateIsBeforeEndDate: { value: endDate.value } } : null;\n if (forbidden) {\n startDate.markAsDirty();\n endDate.markAsDirty();\n startDate.setErrors(forbidden);\n endDate.setErrors(forbidden);\n return forbidden;\n }\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (startDate && startDate.value && !(endDate && endDate.value)) {\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (!(startDate && startDate.value) && endDate && endDate.value) {\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n }\n return null;\n}\n","export enum ContractType {\n EMPLOYEE = \"EMPLOYEE\",\n DIRECTOR = \"DIRECTOR\",\n TRAINEE = \"TRAINEE\",\n APRENTICE = \"APRENTICE\",\n THIRD_PARTY = \"THIRD_PARTY\",\n}","import { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField, Option } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { throwError } from \"rxjs\";\nimport { catchError } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../services/entity-lookup-config.service\";\nimport { ContractType } from \"../../core/enums/contract-type\";\n\nconst numberTypes = [FieldType.Integer, FieldType.Double];\nconst numberPattern = /^\\d+\\b$/;\n\nexport const configService = {\n service: \"hcm_entity\",\n domain: \"lookups\",\n};\n\nexport const mergeUnique = (array: Array<string>, otherArray: Array<string>) =>\n array.concat(otherArray.filter((item) => !array.includes(item)));\n\nexport const getTypeInformation = (type: FieldType, value: any) => {\n switch (type) {\n case FieldType.Time:\n case FieldType.Date:\n case FieldType.DateTime:\n return { isValidValue: false, typeExists: true };\n case FieldType.Integer:\n case FieldType.Double:\n return {\n isValidValue: value.match(numberPattern),\n typeExists: numberTypes.includes(type),\n };\n default:\n return {\n isValidValue: value.match(numberPattern),\n typeExists: numberTypes.includes(type),\n };\n }\n};\n\nexport const isValidFilter = (type: FieldType, value: any) => {\n const { isValidValue, typeExists } = getTypeInformation(type, value);\n return !(typeExists && !isValidValue);\n};\n\nexport const getProp = (obj: any, path: any) => {\n return path.split(\".\").reduce((result: any, prop: any) => (result[prop] === undefined ? \"\" : result[prop]), obj);\n};\n\nexport const getLabelValueRequest = (contents: any[], displayFields: any[]) => {\n return contents.map((item: any) => ({\n ...item,\n label: displayFields.map((field) => getProp(item, field)).join(\" - \"),\n }));\n};\n\nexport const getSuggestionValue = (displayFields: string[], ownerEntity: string, value: any, separator: string) => {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`)).reduce((acc: any, val: any) => `${acc}${separator}${val}`) +\n \"\"\n );\n};\n\nexport const getEnumQuery = (name: string, value: any, multiple: boolean = false) => {\n if (multiple) {\n return `(${value.map((selected: any) => `${name} eq '${selected}'`).join(\" or \")})`;\n }\n return `${name} eq '${value}'`;\n};\n\nexport const getEnumTextSearchQuery = (name: string, value: any, options: Option[]) => {\n const enumsThatMatchSearch = options\n .filter((option) => (option.label || \"\").toLocaleLowerCase().includes((value || \"\").toLocaleLowerCase()));\n if (enumsThatMatchSearch.length) {\n const orExpressions = enumsThatMatchSearch.map((option) => `${name} eq '${option.value}'`).join(\" or \");\n return `(${orExpressions})`;\n } else {\n return \"\";\n }\n};\n\nexport const getFilterForLookup = (filterLookup: string, filterAdditional: string, filterDefault: string): string => {\n filterAdditional = filterAdditional ? `(${filterAdditional})` : \"\";\n filterLookup = filterLookup ? `(${filterLookup})` : \"\";\n filterDefault = filterDefault ? `(${filterDefault})` : \"\";\n return concatFilters([filterLookup, filterAdditional, filterDefault]);\n};\n\nexport const concatFilters = (filters: string[]): string => {\n return filters?.filter((x) => !!x).join(\" and \");\n};\n\nexport const createEnumFilterString = (formField: FormField, value: any, opts?: { textSeachEnum: boolean }) => {\n const { name, multiple, options } = formField;\n if (opts && opts.textSeachEnum) {\n return getEnumTextSearchQuery(name, value, options);\n } else {\n return getEnumQuery(name, value, multiple);\n }\n};\n\nexport const createFilterString = (formField: FormField, value: any, opts?: { textSeachEnum: boolean }) => {\n const { name, type } = formField;\n if (typeof value === \"number\") {\n return `${name} eq ${value}`;\n }\n\n switch (type) {\n case FieldType.Date:\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n case FieldType.Time:\n return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n case FieldType.DateTime:\n return `${name} eq '${moment(value).format()}'`;\n case FieldType.LocalDateTime:\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD[T]HH:mm:ss.SSS\")}'`;\n case FieldType.Enum:\n return createEnumFilterString(formField, value, opts);\n case FieldType.String:\n return `containing(upper(${name}), upper('${value.replace(/'/g, \"'\")}'))`;\n case FieldType.Lookup:\n return `${name} eq '${value.id}'`;\n default:\n return `${name} eq '${value}'`;\n }\n};\n\nexport const defaultCatch = (translate: TranslateService) => {\n return catchError((err: any) => {\n if (err) {\n let summary = err.status ? String(err.status) : \"Error\";\n let detail = (err.error && err.error.message) || err.statusText || err.message || \"Error\";\n\n if (err.status === 401) {\n summary = translate.instant(`${configService.domain}.${configService.service}.error_unauthorized_title`);\n detail = translate.instant(`${configService.domain}.${configService.service}.error_unauthorized_description`);\n }\n }\n\n return throwError(err);\n });\n};\n\nexport const contractTypeOptions = (translate: TranslateService, configService: EntityLookupConfigService): { label: string; value: string }[] => {\n return [\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_employee`), value: ContractType.EMPLOYEE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_director`), value: ContractType.DIRECTOR },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_trainee`), value: ContractType.TRAINEE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_aprentice`), value: ContractType.APRENTICE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_third_party`), value: ContractType.THIRD_PARTY },\n ]\n};\n\nexport const createSearchRequestFilter = (filterData: string, formFields: FormField[]): string => {\n return formFields\n .filter(({ name }) => !!filterData[name] && filterData[name] !== \"\")\n .map(({ name, type }) => {\n const value = filterData[name];\n\n if (typeof value === \"number\") {\n return `${name} eq ${value}`;\n } else if (type === FieldType.Date) {\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n } else if (type === FieldType.Time) {\n return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n } else if (type === FieldType.DateTime) {\n return `${name} eq '${moment(value).format()}'`;\n } else if (type === FieldType.Integer) {\n return `${name} eq '${value}'`;\n } else if (type === FieldType.Enum) {\n return `${name} eq '${value}'`;\n } else if (type === FieldType.String) {\n return `containing(upper(${name}), upper('${value.replace(/'/g, \"\\\\'\")}'))`;\n } else {\n return `${name} eq '${value}'`;\n }\n })\n .join(\" and \");\n};\n\nexport const createLookupRequestFilter = (value: string, formFields: FormField[]): string => {\n value = value.length > 19 ? value.substring(0, 19) : value;\n return formFields.filter(({ type }) => isValidFilter(type, value))\n .map((formField) => createFilterString(formField, value, { textSeachEnum: true }))\n .filter((s) => !!s)\n .join(\" or \");\n};\n\nexport const createFilterTokens = (formField: FormField, value: any, translate: TranslateService) => {\n const { name, type, label, searchFields, options } = formField as any;\n let labelValue = value;\n switch (type) {\n case FieldType.Date:\n labelValue = moment(value).format(\"L\");\n break;\n case FieldType.Time:\n labelValue = moment(value).format(\"LTS\");\n break;\n case FieldType.DateTime:\n labelValue = moment(value).format(\"L LTS\");\n break;\n case FieldType.Lookup:\n labelValue = searchFields.map((field: FormField) => getProp(value, field.name)).join(\" - \");\n break;\n case FieldType.Enum:\n labelValue = options.filter((option: Option) => option.value === labelValue)[0].label;\n break;\n case FieldType.Boolean:\n labelValue = value\n ? translate.instant(\"platform.localization.list_grid_boolean_true\")\n : translate.instant(\"platform.localization.list_grid_boolean_false\");\n break;\n }\n\n return { id: name, label: `${label}: ${labelValue}` };\n};\n","import { HttpClient, HttpParams } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { CalendarLocaleOptions, LocaleOptions } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { MessageService } from \"primeng/api\";\nimport { Observable, of } from \"rxjs\";\nimport { map, take } from \"rxjs/operators\";\nimport { LookupDataDto } from \"../../core/dto/lookup-data-dto\";\nimport { StructureParams } from \"../../core/dto/structure-params.dto\";\nimport { DateValidator } from \"../utils/date-validator/date-validator\";\nimport { defaultCatch } from \"../utils/utils\";\nimport { EntityLookupConfigService } from \"./entity-lookup-config.service\";\nimport { ListParams } from \"./entity-service\";\n\n@Injectable()\nexport class StructureFilterService {\n\n constructor(\n private translateService: TranslateService,\n private http: HttpClient,\n private messageService: MessageService,\n private configService: EntityLookupConfigService,\n ) {\n }\n\n public getFilterByDateValidateAndStructure(dto: LookupDataDto): Observable<any> {\n if (dto.referenceDate && moment(dto.referenceDate).isValid()) {\n const referenceDate = moment(dto.referenceDate).format(\"YYYY-MM-DD\");\n const filter = this.getFilterStructureCompanyHistoryByStartDate(referenceDate, dto.companyIds);\n if (referenceDate && filter) {\n return this.getCompanyStructureHistoryByCompanyId(dto.domain, dto.service, dto.entity, filter);\n }\n }\n return of();\n }\n\n public showMessageToCompanyWithoutStructure(lookupData: LookupDataDto, locale: LocaleOptions): boolean {\n if (lookupData?.useStructure && !lookupData?.structures?.length) {\n const entity = this.translateEntity(lookupData.entity).toLowerCase();\n const startDate = this.formatDate(locale, lookupData.referenceDate);\n this.messageService.add({\n detail: this.translateService\n .instant(`${this.configService.getTranslationPrefix()}.structure_empty_message`,\n { entity, startDate }),\n severity: \"warn\",\n summary: this.translateService\n .instant(`${this.configService.getTranslationPrefix()}.structure_empty_title`, { entity }),\n });\n return false;\n } else {\n return true;\n }\n }\n\n private translateEntity(entity: string): string {\n entity = entity.replace(/([A-Z])/g, \"_$1\").toLowerCase();\n return this.translateService.instant(`${this.configService.getTranslationPrefix()}.${entity}_history_${entity}`) || entity;\n }\n\n private formatDate(locale: LocaleOptions, startDate: string) {\n const dateFormat = locale?.calendar?.dateFormat;\n return dateFormat\n ? moment(startDate).format(DateValidator.getDateFormatFromCalendar({ dateFormat } as CalendarLocaleOptions))\n : moment(startDate).format(\"L\");\n }\n\n private getFilterStructureCompanyHistoryByStartDate(referenceDate: string, companyId: string[]): string {\n let filterData = \"\";\n if (referenceDate && companyId?.length) {\n filterData = `company in (${companyId.map((item) => `'${item}'`)}) and\n (startDate le '${referenceDate}' and (endDate is null or endDate ge '${referenceDate}'))`;\n }\n return filterData;\n }\n\n public getCompanyStructureHistoryByCompanyId(domain: string, service: string, entityName: string, filter: string): Observable<any> {\n return this.http\n .get<any>(`${domain}/${service}/entities/${entityName}StructureCompanyHistory`, {\n params: this.getListQueryParams({ filterQuery: filter }),\n })\n .pipe(\n map((result: any) => result && result.contents && result.contents),\n defaultCatch(this.translateService),\n );\n }\n\n public getFilterCompile(dto: LookupDataDto): string {\n const validity = this.getFilterRegisterByStartDateInCompanyBranch(dto);\n const conditionStructure = dto?.structures?.length && validity ? \" and \" : \"\";\n\n let filterStructure = dto.structures?.length && `${dto.entity}Structure in (${dto.structures.map((item) => `'${item}'`)})`;\n filterStructure = filterStructure ? `(${filterStructure})` : \"\";\n return `${validity}${conditionStructure}${filterStructure}`;\n }\n\n public getFilterRegisterByStartDateInCompanyBranch(dto: LookupDataDto): string {\n const referenceDate = dto?.referenceDate\n && moment(dto?.referenceDate).format(\"YYYY-MM-DD\");\n if (referenceDate && dto?.useDateValidation) {\n return dto.useDateValidation ? `(\n (initialValidity le '${referenceDate}' and finalValidity ge '${referenceDate}')\n or (initialValidity is null and finalValidity ge '${referenceDate}')\n or (initialValidity le '${referenceDate}' and finalValidity is null)\n or (initialValidity is null and finalValidity is null))` : \"\";\n } else {\n return \"\";\n }\n }\n\n public getListQueryParams(listParams: ListParams) {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n\n let params = new HttpParams();\n params = params.append(\"size\", String(size));\n params = params.append(\"offset\", String(page));\n\n if (sort && sort.length) {\n params = params.append(\n \"orderby\",\n sort\n .map((s) => {\n let order = \"\";\n if (s.order === 1) {\n order = \" asc\";\n } else if (s.order === -1) {\n order = \" desc\";\n }\n return `${s.field}${order}`;\n })\n .join(\", \"),\n );\n }\n\n if (filterQuery) {\n params = params.append(\"filter\", filterQuery);\n }\n\n if (displayFields && displayFields.length) {\n params = params.append(\"displayfields\", displayFields.join());\n }\n\n return params;\n }\n\n public startBuildingFilterObservable(structureParams: StructureParams, lookupValidation: LookupDataDto) {\n if (structureParams?.companyIds?.length) {\n lookupValidation.companyIds = [...structureParams.companyIds];\n lookupValidation.referenceDate = structureParams.referenceDate;\n\n return this.getFilterByDateValidateAndStructure(lookupValidation)\n .pipe(\n take(1),\n );\n }\n }\n\n public validateReferenceDate(referenceDate: string): boolean {\n return referenceDate && moment(referenceDate).isValid()\n }\n\n public startBuildingFilterResolver(histories: any[], lookupValidation: LookupDataDto): string {\n if (lookupValidation?.useStructure && histories?.length) {\n lookupValidation.structures = [];\n histories.forEach((history: any) => {\n const id = history[`${lookupValidation.entity}Structure`].id;\n if (!lookupValidation.structures.includes(id)) {\n lookupValidation.structures.push(history[`${lookupValidation.entity}Structure`].id);\n }\n });\n }\n return this.getFilterCompile(lookupValidation) || \"\";\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { TranslateModule } from \"@ngx-translate/core\";\nimport { DynamicFormModule, EmptyStateModule, LocaleModule } from \"@seniorsistemas/angular-components\";\nimport { InputTextModule } from \"primeng/inputtext\";\nimport { EntityLookupConfigService } from \"./services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"./services/structure-filter-service\";\n\n@NgModule({\n imports: [],\n exports: [\n LocaleModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n EmptyStateModule,\n DynamicFormModule,\n InputTextModule,\n TranslateModule,\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n providers: [\n StructureFilterService,\n EntityLookupConfigService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [],\n})\nexport class SharedModule {\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { HttpParams, HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { SortMeta } from \"primeng/api\";\nimport { throwError } from \"rxjs\";\nimport { catchError } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\n\nexport abstract class EntityService<T> {\n\n public urlBase: string;\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected entityUrl: string,\n protected actionsUrl: string,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n this.defaultCatch = this.defaultCatch.bind(this);\n }\n\n public getListQueryParams(listParams: ListParams) {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n\n let params = new HttpParams();\n params = params.append(\"size\", String(size));\n params = params.append(\"offset\", String(page));\n\n if (sort && sort.length) {\n params = params.append(\n \"orderby\",\n sort\n .map(s => {\n let order = \"\";\n if (s.order === 1) order = \" asc\";\n else if (s.order === -1) order = \" desc\";\n return `${s.field}${order}`;\n })\n .join(\", \")\n );\n }\n\n if (filterQuery) params = params.append(\"filter\", filterQuery);\n\n if (displayFields && displayFields.length) params = params.append(\"displayfields\", displayFields.join());\n\n return params;\n }\n\n private getBodyParams(listParams: ListParams): BodyParams {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n const bodyParams: BodyParams = {};\n\n bodyParams.size = size;\n bodyParams.offset = page;\n\n if (sort && sort.length) {\n bodyParams.orderBy = sort\n .map(s => {\n let order = \"\";\n if (s.order === 1) order = \" asc\";\n else if (s.order === -1) order = \" desc\";\n return `${s.field}${order}`;\n })\n .join(\", \");\n }\n\n if (filterQuery) bodyParams.filter = filterQuery;\n\n if (displayFields && displayFields.length) bodyParams.displayfields = displayFields.join();\n\n return bodyParams;\n }\n\n public defaultCatch() {\n return catchError((err: any) => {\n if (err) {\n let summary = err.status ? String(err.status) : \"Error\";\n let detail = (err.error && err.error.message) || err.statusText || err.message || \"Error\";\n\n if (err.status === 401) {\n summary = this.translate.instant(`${this.configService.getTranslationPrefix()}.error_unauthorized_title`);\n detail = this.translate.instant(`${this.configService.getTranslationPrefix()}.error_unauthorized_description`);\n }\n\n this.messageService.add({\n severity: \"error\",\n summary,\n detail,\n });\n }\n\n return throwError(err);\n });\n }\n\n public list(listParams: ListParams) {\n return this.http.get<T[]>(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());\n }\n\n public get(id: any) {\n return this.http.get<T>(`${this.entityUrl}/${id}`).pipe(this.defaultCatch());\n }\n\n public insert(entity: T) {\n return this.http.post<T>(`${this.entityUrl}`, entity).pipe(this.defaultCatch());\n }\n\n public update(id: any, entity: T) {\n return this.http.put<T>(`${this.entityUrl}/${id}`, entity).pipe(this.defaultCatch());\n }\n\n public delete(id: any) {\n return this.http.delete<T>(`${this.entityUrl}/${id}`).pipe(this.defaultCatch());\n }\n\n public listCustomFilter(listParams: ListParams, action: string) {\n return this.http.post<T[]>(`${this.actionsUrl}/${action}`, this.getBodyParams(listParams)).pipe(this.defaultCatch());\n }\n\n}\n\nexport interface ListParams {\n page?: number;\n size?: number;\n sort?: SortMeta[];\n filterQuery?: string;\n displayFields?: string[];\n}\n\nexport interface BodyParams {\n offset?: number;\n size?: number;\n orderBy?: string;\n filter?: string;\n displayfields?: string;\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PisPasepTaxationDto } from \"./pis-pasep-taxation-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class PisPasepTaxationService extends EntityService<PisPasepTaxationDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `tax_obligation/shared/entities/pisPasepTaxation`,\n `tax_obligation/shared/actions/pisPasepTaxation`,\n translate,\n configService\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { PisPasepTaxationService } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation.service\";\n\n@Injectable()\nexport class PisPasepTaxationLookupService {\n private pisPasepTaxationLookupDisplayFields = [\"code\", \"description\"];\n private pisPasepTaxationLookupGridDisplayFields = [\"pisPasepTaxationGroup.code\", \"pisPasepTaxationGroup.description\", \"code\", \"description\"];\n public pisPasepTaxationLookupSeparator = \" - \";\n\n private pisPasepTaxationSerchSubject = new Subject();\n private pisPasepTaxationLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private pisPasepTaxationService: PisPasepTaxationService\n ) {\n }\n\n public onPisPasepTaxationLookupRequest(event: string) {\n this.onPisPasepTaxationLookupRequestObservable(event)\n .subscribe((data: any) => this.pisPasepTaxationLookupSubject.next(data.contents));\n }\n\n public onPisPasepTaxationLookupRequestObservable(value: string, filter?: Filter[]): Observable<{ contents: any[], totalElements: number}> {\n const sort = this.pisPasepTaxationLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(value, this.getPisPasepTaxationSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.pisPasepTaxationLookupDisplayFields;\n\n return this.pisPasepTaxationService\n .list({ sort, filterQuery, displayFields})\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onPisPasepTaxationSearchRequest(event: any) {\n this.onPisPasepTaxationSearchRequestObservable(event)\n .subscribe((data: any) => this.pisPasepTaxationSerchSubject.next(data));\n }\n\n public onPisPasepTaxationSearchRequestObservable(event: any, filter?: Filter[]) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(filterData, this.getPisPasepTaxationSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.pisPasepTaxationLookupGridDisplayFields;\n\n return this.pisPasepTaxationService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n\n public getPisPasepTaxationSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_code`),\n name: \"code\",\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_description`),\n name: \"description\",\n type: FieldType.String\n }),\n ];\n }\n\n getPisPasepTaxationSearchGridFields(): FormField[] {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_group_code_grid`),\n name: \"pisPasepTaxationGroup.code\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_group_name_grid`),\n name: \"pisPasepTaxationGroup.description\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_code_grid`),\n name: \"code\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_description_grid`),\n name: \"description\",\n type: FieldType.String\n }),\n ];\n }\n\n private getLabelForMapping(item: any) {\n return this.pisPasepTaxationLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.pisPasepTaxationLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) or `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' or `;\n });\n }\n\n return filterQuery.slice(0, -4);\n }\n}\n","import { AfterViewChecked, ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\nimport { FormGroup } from \"@angular/forms\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { LocaleOptions } from \"@seniorsistemas/angular-components\";\nimport { Subject } from \"rxjs\";\nimport { finalize, take } from \"rxjs/operators\";\nimport { LookupDataDto } from \"../../core/dto/lookup-data-dto\";\nimport { StructureParams } from \"../../core/dto/structure-params.dto\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport * as moment from \"moment\";\n\n@Component({\n template: \"\",\n})\nexport class BaseLookupComponent implements OnDestroy, AfterViewChecked {\n @Input()\n public isDisabled: boolean;\n @Input()\n public multiple = false;\n @Input()\n public formGroup: FormGroup;\n @Input()\n public additionalFilter: string;\n @Input()\n public locale: LocaleOptions;\n @Input()\n public controlName;\n\n protected companyIds: Array<string> = [];\n\n @Input()\n set setCompanyIds(value: any) {\n this.companyIds = value;\n }\n\n @Input()\n set structureParams(value: StructureParams) {\n this.createlookupData(value);\n if (value?.companyIds?.length) {\n this.loading = true;\n moment(value?.referenceDate).isValid() && this.structerService.startBuildingFilterObservable(value, this.lookupData)\n .pipe(\n take(1),\n finalize(() => this.loading = false),\n )\n .subscribe((histories: any[]) => {\n this.initialFilter = this.structerService.startBuildingFilterResolver(histories, this.lookupData);\n });\n } else {\n this.initialFilter = this.structerService.getFilterCompile(this.lookupData) || \"\";\n }\n }\n\n @Output()\n public select: EventEmitter<any> = new EventEmitter();\n @Output()\n public clear: EventEmitter<any> = new EventEmitter();\n\n public ngUnsubscribe = new Subject();\n public loading = false;\n public domain: string;\n public service: string;\n public entity: string;\n public useDateValidation = true;\n public initialFilter: string;\n public lookupData: LookupDataDto;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n ) {\n }\n\n public ngAfterViewChecked(): void {\n this.cdRef.detectChanges();\n }\n\n public ngOnDestroy() {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n public selectOption(option: object) {\n this.select.emit(option);\n }\n\n public async onClearItem(option: object) {\n await this.clear.emit(option);\n if (!this.formGroup.get(this.controlName).value?.length\n || !this.formGroup.get(this.controlName).value) {\n this.formGroup.get(this.controlName).reset();\n }\n }\n\n private createlookupData(structureParams: StructureParams) {\n this.lookupData = {\n companyIds: structureParams?.companyIds,\n domain: this.domain,\n entity: this.entity,\n referenceDate: structureParams?.referenceDate,\n service: this.service,\n useDateValidation: this.useDateValidation,\n useStructure: structureParams?.useStructure !== undefined ? structureParams?.useStructure : true,\n };\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { PisPasepTaxation } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation\";\nimport { PisPasepTaxationLookupService } from \"./pis-pasep-taxation-lookup.service\";\n\n@Component({\n selector: \"flx-pis-pasep-taxation-lookup\",\n templateUrl: \"pis-pasep-taxation-lookup.component.html\",\n})\nexport class PisPasepTaxationLookupComponent extends BaseLookupComponent implements OnInit {\n\n @Input()\n public filter: Filter[];\n\n public pisPasepTaxationLookupSuggestions: PisPasepTaxation[];\n public pisPasepTaxationSearchFields: FormField[];\n public pisPasepTaxationSearchGridFields: FormField[];\n public pisPasepTaxationSearchGridData: PisPasepTaxation[];\n public pisPasepTaxationSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structurService: StructureFilterService,\n private pisPasepTaxationLookupService: PisPasepTaxationLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structurService,\n );\n }\n\n public ngOnInit() {\n this.pisPasepTaxationSearchFields = this.pisPasepTaxationLookupService.getPisPasepTaxationSearchFields();\n this.pisPasepTaxationSearchGridFields = this.pisPasepTaxationLookupService.getPisPasepTaxationSearchGridFields();\n }\n\n public onPisPasepTaxationLookupRequest(value: string) {\n this.pisPasepTaxationLookupService\n .onPisPasepTaxationLookupRequestObservable(value, this.filter)\n .subscribe((list) => {\n this.pisPasepTaxationLookupSuggestions = list.contents;\n });\n }\n\n public onPisPasepTaxationSearchRequest(event: any) {\n this.pisPasepTaxationLookupService\n .onPisPasepTaxationSearchRequestObservable(event, this.filter)\n .subscribe((list) => {\n this.pisPasepTaxationSearchGridData = list.contents;\n this.pisPasepTaxationSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PisPasepTaxationLookupService } from \"./pis-pasep-taxation-lookup.service\";\nimport { PisPasepTaxationLookupComponent } from \"./pis-pasep-taxation-lookup.component\";\nimport { PisPasepTaxationService } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation.service\";\n\n@NgModule({\n declarations: [PisPasepTaxationLookupComponent],\n exports: [\n PisPasepTaxationLookupComponent\n ],\n imports: [\n SharedModule\n ],\n providers: [\n PisPasepTaxationLookupService,\n PisPasepTaxationService\n ]\n})\nexport class PisPasepTaxationLookupModule {\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { BaseLookupComponent } from \"./base-lookup.component\";\n\n@NgModule({\n declarations: [BaseLookupComponent],\n exports: [\n BaseLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n})\nexport class BaseLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { E070FilDto } from \"./e-070-fil-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E070FilService extends EntityService<E070FilDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `erpx_fnd/empresa/entities/e070fil`,\n `erpx_fnd/empresa/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE070Fil(listParams: ListParams) {\n return this.http\n .get<E070FilDto>(\"erpx_fnd/empresa/entities/e070fil\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","export enum CollectiveProcessType {\n INCLUDE = \"INCLUDE\",\n EXCLUDE = \"EXCLUDE\"\n}\n","import { Injectable } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { PermissionsService } from \"@seniorsistemas/platform-components\";\nimport { Subject } from \"rxjs\";\nimport { map } from \"rxjs/operators\";\nimport { CollectiveProcessType } from \"../../enums/collective-process-type\";\n\n\n@Injectable()\nexport class CollectiveHistoryFiltersService {\n\n public employeesIsPresent: Subject<boolean> = new Subject();\n public companiesIsPresent: Subject<boolean> = new Subject();\n public companyFilterQuery: string;\n\n private isUsingTable: boolean = false;\n private cancelForm: Subject<boolean> = new Subject();\n private collectiveFilterPanelCollapsed: boolean = false;\n\n constructor(\n private router: Router,\n private permissionsService: PermissionsService\n ) { }\n\n /**\n * Veifica se o usuário tem permissão de entrar na tela de coletivas, ou de inclusão ou de exclusão, de acordo\n * com o fragment da rota.\n *\n * @param entityName nome da entidade para buscar as permissões\n * @param fragment fragmento da rota, é esperado um CollectiveProcessType\n */\n checkPermissions(entityName: string, fragment: string) {\n return this.permissionsService.get(entityName).pipe(\n map((permissions: any) => {\n if (fragment == CollectiveProcessType.INCLUDE) {\n if (!permissions.incluir) this.router.navigate([\"forbidden\"]);\n return permissions.visualizar;\n }\n else if (fragment == CollectiveProcessType.EXCLUDE) {\n if (!permissions.excluir) this.router.navigate([\"forbidden\"]);\n return permissions.excluir;\n } else {\n this.router.navigate([\"not-found\"])\n }\n })\n );\n }\n\n public getEmployeesIsPresent() {\n return this.employeesIsPresent.asObservable();\n }\n\n public getCompaniesIsPresent() {\n return this.companiesIsPresent.asObservable();\n }\n\n public setEmployeeIsPresent(value) {\n this.employeesIsPresent.next(value);\n }\n\n public setCompaniesIsPresent(value) {\n this.companiesIsPresent.next(value);\n }\n\n public setCancelForm(value) {\n this.cancelForm.next(value);\n }\n\n public getCancelForm() {\n return this.cancelForm.asObservable();\n }\n\n public getIsUsingTable() {\n return this.isUsingTable;\n }\n\n public setIsUsingTable(value: boolean): boolean {\n this.isUsingTable = value;\n return this.isUsingTable;\n }\n\n public getPanelStatus() {\n return this.collectiveFilterPanelCollapsed;\n }\n\n public setPanelStatus(value: boolean): boolean {\n this.collectiveFilterPanelCollapsed = value\n return this.collectiveFilterPanelCollapsed;\n }\n\n public resetPanelAndTableStatus() {\n this.setIsUsingTable(false);\n this.setPanelStatus(false);\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CompanyBranchLookupService {\n private companyBranchLookupDisplayFields = [\"codFil\", \"nomFil\"];\n public companyBranchLookupSeparator = \" - \";\n\n private companyBranchSearchSubject = new Subject();\n private companyBranchLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n public configService: EntityLookupConfigService,\n private companyBranchService: E070FilService,\n ) {\n }\n public updateSuggestions(value: any, ownerEntity: string = \"e070fil\") {\n if (value?.companyBranch) {\n value.companyBranch.label = this.getSuggestionValue(\n [\"codFil\", \"nomFil\"],\n ownerEntity,\n value,\n this.companyBranchLookupSeparator,\n );\n if (value.companyBranch.label.trim() === this.companyBranchLookupSeparator.trim()) {\n delete value.companyBranch.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, companyIds?: string[]): FormField {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_branch`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"companyBranch\",\n onLookupRequest: (value: string) => this.onCompanyBranchLookupRequest(value, additionalFilter, companyIds),\n onSearchRequest: (event: any) => this.onCompanyBranchSearchRequest(event, additionalFilter, companyIds),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCompanyBranchSearchFields(),\n searchGridFields: this.getCompanyBranchSearchFields(),\n searchObservable: this.companyBranchSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_branch_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.companyBranchLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCompanyBranchSearchRequest(event: any, additionalFilter, companyIds: string[]): void {\n this.onCompanyBranchSearchRequestObservable(event, additionalFilter, companyIds, true)\n .subscribe((data: any) => this.companyBranchSearchSubject.next(data));\n }\n\n public onCompanyBranchSearchRequestObservable(event: any, additionalFilter, companyIds: string[], isDynamicForm: boolean = false) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let companyBranchFilterQuery = createSearchRequestFilter(filterData, this.getCompanyBranchSearchFields());\n companyBranchFilterQuery = this.getFilters(companyBranchFilterQuery, companyIds, additionalFilter);\n const displayFields = mergeUnique(this.companyBranchLookupDisplayFields.concat(\"e070emp\"),\n [...this.companyBranchLookupDisplayFields]);\n return this.companyBranchService\n .list({ page, sort, filterQuery: companyBranchFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.companyBranchLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.companyBranchLookupSeparator);\n }\n\n public onCompanyBranchLookupRequest(value: string, additionalFilter, companyIds: string[]): void {\n this.onCompanyBranchLookupRequestObservable(value, additionalFilter, companyIds)\n .subscribe((data: any) => this.companyBranchLookupSubject.next(data.contents));\n }\n\n public onCompanyBranchLookupRequestObservable(value: string, additionalFilter, companyIds: string[]): Observable<any> {\n const sort = this.companyBranchLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getCompanyBranchSearchFields());\n workshiftfilterQuery = this.getFilters(workshiftfilterQuery, companyIds, additionalFilter);\n const displayFields = mergeUnique(this.companyBranchLookupDisplayFields.concat(\"e070emp\"),\n [...this.companyBranchLookupDisplayFields]);\n return this.companyBranchService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.companyBranchLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.companyBranchLookupSeparator),\n })),\n })),\n );\n }\n public getCompanyBranchSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_070_fil_cod_fil`),\n name: \"codFil\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_070_fil_nom_fil`),\n name: \"nomFil\",\n type: FieldType.String,\n }),\n ];\n }\n\n private getFilters(filterData: string, companyIds: string[], additionalFilter?: string, ): string {\n const filters = [];\n\n filterData && filters.push(`(${filterData})`);\n additionalFilter && filters.push(`(${additionalFilter})`);\n companyIds?.length && filters.push(`(e070emp.id in (${companyIds.map(id => `'${id}'`)}))`);\n \n return filters.join(' and ');\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { E070Fil } from \"../../core/entities/e-070-fil/e-070-fil\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CompanyBranchLookupService } from \"./company-branch-lookup.service\";\n\n@Component({\n selector: \"fnd-company-branch-lookup\",\n templateUrl: \"./company-branch-lookup.component.html\",\n})\nexport class CompanyBranchLookupComponent extends BaseLookupComponent implements OnInit {\n\n public companyBranchLookupSuggestions: E070Fil[];\n public companyBranchSearchFields: FormField[];\n public companyBranchSearchGridFields: FormField[];\n public companyBranchSearchGridData: E070Fil[];\n public companyBranchSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public collectiveService: CollectiveHistoryFiltersService,\n private companyBranchLookupService: CompanyBranchLookupService,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n public readonly cdRef: ChangeDetectorRef) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"companyBranch\";\n }\n\n public ngOnInit(): void {\n this.companyBranchSearchFields = this.companyBranchLookupService.getCompanyBranchSearchFields();\n this.companyBranchSearchGridFields = this.companyBranchLookupService.getCompanyBranchSearchFields();\n }\n\n public onCompanyBranchLookupRequest(value: string) {\n this.companyBranchLookupService\n .onCompanyBranchLookupRequestObservable(value, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.companyBranchLookupSuggestions = list.contents;\n });\n }\n\n public onCompanyBranchSearchRequest(event: any) {\n this.companyBranchLookupService\n .onCompanyBranchSearchRequestObservable(event, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.companyBranchSearchGridData = list.contents;\n this.companyBranchSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CompanyBranchLookupComponent } from \"./company-branch-lookup.component\";\nimport { CompanyBranchLookupService } from \"./company-branch-lookup.service\";\n\n@NgModule({\n declarations: [\n CompanyBranchLookupComponent,\n ],\n exports: [\n CompanyBranchLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n CompanyBranchLookupService,\n E070FilService,\n ],\n})\nexport class CompanyBranchLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { E070EmpDto } from \"./e-070-emp-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E070EmpService extends EntityService<E070EmpDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `erpx_fnd/empresa/entities/e070emp`,\n `erpx_fnd/empresa/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE070Emp(listParams: ListParams) {\n return this.http\n .get<E070EmpDto>(\"erpx_fnd/empresa/entities/e070emp\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E070EmpService } from \"../../core/entities/e-070-emp/e-070-emp.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter, createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CompanyLookupService {\n public companyLookupDisplayFields = [\"codEmp\", \"nomEmp\"];\n public companyLookupSeparator = \" - \";\n\n private companySearchSubject = new Subject();\n private companyLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private companyService: E070EmpService,\n ) {\n }\n\n public updateSuggestions(value: any, ownerEntity: string = \"e070emp\") {\n if (value?.company) {\n value.company.label = this.getSuggestionValue(\n [\n \"codEmp\",\n \"nomEmp\",\n ],\n ownerEntity,\n value,\n this.companyLookupSeparator,\n );\n if (value.company.label.trim() === this.companyLookupSeparator.trim()) {\n delete value.company.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.company`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"company\",\n onLookupRequest: (value: string) => this.onCompanyLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onCompanySearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCompanySearchFields(),\n searchGridFields: this.getCompanySearchFields(),\n searchObservable: this.companySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.companyLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCompanySearchRequest(event: any, additionalFilter): void {\n this.onCompanySearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.companySearchSubject.next(data));\n }\n\n public onCompanySearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let companyFilterQuery = createSearchRequestFilter(filterData, this.getCompanySearchFields());\n companyFilterQuery = getFilterForLookup(companyFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.companyLookupDisplayFields,\n [...this.companyLookupDisplayFields]);\n return this.companyService\n .list({ page, sort, filterQuery: companyFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.companyLookupDisplayFields\n .map((field) => {\n if (field === \"codEmp\" && !item.codEmp) {\n item.codEmp = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.companyLookupSeparator);\n }\n\n public onCompanyLookupRequest(value: string, additionalFilter): void {\n this.onCompanyLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.companyLookupSubject.next(data.contents));\n }\n\n public onCompanyLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.companyLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n\n let companyFilterQuery = createLookupRequestFilter(value, this.getCompanySearchFields());\n companyFilterQuery = getFilterForLookup(companyFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.companyLookupDisplayFields,\n [...this.companyLookupDisplayFields]);\n return this.companyService\n .list({ sort, filterQuery: companyFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.companyLookupDisplayFields\n .map((field) => {\n if (field === \"codEmp\" && !item.codEmp) {\n item.codEmp = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.companyLookupSeparator),\n })),\n })),\n );\n }\n\n public getCompanySearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_employer_cod_emp`),\n name: \"codEmp\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.history_employer_name`),\n name: \"nomEmp\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { E070EmpService } from \"../../core/entities/e-070-emp/e-070-emp.service\";\nimport { Employee } from \"../../core/entities/employee\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CompanyLookupService } from \"./company-lookup.service\";\n\n@Component({\n selector: \"fnd-company-lookup\",\n templateUrl: \"./company-lookup.component.html\",\n})\nexport class CompanyLookupComponent extends BaseLookupComponent implements OnInit {\n public companyLookupSuggestions: Employee[];\n public companySearchFields: FormField[];\n public companySearchGridFields: FormField[];\n public companySearchGridData: Employee[];\n public companySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private companyService: E070EmpService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private companyLookupService: CompanyLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"company\";\n }\n\n public ngOnInit(): void {\n this.companySearchFields = this.companyLookupService.getCompanySearchFields();\n this.companySearchGridFields = this.companyLookupService.getCompanySearchFields();\n }\n\n public onCompanyLookupRequest(value: string) {\n this.companyLookupService\n .onCompanyLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.companyLookupSuggestions = list.contents;\n });\n }\n\n public onCompanySearchRequest(event: any) {\n this.companyLookupService\n .onCompanySearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.companySearchGridData = list.contents;\n this.companySearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { CompanyLookupComponent } from \"./company-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CompanyLookupService } from \"./company-lookup.service\";\nimport {E070EmpService} from \"../../core/entities/e-070-emp/e-070-emp.service\";\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n CompanyLookupComponent,\n ],\n providers: [\n CompanyLookupService,\n E070EmpService,\n ],\n declarations: [\n CompanyLookupComponent],\n})\nexport class CompanyLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { E044CcuDto } from \"./e-044-ccu-dto\";\n\n@Injectable()\nexport class E044CcuService extends EntityService<E044CcuDto> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `erpx_fin_rat/foundation/entities/e044ccu`,\n `erpx_fin_rat/foundation/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E044CcuService } from \"../../core/entities/e-044-ccu/e-044-ccu.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CostCenterLookupService {\n private costCenterLookupDisplayFields = [\"codCcu\", \"desCcu\"];\n public costCenterLookupSeparator = \" - \";\n\n private costCenterSearchSubject = new Subject();\n private costCenterLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private costCenterService: E044CcuService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value?.costCenter) {\n value.costCenter.label = this.getSuggestionValue(\n [\"codCcu\", \"desCcu\"],\n \"costCenter\",\n value,\n this.costCenterLookupSeparator,\n );\n if (value.costCenter.label.trim() === this.costCenterLookupSeparator.trim()) {\n delete value.costCenter.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, companyIds?: string[]) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.costCenter`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"costCenter\",\n onLookupRequest: (value: string) => this.onCostCenterLookupRequest(value, additionalFilter, companyIds),\n onSearchRequest: (event: any) => this.onCostCenterSearchRequest(event, additionalFilter, companyIds),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCostCenterSearchFields(),\n searchGridFields: this.getCostCenterSearchFields(),\n searchObservable: this.costCenterSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.cost_center_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.costCenterLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCostCenterSearchRequest(event: any, additionalFilter, companyIds: string[]): void {\n this.onCostCenterSearchRequestObservable(event, additionalFilter, companyIds, true)\n .subscribe((data: any) => this.costCenterSearchSubject.next(data));\n }\n\n public onCostCenterSearchRequestObservable(event: any, additionalFilter, companyIds: string[], isDynamicForm: boolean = false) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let costCenterFilterQuery = createSearchRequestFilter(filterData, this.getCostCenterSearchFields());\n costCenterFilterQuery = this.getFiltersDefaultCostCenter(companyIds, costCenterFilterQuery, additionalFilter);\n\n const displayFields = mergeUnique(this.costCenterLookupDisplayFields,\n [...this.costCenterLookupDisplayFields]);\n return this.costCenterService\n .list({ page, sort, filterQuery: costCenterFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.costCenterLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { return getProp(item, field); }\n return item[field];\n })\n .join(this.costCenterLookupSeparator);\n }\n\n public onCostCenterLookupRequest(value: string, additionalFilter, companyIds: string[]): void {\n this.onCostCenterLookupRequestObservable(value, additionalFilter, companyIds)\n .subscribe((data: any) => this.costCenterLookupSubject.next(data.contents));\n }\n\n public onCostCenterLookupRequestObservable(value: string, additionalFilter, companyIds: string[]): Observable<any> {\n const sort = this.costCenterLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let costCenterFilterQuery = createLookupRequestFilter(value, this.getCostCenterSearchFields());\n costCenterFilterQuery = this.getFiltersDefaultCostCenter(companyIds, costCenterFilterQuery, additionalFilter);\n\n const displayFields = mergeUnique(this.costCenterLookupDisplayFields,\n [...this.costCenterLookupDisplayFields]);\n return this.costCenterService\n .list({ sort, filterQuery: costCenterFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.costCenterLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { return getProp(item, field); }\n return item[field];\n })\n .join(this.costCenterLookupSeparator),\n })),\n })),\n );\n }\n public getCostCenterSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_044_ccu_cod_ccu`),\n name: \"codCcu\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_044_ccu_des_ccu`),\n name: \"desCcu\",\n type: FieldType.String,\n }),\n ];\n }\n\n /**\n * Retorna o filtro padrão que é montado nos métodos {@link onCostCenterLookupRequest} e {@link onCostCenterSearchRequest}.\n * Segue as condições estabelecidas por esse método:\n * - O tipo do centro de custo deve ser igual a 'AnalÃtico'.\n * - Caso a busca seja fora de um escopo coletivo, a empresa do centro de custo deve ser igual a empresa do colaborador.\n * @returns Filtro com as devidas condicionais para buscar corretamente os centros de custo\n */\n private getFiltersDefaultCostCenter(companyIds: string[], filterData: string, additionalFilter?: string) {\n const filters = [];\n \n additionalFilter && filters.push(`(${additionalFilter})`);\n filterData && filters.push(`(${filterData})`);\n companyIds?.length && filters.push(`(e070emp.id in (${companyIds.map(id => `'${id}'`)})) and anaSin eq 'VA'`);\n\n return filters.join(' and ');\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { E044Ccu, Employee } from \"../../core\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CostCenterLookupService } from \"./cost-center-lookup.service\";\n\n@Component({\n selector: \"fnd-cost-center-lookup\",\n templateUrl: \"./cost-center-lookup.component.html\",\n})\nexport class CostCenterLookupComponent extends BaseLookupComponent implements OnInit {\n @Input()\n public employee: Employee;\n public costCenterLookupSuggestions: E044Ccu[];\n public costCenterSearchFields: FormField[];\n public costCenterSearchGridFields: FormField[];\n public costCenterSearchGridData: E044Ccu[];\n public costCenterSearchTotalRecords: number;\n\n\n constructor(\n public translate: TranslateService,\n protected collectiveService: CollectiveHistoryFiltersService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private costCenterLookupService: CostCenterLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"costCenter\";\n }\n\n public ngOnInit(): void {\n this.costCenterSearchFields = this.costCenterLookupService.getCostCenterSearchFields();\n this.costCenterSearchGridFields = this.costCenterLookupService.getCostCenterSearchFields();\n }\n\n public onCostCenterLookupRequest(value: string) {\n this.costCenterLookupService\n .onCostCenterLookupRequestObservable(value, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.costCenterLookupSuggestions = list.contents;\n });\n }\n\n public onCostCenterSearchRequest(event: any) {\n this.costCenterLookupService\n .onCostCenterSearchRequestObservable(event, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.costCenterSearchGridData = list.contents;\n this.costCenterSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { E044CcuService } from \"../../core/entities/e-044-ccu/e-044-ccu.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CostCenterLookupComponent } from \"./cost-center-lookup.component\";\nimport { CostCenterLookupService } from \"./cost-center-lookup.service\";\n\n@NgModule({\n declarations: [\n CostCenterLookupComponent],\n exports: [\n CostCenterLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n CostCenterLookupService,\n CollectiveHistoryFiltersService,\n E044CcuService,\n ],\n})\nexport class CostCenterLookupModule {\n}\n\n","export enum SituationEmployee {\n WORKING = \"WORKING\",\n DISMISSED = \"DISMISSED\",\n EVERYONE = \"EVERYONE\"\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\nimport { EmployeeDto } from \"./employee-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { ContractType } from \"../../enums/contract-type\";\nimport { SituationEmployee } from \"../../enums/situation-employee\";\n\n@Injectable()\nexport class EmployeeService extends EntityService<EmployeeDto> {\n\n public contractTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_employee`),\n value: ContractType.EMPLOYEE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_director`),\n value: ContractType.DIRECTOR,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_trainee`),\n value: ContractType.TRAINEE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_aprentice`),\n value: ContractType.APRENTICE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_third_party`),\n value: ContractType.THIRD_PARTY,\n },\n];\n public situationOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_working`),\n value: SituationEmployee.WORKING,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_dismissed`),\n value: SituationEmployee.DISMISSED,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_all`),\n value: SituationEmployee.EVERYONE,\n },\n ];\n\n constructor(protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService,\n ) {\n super(\n http,\n messageService,\n `hcm_contract/employment_contract/entities/employee`,\n `hcm_contract/employment_contract/actions`,\n translate,\n configService,\n );\n }\n\n public listExternalEmployee(listParams: ListParams) {\n return this.http\n .get<EmployeeDto>(\"hcm_contract/employment_contract/entities/employee\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n public getLabelEmployeeRequest = (list: any, displayFields: any[], isDynamicForm: boolean = false) => {\n if (isDynamicForm) {\n return list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n }));\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n })\n }\n }\n\n public getLabelEmployeeSearch = (list: any, displayFields: any[], isDynamicForm: boolean = false) => {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n });\n }\n }\n\n private getLabelEmployeeGeneric(item: any, displayFields: any[]) {\n return displayFields\n .map(field => {\n if (field.indexOf(\".\") > 0) item[field] = this.getProp(item, field);\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(\" - \");\n }\n\n private getProp(obj: any, path: any) {\n return path.split(\".\").reduce((result: any, prop: any) => (result[prop] === undefined ? \"\" : result[prop]), obj);\n }\n\n public loadLabelFromEnum(value: string) {\n const foundEnum = this.contractTypeOptions.filter(r => r.value === value);\n return (foundEnum.length && foundEnum[0].label) || this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EmployeeService } from \"../../core/entities/employee/employee.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\nimport { SituationEmployee } from \"../../core/enums/situation-employee\";\nimport * as moment from 'moment';\n\n@Injectable()\nexport class EmployeeLookupService {\n public employeeLookupDisplayFields = [\"employer.codEmp\", \"employer.nomEmp\", \"code\", \"person.nomPes\", \"employmentRelationship.contractType\"];\n public employeeFieldsForValidation: any[] = [\"hireDate\", \"dismissalDate\", \"modelGroup.id\"];\n public employeeLookupSeparator = \" - \";\n private employeeSearchSubject = new Subject();\n private employeeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n public configService: EntityLookupConfigService,\n private employeeService: EmployeeService) {\n }\n\n public updateSuggestions(value: any) {\n if (value?.employee) {\n if (value.employee?.employmentRelationship?.contractType) {\n value.employee.employmentRelationship.contractTypeLabel = this.employeeService\n .loadLabelFromEnum(value.employee.employmentRelationship.contractType);\n }\n value.employee.label = this.getSuggestionValue(\n [\"employer.codEmp\", \"employer.nomEmp\", \"code\", \"person.nomPes\", \"employmentRelationship.contractTypeLabel\"],\n \"employee\",\n value,\n this.employeeLookupSeparator,\n );\n if (value.employee.label.trim() === this.employeeLookupSeparator.trim()) {\n delete value.employee.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n public getFormField(isCollective?: boolean, companyIds?: string[], additionalFilter?: string): FormField {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"employee\",\n onLookupRequest: (value: string) => this.onEmployeeLookupRequest(value, companyIds, additionalFilter),\n onSearchRequest: (event: any) => this.onEmployeeSearchRequest(event, companyIds, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getEmployeeSearchFields(),\n searchGridFields: this.getEmployeeSearchFields(),\n searchObservable: this.employeeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.employeeLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public getEmployeeSearchFields() {\n return [\n ...this.getEmployeeLookupFields(),\n new FormField({\n label: this.translate\n .instant(`${this.configService.getTranslationPrefix()}.employee_situation`),\n options: this.employeeService.situationOptions,\n defaultValue: SituationEmployee.WORKING,\n name: \"situation\",\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getEmployeeLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_employer_cod_emp`),\n name: \"employer.codEmp\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_person_nom_pes`),\n name: \"person.nomPes\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate\n .instant(`${this.configService.getTranslationPrefix()}.employee_employment_relationship_contract_type`),\n name: \"employmentRelationship.contractType\",\n options: this.employeeService.contractTypeOptions,\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getFieldInLoookupRequestFilter() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_person_nom_pes`),\n name: \"person.nomPes\",\n type: FieldType.String,\n }),\n ];\n }\n\n public onEmployeeSearchRequest(event: any, companyIds: string[], additionalFilter?: string): void {\n this.onEmployeeSearchRequestObservable(event, companyIds, true, additionalFilter)\n .subscribe((data: any) => this.employeeSearchSubject.next(data));\n }\n\n public onEmployeeSearchRequestObservable(event: any, companyIds?: string[], isDynamicForm: boolean = false, additionalFilter?: string) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let employeeFilterQuery = createSearchRequestFilter(filterData, this.getEmployeeLookupFields());\n employeeFilterQuery = this.getFilters({filterData: employeeFilterQuery, additionalFilter}, companyIds, filterData?.situation);\n\n const displayFields = mergeUnique(this.employeeLookupDisplayFields, this.employeeFieldsForValidation);\n return this.employeeService\n .list({ page, sort, filterQuery: employeeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n situation: this.setSituationToEmployee(item.dismissalDate)\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n situation: this.setSituationToEmployee(item.dismissalDate)\n })),\n });\n }\n }\n\n private setSituationToEmployee(dismissalDate): string {\n const nowDate = moment().format('YYYY-MM-DD');\n\n return (dismissalDate > nowDate || !dismissalDate)\n ? SituationEmployee.WORKING\n : SituationEmployee.DISMISSED;\n }\n\n private getLabelForMaping(item) {\n return this.employeeLookupDisplayFields\n .map((field) => { // NOSONAR\n if (field.indexOf(\".\") > 0) { item[field] = getProp(item, field); }\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.employeeService.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(this.employeeLookupSeparator);\n }\n\n public onEmployeeLookupRequest(value: string, companyIds: string[], additionalFilter?: string): void {\n this.onEmployeeLookupRequestObservable(value, companyIds, additionalFilter)\n .subscribe((data: any) => this.employeeLookupSubject.next(data.contents));\n }\n\n public onEmployeeLookupRequestObservable(value: string, companyIds?: string[], additionalFilter?: string) {\n const sort = this.employeeLookupDisplayFields.map((field: any) => ({\n field,\n order: 1,\n }));\n let filterQuery = createLookupRequestFilter(value, this.getFieldInLoookupRequestFilter());\n filterQuery = this.getFilters({filterData: filterQuery, additionalFilter}, companyIds, null, );\n const displayFields = mergeUnique(this.employeeLookupDisplayFields, this.employeeFieldsForValidation);\n return this.employeeService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.employeeLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { item[field] = getProp(item, field); }\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.employeeService.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(this.employeeLookupSeparator),\n })),\n })),\n );\n }\n\n private getFilters(\n filters: {filterData: string, additionalFilter?: string},\n companyIds: string[],\n situationEmployee?: SituationEmployee): string {\n\n const employeeFilters = [];\n\n const nowDate = moment().format('YYYY-MM-DD');\n if (situationEmployee == SituationEmployee.WORKING) {\n employeeFilters.push(`(dismissalDate is null or dismissalDate gt '${nowDate}')`);\n } else if (situationEmployee == SituationEmployee.DISMISSED) {\n employeeFilters.push(`(dismissalDate is not null and dismissalDate le '${nowDate}')`);\n }\n\n filters?.additionalFilter && employeeFilters.push(`(${filters?.additionalFilter})`);\n companyIds?.length && employeeFilters.push(`(employer.id in (${companyIds.map(id => `'${id}'`)}))`);\n filters?.filterData && employeeFilters.push(`(${filters?.filterData})`);\n\n return employeeFilters.join(` and `);\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Employee } from \"../../core/entities/employee/employee\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { EmployeeLookupService } from \"./employee-lookup.service\";\n\n@Component({\n selector: \"fnd-employee-lookup\",\n templateUrl: \"./employee-lookup.component.html\",\n})\nexport class EmployeeLookupComponent extends BaseLookupComponent implements OnInit {\n\n public employeeLookupSuggestions: Employee[];\n public employeeSearchFields: FormField[];\n public employeeSearchGridFields: FormField[];\n public employeeSearchGridData: Employee[];\n public employeeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private employeeLookupService: EmployeeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"employee\";\n }\n\n public ngOnInit(): void {\n this.employeeSearchFields = this.employeeLookupService.getEmployeeSearchFields();\n this.employeeSearchGridFields = this.employeeLookupService.getEmployeeSearchFields();\n }\n\n public onEmployeeLookupRequest(value: string) {\n this.employeeLookupService\n .onEmployeeLookupRequestObservable(value, this.companyIds)\n .subscribe((list: any) => {\n this.employeeLookupSuggestions = list.contents;\n });\n }\n\n public onEmployeeSearchRequest(event: any) {\n this.employeeLookupService\n .onEmployeeSearchRequestObservable(event, this.companyIds)\n .subscribe((list: any) => {\n this.employeeSearchGridData = list.contents;\n this.employeeSearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { EmployeeLookupComponent } from \"./employee-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { EmployeeLookupService } from \"./employee-lookup.service\";\nimport { EmployeeService } from \"../../core/entities/employee/employee.service\";\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n EmployeeLookupComponent,\n ],\n providers: [\n EmployeeLookupService,\n EmployeeService,\n ],\n declarations: [EmployeeLookupComponent],\n})\nexport class EmployeeLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { LocationDto } from \"./location-dto\";\n\n@Injectable()\nexport class LocationService extends EntityService<LocationDto> {\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/location`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { LocationService } from \"../../core/entities/location/location.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class LocationLookupService {\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private locationService: LocationService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public locationLookupDisplayFields = [\"code\", \"name\"];\n public locationLookupSeparator = \" - \";\n\n private locationSearchSubject = new Subject();\n private locationLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.location) {\n value.location.label = this.getSuggestionValue([\"code\", \"name\"], \"location\", value, this.locationLookupSeparator);\n if (value.location.label.trim() === this.locationLookupSeparator.trim()) {\n delete value.location.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"location\",\n onLookupRequest: (value: string) => this.onLocationLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onLocationSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getLocationSearchFields(),\n searchGridFields: this.getLocationSearchFields(),\n searchObservable: this.locationSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.locationLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onLocationSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onLocationSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.locationSearchSubject.next(data));\n }\n\n public onLocationSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let locationFilterQuery = createSearchRequestFilter(filterData, this.getLocationSearchFields());\n locationFilterQuery = getFilterForLookup(locationFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.locationLookupDisplayFields,\n [...this.locationLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.locationService\n .list({ page, sort, filterQuery: locationFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.locationLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.locationLookupSeparator);\n }\n\n public onLocationLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onLocationLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.locationLookupSubject.next(data.contents));\n }\n\n public onLocationLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.locationLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let locationFilterQuery = createLookupRequestFilter(value, this.getLocationSearchFields());\n locationFilterQuery = getFilterForLookup(locationFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.locationLookupDisplayFields,\n [...this.locationLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.locationService\n .list({ sort, filterQuery: locationFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.locationLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.locationLookupSeparator),\n })),\n })),\n );\n }\n public getLocationSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { LocationLookupService } from \"./location-lookup.service\";\n\n@Component({\n selector: \"fnd-location-lookup\",\n templateUrl: \"./location-lookup.component.html\",\n})\nexport class LocationLookupComponent extends BaseLookupComponent implements OnInit {\n public locationLookupSuggestions: Location[];\n public locationSearchFields: FormField[];\n public locationSearchGridFields: FormField[];\n public locationSearchGridData: Location[];\n public locationSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private locationLookupService: LocationLookupService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n public configService: EntityLookupConfigService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"location\";\n this.entity = \"location\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.locationSearchFields = this.locationLookupService.getLocationSearchFields();\n this.locationSearchGridFields = this.locationLookupService.getLocationSearchFields();\n }\n\n public onLocationLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.locationLookupService\n .onLocationLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.locationLookupSuggestions = list.contents;\n });\n } else {\n this.locationLookupSuggestions = [];\n }\n }\n\n public onLocationSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.locationLookupService\n .onLocationSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.locationSearchGridData = list.contents;\n this.locationSearchTotalRecords = list.totalElements;\n });\n } else {\n this.locationSearchGridData = [];\n this.locationSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { LocationService } from \"../../core/entities/location/location.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { LocationLookupComponent } from \"./location-lookup.component\";\nimport { LocationLookupService } from \"./location-lookup.service\";\n\n@NgModule({\n declarations: [\n LocationLookupComponent],\n exports: [\n LocationLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n LocationLookupService,\n LocationService,\n ],\n})\nexport class LocationLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PositionActingTypeDto } from \"./position-acting-type-dto\";\n\n\n@Injectable()\nexport class PositionActingTypeService extends EntityService<PositionActingTypeDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/position/entities/positionActingType`,\n `hcm_foundation/position/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class PositionActingTypeLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private positionActingTypeService: PositionActingTypeService) {\n }\n\n public positionActingTypeLookupSeparator = \" - \";\n private positionActingTypeLookupDisplayFields = [\"code\", \"name\"];\n\n private positionActingTypeSearchSubject = new Subject();\n private positionActingTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.positionActingType) {\n value.positionActingType.label = this.getSuggestionValue(\n [\n \"code\",\n \"name\",\n ],\n \"positionActingType\",\n value,\n this.positionActingTypeLookupSeparator,\n );\n if (value.positionActingType.label.trim() === this.positionActingTypeLookupSeparator.trim()) {\n delete value.positionActingType.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"positionActingType\",\n onLookupRequest: (value: string) => this.onPositionActingTypeLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onPositionActingTypeSearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getPositionActingTypeSearchFields(),\n searchGridFields: this.getPositionActingTypeSearchFields(),\n searchObservable: this.positionActingTypeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.positionActingTypeLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onPositionActingTypeSearchRequest(event: any, additionalFilter): void {\n this.onPositionActingTypeSearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.positionActingTypeSearchSubject.next(data));\n }\n\n public onPositionActingTypeSearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let positionActingTypeFilterQuery = createSearchRequestFilter(filterData, this.getPositionActingTypeSearchFields());\n positionActingTypeFilterQuery = getFilterForLookup(positionActingTypeFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.positionActingTypeLookupDisplayFields,\n [...this.positionActingTypeLookupDisplayFields]);\n return this.positionActingTypeService\n .list({ page, sort, filterQuery: positionActingTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.positionActingTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.positionActingTypeLookupSeparator);\n }\n\n public onPositionActingTypeLookupRequest(value: string, additionalFilter): void {\n this.onPositionActingTypeLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.positionActingTypeLookupSubject.next(data.contents));\n }\n\n public onPositionActingTypeLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.positionActingTypeLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let positionActingTypeFilterQuery = createLookupRequestFilter(value, this.getPositionActingTypeSearchFields());\n positionActingTypeFilterQuery = getFilterForLookup(positionActingTypeFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.positionActingTypeLookupDisplayFields,\n [...this.positionActingTypeLookupDisplayFields]);\n return this.positionActingTypeService\n .list({ sort, filterQuery: positionActingTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.positionActingTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.positionActingTypeLookupSeparator),\n })),\n })),\n );\n }\n\n public getPositionActingTypeSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { PositionActingType } from \"../../core\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { PositionActingTypeLookupService } from \"./position-acting-type-lookup.service\";\n\n@Component({\n selector: \"fnd-position-acting-type-lookup\",\n templateUrl: \"./position-acting-type-lookup.component.html\",\n})\nexport class PositionActingTypeLookupComponent extends BaseLookupComponent implements OnInit {\n public positionActingTypeLookupSuggestions: PositionActingType[];\n public positionActingTypeSearchFields: FormField[];\n public positionActingTypeSearchGridFields: FormField[];\n public positionActingTypeSearchGridData: PositionActingType[];\n public positionActingTypeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private positionActingTypeService: PositionActingTypeService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private positionActingTypeLookupService: PositionActingTypeLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"positionActingType\";\n }\n\n public ngOnInit(): void {\n this.positionActingTypeSearchFields = this.positionActingTypeLookupService.getPositionActingTypeSearchFields();\n this.positionActingTypeSearchGridFields = this.positionActingTypeLookupService.getPositionActingTypeSearchFields();\n }\n\n public onPositionActingTypeLookupRequest(value: string) {\n this.positionActingTypeLookupService\n .onPositionActingTypeLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.positionActingTypeLookupSuggestions = list.contents;\n });\n }\n\n public onPositionActingTypeSearchRequest(event: any) {\n this.positionActingTypeLookupService\n .onPositionActingTypeSearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.positionActingTypeSearchGridData = list.contents;\n this.positionActingTypeSearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { PositionActingTypeLookupComponent } from \"./position-acting-type-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PositionActingTypeLookupService } from \"./position-acting-type-lookup.service\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\n\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n PositionActingTypeLookupComponent,\n\n ],\n providers: [\n PositionActingTypeLookupService,\n PositionActingTypeService,\n ],\n declarations: [\n PositionActingTypeLookupComponent],\n})\nexport class PositionActingTypeLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PositionDto } from \"./position-dto\";\n\n@Injectable()\nexport class PositionService extends EntityService<PositionDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/position/entities/position`,\n `hcm_foundation/position/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { PositionService } from \"../../core/entities/position/position.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter, createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class PositionLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private positionService: PositionService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public positionLookupDisplayFields = [\"code\", \"shortName\"];\n public positionLookupSeparator = \" - \";\n\n private positionSearchSubject = new Subject();\n private positionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.position) {\n value.position.label = this.getSuggestionValue(\n [\n \"code\",\n \"shortName\",\n ],\n \"position\",\n value,\n this.positionLookupSeparator,\n );\n if (value.position.label.trim() === this.positionLookupSeparator.trim()) {\n delete value.position.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"position\",\n onLookupRequest: (value: string) => this.onPositionLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onPositionSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getPositionSearchFields(),\n searchGridFields: this.getPositionSearchFields(),\n searchObservable: this.positionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.positionLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onPositionSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onPositionSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.positionSearchSubject.next(data));\n }\n\n public onPositionSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let positionFilterQuery = createSearchRequestFilter(filterData, this.getPositionSearchFields());\n positionFilterQuery = getFilterForLookup(positionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.positionLookupDisplayFields,\n [...this.positionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.positionService\n .list({ page, sort, filterQuery: positionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.positionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.positionLookupSeparator);\n }\n\n public onPositionLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onPositionLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.positionLookupSubject.next(data.contents));\n }\n\n public onPositionLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.positionLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let positionFilterQuery = createLookupRequestFilter(value, this.getPositionSearchFields());\n positionFilterQuery = getFilterForLookup(positionFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.positionLookupDisplayFields,\n [...this.positionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.positionService\n .list({ sort, filterQuery: positionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.positionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.positionLookupSeparator),\n })),\n })),\n );\n }\n\n public getPositionSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_history_position_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_history_position_name`),\n name: \"shortName\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Position } from \"../../core/entities/position/position\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { PositionLookupService } from \"./position-lookup.service\";\n\n@Component({\n selector: \"fnd-position-lookup\",\n templateUrl: \"./position-lookup.component.html\",\n})\nexport class PositionLookupComponent extends BaseLookupComponent implements OnInit {\n public positionLookupSuggestions: Position[];\n public positionSearchFields: FormField[];\n public positionSearchGridFields: FormField[];\n public positionSearchGridData: Position[];\n public positionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private positionLookupService: PositionLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"position\";\n this.entity = \"position\";\n this.domain = \"hcm_foundation\";\n this.service = \"position\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.positionSearchFields = this.positionLookupService.getPositionSearchFields();\n this.positionSearchGridFields = this.positionLookupService.getPositionSearchFields();\n }\n\n public onPositionLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.positionLookupService\n .onPositionLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.positionLookupSuggestions = list.contents;\n });\n } else {\n this.positionLookupSuggestions = [];\n }\n }\n\n public onPositionSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.positionLookupService\n .onPositionSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.positionSearchGridData = list.contents;\n this.positionSearchTotalRecords = list.totalElements;\n });\n } else {\n this.positionSearchGridData = [];\n this.positionSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { PositionService } from \"../../core/entities/position/position.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PositionLookupComponent } from \"./position-lookup.component\";\nimport { PositionLookupService } from \"./position-lookup.service\";\n\n@NgModule({\n declarations: [\n PositionLookupComponent],\n exports: [\n PositionLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n PositionLookupService,\n PositionService,\n ],\n})\nexport class PositionLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WorkshiftDto } from \"./workshift-dto\";\n\n\n@Injectable()\nexport class WorkshiftService extends EntityService<WorkshiftDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/work_schedule/entities/workshift`,\n `hcm_foundation/work_schedule/actions`,\n translate,\n configService,\n );\n }\n}\n","export enum WorkshiftType {\n PERMANENT = \"PERMANENT\",\n AUTOMATIC_SEARCH = \"AUTOMATIC_SEARCH\",\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { WorkshiftService } from \"../../core/entities/workshift/workshift.service\";\nimport { WorkshiftType } from \"../../core/enums/workshift-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class WorkshiftLookupService {\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public workshiftLookupDisplayFields = [\"code\", \"name\", \"workshiftType\"];\n public workshiftLookupSeparator = \" - \";\n\n public workshiftTypeOptions: { label: string; value: string }[] = [\n {\n label: this.translate.instant(\"hcm_contract.employment_contract.workshift_workshift_type_automatic\"),\n value: WorkshiftType.AUTOMATIC_SEARCH,\n },\n {\n label: this.translate.instant(\"hcm_contract.employment_contract.workshift_workshift_type_permanent\"),\n value: WorkshiftType.PERMANENT,\n },\n ];\n private workshiftSearchSubject = new Subject();\n private workshiftLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private workshiftService: WorkshiftService,\n ) {\n }\n\n private convertWorkshiftType(type: WorkshiftType) {\n switch (type) {\n case WorkshiftType.AUTOMATIC_SEARCH:\n return this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type_automatic`);\n case WorkshiftType.PERMANENT:\n return this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type_permanent`);\n }\n }\n\n public updateSuggestions(value: any) {\n if (value.workshift) {\n value.workshift.workshiftTypeName = this.convertWorkshiftType(value.workshift.workshiftType);\n value.workshift.label = this.getSuggestionValue(\n [\"code\", \"name\", \"workshiftTypeName\"],\n \"workshift\",\n value, this.workshiftLookupSeparator,\n );\n value.workshift.workshiftType = this.convertWorkshiftType(value.workshift.workshiftType);\n if (value.workshift.label.trim() === this.workshiftLookupSeparator.trim()) {\n delete value.workshift.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"workshift\",\n onLookupRequest: (value: string) => this.onWorkshiftLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onWorkshiftSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getWorkshiftSearchFields(),\n searchGridFields: this.getWorkshiftSearchFields(),\n searchObservable: this.workshiftSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.workshiftLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n public onWorkshiftSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onWorkshiftSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.workshiftSearchSubject.next(data));\n }\n\n public onWorkshiftSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let workshiftFilterQuery = createSearchRequestFilter(filterData, this.getWorkshiftSearchFields());\n workshiftFilterQuery = getFilterForLookup(workshiftFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.workshiftLookupDisplayFields,\n [...this.workshiftLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.workshiftService\n .list({ page, sort, filterQuery: workshiftFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n \n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n workshiftType: this.convertWorkshiftType(item.workshiftType),\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.workshiftLookupDisplayFields\n .map((field) => {\n if (field === \"workshiftType\") {\n item.workshiftType = this.convertWorkshiftType(item.workshiftType);\n }\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.workshiftLookupSeparator);\n }\n\n public onWorkshiftLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onWorkshiftLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.workshiftLookupSubject.next(data.contents));\n }\n\n public onWorkshiftLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.workshiftLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftFilterQuery = createLookupRequestFilter(value, this.getWorkshiftSearchFields());\n workshiftFilterQuery = getFilterForLookup(workshiftFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.workshiftLookupDisplayFields,\n [...this.workshiftLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.workshiftService\n .list({ sort, filterQuery: workshiftFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n workshiftType: this.convertWorkshiftType(item.workshiftType),\n label: this.workshiftLookupDisplayFields\n .map((field) => {\n if (field === \"workshiftType\") {\n item.workshiftType = this.convertWorkshiftType(item.workshiftType);\n }\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.workshiftLookupSeparator),\n })),\n })),\n );\n }\n public getWorkshiftSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type`),\n name: \"workshiftType\",\n options: this.workshiftTypeOptions,\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getWorkshiftSearchGridFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type`),\n name: \"workshiftType\",\n type: FieldType.Enum,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Workshift } from \"../../core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WorkshiftLookupService } from \"./workshift-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-workshift-lookup\",\n templateUrl: \"./workshift-lookup.component.html\",\n})\nexport class WorkshiftLookupComponent extends BaseLookupComponent implements OnInit {\n public workshiftLookupSuggestions: Workshift[];\n public workshiftSearchFields: FormField[];\n public workshiftSearchGridFields: FormField[];\n public workshiftSearchGridData: Workshift[];\n public workshiftSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private workshiftLookupService: WorkshiftLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"workshift\";\n this.entity = \"workshift\";\n this.domain = \"hcm_foundation\";\n this.service = \"work_schedule\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.workshiftSearchFields = this.workshiftLookupService.getWorkshiftSearchFields();\n this.workshiftSearchGridFields = this.workshiftLookupService.getWorkshiftSearchGridFields();\n }\n\n public onWorkshiftLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.workshiftLookupService\n .onWorkshiftLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.workshiftLookupSuggestions = list.contents;\n });\n } else {\n this.workshiftLookupSuggestions = [];\n }\n }\n\n public onWorkshiftSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.workshiftLookupService\n .onWorkshiftSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.workshiftSearchGridData = list.contents;\n this.workshiftSearchTotalRecords = list.totalElements;\n });\n } else {\n this.workshiftSearchGridData = [];\n this.workshiftSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { WorkshiftService } from \"../../core/entities/workshift/workshift.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { WorkshiftLookupComponent } from \"./workshift-lookup.component\";\nimport { WorkshiftLookupService } from \"./workshift-lookup.service\";\n\n@NgModule({\n declarations: [\n WorkshiftLookupComponent],\n exports: [\n WorkshiftLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n WorkshiftService,\n WorkshiftLookupService,\n ],\n})\nexport class WorkshiftLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\n\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { JobPositionDto } from \"./job-position-dto\";\n\n@Injectable()\nexport class JobPositionService extends EntityService<JobPositionDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService,\n protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/jobPosition`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { JobPositionService } from \"../../core/entities/job-position/job-position.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class JobPositionLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private jobPositionService: JobPositionService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public jobPositionLookupDisplayFields = [\"code\", \"shortName\"];\n public jobPositionLookupSeparator = \" - \";\n\n private jobPositionSearchSubject = new Subject();\n private jobPositionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value.jobPosition) {\n value.jobPosition.label = this.getSuggestionValue(\n [\"code\", \"shortName\"],\n \"jobPosition\",\n value,\n this.jobPositionLookupSeparator,\n );\n if (value.jobPosition.label.trim() === this.jobPositionLookupSeparator.trim()) {\n delete value.jobPosition.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"jobPosition\",\n onLookupRequest: (value: string) => this.onJobPositionLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onJobPositionSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getJobPositionSearchFields(),\n searchGridFields: this.getJobPositionSearchFields(),\n searchObservable: this.jobPositionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.jobPositionLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onJobPositionSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onJobPositionSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.jobPositionSearchSubject.next(data));\n }\n\n public onJobPositionSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let jobPositionFilterQuery = createSearchRequestFilter(filterData, this.getJobPositionSearchFields());\n jobPositionFilterQuery = getFilterForLookup(jobPositionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.jobPositionLookupDisplayFields,\n [...this.jobPositionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.jobPositionService\n .list({ page, sort, filterQuery: jobPositionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n \n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.jobPositionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.jobPositionLookupSeparator);\n }\n public onJobPositionLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onJobPositionLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.jobPositionLookupSubject.next(data.contents));\n }\n\n public onJobPositionLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.jobPositionLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n let jobPositionFilterQuery = createLookupRequestFilter(value, this.getJobPositionSearchFields());\n jobPositionFilterQuery = getFilterForLookup(jobPositionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.jobPositionLookupDisplayFields,\n [...this.jobPositionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.jobPositionService\n .list({ sort, filterQuery: jobPositionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.jobPositionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.jobPositionLookupSeparator),\n })),\n })),\n );\n }\n public getJobPositionSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_short_description`),\n name: \"shortName\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { JobPosition } from \"../../core/entities/job-position/job-position\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { JobPositionLookupService } from \"./job-position-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-job-position-lookup\",\n templateUrl: \"./job-position-lookup.component.html\",\n})\nexport class JobPositionLookupComponent extends BaseLookupComponent implements OnInit {\n public jobPositionLookupSuggestions: JobPosition[];\n public jobPositionSearchFields: FormField[];\n public jobPositionSearchGridFields: FormField[];\n public jobPositionSearchGridData: JobPosition[];\n public jobPositionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private jobPositionLookupService: JobPositionLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"jobPosition\";\n this.entity = \"jobPosition\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.jobPositionSearchFields = this.jobPositionLookupService.getJobPositionSearchFields();\n this.jobPositionSearchGridFields = this.jobPositionLookupService.getJobPositionSearchFields();\n }\n\n public onJobPositionLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.jobPositionLookupService\n .onJobPositionLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.jobPositionLookupSuggestions = list.contents;\n });\n } else {\n this.jobPositionLookupSuggestions = [];\n }\n }\n\n public onJobPositionSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.jobPositionLookupService\n .onJobPositionSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.jobPositionSearchGridData = list.contents;\n this.jobPositionSearchTotalRecords = list.totalElements;\n });\n } else {\n this.jobPositionSearchGridData = [];\n this.jobPositionSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { JobPositionService } from \"../../core/entities/job-position/job-position.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { JobPositionLookupComponent } from \"./job-position-lookup.component\";\nimport { JobPositionLookupService } from \"./job-position-lookup.service\";\n\n@NgModule({\n declarations: [\n JobPositionLookupComponent],\n exports: [\n JobPositionLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n JobPositionLookupService,\n JobPositionService,\n ],\n})\nexport class JobPositionLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { AnnotationTypeDto } from \"./annotation-type-dto\";\n\n@Injectable()\nexport class AnnotationTypeService extends EntityService<AnnotationTypeDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/annotationType`,\n `hcm_foundation/general/actions`,\n translate,\n configService\n );\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FieldType, FormField } from '@seniorsistemas/angular-components';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { AnnotationTypeService } from '../../core/entities/annotation-type/annotation-type.service';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { \n createSearchRequestFilter,\n createLookupRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique\n} from '../../shared/utils/utils';\n\n@Injectable()\nexport class AnnotationTypeLookupService {\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private annotationTypeService: AnnotationTypeService) {\n }\n\n public annotationTypeAdvancedDisplayFields = [\"code\", \"name\"];\n public annotationTypeLookupDisplayFields = [\"code\", \"name\"];\n public annotationTypeLookupSeparator = \" - \";\n \n private annotationTypeSearchSubject = new Subject();\n private annotationTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n \n public updateSuggestions(value: any) {\n if (value?.annotationType) {\n value.annotationType.label = \n this.getSuggestionValue([\"code\", \"name\"], \"annotationType\", value, this.annotationTypeLookupSeparator);\n if (value.annotationType.label.trim() === this.annotationTypeLookupSeparator.trim()) {\n delete value.annotationType.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map(field => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n public onAnnotationTypeSearchRequest(value: string, additionalFilter, initialFilter): void {\n this.onAnnotationTypeSearchRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.annotationTypeSearchSubject.next(data));\n }\n\n public onAnnotationTypeSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n let filterQuery = createSearchRequestFilter(filterData, this.getAnnotationTypeSearchFields());\n filterQuery = getFilterForLookup(filterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.annotationTypeLookupDisplayFields,\n [...this.annotationTypeLookupDisplayFields]);\n \n return this.annotationTypeService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n\n private getLabelForMaping(item) {\n return this.annotationTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.annotationTypeLookupSeparator);\n }\n\n public onAnnotationTypeLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onAnnotationTypeLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.annotationTypeLookupSubject.next(data));\n }\n\n public onAnnotationTypeLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.annotationTypeLookupDisplayFields.map((field: any) => ({ field, order: 1 }));\n\n let filterQuery = createLookupRequestFilter(value, this.getAnnotationTypeSearchFields());\n filterQuery = getFilterForLookup(filterQuery, additionalFilter, initialFilter);\n const displayFields = this.annotationTypeAdvancedDisplayFields\n return this.annotationTypeService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public getAnnotationTypeSearchFields() {\n return [\n new FormField({\n name: \"code\",\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.annotation_type_code`),\n type: FieldType.Integer,\n }),\n new FormField({\n name: \"name\",\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.annotation_type_name`),\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { AnnotationType } from \"../../core/entities/annotation-type/annotation-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { AnnotationTypeLookupService } from \"./annotation-type-lookup.service\";\n\n@Component({\n selector: \"fnd-annotation-type-lookup\",\n templateUrl: \"./annotation-type-lookup.component.html\",\n})\nexport class AnnotationTypeLookupComponent extends BaseLookupComponent implements OnInit {\n public annotationTypeLookupSuggestions: AnnotationType[];\n public annotationTypeSearchFields: FormField[];\n public annotationTypeSearchGridFields: FormField[];\n public annotationTypeSearchGridData: AnnotationType[];\n public annotationTypeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private annotationTypeLookupService: AnnotationTypeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"annotationType\";\n this.entity = \"annotationType\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.annotationTypeSearchFields = this.annotationTypeLookupService.getAnnotationTypeSearchFields();\n this.annotationTypeSearchGridFields = this.annotationTypeLookupService.getAnnotationTypeSearchFields();\n }\n\n public onAnnotationTypeLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.annotationTypeLookupService\n .onAnnotationTypeLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.annotationTypeLookupSuggestions = list.contents;\n });\n } else {\n this.annotationTypeLookupSuggestions = [];\n }\n }\n\n public onAnnotationTypeSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.annotationTypeLookupService\n .onAnnotationTypeSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.annotationTypeSearchGridData = list.contents;\n this.annotationTypeSearchTotalRecords = list.totalElements;\n });\n } else {\n this.annotationTypeSearchGridData = [];\n this.annotationTypeSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { AnnotationTypeService } from '../../core/entities/annotation-type/annotation-type.service';\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { AnnotationTypeLookupComponent } from './annotation-type-lookup.component';\nimport { AnnotationTypeLookupService } from './annotation-type-lookup.service';\n\n@NgModule({\n declarations: [AnnotationTypeLookupComponent],\n exports: [\n AnnotationTypeLookupComponent\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n AnnotationTypeLookupService,\n AnnotationTypeService\n ]\n})\nexport class AnnotationTypeLookupModule { }\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { SyndicateDto } from \"./syndicate-dto\";\n\n@Injectable()\nexport class SyndicateService extends EntityService<SyndicateDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/syndicate`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class SyndicateLookupService {\n private syndicateLookupDisplayFields = [\"code\", \"name\"];\n public syndicateLookupSeparator = \" - \";\n\n private syndicateSearchSubject = new Subject();\n private syndicateLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private syndicateService: SyndicateService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value.syndicate) {\n value.syndicate.label = this.getSuggestionValue([\"code\", \"name\"], \"syndicate\", value, this.syndicateLookupSeparator);\n if (value.syndicate.label.trim() === this.syndicateLookupSeparator.trim()) {\n delete value.syndicate.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`) + \"\"\n );\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"syndicate\",\n onLookupRequest: (value: string) => this.onSyndicateLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onSyndicateSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getSyndicateSearchFields(),\n searchGridFields: this.getSyndicateSearchFields(),\n searchObservable: this.syndicateSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.syndicateLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onSyndicateSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onSyndicateSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.syndicateSearchSubject.next(data));\n }\n\n public onSyndicateSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let syndicateFilterQuery = createSearchRequestFilter(filterData, this.getSyndicateSearchFields());\n syndicateFilterQuery = getFilterForLookup(syndicateFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.syndicateLookupDisplayFields,\n [...this.syndicateLookupDisplayFields]);\n return this.syndicateService\n .list({ page, sort, filterQuery: syndicateFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n\n private getLabelForMaping(item) {\n return this.syndicateLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.syndicateLookupSeparator);\n }\n\n public onSyndicateLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onSyndicateLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.syndicateLookupSubject.next(data.contents));\n }\n\n public onSyndicateLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.syndicateLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getSyndicateSearchFields());\n workshiftfilterQuery = getFilterForLookup(workshiftfilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.syndicateLookupDisplayFields,\n [...this.syndicateLookupDisplayFields]);\n return this.syndicateService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.syndicateLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.syndicateLookupSeparator),\n })),\n })),\n );\n }\n\n public getSyndicateSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Syndicate } from \"../../core/entities/syndicate/syndicate\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { SyndicateLookupService } from \"./syndicate-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-syndicate-lookup\",\n templateUrl: \"./syndicate-lookup.component.html\",\n})\nexport class SyndicateLookupComponent extends BaseLookupComponent implements OnInit {\n public syndicateLookupSuggestions: Syndicate[];\n public syndicateSearchFields: FormField[];\n public syndicateSearchGridFields: FormField[];\n public syndicateSearchGridData: Syndicate[];\n public syndicateSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private syndicateService: SyndicateService,\n private syndicateLookupService: SyndicateLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"syndicate\";\n this.entity = \"syndicate\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.syndicateSearchFields = this.syndicateLookupService.getSyndicateSearchFields();\n this.syndicateSearchGridFields = this.syndicateLookupService.getSyndicateSearchFields();\n }\n\n public onSyndicateLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.syndicateLookupService\n .onSyndicateLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.syndicateLookupSuggestions = list.contents;\n });\n } else {\n this.syndicateLookupSuggestions = [];\n }\n }\n\n public onSyndicateSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.syndicateLookupService\n .onSyndicateSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.syndicateSearchGridData = list.contents;\n this.syndicateSearchTotalRecords = list.totalElements;\n });\n } else {\n this.syndicateSearchGridData = [];\n this.syndicateSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { SyndicateLookupComponent } from \"./syndicate-lookup.component\";\nimport { SyndicateLookupService } from \"./syndicate-lookup.service\";\n\n@NgModule({\n declarations: [\n SyndicateLookupComponent],\n exports: [\n SyndicateLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n SyndicateService,\n SyndicateLookupService,\n ],\n})\nexport class SyndicateLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { EmploymentRelationshipDto } from \"./employment-relationship-dto\";\n\n@Injectable()\nexport class EmploymentRelationshipService extends EntityService<EmploymentRelationshipDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/employmentRelationship`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EmploymentRelationshipService } from \"../../core/entities/employment-relationship/employment-relationship.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\nimport { Validators } from '@angular/forms';\n\n@Injectable()\nexport class EmploymentRelationshipLookupService {\n private employmentRelationshipLookupDisplayFields = [\"code\", \"name\"];\n public employmentRelationshipLookupSeparator = \" - \";\n\n private employmentRelationshipSearchSubject = new Subject();\n private employmentRelationshipLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private employmentRelationshipService: EmploymentRelationshipService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value.employmentRelationship) {\n value.employmentRelationship.label = this.getSuggestionValue(\n [\"code\", \"name\"],\n \"employmentRelationship\",\n value,\n this.employmentRelationshipLookupSeparator,\n );\n if (value.employmentRelationship.label.trim() === this.employmentRelationshipLookupSeparator.trim()) {\n delete value.employmentRelationship.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`) + \"\"\n );\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"employmentRelationship\",\n onLookupRequest: (value: string) => this.onEmploymentRelationshipLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onEmploymentRelationshipSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getEmploymentRelationshipSearchFields(),\n searchGridFields: this.getEmploymentRelationshipSearchFields(),\n searchObservable: this.employmentRelationshipSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.employmentRelationshipLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onEmploymentRelationshipSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onEmploymentRelationshipSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.employmentRelationshipSearchSubject.next(data));\n }\n\n public onEmploymentRelationshipSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let employmentRelationshipFilterQuery = createSearchRequestFilter(filterData, this.getEmploymentRelationshipSearchFields());\n employmentRelationshipFilterQuery = getFilterForLookup(employmentRelationshipFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.employmentRelationshipLookupDisplayFields,\n [...this.employmentRelationshipLookupDisplayFields]);\n return this.employmentRelationshipService\n .list({ page, sort, filterQuery: employmentRelationshipFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.employmentRelationshipLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.employmentRelationshipLookupSeparator);\n }\n\n public onEmploymentRelationshipLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onEmploymentRelationshipLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.employmentRelationshipLookupSubject.next(data.contents));\n }\n\n public onEmploymentRelationshipLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.employmentRelationshipLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getEmploymentRelationshipSearchFields());\n workshiftfilterQuery = getFilterForLookup(workshiftfilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.employmentRelationshipLookupDisplayFields,\n [...this.employmentRelationshipLookupDisplayFields]);\n return this.employmentRelationshipService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.employmentRelationshipLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.employmentRelationshipLookupSeparator),\n })),\n })),\n );\n }\n\n public getEmploymentRelationshipSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_code`),\n name: \"code\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EmploymentRelationship } from \"../../core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { EmploymentRelationshipLookupService } from \"./employment-relationship-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-employment-relationship-lookup\",\n templateUrl: \"./employment-relationship-lookup.component.html\",\n})\nexport class EmploymentRelationshipLookupComponent extends BaseLookupComponent implements OnInit {\n public employmentRelationshipLookupSuggestions: EmploymentRelationship[];\n public employmentRelationshipSearchFields: FormField[];\n public employmentRelationshipSearchGridFields: FormField[];\n public employmentRelationshipSearchGridData: EmploymentRelationship[];\n public employmentRelationshipSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private employmentRelationshipLookupService: EmploymentRelationshipLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"employmentRelationship\";\n this.entity = \"employmentRelationship\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.employmentRelationshipSearchFields = this.employmentRelationshipLookupService.getEmploymentRelationshipSearchFields();\n this.employmentRelationshipSearchGridFields = this.employmentRelationshipLookupService.getEmploymentRelationshipSearchFields();\n }\n\n public onEmploymentRelationshipLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.employmentRelationshipLookupService\n .onEmploymentRelationshipLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.employmentRelationshipLookupSuggestions = list.contents;\n });\n } else {\n this.employmentRelationshipLookupSuggestions = [];\n }\n }\n\n public onEmploymentRelationshipSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.employmentRelationshipLookupService\n .onEmploymentRelationshipSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.employmentRelationshipSearchGridData = list.contents;\n this.employmentRelationshipSearchTotalRecords = list.totalElements;\n });\n } else {\n this.employmentRelationshipSearchGridData = [];\n this.employmentRelationshipSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { EmploymentRelationshipService } from \"../../core/entities/employment-relationship/employment-relationship.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { EmploymentRelationshipLookupComponent } from \"./employment-relationship-lookup.component\";\nimport { EmploymentRelationshipLookupService } from \"./employment-relationship-lookup.service\";\n\n@NgModule({\n declarations: [\n EmploymentRelationshipLookupComponent],\n exports: [\n EmploymentRelationshipLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n EmploymentRelationshipService,\n EmploymentRelationshipLookupService,\n ],\n})\nexport class EmploymentRelationshipLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\n\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\nimport { E001PesDto } from \"./e-001-pes-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n\n@Injectable()\nexport class E001PesService extends EntityService<E001PesDto> {\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `erpx_fnd/pessoa/entities/e001pes`,\n `erpx_fnd/pessoa/actions`,\n translate,\n configService\n );\n }\n\n public listExternalE001Pes(listParams: ListParams) {\n return this.http\n .get<E001PesDto>(\"erpx_fnd/pessoa/entities/e001pes\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n}\n","import { ChangeDetectorRef, Component, Input } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E001Pes } from \"../../core/entities/e-001-pes/e-001-pes\";\nimport { E001PesService } from \"../../core/entities/e-001-pes/e-001-pes.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { createLookupRequestFilter, getProp, mergeUnique } from \"../../shared/utils/utils\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\n\n@Component({\n selector: \"fnd-person-lookup\",\n templateUrl: \"./person-lookup.component.html\",\n})\nexport class PersonLookupComponent extends BaseLookupComponent {\n @Input()\n public filters: string[] = [];\n\n public personLookupSuggestions: E001Pes[];\n public personAdvancedDisplayFields = [\"id\", \"codPes\", \"nomPes\", \"datNas\"];\n public personLookupDisplayFields = [\"codPes\", \"nomPes\"];\n public personSearchFields: FormField[];\n public personSearchGridFields: FormField[];\n public personSearchGridData: E001Pes[];\n public personSearchTotalRecords: number;\n public personLookupSeparator = \" - \";\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private personService: E001PesService,\n public configService: EntityLookupConfigService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"person\";\n this.personSearchFields = this.getPersonSearchFields();\n this.personSearchGridFields = this.getPersonSearchFields();\n }\n\n public onPersonLookupRequest(value: string) {\n const sort = this.personLookupDisplayFields.map((field: any) => ({\n field,\n order: 1,\n }));\n\n const filterQuery = createLookupRequestFilter(value, this.getPersonSearchFields()); // NOSONAR\n\n const displayFields = mergeUnique(this.personLookupDisplayFields, this.personAdvancedDisplayFields);\n this.personService\n .list({ sort, filterQuery: this.buildFilterQueryWithFilters(filterQuery), displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.personLookupDisplayFields.map(field => {\n if (field.indexOf(\".\") > 0) item[field] = getProp(item, field);\n return item[field];\n })\n .join(this.personLookupSeparator),\n })),\n })),\n )\n .subscribe((list: any) => {\n this.personLookupSuggestions = list.contents;\n this.personSearchTotalRecords = list.totalElements;\n });\n }\n\n private buildFilterQueryWithFilters(filterQuery: string): string {\n if (this.filters?.length) {\n return [...this.filters, ...[filterQuery]].filter(it => it?.length).join(\" and \");\n }\n return filterQuery;\n }\n\n public onPersonSearchRequest(event: any) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n const filterQuery = this.getPersonSearchFields()\n .filter(({ name }) => filterData[name] != undefined && filterData[name] != \"\")\n .map(({ name, type }) => { // NOSONAR\n const value = filterData[name];\n\n if (typeof value == \"number\") return `${name} eq ${value}`;\n else if (type == FieldType.Date) return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n else if (type == FieldType.Time) return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n else if (type == FieldType.DateTime) return `${name} eq '${moment(value).format()}'`;\n else if (type == FieldType.Enum) return `${name} eq '${value}'`;\n else if (type == FieldType.String) return `containing(upper(${name}), upper('${value.replace(/'/g, \"\\\\'\")}'))`;\n else return `${name} eq '${value}'`;\n })\n .join(\" and \");\n\n const displayFields = mergeUnique(this.personLookupDisplayFields, this.personAdvancedDisplayFields);\n this.personService\n .list({ page, sort, filterQuery: this.buildFilterQueryWithFilters(filterQuery), displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.personLookupDisplayFields\n .map(field => { // NOSONAR\n if (field.indexOf(\".\") > 0) item[field] = getProp(item, field);\n return item[field];\n })\n .join(this.personLookupSeparator),\n })),\n })),\n )\n .subscribe((list: any) => {\n this.personSearchGridData = list.contents;\n this.personSearchTotalRecords = list.totalElements;\n });\n }\n\n private getPersonSearchFields(): FormField[] {\n return [\n new FormField({\n name: \"codPes\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_cod`,\n ),\n type: FieldType.Integer,\n }),\n new FormField({\n name: \"nomPes\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_nom`,\n ),\n type: FieldType.String,\n }),\n new FormField({\n name: \"datNas\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_dat`,\n ),\n type: FieldType.Date,\n calendarLocaleOptions: this.locale?.calendar,\n dateFormat: this.locale?.calendar?.dateFormat,\n appendTo: \"body\",\n }),\n ];\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PersonLookupComponent } from \"./person-lookup.component\";\nimport { E001PesService } from \"../../core/entities/e-001-pes/e-001-pes.service\";\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n PersonLookupComponent,\n ],\n providers: [\n E001PesService,\n ],\n declarations: [\n PersonLookupComponent\n ],\n})\nexport class PersonLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WageTypeDto } from \"./wage-type-dto\";\n\n@Injectable()\nexport class WageTypeService extends EntityService<WageTypeDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageType`,\n `hcm_payroll_wage_type/general/actions`,\n translate,\n configService,\n );\n }\n\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { WageTypeService } from \"../../core/entities/wage-type/wage-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class WageTypeLookupService {\n private wageTypeLookupDisplayFields = [\"wageTypeTable.code\", \"wageTypeTable.name\", \"code\", \"shortName\"];\n public wageTypeLookupSeparator = \" - \";\n\n private wageTypeSearchSubject = new Subject();\n private wageTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private wageTypeService: WageTypeService,\n ) {\n }\n\n public setDisplayFields(fields: string[]): void {\n this.wageTypeLookupDisplayFields = fields;\n }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"wageType\",\n onLookupRequest: (value: string) => this.onWageTypeLookupRequest(value),\n onSearchRequest: (event: any) => this.onWageTypeSearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getWageTypeSearchFields(),\n searchGridFields: this.getWageTypeSearchFields(),\n searchObservable: this.wageTypeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.wageTypeLookupSubject,\n type: FieldType.Lookup,\n });\n }\n\n public getWageTypeSearchFields(displayFields?: string[]) {\n const fields = this.getWageTypeLookupFields();\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n private getWageTypeLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_table_code`),\n name: \"wageTypeTable.code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_table_short_name`),\n name: \"wageTypeTable.name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_short_name`),\n name: \"shortName\",\n type: FieldType.String,\n })\n ]\n }\n\n public onWageTypeLookupRequest(event: any) {\n this.onWageTypeLookupRequestObservable(event)\n .subscribe((data: any) => this.wageTypeLookupSubject.next(data.contents));\n }\n\n public onWageTypeLookupRequestObservable(value: string): Observable<{ contents: any[], totalElements: number }> {\n const sort = this.wageTypeLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let wageTypeFilterQuery = createLookupRequestFilter(value, this.getWageTypeSearchFields());\n\n const displayFields = this.wageTypeLookupDisplayFields;\n return this.wageTypeService\n .list({ sort, filterQuery: wageTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onWageTypeSearchRequest(event: any): void {\n this.onWageTypeSearchRequestObservable(event)\n .subscribe((data: any) => this.wageTypeSearchSubject.next(data));\n }\n\n public onWageTypeSearchRequestObservable(event: any) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n const filterQuery = createSearchRequestFilter(filterData, this.getWageTypeSearchFields());\n\n const displayFields = this.wageTypeLookupDisplayFields;\n return this.wageTypeService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.wageTypeLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.wageTypeLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { WageType } from \"../../core/entities/wage-type/wage-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WageTypeLookupService } from \"./wage-type-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"flx-wage-type-lookup\",\n templateUrl: \"wage-type-lookup.component.html\",\n})\nexport class WageTypeLookupComponent extends BaseLookupComponent implements OnInit {\n\n public wageTypeLookupSuggestions: WageType[];\n public wageTypeSearchFields: FormField[];\n public wageTypeSearchGridFields: FormField[];\n public wageTypeSearchGridData: WageType[];\n public wageTypeSearchTotalRecords: number;\n\n @Input()\n public displayFields: string[] = ['wageTypeTable.code', 'wageTypeTable.name', 'code', 'shortName'];\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private wageTypeLookupService: WageTypeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structureService,\n );\n this.controlName = \"wageType\";\n }\n\n public ngOnInit() {\n this.wageTypeLookupService.setDisplayFields(this.displayFields);\n this.wageTypeSearchFields = this.wageTypeLookupService.getWageTypeSearchFields(this.displayFields);\n this.wageTypeSearchGridFields = this.wageTypeLookupService.getWageTypeSearchFields(this.displayFields);\n }\n\n public onWageTypeLookupRequest(value: string) {\n this.wageTypeLookupService\n .onWageTypeLookupRequestObservable(value)\n .subscribe((list) => {\n this.wageTypeLookupSuggestions = list.contents;\n });\n }\n\n public onWageTypeSearchRequest(event: any) {\n this.wageTypeLookupService\n .onWageTypeSearchRequestObservable(event)\n .subscribe((list) => {\n this.wageTypeSearchGridData = list.contents;\n this.wageTypeSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { WageTypeService } from \"../../core/entities/wage-type/wage-type.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { WageTypeLookupComponent } from \"./wage-type-lookup.component\";\nimport { WageTypeLookupService } from \"./wage-type-lookup.service\";\n\n@NgModule({\n declarations: [WageTypeLookupComponent],\n exports: [\n WageTypeLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n WageTypeLookupService,\n WageTypeService,\n ],\n})\nexport class WageTypeLookupModule {\n}\n","export enum CalculationType {\n MONTHLY_PAYROLL = 'MONTHLY_PAYROLL',\n ADVANCE_SALARY = 'ADVANCE_SALARY',\n THIRTEENTH_SALARY = 'THIRTEENTH_SALARY',\n ADVANCE_THIRTEENTH_SALARY = 'ADVANCE_THIRTEENTH_SALARY',\n SUPPLEMENTARY_PAYROLL = 'SUPPLEMENTARY_PAYROLL',\n SUPPLEMENTARY_LABOR_AGREEMENT = \"SUPPLEMENTARY_LABOR_AGREEMENT\",\n SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL = \"SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL\"\n}","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { CalculationDefinitionDto } from './calculation-definition-dto';\nimport { CalculationType } from '../../enums/calculation-type';\n\n@Injectable()\nexport class CalculationDefinitionService extends EntityService<\n CalculationDefinitionDto\n> {\n public calculationTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_monthly_payroll`),\n value: CalculationType.MONTHLY_PAYROLL\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_advance_salary`),\n value: CalculationType.ADVANCE_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_thirteenth_salary`),\n value: CalculationType.THIRTEENTH_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_advance_thirteenth_salary`),\n value: CalculationType.ADVANCE_THIRTEENTH_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_payroll`),\n value: CalculationType.SUPPLEMENTARY_PAYROLL\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_labor_agreement`),\n value: CalculationType.SUPPLEMENTARY_LABOR_AGREEMENT\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_labor_agreement_payroll`),\n value: CalculationType.SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL\n }\n ];\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_foundation/general/entities/calculationDefinition`,\n `hcm_payroll_foundation/general/actions`,\n translate,\n configService\n );\n }\n}","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n CalendarLocaleOptions,\n FieldType,\n FormField\n} from '@seniorsistemas/angular-components';\nimport * as moment from 'moment';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\nimport { CalculationType } from '../../core/enums/calculation-type';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp\n} from '../../shared/utils/utils';\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Injectable()\nexport class CalculationDefinitionLookupService {\n private calculationDefinitionLookupDisplayFields = [\n 'code',\n 'calculationType',\n 'competence',\n 'company.codEmp',\n 'company.nomEmp'\n ];\n public calculationDefinitionLookupSeparator = ' - ';\n\n private calculationDefinitionSearchSubject = new Subject();\n private calculationDefinitionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private calculationDefinitionService: CalculationDefinitionService\n ) { }\n\n public setDisplayFields(fields: string[]): void {\n this.calculationDefinitionLookupDisplayFields = fields;\n }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: 'id',\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition`),\n lookupDisplayField: 'label',\n multiple: false,\n name: 'calculationDefinition',\n onLookupRequest: (value: string) => this.onCalculationDefinitionLookupRequest(value),\n onSearchRequest: (event: any) => this.onCalculationDefinitionSearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCalculationDefinitionSearchFields(),\n searchGridFields: this.getCalculationDefinitionSearchFields(),\n searchObservable: this.calculationDefinitionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.calculationDefinitionLookupSubject,\n type: FieldType.Lookup\n });\n }\n\n public getCalculationDefinitionSearchFields(displayFields?: string[]) {\n const fields = [\n ...this.getCalculationDefinitionLookupFields(),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type`),\n options: this.calculationDefinitionService.calculationTypeOptions,\n defaultOption: CalculationType.MONTHLY_PAYROLL,\n name: 'calculationType',\n type: FieldType.Enum\n })\n ];\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n public getCalculationDefinitionLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.calculation_definition_table_code`\n ),\n name: 'code',\n type: FieldType.Integer\n }),\n new FormField({\n name: 'competence',\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.calculation_definition_competence`\n ),\n type: FieldType.Date,\n view: 'month',\n calendarLocaleOptions: new CalendarLocaleOptions({\n dateFormat: 'mm/yy',\n monthNamesShort: [\"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\", \"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\"]\n })\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_company_code`),\n name: 'company.codEmp',\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_company_name`),\n name: 'company.nomEmp',\n type: FieldType.String\n })\n ];\n }\n\n public onCalculationDefinitionLookupRequest(event: any) {\n this.onCalculationDefinitionLookupRequestObservable(event).subscribe(\n (data: any) =>\n this.calculationDefinitionLookupSubject.next(data.contents)\n );\n }\n\n public onCalculationDefinitionLookupRequestObservable(\n value: string,\n filter?: Filter[]\n ): Observable<{ contents: any[]; totalElements: number }> {\n const sort = this.calculationDefinitionLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(\n value,\n this.getCalculationDefinitionSearchFields()\n );\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.calculationDefinitionLookupDisplayFields;\n return this.calculationDefinitionService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onCalculationDefinitionSearchRequest(event: any): void {\n this.onCalculationDefinitionSearchRequestObservable(event).subscribe(\n (data: any) => this.calculationDefinitionSearchSubject.next(data)\n );\n }\n\n public onCalculationDefinitionSearchRequestObservable(\n event: any,\n filter?: Filter[],\n ) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n let filterQuery = createSearchRequestFilter(\n filterData,\n this.getCalculationDefinitionSearchFields()\n );\n\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.calculationDefinitionLookupDisplayFields;\n return this.calculationDefinitionService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.calculationDefinitionLookupDisplayFields\n .map(field => {\n if (field.indexOf('.') > 0) {\n item[field] = getProp(item, field);\n }\n\n item[field] = this.getFieldForCalculationDefinition(item, field);\n\n return item[field];\n })\n .join(this.calculationDefinitionLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return {\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item)\n }))\n };\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) and `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' and `;\n });\n }\n\n return filterQuery.slice(0, -5);\n }\n\n private setDateForCalculationDefinition(date): string {\n return moment(date).format('MM/YYYY');\n }\n\n private setCalculationDefinitionCalculatioType(calculationType): CalculationType {\n if (Object.values(CalculationType).includes(calculationType as CalculationType)) {\n return this.calculationDefinitionService.calculationTypeOptions\n .find(type => type.value === calculationType).label;\n } else {\n throw new Error(`Invalid CalculationType: ${calculationType}`);\n }\n }\n\n getFieldForCalculationDefinition(item, field) {\n const itemField = item[field];\n switch (field) {\n case 'competence':\n return this.setDateForCalculationDefinition(itemField);\n case 'calculationType':\n return this.setCalculationDefinitionCalculatioType(itemField);\n default:\n return itemField;\n }\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormField } from '@seniorsistemas/angular-components';\nimport { CalculationDefinition } from '../../core/entities/calculation-definition/calculation-definition';\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { StructureFilterService } from '../../shared/services/structure-filter-service';\nimport { BaseLookupComponent } from '../base-lookup/base-lookup.component';\nimport { CalculationDefinitionLookupService } from './calculation-definition-lookup.service';\n\n@Component({\n selector: 'flx-calculation-definition-lookup',\n templateUrl: './calculation-definition-lookup.component.html',\n})\nexport class CalculationDefinitionLookupComponent extends BaseLookupComponent\n implements OnInit {\n @Input()\n public displayFields: string[] = ['code', 'calculationType', 'competence', 'company.codEmp', 'company.nomEmp'];\n @Input()\n public filter: Filter[];\n\n public calculationDefinitionLookupSuggestions: CalculationDefinition[];\n public calculationDefinitionSearchFields: FormField[];\n public calculationDefinitionSearchGridFields: FormField[];\n public calculationDefinitionSearchGridData: CalculationDefinition[];\n public calculationDefinitionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private calculationDefinitionLookupService: CalculationDefinitionLookupService\n ) {\n super(translate, cdRef, configService, structureService);\n this.controlName = 'calculationDefinition';\n }\n\n public ngOnInit(): void {\n this.calculationDefinitionLookupService.setDisplayFields(this.displayFields);\n this.calculationDefinitionSearchFields = this.calculationDefinitionLookupService.getCalculationDefinitionSearchFields(this.displayFields);\n this.calculationDefinitionSearchGridFields = this.calculationDefinitionLookupService.getCalculationDefinitionSearchFields(this.displayFields);\n }\n\n public onCalculationDefinitionLookupRequest(value: string) {\n this.calculationDefinitionLookupService\n .onCalculationDefinitionLookupRequestObservable(value, this.filter)\n .subscribe(list => {\n this.calculationDefinitionLookupSuggestions = list.contents;\n });\n }\n public onCalculationDefinitionSearchRequest(event: any) {\n this.calculationDefinitionLookupService\n .onCalculationDefinitionSearchRequestObservable(event, this.filter)\n .subscribe(list => {\n this.calculationDefinitionSearchGridData = list.contents;\n this.calculationDefinitionSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from '../../shared/shared.module';\nimport { CalculationDefinitionLookupComponent } from './calculation-definition-lookup.component';\nimport { CalculationDefinitionLookupService } from './calculation-definition-lookup.service';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\n\n@NgModule({\n declarations: [CalculationDefinitionLookupComponent],\n exports: [CalculationDefinitionLookupComponent],\n imports: [SharedModule, LoadingStateModule],\n providers: [\n CalculationDefinitionLookupService,\n CalculationDefinitionService\n ]\n})\nexport class CalculationDefinitionLookupModule { }\n","export enum OriginType {\n TYPED = \"TYPED\",\n IMPORTED = \"IMPORTED\",\n CLOCKINGEVENT = \"CLOCKINGEVENT\",\n}","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { VariableEntryDto } from './variable-entry-dto';\nimport { OriginType } from '../../enums/origin-type';\n\n@Injectable()\nexport class VariableEntryService extends EntityService<\n VariableEntryDto\n> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_entry/general/entities/variableEntry`,\n `hcm_payroll_entry/general/actions`,\n translate,\n configService\n );\n }\n public OriginTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_typed`),\n value: OriginType.TYPED\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_imported`),\n value: OriginType.IMPORTED\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_clocking_event`),\n value: OriginType.CLOCKINGEVENT\n },\n ];\n}","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n CalendarLocaleOptions,\n FieldType,\n FormField\n} from '@seniorsistemas/angular-components';\nimport * as moment from 'moment';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\nimport { VariableEntryService } from '../../core/entities/variable-entry/variable-entry.service';\nimport { CalculationType } from '../../core/enums/calculation-type';\nimport { OriginType } from '../../core/enums/origin-type';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp\n} from '../../shared/utils/utils';\n\n@Injectable()\nexport class VariableEntryLookupService {\n private variableEntryLookupDisplayFields = [\n 'calculationDefinition.calculationType',\n 'calculationDefinition.competence',\n 'wageType.code',\n 'wageType.shortName',\n 'originType',\n ];\n public variableEntryLookupSeparator = ' - ';\n\n private variableEntrySearchSubject = new Subject();\n private variableEntryLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private variableEntryService: VariableEntryService,\n private calculationDefinitionService: CalculationDefinitionService\n ) { }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: 'id',\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry`),\n lookupDisplayField: 'label',\n multiple: false,\n name: 'variableEntry',\n onLookupRequest: (value: string) => this.onVariableEntryLookupRequest(value),\n onSearchRequest: (event: any) => this.onVariableEntrySearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getVariableEntrySearchFields(),\n searchGridFields: this.getVariableEntrySearchFields(),\n searchObservable: this.variableEntrySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.variableEntryLookupSubject,\n type: FieldType.Lookup\n });\n } \n \n public setDisplayFields(fields: string[]): void {\n this.variableEntryLookupDisplayFields = fields;\n }\n\n public getVariableEntrySearchFields(displayFields?: string[]) {\n const fields = this.getVariableEntryLookupFields();\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n public getVariableEntryLookupFields() {\n return [\n this.getCalculationDefinitionCalculationTypeField(),\n new FormField({\n name: 'calculationDefinition.competence',\n label: this.translate.instant('hcm_payroll_calculation.manager.calculation_definition_competence'),\n type: FieldType.Date,\n view: 'month',\n calendarLocaleOptions: new CalendarLocaleOptions({\n dateFormat: 'mm/yy',\n monthNamesShort: [\"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\", \"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\"]\n })\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_wage_type_code`),\n name: 'wageType.code',\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_wage_type_short_name`),\n name: 'wageType.shortName',\n type: FieldType.String\n }),\n this.getOriginTypeField()\n\n ];\n }\n\n getCalculationDefinitionCalculationTypeField() {\n return new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculatin_defition_calculation_type`),\n options: this.calculationDefinitionService.calculationTypeOptions,\n defaultOption: CalculationType.MONTHLY_PAYROLL,\n name: 'calculationDefinition.calculationType',\n type: FieldType.Enum\n })\n }\n\n getOriginTypeField() {\n return new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_origin_type`),\n options: this.variableEntryService.OriginTypeOptions,\n defaultOption: OriginType.TYPED,\n name: 'originType',\n type: FieldType.Enum\n })\n }\n\n public onVariableEntryLookupRequest(event: any) {\n this.onVariableEntryLookupRequestObservable(event).subscribe(\n (data: any) =>\n this.variableEntryLookupSubject.next(data.contents)\n );\n }\n\n public onVariableEntryLookupRequestObservable(\n value: string,\n employeeId?: string\n ): Observable<{ contents: any[]; totalElements: number }> {\n const sort = this.variableEntryLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(\n value,\n this.getVariableEntrySearchFields()\n );\n filterQuery = this.getFilters(filterQuery, employeeId);\n\n const displayFields = this.variableEntryLookupDisplayFields;\n return this.variableEntryService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onVariableEntrySearchRequest(event: any): void {\n this.onVariableEntrySearchRequestObservable(event).subscribe(\n (data: any) => this.variableEntrySearchSubject.next(data)\n );\n }\n\n public onVariableEntrySearchRequestObservable(\n event: any,\n employeeId?: string\n ) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(\n filterData,\n this.getVariableEntrySearchFields()\n );\n\n filterQuery = this.getFilters(filterQuery, employeeId);\n\n const displayFields = this.variableEntryLookupDisplayFields;\n return this.variableEntryService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.variableEntryLookupDisplayFields\n .map(field => {\n if (field.indexOf('.') > 0) {\n item[field] = getProp(item, field);\n }\n\n item[field] = this.getFieldForVariableEntry(item, field);\n\n return item[field];\n })\n .join(this.variableEntryLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return {\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item)\n }))\n };\n }\n\n private getFilters(filterData: string, employeeId: string): string {\n let conditionFilterData = filterData ? 'and' : '';\n let filterCompany = employeeId ? `(employee.id eq '${employeeId}')` : '';\n filterData = filterData ? `(${filterData})` : '';\n\n return `${filterData} ${conditionFilterData} ${filterCompany}`;\n }\n\n private setCalculationDefinitionCalculatioType(calculationType): CalculationType {\n if (Object.values(CalculationType).includes(calculationType as CalculationType)) {\n return calculationType as CalculationType;\n } else {\n throw new Error(`Invalid CalculationType: ${calculationType}`);\n }\n }\n \n private setDateForCalculationDefinition(date): string {\n return moment(date).format('MM/YYYY');\n } \n \n private setVariableEntryOriginType(originType): OriginType { \n if (Object.values(OriginType).includes(originType as OriginType)) {\n return originType as OriginType;\n } else {\n throw new Error(`Invalid originType: ${originType}`);\n }\n }\n\n getFieldForVariableEntry(item, field) { \n const itemField = item[field]; \n const fieldName = field.split('.').pop();\n\n\n switch (fieldName) {\n case 'competence':\n return this.setDateForCalculationDefinition(itemField);\n case 'calculationType':\n return this.setCalculationDefinitionCalculatioType(itemField); \n case 'originType':\n return this.setVariableEntryOriginType(itemField);\n default:\n return itemField;\n }\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormField } from '@seniorsistemas/angular-components';\nimport { VariableEntry } from '../../core/entities/variable-entry/variable-entry';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { StructureFilterService } from '../../shared/services/structure-filter-service';\nimport { BaseLookupComponent } from '../base-lookup/base-lookup.component';\nimport { VariableEntryLookupService } from './variable-entry-lookup.service';\n\n@Component({\n selector: 'flx-variable-entry-lookup',\n templateUrl: './variable-entry-lookup.component.html',\n})\nexport class VariableEntryLookupComponent extends BaseLookupComponent\n implements OnInit {\n\n @Input()\n public employeeId: string;\n\n @Input()\n public displayFields: string[] = [\n 'calculationDefinition.calculationType',\n 'calculationDefinition.competence',\n 'wageType.code',\n 'wageType.shortName',\n 'originType',\n ];\n\n public variableEntryLookupSuggestions: VariableEntry[];\n public variableEntrySearchFields: FormField[];\n public variableEntrySearchGridFields: FormField[];\n public variableEntrySearchGridData: VariableEntry[];\n public variableEntrySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private variableEntryLookupService: VariableEntryLookupService\n ) {\n super(translate, cdRef, configService, structureService);\n this.controlName = 'variableEntry';\n }\n\n ngOnInit(): void {\n this.variableEntryLookupService.setDisplayFields(this.displayFields);\n this.variableEntrySearchFields = this.variableEntryLookupService.getVariableEntrySearchFields(this.displayFields);\n this.variableEntrySearchGridFields = this.variableEntryLookupService.getVariableEntrySearchFields(this.displayFields);\n }\n\n public onVariableEntryLookupRequest(value: string) {\n this.variableEntryLookupService\n .onVariableEntryLookupRequestObservable(value, this.employeeId)\n .subscribe(list => {\n this.variableEntryLookupSuggestions = list.contents;\n });\n }\n public onVariableEntrySearchRequest(event: any) {\n this.variableEntryLookupService\n .onVariableEntrySearchRequestObservable(event, this.employeeId)\n .subscribe(list => {\n this.variableEntrySearchGridData = list.contents;\n this.variableEntrySearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from '../../shared/shared.module';\nimport { VariableEntryLookupComponent } from './variable-entry-lookup.component';\nimport { VariableEntryLookupService } from './variable-entry-lookup.service';\nimport { VariableEntryService } from '../../core/entities/variable-entry/variable-entry.service';\n\n@NgModule({\n declarations: [VariableEntryLookupComponent],\n exports: [VariableEntryLookupComponent],\n imports: [SharedModule, LoadingStateModule],\n providers: [\n VariableEntryLookupService,\n VariableEntryService\n ]\n})\nexport class VariableEntryLookupModule { }\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { MessageService } from 'primeng/api';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { ESocialCategoryDto } from './esocial-category-dto';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\n\n@Injectable()\nexport class ESocialCategoryService extends EntityService<ESocialCategoryDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `tax_obligation/shared/entities/eSocialCategory`,\n `tax_obligation/shared/actions`,\n translate,\n configService\n );\n }\n}\n","import { NgModule } from '@angular/core';\nimport { PermissionsModule } from '@seniorsistemas/platform-components';\nimport { ESocialCategoryService } from './esocial-category.service';\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: 'eSocialCategory',\n actions: ['Visualizar', 'Incluir', 'Editar', 'Excluir'],\n uri: `res://senior.com.br/tax_obligation/shared/entities/eSocialCategory`,\n },\n ])\n ],\n providers: [\n ESocialCategoryService\n ]\n})\nexport class ESocialCategoryModule {}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\n\n@Injectable()\nexport class ESocialCategoryLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private esocialCategoryService: ESocialCategoryService) {\n }\n\n public esocialCategoryLookupSeparator = \" - \";\n private esocialCategoryLookupDisplayFields = [\"code\", \"description\"];\n\n private esocialCategorySearchSubject = new Subject();\n private esocialCategoryLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.esocialCategory) {\n value.esocialCategory.label = this.getSuggestionValue(\n [\n \"code\",\n \"description\",\n ],\n \"esocialCategory\",\n value,\n this.esocialCategoryLookupSeparator,\n );\n if (value.esocialCategory.label.trim() === this.esocialCategoryLookupSeparator.trim()) {\n delete value.esocialCategory.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"esocialCategory\",\n onLookupRequest: (value: string) => this.onESocialCategoryLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onESocialCategorySearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getESocialCategorySearchFields(),\n searchGridFields: this.getESocialCategorySearchFields(),\n searchObservable: this.esocialCategorySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.esocialCategoryLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onESocialCategorySearchRequest(event: any, additionalFilter): void {\n this.onESocialCategorySearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.esocialCategorySearchSubject.next(data));\n }\n\n public onESocialCategorySearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let esocialCategoryFilterQuery = createSearchRequestFilter(filterData, this.getESocialCategorySearchFields());\n esocialCategoryFilterQuery = getFilterForLookup(esocialCategoryFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.esocialCategoryLookupDisplayFields,\n [...this.esocialCategoryLookupDisplayFields]);\n return this.esocialCategoryService\n .list({ page, sort, filterQuery: esocialCategoryFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.esocialCategoryLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.esocialCategoryLookupSeparator);\n }\n\n public onESocialCategoryLookupRequest(value: string, additionalFilter): void {\n this.onESocialCategoryLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.esocialCategoryLookupSubject.next(data.contents));\n }\n\n public onESocialCategoryLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.esocialCategoryLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let esocialCategoryFilterQuery = createLookupRequestFilter(value, this.getESocialCategorySearchFields());\n esocialCategoryFilterQuery = getFilterForLookup(esocialCategoryFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.esocialCategoryLookupDisplayFields,\n [...this.esocialCategoryLookupDisplayFields]);\n return this.esocialCategoryService\n .list({ sort, filterQuery: esocialCategoryFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.esocialCategoryLookupDisplayFields\n .map((field) => {\n if (field === \"description\" && !item.description) {\n item.description = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.esocialCategoryLookupSeparator),\n })),\n })),\n );\n }\n\n public getESocialCategorySearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_name`),\n name: \"description\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\nimport { ESocialCategory } from \"../../core/entities/e-social-category/esocial-category\";\nimport { ESocialCategoryLookupService } from \"./esocial-category-lookup.service\";\n\n@Component({\n selector: \"flx-esocial-category-lookup\",\n templateUrl: \"./esocial-category-lookup.component.html\",\n})\nexport class ESocialCategoryLookupComponent extends BaseLookupComponent implements OnInit {\n public esocialCategoryLookupSuggestions: ESocialCategory[];\n public esocialCategorySearchFields: FormField[];\n public esocialCategorySearchGridFields: FormField[];\n public esocialCategorySearchGridData: ESocialCategory[];\n public esocialCategorySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private esocialCategoryService: ESocialCategoryService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private esocialCategoryLookupService: ESocialCategoryLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"esocialCategory\";\n }\n\n public ngOnInit(): void {\n this.esocialCategorySearchFields = this.esocialCategoryLookupService.getESocialCategorySearchFields();\n this.esocialCategorySearchGridFields = this.esocialCategoryLookupService.getESocialCategorySearchFields();\n }\n\n public onESocialCategoryLookupRequest(value: string) {\n this.esocialCategoryLookupService\n .onESocialCategoryLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.esocialCategoryLookupSuggestions = list.contents;\n });\n }\n\n public onESocialCategorySearchRequest(event: any) {\n this.esocialCategoryLookupService\n .onESocialCategorySearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.esocialCategorySearchGridData = list.contents;\n this.esocialCategorySearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { ESocialCategoryModule } from \"../../core/entities/e-social-category/esocial-category.module\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { ESocialCategoryLookupComponent } from \"./esocial-category-lookup.component\";\nimport { ESocialCategoryLookupService } from \"./esocial-category-lookup.service\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\n\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ESocialCategoryModule\n ],\n exports: [\n ESocialCategoryLookupComponent,\n ],\n providers: [\n ESocialCategoryLookupService,\n ESocialCategoryService,\n ],\n declarations: [\n ESocialCategoryLookupComponent\n ],\n})\nexport class ESocialCategoryLookupModule {\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WageTypePayrollDto } from \"./wage-type-payroll-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class WageTypePayrollService extends EntityService<WageTypePayrollDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageTypePayroll`,\n `hcm_payroll_wage_type/general/actions/wageTypePayroll`,\n translate,\n configService\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { WageTypePayrollService } from \"../../core/entities/wage-type-payroll/wage-type-payroll.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Injectable()\nexport class WageTypePayrollLookupService {\n\n private wageTypePayrollLookupDisplayFields = [\"wageType.code\", \"wageType.shortName\"];\n public wageTypePayrollLookupSeparator = \" - \";\n\n private wageTypePayrollSerchSubject = new Subject();\n private wageTypePayrollLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private wageTypePayrollService: WageTypePayrollService\n ) {\n }\n\n public onWageTypePayrollLookupRequest(event: string) {\n this.onWageTypePayrollLookupRequestObservable(event)\n .subscribe((data: any) => this.wageTypePayrollLookupSubject.next(data.contents));\n }\n\n public onWageTypePayrollLookupRequestObservable(value: string, filter?: Filter[]): Observable<{ contents: any[], totalElements: number}> {\n const sort = this.wageTypePayrollLookupDisplayFields.map(\n (field: any) => ({\n field, \n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(value, this.getWageTypePayrollSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.wageTypePayrollLookupDisplayFields;\n\n return this.wageTypePayrollService\n .list({ sort, filterQuery, displayFields})\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onWageTypePayrollSearchRequest(event: any) {\n this.onWageTypePayrollSearchRequestObservable(event)\n .subscribe((data: any) => this.wageTypePayrollSerchSubject.next(data));\n }\n\n public onWageTypePayrollSearchRequestObservable(event: any, filter?: Filter[]) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(filterData, this.getWageTypePayrollSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.wageTypePayrollLookupDisplayFields;\n\n return this.wageTypePayrollService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public getWageTypePayrollSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_code`),\n name: \"wageType.code\",\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_short_name`),\n name: \"wageType.shortName\",\n type: FieldType.String\n }),\n ];\n }\n\n private getLabelForMapping(item: any) {\n return this.wageTypePayrollLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.wageTypePayrollLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) or `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' or `;\n });\n }\n\n return filterQuery.slice(0, -4);\n }\n\n}","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WageTypePayroll } from \"../../core/entities/wage-type-payroll/wage-type-payroll\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { WageTypePayrollLookupService } from \"./wage-type-payroll-lookup.service\";\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Component({\n selector: \"flx-wage-type-payroll-lookup\",\n templateUrl: \"wage-type-payroll-lookup.component.html\",\n})\nexport class WageTypePayrollLookupComponent extends BaseLookupComponent implements OnInit {\n\n @Input()\n public filter: Filter[];\n\n public wageTypePayrollLookupSuggestions: WageTypePayroll[];\n public wageTypePayrollSearchFields: FormField[];\n public wageTypePayrollSearchGridFields: FormField[];\n public wageTypePayrollSearchGridData: WageTypePayroll[];\n public wageTypePayrollSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structurService: StructureFilterService,\n private wageTypePayrollLookupService: WageTypePayrollLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structurService,\n );\n this.controlName = \"wageTypePayroll\";\n }\n\n public ngOnInit() {\n this.wageTypePayrollSearchFields = this.wageTypePayrollLookupService.getWageTypePayrollSearchFields();\n this.wageTypePayrollSearchGridFields = this.wageTypePayrollLookupService.getWageTypePayrollSearchFields();\n }\n\n public onWageTypePayrollLookupRequest(value: string) {\n this.wageTypePayrollLookupService\n .onWageTypePayrollLookupRequestObservable(value, this.filter)\n .subscribe((list) => {\n this.wageTypePayrollLookupSuggestions = list.contents;\n });\n }\n\n public onWageTypePayrollSearchRequest(event: any) {\n this.wageTypePayrollLookupService\n .onWageTypePayrollSearchRequestObservable(event, this.filter)\n .subscribe((list) => {\n this.wageTypePayrollSearchGridData = list.contents;\n this.wageTypePayrollSearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from \"@angular/core\";\nimport { WageTypePayrollLookupComponent } from \"./wage-type-payroll-lookup.component\";\nimport { WageTypePayrollService } from \"../../core/entities/wage-type-payroll/wage-type-payroll.service\";\nimport { WageTypePayrollLookupService } from \"./wage-type-payroll-lookup.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\n\n@NgModule({\n declarations: [WageTypePayrollLookupComponent],\n exports: [\n WageTypePayrollLookupComponent\n ],\n imports: [\n SharedModule\n ],\n providers: [\n WageTypePayrollLookupService,\n WageTypePayrollService\n ]\n})\nexport class WageTypePayrollLookupModule {\n\n}","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { ProjectConfigs, ProjectConfigsInjectionToken } from \"./core/dto/project-config\";\n\n@NgModule({\n providers: []\n})\nexport class EntityLookupModule {\n static forRoot(config: ProjectConfigs): ModuleWithProviders<EntityLookupModule> {\n return {\n ngModule: EntityLookupModule,\n providers: [\n {\n provide: ProjectConfigsInjectionToken,\n useValue: config\n }\n ]\n };\n }\n}\n\n","export const fallback: any = {\n \"hcm_contract.employment_additional_info.e_001_pes_cod\": \"Código\",\n \"hcm_contract.employment_additional_info.e_001_pes_nom\": \"Nome\",\n \"hcm_contract.employment_additional_info.e_001_pes_dat\": \"Data de nascimento\",\n \"hcm_contract.employment_additional_info.e_044_ccu_cod_ccu\": \"Código\",\n \"hcm_contract.employment_additional_info.e_044_ccu_des_ccu\": \"Descrição\",\n \"hcm_contract.employment_additional_info.e_070_fil_cod_fil\": \"Código\",\n \"hcm_contract.employment_additional_info.e_070_fil_nom_fil\": \"Nome\",\n \"hcm_contract.employment_additional_info.data_person_id_lookup_title\": \"Localizar a pessoa\",\n \"hcm_contract.employment_additional_info.cost_center_history_cost_center_search_title\": \"Localizar o centro de custo\",\n \"hcm_contract.employment_additional_info.employee_employer_cod_emp\": \"Código da empresa\",\n \"hcm_contract.employment_additional_info.employee_employment_relationship_contract_type\": \"Tipo de contrato\",\n \"hcm_contract.employment_additional_info.employee_person_nom_pes\": \"Nome do colaborador\",\n \"hcm_contract.employment_additional_info.company_branch_history_company_branch_search_title\": \"Localizar a filial\",\n \"hcm_contract.employment_additional_info.company_branch_history_employee_search_title\": \"Localizar o colaborador\",\n \"hcm_contract.employment_additional_info.employee\": \"Empregado\",\n \"hcm_contract.employment_additional_info.employee_code\": \"Código\",\n \"hcm_contract.employment_additional_info.employer_name\": \"Nome da empresa\",\n \"hcm_contract.employment_additional_info.position_acting_type_code\": \"Código\",\n \"hcm_contract.employment_additional_info.position_acting_type_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.position_history_position_code\": \"Código\",\n \"hcm_contract.employment_additional_info.position_history_position_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.location_code\": \"Código\",\n \"hcm_contract.employment_additional_info.location_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.filter\": \"Filtrar\",\n \"hcm_contract.employment_additional_info.filters\": \"Filtros\",\n \"hcm_contract.employment_additional_info.cancel\": \"Cancelar\",\n \"hcm_contract.employment_additional_info.clear\": \"Limpar\",\n \"hcm_contract.employment_additional_info.select\": \"Selecionar\",\n \"hcm_contract.employment_additional_info.nothing_found\": \"Nenhum registro encontrado\",\n \"hcm_contract.employment_additional_info.total_records\": \"{{value}} registro(s) encontrado(s)\",\n \"hcm_contract.employment_additional_info.error_unauthorized_title\": \"Não autorizado.\",\n \"hcm_contract.employment_additional_info.structure_empty_title\": \"Empresa sem estrutura de {{entity}}\",\n \"hcm_contract.employment_additional_info.structure_empty_message\": \"Você precisa cadastrar uma estrutura de {{entity}} na empresa selecionada, posterior ou igual a data {{startDate}}\",\n \"hcm_contract.employment_additional_info.employee_situation\": \"Situação\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_working\": \"Trabalhando\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_dismissed\": \"Desligado\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_all\": \"Todos\"\n};\n","const projectInfo = {\n app: \"gestao-pessoas\",\n domain: \"hcm_entity\",\n service: \"lookups\",\n};\n\nexport const environment: any = {\n name: \"@senior-gestao-pessoas/hcm-entity-lookups\",\n project: projectInfo,\n production: false,\n ignorePermissions: false,\n};\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { CompanyBranchIndicationsDto } from \"./company-branch-indications-dto\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class CompanyBranchIndicationsService extends EntityService<CompanyBranchIndicationsDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/companyBranchIndications`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalCompanyBranchIndications(listParams: ListParams) {\n return this.http\n .get<CompanyBranchIndicationsDto>(\"hcm_foundation/general/entities/companyBranchIndications\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { CompanyBranchIndicationsService } from \"./company-branch-indications.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"companyBranchIndications\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/companyBranchIndications`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n CompanyBranchIndicationsService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class CompanyBranchIndicationsModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E001PesService } from \"./e-001-pes.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e001pes\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/pessoa/entities/e001pes`,\n },\n ]),\n ],\n providers: [\n E001PesService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class E001PesModule { }\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { E030AgeDto } from \"./e-030-age-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E030AgeService extends EntityService<E030AgeDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/e030age`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE030Age(listParams: ListParams) {\n return this.http\n .get<E030AgeDto>(\"erpx_fnd/financeiro/entities/e030age\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E030AgeService } from \"./e-030-age.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e030age\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/financeiro/entities/e030age`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E030AgeService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E030AgeModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { E030BanDto } from \"./e-030-ban-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E030BanService extends EntityService<E030BanDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/e030ban`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE030Ban(listParams: ListParams) {\n return this.http\n .get<E030BanDto>(\"erpx_fnd/financeiro/entities/e030ban\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E030BanService } from \"./e-030-ban.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e030ban\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/financeiro/entities/e030ban`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E030BanService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E030BanModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E044CcuService } from \"./e-044-ccu.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e044ccu\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fin_rat/foundation/entities/e044ccu`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E044CcuService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E044CcuModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E070EmpService } from \"./e-070-emp.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e070emp\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/empresa/entities/e070emp`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E070EmpService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E070EmpModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E070FilService } from \"./e-070-fil.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e070fil\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/empresa/entities/e070fil`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E070FilService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E070FilModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { EmployeeService } from \"./employee.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"employee\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/employee`,\n },\n ]),\n ],\n providers: [\n EmployeeService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class EmployeeModule { }\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { EmploymentRelationshipService } from \"./employment-relationship.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"employmentRelationship\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/employmentRelationship`,\n },\n ]),\n ],\n providers: [\n EmploymentRelationshipService,\n ],\n exports: [\n ],\n})\nexport class EmploymentRelationshipModule {}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { HolidayGroupDto } from \"./holiday-group-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class HolidayGroupService extends EntityService<HolidayGroupDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/holidayGroup`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalHolidayGroup(listParams: ListParams) {\n return this.http\n .get<HolidayGroupDto>(\"hcm_foundation/general/entities/holidayGroup\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { HolidayGroupService } from \"./holiday-group.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"holidayGroup\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/holidayGroup`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n HolidayGroupService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class HolidayGroupModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { HolidayDto } from \"./holiday-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class HolidayService extends EntityService<HolidayDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/holiday`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalHoliday(listParams: ListParams) {\n return this.http\n .get<HolidayDto>(\"hcm_foundation/general/entities/holiday\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { HolidayService } from \"./holiday.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"holiday\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/holiday`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n HolidayService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class HolidayModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { JobPositionService } from \"./job-position.service\";\n\n@NgModule({\n declarations: [],\n exports: [\n ],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"jobPosition\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/jobPosition`,\n },\n ]),\n ],\n providers: [\n JobPositionService,\n ],\n})\nexport class JobPositionModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { LocationStructureDto } from \"./location-structure-dto\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class LocationStructureService extends EntityService<LocationStructureDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/locationStructure`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate, \n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalLocationStructure(listParams: ListParams) {\n return this.http\n .get<LocationStructureDto>(\"hcm_foundation/general/entities/locationStructure\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { LocationStructureService } from \"./location-structure.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"locationStructure\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/locationStructure`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n LocationStructureService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class LocationStructureModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { LocationService } from \"./location.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"location\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/general/entities/location`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n LocationService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class LocationModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { PositionActingTypeService } from \"./position-acting-type.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"positionActingType\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/position/entities/positionActingType`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n PositionActingTypeService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class PositionActingTypeModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { PositionService } from \"./position.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"position\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/position/entities/position`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n PositionService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class PositionModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { SyndicateService } from \"./syndicate.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"syndicate\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/syndicate`,\n },\n ]),\n ],\n providers: [\n SyndicateService,\n ],\n})\nexport class SyndicateModule {\n}\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { WageTypeService } from \"./wage-type.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"wageType\",\n uri: `res://senior.com.br/hcm_payroll_wage_type/general/entities/wageType`,\n },\n ]),\n ],\n providers: [\n WageTypeService,\n ],\n})\nexport class WageTypeModule {}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WorkshiftGroupDto } from \"./workshift-group-dto\";\n\n@Injectable()\nexport class WorkshiftGroupService extends EntityService<WorkshiftGroupDto> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/work_schedule/entities/workshiftGroup`,\n `hcm_foundation/work_schedule/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { WorkshiftGroupService } from \"./workshift-group.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"workshiftGroup\",\n uri: `res://senior.com.br/hcm_foundation/work_schedule/entities/workshiftGroup`,\n },\n ]),\n ],\n providers: [\n WorkshiftGroupService,\n ],\n})\nexport class WorkshiftGroupModule {\n}\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { WorkshiftService } from \"./workshift.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"workshift\",\n uri: `res://senior.com.br/hcm_foundation/work_schedule/entities/workshift`,\n },\n ]),\n ],\n providers: [\n WorkshiftService,\n ],\n})\nexport class WorkshiftModule {\n}\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { AnnotationTypeService } from \"../annotation-type/annotation-type.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"annotationType\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/general/entities/annotationType`,\n },\n ]),\n ],\n providers: [\n AnnotationTypeService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class AnnotationTypeModule { }\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { VariableEntryService } from \"./variable-entry.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"variableEntry\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_entry/general/entities/variableEntry`,\n },\n ]),\n ],\n providers: [\n VariableEntryService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class VariableEntryModule { }","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { CalculationDefinitionService } from \"./calculation-definition.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"calculationDefition\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_foundation/general/entities/calculationDefition`,\n },\n ]),\n ],\n providers: [\n CalculationDefinitionService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class CalculationDefinitionModule { }","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { WageTypePayrollService } from \"./wage-type-payroll.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"wageTypePayroll\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_wage_type/general/entities/wageTypePayroll`,\n },\n ]),\n ],\n providers: [\n WageTypePayrollService,\n ],\n})\nexport class WageTypePayrollModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CompanyBranchIndicationsModule } from \"./entities/company-branch-indications/company-branch-indications.module\";\nimport { E001PesModule } from \"./entities/e-001-pes/e-001-pes.module\";\nimport { E030AgeModule } from \"./entities/e-030-age/e-030-age.module\";\nimport { E030BanModule } from \"./entities/e-030-ban/e-030-ban.module\";\nimport { E044CcuModule } from \"./entities/e-044-ccu/e-044-ccu.module\";\nimport { E070EmpModule } from \"./entities/e-070-emp/e-070-emp.module\";\nimport { E070FilModule } from \"./entities/e-070-fil/e-070-fil.module\";\nimport { EmployeeModule } from \"./entities/employee/employee.module\";\nimport { EmploymentRelationshipModule } from \"./entities/employment-relationship/employment-relationship.module\";\nimport { HolidayGroupModule } from \"./entities/holiday-group/holiday-group.module\";\nimport { HolidayModule } from \"./entities/holiday/holiday.module\";\nimport { JobPositionModule } from \"./entities/job-position/job-position.module\";\nimport { LocationStructureModule } from \"./entities/location-structure/location-structure.module\";\nimport { LocationModule } from \"./entities/location/location.module\";\nimport { PositionActingTypeModule } from \"./entities/position-acting-type/position-acting-type.module\";\nimport { PositionModule } from \"./entities/position/position.module\";\nimport { SyndicateModule } from \"./entities/syndicate/syndicate.module\";\nimport { WageTypeModule } from \"./entities/wage-type/wage-type.module\";\nimport { WorkshiftGroupModule } from \"./entities/workshift-group/workshift-group.module\";\nimport { WorkshiftModule } from \"./entities/workshift/workshift.module\";\nimport { AnnotationTypeModule } from \"./entities/annotation-type/annotation-type.module\";\nimport { VariableEntryModule } from \"./entities/variable-entry/variable-entry.module\";\nimport { CalculationDefinitionModule } from \"./entities/calculation-definition/calculation-defition.module\";\nimport { WageTypePayrollModule } from \"./entities/wage-type-payroll/wage-type-payroll.module\";\n\n@NgModule({\n imports: [\n CompanyBranchIndicationsModule,\n E030AgeModule,\n E030BanModule,\n E044CcuModule,\n E070EmpModule,\n E070FilModule,\n HolidayModule,\n HolidayGroupModule,\n LocationModule,\n LocationStructureModule,\n PositionActingTypeModule,\n PositionModule,\n E001PesModule,\n EmployeeModule,\n JobPositionModule,\n WorkshiftModule,\n WorkshiftGroupModule,\n WageTypeModule,\n AnnotationTypeModule,\n SyndicateModule,\n VariableEntryModule,\n CalculationDefinitionModule,\n EmploymentRelationshipModule,\n WageTypePayrollModule\n ],\n})\nexport class CoreLookupModule {\n}\n","import * as moment_ from \"moment\";\nimport { HolidayDto } from \"./holiday-dto\";\n\nconst moment = moment_;\n\nexport class Holiday {\n public id?: string;\n public name: string;\n public day: number;\n public month: number;\n public year?: number;\n public holidayGroup?: any[];\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(holidayDto: HolidayDto, originEntity?: string): Holiday {\n const model: any = { ...holidayDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"name\",\n \"day\",\n \"month\",\n \"year\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n\n return model as Holiday;\n }\n\n public static toDto(holiday: Holiday, originEntity?: string): HolidayDto {\n const dto: any = { ...holiday };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { Holiday } from \"../holiday\";\nimport { HolidayGroupDto } from \"./holiday-group-dto\";\n\nconst moment = moment_;\n\nexport class HolidayGroup {\n public id?: string;\n public code: number;\n public name: string;\n public holiday?: Holiday[];\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(holidayGroupDto: HolidayGroupDto, originEntity?: string): HolidayGroup {\n const model: any = { ...holidayGroupDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"Holiday\" && model.holiday)\n model.holiday = Object.values(model.holiday).map((item: any) => Holiday.fromDto(item, \"HolidayGroup\"));\n\n return model as HolidayGroup;\n }\n\n public static toDto(holidayGroup: HolidayGroup, originEntity?: string): HolidayGroupDto {\n const dto: any = { ...holidayGroup };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"Holiday\" && dto.holiday)\n dto.holiday = Object.values(dto.holiday)\n .map((item: any) => Holiday.toDto(item, \"HolidayGroup\"))\n .filter(item => Object.keys(item).length);\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment from \"moment\";\nimport { CompanyBranchIndicationsDto } from \"./company-branch-indications-dto\";\nimport { HolidayGroup } from \"../holiday-group/holiday-group\";\nimport { E070FilDto } from \"../e-070-fil\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\nexport class CompanyBranchIndications {\n public id?: string;\n public nightlyHolidayGroup?: HolidayGroup;\n public daytimeHolidayGroup?: HolidayGroup;\n public companyBranch?: E070FilDto;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(companyBranchIndicationsDto: CompanyBranchIndicationsDto, originEntity?: string): CompanyBranchIndications {\n const model: any = { ...companyBranchIndicationsDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"id\", \"deleted\", \"extIntSts\", \"extIntMsg\", \"createdBy\", \"createdDate\", \"lastModifiedBy\", \"lastModifiedDate\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"HolidayGroup\" && model.nightlyHolidayGroup)\n model.nightlyHolidayGroup = HolidayGroup.fromDto(model.nightlyHolidayGroup, \"CompanyBranchIndications\");\n if (originEntity !== \"HolidayGroup\" && model.daytimeHolidayGroup)\n model.daytimeHolidayGroup = HolidayGroup.fromDto(model.daytimeHolidayGroup, \"CompanyBranchIndications\");\n\n return model as CompanyBranchIndications;\n }\n\n public static toDto(companyBranchIndications: CompanyBranchIndications, originEntity?: string): CompanyBranchIndicationsDto {\n const dto: any = { ...companyBranchIndications };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"HolidayGroup\" && dto.nightlyHolidayGroup)\n dto.nightlyHolidayGroup = HolidayGroup.toDto(dto.nightlyHolidayGroup, \"CompanyBranchIndications\");\n if (originEntity !== \"HolidayGroup\" && dto.daytimeHolidayGroup)\n dto.daytimeHolidayGroup = HolidayGroup.toDto(dto.daytimeHolidayGroup, \"CompanyBranchIndications\");\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E001PesDto } from \"./e-001-pes-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\nexport class E001Pes {\n public id?: string;\n public nomPes: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(e001PesDto: E001PesDto, originEntity?: string): E001Pes {\n const model: any = { ...e001PesDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"nomPes\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E001Pes;\n }\n\n public static toDto(e001Pes: E001Pes, originEntity?: string): E001PesDto {\n const dto: any = { ...e001Pes };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n\n}\n","import * as moment_ from \"moment\";\nimport { E001Pes } from \"../e-001-pes\";\nimport { EmployeeDto } from \"./employee-dto\";\n\nconst moment = moment_;\n\nexport class Employee {\n public id?: string;\n public code: number;\n public person?: E001Pes;\n public employer: { id: string };\n public hireDate?: Date;\n public dismissalDate?: Date;\n public deleted? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(employeeDto: EmployeeDto, originEntity?: string): Employee {\n const model: any = { ...employeeDto };\n\n model.hireDate = model.hireDate && moment(model.hireDate).toDate();\n model.dismissalDate = model.dismissalDate && moment(model.dismissalDate).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"person.nomPes\",\n \"hireDate\",\n \"dismissalDate\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E001Pes\" && model.person) {\n model.person = E001Pes.fromDto(model.person, \"Employee\");\n }\n\n return model as Employee;\n }\n\n public static toDto(employee: Employee, originEntity?: string): EmployeeDto {\n const dto: any = { ...employee };\n\n dto.hireDate = dto.hireDate && moment(dto.hireDate).format(\"YYYY-MM-DD\");\n dto.dismissalDate = dto.dismissalDate && moment(dto.dismissalDate).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n delete dto.employer._discriminator;\n delete dto.employmentRelationship._discriminator;\n\n if (originEntity !== \"E001Pes\" && dto.person) {\n dto.person = E001Pes.toDto(dto.person, \"Employee\");\n }\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { PositionDto } from \"./position-dto\";\n\nconst moment = moment_;\n\nexport class Position {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(positionDto: PositionDto, originEntity?: string): Position {\n const model: any = { ...positionDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Position;\n }\n\n public static toDto(position: Position, originEntity?: string): PositionDto {\n const dto: any = { ...position };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { JobPositionStructureDto } from \"./job-position-structure-dto\";\n\nconst moment = moment_;\n\nexport class JobPositionStructure {\n public id?: string;\n public code: number;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(jobPositionStructureDto: JobPositionStructureDto, originEntity?: string): JobPositionStructure {\n const model: any = { ...jobPositionStructureDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"id\", \"code\", \"createdBy\", \"createdDate\", \"lastModifiedBy\", \"lastModifiedDate\"];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as JobPositionStructure;\n }\n\n public static toDto(jobPositionStructure: JobPositionStructure, originEntity?: string): JobPositionStructureDto {\n const dto: any = { ...jobPositionStructure };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n\n","import * as moment_ from \"moment\";\nimport { JobPositionStructure } from \"../job-position-structure/job-position-structure\";\n\nimport { JobPositionDto } from \"./job-position-dto\";\n\nconst moment = moment_;\n\nexport class JobPosition {\n public id?: string;\n public code: number;\n public name?: string;\n public shortName: string;\n public jobPositionStructure?: JobPositionStructure;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(jobPositionDto: JobPositionDto, originEntity?: string): JobPosition {\n const model: any = { ...jobPositionDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"description\",\n \"shortDescription\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"JobPositionStructure\" && model.jobPositionStructure)\n model.jobPositionStructure = JobPositionStructure.fromDto(model.jobPositionStructure, \"JobPosition\");\n\n return model as JobPosition;\n }\n\n public static toDto(jobPosition: JobPosition, originEntity?: string): JobPositionDto {\n const dto: any = { ...jobPosition };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"JobPositionStructure\" && dto.jobPositionStructure)\n dto.jobPositionStructure = JobPositionStructure.toDto(dto.jobPositionStructure, \"JobPosition\");\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { SyndicateDto } from \"./syndicate-dto\";\n\nconst moment = moment_;\n\nexport class Syndicate {\n public id?: string;\n public code: number;\n public name?: string;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(syndicateDto: SyndicateDto, originEntity?: string): Syndicate {\n const model: any = { ...syndicateDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as Syndicate;\n }\n\n public static toDto(syndicate: Syndicate, originEntity?: string): SyndicateDto {\n const dto: any = { ...syndicate };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { EmploymentRelationshipDto } from \"./employment-relationship-dto\";\n\nconst moment = moment_;\n\nexport class EmploymentRelationship {\n public id?: string;\n public code: string;\n public name: string;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(employmentRelationshipDto: EmploymentRelationshipDto, originEntity?: string): EmploymentRelationship {\n const model: any = { ...employmentRelationshipDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as EmploymentRelationship;\n }\n\n public static toDto(employmentRelationship: EmploymentRelationship, originEntity?: string): EmploymentRelationshipDto {\n const dto: any = { ...employmentRelationship };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { WorkshiftType } from \"../../enums/workshift-type\";\nimport { WorkshiftDto } from \"./workshift-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\nexport class Workshift {\n public id?: string;\n public code: number;\n public name: string;\n public workshiftType: WorkshiftType;\n public deleted = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(workshiftDto: WorkshiftDto, originEntity?: string): Workshift {\n const model: any = { ...workshiftDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"workshiftType\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as Workshift;\n }\n\n public static toDto(workshift: Workshift, originEntity?: string): WorkshiftDto {\n const dto: any = { ...workshift };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n}\n\n","import * as moment_ from \"moment\";\nimport { WorkshiftGroupDto } from \"./workshift-group-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\n\nexport class WorkshiftGroup {\n public id?: string;\n public code: number;\n public baseDate: Date;\n public deleted ? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(workshiftGroupDto: WorkshiftGroupDto, originEntity?: string): WorkshiftGroup {\n const model: any = { ...workshiftGroupDto };\n\n model.baseDate = model.baseDate && moment(model.baseDate).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"baseDate\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as WorkshiftGroup;\n }\n\n public static toDto(workshiftGroup: WorkshiftGroup, originEntity?: string): WorkshiftGroupDto {\n const dto: any = { ...workshiftGroup };\n\n dto.baseDate = dto.baseDate && moment(dto.baseDate).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { PositionActingTypeDto } from \"./position-acting-type-dto\";\n\nconst moment = moment_;\n\nexport class PositionActingType {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(positionActingTypeDto: PositionActingTypeDto, originEntity?: string): PositionActingType {\n const model: any = { ...positionActingTypeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as PositionActingType;\n }\n\n public static toDto(positionActingType: PositionActingType, originEntity?: string): PositionActingTypeDto {\n const dto: any = { ...positionActingType };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { LocationStructureDto } from \"./location-structure-dto\";\n\nconst moment = moment_;\n\nexport class LocationStructure {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(locationStructureDto: LocationStructureDto, originEntity?: string): LocationStructure {\n const model: any = { ...locationStructureDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as LocationStructure;\n }\n\n public static toDto(locationStructure: LocationStructure, originEntity?: string): LocationStructureDto {\n const dto: any = { ...locationStructure };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { LocationStructure } from \"../location-structure\";\nimport { LocationDto } from \"./location-dto\";\n\nconst moment = moment_;\n\nexport class Location {\n public id?: string;\n public code: number;\n public name: string;\n public locationStructure: LocationStructure;\n public initialValidity?: Date;\n public finalValidity?: Date;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(locationDto: LocationDto, originEntity?: string): Location {\n const model: any = { ...locationDto };\n\n model.initialValidity = model.initialValidity && moment(model.initialValidity).toDate();\n model.finalValidity = model.finalValidity && moment(model.finalValidity).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"initialValidity\",\n \"finalValidity\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"LocationStructure\" && model.locationStructure)\n model.locationStructure = LocationStructure.fromDto(model.locationStructure, \"Location\");\n\n return model as Location;\n }\n\n public static toDto(location: Location, originEntity?: string): LocationDto {\n const dto: any = { ...location };\n\n dto.initialValidity = dto.initialValidity && moment(dto.initialValidity).format(\"YYYY-MM-DD\");\n dto.finalValidity = dto.finalValidity && moment(dto.finalValidity).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"LocationStructure\" && dto.locationStructure)\n dto.locationStructure = LocationStructure.toDto(dto.locationStructure, \"Location\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E030BanDto } from \"./e-030-ban-dto\";\n\nconst moment = moment_;\n\nexport class E030Ban {\n public id?: string;\n public codBan: string;\n public nomBan: string;\n public abrBan: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e030BanDto: E030BanDto, originEntity?: string): E030Ban {\n const model: any = { ...e030BanDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codBan\",\n \"nomBan\",\n \"abrBan\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E030Ban;\n }\n\n public static toDto(e030Ban: E030Ban, originEntity?: string): E030BanDto {\n const dto: any = { ...e030Ban };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E030Ban } from \"../e-030-ban/e-030-ban\";\nimport { E030AgeDto } from \"./e-030-age-dto\";\n\nconst moment = moment_;\n\nexport class E030Age {\n public id?: string;\n public e030ban?: E030Ban;\n public codAge: string;\n public nomAge: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e030AgeDto: E030AgeDto, originEntity?: string): E030Age {\n const model: any = { ...e030AgeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codAge\",\n \"nomAge\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E030Ban\" && model.e030ban) model.e030ban = E030Ban.fromDto(model.e030ban, \"E030Age\");\n\n return model as E030Age;\n }\n\n public static toDto(e030Age: E030Age, originEntity?: string): E030AgeDto {\n const dto: any = { ...e030Age };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"E030Ban\" && dto.e030ban) dto.e030ban = E030Ban.toDto(dto.e030ban, \"E030Age\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E044CcuDto } from \"./e-044-ccu-dto\";\n\nconst moment = moment_;\n\nexport class E044Ccu {\n public id?: string;\n public codCcu: string;\n public desCcu: string;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e044CcuDto: E044CcuDto, originEntity?: string): E044Ccu {\n const model: any = { ...e044CcuDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codCcu\",\n \"desCcu\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E044Ccu;\n }\n\n public static toDto(e044Ccu: E044Ccu, originEntity?: string): E044CcuDto {\n const dto: any = { ...e044Ccu };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E070EmpDto } from \"./e-070-emp-dto\";\n\nconst moment = moment_;\n\nexport class E070Emp {\n public id?: string;\n public codEmp: number;\n public nomEmp: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e070EmpDto: E070EmpDto, originEntity?: string): E070Emp {\n const model: any = { ...e070EmpDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codEmp\",\n \"nomEmp\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E070Emp;\n }\n\n public static toDto(e070Emp: E070Emp, originEntity?: string): E070EmpDto {\n const dto: any = { ...e070Emp };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { CompanyBranchIndications } from \"../company-branch-indications\";\nimport { E070Emp } from \"../e-070-emp\";\nimport { E070FilDto } from \"./e-070-fil-dto\";\n\nconst moment = moment_;\n\nexport class E070Fil {\n public id?: string;\n public e070emp?: E070Emp;\n public codFil: number;\n public nomFil: string;\n public companyBranchIndications?: CompanyBranchIndications;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e070FilDto: E070FilDto, originEntity?: string): E070Fil {\n const model: any = { ...e070FilDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codFil\",\n \"nomFil\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E070Emp\" && model.e070emp) model.e070emp = E070Emp.fromDto(model.e070emp, \"E070Fil\");\n if (originEntity !== \"CompanyBranchIndications\" && model.companyBranchIndications)\n model.companyBranchIndications = CompanyBranchIndications.fromDto(model.companyBranchIndications, \"E070Fil\");\n\n return model as E070Fil;\n }\n\n public static toDto(e070Fil: E070Fil, originEntity?: string): E070FilDto {\n const dto: any = { ...e070Fil };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"E070Emp\" && dto.e070emp) dto.e070emp = E070Emp.toDto(dto.e070emp, \"E070Fil\");\n if (originEntity !== \"CompanyBranchIndications\" && dto.companyBranchIndications)\n dto.companyBranchIndications = CompanyBranchIndications.toDto(dto.companyBranchIndications, \"E070Fil\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\nimport { AnnotationTypeDto } from \"../annotation-type/annotation-type-dto\";\n\nimport * as moment_ from \"moment\";\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\nexport class AnnotationType {\n public id?: string;\n public code: number;\n public name?: string;\n public excluido ? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(annotationTypeDto: AnnotationTypeDto, originEntity?: string): AnnotationType {\n const model: any = { ...annotationTypeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"code\", \"name\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as AnnotationType;\n }\n\n public static toDto(annotationType: AnnotationType, originEntity?: string): AnnotationTypeDto {\n const dto: any = { ...annotationType };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\n\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { WageTypeTableDto } from \"./wage-type-table-dto\";\n\n@Injectable()\nexport class WageTypeTableService extends EntityService<WageTypeTableDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageTypeTable`,\n `hcm_payroll_wage_type/general/actions`,\n translate,\n configService,\n );\n }\n}\n","export class CalculationDefinition {\n code: number;\n calculationType: string;\n competence: string;\n}","import { CalculationDefinition } from \"../calculation-definition/calculation-definition\";\nimport { WageType } from \"../wage-type/wage-type\";\n\nexport class VariableEntry {\n calculationDefinition: CalculationDefinition;\n wageType: WageType;\n reference: number;\n originType: string;\n}","import * as moment from \"moment\";\nimport { CharacteristicsDto } from \"./characteristics-dto\";\n\nexport class Characteristics {\n public id?: string;\n public description: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n\n public static fromDto(characteristicsDto: CharacteristicsDto, originEntity?: string): Characteristics {\n const model: any = { ...characteristicsDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"description\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Characteristics;\n }\n\n public static toDto(characteristics: Characteristics, originEntity?: string): CharacteristicsDto {\n const dto: any = { ...characteristics };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { CharacteristicsDto } from \"./characteristics-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class CharacteristicsService extends EntityService<CharacteristicsDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll/shared/entities/characteristics`,\n `hcm_payroll/shared/actions`,\n translate,\n configService\n );\n }\n}\n","import * as moment from \"moment\";\nimport { RulesDto } from \"./rules-dto\";\n\nexport class Rules {\n public id?: string;\n public description: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n\n public static fromDto(rulesDto: RulesDto, originEntity?: string): Rules {\n const model: any = { ...rulesDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"description\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Rules;\n }\n\n public static toDto(rules: Rules, originEntity?: string): RulesDto {\n const dto: any = { ...rules };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\nimport { RulesDto } from \"./rules-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class RulesService extends EntityService<RulesDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll/shared/entities/rules`,\n `hcm_payroll/shared/actions`,\n translate,\n configService\n );\n }\n\n public listExternalRules(listParams: ListParams) {\n return this.http\n .get<RulesDto>(\"hcm_payroll/shared/entities/rules\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n}\n","\nimport { ESocialCategoryDto } from \"./esocial-category-dto\";\n\nexport class ESocialCategory {\n public id?: string;\n public code: number;\n public description?: string;\n\n public static fromDto(eSocialCategoryDto: ESocialCategoryDto, originEntity?: string): ESocialCategory {\n const model: any = { ...eSocialCategoryDto };\n\n const lookupSeparator = ' - ';\n const displayFields = ['id', 'code', 'description'];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as ESocialCategory;\n }\n\n public static toDto(eSocialCategory: ESocialCategory, originEntity?: string): ESocialCategoryDto {\n const dto: any = { ...eSocialCategory };\n\n delete dto.label;\n\n return dto;\n }\n}\n"],"names":["InjectionToken","Inject","Injectable","_moment","ContractType","FieldType","moment","catchError","throwError","of","map","HttpParams","take","TranslateService","HttpClient","MessageService","NgModule","LocaleModule","CommonModule","FormsModule","ReactiveFormsModule","EmptyStateModule","DynamicFormModule","InputTextModule","TranslateModule","Subject","takeUntil","FormField","EventEmitter","finalize","ChangeDetectorRef","Input","Output","Component","LoadingStateModule","CollectiveProcessType","Router","PermissionsService","SituationEmployee","CalendarLocaleOptions","PermissionsModule","moment_"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,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AAe,CAAC,CAAC;YAE/E,OAAO,KAAwB,CAAC;SACnC;QAEa,qBAAK,GAAnB,UAAoB,eAAgC,EAAE,YAAqB;YACvE,IAAM,GAAG,gBAAa,eAAe,CAAE,CAAC;YAExC,OAAO,GAAG,CAAC,KAAK,CAAC;YAEjB,OAAO,GAAG,CAAC;SACd;QACL,sBAAC;IAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"senior-gestao-pessoas-hcm-entity-lookups.umd.js","sources":["../../node_modules/tslib/tslib.es6.js","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/dto/project-config.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/entity-lookup-config.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/comparetype.enumeration.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/utils/date-validator/date-validator.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/contract-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/utils/utils.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/structure-filter-service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/shared.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/shared/services/entity-service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/pis-pasep-taxation/pis-pasep-taxation.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/base-lookup/base-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/base-lookup/base-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/collective-process-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/collective-history-filters/collective-history-filters.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-branch-lookup/company-branch-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/company-lookup/company-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/cost-center-lookup/cost-center-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/situation-employee.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employee-lookup/employee-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/location-lookup/location-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-acting-type-lookup/position-acting-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/position-lookup/position-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/workshift-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/workshift-lookup/workshift-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/job-position-lookup/job-position-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/annotation-type-lookup/annotation-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/syndicate-lookup/syndicate-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/employment-relationship-lookup/employment-relationship-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/person-lookup/person-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/person-lookup/person-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type/wage-type.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-lookup/wage-type-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/calculation-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-definition.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/calculation-definition-lookup/calculation-definition-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/enums/origin-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/variable-entry-lookup/variable-entry-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/esocial-category-lookup/esocial-category-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-payroll/wage-type-payroll.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.component.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/lookups/wage-type-payroll-lookup/wage-type-payroll-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/entity-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/locale/fallback.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/environments/environment.default.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type/wage-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-defition.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-payroll/wage-type-payroll.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/core-lookup.module.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday/holiday.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/holiday-group/holiday-group.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/company-branch-indications/company-branch-indications.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-001-pes/e-001-pes.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employee/employee.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position/position.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position-structure/job-position-structure.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/job-position/job-position.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/syndicate/syndicate.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/employment-relationship/employment-relationship.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift/workshift.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/workshift-group/workshift-group.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/position-acting-type/position-acting-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location-structure/location-structure.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/location/location.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-ban/e-030-ban.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-030-age/e-030-age.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-044-ccu/e-044-ccu.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-emp/e-070-emp.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-070-fil/e-070-fil.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/annotation-type/annotation-type.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/wage-type-table/wage-type-table.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/calculation-definition/calculation-definition.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/variable-entry/variable-entry.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/characteristics/characteristics.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/characteristics/characteristics.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/rules/rules.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/rules/rules.service.ts","ng://@senior-gestao-pessoas/hcm-entity-lookups/core/entities/e-social-category/esocial-category.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import { InjectionToken } from \"@angular/core\";\n\nexport const ProjectConfigsInjectionToken = new InjectionToken<ProjectConfigs>(\"projectConfigs\");\n\nexport interface ProjectConfigs {\n domain: string;\n service: string;\n translationPrefix?: string;\n}\n","import { Inject, Injectable } from \"@angular/core\";\nimport { ProjectConfigs, ProjectConfigsInjectionToken } from \"../../core/dto/project-config\";\n\n@Injectable()\nexport class EntityLookupConfigService {\n constructor(\n @Inject(ProjectConfigsInjectionToken)\n private readonly projectConfigs: ProjectConfigs) {\n }\n\n public getDomain() {\n return this.projectConfigs.domain;\n }\n\n public getService() {\n return this.projectConfigs.service;\n }\n\n public getTranslationPrefix() {\n if (this.projectConfigs.translationPrefix) {\n return this.projectConfigs.translationPrefix;\n }\n return `${this.projectConfigs.domain}.${this.projectConfigs.service}`;\n }\n}\n","/**\n * Enum com as funções de comparação da biblioteca Moment.js\n * Não contempla a função isBetween, será necessário fazer uma validação esoecÃfica para usá-la\n */\nexport enum CompareType {\n IS_BEFORE = \"isBefore\",\n IS_AFTER = \"isAfter\",\n IS_SAME = \"isSame\",\n IS_SAME_OR_AFTER = \"isSameOrAfter\",\n IS_SAME_OF_BEFORE = \"isSameOrBefore\",\n IS_NOT_SAME = \"isNotSame\",\n}\n","import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from \"@angular/forms\";\nimport { CalendarLocaleOptions } from \"@seniorsistemas/angular-components\";\nimport { DateCompareOptions } from \"../../../core/dto/date-compare-options\";\nimport { CompareType } from \"../../../core/enums/comparetype.enumeration\";\nimport * as _moment from \"moment\";\n\nexport class DateValidator {\n\n\n /**\n * Validador genérico usando comparação entre datas\n * @param compareToDate Data a ser comparada\n * @param dateFormat Informações do local\n * @param compareType Tipo de comparação\n * @param options Opções para a comparação\n * @returns Objeto no formato { nomeChave: true } indicando que a data não é válida\n */\n static isValidDateCompare(compareToDate: string, dateFormat: string, compareType: CompareType, options?: DateCompareOptions):\n ValidatorFn {\n const validator: ValidatorFn = (control: AbstractControl): Validators => { // NOSONAR\n let referenceDate = control && control.value;\n if (referenceDate && dateFormat) {\n referenceDate = _moment(control.value);\n const compareTo = _moment(compareToDate, dateFormat);\n return this.dateCompare(referenceDate, compareTo, compareType, options);\n }\n return null;\n };\n return validator;\n }\n\n /**\n * Retorna o formato da data de acordo com o local\n * @param calendar Informações de calendário\n * @param removeDayPart Remove os dias do formato da data (Opcional)\n * @returns Exemplo de retornos 'DDMMYYYY', 'MMYYYY', ou seja, retorna o formato somente com letras\n */\n static getDateFormatFromLocale(calendar: CalendarLocaleOptions, removeDayPart?: boolean): string {\n const dateFormat = calendar && calendar.dateFormat;\n if (dateFormat) {\n let result = dateFormat.replace(/[y]/g, \"YY\").replace(/[^a-zA-Z]/g, \"\").toUpperCase();\n if (removeDayPart) {\n result = result.replace(\"DD\", \"\");\n }\n return result;\n }\n return null;\n }\n\n /**\n * Retorna o formato da data/hora de acordo com o local\n * @param calendar Informações de calendário\n * @returns Exemplo de retornos 'DD/MM/YYYY HH:mm:ss'\n */\n static getDateTimeFormatFromLocale(calendar: CalendarLocaleOptions): string {\n if (calendar) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat.replace(/[y]/g, \"YY\").toUpperCase();\n dateFormat = dateFormat + \" HH:mm:ss\";\n\n return dateFormat;\n }\n return null;\n }\n\n /**\n * Retorna o formato da data de acordo com o local\n * @param calendar Informações de calendário\n * @returns Exemplo de retornos 'DD/MM/YYYY'\n */\n static getDateFormatFromCalendar(calendar: CalendarLocaleOptions): string {\n if (calendar && calendar.dateFormat) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat.replace(/[y]/g, \"YY\").toUpperCase();\n\n return dateFormat;\n }\n return null;\n }\n\n /**\n * Método auxiliar que realiza a comparação entre as datas e retorna um objeto caso a validação seja válida\n * @param referenceDate Data de referência para a comparação\n * @param compareToDate Data a ser comparada.\n * @param compareType Tipo de comparação.\n * @param options Opções para a comparação\n */\n private static dateCompare(referenceDate: any, compareToDate: any, compareType: CompareType, options?: DateCompareOptions):\n ValidationErrors {\n const compareTypeName: string = compareType === CompareType.IS_NOT_SAME ? CompareType.IS_SAME : compareType;\n const granularity = options && options.granularity ? options.granularity : \"day\";\n\n if(referenceDate.isValid() && compareToDate.isValid()) {\n let comparison = referenceDate[compareTypeName](compareToDate, granularity);\n comparison = compareType === CompareType.IS_NOT_SAME ? !comparison : comparison;\n if (comparison) {\n const keyName = options && options.compareName ? options.compareName : compareType;\n const result = {};\n result[keyName] = true;\n return result;\n }\n }\n return null;\n }\n\n /**\n * Retorna uma mascara com as barras Ex: âDD/MM/YYYYâ\n * @param calendar\n */\n static getFormatDateWithBar(calendar: CalendarLocaleOptions): string {\n if (calendar && calendar.dateFormat) {\n let dateFormat = calendar.dateFormat.toString();\n dateFormat = dateFormat\n .replace(\"dd\", \"DD\")\n .replace(\"mm\", \"MM\")\n .replace(\"yy\", \"YYYY\");\n return dateFormat;\n }\n return null;\n }\n\n}\n\nexport function startDateTimeIsBeforeEndDateTimeValidator(startDateTime: AbstractControl, endDateTime: AbstractControl): ValidationErrors | null {\n if (startDateTime && endDateTime && startDateTime.value && endDateTime.value) {\n const isInvalid = startDateTime.value > endDateTime.value ? { startDateTimeIsBeforeEndDateTime: { value: [endDateTime.value, startDateTime.value] } } : null;\n if (isInvalid) {\n startDateTime.markAsDirty();\n endDateTime.markAsDirty();\n endDateTime.setErrors(isInvalid);\n startDateTime.setErrors(isInvalid);\n return isInvalid;\n }\n removeErrorFromField(endDateTime, \"startDateTimeIsBeforeEndDateTime\");\n removeErrorFromField(startDateTime, \"startDateTimeIsBeforeEndDateTime\");\n } else if (startDateTime && startDateTime.value && !(endDateTime && endDateTime.value)) {\n removeErrorFromField(startDateTime, \"startDateTimeIsBeforeEndDateTime\");\n } else if (!(startDateTime && startDateTime.value) && endDateTime && endDateTime.value) {\n removeErrorFromField(endDateTime, \"startDateTimeIsBeforeEndDateTime\");\n }\n\n return null;\n}\n\nexport function startDateIsBeforeOrEqualToEndDateValidator(startDate: AbstractControl, endDate: AbstractControl): ValidationErrors | null {\n if (startDate && endDate && startDate.value && endDate.value) {\n const forbidden = startDate.value > endDate.value ? { startDateIsBeforeEndDate: { value: endDate.value } } : null;\n if (forbidden) {\n startDate.markAsDirty();\n endDate.markAsDirty();\n startDate.setErrors(forbidden);\n endDate.setErrors(forbidden);\n return forbidden;\n }\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (startDate && startDate.value && !(endDate && endDate.value)) {\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (!(startDate && startDate.value) && endDate && endDate.value) {\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n }\n return null;\n}\n\nexport function removeErrorFromField(field: AbstractControl, error: string) {\n if (field.errors) {\n delete field.errors[error];\n }\n if (JSON.stringify(field.errors) == JSON.stringify({})) {\n field.setErrors(null);\n }\n}\n\nexport function startDateIsBeforeEndDateValidator(startDate: AbstractControl, endDate: AbstractControl): ValidationErrors | null {\n if (startDate && endDate && startDate.value && endDate.value) {\n const forbidden = _moment(startDate.value).isSameOrAfter(endDate.value) ? { startDateIsBeforeEndDate: { value: endDate.value } } : null;\n if (forbidden) {\n startDate.markAsDirty();\n endDate.markAsDirty();\n startDate.setErrors(forbidden);\n endDate.setErrors(forbidden);\n return forbidden;\n }\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (startDate && startDate.value && !(endDate && endDate.value)) {\n removeErrorFromField(startDate, \"startDateIsBeforeEndDate\");\n } else if (!(startDate && startDate.value) && endDate && endDate.value) {\n removeErrorFromField(endDate, \"startDateIsBeforeEndDate\");\n }\n return null;\n}\n","export enum ContractType {\n EMPLOYEE = \"EMPLOYEE\",\n DIRECTOR = \"DIRECTOR\",\n TRAINEE = \"TRAINEE\",\n APRENTICE = \"APRENTICE\",\n THIRD_PARTY = \"THIRD_PARTY\",\n}","import { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField, Option } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { throwError } from \"rxjs\";\nimport { catchError } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../services/entity-lookup-config.service\";\nimport { ContractType } from \"../../core/enums/contract-type\";\n\nconst numberTypes = [FieldType.Integer, FieldType.Double];\nconst numberPattern = /^\\d+\\b$/;\n\nexport const configService = {\n service: \"hcm_entity\",\n domain: \"lookups\",\n};\n\nexport const mergeUnique = (array: Array<string>, otherArray: Array<string>) =>\n array.concat(otherArray.filter((item) => !array.includes(item)));\n\nexport const getTypeInformation = (type: FieldType, value: any) => {\n switch (type) {\n case FieldType.Time:\n case FieldType.Date:\n case FieldType.DateTime:\n return { isValidValue: false, typeExists: true };\n case FieldType.Integer:\n case FieldType.Double:\n return {\n isValidValue: value.match(numberPattern),\n typeExists: numberTypes.includes(type),\n };\n default:\n return {\n isValidValue: value.match(numberPattern),\n typeExists: numberTypes.includes(type),\n };\n }\n};\n\nexport const isValidFilter = (type: FieldType, value: any) => {\n const { isValidValue, typeExists } = getTypeInformation(type, value);\n return !(typeExists && !isValidValue);\n};\n\nexport const getProp = (obj: any, path: any) => {\n return path.split(\".\").reduce((result: any, prop: any) => (result[prop] === undefined ? \"\" : result[prop]), obj);\n};\n\nexport const getLabelValueRequest = (contents: any[], displayFields: any[]) => {\n return contents.map((item: any) => ({\n ...item,\n label: displayFields.map((field) => getProp(item, field)).join(\" - \"),\n }));\n};\n\nexport const getSuggestionValue = (displayFields: string[], ownerEntity: string, value: any, separator: string) => {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`)).reduce((acc: any, val: any) => `${acc}${separator}${val}`) +\n \"\"\n );\n};\n\nexport const getEnumQuery = (name: string, value: any, multiple: boolean = false) => {\n if (multiple) {\n return `(${value.map((selected: any) => `${name} eq '${selected}'`).join(\" or \")})`;\n }\n return `${name} eq '${value}'`;\n};\n\nexport const getEnumTextSearchQuery = (name: string, value: any, options: Option[]) => {\n const enumsThatMatchSearch = options\n .filter((option) => (option.label || \"\").toLocaleLowerCase().includes((value || \"\").toLocaleLowerCase()));\n if (enumsThatMatchSearch.length) {\n const orExpressions = enumsThatMatchSearch.map((option) => `${name} eq '${option.value}'`).join(\" or \");\n return `(${orExpressions})`;\n } else {\n return \"\";\n }\n};\n\nexport const getFilterForLookup = (filterLookup: string, filterAdditional: string, filterDefault: string): string => {\n filterAdditional = filterAdditional ? `(${filterAdditional})` : \"\";\n filterLookup = filterLookup ? `(${filterLookup})` : \"\";\n filterDefault = filterDefault ? `(${filterDefault})` : \"\";\n return concatFilters([filterLookup, filterAdditional, filterDefault]);\n};\n\nexport const concatFilters = (filters: string[]): string => {\n return filters?.filter((x) => !!x).join(\" and \");\n};\n\nexport const createEnumFilterString = (formField: FormField, value: any, opts?: { textSeachEnum: boolean }) => {\n const { name, multiple, options } = formField;\n if (opts && opts.textSeachEnum) {\n return getEnumTextSearchQuery(name, value, options);\n } else {\n return getEnumQuery(name, value, multiple);\n }\n};\n\nexport const createFilterString = (formField: FormField, value: any, opts?: { textSeachEnum: boolean }) => {\n const { name, type } = formField;\n if (typeof value === \"number\") {\n return `${name} eq ${value}`;\n }\n\n switch (type) {\n case FieldType.Date:\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n case FieldType.Time:\n return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n case FieldType.DateTime:\n return `${name} eq '${moment(value).format()}'`;\n case FieldType.LocalDateTime:\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD[T]HH:mm:ss.SSS\")}'`;\n case FieldType.Enum:\n return createEnumFilterString(formField, value, opts);\n case FieldType.String:\n return `containing(upper(${name}), upper('${value.replace(/'/g, \"'\")}'))`;\n case FieldType.Lookup:\n return `${name} eq '${value.id}'`;\n default:\n return `${name} eq '${value}'`;\n }\n};\n\nexport const defaultCatch = (translate: TranslateService) => {\n return catchError((err: any) => {\n if (err) {\n let summary = err.status ? String(err.status) : \"Error\";\n let detail = (err.error && err.error.message) || err.statusText || err.message || \"Error\";\n\n if (err.status === 401) {\n summary = translate.instant(`${configService.domain}.${configService.service}.error_unauthorized_title`);\n detail = translate.instant(`${configService.domain}.${configService.service}.error_unauthorized_description`);\n }\n }\n\n return throwError(err);\n });\n};\n\nexport const contractTypeOptions = (translate: TranslateService, configService: EntityLookupConfigService): { label: string; value: string }[] => {\n return [\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_employee`), value: ContractType.EMPLOYEE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_director`), value: ContractType.DIRECTOR },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_trainee`), value: ContractType.TRAINEE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_aprentice`), value: ContractType.APRENTICE },\n { label: translate.instant(`${configService.getTranslationPrefix()}.contract_type_third_party`), value: ContractType.THIRD_PARTY },\n ]\n};\n\nexport const createSearchRequestFilter = (filterData: string, formFields: FormField[]): string => {\n return formFields\n .filter(({ name }) => !!filterData[name] && filterData[name] !== \"\")\n .map(({ name, type }) => {\n const value = filterData[name];\n\n if (typeof value === \"number\") {\n return `${name} eq ${value}`;\n } else if (type === FieldType.Date) {\n return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n } else if (type === FieldType.Time) {\n return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n } else if (type === FieldType.DateTime) {\n return `${name} eq '${moment(value).format()}'`;\n } else if (type === FieldType.Integer) {\n return `${name} eq '${value}'`;\n } else if (type === FieldType.Enum) {\n return `${name} eq '${value}'`;\n } else if (type === FieldType.String) {\n return `containing(upper(${name}), upper('${value.replace(/'/g, \"\\\\'\")}'))`;\n } else {\n return `${name} eq '${value}'`;\n }\n })\n .join(\" and \");\n};\n\nexport const createLookupRequestFilter = (value: string, formFields: FormField[]): string => {\n value = value.length > 19 ? value.substring(0, 19) : value;\n return formFields.filter(({ type }) => isValidFilter(type, value))\n .map((formField) => createFilterString(formField, value, { textSeachEnum: true }))\n .filter((s) => !!s)\n .join(\" or \");\n};\n\nexport const createFilterTokens = (formField: FormField, value: any, translate: TranslateService) => {\n const { name, type, label, searchFields, options } = formField as any;\n let labelValue = value;\n switch (type) {\n case FieldType.Date:\n labelValue = moment(value).format(\"L\");\n break;\n case FieldType.Time:\n labelValue = moment(value).format(\"LTS\");\n break;\n case FieldType.DateTime:\n labelValue = moment(value).format(\"L LTS\");\n break;\n case FieldType.Lookup:\n labelValue = searchFields.map((field: FormField) => getProp(value, field.name)).join(\" - \");\n break;\n case FieldType.Enum:\n labelValue = options.filter((option: Option) => option.value === labelValue)[0].label;\n break;\n case FieldType.Boolean:\n labelValue = value\n ? translate.instant(\"platform.localization.list_grid_boolean_true\")\n : translate.instant(\"platform.localization.list_grid_boolean_false\");\n break;\n }\n\n return { id: name, label: `${label}: ${labelValue}` };\n};\n","import { HttpClient, HttpParams } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { CalendarLocaleOptions, LocaleOptions } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { MessageService } from \"primeng/api\";\nimport { Observable, of } from \"rxjs\";\nimport { map, take } from \"rxjs/operators\";\nimport { LookupDataDto } from \"../../core/dto/lookup-data-dto\";\nimport { StructureParams } from \"../../core/dto/structure-params.dto\";\nimport { DateValidator } from \"../utils/date-validator/date-validator\";\nimport { defaultCatch } from \"../utils/utils\";\nimport { EntityLookupConfigService } from \"./entity-lookup-config.service\";\nimport { ListParams } from \"./entity-service\";\n\n@Injectable()\nexport class StructureFilterService {\n\n constructor(\n private translateService: TranslateService,\n private http: HttpClient,\n private messageService: MessageService,\n private configService: EntityLookupConfigService,\n ) {\n }\n\n public getFilterByDateValidateAndStructure(dto: LookupDataDto): Observable<any> {\n if (dto.referenceDate && moment(dto.referenceDate).isValid()) {\n const referenceDate = moment(dto.referenceDate).format(\"YYYY-MM-DD\");\n const filter = this.getFilterStructureCompanyHistoryByStartDate(referenceDate, dto.companyIds);\n if (referenceDate && filter) {\n return this.getCompanyStructureHistoryByCompanyId(dto.domain, dto.service, dto.entity, filter);\n }\n }\n return of();\n }\n\n public showMessageToCompanyWithoutStructure(lookupData: LookupDataDto, locale: LocaleOptions): boolean {\n if (lookupData?.useStructure && !lookupData?.structures?.length) {\n const entity = this.translateEntity(lookupData.entity).toLowerCase();\n const startDate = this.formatDate(locale, lookupData.referenceDate);\n this.messageService.add({\n detail: this.translateService\n .instant(`${this.configService.getTranslationPrefix()}.structure_empty_message`,\n { entity, startDate }),\n severity: \"warn\",\n summary: this.translateService\n .instant(`${this.configService.getTranslationPrefix()}.structure_empty_title`, { entity }),\n });\n return false;\n } else {\n return true;\n }\n }\n\n private translateEntity(entity: string): string {\n entity = entity.replace(/([A-Z])/g, \"_$1\").toLowerCase();\n return this.translateService.instant(`${this.configService.getTranslationPrefix()}.${entity}_history_${entity}`) || entity;\n }\n\n private formatDate(locale: LocaleOptions, startDate: string) {\n const dateFormat = locale?.calendar?.dateFormat;\n return dateFormat\n ? moment(startDate).format(DateValidator.getDateFormatFromCalendar({ dateFormat } as CalendarLocaleOptions))\n : moment(startDate).format(\"L\");\n }\n\n private getFilterStructureCompanyHistoryByStartDate(referenceDate: string, companyId: string[]): string {\n let filterData = \"\";\n if (referenceDate && companyId?.length) {\n filterData = `company in (${companyId.map((item) => `'${item}'`)}) and\n (startDate le '${referenceDate}' and (endDate is null or endDate ge '${referenceDate}'))`;\n }\n return filterData;\n }\n\n public getCompanyStructureHistoryByCompanyId(domain: string, service: string, entityName: string, filter: string): Observable<any> {\n return this.http\n .get<any>(`${domain}/${service}/entities/${entityName}StructureCompanyHistory`, {\n params: this.getListQueryParams({ filterQuery: filter }),\n })\n .pipe(\n map((result: any) => result && result.contents && result.contents),\n defaultCatch(this.translateService),\n );\n }\n\n public getFilterCompile(dto: LookupDataDto): string {\n const validity = this.getFilterRegisterByStartDateInCompanyBranch(dto);\n const conditionStructure = dto?.structures?.length && validity ? \" and \" : \"\";\n\n let filterStructure = dto.structures?.length && `${dto.entity}Structure in (${dto.structures.map((item) => `'${item}'`)})`;\n filterStructure = filterStructure ? `(${filterStructure})` : \"\";\n return `${validity}${conditionStructure}${filterStructure}`;\n }\n\n public getFilterRegisterByStartDateInCompanyBranch(dto: LookupDataDto): string {\n const referenceDate = dto?.referenceDate\n && moment(dto?.referenceDate).format(\"YYYY-MM-DD\");\n if (referenceDate && dto?.useDateValidation) {\n return dto.useDateValidation ? `(\n (initialValidity le '${referenceDate}' and finalValidity ge '${referenceDate}')\n or (initialValidity is null and finalValidity ge '${referenceDate}')\n or (initialValidity le '${referenceDate}' and finalValidity is null)\n or (initialValidity is null and finalValidity is null))` : \"\";\n } else {\n return \"\";\n }\n }\n\n public getListQueryParams(listParams: ListParams) {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n\n let params = new HttpParams();\n params = params.append(\"size\", String(size));\n params = params.append(\"offset\", String(page));\n\n if (sort && sort.length) {\n params = params.append(\n \"orderby\",\n sort\n .map((s) => {\n let order = \"\";\n if (s.order === 1) {\n order = \" asc\";\n } else if (s.order === -1) {\n order = \" desc\";\n }\n return `${s.field}${order}`;\n })\n .join(\", \"),\n );\n }\n\n if (filterQuery) {\n params = params.append(\"filter\", filterQuery);\n }\n\n if (displayFields && displayFields.length) {\n params = params.append(\"displayfields\", displayFields.join());\n }\n\n return params;\n }\n\n public startBuildingFilterObservable(structureParams: StructureParams, lookupValidation: LookupDataDto) {\n if (structureParams?.companyIds?.length) {\n lookupValidation.companyIds = [...structureParams.companyIds];\n lookupValidation.referenceDate = structureParams.referenceDate;\n\n return this.getFilterByDateValidateAndStructure(lookupValidation)\n .pipe(\n take(1),\n );\n }\n }\n\n public validateReferenceDate(referenceDate: string): boolean {\n return referenceDate && moment(referenceDate).isValid()\n }\n\n public startBuildingFilterResolver(histories: any[], lookupValidation: LookupDataDto): string {\n if (lookupValidation?.useStructure && histories?.length) {\n lookupValidation.structures = [];\n histories.forEach((history: any) => {\n const id = history[`${lookupValidation.entity}Structure`].id;\n if (!lookupValidation.structures.includes(id)) {\n lookupValidation.structures.push(history[`${lookupValidation.entity}Structure`].id);\n }\n });\n }\n return this.getFilterCompile(lookupValidation) || \"\";\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { TranslateModule } from \"@ngx-translate/core\";\nimport { DynamicFormModule, EmptyStateModule, LocaleModule } from \"@seniorsistemas/angular-components\";\nimport { InputTextModule } from \"primeng/inputtext\";\nimport { EntityLookupConfigService } from \"./services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"./services/structure-filter-service\";\n\n@NgModule({\n imports: [],\n exports: [\n LocaleModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n EmptyStateModule,\n DynamicFormModule,\n InputTextModule,\n TranslateModule,\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n providers: [\n StructureFilterService,\n EntityLookupConfigService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [],\n})\nexport class SharedModule {\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { HttpParams, HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { SortMeta } from \"primeng/api\";\nimport { throwError } from \"rxjs\";\nimport { catchError } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\n\nexport abstract class EntityService<T> {\n\n public urlBase: string;\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected entityUrl: string,\n protected actionsUrl: string,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n this.defaultCatch = this.defaultCatch.bind(this);\n }\n\n public getListQueryParams(listParams: ListParams) {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n\n let params = new HttpParams();\n params = params.append(\"size\", String(size));\n params = params.append(\"offset\", String(page));\n\n if (sort && sort.length) {\n params = params.append(\n \"orderby\",\n sort\n .map(s => {\n let order = \"\";\n if (s.order === 1) order = \" asc\";\n else if (s.order === -1) order = \" desc\";\n return `${s.field}${order}`;\n })\n .join(\", \")\n );\n }\n\n if (filterQuery) params = params.append(\"filter\", filterQuery);\n\n if (displayFields && displayFields.length) params = params.append(\"displayfields\", displayFields.join());\n\n return params;\n }\n\n private getBodyParams(listParams: ListParams): BodyParams {\n const { page = 0, size = 10, sort = [], filterQuery = \"\", displayFields = [] } = listParams;\n const bodyParams: BodyParams = {};\n\n bodyParams.size = size;\n bodyParams.offset = page;\n\n if (sort && sort.length) {\n bodyParams.orderBy = sort\n .map(s => {\n let order = \"\";\n if (s.order === 1) order = \" asc\";\n else if (s.order === -1) order = \" desc\";\n return `${s.field}${order}`;\n })\n .join(\", \");\n }\n\n if (filterQuery) bodyParams.filter = filterQuery;\n\n if (displayFields && displayFields.length) bodyParams.displayfields = displayFields.join();\n\n return bodyParams;\n }\n\n public defaultCatch() {\n return catchError((err: any) => {\n if (err) {\n let summary = err.status ? String(err.status) : \"Error\";\n let detail = (err.error && err.error.message) || err.statusText || err.message || \"Error\";\n\n if (err.status === 401) {\n summary = this.translate.instant(`${this.configService.getTranslationPrefix()}.error_unauthorized_title`);\n detail = this.translate.instant(`${this.configService.getTranslationPrefix()}.error_unauthorized_description`);\n }\n\n this.messageService.add({\n severity: \"error\",\n summary,\n detail,\n });\n }\n\n return throwError(err);\n });\n }\n\n public list(listParams: ListParams) {\n return this.http.get<T[]>(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());\n }\n\n public get(id: any) {\n return this.http.get<T>(`${this.entityUrl}/${id}`).pipe(this.defaultCatch());\n }\n\n public insert(entity: T) {\n return this.http.post<T>(`${this.entityUrl}`, entity).pipe(this.defaultCatch());\n }\n\n public update(id: any, entity: T) {\n return this.http.put<T>(`${this.entityUrl}/${id}`, entity).pipe(this.defaultCatch());\n }\n\n public delete(id: any) {\n return this.http.delete<T>(`${this.entityUrl}/${id}`).pipe(this.defaultCatch());\n }\n\n public listCustomFilter(listParams: ListParams, action: string) {\n return this.http.post<T[]>(`${this.actionsUrl}/${action}`, this.getBodyParams(listParams)).pipe(this.defaultCatch());\n }\n\n}\n\nexport interface ListParams {\n page?: number;\n size?: number;\n sort?: SortMeta[];\n filterQuery?: string;\n displayFields?: string[];\n}\n\nexport interface BodyParams {\n offset?: number;\n size?: number;\n orderBy?: string;\n filter?: string;\n displayfields?: string;\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PisPasepTaxationDto } from \"./pis-pasep-taxation-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class PisPasepTaxationService extends EntityService<PisPasepTaxationDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `tax_obligation/shared/entities/pisPasepTaxation`,\n `tax_obligation/shared/actions/pisPasepTaxation`,\n translate,\n configService\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { PisPasepTaxationService } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation.service\";\n\n@Injectable()\nexport class PisPasepTaxationLookupService {\n private pisPasepTaxationLookupDisplayFields = [\"code\", \"description\"];\n private pisPasepTaxationLookupGridDisplayFields = [\"pisPasepTaxationGroup.code\", \"pisPasepTaxationGroup.description\", \"code\", \"description\"];\n public pisPasepTaxationLookupSeparator = \" - \";\n\n private pisPasepTaxationSerchSubject = new Subject();\n private pisPasepTaxationLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private pisPasepTaxationService: PisPasepTaxationService\n ) {\n }\n\n public onPisPasepTaxationLookupRequest(event: string) {\n this.onPisPasepTaxationLookupRequestObservable(event)\n .subscribe((data: any) => this.pisPasepTaxationLookupSubject.next(data.contents));\n }\n\n public onPisPasepTaxationLookupRequestObservable(value: string, filter?: Filter[]): Observable<{ contents: any[], totalElements: number}> {\n const sort = this.pisPasepTaxationLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(value, this.getPisPasepTaxationSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.pisPasepTaxationLookupDisplayFields;\n\n return this.pisPasepTaxationService\n .list({ sort, filterQuery, displayFields})\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onPisPasepTaxationSearchRequest(event: any) {\n this.onPisPasepTaxationSearchRequestObservable(event)\n .subscribe((data: any) => this.pisPasepTaxationSerchSubject.next(data));\n }\n\n public onPisPasepTaxationSearchRequestObservable(event: any, filter?: Filter[]) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(filterData, this.getPisPasepTaxationSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.pisPasepTaxationLookupGridDisplayFields;\n\n return this.pisPasepTaxationService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n\n public getPisPasepTaxationSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_code`),\n name: \"code\",\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_description`),\n name: \"description\",\n type: FieldType.String\n }),\n ];\n }\n\n getPisPasepTaxationSearchGridFields(): FormField[] {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_group_code_grid`),\n name: \"pisPasepTaxationGroup.code\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_group_name_grid`),\n name: \"pisPasepTaxationGroup.description\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_code_grid`),\n name: \"code\",\n type: FieldType.String\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.pis_pasep_taxation_description_grid`),\n name: \"description\",\n type: FieldType.String\n }),\n ];\n }\n\n private getLabelForMapping(item: any) {\n return this.pisPasepTaxationLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.pisPasepTaxationLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) or `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' or `;\n });\n }\n\n return filterQuery.slice(0, -4);\n }\n}\n","import { AfterViewChecked, ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\nimport { FormGroup } from \"@angular/forms\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { LocaleOptions } from \"@seniorsistemas/angular-components\";\nimport { Subject } from \"rxjs\";\nimport { finalize, take } from \"rxjs/operators\";\nimport { LookupDataDto } from \"../../core/dto/lookup-data-dto\";\nimport { StructureParams } from \"../../core/dto/structure-params.dto\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport * as moment from \"moment\";\n\n@Component({\n template: \"\",\n})\nexport class BaseLookupComponent implements OnDestroy, AfterViewChecked {\n @Input()\n public isDisabled: boolean;\n @Input()\n public multiple = false;\n @Input()\n public formGroup: FormGroup;\n @Input()\n public additionalFilter: string;\n @Input()\n public locale: LocaleOptions;\n @Input()\n public controlName;\n\n protected companyIds: Array<string> = [];\n\n @Input()\n set setCompanyIds(value: any) {\n this.companyIds = value;\n }\n\n @Input()\n set structureParams(value: StructureParams) {\n this.createlookupData(value);\n if (value?.companyIds?.length) {\n this.loading = true;\n moment(value?.referenceDate).isValid() && this.structerService.startBuildingFilterObservable(value, this.lookupData)\n .pipe(\n take(1),\n finalize(() => this.loading = false),\n )\n .subscribe((histories: any[]) => {\n this.initialFilter = this.structerService.startBuildingFilterResolver(histories, this.lookupData);\n });\n } else {\n this.initialFilter = this.structerService.getFilterCompile(this.lookupData) || \"\";\n }\n }\n\n @Output()\n public select: EventEmitter<any> = new EventEmitter();\n @Output()\n public clear: EventEmitter<any> = new EventEmitter();\n\n public ngUnsubscribe = new Subject();\n public loading = false;\n public domain: string;\n public service: string;\n public entity: string;\n public useDateValidation = true;\n public initialFilter: string;\n public lookupData: LookupDataDto;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n ) {\n }\n\n public ngAfterViewChecked(): void {\n this.cdRef.detectChanges();\n }\n\n public ngOnDestroy() {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n public selectOption(option: object) {\n this.select.emit(option);\n }\n\n public async onClearItem(option: object) {\n await this.clear.emit(option);\n if (!this.formGroup.get(this.controlName).value?.length\n || !this.formGroup.get(this.controlName).value) {\n this.formGroup.get(this.controlName).reset();\n }\n }\n\n private createlookupData(structureParams: StructureParams) {\n this.lookupData = {\n companyIds: structureParams?.companyIds,\n domain: this.domain,\n entity: this.entity,\n referenceDate: structureParams?.referenceDate,\n service: this.service,\n useDateValidation: this.useDateValidation,\n useStructure: structureParams?.useStructure !== undefined ? structureParams?.useStructure : true,\n };\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { PisPasepTaxation } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation\";\nimport { PisPasepTaxationLookupService } from \"./pis-pasep-taxation-lookup.service\";\n\n@Component({\n selector: \"flx-pis-pasep-taxation-lookup\",\n templateUrl: \"pis-pasep-taxation-lookup.component.html\",\n})\nexport class PisPasepTaxationLookupComponent extends BaseLookupComponent implements OnInit {\n\n @Input()\n public filter: Filter[];\n\n public pisPasepTaxationLookupSuggestions: PisPasepTaxation[];\n public pisPasepTaxationSearchFields: FormField[];\n public pisPasepTaxationSearchGridFields: FormField[];\n public pisPasepTaxationSearchGridData: PisPasepTaxation[];\n public pisPasepTaxationSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structurService: StructureFilterService,\n private pisPasepTaxationLookupService: PisPasepTaxationLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structurService,\n );\n }\n\n public ngOnInit() {\n this.pisPasepTaxationSearchFields = this.pisPasepTaxationLookupService.getPisPasepTaxationSearchFields();\n this.pisPasepTaxationSearchGridFields = this.pisPasepTaxationLookupService.getPisPasepTaxationSearchGridFields();\n }\n\n public onPisPasepTaxationLookupRequest(value: string) {\n this.pisPasepTaxationLookupService\n .onPisPasepTaxationLookupRequestObservable(value, this.filter)\n .subscribe((list) => {\n this.pisPasepTaxationLookupSuggestions = list.contents;\n });\n }\n\n public onPisPasepTaxationSearchRequest(event: any) {\n this.pisPasepTaxationLookupService\n .onPisPasepTaxationSearchRequestObservable(event, this.filter)\n .subscribe((list) => {\n this.pisPasepTaxationSearchGridData = list.contents;\n this.pisPasepTaxationSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PisPasepTaxationLookupService } from \"./pis-pasep-taxation-lookup.service\";\nimport { PisPasepTaxationLookupComponent } from \"./pis-pasep-taxation-lookup.component\";\nimport { PisPasepTaxationService } from \"../../core/entities/pis-pasep-taxation/pis-pasep-taxation.service\";\n\n@NgModule({\n declarations: [PisPasepTaxationLookupComponent],\n exports: [\n PisPasepTaxationLookupComponent\n ],\n imports: [\n SharedModule\n ],\n providers: [\n PisPasepTaxationLookupService,\n PisPasepTaxationService\n ]\n})\nexport class PisPasepTaxationLookupModule {\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { BaseLookupComponent } from \"./base-lookup.component\";\n\n@NgModule({\n declarations: [BaseLookupComponent],\n exports: [\n BaseLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n})\nexport class BaseLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { E070FilDto } from \"./e-070-fil-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E070FilService extends EntityService<E070FilDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `erpx_fnd/empresa/entities/e070fil`,\n `erpx_fnd/empresa/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE070Fil(listParams: ListParams) {\n return this.http\n .get<E070FilDto>(\"erpx_fnd/empresa/entities/e070fil\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","export enum CollectiveProcessType {\n INCLUDE = \"INCLUDE\",\n EXCLUDE = \"EXCLUDE\"\n}\n","import { Injectable } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { PermissionsService } from \"@seniorsistemas/platform-components\";\nimport { Subject } from \"rxjs\";\nimport { map } from \"rxjs/operators\";\nimport { CollectiveProcessType } from \"../../enums/collective-process-type\";\n\n\n@Injectable()\nexport class CollectiveHistoryFiltersService {\n\n public employeesIsPresent: Subject<boolean> = new Subject();\n public companiesIsPresent: Subject<boolean> = new Subject();\n public companyFilterQuery: string;\n\n private isUsingTable: boolean = false;\n private cancelForm: Subject<boolean> = new Subject();\n private collectiveFilterPanelCollapsed: boolean = false;\n\n constructor(\n private router: Router,\n private permissionsService: PermissionsService\n ) { }\n\n /**\n * Veifica se o usuário tem permissão de entrar na tela de coletivas, ou de inclusão ou de exclusão, de acordo\n * com o fragment da rota.\n *\n * @param entityName nome da entidade para buscar as permissões\n * @param fragment fragmento da rota, é esperado um CollectiveProcessType\n */\n checkPermissions(entityName: string, fragment: string) {\n return this.permissionsService.get(entityName).pipe(\n map((permissions: any) => {\n if (fragment == CollectiveProcessType.INCLUDE) {\n if (!permissions.incluir) this.router.navigate([\"forbidden\"]);\n return permissions.visualizar;\n }\n else if (fragment == CollectiveProcessType.EXCLUDE) {\n if (!permissions.excluir) this.router.navigate([\"forbidden\"]);\n return permissions.excluir;\n } else {\n this.router.navigate([\"not-found\"])\n }\n })\n );\n }\n\n public getEmployeesIsPresent() {\n return this.employeesIsPresent.asObservable();\n }\n\n public getCompaniesIsPresent() {\n return this.companiesIsPresent.asObservable();\n }\n\n public setEmployeeIsPresent(value) {\n this.employeesIsPresent.next(value);\n }\n\n public setCompaniesIsPresent(value) {\n this.companiesIsPresent.next(value);\n }\n\n public setCancelForm(value) {\n this.cancelForm.next(value);\n }\n\n public getCancelForm() {\n return this.cancelForm.asObservable();\n }\n\n public getIsUsingTable() {\n return this.isUsingTable;\n }\n\n public setIsUsingTable(value: boolean): boolean {\n this.isUsingTable = value;\n return this.isUsingTable;\n }\n\n public getPanelStatus() {\n return this.collectiveFilterPanelCollapsed;\n }\n\n public setPanelStatus(value: boolean): boolean {\n this.collectiveFilterPanelCollapsed = value\n return this.collectiveFilterPanelCollapsed;\n }\n\n public resetPanelAndTableStatus() {\n this.setIsUsingTable(false);\n this.setPanelStatus(false);\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CompanyBranchLookupService {\n private companyBranchLookupDisplayFields = [\"codFil\", \"nomFil\"];\n public companyBranchLookupSeparator = \" - \";\n\n private companyBranchSearchSubject = new Subject();\n private companyBranchLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n public configService: EntityLookupConfigService,\n private companyBranchService: E070FilService,\n ) {\n }\n public updateSuggestions(value: any, ownerEntity: string = \"e070fil\") {\n if (value?.companyBranch) {\n value.companyBranch.label = this.getSuggestionValue(\n [\"codFil\", \"nomFil\"],\n ownerEntity,\n value,\n this.companyBranchLookupSeparator,\n );\n if (value.companyBranch.label.trim() === this.companyBranchLookupSeparator.trim()) {\n delete value.companyBranch.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, companyIds?: string[]): FormField {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_branch`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"companyBranch\",\n onLookupRequest: (value: string) => this.onCompanyBranchLookupRequest(value, additionalFilter, companyIds),\n onSearchRequest: (event: any) => this.onCompanyBranchSearchRequest(event, additionalFilter, companyIds),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCompanyBranchSearchFields(),\n searchGridFields: this.getCompanyBranchSearchFields(),\n searchObservable: this.companyBranchSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_branch_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.companyBranchLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCompanyBranchSearchRequest(event: any, additionalFilter, companyIds: string[]): void {\n this.onCompanyBranchSearchRequestObservable(event, additionalFilter, companyIds, true)\n .subscribe((data: any) => this.companyBranchSearchSubject.next(data));\n }\n\n public onCompanyBranchSearchRequestObservable(event: any, additionalFilter, companyIds: string[], isDynamicForm: boolean = false) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let companyBranchFilterQuery = createSearchRequestFilter(filterData, this.getCompanyBranchSearchFields());\n companyBranchFilterQuery = this.getFilters(companyBranchFilterQuery, companyIds, additionalFilter);\n const displayFields = mergeUnique(this.companyBranchLookupDisplayFields.concat(\"e070emp\"),\n [...this.companyBranchLookupDisplayFields]);\n return this.companyBranchService\n .list({ page, sort, filterQuery: companyBranchFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.companyBranchLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.companyBranchLookupSeparator);\n }\n\n public onCompanyBranchLookupRequest(value: string, additionalFilter, companyIds: string[]): void {\n this.onCompanyBranchLookupRequestObservable(value, additionalFilter, companyIds)\n .subscribe((data: any) => this.companyBranchLookupSubject.next(data.contents));\n }\n\n public onCompanyBranchLookupRequestObservable(value: string, additionalFilter, companyIds: string[]): Observable<any> {\n const sort = this.companyBranchLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getCompanyBranchSearchFields());\n workshiftfilterQuery = this.getFilters(workshiftfilterQuery, companyIds, additionalFilter);\n const displayFields = mergeUnique(this.companyBranchLookupDisplayFields.concat(\"e070emp\"),\n [...this.companyBranchLookupDisplayFields]);\n return this.companyBranchService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.companyBranchLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.companyBranchLookupSeparator),\n })),\n })),\n );\n }\n public getCompanyBranchSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_070_fil_cod_fil`),\n name: \"codFil\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_070_fil_nom_fil`),\n name: \"nomFil\",\n type: FieldType.String,\n }),\n ];\n }\n\n private getFilters(filterData: string, companyIds: string[], additionalFilter?: string, ): string {\n const filters = [];\n\n filterData && filters.push(`(${filterData})`);\n additionalFilter && filters.push(`(${additionalFilter})`);\n companyIds?.length && filters.push(`(e070emp.id in (${companyIds.map(id => `'${id}'`)}))`);\n \n return filters.join(' and ');\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { E070Fil } from \"../../core/entities/e-070-fil/e-070-fil\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CompanyBranchLookupService } from \"./company-branch-lookup.service\";\n\n@Component({\n selector: \"fnd-company-branch-lookup\",\n templateUrl: \"./company-branch-lookup.component.html\",\n})\nexport class CompanyBranchLookupComponent extends BaseLookupComponent implements OnInit {\n\n public companyBranchLookupSuggestions: E070Fil[];\n public companyBranchSearchFields: FormField[];\n public companyBranchSearchGridFields: FormField[];\n public companyBranchSearchGridData: E070Fil[];\n public companyBranchSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public collectiveService: CollectiveHistoryFiltersService,\n private companyBranchLookupService: CompanyBranchLookupService,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n public readonly cdRef: ChangeDetectorRef) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"companyBranch\";\n }\n\n public ngOnInit(): void {\n this.companyBranchSearchFields = this.companyBranchLookupService.getCompanyBranchSearchFields();\n this.companyBranchSearchGridFields = this.companyBranchLookupService.getCompanyBranchSearchFields();\n }\n\n public onCompanyBranchLookupRequest(value: string) {\n this.companyBranchLookupService\n .onCompanyBranchLookupRequestObservable(value, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.companyBranchLookupSuggestions = list.contents;\n });\n }\n\n public onCompanyBranchSearchRequest(event: any) {\n this.companyBranchLookupService\n .onCompanyBranchSearchRequestObservable(event, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.companyBranchSearchGridData = list.contents;\n this.companyBranchSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { E070FilService } from \"../../core/entities/e-070-fil/e-070-fil.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CompanyBranchLookupComponent } from \"./company-branch-lookup.component\";\nimport { CompanyBranchLookupService } from \"./company-branch-lookup.service\";\n\n@NgModule({\n declarations: [\n CompanyBranchLookupComponent,\n ],\n exports: [\n CompanyBranchLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n CompanyBranchLookupService,\n E070FilService,\n ],\n})\nexport class CompanyBranchLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { E070EmpDto } from \"./e-070-emp-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E070EmpService extends EntityService<E070EmpDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `erpx_fnd/empresa/entities/e070emp`,\n `erpx_fnd/empresa/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE070Emp(listParams: ListParams) {\n return this.http\n .get<E070EmpDto>(\"erpx_fnd/empresa/entities/e070emp\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E070EmpService } from \"../../core/entities/e-070-emp/e-070-emp.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter, createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CompanyLookupService {\n public companyLookupDisplayFields = [\"codEmp\", \"nomEmp\"];\n public companyLookupSeparator = \" - \";\n\n private companySearchSubject = new Subject();\n private companyLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private companyService: E070EmpService,\n ) {\n }\n\n public updateSuggestions(value: any, ownerEntity: string = \"e070emp\") {\n if (value?.company) {\n value.company.label = this.getSuggestionValue(\n [\n \"codEmp\",\n \"nomEmp\",\n ],\n ownerEntity,\n value,\n this.companyLookupSeparator,\n );\n if (value.company.label.trim() === this.companyLookupSeparator.trim()) {\n delete value.company.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.company`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"company\",\n onLookupRequest: (value: string) => this.onCompanyLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onCompanySearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCompanySearchFields(),\n searchGridFields: this.getCompanySearchFields(),\n searchObservable: this.companySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.company_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.companyLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCompanySearchRequest(event: any, additionalFilter): void {\n this.onCompanySearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.companySearchSubject.next(data));\n }\n\n public onCompanySearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let companyFilterQuery = createSearchRequestFilter(filterData, this.getCompanySearchFields());\n companyFilterQuery = getFilterForLookup(companyFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.companyLookupDisplayFields,\n [...this.companyLookupDisplayFields]);\n return this.companyService\n .list({ page, sort, filterQuery: companyFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.companyLookupDisplayFields\n .map((field) => {\n if (field === \"codEmp\" && !item.codEmp) {\n item.codEmp = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.companyLookupSeparator);\n }\n\n public onCompanyLookupRequest(value: string, additionalFilter): void {\n this.onCompanyLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.companyLookupSubject.next(data.contents));\n }\n\n public onCompanyLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.companyLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n\n let companyFilterQuery = createLookupRequestFilter(value, this.getCompanySearchFields());\n companyFilterQuery = getFilterForLookup(companyFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.companyLookupDisplayFields,\n [...this.companyLookupDisplayFields]);\n return this.companyService\n .list({ sort, filterQuery: companyFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.companyLookupDisplayFields\n .map((field) => {\n if (field === \"codEmp\" && !item.codEmp) {\n item.codEmp = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.companyLookupSeparator),\n })),\n })),\n );\n }\n\n public getCompanySearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_employer_cod_emp`),\n name: \"codEmp\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.history_employer_name`),\n name: \"nomEmp\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { E070EmpService } from \"../../core/entities/e-070-emp/e-070-emp.service\";\nimport { Employee } from \"../../core/entities/employee\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CompanyLookupService } from \"./company-lookup.service\";\n\n@Component({\n selector: \"fnd-company-lookup\",\n templateUrl: \"./company-lookup.component.html\",\n})\nexport class CompanyLookupComponent extends BaseLookupComponent implements OnInit {\n public companyLookupSuggestions: Employee[];\n public companySearchFields: FormField[];\n public companySearchGridFields: FormField[];\n public companySearchGridData: Employee[];\n public companySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private companyService: E070EmpService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private companyLookupService: CompanyLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"company\";\n }\n\n public ngOnInit(): void {\n this.companySearchFields = this.companyLookupService.getCompanySearchFields();\n this.companySearchGridFields = this.companyLookupService.getCompanySearchFields();\n }\n\n public onCompanyLookupRequest(value: string) {\n this.companyLookupService\n .onCompanyLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.companyLookupSuggestions = list.contents;\n });\n }\n\n public onCompanySearchRequest(event: any) {\n this.companyLookupService\n .onCompanySearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.companySearchGridData = list.contents;\n this.companySearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { CompanyLookupComponent } from \"./company-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CompanyLookupService } from \"./company-lookup.service\";\nimport {E070EmpService} from \"../../core/entities/e-070-emp/e-070-emp.service\";\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n CompanyLookupComponent,\n ],\n providers: [\n CompanyLookupService,\n E070EmpService,\n ],\n declarations: [\n CompanyLookupComponent],\n})\nexport class CompanyLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { E044CcuDto } from \"./e-044-ccu-dto\";\n\n@Injectable()\nexport class E044CcuService extends EntityService<E044CcuDto> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `erpx_fin_rat/foundation/entities/e044ccu`,\n `erpx_fin_rat/foundation/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E044CcuService } from \"../../core/entities/e-044-ccu/e-044-ccu.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class CostCenterLookupService {\n private costCenterLookupDisplayFields = [\"codCcu\", \"desCcu\"];\n public costCenterLookupSeparator = \" - \";\n\n private costCenterSearchSubject = new Subject();\n private costCenterLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private costCenterService: E044CcuService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value?.costCenter) {\n value.costCenter.label = this.getSuggestionValue(\n [\"codCcu\", \"desCcu\"],\n \"costCenter\",\n value,\n this.costCenterLookupSeparator,\n );\n if (value.costCenter.label.trim() === this.costCenterLookupSeparator.trim()) {\n delete value.costCenter.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, companyIds?: string[]) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.costCenter`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"costCenter\",\n onLookupRequest: (value: string) => this.onCostCenterLookupRequest(value, additionalFilter, companyIds),\n onSearchRequest: (event: any) => this.onCostCenterSearchRequest(event, additionalFilter, companyIds),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCostCenterSearchFields(),\n searchGridFields: this.getCostCenterSearchFields(),\n searchObservable: this.costCenterSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.cost_center_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.costCenterLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onCostCenterSearchRequest(event: any, additionalFilter, companyIds: string[]): void {\n this.onCostCenterSearchRequestObservable(event, additionalFilter, companyIds, true)\n .subscribe((data: any) => this.costCenterSearchSubject.next(data));\n }\n\n public onCostCenterSearchRequestObservable(event: any, additionalFilter, companyIds: string[], isDynamicForm: boolean = false) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let costCenterFilterQuery = createSearchRequestFilter(filterData, this.getCostCenterSearchFields());\n costCenterFilterQuery = this.getFiltersDefaultCostCenter(companyIds, costCenterFilterQuery, additionalFilter);\n\n const displayFields = mergeUnique(this.costCenterLookupDisplayFields,\n [...this.costCenterLookupDisplayFields]);\n return this.costCenterService\n .list({ page, sort, filterQuery: costCenterFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.costCenterLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { return getProp(item, field); }\n return item[field];\n })\n .join(this.costCenterLookupSeparator);\n }\n\n public onCostCenterLookupRequest(value: string, additionalFilter, companyIds: string[]): void {\n this.onCostCenterLookupRequestObservable(value, additionalFilter, companyIds)\n .subscribe((data: any) => this.costCenterLookupSubject.next(data.contents));\n }\n\n public onCostCenterLookupRequestObservable(value: string, additionalFilter, companyIds: string[]): Observable<any> {\n const sort = this.costCenterLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let costCenterFilterQuery = createLookupRequestFilter(value, this.getCostCenterSearchFields());\n costCenterFilterQuery = this.getFiltersDefaultCostCenter(companyIds, costCenterFilterQuery, additionalFilter);\n\n const displayFields = mergeUnique(this.costCenterLookupDisplayFields,\n [...this.costCenterLookupDisplayFields]);\n return this.costCenterService\n .list({ sort, filterQuery: costCenterFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.costCenterLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { return getProp(item, field); }\n return item[field];\n })\n .join(this.costCenterLookupSeparator),\n })),\n })),\n );\n }\n public getCostCenterSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_044_ccu_cod_ccu`),\n name: \"codCcu\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.e_044_ccu_des_ccu`),\n name: \"desCcu\",\n type: FieldType.String,\n }),\n ];\n }\n\n /**\n * Retorna o filtro padrão que é montado nos métodos {@link onCostCenterLookupRequest} e {@link onCostCenterSearchRequest}.\n * Segue as condições estabelecidas por esse método:\n * - O tipo do centro de custo deve ser igual a 'AnalÃtico'.\n * - Caso a busca seja fora de um escopo coletivo, a empresa do centro de custo deve ser igual a empresa do colaborador.\n * @returns Filtro com as devidas condicionais para buscar corretamente os centros de custo\n */\n private getFiltersDefaultCostCenter(companyIds: string[], filterData: string, additionalFilter?: string) {\n const filters = [];\n \n additionalFilter && filters.push(`(${additionalFilter})`);\n filterData && filters.push(`(${filterData})`);\n companyIds?.length && filters.push(`(e070emp.id in (${companyIds.map(id => `'${id}'`)})) and anaSin eq 'VA'`);\n\n return filters.join(' and ');\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { E044Ccu, Employee } from \"../../core\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { CostCenterLookupService } from \"./cost-center-lookup.service\";\n\n@Component({\n selector: \"fnd-cost-center-lookup\",\n templateUrl: \"./cost-center-lookup.component.html\",\n})\nexport class CostCenterLookupComponent extends BaseLookupComponent implements OnInit {\n @Input()\n public employee: Employee;\n public costCenterLookupSuggestions: E044Ccu[];\n public costCenterSearchFields: FormField[];\n public costCenterSearchGridFields: FormField[];\n public costCenterSearchGridData: E044Ccu[];\n public costCenterSearchTotalRecords: number;\n\n\n constructor(\n public translate: TranslateService,\n protected collectiveService: CollectiveHistoryFiltersService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private costCenterLookupService: CostCenterLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"costCenter\";\n }\n\n public ngOnInit(): void {\n this.costCenterSearchFields = this.costCenterLookupService.getCostCenterSearchFields();\n this.costCenterSearchGridFields = this.costCenterLookupService.getCostCenterSearchFields();\n }\n\n public onCostCenterLookupRequest(value: string) {\n this.costCenterLookupService\n .onCostCenterLookupRequestObservable(value, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.costCenterLookupSuggestions = list.contents;\n });\n }\n\n public onCostCenterSearchRequest(event: any) {\n this.costCenterLookupService\n .onCostCenterSearchRequestObservable(event, this.additionalFilter, this.companyIds)\n .subscribe((list: any) => {\n this.costCenterSearchGridData = list.contents;\n this.costCenterSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { CollectiveHistoryFiltersService } from \"../../core/entities/collective-history-filters/collective-history-filters.service\";\nimport { E044CcuService } from \"../../core/entities/e-044-ccu/e-044-ccu.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { CostCenterLookupComponent } from \"./cost-center-lookup.component\";\nimport { CostCenterLookupService } from \"./cost-center-lookup.service\";\n\n@NgModule({\n declarations: [\n CostCenterLookupComponent],\n exports: [\n CostCenterLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n CostCenterLookupService,\n CollectiveHistoryFiltersService,\n E044CcuService,\n ],\n})\nexport class CostCenterLookupModule {\n}\n\n","export enum SituationEmployee {\n WORKING = \"WORKING\",\n DISMISSED = \"DISMISSED\",\n EVERYONE = \"EVERYONE\"\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\nimport { EmployeeDto } from \"./employee-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { ContractType } from \"../../enums/contract-type\";\nimport { SituationEmployee } from \"../../enums/situation-employee\";\n\n@Injectable()\nexport class EmployeeService extends EntityService<EmployeeDto> {\n\n public contractTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_employee`),\n value: ContractType.EMPLOYEE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_director`),\n value: ContractType.DIRECTOR,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_trainee`),\n value: ContractType.TRAINEE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_aprentice`),\n value: ContractType.APRENTICE,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.contract_type_third_party`),\n value: ContractType.THIRD_PARTY,\n },\n];\n public situationOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_working`),\n value: SituationEmployee.WORKING,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_dismissed`),\n value: SituationEmployee.DISMISSED,\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.resignation_situation_type_all`),\n value: SituationEmployee.EVERYONE,\n },\n ];\n\n constructor(protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService,\n ) {\n super(\n http,\n messageService,\n `hcm_contract/employment_contract/entities/employee`,\n `hcm_contract/employment_contract/actions`,\n translate,\n configService,\n );\n }\n\n public listExternalEmployee(listParams: ListParams) {\n return this.http\n .get<EmployeeDto>(\"hcm_contract/employment_contract/entities/employee\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n public getLabelEmployeeRequest = (list: any, displayFields: any[], isDynamicForm: boolean = false) => {\n if (isDynamicForm) {\n return list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n }));\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n })\n }\n }\n\n public getLabelEmployeeSearch = (list: any, displayFields: any[], isDynamicForm: boolean = false) => {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelEmployeeGeneric(item, displayFields)\n })),\n });\n }\n }\n\n private getLabelEmployeeGeneric(item: any, displayFields: any[]) {\n return displayFields\n .map(field => {\n if (field.indexOf(\".\") > 0) item[field] = this.getProp(item, field);\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(\" - \");\n }\n\n private getProp(obj: any, path: any) {\n return path.split(\".\").reduce((result: any, prop: any) => (result[prop] === undefined ? \"\" : result[prop]), obj);\n }\n\n public loadLabelFromEnum(value: string) {\n const foundEnum = this.contractTypeOptions.filter(r => r.value === value);\n return (foundEnum.length && foundEnum[0].label) || this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EmployeeService } from \"../../core/entities/employee/employee.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\nimport { SituationEmployee } from \"../../core/enums/situation-employee\";\nimport * as moment from 'moment';\n\n@Injectable()\nexport class EmployeeLookupService {\n public employeeLookupDisplayFields = [\"employer.codEmp\", \"employer.nomEmp\", \"code\", \"person.nomPes\", \"employmentRelationship.contractType\"];\n public employeeFieldsForValidation: any[] = [\"hireDate\", \"dismissalDate\", \"modelGroup.id\"];\n public employeeLookupSeparator = \" - \";\n private employeeSearchSubject = new Subject();\n private employeeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n public configService: EntityLookupConfigService,\n private employeeService: EmployeeService) {\n }\n\n public updateSuggestions(value: any) {\n if (value?.employee) {\n if (value.employee?.employmentRelationship?.contractType) {\n value.employee.employmentRelationship.contractTypeLabel = this.employeeService\n .loadLabelFromEnum(value.employee.employmentRelationship.contractType);\n }\n value.employee.label = this.getSuggestionValue(\n [\"employer.codEmp\", \"employer.nomEmp\", \"code\", \"person.nomPes\", \"employmentRelationship.contractTypeLabel\"],\n \"employee\",\n value,\n this.employeeLookupSeparator,\n );\n if (value.employee.label.trim() === this.employeeLookupSeparator.trim()) {\n delete value.employee.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n public getFormField(isCollective?: boolean, companyIds?: string[], additionalFilter?: string): FormField {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"employee\",\n onLookupRequest: (value: string) => this.onEmployeeLookupRequest(value, companyIds, additionalFilter),\n onSearchRequest: (event: any) => this.onEmployeeSearchRequest(event, companyIds, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getEmployeeSearchFields(),\n searchGridFields: this.getEmployeeSearchFields(),\n searchObservable: this.employeeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.employeeLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public getEmployeeSearchFields() {\n return [\n ...this.getEmployeeLookupFields(),\n new FormField({\n label: this.translate\n .instant(`${this.configService.getTranslationPrefix()}.employee_situation`),\n options: this.employeeService.situationOptions,\n defaultValue: SituationEmployee.WORKING,\n name: \"situation\",\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getEmployeeLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_employer_cod_emp`),\n name: \"employer.codEmp\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_person_nom_pes`),\n name: \"person.nomPes\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate\n .instant(`${this.configService.getTranslationPrefix()}.employee_employment_relationship_contract_type`),\n name: \"employmentRelationship.contractType\",\n options: this.employeeService.contractTypeOptions,\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getFieldInLoookupRequestFilter() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employee_person_nom_pes`),\n name: \"person.nomPes\",\n type: FieldType.String,\n }),\n ];\n }\n\n public onEmployeeSearchRequest(event: any, companyIds: string[], additionalFilter?: string): void {\n this.onEmployeeSearchRequestObservable(event, companyIds, true, additionalFilter)\n .subscribe((data: any) => this.employeeSearchSubject.next(data));\n }\n\n public onEmployeeSearchRequestObservable(event: any, companyIds?: string[], isDynamicForm: boolean = false, additionalFilter?: string) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let employeeFilterQuery = createSearchRequestFilter(filterData, this.getEmployeeLookupFields());\n employeeFilterQuery = this.getFilters({filterData: employeeFilterQuery, additionalFilter}, companyIds, filterData?.situation);\n\n const displayFields = mergeUnique(this.employeeLookupDisplayFields, this.employeeFieldsForValidation);\n return this.employeeService\n .list({ page, sort, filterQuery: employeeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n situation: this.setSituationToEmployee(item.dismissalDate)\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n situation: this.setSituationToEmployee(item.dismissalDate)\n })),\n });\n }\n }\n\n private setSituationToEmployee(dismissalDate): string {\n const nowDate = moment().format('YYYY-MM-DD');\n\n return (dismissalDate > nowDate || !dismissalDate)\n ? SituationEmployee.WORKING\n : SituationEmployee.DISMISSED;\n }\n\n private getLabelForMaping(item) {\n return this.employeeLookupDisplayFields\n .map((field) => { // NOSONAR\n if (field.indexOf(\".\") > 0) { item[field] = getProp(item, field); }\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.employeeService.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(this.employeeLookupSeparator);\n }\n\n public onEmployeeLookupRequest(value: string, companyIds: string[], additionalFilter?: string): void {\n this.onEmployeeLookupRequestObservable(value, companyIds, additionalFilter)\n .subscribe((data: any) => this.employeeLookupSubject.next(data.contents));\n }\n\n public onEmployeeLookupRequestObservable(value: string, companyIds?: string[], additionalFilter?: string) {\n const sort = this.employeeLookupDisplayFields.map((field: any) => ({\n field,\n order: 1,\n }));\n let filterQuery = createLookupRequestFilter(value, this.getFieldInLoookupRequestFilter());\n filterQuery = this.getFilters({filterData: filterQuery, additionalFilter}, companyIds, null, );\n const displayFields = mergeUnique(this.employeeLookupDisplayFields, this.employeeFieldsForValidation);\n return this.employeeService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.employeeLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) { item[field] = getProp(item, field); }\n if (field === \"employmentRelationship.contractType\") {\n item[field] = this.employeeService.loadLabelFromEnum(item[field]);\n }\n return item[field];\n })\n .join(this.employeeLookupSeparator),\n })),\n })),\n );\n }\n\n private getFilters(\n filters: {filterData: string, additionalFilter?: string},\n companyIds: string[],\n situationEmployee?: SituationEmployee): string {\n\n const employeeFilters = [];\n\n const nowDate = moment().format('YYYY-MM-DD');\n if (situationEmployee == SituationEmployee.WORKING) {\n employeeFilters.push(`(dismissalDate is null or dismissalDate gt '${nowDate}')`);\n } else if (situationEmployee == SituationEmployee.DISMISSED) {\n employeeFilters.push(`(dismissalDate is not null and dismissalDate le '${nowDate}')`);\n }\n\n filters?.additionalFilter && employeeFilters.push(`(${filters?.additionalFilter})`);\n companyIds?.length && employeeFilters.push(`(employer.id in (${companyIds.map(id => `'${id}'`)}))`);\n filters?.filterData && employeeFilters.push(`(${filters?.filterData})`);\n\n return employeeFilters.join(` and `);\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Employee } from \"../../core/entities/employee/employee\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { EmployeeLookupService } from \"./employee-lookup.service\";\n\n@Component({\n selector: \"fnd-employee-lookup\",\n templateUrl: \"./employee-lookup.component.html\",\n})\nexport class EmployeeLookupComponent extends BaseLookupComponent implements OnInit {\n\n public employeeLookupSuggestions: Employee[];\n public employeeSearchFields: FormField[];\n public employeeSearchGridFields: FormField[];\n public employeeSearchGridData: Employee[];\n public employeeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private employeeLookupService: EmployeeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"employee\";\n }\n\n public ngOnInit(): void {\n this.employeeSearchFields = this.employeeLookupService.getEmployeeSearchFields();\n this.employeeSearchGridFields = this.employeeLookupService.getEmployeeSearchFields();\n }\n\n public onEmployeeLookupRequest(value: string) {\n this.employeeLookupService\n .onEmployeeLookupRequestObservable(value, this.companyIds)\n .subscribe((list: any) => {\n this.employeeLookupSuggestions = list.contents;\n });\n }\n\n public onEmployeeSearchRequest(event: any) {\n this.employeeLookupService\n .onEmployeeSearchRequestObservable(event, this.companyIds)\n .subscribe((list: any) => {\n this.employeeSearchGridData = list.contents;\n this.employeeSearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { EmployeeLookupComponent } from \"./employee-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { EmployeeLookupService } from \"./employee-lookup.service\";\nimport { EmployeeService } from \"../../core/entities/employee/employee.service\";\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n EmployeeLookupComponent,\n ],\n providers: [\n EmployeeLookupService,\n EmployeeService,\n ],\n declarations: [EmployeeLookupComponent],\n})\nexport class EmployeeLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { LocationDto } from \"./location-dto\";\n\n@Injectable()\nexport class LocationService extends EntityService<LocationDto> {\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/location`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { LocationService } from \"../../core/entities/location/location.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class LocationLookupService {\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private locationService: LocationService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public locationLookupDisplayFields = [\"code\", \"name\"];\n public locationLookupSeparator = \" - \";\n\n public locationSearchSubject = new Subject();\n public locationLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.location) {\n value.location.label = this.getSuggestionValue([\"code\", \"name\"], \"location\", value, this.locationLookupSeparator);\n if (value.location.label.trim() === this.locationLookupSeparator.trim()) {\n delete value.location.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"location\",\n onLookupRequest: (value: string) => this.onLocationLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onLocationSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getLocationSearchFields(),\n searchGridFields: this.getLocationSearchFields(),\n searchObservable: this.locationSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.locationLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onLocationSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onLocationSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.locationSearchSubject.next(data));\n }\n\n public onLocationSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let locationFilterQuery = createSearchRequestFilter(filterData, this.getLocationSearchFields());\n locationFilterQuery = getFilterForLookup(locationFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.locationLookupDisplayFields,\n [...this.locationLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.locationService\n .list({ page, sort, filterQuery: locationFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.locationLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.locationLookupSeparator);\n }\n\n public onLocationLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onLocationLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.locationLookupSubject.next(data.contents));\n }\n\n public onLocationLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.locationLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let locationFilterQuery = createLookupRequestFilter(value, this.getLocationSearchFields());\n locationFilterQuery = getFilterForLookup(locationFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.locationLookupDisplayFields,\n [...this.locationLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.locationService\n .list({ sort, filterQuery: locationFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.locationLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.locationLookupSeparator),\n })),\n })),\n );\n }\n public getLocationSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.location_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { LocationLookupService } from \"./location-lookup.service\";\n\n@Component({\n selector: \"fnd-location-lookup\",\n templateUrl: \"./location-lookup.component.html\",\n})\nexport class LocationLookupComponent extends BaseLookupComponent implements OnInit {\n public locationLookupSuggestions: Location[];\n public locationSearchFields: FormField[];\n public locationSearchGridFields: FormField[];\n public locationSearchGridData: Location[];\n public locationSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private locationLookupService: LocationLookupService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n public configService: EntityLookupConfigService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"location\";\n this.entity = \"location\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.locationSearchFields = this.locationLookupService.getLocationSearchFields();\n this.locationSearchGridFields = this.locationLookupService.getLocationSearchFields();\n }\n\n public onLocationLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.locationLookupService\n .onLocationLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.locationLookupSuggestions = list.contents;\n });\n } else {\n this.locationLookupSuggestions = [];\n }\n }\n\n public onLocationSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.locationLookupService\n .onLocationSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.locationSearchGridData = list.contents;\n this.locationSearchTotalRecords = list.totalElements;\n });\n } else {\n this.locationSearchGridData = [];\n this.locationSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { LocationService } from \"../../core/entities/location/location.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { LocationLookupComponent } from \"./location-lookup.component\";\nimport { LocationLookupService } from \"./location-lookup.service\";\n\n@NgModule({\n declarations: [\n LocationLookupComponent],\n exports: [\n LocationLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n LocationLookupService,\n LocationService,\n ],\n})\nexport class LocationLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PositionActingTypeDto } from \"./position-acting-type-dto\";\n\n\n@Injectable()\nexport class PositionActingTypeService extends EntityService<PositionActingTypeDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/position/entities/positionActingType`,\n `hcm_foundation/position/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class PositionActingTypeLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private positionActingTypeService: PositionActingTypeService) {\n }\n\n public positionActingTypeLookupSeparator = \" - \";\n private positionActingTypeLookupDisplayFields = [\"code\", \"name\"];\n\n private positionActingTypeSearchSubject = new Subject();\n private positionActingTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.positionActingType) {\n value.positionActingType.label = this.getSuggestionValue(\n [\n \"code\",\n \"name\",\n ],\n \"positionActingType\",\n value,\n this.positionActingTypeLookupSeparator,\n );\n if (value.positionActingType.label.trim() === this.positionActingTypeLookupSeparator.trim()) {\n delete value.positionActingType.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"positionActingType\",\n onLookupRequest: (value: string) => this.onPositionActingTypeLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onPositionActingTypeSearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getPositionActingTypeSearchFields(),\n searchGridFields: this.getPositionActingTypeSearchFields(),\n searchObservable: this.positionActingTypeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.positionActingTypeLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onPositionActingTypeSearchRequest(event: any, additionalFilter): void {\n this.onPositionActingTypeSearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.positionActingTypeSearchSubject.next(data));\n }\n\n public onPositionActingTypeSearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let positionActingTypeFilterQuery = createSearchRequestFilter(filterData, this.getPositionActingTypeSearchFields());\n positionActingTypeFilterQuery = getFilterForLookup(positionActingTypeFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.positionActingTypeLookupDisplayFields,\n [...this.positionActingTypeLookupDisplayFields]);\n return this.positionActingTypeService\n .list({ page, sort, filterQuery: positionActingTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.positionActingTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.positionActingTypeLookupSeparator);\n }\n\n public onPositionActingTypeLookupRequest(value: string, additionalFilter): void {\n this.onPositionActingTypeLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.positionActingTypeLookupSubject.next(data.contents));\n }\n\n public onPositionActingTypeLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.positionActingTypeLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let positionActingTypeFilterQuery = createLookupRequestFilter(value, this.getPositionActingTypeSearchFields());\n positionActingTypeFilterQuery = getFilterForLookup(positionActingTypeFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.positionActingTypeLookupDisplayFields,\n [...this.positionActingTypeLookupDisplayFields]);\n return this.positionActingTypeService\n .list({ sort, filterQuery: positionActingTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.positionActingTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.positionActingTypeLookupSeparator),\n })),\n })),\n );\n }\n\n public getPositionActingTypeSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_acting_type_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { PositionActingType } from \"../../core\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { PositionActingTypeLookupService } from \"./position-acting-type-lookup.service\";\n\n@Component({\n selector: \"fnd-position-acting-type-lookup\",\n templateUrl: \"./position-acting-type-lookup.component.html\",\n})\nexport class PositionActingTypeLookupComponent extends BaseLookupComponent implements OnInit {\n public positionActingTypeLookupSuggestions: PositionActingType[];\n public positionActingTypeSearchFields: FormField[];\n public positionActingTypeSearchGridFields: FormField[];\n public positionActingTypeSearchGridData: PositionActingType[];\n public positionActingTypeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private positionActingTypeService: PositionActingTypeService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private positionActingTypeLookupService: PositionActingTypeLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"positionActingType\";\n }\n\n public ngOnInit(): void {\n this.positionActingTypeSearchFields = this.positionActingTypeLookupService.getPositionActingTypeSearchFields();\n this.positionActingTypeSearchGridFields = this.positionActingTypeLookupService.getPositionActingTypeSearchFields();\n }\n\n public onPositionActingTypeLookupRequest(value: string) {\n this.positionActingTypeLookupService\n .onPositionActingTypeLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.positionActingTypeLookupSuggestions = list.contents;\n });\n }\n\n public onPositionActingTypeSearchRequest(event: any) {\n this.positionActingTypeLookupService\n .onPositionActingTypeSearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.positionActingTypeSearchGridData = list.contents;\n this.positionActingTypeSearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { PositionActingTypeLookupComponent } from \"./position-acting-type-lookup.component\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PositionActingTypeLookupService } from \"./position-acting-type-lookup.service\";\nimport { PositionActingTypeService } from \"../../core/entities/position-acting-type/position-acting-type.service\";\n\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n PositionActingTypeLookupComponent,\n\n ],\n providers: [\n PositionActingTypeLookupService,\n PositionActingTypeService,\n ],\n declarations: [\n PositionActingTypeLookupComponent],\n})\nexport class PositionActingTypeLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { PositionDto } from \"./position-dto\";\n\n@Injectable()\nexport class PositionService extends EntityService<PositionDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/position/entities/position`,\n `hcm_foundation/position/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { PositionService } from \"../../core/entities/position/position.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter, createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class PositionLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private positionService: PositionService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public positionLookupDisplayFields = [\"code\", \"shortName\"];\n public positionLookupSeparator = \" - \";\n\n public positionSearchSubject = new Subject();\n public positionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.position) {\n value.position.label = this.getSuggestionValue(\n [\n \"code\",\n \"shortName\",\n ],\n \"position\",\n value,\n this.positionLookupSeparator,\n );\n if (value.position.label.trim() === this.positionLookupSeparator.trim()) {\n delete value.position.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"position\",\n onLookupRequest: (value: string) => this.onPositionLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onPositionSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getPositionSearchFields(),\n searchGridFields: this.getPositionSearchFields(),\n searchObservable: this.positionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.positionLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onPositionSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onPositionSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.positionSearchSubject.next(data));\n }\n\n public onPositionSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let positionFilterQuery = createSearchRequestFilter(filterData, this.getPositionSearchFields());\n positionFilterQuery = getFilterForLookup(positionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.positionLookupDisplayFields,\n [...this.positionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.positionService\n .list({ page, sort, filterQuery: positionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.positionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.positionLookupSeparator);\n }\n\n public onPositionLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onPositionLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.positionLookupSubject.next(data.contents));\n }\n\n public onPositionLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.positionLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let positionFilterQuery = createLookupRequestFilter(value, this.getPositionSearchFields());\n positionFilterQuery = getFilterForLookup(positionFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.positionLookupDisplayFields,\n [...this.positionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.positionService\n .list({ sort, filterQuery: positionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.positionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.positionLookupSeparator),\n })),\n })),\n );\n }\n\n public getPositionSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_history_position_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.position_history_position_name`),\n name: \"shortName\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Position } from \"../../core/entities/position/position\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { PositionLookupService } from \"./position-lookup.service\";\n\n@Component({\n selector: \"fnd-position-lookup\",\n templateUrl: \"./position-lookup.component.html\",\n})\nexport class PositionLookupComponent extends BaseLookupComponent implements OnInit {\n public positionLookupSuggestions: Position[];\n public positionSearchFields: FormField[];\n public positionSearchGridFields: FormField[];\n public positionSearchGridData: Position[];\n public positionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private positionLookupService: PositionLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"position\";\n this.entity = \"position\";\n this.domain = \"hcm_foundation\";\n this.service = \"position\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.positionSearchFields = this.positionLookupService.getPositionSearchFields();\n this.positionSearchGridFields = this.positionLookupService.getPositionSearchFields();\n }\n\n public onPositionLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.positionLookupService\n .onPositionLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.positionLookupSuggestions = list.contents;\n });\n } else {\n this.positionLookupSuggestions = [];\n }\n }\n\n public onPositionSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.positionLookupService\n .onPositionSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.positionSearchGridData = list.contents;\n this.positionSearchTotalRecords = list.totalElements;\n });\n } else {\n this.positionSearchGridData = [];\n this.positionSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { PositionService } from \"../../core/entities/position/position.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PositionLookupComponent } from \"./position-lookup.component\";\nimport { PositionLookupService } from \"./position-lookup.service\";\n\n@NgModule({\n declarations: [\n PositionLookupComponent],\n exports: [\n PositionLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n PositionLookupService,\n PositionService,\n ],\n})\nexport class PositionLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WorkshiftDto } from \"./workshift-dto\";\n\n\n@Injectable()\nexport class WorkshiftService extends EntityService<WorkshiftDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/work_schedule/entities/workshift`,\n `hcm_foundation/work_schedule/actions`,\n translate,\n configService,\n );\n }\n}\n","export enum WorkshiftType {\n PERMANENT = \"PERMANENT\",\n AUTOMATIC_SEARCH = \"AUTOMATIC_SEARCH\",\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { WorkshiftService } from \"../../core/entities/workshift/workshift.service\";\nimport { WorkshiftType } from \"../../core/enums/workshift-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class WorkshiftLookupService {\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public workshiftLookupDisplayFields = [\"code\", \"name\", \"workshiftType\"];\n public workshiftLookupSeparator = \" - \";\n\n public workshiftTypeOptions: { label: string; value: string }[] = [\n {\n label: this.translate.instant(\"hcm_contract.employment_contract.workshift_workshift_type_automatic\"),\n value: WorkshiftType.AUTOMATIC_SEARCH,\n },\n {\n label: this.translate.instant(\"hcm_contract.employment_contract.workshift_workshift_type_permanent\"),\n value: WorkshiftType.PERMANENT,\n },\n ];\n public workshiftSearchSubject = new Subject();\n public workshiftLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private workshiftService: WorkshiftService,\n ) {\n }\n\n private convertWorkshiftType(type: WorkshiftType) {\n switch (type) {\n case WorkshiftType.AUTOMATIC_SEARCH:\n return this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type_automatic`);\n case WorkshiftType.PERMANENT:\n return this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type_permanent`);\n }\n }\n\n public updateSuggestions(value: any) {\n if (value.workshift) {\n value.workshift.workshiftTypeName = this.convertWorkshiftType(value.workshift.workshiftType);\n value.workshift.label = this.getSuggestionValue(\n [\"code\", \"name\", \"workshiftTypeName\"],\n \"workshift\",\n value, this.workshiftLookupSeparator,\n );\n value.workshift.workshiftType = this.convertWorkshiftType(value.workshift.workshiftType);\n if (value.workshift.label.trim() === this.workshiftLookupSeparator.trim()) {\n delete value.workshift.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"workshift\",\n onLookupRequest: (value: string) => this.onWorkshiftLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onWorkshiftSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getWorkshiftSearchFields(),\n searchGridFields: this.getWorkshiftSearchFields(),\n searchObservable: this.workshiftSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.workshiftLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n public onWorkshiftSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onWorkshiftSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.workshiftSearchSubject.next(data));\n }\n\n public onWorkshiftSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let workshiftFilterQuery = createSearchRequestFilter(filterData, this.getWorkshiftSearchFields());\n workshiftFilterQuery = getFilterForLookup(workshiftFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.workshiftLookupDisplayFields,\n [...this.workshiftLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.workshiftService\n .list({ page, sort, filterQuery: workshiftFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n \n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n workshiftType: this.convertWorkshiftType(item.workshiftType),\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.workshiftLookupDisplayFields\n .map((field) => {\n if (field === \"workshiftType\") {\n item.workshiftType = this.convertWorkshiftType(item.workshiftType);\n }\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.workshiftLookupSeparator);\n }\n\n public onWorkshiftLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onWorkshiftLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.workshiftLookupSubject.next(data.contents));\n }\n\n public onWorkshiftLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.workshiftLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftFilterQuery = createLookupRequestFilter(value, this.getWorkshiftSearchFields());\n workshiftFilterQuery = getFilterForLookup(workshiftFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.workshiftLookupDisplayFields,\n [...this.workshiftLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.workshiftService\n .list({ sort, filterQuery: workshiftFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n workshiftType: this.convertWorkshiftType(item.workshiftType),\n label: this.workshiftLookupDisplayFields\n .map((field) => {\n if (field === \"workshiftType\") {\n item.workshiftType = this.convertWorkshiftType(item.workshiftType);\n }\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.workshiftLookupSeparator),\n })),\n })),\n );\n }\n public getWorkshiftSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type`),\n name: \"workshiftType\",\n options: this.workshiftTypeOptions,\n type: FieldType.Enum,\n }),\n ];\n }\n\n public getWorkshiftSearchGridFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.workshift_workshift_type`),\n name: \"workshiftType\",\n type: FieldType.Enum,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Workshift } from \"../../core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WorkshiftLookupService } from \"./workshift-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-workshift-lookup\",\n templateUrl: \"./workshift-lookup.component.html\",\n})\nexport class WorkshiftLookupComponent extends BaseLookupComponent implements OnInit {\n public workshiftLookupSuggestions: Workshift[];\n public workshiftSearchFields: FormField[];\n public workshiftSearchGridFields: FormField[];\n public workshiftSearchGridData: Workshift[];\n public workshiftSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private workshiftLookupService: WorkshiftLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"workshift\";\n this.entity = \"workshift\";\n this.domain = \"hcm_foundation\";\n this.service = \"work_schedule\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.workshiftSearchFields = this.workshiftLookupService.getWorkshiftSearchFields();\n this.workshiftSearchGridFields = this.workshiftLookupService.getWorkshiftSearchGridFields();\n }\n\n public onWorkshiftLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.workshiftLookupService\n .onWorkshiftLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.workshiftLookupSuggestions = list.contents;\n });\n } else {\n this.workshiftLookupSuggestions = [];\n }\n }\n\n public onWorkshiftSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.workshiftLookupService\n .onWorkshiftSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.workshiftSearchGridData = list.contents;\n this.workshiftSearchTotalRecords = list.totalElements;\n });\n } else {\n this.workshiftSearchGridData = [];\n this.workshiftSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { WorkshiftService } from \"../../core/entities/workshift/workshift.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { WorkshiftLookupComponent } from \"./workshift-lookup.component\";\nimport { WorkshiftLookupService } from \"./workshift-lookup.service\";\n\n@NgModule({\n declarations: [\n WorkshiftLookupComponent],\n exports: [\n WorkshiftLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n WorkshiftService,\n WorkshiftLookupService,\n ],\n})\nexport class WorkshiftLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\n\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { JobPositionDto } from \"./job-position-dto\";\n\n@Injectable()\nexport class JobPositionService extends EntityService<JobPositionDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService,\n protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/jobPosition`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { JobPositionService } from \"../../core/entities/job-position/job-position.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class JobPositionLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private jobPositionService: JobPositionService) {\n }\n\n public registerFieldsForValidation: any[] = [\"initialValidity\", \"finalValidity\"];\n public jobPositionLookupDisplayFields = [\"code\", \"shortName\"];\n public jobPositionLookupSeparator = \" - \";\n\n public jobPositionSearchSubject = new Subject();\n public jobPositionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value.jobPosition) {\n value.jobPosition.label = this.getSuggestionValue(\n [\"code\", \"shortName\"],\n \"jobPosition\",\n value,\n this.jobPositionLookupSeparator,\n );\n if (value.jobPosition.label.trim() === this.jobPositionLookupSeparator.trim()) {\n delete value.jobPosition.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"jobPosition\",\n onLookupRequest: (value: string) => this.onJobPositionLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onJobPositionSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getJobPositionSearchFields(),\n searchGridFields: this.getJobPositionSearchFields(),\n searchObservable: this.jobPositionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.jobPositionLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onJobPositionSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onJobPositionSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.jobPositionSearchSubject.next(data));\n }\n\n public onJobPositionSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let jobPositionFilterQuery = createSearchRequestFilter(filterData, this.getJobPositionSearchFields());\n jobPositionFilterQuery = getFilterForLookup(jobPositionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.jobPositionLookupDisplayFields,\n [...this.jobPositionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.jobPositionService\n .list({ page, sort, filterQuery: jobPositionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n \n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.jobPositionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.jobPositionLookupSeparator);\n }\n public onJobPositionLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onJobPositionLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.jobPositionLookupSubject.next(data.contents));\n }\n\n public onJobPositionLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.jobPositionLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n let jobPositionFilterQuery = createLookupRequestFilter(value, this.getJobPositionSearchFields());\n jobPositionFilterQuery = getFilterForLookup(jobPositionFilterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.jobPositionLookupDisplayFields,\n [...this.jobPositionLookupDisplayFields, ...this.registerFieldsForValidation]);\n return this.jobPositionService\n .list({ sort, filterQuery: jobPositionFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.jobPositionLookupDisplayFields\n .map((field) => {\n if (field === \"shortName\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.jobPositionLookupSeparator),\n })),\n })),\n );\n }\n public getJobPositionSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.job_position_short_description`),\n name: \"shortName\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { JobPosition } from \"../../core/entities/job-position/job-position\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { JobPositionLookupService } from \"./job-position-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-job-position-lookup\",\n templateUrl: \"./job-position-lookup.component.html\",\n})\nexport class JobPositionLookupComponent extends BaseLookupComponent implements OnInit {\n public jobPositionLookupSuggestions: JobPosition[];\n public jobPositionSearchFields: FormField[];\n public jobPositionSearchGridFields: FormField[];\n public jobPositionSearchGridData: JobPosition[];\n public jobPositionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private jobPositionLookupService: JobPositionLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"jobPosition\";\n this.entity = \"jobPosition\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = true;\n }\n\n public ngOnInit(): void {\n this.jobPositionSearchFields = this.jobPositionLookupService.getJobPositionSearchFields();\n this.jobPositionSearchGridFields = this.jobPositionLookupService.getJobPositionSearchFields();\n }\n\n public onJobPositionLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.jobPositionLookupService\n .onJobPositionLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.jobPositionLookupSuggestions = list.contents;\n });\n } else {\n this.jobPositionLookupSuggestions = [];\n }\n }\n\n public onJobPositionSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.jobPositionLookupService\n .onJobPositionSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.jobPositionSearchGridData = list.contents;\n this.jobPositionSearchTotalRecords = list.totalElements;\n });\n } else {\n this.jobPositionSearchGridData = [];\n this.jobPositionSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { JobPositionService } from \"../../core/entities/job-position/job-position.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { JobPositionLookupComponent } from \"./job-position-lookup.component\";\nimport { JobPositionLookupService } from \"./job-position-lookup.service\";\n\n@NgModule({\n declarations: [\n JobPositionLookupComponent],\n exports: [\n JobPositionLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n JobPositionLookupService,\n JobPositionService,\n ],\n})\nexport class JobPositionLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { AnnotationTypeDto } from \"./annotation-type-dto\";\n\n@Injectable()\nexport class AnnotationTypeService extends EntityService<AnnotationTypeDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/annotationType`,\n `hcm_foundation/general/actions`,\n translate,\n configService\n );\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FieldType, FormField } from '@seniorsistemas/angular-components';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { AnnotationTypeService } from '../../core/entities/annotation-type/annotation-type.service';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { \n createSearchRequestFilter,\n createLookupRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique\n} from '../../shared/utils/utils';\n\n@Injectable()\nexport class AnnotationTypeLookupService {\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private annotationTypeService: AnnotationTypeService) {\n }\n\n public annotationTypeAdvancedDisplayFields = [\"code\", \"name\"];\n public annotationTypeLookupDisplayFields = [\"code\", \"name\"];\n public annotationTypeLookupSeparator = \" - \";\n \n public annotationTypeSearchSubject = new Subject();\n public annotationTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n \n public updateSuggestions(value: any) {\n if (value?.annotationType) {\n value.annotationType.label = \n this.getSuggestionValue([\"code\", \"name\"], \"annotationType\", value, this.annotationTypeLookupSeparator);\n if (value.annotationType.label.trim() === this.annotationTypeLookupSeparator.trim()) {\n delete value.annotationType.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map(field => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n public onAnnotationTypeSearchRequest(value: string, additionalFilter, initialFilter): void {\n this.onAnnotationTypeSearchRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.annotationTypeSearchSubject.next(data));\n }\n\n public onAnnotationTypeSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n let filterQuery = createSearchRequestFilter(filterData, this.getAnnotationTypeSearchFields());\n filterQuery = getFilterForLookup(filterQuery, additionalFilter, initialFilter);\n\n const displayFields = mergeUnique(this.annotationTypeLookupDisplayFields,\n [...this.annotationTypeLookupDisplayFields]);\n \n return this.annotationTypeService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n\n private getLabelForMaping(item) {\n return this.annotationTypeLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.shortName) {\n item.shortName = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.annotationTypeLookupSeparator);\n }\n\n public onAnnotationTypeLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onAnnotationTypeLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.annotationTypeLookupSubject.next(data));\n }\n\n public onAnnotationTypeLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.annotationTypeLookupDisplayFields.map((field: any) => ({ field, order: 1 }));\n\n let filterQuery = createLookupRequestFilter(value, this.getAnnotationTypeSearchFields());\n filterQuery = getFilterForLookup(filterQuery, additionalFilter, initialFilter);\n const displayFields = this.annotationTypeAdvancedDisplayFields\n return this.annotationTypeService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public getAnnotationTypeSearchFields() {\n return [\n new FormField({\n name: \"code\",\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.annotation_type_code`),\n type: FieldType.Integer,\n }),\n new FormField({\n name: \"name\",\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.annotation_type_name`),\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { AnnotationType } from \"../../core/entities/annotation-type/annotation-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { AnnotationTypeLookupService } from \"./annotation-type-lookup.service\";\n\n@Component({\n selector: \"fnd-annotation-type-lookup\",\n templateUrl: \"./annotation-type-lookup.component.html\",\n})\nexport class AnnotationTypeLookupComponent extends BaseLookupComponent implements OnInit {\n public annotationTypeLookupSuggestions: AnnotationType[];\n public annotationTypeSearchFields: FormField[];\n public annotationTypeSearchGridFields: FormField[];\n public annotationTypeSearchGridData: AnnotationType[];\n public annotationTypeSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private annotationTypeLookupService: AnnotationTypeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"annotationType\";\n this.entity = \"annotationType\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.annotationTypeSearchFields = this.annotationTypeLookupService.getAnnotationTypeSearchFields();\n this.annotationTypeSearchGridFields = this.annotationTypeLookupService.getAnnotationTypeSearchFields();\n }\n\n public onAnnotationTypeLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.annotationTypeLookupService\n .onAnnotationTypeLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.annotationTypeLookupSuggestions = list.contents;\n });\n } else {\n this.annotationTypeLookupSuggestions = [];\n }\n }\n\n public onAnnotationTypeSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.annotationTypeLookupService\n .onAnnotationTypeSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.annotationTypeSearchGridData = list.contents;\n this.annotationTypeSearchTotalRecords = list.totalElements;\n });\n } else {\n this.annotationTypeSearchGridData = [];\n this.annotationTypeSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { AnnotationTypeService } from '../../core/entities/annotation-type/annotation-type.service';\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { AnnotationTypeLookupComponent } from './annotation-type-lookup.component';\nimport { AnnotationTypeLookupService } from './annotation-type-lookup.service';\n\n@NgModule({\n declarations: [AnnotationTypeLookupComponent],\n exports: [\n AnnotationTypeLookupComponent\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n AnnotationTypeLookupService,\n AnnotationTypeService\n ]\n})\nexport class AnnotationTypeLookupModule { }\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { SyndicateDto } from \"./syndicate-dto\";\n\n@Injectable()\nexport class SyndicateService extends EntityService<SyndicateDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/syndicate`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class SyndicateLookupService {\n private syndicateLookupDisplayFields = [\"code\", \"name\"];\n public syndicateLookupSeparator = \" - \";\n\n public syndicateSearchSubject = new Subject();\n public syndicateLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private syndicateService: SyndicateService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value.syndicate) {\n value.syndicate.label = this.getSuggestionValue([\"code\", \"name\"], \"syndicate\", value, this.syndicateLookupSeparator);\n if (value.syndicate.label.trim() === this.syndicateLookupSeparator.trim()) {\n delete value.syndicate.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`) + \"\"\n );\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"syndicate\",\n onLookupRequest: (value: string) => this.onSyndicateLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onSyndicateSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getSyndicateSearchFields(),\n searchGridFields: this.getSyndicateSearchFields(),\n searchObservable: this.syndicateSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.syndicateLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onSyndicateSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onSyndicateSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.syndicateSearchSubject.next(data));\n }\n\n public onSyndicateSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let syndicateFilterQuery = createSearchRequestFilter(filterData, this.getSyndicateSearchFields());\n syndicateFilterQuery = getFilterForLookup(syndicateFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.syndicateLookupDisplayFields,\n [...this.syndicateLookupDisplayFields]);\n return this.syndicateService\n .list({ page, sort, filterQuery: syndicateFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n\n private getLabelForMaping(item) {\n return this.syndicateLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.syndicateLookupSeparator);\n }\n\n public onSyndicateLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onSyndicateLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.syndicateLookupSubject.next(data.contents));\n }\n\n public onSyndicateLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.syndicateLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getSyndicateSearchFields());\n workshiftfilterQuery = getFilterForLookup(workshiftfilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.syndicateLookupDisplayFields,\n [...this.syndicateLookupDisplayFields]);\n return this.syndicateService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.syndicateLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.syndicateLookupSeparator),\n })),\n })),\n );\n }\n\n public getSyndicateSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.syndicate_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { Syndicate } from \"../../core/entities/syndicate/syndicate\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { SyndicateLookupService } from \"./syndicate-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-syndicate-lookup\",\n templateUrl: \"./syndicate-lookup.component.html\",\n})\nexport class SyndicateLookupComponent extends BaseLookupComponent implements OnInit {\n public syndicateLookupSuggestions: Syndicate[];\n public syndicateSearchFields: FormField[];\n public syndicateSearchGridFields: FormField[];\n public syndicateSearchGridData: Syndicate[];\n public syndicateSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private syndicateService: SyndicateService,\n private syndicateLookupService: SyndicateLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"syndicate\";\n this.entity = \"syndicate\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.syndicateSearchFields = this.syndicateLookupService.getSyndicateSearchFields();\n this.syndicateSearchGridFields = this.syndicateLookupService.getSyndicateSearchFields();\n }\n\n public onSyndicateLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.syndicateLookupService\n .onSyndicateLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.syndicateLookupSuggestions = list.contents;\n });\n } else {\n this.syndicateLookupSuggestions = [];\n }\n }\n\n public onSyndicateSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.syndicateLookupService\n .onSyndicateSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.syndicateSearchGridData = list.contents;\n this.syndicateSearchTotalRecords = list.totalElements;\n });\n } else {\n this.syndicateSearchGridData = [];\n this.syndicateSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SyndicateService } from \"../../core/entities/syndicate/syndicate.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { SyndicateLookupComponent } from \"./syndicate-lookup.component\";\nimport { SyndicateLookupService } from \"./syndicate-lookup.service\";\n\n@NgModule({\n declarations: [\n SyndicateLookupComponent],\n exports: [\n SyndicateLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n SyndicateService,\n SyndicateLookupService,\n ],\n})\nexport class SyndicateLookupModule {\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { EmploymentRelationshipDto } from \"./employment-relationship-dto\";\n\n@Injectable()\nexport class EmploymentRelationshipService extends EntityService<EmploymentRelationshipDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_foundation/general/entities/employmentRelationship`,\n `hcm_foundation/general/actions`,\n translate,\n configService,\n );\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EmploymentRelationshipService } from \"../../core/entities/employment-relationship/employment-relationship.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getFilterForLookup, getProp, mergeUnique } from \"../../shared/utils/utils\";\nimport { Validators } from '@angular/forms';\n\n@Injectable()\nexport class EmploymentRelationshipLookupService {\n private employmentRelationshipLookupDisplayFields = [\"code\", \"name\"];\n public employmentRelationshipLookupSeparator = \" - \";\n\n public employmentRelationshipSearchSubject = new Subject();\n public employmentRelationshipLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private employmentRelationshipService: EmploymentRelationshipService,\n ) {\n }\n\n public updateSuggestions(value: any) {\n if (value.employmentRelationship) {\n value.employmentRelationship.label = this.getSuggestionValue(\n [\"code\", \"name\"],\n \"employmentRelationship\",\n value,\n this.employmentRelationshipLookupSeparator,\n );\n if (value.employmentRelationship.label.trim() === this.employmentRelationshipLookupSeparator.trim()) {\n delete value.employmentRelationship.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return (\n displayFields.map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`) + \"\"\n );\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string, initialFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"employmentRelationship\",\n onLookupRequest: (value: string) => this.onEmploymentRelationshipLookupRequest(value, additionalFilter, initialFilter),\n onSearchRequest: (event: any) => this.onEmploymentRelationshipSearchRequest(event, additionalFilter, initialFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getEmploymentRelationshipSearchFields(),\n searchGridFields: this.getEmploymentRelationshipSearchFields(),\n searchObservable: this.employmentRelationshipSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.employmentRelationshipLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onEmploymentRelationshipSearchRequest(event: any, additionalFilter, initialFilter): void {\n this.onEmploymentRelationshipSearchRequestObservable(event, additionalFilter, initialFilter, true)\n .subscribe((data: any) => this.employmentRelationshipSearchSubject.next(data));\n }\n\n public onEmploymentRelationshipSearchRequestObservable(event: any, additionalFilter, initialFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let employmentRelationshipFilterQuery = createSearchRequestFilter(filterData, this.getEmploymentRelationshipSearchFields());\n employmentRelationshipFilterQuery = getFilterForLookup(employmentRelationshipFilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.employmentRelationshipLookupDisplayFields,\n [...this.employmentRelationshipLookupDisplayFields]);\n return this.employmentRelationshipService\n .list({ page, sort, filterQuery: employmentRelationshipFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n\n\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.employmentRelationshipLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.employmentRelationshipLookupSeparator);\n }\n\n public onEmploymentRelationshipLookupRequest(value: string, additionalFilter, initialFilter): void {\n this.onEmploymentRelationshipLookupRequestObservable(value, additionalFilter, initialFilter)\n .subscribe((data: any) => this.employmentRelationshipLookupSubject.next(data.contents));\n }\n\n public onEmploymentRelationshipLookupRequestObservable(value: string, additionalFilter, initialFilter): Observable<any> {\n const sort = this.employmentRelationshipLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let workshiftfilterQuery = createLookupRequestFilter(value, this.getEmploymentRelationshipSearchFields());\n workshiftfilterQuery = getFilterForLookup(workshiftfilterQuery, additionalFilter, initialFilter);\n const displayFields = mergeUnique(this.employmentRelationshipLookupDisplayFields,\n [...this.employmentRelationshipLookupDisplayFields]);\n return this.employmentRelationshipService\n .list({ sort, filterQuery: workshiftfilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.employmentRelationshipLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.employmentRelationshipLookupSeparator),\n })),\n })),\n );\n }\n\n public getEmploymentRelationshipSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_code`),\n name: \"code\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.employment_relationship_name`),\n name: \"name\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EmploymentRelationship } from \"../../core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { EmploymentRelationshipLookupService } from \"./employment-relationship-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"fnd-employment-relationship-lookup\",\n templateUrl: \"./employment-relationship-lookup.component.html\",\n})\nexport class EmploymentRelationshipLookupComponent extends BaseLookupComponent implements OnInit {\n public employmentRelationshipLookupSuggestions: EmploymentRelationship[];\n public employmentRelationshipSearchFields: FormField[];\n public employmentRelationshipSearchGridFields: FormField[];\n public employmentRelationshipSearchGridData: EmploymentRelationship[];\n public employmentRelationshipSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structerService: StructureFilterService,\n private employmentRelationshipLookupService: EmploymentRelationshipLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"employmentRelationship\";\n this.entity = \"employmentRelationship\";\n this.domain = \"hcm_foundation\";\n this.service = \"general\";\n this.useDateValidation = false;\n }\n\n public ngOnInit(): void {\n this.employmentRelationshipSearchFields = this.employmentRelationshipLookupService.getEmploymentRelationshipSearchFields();\n this.employmentRelationshipSearchGridFields = this.employmentRelationshipLookupService.getEmploymentRelationshipSearchFields();\n }\n\n public onEmploymentRelationshipLookupRequest(value: string) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.employmentRelationshipLookupService\n .onEmploymentRelationshipLookupRequestObservable(value, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.employmentRelationshipLookupSuggestions = list.contents;\n });\n } else {\n this.employmentRelationshipLookupSuggestions = [];\n }\n }\n\n public onEmploymentRelationshipSearchRequest(event: any) {\n if (this.structerService.showMessageToCompanyWithoutStructure(this.lookupData, this.locale)) {\n this.employmentRelationshipLookupService\n .onEmploymentRelationshipSearchRequestObservable(event, this.additionalFilter, this.initialFilter)\n .subscribe((list: any) => {\n this.employmentRelationshipSearchGridData = list.contents;\n this.employmentRelationshipSearchTotalRecords = list.totalElements;\n });\n } else {\n this.employmentRelationshipSearchGridData = [];\n this.employmentRelationshipSearchTotalRecords = null;\n }\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { EmploymentRelationshipService } from \"../../core/entities/employment-relationship/employment-relationship.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { EmploymentRelationshipLookupComponent } from \"./employment-relationship-lookup.component\";\nimport { EmploymentRelationshipLookupService } from \"./employment-relationship-lookup.service\";\n\n@NgModule({\n declarations: [\n EmploymentRelationshipLookupComponent],\n exports: [\n EmploymentRelationshipLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n EmploymentRelationshipService,\n EmploymentRelationshipLookupService,\n ],\n})\nexport class EmploymentRelationshipLookupModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\n\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\nimport { E001PesDto } from \"./e-001-pes-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n\n@Injectable()\nexport class E001PesService extends EntityService<E001PesDto> {\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `erpx_fnd/pessoa/entities/e001pes`,\n `erpx_fnd/pessoa/actions`,\n translate,\n configService\n );\n }\n\n public listExternalE001Pes(listParams: ListParams) {\n return this.http\n .get<E001PesDto>(\"erpx_fnd/pessoa/entities/e001pes\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n}\n","import { ChangeDetectorRef, Component, Input } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport * as moment from \"moment\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { E001Pes } from \"../../core/entities/e-001-pes/e-001-pes\";\nimport { E001PesService } from \"../../core/entities/e-001-pes/e-001-pes.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { createLookupRequestFilter, getProp, mergeUnique } from \"../../shared/utils/utils\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\n\n@Component({\n selector: \"fnd-person-lookup\",\n templateUrl: \"./person-lookup.component.html\",\n})\nexport class PersonLookupComponent extends BaseLookupComponent {\n @Input()\n public filters: string[] = [];\n\n public personLookupSuggestions: E001Pes[];\n public personAdvancedDisplayFields = [\"id\", \"codPes\", \"nomPes\", \"datNas\"];\n public personLookupDisplayFields = [\"codPes\", \"nomPes\"];\n public personSearchFields: FormField[];\n public personSearchGridFields: FormField[];\n public personSearchGridData: E001Pes[];\n public personSearchTotalRecords: number;\n public personLookupSeparator = \" - \";\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private personService: E001PesService,\n public configService: EntityLookupConfigService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"person\";\n this.personSearchFields = this.getPersonSearchFields();\n this.personSearchGridFields = this.getPersonSearchFields();\n }\n\n public onPersonLookupRequest(value: string) {\n const sort = this.personLookupDisplayFields.map((field: any) => ({\n field,\n order: 1,\n }));\n\n const filterQuery = createLookupRequestFilter(value, this.getPersonSearchFields()); // NOSONAR\n\n const displayFields = mergeUnique(this.personLookupDisplayFields, this.personAdvancedDisplayFields);\n this.personService\n .list({ sort, filterQuery: this.buildFilterQueryWithFilters(filterQuery), displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.personLookupDisplayFields.map(field => {\n if (field.indexOf(\".\") > 0) item[field] = getProp(item, field);\n return item[field];\n })\n .join(this.personLookupSeparator),\n })),\n })),\n )\n .subscribe((list: any) => {\n this.personLookupSuggestions = list.contents;\n this.personSearchTotalRecords = list.totalElements;\n });\n }\n\n private buildFilterQueryWithFilters(filterQuery: string): string {\n if (this.filters?.length) {\n return [...this.filters, ...[filterQuery]].filter(it => it?.length).join(\" and \");\n }\n return filterQuery;\n }\n\n public onPersonSearchRequest(event: any) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n const filterQuery = this.getPersonSearchFields()\n .filter(({ name }) => filterData[name] != undefined && filterData[name] != \"\")\n .map(({ name, type }) => { // NOSONAR\n const value = filterData[name];\n\n if (typeof value == \"number\") return `${name} eq ${value}`;\n else if (type == FieldType.Date) return `${name} eq '${moment(value).format(\"YYYY-MM-DD\")}'`;\n else if (type == FieldType.Time) return `${name} eq '${moment(value).format(\"HH:mm:ss\")}'`;\n else if (type == FieldType.DateTime) return `${name} eq '${moment(value).format()}'`;\n else if (type == FieldType.Enum) return `${name} eq '${value}'`;\n else if (type == FieldType.String) return `containing(upper(${name}), upper('${value.replace(/'/g, \"\\\\'\")}'))`;\n else return `${name} eq '${value}'`;\n })\n .join(\" and \");\n\n const displayFields = mergeUnique(this.personLookupDisplayFields, this.personAdvancedDisplayFields);\n this.personService\n .list({ page, sort, filterQuery: this.buildFilterQueryWithFilters(filterQuery), displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.personLookupDisplayFields\n .map(field => { // NOSONAR\n if (field.indexOf(\".\") > 0) item[field] = getProp(item, field);\n return item[field];\n })\n .join(this.personLookupSeparator),\n })),\n })),\n )\n .subscribe((list: any) => {\n this.personSearchGridData = list.contents;\n this.personSearchTotalRecords = list.totalElements;\n });\n }\n\n private getPersonSearchFields(): FormField[] {\n return [\n new FormField({\n name: \"codPes\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_cod`,\n ),\n type: FieldType.Integer,\n }),\n new FormField({\n name: \"nomPes\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_nom`,\n ),\n type: FieldType.String,\n }),\n new FormField({\n name: \"datNas\",\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.e_001_pes_dat`,\n ),\n type: FieldType.Date,\n calendarLocaleOptions: this.locale?.calendar,\n dateFormat: this.locale?.calendar?.dateFormat,\n appendTo: \"body\",\n }),\n ];\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { PersonLookupComponent } from \"./person-lookup.component\";\nimport { E001PesService } from \"../../core/entities/e-001-pes/e-001-pes.service\";\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n exports: [\n PersonLookupComponent,\n ],\n providers: [\n E001PesService,\n ],\n declarations: [\n PersonLookupComponent\n ],\n})\nexport class PersonLookupModule {\n}\n\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WageTypeDto } from \"./wage-type-dto\";\n\n@Injectable()\nexport class WageTypeService extends EntityService<WageTypeDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageType`,\n `hcm_payroll_wage_type/general/actions`,\n translate,\n configService,\n );\n }\n\n}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { WageTypeService } from \"../../core/entities/wage-type/wage-type.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\n\n@Injectable()\nexport class WageTypeLookupService {\n private wageTypeLookupDisplayFields = [\"wageTypeTable.code\", \"wageTypeTable.name\", \"code\", \"shortName\"];\n public wageTypeLookupSeparator = \" - \";\n\n private wageTypeSearchSubject = new Subject();\n private wageTypeLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private wageTypeService: WageTypeService,\n ) {\n }\n\n public setDisplayFields(fields: string[]): void {\n this.wageTypeLookupDisplayFields = fields;\n }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"wageType\",\n onLookupRequest: (value: string) => this.onWageTypeLookupRequest(value),\n onSearchRequest: (event: any) => this.onWageTypeSearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getWageTypeSearchFields(),\n searchGridFields: this.getWageTypeSearchFields(),\n searchObservable: this.wageTypeSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.wageTypeLookupSubject,\n type: FieldType.Lookup,\n });\n }\n\n public getWageTypeSearchFields(displayFields?: string[]) {\n const fields = this.getWageTypeLookupFields();\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n private getWageTypeLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_table_code`),\n name: \"wageTypeTable.code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_table_short_name`),\n name: \"wageTypeTable.name\",\n type: FieldType.String,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_short_name`),\n name: \"shortName\",\n type: FieldType.String,\n })\n ]\n }\n\n public onWageTypeLookupRequest(event: any) {\n this.onWageTypeLookupRequestObservable(event)\n .subscribe((data: any) => this.wageTypeLookupSubject.next(data.contents));\n }\n\n public onWageTypeLookupRequestObservable(value: string): Observable<{ contents: any[], totalElements: number }> {\n const sort = this.wageTypeLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let wageTypeFilterQuery = createLookupRequestFilter(value, this.getWageTypeSearchFields());\n\n const displayFields = this.wageTypeLookupDisplayFields;\n return this.wageTypeService\n .list({ sort, filterQuery: wageTypeFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onWageTypeSearchRequest(event: any): void {\n this.onWageTypeSearchRequestObservable(event)\n .subscribe((data: any) => this.wageTypeSearchSubject.next(data));\n }\n\n public onWageTypeSearchRequestObservable(event: any) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n const filterQuery = createSearchRequestFilter(filterData, this.getWageTypeSearchFields());\n\n const displayFields = this.wageTypeLookupDisplayFields;\n return this.wageTypeService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.wageTypeLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.wageTypeLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { WageType } from \"../../core/entities/wage-type/wage-type\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WageTypeLookupService } from \"./wage-type-lookup.service\";\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: \"flx-wage-type-lookup\",\n templateUrl: \"wage-type-lookup.component.html\",\n})\nexport class WageTypeLookupComponent extends BaseLookupComponent implements OnInit {\n\n public wageTypeLookupSuggestions: WageType[];\n public wageTypeSearchFields: FormField[];\n public wageTypeSearchGridFields: FormField[];\n public wageTypeSearchGridData: WageType[];\n public wageTypeSearchTotalRecords: number;\n\n @Input()\n public displayFields: string[] = ['wageTypeTable.code', 'wageTypeTable.name', 'code', 'shortName'];\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private wageTypeLookupService: WageTypeLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structureService,\n );\n this.controlName = \"wageType\";\n }\n\n public ngOnInit() {\n this.wageTypeLookupService.setDisplayFields(this.displayFields);\n this.wageTypeSearchFields = this.wageTypeLookupService.getWageTypeSearchFields(this.displayFields);\n this.wageTypeSearchGridFields = this.wageTypeLookupService.getWageTypeSearchFields(this.displayFields);\n }\n\n public onWageTypeLookupRequest(value: string) {\n this.wageTypeLookupService\n .onWageTypeLookupRequestObservable(value)\n .subscribe((list) => {\n this.wageTypeLookupSuggestions = list.contents;\n });\n }\n\n public onWageTypeSearchRequest(event: any) {\n this.wageTypeLookupService\n .onWageTypeSearchRequestObservable(event)\n .subscribe((list) => {\n this.wageTypeSearchGridData = list.contents;\n this.wageTypeSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { WageTypeService } from \"../../core/entities/wage-type/wage-type.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { WageTypeLookupComponent } from \"./wage-type-lookup.component\";\nimport { WageTypeLookupService } from \"./wage-type-lookup.service\";\n\n@NgModule({\n declarations: [WageTypeLookupComponent],\n exports: [\n WageTypeLookupComponent,\n ],\n imports: [\n SharedModule,\n LoadingStateModule,\n ],\n providers: [\n WageTypeLookupService,\n WageTypeService,\n ],\n})\nexport class WageTypeLookupModule {\n}\n","export enum CalculationType {\n MONTHLY_PAYROLL = 'MONTHLY_PAYROLL',\n ADVANCE_SALARY = 'ADVANCE_SALARY',\n THIRTEENTH_SALARY = 'THIRTEENTH_SALARY',\n ADVANCE_THIRTEENTH_SALARY = 'ADVANCE_THIRTEENTH_SALARY',\n SUPPLEMENTARY_PAYROLL = 'SUPPLEMENTARY_PAYROLL',\n SUPPLEMENTARY_LABOR_AGREEMENT = \"SUPPLEMENTARY_LABOR_AGREEMENT\",\n SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL = \"SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL\"\n}","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { CalculationDefinitionDto } from './calculation-definition-dto';\nimport { CalculationType } from '../../enums/calculation-type';\n\n@Injectable()\nexport class CalculationDefinitionService extends EntityService<\n CalculationDefinitionDto\n> {\n public calculationTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_monthly_payroll`),\n value: CalculationType.MONTHLY_PAYROLL\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_advance_salary`),\n value: CalculationType.ADVANCE_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_thirteenth_salary`),\n value: CalculationType.THIRTEENTH_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_advance_thirteenth_salary`),\n value: CalculationType.ADVANCE_THIRTEENTH_SALARY\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_payroll`),\n value: CalculationType.SUPPLEMENTARY_PAYROLL\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_labor_agreement`),\n value: CalculationType.SUPPLEMENTARY_LABOR_AGREEMENT\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type_supplementary_labor_agreement_payroll`),\n value: CalculationType.SUPPLEMENTARY_LABOR_AGREEMENT_PAYROLL\n }\n ];\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_foundation/general/entities/calculationDefinition`,\n `hcm_payroll_foundation/general/actions`,\n translate,\n configService\n );\n }\n}","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n CalendarLocaleOptions,\n FieldType,\n FormField\n} from '@seniorsistemas/angular-components';\nimport * as moment from 'moment';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\nimport { CalculationType } from '../../core/enums/calculation-type';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp\n} from '../../shared/utils/utils';\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Injectable()\nexport class CalculationDefinitionLookupService {\n private calculationDefinitionLookupDisplayFields = [\n 'code',\n 'calculationType',\n 'competence',\n 'company.codEmp',\n 'company.nomEmp'\n ];\n public calculationDefinitionLookupSeparator = ' - ';\n\n private calculationDefinitionSearchSubject = new Subject();\n private calculationDefinitionLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private calculationDefinitionService: CalculationDefinitionService\n ) { }\n\n public setDisplayFields(fields: string[]): void {\n this.calculationDefinitionLookupDisplayFields = fields;\n }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: 'id',\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition`),\n lookupDisplayField: 'label',\n multiple: false,\n name: 'calculationDefinition',\n onLookupRequest: (value: string) => this.onCalculationDefinitionLookupRequest(value),\n onSearchRequest: (event: any) => this.onCalculationDefinitionSearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getCalculationDefinitionSearchFields(),\n searchGridFields: this.getCalculationDefinitionSearchFields(),\n searchObservable: this.calculationDefinitionSearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.calculationDefinitionLookupSubject,\n type: FieldType.Lookup\n });\n }\n\n public getCalculationDefinitionSearchFields(displayFields?: string[]) {\n const fields = [\n ...this.getCalculationDefinitionLookupFields(),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_type`),\n options: this.calculationDefinitionService.calculationTypeOptions,\n defaultOption: CalculationType.MONTHLY_PAYROLL,\n name: 'calculationType',\n type: FieldType.Enum\n })\n ];\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n public getCalculationDefinitionLookupFields() {\n return [\n new FormField({\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.calculation_definition_table_code`\n ),\n name: 'code',\n type: FieldType.Integer\n }),\n new FormField({\n name: 'competence',\n label: this.translate.instant(\n `${this.configService.getTranslationPrefix()}.calculation_definition_competence`\n ),\n type: FieldType.Date,\n view: 'month',\n calendarLocaleOptions: new CalendarLocaleOptions({\n dateFormat: 'mm/yy',\n monthNamesShort: [\"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\", \"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\"]\n })\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_company_code`),\n name: 'company.codEmp',\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculation_definition_company_name`),\n name: 'company.nomEmp',\n type: FieldType.String\n })\n ];\n }\n\n public onCalculationDefinitionLookupRequest(event: any) {\n this.onCalculationDefinitionLookupRequestObservable(event).subscribe(\n (data: any) =>\n this.calculationDefinitionLookupSubject.next(data.contents)\n );\n }\n\n public onCalculationDefinitionLookupRequestObservable(\n value: string,\n filter?: Filter[]\n ): Observable<{ contents: any[]; totalElements: number }> {\n const sort = this.calculationDefinitionLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(\n value,\n this.getCalculationDefinitionSearchFields()\n );\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.calculationDefinitionLookupDisplayFields;\n return this.calculationDefinitionService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onCalculationDefinitionSearchRequest(event: any): void {\n this.onCalculationDefinitionSearchRequestObservable(event).subscribe(\n (data: any) => this.calculationDefinitionSearchSubject.next(data)\n );\n }\n\n public onCalculationDefinitionSearchRequestObservable(\n event: any,\n filter?: Filter[],\n ) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n let filterQuery = createSearchRequestFilter(\n filterData,\n this.getCalculationDefinitionSearchFields()\n );\n\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.calculationDefinitionLookupDisplayFields;\n return this.calculationDefinitionService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.calculationDefinitionLookupDisplayFields\n .map(field => {\n if (field.indexOf('.') > 0) {\n item[field] = getProp(item, field);\n }\n\n item[field] = this.getFieldForCalculationDefinition(item, field);\n\n return item[field];\n })\n .join(this.calculationDefinitionLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return {\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item)\n }))\n };\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) and `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' and `;\n });\n }\n\n return filterQuery.slice(0, -5);\n }\n\n private setDateForCalculationDefinition(date): string {\n return moment(date).format('MM/YYYY');\n }\n\n private setCalculationDefinitionCalculatioType(calculationType): CalculationType {\n if (Object.values(CalculationType).includes(calculationType as CalculationType)) {\n return this.calculationDefinitionService.calculationTypeOptions\n .find(type => type.value === calculationType).label;\n } else {\n throw new Error(`Invalid CalculationType: ${calculationType}`);\n }\n }\n\n getFieldForCalculationDefinition(item, field) {\n const itemField = item[field];\n switch (field) {\n case 'competence':\n return this.setDateForCalculationDefinition(itemField);\n case 'calculationType':\n return this.setCalculationDefinitionCalculatioType(itemField);\n default:\n return itemField;\n }\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormField } from '@seniorsistemas/angular-components';\nimport { CalculationDefinition } from '../../core/entities/calculation-definition/calculation-definition';\nimport { Filter } from '../../shared/commons/filter-interface';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { StructureFilterService } from '../../shared/services/structure-filter-service';\nimport { BaseLookupComponent } from '../base-lookup/base-lookup.component';\nimport { CalculationDefinitionLookupService } from './calculation-definition-lookup.service';\n\n@Component({\n selector: 'flx-calculation-definition-lookup',\n templateUrl: './calculation-definition-lookup.component.html',\n})\nexport class CalculationDefinitionLookupComponent extends BaseLookupComponent\n implements OnInit {\n @Input()\n public displayFields: string[] = ['code', 'calculationType', 'competence', 'company.codEmp', 'company.nomEmp'];\n @Input()\n public filter: Filter[];\n\n public calculationDefinitionLookupSuggestions: CalculationDefinition[];\n public calculationDefinitionSearchFields: FormField[];\n public calculationDefinitionSearchGridFields: FormField[];\n public calculationDefinitionSearchGridData: CalculationDefinition[];\n public calculationDefinitionSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private calculationDefinitionLookupService: CalculationDefinitionLookupService\n ) {\n super(translate, cdRef, configService, structureService);\n this.controlName = 'calculationDefinition';\n }\n\n public ngOnInit(): void {\n this.calculationDefinitionLookupService.setDisplayFields(this.displayFields);\n this.calculationDefinitionSearchFields = this.calculationDefinitionLookupService.getCalculationDefinitionSearchFields(this.displayFields);\n this.calculationDefinitionSearchGridFields = this.calculationDefinitionLookupService.getCalculationDefinitionSearchFields(this.displayFields);\n }\n\n public onCalculationDefinitionLookupRequest(value: string) {\n this.calculationDefinitionLookupService\n .onCalculationDefinitionLookupRequestObservable(value, this.filter)\n .subscribe(list => {\n this.calculationDefinitionLookupSuggestions = list.contents;\n });\n }\n public onCalculationDefinitionSearchRequest(event: any) {\n this.calculationDefinitionLookupService\n .onCalculationDefinitionSearchRequestObservable(event, this.filter)\n .subscribe(list => {\n this.calculationDefinitionSearchGridData = list.contents;\n this.calculationDefinitionSearchTotalRecords = list.totalElements;\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from '../../shared/shared.module';\nimport { CalculationDefinitionLookupComponent } from './calculation-definition-lookup.component';\nimport { CalculationDefinitionLookupService } from './calculation-definition-lookup.service';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\n\n@NgModule({\n declarations: [CalculationDefinitionLookupComponent],\n exports: [CalculationDefinitionLookupComponent],\n imports: [SharedModule, LoadingStateModule],\n providers: [\n CalculationDefinitionLookupService,\n CalculationDefinitionService\n ]\n})\nexport class CalculationDefinitionLookupModule { }\n","export enum OriginType {\n TYPED = \"TYPED\",\n IMPORTED = \"IMPORTED\",\n CLOCKINGEVENT = \"CLOCKINGEVENT\",\n}","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { VariableEntryDto } from './variable-entry-dto';\nimport { OriginType } from '../../enums/origin-type';\n\n@Injectable()\nexport class VariableEntryService extends EntityService<\n VariableEntryDto\n> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_entry/general/entities/variableEntry`,\n `hcm_payroll_entry/general/actions`,\n translate,\n configService\n );\n }\n public OriginTypeOptions = [\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_typed`),\n value: OriginType.TYPED\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_imported`),\n value: OriginType.IMPORTED\n },\n {\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.origin_type_clocking_event`),\n value: OriginType.CLOCKINGEVENT\n },\n ];\n}","import { Injectable } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n CalendarLocaleOptions,\n FieldType,\n FormField\n} from '@seniorsistemas/angular-components';\nimport * as moment from 'moment';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport { CalculationDefinitionService } from '../../core/entities/calculation-definition/calculation-definition.service';\nimport { VariableEntryService } from '../../core/entities/variable-entry/variable-entry.service';\nimport { CalculationType } from '../../core/enums/calculation-type';\nimport { OriginType } from '../../core/enums/origin-type';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getProp\n} from '../../shared/utils/utils';\n\n@Injectable()\nexport class VariableEntryLookupService {\n private variableEntryLookupDisplayFields = [\n 'calculationDefinition.calculationType',\n 'calculationDefinition.competence',\n 'wageType.code',\n 'wageType.shortName',\n 'originType',\n ];\n public variableEntryLookupSeparator = ' - ';\n\n private variableEntrySearchSubject = new Subject();\n private variableEntryLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private variableEntryService: VariableEntryService,\n private calculationDefinitionService: CalculationDefinitionService\n ) { }\n\n public getFormField() {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: 'id',\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry`),\n lookupDisplayField: 'label',\n multiple: false,\n name: 'variableEntry',\n onLookupRequest: (value: string) => this.onVariableEntryLookupRequest(value),\n onSearchRequest: (event: any) => this.onVariableEntrySearchRequest(event),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getVariableEntrySearchFields(),\n searchGridFields: this.getVariableEntrySearchFields(),\n searchObservable: this.variableEntrySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.variableEntryLookupSubject,\n type: FieldType.Lookup\n });\n } \n \n public setDisplayFields(fields: string[]): void {\n this.variableEntryLookupDisplayFields = fields;\n }\n\n public getVariableEntrySearchFields(displayFields?: string[]) {\n const fields = this.getVariableEntryLookupFields();\n\n if (displayFields && displayFields.length > 0) {\n return displayFields\n .map(fieldName => fields.find(field => field.name === fieldName))\n .filter(field => field !== undefined);\n }\n\n return fields;\n }\n\n public getVariableEntryLookupFields() {\n return [\n this.getCalculationDefinitionCalculationTypeField(),\n new FormField({\n name: 'calculationDefinition.competence',\n label: this.translate.instant('hcm_payroll_calculation.manager.calculation_definition_competence'),\n type: FieldType.Date,\n view: 'month',\n calendarLocaleOptions: new CalendarLocaleOptions({\n dateFormat: 'mm/yy',\n monthNamesShort: [\"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\", \"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\"]\n })\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_wage_type_code`),\n name: 'wageType.code',\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_wage_type_short_name`),\n name: 'wageType.shortName',\n type: FieldType.String\n }),\n this.getOriginTypeField()\n\n ];\n }\n\n getCalculationDefinitionCalculationTypeField() {\n return new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.calculatin_defition_calculation_type`),\n options: this.calculationDefinitionService.calculationTypeOptions,\n defaultOption: CalculationType.MONTHLY_PAYROLL,\n name: 'calculationDefinition.calculationType',\n type: FieldType.Enum\n })\n }\n\n getOriginTypeField() {\n return new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.variable_entry_origin_type`),\n options: this.variableEntryService.OriginTypeOptions,\n defaultOption: OriginType.TYPED,\n name: 'originType',\n type: FieldType.Enum\n })\n }\n\n public onVariableEntryLookupRequest(event: any) {\n this.onVariableEntryLookupRequestObservable(event).subscribe(\n (data: any) =>\n this.variableEntryLookupSubject.next(data.contents)\n );\n }\n\n public onVariableEntryLookupRequestObservable(\n value: string,\n employeeId?: string\n ): Observable<{ contents: any[]; totalElements: number }> {\n const sort = this.variableEntryLookupDisplayFields.map(\n (field: any) => ({\n field,\n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(\n value,\n this.getVariableEntrySearchFields()\n );\n filterQuery = this.getFilters(filterQuery, employeeId);\n\n const displayFields = this.variableEntryLookupDisplayFields;\n return this.variableEntryService\n .list({ sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onVariableEntrySearchRequest(event: any): void {\n this.onVariableEntrySearchRequestObservable(event).subscribe(\n (data: any) => this.variableEntrySearchSubject.next(data)\n );\n }\n\n public onVariableEntrySearchRequestObservable(\n event: any,\n employeeId?: string\n ) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(\n filterData,\n this.getVariableEntrySearchFields()\n );\n\n filterQuery = this.getFilters(filterQuery, employeeId);\n\n const displayFields = this.variableEntryLookupDisplayFields;\n return this.variableEntryService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n private getLabelForMapping(item: any) {\n return this.variableEntryLookupDisplayFields\n .map(field => {\n if (field.indexOf('.') > 0) {\n item[field] = getProp(item, field);\n }\n\n item[field] = this.getFieldForVariableEntry(item, field);\n\n return item[field];\n })\n .join(this.variableEntryLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return {\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item)\n }))\n };\n }\n\n private getFilters(filterData: string, employeeId: string): string {\n let conditionFilterData = filterData ? 'and' : '';\n let filterCompany = employeeId ? `(employee.id eq '${employeeId}')` : '';\n filterData = filterData ? `(${filterData})` : '';\n\n return `${filterData} ${conditionFilterData} ${filterCompany}`;\n }\n\n private setCalculationDefinitionCalculatioType(calculationType): CalculationType {\n if (Object.values(CalculationType).includes(calculationType as CalculationType)) {\n return calculationType as CalculationType;\n } else {\n throw new Error(`Invalid CalculationType: ${calculationType}`);\n }\n }\n \n private setDateForCalculationDefinition(date): string {\n return moment(date).format('MM/YYYY');\n } \n \n private setVariableEntryOriginType(originType): OriginType { \n if (Object.values(OriginType).includes(originType as OriginType)) {\n return originType as OriginType;\n } else {\n throw new Error(`Invalid originType: ${originType}`);\n }\n }\n\n getFieldForVariableEntry(item, field) { \n const itemField = item[field]; \n const fieldName = field.split('.').pop();\n\n\n switch (fieldName) {\n case 'competence':\n return this.setDateForCalculationDefinition(itemField);\n case 'calculationType':\n return this.setCalculationDefinitionCalculatioType(itemField); \n case 'originType':\n return this.setVariableEntryOriginType(itemField);\n default:\n return itemField;\n }\n }\n\n}\n","import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { FormField } from '@seniorsistemas/angular-components';\nimport { VariableEntry } from '../../core/entities/variable-entry/variable-entry';\nimport { EntityLookupConfigService } from '../../shared/services/entity-lookup-config.service';\nimport { StructureFilterService } from '../../shared/services/structure-filter-service';\nimport { BaseLookupComponent } from '../base-lookup/base-lookup.component';\nimport { VariableEntryLookupService } from './variable-entry-lookup.service';\n\n@Component({\n selector: 'flx-variable-entry-lookup',\n templateUrl: './variable-entry-lookup.component.html',\n})\nexport class VariableEntryLookupComponent extends BaseLookupComponent\n implements OnInit {\n\n @Input()\n public employeeId: string;\n\n @Input()\n public displayFields: string[] = [\n 'calculationDefinition.calculationType',\n 'calculationDefinition.competence',\n 'wageType.code',\n 'wageType.shortName',\n 'originType',\n ];\n\n public variableEntryLookupSuggestions: VariableEntry[];\n public variableEntrySearchFields: FormField[];\n public variableEntrySearchGridFields: FormField[];\n public variableEntrySearchGridData: VariableEntry[];\n public variableEntrySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structureService: StructureFilterService,\n private variableEntryLookupService: VariableEntryLookupService\n ) {\n super(translate, cdRef, configService, structureService);\n this.controlName = 'variableEntry';\n }\n\n ngOnInit(): void {\n this.variableEntryLookupService.setDisplayFields(this.displayFields);\n this.variableEntrySearchFields = this.variableEntryLookupService.getVariableEntrySearchFields(this.displayFields);\n this.variableEntrySearchGridFields = this.variableEntryLookupService.getVariableEntrySearchFields(this.displayFields);\n }\n\n public onVariableEntryLookupRequest(value: string) {\n this.variableEntryLookupService\n .onVariableEntryLookupRequestObservable(value, this.employeeId)\n .subscribe(list => {\n this.variableEntryLookupSuggestions = list.contents;\n });\n }\n public onVariableEntrySearchRequest(event: any) {\n this.variableEntryLookupService\n .onVariableEntrySearchRequestObservable(event, this.employeeId)\n .subscribe(list => {\n this.variableEntrySearchGridData = list.contents;\n this.variableEntrySearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from '@angular/core';\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { SharedModule } from '../../shared/shared.module';\nimport { VariableEntryLookupComponent } from './variable-entry-lookup.component';\nimport { VariableEntryLookupService } from './variable-entry-lookup.service';\nimport { VariableEntryService } from '../../core/entities/variable-entry/variable-entry.service';\n\n@NgModule({\n declarations: [VariableEntryLookupComponent],\n exports: [VariableEntryLookupComponent],\n imports: [SharedModule, LoadingStateModule],\n providers: [\n VariableEntryLookupService,\n VariableEntryService\n ]\n})\nexport class VariableEntryLookupModule { }\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { MessageService } from 'primeng/api';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EntityService } from '../../../shared/services/entity-service';\nimport { ESocialCategoryDto } from './esocial-category-dto';\nimport { EntityLookupConfigService } from '../../../shared/services/entity-lookup-config.service';\n\n@Injectable()\nexport class ESocialCategoryService extends EntityService<ESocialCategoryDto> {\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `tax_obligation/shared/entities/eSocialCategory`,\n `tax_obligation/shared/actions`,\n translate,\n configService\n );\n }\n}\n","import { NgModule } from '@angular/core';\nimport { PermissionsModule } from '@seniorsistemas/platform-components';\nimport { ESocialCategoryService } from './esocial-category.service';\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: 'eSocialCategory',\n actions: ['Visualizar', 'Incluir', 'Editar', 'Excluir'],\n uri: `res://senior.com.br/tax_obligation/shared/entities/eSocialCategory`,\n },\n ])\n ],\n providers: [\n ESocialCategoryService\n ]\n})\nexport class ESocialCategoryModule {}\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport {\n createLookupRequestFilter,\n createSearchRequestFilter,\n getFilterForLookup,\n getProp,\n mergeUnique,\n} from \"../../shared/utils/utils\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\n\n@Injectable()\nexport class ESocialCategoryLookupService {\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private esocialCategoryService: ESocialCategoryService) {\n }\n\n public esocialCategoryLookupSeparator = \" - \";\n private esocialCategoryLookupDisplayFields = [\"code\", \"description\"];\n\n private esocialCategorySearchSubject = new Subject();\n private esocialCategoryLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n public updateSuggestions(value: any) {\n if (value?.esocialCategory) {\n value.esocialCategory.label = this.getSuggestionValue(\n [\n \"code\",\n \"description\",\n ],\n \"esocialCategory\",\n value,\n this.esocialCategoryLookupSeparator,\n );\n if (value.esocialCategory.label.trim() === this.esocialCategoryLookupSeparator.trim()) {\n delete value.esocialCategory.label;\n }\n }\n }\n\n public getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string) {\n return displayFields\n .map((field) => getProp(value, `${ownerEntity}.${field}`))\n .reduce((acc: any, val: any) => `${acc}${separator}${val}`);\n }\n\n /**\n * Método utilizado para montar o lookup no dynamicForm.\n * LookupValidationDto\n */\n public getFormField(isCollective?: boolean, additionalFilter?: string) {\n return new FormField({\n cancelLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.cancel`),\n clearLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.clear`),\n dataKey: \"id\",\n emptyFieldLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`),\n emptyMessage: this.translate.instant(`${this.configService.getTranslationPrefix()}.empty_message_field`),\n filterLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.filter`),\n filterTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.filters`),\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category`),\n lookupDisplayField: \"label\",\n multiple: false,\n name: \"esocialCategory\",\n onLookupRequest: (value: string) => this.onESocialCategoryLookupRequest(value, additionalFilter),\n onSearchRequest: (event: any) => this.onESocialCategorySearchRequest(event, additionalFilter),\n recordLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n recordsLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.records_found`),\n required: () => true,\n searchEmptyTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.nothing_found`),\n searchFields: this.getESocialCategorySearchFields(),\n searchGridFields: this.getESocialCategorySearchFields(),\n searchObservable: this.esocialCategorySearchSubject,\n searchTitle: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_search_title`),\n selectLabel: this.translate.instant(`${this.configService.getTranslationPrefix()}.select`),\n suggestionsObservable: this.esocialCategoryLookupSubject,\n type: FieldType.Lookup,\n visible: () => !isCollective,\n });\n }\n\n public onESocialCategorySearchRequest(event: any, additionalFilter): void {\n this.onESocialCategorySearchRequestObservable(event, additionalFilter, true)\n .subscribe((data: any) => this.esocialCategorySearchSubject.next(data));\n }\n\n public onESocialCategorySearchRequestObservable(event: any, additionalFilter, isDynamicForm: boolean = false) {\n\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let esocialCategoryFilterQuery = createSearchRequestFilter(filterData, this.getESocialCategorySearchFields());\n esocialCategoryFilterQuery = getFilterForLookup(esocialCategoryFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.esocialCategoryLookupDisplayFields,\n [...this.esocialCategoryLookupDisplayFields]);\n return this.esocialCategoryService\n .list({ page, sort, filterQuery: esocialCategoryFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list, isDynamicForm)));\n }\n private mapToComponent(list: any, isDynamicForm: boolean = false) {\n if (isDynamicForm) {\n return ({\n gridData: list.contents\n .map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n totalRecords: list.totalElements,\n });\n } else {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMaping(item),\n })),\n });\n }\n }\n private getLabelForMaping(item) {\n return this.esocialCategoryLookupDisplayFields\n .map((field) => {\n if (field === \"name\" && !item.name) {\n item.name = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n })\n .join(this.esocialCategoryLookupSeparator);\n }\n\n public onESocialCategoryLookupRequest(value: string, additionalFilter): void {\n this.onESocialCategoryLookupRequestObservable(value, additionalFilter)\n .subscribe((data: any) => this.esocialCategoryLookupSubject.next(data.contents));\n }\n\n public onESocialCategoryLookupRequestObservable(value: string, additionalFilter): Observable<any> {\n const sort = this.esocialCategoryLookupDisplayFields\n .map((field: any) => ({ field, order: 1 }));\n\n let esocialCategoryFilterQuery = createLookupRequestFilter(value, this.getESocialCategorySearchFields());\n esocialCategoryFilterQuery = getFilterForLookup(esocialCategoryFilterQuery, additionalFilter, null);\n\n const displayFields = mergeUnique(this.esocialCategoryLookupDisplayFields,\n [...this.esocialCategoryLookupDisplayFields]);\n return this.esocialCategoryService\n .list({ sort, filterQuery: esocialCategoryFilterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(\n map((list: any) => ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.esocialCategoryLookupDisplayFields\n .map((field) => {\n if (field === \"description\" && !item.description) {\n item.description = this.translate\n .instant(`${this.configService.getTranslationPrefix()}.list_grid_empty_field`);\n }\n if (field.indexOf(\".\") > 0) {\n return getProp(item, field);\n }\n return item[field];\n }).join(this.esocialCategoryLookupSeparator),\n })),\n })),\n );\n }\n\n public getESocialCategorySearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_code`),\n name: \"code\",\n type: FieldType.Integer,\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.esocial_category_name`),\n name: \"description\",\n type: FieldType.String,\n }),\n ];\n }\n}\n","import { ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\nimport { ESocialCategory } from \"../../core/entities/e-social-category/esocial-category\";\nimport { ESocialCategoryLookupService } from \"./esocial-category-lookup.service\";\n\n@Component({\n selector: \"flx-esocial-category-lookup\",\n templateUrl: \"./esocial-category-lookup.component.html\",\n})\nexport class ESocialCategoryLookupComponent extends BaseLookupComponent implements OnInit {\n public esocialCategoryLookupSuggestions: ESocialCategory[];\n public esocialCategorySearchFields: FormField[];\n public esocialCategorySearchGridFields: FormField[];\n public esocialCategorySearchGridData: ESocialCategory[];\n public esocialCategorySearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n private esocialCategoryService: ESocialCategoryService,\n public configService: EntityLookupConfigService,\n public readonly cdRef: ChangeDetectorRef,\n public structerService: StructureFilterService,\n private esocialCategoryLookupService: ESocialCategoryLookupService) {\n super(\n translate,\n cdRef,\n configService,\n structerService,\n );\n this.controlName = \"esocialCategory\";\n }\n\n public ngOnInit(): void {\n this.esocialCategorySearchFields = this.esocialCategoryLookupService.getESocialCategorySearchFields();\n this.esocialCategorySearchGridFields = this.esocialCategoryLookupService.getESocialCategorySearchFields();\n }\n\n public onESocialCategoryLookupRequest(value: string) {\n this.esocialCategoryLookupService\n .onESocialCategoryLookupRequestObservable(value, this.additionalFilter)\n .subscribe((list: any) => {\n this.esocialCategoryLookupSuggestions = list.contents;\n });\n }\n\n public onESocialCategorySearchRequest(event: any) {\n this.esocialCategoryLookupService\n .onESocialCategorySearchRequestObservable(event, this.additionalFilter)\n .subscribe((list: any) => {\n this.esocialCategorySearchGridData = list.contents;\n this.esocialCategorySearchTotalRecords = list.totalElements;\n });\n }\n\n}\n","import { NgModule } from \"@angular/core\";\nimport { LoadingStateModule } from \"@seniorsistemas/angular-components\";\nimport { ESocialCategoryModule } from \"../../core/entities/e-social-category/esocial-category.module\";\nimport { SharedModule } from \"../../shared/shared.module\";\nimport { ESocialCategoryLookupComponent } from \"./esocial-category-lookup.component\";\nimport { ESocialCategoryLookupService } from \"./esocial-category-lookup.service\";\nimport { ESocialCategoryService } from \"../../core/entities/e-social-category/esocial-category.service\";\n\n\n@NgModule({\n imports: [\n SharedModule,\n LoadingStateModule,\n ESocialCategoryModule\n ],\n exports: [\n ESocialCategoryLookupComponent,\n ],\n providers: [\n ESocialCategoryLookupService,\n ESocialCategoryService,\n ],\n declarations: [\n ESocialCategoryLookupComponent\n ],\n})\nexport class ESocialCategoryLookupModule {\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WageTypePayrollDto } from \"./wage-type-payroll-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class WageTypePayrollService extends EntityService<WageTypePayrollDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageTypePayroll`,\n `hcm_payroll_wage_type/general/actions/wageTypePayroll`,\n translate,\n configService\n );\n }\n}\n\n","import { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { FieldType, FormField } from \"@seniorsistemas/angular-components\";\nimport { WageTypePayrollService } from \"../../core/entities/wage-type-payroll/wage-type-payroll.service\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { createLookupRequestFilter, createSearchRequestFilter, getProp } from \"../../shared/utils/utils\";\nimport { Observable, Subject } from \"rxjs\";\nimport { map, takeUntil } from \"rxjs/operators\";\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Injectable()\nexport class WageTypePayrollLookupService {\n\n private wageTypePayrollLookupDisplayFields = [\"wageType.code\", \"wageType.shortName\"];\n public wageTypePayrollLookupSeparator = \" - \";\n\n private wageTypePayrollSerchSubject = new Subject();\n private wageTypePayrollLookupSubject = new Subject();\n private ngUnsubscribe = new Subject();\n\n constructor(\n private translate: TranslateService,\n private configService: EntityLookupConfigService,\n private wageTypePayrollService: WageTypePayrollService\n ) {\n }\n\n public onWageTypePayrollLookupRequest(event: string) {\n this.onWageTypePayrollLookupRequestObservable(event)\n .subscribe((data: any) => this.wageTypePayrollLookupSubject.next(data.contents));\n }\n\n public onWageTypePayrollLookupRequestObservable(value: string, filter?: Filter[]): Observable<{ contents: any[], totalElements: number}> {\n const sort = this.wageTypePayrollLookupDisplayFields.map(\n (field: any) => ({\n field, \n order: 1\n })\n );\n\n let filterQuery = createLookupRequestFilter(value, this.getWageTypePayrollSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.wageTypePayrollLookupDisplayFields;\n\n return this.wageTypePayrollService\n .list({ sort, filterQuery, displayFields})\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public onWageTypePayrollSearchRequest(event: any) {\n this.onWageTypePayrollSearchRequestObservable(event)\n .subscribe((data: any) => this.wageTypePayrollSerchSubject.next(data));\n }\n\n public onWageTypePayrollSearchRequestObservable(event: any, filter?: Filter[]) {\n const { first, rows, multiSortMeta, filterData } = event;\n const page = first / rows;\n const sort = multiSortMeta;\n\n let filterQuery = createSearchRequestFilter(filterData, this.getWageTypePayrollSearchFields());\n filterQuery = this.getFilters(filterQuery, filter);\n\n const displayFields = this.wageTypePayrollLookupDisplayFields;\n\n return this.wageTypePayrollService\n .list({ page, sort, filterQuery, displayFields })\n .pipe(takeUntil(this.ngUnsubscribe))\n .pipe(map((list: any) => this.mapToComponent(list)));\n }\n\n public getWageTypePayrollSearchFields() {\n return [\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_code`),\n name: \"wageType.code\",\n type: FieldType.Integer\n }),\n new FormField({\n label: this.translate.instant(`${this.configService.getTranslationPrefix()}.wage_type_short_name`),\n name: \"wageType.shortName\",\n type: FieldType.String\n }),\n ];\n }\n\n private getLabelForMapping(item: any) {\n return this.wageTypePayrollLookupDisplayFields\n .map((field) => {\n if (field.indexOf(\".\") > 0) {\n item[field] = getProp(item, field);\n }\n return item[field];\n })\n .join(this.wageTypePayrollLookupSeparator);\n }\n\n private mapToComponent(list: any) {\n return ({\n ...list,\n contents: list.contents.map((item: any) => ({\n ...item,\n label: this.getLabelForMapping(item),\n })),\n });\n }\n\n private getFilters(filterData: string, filter: Filter[]) {\n let filterQuery = '';\n\n if (filterData) {\n filterQuery += `(${filterData}) or `;\n }\n\n if (filter) {\n filter.forEach((filter) => {\n filterQuery += `${filter.key} eq '${filter.value}' or `;\n });\n }\n\n return filterQuery.slice(0, -4);\n }\n\n}","import { ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\nimport { BaseLookupComponent } from \"../base-lookup/base-lookup.component\";\nimport { WageTypePayroll } from \"../../core/entities/wage-type-payroll/wage-type-payroll\";\nimport { FormField } from \"@seniorsistemas/angular-components\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityLookupConfigService } from \"../../shared/services/entity-lookup-config.service\";\nimport { StructureFilterService } from \"../../shared/services/structure-filter-service\";\nimport { WageTypePayrollLookupService } from \"./wage-type-payroll-lookup.service\";\nimport { Filter } from './../../shared/commons/filter-interface';\n\n@Component({\n selector: \"flx-wage-type-payroll-lookup\",\n templateUrl: \"wage-type-payroll-lookup.component.html\",\n})\nexport class WageTypePayrollLookupComponent extends BaseLookupComponent implements OnInit {\n\n @Input()\n public filter: Filter[];\n\n public wageTypePayrollLookupSuggestions: WageTypePayroll[];\n public wageTypePayrollSearchFields: FormField[];\n public wageTypePayrollSearchGridFields: FormField[];\n public wageTypePayrollSearchGridData: WageTypePayroll[];\n public wageTypePayrollSearchTotalRecords: number;\n\n constructor(\n public translate: TranslateService,\n public readonly cdRef: ChangeDetectorRef,\n public configService: EntityLookupConfigService,\n public structurService: StructureFilterService,\n private wageTypePayrollLookupService: WageTypePayrollLookupService,\n ) {\n super(\n translate,\n cdRef,\n configService,\n structurService,\n );\n this.controlName = \"wageTypePayroll\";\n }\n\n public ngOnInit() {\n this.wageTypePayrollSearchFields = this.wageTypePayrollLookupService.getWageTypePayrollSearchFields();\n this.wageTypePayrollSearchGridFields = this.wageTypePayrollLookupService.getWageTypePayrollSearchFields();\n }\n\n public onWageTypePayrollLookupRequest(value: string) {\n this.wageTypePayrollLookupService\n .onWageTypePayrollLookupRequestObservable(value, this.filter)\n .subscribe((list) => {\n this.wageTypePayrollLookupSuggestions = list.contents;\n });\n }\n\n public onWageTypePayrollSearchRequest(event: any) {\n this.wageTypePayrollLookupService\n .onWageTypePayrollSearchRequestObservable(event, this.filter)\n .subscribe((list) => {\n this.wageTypePayrollSearchGridData = list.contents;\n this.wageTypePayrollSearchTotalRecords = list.totalElements;\n });\n }\n}","import { NgModule } from \"@angular/core\";\nimport { WageTypePayrollLookupComponent } from \"./wage-type-payroll-lookup.component\";\nimport { WageTypePayrollService } from \"../../core/entities/wage-type-payroll/wage-type-payroll.service\";\nimport { WageTypePayrollLookupService } from \"./wage-type-payroll-lookup.service\";\nimport { SharedModule } from \"../../shared/shared.module\";\n\n@NgModule({\n declarations: [WageTypePayrollLookupComponent],\n exports: [\n WageTypePayrollLookupComponent\n ],\n imports: [\n SharedModule\n ],\n providers: [\n WageTypePayrollLookupService,\n WageTypePayrollService\n ]\n})\nexport class WageTypePayrollLookupModule {\n\n}","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { ProjectConfigs, ProjectConfigsInjectionToken } from \"./core/dto/project-config\";\n\n@NgModule({\n providers: []\n})\nexport class EntityLookupModule {\n static forRoot(config: ProjectConfigs): ModuleWithProviders<EntityLookupModule> {\n return {\n ngModule: EntityLookupModule,\n providers: [\n {\n provide: ProjectConfigsInjectionToken,\n useValue: config\n }\n ]\n };\n }\n}\n\n","export const fallback: any = {\n \"hcm_contract.employment_additional_info.e_001_pes_cod\": \"Código\",\n \"hcm_contract.employment_additional_info.e_001_pes_nom\": \"Nome\",\n \"hcm_contract.employment_additional_info.e_001_pes_dat\": \"Data de nascimento\",\n \"hcm_contract.employment_additional_info.e_044_ccu_cod_ccu\": \"Código\",\n \"hcm_contract.employment_additional_info.e_044_ccu_des_ccu\": \"Descrição\",\n \"hcm_contract.employment_additional_info.e_070_fil_cod_fil\": \"Código\",\n \"hcm_contract.employment_additional_info.e_070_fil_nom_fil\": \"Nome\",\n \"hcm_contract.employment_additional_info.data_person_id_lookup_title\": \"Localizar a pessoa\",\n \"hcm_contract.employment_additional_info.cost_center_history_cost_center_search_title\": \"Localizar o centro de custo\",\n \"hcm_contract.employment_additional_info.employee_employer_cod_emp\": \"Código da empresa\",\n \"hcm_contract.employment_additional_info.employee_employment_relationship_contract_type\": \"Tipo de contrato\",\n \"hcm_contract.employment_additional_info.employee_person_nom_pes\": \"Nome do colaborador\",\n \"hcm_contract.employment_additional_info.company_branch_history_company_branch_search_title\": \"Localizar a filial\",\n \"hcm_contract.employment_additional_info.company_branch_history_employee_search_title\": \"Localizar o colaborador\",\n \"hcm_contract.employment_additional_info.employee\": \"Empregado\",\n \"hcm_contract.employment_additional_info.employee_code\": \"Código\",\n \"hcm_contract.employment_additional_info.employer_name\": \"Nome da empresa\",\n \"hcm_contract.employment_additional_info.position_acting_type_code\": \"Código\",\n \"hcm_contract.employment_additional_info.position_acting_type_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.position_history_position_code\": \"Código\",\n \"hcm_contract.employment_additional_info.position_history_position_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.location_code\": \"Código\",\n \"hcm_contract.employment_additional_info.location_name\": \"Descrição\",\n \"hcm_contract.employment_additional_info.filter\": \"Filtrar\",\n \"hcm_contract.employment_additional_info.filters\": \"Filtros\",\n \"hcm_contract.employment_additional_info.cancel\": \"Cancelar\",\n \"hcm_contract.employment_additional_info.clear\": \"Limpar\",\n \"hcm_contract.employment_additional_info.select\": \"Selecionar\",\n \"hcm_contract.employment_additional_info.nothing_found\": \"Nenhum registro encontrado\",\n \"hcm_contract.employment_additional_info.total_records\": \"{{value}} registro(s) encontrado(s)\",\n \"hcm_contract.employment_additional_info.error_unauthorized_title\": \"Não autorizado.\",\n \"hcm_contract.employment_additional_info.structure_empty_title\": \"Empresa sem estrutura de {{entity}}\",\n \"hcm_contract.employment_additional_info.structure_empty_message\": \"Você precisa cadastrar uma estrutura de {{entity}} na empresa selecionada, posterior ou igual a data {{startDate}}\",\n \"hcm_contract.employment_additional_info.employee_situation\": \"Situação\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_working\": \"Trabalhando\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_dismissed\": \"Desligado\",\n \"hcm_contract.employment_additional_info.resignation_situation_type_all\": \"Todos\"\n};\n","const projectInfo = {\n app: \"gestao-pessoas\",\n domain: \"hcm_entity\",\n service: \"lookups\",\n};\n\nexport const environment: any = {\n name: \"@senior-gestao-pessoas/hcm-entity-lookups\",\n project: projectInfo,\n production: false,\n ignorePermissions: false,\n};\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { CompanyBranchIndicationsDto } from \"./company-branch-indications-dto\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class CompanyBranchIndicationsService extends EntityService<CompanyBranchIndicationsDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/companyBranchIndications`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalCompanyBranchIndications(listParams: ListParams) {\n return this.http\n .get<CompanyBranchIndicationsDto>(\"hcm_foundation/general/entities/companyBranchIndications\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { CompanyBranchIndicationsService } from \"./company-branch-indications.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"companyBranchIndications\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/companyBranchIndications`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n CompanyBranchIndicationsService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class CompanyBranchIndicationsModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E001PesService } from \"./e-001-pes.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e001pes\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/pessoa/entities/e001pes`,\n },\n ]),\n ],\n providers: [\n E001PesService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class E001PesModule { }\n\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { E030AgeDto } from \"./e-030-age-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E030AgeService extends EntityService<E030AgeDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/e030age`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE030Age(listParams: ListParams) {\n return this.http\n .get<E030AgeDto>(\"erpx_fnd/financeiro/entities/e030age\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E030AgeService } from \"./e-030-age.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e030age\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/financeiro/entities/e030age`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E030AgeService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E030AgeModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { E030BanDto } from \"./e-030-ban-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class E030BanService extends EntityService<E030BanDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/e030ban`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalE030Ban(listParams: ListParams) {\n return this.http\n .get<E030BanDto>(\"erpx_fnd/financeiro/entities/e030ban\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E030BanService } from \"./e-030-ban.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e030ban\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/financeiro/entities/e030ban`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E030BanService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E030BanModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E044CcuService } from \"./e-044-ccu.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e044ccu\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fin_rat/foundation/entities/e044ccu`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E044CcuService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E044CcuModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E070EmpService } from \"./e-070-emp.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e070emp\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/empresa/entities/e070emp`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E070EmpService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E070EmpModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { E070FilService } from \"./e-070-fil.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"e070fil\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/erpx_fnd/empresa/entities/e070fil`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n E070FilService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class E070FilModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { EmployeeService } from \"./employee.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"employee\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/employee`,\n },\n ]),\n ],\n providers: [\n EmployeeService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class EmployeeModule { }\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { EmploymentRelationshipService } from \"./employment-relationship.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"employmentRelationship\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/employmentRelationship`,\n },\n ]),\n ],\n providers: [\n EmploymentRelationshipService,\n ],\n exports: [\n ],\n})\nexport class EmploymentRelationshipModule {}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { HolidayGroupDto } from \"./holiday-group-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class HolidayGroupService extends EntityService<HolidayGroupDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/holidayGroup`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalHolidayGroup(listParams: ListParams) {\n return this.http\n .get<HolidayGroupDto>(\"hcm_foundation/general/entities/holidayGroup\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { HolidayGroupService } from \"./holiday-group.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"holidayGroup\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/holidayGroup`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n HolidayGroupService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class HolidayGroupModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { HolidayDto } from \"./holiday-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class HolidayService extends EntityService<HolidayDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService\n ) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/holiday`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate,\n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalHoliday(listParams: ListParams) {\n return this.http\n .get<HolidayDto>(\"hcm_foundation/general/entities/holiday\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { HolidayService } from \"./holiday.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"holiday\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/holiday`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n HolidayService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class HolidayModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { JobPositionService } from \"./job-position.service\";\n\n@NgModule({\n declarations: [],\n exports: [\n ],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"jobPosition\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/jobPosition`,\n },\n ]),\n ],\n providers: [\n JobPositionService,\n ],\n})\nexport class JobPositionModule {\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { LocationStructureDto } from \"./location-structure-dto\";\nimport { environment } from \"../../../environments/environment.default\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\n\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@Injectable()\nexport class LocationStructureService extends EntityService<LocationStructureDto> {\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n constructor(protected http: HttpClient, protected messageService: MessageService, protected translate: TranslateService, protected configService: EntityLookupConfigService) {\n super(\n http,\n messageService,\n `${environment.project.domain}/${environment.project.service}/entities/locationStructure`,\n `${environment.project.domain}/${environment.project.service}/actions`,\n translate, \n configService\n );\n /*{CA:CONSTRUCTOR_END:START}*/\n /*{CA:CONSTRUCTOR_END:END}*/\n }\n\n public listExternalLocationStructure(listParams: ListParams) {\n return this.http\n .get<LocationStructureDto>(\"hcm_foundation/general/entities/locationStructure\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { LocationStructureService } from \"./location-structure.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"locationStructure\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_contract/employment_contract/entities/locationStructure`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n LocationStructureService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class LocationStructureModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { LocationService } from \"./location.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"location\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/general/entities/location`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n LocationService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class LocationModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { PositionActingTypeService } from \"./position-acting-type.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"positionActingType\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/position/entities/positionActingType`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n PositionActingTypeService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class PositionActingTypeModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { PositionService } from \"./position.service\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"position\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/position/entities/position`,\n },\n ]),\n /*{CA:MODULE_IMPORTS:START}*/\n /*{CA:MODULE_IMPORTS:END}*/\n ],\n providers: [\n PositionService,\n /*{CA:MODULE_PROVIDERS:START}*/\n /*{CA:MODULE_PROVIDERS:END}*/\n ],\n declarations: [\n /*{CA:MODULE_DECLARATIONS:START}*/\n /*{CA:MODULE_DECLARATIONS:END}*/\n ],\n exports: [\n /*{CA:MODULE_EXPORTS:START}*/\n /*{CA:MODULE_EXPORTS:END}*/\n ],\n /*{CA:MODULE_CONFIG:START}*/\n /*{CA:MODULE_CONFIG:END}*/\n})\nexport class PositionModule {}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { SyndicateService } from \"./syndicate.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"syndicate\",\n uri: `res://senior.com.br/hcm_foundation/general/entities/syndicate`,\n },\n ]),\n ],\n providers: [\n SyndicateService,\n ],\n})\nexport class SyndicateModule {\n}\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { WageTypeService } from \"./wage-type.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"wageType\",\n uri: `res://senior.com.br/hcm_payroll_wage_type/general/entities/wageType`,\n },\n ]),\n ],\n providers: [\n WageTypeService,\n ],\n})\nexport class WageTypeModule {}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { WorkshiftGroupDto } from \"./workshift-group-dto\";\n\n@Injectable()\nexport class WorkshiftGroupService extends EntityService<WorkshiftGroupDto> {\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected configService: EntityLookupConfigService,\n protected translate: TranslateService) {\n super(\n http,\n messageService,\n `hcm_foundation/work_schedule/entities/workshiftGroup`,\n `hcm_foundation/work_schedule/actions`,\n translate,\n configService,\n );\n }\n}\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { WorkshiftGroupService } from \"./workshift-group.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"workshiftGroup\",\n uri: `res://senior.com.br/hcm_foundation/work_schedule/entities/workshiftGroup`,\n },\n ]),\n ],\n providers: [\n WorkshiftGroupService,\n ],\n})\nexport class WorkshiftGroupModule {\n}\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { WorkshiftService } from \"./workshift.service\";\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n PermissionsModule.forChild([\n {\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n name: \"workshift\",\n uri: `res://senior.com.br/hcm_foundation/work_schedule/entities/workshift`,\n },\n ]),\n ],\n providers: [\n WorkshiftService,\n ],\n})\nexport class WorkshiftModule {\n}\n\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { AnnotationTypeService } from \"../annotation-type/annotation-type.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"annotationType\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_foundation/general/entities/annotationType`,\n },\n ]),\n ],\n providers: [\n AnnotationTypeService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class AnnotationTypeModule { }\n","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { VariableEntryService } from \"./variable-entry.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"variableEntry\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_entry/general/entities/variableEntry`,\n },\n ]),\n ],\n providers: [\n VariableEntryService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class VariableEntryModule { }","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\n\nimport { CalculationDefinitionService } from \"./calculation-definition.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"calculationDefition\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_foundation/general/entities/calculationDefition`,\n },\n ]),\n ],\n providers: [\n CalculationDefinitionService,\n ],\n declarations: [\n ],\n exports: [\n ],\n})\nexport class CalculationDefinitionModule { }","import { NgModule } from \"@angular/core\";\nimport { PermissionsModule } from \"@seniorsistemas/platform-components\";\nimport { WageTypePayrollService } from \"./wage-type-payroll.service\";\n\n@NgModule({\n imports: [\n PermissionsModule.forChild([\n {\n name: \"wageTypePayroll\",\n actions: [\"Visualizar\", \"Incluir\", \"Editar\", \"Excluir\"],\n uri: `res://senior.com.br/hcm_payroll_wage_type/general/entities/wageTypePayroll`,\n },\n ]),\n ],\n providers: [\n WageTypePayrollService,\n ],\n})\nexport class WageTypePayrollModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CompanyBranchIndicationsModule } from \"./entities/company-branch-indications/company-branch-indications.module\";\nimport { E001PesModule } from \"./entities/e-001-pes/e-001-pes.module\";\nimport { E030AgeModule } from \"./entities/e-030-age/e-030-age.module\";\nimport { E030BanModule } from \"./entities/e-030-ban/e-030-ban.module\";\nimport { E044CcuModule } from \"./entities/e-044-ccu/e-044-ccu.module\";\nimport { E070EmpModule } from \"./entities/e-070-emp/e-070-emp.module\";\nimport { E070FilModule } from \"./entities/e-070-fil/e-070-fil.module\";\nimport { EmployeeModule } from \"./entities/employee/employee.module\";\nimport { EmploymentRelationshipModule } from \"./entities/employment-relationship/employment-relationship.module\";\nimport { HolidayGroupModule } from \"./entities/holiday-group/holiday-group.module\";\nimport { HolidayModule } from \"./entities/holiday/holiday.module\";\nimport { JobPositionModule } from \"./entities/job-position/job-position.module\";\nimport { LocationStructureModule } from \"./entities/location-structure/location-structure.module\";\nimport { LocationModule } from \"./entities/location/location.module\";\nimport { PositionActingTypeModule } from \"./entities/position-acting-type/position-acting-type.module\";\nimport { PositionModule } from \"./entities/position/position.module\";\nimport { SyndicateModule } from \"./entities/syndicate/syndicate.module\";\nimport { WageTypeModule } from \"./entities/wage-type/wage-type.module\";\nimport { WorkshiftGroupModule } from \"./entities/workshift-group/workshift-group.module\";\nimport { WorkshiftModule } from \"./entities/workshift/workshift.module\";\nimport { AnnotationTypeModule } from \"./entities/annotation-type/annotation-type.module\";\nimport { VariableEntryModule } from \"./entities/variable-entry/variable-entry.module\";\nimport { CalculationDefinitionModule } from \"./entities/calculation-definition/calculation-defition.module\";\nimport { WageTypePayrollModule } from \"./entities/wage-type-payroll/wage-type-payroll.module\";\n\n@NgModule({\n imports: [\n CompanyBranchIndicationsModule,\n E030AgeModule,\n E030BanModule,\n E044CcuModule,\n E070EmpModule,\n E070FilModule,\n HolidayModule,\n HolidayGroupModule,\n LocationModule,\n LocationStructureModule,\n PositionActingTypeModule,\n PositionModule,\n E001PesModule,\n EmployeeModule,\n JobPositionModule,\n WorkshiftModule,\n WorkshiftGroupModule,\n WageTypeModule,\n AnnotationTypeModule,\n SyndicateModule,\n VariableEntryModule,\n CalculationDefinitionModule,\n EmploymentRelationshipModule,\n WageTypePayrollModule\n ],\n})\nexport class CoreLookupModule {\n}\n","import * as moment_ from \"moment\";\nimport { HolidayDto } from \"./holiday-dto\";\n\nconst moment = moment_;\n\nexport class Holiday {\n public id?: string;\n public name: string;\n public day: number;\n public month: number;\n public year?: number;\n public holidayGroup?: any[];\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(holidayDto: HolidayDto, originEntity?: string): Holiday {\n const model: any = { ...holidayDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"name\",\n \"day\",\n \"month\",\n \"year\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n\n return model as Holiday;\n }\n\n public static toDto(holiday: Holiday, originEntity?: string): HolidayDto {\n const dto: any = { ...holiday };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { Holiday } from \"../holiday\";\nimport { HolidayGroupDto } from \"./holiday-group-dto\";\n\nconst moment = moment_;\n\nexport class HolidayGroup {\n public id?: string;\n public code: number;\n public name: string;\n public holiday?: Holiday[];\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(holidayGroupDto: HolidayGroupDto, originEntity?: string): HolidayGroup {\n const model: any = { ...holidayGroupDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"Holiday\" && model.holiday)\n model.holiday = Object.values(model.holiday).map((item: any) => Holiday.fromDto(item, \"HolidayGroup\"));\n\n return model as HolidayGroup;\n }\n\n public static toDto(holidayGroup: HolidayGroup, originEntity?: string): HolidayGroupDto {\n const dto: any = { ...holidayGroup };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"Holiday\" && dto.holiday)\n dto.holiday = Object.values(dto.holiday)\n .map((item: any) => Holiday.toDto(item, \"HolidayGroup\"))\n .filter(item => Object.keys(item).length);\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment from \"moment\";\nimport { CompanyBranchIndicationsDto } from \"./company-branch-indications-dto\";\nimport { HolidayGroup } from \"../holiday-group/holiday-group\";\nimport { E070FilDto } from \"../e-070-fil\";\n/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\nexport class CompanyBranchIndications {\n public id?: string;\n public nightlyHolidayGroup?: HolidayGroup;\n public daytimeHolidayGroup?: HolidayGroup;\n public companyBranch?: E070FilDto;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(companyBranchIndicationsDto: CompanyBranchIndicationsDto, originEntity?: string): CompanyBranchIndications {\n const model: any = { ...companyBranchIndicationsDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"id\", \"deleted\", \"extIntSts\", \"extIntMsg\", \"createdBy\", \"createdDate\", \"lastModifiedBy\", \"lastModifiedDate\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"HolidayGroup\" && model.nightlyHolidayGroup)\n model.nightlyHolidayGroup = HolidayGroup.fromDto(model.nightlyHolidayGroup, \"CompanyBranchIndications\");\n if (originEntity !== \"HolidayGroup\" && model.daytimeHolidayGroup)\n model.daytimeHolidayGroup = HolidayGroup.fromDto(model.daytimeHolidayGroup, \"CompanyBranchIndications\");\n\n return model as CompanyBranchIndications;\n }\n\n public static toDto(companyBranchIndications: CompanyBranchIndications, originEntity?: string): CompanyBranchIndicationsDto {\n const dto: any = { ...companyBranchIndications };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"HolidayGroup\" && dto.nightlyHolidayGroup)\n dto.nightlyHolidayGroup = HolidayGroup.toDto(dto.nightlyHolidayGroup, \"CompanyBranchIndications\");\n if (originEntity !== \"HolidayGroup\" && dto.daytimeHolidayGroup)\n dto.daytimeHolidayGroup = HolidayGroup.toDto(dto.daytimeHolidayGroup, \"CompanyBranchIndications\");\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E001PesDto } from \"./e-001-pes-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\nexport class E001Pes {\n public id?: string;\n public nomPes: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(e001PesDto: E001PesDto, originEntity?: string): E001Pes {\n const model: any = { ...e001PesDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"nomPes\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E001Pes;\n }\n\n public static toDto(e001Pes: E001Pes, originEntity?: string): E001PesDto {\n const dto: any = { ...e001Pes };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n\n}\n","import * as moment_ from \"moment\";\nimport { E001Pes } from \"../e-001-pes\";\nimport { EmployeeDto } from \"./employee-dto\";\n\nconst moment = moment_;\n\nexport class Employee {\n public id?: string;\n public code: number;\n public person?: E001Pes;\n public employer: { id: string };\n public hireDate?: Date;\n public dismissalDate?: Date;\n public deleted? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(employeeDto: EmployeeDto, originEntity?: string): Employee {\n const model: any = { ...employeeDto };\n\n model.hireDate = model.hireDate && moment(model.hireDate).toDate();\n model.dismissalDate = model.dismissalDate && moment(model.dismissalDate).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"person.nomPes\",\n \"hireDate\",\n \"dismissalDate\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E001Pes\" && model.person) {\n model.person = E001Pes.fromDto(model.person, \"Employee\");\n }\n\n return model as Employee;\n }\n\n public static toDto(employee: Employee, originEntity?: string): EmployeeDto {\n const dto: any = { ...employee };\n\n dto.hireDate = dto.hireDate && moment(dto.hireDate).format(\"YYYY-MM-DD\");\n dto.dismissalDate = dto.dismissalDate && moment(dto.dismissalDate).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n delete dto.employer._discriminator;\n delete dto.employmentRelationship._discriminator;\n\n if (originEntity !== \"E001Pes\" && dto.person) {\n dto.person = E001Pes.toDto(dto.person, \"Employee\");\n }\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { PositionDto } from \"./position-dto\";\n\nconst moment = moment_;\n\nexport class Position {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(positionDto: PositionDto, originEntity?: string): Position {\n const model: any = { ...positionDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Position;\n }\n\n public static toDto(position: Position, originEntity?: string): PositionDto {\n const dto: any = { ...position };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { JobPositionStructureDto } from \"./job-position-structure-dto\";\n\nconst moment = moment_;\n\nexport class JobPositionStructure {\n public id?: string;\n public code: number;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(jobPositionStructureDto: JobPositionStructureDto, originEntity?: string): JobPositionStructure {\n const model: any = { ...jobPositionStructureDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"id\", \"code\", \"createdBy\", \"createdDate\", \"lastModifiedBy\", \"lastModifiedDate\"];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as JobPositionStructure;\n }\n\n public static toDto(jobPositionStructure: JobPositionStructure, originEntity?: string): JobPositionStructureDto {\n const dto: any = { ...jobPositionStructure };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n\n","import * as moment_ from \"moment\";\nimport { JobPositionStructure } from \"../job-position-structure/job-position-structure\";\n\nimport { JobPositionDto } from \"./job-position-dto\";\n\nconst moment = moment_;\n\nexport class JobPosition {\n public id?: string;\n public code: number;\n public name?: string;\n public shortName: string;\n public jobPositionStructure?: JobPositionStructure;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(jobPositionDto: JobPositionDto, originEntity?: string): JobPosition {\n const model: any = { ...jobPositionDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"description\",\n \"shortDescription\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"JobPositionStructure\" && model.jobPositionStructure)\n model.jobPositionStructure = JobPositionStructure.fromDto(model.jobPositionStructure, \"JobPosition\");\n\n return model as JobPosition;\n }\n\n public static toDto(jobPosition: JobPosition, originEntity?: string): JobPositionDto {\n const dto: any = { ...jobPosition };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"JobPositionStructure\" && dto.jobPositionStructure)\n dto.jobPositionStructure = JobPositionStructure.toDto(dto.jobPositionStructure, \"JobPosition\");\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { SyndicateDto } from \"./syndicate-dto\";\n\nconst moment = moment_;\n\nexport class Syndicate {\n public id?: string;\n public code: number;\n public name?: string;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(syndicateDto: SyndicateDto, originEntity?: string): Syndicate {\n const model: any = { ...syndicateDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as Syndicate;\n }\n\n public static toDto(syndicate: Syndicate, originEntity?: string): SyndicateDto {\n const dto: any = { ...syndicate };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { EmploymentRelationshipDto } from \"./employment-relationship-dto\";\n\nconst moment = moment_;\n\nexport class EmploymentRelationship {\n public id?: string;\n public code: string;\n public name: string;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(employmentRelationshipDto: EmploymentRelationshipDto, originEntity?: string): EmploymentRelationship {\n const model: any = { ...employmentRelationshipDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as EmploymentRelationship;\n }\n\n public static toDto(employmentRelationship: EmploymentRelationship, originEntity?: string): EmploymentRelationshipDto {\n const dto: any = { ...employmentRelationship };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { WorkshiftType } from \"../../enums/workshift-type\";\nimport { WorkshiftDto } from \"./workshift-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\nexport class Workshift {\n public id?: string;\n public code: number;\n public name: string;\n public workshiftType: WorkshiftType;\n public deleted = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(workshiftDto: WorkshiftDto, originEntity?: string): Workshift {\n const model: any = { ...workshiftDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"workshiftType\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as Workshift;\n }\n\n public static toDto(workshift: Workshift, originEntity?: string): WorkshiftDto {\n const dto: any = { ...workshift };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n}\n\n","import * as moment_ from \"moment\";\nimport { WorkshiftGroupDto } from \"./workshift-group-dto\";\n\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\n\nexport class WorkshiftGroup {\n public id?: string;\n public code: number;\n public baseDate: Date;\n public deleted ? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n\n public static fromDto(workshiftGroupDto: WorkshiftGroupDto, originEntity?: string): WorkshiftGroup {\n const model: any = { ...workshiftGroupDto };\n\n model.baseDate = model.baseDate && moment(model.baseDate).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"baseDate\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as WorkshiftGroup;\n }\n\n public static toDto(workshiftGroup: WorkshiftGroup, originEntity?: string): WorkshiftGroupDto {\n const dto: any = { ...workshiftGroup };\n\n dto.baseDate = dto.baseDate && moment(dto.baseDate).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n delete dto._discriminator;\n\n return dto;\n }\n}\n","import * as moment_ from \"moment\";\nimport { PositionActingTypeDto } from \"./position-acting-type-dto\";\n\nconst moment = moment_;\n\nexport class PositionActingType {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(positionActingTypeDto: PositionActingTypeDto, originEntity?: string): PositionActingType {\n const model: any = { ...positionActingTypeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as PositionActingType;\n }\n\n public static toDto(positionActingType: PositionActingType, originEntity?: string): PositionActingTypeDto {\n const dto: any = { ...positionActingType };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { LocationStructureDto } from \"./location-structure-dto\";\n\nconst moment = moment_;\n\nexport class LocationStructure {\n public id?: string;\n public code: number;\n public name: string;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(locationStructureDto: LocationStructureDto, originEntity?: string): LocationStructure {\n const model: any = { ...locationStructureDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as LocationStructure;\n }\n\n public static toDto(locationStructure: LocationStructure, originEntity?: string): LocationStructureDto {\n const dto: any = { ...locationStructure };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { LocationStructure } from \"../location-structure\";\nimport { LocationDto } from \"./location-dto\";\n\nconst moment = moment_;\n\nexport class Location {\n public id?: string;\n public code: number;\n public name: string;\n public locationStructure: LocationStructure;\n public initialValidity?: Date;\n public finalValidity?: Date;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(locationDto: LocationDto, originEntity?: string): Location {\n const model: any = { ...locationDto };\n\n model.initialValidity = model.initialValidity && moment(model.initialValidity).toDate();\n model.finalValidity = model.finalValidity && moment(model.finalValidity).toDate();\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"code\",\n \"name\",\n \"initialValidity\",\n \"finalValidity\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"LocationStructure\" && model.locationStructure)\n model.locationStructure = LocationStructure.fromDto(model.locationStructure, \"Location\");\n\n return model as Location;\n }\n\n public static toDto(location: Location, originEntity?: string): LocationDto {\n const dto: any = { ...location };\n\n dto.initialValidity = dto.initialValidity && moment(dto.initialValidity).format(\"YYYY-MM-DD\");\n dto.finalValidity = dto.finalValidity && moment(dto.finalValidity).format(\"YYYY-MM-DD\");\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"LocationStructure\" && dto.locationStructure)\n dto.locationStructure = LocationStructure.toDto(dto.locationStructure, \"Location\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E030BanDto } from \"./e-030-ban-dto\";\n\nconst moment = moment_;\n\nexport class E030Ban {\n public id?: string;\n public codBan: string;\n public nomBan: string;\n public abrBan: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e030BanDto: E030BanDto, originEntity?: string): E030Ban {\n const model: any = { ...e030BanDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codBan\",\n \"nomBan\",\n \"abrBan\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E030Ban;\n }\n\n public static toDto(e030Ban: E030Ban, originEntity?: string): E030BanDto {\n const dto: any = { ...e030Ban };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E030Ban } from \"../e-030-ban/e-030-ban\";\nimport { E030AgeDto } from \"./e-030-age-dto\";\n\nconst moment = moment_;\n\nexport class E030Age {\n public id?: string;\n public e030ban?: E030Ban;\n public codAge: string;\n public nomAge: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e030AgeDto: E030AgeDto, originEntity?: string): E030Age {\n const model: any = { ...e030AgeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codAge\",\n \"nomAge\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E030Ban\" && model.e030ban) model.e030ban = E030Ban.fromDto(model.e030ban, \"E030Age\");\n\n return model as E030Age;\n }\n\n public static toDto(e030Age: E030Age, originEntity?: string): E030AgeDto {\n const dto: any = { ...e030Age };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"E030Ban\" && dto.e030ban) dto.e030ban = E030Ban.toDto(dto.e030ban, \"E030Age\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E044CcuDto } from \"./e-044-ccu-dto\";\n\nconst moment = moment_;\n\nexport class E044Ccu {\n public id?: string;\n public codCcu: string;\n public desCcu: string;\n public deleted?: boolean;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e044CcuDto: E044CcuDto, originEntity?: string): E044Ccu {\n const model: any = { ...e044CcuDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codCcu\",\n \"desCcu\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E044Ccu;\n }\n\n public static toDto(e044Ccu: E044Ccu, originEntity?: string): E044CcuDto {\n const dto: any = { ...e044Ccu };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { E070EmpDto } from \"./e-070-emp-dto\";\n\nconst moment = moment_;\n\nexport class E070Emp {\n public id?: string;\n public codEmp: number;\n public nomEmp: string;\n public excluido?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e070EmpDto: E070EmpDto, originEntity?: string): E070Emp {\n const model: any = { ...e070EmpDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codEmp\",\n \"nomEmp\",\n \"excluido\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as E070Emp;\n }\n\n public static toDto(e070Emp: E070Emp, originEntity?: string): E070EmpDto {\n const dto: any = { ...e070Emp };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import * as moment_ from \"moment\";\nimport { CompanyBranchIndications } from \"../company-branch-indications\";\nimport { E070Emp } from \"../e-070-emp\";\nimport { E070FilDto } from \"./e-070-fil-dto\";\n\nconst moment = moment_;\n\nexport class E070Fil {\n public id?: string;\n public e070emp?: E070Emp;\n public codFil: number;\n public nomFil: string;\n public companyBranchIndications?: CompanyBranchIndications;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(e070FilDto: E070FilDto, originEntity?: string): E070Fil {\n const model: any = { ...e070FilDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"id\",\n \"codFil\",\n \"nomFil\",\n \"deleted\",\n \"extIntSts\",\n \"extIntMsg\",\n \"createdBy\",\n \"createdDate\",\n \"lastModifiedBy\",\n \"lastModifiedDate\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n if (originEntity !== \"E070Emp\" && model.e070emp) model.e070emp = E070Emp.fromDto(model.e070emp, \"E070Fil\");\n if (originEntity !== \"CompanyBranchIndications\" && model.companyBranchIndications)\n model.companyBranchIndications = CompanyBranchIndications.fromDto(model.companyBranchIndications, \"E070Fil\");\n\n return model as E070Fil;\n }\n\n public static toDto(e070Fil: E070Fil, originEntity?: string): E070FilDto {\n const dto: any = { ...e070Fil };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n if (originEntity !== \"E070Emp\" && dto.e070emp) dto.e070emp = E070Emp.toDto(dto.e070emp, \"E070Fil\");\n if (originEntity !== \"CompanyBranchIndications\" && dto.companyBranchIndications)\n dto.companyBranchIndications = CompanyBranchIndications.toDto(dto.companyBranchIndications, \"E070Fil\");\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","/*{CA:PACKAGE_IMPORTS:START}*/\n/*{CA:PACKAGE_IMPORTS:END}*/\n\nimport { AnnotationTypeDto } from \"../annotation-type/annotation-type-dto\";\n\nimport * as moment_ from \"moment\";\nconst moment = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670\n\n/*{CA:PROJECT_IMPORTS:START}*/\n/*{CA:PROJECT_IMPORTS:END}*/\n\nexport class AnnotationType {\n public id?: string;\n public code: number;\n public name?: string;\n public excluido ? = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n public custom?: any;\n /*{CA:CLASS_ATTRIBUTES:START}*/\n /*{CA:CLASS_ATTRIBUTES:END}*/\n\n public static fromDto(annotationTypeDto: AnnotationTypeDto, originEntity?: string): AnnotationType {\n const model: any = { ...annotationTypeDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"code\", \"name\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as AnnotationType;\n }\n\n public static toDto(annotationType: AnnotationType, originEntity?: string): AnnotationTypeDto {\n const dto: any = { ...annotationType };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n\n /*{CA:CLASS_METHODS:START}*/\n /*{CA:CLASS_METHODS:END}*/\n}\n\n/*{CA:FILE_CONTENTS:START}*/\n/*{CA:FILE_CONTENTS:END}*/\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\n\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MessageService } from \"primeng/api\";\nimport { WageTypeTableDto } from \"./wage-type-table-dto\";\n\n@Injectable()\nexport class WageTypeTableService extends EntityService<WageTypeTableDto> {\n\n constructor(\n protected http: HttpClient,\n protected messageService: MessageService,\n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll_wage_type/general/entities/wageTypeTable`,\n `hcm_payroll_wage_type/general/actions`,\n translate,\n configService,\n );\n }\n}\n","export class CalculationDefinition {\n code: number;\n calculationType: string;\n competence: string;\n}","import { CalculationDefinition } from \"../calculation-definition/calculation-definition\";\nimport { WageType } from \"../wage-type/wage-type\";\n\nexport class VariableEntry {\n calculationDefinition: CalculationDefinition;\n wageType: WageType;\n reference: number;\n originType: string;\n}","import * as moment from \"moment\";\nimport { CharacteristicsDto } from \"./characteristics-dto\";\n\nexport class Characteristics {\n public id?: string;\n public description: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n\n public static fromDto(characteristicsDto: CharacteristicsDto, originEntity?: string): Characteristics {\n const model: any = { ...characteristicsDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\n \"description\",\n ];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Characteristics;\n }\n\n public static toDto(characteristics: Characteristics, originEntity?: string): CharacteristicsDto {\n const dto: any = { ...characteristics };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService } from \"../../../shared/services/entity-service\";\nimport { CharacteristicsDto } from \"./characteristics-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class CharacteristicsService extends EntityService<CharacteristicsDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll/shared/entities/characteristics`,\n `hcm_payroll/shared/actions`,\n translate,\n configService\n );\n }\n}\n","import * as moment from \"moment\";\nimport { RulesDto } from \"./rules-dto\";\n\nexport class Rules {\n public id?: string;\n public description: string;\n public deleted?: boolean = false;\n public extIntSts?: string;\n public extIntMsg?: string;\n public createdBy?: string;\n public createdDate?: Date;\n public lastModifiedBy?: string;\n public lastModifiedDate?: Date;\n\n public static fromDto(rulesDto: RulesDto, originEntity?: string): Rules {\n const model: any = { ...rulesDto };\n\n model.createdDate = model.createdDate && moment(model.createdDate).toDate();\n model.lastModifiedDate = model.lastModifiedDate && moment(model.lastModifiedDate).toDate();\n\n const lookupSeparator = \" - \";\n const displayFields = [\"description\"];\n\n model.label = displayFields.map(field => model[field]).join(lookupSeparator);\n\n return model as Rules;\n }\n\n public static toDto(rules: Rules, originEntity?: string): RulesDto {\n const dto: any = { ...rules };\n\n dto.createdDate = dto.createdDate && moment(dto.createdDate).format();\n dto.lastModifiedDate = dto.lastModifiedDate && moment(dto.lastModifiedDate).format();\n\n delete dto.label;\n\n return dto;\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { MessageService } from \"primeng/api\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { EntityService, ListParams } from \"../../../shared/services/entity-service\";\nimport { RulesDto } from \"./rules-dto\";\nimport { EntityLookupConfigService } from \"../../../shared/services/entity-lookup-config.service\";\n\n@Injectable()\nexport class RulesService extends EntityService<RulesDto> {\n\n constructor(\n protected http: HttpClient, \n protected messageService: MessageService, \n protected translate: TranslateService,\n protected configService: EntityLookupConfigService,\n ) {\n super(\n http,\n messageService,\n `hcm_payroll/shared/entities/rules`,\n `hcm_payroll/shared/actions`,\n translate,\n configService\n );\n }\n\n public listExternalRules(listParams: ListParams) {\n return this.http\n .get<RulesDto>(\"hcm_payroll/shared/entities/rules\", {\n params: this.getListQueryParams(listParams),\n })\n .pipe(this.defaultCatch());\n }\n}\n","\nimport { ESocialCategoryDto } from \"./esocial-category-dto\";\n\nexport class ESocialCategory {\n public id?: string;\n public code: number;\n public description?: string;\n\n public static fromDto(eSocialCategoryDto: ESocialCategoryDto, originEntity?: string): ESocialCategory {\n const model: any = { ...eSocialCategoryDto };\n\n const lookupSeparator = ' - ';\n const displayFields = ['id', 'code', 'description'];\n\n model.label = displayFields.map((field) => model[field]).join(lookupSeparator);\n\n return model as ESocialCategory;\n }\n\n public static toDto(eSocialCategory: ESocialCategory, originEntity?: string): ESocialCategoryDto {\n const dto: any = { ...eSocialCategory };\n\n delete dto.label;\n\n return dto;\n }\n}\n"],"names":["InjectionToken","Inject","Injectable","_moment","ContractType","FieldType","moment","catchError","throwError","of","map","HttpParams","take","TranslateService","HttpClient","MessageService","NgModule","LocaleModule","CommonModule","FormsModule","ReactiveFormsModule","EmptyStateModule","DynamicFormModule","InputTextModule","TranslateModule","Subject","takeUntil","FormField","EventEmitter","finalize","ChangeDetectorRef","Input","Output","Component","LoadingStateModule","CollectiveProcessType","Router","PermissionsService","SituationEmployee","CalendarLocaleOptions","PermissionsModule","moment_"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC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