import{j as a}from"./app-2b14cdc4.js";import{S as e}from"./auth-d886836e.js";import{D as o}from"./index-dd54d262.js";function l(l){const{options:s,className:n,clearable:t,customClear:r,multiple:p,filterable:i,autoWidth:u,popupProps:m,name:c,value:h}=l,C=u??!0,f=m??{overlayClassName:"trade-dialog-select__overlay"},j=i??!1,d=r??!1,g=c??"";return a.jsx(e,{className:n,value:h,clearable:t,filterable:j,autoWidth:C,popupProps:f,multiple:p,onChange:a=>{l.onChange&&l.onChange(a,g)},options:s,suffix:d?a.jsx("span",{onClick:()=>{l.onChange&&l.onChange("",g)},children:a.jsx(o,{})}):null})}export{l as C};
