System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./mail-legacy-BX4bHMTA.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var n,l,t,u,s,i,o,r,v,c,g;return{setters:[e=>{n=e.n},e=>{l=e.u},e=>{t=e.a},e=>{u=e.k,s=e.an,i=e.r,o=e.$,r=e.a8,v=e.S,c=e.ao},e=>{g=e.a6}],execute:function(){e("_",u({__name:"index",props:c({isInit:{type:Boolean,default:!1}},{value:{},valueModifiers:{}}),emits:c(["change"],["update:value"]),setup(e,{expose:a,emit:u}){const c=e,d=u,{loading:m,setLoading:p}=l(),y=s(e,"value"),f=i([]),j=(e,a)=>{d("change",e,a)},h=async()=>{try{p(!0);const{message:e}=await t();n(e)&&e.length>0&&(f.value=[],f.value=e.map((e=>({label:e.username,value:e.username,data:e}))),y.value||(y.value=e[0].username,d("change",e[0].username,f.value[0])))}finally{p(!1)}};return c.isInit&&h(),a({getList:h}),(e,a)=>{const n=g;return o(),r(n,{value:y.value,"onUpdate:value":[a[0]||(a[0]=e=>y.value=e),j],loading:v(m),filterable:!0,options:v(f)},null,8,["value","loading","options"])}}}))}}}));
