2020-11-01 07:03:33 +00:00
|
|
|
import { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Input from './Input';
|
|
|
|
import Group from './Group';
|
|
|
|
import Search from './Search';
|
|
|
|
import TextArea from './TextArea';
|
2019-04-07 09:19:18 +00:00
|
|
|
import Password from './Password';
|
2017-12-06 10:54:20 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Input.Group = Group;
|
|
|
|
Input.Search = Search;
|
|
|
|
Input.TextArea = TextArea;
|
2019-04-07 09:19:18 +00:00
|
|
|
Input.Password = Password;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2020-10-16 06:24:14 +00:00
|
|
|
Input.install = function(app: App) {
|
2020-06-27 06:02:30 +00:00
|
|
|
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);
|
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 Input as typeof Input &
|
|
|
|
Plugin & {
|
|
|
|
readonly Group: typeof Group;
|
|
|
|
readonly Search: typeof Search;
|
|
|
|
readonly TextArea: typeof TextArea;
|
|
|
|
readonly Password: typeof Password;
|
|
|
|
};
|