@10yun/cv-mobile-ui 0.5.56 → 0.5.58

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 (368) hide show
  1. package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +605 -605
  2. package/{ui-sdks → other}/qiun-data-charts/package.json +2 -1
  3. package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +20 -0
  4. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +542 -0
  5. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +246 -0
  6. package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +51 -0
  7. package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +48 -0
  8. package/other/qiun-data-charts_2.5.0-20230101_example/main.js +13 -0
  9. package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +75 -0
  10. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +448 -0
  11. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +1 -0
  12. package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +142 -0
  13. package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +228 -0
  14. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +113 -0
  15. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +110 -0
  16. package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +58 -0
  17. package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +174 -0
  18. package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +233 -0
  19. package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +115 -0
  20. package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +339 -0
  21. package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +117 -0
  22. package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +212 -0
  23. package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +79 -0
  24. package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
  25. package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +76 -0
  26. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +455 -0
  27. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +76 -0
  28. package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate0.vue +2 -1
  29. package/other/{u-parse-2019 → u-parse}/libs/html2json.js +2 -2
  30. package/other/{uParse → u-parse}/libs/wxDiscode.js +1 -1
  31. package/other/u-parse/readme.md +102 -0
  32. package/other/{u-parse-2019 → u-parse}/u-parse.vue +1 -6
  33. package/other/u-parse2026/libs/html2json.js +2 -2
  34. package/other/u-parse2026/libs/wxDiscode.js +1 -1
  35. package/other/u-parse2026/u-parse.css +1 -0
  36. package/other/u-parse2026/u-parse.vue +1 -3
  37. package/other/uParse2/components/wxParseAudio.vue +1 -0
  38. package/other/{uParse → uParse2}/components/wxParseImg.vue +4 -4
  39. package/other/{uParse → uParse2}/components/wxParseTable.vue +15 -6
  40. package/other/{uParse → uParse2}/components/wxParseTemplate0.vue +7 -6
  41. package/other/{uParse → uParse2}/components/wxParseTemplate1.vue +10 -0
  42. package/other/{uParse → uParse2}/libs/html2json.js +2 -2
  43. package/other/{u-parse-2019 → uParse2}/libs/wxDiscode.js +1 -1
  44. package/other/{uParse/wxParse.css → uParse2/u-parse.css} +4 -4
  45. package/other/{uParse/wxParse.vue → uParse2/u-parse.vue} +18 -11
  46. package/other/uParse2/u-parse2.css +264 -0
  47. package/package.json +1 -1
  48. package/ui-cv/components/cv-dialog-bottom/cv-dialog-bottom.vue +35 -58
  49. package/ui-cv/components/cv-dialog-full/cv-dialog-full.vue +55 -62
  50. package/ui-cv/components/cv-dialog-share/cv-dialog-share.vue +7 -7
  51. package/ui-cv/components/cv-dialog-share/share.vue +1 -10
  52. package/ui-cv/components/cv-dialog-share/tui-share.vue +2 -2
  53. package/ui-cv/components/cv-filter-hm/cv-filter-hm.vue +8 -6
  54. package/ui-cv/components/cv-geo-local/cv-geo-local.vue +1 -1
  55. package/ui-cv/components/cv-icons/cv-icons.vue +29 -62
  56. package/ui-cv/components/cv-icons/iconfont/font-default-icons.js +127 -131
  57. package/ui-cv/components/cv-input-password/cv-input-password.vue +1 -1
  58. package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +1 -1
  59. package/ui-cv/components/cv-mask-svg/mixins.js +16 -12
  60. package/ui-cv/components/cv-upload-image/cv-upload-image.vue +4 -4
  61. package/ui-cv/components/cv-upload-image/demo.vue +1 -1
  62. package/ui-fireui/components/u-share-model/u-share-model.vue +1 -1
  63. package/ui-fireui/components/u-uploadsamll/u-uploadsamll.vue +1 -1
  64. package/uview-plus/components/u-button/props-old.js +159 -0
  65. package/uview-plus/components/u-button/props.js +7 -0
  66. package/uview-plus/components/u-button/u-button-old.vue +476 -0
  67. package/uview-plus/components/u-button/u-button-wu.vue +13 -10
  68. package/uview-plus/components/u-button/u-button.vue +47 -14
  69. package/uview-plus/components/u-form/form.js +13 -12
  70. package/uview-plus/components/u-parse/README.md +192 -0
  71. package/uview-plus/components/u-parse/changelog.md +163 -0
  72. package/uview-plus/components/u-parse/node/node.vue +37 -3
  73. package/{uni-ui/lib/uni-breadcrumb → uview-plus/components/u-parse}/package.json +24 -29
  74. package/uview-plus/components/u-parse/parser.js +8 -3
  75. package/uview-plus/components/u-parse/static/app-plus/up-parse/js/handler.js +1 -0
  76. package/uview-plus/components/u-parse/static/app-plus/up-parse/local-2.5.2.html +29 -0
  77. package/uview-plus/components/u-parse/u-parse.vue +29 -1
  78. package/uview-plus/components/u-upload/file.js +186 -0
  79. package/uview-plus/components/u-upload/props-old.js +176 -0
  80. package/uview-plus/components/u-upload/props.js +12 -0
  81. package/uview-plus/components/u-upload/u-upload.vue +100 -15
  82. package/uview-plus/components/u-upload/u-upload2.vue +854 -0
  83. package/uview-plus/libs/mixin/openType.js +35 -0
  84. package/other/lime-painter2/README2.md +0 -576
  85. package/other/lime-painter2/changelog.md +0 -225
  86. package/other/lime-painter2/package.json +0 -93
  87. package/other/lime-painter2/readme.md +0 -758
  88. package/other/lime-painter2/test.md +0 -45
  89. package/other/qiun-data-charts/qiun-data-charts.vue +0 -1618
  90. package/other/u-parse-2019/readme.md +0 -99
  91. package/other/uParse/components/style.css +0 -1
  92. package/other/uParse/components/wxParseAudio.vue +0 -1
  93. package/other/xt-parse/changelog.md +0 -41
  94. package/other/xt-parse/node/node.vue +0 -752
  95. package/other/xt-parse/package.json +0 -129
  96. package/other/xt-parse/parser.js +0 -1461
  97. package/other/xt-parse/props.js +0 -49
  98. package/other/xt-parse/readme.md +0 -145
  99. package/other/xt-parse/static/app-plus/u-parse/js/handler.js +0 -1
  100. package/other/xt-parse/u-parse.vue +0 -510
  101. package/plugins/luch-request/adapters/index.js +0 -131
  102. package/plugins/luch-request/core/InterceptorManager.js +0 -50
  103. package/plugins/luch-request/core/Request.js +0 -199
  104. package/plugins/luch-request/core/buildFullPath.js +0 -20
  105. package/plugins/luch-request/core/defaults.js +0 -32
  106. package/plugins/luch-request/core/dispatchRequest.js +0 -5
  107. package/plugins/luch-request/core/mergeConfig.js +0 -125
  108. package/plugins/luch-request/core/settle.js +0 -16
  109. package/plugins/luch-request/helpers/buildURL.js +0 -71
  110. package/plugins/luch-request/helpers/combineURLs.js +0 -12
  111. package/plugins/luch-request/helpers/isAbsoluteURL.js +0 -14
  112. package/plugins/luch-request/index.d.ts +0 -197
  113. package/plugins/luch-request/index.js +0 -2
  114. package/plugins/luch-request/readme.md +0 -3
  115. package/plugins/luch-request/utils/clone.js +0 -260
  116. package/plugins/luch-request/utils.js +0 -131
  117. package/ui-cv/components/cv-cell-row/cv-cell-row.vue +0 -220
  118. package/ui-cv/components/cv-dialog-share/uni-popup-share.vue +0 -139
  119. package/ui-cv/components/cv-icons/iconfont/font-action-icons.js +0 -73
  120. package/ui-cv/components/cv-icons/iconfont/font-action.css +0 -7
  121. package/ui-cv/components/cv-icons/iconfont/font-action.js +0 -5
  122. package/ui-cv/components/cv-icons/iconfont/font-arrow-icons.js +0 -47
  123. package/ui-cv/components/cv-icons/iconfont/font-arrow.css +0 -6
  124. package/ui-cv/components/cv-icons/iconfont/font-arrow.js +0 -5
  125. package/ui-cv/components/cv-icons/iconfont/font-base-icons.js +0 -92
  126. package/ui-cv/components/cv-icons/iconfont/font-base.css +0 -6
  127. package/ui-cv/components/cv-icons/iconfont/font-base.js +0 -5
  128. package/ui-cv/components/cv-icons/iconfont/font-mall-icons.js +0 -35
  129. package/ui-cv/components/cv-icons/iconfont/font-mall.css +0 -7
  130. package/ui-cv/components/cv-icons/iconfont/font-mall.js +0 -5
  131. package/ui-cv/components/cv-icons/iconfont/font-media-icons.js +0 -45
  132. package/ui-cv/components/cv-icons/iconfont/font-media.css +0 -7
  133. package/ui-cv/components/cv-icons/iconfont/font-media.js +0 -5
  134. package/ui-cv/components/cv-icons/iconfont/font-order-icons.js +0 -34
  135. package/ui-cv/components/cv-icons/iconfont/font-order.css +0 -6
  136. package/ui-cv/components/cv-icons/iconfont/font-order.js +0 -5
  137. package/ui-cv/components/cv-icons/iconfont/font-people-icons.js +0 -49
  138. package/ui-cv/components/cv-icons/iconfont/font-people.css +0 -7
  139. package/ui-cv/components/cv-icons/iconfont/font-people.js +0 -5
  140. package/ui-cv/components/cv-icons/iconfont/font-status-icons.js +0 -34
  141. package/ui-cv/components/cv-icons/iconfont/font-status.css +0 -6
  142. package/ui-cv/components/cv-icons/iconfont/font-status.js +0 -5
  143. package/ui-cv/components/cv-icons/iconfont/font-wallet-icons.js +0 -17
  144. package/ui-cv/components/cv-icons/iconfont/font-wallet.css +0 -6
  145. package/ui-cv/components/cv-icons/iconfont/font-wallet.js +0 -5
  146. package/ui-cv/components/cv-icons/icons/default-icons.js +0 -132
  147. package/ui-cv/components/cv-icons/icons/icons-action.js +0 -72
  148. package/ui-cv/components/cv-icons/icons/icons-arrow.js +0 -46
  149. package/ui-cv/components/cv-icons/icons/icons-base.js +0 -89
  150. package/ui-cv/components/cv-icons/icons/icons-mall.js +0 -34
  151. package/ui-cv/components/cv-icons/icons/icons-media.js +0 -44
  152. package/ui-cv/components/cv-icons/icons/icons-order.js +0 -33
  153. package/ui-cv/components/cv-icons/icons/icons-people.js +0 -46
  154. package/ui-cv/components/cv-icons/icons/icons-status.js +0 -32
  155. package/ui-cv/components/cv-icons/icons/icons-wallet.js +0 -15
  156. package/ui-sdks/sdk-app-update/img/logo.png +0 -0
  157. package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
  158. package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
  159. package/ui-sdks/sdk-app-update/sdk-app-update.vue +0 -396
  160. package/ui-sdks/sdk-app-update/xxxx +0 -62
  161. package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +0 -113
  162. package/ui-sdks/sdk-u-charts/config-echarts.js +0 -420
  163. package/ui-sdks/sdk-u-charts/config-ucharts.js +0 -630
  164. package/ui-sdks/sdk-u-charts/u-charts.js +0 -7398
  165. package/ui-sdks/sdk-u-charts/u-charts.min.js +0 -1
  166. package/ui-sdks/sdk-webview-main/WebViewMain.vue +0 -1
  167. package/ui-sdks/sdk-webview-main/main.js +0 -0
  168. package/ui-sdks/sdk-webview-main/mixin.js +0 -0
  169. package/uni-ui/lib/uni-badge/changelog.md +0 -33
  170. package/uni-ui/lib/uni-badge/package.json +0 -107
  171. package/uni-ui/lib/uni-badge/readme.md +0 -8
  172. package/uni-ui/lib/uni-breadcrumb/changelog.md +0 -6
  173. package/uni-ui/lib/uni-breadcrumb/readme.md +0 -66
  174. package/uni-ui/lib/uni-calendar/changelog.md +0 -30
  175. package/uni-ui/lib/uni-calendar/package.json +0 -105
  176. package/uni-ui/lib/uni-calendar/readme.md +0 -103
  177. package/uni-ui/lib/uni-card/changelog.md +0 -26
  178. package/uni-ui/lib/uni-card/package.json +0 -107
  179. package/uni-ui/lib/uni-card/readme.md +0 -10
  180. package/uni-ui/lib/uni-collapse/changelog.md +0 -48
  181. package/uni-ui/lib/uni-collapse/package.json +0 -106
  182. package/uni-ui/lib/uni-collapse/readme.md +0 -11
  183. package/uni-ui/lib/uni-combox/changelog.md +0 -17
  184. package/uni-ui/lib/uni-combox/package.json +0 -107
  185. package/uni-ui/lib/uni-combox/readme.md +0 -10
  186. package/uni-ui/lib/uni-countdown/changelog.md +0 -30
  187. package/uni-ui/lib/uni-countdown/package.json +0 -105
  188. package/uni-ui/lib/uni-countdown/readme.md +0 -9
  189. package/uni-ui/lib/uni-data-checkbox/changelog.md +0 -51
  190. package/uni-ui/lib/uni-data-checkbox/package.json +0 -107
  191. package/uni-ui/lib/uni-data-checkbox/readme.md +0 -17
  192. package/uni-ui/lib/uni-data-picker/changelog.md +0 -81
  193. package/uni-ui/lib/uni-data-picker/package.json +0 -109
  194. package/uni-ui/lib/uni-data-picker/readme.md +0 -21
  195. package/uni-ui/lib/uni-data-select/changelog.md +0 -51
  196. package/uni-ui/lib/uni-data-select/package.json +0 -106
  197. package/uni-ui/lib/uni-data-select/readme.md +0 -7
  198. package/uni-ui/lib/uni-dateformat/changelog.md +0 -10
  199. package/uni-ui/lib/uni-dateformat/package.json +0 -107
  200. package/uni-ui/lib/uni-dateformat/readme.md +0 -10
  201. package/uni-ui/lib/uni-datetime-picker/changelog.md +0 -177
  202. package/uni-ui/lib/uni-datetime-picker/package.json +0 -107
  203. package/uni-ui/lib/uni-datetime-picker/readme.md +0 -20
  204. package/uni-ui/lib/uni-drawer/changelog.md +0 -13
  205. package/uni-ui/lib/uni-drawer/package.json +0 -106
  206. package/uni-ui/lib/uni-drawer/readme.md +0 -9
  207. package/uni-ui/lib/uni-easyinput/changelog.md +0 -121
  208. package/uni-ui/lib/uni-easyinput/package.json +0 -107
  209. package/uni-ui/lib/uni-easyinput/readme.md +0 -10
  210. package/uni-ui/lib/uni-fab/changelog.md +0 -25
  211. package/uni-ui/lib/uni-fab/package.json +0 -107
  212. package/uni-ui/lib/uni-fab/readme.md +0 -8
  213. package/uni-ui/lib/uni-fav/changelog.md +0 -19
  214. package/uni-ui/lib/uni-fav/package.json +0 -106
  215. package/uni-ui/lib/uni-fav/readme.md +0 -9
  216. package/uni-ui/lib/uni-file-picker/changelog.md +0 -91
  217. package/uni-ui/lib/uni-file-picker/package.json +0 -105
  218. package/uni-ui/lib/uni-file-picker/readme.md +0 -10
  219. package/uni-ui/lib/uni-forms/changelog.md +0 -100
  220. package/uni-ui/lib/uni-forms/package.json +0 -107
  221. package/uni-ui/lib/uni-forms/readme.md +0 -22
  222. package/uni-ui/lib/uni-goods-nav/changelog.md +0 -18
  223. package/uni-ui/lib/uni-goods-nav/package.json +0 -105
  224. package/uni-ui/lib/uni-goods-nav/readme.md +0 -9
  225. package/uni-ui/lib/uni-grid/changelog.md +0 -13
  226. package/uni-ui/lib/uni-grid/package.json +0 -106
  227. package/uni-ui/lib/uni-grid/readme.md +0 -10
  228. package/uni-ui/lib/uni-group/changelog.md +0 -16
  229. package/uni-ui/lib/uni-group/package.json +0 -106
  230. package/uni-ui/lib/uni-group/readme.md +0 -8
  231. package/uni-ui/lib/uni-icons/changelog.md +0 -44
  232. package/uni-ui/lib/uni-icons/package.json +0 -111
  233. package/uni-ui/lib/uni-icons/readme.md +0 -7
  234. package/uni-ui/lib/uni-indexed-list/changelog.md +0 -19
  235. package/uni-ui/lib/uni-indexed-list/package.json +0 -107
  236. package/uni-ui/lib/uni-indexed-list/readme.md +0 -10
  237. package/uni-ui/lib/uni-link/changelog.md +0 -17
  238. package/uni-ui/lib/uni-link/package.json +0 -106
  239. package/uni-ui/lib/uni-link/readme.md +0 -10
  240. package/uni-ui/lib/uni-list/changelog.md +0 -52
  241. package/uni-ui/lib/uni-list/package.json +0 -108
  242. package/uni-ui/lib/uni-list/readme.md +0 -44
  243. package/uni-ui/lib/uni-load-more/changelog.md +0 -27
  244. package/uni-ui/lib/uni-load-more/package.json +0 -105
  245. package/uni-ui/lib/uni-load-more/readme.md +0 -12
  246. package/uni-ui/lib/uni-nav-bar/changelog.md +0 -64
  247. package/uni-ui/lib/uni-nav-bar/package.json +0 -106
  248. package/uni-ui/lib/uni-nav-bar/readme.md +0 -13
  249. package/uni-ui/lib/uni-notice-bar/changelog.md +0 -22
  250. package/uni-ui/lib/uni-notice-bar/package.json +0 -107
  251. package/uni-ui/lib/uni-notice-bar/readme.md +0 -11
  252. package/uni-ui/lib/uni-number-box/changelog.md +0 -39
  253. package/uni-ui/lib/uni-number-box/package.json +0 -104
  254. package/uni-ui/lib/uni-number-box/readme.md +0 -11
  255. package/uni-ui/lib/uni-pagination/changelog.md +0 -27
  256. package/uni-ui/lib/uni-pagination/package.json +0 -106
  257. package/uni-ui/lib/uni-pagination/readme.md +0 -10
  258. package/uni-ui/lib/uni-popup/changelog.md +0 -102
  259. package/uni-ui/lib/uni-popup/package.json +0 -107
  260. package/uni-ui/lib/uni-popup/readme.md +0 -15
  261. package/uni-ui/lib/uni-rate/changelog.md +0 -27
  262. package/uni-ui/lib/uni-rate/package.json +0 -106
  263. package/uni-ui/lib/uni-rate/readme.md +0 -11
  264. package/uni-ui/lib/uni-row/changelog.md +0 -10
  265. package/uni-ui/lib/uni-row/package.json +0 -106
  266. package/uni-ui/lib/uni-row/readme.md +0 -9
  267. package/uni-ui/lib/uni-scss/changelog.md +0 -8
  268. package/uni-ui/lib/uni-scss/package.json +0 -99
  269. package/uni-ui/lib/uni-scss/readme.md +0 -3
  270. package/uni-ui/lib/uni-search-bar/changelog.md +0 -47
  271. package/uni-ui/lib/uni-search-bar/package.json +0 -106
  272. package/uni-ui/lib/uni-search-bar/readme.md +0 -12
  273. package/uni-ui/lib/uni-section/changelog.md +0 -2
  274. package/uni-ui/lib/uni-section/package.json +0 -104
  275. package/uni-ui/lib/uni-section/readme.md +0 -7
  276. package/uni-ui/lib/uni-segmented-control/changelog.md +0 -15
  277. package/uni-ui/lib/uni-segmented-control/package.json +0 -106
  278. package/uni-ui/lib/uni-segmented-control/readme.md +0 -11
  279. package/uni-ui/lib/uni-steps/changelog.md +0 -18
  280. package/uni-ui/lib/uni-steps/package.json +0 -106
  281. package/uni-ui/lib/uni-steps/readme.md +0 -11
  282. package/uni-ui/lib/uni-swipe-action/changelog.md +0 -60
  283. package/uni-ui/lib/uni-swipe-action/package.json +0 -113
  284. package/uni-ui/lib/uni-swipe-action/readme.md +0 -10
  285. package/uni-ui/lib/uni-swiper-dot/changelog.md +0 -12
  286. package/uni-ui/lib/uni-swiper-dot/package.json +0 -106
  287. package/uni-ui/lib/uni-swiper-dot/readme.md +0 -10
  288. package/uni-ui/lib/uni-table/changelog.md +0 -35
  289. package/uni-ui/lib/uni-table/package.json +0 -106
  290. package/uni-ui/lib/uni-table/readme.md +0 -11
  291. package/uni-ui/lib/uni-tag/changelog.md +0 -25
  292. package/uni-ui/lib/uni-tag/package.json +0 -106
  293. package/uni-ui/lib/uni-tag/readme.md +0 -11
  294. package/uni-ui/lib/uni-title/changelog.md +0 -10
  295. package/uni-ui/lib/uni-title/package.json +0 -107
  296. package/uni-ui/lib/uni-title/readme.md +0 -12
  297. package/uni-ui/lib/uni-tooltip/changelog.md +0 -16
  298. package/uni-ui/lib/uni-tooltip/package.json +0 -104
  299. package/uni-ui/lib/uni-tooltip/readme.md +0 -7
  300. package/uni-ui/lib/uni-transition/changelog.md +0 -31
  301. package/uni-ui/lib/uni-transition/package.json +0 -112
  302. package/uni-ui/lib/uni-transition/readme.md +0 -10
  303. package/uni-ui/lib/uni-ui/changelog.md +0 -639
  304. package/uni-ui/lib/uni-ui/package.json +0 -148
  305. package/uni-ui/lib/uni-ui/readme.md +0 -247
  306. package/uview-plus/libs/mixin/openType2.js +0 -60
  307. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/canvas.js +0 -0
  308. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw.js +0 -0
  309. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw2.js +0 -0
  310. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/gradient.js +0 -0
  311. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index.vue +0 -0
  312. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index2.vue +0 -0
  313. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/layout.js +0 -0
  314. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/qrcode.js +0 -0
  315. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/utils.js +0 -0
  316. /package/{ui-sdks → other}/qiun-data-charts/changelog.md +0 -0
  317. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -0
  318. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -0
  319. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading1.vue +0 -0
  320. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading2.vue +0 -0
  321. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading3.vue +0 -0
  322. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading4.vue +0 -0
  323. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading5.vue +0 -0
  324. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -0
  325. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-echarts.js +0 -0
  326. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/readme.md +0 -0
  327. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.js +0 -0
  328. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +0 -0
  329. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/app-echarts.min.js +0 -0
  330. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/h5-echarts.min.js +0 -0
  331. /package/{ui-sdks → other}/qiun-data-charts/license.md +0 -0
  332. /package/{ui-sdks → other}/qiun-data-charts/readme.md +0 -0
  333. /package/{ui-sdks → other}/qiun-data-charts/static/app-plus/echarts.min.js +0 -0
  334. /package/{ui-sdks → other}/qiun-data-charts/static/h5/echarts.min.js +0 -0
  335. /package/{ui-sdks → other}/tui-clipboard/tui-clipboard.js +0 -0
  336. /package/other/{u-parse-2019 → u-parse}/components/wxParseAudio.vue +0 -0
  337. /package/other/{u-parse-2019 → u-parse}/components/wxParseImg.vue +0 -0
  338. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate1.vue +0 -0
  339. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate10.vue +0 -0
  340. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate11.vue +0 -0
  341. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate2.vue +0 -0
  342. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate3.vue +0 -0
  343. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate4.vue +0 -0
  344. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate5.vue +0 -0
  345. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate6.vue +0 -0
  346. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate7.vue +0 -0
  347. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate8.vue +0 -0
  348. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate9.vue +0 -0
  349. /package/other/{u-parse-2019 → u-parse}/components/wxParseVideo.vue +0 -0
  350. /package/other/{u-parse-2019 → u-parse}/libs/htmlparser.js +0 -0
  351. /package/other/{u-parse-2019 → u-parse}/u-parse.css +0 -0
  352. /package/other/{uParse → uParse2}/components/wxParseTemplate10.vue +0 -0
  353. /package/other/{uParse → uParse2}/components/wxParseTemplate11.vue +0 -0
  354. /package/other/{uParse → uParse2}/components/wxParseTemplate2.vue +0 -0
  355. /package/other/{uParse → uParse2}/components/wxParseTemplate3.vue +0 -0
  356. /package/other/{uParse → uParse2}/components/wxParseTemplate4.vue +0 -0
  357. /package/other/{uParse → uParse2}/components/wxParseTemplate5.vue +0 -0
  358. /package/other/{uParse → uParse2}/components/wxParseTemplate6.vue +0 -0
  359. /package/other/{uParse → uParse2}/components/wxParseTemplate7.vue +0 -0
  360. /package/other/{uParse → uParse2}/components/wxParseTemplate8.vue +0 -0
  361. /package/other/{uParse → uParse2}/components/wxParseTemplate9.vue +0 -0
  362. /package/other/{uParse → uParse2}/components/wxParseVideo.vue +0 -0
  363. /package/other/{uParse → uParse2}/editor.css +0 -0
  364. /package/other/{uParse → uParse2}/libs/htmlparser.js +0 -0
  365. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/handler2.js +0 -0
  366. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min.js +0 -0
  367. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min2.js +0 -0
  368. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/local.html +0 -0
