🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
940 B

import { App, Plugin } from 'vue';
import Input from './Input';
import Group from './Group';
import Search from './Search';
import TextArea from './TextArea';
6 years ago
import Password from './Password';
7 years ago
Input.Group = Group;
Input.Search = Search;
Input.TextArea = TextArea;
6 years ago
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;
};