import{o as a,k as e,w as l,x as s,y as t}from"../element-plus/element-plus.DqqeXZzT.js";import{_ as d}from"../arrow-down/arrow-down.3pXuoMMM.js";import{d as r,i as o,n as i,o as n,J as u,K as m,T as f,c,a9 as p,R as g,S as _,U as b,$ as w,h as y}from"../@vue/@vue.lccsL1Mu.js";const h=r({__name:"_dropdown",props:{list:{default:[]},disabledFlag:{type:Boolean,default:!1},selectWidth:{default:"lMar55"},title:{default:"更多"},lMar:{default:"20px"},trigger:{default:"click"}},emits:["close"],setup(r,{emit:h}){const{proxy:x}=y();x.$NumberHandle;const M=a=>{h("close",a)};return o((()=>{i((()=>{}))})),(o,i)=>{const y=d,h=a,x=e,j=l,v=s,F=t;return n(),u(F,{class:"lMar10",onCommand:M,disabled:r.disabledFlag,size:"default",trigger:r.trigger},{dropdown:m((()=>[f(v,null,{default:m((()=>[(n(!0),c(b,null,p(r.list,(a=>(n(),u(j,{command:a.value},{default:m((()=>[g(_(a.label),1)])),_:2},1032,["command"])))),256))])),_:1})])),default:m((()=>[f(x,{disabled:r.disabledFlag,style:w({width:r.selectWidth?r.selectWidth:"80px"})},{default:m((()=>[g(_(r.title),1),f(h,{style:w({marginLeft:r.lMar})},{default:m((()=>[f(y)])),_:1},8,["style"])])),_:1},8,["disabled","style"])])),_:1},8,["disabled","trigger"])}}});export{h as _};