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/rospirotorg.ru/bitrix/js/catalog/entity-selector/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/catalog/entity-selector/config.php
<?php

if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
	die();
}

$entitiesSearchFields = [
	[
		'name' => 'supertitle',
		'type' => 'string',
		'system' => true,
	],
	[
		'name' => 'SEARCH_PROPERTIES',
		'type' => 'string',
	],
	[
		'name' => 'PREVIEW_TEXT',
		'type' => 'string',
	],
	[
		'name' => 'DETAIL_TEXT',
		'type' => 'string',
	],
	[
		'name' => 'PARENT_NAME',
		'type' => 'string',
	],
	[
		'name' => 'PARENT_SEARCH_PROPERTIES',
		'type' => 'string',
	],
	[
		'name' => 'PARENT_PREVIEW_TEXT',
		'type' => 'string',
	],
	[
		'name' => 'PARENT_DETAIL_TEXT',
		'type' => 'string',
	],
];

return [
	'settings' => [
		'entities' => [
			[
				'id' => 'product',
				'options' => [
					'dynamicLoad' => true,
					'dynamicSearch' => true,
					'searchFields' => $entitiesSearchFields,
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/product.svg',
							'captionOptions' => [
								'fitContent' => true,
								'maxWidth' => 150
							],
						],
					],
				],
			],
			[
				'id' => 'product_variation',
				'options' => [
					'dynamicLoad' => false,
					'dynamicSearch' => true,
					'searchFields' => $entitiesSearchFields,
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/product.svg',
							'captionOptions' => [
								'fitContent' => true,
								'maxWidth' => 150
							],
						],
					],
				],
			],
			[
				'id' => 'variation',
				'options' => [
					'dynamicLoad' => true,
					'dynamicSearch' => true,
					'searchFields' => $entitiesSearchFields,
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/product.svg',
							'captionOptions' => [
								'fitContent' => true,
								'maxWidth' => 150
							],
						],
					],
				],
			],
			[
				'id' => 'store',
				'options' => [
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/store.svg',
						],
					],
				]
			],
			[
				'id' => 'dynamic',
				'options' => [
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/dynamic.svg',
						],
					],
				]
			],
			[
				'id' => 'agent-contractor-product-variation',
				'options' => [
					'dynamicLoad' => true,
					'dynamicSearch' => true,
					'searchFields' => $entitiesSearchFields,
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/product.svg',
							'captionOptions' => [
								'fitContent' => true,
								'maxWidth' => 150
							],
						],
					],
				],
			],
			[
				'id' => 'agent-contractor-section',
				'options' => [
					'dynamicLoad' => true,
					'dynamicSearch' => true,
					'searchFields' => $entitiesSearchFields,
					'itemOptions' => [
						'default' => [
							'avatar' => '/bitrix/js/catalog/entity-selector/src/images/product.svg',
							'captionOptions' => [
								'fitContent' => true,
								'maxWidth' => 150
							],
						],
					],
					'tagOptions' => [
						'default' => [
							'textColor' => '#535c69',
							'bgColor' => '#d2f95f',
						]
					],
				],
			],
		],
	],
];

Youez - 2016 - github.com/yon3zu
LinuXploit