import{f as s}from"./index.87a09f8b.js";import{C as n,r as c}from"./entry.9e31e8a4.js";const F=t=>{const r=n("form-events",void 0),e=n("form-group",void 0);e&&(e.labelFor.value=t?.id??e?.labelFor.value);const u=c(!1);function o(f,l){r&&r.emit({type:f,path:l})}function m(){o("blur",e?.name.value),u.value=!0}function a(){o("change",e?.name.value)}const i=s(()=>{u.value&&o("input",e?.name.value)},300);return{emitFormBlur:m,emitFormInput:i,emitFormChange:a,formGroup:e}};export{F as u};
