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 w,i as b,ai as g,a as r,g as v,_ as x,__tla as D}from"./index-8c6726e5.js";import{E as k,__tla as B}from"./el-card-17d153e8.js";import{j as P,__tla as V}from"./bpmn-embedded-cbf2214a.js";import{__tla as X}from"./Dialog-336bccec.js";import{__tla as j}from"./XTextButton-18b047c6.js";import{__tla as z}from"./XButton-4acb3113.js";import{__tla as C}from"./el-collapse-item-82af88f6.js";import{__tla as E}from"./el-link-15fce9e0.js";import{__tla as H}from"./useMessage-9f6930df.js";import{__tla as N}from"./el-drawer-1bf056d7.js";import{__tla as R}from"./dict-1c98488d.js";import{__tla as U}from"./formatTime-43b4aa50.js";let i,q=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return R}catch{}})(),(()=>{try{return U}catch{}})()]).then(async()=>{let s;s=v("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,A)=>{const m=k,p=w;return d((h(),I(m,{class:"box-card"},{header:o(()=>[s]),default:o(()=>[b(r(P),g({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","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue"]])});export{q as __tla,i as default};
