import{_ as u}from"./index-DwuhEmSW.js";import{F as f,q as b,r as y}from"./element-plus-DckSU5ni.js";import{x as _,k as v,r as x,y as r,O as t,F as n,u as o,j as k,M as E,a4 as V,z as s,E as g}from"./vue-vendor-vBC20LeU.js";import{_ as h}from"./index-D7dBOFlH.js";import"./index.vue_vue_type_script_setup_true_lang-C2H7PsW9.js";import"./axios-CG2WSiiR.js";const B={class:"material-container"},C=_({name:"Material"}),F=_({...C,setup(T){const c=v([{type:"",name:"全部"},{type:"image",name:"图片"},{type:"video",name:"视频"},{type:"file",name:"文件"}]),a=x("");return(w,l)=>{const p=u,m=y,d=b,i=f;return s(),r("div",B,[t(i,{class:"!border-none h-full","body-class":"p-0",shadow:"never"},{default:n(()=>[t(d,{modelValue:o(a),"onUpdate:modelValue":l[0]||(l[0]=e=>k(a)?a.value=e:null)},{default:n(()=>[(s(!0),r(E,null,V(o(c),e=>(s(),g(m,{key:e.type,label:e.name,name:e.type,index:e.type,lazy:""},{default:n(()=>[t(p,{"select-tab":e,active:o(a)===e.type},null,8,["select-tab","active"])]),_:2},1032,["label","name","index"]))),128))]),_:1},8,["modelValue"])]),_:1})])}}}),N=h(F,[["__scopeId","data-v-454ff3d4"]]);export{N as default};
