import AForm from './src/Form.mjs';
import AFormItem from './src/FormItem.mjs';
import AFormItemRest, { useInjectFormItemContext } from './src/FormItemContext.mjs';
import './src/interface.mjs';
export { formItemProps, formProps } from './src/props.mjs';

const FormItem = AFormItem;
const FormItemRest = AFormItemRest;
const Form = Object.assign(AForm, {
  ItemRest: AFormItemRest,
  useInjectFormItemContext,
  install(app) {
    app.component(AForm.name, AForm);
    app.component(AFormItem.name, AFormItem);
    app.component(AFormItemRest.name, AFormItemRest);
    return app;
  }
});

export { Form, FormItem, FormItemRest, Form as default, useInjectFormItemContext };
//# sourceMappingURL=index.mjs.map
