@10yun/cv-mobile-ui 0.5.29 → 0.5.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/package.json +5 -1
  2. package/plugins/luch-request/adapters/index.js +131 -0
  3. package/plugins/luch-request/core/InterceptorManager.js +50 -0
  4. package/plugins/luch-request/core/Request.js +199 -0
  5. package/plugins/luch-request/core/buildFullPath.js +20 -0
  6. package/plugins/luch-request/core/defaults.js +32 -0
  7. package/plugins/luch-request/core/dispatchRequest.js +5 -0
  8. package/plugins/luch-request/core/mergeConfig.js +125 -0
  9. package/plugins/luch-request/core/settle.js +16 -0
  10. package/plugins/luch-request/helpers/buildURL.js +71 -0
  11. package/plugins/luch-request/helpers/combineURLs.js +12 -0
  12. package/plugins/luch-request/helpers/isAbsoluteURL.js +14 -0
  13. package/plugins/luch-request/index.d.ts +197 -0
  14. package/plugins/luch-request/index.js +2 -0
  15. package/plugins/luch-request/readme.md +3 -0
  16. package/plugins/luch-request/utils/clone.js +264 -0
  17. package/plugins/luch-request/utils.js +131 -0
  18. package/plugins/request.js +2 -2
  19. package/ui-cv/components/cv-btn-base/cv-btn-base.vue +1 -1
  20. package/ui-cv/components/cv-form-item/cv-form-item.vue +1 -1
  21. package/ui-fireui/fui-actionsheet/fui-actionsheet.vue +202 -0
  22. package/ui-fireui/fui-alert/fui-alert.vue +141 -0
  23. package/ui-fireui/fui-badge/fui-badge.vue +158 -0
  24. package/ui-fireui/fui-bottom-navigation/fui-bottom-navigation.vue +390 -0
  25. package/ui-fireui/fui-bottom-popup/fui-bottom-popup.vue +100 -0
  26. package/ui-fireui/fui-bubble-popup/fui-bubble-popup.vue +236 -0
  27. package/ui-fireui/fui-button/fui-button.vue +424 -0
  28. package/ui-fireui/fui-calendar/fui-calendar.js +915 -0
  29. package/ui-fireui/fui-calendar/fui-calendar.vue +868 -0
  30. package/ui-fireui/fui-card/fui-card.vue +231 -0
  31. package/ui-fireui/fui-cascade-selection/fui-cascade-selection.vue +538 -0
  32. package/ui-fireui/fui-circular-progress/fui-circular-progress.vue +261 -0
  33. package/ui-fireui/fui-collapse/fui-collapse.vue +179 -0
  34. package/ui-fireui/fui-countdown/fui-countdown.vue +301 -0
  35. package/ui-fireui/fui-datetime/fui-datetime.vue +570 -0
  36. package/ui-fireui/fui-divider/fui-divider.vue +118 -0
  37. package/ui-fireui/fui-drawer/fui-drawer.vue +103 -0
  38. package/ui-fireui/fui-dropdown-list/fui-dropdown-list.vue +70 -0
  39. package/ui-fireui/fui-fab/fui-fab.vue +284 -0
  40. package/ui-fireui/fui-footer/fui-footer.vue +131 -0
  41. package/ui-fireui/fui-grid/fui-grid.vue +42 -0
  42. package/ui-fireui/fui-grid-item/fui-grid-item.vue +142 -0
  43. package/ui-fireui/fui-icon/fui-icon.vue +820 -0
  44. package/ui-fireui/fui-image-cropper/fui-image-cropper.vue +1058 -0
  45. package/ui-fireui/fui-image-group/fui-image-group.vue +149 -0
  46. package/ui-fireui/fui-keyboard/fui-keyboard.vue +254 -0
  47. package/ui-fireui/fui-keyboard-input/fui-keyboard-input.vue +78 -0
  48. package/ui-fireui/fui-list-cell/fui-list-cell.vue +178 -0
  49. package/ui-fireui/fui-list-view/fui-list-view.vue +87 -0
  50. package/ui-fireui/fui-loading/fui-loading.vue +78 -0
  51. package/ui-fireui/fui-loadmore/fui-loadmore.vue +163 -0
  52. package/ui-fireui/fui-modal/fui-modal.vue +392 -0
  53. package/ui-fireui/fui-navigation-bar/fui-navigation-bar.vue +180 -0
  54. package/ui-fireui/fui-no-data/fui-no-data.vue +116 -0
  55. package/ui-fireui/fui-nomore/fui-nomore.vue +116 -0
  56. package/ui-fireui/fui-numberbox/fui-numberbox.vue +234 -0
  57. package/ui-fireui/fui-numberbox-border/fui-numberbox-border.vue +232 -0
  58. package/ui-fireui/fui-picture-cropper/fui-picture-cropper.vue +682 -0
  59. package/ui-fireui/fui-picture-cropper/fui-picture-cropper.wxs +560 -0
  60. package/ui-fireui/fui-rate/fui-rate.vue +167 -0
  61. package/ui-fireui/fui-round-progress/fui-round-progress.vue +306 -0
  62. package/ui-fireui/fui-scroll-top/fui-scroll-top.vue +189 -0
  63. package/ui-fireui/fui-sharemodel/fui-sharemodel.vue +181 -0
  64. package/ui-fireui/fui-skeleton/fui-skeleton.vue +248 -0
  65. package/ui-fireui/fui-steps/fui-steps.vue +214 -0
  66. package/ui-fireui/fui-sticky/fui-sticky.vue +155 -0
  67. package/ui-fireui/fui-sticky-wxs/fui-sticky-wxs.vue +133 -0
  68. package/ui-fireui/fui-sticky-wxs/fui-sticky.wxs +44 -0
  69. package/ui-fireui/fui-swipe-action/fui-swipe-action.vue +301 -0
  70. package/ui-fireui/fui-tabbar/fui-tabbar.vue +283 -0
  71. package/ui-fireui/fui-tabs/fui-tabs.vue +284 -0
  72. package/ui-fireui/fui-tabs2/fui-tabs2.vue +284 -0
  73. package/ui-fireui/fui-tag/fui-tag.vue +374 -0
  74. package/ui-fireui/fui-time-axis/fui-time-axis.vue +36 -0
  75. package/ui-fireui/fui-timeaxis-item/fui-timeaxis-item.vue +48 -0
  76. package/ui-fireui/fui-tips/fui-tips.vue +161 -0
  77. package/ui-fireui/fui-toast/fui-toast.vue +117 -0
  78. package/ui-fireui/fui-top-dropdown/fui-top-dropdown.vue +129 -0
  79. package/ui-fireui/fui-upload/fui-upload.vue +446 -0
  80. package/ui-fireui/fui-uploadsamll/fui-uploadsamll.vue +472 -0
  81. package/uview-plus/README.md +2 -2
  82. package/uview-plus/changelog-wu-tool.md +21 -0
  83. package/uview-plus/changelog-wu.md +91 -0
  84. package/uview-plus/components/u-action-sheet/_doc/changelog.md +12 -0
  85. package/uview-plus/components/u-action-sheet/_doc/package.json +92 -0
  86. package/uview-plus/components/u-action-sheet/_doc/readme.md +16 -0
  87. package/uview-plus/components/u-action-sheet/u-action-sheet.vue +8 -8
  88. package/uview-plus/components/u-album/u-album.vue +1 -1
  89. package/uview-plus/components/u-alert/u-alert.vue +5 -5
  90. package/uview-plus/components/u-app-update/_doc/changelog.md +26 -0
  91. package/uview-plus/components/u-app-update/_doc/package.json +89 -0
  92. package/uview-plus/components/u-app-update/_doc/readme.md +16 -0
  93. package/uview-plus/components/u-app-update/config.js +120 -0
  94. package/uview-plus/components/u-app-update/img/act.png +0 -0
  95. package/uview-plus/components/u-app-update/img/appUploadAlertBoxBg.png +0 -0
  96. package/uview-plus/components/u-app-update/img/close.png +0 -0
  97. package/uview-plus/components/u-app-update/js-sdk/checkVersion.js +81 -0
  98. package/uview-plus/components/u-app-update/js-sdk/silentlyAppUpdate.js +41 -0
  99. package/uview-plus/components/u-app-update/pages/index.vue +8 -0
  100. package/uview-plus/components/u-app-update/u-app-update.vue +583 -0
  101. package/uview-plus/components/u-avatar/u-avatar.vue +2 -2
  102. package/uview-plus/components/u-avatar-group/u-avatar-group.vue +79 -3
  103. package/uview-plus/components/u-back-top/u-back-top.vue +4 -4
  104. package/uview-plus/components/u-badge/u-badge.vue +1 -1
  105. package/uview-plus/components/u-button/u-button.vue +8 -8
  106. package/uview-plus/components/u-button-wu/_doc/changelog.md +6 -0
  107. package/uview-plus/components/u-button-wu/_doc/package.json +89 -0
  108. package/uview-plus/components/u-button-wu/_doc/readme.md +16 -0
  109. package/uview-plus/components/u-button-wu/u-button-wu.vue +522 -0
  110. package/uview-plus/components/u-button-wu/vue.scss +81 -0
  111. package/uview-plus/components/u-calendar/u-calendar.vue +5 -6
  112. package/uview-plus/components/u-calendar-wu/_doc/changelog.md +145 -0
  113. package/uview-plus/components/u-calendar-wu/_doc/package.json +90 -0
  114. package/uview-plus/components/u-calendar-wu/_doc/readme.md +16 -0
  115. package/uview-plus/components/u-calendar-wu/calendar.js +664 -0
  116. package/uview-plus/components/u-calendar-wu/i18n/en.json +14 -0
  117. package/uview-plus/components/u-calendar-wu/i18n/index.js +8 -0
  118. package/uview-plus/components/u-calendar-wu/i18n/zh-Hans.json +14 -0
  119. package/uview-plus/components/u-calendar-wu/i18n/zh-Hant.json +14 -0
  120. package/uview-plus/components/u-calendar-wu/props.js +166 -0
  121. package/uview-plus/components/u-calendar-wu/style.css +196 -0
  122. package/uview-plus/components/u-calendar-wu/u-calendar-wu.vue +921 -0
  123. package/uview-plus/components/u-calendar-wu/util.js +552 -0
  124. package/uview-plus/components/u-calendar-wu/wu-calendar-block/props.js +73 -0
  125. package/uview-plus/components/u-calendar-wu/wu-calendar-block/wu-calendar-block.vue +122 -0
  126. package/uview-plus/components/u-calendar-wu/wu-calendar-item/props.js +55 -0
  127. package/uview-plus/components/u-calendar-wu/wu-calendar-item/wu-calendar-item.vue +293 -0
  128. package/uview-plus/components/u-car-keyboard/u-car-keyboard.vue +2 -2
  129. package/uview-plus/components/u-card/u-card.vue +139 -3
  130. package/uview-plus/components/u-cell/_doc/changelog.md +6 -0
  131. package/uview-plus/components/u-cell/_doc/package.json +89 -0
  132. package/uview-plus/components/u-cell/_doc/readme.md +25 -0
  133. package/uview-plus/components/u-cell/u-cell.vue +4 -4
  134. package/uview-plus/components/u-cell-group/u-cell-group.vue +2 -2
  135. package/uview-plus/components/u-checkbox/_doc/changelog.md +8 -0
  136. package/uview-plus/components/u-checkbox/_doc/package.json +88 -0
  137. package/uview-plus/components/u-checkbox/_doc/readme.md +25 -0
  138. package/uview-plus/components/u-checkbox/u-checkbox.vue +4 -4
  139. package/uview-plus/components/u-checkbox-group/u-checkbox-group.vue +1 -1
  140. package/uview-plus/components/u-code/_doc/changelog.md +6 -0
  141. package/uview-plus/components/u-code/_doc/package.json +86 -0
  142. package/uview-plus/components/u-code/_doc/readme.md +16 -0
  143. package/uview-plus/components/u-code/u-code.vue +1 -1
  144. package/uview-plus/components/u-code-input/u-code-input.vue +1 -1
  145. package/uview-plus/components/u-col/u-col.vue +1 -1
  146. package/uview-plus/components/u-collapse/u-collapse.vue +2 -2
  147. package/uview-plus/components/u-collapse-item/u-collapse-item.vue +218 -3
  148. package/uview-plus/components/u-column-notice/u-column-notice.vue +3 -3
  149. package/uview-plus/components/u-count-down/u-count-down.vue +1 -1
  150. package/uview-plus/components/u-count-to/u-count-to.vue +1 -1
  151. package/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +3 -3
  152. package/uview-plus/components/u-divider/u-divider.vue +3 -3
  153. package/uview-plus/components/u-drag-sort/_doc/changelog.md +0 -0
  154. package/uview-plus/components/u-drag-sort/_doc/package.json +85 -0
  155. package/uview-plus/components/u-drag-sort/_doc/readme.md +16 -0
  156. package/uview-plus/components/u-drag-sort/u-drag-sort.vue +3 -0
  157. package/uview-plus/components/u-dropdown/u-dropdown.vue +3 -3
  158. package/uview-plus/components/u-dropdown-item/u-dropdown-item.vue +1 -1
  159. package/uview-plus/components/u-empty/u-empty.vue +30 -4
  160. package/uview-plus/components/u-form-item/u-form-item.vue +4 -4
  161. package/uview-plus/components/u-gap/_doc/changelog.md +4 -0
  162. package/uview-plus/components/u-gap/_doc/package.json +86 -0
  163. package/uview-plus/components/u-gap/_doc/readme.md +22 -0
  164. package/uview-plus/components/u-gap/u-gap.vue +1 -1
  165. package/uview-plus/components/u-grid/u-grid.vue +1 -1
  166. package/uview-plus/components/u-grid-item/u-grid-item.vue +1 -1
  167. package/uview-plus/components/u-icon/_doc/changelog.md +10 -0
  168. package/uview-plus/components/u-icon/_doc/package.json +85 -0
  169. package/uview-plus/components/u-icon/_doc/readme.md +10 -0
  170. package/uview-plus/components/u-icon/icon.js +23 -25
  171. package/uview-plus/components/u-icon/icons.js +213 -213
  172. package/uview-plus/components/u-icon/style.css +3 -3
  173. package/uview-plus/components/u-icon/u-icon.vue +1 -1
  174. package/uview-plus/components/u-icon/u-icon2.vue +149 -0
  175. package/uview-plus/components/u-image/u-image.vue +5 -5
  176. package/uview-plus/components/u-image-wu/_doc/changelog.md +21 -0
  177. package/uview-plus/components/u-image-wu/_doc/package.json +88 -0
  178. package/uview-plus/components/u-image-wu/_doc/readme.md +11 -0
  179. package/uview-plus/components/u-image-wu/props.js +94 -0
  180. package/uview-plus/components/u-image-wu/u-image-wu.vue +243 -0
  181. package/uview-plus/components/u-index-anchor/u-index-anchor.vue +1 -1
  182. package/uview-plus/components/u-index-list/u-index-list.vue +2 -2
  183. package/uview-plus/components/u-input/_doc/changelog.md +6 -0
  184. package/uview-plus/components/u-input/_doc/package.json +88 -0
  185. package/uview-plus/components/u-input/_doc/readme.md +16 -0
  186. package/uview-plus/components/u-input/u-input.vue +4 -4
  187. package/uview-plus/components/u-keyboard/u-keyboard.vue +6 -6
  188. package/uview-plus/components/u-lazy-load/u-lazy-load.vue +257 -3
  189. package/uview-plus/components/u-line/_doc/changelog.md +8 -0
  190. package/uview-plus/components/u-line/_doc/package.json +86 -0
  191. package/uview-plus/components/u-line/_doc/readme.md +16 -0
  192. package/uview-plus/components/u-line/u-line.vue +1 -1
  193. package/uview-plus/components/u-line-progress/u-line-progress.vue +1 -1
  194. package/uview-plus/components/u-link/_doc/changelog.md +8 -0
  195. package/uview-plus/components/u-link/_doc/package.json +86 -0
  196. package/uview-plus/components/u-link/_doc/readme.md +20 -0
  197. package/uview-plus/components/u-link/u-link.vue +1 -1
  198. package/uview-plus/components/u-list/u-list.vue +1 -1
  199. package/uview-plus/components/u-list-item/u-list-item.vue +1 -1
  200. package/uview-plus/components/u-loading-icon/_doc/changelog.md +12 -0
  201. package/uview-plus/components/u-loading-icon/_doc/package.json +86 -0
  202. package/uview-plus/components/u-loading-icon/_doc/readme.md +16 -0
  203. package/uview-plus/components/u-loading-icon/props.js +1 -1
  204. package/uview-plus/components/u-loading-icon/u-loading-icon.vue +191 -3
  205. package/uview-plus/components/u-loading-page/u-loading-page.vue +4 -4
  206. package/uview-plus/components/u-loadmore/u-loadmore.vue +4 -4
  207. package/uview-plus/components/u-mask/u-mask.vue +120 -113
  208. package/uview-plus/components/u-message-input/u-message-input.vue +1 -1
  209. package/uview-plus/components/u-modal/u-modal.vue +6 -6
  210. package/uview-plus/components/u-navbar/_doc/changelog.md +6 -0
  211. package/uview-plus/components/u-navbar/_doc/package.json +89 -0
  212. package/uview-plus/components/u-navbar/_doc/readme.md +16 -0
  213. package/uview-plus/components/u-navbar/u-navbar.vue +4 -4
  214. package/uview-plus/components/u-navbar-mini/u-navbar-mini.vue +2 -2
  215. package/uview-plus/components/u-navbar-wu/props.js +102 -0
  216. package/uview-plus/components/u-navbar-wu/u-navbar-wu.vue +196 -0
  217. package/uview-plus/components/u-no-network/u-no-network.vue +5 -5
  218. package/uview-plus/components/u-notice-bar/u-notice-bar.vue +5 -5
  219. package/uview-plus/components/u-notify/u-notify.vue +6 -6
  220. package/uview-plus/components/u-number-box/_doc/changelog.md +19 -0
  221. package/uview-plus/components/u-number-box/_doc/package.json +88 -0
  222. package/uview-plus/components/u-number-box/_doc/readme.md +16 -0
  223. package/uview-plus/components/u-number-box/u-number-box.vue +9 -3
  224. package/uview-plus/components/u-number-keyboard/u-number-keyboard.vue +1 -1
  225. package/uview-plus/components/u-overlay/_doc/changelog.md +4 -0
  226. package/uview-plus/components/u-overlay/_doc/package.json +88 -0
  227. package/uview-plus/components/u-overlay/_doc/readme.md +16 -0
  228. package/uview-plus/components/u-overlay/u-overlay.vue +3 -3
  229. package/uview-plus/components/u-picker/u-picker.vue +5 -5
  230. package/uview-plus/components/u-popup/_doc/changelog.md +4 -0
  231. package/uview-plus/components/u-popup/_doc/package.json +92 -0
  232. package/uview-plus/components/u-popup/_doc/readme.md +16 -0
  233. package/uview-plus/components/u-popup/u-popup.vue +8 -8
  234. package/uview-plus/components/u-popup-wu/keypress.js +45 -0
  235. package/uview-plus/components/u-popup-wu/u-popup-wu.vue +519 -0
  236. package/uview-plus/components/u-radio/_doc/changelog.md +6 -0
  237. package/uview-plus/components/u-radio/_doc/package.json +88 -0
  238. package/uview-plus/components/u-radio/_doc/readme.md +25 -0
  239. package/uview-plus/components/u-radio/u-radio.vue +4 -4
  240. package/uview-plus/components/u-radio-group/u-radio-group.vue +1 -1
  241. package/uview-plus/components/u-rate/u-rate.vue +5 -5
  242. package/uview-plus/components/u-read-more/u-read-more.vue +126 -3
  243. package/uview-plus/components/u-row/_doc/changelog.md +8 -0
  244. package/uview-plus/components/u-row/_doc/package.json +86 -0
  245. package/uview-plus/components/u-row/_doc/readme.md +16 -0
  246. package/uview-plus/components/u-row/u-row.vue +1 -1
  247. package/uview-plus/components/u-row-notice/u-row-notice.vue +3 -3
  248. package/uview-plus/components/u-safe-bottom/_doc/changelog.md +6 -0
  249. package/uview-plus/components/u-safe-bottom/_doc/package.json +86 -0
  250. package/uview-plus/components/u-safe-bottom/_doc/readme.md +16 -0
  251. package/uview-plus/components/u-safe-bottom/u-safe-bottom.vue +48 -3
  252. package/uview-plus/components/u-search/u-search.vue +4 -4
  253. package/uview-plus/components/u-select/u-select.vue +175 -3
  254. package/uview-plus/components/u-skeleton/u-skeleton.vue +3 -3
  255. package/uview-plus/components/u-sku-wu/_doc/changelog.md +27 -0
  256. package/uview-plus/components/u-sku-wu/_doc/package.json +93 -0
  257. package/uview-plus/components/u-sku-wu/_doc/readme.md +16 -0
  258. package/uview-plus/components/u-sku-wu/props.js +86 -0
  259. package/uview-plus/components/u-sku-wu/style.css +271 -0
  260. package/uview-plus/components/u-sku-wu/u-sku-wu.vue +864 -0
  261. package/uview-plus/components/u-status-bar/_doc/changelog.md +4 -0
  262. package/uview-plus/components/u-status-bar/_doc/package.json +86 -0
  263. package/uview-plus/components/u-status-bar/_doc/readme.md +16 -0
  264. package/uview-plus/components/u-status-bar/u-status-bar.vue +1 -1
  265. package/uview-plus/components/u-steps/u-steps.vue +1 -1
  266. package/uview-plus/components/u-steps-item/u-steps-item.vue +7 -7
  267. package/uview-plus/components/u-sticky/u-sticky.vue +1 -1
  268. package/uview-plus/components/u-subsection/u-subsection.vue +1 -1
  269. package/uview-plus/components/u-swipe-action/u-swipe-action.vue +1 -1
  270. package/uview-plus/components/u-swipe-action-item/u-swipe-action-item.vue +3 -3
  271. package/uview-plus/components/u-swiper/u-swiper.vue +1 -1
  272. package/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue +1 -1
  273. package/uview-plus/components/u-switch/u-switch.vue +2 -2
  274. package/uview-plus/components/u-tabbar/u-tabbar.vue +2 -2
  275. package/uview-plus/components/u-tabbar-item/u-tabbar-item.vue +9 -4
  276. package/uview-plus/components/u-table/u-table.vue +1 -1
  277. package/uview-plus/components/u-tabs/u-tabs.vue +3 -3
  278. package/uview-plus/components/u-tag/u-tag.vue +5 -5
  279. package/uview-plus/components/u-text/_doc/changelog.md +10 -0
  280. package/uview-plus/components/u-text/_doc/package.json +89 -0
  281. package/uview-plus/components/u-text/_doc/readme.md +20 -0
  282. package/uview-plus/components/u-text/u-text.vue +159 -3
  283. package/uview-plus/components/u-textarea/_doc/changelog.md +6 -0
  284. package/uview-plus/components/u-textarea/_doc/package.json +86 -0
  285. package/uview-plus/components/u-textarea/_doc/readme.md +25 -0
  286. package/uview-plus/components/u-toast/u-toast.vue +8 -8
  287. package/uview-plus/components/u-tooltip/u-tooltip.vue +6 -6
  288. package/uview-plus/components/u-transition/_doc/changelog.md +14 -0
  289. package/uview-plus/components/u-transition/_doc/package.json +86 -0
  290. package/uview-plus/components/u-transition/_doc/readme.md +16 -0
  291. package/uview-plus/components/u-transition-wu/createAnimation.js +148 -0
  292. package/uview-plus/components/u-transition-wu/props.js +32 -0
  293. package/uview-plus/components/u-transition-wu/u-transition.vue +300 -0
  294. package/uview-plus/components/u-upload/u-upload.vue +10 -10
  295. package/uview-plus/components/u-verification-code/u-verification-code.vue +161 -0
  296. package/uview-plus/components/u-waterfall/u-waterfall.vue +221 -3
  297. package/uview-plus/index.js +109 -94
  298. package/uview-plus/libs/config/config.js +46 -48
  299. package/uview-plus/libs/css/color.scss +32 -311
  300. package/uview-plus/libs/css/components-wu.scss +30 -0
  301. package/uview-plus/libs/css/vue.scss +10 -10
  302. package/uview-plus/libs/ctocode/index.js +120 -0
  303. package/uview-plus/libs/function/calc.js +61 -55
  304. package/uview-plus/libs/function/color/color-convert/CHANGELOG.md +54 -0
  305. package/uview-plus/libs/function/color/color-convert/LICENSE +21 -0
  306. package/uview-plus/libs/function/color/color-convert/README.md +68 -0
  307. package/uview-plus/libs/function/color/color-convert/conversions.js +839 -0
  308. package/uview-plus/libs/function/color/color-convert/index.js +81 -0
  309. package/uview-plus/libs/function/color/color-convert/package.json +48 -0
  310. package/uview-plus/libs/function/color/color-convert/route.js +97 -0
  311. package/uview-plus/libs/function/color/color-name/LICENSE +8 -0
  312. package/uview-plus/libs/function/color/color-name/README.md +11 -0
  313. package/uview-plus/libs/function/color/color-name/index.js +152 -0
  314. package/uview-plus/libs/function/color/color-name/package.json +28 -0
  315. package/uview-plus/libs/function/color/color-string/LICENSE +21 -0
  316. package/uview-plus/libs/function/color/color-string/README.md +62 -0
  317. package/uview-plus/libs/function/color/color-string/index.js +244 -0
  318. package/uview-plus/libs/function/color/color-string/package.json +39 -0
  319. package/uview-plus/libs/function/color/color.js +496 -0
  320. package/uview-plus/libs/function/color/index.js +158 -0
  321. package/uview-plus/libs/function/color/is-arrayish/LICENSE +21 -0
  322. package/uview-plus/libs/function/color/is-arrayish/README.md +16 -0
  323. package/uview-plus/libs/function/color/is-arrayish/index.js +9 -0
  324. package/uview-plus/libs/function/color/is-arrayish/package.json +45 -0
  325. package/uview-plus/libs/function/color/is-arrayish/yarn-error.log +1443 -0
  326. package/uview-plus/libs/function/color/simple-swizzle/LICENSE +21 -0
  327. package/uview-plus/libs/function/color/simple-swizzle/README.md +39 -0
  328. package/uview-plus/libs/function/color/simple-swizzle/index.js +29 -0
  329. package/uview-plus/libs/function/color/simple-swizzle/package.json +36 -0
  330. package/uview-plus/libs/function/colorGradient.js +108 -106
  331. package/uview-plus/libs/function/debounce.js +17 -17
  332. package/uview-plus/libs/function/digit.js +1 -3
  333. package/uview-plus/libs/function/http.js +3 -3
  334. package/uview-plus/libs/function/index-wu.js +198 -0
  335. package/uview-plus/libs/function/index.js +579 -566
  336. package/uview-plus/libs/function/platform.js +18 -18
  337. package/uview-plus/libs/function/test.js +135 -137
  338. package/uview-plus/libs/function/throttle.js +17 -17
  339. package/uview-plus/libs/luch-request/core/Request.js +199 -199
  340. package/uview-plus/libs/mixin/mpMixin.js +1 -0
  341. package/uview-plus/libs/mixin/openType.js +33 -0
  342. package/uview-plus/libs/util/async-validator.js +1343 -1343
  343. package/uview-plus/libs/util/dayjs.js +404 -0
  344. package/uview-plus/libs/util/route.js +101 -105
  345. package/uview-plus/package-wu-tool.json +84 -0
  346. package/uview-plus/package-wu.json +112 -0
  347. package/uview-plus/package.json +106 -95
  348. package/uview-plus/readme-wu.md +148 -0
  349. package/uview-ui/index.js +51 -52
  350. package/plugins/uni-upgrade.js +0 -294
