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
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
import{bA as e,aH as i,ck as t,aB as l,aT as n,aD as s,bN as o,aK as a,bu as r}from"./index.js?v=1721298337096";import{l as c,r as p,k as u,G as d,p as g,L as v}from"./vue.js?v=1721298337096";const m=e({name:"Ellipsis",common:i,peers:{Tooltip:t}}),f=l("ellipsis",{overflow:"hidden"},[n("line-clamp","\n white-space: nowrap;\n display: inline-block;\n vertical-align: bottom;\n max-width: 100%;\n "),s("line-clamp","\n display: -webkit-inline-box;\n -webkit-box-orient: vertical;\n "),s("cursor-pointer","\n cursor: pointer;\n ")]);function b(e){return"".concat(e,"-ellipsis--line-clamp")}function h(e,i){return"".concat(e,"-ellipsis--cursor-").concat(i)}const T=Object.assign(Object.assign({},a.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),w=c({name:"Ellipsis",inheritAttrs:!1,props:T,setup(e,{slots:i,attrs:t}){const l=o(),n=a("Ellipsis","-ellipsis",f,m,e,l),s=p(null),r=p(null),c=p(null),T=p(!1),w=u((()=>{const{lineClamp:i}=e,{value:t}=T;return void 0!==i?{textOverflow:"","-webkit-line-clamp":t?"":i}:{textOverflow:t?"":"ellipsis","-webkit-line-clamp":""}}));function k(){let i=!1;const{value:t}=T;if(t)return!0;const{value:n}=s;if(n){const{lineClamp:t}=e;if(function(i){if(!i)return;const t=w.value,n=b(l.value);void 0!==e.lineClamp?C(i,n,"add"):C(i,n,"remove");for(const e in t)i.style[e]!==t[e]&&(i.style[e]=t[e])}(n),void 0!==t)i=n.scrollHeight<=n.offsetHeight;else{const{value:e}=r;e&&(i=e.getBoundingClientRect().width<=n.getBoundingClientRect().width)}!function(i,t){const n=h(l.value,"pointer");"click"!==e.expandTrigger||t?C(i,n,"remove"):C(i,n,"add")}(n,i)}return i}const x=u((()=>"click"===e.expandTrigger?()=>{var e;const{value:i}=T;i&&(null===(e=c.value)||void 0===e||e.setShow(!1)),T.value=!i}:void 0));d((()=>{var i;e.tooltip&&(null===(i=c.value)||void 0===i||i.setShow(!1))}));function C(e,i,t){"add"===t?e.classList.contains(i)||e.classList.add(i):e.classList.contains(i)&&e.classList.remove(i)}return{mergedTheme:n,triggerRef:s,triggerInnerRef:r,tooltipRef:c,handleClick:x,renderTrigger:()=>g("span",Object.assign({},v(t,{class:["".concat(l.value,"-ellipsis"),void 0!==e.lineClamp?b(l.value):void 0,"click"===e.expandTrigger?h(l.value,"pointer"):void 0],style:w.value}),{ref:"triggerRef",onClick:x.value,onMouseenter:"click"===e.expandTrigger?k:void 0}),e.lineClamp?i:g("span",{ref:"triggerInnerRef"},i)),getTooltipDisabled:k}},render(){var e;const{tooltip:i,renderTrigger:t,$slots:l}=this;if(i){const{mergedTheme:n}=this;return g(r,Object.assign({ref:"tooltipRef",placement:"top"},i,{getDisabled:this.getTooltipDisabled,theme:n.peers.Tooltip,themeOverrides:n.peerOverrides.Tooltip}),{trigger:t,default:null!==(e=l.tooltip)&&void 0!==e?e:l.default})}return t()}});export{w as _,T as a,h as b,b as c,m as e,f as s};
|