"use strict";var e=require("../../../../../common/vendor.js"),t=require("../IComponentServer.js"),r=require("../../../../../store/index.js");class i extends t.IComponentServer{constructor(t){super(),this.store=r.store.state.timStore,this.currentStore={},this.TUICore=e.index.$TUIKit,this.bindTIMEvent()}destroyed(){this.unbindTIMEvent()}bindTIMEvent(){this.TUICore.on(e.index.$TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated,this)}unbindTIMEvent(){this.TUICore.off(e.index.$TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated)}handleProfileUpdated(e){console.log(e)}}exports.TUIProfileServer=i;
