// This file is auto gererated by build/build-entry.js
import './style/reset.css'
import Area from '../packages/area'
import Badge from '../packages/badge'
import BottomSheets from '../packages/bottom-sheets'
import Button from '../packages/button'
import Cell from '../packages/cell'
import CellGroup from '../packages/cell-group'
import Checkbox from '../packages/checkbox'
import CheckboxGroup from '../packages/checkbox-group'
import CrmInput from '../packages/crm-input'
import DatetimePicker from '../packages/datetime-picker'
import DefaultPage from '../packages/default-page'
import Form from '../packages/form'
import FormItem from '../packages/form-item'
import Icon from '../packages/icon'
import Input from '../packages/input'
import LoadMore from '../packages/load-more'
import Loading from '../packages/loading'
import MailInput from '../packages/mail-input'
import MessageBox from '../packages/message-box'
import Picker from '../packages/picker'
import Popup from '../packages/popup'
import Price from '../packages/price'
import ProfessionList from '../packages/profession-list'
import Protocol from '../packages/protocol'
import PullRefresh from '../packages/pull-refresh'
import Radio from '../packages/radio'
import RadioGroup from '../packages/radio-group'
import Rate from '../packages/rate'
import ResultStatus from '../packages/result-status'
import SafeAreaPatch from '../packages/safe-area-patch'
import Search from '../packages/search'
import Step from '../packages/step'
import Stepper from '../packages/stepper'
import Steps from '../packages/steps'
import Swiper from '../packages/swiper'
import SwiperItem from '../packages/swiper-item'
import Switch from '../packages/switch'
import Tab from '../packages/tab'
import TabItem from '../packages/tab-item'
import Tag from '../packages/tag'
import Toast from '../packages/toast'
import Uploader from '../packages/uploader'
import VerifyCodeInput from '../packages/verify-code-input'

const version = '3.3.0'
const components = [
  Area,
  Badge,
  BottomSheets,
  Button,
  Cell,
  CellGroup,
  Checkbox,
  CheckboxGroup,
  CrmInput,
  DatetimePicker,
  DefaultPage,
  Form,
  FormItem,
  Icon,
  Input,
  LoadMore,
  Loading,
  MailInput,
  MessageBox,
  Picker,
  Popup,
  Price,
  ProfessionList,
  Protocol,
  PullRefresh,
  Radio,
  RadioGroup,
  Rate,
  ResultStatus,
  SafeAreaPatch,
  Search,
  Step,
  Stepper,
  Steps,
  Swiper,
  SwiperItem,
  Switch,
  Tab,
  TabItem,
  Tag,
  Toast,
  Uploader,
  VerifyCodeInput,
]

const install = Vue => {
  components.forEach(Component => {
    Vue.use(Component)
  })
}

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue)
}

export {
  install,
  version,
  Area,
  Badge,
  BottomSheets,
  Button,
  Cell,
  CellGroup,
  Checkbox,
  CheckboxGroup,
  CrmInput,
  DatetimePicker,
  DefaultPage,
  Form,
  FormItem,
  Icon,
  Input,
  LoadMore,
  Loading,
  MailInput,
  MessageBox,
  Picker,
  Popup,
  Price,
  ProfessionList,
  Protocol,
  PullRefresh,
  Radio,
  RadioGroup,
  Rate,
  ResultStatus,
  SafeAreaPatch,
  Search,
  Step,
  Stepper,
  Steps,
  Swiper,
  SwiperItem,
  Switch,
  Tab,
  TabItem,
  Tag,
  Toast,
  Uploader,
  VerifyCodeInput,
}

export default {
  install,
  version,
}
