import{am as u,d as f,ac as t,r as l,q as y,z as d,o as h,x as w,w as o,K as I,f as b,af as g,a as r,g as v,_ as x,__tla as D}from"./index-8dc1e40a.js";import{E as k,__tla as B}from"./el-card-18df90f0.js";import{j as P,__tla as V}from"./bpmn-embedded-da753b1b.js";import{__tla as X}from"./Dialog-41802231.js";import{__tla as j}from"./XTextButton-8c2fbcf2.js";import{__tla as z}from"./XButton-bca72e5c.js";import{__tla as q}from"./el-collapse-item-7e888ef0.js";import{__tla as E}from"./el-link-a41356f3.js";import{__tla as H}from"./useMessage-7a27dd80.js";import{__tla as K}from"./el-drawer-b2e1f1a3.js";import{__tla as R}from"./dict-f13a3c8f.js";import{__tla as U}from"./formatTime-8a155b2e.js";let i,A=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 q}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}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,C)=>{const m=k,p=I;return d((h(),w(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{A as __tla,i as default};
