前端预览加权限设置页面 相关sql修改

This commit is contained in:
jhd
2026-06-26 17:31:10 +08:00
parent 046f4c5e1b
commit 94c5e076f8
358 changed files with 19634 additions and 603 deletions

View File

@@ -0,0 +1 @@
import{n as e,r as t}from"./chunk-AGHRB4JF-Fz9kp2Fp.js";import{c as n}from"./chunk-CSCIHK7Q-VDPd5eNJ.js";var r=e((e,r,o,s)=>{e.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(e,r);n(e,l,c,s);let f=a(u,d,c,l,r);e.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=e((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=e((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};