const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-B6Y_2X_r.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","css/index-FEE1lr_F.css?v=1773287522785"])))=>i.map(i=>d[i]);
import{p as c,P as m}from"./index-BTglIPU2.js?v=1773287522785";import{_ as f}from"./index-K4YGya6V.js?v=1773287522785";import{k as _,R as h,an as v,$ as k,a8 as P,s as w,a9 as g,q as y,ao as p,a3 as C}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const B=_({__name:"index",props:p({default:{type:Boolean,default:!0},defaultPath:{default:"/www/wwwroot"},inputProps:{},checkedType:{default:()=>["dir"]}},{value:{},valueModifiers:{}}),emits:p(["change"],["update:value"]),setup(n,{emit:l}){const{t:s}=h(),t=n,u=l,o=v(n,"value"),i=()=>{c({title:t.checkedType.length===1&&t.checkedType[0]==="file"?s("Component.Upload.index_1"):s("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:o.value||t.defaultPath,checkedType:t.checkedType,callback:(e,a)=>{o.value=e,u("change",e,a)}},component:C(()=>m(()=>import("./index-B6Y_2X_r.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})};return(e,a)=>{const r=f;return k(),P(r,w(e.$attrs,{value:o.value,"onUpdate:value":a[0]||(a[0]=d=>o.value=d),"input-props":e.inputProps,"icon-name":"folder",onClick:i}),{suffix:g(()=>[y(e.$slots,"suffix")]),_:3},16,["value","input-props"])}}});export{B as _};
