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/v2/application/sidebar/dist/ |
Upload File : |
this.BX = this.BX || {}; this.BX.Messenger = this.BX.Messenger || {}; this.BX.Messenger.v2 = this.BX.Messenger.v2 || {}; (function (exports,im_v2_application_core,im_v2_component_oldChatEmbedding_recentList) { 'use strict'; var _applicationName = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("applicationName"); class SidebarApplication { constructor(params = {}) { this.inited = false; this.initPromise = null; this.initPromiseResolver = null; this.rootNode = null; this.vueInstance = null; this.controller = null; Object.defineProperty(this, _applicationName, { writable: true, value: 'Sidebar' }); this.initPromise = new Promise(resolve => { this.initPromiseResolver = resolve; }); this.params = params; this.rootNode = this.params.node || document.createElement('div'); this.initCore().then(() => this.initComponent()).then(() => this.initComplete()); } initCore() { return new Promise(resolve => { im_v2_application_core.Core.ready().then(controller => { this.controller = controller; resolve(); }); }); } initComponent() { return this.controller.createVue(this, { name: babelHelpers.classPrivateFieldLooseBase(this, _applicationName)[_applicationName], el: this.rootNode, components: { RecentListComponent: im_v2_component_oldChatEmbedding_recentList.RecentList }, template: `<RecentListComponent :compactMode="true"/>` }).then(vue => { this.vueInstance = vue; return Promise.resolve(); }); } initComplete() { this.inited = true; this.initPromiseResolver(this); } ready() { if (this.inited) { return Promise.resolve(this); } return this.initPromise; } } exports.SidebarApplication = SidebarApplication; }((this.BX.Messenger.v2.Application = this.BX.Messenger.v2.Application || {}),BX.Messenger.v2.Application,BX.Messenger.v2.ComponentLegacy)); //# sourceMappingURL=sidebar.bundle.js.map