naive-ui/index.js
songwanli2025@163.com 3601c5004c merge
2019-11-27 17:04:39 +08:00

155 lines
5.2 KiB
JavaScript

import Card from './packages/common/Card'
import Icon from './packages/common/Icon'
import GradientText from './packages/common/GradientText'
import WithPadding from './packages/common/WithPadding'
import WithMargin from './packages/common/WithMargin'
import MasonryGroup from './packages/common/MasonryGroup'
import Table from './packages/common/Table'
import AdvanceTable from './packages/common/AdvanceTable'
import CheckBox from './packages/common/Checkbox'
import RoundButton from './packages/common/Button'
import Switch from './packages/common/Switch'
import Select from './packages/common/Select'
import Cascader from './packages/common/Cascader'
import CustomInput from './packages/common/CustomInput'
import Modal from './packages/common/Modal'
import Input from './packages/common/Input'
import Message from './packages/common/Message'
import Notification from './packages/common/Notification'
import Pagination from './packages/common/Pagination'
import Progress from './packages/common/Progress'
import Tooltip from './packages/common/Tooltip'
import Popup from './packages/common/Popover'
import Alert from './packages/common/Alert'
import DatePicker from './packages/common/DatePicker'
import InputNumber from './packages/common/InputNumber'
import Radio from './packages/common/Radio'
import Form from './packages/common/Form'
import Tabs from './packages/common/Tabs'
import TimePicker from './packages/common/TimePicker'
import Layout from './packages/common/Layout'
import ServiceLayout from './packages/nimbus/ServiceLayout'
import NimbusFormCard from './packages/nimbus/FormCard'
import NimbusConfirmCard from './packages/deprecated/ConfirmCard'
import NimbusIcon from './packages/deprecated/Icon'
import Scrollbar from './packages/common/Scrollbar'
import Steps from './packages/common/Steps'
import ConfirmModal from './packages/common/Confirm'
import Badge from './packages/common/Badge'
import Tag from './packages/common/Tag'
import BackTop from './packages/common/BackTop'
import Divider from './packages/common/Divider'
import Collapse from './packages/common/Collapse'
import Timeline from './packages/common/Timeline'
import Popconfirm from './packages/common/Popconfirm'
import Anchor from './packages/common/Anchor'
import Dropdown from './packages/common/Dropdown'
import Popselect from './packages/common/Popselect'
import ConfigProvider from './packages/common/ConfigProvider'
import Transfer from './packages/common/Transfer'
import Spin from './packages/common/Spin'
import Drawer from './packages/common/Drawer'
import Time from './packages/common/Time'
import LoadingBar from './packages/common/LoadingBar'
import Slider from './packages/common/Slider'
import Tree from './packages/common/Tree'
import Grid from './packages/common/Grid'
import Affix from './packages/common/Affix'
import Statistic from './packages/common/Statistic'
import Breadcrumb from './packages/common/Breadcrumb'
import ConfigConsumer from './packages/common/ConfigConsumer'
import Descriptions from './packages/common/Descriptions'
import List from './packages/common/List'
import Menu from './packages/common/Menu'
import Avatar from './packages/common/Avator'
import Confirm from './packages/presets/Confirm'
import Result from './packages/common/Result'
import Thing from './packages/common/Thing'
import AutoComplete from './packages/common/AutoComplete'
import Empty from './packages/common/Empty'
/**
* debug usage
* to be removed
*/
import Loader from './packages/base/Loading'
import CancelMark from './packages/base/CancelMark'
function install (Vue) {
Card.install(Vue)
Icon.install(Vue)
ServiceLayout.install(Vue)
Loader.install(Vue)
Layout.install(Vue)
GradientText.install(Vue)
WithPadding.install(Vue)
MasonryGroup.install(Vue)
Table.install(Vue)
AdvanceTable.install(Vue)
WithMargin.install(Vue)
CheckBox.install(Vue)
RoundButton.install(Vue)
Switch.install(Vue)
Select.install(Vue)
Modal.install(Vue)
NimbusFormCard.install(Vue)
Input.install(Vue)
Message.install(Vue)
Notification.install(Vue)
NimbusConfirmCard.install(Vue)
Pagination.install(Vue)
Tooltip.install(Vue)
Popup.install(Vue)
Alert.install(Vue)
DatePicker.install(Vue)
InputNumber.install(Vue)
NimbusIcon.install(Vue)
Radio.install(Vue)
Cascader.install(Vue)
CustomInput.install(Vue)
Form.install(Vue)
Tabs.install(Vue)
TimePicker.install(Vue)
Scrollbar.install(Vue)
Steps.install(Vue)
Confirm.install(Vue)
ConfirmModal.install(Vue)
Progress.install(Vue)
Badge.install(Vue)
Tag.install(Vue)
BackTop.install(Vue)
Divider.install(Vue)
Collapse.install(Vue)
Timeline.install(Vue)
Popconfirm.install(Vue)
Anchor.install(Vue)
Dropdown.install(Vue)
Popselect.install(Vue)
ConfigProvider.install(Vue)
CancelMark.install(Vue)
Transfer.install(Vue)
Spin.install(Vue)
Drawer.install(Vue)
LoadingBar.install(Vue)
Time.install(Vue)
Slider.install(Vue)
Tree.install(Vue)
Grid.install(Vue)
Affix.install(Vue)
Statistic.install(Vue)
Breadcrumb.install(Vue)
ConfigConsumer.install(Vue)
Descriptions.install(Vue)
List.install(Vue)
Menu.install(Vue)
Avatar.install(Vue)
Result.install(Vue)
Thing.install(Vue)
AutoComplete.install(Vue)
Empty.install(Vue)
}
export default {
install
}