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/index-legacy29.js
!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(n,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return e(f,"_invoke",function(n,e,o){var u,a,i,l=0,f=o||[],s=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return u=n,a=0,i=t,p.n=e,c}};function d(n,e){for(a=n,i=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],d=p.p,y=u[2];n>3?(o=y===e)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=t):u[0]<=d&&((o=n<2&&d<u[1])?(a=0,p.v=e,p.n=u[1]):d<y&&(o=n<3||u[0]>e||e>y)&&(u[4]=n,u[5]=e,p.n=y,a=0))}if(o||n>1)return c;throw s=!0,e}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,y),a=f,i=y;(r=a<2?t:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),d(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=t}else if((r=(s=p.n<0)?i:n.call(e,p))!==c)break}catch(r){u=t,a=1,i=r}finally{l=1}}return{value:r,done:s}}}(n,u,a),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(e(r={},u,function(){return this}),r),d=s.prototype=l.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,e(n,a,"GeneratorFunction")),n.prototype=Object.create(d),n}return f.prototype=s,e(d,"constructor",s),e(s,"constructor",f),f.displayName="GeneratorFunction",e(s,a,"GeneratorFunction"),e(d),e(d,a,"Generator"),e(d,u,function(){return this}),e(d,"toString",function(){return"[object Generator]"}),(n=function(){return{w:i,m:y}})()}function e(n,t,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}e=function(n,t,r,o){function a(t,r){e(n,t,function(n){return this._invoke(t,r,n)})}t?u?u(n,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[t]=r:(a("next",0),a("throw",1),a("return",2))},e(n,t,r,o)}function t(n,e,t,r,o,u,a){try{var i=n[u](a),c=i.value}catch(n){return void t(n)}i.done?e(c):Promise.resolve(c).then(r,o)}function r(n){return function(){var e=this,r=arguments;return new Promise(function(o,u){var a=n.apply(e,r);function i(n){t(a,o,u,i,c,"next",n)}function c(n){t(a,o,u,i,c,"throw",n)}i(void 0)})}}function o(n){return function(n){if(Array.isArray(n))return u(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return u(n,e);var t={}.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(n,e):void 0}}(n)||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 u(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}System.register(["./utils-lib-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./index-legacy217.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy175.js?v=1777008528","./index-legacy3.js?v=1777008528","./database-legacy.js?v=1777008528","./useMethod-legacy5.js?v=1777008528","./useStore-legacy4.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(e,t){"use strict";var u,a,i,c,l,f,s,p,d,y,v,g,m,h,_,b,j,w,x,S,k,C,O,T,q,A,P,V,G,E,F,U,I,L,M,H,J,N,R,D,z,B,Q,$,K,W,X,Y,Z,nn,en,tn,rn,on,un,an;return{setters:[function(n){u=n.e,a=n._,i=n.k,c=n.c7,l=n.c_,f=n.d3,s=n.d4,p=n.c4},function(n){d=n._},function(n){y=n._},function(n){v=n.c,g=n.H,m=n.r,h=n.V,_=n.g,b=n.w,j=n.o,w=n.I,x=n.j,S=n.k,k=n.p,C=n.C,O=n.v,T=n.e,q=n.y,A=n.q,P=n.x,V=n.Q,G=n.L,E=n.F,F=n.B,U=n.s,I=n.J,L=n.z,M=n.am,H=n.an},function(n){J=n._},function(n){N=n.t,R=n.e,D=n.D,z=n.E,B=n.g},function(n){Q=n.getModulesCloudServer,$=n.getModulesList},function(n){K=n.b,W=n.o,X=n.f,Y=n.h,Z=n.l,nn=n.p,en=n.j,tn=n.d,rn=n.m},function(n){on=n.g},function(n){un=n._},function(n){an=n._},null,null,null,null],execute:function(){var cn={class:"flex items-center"},ln={class:"w-[20rem] truncate inline-block"};e("default",v({__name:"index",setup:function(e){var v=on(),fn=v.refs,sn=fn.isRefreshTable,pn=fn.isLoading,dn=fn.envStatus,yn=fn.isHaveServer,vn=v.resetRefresh,gn=v.refreshTableList,mn=g({total:0,page:1,row:10}),hn=m([]),_n=h([]),bn=m(null),jn=m("all"),wn=m(""),xn=m([]),Sn=X(),kn=_(function(){return!dn.value.setup&&!yn.value}),Cn=function(){u({title:"管理员密码",area:42,component:function(){return a(function(){return t.import("./index-legacy225.js?v=1777008528")},void 0,t.meta.url)},showFooter:!0})},On=function(){return[R()].concat(o(Y(Z)),[D({event:function(n,e){return nn(n,e)}}),en(xn.value,"pgsql"),z({table:"databases"}),B([{onClick:tn,title:"权限"},{onClick:Z,title:"改密"},{onClick:rn,title:"删除"}])])},Tn=function(){var e=r(n().m(function e(){return n().w(function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,n.n=1,i({request:Q({data:JSON.stringify({type:"pgsql"})},"pgsql"),data:[Array,xn]});case 1:return xn.value.length||(yn.value=!1),n.a(2,xn.value);case 2:n.p=2,n.v;case 3:return n.a(2)}},e,null,[[0,2]])}));return function(){return e.apply(this,arguments)}}(),qn=function(){var e=r(n().m(function e(){var t;return n().w(function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,""===(t={p:mn.page,limit:mn.row,tables:"databases",search:wn.value,sid:"all"===jn.value?"":jn.value}).sid&&delete t.sid,n.n=1,i({loading:pn,request:$({data:JSON.stringify(t)},"pgsql"),data:{data:[Array,hn],page:p(mn)}});case 1:n.v,n.n=3;break;case 2:n.p=2,n.v;case 3:return n.a(2)}},e,null,[[0,2]])}));return function(){return e.apply(this,arguments)}}(),An=function(){var e=r(n().m(function e(){return n().w(function(n){for(;;)switch(n.n){case 0:return qn(),n.n=1,Tn();case 1:_n.value=On();case 2:return n.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return b(function(){return sn.value},function(){var e=r(n().m(function e(t){return n().w(function(n){for(;;)switch(n.n){case 0:if(!t){n.n=1;break}return n.n=1,qn();case 1:vn();case 2:return n.a(2)}},e)}));return function(n){return e.apply(this,arguments)}}()),j(function(){return An()}),function(n,e){var t=J,r=L,u=c,a=M,i=H,p=l,v=f,g=s,m=y,h=d,_=w("bt-loading");return x(),S("div",null,[k(kn)?(x(),C(t,{key:0},{content:O(function(){return[T(un,{type:"PgSql"})]}),_:1})):q("",!0),T(h,null,{"header-left":O(function(){return[A("div",cn,[T(r,{type:"primary",onClick:e[0]||(e[0]=function(n){return k(K)(Tn)})},{default:O(function(){return o(e[6]||(e[6]=[P(" 添加数据库 ",-1)]))}),_:1}),T(r,{onClick:Cn},{default:O(function(){return o(e[7]||(e[7]=[P("管理员密码",-1)]))}),_:1}),T(r,{onClick:k(W)},{default:O(function(){return o(e[8]||(e[8]=[P("远程数据库",-1)]))}),_:1},8,["onClick"]),T(an,{"comp-data":k(xn),class:"mx-12px"},null,8,["comp-data"]),T(u,{onClick:e[1]||(e[1]=function(n){return k(N)({name:"数据库",type:12})}),icon:"desired",iconClass:"text-medium"},{default:O(function(){return o(e[9]||(e[9]=[P(" 需求反馈 ",-1)]))}),_:1})])]}),"header-right":O(function(){return[T(i,{modelValue:k(jn),"onUpdate:modelValue":e[2]||(e[2]=function(n){return V(jn)?jn.value=n:null}),onChange:k(gn),class:G(["!w-[14rem] mr-[8px]",{"custom-types-bg-green":"all"!==k(jn)}])},{default:O(function(){return[T(a,{label:"全部",value:"all"}),(x(!0),S(E,null,F(k(xn),function(n,e){return x(),C(a,{key:e,label:"".concat("all"!==k(jn)?"已选:":"").concat(n.ps),value:n.id},{default:O(function(){return[A("span",ln,U(n.ps),1)]}),_:2},1032,["label","value"])}),128))]}),_:1},8,["modelValue","onChange","class"]),T(p,{class:"w-[26rem]",modelValue:k(wn),"onUpdate:modelValue":e[3]||(e[3]=function(n){return V(wn)?wn.value=n:null}),onSearch:k(gn),placeholder:"请输入数据库名称/备注"},null,8,["modelValue","onSearch"])]}),content:O(function(){return[I(T(v,{ref_key:"pgsqlDbTableRef",ref:bn,column:k(_n),data:k(hn)},null,8,["column","data"]),[[_,k(pn)]])]}),"footer-left":O(function(){return[T(g,{options:k(Sn),"table-ref":k(bn)},null,8,["options","table-ref"])]}),"footer-right":O(function(){return[T(m,{total:k(mn).total,page:k(mn).page,"onUpdate:page":e[4]||(e[4]=function(n){return k(mn).page=n}),row:k(mn).row,"onUpdate:row":e[5]||(e[5]=function(n){return k(mn).row=n}),onChange:k(gn)},null,8,["total","page","row","onChange"])]}),_:1})])}}}))}}})}();