uawdijnntqw1x1x1
IP : 216.73.217.167
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
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,
OS : Linux
PATH:
/
var
/
.
/
files
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
js
/
.
/
scale
/
actionsparamstypes.min.js
/
/
(function(e){if(BX.Scale.ActionsParamsTypes)return;BX.Scale.ActionsParamsTypes={};BX.Scale.ActionsParamsTypes.Proto={init:function(e,t){this.id=e;this.domNodeId="action_user_param_"+e;this.domNode=null;this.name=t.NAME;this.defaultValue=t.DEFAULT_VALUE;this.required=t.REQUIRED;this.type=t.TYPE},createDomNode:function(){},getDomNode:function(){return this.domNode},getValue:function(){var e=false;if(this.domNode&&this.domNode.value!==undefined)e=this.domNode.value;return e}};BX.Scale.ActionsParamsTypes.String=function(e,t){this.init(e,t);this.createDomNode=function(){var e=this.type=="PASSWORD"?"password":"text";this.domNode=BX.create("INPUT",{props:{id:this.domNodeId,name:this.domNodeId,type:e}});if(this.defaultValue!==undefined)this.domNode.value=this.defaultValue;if(this.required!==undefined&&this.required=="Y"){var t=this;this.domNode.onkeyup=this.domNode.oninput=this.domNode.onpaste=this.domNode.oncut=this.domNode.onblur=function(e){var i=t.isEmpty();BX.onCustomEvent("BXScaleActionParamKeyUp",[{paramId:t.id,empty:i}])}}};this.isEmpty=function(){return this.domNode.value.length<=0};this.createDomNode()};BX.Scale.ActionsParamsTypes.String.prototype=BX.Scale.ActionsParamsTypes.Proto;BX.Scale.ActionsParamsTypes.Checkbox=function(e,t){this.init(e,t);this.checked=t.CHECKED=="Y"||this.defaultValue=="Y";this.string=t.STRING||"";this.createDomNode=function(){this.domNode=BX.create("INPUT",{props:{id:this.domNodeId,name:this.domNodeId,type:"checkbox",checked:this.checked}})};this.getValue=function(){var e=BX(this.domNodeId),t=false;if(e&&e.checked!==undefined)t=e.checked?this.string:"";return t};this.createDomNode()};BX.Scale.ActionsParamsTypes.Checkbox.prototype=BX.Scale.ActionsParamsTypes.Proto;BX.Scale.ActionsParamsTypes.Dropdown=function(e,t){this.init(e,t);this.values=t.VALUES;this.createDomNode=function(){this.domNode=BX.create("SELECT",{props:{id:this.domNodeId,name:this.domNodeId}});for(var e in this.values){var t=BX.create("OPTION");t.appendChild(document.createTextNode(this.values[e]));t.setAttribute("value",e);if(this.defaultValue){t.defaultSelected=true;t.selected=true}this.domNode.appendChild(t)}};this.getValue=function(){var e=false;if(this.domNode.selectedIndex!=-1)e=this.domNode.options[this.domNode.selectedIndex].value;return e};this.createDomNode()};BX.Scale.ActionsParamsTypes.Dropdown.prototype=BX.Scale.ActionsParamsTypes.Proto;BX.Scale.ActionsParamsTypes.Text=function(e,t){this.init(e,t);this.createDomNode=function(){this.domNode=BX.create("DIV");this.textNode=BX.create("SPAN",{html:this.defaultValue});this.inputNode=BX.create("INPUT",{props:{id:this.domNodeId,name:this.domNodeId,type:"hidden"}});if(this.defaultValue!==undefined)this.inputNode.value=this.defaultValue;this.domNode.appendChild(this.inputNode);this.domNode.appendChild(this.textNode)};this.getValue=function(){var e=false;if(this.inputNode&&this.inputNode.value!==undefined)e=this.inputNode.value;return e};this.createDomNode()};BX.Scale.ActionsParamsTypes.Text.prototype=BX.Scale.ActionsParamsTypes.Proto})(window); //# sourceMappingURL=actionsparamstypes.map.js
/var/./files/need-2-delete/mini-borishof.ru1/bitrix/js/./scale/actionsparamstypes.min.js