403Webshell
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/cvetdv.ru/bitrix/js/im/v2/component/sidebar/src/components/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/im/v2/component/sidebar/src/components/sidebar-panel.js
import { Text } from 'main.core';

import { MainPanel } from './panels/main/main-panel';
import { TaskPanel } from './panels/task/task-panel';
import { FilePanel } from './panels/file/file-panel';
import { FileUnsortedPanel } from './panels/file-unsorted/file-unsorted-panel';
import { LinkPanel } from './panels/info/link-panel';
import { MarketPanel } from './panels/market/detail';
import { MeetingPanel } from './panels/meeting/meeting-panel';
import { MembersPanel } from './panels/members/members-panel';
import { FavoritePanel } from './panels/info/favorite-panel';
import { MessageSearchPanel } from './panels/message-search/message-search-panel';
import { ChatsWithUserPanel } from './panels/chats-with-user/chats-with-user-panel';
import { MultidialogPanel } from './panels/multidialog/multidialog-panel';

import '../css/sidebar-panel.css';
import '../css/detail.css';

// @vue/component
export const SidebarPanel = {
	name: 'SidebarPanel',
	components: {
		MainPanel,
		ChatsWithUserPanel,
		MembersPanel,
		FavoritePanel,
		LinkPanel,
		FilePanel,
		TaskPanel,
		MeetingPanel,
		MarketPanel,
		MessageSearchPanel,
		FileUnsortedPanel,
		MultidialogPanel,
	},
	props:
	{
		dialogId: {
			type: String,
			required: true,
		},
		panel: {
			type: String,
			required: true,
		},
		secondLevel: {
			type: Boolean,
			default: false,
		},
		entityId: {
			type: String,
			default: '',
		},
	},
	computed:
	{
		panelComponentName(): string
		{
			return `${Text.capitalize(this.panel)}Panel`;
		},
	},
	template: `
		<div class="bx-im-sidebar-panel__container" :class="{'--second-level': secondLevel}">
			<KeepAlive>
				<component
					:is="panelComponentName"
					:dialogId="dialogId"
					:entityId="entityId"
					:secondLevel="secondLevel"
					class="bx-im-sidebar-panel__component"
				/>
			</KeepAlive>
		</div>
	`,
};

Youez - 2016 - github.com/yon3zu
LinuXploit