import{j as m}from"./app-Bup04Qnx.js";import{u as s}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 p({isEdit:r=!1,formOptions:o={},BackButton:e=null}){const t=s({isEdit:r,getProperties:i,formOptions:o}),{data:f,setData:c}=t.form;return m.jsx(n,{...t,BackButton:e})}const i=r=>{const{props:o,data:e,setData:a}=r;return u(o.location),[[{form:"input",props:{name:"module",label:"Modul",type:"text"}},{form:"input",props:{name:"prefix",label:"Prefix",type:"text"}}],[{form:"input",props:{name:"separator",label:"Pemisah",type:"text"}},{form:"input",props:{name:"digits",label:"Digit",type:"number"}}],[{form:"input",props:{name:"last_number",label:"Nomor Terakhir",type:"number"}},{form:"checkbox",props:{name:"is_user_alias",label:"Gunakan Alias Pengguna"}}]]},l=({children:r})=>r(i);p.PropertiesProvider=l;const _=p;export{_ as default};
