text: import e from"./index.109e021b.js";import{u as a}from"./useFrameKeepAlive.2e94f456.js";import{k as r,a as t,u as m,r as n,I as s,f as o,K as i,o as l,n as f,q as u}from"./vendor.9d9efc92.js";import{X as d}from"./index.68bdfa67.js";import{a as c}from"./modelInfo.eeb56967.js";import"./useWindowSizeFn.0534066c.js";var p=r({name:"BpmnDesigner",components:{FramePage:e},setup(){const{currentRoute:e}=t(),{query:{modelId:r}}=m(e),i=n(""),l=n({}),f=d(),u=t(),p=f.getTabList.find((e=>e.fullPath===u.currentRoute.value.fullPath));s((()=>{0!==p.meta.title.indexOf("设计流程-")&&c(r).then((e=>{p.meta.title&&-1===p.meta.title.indexOf("-"+e.name)&&(p.meta.title=p.meta.title+"-"+e.name)})).catch((()=>{}))})),i.value="/flow-bpmn/index.html/#/bpmn/designer?modelId="+r;const{getFramePages:h,hasRenderFrame:g,showIframe:F}=a(),b=o((()=>m(h).length>0));return{getFramePages:h,hasRenderFrame:g,showIframe:F,showFrame:b,url:i,frame:l}}});p.render=function(e,a,r,t,m,n){const s=i("FramePage");return l(),f("div",null,[u(s,{frameSrc:e.url},null,8,["frameSrc"])])};export default p;
  