drill.define(async i=>{await i("./dirlist.css"),$.register({tag:"dirlist",temp:'\n        <div class="list_title_line">\n            <div class="dir_list_block">名称</div>\n            <div class="dir_list_block">上次打开时间</div>\n        </div>\n        <div class="dir_list_body">\n            <div class="dir_list_body_scroll" xv-content></div>\n        </div>\n        ',inited(){this.class.add("dir_list")}}),$.register({tag:"dirline",data:{name:"",time:"",dirpath:"",stat:"1",runtype:"0"},attrs:["name","time","dirpath","stat","runtype"],temp:'\n        <div class="dir_list_block" xv-tar="dirName"> {{name}} <span class="dirpath">{{dirpath}}</span></div>\n        <div class="dir_list_block">{{time}}</div>\n        <div class="dir_list_closebtn" xv-tar="cloneBtn"></div>\n        <div xv-content></div>\n        ',watch:{runtype(){},time(i,t){/\D/.test(t)||(this.time=new Date(t).toLocaleString())}},inited(){this.class.add("dir_list_line"),this.$cloneBtn.on("click",i=>{this.remove()}),this.$dirName.on("click",i=>{0==this.runtype&&this.emit("clickDirLine")})}})});