import{j as i}from"./app-Bup04Qnx.js";import{u as m}from"./useFormBuilder-w_BHcgkC.js";import{F as n}from"./FormBuilder-B6qVpe84.js";import{u}from"./format-CisCU4Rs.js";import"./useFormChange-D35moWjQ.js";import"./Input-Bs1ncZB7.js";import"./BaseForm-wkPKZ5Eg.js";import"./Select-Cs0aMrtU.js";import"./index-CtjruoRR.js";import"./floating-ui.dom-CwWDmSD9.js";import"./TextArea-DiAj0IR8.js";import"./clsx-B-dksMZM.js";import"./index-Dy_g3AZ5.js";function s({isEdit:t=!1,formOptions:r={},BackButton:e=null}){const o=m({isEdit:t,getProperties:a,formOptions:r}),{data:l,setData:c}=o.form;return i.jsx(n,{...o,BackButton:e})}const a=t=>{const{props:r,data:e,setData:p}=t;return u(r.location),[[{form:"input",props:{name:"code",label:"Kode Bank",type:"text"}},{form:"input",props:{name:"name",label:"Nama Bank",type:"text"}},{form:"select",props:{name:"status",label:"Status",options:r.status,prefix:"bank.status"}},{form:"input",isHidden:!0,props:{name:"limit_transfer_amount",label:"Limit Transfer",type:"tel"}}],[{form:"checkbox",props:{name:"bi_fast",label:"Mendukung BI Fast"}}]]},f=({children:t})=>t(a);s.PropertiesProvider=f;const v=s;export{v as default};
