1import{i as p}from"./@element-plus-Da92Et0-.js";import{q as C,d as D}from"./element-plus-CgxCIBMj.js";import{aC as E,aL as j,g as w,E as V,D as k,_ as b}from"./index-bUmsjV14.js";import{u as B}from"./index-D8MMobu2.js";const{defineComponent:$}=await p("vue"),{unref:l,toDisplayString:r,createElementVNode:e,resolveComponent:x,createVNode:c,isRef:u,resolveDirective:P,withDirectives:R,withCtx:d,openBlock:I,createBlock:N}=await p("vue"),S={class:"projectContainer"},T={class:"projectHeader"},U={class:"projectTitle"},q={class:"ed-dialog--close"},z={class:"projectCenter"},A={class:"projectFooter"},F={class:"btn-text"},H={class:"btn-text"},{ref:L,watch:G}=await p("vue"),J=$({__name:"RenameProject",props:{type:{},config:{}},setup(f){const s=f,{dialogVisible:i}=B(s),n=L(s.config.name);G(()=>s.config.name,o=>{n.value=o});const _=()=>{w.$bus.emit(V.closeDialog,k.RenameProject)},{renameProject:v}=E();return(o,t)=>{const g=x("EdIcon"),h=C,m=D,y=P("auto-select");return I(),N(j,{modelValue:l(i),"onUpdate:modelValue":t[2]||(t[2]=a=>u(i)?i.value=a:null),type:s.type,width:550},{default:d(()=>[e("div",S,[e("div",T,[e("span",U,r(o.$t("lg_rename_title")),1)]),e("span",q,[c(g,{name:"common-close",onClick:_,class:"close-icon",size:16})]),e("div",z,[R(c(h,{modelValue:l(n),"onUpdate:modelValue":t[0]||(t[0]=a=>u(n)?n.value=a:null),style:{width:"518px",background:"var(--color-fill-overlay-base, #ffffff14)","border-radius":"6px"},placeholder:o.$t("lg_enter_a_project_name")},null,8,["modelValue","placeholder"]),[[y]])]),e("div",A,[c(m,{onClick:_,plain:""},{default:d(()=>[e("span",F,r(o.$t("lg_cancel")),1)]),_:1}),c(m,{type:"primary",onClick:t[1]||(t[1]=a=>l(v)(l(n)))},{default:d(()=>[e("span",H,r(o.$t("lg_ok")),1)]),_:1})])])]),_:1},8,["modelValue","type"])}}}),W=b(J,[["__scopeId","data-v-af05473d"]]);export{W as default}; 2//# sourceMappingURL=RenameProject-B9MYoiVG.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.