← Back
Editing: index259.js
import{c as e,s as a,p as t,a4 as s,q as l,v as i,y as m,z as o,x as r,e as d,A as p,B as n,C as x,T as c}from"./base-lib.js?v=VERSION_NUMBER";import{aH as f}from"./store.js?v=VERSION_NUMBER";import{e as u}from"./utils-lib.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";import"./files.js?v=VERSION_NUMBER";import"./validator.js?v=VERSION_NUMBER";import"./index104.js?v=VERSION_NUMBER";import"./column.js?v=VERSION_NUMBER";import"./store2.js?v=VERSION_NUMBER";import"./index101.js?v=VERSION_NUMBER";const v={class:"p-20px flex flex-col"},j={class:"flex items-center"},_={class:"text-[1.4rem] leading-10 break-all"},N={key:0,class:"flex flex-col ml-48px mt-20px tamper-file"},V={class:"flex items-center mb-8px"},b=["title"],k={key:0,class:"flex items-center text-[1.2rem]"},g=u(e({__name:"index",setup(e){const u=f(),{isStart:g,isFile:y,compData:h,checkList:A}=a(u),{init:C,$reset:F}=u;return t((()=>C())),s(F),(e,a)=>{var t;const s=c;return l(),i("div",v,[m("div",j,[a[2]||(a[2]=m("i",{class:"svgtofont-el-warning-filled !text-[4rem] text-[#E6A23C] mr-8px"},null,-1)),m("div",_,o(r(g))+"【"+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",V,[d(s,{class:"!mr-8px",modelValue:r(A).fileName,"onUpdate:modelValue":a[0]||(a[0]=e=>r(A).fileName=e)},{default:p((()=>[n(o(r(g))+"当前文件 【 ",1),m("span",{class:"tamperFileLength",title:r(h).data.fileName},o(r(h).data.fileName),9,b),a[3]||(a[3]=n("】的保护"))])),_:1},8,["modelValue"])]),r(h).data.fileName.indexOf(".")>-1?(l(),i("div",k,[d(s,{class:"!mr-8px",modelValue:r(A).ext,"onUpdate:modelValue":a[1]||(a[1]=e=>r(A).ext=e)},{default:p((()=>[n(o(r(g))+"后缀."+o(r(h).data.fileName.indexOf(".")>-1?r(h).data.fileName.split(".").pop():"")+"的保护",1)])),_:1},8,["modelValue"])])):x("",!0)])):x("",!0)])}}}),[["__scopeId","data-v-ad680250"]]);export{g as default};
Save File
Cancel