import{j as i}from"./app-DB4YCWeF.js";import{u as a}from"./useFormBuilder-DOwOU0AC.js";import{a as m}from"./FormBuilder-Dm7wfKiL.js";import{h as n}from"./useFormChange-B0pYJsvh.js";import{u as p}from"./BaseForm-CkSb_d40.js";import"./Input-BfNm_9oA.js";import"./Select-DXXQNVxU.js";import"./index-D_LogWT2.js";import"./Checkbox-Bn48SEXM.js";import"./clsx-B-dksMZM.js";import"./lib-C9iOZMGt.js";function R({isEdit:t=!1}){const o=a({isEdit:t,getProperties:u});return i.jsx(m,{...o})}const u=t=>{const{props:r,setData:o}=t,{params:e}=p(r.location);return[[{form:"input",props:{name:"name",label:"Nama"}},{form:"select",props:{isReactSelect:!0,isCreateAble:!0,name:"institute",label:"Instansi",options:r.institutes,handleChange:s=>n({e:s,name:"institute",setData:o,params:e})}}]]};export{R as default};
