@senior-gestao-pessoas/payroll-core 9.8.0 → 9.9.0-feature-hcmgdp-12490-b88ad694

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.
Files changed (37) hide show
  1. package/bundles/senior-gestao-pessoas-payroll-core.umd.js +618 -64
  2. package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
  3. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
  4. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
  5. package/components/input-rest-auto-complete/input-rest-auto-complete.component.d.ts +2 -0
  6. package/components/transportation-voucher-scale-lookup/autocomplete.service.d.ts +31 -0
  7. package/components/transportation-voucher-scale-lookup/index.d.ts +5 -0
  8. package/components/transportation-voucher-scale-lookup/lookup.service.d.ts +47 -0
  9. package/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.component.d.ts +80 -0
  10. package/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.dto.d.ts +8 -0
  11. package/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.module.d.ts +2 -0
  12. package/esm2015/components/input-rest-auto-complete/input-rest-auto-complete.component.js +87 -50
  13. package/esm2015/components/transportation-voucher-scale-lookup/autocomplete.service.js +114 -0
  14. package/esm2015/components/transportation-voucher-scale-lookup/index.js +6 -0
  15. package/esm2015/components/transportation-voucher-scale-lookup/lookup.service.js +147 -0
  16. package/esm2015/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.component.js +215 -0
  17. package/esm2015/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.dto.js +17 -0
  18. package/esm2015/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.module.js +31 -0
  19. package/esm2015/public_api.js +2 -1
  20. package/esm5/components/input-rest-auto-complete/input-rest-auto-complete.component.js +88 -50
  21. package/esm5/components/transportation-voucher-scale-lookup/autocomplete.service.js +128 -0
  22. package/esm5/components/transportation-voucher-scale-lookup/index.js +6 -0
  23. package/esm5/components/transportation-voucher-scale-lookup/lookup.service.js +152 -0
  24. package/esm5/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.component.js +223 -0
  25. package/esm5/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.dto.js +19 -0
  26. package/esm5/components/transportation-voucher-scale-lookup/transportation-voucher-scale-lookup.module.js +34 -0
  27. package/esm5/public_api.js +2 -1
  28. package/fesm2015/senior-gestao-pessoas-payroll-core.js +583 -66
  29. package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
  30. package/fesm5/senior-gestao-pessoas-payroll-core.js +615 -66
  31. package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
  32. package/locale/en-US.json +5 -1
  33. package/locale/es-ES.json +5 -1
  34. package/locale/pt-BR.json +5 -1
  35. package/package.json +1 -1
  36. package/public_api.d.ts +1 -0
  37. package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
@@ -12,7 +12,7 @@ import { DropdownModule } from 'primeng/dropdown';
12
12
  import { InputMaskModule } from 'primeng/inputmask';
13
13
  import { InputTextModule } from 'primeng/inputtext';
14
14
  import { SharedModule as SharedModule$1 } from 'primeng/shared';
15
- import { LocaleService, ButtonModule, LoadingStateModule, ObjectCardModule, ThumbnailModule, ImageCropperService, FieldType, DynamicFormModule, FormField, CustomFieldsComponent as CustomFieldsComponent$1, SidebarModule, ControlErrorsModule, CustomFieldsModule as CustomFieldsModule$1 } from '@seniorsistemas/angular-components';
15
+ import { LocaleService, ButtonModule, LoadingStateModule, ObjectCardModule, ThumbnailModule, ImageCropperService, FieldType, DynamicFormModule, FormField, LocaleModule, CustomFieldsComponent as CustomFieldsComponent$1, SidebarModule, ControlErrorsModule, CustomFieldsModule as CustomFieldsModule$1 } from '@seniorsistemas/angular-components';
16
16
  import * as moment_ from 'moment';
17
17
  import { now } from 'moment';
18
18
  import { Subject, throwError, forkJoin, Observable, BehaviorSubject } from 'rxjs';
