text: import{A as l,aS as B,c3 as f,a as w,u as j,a0 as s,B as x,D as _,w as r,a5 as g,aa as h}from"./vendor.ff87b2f6.js";import{u as v}from"./index.a7a3ce99.js";import P from"./index.a8512df0.js";import{_ as M}from"./index.960d5979.js";import"./useWindowSizeFn.adc1d865.js";import"./index.b9ed8d58.js";/* empty css               *//* empty css               */import"./useContentViewHeight.80426e5c.js";/* empty css               *//* empty css                *//* empty css                */import"./index.3ddc5b26.js";import"./Viewer.3f58b0b7.js";import"./process.b67203d4.js";const C=l({name:"BaseActionButtons",components:{Button:B,ApartmentOutlined:f,BpmnPreviewModal:P},setup(e,{emit:d}){const{currentRoute:i}=w(),{params:{modelKey:a},query:{taskId:m,procInstId:p}}=j(i),[t,{openModal:o,setModalProps:n}]=v();function u(){o(!0,{modelKey:a,procInstId:p||"",isUpdate:!0}),n({bodyStyle:{padding:"0px",margin:"0px"},width:900,height:400,showOkBtn:!1,showCancelBtn:!0,cancelText:"\u5173\u95ED"})}function c(){return Promise.resolve(!0)}return{registerBpmnPreviewModal:t,handleCloseFunc:c,showFlowDiagram:u}}});function b(e,d,i,a,m,p){const t=s("ApartmentOutlined"),o=s("Button"),n=s("BpmnPreviewModal");return x(),_(h,null,[r(o,{title:"\u67E5\u770B\u6D41\u7A0B\u56FE",type:"link",onClick:e.showFlowDiagram},{icon:g(()=>[r(t)]),_:1},8,["onClick"]),r(n,{onRegister:e.registerBpmnPreviewModal},null,8,["onRegister"])],64)}var K=M(C,[["render",b]]);export{K as default};
  