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