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