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