@senior-gestao-pessoas/hcm-entity-lookups 5.2.0 → 5.2.1-develop-3dc174fb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/senior-gestao-pessoas-hcm-entity-lookups.umd.js +1434 -298
- package/bundles/senior-gestao-pessoas-hcm-entity-lookups.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-hcm-entity-lookups.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-hcm-entity-lookups.umd.min.js.map +1 -1
- package/core/dto/lookup-service-config.d.ts +1 -0
- package/core/entities/irrf-taxation/irrf-taxation-dto.d.ts +0 -2
- package/core/enums/accumulator-type.d.ts +4 -0
- package/core/enums/characteristic-type.d.ts +1094 -0
- package/core/index.d.ts +1 -0
- package/esm2015/core/dto/lookup-service-config.js +1 -1
- package/esm2015/core/entities/irrf-taxation/irrf-taxation-dto.js +1 -1
- package/esm2015/core/entities/irrf-taxation/irrf-taxation.js +2 -2
- package/esm2015/core/enums/accumulator-type.js +7 -1
- package/esm2015/core/enums/characteristic-type.js +1098 -0
- package/esm2015/core/index.js +2 -1
- package/esm2015/lookups/characteristics-lookup/characteristics-lookup.service.js +11 -8
- package/esm2015/lookups/fgts-taxation-lookup/fgts-taxation-lookup.component.js +4 -9
- package/esm2015/lookups/fgts-taxation-lookup/fgts-taxation-lookup.service.js +26 -11
- package/esm2015/lookups/inss-taxation-lookup/inss-taxation-lookup.component.js +4 -9
- package/esm2015/lookups/inss-taxation-lookup/inss-taxation-lookup.service.js +22 -17
- package/esm2015/lookups/irrf-taxation-lookup/irrf-taxation-lookup.component.js +4 -9
- package/esm2015/lookups/irrf-taxation-lookup/irrf-taxation-lookup.service.js +17 -12
- package/esm2015/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.service.js +13 -3
- package/esm5/core/dto/lookup-service-config.js +1 -1
- package/esm5/core/entities/irrf-taxation/irrf-taxation-dto.js +1 -1
- package/esm5/core/entities/irrf-taxation/irrf-taxation.js +2 -2
- package/esm5/core/enums/accumulator-type.js +7 -1
- package/esm5/core/enums/characteristic-type.js +1098 -0
- package/esm5/core/index.js +2 -1
- package/esm5/lookups/characteristics-lookup/characteristics-lookup.service.js +11 -8
- package/esm5/lookups/fgts-taxation-lookup/fgts-taxation-lookup.component.js +4 -9
- package/esm5/lookups/fgts-taxation-lookup/fgts-taxation-lookup.service.js +26 -11
- package/esm5/lookups/inss-taxation-lookup/inss-taxation-lookup.component.js +4 -9
- package/esm5/lookups/inss-taxation-lookup/inss-taxation-lookup.service.js +21 -16
- package/esm5/lookups/irrf-taxation-lookup/irrf-taxation-lookup.component.js +4 -9
- package/esm5/lookups/irrf-taxation-lookup/irrf-taxation-lookup.service.js +17 -12
- package/esm5/lookups/pis-pasep-taxation-lookup/pis-pasep-taxation-lookup.service.js +13 -3
- package/fesm2015/senior-gestao-pessoas-hcm-entity-lookups.js +1435 -300
- package/fesm2015/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-hcm-entity-lookups.js +1434 -299
- package/fesm5/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/lookups/characteristics-lookup/characteristics-lookup.service.d.ts +2 -1
- package/lookups/fgts-taxation-lookup/fgts-taxation-lookup.component.d.ts +0 -1
- package/lookups/fgts-taxation-lookup/fgts-taxation-lookup.service.d.ts +2 -3
- package/lookups/inss-taxation-lookup/inss-taxation-lookup.component.d.ts +0 -1
- package/lookups/inss-taxation-lookup/inss-taxation-lookup.service.d.ts +2 -3
- package/lookups/irrf-taxation-lookup/irrf-taxation-lookup.component.d.ts +0 -1
- package/lookups/irrf-taxation-lookup/irrf-taxation-lookup.service.d.ts +2 -3
- package/package.json +1 -1
- package/senior-gestao-pessoas-hcm-entity-lookups.metadata.json +1 -1
|
@@ -1005,12 +1005,22 @@
|
|
|
1005
1005
|
PisPasepTaxationLookupService.prototype.getPisPasepTaxationSearchFields = function () {
|
|
1006
1006
|
return [
|
|
1007
1007
|
new angularComponents.FormField({
|
|
1008
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".
|
|
1008
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".pis_pasep_taxation_group_code_grid"),
|
|
1009
|
+
name: "pisPasepTaxationGroup.code",
|
|
1010
|
+
type: angularComponents.FieldType.Integer
|
|
1011
|
+
}),
|
|
1012
|
+
new angularComponents.FormField({
|
|
1013
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".pis_pasep_taxation_group_name_grid"),
|
|
1014
|
+
name: "pisPasepTaxationGroup.description",
|
|
1015
|
+
type: angularComponents.FieldType.String
|
|
1016
|
+
}),
|
|
1017
|
+
new angularComponents.FormField({
|
|
1018
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".pis_pasep_taxation_code_grid"),
|
|
1009
1019
|
name: "code",
|
|
1010
1020
|
type: angularComponents.FieldType.Integer
|
|
1011
1021
|
}),
|
|
1012
1022
|
new angularComponents.FormField({
|
|
1013
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".
|
|
1023
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".pis_pasep_taxation_description_grid"),
|
|
1014
1024
|
name: "description",
|
|
1015
1025
|
type: angularComponents.FieldType.String
|
|
1016
1026
|
}),
|
|
@@ -7687,252 +7697,1352 @@
|
|
|
7687
7697
|
return CharacteristicsService;
|
|
7688
7698
|
}(EntityService));
|
|
7689
7699
|
|
|
7690
|
-
var CharacteristicsLookupService = /** @class */ (function () {
|
|
7691
|
-
function CharacteristicsLookupService(translate, configService, characteristicsService) {
|
|
7692
|
-
this.translate = translate;
|
|
7693
|
-
this.configService = configService;
|
|
7694
|
-
this.characteristicsService = characteristicsService;
|
|
7695
|
-
this.characteristicsLookupDisplayFields = ["characteristicType", "description", "XTCharacteristicCode"];
|
|
7696
|
-
this.lookupServiceConfig = {
|
|
7697
|
-
lookupDisplayFields: this.characteristicsLookupDisplayFields,
|
|
7698
|
-
lookupSeparator: " - ",
|
|
7699
|
-
searchSubject: new rxjs.Subject(),
|
|
7700
|
-
lookupSubject: new rxjs.Subject(),
|
|
7701
|
-
entityName: "characteristics",
|
|
7702
|
-
dynamicFormOptions: {
|
|
7703
|
-
cancelLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".cancel"),
|
|
7704
|
-
clearLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".clear"),
|
|
7705
|
-
dataKey: "id",
|
|
7706
|
-
emptyFieldLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".list_grid_empty_field"),
|
|
7707
|
-
emptyMessage: this.translate.instant(this.configService.getTranslationPrefix() + ".empty_message_field"),
|
|
7708
|
-
filterLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".filter"),
|
|
7709
|
-
filterTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".filters"),
|
|
7710
|
-
lookupDisplayField: "label",
|
|
7711
|
-
multiple: false,
|
|
7712
|
-
name: "characteristics",
|
|
7713
|
-
recordLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
7714
|
-
recordsLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
7715
|
-
required: true,
|
|
7716
|
-
searchEmptyTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".nothing_found"),
|
|
7717
|
-
searchFields: this.getCharacteristicsSearchFields(),
|
|
7718
|
-
searchGridFields: this.getCharacteristicsSearchFields(),
|
|
7719
|
-
selectLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".select"),
|
|
7720
|
-
visible: true,
|
|
7721
|
-
isCollective: false,
|
|
7722
|
-
},
|
|
7723
|
-
filters: {
|
|
7724
|
-
additionalFilter: undefined,
|
|
7725
|
-
initialFilter: undefined,
|
|
7726
|
-
},
|
|
7727
|
-
};
|
|
7728
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
7729
|
-
}
|
|
7730
|
-
CharacteristicsLookupService.prototype.setDisplayFields = function (fields) {
|
|
7731
|
-
this.characteristicsLookupDisplayFields = fields;
|
|
7732
|
-
if (this.lookupServiceConfig) {
|
|
7733
|
-
this.lookupServiceConfig.lookupDisplayFields = fields;
|
|
7734
|
-
}
|
|
7735
|
-
};
|
|
7736
|
-
CharacteristicsLookupService.prototype.updateSuggestions = function (value) {
|
|
7737
|
-
if (value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName]) {
|
|
7738
|
-
value[this.lookupServiceConfig.entityName].label = this.getSuggestionValue(this.lookupServiceConfig.lookupDisplayFields, this.lookupServiceConfig.entityName, value, this.lookupServiceConfig.lookupSeparator);
|
|
7739
|
-
if ((value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName].label.trim()) === this.lookupServiceConfig.lookupSeparator.trim()) {
|
|
7740
|
-
delete value[this.lookupServiceConfig.entityName].label;
|
|
7741
|
-
}
|
|
7742
|
-
}
|
|
7743
|
-
};
|
|
7744
|
-
CharacteristicsLookupService.prototype.getSuggestionValue = function (displayFields, ownerEntity, value, separator) {
|
|
7745
|
-
return displayFields
|
|
7746
|
-
.map(function (field) { return getProp(value, ownerEntity + "." + field); })
|
|
7747
|
-
.reduce(function (acc, val) { return "" + acc + separator + val; });
|
|
7748
|
-
};
|
|
7749
|
-
CharacteristicsLookupService.prototype.getFormField = function () {
|
|
7750
|
-
var _this = this;
|
|
7751
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
7752
|
-
return new angularComponents.FormField({
|
|
7753
|
-
cancelLabel: (_a = this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.cancelLabel,
|
|
7754
|
-
clearLabel: (_b = this.lookupServiceConfig.dynamicFormOptions) === null || _b === void 0 ? void 0 : _b.clearLabel,
|
|
7755
|
-
recordLabel: (_c = this.lookupServiceConfig.dynamicFormOptions) === null || _c === void 0 ? void 0 : _c.recordLabel,
|
|
7756
|
-
recordsLabel: (_d = this.lookupServiceConfig.dynamicFormOptions) === null || _d === void 0 ? void 0 : _d.recordsLabel,
|
|
7757
|
-
searchEmptyTitle: (_e = this.lookupServiceConfig.dynamicFormOptions) === null || _e === void 0 ? void 0 : _e.searchEmptyTitle,
|
|
7758
|
-
searchFields: (_f = this.lookupServiceConfig.dynamicFormOptions) === null || _f === void 0 ? void 0 : _f.searchFields,
|
|
7759
|
-
searchTitle: (_g = this.lookupServiceConfig.dynamicFormOptions) === null || _g === void 0 ? void 0 : _g.searchTitle,
|
|
7760
|
-
selectLabel: (_h = this.lookupServiceConfig.dynamicFormOptions) === null || _h === void 0 ? void 0 : _h.selectLabel,
|
|
7761
|
-
dataKey: (_j = this.lookupServiceConfig.dynamicFormOptions) === null || _j === void 0 ? void 0 : _j.dataKey,
|
|
7762
|
-
emptyFieldLabel: (_k = this.lookupServiceConfig.dynamicFormOptions) === null || _k === void 0 ? void 0 : _k.emptyFieldLabel,
|
|
7763
|
-
emptyMessage: (_l = this.lookupServiceConfig.dynamicFormOptions) === null || _l === void 0 ? void 0 : _l.emptyMessage,
|
|
7764
|
-
filterLabel: (_m = this.lookupServiceConfig.dynamicFormOptions) === null || _m === void 0 ? void 0 : _m.filterLabel,
|
|
7765
|
-
filterTitle: (_o = this.lookupServiceConfig.dynamicFormOptions) === null || _o === void 0 ? void 0 : _o.filterTitle,
|
|
7766
|
-
label: (_p = this.lookupServiceConfig.dynamicFormOptions) === null || _p === void 0 ? void 0 : _p.label,
|
|
7767
|
-
lookupDisplayField: (_q = this.lookupServiceConfig.dynamicFormOptions) === null || _q === void 0 ? void 0 : _q.lookupDisplayField,
|
|
7768
|
-
multiple: (_r = this.lookupServiceConfig.dynamicFormOptions) === null || _r === void 0 ? void 0 : _r.multiple,
|
|
7769
|
-
name: (_s = this.lookupServiceConfig.dynamicFormOptions) === null || _s === void 0 ? void 0 : _s.name,
|
|
7770
|
-
onLookupRequest: function (value) { return _this.onCharacteristicsLookupRequest(value); },
|
|
7771
|
-
onSearchRequest: function (event) { return _this.onCharacteristicsSearchRequest(event); },
|
|
7772
|
-
required: function () { var _a; return (_a = _this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.required; },
|
|
7773
|
-
searchObservable: this.lookupServiceConfig.searchSubject,
|
|
7774
|
-
suggestionsObservable: this.lookupServiceConfig.lookupSubject,
|
|
7775
|
-
type: angularComponents.FieldType.Lookup,
|
|
7776
|
-
visible: function () { var _a; return !((_a = _this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.isCollective); },
|
|
7777
|
-
});
|
|
7778
|
-
};
|
|
7779
|
-
CharacteristicsLookupService.prototype.onCharacteristicsSearchRequest = function (event) {
|
|
7780
|
-
var _this = this;
|
|
7781
|
-
var _a, _b;
|
|
7782
|
-
this.onCharacteristicsRequestObservable(event, (_b = (_a = this.lookupServiceConfig) === null || _a === void 0 ? void 0 : _a.filters) === null || _b === void 0 ? void 0 : _b.additionalFilter, true).subscribe(function (data) { return _this.lookupServiceConfig.searchSubject.next(data); });
|
|
7783
|
-
};
|
|
7784
|
-
CharacteristicsLookupService.prototype.onCharacteristicsRequestObservable = function (event, additionalFilter, isDynamicForm) {
|
|
7785
|
-
var _this = this;
|
|
7786
|
-
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
7787
|
-
var first = event.first, rows = event.rows, multiSortMeta = event.multiSortMeta, filterData = event.filterData;
|
|
7788
|
-
var page = first / rows;
|
|
7789
|
-
var sort = multiSortMeta;
|
|
7790
|
-
var characteristicsFilterQuery = createSearchRequestFilter(filterData, this.getCharacteristicsFields());
|
|
7791
|
-
characteristicsFilterQuery = this.getFiltersDefaultRules(characteristicsFilterQuery, additionalFilter);
|
|
7792
|
-
var displayFields = mergeUnique(this.lookupServiceConfig.lookupDisplayFields, __spread(this.lookupServiceConfig.lookupDisplayFields));
|
|
7793
|
-
return this.characteristicsService
|
|
7794
|
-
.list({ page: page, sort: sort, filterQuery: characteristicsFilterQuery, displayFields: displayFields })
|
|
7795
|
-
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
7796
|
-
.pipe(operators.map(function (list) { return _this.mapToComponent(list, isDynamicForm); }));
|
|
7797
|
-
};
|
|
7798
|
-
CharacteristicsLookupService.prototype.getFiltersDefaultRules = function (filterData, additionalFilter) {
|
|
7799
|
-
var filters = [];
|
|
7800
|
-
additionalFilter && filters.push("(" + additionalFilter + ")");
|
|
7801
|
-
filterData && filters.push("(" + filterData + ")");
|
|
7802
|
-
return filters.join(' and ');
|
|
7803
|
-
};
|
|
7804
|
-
CharacteristicsLookupService.prototype.mapToComponent = function (list, isDynamicForm) {
|
|
7805
|
-
var _this = this;
|
|
7806
|
-
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
7807
|
-
if (isDynamicForm) {
|
|
7808
|
-
return ({
|
|
7809
|
-
gridData: list.contents
|
|
7810
|
-
.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }),
|
|
7811
|
-
totalRecords: list === null || list === void 0 ? void 0 : list.totalElements,
|
|
7812
|
-
});
|
|
7813
|
-
}
|
|
7814
|
-
else {
|
|
7815
|
-
return (__assign(__assign({}, list), { contents: list.contents.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }) }));
|
|
7816
|
-
}
|
|
7817
|
-
};
|
|
7818
|
-
CharacteristicsLookupService.prototype.getLabelForMaping = function (item) {
|
|
7819
|
-
var _this = this;
|
|
7820
|
-
return this.lookupServiceConfig.lookupDisplayFields
|
|
7821
|
-
.map(function (field) {
|
|
7822
|
-
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
7823
|
-
item.name = _this.translate
|
|
7824
|
-
.instant(_this.configService.getTranslationPrefix() + ".list_grid_empty_field");
|
|
7825
|
-
}
|
|
7826
|
-
if (field.indexOf(".") > 0) {
|
|
7827
|
-
return getProp(item, field);
|
|
7828
|
-
}
|
|
7829
|
-
return item[field];
|
|
7830
|
-
})
|
|
7831
|
-
.join(this.lookupServiceConfig.lookupSeparator);
|
|
7832
|
-
};
|
|
7833
|
-
CharacteristicsLookupService.prototype.onCharacteristicsLookupRequest = function (value) {
|
|
7834
|
-
var _this = this;
|
|
7835
|
-
var _a, _b;
|
|
7836
|
-
this.onCharacteristicsLookupRequestObservable(value, (_b = (_a = this.lookupServiceConfig) === null || _a === void 0 ? void 0 : _a.filters) === null || _b === void 0 ? void 0 : _b.additionalFilter).subscribe(function (data) { return _this.lookupServiceConfig.lookupSubject.next(data.contents); });
|
|
7837
|
-
};
|
|
7838
|
-
CharacteristicsLookupService.prototype.onCharacteristicsLookupRequestObservable = function (value, additionalFilter, filter) {
|
|
7839
|
-
var _this = this;
|
|
7840
|
-
var sort = this.characteristicsLookupDisplayFields.map(function (field) { return ({
|
|
7841
|
-
field: field,
|
|
7842
|
-
order: 1
|
|
7843
|
-
}); });
|
|
7844
|
-
var filterQuery = createLookupRequestFilter(value, this.getCharacteristicsFields());
|
|
7845
|
-
filterQuery = getFiltersForCustomDisplayFields(filterQuery, filter);
|
|
7846
|
-
var displayFields = this.characteristicsLookupDisplayFields;
|
|
7847
|
-
debugger;
|
|
7848
|
-
return this.characteristicsService
|
|
7849
|
-
.list({ sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
7850
|
-
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
7851
|
-
.pipe(operators.map(function (list) { return _this.mapToComponent(list); }));
|
|
7852
|
-
};
|
|
7853
|
-
CharacteristicsLookupService.prototype.getCharacteristicsFields = function (displayFields) {
|
|
7854
|
-
var fields = [
|
|
7855
|
-
new angularComponents.FormField({
|
|
7856
|
-
name: "characteristicType",
|
|
7857
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".characteristic_type"),
|
|
7858
|
-
type: angularComponents.FieldType.String,
|
|
7859
|
-
}),
|
|
7860
|
-
new angularComponents.FormField({
|
|
7861
|
-
name: "description",
|
|
7862
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".description"),
|
|
7863
|
-
type: angularComponents.FieldType.String,
|
|
7864
|
-
}),
|
|
7865
|
-
new angularComponents.FormField({
|
|
7866
|
-
name: "XTCharacteristicCode",
|
|
7867
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".xt_characteristic_code"),
|
|
7868
|
-
type: angularComponents.FieldType.String,
|
|
7869
|
-
}),
|
|
7870
|
-
];
|
|
7871
|
-
if (displayFields && displayFields.length > 0) {
|
|
7872
|
-
return displayFields
|
|
7873
|
-
.map(function (fieldName) { return fields.find(function (field) { return field.name === fieldName; }); })
|
|
7874
|
-
.filter(function (field) { return field !== undefined; });
|
|
7875
|
-
}
|
|
7876
|
-
return fields;
|
|
7877
|
-
};
|
|
7878
|
-
CharacteristicsLookupService.prototype.getCharacteristicsSearchFields = function (displayFields) {
|
|
7879
|
-
var fields = this.getCharacteristicsFields();
|
|
7880
|
-
if (displayFields && displayFields.length > 0) {
|
|
7881
|
-
return displayFields
|
|
7882
|
-
.map(function (fieldName) { return fields.find(function (field) { return field.name === fieldName; }); })
|
|
7883
|
-
.filter(function (field) { return field !== undefined; });
|
|
7884
|
-
}
|
|
7885
|
-
return fields;
|
|
7886
|
-
};
|
|
7887
|
-
CharacteristicsLookupService.ctorParameters = function () { return [
|
|
7888
|
-
{ type: core$1.TranslateService },
|
|
7889
|
-
{ type: EntityLookupConfigService },
|
|
7890
|
-
{ type: CharacteristicsService }
|
|
7891
|
-
]; };
|
|
7892
|
-
CharacteristicsLookupService = __decorate([
|
|
7893
|
-
core.Injectable()
|
|
7894
|
-
], CharacteristicsLookupService);
|
|
7895
|
-
return CharacteristicsLookupService;
|
|
7896
|
-
}());
|
|
7897
7700
|
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7701
|
+
(function (CharacteristicType) {
|
|
7702
|
+
/**
|
|
7703
|
+
* Horas Normais Diurnas
|
|
7704
|
+
*/
|
|
7705
|
+
CharacteristicType["NORMAL_DAYTIME_HOURS"] = "NORMAL_DAYTIME_HOURS";
|
|
7706
|
+
/**
|
|
7707
|
+
* Horas DSR Diurnas
|
|
7708
|
+
*/
|
|
7709
|
+
CharacteristicType["DSR_DAYTIME_HOURS"] = "DSR_DAYTIME_HOURS";
|
|
7710
|
+
/**
|
|
7711
|
+
* Horas Extras Diurnas
|
|
7712
|
+
*/
|
|
7713
|
+
CharacteristicType["OVERTIME_DAYTIME"] = "OVERTIME_DAYTIME";
|
|
7714
|
+
/**
|
|
7715
|
+
* DSR Horas Extras
|
|
7716
|
+
*/
|
|
7717
|
+
CharacteristicType["DSR_OVERTIME"] = "DSR_OVERTIME";
|
|
7718
|
+
/**
|
|
7719
|
+
* IRRF
|
|
7720
|
+
*/
|
|
7721
|
+
CharacteristicType["IRRF"] = "IRRF";
|
|
7722
|
+
/**
|
|
7723
|
+
* FGTS
|
|
7724
|
+
*/
|
|
7725
|
+
CharacteristicType["FGTS"] = "FGTS";
|
|
7726
|
+
/**
|
|
7727
|
+
* INSS
|
|
7728
|
+
*/
|
|
7729
|
+
CharacteristicType["INSS"] = "INSS";
|
|
7730
|
+
/**
|
|
7731
|
+
* Salário família
|
|
7732
|
+
*/
|
|
7733
|
+
CharacteristicType["FAMILY_SALARY"] = "FAMILY_SALARY";
|
|
7734
|
+
/**
|
|
7735
|
+
* Adicional Noturno
|
|
7736
|
+
*/
|
|
7737
|
+
CharacteristicType["ADDITIONAL_NIGHT"] = "ADDITIONAL_NIGHT";
|
|
7738
|
+
/**
|
|
7739
|
+
* Horas Normais Noturnas
|
|
7740
|
+
*/
|
|
7741
|
+
CharacteristicType["NORMAL_NIGHT_HOURS"] = "NORMAL_NIGHT_HOURS";
|
|
7742
|
+
/**
|
|
7743
|
+
* Horas Repouso Remunerado Noturnas
|
|
7744
|
+
*/
|
|
7745
|
+
CharacteristicType["DSR_NIGHT_HOURS"] = "DSR_NIGHT_HOURS";
|
|
7746
|
+
/**
|
|
7747
|
+
* Licença auxílio doença diurna
|
|
7748
|
+
*/
|
|
7749
|
+
CharacteristicType["DAYTIME_MEDICAL_LEAVE"] = "DAYTIME_MEDICAL_LEAVE";
|
|
7750
|
+
/**
|
|
7751
|
+
* Licença auxílio doença noturna
|
|
7752
|
+
*/
|
|
7753
|
+
CharacteristicType["NIGHTTIME_MEDICAL_LEAVE"] = "NIGHTTIME_MEDICAL_LEAVE";
|
|
7754
|
+
/**
|
|
7755
|
+
* Licença acidente de trabalho diurna
|
|
7756
|
+
*/
|
|
7757
|
+
CharacteristicType["DAYTIME_WORK_ACCIDENT_LEAVE"] = "DAYTIME_WORK_ACCIDENT_LEAVE";
|
|
7758
|
+
/**
|
|
7759
|
+
* Licença acidente de trabalho noturna
|
|
7760
|
+
*/
|
|
7761
|
+
CharacteristicType["NIGHTTIME_WORK_ACCIDENT_LEAVE"] = "NIGHTTIME_WORK_ACCIDENT_LEAVE";
|
|
7762
|
+
/**
|
|
7763
|
+
* Horas faltas diurnas
|
|
7764
|
+
*/
|
|
7765
|
+
CharacteristicType["DAYTIME_ABSENCE"] = "DAYTIME_ABSENCE";
|
|
7766
|
+
/**
|
|
7767
|
+
* Horas faltas repouso remunerado diurnas
|
|
7768
|
+
*/
|
|
7769
|
+
CharacteristicType["DAYTIME_LOST_DSR"] = "DAYTIME_LOST_DSR";
|
|
7770
|
+
/**
|
|
7771
|
+
* Horas faltas noturnas
|
|
7772
|
+
*/
|
|
7773
|
+
CharacteristicType["NIGHTTIME_ABSENCE"] = "NIGHTTIME_ABSENCE";
|
|
7774
|
+
/**
|
|
7775
|
+
* Horas faltas repouso remunerado noturnas
|
|
7776
|
+
*/
|
|
7777
|
+
CharacteristicType["NIGHTTIME_LOST_DSR"] = "NIGHTTIME_LOST_DSR";
|
|
7778
|
+
/**
|
|
7779
|
+
* Horas licença maternidade diurnas
|
|
7780
|
+
*/
|
|
7781
|
+
CharacteristicType["DAYTIME_MATERNITY_LEAVE"] = "DAYTIME_MATERNITY_LEAVE";
|
|
7782
|
+
/**
|
|
7783
|
+
* Horas licença maternidade noturnas
|
|
7784
|
+
*/
|
|
7785
|
+
CharacteristicType["NIGHTTIME_MATERNITY_LEAVE"] = "NIGHTTIME_MATERNITY_LEAVE";
|
|
7786
|
+
/**
|
|
7787
|
+
* Licença maternidade - Aborto não criminoso Diurno
|
|
7788
|
+
*/
|
|
7789
|
+
CharacteristicType["DAYTIME_MATERNITY_LEAVE_NONCRIMINAL_ABORTION"] = "DAYTIME_MATERNITY_LEAVE_NONCRIMINAL_ABORTION";
|
|
7790
|
+
/**
|
|
7791
|
+
* Licença maternidade - Aborto não criminoso Noturno
|
|
7792
|
+
*/
|
|
7793
|
+
CharacteristicType["NIGHTTIME_MATERNITY_LEAVE_NONCRIMINAL_ABORTION"] = "NIGHTTIME_MATERNITY_LEAVE_NONCRIMINAL_ABORTION";
|
|
7794
|
+
/**
|
|
7795
|
+
* Licença maternidade - Prorrogação mediante atestado médico Diurno
|
|
7796
|
+
*/
|
|
7797
|
+
CharacteristicType["DAYTIME_MATERNITY_LEAVE_ANTICIPATION_EXTENSION"] = "DAYTIME_MATERNITY_LEAVE_ANTICIPATION_EXTENSION";
|
|
7798
|
+
/**
|
|
7799
|
+
* Licença maternidade - Prorrogação mediante atestado médico Noturno
|
|
7800
|
+
*/
|
|
7801
|
+
CharacteristicType["NIGHTTIME_MATERNITY_LEAVE_ANTICIPATION_EXTENSION"] = "NIGHTTIME_MATERNITY_LEAVE_ANTICIPATION_EXTENSION";
|
|
7802
|
+
/**
|
|
7803
|
+
* Horas auxílio doença diurnas
|
|
7804
|
+
*/
|
|
7805
|
+
CharacteristicType["DAYTIME_ILLNESS_AID"] = "DAYTIME_ILLNESS_AID";
|
|
7806
|
+
/**
|
|
7807
|
+
* Horas auxílio doença noturnas
|
|
7808
|
+
*/
|
|
7809
|
+
CharacteristicType["NIGHTTIME_ILLNESS_AID"] = "NIGHTTIME_ILLNESS_AID";
|
|
7810
|
+
/**
|
|
7811
|
+
* Horas acidente de trabalho diurnas
|
|
7812
|
+
*/
|
|
7813
|
+
CharacteristicType["DAYTIME_LABOR_ACCIDENT"] = "DAYTIME_LABOR_ACCIDENT";
|
|
7814
|
+
/**
|
|
7815
|
+
* Horas acidente de trabalho noturnas
|
|
7816
|
+
*/
|
|
7817
|
+
CharacteristicType["NIGHTTIME_LABOR_ACCIDENT"] = "NIGHTTIME_LABOR_ACCIDENT";
|
|
7818
|
+
/**
|
|
7819
|
+
* Horas serviço militar diurnas
|
|
7820
|
+
*/
|
|
7821
|
+
CharacteristicType["DAYTIME_MILITARY_SERVICE"] = "DAYTIME_MILITARY_SERVICE";
|
|
7822
|
+
/**
|
|
7823
|
+
* Horas serviço militar noturnas
|
|
7824
|
+
*/
|
|
7825
|
+
CharacteristicType["NIGHTTIME_MILITARY_SERVICE"] = "NIGHTTIME_MILITARY_SERVICE";
|
|
7826
|
+
/**
|
|
7827
|
+
* Horas licença com remuneração diurnas
|
|
7828
|
+
*/
|
|
7829
|
+
CharacteristicType["DAYTIME_PAID_LEAVE"] = "DAYTIME_PAID_LEAVE";
|
|
7830
|
+
/**
|
|
7831
|
+
* Horas licença com remuneração noturnas
|
|
7832
|
+
*/
|
|
7833
|
+
CharacteristicType["NIGHTTIME_PAID_LEAVE"] = "NIGHTTIME_PAID_LEAVE";
|
|
7834
|
+
/**
|
|
7835
|
+
* Horas licença sem remuneração diurnas
|
|
7836
|
+
*/
|
|
7837
|
+
CharacteristicType["DAYTIME_LEAVE_WITHOUT_COMPENSATION"] = "DAYTIME_LEAVE_WITHOUT_COMPENSATION";
|
|
7838
|
+
/**
|
|
7839
|
+
* Horas licença sem remuneração noturnas
|
|
7840
|
+
*/
|
|
7841
|
+
CharacteristicType["NIGHTTIME_LEAVE_WITHOUT_COMPENSATION"] = "NIGHTTIME_LEAVE_WITHOUT_COMPENSATION";
|
|
7842
|
+
/**
|
|
7843
|
+
* Horas licença paternidade diurnas
|
|
7844
|
+
*/
|
|
7845
|
+
CharacteristicType["DAYTIME_PATERNITY_LEAVE"] = "DAYTIME_PATERNITY_LEAVE";
|
|
7846
|
+
/**
|
|
7847
|
+
* Horas licença paternidade noturnas
|
|
7848
|
+
*/
|
|
7849
|
+
CharacteristicType["NIGHTTIME_PATERNITY_LEAVE"] = "NIGHTTIME_PATERNITY_LEAVE";
|
|
7850
|
+
/**
|
|
7851
|
+
* Licença paternidade - Empresa cidadã diurna
|
|
7852
|
+
*/
|
|
7853
|
+
CharacteristicType["DAYTIME_PATERNITY_LEAVE_CITIZEN_COMPANY"] = "DAYTIME_PATERNITY_LEAVE_CITIZEN_COMPANY";
|
|
7854
|
+
/**
|
|
7855
|
+
* Licença paternidade - Empresa cidadã noturna
|
|
7856
|
+
*/
|
|
7857
|
+
CharacteristicType["NIGHTTIME_PATERNITY_LEAVE_CITIZEN_COMPANY"] = "NIGHTTIME_PATERNITY_LEAVE_CITIZEN_COMPANY";
|
|
7858
|
+
/**
|
|
7859
|
+
* Licença maternidade - Empresa cidadã diurna
|
|
7860
|
+
*/
|
|
7861
|
+
CharacteristicType["DAYTIME_CITIZEN_COMPANY_MATERNITY"] = "DAYTIME_CITIZEN_COMPANY_MATERNITY";
|
|
7862
|
+
/**
|
|
7863
|
+
* Licença maternidade - Empresa cidadã noturna
|
|
7864
|
+
*/
|
|
7865
|
+
CharacteristicType["NIGHTTIME_CITIZEN_COMPANY_MATERNITY"] = "NIGHTTIME_CITIZEN_COMPANY_MATERNITY";
|
|
7866
|
+
/**
|
|
7867
|
+
* Horas Atestado sem INSS Diurnas
|
|
7868
|
+
*/
|
|
7869
|
+
CharacteristicType["DAYTIME_MEDICAL_LEAVE_WITHOUT_INSS"] = "DAYTIME_MEDICAL_LEAVE_WITHOUT_INSS";
|
|
7870
|
+
/**
|
|
7871
|
+
* Horas Atestado sem INSS Noturnas
|
|
7872
|
+
*/
|
|
7873
|
+
CharacteristicType["NIGHTTIME_MEDICAL_LEAVE_WITHOUT_INSS"] = "NIGHTTIME_MEDICAL_LEAVE_WITHOUT_INSS";
|
|
7874
|
+
/**
|
|
7875
|
+
* Horas acidente de trabalho sem INSS diurnas
|
|
7876
|
+
*/
|
|
7877
|
+
CharacteristicType["DAYTIME_WORK_ACCIDENT_LEAVE_WITHOUT_INSS"] = "DAYTIME_WORK_ACCIDENT_LEAVE_WITHOUT_INSS";
|
|
7878
|
+
/**
|
|
7879
|
+
* Horas acidente de trabalho sem INSS noturnas
|
|
7880
|
+
*/
|
|
7881
|
+
CharacteristicType["NIGHTTIME_WORK_ACCIDENT_LEAVE_WITHOUT_INSS"] = "NIGHTTIME_WORK_ACCIDENT_LEAVE_WITHOUT_INSS";
|
|
7882
|
+
/**
|
|
7883
|
+
* Horas Lic.Maternidade INSS diurnas
|
|
7884
|
+
*/
|
|
7885
|
+
CharacteristicType["DAYTIME_INSS_MATERNITY_LEAVE"] = "DAYTIME_INSS_MATERNITY_LEAVE";
|
|
7886
|
+
/**
|
|
7887
|
+
* Horas Lic.Maternidade INSS noturnas
|
|
7888
|
+
*/
|
|
7889
|
+
CharacteristicType["NIGHTTIME_INSS_MATERNITY_LEAVE"] = "NIGHTTIME_INSS_MATERNITY_LEAVE";
|
|
7890
|
+
/**
|
|
7891
|
+
* Periculosidade
|
|
7892
|
+
*/
|
|
7893
|
+
CharacteristicType["HAZARD"] = "HAZARD";
|
|
7894
|
+
/**
|
|
7895
|
+
* Horas extras noturnas
|
|
7896
|
+
*/
|
|
7897
|
+
CharacteristicType["OVERTIME_NIGHTTIME"] = "OVERTIME_NIGHTTIME";
|
|
7898
|
+
/**
|
|
7899
|
+
* Adicionais lançados em horas
|
|
7900
|
+
*/
|
|
7901
|
+
CharacteristicType["ADDITIONAL_HOURS_ENTRY"] = "ADDITIONAL_HOURS_ENTRY";
|
|
7902
|
+
/**
|
|
7903
|
+
* Insalubridade
|
|
7904
|
+
*/
|
|
7905
|
+
CharacteristicType["INSALUBRITY"] = "INSALUBRITY";
|
|
7906
|
+
/**
|
|
7907
|
+
* Ajuda de custo
|
|
7908
|
+
*/
|
|
7909
|
+
CharacteristicType["ALLOWANCE"] = "ALLOWANCE";
|
|
7910
|
+
/**
|
|
7911
|
+
* Diárias viagem até 50% remuneração
|
|
7912
|
+
*/
|
|
7913
|
+
CharacteristicType["TRAVEL_EXPENSE_UP_TO_FIFTY_PERCENTAGE_COMPENSATION"] = "TRAVEL_EXPENSE_UP_TO_FIFTY_PERCENTAGE_COMPENSATION";
|
|
7914
|
+
/**
|
|
7915
|
+
* Vale transporte
|
|
7916
|
+
*/
|
|
7917
|
+
CharacteristicType["TRANSPORTATION_VOUCHER"] = "TRANSPORTATION_VOUCHER";
|
|
7918
|
+
/**
|
|
7919
|
+
* Despesas médicas
|
|
7920
|
+
*/
|
|
7921
|
+
CharacteristicType["MEDICAL_EXPENSES"] = "MEDICAL_EXPENSES";
|
|
7922
|
+
/**
|
|
7923
|
+
* Gorjetas
|
|
7924
|
+
*/
|
|
7925
|
+
CharacteristicType["TIPS"] = "TIPS";
|
|
7926
|
+
/**
|
|
7927
|
+
* Prêmios
|
|
7928
|
+
*/
|
|
7929
|
+
CharacteristicType["PREMIUMS"] = "PREMIUMS";
|
|
7930
|
+
/**
|
|
7931
|
+
* Reembolso creche
|
|
7932
|
+
*/
|
|
7933
|
+
CharacteristicType["DAY_CARE_REIMBURSEMENT"] = "DAY_CARE_REIMBURSEMENT";
|
|
7934
|
+
/**
|
|
7935
|
+
* Reembolso babá
|
|
7936
|
+
*/
|
|
7937
|
+
CharacteristicType["NANNY_REIMBURSEMENT"] = "NANNY_REIMBURSEMENT";
|
|
7938
|
+
/**
|
|
7939
|
+
* Diárias viagem acima 50% remuneração
|
|
7940
|
+
*/
|
|
7941
|
+
CharacteristicType["TRAVEL_EXPENSE_OVER_FIFTY_PERCENTAGE_COMPENSATION"] = "TRAVEL_EXPENSE_OVER_FIFTY_PERCENTAGE_COMPENSATION";
|
|
7942
|
+
/**
|
|
7943
|
+
* Proventos diversos
|
|
7944
|
+
*/
|
|
7945
|
+
CharacteristicType["OTHER_PROCEEDS"] = "OTHER_PROCEEDS";
|
|
7946
|
+
/**
|
|
7947
|
+
* Descontos diversos
|
|
7948
|
+
*/
|
|
7949
|
+
CharacteristicType["OTHER_DEDUCTIONS"] = "OTHER_DEDUCTIONS";
|
|
7950
|
+
/**
|
|
7951
|
+
* Reembolso vale alimentação/transporte
|
|
7952
|
+
*/
|
|
7953
|
+
CharacteristicType["TRANSPORTATION_VOUCHER_MEAL_TICKET_REIMBURSEMENT"] = "TRANSPORTATION_VOUCHER_MEAL_TICKET_REIMBURSEMENT";
|
|
7954
|
+
/**
|
|
7955
|
+
* Vale alimentação/refeição excedente
|
|
7956
|
+
*/
|
|
7957
|
+
CharacteristicType["EXCEEDING_FOOD_VOUCHER_MEAL_TICKET"] = "EXCEEDING_FOOD_VOUCHER_MEAL_TICKET";
|
|
7958
|
+
/**
|
|
7959
|
+
* Horas de sobreaviso
|
|
7960
|
+
*/
|
|
7961
|
+
CharacteristicType["PRECAUTION_HOURS"] = "PRECAUTION_HOURS";
|
|
7962
|
+
/**
|
|
7963
|
+
* Pró-labore
|
|
7964
|
+
*/
|
|
7965
|
+
CharacteristicType["CORPORATE_OFFICER_WAGE"] = "CORPORATE_OFFICER_WAGE";
|
|
7966
|
+
/**
|
|
7967
|
+
* Pensão judicial mensal
|
|
7968
|
+
*/
|
|
7969
|
+
CharacteristicType["JUDICIAL_ALIMONY_MONTH"] = "JUDICIAL_ALIMONY_MONTH";
|
|
7970
|
+
/**
|
|
7971
|
+
* Comissões
|
|
7972
|
+
*/
|
|
7973
|
+
CharacteristicType["COMMISSIONS"] = "COMMISSIONS";
|
|
7974
|
+
/**
|
|
7975
|
+
* Repouso sobre comissões
|
|
7976
|
+
*/
|
|
7977
|
+
CharacteristicType["DSR_COMMISSIONS"] = "DSR_COMMISSIONS";
|
|
7978
|
+
/**
|
|
7979
|
+
* Complemento Salarial
|
|
7980
|
+
*/
|
|
7981
|
+
CharacteristicType["COMPLEMENT_SALARY"] = "COMPLEMENT_SALARY";
|
|
7982
|
+
/**
|
|
7983
|
+
* Hora extra comissão diurna
|
|
7984
|
+
*/
|
|
7985
|
+
CharacteristicType["DAYTIME_OVERTIME_COMMISSION"] = "DAYTIME_OVERTIME_COMMISSION";
|
|
7986
|
+
/**
|
|
7987
|
+
* Hora extra comissão noturna
|
|
7988
|
+
*/
|
|
7989
|
+
CharacteristicType["NIGHTTIME_OVERTIME_COMMISSION"] = "NIGHTTIME_OVERTIME_COMMISSION";
|
|
7990
|
+
/**
|
|
7991
|
+
* Estouro do mês
|
|
7992
|
+
*/
|
|
7993
|
+
CharacteristicType["MONTH_OVERFLOW"] = "MONTH_OVERFLOW";
|
|
7994
|
+
/**
|
|
7995
|
+
* Estouro do mês anterior
|
|
7996
|
+
*/
|
|
7997
|
+
CharacteristicType["PREVIOUS_MONTH_OVERFLOW"] = "PREVIOUS_MONTH_OVERFLOW";
|
|
7998
|
+
/**
|
|
7999
|
+
* Troco do mês
|
|
8000
|
+
*/
|
|
8001
|
+
CharacteristicType["MONTH_REFUND"] = "MONTH_REFUND";
|
|
8002
|
+
/**
|
|
8003
|
+
* Troco do mês anterior
|
|
8004
|
+
*/
|
|
8005
|
+
CharacteristicType["PREVIOUS_MONTH_REFUND"] = "PREVIOUS_MONTH_REFUND";
|
|
8006
|
+
/**
|
|
8007
|
+
* Contribuições do sindicato
|
|
8008
|
+
*/
|
|
8009
|
+
CharacteristicType["SYNDICATE_CONTRIBUTIONS"] = "SYNDICATE_CONTRIBUTIONS";
|
|
8010
|
+
/**
|
|
8011
|
+
* Horas diurnas - Aposentadoria por invalidez
|
|
8012
|
+
*/
|
|
8013
|
+
CharacteristicType["DAYTIME_RETIREMENT_DUE_TO_DISABILITY"] = "DAYTIME_RETIREMENT_DUE_TO_DISABILITY";
|
|
8014
|
+
/**
|
|
8015
|
+
* Horas noturnas - Aposentadoria por invalidez
|
|
8016
|
+
*/
|
|
8017
|
+
CharacteristicType["NIGHTTIME_RETIREMENT_DUE_TO_DISABILITY"] = "NIGHTTIME_RETIREMENT_DUE_TO_DISABILITY";
|
|
8018
|
+
/**
|
|
8019
|
+
* Outras Horas Diurnas
|
|
8020
|
+
*/
|
|
8021
|
+
CharacteristicType["DAYTIME_OTHERS"] = "DAYTIME_OTHERS";
|
|
8022
|
+
/**
|
|
8023
|
+
* Outras Horas Noturnas
|
|
8024
|
+
*/
|
|
8025
|
+
CharacteristicType["NIGHTTIME_OTHERS"] = "NIGHTTIME_OTHERS";
|
|
8026
|
+
/**
|
|
8027
|
+
* Adiantamento 13º salário
|
|
8028
|
+
*/
|
|
8029
|
+
CharacteristicType["ADVANCE_THIRTEENTH_SALARY"] = "ADVANCE_THIRTEENTH_SALARY";
|
|
8030
|
+
/**
|
|
8031
|
+
* Desconto adiantamento 13º salário
|
|
8032
|
+
*/
|
|
8033
|
+
CharacteristicType["DISCOUNT_ADVANCE_THIRTEENTH_SALARY"] = "DISCOUNT_ADVANCE_THIRTEENTH_SALARY";
|
|
8034
|
+
/**
|
|
8035
|
+
* Pensão judicial sobre 13º salário
|
|
8036
|
+
*/
|
|
8037
|
+
CharacteristicType["JUDICIAL_ALIMONY_THIRTEENTH_SALARY"] = "JUDICIAL_ALIMONY_THIRTEENTH_SALARY";
|
|
8038
|
+
/**
|
|
8039
|
+
* Pensão judicial sobre adiantamento do 13º salário
|
|
8040
|
+
*/
|
|
8041
|
+
CharacteristicType["ALIMONY_ADVANCE_THIRTEENTH_SALARY"] = "ALIMONY_ADVANCE_THIRTEENTH_SALARY";
|
|
8042
|
+
/**
|
|
8043
|
+
* Desconto de pensão judicial no adiantamento do 13º salário
|
|
8044
|
+
*/
|
|
8045
|
+
CharacteristicType["DISCOUNT_ALIMONY_ADVANCE_THIRTEENTH_SALARY"] = "DISCOUNT_ALIMONY_ADVANCE_THIRTEENTH_SALARY";
|
|
8046
|
+
/**
|
|
8047
|
+
* 13º salário integral
|
|
8048
|
+
*/
|
|
8049
|
+
CharacteristicType["THIRTEENTH_SALARY"] = "THIRTEENTH_SALARY";
|
|
8050
|
+
/**
|
|
8051
|
+
* 13º salário maternidade
|
|
8052
|
+
*/
|
|
8053
|
+
CharacteristicType["MATERNITY_THIRTEENTH_SALARY"] = "MATERNITY_THIRTEENTH_SALARY";
|
|
8054
|
+
/**
|
|
8055
|
+
* 13º salário maternidade INSS
|
|
8056
|
+
*/
|
|
8057
|
+
CharacteristicType["MATERNITY_INSS_THIRTEENTH_SALARY"] = "MATERNITY_INSS_THIRTEENTH_SALARY";
|
|
8058
|
+
/**
|
|
8059
|
+
* Base 13º salário acidente de trabalho
|
|
8060
|
+
*/
|
|
8061
|
+
CharacteristicType["BASE_WORK_ACCIDENT_THIRTEENTH_SALARY"] = "BASE_WORK_ACCIDENT_THIRTEENTH_SALARY";
|
|
8062
|
+
/**
|
|
8063
|
+
* Base 13º salário serviço militar
|
|
8064
|
+
*/
|
|
8065
|
+
CharacteristicType["BASE_MILITARY_SERVICE_THIRTEENTH_SALARY"] = "BASE_MILITARY_SERVICE_THIRTEENTH_SALARY";
|
|
8066
|
+
/**
|
|
8067
|
+
* Média de horas extras adiantamento 13° salário
|
|
8068
|
+
*/
|
|
8069
|
+
CharacteristicType["AVERAGE_OVERTIME_ADVANCE_THIRTEENTH_SALARY"] = "AVERAGE_OVERTIME_ADVANCE_THIRTEENTH_SALARY";
|
|
8070
|
+
/**
|
|
8071
|
+
* Média de valores variáveis adiantamento 13° salário
|
|
8072
|
+
*/
|
|
8073
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_ADVANCE_THIRTEENTH_SALARY"] = "AVERAGE_VARIABLE_VALUES_ADVANCE_THIRTEENTH_SALARY";
|
|
8074
|
+
/**
|
|
8075
|
+
* Adicionais de adiantamento 13° salário
|
|
8076
|
+
*/
|
|
8077
|
+
CharacteristicType["ADDITIONAL_ADVANCE_THIRTEENTH_SALARY"] = "ADDITIONAL_ADVANCE_THIRTEENTH_SALARY";
|
|
8078
|
+
/**
|
|
8079
|
+
* Média de horas extras 13° salário integral
|
|
8080
|
+
*/
|
|
8081
|
+
CharacteristicType["AVERAGE_OVERTIME_THIRTEENTH_SALARY"] = "AVERAGE_OVERTIME_THIRTEENTH_SALARY";
|
|
8082
|
+
/**
|
|
8083
|
+
* Média de valores variáveis 13° salário Integral
|
|
8084
|
+
*/
|
|
8085
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY"] = "AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY";
|
|
8086
|
+
/**
|
|
8087
|
+
* Adicionais de 13° salário integral
|
|
8088
|
+
*/
|
|
8089
|
+
CharacteristicType["ADDITIONAL_THIRTEENTH_SALARY"] = "ADDITIONAL_THIRTEENTH_SALARY";
|
|
8090
|
+
/**
|
|
8091
|
+
* FGTS sobre 13º salário
|
|
8092
|
+
*/
|
|
8093
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY"] = "FGTS_THIRTEENTH_SALARY";
|
|
8094
|
+
/**
|
|
8095
|
+
* 13º salário complementar
|
|
8096
|
+
*/
|
|
8097
|
+
CharacteristicType["COMPLEMENTARY_THIRTEENTH_SALARY"] = "COMPLEMENTARY_THIRTEENTH_SALARY";
|
|
8098
|
+
/**
|
|
8099
|
+
* 13º salário complementar a devolver
|
|
8100
|
+
*/
|
|
8101
|
+
CharacteristicType["RETURN_COMPLEMENTARY_THIRTEENTH_SALARY"] = "RETURN_COMPLEMENTARY_THIRTEENTH_SALARY";
|
|
8102
|
+
/**
|
|
8103
|
+
* 13º maternidade a devolver
|
|
8104
|
+
*/
|
|
8105
|
+
CharacteristicType["RETURN_MATERNITY_THIRTEENTH_SALARY"] = "RETURN_MATERNITY_THIRTEENTH_SALARY";
|
|
8106
|
+
/**
|
|
8107
|
+
* 13º maternidade INSS a devolver
|
|
8108
|
+
*/
|
|
8109
|
+
CharacteristicType["RETURN_MATERNITY_INSS_THIRTEENTH_SALARY"] = "RETURN_MATERNITY_INSS_THIRTEENTH_SALARY";
|
|
8110
|
+
/**
|
|
8111
|
+
* Devolução INSS 13° salário
|
|
8112
|
+
*/
|
|
8113
|
+
CharacteristicType["RETURN_INSS_THIRTEENTH_SALARY"] = "RETURN_INSS_THIRTEENTH_SALARY";
|
|
8114
|
+
/**
|
|
8115
|
+
* IRRF sobre adiantamento salarial
|
|
8116
|
+
*/
|
|
8117
|
+
CharacteristicType["IRRF_ADVANCE_SALARY"] = "IRRF_ADVANCE_SALARY";
|
|
8118
|
+
/**
|
|
8119
|
+
* Desconto adiantamento salarial
|
|
8120
|
+
*/
|
|
8121
|
+
CharacteristicType["SALARY_ADVANCE_DISCOUNT"] = "SALARY_ADVANCE_DISCOUNT";
|
|
8122
|
+
/**
|
|
8123
|
+
* INSS sobre 13º salário
|
|
8124
|
+
*/
|
|
8125
|
+
CharacteristicType["INSS_THIRTEENTH_SALARY"] = "INSS_THIRTEENTH_SALARY";
|
|
8126
|
+
/**
|
|
8127
|
+
* IRRF sobre 13º salário
|
|
8128
|
+
*/
|
|
8129
|
+
CharacteristicType["IRRF_THIRTEENTH_SALARY"] = "IRRF_THIRTEENTH_SALARY";
|
|
8130
|
+
/**
|
|
8131
|
+
* Horas férias diurnas
|
|
8132
|
+
*/
|
|
8133
|
+
CharacteristicType["DAYTIME_VACATION_HOURS"] = "DAYTIME_VACATION_HOURS";
|
|
8134
|
+
/**
|
|
8135
|
+
* Horas férias noturnas
|
|
8136
|
+
*/
|
|
8137
|
+
CharacteristicType["NIGHTTIME_VACATION_HOURS"] = "NIGHTTIME_VACATION_HOURS";
|
|
8138
|
+
/**
|
|
8139
|
+
* 1/3 sobre férias
|
|
8140
|
+
*/
|
|
8141
|
+
CharacteristicType["THIRD_OF_VACATION"] = "THIRD_OF_VACATION";
|
|
8142
|
+
/**
|
|
8143
|
+
* 1/3 sobre abono pecuniário
|
|
8144
|
+
*/
|
|
8145
|
+
CharacteristicType["THIRD_OF_VACATION_PREMIUM"] = "THIRD_OF_VACATION_PREMIUM";
|
|
8146
|
+
/**
|
|
8147
|
+
* Multa dobro de férias
|
|
8148
|
+
*/
|
|
8149
|
+
CharacteristicType["DOUBLE_VACATION_FINE"] = "DOUBLE_VACATION_FINE";
|
|
8150
|
+
/**
|
|
8151
|
+
* Multa dobro do abono pecuniário
|
|
8152
|
+
*/
|
|
8153
|
+
CharacteristicType["DOUBLE_VACATION_PREMIUM_FINE"] = "DOUBLE_VACATION_PREMIUM_FINE";
|
|
8154
|
+
/**
|
|
8155
|
+
* Abono pecuniário
|
|
8156
|
+
*/
|
|
8157
|
+
CharacteristicType["VACATION_PREMIUM"] = "VACATION_PREMIUM";
|
|
8158
|
+
/**
|
|
8159
|
+
* INSS sobre recibo de férias
|
|
8160
|
+
*/
|
|
8161
|
+
CharacteristicType["INSS_VACATION_PAY"] = "INSS_VACATION_PAY";
|
|
8162
|
+
/**
|
|
8163
|
+
* INSS sobre férias na folha
|
|
8164
|
+
*/
|
|
8165
|
+
CharacteristicType["INSS_VACATION_MONTH"] = "INSS_VACATION_MONTH";
|
|
8166
|
+
/**
|
|
8167
|
+
* Pensão judicial sobre férias
|
|
8168
|
+
*/
|
|
8169
|
+
CharacteristicType["JUDICIAL_ALIMONY_VACATION"] = "JUDICIAL_ALIMONY_VACATION";
|
|
8170
|
+
/**
|
|
8171
|
+
* IRRF sobre recibo de férias
|
|
8172
|
+
*/
|
|
8173
|
+
CharacteristicType["IRRF_VACATION_PAY"] = "IRRF_VACATION_PAY";
|
|
8174
|
+
/**
|
|
8175
|
+
* IRRF sobre férias na folha
|
|
8176
|
+
*/
|
|
8177
|
+
CharacteristicType["IRRF_VACATION_MONTH"] = "IRRF_VACATION_MONTH";
|
|
8178
|
+
/**
|
|
8179
|
+
* Média de valores variáveis de 13º salário indenizado
|
|
8180
|
+
*/
|
|
8181
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY_COMPENSATED"] = "AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY_COMPENSATED";
|
|
8182
|
+
/**
|
|
8183
|
+
* Média de valores variáveis de férias
|
|
8184
|
+
*/
|
|
8185
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_VACATION"] = "AVERAGE_VARIABLE_VALUES_VACATION";
|
|
8186
|
+
/**
|
|
8187
|
+
* Média de valores variáveis de abono
|
|
8188
|
+
*/
|
|
8189
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_PREMIUM"] = "AVERAGE_VARIABLE_VALUES_PREMIUM";
|
|
8190
|
+
/**
|
|
8191
|
+
* Média de valores variáveis de aviso prévio indenizado
|
|
8192
|
+
*/
|
|
8193
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_PRIOR_NOTICE_COMPENSATED"] = "AVERAGE_VARIABLE_VALUES_PRIOR_NOTICE_COMPENSATED";
|
|
8194
|
+
/**
|
|
8195
|
+
* Média de valores variáveis de aviso prévio reavido
|
|
8196
|
+
*/
|
|
8197
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_PRIOR_NOTICE_NOT_FULLFILLED"] = "AVERAGE_VARIABLE_VALUES_PRIOR_NOTICE_NOT_FULLFILLED";
|
|
8198
|
+
/**
|
|
8199
|
+
* Média de valores variáveis indenizados no mês anterior da data-base
|
|
8200
|
+
*/
|
|
8201
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_COMPENSATED_PREVIOUS_MONTH_BASE_DATE"] = "AVERAGE_VARIABLE_VALUES_COMPENSATED_PREVIOUS_MONTH_BASE_DATE";
|
|
8202
|
+
/**
|
|
8203
|
+
* Média de valores variáveis indenizados no fim do contrato antecipado pela empresa
|
|
8204
|
+
*/
|
|
8205
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY"] = "AVERAGE_VARIABLE_VALUES_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8206
|
+
/**
|
|
8207
|
+
* Média de valores variáveis indenizados no fim do contrato antecipado pelo colaborador
|
|
8208
|
+
*/
|
|
8209
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "AVERAGE_VARIABLE_VALUES_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8210
|
+
/**
|
|
8211
|
+
* Média de valores variáveis de férias indenizadas na rescisão
|
|
8212
|
+
*/
|
|
8213
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_VACATION_COMPENSATED_DISMISSAL"] = "AVERAGE_VARIABLE_VALUES_VACATION_COMPENSATED_DISMISSAL";
|
|
8214
|
+
/**
|
|
8215
|
+
* Média de horas extras de férias
|
|
8216
|
+
*/
|
|
8217
|
+
CharacteristicType["AVERAGE_OVERTIME_VACATION"] = "AVERAGE_OVERTIME_VACATION";
|
|
8218
|
+
/**
|
|
8219
|
+
* Média de horas extras de abono
|
|
8220
|
+
*/
|
|
8221
|
+
CharacteristicType["AVERAGE_OVERTIME_PREMIUM"] = "AVERAGE_OVERTIME_PREMIUM";
|
|
8222
|
+
/**
|
|
8223
|
+
* Média de horas extras de férias indenizadas na rescisão
|
|
8224
|
+
*/
|
|
8225
|
+
CharacteristicType["AVERAGE_OVERTIME_VACATION_COMPENSATED_DISMISSAL"] = "AVERAGE_OVERTIME_VACATION_COMPENSATED_DISMISSAL";
|
|
8226
|
+
/**
|
|
8227
|
+
* Média de horas extras de 13° salário indenizado
|
|
8228
|
+
*/
|
|
8229
|
+
CharacteristicType["AVERAGE_OVERTIME_THIRTEENTH_SALARY_COMPENSATED"] = "AVERAGE_OVERTIME_THIRTEENTH_SALARY_COMPENSATED";
|
|
8230
|
+
/**
|
|
8231
|
+
* Média de horas extras de aviso prévio indenizado
|
|
8232
|
+
*/
|
|
8233
|
+
CharacteristicType["AVERAGE_OVERTIME_COMPENSATED_PRIOR_NOTICE_COMPENSATED"] = "AVERAGE_OVERTIME_COMPENSATED_PRIOR_NOTICE_COMPENSATED";
|
|
8234
|
+
/**
|
|
8235
|
+
* Média de horas extras de aviso prévio reavido
|
|
8236
|
+
*/
|
|
8237
|
+
CharacteristicType["AVERAGE_OVERTIME_COMPENSATED_PRIOR_NOTICE_NOT_FULLFILLED"] = "AVERAGE_OVERTIME_COMPENSATED_PRIOR_NOTICE_NOT_FULLFILLED";
|
|
8238
|
+
/**
|
|
8239
|
+
* Média de horas extras indenizadas no mês anterior da data-base
|
|
8240
|
+
*/
|
|
8241
|
+
CharacteristicType["AVERAGE_OVERTIME_COMPENSATED_PREVIOUS_MONTH_BASE_DATE"] = "AVERAGE_OVERTIME_COMPENSATED_PREVIOUS_MONTH_BASE_DATE";
|
|
8242
|
+
/**
|
|
8243
|
+
* Média de horas extras de estabilidade na rescisão
|
|
8244
|
+
*/
|
|
8245
|
+
CharacteristicType["AVERAGE_OVERTIME_STABILITY_DISMISSAL"] = "AVERAGE_OVERTIME_STABILITY_DISMISSAL";
|
|
8246
|
+
/**
|
|
8247
|
+
* Média de horas extras indenizadas no fim do contrato antecipado pelo colaborador
|
|
8248
|
+
*/
|
|
8249
|
+
CharacteristicType["AVERAGE_OVERTIME_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "AVERAGE_OVERTIME_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8250
|
+
/**
|
|
8251
|
+
* Média de horas extras de 13° salário proporcional
|
|
8252
|
+
*/
|
|
8253
|
+
CharacteristicType["AVERAGE_OVERTIME_THIRTEENTH_SALARY_PROPORTIONAL"] = "AVERAGE_OVERTIME_THIRTEENTH_SALARY_PROPORTIONAL";
|
|
8254
|
+
/**
|
|
8255
|
+
* Média de valores variáveis de 13° salário proporcional
|
|
8256
|
+
*/
|
|
8257
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY_PROPORTIONAL"] = "AVERAGE_VARIABLE_VALUES_THIRTEENTH_SALARY_PROPORTIONAL";
|
|
8258
|
+
/**
|
|
8259
|
+
* Média de valores variáveis de estabilidade na rescisão
|
|
8260
|
+
*/
|
|
8261
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_STABILITY_DISMISSAL"] = "AVERAGE_VARIABLE_VALUES_STABILITY_DISMISSAL";
|
|
8262
|
+
/**
|
|
8263
|
+
* Média de valores variáveis de salário maternidade
|
|
8264
|
+
*/
|
|
8265
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_MATERNITY_LEAVE"] = "AVERAGE_VARIABLE_VALUES_MATERNITY_LEAVE";
|
|
8266
|
+
/**
|
|
8267
|
+
* Média de valores variáveis de salário maternidade INSS
|
|
8268
|
+
*/
|
|
8269
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_INSS_MATERNITY_LEAVE"] = "AVERAGE_VARIABLE_VALUES_INSS_MATERNITY_LEAVE";
|
|
8270
|
+
/**
|
|
8271
|
+
* Média de valores variáveis de salário maternidade empresa cidadã
|
|
8272
|
+
*/
|
|
8273
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_CITIZEN_MATERNITY"] = "AVERAGE_VARIABLE_VALUES_CITIZEN_MATERNITY";
|
|
8274
|
+
/**
|
|
8275
|
+
* Adicionais de salário maternidade
|
|
8276
|
+
*/
|
|
8277
|
+
CharacteristicType["ADDITIONAL_MATERNITY_SALARY"] = "ADDITIONAL_MATERNITY_SALARY";
|
|
8278
|
+
/**
|
|
8279
|
+
* Adicionais de salário maternidade INSS
|
|
8280
|
+
*/
|
|
8281
|
+
CharacteristicType["ADDITIONAL_INSS_MATERNITY_SALARY"] = "ADDITIONAL_INSS_MATERNITY_SALARY";
|
|
8282
|
+
/**
|
|
8283
|
+
* Adicionais de 13° salário proporcional
|
|
8284
|
+
*/
|
|
8285
|
+
CharacteristicType["ADDITIONAL_THIRTEENTH_SALARY_PROPORTIONAL"] = "ADDITIONAL_THIRTEENTH_SALARY_PROPORTIONAL";
|
|
8286
|
+
/**
|
|
8287
|
+
* Adicionais de abono
|
|
8288
|
+
*/
|
|
8289
|
+
CharacteristicType["ADDITIONAL_PREMIUM"] = "ADDITIONAL_PREMIUM";
|
|
8290
|
+
/**
|
|
8291
|
+
* Adicionais de auxílio maternidade - Empresa cidadã
|
|
8292
|
+
*/
|
|
8293
|
+
CharacteristicType["ADDITIONAL_CITIZEN_MATERNITY"] = "ADDITIONAL_CITIZEN_MATERNITY";
|
|
8294
|
+
/**
|
|
8295
|
+
* Adicionais de aviso prévio indenizado
|
|
8296
|
+
*/
|
|
8297
|
+
CharacteristicType["ADDITIONAL_PRIOR_NOTICE_COMPENSATED"] = "ADDITIONAL_PRIOR_NOTICE_COMPENSATED";
|
|
8298
|
+
/**
|
|
8299
|
+
* Adicionais de aviso prévio reavido
|
|
8300
|
+
*/
|
|
8301
|
+
CharacteristicType["ADDITIONAL_PRIOR_NOTICE_NOT_FULLFILLED"] = "ADDITIONAL_PRIOR_NOTICE_NOT_FULLFILLED";
|
|
8302
|
+
/**
|
|
8303
|
+
* Adicionais de férias indenizadas na rescisão
|
|
8304
|
+
*/
|
|
8305
|
+
CharacteristicType["ADDITIONAL_VACATION_COMPENSATED_DISMISSAL"] = "ADDITIONAL_VACATION_COMPENSATED_DISMISSAL";
|
|
8306
|
+
/**
|
|
8307
|
+
* Adicionais de 13° salário indenizado
|
|
8308
|
+
*/
|
|
8309
|
+
CharacteristicType["ADDITIONAL_THIRTEENTH_SALARY_COMPENSATED"] = "ADDITIONAL_THIRTEENTH_SALARY_COMPENSATED";
|
|
8310
|
+
/**
|
|
8311
|
+
* Adicionais de indenização no mês anterior da data-base
|
|
8312
|
+
*/
|
|
8313
|
+
CharacteristicType["ADDITIONAL_COMPENSATED_PREVIOUS_MONTH_BASE_DATE"] = "ADDITIONAL_COMPENSATED_PREVIOUS_MONTH_BASE_DATE";
|
|
8314
|
+
/**
|
|
8315
|
+
* Adicionais de estabilidade na rescisão
|
|
8316
|
+
*/
|
|
8317
|
+
CharacteristicType["ADDITIONAL_STABILITY_DISMISSAL"] = "ADDITIONAL_STABILITY_DISMISSAL";
|
|
8318
|
+
/**
|
|
8319
|
+
* Adicionais de indenização no fim do contrato antecipado pela empresa
|
|
8320
|
+
*/
|
|
8321
|
+
CharacteristicType["ADDITIONAL_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY"] = "ADDITIONAL_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8322
|
+
/**
|
|
8323
|
+
* Adicionais de indenização no fim do contrato antecipado pelo colaborador
|
|
8324
|
+
*/
|
|
8325
|
+
CharacteristicType["ADDITIONAL_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "ADDITIONAL_COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8326
|
+
/**
|
|
8327
|
+
* Diferença de abono
|
|
8328
|
+
*/
|
|
8329
|
+
CharacteristicType["VACATION_PREMIUM_DIFFERENCE"] = "VACATION_PREMIUM_DIFFERENCE";
|
|
8330
|
+
/**
|
|
8331
|
+
* Diferença de férias
|
|
8332
|
+
*/
|
|
8333
|
+
CharacteristicType["VACATION_DIFFERENCE"] = "VACATION_DIFFERENCE";
|
|
8334
|
+
/**
|
|
8335
|
+
* Desconto de adiantamento de férias
|
|
8336
|
+
*/
|
|
8337
|
+
CharacteristicType["VACATION_ADVANCE_DISCOUNT"] = "VACATION_ADVANCE_DISCOUNT";
|
|
8338
|
+
/**
|
|
8339
|
+
* Diferença negativa de férias
|
|
8340
|
+
*/
|
|
8341
|
+
CharacteristicType["NEGATIVE_VACATION_DIFFERENCE"] = "NEGATIVE_VACATION_DIFFERENCE";
|
|
8342
|
+
/**
|
|
8343
|
+
* Diferença negativa do abono
|
|
8344
|
+
*/
|
|
8345
|
+
CharacteristicType["NEGATIVE_VACATION_PREMIUM_DIFFERENCE"] = "NEGATIVE_VACATION_PREMIUM_DIFFERENCE";
|
|
8346
|
+
/**
|
|
8347
|
+
* Diferença de pensão judicial sobre férias
|
|
8348
|
+
*/
|
|
8349
|
+
CharacteristicType["JUDICIAL_ALIMONY_VACATION_DIFFERENCE"] = "JUDICIAL_ALIMONY_VACATION_DIFFERENCE";
|
|
8350
|
+
/**
|
|
8351
|
+
* Diferença de IRRF sobre férias
|
|
8352
|
+
*/
|
|
8353
|
+
CharacteristicType["IRRF_VACATION_DIFFERENCE"] = "IRRF_VACATION_DIFFERENCE";
|
|
8354
|
+
/**
|
|
8355
|
+
* IRRF sobre férias com desconto proporcional na folha
|
|
8356
|
+
*/
|
|
8357
|
+
CharacteristicType["IRRF_VACATION_DISCOUNT_MONTH_PROPORTIONAL"] = "IRRF_VACATION_DISCOUNT_MONTH_PROPORTIONAL";
|
|
8358
|
+
/**
|
|
8359
|
+
* Diferença de INSS sobre férias
|
|
8360
|
+
*/
|
|
8361
|
+
CharacteristicType["INSS_VACATION_DIFFERENCE"] = "INSS_VACATION_DIFFERENCE";
|
|
8362
|
+
/**
|
|
8363
|
+
* Devolução de INSS sobre férias
|
|
8364
|
+
*/
|
|
8365
|
+
CharacteristicType["INSS_VACATION_RETURN"] = "INSS_VACATION_RETURN";
|
|
8366
|
+
/**
|
|
8367
|
+
* Média de horas extras salário maternidade
|
|
8368
|
+
*/
|
|
8369
|
+
CharacteristicType["AVERAGE_OVERTIME_MATERNITY_LEAVE"] = "AVERAGE_OVERTIME_MATERNITY_LEAVE";
|
|
8370
|
+
/**
|
|
8371
|
+
* Média de horas extras salário maternidade INSS
|
|
8372
|
+
*/
|
|
8373
|
+
CharacteristicType["AVERAGE_OVERTIME_INSS_MATERNITY_LEAVE"] = "AVERAGE_OVERTIME_INSS_MATERNITY_LEAVE";
|
|
8374
|
+
/**
|
|
8375
|
+
* Média de horas extras salário maternidade empresa cidadã
|
|
8376
|
+
*/
|
|
8377
|
+
CharacteristicType["AVERAGE_OVERTIME_CITIZEN_COMPANY_MATERNITY"] = "AVERAGE_OVERTIME_CITIZEN_COMPANY_MATERNITY";
|
|
8378
|
+
/**
|
|
8379
|
+
* Aviso prévio indenizado
|
|
8380
|
+
*/
|
|
8381
|
+
CharacteristicType["PRIOR_NOTICE_COMPENSATED"] = "PRIOR_NOTICE_COMPENSATED";
|
|
8382
|
+
/**
|
|
8383
|
+
* Aviso prévio reavido
|
|
8384
|
+
*/
|
|
8385
|
+
CharacteristicType["PRIOR_NOTICE_NOT_FULLFILLED"] = "PRIOR_NOTICE_NOT_FULLFILLED";
|
|
8386
|
+
/**
|
|
8387
|
+
* 13º salário proporcional
|
|
8388
|
+
*/
|
|
8389
|
+
CharacteristicType["THIRTEENTH_SALARY_PROPORTIONAL"] = "THIRTEENTH_SALARY_PROPORTIONAL";
|
|
8390
|
+
/**
|
|
8391
|
+
* 13º salário proporcional maternidade
|
|
8392
|
+
*/
|
|
8393
|
+
CharacteristicType["MATERNITY_THIRTEENTH_SALARY_PROPORTIONAL"] = "MATERNITY_THIRTEENTH_SALARY_PROPORTIONAL";
|
|
8394
|
+
/**
|
|
8395
|
+
* 13º salário indenizado
|
|
8396
|
+
*/
|
|
8397
|
+
CharacteristicType["THIRTEENTH_SALARY_COMPENSATED"] = "THIRTEENTH_SALARY_COMPENSATED";
|
|
8398
|
+
/**
|
|
8399
|
+
* FGTS sobre 13º salário depositado na rescisão
|
|
8400
|
+
*/
|
|
8401
|
+
CharacteristicType["FGTS_DISMISSAL_THIRTEENTH_SALARY_DEPOSITED"] = "FGTS_DISMISSAL_THIRTEENTH_SALARY_DEPOSITED";
|
|
8402
|
+
/**
|
|
8403
|
+
* FGTS depositado na rescisão
|
|
8404
|
+
*/
|
|
8405
|
+
CharacteristicType["FGTS_DISMISSAL_DEPOSITED"] = "FGTS_DISMISSAL_DEPOSITED";
|
|
8406
|
+
/**
|
|
8407
|
+
* Férias vencidas na rescisão
|
|
8408
|
+
*/
|
|
8409
|
+
CharacteristicType["VACATION_OVERDUE_DISMISSAL"] = "VACATION_OVERDUE_DISMISSAL";
|
|
8410
|
+
/**
|
|
8411
|
+
* 1/3 sobre férias vencidas na rescisão
|
|
8412
|
+
*/
|
|
8413
|
+
CharacteristicType["THIRD_OF_VACATION_OVERDUE_DISMISSAL"] = "THIRD_OF_VACATION_OVERDUE_DISMISSAL";
|
|
8414
|
+
/**
|
|
8415
|
+
* Multa por dobro de férias vencidas na rescisão
|
|
8416
|
+
*/
|
|
8417
|
+
CharacteristicType["DOUBLE_VACATION_OVERDUE_DISMISSAL"] = "DOUBLE_VACATION_OVERDUE_DISMISSAL";
|
|
8418
|
+
/**
|
|
8419
|
+
* Férias proporcionais na rescisão
|
|
8420
|
+
*/
|
|
8421
|
+
CharacteristicType["VACATION_PROPORTIONAL_DISMISSAL"] = "VACATION_PROPORTIONAL_DISMISSAL";
|
|
8422
|
+
/**
|
|
8423
|
+
* Férias indenizadas na rescisão
|
|
8424
|
+
*/
|
|
8425
|
+
CharacteristicType["VACATION_COMPENSATED_DISMISSAL"] = "VACATION_COMPENSATED_DISMISSAL";
|
|
8426
|
+
/**
|
|
8427
|
+
* Estabilidade na rescisão
|
|
8428
|
+
*/
|
|
8429
|
+
CharacteristicType["DISMISSAL_STABILITY"] = "DISMISSAL_STABILITY";
|
|
8430
|
+
/**
|
|
8431
|
+
* Adicional noturno de férias
|
|
8432
|
+
*/
|
|
8433
|
+
CharacteristicType["ADDITIONAL_NIGHT_VACATION"] = "ADDITIONAL_NIGHT_VACATION";
|
|
8434
|
+
/**
|
|
8435
|
+
* Média de insalubridade de férias
|
|
8436
|
+
*/
|
|
8437
|
+
CharacteristicType["AVERAGE_INSALUBRITY_VACATION"] = "AVERAGE_INSALUBRITY_VACATION";
|
|
8438
|
+
/**
|
|
8439
|
+
* Média de periculosidade de férias
|
|
8440
|
+
*/
|
|
8441
|
+
CharacteristicType["AVERAGE_HAZARD_VACATION"] = "AVERAGE_HAZARD_VACATION";
|
|
8442
|
+
/**
|
|
8443
|
+
* Indenização no mês anterior da data-base
|
|
8444
|
+
*/
|
|
8445
|
+
CharacteristicType["COMPENSATED_PREVIOUS_MONTH_BASE_DATE"] = "COMPENSATED_PREVIOUS_MONTH_BASE_DATE";
|
|
8446
|
+
/**
|
|
8447
|
+
* 1/3 sobre férias indenizadas na rescisão
|
|
8448
|
+
*/
|
|
8449
|
+
CharacteristicType["THIRD_OF_VACATION_COMPENSATED_DISMISSAL"] = "THIRD_OF_VACATION_COMPENSATED_DISMISSAL";
|
|
8450
|
+
/**
|
|
8451
|
+
* Multa por dobro de férias indenizadas na rescisão
|
|
8452
|
+
*/
|
|
8453
|
+
CharacteristicType["DOUBLE_VACATION_COMPENSATED_DISMISSAL"] = "DOUBLE_VACATION_COMPENSATED_DISMISSAL";
|
|
8454
|
+
/**
|
|
8455
|
+
* Indenização no fim do contrato antecipado pela empresa
|
|
8456
|
+
*/
|
|
8457
|
+
CharacteristicType["COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY"] = "COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8458
|
+
/**
|
|
8459
|
+
* Indenização no fim do contrato antecipado pelo colaborador
|
|
8460
|
+
*/
|
|
8461
|
+
CharacteristicType["COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "COMPENSATED_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8462
|
+
/**
|
|
8463
|
+
* Média de horas extras indenizadas no fim do contrato antecipado pela empresa
|
|
8464
|
+
*/
|
|
8465
|
+
CharacteristicType["AVERAGE_OVERTIME_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY"] = "AVERAGE_OVERTIME_COMPENSATED_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8466
|
+
/**
|
|
8467
|
+
* Indenização de férias no fim do contrato antecipado pela empresa
|
|
8468
|
+
*/
|
|
8469
|
+
CharacteristicType["COMPENSATED_VACATION_END_CONTRACT_ANTICIPATED_COMPANY"] = "COMPENSATED_VACATION_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8470
|
+
/**
|
|
8471
|
+
* Indenização de férias no fim do contrato antecipado pelo colaborador
|
|
8472
|
+
*/
|
|
8473
|
+
CharacteristicType["COMPENSATED_VACATION_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "COMPENSATED_VACATION_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8474
|
+
/**
|
|
8475
|
+
* Indenização de 13º salário no fim do contrato antecipado pela empresa
|
|
8476
|
+
*/
|
|
8477
|
+
CharacteristicType["COMPENSATED_THIRTEENTH_SALARY_END_CONTRACT_ANTICIPATED_COMPANY"] = "COMPENSATED_THIRTEENTH_SALARY_END_CONTRACT_ANTICIPATED_COMPANY";
|
|
8478
|
+
/**
|
|
8479
|
+
* Indenização de 13º salário no fim do contrato antecipado pelo colaborador
|
|
8480
|
+
*/
|
|
8481
|
+
CharacteristicType["COMPENSATED_THIRTEENTH_SALARY_END_CONTRACT_ANTICIPATED_EMPLOYEE"] = "COMPENSATED_THIRTEENTH_SALARY_END_CONTRACT_ANTICIPATED_EMPLOYEE";
|
|
8482
|
+
/**
|
|
8483
|
+
* 1/3 sobre férias proporcionais na rescisão
|
|
8484
|
+
*/
|
|
8485
|
+
CharacteristicType["THIRD_OF_VACATION_PROPORTIONAL_DISMISSAL"] = "THIRD_OF_VACATION_PROPORTIONAL_DISMISSAL";
|
|
8486
|
+
/**
|
|
8487
|
+
* Média de horas extras de férias proporcionais na rescisão
|
|
8488
|
+
*/
|
|
8489
|
+
CharacteristicType["AVERAGE_OVERTIME_VACATION_PROPORTIONAL_DISMISSAL"] = "AVERAGE_OVERTIME_VACATION_PROPORTIONAL_DISMISSAL";
|
|
8490
|
+
/**
|
|
8491
|
+
* Média de valores variáveis de férias proporcionais na rescisão
|
|
8492
|
+
*/
|
|
8493
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_VACATION_PROPORTIONAL_DISMISSAL"] = "AVERAGE_VARIABLE_VALUES_VACATION_PROPORTIONAL_DISMISSAL";
|
|
8494
|
+
/**
|
|
8495
|
+
* Adicionais de férias proporcionais na rescisão
|
|
8496
|
+
*/
|
|
8497
|
+
CharacteristicType["ADDITIONAL_VACATION_PROPORTIONAL_DISMISSAL"] = "ADDITIONAL_VACATION_PROPORTIONAL_DISMISSAL";
|
|
8498
|
+
/**
|
|
8499
|
+
* Adicionais de férias vencidas na rescisão
|
|
8500
|
+
*/
|
|
8501
|
+
CharacteristicType["ADDITIONAL_VACATION_OVERDUE_DISMISSAL"] = "ADDITIONAL_VACATION_OVERDUE_DISMISSAL";
|
|
8502
|
+
/**
|
|
8503
|
+
* Horas diurnas - Afastamento para qualificação profissional
|
|
8504
|
+
*/
|
|
8505
|
+
CharacteristicType["DAYTIME_PROFESSIONAL_QUALIFICATION_LEAVE_HOURS"] = "DAYTIME_PROFESSIONAL_QUALIFICATION_LEAVE_HOURS";
|
|
8506
|
+
/**
|
|
8507
|
+
* Horas noturnas - Afastamento para qualificação profissional
|
|
8508
|
+
*/
|
|
8509
|
+
CharacteristicType["NIGHTTIME_PROFESSIONAL_QUALIFICATION_LEAVE_HOURS"] = "NIGHTTIME_PROFESSIONAL_QUALIFICATION_LEAVE_HOURS";
|
|
8510
|
+
/**
|
|
8511
|
+
* Multa de qualificação profissional
|
|
8512
|
+
*/
|
|
8513
|
+
CharacteristicType["PROFESSIONAL_QUALIFICATION_FINE"] = "PROFESSIONAL_QUALIFICATION_FINE";
|
|
8514
|
+
/**
|
|
8515
|
+
* Saldo de salário
|
|
8516
|
+
*/
|
|
8517
|
+
CharacteristicType["BALANCE_OF_SALARY"] = "BALANCE_OF_SALARY";
|
|
8518
|
+
/**
|
|
8519
|
+
* Repouso sobre saldo de salário
|
|
8520
|
+
*/
|
|
8521
|
+
CharacteristicType["DSR_BALANCE_OF_SALARY"] = "DSR_BALANCE_OF_SALARY";
|
|
8522
|
+
/**
|
|
8523
|
+
* Horas diurnas - Aviso prévio trabalhado
|
|
8524
|
+
*/
|
|
8525
|
+
CharacteristicType["DAYTIME_PRIOR_NOTICE_HOURS_WORKED"] = "DAYTIME_PRIOR_NOTICE_HOURS_WORKED";
|
|
8526
|
+
/**
|
|
8527
|
+
* Horas noturnas - Aviso prévio trabalhado
|
|
8528
|
+
*/
|
|
8529
|
+
CharacteristicType["NIGHTTIME_PRIOR_NOTICE_HOURS_WORKED"] = "NIGHTTIME_PRIOR_NOTICE_HOURS_WORKED";
|
|
8530
|
+
/**
|
|
8531
|
+
* Horas diurnas - Justificadas
|
|
8532
|
+
*/
|
|
8533
|
+
CharacteristicType["DAYTIME_JUSTIFIED_HOURS"] = "DAYTIME_JUSTIFIED_HOURS";
|
|
8534
|
+
/**
|
|
8535
|
+
* Horas noturnas - Justificadas
|
|
8536
|
+
*/
|
|
8537
|
+
CharacteristicType["NIGHTTIME_JUSTIFIED_HOURS"] = "NIGHTTIME_JUSTIFIED_HOURS";
|
|
8538
|
+
/**
|
|
8539
|
+
* Auxílio natalidade
|
|
8540
|
+
*/
|
|
8541
|
+
CharacteristicType["BIRTH_AID"] = "BIRTH_AID";
|
|
8542
|
+
/**
|
|
8543
|
+
* Adicional de quebra de caixa
|
|
8544
|
+
*/
|
|
8545
|
+
CharacteristicType["CASH_SHORTAGE_ADDITIONAL"] = "CASH_SHORTAGE_ADDITIONAL";
|
|
8546
|
+
/**
|
|
8547
|
+
* Desconto de adiantamento de 13° salário e rescisão sem 13° salário pago
|
|
8548
|
+
*/
|
|
8549
|
+
CharacteristicType["DEDUCTION_ADVANCE_THIRTEENTH_SALARY_DISMISSAL_WITHOUT_THIRTEENTH_SALARY"] = "DEDUCTION_ADVANCE_THIRTEENTH_SALARY_DISMISSAL_WITHOUT_THIRTEENTH_SALARY";
|
|
8550
|
+
/**
|
|
8551
|
+
* Faltas como desconto
|
|
8552
|
+
*/
|
|
8553
|
+
CharacteristicType["ABSENCES_AS_DEDUCTION"] = "ABSENCES_AS_DEDUCTION";
|
|
8554
|
+
/**
|
|
8555
|
+
* FGTS sobre 13º salário proporcional serviço militar
|
|
8556
|
+
*/
|
|
8557
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY_PROPORTIONAL_MILITARY_SERVICE"] = "FGTS_THIRTEENTH_SALARY_PROPORTIONAL_MILITARY_SERVICE";
|
|
8558
|
+
/**
|
|
8559
|
+
* FGTS sobre 13º salário proporcional acidente de trabalho
|
|
8560
|
+
*/
|
|
8561
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY_PROPORTIONAL_WORK_ACCIDENT"] = "FGTS_THIRTEENTH_SALARY_PROPORTIONAL_WORK_ACCIDENT";
|
|
8562
|
+
/**
|
|
8563
|
+
* FGTS sobre 13º salário pago no mês
|
|
8564
|
+
*/
|
|
8565
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY_PAID_MONTH"] = "FGTS_THIRTEENTH_SALARY_PAID_MONTH";
|
|
8566
|
+
/**
|
|
8567
|
+
* FGTS indenizado
|
|
8568
|
+
*/
|
|
8569
|
+
CharacteristicType["FGTS_COMPENSATED"] = "FGTS_COMPENSATED";
|
|
8570
|
+
/**
|
|
8571
|
+
* FGTS sobre 13º indenizado
|
|
8572
|
+
*/
|
|
8573
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY_COMPENSATED"] = "FGTS_THIRTEENTH_SALARY_COMPENSATED";
|
|
8574
|
+
/**
|
|
8575
|
+
* Média de horas extras de férias vencidas na rescisão
|
|
8576
|
+
*/
|
|
8577
|
+
CharacteristicType["AVERAGE_OVERTIME_VACATION_OVERDUE_DISMISSAL"] = "AVERAGE_OVERTIME_VACATION_OVERDUE_DISMISSAL";
|
|
8578
|
+
/**
|
|
8579
|
+
* Média de valores variáveis de férias vencidas na rescisão
|
|
8580
|
+
*/
|
|
8581
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_VACATION_OVERDUE_DISMISSAL"] = "AVERAGE_VARIABLE_VALUES_VACATION_OVERDUE_DISMISSAL";
|
|
8582
|
+
/**
|
|
8583
|
+
* FGTS Rescisão 40% depositado
|
|
8584
|
+
*/
|
|
8585
|
+
CharacteristicType["FGTS_DISMISSAL_FORTY_PERCENT_DEPOSITED"] = "FGTS_DISMISSAL_FORTY_PERCENT_DEPOSITED";
|
|
8586
|
+
/**
|
|
8587
|
+
* Líquido da rescisão
|
|
8588
|
+
*/
|
|
8589
|
+
CharacteristicType["DISMISSAL_NET"] = "DISMISSAL_NET";
|
|
8590
|
+
/**
|
|
8591
|
+
* Diferença negativa de 1/3 sobre férias
|
|
8592
|
+
*/
|
|
8593
|
+
CharacteristicType["THIRD_OF_NEGATIVE_VACATION_DIFFERENCE"] = "THIRD_OF_NEGATIVE_VACATION_DIFFERENCE";
|
|
8594
|
+
/**
|
|
8595
|
+
* Diferença negativa de 1/3 sobre abono
|
|
8596
|
+
*/
|
|
8597
|
+
CharacteristicType["THIRD_OF_NEGATIVE_VACATION_PREMIUM_DIFFERENCE"] = "THIRD_OF_NEGATIVE_VACATION_PREMIUM_DIFFERENCE";
|
|
8598
|
+
/**
|
|
8599
|
+
* Diferença de 1/3 sobre férias
|
|
8600
|
+
*/
|
|
8601
|
+
CharacteristicType["THIRD_OF_VACATION_DIFFERENCE"] = "THIRD_OF_VACATION_DIFFERENCE";
|
|
8602
|
+
/**
|
|
8603
|
+
* Diferença de 1/3 sobre abono
|
|
8604
|
+
*/
|
|
8605
|
+
CharacteristicType["THIRD_OF_VACATION_PREMIUM_DIFFERENCE"] = "THIRD_OF_VACATION_PREMIUM_DIFFERENCE";
|
|
8606
|
+
/**
|
|
8607
|
+
* Multa por pagamento fora do prazo. Art. 477
|
|
8608
|
+
*/
|
|
8609
|
+
CharacteristicType["FINE_FOR_LATE_PAYMENT_TERMINATION"] = "FINE_FOR_LATE_PAYMENT_TERMINATION";
|
|
8610
|
+
/**
|
|
8611
|
+
* Indenização a título de incentivo a demissão
|
|
8612
|
+
*/
|
|
8613
|
+
CharacteristicType["COMPENSATION_AS_DISMISSAL_INCENTIVE"] = "COMPENSATION_AS_DISMISSAL_INCENTIVE";
|
|
8614
|
+
/**
|
|
8615
|
+
* Horas férias diurnas na folha
|
|
8616
|
+
*/
|
|
8617
|
+
CharacteristicType["DAYTIME_VACATION_HOURS_PAYROLL"] = "DAYTIME_VACATION_HOURS_PAYROLL";
|
|
8618
|
+
/**
|
|
8619
|
+
* Horas férias noturnas na folha
|
|
8620
|
+
*/
|
|
8621
|
+
CharacteristicType["NIGHTTIME_VACATION_HOURS_PAYROLL"] = "NIGHTTIME_VACATION_HOURS_PAYROLL";
|
|
8622
|
+
/**
|
|
8623
|
+
* Média de horas extras de férias na folha
|
|
8624
|
+
*/
|
|
8625
|
+
CharacteristicType["AVERAGE_OVERTIME_VACATION_PAYROLL"] = "AVERAGE_OVERTIME_VACATION_PAYROLL";
|
|
8626
|
+
/**
|
|
8627
|
+
* Média de valores variáveis de férias na folha
|
|
8628
|
+
*/
|
|
8629
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_VACATION_PAYROLL"] = "AVERAGE_VARIABLE_VALUES_VACATION_PAYROLL";
|
|
8630
|
+
/**
|
|
8631
|
+
* Adicional noturno de férias na folha
|
|
8632
|
+
*/
|
|
8633
|
+
CharacteristicType["ADDITIONAL_NIGHT_VACATION_PAYROLL"] = "ADDITIONAL_NIGHT_VACATION_PAYROLL";
|
|
8634
|
+
/**
|
|
8635
|
+
* Média de insalubridade de férias na folha
|
|
8636
|
+
*/
|
|
8637
|
+
CharacteristicType["AVERAGE_INSALUBRITY_VACATION_PAYROLL"] = "AVERAGE_INSALUBRITY_VACATION_PAYROLL";
|
|
8638
|
+
/**
|
|
8639
|
+
* Média de periculosidade de férias na folha
|
|
8640
|
+
*/
|
|
8641
|
+
CharacteristicType["AVERAGE_HAZARD_VACATION_PAYROLL"] = "AVERAGE_HAZARD_VACATION_PAYROLL";
|
|
8642
|
+
/**
|
|
8643
|
+
* 1/3 sobre férias na folha
|
|
8644
|
+
*/
|
|
8645
|
+
CharacteristicType["THIRD_OF_VACATION_PAYROLL"] = "THIRD_OF_VACATION_PAYROLL";
|
|
8646
|
+
/**
|
|
8647
|
+
* Multa dobro de férias na folha
|
|
8648
|
+
*/
|
|
8649
|
+
CharacteristicType["DOUBLE_VACATION_FINE_PAYROLL"] = "DOUBLE_VACATION_FINE_PAYROLL";
|
|
8650
|
+
/**
|
|
8651
|
+
* Abono pecuniário na folha
|
|
8652
|
+
*/
|
|
8653
|
+
CharacteristicType["VACATION_PREMIUM_PAYROLL"] = "VACATION_PREMIUM_PAYROLL";
|
|
8654
|
+
/**
|
|
8655
|
+
* Média de horas extras de abono na folha
|
|
8656
|
+
*/
|
|
8657
|
+
CharacteristicType["AVERAGE_OVERTIME_PREMIUM_PAYROLL"] = "AVERAGE_OVERTIME_PREMIUM_PAYROLL";
|
|
8658
|
+
/**
|
|
8659
|
+
* Média de valores variáveis de abono na folha
|
|
8660
|
+
*/
|
|
8661
|
+
CharacteristicType["AVERAGE_VARIABLE_VALUES_PREMIUM_PAYROLL"] = "AVERAGE_VARIABLE_VALUES_PREMIUM_PAYROLL";
|
|
8662
|
+
/**
|
|
8663
|
+
* Adicionais de abono na folha
|
|
8664
|
+
*/
|
|
8665
|
+
CharacteristicType["ADDITIONAL_PREMIUM_PAYROLL"] = "ADDITIONAL_PREMIUM_PAYROLL";
|
|
8666
|
+
/**
|
|
8667
|
+
* 1/3 sobre abono pecuniário na folha
|
|
8668
|
+
*/
|
|
8669
|
+
CharacteristicType["THIRD_OF_VACATION_PREMIUM_PAYROLL"] = "THIRD_OF_VACATION_PREMIUM_PAYROLL";
|
|
8670
|
+
/**
|
|
8671
|
+
* Multa dobro do abono pecuniário na folha
|
|
8672
|
+
*/
|
|
8673
|
+
CharacteristicType["DOUBLE_VACATION_PREMIUM_FINE_PAYROLL"] = "DOUBLE_VACATION_PREMIUM_FINE_PAYROLL";
|
|
8674
|
+
/**
|
|
8675
|
+
* INSS sobre férias na folha
|
|
8676
|
+
*/
|
|
8677
|
+
CharacteristicType["INSS_VACATION_PAY_PAYROLL"] = "INSS_VACATION_PAY_PAYROLL";
|
|
8678
|
+
/**
|
|
8679
|
+
* IRRF sobre férias na folha
|
|
8680
|
+
*/
|
|
8681
|
+
CharacteristicType["IRRF_VACATION_PAY_PAYROLL"] = "IRRF_VACATION_PAY_PAYROLL";
|
|
8682
|
+
/**
|
|
8683
|
+
* Pensão judicial sobre férias na folha
|
|
8684
|
+
*/
|
|
8685
|
+
CharacteristicType["JUDICIAL_ALIMONY_VACATION_PAYROLL"] = "JUDICIAL_ALIMONY_VACATION_PAYROLL";
|
|
8686
|
+
/**
|
|
8687
|
+
* Devolução de INSS
|
|
8688
|
+
*/
|
|
8689
|
+
CharacteristicType["INSS_REFUND"] = "INSS_REFUND";
|
|
8690
|
+
/**
|
|
8691
|
+
* Pensão judicial de cálculo RRA
|
|
8692
|
+
*/
|
|
8693
|
+
CharacteristicType["JUDICIAL_ALIMONY_CALCULATION_RRA"] = "JUDICIAL_ALIMONY_CALCULATION_RRA";
|
|
8694
|
+
/**
|
|
8695
|
+
* Pensão judicial de cálculo RRA dissídio coletivo rescisão
|
|
8696
|
+
*/
|
|
8697
|
+
CharacteristicType["JUDICIAL_ALIMONY_CALCULATION_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "JUDICIAL_ALIMONY_CALCULATION_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8698
|
+
/**
|
|
8699
|
+
* IRRF de cálculo RRA
|
|
8700
|
+
*/
|
|
8701
|
+
CharacteristicType["IRRF_CALCULATION_RRA"] = "IRRF_CALCULATION_RRA";
|
|
8702
|
+
/**
|
|
8703
|
+
* Desconto INSS de RRA
|
|
8704
|
+
*/
|
|
8705
|
+
CharacteristicType["INSS_DEDUCTION_RRA"] = "INSS_DEDUCTION_RRA";
|
|
8706
|
+
/**
|
|
8707
|
+
* INSS férias de cálculo RRA
|
|
8708
|
+
*/
|
|
8709
|
+
CharacteristicType["INSS_VACATION_CALCULATION_RRA"] = "INSS_VACATION_CALCULATION_RRA";
|
|
8710
|
+
/**
|
|
8711
|
+
* INSS 13º salário de cálculo RRA
|
|
8712
|
+
*/
|
|
8713
|
+
CharacteristicType["INSS_THIRTEENTH_SALARY_CALCULATION_RRA"] = "INSS_THIRTEENTH_SALARY_CALCULATION_RRA";
|
|
8714
|
+
/**
|
|
8715
|
+
* INSS RRA dissídio coletivo rescisão
|
|
8716
|
+
*/
|
|
8717
|
+
CharacteristicType["INSS_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "INSS_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8718
|
+
/**
|
|
8719
|
+
* INSS 13º salário RRA dissídio coletivo rescisão
|
|
8720
|
+
*/
|
|
8721
|
+
CharacteristicType["INSS_THIRTEENTH_SALARY_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "INSS_THIRTEENTH_SALARY_RRA_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8722
|
+
/**
|
|
8723
|
+
* Valor do PIS de 13º salário na folha mensal
|
|
8724
|
+
*/
|
|
8725
|
+
CharacteristicType["PIS_VALUE_THIRTEENTH_SALARY_MONTHLY_PAYROLL"] = "PIS_VALUE_THIRTEENTH_SALARY_MONTHLY_PAYROLL";
|
|
8726
|
+
/**
|
|
8727
|
+
* Valor do PIS na folha mensal
|
|
8728
|
+
*/
|
|
8729
|
+
CharacteristicType["PIS_MONTHLY_PAYROLL_VALUE"] = "PIS_MONTHLY_PAYROLL_VALUE";
|
|
8730
|
+
/**
|
|
8731
|
+
* Valor do PIS na rescisão
|
|
8732
|
+
*/
|
|
8733
|
+
CharacteristicType["PIS_DISMISSAL_VALUE"] = "PIS_DISMISSAL_VALUE";
|
|
8734
|
+
/**
|
|
8735
|
+
* Insalubridade gestante em local salubre
|
|
8736
|
+
*/
|
|
8737
|
+
CharacteristicType["INSALUBRITY_PREGNANT_EMPLOYEE_HEALTHY_ENVIRONMENT"] = "INSALUBRITY_PREGNANT_EMPLOYEE_HEALTHY_ENVIRONMENT";
|
|
8738
|
+
/**
|
|
8739
|
+
* Estouro da rescisão anterior
|
|
8740
|
+
*/
|
|
8741
|
+
CharacteristicType["PREVIOUS_DISMISSAL_OVERFLOW"] = "PREVIOUS_DISMISSAL_OVERFLOW";
|
|
8742
|
+
/**
|
|
8743
|
+
* INSS sobre 13º salário no dissídio coletivo na rescisão
|
|
8744
|
+
*/
|
|
8745
|
+
CharacteristicType["INSS_THIRTEENTH_SALARY_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "INSS_THIRTEENTH_SALARY_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8746
|
+
/**
|
|
8747
|
+
* INSS no dissídio coletivo na rescisão
|
|
8748
|
+
*/
|
|
8749
|
+
CharacteristicType["INSS_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "INSS_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8750
|
+
/**
|
|
8751
|
+
* FGTS sobre 13º salário no dissídio coletivo na rescisão
|
|
8752
|
+
*/
|
|
8753
|
+
CharacteristicType["FGTS_THIRTEENTH_SALARY_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "FGTS_THIRTEENTH_SALARY_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8754
|
+
/**
|
|
8755
|
+
* FGTS no dissídio coletivo na rescisão
|
|
8756
|
+
*/
|
|
8757
|
+
CharacteristicType["FGTS_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL"] = "FGTS_SUPPLEMENTARY_LABOR_AGREEMENT_DISMISSAL";
|
|
8758
|
+
/**
|
|
8759
|
+
* Proventos de terceiros
|
|
8760
|
+
*/
|
|
8761
|
+
CharacteristicType["THIRD_PARTY_INCOME"] = "THIRD_PARTY_INCOME";
|
|
8762
|
+
/**
|
|
8763
|
+
* Descontos de terceiros
|
|
8764
|
+
*/
|
|
8765
|
+
CharacteristicType["THIRD_PARTY_DEDUCTIONS"] = "THIRD_PARTY_DEDUCTIONS";
|
|
8766
|
+
/**
|
|
8767
|
+
* INSS de terceiros
|
|
8768
|
+
*/
|
|
8769
|
+
CharacteristicType["THIRD_PARTY_INSS"] = "THIRD_PARTY_INSS";
|
|
8770
|
+
/**
|
|
8771
|
+
* IRRF de terceiros
|
|
8772
|
+
*/
|
|
8773
|
+
CharacteristicType["THIRD_PARTY_IRRF"] = "THIRD_PARTY_IRRF";
|
|
8774
|
+
/**
|
|
8775
|
+
* SEST de terceiros
|
|
8776
|
+
*/
|
|
8777
|
+
CharacteristicType["THIRD_PARTY_SEST"] = "THIRD_PARTY_SEST";
|
|
8778
|
+
/**
|
|
8779
|
+
* SENAT de terceiros
|
|
8780
|
+
*/
|
|
8781
|
+
CharacteristicType["THIRD_PARTY_SENAT"] = "THIRD_PARTY_SENAT";
|
|
8782
|
+
/**
|
|
8783
|
+
* ISS de terceiros
|
|
8784
|
+
*/
|
|
8785
|
+
CharacteristicType["THIRD_PARTY_ISS"] = "THIRD_PARTY_ISS";
|
|
8786
|
+
/**
|
|
8787
|
+
* Pensão judicial de terceiros
|
|
8788
|
+
*/
|
|
8789
|
+
CharacteristicType["THIRD_PARTY_JUDICIAL_ALIMONY"] = "THIRD_PARTY_JUDICIAL_ALIMONY";
|
|
8790
|
+
})(exports.CharacteristicType || (exports.CharacteristicType = {}));
|
|
8791
|
+
function getCharacteristicTypeOptions(configService, translate) {
|
|
8792
|
+
return Object.values(exports.CharacteristicType).map(function (type) { return ({
|
|
8793
|
+
value: type,
|
|
8794
|
+
label: translate.instant(configService.getTranslationPrefix() + ".characteristic.type_" + type.toLowerCase())
|
|
8795
|
+
}); });
|
|
8796
|
+
}
|
|
8797
|
+
|
|
8798
|
+
var CharacteristicsLookupService = /** @class */ (function () {
|
|
8799
|
+
function CharacteristicsLookupService(translate, configService, characteristicsService) {
|
|
8800
|
+
this.translate = translate;
|
|
8801
|
+
this.configService = configService;
|
|
8802
|
+
this.characteristicsService = characteristicsService;
|
|
8803
|
+
this.characteristicsLookupDisplayFields = ["characteristicType", "description", "XTCharacteristicCode"];
|
|
8804
|
+
this.characteristicTypeOptions = getCharacteristicTypeOptions(this.configService, this.translate);
|
|
8805
|
+
this.lookupServiceConfig = {
|
|
8806
|
+
lookupDisplayFields: this.characteristicsLookupDisplayFields,
|
|
8807
|
+
lookupSeparator: " - ",
|
|
8808
|
+
searchSubject: new rxjs.Subject(),
|
|
8809
|
+
lookupSubject: new rxjs.Subject(),
|
|
8810
|
+
entityName: "characteristics",
|
|
8811
|
+
dynamicFormOptions: {
|
|
8812
|
+
cancelLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".cancel"),
|
|
8813
|
+
clearLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".clear"),
|
|
8814
|
+
dataKey: "id",
|
|
8815
|
+
emptyFieldLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".list_grid_empty_field"),
|
|
8816
|
+
emptyMessage: this.translate.instant(this.configService.getTranslationPrefix() + ".empty_message_field"),
|
|
8817
|
+
filterLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".filter"),
|
|
8818
|
+
filterTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".filters"),
|
|
8819
|
+
lookupDisplayField: "label",
|
|
8820
|
+
multiple: false,
|
|
8821
|
+
name: "characteristics",
|
|
8822
|
+
recordLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
8823
|
+
recordsLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
8824
|
+
required: true,
|
|
8825
|
+
searchEmptyTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".nothing_found"),
|
|
8826
|
+
searchFields: this.getCharacteristicsSearchFields(),
|
|
8827
|
+
searchGridFields: this.getCharacteristicsSearchFields(),
|
|
8828
|
+
selectLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".select"),
|
|
8829
|
+
visible: true,
|
|
8830
|
+
isCollective: false,
|
|
8831
|
+
},
|
|
8832
|
+
filters: {
|
|
8833
|
+
additionalFilter: undefined,
|
|
8834
|
+
initialFilter: undefined,
|
|
8835
|
+
},
|
|
8836
|
+
};
|
|
8837
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
8838
|
+
}
|
|
8839
|
+
CharacteristicsLookupService.prototype.setDisplayFields = function (fields) {
|
|
8840
|
+
this.characteristicsLookupDisplayFields = fields;
|
|
8841
|
+
if (this.lookupServiceConfig) {
|
|
8842
|
+
this.lookupServiceConfig.lookupDisplayFields = fields;
|
|
8843
|
+
}
|
|
8844
|
+
};
|
|
8845
|
+
CharacteristicsLookupService.prototype.updateSuggestions = function (value) {
|
|
8846
|
+
if (value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName]) {
|
|
8847
|
+
value[this.lookupServiceConfig.entityName].label = this.getSuggestionValue(this.lookupServiceConfig.lookupDisplayFields, this.lookupServiceConfig.entityName, value, this.lookupServiceConfig.lookupSeparator);
|
|
8848
|
+
if ((value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName].label.trim()) === this.lookupServiceConfig.lookupSeparator.trim()) {
|
|
8849
|
+
delete value[this.lookupServiceConfig.entityName].label;
|
|
8850
|
+
}
|
|
8851
|
+
}
|
|
8852
|
+
};
|
|
8853
|
+
CharacteristicsLookupService.prototype.getSuggestionValue = function (displayFields, ownerEntity, value, separator) {
|
|
8854
|
+
return displayFields
|
|
8855
|
+
.map(function (field) { return getProp(value, ownerEntity + "." + field); })
|
|
8856
|
+
.reduce(function (acc, val) { return "" + acc + separator + val; });
|
|
8857
|
+
};
|
|
8858
|
+
CharacteristicsLookupService.prototype.getFormField = function () {
|
|
8859
|
+
var _this = this;
|
|
8860
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
8861
|
+
return new angularComponents.FormField({
|
|
8862
|
+
cancelLabel: (_a = this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.cancelLabel,
|
|
8863
|
+
clearLabel: (_b = this.lookupServiceConfig.dynamicFormOptions) === null || _b === void 0 ? void 0 : _b.clearLabel,
|
|
8864
|
+
recordLabel: (_c = this.lookupServiceConfig.dynamicFormOptions) === null || _c === void 0 ? void 0 : _c.recordLabel,
|
|
8865
|
+
recordsLabel: (_d = this.lookupServiceConfig.dynamicFormOptions) === null || _d === void 0 ? void 0 : _d.recordsLabel,
|
|
8866
|
+
searchEmptyTitle: (_e = this.lookupServiceConfig.dynamicFormOptions) === null || _e === void 0 ? void 0 : _e.searchEmptyTitle,
|
|
8867
|
+
searchFields: (_f = this.lookupServiceConfig.dynamicFormOptions) === null || _f === void 0 ? void 0 : _f.searchFields,
|
|
8868
|
+
searchTitle: (_g = this.lookupServiceConfig.dynamicFormOptions) === null || _g === void 0 ? void 0 : _g.searchTitle,
|
|
8869
|
+
selectLabel: (_h = this.lookupServiceConfig.dynamicFormOptions) === null || _h === void 0 ? void 0 : _h.selectLabel,
|
|
8870
|
+
dataKey: (_j = this.lookupServiceConfig.dynamicFormOptions) === null || _j === void 0 ? void 0 : _j.dataKey,
|
|
8871
|
+
emptyFieldLabel: (_k = this.lookupServiceConfig.dynamicFormOptions) === null || _k === void 0 ? void 0 : _k.emptyFieldLabel,
|
|
8872
|
+
emptyMessage: (_l = this.lookupServiceConfig.dynamicFormOptions) === null || _l === void 0 ? void 0 : _l.emptyMessage,
|
|
8873
|
+
filterLabel: (_m = this.lookupServiceConfig.dynamicFormOptions) === null || _m === void 0 ? void 0 : _m.filterLabel,
|
|
8874
|
+
filterTitle: (_o = this.lookupServiceConfig.dynamicFormOptions) === null || _o === void 0 ? void 0 : _o.filterTitle,
|
|
8875
|
+
label: (_p = this.lookupServiceConfig.dynamicFormOptions) === null || _p === void 0 ? void 0 : _p.label,
|
|
8876
|
+
lookupDisplayField: (_q = this.lookupServiceConfig.dynamicFormOptions) === null || _q === void 0 ? void 0 : _q.lookupDisplayField,
|
|
8877
|
+
multiple: (_r = this.lookupServiceConfig.dynamicFormOptions) === null || _r === void 0 ? void 0 : _r.multiple,
|
|
8878
|
+
name: (_s = this.lookupServiceConfig.dynamicFormOptions) === null || _s === void 0 ? void 0 : _s.name,
|
|
8879
|
+
onLookupRequest: function (value) { return _this.onCharacteristicsLookupRequest(value); },
|
|
8880
|
+
onSearchRequest: function (event) { return _this.onCharacteristicsSearchRequest(event); },
|
|
8881
|
+
required: function () { var _a; return (_a = _this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.required; },
|
|
8882
|
+
searchObservable: this.lookupServiceConfig.searchSubject,
|
|
8883
|
+
suggestionsObservable: this.lookupServiceConfig.lookupSubject,
|
|
8884
|
+
type: angularComponents.FieldType.Lookup,
|
|
8885
|
+
visible: function () { var _a; return !((_a = _this.lookupServiceConfig.dynamicFormOptions) === null || _a === void 0 ? void 0 : _a.isCollective); },
|
|
8886
|
+
});
|
|
8887
|
+
};
|
|
8888
|
+
CharacteristicsLookupService.prototype.onCharacteristicsSearchRequest = function (event) {
|
|
8889
|
+
var _this = this;
|
|
8890
|
+
var _a, _b;
|
|
8891
|
+
this.onCharacteristicsRequestObservable(event, (_b = (_a = this.lookupServiceConfig) === null || _a === void 0 ? void 0 : _a.filters) === null || _b === void 0 ? void 0 : _b.additionalFilter, true).subscribe(function (data) { return _this.lookupServiceConfig.searchSubject.next(data); });
|
|
8892
|
+
};
|
|
8893
|
+
CharacteristicsLookupService.prototype.onCharacteristicsRequestObservable = function (event, additionalFilter, isDynamicForm) {
|
|
8894
|
+
var _this = this;
|
|
8895
|
+
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
8896
|
+
var first = event.first, rows = event.rows, multiSortMeta = event.multiSortMeta, filterData = event.filterData;
|
|
8897
|
+
var page = first / rows;
|
|
8898
|
+
var sort = multiSortMeta;
|
|
8899
|
+
var characteristicsFilterQuery = createSearchRequestFilter(filterData, this.getCharacteristicsFields());
|
|
8900
|
+
characteristicsFilterQuery = this.getFiltersDefaultRules(characteristicsFilterQuery, additionalFilter);
|
|
8901
|
+
var displayFields = mergeUnique(this.lookupServiceConfig.lookupDisplayFields, __spread(this.lookupServiceConfig.lookupDisplayFields));
|
|
8902
|
+
return this.characteristicsService
|
|
8903
|
+
.list({ page: page, sort: sort, filterQuery: characteristicsFilterQuery, displayFields: displayFields })
|
|
8904
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
8905
|
+
.pipe(operators.map(function (list) { return _this.mapToComponent(list, isDynamicForm); }));
|
|
8906
|
+
};
|
|
8907
|
+
CharacteristicsLookupService.prototype.getFiltersDefaultRules = function (filterData, additionalFilter) {
|
|
8908
|
+
var filters = [];
|
|
8909
|
+
additionalFilter && filters.push("(" + additionalFilter + ")");
|
|
8910
|
+
filterData && filters.push("(" + filterData + ")");
|
|
8911
|
+
return filters.join(' and ');
|
|
8912
|
+
};
|
|
8913
|
+
CharacteristicsLookupService.prototype.mapToComponent = function (list, isDynamicForm) {
|
|
8914
|
+
var _this = this;
|
|
8915
|
+
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
8916
|
+
if (isDynamicForm) {
|
|
8917
|
+
return ({
|
|
8918
|
+
gridData: list.contents
|
|
8919
|
+
.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }),
|
|
8920
|
+
totalRecords: list === null || list === void 0 ? void 0 : list.totalElements,
|
|
8921
|
+
});
|
|
8922
|
+
}
|
|
8923
|
+
else {
|
|
8924
|
+
return (__assign(__assign({}, list), { contents: list.contents.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }) }));
|
|
8925
|
+
}
|
|
8926
|
+
};
|
|
8927
|
+
CharacteristicsLookupService.prototype.getLabelForMaping = function (item) {
|
|
8928
|
+
var _this = this;
|
|
8929
|
+
return this.lookupServiceConfig.lookupDisplayFields
|
|
8930
|
+
.map(function (field) {
|
|
8931
|
+
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
8932
|
+
item.name = _this.translate
|
|
8933
|
+
.instant(_this.configService.getTranslationPrefix() + ".list_grid_empty_field");
|
|
8934
|
+
}
|
|
8935
|
+
if (field.indexOf(".") > 0) {
|
|
8936
|
+
return getProp(item, field);
|
|
8937
|
+
}
|
|
8938
|
+
return item[field];
|
|
8939
|
+
})
|
|
8940
|
+
.join(this.lookupServiceConfig.lookupSeparator);
|
|
8941
|
+
};
|
|
8942
|
+
CharacteristicsLookupService.prototype.onCharacteristicsLookupRequest = function (value) {
|
|
8943
|
+
var _this = this;
|
|
8944
|
+
var _a, _b;
|
|
8945
|
+
this.onCharacteristicsLookupRequestObservable(value, (_b = (_a = this.lookupServiceConfig) === null || _a === void 0 ? void 0 : _a.filters) === null || _b === void 0 ? void 0 : _b.additionalFilter).subscribe(function (data) { return _this.lookupServiceConfig.lookupSubject.next(data.contents); });
|
|
8946
|
+
};
|
|
8947
|
+
CharacteristicsLookupService.prototype.onCharacteristicsLookupRequestObservable = function (value, additionalFilter, filter) {
|
|
8948
|
+
var _this = this;
|
|
8949
|
+
var sort = this.characteristicsLookupDisplayFields.map(function (field) { return ({
|
|
8950
|
+
field: field,
|
|
8951
|
+
order: 1
|
|
8952
|
+
}); });
|
|
8953
|
+
var filterQuery = createLookupRequestFilter(value, this.getCharacteristicsFields());
|
|
8954
|
+
var displayFields = this.characteristicsLookupDisplayFields;
|
|
8955
|
+
debugger;
|
|
8956
|
+
return this.characteristicsService
|
|
8957
|
+
.list({ sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
8958
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
8959
|
+
.pipe(operators.map(function (list) { return _this.mapToComponent(list); }));
|
|
8960
|
+
};
|
|
8961
|
+
CharacteristicsLookupService.prototype.getCharacteristicsFields = function (displayFields) {
|
|
8962
|
+
var fields = [
|
|
8963
|
+
new angularComponents.FormField({
|
|
8964
|
+
name: "description",
|
|
8965
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".description"),
|
|
8966
|
+
type: angularComponents.FieldType.String,
|
|
8967
|
+
}),
|
|
8968
|
+
new angularComponents.FormField({
|
|
8969
|
+
name: "XTCharacteristicCode",
|
|
8970
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".xt_characteristic_code"),
|
|
8971
|
+
type: angularComponents.FieldType.String,
|
|
8972
|
+
}),
|
|
8973
|
+
new angularComponents.FormField({
|
|
8974
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".characteristic_type"),
|
|
8975
|
+
options: this.characteristicTypeOptions,
|
|
8976
|
+
defaultOption: exports.CharacteristicType.ABSENCES_AS_DEDUCTION,
|
|
8977
|
+
name: 'characteristicType',
|
|
8978
|
+
type: angularComponents.FieldType.Enum
|
|
8979
|
+
})
|
|
8980
|
+
];
|
|
8981
|
+
if (displayFields && displayFields.length > 0) {
|
|
8982
|
+
return displayFields
|
|
8983
|
+
.map(function (fieldName) { return fields.find(function (field) { return field.name === fieldName; }); })
|
|
8984
|
+
.filter(function (field) { return field !== undefined; });
|
|
8985
|
+
}
|
|
8986
|
+
return fields;
|
|
8987
|
+
};
|
|
8988
|
+
CharacteristicsLookupService.prototype.getCharacteristicsSearchFields = function (displayFields) {
|
|
8989
|
+
var fields = this.getCharacteristicsFields();
|
|
8990
|
+
if (displayFields && displayFields.length > 0) {
|
|
8991
|
+
return displayFields
|
|
8992
|
+
.map(function (fieldName) { return fields.find(function (field) { return field.name === fieldName; }); })
|
|
8993
|
+
.filter(function (field) { return field !== undefined; });
|
|
8994
|
+
}
|
|
8995
|
+
return fields;
|
|
8996
|
+
};
|
|
8997
|
+
CharacteristicsLookupService.ctorParameters = function () { return [
|
|
8998
|
+
{ type: core$1.TranslateService },
|
|
8999
|
+
{ type: EntityLookupConfigService },
|
|
9000
|
+
{ type: CharacteristicsService }
|
|
9001
|
+
]; };
|
|
9002
|
+
CharacteristicsLookupService = __decorate([
|
|
9003
|
+
core.Injectable()
|
|
9004
|
+
], CharacteristicsLookupService);
|
|
9005
|
+
return CharacteristicsLookupService;
|
|
9006
|
+
}());
|
|
9007
|
+
|
|
9008
|
+
var CharacteristicsLookupComponent = /** @class */ (function (_super) {
|
|
9009
|
+
__extends(CharacteristicsLookupComponent, _super);
|
|
9010
|
+
function CharacteristicsLookupComponent(translate, cdRef, configService, structerService, characteristicsLookupService) {
|
|
9011
|
+
var _this = _super.call(this, translate, cdRef, configService, structerService) || this;
|
|
9012
|
+
_this.translate = translate;
|
|
9013
|
+
_this.cdRef = cdRef;
|
|
9014
|
+
_this.configService = configService;
|
|
9015
|
+
_this.structerService = structerService;
|
|
9016
|
+
_this.characteristicsLookupService = characteristicsLookupService;
|
|
9017
|
+
_this.displayFields = ['description', 'characteristicType', 'XTCharacteristicCode'];
|
|
9018
|
+
_this.controlName = "characteristics";
|
|
9019
|
+
_this.entity = "characteristics";
|
|
9020
|
+
_this.domain = "hcm_payroll";
|
|
9021
|
+
_this.service = "shared";
|
|
9022
|
+
_this.useDateValidation = false;
|
|
9023
|
+
return _this;
|
|
9024
|
+
}
|
|
9025
|
+
CharacteristicsLookupComponent.prototype.ngOnInit = function () {
|
|
9026
|
+
this.characteristicsLookupService.setDisplayFields(this.displayFields);
|
|
9027
|
+
this.characteristicsSearchFields = this.characteristicsLookupService.getCharacteristicsFields(this.displayFields);
|
|
9028
|
+
this.characteristicsSearchGridFields = this.characteristicsLookupService.getCharacteristicsFields(this.displayFields);
|
|
9029
|
+
};
|
|
9030
|
+
CharacteristicsLookupComponent.prototype.onCharacteristicsLookupRequest = function (value) {
|
|
9031
|
+
var _this = this;
|
|
9032
|
+
this.characteristicsLookupService
|
|
9033
|
+
.onCharacteristicsLookupRequestObservable(value, this.characteristicsLookupService.lookupServiceConfig.filters.additionalFilter)
|
|
9034
|
+
.subscribe(function (list) {
|
|
9035
|
+
_this.characteristicsSuggestions = list === null || list === void 0 ? void 0 : list.contents;
|
|
9036
|
+
});
|
|
9037
|
+
};
|
|
9038
|
+
CharacteristicsLookupComponent.prototype.onCharacteristicsSearchRequest = function (event) {
|
|
9039
|
+
var _this = this;
|
|
9040
|
+
this.characteristicsLookupService
|
|
9041
|
+
.onCharacteristicsRequestObservable(event, this.characteristicsLookupService.lookupServiceConfig.filters.additionalFilter)
|
|
9042
|
+
.subscribe(function (list) {
|
|
9043
|
+
_this.characteristicsSearchGridData = list === null || list === void 0 ? void 0 : list.contents;
|
|
9044
|
+
_this.characteristicsSearchTotalRecords = list === null || list === void 0 ? void 0 : list.totalElements;
|
|
9045
|
+
});
|
|
7936
9046
|
};
|
|
7937
9047
|
CharacteristicsLookupComponent.ctorParameters = function () { return [
|
|
7938
9048
|
{ type: core$1.TranslateService },
|
|
@@ -8259,6 +9369,24 @@
|
|
|
8259
9369
|
return RulesLookupModule;
|
|
8260
9370
|
}());
|
|
8261
9371
|
|
|
9372
|
+
var AccumulatorType;
|
|
9373
|
+
(function (AccumulatorType) {
|
|
9374
|
+
AccumulatorType["MONTHLY_PAYROLL"] = "MONTHLY_PAYROLL";
|
|
9375
|
+
AccumulatorType["VACATION"] = "VACATION";
|
|
9376
|
+
AccumulatorType["THIRTEENTH_SALARY"] = "THIRTEENTH_SALARY";
|
|
9377
|
+
AccumulatorType["PLR"] = "PLR";
|
|
9378
|
+
AccumulatorType["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
9379
|
+
AccumulatorType["DEDUCTION_IRRF_MONTHLY"] = "DEDUCTION_IRRF_MONTHLY";
|
|
9380
|
+
AccumulatorType["DEDUCTION_IRRF_VACATION"] = "DEDUCTION_IRRF_VACATION";
|
|
9381
|
+
AccumulatorType["DEDUCTION_IRRF_THIRTEENTH_SALARY"] = "DEDUCTION_IRRF_THIRTEENTH_SALARY";
|
|
9382
|
+
})(AccumulatorType || (AccumulatorType = {}));
|
|
9383
|
+
function getAccumulatorTypeOptions(configService, translate) {
|
|
9384
|
+
return Object.values(AccumulatorType).map(function (type) { return ({
|
|
9385
|
+
value: type,
|
|
9386
|
+
label: translate.instant(configService.getTranslationPrefix() + ".accumulator_type_" + type.toLocaleLowerCase())
|
|
9387
|
+
}); });
|
|
9388
|
+
}
|
|
9389
|
+
|
|
8262
9390
|
var FgtsTaxationService = /** @class */ (function (_super) {
|
|
8263
9391
|
__extends(FgtsTaxationService, _super);
|
|
8264
9392
|
function FgtsTaxationService(http, messageService, translate, configService) {
|
|
@@ -8286,9 +9414,10 @@
|
|
|
8286
9414
|
this.translate = translate;
|
|
8287
9415
|
this.configService = configService;
|
|
8288
9416
|
this.fgtsTaxationService = fgtsTaxationService;
|
|
8289
|
-
this.
|
|
9417
|
+
this.accumulatorTypeOptions = getAccumulatorTypeOptions(this.configService, this.translate);
|
|
8290
9418
|
this.lookupServiceConfig = {
|
|
8291
|
-
lookupDisplayFields:
|
|
9419
|
+
lookupDisplayFields: ["code", "description", "fgtsTaxationGroup.code", "fgtsTaxationGroup.description"],
|
|
9420
|
+
lookupSuggestionFields: ["code", "description"],
|
|
8292
9421
|
lookupSeparator: " - ",
|
|
8293
9422
|
searchSubject: new rxjs.Subject(),
|
|
8294
9423
|
lookupSubject: new rxjs.Subject(),
|
|
@@ -8323,9 +9452,6 @@
|
|
|
8323
9452
|
};
|
|
8324
9453
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
8325
9454
|
}
|
|
8326
|
-
FgtsTaxationLookupService.prototype.setDisplayFields = function (fields) {
|
|
8327
|
-
this.fgtsTaxationDisplayFields = fields;
|
|
8328
|
-
};
|
|
8329
9455
|
FgtsTaxationLookupService.prototype.updateSuggestions = function (value) {
|
|
8330
9456
|
if (value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName]) {
|
|
8331
9457
|
value[this.lookupServiceConfig.entityName].label = this.getSuggestionValue(this.lookupServiceConfig.lookupDisplayFields, this.lookupServiceConfig.entityName, value, this.lookupServiceConfig.lookupSeparator);
|
|
@@ -8410,7 +9536,7 @@
|
|
|
8410
9536
|
};
|
|
8411
9537
|
FgtsTaxationLookupService.prototype.getLabelForMaping = function (item) {
|
|
8412
9538
|
var _this = this;
|
|
8413
|
-
return this.lookupServiceConfig.
|
|
9539
|
+
return this.lookupServiceConfig.lookupSuggestionFields
|
|
8414
9540
|
.map(function (field) {
|
|
8415
9541
|
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
8416
9542
|
item.name = _this.translate
|
|
@@ -8430,12 +9556,11 @@
|
|
|
8430
9556
|
};
|
|
8431
9557
|
FgtsTaxationLookupService.prototype.onFgtsTaxationLookupRequestObservable = function (value, additionalFilter, filter) {
|
|
8432
9558
|
var _this = this;
|
|
8433
|
-
var sort = this.
|
|
9559
|
+
var sort = this.lookupServiceConfig.lookupDisplayFields.map(function (field) { return ({
|
|
8434
9560
|
field: field,
|
|
8435
9561
|
order: 1
|
|
8436
9562
|
}); });
|
|
8437
9563
|
var filterQuery = createLookupRequestFilter(value, this.getFgtsTaxationSearchFields());
|
|
8438
|
-
filterQuery = getFiltersForCustomDisplayFields(filterQuery, filter);
|
|
8439
9564
|
var displayFields = mergeUnique(this.lookupServiceConfig.lookupDisplayFields, __spread(this.lookupServiceConfig.lookupDisplayFields));
|
|
8440
9565
|
return this.fgtsTaxationService
|
|
8441
9566
|
.list({ sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -8444,6 +9569,16 @@
|
|
|
8444
9569
|
};
|
|
8445
9570
|
FgtsTaxationLookupService.prototype.getFgtsTaxationSearchFields = function (displayFields) {
|
|
8446
9571
|
var fields = [
|
|
9572
|
+
new angularComponents.FormField({
|
|
9573
|
+
name: "fgtsTaxationGroup.code",
|
|
9574
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".irrf_taxation_irrf_taxation_group_code"),
|
|
9575
|
+
type: angularComponents.FieldType.String,
|
|
9576
|
+
}),
|
|
9577
|
+
new angularComponents.FormField({
|
|
9578
|
+
name: "fgtsTaxationGroup.description",
|
|
9579
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".irrf_taxation_irrf_taxation_group_description"),
|
|
9580
|
+
type: angularComponents.FieldType.String,
|
|
9581
|
+
}),
|
|
8447
9582
|
new angularComponents.FormField({
|
|
8448
9583
|
name: "code",
|
|
8449
9584
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".fgts_taxation_code"),
|
|
@@ -8454,6 +9589,13 @@
|
|
|
8454
9589
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".fgts_taxation_description"),
|
|
8455
9590
|
type: angularComponents.FieldType.String,
|
|
8456
9591
|
}),
|
|
9592
|
+
new angularComponents.FormField({
|
|
9593
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".accumulator_type"),
|
|
9594
|
+
options: this.accumulatorTypeOptions,
|
|
9595
|
+
defaultOption: AccumulatorType.MONTHLY_PAYROLL,
|
|
9596
|
+
name: 'accumulatorType',
|
|
9597
|
+
type: angularComponents.FieldType.Enum
|
|
9598
|
+
})
|
|
8457
9599
|
];
|
|
8458
9600
|
if (displayFields && displayFields.length > 0) {
|
|
8459
9601
|
return displayFields
|
|
@@ -8482,7 +9624,6 @@
|
|
|
8482
9624
|
_this.configService = configService;
|
|
8483
9625
|
_this.structerService = structerService;
|
|
8484
9626
|
_this.fgtsTaxationLookupService = fgtsTaxationLookupService;
|
|
8485
|
-
_this.displayFields = ["fgtsTaxationGroup.code", "fgtsTaxationGroup.description", "code", "description"];
|
|
8486
9627
|
_this.controlName = "fgtsTaxation";
|
|
8487
9628
|
_this.entity = "fgtsTaxation";
|
|
8488
9629
|
_this.domain = "tax_obligation";
|
|
@@ -8491,9 +9632,8 @@
|
|
|
8491
9632
|
return _this;
|
|
8492
9633
|
}
|
|
8493
9634
|
FgtsTaxationLookupComponent.prototype.ngOnInit = function () {
|
|
8494
|
-
this.fgtsTaxationLookupService.
|
|
8495
|
-
this.
|
|
8496
|
-
this.fgtsTaxationSearchGridFields = this.fgtsTaxationLookupService.getFgtsTaxationSearchFields(this.displayFields);
|
|
9635
|
+
this.fgtsTaxationSearchFields = this.fgtsTaxationLookupService.getFgtsTaxationSearchFields(this.fgtsTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
9636
|
+
this.fgtsTaxationSearchGridFields = this.fgtsTaxationLookupService.getFgtsTaxationSearchFields(this.fgtsTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
8497
9637
|
};
|
|
8498
9638
|
FgtsTaxationLookupComponent.prototype.onFgtsTaxationLookupRequest = function (value) {
|
|
8499
9639
|
var _this = this;
|
|
@@ -8519,9 +9659,6 @@
|
|
|
8519
9659
|
{ type: StructureFilterService },
|
|
8520
9660
|
{ type: FgtsTaxationLookupService }
|
|
8521
9661
|
]; };
|
|
8522
|
-
__decorate([
|
|
8523
|
-
core.Input()
|
|
8524
|
-
], FgtsTaxationLookupComponent.prototype, "displayFields", void 0);
|
|
8525
9662
|
FgtsTaxationLookupComponent = __decorate([
|
|
8526
9663
|
core.Component({
|
|
8527
9664
|
selector: "hcm-fgts-taxation-lookup",
|
|
@@ -8589,9 +9726,10 @@
|
|
|
8589
9726
|
this.translate = translate;
|
|
8590
9727
|
this.configService = configService;
|
|
8591
9728
|
this.inssTaxationService = inssTaxationService;
|
|
8592
|
-
this.
|
|
9729
|
+
this.accumulatorTypeOptions = getAccumulatorTypeOptions(this.configService, this.translate);
|
|
8593
9730
|
this.lookupServiceConfig = {
|
|
8594
|
-
lookupDisplayFields:
|
|
9731
|
+
lookupDisplayFields: ["code", "description", "inssTaxationGroup.code", "inssTaxationGroup.description", "accumulatorType"],
|
|
9732
|
+
lookupSuggestionFields: ["code", "description"],
|
|
8595
9733
|
lookupSeparator: " - ",
|
|
8596
9734
|
searchSubject: new rxjs.Subject(),
|
|
8597
9735
|
lookupSubject: new rxjs.Subject(),
|
|
@@ -8626,9 +9764,6 @@
|
|
|
8626
9764
|
};
|
|
8627
9765
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
8628
9766
|
}
|
|
8629
|
-
InssTaxationLookupService.prototype.setDisplayFields = function (fields) {
|
|
8630
|
-
this.inssTaxationDisplayFields = fields;
|
|
8631
|
-
};
|
|
8632
9767
|
InssTaxationLookupService.prototype.updateSuggestions = function (value) {
|
|
8633
9768
|
if (value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName]) {
|
|
8634
9769
|
value[this.lookupServiceConfig.entityName].label = this.getSuggestionValue(this.lookupServiceConfig.lookupDisplayFields, this.lookupServiceConfig.entityName, value, this.lookupServiceConfig.lookupSeparator);
|
|
@@ -8713,7 +9848,7 @@
|
|
|
8713
9848
|
};
|
|
8714
9849
|
InssTaxationLookupService.prototype.getLabelForMaping = function (item) {
|
|
8715
9850
|
var _this = this;
|
|
8716
|
-
return this.lookupServiceConfig.
|
|
9851
|
+
return this.lookupServiceConfig.lookupSuggestionFields
|
|
8717
9852
|
.map(function (field) {
|
|
8718
9853
|
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
8719
9854
|
item.name = _this.translate
|
|
@@ -8733,12 +9868,11 @@
|
|
|
8733
9868
|
};
|
|
8734
9869
|
InssTaxationLookupService.prototype.onInssTaxationLookupRequestObservable = function (value, additionalFilter, filter) {
|
|
8735
9870
|
var _this = this;
|
|
8736
|
-
var sort = this.
|
|
9871
|
+
var sort = this.lookupServiceConfig.lookupDisplayFields.map(function (field) { return ({
|
|
8737
9872
|
field: field,
|
|
8738
9873
|
order: 1
|
|
8739
9874
|
}); });
|
|
8740
9875
|
var filterQuery = createLookupRequestFilter(value, this.getInssTaxationSearchFields());
|
|
8741
|
-
filterQuery = getFiltersForCustomDisplayFields(filterQuery, filter);
|
|
8742
9876
|
var displayFields = mergeUnique(this.lookupServiceConfig.lookupDisplayFields, __spread(this.lookupServiceConfig.lookupDisplayFields));
|
|
8743
9877
|
return this.inssTaxationService
|
|
8744
9878
|
.list({ sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -8747,6 +9881,11 @@
|
|
|
8747
9881
|
};
|
|
8748
9882
|
InssTaxationLookupService.prototype.getInssTaxationSearchFields = function (displayFields) {
|
|
8749
9883
|
var fields = [
|
|
9884
|
+
new angularComponents.FormField({
|
|
9885
|
+
name: "code",
|
|
9886
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".inss_taxation_code"),
|
|
9887
|
+
type: angularComponents.FieldType.String,
|
|
9888
|
+
}),
|
|
8750
9889
|
new angularComponents.FormField({
|
|
8751
9890
|
name: "inssTaxationGroup.code",
|
|
8752
9891
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".inss_taxation_inss_taxation_group_code"),
|
|
@@ -8757,15 +9896,17 @@
|
|
|
8757
9896
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".inss_taxation_inss_taxation_description"),
|
|
8758
9897
|
type: angularComponents.FieldType.String,
|
|
8759
9898
|
}),
|
|
8760
|
-
new angularComponents.FormField({
|
|
8761
|
-
name: "code",
|
|
8762
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".inss_taxation_code"),
|
|
8763
|
-
type: angularComponents.FieldType.String,
|
|
8764
|
-
}),
|
|
8765
9899
|
new angularComponents.FormField({
|
|
8766
9900
|
name: "description",
|
|
8767
9901
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".inss_taxation_description"),
|
|
8768
9902
|
type: angularComponents.FieldType.String,
|
|
9903
|
+
}),
|
|
9904
|
+
new angularComponents.FormField({
|
|
9905
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".accumulator_type"),
|
|
9906
|
+
options: this.accumulatorTypeOptions,
|
|
9907
|
+
defaultOption: AccumulatorType.MONTHLY_PAYROLL,
|
|
9908
|
+
name: 'accumulatorType',
|
|
9909
|
+
type: angularComponents.FieldType.Enum
|
|
8769
9910
|
})
|
|
8770
9911
|
];
|
|
8771
9912
|
if (displayFields && displayFields.length > 0) {
|
|
@@ -8795,7 +9936,6 @@
|
|
|
8795
9936
|
_this.configService = configService;
|
|
8796
9937
|
_this.structerService = structerService;
|
|
8797
9938
|
_this.inssTaxationLookupService = inssTaxationLookupService;
|
|
8798
|
-
_this.displayFields = ["inssTaxationGroup.code", "inssTaxationGroup.description", "code", "description"];
|
|
8799
9939
|
_this.controlName = "inssTaxation";
|
|
8800
9940
|
_this.entity = "inssTaxation";
|
|
8801
9941
|
_this.domain = "tax_obligation";
|
|
@@ -8804,9 +9944,8 @@
|
|
|
8804
9944
|
return _this;
|
|
8805
9945
|
}
|
|
8806
9946
|
InssTaxationLookupComponent.prototype.ngOnInit = function () {
|
|
8807
|
-
this.inssTaxationLookupService.
|
|
8808
|
-
this.
|
|
8809
|
-
this.inssTaxationSearchGridFields = this.inssTaxationLookupService.getInssTaxationSearchFields(this.displayFields);
|
|
9947
|
+
this.inssTaxationSearchFields = this.inssTaxationLookupService.getInssTaxationSearchFields(this.inssTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
9948
|
+
this.inssTaxationSearchGridFields = this.inssTaxationLookupService.getInssTaxationSearchFields(this.inssTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
8810
9949
|
};
|
|
8811
9950
|
InssTaxationLookupComponent.prototype.onInssTaxationLookupRequest = function (value) {
|
|
8812
9951
|
var _this = this;
|
|
@@ -8832,9 +9971,6 @@
|
|
|
8832
9971
|
{ type: StructureFilterService },
|
|
8833
9972
|
{ type: InssTaxationLookupService }
|
|
8834
9973
|
]; };
|
|
8835
|
-
__decorate([
|
|
8836
|
-
core.Input()
|
|
8837
|
-
], InssTaxationLookupComponent.prototype, "displayFields", void 0);
|
|
8838
9974
|
InssTaxationLookupComponent = __decorate([
|
|
8839
9975
|
core.Component({
|
|
8840
9976
|
selector: "hcm-inss-taxation-lookup",
|
|
@@ -8902,9 +10038,10 @@
|
|
|
8902
10038
|
this.translate = translate;
|
|
8903
10039
|
this.configService = configService;
|
|
8904
10040
|
this.irrfTaxationService = irrfTaxationService;
|
|
8905
|
-
this.
|
|
10041
|
+
this.accumulatorTypeOptions = getAccumulatorTypeOptions(this.configService, this.translate);
|
|
8906
10042
|
this.lookupServiceConfig = {
|
|
8907
|
-
lookupDisplayFields:
|
|
10043
|
+
lookupDisplayFields: ["code", "description", "irrfTaxationGroup.code", "irrfTaxationGroup.description"],
|
|
10044
|
+
lookupSuggestionFields: ["code", "description"],
|
|
8908
10045
|
lookupSeparator: " - ",
|
|
8909
10046
|
searchSubject: new rxjs.Subject(),
|
|
8910
10047
|
lookupSubject: new rxjs.Subject(),
|
|
@@ -8924,7 +10061,7 @@
|
|
|
8924
10061
|
recordsLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
8925
10062
|
required: true,
|
|
8926
10063
|
searchEmptyTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".nothing_found"),
|
|
8927
|
-
searchFields: this.getIrrfTaxationSearchFields(),
|
|
10064
|
+
searchFields: this.getIrrfTaxationSearchFields(["code", "description"]),
|
|
8928
10065
|
searchGridFields: this.getIrrfTaxationSearchFields(),
|
|
8929
10066
|
searchTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".company_linked_location_search_title"),
|
|
8930
10067
|
selectLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".select"),
|
|
@@ -8939,9 +10076,6 @@
|
|
|
8939
10076
|
};
|
|
8940
10077
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
8941
10078
|
}
|
|
8942
|
-
IrrfTaxationLookupService.prototype.setDisplayFields = function (fields) {
|
|
8943
|
-
this.irrfTaxationDisplayFields = fields;
|
|
8944
|
-
};
|
|
8945
10079
|
IrrfTaxationLookupService.prototype.updateSuggestions = function (value) {
|
|
8946
10080
|
if (value === null || value === void 0 ? void 0 : value[this.lookupServiceConfig.entityName]) {
|
|
8947
10081
|
value[this.lookupServiceConfig.entityName].label = this.getSuggestionValue(this.lookupServiceConfig.lookupDisplayFields, this.lookupServiceConfig.entityName, value, this.lookupServiceConfig.lookupSeparator);
|
|
@@ -9026,7 +10160,7 @@
|
|
|
9026
10160
|
};
|
|
9027
10161
|
IrrfTaxationLookupService.prototype.getLabelForMaping = function (item) {
|
|
9028
10162
|
var _this = this;
|
|
9029
|
-
return this.lookupServiceConfig.
|
|
10163
|
+
return this.lookupServiceConfig.lookupSuggestionFields
|
|
9030
10164
|
.map(function (field) {
|
|
9031
10165
|
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
9032
10166
|
item.name = _this.translate
|
|
@@ -9046,12 +10180,11 @@
|
|
|
9046
10180
|
};
|
|
9047
10181
|
IrrfTaxationLookupService.prototype.onIrrfTaxationLookupRequestObservable = function (value, additionalFilter, filter) {
|
|
9048
10182
|
var _this = this;
|
|
9049
|
-
var sort = this.
|
|
10183
|
+
var sort = this.lookupServiceConfig.lookupDisplayFields.map(function (field) { return ({
|
|
9050
10184
|
field: field,
|
|
9051
10185
|
order: 1
|
|
9052
10186
|
}); });
|
|
9053
10187
|
var filterQuery = createLookupRequestFilter(value, this.getIrrfTaxationSearchFields());
|
|
9054
|
-
filterQuery = getFiltersForCustomDisplayFields(filterQuery, filter);
|
|
9055
10188
|
var displayFields = mergeUnique(this.lookupServiceConfig.lookupDisplayFields, __spread(this.lookupServiceConfig.lookupDisplayFields));
|
|
9056
10189
|
return this.irrfTaxationService
|
|
9057
10190
|
.list({ sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -9079,6 +10212,13 @@
|
|
|
9079
10212
|
name: "description",
|
|
9080
10213
|
label: this.translate.instant(this.configService.getTranslationPrefix() + ".irrf_taxation_description"),
|
|
9081
10214
|
type: angularComponents.FieldType.String,
|
|
10215
|
+
}),
|
|
10216
|
+
new angularComponents.FormField({
|
|
10217
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".accumulator_type"),
|
|
10218
|
+
options: this.accumulatorTypeOptions,
|
|
10219
|
+
defaultOption: AccumulatorType.MONTHLY_PAYROLL,
|
|
10220
|
+
name: 'accumulatorType',
|
|
10221
|
+
type: angularComponents.FieldType.Enum
|
|
9082
10222
|
})
|
|
9083
10223
|
];
|
|
9084
10224
|
if (displayFields && displayFields.length > 0) {
|
|
@@ -9108,7 +10248,6 @@
|
|
|
9108
10248
|
_this.configService = configService;
|
|
9109
10249
|
_this.structerService = structerService;
|
|
9110
10250
|
_this.irrfTaxationLookupService = irrfTaxationLookupService;
|
|
9111
|
-
_this.displayFields = ["irrfTaxationGroup.code", "irrfTaxationGroup.description", "code", "description"];
|
|
9112
10251
|
_this.controlName = "irrfTaxation";
|
|
9113
10252
|
_this.entity = "irrfTaxation";
|
|
9114
10253
|
_this.domain = "tax_obligation";
|
|
@@ -9117,9 +10256,8 @@
|
|
|
9117
10256
|
return _this;
|
|
9118
10257
|
}
|
|
9119
10258
|
IrrfTaxationLookupComponent.prototype.ngOnInit = function () {
|
|
9120
|
-
this.irrfTaxationLookupService.
|
|
9121
|
-
this.
|
|
9122
|
-
this.irrfTaxationSearchGridFields = this.irrfTaxationLookupService.getIrrfTaxationSearchFields(this.displayFields);
|
|
10259
|
+
this.irrfTaxationSearchFields = this.irrfTaxationLookupService.getIrrfTaxationSearchFields(this.irrfTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
10260
|
+
this.irrfTaxationSearchGridFields = this.irrfTaxationLookupService.getIrrfTaxationSearchFields(this.irrfTaxationLookupService.lookupServiceConfig.lookupDisplayFields);
|
|
9123
10261
|
};
|
|
9124
10262
|
IrrfTaxationLookupComponent.prototype.onIrrfTaxationLookupRequest = function (value) {
|
|
9125
10263
|
var _this = this;
|
|
@@ -9145,9 +10283,6 @@
|
|
|
9145
10283
|
{ type: StructureFilterService },
|
|
9146
10284
|
{ type: IrrfTaxationLookupService }
|
|
9147
10285
|
]; };
|
|
9148
|
-
__decorate([
|
|
9149
|
-
core.Input()
|
|
9150
|
-
], IrrfTaxationLookupComponent.prototype, "displayFields", void 0);
|
|
9151
10286
|
IrrfTaxationLookupComponent = __decorate([
|
|
9152
10287
|
core.Component({
|
|
9153
10288
|
selector: "hcm-irrf-taxation-lookup",
|
|
@@ -11537,6 +12672,7 @@
|
|
|
11537
12672
|
exports.WorkshiftLookupService = WorkshiftLookupService;
|
|
11538
12673
|
exports.WorkshiftService = WorkshiftService;
|
|
11539
12674
|
exports.fallback = fallback;
|
|
12675
|
+
exports.getCharacteristicTypeOptions = getCharacteristicTypeOptions;
|
|
11540
12676
|
exports.ɵa = PisPasepTaxationService;
|
|
11541
12677
|
exports.ɵb = EntityService;
|
|
11542
12678
|
exports.ɵba = WorkshiftGroupModule;
|