import{d as h,u as B,r as f,o as c,c as x,w as e,a as m,b as s,V as r,ad as u,b_ as y,X as V,Y as v,b$ as D,f as b,c8 as g,t as F,a0 as E,ah as k,h as w,e as C,l as L,p as A,m as I,_ as S}from"./index.6c36cb53.js";import{M}from"./index.a696a3d7.js";import{V as N}from"./VSlider.4e6efa7b.js";const t=l=>(A("data-v-ab974e3e"),l=l(),I(),l),R={class:"px-3 mt-2"},U={class:"d-flex algin-center",style:{width:"50px"}},T=t(()=>m("div",{class:"ml-7"}," \u6BEB\u7C73(mm) ",-1)),W=t(()=>m("span",{class:"ml-2"},"\u663E\u793A\u7EBF\u5BBD",-1)),X=t(()=>m("span",{class:""}," \u6700\u5C0F",-1)),Y=t(()=>m("span",{class:""}," \u6700\u5927",-1)),$=t(()=>m("p",{class:"mt-2"},"\u5F53\u524D\u7EBF\u5BBD\uFF1AByLayer",-1)),j=h({__name:"index",setup(l){const{isShow:i,showDialog:_}=B(!1,"Mx_LWeight"),p=[{name:"\u786E\u5B9A",fun:()=>{},primary:!0},{name:"\u53D6\u6D88",fun:()=>_(!1)}],o=f(.2),d=[{name:"ByLayer",size:.01},{name:"ByBlock",size:.01},{name:"\u9ED8\u8BA4",size:.01},{name:"0.00mm",size:.01},{name:"0.05mm",size:.05},{name:"0.09mm",size:.09},{name:"0.13mm",size:.13},{name:"0.15mm",size:.15},{name:"0.18mm",size:.18},{name:"0.20mm",size:.2},{name:"0.25mm",size:.25},{name:"0.30mm",size:.3},{name:"0.35mm",size:.35},{name:"0.40mm",size:.4},{name:"0.50mm",size:.5},{name:"0.53mm",size:.53},{name:"0.60mm",size:.6},{name:"0.70mm",size:.7},{name:"0.80mm",size:.8},{name:"0.90mm",size:.9},{name:"1.00mm",size:1},{name:"1.06mm",size:1.06},{name:"1.20mm",size:1.2},{name:"1.40mm",size:1.4},{name:"1.58mm",size:1.58},{name:"2.00mm",size:2},{name:"2.11mm",size:2.11}];return(q,n)=>(c(),x(M,{title:"\u7EBF\u5BBD\u8BBE\u7F6E","max-width":"500",modelValue:C(i),"onUpdate:modelValue":n[1]||(n[1]=a=>L(i)?i.value=a:null),footerBtnList:p},{default:e(()=>[m("div",R,[s(w,null,{default:e(()=>[s(r,{cols:"5"},{default:e(()=>[s(u,{title:"\u7EBF\u5BBD"},{default:e(()=>[s(y,{density:"compact",class:"list-border overflow-y py-0",selected:[d[0].name],"active-class":"bg-light-blue-darken-2",height:"160"},{default:e(()=>[(c(),V(E,null,v(d,(a,z)=>s(D,{key:z,value:a.name,mandatory:"",class:"pa-0","min-height":"20",height:"20"},{prepend:e(()=>[m("div",U,[s(b,{class:"border-opacity-100",thickness:a.size*o.value*10,length:"50"},null,8,["thickness"])])]),default:e(()=>[s(g,{textContent:F(a.name),class:"ml-2"},null,8,["textContent"])]),_:2},1032,["value"])),64))]),_:1},8,["selected"])]),_:1})]),_:1}),s(r,{cols:"7","align-self":"auto"},{default:e(()=>[s(u,{title:"\u5217\u51FA\u5355\u4F4D"},{default:e(()=>[T]),_:1}),s(k,{class:"my-2 ml-10"},{label:e(()=>[W]),_:1}),s(u,{title:"\u8C03\u6574\u663E\u793A\u6BD4\u4F8B"},{default:e(()=>[s(N,{step:"0.1",class:"my-4","tick-size":"4","thumb-size":10,min:"0",max:"1",modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=a=>o.value=a),"thumb-label":"","hide-details":"",color:"#007AD9"},{prepend:e(()=>[X]),append:e(()=>[Y]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),$])]),_:1},8,["modelValue"]))}});const K=S(j,[["__scopeId","data-v-ab974e3e"]]);export{K as default};