ngx-sp-infra 5.17.0 → 5.18.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/fesm2022/ngx-sp-infra.mjs +59 -13
- package/fesm2022/ngx-sp-infra.mjs.map +1 -1
- package/lib/widgets/empresa-abas/empresa-abas.component.d.ts +4 -2
- package/lib/widgets/estabelecimento-abas/estabelecimento-abas.component.d.ts +4 -1
- package/lib/widgets/grupo-contabil-abas/grupo-contabil-abas.component.d.ts +4 -1
- package/lib/widgets/items-abas/items-abas.component.d.ts +4 -1
- package/lib/widgets/pessoa-abas/pessoa-abas.component.d.ts +4 -3
- package/lib/widgets/usuario-abas/usuario-abas.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -7708,25 +7708,33 @@ class EmpresaAbasComponent {
|
|
|
7708
7708
|
this.router = router;
|
|
7709
7709
|
this.linksList = [];
|
|
7710
7710
|
this.Id = "";
|
|
7711
|
+
this.EmpresaId = new EventEmitter();
|
|
7711
7712
|
this.activeItem = '';
|
|
7712
7713
|
}
|
|
7713
7714
|
ngOnInit() {
|
|
7714
7715
|
if (window.location.host.includes("localhost")) {
|
|
7715
|
-
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
|
|
7716
|
+
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://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpFin1Cadastros/FinEmpresaParam_Edit.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `http://siscandesv10.sispro.com.br/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `http://siscandesv10.sispro.com.br/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 });
|
|
7716
7717
|
}
|
|
7717
7718
|
else {
|
|
7718
|
-
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
|
|
7719
|
+
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://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpFin1Cadastros/FinEmpresaParam_Edit.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `https://siscandesv10.sispro.com.br/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `https://siscandesv10.sispro.com.br/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 });
|
|
7719
7720
|
}
|
|
7720
7721
|
this.activeItem = this.router.url;
|
|
7721
7722
|
}
|
|
7723
|
+
ngOnChanges(changes) {
|
|
7724
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
7725
|
+
this.EmpresaId.emit(this.Id);
|
|
7726
|
+
}
|
|
7727
|
+
}
|
|
7722
7728
|
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 }); }
|
|
7723
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EmpresaAbasComponent, isStandalone: true, selector: "lib-empresa-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7729
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EmpresaAbasComponent, isStandalone: true, selector: "lib-empresa-abas", inputs: { Id: "Id" }, outputs: { EmpresaId: "EmpresaId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7724
7730
|
}
|
|
7725
7731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaAbasComponent, decorators: [{
|
|
7726
7732
|
type: Component,
|
|
7727
7733
|
args: [{ selector: 'lib-empresa-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
|
|
7728
7734
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
7729
7735
|
type: Input
|
|
7736
|
+
}], EmpresaId: [{
|
|
7737
|
+
type: Output
|
|
7730
7738
|
}] } });
|
|
7731
7739
|
|
|
7732
7740
|
class EstabelecimentoAbasComponent {
|
|
@@ -7734,25 +7742,33 @@ class EstabelecimentoAbasComponent {
|
|
|
7734
7742
|
this.router = router;
|
|
7735
7743
|
this.linksList = [];
|
|
7736
7744
|
this.Id = "";
|
|
7745
|
+
this.EstabId = new EventEmitter();
|
|
7737
7746
|
this.activeItem = '';
|
|
7738
7747
|
}
|
|
7739
7748
|
ngOnInit() {
|
|
7740
7749
|
if (window.location.host.includes("localhost")) {
|
|
7741
|
-
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
|
|
7750
|
+
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://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `http://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
7742
7751
|
}
|
|
7743
7752
|
else {
|
|
7744
|
-
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
|
|
7753
|
+
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://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `https://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
7745
7754
|
}
|
|
7746
7755
|
this.activeItem = this.router.url;
|
|
7747
7756
|
}
|
|
7757
|
+
ngOnChanges(changes) {
|
|
7758
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
7759
|
+
this.EstabId.emit(this.Id);
|
|
7760
|
+
}
|
|
7761
|
+
}
|
|
7748
7762
|
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 }); }
|
|
7749
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7763
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id" }, outputs: { EstabId: "EstabId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7750
7764
|
}
|
|
7751
7765
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EstabelecimentoAbasComponent, decorators: [{
|
|
7752
7766
|
type: Component,
|
|
7753
7767
|
args: [{ selector: 'lib-estabelecimento-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
|
|
7754
7768
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
7755
7769
|
type: Input
|
|
7770
|
+
}], EstabId: [{
|
|
7771
|
+
type: Output
|
|
7756
7772
|
}] } });
|
|
7757
7773
|
|
|
7758
7774
|
class FieldContadorMessageComponent {
|
|
@@ -7867,6 +7883,7 @@ class GrupoContabilAbasComponent {
|
|
|
7867
7883
|
this.router = router;
|
|
7868
7884
|
this.linksList = [];
|
|
7869
7885
|
this.Id = "";
|
|
7886
|
+
this.GrupoContabilId = new EventEmitter();
|
|
7870
7887
|
this.activeItem = '';
|
|
7871
7888
|
}
|
|
7872
7889
|
ngOnInit() {
|
|
@@ -7878,14 +7895,21 @@ class GrupoContabilAbasComponent {
|
|
|
7878
7895
|
}
|
|
7879
7896
|
this.activeItem = this.router.url;
|
|
7880
7897
|
}
|
|
7898
|
+
ngOnChanges(changes) {
|
|
7899
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
7900
|
+
this.GrupoContabilId.emit(this.Id);
|
|
7901
|
+
}
|
|
7902
|
+
}
|
|
7881
7903
|
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 }); }
|
|
7882
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: GrupoContabilAbasComponent, isStandalone: true, selector: "lib-grupo-contabil-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7904
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: GrupoContabilAbasComponent, isStandalone: true, selector: "lib-grupo-contabil-abas", inputs: { Id: "Id" }, outputs: { GrupoContabilId: "GrupoContabilId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7883
7905
|
}
|
|
7884
7906
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: GrupoContabilAbasComponent, decorators: [{
|
|
7885
7907
|
type: Component,
|
|
7886
7908
|
args: [{ selector: 'lib-grupo-contabil-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
|
|
7887
7909
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
7888
7910
|
type: Input
|
|
7911
|
+
}], GrupoContabilId: [{
|
|
7912
|
+
type: Output
|
|
7889
7913
|
}] } });
|
|
7890
7914
|
|
|
7891
7915
|
class InputTrimComponent {
|
|
@@ -7920,6 +7944,7 @@ class ItemsAbasComponent {
|
|
|
7920
7944
|
this.router = router;
|
|
7921
7945
|
this.linksList = [];
|
|
7922
7946
|
this.Id = "";
|
|
7947
|
+
this.ItemId = new EventEmitter();
|
|
7923
7948
|
this.activeItem = '';
|
|
7924
7949
|
}
|
|
7925
7950
|
ngOnInit() {
|
|
@@ -7931,14 +7956,21 @@ class ItemsAbasComponent {
|
|
|
7931
7956
|
}
|
|
7932
7957
|
this.activeItem = this.router.url;
|
|
7933
7958
|
}
|
|
7959
|
+
ngOnChanges(changes) {
|
|
7960
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
7961
|
+
this.ItemId.emit(this.Id);
|
|
7962
|
+
}
|
|
7963
|
+
}
|
|
7934
7964
|
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 }); }
|
|
7935
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: ItemsAbasComponent, isStandalone: true, selector: "lib-items-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7965
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: ItemsAbasComponent, isStandalone: true, selector: "lib-items-abas", inputs: { Id: "Id" }, outputs: { ItemId: "ItemId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
7936
7966
|
}
|
|
7937
7967
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ItemsAbasComponent, decorators: [{
|
|
7938
7968
|
type: Component,
|
|
7939
7969
|
args: [{ selector: 'lib-items-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
|
|
7940
7970
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
7941
7971
|
type: Input
|
|
7972
|
+
}], ItemId: [{
|
|
7973
|
+
type: Output
|
|
7942
7974
|
}] } });
|
|
7943
7975
|
|
|
7944
7976
|
class LibComboboxReworkComponent {
|
|
@@ -10157,13 +10189,14 @@ class PessoaAbasComponent {
|
|
|
10157
10189
|
this.UrisList = [];
|
|
10158
10190
|
this.recarregar = false;
|
|
10159
10191
|
this.recarregarChange = new EventEmitter();
|
|
10192
|
+
this.PessoaId = new EventEmitter();
|
|
10160
10193
|
this.crpPesPapeisData = [];
|
|
10161
10194
|
this.hasPapel = false;
|
|
10162
10195
|
this.activeItem = '';
|
|
10163
10196
|
this.isFornecedor = false;
|
|
10164
10197
|
this.tipoPessoa = 0;
|
|
10165
10198
|
}
|
|
10166
|
-
async ngOnChanges() {
|
|
10199
|
+
async ngOnChanges(changes) {
|
|
10167
10200
|
if (this.recarregar) {
|
|
10168
10201
|
await this.GetPapeisSelected();
|
|
10169
10202
|
await this.GetTipoPessoa();
|
|
@@ -10173,6 +10206,9 @@ class PessoaAbasComponent {
|
|
|
10173
10206
|
this.recarregarChange.emit(false);
|
|
10174
10207
|
}, 500);
|
|
10175
10208
|
}
|
|
10209
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
10210
|
+
this.PessoaId.emit(this.Id);
|
|
10211
|
+
}
|
|
10176
10212
|
}
|
|
10177
10213
|
async ngOnInit() {
|
|
10178
10214
|
if (!this.Id) {
|
|
@@ -10205,10 +10241,10 @@ class PessoaAbasComponent {
|
|
|
10205
10241
|
VerifyList() {
|
|
10206
10242
|
this.UrisList = [];
|
|
10207
10243
|
if (window.location.host.includes("localhost")) {
|
|
10208
|
-
this.UrisList.push({ nome: 'Dados básicos', uri: `http://${window.location.host}/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `http
|
|
10244
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `http://${window.location.host}/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `http://siscandesv10.sispro.com.br/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `http://siscandesv10.sispro.com.br/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://siscandesv10.sispro.com.br/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 });
|
|
10209
10245
|
}
|
|
10210
10246
|
else {
|
|
10211
|
-
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
|
|
10247
|
+
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://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://${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://siscandesv10.sispro.com.br/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 });
|
|
10212
10248
|
}
|
|
10213
10249
|
if (this.hasPapel && this.tipoPessoa === 2 && this.isFornecedor) {
|
|
10214
10250
|
}
|
|
@@ -10224,7 +10260,7 @@ class PessoaAbasComponent {
|
|
|
10224
10260
|
}
|
|
10225
10261
|
}
|
|
10226
10262
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaAbasComponent, deps: [{ token: i4.Router }, { token: PessoaService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10227
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: PessoaAbasComponent, isStandalone: true, selector: "lib-pessoa-abas", inputs: { Id: "Id", recarregar: "recarregar" }, outputs: { recarregarChange: "recarregarChange" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of UrisList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}ul.menu{display:flex;flex-wrap:wrap}li.menu-item{white-space:nowrap;display:inline-block}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
10263
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: PessoaAbasComponent, isStandalone: true, selector: "lib-pessoa-abas", inputs: { Id: "Id", recarregar: "recarregar" }, outputs: { recarregarChange: "recarregarChange", PessoaId: "PessoaId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of UrisList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}ul.menu{display:flex;flex-wrap:wrap}li.menu-item{white-space:nowrap;display:inline-block}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
10228
10264
|
}
|
|
10229
10265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaAbasComponent, decorators: [{
|
|
10230
10266
|
type: Component,
|
|
@@ -10235,6 +10271,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10235
10271
|
type: Input
|
|
10236
10272
|
}], recarregarChange: [{
|
|
10237
10273
|
type: Output
|
|
10274
|
+
}], PessoaId: [{
|
|
10275
|
+
type: Output
|
|
10238
10276
|
}] } });
|
|
10239
10277
|
|
|
10240
10278
|
/**
|
|
@@ -10784,6 +10822,7 @@ class UsuarioAbasComponent {
|
|
|
10784
10822
|
this.router = router;
|
|
10785
10823
|
this.linksList = [];
|
|
10786
10824
|
this.Id = "";
|
|
10825
|
+
this.UsuarioId = new EventEmitter();
|
|
10787
10826
|
this.activeItem = '';
|
|
10788
10827
|
}
|
|
10789
10828
|
ngOnInit() {
|
|
@@ -10795,14 +10834,21 @@ class UsuarioAbasComponent {
|
|
|
10795
10834
|
}
|
|
10796
10835
|
this.activeItem = this.router.url;
|
|
10797
10836
|
}
|
|
10837
|
+
ngOnChanges(changes) {
|
|
10838
|
+
if (changes['Id'] && changes['Id'].currentValue) {
|
|
10839
|
+
this.UsuarioId.emit(this.Id);
|
|
10840
|
+
}
|
|
10841
|
+
}
|
|
10798
10842
|
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 }); }
|
|
10799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: UsuarioAbasComponent, isStandalone: true, selector: "lib-usuario-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
10843
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: UsuarioAbasComponent, isStandalone: true, selector: "lib-usuario-abas", inputs: { Id: "Id" }, outputs: { UsuarioId: "UsuarioId" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
|
|
10800
10844
|
}
|
|
10801
10845
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsuarioAbasComponent, decorators: [{
|
|
10802
10846
|
type: Component,
|
|
10803
10847
|
args: [{ selector: 'lib-usuario-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
|
|
10804
10848
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
10805
10849
|
type: Input
|
|
10850
|
+
}], UsuarioId: [{
|
|
10851
|
+
type: Output
|
|
10806
10852
|
}] } });
|
|
10807
10853
|
|
|
10808
10854
|
class ContadorCaracteresComponent {
|