general-library-union 2.3.7 → 2.3.9
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/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +7 -2
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +7 -2
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +7 -2
- package/esm2022/src/app/layout/app.breadcrumb.component.mjs +7 -2
- package/esm2022/src/app/layout/app.menu.component.mjs +19 -8
- package/esm2022/src/app/layout/app.sidebar.component.mjs +4 -3
- package/esm2022/src/app/layout/app.topbar.component.mjs +16 -5
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +7 -2
- package/fesm2022/general-library-union.mjs +66 -18
- package/fesm2022/general-library-union.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/layout/app.menuitem.component.d.ts +1 -1
- package/src/app/layout/app.sidebar.component.d.ts +1 -0
- package/src/app/layout/app.topbar.component.d.ts +1 -0
|
@@ -3036,13 +3036,24 @@ class AppMenuComponent {
|
|
|
3036
3036
|
this.utilsService = utilsService;
|
|
3037
3037
|
}
|
|
3038
3038
|
ngOnInit() {
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3039
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
3040
|
+
this.model = [{
|
|
3041
|
+
label: "Inicio",
|
|
3042
|
+
icon: "pi pi-home",
|
|
3043
|
+
routerLink: this.utilsService.obtenerBase() + "/admonPortal/inicio",
|
|
3044
|
+
visible: true,
|
|
3045
|
+
items: [],
|
|
3046
|
+
}];
|
|
3047
|
+
}
|
|
3048
|
+
else {
|
|
3049
|
+
this.model = [{
|
|
3050
|
+
label: "Inicio",
|
|
3051
|
+
icon: "pi pi-home",
|
|
3052
|
+
routerLink: this.utilsService.obtenerBase() + "/inicio",
|
|
3053
|
+
visible: true,
|
|
3054
|
+
items: [],
|
|
3055
|
+
}];
|
|
3056
|
+
}
|
|
3046
3057
|
this.subcription = this.menuService.menu.subscribe((menu) => {
|
|
3047
3058
|
this.model[0].label = menu.label;
|
|
3048
3059
|
this.model[0].items = menu.items;
|
|
@@ -3975,6 +3986,7 @@ class AppSidebarComponent {
|
|
|
3975
3986
|
logoComprimido;
|
|
3976
3987
|
logoDescomprimido;
|
|
3977
3988
|
lock;
|
|
3989
|
+
url = window.location.href;
|
|
3978
3990
|
constructor(utilsService, layoutService, el, generalPipe, activatedRoute, authService, menuService) {
|
|
3979
3991
|
this.utilsService = utilsService;
|
|
3980
3992
|
this.layoutService = layoutService;
|
|
@@ -4024,11 +4036,11 @@ class AppSidebarComponent {
|
|
|
4024
4036
|
this.resetOverlay();
|
|
4025
4037
|
}
|
|
4026
4038
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: AppSidebarComponent, deps: [{ token: UtilsService }, { token: LayoutService }, { token: i0.ElementRef }, { token: GeneralPipe }, { token: i2.ActivatedRoute }, { token: AuthService }, { token: MenuService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4027
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.4", type: AppSidebarComponent, isStandalone: true, selector: "app-sidebar", viewQueries: [{ propertyName: "menuProfile", first: true, predicate: AppMenuProfileComponent, descendants: true }, { propertyName: "menuContainer", first: true, predicate: ["menuContainer"], descendants: true }], ngImport: i0, template: "<div class=\"layout-sidebar\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\n <div class=\"layout-sidebar-top\">\n <a [href]=\"utilsService.obtenerBase() + '/inicio'\">\n <!--LOGO DESCOMPRIMIDO-->\n <img style=\"width:142px; margin-top: 5px;\" class=\"layout-sidebar-logo\" src=\"data:image/png;base64,{{logoDescomprimido}}\" />\n <!--LOGO DESCOMPRIMIDO-->\n\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-sidebar-logo\" src>\n <path d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n\n <!-- <svg width=\"41\" height=\"32\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"layout-sidebar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n <!--LOGO COMPRIMIDO-->\n <img style=\"width:55px; margin-right: 4px; margin-top: 4px;\" class=\"layout-sidebar-logo-slim\" src=\"data:image/png;base64,{{logoComprimido}}\" />\n <!--LOGO COMPRIMIDO-->\n\n\n </a>\n <button class=\"layout-sidebar-anchor p-link\" type=\"button\" (click)=\"anchor()\">\n <span [class]=\"lock ? 'pi pi-lock' : 'pi pi-unlock'\"></span>\n </button>\n </div>\n <app-menu-profile #menuProfileStart *ngIf=\"menuProfilePosition === 'start'\"></app-menu-profile> \n <div #menuContainer class=\"layout-menu-container\">\n <app-menu></app-menu>\n </div>\n <!-- Se desactiva el menu del perfil -->\n <app-menu-profile #menuProfileEnd *ngIf=\"menuProfilePosition === 'end'\"></app-menu-profile>\n</div>\n", dependencies: [{ kind: "component", type: AppMenuProfileComponent, selector: "app-menu-profile" }, { kind: "component", type: AppMenuComponent, selector: "app-menu" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: InputSwitchModule }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "ngmodule", type: ButtonModule }] });
|
|
4039
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.4", type: AppSidebarComponent, isStandalone: true, selector: "app-sidebar", viewQueries: [{ propertyName: "menuProfile", first: true, predicate: AppMenuProfileComponent, descendants: true }, { propertyName: "menuContainer", first: true, predicate: ["menuContainer"], descendants: true }], ngImport: i0, template: "<div class=\"layout-sidebar\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\n <div class=\"layout-sidebar-top\">\n <a [href]=\"utilsService.obtenerBase() + (url.toString().includes('admonPortal') ? '/admonPortal/inicio' : '/inicio') \">\n <!--LOGO DESCOMPRIMIDO-->\n <img style=\"width:142px; margin-top: 5px;\" class=\"layout-sidebar-logo\" src=\"data:image/png;base64,{{logoDescomprimido}}\" />\n <!--LOGO DESCOMPRIMIDO-->\n\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-sidebar-logo\" src>\n <path d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n\n <!-- <svg width=\"41\" height=\"32\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"layout-sidebar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n <!--LOGO COMPRIMIDO-->\n <img style=\"width:55px; margin-right: 4px; margin-top: 4px;\" class=\"layout-sidebar-logo-slim\" src=\"data:image/png;base64,{{logoComprimido}}\" />\n <!--LOGO COMPRIMIDO-->\n\n\n </a>\n <button class=\"layout-sidebar-anchor p-link\" type=\"button\" (click)=\"anchor()\">\n <span [class]=\"lock ? 'pi pi-lock' : 'pi pi-unlock'\"></span>\n </button>\n </div>\n <app-menu-profile #menuProfileStart *ngIf=\"menuProfilePosition === 'start'\"></app-menu-profile> \n <div #menuContainer class=\"layout-menu-container\">\n <app-menu></app-menu>\n </div>\n <!-- Se desactiva el menu del perfil -->\n <app-menu-profile #menuProfileEnd *ngIf=\"menuProfilePosition === 'end'\"></app-menu-profile>\n</div>\n", dependencies: [{ kind: "component", type: AppMenuProfileComponent, selector: "app-menu-profile" }, { kind: "component", type: AppMenuComponent, selector: "app-menu" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: InputSwitchModule }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "ngmodule", type: ButtonModule }] });
|
|
4028
4040
|
}
|
|
4029
4041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: AppSidebarComponent, decorators: [{
|
|
4030
4042
|
type: Component,
|
|
4031
|
-
args: [{ selector: 'app-sidebar', imports: [AppMenuProfileComponent, AppMenuComponent, CommonModule, InputSwitchModule, AutoCompleteModule, ButtonModule], standalone: true, template: "<div class=\"layout-sidebar\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\n <div class=\"layout-sidebar-top\">\n <a [href]=\"utilsService.obtenerBase() + '/inicio'\">\n <!--LOGO DESCOMPRIMIDO-->\n <img style=\"width:142px; margin-top: 5px;\" class=\"layout-sidebar-logo\" src=\"data:image/png;base64,{{logoDescomprimido}}\" />\n <!--LOGO DESCOMPRIMIDO-->\n\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-sidebar-logo\" src>\n <path d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n\n <!-- <svg width=\"41\" height=\"32\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"layout-sidebar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n <!--LOGO COMPRIMIDO-->\n <img style=\"width:55px; margin-right: 4px; margin-top: 4px;\" class=\"layout-sidebar-logo-slim\" src=\"data:image/png;base64,{{logoComprimido}}\" />\n <!--LOGO COMPRIMIDO-->\n\n\n </a>\n <button class=\"layout-sidebar-anchor p-link\" type=\"button\" (click)=\"anchor()\">\n <span [class]=\"lock ? 'pi pi-lock' : 'pi pi-unlock'\"></span>\n </button>\n </div>\n <app-menu-profile #menuProfileStart *ngIf=\"menuProfilePosition === 'start'\"></app-menu-profile> \n <div #menuContainer class=\"layout-menu-container\">\n <app-menu></app-menu>\n </div>\n <!-- Se desactiva el menu del perfil -->\n <app-menu-profile #menuProfileEnd *ngIf=\"menuProfilePosition === 'end'\"></app-menu-profile>\n</div>\n" }]
|
|
4043
|
+
args: [{ selector: 'app-sidebar', imports: [AppMenuProfileComponent, AppMenuComponent, CommonModule, InputSwitchModule, AutoCompleteModule, ButtonModule], standalone: true, template: "<div class=\"layout-sidebar\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\n <div class=\"layout-sidebar-top\">\n <a [href]=\"utilsService.obtenerBase() + (url.toString().includes('admonPortal') ? '/admonPortal/inicio' : '/inicio') \">\n <!--LOGO DESCOMPRIMIDO-->\n <img style=\"width:142px; margin-top: 5px;\" class=\"layout-sidebar-logo\" src=\"data:image/png;base64,{{logoDescomprimido}}\" />\n <!--LOGO DESCOMPRIMIDO-->\n\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-sidebar-logo\" src>\n <path d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\" fill=\"var(--topbar-item-text-color)\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n\n <!-- <svg width=\"41\" height=\"32\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"layout-sidebar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\" fill=\"var(--topbar-item-text-color)\"/>\n </svg> -->\n\n <!--LOGO COMPRIMIDO-->\n <img style=\"width:55px; margin-right: 4px; margin-top: 4px;\" class=\"layout-sidebar-logo-slim\" src=\"data:image/png;base64,{{logoComprimido}}\" />\n <!--LOGO COMPRIMIDO-->\n\n\n </a>\n <button class=\"layout-sidebar-anchor p-link\" type=\"button\" (click)=\"anchor()\">\n <span [class]=\"lock ? 'pi pi-lock' : 'pi pi-unlock'\"></span>\n </button>\n </div>\n <app-menu-profile #menuProfileStart *ngIf=\"menuProfilePosition === 'start'\"></app-menu-profile> \n <div #menuContainer class=\"layout-menu-container\">\n <app-menu></app-menu>\n </div>\n <!-- Se desactiva el menu del perfil -->\n <app-menu-profile #menuProfileEnd *ngIf=\"menuProfilePosition === 'end'\"></app-menu-profile>\n</div>\n" }]
|
|
4032
4044
|
}], ctorParameters: () => [{ type: UtilsService }, { type: LayoutService }, { type: i0.ElementRef }, { type: GeneralPipe }, { type: i2.ActivatedRoute }, { type: AuthService }, { type: MenuService }], propDecorators: { menuProfile: [{
|
|
4033
4045
|
type: ViewChild,
|
|
4034
4046
|
args: [AppMenuProfileComponent]
|
|
@@ -4078,6 +4090,7 @@ class AppTopbarComponent {
|
|
|
4078
4090
|
colores = ["#f3d9dc", "#aed9e0", "#c7e7b0", "#fdf2ab", "#e6d1e1", "#f9dbbd", "#e4e3e7", "#f9d5d3"];
|
|
4079
4091
|
color;
|
|
4080
4092
|
iniciales;
|
|
4093
|
+
url = window.location.href;
|
|
4081
4094
|
constructor(layoutService, el, activatedRoute, storage, router, renderer, menuService, authService, controlFuncionalidad, generalPipe, storageService, utilsService, document) {
|
|
4082
4095
|
this.layoutService = layoutService;
|
|
4083
4096
|
this.el = el;
|
|
@@ -4172,7 +4185,12 @@ class AppTopbarComponent {
|
|
|
4172
4185
|
this.intervalId = window.setInterval(() => {
|
|
4173
4186
|
if (!this.authService.isTokenValid()) {
|
|
4174
4187
|
this.authService.deleteToken();
|
|
4175
|
-
|
|
4188
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
4189
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/admonPortal/timeout');
|
|
4190
|
+
}
|
|
4191
|
+
else {
|
|
4192
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/timeout');
|
|
4193
|
+
}
|
|
4176
4194
|
}
|
|
4177
4195
|
}, 300_000);
|
|
4178
4196
|
}
|
|
@@ -4301,7 +4319,12 @@ class AppTopbarComponent {
|
|
|
4301
4319
|
this.storage.setItem('moduloSeleccionado', modulo.llave);
|
|
4302
4320
|
this.menuService.setTareasDelModulo(modulo.llave);
|
|
4303
4321
|
if (navegar) {
|
|
4304
|
-
|
|
4322
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
4323
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/admonPortal/inicio');
|
|
4324
|
+
}
|
|
4325
|
+
else {
|
|
4326
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/inicio');
|
|
4327
|
+
}
|
|
4305
4328
|
}
|
|
4306
4329
|
}
|
|
4307
4330
|
// un método que se ejecuta para filtrar las tareas
|
|
@@ -4328,11 +4351,11 @@ class AppTopbarComponent {
|
|
|
4328
4351
|
linkTema.href = `${tema}.css`;
|
|
4329
4352
|
}
|
|
4330
4353
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: AppTopbarComponent, deps: [{ token: LayoutService }, { token: i0.ElementRef }, { token: i2.ActivatedRoute }, { token: StorageService }, { token: i2.Router }, { token: i0.Renderer2 }, { token: MenuService$1 }, { token: AuthService }, { token: CargarControlFuncionalidadService }, { token: GeneralPipe }, { token: StorageService }, { token: UtilsService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
4331
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.4", type: AppTopbarComponent, isStandalone: true, selector: "app-topbar", viewQueries: [{ propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "mobileMenuButton", first: true, predicate: ["mobileMenuButton"], descendants: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "autocomplete", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: "\n\n<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <a class=\"layout-topbar-logo\" routerLink=\"/\">\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-full\">\n <path\n d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg> -->\n <img style=\"width: 167px; height: 64px;\" class=\"layout-topbar-logo-full\"\n src=\"data:image/png;base64,{{ codigo != '1'? logoComprimido : 'iVBORw0KGgoAAAANSUhEUgAAAKgAAABVCAYAAADdR69zAAAACXBIWXMAAAsSAAALEgHS3X78AAAMLklEQVR4nGL8//8/wygYBYMSMDAwAAAAAP//YhqNmVEwaAEDAwMAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaC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AEqkhkMqfBgYGAAAAAD//xoMCfQhtPSjxqwPbE3oRAyZUQALH9DoRuGQqG0YGBgAAAAA//8aqAR6EVpiJkIH3LGNYZILYGOkilA7Rqt9TACa6AANwYHCH7T4ZnCGEQMDAwAAAP//YgQd0DTMgQB0OAo2f0+rYShHLJ07BQI1Ay0ugyUXwMaNQW6m5t4u0HAXeYukGRgYAAAAAP//GgkJdBQMVcDAwAAAAAD//xq9L34UDF7AwMAAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//AwACmKWgu+aY7wAAAABJRU5ErkJggg=='}}\">\n\n\n <svg width=\"41\" height=\"46\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg>\n </a>\n <a #menuButton class=\"layout-menu-button\" (click)=\"onMenuButtonClick()\" pRipple>\n <i class=\"pi pi-chevron-right\"></i>\n </a>\n\n <a #mobileMenuButton class=\"layout-topbar-mobile-button\" (click)=\"onMobileTopbarMenuButtonClick()\" pRipple>\n <i class=\"pi pi-ellipsis-v\"></i>\n </a>\n </div>\n\n <div class=\"layout-topbar-end\">\n <!-- Se comentan las opciones de KIT y Utilities -->\n <div class=\"layout-topbar-actions-start\" style=\"line-height: 15px;\">\n <label class=\"empresa\">Empresa: {{empresa}} </label>\n <label class=\"rol\"><span class=\"font-medium\">Rol:</span> {{rol}} </label>\n <label class=\"conexion\"><span class=\"font-medium\">Conexion:</span> {{conexion}} </label>\n <!-- <p-megaMenu [model]=\"model\" styleClass=\"layout-megamenu\"></p-megaMenu> -->\n </div>\n <div class=\"layout-topbar-actions-end\">\n <ul class=\"layout-topbar-items\">\n <!--CAMBIAR TEMA-->\n <li class=\"flex align-items-center eleccion-modo\">\n <!-- <i class=\"pi pi-sun mr-1\"></i> -->\n <p-inputSwitch [(ngModel)]=\"switch\" (onChange)=\"cambioSwitch($event)\"></p-inputSwitch>\n <!-- <i class=\"pi pi-moon ml-1\"></i> -->\n </li>\n <li class=\"layout-topbar-search\">\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple (click)=\"focusSearchInput()\">\n <i class=\"pi pi-search\"></i>\n </a>\n <!--BUSCADOR-->\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'margin-left': '11%' }\" styleClass=\"w-full h-full\" icon=\"pi pi-search\">\n </p-autoComplete>\n\n\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'align-items': 'center' }\" styleClass=\"w-full h-full\">\n </p-autoComplete>\n <button pButton pRipple type=\"button\" icon=\"pi pi-times\" (click)=\"focusSearchInput()\"\n class=\"p-button-rounded p-button-text p-button-plain\" pStyleClass=\".layout-search-panel\"\n leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\"></button>\n </div>\n </div>\n </li>\n <!-- <li>\n NOTIFICACIONES\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-bell\" pBadge severity=\"warning\"></i>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <li class=\"px-3 py-1\">\n <span>You have <b>4</b> new notifications</span>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-1.png\" />\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"font-bold\">Jerome Bell</span>\n <small>42 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">How to write content about your photographs?</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-2.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Cameron Williamson</span>\n <small>48 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Start a blog to reach your creative peak.</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-3.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Anna Miles</span>\n <small>1 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Caring is the new marketing</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-4.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Arlene Mccoy</span>\n <small>4 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Starting your traveling blog with Vasco.</span>\n </div>\n </div>\n </li>\n </ul>\n </div>\n </li> -->\n <li>\n <!-- MODULOS -->\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-table\"></i>\n </a>\n <div class=\"ng-hidden\">\n <div class=\"flex flex-wrap\">\n <div class=\"w-4 flex-column p-2\" *ngFor=\"let modulo of modulosDisponibles\">\n <a class=\"flex text-color\" href=\"{{utilsService.obtenerBase()}}/inicio\" pRipple (click)=\"cambioModulo(modulo, true)\">\n <button pButton class=\"p-button-rounded mb-2\" style=\"width:35px; height: 35px; min-width:35px;\"\n pRipple>\n <img style=\"height: 1.5rem; width:1.5rem;\" [src]=\"'assets/modulos/' + modulo.icono\" />\n\n </button>\n <span style=\"font-size: 10px; text-align: left; margin-left: 5px\">{{ modulo.descripcion }}</span>\n </a>\n </div>\n </div>\n </div>\n </li>\n <li>\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <div class=\"iniciales-usuario\" [style.background-color]=\"color\">\n <label class=\"font-semibold\">{{iniciales}}</label>\n </div>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <!-- Funciones Apagadas de perfil -->\n <!-- <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-cog mr-2\"></i>\n <span>Settings</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-file-o mr-2\"></i>\n <span>Terms of Usage</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-compass mr-2\"></i>\n <span>Support</span>\n </a>\n </li> -->\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\"\n pRipple (click)=\"salir()\">\n <i class=\"pi pi-power-off mr-2\"></i>\n <span>Cerrar sesi\u00F3n</span>\n </a>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i10.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i12.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape"] }, { kind: "ngmodule", type: InputSwitchModule }, { kind: "component", type: i13.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }] });
|
|
4354
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.4", type: AppTopbarComponent, isStandalone: true, selector: "app-topbar", viewQueries: [{ propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "mobileMenuButton", first: true, predicate: ["mobileMenuButton"], descendants: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "autocomplete", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: "\n\n<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <a class=\"layout-topbar-logo\" routerLink=\"/\">\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-full\">\n <path\n d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg> -->\n <img style=\"width: 167px; height: 64px;\" class=\"layout-topbar-logo-full\"\n src=\"data:image/png;base64,{{ codigo != '1'? logoComprimido : 'iVBORw0KGgoAAAANSUhEUgAAAKgAAABVCAYAAADdR69zAAAACXBIWXMAAAsSAAALEgHS3X78AAAMLklEQVR4nGL8//8/wygYBYMSMDAwAAAAAP//Yh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UuAOqgAeQAAKF9ghuUMTMDAwAAAAAP//GqzDTMR2bIg9RGCkAlBzBrTYZ2gCBgYGAAAAAP//GowJdCKJc/4XRvj0JiEAagoNzUTKwMAAAAAA//8abAl0IZmJbQH0nNDRkhQ7GJqJlIGBAQAAAP//GkwJdCGFA+sbkPbGjwJMAEqkhkMqfBgYGAAAAAD//xoMCfQhtPSjxqwPbE3oRAyZUQALH9DoRuGQqG0YGBgAAAAA//8aqAR6EVpiJkIH3LGNYZILYGOkilA7Rqt9TACa6AANwYHCH7T4ZnCGEQMDAwAAAP//YgQd0DTMgQB0OAo2f0+rYShHLJ07BQI1Ay0ugyUXwMaNQW6m5t4u0HAXeYukGRgYAAAAAP//GgkJdBQMVcDAwAAAAAD//xq9L34UDF7AwMAAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//AwACmKWgu+aY7wAAAABJRU5ErkJggg=='}}\">\n\n\n <svg width=\"41\" height=\"46\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg>\n </a>\n <a #menuButton class=\"layout-menu-button\" (click)=\"onMenuButtonClick()\" pRipple>\n <i class=\"pi pi-chevron-right\"></i>\n </a>\n\n <a #mobileMenuButton class=\"layout-topbar-mobile-button\" (click)=\"onMobileTopbarMenuButtonClick()\" pRipple>\n <i class=\"pi pi-ellipsis-v\"></i>\n </a>\n </div>\n\n <div class=\"layout-topbar-end\">\n <!-- Se comentan las opciones de KIT y Utilities -->\n <div class=\"layout-topbar-actions-start\" style=\"line-height: 15px;\">\n <label class=\"empresa\">Empresa: {{empresa}} </label>\n <label class=\"rol\"><span class=\"font-medium\">Rol:</span> {{rol}} </label>\n <label class=\"conexion\"><span class=\"font-medium\">Conexion:</span> {{conexion}} </label>\n <!-- <p-megaMenu [model]=\"model\" styleClass=\"layout-megamenu\"></p-megaMenu> -->\n </div>\n <div class=\"layout-topbar-actions-end\">\n <ul class=\"layout-topbar-items\">\n <!--CAMBIAR TEMA-->\n <li class=\"flex align-items-center eleccion-modo\">\n <!-- <i class=\"pi pi-sun mr-1\"></i> -->\n <p-inputSwitch [(ngModel)]=\"switch\" (onChange)=\"cambioSwitch($event)\"></p-inputSwitch>\n <!-- <i class=\"pi pi-moon ml-1\"></i> -->\n </li>\n <li class=\"layout-topbar-search\">\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple (click)=\"focusSearchInput()\">\n <i class=\"pi pi-search\"></i>\n </a>\n <!--BUSCADOR-->\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'margin-left': '11%' }\" styleClass=\"w-full h-full\" icon=\"pi pi-search\">\n </p-autoComplete>\n\n\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'align-items': 'center' }\" styleClass=\"w-full h-full\">\n </p-autoComplete>\n <button pButton pRipple type=\"button\" icon=\"pi pi-times\" (click)=\"focusSearchInput()\"\n class=\"p-button-rounded p-button-text p-button-plain\" pStyleClass=\".layout-search-panel\"\n leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\"></button>\n </div>\n </div>\n </li>\n <!-- <li>\n NOTIFICACIONES\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-bell\" pBadge severity=\"warning\"></i>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <li class=\"px-3 py-1\">\n <span>You have <b>4</b> new notifications</span>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-1.png\" />\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"font-bold\">Jerome Bell</span>\n <small>42 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">How to write content about your photographs?</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-2.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Cameron Williamson</span>\n <small>48 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Start a blog to reach your creative peak.</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-3.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Anna Miles</span>\n <small>1 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Caring is the new marketing</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-4.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Arlene Mccoy</span>\n <small>4 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Starting your traveling blog with Vasco.</span>\n </div>\n </div>\n </li>\n </ul>\n </div>\n </li> -->\n <li>\n <!-- MODULOS -->\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-table\"></i>\n </a>\n <div class=\"ng-hidden\">\n <div class=\"flex flex-wrap\">\n <div class=\"w-4 flex-column p-2\" *ngFor=\"let modulo of modulosDisponibles\">\n <a class=\"flex text-color\" href=\"{{utilsService.obtenerBase() + (url.toString().includes('admonPortal') ? '/admonPortal/inicio' : '/inicio')}}\" pRipple (click)=\"cambioModulo(modulo, true)\">\n <button pButton class=\"p-button-rounded mb-2\" style=\"width:35px; height: 35px; min-width:35px;\"\n pRipple>\n <img style=\"height: 1.5rem; width:1.5rem;\" [src]=\"'assets/modulos/' + modulo.icono\" />\n\n </button>\n <span style=\"font-size: 10px; text-align: left; margin-left: 5px\">{{ modulo.descripcion }}</span>\n </a>\n </div>\n </div>\n </div>\n </li>\n <li>\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <div class=\"iniciales-usuario\" [style.background-color]=\"color\">\n <label class=\"font-semibold\">{{iniciales}}</label>\n </div>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <!-- Funciones Apagadas de perfil -->\n <!-- <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-cog mr-2\"></i>\n <span>Settings</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-file-o mr-2\"></i>\n <span>Terms of Usage</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-compass mr-2\"></i>\n <span>Support</span>\n </a>\n </li> -->\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\"\n pRipple (click)=\"salir()\">\n <i class=\"pi pi-power-off mr-2\"></i>\n <span>Cerrar sesi\u00F3n</span>\n </a>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i10.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i12.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape"] }, { kind: "ngmodule", type: InputSwitchModule }, { kind: "component", type: i13.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }] });
|
|
4332
4355
|
}
|
|
4333
4356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: AppTopbarComponent, decorators: [{
|
|
4334
4357
|
type: Component,
|
|
4335
|
-
args: [{ selector: 'app-topbar', imports: [CommonModule, AutoCompleteModule, FormsModule, StyleClassModule, InputSwitchModule], standalone: true, template: "\n\n<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <a class=\"layout-topbar-logo\" routerLink=\"/\">\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-full\">\n <path\n d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg> -->\n <img style=\"width: 167px; height: 64px;\" class=\"layout-topbar-logo-full\"\n src=\"data:image/png;base64,{{ codigo != '1'? logoComprimido : 'iVBORw0KGgoAAAANSUhEUgAAAKgAAABVCAYAAADdR69zAAAACXBIWXMAAAsSAAALEgHS3X78AAAMLklEQVR4nGL8//8/wygYBYMSMDAwAAAAAP//YhqNmVEwaAEDAwMAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//9iIdF1AgwMDAYYotQDHxgYGC7QwFyQux2gbjeA8pHBAQYGhgdI9GABIDeDAIxGByD3gjA1AbJd1DabNMDAwAAAAAD//yImgSowMDA0QB0ujyFLXXAQT2SQAwIYGBgSGBgY/KF6D0ITICwTwDJcApLfLjIwMExgYGDYAM0w9AYJUHfD3EwIUJKIQHELsguEQeHAj0MdKNxA9oDChBYFCHbAwMAAAAAA//9iAO1JwoEF/v//P+E/fcEBHG4hFTv8////AtTlC/7//x9AhH6F////J/z//38DVN8HKB+bWlrgAqidpIAGMt1hgORPUgEojkDhS/sw+f+fAQAAAP//whD4j0icF+icOP9TKYHCMtUCaKLDpoaYxLoByU0CWNRQCxtQENakJlBqFjqg8KFluDD8//+fAQAAAP//whAYwMT5n8IECnP3Byrm8ASouz5AExI2NZTgADJKTWRASgKlJCPgArQKFwj+/58BAAAA///C1otfwMDAoI8hOriBAFJbTIGKjXtQWEyEts0OULmDCGprrsfT7qMmALkb5H5qxyvI7eehfqE+YGBgAAAAAP//Qk+gCSQ0zgcLQE6cDjTo2IA6iB+pnEhB4T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xEOsaa1A7aUBoZACU4kN+JXVgOarODMKhQIHVFGO3ChYGBAQAAAP//wpZABwvAVzoyoEXCeqTAhfVkYZclIEeS/hA8+5RcAMucpBweBlJLrd0SlAMGBgYAAAAA//8arAn0IpFDJgHQZgA/UuAOqgAeQAAKF9ghuUMTMDAwAAAAAP//GqzDTMR2bIg9RGCkAlBzBrTYZ2gCBgYGAAAAAP//GowJdCKJc/4XRvj0JiEAagoNzUTKwMAAAAAA//8abAl0IZmJbQH0nNDRkhQ7GJqJlIGBAQAAAP//GkwJdCGFA+sbkPbGjwJMAEqkhkMqfBgYGAAAAAD//xoMCfQhtPSjxqwPbE3oRAyZUQALH9DoRuGQqG0YGBgAAAAA//8aqAR6EVpiJkIH3LGNYZILYGOkilA7Rqt9TACa6AANwYHCH7T4ZnCGEQMDAwAAAP//YgQd0DTMgQB0OAo2f0+rYShHLJ07BQI1Ay0ugyUXwMaNQW6m5t4u0HAXeYukGRgYAAAAAP//GgkJdBQMVcDAwAAAAAD//xq9L34UDF7AwMAAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//AwACmKWgu+aY7wAAAABJRU5ErkJggg=='}}\">\n\n\n <svg width=\"41\" height=\"46\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg>\n </a>\n <a #menuButton class=\"layout-menu-button\" (click)=\"onMenuButtonClick()\" pRipple>\n <i class=\"pi pi-chevron-right\"></i>\n </a>\n\n <a #mobileMenuButton class=\"layout-topbar-mobile-button\" (click)=\"onMobileTopbarMenuButtonClick()\" pRipple>\n <i class=\"pi pi-ellipsis-v\"></i>\n </a>\n </div>\n\n <div class=\"layout-topbar-end\">\n <!-- Se comentan las opciones de KIT y Utilities -->\n <div class=\"layout-topbar-actions-start\" style=\"line-height: 15px;\">\n <label class=\"empresa\">Empresa: {{empresa}} </label>\n <label class=\"rol\"><span class=\"font-medium\">Rol:</span> {{rol}} </label>\n <label class=\"conexion\"><span class=\"font-medium\">Conexion:</span> {{conexion}} </label>\n <!-- <p-megaMenu [model]=\"model\" styleClass=\"layout-megamenu\"></p-megaMenu> -->\n </div>\n <div class=\"layout-topbar-actions-end\">\n <ul class=\"layout-topbar-items\">\n <!--CAMBIAR TEMA-->\n <li class=\"flex align-items-center eleccion-modo\">\n <!-- <i class=\"pi pi-sun mr-1\"></i> -->\n <p-inputSwitch [(ngModel)]=\"switch\" (onChange)=\"cambioSwitch($event)\"></p-inputSwitch>\n <!-- <i class=\"pi pi-moon ml-1\"></i> -->\n </li>\n <li class=\"layout-topbar-search\">\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple (click)=\"focusSearchInput()\">\n <i class=\"pi pi-search\"></i>\n </a>\n <!--BUSCADOR-->\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'margin-left': '11%' }\" styleClass=\"w-full h-full\" icon=\"pi pi-search\">\n </p-autoComplete>\n\n\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'align-items': 'center' }\" styleClass=\"w-full h-full\">\n </p-autoComplete>\n <button pButton pRipple type=\"button\" icon=\"pi pi-times\" (click)=\"focusSearchInput()\"\n class=\"p-button-rounded p-button-text p-button-plain\" pStyleClass=\".layout-search-panel\"\n leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\"></button>\n </div>\n </div>\n </li>\n <!-- <li>\n NOTIFICACIONES\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-bell\" pBadge severity=\"warning\"></i>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <li class=\"px-3 py-1\">\n <span>You have <b>4</b> new notifications</span>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-1.png\" />\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"font-bold\">Jerome Bell</span>\n <small>42 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">How to write content about your photographs?</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-2.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Cameron Williamson</span>\n <small>48 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Start a blog to reach your creative peak.</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-3.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Anna Miles</span>\n <small>1 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Caring is the new marketing</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-4.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Arlene Mccoy</span>\n <small>4 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Starting your traveling blog with Vasco.</span>\n </div>\n </div>\n </li>\n </ul>\n </div>\n </li> -->\n <li>\n <!-- MODULOS -->\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-table\"></i>\n </a>\n <div class=\"ng-hidden\">\n <div class=\"flex flex-wrap\">\n <div class=\"w-4 flex-column p-2\" *ngFor=\"let modulo of modulosDisponibles\">\n <a class=\"flex text-color\" href=\"{{utilsService.obtenerBase()}}/inicio\" pRipple (click)=\"cambioModulo(modulo, true)\">\n <button pButton class=\"p-button-rounded mb-2\" style=\"width:35px; height: 35px; min-width:35px;\"\n pRipple>\n <img style=\"height: 1.5rem; width:1.5rem;\" [src]=\"'assets/modulos/' + modulo.icono\" />\n\n </button>\n <span style=\"font-size: 10px; text-align: left; margin-left: 5px\">{{ modulo.descripcion }}</span>\n </a>\n </div>\n </div>\n </div>\n </li>\n <li>\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <div class=\"iniciales-usuario\" [style.background-color]=\"color\">\n <label class=\"font-semibold\">{{iniciales}}</label>\n </div>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <!-- Funciones Apagadas de perfil -->\n <!-- <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-cog mr-2\"></i>\n <span>Settings</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-file-o mr-2\"></i>\n <span>Terms of Usage</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-compass mr-2\"></i>\n <span>Support</span>\n </a>\n </li> -->\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\"\n pRipple (click)=\"salir()\">\n <i class=\"pi pi-power-off mr-2\"></i>\n <span>Cerrar sesi\u00F3n</span>\n </a>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n</div>\n" }]
|
|
4358
|
+
args: [{ selector: 'app-topbar', imports: [CommonModule, AutoCompleteModule, FormsModule, StyleClassModule, InputSwitchModule], standalone: true, template: "\n\n<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <a class=\"layout-topbar-logo\" routerLink=\"/\">\n <!-- <svg width=\"167\" height=\"32\" viewBox=\"0 0 167 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-full\">\n <path\n d=\"M76.5469 5.25V20.7812C76.5365 22.3125 76.1979 23.6458 75.5312 24.7812C74.8646 25.9167 73.9219 26.7917 72.7031 27.4062C71.4948 28.0104 70.1042 28.3125 68.5312 28.3125C66.1354 28.3125 64.2135 27.6615 62.7656 26.3594C61.3281 25.0469 60.5833 23.2344 60.5312 20.9219V5.25H62.4375V20.6406C62.4375 22.5573 62.9844 24.0469 64.0781 25.1094C65.1719 26.1615 66.6562 26.6875 68.5312 26.6875C70.4062 26.6875 71.8854 26.1562 72.9688 25.0938C74.0625 24.0312 74.6094 22.5521 74.6094 20.6562V5.25H76.5469Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M83.8438 26.375H95.0781V28H81.9062V5.25H83.8438V26.375Z\" fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M109.906 6.89062H102.109V28H100.188V6.89062H92.4062V5.25H109.906V6.89062Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path d=\"M115.938 28H114.016V5.25H115.938V28Z\" fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M124.672 5.25L133.062 25.3281L141.484 5.25H144.047V28H142.125V18.0938L142.281 7.9375L133.812 28H132.328L123.891 8.01562L124.047 18.0312V28H122.125V5.25H124.672Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path\n d=\"M162.375 21.625H152.047L149.703 28H147.688L156.297 5.25H158.125L166.734 28H164.734L162.375 21.625ZM152.641 19.9844H161.766L157.203 7.59375L152.641 19.9844Z\"\n fill=\"var(--topbar-item-text-color)\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M39.9709 8.57017C39.9112 8.42729 39.7717 8.33484 39.617 8.33484H37.5093L38.657 6.95037C38.752 6.83653 38.7711 6.67837 38.7083 6.54466C38.6455 6.41095 38.5106 6.32537 38.362 6.32537H15.2326L8.67361 0.10518C8.54643 -0.0147766 8.35336 -0.0346421 8.20625 0.0585729L4.52643 2.36221L4.52336 2.36526L4.51953 2.36679L0.17315 5.21978C0.162424 5.22666 0.157061 5.23735 0.147101 5.24576C0.125649 5.26257 0.107261 5.28091 0.0904059 5.30154C0.0750829 5.31987 0.0628245 5.33821 0.0513322 5.35884C0.0390738 5.381 0.0306461 5.40316 0.0229846 5.42684C0.015323 5.45129 0.0107261 5.47574 0.00766152 5.50172C0.00689537 5.51471 0 5.5254 0 5.53916C0 5.55138 0.00536306 5.56055 0.00689537 5.57278C0.00919382 5.59799 0.0145569 5.62168 0.0222184 5.64689C0.0298799 5.6721 0.0383076 5.69579 0.0513322 5.71948C0.0566952 5.72941 0.0574614 5.74011 0.0635906 5.75004C0.0689537 5.75844 0.0789137 5.7615 0.0850429 5.76914C0.111858 5.80352 0.14327 5.83179 0.180046 5.85471C0.193836 5.86312 0.204563 5.87382 0.218353 5.88069C0.268919 5.90514 0.324082 5.92119 0.383842 5.92119H5.61743L6.79883 8.86052L6.80036 8.86281V8.8651L14.4864 27.2292L9.94925 31.3353C9.83203 31.4415 9.79219 31.608 9.84965 31.7555C9.90635 31.903 10.0489 32 10.2067 32H16.7389C16.7895 32 16.8393 31.9893 16.886 31.9702C16.9327 31.9511 16.9749 31.9228 17.0101 31.8877L20.444 28.4502C20.4486 28.4555 20.4501 28.4624 20.4555 28.4678L23.707 31.8808C23.7798 31.958 23.8756 31.9794 23.9867 32C29.8899 31.9671 38.8462 31.9373 39.2676 31.9809C39.3074 31.9939 39.348 32 39.3886 32C39.5197 32 39.6476 31.9335 39.7189 31.8182C39.9403 31.459 39.9387 31.4552 28.6265 20.2603L39.8874 8.98888C39.9977 8.87733 40.0299 8.71305 39.9709 8.57017ZM37.5483 7.08867L36.5163 8.33484H17.3518L16.0379 7.08867H37.5483ZM8.36178 0.862361L16.2409 8.33484H7.41329L5.20447 2.83898L8.36178 0.862361ZM1.66178 5.15636L4.54864 3.2615L5.3102 5.15636H1.66178ZM21.0102 27.9406C21.0002 27.9299 20.9864 27.9253 20.9757 27.9169L23.7201 25.1701V30.7844L21.0102 27.9406ZM38.5045 31.213C37.058 31.1916 33.464 31.1825 24.4862 31.2321V24.6513C24.4862 24.581 24.4617 24.5183 24.4288 24.461L28.0864 20.7997C31.6934 24.3701 36.7998 29.4519 38.5045 31.213ZM16.8722 30.9425L7.72894 9.0989H36.6006C36.6282 9.10501 36.6558 9.11342 36.6834 9.11342C36.7056 9.11342 36.7263 9.10272 36.7485 9.0989H38.6945L16.8722 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg> -->\n <img style=\"width: 167px; height: 64px;\" class=\"layout-topbar-logo-full\"\n src=\"data:image/png;base64,{{ codigo != '1'? logoComprimido : 'iVBORw0KGgoAAAANSUhEUgAAAKgAAABVCAYAAADdR69zAAAACXBIWXMAAAsSAAALEgHS3X78AAAMLklEQVR4nGL8//8/wygYBYMSMDAwAAAAAP//YhqNmVEwaAEDAwMAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2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AAAAAP//GowJdCKJc/4XRvj0JiEAagoNzUTKwMAAAAAA//8abAl0IZmJbQH0nNDRkhQ7GJqJlIGBAQAAAP//GkwJdCGFA+sbkPbGjwJMAEqkhkMqfBgYGAAAAAD//xoMCfQhtPSjxqwPbE3oRAyZUQALH9DoRuGQqG0YGBgAAAAA//8aqAR6EVpiJkIH3LGNYZILYGOkilA7Rqt9TACa6AANwYHCH7T4ZnCGEQMDAwAAAP//YgQd0DTMgQB0OAo2f0+rYShHLJ07BQI1Ay0ugyUXwMaNQW6m5t4u0HAXeYukGRgYAAAAAP//GgkJdBQMVcDAwAAAAAD//xq9L34UDF7AwMAAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//Gk2go2DwAgYGBgAAAAD//xpNoKNg8AIGBgYAAAAA//8aTaCjYPACBgYGAAAAAP//AwACmKWgu+aY7wAAAABJRU5ErkJggg=='}}\">\n\n\n <svg width=\"41\" height=\"46\" viewBox=\"0 0 41 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n class=\"layout-topbar-logo-slim\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M40.7209 8.57017C40.6612 8.42729 40.5217 8.33484 40.367 8.33484H38.2593L39.407 6.95037C39.502 6.83653 39.5211 6.67837 39.4583 6.54466C39.3955 6.41095 39.2606 6.32537 39.112 6.32537H15.9826L9.42361 0.10518C9.29643 -0.0147766 9.10336 -0.0346421 8.95625 0.0585729L5.27643 2.36221L5.27336 2.36526L5.26953 2.36679L0.92315 5.21978C0.912424 5.22666 0.907061 5.23735 0.897101 5.24576C0.875649 5.26257 0.857261 5.28091 0.840406 5.30154C0.825083 5.31987 0.812825 5.33821 0.801332 5.35884C0.789074 5.381 0.780646 5.40316 0.772985 5.42684C0.765323 5.45129 0.760726 5.47574 0.757662 5.50172C0.756895 5.51471 0.75 5.5254 0.75 5.53916C0.75 5.55138 0.755363 5.56055 0.756895 5.57278C0.759194 5.59799 0.764557 5.62168 0.772218 5.64689C0.77988 5.6721 0.788308 5.69579 0.801332 5.71948C0.806695 5.72941 0.807461 5.74011 0.813591 5.75004C0.818954 5.75844 0.828914 5.7615 0.835043 5.76914C0.861858 5.80352 0.89327 5.83179 0.930046 5.85471C0.943836 5.86312 0.954563 5.87382 0.968353 5.88069C1.01892 5.90514 1.07408 5.92119 1.13384 5.92119H6.36743L7.54883 8.86052L7.55036 8.86281V8.8651L15.2364 27.2292L10.6993 31.3353C10.582 31.4415 10.5422 31.608 10.5997 31.7555C10.6564 31.903 10.7989 32 10.9567 32H17.4889C17.5395 32 17.5893 31.9893 17.636 31.9702C17.6827 31.9511 17.7249 31.9228 17.7601 31.8877L21.194 28.4502C21.1986 28.4555 21.2001 28.4624 21.2055 28.4678L24.457 31.8808C24.5298 31.958 24.6256 31.9794 24.7367 32C30.6399 31.9671 39.5962 31.9373 40.0176 31.9809C40.0574 31.9939 40.098 32 40.1386 32C40.2697 32 40.3976 31.9335 40.4689 31.8182C40.6903 31.459 40.6887 31.4552 29.3765 20.2603L40.6374 8.98888C40.7477 8.87733 40.7799 8.71305 40.7209 8.57017ZM38.2983 7.08867L37.2663 8.33484H18.1018L16.7879 7.08867H38.2983ZM9.11178 0.862361L16.9909 8.33484H8.16329L5.95447 2.83898L9.11178 0.862361ZM2.41178 5.15636L5.29864 3.2615L6.0602 5.15636H2.41178ZM21.7602 27.9406C21.7502 27.9299 21.7364 27.9253 21.7257 27.9169L24.4701 25.1701V30.7844L21.7602 27.9406ZM39.2545 31.213C37.808 31.1916 34.214 31.1825 25.2362 31.2321V24.6513C25.2362 24.581 25.2117 24.5183 25.1788 24.461L28.8364 20.7997C32.4434 24.3701 37.5498 29.4519 39.2545 31.213ZM17.6222 30.9425L8.47894 9.0989H37.3506C37.3782 9.10501 37.4058 9.11342 37.4334 9.11342C37.4556 9.11342 37.4763 9.10272 37.4985 9.0989H39.4445L17.6222 30.9425Z\"\n fill=\"var(--topbar-item-text-color)\" />\n </svg>\n </a>\n <a #menuButton class=\"layout-menu-button\" (click)=\"onMenuButtonClick()\" pRipple>\n <i class=\"pi pi-chevron-right\"></i>\n </a>\n\n <a #mobileMenuButton class=\"layout-topbar-mobile-button\" (click)=\"onMobileTopbarMenuButtonClick()\" pRipple>\n <i class=\"pi pi-ellipsis-v\"></i>\n </a>\n </div>\n\n <div class=\"layout-topbar-end\">\n <!-- Se comentan las opciones de KIT y Utilities -->\n <div class=\"layout-topbar-actions-start\" style=\"line-height: 15px;\">\n <label class=\"empresa\">Empresa: {{empresa}} </label>\n <label class=\"rol\"><span class=\"font-medium\">Rol:</span> {{rol}} </label>\n <label class=\"conexion\"><span class=\"font-medium\">Conexion:</span> {{conexion}} </label>\n <!-- <p-megaMenu [model]=\"model\" styleClass=\"layout-megamenu\"></p-megaMenu> -->\n </div>\n <div class=\"layout-topbar-actions-end\">\n <ul class=\"layout-topbar-items\">\n <!--CAMBIAR TEMA-->\n <li class=\"flex align-items-center eleccion-modo\">\n <!-- <i class=\"pi pi-sun mr-1\"></i> -->\n <p-inputSwitch [(ngModel)]=\"switch\" (onChange)=\"cambioSwitch($event)\"></p-inputSwitch>\n <!-- <i class=\"pi pi-moon ml-1\"></i> -->\n </li>\n <li class=\"layout-topbar-search\">\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple (click)=\"focusSearchInput()\">\n <i class=\"pi pi-search\"></i>\n </a>\n <!--BUSCADOR-->\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'margin-left': '11%' }\" styleClass=\"w-full h-full\" icon=\"pi pi-search\">\n </p-autoComplete>\n\n\n <div class=\"layout-search-panel ng-hidden p-input-filled\">\n <i class=\"pi pi-search\"></i>\n <!-- <input #searchInput type=\"text\" pInputText placeholder=\"Search\"> -->\n <p-autoComplete #searchInput placeholder=\"Buscar una tarea...\" (click)=\"searchClick = true\"\n [dropdown]=\"false\" [(ngModel)]=\"tareaSeleccionadas\" [suggestions]=\"tareasFiltradas\"\n (completeMethod)=\"filterTarea($event)\" (onSelect)=\"tareaSeleccion()\" field=\"descripcion\"\n [ngStyle]=\"{ 'width': '70%', 'height': '40px', 'align-items': 'center' }\" styleClass=\"w-full h-full\">\n </p-autoComplete>\n <button pButton pRipple type=\"button\" icon=\"pi pi-times\" (click)=\"focusSearchInput()\"\n class=\"p-button-rounded p-button-text p-button-plain\" pStyleClass=\".layout-search-panel\"\n leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\"></button>\n </div>\n </div>\n </li>\n <!-- <li>\n NOTIFICACIONES\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\" leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-bell\" pBadge severity=\"warning\"></i>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <li class=\"px-3 py-1\">\n <span>You have <b>4</b> new notifications</span>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-1.png\" />\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"font-bold\">Jerome Bell</span>\n <small>42 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">How to write content about your photographs?</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-2.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Cameron Williamson</span>\n <small>48 mins ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Start a blog to reach your creative peak.</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-3.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Anna Miles</span>\n <small>1 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Caring is the new marketing</span>\n </div>\n </div>\n </li>\n <li class=\"p-3\">\n <div class=\"flex align-items-center\">\n <img src=\"assets/demo/images/avatar/avatar-4.png\"/>\n <div class=\"flex flex-column ml-3 flex-1\">\n <div class=\"flex align-items-center justify-content-between mb-1\">\n <span class=\"fs-small font-bold\">Arlene Mccoy</span>\n <small>4 day ago</small>\n </div>\n <span class=\"text-sm line-height-3\">Starting your traveling blog with Vasco.</span>\n </div>\n </div>\n </li>\n </ul>\n </div>\n </li> -->\n <li>\n <!-- MODULOS -->\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <i class=\"pi pi-table\"></i>\n </a>\n <div class=\"ng-hidden\">\n <div class=\"flex flex-wrap\">\n <div class=\"w-4 flex-column p-2\" *ngFor=\"let modulo of modulosDisponibles\">\n <a class=\"flex text-color\" href=\"{{utilsService.obtenerBase() + (url.toString().includes('admonPortal') ? '/admonPortal/inicio' : '/inicio')}}\" pRipple (click)=\"cambioModulo(modulo, true)\">\n <button pButton class=\"p-button-rounded mb-2\" style=\"width:35px; height: 35px; min-width:35px;\"\n pRipple>\n <img style=\"height: 1.5rem; width:1.5rem;\" [src]=\"'assets/modulos/' + modulo.icono\" />\n\n </button>\n <span style=\"font-size: 10px; text-align: left; margin-left: 5px\">{{ modulo.descripcion }}</span>\n </a>\n </div>\n </div>\n </div>\n </li>\n <li>\n <a pStyleClass=\"@next\" enterFromClass=\"ng-hidden\" enterActiveClass=\"px-scalein\" leaveToClass=\"ng-hidden\"\n leaveActiveClass=\"px-fadeout\" [hideOnOutsideClick]=\"true\" pRipple>\n <div class=\"iniciales-usuario\" [style.background-color]=\"color\">\n <label class=\"font-semibold\">{{iniciales}}</label>\n </div>\n </a>\n <div class=\"ng-hidden\">\n <ul class=\"list-none p-0 m-0\">\n <!-- Funciones Apagadas de perfil -->\n <!-- <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-cog mr-2\"></i>\n <span>Settings</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-file-o mr-2\"></i>\n <span>Terms of Usage</span>\n </a>\n </li>\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\" pRipple>\n <i class=\"pi pi-compass mr-2\"></i>\n <span>Support</span>\n </a>\n </li> -->\n <li>\n <a class=\"cursor-pointer flex align-items-center py-2 hover:surface-hover transition-duration-150 transition-all px-3 py-2\"\n pRipple (click)=\"salir()\">\n <i class=\"pi pi-power-off mr-2\"></i>\n <span>Cerrar sesi\u00F3n</span>\n </a>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n</div>\n" }]
|
|
4336
4359
|
}], ctorParameters: () => [{ type: LayoutService }, { type: i0.ElementRef }, { type: i2.ActivatedRoute }, { type: StorageService }, { type: i2.Router }, { type: i0.Renderer2 }, { type: MenuService$1 }, { type: AuthService }, { type: CargarControlFuncionalidadService }, { type: GeneralPipe }, { type: StorageService }, { type: UtilsService }, { type: Document, decorators: [{
|
|
4337
4360
|
type: Inject,
|
|
4338
4361
|
args: [DOCUMENT]
|
|
@@ -4413,7 +4436,12 @@ class AppBreadcrumbComponent {
|
|
|
4413
4436
|
this.items = items;
|
|
4414
4437
|
this.cd.detectChanges(); // Marcando para detección de cambios
|
|
4415
4438
|
}));
|
|
4416
|
-
|
|
4439
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
4440
|
+
this.home = { icon: 'pi pi-home', routerLink: '/' + this.utilsService.obtenerBase() + '/admonPortal/inicio' };
|
|
4441
|
+
}
|
|
4442
|
+
else {
|
|
4443
|
+
this.home = { icon: 'pi pi-home', routerLink: '/' + this.utilsService.obtenerBase() + '/inicio' };
|
|
4444
|
+
}
|
|
4417
4445
|
}
|
|
4418
4446
|
ngOnDestroy() {
|
|
4419
4447
|
this.subscription.unsubscribe();
|
|
@@ -4523,7 +4551,12 @@ class PlantillaGeneralTemplate {
|
|
|
4523
4551
|
this.intervalId = window.setInterval(() => {
|
|
4524
4552
|
if (!this.authService.isTokenValid()) {
|
|
4525
4553
|
this.authService.deleteToken();
|
|
4526
|
-
|
|
4554
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
4555
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/admonPortal/timeout');
|
|
4556
|
+
}
|
|
4557
|
+
else {
|
|
4558
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/timeout');
|
|
4559
|
+
}
|
|
4527
4560
|
}
|
|
4528
4561
|
}, 300_000);
|
|
4529
4562
|
}
|
|
@@ -4876,7 +4909,12 @@ class BreadcrumbComponent {
|
|
|
4876
4909
|
this.subscription = this.menuService.breadcrumb.subscribe((items) => {
|
|
4877
4910
|
this.items = items;
|
|
4878
4911
|
});
|
|
4879
|
-
|
|
4912
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
4913
|
+
this.home = { icon: 'pi pi-home', routerLink: '/' + this.utilsService.obtenerBase() + '/admonPortal/inicio' };
|
|
4914
|
+
}
|
|
4915
|
+
else {
|
|
4916
|
+
this.home = { icon: 'pi pi-home', routerLink: '/' + this.utilsService.obtenerBase() + '/inicio' };
|
|
4917
|
+
}
|
|
4880
4918
|
}
|
|
4881
4919
|
ngOnDestroy() {
|
|
4882
4920
|
if (this.subscription) {
|
|
@@ -5008,7 +5046,12 @@ class PublicoGuard {
|
|
|
5008
5046
|
}
|
|
5009
5047
|
canActivate(route, state) {
|
|
5010
5048
|
if (this.authService.isTokenValid()) {
|
|
5011
|
-
|
|
5049
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
5050
|
+
return this.route.createUrlTree(['/' + this.utilsService.obtenerBase() + '/admonPortal/inicio']);
|
|
5051
|
+
}
|
|
5052
|
+
else {
|
|
5053
|
+
return this.route.createUrlTree(['/' + this.utilsService.obtenerBase() + '/inicio']);
|
|
5054
|
+
}
|
|
5012
5055
|
}
|
|
5013
5056
|
return true;
|
|
5014
5057
|
}
|
|
@@ -5484,7 +5527,12 @@ class SeleccionRolComponent {
|
|
|
5484
5527
|
this.storageService.setItem('moduloSeleccionado', data?.modulodefecto);
|
|
5485
5528
|
}
|
|
5486
5529
|
this.regresarRegistro();
|
|
5487
|
-
|
|
5530
|
+
if (window.location.href.toString().includes('admonPortal')) {
|
|
5531
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/admonPortal/inicio');
|
|
5532
|
+
}
|
|
5533
|
+
else {
|
|
5534
|
+
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/inicio');
|
|
5535
|
+
}
|
|
5488
5536
|
});
|
|
5489
5537
|
}
|
|
5490
5538
|
regresarRegistro() {
|