(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15],{adef:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"row q-mb-md"},[i("div",{directives:[{name:"t",rawName:"v-t",value:"COREWEBCLIENT.LABEL_EMAIL",expression:"'COREWEBCLIENT.LABEL_EMAIL'"}],staticClass:"col-2 q-my-sm"}),i("div",{staticClass:"col-5"},[i("q-input",{ref:"publicId",attrs:{outlined:"",dense:"","bg-color":"white",disable:!e.createMode},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.save.apply(null,arguments)}},model:{value:e.publicId,callback:function(t){e.publicId=t},expression:"publicId"}})],1)])},a=[],s=(i("498a"),i("2ef0")),u=i.n(s),l=i("21ac"),o=i("6bfe"),r={name:"EditUserMainData",props:{user:Object,createMode:Boolean},data:function(){return{publicId:""}},watch:{user:function(){this.populate()}},mounted:function(){this.populate()},methods:{getSaveParameters:function(){var e;return{PublicId:this.createMode?this.publicId:null===(e=this.user)||void 0===e?void 0:e.publicId}},hasChanges:function(){var e;return this.publicId!==(null===(e=this.user)||void 0===e?void 0:e.publicId)},revertChanges:function(){this.populate()},populate:function(){var e;this.publicId=o["a"].pString(null===(e=this.user)||void 0===e?void 0:e.publicId)},isDataValid:function(){var e=u.a.trim(this.publicId);return""!==e||(l["a"].showError(this.$t("ADMINPANELWEBCLIENT.ERROR_USER_NAME_EMPTY")),this.$refs.publicId.$el.focus(),!1)},save:function(){this.$emit("save")}}},c=r,d=i("2877"),p=i("27f9"),b=i("eebe"),f=i.n(b),v=Object(d["a"])(c,n,a,!1,null,"5f78641a",null);t["default"]=v.exports;f()(v,"components",{QInput:p["a"]})}}]);