← Back
Editing: index-legacy263.js
System.register(["./index-legacy103.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./store-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./files-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./store-legacy2.js?v=VERSION_NUMBER","./index-legacy101.js?v=VERSION_NUMBER"],(function(e,t){"use strict";var l,n,a,o,s,c,i,u,r,f,p,d,g,m,y,h,v,x,b,j,_,k,C,w;return{setters:[function(e){l=e._},function(e){n=e.k,a=e.l,o=e.e},function(e){s=e.c,c=e.s,i=e.p,u=e.a4,r=e.G,f=e.q,p=e.v,d=e.y,g=e.x,m=e.F,y=e.a_,h=e.z,v=e.C,x=e.e,b=e.O,j=e.P,_=e.A,k=e.H,C=e.J},function(e){w=e.aK},null,null,null,null,null,null,null],execute:function(){var t={class:"p-20px"},B={class:"flex justify-between"},D={class:"file-selector-head flex items-center"},F={ref:"pathInput",class:"file-selector-input overflow-hidden"},P={key:0,ref:"pathUl",class:"absolute h-[2.8rem] z-1 flex"},S=["onClick"],T={class:"truncate max-w-[8rem]"},V=s({__name:"index",setup:function(e){var o=w(),s=c(o),V=s.compData,z=s.ossTable,H=s.isTagMode,I=s.temporaryPath,J=s.showPathList,K=s.tableColumns,L=s.tableData,U=s.loading,q=o.handleSelectionChange,A=o.temporaryBlur,E=o.temporaryFocus,G=o.temporaryEnter,M=o.goBack,O=o.filePathJump,$=(o.watchTableData,o.getDirList),N=o.$reset;return i((function(){$()})),u((function(){N()})),function(e,o){var s=n,c=a,i=l,u=r("bt-loading");return f(),p("div",t,[d("div",B,[d("div",D,[d("i",{title:"返回上一层",class:"bt-open-icon svgtofont-el-back",onClick:o[0]||(o[0]=function(){return g(M)&&g(M).apply(void 0,arguments)})}),d("div",F,[g(H)?(f(),p("ul",P,[(f(!0),p(m,null,y(g(J),(function(e,t){return f(),p("li",{key:t,onClick:function(t){return g(O)(e.path)},class:"flex h-full items-center px-4px"},[d("span",T,h(e.title),1),o[4]||(o[4]=d("i",{class:"svgtofont-el-arrow-right ml-4px"},null,-1))],8,S)})),128))],512)):v("",!0),x(s,{width:"40rem",readonly:"",onFocus:g(E),onBlur:g(A),onKeyup:o[1]||(o[1]=b((function(e){return g(G)(e)}),["enter","native"])),modelValue:g(I),"onUpdate:modelValue":o[2]||(o[2]=function(e){return j(I)?I.value=e:null})},null,8,["onFocus","onBlur","modelValue"])],512),d("i",{title:"刷新",class:"bt-open-icon svgtofont-el-refresh-right",onClick:o[3]||(o[3]=function(e){return g($)()})})])]),x(i,null,{content:_((function(){return[k(x(c,{ref_key:"ossTable",ref:z,class:C("oss-table oss-".concat(g(V).type)),column:g(K),data:g(L),onSelectionChange:g(q),"empty-text":"(空)",height:"400","max-height":"400"},null,8,["class","column","data","onSelectionChange"]),[[u,g(U)],[u,"正在加载文件列表,请稍后...","title"]])]})),popup:_((function(){return o[5]||(o[5]=[])})),_:1})])}}});e("default",o(V,[["__scopeId","data-v-907527fe"]]))}}}));
Save File
Cancel