@cloudbase/weda-ui 3.2.0 → 3.2.1

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 (345) hide show
  1. package/dist/cypress/support/commands.d.ts +1 -0
  2. package/dist/cypress/support/commands.js +40 -0
  3. package/dist/cypress/support/e2e.d.ts +24 -0
  4. package/dist/cypress/support/e2e.js +22 -0
  5. package/dist/src/configs/actions/showModal.json +48 -0
  6. package/dist/src/configs/actions/showToast.json +41 -0
  7. package/dist/src/configs/components/auth.json +16 -0
  8. package/dist/src/configs/components/button.json +239 -0
  9. package/dist/src/configs/components/calendar.json +81 -0
  10. package/dist/src/configs/components/carousel.json +292 -0
  11. package/dist/src/configs/components/chart/bar.json +954 -0
  12. package/dist/src/configs/components/chart/line.json +870 -0
  13. package/dist/src/configs/components/chart/pie.json +677 -0
  14. package/dist/src/configs/components/chart/statisticsCard.json +376 -0
  15. package/dist/src/configs/components/container.json +50 -0
  16. package/dist/src/configs/components/dataView.json +247 -0
  17. package/dist/src/configs/components/drawer.json +115 -0
  18. package/dist/src/configs/components/form/checkbox.json +179 -0
  19. package/dist/src/configs/components/form/departTreeSelect.json +124 -0
  20. package/dist/src/configs/components/form/form.json +73 -0
  21. package/dist/src/configs/components/form/input.json +154 -0
  22. package/dist/src/configs/components/form/location.json +216 -0
  23. package/dist/src/configs/components/form/radio.json +203 -0
  24. package/dist/src/configs/components/form/richText.json +133 -0
  25. package/dist/src/configs/components/form/select.json +449 -0
  26. package/dist/src/configs/components/form/switch.json +58 -0
  27. package/dist/src/configs/components/form/textarea.json +116 -0
  28. package/dist/src/configs/components/form/tips.json +34 -0
  29. package/dist/src/configs/components/form/uploader.json +171 -0
  30. package/dist/src/configs/components/form/uploaderFile.json +158 -0
  31. package/dist/src/configs/components/form/userTreeSelect.json +128 -0
  32. package/dist/src/configs/components/formdetail.json +105 -0
  33. package/dist/src/configs/components/graphicCard.json +413 -0
  34. package/dist/src/configs/components/image.json +187 -0
  35. package/dist/src/configs/components/link.json +79 -0
  36. package/dist/src/configs/components/listView.json +378 -0
  37. package/dist/src/configs/components/lottery.json +163 -0
  38. package/dist/src/configs/components/modal.json +72 -0
  39. package/dist/src/configs/components/navLayout.json +368 -0
  40. package/dist/src/configs/components/navigationBar.json +62 -0
  41. package/dist/src/configs/components/richtextview.json +26 -0
  42. package/dist/src/configs/components/scrollVeiw.json +253 -0
  43. package/dist/src/configs/components/slot.json +17 -0
  44. package/dist/src/configs/components/swiper.json +90 -0
  45. package/dist/src/configs/components/tabs.json +122 -0
  46. package/dist/src/configs/components/text.json +95 -0
  47. package/dist/src/configs/components/wedaVideo.json +89 -0
  48. package/dist/src/configs/components/wxOpenApi/phone.json +127 -0
  49. package/dist/src/configs/components/wxOpenApi/phoneCode.json +109 -0
  50. package/dist/src/configs/components/wxOpenApi/share.json +160 -0
  51. package/dist/src/configs/components/wxOpenApi/userInfo.json +156 -0
  52. package/dist/src/configs/index.d.ts +103 -0
  53. package/dist/src/configs/index.js +111 -0
  54. package/dist/src/docs/common/format.d.ts +13 -0
  55. package/dist/src/docs/common/format.js +122 -0
  56. package/dist/src/docs/common/tableView.d.ts +30 -0
  57. package/dist/src/docs/common/tableView.js +156 -0
  58. package/dist/src/index.d.ts +2 -0
  59. package/dist/src/index.js +3 -0
  60. package/dist/src/setupTests.d.ts +2 -0
  61. package/dist/src/setupTests.js +19 -0
  62. package/dist/src/web/actions/index.d.ts +2 -0
  63. package/dist/src/web/actions/index.js +2 -0
  64. package/dist/src/web/actions/showModal/index.d.ts +4 -0
  65. package/dist/src/web/actions/showModal/index.js +67 -0
  66. package/dist/src/web/actions/showToast/index.d.ts +1 -0
  67. package/dist/src/web/actions/showToast/index.js +3 -0
  68. package/dist/src/web/components/button/index.d.ts +32 -0
  69. package/dist/src/web/components/button/index.js +48 -0
  70. package/dist/src/web/components/calendar/index.d.ts +19 -0
  71. package/dist/src/web/components/calendar/index.js +189 -0
  72. package/dist/src/web/components/calendar/util.d.ts +13 -0
  73. package/dist/src/web/components/calendar/util.js +74 -0
  74. package/dist/src/web/components/carousel/index.d.ts +41 -0
  75. package/dist/src/web/components/carousel/index.js +244 -0
  76. package/dist/src/web/components/chart/bar/index.d.ts +3 -0
  77. package/dist/src/web/components/chart/bar/index.js +41 -0
  78. package/dist/src/web/components/chart/bar/index.old.d.ts +40 -0
  79. package/dist/src/web/components/chart/bar/index.old.js +56 -0
  80. package/dist/src/web/components/chart/common/Chart.d.ts +9 -0
  81. package/dist/src/web/components/chart/common/Chart.js +23 -0
  82. package/dist/src/web/components/chart/common/chart-custom-connector.d.ts +6 -0
  83. package/dist/src/web/components/chart/common/chart-custom-connector.js +35 -0
  84. package/dist/src/web/components/chart/common/chart-error.d.ts +2 -0
  85. package/dist/src/web/components/chart/common/chart-error.js +2 -0
  86. package/dist/src/web/components/chart/common/config/bar.d.ts +48 -0
  87. package/dist/src/web/components/chart/common/config/bar.js +49 -0
  88. package/dist/src/web/components/chart/common/config/global.d.ts +13 -0
  89. package/dist/src/web/components/chart/common/config/global.js +16 -0
  90. package/dist/src/web/components/chart/common/config/line.d.ts +46 -0
  91. package/dist/src/web/components/chart/common/config/line.js +49 -0
  92. package/dist/src/web/components/chart/common/config/pie.d.ts +29 -0
  93. package/dist/src/web/components/chart/common/config/pie.js +36 -0
  94. package/dist/src/web/components/chart/common/core/eChartBar.d.ts +66 -0
  95. package/dist/src/web/components/chart/common/core/eChartBar.js +201 -0
  96. package/dist/src/web/components/chart/common/core/eChartBase.d.ts +127 -0
  97. package/dist/src/web/components/chart/common/core/eChartBase.js +394 -0
  98. package/dist/src/web/components/chart/common/core/eChartLine.d.ts +60 -0
  99. package/dist/src/web/components/chart/common/core/eChartLine.js +173 -0
  100. package/dist/src/web/components/chart/common/core/eChartPie.d.ts +48 -0
  101. package/dist/src/web/components/chart/common/core/eChartPie.js +135 -0
  102. package/dist/src/web/components/chart/common/core/type.d.ts +35 -0
  103. package/dist/src/web/components/chart/common/core/type.js +9 -0
  104. package/dist/src/web/components/chart/common/data-transform.d.ts +6 -0
  105. package/dist/src/web/components/chart/common/data-transform.js +246 -0
  106. package/dist/src/web/components/chart/common/echarts.d.ts +5 -0
  107. package/dist/src/web/components/chart/common/echarts.js +24 -0
  108. package/dist/src/web/components/chart/common/error-boundary.d.ts +5 -0
  109. package/dist/src/web/components/chart/common/error-boundary.js +26 -0
  110. package/dist/src/web/components/chart/common/useChart.d.ts +8 -0
  111. package/dist/src/web/components/chart/common/useChart.js +61 -0
  112. package/dist/src/web/components/chart/line/index.d.ts +3 -0
  113. package/dist/src/web/components/chart/line/index.js +42 -0
  114. package/dist/src/web/components/chart/line/index.old.d.ts +38 -0
  115. package/dist/src/web/components/chart/line/index.old.js +53 -0
  116. package/dist/src/web/components/chart/pie/index.d.ts +3 -0
  117. package/dist/src/web/components/chart/pie/index.js +42 -0
  118. package/dist/src/web/components/chart/pie/index.old.d.ts +27 -0
  119. package/dist/src/web/components/chart/pie/index.old.js +40 -0
  120. package/dist/src/web/components/chart/statisticsCard/index.d.ts +85 -0
  121. package/dist/src/web/components/chart/statisticsCard/index.js +203 -0
  122. package/dist/src/web/components/chart/statisticsCard/interface.d.ts +13 -0
  123. package/dist/src/web/components/chart/statisticsCard/interface.js +1 -0
  124. package/dist/src/web/components/common/portal.d.ts +7 -0
  125. package/dist/src/web/components/common/portal.js +14 -0
  126. package/dist/src/web/components/container/index.d.ts +6 -0
  127. package/dist/src/web/components/container/index.js +6 -0
  128. package/dist/src/web/components/dataView/index.d.ts +6 -0
  129. package/dist/src/web/components/dataView/index.js +8 -0
  130. package/dist/src/web/components/dataView/interface.d.ts +5 -0
  131. package/dist/src/web/components/dataView/interface.js +1 -0
  132. package/dist/src/web/components/drawer/index.d.ts +13 -0
  133. package/dist/src/web/components/drawer/index.js +12 -0
  134. package/dist/src/web/components/form/checkbox/index.d.ts +13 -0
  135. package/dist/src/web/components/form/checkbox/index.js +167 -0
  136. package/dist/src/web/components/form/enumSelect/MultipleSelect.d.ts +78 -0
  137. package/dist/src/web/components/form/enumSelect/MultipleSelect.js +52 -0
  138. package/dist/src/web/components/form/enumSelect/NormalSelect.d.ts +83 -0
  139. package/dist/src/web/components/form/enumSelect/NormalSelect.js +52 -0
  140. package/dist/src/web/components/form/enumSelect/SelectContainer.d.ts +16 -0
  141. package/dist/src/web/components/form/enumSelect/SelectContainer.js +30 -0
  142. package/dist/src/web/components/form/enumSelect/index.d.ts +82 -0
  143. package/dist/src/web/components/form/enumSelect/index.js +6 -0
  144. package/dist/src/web/components/form/enumSelect/props/defaultProps.d.ts +34 -0
  145. package/dist/src/web/components/form/enumSelect/props/defaultProps.js +40 -0
  146. package/dist/src/web/components/form/enumSelect/props/propsTypes.d.ts +39 -0
  147. package/dist/src/web/components/form/enumSelect/props/propsTypes.js +47 -0
  148. package/dist/src/web/components/form/form/index.d.ts +32 -0
  149. package/dist/src/web/components/form/form/index.js +141 -0
  150. package/dist/src/web/components/form/formcell/index.d.ts +8 -0
  151. package/dist/src/web/components/form/formcell/index.js +40 -0
  152. package/dist/src/web/components/form/input/index.d.ts +14 -0
  153. package/dist/src/web/components/form/input/index.js +86 -0
  154. package/dist/src/web/components/form/location/common/mapChoose.d.ts +15 -0
  155. package/dist/src/web/components/form/location/common/mapChoose.js +495 -0
  156. package/dist/src/web/components/form/location/common/mapView.d.ts +19 -0
  157. package/dist/src/web/components/form/location/common/mapView.js +172 -0
  158. package/dist/src/web/components/form/location/common/propsConfig.d.ts +59 -0
  159. package/dist/src/web/components/form/location/common/propsConfig.js +50 -0
  160. package/dist/src/web/components/form/location/common/selectModal.d.ts +21 -0
  161. package/dist/src/web/components/form/location/common/selectModal.js +44 -0
  162. package/dist/src/web/components/form/location/common/useLocationInfo.d.ts +36 -0
  163. package/dist/src/web/components/form/location/common/useLocationInfo.js +104 -0
  164. package/dist/src/web/components/form/location/components/LocationH5/location.h5.d.ts +8 -0
  165. package/dist/src/web/components/form/location/components/LocationH5/location.h5.js +325 -0
  166. package/dist/src/web/components/form/location/components/LocationPC/Header.d.ts +12 -0
  167. package/dist/src/web/components/form/location/components/LocationPC/Header.js +43 -0
  168. package/dist/src/web/components/form/location/components/LocationPC/location.PC.d.ts +8 -0
  169. package/dist/src/web/components/form/location/components/LocationPC/location.PC.js +224 -0
  170. package/dist/src/web/components/form/location/constants.d.ts +2 -0
  171. package/dist/src/web/components/form/location/constants.js +3 -0
  172. package/dist/src/web/components/form/location/index.d.ts +1 -0
  173. package/dist/src/web/components/form/location/index.js +17 -0
  174. package/dist/src/web/components/form/radio/index.d.ts +11 -0
  175. package/dist/src/web/components/form/radio/index.js +115 -0
  176. package/dist/src/web/components/form/renderDecorator.d.ts +6 -0
  177. package/dist/src/web/components/form/renderDecorator.js +20 -0
  178. package/dist/src/web/components/form/select/allTimePicker/calendar.d.ts +13 -0
  179. package/dist/src/web/components/form/select/allTimePicker/calendar.js +104 -0
  180. package/dist/src/web/components/form/select/allTimePicker/dataUtils.d.ts +24 -0
  181. package/dist/src/web/components/form/select/allTimePicker/dataUtils.js +265 -0
  182. package/dist/src/web/components/form/select/allTimePicker/index.d.ts +14 -0
  183. package/dist/src/web/components/form/select/allTimePicker/index.js +943 -0
  184. package/dist/src/web/components/form/select/dropdown-select/ui.d.ts +15 -0
  185. package/dist/src/web/components/form/select/dropdown-select/ui.js +55 -0
  186. package/dist/src/web/components/form/select/h5.d.ts +16 -0
  187. package/dist/src/web/components/form/select/h5.js +452 -0
  188. package/dist/src/web/components/form/select/index.d.ts +66 -0
  189. package/dist/src/web/components/form/select/index.js +241 -0
  190. package/dist/src/web/components/form/select/region/index.d.ts +6 -0
  191. package/dist/src/web/components/form/select/region/index.js +147 -0
  192. package/dist/src/web/components/form/select/time.d.ts +9 -0
  193. package/dist/src/web/components/form/select/time.js +146 -0
  194. package/dist/src/web/components/form/select/use-options.d.ts +26 -0
  195. package/dist/src/web/components/form/select/use-options.js +103 -0
  196. package/dist/src/web/components/form/select/year.d.ts +7 -0
  197. package/dist/src/web/components/form/select/year.js +72 -0
  198. package/dist/src/web/components/form/switch/index.d.ts +6 -0
  199. package/dist/src/web/components/form/switch/index.js +58 -0
  200. package/dist/src/web/components/form/textarea/index.d.ts +12 -0
  201. package/dist/src/web/components/form/textarea/index.js +66 -0
  202. package/dist/src/web/components/form/tips/index.d.ts +8 -0
  203. package/dist/src/web/components/form/tips/index.js +17 -0
  204. package/dist/src/web/components/form/uploader/index.d.ts +3 -0
  205. package/dist/src/web/components/form/uploader/index.js +42 -0
  206. package/dist/src/web/components/form/uploader/uploader.h5.d.ts +20 -0
  207. package/dist/src/web/components/form/uploader/uploader.h5.js +199 -0
  208. package/dist/src/web/components/form/uploader/uploader.pc.d.ts +29 -0
  209. package/dist/src/web/components/form/uploader/uploader.pc.js +208 -0
  210. package/dist/src/web/components/form/uploaderFile/index.d.ts +4 -0
  211. package/dist/src/web/components/form/uploaderFile/index.js +19 -0
  212. package/dist/src/web/components/form/uploaderFile/uploadFile.h5.d.ts +23 -0
  213. package/dist/src/web/components/form/uploaderFile/uploadFile.h5.js +328 -0
  214. package/dist/src/web/components/form/uploaderFile/uploadFile.pc.d.ts +24 -0
  215. package/dist/src/web/components/form/uploaderFile/uploadFile.pc.js +299 -0
  216. package/dist/src/web/components/form/userOrgSelect/comTool.d.ts +8 -0
  217. package/dist/src/web/components/form/userOrgSelect/comTool.js +107 -0
  218. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.d.ts +19 -0
  219. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +247 -0
  220. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.d.ts +4 -0
  221. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +158 -0
  222. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.d.ts +2 -0
  223. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.js +17 -0
  224. package/dist/src/web/components/form/userOrgSelect/index.d.ts +2 -0
  225. package/dist/src/web/components/form/userOrgSelect/index.js +17 -0
  226. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.d.ts +26 -0
  227. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.js +258 -0
  228. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.d.ts +9 -0
  229. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.js +271 -0
  230. package/dist/src/web/components/form/userOrgSelect/utils.d.ts +35 -0
  231. package/dist/src/web/components/form/userOrgSelect/utils.js +72 -0
  232. package/dist/src/web/components/formdetail/index.d.ts +28 -0
  233. package/dist/src/web/components/formdetail/index.js +170 -0
  234. package/dist/src/web/components/graphicCard/index.d.ts +46 -0
  235. package/dist/src/web/components/graphicCard/index.js +179 -0
  236. package/dist/src/web/components/image/image.d.ts +9 -0
  237. package/dist/src/web/components/image/image.js +119 -0
  238. package/dist/src/web/components/image/index.d.ts +13 -0
  239. package/dist/src/web/components/image/index.js +77 -0
  240. package/dist/src/web/components/index.d.ts +50 -0
  241. package/dist/src/web/components/index.js +99 -0
  242. package/dist/src/web/components/link/index.d.ts +24 -0
  243. package/dist/src/web/components/link/index.js +71 -0
  244. package/dist/src/web/components/listView/index.d.ts +7 -0
  245. package/dist/src/web/components/listView/index.js +296 -0
  246. package/dist/src/web/components/listView/interface.d.ts +127 -0
  247. package/dist/src/web/components/listView/interface.js +1 -0
  248. package/dist/src/web/components/lottery/index.d.ts +22 -0
  249. package/dist/src/web/components/lottery/index.js +391 -0
  250. package/dist/src/web/components/lottery/lotteryUtil.d.ts +23 -0
  251. package/dist/src/web/components/lottery/lotteryUtil.js +181 -0
  252. package/dist/src/web/components/modal/index.d.ts +17 -0
  253. package/dist/src/web/components/modal/index.js +11 -0
  254. package/dist/src/web/components/modal/modal.h5.d.ts +4 -0
  255. package/dist/src/web/components/modal/modal.h5.js +46 -0
  256. package/dist/src/web/components/modal/modal.pc.d.ts +3 -0
  257. package/dist/src/web/components/modal/modal.pc.js +31 -0
  258. package/dist/src/web/components/navLayout/index.d.ts +61 -0
  259. package/dist/src/web/components/navLayout/index.js +127 -0
  260. package/dist/src/web/components/navigationBar/common.d.ts +15 -0
  261. package/dist/src/web/components/navigationBar/common.js +127 -0
  262. package/dist/src/web/components/navigationBar/h5Menu.d.ts +14 -0
  263. package/dist/src/web/components/navigationBar/h5Menu.js +72 -0
  264. package/dist/src/web/components/navigationBar/horizontalMenu.d.ts +12 -0
  265. package/dist/src/web/components/navigationBar/horizontalMenu.js +99 -0
  266. package/dist/src/web/components/navigationBar/index.d.ts +13 -0
  267. package/dist/src/web/components/navigationBar/index.js +157 -0
  268. package/dist/src/web/components/navigationBar/verticalMenu.d.ts +13 -0
  269. package/dist/src/web/components/navigationBar/verticalMenu.js +38 -0
  270. package/dist/src/web/components/phone/index.d.ts +18 -0
  271. package/dist/src/web/components/phone/index.js +4 -0
  272. package/dist/src/web/components/phoneCode/index.d.ts +18 -0
  273. package/dist/src/web/components/phoneCode/index.js +4 -0
  274. package/dist/src/web/components/picker/datePicker.d.ts +10 -0
  275. package/dist/src/web/components/picker/datePicker.js +31 -0
  276. package/dist/src/web/components/picker/picker.d.ts +6 -0
  277. package/dist/src/web/components/picker/picker.js +45 -0
  278. package/dist/src/web/components/picker/timePicker.d.ts +7 -0
  279. package/dist/src/web/components/picker/timePicker.js +42 -0
  280. package/dist/src/web/components/richText/const.d.ts +1 -0
  281. package/dist/src/web/components/richText/const.js +2 -0
  282. package/dist/src/web/components/richText/index.d.ts +50 -0
  283. package/dist/src/web/components/richText/index.js +352 -0
  284. package/dist/src/web/components/richTextView/index.d.ts +7 -0
  285. package/dist/src/web/components/richTextView/index.js +44 -0
  286. package/dist/src/web/components/scrollView/index.d.ts +27 -0
  287. package/dist/src/web/components/scrollView/index.js +95 -0
  288. package/dist/src/web/components/share/index.d.ts +34 -0
  289. package/dist/src/web/components/share/index.js +4 -0
  290. package/dist/src/web/components/slot/index.d.ts +6 -0
  291. package/dist/src/web/components/slot/index.js +9 -0
  292. package/dist/src/web/components/swiper/index.d.ts +24 -0
  293. package/dist/src/web/components/swiper/index.js +153 -0
  294. package/dist/src/web/components/tabs/index.d.ts +13 -0
  295. package/dist/src/web/components/tabs/index.js +15 -0
  296. package/dist/src/web/components/tabs/tabs.h5.d.ts +4 -0
  297. package/dist/src/web/components/tabs/tabs.h5.js +42 -0
  298. package/dist/src/web/components/tabs/tabs.pc.d.ts +3 -0
  299. package/dist/src/web/components/tabs/tabs.pc.js +40 -0
  300. package/dist/src/web/components/text/index.d.ts +14 -0
  301. package/dist/src/web/components/text/index.js +17 -0
  302. package/dist/src/web/components/uploaderFileView/index.d.ts +10 -0
  303. package/dist/src/web/components/uploaderFileView/index.js +46 -0
  304. package/dist/src/web/components/uploaderView/index.d.ts +17 -0
  305. package/dist/src/web/components/uploaderView/index.js +48 -0
  306. package/dist/src/web/components/userInfo/index.d.ts +26 -0
  307. package/dist/src/web/components/userInfo/index.js +4 -0
  308. package/dist/src/web/components/wedaVideo/index.d.ts +17 -0
  309. package/dist/src/web/components/wedaVideo/index.js +144 -0
  310. package/dist/src/web/index.d.ts +8 -0
  311. package/dist/src/web/index.js +4 -0
  312. package/dist/src/web/utils/classnames.d.ts +2 -0
  313. package/dist/src/web/utils/classnames.js +37 -0
  314. package/dist/src/web/utils/constant.d.ts +23 -0
  315. package/dist/src/web/utils/constant.js +24 -0
  316. package/dist/src/web/utils/debounce.d.ts +2 -0
  317. package/dist/src/web/utils/debounce.js +92 -0
  318. package/dist/src/web/utils/getLocalCounter.d.ts +1 -0
  319. package/dist/src/web/utils/getLocalCounter.js +4 -0
  320. package/dist/src/web/utils/getUserService.d.ts +11 -0
  321. package/dist/src/web/utils/getUserService.js +156 -0
  322. package/dist/src/web/utils/isObjectEqual.d.ts +2 -0
  323. package/dist/src/web/utils/isObjectEqual.js +12 -0
  324. package/dist/src/web/utils/loading-fallback.d.ts +2 -0
  325. package/dist/src/web/utils/loading-fallback.js +2 -0
  326. package/dist/src/web/utils/lodash.d.ts +1 -0
  327. package/dist/src/web/utils/lodash.js +2 -0
  328. package/dist/src/web/utils/platform.d.ts +18 -0
  329. package/dist/src/web/utils/platform.js +193 -0
  330. package/dist/src/web/utils/tcb.d.ts +33 -0
  331. package/dist/src/web/utils/tcb.js +118 -0
  332. package/dist/src/web/utils/tmap.d.ts +3 -0
  333. package/dist/src/web/utils/tmap.js +21 -0
  334. package/dist/src/web/utils/use-cloud-id-temp-url.d.ts +1 -0
  335. package/dist/src/web/utils/use-cloud-id-temp-url.js +15 -0
  336. package/dist/src/web/utils/useSetState.d.ts +1 -0
  337. package/dist/src/web/utils/useSetState.js +8 -0
  338. package/dist/src/web/utils/useSyncValue.d.ts +4 -0
  339. package/dist/src/web/utils/useSyncValue.js +15 -0
  340. package/dist/src/web/utils/weui.d.ts +1 -0
  341. package/dist/src/web/utils/weui.js +2 -0
  342. package/dist/web/components/form/select/allTimePicker/calendar.css +114 -0
  343. package/dist/web/components/form/select/allTimePicker/index.css +136 -0
  344. package/dist/web/components/form/userOrgSelect/userOrgSelect.css +805 -0
  345. package/package.json +15 -2
