{"version":3,"file":"Form.cjs","sources":["../src/Form.ts"],"sourcesContent":["import { ComponentType } from 'react';\nimport { withTheme, FormProps } from '@rjsf/core';\nimport { generateTheme } from './theme';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateForm<\n  T = any,\n  S extends StrictRJSFSchema = RJSFSchema,\n  F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n  return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nexport default generateForm();\n"],"names":["withTheme","generateTheme"],"mappings":";;;;;;;AAGO,SAAS,YAAY,GAAG;AAC/B,EAAE,OAAOA,cAAS,CAACC,mBAAa,EAAE,CAAC,CAAC;AACpC,CAAC;AACD,WAAe,YAAY,EAAE;;;;;"}