text: webpackJsonp([7],{"83io":function(e,t,a){t=e.exports=a("FZ+f")(!0),t.push([e.i,"\np[data-v-64d25df6] {\n    margin-bottom: 0;\n}\n","",{version:3,sources:["/Users/cipto/Softdev/vuejs/instavue/src/modules/Account/_components/AccountUserDetailsUpdate.vue"],names:[],mappings:";AACA;IACI,iBAAiB;CACpB",file:"AccountUserDetailsUpdate.vue",sourcesContent:["\np[data-v-64d25df6] {\n    margin-bottom: 0;\n}\n"],sourceRoot:""}])},A88o:function(e,t,a){var r=a("83io");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("53370556",r,!0,{})},ahH5:function(e,t,a){"use strict";function r(e){a("A88o")}Object.defineProperty(t,"__esModule",{value:!0});var s={name:"AccountUserDetailsUpdate",props:["user"],data:function(){return{genders:[{type:"male",value:"Male"},{type:"female",value:"Female"}]}},methods:{submitForm:function(){var e=document.querySelector("form");this.$store.dispatch("$_account/updateAccountUserDetails",new FormData(e))}}},o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row mt-1"},[a("div",{staticClass:"col-12"},[a("h5",{staticClass:"mb-0"},[e._v("Update user details")]),e._v(" "),a("hr",{staticClass:"mb-3 mt-0"}),e._v(" "),a("form",{on:{submit:function(t){return t.preventDefault(),e.submitForm(t)}}},[a("input",{attrs:{type:"hidden",name:"_method",value:"PATCH"}}),e._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[e._v("Full name")]),e._v(" "),a("input",{staticClass:"form-control",attrs:{type:"text",id:"name",name:"name",rows:"3",placeholder:"Your fullname",required:""},domProps:{value:e.user.name}})]),e._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"username"}},[e._v("Username")]),e._v(" "),a("input",{staticClass:"form-control",attrs:{type:"text",id:"username",name:"username",rows:"3",placeholder:"Your username",required:""},domProps:{value:e.user.username}})]),e._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"email"}},[e._v("Email")]),e._v(" "),a("input",{staticClass:"form-control",attrs:{type:"text",id:"email",name:"email",rows:"3",placeholder:"Your email",required:""},domProps:{value:e.user.email}})]),e._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"gender"}},[e._v("Gender")]),e._v(" "),a("select",{staticClass:"form-control",attrs:{id:"gender",name:"gender",required:""}},[e._l(e.genders,function(t,r){return a("option",{key:r,domProps:{value:t.type,selected:e.user.gender===t.type}},[e._v(e._s(t.value))])}),e._v(">\n        ")],2)]),e._v(" "),e._m(0),e._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"bio"}},[e._v("Biography")]),e._v(" "),a("textarea",{staticClass:"form-control",attrs:{id:"biography",name:"biography",rows:"3",placeholder:"Your biography"},domProps:{value:e.user.biography}})]),e._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{type:"submit"}},[e._v("Update")])])])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"password"}},[e._v("Password ("),a("small",[e._v("If left blank, will not be changed!")]),e._v(")")]),e._v(" "),a("input",{staticClass:"form-control",attrs:{type:"password",id:"password",name:"password",rows:"3",placeholder:"If you want a new password, fill it here!"}})])}],l={render:o,staticRenderFns:n},i=l,u=a("VU/8"),c=r,d=u(s,i,!1,c,"data-v-64d25df6",null);t.default=d.exports}});
  //# sourceMappingURL=7.f3ca55003b976ebc586a.js.map