@@ -0,0 +1,127 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "text": {
6
+ "title": "按钮标题",
7
+ "default": "获取用户手机号",
8
+ "remarks": "按钮组件的标题",
9
+ "type": "string",
10
+ "x-category": "基础属性",
11
+ "x-platforms": ["MP"],
12
+ "x-index": 1
13
+ },
14
+ "type": {
15
+ "title": "按钮风格",
16
+ "type": "string",
17
+ "default": "wechat",
18
+ "remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
19
+ "enum": [
20
+ {
21
+ "label": "默认",
22
+ "value": "default"
23
+ },
24
+ {
25
+ "label": "微信",
26
+ "value": "wechat"
27
+ },
28
+ {
29
+ "label": "主要",
30
+ "value": "primary"
31
+ },
32
+ {
33
+ "label": "警告",
34
+ "value": "warn"
35
+ }
36
+ ],
37
+ "x-category": "基础属性",
38
+ "x-platforms": ["MP"],
39
+ "x-index": 2
40
+ },
41
+ "size": {
42
+ "title": "按钮大小",
43
+ "type": "string",
44
+ "default": "default",
45
+ "remarks": "按钮的大小",
46
+ "enum": [
47
+ {
48
+ "label": "中",
49
+ "value": "default"
50
+ },
51
+ {
52
+ "label": "小",
53
+ "value": "mini"
54
+ },
55
+ {
56
+ "label": "大",
57
+ "value": "large"
58
+ }
59
+ ],
60
+ "x-category": "基础属性",
61
+ "x-platforms": ["MP"],
62
+ "x-index": 3
63
+ }
64
+ }
65
+ },
66
+ "events": [
67
+ {
68
+ "title": "手机号授权成功",
69
+ "name": "phonesuccess",
70
+ "remarks": "弹窗中点击了允许按钮后触发的事件",
71
+ "x-platforms": ["MP"],
72
+ "detail": {
73
+ "phoneNumber": {
74
+ "type": "string",
75
+ "title": "区号+手机号",
76
+ "x-index": 1
77
+ },
78
+ "purePhoneNumber": {
79
+ "type": "string",
80
+ "title": "无区号手机号",
81
+ "x-index": 2
82
+ },
83
+ "countryCode": {
84
+ "type": "string",
85
+ "title": "区号",
86
+ "x-index": 3
87
+ },
88
+ "timestamp": {
89
+ "type": "string",
90
+ "title": "授权时间",
91
+ "x-index": 4
92
+ }
93
+ }
94
+ },
95
+ {
96
+ "title": "手机号授权失败",
97
+ "remarks": "弹窗中点击了拒绝按钮后触发的事件",
98
+ "name": "phonefail",
99
+ "x-platforms": ["MP"]
100
+ }
101
+ ],
102
+ "meta": {
103
+ "title": "获取用户手机号",
104
+ "description": "在小程序运行态对用户的手机号进行获取。",
105
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Phone.svg",
106
+ "category": "微信开放能力",
107
+ "categoryOrder": 100,
108
+ "componentOrder": 2,
109
+ "platform": ["MP"],
110
+ "visible": ["APP"],
111
+ "validate": [
112
+ {
113
+ "rule": "checkBusiness",
114
+ "options": {
115
+ "allowFailure": true,
116
+ "title": "小程序组件(获取用户手机号)",
117
+ "description": "组件功能依赖企业主体小程序",
118
+ "type": "mp",
119
+ "version": ""
120
+ }
121
+ }
122
+ ]
123
+ },
124
+ "configMeta": {
125
+ "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Phone"
126
+ }
127
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "text": {
6
+ "title": "按钮标题",
7
+ "default": "获取用户手机号授权令牌",
8
+ "remarks": "按钮组件的标题",
9
+ "type": "string",
10
+ "x-category": "基础属性",
11
+ "x-platforms": ["MP"],
12
+ "x-index": 1
13
+ },
14
+ "type": {
15
+ "title": "按钮风格",
16
+ "type": "string",
17
+ "default": "wechat",
18
+ "remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
19
+ "enum": [
20
+ {
21
+ "label": "默认",
22
+ "value": "default"
23
+ },
24
+ {
25
+ "label": "微信",
26
+ "value": "wechat"
27
+ },
28
+ {
29
+ "label": "主要",
30
+ "value": "primary"
31
+ },
32
+ {
33
+ "label": "警告",
34
+ "value": "warn"
35
+ }
36
+ ],
37
+ "x-category": "基础属性",
38
+ "x-platforms": ["MP"],
39
+ "x-index": 2
40
+ },
41
+ "size": {
42
+ "title": "按钮大小",
43
+ "type": "string",
44
+ "default": "default",
45
+ "remarks": "按钮的大小",
46
+ "enum": [
47
+ {
48
+ "label": "中",
49
+ "value": "default"
50
+ },
51
+ {
52
+ "label": "小",
53
+ "value": "mini"
54
+ },
55
+ {
56
+ "label": "大",
57
+ "value": "large"
58
+ }
59
+ ],
60
+ "x-category": "基础属性",
61
+ "x-platforms": ["MP"],
62
+ "x-index": 3
63
+ }
64
+ }
65
+ },
66
+ "events": [
67
+ {
68
+ "title": "获取手机号授权令牌成功",
69
+ "name": "phoneCodeSuccess",
70
+ "remarks": "弹窗中点击了允许按钮后触发的事件",
71
+ "x-platforms": ["MP"],
72
+ "detail": {
73
+ "code": {
74
+ "type": "string",
75
+ "title": "手机号授权令牌",
76
+ "x-index": 1
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "title": "获取手机号授权令牌失败",
82
+ "remarks": "弹窗中点击了拒绝按钮后触发的事件",
83
+ "name": "phoneCodeFail",
84
+ "x-platforms": ["MP"]
85
+ }
86
+ ],
87
+ "meta": {
88
+ "title": "获取用户手机号授权令牌",
89
+ "description": "获取用户手机号授权令牌组件",
90
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Phone.svg",
91
+ "category": "微信开放能力",
92
+ "categoryOrder": 100,
93
+ "componentOrder": 2,
94
+ "platform": ["MP"],
95
+ "visible": [],
96
+ "validate": [
97
+ {
98
+ "rule": "checkBusiness",
99
+ "options": {
100
+ "allowFailure": true,
101
+ "title": "小程序组件(获取用户手机号授权令牌)",
102
+ "description": "组件功能依赖企业主体小程序",
103
+ "type": "mp",
104
+ "version": ""
105
+ }
106
+ }
107
+ ]
108
+ }
109
+ }
@@ -0,0 +1,160 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "text": {
6
+ "title": "按钮标题",
7
+ "default": "小程序分享",
8
+ "remarks": "按钮组件的标题",
9
+ "type": "string",
10
+ "x-category": "基础属性",
11
+ "x-platforms": ["MP"],
12
+ "x-index": 1
13
+ },
14
+ "type": {
15
+ "title": "按钮风格",
16
+ "type": "string",
17
+ "default": "wechat",
18
+ "remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
19
+ "enum": [
20
+ {
21
+ "label": "默认",
22
+ "value": "default"
23
+ },
24
+ {
25
+ "label": "微信",
26
+ "value": "wechat"
27
+ },
28
+ {
29
+ "label": "主要",
30
+ "value": "primary"
31
+ },
32
+ {
33
+ "label": "警告",
34
+ "value": "warn"
35
+ }
36
+ ],
37
+ "x-category": "基础属性",
38
+ "x-platforms": ["MP"],
39
+ "x-index": 2
40
+ },
41
+ "size": {
42
+ "title": "按钮大小",
43
+ "type": "string",
44
+ "default": "default",
45
+ "remarks": "按钮的大小",
46
+ "enum": [
47
+ {
48
+ "label": "中",
49
+ "value": "default"
50
+ },
51
+ {
52
+ "label": "小",
53
+ "value": "mini"
54
+ },
55
+ {
56
+ "label": "大",
57
+ "value": "large"
58
+ }
59
+ ],
60
+ "x-category": "基础属性",
61
+ "x-platforms": ["MP"],
62
+ "x-index": 3
63
+ },
64
+ "title": {
65
+ "title": "{{text('分享标题', help('分享(转发)卡片的标题'))}}",
66
+ "type": "string",
67
+ "default": "",
68
+ "x-category": "基础属性",
69
+ "description": "",
70
+ "remarks": "分享(转发)卡片的标题",
71
+ "x-component": "textarea",
72
+ "x-platforms": ["MP"],
73
+ "x-index": 4
74
+ },
75
+ "image": {
76
+ "title": "{{text('分享图片', help('分享(转发)卡片的图片'))}}",
77
+ "type": "string",
78
+ "x-component": "image",
79
+ "x-rules": [
80
+ {
81
+ "message": "请输入合法的图片地址",
82
+ "pattern": "^(((https?)://)|/resources/)[^\\s]+$"
83
+ }
84
+ ],
85
+ "default": "",
86
+ "x-platforms": ["MP"],
87
+ "description": "",
88
+ "remarks": "分享(转发)卡片的图片",
89
+ "x-category": "基础属性",
90
+ "x-index": 5
91
+ },
92
+ "path": {
93
+ "type": "string",
94
+ "title": "{{text('选择页面', help('选择分享(转发)的页面'))}}",
95
+ "default": "",
96
+ "x-index": 6,
97
+ "addHidden": true,
98
+ "x-category": "基础属性",
99
+ "remarks": "选择分享(转发)的页面",
100
+ "x-linkages": [
101
+ {
102
+ "type": "value:state",
103
+ "state": {
104
+ "pageId": "{{$self.value}}"
105
+ },
106
+ "target": "*(params)",
107
+ "condition": "{{$self.value && $self.value.length>0}}"
108
+ }
109
+ ],
110
+ "description": "",
111
+ "x-component": "page-list",
112
+ "x-component-props": {
113
+ "hideAddPlatform": ["MP"]
114
+ }
115
+ },
116
+ "withParams": {
117
+ "type": "boolean",
118
+ "title": "携带参数",
119
+ "x-category": "基础属性",
120
+ "default": false,
121
+ "remarks": "分享(转发)的页面path是否携带参数",
122
+ "x-index": 7,
123
+ "x-linkages": [
124
+ {
125
+ "type": "value:visible",
126
+ "target": "params",
127
+ "condition": "{{$self.value===true}}"
128
+ }
129
+ ],
130
+ "x-props": {
131
+ "data-hidebind": true
132
+ }
133
+ },
134
+ "params": {
135
+ "type": "array",
136
+ "title": "{{text('参数', help('如果采用绑定数据的方式,数据格式参考如下:[{key: \"paramKey1\", value: \"paramValue1\"}, {key: \"paramKey2\", value: \"paramValue2\"}]'))}}",
137
+ "x-category": "基础属性",
138
+ "remarks": "分享(转发)的页面的参数,会自动获取到当前选择页面内存在的页面参数并自动根据页面参数进行展开,当用户通过转发的链接进入小程序时,页面便会按照配置的参数进行渲染。如果采用绑定数据的方式,数据格式参考如下:[{key: 'paramKey1', value: 'paramValue1'}, {key: 'paramKey2', value: 'paramValue2'}]",
139
+ "pageId": "",
140
+ "default": [],
141
+ "x-index": 8,
142
+ "x-component": "page-params"
143
+ }
144
+ }
145
+ },
146
+ "events": [],
147
+ "meta": {
148
+ "title": "小程序分享",
149
+ "description": "支持快捷实现小程序分享功能。",
150
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Share.svg",
151
+ "category": "微信开放能力",
152
+ "categoryOrder": 100,
153
+ "componentOrder": 3,
154
+ "platform": ["MP"],
155
+ "visible": ["APP"]
156
+ },
157
+ "configMeta": {
158
+ "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Share"
159
+ }
160
+ }
@@ -0,0 +1,156 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "text": {
6
+ "title": "按钮标题",
7
+ "default": "获取用户信息",
8
+ "type": "string",
9
+ "x-category": "基础属性",
10
+ "remarks": "按钮组件的标题",
11
+ "x-platforms": ["MP"],
12
+ "x-index": 1
13
+ },
14
+ "type": {
15
+ "title": "按钮风格",
16
+ "type": "string",
17
+ "default": "wechat",
18
+ "remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
19
+ "enum": [
20
+ {
21
+ "label": "默认",
22
+ "value": "default"
23
+ },
24
+ {
25
+ "label": "微信",
26
+ "value": "wechat"
27
+ },
28
+ {
29
+ "label": "主要",
30
+ "value": "primary"
31
+ },
32
+ {
33
+ "label": "警告",
34
+ "value": "warn"
35
+ }
36
+ ],
37
+ "x-category": "基础属性",
38
+ "x-platforms": ["MP"],
39
+ "x-index": 2
40
+ },
41
+ "size": {
42
+ "title": "按钮大小",
43
+ "type": "string",
44
+ "default": "default",
45
+ "remarks": "按钮的大小",
46
+ "enum": [
47
+ {
48
+ "label": "中",
49
+ "value": "default"
50
+ },
51
+ {
52
+ "label": "小",
53
+ "value": "mini"
54
+ },
55
+ {
56
+ "label": "大",
57
+ "value": "large"
58
+ }
59
+ ],
60
+ "x-category": "基础属性",
61
+ "x-platforms": ["MP"],
62
+ "x-index": 3
63
+ },
64
+ "usage": {
65
+ "title": "{{text('信息用途', help('声明获取用户个人信息的用途\\n不超过30个字符'))}}",
66
+ "type": "string",
67
+ "default": "",
68
+ "x-category": "基础属性",
69
+ "remarks": "声明获取用户个人信息的用途,不超过30个字符,若不填写将导致功能失效",
70
+ "required": true,
71
+ "x-rules": [
72
+ {
73
+ "message": "该字段必填",
74
+ "required": true
75
+ },
76
+ {
77
+ "message": "不超过30个字符",
78
+ "pattern": "^.{0,30}$"
79
+ }
80
+ ],
81
+ "description": "声明获取用户个人信息的用途,不超过30个字符,若不填写将导致功能失效",
82
+ "x-component": "textarea",
83
+ "x-platforms": ["MP"],
84
+ "x-index": 4
85
+ },
86
+ "language": {
87
+ "title": "语言",
88
+ "type": "string",
89
+ "default": "zh_CN",
90
+ "description": "",
91
+ "remarks": "用户当前国家、省份、城市所使用的语言",
92
+ "enum": [
93
+ {
94
+ "label": "简体中文",
95
+ "value": "zh_CN"
96
+ },
97
+ {
98
+ "label": "繁体中文",
99
+ "value": "zh_TW"
100
+ },
101
+ {
102
+ "label": "英文",
103
+ "value": "en"
104
+ }
105
+ ],
106
+ "x-category": "基础属性",
107
+ "x-platforms": ["MP"],
108
+ "x-index": 5
109
+ }
110
+ }
111
+ },
112
+ "events": [
113
+ {
114
+ "title": "用户信息授权成功",
115
+ "name": "userinfosuccess",
116
+ "remarks": "弹窗中点击了允许按钮后触发的事件",
117
+ "x-platforms": ["MP"],
118
+ "detail": {
119
+ "avatarUrl": {
120
+ "type": "string",
121
+ "title": "用户头像",
122
+ "x-index": 1
123
+ },
124
+ "nickName": {
125
+ "type": "string",
126
+ "title": "微信昵称",
127
+ "x-index": 2
128
+ },
129
+ "language": {
130
+ "type": "string",
131
+ "title": "语言",
132
+ "x-index": 4
133
+ }
134
+ }
135
+ },
136
+ {
137
+ "title": "用户信息授权失败",
138
+ "name": "userinfofail",
139
+ "remarks": "弹窗中点击了拒绝按钮后触发的事件",
140
+ "x-platforms": ["MP"]
141
+ }
142
+ ],
143
+ "meta": {
144
+ "title": "获取用户信息",
145
+ "description": "能够在小程序运行态对用户的微信头像、微信昵称等信息进行获取。",
146
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/UserInfo.svg",
147
+ "category": "微信开放能力",
148
+ "categoryOrder": 100,
149
+ "componentOrder": 1,
150
+ "platform": ["MP"],
151
+ "visible": ["APP"]
152
+ },
153
+ "configMeta": {
154
+ "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/UserInfo"
155
+ }
156
+ }
@@ -0,0 +1,103 @@
1
+ export namespace components {
2
+ export { FormDetail };
3
+ export { Button };
4
+ export { Text };
5
+ export { Container };
6
+ export { Image };
7
+ export { Input };
8
+ export { Radio };
9
+ export { Checkbox };
10
+ export { Switch };
11
+ export { Form };
12
+ export { Textarea };
13
+ export { Location };
14
+ export { WedaVideo };
15
+ export { Select };
16
+ export { Auth };
17
+ export { Slot };
18
+ export { Uploader };
19
+ export { UploaderFile };
20
+ export { ScrollView };
21
+ export { Swiper };
22
+ export { Carousel };
23
+ export { Tips };
24
+ export { Modal };
25
+ export { RichText };
26
+ export { RichTextView };
27
+ export { Link };
28
+ export { Drawer };
29
+ export { Tabs };
30
+ export { Calendar };
31
+ export { ListView };
32
+ export { DataView };
33
+ export { NavLayout };
34
+ export { NavigationBar };
35
+ export { Line };
36
+ export { Bar };
37
+ export { Pie };
38
+ export { StatisticsCard };
39
+ export { GraphicCard };
40
+ export { Phone };
41
+ export { PhoneCode };
42
+ export { Share };
43
+ export { UserInfo };
44
+ export { Lottery };
45
+ export { UserTreeSelect };
46
+ export { DepartTreeSelect };
47
+ }
48
+ export namespace actions {
49
+ export { showToast };
50
+ export { showModal };
51
+ }
52
+ declare namespace _default {
53
+ export { components };
54
+ export { actions };
55
+ }
56
+ export default _default;
57
+ import FormDetail from "./components/formdetail.json";
58
+ import Button from "./components/button.json";
59
+ import Text from "./components/text.json";
60
+ import Container from "./components/container.json";
61
+ import Image from "./components/image.json";
62
+ import Input from "./components/form/input.json";
63
+ import Radio from "./components/form/radio.json";
64
+ import Checkbox from "./components/form/checkbox.json";
65
+ import Switch from "./components/form/switch.json";
66
+ import Form from "./components/form/form.json";
67
+ import Textarea from "./components/form/textarea.json";
68
+ import Location from "./components/form/location.json";
69
+ import WedaVideo from "./components/wedaVideo.json";
70
+ import Select from "./components/form/select.json";
71
+ import Auth from "./components/auth.json";
72
+ import Slot from "./components/slot.json";
73
+ import Uploader from "./components/form/uploader.json";
74
+ import UploaderFile from "./components/form/uploaderFile.json";
75
+ import ScrollView from "./components/scrollVeiw.json";
76
+ import Swiper from "./components/swiper.json";
77
+ import Carousel from "./components/carousel.json";
78
+ import Tips from "./components/form/tips.json";
79
+ import Modal from "./components/modal.json";
80
+ import RichText from "./components/form/richText.json";
81
+ import RichTextView from "./components/richtextview.json";
82
+ import Link from "./components/link.json";
83
+ import Drawer from "./components/drawer.json";
84
+ import Tabs from "./components/tabs.json";
85
+ import Calendar from "./components/calendar.json";
86
+ import ListView from "./components/listView.json";
87
+ import DataView from "./components/dataView.json";
88
+ import NavLayout from "./components/navLayout.json";
89
+ import NavigationBar from "./components/navigationBar.json";
90
+ import Line from "./components/chart/line.json";
91
+ import Bar from "./components/chart/bar.json";
92
+ import Pie from "./components/chart/pie.json";
93
+ import StatisticsCard from "./components/chart/statisticsCard.json";
94
+ import GraphicCard from "./components/graphicCard.json";
95
+ import Phone from "./components/wxOpenApi/phone.json";
96
+ import PhoneCode from "./components/wxOpenApi/phoneCode.json";
97
+ import Share from "./components/wxOpenApi/share.json";
98
+ import UserInfo from "./components/wxOpenApi/userInfo.json";
99
+ import Lottery from "./components/lottery.json";
100
+ import UserTreeSelect from "./components/form/userTreeSelect.json";
101
+ import DepartTreeSelect from "./components/form/departTreeSelect.json";
102
+ import showToast from "./actions/showToast.json";
103
+ import showModal from "./actions/showModal.json";