ngx-sp-infra 5.7.14 → 5.8.1
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.
|
@@ -10295,7 +10295,12 @@ class EmpresaAbasComponent {
|
|
|
10295
10295
|
this.activeItem = '';
|
|
10296
10296
|
}
|
|
10297
10297
|
ngOnInit() {
|
|
10298
|
-
|
|
10298
|
+
if (window.location.host.includes("localhost")) {
|
|
10299
|
+
this.linksList.push({ nome: 'Empresa', uri: `http://${window.location.host}/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `http://${window.location.host}/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/SpCopConfiguracoes/EmpresaCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `http://${window.location.host}/SpRec1Cfg/ConfiguracaoEmpresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/perfil-da-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Patrimônio', uri: `http://${window.location.host}/SpPat1Conf/EmpresaPatrimonio.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Aprovação', uri: `http://${window.location.host}/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `http://${window.location.host}/SpFin1Cadastros/FinEmpresaParam_Edit.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `http://${window.location.host}/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `http://${window.location.host}/SpGcf2Cadastros/GcfEmpresa_List.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'SCP', uri: `http://${window.location.host}/empresas/editar/SCP/${this.Id}`, isTargetSelf: false });
|
|
10300
|
+
}
|
|
10301
|
+
else {
|
|
10302
|
+
this.linksList.push({ nome: 'Empresa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/EmpresaCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `https://${window.location.host}/SisproErpCloud/Recebimento/SpRec1Cfg/ConfiguracaoEmpresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://${window.location.host}/SisproErpCloud/Efd-Reinf/perfil-da-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Patrimônio', uri: `https://${window.location.host}/SpPat1Conf/EmpresaPatrimonio.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Aprovação', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://${window.location.host}/SpFin1Cadastros/FinEmpresaParam_Edit.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `https://${window.location.host}/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `https://${window.location.host}/SpGcf2Cadastros/GcfEmpresa_List.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'SCP', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/SCP/${this.Id}`, isTargetSelf: false });
|
|
10303
|
+
}
|
|
10299
10304
|
this.activeItem = this.router.url;
|
|
10300
10305
|
}
|
|
10301
10306
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -10384,7 +10389,6 @@ class PessoaAbasComponent {
|
|
|
10384
10389
|
await this.GetPapeisSelected();
|
|
10385
10390
|
await this.GetTipoPessoa();
|
|
10386
10391
|
this.activeItem = this.router.url;
|
|
10387
|
-
this.UrisList.push({ nome: 'Dados básicos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https://siscandesv10.sispro.com.br/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `https://siscandesv10.sispro.com.br/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosSuprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados dos fornecedor', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosFornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `https://siscandesv10.sispro.com.br/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
10388
10392
|
this.VerifyList();
|
|
10389
10393
|
}
|
|
10390
10394
|
async GetPapeisSelected() {
|
|
@@ -10408,7 +10412,12 @@ class PessoaAbasComponent {
|
|
|
10408
10412
|
}
|
|
10409
10413
|
VerifyList() {
|
|
10410
10414
|
this.UrisList = [];
|
|
10411
|
-
|
|
10415
|
+
if (window.location.host.includes("localhost")) {
|
|
10416
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `http://${window.location.host}/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `http://${window.location.host}/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `http://${window.location.host}/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `http://${window.location.host}/SpCopConfiguracoes/PessoasDadosSuprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados dos fornecedor', uri: `http://${window.location.host}/SpCopConfiguracoes/PessoasDadosFornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `http://${window.location.host}/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `http://${window.location.host}/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `http://${window.location.host}/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
10417
|
+
}
|
|
10418
|
+
else {
|
|
10419
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https://${window.location.host}/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `https://${window.location.host}/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosSuprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados dos fornecedor', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosFornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `https://${window.location.host}/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
10420
|
+
}
|
|
10412
10421
|
if (this.hasPapel && this.tipoPessoa === 2 && this.isFornecedor) {
|
|
10413
10422
|
}
|
|
10414
10423
|
else if (this.hasPapel && this.tipoPessoa === 2) {
|
|
@@ -10444,7 +10453,12 @@ class EstabelecimentoAbasComponent {
|
|
|
10444
10453
|
this.activeItem = '';
|
|
10445
10454
|
}
|
|
10446
10455
|
ngOnInit() {
|
|
10447
|
-
|
|
10456
|
+
if (window.location.host.includes("localhost")) {
|
|
10457
|
+
this.linksList.push({ nome: 'Estabelecimento', uri: `http://${window.location.host}/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `http://${window.location.host}/SpRec1Cfg/ConfiguracaoEstabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `http://${window.location.host}/SpFin1Cadastros/FinEstabParam_Edit.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/SpCopConfiguracoes/EstabCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Contratos', uri: `http://${window.location.host}/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `http://${window.location.host}/SpNeg3Cfg/CfgEstabelecimento.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'CNO', uri: `http://${window.location.host}/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `http://${window.location.host}/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
10458
|
+
}
|
|
10459
|
+
else {
|
|
10460
|
+
this.linksList.push({ nome: 'Estabelecimento', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `https://${window.location.host}/SisproErpCloud/Recebimento/SpRec1Cfg/ConfiguracaoEstabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://${window.location.host}/SpFin1Cadastros/FinEstabParam_Edit.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://${window.location.host}/SisproErpCloud/Efd-Reinf/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/EstabCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Contratos', uri: `https://${window.location.host}/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `https://${window.location.host}/SpNeg3Cfg/CfgEstabelecimento.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'CNO', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `https://${window.location.host}/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
10461
|
+
}
|
|
10448
10462
|
this.activeItem = this.router.url;
|
|
10449
10463
|
}
|
|
10450
10464
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EstabelecimentoAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -10465,7 +10479,12 @@ class ItemsAbasComponent {
|
|
|
10465
10479
|
this.activeItem = '';
|
|
10466
10480
|
}
|
|
10467
10481
|
ngOnInit() {
|
|
10468
|
-
|
|
10482
|
+
if (window.location.host.includes("localhost")) {
|
|
10483
|
+
this.linksList.push({ nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `http://${window.location.host}/SpCopConfiguracoes/ItemDadosCompras/editar/${this.Id}`, isTargetSelf: false });
|
|
10484
|
+
}
|
|
10485
|
+
else {
|
|
10486
|
+
this.linksList.push({ nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/ItemDadosCompras/editar/${this.Id}`, isTargetSelf: false });
|
|
10487
|
+
}
|
|
10469
10488
|
this.activeItem = this.router.url;
|
|
10470
10489
|
}
|
|
10471
10490
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ItemsAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -10486,7 +10505,12 @@ class UsuarioAbasComponent {
|
|
|
10486
10505
|
this.activeItem = '';
|
|
10487
10506
|
}
|
|
10488
10507
|
ngOnInit() {
|
|
10489
|
-
|
|
10508
|
+
if (window.location.host.includes("localhost")) {
|
|
10509
|
+
this.linksList.push({ nome: 'Usuário', uri: `http://${window.location.host}/usuarios/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Pessoa', uri: `http://${window.location.host}/usuarios/pessoas/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/usuarios/editar/${this.Id}`, isTargetSelf: false });
|
|
10510
|
+
}
|
|
10511
|
+
else {
|
|
10512
|
+
this.linksList.push({ nome: 'Usuário', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Pessoa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/pessoas/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/usuarios/editar/${this.Id}`, isTargetSelf: false });
|
|
10513
|
+
}
|
|
10490
10514
|
this.activeItem = window.location.origin + this.router.url;
|
|
10491
10515
|
}
|
|
10492
10516
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsuarioAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -10507,7 +10531,12 @@ class GrupoContabilAbasComponent {
|
|
|
10507
10531
|
this.activeItem = '';
|
|
10508
10532
|
}
|
|
10509
10533
|
ngOnInit() {
|
|
10510
|
-
|
|
10534
|
+
if (window.location.host.includes("localhost")) {
|
|
10535
|
+
this.linksList.push({ nome: 'Grupo Contabil', uri: `http://${window.location.host}/grupo-contabil/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `http://${window.location.host}/SpCopConfiguracoes/GrpContabil/editar/${this.Id}`, isTargetSelf: false });
|
|
10536
|
+
}
|
|
10537
|
+
else {
|
|
10538
|
+
this.linksList.push({ nome: 'Grupo Contabil', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/grupo-contabil/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/SpCopConfiguracoes/GrpContabil/editar/${this.Id}`, isTargetSelf: false });
|
|
10539
|
+
}
|
|
10511
10540
|
this.activeItem = this.router.url;
|
|
10512
10541
|
}
|
|
10513
10542
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: GrupoContabilAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|