File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/im/v2/application/sidebar/dist/sidebar.bundle.js
Back
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,im_v2_provider_pull,im_v2_const) { '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.initPullHandler()).then(() => this.initComponent()).then(() => this.initComplete()); } initCore() { return new Promise(resolve => { im_v2_application_core.Core.ready().then(controller => { this.controller = controller; resolve(); }); }); } initPullHandler() { if (this.controller.pullHandlers.includes(im_v2_const.PullHandlers.recent)) { return Promise.resolve(); } this.controller.pullClient.subscribe(new im_v2_provider_pull.RecentPullHandler({ store: this.controller.getStore(), controller: this.controller, application: this })); this.controller.pullHandlers.push(im_v2_const.PullHandlers.recent); return Promise.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,BX.Messenger.v2.Provider.Pull,BX.Messenger.v2.Const)); //# sourceMappingURL=sidebar.bundle.js.map
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings