import BButton from './BButton';
import BIcon from './BIcon';
import BImage from './BImage';
import BVideo from './BVideo';
import BInput from './BInput';
import BProgress from './BProgress';
import BSlider from './BSlider';
import BSwitch from './BSwitch';
import BText from './BText';
import BTextarea from './BTextarea';
import Checkbox from './Checkbox';
import CheckboxGroup from './CheckboxGroup';
import Follow from './Follow';
import Picker from './Picker';
import Radio from './Radio';
import RadioGroup from './RadioGroup';
import RichText from './RichText';
import ScrollView from './ScrollView';
import Swiper from './Swiper';
import WebView from './WebView';
import CoverView from './CoverView';
import CoverImage from './CoverImage';
import BCanvas from './BCanvas';
import BCardButton from './BCardButton';
import AdjustWebview from './AdjustableWebview';
import BRadio from './BRadio';
import BRadioGroup from './BRadioGroup';
import BCheckBox from './BCheckBox';
import BCheckBoxGroup from './BCheckBoxGroup';
import CoverTextarea from './CoverTextarea';
import CoverLabel from './CoverLabel';
import CoverButton from './CoverButton';
import CoverInput from './CoverInput';
import CoverSvga from './CoverSvga';


// 半屏小程序专用
import BTextfield from './BTextfield';

const COMPONENTS = [
    BButton,
    BIcon,
    BImage,
    BVideo,
    BInput,
    BProgress,
    BSlider,
    BSwitch,
    BText,
    BTextarea,
    BTextfield,
    Checkbox,
    CheckboxGroup,
    Follow,
    Picker,
    Radio,
    RadioGroup,
    RichText,
    ScrollView,
    Swiper,
    WebView,
    CoverView,
    CoverImage,
    BCanvas,
    BCardButton,
    AdjustWebview,
    BRadio,
    BRadioGroup,
    BCheckBox,
    BCheckBoxGroup,
    CoverTextarea,
    CoverButton,
    CoverLabel,
    CoverInput,
    CoverSvga
];

export default {
    install(Vue) {
        COMPONENTS.forEach(component => {
            component.install(Vue);
        });
    }
};
