3
0

props.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /**
  2. * 此文件的作用为统一配置所有组件的props参数
  3. * 借此用户可以全局覆盖组件的props默认值
  4. * 无需在每个引入组件的页面中都配置一次
  5. */
  6. import config from './config'
  7. import ActionSheet from '../../components/u-action-sheet/actionSheet'
  8. import Album from '../../components/u-album/album'
  9. import Alert from '../../components/u-alert/alert'
  10. import Avatar from '../../components/u-avatar/avatar'
  11. import AvatarGroup from '../../components/u-avatar-group/avatarGroup'
  12. import Backtop from '../../components/u-back-top/backtop'
  13. import Badge from '../../components/u-badge/badge'
  14. import Button from '../../components/u-button/button'
  15. import Calendar from '../../components/u-calendar/calendar'
  16. import CarKeyboard from '../../components/u-car-keyboard/carKeyboard'
  17. import Cell from '../../components/u-cell/cell'
  18. import CellGroup from '../../components/u-cell-group/cellGroup'
  19. import Checkbox from '../../components/u-checkbox/checkbox'
  20. import CheckboxGroup from '../../components/u-checkbox-group/checkboxGroup'
  21. import CircleProgress from '../../components/u-circle-progress/circleProgress'
  22. import Code from '../../components/u-code/code'
  23. import CodeInput from '../../components/u-code-input/codeInput'
  24. import Col from '../../components/u-col/col'
  25. import Collapse from '../../components/u-collapse/collapse'
  26. import CollapseItem from '../../components/u-collapse-item/collapseItem'
  27. import ColumnNotice from '../../components/u-column-notice/columnNotice'
  28. import CountDown from '../../components/u-count-down/countDown'
  29. import CountTo from '../../components/u-count-to/countTo'
  30. import DatetimePicker from '../../components/u-datetime-picker/datetimePicker'
  31. import Divider from '../../components/u-divider/divider'
  32. import Empty from '../../components/u-empty/empty'
  33. import Form from '../../components/u-form/form'
  34. import GormItem from '../../components/u-form-item/formItem'
  35. import Gap from '../../components/u-gap/gap'
  36. import Grid from '../../components/u-grid/grid'
  37. import GridItem from '../../components/u-grid-item/gridItem'
  38. import Icon from '../../components/u-icon/icon'
  39. import Image from '../../components/u-image/image'
  40. import IndexAnchor from '../../components/u-index-anchor/indexAnchor'
  41. import IndexList from '../../components/u-index-list/indexList'
  42. import Input from '../../components/u-input/input'
  43. import Keyboard from '../../components/u-keyboard/keyboard'
  44. import Line from '../../components/u-line/line'
  45. import LineProgress from '../../components/u-line-progress/lineProgress'
  46. import Link from '../../components/u-link/link'
  47. import List from '../../components/u-list/list'
  48. import ListItem from '../../components/u-list-item/listItem'
  49. import LoadingIcon from '../../components/u-loading-icon/loadingIcon'
  50. import LoadingPage from '../../components/u-loading-page/loadingPage'
  51. import Loadmore from '../../components/u-loadmore/loadmore'
  52. import Modal from '../../components/u-modal/modal'
  53. import Navbar from '../../components/u-navbar/navbar'
  54. import NoNetwork from '../../components/u-no-network/noNetwork'
  55. import NoticeBar from '../../components/u-notice-bar/noticeBar'
  56. import Notify from '../../components/u-notify/notify'
  57. import NumberBox from '../../components/u-number-box/numberBox'
  58. import NumberKeyboard from '../../components/u-number-keyboard/numberKeyboard'
  59. import Overlay from '../../components/u-overlay/overlay'
  60. import Parse from '../../components/u-parse/parse'
  61. import Picker from '../../components/u-picker/picker'
  62. import Popup from '../../components/u-popup/popup'
  63. import Radio from '../../components/u-radio/radio'
  64. import RadioGroup from '../../components/u-radio-group/radioGroup'
  65. import Rate from '../../components/u-rate/rate'
  66. import ReadMore from '../../components/u-read-more/readMore'
  67. import Row from '../../components/u-row/row'
  68. import RowNotice from '../../components/u-row-notice/rowNotice'
  69. import ScrollList from '../../components/u-scroll-list/scrollList'
  70. import Search from '../../components/u-search/search'
  71. import Section from '../../components/u-section/section'
  72. import Skeleton from '../../components/u-skeleton/skeleton'
  73. import Slider from '../../components/u-slider/slider'
  74. import StatusBar from '../../components/u-status-bar/statusBar'
  75. import Steps from '../../components/u-steps/steps'
  76. import StepsItem from '../../components/u-steps-item/stepsItem'
  77. import Sticky from '../../components/u-sticky/sticky'
  78. import Subsection from '../../components/u-subsection/subsection'
  79. import SwipeAction from '../../components/u-swipe-action/swipeAction'
  80. import SwipeActionItem from '../../components/u-swipe-action-item/swipeActionItem'
  81. import Swiper from '../../components/u-swiper/swiper'
  82. import SwipterIndicator from '../../components/u-swiper-indicator/swipterIndicator'
  83. import Switch from '../../components/u-switch/switch'
  84. import Tabbar from '../../components/u-tabbar/tabbar'
  85. import TabbarItem from '../../components/u-tabbar-item/tabbarItem'
  86. import Tabs from '../../components/u-tabs/tabs'
  87. import Tag from '../../components/u-tag/tag'
  88. import Text from '../../components/u-text/text'
  89. import Textarea from '../../components/u-textarea/textarea'
  90. import Toast from '../../components/u-toast/toast'
  91. import Toolbar from '../../components/u-toolbar/toolbar'
  92. import Tooltip from '../../components/u-tooltip/tooltip'
  93. import Transition from '../../components/u-transition/transition'
  94. import Upload from '../../components/u-upload/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. ...GormItem,
  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. }