{"version":3,"sources":["app/Components/Shared/Spinner.js","app/AppRoutes.js","app/AppRouterNotAutorization.js","app/Components/Shared/ContentUrls.js","app/Components/Shared/HeaderDashboard.js","app/Components/Shared/Footer.js","app/App.js","serviceWorker.js","index.js","app/Context/UserContext.js","app/services/Idea.API/settingHTTP.js","app/Hooks/useUser.js","app/services/Identity.API/settings.js","app/services/Identity.API/ServiceLogin.js","app/services/Idea.API/Dashboard.js","app/Utils/RoleHelper.js","assets/images/perfil_prueba.jpg"],"names":["Spinner","Component","render","React","createElement","className","Cuadrodemando","lazy","CreateIdeas","EditIdeas","ListaIdeas","CatalogoPremios","ListCategorias","CreateCategorias","Evaluaciones","ComiteEvaluador","ComiteEvaluadorUser","Revision","DetalleIdeas","EstadoIdeas","MisIdeas","Catalogo","SolicitarPremiosAdmin","SolicitarPremiosPersona","Interacciones","Perfil","GraficoInteraccio","ListaPersonasPuntos","Premios","CrearUsuario","listaUsuarios","CreateIdeaAdmin","IntenteacionMes","Organigrama","ReportablidadInteraccion","ReportablidadDimensiones","ListModulos","ListIdeaPersonaPuntos","ListaDetallePersonaPuntosConsumidos","GestionPlataforma","CrearDesafio","ListDesafios","MisDesafios","CrearDesafioAdmin","DetalleDesafio","ListPaqueteCriterios","CreatePaqueteCriterios","Momentos","CreateMomentos","Suggestions","CreateSuggestion","Compromisos","CompromisosPersonales","CreateCompromiso","DashboardCompromisos","ListCompromisos","DetalleCompromisos","ListCompromisosArea","ListCompromisosGerencia","ListCompromisosTotales","CompromisosCards","CompromisosVerificacion","RDashborard","RDashborardArea","RDashborardListIdea","RDashboardGerencia","RDRatioParticipantes","ReportablidadDesafio","ReportablidadDesafioDimensiones","ReportablidadDesafioArea","ReportablidadDesafioGerencia","ReportablidadDesafioRatio","Rutina","CreateRutina","ListIndicador","DetalleRutina","PlanAccionEstado","PlanAccionArea","AppRoutes","Suspense","fallback","Switch","Route","exact","path","component","Redirect","from","to","Error500","Login","Lockscreen","RecoveryPassword","AppRoutesNotAutorization","ContentUrls","codCustomer","_ref","urls","style","width","map","data","key","Link","concat","window","location","pathname","startsWith","name","urlsDesafio","Header","constructor","props","super","toggleCollapseOne","this","setState","prevState","isCollapseOneOpen","isCollapseOpen","toggleCollapse","handleSubmit","bind","state","logout","token","localStorage","getItem","obj","JSON","parse","keyAccess","perfilFoto","isAdmin","getInfoToken","CLAIM_CODCUSTOMER","rol","decodeToken","removeItem","history","push","role","array","includes","CLAIM_ROLE_ADMIN","console","log","logoutHandler","context","response","Dashboard","getPerfil","e","preventDefault","sessionStorage","clear","reload","_this$state$perfilFot","_this$state$perfilFot2","borderBottom","background","zIndex","Dropdown","alignRight","Toggle","src","fotoUrl","require","alt","Menu","Item","onClick","type","toggleBottomMenu","isPathActive","href","display","gap","alignItems","cursor","id","Fragment","document","querySelector","classList","toggle","toggleRightSidebar","componentDidMount","navbar","body","addEventListener","scrollY","add","remove","querySelectorAll","forEach","el","result","node","parentNode","firstChild","nextElementSibling","nextSibling","contextType","Context","withRouter","Footer","target","rel","App","useUser","HeaderDashboard","Boolean","hostname","match","ReactDOM","BrowserRouter","UserContextProvider","getElementById","navigator","serviceWorker","ready","then","registration","unregister","createContext","children","jwt","setJWT","useState","msalInstance","onMsalInstanceChange","value","Provider","instance","axios","create","baseURL","defaults","headers","common","useContext","loadind","error","access","setAccess","getAccessLocalStorage","login","useCallback","modelLogin","loading","loginService","status","accessToken","undefined","t","atob","split","personaId","CLAIM_PERSONA_ID","validateRole","CLAIM_ROLE","codCustom","setItem","stringify","catch","err","loginMicrosoft","msal","expiredToken","isExpired","isLoginLoading","hasLoginError","s","getToken","c","substring","length","Buffer","toString","serviceLogin","settingHTTP","post","res","get","request","alert","put","message","CLAIM_ROLE_INNOVACION","tipoDato","claim","Array","isArray","module","exports"],"mappings":"6NAEO,MAAMA,UAAgBC,YAC3BC,SACE,OACEC,IAAAC,cAAA,WACED,IAAAC,cAAA,OAAKC,UAAU,mBACbF,IAAAC,cAAA,OAAKC,UAAU,aAMVL,QCRf,MAAM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AClC,GAAgB,MAAbD,EAAI/B,OACL,OAAO+B,EAAIvL,KAGb,MAAOoD,GAEgB,MAApBA,EAAEqI,QAAQjC,QACXkC,MAAM,eAQZ,mBAAmB1L,GACjB,IAEE,aADkBqL,IAAYM,IAAI,WAAY3L,GAE9C,MAAOoD,GAEP,OADAP,QAAQkG,MAAM,iBAAkB3F,EAAEwI,SAC3BxI,KAMEF,O,+BCpEf,wTAII,MAAMf,EAAoB,iBAEpB4H,EAAmB,SAGZhI,EAAY,SACnBkI,EAAa,+DAEbrH,EAAmB,QACnBiJ,EAAwB,aAExB3J,EAAcA,CAACT,EAAOqK,KACxB,IAAIrK,EACJ,MAAO,GAIH,OAFQI,KAAKC,MAAM8H,KAAKnI,EAAMoI,MAAM,KAAK,KAC1BiC,IAIjB5C,EAAwBA,KAC5B,IAAI6B,EAAIrJ,aAAaC,QAAQI,GAC7B,OAAIgJ,EAEKlJ,KAAKC,MAAMiJ,GAGb,MAGHf,EAAgB+B,IACpB,GAAIC,MAAMC,QAAQF,GAChB,OAAOA,EAEP,GAAoB,oBAATA,GAAiC,MAATA,EACjC,MAAO,GAIP,MAFQ,CAACA,K,mBCzCnBG,EAAOC,QAAU,IAA0B,2C","file":"static/js/main.56f4687e.chunk.js","sourcesContent":["import React, { Component } from 'react'\n\nexport class Spinner extends Component {\n render() {\n return (\n
\n
\n
\n
\n
\n )\n }\n}\nexport default Spinner\n","import React, { Component, Suspense, lazy } from \"react\";\nimport { Switch, Route, Redirect } from \"react-router-dom\";\nimport Lazy from \"yup/lib/Lazy\";\nimport Spinner from \"../app/Components/Shared/Spinner\";\n\nconst Cuadrodemando = lazy(() => import(\"./page/Ideas/Index\"));\nconst CreateIdeas = lazy(() => import(\"./page/Ideas/CreateIdea\"));\nconst EditIdeas = lazy(() => import(\"./page/Ideas/EditarIdea\"));\nconst ListaIdeas = lazy(() => import(\"./page/Ideas/ListIdea\"));\nconst CatalogoPremios = lazy(() => import(\"./page/Ideas/Premios\"));\nconst ListCategorias = lazy(() => import(\"./page/Ideas/CategoriaPremios\"));\nconst CreateCategorias = lazy(() => import(\"./page/Ideas/CreateCategoria\"));\nconst Evaluaciones = lazy(() => import(\"./page/Ideas/EvaluationList\"));\nconst ComiteEvaluador = lazy(() => import(\"./page/Ideas/ListJurado\"));\nconst ComiteEvaluadorUser = lazy(() => import(\"./page/Ideas/ListJuradoUser\"));\nconst Revision = lazy(() => import(\"./page/Ideas/RevisionList\"));\nconst DetalleIdeas = lazy(() => import(\"./page/Ideas/DetalleIdea\"));\nconst EstadoIdeas = lazy(() => import(\"./page/Ideas/IdeasEstadoList\"));\nconst MisIdeas = lazy(() => import(\"./page/Ideas/ListaMisIdeas\"));\nconst Catalogo = lazy(() => import(\"./page/Ideas/CatalogoPremiosCard\"));\nconst SolicitarPremiosAdmin = lazy(() =>\n import(\"./page/Ideas/SolicitudPremioAdmin\")\n);\nconst SolicitarPremiosPersona = lazy(() =>\n import(\"./page/Ideas/SolicitarPremioPersona\")\n);\nconst Interacciones = lazy(() => import(\"./page/Ideas/LinstaInteraccion\"));\nconst Perfil = lazy(() => import(\"./page/user-pages/Perfil\"));\nconst GraficoInteraccio = lazy(() => import(\"./page/Ideas/InteraccionGrafica\"));\nconst ListaPersonasPuntos = lazy(() =>\n import(\"./page/Ideas/PersonaPuntosList\")\n);\nconst Premios = lazy(() => import(\"./page/Ideas/ListPremiosPersona\"));\nconst CrearUsuario = lazy(() => import(\"./page/Ideas/CrearUsuario\"));\nconst listaUsuarios = lazy(() => import(\"./page/Ideas/ListaUsuarios\"));\nconst CreateIdeaAdmin = lazy(() => import(\"./page/Ideas/CreateIdeaAdmin\"));\nconst IntenteacionMes = lazy(() => import(\"./page/Ideas/InteresacionMonth\"));\nconst Organigrama = lazy(() => import(\"./page/Ideas/Organigrama\"));\nconst ReportablidadInteraccion = lazy(() =>\n import(\"./page/Reportablidad/ReportablidadInteraccion\")\n);\nconst ReportablidadDimensiones = lazy(() =>\n import(\"./page/Reportablidad/ReportablidadDimensiones\")\n);\nconst ListModulos = lazy(() =>\n import(\"./page/Reportablidad/ListaInteracionReporte\")\n);\nconst ListIdeaPersonaPuntos = lazy(() =>\n import(\"./page/Ideas/ListIdeaPersonaPuntos\")\n);\nconst ListaDetallePersonaPuntosConsumidos = lazy(() =>\n import(\"./page/Ideas/ListaDetallePersonaPuntosConsumidos\")\n);\nconst GestionPlataforma = lazy(() => import(\"./page/Ideas/GestionPlataforma\"));\nconst CrearDesafio = lazy(() => import(\"./page/desafios/CrearDesafio\"));\nconst ListDesafios = lazy(() => import(\"./page/desafios/ListDesafios\"));\nconst MisDesafios = lazy(() => import(\"./page/desafios/MisDesafios\"));\nconst CrearDesafioAdmin = lazy(() => import(\"./page/desafios/CrearDesafioAdmin\"));\n\n\nconst DetalleDesafio = lazy(() => import(\"./page/desafios/DetalleDesafio\"));\nconst ListPaqueteCriterios = lazy(() =>\n import(\"./page/paqueteCriterios/ListPaqueteCriterios\")\n);\nconst CreatePaqueteCriterios = lazy(() =>\n import(\"./page/paqueteCriterios/CreateCriterio\")\n);\n\n//rutas de momentos\nconst Momentos = lazy(() => import(\"./page/Momentos/Index\"));\nconst CreateMomentos = lazy(() => import(\"./page/Momentos/Create\"));\n\n//rutas de Fortalenciendo Vinculos\nconst Suggestions = lazy(() => import(\"./page/suggestions/Index\"));\nconst CreateSuggestion = lazy(() => import(\"./page/suggestions/Create\"));\n\n//rutas de Compromisos\nconst Compromisos = lazy(() => import(\"./page/compromisos/Index\"));\nconst CompromisosPersonales = lazy(() =>\n import(\"./page/compromisos/CompromisosPersonales\")\n);\nconst CreateCompromiso = lazy(() => import(\"./page/compromisos/Create\"));\nconst DashboardCompromisos = lazy(() => import(\"./page/compromisos/Dashboard\"));\nconst ListCompromisos = lazy(() =>\n import(\"./page/compromisos/HistoricoCompromisos\")\n);\nconst DetalleCompromisos = lazy(() =>\n import(\"./page/compromisos/DetalleCompromiso\")\n);\nconst ListCompromisosArea = lazy(() =>\n import(\"./page/compromisos/HistoricoCompromisosArea\")\n);\nconst ListCompromisosGerencia = lazy(() =>\n import(\"./page/compromisos/HistoricoCompromisosGerencia\")\n);\nconst ListCompromisosTotales = lazy(() =>\n import(\"./page/compromisos/HistoricoCompromisosTotal\")\n);\nconst CompromisosCards = lazy(() =>\n import(\"./page/compromisos/CompromisosCards\")\n);\nconst CompromisosVerificacion = lazy(() =>\n import(\"./page/compromisos/VerificarCompromisos\")\n);\n\n//Reportablidad\nconst RDashborard = lazy(() =>\n import(\"./page/Reportablidad/DashboardReportablidad\")\n);\nconst RDashborardArea = lazy(() =>\n import(\"./page/Reportablidad/ReportablidadArea\")\n);\nconst RDashborardListIdea = lazy(() =>\n import(\"./page/Reportablidad/ReportablidadListIdea\")\n);\nconst RDashboardGerencia = lazy(() =>\n import(\"./page/Reportablidad/ReportablidadGerencia\")\n);\nconst RDRatioParticipantes = lazy(() =>\n import(\"./page/Reportablidad/RatioParticipantes\")\n);\n\n\nconst ReportablidadDesafio = lazy(() =>\n import(\"./page/desafios/Reportabilidad/DashboardReportablidad.js\")\n); \n\nconst ReportablidadDesafioDimensiones = lazy(() =>\n import(\"./page/desafios/Reportabilidad/ReportablidadDimensiones.js\")\n); \n\n \nconst ReportablidadDesafioArea = lazy(() =>\n import(\"./page/desafios/Reportabilidad/ReportablidadArea.js\")\n); \n\n\nconst ReportablidadDesafioGerencia = lazy(() =>\n import(\"./page/desafios/Reportabilidad/ReportablidadGerencia.js\")\n); \n\n\nconst ReportablidadDesafioRatio = lazy(() =>\n import(\"./page/desafios/Reportabilidad/RatioParticipantes.js\")\n); \n\n \n\n//rutas de Rutinas\nconst Rutina = lazy(() => import(\"./page/rutina/Index\"));\nconst CreateRutina = lazy(() => import(\"./page/rutina/Create\"));\nconst ListIndicador = lazy(() => import(\"./page/rutina/ListIndicador\"));\nconst DetalleRutina = lazy(() => import(\"./page/rutina/Detalle\"));\nconst PlanAccionEstado = lazy(() => import(\"./page/rutina/ListEstado\"));\nconst PlanAccionArea = lazy(() => import(\"./page/rutina/ListarPlanesArea\"));\n\n//const Error404 = lazy(() => import(\"./page/error-pages/Error404\"));\nconst Error500 = lazy(() => import(\"./page/error-pages/Error500\"));\n\nconst Login = lazy(() => import(\"./page/user-pages/Login\"));\nconst Lockscreen = lazy(() => import(\"./page/user-pages/Lockscreen\"));\nconst RecoveryPassword = lazy(() =>\n import(\"./page/user-pages/RecoveryPassword\")\n);\n\n//Fortaleciendo Vinculos\n\nclass AppRoutes extends Component {\n render() {\n return (\n }>\n \n \n \n \n \n \n \n \n \n \n {/* \n \n \n */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n\n \n \n\n \n\n \n \n\n {/* Compromisos */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n {/*Fin - Compromisos */}\n\n \n \n \n \n \n \n\n \n \n \n \n \n \n );\n }\n}\n\nexport default AppRoutes;\n","import React, { Component, Suspense, lazy } from \"react\";\nimport { Switch, Route, Redirect } from \"react-router-dom\";\nimport Spinner from \"../app/Components/Shared/Spinner\";\n\n\n//const Error404 = lazy(() => import(\"./page/error-pages/Error404\"));\nconst Error500 = lazy(() => import(\"./page/error-pages/Error500\"));\n\nconst Login = lazy(() => import(\"./page/user-pages/Login\"));\nconst Lockscreen = lazy(() => import(\"./page/user-pages/Lockscreen\"));\nconst RecoveryPassword = lazy(() => import(\"./page/user-pages/RecoveryPassword\"));\n\n//Fortaleciendo Vinculos\nclass AppRoutesNotAutorization extends Component {\n render() {\n return (\n }>\n \n \n \n \n \n \n \n \n \n );\n }\n}\n\n\n\nexport default AppRoutesNotAutorization;\n","import React from 'react'\nimport { Link } from 'react-router-dom/cjs/react-router-dom.min';\n\nconst ContentUrls = ({ urls }) => {\n const isPathActive = (path) => {\n return window.location.pathname.startsWith(path);\n }\n\n return (\n
\n \n
\n )\n}\n\nexport default ContentUrls","import React, { Component, useContext } from \"react\";\nimport { Dropdown } from \"react-bootstrap\";\nimport { Link, withRouter } from \"react-router-dom\";\nimport { decodeToken } from \"react-jwt\";\nimport Dashboard from \"../../services/Idea.API/Dashboard\";\nimport Context from \"../../Context/UserContext\";\nimport ContentUrls from \"./ContentUrls\";\n\nimport {\n CLAIM_CODCUSTOMER,\n CLAIM_ROLE_ADMIN,\n getInfoToken,\n keyAccess,\n} from \"../../Utils/RoleHelper\";\nvar codCustomer;\nconst urls = [\n { to: \"Reportablidad\", name: \"Reportabilidad\" },\n { to: \"ReportablidadDimensiones\", name: \"Reportabilidad Dimensiones\" },\n { to: \"ReportablidadArea\", name: \"Reportabilidad Área\" },\n { to: \"ReportablidadGerencia\", name: \"Reportabilidad Gerencia\" },\n { to: \"RatioParticipantes\", name: \"Ratio por Participantes\" },\n]\n\nconst urlsDesafio = [\n { to: \"desafio/Reportablidad\", name: \"Reportabilidad\" },\n { to: \"desafio/ReportablidadDimensiones\", name: \"Reportabilidad Dimensiones\" },\n { to: \"desafio/ReportablidadArea\", name: \"Reportabilidad Área\" },\n { to: \"desafio/ReportablidadGerencia\", name: \"Reportabilidad Gerencia\" },\n { to: \"desafio/RatioParticipantes\", name: \"Ratio por Participantes\" },\n]\nclass Header extends Component {\n static contextType = Context; // Asigna el contexto a una propiedad estática\n\n constructor(props) {\n super(props);\n this.handleSubmit = this.handleSubmit.bind(this);\n this.state = {\n logout: \"\",\n token: window.localStorage.getItem(\"jwt\"),\n //obj: {},\n obj: JSON.parse(window.localStorage.getItem(keyAccess)),\n perfilFoto: {},\n isAdmin: false,\n isCollapseOneOpen: false, // Controla si \"Ideas\" está abierto o cerrado\n isCollapseOpen: false,\n };\n if (this.state.token != null) {\n codCustomer = getInfoToken(this.state.token, CLAIM_CODCUSTOMER);\n var rol = decodeToken(this.state.token);\n if (rol == null) {\n window.localStorage.removeItem(\"jwt\");\n window.history.push(\"/login\");\n }\n if (rol.role != null) {\n var array = rol.role;\n this.state.obj[\"gerencia\"] = array[0];\n this.state.obj[\"rol\"] = array[1];\n }\n if (this.state.obj.role.includes(CLAIM_ROLE_ADMIN)) {\n this.state.isAdmin = true;\n } else {\n this.state.isAdmin = false;\n }\n console.log(this.state.isAdmin);\n }\n }\n\n async componentWillMount() {\n const { logoutHandler } = this.context; // Obtiene el método logoutHandler del contexto\n this.setState({ logoutHandler }); // Guarda el método en el estado si es necesario\n\n const response = await Dashboard.getPerfil();\n this.setState({ perfilFoto: response });\n }\n handleSubmit(e) {\n e.preventDefault();\n const { logoutHandler } = this.context; // Obtiene el método logoutHandler del contexto\n window.localStorage.removeItem(\"jwt\");\n window.localStorage.removeItem(\"username\");\n window.sessionStorage.clear();\n this.props.history.push(\"/login\");\n window.location.reload();\n logoutHandler();\n }\n\n toggleCollapseOne = () => {\n this.setState(prevState => ({\n isCollapseOneOpen: !prevState.isCollapseOneOpen,\n // Si \"Ideas\" se abre, cierra \"Desafios\"\n isCollapseOpen: false,\n }));\n };\n\n // Método para alternar el estado de \"Desafios\"\n toggleCollapse = () => {\n this.setState(prevState => ({\n isCollapseOpen: !prevState.isCollapseOpen,\n // Si \"Desafios\" se abre, cierra \"Ideas\"\n isCollapseOneOpen: false,\n }));\n };\n\n render() {\n return (\n
\n \n
\n
\n {/* \"logo\" */}\n {/* \"logo\" */}\n
\n
\n
    \n
  • \n {/*
  • \n \n \n \n \n \n \n
  • */}\n
  • \n \n \n \n \n \n \n
    \n \n Perfil\n
    \n \n \n
    \n \n Cerrar Sesión\n
    \n \n
    \n
    \n
  • \n
