@senior-gestao-pessoas/payroll-core 8.7.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js +3024 -10904
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/workstationgroup-lookup/autocomplete.service.d.ts +31 -0
- package/esm2015/components/admission-draft-summary/admission-draft-summary.component.js +106 -0
- package/esm2015/components/admission-draft-summary/admission-draft-summary.module.js +17 -0
- package/esm2015/components/admission-draft-summary/admission-draft-summary.service.js +27 -0
- package/esm2015/components/admission-draft-summary/index.js +4 -0
- package/esm2015/components/block-ui/block-ui.component.js +19 -0
- package/esm2015/components/block-ui/block-ui.module.js +25 -0
- package/esm2015/components/block-ui/index.js +3 -0
- package/esm2015/components/breadcrumb/breadcrumb.component.js +76 -0
- package/esm2015/components/breadcrumb/breadcrumb.module.js +25 -0
- package/esm2015/components/breadcrumb/index.js +3 -0
- package/esm2015/components/control-messages-error/control-messages-error.component.js +28 -0
- package/esm2015/components/control-messages-error/control-messages-error.module.js +17 -0
- package/esm2015/components/control-messages-error/index.js +3 -0
- package/esm2015/components/custom-fields/custom-fields.component.js +32 -0
- package/esm2015/components/custom-fields/custom-fields.module.js +31 -0
- package/esm2015/components/custom-fields/index.js +3 -0
- package/esm2015/components/data-list/data-list.component.js +305 -0
- package/esm2015/components/data-list/data-list.module.js +28 -0
- package/esm2015/components/data-list/data-list.service.js +19 -0
- package/esm2015/components/data-list/entity-odata-response.js +26 -0
- package/esm2015/components/data-list/index.js +2 -0
- package/esm2015/components/data-list-rest/data-list-rest.component.js +239 -0
- package/esm2015/components/data-list-rest/data-list-rest.module.js +28 -0
- package/esm2015/components/data-list-rest/data-list-rest.service.js +19 -0
- package/esm2015/components/data-list-rest/index.js +2 -0
- package/esm2015/components/directives/directives.module.js +17 -0
- package/esm2015/components/directives/index.js +4 -0
- package/esm2015/components/directives/name-not-spaces.directive.js +31 -0
- package/esm2015/components/directives/only-number.directive.js +41 -0
- package/esm2015/components/employee-selector/employee-selector.component.js +65 -0
- package/esm2015/components/employee-selector/employee-selector.module.js +18 -0
- package/esm2015/components/employee-selector/index.js +3 -0
- package/esm2015/components/employee-summary/employee-summary.component.js +108 -0
- package/esm2015/components/employee-summary/employee-summary.module.js +17 -0
- package/esm2015/components/employee-summary/employee-summary.service.js +33 -0
- package/esm2015/components/employee-summary/index.js +4 -0
- package/esm2015/components/error-page/error-page.component.js +15 -0
- package/esm2015/components/error-page/error-page.module.js +16 -0
- package/esm2015/components/error-page/index.js +3 -0
- package/esm2015/components/field-validator/field-validator.component.js +40 -0
- package/esm2015/components/field-validator/field-validator.module.js +18 -0
- package/esm2015/components/field-validator/index.js +3 -0
- package/esm2015/components/file-upload/file-upload.component.js +135 -0
- package/esm2015/components/file-upload/file-upload.module.js +19 -0
- package/esm2015/components/file-upload/file-upload.service.js +44 -0
- package/esm2015/components/file-upload/index.js +3 -0
- package/esm2015/components/from-to/from-to.component.js +16 -0
- package/esm2015/components/from-to/from-to.module.js +19 -0
- package/esm2015/components/from-to/index.js +3 -0
- package/esm2015/components/historical-bank-account/historical-bank-account-form/historical-bank-account-form.component.js +332 -0
- package/esm2015/components/historical-bank-account/historical-bank-account.component.js +329 -0
- package/esm2015/components/historical-bank-account/historical-bank-account.module.js +56 -0
- package/esm2015/components/historical-bank-account/historical-bank-account.service.js +20 -0
- package/esm2015/components/historical-bank-account/index.js +4 -0
- package/esm2015/components/historical-bank-account-list/historical-bank-account-list.component.js +223 -0
- package/esm2015/components/historical-bank-account-list/historical-bank-account-list.module.js +39 -0
- package/esm2015/components/historical-bank-account-list/historical-bank-account-list.service.js +35 -0
- package/esm2015/components/historical-bank-account-list/index.js +4 -0
- package/esm2015/components/image-cropper/image-crop.component.js +146 -0
- package/esm2015/components/image-cropper/image-crop.module.js +39 -0
- package/esm2015/components/image-cropper/image-crop.service.js +88 -0
- package/esm2015/components/image-cropper/index.js +4 -0
- package/esm2015/components/input-date/index.js +3 -0
- package/esm2015/components/input-date/input-date.component.js +115 -0
- package/esm2015/components/input-date/input-date.module.js +17 -0
- package/esm2015/components/input-date-model/index.js +3 -0
- package/esm2015/components/input-date-model/input-date-model.component.js +100 -0
- package/esm2015/components/input-date-model/input-date-model.module.js +17 -0
- package/esm2015/components/input-rest-auto-complete/index.js +4 -0
- package/esm2015/components/input-rest-auto-complete/input-rest-auto-complete.component.js +303 -0
- package/esm2015/components/input-rest-auto-complete/input-rest-auto-complete.module.js +21 -0
- package/esm2015/components/input-rest-auto-complete/input-rest-auto-complete.service.js +20 -0
- package/esm2015/components/input-rest-auto-complete-employee/index.js +3 -0
- package/esm2015/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.component.js +190 -0
- package/esm2015/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.service.js +20 -0
- package/esm2015/components/input-rest-auto-complete-employee-model/index.js +3 -0
- package/esm2015/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +179 -0
- package/esm2015/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.service.js +20 -0
- package/esm2015/components/input-rest-auto-complete-enum/index.js +4 -0
- package/esm2015/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.component.js +146 -0
- package/esm2015/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.service.js +23 -0
- package/esm2015/components/input-rest-auto-complete-jobposition/index.js +4 -0
- package/esm2015/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.component.js +173 -0
- package/esm2015/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.service.js +20 -0
- package/esm2015/components/input-rest-auto-complete-model/index.js +3 -0
- package/esm2015/components/input-rest-auto-complete-model/input-rest-auto-complete-model.component.js +227 -0
- package/esm2015/components/input-rest-auto-complete-model/input-rest-auto-complete-model.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-model/input-rest-auto-complete-model.service.js +20 -0
- package/esm2015/components/input-rest-auto-complete-model-enum/index.js +3 -0
- package/esm2015/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.component.js +124 -0
- package/esm2015/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.module.js +28 -0
- package/esm2015/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.service.js +23 -0
- package/esm2015/components/list-rest/index.js +3 -0
- package/esm2015/components/list-rest/list-rest.component.js +117 -0
- package/esm2015/components/list-rest/list-rest.module.js +33 -0
- package/esm2015/components/list-rest/list-rest.service.js +23 -0
- package/esm2015/components/lookup/index.js +2 -0
- package/esm2015/components/lookup/lookup.component.js +324 -0
- package/esm2015/components/lookup/lookup.module.js +20 -0
- package/esm2015/components/lookup/lookup.service.js +52 -0
- package/esm2015/components/shared/http-client.service.js +165 -0
- package/esm2015/components/shared/shared.module.js +21 -0
- package/esm2015/components/spinner/index.js +3 -0
- package/esm2015/components/spinner/spinner-loader.component.js +12 -0
- package/esm2015/components/spinner/spinner-loader.module.js +23 -0
- package/esm2015/components/toast/index.js +4 -0
- package/esm2015/components/toast/toast.component.js +88 -0
- package/esm2015/components/toast/toast.module.js +20 -0
- package/esm2015/components/toast/toast.service.js +42 -0
- package/esm2015/components/type-admission/index.js +3 -0
- package/esm2015/components/type-admission/type-admission.module.js +14 -0
- package/esm2015/components/type-admission/type-admission.services.js +62 -0
- package/esm2015/components/utils/cnpj-validator.js +62 -0
- package/esm2015/components/utils/cpf-validator.js +45 -0
- package/esm2015/components/utils/date-validator/date-validators.js +144 -0
- package/esm2015/components/utils/helpers.js +476 -0
- package/esm2015/components/utils/validations.js +127 -0
- package/esm2015/components/vanilla/string-methods.js +22 -0
- package/esm2015/components/workstationgroup-lookup/autocomplete.service.js +111 -0
- package/esm2015/components/workstationgroup-lookup/index.js +3 -0
- package/esm2015/components/workstationgroup-lookup/lookup.service.js +142 -0
- package/esm2015/components/workstationgroup-lookup/workstationgroup-lookup.component.js +587 -0
- package/esm2015/components/workstationgroup-lookup/workstationgroup-lookup.dto.js +48 -0
- package/esm2015/components/workstationgroup-lookup/workstationgroup-lookup.module.js +21 -0
- package/esm2015/core/entities/entity-odata-parameter.js +33 -0
- package/esm2015/core/entities/index.js +2 -0
- package/esm2015/core/enums/companyIndicationType.js +18 -0
- package/esm2015/core/enums/comparetype.enumeration.js +14 -0
- package/esm2015/core/enums/coreFieldType.js +5 -0
- package/esm2015/core/enums/direction.enumeration.js +6 -0
- package/esm2015/core/enums/httpRequestType.js +6 -0
- package/esm2015/core/enums/index.js +14 -0
- package/esm2015/core/enums/menu-type.enumeration.js +6 -0
- package/esm2015/core/enums/moduleType.js +22 -0
- package/esm2015/core/enums/operators.enumeration.js +14 -0
- package/esm2015/core/enums/parameter-type.enumeration.js +12 -0
- package/esm2015/core/enums/report-format.enumeration.js +12 -0
- package/esm2015/core/enums/report-stage.enumeration.js +12 -0
- package/esm2015/core/enums/serviceType.js +9 -0
- package/esm2015/core/enums/usingType.js +42 -0
- package/esm2015/core/interfaces/date-compare-options.js +1 -0
- package/esm2015/core/interfaces/date-validate-options.js +1 -0
- package/esm2015/core/interfaces/field-validators-object.js +1 -0
- package/esm2015/core/interfaces/index.js +1 -0
- package/esm2015/core/interfaces/pagination-data.js +1 -0
- package/esm2015/core/interfaces/report/domain-service.interface.js +1 -0
- package/esm2015/core/interfaces/report/generation-status.interface.js +1 -0
- package/esm2015/core/interfaces/report/get-parameters-out.interface.js +1 -0
- package/esm2015/core/interfaces/report/index.js +1 -0
- package/esm2015/core/interfaces/report/lookup-parameter.interface.js +1 -0
- package/esm2015/core/interfaces/report/parameter-def.interface.js +1 -0
- package/esm2015/core/interfaces/report/parameter-value.interface.js +1 -0
- package/esm2015/core/interfaces/report/report-header.interface.js +1 -0
- package/esm2015/core/interfaces/report/report-in.interface.js +1 -0
- package/esm2015/core/interfaces/report/report-menu.interface.js +1 -0
- package/esm2015/core/interfaces/report/report-out.interface.js +1 -0
- package/esm2015/core/interfaces/report/report.interface.js +1 -0
- package/esm2015/public_api.js +52 -58
- package/esm2015/senior-gestao-pessoas-payroll-core.js +19 -24
- package/esm2015/services/autocomplete-parameters.service.js +116 -0
- package/esm2015/services/company-indications.service.js +42 -0
- package/esm2015/services/form-comparator.service.js +99 -0
- package/esm2015/services/integration.service.js +19 -0
- package/esm2015/services/lookup-parameters.service.js +345 -0
- package/esm2015/services/permissions.service.js +89 -0
- package/esm2015/services/report.service.js +109 -0
- package/esm2015/services/services.module.js +29 -0
- package/esm2015/services/workflow-data.service.js +26 -0
- package/esm2015/services/workflow-integrator.service.js +248 -0
- package/esm5/components/admission-draft-summary/admission-draft-summary.component.js +109 -0
- package/esm5/components/admission-draft-summary/admission-draft-summary.module.js +20 -0
- package/esm5/components/admission-draft-summary/admission-draft-summary.service.js +28 -0
- package/esm5/components/admission-draft-summary/index.js +4 -0
- package/esm5/components/block-ui/block-ui.component.js +22 -0
- package/esm5/components/block-ui/block-ui.module.js +28 -0
- package/esm5/components/block-ui/index.js +3 -0
- package/esm5/components/breadcrumb/breadcrumb.component.js +79 -0
- package/esm5/components/breadcrumb/breadcrumb.module.js +28 -0
- package/esm5/components/breadcrumb/index.js +3 -0
- package/esm5/components/control-messages-error/control-messages-error.component.js +34 -0
- package/esm5/components/control-messages-error/control-messages-error.module.js +20 -0
- package/esm5/components/control-messages-error/index.js +3 -0
- package/esm5/components/custom-fields/custom-fields.component.js +33 -0
- package/esm5/components/custom-fields/custom-fields.module.js +34 -0
- package/esm5/components/custom-fields/index.js +3 -0
- package/esm5/components/data-list/data-list.component.js +338 -0
- package/esm5/components/data-list/data-list.module.js +31 -0
- package/esm5/components/data-list/data-list.service.js +20 -0
- package/esm5/components/data-list/entity-odata-response.js +40 -0
- package/esm5/components/data-list/index.js +2 -0
- package/esm5/components/data-list-rest/data-list-rest.component.js +264 -0
- package/esm5/components/data-list-rest/data-list-rest.module.js +31 -0
- package/esm5/components/data-list-rest/data-list-rest.service.js +20 -0
- package/esm5/components/data-list-rest/index.js +2 -0
- package/esm5/components/directives/directives.module.js +20 -0
- package/esm5/components/directives/index.js +4 -0
- package/esm5/components/directives/name-not-spaces.directive.js +32 -0
- package/esm5/components/directives/only-number.directive.js +42 -0
- package/esm5/components/employee-selector/employee-selector.component.js +75 -0
- package/esm5/components/employee-selector/employee-selector.module.js +21 -0
- package/esm5/components/employee-selector/index.js +3 -0
- package/esm5/components/employee-summary/employee-summary.component.js +111 -0
- package/esm5/components/employee-summary/employee-summary.module.js +20 -0
- package/esm5/components/employee-summary/employee-summary.service.js +34 -0
- package/esm5/components/employee-summary/index.js +4 -0
- package/esm5/components/error-page/error-page.component.js +17 -0
- package/esm5/components/error-page/error-page.module.js +19 -0
- package/esm5/components/error-page/index.js +3 -0
- package/esm5/components/field-validator/field-validator.component.js +42 -0
- package/esm5/components/field-validator/field-validator.module.js +21 -0
- package/esm5/components/field-validator/index.js +3 -0
- package/esm5/components/file-upload/file-upload.component.js +138 -0
- package/esm5/components/file-upload/file-upload.module.js +22 -0
- package/esm5/components/file-upload/file-upload.service.js +45 -0
- package/esm5/components/file-upload/index.js +3 -0
- package/esm5/components/from-to/from-to.component.js +18 -0
- package/esm5/components/from-to/from-to.module.js +22 -0
- package/esm5/components/from-to/index.js +3 -0
- package/esm5/components/historical-bank-account/historical-bank-account-form/historical-bank-account-form.component.js +353 -0
- package/esm5/components/historical-bank-account/historical-bank-account.component.js +363 -0
- package/esm5/components/historical-bank-account/historical-bank-account.module.js +59 -0
- package/esm5/components/historical-bank-account/historical-bank-account.service.js +22 -0
- package/esm5/components/historical-bank-account/index.js +4 -0
- package/esm5/components/historical-bank-account-list/historical-bank-account-list.component.js +243 -0
- package/esm5/components/historical-bank-account-list/historical-bank-account-list.module.js +42 -0
- package/esm5/components/historical-bank-account-list/historical-bank-account-list.service.js +37 -0
- package/esm5/components/historical-bank-account-list/index.js +4 -0
- package/esm5/components/image-cropper/image-crop.component.js +164 -0
- package/esm5/components/image-cropper/image-crop.module.js +41 -0
- package/esm5/components/image-cropper/image-crop.service.js +106 -0
- package/esm5/components/image-cropper/index.js +4 -0
- package/esm5/components/input-date/index.js +3 -0
- package/esm5/components/input-date/input-date.component.js +129 -0
- package/esm5/components/input-date/input-date.module.js +20 -0
- package/esm5/components/input-date-model/index.js +3 -0
- package/esm5/components/input-date-model/input-date-model.component.js +110 -0
- package/esm5/components/input-date-model/input-date-model.module.js +20 -0
- package/esm5/components/input-rest-auto-complete/index.js +4 -0
- package/esm5/components/input-rest-auto-complete/input-rest-auto-complete.component.js +317 -0
- package/esm5/components/input-rest-auto-complete/input-rest-auto-complete.module.js +24 -0
- package/esm5/components/input-rest-auto-complete/input-rest-auto-complete.service.js +22 -0
- package/esm5/components/input-rest-auto-complete-employee/index.js +3 -0
- package/esm5/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.component.js +192 -0
- package/esm5/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.service.js +21 -0
- package/esm5/components/input-rest-auto-complete-employee-model/index.js +3 -0
- package/esm5/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +185 -0
- package/esm5/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.service.js +21 -0
- package/esm5/components/input-rest-auto-complete-enum/index.js +4 -0
- package/esm5/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.component.js +162 -0
- package/esm5/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.service.js +24 -0
- package/esm5/components/input-rest-auto-complete-jobposition/index.js +4 -0
- package/esm5/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.component.js +176 -0
- package/esm5/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.service.js +21 -0
- package/esm5/components/input-rest-auto-complete-model/index.js +3 -0
- package/esm5/components/input-rest-auto-complete-model/input-rest-auto-complete-model.component.js +234 -0
- package/esm5/components/input-rest-auto-complete-model/input-rest-auto-complete-model.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-model/input-rest-auto-complete-model.service.js +22 -0
- package/esm5/components/input-rest-auto-complete-model-enum/index.js +3 -0
- package/esm5/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.component.js +130 -0
- package/esm5/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.module.js +31 -0
- package/esm5/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.service.js +24 -0
- package/esm5/components/list-rest/index.js +3 -0
- package/esm5/components/list-rest/list-rest.component.js +119 -0
- package/esm5/components/list-rest/list-rest.module.js +36 -0
- package/esm5/components/list-rest/list-rest.service.js +24 -0
- package/esm5/components/lookup/index.js +2 -0
- package/esm5/components/lookup/lookup.component.js +339 -0
- package/esm5/components/lookup/lookup.module.js +23 -0
- package/esm5/components/lookup/lookup.service.js +54 -0
- package/esm5/components/shared/http-client.service.js +179 -0
- package/esm5/components/shared/shared.module.js +22 -0
- package/esm5/components/spinner/index.js +3 -0
- package/esm5/components/spinner/spinner-loader.component.js +15 -0
- package/esm5/components/spinner/spinner-loader.module.js +26 -0
- package/esm5/components/toast/index.js +4 -0
- package/esm5/components/toast/toast.component.js +88 -0
- package/esm5/components/toast/toast.module.js +23 -0
- package/esm5/components/toast/toast.service.js +47 -0
- package/esm5/components/type-admission/index.js +3 -0
- package/esm5/components/type-admission/type-admission.module.js +17 -0
- package/esm5/components/type-admission/type-admission.services.js +75 -0
- package/esm5/components/utils/cnpj-validator.js +66 -0
- package/esm5/components/utils/cpf-validator.js +49 -0
- package/esm5/components/utils/date-validator/date-validators.js +149 -0
- package/esm5/components/utils/helpers.js +502 -0
- package/esm5/components/utils/validations.js +131 -0
- package/esm5/components/vanilla/string-methods.js +24 -0
- package/esm5/components/workstationgroup-lookup/autocomplete.service.js +124 -0
- package/esm5/components/workstationgroup-lookup/index.js +3 -0
- package/esm5/components/workstationgroup-lookup/lookup.service.js +147 -0
- package/esm5/components/workstationgroup-lookup/workstationgroup-lookup.component.js +609 -0
- package/esm5/components/workstationgroup-lookup/workstationgroup-lookup.dto.js +50 -0
- package/esm5/components/workstationgroup-lookup/workstationgroup-lookup.module.js +24 -0
- package/esm5/core/entities/entity-odata-parameter.js +47 -0
- package/esm5/core/entities/index.js +2 -0
- package/esm5/core/enums/companyIndicationType.js +18 -0
- package/esm5/core/enums/comparetype.enumeration.js +14 -0
- package/esm5/core/enums/coreFieldType.js +5 -0
- package/esm5/core/enums/direction.enumeration.js +6 -0
- package/esm5/core/enums/httpRequestType.js +6 -0
- package/esm5/core/enums/index.js +14 -0
- package/esm5/core/enums/menu-type.enumeration.js +6 -0
- package/esm5/core/enums/moduleType.js +22 -0
- package/esm5/core/enums/operators.enumeration.js +14 -0
- package/esm5/core/enums/parameter-type.enumeration.js +12 -0
- package/esm5/core/enums/report-format.enumeration.js +12 -0
- package/esm5/core/enums/report-stage.enumeration.js +12 -0
- package/esm5/core/enums/serviceType.js +9 -0
- package/esm5/core/enums/usingType.js +42 -0
- package/esm5/core/interfaces/date-compare-options.js +1 -0
- package/esm5/core/interfaces/date-validate-options.js +1 -0
- package/esm5/core/interfaces/field-validators-object.js +1 -0
- package/esm5/core/interfaces/index.js +1 -0
- package/esm5/core/interfaces/pagination-data.js +1 -0
- package/esm5/core/interfaces/report/domain-service.interface.js +1 -0
- package/esm5/core/interfaces/report/generation-status.interface.js +1 -0
- package/esm5/core/interfaces/report/get-parameters-out.interface.js +1 -0
- package/esm5/core/interfaces/report/index.js +1 -0
- package/esm5/core/interfaces/report/lookup-parameter.interface.js +1 -0
- package/esm5/core/interfaces/report/parameter-def.interface.js +1 -0
- package/esm5/core/interfaces/report/parameter-value.interface.js +1 -0
- package/esm5/core/interfaces/report/report-header.interface.js +1 -0
- package/esm5/core/interfaces/report/report-in.interface.js +1 -0
- package/esm5/core/interfaces/report/report-menu.interface.js +1 -0
- package/esm5/core/interfaces/report/report-out.interface.js +1 -0
- package/esm5/core/interfaces/report/report.interface.js +1 -0
- package/esm5/public_api.js +52 -58
- package/esm5/senior-gestao-pessoas-payroll-core.js +19 -24
- package/esm5/services/autocomplete-parameters.service.js +129 -0
- package/esm5/services/company-indications.service.js +43 -0
- package/esm5/services/form-comparator.service.js +119 -0
- package/esm5/services/integration.service.js +20 -0
- package/esm5/services/lookup-parameters.service.js +362 -0
- package/esm5/services/permissions.service.js +100 -0
- package/esm5/services/report.service.js +110 -0
- package/esm5/services/services.module.js +32 -0
- package/esm5/services/workflow-data.service.js +27 -0
- package/esm5/services/workflow-integrator.service.js +361 -0
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +2939 -8866
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +2999 -10876
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/package.json +7 -1
- package/public_api.d.ts +52 -52
- package/senior-gestao-pessoas-payroll-core.d.ts +17 -17
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
- package/esm2015/lib/components/admission-draft-summary/admission-draft-summary.component.js +0 -203
- package/esm2015/lib/components/admission-draft-summary/admission-draft-summary.module.js +0 -20
- package/esm2015/lib/components/admission-draft-summary/admission-draft-summary.service.js +0 -59
- package/esm2015/lib/components/admission-draft-summary/index.js +0 -9
- package/esm2015/lib/components/block-ui/block-ui.component.js +0 -26
- package/esm2015/lib/components/block-ui/block-ui.module.js +0 -28
- package/esm2015/lib/components/block-ui/index.js +0 -8
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +0 -151
- package/esm2015/lib/components/breadcrumb/breadcrumb.module.js +0 -28
- package/esm2015/lib/components/breadcrumb/index.js +0 -8
- package/esm2015/lib/components/control-messages-error/control-messages-error.component.js +0 -41
- package/esm2015/lib/components/control-messages-error/control-messages-error.module.js +0 -20
- package/esm2015/lib/components/control-messages-error/index.js +0 -8
- package/esm2015/lib/components/custom-fields/custom-fields.component.js +0 -65
- package/esm2015/lib/components/custom-fields/custom-fields.module.js +0 -34
- package/esm2015/lib/components/custom-fields/index.js +0 -8
- package/esm2015/lib/components/data-list/data-list.component.js +0 -456
- package/esm2015/lib/components/data-list/data-list.module.js +0 -31
- package/esm2015/lib/components/data-list/data-list.service.js +0 -38
- package/esm2015/lib/components/data-list/entity-odata-response.js +0 -72
- package/esm2015/lib/components/data-list/index.js +0 -7
- package/esm2015/lib/components/data-list-rest/data-list-rest.component.js +0 -354
- package/esm2015/lib/components/data-list-rest/data-list-rest.module.js +0 -31
- package/esm2015/lib/components/data-list-rest/data-list-rest.service.js +0 -38
- package/esm2015/lib/components/data-list-rest/index.js +0 -7
- package/esm2015/lib/components/directives/directives.module.js +0 -20
- package/esm2015/lib/components/directives/index.js +0 -9
- package/esm2015/lib/components/directives/name-not-spaces.directive.js +0 -59
- package/esm2015/lib/components/directives/only-number.directive.js +0 -60
- package/esm2015/lib/components/employee-selector/employee-selector.component.js +0 -145
- package/esm2015/lib/components/employee-selector/employee-selector.module.js +0 -21
- package/esm2015/lib/components/employee-selector/index.js +0 -8
- package/esm2015/lib/components/employee-summary/employee-summary.component.js +0 -200
- package/esm2015/lib/components/employee-summary/employee-summary.module.js +0 -20
- package/esm2015/lib/components/employee-summary/employee-summary.service.js +0 -74
- package/esm2015/lib/components/employee-summary/index.js +0 -9
- package/esm2015/lib/components/error-page/error-page.component.js +0 -23
- package/esm2015/lib/components/error-page/error-page.module.js +0 -19
- package/esm2015/lib/components/error-page/index.js +0 -8
- package/esm2015/lib/components/field-validator/field-validator.component.js +0 -64
- package/esm2015/lib/components/field-validator/field-validator.module.js +0 -21
- package/esm2015/lib/components/field-validator/index.js +0 -8
- package/esm2015/lib/components/file-upload/file-upload.component.js +0 -220
- package/esm2015/lib/components/file-upload/file-upload.module.js +0 -22
- package/esm2015/lib/components/file-upload/file-upload.service.js +0 -83
- package/esm2015/lib/components/file-upload/index.js +0 -8
- package/esm2015/lib/components/from-to/from-to.component.js +0 -25
- package/esm2015/lib/components/from-to/from-to.module.js +0 -22
- package/esm2015/lib/components/from-to/index.js +0 -8
- package/esm2015/lib/components/historical-bank-account/historical-bank-account-form/historical-bank-account-form.component.js +0 -514
- package/esm2015/lib/components/historical-bank-account/historical-bank-account.component.js +0 -542
- package/esm2015/lib/components/historical-bank-account/historical-bank-account.module.js +0 -59
- package/esm2015/lib/components/historical-bank-account/historical-bank-account.service.js +0 -40
- package/esm2015/lib/components/historical-bank-account/index.js +0 -9
- package/esm2015/lib/components/historical-bank-account-list/historical-bank-account-list.component.js +0 -359
- package/esm2015/lib/components/historical-bank-account-list/historical-bank-account-list.module.js +0 -42
- package/esm2015/lib/components/historical-bank-account-list/historical-bank-account-list.service.js +0 -62
- package/esm2015/lib/components/historical-bank-account-list/index.js +0 -9
- package/esm2015/lib/components/image-cropper/image-crop.component.js +0 -248
- package/esm2015/lib/components/image-cropper/image-crop.module.js +0 -38
- package/esm2015/lib/components/image-cropper/image-crop.service.js +0 -164
- package/esm2015/lib/components/image-cropper/index.js +0 -9
- package/esm2015/lib/components/input-date/index.js +0 -8
- package/esm2015/lib/components/input-date/input-date.component.js +0 -189
- package/esm2015/lib/components/input-date/input-date.module.js +0 -20
- package/esm2015/lib/components/input-date-model/index.js +0 -8
- package/esm2015/lib/components/input-date-model/input-date-model.component.js +0 -169
- package/esm2015/lib/components/input-date-model/input-date-model.module.js +0 -20
- package/esm2015/lib/components/input-rest-auto-complete/index.js +0 -9
- package/esm2015/lib/components/input-rest-auto-complete/input-rest-auto-complete.component.js +0 -444
- package/esm2015/lib/components/input-rest-auto-complete/input-rest-auto-complete.module.js +0 -24
- package/esm2015/lib/components/input-rest-auto-complete/input-rest-auto-complete.service.js +0 -40
- package/esm2015/lib/components/input-rest-auto-complete-employee/index.js +0 -8
- package/esm2015/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.component.js +0 -263
- package/esm2015/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.service.js +0 -40
- package/esm2015/lib/components/input-rest-auto-complete-employee-model/index.js +0 -8
- package/esm2015/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +0 -253
- package/esm2015/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.service.js +0 -40
- package/esm2015/lib/components/input-rest-auto-complete-enum/index.js +0 -9
- package/esm2015/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.component.js +0 -209
- package/esm2015/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.service.js +0 -44
- package/esm2015/lib/components/input-rest-auto-complete-jobposition/index.js +0 -9
- package/esm2015/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.component.js +0 -254
- package/esm2015/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.service.js +0 -40
- package/esm2015/lib/components/input-rest-auto-complete-model/index.js +0 -8
- package/esm2015/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.component.js +0 -331
- package/esm2015/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.service.js +0 -40
- package/esm2015/lib/components/input-rest-auto-complete-model-enum/index.js +0 -8
- package/esm2015/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.component.js +0 -176
- package/esm2015/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.module.js +0 -31
- package/esm2015/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.service.js +0 -44
- package/esm2015/lib/components/list-rest/index.js +0 -8
- package/esm2015/lib/components/list-rest/list-rest.component.js +0 -192
- package/esm2015/lib/components/list-rest/list-rest.module.js +0 -36
- package/esm2015/lib/components/list-rest/list-rest.service.js +0 -48
- package/esm2015/lib/components/lookup/index.js +0 -7
- package/esm2015/lib/components/lookup/lookup.component.js +0 -471
- package/esm2015/lib/components/lookup/lookup.module.js +0 -23
- package/esm2015/lib/components/lookup/lookup.service.js +0 -91
- package/esm2015/lib/components/shared/http-client.service.js +0 -293
- package/esm2015/lib/components/shared/shared.module.js +0 -26
- package/esm2015/lib/components/spinner/index.js +0 -8
- package/esm2015/lib/components/spinner/spinner-loader.component.js +0 -15
- package/esm2015/lib/components/spinner/spinner-loader.module.js +0 -26
- package/esm2015/lib/components/toast/index.js +0 -9
- package/esm2015/lib/components/toast/toast.component.js +0 -156
- package/esm2015/lib/components/toast/toast.module.js +0 -23
- package/esm2015/lib/components/toast/toast.service.js +0 -76
- package/esm2015/lib/components/type-admission/index.js +0 -8
- package/esm2015/lib/components/type-admission/type-admission.module.js +0 -17
- package/esm2015/lib/components/type-admission/type-admission.services.js +0 -135
- package/esm2015/lib/components/utils/cnpj-validator.js +0 -82
- package/esm2015/lib/components/utils/cpf-validator.js +0 -76
- package/esm2015/lib/components/utils/date-validator/date-validators.js +0 -184
- package/esm2015/lib/components/utils/helpers.js +0 -737
- package/esm2015/lib/components/utils/validations.js +0 -237
- package/esm2015/lib/components/vanilla/string-methods.js +0 -37
- package/esm2015/lib/components/workstationgroup-lookup/autocomplete.service.js +0 -175
- package/esm2015/lib/components/workstationgroup-lookup/index.js +0 -8
- package/esm2015/lib/components/workstationgroup-lookup/lookup.service.js +0 -254
- package/esm2015/lib/components/workstationgroup-lookup/workstationgroup-lookup.component.js +0 -832
- package/esm2015/lib/components/workstationgroup-lookup/workstationgroup-lookup.dto.js +0 -193
- package/esm2015/lib/components/workstationgroup-lookup/workstationgroup-lookup.module.js +0 -24
- package/esm2015/lib/core/entities/entity-odata-parameter.js +0 -82
- package/esm2015/lib/core/entities/index.js +0 -7
- package/esm2015/lib/core/enums/companyIndicationType.js +0 -24
- package/esm2015/lib/core/enums/comparetype.enumeration.js +0 -16
- package/esm2015/lib/core/enums/coreFieldType.js +0 -11
- package/esm2015/lib/core/enums/direction.enumeration.js +0 -12
- package/esm2015/lib/core/enums/httpRequestType.js +0 -12
- package/esm2015/lib/core/enums/index.js +0 -19
- package/esm2015/lib/core/enums/menu-type.enumeration.js +0 -12
- package/esm2015/lib/core/enums/moduleType.js +0 -28
- package/esm2015/lib/core/enums/operators.enumeration.js +0 -20
- package/esm2015/lib/core/enums/parameter-type.enumeration.js +0 -18
- package/esm2015/lib/core/enums/report-format.enumeration.js +0 -18
- package/esm2015/lib/core/enums/report-stage.enumeration.js +0 -18
- package/esm2015/lib/core/enums/serviceType.js +0 -15
- package/esm2015/lib/core/enums/usingType.js +0 -48
- package/esm2015/lib/core/interfaces/date-compare-options.js +0 -19
- package/esm2015/lib/core/interfaces/date-validate-options.js +0 -17
- package/esm2015/lib/core/interfaces/field-validators-object.js +0 -20
- package/esm2015/lib/core/interfaces/index.js +0 -10
- package/esm2015/lib/core/interfaces/pagination-data.js +0 -18
- package/esm2015/lib/core/interfaces/report/domain-service.interface.js +0 -16
- package/esm2015/lib/core/interfaces/report/generation-status.interface.js +0 -22
- package/esm2015/lib/core/interfaces/report/get-parameters-out.interface.js +0 -16
- package/esm2015/lib/core/interfaces/report/index.js +0 -15
- package/esm2015/lib/core/interfaces/report/lookup-parameter.interface.js +0 -20
- package/esm2015/lib/core/interfaces/report/parameter-def.interface.js +0 -20
- package/esm2015/lib/core/interfaces/report/parameter-value.interface.js +0 -16
- package/esm2015/lib/core/interfaces/report/report-header.interface.js +0 -16
- package/esm2015/lib/core/interfaces/report/report-in.interface.js +0 -20
- package/esm2015/lib/core/interfaces/report/report-menu.interface.js +0 -18
- package/esm2015/lib/core/interfaces/report/report-out.interface.js +0 -14
- package/esm2015/lib/core/interfaces/report/report.interface.js +0 -48
- package/esm2015/lib/services/autocomplete-parameters.service.js +0 -180
- package/esm2015/lib/services/company-indications.service.js +0 -101
- package/esm2015/lib/services/form-comparator.service.js +0 -208
- package/esm2015/lib/services/integration.service.js +0 -37
- package/esm2015/lib/services/lookup-parameters.service.js +0 -557
- package/esm2015/lib/services/permissions.service.js +0 -218
- package/esm2015/lib/services/report.service.js +0 -161
- package/esm2015/lib/services/services.module.js +0 -32
- package/esm2015/lib/services/workflow-data.service.js +0 -57
- package/esm2015/lib/services/workflow-integrator.service.js +0 -416
- package/esm5/lib/components/admission-draft-summary/admission-draft-summary.component.js +0 -214
- package/esm5/lib/components/admission-draft-summary/admission-draft-summary.module.js +0 -24
- package/esm5/lib/components/admission-draft-summary/admission-draft-summary.service.js +0 -71
- package/esm5/lib/components/admission-draft-summary/index.js +0 -9
- package/esm5/lib/components/block-ui/block-ui.component.js +0 -30
- package/esm5/lib/components/block-ui/block-ui.module.js +0 -32
- package/esm5/lib/components/block-ui/index.js +0 -8
- package/esm5/lib/components/breadcrumb/breadcrumb.component.js +0 -170
- package/esm5/lib/components/breadcrumb/breadcrumb.module.js +0 -32
- package/esm5/lib/components/breadcrumb/index.js +0 -8
- package/esm5/lib/components/control-messages-error/control-messages-error.component.js +0 -48
- package/esm5/lib/components/control-messages-error/control-messages-error.module.js +0 -24
- package/esm5/lib/components/control-messages-error/index.js +0 -8
- package/esm5/lib/components/custom-fields/custom-fields.component.js +0 -70
- package/esm5/lib/components/custom-fields/custom-fields.module.js +0 -38
- package/esm5/lib/components/custom-fields/index.js +0 -8
- package/esm5/lib/components/data-list/data-list.component.js +0 -557
- package/esm5/lib/components/data-list/data-list.module.js +0 -35
- package/esm5/lib/components/data-list/data-list.service.js +0 -42
- package/esm5/lib/components/data-list/entity-odata-response.js +0 -83
- package/esm5/lib/components/data-list/index.js +0 -7
- package/esm5/lib/components/data-list-rest/data-list-rest.component.js +0 -414
- package/esm5/lib/components/data-list-rest/data-list-rest.module.js +0 -35
- package/esm5/lib/components/data-list-rest/data-list-rest.service.js +0 -42
- package/esm5/lib/components/data-list-rest/index.js +0 -7
- package/esm5/lib/components/directives/directives.module.js +0 -24
- package/esm5/lib/components/directives/index.js +0 -9
- package/esm5/lib/components/directives/name-not-spaces.directive.js +0 -66
- package/esm5/lib/components/directives/only-number.directive.js +0 -63
- package/esm5/lib/components/employee-selector/employee-selector.component.js +0 -168
- package/esm5/lib/components/employee-selector/employee-selector.module.js +0 -25
- package/esm5/lib/components/employee-selector/index.js +0 -8
- package/esm5/lib/components/employee-summary/employee-summary.component.js +0 -212
- package/esm5/lib/components/employee-summary/employee-summary.module.js +0 -24
- package/esm5/lib/components/employee-summary/employee-summary.service.js +0 -95
- package/esm5/lib/components/employee-summary/index.js +0 -9
- package/esm5/lib/components/error-page/error-page.component.js +0 -29
- package/esm5/lib/components/error-page/error-page.module.js +0 -23
- package/esm5/lib/components/error-page/index.js +0 -8
- package/esm5/lib/components/field-validator/field-validator.component.js +0 -74
- package/esm5/lib/components/field-validator/field-validator.module.js +0 -25
- package/esm5/lib/components/field-validator/index.js +0 -8
- package/esm5/lib/components/file-upload/file-upload.component.js +0 -261
- package/esm5/lib/components/file-upload/file-upload.module.js +0 -26
- package/esm5/lib/components/file-upload/file-upload.service.js +0 -99
- package/esm5/lib/components/file-upload/index.js +0 -8
- package/esm5/lib/components/from-to/from-to.component.js +0 -28
- package/esm5/lib/components/from-to/from-to.module.js +0 -26
- package/esm5/lib/components/from-to/index.js +0 -8
- package/esm5/lib/components/historical-bank-account/historical-bank-account-form/historical-bank-account-form.component.js +0 -657
- package/esm5/lib/components/historical-bank-account/historical-bank-account.component.js +0 -624
- package/esm5/lib/components/historical-bank-account/historical-bank-account.module.js +0 -63
- package/esm5/lib/components/historical-bank-account/historical-bank-account.service.js +0 -46
- package/esm5/lib/components/historical-bank-account/index.js +0 -9
- package/esm5/lib/components/historical-bank-account-list/historical-bank-account-list.component.js +0 -402
- package/esm5/lib/components/historical-bank-account-list/historical-bank-account-list.module.js +0 -46
- package/esm5/lib/components/historical-bank-account-list/historical-bank-account-list.service.js +0 -68
- package/esm5/lib/components/historical-bank-account-list/index.js +0 -9
- package/esm5/lib/components/image-cropper/image-crop.component.js +0 -287
- package/esm5/lib/components/image-cropper/image-crop.module.js +0 -39
- package/esm5/lib/components/image-cropper/image-crop.service.js +0 -221
- package/esm5/lib/components/image-cropper/index.js +0 -9
- package/esm5/lib/components/input-date/index.js +0 -8
- package/esm5/lib/components/input-date/input-date.component.js +0 -218
- package/esm5/lib/components/input-date/input-date.module.js +0 -24
- package/esm5/lib/components/input-date-model/index.js +0 -8
- package/esm5/lib/components/input-date-model/input-date-model.component.js +0 -190
- package/esm5/lib/components/input-date-model/input-date-model.module.js +0 -24
- package/esm5/lib/components/input-rest-auto-complete/index.js +0 -9
- package/esm5/lib/components/input-rest-auto-complete/input-rest-auto-complete.component.js +0 -497
- package/esm5/lib/components/input-rest-auto-complete/input-rest-auto-complete.module.js +0 -28
- package/esm5/lib/components/input-rest-auto-complete/input-rest-auto-complete.service.js +0 -46
- package/esm5/lib/components/input-rest-auto-complete-employee/index.js +0 -8
- package/esm5/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.component.js +0 -300
- package/esm5/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-employee/input-rest-auto-complete-employee.service.js +0 -44
- package/esm5/lib/components/input-rest-auto-complete-employee-model/index.js +0 -8
- package/esm5/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.js +0 -291
- package/esm5/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.service.js +0 -44
- package/esm5/lib/components/input-rest-auto-complete-enum/index.js +0 -9
- package/esm5/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.component.js +0 -252
- package/esm5/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-enum/input-rest-auto-complete-enum.service.js +0 -48
- package/esm5/lib/components/input-rest-auto-complete-jobposition/index.js +0 -9
- package/esm5/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.component.js +0 -302
- package/esm5/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.service.js +0 -44
- package/esm5/lib/components/input-rest-auto-complete-model/index.js +0 -8
- package/esm5/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.component.js +0 -379
- package/esm5/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-model/input-rest-auto-complete-model.service.js +0 -46
- package/esm5/lib/components/input-rest-auto-complete-model-enum/index.js +0 -8
- package/esm5/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.component.js +0 -206
- package/esm5/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.module.js +0 -35
- package/esm5/lib/components/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.service.js +0 -48
- package/esm5/lib/components/list-rest/index.js +0 -8
- package/esm5/lib/components/list-rest/list-rest.component.js +0 -219
- package/esm5/lib/components/list-rest/list-rest.module.js +0 -40
- package/esm5/lib/components/list-rest/list-rest.service.js +0 -57
- package/esm5/lib/components/lookup/index.js +0 -7
- package/esm5/lib/components/lookup/lookup.component.js +0 -600
- package/esm5/lib/components/lookup/lookup.module.js +0 -27
- package/esm5/lib/components/lookup/lookup.service.js +0 -94
- package/esm5/lib/components/shared/http-client.service.js +0 -355
- package/esm5/lib/components/shared/shared.module.js +0 -28
- package/esm5/lib/components/spinner/index.js +0 -8
- package/esm5/lib/components/spinner/spinner-loader.component.js +0 -19
- package/esm5/lib/components/spinner/spinner-loader.module.js +0 -30
- package/esm5/lib/components/toast/index.js +0 -9
- package/esm5/lib/components/toast/toast.component.js +0 -173
- package/esm5/lib/components/toast/toast.module.js +0 -27
- package/esm5/lib/components/toast/toast.service.js +0 -123
- package/esm5/lib/components/type-admission/index.js +0 -8
- package/esm5/lib/components/type-admission/type-admission.module.js +0 -21
- package/esm5/lib/components/type-admission/type-admission.services.js +0 -191
- package/esm5/lib/components/utils/cnpj-validator.js +0 -94
- package/esm5/lib/components/utils/cpf-validator.js +0 -98
- package/esm5/lib/components/utils/date-validator/date-validators.js +0 -289
- package/esm5/lib/components/utils/helpers.js +0 -763
- package/esm5/lib/components/utils/validations.js +0 -241
- package/esm5/lib/components/vanilla/string-methods.js +0 -42
- package/esm5/lib/components/workstationgroup-lookup/autocomplete.service.js +0 -250
- package/esm5/lib/components/workstationgroup-lookup/index.js +0 -8
- package/esm5/lib/components/workstationgroup-lookup/lookup.service.js +0 -318
- package/esm5/lib/components/workstationgroup-lookup/workstationgroup-lookup.component.js +0 -908
- package/esm5/lib/components/workstationgroup-lookup/workstationgroup-lookup.dto.js +0 -200
- package/esm5/lib/components/workstationgroup-lookup/workstationgroup-lookup.module.js +0 -28
- package/esm5/lib/core/entities/entity-odata-parameter.js +0 -96
- package/esm5/lib/core/entities/index.js +0 -7
- package/esm5/lib/core/enums/companyIndicationType.js +0 -24
- package/esm5/lib/core/enums/comparetype.enumeration.js +0 -16
- package/esm5/lib/core/enums/coreFieldType.js +0 -11
- package/esm5/lib/core/enums/direction.enumeration.js +0 -12
- package/esm5/lib/core/enums/httpRequestType.js +0 -12
- package/esm5/lib/core/enums/index.js +0 -19
- package/esm5/lib/core/enums/menu-type.enumeration.js +0 -12
- package/esm5/lib/core/enums/moduleType.js +0 -28
- package/esm5/lib/core/enums/operators.enumeration.js +0 -20
- package/esm5/lib/core/enums/parameter-type.enumeration.js +0 -18
- package/esm5/lib/core/enums/report-format.enumeration.js +0 -18
- package/esm5/lib/core/enums/report-stage.enumeration.js +0 -18
- package/esm5/lib/core/enums/serviceType.js +0 -15
- package/esm5/lib/core/enums/usingType.js +0 -48
- package/esm5/lib/core/interfaces/date-compare-options.js +0 -19
- package/esm5/lib/core/interfaces/date-validate-options.js +0 -17
- package/esm5/lib/core/interfaces/field-validators-object.js +0 -20
- package/esm5/lib/core/interfaces/index.js +0 -10
- package/esm5/lib/core/interfaces/pagination-data.js +0 -18
- package/esm5/lib/core/interfaces/report/domain-service.interface.js +0 -16
- package/esm5/lib/core/interfaces/report/generation-status.interface.js +0 -22
- package/esm5/lib/core/interfaces/report/get-parameters-out.interface.js +0 -16
- package/esm5/lib/core/interfaces/report/index.js +0 -15
- package/esm5/lib/core/interfaces/report/lookup-parameter.interface.js +0 -20
- package/esm5/lib/core/interfaces/report/parameter-def.interface.js +0 -20
- package/esm5/lib/core/interfaces/report/parameter-value.interface.js +0 -16
- package/esm5/lib/core/interfaces/report/report-header.interface.js +0 -16
- package/esm5/lib/core/interfaces/report/report-in.interface.js +0 -20
- package/esm5/lib/core/interfaces/report/report-menu.interface.js +0 -18
- package/esm5/lib/core/interfaces/report/report-out.interface.js +0 -14
- package/esm5/lib/core/interfaces/report/report.interface.js +0 -48
- package/esm5/lib/services/autocomplete-parameters.service.js +0 -255
- package/esm5/lib/services/company-indications.service.js +0 -126
- package/esm5/lib/services/form-comparator.service.js +0 -278
- package/esm5/lib/services/integration.service.js +0 -40
- package/esm5/lib/services/lookup-parameters.service.js +0 -748
- package/esm5/lib/services/permissions.service.js +0 -253
- package/esm5/lib/services/report.service.js +0 -231
- package/esm5/lib/services/services.module.js +0 -36
- package/esm5/lib/services/workflow-data.service.js +0 -73
- package/esm5/lib/services/workflow-integrator.service.js +0 -715
- package/lib/components/workstationgroup-lookup/autocomplete.service.d.ts +0 -31
- /package/{lib/components → components}/admission-draft-summary/admission-draft-summary.component.d.ts +0 -0
- /package/{lib/components → components}/admission-draft-summary/admission-draft-summary.module.d.ts +0 -0
- /package/{lib/components → components}/admission-draft-summary/admission-draft-summary.service.d.ts +0 -0
- /package/{lib/components → components}/admission-draft-summary/index.d.ts +0 -0
- /package/{lib/components → components}/block-ui/block-ui.component.d.ts +0 -0
- /package/{lib/components → components}/block-ui/block-ui.module.d.ts +0 -0
- /package/{lib/components → components}/block-ui/index.d.ts +0 -0
- /package/{lib/components → components}/breadcrumb/breadcrumb.component.d.ts +0 -0
- /package/{lib/components → components}/breadcrumb/breadcrumb.module.d.ts +0 -0
- /package/{lib/components → components}/breadcrumb/index.d.ts +0 -0
- /package/{lib/components → components}/control-messages-error/control-messages-error.component.d.ts +0 -0
- /package/{lib/components → components}/control-messages-error/control-messages-error.module.d.ts +0 -0
- /package/{lib/components → components}/control-messages-error/index.d.ts +0 -0
- /package/{lib/components → components}/custom-fields/custom-fields.component.d.ts +0 -0
- /package/{lib/components → components}/custom-fields/custom-fields.module.d.ts +0 -0
- /package/{lib/components → components}/custom-fields/index.d.ts +0 -0
- /package/{lib/components → components}/data-list/data-list.component.d.ts +0 -0
- /package/{lib/components → components}/data-list/data-list.module.d.ts +0 -0
- /package/{lib/components → components}/data-list/data-list.service.d.ts +0 -0
- /package/{lib/components → components}/data-list/entity-odata-response.d.ts +0 -0
- /package/{lib/components → components}/data-list/index.d.ts +0 -0
- /package/{lib/components → components}/data-list-rest/data-list-rest.component.d.ts +0 -0
- /package/{lib/components → components}/data-list-rest/data-list-rest.module.d.ts +0 -0
- /package/{lib/components → components}/data-list-rest/data-list-rest.service.d.ts +0 -0
- /package/{lib/components → components}/data-list-rest/index.d.ts +0 -0
- /package/{lib/components → components}/directives/directives.module.d.ts +0 -0
- /package/{lib/components → components}/directives/index.d.ts +0 -0
- /package/{lib/components → components}/directives/name-not-spaces.directive.d.ts +0 -0
- /package/{lib/components → components}/directives/only-number.directive.d.ts +0 -0
- /package/{lib/components → components}/employee-selector/employee-selector.component.d.ts +0 -0
- /package/{lib/components → components}/employee-selector/employee-selector.module.d.ts +0 -0
- /package/{lib/components → components}/employee-selector/index.d.ts +0 -0
- /package/{lib/components → components}/employee-summary/employee-summary.component.d.ts +0 -0
- /package/{lib/components → components}/employee-summary/employee-summary.module.d.ts +0 -0
- /package/{lib/components → components}/employee-summary/employee-summary.service.d.ts +0 -0
- /package/{lib/components → components}/employee-summary/index.d.ts +0 -0
- /package/{lib/components → components}/error-page/error-page.component.d.ts +0 -0
- /package/{lib/components → components}/error-page/error-page.module.d.ts +0 -0
- /package/{lib/components → components}/error-page/index.d.ts +0 -0
- /package/{lib/components → components}/field-validator/field-validator.component.d.ts +0 -0
- /package/{lib/components → components}/field-validator/field-validator.module.d.ts +0 -0
- /package/{lib/components → components}/field-validator/index.d.ts +0 -0
- /package/{lib/components → components}/file-upload/file-upload.component.d.ts +0 -0
- /package/{lib/components → components}/file-upload/file-upload.module.d.ts +0 -0
- /package/{lib/components → components}/file-upload/file-upload.service.d.ts +0 -0
- /package/{lib/components → components}/file-upload/index.d.ts +0 -0
- /package/{lib/components → components}/from-to/from-to.component.d.ts +0 -0
- /package/{lib/components → components}/from-to/from-to.module.d.ts +0 -0
- /package/{lib/components → components}/from-to/index.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account/historical-bank-account-form/historical-bank-account-form.component.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account/historical-bank-account.component.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account/historical-bank-account.module.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account/historical-bank-account.service.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account/index.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account-list/historical-bank-account-list.component.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account-list/historical-bank-account-list.module.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account-list/historical-bank-account-list.service.d.ts +0 -0
- /package/{lib/components → components}/historical-bank-account-list/index.d.ts +0 -0
- /package/{lib/components → components}/image-cropper/image-crop.component.d.ts +0 -0
- /package/{lib/components → components}/image-cropper/image-crop.module.d.ts +0 -0
- /package/{lib/components → components}/image-cropper/image-crop.service.d.ts +0 -0
- /package/{lib/components → components}/image-cropper/index.d.ts +0 -0
- /package/{lib/components → components}/input-date/index.d.ts +0 -0
- /package/{lib/components → components}/input-date/input-date.component.d.ts +0 -0
- /package/{lib/components → components}/input-date/input-date.module.d.ts +0 -0
- /package/{lib/components → components}/input-date-model/index.d.ts +0 -0
- /package/{lib/components → components}/input-date-model/input-date-model.component.d.ts +0 -0
- /package/{lib/components → components}/input-date-model/input-date-model.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete/input-rest-auto-complete.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete/input-rest-auto-complete.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete/input-rest-auto-complete.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee/input-rest-auto-complete-employee.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee/input-rest-auto-complete-employee.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee/input-rest-auto-complete-employee.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee-model/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-employee-model/input-rest-auto-complete-employee-model.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-enum/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-enum/input-rest-auto-complete-enum.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-enum/input-rest-auto-complete-enum.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-enum/input-rest-auto-complete-enum.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-jobposition/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-jobposition/input-rest-auto-complete-jobposition.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model/input-rest-auto-complete-model.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model/input-rest-auto-complete-model.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model/input-rest-auto-complete-model.service.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model-enum/index.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.component.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.module.d.ts +0 -0
- /package/{lib/components → components}/input-rest-auto-complete-model-enum/input-rest-auto-complete-model-enum.service.d.ts +0 -0
- /package/{lib/components → components}/list-rest/index.d.ts +0 -0
- /package/{lib/components → components}/list-rest/list-rest.component.d.ts +0 -0
- /package/{lib/components → components}/list-rest/list-rest.module.d.ts +0 -0
- /package/{lib/components → components}/list-rest/list-rest.service.d.ts +0 -0
- /package/{lib/components → components}/lookup/index.d.ts +0 -0
- /package/{lib/components → components}/lookup/lookup.component.d.ts +0 -0
- /package/{lib/components → components}/lookup/lookup.module.d.ts +0 -0
- /package/{lib/components → components}/lookup/lookup.service.d.ts +0 -0
- /package/{lib/components → components}/shared/http-client.service.d.ts +0 -0
- /package/{lib/components → components}/shared/shared.module.d.ts +0 -0
- /package/{lib/components → components}/spinner/index.d.ts +0 -0
- /package/{lib/components → components}/spinner/spinner-loader.component.d.ts +0 -0
- /package/{lib/components → components}/spinner/spinner-loader.module.d.ts +0 -0
- /package/{lib/components → components}/toast/index.d.ts +0 -0
- /package/{lib/components → components}/toast/toast.component.d.ts +0 -0
- /package/{lib/components → components}/toast/toast.module.d.ts +0 -0
- /package/{lib/components → components}/toast/toast.service.d.ts +0 -0
- /package/{lib/components → components}/type-admission/index.d.ts +0 -0
- /package/{lib/components → components}/type-admission/type-admission.module.d.ts +0 -0
- /package/{lib/components → components}/type-admission/type-admission.services.d.ts +0 -0
- /package/{lib/components → components}/utils/cnpj-validator.d.ts +0 -0
- /package/{lib/components → components}/utils/cpf-validator.d.ts +0 -0
- /package/{lib/components → components}/utils/date-validator/date-validators.d.ts +0 -0
- /package/{lib/components → components}/utils/helpers.d.ts +0 -0
- /package/{lib/components → components}/utils/validations.d.ts +0 -0
- /package/{lib/components → components}/vanilla/string-methods.d.ts +0 -0
- /package/{lib/components → components}/workstationgroup-lookup/index.d.ts +0 -0
- /package/{lib/components → components}/workstationgroup-lookup/lookup.service.d.ts +0 -0
- /package/{lib/components → components}/workstationgroup-lookup/workstationgroup-lookup.component.d.ts +0 -0
- /package/{lib/components → components}/workstationgroup-lookup/workstationgroup-lookup.dto.d.ts +0 -0
- /package/{lib/components → components}/workstationgroup-lookup/workstationgroup-lookup.module.d.ts +0 -0
- /package/{lib/core → core}/entities/entity-odata-parameter.d.ts +0 -0
- /package/{lib/core → core}/entities/index.d.ts +0 -0
- /package/{lib/core → core}/enums/companyIndicationType.d.ts +0 -0
- /package/{lib/core → core}/enums/comparetype.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/coreFieldType.d.ts +0 -0
- /package/{lib/core → core}/enums/direction.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/httpRequestType.d.ts +0 -0
- /package/{lib/core → core}/enums/index.d.ts +0 -0
- /package/{lib/core → core}/enums/menu-type.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/moduleType.d.ts +0 -0
- /package/{lib/core → core}/enums/operators.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/parameter-type.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/report-format.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/report-stage.enumeration.d.ts +0 -0
- /package/{lib/core → core}/enums/serviceType.d.ts +0 -0
- /package/{lib/core → core}/enums/usingType.d.ts +0 -0
- /package/{lib/core → core}/interfaces/date-compare-options.d.ts +0 -0
- /package/{lib/core → core}/interfaces/date-validate-options.d.ts +0 -0
- /package/{lib/core → core}/interfaces/field-validators-object.d.ts +0 -0
- /package/{lib/core → core}/interfaces/index.d.ts +0 -0
- /package/{lib/core → core}/interfaces/pagination-data.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/domain-service.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/generation-status.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/get-parameters-out.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/index.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/lookup-parameter.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/parameter-def.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/parameter-value.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/report-header.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/report-in.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/report-menu.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/report-out.interface.d.ts +0 -0
- /package/{lib/core → core}/interfaces/report/report.interface.d.ts +0 -0
- /package/{lib/services → services}/autocomplete-parameters.service.d.ts +0 -0
- /package/{lib/services → services}/company-indications.service.d.ts +0 -0
- /package/{lib/services → services}/form-comparator.service.d.ts +0 -0
- /package/{lib/services → services}/integration.service.d.ts +0 -0
- /package/{lib/services → services}/lookup-parameters.service.d.ts +0 -0
- /package/{lib/services → services}/permissions.service.d.ts +0 -0
- /package/{lib/services → services}/report.service.d.ts +0 -0
- /package/{lib/services → services}/services.module.d.ts +0 -0
- /package/{lib/services → services}/workflow-data.service.d.ts +0 -0
- /package/{lib/services → services}/workflow-integrator.service.d.ts +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/components/lookup/index.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
export { LookupModule } from './lookup.module';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWdlc3Rhby1wZXNzb2FzL3BheXJvbGwtY29yZS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvb2t1cC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sb29rdXAubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,600 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/components/lookup/lookup.component.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
import * as tslib_1 from "tslib";
|
|
7
|
-
import { HttpParams } from '@angular/common/http';
|
|
8
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
9
|
-
import { FormGroup } from '@angular/forms';
|
|
10
|
-
import { FieldType } from '@seniorsistemas/angular-components';
|
|
11
|
-
import * as moment_ from 'moment';
|
|
12
|
-
import { Subject } from 'rxjs';
|
|
13
|
-
import { map, takeUntil } from 'rxjs/operators';
|
|
14
|
-
import { LookupService } from './lookup.service';
|
|
15
|
-
/** @type {?} */
|
|
16
|
-
var moment = moment_;
|
|
17
|
-
var LookupComponent = /** @class */ (function () {
|
|
18
|
-
function LookupComponent(lookupService) {
|
|
19
|
-
this.lookupService = lookupService;
|
|
20
|
-
this.searchTotalRecordsLabel = 'hcm.payroll.lookup_search_total_records_label';
|
|
21
|
-
this.filterLabel = 'hcm.payroll.lookup_generic_filter_label';
|
|
22
|
-
this.clearLabel = 'hcm.payroll.lookup_generic_clean_filter_label';
|
|
23
|
-
this.cancelLabel = 'hcm.payroll.lookup_generic_btn_cancel_label';
|
|
24
|
-
this.selectLabel = 'hcm.payroll.lookup_btn_select_label';
|
|
25
|
-
this.lookupEmptyMessage = 'hcm.payroll.lookup_auto_complete_empty_message';
|
|
26
|
-
this.lookupSuggestions = [];
|
|
27
|
-
this.searchGridFields = [];
|
|
28
|
-
this.searchLookupFields = [];
|
|
29
|
-
this.searchGridData = [];
|
|
30
|
-
this.searchFields = [];
|
|
31
|
-
this.parameters = [];
|
|
32
|
-
this.onSelect = new EventEmitter();
|
|
33
|
-
this.onClear = new EventEmitter();
|
|
34
|
-
this.modelChange = new EventEmitter();
|
|
35
|
-
this._httpParams = new HttpParams();
|
|
36
|
-
this.ngUnsubscribe = new Subject();
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @return {?}
|
|
40
|
-
*/
|
|
41
|
-
LookupComponent.prototype.ngOnInit = /**
|
|
42
|
-
* @return {?}
|
|
43
|
-
*/
|
|
44
|
-
function () { };
|
|
45
|
-
/**
|
|
46
|
-
* @return {?}
|
|
47
|
-
*/
|
|
48
|
-
LookupComponent.prototype.ngOnDestroy = /**
|
|
49
|
-
* @return {?}
|
|
50
|
-
*/
|
|
51
|
-
function () {
|
|
52
|
-
this.ngUnsubscribe.next();
|
|
53
|
-
this.ngUnsubscribe.complete();
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @param {?} event
|
|
57
|
-
* @return {?}
|
|
58
|
-
*/
|
|
59
|
-
LookupComponent.prototype.lookupRequest = /**
|
|
60
|
-
* @param {?} event
|
|
61
|
-
* @return {?}
|
|
62
|
-
*/
|
|
63
|
-
function (event) {
|
|
64
|
-
var _this = this;
|
|
65
|
-
this.generateLookupParameters(event);
|
|
66
|
-
this.configHttpParamsPagination('10', '0');
|
|
67
|
-
this.getDataLookup(this.endpoint, this.httpParams)
|
|
68
|
-
.pipe(takeUntil(this.ngUnsubscribe))
|
|
69
|
-
.subscribe((/**
|
|
70
|
-
* @param {?} data
|
|
71
|
-
* @return {?}
|
|
72
|
-
*/
|
|
73
|
-
function (data) { return (_this.lookupSuggestions = data && tslib_1.__spread(data.contents)); }));
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* @param {?} event
|
|
77
|
-
* @return {?}
|
|
78
|
-
*/
|
|
79
|
-
LookupComponent.prototype.searchRequest = /**
|
|
80
|
-
* @param {?} event
|
|
81
|
-
* @return {?}
|
|
82
|
-
*/
|
|
83
|
-
function (event) {
|
|
84
|
-
var _this = this;
|
|
85
|
-
this.generateGridParameters(event.filterData);
|
|
86
|
-
this.configHttpParamsPagination(event.rows.toString(), Math.floor(event.first / event.rows).toString());
|
|
87
|
-
this.configHttpParamsOrderBy(event.multiSortMeta);
|
|
88
|
-
this.getDataLookup(this.endpoint, this.httpParams)
|
|
89
|
-
.pipe(takeUntil(this.ngUnsubscribe))
|
|
90
|
-
.subscribe((/**
|
|
91
|
-
* @param {?} data
|
|
92
|
-
* @return {?}
|
|
93
|
-
*/
|
|
94
|
-
function (data) { return (_this.searchGridData = data && tslib_1.__spread(data.contents)); }));
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @param endpoint Busca e faz o tratamento dos dados do lookup.
|
|
99
|
-
* @param httpParams HttpParams
|
|
100
|
-
*/
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @private
|
|
104
|
-
* @param {?} endpoint Busca e faz o tratamento dos dados do lookup.
|
|
105
|
-
* @param {?} httpParams HttpParams
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
LookupComponent.prototype.getDataLookup = /**
|
|
109
|
-
*
|
|
110
|
-
* @private
|
|
111
|
-
* @param {?} endpoint Busca e faz o tratamento dos dados do lookup.
|
|
112
|
-
* @param {?} httpParams HttpParams
|
|
113
|
-
* @return {?}
|
|
114
|
-
*/
|
|
115
|
-
function (endpoint, httpParams) {
|
|
116
|
-
var _this = this;
|
|
117
|
-
return this.lookupService.getDataLookup(this.endpoint, this.httpParams).pipe(map((/**
|
|
118
|
-
* @param {?} payload
|
|
119
|
-
* @return {?}
|
|
120
|
-
*/
|
|
121
|
-
function (payload) {
|
|
122
|
-
var totalElements = payload.totalElements, contents = payload.contents;
|
|
123
|
-
_this.searchTotalRecords = totalElements;
|
|
124
|
-
if (_this.concatFields && _this.concatFields.length) {
|
|
125
|
-
contents.map((/**
|
|
126
|
-
* @param {?} value
|
|
127
|
-
* @return {?}
|
|
128
|
-
*/
|
|
129
|
-
function (value) {
|
|
130
|
-
_this.convertGridFieldValue(value);
|
|
131
|
-
value[_this.lookupDisplayField] = _this.generateDisplayFieldValue(tslib_1.__assign({}, value));
|
|
132
|
-
}));
|
|
133
|
-
}
|
|
134
|
-
return payload;
|
|
135
|
-
})));
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Converte o valor do campo para apresentação no lookup.
|
|
139
|
-
*
|
|
140
|
-
* @param content Valor do campo para conversão.
|
|
141
|
-
* @param field FormField do campo.
|
|
142
|
-
*/
|
|
143
|
-
/**
|
|
144
|
-
* Converte o valor do campo para apresentação no lookup.
|
|
145
|
-
*
|
|
146
|
-
* @private
|
|
147
|
-
* @param {?} content Valor do campo para conversão.
|
|
148
|
-
* @param {?} field FormField do campo.
|
|
149
|
-
* @return {?}
|
|
150
|
-
*/
|
|
151
|
-
LookupComponent.prototype.convertLookupFieldValue = /**
|
|
152
|
-
* Converte o valor do campo para apresentação no lookup.
|
|
153
|
-
*
|
|
154
|
-
* @private
|
|
155
|
-
* @param {?} content Valor do campo para conversão.
|
|
156
|
-
* @param {?} field FormField do campo.
|
|
157
|
-
* @return {?}
|
|
158
|
-
*/
|
|
159
|
-
function (content, field) {
|
|
160
|
-
if (content) {
|
|
161
|
-
switch (field.type) {
|
|
162
|
-
case FieldType.Date:
|
|
163
|
-
content = moment(content).format('L');
|
|
164
|
-
break;
|
|
165
|
-
case FieldType.Enum:
|
|
166
|
-
/** @type {?} */
|
|
167
|
-
var enumValue = field.options.filter((/**
|
|
168
|
-
* @param {?} enumeration
|
|
169
|
-
* @return {?}
|
|
170
|
-
*/
|
|
171
|
-
function (enumeration) { return enumeration.value === content; }))[0];
|
|
172
|
-
content = enumValue ? enumValue.label : content;
|
|
173
|
-
break;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
return content;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* Converte os dados para visualização na grid
|
|
180
|
-
* @param content
|
|
181
|
-
*/
|
|
182
|
-
/**
|
|
183
|
-
* Converte os dados para visualização na grid
|
|
184
|
-
* @private
|
|
185
|
-
* @param {?} content
|
|
186
|
-
* @return {?}
|
|
187
|
-
*/
|
|
188
|
-
LookupComponent.prototype.convertGridFieldValue = /**
|
|
189
|
-
* Converte os dados para visualização na grid
|
|
190
|
-
* @private
|
|
191
|
-
* @param {?} content
|
|
192
|
-
* @return {?}
|
|
193
|
-
*/
|
|
194
|
-
function (content) {
|
|
195
|
-
if (content) {
|
|
196
|
-
this.searchGridFields.forEach((/**
|
|
197
|
-
* @param {?} field
|
|
198
|
-
* @return {?}
|
|
199
|
-
*/
|
|
200
|
-
function (field) {
|
|
201
|
-
switch (field.type) {
|
|
202
|
-
case FieldType.Enum:
|
|
203
|
-
/** @type {?} */
|
|
204
|
-
var enumValue = field.options.filter((/**
|
|
205
|
-
* @param {?} enumeration
|
|
206
|
-
* @return {?}
|
|
207
|
-
*/
|
|
208
|
-
function (enumeration) { return enumeration.value === content[field.name]; }))[0];
|
|
209
|
-
content[field.name] = enumValue ? enumValue.label : content[field.name];
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
}));
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
/**
|
|
216
|
-
* Faz a concatenação de valores do registro para ser apresentado no lookup ao selecionar o dado.
|
|
217
|
-
* @param contentValue Valor do registro.
|
|
218
|
-
*/
|
|
219
|
-
/**
|
|
220
|
-
* Faz a concatenação de valores do registro para ser apresentado no lookup ao selecionar o dado.
|
|
221
|
-
* @private
|
|
222
|
-
* @param {?} contentValue Valor do registro.
|
|
223
|
-
* @return {?}
|
|
224
|
-
*/
|
|
225
|
-
LookupComponent.prototype.generateDisplayFieldValue = /**
|
|
226
|
-
* Faz a concatenação de valores do registro para ser apresentado no lookup ao selecionar o dado.
|
|
227
|
-
* @private
|
|
228
|
-
* @param {?} contentValue Valor do registro.
|
|
229
|
-
* @return {?}
|
|
230
|
-
*/
|
|
231
|
-
function (contentValue) {
|
|
232
|
-
var _this = this;
|
|
233
|
-
/** @type {?} */
|
|
234
|
-
var displayField = '';
|
|
235
|
-
this.concatFields.forEach((/**
|
|
236
|
-
* @param {?} field
|
|
237
|
-
* @return {?}
|
|
238
|
-
*/
|
|
239
|
-
function (field) {
|
|
240
|
-
/** @type {?} */
|
|
241
|
-
var fieldValue = _this.convertLookupFieldValue(contentValue[field.name], field);
|
|
242
|
-
if (fieldValue) {
|
|
243
|
-
if (displayField) {
|
|
244
|
-
displayField += " - " + fieldValue;
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
displayField = fieldValue;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}));
|
|
251
|
-
return displayField;
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* Gera os parametros de pesquisa via lookup
|
|
255
|
-
* @param value
|
|
256
|
-
*/
|
|
257
|
-
/**
|
|
258
|
-
* Gera os parametros de pesquisa via lookup
|
|
259
|
-
* @private
|
|
260
|
-
* @param {?=} value
|
|
261
|
-
* @return {?}
|
|
262
|
-
*/
|
|
263
|
-
LookupComponent.prototype.generateLookupParameters = /**
|
|
264
|
-
* Gera os parametros de pesquisa via lookup
|
|
265
|
-
* @private
|
|
266
|
-
* @param {?=} value
|
|
267
|
-
* @return {?}
|
|
268
|
-
*/
|
|
269
|
-
function (value) {
|
|
270
|
-
var _this = this;
|
|
271
|
-
/** @type {?} */
|
|
272
|
-
var lookupParameters = '';
|
|
273
|
-
this.searchLookupFields.forEach((/**
|
|
274
|
-
* @param {?} lookupField
|
|
275
|
-
* @return {?}
|
|
276
|
-
*/
|
|
277
|
-
function (lookupField) {
|
|
278
|
-
/** @type {?} */
|
|
279
|
-
var searchField = _this.searchFields.filter((/**
|
|
280
|
-
* @param {?} field
|
|
281
|
-
* @return {?}
|
|
282
|
-
*/
|
|
283
|
-
function (field) { return lookupField === field.name; }))[0];
|
|
284
|
-
if (lookupParameters) {
|
|
285
|
-
lookupParameters += " or " + _this.getParameterByType(searchField.type, lookupField, value);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
lookupParameters = "" + _this.getParameterByType(searchField.type, lookupField, value);
|
|
289
|
-
}
|
|
290
|
-
}));
|
|
291
|
-
this.parameters.forEach((/**
|
|
292
|
-
* @param {?} parameter
|
|
293
|
-
* @return {?}
|
|
294
|
-
*/
|
|
295
|
-
function (parameter) {
|
|
296
|
-
if (lookupParameters) {
|
|
297
|
-
lookupParameters += " and " + parameter.toString();
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
lookupParameters = "" + parameter.toString();
|
|
301
|
-
}
|
|
302
|
-
}));
|
|
303
|
-
this.httpParams = new HttpParams().set('filter', lookupParameters);
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* Gera os parametros de pesquisa via pesquisa na grid
|
|
307
|
-
* @param filterData
|
|
308
|
-
*/
|
|
309
|
-
/**
|
|
310
|
-
* Gera os parametros de pesquisa via pesquisa na grid
|
|
311
|
-
* @private
|
|
312
|
-
* @param {?} filterData
|
|
313
|
-
* @return {?}
|
|
314
|
-
*/
|
|
315
|
-
LookupComponent.prototype.generateGridParameters = /**
|
|
316
|
-
* Gera os parametros de pesquisa via pesquisa na grid
|
|
317
|
-
* @private
|
|
318
|
-
* @param {?} filterData
|
|
319
|
-
* @return {?}
|
|
320
|
-
*/
|
|
321
|
-
function (filterData) {
|
|
322
|
-
var _this = this;
|
|
323
|
-
/** @type {?} */
|
|
324
|
-
var gridParameters = '';
|
|
325
|
-
Object.keys(filterData).forEach((/**
|
|
326
|
-
* @param {?} attribute
|
|
327
|
-
* @return {?}
|
|
328
|
-
*/
|
|
329
|
-
function (attribute) {
|
|
330
|
-
if (filterData[attribute]) {
|
|
331
|
-
/** @type {?} */
|
|
332
|
-
var searchField = _this.searchFields.filter((/**
|
|
333
|
-
* @param {?} field
|
|
334
|
-
* @return {?}
|
|
335
|
-
*/
|
|
336
|
-
function (field) { return attribute === field.name; }))[0];
|
|
337
|
-
if (gridParameters) {
|
|
338
|
-
gridParameters += " and " + _this.getParameterByType(searchField.type, attribute, filterData[attribute]);
|
|
339
|
-
}
|
|
340
|
-
else {
|
|
341
|
-
gridParameters += _this.getParameterByType(searchField.type, attribute, filterData[attribute]);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}));
|
|
345
|
-
this.parameters.forEach((/**
|
|
346
|
-
* @param {?} parameter
|
|
347
|
-
* @return {?}
|
|
348
|
-
*/
|
|
349
|
-
function (parameter) {
|
|
350
|
-
if (gridParameters) {
|
|
351
|
-
gridParameters += " and " + parameter.toString();
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
gridParameters = "" + parameter.toString();
|
|
355
|
-
}
|
|
356
|
-
}));
|
|
357
|
-
this.httpParams = new HttpParams().set('filter', gridParameters);
|
|
358
|
-
};
|
|
359
|
-
/**
|
|
360
|
-
* Gera a string de consulta CRUD de um campo.
|
|
361
|
-
* @param type Tipo do campo.
|
|
362
|
-
* @param attribute Nome do atribute da entidade
|
|
363
|
-
* @param value Valor do campo
|
|
364
|
-
*/
|
|
365
|
-
/**
|
|
366
|
-
* Gera a string de consulta CRUD de um campo.
|
|
367
|
-
* @private
|
|
368
|
-
* @param {?} type Tipo do campo.
|
|
369
|
-
* @param {?} attribute Nome do atribute da entidade
|
|
370
|
-
* @param {?} value Valor do campo
|
|
371
|
-
* @return {?}
|
|
372
|
-
*/
|
|
373
|
-
LookupComponent.prototype.getParameterByType = /**
|
|
374
|
-
* Gera a string de consulta CRUD de um campo.
|
|
375
|
-
* @private
|
|
376
|
-
* @param {?} type Tipo do campo.
|
|
377
|
-
* @param {?} attribute Nome do atribute da entidade
|
|
378
|
-
* @param {?} value Valor do campo
|
|
379
|
-
* @return {?}
|
|
380
|
-
*/
|
|
381
|
-
function (type, attribute, value) {
|
|
382
|
-
switch (type) {
|
|
383
|
-
case FieldType.Date:
|
|
384
|
-
return attribute + " eq '" + moment(value).format('YYYY-MM-DD') + "'";
|
|
385
|
-
case FieldType.Enum:
|
|
386
|
-
return attribute + " eq '" + value + "'";
|
|
387
|
-
case FieldType.Integer:
|
|
388
|
-
return attribute + " eq " + value;
|
|
389
|
-
case FieldType.Autocomplete:
|
|
390
|
-
return attribute + " eq " + value.id;
|
|
391
|
-
default:
|
|
392
|
-
return "containing(lower(" + attribute + "), lower('" + value + "'))";
|
|
393
|
-
}
|
|
394
|
-
};
|
|
395
|
-
/**
|
|
396
|
-
*
|
|
397
|
-
* @param size a quantidade de registros na página.
|
|
398
|
-
* @param offset o número da página a ser recuperada, lembrando que a numeração de páginas começa em 0 (zero).
|
|
399
|
-
*/
|
|
400
|
-
/**
|
|
401
|
-
*
|
|
402
|
-
* @private
|
|
403
|
-
* @param {?} size a quantidade de registros na página.
|
|
404
|
-
* @param {?} offset o número da página a ser recuperada, lembrando que a numeração de páginas começa em 0 (zero).
|
|
405
|
-
* @return {?}
|
|
406
|
-
*/
|
|
407
|
-
LookupComponent.prototype.configHttpParamsPagination = /**
|
|
408
|
-
*
|
|
409
|
-
* @private
|
|
410
|
-
* @param {?} size a quantidade de registros na página.
|
|
411
|
-
* @param {?} offset o número da página a ser recuperada, lembrando que a numeração de páginas começa em 0 (zero).
|
|
412
|
-
* @return {?}
|
|
413
|
-
*/
|
|
414
|
-
function (size, offset) {
|
|
415
|
-
this.httpParams = this.httpParams.set('size', size);
|
|
416
|
-
this.httpParams = this.httpParams.set('offset', offset);
|
|
417
|
-
};
|
|
418
|
-
/**
|
|
419
|
-
* Gera o orderby do HttpParams
|
|
420
|
-
*/
|
|
421
|
-
/**
|
|
422
|
-
* Gera o orderby do HttpParams
|
|
423
|
-
* @private
|
|
424
|
-
* @param {?} multiSortMeta
|
|
425
|
-
* @return {?}
|
|
426
|
-
*/
|
|
427
|
-
LookupComponent.prototype.configHttpParamsOrderBy = /**
|
|
428
|
-
* Gera o orderby do HttpParams
|
|
429
|
-
* @private
|
|
430
|
-
* @param {?} multiSortMeta
|
|
431
|
-
* @return {?}
|
|
432
|
-
*/
|
|
433
|
-
function (multiSortMeta) {
|
|
434
|
-
if (multiSortMeta && multiSortMeta.length) {
|
|
435
|
-
/** @type {?} */
|
|
436
|
-
var orderBy_1 = '';
|
|
437
|
-
multiSortMeta.map((/**
|
|
438
|
-
* @param {?} value
|
|
439
|
-
* @return {?}
|
|
440
|
-
*/
|
|
441
|
-
function (value) {
|
|
442
|
-
if (orderBy_1) {
|
|
443
|
-
orderBy_1 += "," + value.field + "+" + (value.order === 1 ? 'asc' : 'desc');
|
|
444
|
-
}
|
|
445
|
-
else {
|
|
446
|
-
orderBy_1 += value.field + "+" + (value.order === 1 ? 'asc' : 'desc');
|
|
447
|
-
}
|
|
448
|
-
}));
|
|
449
|
-
this.httpParams = this.httpParams.set('orderby', orderBy_1);
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
Object.defineProperty(LookupComponent.prototype, "httpParams", {
|
|
453
|
-
get: /**
|
|
454
|
-
* @return {?}
|
|
455
|
-
*/
|
|
456
|
-
function () {
|
|
457
|
-
return this._httpParams;
|
|
458
|
-
},
|
|
459
|
-
set: /**
|
|
460
|
-
* @param {?} value
|
|
461
|
-
* @return {?}
|
|
462
|
-
*/
|
|
463
|
-
function (value) {
|
|
464
|
-
this._httpParams = value;
|
|
465
|
-
},
|
|
466
|
-
enumerable: true,
|
|
467
|
-
configurable: true
|
|
468
|
-
});
|
|
469
|
-
Object.defineProperty(LookupComponent.prototype, "model", {
|
|
470
|
-
get: /**
|
|
471
|
-
* @return {?}
|
|
472
|
-
*/
|
|
473
|
-
function () {
|
|
474
|
-
return this._model;
|
|
475
|
-
},
|
|
476
|
-
set: /**
|
|
477
|
-
* @param {?} value
|
|
478
|
-
* @return {?}
|
|
479
|
-
*/
|
|
480
|
-
function (value) {
|
|
481
|
-
this._model = value;
|
|
482
|
-
this.modelChange.emit(value);
|
|
483
|
-
},
|
|
484
|
-
enumerable: true,
|
|
485
|
-
configurable: true
|
|
486
|
-
});
|
|
487
|
-
LookupComponent.decorators = [
|
|
488
|
-
{ type: Component, args: [{
|
|
489
|
-
selector: 'c-lookup',
|
|
490
|
-
template: "<div *ngIf=\"formGroup;else noForm\" [formGroup]=\"formGroup\">\n <s-lookup [id]=\"id\" [dataKey]=\"dataKey\" [formControlName]=\"controlName\" (onLookupRequest)=\"lookupRequest($event)\"\n (onSearchRequest)=\"searchRequest($event)\" filterLabel=\"{{filterLabel|translate}}\" clearLabel=\"{{clearLabel|translate}}\"\n cancelLabel=\"{{cancelLabel|translate}}\" selectLabel=\"{{selectLabel|translate}}\" [lookupSuggestions]=\"lookupSuggestions\"\n lookupEmptyMessage=\"{{lookupEmptyMessage|translate}}\" [searchGridData]=\"searchGridData\" [searchFields]=\"searchFields\"\n [searchTotalRecords]=\"searchTotalRecords\" searchTotalRecordsLabel=\"{{searchTotalRecords}} {{searchTotalRecordsLabel|translate}}\"\n [searchGridFields]=\"searchGridFields\" [searchTitle]=\"searchTitle\" [lookupDisplayField]=\"lookupDisplayField\"\n [multiple]=\"multiple\" (onSelect)=\"onSelect.next($event)\" appendTo=\"body\" (onClear)=\"onClear.next($event)\"></s-lookup>\n</div>\n\n<ng-template #noForm>\n <s-lookup [id]=\"id\" [dataKey]=\"dataKey\" [(ngModel)]=\"model\" (onLookupRequest)=\"lookupRequest($event)\"\n (onSearchRequest)=\"searchRequest($event)\" filterLabel=\"{{filterLabel|translate}}\" clearLabel=\"{{clearLabel|translate}}\"\n cancelLabel=\"{{cancelLabel|translate}}\" selectLabel=\"{{selectLabel|translate}}\" [lookupSuggestions]=\"lookupSuggestions\"\n lookupEmptyMessage=\"{{lookupEmptyMessage|translate}}\" [searchGridData]=\"searchGridData\" [searchFields]=\"searchFields\"\n [searchTotalRecords]=\"searchTotalRecords\" searchTotalRecordsLabel=\"{{searchTotalRecords}} {{searchTotalRecordsLabel|translate}}\"\n [searchGridFields]=\"searchGridFields\" [searchTitle]=\"searchTitle\" [lookupDisplayField]=\"lookupDisplayField\"\n [multiple]=\"multiple\" (onSelect)=\"onSelect.next($event)\" appendTo=\"body\" (onClear)=\"onClear.next($event)\"></s-lookup>\n</ng-template>\n"
|
|
491
|
-
}] }
|
|
492
|
-
];
|
|
493
|
-
/** @nocollapse */
|
|
494
|
-
LookupComponent.ctorParameters = function () { return [
|
|
495
|
-
{ type: LookupService }
|
|
496
|
-
]; };
|
|
497
|
-
LookupComponent.propDecorators = {
|
|
498
|
-
id: [{ type: Input }],
|
|
499
|
-
dataKey: [{ type: Input }],
|
|
500
|
-
concatFields: [{ type: Input }],
|
|
501
|
-
searchTitle: [{ type: Input }],
|
|
502
|
-
formGroup: [{ type: Input }],
|
|
503
|
-
controlName: [{ type: Input }],
|
|
504
|
-
multiple: [{ type: Input }],
|
|
505
|
-
endpoint: [{ type: Input }],
|
|
506
|
-
lookupDisplayField: [{ type: Input }],
|
|
507
|
-
searchTotalRecordsLabel: [{ type: Input }],
|
|
508
|
-
filterLabel: [{ type: Input }],
|
|
509
|
-
clearLabel: [{ type: Input }],
|
|
510
|
-
cancelLabel: [{ type: Input }],
|
|
511
|
-
selectLabel: [{ type: Input }],
|
|
512
|
-
lookupEmptyMessage: [{ type: Input }],
|
|
513
|
-
searchTotalRecords: [{ type: Input }],
|
|
514
|
-
lookupSuggestions: [{ type: Input }],
|
|
515
|
-
searchGridFields: [{ type: Input }],
|
|
516
|
-
searchLookupFields: [{ type: Input }],
|
|
517
|
-
searchGridData: [{ type: Input }],
|
|
518
|
-
searchFields: [{ type: Input }],
|
|
519
|
-
parameters: [{ type: Input }],
|
|
520
|
-
onSelect: [{ type: Output }],
|
|
521
|
-
onClear: [{ type: Output }],
|
|
522
|
-
modelChange: [{ type: Output }],
|
|
523
|
-
model: [{ type: Input }]
|
|
524
|
-
};
|
|
525
|
-
return LookupComponent;
|
|
526
|
-
}());
|
|
527
|
-
export { LookupComponent };
|
|
528
|
-
if (false) {
|
|
529
|
-
/** @type {?} */
|
|
530
|
-
LookupComponent.prototype.id;
|
|
531
|
-
/** @type {?} */
|
|
532
|
-
LookupComponent.prototype.dataKey;
|
|
533
|
-
/** @type {?} */
|
|
534
|
-
LookupComponent.prototype.concatFields;
|
|
535
|
-
/** @type {?} */
|
|
536
|
-
LookupComponent.prototype.searchTitle;
|
|
537
|
-
/** @type {?} */
|
|
538
|
-
LookupComponent.prototype.formGroup;
|
|
539
|
-
/** @type {?} */
|
|
540
|
-
LookupComponent.prototype.controlName;
|
|
541
|
-
/** @type {?} */
|
|
542
|
-
LookupComponent.prototype.multiple;
|
|
543
|
-
/** @type {?} */
|
|
544
|
-
LookupComponent.prototype.endpoint;
|
|
545
|
-
/** @type {?} */
|
|
546
|
-
LookupComponent.prototype.lookupDisplayField;
|
|
547
|
-
/** @type {?} */
|
|
548
|
-
LookupComponent.prototype.searchTotalRecordsLabel;
|
|
549
|
-
/** @type {?} */
|
|
550
|
-
LookupComponent.prototype.filterLabel;
|
|
551
|
-
/** @type {?} */
|
|
552
|
-
LookupComponent.prototype.clearLabel;
|
|
553
|
-
/** @type {?} */
|
|
554
|
-
LookupComponent.prototype.cancelLabel;
|
|
555
|
-
/** @type {?} */
|
|
556
|
-
LookupComponent.prototype.selectLabel;
|
|
557
|
-
/** @type {?} */
|
|
558
|
-
LookupComponent.prototype.lookupEmptyMessage;
|
|
559
|
-
/** @type {?} */
|
|
560
|
-
LookupComponent.prototype.searchTotalRecords;
|
|
561
|
-
/** @type {?} */
|
|
562
|
-
LookupComponent.prototype.lookupSuggestions;
|
|
563
|
-
/** @type {?} */
|
|
564
|
-
LookupComponent.prototype.searchGridFields;
|
|
565
|
-
/** @type {?} */
|
|
566
|
-
LookupComponent.prototype.searchLookupFields;
|
|
567
|
-
/** @type {?} */
|
|
568
|
-
LookupComponent.prototype.searchGridData;
|
|
569
|
-
/** @type {?} */
|
|
570
|
-
LookupComponent.prototype.searchFields;
|
|
571
|
-
/** @type {?} */
|
|
572
|
-
LookupComponent.prototype.parameters;
|
|
573
|
-
/** @type {?} */
|
|
574
|
-
LookupComponent.prototype.onSelect;
|
|
575
|
-
/** @type {?} */
|
|
576
|
-
LookupComponent.prototype.onClear;
|
|
577
|
-
/** @type {?} */
|
|
578
|
-
LookupComponent.prototype.modelChange;
|
|
579
|
-
/**
|
|
580
|
-
* @type {?}
|
|
581
|
-
* @private
|
|
582
|
-
*/
|
|
583
|
-
LookupComponent.prototype._httpParams;
|
|
584
|
-
/**
|
|
585
|
-
* @type {?}
|
|
586
|
-
* @private
|
|
587
|
-
*/
|
|
588
|
-
LookupComponent.prototype._model;
|
|
589
|
-
/**
|
|
590
|
-
* @type {?}
|
|
591
|
-
* @private
|
|
592
|
-
*/
|
|
593
|
-
LookupComponent.prototype.ngUnsubscribe;
|
|
594
|
-
/**
|
|
595
|
-
* @type {?}
|
|
596
|
-
* @private
|
|
597
|
-
*/
|
|
598
|
-
LookupComponent.prototype.lookupService;
|
|
599
|
-
}
|
|
600
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9va3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzZW5pb3ItZ2VzdGFvLXBlc3NvYXMvcGF5cm9sbC1jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbG9va3VwL2xvb2t1cC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFGLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUUsU0FBUyxFQUFhLE1BQU0sb0NBQW9DLENBQUM7QUFDMUUsT0FBTyxLQUFLLE9BQU8sTUFBTSxRQUFRLENBQUM7QUFDbEMsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR2hELE9BQU8sRUFBRSxhQUFhLEVBQ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3aXRjaCAoZmllbGQudHlwZSkge1xuICAgICAgICBjYXNlIEZpZWxkVHlwZS5EYXRlOlxuICAgICAgICAgIGNvbnRlbnQgPSBtb21lbnQoY29udGVudCkuZm9ybWF0KCdMJyk7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgRmllbGRUeXBlLkVudW06XG4gICAgICAgICAgY29uc3QgZW51bVZhbHVlID0gZmllbGQub3B0aW9ucy5maWx0ZXIoKGVudW1lcmF0aW9uOiBhbnkpID0+IGVudW1lcmF0aW9uLnZhbHVlID09PSBjb250ZW50KVswXTtcbiAgICAgICAgICBjb250ZW50ID0gZW51bVZhbHVlID8gZW51bVZhbHVlLmxhYmVsIDogY29udGVudDtcbiAgICAgICAgICBicmVhaztcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gY29udGVudDtcbiAgfVxuXG4gIC8qKlxuICAgKiBDb252ZXJ0ZSBvcyBkYWRvcyBwYXJhIHZpc3VhbGl6YcOnw6NvIG5hIGdyaWRcbiAgICogQHBhcmFtIGNvbnRlbnRcbiAgICovXG4gIHByaXZhdGUgY29udmVydEdyaWRGaWVsZFZhbHVlKGNvbnRlbnQ6IGFueSk6IHZvaWQge1xuICAgIGlmIChjb250ZW50KSB7XG4gICAgICB0aGlzLnNlYXJjaEdyaWRGaWVsZHMuZm9yRWFjaCgoZmllbGQ6IEZvcm1GaWVsZCkgPT4ge1xuICAgICAgICBzd2l0Y2ggKGZpZWxkLnR5cGUpIHtcbiAgICAgICAgICBjYXNlIEZpZWxkVHlwZS5FbnVtOlxuICAgICAgICAgICAgY29uc3QgZW51bVZhbHVlID0gZmllbGQub3B0aW9ucy5maWx0ZXIoKGVudW1lcmF0aW9uOiBhbnkpID0+IGVudW1lcmF0aW9uLnZhbHVlID09PSBjb250ZW50W2ZpZWxkLm5hbWVdKVswXTtcbiAgICAgICAgICAgIGNvbnRlbnRbZmllbGQubmFtZV0gPSBlbnVtVmFsdWUgPyBlbnVtVmFsdWUubG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