import{H as p,h as u,B as v}from"./element-plus-z3MwpXC9.js";import{_ as f}from"./picker-Cx07Sp9S.js";import{d as x,Z as V,o as _,c as w,V as m,M as a,a as e,u as t,S as U}from"./@vue-TMcuEboY.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-CdmO5-Ss.js";import"./index-DXEGVToZ.js";import"./nprogress-Cgf5DU8x.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./@vueuse-BQYVjZ5N.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";import"./index-CUrZWbP0.js";import"./index.vue_vue_type_script_setup_true_lang-Bd2lff9j.js";import"./index-BhjDDGVa.js";import"./index-DywnEBie.js";import"./index.vue_vue_type_script_setup_true_lang-CMdP8z-B.js";import"./usePaging-DFi_nJOG.js";import"./vue3-video-play-xg7gp0Bu.js";import"./vuedraggable-OYPBN08G.js";import"./vue-CHxGqOme.js";import"./sortablejs-DdgKbxid.js";const B={class:"flex flex-wrap"},E={class:"flex m-4"},b={class:"flex m-4"},k={class:"flex flex-1 m-4"},C={class:"flex-1"},N={class:"flex flex-wrap"},c={class:"flex m-4"},g={class:"flex m-4"},y={class:"flex m-4"},z={class:"flex m-4 items-center"},H={class:"flex m-4 items-center"},bl=x({__name:"file",setup(I){const o=V({value1:"",value2:[],value3:"",value4:"",value5:"",value6:""});return(M,l)=>{const i=f,d=p,n=u,r=v;return _(),w("div",null,[m(d,{header:"基础使用",shadow:"never",class:"!border-none"},{default:a(()=>[e("div",B,[e("div",E,[l[6]||(l[6]=e("div",{class:"mr-4"},"选择图片：",-1)),m(i,{modelValue:t(o).value1,"onUpdate:modelValue":l[0]||(l[0]=s=>t(o).value1=s)},null,8,["modelValue"])]),e("div",b,[l[7]||(l[7]=e("div",{class:"mr-4"},"选择视频：",-1)),m(i,{type:"video",modelValue:t(o).value3,"onUpdate:modelValue":l[1]||(l[1]=s=>t(o).value3=s)},null,8,["modelValue"])]),e("div",k,[l[8]||(l[8]=e("div",{class:"mr-4"},"多张图片：",-1)),e("div",C,[m(i,{limit:4,modelValue:t(o).value2,"onUpdate:modelValue":l[2]||(l[2]=s=>t(o).value2=s)},null,8,["modelValue"])])])])]),_:1}),m(d,{header:"进阶用法",shadow:"never",class:"!border-none mt-4"},{default:a(()=>[e("div",N,[e("div",c,[l[9]||(l[9]=e("div",{class:"mr-4"},"自定义选择器大小：",-1)),m(i,{size:"60px",modelValue:t(o).value4,"onUpdate:modelValue":l[3]||(l[3]=s=>t(o).value4=s)},null,8,["modelValue"])]),e("div",g,[l[11]||(l[11]=e("div",{class:"mr-4"},"使用插槽：",-1)),m(i,{modelValue:t(o).value5,"onUpdate:modelValue":l[4]||(l[4]=s=>t(o).value5=s)},{upload:a(()=>[m(n,null,{default:a(()=>l[10]||(l[10]=[U("选择文件")])),_:1})]),_:1},8,["modelValue"])]),e("div",y,[l[12]||(l[12]=e("div",{class:"mr-4"},"选出地址不带域名：",-1)),m(i,{"exclude-domain":!0,modelValue:t(o).value6,"onUpdate:modelValue":l[5]||(l[5]=s=>t(o).value6=s)},null,8,["modelValue"])])]),e("div",null,[e("div",z,[l[13]||(l[13]=e("div",{class:"w-20 flex-none"},"带域名：",-1)),m(r,{class:"w-[500px]","model-value":t(o).value5},null,8,["model-value"])]),e("div",H,[l[14]||(l[14]=e("div",{class:"w-20 flex-none"},"不带域名：",-1)),m(r,{class:"w-[500px]","model-value":t(o).value6},null,8,["model-value"])])])]),_:1})])}}});export{bl as default};
