{"version":3,"sources":["webpack:///./src/components/tablas/administracion/roles_tabs/permisosPorRolesTab.vue?82fd","webpack:///./src/components/common/DataTableRoles.vue?4d80","webpack:///./node_modules/keen-ui/src/UiSwitch.vue","webpack:///node_modules/keen-ui/src/UiSwitch.vue","webpack:///./node_modules/keen-ui/src/UiSwitch.vue?f889","webpack:///./node_modules/keen-ui/src/UiSwitch.vue?c747","webpack:///./node_modules/keen-ui/src/UiSwitch.vue?5ae4","webpack:///./src/views/administracion/RolesPage.vue","webpack:///./src/components/tablas/administracion/ListadoRolesTabla.vue","webpack:///./src/components/modals/administracion/roles/InformacionGeneralRolesModal.vue","webpack:///src/components/modals/administracion/roles/InformacionGeneralRolesModal.vue","webpack:///./src/components/modals/administracion/roles/InformacionGeneralRolesModal.vue?c50e","webpack:///./src/components/modals/administracion/roles/InformacionGeneralRolesModal.vue?b0c7","webpack:///./src/components/tablas/administracion/roles_tabs/permisosPorRolesTab.vue","webpack:///src/components/tablas/administracion/roles_tabs/permisosPorRolesTab.vue","webpack:///./src/components/tablas/administracion/roles_tabs/permisosPorRolesTab.vue?e187","webpack:///./src/components/tablas/administracion/roles_tabs/permisosPorRolesTab.vue?c5d0","webpack:///./src/components/tablas/administracion/roles_tabs/rolesTab.vue","webpack:///./src/components/common/DataTableRoles.vue","webpack:///./src/components/modals/administracion/roles/AdministracionRolesModel.vue","webpack:///src/components/modals/administracion/roles/AdministracionRolesModel.vue","webpack:///./src/components/modals/administracion/roles/AdministracionRolesModel.vue?b92d","webpack:///./src/components/modals/administracion/roles/AdministracionRolesModel.vue?5552","webpack:///src/components/common/DataTableRoles.vue","webpack:///./src/components/common/DataTableRoles.vue?ceca","webpack:///./src/components/common/DataTableRoles.vue?6cca","webpack:///./src/components/modals/administracion/roles/AgregarRolModal.vue","webpack:///src/components/modals/administracion/roles/AgregarRolModal.vue","webpack:///./src/components/modals/administracion/roles/AgregarRolModal.vue?366d","webpack:///./src/components/modals/administracion/roles/AgregarRolModal.vue?aba2","webpack:///src/components/tablas/administracion/roles_tabs/rolesTab.vue","webpack:///./src/components/tablas/administracion/roles_tabs/rolesTab.vue?912b","webpack:///./src/components/tablas/administracion/roles_tabs/rolesTab.vue?3e36","webpack:///src/components/tablas/administracion/ListadoRolesTabla.vue","webpack:///./src/components/tablas/administracion/ListadoRolesTabla.vue?0abb","webpack:///./src/components/tablas/administracion/ListadoRolesTabla.vue?f44f","webpack:///src/views/administracion/RolesPage.vue","webpack:///./src/views/administracion/RolesPage.vue?1ea4","webpack:///./src/views/administracion/RolesPage.vue?6795","webpack:///./src/components/modals/administracion/roles/AdministracionRolesModel.vue?1457","webpack:///./src/components/modals/administracion/roles/AgregarRolModal.vue?d6fc","webpack:///./src/constants/superadministrador.js"],"names":["render","_vm","this","_c","_self","staticClass","class","classes","ref","attrs","disabled","name","tabindex","domProps","isChecked","submittedValue","on","onBlur","onClick","onFocus","_m","label","$slots","default","_t","_v","_s","_e","staticRenderFns","props","String","Number","value","required","trueValue","falseValue","type","checked","Boolean","color","switchPosition","data","isActive","looseEqual","initialValue","computed","watch","created","$emit","methods","focus","$refs","input","e","isCheckedPrevious","target","component","dataDatatable","getDataRoles","staticStyle","loadingTable","data_prop","full_data","get_roles","dataInformacionGeneral","$event","actionSetvisibleModalInformacionGeneral","components","UiModal","mapState","mapActions","openModal","open","closeModal","close","visibleModalInformacionGeneral","_new","dataRoles","rolFilter","model","rolSeleccionadoModel","callback","$$v","expression","dataModulos","validatedModule","moduleFilter","moduloSeleccionadoModel","dataSecciones","validatedSection","sectionFilter","seccionesModel","dataSubSecciones","validatedSubSection","subseccionesModel","nativeOn","agregarFila","apply","arguments","resetFilters","isSend","guardar","acciones","length","headers","data_visual","obtenerFilaSeleccionada","dataFixed","Button","UiSelect","DataTable","modulos","filter","element","generarBotonesAcciones","id","secciones","section","id_module","cargarSubSecciones","subsecciones","filtro","id_padre","updatePermissions","data_fila_visual","id_rol","id_seccion","id_subseccion","role_name","push","data_complementaria","id_structure_rol","is_active","is_new","map","icon","title","accion","$vToastify","prompt","body","answers","Si","No","then","removeRolStructure","obtenerDataPermisosRoles","success","$delete","filtrarTabla","item","dataTemp","rol","permisosRoles","getPermisosRoles","notDeletedRoles","sql","saveRolStructure","roles","deleted","dataTableAux","isLoading","nombreTabla","_l","index","key","dataAux","item_data","index_data","items_icons","index_icons","active","item_acciones","index_2","filaSeleccionada","estado","style","border","cambiarEstadoSeccion","$set","subitem","indexSub","cambiarEstadoSubSeccion","UiSwitch","obtenerSeccionesYsubSecciones","data_seccion","data_subseccion","seccion","Object","keys","subseccion","id_modulo","id_structure","id_section","mounted","Array","paginacion","max","buscar","idtabla","seleccionar","Function","loading","accionesAux","AdministracionRolesModal","configuracionDatatable","me","ActionSetLoading","abrirModal","name_madule","console","log","setTimeout","invalidName","addRoleForm","onHandleSubmitRole","UiTextbox","createRole","resetDataTable","DataTableRoles","AgregarRolModal","Loading","newActions","idRol","fila","result","changeRoleStatus","removeRole","data_table","getRoles","actionSetDataRoles","nombreModel","InformacionGeneralRolesModal","UiTabs","UiTab","PermisosPorRolesTab","RolesTab","ListadoRolesTabla","actualizarURL","AccionCambiar","$route","path","dataRolesDB","dataDatatableRolesFiltrada","dataDatatableRoles","getModulos","axios","get","RUTA_SERVIDOR_BACKEND","Accept","Authorization","localStorage","getItem","saveModulos","async","dataResponse","estadoResponse","post","iconoModel","status","catch","response","error","updateModulos","put","deleteModulo","delete","activarDesactivarModulo","getSecciones","getSubSecciones","saveSeccion","name_reference","referenciaModel","moduloModel","updateSeccion","deleteSeccion","saveSubSeccion","id_parent","updateSubSeccion","activarDesactivarSubSeccion","deleteSubSeccion","activarDesactivarSeccion","err","tipo","getModulesSections","createRolStructureByUser","payload"],"mappings":"yJAAA,W,6DCAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,QAAQ,CAACE,YAAY,YAAYC,MAAML,EAAIM,SAAS,CAACJ,EAAG,MAAM,CAACE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zF,EAAU,IAAI6B,MAyBlB,aAvBMmD,IACHW,KACIT,OAAF,YACD,CACE/M,OACAkP,QAEF,CACEnL,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,YAInD5G,MAAK,UAAU,OAAEmH,IAChBJ,EAAeI,KAEhBC,MAAM,EAAGC,eACRN,EAAeM,EAAS5N,OAG5B6H,EAAQrC,KAAK,CAAExF,KAAMsN,IAEdzF,EAAQ,IAGJsH,EAAqB9B,eAC1BR,IAAMC,IAAOC,OAAF,sBAA6C,CAC5DhJ,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,YAKvCiC,EAA2B/B,eAChCR,IAAMW,KAAQT,OAAF,6BAAqDsC,EAAS,CAC9EtL,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,YAKvCnC,EAAaqC,eAClBR,IAAMW,KAAQT,OAAF,cAAsCsC,EAAS,CAC/DtL,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,YAKvCzB,EAAa2B,eAClBR,IAAMW,KAAQT,OAAF,cAAsCsC,EAAS,CAC/DtL,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,YAKvC1B,EAAmB4B,eACxBR,IAAMW,KAAQT,OAAF,oBAA4CsC,EAAS,CACrEtL,QAAS,CACPiJ,OAAQ,mBACRC,cAAgB,UAASC,aAAaC,QAAQ,a","file":"js/roles.852d67e6.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./permisosPorRolesTab.vue?vue&type=style&index=0&id=91d8a5ae&prod&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableRoles.vue?vue&type=style&index=0&id=c9d54fde&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('label',{staticClass:\"ui-switch\",class:_vm.classes},[_c('div',{staticClass:\"ui-switch__input-wrapper\"},[_c('input',{ref:\"input\",staticClass:\"ui-switch__input\",attrs:{\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"name\":_vm.name,\"tabindex\":_vm.tabindex},domProps:{\"checked\":_vm.isChecked,\"value\":_vm.submittedValue},on:{\"blur\":_vm.onBlur,\"click\":_vm.onClick,\"focus\":_vm.onFocus}}),_c('div',{staticClass:\"ui-switch__track\"}),_vm._m(0)]),(_vm.label || _vm.$slots.default)?_c('div',{staticClass:\"ui-switch__label-text\"},[_vm._t(\"default\",function(){return [_vm._v(_vm._s(_vm.label))]})],2):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"ui-switch__thumb\"},[_c('div',{staticClass:\"ui-switch__focus-ring\"})])\n}]\n\nexport { render, staticRenderFns }","\n \n \n \n\n \n\n \n \n \n \n\n \n {{ label }}\n \n \n\n\n\n\n\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--13-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./UiSwitch.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--13-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./UiSwitch.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UiSwitch.vue?vue&type=template&id=66201bea\"\nimport script from \"./UiSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./UiSwitch.vue?vue&type=script&lang=js\"\nimport style0 from \"./UiSwitch.vue?vue&type=style&index=0&id=66201bea&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--9-oneOf-1-2!../../sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./UiSwitch.vue?vue&type=style&index=0&id=66201bea&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('listado-roles-tabla',{attrs:{\"data_prop\":_vm.dataDatatable,\"full_data\":_vm.data,\"get_roles\":_vm.getDataRoles}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"border-top\":\"solid 1px #d8d8d8\"}},[_c('div',{staticClass:\"d-flex flex-column p-3\"},[(_vm.loadingTable)?_c('div',{staticClass:\"d-flex justify-content-center w-100\",staticStyle:{\"margin-top\":\"110px\"}},[_c('loading')],1):_vm._e(),_c('ui-tabs',{attrs:{\"fullwidth\":true}},[_c('ui-tab',{attrs:{\"title\":'Roles'}},[_c('roles-tab',{attrs:{\"data_prop\":_vm.data_prop,\"full_data\":_vm.full_data,\"get_roles\":_vm.get_roles}})],1),_c('ui-tab',{attrs:{\"title\":'Permisos por roles'}},[_c('permisos-por-roles-tab',{attrs:{\"data_prop\":_vm.data_prop,\"full_data\":_vm.full_data}})],1)],1)],1),_c('informacion-general-roles-modal',{attrs:{\"data\":_vm.dataInformacionGeneral}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('ui-modal',{ref:\"modal\",attrs:{\"title\":`Información General Rol`,\"size\":\"large\"},on:{\"close\":function($event){return _vm.actionSetvisibleModalInformacionGeneral(false)}}},[_c('div',{staticClass:\"d-flex flex-column\"},[_c('h6',[_vm._v(\"Información General Rol\")])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n Información General Rol\n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformacionGeneralRolesModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformacionGeneralRolesModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./InformacionGeneralRolesModal.vue?vue&type=template&id=0e0948bd\"\nimport script from \"./InformacionGeneralRolesModal.vue?vue&type=script&lang=js\"\nexport * from \"./InformacionGeneralRolesModal.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"d-flex w-100\"},[_c('ui-select',{staticClass:\"w-50 mr-2\",attrs:{\"has-search\":\"\",\"label\":\"Roles\",\"placeholder\":\"Seleccionar Rol\",\"searchPlaceholder\":\"Buscar\",\"options\":_vm.dataRoles,\"keys\":{ value: 'id', label: 'name' }},on:{\"change\":function($event){return _vm.rolFilter($event)}},model:{value:(_vm.rolSeleccionadoModel),callback:function ($$v) {_vm.rolSeleccionadoModel=$$v},expression:\"rolSeleccionadoModel\"}}),_c('ui-select',{staticClass:\"w-50 mr-2\",attrs:{\"has-search\":\"\",\"label\":\"Módulos\",\"placeholder\":\"Seleccionar módulo\",\"searchPlaceholder\":\"Buscar\",\"options\":_vm.dataModulos,\"keys\":{ value: 'id', label: 'name' },\"disabled\":_vm.validatedModule},on:{\"change\":function($event){return _vm.moduleFilter($event)}},model:{value:(_vm.moduloSeleccionadoModel),callback:function ($$v) {_vm.moduloSeleccionadoModel=$$v},expression:\"moduloSeleccionadoModel\"}}),_c('ui-select',{staticClass:\"w-50 mr-2\",attrs:{\"has-search\":\"\",\"label\":\"Secciones\",\"placeholder\":\"Seleccionar sección\",\"options\":_vm.dataSecciones,\"searchPlaceholder\":\"Buscar\",\"keys\":{ value: 'id', label: 'name' },\"disabled\":_vm.validatedSection},on:{\"change\":function($event){return _vm.sectionFilter($event)}},model:{value:(_vm.seccionesModel),callback:function ($$v) {_vm.seccionesModel=$$v},expression:\"seccionesModel\"}}),_c('ui-select',{staticClass:\"w-50 mr-2\",attrs:{\"has-search\":\"\",\"label\":\"Sub Secciones\",\"placeholder\":\"Seleccionar subsección\",\"options\":_vm.dataSubSecciones,\"searchPlaceholder\":\"Buscar\",\"disabled\":_vm.validatedSubSection,\"keys\":{ value: 'id', label: 'name' }},model:{value:(_vm.subseccionesModel),callback:function ($$v) {_vm.subseccionesModel=$$v},expression:\"subseccionesModel\"}}),_c('Button',{staticClass:\"mt-2 mr-1\",attrs:{\"size\":20,\"color\":\"#2ECC71\",\"colorText\":\"#ffffff\",\"icon\":\"fas fa-plus\",\"round\":\"\",\"width\":37,\"traslate\":\"\",\"title\":\"Agregar nuevo permiso\"},nativeOn:{\"click\":function($event){return _vm.agregarFila.apply(null, arguments)}}}),_c('Button',{staticClass:\"mt-2 mb-3\",attrs:{\"size\":20,\"color\":\"#EC7063\",\"colorText\":\"#ffffff\",\"icon\":\"far fa-trash-alt\",\"round\":\"\",\"width\":37,\"traslate\":\"\",\"title\":\"Limpiar campos\"},nativeOn:{\"click\":function($event){return _vm.resetFilters.apply(null, arguments)}}})],1),_c('div',{staticStyle:{\"position\":\"absolute\",\"z-index\":\"2\"}},[(!_vm.isSend)?_c('Button',{staticClass:\"mt-2 mb-3\",attrs:{\"size\":20,\"color\":\"#0E8ECE\",\"colorText\":\"#ffffff\",\"icon\":\"far fa-save\",\"round\":\"\",\"width\":170,\"height\":35,\"horizontal\":\"\",\"traslate\":\"\",\"title\":\"Guardar\",\"text\":\"Guardar permisos\"},nativeOn:{\"click\":function($event){return _vm.guardar.apply(null, arguments)}}}):_c('div',{staticClass:\"d-flex justify-content-center align-items-center mt-2 mb-3 permisos-por-roles__enviando-datos\"},[_c('i',{staticClass:\"far fa-save mr-2\",staticStyle:{\"font-size\":\"20px\"}}),_vm._v(\" Enviado datos \")])],1),(_vm.acciones.length > 0)?_c('data-table',{staticClass:\"mt-3\",attrs:{\"headers\":_vm.headers,\"data\":_vm.data_visual,\"acciones\":_vm.acciones,\"max\":10,\"paginacion\":\"\",\"buscar\":\"\",\"idtabla\":\"permisos_por_roles\",\"seleccionar\":_vm.obtenerFilaSeleccionada}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n\n \n \n \n\n \n \n \n \n\n \n \n Enviado datos\n \n \n\n \n 0\" :headers=\"headers\" :data=\"data_visual\" :acciones=\"acciones\"\n :max=\"10\" paginacion buscar idtabla=\"permisos_por_roles\" :seleccionar=\"obtenerFilaSeleccionada\" />\n \n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./permisosPorRolesTab.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./permisosPorRolesTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./permisosPorRolesTab.vue?vue&type=template&id=91d8a5ae\"\nimport script from \"./permisosPorRolesTab.vue?vue&type=script&lang=js\"\nexport * from \"./permisosPorRolesTab.vue?vue&type=script&lang=js\"\nimport style0 from \"./permisosPorRolesTab.vue?vue&type=style&index=0&id=91d8a5ae&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"d-flex flex-row flex-wrap justify-content-start mb-2\"},[_c('div',{staticStyle:{\"position\":\"relative\",\"z-index\":\"5\"}},[_c('div',{staticClass:\"d-flex\",staticStyle:{\"position\":\"absolute\"}},[_c('agregar-rol-modal',{attrs:{\"full_data\":_vm.full_data,\"get_roles\":_vm.get_roles}})],1)]),(_vm.acciones.length > 0)?_c('data-table-roles',{staticClass:\"mt-5\",attrs:{\"headers\":_vm.headers,\"data\":_vm.dataTableAux,\"max\":10,\"paginacion\":\"\",\"buscar\":\"\",\"acciones\":_vm.acciones,\"idtabla\":\"roles\",\"seleccionar\":_vm.obtenerFilaSeleccionada}}):_vm._e(),(_vm.isLoading)?_c('Loading',{staticClass:\"justify-content-center w-100 pt-5\"}):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-100\"},[_c('table',{staticClass:\"table table-bordered table-striped\",attrs:{\"id\":_vm.nombreTabla}},[_c('thead',[_c('tr',[_c('th',[_vm._v(\"#\")]),_vm._l((_vm.headers),function(item,index){return _c('th',{key:index},[_vm._v(\" \"+_vm._s(item)+\" \")])})],2)]),_c('tbody',_vm._l((_vm.dataAux),function(item,index){return _c('tr',{key:index},[_c('td',{domProps:{\"textContent\":_vm._s(index + 1)}}),_vm._l((item.data),function(item_data,index_data){return _c('td',{key:index_data,domProps:{\"textContent\":_vm._s(item_data)}})}),(item.data_complementaria.modulos)?_c('td',[_c('div',{staticClass:\"d-flex align-items-center mt-1\"},_vm._l((item.data_complementaria\n .modulos),function(items_icons,index_icons){return _c('AdministracionRolesModal',{key:index_icons,attrs:{\"icon\":items_icons.icon,\"title\":items_icons.name,\"estado\":items_icons.active,\"id_modulo\":items_icons.id_module,\"secciones\":item.data_complementaria.secciones != []\n ? item.data_complementaria.secciones\n : [],\"subsecciones\":item.data_complementaria.subsecciones}})}),1)]):_c('td'),(_vm.acciones.length > 0)?_c('td',_vm._l((_vm.acciones[index]),function(item_acciones,index_2){return _c('a',{key:index_2,staticClass:\"btn btn-sm\",on:{\"click\":function($event){return _vm.filaSeleccionada(item_acciones.id, item_acciones.title)}}},[_c('i',{class:item_acciones.icon,attrs:{\"title\":item_acciones.title}})])}),0):_vm._e()],2)}),0)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('Button',{staticClass:\"mr-1\",attrs:{\"size\":13,\"color\":_vm.estado ? '#39ac39' : '#888888',\"colorText\":\"#ffffff\",\"title\":_vm.title,\"icon\":_vm.icon,\"round\":\"\",\"width\":28,\"traslate\":\"\"},nativeOn:{\"click\":function($event){return _vm.openModal('modal')}}}),_c('ui-modal',{ref:\"modal\",attrs:{\"title\":'Administrar secciones de ' + _vm.title}},_vm._l((_vm.dataSecciones),function(item,index){return _c('div',{key:index,staticClass:\"contenedor-swicth\",style:([\n item.active\n ? { border: '1.3px solid rgb(83, 214, 43)' }\n : { border: '1.3px solid grey' },\n ])},[_c('ui-switch',{attrs:{\"label\":item.name,\"switch-position\":\"right\"},on:{\"change\":function($event){return _vm.cambiarEstadoSeccion(index, item.active)}},model:{value:(item.active),callback:function ($$v) {_vm.$set(item, \"active\", $$v)},expression:\"item.active\"}}),_vm._l((item.subsecciones),function(subitem,indexSub){return _c('div',{key:indexSub},[(indexSub == 0)?_c('div',{style:([\n subitem.active\n ? { border: '1.3px solid rgb(83, 214, 43)' }\n : { border: '1.3px solid grey' },\n ])}):_vm._e(),_c('ui-switch',{staticClass:\"ml-3 px-2 py-3\",style:([indexSub == 0 ? { 'margin-top': '15px' } : '']),attrs:{\"label\":subitem.name,\"switch-position\":\"right\"},on:{\"change\":function($event){return _vm.cambiarEstadoSubSeccion(index, indexSub, subitem.active)}},model:{value:(subitem.active),callback:function ($$v) {_vm.$set(subitem, \"active\", $$v)},expression:\"subitem.active\"}})],1)})],2)}),0)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministracionRolesModel.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministracionRolesModel.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AdministracionRolesModel.vue?vue&type=template&id=7e1add2b\"\nimport script from \"./AdministracionRolesModel.vue?vue&type=script&lang=js\"\nexport * from \"./AdministracionRolesModel.vue?vue&type=script&lang=js\"\nimport style0 from \"./AdministracionRolesModel.vue?vue&type=style&index=0&id=7e1add2b&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n \n \n \n \n \n #\n \n {{ item }}\n \n \n \n\n \n \n \n \n \n\n \n \n\n \n \n \n \n \n \n \n \n\n \n\n \n 0\">\n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableRoles.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableRoles.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DataTableRoles.vue?vue&type=template&id=c9d54fde\"\nimport script from \"./DataTableRoles.vue?vue&type=script&lang=js\"\nexport * from \"./DataTableRoles.vue?vue&type=script&lang=js\"\nimport style0 from \"./DataTableRoles.vue?vue&type=style&index=0&id=c9d54fde&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('Button',{staticClass:\"mt-2 mb-3 mr-2\",attrs:{\"size\":15,\"color\":\"#2da44e\",\"colorText\":\"#ffffff\",\"tooltip\":\"Agregar Rol\",\"icon\":\"fas fa-plus\",\"round\":\"\",\"width\":30,\"traslate\":\"\"},nativeOn:{\"click\":function($event){return _vm.openModal('modal')}}}),_c('ui-modal',{ref:\"modal\",attrs:{\"title\":\"Agregar Rol\"}},[_c('div',{staticClass:\"add-role\"},[_c('ui-textbox',{staticClass:\"w-100\",attrs:{\"floating-label\":\"\",\"label\":\"Nombre del rol\",\"invalid\":_vm.invalidName,\"error\":\"Este campo es obligatorio.\"},model:{value:(_vm.addRoleForm.name),callback:function ($$v) {_vm.$set(_vm.addRoleForm, \"name\", $$v)},expression:\"addRoleForm.name\"}}),_c('button',{staticClass:\"btn btn-outline-primary\",on:{\"click\":function($event){return _vm.onHandleSubmitRole()}}},[_vm._v(\" Guardar \")])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n \n \n \n Guardar \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgregarRolModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgregarRolModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AgregarRolModal.vue?vue&type=template&id=52c0bf42\"\nimport script from \"./AgregarRolModal.vue?vue&type=script&lang=js\"\nexport * from \"./AgregarRolModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./AgregarRolModal.vue?vue&type=style&index=0&id=52c0bf42&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n \n \n \n \n \n \n \n\n \n \n\n \n \n \n \n\n \n 0\"\n :headers=\"headers\"\n :data=\"dataTableAux\"\n :max=\"10\"\n paginacion\n buscar\n :acciones=\"acciones\"\n idtabla=\"roles\"\n :seleccionar=\"obtenerFilaSeleccionada\"\n />\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rolesTab.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rolesTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./rolesTab.vue?vue&type=template&id=7cb374b6\"\nimport script from \"./rolesTab.vue?vue&type=script&lang=js\"\nexport * from \"./rolesTab.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListadoRolesTabla.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListadoRolesTabla.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ListadoRolesTabla.vue?vue&type=template&id=52ed16cf\"\nimport script from \"./ListadoRolesTabla.vue?vue&type=script&lang=js\"\nexport * from \"./ListadoRolesTabla.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RolesPage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RolesPage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RolesPage.vue?vue&type=template&id=3f0c5861\"\nimport script from \"./RolesPage.vue?vue&type=script&lang=js\"\nexport * from \"./RolesPage.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministracionRolesModel.vue?vue&type=style&index=0&id=7e1add2b&prod&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgregarRolModal.vue?vue&type=style&index=0&id=52c0bf42&prod&lang=css\"","// Importación de Axios\nimport axios from \"axios\";\nimport { RUTA_SERVIDOR_BACKEND } from \"./configuraciones\";\n\n/* \n\nSección Modulos \n\n*/\n\nexport const getModulos = () =>\n axios\n .get(`${RUTA_SERVIDOR_BACKEND}/modulos`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(({ data }) => data);\n\nexport const saveModulos = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/modulos`,\n {\n name: data.nombreModel,\n icon: data.iconoModel,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const updateModulos = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .put(\n `${RUTA_SERVIDOR_BACKEND}/modulos`,\n {\n id: data.id,\n name: data.nombreModel,\n icon: data.iconoModel,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n// Borrado lógico usuario\nexport const deleteModulo = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .delete(`${RUTA_SERVIDOR_BACKEND}/modulos/${data.id}`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n// Deshabilitar\nexport const activarDesactivarModulo = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/activarDesactivarModulo`,\n {\n id: data.id,\n estado: data.estado,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n/*\n\n...:::: Secciones ::::...\n\n\n*/\n\n// Obtener Secciones\nexport const getSecciones = () =>\n axios\n .get(`${RUTA_SERVIDOR_BACKEND}/listarSecciones`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(({ data }) => data);\n\n// Obtener SubSecciones\nexport const getSubSecciones = () =>\n axios\n .get(`${RUTA_SERVIDOR_BACKEND}/listarSubSecciones`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(({ data }) => data);\n\nexport const saveSeccion = async (data) => {\n let dataResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/crearSeccion`,\n {\n name: data.nombreModel,\n name_reference: data.referenciaModel,\n id_module: data.moduloModel.id,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n });\n\n dataAux.push({ data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const updateSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .put(\n `${RUTA_SERVIDOR_BACKEND}/actualizarSeccion`,\n {\n id: data.id,\n name: data.nombreModel,\n name_reference: data.referenciaModel,\n id_module: data.moduloModel.id,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n// Borrado lógico usuario\nexport const deleteSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .delete(`${RUTA_SERVIDOR_BACKEND}/eliminarSeccion/${data.id}`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const saveSubSeccion = async (data) => {\n let dataResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/crearSubSeccion`,\n {\n name: data.name,\n id_parent: data.id_parent,\n name_reference: data.name_reference,\n id_module: data.id_module,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n });\n\n dataAux.push({ data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const updateSubSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .put(\n `${RUTA_SERVIDOR_BACKEND}/actualizarSubSeccion`,\n {\n id: data.id,\n name: data.name,\n id_parent: data.id_parent,\n name_reference: data.name_reference,\n id_module: data.id_module,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const activarDesactivarSubSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/activarDesactivarSubSeccion`,\n {\n id: data.id,\n estado: data.estado,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n// Borrado lógico usuario\nexport const deleteSubSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .delete(`${RUTA_SERVIDOR_BACKEND}/eliminarSeccion/${data.id}`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n// Deshabilitar\nexport const activarDesactivarSeccion = async (data) => {\n let dataResponse;\n let estadoResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/activarDesactivarSeccion`,\n {\n id: data.id,\n estado: data.estado,\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n estadoResponse = false;\n })\n\n .catch(({ response }) => {\n dataResponse = response.data;\n estadoResponse = true;\n });\n\n dataAux.push({ error: estadoResponse, data: dataResponse });\n\n return dataAux[0];\n};\n\n/*\n\n\n\n\n...:::: Permisos por roles ::::...\n\n*/\n\nexport const getPermisosRoles = () => \n axios\n .get(`${RUTA_SERVIDOR_BACKEND}/listarPermisosRoles`, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n .then(({ data }) => data);\n\nexport const saveRolStructure = async (data) => {\n const result = await axios.post(`${RUTA_SERVIDOR_BACKEND}/crearRolStructure`, { data }, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n );\n\n return result;\n};\n\nexport const removeRolStructure = async ( id ) => { //change the id_status from the sys_roles_structure table\n try {\n await axios.post(`${RUTA_SERVIDOR_BACKEND}/removeRolStructure`, { id: id }, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n );\n } catch (err) {\n console.log(`'${err}' , please contact backend support.`);\n }\n}\n\nexport const updatePermissions = async (data, tipo) => {\n let dataResponse;\n let dataAux = new Array();\n\n await axios\n .post(\n `${RUTA_SERVIDOR_BACKEND}/permisos`,\n {\n data,\n tipo\n },\n {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n }\n )\n .then(function ({ status }) {\n dataResponse = status;\n })\n .catch(({ response }) => {\n dataResponse = response.data;\n });\n\n dataAux.push({ data: dataResponse });\n\n return dataAux[0];\n};\n\nexport const getModulesSections = async () => (\n await axios.get(`${RUTA_SERVIDOR_BACKEND}/getModulesSections`,{\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n);\n\nexport const createRolStructureByUser = async ( payload ) => (\n await axios.post(`${RUTA_SERVIDOR_BACKEND}/createRoleStructureByUser`, payload, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n);\n\nexport const createRole = async ( payload ) => (\n await axios.post(`${RUTA_SERVIDOR_BACKEND}/createRole`, payload, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n);\n\nexport const removeRole = async ( payload ) => (\n await axios.post(`${RUTA_SERVIDOR_BACKEND}/removeRole`, payload, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n);\n\nexport const changeRoleStatus = async ( payload ) => (\n await axios.post(`${RUTA_SERVIDOR_BACKEND}/changeRoleStatus`, payload, {\n headers: {\n Accept: \"application/json\",\n Authorization: `Bearer ${localStorage.getItem(\"token\")}`,\n },\n })\n);\n\n"],"sourceRoot":""}