2020-10-14 09:57:38 +00:00
|
|
|
import { App } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Checkbox from './Checkbox';
|
|
|
|
import CheckboxGroup from './Group';
|
2017-10-26 07:18:08 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Checkbox.Group = CheckboxGroup;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2020-10-14 09:57:38 +00:00
|
|
|
Checkbox.install = function(app: App) {
|
2020-06-20 14:22:00 +00:00
|
|
|
app.component(Checkbox.name, Checkbox);
|
|
|
|
app.component(CheckboxGroup.name, CheckboxGroup);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2017-10-26 07:18:08 +00:00
|
|
|
|
2020-10-15 14:38:48 +00:00
|
|
|
export default Checkbox as typeof Checkbox & {
|
|
|
|
readonly Group: typeof CheckboxGroup;
|
|
|
|
};
|