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/search/src/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/im/v2/component/search/src/search-config.js
export const Config = {
	get: () => {
		return {
			dialog: {
				entities: [
					{
						id: 'im-bot',
						options: {
							searchableBotTypes: [
								'H',
								'B',
								'S',
								'N',
							],
							fillDialogWithDefaultValues: false,
						},
						dynamicLoad: true,
						dynamicSearch: true,
					},
					{
						id: 'user',
						dynamicLoad: true,
						dynamicSearch: true,
						filters: [
							{
								id: 'im.userDataFilter'
							}
						]
					},
					{
						id: 'im-chat-user',
						options: {
							searchableChatTypes: [
								'C',
								'O'
							],
							fillDialogWithDefaultValues: false,
						},
						dynamicLoad: true,
						dynamicSearch: true,
					},
				],
				preselectedItems: [],
				clearUnavailableItems: false,
				context: 'IM_CHAT_SEARCH',
				id: 'im-search',
			}
		};
	},
	getNetworkEntity: () => {
		return {
			id: 'imbot-network',
			dynamicSearch: true,
			options: {
				'filterExistingLines': true,
			}
		};
	},
	getDepartmentEntity: () => {
		return {
			id: 'department',
			dynamicLoad: true,
			dynamicSearch: true,
			options: {
				selectMode: 'usersAndDepartments',
				allowSelectRootDepartment: true,
			},
			filters: [
				{
					id: 'im.departmentDataFilter'
				}
			]
		};
	},
	getChatEntity: () => {
		return {
			id: 'im-chat',
			options: {
				searchableChatTypes: [
					'C',
					'O',
					'L'
				],
				fillDialogWithDefaultValues: false,
			},
			dynamicLoad: true,
			dynamicSearch: true,
		};
	}
};

Youez - 2016 - github.com/yon3zu
LinuXploit