import{j as t}from"./login-aN2dRsX6.js";import{F as i}from"./query-c3dDncii.js";import{S as u}from"./Select-B6FG_hRH.js";const v=a=>{var n;const l=(n=i().data)==null?void 0:n.map(e=>({label:`${e.id} : ${e.nama}`,value:e.id}));return t.jsx(u,{value:(l==null?void 0:l.find(e=>e.value==a.value))??"",isDisabled:a.disable,options:l,placeholder:"Pilih Role",onChange:e=>{var o;const s=e;(o=a.onChange)==null||o.call(a,s==null?void 0:s.value)}})};export{v as S};