\n \n \n \n
\n
\n \n
\n }\n \n\n
\n
\n
\n

Comité

\n
\n
\n
\n
    \n
  • \n {\" \"}\n \n Comité Evaluador\n \n
  • \n
\n
\n
\n
\n
\n
\n
\n {/* {this.state.obj.rol === \"Admin\" ? ( */}\n {this.state.isAdmin ? (\n
\n
\n
\n

Administrador

\n
\n
\n
\n
    \n
  • \n {\" \"}\n \n Interacción Sesión\n \n
  • \n
  • \n {\" \"}\n \n Interacción Módulos\n \n
  • \n
  • \n {\" \"}\n \n Canjear Premios{\" \"}\n \n
  • \n
  • \n {\" \"}\n \n Momentos\n \n
  • \n
  • \n {\" \"}\n \n Catálogo de Premios\n \n
  • \n
  • \n {\" \"}\n \n Solicitud de Premios\n \n
  • \n
  • \n {\" \"}\n \n Organigrama\n \n
  • \n
\n
\n
\n
    \n
  • \n {\" \"}\n \n Seguimiento Idea\n \n
  • \n
  • \n {\" \"}\n \n Crear Idea\n \n
  • \n
  • \n {\" \"}\n \n Lista Usuarios\n \n
  • \n
  • \n {\" \"}\n \n Revisión de Ideas\n \n
  • \n
  • \n {\" \"}\n \n Comité Evaluador\n \n
  • \n
  • \n {\" \"}\n \n Ideas Sustentadas\n \n
  • \n
  • \n {\" \"}\n \n Gestión Plataforma\n \n
  • \n
\n
\n
\n
\n
\n
\n
\n ) : (\n \" \"\n )}\n \n \n \n {codCustomer == 2 && (\n <>\n \n \n \n {`${\n codCustomer == 2\n ? \"Gestión de la Disciplina\"\n : \"Gestión de la Rutina\"\n }`}\n \n \n \n \n \n Fortaleciendo Vínculos\n \n \n \n \n )}\n {codCustomer != 2 && (\n \n \n \n Fortaleciendo Vínculos\n \n \n )}\n\n {codCustomer != 2 && (\n \n \n \n {`${\n codCustomer == 2\n ? \"Gestión de la Disciplina\"\n : \"Gestión de la Rutina\"\n }`}\n \n \n )}\n\n {codCustomer != 2 && (\n \n
\n \n Compromisos para Mejorar\n \n
\n \n
\n \n
\n
\n

Usuarios

\n
\n
\n
\n
    \n
  • \n {\" \"}\n \n Cuadro de Mando\n \n
  • \n
  • \n {\" \"}\n \n Crear Compromiso\n \n
  • \n
  • \n {\" \"}\n \n Mis Compromisos\n \n
  • \n
  • \n {\" \"}\n \n Compromisos del Área\n \n
  • \n
  • \n {\" \"}\n \n Verificar Compromisos{\" \"}\n \n
  • \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n

Históricos

\n
\n
\n
\n
    \n
  • \n {\" \"}\n \n Histórico de Mis Compromisos\n \n
  • \n
  • \n {\" \"}\n \n Histórico de Compromisos - Área\n \n
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isAdmin ? (\n
\n
\n
\n

Administrador

\n
\n
    \n
  • \n {\" \"}\n \n Todos los Compromisos\n \n
  • \n
  • \n {\" \"}\n \n Histórico de Compromisos - Gerencia{\" \"}\n \n
  • \n
\n
\n
\n
\n
\n ) : (\n \" \"\n )}\n \n \n \n )}\n \n \n \n \n );\n }\n\n toggleBottomMenu() {\n document.querySelector(\".bottom-navbar\").classList.toggle(\"header-toggled\");\n }\n\n toggleRightSidebar() {\n document.querySelector(\".right-sidebar\").classList.toggle(\"open\");\n }\n\n componentDidMount() {\n // Horizontal menu fixed when scrolling\n let navbar = document.querySelector(\".horizontal-menu\");\n let body = document.querySelector(\"body\");\n if (navbar) {\n window.addEventListener(\"scroll\", function () {\n if (window.scrollY >= 70) {\n navbar.classList.add(\"fixed-on-scroll\");\n body.classList.add(\"horizontal-menu-fixed-on-scroll\");\n } else {\n navbar.classList.remove(\"fixed-on-scroll\");\n body.classList.remove(\"horizontal-menu-fixed-on-scroll\");\n }\n });\n }\n\n // Horizontal menu navigation in mobile menu on click\n let navItemClicked = document.querySelectorAll(\n \".horizontal-menu .page-navigation >.nav-item\"\n );\n navItemClicked.forEach(function (el) {\n el.addEventListener(\"click\", function () {\n var result = [],\n node = this.parentNode.firstChild;\n while (node) {\n if (node !== this) result.push(node);\n node = node.nextElementSibling || node.nextSibling;\n }\n result.forEach((el) => el.classList.remove(\"show-submenu\"));\n this.classList.toggle(\"show-submenu\");\n });\n });\n }\n\n isPathActive(path) {\n return this.props.location.pathname.startsWith(path);\n }\n}\n\nexport default withRouter(Header);\n","import React, { Component } from 'react';\n\nclass Footer extends Component {\n render () {\n return (\n
\n
\n
\n Copyright © 2020 IDS Latam. All rights reserved.\n
\n
\n \n
\n );\n }\n}\n\nexport default Footer;","import React from 'react';\nimport { withRouter } from 'react-router-dom';\nimport './App.scss';\nimport AppRoutes from './AppRoutes';\nimport AppRoutesNotAutorization from './AppRouterNotAutorization';\nimport HeaderDashboard from './Components/Shared/HeaderDashboard'\nimport Footer from './Components/Shared/Footer';\nimport useUser from './Hooks/useUser';\n\nconst App = () => {\n const { token } = useUser();\n\n if(!token){\n return (\n
\n
\n \n
\n
\n )\n }\n else{\n return ( \n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(App);\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter } from 'react-router-dom';\nimport App from './app/App';\nimport { UserContextProvider } from './app/Context/UserContext';\nimport * as serviceWorker from './serviceWorker';\nimport '../src/assets/styles/poderosa.css'\n\nReactDOM.render(\n \n \n \n \n \n,document.getElementById('root'));\n\nserviceWorker.unregister();","import React, { useState } from \"react\";\n\nexport const Context = React.createContext({});\n\nexport function UserContextProvider({ children }) {\n const [jwt, setJWT] = useState(() => window.localStorage.getItem(\"jwt\"));\n const [msalInstance, onMsalInstanceChange] = useState();\n\n const logoutHandler = () => {\n window.sessionStorage.clear();\n window.localStorage.clear()\n setJWT(null);\n //setAccess(null)\n window.localStorage.removeItem(\"jwt\");\n window.localStorage.removeItem(\"Access\");\n //sessionStorage.clear();\n //msalInstance.logout();\n \n\n };\n const value = { jwt, setJWT, onMsalInstanceChange, logoutHandler };\n\n return {children};\n}\n\nexport default Context;\n","import axios from \"axios\";\n\nconst instance = axios.create({\n baseURL: \"https://ingenioback.idslatam.com/Idea\",\n //baseURL: \"https://ingeniobackqas.idslatam.com/Idea\",\n //DEMO - Pan America\n // baseURL: \"https://ingeniodemoback.idslatam.com/Idea\",\n//baseURL: \"https://localhost:5001/\",\n //baseURL: \"https://ingenioqas-poderosa.idslatam.com/Idea\",\n});\n\nvar token = window.localStorage.getItem(\"jwt\");\n\ninstance.defaults.headers.common[\"Authorization\"] = `Bearer ${token}`;\n\nexport default instance;\n","import { useCallback, useContext, useEffect, useState } from \"react\";\nimport Context from \"../Context/UserContext\";\nimport loginService from \"../services/Identity.API/ServiceLogin\";\nimport { isExpired } from \"react-jwt\";\nimport { CLAIM_CODCUSTOMER, CLAIM_PERSONA_ID, CLAIM_ROLE, getAccessLocalStorage, keyAccess, validateRole } from \"../Utils/RoleHelper\";\n\nexport default function useUser() {\n const { jwt, setJWT, onMsalInstanceChange } = useContext(Context);\n const [state, setState] = useState({ loadind: false, error: false });\n\n const [access, setAccess] = useState(getAccessLocalStorage);\n\n /* useEffect(() => {\n if (access) {\n localStorage.setItem(\"Access\", JSON.stringify(access));\n console.log(\"access\",access)\n } else {\n localStorage.removeItem(\"Access\");\n console.log(\"adfsdfds\")\n }\n}, [access]); */\n\n /* useEffect(() => {\n if (jwt) {\n //localStorage.setItem(keyJwt, `\"${token}\"`);\n let t = JSON.parse(atob(jwt.split(\".\")[1]));\n setAccess({\n ...access,\n personaId: t[CLAIM_PERSONA_ID],\n role: validateRole(t[CLAIM_ROLE]),\n codCustom: t[CLAIM_CODCUSTOMER],\n });\n } else {\n localStorage.removeItem(jwt);\n }\n }, [jwt]); */\n\n const login = useCallback(\n (modelLogin) => {\n setState({ loading: true, error: false });\n loginService\n .login(modelLogin)\n .then((response) => {\n if (response.status === 200) {\n let token = response.data.accessToken;\n if (token === \"undefined\" || token === undefined) {\n window.location.href = \"/login\";\n window.localStorage.removeItem(\"jwt\");\n window.localStorage.removeItem(\"username\");\n } else {\n setJWT(token);\n let t = JSON.parse(atob(token.split(\".\")[1]));\n console.log(\"t\", t)\n let obj =\n {\n personaId: t[CLAIM_PERSONA_ID],\n role: validateRole(t[CLAIM_ROLE]),\n codCustom: t[CLAIM_CODCUSTOMER],\n }\n setAccess(obj);\n console.log(\"access\", access)\n window.localStorage.setItem(\"jwt\", token);\n window.localStorage.setItem(keyAccess , JSON.stringify(obj) );\n setState({ loading: false, error: false });\n window.location.href = \"/cuadrodemando\";\n }\n }\n })\n .catch((err) => {\n setState({ loading: false, error: true });\n console.error(\"error\", err);\n });\n },\n [jwt, setJWT]\n );\n const loginMicrosoft = useCallback(\n (modelLogin, msal) => {\n let isMounted = true;\n setState({ loading: true, error: false });\n onMsalInstanceChange(msal);\n loginService\n .loginMicrosoft(modelLogin)\n .then((response) => {\n if (!isMounted) return; \n if (response.status === 200) {\n let token = response.data.accessToken;\n console.log(\"token\", token)\n if (token === \"undefined\" || token === undefined) {\n window.location.href = \"/login\";\n window.localStorage.removeItem(\"jwt\");\n window.localStorage.removeItem(\"username\");\n } else {\n setJWT(token);\n let t = JSON.parse(atob(token.split(\".\")[1]));\n //console.log(\"access\", t)\n window.localStorage.setItem(\"jwt\", token);\n let obj =\n {\n personaId: t[CLAIM_PERSONA_ID],\n role: validateRole(t[CLAIM_ROLE]),\n codCustom: t[CLAIM_CODCUSTOMER],\n }\n window.localStorage.setItem(keyAccess , JSON.stringify(obj) );\n //console.log(\"obj\", obj)\n setAccess(obj);\n //window.localStorage.setItem(\"Access\", access);\n setState({ loading: false, error: false });\n window.location.href = \"/cuadrodemando\";\n //console.log(\"lllll\")\n }\n //console.log(\"first\")\n }\n })\n .catch((err) => {\n setState({ loading: false, error: true });\n console.error(\"error\", err);\n });\n },\n [jwt, setJWT]\n );\n\n const logout = useCallback(() => {\n setJWT(null);\n setAccess(null)\n window.localStorage.removeItem(\"jwt\");\n // console.log(keyAccess)\n window.localStorage.removeItem(\"Access\");\n sessionStorage.clear();\n \n }, [jwt, setJWT, access, setAccess]);\n\n\n\n\n\n const expiredToken = useCallback(() => {\n let isExp = isExpired(jwt);\n if (isExp === true) {\n window.localStorage.removeItem(\"jwt\");\n window.localStorage.removeItem(keyAccess);\n\n window.location.reload();\n }\n });\n\n const getToken = () => {\n let c = localStorage.getItem(\"jwt\");\n //si la clave JWT no existe devuelve null\n if (c && c !== \"\") {\n return c.substring(1, c.length - 1);\n }\n return null;\n };\n\n const getInfoToken = (key) => {\n let s = getToken();\n if (s) {\n let t = JSON.parse(Buffer.from(s.split(\".\")[1], \"base64\").toString());\n return t[key];\n }\n return null;\n };\n\n return {\n token: jwt,\n isLoginLoading: state.loading,\n hasLoginError: state.error,\n login,\n logout,\n expiredToken,\n loginMicrosoft,\n getInfoToken,\n };\n}\n","import axios from \"axios\";\n\nconst instance = axios.create({\nbaseURL: \"https://ingenioback.idslatam.com/Identity\",\n //baseURL: \"https://ingeniobackqas.idslatam.com/Identity\",\n//baseURL: \"https://localhost:21499/\",\n //baseURL: \"https://ingenioqas-poderosa.idslatam.com/Identity\",\n});\n\nvar token = window.localStorage.getItem(\"jwt\");\n\ninstance.defaults.headers.common[\"Authorization\"] = `Bearer ${token}`;\n\nexport default instance;\n","//import axios from \"axios\";\nimport settingHTTP from \"./settings\";\n\nconst serviceLogin = {\n async login(data) {\n return await settingHTTP.post(\"/Identity/authentication\", data);\n },\n\n async loginMicrosoft(data) {\n return await settingHTTP.post(\"/Identity/login/microsoft\", data);\n },\n};\nexport default serviceLogin;\n","import settingHTTP from \"./settingHTTP\";\n\nconst Dashboard = {\n \n async getDashboardIdea() {\n try {\n const res = await settingHTTP.get(\"/Idea/CuadroMandoUsuario\");\n if(res.status===200){\n return res.data;\n } \n } catch (e) {\n //window.location.href = \"/error-pages/error-500\";\n if(e.request.status === 404){\n alert(\"error 404\")\n }\n else{\n //alert(\"Error de Servidor, recargar página\")\n }\n //return e;\n }\n },\n async getIdeaRecientes(data) {\n try {\n const res = await settingHTTP.post(\"/Idea/Todo\",data);\n if(res.status===200){\n return res.data;\n } \n } catch (e) {\n //window.location.href = \"/error-pages/error-500\";\n if(e.request.status === 404){\n alert(\"error 404\")\n }\n else{\n //alert(\"Error de Servidor, recargar página\")\n }\n //return e;\n }\n },\n async getPerfil() {\n try {\n const res = await settingHTTP.get(\"/Persona/Perfil\");\n if(res.status===200){\n return res.data;\n } \n \n } catch (e) {\n //window.location.href = \"/error-pages/error-500\";\n if(e.request.status=== 404){\n alert(\"error 404\")\n }\n else{\n //alert(\"Error de Servidor, recargar página\")\n }\n //return e;\n }\n },\n async createPerfil(data) {\n try {\n const res = await settingHTTP.put(\"/Persona\", data);\n return res;\n } catch (e) {\n console.error(\"Error al crear\", e.message);\n return e;\n }\n },\n \n};\n\nexport default Dashboard;\n","import useUser from \"../Hooks/useUser\";\n\n\n//const RolHelper = () => {\n const CLAIM_CODCUSTOMER = 'CodigoCustomer';\n const CLAIM_USUARIO_ID = 'Bandicoot';\n const CLAIM_PERSONA_ID = 'Falcon';\n const CLAIM_CUSTOMER_ID = \"beta\";\n const CLAIM_CUENTA_ID = \"alfa\";\n export const keyAccess = \"Access\";\n const CLAIM_ROLE = \"http://schemas.microsoft.com/ws/2008/06/identity/claims/role\"\n\n const CLAIM_ROLE_ADMIN = \"Admin\"\n const CLAIM_ROLE_INNOVACION = \"Innovacion\"\n\n const getInfoToken= (token, tipoDato) => {\n if(!token){\n return \"\";\n }\n let t = JSON.parse(atob(token.split(\".\")[1]));\n let codigo = t[tipoDato];\n return codigo;\n };\n\n const getAccessLocalStorage = () => {\n let c = localStorage.getItem(keyAccess);\n if (c) {\n //console.log(\"c\", c)\n return JSON.parse(c);\n }\n \n return null;\n };\n\n const validateRole = (claim) => {\n if (Array.isArray(claim)) {\n return claim;\n } else {\n if (typeof claim == \"undefined\" || claim == null) {\n return [];\n } else {\n let r = [claim];\n \n return r;\n }\n }\n };\n\n export {\n \n \n /* CLAIMS */\n \n CLAIM_CODCUSTOMER,\n CLAIM_PERSONA_ID,\n CLAIM_USUARIO_ID,\n CLAIM_CUSTOMER_ID,\n CLAIM_CUENTA_ID,\n CLAIM_ROLE,\n \n /* Validar Role */\n getInfoToken,\n getAccessLocalStorage,\n validateRole,\n\n CLAIM_ROLE_ADMIN,\n CLAIM_ROLE_INNOVACION\n \n /* Verificar si puede ver todo */\n /* isRoleAccessAll,\n roleAdmin, ROLE_USREXT, ROLE_AMDINCONT,ROLE_SAFETY */\n };\n\n","module.exports = __webpack_public_path__ + \"static/media/perfil_prueba.b188c680.jpg\";"],"sourceRoot":""}