index.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. import ActionSheet from './action-sheet';
  2. import AddressEdit from './address-edit';
  3. import AddressList from './address-list';
  4. import Area from './area';
  5. import Badge from './badge';
  6. import Button from './button';
  7. import Calendar from './calendar';
  8. import Card from './card';
  9. import Cascader from './cascader';
  10. import Cell from './cell';
  11. import CellGroup from './cell-group';
  12. import Checkbox from './checkbox';
  13. import CheckboxGroup from './checkbox-group';
  14. import Circle from './circle';
  15. import Col from './col';
  16. import Collapse from './collapse';
  17. import CollapseItem from './collapse-item';
  18. import ContactCard from './contact-card';
  19. import ContactEdit from './contact-edit';
  20. import ContactList from './contact-list';
  21. import CountDown from './count-down';
  22. import Coupon from './coupon';
  23. import CouponCell from './coupon-cell';
  24. import CouponList from './coupon-list';
  25. import DatetimePicker from './datetime-picker';
  26. import Dialog from './dialog';
  27. import Divider from './divider';
  28. import DropdownItem from './dropdown-item';
  29. import DropdownMenu from './dropdown-menu';
  30. import Empty from './empty';
  31. import Field from './field';
  32. import Form from './form';
  33. import GoodsAction from './goods-action';
  34. import GoodsActionButton from './goods-action-button';
  35. import GoodsActionIcon from './goods-action-icon';
  36. import Grid from './grid';
  37. import GridItem from './grid-item';
  38. import Icon from './icon';
  39. import Image from './image';
  40. import ImagePreview from './image-preview';
  41. import IndexAnchor from './index-anchor';
  42. import IndexBar from './index-bar';
  43. import Info from './info';
  44. import Lazyload from './lazyload';
  45. import List from './list';
  46. import Loading from './loading';
  47. import Locale from './locale';
  48. import NavBar from './nav-bar';
  49. import NoticeBar from './notice-bar';
  50. import Notify from './notify';
  51. import NumberKeyboard from './number-keyboard';
  52. import Overlay from './overlay';
  53. import Pagination from './pagination';
  54. import Panel from './panel';
  55. import PasswordInput from './password-input';
  56. import Picker from './picker';
  57. import Popover from './popover';
  58. import Popup from './popup';
  59. import Progress from './progress';
  60. import PullRefresh from './pull-refresh';
  61. import Radio from './radio';
  62. import RadioGroup from './radio-group';
  63. import Rate from './rate';
  64. import Row from './row';
  65. import Search from './search';
  66. import ShareSheet from './share-sheet';
  67. import Sidebar from './sidebar';
  68. import SidebarItem from './sidebar-item';
  69. import Skeleton from './skeleton';
  70. import Sku from './sku';
  71. import Slider from './slider';
  72. import Step from './step';
  73. import Stepper from './stepper';
  74. import Steps from './steps';
  75. import Sticky from './sticky';
  76. import SubmitBar from './submit-bar';
  77. import Swipe from './swipe';
  78. import SwipeCell from './swipe-cell';
  79. import SwipeItem from './swipe-item';
  80. import Switch from './switch';
  81. import SwitchCell from './switch-cell';
  82. import Tab from './tab';
  83. import Tabbar from './tabbar';
  84. import TabbarItem from './tabbar-item';
  85. import Tabs from './tabs';
  86. import Tag from './tag';
  87. import Toast from './toast';
  88. import TreeSelect from './tree-select';
  89. import Uploader from './uploader';
  90. var version = '2.13.2';
  91. function install(Vue) {
  92. var components = [ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Sku, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
  93. components.forEach(function (item) {
  94. if (item.install) {
  95. Vue.use(item);
  96. } else if (item.name) {
  97. Vue.component(item.name, item);
  98. }
  99. });
  100. }
  101. if (typeof window !== 'undefined' && window.Vue) {
  102. install(window.Vue);
  103. }
  104. export { install, version, ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Sku, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader };
  105. export default {
  106. install: install,
  107. version: version
  108. };