index.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. "use strict";
  2. var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
  3. exports.__esModule = true;
  4. exports.install = install;
  5. exports.default = exports.version = void 0;
  6. var _actionSheet = _interopRequireDefault(require("./action-sheet"));
  7. exports.ActionSheet = _actionSheet.default;
  8. var _addressEdit = _interopRequireDefault(require("./address-edit"));
  9. exports.AddressEdit = _addressEdit.default;
  10. var _addressList = _interopRequireDefault(require("./address-list"));
  11. exports.AddressList = _addressList.default;
  12. var _area = _interopRequireDefault(require("./area"));
  13. exports.Area = _area.default;
  14. var _badge = _interopRequireDefault(require("./badge"));
  15. exports.Badge = _badge.default;
  16. var _button = _interopRequireDefault(require("./button"));
  17. exports.Button = _button.default;
  18. var _calendar = _interopRequireDefault(require("./calendar"));
  19. exports.Calendar = _calendar.default;
  20. var _card = _interopRequireDefault(require("./card"));
  21. exports.Card = _card.default;
  22. var _cascader = _interopRequireDefault(require("./cascader"));
  23. exports.Cascader = _cascader.default;
  24. var _cell = _interopRequireDefault(require("./cell"));
  25. exports.Cell = _cell.default;
  26. var _cellGroup = _interopRequireDefault(require("./cell-group"));
  27. exports.CellGroup = _cellGroup.default;
  28. var _checkbox = _interopRequireDefault(require("./checkbox"));
  29. exports.Checkbox = _checkbox.default;
  30. var _checkboxGroup = _interopRequireDefault(require("./checkbox-group"));
  31. exports.CheckboxGroup = _checkboxGroup.default;
  32. var _circle = _interopRequireDefault(require("./circle"));
  33. exports.Circle = _circle.default;
  34. var _col = _interopRequireDefault(require("./col"));
  35. exports.Col = _col.default;
  36. var _collapse = _interopRequireDefault(require("./collapse"));
  37. exports.Collapse = _collapse.default;
  38. var _collapseItem = _interopRequireDefault(require("./collapse-item"));
  39. exports.CollapseItem = _collapseItem.default;
  40. var _contactCard = _interopRequireDefault(require("./contact-card"));
  41. exports.ContactCard = _contactCard.default;
  42. var _contactEdit = _interopRequireDefault(require("./contact-edit"));
  43. exports.ContactEdit = _contactEdit.default;
  44. var _contactList = _interopRequireDefault(require("./contact-list"));
  45. exports.ContactList = _contactList.default;
  46. var _countDown = _interopRequireDefault(require("./count-down"));
  47. exports.CountDown = _countDown.default;
  48. var _coupon = _interopRequireDefault(require("./coupon"));
  49. exports.Coupon = _coupon.default;
  50. var _couponCell = _interopRequireDefault(require("./coupon-cell"));
  51. exports.CouponCell = _couponCell.default;
  52. var _couponList = _interopRequireDefault(require("./coupon-list"));
  53. exports.CouponList = _couponList.default;
  54. var _datetimePicker = _interopRequireDefault(require("./datetime-picker"));
  55. exports.DatetimePicker = _datetimePicker.default;
  56. var _dialog = _interopRequireDefault(require("./dialog"));
  57. exports.Dialog = _dialog.default;
  58. var _divider = _interopRequireDefault(require("./divider"));
  59. exports.Divider = _divider.default;
  60. var _dropdownItem = _interopRequireDefault(require("./dropdown-item"));
  61. exports.DropdownItem = _dropdownItem.default;
  62. var _dropdownMenu = _interopRequireDefault(require("./dropdown-menu"));
  63. exports.DropdownMenu = _dropdownMenu.default;
  64. var _empty = _interopRequireDefault(require("./empty"));
  65. exports.Empty = _empty.default;
  66. var _field = _interopRequireDefault(require("./field"));
  67. exports.Field = _field.default;
  68. var _form = _interopRequireDefault(require("./form"));
  69. exports.Form = _form.default;
  70. var _goodsAction = _interopRequireDefault(require("./goods-action"));
  71. exports.GoodsAction = _goodsAction.default;
  72. var _goodsActionButton = _interopRequireDefault(require("./goods-action-button"));
  73. exports.GoodsActionButton = _goodsActionButton.default;
  74. var _goodsActionIcon = _interopRequireDefault(require("./goods-action-icon"));
  75. exports.GoodsActionIcon = _goodsActionIcon.default;
  76. var _grid = _interopRequireDefault(require("./grid"));
  77. exports.Grid = _grid.default;
  78. var _gridItem = _interopRequireDefault(require("./grid-item"));
  79. exports.GridItem = _gridItem.default;
  80. var _icon = _interopRequireDefault(require("./icon"));
  81. exports.Icon = _icon.default;
  82. var _image = _interopRequireDefault(require("./image"));
  83. exports.Image = _image.default;
  84. var _imagePreview = _interopRequireDefault(require("./image-preview"));
  85. exports.ImagePreview = _imagePreview.default;
  86. var _indexAnchor = _interopRequireDefault(require("./index-anchor"));
  87. exports.IndexAnchor = _indexAnchor.default;
  88. var _indexBar = _interopRequireDefault(require("./index-bar"));
  89. exports.IndexBar = _indexBar.default;
  90. var _info = _interopRequireDefault(require("./info"));
  91. exports.Info = _info.default;
  92. var _lazyload = _interopRequireDefault(require("./lazyload"));
  93. exports.Lazyload = _lazyload.default;
  94. var _list = _interopRequireDefault(require("./list"));
  95. exports.List = _list.default;
  96. var _loading = _interopRequireDefault(require("./loading"));
  97. exports.Loading = _loading.default;
  98. var _locale = _interopRequireDefault(require("./locale"));
  99. exports.Locale = _locale.default;
  100. var _navBar = _interopRequireDefault(require("./nav-bar"));
  101. exports.NavBar = _navBar.default;
  102. var _noticeBar = _interopRequireDefault(require("./notice-bar"));
  103. exports.NoticeBar = _noticeBar.default;
  104. var _notify = _interopRequireDefault(require("./notify"));
  105. exports.Notify = _notify.default;
  106. var _numberKeyboard = _interopRequireDefault(require("./number-keyboard"));
  107. exports.NumberKeyboard = _numberKeyboard.default;
  108. var _overlay = _interopRequireDefault(require("./overlay"));
  109. exports.Overlay = _overlay.default;
  110. var _pagination = _interopRequireDefault(require("./pagination"));
  111. exports.Pagination = _pagination.default;
  112. var _panel = _interopRequireDefault(require("./panel"));
  113. exports.Panel = _panel.default;
  114. var _passwordInput = _interopRequireDefault(require("./password-input"));
  115. exports.PasswordInput = _passwordInput.default;
  116. var _picker = _interopRequireDefault(require("./picker"));
  117. exports.Picker = _picker.default;
  118. var _popover = _interopRequireDefault(require("./popover"));
  119. exports.Popover = _popover.default;
  120. var _popup = _interopRequireDefault(require("./popup"));
  121. exports.Popup = _popup.default;
  122. var _progress = _interopRequireDefault(require("./progress"));
  123. exports.Progress = _progress.default;
  124. var _pullRefresh = _interopRequireDefault(require("./pull-refresh"));
  125. exports.PullRefresh = _pullRefresh.default;
  126. var _radio = _interopRequireDefault(require("./radio"));
  127. exports.Radio = _radio.default;
  128. var _radioGroup = _interopRequireDefault(require("./radio-group"));
  129. exports.RadioGroup = _radioGroup.default;
  130. var _rate = _interopRequireDefault(require("./rate"));
  131. exports.Rate = _rate.default;
  132. var _row = _interopRequireDefault(require("./row"));
  133. exports.Row = _row.default;
  134. var _search = _interopRequireDefault(require("./search"));
  135. exports.Search = _search.default;
  136. var _shareSheet = _interopRequireDefault(require("./share-sheet"));
  137. exports.ShareSheet = _shareSheet.default;
  138. var _sidebar = _interopRequireDefault(require("./sidebar"));
  139. exports.Sidebar = _sidebar.default;
  140. var _sidebarItem = _interopRequireDefault(require("./sidebar-item"));
  141. exports.SidebarItem = _sidebarItem.default;
  142. var _skeleton = _interopRequireDefault(require("./skeleton"));
  143. exports.Skeleton = _skeleton.default;
  144. var _sku = _interopRequireDefault(require("./sku"));
  145. exports.Sku = _sku.default;
  146. var _slider = _interopRequireDefault(require("./slider"));
  147. exports.Slider = _slider.default;
  148. var _step = _interopRequireDefault(require("./step"));
  149. exports.Step = _step.default;
  150. var _stepper = _interopRequireDefault(require("./stepper"));
  151. exports.Stepper = _stepper.default;
  152. var _steps = _interopRequireDefault(require("./steps"));
  153. exports.Steps = _steps.default;
  154. var _sticky = _interopRequireDefault(require("./sticky"));
  155. exports.Sticky = _sticky.default;
  156. var _submitBar = _interopRequireDefault(require("./submit-bar"));
  157. exports.SubmitBar = _submitBar.default;
  158. var _swipe = _interopRequireDefault(require("./swipe"));
  159. exports.Swipe = _swipe.default;
  160. var _swipeCell = _interopRequireDefault(require("./swipe-cell"));
  161. exports.SwipeCell = _swipeCell.default;
  162. var _swipeItem = _interopRequireDefault(require("./swipe-item"));
  163. exports.SwipeItem = _swipeItem.default;
  164. var _switch = _interopRequireDefault(require("./switch"));
  165. exports.Switch = _switch.default;
  166. var _switchCell = _interopRequireDefault(require("./switch-cell"));
  167. exports.SwitchCell = _switchCell.default;
  168. var _tab = _interopRequireDefault(require("./tab"));
  169. exports.Tab = _tab.default;
  170. var _tabbar = _interopRequireDefault(require("./tabbar"));
  171. exports.Tabbar = _tabbar.default;
  172. var _tabbarItem = _interopRequireDefault(require("./tabbar-item"));
  173. exports.TabbarItem = _tabbarItem.default;
  174. var _tabs = _interopRequireDefault(require("./tabs"));
  175. exports.Tabs = _tabs.default;
  176. var _tag = _interopRequireDefault(require("./tag"));
  177. exports.Tag = _tag.default;
  178. var _toast = _interopRequireDefault(require("./toast"));
  179. exports.Toast = _toast.default;
  180. var _treeSelect = _interopRequireDefault(require("./tree-select"));
  181. exports.TreeSelect = _treeSelect.default;
  182. var _uploader = _interopRequireDefault(require("./uploader"));
  183. exports.Uploader = _uploader.default;
  184. var version = '2.13.2';
  185. exports.version = version;
  186. function install(Vue) {
  187. var components = [_actionSheet.default, _addressEdit.default, _addressList.default, _area.default, _badge.default, _button.default, _calendar.default, _card.default, _cascader.default, _cell.default, _cellGroup.default, _checkbox.default, _checkboxGroup.default, _circle.default, _col.default, _collapse.default, _collapseItem.default, _contactCard.default, _contactEdit.default, _contactList.default, _countDown.default, _coupon.default, _couponCell.default, _couponList.default, _datetimePicker.default, _dialog.default, _divider.default, _dropdownItem.default, _dropdownMenu.default, _empty.default, _field.default, _form.default, _goodsAction.default, _goodsActionButton.default, _goodsActionIcon.default, _grid.default, _gridItem.default, _icon.default, _image.default, _imagePreview.default, _indexAnchor.default, _indexBar.default, _info.default, _list.default, _loading.default, _locale.default, _navBar.default, _noticeBar.default, _notify.default, _numberKeyboard.default, _overlay.default, _pagination.default, _panel.default, _passwordInput.default, _picker.default, _popover.default, _popup.default, _progress.default, _pullRefresh.default, _radio.default, _radioGroup.default, _rate.default, _row.default, _search.default, _shareSheet.default, _sidebar.default, _sidebarItem.default, _skeleton.default, _sku.default, _slider.default, _step.default, _stepper.default, _steps.default, _sticky.default, _submitBar.default, _swipe.default, _swipeCell.default, _swipeItem.default, _switch.default, _switchCell.default, _tab.default, _tabbar.default, _tabbarItem.default, _tabs.default, _tag.default, _toast.default, _treeSelect.default, _uploader.default];
  188. components.forEach(function (item) {
  189. if (item.install) {
  190. Vue.use(item);
  191. } else if (item.name) {
  192. Vue.component(item.name, item);
  193. }
  194. });
  195. }
  196. if (typeof window !== 'undefined' && window.Vue) {
  197. install(window.Vue);
  198. }
  199. var _default = {
  200. install: install,
  201. version: version
  202. };
  203. exports.default = _default;