mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-11 05:03:19 +08:00
37 lines
1007 B
TypeScript
37 lines
1007 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Input from './Input';
|
|
import Group from './Group';
|
|
import Search from './Search';
|
|
import TextArea from './TextArea';
|
|
import Password from './Password';
|
|
export type { InputProps, TextAreaProps } from './inputProps';
|
|
Input.Group = Group;
|
|
Input.Search = Search;
|
|
Input.TextArea = TextArea;
|
|
Input.Password = Password;
|
|
|
|
/* istanbul ignore next */
|
|
Input.install = function (app: App) {
|
|
app.component(Input.name, Input);
|
|
app.component(Input.Group.name, Input.Group);
|
|
app.component(Input.Search.name, Input.Search);
|
|
app.component(Input.TextArea.name, Input.TextArea);
|
|
app.component(Input.Password.name, Input.Password);
|
|
return app;
|
|
};
|
|
|
|
export {
|
|
Group as InputGroup,
|
|
Search as InputSearch,
|
|
TextArea as Textarea,
|
|
Password as InputPassword,
|
|
};
|
|
|
|
export default Input as typeof Input &
|
|
Plugin & {
|
|
readonly Group: typeof Group;
|
|
readonly Search: typeof Search;
|
|
readonly TextArea: typeof TextArea;
|
|
readonly Password: typeof Password;
|
|
};
|