{"version":3,"file":"Form.mjs","names":[],"sources":["../../../../../src/integrations/react-hook-form/Form/Form.ts"],"sourcesContent":["import { FlowRemoteElement } from \"@/lib/FlowRemoteElement\";\n\nexport interface RemoteRhfFormElementProps {\n  id?: string;\n  onSubmit?: (event: never) => void;\n}\n\nexport class RemoteRhfFormElement extends FlowRemoteElement<RemoteRhfFormElementProps> {\n  static override get remoteEvents() {\n    return {\n      submit: {},\n    };\n  }\n\n  static override get remoteProperties() {\n    return {\n      id: {},\n    };\n  }\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    \"flr-rhf-form\": InstanceType<typeof RemoteRhfFormElement>;\n  }\n}\n\ncustomElements.define(\"flr-rhf-form\", RemoteRhfFormElement);\n"],"mappings":";;AAOA,IAAa,uBAAb,cAA0C,kBAA6C;CACrF,WAAoB,eAAe;EACjC,OAAO,EACL,QAAQ,CAAC,EACX;CACF;CAEA,WAAoB,mBAAmB;EACrC,OAAO,EACL,IAAI,CAAC,EACP;CACF;AACF;AAQA,eAAe,OAAO,gBAAgB,oBAAoB"}