%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.145.105.122
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/js/report/js/visualconstructor/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/report/js/visualconstructor/fields/reporthandlerselect.min.js
(function(){"use strict";BX.namespace("BX.Report.VisualConstructor.FieldEventHandlers");BX.Report.VisualConstructor.FieldEventHandlers.ReportHandlerSelect=function(e){BX.Report.VisualConstructor.Field.BaseHandler.apply(this,arguments)};BX.Report.VisualConstructor.FieldEventHandlers.ReportHandlerSelect.prototype={__proto__:BX.Report.VisualConstructor.Field.BaseHandler.prototype,constructor:BX.Report.VisualConstructor.FieldEventHandlers.ReportHandlerSelect,process:function(){switch(this.action){case"categorySelected":this.reloadReportHandlerList();break;case"reportHandlerSelected":this.reportHandlerSelected();break;case"removeReportFromConfiguration":this.removeReportFromConfiguration();break}},reportHandlerSelected:function(){var e=this.currentFieldObject.getForm();var t=e.querySelector("[data-role=reports-configurations-container]");var r=BX.findParent(this.currentFieldObject.fieldScope,{attr:{"data-role":"report-configuration-container"}});var o=r.getAttribute("data-source-report-handler");var a=t.getAttribute("data-widget-id");var i=r.getAttribute("data-report-id");var n=e.querySelector("[data-role=preview-view-type-key]");var s=r.getAttribute("data-is-pseudo");var d=this.currentFieldObject.getValue();if(o!==d){var l=this.getReportConfigurationColorPickerValue(r);BX.Report.VC.Core.ajaxPost("configuration.buildPseudoReportConfiguration",{data:{params:{widgetId:a,viewKey:n.value,reportHandlerClassName:d,colorFieldValue:l}},onFullSuccess:function(t){var o=BX.create("div",{html:t.data});if(s==="1"){o.firstChild.setAttribute("data-source-report-handler",r.getAttribute("data-source-report-handler"));o.firstChild.setAttribute("data-source-report-id",r.getAttribute("data-source-report-id"));o.firstChild.classList.add("report-configuration-container-visible");r.parentNode.insertBefore(o.firstChild,r);BX.remove(r)}else{o.firstChild.setAttribute("data-source-report-id",i);o.firstChild.classList.add("report-configuration-container-visible");r.parentNode.insertBefore(o.firstChild,r);var a=BX.create("input",{props:{name:"deletedReports[]",type:"hidden",value:i},attrs:{"data-report-id":i}});e.appendChild(a);r.style.display="none";r.classList.remove("report-configuration-container-visible")}BX.html(null,t.data)}.bind(this)})}},getReportConfigurationColorPickerValue:function(e){var t=e.querySelector("[data-role=visualconstructor-fields-picker] > input");if(t){return t.value}else{return"#ffffff"}},reloadReportHandlerList:function(){BX.Report.VC.Core.ajaxGet("report.getReportHandlersByCategory",{urlParams:{categoryKey:this.ownerFieldObject.getValue()},onFullSuccess:function(e){this.currentFieldObject.setOptions(e.data)}.bind(this)})},removeReportFromConfiguration:function(){var e=BX.findParent(this.currentField,{className:"report-configuration-container"});var t=e.getAttribute("data-report-id");var r=BX.create("input",{props:{name:"deletedReports[]",type:"hidden",value:t}});BX.remove(e);this.currentFieldObject.getForm().appendChild(r)}}})();
//# sourceMappingURL=reporthandlerselect.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit