@cloudbase/weda-ui 3.2.0 → 3.3.0

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 (356) 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 +962 -0
  12. package/dist/src/configs/components/chart/line.json +878 -0
  13. package/dist/src/configs/components/chart/pie.json +685 -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 +66 -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 +191 -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 +45 -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 +10 -0
  81. package/dist/src/web/components/chart/common/Chart.js +31 -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 +248 -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 +72 -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/error-boundary.d.ts +5 -0
  125. package/dist/src/web/components/common/error-boundary.js +33 -0
  126. package/dist/src/web/components/common/portal.d.ts +7 -0
  127. package/dist/src/web/components/common/portal.js +14 -0
  128. package/dist/src/web/components/common/use-loop-render-detect.d.ts +11 -0
  129. package/dist/src/web/components/common/use-loop-render-detect.js +124 -0
  130. package/dist/src/web/components/container/index.d.ts +6 -0
  131. package/dist/src/web/components/container/index.js +6 -0
  132. package/dist/src/web/components/dataView/index.d.ts +6 -0
  133. package/dist/src/web/components/dataView/index.js +8 -0
  134. package/dist/src/web/components/dataView/interface.d.ts +5 -0
  135. package/dist/src/web/components/dataView/interface.js +1 -0
  136. package/dist/src/web/components/drawer/index.d.ts +13 -0
  137. package/dist/src/web/components/drawer/index.js +12 -0
  138. package/dist/src/web/components/form/checkbox/index.d.ts +13 -0
  139. package/dist/src/web/components/form/checkbox/index.js +167 -0
  140. package/dist/src/web/components/form/enumSelect/MultipleSelect.d.ts +78 -0
  141. package/dist/src/web/components/form/enumSelect/MultipleSelect.js +52 -0
  142. package/dist/src/web/components/form/enumSelect/NormalSelect.d.ts +83 -0
  143. package/dist/src/web/components/form/enumSelect/NormalSelect.js +52 -0
  144. package/dist/src/web/components/form/enumSelect/SelectContainer.d.ts +16 -0
  145. package/dist/src/web/components/form/enumSelect/SelectContainer.js +30 -0
  146. package/dist/src/web/components/form/enumSelect/index.d.ts +82 -0
  147. package/dist/src/web/components/form/enumSelect/index.js +6 -0
  148. package/dist/src/web/components/form/enumSelect/props/defaultProps.d.ts +34 -0
  149. package/dist/src/web/components/form/enumSelect/props/defaultProps.js +40 -0
  150. package/dist/src/web/components/form/enumSelect/props/propsTypes.d.ts +39 -0
  151. package/dist/src/web/components/form/enumSelect/props/propsTypes.js +47 -0
  152. package/dist/src/web/components/form/form/index.d.ts +32 -0
  153. package/dist/src/web/components/form/form/index.js +150 -0
  154. package/dist/src/web/components/form/formcell/index.d.ts +8 -0
  155. package/dist/src/web/components/form/formcell/index.js +40 -0
  156. package/dist/src/web/components/form/input/index.d.ts +14 -0
  157. package/dist/src/web/components/form/input/index.js +94 -0
  158. package/dist/src/web/components/form/location/common/mapChoose.d.ts +15 -0
  159. package/dist/src/web/components/form/location/common/mapChoose.js +496 -0
  160. package/dist/src/web/components/form/location/common/mapView.d.ts +19 -0
  161. package/dist/src/web/components/form/location/common/mapView.js +175 -0
  162. package/dist/src/web/components/form/location/common/propsConfig.d.ts +59 -0
  163. package/dist/src/web/components/form/location/common/propsConfig.js +50 -0
  164. package/dist/src/web/components/form/location/common/selectModal.d.ts +21 -0
  165. package/dist/src/web/components/form/location/common/selectModal.js +44 -0
  166. package/dist/src/web/components/form/location/common/tmap.d.ts +3 -0
  167. package/dist/src/web/components/form/location/common/tmap.js +21 -0
  168. package/dist/src/web/components/form/location/common/useLocationInfo.d.ts +36 -0
  169. package/dist/src/web/components/form/location/common/useLocationInfo.js +105 -0
  170. package/dist/src/web/components/form/location/components/LocationH5/location.h5.d.ts +8 -0
  171. package/dist/src/web/components/form/location/components/LocationH5/location.h5.js +328 -0
  172. package/dist/src/web/components/form/location/components/LocationPC/Header.d.ts +12 -0
  173. package/dist/src/web/components/form/location/components/LocationPC/Header.js +43 -0
  174. package/dist/src/web/components/form/location/components/LocationPC/location.PC.d.ts +8 -0
  175. package/dist/src/web/components/form/location/components/LocationPC/location.PC.js +228 -0
  176. package/dist/src/web/components/form/location/constants.d.ts +2 -0
  177. package/dist/src/web/components/form/location/constants.js +3 -0
  178. package/dist/src/web/components/form/location/index.d.ts +1 -0
  179. package/dist/src/web/components/form/location/index.js +24 -0
  180. package/dist/src/web/components/form/radio/index.d.ts +11 -0
  181. package/dist/src/web/components/form/radio/index.js +115 -0
  182. package/dist/src/web/components/form/renderDecorator.d.ts +6 -0
  183. package/dist/src/web/components/form/renderDecorator.js +20 -0
  184. package/dist/src/web/components/form/select/allTimePicker/calendar.d.ts +13 -0
  185. package/dist/src/web/components/form/select/allTimePicker/calendar.js +104 -0
  186. package/dist/src/web/components/form/select/allTimePicker/dataUtils.d.ts +24 -0
  187. package/dist/src/web/components/form/select/allTimePicker/dataUtils.js +265 -0
  188. package/dist/src/web/components/form/select/allTimePicker/index.d.ts +14 -0
  189. package/dist/src/web/components/form/select/allTimePicker/index.js +944 -0
  190. package/dist/src/web/components/form/select/dropdown-select/ui.d.ts +15 -0
  191. package/dist/src/web/components/form/select/dropdown-select/ui.js +55 -0
  192. package/dist/src/web/components/form/select/h5.d.ts +16 -0
  193. package/dist/src/web/components/form/select/h5.js +466 -0
  194. package/dist/src/web/components/form/select/index.d.ts +66 -0
  195. package/dist/src/web/components/form/select/index.js +255 -0
  196. package/dist/src/web/components/form/select/region/index.d.ts +6 -0
  197. package/dist/src/web/components/form/select/region/index.js +147 -0
  198. package/dist/src/web/components/form/select/time.d.ts +9 -0
  199. package/dist/src/web/components/form/select/time.js +146 -0
  200. package/dist/src/web/components/form/select/use-options.d.ts +26 -0
  201. package/dist/src/web/components/form/select/use-options.js +103 -0
  202. package/dist/src/web/components/form/select/year.d.ts +7 -0
  203. package/dist/src/web/components/form/select/year.js +72 -0
  204. package/dist/src/web/components/form/switch/index.d.ts +6 -0
  205. package/dist/src/web/components/form/switch/index.js +58 -0
  206. package/dist/src/web/components/form/textarea/index.d.ts +12 -0
  207. package/dist/src/web/components/form/textarea/index.js +66 -0
  208. package/dist/src/web/components/form/tips/index.d.ts +8 -0
  209. package/dist/src/web/components/form/tips/index.js +17 -0
  210. package/dist/src/web/components/form/uploader/index.d.ts +3 -0
  211. package/dist/src/web/components/form/uploader/index.js +42 -0
  212. package/dist/src/web/components/form/uploader/uploader.h5.d.ts +20 -0
  213. package/dist/src/web/components/form/uploader/uploader.h5.js +199 -0
  214. package/dist/src/web/components/form/uploader/uploader.pc.d.ts +29 -0
  215. package/dist/src/web/components/form/uploader/uploader.pc.js +208 -0
  216. package/dist/src/web/components/form/uploaderFile/index.d.ts +4 -0
  217. package/dist/src/web/components/form/uploaderFile/index.js +19 -0
  218. package/dist/src/web/components/form/uploaderFile/uploadFile.h5.d.ts +23 -0
  219. package/dist/src/web/components/form/uploaderFile/uploadFile.h5.js +330 -0
  220. package/dist/src/web/components/form/uploaderFile/uploadFile.pc.d.ts +24 -0
  221. package/dist/src/web/components/form/uploaderFile/uploadFile.pc.js +302 -0
  222. package/dist/src/web/components/form/userOrgSelect/comTool.d.ts +8 -0
  223. package/dist/src/web/components/form/userOrgSelect/comTool.js +101 -0
  224. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.d.ts +19 -0
  225. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +252 -0
  226. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.d.ts +4 -0
  227. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +157 -0
  228. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.d.ts +2 -0
  229. package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.js +17 -0
  230. package/dist/src/web/components/form/userOrgSelect/getUserService.d.ts +11 -0
  231. package/dist/src/web/components/form/userOrgSelect/getUserService.js +159 -0
  232. package/dist/src/web/components/form/userOrgSelect/index.d.ts +2 -0
  233. package/dist/src/web/components/form/userOrgSelect/index.js +17 -0
  234. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.d.ts +27 -0
  235. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.js +276 -0
  236. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.d.ts +9 -0
  237. package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.js +253 -0
  238. package/dist/src/web/components/form/userOrgSelect/utils.d.ts +36 -0
  239. package/dist/src/web/components/form/userOrgSelect/utils.js +80 -0
  240. package/dist/src/web/components/formdetail/index.d.ts +28 -0
  241. package/dist/src/web/components/formdetail/index.js +173 -0
  242. package/dist/src/web/components/graphicCard/index.d.ts +46 -0
  243. package/dist/src/web/components/graphicCard/index.js +178 -0
  244. package/dist/src/web/components/image/image.d.ts +9 -0
  245. package/dist/src/web/components/image/image.js +119 -0
  246. package/dist/src/web/components/image/index.d.ts +13 -0
  247. package/dist/src/web/components/image/index.js +77 -0
  248. package/dist/src/web/components/index.d.ts +50 -0
  249. package/dist/src/web/components/index.js +99 -0
  250. package/dist/src/web/components/link/index.d.ts +24 -0
  251. package/dist/src/web/components/link/index.js +71 -0
  252. package/dist/src/web/components/listView/index.d.ts +7 -0
  253. package/dist/src/web/components/listView/index.js +297 -0
  254. package/dist/src/web/components/listView/interface.d.ts +127 -0
  255. package/dist/src/web/components/listView/interface.js +1 -0
  256. package/dist/src/web/components/lottery/index.d.ts +22 -0
  257. package/dist/src/web/components/lottery/index.js +385 -0
  258. package/dist/src/web/components/lottery/lotteryUtil.d.ts +23 -0
  259. package/dist/src/web/components/lottery/lotteryUtil.js +181 -0
  260. package/dist/src/web/components/modal/index.d.ts +17 -0
  261. package/dist/src/web/components/modal/index.js +11 -0
  262. package/dist/src/web/components/modal/modal.h5.d.ts +4 -0
  263. package/dist/src/web/components/modal/modal.h5.js +46 -0
  264. package/dist/src/web/components/modal/modal.pc.d.ts +3 -0
  265. package/dist/src/web/components/modal/modal.pc.js +31 -0
  266. package/dist/src/web/components/navLayout/index.d.ts +61 -0
  267. package/dist/src/web/components/navLayout/index.js +127 -0
  268. package/dist/src/web/components/navigationBar/common.d.ts +15 -0
  269. package/dist/src/web/components/navigationBar/common.js +127 -0
  270. package/dist/src/web/components/navigationBar/h5Menu.d.ts +14 -0
  271. package/dist/src/web/components/navigationBar/h5Menu.js +72 -0
  272. package/dist/src/web/components/navigationBar/horizontalMenu.d.ts +12 -0
  273. package/dist/src/web/components/navigationBar/horizontalMenu.js +99 -0
  274. package/dist/src/web/components/navigationBar/index.d.ts +13 -0
  275. package/dist/src/web/components/navigationBar/index.js +157 -0
  276. package/dist/src/web/components/navigationBar/verticalMenu.d.ts +13 -0
  277. package/dist/src/web/components/navigationBar/verticalMenu.js +38 -0
  278. package/dist/src/web/components/phone/index.d.ts +18 -0
  279. package/dist/src/web/components/phone/index.js +4 -0
  280. package/dist/src/web/components/phoneCode/index.d.ts +18 -0
  281. package/dist/src/web/components/phoneCode/index.js +4 -0
  282. package/dist/src/web/components/picker/datePicker.d.ts +10 -0
  283. package/dist/src/web/components/picker/datePicker.js +31 -0
  284. package/dist/src/web/components/picker/picker.d.ts +6 -0
  285. package/dist/src/web/components/picker/picker.js +45 -0
  286. package/dist/src/web/components/picker/timePicker.d.ts +7 -0
  287. package/dist/src/web/components/picker/timePicker.js +42 -0
  288. package/dist/src/web/components/richText/const.d.ts +1 -0
  289. package/dist/src/web/components/richText/const.js +2 -0
  290. package/dist/src/web/components/richText/index.d.ts +50 -0
  291. package/dist/src/web/components/richText/index.js +351 -0
  292. package/dist/src/web/components/richTextView/index.d.ts +7 -0
  293. package/dist/src/web/components/richTextView/index.js +46 -0
  294. package/dist/src/web/components/scrollView/index.d.ts +26 -0
  295. package/dist/src/web/components/scrollView/index.js +97 -0
  296. package/dist/src/web/components/share/index.d.ts +34 -0
  297. package/dist/src/web/components/share/index.js +4 -0
  298. package/dist/src/web/components/slot/index.d.ts +6 -0
  299. package/dist/src/web/components/slot/index.js +9 -0
  300. package/dist/src/web/components/swiper/index.d.ts +24 -0
  301. package/dist/src/web/components/swiper/index.js +153 -0
  302. package/dist/src/web/components/tabs/index.d.ts +13 -0
  303. package/dist/src/web/components/tabs/index.js +20 -0
  304. package/dist/src/web/components/tabs/tabs.h5.d.ts +4 -0
  305. package/dist/src/web/components/tabs/tabs.h5.js +44 -0
  306. package/dist/src/web/components/tabs/tabs.pc.d.ts +3 -0
  307. package/dist/src/web/components/tabs/tabs.pc.js +40 -0
  308. package/dist/src/web/components/text/index.d.ts +14 -0
  309. package/dist/src/web/components/text/index.js +19 -0
  310. package/dist/src/web/components/uploaderFileView/index.d.ts +10 -0
  311. package/dist/src/web/components/uploaderFileView/index.js +46 -0
  312. package/dist/src/web/components/uploaderView/index.d.ts +17 -0
  313. package/dist/src/web/components/uploaderView/index.js +48 -0
  314. package/dist/src/web/components/userInfo/index.d.ts +26 -0
  315. package/dist/src/web/components/userInfo/index.js +4 -0
  316. package/dist/src/web/components/wedaVideo/index.d.ts +17 -0
  317. package/dist/src/web/components/wedaVideo/index.js +156 -0
  318. package/dist/src/web/index.d.ts +8 -0
  319. package/dist/src/web/index.js +4 -0
  320. package/dist/src/web/utils/classnames.d.ts +2 -0
  321. package/dist/src/web/utils/classnames.js +37 -0
  322. package/dist/src/web/utils/console.d.ts +3 -0
  323. package/dist/src/web/utils/console.js +26 -0
  324. package/dist/src/web/utils/constant.d.ts +23 -0
  325. package/dist/src/web/utils/constant.js +24 -0
  326. package/dist/src/web/utils/debounce.d.ts +2 -0
  327. package/dist/src/web/utils/debounce.js +92 -0
  328. package/dist/src/web/utils/getLocalCounter.d.ts +1 -0
  329. package/dist/src/web/utils/getLocalCounter.js +4 -0
  330. package/dist/src/web/utils/getUserService.d.ts +11 -0
  331. package/dist/src/web/utils/getUserService.js +156 -0
  332. package/dist/src/web/utils/isObjectEqual.d.ts +2 -0
  333. package/dist/src/web/utils/isObjectEqual.js +12 -0
  334. package/dist/src/web/utils/loading-fallback.d.ts +2 -0
  335. package/dist/src/web/utils/loading-fallback.js +2 -0
  336. package/dist/src/web/utils/lodash.d.ts +1 -0
  337. package/dist/src/web/utils/lodash.js +2 -0
  338. package/dist/src/web/utils/platform.d.ts +18 -0
  339. package/dist/src/web/utils/platform.js +193 -0
  340. package/dist/src/web/utils/tcb.d.ts +33 -0
  341. package/dist/src/web/utils/tcb.js +118 -0
  342. package/dist/src/web/utils/tmap.d.ts +3 -0
  343. package/dist/src/web/utils/tmap.js +21 -0
  344. package/dist/src/web/utils/use-cloud-id-temp-url.d.ts +1 -0
  345. package/dist/src/web/utils/use-cloud-id-temp-url.js +15 -0
  346. package/dist/src/web/utils/useSetState.d.ts +1 -0
  347. package/dist/src/web/utils/useSetState.js +8 -0
  348. package/dist/src/web/utils/useSyncValue.d.ts +4 -0
  349. package/dist/src/web/utils/useSyncValue.js +16 -0
  350. package/dist/src/web/utils/weui.d.ts +1 -0
  351. package/dist/src/web/utils/weui.js +2 -0
  352. package/dist/web/components/form/input/index.css +16 -0
  353. package/dist/web/components/form/select/allTimePicker/calendar.css +114 -0
  354. package/dist/web/components/form/select/allTimePicker/index.css +136 -0
  355. package/dist/web/components/form/userOrgSelect/userOrgSelect.css +809 -0
  356. package/package.json +34 -21
