"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BB7fFseo.cjs");var a=(n=>(n[n.overview=0]="overview",n[n.basic=1]="basic",n[n.chart=2]="chart",n))(a||{});const o=e.ref(1),l=n=>{o.value=n},i=e.ref([{value:1,label:"数据",icon:"icon-form-data-basic"},{value:2,label:"报表",icon:"icon-form-data-chart"}]),u={class:"bmw-data-menu"},d={class:"bmw-data-menu-list"},f=["onClick"],m=e.defineComponent({__name:"index",setup(n){return(c,r)=>(e.openBlock(),e.createElementBlock("div",u,[e.createBaseVNode("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),t=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["bmw-data-menu-item",{active:t.value===e.unref(o)}]),key:t.value,onClick:s=>e.unref(l)(t.value)},[e.createBaseVNode("span",{class:e.normalizeClass(["icon iconfont",[t.icon]])},null,2),e.createTextVNode(" "+e.toDisplayString(t.label),1)],10,f))),128))])]))}}),_=e._export_sfc(m,[["__scopeId","data-v-f5969fee"]]),v={class:"bmu-form-data"},p=e.defineComponent({__name:"index",setup(n){const c=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CS77-Nni.cjs"))),r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BCwdl6ve.cjs")));return e.onActivated(()=>{console.log("sadkfjsaldjf",o.value),o.value=a.basic}),e.onMounted(()=>{o.value=a.basic,console.log("sadkfjsaldjf","mounted",o.value)}),(t,s)=>(e.openBlock(),e.createElementBlock("div",v,[e.createVNode(_),e.unref(o)===e.unref(a).basic?(e.openBlock(),e.createBlock(e.unref(c),{key:0})):e.createCommentVNode("",!0),e.unref(o)===e.unref(a).chart?(e.openBlock(),e.createBlock(e.unref(r),{key:1})):e.createCommentVNode("",!0)]))}}),k=e._export_sfc(p,[["__scopeId","data-v-afd2f086"]]);exports.default=k;