@@ -2659,62 +2659,96 @@ let InputRestAutoCompleteComponent = class InputRestAutoCompleteComponent {
2659
2659
  ngOnInit() { }
2660
2660
  filterQuery(event) {
2661
2661
  const query = event.query;
2662
- if (!(isNaN(query) && query.toString().length < this.minCharactersToSearch)) {
2662
+ if (!(Number.isNaN(query) && query.toString().length < this.minCharactersToSearch)) {
2663
2663
  try {
2664
- if (this.isTimetrackingSituation) {
2665
- return this.service
2666
- .query('autocompleteTimetrackingSituation', {
2667
- valueSearch: query,
2668
- referenceDate: this.referenceDate,
2669
- })
2670
- .subscribe(payload => this.formaterResponce(payload.result));
2671
- }
2672
- else if (this.isDismissalReason) {
2673
- const params = { valueSearch: query };
2674
- if (this.referenceDate) {
2675
- params['referenceDate'] = this.referenceDate;
2676
- }
2677
- return this.service
2678
- .query('autocompleteDismissalReason', params, ServiceType.GENERAL_REGISTER)
2679
- .subscribe(payload => this.formaterResponce(payload.result));
2680
- }
2681
- else if (this.usingType && this.usingType.length) {
2682
- return this.service
2683
- .query('autocompleteOtherCompanyFilterUsingType', {
2684
- searchText: query,
2685
- usingType: this.usingType,
2686
- })
2687
- .subscribe(payload => this.formaterResponce(payload.result));
2688
- }
2689
- else if (this.isDepartmentFromCompany) {
2690
- return this.service
2691
- .query('autocompleteDepartmentQuery', {
2692
- searchText: query,
2693
- companyId: this.companyId,
2694
- referenceDate: this.referenceDate,
2695
- })
2696
- .subscribe(payload => this.formaterResponce(payload.result));
2697
- }
2698
- else if (this.isSituationDefinition) {
2699
- const params = { searchText: query };
2700
- return this.service
2701
- .query('autocompleteSituationDefinitionQuery', params, ServiceType.ORGANIZATION_REGISTER)
2702
- .subscribe(payload => this.formaterResponce(payload.result));
2703
- }
2704
- else if (this.isWagetype) {
2705
- const params = { searchText: query, companyId: this.companyId };
2706
- return this.service
2707
- .query('autocompleteWagetypeQuery', params, ServiceType.ENTRY)
2708
- .subscribe(payload => this.formaterResponce(payload.result));
2709
- }
2710
- this.service
2711
- .query('autocomplete', this.getParamsRest(query), this.serviceType).subscribe(payload => this.formaterResponce(payload.result));
2664
+ const queryConfig = this.getQueryConfiguration(query);
2665
+ return this.service
2666
+ .query(queryConfig.endpoint, queryConfig.params, queryConfig.serviceType)
2667
+ .subscribe(payload => this.formaterResponce(payload.result));
2712
2668
  }
2713
2669
  catch (e) {
2714
2670
  console.log(e);
2715
2671
  }
2716
2672
  }
2717
2673
  }
2674
+ getQueryConfiguration(query) {
2675
+ const queryStrategies = [
2676
+ {
2677
+ condition: () => this.isTimetrackingSituation,
2678
+ endpoint: 'autocompleteTimetrackingSituation',
2679
+ params: () => ({
2680
+ valueSearch: query,
2681
+ referenceDate: this.referenceDate,
2682
+ }),
2683
+ serviceType: this.serviceType,
2684
+ },
2685
+ {
2686
+ condition: () => this.isDismissalReason,
2687
+ endpoint: 'autocompleteDismissalReason',
2688
+ params: () => {
2689
+ const params = { valueSearch: query };
2690
+ if (this.referenceDate) {
2691
+ params['referenceDate'] = this.referenceDate;
2692
+ }
2693
+ return params;
2694
+ },
2695
+ serviceType: ServiceType.GENERAL_REGISTER,
2696
+ },
2697
+ {
2698
+ condition: () => this.usingType && this.usingType.length,
2699
+ endpoint: 'autocompleteOtherCompanyFilterUsingType',
2700
+ params: () => ({
2701
+ searchText: query,
2702
+ usingType: this.usingType,
2703
+ }),
2704
+ serviceType: this.serviceType,
2705
+ },
2706
+ {
2707
+ condition: () => this.isDepartmentFromCompany,
2708
+ endpoint: 'autocompleteDepartmentQuery',
2709
+ params: () => ({
2710
+ searchText: query,
2711
+ companyId: this.companyId,
2712
+ referenceDate: this.referenceDate,
2713
+ }),
2714
+ serviceType: this.serviceType,
2715
+ },
2716
+ {
2717
+ condition: () => this.isSituationDefinition,
2718
+ endpoint: 'autocompleteSituationDefinitionQuery',
2719
+ params: () => ({ searchText: query }),
2720
+ serviceType: ServiceType.ORGANIZATION_REGISTER,
2721
+ },
2722
+ {
2723
+ condition: () => this.isWagetype,
2724
+ endpoint: 'autocompleteWagetypeQuery',
2725
+ params: () => ({
2726
+ searchText: query,
2727
+ companyId: this.companyId,
2728
+ }),
2729
+ serviceType: ServiceType.ENTRY,
2730
+ },
2731
+ {
2732
+ condition: () => this.isTransportationVoucherScaleGroup,
2733
+ endpoint: 'autocompleteTransportationVoucherScaleGroupQuery',
2734
+ params: () => ({ searchText: query }),
2735
+ serviceType: ServiceType.GENERAL_REGISTER,
2736
+ },
2737
+ ];
2738
+ const strategy = queryStrategies.find(s => s.condition());
2739
+ if (strategy) {
2740
+ return {
2741
+ endpoint: strategy.endpoint,
2742
+ params: strategy.params(),
2743
+ serviceType: strategy.serviceType,
2744
+ };
2745
+ }
2746
+ return {
2747
+ endpoint: 'autocomplete',
2748
+ params: this.getParamsRest(query),
2749
+ serviceType: this.serviceType,
2750
+ };
2751
+ }
2718
2752
  formaterResponce(result) {
2719
2753
  this.suggestions = [];
2720
2754
  const valsResult = [];
@@ -2927,6 +2961,9 @@ __decorate([
2927
2961
  __decorate([
2928
2962
  Input()
2929
2963
  ], InputRestAutoCompleteComponent.prototype, "multiple", void 0);
2964
+ __decorate([
2965
+ Input()
2966
+ ], InputRestAutoCompleteComponent.prototype, "isTransportationVoucherScaleGroup", void 0);
2930
2967
  __decorate([
2931
2968
  Input()
2932
2969
  ], InputRestAutoCompleteComponent.prototype, "serviceType", void 0);
@@ -7029,6 +7066,486 @@ WorkstationgroupLookupModule = __decorate([
7029
7066
  })
7030
7067
  ], WorkstationgroupLookupModule);
7031
7068
 
7069
+ const moment$c = moment_;
7070
+ let AutocompleteService$1 = class AutocompleteService {
7071
+ constructor(httpClienteService) {
7072
+ this.httpClienteService = httpClienteService;
7073
+ }
7074
+ getAutoComplete(entity, params, searchFields, codeIsString, service) {
7075
+ const getParams = this.generateGridParameters(params, searchFields, codeIsString);
7076
+ return this.httpClienteService.getAutoComplete(entity, getParams, service)
7077
+ .pipe(map((result) => result && result.contents));
7078
+ }
7079
+ getAutoCompleteQuery(query, params, service = ServiceType.PAYROLL) {
7080
+ return this.httpClienteService.query(query, params, service)
7081
+ .pipe(map((data) => data && data.result));
7082
+ }
7083
+ /**
7084
+ * Gera os parametros de pesquisa via pesquisa na grid
7085
+ * @param filterData
7086
+ */
7087
+ generateGridParameters(filterData, searchFields, codeIsString) {
7088
+ let gridParameters = "";
7089
+ Object.keys(filterData).forEach((attribute) => {
7090
+ const filterSearchField = searchFields && searchFields.filter(field => attribute === field.name)[0];
7091
+ let filterQueryString = null;
7092
+ let operatorsQuery = "";
7093
+ let searchField = filterSearchField && filterSearchField.type;
7094
+ if (!filterSearchField && attribute != CoreFieldType.searchValue)
7095
+ searchField = FieldType.String;
7096
+ if (!filterSearchField && attribute === CoreFieldType.searchValue)
7097
+ searchField = CoreFieldType.searchValue;
7098
+ if (gridParameters)
7099
+ operatorsQuery = " and ";
7100
+ filterQueryString = this.getParameterByType(searchField, attribute, filterData[attribute], codeIsString);
7101
+ if (filterQueryString)
7102
+ gridParameters += ` ${operatorsQuery} ${filterQueryString}`;
7103
+ });
7104
+ return gridParameters;
7105
+ }
7106
+ /**
7107
+ * Gera a string de consulta CRUD de um campo.
7108
+ * @param type Tipo do campo.
7109
+ * @param attribute Nome do atribute da entidade
7110
+ * @param value Valor do campo
7111
+ */
7112
+ getParameterByType(type, attribute, value, codeIsString) {
7113
+ if (!value && type != CoreFieldType.searchValue)
7114
+ return `${attribute} is null`;
7115
+ if (value && value === 'not null' && type != CoreFieldType.searchValue)
7116
+ return `${attribute} is not null`;
7117
+ switch (type) {
7118
+ case FieldType.Date:
7119
+ return `${attribute} eq '${moment$c(value).format('YYYY-MM-DD')}'`;
7120
+ case FieldType.Enum:
7121
+ return `${attribute} eq '${value}'`;
7122
+ case FieldType.Integer:
7123
+ return `${attribute} eq ${value}`;
7124
+ case FieldType.Autocomplete:
7125
+ return `${attribute} eq '${value.id}'`;
7126
+ case CoreFieldType.searchValue:
7127
+ return `${this.getParameterBySearchType(value, codeIsString)}`;
7128
+ default:
7129
+ return this.getSearchFilterString(attribute, value);
7130
+ }
7131
+ }
7132
+ /**
7133
+ * Retorna o filtro formatador para ser chamdo no endpoint
7134
+ * @param valueFilterSearch valor pra adicionar no filtro
7135
+ */
7136
+ getParameterBySearchType(valueFilterSearch, codeIsString) {
7137
+ let searchFilter = "";
7138
+ if (valueFilterSearch) {
7139
+ for (const [key, value] of Object.entries(valueFilterSearch)) {
7140
+ if (key === "code" && Number(value)) {
7141
+ const hasQuote = codeIsString ? "'" : "";
7142
+ if (searchFilter)
7143
+ searchFilter += ` or ${key} eq ${hasQuote}${value}${hasQuote}`;
7144
+ else
7145
+ searchFilter += `${key} eq ${hasQuote}${value}${hasQuote}`;
7146
+ }
7147
+ else if (key != "code") {
7148
+ if (searchFilter)
7149
+ searchFilter += ` or ${this.getSearchFilterString(key, value)}`;
7150
+ else
7151
+ searchFilter += this.getSearchFilterString(key, value);
7152
+ }
7153
+ }
7154
+ searchFilter = searchFilter ? `(${searchFilter})` : '';
7155
+ }
7156
+ return searchFilter;
7157
+ }
7158
+ /**
7159
+ * Formata o filtro quando for "Ou"
7160
+ * @param attribute Nome do atributo da entidade.
7161
+ * @param value Valor da propriedade do objeto.
7162
+ */
7163
+ getSearchFilterString(attribute, value) {
7164
+ return `contains(tolower(${attribute}), '${value.toLowerCase()}')`;
7165
+ }
7166
+ };
7167
+ AutocompleteService$1.ctorParameters = () => [
7168
+ { type: HttpClientService }
7169
+ ];
7170
+ AutocompleteService$1 = __decorate([
7171
+ Injectable()
7172
+ ], AutocompleteService$1);
7173
+
7174
+ const moment$d = moment_;
7175
+ let LookupService$2 = class LookupService {
7176
+ constructor(http, messageService, translateService) {
7177
+ this.http = http;
7178
+ this.messageService = messageService;
7179
+ this.translateService = translateService;
7180
+ }
7181
+ lookupRequestPost(httpPostParams, endpoint, concatFields = null, lookupDisplayField) {
7182
+ this.httpPostParams = httpPostParams;
7183
+ this.postConfigPageSize(httpPostParams);
7184
+ this.lookupDisplayField = lookupDisplayField;
7185
+ this.concatFields = concatFields;
7186
+ return this.postDataLookup(endpoint);
7187
+ }
7188
+ postConfigPageSize(httpPostParams) {
7189
+ if (httpPostParams) {
7190
+ this.httpPostParams.page.size = httpPostParams.page && httpPostParams.page.size ? httpPostParams.page.size : 10;
7191
+ this.httpPostParams.page.current = httpPostParams.page && httpPostParams.page.current ? httpPostParams.page.current : 0;
7192
+ }
7193
+ }
7194
+ /**
7195
+ * POST
7196
+ * @param endpoint Busca e faz o tratamento dos dados do lookup.
7197
+ * @param httpParams HttpParams
7198
+ */
7199
+ postDataLookup(endpoint) {
7200
+ return this.postUrlDataLookup(endpoint, this.httpPostParams).pipe(map((payload) => {
7201
+ const { contents } = payload;
7202
+ if (this.concatFields && this.concatFields.length) {
7203
+ contents.map(value => {
7204
+ if (this.concatOtherFields) {
7205
+ this.convertGridFieldValue(value);
7206
+ }
7207
+ value[this.lookupDisplayField] = this.generateDisplayFieldValue(Object.assign({}, value));
7208
+ });
7209
+ }
7210
+ return payload;
7211
+ }));
7212
+ }
7213
+ /**
7214
+ * Converte o valor do campo para apresentação no lookup.
7215
+ *
7216
+ * @param content Valor do campo para conversão.
7217
+ * @param field FormField do campo.
7218
+ */
7219
+ convertLookupFieldValue(content, field) {
7220
+ if (content) {
7221
+ switch (field.type) {
7222
+ case FieldType.Date:
7223
+ content = moment$d(content).format("L");
7224
+ break;
7225
+ case FieldType.Enum:
7226
+ const enumValue = field.options.filter((enumeration) => enumeration.value === content)[0];
7227
+ content = enumValue ? enumValue.label : content;
7228
+ break;
7229
+ }
7230
+ }
7231
+ return content;
7232
+ }
7233
+ /**
7234
+ * Converte os dados para visualização na grid
7235
+ * @param content
7236
+ */
7237
+ convertGridFieldValue(content) {
7238
+ if (content) {
7239
+ this.concatOtherFields.forEach((field) => {
7240
+ switch (field.type) {
7241
+ case FieldType.Enum:
7242
+ const enumValue = field.options.filter((enumeration) => enumeration.value === content[field.name])[0];
7243
+ content[field.name] = enumValue ? enumValue.label : content[field.name];
7244
+ break;
7245
+ }
7246
+ });
7247
+ }
7248
+ }
7249
+ /**
7250
+ * Faz a concatenação de valores do registro para ser apresentado no lookup ao selecionar o dado.
7251
+ * @param contentValue Valor do registro.
7252
+ */
7253
+ generateDisplayFieldValue(contentValue) {
7254
+ let displayField = "";
7255
+ this.concatFields.forEach((field) => {
7256
+ const fieldValue = this.convertLookupFieldValue(contentValue[field.name], field);
7257
+ if (fieldValue) {
7258
+ if (displayField) {
7259
+ displayField += ` - ${fieldValue}`;
7260
+ }
7261
+ else {
7262
+ displayField = fieldValue;
7263
+ }
7264
+ }
7265
+ });
7266
+ return displayField;
7267
+ }
7268
+ /**
7269
+ * Faz a requisição POST na URL do lookup.
7270
+ * @param endpoint - URL do endpoint.
7271
+ * @param httpParams - Parâmetros HTTP.
7272
+ */
7273
+ postUrlDataLookup(endpoint, httpParams) {
7274
+ if (httpParams) {
7275
+ return this.http.post(`${endpoint}`, Object.assign({}, httpParams)).pipe(catchError((exception) => {
7276
+ if (exception.status === 403) {
7277
+ this.messageService.add({
7278
+ severity: "error",
7279
+ summary: this.translateService.instant("hcm.payroll.error"),
7280
+ detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
7281
+ sticky: true,
7282
+ });
7283
+ }
7284
+ return throwError(exception);
7285
+ }));
7286
+ }
7287
+ else {
7288
+ return this.http.post(`${endpoint}`, {}).pipe(catchError((exception) => {
7289
+ if (exception.status === 403) {
7290
+ this.messageService.add({
7291
+ severity: "error",
7292
+ summary: this.translateService.instant("hcm.payroll.error"),
7293
+ detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
7294
+ sticky: true,
7295
+ });
7296
+ }
7297
+ return throwError(exception);
7298
+ }));
7299
+ }
7300
+ }
7301
+ };
7302
+ LookupService$2.ctorParameters = () => [
7303
+ { type: HttpClient },
7304
+ { type: MessageService },
7305
+ { type: TranslateService }
7306
+ ];
7307
+ LookupService$2 = __decorate([
7308
+ Injectable()
7309
+ ], LookupService$2);
7310
+
7311
+ class TransportationVoucherScaleLookupDto {
7312
+ constructor(payload) {
7313
+ const { filterData } = payload;
7314
+ this.code = filterData.code || null;
7315
+ this.transportationVoucherScaleGroupId = filterData.transportationVoucherScaleGroup && filterData.transportationVoucherScaleGroup.id || null;
7316
+ this.searchText = filterData.searchText || null;
7317
+ this.page = {
7318
+ current: payload.first ? payload.first : 0,
7319
+ size: payload.rows ? payload.rows : 10
7320
+ } || null;
7321
+ }
7322
+ getToFilter() {
7323
+ const objDTO = this;
7324
+ return objDTO;
7325
+ }
7326
+ }
7327
+
7328
+ const moment$e = moment_;
7329
+ let TransportationVoucherScaleLookupComponent = class TransportationVoucherScaleLookupComponent {
7330
+ constructor(autocompleteService, lookupService, translate, cdr) {
7331
+ this.autocompleteService = autocompleteService;
7332
+ this.lookupService = lookupService;
7333
+ this.translate = translate;
7334
+ this.cdr = cdr;
7335
+ this.onSelect = new EventEmitter();
7336
+ this.onClear = new EventEmitter();
7337
+ this.onBlur = new EventEmitter();
7338
+ this.lookupSuggestions = [];
7339
+ this.searchGridData = [];
7340
+ this.suggestionsObservable = new BehaviorSubject([]);
7341
+ this.totalRecords = 0;
7342
+ this.concatFieldsName = [
7343
+ new FormField({
7344
+ name: "code",
7345
+ label: this.translate.instant("hcm.payroll.code"),
7346
+ type: FieldType.String,
7347
+ }),
7348
+ new FormField({
7349
+ name: "description",
7350
+ label: this.translate.instant("hcm.payroll.description"),
7351
+ type: FieldType.String,
7352
+ }),
7353
+ ];
7354
+ this.concatName = [
7355
+ new FormField({
7356
+ name: "code",
7357
+ label: this.translate.instant("hcm.payroll.code"),
7358
+ type: FieldType.Integer,
7359
+ }),
7360
+ ];
7361
+ this.gridFields = [
7362
+ new FormField({
7363
+ name: "displayField",
7364
+ label: this.translate.instant("hcm.payroll.transportation_voucher_scale"),
7365
+ type: FieldType.String,
7366
+ }),
7367
+ ];
7368
+ this.searchFields = [
7369
+ ...this.concatName,
7370
+ {
7371
+ name: "searchText",
7372
+ label: this.translate.instant("hcm.payroll.description"),
7373
+ type: FieldType.String,
7374
+ },
7375
+ {
7376
+ name: "transportationVoucherScaleGroup",
7377
+ type: FieldType.Autocomplete,
7378
+ label: this.translate.instant("hcm.payroll.grouper"),
7379
+ dataKey: "id",
7380
+ appendTo: "body",
7381
+ fullWidth: true,
7382
+ onSearch: (val) => {
7383
+ this.getAutocompleteQuery("autocompleteTransportationVoucherScaleGroupQuery", {
7384
+ searchText: val ? val : "",
7385
+ }, ServiceType.GENERAL_REGISTER);
7386
+ },
7387
+ suggestionsObservable: this.suggestionsObservable,
7388
+ displayField: "value",
7389
+ },
7390
+ ];
7391
+ this.transportationVoucherScaleFilterForm = new FormGroup({});
7392
+ this.unsubscribe = new Subject();
7393
+ this.initialLoad = true;
7394
+ }
7395
+ ngOnInit() {
7396
+ }
7397
+ ngAfterViewInit() {
7398
+ this.cdr.detectChanges();
7399
+ }
7400
+ ngOnDestroy() {
7401
+ this.unsubscribe.next();
7402
+ this.unsubscribe.complete();
7403
+ }
7404
+ /**
7405
+ * Evento disparado ao selecionar um item no lookup
7406
+ */
7407
+ selectOption(event) {
7408
+ if (event && event.code) {
7409
+ this.onSelect.emit(event);
7410
+ }
7411
+ }
7412
+ /**
7413
+ * Evento disparado ao limpar o campo
7414
+ */
7415
+ onClearItem(event) {
7416
+ this.onClear.emit(event);
7417
+ }
7418
+ /**
7419
+ * Requisição de busca no lookup
7420
+ */
7421
+ searchRequest($event) {
7422
+ const endpoint = "hcm/general_register/queries/transportationVoucherScaleFilterQuery";
7423
+ const isLookupOpen = $event && $event.filterData;
7424
+ $event = Object.assign({}, this.getValueEvent($event, isLookupOpen));
7425
+ const filter = new TransportationVoucherScaleLookupDto($event);
7426
+ this.lookupService
7427
+ .lookupRequestPost(filter.getToFilter(), endpoint, [...this.concatFieldsName], "displayField")
7428
+ .pipe(takeUntil(this.unsubscribe))
7429
+ .subscribe((data) => {
7430
+ if (isLookupOpen) {
7431
+ this.searchGridData = data && [...data.contents];
7432
+ }
7433
+ else {
7434
+ this.lookupSuggestions = data && [...data.contents];
7435
+ }
7436
+ this.totalRecords = data && data.totalElements;
7437
+ });
7438
+ }
7439
+ /**
7440
+ * Formata o evento de pesquisa
7441
+ */
7442
+ getValueEvent($event, isLookupOpen) {
7443
+ if (isLookupOpen) {
7444
+ return $event;
7445
+ }
7446
+ else {
7447
+ return {
7448
+ filterData: {
7449
+ searchText: $event
7450
+ },
7451
+ };
7452
+ }
7453
+ }
7454
+ /**
7455
+ * Busca dados do autocomplete
7456
+ */
7457
+ getAutoComplete(entity, params, code, displayField, filterParams = null, codeIsString = false, service = ServiceType.PAYROLL) {
7458
+ const searchFields = [
7459
+ { name: code, type: FieldType.Integer },
7460
+ { name: displayField, type: FieldType.String },
7461
+ ];
7462
+ const concatFields = Object.assign({ code: { searchValue: params } }, filterParams);
7463
+ this.autocompleteService
7464
+ .getAutoComplete(entity, concatFields, searchFields, codeIsString, service)
7465
+ .pipe(takeUntil(this.unsubscribe))
7466
+ .subscribe((data) => {
7467
+ this.suggestionsObservable.next(data || []);
7468
+ });
7469
+ }
7470
+ /**
7471
+ * Busca dados via query customizada
7472
+ */
7473
+ getAutocompleteQuery(query, params, service = ServiceType.PAYROLL) {
7474
+ this.autocompleteService
7475
+ .getAutoCompleteQuery(query, params, service)
7476
+ .pipe(takeUntil(this.unsubscribe))
7477
+ .subscribe((data) => {
7478
+ if (query === "autocompleteTransportationVoucherScaleGroupQuery") {
7479
+ data.forEach((item) => {
7480
+ if (item.fields && item.fields.length >= 2) {
7481
+ // Extrai o valor concatenado do segundo field (TransportationVoucherScaleGroupNameI18n)
7482
+ item["value"] = item.fields[1].value;
7483
+ // Extrai o id do tableId
7484
+ item["id"] = item.tableId;
7485
+ }
7486
+ });
7487
+ }
7488
+ this.suggestionsObservable.next(data || []);
7489
+ });
7490
+ }
7491
+ };
7492
+ TransportationVoucherScaleLookupComponent.ctorParameters = () => [
7493
+ { type: AutocompleteService$1 },
7494
+ { type: LookupService$2 },
7495
+ { type: TranslateService },
7496
+ { type: ChangeDetectorRef }
7497
+ ];
7498
+ __decorate([
7499
+ ViewChild("transportationVoucherScaleEl", { static: false })
7500
+ ], TransportationVoucherScaleLookupComponent.prototype, "transportationVoucherScaleEl", void 0);
7501
+ __decorate([
7502
+ Input()
7503
+ ], TransportationVoucherScaleLookupComponent.prototype, "required", void 0);
7504
+ __decorate([
7505
+ Input()
7506
+ ], TransportationVoucherScaleLookupComponent.prototype, "disabled", void 0);
7507
+ __decorate([
7508
+ Input()
7509
+ ], TransportationVoucherScaleLookupComponent.prototype, "form", void 0);
7510
+ __decorate([
7511
+ Input()
7512
+ ], TransportationVoucherScaleLookupComponent.prototype, "name", void 0);
7513
+ __decorate([
7514
+ Output()
7515
+ ], TransportationVoucherScaleLookupComponent.prototype, "onSelect", void 0);
7516
+ __decorate([
7517
+ Output()
7518
+ ], TransportationVoucherScaleLookupComponent.prototype, "onClear", void 0);
7519
+ __decorate([
7520
+ Output()
7521
+ ], TransportationVoucherScaleLookupComponent.prototype, "onBlur", void 0);
7522
+ TransportationVoucherScaleLookupComponent = __decorate([
7523
+ Component({
7524
+ // tslint:disable-next-line:component-selector
7525
+ selector: "c-transportation-voucher-scale-lookup",
7526
+ template: "<div [formGroup]=\"form\">\n <s-lookup\n #transportationVoucherScaleEl\n id=\"transportationVoucherScale\"\n dataKey=\"code\"\n (onSelect)=\"selectOption($event)\"\n (onClear)=\"onClearItem($event)\"\n [formControlName]=\"name\"\n (onLookupRequest)=\"searchRequest($event)\"\n (onSearchRequest)=\"searchRequest($event)\"\n filterTitle=\"{{ 'hcm.payroll.filters' | translate }}\"\n filterLabel=\"{{ 'hcm.payroll.filter' | translate }}\"\n clearLabel=\"{{ 'hcm.payroll.lookup_generic_clean_filter_label' | translate }}\"\n cancelLabel=\"{{ 'hcm.payroll.cancel' | translate }}\"\n selectLabel=\"{{ 'hcm.payroll.lookup_btn_select_label' | translate }}\"\n [disabled]=\"disabled\"\n [lookupSuggestions]=\"lookupSuggestions\"\n lookupEmptyMessage=\"{{ 'hcm.payroll.lookup_auto_complete_empty_message' | translate }}\"\n [searchGridData]=\"searchGridData\"\n [searchFields]=\"searchFields\"\n placeholder=\"{{'hcm.payroll.suggestions' | translate}}\"\n [searchTotalRecords]=\"totalRecords\"\n searchTotalRecordsLabel=\"{{ totalRecords }} {{\n 'hcm.payroll.admission_registers' | translate\n }}\"\n [searchGridFields]=\"gridFields\"\n searchTitle=\"{{ 'hcm.payroll.transportation_voucher_scale' | translate }}\"\n lookupDisplayField=\"displayField\"\n ></s-lookup>\n</div>\n"
7527
+ })
7528
+ ], TransportationVoucherScaleLookupComponent);
7529
+
7530
+ let TransportationVoucherScaleLookupModule = class TransportationVoucherScaleLookupModule {
7531
+ };
7532
+ TransportationVoucherScaleLookupModule = __decorate([
7533
+ NgModule({
7534
+ imports: [
7535
+ CommonModule,
7536
+ FormsModule,
7537
+ ReactiveFormsModule,
7538
+ TranslateModule,
7539
+ HttpClientModule,
7540
+ LocaleModule.forChild(),
7541
+ DynamicFormModule,
7542
+ ],
7543
+ declarations: [TransportationVoucherScaleLookupComponent],
7544
+ exports: [TransportationVoucherScaleLookupComponent],
7545
+ providers: [AutocompleteService$1, LookupService$2, MessageService],
7546
+ })
7547
+ ], TransportationVoucherScaleLookupModule);
7548
+
7032
7549
  let HistoricalBankAccountComponent = class HistoricalBankAccountComponent {
7033
7550
  constructor(confirmationService, translateService, activatedRoute, cd, formBuilder) {
7034
7551
  this.confirmationService = confirmationService;
@@ -7747,7 +8264,7 @@ HistoricalBankAccountListService = __decorate([
7747
8264
  Injectable()
7748
8265
  ], HistoricalBankAccountListService);
7749
8266
 
7750
- const moment$c = moment_;
8267
+ const moment$f = moment_;
7751
8268
  let HistoricalBankAccountListComponent = class HistoricalBankAccountListComponent {
7752
8269
  constructor(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalBankAccountListService) {
7753
8270
  this.confirmationService = confirmationService;
@@ -7802,7 +8319,7 @@ let HistoricalBankAccountListComponent = class HistoricalBankAccountListComponen
7802
8319
  }
7803
8320
  onLazyLoad(payload) {
7804
8321
  payload.forEach((value) => {
7805
- value.dateWhen = moment$c(value.dateWhen).format(this.dateFormat);
8322
+ value.dateWhen = moment$f(value.dateWhen).format(this.dateFormat);
7806
8323
  });
7807
8324
  this.onGridLoad(payload);
7808
8325
  this.loading = false;
@@ -7812,7 +8329,7 @@ let HistoricalBankAccountListComponent = class HistoricalBankAccountListComponen
7812
8329
  {
7813
8330
  label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
7814
8331
  command: () => {
7815
- const dateWhen = rowData && rowData.dateWhen && moment$c(rowData.dateWhen, this.dateFormat).format("YYYY-MM-DD");
8332
+ const dateWhen = rowData && rowData.dateWhen && moment$f(rowData.dateWhen, this.dateFormat).format("YYYY-MM-DD");
7816
8333
  if (this.withSidebar)
7817
8334
  this.router.navigate([`historical-bank-account/${dateWhen}`], {
7818
8335
  relativeTo: this.activatedRoute,
@@ -7840,7 +8357,7 @@ let HistoricalBankAccountListComponent = class HistoricalBankAccountListComponen
7840
8357
  }
7841
8358
  delete(id, dateWhen) {
7842
8359
  if (id === this.lastRecord.id) {
7843
- const dateWhenToDto = moment$c(dateWhen, this.dateFormat).format("YYYY-MM-DD");
8360
+ const dateWhenToDto = moment$f(dateWhen, this.dateFormat).format("YYYY-MM-DD");
7844
8361
  this.confirmationService.confirm({
7845
8362
  message: `${this.translateService.instant("hcm.payroll.employees_movimentation_historical_bank_account_question_confirm_delete")}?`,
7846
8363
  accept: () => {
@@ -8014,9 +8531,9 @@ class EntityODataParameter {
8014
8531
  }
8015
8532
  }
8016
8533
 
8017
- const moment$d = moment_;
8018
- const dateStartG5 = moment$d('31/12/1900', 'DD/MM/YYYY');
8019
- const dateEndG5 = moment$d('04/06/2080', 'DD/MM/YYYY');
8534
+ const moment$g = moment_;
8535
+ const dateStartG5 = moment$g('31/12/1900', 'DD/MM/YYYY');
8536
+ const dateEndG5 = moment$g('04/06/2080', 'DD/MM/YYYY');
8020
8537
  class DateValidator {
8021
8538
  constructor() { }
8022
8539
  /**
@@ -8031,7 +8548,7 @@ class DateValidator {
8031
8548
  const value = removeCharacteresSpecials(control.value);
8032
8549
  dateFormat = removeCharacteresSpecials(dateFormat);
8033
8550
  if (value && dateFormat && value.length === dateFormat.length && !control.value.includes('_')) {
8034
- const dateValue = moment$d(value, dateFormat);
8551
+ const dateValue = moment$g(value, dateFormat);
8035
8552
  const valid = dateValue.isValid();
8036
8553
  const isValidRange = useG5DateRange ? dateValue.isBetween(dateStartG5, dateEndG5, null, '[]') : true;
8037
8554
  return valid && isValidRange ? null : { invalidDate: true };
@@ -8065,8 +8582,8 @@ class DateValidator {
8065
8582
  const value = removeCharacteresSpecials(control.value);
8066
8583
  dateFormat = removeCharacteresSpecials(dateFormat);
8067
8584
  if (value && dateFormat && value.length === dateFormat.length && !control.value.includes('_')) {
8068
- const referenceDate = moment$d(value, dateFormat);
8069
- const compareTo = moment$d(compareToDate, dateFormat);
8585
+ const referenceDate = moment$g(value, dateFormat);
8586
+ const compareTo = moment$g(compareToDate, dateFormat);
8070
8587
  return this.dateCompare(referenceDate, compareTo, compareType, options);
8071
8588
  }
8072
8589
  return null;
@@ -9705,7 +10222,7 @@ HistoricalPixAccountListService = __decorate([
9705
10222
  Injectable()
9706
10223
  ], HistoricalPixAccountListService);
9707
10224
 
9708
- const moment$e = moment_;
10225
+ const moment$h = moment_;
9709
10226
  let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent {
9710
10227
  constructor(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalPixAccountListService) {
9711
10228
  this.confirmationService = confirmationService;
@@ -9747,7 +10264,7 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
9747
10264
  }
9748
10265
  onLazyLoad(payload) {
9749
10266
  payload.forEach((value) => {
9750
- value.dateChange = moment$e(value.dateChange).format(this.dateFormat);
10267
+ value.dateChange = moment$h(value.dateChange).format(this.dateFormat);
9751
10268
  });
9752
10269
  this.onGridLoad(payload);
9753
10270
  this.loading = false;
@@ -9758,7 +10275,7 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
9758
10275
  label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
9759
10276
  command: () => {
9760
10277
  if (this.isAllowToViewHistorical) {
9761
- const dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
10278
+ const dateChange = rowData && rowData.dateChange && moment$h(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
9762
10279
  if (this.withSidebar) {
9763
10280
  this.isOnlyView.emit(true);
9764
10281
  this.router.navigate([`historical-pix-account/${dateChange}`], {
@@ -9778,7 +10295,7 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
9778
10295
  label: this.translateService.instant("hcm.payroll.edit"),
9779
10296
  command: () => {
9780
10297
  if (this.isAllowToEditHistorical) {
9781
- const dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
10298
+ const dateChange = rowData && rowData.dateChange && moment$h(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
9782
10299
  if (this.withSidebar) {
9783
10300
  this.isOnlyView.emit(false);
9784
10301
  this.isOnlyEdit.emit(true);
@@ -9810,7 +10327,7 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
9810
10327
  }
9811
10328
  delete(id, dateChange) {
9812
10329
  if (id === this.lastRecord.id) {
9813
- const dateChangeToDto = moment$e(dateChange, this.dateFormat).format("YYYY-MM-DD");
10330
+ const dateChangeToDto = moment$h(dateChange, this.dateFormat).format("YYYY-MM-DD");
9814
10331
  this.confirmationService.confirm({
9815
10332
  message: `${this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_question_confirm_delete")}?`,
9816
10333
  accept: () => {
@@ -9982,5 +10499,5 @@ HistoricalPixAccountListModule = __decorate([
9982
10499
  * Generated bundle index. Do not edit.
9983
10500
  */
9984
10501
 
9985
- export { AdmissionDraftSummaryComponent, AdmissionDraftSummaryModule, AdmissionDraftSummaryService, AutocompleteParametersService, BlockUiComponent, BlockUiModule, BreadcrumbComponent, BreadcrumbSDSModule, CNPJValidator, CPFValidator, CompanyIndicationType, CompanyIndicationsService, CompareType, ControlMessagesErrorComponent, ControlMessagesErrorModule, CoreDirectives, CoreFieldType, CustomFieldsComponent, CustomFieldsModule, DataListModule, DataListRestModule, DateValidator, DirectionEnumeration, EmployeeSelectorComponent, EmployeeSelectorModule, EmployeeSummaryComponent, EmployeeSummaryModule, EmployeeSummaryService, EntityODataParameter, ErrorPageComponent, ErrorPageModule, FieldValidatorComponent, FieldValidatorModule, FileUploadComponent, FileUploadCoreModule, FormComparatorService, FromToComponent, FromToModule, HistoricalBankAccountComponent, HistoricalBankAccountListComponent, HistoricalBankAccountListModule, HistoricalBankAccountListService, HistoricalBankAccountModule, HistoricalBankAccountService, HistoricalPixAccountComponent, HistoricalPixAccountListComponent, HistoricalPixAccountListModule, HistoricalPixAccountListService, HistoricalPixAccountModule, HistoricalPixAccountService, HttpClientService, HttpRequestType, ImageCropComponent, ImageCropModule, ImageCropService, InputDateComponent, InputDateModelComponent, InputDateModelModule, InputDateModule, InputRestAutoCompleteComponent, InputRestAutoCompleteEmployeeModelModule, InputRestAutoCompleteEmployeeModelService, InputRestAutoCompleteEmployeeModule, InputRestAutoCompleteEmployeeService, InputRestAutoCompleteEnumComponent, InputRestAutoCompleteEnumModule, InputRestAutoCompleteEnumService, InputRestAutoCompleteJobpositionComponent, InputRestAutoCompleteJobpositionModule, InputRestAutoCompleteJobpositionService, InputRestAutoCompleteModelEnumModule, InputRestAutoCompleteModelEnumService, InputRestAutoCompleteModelModule, InputRestAutoCompleteModelService, InputRestAutoCompleteModule, InputRestAutoCompleteService, IntegrationService, ListRestComponent, ListRestModule, LookupModule, LookupParametersService, MenuType, ModuleType, NameNotSpacesDirective, OnlyNumberDirective, Operators, ParameterType, PermissionService, ReportFormat, ReportService, ReportStage, ServiceType, ServicesModule, SpinnerLoaderComponent, SpinnerLoaderModule, StringMethods, ToastComponent, ToastModule, ToastService, TypeAdmissionModule, TypeAdmissionServices, UsingType, WorkflowDataService, WorkflowIntegrator, WorkstationgroupLookupDto, WorkstationgroupLookupModule, _moment, assign, autoCompleteObjectForIdObject, clearValues, cnpjValidator, compareValues, configEnabledFields, containsMoreThanOneConsecutiveAbbreviation, containsMoreThanOneConsecutiveBlankSpace, containsMoreThanTwoRepeatedCharacters, containsSpecialCharacters, convertBooleanString, convertStringToBoolean, cpfValidator, firstNameIsValid, firstNameLengthIsValid, formatMoney, fullNameLengthIsValid, getAddWeekDaysBusiness, getFormat, getFormatDate, getMoment, getNowDate, getObjValids, getQueryParams, getWeekDaysBusiness, getYears, invertFieldDate, isBirthDayValid, isDateCompare, isDateExpirationBeforeExpeditionDate, isDateField, isDateSameOrAfterCurrentDate, isFullDate, isMax, isNumber, isObject, isRequired, isShallow, isValid, isValidDate, isValidPIS, mountCustomForSave, mountCustomForShow, mountCustomToSave, mountCustomToShow, mountGeneratedCustomToSave, ngCalendarFormat, notEmpty, numberOrZero, removeCharacteresSpecials, removeEmpty, removeWhiteSpaces, setCustonFields, setDisableField, setErrors, setRequired, setRequiredFields, setValidator, setValidatorsAndDisableFields, setValueCustom, stringMethods, sun, uiid, validateBirthDate, verifyValidationsForm, SharedModule as ɵa, DataListRestComponent as ɵb, DataListRestService as ɵc, FileUploadService as ɵd, InputRestAutoCompleteEmployeeComponent as ɵe, InputRestAutoCompleteEmployeeModelComponent as ɵf, InputRestAutoCompleteModelComponent as ɵg, InputRestAutoCompleteModelEnumComponent as ɵh, ListRestService as ɵi, DataListComponent as ɵj, DataListService as ɵk, LookupComponent as ɵl, LookupService as ɵm, WorkstationgroupLookupComponent as ɵn, AutocompleteService as ɵo, LookupService$1 as ɵp, HistoricalBankAccountFormComponent as ɵq, HistoricalPixAccountFormComponent as ɵr };
10502
+ export { AdmissionDraftSummaryComponent, AdmissionDraftSummaryModule, AdmissionDraftSummaryService, AutocompleteParametersService, AutocompleteService$1 as AutocompleteService, BlockUiComponent, BlockUiModule, BreadcrumbComponent, BreadcrumbSDSModule, CNPJValidator, CPFValidator, CompanyIndicationType, CompanyIndicationsService, CompareType, ControlMessagesErrorComponent, ControlMessagesErrorModule, CoreDirectives, CoreFieldType, CustomFieldsComponent, CustomFieldsModule, DataListModule, DataListRestModule, DateValidator, DirectionEnumeration, EmployeeSelectorComponent, EmployeeSelectorModule, EmployeeSummaryComponent, EmployeeSummaryModule, EmployeeSummaryService, EntityODataParameter, ErrorPageComponent, ErrorPageModule, FieldValidatorComponent, FieldValidatorModule, FileUploadComponent, FileUploadCoreModule, FormComparatorService, FromToComponent, FromToModule, HistoricalBankAccountComponent, HistoricalBankAccountListComponent, HistoricalBankAccountListModule, HistoricalBankAccountListService, HistoricalBankAccountModule, HistoricalBankAccountService, HistoricalPixAccountComponent, HistoricalPixAccountListComponent, HistoricalPixAccountListModule, HistoricalPixAccountListService, HistoricalPixAccountModule, HistoricalPixAccountService, HttpClientService, HttpRequestType, ImageCropComponent, ImageCropModule, ImageCropService, InputDateComponent, InputDateModelComponent, InputDateModelModule, InputDateModule, InputRestAutoCompleteComponent, InputRestAutoCompleteEmployeeModelModule, InputRestAutoCompleteEmployeeModelService, InputRestAutoCompleteEmployeeModule, InputRestAutoCompleteEmployeeService, InputRestAutoCompleteEnumComponent, InputRestAutoCompleteEnumModule, InputRestAutoCompleteEnumService, InputRestAutoCompleteJobpositionComponent, InputRestAutoCompleteJobpositionModule, InputRestAutoCompleteJobpositionService, InputRestAutoCompleteModelEnumModule, InputRestAutoCompleteModelEnumService, InputRestAutoCompleteModelModule, InputRestAutoCompleteModelService, InputRestAutoCompleteModule, InputRestAutoCompleteService, IntegrationService, ListRestComponent, ListRestModule, LookupModule, LookupParametersService, LookupService$2 as LookupService, MenuType, ModuleType, NameNotSpacesDirective, OnlyNumberDirective, Operators, ParameterType, PermissionService, ReportFormat, ReportService, ReportStage, ServiceType, ServicesModule, SpinnerLoaderComponent, SpinnerLoaderModule, StringMethods, ToastComponent, ToastModule, ToastService, TransportationVoucherScaleLookupComponent, TransportationVoucherScaleLookupDto, TransportationVoucherScaleLookupModule, TypeAdmissionModule, TypeAdmissionServices, UsingType, WorkflowDataService, WorkflowIntegrator, WorkstationgroupLookupDto, WorkstationgroupLookupModule, _moment, assign, autoCompleteObjectForIdObject, clearValues, cnpjValidator, compareValues, configEnabledFields, containsMoreThanOneConsecutiveAbbreviation, containsMoreThanOneConsecutiveBlankSpace, containsMoreThanTwoRepeatedCharacters, containsSpecialCharacters, convertBooleanString, convertStringToBoolean, cpfValidator, firstNameIsValid, firstNameLengthIsValid, formatMoney, fullNameLengthIsValid, getAddWeekDaysBusiness, getFormat, getFormatDate, getMoment, getNowDate, getObjValids, getQueryParams, getWeekDaysBusiness, getYears, invertFieldDate, isBirthDayValid, isDateCompare, isDateExpirationBeforeExpeditionDate, isDateField, isDateSameOrAfterCurrentDate, isFullDate, isMax, isNumber, isObject, isRequired, isShallow, isValid, isValidDate, isValidPIS, mountCustomForSave, mountCustomForShow, mountCustomToSave, mountCustomToShow, mountGeneratedCustomToSave, ngCalendarFormat, notEmpty, numberOrZero, removeCharacteresSpecials, removeEmpty, removeWhiteSpaces, setCustonFields, setDisableField, setErrors, setRequired, setRequiredFields, setValidator, setValidatorsAndDisableFields, setValueCustom, stringMethods, sun, uiid, validateBirthDate, verifyValidationsForm, SharedModule as ɵa, DataListRestComponent as ɵb, DataListRestService as ɵc, FileUploadService as ɵd, InputRestAutoCompleteEmployeeComponent as ɵe, InputRestAutoCompleteEmployeeModelComponent as ɵf, InputRestAutoCompleteModelComponent as ɵg, InputRestAutoCompleteModelEnumComponent as ɵh, ListRestService as ɵi, DataListComponent as ɵj, DataListService as ɵk, LookupComponent as ɵl, LookupService as ɵm, WorkstationgroupLookupComponent as ɵn, AutocompleteService as ɵo, LookupService$1 as ɵp, HistoricalBankAccountFormComponent as ɵq, HistoricalPixAccountFormComponent as ɵr };
9986
10503
  //# sourceMappingURL=senior-gestao-pessoas-payroll-core.js.map