File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/im/install/js/im/application/recent/dist/recent.bundle.min.js
Back
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
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings