import{c as e,s as a,q as t,a6 as s,v as l,x as i,z as m,A as o,y as r,e as d,B as p,C as n,D as x,U as c}from"./base-lib.js?v=1761009159";import{aH as f}from"./store.js?v=1761009159";import{_ as u}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./files.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./store2.js?v=1761009159";import"./index103.js?v=1761009159";const _={class:"p-20px flex flex-col"},v={class:"flex items-center"},j={class:"text-base leading-10 break-all"},N={key:0,class:"flex flex-col ml-48px mt-20px tamper-file"},b={class:"flex items-center mb-8px"},g=["title"],k={key:0,class:"flex items-center text-small"},V=u(e({__name:"index",setup(e){const u=f(),{isStart:V,isFile:y,compData:h,checkList:D}=a(u),{init:L,$reset:U}=u;return t(()=>L()),s(U),(e,a)=>{var t;const s=c;return l(),i("div",_,[m("div",v,[a[2]||(a[2]=m("i",{class:"svgtofont-el-warning-filled !text-titleLarge text-warningDark mr-8px"},null,-1)),m("div",j,o(r(V))+"【"+o(r(h).data.path)+"】"+o(r(y))+"保护后，该"+o(r(y))+"将"+o((null==(t=r(h).temp_data)?void 0:t.lock)?"恢复":"禁止")+"所有的操作权限，是否继续操作？",1)]),"dir"!==r(h).data.type?(l(),i("div",N,[m("div",b,[d(s,{class:"!mr-8px",modelValue:r(D).fileName,"onUpdate:modelValue":a[0]||(a[0]=e=>r(D).fileName=e)},{default:p(()=>[n(o(r(V))+"当前文件 【 ",1),m("span",{class:"tamperFileLength",title:r(h).data.fileName},o(r(h).data.fileName),9,g),a[3]||(a[3]=n("】的保护",-1))]),_:1,__:[3]},8,["modelValue"])]),r(h).data.fileName.indexOf(".")>-1?(l(),i("div",k,[d(s,{class:"!mr-8px",modelValue:r(D).ext,"onUpdate:modelValue":a[1]||(a[1]=e=>r(D).ext=e)},{default:p(()=>[n(o(r(V))+"后缀."+o(r(h).data.fileName.indexOf(".")>-1?r(h).data.fileName.split(".").pop():"")+"的保护",1)]),_:1},8,["modelValue"])])):x("",!0)])):x("",!0)])}}}),[["__scopeId","data-v-96ee9129"]]);export{V as default};