@@ -0,0 +1,85 @@
1
+ {
2
+ "id": "u-drag-sort",
3
+ "displayName": "u-drag-sort 拖拽排序,多方向排序,全端兼容,无论平台,一致体验。",
4
+ "version": "1.0.0",
5
+ "description": "拖拽排序组件,对任意元素进行排序,超高自由度,无视高度,自动计算。",
6
+ "keywords": [
7
+ "u-drag-sort",
8
+ "拖拽排序",
9
+ "超高自由度",
10
+ "wuui",
11
+ "u-ui"
12
+ ],
13
+ "repository": "",
14
+ "engines": {
15
+ "HBuilderX": "^3.1.0"
16
+ },
17
+ "dcloudext": {
18
+ "type": "component-vue",
19
+ "sale": {
20
+ "regular": {
21
+ "price": "0.00"
22
+ },
23
+ "sourcecode": {
24
+ "price": "0.00"
25
+ }
26
+ },
27
+ "contact": {
28
+ "qq": ""
29
+ },
30
+ "declaration": {
31
+ "ads": "",
32
+ "data": "",
33
+ "permissions": ""
34
+ },
35
+ "npmurl": ""
36
+ },
37
+ "uni_modules": {
38
+ "dependencies": [],
39
+ "encrypt": [],
40
+ "platforms": {
41
+ "cloud": {
42
+ "tcb": "u",
43
+ "aliyun": "u"
44
+ },
45
+ "client": {
46
+ "Vue": {
47
+ "vue2": "u",
48
+ "vue3": "u"
49
+ },
50
+ "App": {
51
+ "app-vue": "u",
52
+ "app-nvue": "u"
53
+ },
54
+ "H5-mobile": {
55
+ "Safari": "u",
56
+ "Android Browser": "u",
57
+ "微信浏览器(Android)": "u",
58
+ "QQ浏览器(Android)": "u"
59
+ },
60
+ "H5-pc": {
61
+ "Chrome": "u",
62
+ "IE": "u",
63
+ "Edge": "u",
64
+ "Firefox": "u",
65
+ "Safari": "u"
66
+ },
67
+ "小程序": {
68
+ "微信": "u",
69
+ "阿里": "u",
70
+ "百度": "u",
71
+ "字节跳动": "u",
72
+ "QQ": "u",
73
+ "钉钉": "u",
74
+ "快手": "u",
75
+ "飞书": "u",
76
+ "京东": "u"
77
+ },
78
+ "快应用": {
79
+ "华为": "u",
80
+ "联盟": "u"
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,16 @@
1
+ ## u-drag-sort 拖拽排序
2
+
3
+ > **组件名:u-drag-sort**
4
+
5
+ 拖拽排序组件,可以对任意元素进行拖拽排序。
6
+
7
+ ## [查看文档](https://ijry.github.io/uview-plus/components/dragSort.html)
8
+
9
+ ## [更多组件, 请查看 `u-ui` 组件库](https://ext.dcloud.net.cn/plugin?name=u--ui)
10
+ (请勿下载插件zip)
11
+
12
+ <a href="https://ext.dcloud.net.cn/plugin?name=u--ui">
13
+ <img src="https://wuui.cn/intr.png">
14
+ </a>
15
+
16
+ **如使用过程中有任何问题,或者您对u-ui有一些好的建议。<br>欢迎加入 [u-ui 交流群](https://ijry.github.io/uview-plus/components/qqFeedBack.html)**
@@ -0,0 +1,3 @@
1
+ <template></template>
2
+ <script></script>
3
+ <style></style>
@@ -26,12 +26,12 @@
26
26
  'u-dropdown__menu__item__arrow--rotate': index === current
27
27
  }"
28
28
  >
29
- <u-icon
29
+ <up-icon
30
30
  :custom-style="{ display: 'flex' }"
31
31
  :name="menuIcon"
32
32
  :size="addUnit(menuIconSize)"
33
33
  :color="index === current || highlightIndex == index ? activeColor : '#c0c4cc'"
34
- ></u-icon>
34
+ ></up-icon>
35
35
  </view>
36
36
  </view>
37
37
  </view>
@@ -75,7 +75,7 @@ import { addUnit, getWindowInfo } from '../../libs/function/index';
75
75
  * @property {String | Number} title-size 标题的字体大小,单位任意,数值默认为rpx单位(默认28)
76
76
  * @event {Function} open 下拉菜单被打开时触发
77
77
  * @event {Function} close 下拉菜单被关闭时触发
78
- * @example <u-dropdown></u-dropdown>
78
+ * @example <up-dropdown></up-dropdown>
79
79
  */
80
80
  export default {
81
81
  name: 'u-dropdown',
@@ -44,7 +44,7 @@ import { addUnit, $parent } from '../../libs/function/index';
44
44
  * @property {Boolean} disabled 是否禁用此选项卡(默认false)
45
45
  * @property {String | Number} duration 选项卡展开和收起的过渡时间,单位ms(默认300)
46
46
  * @property {String | Number} height 弹窗下拉内容的高度(内容超出将会滚动)(默认auto)
47
- * @example <u-dropdown-item title="标题"></u-dropdown-item>
47
+ * @example <up-dropdown-item title="标题"></up-dropdown-item>
48
48
  */
49
49
  export default {
50
50
  name: 'u-dropdown-item',
@@ -1,21 +1,22 @@
1
1
  <template>
2
2
  <view class="u-empty" :style="[emptyStyle]" v-if="show">
3
- <u-icon
3
+ <up-icon
4
4
  v-if="!isSrc"
5
5
  :name="mode === 'message' ? 'chat' : `empty-${mode}`"
6
6
  :size="iconSize"
7
7
  :color="iconColor"
8
8
  margin-top="14"
9
- ></u-icon>
9
+ ></up-icon>
10
10
  <image
11
11
  v-else
12
12
  :style="{
13
13
  width: addUnit(width),
14
14
  height: addUnit(height)
15
15
  }"
16
- :src="icon"
16
+ :src="parseIcon"
17
17
  mode="widthFix"
18
18
  ></image>
19
+ <!-- :src2="icon" -->
19
20
  <text class="u-empty__text" :style="[textStyle]">{{ text ? text : icons[mode] }}</text>
20
21
  <view class="u-empty__wrap" v-if="$slots.default || $slots.$default">
21
22
  <slot />
@@ -46,7 +47,7 @@ import { addUnit, addStyle, deepMerge } from '../../libs/function/index';
46
47
  *
47
48
  * @event {Function} click 点击组件时触发
48
49
  * @event {Function} close 点击关闭按钮时触发
49
- * @example <u-empty text="所谓伊人,在水一方" mode="list"></u-empty>
50
+ * @example <up-empty text="所谓伊人,在水一方" mode="list"></up-empty>
50
51
  */
51
52
  export default {
52
53
  name: 'u-empty',
@@ -87,8 +88,33 @@ export default {
87
88
  style.fontSize = addUnit(this.textSize);
88
89
  return style;
89
90
  },
91
+ parseIcon() {
92
+ const ui_url = 'https://10ui.cn/10yun-uni/common/empty/';
93
+ let imageArr = {
94
+ auth: ui_url + 'auth.png',
95
+ car: ui_url + 'car.png',
96
+ cart: ui_url + 'cart.png',
97
+ comment: ui_url + 'comment.png',
98
+ coupon: ui_url + 'coupon.png',
99
+ data: ui_url + 'data.png',
100
+ datasc: ui_url + 'datasc.png',
101
+ history: ui_url + 'history.png',
102
+ list: ui_url + 'list.png',
103
+ news: ui_url + 'news.png',
104
+ order: ui_url + 'order.png',
105
+ page: ui_url + 'page.png',
106
+ permission: ui_url + 'permission.png',
107
+ search: ui_url + 'search.png',
108
+ wifi: ui_url + 'wifi.png'
109
+ };
110
+ if (!this.icon || this.icon == '') {
111
+ return imageArr[this.mode] || imageArr['data'];
112
+ }
113
+ return this.icon;
114
+ },
90
115
  // 判断icon是否图片路径
91
116
  isSrc() {
117
+ return this.parseIcon.indexOf('/') >= 0;
92
118
  return this.icon.indexOf('/') >= 0;
93
119
  }
94
120
  },
@@ -26,7 +26,7 @@
26
26
  <!-- nvue不支持伪元素before -->
27
27
  <text v-if="required" class="u-form-item__body__left__content__required">*</text>
28
28
  <view class="u-form-item__body__left__content__icon" v-if="leftIcon">
29
- <u-icon :name="leftIcon" :custom-style="leftIconStyle"></u-icon>
29
+ <up-icon :name="leftIcon" :custom-style="leftIconStyle"></up-icon>
30
30
  </view>
31
31
  <text
32
32
  class="u-form-item__body__left__content__label"
@@ -65,11 +65,11 @@
65
65
  {{ message }}
66
66
  </text>
67
67
  </slot>
68
- <u-line
68
+ <up-line
69
69
  v-if="borderBottom"
70
70
  :color="message && parentData.errorType === 'border-bottom' ? color.error : propsLine.color"
71
71
  :customStyle="`margin-top: ${message && parentData.errorType === 'message' ? '5px' : 0}`"
72
- ></u-line>
72
+ ></up-line>
73
73
  </view>
74
74
  </template>
75
75
  <script>
@@ -93,7 +93,7 @@ import { addStyle, addUnit, getProperty, setProperty, error } from '../../libs/f
93
93
  * @property {String | Object} leftIconStyle 左侧图标的样式
94
94
  * @property {Boolean} required 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置 (默认 false )
95
95
  *
96
- * @example <u-form-item label="姓名" prop="userInfo.name" borderBottom ref="item1"></u-form-item>
96
+ * @example <up-form-item label="姓名" prop="userInfo.name" borderBottom ref="item1"></up-form-item>
97
97
  */
98
98
  export default {
99
99
  name: 'u-form-item',
@@ -0,0 +1,4 @@
1
+ ## 1.0.1(2024-05-08)
2
+ 更新域名
3
+ ## 1.0.0(2023-09-01)
4
+ 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量
@@ -0,0 +1,86 @@
1
+ {
2
+ "id": "u-gap",
3
+ "displayName": "u-gap 间隔槽,全端兼容,无论平台,一致体验。",
4
+ "version": "1.0.1",
5
+ "description": "该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量",
6
+ "keywords": [
7
+ "u-ui",
8
+ "wuui",
9
+ "u-gap",
10
+ "gap",
11
+ "间隔槽"
12
+ ],
13
+ "repository": "",
14
+ "engines": {
15
+ "HBuilderX": "^3.1.0"
16
+ },
17
+ "dcloudext": {
18
+ "type": "component-vue",
19
+ "sale": {
20
+ "regular": {
21
+ "price": "0.00"
22
+ },
23
+ "sourcecode": {
24
+ "price": "0.00"
25
+ }
26
+ },
27
+ "contact": {
28
+ "qq": ""
29
+ },
30
+ "declaration": {
31
+ "ads": "无",
32
+ "data": "插件不采集任何数据",
33
+ "permissions": "无"
34
+ },
35
+ "npmurl": ""
36
+ },
37
+ "uni_modules": {
38
+ "dependencies": [],
39
+ "encrypt": [],
40
+ "platforms": {
41
+ "cloud": {
42
+ "tcb": "y",
43
+ "aliyun": "y",
44
+ "alipay": "n"
45
+ },
46
+ "client": {
47
+ "Vue": {
48
+ "vue2": "y",
49
+ "vue3": "y"
50
+ },
51
+ "App": {
52
+ "app-vue": "y",
53
+ "app-nvue": "y"
54
+ },
55
+ "H5-mobile": {
56
+ "Safari": "y",
57
+ "Android Browser": "y",
58
+ "微信浏览器(Android)": "y",
59
+ "QQ浏览器(Android)": "y"
60
+ },
61
+ "H5-pc": {
62
+ "Chrome": "y",
63
+ "IE": "y",
64
+ "Edge": "y",
65
+ "Firefox": "y",
66
+ "Safari": "y"
67
+ },
68
+ "小程序": {
69
+ "微信": "y",
70
+ "阿里": "y",
71
+ "百度": "y",
72
+ "字节跳动": "y",
73
+ "QQ": "y",
74
+ "钉钉": "n",
75
+ "快手": "n",
76
+ "飞书": "n",
77
+ "京东": "n"
78
+ },
79
+ "快应用": {
80
+ "华为": "n",
81
+ "联盟": "n"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,22 @@
1
+ ## u-gap 间隔槽
2
+
3
+ > **组件名:u-gap**
4
+
5
+ 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量。
6
+
7
+ ## [查看文档](https://ijry.github.io/uview-plus/components/gap.html)
8
+
9
+ ## [更多组件, 请查看 `u-ui` 组件库](https://ext.dcloud.net.cn/plugin?name=u--ui)
10
+ (请勿下载插件zip)
11
+
12
+ <a href="https://ext.dcloud.net.cn/plugin?name=u--ui">
13
+ <img src="https://wuui.cn/intr.png">
14
+ </a>
15
+
16
+ **如使用过程中有任何问题,或者您对u-ui有一些好的建议。<br>欢迎加入 [u-ui 交流群](https://ijry.github.io/uview-plus/components/qqFeedBack.html)**
17
+
18
+
19
+
20
+
21
+
22
+
@@ -16,7 +16,7 @@ import { addStyle, addUnit, deepMerge } from '../../libs/function/index.js';
16
16
  * @property {String | Number} marginBottom 与后一个组件的距离,单位px (默认 0 )
17
17
  * @property {Object} customStyle 定义需要用到的外部样式
18
18
  *
19
- * @example <u-gap height="80" bg-color="#bbb"></u-gap>
19
+ * @example <up-gap height="80" bg-color="#bbb"></up-gap>
20
20
  */
21
21
  export default {
22
22
  name: 'u-gap',
@@ -17,7 +17,7 @@ import { addStyle, deepMerge } from '../../libs/function/index';
17
17
  * @property {String} align 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右 (默认 'left' )
18
18
  * @property {Object} customStyle 定义需要用到的外部样式
19
19
  * @event {Function} click 点击宫格触发
20
- * @example <u-grid :col="3" @click="click"></u-grid>
20
+ * @example <up-grid :col="3" @click="click"></up-grid>
21
21
  */
22
22
  export default {
23
23
  name: 'u-grid',
@@ -31,7 +31,7 @@ import { addStyle, deepMerge } from '../../libs/function/index';
31
31
  * @property {String} bgColor 宫格的背景颜色 (默认 'transparent' )
32
32
  * @property {Object} customStyle 自定义样式,对象形式
33
33
  * @event {Function} click 点击宫格触发
34
- * @example <u-grid-item></u-grid-item>
34
+ * @example <up-grid-item></up-grid-item>
35
35
  */
36
36
  export default {
37
37
  name: 'u-grid-item',
@@ -0,0 +1,10 @@
1
+ ## 1.0.4(2024-05-08)
2
+ 更新域名
3
+ ## 1.0.3(2023-08-08)
4
+ 修复链接引入错误
5
+ ## 1.0.2(2023-08-07)
6
+ 修复引入错误
7
+ ## 1.0.1(2023-08-07)
8
+ 支持自定义(包括nvue)文字与图片图标
9
+ ## 1.0.0(2023-08-03)
10
+ 基于字体的图标集,包含了大多数常见场景的图标,支持自定义,支持自定义图片图标等。可自定义颜色、大小。
@@ -0,0 +1,85 @@
1
+ {
2
+ "id": "u-icon",
3
+ "displayName": "u-icon 图标 全面兼容小程序、nvue、vue2、vue3等多端",
4
+ "version": "1.0.4",
5
+ "description": "基于字体的图标集,包含了大多数常见场景的图标,支持自定义,支持自定义图片图标等。可自定义颜色、大小。",
6
+ "keywords": [
7
+ "u-ui",
8
+ "图标",
9
+ "u-icon",
10
+ "文字图标"
11
+ ],
12
+ "repository": "",
13
+ "engines": {
14
+ "HBuilderX": "^3.4.15"
15
+ },
16
+ "dcloudext": {
17
+ "type": "component-vue",
18
+ "sale": {
19
+ "regular": {
20
+ "price": "0.00"
21
+ },
22
+ "sourcecode": {
23
+ "price": "0.00"
24
+ }
25
+ },
26
+ "contact": {
27
+ "qq": ""
28
+ },
29
+ "declaration": {
30
+ "ads": "无",
31
+ "data": "插件不采集任何数据",
32
+ "permissions": "无"
33
+ },
34
+ "npmurl": ""
35
+ },
36
+ "uni_modules": {
37
+ "dependencies": [],
38
+ "encrypt": [],
39
+ "platforms": {
40
+ "cloud": {
41
+ "tcb": "y",
42
+ "aliyun": "y",
43
+ "alipay": "n"
44
+ },
45
+ "client": {
46
+ "Vue": {
47
+ "vue2": "y",
48
+ "vue3": "y"
49
+ },
50
+ "App": {
51
+ "app-vue": "y",
52
+ "app-nvue": "y"
53
+ },
54
+ "H5-mobile": {
55
+ "Safari": "y",
56
+ "Android Browser": "y",
57
+ "微信浏览器(Android)": "y",
58
+ "QQ浏览器(Android)": "y"
59
+ },
60
+ "H5-pc": {
61
+ "Chrome": "y",
62
+ "IE": "y",
63
+ "Edge": "y",
64
+ "Firefox": "y",
65
+ "Safari": "y"
66
+ },
67
+ "小程序": {
68
+ "微信": "y",
69
+ "阿里": "y",
70
+ "百度": "y",
71
+ "字节跳动": "y",
72
+ "QQ": "y",
73
+ "钉钉": "u",
74
+ "快手": "u",
75
+ "飞书": "u",
76
+ "京东": "u"
77
+ },
78
+ "快应用": {
79
+ "华为": "u",
80
+ "联盟": "u"
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,10 @@
1
+ ## u-icon 图标库
2
+
3
+ > **组件名:u-icon**
4
+
5
+ 基于字体的图标集,包含了大多数常见场景的图标,支持自定义(包括nvue)文字与图片图标等。
6
+
7
+ ## <a href="https://ijry.github.io/uview-plus/components/icon" target="_blank">查看文档</a>
8
+
9
+ ## [更多插件,请关注u-ui组件库](https://ext.dcloud.net.cn/plugin?name=wuui) <small>(请不要 下载插件ZIP)</small>
10
+ **如使用过程中有任何问题,或者您对u-ui有一些好的建议。<br>欢迎加入 [u-ui 交流群](https://ijry.github.io/uview-plus/components/qqFeedBack.html)**
@@ -7,30 +7,28 @@
7
7
  * @lastTime : 2021-08-20 18:00:14
8
8
  * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
9
9
  */
10
- import config from '../../libs/config/config'
10
+ import config from '../../libs/config/config';
11
11
 
12
- const {
13
- color
14
- } = config
12
+ const { color } = config;
15
13
  export default {
16
- // icon组件
17
- icon: {
18
- name: '',
19
- color: color['u-content-color'],
20
- size: '16px',
21
- bold: false,
22
- index: '',
23
- hoverClass: '',
24
- customPrefix: 'uicon',
25
- label: '',
26
- labelPos: 'right',
27
- labelSize: '15px',
28
- labelColor: color['u-content-color'],
29
- space: '3px',
30
- imgMode: '',
31
- width: '',
32
- height: '',
33
- top: 0,
34
- stop: false
35
- }
36
- }
14
+ // icon组件
15
+ icon: {
16
+ name: '',
17
+ color: color['u-content-color'],
18
+ size: '16px',
19
+ bold: false,
20
+ index: '',
21
+ hoverClass: '',
22
+ customPrefix: 'uicon',
23
+ label: '',
24
+ labelPos: 'right',
25
+ labelSize: '15px',
26
+ labelColor: color['u-content-color'],
27
+ space: '3px',
28
+ imgMode: '',
29
+ width: '',
30
+ height: '',
31
+ top: 0,
32
+ stop: false
33
+ }
34
+ };