ngx-sp-infra 6.8.4 → 6.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/fesm2022/ngx-sp-infra.mjs +40 -12
- package/fesm2022/ngx-sp-infra.mjs.map +1 -1
- package/lib/widgets/empresa-abas/empresa-abas.component.d.ts +2 -1
- package/lib/widgets/estabelecimento-abas/estabelecimento-abas.component.d.ts +2 -1
- package/lib/widgets/grupo-contabil-abas/grupo-contabil-abas.component.d.ts +2 -1
- package/lib/widgets/items-abas/items-abas.component.d.ts +2 -1
- package/lib/widgets/pessoa-abas/pessoa-abas.component.d.ts +2 -1
- package/lib/widgets/usuario-abas/usuario-abas.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6148,6 +6148,7 @@ class EmpresaAbasComponent {
|
|
|
6148
6148
|
this.router = router;
|
|
6149
6149
|
this.linksList = [];
|
|
6150
6150
|
this.Id = "";
|
|
6151
|
+
this.hostServerOutsystemValue = "";
|
|
6151
6152
|
this.EmpresaId = new EventEmitter();
|
|
6152
6153
|
this.activeItem = '';
|
|
6153
6154
|
}
|
|
@@ -6156,7 +6157,7 @@ class EmpresaAbasComponent {
|
|
|
6156
6157
|
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}/empresa-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `http://${window.location.host}/configuracao-empresa/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://${window.location.host}/empresa-estab/editar/empresa/${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 });
|
|
6157
6158
|
}
|
|
6158
6159
|
else {
|
|
6159
|
-
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:
|
|
6160
|
+
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: `${this.hostServerOutsystemValue}/SisproErpCloud/Estoque/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/empresa-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Recebimento/configuracao-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Efd-Reinf/perfil-da-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Patrimônio', uri: `${this.hostServerOutsystemValue}/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: `${this.hostServerOutsystemValue}/SisproErpCloud/Financeiro/empresa-estab/editar/empresa/${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `${this.hostServerOutsystemValue}/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `${this.hostServerOutsystemValue}/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 });
|
|
6160
6161
|
}
|
|
6161
6162
|
this.activeItem = this.router.url;
|
|
6162
6163
|
}
|
|
@@ -6166,13 +6167,15 @@ class EmpresaAbasComponent {
|
|
|
6166
6167
|
}
|
|
6167
6168
|
}
|
|
6168
6169
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EmpresaAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6169
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", 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"] }); }
|
|
6170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: EmpresaAbasComponent, isStandalone: true, selector: "lib-empresa-abas", inputs: { Id: "Id", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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"] }); }
|
|
6170
6171
|
}
|
|
6171
6172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EmpresaAbasComponent, decorators: [{
|
|
6172
6173
|
type: Component,
|
|
6173
6174
|
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"] }]
|
|
6174
6175
|
}], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { Id: [{
|
|
6175
6176
|
type: Input
|
|
6177
|
+
}], hostServerOutsystemValue: [{
|
|
6178
|
+
type: Input
|
|
6176
6179
|
}], EmpresaId: [{
|
|
6177
6180
|
type: Output
|
|
6178
6181
|
}] } });
|
|
@@ -6183,6 +6186,7 @@ class EstabelecimentoAbasComponent {
|
|
|
6183
6186
|
this.linksList = [];
|
|
6184
6187
|
this.Id = "";
|
|
6185
6188
|
this.empresaId = "";
|
|
6189
|
+
this.hostServerOutsystemValue = "";
|
|
6186
6190
|
this.EstabId = new EventEmitter();
|
|
6187
6191
|
this.activeItem = '';
|
|
6188
6192
|
}
|
|
@@ -6191,7 +6195,7 @@ class EstabelecimentoAbasComponent {
|
|
|
6191
6195
|
this.linksList.push({ nome: 'Estabelecimento', uri: `http://${window.location.host}/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `http://${window.location.host}/configuracao-estabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `http://${window.location.host}/empresa-estab/editar/estab/0?id=${this.Id}&empresaId=${this.empresaId}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/estabelecimento-compras/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}/estabelecimentos/EstabCnoDet/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `http://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
6192
6196
|
}
|
|
6193
6197
|
else {
|
|
6194
|
-
this.linksList.push({ nome: 'Estabelecimento', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri:
|
|
6198
|
+
this.linksList.push({ nome: 'Estabelecimento', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Recebimento/configuracao-estabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Financeiro/empresa-estab/editar/estab/0?id=${this.Id}&empresaId=${this.empresaId}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Efd-Reinf/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/estabelecimento-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Contratos', uri: `${this.hostServerOutsystemValue}/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `${this.hostServerOutsystemValue}/SpNeg3Cfg/CfgEstabelecimento.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'CNO', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/EstabCnoDet/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `${this.hostServerOutsystemValue}/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
6195
6199
|
}
|
|
6196
6200
|
this.activeItem = this.router.url;
|
|
6197
6201
|
}
|
|
@@ -6201,7 +6205,7 @@ class EstabelecimentoAbasComponent {
|
|
|
6201
6205
|
}
|
|
6202
6206
|
}
|
|
6203
6207
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EstabelecimentoAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id", empresaId: "empresaId" }, 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 </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"] }); }
|
|
6208
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id", empresaId: "empresaId", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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 </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"] }); }
|
|
6205
6209
|
}
|
|
6206
6210
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EstabelecimentoAbasComponent, decorators: [{
|
|
6207
6211
|
type: Component,
|
|
@@ -6210,6 +6214,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
6210
6214
|
type: Input
|
|
6211
6215
|
}], empresaId: [{
|
|
6212
6216
|
type: Input
|
|
6217
|
+
}], hostServerOutsystemValue: [{
|
|
6218
|
+
type: Input
|
|
6213
6219
|
}], EstabId: [{
|
|
6214
6220
|
type: Output
|
|
6215
6221
|
}] } });
|
|
@@ -6488,6 +6494,7 @@ class GrupoContabilAbasComponent {
|
|
|
6488
6494
|
this.router = router;
|
|
6489
6495
|
this.linksList = [];
|
|
6490
6496
|
this.Id = "";
|
|
6497
|
+
this.hostServerOutsystemValue = "";
|
|
6491
6498
|
this.GrupoContabilId = new EventEmitter();
|
|
6492
6499
|
this.activeItem = '';
|
|
6493
6500
|
}
|
|
@@ -6496,7 +6503,7 @@ class GrupoContabilAbasComponent {
|
|
|
6496
6503
|
this.linksList.push({ nome: 'Grupo contábil', uri: `http://${window.location.host}/grupo-contabil-corp/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6497
6504
|
}
|
|
6498
6505
|
else {
|
|
6499
|
-
this.linksList.push({ nome: 'Grupo contábil', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/grupo-contabil-corp/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri:
|
|
6506
|
+
this.linksList.push({ nome: 'Grupo contábil', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/grupo-contabil-corp/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6500
6507
|
}
|
|
6501
6508
|
this.activeItem = this.router.url;
|
|
6502
6509
|
}
|
|
@@ -6506,13 +6513,15 @@ class GrupoContabilAbasComponent {
|
|
|
6506
6513
|
}
|
|
6507
6514
|
}
|
|
6508
6515
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GrupoContabilAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6509
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", 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"] }); }
|
|
6516
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: GrupoContabilAbasComponent, isStandalone: true, selector: "lib-grupo-contabil-abas", inputs: { Id: "Id", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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"] }); }
|
|
6510
6517
|
}
|
|
6511
6518
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GrupoContabilAbasComponent, decorators: [{
|
|
6512
6519
|
type: Component,
|
|
6513
6520
|
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"] }]
|
|
6514
6521
|
}], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { Id: [{
|
|
6515
6522
|
type: Input
|
|
6523
|
+
}], hostServerOutsystemValue: [{
|
|
6524
|
+
type: Input
|
|
6516
6525
|
}], GrupoContabilId: [{
|
|
6517
6526
|
type: Output
|
|
6518
6527
|
}] } });
|
|
@@ -6549,6 +6558,7 @@ class ItemsAbasComponent {
|
|
|
6549
6558
|
this.router = router;
|
|
6550
6559
|
this.linksList = [];
|
|
6551
6560
|
this.Id = "";
|
|
6561
|
+
this.hostServerOutsystemValue = "";
|
|
6552
6562
|
this.ItemId = new EventEmitter();
|
|
6553
6563
|
this.activeItem = '';
|
|
6554
6564
|
}
|
|
@@ -6557,7 +6567,7 @@ class ItemsAbasComponent {
|
|
|
6557
6567
|
this.linksList.push({ nome: 'Corporativo', uri: `http://${window.location.host}/itens/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `http://${window.location.host}/item-dados-compras/editar/${this.Id}`, isTargetSelf: false });
|
|
6558
6568
|
}
|
|
6559
6569
|
else {
|
|
6560
|
-
this.linksList.push({ nome: 'Corporativo', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/itens/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Estoque', uri:
|
|
6570
|
+
this.linksList.push({ nome: 'Corporativo', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/itens/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Estoque', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Estoque/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/item-dados-compras/editar/${this.Id}`, isTargetSelf: false });
|
|
6561
6571
|
}
|
|
6562
6572
|
this.activeItem = this.router.url;
|
|
6563
6573
|
}
|
|
@@ -6567,13 +6577,15 @@ class ItemsAbasComponent {
|
|
|
6567
6577
|
}
|
|
6568
6578
|
}
|
|
6569
6579
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ItemsAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6570
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", 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"] }); }
|
|
6580
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: ItemsAbasComponent, isStandalone: true, selector: "lib-items-abas", inputs: { Id: "Id", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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"] }); }
|
|
6571
6581
|
}
|
|
6572
6582
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ItemsAbasComponent, decorators: [{
|
|
6573
6583
|
type: Component,
|
|
6574
6584
|
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"] }]
|
|
6575
6585
|
}], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { Id: [{
|
|
6576
6586
|
type: Input
|
|
6587
|
+
}], hostServerOutsystemValue: [{
|
|
6588
|
+
type: Input
|
|
6577
6589
|
}], ItemId: [{
|
|
6578
6590
|
type: Output
|
|
6579
6591
|
}] } });
|
|
@@ -9469,6 +9481,7 @@ class PessoaAbasComponent {
|
|
|
9469
9481
|
this.cdr = cdr;
|
|
9470
9482
|
this.UrisList = [];
|
|
9471
9483
|
this.recarregar = false;
|
|
9484
|
+
this.hostServerOutsystemValue = "";
|
|
9472
9485
|
this.recarregarChange = new EventEmitter();
|
|
9473
9486
|
this.PessoaId = new EventEmitter();
|
|
9474
9487
|
this.crpPesPapeisData = [];
|
|
@@ -9525,7 +9538,17 @@ class PessoaAbasComponent {
|
|
|
9525
9538
|
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}/pessoas-comercial/${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `http://${window.location.host}/clientes-fornecedores/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `http://${window.location.host}/pessoas-dados-suprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados do fornecedor', uri: `http://${window.location.host}/pessoas-dados-fornecedor/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 });
|
|
9526
9539
|
}
|
|
9527
9540
|
else {
|
|
9528
|
-
this.UrisList.push({ nome: 'Dados básicos', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true },
|
|
9541
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true },
|
|
9542
|
+
// {nome: 'Dados comerciais', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Vendas/pessoas-comercial/${this.Id}`, isTargetSelf: false},
|
|
9543
|
+
{ nome: 'Dados comerciais', uri: `${this.hostServerOutsystemValue}/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false },
|
|
9544
|
+
// {nome: 'Dados financeiros', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Financeiro/clientes-fornecedores/${this.Id}`, isTargetSelf: false},
|
|
9545
|
+
{ nome: 'Dados financeiros', uri: `${this.hostServerOutsystemValue}/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/pessoas-dados-suprimentos/editar/${this.Id}`, isTargetSelf: false },
|
|
9546
|
+
// {nome: 'Compras - Dados do fornecedor', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Compras/pessoas-dados-fornecedor/editar/${this.Id}`, isTargetSelf: false},
|
|
9547
|
+
{ nome: 'Compras - Dados do fornecedor', uri: `${this.hostServerOutsystemValue}/SpCop3Configuracoes/PessoaDadosCompras.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false },
|
|
9548
|
+
// {nome: 'Dados auxiliares', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false},
|
|
9549
|
+
{ nome: 'Dados auxiliares', uri: `${this.hostServerOutsystemValue}/SpCrp1Pessoa/PessoaDadosAuxiliares.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `${this.hostServerOutsystemValue}/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false },
|
|
9550
|
+
// {nome: 'Fiscal', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false},
|
|
9551
|
+
{ nome: 'Fiscal', uri: `${this.hostServerOutsystemValue}/SpCrp1Pessoa/PessoaFiscal.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
9529
9552
|
}
|
|
9530
9553
|
if (this.hasPapel && this.tipoPessoa === 2 && this.isFornecedor) {
|
|
9531
9554
|
}
|
|
@@ -9541,7 +9564,7 @@ class PessoaAbasComponent {
|
|
|
9541
9564
|
}
|
|
9542
9565
|
}
|
|
9543
9566
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: PessoaAbasComponent, deps: [{ token: i1$3.Router }, { token: PessoaService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9544
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", 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"], dependencies: [{ kind: "ngmodule", type: RouterModule }] }); }
|
|
9567
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: PessoaAbasComponent, isStandalone: true, selector: "lib-pessoa-abas", inputs: { Id: "Id", recarregar: "recarregar", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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"], dependencies: [{ kind: "ngmodule", type: RouterModule }] }); }
|
|
9545
9568
|
}
|
|
9546
9569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: PessoaAbasComponent, decorators: [{
|
|
9547
9570
|
type: Component,
|
|
@@ -9550,6 +9573,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
9550
9573
|
type: Input
|
|
9551
9574
|
}], recarregar: [{
|
|
9552
9575
|
type: Input
|
|
9576
|
+
}], hostServerOutsystemValue: [{
|
|
9577
|
+
type: Input
|
|
9553
9578
|
}], recarregarChange: [{
|
|
9554
9579
|
type: Output
|
|
9555
9580
|
}], PessoaId: [{
|
|
@@ -10280,6 +10305,7 @@ class UsuarioAbasComponent {
|
|
|
10280
10305
|
this.router = router;
|
|
10281
10306
|
this.linksList = [];
|
|
10282
10307
|
this.Id = "";
|
|
10308
|
+
this.hostServerOutsystemValue = "";
|
|
10283
10309
|
this.UsuarioId = new EventEmitter();
|
|
10284
10310
|
this.activeItem = '';
|
|
10285
10311
|
}
|
|
@@ -10288,7 +10314,7 @@ class UsuarioAbasComponent {
|
|
|
10288
10314
|
this.linksList.push({ nome: 'Usuário', uri: `http://${window.location.host}/usuarios/editarUsuarios/${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 });
|
|
10289
10315
|
}
|
|
10290
10316
|
else {
|
|
10291
|
-
this.linksList.push({ nome: 'Usuário', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/editarUsuarios/${this.Id}`, isTargetSelf: true }, { nome: 'Pessoa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/pessoas/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri:
|
|
10317
|
+
this.linksList.push({ nome: 'Usuário', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/editarUsuarios/${this.Id}`, isTargetSelf: true }, { nome: 'Pessoa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/pessoas/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `${this.hostServerOutsystemValue}/SisproErpCloud/Estoque/SpEtq1Etq/usuarios/editar/${this.Id}`, isTargetSelf: false });
|
|
10292
10318
|
}
|
|
10293
10319
|
this.activeItem = this.router.url;
|
|
10294
10320
|
}
|
|
@@ -10298,13 +10324,15 @@ class UsuarioAbasComponent {
|
|
|
10298
10324
|
}
|
|
10299
10325
|
}
|
|
10300
10326
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UsuarioAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", 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\" [target]=\"!item.isTargetSelf ? '_blank' : '_self'\" [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"] }); }
|
|
10327
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: UsuarioAbasComponent, isStandalone: true, selector: "lib-usuario-abas", inputs: { Id: "Id", hostServerOutsystemValue: "hostServerOutsystemValue" }, 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\" [target]=\"!item.isTargetSelf ? '_blank' : '_self'\" [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"] }); }
|
|
10302
10328
|
}
|
|
10303
10329
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UsuarioAbasComponent, decorators: [{
|
|
10304
10330
|
type: Component,
|
|
10305
10331
|
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\" [target]=\"!item.isTargetSelf ? '_blank' : '_self'\" [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"] }]
|
|
10306
10332
|
}], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { Id: [{
|
|
10307
10333
|
type: Input
|
|
10334
|
+
}], hostServerOutsystemValue: [{
|
|
10335
|
+
type: Input
|
|
10308
10336
|
}], UsuarioId: [{
|
|
10309
10337
|
type: Output
|
|
10310
10338
|
}] } });
|