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AMC,EAAWrC,2BAA4BC,EAAAA,GAA5B,WAAkD+B,GAI7DM,SAFepC,IAAAA,IAAU,sCAEbK,KAAKgC,IAAM,WAEvBrC,IAAAA,KAAWmC,EAAU,CACvBZ,SACAe,QAAUC,IAAAA,KACVf,YACAC,WACAe,GAAKJ,EACLR,gBACAC,UAEJ,CACIY,QAAS,CACL,eAAgB,qBAQ3B,CAHA,MAAMC,GACH9K,QAAQC,IAAI,8BACZD,QAAQC,IAAI6K,EACf,CACJ,CAIM,MAAMX,EAA6B,CACtCG,WAAmB,kBACnBD,iBAAmB,oBACnBU,MAAmB,iBACnBX,OAAmB,kB","sources":["Layout/AppLogo/index.js","Layout/AppMobileMenu/index.js","Layout/AppNav/NavItems.js","Layout/AppNav/VerticalNavWrapperv2.js","Layout/AppSidebar/AppSidebarv2.js","Layout/AppHeader/AppHeaderv2.js","Pages/PublicPage/PublicLayout.js","Pages/PublicPage/SubComponents/SystemVersion.js","services/LogService.js"],"sourcesContent":["import React, { Fragment } from \"react\";\r\nimport { connect } from \"react-redux\";\r\n\r\nimport { Slider } from \"react-burgers\";\r\n\r\nimport AppMobileMenu from \"../AppMobileMenu\";\r\n\r\nimport logo from \"../../assets/utils/images/logo-eproeri-1.png\";\r\n\r\nimport {\r\n setEnableClosedSidebar,\r\n setEnableMobileMenu,\r\n setEnableMobileMenuSmall,\r\n setEnableBackgroundImage,\r\n} from \"../../reducers/ThemeOptions\";\r\nimport SystemVersion from \"../../Pages/PublicPage/SubComponents/SystemVersion\";\r\n\r\nclass HeaderLogo extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n active: false,\r\n mobile: false,\r\n activeSecondaryMenuMobile: false,\r\n };\r\n }\r\n\r\n toggleEnableClosedSidebar = () => {\r\n let { enableClosedSidebar, setEnableClosedSidebar,enableBackgroundImage, setEnableBackgroundImage } = this.props;\r\n setEnableClosedSidebar(!enableClosedSidebar);\r\n console.log(enableBackgroundImage)\r\n setEnableBackgroundImage(!enableBackgroundImage);\r\n console.log('cierre...')\r\n };\r\n\r\n state = {\r\n openLeft: false,\r\n openRight: false,\r\n relativeWidth: false,\r\n width: 280,\r\n noTouchOpen: false,\r\n noTouchClose: false,\r\n };\r\n\r\n render() {\r\n return (\r\n \r\n
\r\n \r\n
\r\n
\r\n this.setState({ active: !this.state.active })}/>\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n enableClosedSidebar: state.ThemeOptions.enableClosedSidebar,\r\n enableBackgroundImage: state.ThemeOptions.enableBackgroundImage,\r\n enableMobileMenu: state.ThemeOptions.enableMobileMenu,\r\n enableMobileMenuSmall: state.ThemeOptions.enableMobileMenuSmall,\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => ({\r\n setEnableClosedSidebar: (enable) => dispatch(setEnableClosedSidebar(enable)),\r\n setEnableBackgroundImage: enable => dispatch(setEnableBackgroundImage(enable)),\r\n setEnableMobileMenu: (enable) => dispatch(setEnableMobileMenu(enable)),\r\n setEnableMobileMenuSmall: (enable) =>\r\n dispatch(setEnableMobileMenuSmall(enable)),\r\n});\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(HeaderLogo);\r\n","import React, { Fragment } from \"react\";\r\nimport { connect } from \"react-redux\";\r\n\r\nimport { Slider } from \"react-burgers\";\r\n\r\nimport cx from \"classnames\";\r\n\r\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\r\n\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\n\r\nimport { Button } from \"reactstrap\";\r\n\r\nimport {\r\n setEnableMobileMenu,\r\n setEnableMobileMenuSmall,\r\n} from \"../../reducers/ThemeOptions\";\r\n\r\nclass AppMobileMenu extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n active: false,\r\n mobile: false,\r\n activeSecondaryMenuMobile: false,\r\n };\r\n }\r\n\r\n toggleMobileSidebar = () => {\r\n let { enableMobileMenu, setEnableMobileMenu } = this.props;\r\n setEnableMobileMenu(!enableMobileMenu);\r\n };\r\n\r\n toggleMobileSmall = () => {\r\n let { enableMobileMenuSmall, setEnableMobileMenuSmall } = this.props;\r\n setEnableMobileMenuSmall(!enableMobileMenuSmall);\r\n };\r\n\r\n state = {\r\n openLeft: false,\r\n openRight: false,\r\n relativeWidth: false,\r\n width: 280,\r\n noTouchOpen: false,\r\n noTouchClose: false,\r\n };\r\n\r\n render() {\r\n return (\r\n \r\n
\r\n
\r\n this.setState({ active: !this.state.active })}/>\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n closedSmallerSidebar: state.ThemeOptions.closedSmallerSidebar,\r\n enableMobileMenu: state.ThemeOptions.enableMobileMenu,\r\n enableMobileMenuSmall: state.ThemeOptions.enableMobileMenuSmall,\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => ({\r\n setEnableMobileMenu: (enable) => dispatch(setEnableMobileMenu(enable)),\r\n setEnableMobileMenuSmall: (enable) =>\r\n dispatch(setEnableMobileMenuSmall(enable)),\r\n});\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(AppMobileMenu);\r\n","export const PublicMainNav = [\r\n // {\r\n // icon: \"lnr-apartment\",\r\n // label: \"eProeri\",\r\n // content: [\r\n // {\r\n // label: \"New\",\r\n // to: \"#/apps/addProcurement\",\r\n // },\r\n // {\r\n // label: \"Procurement event\",\r\n // to: \"#/apps/procurement\",\r\n // },\r\n // {\r\n // label: \"Principal\",\r\n // to: \"#/\",\r\n // },\r\n // {\r\n // label: \"Licitaciones\",\r\n // to: \"#/licitaciones\",\r\n // }, \r\n // ],\r\n // },\r\n {\r\n icon: \"pe-7s-home\",\r\n label: \"Principal\",\r\n to: \"#/\"\r\n },\r\n {\r\n icon: \"pe-7s-note2\",\r\n label: \"Procesos de licitación\",\r\n to: \"#/licitaciones\"\r\n },\r\n {\r\n icon: \" pe-7s-graph\",\r\n label: \"Tablero de Información\",\r\n to: \"#/tablero\"\r\n },\r\n /* {\r\n icon: \"pe-7s-date\",\r\n label: \"Calendario de actividades\",\r\n to: \"#/calendar\"\r\n }, */\r\n {\r\n icon: \"pe-7s-tools\",\r\n label: \"Soporte y Ayuda\",\r\n to: \"#/soporte\"\r\n }, \r\n /* {\r\n icon: \"pe-7s-rocket\",\r\n label: \"Help\",\r\n content: [\r\n {\r\n label: \"Soporte\",\r\n to: \"#/soporte\",\r\n },\r\n ],\r\n } */\r\n];\r\n\r\nexport const PrivateMainNav = [\r\n // {\r\n // icon: \"lnr-apartment\",\r\n // label: \"eProeri\",\r\n // content: [\r\n // {\r\n // label: \"Procurement event\",\r\n // to: \"#/apps/procurement\",\r\n // },\r\n // ],\r\n // },\r\n // {\r\n // icon: \"pe-7s-rocket\",\r\n // label: \"Help\",\r\n // content: [\r\n // {\r\n // label: \"Soporte\",\r\n // to: \"#/apps/Soporte\",\r\n // },\r\n // ],\r\n // },\r\n {\r\n icon: \" pe-7s-home\",\r\n label: \"Principal\",\r\n to: \"#/apps/principal\"\r\n },\r\n /* {\r\n icon: \"pe-7s-id\",\r\n label: \"Perfil proveedor\",\r\n to: \"#/dashboards/crm\"\r\n }, */\r\n {\r\n icon: \"pe-7s-note2\",\r\n label: \"Procesos de licitación\",\r\n to: \"#/apps/licitaciones\"\r\n },\r\n {\r\n icon: \"pe-7s-graph\",\r\n label: \"Tablero de Información\",\r\n to: \"#/apps/tablero\"\r\n },\r\n {\r\n icon: \"pe-7s-id\",\r\n label: \"Perfil proveedor\",\r\n to: \"#/apps/represent\"\r\n },\r\n {\r\n icon: \"pe-7s-cash\",\r\n label: \"Gestión Financiera\",\r\n content : [\r\n {\r\n icon: \"pe-7s-note2\",\r\n //label:
{\"Facturación\"} 
{1}
,\r\n label: \"Facturación\",\r\n to: \"#/apps/financialmanagement/invoices\"\r\n },\r\n /*{\r\n icon: \"pe-7s-copy-file\",\r\n label: \"Exoneraciones\",\r\n to: \"#/apps/financialmanagement/exonerations\"\r\n },*/\r\n ]\r\n }, \r\n {\r\n icon: \"pe-7s-tools\",\r\n label: \"Soporte y Ayuda\",\r\n to: \"#/apps/soporte\"\r\n }, \r\n];\r\n\r\nexport const ComponentsNav = [\r\n {\r\n icon: \"pe-7s-diamond\",\r\n label: \"Elements\",\r\n content: [\r\n {\r\n label: \"Buttons\",\r\n content: [\r\n {\r\n label: \"Standard\",\r\n to: \"#/elements/buttons-standard\",\r\n },\r\n {\r\n label: \"Pills\",\r\n to: \"#/elements/buttons-pills\",\r\n },\r\n {\r\n label: \"Square\",\r\n to: \"#/elements/buttons-square\",\r\n },\r\n {\r\n label: \"Shadow\",\r\n to: \"#/elements/buttons-shadow\",\r\n },\r\n {\r\n label: \"With Icons\",\r\n to: \"#/elements/buttons-icons\",\r\n },\r\n ],\r\n },\r\n {\r\n label: \"Dropdowns\",\r\n to: \"#/elements/dropdowns\",\r\n },\r\n {\r\n label: \"Icons\",\r\n to: \"#/elements/icons\",\r\n },\r\n {\r\n label: \"Badges\",\r\n to: \"#/elements/badges-labels\",\r\n },\r\n {\r\n label: \"Cards\",\r\n to: \"#/elements/cards\",\r\n },\r\n {\r\n label: \"Loading Indicators\",\r\n to: \"#/elements/loaders\",\r\n },\r\n {\r\n label: \"List Groups\",\r\n to: \"#/elements/list-group\",\r\n },\r\n {\r\n label: \"Navigation Menus\",\r\n to: \"#/elements/navigation\",\r\n },\r\n {\r\n label: \"Timeline\",\r\n to: \"#/elements/timelines\",\r\n },\r\n {\r\n label: \"Utilities\",\r\n to: \"#/elements/utilities\",\r\n },\r\n {\r\n label: \"Visibility Sensor\",\r\n to: \"#/elements/visibility-sensor\",\r\n },\r\n ],\r\n },\r\n {\r\n icon: \"pe-7s-car\",\r\n label: \"Components\",\r\n content: [\r\n {\r\n label: \"Tabs\",\r\n to: \"#/components/tabs\",\r\n },\r\n {\r\n label: \"Accordions\",\r\n to: \"#/components/accordions\",\r\n },\r\n {\r\n label: \"Notifications\",\r\n to: \"#/components/notifications\",\r\n },\r\n {\r\n label: \"Modals\",\r\n to: \"#/components/modals\",\r\n },\r\n {\r\n label: \"Loading Blockers\",\r\n to: \"#/components/loading-blocks\",\r\n },\r\n {\r\n label: \"Progress Bar\",\r\n to: \"#/components/progress-bar\",\r\n },\r\n {\r\n label: \"Tooltips & Popovers\",\r\n to: \"#/components/tooltips-popovers\",\r\n },\r\n {\r\n label: \"Carousel\",\r\n to: \"#/components/carousel\",\r\n },\r\n {\r\n label: \"Calendar\",\r\n to: \"#/components/calendar\",\r\n },\r\n {\r\n label: \"Pagination\",\r\n to: \"#/components/pagination\",\r\n },\r\n {\r\n label: \"Count Up\",\r\n to: \"#/components/count-up\",\r\n },\r\n {\r\n label: \"Sticky Elements\",\r\n to: \"#/components/sticky-elements\",\r\n },\r\n {\r\n label: \"Scrollable\",\r\n to: \"#/components/scrollable-elements\",\r\n },\r\n {\r\n label: \"Maps\",\r\n to: \"#/components/maps\",\r\n },\r\n {\r\n label: \"Ratings\",\r\n to: \"#/components/ratings\",\r\n },\r\n {\r\n label: \"Image Crop\",\r\n to: \"#/components/image-crop\",\r\n },\r\n {\r\n label: \"Guided Tours\",\r\n to: \"#/components/guided-tours\",\r\n },\r\n ],\r\n },\r\n {\r\n icon: \"pe-7s-display2\",\r\n label: \"Tables\",\r\n content: [\r\n {\r\n label: \"Data Tables\",\r\n content: [\r\n {\r\n label: \"Basic\",\r\n to: \"#/tables/data-tables\",\r\n },\r\n {\r\n label: \"Fixed Header\",\r\n to: \"#/tables/datatables-fixed-header\",\r\n },\r\n {\r\n label: \"Selectable Rows\",\r\n to: \"#/tables/datatables-selectable-rows\",\r\n },\r\n ],\r\n },\r\n {\r\n label: \"Regular Tables\",\r\n to: \"#/tables/regular-tables\",\r\n },\r\n ],\r\n },\r\n];\r\n/*export const FormsNav = [\r\n {\r\n icon: \"pe-7s-light\",\r\n label: \"Elements\",\r\n content: [\r\n {\r\n label: \"Controls\",\r\n to: \"#/forms/controls\",\r\n },\r\n {\r\n label: \"Layouts\",\r\n to: \"#/forms/layouts\",\r\n },\r\n {\r\n label: \"Validation\",\r\n to: \"#/forms/validation\",\r\n },\r\n {\r\n label: \"Wizards\",\r\n content: [\r\n {\r\n label: \"Variation 1\",\r\n to: \"#/forms/wizard-1\",\r\n },\r\n {\r\n label: \"Variation 2\",\r\n to: \"#/forms/wizard-2\",\r\n },\r\n {\r\n label: \"Variation 3\",\r\n to: \"#/forms/wizard-3\",\r\n },\r\n ],\r\n },\r\n {\r\n label: \"Sticky Form Headers\",\r\n to: \"#/forms/sticky-headers\",\r\n },\r\n ],\r\n },\r\n {\r\n icon: \"pe-7s-joy\",\r\n label: \"Widgets\",\r\n content: [\r\n {\r\n label: \"Datepicker\",\r\n to: \"#/forms/datepicker\",\r\n },\r\n {\r\n label: \"Range Slider\",\r\n to: \"#/forms/range-slider\",\r\n },\r\n {\r\n label: \"Input Selects\",\r\n to: \"#/forms/input-selects\",\r\n },\r\n {\r\n label: \"Toggle Switch\",\r\n to: \"#/forms/toggle-switch\",\r\n },\r\n {\r\n label: \"Dropdowns\",\r\n to: \"#/forms/dropdown\",\r\n },\r\n {\r\n label: \"WYSIWYG Editor\",\r\n to: \"#/forms/wysiwyg-editor\",\r\n },\r\n {\r\n label: \"Input Mask\",\r\n to: \"#/forms/input-mask\",\r\n },\r\n {\r\n label: \"Typeahead\",\r\n to: \"#/forms/typeahead\",\r\n },\r\n {\r\n label: \"Clipboard\",\r\n to: \"#/forms/clipboard\",\r\n },\r\n {\r\n label: \"Textarea Autosize\",\r\n to: \"#/forms/textarea-autosize\",\r\n },\r\n {\r\n label: \"Number Spinners\",\r\n to: \"#/forms/numberspinners\",\r\n },\r\n {\r\n label: \"Color Picker\",\r\n to: \"#/forms/color-picker\",\r\n },\r\n {\r\n label: \"Dropzone\",\r\n to: \"#/forms/dropzone\",\r\n },\r\n ],\r\n },\r\n];*/\r\n/*export const WidgetsNav = [\r\n {\r\n icon: \"pe-7s-graph2\",\r\n label: \"Chart Boxes\",\r\n content: [\r\n {\r\n label: \"Variation 1\",\r\n to: \"#/widgets/chart-boxes\",\r\n },\r\n {\r\n label: \"Variation 2\",\r\n to: \"#/widgets/chart-boxes-2\",\r\n },\r\n {\r\n label: \"Variation 3\",\r\n to: \"#/widgets/chart-boxes-3\",\r\n },\r\n ],\r\n },\r\n {\r\n icon: \"pe-7s-id\",\r\n label: \"Profile Boxes\",\r\n to: \"#/widgets/profile-boxes\",\r\n },\r\n {\r\n icon: \"pe-7s-display1\",\r\n label: \"Content Boxes\",\r\n to: \"#/widgets/content-boxes\",\r\n },\r\n];*/\r\n/*export const ChartsNav = [\r\n {\r\n icon: \"pe-7s-graph2\",\r\n label: \"ChartJS\",\r\n to: \"#/charts/chartjs\",\r\n },\r\n {\r\n icon: \"pe-7s-graph\",\r\n label: \"Apex Charts\",\r\n to: \"#/charts/apexcharts\",\r\n },\r\n {\r\n icon: \"pe-7s-gleam\",\r\n label: \"Gauges\",\r\n to: \"#/charts/gauges\",\r\n },\r\n {\r\n icon: \"pe-7s-graph1\",\r\n label: \"Chart Sparklines 1\",\r\n to: \"#/charts/sparklines-1\",\r\n },\r\n {\r\n icon: \"pe-7s-edit\",\r\n label: \"Chart Sparklines 2\",\r\n to: \"#/charts/sparklines-2\",\r\n },\r\n];*/\r\n\r\n","import React, { Component, Fragment } from \"react\";\r\nimport { withRouter, Link} from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport MetisMenu from \"react-metismenu\";\r\nimport { setEnableMobileMenu } from \"../../reducers/ThemeOptions\";\r\n\r\n\r\nimport { withTranslation, WithTranslation } from 'react-i18next';\r\n\r\n\r\nclass Nav extends Component {\r\n state = {};\r\n\r\n toggleMobileSidebar = () => {\r\n let { enableMobileMenu, setEnableMobileMenu } = this.props;\r\n setEnableMobileMenu(!enableMobileMenu);\r\n };\r\n\r\n EnviarASearch(urlEnvio){\r\n //console.log('llego...');\r\n this.props.history.push({\r\n pathname: '/apps/ContentCrud',\r\n })\r\n}\r\n\r\n render() {\r\n let listaMenu=[];\r\n let listaMenu2=[];\r\n \r\n if(this.props.auth.selectOficina>0){\r\n \r\n const indiceM = this.props.auth.selectOficina;\r\n const objMenu = this.props.auth.user.myAccess.find(element => element.idOficina == indiceM);\r\n //console.log(objMenu)\r\n if(objMenu)\r\n {\r\n listaMenu = objMenu.listaMenu;\r\n \r\n if(listaMenu.length >1)\r\n {\r\n listaMenu2 = listaMenu[0].listaModulos;\r\n let ListaML = listaMenu2.map(item => {\r\n return {\r\n ...item,\r\n label: this.props.t(item.label)\r\n }\r\n })\r\n listaMenu[0].listaModulos = ListaML;\r\n\r\n\r\n listaMenu2 = listaMenu[1].listaModulos;\r\n ListaML = listaMenu2.map(item => {\r\n return {\r\n ...item,\r\n label: this.props.t(item.label)\r\n }\r\n })\r\n listaMenu[1].listaModulos = ListaML;\r\n }\r\n else\r\n {\r\n listaMenu2 = listaMenu[0].listaModulos;\r\n const ListaML = listaMenu2.map(item => {\r\n return {\r\n ...item,\r\n label: this.props.t(item.label)\r\n }\r\n })\r\n listaMenu[0].listaModulos = ListaML;\r\n\r\n }\r\n }\r\n }\r\n\r\n //console.log(listaMenu)\r\n return (\r\n \r\n\r\n {/*listaMenu.map((option, index) => (\r\n
\r\n
{option.titleArea}
\r\n \r\n
\r\n ))*/}\r\n {/*}
{\"Soporte\"}
{*/}\r\n
\r\n \r\n\r\n
\r\n );\r\n }\r\n\r\n isPathActive(path) {\r\n return this.props.location.pathname.startsWith(path);\r\n }\r\n}\r\nconst mapStateToProps = (state) => ({\r\n enableMobileMenu: state.ThemeOptions.enableMobileMenu,\r\n auth: state.auth,\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => ({\r\n setEnableMobileMenu: (enable) => dispatch(setEnableMobileMenu(enable)),\r\n});\r\nexport default withTranslation()(connect(mapStateToProps, mapDispatchToProps)(withRouter(Nav)));\r\n","import React, { Component, Fragment } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport cx from \"classnames\";\r\n\r\nimport Nav from \"../AppNav/VerticalNavWrapperv2\";\r\n\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\n\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport HeaderLogo from \"../AppLogo\";\r\n\r\nimport { setEnableMobileMenu , setBackgroundImage, setBackgroundImageOpacity,setEnableBackgroundImage} from \"../../reducers/ThemeOptions\";\r\nimport sideBar1 from '../../assets/utils/images/sidebar/UNOPS_25_RGB_web.png';\r\nimport logo from \"../../assets/utils/images/logo-eproeri-1.png\";\r\n\r\n\r\n\r\n\r\nclass AppSidebar extends Component {\r\n state = {\r\n items: [\r\n { id: 1, text: 'Buy eggs' },\r\n ]\r\n };\r\n\r\n toggleMobileSidebar = () => {\r\n let { enableMobileMenu, setEnableMobileMenu } = this.props;\r\n setEnableMobileMenu(!enableMobileMenu);\r\n };\r\n\r\n componentDidMount() {\r\n setBackgroundImage(sideBar1);\r\n setEnableBackgroundImage(true);\r\n }\r\n\r\n\r\n render() {\r\n let {\r\n backgroundColor,\r\n enableBackgroundImage,\r\n enableSidebarShadow,\r\n backgroundImage,\r\n backgroundImageOpacity,\r\n } = this.props;\r\n\r\n \r\n return (\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \"react\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n enableBackgroundImage: state.ThemeOptions.enableBackgroundImage,\r\n enableSidebarShadow: state.ThemeOptions.enableSidebarShadow,\r\n enableMobileMenu: state.ThemeOptions.enableMobileMenu,\r\n backgroundColor: state.ThemeOptions.backgroundColor,\r\n backgroundImage: state.ThemeOptions.backgroundImage,\r\n backgroundImageOpacity: state.ThemeOptions.backgroundImageOpacity,\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => ({\r\n setEnableMobileMenu: (enable) => dispatch(setEnableMobileMenu(enable)),\r\n setBackgroundImage: image => dispatch(setBackgroundImage(image)),\r\n setEnableBackgroundImage: enable => dispatch(setEnableBackgroundImage(enable)),\r\n});\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(AppSidebar);","import React, { Fragment } from \"react\";\r\nimport cx from \"classnames\";\r\n\r\nimport { connect } from \"react-redux\";\r\n\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\n\r\nimport logo from \"../../assets/utils/images/logo-eproeri-1.png\";\r\n\r\nimport AppMobileMenu from \"../AppMobileMenu\";\r\n\r\nimport {\r\n setEnableClosedSidebar,\r\n setEnableMobileMenu,\r\n setEnableMobileMenuSmall,\r\n setEnableBackgroundImage,\r\n} from \"../../reducers/ThemeOptions\";\r\n\r\nimport { Slider } from \"react-burgers\";\r\nimport SystemVersion from \"../../Pages/PublicPage/SubComponents/SystemVersion\";\r\n\r\nclass Header extends React.Component {\r\n\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n active: false,\r\n mobile: false,\r\n activeSecondaryMenuMobile: false,\r\n };\r\n }\r\n\r\n toggleEnableClosedSidebar = () => {\r\n let { enableClosedSidebar, setEnableClosedSidebar, enableBackgroundImage, setEnableBackgroundImage } = this.props;\r\n setEnableClosedSidebar(!enableClosedSidebar);\r\n };\r\n\r\n\r\n\r\n render() {\r\n let {\r\n headerBackgroundColor,\r\n enableMobileMenuSmall,\r\n enableHeaderShadow,\r\n } = this.props;\r\n return (\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n this.setState({ active: !this.state.active })}/>\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n {this.props.children}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n enableHeaderShadow: state.ThemeOptions.enableHeaderShadow,\r\n enableClosedSidebar: state.ThemeOptions.enableClosedSidebar,\r\n closedSmallerSidebar: state.ThemeOptions.closedSmallerSidebar,\r\n headerBackgroundColor: state.ThemeOptions.headerBackgroundColor,\r\n enableMobileMenuSmall: state.ThemeOptions.enableMobileMenuSmall,\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => ({\r\n setEnableClosedSidebar: (enable) => dispatch(setEnableClosedSidebar(enable)),\r\n setEnableBackgroundImage: enable => dispatch(setEnableBackgroundImage(enable)),\r\n setEnableMobileMenu: (enable) => dispatch(setEnableMobileMenu(enable)),\r\n setEnableMobileMenuSmall: (enable) =>\r\n dispatch(setEnableMobileMenuSmall(enable)),\r\n});\r\n\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Header);\r\n","import React, { Component, Fragment } from \"react\";\r\nimport { withRouter, Link } from \"react-router-dom\";\r\nimport cx from \"classnames\";\r\nimport ResizeDetector from \"react-resize-detector\";\r\n\r\n\r\nimport AppSidebar from \"../../Layout/AppSidebar/AppSidebarv2\";\r\nimport AppHeader from \"../../Layout/AppHeader/AppHeaderv2\";\r\n\r\n\r\nimport { PublicMainNav } from \"../../Layout/AppNav/NavItems\";\r\nimport { connect } from \"react-redux\";\r\nimport RegisterView from \"../Account/RegisterView\";\r\nimport { Button } from \"reactstrap\";\r\n\r\n\r\nclass PublicLayout extends Component {\r\n\r\n constructor(props) {\r\n super(props); \r\n this.state = { \r\n showModal : false, \r\n }; \r\n\r\n this.toggle = this.toggle.bind(this);\r\n this.goToLogin = this.goToLogin.bind(this);\r\n \r\n }\r\n\r\n toggle(){\r\n this.setState({\r\n showModal : !this.state.showModal\r\n })\r\n }\r\n\r\n goToLogin(){\r\n this.props.history.push('/login');\r\n }\r\n\r\n render (){\r\n\r\n let {\r\n colorScheme,\r\n enableFixedHeader,\r\n enableFixedSidebar,\r\n enableFixedFooter,\r\n enableClosedSidebar,\r\n closedSmallerSidebar,\r\n enableMobileMenu,\r\n enablePageTabsAlt,\r\n } = this.props;\r\n\r\n return (\r\n\r\n (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {this.props.children}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n )}\r\n />\r\n );\r\n } \r\n}\r\n\r\nconst mapStateToProp = (state) => ({\r\n colorScheme: state.ThemeOptions.colorScheme,\r\n enableFixedHeader: state.ThemeOptions.enableFixedHeader,\r\n enableMobileMenu: state.ThemeOptions.enableMobileMenu,\r\n enableFixedFooter: state.ThemeOptions.enableFixedFooter,\r\n enableFixedSidebar: state.ThemeOptions.enableFixedSidebar,\r\n enableClosedSidebar: state.ThemeOptions.enableClosedSidebar,\r\n enablePageTabsAlt: state.ThemeOptions.enablePageTabsAlt,\r\n auth: state.auth,\r\n });\r\n\r\nexport default withRouter(connect(mapStateToProp)(PublicLayout));\r\n","import axios from 'axios';\r\nimport React, { Component, Fragment } from 'react';\r\n\r\nimport { Col, Row, Modal, ModalHeader, ModalBody, Table } from 'reactstrap';\r\n\r\nimport config from '../../../config.json';\r\n\r\n\r\n\r\n\r\nclass SystemVersion extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n showModal : false,\r\n lastVersion : '',\r\n list : []\r\n };\r\n }\r\n\r\n componentDidMount(){\r\n const versionsEndpoint = process.env.REACT_APP_API + config.API_EXTERNAL_DASHBOARD + '/systemVersions?system=External';\r\n axios.get(versionsEndpoint)\r\n .then(resp=>{\r\n if(Array.isArray(resp.data)){\r\n const last = resp.data[0];\r\n this.setState({list : resp.data, lastVersion : last.version});\r\n }\r\n })\r\n }\r\n\r\n\r\n\r\n\r\n render() {\r\n \r\n\r\n return (\r\n \r\n this.setState({showModal : true})} style={{marginLeft: 15, cursor: 'pointer', fontWeight: 'bold', color: '#1794cf'}}>\r\n Versión: {this.state.lastVersion} {\" \"} \r\n \r\n this.setState({showModal : !this.state.showModal})}>\r\n this.setState({showModal : !this.state.showModal})}>Historial\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.list.map(v=>{\r\n\r\n return \r\n \r\n \r\n \r\n \r\n \r\n \r\n })\r\n }\r\n \r\n
VersiónFecha de PublicaciónDescripción GeneralFuncionalidades PrincipalesCorreción de errores
{v.version}{new Date(v.publicationDate).toLocaleDateString()}{v.description}{v.mainFunctionsDescription.split('-').map(item=>{\r\n if(item)return

- {item}

\r\n else return null\r\n })\r\n }
{v.bugFixesDescription}
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SystemVersion;","import platform from \"platform\";\r\nimport axios from \"axios\";\r\nimport config from \"../config.json\";\r\n\r\nexport async function InsertLog(\r\n UserId=null,\r\n SourceUrl, \r\n PageName, \r\n Authenticated = false,\r\n IsLogoutAction = false,\r\n ProcurementId = null,\r\n Action = null\r\n ){\r\n\r\n try{\r\n\r\n let controlerRoute; \r\n\r\n if(!IsLogoutAction){\r\n controlerRoute = Authenticated ? LogRouteAccordingToLogType.NavigationLogged : LogRouteAccordingToLogType.Navigation \r\n }else{\r\n controlerRoute = LogRouteAccordingToLogType.LogOut;\r\n }\r\n\r\n \r\n const finalUrl = process.env.REACT_APP_API + config.API_LOGS + `/${controlerRoute}`;\r\n\r\n const respIp = await axios.get('https://api.ipify.org?format=json');\r\n\r\n const IP = respIp.data.ip || null;\r\n\r\n await axios.post(finalUrl, {\r\n UserId,\r\n Browser : platform.name,\r\n SourceUrl,\r\n PageName,\r\n Ip : IP, \r\n ProcurementId,\r\n Action\r\n },\r\n {\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n }\r\n }\r\n ) \r\n\r\n }catch(e){\r\n console.log(\"Navigation Register Error:\");\r\n console.log(e);\r\n }\r\n}\r\n\r\n\r\n\r\nexport const LogRouteAccordingToLogType = {\r\n Navigation : \"insertLogPublic\",\r\n NavigationLogged : \"insertLogWithUser\",\r\n LogIn : \"insertLogLogIn\",\r\n LogOut : \"insertLogLogOut\"\r\n}\r\n\r\n"],"names":["HeaderLogo","React","constructor","props","super","toggleEnableClosedSidebar","enableClosedSidebar","setEnableClosedSidebar","enableBackgroundImage","setEnableBackgroundImage","this","console","log","state","openLeft","openRight","relativeWidth","width","noTouchOpen","noTouchClose","active","mobile","activeSecondaryMenuMobile","render","Fragment","className","src","logo","style","height","onClick","Slider","lineHeight","lineSpacing","color","setState","connect","ThemeOptions","enableMobileMenu","enableMobileMenuSmall","dispatch","enable","setEnableMobileMenu","setEnableMobileMenuSmall","AppMobileMenu","toggleMobileSidebar","toggleMobileSmall","size","cx","icon","faEllipsisV","closedSmallerSidebar","PublicMainNav","label","to","PrivateMainNav","content","Nav","Component","EnviarASearch","urlEnvio","history","push","pathname","listaMenu","listaMenu2","auth","selectOficina","indiceM","objMenu","user","myAccess","find","element","idOficina","length","listaModulos","ListaML","map","item","t","MainNav","onSelected","activeLinkFromLocation","iconNamePrefix","classNameStateIcon","isPathActive","path","location","startsWith","withTranslation","withRouter","AppSidebar","items","id","text","componentDidMount","setBackgroundImage","sideBar1","backgroundColor","enableSidebarShadow","backgroundImage","backgroundImageOpacity","TransitionGroup","CSSTransition","component","transitionName","transitionAppear","transitionAppearTimeout","transitionEnter","transitionLeave","bottom","position","alt","image","Header","headerBackgroundColor","enableHeaderShadow","appear","timeout","enter","exit","SystemVersion","children","PublicLayout","showModal","toggle","bind","goToLogin","colorScheme","enableFixedHeader","enableFixedSidebar","enableFixedFooter","enablePageTabsAlt","handleWidth","background","marginRight","RegisterView","lastVersion","list","versionsEndpoint","process","config","axios","then","resp","Array","isArray","data","last","version","marginLeft","cursor","fontWeight","isOpen","bordered","v","Date","publicationDate","toLocaleDateString","description","mainFunctionsDescription","split","bugFixesDescription","async","InsertLog","UserId","SourceUrl","PageName","Authenticated","IsLogoutAction","ProcurementId","Action","controlerRoute","LogRouteAccordingToLogType","LogOut","NavigationLogged","Navigation","finalUrl","IP","ip","Browser","platform","Ip","headers","e","LogIn"],"sourceRoot":""}