2020-11-01 07:03:33 +00:00
|
|
|
import { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Form from './Form';
|
2018-05-15 02:08:14 +00:00
|
|
|
|
2021-02-07 10:32:29 +00:00
|
|
|
export { FormProps, formProps } from './Form';
|
|
|
|
export { FormItemProps, formItemProps } from './FormItem';
|
2018-05-05 09:00:51 +00:00
|
|
|
|
2018-09-19 05:21:57 +00:00
|
|
|
/* istanbul ignore next */
|
2020-10-15 14:38:48 +00:00
|
|
|
Form.install = function(app: App) {
|
2020-07-28 09:10:06 +00:00
|
|
|
app.component(Form.name, Form);
|
|
|
|
app.component(Form.Item.name, Form.Item);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Form as typeof Form &
|
|
|
|
Plugin & {
|
|
|
|
readonly Item: typeof Form.Item;
|
|
|
|
};
|