import{aq as u,d as f,ah as t,r as l,l as y,x as h,o as d,v as I,w as o,I as x,f as b,ak as v,a as r,g as w,_ as g,__tla as D}from"./index-04f8d540.js";import{E as k,__tla as B}from"./el-card-3a265a8d.js";import{j as P,__tla as j}from"./bpmn-embedded-11660d25.js";import{__tla as V}from"./Dialog-9afb5ba5.js";import{__tla as z}from"./XTextButton-47706236.js";import{__tla as X}from"./XTextButton.vue_vue_type_style_index_0_scoped_bd4a9e34_lang-004a8066.js";import{__tla as q}from"./XButton-b7f15a82.js";import{__tla as E}from"./el-collapse-item-1c98eed0.js";import{__tla as A}from"./el-link-990f27c6.js";import{__tla as C}from"./useMessage-9c37e840.js";import{__tla as F}from"./el-drawer-6a413aa1.js";import{__tla as G}from"./dict-ef06f7f7.js";import{__tla as H}from"./formatTime-81f0c591.js";let i,J=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})()]).then(async()=>{let s;s=w("span",{class:"el-icon-picture-outline"},"\u6D41\u7A0B\u56FE",-1),i=g(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,K)=>{const m=k,p=x;return h((d(),I(m,{class:"box-card"},{header:o(()=>[s]),default:o(()=>[b(r(P),v({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","D:/zx/mall-newfeifan-zx-business/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue"]])});export{J as __tla,i as default};