@@ -1,606 +1,606 @@
1
- /*
2
- * uCharts®
3
- * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台
4
- * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved.
5
- * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
6
- * 复制使用请保留本段注释,感谢支持开源!
7
- *
8
- * uCharts®官方网站
9
- * https://www.uCharts.cn
10
- *
11
- * 开源地址:
12
- * https://gitee.com/uCharts/uCharts
13
- *
14
- * uni-app插件市场地址:
15
- * http://ext.dcloud.net.cn/plugin?id=271
16
- *
17
- */
18
-
19
- // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性
20
- const color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'];
21
-
22
- //事件转换函数,主要用作格式化x轴为时间轴,根据需求自行修改
23
- const formatDateTime = (timeStamp, returnType)=>{
24
- var date = new Date();
25
- date.setTime(timeStamp * 1000);
26
- var y = date.getFullYear();
27
- var m = date.getMonth() + 1;
28
- m = m < 10 ? ('0' + m) : m;
29
- var d = date.getDate();
30
- d = d < 10 ? ('0' + d) : d;
31
- var h = date.getHours();
32
- h = h < 10 ? ('0' + h) : h;
33
- var minute = date.getMinutes();
34
- var second = date.getSeconds();
35
- minute = minute < 10 ? ('0' + minute) : minute;
36
- second = second < 10 ? ('0' + second) : second;
37
- if(returnType == 'full'){return y + '-' + m + '-' + d + ' '+ h +':' + minute + ':' + second;}
38
- if(returnType == 'y-m-d'){return y + '-' + m + '-' + d;}
39
- if(returnType == 'h:m'){return h +':' + minute;}
40
- if(returnType == 'h:m:s'){return h +':' + minute +':' + second;}
41
- return [y, m, d, h, minute, second];
42
- }
43
-
44
- const cfu = {
45
- //demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可
46
- "type":["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],
47
- "range":["饼状图","圆环图","玫瑰图","词云图","漏斗图","地图","圆弧进度条","折线图","柱状图","山峰图","条状图","区域图","雷达图","仪表盘","K线图","混合图","时间轴折线","时间轴区域","散点图","气泡图","自定义类型"],
48
- //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype"
49
- //自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories
50
- "categories":["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],
51
- //instance为实例变量承载属性,不要删除
52
- "instance":{},
53
- //option为opts及eopts承载属性,不要删除
54
- "option":{},
55
- //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
56
- "formatter":{
57
- "yAxisDemo1":function(val, index, opts){return val+'元'},
58
- "yAxisDemo2":function(val, index, opts){return val.toFixed(2)},
59
- "xAxisDemo1":function(val, index, opts){return val+'年';},
60
- "xAxisDemo2":function(val, index, opts){return formatDateTime(val,'h:m')},
61
- "seriesDemo1":function(val, index, series, opts){return val+'元'},
62
- "tooltipDemo1":function(item, category, index, opts){
63
- if(index==0){
64
- return '随便用'+item.data+'年'
65
- }else{
66
- return '其他我没改'+item.data+'天'
67
- }
68
- },
69
- "pieDemo":function(val, index, series, opts){
70
- if(index !== undefined){
71
- return series[index].name+':'+series[index].data+'元'
72
- }
73
- },
74
- },
75
- //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。
76
- "demotype":{
77
- //我这里把曲线图当做了自定义图表类型,您可以根据需要随意指定类型或配置
78
- "type": "line",
79
- "color": color,
80
- "padding": [15,10,0,15],
81
- "xAxis": {
82
- "disableGrid": true,
83
- },
84
- "yAxis": {
85
- "gridType": "dash",
86
- "dashLength": 2,
87
- },
88
- "legend": {
89
- },
90
- "extra": {
91
- "line": {
92
- "type": "curve",
93
- "width": 2
94
- },
95
- }
96
- },
97
- //下面是自定义配置,请添加项目所需的通用配置
98
- "pie":{
99
- "type": "pie",
100
- "color": color,
101
- "padding": [5,5,5,5],
102
- "extra": {
103
- "pie": {
104
- "activeOpacity": 0.5,
105
- "activeRadius": 10,
106
- "offsetAngle": 0,
107
- "labelWidth": 15,
108
- "border": true,
109
- "borderWidth": 3,
110
- "borderColor": "#FFFFFF"
111
- },
112
- }
113
- },
114
- "ring":{
115
- "type": "ring",
116
- "color": color,
117
- "padding": [5,5,5,5],
118
- "rotate": false,
119
- "dataLabel": true,
120
- "legend": {
121
- "show": true,
122
- "position": "right",
123
- "lineHeight": 25,
124
- },
125
- "title": {
126
- "name": "收益率",
127
- "fontSize": 15,
128
- "color": "#666666"
129
- },
130
- "subtitle": {
131
- "name": "70%",
132
- "fontSize": 25,
133
- "color": "#7cb5ec"
134
- },
135
- "extra": {
136
- "ring": {
137
- "ringWidth":30,
138
- "activeOpacity": 0.5,
139
- "activeRadius": 10,
140
- "offsetAngle": 0,
141
- "labelWidth": 15,
142
- "border": true,
143
- "borderWidth": 3,
144
- "borderColor": "#FFFFFF"
145
- },
146
- },
147
- },
148
- "rose":{
149
- "type": "rose",
150
- "color": color,
151
- "padding": [5,5,5,5],
152
- "legend": {
153
- "show": true,
154
- "position": "left",
155
- "lineHeight": 25,
156
- },
157
- "extra": {
158
- "rose": {
159
- "type": "area",
160
- "minRadius": 50,
161
- "activeOpacity": 0.5,
162
- "activeRadius": 10,
163
- "offsetAngle": 0,
164
- "labelWidth": 15,
165
- "border": false,
166
- "borderWidth": 2,
167
- "borderColor": "#FFFFFF"
168
- },
169
- }
170
- },
171
- "word":{
172
- "type": "word",
173
- "color": color,
174
- "extra": {
175
- "word": {
176
- "type": "normal",
177
- "autoColors": false
178
- }
179
- }
180
- },
181
- "funnel":{
182
- "type": "funnel",
183
- "color": color,
184
- "padding": [15,15,0,15],
185
- "extra": {
186
- "funnel": {
187
- "activeOpacity": 0.3,
188
- "activeWidth": 10,
189
- "border": true,
190
- "borderWidth": 2,
191
- "borderColor": "#FFFFFF",
192
- "fillOpacity": 1,
193
- "labelAlign": "right"
194
- },
195
- }
196
- },
197
- "map":{
198
- "type": "map",
199
- "color": color,
200
- "padding": [0,0,0,0],
201
- "dataLabel": true,
202
- "extra": {
203
- "map": {
204
- "border": true,
205
- "borderWidth": 1,
206
- "borderColor": "#666666",
207
- "fillOpacity": 0.6,
208
- "activeBorderColor": "#F04864",
209
- "activeFillColor": "#FACC14",
210
- "activeFillOpacity": 1
211
- },
212
- }
213
- },
214
- "arcbar":{
215
- "type": "arcbar",
216
- "color": color,
217
- "title": {
218
- "name": "百分比",
219
- "fontSize": 25,
220
- "color": "#00FF00"
221
- },
222
- "subtitle": {
223
- "name": "默认标题",
224
- "fontSize": 15,
225
- "color": "#666666"
226
- },
227
- "extra": {
228
- "arcbar": {
229
- "type": "default",
230
- "width": 12,
231
- "backgroundColor": "#E9E9E9",
232
- "startAngle": 0.75,
233
- "endAngle": 0.25,
234
- "gap": 2
235
- }
236
- }
237
- },
238
- "line":{
239
- "type": "line",
240
- "color": color,
241
- "padding": [15,10,0,15],
242
- "xAxis": {
243
- "disableGrid": true,
244
- },
245
- "yAxis": {
246
- "gridType": "dash",
247
- "dashLength": 2,
248
- },
249
- "legend": {
250
- },
251
- "extra": {
252
- "line": {
253
- "type": "straight",
254
- "width": 2,
255
- "activeType": "hollow"
256
- },
257
- }
258
- },
259
- "tline":{
260
- "type": "line",
261
- "color": color,
262
- "padding": [15,10,0,15],
263
- "xAxis": {
264
- "disableGrid": false,
265
- "boundaryGap":"justify",
266
- },
267
- "yAxis": {
268
- "gridType": "dash",
269
- "dashLength": 2,
270
- "data":[
271
- {
272
- "min":0,
273
- "max":80
274
- }
275
- ]
276
- },
277
- "legend": {
278
- },
279
- "extra": {
280
- "line": {
281
- "type": "curve",
282
- "width": 2,
283
- "activeType": "hollow"
284
- },
285
- }
286
- },
287
- "tarea":{
288
- "type": "area",
289
- "color": color,
290
- "padding": [15,10,0,15],
291
- "xAxis": {
292
- "disableGrid": true,
293
- "boundaryGap":"justify",
294
- },
295
- "yAxis": {
296
- "gridType": "dash",
297
- "dashLength": 2,
298
- "data":[
299
- {
300
- "min":0,
301
- "max":80
302
- }
303
- ]
304
- },
305
- "legend": {
306
- },
307
- "extra": {
308
- "area": {
309
- "type": "curve",
310
- "opacity": 0.2,
311
- "addLine": true,
312
- "width": 2,
313
- "gradient": true,
314
- "activeType": "hollow"
315
- },
316
- }
317
- },
318
- "column":{
319
- "type": "column",
320
- "color": color,
321
- "padding": [15,15,0,5],
322
- "xAxis": {
323
- "disableGrid": true,
324
- },
325
- "yAxis": {
326
- "data":[{"min":0}]
327
- },
328
- "legend": {
329
- },
330
- "extra": {
331
- "column": {
332
- "type": "group",
333
- "width": 30,
334
- "activeBgColor": "#000000",
335
- "activeBgOpacity": 0.08
336
- },
337
- }
338
- },
339
- "mount":{
340
- "type": "mount",
341
- "color": color,
342
- "padding": [15,15,0,5],
343
- "xAxis": {
344
- "disableGrid": true,
345
- },
346
- "yAxis": {
347
- "data":[{"min":0}]
348
- },
349
- "legend": {
350
- },
351
- "extra": {
352
- "mount": {
353
- "type": "mount",
354
- "widthRatio": 1.5,
355
- },
356
- }
357
- },
358
- "bar":{
359
- "type": "bar",
360
- "color": color,
361
- "padding": [15,30,0,5],
362
- "xAxis": {
363
- "boundaryGap":"justify",
364
- "disableGrid":false,
365
- "min":0,
366
- "axisLine":false
367
- },
368
- "yAxis": {
369
- },
370
- "legend": {
371
- },
372
- "extra": {
373
- "bar": {
374
- "type": "group",
375
- "width": 30,
376
- "meterBorde": 1,
377
- "meterFillColor": "#FFFFFF",
378
- "activeBgColor": "#000000",
379
- "activeBgOpacity": 0.08
380
- },
381
- }
382
- },
383
- "area":{
384
- "type": "area",
385
- "color": color,
386
- "padding": [15,15,0,15],
387
- "xAxis": {
388
- "disableGrid": true,
389
- },
390
- "yAxis": {
391
- "gridType": "dash",
392
- "dashLength": 2,
393
- },
394
- "legend": {
395
- },
396
- "extra": {
397
- "area": {
398
- "type": "straight",
399
- "opacity": 0.2,
400
- "addLine": true,
401
- "width": 2,
402
- "gradient": false,
403
- "activeType": "hollow"
404
- },
405
- }
406
- },
407
- "radar":{
408
- "type": "radar",
409
- "color": color,
410
- "padding": [5,5,5,5],
411
- "dataLabel": false,
412
- "legend": {
413
- "show": true,
414
- "position": "right",
415
- "lineHeight": 25,
416
- },
417
- "extra": {
418
- "radar": {
419
- "gridType": "radar",
420
- "gridColor": "#CCCCCC",
421
- "gridCount": 3,
422
- "opacity": 0.2,
423
- "max": 200,
424
- "labelShow": true
425
- },
426
- }
427
- },
428
- "gauge":{
429
- "type": "gauge",
430
- "color": color,
431
- "title": {
432
- "name": "66Km/H",
433
- "fontSize": 25,
434
- "color": "#2fc25b",
435
- "offsetY": 50
436
- },
437
- "subtitle": {
438
- "name": "实时速度",
439
- "fontSize": 15,
440
- "color": "#1890ff",
441
- "offsetY": -50
442
- },
443
- "extra": {
444
- "gauge": {
445
- "type": "default",
446
- "width": 30,
447
- "labelColor": "#666666",
448
- "startAngle": 0.75,
449
- "endAngle": 0.25,
450
- "startNumber": 0,
451
- "endNumber": 100,
452
- "labelFormat": "",
453
- "splitLine": {
454
- "fixRadius": 0,
455
- "splitNumber": 10,
456
- "width": 30,
457
- "color": "#FFFFFF",
458
- "childNumber": 5,
459
- "childWidth": 12
460
- },
461
- "pointer": {
462
- "width": 24,
463
- "color": "auto"
464
- }
465
- }
466
- }
467
- },
468
- "candle":{
469
- "type": "candle",
470
- "color": color,
471
- "padding": [15,15,0,15],
472
- "enableScroll": true,
473
- "enableMarkLine": true,
474
- "dataLabel": false,
475
- "xAxis": {
476
- "labelCount": 4,
477
- "itemCount": 40,
478
- "disableGrid": true,
479
- "gridColor": "#CCCCCC",
480
- "gridType": "solid",
481
- "dashLength": 4,
482
- "scrollShow": true,
483
- "scrollAlign": "left",
484
- "scrollColor": "#A6A6A6",
485
- "scrollBackgroundColor": "#EFEBEF"
486
- },
487
- "yAxis": {
488
- },
489
- "legend": {
490
- },
491
- "extra": {
492
- "candle": {
493
- "color": {
494
- "upLine": "#f04864",
495
- "upFill": "#f04864",
496
- "downLine": "#2fc25b",
497
- "downFill": "#2fc25b"
498
- },
499
- "average": {
500
- "show": true,
501
- "name": ["MA5","MA10","MA30"],
502
- "day": [5,10,20],
503
- "color": ["#1890ff","#2fc25b","#facc14"]
504
- }
505
- },
506
- "markLine": {
507
- "type": "dash",
508
- "dashLength": 5,
509
- "data": [
510
- {
511
- "value": 2150,
512
- "lineColor": "#f04864",
513
- "showLabel": true
514
- },
515
- {
516
- "value": 2350,
517
- "lineColor": "#f04864",
518
- "showLabel": true
519
- }
520
- ]
521
- }
522
- }
523
- },
524
- "mix":{
525
- "type": "mix",
526
- "color": color,
527
- "padding": [15,15,0,15],
528
- "xAxis": {
529
- "disableGrid": true,
530
- },
531
- "yAxis": {
532
- "disabled": false,
533
- "disableGrid": false,
534
- "splitNumber": 5,
535
- "gridType": "dash",
536
- "dashLength": 4,
537
- "gridColor": "#CCCCCC",
538
- "padding": 10,
539
- "showTitle": true,
540
- "data": []
541
- },
542
- "legend": {
543
- },
544
- "extra": {
545
- "mix": {
546
- "column": {
547
- "width": 20
548
- }
549
- },
550
- }
551
- },
552
- "scatter":{
553
- "type": "scatter",
554
- "color":color,
555
- "padding":[15,15,0,15],
556
- "dataLabel":false,
557
- "xAxis": {
558
- "disableGrid": false,
559
- "gridType":"dash",
560
- "splitNumber":5,
561
- "boundaryGap":"justify",
562
- "min":0
563
- },
564
- "yAxis": {
565
- "disableGrid": false,
566
- "gridType":"dash",
567
- },
568
- "legend": {
569
- },
570
- "extra": {
571
- "scatter": {
572
- },
573
- }
574
- },
575
- "bubble":{
576
- "type": "bubble",
577
- "color":color,
578
- "padding":[15,15,0,15],
579
- "xAxis": {
580
- "disableGrid": false,
581
- "gridType":"dash",
582
- "splitNumber":5,
583
- "boundaryGap":"justify",
584
- "min":0,
585
- "max":250
586
- },
587
- "yAxis": {
588
- "disableGrid": false,
589
- "gridType":"dash",
590
- "data":[{
591
- "min":0,
592
- "max":150
593
- }]
594
- },
595
- "legend": {
596
- },
597
- "extra": {
598
- "bubble": {
599
- "border":2,
600
- "opacity": 0.5,
601
- },
602
- }
603
- }
604
- }
605
-
1
+ /*
2
+ * uCharts®
3
+ * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台
4
+ * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved.
5
+ * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
6
+ * 复制使用请保留本段注释,感谢支持开源!
7
+ *
8
+ * uCharts®官方网站
9
+ * https://www.uCharts.cn
10
+ *
11
+ * 开源地址:
12
+ * https://gitee.com/uCharts/uCharts
13
+ *
14
+ * uni-app插件市场地址:
15
+ * http://ext.dcloud.net.cn/plugin?id=271
16
+ *
17
+ */
18
+
19
+ // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性
20
+ const color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'];
21
+
22
+ //事件转换函数,主要用作格式化x轴为时间轴,根据需求自行修改
23
+ const formatDateTime = (timeStamp, returnType)=>{
24
+ var date = new Date();
25
+ date.setTime(timeStamp * 1000);
26
+ var y = date.getFullYear();
27
+ var m = date.getMonth() + 1;
28
+ m = m < 10 ? ('0' + m) : m;
29
+ var d = date.getDate();
30
+ d = d < 10 ? ('0' + d) : d;
31
+ var h = date.getHours();
32
+ h = h < 10 ? ('0' + h) : h;
33
+ var minute = date.getMinutes();
34
+ var second = date.getSeconds();
35
+ minute = minute < 10 ? ('0' + minute) : minute;
36
+ second = second < 10 ? ('0' + second) : second;
37
+ if(returnType == 'full'){return y + '-' + m + '-' + d + ' '+ h +':' + minute + ':' + second;}
38
+ if(returnType == 'y-m-d'){return y + '-' + m + '-' + d;}
39
+ if(returnType == 'h:m'){return h +':' + minute;}
40
+ if(returnType == 'h:m:s'){return h +':' + minute +':' + second;}
41
+ return [y, m, d, h, minute, second];
42
+ }
43
+
44
+ const cfu = {
45
+ //demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可
46
+ "type":["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],
47
+ "range":["饼状图","圆环图","玫瑰图","词云图","漏斗图","地图","圆弧进度条","折线图","柱状图","山峰图","条状图","区域图","雷达图","仪表盘","K线图","混合图","时间轴折线","时间轴区域","散点图","气泡图","自定义类型"],
48
+ //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype"
49
+ //自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories
50
+ "categories":["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],
51
+ //instance为实例变量承载属性,不要删除
52
+ "instance":{},
53
+ //option为opts及eopts承载属性,不要删除
54
+ "option":{},
55
+ //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
56
+ "formatter":{
57
+ "yAxisDemo1":function(val, index, opts){return val+'元'},
58
+ "yAxisDemo2":function(val, index, opts){return val.toFixed(2)},
59
+ "xAxisDemo1":function(val, index, opts){return val+'年';},
60
+ "xAxisDemo2":function(val, index, opts){return formatDateTime(val,'h:m')},
61
+ "seriesDemo1":function(val, index, series, opts){return val+'元'},
62
+ "tooltipDemo1":function(item, category, index, opts){
63
+ if(index==0){
64
+ return '随便用'+item.data+'年'
65
+ }else{
66
+ return '其他我没改'+item.data+'天'
67
+ }
68
+ },
69
+ "pieDemo":function(val, index, series, opts){
70
+ if(index !== undefined){
71
+ return series[index].name+':'+series[index].data+'元'
72
+ }
73
+ },
74
+ },
75
+ //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。
76
+ "demotype":{
77
+ //我这里把曲线图当做了自定义图表类型,您可以根据需要随意指定类型或配置
78
+ "type": "line",
79
+ "color": color,
80
+ "padding": [15,10,0,15],
81
+ "xAxis": {
82
+ "disableGrid": true,
83
+ },
84
+ "yAxis": {
85
+ "gridType": "dash",
86
+ "dashLength": 2,
87
+ },
88
+ "legend": {
89
+ },
90
+ "extra": {
91
+ "line": {
92
+ "type": "curve",
93
+ "width": 2
94
+ },
95
+ }
96
+ },
97
+ //下面是自定义配置,请添加项目所需的通用配置
98
+ "pie":{
99
+ "type": "pie",
100
+ "color": color,
101
+ "padding": [5,5,5,5],
102
+ "extra": {
103
+ "pie": {
104
+ "activeOpacity": 0.5,
105
+ "activeRadius": 10,
106
+ "offsetAngle": 0,
107
+ "labelWidth": 15,
108
+ "border": true,
109
+ "borderWidth": 3,
110
+ "borderColor": "#FFFFFF"
111
+ },
112
+ }
113
+ },
114
+ "ring":{
115
+ "type": "ring",
116
+ "color": color,
117
+ "padding": [5,5,5,5],
118
+ "rotate": false,
119
+ "dataLabel": true,
120
+ "legend": {
121
+ "show": true,
122
+ "position": "right",
123
+ "lineHeight": 25,
124
+ },
125
+ "title": {
126
+ "name": "收益率",
127
+ "fontSize": 15,
128
+ "color": "#666666"
129
+ },
130
+ "subtitle": {
131
+ "name": "70%",
132
+ "fontSize": 25,
133
+ "color": "#7cb5ec"
134
+ },
135
+ "extra": {
136
+ "ring": {
137
+ "ringWidth":30,
138
+ "activeOpacity": 0.5,
139
+ "activeRadius": 10,
140
+ "offsetAngle": 0,
141
+ "labelWidth": 15,
142
+ "border": true,
143
+ "borderWidth": 3,
144
+ "borderColor": "#FFFFFF"
145
+ },
146
+ },
147
+ },
148
+ "rose":{
149
+ "type": "rose",
150
+ "color": color,
151
+ "padding": [5,5,5,5],
152
+ "legend": {
153
+ "show": true,
154
+ "position": "left",
155
+ "lineHeight": 25,
156
+ },
157
+ "extra": {
158
+ "rose": {
159
+ "type": "area",
160
+ "minRadius": 50,
161
+ "activeOpacity": 0.5,
162
+ "activeRadius": 10,
163
+ "offsetAngle": 0,
164
+ "labelWidth": 15,
165
+ "border": false,
166
+ "borderWidth": 2,
167
+ "borderColor": "#FFFFFF"
168
+ },
169
+ }
170
+ },
171
+ "word":{
172
+ "type": "word",
173
+ "color": color,
174
+ "extra": {
175
+ "word": {
176
+ "type": "normal",
177
+ "autoColors": false
178
+ }
179
+ }
180
+ },
181
+ "funnel":{
182
+ "type": "funnel",
183
+ "color": color,
184
+ "padding": [15,15,0,15],
185
+ "extra": {
186
+ "funnel": {
187
+ "activeOpacity": 0.3,
188
+ "activeWidth": 10,
189
+ "border": true,
190
+ "borderWidth": 2,
191
+ "borderColor": "#FFFFFF",
192
+ "fillOpacity": 1,
193
+ "labelAlign": "right"
194
+ },
195
+ }
196
+ },
197
+ "map":{
198
+ "type": "map",
199
+ "color": color,
200
+ "padding": [0,0,0,0],
201
+ "dataLabel": true,
202
+ "extra": {
203
+ "map": {
204
+ "border": true,
205
+ "borderWidth": 1,
206
+ "borderColor": "#666666",
207
+ "fillOpacity": 0.6,
208
+ "activeBorderColor": "#F04864",
209
+ "activeFillColor": "#FACC14",
210
+ "activeFillOpacity": 1
211
+ },
212
+ }
213
+ },
214
+ "arcbar":{
215
+ "type": "arcbar",
216
+ "color": color,
217
+ "title": {
218
+ "name": "百分比",
219
+ "fontSize": 25,
220
+ "color": "#00FF00"
221
+ },
222
+ "subtitle": {
223
+ "name": "默认标题",
224
+ "fontSize": 15,
225
+ "color": "#666666"
226
+ },
227
+ "extra": {
228
+ "arcbar": {
229
+ "type": "default",
230
+ "width": 12,
231
+ "backgroundColor": "#E9E9E9",
232
+ "startAngle": 0.75,
233
+ "endAngle": 0.25,
234
+ "gap": 2
235
+ }
236
+ }
237
+ },
238
+ "line":{
239
+ "type": "line",
240
+ "color": color,
241
+ "padding": [15,10,0,15],
242
+ "xAxis": {
243
+ "disableGrid": true,
244
+ },
245
+ "yAxis": {
246
+ "gridType": "dash",
247
+ "dashLength": 2,
248
+ },
249
+ "legend": {
250
+ },
251
+ "extra": {
252
+ "line": {
253
+ "type": "straight",
254
+ "width": 2,
255
+ "activeType": "hollow"
256
+ },
257
+ }
258
+ },
259
+ "tline":{
260
+ "type": "line",
261
+ "color": color,
262
+ "padding": [15,10,0,15],
263
+ "xAxis": {
264
+ "disableGrid": false,
265
+ "boundaryGap":"justify",
266
+ },
267
+ "yAxis": {
268
+ "gridType": "dash",
269
+ "dashLength": 2,
270
+ "data":[
271
+ {
272
+ "min":0,
273
+ "max":80
274
+ }
275
+ ]
276
+ },
277
+ "legend": {
278
+ },
279
+ "extra": {
280
+ "line": {
281
+ "type": "curve",
282
+ "width": 2,
283
+ "activeType": "hollow"
284
+ },
285
+ }
286
+ },
287
+ "tarea":{
288
+ "type": "area",
289
+ "color": color,
290
+ "padding": [15,10,0,15],
291
+ "xAxis": {
292
+ "disableGrid": true,
293
+ "boundaryGap":"justify",
294
+ },
295
+ "yAxis": {
296
+ "gridType": "dash",
297
+ "dashLength": 2,
298
+ "data":[
299
+ {
300
+ "min":0,
301
+ "max":80
302
+ }
303
+ ]
304
+ },
305
+ "legend": {
306
+ },
307
+ "extra": {
308
+ "area": {
309
+ "type": "curve",
310
+ "opacity": 0.2,
311
+ "addLine": true,
312
+ "width": 2,
313
+ "gradient": true,
314
+ "activeType": "hollow"
315
+ },
316
+ }
317
+ },
318
+ "column":{
319
+ "type": "column",
320
+ "color": color,
321
+ "padding": [15,15,0,5],
322
+ "xAxis": {
323
+ "disableGrid": true,
324
+ },
325
+ "yAxis": {
326
+ "data":[{"min":0}]
327
+ },
328
+ "legend": {
329
+ },
330
+ "extra": {
331
+ "column": {
332
+ "type": "group",
333
+ "width": 30,
334
+ "activeBgColor": "#000000",
335
+ "activeBgOpacity": 0.08
336
+ },
337
+ }
338
+ },
339
+ "mount":{
340
+ "type": "mount",
341
+ "color": color,
342
+ "padding": [15,15,0,5],
343
+ "xAxis": {
344
+ "disableGrid": true,
345
+ },
346
+ "yAxis": {
347
+ "data":[{"min":0}]
348
+ },
349
+ "legend": {
350
+ },
351
+ "extra": {
352
+ "mount": {
353
+ "type": "mount",
354
+ "widthRatio": 1.5,
355
+ },
356
+ }
357
+ },
358
+ "bar":{
359
+ "type": "bar",
360
+ "color": color,
361
+ "padding": [15,30,0,5],
362
+ "xAxis": {
363
+ "boundaryGap":"justify",
364
+ "disableGrid":false,
365
+ "min":0,
366
+ "axisLine":false
367
+ },
368
+ "yAxis": {
369
+ },
370
+ "legend": {
371
+ },
372
+ "extra": {
373
+ "bar": {
374
+ "type": "group",
375
+ "width": 30,
376
+ "meterBorde": 1,
377
+ "meterFillColor": "#FFFFFF",
378
+ "activeBgColor": "#000000",
379
+ "activeBgOpacity": 0.08
380
+ },
381
+ }
382
+ },
383
+ "area":{
384
+ "type": "area",
385
+ "color": color,
386
+ "padding": [15,15,0,15],
387
+ "xAxis": {
388
+ "disableGrid": true,
389
+ },
390
+ "yAxis": {
391
+ "gridType": "dash",
392
+ "dashLength": 2,
393
+ },
394
+ "legend": {
395
+ },
396
+ "extra": {
397
+ "area": {
398
+ "type": "straight",
399
+ "opacity": 0.2,
400
+ "addLine": true,
401
+ "width": 2,
402
+ "gradient": false,
403
+ "activeType": "hollow"
404
+ },
405
+ }
406
+ },
407
+ "radar":{
408
+ "type": "radar",
409
+ "color": color,
410
+ "padding": [5,5,5,5],
411
+ "dataLabel": false,
412
+ "legend": {
413
+ "show": true,
414
+ "position": "right",
415
+ "lineHeight": 25,
416
+ },
417
+ "extra": {
418
+ "radar": {
419
+ "gridType": "radar",
420
+ "gridColor": "#CCCCCC",
421
+ "gridCount": 3,
422
+ "opacity": 0.2,
423
+ "max": 200,
424
+ "labelShow": true
425
+ },
426
+ }
427
+ },
428
+ "gauge":{
429
+ "type": "gauge",
430
+ "color": color,
431
+ "title": {
432
+ "name": "66Km/H",
433
+ "fontSize": 25,
434
+ "color": "#2fc25b",
435
+ "offsetY": 50
436
+ },
437
+ "subtitle": {
438
+ "name": "实时速度",
439
+ "fontSize": 15,
440
+ "color": "#1890ff",
441
+ "offsetY": -50
442
+ },
443
+ "extra": {
444
+ "gauge": {
445
+ "type": "default",
446
+ "width": 30,
447
+ "labelColor": "#666666",
448
+ "startAngle": 0.75,
449
+ "endAngle": 0.25,
450
+ "startNumber": 0,
451
+ "endNumber": 100,
452
+ "labelFormat": "",
453
+ "splitLine": {
454
+ "fixRadius": 0,
455
+ "splitNumber": 10,
456
+ "width": 30,
457
+ "color": "#FFFFFF",
458
+ "childNumber": 5,
459
+ "childWidth": 12
460
+ },
461
+ "pointer": {
462
+ "width": 24,
463
+ "color": "auto"
464
+ }
465
+ }
466
+ }
467
+ },
468
+ "candle":{
469
+ "type": "candle",
470
+ "color": color,
471
+ "padding": [15,15,0,15],
472
+ "enableScroll": true,
473
+ "enableMarkLine": true,
474
+ "dataLabel": false,
475
+ "xAxis": {
476
+ "labelCount": 4,
477
+ "itemCount": 40,
478
+ "disableGrid": true,
479
+ "gridColor": "#CCCCCC",
480
+ "gridType": "solid",
481
+ "dashLength": 4,
482
+ "scrollShow": true,
483
+ "scrollAlign": "left",
484
+ "scrollColor": "#A6A6A6",
485
+ "scrollBackgroundColor": "#EFEBEF"
486
+ },
487
+ "yAxis": {
488
+ },
489
+ "legend": {
490
+ },
491
+ "extra": {
492
+ "candle": {
493
+ "color": {
494
+ "upLine": "#f04864",
495
+ "upFill": "#f04864",
496
+ "downLine": "#2fc25b",
497
+ "downFill": "#2fc25b"
498
+ },
499
+ "average": {
500
+ "show": true,
501
+ "name": ["MA5","MA10","MA30"],
502
+ "day": [5,10,20],
503
+ "color": ["#1890ff","#2fc25b","#facc14"]
504
+ }
505
+ },
506
+ "markLine": {
507
+ "type": "dash",
508
+ "dashLength": 5,
509
+ "data": [
510
+ {
511
+ "value": 2150,
512
+ "lineColor": "#f04864",
513
+ "showLabel": true
514
+ },
515
+ {
516
+ "value": 2350,
517
+ "lineColor": "#f04864",
518
+ "showLabel": true
519
+ }
520
+ ]
521
+ }
522
+ }
523
+ },
524
+ "mix":{
525
+ "type": "mix",
526
+ "color": color,
527
+ "padding": [15,15,0,15],
528
+ "xAxis": {
529
+ "disableGrid": true,
530
+ },
531
+ "yAxis": {
532
+ "disabled": false,
533
+ "disableGrid": false,
534
+ "splitNumber": 5,
535
+ "gridType": "dash",
536
+ "dashLength": 4,
537
+ "gridColor": "#CCCCCC",
538
+ "padding": 10,
539
+ "showTitle": true,
540
+ "data": []
541
+ },
542
+ "legend": {
543
+ },
544
+ "extra": {
545
+ "mix": {
546
+ "column": {
547
+ "width": 20
548
+ }
549
+ },
550
+ }
551
+ },
552
+ "scatter":{
553
+ "type": "scatter",
554
+ "color":color,
555
+ "padding":[15,15,0,15],
556
+ "dataLabel":false,
557
+ "xAxis": {
558
+ "disableGrid": false,
559
+ "gridType":"dash",
560
+ "splitNumber":5,
561
+ "boundaryGap":"justify",
562
+ "min":0
563
+ },
564
+ "yAxis": {
565
+ "disableGrid": false,
566
+ "gridType":"dash",
567
+ },
568
+ "legend": {
569
+ },
570
+ "extra": {
571
+ "scatter": {
572
+ },
573
+ }
574
+ },
575
+ "bubble":{
576
+ "type": "bubble",
577
+ "color":color,
578
+ "padding":[15,15,0,15],
579
+ "xAxis": {
580
+ "disableGrid": false,
581
+ "gridType":"dash",
582
+ "splitNumber":5,
583
+ "boundaryGap":"justify",
584
+ "min":0,
585
+ "max":250
586
+ },
587
+ "yAxis": {
588
+ "disableGrid": false,
589
+ "gridType":"dash",
590
+ "data":[{
591
+ "min":0,
592
+ "max":150
593
+ }]
594
+ },
595
+ "legend": {
596
+ },
597
+ "extra": {
598
+ "bubble": {
599
+ "border":2,
600
+ "opacity": 0.5,
601
+ },
602
+ }
603
+ }
604
+ }
605
+
606
606
  export default cfu;