import{d as o,o as s,c as a,a as t,t as n,x as l,_ as i}from"./index.e3896b23.js";const d={key:0},r=["title"],p={style:{"margin-top":"10px"}},u=o({__name:"TaskNode",props:{properties:{type:Object,default:()=>({name:"",taskType:"",taskTypeVal:"",taskId:"",weight:1,failGoOn:0,style:{}})}},setup(e){return(c,_)=>(s(),a("div",{class:"task-node",style:l(e.properties.style)},[t("div",null,[e.properties.name.length<=10?(s(),a("div",d,[t("b",null,"\u540D\u79F0\uFF1A"+n(e.properties.name),1)])):(s(),a("div",{key:1,title:e.properties.name},[t("b",null,"\u540D\u79F0\uFF1A"+n(e.properties.name.substring(0,10)+"..."),1)],8,r))]),t("div",p,[t("div",null,[t("b",null,"\u7C7B\u578B\uFF1A"+n(e.properties.taskTypeVal),1)])])],4))}});const m=i(u,[["__scopeId","data-v-001a1d98"]]);export{m as default};
