import{ap as u,d as f,p as t,r as l,B as y,C as d,o as h,l as I,w as o,N as v,i as w,ai as b,a as r,g,_ as x,__tla as D}from"./index-2c56227b.js";import{E as k,__tla as B}from"./el-card-9c148b4f.js";import{j as P,__tla as V}from"./bpmn-embedded-3761c479.js";import{__tla as j}from"./Dialog-1050d437.js";import{__tla as E}from"./XTextButton-83d96f48.js";import{__tla as X}from"./XButton-c87840c8.js";import{__tla as A}from"./el-collapse-item-a4dfc79a.js";import{__tla as C}from"./el-link-dfb00afa.js";import{__tla as G}from"./useMessage-96878a4a.js";import{__tla as H}from"./el-drawer-b586217d.js";import{__tla as N}from"./dict-763dd292.js";import{__tla as O}from"./formatTime-7f0ec2bf.js";let i,q=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return O}catch{}})()]).then(async()=>{let s;s=g("span",{class:"el-icon-picture-outline"},"\u6D41\u7A0B\u56FE",-1),i=x(f({name:"BpmProcessInstanceBpmnViewer",__name:"ProcessInstanceBpmnViewer",props:{loading:t.bool,id:t.string,processInstance:t.any,tasks:t.array,bpmnXml:t.string},setup(a){const e=a,_=l({prefix:"flowable"}),n=l([]);return y(async()=>{e.id&&(n.value=await(async c=>await u.get({url:"/bpm/activity/list",params:c}))({processInstanceId:e.id}))}),(c,z)=>{const m=k,p=v;return d((h(),I(m,{class:"box-card"},{header:o(()=>[s]),default:o(()=>[w(r(P),b({key:"designer",activityData:r(n),prefix:r(_).prefix,processInstanceData:a.processInstance,taskData:a.tasks,value:a.bpmnXml},r(_)),null,16,["activityData","prefix","processInstanceData","taskData","value"])]),_:1})),[[p,a.loading]])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue"]])});export{q as __tla,i as default};
