HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/compile-install-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,l=Array(n);t<n;t++)l[t]=e[t];return l}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy130.js?v=1777008528","./index-legacy118.js?v=1777008528","./index-legacy3.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./ace-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,t){"use strict";var l,r,o,u,a,i,c,d,m,s,f,p,y,g,b,h,_,V,j,v;return{setters:[function(e){l=e.d3,r=e.cO,o=e.K},function(e){u=e.c,a=e.aI,i=e.o,c=e.j,d=e.k,m=e.e,s=e.v,f=e.p,p=e.x,y=e.q,g=e.Q,b=e.z,h=e.ad,_=e.ab},function(e){V=e.B},function(e){j=e._},function(e){v=e.O},null,null,null,null],execute:function(){var t={class:"p-[20px]"},x={class:"p-[20px]"};n("default",u({__name:"compile-install",setup:function(n){var u=v(),A=u.config,C=u.getCustomModuleData,S=u.setCustomModuleData,w=u.handleAddCustomModule,U=u.clearAddForm,M=u.submitCustomModule,k=a(v()),F=k.rules,I=k.tableColumn,D=k.customData,O=k.customForm,R=k.customVisible,E=k.customFormRef;return i(C),function(n,u){var a=b,i=l,v=j,C=r,k=h,T=V,q=_,z=o;return c(),d("div",t,[m(v,null,{"header-left":s(function(){return[m(a,{type:"primary",onClick:f(w)},{default:s(function(){return e(u[5]||(u[5]=[p("添加自定义模块",-1)]))}),_:1},8,["onClick"])]}),content:s(function(){return[m(i,{ref:"customTableRef",column:f(I),"max-height":"30rem",data:f(D),onSelectAll:f(S),onSelect:f(S)},{empty:s(function(){return e(u[6]||(u[6]=[y("div",{class:"flex items-center justify-center"},"列表为空",-1)]))}),_:1},8,["column","data","onSelectAll","onSelect"])]}),_:1}),m(z,{modelValue:f(R),"onUpdate:modelValue":u[4]||(u[4]=function(e){return g(R)?R.value=e:null}),title:"添加自定义选装模块",area:"56","show-footer":"",onConfirm:f(M),onCancel:f(U)},{default:s(function(){return[y("div",x,[m(q,{ref_key:"customFormRef",ref:E,model:f(O),rules:f(F)},{default:s(function(){return[m(k,{prop:"args_name",label:"模块名称"},{default:s(function(){return[m(C,{modelValue:f(O).args_name,"onUpdate:modelValue":u[0]||(u[0]=function(e){return f(O).args_name=e}),placeholder:"请输入模块名称,只能输入字母、数字、下划线",width:"30rem",clearable:""},null,8,["modelValue"])]}),_:1}),m(k,{prop:"ps",label:"模块描述"},{default:s(function(){return[m(C,{modelValue:f(O).ps,"onUpdate:modelValue":u[1]||(u[1]=function(e){return f(O).ps=e}),maxlength:"30",placeholder:"请输入模块描述,30字以内",width:"30rem","show-word-limit":"",clearable:""},null,8,["modelValue"])]}),_:1}),m(k,{prop:"args",label:"模块参数"},{default:s(function(){return[m(C,{modelValue:f(O).args,"onUpdate:modelValue":u[2]||(u[2]=function(e){return f(O).args=e}),placeholder:"如:--add-module=/tmp/echo/echo-nginx-module-master",width:"30rem",clearable:""},null,8,["modelValue"])]}),_:1}),m(k,{prop:"init",label:"前置脚本"},{default:s(function(){return[m(T,{ref:"AceEditor",modelValue:f(O).init,"onUpdate:modelValue":u[3]||(u[3]=function(e){return f(O).init=e}),class:"!h-[32rem] !w-[36rem]","editor-option":f(A)},null,8,["modelValue","editor-option"])]}),_:1})]}),_:1},8,["model","rules"])])]}),_:1},8,["modelValue","onConfirm","onCancel"])])}}}))}}})}();