Files
aaPanel/BTPanel/static/vite/js/set.js
T
Jack ed55fa708d Update to 7.7.0
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
2024-07-19 11:25:10 +08:00

2 lines
2.9 KiB
JavaScript

import{g as a,h as e,k as t,n as s,ab as i,B as l,G as o,q as n}from"./index.js?v=1721298337096";import{_ as d,a as r}from"./index.vue_vue_type_script_setup_true_lang6.js?v=1721298337096";import{ba as m,g as p,bb as u,bc as c}from"./site2.js?v=1721298337096";import{b as _}from"./useTableColumns.js?v=1721298337096";import{u as f}from"./useTableData.js?v=1721298337096";import{l as v,ad as b,r as x,f as h,S as w,Z as j,P,V as g,_ as S,W as y,b as k,q as C,a3 as H,t as T}from"./vue.js?v=1721298337096";import{N as q}from"./DataTable.js?v=1721298337096";import"./pinia.js?v=1721298337096";import"./Progress.js?v=1721298337096";import"./Skeleton.js?v=1721298337096";import"./Checkbox.js?v=1721298337096";import"./Ellipsis.js?v=1721298337096";import"./Select.js?v=1721298337096";import"./Tag.js?v=1721298337096";import"./Empty.js?v=1721298337096";import"./omit.js?v=1721298337096";const D={class:"p-20px"},E={class:"flex-1"},U={class:"mt-12px"},$={class:"px-20px pt-24px pb-8px"},N={class:"w-150px"},A=v({__name:"set",props:{data:{}},setup(v){const{t:A}=b(),B=v,{setOptions:G}=B.data,O=x(""),R=async()=>{const a=O.value.trim();""!==a?(await u({name:a}),O.value="",await K(),null==G||G(I.data)):s.error(A("Site.PHP.index_46"))},V=a(),W=x(null),Z=h({id:-1,name:""}),z={name:{required:!0,message:A("Site.PHP.index_46"),trigger:["blur","change"]}},F=async({hide:a})=>{var e;await(null==(e=W.value)?void 0:e.validate()),await c(T(Z)),await K(),null==G||G(I.data),a()},{table:I,columns:J}=f([{key:"name",title:"Name"},_({width:80,options:a=>[{label:"Edit",disabled:0===a.id,onClick:()=>{(a=>{Z.id=a.id,Z.name=a.name,V.title="".concat(A("Site.PHP.index_48")," [").concat(a.name,"]"),V.show=!0})(a)}},{label:"Del",disabled:0===a.id,onClick:()=>{e({title:"".concat(A("Site.PHP.index_49")," [").concat(a.name,"]"),content:A("Site.PHP.index_50"),onConfirm:async({hide:e})=>{await m({id:a.id}),await K(),null==G||G(I.data,a.id),e()}})}}]})]),K=async()=>{const{message:a}=await p();I.data=t(a)?a:[]};return K(),(a,e)=>{const t=i,s=l,m=o,p=q,u=d,c=r,_=n;return w(),j("div",D,[P(m,null,{default:g((()=>[S("div",E,[P(t,{value:y(O),"onUpdate:value":e[0]||(e[0]=a=>k(O)?O.value=a:null),placeholder:a.$t("Site.PHP.index_46")},null,8,["value","placeholder"])]),S("div",null,[P(s,{type:"primary",onClick:R},{default:g((()=>[C(H(a.$t("Site.Cert.Add")),1)])),_:1})])])),_:1}),S("div",U,[P(p,{"max-height":300,data:y(I).data,columns:y(J)},null,8,["data","columns"])]),P(_,{show:y(V).show,"onUpdate:show":e[2]||(e[2]=a=>y(V).show=a),title:y(V).title,width:350,footer:!0,onConfirm:F},{default:g((()=>[S("div",$,[P(c,{ref_key:"formRef",ref:W,model:y(Z),rules:z},{default:g((()=>[P(u,{label:a.$t("Site.PHP.index_47"),path:"name"},{default:g((()=>[S("div",N,[P(t,{value:y(Z).name,"onUpdate:value":e[1]||(e[1]=a=>y(Z).name=a),placeholder:""},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])])),_:1},8,["show","title"])])}}});export{A as default};