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/landing/ui/field/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/ui/field/dynamic_image_field.min.js
(function(){"use strict";BX.namespace("BX.Landing.UI.Field");BX.Landing.UI.Field.DynamicImage=function(e){BX.Landing.UI.Field.BaseField.apply(this,arguments);BX.addClass(this.layout,"landing-ui-field-dynamic-image");BX.remove(this.input);this.reference=e.reference;this.linkField=e.linkField;this.dropdownField=new BX.Landing.UI.Field.Dropdown({title:e.title,items:e.dropdownItems,content:BX.type.isPlainObject(e.value)?e.value.id:undefined});this.checkboxField=new BX.Landing.UI.Field.Checkbox({title:BX.Landing.Loc.getMessage("LANDING_BLOCK__DYNAMIC_LINK_ACTION_FIElD_LABEL"),items:[{name:BX.Landing.Loc.getMessage("LANDING_BLOCK__DYNAMIC_IMAGE_MAKE_LINK_TO_DETAIL"),value:true,checked:function(){if(BX.type.isPlainObject(e.value)){return[true,"true"].includes(e.value.link)}return false}()}],multiple:false});BX.remove(this.dropdownField.header);BX.remove(this.checkboxField.header);this.grid=this.createGrid();this.dropdownContainer=this.grid.children[0];this.checkboxContainer=this.grid.children[1];this.layout.appendChild(this.grid);this.dropdownContainer.appendChild(this.dropdownField.layout);if(!e.hideCheckbox){this.checkboxContainer.appendChild(this.checkboxField.layout)}if(BX.type.isPlainObject(e.value)){this.setValue(e.value)}};BX.Landing.UI.Field.DynamicImage.prototype={constructor:BX.Landing.UI.Field.DynamicImage,__proto__:BX.Landing.UI.Field.BaseField.prototype,createGrid:function(){return BX.create({tag:"div",props:{className:"landing-ui-field-dynamic-image-grid"},children:[BX.create({tag:"div",props:{className:"landing-ui-field-dynamic-image-grid-reference"}}),BX.create({tag:"div",props:{className:"landing-ui-field-dynamic-image-grid-link"}})]})},getValue:function(){return{id:this.dropdownField.getValue(),link:this.checkboxField.getValue()}},setValue:function(e){if(BX.type.isPlainObject(e)){this.dropdownField.setValue(e.id);this.checkboxField.setValue(e.link)}}}})();
//# sourceMappingURL=dynamic_image_field.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit