{"version":3,"sources":["pages/seguridad/permisos.js","pages/seguridad/bloqueos.js"],"names":["Auth","AuthService","movil","test","navigator","userAgent","movil_pequeño","ip","globales","isVisibleRowSelected","colorRowSelected","colores","tabla","selection","alternateColorRow1","alternateColorRow2","getRowId","row","ID_PERMISO","getRowId_padre","styles","theme","Dialog","borderRadius","margin","padding","select","spacing","minWidth","select2","paddingRight","expand","width","border","backgroundColor","expand2","expanded","minHeight","expanded__root","expandIcon","variant","backdrop","zIndex","color","flexDirection","currentNombre","currentDescripcion","currentInstancia","currentSecuencia","columns","name","title","columns2","defaultHiddenColumnNames","defaultHiddenColumnNames2","tableColumnExtensions","columnName","wordWrapEnabled","window","innerWidth","align","tableColumnExtensions2","withStyles","React","Component","constructor","props","super","tablaRef","createRef","nombreRef","descripcionRef","secuenciaRef","instanciaRef","soloNumeros","ref","ev","current","value","length","keyCode","isNaN","parseInt","key","preventDefault","changeExpandedGroups","expandedGroups","this","setState","handleChange_expand","panel","event","newExpanded","modulo","state","selection_modulo","Request","get","set","getToken","retry","timeout","response","deadline","end","err","res","toString","substr","location","reload","tmp","JSON","parse","text","rows2","funciones","showToast","cerrarmodal","open_agregar","open_modificar","open_eliminar","nom_permiso_padre","selection_icono","selection_principal","selection_padre","instanciaoriginal","secuenciaoriginal","abrirmodal_agregar","abrirmodal_modificar","reporte","id_permiso","confirma_bool","nom_permiso_padre_original","confirma_valor","id_permiso_padre_original","id_permiso_padre","abrirmodal_eliminar","nombre","descripcion","Doubleclickselection_padre","cancelar_padre","handleChangeSelect_icono","target","handleChangeSelect_modulo","changeFilters","filters","handleChangeCheckbox","checked","guardar_agregar","trim","openBackDrop","post","send","ID_MODULO","NOMBRE","DESCRIPCION","ID_ICONO","INSTANCIA","ID_PERMISO_PADRE","SECUENCIA","REPORTE","USUARIO","getProfile","user","TIPO","consulta_permisos","ex","guardar_modificar","quitarpermisopadre","eliminar","seleccionar_padre","async","permiso","undefined","localStorage","getItem","l","e","i","actualizarbarra","codigoRef","isLoggin","datos_iconos","datos_modulos","heightTableMain","isLoading","open_permisos","activos_lectura","instancia","secuencia","grouping","rows","filteringColumnExtensions","columnWidths","enabledFilterRows","TableRow","_ref","classes","highlighted","rowIndex","selectByRowClick","odd","r","tableRow","_jsx","Table","Row","onClick","clickselection","MODULO","ICONO","NOM_ICONO","PERMISO_PADRE","TIENE_ROL","style","cursor","TableRow_padre","_ref2","clickselection_padre","shouldComponentUpdate","nextProps","nextState","componentDidMount","_this","plataforma","getHeightTableMain","heightTable","Datos","map","datos","_jsxs","MenuItem","dense","children","Icono","syle","fontSize","icono","PLATAFORMA","valor","render","botones","toolt","escritura","onclick","display","naranja","botones_agregar","botones_modificar","botones_seleccionar","botones_eliminar","open","onClose","disableEnforceFocus","disableAutoFocus","fullWidth","maxWidth","paper","fullScreen","DialogContent","overflow","FormLabel","component","ExpansionPanel","marginTop","defaultExpanded","onChange","root","ExpansionPanelSummary","expanded_root","ExpandMoreIcon","id","ExpansionPanelDetails","FormControl","FormGroup","TextField","required","label","inputProps","marginLeft","marginRight","onKeyPress","Select","Label","Selected","Multiple","Style","ShowItemNone","LabelItemNone","ValueItemNone","AutoFocus","Outlined","shrink","FormControlLabel","labelPlacement","control","Checkbox","alignItems","Typography","IconButton","size","CustomTable","Columns","Rows","TableColumnExtensions","DefaultHiddenColumnNames","Selection","ChangeSelection","changeSelection_padre","height","Filters","onFiltersChange","ExpandedRowIds","expandedRowIds","RowComponent","standarPlugin","TableRowsIndexer","showSelectionColumn","BarraBotones","defaultValue","labelWidth","width_barra","background","bottom","Grouping","ExpandedGroups","ChangeExpandedGroups","changeSelection","logout","border_dialog","_defineProperty2","require","_interopRequireDefault","clone","obj","temp","currentnombre","currentdescripcion","currenttitulo","currentbt","currentct","currentbm","currentcm","currentpaginas","currentfuncion","currentmensaje","ID_BLOQUEOS_PAGINAS","getRowId_secuencia","switchBase","thumb","track","palette","grey","opacity","transition","transitions","create","Snackbar","paper_agregar","borderLeft","borderRight","borderBottom","borderTop","paper_dialog","paperWidthFalse","paperWidthXs","Math","max","breakpoints","values","xs","default","down","paperWidthSm","sm","paperWidthMd","md","paperWidthLg","lg","paperWidthXl","xl","defaultHiddenColumnNames_secuencia","tableColumnExtensions_secuencia","tituloRef","btRef","ctRef","bmRef","cmRef","paginasRef","funcionRef","mensajeRef","changeFilters_secuencia","filters_secuencia","selection_plataforma","abrirmodal_vp","open_vp","mensaje","titulooriginal","TITULO","nombreoriginal","descripcionoriginal","defaultbmoriginal","DEFAULT_BM","defaultcmoriginal","DEFAULT_CM","defaultbtoriginal","DEFAULT_BT","defaultctoriginal","DEFAULT_CT","bmoriginal","BACKGROUND_MENSAJE","cmoriginal","COLOR_MENSAJE","btoriginal","BACKGROUND_TITULO","ctoriginal","COLOR_TITULO","alineacionoriginal","ID_ALINEACION","plataformaoriginal","ID_PLATAFORMA","paginasoriginal","PAGINAS","funcionoriginal","NOM_FUNCION","replace","estadooriginal","ID_ESTADO","mensajeoriginal","MENSAJE","maxwidthoriginal","MAX_WIDTH","bloquear","BLOQUEAR","max_width_mensaje","defaultbm","defaultbt","defaultcm","defaultct","rows_secuencia","open_secuencia","open_mensaje","selection_alineacion","selection_estado","onEntering","titulo_mensaje","alineacion_mensaje","NOM_ALINEACION","background_mensaje","background_titulo_mensaje","azul","color_titulo_mensaje","color_mesaje","onEntering_agregar","cerrarmodal_vp","cerrarmodal_mensaje","Changemaxwidth","value_maxwidth","ChangeCheckbox_defaultbt","bt","ChangeCheckbox_defaultct","ct","ChangeCheckbox_defaultbm","bm","ChangeCheckbox_defaultcm","cm","ChangeCheckbox_bloquear","ChangeSelect_alineaciones","nom","index","alineaciones","element","selection_nom_alineacion","ChangeSelect_plataformas","filas","sort","a","b","filter","busqueda","rows_secuencia_original","ChangeSelect_estado","Change_Text_titulo","titulorender","Change_Text_bm","Change_Text_cm","Change_Text_bt","Change_Text_ct","Change_Text_mensaje","validado","VALIDA","BM","BT","CT","CM","ESTADO","LISTA_SECUENCIA","error","consulta_bloqueos","mensaje_mostrar","guardar_secuencia","cadena","forEach","abrirmodal_secuencia","onclose_snackbar","open_snackbar","Changecheckedvp","checkedvp","moverabajo","filass","filas_ordenadas","meter","push","moverarriba","actualizarcircular","rows_original","datos_alineaciones","datos_plataformas","datos_estados","trow","SECUENCIA_PRIORIDAD","trow_secuencia","VirtualTable_cellComponent_secuencia","column","Cell","fontWeight","disabled","VirtualTable_cellComponent","textAlign","arraybc","formlabel","valueform","labelcontrol","change","idtext","labeltext","nametext","valuestate","botones_secuencia","botones_bloqueo","botones_mensaje","Backdrop","className","CircularProgress","autoHideDuration","MuiAlert","elevation","severity","SelectClass","marginBottom","Avatar","DialogTitle","TransitionProps","overflowY","Grid","container","item","overflowX","paddingBottom","Switch","disableRipple","Divider","InputProps","endAdornment","InputAdornment","position","RadioGroup","Radio","paddingLeft","paddingTop","startAdornment","multiline","rowsMax","maxLength","placeholder","borderTopLeftRadius","borderTopRightRadius","dangerouslySetInnerHTML","__html","LinearProgress","Toolbar","flexGrow","stylw","marginleft_movil","marginleft","marginright_movil","marginright"],"mappings":"qHACA,sPA2BA,IAAIA,EAAO,IAAIC,IACf,IAAIC,EAAM,iEAAiEC,KAAKC,UAAUC,WACtFC,EAAc,4DAA4DH,KAAKC,UAAUC,WACzFE,EAAGC,IAASD,GAEhB,IAAIE,GAAuB,EAC3B,MAAMC,EAAoB,OAAQC,IAAQC,MAAMC,UAAW,IAC3D,IAAIC,EAAqBH,IAAQC,MAAME,mBACnCC,EAAqBJ,IAAQC,MAAMG,mBAEvC,MAAMC,EAAWC,GAAOA,EAAIC,WACtBC,EAAiBF,GAAOA,EAAIC,WAIhC,IAAIE,EAASC,IAAK,CAChBC,OAAO,CACLC,aAAc,GACdC,OAAO,EACPC,QAAQ,GAEVC,OAAQ,CACJF,OAAQH,EAAMM,QAAQ,EAAG,EAAG,GAC5BF,QAAS,EACTG,SAAU,OAIdC,QAAS,CACLL,OAAQH,EAAMM,QAAQ,EAAG,EAAE,GAC3BF,QAAS,EACTK,aAAc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E0B,cAAA,OAAKlI,IAAKY,KAAKnB,SAAUmJ,MAAO,CAAC4G,WAAW,QAAQ3C,WAAWlR,EAAcE,IAASI,MAAM4jB,iBAAiBhkB,IAASI,MAAM6jB,WAAWhT,YAAYnR,EAAcE,IAASI,MAAM8jB,kBAAkBlkB,IAASI,MAAM+jB,aAAajW,SAC9N7B,cAACiG,IAAW,CACRC,QAAS9P,GACT+P,KAAMzN,KAAKO,MAAMkG,KACjBiH,sBAAuB1P,GACvB2P,yBAA0B7P,GAC1BrC,SAAYA,GACZmS,UAAW5N,KAAKO,MAAMjF,UACtBuS,gBAAmB7N,KAAKiP,gBACxBlB,OAAQ/N,KAAKO,MAAM2F,gBACnB8H,QAAWhO,KAAKO,MAAMoD,QACtBsK,gBAAmBjO,KAAK0D,cACxBkD,kBAAoB5G,KAAKO,MAAMqG,kBAC/BwH,aAAcpO,KAAKib,KACnB5M,cAAkB/G,cAACgH,IAAgB,IACnCmN,2BAA4Bzb,KAAKyb,2BAA2Bzb,KAAKoT,eACjE7E,qBAAqB,UAMA,IAAxBvO,KAAKO,MAAMwF,UAEpBtL,EAAKyU,cACL/Q,OAAOmD,SAASC,UAKT,IACX,G","file":"static/js/main~8d189dc4.a6e01c93.chunk.js","sourcesContent":["\r\nimport React from 'react';\r\nimport {withStyles } from '@material-ui/core/styles';\r\nimport {colores, globales,funciones} from '../../global';\r\nimport {Table} from '@devexpress/dx-react-grid-material-ui';\r\nimport BarraBotones from '../../components/Barra_menu';\r\nimport CustomTable from '../../components/CustomTable';\r\nimport AuthService from '../../AuthService';\r\nimport Dialog from '@material-ui/core/Dialog';\r\nimport DialogContent from '@material-ui/core/DialogContent';\r\nimport Request from 'superagent';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport { Typography } from '@material-ui/core';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport Select from '../../components/Select';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport FormGroup from '@material-ui/core/FormGroup';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport FormLabel from '@material-ui/core/FormLabel';\r\nimport ExpansionPanel from '@material-ui/core/Accordion';\r\nimport ExpansionPanelSummary from '@material-ui/core/AccordionSummary';\r\nimport ExpansionPanelDetails from '@material-ui/core/AccordionDetails';\r\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\r\nimport Icono from '../../components/Icono';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport TableRowsIndexer from '../../components/tableRowsIndexer'\r\n\r\nlet Auth = new AuthService();\r\nvar movil=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\nvar movil_pequeño=/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\nvar ip=globales.ip\r\n//var ip_proyecto=globales.ip_proyecto\r\nlet isVisibleRowSelected = false;\r\nconst colorRowSelected = 'rgb('+ colores.tabla.selection +')';\r\nlet alternateColorRow1 = colores.tabla.alternateColorRow1;\r\nlet alternateColorRow2 = colores.tabla.alternateColorRow2;\r\n\r\nconst getRowId = row => row.ID_PERMISO;\r\nconst getRowId_padre = row => row.ID_PERMISO;\r\n\r\n \r\n/* CLASES DE ESTILO */\r\n var styles = theme =>({\r\n Dialog:{\r\n borderRadius: 10,\r\n margin:0,\r\n padding:0\r\n },\r\n select: { //CONFIGURA EL SELECT iconos\r\n margin: theme.spacing(2, 2, 0),\r\n padding: 0,\r\n minWidth: '30%',\r\n //zIndex: 900000\r\n //border: 'orange 2px solid',\r\n },\r\n select2: { //CONFIGURA EL SELECT iconos\r\n margin: theme.spacing(2, 0,0),\r\n padding: 0,\r\n paddingRight: 5,\r\n minWidth: '30%',\r\n //zIndex: 900000\r\n //border: 'orange 2px solid',\r\n },\r\n expand:{\r\n width: '100%', \r\n borderRadius: 5,\r\n border: movil_pequeño?'0px':'1px solid rgba(0, 0, 0, .125)',\r\n backgroundColor: 'rgb(224, 224, 235, 0.5)',\r\n margin: 0\r\n },\r\n expand2:{\r\n width: '100%', \r\n margin: 0,\r\n padding: 0,\r\n borderRadius: 0,\r\n backgroundColor: 'rgb(224, 224, 235, 0.5)',\r\n border: movil_pequeño?'0px':'1px solid rgba(0, 0, 0, .125)',\r\n },\r\n expanded:{\r\n margin: 0,\r\n minHeight: 15,\r\n //borderRadius: 10,\r\n '&$expanded': {\r\n minHeight: 10,\r\n margin: 5,\r\n //backgroundColor: 'rgb(224, 224, 235, 0.5)'\r\n },\r\n },\r\n expanded__root:{\r\n margin: 0,\r\n minHeight: 10,\r\n borderRadius: 10,\r\n '&$expanded': {\r\n minHeight: 10,\r\n margin: 5,\r\n //backgroundColor: 'rgb('+colores.menu.sombra+')'\r\n },\r\n },\r\n expandIcon:{\r\n margin: 0,\r\n padding: 0\r\n },\r\n variant:{\r\n backgroundColor: 'red'\r\n },\r\n backdrop: {\r\n zIndex: 500000,\r\n color: '#fff', \r\n flexDirection: 'column'\r\n },\r\n})\r\n\r\n\r\nlet currentNombre = null;\r\nlet currentDescripcion = null;\r\nlet currentInstancia = null;\r\nlet currentSecuencia = null;\r\n\r\nconst columns= [\r\n {name: 'ID_PERMISO' ,title: 'ID_PERMISO'}\r\n ,{name: 'ID_PERMISO_PADRE' ,title: 'ID_PERMISO_PADRE'}\r\n ,{name: 'ID_MODULO' ,title: 'ID_MODULO'}\r\n ,{name: 'MODULO' ,title: 'Modulo'}\r\n ,{name: 'DESCRIPCION' ,title: 'Descripción'}\r\n ,{name: 'NOMBRE' ,title: 'Nombre'}\r\n ,{name: 'ICONO' ,title: ''}\r\n ,{name: 'NOM_ICONO' ,title: 'Icono'}\r\n ,{name: 'INSTANCIA' ,title: 'Instancia'}\r\n ,{name: 'SECUENCIA' ,title: 'Secu'}\r\n ,{name: 'REPORTE' ,title: 'Reporte'}\r\n ,{name: 'PERMISO_PADRE' ,title: 'Permiso Padre'}\r\n]\r\n\r\nconst columns2= [\r\n {name: 'ID_PERMISO' ,title: 'ID_PERMISO'}\r\n ,{name: 'ID_PERMISO_PADRE' ,title: 'ID_PERMISO_PADRE'}\r\n ,{name: 'ID_MODULO' ,title: 'ID_MODULO'}\r\n ,{name: 'NOMBRE' ,title: 'Nombre'}\r\n ,{name: 'DESCRIPCION' ,title: 'Descripción'}\r\n ,{name: 'PERMISO_PADRE' ,title: 'Permiso Padre'}\r\n]\r\n\r\nconst defaultHiddenColumnNames= ['ID_PERMISO','ID_PERMISO_PADRE','ID_MODULO','DESCRIPCION','ICONO']\r\nconst defaultHiddenColumnNames2= ['ID_PERMISO','ID_PERMISO_PADRE','ID_MODULO','ICONO','DESCRIPCION']\r\n\r\nconst tableColumnExtensions= [\r\n { columnName: 'NOMBRE', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/2):(window.innerWidth/5), align: 'center'},\r\n { columnName: 'NOM_ICONO', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/4):(window.innerWidth/8), align: 'center'},\r\n { columnName: 'INSTANCIA', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/2):(window.innerWidth/5), align: 'center'},\r\n { columnName: 'SECUENCIA', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/8):(window.innerWidth/17), align: 'center'},\r\n { columnName: 'REPORTE', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/8):(window.innerWidth/17), align: 'center'},\r\n { columnName: 'PERMISO_PADRE', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/2):(window.innerWidth/5), align: 'center'}\r\n]\r\nconst tableColumnExtensions2= [\r\n { columnName: 'NOMBRE', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/2):(window.innerWidth/2)-100, align: 'center'},\r\n { columnName: 'DESCRIPCION', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/3):(window.innerWidth/3)-100, align: 'center'},\r\n { columnName: 'PERMISO_PADRE', wordWrapEnabled: true, width: movil_pequeño?(window.innerWidth/2):(window.innerWidth/2)-100, align: 'center'}\r\n]\r\n\r\n\r\n/* EXPORT */\r\nexport default withStyles(styles)(\r\n class Permisos extends React.Component {\r\n\r\n tablaRef = React.createRef();\r\n nombreRef = React.createRef();\r\n descripcionRef = React.createRef();\r\n secuenciaRef = React.createRef();\r\n instanciaRef = React.createRef();\r\n\r\n constructor(props) {\r\n\r\n super(props);\r\n this.permiso=props.permiso!==undefined?props.permiso:localStorage.getItem('Tabpanel_user')\r\n this.l=props.l\r\n this.e=props.e\r\n this.i=props.i\r\n this.isVisibleRowSelected=isVisibleRowSelected\r\n this.actualizarbarra=props.actualizarbarra\r\n this.codigoRef = React.createRef();\r\n \r\n \r\n this.state = {\r\n isLoggin: undefined,\r\n datos_iconos: '',\r\n datos_modulos: '',\r\n heightTableMain: 0,\r\n isLoading: false,\r\n open_agregar: false,\r\n open_modificar: false,\r\n open_eliminar: false,\r\n open_permisos: false,\r\n activos_lectura: [], \r\n nombre: '',\r\n descripcion: '',\r\n selection_principal: [],\r\n selection_icono: '',\r\n selection_modulo: '',\r\n selection_padre: [],\r\n id_permiso: null,\r\n instancia: '',\r\n secuencia: '',\r\n reporte: false,\r\n nom_permiso_padre: '',\r\n id_permiso_padre: null,\r\n id_permiso_padre_original: null,\r\n nom_permiso_padre_original: null,\r\n instanciaoriginal: '',\r\n secuenciaoriginal: '',\r\n expanded: 'panel1',\r\n grouping: [{ columnName: 'MODULO' }],\r\n expandedGroups: [],\r\n rows: [],\r\n rows2: [],\r\n selection: [],\r\n filteringColumnExtensions: [],\r\n filters: [],\r\n columnWidths : [],\r\n enabledFilterRows: true,\r\n \r\n };\r\n\r\n \r\n const TableRow = TableRow => withStyles(styles, { name: \"Row\" })( ({classes,highlighted, rowIndex, row, selectByRowClick, ...props}) => {\r\n\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow \r\n \r\n const clickselection = (ID_PERMISO,ID_PERMISO_PADRE,ID_MODULO,MODULO,DESCRIPCION,NOMBRE,ICONO,NOM_ICONO,INSTANCIA,SECUENCIA,REPORTE,PERMISO_PADRE,TIENE_ROL) => event =>{\r\n \r\n this.setState({ selection: [ID_PERMISO,ID_PERMISO_PADRE,ID_MODULO,MODULO,DESCRIPCION,NOMBRE,ICONO,NOM_ICONO,INSTANCIA,SECUENCIA,REPORTE,PERMISO_PADRE,TIENE_ROL],selection_padre: [ID_PERMISO_PADRE] });\r\n event.preventDefault();\r\n \r\n }\r\n \r\n if (this.state.selection[0] === props.tableRow.row.ID_PERMISO) { isVisibleRowSelected = true; }\r\n return (\r\n \r\n );\r\n \r\n \r\n });\r\n\r\n const TableRow_padre = TableRow => withStyles(styles, { name: \"Row\" })( ({classes,highlighted, rowIndex, row, selectByRowClick, ...props}) => {\r\n\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow \r\n \r\n const clickselection_padre = (row) => event =>{\r\n \r\n this.setState({ id_permiso_padre: row.ID_PERMISO,selection_padre: [row.ID_PERMISO,row.ID_PERMISO_PADRE,row.ID_MODULO,row.DESCRIPCION,row.NOMBRE,row.PERMISO_PADRE], nom_permiso_padre: row.NOMBRE});\r\n event.preventDefault();\r\n }\r\n \r\n if (this.state.selection_padre[0] === props.tableRow.row.ID_PERMISO) { isVisibleRowSelected = true; }\r\n\r\n if(r.row.ID_PERMISO!==this.state.selection[0]){\r\n \r\n return (\r\n \r\n );\r\n }\r\n else\r\n return (\r\n \r\n );\r\n \r\n \r\n });\r\n\r\n this.TableRow = TableRow(Table.Row);\r\n this.TableRow_padre = TableRow_padre(Table.Row);\r\n\r\n};//FIN CONSTRUCTOR\r\n\r\nshouldComponentUpdate(nextProps, nextState) {\r\n if(nextProps!==this.props || nextState!==this.state) \r\n return true; \r\n else\r\n return false;\r\n}\r\n\r\nsoloNumeros = (ref) => (ev) =>\r\n{\r\n \r\n if (ref.current.value.length === 0 && (ev.keyCode === 48 || ev.keyCode === 96))\r\n {\r\n ev.preventDefault();\r\n return false;\r\n }\r\n \r\n if (isNaN(parseInt(ev.key)) && ev.keyCode !== 8 && ev.keyCode !== 9 && ev.keyCode !== 46 && ev.keyCode !== 37 && ev.keyCode !== 39) //Excepciones: Tab, Backspace, Supr \r\n {\r\n ev.preventDefault();\r\n return false;\r\n }\r\n\r\n return true;\r\n\r\n}\r\n\r\n\r\ncomponentDidMount()\r\n{\r\n if(this.state.rows.length !== 0)\r\n return;\r\n let _this = this;\r\n _this.actualizarbarra(false)\r\n // Auth.loggedIn().then( function(b){\r\n // _this.setState({ isLoggin: b})\r\n // if(b)\r\n this.setState({ isLoggin: Auth.getProfile().plataforma !== undefined ? true : false }, ()=>{\r\n Request.get(`${ip}/permisos/obtener_permisos/${0}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(2)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n\r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n funciones.showToast('e','Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n _this.setState({ rows: tmp,heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable})\r\n }\r\n else\r\n {\r\n _this.setState({rows: [],heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable})\r\n }\r\n _this.actualizarbarra(true)\r\n \r\n })\r\n Request.get(`${ip}/permisos/obtener_iconos/`)\r\n .retry(2)\r\n .timeout({ response: 10000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n\r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n const Datos = tmp.map((datos, i) =>\r\n \r\n \r\n {' '}{datos.NOM_ICONO}\r\n \r\n );\r\n _this.setState({ datos_iconos: Datos})\r\n }\r\n })\r\n\r\n Request.get(`${ip}/permisos/obtener_modulos_permisos/`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(2)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n \r\n const Datos = tmp.map((datos, i) =>\r\n \r\n {datos.DESCRIPCION}{' / '}{datos.PLATAFORMA}\r\n \r\n );\r\n \r\n _this.setState({ datos_modulos: Datos})\r\n }\r\n })\r\n })\r\n}\r\n\r\nconfirma_valor(valor){\r\n if(valor!==undefined && valor!==null)\r\n return valor.toString();\r\n else{\r\n return '';\r\n } \r\n}\r\n\r\nchangeExpandedGroups = expandedGroups =>\r\n{\r\n this.setState({ expandedGroups });\r\n};\r\n\r\nconfirma_bool(valor){\r\n if(valor!==undefined)\r\n return valor===1?true:false;\r\n else{\r\n return false;\r\n } \r\n}\r\nhandleChange_expand = panel => (event, newExpanded) => {\r\n if(panel==='panel2')\r\n {\r\n var modulo = this.state.selection_modulo===''?9000000:this.state.selection_modulo\r\n Request.get(`${ip}/permisos/obtener_permisos/${modulo}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(2)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n this.setState({ rows2: tmp})\r\n }\r\n else\r\n {\r\n this.setState({rows2: []})\r\n }\r\n })\r\n }\r\n\r\n if(this.state.selection_modulo==='' && panel==='panel2'){\r\n funciones.showToast('w','Seleccione un modulo.')\r\n }\r\n else\r\n this.setState({expanded: panel});\r\n};\r\n\r\ncerrarmodal=()=>event=>{\r\n this.setState({open_agregar: false, open_modificar: false, open_eliminar: false, nom_permiso_padre:'',selection_icono:'',\r\n selection_modulo: '',selection_principal: '',selection_padre: '', expanded: 'panel1',instanciaoriginal: '',secuenciaoriginal: ''})\r\n event.preventDefault();\r\n}\r\n\r\nabrirmodal_agregar=()=>event=>{\r\n this.setState({selection_modulo: '',selection_icono: '',open_agregar: true})\r\n event.preventDefault();\r\n}\r\n\r\nabrirmodal_modificar=()=>event=>{\r\n if(this.state.selection.length>0)\r\n {\r\n Request.get(`${ip}/permisos/obtener_permisos/${this.state.selection[2]}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(2)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n this.setState({ rows2: tmp,reporte: this.state.selection[10]===1?true:false,selection_icono: this.state.selection[6], selection_modulo: this.state.selection[2]})\r\n }\r\n else\r\n {\r\n this.setState({rows2: []})\r\n }\r\n })\r\n this.setState({selection_principal: this.state.selection, open_modificar: true, id_permiso: this.state.selection[0], reporte: this.confirma_bool(this.state.selection[10]), nom_permiso_padre_original: this.confirma_valor(this.state.selection[11]),nom_permiso_padre: this.confirma_valor(this.state.selection[11]),id_permiso_padre_original: this.state.selection[1],instanciaoriginal: this.state.selection[8]===null?'':this.state.selection[8],secuenciaoriginal: this.confirma_valor(this.state.selection[9]), id_permiso_padre: this.state.selection[1]})\r\n \r\n currentNombre = this.confirma_valor(this.state.selection[5]);\r\n currentDescripcion = this.confirma_valor(this.state.selection[4]);\r\n currentInstancia = this.confirma_valor(this.state.selection[8]);\r\n currentSecuencia = this.confirma_valor(this.state.selection[9])\r\n }\r\n}\r\n\r\nabrirmodal_eliminar=()=>event=>{\r\n if(this.state.selection.length>0)\r\n {\r\n if(this.state.selection[12]===0) \r\n this.setState({open_eliminar: true, id_permiso: this.state.selection[0], nombre: this.confirma_valor(this.state.selection[5]), descripcion: this.confirma_valor(this.state.selection[4])})\r\n else\r\n funciones.showToast('w','Permiso ligado con roles.')\r\n }\r\n}\r\n\r\nDoubleclickselection_padre = () => event =>{\r\n this.setState({expanded: 'panel1'})\r\n}\r\n\r\ncancelar_padre = () => event =>{\r\n this.setState({expanded: 'panel1', id_permiso_padre: this.state.id_permiso_padre_original,selection_padre: [this.state.id_permiso_padre_original],nom_permiso_padre: this.state.nom_permiso_padre_original})\r\n}\r\n\r\nhandleChangeSelect_icono = event => {\r\n this.setState({ selection_icono: event.target.value });\r\n}\r\n\r\nhandleChangeSelect_modulo = event => {\r\n this.setState({ selection_modulo: event.target.value });\r\n}\r\n\r\nchangeFilters = filters => this.setState({ filters }); //EVENTO CAMBIO DE FILTRO PARA LA TABLA PRINCIPAL\r\n\r\n\r\nhandleChangeCheckbox = event => {\r\n this.setState({ reporte: event.target.checked });\r\n}\r\n\r\nconsulta_permisos(){\r\n Request.get(`${ip}/permisos/obtener_permisos/${0}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(2)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n this.setState({ rows: tmp})\r\n }\r\n else\r\n {\r\n this.setState({rows: []})\r\n }\r\n \r\n })\r\n}\r\n\r\n\r\nguardar_agregar=()=>{\r\n if((this.state.selection_icono!=='' && this.state.selection_modulo !== '' && this.nombreRef.current.value !== null && this.nombreRef.current.value.trim() !== '')&&(this.descripcionRef.current.value !== null && this.descripcionRef.current.value.trim() !== ''))\r\n { \r\n this.setState({ openBackDrop: true }, ()=> { \r\n try{\r\n new Request.post(`${globales.ip}/permisos/IUD_permisos`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_PERMISO:0, ID_MODULO: this.state.selection_modulo, NOMBRE: this.nombreRef.current.value,DESCRIPCION: this.descripcionRef.current.value,ID_ICONO: this.state.selection_icono,INSTANCIA: this.instanciaRef.current.value.trim()===''?null:this.instanciaRef.current.value.trim(),ID_PERMISO_PADRE: this.state.id_permiso_padre===''?null:this.state.id_permiso_padre,SECUENCIA: this.secuenciaRef.current.value.trim()===''?null:this.secuenciaRef.current.value\r\n ,REPORTE: this.state.reporte\r\n ,USUARIO: Auth.getProfile().user\r\n ,TIPO: 1})\r\n .retry(0)\r\n .timeout({ response: 20000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return;\r\n }\r\n this.setState({ openBackDrop: false,open_agregar: false, selection: [],selection_modulo: '',selection_icono: '' }, ()=> {\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n this.consulta_permisos();\r\n })\r\n })\r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e','Error en el proceso')\r\n })\r\n }\r\n })\r\n }\r\n else{\r\n funciones.showToast('w','Confirme la información ingresada.')\r\n }\r\n\r\n}\r\n\r\nguardar_modificar=()=>{\r\n if((this.state.selection_icono!=='' && this.state.selection_modulo !== '' && this.nombreRef.current.value !== null \r\n && this.nombreRef.current.value.trim() !== '')&&(this.descripcionRef.current.value !== null \r\n && this.descripcionRef.current.value.trim() !== '')&&((this.state.selection_principal[2]!==this.state.selection_modulo)\r\n ||(this.instanciaRef.current.value.trim() !== this.state.instanciaoriginal)\r\n ||(this.secuenciaRef.current.value.trim() !== this.state.secuenciaoriginal)\r\n ||(this.state.selection_principal[6]!==this.state.selection_icono)||(this.state.selection_principal[4]!==this.descripcionRef.current.value)\r\n ||(this.state.id_permiso_padre_original!==this.state.id_permiso_padre)\r\n ||(this.state.selection_principal[5]!==this.nombreRef.current.value)||this.state.selection_principal[10]!==(this.state.reporte===true?1:0)))\r\n { \r\n this.setState({ openBackDrop: true }, ()=> { \r\n try{\r\n new Request.post(`${globales.ip}/permisos/IUD_permisos`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_PERMISO:this.state.id_permiso, ID_MODULO: this.state.selection_modulo, NOMBRE: this.nombreRef.current.value,DESCRIPCION: this.descripcionRef.current.value,ID_ICONO: this.state.selection_icono,INSTANCIA: this.instanciaRef.current.value.trim()===''?null:this.instanciaRef.current.value.trim(),ID_PERMISO_PADRE: this.state.id_permiso_padre===''?null:this.state.id_permiso_padre,SECUENCIA: this.secuenciaRef.current.value.trim()===''?null:this.secuenciaRef.current.value\r\n ,REPORTE: this.state.reporte\r\n ,USUARIO: Auth.getProfile().user\r\n ,TIPO: 2})\r\n .retry(0)\r\n .timeout({ response: 20000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return;\r\n }\r\n this.setState({ openBackDrop: false,open_modificar: false, selection: [],selection_modulo: '',selection_icono: '' }, ()=> {\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n this.consulta_permisos();\r\n })\r\n })\r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e','Error en el proceso')\r\n })\r\n }\r\n })\r\n }\r\n else{\r\n funciones.showToast('w','Confirme la información ingresada.')\r\n }\r\n\r\n}\r\n\r\nquitarpermisopadre=()=>{\r\n this.setState({expanded: 'panel1', id_permiso_padre: '',selection_padre: '',nom_permiso_padre: ''})\r\n}\r\n\r\neliminar=()=>{\r\n\r\n if(this.state.selection[12]===0) {\r\n this.setState({ openBackDrop: true }, ()=> { \r\n try{\r\n //let resp = \r\n new Request.get(`${globales.ip}/permisos/IUD_permisos`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_PERMISO:this.state.selection[0], ID_MODULO:0, NOMBRE: '',DESCRIPCION: '',ID_ICONO: 0,INSTANCIA: '',ID_PERMISO_PADRE: 0,SECUENCIA: '',REPORTE: 0\r\n ,USUARIO: Auth.getProfile().user\r\n ,TIPO: 3})\r\n .retry(0)\r\n .timeout({ response: 20000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return;\r\n }\r\n this.setState({ openBackDrop: false,open_eliminar: false, selection: [] }, ()=> {\r\n funciones.showToast('s','Permiso eliminado correctamente.')\r\n this.consulta_permisos();\r\n })\r\n }) \r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e','Error en el proceso')\r\n })\r\n }\r\n })\r\n }\r\n\r\n}\r\n\r\nseleccionar_padre= async ()=>{\r\n this.setState({expanded: 'panel1'})\r\n}\r\n\r\n/* RENDER */\r\nrender() {\r\n\r\n const { classes } = this.props;\r\n \r\n const botones = [\r\n {icono: 'Add', toolt: 'Crear permiso', nombre: 'Crear' ,escritura:true, onclick: this.abrirmodal_agregar(), display: 'auto'},\r\n {icono: 'Edit', toolt: 'Modificar permiso', nombre: 'Modificar' ,escritura:true, onclick: this.abrirmodal_modificar(), display:'auto'},\r\n {icono: 'Delete', toolt: 'Eliminar permiso' ,nombre: 'Eliminar',escritura:true, onclick: this.abrirmodal_eliminar(), color: colores.naranja, display: 'auto'}\r\n ]\r\n\r\n const botones_agregar =[\r\n {icono: 'Save', nombre: 'Guardar',escritura:true, onclick: this.guardar_agregar , display:'auto'},\r\n {icono: 'Close', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_modificar =[\r\n {icono: 'Save', nombre: 'Guardar',escritura:true,onclick: this.guardar_modificar , display:'auto'},\r\n {icono: 'Close', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_seleccionar =[\r\n {icono: 'Create', nombre: 'Seleccionar',escritura:true,onclick: this.seleccionar_padre , display:'auto', color: 'green'},\r\n {icono: 'Close', nombre: 'Cancelar' , onclick: this.cancelar_padre(), display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_eliminar =[\r\n {icono: 'Delete', toolt: 'Eliminar', nombre: 'Eliminar',onclick: this.eliminar , display:'auto'},\r\n {icono: 'Close', toolt: 'Cerrar', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n\r\n if (this.state.isLoggin === true)\r\n {\r\n return (\r\n
\r\n \r\n \r\n
\r\n Ingreso de Permiso \r\n \r\n }\r\n aria-controls=\"panel1a-content\"\r\n id=\"panel1a-header\"\r\n >\r\n {'General'}\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 style={{marginLeft: 5}}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n }\r\n aria-controls=\"panel1a-content\"\r\n id=\"panel1a-header\"\r\n > \r\n
\r\n {'Permiso padre: '+this.state.nom_permiso_padre}\r\n {this.state.nom_permiso_padre!==''&&this.state.expanded === 'panel2'?\r\n \r\n \r\n :null\r\n }\r\n
\r\n
\r\n \r\n
\r\n }\r\n showSelectionColumn={false}\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 Modificación de Permiso \r\n \r\n }\r\n aria-controls=\"panel1a-content\"\r\n id=\"panel1a-header\"\r\n >\r\n {'General'}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n label=\"Reporte\"\r\n labelPlacement=\"end\"\r\n style={{marginLeft: 5}}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n }\r\n aria-controls=\"panel1a-content\"\r\n id=\"panel1a-header\"\r\n >\r\n
\r\n {'Permiso padre: '+this.state.nom_permiso_padre}\r\n {this.state.nom_permiso_padre!==''&&this.state.expanded === 'panel2'?\r\n \r\n \r\n :null\r\n }\r\n
\r\n
\r\n \r\n
\r\n }\r\n showSelectionColumn={false}\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 ¿Está seguro de eliminar el permiso: {this.state.selection[4]}?\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n }\r\n showSelectionColumn={false}\r\n />\r\n
\r\n
\r\n
\r\n );\r\n }\r\n else if (this.state.isLoggin === false)\r\n {\r\n Auth.logout()\r\n window.location.reload();\r\n return; \r\n }\r\n \r\n \r\n return null;\r\n } /// finaliza render\r\n } /// finaliza class\r\n )/// finaliza withStyles","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { Avatar, Divider } from '@material-ui/core';\r\nimport {colores, globales, funciones} from '../../global';\r\nimport BarraBotones from '../../components/Barra_menu';\r\nimport AuthService from '../../AuthService';\r\nimport Request from 'superagent';\r\nimport CustomTable from '../../components/CustomTable';\r\nimport {Table} from '@devexpress/dx-react-grid-material-ui';\r\nimport Dialog from '@material-ui/core/Dialog';\r\nimport DialogContent from '@material-ui/core/DialogContent';\r\nimport DialogTitle from '@material-ui/core/DialogTitle';\r\nimport { Typography } from '@material-ui/core';\r\nimport Icono from '../../components/Icono'\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport FormLabel from '@material-ui/core/FormLabel';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Radio from '@material-ui/core/Radio';\r\nimport RadioGroup from '@material-ui/core/RadioGroup';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport Select from '../../components/Select';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport InputAdornment from '@material-ui/core/InputAdornment';\r\nimport LinearProgress from '@material-ui/core/LinearProgress';\r\nimport Snackbar from '@material-ui/core/Snackbar';\r\nimport MuiAlert from '@material-ui/lab/Alert';\r\nimport Switch from '@material-ui/core/Switch';\r\nimport TableRowsIndexer from '../../components/tableRowsIndexer'\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport Backdrop from '@material-ui/core/Backdrop';\r\n\r\n\r\nlet Auth = new AuthService();\r\nvar ip=globales.ip\r\nvar border_dialog=globales.border_dialog\r\n//var movil=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\nvar movil_pequeño=/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\n\r\nlet isVisibleRowSelected = false;\r\nconst colorRowSelected = 'rgb('+ colores.tabla.selection +')';\r\nlet alternateColorRow1 = colores.tabla.alternateColorRow1; \r\nlet alternateColorRow2 = colores.tabla.alternateColorRow2;\r\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\r\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\r\n\r\nfunction clone( obj ) {\r\n if ( obj === null || typeof obj !== 'object' ) {\r\n return obj;\r\n }\r\n\r\n var temp = obj.constructor();\r\n for ( var key in obj ) {\r\n temp[ key ] = clone( obj[ key ] );\r\n }\r\n\r\n return temp;\r\n}\r\n\r\nlet currentnombre = null;\r\nlet currentdescripcion = null;\r\nlet currenttitulo = 'Mensaje';\r\nlet currentbt = null;\r\nlet currentct = null;\r\nlet currentbm = null;\r\nlet currentcm = null;\r\nlet currentpaginas = null;\r\nlet currentfuncion = null;\r\nlet currentmensaje = null;\r\n\r\nconst getRowId = row => row.ID_BLOQUEOS_PAGINAS;\r\nconst getRowId_secuencia = row => row.ID_BLOQUEOS_PAGINAS; \r\n\r\n\r\n /* CLASES DE ESTILO */\r\n\r\n var styles = theme =>({\r\n root: {\r\n width: 45,\r\n height: 26,\r\n padding: 0,\r\n margin: theme.spacing(1),\r\n \r\n },\r\n switchBase: {\r\n padding: 1,\r\n\r\n },\r\n thumb: {\r\n width: 23,\r\n height: 23,\r\n },\r\n track: {\r\n borderRadius: 26 / 2,\r\n border: `1px solid ${theme.palette.grey[400]}`,\r\n backgroundColor: theme.palette.grey[50],\r\n opacity: 1,\r\n transition: theme.transitions.create(['background-color', 'border']),\r\n },\r\n Snackbar:{\r\n zIndex: 99999999,\r\n background: 'black'\r\n },\r\n Dialog:{\r\n borderRadius: border_dialog,\r\n margin:0,\r\n padding:0\r\n },\r\n paper_agregar: {\r\n background: movil_pequeño?'white':'transparent',\r\n borderLeft: 'solid 20px white',\r\n borderRight: 'solid 20px white',\r\n borderBottom: 'solid 20px white',\r\n borderTop: 'solid 20px white',\r\n },\r\n paper_dialog: {\r\n background: 'transparent',\r\n borderLeft: 'solid 10px white',\r\n borderRight: 'solid 10px white',\r\n borderBottom: 'solid 10px white',\r\n \r\n },\r\n select: { //CONFIGURA EL SELECT \r\n margin: theme.spacing(movil_pequeño?2:1, 1,0,0),\r\n padding: 0,\r\n //paddingRight: 5,\r\n minWidth: movil_pequeño?'50%':'32%',\r\n //zIndex: 900000\r\n //border: 'orange 2px solid',\r\n },\r\n paperWidthFalse: {\r\n maxWidth: 'calc(100% - 64px)'\r\n },\r\n\r\n paperWidthXs: {\r\n maxWidth: Math.max(theme.breakpoints.values.xs, 444),\r\n '&:paperScrollBody': (0, _defineProperty2.default)({}, theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2), {\r\n maxWidth: 'calc(100% - 64px)'\r\n })\r\n },\r\n\r\n /* Styles applied to the `Paper` component if `maxWidth=\"sm\"`. */\r\n paperWidthSm: {\r\n maxWidth: theme.breakpoints.values.sm,\r\n '&:paperScrollBody': (0, _defineProperty2.default)({}, theme.breakpoints.down(theme.breakpoints.values.sm + 32 * 2), {\r\n maxWidth: 'calc(100% - 64px)'\r\n })\r\n },\r\n\r\n /* Styles applied to the `Paper` component if `maxWidth=\"md\"`. */\r\n paperWidthMd: {\r\n maxWidth: theme.breakpoints.values.md,\r\n width: theme.breakpoints.values.md,\r\n '&:paperScrollBody': (0, _defineProperty2.default)({}, theme.breakpoints.down(theme.breakpoints.values.md + 32 * 2), {\r\n maxWidth: 'calc(100% - 64px)'\r\n })\r\n },\r\n\r\n /* Styles applied to the `Paper` component if `maxWidth=\"lg\"`. */\r\n paperWidthLg: {\r\n maxWidth: theme.breakpoints.values.lg,\r\n width:theme.breakpoints.values.lg,\r\n '&:paperScrollBody': (0, _defineProperty2.default)({}, theme.breakpoints.down(theme.breakpoints.values.lg + 32 * 2), {\r\n maxWidth: 'calc(100% - 64px)'\r\n })\r\n },\r\n\r\n /* Styles applied to the `Paper` component if `maxWidth=\"xl\"`. */\r\n paperWidthXl: {\r\n maxWidth: theme.breakpoints.values.xl,\r\n width:theme.breakpoints.values.xl,\r\n '&:paperScrollBody': (0, _defineProperty2.default)({}, theme.breakpoints.down(theme.breakpoints.values.xl + 32 * 2), {\r\n maxWidth: 'calc(100% - 64px)'\r\n })\r\n },\r\n backdrop: {\r\n zIndex: 800000,\r\n color: '#fff', \r\n flexDirection: 'column'\r\n },\r\n\r\n})\r\n\r\nconst columns= [{name:'SECUENCIA',title: 'SECUENCIA'},{name: 'ID_BLOQUEOS_PAGINAS',title: 'ID_BLOQUEOS_PAGINAS'},{name:'NOMBRE',title: 'Nombre'},\r\n{name: 'DESCRIPCION' ,title: 'Descripción'}\r\n,{name:'TITULO' ,title: 'Titulo'},{name:'MENSAJE',title: 'MENSAJE'},{name:'ID_ALINEACION',title: 'ID_ALINEACION'}\r\n,{name:'NOM_ALINEACION',title: 'NOM_ALINEACION'},{name:'MAX_WIDTH',title: 'MAX_WIDTH'},{name:'BACKGROUND_MENSAJE',title: 'BACKGROUND_MENSAJE'}\r\n,{name:'DEFAULT_BM',title: 'DEFAULT_BM'},{name:'BACKGROUND_TITULO',title: 'BACKGROUND_TITULO'},{name:'DEFAULT_BT',title: 'DEFAULT_BT'}\r\n,{name:'COLOR_TITULO',title: 'COLOR_TITULO'},{name:'DEFAULT_CT',title: 'DEFAULT_CT'},{name:'COLOR_MENSAJE',title: 'COLOR_MENSAJE'}\r\n,{name:'DEFAULT_CM',title: 'DEFAULT_CM'},{name:'BLOQUEAR',title: 'BLOQUEAR'},{name:'PAGINAS',title: 'PAGINAS'},{name:'SECUENCIA_PRIORIDAD',title: 'SECUENCIA_PRIORIDAD'}\r\n,{name:'ID_PLATAFORMA',title: 'ID_PLATAFORMA'},{name:'PLATAFORMA',title: 'Plataforma'},{name:'NOM_FUNCION',title: 'Función'},{name:'ESTADO',title: 'Estado'}\r\n,{name:'ID_ESTADO',title: 'ID_ESTADO'},{name:'VISTA_PREVIA',title: 'Vista Previa'},{name:'MOVER',title: 'Mover'}\r\n]\r\n\r\nconst defaultHiddenColumnNames= ['SECUENCIA','MOVER','DESCRIPCION','ID_BLOQUEOS_PAGINAS','ID_ALINEACION','MENSAJE','TITULO','NOM_ALINEACION','MAX_WIDTH','BACKGROUND_MENSAJE','DEFAULT_BM','BACKGROUND_TITULO','DEFAULT_BT','COLOR_TITULO','DEFAULT_CT','COLOR_MENSAJE','DEFAULT_CM','BLOQUEAR','PAGINAS','SECUENCIA_PRIORIDAD','ID_PLATAFORMA','ID_ESTADO']\r\nconst defaultHiddenColumnNames_secuencia= ['SECUENCIA','NOM_FUNCION','PLATAFORMA','VISTA_PREVIA','ESTADO','DESCRIPCION','ID_BLOQUEOS_PAGINAS','ID_ALINEACION','MENSAJE','TITULO','NOM_ALINEACION','MAX_WIDTH','BACKGROUND_MENSAJE','DEFAULT_BM','BACKGROUND_TITULO','DEFAULT_BT','COLOR_TITULO','DEFAULT_CT','COLOR_MENSAJE','DEFAULT_CM','BLOQUEAR','PAGINAS','SECUENCIA_PRIORIDAD','ID_PLATAFORMA','ID_ESTADO']\r\nconst tableColumnExtensions= [\r\n { columnName: 'NOMBRE', wordWrapEnabled: false, width: !movil_pequeño ? ((window.innerWidth )/4): 150, align: 'center'},\r\n { columnName: 'ESTADO', wordWrapEnabled: false, width: !movil_pequeño ? ((window.innerWidth - 450)/5) : 150, align: 'center'},\r\n { columnName: 'PLATAFORMA', wordWrapEnabled: false, width: !movil_pequeño ? ((window.innerWidth - 100)/5) : 150, align: 'center'},\r\n { columnName: 'NOM_FUNCION', wordWrapEnabled: false, width: !movil_pequeño ? ((window.innerWidth )/4) : 150, align: 'center'},\r\n { columnName: 'VISTA_PREVIA', wordWrapEnabled: false, width: !movil_pequeño ? ((window.innerWidth - 500)/6) : 150, align: 'center'},\r\n]\r\nconst tableColumnExtensions_secuencia= [\r\n { columnName: 'NOMBRE', wordWrapEnabled: false, width:movil_pequeño?window.innerWidth: 400, align: 'left'},\r\n { columnName: 'MOVER', wordWrapEnabled: false, width: movil_pequeño?window.innerWidth/2: 100, align: 'center'},\r\n]\r\n\r\n\r\n\r\n/* EXPORT */\r\nexport default withStyles(styles)(\r\n class Bloqueos extends React.Component {\r\n tablaRef = React.createRef();\r\n nombreRef = React.createRef();\r\n descripcionRef = React.createRef();\r\n tituloRef = React.createRef();\r\n btRef = React.createRef();\r\n ctRef = React.createRef();\r\n bmRef = React.createRef();\r\n cmRef = React.createRef();\r\n paginasRef = React.createRef();\r\n funcionRef = React.createRef();\r\n mensajeRef = React.createRef();\r\n\r\n constructor(props) {\r\n\r\n super(props);\r\n this.l= props.l\r\n this.e= props.e\r\n this.i= props.i\r\n this.isVisibleRowSelected=isVisibleRowSelected\r\n this.actualizarbarra=props.actualizarbarra\r\n this.actualizarcircular=props.actualizarcircular\r\n this.plataformaoriginal=''\r\n this.titulooriginal=''\r\n this.nombreoriginal=''\r\n this.descripcionoriginal=''\r\n this.maxwidthoriginal=''\r\n this.defaultbmoriginal=''\r\n this.defaultcmoriginal=''\r\n this.defaultbtoriginal=''\r\n this.defaultctoriginal=''\r\n this.bmoriginal=''\r\n this.cmoriginal=''\r\n this.btoriginal=''\r\n this.ctoriginal=''\r\n this.alineacionoriginal=''\r\n this.paginasoriginal=''\r\n this.bloquear=''\r\n this.funcionoriginal=''\r\n this.estadooriginal=''\r\n this.mensajeoriginal=''\r\n this.state = {\r\n openBackDrop: false,\r\n open_snackbar: false,\r\n checkedvp: false,\r\n isLoggin : undefined,\r\n heightTableMain: 0,\r\n isLoading: false,\r\n open_agregar: false,\r\n open_secuencia: false,\r\n selection: [],\r\n open_modificar: false,\r\n open_eliminar: false,\r\n open_vp: false,\r\n rows: [],\r\n rows_original: [],\r\n rows_secuencia: [],\r\n grouping: [],\r\n expandedGroups: [],\r\n filteringColumnExtensions: [],\r\n filters: [],\r\n expandedRowIds: [],\r\n enabledFilterRows: true,\r\n titulo_mensaje: 'Mensaje',\r\n alineacion_mensaje: 'center',\r\n max_width_mensaje:'xs',\r\n background_mensaje:'white',\r\n background_titulo_mensaje:colores.azul,\r\n color_titulo_mensaje:'white',\r\n color_mesaje: 'black',\r\n //mensaje: 'Periodo no Activo',\r\n nombre: '',\r\n value_maxwidth: 'xs',\r\n defaultbt: true,\r\n defaultct: true,\r\n defaultbm: true,\r\n defaultcm: true,\r\n datos_alineaciones: '',\r\n datos_plataformas:'',\r\n selection_alineacion: [],\r\n selection_plataforma: [],\r\n bloquear: false,\r\n datos_estados:[ \r\n {'Activo'}\r\n ,\r\n \r\n {'Inactivo'}\r\n \r\n ],\r\n selection_estado:'',\r\n titulorender:currenttitulo,\r\n selection_nom_alineacion: 'center',\r\n alineaciones:'',\r\n bm:'white',\r\n cm:'black',\r\n bt: colores.azul,\r\n ct: 'white',\r\n mensaje:'',\r\n error: false,\r\n validado:true,\r\n mensaje_mostrar: '',\r\n open_mensaje:false,\r\n rows_secuencia_original: [],\r\n }\r\n \r\n\r\n const trow = TableRow => withStyles(styles, { name: \"Row\" })( ({classes,highlighted, rowIndex, row, selectByRowClick, ...props}) => {\r\n\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow \r\n \r\n const clickselection = (ID_BLOQUEOS_PAGINAS,NOMBRE,DESCRIPCION,TITULO,MENSAJE,ID_ALINEACION,NOM_ALINEACION,MAX_WIDTH,BACKGROUND_MENSAJE,DEFAULT_BM\r\n ,BACKGROUND_TITULO,DEFAULT_BT,COLOR_TITULO,DEFAULT_CT,COLOR_MENSAJE,DEFAULT_CM,BLOQUEAR,PAGINAS,SECUENCIA_PRIORIDAD,ID_PLATAFORMA,PLATAFORMA\r\n ,NOM_FUNCION,ESTADO,ID_ESTADO\r\n ) => event =>{\r\n this.setState({ selection: [{ID_BLOQUEOS_PAGINAS:ID_BLOQUEOS_PAGINAS\r\n ,NOMBRE:NOMBRE,DESCRIPCION:DESCRIPCION,TITULO:TITULO,MENSAJE:MENSAJE,ID_ALINEACION:ID_ALINEACION\r\n ,NOM_ALINEACION:NOM_ALINEACION,MAX_WIDTH:MAX_WIDTH,BACKGROUND_MENSAJE:BACKGROUND_MENSAJE,DEFAULT_BM:DEFAULT_BM\r\n ,BACKGROUND_TITULO:BACKGROUND_TITULO,DEFAULT_BT:DEFAULT_BT,COLOR_TITULO:COLOR_TITULO,DEFAULT_CT:DEFAULT_CT,COLOR_MENSAJE:COLOR_MENSAJE\r\n ,DEFAULT_CM:DEFAULT_CM,BLOQUEAR:BLOQUEAR,PAGINAS:PAGINAS,SECUENCIA_PRIORIDAD:SECUENCIA_PRIORIDAD,ID_PLATAFORMA:ID_PLATAFORMA\r\n ,PLATAFORMA:PLATAFORMA,NOM_FUNCION:NOM_FUNCION,ESTADO:ESTADO,ID_ESTADO:ID_ESTADO\r\n }] });\r\n }\r\n \r\n if (this.state.selection[0]===undefined?this.state.selection[0]:this.state.selection[0].ID_BLOQUEOS_PAGINAS === props.tableRow.row.ID_BLOQUEOS_PAGINAS) { isVisibleRowSelected = true; }\r\n return (\r\n \r\n );\r\n });\r\n\r\n const trow_secuencia = TableRow => withStyles(styles, { name: \"Row\" })( ({classes,highlighted, rowIndex, row, selectByRowClick, ...props}) => {\r\n const odd = !!(rowIndex % 2);\r\n //const r = props.tableRow \r\n return (\r\n \r\n );\r\n });\r\n\r\n \r\nconst VirtualTable_cellComponent =(abrirmodal_vp)=> (props) => {\r\n const { column } = props;\r\n const {row} = props;\r\n if(column.name===\"ESTADO\")\r\n {\r\n return(\r\n \r\n \r\n );\r\n }\r\n if(column.name===\"NOM_FUNCION\" || column.name===\"NOMBRE\")\r\n {\r\n return(\r\n \r\n \r\n );\r\n }\r\n if(column.name===\"VISTA_PREVIA\")\r\n {\r\n return(\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n return(\r\n \r\n );\r\n}\r\n\r\nconst VirtualTable_cellComponent_secuencia =(moverabajo,moverarriba)=> (props) => {\r\n const { column } = props;\r\n const {row} = props;\r\n if(column.name===\"NOMBRE\")\r\n {\r\n return(\r\n \r\n \r\n );\r\n }\r\n if(column.name===\"MOVER\")\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 return(\r\n \r\n );\r\n}\r\n\r\n this.trow = trow(Table.Row);\r\n this.trow_secuencia =trow_secuencia(Table.Row);\r\n this.VirtualTable_cellComponent_secuencia=VirtualTable_cellComponent_secuencia;\r\n this.VirtualTable_cellComponent=VirtualTable_cellComponent;\r\n}; //FIN CONSTRUCTORS\r\n\r\n\r\nchangeSelection = selection =>{\r\n if(selection[selection.length-1]===undefined)\r\n {\r\n this.setState({ selection: this.state.selection });\r\n }\r\n else{\r\n this.setState({ selection: [selection[selection.length-1]] });\r\n }\r\n}\r\n\r\nchangeFilters = filters => this.setState({ filters }); //EVENTO CAMBIO DE FILTRO PARA LA TABLA PRINCIPAL\r\nchangeFilters_secuencia = filters => this.setState({ filters_secuencia: this.state.selection_plataforma }); //EVENTO CAMBIO DE FILTRO PARA LA TABLA PRINCIPAL\r\n\r\nchangeExpandedGroups = expandedGroups =>\r\n{\r\n this.setState({ expandedGroups });\r\n};\r\n\r\nabrirmodal_vp = () => event => {\r\n this.setState({open_vp: true})\r\n}\r\n\r\nabrirmodal_agregar = () => event => {\r\n currenttitulo='Mensaje'\r\n currentnombre=''\r\n currentdescripcion=''\r\n currentbm=''\r\n currentbt=''\r\n currentcm=''\r\n currentct=''\r\n currentpaginas=''\r\n currentfuncion=''\r\n currentmensaje=''\r\n this.setState({open_agregar: true,mensaje: ''})\r\n}\r\n\r\n\r\n\r\nabrirmodal_modificar = () => event => {\r\n if(this.state.selection.length>0){\r\n this.titulooriginal = this.confirma_valor(this.state.selection[0].TITULO)\r\n this.nombreoriginal = this.confirma_valor(this.state.selection[0].NOMBRE)\r\n this.descripcionoriginal = this.confirma_valor(this.state.selection[0].DESCRIPCION)\r\n this.defaultbmoriginal = this.state.selection[0].DEFAULT_BM\r\n this.defaultcmoriginal = this.state.selection[0].DEFAULT_CM\r\n this.defaultbtoriginal = this.state.selection[0].DEFAULT_BT\r\n this.defaultctoriginal = this.state.selection[0].DEFAULT_CT\r\n this.bmoriginal = this.confirma_valor(this.state.selection[0].BACKGROUND_MENSAJE)\r\n this.cmoriginal = this.confirma_valor(this.state.selection[0].COLOR_MENSAJE)\r\n this.btoriginal = this.confirma_valor(this.state.selection[0].BACKGROUND_TITULO)\r\n this.ctoriginal = this.confirma_valor(this.state.selection[0].COLOR_TITULO)\r\n this.alineacionoriginal = this.state.selection[0].ID_ALINEACION\r\n this.plataformaoriginal = this.state.selection[0].ID_PLATAFORMA\r\n this.paginasoriginal = this.confirma_valor(this.state.selection[0].PAGINAS)\r\n this.funcionoriginal = this.confirma_valor(this.state.selection[0].NOM_FUNCION).replace('dbo.','')\r\n this.estadooriginal = this.state.selection[0].ID_ESTADO?1:0\r\n this.mensajeoriginal = this.confirma_valor(this.state.selection[0].MENSAJE)\r\n this.maxwidthoriginal = this.state.selection[0].MAX_WIDTH\r\n this.bloquear = this.state.selection[0].BLOQUEAR\r\n\r\n currenttitulo=this.confirma_valor(this.state.selection[0].TITULO)\r\n currentnombre=this.confirma_valor(this.state.selection[0].NOMBRE)\r\n currentdescripcion=this.confirma_valor(this.state.selection[0].DESCRIPCION)\r\n currentbm=this.confirma_valor(this.state.selection[0].BACKGROUND_MENSAJE)\r\n currentbt=this.confirma_valor(this.state.selection[0].BACKGROUND_TITULO)\r\n currentcm=this.confirma_valor(this.state.selection[0].COLOR_MENSAJE)\r\n currentct=this.confirma_valor(this.state.selection[0].COLOR_TITULO)\r\n currentpaginas=this.confirma_valor(this.state.selection[0].PAGINAS)\r\n currentfuncion=this.confirma_valor(this.state.selection[0].NOM_FUNCION).replace('dbo.','')\r\n currentmensaje=this.confirma_valor(this.state.selection[0].MENSAJE)\r\n \r\n this.setState({open_modificar: true,bloquear: this.state.selection[0].BLOQUEAR,max_width_mensaje: this.state.selection[0].MAX_WIDTH,defaultbm: this.state.selection[0].DEFAULT_BM,defaultbt: this.state.selection[0].DEFAULT_BT, defaultcm: this.state.selection[0].DEFAULT_CM,defaultct: this.state.selection[0].DEFAULT_CT})\r\n }\r\n}\r\n\r\nconfirma_valor(valor){\r\n if(valor!==undefined && valor!==null)\r\n return valor;\r\n else{\r\n return '';\r\n } \r\n}\r\ncerrarmodal =()=> event =>{\r\n this.setState({mensaje:'',rows_secuencia:[],open_secuencia: false, open_modificar: false,open_agregar: false, open_eliminar: false, open_mensaje: false,selection_alineacion: '', selection_plataforma: '', selection_estado: ''})\r\n}\r\n\r\n\r\nonEntering=()=>event =>{\r\n this.setState({\r\n mensaje: this.state.selection[0].MENSAJE\r\n ,titulo_mensaje:this.state.selection[0].TITULO===''?'Mensaje':this.state.selection[0].TITULO\r\n ,alineacion_mensaje: this.state.selection[0].NOM_ALINEACION\r\n ,max_width_mensaje: this.state.selection[0].MAX_WIDTH\r\n ,background_mensaje: this.state.selection[0].DEFAULT_BM?'white':this.state.selection[0].BACKGROUND_MENSAJE\r\n ,background_titulo_mensaje: this.state.selection[0].DEFAULT_BT?colores.azul:this.state.selection[0].BACKGROUND_TITULO\r\n ,color_titulo_mensaje: this.state.selection[0].DEFAULT_CT?'white':this.state.selection[0].COLOR_TITULO\r\n ,color_mesaje: this.state.selection[0].DEFAULT_CM?'black':this.state.selection[0].COLOR_MENSAJE\r\n ,nombre: this.state.selection[0].NOMBRE\r\n })\r\n}\r\n\r\nonEntering_agregar=() =>{\r\n if(this.state.open_modificar){\r\n this.setState({selection_estado: this.state.selection[0].ID_ESTADO?1:0,selection_plataforma: this.state.selection[0].ID_PLATAFORMA,selection_alineacion: this.state.selection[0].ID_ALINEACION})\r\n }\r\n else{\r\n this.setState({selection_alineacion: [1], defaultbm: true,defaultbt: true,defaultcm: true,defaultct: true})\r\n }\r\n}\r\n\r\ncerrarmodal_vp = () => event => {\r\n this.setState({open_vp:false,selection:[],mensaje:''})\r\n}\r\n\r\ncerrarmodal_mensaje = () => event => {\r\n this.setState({open_mensaje:false})\r\n}\r\n \r\ncomponentDidMount()\r\n{\r\n let _this = this;\r\n _this.actualizarbarra(false)\r\n \r\n //Auth.loggedIn().then( function(b){\r\n // _this.setState({ isLoggin: b})\r\n // if(b)\r\n this.setState({ isLoggin: Auth.getProfile().plataforma !== undefined ? true : false }, ()=>{\r\n Request.get(`${ip}/bloqueos/obtener_bloqueos_ventana/`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(10)\r\n .timeout({ response: 5000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n \r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n (async function() {\r\n funciones.showToast('e','Error de conexión');\r\n })();//FIN FUNCION ASYNC\r\n return;\r\n }\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n _this.setState({ rows: tmp, heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable}); \r\n }\r\n else\r\n {\r\n _this.setState({rows: [],heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable});\r\n }\r\n _this.actualizarbarra(true)\r\n })\r\n Request.get(`${ip}/bloqueos/obtener_alineaciones/`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(10)\r\n .timeout({ response: 5000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n\r\n if (err) { \r\n\r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n \r\n window.location.reload();\r\n return;\r\n \r\n }\r\n (async function() {\r\n //toastr.error('Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n \r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n const Datos = tmp.map((datos, i) =>\r\n \r\n {datos.NOMBRE}\r\n \r\n );\r\n \r\n _this.setState({ datos_alineaciones: Datos,alineaciones: tmp})\r\n }\r\n })\r\n Request.get(`${ip}/bloqueos/obtener_plataformas_ventana_bloqueos/`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(10)\r\n .timeout({ response: 5000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n const Datos = tmp.map((datos, i) =>\r\n \r\n {datos.DESCRIPCION}\r\n \r\n );\r\n \r\n _this.setState({ datos_plataformas: Datos}) \r\n }\r\n //_this.postData();\r\n })\r\n })\r\n}\r\n\r\nChangemaxwidth = (event) => {\r\n this.setState({value_maxwidth: event.target.value});\r\n};\r\nChangeCheckbox_defaultbt = event => {\r\n this.setState({ defaultbt: event.target.checked,bt:!event.target.checked?'':this.state.bt });\r\n}\r\nChangeCheckbox_defaultct = event => {\r\n this.setState({ defaultct: event.target.checked,ct:!event.target.checked?'':this.state.ct });\r\n}\r\nChangeCheckbox_defaultbm = event => {\r\n this.setState({ defaultbm: event.target.checked,bm:!event.target.checked?'':this.state.bm });\r\n}\r\nChangeCheckbox_defaultcm = event => {\r\n this.setState({ defaultcm: event.target.checked,cm:!event.target.checked?'':this.state.cm });\r\n}\r\nChangeCheckbox_bloquear = event => {\r\n this.setState({ bloquear: event.target.checked });\r\n}\r\nChangeSelect_alineaciones = event => {\r\n var nom='';\r\n for (let index = 0; index < this.state.alineaciones.length; index++) {\r\n const element = this.state.alineaciones[index];\r\n if(element.ID_ALINEACION===event.target.value){\r\n nom=element.NOMBRE\r\n break;\r\n }\r\n }\r\n\r\n this.setState({ selection_alineacion: event.target.value,selection_nom_alineacion: nom });\r\n}\r\nChangeSelect_plataformas = event => {\r\n\r\n let r=clone(this.state.rows)\r\n let filas=r.sort(function (a, b) { if (a.SECUENCIA > b.SECUENCIA) {return 1;}if (a.SECUENCIA < b.SECUENCIA) {return -1;}return 0;}).filter(busqueda => busqueda.ID_PLATAFORMA===event.target.value?true:false)\r\n this.setState({ selection_plataforma: event.target.value,rows_secuencia: filas,rows_secuencia_original: filas });\r\n\r\n}\r\nChangeSelect_estado = event => {\r\n this.setState({ selection_estado: event.target.value });\r\n}\r\nChange_Text_titulo= event => {\r\n this.setState({ titulorender: this.tituloRef.current.value });\r\n}\r\nChange_Text_bm= event => {\r\n this.setState({ bm: this.bmRef.current.value });\r\n}\r\nChange_Text_cm= event => {\r\n this.setState({ cm: this.cmRef.current.value });\r\n}\r\nChange_Text_bt= event => {\r\n this.setState({ bt: this.btRef.current.value });\r\n}\r\nChange_Text_ct= () => {\r\n this.setState({ ct: this.ctRef.current.value });\r\n}\r\nChange_Text_mensaje= () => {\r\n this.setState({ mensaje: this.mensajeRef.current.value });\r\n}\r\n\r\nconsulta_bloqueos(){\r\n var _this=this\r\n _this.actualizarcircular(false)\r\n Request.get(`${ip}/bloqueos/obtener_bloqueos_ventana/`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(10)\r\n .timeout({ response: 5000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n \r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n (async function() {\r\n funciones.showToast('e','Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n return;\r\n }\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n _this.setState({ rows: tmp,heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable}); \r\n }\r\n else\r\n {\r\n _this.setState({rows: [],heightTableMain: funciones.getHeightTableMain(movil_pequeño,_this).heightTable})\r\n }\r\n _this.actualizarcircular(true)\r\n })\r\n}\r\n\r\nguardar_modificar=()=>{\r\n\r\n if((this.mensajeRef.current.value.toString().trim() !== null && this.mensajeRef.current.value.toString().trim() !== '') \r\n && this.state.selection_estado!=='' && (this.funcionRef.current.value.toString().trim() !== null && this.funcionRef.current.value.toString().trim() !== '') \r\n && (this.paginasRef.current.value.toString().trim() !== null && this.paginasRef.current.value.toString().trim() !== '')\r\n &&this.state.selection_alineacion!=='' && (this.state.defaultcm===true||(this.state.defaultcm===false && this.cmRef.current.value.toString().trim() !== null \r\n && this.cmRef.current.value.toString().trim() !== ''))\r\n &&(this.state.defaultbm===true||(this.state.defaultbm===false && this.bmRef.current.value.toString().trim() !== null \r\n && this.bmRef.current.value.toString().trim() !== ''))&&(this.state.defaultct===true||(this.state.defaultct===false \r\n && this.ctRef.current.value.toString().trim() !== null && this.ctRef.current.value.toString().trim() !== ''))\r\n &&(this.state.defaultbt===true||(this.state.defaultbt===false && this.btRef.current.value.toString().trim() !== null \r\n && this.btRef.current.value.toString().trim() !== ''))&&this.state.selection_plataforma!==''\r\n &&(this.tituloRef.current.value.toString().trim() !== null && this.tituloRef.current.value.toString().trim() !== '')\r\n &&(this.nombreRef.current.value.toString().trim() !== null && this.nombreRef.current.value.toString().trim() !== '')\r\n &&(this.nombreRef.current.value.toString().trim() !== null && this.nombreRef.current.value.toString().trim() !== '')\r\n &&(this.descripcionRef.current.value.toString().trim() !== null && this.descripcionRef.current.value.toString().trim() !== '')\r\n &&(this.plataformaoriginal!==this.state.selection_plataforma || this.titulooriginal!==this.tituloRef.current.value\r\n ||this.nombreRef.current.value!==this.nombreoriginal || this.descripcionRef.current.value !== this.descripcionoriginal\r\n ||this.state.max_width_mensaje!==this.maxwidthoriginal || this.btRef.current.value !== this.btoriginal\r\n ||this.bmRef.current.value!==this.bmoriginal || this.ctRef.current.value!==this.ctoriginal||this.cmRef.current.value !== this.cmoriginal\r\n ||this.state.selection_alineacion!==this.alineacionoriginal || this.paginasRef.current.value!==this.paginasoriginal\r\n ||this.state.bloquear!==this.bloquear || this.funcionRef.current.value!==this.funcionoriginal\r\n ||this.state.selection_estado!==this.estadooriginal||this.mensajeRef.current.value!==this.mensajeoriginal\r\n )){\r\n this.setState({validado: false})\r\n this.setState({ openBackDrop: true }, ()=> { \r\n try{\r\n\r\n if(this.state.selection_estado===1){\r\n Request.get(`${ip}/bloqueos/valida_funcion/${this.funcionRef.current.value.toString().trim()}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(5)\r\n .timeout({ response: 20000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n (async function() {\r\n funciones.showToast('e','Error de conexión Función')\r\n })();//FIN FUNCION ASYNC\r\n return;\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n if(tmp[0].VALIDA===1){\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:this.state.selection[0].ID_BLOQUEOS_PAGINAS,NOMBRE:this.nombreRef.current.value.toString(),DESCRIPCION:this.descripcionRef.current.value.toString()\r\n ,TITULO:this.tituloRef.current.value.toString(),MENSAJE: this.mensajeRef.current.value.toString()//.replaceAll(\"/\",'%2F')\r\n ,ID_ALINEACION:this.state.selection_alineacion,MAX_WIDTH:this.state.max_width_mensaje,BM:this.bmRef.current.value.toString()===''?null:this.bmRef.current.value.toString()\r\n ,DEFAULT_BM:this.state.defaultbm,BT:this.btRef.current.value.toString()===''?null:this.btRef.current.value.toString(),DEFAULT_BT:this.state.defaultbt\r\n ,CT:this.ctRef.current.value.toString()===''?null:this.ctRef.current.value.toString(),DEFAULT_CT:this.state.defaultct\r\n ,CM:this.cmRef.current.value.toString()===''?null:this.cmRef.current.value.toString(),DEFAULT_CM:this.state.defaultcm\r\n ,BLOQUEAR:this.state.bloquear,PAGINAS:this.paginasRef.current.value.toString(),SECUENCIA:999,ID_PLATAFORMA:this.state.selection_plataforma\r\n ,NOM_FUNCION:'dbo.'+this.funcionRef.current.value.toString(),ESTADO:this.state.selection_estado,TIPO:2\r\n ,USUARIO: Auth.getProfile().user,LISTA_SECUENCIA:'0'})\r\n .retry(0)\r\n .timeout({ response: 20000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false , validado: true}, ()=> { \r\n funciones.showToast('e', 'Error de conexión/Modificar'); \r\n return;\r\n });\r\n return;\r\n }\r\n\r\n this.setState({ openBackDrop: false, validado: true,error:false,open_modificar: false,selection:[],selection_alineacion: '', selection_plataforma: '', selection_estado: '' }, ()=> {\r\n this.consulta_bloqueos();\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n })\r\n })\r\n }\r\n else{\r\n this.setState({openBackDrop: false,validado: true,error:true,open_mensaje:true,mensaje_mostrar: 'Nombre de función incorrecta o no existe, favor confirmar.'})\r\n \r\n }\r\n }\r\n })\r\n }\r\n else{\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:this.state.selection[0].ID_BLOQUEOS_PAGINAS,NOMBRE:this.nombreRef.current.value.toString(),DESCRIPCION:this.descripcionRef.current.value.toString()\r\n ,TITULO:this.tituloRef.current.value.toString(),MENSAJE:this.mensajeRef.current.value.toString()//.replaceAll(\"/\",'%2F')\r\n ,ID_ALINEACION:this.state.selection_alineacion,MAX_WIDTH:this.state.max_width_mensaje,BM:this.bmRef.current.value.toString()===''?null:this.bmRef.current.value.toString()\r\n ,DEFAULT_BM:this.state.defaultbm,BT:this.btRef.current.value.toString()===''?null:this.btRef.current.value.toString(),DEFAULT_BT:this.state.defaultbt\r\n ,CT:this.ctRef.current.value.toString()===''?null:this.ctRef.current.value.toString(),DEFAULT_CT:this.state.defaultct\r\n ,CM:this.cmRef.current.value.toString()===''?null:this.cmRef.current.value.toString(),DEFAULT_CM:this.state.defaultcm\r\n ,BLOQUEAR:this.state.bloquear,PAGINAS:this.paginasRef.current.value.toString(),SECUENCIA:999,ID_PLATAFORMA:this.state.selection_plataforma\r\n ,NOM_FUNCION:'dbo.'+this.funcionRef.current.value.toString(),ESTADO:0,TIPO:2\r\n ,USUARIO: Auth.getProfile().user,LISTA_SECUENCIA:'0'})\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return;\r\n }\r\n this.setState({ openBackDrop: false,validado: true,error:false,open_modificar: false,selection:[],selection_alineacion: '', selection_plataforma: '', selection_estado: ''}, ()=> { \r\n funciones.showToast('s','Información ingresada correctamente.')\r\n this.consulta_bloqueos();\r\n })\r\n })\r\n \r\n }\r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false,validado: true,error:true }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n }\r\n })\r\n }\r\n else{\r\n funciones.showToast('w',\"Confirme información ingresada.\")\r\n }\r\n}\r\n\r\nguardar_agregar=()=>{\r\n if((this.mensajeRef.current.value.toString().trim() !== null && this.mensajeRef.current.value.toString().trim() !== '') && this.state.selection_estado!=='' && (this.funcionRef.current.value.toString().trim() !== null && this.funcionRef.current.value.toString().trim() !== '') && (this.paginasRef.current.value.toString().trim() !== null && this.paginasRef.current.value.toString().trim() !== '')&&this.state.selection_alineacion!=='' && (this.state.defaultcm===true||(this.state.defaultcm===false && this.cmRef.current.value.toString().trim() !== null && this.cmRef.current.value.toString().trim() !== ''))&&(this.state.defaultbm===true||(this.state.defaultbm===false && this.bmRef.current.value.toString().trim() !== null && this.bmRef.current.value.toString().trim() !== ''))&&(this.state.defaultct===true||(this.state.defaultct===false && this.ctRef.current.value.toString().trim() !== null && this.ctRef.current.value.toString().trim() !== ''))&&(this.state.defaultbt===true||(this.state.defaultbt===false && this.btRef.current.value.toString().trim() !== null && this.btRef.current.value.toString().trim() !== ''))&&this.state.selection_plataforma!==''&&(this.tituloRef.current.value.toString().trim() !== null && this.tituloRef.current.value.toString().trim() !== '')&&(this.nombreRef.current.value.toString().trim() !== null && this.nombreRef.current.value.toString().trim() !== '')&&(this.nombreRef.current.value.toString().trim() !== null && this.nombreRef.current.value.toString().trim() !== '')&&(this.descripcionRef.current.value.toString().trim() !== null && this.descripcionRef.current.value.toString().trim() !== ''))\r\n { \r\n this.setState({validado: false})\r\n try{\r\n \r\n if(this.state.selection_estado===1){\r\n Request.get(`${ip}/bloqueos/valida_funcion/${this.funcionRef.current.value.toString().trim()}`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .retry(10)\r\n .timeout({ response: 5000, deadline: 30000, }) \r\n .end((err, res)=> {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n {\r\n window.location.reload();\r\n return; \r\n }\r\n (async function() {\r\n funciones.showToast('e','Error de conexión')\r\n })();//FIN FUNCION ASYNC\r\n return;\r\n }\r\n const tmp = JSON.parse(res.text);\r\n if(tmp.length>0){\r\n if(tmp[0].VALIDA===1){\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:null,NOMBRE:this.nombreRef.current.value.toString(),DESCRIPCION:this.descripcionRef.current.value.toString()\r\n ,TITULO:this.tituloRef.current.value.toString(),MENSAJE:this.mensajeRef.current.value.toString()//.replaceAll(\"/\",'%2F')\r\n ,ID_ALINEACION:this.state.selection_alineacion,MAX_WIDTH:this.state.max_width_mensaje,BM:this.bmRef.current.value.toString()===''?null:this.bmRef.current.value.toString()\r\n ,DEFAULT_BM:this.state.defaultbm,BT:this.btRef.current.value.toString()===''?null:this.btRef.current.value.toString(),DEFAULT_BT:this.state.defaultbt\r\n ,CT:this.ctRef.current.value.toString()===''?null:this.ctRef.current.value.toString(),DEFAULT_CT:this.state.defaultct\r\n ,CM:this.cmRef.current.value.toString()===''?null:this.cmRef.current.value.toString(),DEFAULT_CM:this.state.defaultcm\r\n ,BLOQUEAR:this.state.bloquear,PAGINAS:this.paginasRef.current.value.toString(),SECUENCIA:999,ID_PLATAFORMA:this.state.selection_plataforma\r\n ,NOM_FUNCION:'dbo.'+this.funcionRef.current.value.toString(),ESTADO:this.state.selection_estado,TIPO:1\r\n ,USUARIO:Auth.getProfile().user,LISTA_SECUENCIA:'0'})\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return;\r\n }\r\n this.setState({ openBackDrop: false, validado: true,error:false,open_agregar: false,selection:[],selection_alineacion: '', selection_plataforma: '', selection_estado: '' }, ()=> {\r\n this.consulta_bloqueos();\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n })\r\n })\r\n }\r\n else{\r\n this.setState({validado: true,error:true,open_mensaje:true,mensaje_mostrar: 'Nombre de función incorrecta o no existe, favor confirmar.'})\r\n \r\n }\r\n }\r\n })\r\n }\r\n else{\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:null,NOMBRE:this.nombreRef.current.value.toString(),DESCRIPCION:this.descripcionRef.current.value.toString()\r\n ,TITULO:this.tituloRef.current.value.toString(),MENSAJE:this.mensajeRef.current.value.toString()//.replaceAll(\"/\",'%2F')\r\n ,ID_ALINEACION:this.state.selection_alineacion,MAX_WIDTH:this.state.max_width_mensaje,BM:this.bmRef.current.value.toString()===''?null:this.bmRef.current.value.toString()\r\n ,DEFAULT_BM:this.state.defaultbm,BT:this.btRef.current.value.toString()===''?null:this.btRef.current.value.toString(),DEFAULT_BT:this.state.defaultbt\r\n ,CT:this.ctRef.current.value.toString()===''?null:this.ctRef.current.value.toString(),DEFAULT_CT:this.state.defaultct\r\n ,CM:this.cmRef.current.value.toString()===''?null:this.cmRef.current.value.toString(),DEFAULT_CM:this.state.defaultcm\r\n ,BLOQUEAR:this.state.bloquear,PAGINAS:this.paginasRef.current.value.toString(),SECUENCIA:999,ID_PLATAFORMA:this.state.selection_plataforma\r\n ,NOM_FUNCION:'dbo.'+this.funcionRef.current.value.toString(),ESTADO:0,TIPO:1\r\n ,USUARIO:Auth.getProfile().user,LISTA_SECUENCIA:'0'})\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return; \r\n }\r\n this.setState({ openBackDrop: false, validado: true,error:false,open_agregar: false,selection:[],selection_alineacion: '', selection_plataforma: '', selection_estado: '' }, ()=> {\r\n this.consulta_bloqueos();\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n })\r\n })\r\n }\r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false,validado: true,error:true }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n }\r\n }\r\n else{\r\n funciones.showToast('w','Confirme la información ingresada.')\r\n }\r\n}\r\n\r\nguardar_secuencia=()=>{\r\n if(this.state.rows_secuencia.length>0)\r\n {\r\n var cadena=''\r\n this.state.rows_secuencia.forEach((value,index)=>{\r\n if(index===0)\r\n {\r\n cadena=cadena+value.ID_BLOQUEOS_PAGINAS \r\n }\r\n else\r\n {\r\n cadena=cadena+','+value.ID_BLOQUEOS_PAGINAS \r\n }\r\n \r\n })\r\n if(this.state.rows_secuencia!==this.state.rows_secuencia_original)\r\n {\r\n try{\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:null,NOMBRE:'',DESCRIPCION:''\r\n ,TITULO:'',MENSAJE:'',ID_ALINEACION:0,MAX_WIDTH:'',BM:''\r\n ,DEFAULT_BM:0,BT:'',DEFAULT_BT:0\r\n ,CT:'',DEFAULT_CT:0\r\n ,CM:'',DEFAULT_CM:0\r\n ,BLOQUEAR:0,PAGINAS:'',SECUENCIA:0,ID_PLATAFORMA:this.state.selection_plataforma\r\n ,NOM_FUNCION:'',ESTADO:0,TIPO:4\r\n ,USUARIO:Auth.getProfile().user,LISTA_SECUENCIA:cadena})\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return; \r\n }\r\n this.setState({ openBackDrop: false, validado: true,error:false,open_secuencia: false,rows_secuencia:[],selection_plataforma:[] }, ()=> {\r\n this.consulta_bloqueos();\r\n funciones.showToast('s','Información ingresada correctamente.')\r\n })\r\n })\r\n }\r\n catch(ex){\r\n this.setState({ openBackDrop: false,validado: true,error:true }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n }\r\n }\r\n }\r\n}\r\n\r\neliminar =()=>{\r\n this.setState({ openBackDrop: false }, ()=> { \r\n try{\r\n new Request.post(`${globales.ip}/bloqueos/IUD_bloqueos_paginas`)\r\n .set({'authorization': 'Bearer ' + Auth.getToken() })\r\n .set('Content-Type', 'application/json')\r\n .send({ID_BLOQUEOS_PAGINAS:this.state.selection[0].ID_BLOQUEOS_PAGINAS\r\n ,NOMBRE:'',DESCRIPCION:''\r\n ,TITULO:'',MENSAJE:'',ID_ALINEACION:0,MAX_WIDTH:'',BM:''\r\n ,DEFAULT_BM:0,BT:'',DEFAULT_BT:0\r\n ,CT:'',DEFAULT_CT:0\r\n ,CM:'',DEFAULT_CM:0\r\n ,BLOQUEAR:0,PAGINAS:'',SECUENCIA:0,ID_PLATAFORMA:0\r\n ,NOM_FUNCION:'',ESTADO:0,TIPO:3\r\n ,USUARIO:Auth.getProfile().user,LISTA_SECUENCIA:'0'})\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000, }) \r\n .end((err, res) => {\r\n if (err) { \r\n if (err.toString().substr(0,16) === 'Error: Forbidden')\r\n { \r\n window.location.reload();\r\n return; \r\n } \r\n this.setState({ openBackDrop: false }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n return; \r\n }\r\n this.setState({ openBackDrop: false, validado: true,open_eliminar: false, selection: [] }, ()=> {\r\n this.consulta_bloqueos();\r\n funciones.showToast('s','Bloqueo eliminado correctamente.')\r\n })\r\n })\r\n }\r\n catch{\r\n this.setState({ openBackDrop: false,validado: true,error:true }, ()=> { \r\n funciones.showToast('e', 'Error de conexión'); \r\n });\r\n }\r\n})\r\n}\r\n\r\nabrirmodal_eliminar=()=>event=>{\r\n if(this.state.selection.length>0)\r\n {\r\n if(this.state.selection[0].ESTADO==='Inactivo') \r\n this.setState({open_eliminar: true})\r\n else\r\n funciones.showToast('w','Bloqueo debe estar inactivo para eliminar.')\r\n }\r\n}\r\n\r\nabrirmodal_secuencia=()=>event=>{\r\n\r\n this.setState({open_secuencia: true})\r\n \r\n}\r\n\r\nonclose_snackbar=()=>{\r\n this.setState({open_snackbar: false})\r\n}\r\n\r\nChangecheckedvp = (event) => {\r\n this.setState({ checkedvp: event.target.checked });\r\n};\r\n\r\nmoverabajo= (secuencia)=>event => {\r\n console.log(secuencia)\r\n var filass=this.state.rows_secuencia\r\n filass.forEach((value,index)=>{\r\n if(value.SECUENCIA===secuencia)\r\n filass[index].SECUENCIA=secuencia+1\r\n else\r\n if(value.SECUENCIA-1===secuencia)\r\n filass[index].SECUENCIA=secuencia\r\n else\r\n filass[index].SECUENCIA=index+1\r\n})\r\n\r\n var filas_ordenadas= filass.sort(function (a, b) { if (a.SECUENCIA > b.SECUENCIA) {return 1;}if (a.SECUENCIA < b.SECUENCIA) {return -1;}return 0;})\r\n var meter=[]\r\n filas_ordenadas.forEach((value,index)=>{\r\n meter.push(value)\r\n })\r\n this.setState({rows_secuencia: meter })\r\n}\r\n\r\nmoverarriba= (secuencia)=>event => {;\r\n var filas=this.state.rows_secuencia\r\n filas.forEach((value,index)=>{\r\n if(value.SECUENCIA===secuencia)\r\n filas[index].SECUENCIA=secuencia-1\r\n else\r\n if(value.SECUENCIA+1===secuencia)\r\n filas[index].SECUENCIA=secuencia\r\n else\r\n filas[index].SECUENCIA=index+1\r\n })\r\n var filas_ordenadas= filas.sort(function (a, b) { if (a.SECUENCIA > b.SECUENCIA) {return 1;}if (a.SECUENCIA < b.SECUENCIA) {return -1;}return 0;})\r\n var meter=[]\r\n filas_ordenadas.forEach((value,index)=>{\r\n meter.push(value)\r\n })\r\n this.setState({rows_secuencia: meter })\r\n}\r\n\r\n/* RENDER */\r\nrender() {\r\n\r\n const { classes } = this.props;\r\n let arraybc =[{name: 'bt',formlabel: 'Fondo Titulo',valueform: 'Defaultbt',onChange: this.ChangeCheckbox_defaultbt,labelcontrol:'',change: this.Change_Text_bt\r\n ,idtext:'btitulo',labeltext:'Fondo Titulo',nametext:'btitulo',current:currentbt,ref:this.btRef,valuestate:this.state.defaultbt}\r\n ,{name: 'ct',formlabel: 'Color Titulo',valueform: 'Defaultct',onChange: this.ChangeCheckbox_defaultct,labelcontrol:'',change: this.Change_Text_ct\r\n ,idtext:'ctitulo',labeltext:'Color Titulo',nametext:'ctitulo',current:currentct,ref:this.ctRef,valuestate:this.state.defaultct}\r\n ,{name: 'bm',formlabel: 'Fondo Mensaje',valueform: 'Defaultbm',onChange: this.ChangeCheckbox_defaultbm,labelcontrol:'',change: this.Change_Text_bm\r\n ,idtext:'bmensaje',labeltext:'Fondo Mensaje',nametext:'bmensaje',current:currentbm,ref:this.bmRef,valuestate:this.state.defaultbm}\r\n ,{name: 'cm',formlabel: 'Color Mensaje',valueform: 'Defaultcm',onChange: this.ChangeCheckbox_defaultcm,labelcontrol:'',change: this.Change_Text_cm\r\n ,idtext:'cmensaje',labeltext:'Color Mensaje',nametext:'cmensaje',current:currentcm,ref:this.cmRef,valuestate:this.state.defaultcm}\r\n ]\r\n\r\n const botones = [\r\n {icono: 'Add', toolt: 'Agregar un bloqueo', nombre: 'Agregar' ,escritura:true, onclick: this.abrirmodal_agregar()\r\n , display: 'auto'},\r\n {icono: 'Edit', toolt: 'Modificar un bloqueo', nombre: 'Modificar' ,escritura:true, onclick: this.abrirmodal_modificar()\r\n , display:'auto'},\r\n {icono: 'Delete', toolt: 'Eliminar un bloqueo', nombre: 'Eliminar' ,escritura:true, onclick: this.abrirmodal_eliminar()\r\n , color: colores.naranja, display: 'auto'},\r\n {icono: 'List', toolt: 'Prioridad de Bloqueos', nombre: 'Secuencia' ,escritura:true, onclick: this.abrirmodal_secuencia()\r\n ,color:'#4D971B', display: 'auto'},\r\n ]\r\n const botones_agregar = [\r\n {icono: 'Save', nombre: 'Guardar',escritura:true,onclick: this.guardar_agregar\r\n , display:'auto'},\r\n {icono: 'Close', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n const botones_modificar = [\r\n {icono: 'Save', nombre: 'Guardar',escritura:true,onclick: this.guardar_modificar\r\n , display:'auto'},\r\n {icono: 'Close', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n const botones_secuencia = [\r\n {icono: 'Save', nombre: 'Guardar',escritura:true,onclick: this.guardar_secuencia\r\n , display:'auto'},\r\n {icono: 'Close', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_eliminar =[\r\n {icono: 'Delete', toolt: 'Eliminar', nombre: 'Eliminar',onclick: this.eliminar , display:'auto'},\r\n {icono: 'Close', toolt: 'Cerrar', nombre: 'Cerrar' ,onclick: this.cerrarmodal(), display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_bloqueo =[\r\n {icono: 'Close', nombre: 'Cerrar' , onclick: this.cerrarmodal_vp(),display:'auto', color: 'red'},\r\n ]\r\n\r\n const botones_mensaje =[\r\n {icono: 'Close', nombre: 'Cerrar' , onclick: this.cerrarmodal_mensaje(),display:'auto', color: 'red'},\r\n ]\r\n\r\n\r\n if (this.state.isLoggin === true )\r\n {\r\n return ( \r\n
\r\n \r\n \r\n {this.state.open_agregar||this.state.open_modificar?'Guardando...':this.state.open_eliminar?'Eliminando...':''}\r\n \r\n \r\n \r\n Confirme información ingresada.\r\n \r\n \r\n \r\n \r\n Prioridad de Bloqueos\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n ),}} \r\n style={{marginRight:0}}\r\n />\r\n \r\n \r\n \r\n Ancho Ventana\r\n \r\n } label=\"xs\" />\r\n } label=\"sm\" />\r\n } label=\"md\" />\r\n } label=\"lg\" />\r\n } label=\"xl\" />\r\n \r\n \r\n {\r\n arraybc.map((item,index) =>{\r\n return(\r\n \r\n
\r\n }\r\n label={item.labelcontrol}\r\n labelPlacement=\"end\"\r\n style={{paddingLeft:0,paddingRight:0,paddingTop:5,paddingBottom:5,margin:0,marginTop:8}}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n ),}} \r\n style={{marginRight: 0,width: movil_pequeño?200:'70%'}}\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 placeholder=\"Cuerpo del mensaje (Permite html).\"\r\n defaultValue={currentmensaje} style={{marginTop:8}}\r\n />\r\n \r\n {!movil_pequeño && this.state.checkedvp?\r\n \r\n
\r\n {'Vista Previa'} \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n {this.state.titulorender}\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n {this.state.validado?\r\n \r\n :\r\n }\r\n
\r\n :null\r\n }\r\n \r\n \r\n {movil_pequeño || !this.state.checkedvp?\r\n
\r\n {/**/}\r\n {this.state.validado?\r\n :\r\n }\r\n {/**/}\r\n
\r\n :null\r\n }\r\n \r\n \r\n \r\n {'Vista Previa'}\r\n \r\n \r\n \r\n \r\n \r\n {this.state.nombre}\r\n \r\n
\r\n
\r\n \r\n {this.state.titulo_mensaje}\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n }\r\n VirtualTable_cellComponent={this.VirtualTable_cellComponent(this.abrirmodal_vp)}\r\n showSelectionColumn={false}\r\n />\r\n
\r\n
\r\n ); /// finaliza return\r\n }\r\n else if (this.state.isLoggin === false)\r\n {\r\n Auth.logout()\r\n window.location.reload();\r\n return; \r\n }\r\n\r\n\r\n return null;\r\n} /// finaliza render\r\n} /// finaliza class\r\n)/// finaliza withStyles"],"sourceRoot":""}