ngx-sp-infra 5.8.2 → 5.11.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.
|
@@ -10506,19 +10506,19 @@ class UsuarioAbasComponent {
|
|
|
10506
10506
|
}
|
|
10507
10507
|
ngOnInit() {
|
|
10508
10508
|
if (window.location.host.includes("localhost")) {
|
|
10509
|
-
this.linksList.push({ nome: 'Usuário', uri: `http://${window.location.host}/usuarios/
|
|
10509
|
+
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 });
|
|
10510
10510
|
}
|
|
10511
10511
|
else {
|
|
10512
|
-
this.linksList.push({ nome: 'Usuário', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/usuarios/
|
|
10512
|
+
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: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/usuarios/editar/${this.Id}`, isTargetSelf: false });
|
|
10513
10513
|
}
|
|
10514
|
-
this.activeItem =
|
|
10514
|
+
this.activeItem = this.router.url;
|
|
10515
10515
|
}
|
|
10516
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 }); }
|
|
10517
|
-
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
|
|
10517
|
+
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"] }); }
|
|
10518
10518
|
}
|
|
10519
10519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsuarioAbasComponent, decorators: [{
|
|
10520
10520
|
type: Component,
|
|
10521
|
-
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
|
|
10521
|
+
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"] }]
|
|
10522
10522
|
}], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
|
|
10523
10523
|
type: Input
|
|
10524
10524
|
}] } });
|