import{a_ as u,_ as f}from"./index-design-C8wrC2s6.js";import{a as _}from"./vue-router-3s92ZBQp.js";import{v}from"./element-plus-DXXGg0hD.js";import{d as r,f as p,H as x,M as g,O as i,X as c,Z as h,aV as w,aU as C,a1 as y,h as s}from"./vue-BQyCGvUQ.js";import"./svg-icons-register-D2E0-Ytb.js";import"./pinia-vendor-Dca3jG8Z.js";import"./x2js-CcPE71Wh.js";import"./spark-md5-D1K1GNLF.js";import"./bpmn-js-vendor-CmbY3e_O.js";import"./element-plus/icons-vue-W2FFUolX.js";import"./feelin-BX8uiLPw.js";import"./tiny-svg-DwrM6wVX.js";import"./axios-Bz4la0P9.js";import"./vueuse-DpVqiu7V.js";import"./echarts-Sg1_iEix.js";import"./dragula-CfHszRTf.js";import"./vuedraggable-DggeXcQm.js";import"./tui-image-editor-vendor-DBxMdFCh.js";import"./fabric-Cm_BIpEs.js";import"./qrcode-DgLtAz-0.js";const b={class:"dynamic-tabs-index w-full flex flex-col bg-white adap-normal-shadow adap-lg-radius"},k=r({__name:"index",setup(B){const l=p(!0),m=r(()=>()=>y(s("div",{class:"flex-grow","element-loading-text":"加载中",style:{minHeight:"200px"}}),[[v,l.value]])),e=p(m),t=r(()=>()=>s("div",{class:"flex-grow",style:{minHeight:"200px"}},[s("p","加载失败！")])),o=_();return x(()=>{if(!o)return;const a=o?.params?.rawName;if(!a){e.value=t;return}const n=u.find(d=>d.name===a);if(!n){e.value=t;return}e.value=C({loader:n.component,loadingComponent:m,onError:()=>{e.value=t}})}),console.log("here dynamic-tabs - idnex.vue: setup",o),(a,n)=>(i(),g("div",b,[(i(),c(w,{max:10},[(i(),c(h(e.value)))],1024))]))}}),J=f(k,[["__scopeId","data-v-8861defb"]]);export{J as default};