@@ -0,0 +1,115 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "visible": {
6
+ "title": "显示",
7
+ "x-index": 1,
8
+ "type": "boolean",
9
+ "default": true,
10
+ "x-category": "基础属性"
11
+ },
12
+ "title": {
13
+ "title": "标题",
14
+ "type": "string",
15
+ "x-index": 2,
16
+ "default": "大标题",
17
+ "x-category": "基础属性"
18
+ },
19
+ "subtitle": {
20
+ "title": "副标题",
21
+ "description": "副标题/说明文字",
22
+ "x-index": 3,
23
+ "type": "string",
24
+ "default": "副标题",
25
+ "x-category": "基础属性"
26
+ },
27
+ "size": {
28
+ "title": "尺寸",
29
+ "type": "string",
30
+ "x-index": 5,
31
+ "default": "m",
32
+ "enum": [
33
+ {
34
+ "label": "小尺寸(360px)",
35
+ "value": "m"
36
+ },
37
+ {
38
+ "label": "大尺寸(800px)",
39
+ "value": "l"
40
+ }
41
+ ],
42
+ "x-category": "高级属性"
43
+ },
44
+ "showMask": {
45
+ "title": "显示遮罩",
46
+ "x-index": 7,
47
+ "type": "boolean",
48
+ "default": false,
49
+ "x-category": "高级属性"
50
+ },
51
+ "outerClickClosable": {
52
+ "title": "点击外部收起面板",
53
+ "description": "点击面板外是否收起面板",
54
+ "x-index": 8,
55
+ "type": "boolean",
56
+ "default": true,
57
+ "x-category": "高级属性"
58
+ },
59
+ "disableCloseIcon": {
60
+ "title": "禁用头部关闭图标",
61
+ "type": "boolean",
62
+ "x-index": 9,
63
+ "default": false,
64
+ "x-category": "高级属性"
65
+ },
66
+ "placement": {
67
+ "title": "抽屉方向",
68
+ "type": "string",
69
+ "x-index": 10,
70
+ "default": "right",
71
+ "enum": [
72
+ {
73
+ "label": "右侧出来",
74
+ "value": "right"
75
+ },
76
+ {
77
+ "label": "左侧出来",
78
+ "value": "left"
79
+ }
80
+ ],
81
+ "x-category": "高级属性"
82
+ },
83
+ "extraSlot": {
84
+ "title": "头部右侧渲染内容",
85
+ "type": "slot"
86
+ },
87
+ "childrenSlot": {
88
+ "title": "内容区域",
89
+ "type": "slot"
90
+ },
91
+ "footerSlot": {
92
+ "title": "底部区域",
93
+ "type": "slot"
94
+ }
95
+ }
96
+ },
97
+ "events": [
98
+ {
99
+ "name": "onClose",
100
+ "title": "点击关闭图标或抽屉外区域的回调"
101
+ },
102
+ {
103
+ "name": "onExited",
104
+ "title": "抽屉关闭动画结束时回调"
105
+ }
106
+ ],
107
+ "platforms": ["web"],
108
+ "meta": {
109
+ "title": "抽屉弹窗",
110
+ "description": "右侧浮层",
111
+ "category": "高级",
112
+ "icon": "../icons/index.svg",
113
+ "componentOrder": 14
114
+ }
115
+ }
@@ -0,0 +1,179 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "label": {
6
+ "type": "string",
7
+ "default": "标题",
8
+ "title": "标题"
9
+ },
10
+ "labelVisible": {
11
+ "type": "boolean",
12
+ "default": true,
13
+ "title": "显示标题"
14
+ },
15
+ "range": {
16
+ "x-component": "list",
17
+ "type": "array",
18
+ "default": [
19
+ {
20
+ "label": "多选-选项1",
21
+ "value": "1",
22
+ "checked": false
23
+ },
24
+ {
25
+ "label": "多选-选项2",
26
+ "value": "2",
27
+ "checked": false
28
+ }
29
+ ],
30
+ "title": "列表项",
31
+ "x-linkages": [
32
+ {
33
+ "type": "value:schema",
34
+ "target": "range",
35
+ "schema": {
36
+ "items": {
37
+ "path": "range.*",
38
+ "type": "object",
39
+ "display": "label",
40
+ "properties": {
41
+ "label": {
42
+ "type": "string",
43
+ "title": "选项名称",
44
+ "default": "多选-选项1"
45
+ },
46
+ "value": {
47
+ "type": "string",
48
+ "title": "选项值",
49
+ "default": "1"
50
+ },
51
+ "checked": {
52
+ "type": "boolean",
53
+ "title": "当前是否选中",
54
+ "default": false
55
+ }
56
+ },
57
+ "default": {
58
+ "label": "{{'多选-选项' + ($self.value.length+1)}}",
59
+ "value": "{{$self.value.length+1}}",
60
+ "checked": false
61
+ }
62
+ }
63
+ }
64
+ }
65
+ ],
66
+ "items": {
67
+ "type": "object",
68
+ "display": "label",
69
+ "properties": {
70
+ "label": {
71
+ "type": "string",
72
+ "title": "选项名称",
73
+ "default": "多选-选项"
74
+ },
75
+ "value": {
76
+ "type": "string",
77
+ "title": "选项值",
78
+ "default": "1"
79
+ },
80
+ "checked": {
81
+ "type": "boolean",
82
+ "title": "当前是否选中",
83
+ "default": false
84
+ }
85
+ },
86
+ "default": {
87
+ "label": "选项",
88
+ "value": "1",
89
+ "checked": false
90
+ }
91
+ }
92
+ },
93
+ "layout": {
94
+ "title": "布局方式",
95
+ "type": "string",
96
+ "default": "horizontal",
97
+ "enum": [
98
+ {
99
+ "label": "水平",
100
+ "value": "horizontal"
101
+ },
102
+ {
103
+ "label": "垂直",
104
+ "value": "vertical"
105
+ }
106
+ ]
107
+ },
108
+ "disabled": {
109
+ "type": "boolean",
110
+ "default": false,
111
+ "title": "是否禁用"
112
+ },
113
+ "requiredFlag": {
114
+ "type": "boolean",
115
+ "default": false,
116
+ "title": "是否显示必填标记"
117
+ },
118
+ "controlValue": {
119
+ "type": "array",
120
+ "default": [],
121
+ "title": "选中值"
122
+ },
123
+ "tipBlock": {
124
+ "title": "选项",
125
+ "type": "string",
126
+ "x-component": "selection-tip",
127
+ "default": "",
128
+ "x-props": {
129
+ "data-hidebind": true
130
+ }
131
+ },
132
+ "enumName": {
133
+ "type": "string",
134
+ "default": "",
135
+ "title": "字段类型",
136
+ "x-linkages": [
137
+ {
138
+ "type": "value:visible",
139
+ "target": "enumName",
140
+ "condition": false
141
+ }
142
+ ]
143
+ },
144
+ "format": {
145
+ "type": "string",
146
+ "default": "",
147
+ "title": "字段类型",
148
+ "x-linkages": [
149
+ {
150
+ "type": "value:visible",
151
+ "target": "range",
152
+ "condition": "{{$self.value!='x-enum'}}"
153
+ },
154
+ {
155
+ "type": "value:visible",
156
+ "target": "format",
157
+ "condition": false
158
+ },
159
+ {
160
+ "type": "value:visible",
161
+ "target": "tipBlock",
162
+ "condition": "{{$self.value=='x-enum'}}"
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ },
168
+ "meta": {
169
+ "title": "多选框",
170
+ "description": "多选框",
171
+ "category": "表单"
172
+ },
173
+ "events": [
174
+ {
175
+ "name": "change",
176
+ "title": "选中状态改变"
177
+ }
178
+ ]
179
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "label": {
6
+ "type": "string",
7
+ "default": "部门",
8
+ "title": "标题"
9
+ },
10
+ "labelVisible": {
11
+ "type": "boolean",
12
+ "default": true,
13
+ "title": "显示标题"
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "default": "formDepartTreeSelect",
18
+ "title": "提交后台所用字段"
19
+ },
20
+ "placeholder": {
21
+ "type": "string",
22
+ "default": "请选择部门",
23
+ "title": "提示文字"
24
+ },
25
+ "defaultValueType": {
26
+ "type": "string",
27
+ "default": "noneDepart",
28
+ "title": "选中值",
29
+ "enum": [
30
+ {
31
+ "label": "无",
32
+ "value": "noneDepart"
33
+ },
34
+ {
35
+ "label": "指定部门",
36
+ "value": "confirmDepart"
37
+ }
38
+ ],
39
+ "x-linkages": [
40
+ {
41
+ "type": "value:visible",
42
+ "target": "confirmValue",
43
+ "condition": "{{$self.value=='confirmDepart'}}"
44
+ }
45
+ ]
46
+ },
47
+ "confirmValue": {
48
+ "type": "string",
49
+ "default": "",
50
+ "title": "指定部门id"
51
+ },
52
+ "defaultValue": {
53
+ "type": "string",
54
+ "default": "",
55
+ "title": ""
56
+ },
57
+ "layout": {
58
+ "title": "布局方式",
59
+ "type": "string",
60
+ "default": "horizontal",
61
+ "enum": [
62
+ {
63
+ "label": "水平",
64
+ "value": "horizontal"
65
+ },
66
+ {
67
+ "label": "垂直",
68
+ "value": "vertical"
69
+ }
70
+ ]
71
+ },
72
+ "requiredFlag": {
73
+ "type": "boolean",
74
+ "default": false,
75
+ "title": "是否显示必填标记"
76
+ },
77
+ "multiple": {
78
+ "type": "boolean",
79
+ "default": false,
80
+ "title": "是否多选"
81
+ },
82
+ "size": {
83
+ "title": "大小",
84
+ "type": "string",
85
+ "default": "full",
86
+ "enum": [
87
+ {
88
+ "label": "大",
89
+ "value": "l"
90
+ },
91
+ {
92
+ "label": "中",
93
+ "value": "m"
94
+ },
95
+ {
96
+ "label": "小",
97
+ "value": "s"
98
+ },
99
+ {
100
+ "label": "占满",
101
+ "value": "full"
102
+ }
103
+ ]
104
+ },
105
+ "disabled": {
106
+ "type": "boolean",
107
+ "default": false,
108
+ "title": "是否禁用"
109
+ }
110
+ }
111
+ },
112
+ "meta": {
113
+ "title": "部门选择",
114
+ "description": "部门选择",
115
+ "category": "表单",
116
+ "icon": "https://qcloudimg.tencent-cloud.cn/raw/6389c8eeb3c6a3227ab5d49574152582.svg"
117
+ },
118
+ "events": [
119
+ {
120
+ "name": "change",
121
+ "title": "值改变"
122
+ }
123
+ ]
124
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "formType": {
6
+ "type": "string",
7
+ "title": "表单场景",
8
+ "default": "create"
9
+ },
10
+ "datasourceType": {
11
+ "type": "string",
12
+ "title": "数据源类型",
13
+ "default": "model"
14
+ },
15
+ "dataSourceName": {
16
+ "type": "string",
17
+ "title": "数据模型"
18
+ },
19
+ "_id": {
20
+ "type": "string",
21
+ "title": "数据标识(_id)"
22
+ },
23
+ "methodCreate": {
24
+ "type": "string",
25
+ "title": "新增方法"
26
+ },
27
+ "methodGetItem": {
28
+ "type": "string",
29
+ "title": "查询方法"
30
+ },
31
+ "paramGetItem": {
32
+ "type": "object",
33
+ "title": "查询入参"
34
+ },
35
+ "methodUpdate": {
36
+ "type": "string",
37
+ "title": "更新方法"
38
+ },
39
+ "layout": {
40
+ "type": "string",
41
+ "title": "布局方式",
42
+ "default": "horizontal"
43
+ },
44
+ "contentSlot": {
45
+ "type": "slot",
46
+ "title": "控制区"
47
+ }
48
+ }
49
+ },
50
+ "events": [
51
+ {
52
+ "name": "submit",
53
+ "title": "提交"
54
+ },
55
+ {
56
+ "name": "reset",
57
+ "title": "重置"
58
+ },
59
+ {
60
+ "name": "onInitValue",
61
+ "title": "获取初始值"
62
+ },
63
+ {
64
+ "name": "onInitDataSourceFieldsWithAuth",
65
+ "title": "获取带有权限的数据源字段"
66
+ }
67
+ ],
68
+ "meta": {
69
+ "title": "表单容器",
70
+ "description": "表单容器",
71
+ "category": "表单"
72
+ }
73
+ }
@@ -0,0 +1,154 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "label": {
6
+ "type": "string",
7
+ "default": "标题",
8
+ "title": "标题"
9
+ },
10
+ "labelVisible": {
11
+ "type": "boolean",
12
+ "default": true,
13
+ "title": "显示标题"
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "default": "formInput",
18
+ "title": "提交后台所用字段"
19
+ },
20
+ "defaultValue": {
21
+ "type": "string",
22
+ "default": "",
23
+ "title": "初始值"
24
+ },
25
+ "password": {
26
+ "type": "boolean",
27
+ "default": false,
28
+ "title": "密码"
29
+ },
30
+ "placeholder": {
31
+ "type": "string",
32
+ "default": "请输入",
33
+ "title": "占位符"
34
+ },
35
+ "type": {
36
+ "type": "string",
37
+ "default": "text",
38
+ "enum": [
39
+ {
40
+ "label": "文本输入",
41
+ "value": "text"
42
+ },
43
+ {
44
+ "label": "数字输入",
45
+ "value": "number"
46
+ },
47
+ {
48
+ "label": "身份证输入",
49
+ "value": "idcard",
50
+ "x-platforms": ["MP"]
51
+ },
52
+ {
53
+ "label": "带小数点的数字",
54
+ "value": "digit"
55
+ }
56
+ ],
57
+ "title": "输入类型"
58
+ },
59
+ "maxLength": {
60
+ "type": "number",
61
+ "default": 140,
62
+ "title": "最大输入长度",
63
+ "description": "最大输入长度,设置为 -1 的时候不限制最大长度"
64
+ },
65
+ "disabled": {
66
+ "type": "boolean",
67
+ "default": false,
68
+ "title": "是否禁用"
69
+ },
70
+ "focus": {
71
+ "type": "boolean",
72
+ "default": false,
73
+ "title": "获取焦点"
74
+ },
75
+ "layout": {
76
+ "title": "布局方式",
77
+ "type": "string",
78
+ "default": "horizontal",
79
+ "enum": [
80
+ {
81
+ "label": "水平",
82
+ "value": "horizontal"
83
+ },
84
+ {
85
+ "label": "垂直",
86
+ "value": "vertical"
87
+ }
88
+ ]
89
+ },
90
+ "requiredFlag": {
91
+ "type": "boolean",
92
+ "default": false,
93
+ "title": "是否显示必填标记"
94
+ },
95
+ "size": {
96
+ "title": "大小",
97
+ "type": "string",
98
+ "default": "l",
99
+ "enum": [
100
+ {
101
+ "label": "大",
102
+ "value": "l"
103
+ },
104
+ {
105
+ "label": "中",
106
+ "value": "m"
107
+ },
108
+ {
109
+ "label": "小",
110
+ "value": "s"
111
+ },
112
+ {
113
+ "label": "占满",
114
+ "value": "full"
115
+ }
116
+ ],
117
+ "x-platforms": ["PCWEB"]
118
+ },
119
+ "clearable": {
120
+ "type": "boolean",
121
+ "default": true,
122
+ "title": "是否显示清空按钮",
123
+ "x-platforms": ["MOBILEWEB", "MP"]
124
+ }
125
+ }
126
+ },
127
+ "meta": {
128
+ "title": "输入框",
129
+ "description": "输入框",
130
+ "category": "表单"
131
+ },
132
+ "events": [
133
+ {
134
+ "name": "change",
135
+ "title": "输入改变"
136
+ },
137
+ {
138
+ "name": "focus",
139
+ "title": "聚焦"
140
+ },
141
+ {
142
+ "name": "blur",
143
+ "title": "失焦"
144
+ },
145
+ {
146
+ "name": "confirm",
147
+ "title": "确认"
148
+ },
149
+ {
150
+ "name": "clear",
151
+ "title": "清除内容"
152
+ }
153
+ ]
154
+ }