import{d as f,Q as n,R as b,z as _,o as g,c as v,h as r,$ as N,a0 as V,a6 as h}from"./index-D3rICic-.js";import{e as y}from"./group-frwXGSCG.js";const k=f({name:"SelectGroup",__name:"select-group",props:n({disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["update:modelValue"],["update:modelValue"]),setup(l,{emit:u}){const o=l,t=b(l,"modelValue"),d=u,s=_([]);async function p(){const{data:e,error:a}=await y();a||(s.value=e)}const c=e=>{d("update:modelValue",e)};return p(),(e,a)=>{const m=h;return g(),v(m,{value:t.value,"onUpdate:value":[a[0]||(a[0]=i=>t.value=i),c],placeholder:r(N)("page.retryTask.form.groupName"),options:r(V)(s.value),disabled:o.disabled,clearable:o.clearable,filterable:""},null,8,["value","placeholder","options","disabled","clearable"])}}});export{k as _};
