@senior-gestao-pessoas/hcm-entity-lookups 3.1.6 → 3.1.7-develop-751c599c
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 +321 -31
- 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/entities/company-tax-allocation/company-tax-allocation-dto.d.ts +11 -0
- package/core/entities/company-tax-allocation/company-tax-allocation.d.ts +14 -0
- package/core/entities/company-tax-allocation/company-tax-allocation.module.d.ts +2 -0
- package/core/entities/company-tax-allocation/company-tax-allocation.service.d.ts +13 -0
- package/esm2015/core/core-lookup.module.js +4 -2
- package/esm2015/core/entities/company-tax-allocation/company-tax-allocation-dto.js +1 -0
- package/esm2015/core/entities/company-tax-allocation/company-tax-allocation.js +34 -0
- package/esm2015/core/entities/company-tax-allocation/company-tax-allocation.module.js +26 -0
- package/esm2015/core/entities/company-tax-allocation/company-tax-allocation.service.js +27 -0
- package/esm2015/lookups/administrative-judicial-case-lookup/administrative-judicial-case-lookup.service.js +4 -4
- package/esm2015/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.component.js +56 -0
- package/esm2015/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.module.js +29 -0
- package/esm2015/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.service.js +161 -0
- package/esm2015/public-api.js +4 -1
- package/esm2015/senior-gestao-pessoas-hcm-entity-lookups.js +30 -28
- package/esm5/core/core-lookup.module.js +4 -2
- package/esm5/core/entities/company-tax-allocation/company-tax-allocation-dto.js +1 -0
- package/esm5/core/entities/company-tax-allocation/company-tax-allocation.js +39 -0
- package/esm5/core/entities/company-tax-allocation/company-tax-allocation.module.js +29 -0
- package/esm5/core/entities/company-tax-allocation/company-tax-allocation.service.js +30 -0
- package/esm5/lookups/administrative-judicial-case-lookup/administrative-judicial-case-lookup.service.js +4 -4
- package/esm5/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.component.js +61 -0
- package/esm5/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.module.js +32 -0
- package/esm5/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.service.js +171 -0
- package/esm5/public-api.js +4 -1
- package/esm5/senior-gestao-pessoas-hcm-entity-lookups.js +30 -28
- package/fesm2015/senior-gestao-pessoas-hcm-entity-lookups.js +266 -5
- package/fesm2015/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-hcm-entity-lookups.js +290 -5
- package/fesm5/senior-gestao-pessoas-hcm-entity-lookups.js.map +1 -1
- package/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.component.d.ts +24 -0
- package/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.module.d.ts +2 -0
- package/lookups/company-tax-allocation-lookup/company-tax-allocation-lookup.service.d.ts +27 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/senior-gestao-pessoas-hcm-entity-lookups.d.ts +29 -27
- package/senior-gestao-pessoas-hcm-entity-lookups.metadata.json +1 -1
|
@@ -1920,6 +1920,266 @@
|
|
|
1920
1920
|
return CompanyLookupModule;
|
|
1921
1921
|
}());
|
|
1922
1922
|
|
|
1923
|
+
var CompanyTaxAllocationService = /** @class */ (function (_super) {
|
|
1924
|
+
__extends(CompanyTaxAllocationService, _super);
|
|
1925
|
+
function CompanyTaxAllocationService(http, messageService, translate, configService) {
|
|
1926
|
+
var _this = _super.call(this, http, messageService, "erpx_fnd/empresa/entities/companyTaxAllocation", "erpx_fnd/empresa/actions", translate, configService) || this;
|
|
1927
|
+
_this.http = http;
|
|
1928
|
+
_this.messageService = messageService;
|
|
1929
|
+
_this.translate = translate;
|
|
1930
|
+
_this.configService = configService;
|
|
1931
|
+
return _this;
|
|
1932
|
+
}
|
|
1933
|
+
CompanyTaxAllocationService.ctorParameters = function () { return [
|
|
1934
|
+
{ type: http.HttpClient },
|
|
1935
|
+
{ type: api.MessageService },
|
|
1936
|
+
{ type: core$1.TranslateService },
|
|
1937
|
+
{ type: EntityLookupConfigService }
|
|
1938
|
+
]; };
|
|
1939
|
+
CompanyTaxAllocationService = __decorate([
|
|
1940
|
+
core.Injectable()
|
|
1941
|
+
], CompanyTaxAllocationService);
|
|
1942
|
+
return CompanyTaxAllocationService;
|
|
1943
|
+
}(EntityService));
|
|
1944
|
+
|
|
1945
|
+
var CompanyTaxAllocationLookupService = /** @class */ (function () {
|
|
1946
|
+
function CompanyTaxAllocationLookupService(translate, configService, companyTaxAllocationService) {
|
|
1947
|
+
this.translate = translate;
|
|
1948
|
+
this.configService = configService;
|
|
1949
|
+
this.companyTaxAllocationService = companyTaxAllocationService;
|
|
1950
|
+
this.companyTaxAllocationLookupDisplayFields = ["code", "name"];
|
|
1951
|
+
this.companyTaxAllocationLookupSeparator = " - ";
|
|
1952
|
+
this.companyTaxAllocationSearchSubject = new rxjs.Subject();
|
|
1953
|
+
this.companyTaxAllocationLookupSubject = new rxjs.Subject();
|
|
1954
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
1955
|
+
}
|
|
1956
|
+
CompanyTaxAllocationLookupService.prototype.updateSuggestions = function (value) {
|
|
1957
|
+
if (value === null || value === void 0 ? void 0 : value.companyTaxAllocation) {
|
|
1958
|
+
value.companyTaxAllocation.label = this.getSuggestionValue(["code", "name"], "companyTaxAllocation", value, this.companyTaxAllocationLookupSeparator);
|
|
1959
|
+
if (value.companyTaxAllocation.label.trim() === this.companyTaxAllocationLookupSeparator.trim()) {
|
|
1960
|
+
delete value.companyTaxAllocation.label;
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
};
|
|
1964
|
+
CompanyTaxAllocationLookupService.prototype.getSuggestionValue = function (displayFields, ownerEntity, value, separator) {
|
|
1965
|
+
return displayFields
|
|
1966
|
+
.map(function (field) { return getProp(value, ownerEntity + "." + field); })
|
|
1967
|
+
.reduce(function (acc, val) { return "" + acc + separator + val; });
|
|
1968
|
+
};
|
|
1969
|
+
CompanyTaxAllocationLookupService.prototype.getFormField = function (isCollective, additionalFilter, companyIds) {
|
|
1970
|
+
var _this = this;
|
|
1971
|
+
return new angularComponents.FormField({
|
|
1972
|
+
cancelLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".cancel"),
|
|
1973
|
+
clearLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".clear"),
|
|
1974
|
+
dataKey: "id",
|
|
1975
|
+
emptyFieldLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".list_grid_empty_field"),
|
|
1976
|
+
emptyMessage: this.translate.instant(this.configService.getTranslationPrefix() + ".empty_message_field"),
|
|
1977
|
+
filterLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".filter"),
|
|
1978
|
+
filterTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".filters"),
|
|
1979
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".company_tax_allocation"),
|
|
1980
|
+
lookupDisplayField: "label",
|
|
1981
|
+
multiple: false,
|
|
1982
|
+
name: "companyTaxAllocation",
|
|
1983
|
+
onLookupRequest: function (value) { return _this.onCompanyTaxAllocationLookupRequest(value, additionalFilter, companyIds); },
|
|
1984
|
+
onSearchRequest: function (event) { return _this.onCompanyTaxAllocationSearchRequest(event, additionalFilter, companyIds); },
|
|
1985
|
+
recordLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
1986
|
+
recordsLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".records_found"),
|
|
1987
|
+
required: function () { return true; },
|
|
1988
|
+
searchEmptyTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".nothing_found"),
|
|
1989
|
+
searchFields: this.getCompanyTaxAllocationSearchFields(),
|
|
1990
|
+
searchGridFields: this.getCompanyTaxAllocationSearchFields(),
|
|
1991
|
+
searchObservable: this.companyTaxAllocationSearchSubject,
|
|
1992
|
+
searchTitle: this.translate.instant(this.configService.getTranslationPrefix() + ".company_tax_allocation_search_title"),
|
|
1993
|
+
selectLabel: this.translate.instant(this.configService.getTranslationPrefix() + ".select"),
|
|
1994
|
+
suggestionsObservable: this.companyTaxAllocationLookupSubject,
|
|
1995
|
+
type: angularComponents.FieldType.Lookup,
|
|
1996
|
+
visible: function () { return !isCollective; },
|
|
1997
|
+
});
|
|
1998
|
+
};
|
|
1999
|
+
CompanyTaxAllocationLookupService.prototype.onCompanyTaxAllocationSearchRequest = function (event, additionalFilter, companyIds) {
|
|
2000
|
+
var _this = this;
|
|
2001
|
+
this.onCompanyTaxAllocationSearchRequestObservable(event, additionalFilter, companyIds, true)
|
|
2002
|
+
.subscribe(function (data) { return _this.companyTaxAllocationSearchSubject.next(data); });
|
|
2003
|
+
};
|
|
2004
|
+
CompanyTaxAllocationLookupService.prototype.onCompanyTaxAllocationSearchRequestObservable = function (event, additionalFilter, companyIds, isDynamicForm) {
|
|
2005
|
+
var _this = this;
|
|
2006
|
+
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
2007
|
+
var first = event.first, rows = event.rows, multiSortMeta = event.multiSortMeta, filterData = event.filterData;
|
|
2008
|
+
var page = first / rows;
|
|
2009
|
+
var sort = multiSortMeta;
|
|
2010
|
+
var companyTaxAllocationFilterQuery = createSearchRequestFilter(filterData, this.getCompanyTaxAllocationSearchFields());
|
|
2011
|
+
companyTaxAllocationFilterQuery = this.getFiltersDefaultCompanyTaxAllocation(companyIds, companyTaxAllocationFilterQuery, additionalFilter);
|
|
2012
|
+
var displayFields = mergeUnique(this.companyTaxAllocationLookupDisplayFields.concat("e070emp"), __spread(this.companyTaxAllocationLookupDisplayFields));
|
|
2013
|
+
return this.companyTaxAllocationService
|
|
2014
|
+
.list({ page: page, sort: sort, filterQuery: companyTaxAllocationFilterQuery, displayFields: displayFields })
|
|
2015
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
2016
|
+
.pipe(operators.map(function (list) { return _this.mapToComponent(list, isDynamicForm); }));
|
|
2017
|
+
};
|
|
2018
|
+
CompanyTaxAllocationLookupService.prototype.getFiltersDefaultCompanyTaxAllocation = function (companyIds, filterData, additionalFilter) {
|
|
2019
|
+
var filters = [];
|
|
2020
|
+
additionalFilter && filters.push("(" + additionalFilter + ")");
|
|
2021
|
+
filterData && filters.push("(" + filterData + ")");
|
|
2022
|
+
(companyIds === null || companyIds === void 0 ? void 0 : companyIds.length) && filters.push("(e070emp.id in (" + companyIds.map(function (id) { return "'" + id + "'"; }) + "))");
|
|
2023
|
+
return filters.join(' and ');
|
|
2024
|
+
};
|
|
2025
|
+
CompanyTaxAllocationLookupService.prototype.mapToComponent = function (list, isDynamicForm) {
|
|
2026
|
+
var _this = this;
|
|
2027
|
+
if (isDynamicForm === void 0) { isDynamicForm = false; }
|
|
2028
|
+
if (isDynamicForm) {
|
|
2029
|
+
return ({
|
|
2030
|
+
gridData: list.contents
|
|
2031
|
+
.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }),
|
|
2032
|
+
totalRecords: list === null || list === void 0 ? void 0 : list.totalElements,
|
|
2033
|
+
});
|
|
2034
|
+
}
|
|
2035
|
+
else {
|
|
2036
|
+
return (__assign(__assign({}, list), { contents: list.contents.map(function (item) { return (__assign(__assign({}, item), { label: _this.getLabelForMaping(item) })); }) }));
|
|
2037
|
+
}
|
|
2038
|
+
};
|
|
2039
|
+
CompanyTaxAllocationLookupService.prototype.getLabelForMaping = function (item) {
|
|
2040
|
+
var _this = this;
|
|
2041
|
+
return this.companyTaxAllocationLookupDisplayFields
|
|
2042
|
+
.map(function (field) {
|
|
2043
|
+
if (field === "name" && !(item === null || item === void 0 ? void 0 : item.name)) {
|
|
2044
|
+
item.name = _this.translate
|
|
2045
|
+
.instant(_this.configService.getTranslationPrefix() + ".list_grid_empty_field");
|
|
2046
|
+
}
|
|
2047
|
+
if (field.indexOf(".") > 0) {
|
|
2048
|
+
return getProp(item, field);
|
|
2049
|
+
}
|
|
2050
|
+
return item[field];
|
|
2051
|
+
})
|
|
2052
|
+
.join(this.companyTaxAllocationLookupSeparator);
|
|
2053
|
+
};
|
|
2054
|
+
CompanyTaxAllocationLookupService.prototype.onCompanyTaxAllocationLookupRequest = function (value, additionalFilter, initialFilter) {
|
|
2055
|
+
var _this = this;
|
|
2056
|
+
this.onCompanyTaxAllocationLookupRequestObservable(value, additionalFilter, initialFilter)
|
|
2057
|
+
.subscribe(function (data) { return _this.companyTaxAllocationLookupSubject.next(data.contents); });
|
|
2058
|
+
};
|
|
2059
|
+
CompanyTaxAllocationLookupService.prototype.onCompanyTaxAllocationLookupRequestObservable = function (value, additionalFilter, initialFilter) {
|
|
2060
|
+
var _this = this;
|
|
2061
|
+
var sort = this.companyTaxAllocationLookupDisplayFields
|
|
2062
|
+
.map(function (field) { return ({ field: field, order: 1 }); });
|
|
2063
|
+
var companyTaxAllocationFilterQuery = createLookupRequestFilter(value, this.getCompanyTaxAllocationSearchFields());
|
|
2064
|
+
companyTaxAllocationFilterQuery = getFilterForLookup(companyTaxAllocationFilterQuery, additionalFilter, initialFilter);
|
|
2065
|
+
var displayFields = mergeUnique(this.companyTaxAllocationLookupDisplayFields.concat("e070emp"), __spread(this.companyTaxAllocationLookupDisplayFields));
|
|
2066
|
+
return this.companyTaxAllocationService
|
|
2067
|
+
.list({ sort: sort, filterQuery: companyTaxAllocationFilterQuery, displayFields: displayFields })
|
|
2068
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
2069
|
+
.pipe(operators.map(function (list) { return (__assign(__assign({}, list), { contents: list.contents.map(function (item) { return (__assign(__assign({}, item), { label: _this.companyTaxAllocationLookupDisplayFields
|
|
2070
|
+
.map(function (field) {
|
|
2071
|
+
if (field === "name" && !item.name) {
|
|
2072
|
+
item.name = _this.translate
|
|
2073
|
+
.instant(_this.configService.getTranslationPrefix() + ".list_grid_empty_field");
|
|
2074
|
+
}
|
|
2075
|
+
if (field.indexOf(".") > 0) {
|
|
2076
|
+
return getProp(item, field);
|
|
2077
|
+
}
|
|
2078
|
+
return item[field];
|
|
2079
|
+
}).join(_this.companyTaxAllocationLookupSeparator) })); }) })); }));
|
|
2080
|
+
};
|
|
2081
|
+
CompanyTaxAllocationLookupService.prototype.getCompanyTaxAllocationSearchFields = function () {
|
|
2082
|
+
return [
|
|
2083
|
+
new angularComponents.FormField({
|
|
2084
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".company_tax_allocation_code"),
|
|
2085
|
+
name: "code",
|
|
2086
|
+
type: angularComponents.FieldType.Integer,
|
|
2087
|
+
}),
|
|
2088
|
+
new angularComponents.FormField({
|
|
2089
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".company_tax_allocation_name"),
|
|
2090
|
+
name: "name",
|
|
2091
|
+
type: angularComponents.FieldType.String,
|
|
2092
|
+
}),
|
|
2093
|
+
];
|
|
2094
|
+
};
|
|
2095
|
+
CompanyTaxAllocationLookupService.ctorParameters = function () { return [
|
|
2096
|
+
{ type: core$1.TranslateService },
|
|
2097
|
+
{ type: EntityLookupConfigService },
|
|
2098
|
+
{ type: CompanyTaxAllocationService }
|
|
2099
|
+
]; };
|
|
2100
|
+
CompanyTaxAllocationLookupService = __decorate([
|
|
2101
|
+
core.Injectable()
|
|
2102
|
+
], CompanyTaxAllocationLookupService);
|
|
2103
|
+
return CompanyTaxAllocationLookupService;
|
|
2104
|
+
}());
|
|
2105
|
+
|
|
2106
|
+
var CompanyTaxAllocationLookupComponent = /** @class */ (function (_super) {
|
|
2107
|
+
__extends(CompanyTaxAllocationLookupComponent, _super);
|
|
2108
|
+
function CompanyTaxAllocationLookupComponent(translate, cdRef, configService, structerService, companyTaxAllocationLookupService) {
|
|
2109
|
+
var _this = _super.call(this, translate, cdRef, configService, structerService) || this;
|
|
2110
|
+
_this.translate = translate;
|
|
2111
|
+
_this.cdRef = cdRef;
|
|
2112
|
+
_this.configService = configService;
|
|
2113
|
+
_this.structerService = structerService;
|
|
2114
|
+
_this.companyTaxAllocationLookupService = companyTaxAllocationLookupService;
|
|
2115
|
+
_this.controlName = "companyTaxAllocation";
|
|
2116
|
+
_this.entity = "companyTaxAllocation";
|
|
2117
|
+
_this.domain = "erpx_fnd";
|
|
2118
|
+
_this.service = "empresa";
|
|
2119
|
+
_this.useDateValidation = true;
|
|
2120
|
+
return _this;
|
|
2121
|
+
}
|
|
2122
|
+
CompanyTaxAllocationLookupComponent.prototype.ngOnInit = function () {
|
|
2123
|
+
this.companyTaxAllocationSearchFields = this.companyTaxAllocationLookupService.getCompanyTaxAllocationSearchFields();
|
|
2124
|
+
this.companyTaxAllocationSearchGridFields = this.companyTaxAllocationLookupService.getCompanyTaxAllocationSearchFields();
|
|
2125
|
+
};
|
|
2126
|
+
CompanyTaxAllocationLookupComponent.prototype.onCompanyTaxAllocationLookupRequest = function (value) {
|
|
2127
|
+
var _this = this;
|
|
2128
|
+
this.companyTaxAllocationLookupService
|
|
2129
|
+
.onCompanyTaxAllocationLookupRequestObservable(value, this.additionalFilter, this.companyIds)
|
|
2130
|
+
.subscribe(function (list) {
|
|
2131
|
+
_this.companyTaxAllocationLookupSuggestions = list === null || list === void 0 ? void 0 : list.contents;
|
|
2132
|
+
});
|
|
2133
|
+
};
|
|
2134
|
+
CompanyTaxAllocationLookupComponent.prototype.onCompanyTaxAllocationSearchRequest = function (event) {
|
|
2135
|
+
var _this = this;
|
|
2136
|
+
this.companyTaxAllocationLookupService
|
|
2137
|
+
.onCompanyTaxAllocationSearchRequestObservable(event, this.additionalFilter, this.companyIds)
|
|
2138
|
+
.subscribe(function (list) {
|
|
2139
|
+
_this.companyTaxAllocationSearchGridData = list === null || list === void 0 ? void 0 : list.contents;
|
|
2140
|
+
_this.companyTaxAllocationSearchTotalRecords = list === null || list === void 0 ? void 0 : list.totalElements;
|
|
2141
|
+
});
|
|
2142
|
+
};
|
|
2143
|
+
CompanyTaxAllocationLookupComponent.ctorParameters = function () { return [
|
|
2144
|
+
{ type: core$1.TranslateService },
|
|
2145
|
+
{ type: core.ChangeDetectorRef },
|
|
2146
|
+
{ type: EntityLookupConfigService },
|
|
2147
|
+
{ type: StructureFilterService },
|
|
2148
|
+
{ type: CompanyTaxAllocationLookupService }
|
|
2149
|
+
]; };
|
|
2150
|
+
CompanyTaxAllocationLookupComponent = __decorate([
|
|
2151
|
+
core.Component({
|
|
2152
|
+
selector: "fnd-company-tax-allocation-lookup",
|
|
2153
|
+
template: "<s-loading-state [loading]=\"loading\" [blockWindow]=\"true\"></s-loading-state>\n<form [formGroup]=\"formGroup\">\n <s-lookup dataKey=\"id\" id=\"companyTaxAllocation\" name=\"companyTaxAllocation\" [formControlName]=\"controlName\"\n [searchFields]=\"companyTaxAllocationSearchFields\"\n [searchGridFields]=\"companyTaxAllocationSearchGridFields\"\n [searchGridData]=\"companyTaxAllocationSearchGridData\"\n (onSelect)=\"selectOption($event)\"\n (onClear)=\"onClearItem($event)\"\n [multiple]=\"multiple\"\n [disabled]=\"isDisabled\"\n [lookupSuggestions]=\"companyTaxAllocationLookupSuggestions\"\n (onLookupRequest)=\"onCompanyTaxAllocationLookupRequest($event)\"\n (onSearchRequest)=\"onCompanyTaxAllocationSearchRequest($event)\"\n lookupDisplayField=\"label\"\n [searchTotalRecords]=companyTaxAllocationSearchTotalRecords\n [searchTitle]=\"configService.getTranslationPrefix() \n + '.company_tax_allocation_history_company_tax_allocation_search_title' | translate\"\n [searchEmptyTitle]=\"configService.getTranslationPrefix()\n + '.nothing_found' | translate\" [filterLabel]=\"configService.getTranslationPrefix()\n + '.filter' | translate\" [filterTitle]=\"configService.getTranslationPrefix()\n + '.filters' | translate\" [clearLabel]=\"configService.getTranslationPrefix()\n + '.clear' | translate\" [cancelLabel]=\"configService.getTranslationPrefix()\n + '.cancel' | translate\" [selectLabel]=\"configService.getTranslationPrefix()\n + '.select' | translate\" [searchTotalRecordsLabel]=\"configService.getTranslationPrefix()\n + '.total_records' | translate: {value: companyTaxAllocationSearchTotalRecords}\"></s-lookup>\n</form>\n"
|
|
2154
|
+
})
|
|
2155
|
+
], CompanyTaxAllocationLookupComponent);
|
|
2156
|
+
return CompanyTaxAllocationLookupComponent;
|
|
2157
|
+
}(BaseLookupComponent));
|
|
2158
|
+
|
|
2159
|
+
var CompanyTaxAllocationLookupModule = /** @class */ (function () {
|
|
2160
|
+
function CompanyTaxAllocationLookupModule() {
|
|
2161
|
+
}
|
|
2162
|
+
CompanyTaxAllocationLookupModule = __decorate([
|
|
2163
|
+
core.NgModule({
|
|
2164
|
+
declarations: [
|
|
2165
|
+
CompanyTaxAllocationLookupComponent,
|
|
2166
|
+
],
|
|
2167
|
+
exports: [
|
|
2168
|
+
CompanyTaxAllocationLookupComponent,
|
|
2169
|
+
],
|
|
2170
|
+
imports: [
|
|
2171
|
+
SharedModule,
|
|
2172
|
+
angularComponents.LoadingStateModule,
|
|
2173
|
+
],
|
|
2174
|
+
providers: [
|
|
2175
|
+
CompanyTaxAllocationLookupService,
|
|
2176
|
+
CompanyTaxAllocationService,
|
|
2177
|
+
],
|
|
2178
|
+
})
|
|
2179
|
+
], CompanyTaxAllocationLookupModule);
|
|
2180
|
+
return CompanyTaxAllocationLookupModule;
|
|
2181
|
+
}());
|
|
2182
|
+
|
|
1923
2183
|
var E044CcuService = /** @class */ (function (_super) {
|
|
1924
2184
|
__extends(E044CcuService, _super);
|
|
1925
2185
|
function E044CcuService(http, messageService, translate, configService) {
|
|
@@ -6347,7 +6607,7 @@
|
|
|
6347
6607
|
this.configService = configService;
|
|
6348
6608
|
this.administrativeJudicialCaseService = administrativeJudicialCaseService;
|
|
6349
6609
|
this.administrativeJudicialCaseDisplayFields = ["company.codEmp", "company.nomEmp", "caseType", "caseNumber", "caseClassificationType"];
|
|
6350
|
-
this.administrativeJudicialCaseLabelDisplayFields = ["company.nomEmp", "caseNumber"];
|
|
6610
|
+
this.administrativeJudicialCaseLabelDisplayFields = ["company.codEmp", "company.nomEmp", "caseNumber"];
|
|
6351
6611
|
this.administrativeJudicialCaseLookupSeparator = " - ";
|
|
6352
6612
|
this.administrativeJudicialCaseSearchSubject = new rxjs.Subject();
|
|
6353
6613
|
this.administrativeJudicialCaseLookupSubject = new rxjs.Subject();
|
|
@@ -6489,12 +6749,12 @@
|
|
|
6489
6749
|
AdministrativeJudicialCaseLookupService.prototype.getAdministrativeJudicialCaseSearchFields = function () {
|
|
6490
6750
|
return [
|
|
6491
6751
|
new angularComponents.FormField({
|
|
6492
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".
|
|
6752
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".administrative_judicial_case_cod_emp"),
|
|
6493
6753
|
name: "company.codEmp",
|
|
6494
6754
|
type: angularComponents.FieldType.Integer,
|
|
6495
6755
|
}),
|
|
6496
6756
|
new angularComponents.FormField({
|
|
6497
|
-
label: this.translate.instant(this.configService.getTranslationPrefix() + ".
|
|
6757
|
+
label: this.translate.instant(this.configService.getTranslationPrefix() + ".administrative_judicial_case_nom_emp"),
|
|
6498
6758
|
name: "company.nomEmp",
|
|
6499
6759
|
type: angularComponents.FieldType.String,
|
|
6500
6760
|
}),
|
|
@@ -7668,6 +7928,30 @@
|
|
|
7668
7928
|
return WageTypePayrollModule;
|
|
7669
7929
|
}());
|
|
7670
7930
|
|
|
7931
|
+
var CompanyTaxAllocationModule = /** @class */ (function () {
|
|
7932
|
+
function CompanyTaxAllocationModule() {
|
|
7933
|
+
}
|
|
7934
|
+
CompanyTaxAllocationModule = __decorate([
|
|
7935
|
+
core.NgModule({
|
|
7936
|
+
declarations: [],
|
|
7937
|
+
exports: [],
|
|
7938
|
+
imports: [
|
|
7939
|
+
platformComponents.PermissionsModule.forChild([
|
|
7940
|
+
{
|
|
7941
|
+
actions: ["Visualizar", "Incluir", "Editar", "Excluir"],
|
|
7942
|
+
name: "companyTaxAllocation",
|
|
7943
|
+
uri: "res://senior.com.br/erpx_fnd/empresa/entities/companyTaxAllocation",
|
|
7944
|
+
},
|
|
7945
|
+
]),
|
|
7946
|
+
],
|
|
7947
|
+
providers: [
|
|
7948
|
+
CompanyTaxAllocationService,
|
|
7949
|
+
],
|
|
7950
|
+
})
|
|
7951
|
+
], CompanyTaxAllocationModule);
|
|
7952
|
+
return CompanyTaxAllocationModule;
|
|
7953
|
+
}());
|
|
7954
|
+
|
|
7671
7955
|
var CoreLookupModule = /** @class */ (function () {
|
|
7672
7956
|
function CoreLookupModule() {
|
|
7673
7957
|
}
|
|
@@ -7697,7 +7981,8 @@
|
|
|
7697
7981
|
VariableEntryModule,
|
|
7698
7982
|
CalculationDefinitionModule,
|
|
7699
7983
|
EmploymentRelationshipModule,
|
|
7700
|
-
WageTypePayrollModule
|
|
7984
|
+
WageTypePayrollModule,
|
|
7985
|
+
CompanyTaxAllocationModule
|
|
7701
7986
|
],
|
|
7702
7987
|
})
|
|
7703
7988
|
], CoreLookupModule);
|
|
@@ -8732,6 +9017,9 @@
|
|
|
8732
9017
|
exports.CompanyLookupComponent = CompanyLookupComponent;
|
|
8733
9018
|
exports.CompanyLookupModule = CompanyLookupModule;
|
|
8734
9019
|
exports.CompanyLookupService = CompanyLookupService;
|
|
9020
|
+
exports.CompanyTaxAllocationLookupComponent = CompanyTaxAllocationLookupComponent;
|
|
9021
|
+
exports.CompanyTaxAllocationLookupModule = CompanyTaxAllocationLookupModule;
|
|
9022
|
+
exports.CompanyTaxAllocationLookupService = CompanyTaxAllocationLookupService;
|
|
8735
9023
|
exports.CoreLookupModule = CoreLookupModule;
|
|
8736
9024
|
exports.CostCenterLookupComponent = CostCenterLookupComponent;
|
|
8737
9025
|
exports.CostCenterLookupModule = CostCenterLookupModule;
|
|
@@ -8826,35 +9114,37 @@
|
|
|
8826
9114
|
exports.fallback = fallback;
|
|
8827
9115
|
exports.ɵa = PisPasepTaxationService;
|
|
8828
9116
|
exports.ɵb = EntityService;
|
|
8829
|
-
exports.ɵba =
|
|
8830
|
-
exports.ɵbb =
|
|
8831
|
-
exports.ɵbc =
|
|
8832
|
-
exports.ɵbd =
|
|
8833
|
-
exports.ɵbe =
|
|
9117
|
+
exports.ɵba = AnnotationTypeModule;
|
|
9118
|
+
exports.ɵbb = SyndicateModule;
|
|
9119
|
+
exports.ɵbc = VariableEntryModule;
|
|
9120
|
+
exports.ɵbd = CalculationDefinitionModule;
|
|
9121
|
+
exports.ɵbe = EmploymentRelationshipModule;
|
|
9122
|
+
exports.ɵbf = WageTypePayrollModule;
|
|
9123
|
+
exports.ɵbg = CompanyTaxAllocationModule;
|
|
8834
9124
|
exports.ɵc = SharedModule;
|
|
8835
9125
|
exports.ɵd = CompanyBranchLookupComponent;
|
|
8836
|
-
exports.ɵe =
|
|
8837
|
-
exports.ɵf =
|
|
8838
|
-
exports.ɵg =
|
|
8839
|
-
exports.ɵh =
|
|
8840
|
-
exports.ɵi =
|
|
8841
|
-
exports.ɵj =
|
|
8842
|
-
exports.ɵk =
|
|
8843
|
-
exports.ɵl =
|
|
8844
|
-
exports.ɵm =
|
|
8845
|
-
exports.ɵn =
|
|
8846
|
-
exports.ɵo =
|
|
8847
|
-
exports.ɵp =
|
|
8848
|
-
exports.ɵq =
|
|
8849
|
-
exports.ɵr =
|
|
8850
|
-
exports.ɵs =
|
|
8851
|
-
exports.ɵt =
|
|
8852
|
-
exports.ɵu =
|
|
8853
|
-
exports.ɵv =
|
|
8854
|
-
exports.ɵw =
|
|
8855
|
-
exports.ɵx =
|
|
8856
|
-
exports.ɵy =
|
|
8857
|
-
exports.ɵz =
|
|
9126
|
+
exports.ɵe = CompanyTaxAllocationService;
|
|
9127
|
+
exports.ɵf = PersonLookupComponent;
|
|
9128
|
+
exports.ɵg = ESocialCategoryModule;
|
|
9129
|
+
exports.ɵh = CompanyBranchIndicationsModule;
|
|
9130
|
+
exports.ɵi = E030AgeModule;
|
|
9131
|
+
exports.ɵj = E030BanModule;
|
|
9132
|
+
exports.ɵk = E044CcuModule;
|
|
9133
|
+
exports.ɵl = E070EmpModule;
|
|
9134
|
+
exports.ɵm = E070FilModule;
|
|
9135
|
+
exports.ɵn = HolidayModule;
|
|
9136
|
+
exports.ɵo = HolidayGroupModule;
|
|
9137
|
+
exports.ɵp = LocationModule;
|
|
9138
|
+
exports.ɵq = LocationStructureModule;
|
|
9139
|
+
exports.ɵr = LocationStructureService;
|
|
9140
|
+
exports.ɵs = PositionActingTypeModule;
|
|
9141
|
+
exports.ɵt = PositionModule;
|
|
9142
|
+
exports.ɵu = E001PesModule;
|
|
9143
|
+
exports.ɵv = EmployeeModule;
|
|
9144
|
+
exports.ɵw = JobPositionModule;
|
|
9145
|
+
exports.ɵx = WorkshiftModule;
|
|
9146
|
+
exports.ɵy = WorkshiftGroupModule;
|
|
9147
|
+
exports.ɵz = WageTypeModule;
|
|
8858
9148
|
|
|
8859
9149
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8860
9150
|
|