mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-28 04:14:51 +02:00
Since version 7.7.0, we recommend yours update python to 3.12. [+] Using nginx technology to load static files improves access speed [+] Refactor homepage, website, FTP, and database using vue3 [+] Table loading changed to skeleton screen [+] Add Website statistics-v2 professional plug-in [+] Add Home page - top 5 resource occupancy [+] Add protection for Files management (requires Tamper-proof for Enterprise 3.7) [+] Website, FTP, Databases page add program status [+] Add FTP log analysis (only supports Centos) [+] Add password-free login to phpMyAdmin [+] Add Proxy Project in Website (Supported when web service uses Nginx) [+] Add WP Toolkit (Pro version only) [+] Redesigned Docker module [+] Add WP Toolkit Protection [+] Add WP Toolkit Backup and Restore [+] Add WP Toolkit Migrated [+] Add WP Toolkit Clone site (supports new domain and subdomain) [+] Add WP Toolkit Create site from backup of other panel [+] Add WP Toolkit support for Cron automatic backup (only save Local disk) [+] Add WP Toolkit operation log [+] Add Integrity check for WP Toolkit [+] Add WP Toolkit plug-in management and themes management [*] Optimize phpMyAdmin formula access method [*] Optimize Home page PHP display problem [*] Optimize jump to the login interface after the login expires [*] Optimize automatic renewal of SSL at some times [*] Optimize Let's Encrypt to increase application success rate [-] Fix Logs Audit cannot be opened [-] Fix apache URL rewrite issue [-] Fix phpmyadmin installation problem [-] Fix the problem that some servers cannot install software [-] Fix upload file error [-] Fix left menu hiding problem [-] Fix aaPanel Mobile QR code display problem [-] Fix problem that third-party plug-ins are not displayed in the App Store [-] Fix issue where the menu bar is blank when opening new tabs [-] Fixed panel not being accessible in some cases [-] Fix the issue where Curl warning caused the inability to apply for SSL [-] Fix Quota issues for Website, FTP, Databases [-] Fix file interface display problem on mobile terminal
2 lines
6.5 KiB
JavaScript
2 lines
6.5 KiB
JavaScript
System.register(["./index-legacy.js?v=1721298337096","./vue-legacy.js?v=1721298337096"],(function(e,t){"use strict";var r,i,s,o,l,n,a,p,u,d,v,f,c,h,m,S,y,g,b,w,$,x,R;return{setters:[e=>{r=e.cw,i=e.aV,s=e.bs,o=e.aJ,l=e.aZ,n=e.ci,a=e.bV,p=e.bO,u=e.bP,d=e.bY},e=>{v=e.M,f=e.k,c=e.r,h=e.y,m=e.l,S=e.a,y=e.p,g=e.v,b=e.x,w=e.A,$=e.d,x=e.L,R=e.N}],execute:function(){function t(e,t){var r;if(null==e)return;const i=function(e){if("number"==typeof e)return{"":e.toString()};const t={};return e.split(/ +/).forEach((e=>{if(""===e)return;const[r,i]=e.split(":");void 0===i?t[""]=r:t[r]=i})),t}(e);if(void 0===t)return i[""];if("string"==typeof t)return null!==(r=i[t])&&void 0!==r?r:i[""];if(Array.isArray(t)){for(let e=t.length-1;e>=0;--e){const r=t[e];if(r in i)return i[r]}return i[""]}{let e,r=-1;return Object.keys(i).forEach((s=>{const o=Number(s);!Number.isNaN(o)&&t>=o&&o>=r&&(r=o,e=i[s])})),e}}e("u",(function(e,t=3){let r=null,i=!1,s=0;const o=()=>{i||(s>=3?l():r=window.setTimeout((async()=>{try{await e(),s=0}catch{s++}finally{o()}}),1e3*t))},l=()=>{r&&(clearTimeout(r),r=null)};return h((()=>{i=!0,l()})),{loop:o,clearTimer:l}}));const G={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920},N={},C=i("n-grid"),E=1,_={span:{type:[Number,String],default:E},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},D=(e("_",m({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:_,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:r,overflowRef:i,layoutShiftDisabledRef:o}=S(C),l=g();return{overflow:i,itemStyle:r,layoutShiftDisabled:o,mergedXGap:f((()=>s(t.value||0))),deriveStyle:()=>{e.value;const{privateSpan:r=E,privateShow:i=!0,privateColStart:o,privateOffset:n=0}=l.vnode.props,{value:a}=t,p=s(a||0);return{display:i?"":"none",gridColumn:`${null!=o?o:`span ${r}`} / span ${r}`,marginLeft:n?`calc((100% - (${r} - 1) * ${p}) / ${r} * ${n} + ${p} * ${n})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:e,offset:t,mergedXGap:r}=this;return y("div",{style:{gridColumn:`span ${e} / span ${e}`,marginLeft:t?`calc((100% - (${e} - 1) * ${r}) / ${e} * ${t} + ${r} * ${t})`:""}},this.$slots)}return y("div",{style:[this.itemStyle,this.deriveStyle()]},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e,{overflow:this.overflow}))}})),{xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920}),O="__ssr__",B={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:24},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}};e("a",m({name:"Grid",inheritAttrs:!1,props:B,setup(e){const{mergedClsPrefixRef:i,mergedBreakpointsRef:a}=o(e),p=/^\d+$/,u=c(void 0),v=function(e=G){if(!r)return f((()=>[]));if("function"!=typeof window.matchMedia)return f((()=>[]));const t=c({}),i=Object.keys(e),s=(e,r)=>{e.matches?t.value[r]=!0:t.value[r]=!1};return i.forEach((t=>{const r=e[t];let i,o;void 0===N[r]?(i=window.matchMedia(`(min-width: ${r}px)`),i.addEventListener?i.addEventListener("change",(e=>{o.forEach((r=>{r(e,t)}))})):i.addListener&&i.addListener((e=>{o.forEach((r=>{r(e,t)}))})),o=new Set,N[r]={mql:i,cbs:o}):(i=N[r].mql,o=N[r].cbs),o.add(s),i.matches&&o.forEach((e=>{e(i,t)}))})),h((()=>{i.forEach((t=>{const{cbs:r}=N[e[t]];r.has(s)&&r.delete(s)}))})),f((()=>{const{value:e}=t;return i.filter((t=>e[t]))}))}((null==a?void 0:a.value)||D),m=l((()=>!(!e.itemResponsive&&p.test(e.cols.toString())&&p.test(e.xGap.toString())&&p.test(e.yGap.toString())))),S=f((()=>{if(m.value)return"self"===e.responsive?u.value:v.value})),y=l((()=>{var r;return null!==(r=Number(t(e.cols.toString(),S.value)))&&void 0!==r?r:24})),g=l((()=>t(e.xGap.toString(),S.value))),x=l((()=>t(e.yGap.toString(),S.value))),R=e=>{u.value=e.contentRect.width},E=e=>{d(R,e)},_=c(!1),B=f((()=>{if("self"===e.responsive)return E})),L=c(!1),T=c();return b((()=>{const{value:e}=T;e&&e.hasAttribute(O)&&(e.removeAttribute(O),L.value=!0)})),w(C,{layoutShiftDisabledRef:$(e,"layoutShiftDisabled"),isSsrRef:L,itemStyleRef:$(e,"itemStyle"),xGapRef:g,overflowRef:_}),{isSsr:!n,contentEl:T,mergedClsPrefix:i,style:f((()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:s(e.xGap),rowGap:s(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${y.value}, minmax(0, 1fr))`,columnGap:s(g.value),rowGap:s(x.value)})),isResponsive:m,responsiveQuery:S,responsiveCols:y,handleResize:B,overflow:_}},render(){if(this.layoutShiftDisabled)return y("div",x({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var e,r,i,s,o,l,n;this.overflow=!1;const a=p(u(this)),d=[],{collapsed:f,collapsedRows:c,responsiveCols:h,responsiveQuery:m}=this;a.forEach((e=>{var r,i,s,o,l;if(!0!==(null===(r=null==e?void 0:e.type)||void 0===r?void 0:r.__GRID_ITEM__))return;if(function(e){var t;const r=null===(t=e.dirs)||void 0===t?void 0:t.find((({dir:e})=>e===v));return!(!r||!1!==r.value)}(e)){const t=R(e);return t.props?t.props.privateShow=!1:t.props={privateShow:!1},void d.push({child:t,rawChildSpan:0})}e.dirs=(null===(i=e.dirs)||void 0===i?void 0:i.filter((({dir:e})=>e!==v)))||null,0===(null===(s=e.dirs)||void 0===s?void 0:s.length)&&(e.dirs=null);const n=R(e),a=Number(null!==(l=t(null===(o=n.props)||void 0===o?void 0:o.span,m))&&void 0!==l?l:1);0!==a&&d.push({child:n,rawChildSpan:a})}));let S=0;const g=null===(e=d[d.length-1])||void 0===e?void 0:e.child;if(null==g?void 0:g.props){const e=null===(r=g.props)||void 0===r?void 0:r.suffix;void 0!==e&&!1!==e&&(S=Number(null!==(s=t(null===(i=g.props)||void 0===i?void 0:i.span,m))&&void 0!==s?s:1),g.props.privateSpan=S,g.props.privateColStart=h+1-S,g.props.privateShow=null===(o=g.props.privateShow)||void 0===o||o)}let b=0,w=!1;for(const{child:p,rawChildSpan:u}of d){if(w&&(this.overflow=!0),!w){const e=Number(null!==(n=t(null===(l=p.props)||void 0===l?void 0:l.offset,m))&&void 0!==n?n:0),r=Math.min(u+e,h);if(p.props?(p.props.privateSpan=r,p.props.privateOffset=e):p.props={privateSpan:r,privateOffset:e},f){const e=b%h;r+e>h&&(b+=h-e),r+b+S>c*h?w=!0:b+=r}}w&&(p.props?!0!==p.props.privateShow&&(p.props.privateShow=!1):p.props={privateShow:!1})}return y("div",x({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[O]:this.isSsr||void 0},this.$attrs),d.map((({child:e})=>e)))};return this.isResponsive&&"self"===this.responsive?y(a,{onResize:this.handleResize},{default:e}):e()}}))}}}));
|