@senior-gestao-empresarial/angular-components 7.8.5 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/senior-gestao-empresarial-angular-components.umd.js +57 -8
- package/bundles/senior-gestao-empresarial-angular-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js.map +1 -1
- package/components/lookups/entities/e-095-hfo-sup-ger-lookup.d.ts +8 -0
- package/components/storage/filters-storage.service.d.ts +2 -1
- package/esm2015/components/lookups/entities/e-031-moe-lookup.js +4 -3
- package/esm2015/components/lookups/entities/e-095-hfo-sup-ger-lookup.js +32 -0
- package/esm2015/components/lookups/erp-lookups.module.js +3 -1
- package/esm2015/components/storage/filters-storage.service.js +21 -3
- package/esm2015/senior-gestao-empresarial-angular-components.js +6 -5
- package/esm5/components/lookups/entities/e-031-moe-lookup.js +4 -3
- package/esm5/components/lookups/entities/e-095-hfo-sup-ger-lookup.js +35 -0
- package/esm5/components/lookups/erp-lookups.module.js +3 -1
- package/esm5/components/storage/filters-storage.service.js +21 -3
- package/esm5/senior-gestao-empresarial-angular-components.js +6 -5
- package/fesm2015/senior-gestao-empresarial-angular-components.js +50 -5
- package/fesm2015/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-angular-components.js +53 -5
- package/fesm5/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-empresarial-angular-components.d.ts +5 -4
- package/senior-gestao-empresarial-angular-components.metadata.json +1 -1
|
@@ -1151,9 +1151,10 @@ var E031MoeLookup = /** @class */ (function (_super) {
|
|
|
1151
1151
|
function E031MoeLookup(lookupService, translate) {
|
|
1152
1152
|
var _this = _super.call(this, lookupService, translate, "e031moe", [
|
|
1153
1153
|
{
|
|
1154
|
-
name: "
|
|
1154
|
+
name: "codMoe",
|
|
1155
1155
|
type: FieldType.String
|
|
1156
|
-
},
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1157
1158
|
name: "desMoe",
|
|
1158
1159
|
type: FieldType.String
|
|
1159
1160
|
}
|
|
@@ -7049,6 +7050,34 @@ var OrigemMercadoriaLookup = /** @class */ (function (_super) {
|
|
|
7049
7050
|
return OrigemMercadoriaLookup;
|
|
7050
7051
|
}(ErpLookups));
|
|
7051
7052
|
|
|
7053
|
+
var fields$2 = [
|
|
7054
|
+
{
|
|
7055
|
+
name: "e095pes.e001pes.codPes",
|
|
7056
|
+
type: FieldType.Integer,
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
name: "e095pes.e001pes.nomPes",
|
|
7060
|
+
type: FieldType.String,
|
|
7061
|
+
},
|
|
7062
|
+
];
|
|
7063
|
+
var E095HfoSupGerLookup = /** @class */ (function (_super) {
|
|
7064
|
+
__extends(E095HfoSupGerLookup, _super);
|
|
7065
|
+
function E095HfoSupGerLookup(lookupService, translate) {
|
|
7066
|
+
var _this = _super.call(this, lookupService, translate, "e095hfo_sup_ger", fields$2, fields$2, fields$2, "erpx_sup_cpr", "foundation") || this;
|
|
7067
|
+
_this.lookupService = lookupService;
|
|
7068
|
+
_this.translate = translate;
|
|
7069
|
+
return _this;
|
|
7070
|
+
}
|
|
7071
|
+
E095HfoSupGerLookup.ctorParameters = function () { return [
|
|
7072
|
+
{ type: ErpLookupsService },
|
|
7073
|
+
{ type: TranslateService }
|
|
7074
|
+
]; };
|
|
7075
|
+
E095HfoSupGerLookup = __decorate([
|
|
7076
|
+
Injectable()
|
|
7077
|
+
], E095HfoSupGerLookup);
|
|
7078
|
+
return E095HfoSupGerLookup;
|
|
7079
|
+
}(ErpLookups));
|
|
7080
|
+
|
|
7052
7081
|
var ErpLookupsModule = /** @class */ (function () {
|
|
7053
7082
|
function ErpLookupsModule() {
|
|
7054
7083
|
}
|
|
@@ -7180,6 +7209,7 @@ var ErpLookupsModule = /** @class */ (function () {
|
|
|
7180
7209
|
OrigemDestinoLookup,
|
|
7181
7210
|
E041CebLookup,
|
|
7182
7211
|
OrigemMercadoriaLookup,
|
|
7212
|
+
E095HfoSupGerLookup,
|
|
7183
7213
|
],
|
|
7184
7214
|
declarations: [],
|
|
7185
7215
|
exports: [],
|
|
@@ -7293,14 +7323,32 @@ var FiltersStorageService = /** @class */ (function (_super) {
|
|
|
7293
7323
|
});
|
|
7294
7324
|
};
|
|
7295
7325
|
FiltersStorageService.prototype.removeEmptyValues = function (filters) {
|
|
7326
|
+
var _this = this;
|
|
7296
7327
|
Object.keys(filters).forEach(function (field) {
|
|
7297
|
-
if (
|
|
7328
|
+
if (_this.isInvalid(filters[field])) {
|
|
7298
7329
|
delete filters[field];
|
|
7299
7330
|
}
|
|
7300
7331
|
});
|
|
7301
7332
|
};
|
|
7333
|
+
FiltersStorageService.prototype.isInvalid = function (field) {
|
|
7334
|
+
if (field === null || field === undefined) {
|
|
7335
|
+
return true;
|
|
7336
|
+
}
|
|
7337
|
+
if (Array.isArray(field)) {
|
|
7338
|
+
return field.length === 0;
|
|
7339
|
+
}
|
|
7340
|
+
if (typeof field === "string") {
|
|
7341
|
+
return field.trim() === "";
|
|
7342
|
+
}
|
|
7343
|
+
if (typeof field === "object") {
|
|
7344
|
+
return Object.keys(field).length === 0;
|
|
7345
|
+
}
|
|
7346
|
+
return false;
|
|
7347
|
+
};
|
|
7302
7348
|
FiltersStorageService.prototype.removeInvalidValues = function (values, fields) {
|
|
7303
|
-
if (values
|
|
7349
|
+
if (!values) {
|
|
7350
|
+
return {};
|
|
7351
|
+
}
|
|
7304
7352
|
Object.keys(values).forEach(function (fieldValue) {
|
|
7305
7353
|
var field = fields.find(function (it) { return it.name == fieldValue; });
|
|
7306
7354
|
if (field) {
|
|
@@ -8607,5 +8655,5 @@ var ModulesEnum;
|
|
|
8607
8655
|
* Generated bundle index. Do not edit.
|
|
8608
8656
|
*/
|
|
8609
8657
|
|
|
8610
|
-
export { AgreementLookup, BankLookup, BeneficioFiscalLookup, BreadcrumbComponent, BreadcrumbModule, Breakpoints, CaracteristicaFiscalLookup, ClassificacaoTributariaLookup, ComposicaoBaseCalculoLookup, ContaInternaFilialLookup, CountryLookup, CplTriNotaSaidaE001EndLookup, CplTriNotaSaidaE001PesLookup, CplTriNotaSaidaE001TnsLookup, CplTriNotaSaidaE007UfsLookup, CplTriNotaSaidaE008RaiLookup, CplTriNotaSaidaE015MedLookup, CplTriNotaSaidaE020SnfLookup, CplTriNotaSaidaE024MsgLookup, CplTriNotaSaidaE028CpgLookup, CplTriNotaSaidaE032EdcLookup, CplTriNotaSaidaE051DisLookup, CplTriNotaSaidaE066FpgLookup, CplTriNotaSaidaE070EmpLookup, CplTriNotaSaidaE070FilLookup, CplTriNotaSaidaE075DerLookup, CplTriNotaSaidaE080SerLookup, CplTriNotaSaidaNaturezaReceitaPisCofinsLookup, CplTriNotaSaidaNcmLookup, CplTriNotaSaidaNfEntradaLookup, CplTriNotaSaidaNfSaidaLookup, CurrencyLookup, DocumentoLookup, E001EndLookup, E001PesLookup, E001TnsLookup, E001TnsSupEstLookup, E002TptLookup, E006PaiLookup, E007UfsLookup, E008CepLookup, E008RaiLookup, E012FamLookup, E015MedLookup, E020SnfLookup, E021MotLookup, E023CrpLookup, E024MsgLookup, E027EqiLookup, E027StrLookup, E028CpgLookup, E030AgeLookup, E030BanLookup, E031MoeLookup, E032EdcLookup, E034TccLookup, E035OcrLookup, E036InsLookup, E039PorLookup, E041CebLookup, E043MpcLookup, E043PcmLookup, E044CcuFinRatDepLookup, E044CcuLookup, E045PlaLookup, E046HpdLookup, E047NtgLookup, E048FctLookup, E048SfcLookup, E051DisLookup, E066FpgLookup, E067FinLookup, E069GreLookup, E070EmpLookup, E070EntLookup, E070FilLookup, E073PesLookup, E073VeiLookup, E075DerLookup, E080SerLookup, E081TabLookup, E082TprLookup, E085PesLookup, E089DocLookup, E090HrpComGerLookup, E090PesLookup, E091PlfFinRatLookup, E095PesLookup, E099UsuComGerLookup, E099UsuSupCprLookup, E140InsLookup, E140NfsLookup, E200LotLookup, E200SerLookup, E205DepLookup, E210DxpE075DerLookup, E210DxpLookup, E301TcrLookup, E403FprLookup, E420IcpLookup, E420IpcLookup, E420OcpLookup, E501TcpLookup, E600CcoLookup, E640LotLookup, EntityPersonProductLookup, EnumLogicalOperator, EquipmentLookup, ErpLookups, ErpLookupsModule, ErpPolling, ExportUtils, FiltersStorageService, FormUtilsService, HTTP_STATUS_CODE, LeiComplementar1162003Lookup, LigacaoItemFornecedorLookup, LookupValidationUtils, ModulesEnum, NbsLookup, NcmLookup, NotaFiscalEntradaLookup, NpsService, OperacoesLookup, OrigemDestinoLookup, OrigemMercadoriaLookup, ParametersLookup, PrimitiveManager, ProdutoServicoLookup, QuantidadeDisponivelDemandaLookup, RequisicaoLookup, SegmentoLookup, TypeTaxesLookup, UnidadeMedidaLookup, UtilsModule, VerifyModulePermission, VerifyModulePermissions, WebsocketService, naturezaReceitaPisCofins, ɵ0, ɵ1, ɵ2, ErpLookupsService as ɵa, EnumAnaSin as ɵb, EnumNatCtb as ɵc,
|
|
8658
|
+
export { AgreementLookup, BankLookup, BeneficioFiscalLookup, BreadcrumbComponent, BreadcrumbModule, Breakpoints, CaracteristicaFiscalLookup, ClassificacaoTributariaLookup, ComposicaoBaseCalculoLookup, ContaInternaFilialLookup, CountryLookup, CplTriNotaSaidaE001EndLookup, CplTriNotaSaidaE001PesLookup, CplTriNotaSaidaE001TnsLookup, CplTriNotaSaidaE007UfsLookup, CplTriNotaSaidaE008RaiLookup, CplTriNotaSaidaE015MedLookup, CplTriNotaSaidaE020SnfLookup, CplTriNotaSaidaE024MsgLookup, CplTriNotaSaidaE028CpgLookup, CplTriNotaSaidaE032EdcLookup, CplTriNotaSaidaE051DisLookup, CplTriNotaSaidaE066FpgLookup, CplTriNotaSaidaE070EmpLookup, CplTriNotaSaidaE070FilLookup, CplTriNotaSaidaE075DerLookup, CplTriNotaSaidaE080SerLookup, CplTriNotaSaidaNaturezaReceitaPisCofinsLookup, CplTriNotaSaidaNcmLookup, CplTriNotaSaidaNfEntradaLookup, CplTriNotaSaidaNfSaidaLookup, CurrencyLookup, DocumentoLookup, E001EndLookup, E001PesLookup, E001TnsLookup, E001TnsSupEstLookup, E002TptLookup, E006PaiLookup, E007UfsLookup, E008CepLookup, E008RaiLookup, E012FamLookup, E015MedLookup, E020SnfLookup, E021MotLookup, E023CrpLookup, E024MsgLookup, E027EqiLookup, E027StrLookup, E028CpgLookup, E030AgeLookup, E030BanLookup, E031MoeLookup, E032EdcLookup, E034TccLookup, E035OcrLookup, E036InsLookup, E039PorLookup, E041CebLookup, E043MpcLookup, E043PcmLookup, E044CcuFinRatDepLookup, E044CcuLookup, E045PlaLookup, E046HpdLookup, E047NtgLookup, E048FctLookup, E048SfcLookup, E051DisLookup, E066FpgLookup, E067FinLookup, E069GreLookup, E070EmpLookup, E070EntLookup, E070FilLookup, E073PesLookup, E073VeiLookup, E075DerLookup, E080SerLookup, E081TabLookup, E082TprLookup, E085PesLookup, E089DocLookup, E090HrpComGerLookup, E090PesLookup, E091PlfFinRatLookup, E095PesLookup, E099UsuComGerLookup, E099UsuSupCprLookup, E140InsLookup, E140NfsLookup, E200LotLookup, E200SerLookup, E205DepLookup, E210DxpE075DerLookup, E210DxpLookup, E301TcrLookup, E403FprLookup, E420IcpLookup, E420IpcLookup, E420OcpLookup, E501TcpLookup, E600CcoLookup, E640LotLookup, EntityPersonProductLookup, EnumLogicalOperator, EquipmentLookup, ErpLookups, ErpLookupsModule, ErpPolling, ExportUtils, FiltersStorageService, FormUtilsService, HTTP_STATUS_CODE, LeiComplementar1162003Lookup, LigacaoItemFornecedorLookup, LookupValidationUtils, ModulesEnum, NbsLookup, NcmLookup, NotaFiscalEntradaLookup, NpsService, OperacoesLookup, OrigemDestinoLookup, OrigemMercadoriaLookup, ParametersLookup, PrimitiveManager, ProdutoServicoLookup, QuantidadeDisponivelDemandaLookup, RequisicaoLookup, SegmentoLookup, TypeTaxesLookup, UnidadeMedidaLookup, UtilsModule, VerifyModulePermission, VerifyModulePermissions, WebsocketService, naturezaReceitaPisCofins, ɵ0, ɵ1, ɵ2, ErpLookupsService as ɵa, EnumAnaSin as ɵb, EnumNatCtb as ɵc, E095HfoSupGerLookup as ɵd, StorageService as ɵe, UserInformationService as ɵf, VerifyModulePermissionService as ɵg, VerifyModulePermissionsService as ɵh };
|
|
8611
8659
|
//# sourceMappingURL=senior-gestao-empresarial-angular-components.js.map
|