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