{"version":3,"sources":["webpack:///./src/views/configuration/UserProfile.vue?c8bc","webpack:///./src/services/configurations/setUserData.js","webpack:///./src/services/grids/resetVistas.js","webpack:///./src/services/configurations/resetMyOTP.js","webpack:///src/views/configuration/UserProfile.vue","webpack:///./src/views/configuration/UserProfile.vue?f7a7","webpack:///./src/views/configuration/UserProfile.vue","webpack:///./src/views/configuration/UserProfile.vue?31d2","webpack:///./src/views/configuration/UserProfile.vue?2043","webpack:///./src/components/layout/DetailLayout.vue?16f7","webpack:///src/components/layout/DetailLayout.vue","webpack:///./src/components/layout/DetailLayout.vue?024e","webpack:///./src/components/layout/DetailLayout.vue","webpack:///./src/components/UserGeneratePasswordDialog.vue?aa88","webpack:///./src/services/auth/newPassword.js","webpack:///src/components/UserGeneratePasswordDialog.vue","webpack:///./src/components/UserGeneratePasswordDialog.vue?57db","webpack:///./src/components/UserGeneratePasswordDialog.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","slot","attrs","header","staticClass","ref","form","updateRules","_v","_s","$t","model","value","callback","$$v","$set","expression","_e","rol","_l","role","key","id","name","hasPermissionEditVisiblity","tooltipVerTodoStatuses","tooltipVerTodoCompanies","hasModuleDobleFactor","tipoAuth","BloqueadoDobleFactor","Grupos","length","staticStyle","scopedSlots","_u","fn","scope","row","Temporal","on","$event","onChangeAutoIdleTime","autoIdleTimeValue","onChangeAlertsTimeExtended","alertsTimeExtended","isGeneralLoading","generatePassword","resetViews","tooltipResetViews","resetOTPHandler","submitForm","showGeneratePassword","localUser","IdUsuario","toggleDialogs","staticRenderFns","async","setUserData","payload","req","url","method","headers","data","res","axiosInstance","resetVistas","params","resetMyOTP","components","DetailLayout","UserGeneratePasswordDialog","searchView","activeName","tiposAuth","title","icon","breadcrumb","nav","intervaloPrueba","reg","tooltipVerTodoTags","tooltipAutoIdleTime","unableDashboardValue","email","company","Distribuidor","active","created_at","password","repeat_password","verTodoTags","verTodoStatuses","verTodoCompanies","DobleFactor","values","label","required","message","trigger","validator","computed","isRoleUserOrConsulta","watch","deep","immediate","handler","created","mounted","beforeDestroy","methods","onChangeDashboardEnable","watchFormHandler","toggleSearchView","isEmailValid","updateUserHandler","Email","Nombre","setUser","component","_t","dialogOpen","toggleDialog","rules","handleClick","newPassword","oldPassword","OldPassword","NewPassword","BaseDialog","props","type","default","userId","isOpen","old_password"],"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,MAAM,CAAC,KAAO,OAAO,QAAUP,EAAIQ,WAAW,GAAGJ,EAAG,WAAW,CAACE,KAAK,QAAQ,CAACF,EAAG,MAAM,CAACK,YAAY,gBAAgB,CAACL,EAAG,UAAU,CAACM,IAAI,WAAWH,MAAM,CAAC,MAAQP,EAAIW,KAAK,MAAQX,EAAIY,cAAc,CAACR,EAAG,MAAM,CAACK,YAAY,UAAU,CAACL,EAAG,MAAM,CAACK,YAAY,YAAYL,EAAG,MAAM,CAACK,YAAY,6CAA6C,CAAET,EAAIW,KAAiB,aAAEP,EAAG,MAAM,CAACK,YAAY,UAAU,CAACL,EAAG,QAAQ,CAACK,YAAY,uDAAuD,CAACT,EAAIa,GAAGb,EAAIc,GAAGd,EAAIe,GAAG,6BAA6B,KAAKX,EAAG,eAAe,CAACG,MAAM,CAAC,KAAO,iBAAiB,CAACH,EAAG,WAAW,CAACK,YAAY,SAASF,MAAM,CAAC,SAAW,IAAIS,MAAM,CAACC,MAAOjB,EAAIW,KAAiB,aAAEO,SAAS,SAAUC,GAAMnB,EAAIoB,KAAKpB,EAAIW,KAAM,eAAgBQ,IAAME,WAAW,wBAAwB,IAAI,KAAKrB,EAAIsB,MAAOtB,EAAIW,KAAKY,KAAyB,2BAAjBvB,EAAIW,KAAKY,KAAqD,sBAAjBvB,EAAIW,KAAKY,KAAgD,uBA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AAYC,eAAcN,GAChC,OAAOK,EAAID,M,UCffP,eAAeU,EAAaC,EAAS,MAO5B,CACL,MAAMR,EAAM,CACVC,IAAK,2BACLC,OAAQ,OACRC,QAAS,CACP,eAAgB,mBAChB,8BAA+B,KAEjCK,UAEIH,QAAYC,eAAcN,GAChC,OAAOK,EAAID,M,wCClBfP,eAAeY,IAWN,CACL,MAAMT,EAAM,CACVC,IAAK,mDACLC,OAAQ,MACRC,QAAS,CACP,eAAgB,mBAChB,8BAA+B,MAG7BE,QAAYC,eAAcN,GAChC,OAAOK,EAAID,MC2QA,OAEfxC,uBACA8C,YACAC,oBACAC,mCAEAR,gBACA,OACAZ,wBACAqB,cACAC,gBACArB,eACAsB,iBACAvE,QACAwE,2BACAC,cACAC,cACAC,OACAlB,UAEAmB,qBACAC,6JACAC,yDACAxD,iEACAC,mEACAsB,sDACAkC,2DACAxC,qBACAE,sBACAuC,wBACA7E,MACAgB,KACAC,QACA6D,SACAC,WACAC,gBACAC,UACAC,cACAC,YACAC,mBACAxE,OACAyE,eACAC,mBACAC,oBACAjE,WACAE,UAEAgE,eACAjE,yBAEAkE,QACA,CACAnF,SACAoF,2BAEA,CACApF,SACAoF,2BAGAzF,aACAgB,MACA,CACA0E,YACAC,sCACAC,iBAGAf,OACA,CACAa,YACAC,yCACAC,gBAEA,CAAAC,4BAAAD,iBAEAvE,UACA,CACAqE,YACAC,sCACAC,gBAEA,CACAF,YACAC,sCACAC,sBAMAE,UACAxD,4BACA,sCAEAzB,gBACA,yCAEAkF,gCACA,4DAEA9E,6BACA,+DAEAG,uBACA,0DAGA4E,OACAjG,MACAkG,QACAC,aACAC,6BAGAC,yBAEA,yCACA,iBACA,iBAEAC,UACA,gCAKAC,kBAGAC,SACA7D,iCACA,IACA,sCACA,mBACA,eACA,gDAEA,wDAEA,SACA,kBACA,QACA,wCAGAR,uBACA,sEACA,4HACA,uFAEAE,6BACA,6EACA,8GACA,sFAEAoE,0BACA,+EACA,wGACA,yFAEAC,mBACA,6CAEA1D,yBACA,sDAEA2D,4BACA,kCAEAC,6BACA,MACA,qDAEA,iBAGArG,IAFAA,4CAKAqC,wBACA,2BACA,2BAGAiE,8BACA,+CACA,sCACA,iCACA,MACA,SACAC,sBACAC,sBACAvB,mCAEA,+DACA3B,2CACAA,8CAEA,oBACA,eACA,iDAEA,2DACA,qCAGA,sEAEA,yCAGApB,6BACA,+CACA,sCACA,IACA,mBACA,eACA,iDAGA,qDACA,sDACA,uDACA,sDACA,4DACA,wDACA,sDACA,yDACA,qDACA,iDAEA,iDACA,wDACA,gEACA,uDAEA,oDACA,qDACA,+CACA,6CACA,sDACA,kDAEA,8CACA,kDACA,sDACA,mDACA,mDACA,iDACA,wDACA,kDACA,mDACA,6DAEA,yDACA,yDACA,wDAEA,6CACA,kDAEA,kDAEA,sDAEA,+CAGA,oDACA,4DACA,6DAEA,kDACA,4DACA,0DACA,oEACA,yDACA,mEACA,sDACA,gEAGA,8DACA,+DACA,gEACA,+DACA,qEACA,iEACA,+DACA,kEACA,8DACA,0DAEA,0DACA,iEACA,yEACA,gEAEA,6DACA,8DACA,wDACA,sDACA,+DACA,2DAEA,uDACA,2DACA,+DACA,4DACA,4DACA,0DACA,iEACA,2DACA,4DACA,sEAEA,kEACA,kEACA,iEAEA,sDACA,2DAEA,2DAEA,+DAEA,wDAEA,+DAGA,6DACA,qEACA,sEAEA,2DACA,qEACA,mEACA,6EACA,kEACA,4EACA,+DACA,yEAEA,iEAEA,SACA,kBACA,QACA,wCAGAuE,oBACA,yBACA,yBACA,wBACA,4BACA,sCACA,0BACA,kCACA,oBACA,2CACA,6CACA,oCACA,sDACA,yCACA,sCACA,+DACA,sEACA,8EACA,gCAEAxE,4BACA,wDC3pBoW,I,kCCShWyE,EAAY,eACd,EACA7H,EACA6D,GACA,EACA,KACA,WACA,MAIa,aAAAgE,E,2CCpBf,W,oCCAA,W,kFCAA,IAAI7H,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAA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D,EACbE,YAAaH,IAGX7D,QAAYC,eAAcN,GAChC,OAAOK,EAAID,M,gBCkCf,GACAxC,qCACA8C,YACA4D,yBAEAC,OACAT,YACAU,aACAC,YAEAC,QACAF,YACAC,aAGArE,gBACA,OACAuE,uBACAhI,MACAiI,kBACA9C,cACAC,sBAEAiC,OACAY,cACA,CACAtC,YACAC,wCACAC,oBAMAE,UACAxD,4BACA,uCAGA+D,2BAEAE,SACAY,wBACA,yBACA,4BACA,wBACA,+BACA,4BAEAE,8BACA,IACA,+CACA,sCACA,iCACA,MACA,4DACA,eACA,iDAEA,2DACA,0BAGA,wEAGA,SAEA,kBACA,QACA,0CC5HoW,I,YCOhWL,EAAY,eACd,EACA7H,EACA6D,GACA,EACA,KACA,WACA,MAIa,OAAAgE,E","file":"js/chunk-7598af12.v.2.27.0.1739353713776.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\",attrs:{\"model\":_vm.form,\"rules\":_vm.updateRules}},[_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.form.Distribuidor)?_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('el-form-item',{attrs:{\"prop\":\"Distribuidor\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"disabled\":\"\"},model:{value:(_vm.form.Distribuidor),callback:function ($$v) {_vm.$set(_vm.form, \"Distribuidor\", $$v)},expression:\"form.Distribuidor\"}})],1)],1)]):_vm._e(),(!_vm.form.rol || (_vm.form.rol !== 'SuperAdminDistribuidor' && _vm.form.rol !== 'AdminDistribuidor' && _vm.form.rol !== 'SuperAdministrador'))?_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('el-form-item',{attrs:{\"prop\":\"company\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"disabled\":\"\"},model:{value:(_vm.form.company),callback:function ($$v) {_vm.$set(_vm.form, \"company\", $$v)},expression:\"form.company\"}})],1)],1)]):_vm._e()]),_c('div',{staticClass:\"lg:mb-2\"},[_c('div',{staticClass:\"mandatory\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 dark:text-darkblue-200 block mb-1\"},[_c('base-obligatory-icon'),_vm._v(_vm._s(_vm.$t('configurations.username'))+\" \"),_c('el-form-item',{attrs:{\"prop\":\"name\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"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\"},[_c('base-obligatory-icon'),_vm._v(_vm._s(_vm.$t('configurations.email'))+\" \"),_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"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\":\"rol\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"disabled\":true},model:{value:(_vm.form.rol),callback:function ($$v) {_vm.$set(_vm.form, \"rol\", $$v)},expression:\"form.rol\"}})],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('el-select',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"disabled\":\"\"},model:{value:(_vm.form.tipoAuth),callback:function ($$v) {_vm.$set(_vm.form, \"tipoAuth\", $$v)},expression:\"form.tipoAuth\"}},_vm._l((_vm.tiposAuth),function(role){return _c('el-option',{key:role.id,attrs:{\"label\":role.name,\"value\":role.id}})}),1)],1)],1)]),(_vm.form.rol !== 'AdminDistribuidor')?_c('div',{staticClass:\"lg:mb-6\"},[_c('div',{staticClass:\"flex flex-col lg:flex-row lg:space-x-4\"},[_c('div',{staticClass:\"flex flex-row items-start mb-4 lg:mb-0\"},[_c('label',{staticClass:\"flex flex-col text-sm font-semibold text-secondary-600 block mb-1 mt-1\"},[_vm._v(_vm._s(_vm.$t('configurations.ver_todo_statuses'))+\" \"),_c('el-switch',{staticClass:\"switch-text break-normal both-switch mt-2\",attrs:{\"disabled\":!_vm.hasPermissionEditVisiblity || \n _vm.form.rol === 'Usuario' || \n _vm.form.rol === 'UsuarioConsulta' || \n _vm.form.rol === 'AdminDistribuidor' || \n _vm.form.rol === 'SuperAdminDistribuidor' || \n _vm.form.rol === 'SuperAdministrador',\"active-text\":_vm.$t('app.active')},model:{value:(_vm.form.verTodoStatuses),callback:function ($$v) {_vm.$set(_vm.form, \"verTodoStatuses\", $$v)},expression:\"form.verTodoStatuses\"}})],1),_c('base-tooltip-icon',{staticClass:\"ml-1\",attrs:{\"size\":\"sm\",\"content\":_vm.tooltipVerTodoStatuses}})],1),_c('div',{staticClass:\"flex flex-row items-start mb-4 lg:mb-0\"},[_c('label',{staticClass:\"flex flex-col text-sm font-semibold text-secondary-600 block mb-1 mt-1\"},[_vm._v(_vm._s(_vm.$t('configurations.ver_todo_companies'))+\" \"),_c('el-switch',{staticClass:\"switch-text break-normal both-switch mt-2\",attrs:{\"disabled\":!_vm.hasPermissionEditVisiblity || \n _vm.form.rol === 'Usuario' || \n _vm.form.rol === 'UsuarioConsulta' || \n _vm.form.rol === 'AdminDistribuidor' || \n _vm.form.rol === 'SuperAdminDistribuidor' || \n _vm.form.rol === 'SuperAdministrador',\"active-text\":_vm.$t('app.active')},model:{value:(_vm.form.verTodoCompanies),callback:function ($$v) {_vm.$set(_vm.form, \"verTodoCompanies\", $$v)},expression:\"form.verTodoCompanies\"}})],1),_c('base-tooltip-icon',{staticClass:\"ml-1\",attrs:{\"size\":\"sm\",\"content\":_vm.tooltipVerTodoCompanies}})],1)])]):_vm._e(),(_vm.hasModuleDobleFactor && _vm.form.tipoAuth !== 1 && this.form.tipoAuth !== 3)?_c('div',{staticClass:\"mb-2 lg:mb-6\"},[_c('div',{staticClass:\"flex flex-col lg:space-x-4\"},[_c('div',{staticClass:\"mb-4 lg:mb-0 w-full\"},[_c('label',{staticClass:\"flex flex-col text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.client_config_otp'))+\" \"),_c('el-switch',{staticClass:\"switch-text break-normal both-switch mt-2\",attrs:{\"disabled\":_vm.form.BloqueadoDobleFactor,\"active-text\":_vm.$t('app.active')},model:{value:(_vm.form.DobleFactor),callback:function ($$v) {_vm.$set(_vm.form, \"DobleFactor\", $$v)},expression:\"form.DobleFactor\"}})],1)])])]):_vm._e(),(_vm.form.rol !== 'AdminDistribuidor' && _vm.form.rol !== 'SuperAdminDistribuidor' && _vm.form.rol !== 'SuperAdministrador' \n && _vm.form.Grupos && _vm.form.Grupos.length > 0)?_c('div',[_c('div',{staticClass:\"mb-4 w-full border-b border-solid border-gray-100 dark:border-darkblue-600\"}),_c('div',{staticClass:\"mt-4 mb-4\"},[_c('h2',{staticClass:\"dark:text-darkblue-200 font-bold mt-4 mb-2\"},[_vm._v(\"Mis grupos\")]),_c('el-table',{ref:\"grupos\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.form.Grupos,\"max-height\":\"250\",\"show-header\":_vm.form.Grupos && _vm.form.Grupos.length > 0}},[_c('el-table-column',{attrs:{\"prop\":\"Nombre\",\"label\":\"Nombre\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"Tipo\",\"label\":\"Tipo\",\"width\":\"110\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"Temporal\",\"label\":\"Vínculo\",\"align\":\"center\",\"width\":\"120\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"rounded-full mr-1 mb-1 pl-1 pr-1 bg-primary-50 dark:bg-darkblue text-primary-800 dark:text-primary-500 border-2 tag-cell\"},[_vm._v(\" \"+_vm._s(scope.row.Temporal ? \"Temporal\" : \"Permanente\")+\" \")])]}}],null,false,1287152040)})],1)],1)]):_vm._e(),_c('div',{staticClass:\"mb-6 w-full border-b border-solid border-gray-100 dark:border-darkblue-600\"}),_c('div',{staticClass:\"mb-4 lg:mb-6 \"},[_c('label',{staticClass:\"flex flex-col text-sm font-semibold text-secondary-600 block mb-4\"},[_vm._v(_vm._s(_vm.$t('configurations.auto_idle_time'))+\" \"),_c('el-switch',{staticClass:\"switch-text break-normal both-switch mt-2\",attrs:{\"active-text\":_vm.$t('app.active')},on:{\"change\":function($event){return _vm.onChangeAutoIdleTime()}},model:{value:(_vm.autoIdleTimeValue),callback:function ($$v) {_vm.autoIdleTimeValue=$$v},expression:\"autoIdleTimeValue\"}})],1),_c('label',{staticClass:\"flex flex-col text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('configurations.alerts_time_extended'))+\" \"),_c('el-switch',{staticClass:\"switch-text break-normal both-switch mt-2\",attrs:{\"active-text\":_vm.$t('app.active')},on:{\"change\":function($event){return _vm.onChangeAlertsTimeExtended()}},model:{value:(_vm.alertsTimeExtended),callback:function ($$v) {_vm.alertsTimeExtended=$$v},expression:\"alertsTimeExtended\"}})],1)]),_c('div',{staticClass:\"lg:mb-4\"},[_c('div',{staticClass:\"flex -mx-2 flex-col lg:flex-row\"},[(_vm.form.tipoAuth !== 1 && this.form.tipoAuth !== 3)?_c('div',{staticClass:\"px-2 w-full mb-2 lg:mb-0 mt-2\"},[_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('configurations.change_password'),\"icon\":\"lock\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.generatePassword}})],1):_vm._e(),_c('div',{staticClass:\"px-2 w-full mb-2 lg:mb-0 mt-2 flex flex-row items-center\"},[_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('configurations.reset_views'),\"icon\":\"retry\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.resetViews}}),_c('base-tooltip-icon',{staticClass:\"ml-4\",attrs:{\"size\":\"md\",\"content\":_vm.tooltipResetViews}})],1)])])])])],1)]),_c('template',{slot:\"layout-extend\"},[_c('base-footer',[_c('template',{slot:\"actions\"},[(_vm.form.tipoAuth !== 1 && this.form.tipoAuth !== 3 && _vm.hasModuleDobleFactor)?_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":'Restablecer autenticación en dos pasos',\"icon\":\"retrydoblefactor\",\"loading\":_vm.isGeneralLoading,\"disabled\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.resetOTPHandler()}}}):_vm._e(),_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('app.save'),\"icon\":\"check\",\"loading\":_vm.isGeneralLoading,\"disabled\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.submitForm('ruleForm')}}})],1)],2),_c('user-generate-password-dialog',{attrs:{\"dialogOpen\":_vm.showGeneratePassword,\"email\":_vm.localUser.IdUsuario},on:{\"toggleDialog\":_vm.toggleDialogs}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axiosInstance from '@/services/axiosInstance'\r\n\r\nasync function setUserData (payload) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve()\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/usuarios/setUserData',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data: payload\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { setUserData }\r\n","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function resetVistas (params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n resolve(mock.getLanguages.data)\r\n }, 500)\r\n })\r\n } else {\r\n const req = {\r\n url: 'api/usuarios/resetvistas',\r\n method: 'POST',\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 { resetVistas }\r\n","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function resetMyOTP () {\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/resetearmiconfiguraciondoblefactor',\r\n method: 'PUT',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { resetMyOTP }\r\n","\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!./UserProfile.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!./UserProfile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserProfile.vue?vue&type=template&id=1bd36d38&scoped=true&\"\nimport script from \"./UserProfile.vue?vue&type=script&lang=js&\"\nexport * from \"./UserProfile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UserProfile.vue?vue&type=style&index=0&id=1bd36d38&scoped=true&lang=css&\"\nimport style1 from \"./UserProfile.vue?vue&type=style&index=1&id=1bd36d38&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 \"1bd36d38\",\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!./UserProfile.vue?vue&type=style&index=0&id=1bd36d38&scoped=true&lang=css&\"","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!./UserProfile.vue?vue&type=style&index=1&id=1bd36d38&scoped=true&lang=css&\"","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('article',{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=a97845b0&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-dialog',{attrs:{\"isOpen\":_vm.dialogOpen},on:{\"closeDialog\":_vm.toggleDialog}},[_c('template',{slot:\"header\"},[_c('div',{staticClass:\"h-16 bg-secondary flex items-center justify-between text-white px-4\"},[_c('div',{staticClass:\"flex items-center\"},[_c('h2',{staticClass:\"font-bold ml-2\"},[_vm._v(_vm._s(_vm.$t('configurations.change_password')))])]),_c('span',{staticClass:\"cursor-pointer\",on:{\"click\":_vm.toggleDialog}},[_c('base-button-icon',{attrs:{\"name\":\"cross\",\"size\":\"xs\",\"iconSize\":\"sm\",\"mode\":\"secondary\"}})],1)])]),_c('template',{slot:\"main\"},[_c('div',{staticClass:\"form-wrapper p-4\"},[_c('el-form',{ref:\"ruleForm\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules}},[_c('div',{staticClass:\"lg:mb-2\"},[_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_c('base-obligatory-icon'),_vm._v(_vm._s(_vm.$t('configurations.old_password'))+\" \"),_c('el-form-item',{attrs:{\"prop\":\"old_password\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"show-password\":\"\",\"autocomplete\":\"off\",\"type\":\"text\",\"maxlength\":\"50\"},model:{value:(_vm.form.old_password),callback:function ($$v) {_vm.$set(_vm.form, \"old_password\", $$v)},expression:\"form.old_password\"}})],1)],1),_c('base-password-form-item',{attrs:{\"autocomplete\":\"new-password\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('base-password-form-item',{attrs:{\"password\":_vm.form.password,\"autocomplete\":\"new-password\",\"repeat\":\"\"},model:{value:(_vm.form.repeat_password),callback:function ($$v) {_vm.$set(_vm.form, \"repeat_password\", $$v)},expression:\"form.repeat_password\"}})],1)])])],1)]),_c('template',{slot:\"footer\"},[_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":\"Cancelar\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.toggleDialog}}),_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":\"Aplicar\",\"loading\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.handleClick('ruleForm')}}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function newPassword (oldPassword, newPassword) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n resolve(mock.getLogin)\r\n }, 500)\r\n })\r\n } else {\r\n const req = {\r\n url: 'api/usuarios/setnewpassword',\r\n method: 'POST',\r\n data: {\r\n OldPassword: oldPassword,\r\n NewPassword: newPassword\r\n }\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { newPassword }\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!./UserGeneratePasswordDialog.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!./UserGeneratePasswordDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserGeneratePasswordDialog.vue?vue&type=template&id=2456b1fe&scoped=true&\"\nimport script from \"./UserGeneratePasswordDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./UserGeneratePasswordDialog.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 \"2456b1fe\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}