props.js 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /**
  2. * 此文件的作用为统一配置所有组件的props参数
  3. * 借此用户可以全局覆盖组件的props默认值
  4. * 无需在每个引入组件的页面中都配置一次
  5. */
  6. import config from './config'
  7. import actionSheet from './props/actionSheet.js'
  8. import album from './props/album.js'
  9. import alert from './props/alert.js'
  10. import avatar from './props/avatar'
  11. import avatarGroup from './props/avatarGroup'
  12. import backtop from './props/backtop'
  13. import badge from './props/badge'
  14. import button from './props/button'
  15. import calendar from './props/calendar'
  16. import carKeyboard from './props/carKeyboard'
  17. import cell from './props/cell'
  18. import cellGroup from './props/cellGroup'
  19. import checkbox from './props/checkbox'
  20. import checkboxGroup from './props/checkboxGroup'
  21. import circleProgress from './props/circleProgress'
  22. import code from './props/code'
  23. import codeInput from './props/codeInput'
  24. import col from './props/col'
  25. import collapse from './props/collapse'
  26. import collapseItem from './props/collapseItem'
  27. import columnNotice from './props/columnNotice'
  28. import countDown from './props/countDown'
  29. import countTo from './props/countTo'
  30. import datetimePicker from './props/datetimePicker'
  31. import divider from './props/divider'
  32. import empty from './props/empty'
  33. import form from './props/form'
  34. import formItem from './props/formItem'
  35. import gap from './props/gap'
  36. import grid from './props/grid'
  37. import gridItem from './props/gridItem'
  38. import icon from './props/icon'
  39. import image from './props/image'
  40. import indexAnchor from './props/indexAnchor'
  41. import indexList from './props/indexList'
  42. import input from './props/input'
  43. import keyboard from './props/keyboard'
  44. import line from './props/line'
  45. import lineProgress from './props/lineProgress'
  46. import link from './props/link'
  47. import list from './props/list'
  48. import listItem from './props/listItem'
  49. import loadingIcon from './props/loadingIcon'
  50. import loadingPage from './props/loadingPage'
  51. import loadmore from './props/loadmore'
  52. import modal from './props/modal'
  53. import navbar from './props/navbar'
  54. import noNetwork from './props/noNetwork'
  55. import noticeBar from './props/noticeBar'
  56. import notify from './props/notify'
  57. import numberBox from './props/numberBox'
  58. import numberKeyboard from './props/numberKeyboard'
  59. import overlay from './props/overlay'
  60. import parse from './props/parse'
  61. import picker from './props/picker'
  62. import popup from './props/popup'
  63. import radio from './props/radio'
  64. import radioGroup from './props/radioGroup'
  65. import rate from './props/rate'
  66. import readMore from './props/readMore'
  67. import row from './props/row'
  68. import rowNotice from './props/rowNotice'
  69. import scrollList from './props/scrollList'
  70. import search from './props/search'
  71. import section from './props/section'
  72. import skeleton from './props/skeleton'
  73. import slider from './props/slider'
  74. import statusBar from './props/statusBar'
  75. import steps from './props/steps'
  76. import stepsItem from './props/stepsItem'
  77. import sticky from './props/sticky'
  78. import subsection from './props/subsection'
  79. import swipeAction from './props/swipeAction'
  80. import swipeActionItem from './props/swipeActionItem'
  81. import swiper from './props/swiper'
  82. import swipterIndicator from './props/swipterIndicator'
  83. import _switch from './props/switch'
  84. import tabbar from './props/tabbar'
  85. import tabbarItem from './props/tabbarItem'
  86. import tabs from './props/tabs'
  87. import tag from './props/tag'
  88. import text from './props/text'
  89. import textarea from './props/textarea'
  90. import toast from './props/toast'
  91. import toolbar from './props/toolbar'
  92. import tooltip from './props/tooltip'
  93. import transition from './props/transition'
  94. import upload from './props/upload'
  95. const {
  96. color
  97. } = config
  98. export default {
  99. ...actionSheet,
  100. ...album,
  101. ...alert,
  102. ...avatar,
  103. ...avatarGroup,
  104. ...backtop,
  105. ...badge,
  106. ...button,
  107. ...calendar,
  108. ...carKeyboard,
  109. ...cell,
  110. ...cellGroup,
  111. ...checkbox,
  112. ...checkboxGroup,
  113. ...circleProgress,
  114. ...code,
  115. ...codeInput,
  116. ...col,
  117. ...collapse,
  118. ...collapseItem,
  119. ...columnNotice,
  120. ...countDown,
  121. ...countTo,
  122. ...datetimePicker,
  123. ...divider,
  124. ...empty,
  125. ...form,
  126. ...formItem,
  127. ...gap,
  128. ...grid,
  129. ...gridItem,
  130. ...icon,
  131. ...image,
  132. ...indexAnchor,
  133. ...indexList,
  134. ...input,
  135. ...keyboard,
  136. ...line,
  137. ...lineProgress,
  138. ...link,
  139. ...list,
  140. ...listItem,
  141. ...loadingIcon,
  142. ...loadingPage,
  143. ...loadmore,
  144. ...modal,
  145. ...navbar,
  146. ...noNetwork,
  147. ...noticeBar,
  148. ...notify,
  149. ...numberBox,
  150. ...numberKeyboard,
  151. ...overlay,
  152. ...parse,
  153. ...picker,
  154. ...popup,
  155. ...radio,
  156. ...radioGroup,
  157. ...rate,
  158. ...readMore,
  159. ...row,
  160. ...rowNotice,
  161. ...scrollList,
  162. ...search,
  163. ...section,
  164. ...skeleton,
  165. ...slider,
  166. ...statusBar,
  167. ...steps,
  168. ...stepsItem,
  169. ...sticky,
  170. ...subsection,
  171. ...swipeAction,
  172. ...swipeActionItem,
  173. ...swiper,
  174. ...swipterIndicator,
  175. ..._switch,
  176. ...tabbar,
  177. ...tabbarItem,
  178. ...tabs,
  179. ...tag,
  180. ...text,
  181. ...textarea,
  182. ...toast,
  183. ...toolbar,
  184. ...tooltip,
  185. ...transition,
  186. ...upload
  187. }