@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 @@
1
+ import 'cypress-wait-until';
@@ -0,0 +1,40 @@
1
+ /// <reference types="cypress" />
2
+ // ***********************************************
3
+ // This example commands.ts shows you how to
4
+ // create various custom commands and overwrite
5
+ // existing commands.
6
+ //
7
+ // For more comprehensive examples of custom
8
+ // commands please read more here:
9
+ // https://on.cypress.io/custom-commands
10
+ // ***********************************************
11
+ //
12
+ //
13
+ // -- This is a parent command --
14
+ // Cypress.Commands.add('login', (email, password) => { ... })
15
+ //
16
+ //
17
+ // -- This is a child command --
18
+ // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19
+ //
20
+ //
21
+ // -- This is a dual command --
22
+ // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23
+ //
24
+ //
25
+ // -- This will overwrite an existing command --
26
+ // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27
+ //
28
+ // declare global {
29
+ // namespace Cypress {
30
+ // interface Chainable {
31
+ // login(email: string, password: string): Chainable<void>
32
+ // drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33
+ // dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34
+ // visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35
+ // }
36
+ // }
37
+ // }
38
+ const compareSnapshotCommand = require('cypress-image-diff-js/dist/command');
39
+ compareSnapshotCommand();
40
+ import 'cypress-wait-until';
@@ -0,0 +1,24 @@
1
+ import './commands';
2
+ import 'style-loader!css-loader!./global-app.css';
3
+ declare global {
4
+ namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * @param name The name of the snapshots that will be generated
8
+ * @param testThreshold @default 0 A number between 0 and 1 that represents the allowed percentage of pixels that can be different between the two snapshots
9
+ * @param retryOptions @default { limit: 0, timeout: Cypress.config('defaultCommandTimeout'), delay: Cypress.config('defaultCommandTimeout') / 5 }
10
+ * @example cy.compareSnapshot('empty-canvas', 0.1)
11
+ */
12
+ compareSnapshot(name: string, testThreshold?: number, retryOptions?: {
13
+ /**
14
+ * The maximum number of retries
15
+ */
16
+ limit: number;
17
+ /**
18
+ * Delay before next iteration in ms
19
+ */
20
+ delay: number;
21
+ }): Chainable<Element>;
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,22 @@
1
+ // ***********************************************************
2
+ // This example support/e2e.ts is processed and
3
+ // loaded automatically before your test files.
4
+ //
5
+ // This is a great place to put global configuration and
6
+ // behavior that modifies Cypress.
7
+ //
8
+ // You can change the location of this file or turn off
9
+ // automatically serving support files with the
10
+ // 'supportFile' configuration option.
11
+ //
12
+ // You can read more here:
13
+ // https://on.cypress.io/configuration
14
+ // ***********************************************************
15
+ // Import commands.js using ES2015 syntax:
16
+ import './commands';
17
+ import 'style-loader!css-loader!./global-app.css';
18
+ // Alternatively you can use CommonJS syntax:
19
+ // require('./commands')
20
+ after(() => {
21
+ cy.task('generateReport');
22
+ });
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_action.json",
3
+ "data": {
4
+ "properties": {
5
+ "title": {
6
+ "title": "标题",
7
+ "default": "弹窗标题",
8
+ "type": "string"
9
+ },
10
+ "content": {
11
+ "title": "内容",
12
+ "default": "请输入弹窗内容",
13
+ "type": "string"
14
+ },
15
+ "showCancel": {
16
+ "title": "是否显示取消按钮",
17
+ "type": "boolean",
18
+ "default": true
19
+ },
20
+ "cancelText": {
21
+ "type": "string",
22
+ "title": "取消按钮的文字",
23
+ "description": "最多 4 个字符",
24
+ "default": "取消"
25
+ },
26
+ "cancelColor": {
27
+ "title": "取消按钮的文字颜色",
28
+ "type": "color",
29
+ "default": "#000000"
30
+ },
31
+ "confirmText": {
32
+ "type": "string",
33
+ "title": "确认按钮的文字",
34
+ "description": "最多 4 个字符",
35
+ "default": "确认"
36
+ },
37
+ "confirmColor": {
38
+ "title": "确认按钮的文字颜色",
39
+ "type": "color",
40
+ "default": "#576B95"
41
+ }
42
+ }
43
+ },
44
+ "meta": {
45
+ "title": "showModal",
46
+ "description": "showModal 弹窗"
47
+ }
48
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_action.json",
3
+ "data": {
4
+ "properties": {
5
+ "title": {
6
+ "title": "标题",
7
+ "type": "string",
8
+ "default": "提示的内容"
9
+ },
10
+ "icon": {
11
+ "title": "图标",
12
+ "type": "string",
13
+ "default": "success",
14
+ "x-component": "radio",
15
+ "enum": [
16
+ {
17
+ "label": "success",
18
+ "value": "success"
19
+ },
20
+ {
21
+ "label": "loading",
22
+ "value": "loading"
23
+ },
24
+ {
25
+ "label": "none",
26
+ "value": "none"
27
+ }
28
+ ]
29
+ },
30
+ "duration": {
31
+ "title": "提示的延迟时间",
32
+ "type": "number",
33
+ "default": 1500
34
+ }
35
+ }
36
+ },
37
+ "meta": {
38
+ "title": "showToast",
39
+ "description": "自定义提示"
40
+ }
41
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {}
5
+ },
6
+ "events": [],
7
+ "meta": {
8
+ "name": "Auth",
9
+ "title": "登录",
10
+ "description": "登录组件",
11
+ "icon": "./auth.svg",
12
+ "category": "开放能力",
13
+ "categoryOrder": 1,
14
+ "componentOrder": 1
15
+ }
16
+ }
@@ -0,0 +1,239 @@
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
+ },
11
+ "size": {
12
+ "title": "大小",
13
+ "type": "string",
14
+ "default": "default",
15
+ "x-component": "radio",
16
+ "enum": [
17
+ {
18
+ "label": "中",
19
+ "value": "default"
20
+ },
21
+ {
22
+ "label": "小",
23
+ "value": "mini"
24
+ },
25
+ {
26
+ "label": "大",
27
+ "value": "large"
28
+ }
29
+ ],
30
+ "x-category": "基础属性"
31
+ },
32
+ "type": {
33
+ "title": "展示类型",
34
+ "type": "string",
35
+ "default": "primary",
36
+ "x-component": "radio",
37
+ "enum": [
38
+ {
39
+ "label": "default",
40
+ "value": "default"
41
+ },
42
+ {
43
+ "label": "primary",
44
+ "value": "primary"
45
+ },
46
+ {
47
+ "label": "warn",
48
+ "value": "warn"
49
+ }
50
+ ],
51
+ "x-category": "基础属性"
52
+ },
53
+ "loading": {
54
+ "title": "加载中",
55
+ "type": "boolean",
56
+ "default": false,
57
+ "x-category": "基础属性"
58
+ },
59
+ "disabled": {
60
+ "title": "禁用",
61
+ "type": "boolean",
62
+ "default": false,
63
+ "x-category": "基础属性"
64
+ },
65
+ "formType": {
66
+ "title": "表单类型",
67
+ "type": "string",
68
+ "enum": [
69
+ {
70
+ "label": "button",
71
+ "value": "button"
72
+ },
73
+ {
74
+ "label": "submit",
75
+ "value": "submit"
76
+ },
77
+ {
78
+ "label": "reset",
79
+ "value": "reset"
80
+ }
81
+ ],
82
+ "x-category": "基础属性"
83
+ },
84
+ "openType": {
85
+ "title": "微信开放能力",
86
+ "type": "string",
87
+ "x-linkages": [
88
+ {
89
+ "type": "value:visible",
90
+ "target": "*(sessionFrom,sendMessageTitle,sendMessageImg,sendMessagePath,showMessageCard)",
91
+ "condition": "{{ $self.value === 'contact' }}"
92
+ },
93
+ {
94
+ "type": "value:visible",
95
+ "target": "appParameter",
96
+ "condition": "{{ $self.value === 'launchApp' }}"
97
+ },
98
+ {
99
+ "type": "value:visible",
100
+ "target": "categoryId",
101
+ "condition": "{{ $self.value === 'getRealnameAuthInfo' }}"
102
+ }
103
+ ],
104
+ "enum": [
105
+ {
106
+ "label": "无",
107
+ "value": ""
108
+ },
109
+ {
110
+ "label": "打开客服会话",
111
+ "value": "contact"
112
+ },
113
+ {
114
+ "label": "转发",
115
+ "value": "share"
116
+ },
117
+ {
118
+ "label": "打开App",
119
+ "value": "launchApp"
120
+ },
121
+ {
122
+ "label": "打开授权设置",
123
+ "value": "openSetting"
124
+ },
125
+ {
126
+ "label": "打开意见反馈",
127
+ "value": "feedback"
128
+ }
129
+ ],
130
+ "x-platforms": ["MP"],
131
+ "x-category": "高级属性"
132
+ },
133
+ "contentSlot": {
134
+ "type": "slot"
135
+ },
136
+ "categoryId": {
137
+ "title": "类目ID",
138
+ "type": "array",
139
+ "items": {
140
+ "title": "初始值",
141
+ "type": "number"
142
+ },
143
+ "maxLength": 2,
144
+ "minLength": 2,
145
+ "x-platforms": ["MP"],
146
+ "x-category": "高级属性"
147
+ },
148
+ "sessionFrom": {
149
+ "title": "会话来源",
150
+ "type": "string",
151
+ "default": "",
152
+ "x-platforms": ["MP"],
153
+ "x-category": "高级属性"
154
+ },
155
+ "sendMessageTitle": {
156
+ "title": "会话内消息卡片标题",
157
+ "type": "string",
158
+ "default": "",
159
+ "x-platforms": ["MP"],
160
+ "x-category": "高级属性"
161
+ },
162
+ "sendMessagePath": {
163
+ "title": "会话内消息卡片点击跳转小程序路径",
164
+ "type": "string",
165
+ "default": "",
166
+ "x-platforms": ["MP"],
167
+ "x-category": "高级属性"
168
+ },
169
+ "sendMessageImg": {
170
+ "title": "会话内消息卡片图片",
171
+ "type": "string",
172
+ "x-component": "image",
173
+ "x-rules": [
174
+ {
175
+ "message": "请输入合法的图片地址",
176
+ "pattern": "^(((https?)://)|/resources/)[^\\s]+$"
177
+ }
178
+ ],
179
+ "default": "",
180
+ "x-platforms": ["MP"],
181
+ "x-category": "高级属性"
182
+ },
183
+ "showMessageCard": {
184
+ "title": "是否显示会话内消息卡片",
185
+ "type": "boolean",
186
+ "default": false,
187
+ "x-platforms": ["MP"],
188
+ "x-category": "高级属性"
189
+ },
190
+ "appParameter": {
191
+ "title": "打开APP时,向APP传递的参数",
192
+ "default": "",
193
+ "type": "string",
194
+ "x-platforms": ["MP"],
195
+ "x-category": "高级属性"
196
+ }
197
+ }
198
+ },
199
+ "events": [
200
+ {
201
+ "title": "点击",
202
+ "name": "tap"
203
+ },
204
+ {
205
+ "title": "获取手机号",
206
+ "name": "getPhoneNumber",
207
+ "x-platforms": ["MP"]
208
+ },
209
+ {
210
+ "title": "打开客服会话",
211
+ "name": "contact",
212
+ "x-platforms": ["MP"]
213
+ },
214
+ {
215
+ "title": "获取用户信息",
216
+ "name": "getUserInfo",
217
+ "x-platforms": ["MP"]
218
+ },
219
+ {
220
+ "title": "打开App",
221
+ "name": "launchApp",
222
+ "x-platforms": ["MP"]
223
+ },
224
+ {
225
+ "title": "打开授权设置",
226
+ "name": "openSetting",
227
+ "x-platforms": ["MP"]
228
+ }
229
+ ],
230
+ "meta": {
231
+ "name": "Button",
232
+ "title": "按钮",
233
+ "description": "按钮组件",
234
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Button.svg",
235
+ "category": "展示",
236
+ "categoryOrder": 1,
237
+ "componentOrder": 1
238
+ }
239
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "initValue": {
6
+ "type": "date",
7
+ "title": "日历展示时间",
8
+ "x-category": "基础属性",
9
+ "x-index": 1,
10
+ "remarks": "已选中效果展示的日期"
11
+ },
12
+ "configData": {
13
+ "type": "array",
14
+ "title": "展示配置",
15
+ "x-category": "基础属性",
16
+ "remarks": "可设置多个不同日期的特殊显示效果",
17
+ "x-index": 2,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "matchDate": {
22
+ "title": "对应日期",
23
+ "type": "date"
24
+ },
25
+ "disabled": {
26
+ "title": "是否置灰",
27
+ "type": "string",
28
+ "enum": [
29
+ {
30
+ "label": "是",
31
+ "value": "true"
32
+ },
33
+ {
34
+ "label": "否",
35
+ "value": "false"
36
+ }
37
+ ]
38
+ },
39
+ "marked": {
40
+ "title": "打点标记",
41
+ "type": "string",
42
+ "enum": [
43
+ {
44
+ "label": "红色",
45
+ "value": "#E34D59"
46
+ },
47
+ {
48
+ "label": "绿色",
49
+ "value": "#00A870"
50
+ },
51
+ {
52
+ "label": "橙色",
53
+ "value": "#ED7B2F"
54
+ }
55
+ ]
56
+ }
57
+ }
58
+ },
59
+ "default": []
60
+ },
61
+ "initVisible": {
62
+ "type": "boolean",
63
+ "default": true,
64
+ "title": "时间控制器",
65
+ "x-category": "基础属性",
66
+ "x-index": 3,
67
+ "remarks": "显示切换年月的操作按钮"
68
+ }
69
+ }
70
+ },
71
+ "meta": {
72
+ "name": "Calendar",
73
+ "title": "日历",
74
+ "description": "用于日历展示,例如考勤数据展示、日程展示。",
75
+ "category": "展示",
76
+ "icon": "https://imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Calendar.svg"
77
+ },
78
+ "configMeta": {
79
+ "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/Calendar"
80
+ }
81
+ }