System.register(["./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./mail-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,a){"use strict";var l,t,n,u,s,i,o,r,v,c,g;return{setters:[e=>{l=e.x},e=>{t=e.d},e=>{n=e.a},e=>{u=e.k,s=e.ad,i=e.ae,o=e.r,r=e.R,v=e.a2,c=e.V},e=>{g=e.dV}],execute:function(){e("_",u({__name:"index",props:s({isInit:{type:Boolean,default:!1}},{value:{},valueModifiers:{}}),emits:s(["change"],["update:value"]),setup(e,{expose:a,emit:u}){const s=e,d=u,{loading:p,setLoading:m}=t(),y=i(e,"value"),f=o([]),j=(e,a)=>{d("change",e,a)},h=async()=>{try{m(!0);const{message:e}=await n();l(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{m(!1)}};return s.isInit&&h(),a({getList:h}),(e,a)=>{const l=g;return r(),v(l,{value:y.value,"onUpdate:value":[a[0]||(a[0]=e=>y.value=e),j],loading:c(p),filterable:!0,options:c(f)},null,8,["value","loading","options"])}}}))}}}));
