import{az as u,d as y,ar as t,r as i,b as d,k as f,o as I,A as b,B as o,Z as g,f as k,m as v,a as s,C as x,__tla as D}from"./index-92ad187a.js";import{E as h,__tla as w}from"./el-card-93209b1d.js";import{j as B,__tla as P}from"./bpmn-embedded-2a5a2f0b.js";let p,V=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return P}catch{}})()]).then(async()=>{let e;e=x("span",{class:"el-icon-picture-outline"},"\u6D41\u7A0B\u56FE",-1),p=y({name:"BpmProcessInstanceBpmnViewer",__name:"ProcessInstanceBpmnViewer",props:{loading:t.bool,id:t.string,processInstance:t.any,tasks:t.array,bpmnXml:t.string},setup(a){const r=a,n=i({prefix:"flowable"}),c=i([]);return d(async()=>{r.id&&(c.value=await(async l=>await u.get({url:"/bpm/activity/list",params:l}))({processInstanceId:r.id}))}),(l,X)=>{const _=h,m=g;return f((I(),b(_,{class:"box-card"},{header:o(()=>[e]),default:o(()=>[k(s(B),v({key:"designer",activityData:s(c),prefix:s(n).prefix,processInstanceData:a.processInstance,taskData:a.tasks,value:a.bpmnXml},s(n)),null,16,["activityData","prefix","processInstanceData","taskData","value"])]),_:1})),[[m,a.loading]])}}})});export{p as _,V as __tla};
