{"version":3,"sources":["webpack:///./src/views/trash/User.vue?85ae","webpack:///src/views/trash/User.vue","webpack:///./src/views/trash/User.vue?a2c7","webpack:///./src/views/trash/User.vue","webpack:///./src/views/trash/User.vue?1d74","webpack:///./src/services/configurations/getUser.js","webpack:///./src/services/trash/restoreTrashUser.js","webpack:///./src/components/layout/DetailLayout.vue?d7c2","webpack:///src/components/layout/DetailLayout.vue","webpack:///./src/components/layout/DetailLayout.vue?0f28","webpack:///./src/components/layout/DetailLayout.vue","webpack:///./src/services/trash/deleteTrashUser.js","webpack:///./src/services/distributors/getDistributors.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","slot","attrs","header","staticClass","ref","form","role","idDistribuidor","_v","_s","$t","distribuidores","model","value","callback","$$v","$set","expression","isGeneralLoading","on","$event","preventDefault","stopPropagation","goDetailDistributor","apply","arguments","_e","roleId","clientes","goDetailClient","roles","tiposAuthFiltered","tooltipVerTodoStatuses","tooltipVerTodoCompanies","goBack","deleteUser","restoreUser","showModal","processMessageDeleteUser","deleteHandler","staticRenderFns","name","components","DetailLayout","Dialog","data","showGeneratePassword","searchView","activeName","localUserId","title","icon","breadcrumb","nav","url","toolAccesoAAD","values","label","computed","id","getIdUsuarioLogged","isSameUser","typeInstallation","watch","deep","immediate","handler","created","breadcrumbs","path","key","methods","params","idsUsuario","payload","getDefaultForm","email","company","active","created_at","password","repeat_password","clienteId","verTodoStatuses","verTodoCompanies","tipoAuth","watchFormHandler","certificate","send_alerts","automatic_download","toggleDialogs","toggleSearchView","isEmailValid","downloadData","idUsuario","borrado","user","setUser","updateView","component","async","getUser","req","method","headers","res","axiosInstance","restoreTrashUser","_t","deleteTrashUser","getDistributors"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACA,EAAG,WAAW,CAACE,KAAK,UAAU,CAACF,EAAG,cAAc,CAACG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","file":"js/chunk-11bb3487.v.6.0.0.1728293495878.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('detail-layout',[_c('template',{slot:\"header\"},[_c('base-header',{attrs:{\"icon\":\"user\",\"content\":_vm.header}})],1),_c('template',{slot:\"main\"},[_c('div',{staticClass:\"form-wrapper\"},[_c('el-form',{ref:\"ruleForm\",staticClass:\"flex flex-row w-full\",attrs:{\"model\":_vm.form,\"autocomplete\":\"off\"}},[_c('div',{staticClass:\"flex-1\"},[_c('div',{staticClass:\"lg:mb-4\"}),_c('div',{staticClass:\"flex flex-col lg:flex-row lg:mb-2 gap-x-6\"},[(_vm.role === 'SuperAdministrador' && _vm.form.idDistribuidor)?_c('div',{staticClass:\"w-full\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('distributors.distributor')))]),_c('div',{staticClass:\"flex justify-between\"},[_c('el-form-item',{staticClass:\"w-full\",attrs:{\"prop\":\"idDistribuidor\"}},[_c('base-el-select',{staticClass:\"w-full\",attrs:{\"options\":_vm.distribuidores,\"disabled\":\"\"},model:{value:(_vm.form.idDistribuidor),callback:function ($$v) {_vm.$set(_vm.form, \"idDistribuidor\", $$v)},expression:\"form.idDistribuidor\"}})],1),_c('base-button',{staticClass:\"mb-1 ml-4\",attrs:{\"mode\":\"primary\",\"text\":_vm.$t('app.detail'),\"loading\":_vm.isGeneralLoading},on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.goDetailDistributor.apply(null, arguments)}}})],1)]):_vm._e(),((_vm.role === 'AdminDistribuidor' || _vm.role === 'SuperAdminDistribuidor' || _vm.role === 'SuperAdministrador') &&\n (_vm.form.roleId !== 5 && _vm.form.roleId !== 6))?_c('div',{staticClass:\"w-full\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('app.client')))]),_c('div',{staticClass:\"flex justify-between\"},[_c('el-form-item',{staticClass:\"w-full\",attrs:{\"prop\":\"clienteId\"}},[_c('base-el-select',{staticClass:\"w-full\",attrs:{\"options\":_vm.clientes,\"filterable\":\"\",\"clearable\":\"\",\"disabled\":\"\"},model:{value:(_vm.form.clienteId),callback:function ($$v) {_vm.$set(_vm.form, \"clienteId\", $$v)},expression:\"form.clienteId\"}})],1),_c('base-button',{staticClass:\"mb-1 ml-4\",attrs:{\"mode\":\"primary\",\"text\":_vm.$t('app.detail'),\"loading\":_vm.isGeneralLoading},on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.goDetailClient.apply(null, arguments)}}})],1)]):_vm._e()]),_c('div',{staticClass:\"lg:mb-2\"},[_c('div',{staticClass:\"mandatory\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.username')))]),_c('el-form-item',{attrs:{\"prop\":\"name\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"disabled\":\"\",\"clearable\":\"\",\"maxlength\":\"50\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)],1)]),_c('div',{staticClass:\"lg:mb-2\"},[_c('div',{staticClass:\"mandatory\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.email')))]),_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"disabled\":\"\",\"clearable\":\"\",\"maxlength\":\"255\"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1)],1)]),_c('div',{staticClass:\"lg:mb-2\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.rol')))]),_c('el-form-item',{attrs:{\"prop\":\"roleId\"}},[_c('base-el-select',{staticClass:\"w-full\",attrs:{\"options\":_vm.roles,\"clearable\":\"\",\"disabled\":\"\"},model:{value:(_vm.form.roleId),callback:function ($$v) {_vm.$set(_vm.form, \"roleId\", $$v)},expression:\"form.roleId\"}})],1)],1),_c('div',{staticClass:\"lg:mb-2\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.tipo_auth')))]),_c('el-form-item',{attrs:{\"prop\":\"tipoAuth\"}},[_c('base-el-select',{staticClass:\"w-full\",attrs:{\"options\":_vm.tiposAuthFiltered,\"clearable\":\"\",\"disabled\":\"\"},model:{value:(_vm.form.tipoAuth),callback:function ($$v) {_vm.$set(_vm.form, \"tipoAuth\", $$v)},expression:\"form.tipoAuth\"}})],1)],1),_c('div',{staticClass:\"mb-6\"},[_c('div',{staticClass:\"flex flex-col lg:flex-row lg:space-x-4\"},[_c('div',{staticClass:\"flex flex-row items-center mb-4 lg:mb-0\"},[_c('el-switch',{staticClass:\"switch-text break-normal\",attrs:{\"disabled\":\"\",\"active-text\":_vm.$t('configurations.ver_todo_statuses')},model:{value:(_vm.form.verTodoStatuses),callback:function ($$v) {_vm.$set(_vm.form, \"verTodoStatuses\", $$v)},expression:\"form.verTodoStatuses\"}}),_c('base-tooltip-icon',{staticClass:\"ml-1\",attrs:{\"size\":\"sm\",\"content\":_vm.tooltipVerTodoStatuses}})],1),_c('div',{staticClass:\"flex flex-row items-center mb-4 lg:mb-0\"},[_c('el-switch',{staticClass:\"switch-text break-normal\",attrs:{\"disabled\":\"\",\"active-text\":_vm.$t('configurations.ver_todo_companies')},model:{value:(_vm.form.verTodoCompanies),callback:function ($$v) {_vm.$set(_vm.form, \"verTodoCompanies\", $$v)},expression:\"form.verTodoCompanies\"}}),_c('base-tooltip-icon',{staticClass:\"ml-1\",attrs:{\"size\":\"sm\",\"content\":_vm.tooltipVerTodoCompanies}})],1)])])])])],1)]),_c('template',{slot:\"layout-extend\"},[_c('base-footer',[_c('template',{slot:\"actions\"},[_c('base-button-responsive',{attrs:{\"mode\":\"secondary\",\"text\":_vm.$t('app.back'),\"icon\":\"cross\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.goBack}}),_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('trash.delete'),\"icon\":\"check\",\"loading\":_vm.isGeneralLoading,\"disabled\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.deleteUser()}}}),_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('trash.restore'),\"icon\":\"check\",\"loading\":_vm.isGeneralLoading,\"disabled\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.restoreUser()}}})],1)],2),_c('Dialog',{attrs:{\"title\":\"Borrar usuario\",\"visible\":_vm.showModal,\"width\":\"40%\",\"custom-class\":\"min-width-dialog\",\"center\":\"\"},on:{\"update:visible\":function($event){_vm.showModal=$event}}},[_c('span',{staticClass:\"text-center w-full inline-block dark:text-darkblue-200 word-break-n\"},[_vm._v(_vm._s(_vm.processMessageDeleteUser))]),_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"flex flex-col lg:flex-row w-full lg:w-auto items-center space-y-2 lg:space-y-0 lg:space-x-2\"},[_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.cancel')},on:{\"click\":function($event){_vm.showModal = false}}}),_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.accept')},on:{\"click\":function () {_vm.deleteHandler(); _vm.showModal = false}}})],1)])],2)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\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!./User.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!./User.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./User.vue?vue&type=template&id=224904d0&scoped=true\"\nimport script from \"./User.vue?vue&type=script&lang=js\"\nexport * from \"./User.vue?vue&type=script&lang=js\"\nimport style0 from \"./User.vue?vue&type=style&index=0&id=224904d0&prod&scoped=true&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 \"224904d0\",\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/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/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!./User.vue?vue&type=style&index=0&id=224904d0&prod&scoped=true&lang=css\"","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getUser (params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve(mock.getUser)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/usuarios/getusuariodetalle',\r\n method: 'GET',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { getUser }\r\n","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function restoreTrashUser (data) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n const data = mock.getLocations\r\n const pages = data.data.length\r\n\r\n const clone = JSON.parse(JSON.stringify(data))\r\n clone.meta.total = pages\r\n\r\n resolve(clone)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/usuarios/recuperarusuariosborrados',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { restoreTrashUser }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content-wrapper bg-white dark:bg-darkblue-900 flex flex-col w-full relative\"},[_vm._t(\"header\"),_c('main',{staticClass:\"content flex flex-col flex-auto overflow-y-auto w-full\"},[_c('div',{staticClass:\"w-full md:w-11.5/12 lg:max-w-detail lg:mr-auto\"},[_c('div',{staticClass:\"px-4 lg:px-10\"},[_vm._t(\"main\")],2)])]),_vm._t(\"layout-extend\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\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!./DetailLayout.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!./DetailLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DetailLayout.vue?vue&type=template&id=72444160\"\nimport script from \"./DetailLayout.vue?vue&type=script&lang=js\"\nexport * from \"./DetailLayout.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","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function deleteTrashUser (data) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n const data = mock.getLocations\r\n const pages = data.data.length\r\n\r\n const clone = JSON.parse(JSON.stringify(data))\r\n clone.meta.total = pages\r\n\r\n resolve(clone)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/usuarios/deletepermanenteusuarios',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { deleteTrashUser }\r\n","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getDistributors (params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'tests') {\r\n return new Promise((resolve, reject) => {\r\n const data = mock.getCompanies\r\n const pages = data.data.length\r\n\r\n const clone = JSON.parse(JSON.stringify(data))\r\n console.log(clone.data)\r\n\r\n clone.meta.total = pages\r\n\r\n resolve(clone)\r\n })\r\n } else {\r\n const req = {\r\n url: 'api/distribuidores/getdistribuidores',\r\n method: 'GET',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { getDistributors }\r\n"],"sourceRoot":""}