{"version":3,"file":"BaseForm.mjs","names":[],"sources":["../../../../../../../react-form/src/components/BaseForm.ts"],"sourcesContent":["import { FormEngine } from \"../engine/FormEngine\";\n\n/**\n * @deprecated Since v4. `BaseForm` was an abstract `React.Component`; the\n * platform-agnostic logic now lives in the React-free {@link FormEngine} class,\n * and `Form` / `NativeForm` are function components built over it.\n *\n * Migration:\n * - To access the engine instance from a `ref`, the type is `FormEngine`\n *   (still assignable to `FormInterface`).\n * - To support a custom renderer, subclass `FormEngine` and render a thin\n *   function component that lazy-inits it (see `useFormEngine`), instead of\n *   subclassing `BaseForm`.\n *\n * This alias is kept for one major version to ease the migration and will be\n * removed in v5.\n */\nexport const BaseForm = FormEngine;\n\n/**\n * @deprecated Since v4. Use `FormEngine` instead.\n */\nexport type BaseForm = FormEngine;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAa,WAAW"}