Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/im/application/recent/dist/ |
Upload File : |
this.BX=this.BX||{};this.BX.Messenger=this.BX.Messenger||{};(function(e,t,n){"use strict"; /** * Bitrix Im * Core application * * @package bitrix * @subpackage im * @copyright 2001-2020 Bitrix */var i=function(){function e(){var t=this;var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};babelHelpers.classCallCheck(this,e);this.inited=false;this.initPromise=new BX.Promise;this.params=i;this.template=null;this.rootNode=this.params.node||document.createElement("div");this.isMessenger=i.hasDialog===true;this.templateTemp=null;this.rootNodeTemp=this.params.nodeTemp||document.createElement("div");this.eventBus=new n.VueVendorV2;this.initCore().then((function(e){return t.initParams(e)})).then((function(){return t.initComponent()})).then((function(){return t.initComplete()}))}babelHelpers.createClass(e,[{key:"initCore",value:function e(){var n=this;return new Promise((function(e,i){t.Core.ready().then((function(t){n.controller=t;e()}))}))}},{key:"initParams",value:function e(t){return new Promise((function(e,t){return e()}))}},{key:"initComponent",value:function e(){var t=this;return this.controller.createVue(this,{el:this.rootNode,template:'<bx-im-component-recent :hasDialog="'.concat(this.isMessenger,'"/>')}).then((function(e){t.template=e;return new Promise((function(e,t){return e()}))}))}},{key:"initComplete",value:function e(){this.inited=true;this.initPromise.resolve(this)}},{key:"ready",value:function e(){if(this.inited){var t=new BX.Promise;t.resolve(this);return t}return this.initPromise}},{key:"emit",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.eventBus.$emit(t,n);return true}},{key:"listen",value:function e(t,n){if(typeof n!=="function"){return false}this.eventBus.$on(t,n);return true}}]);return e}();e.RecentApplication=i})(this.BX.Messenger.Application=this.BX.Messenger.Application||{},BX.Messenger.Application,BX); //# sourceMappingURL=recent.bundle.map.js