import{l as c,m as u,H as f}from"./element-plus-z3MwpXC9.js";import{_ as y}from"./index-CUrZWbP0.js";import{d as i,r as b,o as r,c as m,V as e,M as a,u as x,i as g,U as v,aa as V}from"./@vue-TMcuEboY.js";import{d as E}from"./index-DXEGVToZ.js";import"./lodash-es-R-kYiKr_.js";import"./async-validator-DKvM95Vc.js";import"./@element-plus-DRBc1Xzw.js";import"./dayjs-CMfar2R3.js";import"./balanced-match-mNcR6oh4.js";import"./@ctrl-r5W6hzzQ.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@popperjs-D9SI2xQl.js";import"./index.vue_vue_type_script_setup_true_lang-Bd2lff9j.js";import"./index-BhjDDGVa.js";import"./index-CdmO5-Ss.js";import"./index-DywnEBie.js";import"./index.vue_vue_type_script_setup_true_lang-CMdP8z-B.js";import"./@vueuse-BQYVjZ5N.js";import"./usePaging-DFi_nJOG.js";import"./vue3-video-play-xg7gp0Bu.js";import"./nprogress-Cgf5DU8x.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./css-color-function-rJvg8h-6.js";import"./color-B0v57BL7.js";import"./clone-CuIhj1wH.js";import"./color-convert-BGgJB5UM.js";import"./color-name-BQ5IbGbl.js";import"./color-string-BhgG7-8u.js";import"./ms-CzQ2E3wO.js";import"./vue-clipboard3-8CNoFg4V.js";import"./clipboard-Dch_ozqB.js";import"./echarts-BR_QmBtV.js";import"./tslib-BDyQ-Jie.js";import"./zrender-B-CeXLwU.js";import"./highlight.js-D5uP1KGk.js";import"./@highlightjs-KJi31KWJ.js";const k={class:"material-index"},z=i({name:"material"}),C=i({...z,setup(T){const n=[{type:"image",name:"图片"},{type:"video",name:"视频"},{type:"file",name:"文件"}],o=b("image");return(h,p)=>{const s=y,l=c,_=u,d=f;return r(),m("div",k,[e(d,{class:"!border-none",shadow:"never"},{default:a(()=>[e(_,{modelValue:x(o),"onUpdate:modelValue":p[0]||(p[0]=t=>g(o)?o.value=t:null)},{default:a(()=>[(r(),m(v,null,V(n,t=>e(l,{label:t.name,name:t.type,index:t.type,key:t.type,lazy:""},{default:a(()=>[e(s,{type:t.type,mode:"page","file-size":"120px",limit:-1,"page-size":20},null,8,["type"])]),_:2},1032,["label","name","index"])),64))]),_:1},8,["modelValue"])]),_:1})])}}}),ct=E(C,[["__scopeId","data-v-01f37926"]]);export{ct as default};
