@cloudbase/weda-ui-mp 3.6.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 (597) hide show
  1. package/README.md +1 -0
  2. package/actions/showMessage/index.js +3 -0
  3. package/actions/showModal/index.js +3 -0
  4. package/actions/showToast/index.js +3 -0
  5. package/app.js +0 -0
  6. package/components/button/index.js +89 -0
  7. package/components/button/index.json +4 -0
  8. package/components/button/index.wxml +22 -0
  9. package/components/button/index.wxss +13 -0
  10. package/components/calendar/arrowright--line.svg +3 -0
  11. package/components/calendar/index.js +439 -0
  12. package/components/calendar/index.json +5 -0
  13. package/components/calendar/index.wxml +35 -0
  14. package/components/calendar/index.wxss +203 -0
  15. package/components/carousel/index.js +91 -0
  16. package/components/carousel/index.json +7 -0
  17. package/components/carousel/index.wxml +6 -0
  18. package/components/chart/bar/index.js +331 -0
  19. package/components/chart/bar/index.json +6 -0
  20. package/components/chart/bar/index.wxml +1 -0
  21. package/components/chart/bar/index.wxss +9 -0
  22. package/components/chart/common/config/bar.js +50 -0
  23. package/components/chart/common/config/global.js +16 -0
  24. package/components/chart/common/config/line.js +48 -0
  25. package/components/chart/common/config/pie.js +36 -0
  26. package/components/chart/common/core/eChartBar.js +267 -0
  27. package/components/chart/common/core/eChartBase.js +450 -0
  28. package/components/chart/common/core/eChartLine.js +251 -0
  29. package/components/chart/common/core/eChartPie.js +169 -0
  30. package/components/chart/common/data-transform.js +284 -0
  31. package/components/chart/common/lib/echarts.min.js +18 -0
  32. package/components/chart/ec-canvas/ec-canvas.js +277 -0
  33. package/components/chart/ec-canvas/ec-canvas.json +4 -0
  34. package/components/chart/ec-canvas/ec-canvas.wxml +4 -0
  35. package/components/chart/ec-canvas/ec-canvas.wxss +4 -0
  36. package/components/chart/ec-canvas/wx-canvas.js +111 -0
  37. package/components/chart/line/index.js +326 -0
  38. package/components/chart/line/index.json +6 -0
  39. package/components/chart/line/index.wxml +1 -0
  40. package/components/chart/line/index.wxss +9 -0
  41. package/components/chart/pie/index.js +257 -0
  42. package/components/chart/pie/index.json +6 -0
  43. package/components/chart/pie/index.wxml +1 -0
  44. package/components/chart/pie/index.wxss +9 -0
  45. package/components/chart/statisticsCard/index.js +255 -0
  46. package/components/chart/statisticsCard/index.json +4 -0
  47. package/components/chart/statisticsCard/index.wxml +9 -0
  48. package/components/chart/statisticsCard/index.wxss +42 -0
  49. package/components/common/form-item-wrapper/index.js +20 -0
  50. package/components/common/form-item-wrapper/index.json +5 -0
  51. package/components/common/form-item-wrapper/index.wxml +3 -0
  52. package/components/container/index.js +32 -0
  53. package/components/container/index.json +4 -0
  54. package/components/container/index.wxml +3 -0
  55. package/components/customer-service/index.js +41 -0
  56. package/components/customer-service/index.json +5 -0
  57. package/components/customer-service/index.wxml +3 -0
  58. package/components/customer-service/index.wxss +7 -0
  59. package/components/dataView/index.js +109 -0
  60. package/components/dataView/index.json +7 -0
  61. package/components/dataView/index.wxml +25 -0
  62. package/components/dataView/index.wxss +0 -0
  63. package/components/form/checkbox/index.js +145 -0
  64. package/components/form/checkbox/index.json +7 -0
  65. package/components/form/checkbox/index.wxml +13 -0
  66. package/components/form/checkbox/index.wxss +1 -0
  67. package/components/form/form/index.js +189 -0
  68. package/components/form/form/index.json +4 -0
  69. package/components/form/form/index.wxml +5 -0
  70. package/components/form/form/index.wxss +3 -0
  71. package/components/form/form/wd-form.wxss +1091 -0
  72. package/components/form/formcell/index.js +57 -0
  73. package/components/form/formcell/index.json +4 -0
  74. package/components/form/formcell/index.wxml +11 -0
  75. package/components/form/formcell/index.wxss +31 -0
  76. package/components/form/input/index.js +116 -0
  77. package/components/form/input/index.json +7 -0
  78. package/components/form/input/index.wxml +25 -0
  79. package/components/form/input/index.wxss +22 -0
  80. package/components/form/location/components/mapChoose/index.js +495 -0
  81. package/components/form/location/components/mapChoose/index.json +4 -0
  82. package/components/form/location/components/mapChoose/index.wxml +54 -0
  83. package/components/form/location/components/mapChoose/index.wxss +301 -0
  84. package/components/form/location/index.js +494 -0
  85. package/components/form/location/index.json +10 -0
  86. package/components/form/location/index.wxml +29 -0
  87. package/components/form/location/index.wxss +151 -0
  88. package/components/form/location/location-btn.svg +4 -0
  89. package/components/form/location/location.svg +4 -0
  90. package/components/form/radio/index.js +124 -0
  91. package/components/form/radio/index.json +7 -0
  92. package/components/form/radio/index.wxml +13 -0
  93. package/components/form/radio/index.wxss +1 -0
  94. package/components/form/select/allTimePicker/dataUtils.js +377 -0
  95. package/components/form/select/allTimePicker/index.js +487 -0
  96. package/components/form/select/allTimePicker/index.json +7 -0
  97. package/components/form/select/allTimePicker/index.wxml +35 -0
  98. package/components/form/select/allTimePicker/index.wxss +118 -0
  99. package/components/form/select/dropdown-select/index.js +262 -0
  100. package/components/form/select/dropdown-select/index.json +4 -0
  101. package/components/form/select/dropdown-select/index.wxml +35 -0
  102. package/components/form/select/dropdown-select/index.wxss +293 -0
  103. package/components/form/select/formats-util.js +15 -0
  104. package/components/form/select/index.js +1017 -0
  105. package/components/form/select/index.json +10 -0
  106. package/components/form/select/index.wxml +56 -0
  107. package/components/form/select/index.wxss +61 -0
  108. package/components/form/select/region/index.js +120 -0
  109. package/components/form/selectMultiple/dropdown-select/index.js +202 -0
  110. package/components/form/selectMultiple/dropdown-select/index.json +4 -0
  111. package/components/form/selectMultiple/dropdown-select/index.wxml +37 -0
  112. package/components/form/selectMultiple/dropdown-select/index.wxss +305 -0
  113. package/components/form/selectMultiple/index.js +328 -0
  114. package/components/form/selectMultiple/index.json +9 -0
  115. package/components/form/selectMultiple/index.wxml +20 -0
  116. package/components/form/selectMultiple/index.wxss +127 -0
  117. package/components/form/switch/index.js +90 -0
  118. package/components/form/switch/index.json +7 -0
  119. package/components/form/switch/index.wxml +11 -0
  120. package/components/form/switch/index.wxss +1 -0
  121. package/components/form/textarea/index.js +90 -0
  122. package/components/form/textarea/index.json +7 -0
  123. package/components/form/textarea/index.wxml +8 -0
  124. package/components/form/textarea/index.wxss +10 -0
  125. package/components/form/tips/index.js +41 -0
  126. package/components/form/tips/index.json +4 -0
  127. package/components/form/tips/index.wxml +1 -0
  128. package/components/form/tips/index.wxss +5 -0
  129. package/components/form/uploader/compress.js +31 -0
  130. package/components/form/uploader/index.js +289 -0
  131. package/components/form/uploader/index.json +10 -0
  132. package/components/form/uploader/index.wxml +38 -0
  133. package/components/form/uploader/index.wxss +47 -0
  134. package/components/form/uploader/weui-uploader.js +310 -0
  135. package/components/form/uploader/weui-uploader.json +7 -0
  136. package/components/form/uploader/weui-uploader.wxml +49 -0
  137. package/components/form/uploader/weui-uploader.wxss +19 -0
  138. package/components/form/uploaderFile/index.js +481 -0
  139. package/components/form/uploaderFile/index.json +9 -0
  140. package/components/form/uploaderFile/index.wxml +52 -0
  141. package/components/form/uploaderFile/index.wxss +171 -0
  142. package/components/form-checkbox/index.js +78 -0
  143. package/components/form-checkbox/index.json +9 -0
  144. package/components/form-checkbox/index.wxml +6 -0
  145. package/components/form-date/index.js +72 -0
  146. package/components/form-date/index.json +9 -0
  147. package/components/form-date/index.wxml +25 -0
  148. package/components/form-email/index.js +99 -0
  149. package/components/form-email/index.json +9 -0
  150. package/components/form-email/index.wxml +28 -0
  151. package/components/form-field-behavior/form-field-behavior.js +423 -0
  152. package/components/form-field-behavior/item-behavior.js +445 -0
  153. package/components/form-field-behavior/validator.js +132 -0
  154. package/components/form-image-uploader/index.js +83 -0
  155. package/components/form-image-uploader/index.json +9 -0
  156. package/components/form-image-uploader/index.wxml +27 -0
  157. package/components/form-input/index.js +103 -0
  158. package/components/form-input/index.json +9 -0
  159. package/components/form-input/index.wxml +29 -0
  160. package/components/form-location/index.js +98 -0
  161. package/components/form-location/index.json +9 -0
  162. package/components/form-location/index.wxml +28 -0
  163. package/components/form-multi-region/index.js +62 -0
  164. package/components/form-multi-region/index.json +9 -0
  165. package/components/form-multi-region/index.wxml +6 -0
  166. package/components/form-phone/index.js +95 -0
  167. package/components/form-phone/index.json +9 -0
  168. package/components/form-phone/index.wxml +28 -0
  169. package/components/form-radio/index.js +70 -0
  170. package/components/form-radio/index.json +9 -0
  171. package/components/form-radio/index.wxml +6 -0
  172. package/components/form-region/index.js +59 -0
  173. package/components/form-region/index.json +9 -0
  174. package/components/form-region/index.wxml +6 -0
  175. package/components/form-select/index.js +114 -0
  176. package/components/form-select/index.json +9 -0
  177. package/components/form-select/index.wxml +31 -0
  178. package/components/form-select-multiple/index.js +97 -0
  179. package/components/form-select-multiple/index.json +9 -0
  180. package/components/form-select-multiple/index.wxml +29 -0
  181. package/components/form-switch/index.js +43 -0
  182. package/components/form-switch/index.json +9 -0
  183. package/components/form-switch/index.wxml +6 -0
  184. package/components/form-text-area/index.js +95 -0
  185. package/components/form-text-area/index.json +9 -0
  186. package/components/form-text-area/index.wxml +26 -0
  187. package/components/form-time/index.js +72 -0
  188. package/components/form-time/index.json +9 -0
  189. package/components/form-time/index.wxml +6 -0
  190. package/components/form-upload-file/index.js +73 -0
  191. package/components/form-upload-file/index.json +9 -0
  192. package/components/form-upload-file/index.wxml +26 -0
  193. package/components/form-url/index.js +104 -0
  194. package/components/form-url/index.json +9 -0
  195. package/components/form-url/index.wxml +28 -0
  196. package/components/formdetail/index.js +330 -0
  197. package/components/formdetail/index.json +7 -0
  198. package/components/formdetail/index.wxml +7 -0
  199. package/components/formdetail/index.wxss +277 -0
  200. package/components/formdetail/wd-form-detail.wxss +245 -0
  201. package/components/graphicCard/chevron-right.svg +3 -0
  202. package/components/graphicCard/index.js +205 -0
  203. package/components/graphicCard/index.json +7 -0
  204. package/components/graphicCard/index.wxml +27 -0
  205. package/components/graphicCard/index.wxss +165 -0
  206. package/components/grid/_util.wxss +67 -0
  207. package/components/grid/col/index.js +110 -0
  208. package/components/grid/col/index.json +4 -0
  209. package/components/grid/col/index.wxml +3 -0
  210. package/components/grid/index.js +94 -0
  211. package/components/grid/index.json +4 -0
  212. package/components/grid/index.wxml +3 -0
  213. package/components/grid/index.wxss +1206 -0
  214. package/components/grid/row/index.js +78 -0
  215. package/components/grid/row/index.json +4 -0
  216. package/components/grid/row/index.wxml +3 -0
  217. package/components/image/index.js +203 -0
  218. package/components/image/index.json +7 -0
  219. package/components/image/index.wxml +9 -0
  220. package/components/image/index.wxss +49 -0
  221. package/components/listView/arrow-right-line.svg +3 -0
  222. package/components/listView/emptyText.svg +7 -0
  223. package/components/listView/index.js +656 -0
  224. package/components/listView/index.json +7 -0
  225. package/components/listView/index.wxml +82 -0
  226. package/components/listView/index.wxss +290 -0
  227. package/components/listView/more-line.svg +3 -0
  228. package/components/lottery/index.js +301 -0
  229. package/components/lottery/index.json +4 -0
  230. package/components/lottery/index.wxml +41 -0
  231. package/components/lottery/index.wxss +340 -0
  232. package/components/modal/index.js +65 -0
  233. package/components/modal/index.json +9 -0
  234. package/components/modal/index.wxml +18 -0
  235. package/components/modal/index.wxss +56 -0
  236. package/components/navLayout/index.js +123 -0
  237. package/components/navLayout/index.json +8 -0
  238. package/components/navLayout/index.wxml +22 -0
  239. package/components/navLayout/index.wxss +131 -0
  240. package/components/navigationBar/index.js +205 -0
  241. package/components/navigationBar/index.json +5 -0
  242. package/components/navigationBar/index.wxml +83 -0
  243. package/components/navigationBar/index.wxss +205 -0
  244. package/components/qrcode/index.js +155 -0
  245. package/components/qrcode/index.json +5 -0
  246. package/components/qrcode/index.wxml +2 -0
  247. package/components/qrcode/index.wxss +10 -0
  248. package/components/richText/index.js +90 -0
  249. package/components/richText/index.json +4 -0
  250. package/components/richText/index.wxml +3 -0
  251. package/components/richText/index.wxss +67 -0
  252. package/components/scrollView/index.js +119 -0
  253. package/components/scrollView/index.json +4 -0
  254. package/components/scrollView/index.wxml +38 -0
  255. package/components/slot/index.js +25 -0
  256. package/components/slot/index.json +4 -0
  257. package/components/slot/index.wxml +3 -0
  258. package/components/status-content/arrow-right.svg +1 -0
  259. package/components/status-content/close.svg +1 -0
  260. package/components/status-content/error.svg +6 -0
  261. package/components/status-content/index.js +51 -0
  262. package/components/status-content/index.json +4 -0
  263. package/components/status-content/index.wxml +28 -0
  264. package/components/status-content/index.wxss +145 -0
  265. package/components/swiper/index.js +65 -0
  266. package/components/swiper/index.json +4 -0
  267. package/components/swiper/index.wxml +3 -0
  268. package/components/tabs/index.js +67 -0
  269. package/components/tabs/index.json +4 -0
  270. package/components/tabs/index.wxml +10 -0
  271. package/components/tabs/index.wxss +61 -0
  272. package/components/text/index.js +40 -0
  273. package/components/text/index.json +4 -0
  274. package/components/text/index.wxml +7 -0
  275. package/components/text/index.wxss +27 -0
  276. package/components/tooltip/index.js +290 -0
  277. package/components/tooltip/index.json +4 -0
  278. package/components/tooltip/index.wxml +18 -0
  279. package/components/tooltip/index.wxss +72 -0
  280. package/components/tooltip/wd-tooltip.wxss +25 -0
  281. package/components/wd-ad/index.js +66 -0
  282. package/components/wd-ad/index.json +5 -0
  283. package/components/wd-ad/index.wxml +3 -0
  284. package/components/wd-ad/index.wxss +3 -0
  285. package/components/wd-audio/index.js +273 -0
  286. package/components/wd-audio/index.json +5 -0
  287. package/components/wd-audio/index.wxml +3 -0
  288. package/components/wd-audio/index.wxss +0 -0
  289. package/components/wd-button/index.js +284 -0
  290. package/components/wd-button/index.json +7 -0
  291. package/components/wd-button/index.wxml +32 -0
  292. package/components/wd-button/index.wxss +2 -0
  293. package/components/wd-button/wd-button.wxss +498 -0
  294. package/components/wd-calendar/arrowright--line.svg +3 -0
  295. package/components/wd-calendar/index.js +157 -0
  296. package/components/wd-calendar/index.json +5 -0
  297. package/components/wd-calendar/index.wxml +36 -0
  298. package/components/wd-calendar/index.wxss +203 -0
  299. package/components/wd-calendar/weeks.js +41 -0
  300. package/components/wd-canvas/index.js +250 -0
  301. package/components/wd-canvas/index.json +5 -0
  302. package/components/wd-canvas/index.wxml +2 -0
  303. package/components/wd-canvas/index.wxss +0 -0
  304. package/components/wd-card/index.js +76 -0
  305. package/components/wd-card/index.json +5 -0
  306. package/components/wd-card/index.wxml +11 -0
  307. package/components/wd-card/index.wxss +6 -0
  308. package/components/wd-card/wd-card.wxss +114 -0
  309. package/components/wd-checkbox-list/index.js +170 -0
  310. package/components/wd-checkbox-list/index.json +7 -0
  311. package/components/wd-checkbox-list/index.wxml +37 -0
  312. package/components/wd-checkbox-list/index.wxss +2 -0
  313. package/components/wd-checkbox-list/wd-checkbox-list.wxss +253 -0
  314. package/components/wd-date/calendar/index.js +111 -0
  315. package/components/wd-date/calendar/index.json +7 -0
  316. package/components/wd-date/calendar/index.wxml +38 -0
  317. package/components/wd-date/calendar/index.wxss +0 -0
  318. package/components/wd-date/date-picker/index.js +101 -0
  319. package/components/wd-date/date-picker/index.json +9 -0
  320. package/components/wd-date/date-picker/index.wxml +41 -0
  321. package/components/wd-date/date-picker/index.wxss +7 -0
  322. package/components/wd-date/index.js +129 -0
  323. package/components/wd-date/index.json +10 -0
  324. package/components/wd-date/index.wxml +36 -0
  325. package/components/wd-date/index.wxss +9 -0
  326. package/components/wd-date/modal/index.js +28 -0
  327. package/components/wd-date/modal/index.json +5 -0
  328. package/components/wd-date/modal/index.wxml +14 -0
  329. package/components/wd-date/modal/index.wxss +3 -0
  330. package/components/wd-date/time-picker/index.js +202 -0
  331. package/components/wd-date/time-picker/index.json +5 -0
  332. package/components/wd-date/time-picker/index.wxml +13 -0
  333. package/components/wd-date/time-picker/index.wxss +9 -0
  334. package/components/wd-date/wd-date.wxss +0 -0
  335. package/components/wd-date/year-month-picker/index.js +128 -0
  336. package/components/wd-date/year-month-picker/index.json +5 -0
  337. package/components/wd-date/year-month-picker/index.wxml +8 -0
  338. package/components/wd-date/year-month-picker/index.wxss +9 -0
  339. package/components/wd-date-range/index.js +172 -0
  340. package/components/wd-date-range/index.json +10 -0
  341. package/components/wd-date-range/index.wxml +41 -0
  342. package/components/wd-date-range/index.wxss +9 -0
  343. package/components/wd-date-range/wd-date-range.wxss +0 -0
  344. package/components/wd-divider/index.js +46 -0
  345. package/components/wd-divider/index.json +5 -0
  346. package/components/wd-divider/index.wxml +1 -0
  347. package/components/wd-divider/index.wxss +2 -0
  348. package/components/wd-divider/wd-divider.wxss +26 -0
  349. package/components/wd-form/form-utils.js +55 -0
  350. package/components/wd-form/index.js +748 -0
  351. package/components/wd-form/index.json +5 -0
  352. package/components/wd-form/index.wxml +13 -0
  353. package/components/wd-form/index.wxss +23 -0
  354. package/components/wd-form/remote-value.js +76 -0
  355. package/components/wd-form/wd-form.wxss +1091 -0
  356. package/components/wd-form-item/index.js +106 -0
  357. package/components/wd-form-item/index.json +7 -0
  358. package/components/wd-form-item/index.wxml +47 -0
  359. package/components/wd-form-item/index.wxss +2 -0
  360. package/components/wd-form-item/wd-form-item.wxss +1091 -0
  361. package/components/wd-form-item-read-only/index.js +59 -0
  362. package/components/wd-form-item-read-only/index.json +5 -0
  363. package/components/wd-form-item-read-only/index.wxml +10 -0
  364. package/components/wd-icon/index.js +140 -0
  365. package/components/wd-icon/index.json +7 -0
  366. package/components/wd-icon/index.wxml +4 -0
  367. package/components/wd-icon/index.wxss +4 -0
  368. package/components/wd-icon/wd-font-icon.wxss +4432 -0
  369. package/components/wd-icon/wd-icon.wxss +148 -0
  370. package/components/wd-image/index.js +244 -0
  371. package/components/wd-image/index.json +7 -0
  372. package/components/wd-image/index.wxml +11 -0
  373. package/components/wd-image/index.wxss +11 -0
  374. package/components/wd-image/wd-image.wxss +80 -0
  375. package/components/wd-input/index.js +62 -0
  376. package/components/wd-input/index.json +7 -0
  377. package/components/wd-input/index.wxml +57 -0
  378. package/components/wd-input/inner-input/index.js +202 -0
  379. package/components/wd-input/inner-input/index.json +9 -0
  380. package/components/wd-input/inner-input/index.wxml +79 -0
  381. package/components/wd-input/inner-input/index.wxss +2 -0
  382. package/components/wd-input/inner-input/wd-input.wxss +1574 -0
  383. package/components/wd-input-email/index.js +63 -0
  384. package/components/wd-input-email/index.json +7 -0
  385. package/components/wd-input-email/index.wxml +55 -0
  386. package/components/wd-input-group/index.js +57 -0
  387. package/components/wd-input-group/index.json +5 -0
  388. package/components/wd-input-group/index.wxml +16 -0
  389. package/components/wd-input-group/index.wxss +1 -0
  390. package/components/wd-input-group/wd-input-group.wxss +99 -0
  391. package/components/wd-input-number/index.js +575 -0
  392. package/components/wd-input-number/index.json +10 -0
  393. package/components/wd-input-number/index.wxml +66 -0
  394. package/components/wd-input-number/index.wxss +8 -0
  395. package/components/wd-input-number/number.js +309 -0
  396. package/components/wd-input-number/wd-input-number.wxss +243 -0
  397. package/components/wd-input-phone/index.js +80 -0
  398. package/components/wd-input-phone/index.json +7 -0
  399. package/components/wd-input-phone/index.wxml +55 -0
  400. package/components/wd-input-url/index.js +63 -0
  401. package/components/wd-input-url/index.json +7 -0
  402. package/components/wd-input-url/index.wxml +55 -0
  403. package/components/wd-input-wrap/index.js +112 -0
  404. package/components/wd-input-wrap/index.json +7 -0
  405. package/components/wd-input-wrap/index.wxml +32 -0
  406. package/components/wd-input-wrap/index.wxss +2 -0
  407. package/components/wd-input-wrap/wd-input-wrap.wxss +220 -0
  408. package/components/wd-layout/index.js +33 -0
  409. package/components/wd-layout/index.json +5 -0
  410. package/components/wd-layout/index.wxml +13 -0
  411. package/components/wd-layout/index.wxss +2 -0
  412. package/components/wd-layout/wd-layout.wxss +78 -0
  413. package/components/wd-location/index.js +49 -0
  414. package/components/wd-location/index.json +10 -0
  415. package/components/wd-location/index.wxml +47 -0
  416. package/components/wd-menu-base-layout/index.js +20 -0
  417. package/components/wd-menu-base-layout/index.json +5 -0
  418. package/components/wd-menu-base-layout/index.wxml +3 -0
  419. package/components/wd-menu-horizontal-layout/index.js +20 -0
  420. package/components/wd-menu-horizontal-layout/index.json +5 -0
  421. package/components/wd-menu-horizontal-layout/index.wxml +3 -0
  422. package/components/wd-menu-layout/index.js +69 -0
  423. package/components/wd-menu-layout/index.json +8 -0
  424. package/components/wd-menu-layout/index.wxml +57 -0
  425. package/components/wd-menu-layout/index.wxss +13 -0
  426. package/components/wd-menu-layout/utils/index.js +40 -0
  427. package/components/wd-menu-layout/wd-menu-layout.wxss +632 -0
  428. package/components/wd-menu-list/index.js +246 -0
  429. package/components/wd-menu-list/index.json +7 -0
  430. package/components/wd-menu-list/index.wxml +50 -0
  431. package/components/wd-menu-list/index.wxss +146 -0
  432. package/components/wd-menu-list/wd-menu-list.wxss +621 -0
  433. package/components/wd-menu-nav-layout/index.js +20 -0
  434. package/components/wd-menu-nav-layout/index.json +5 -0
  435. package/components/wd-menu-nav-layout/index.wxml +3 -0
  436. package/components/wd-menu-plant-layout/index.js +20 -0
  437. package/components/wd-menu-plant-layout/index.json +5 -0
  438. package/components/wd-menu-plant-layout/index.wxml +3 -0
  439. package/components/wd-menu-tab-layout/index.js +20 -0
  440. package/components/wd-menu-tab-layout/index.json +5 -0
  441. package/components/wd-menu-tab-layout/index.wxml +3 -0
  442. package/components/wd-menu-vertical-layout/index.js +20 -0
  443. package/components/wd-menu-vertical-layout/index.json +5 -0
  444. package/components/wd-menu-vertical-layout/index.wxml +3 -0
  445. package/components/wd-modal/index.js +184 -0
  446. package/components/wd-modal/index.json +5 -0
  447. package/components/wd-modal/index.wxml +16 -0
  448. package/components/wd-modal/index.wxss +2 -0
  449. package/components/wd-modal/wd-modal.wxss +206 -0
  450. package/components/wd-official-account/index.js +28 -0
  451. package/components/wd-official-account/index.json +5 -0
  452. package/components/wd-official-account/index.wxml +1 -0
  453. package/components/wd-official-account/index.wxss +4 -0
  454. package/components/wd-progress/index.js +127 -0
  455. package/components/wd-progress/index.json +7 -0
  456. package/components/wd-progress/index.wxml +29 -0
  457. package/components/wd-progress/index.wxss +2 -0
  458. package/components/wd-progress/wd-progress.wxss +1123 -0
  459. package/components/wd-radio-list/index.js +157 -0
  460. package/components/wd-radio-list/index.json +7 -0
  461. package/components/wd-radio-list/index.wxml +37 -0
  462. package/components/wd-radio-list/index.wxss +2 -0
  463. package/components/wd-radio-list/wd-radio-list.wxss +181 -0
  464. package/components/wd-rating/index.js +359 -0
  465. package/components/wd-rating/index.json +9 -0
  466. package/components/wd-rating/index.wxml +37 -0
  467. package/components/wd-rating/index.wxss +2 -0
  468. package/components/wd-rating/wd-rating.wxss +1116 -0
  469. package/components/wd-region/index.js +38 -0
  470. package/components/wd-region/index.json +10 -0
  471. package/components/wd-region/index.wxml +28 -0
  472. package/components/wd-region/index.wxss +4 -0
  473. package/components/wd-select/index.js +78 -0
  474. package/components/wd-select/index.json +10 -0
  475. package/components/wd-select/index.wxml +51 -0
  476. package/components/wd-select/select.wxss +728 -0
  477. package/components/wd-select-multiple/index.js +74 -0
  478. package/components/wd-select-multiple/index.json +10 -0
  479. package/components/wd-select-multiple/index.wxml +51 -0
  480. package/components/wd-side-tab/index.js +113 -0
  481. package/components/wd-side-tab/index.json +7 -0
  482. package/components/wd-side-tab/index.wxml +6 -0
  483. package/components/wd-side-tab/index.wxss +1 -0
  484. package/components/wd-switch/index.js +67 -0
  485. package/components/wd-switch/index.json +7 -0
  486. package/components/wd-switch/index.wxml +28 -0
  487. package/components/wd-switch/index.wxss +2 -0
  488. package/components/wd-switch/wd-switch.wxss +1212 -0
  489. package/components/wd-tabbar/index.js +196 -0
  490. package/components/wd-tabbar/index.json +7 -0
  491. package/components/wd-tabbar/index.wxml +10 -0
  492. package/components/wd-tabbar/index.wxss +2 -0
  493. package/components/wd-tabbar/wd-tabbar.wxss +87 -0
  494. package/components/wd-tabs/index.js +62 -0
  495. package/components/wd-tabs/index.json +5 -0
  496. package/components/wd-tabs/index.wxml +34 -0
  497. package/components/wd-tabs/index.wxss +8 -0
  498. package/components/wd-tabs/wd-tabs.wxss +265 -0
  499. package/components/wd-tag/index.js +171 -0
  500. package/components/wd-tag/index.json +7 -0
  501. package/components/wd-tag/index.wxml +22 -0
  502. package/components/wd-tag/index.wxss +3 -0
  503. package/components/wd-tag/tag-behavior.js +57 -0
  504. package/components/wd-tag/tag-item/index.js +198 -0
  505. package/components/wd-tag/tag-item/index.json +7 -0
  506. package/components/wd-tag/tag-item/index.wxml +15 -0
  507. package/components/wd-tag/wd-tag.wxss +319 -0
  508. package/components/wd-tag-select/index.js +107 -0
  509. package/components/wd-tag-select/index.json +8 -0
  510. package/components/wd-tag-select/index.wxml +42 -0
  511. package/components/wd-tag-select/index.wxss +4 -0
  512. package/components/wd-tag-select/wd-tag-select.wxss +1253 -0
  513. package/components/wd-text/index.js +162 -0
  514. package/components/wd-text/index.json +5 -0
  515. package/components/wd-text/index.wxml +8 -0
  516. package/components/wd-text/index.wxss +2 -0
  517. package/components/wd-text/wd-text.wxss +256 -0
  518. package/components/wd-textarea/index.js +94 -0
  519. package/components/wd-textarea/index.json +7 -0
  520. package/components/wd-textarea/index.wxml +31 -0
  521. package/components/wd-textarea/index.wxss +7 -0
  522. package/components/wd-textarea/wd-textarea.wxss +91 -0
  523. package/components/wd-time/index.js +124 -0
  524. package/components/wd-time/index.json +11 -0
  525. package/components/wd-time/index.wxml +36 -0
  526. package/components/wd-time/index.wxss +9 -0
  527. package/components/wd-time/wd-time.wxss +0 -0
  528. package/components/wd-top-tab/index.js +113 -0
  529. package/components/wd-top-tab/index.json +7 -0
  530. package/components/wd-top-tab/index.wxml +6 -0
  531. package/components/wd-top-tab/index.wxss +5 -0
  532. package/components/wd-unified-link/index.js +115 -0
  533. package/components/wd-unified-link/index.json +5 -0
  534. package/components/wd-unified-link/index.wxml +3 -0
  535. package/components/wd-unified-link/index.wxss +2 -0
  536. package/components/wd-unified-link/wd-link.wxss +45 -0
  537. package/components/wd-upload-file/index.js +46 -0
  538. package/components/wd-upload-file/index.json +8 -0
  539. package/components/wd-upload-file/index.wxml +39 -0
  540. package/components/wd-upload-image/index.js +64 -0
  541. package/components/wd-upload-image/index.json +8 -0
  542. package/components/wd-upload-image/index.wxml +45 -0
  543. package/components/web-view/index.js +69 -0
  544. package/components/web-view/index.json +5 -0
  545. package/components/web-view/index.wxml +1 -0
  546. package/components/web-view/index.wxss +1 -0
  547. package/components/wedaVideo/index.js +179 -0
  548. package/components/wedaVideo/index.json +4 -0
  549. package/components/wedaVideo/index.wxml +29 -0
  550. package/components/wedaVideo/index.wxss +20 -0
  551. package/components/wxOpenApi/phone/index.js +122 -0
  552. package/components/wxOpenApi/phone/index.json +4 -0
  553. package/components/wxOpenApi/phone/index.wxml +4 -0
  554. package/components/wxOpenApi/phone/index.wxss +22 -0
  555. package/components/wxOpenApi/phoneCode/index.js +102 -0
  556. package/components/wxOpenApi/phoneCode/index.json +4 -0
  557. package/components/wxOpenApi/phoneCode/index.wxml +4 -0
  558. package/components/wxOpenApi/phoneCode/index.wxss +22 -0
  559. package/components/wxOpenApi/share/index.js +134 -0
  560. package/components/wxOpenApi/share/index.json +4 -0
  561. package/components/wxOpenApi/share/index.wxml +4 -0
  562. package/components/wxOpenApi/share/index.wxss +22 -0
  563. package/components/wxOpenApi/userInfo/index.js +97 -0
  564. package/components/wxOpenApi/userInfo/index.json +4 -0
  565. package/components/wxOpenApi/userInfo/index.wxml +4 -0
  566. package/components/wxOpenApi/userInfo/index.wxss +22 -0
  567. package/index.json +128 -0
  568. package/package.json +16 -0
  569. package/style/utils.wxss +162 -0
  570. package/style/wd-design.wxss +606 -0
  571. package/style/weda-ui.wxss +1412 -0
  572. package/style/wedatea2td.wxss +56 -0
  573. package/utils/classnames.js +39 -0
  574. package/utils/color.js +76 -0
  575. package/utils/common-behavior.js +1 -0
  576. package/utils/constant.js +132 -0
  577. package/utils/date.js +47 -0
  578. package/utils/dayjs.min.js +1 -0
  579. package/utils/debounce.js +134 -0
  580. package/utils/deepEqual.js +42 -0
  581. package/utils/destr.js +49 -0
  582. package/utils/dr_square_point.js +29 -0
  583. package/utils/enum.js +1247 -0
  584. package/utils/error.js +12 -0
  585. package/utils/getCustomInfo.js +34 -0
  586. package/utils/getFormLegacy.js +401 -0
  587. package/utils/getModelParams.js +43 -0
  588. package/utils/getWedaApi.js +1 -0
  589. package/utils/handleEvents.js +34 -0
  590. package/utils/lodash.js +65 -0
  591. package/utils/platform.js +158 -0
  592. package/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +1323 -0
  593. package/utils/qrcode/weapp.qrcode.min.js +911 -0
  594. package/utils/range.js +82 -0
  595. package/utils/tcb.js +162 -0
  596. package/utils/tool.js +74 -0
  597. package/utils/widget-api.js +28 -0
@@ -0,0 +1,1091 @@
1
+ @charset "UTF-8";
2
+ .wd-form,
3
+ .wd-form-item,
4
+ .gsd-h5-react-formitem {
5
+ --wd-form-item-mb: calc(var(--wd-space-base) * 5);
6
+ --wd-form-item-pd: calc(var(--wd-space-base) * 4);
7
+ --wd-form-item-label-width: 6em;
8
+ --wd-form-item-label-mr: calc(var(--wd-space-base) * 4);
9
+ --wd-form-item-label-height-xs: var(--wd-form-item-height-xs);
10
+ --wd-form-item-label-height-sm: var(--wd-form-item-height-sm);
11
+ --wd-form-item-label-height-md: var(--wd-form-item-height-md);
12
+ --wd-form-item-label-height-lg: var(--wd-form-item-height-lg);
13
+ --wd-form-container-width-sm: 31.75rem;
14
+ --wd-form-container-width-md: 39.25rem;
15
+ --wd-form-container-width-lg: 49.25rem;
16
+ --wd-form-item-width-sm: 20.25rem;
17
+ --wd-form-item-width-md: 27.75rem;
18
+ --wd-form-item-width-lg: 35.25rem;
19
+ --wd-form-item-label-color: var(--wd-color-text-form-label);
20
+ --wd-form-item-label-font-size: var(--wd-font-size-default);
21
+ --wd-form-item-label-font-weight: var(--wd-font-weight-regular);
22
+ --wd-form-item-label-color-disabled: var(--wd-color-text-form-disabled);
23
+ --wd-form-item-help-text-color: var(--wd-color-text-placeholder);
24
+ --wd-form-item-help-text-font-size: var(--wd-font-size-3);
25
+ --wd-form-item-border-color: var(--wd-color-border-default);
26
+ --wd-form-item-border-width: 0.5px;
27
+ --wd-form-title-size: var(--wd-font-size-6);
28
+ --wd-form-title-weight: 500;
29
+ --wd-form-title-line-height: calc(var(--wd-space-base) * 7);
30
+ --wd-form-title-border-color: var(--wd-color-border-separator);
31
+ --wd-form-title-pd-btm: calc(var(--wd-space-base) * 3);
32
+ --wd-form-readonly-font-weight: var(--wd-font-weight-regular);
33
+ --wd-form-readonly-font-size: var(--wd-font-size-4);
34
+ --wd-form-readonly-web-font-size: var(--wd-font-size-3);
35
+ --wd-form-readonly-font-color: var(--wd-font-gray-2);
36
+ --wd-input-limit-number-size: var(--wd-font-size-2);
37
+ --wd-input-limit-number-weight: var(--wd-font-weight-regular);
38
+ --wd-input-limit-number-color: var(--wd-color-text-placeholder);
39
+ }
40
+
41
+ .wd-form.wd-form--weui,
42
+ .wd-form-item.wd-form-item--weui {
43
+ --wd-form-item-mb: calc(var(--wd-space-base) * 4);
44
+ --wd-form-item-label-font-size: var(--wd-font-size-4);
45
+ --wd-form-weui-control-height: calc(var(--wd-space-base) * 14);
46
+ --wd-form-weui-item-label-pd: calc(var(--wd-space-base) * 3);
47
+ --wd-form-weui-item-press-border-radius: var(--wd-space-base);
48
+ --wd-form-weui-input-wrap-bg-focus: var(--wd-color-gray-1);
49
+ --wd-form-weui-input-wrap-text-disabled: var(--wd-color-text-form-disabled);
50
+ --wd-form-weui-input-group-addon-min-width: 5.125rem;
51
+ }
52
+
53
+ .wd-form__action {
54
+ padding-top: 24px;
55
+ padding-bottom: 24px;
56
+ }
57
+
58
+ @media screen and (max-width: 768px) {
59
+ .wd-form__action {
60
+ padding-top: 24px;
61
+ padding-bottom: var(--wd-form-item-mb);
62
+ padding-left: 16px;
63
+ padding-right: 16px;
64
+ }
65
+ }
66
+ .wd-form__action > .wd-h5-btn,
67
+ .wd-form__action > .wd-mp-btn {
68
+ display: block;
69
+ width: 100%;
70
+ margin-bottom: 8px;
71
+ }
72
+
73
+ .wd-form__action > .wd-pc-btn {
74
+ margin-right: 8px;
75
+ }
76
+
77
+ .wd-form {
78
+ color: var(--wd-color-text-default);
79
+ font-size: var(--wd-font-size-default);
80
+ line-height: var(--wd-font-line-height-default);
81
+ box-sizing: border-box;
82
+ margin: 0;
83
+ padding: 0;
84
+ list-style: none;
85
+ }
86
+ .wd-form-title__text {
87
+ /* 不启用,复用了文本组件
88
+ font-weight: var(--wd-form-title-weight);
89
+ font-size: var(--wd-form-title-size);
90
+ line-height: var(--wd-form-title-line-height);
91
+ width: auto;
92
+ */
93
+ padding-bottom: var(--wd-form-title-pd-btm);
94
+ border-bottom: 1px solid var(--wd-form-title-border-color);
95
+ }
96
+ .wd-form-title__text-left {
97
+ text-align: left;
98
+ }
99
+ .wd-form-title__text-right {
100
+ text-align: right;
101
+ }
102
+
103
+ .wd-form-item {
104
+ margin-bottom: unset;
105
+ padding: 0px;
106
+ }
107
+ .wd-form-item.size-width-hundred {
108
+ width: 100%;
109
+ }
110
+ .wd-form-item.size-width-sm {
111
+ width: var(--wd-form-item-width-sm);
112
+ }
113
+ .wd-form-item.size-width-md {
114
+ width: var(--wd-form-item-width-md);
115
+ }
116
+ .wd-form-item.size-width-lg {
117
+ width: var(--wd-form-item-width-lg);
118
+ }
119
+ .wd-form-item-wrap {
120
+ display: flex;
121
+ }
122
+ .wd-form-item-wrap__label {
123
+ word-break: break-all;
124
+ width: var(--wd-form-item-label-width);
125
+ margin-right: var(--wd-form-item-label-mr);
126
+ color: var(--wd-form-item-label-color);
127
+ font-size: var(--wd-form-item-label-font-size);
128
+ font-weight: var(--wd-form-item-label-font-weight);
129
+ line-height: var(--wd-form-height-md);
130
+ flex: 0 0 auto;
131
+ }
132
+ .wd-form-item-wrap__label.is-disabled {
133
+ color: var(--wd-form-item-label-color-disabled);
134
+ }
135
+ .wd-form-item-wrap__label > label {
136
+ display: inline-block;
137
+ line-height: var(--wd-font-line-height-default);
138
+ }
139
+ .wd-form-item-wrap__label-explain {
140
+ margin-left: var(--wd-space-base);
141
+ position: relative;
142
+ top: -1px;
143
+ }
144
+ .wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-text {
145
+ display: inline-block;
146
+ white-space: nowrap;
147
+ overflow: hidden;
148
+ text-overflow: ellipsis;
149
+ }
150
+ .wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-explain {
151
+ display: flex;
152
+ align-items: center;
153
+ }
154
+ .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label-explain {
155
+ display: flex;
156
+ align-items: center;
157
+ }
158
+ .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
159
+ display: flex;
160
+ }
161
+ .wd-form-item-wrap__control {
162
+ flex: auto;
163
+ width: 100%;
164
+ }
165
+ .wd-form-item-wrap__control-wrap {
166
+ display: flex;
167
+ align-items: center;
168
+ min-height: calc(var(--wd-space-base) * 6);
169
+ }
170
+ .wd-form-item-wrap__control-wrap--right {
171
+ justify-content: flex-end;
172
+ }
173
+ .wd-form-item-wrap__control-wrap .wd-form-input-wrap.wd-form-inherit--font {
174
+ font-family: inherit;
175
+ }
176
+ .wd-form-item-wrap__control.is-press {
177
+ border-color: transparent;
178
+ background-color: var(--wd-form-weui-input-wrap-bg-focus);
179
+ box-shadow: none;
180
+ border-radius: var(--wd-form-weui-item-press-border-radius);
181
+ }
182
+ .wd-form-item-wrap__control.is-press .wd-form-input-wrap {
183
+ border-color: transparent;
184
+ background-color: transparent;
185
+ box-shadow: none;
186
+ }
187
+ .wd-form-item-wrap__control.is-press .wd-form-input-wrap__label {
188
+ line-height: none;
189
+ }
190
+ .wd-form-item.is-required .wd-form-item-wrap__label-text::before {
191
+ content: "*";
192
+ color: var(--wd-color-text-error);
193
+ margin-right: var(--wd-space-base);
194
+ }
195
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5) {
196
+ padding: 0;
197
+ border: none;
198
+ border-radius: 0;
199
+ }
200
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled) {
201
+ border-color: transparent;
202
+ background-color: transparent;
203
+ box-shadow: none;
204
+ border-radius: var(--wd-form-weui-item-press-border-radius);
205
+ }
206
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled {
207
+ border-color: transparent;
208
+ background-color: transparent;
209
+ box-shadow: none;
210
+ color: var(--wd-form-weui-input-wrap-text-disabled);
211
+ cursor: not-allowed;
212
+ }
213
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
214
+ cursor: not-allowed;
215
+ }
216
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
217
+ color: var(--wd-form-weui-input-wrap-text-disabled);
218
+ }
219
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
220
+ color: var(--wd-form-weui-input-wrap-text-disabled);
221
+ }
222
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
223
+ color: var(--wd-form-weui-input-wrap-text-disabled);
224
+ }
225
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
226
+ color: var(--wd-form-weui-input-wrap-text-disabled);
227
+ }
228
+ .wd-form-item.is-borderless .wd-form-textarea-wrap {
229
+ height: 100%;
230
+ padding-top: calc(var(--wd-space-base) * 2);
231
+ }
232
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
233
+ background: none;
234
+ border: none;
235
+ position: relative;
236
+ min-width: auto;
237
+ padding: 0;
238
+ }
239
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
240
+ padding-right: calc(var(--wd-space-base) * 4);
241
+ }
242
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
243
+ position: absolute;
244
+ height: calc(var(--wd-space-base) * 4);
245
+ content: "";
246
+ right: calc(var(--wd-space-base) * 2);
247
+ background: var(--wd-form-item-border-color);
248
+ width: var(--wd-form-item-border-width);
249
+ }
250
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
251
+ padding-left: calc(var(--wd-space-base) * 4);
252
+ }
253
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
254
+ position: absolute;
255
+ height: calc(var(--wd-space-base) * 4);
256
+ content: "";
257
+ left: calc(var(--wd-space-base) * 2);
258
+ background: var(--wd-form-item-border-color);
259
+ width: var(--wd-form-item-border-width);
260
+ }
261
+ .wd-form-item.is-borderless .wd-form-input-wrap__input-number-right {
262
+ width: 100%;
263
+ }
264
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 {
265
+ height: var(--wd-form-input-group-height-md);
266
+ }
267
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
268
+ padding: var(--wd-form-input-addon-padding);
269
+ background: var(--wd-form-input-addon-bg);
270
+ border: 1px solid var(--wd-form-input-addon-border-default);
271
+ }
272
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
273
+ padding: var(--wd-form-input-addon-padding);
274
+ }
275
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
276
+ width: 0px;
277
+ }
278
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
279
+ padding: var(--wd-form-input-addon-padding);
280
+ }
281
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
282
+ width: 0px;
283
+ }
284
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5 {
285
+ border-radius: var(--wd-form-input-wrap-border-radius);
286
+ padding: var(--wd-form-input-wrap-padding);
287
+ background-color: var(--wd-form-input-wrap-bg-default);
288
+ border: 1px solid var(--wd-form-input-wrap-border-default);
289
+ height: var(--wd-form-input-wrap-height-md);
290
+ }
291
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
292
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
293
+ }
294
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
295
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
296
+ }
297
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
298
+ border-radius: 0;
299
+ }
300
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
301
+ border: none;
302
+ }
303
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled) {
304
+ border-bottom: none;
305
+ }
306
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled) {
307
+ border-color: var(--wd-form-input-wrap-border-hover);
308
+ background-color: var(--wd-form-input-wrap-bg-focus);
309
+ color: var(--wd-form-input-wrap-text-focus);
310
+ box-shadow: 0px 0px 0px 0px;
311
+ }
312
+ .wd-form-item.is-borderless .wd-form-item-wrap {
313
+ border-bottom: none;
314
+ }
315
+ .wd-form-item__help {
316
+ display: flex;
317
+ margin-top: 0.25rem;
318
+ }
319
+ .wd-form-item__help .wd-form-item-wrap__label {
320
+ visibility: hidden;
321
+ height: 1px;
322
+ }
323
+ .wd-form-item__help-text {
324
+ flex: 1 1 0px;
325
+ color: var(--wd-form-item-help-text-color);
326
+ font-size: var(--wd-form-item-help-text-font-size);
327
+ }
328
+ .wd-form-item__readonly {
329
+ font-size: var(--wd-form-readonly-font-size);
330
+ font-weight: var(--wd-form-readonly-font-weight);
331
+ color: var(--wd-form-readonly-font-color);
332
+ width: 100%;
333
+ word-break: break-word;
334
+ }
335
+ .wd-form-item__readonly.size-font-sm {
336
+ font: var(--wd-typography-body-sm);
337
+ }
338
+ .wd-form-item__readonly.size-height-sm {
339
+ height: var(--wd-form-height-sm);
340
+ }
341
+ .wd-form-item__readonly.size-width-sm {
342
+ width: var(--wd-form-width-sm);
343
+ }
344
+ .wd-form-item__readonly.size-font-md {
345
+ font: var(--wd-typography-body-md);
346
+ }
347
+ .wd-form-item__readonly.size-height-md {
348
+ height: var(--wd-form-item-height-md);
349
+ }
350
+ .wd-form-item__readonly.size-width-md {
351
+ width: var(--wd-form-width-md);
352
+ }
353
+ .wd-form-item__readonly.size-font-lg {
354
+ font: var(--wd-typography-body-lg);
355
+ }
356
+ .wd-form-item__readonly.size-height-lg {
357
+ height: var(--wd-form-item-height-lg);
358
+ }
359
+ .wd-form-item__readonly.size-width-lg {
360
+ width: var(--wd-form-width-lg);
361
+ }
362
+ .wd-form-item__readonly.size-width-hundred {
363
+ width: 100%;
364
+ }
365
+ .wd-form-item__readonly-web {
366
+ font-size: var(--wd-form-readonly-web-font-size);
367
+ font-weight: var(--wd-form-readonly-font-weight);
368
+ color: var(--wd-form-readonly-font-color);
369
+ width: 100%;
370
+ word-break: break-word;
371
+ }
372
+ .wd-form-item__readonly-web.size-font-sm {
373
+ font: var(--wd-typography-body-sm);
374
+ }
375
+ .wd-form-item__readonly-web.size-height-sm {
376
+ height: var(--wd-form-height-sm);
377
+ }
378
+ .wd-form-item__readonly-web.size-width-sm {
379
+ width: var(--wd-form-width-sm);
380
+ }
381
+ .wd-form-item__readonly-web.size-font-md {
382
+ font: var(--wd-typography-body-md);
383
+ }
384
+ .wd-form-item__readonly-web.size-height-md {
385
+ height: var(--wd-form-item-height-md);
386
+ }
387
+ .wd-form-item__readonly-web.size-width-md {
388
+ width: var(--wd-form-width-md);
389
+ }
390
+ .wd-form-item__readonly-web.size-font-lg {
391
+ font: var(--wd-typography-body-lg);
392
+ }
393
+ .wd-form-item__readonly-web.size-height-lg {
394
+ height: var(--wd-form-item-height-lg);
395
+ }
396
+ .wd-form-item__readonly-web.size-width-lg {
397
+ width: var(--wd-form-width-lg);
398
+ }
399
+ .wd-form-item__readonly-web.size-width-hundred {
400
+ width: 100%;
401
+ }
402
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap {
403
+ height: 100%;
404
+ }
405
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap__control, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control {
406
+ height: 100%;
407
+ }
408
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap__control-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control-wrap {
409
+ height: 100%;
410
+ }
411
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap__control-wrap .wd-form-textarea-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control-wrap .wd-form-textarea-wrap {
412
+ height: 100%;
413
+ }
414
+
415
+ .wd-form--horizontal-left .wd-form-item-wrap__label,
416
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
417
+ text-align: left;
418
+ }
419
+ .wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
420
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
421
+ justify-content: flex-start;
422
+ }
423
+
424
+ .wd-form--horizontal-right .wd-form-item-wrap__label,
425
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
426
+ text-align: right;
427
+ }
428
+ .wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
429
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
430
+ justify-content: flex-end;
431
+ }
432
+
433
+ .wd-form--horizontal-left .wd-form-item-wrap,
434
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap,
435
+ .wd-form--horizontal-right .wd-form-item-wrap,
436
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap {
437
+ flex-direction: row;
438
+ }
439
+ .wd-form--horizontal-left .wd-form-item-wrap__label,
440
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label,
441
+ .wd-form--horizontal-right .wd-form-item-wrap__label,
442
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
443
+ width: var(--wd-form-item-label-width);
444
+ margin-right: var(--wd-form-item-label-mr);
445
+ }
446
+
447
+ .wd-form--vertical-left .wd-form-item-wrap,
448
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap {
449
+ align-items: flex-start;
450
+ flex-direction: column;
451
+ }
452
+ .wd-form--vertical-left .wd-form-item-wrap__label,
453
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label {
454
+ width: 100%;
455
+ justify-content: flex-start;
456
+ margin-right: 0;
457
+ line-height: 0;
458
+ padding-bottom: calc(var(--wd-space-base) * 2);
459
+ }
460
+ .wd-form--vertical-left .wd-form-item-wrap__label > label,
461
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label > label {
462
+ line-height: var(--wd-font-line-height-default) !important;
463
+ }
464
+ .wd-form--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
465
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
466
+ justify-content: flex-start;
467
+ }
468
+ .wd-form--vertical-left .wd-form-item__help,
469
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item__help {
470
+ padding-left: 0;
471
+ }
472
+
473
+ .wd-form--vertical-right .wd-form-item-wrap,
474
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap {
475
+ align-items: flex-end;
476
+ flex-direction: column;
477
+ }
478
+ .wd-form--vertical-right .wd-form-item-wrap__label,
479
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label {
480
+ width: 100%;
481
+ justify-content: flex-start;
482
+ margin-right: 0;
483
+ text-align: right;
484
+ line-height: 0;
485
+ padding-bottom: calc(var(--wd-space-base) * 2);
486
+ }
487
+ .wd-form--vertical-right .wd-form-item-wrap__label > label,
488
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label > label {
489
+ line-height: var(--wd-font-line-height-default) !important;
490
+ }
491
+ .wd-form--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
492
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
493
+ justify-content: flex-end;
494
+ }
495
+ .wd-form--vertical-right .wd-form-item__help,
496
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item__help {
497
+ padding-left: 0;
498
+ }
499
+
500
+ .wd-form--inline {
501
+ display: flex;
502
+ gap: calc(var(--wd-space-base) * 6);
503
+ flex-wrap: wrap;
504
+ }
505
+ .wd-form--inline .wd-form-item {
506
+ display: inline-flex;
507
+ }
508
+ .wd-form--inline .wd-form-item-wrap {
509
+ display: inline-flex;
510
+ }
511
+ .wd-form--inline .wd-form-item-wrap__label {
512
+ width: auto;
513
+ }
514
+
515
+ input,
516
+ textarea {
517
+ caret-color: var(--wd-color-brand);
518
+ }
519
+
520
+ .wd-form.wd-form--weui.wd-form-item,
521
+ .wd-form-item--weui.wd-form-item {
522
+ margin-bottom: 0;
523
+ padding: 0px var(--wd-form-item-pd);
524
+ }
525
+ .wd-form.wd-form--weui .wd-form-item-wrap,
526
+ .wd-form-item--weui .wd-form-item-wrap {
527
+ border-bottom: var(--wd-form-item-border-width) solid var(--wd-form-item-border-color);
528
+ }
529
+ .wd-form.wd-form--weui .wd-form-item-wrap__label,
530
+ .wd-form-item--weui .wd-form-item-wrap__label {
531
+ margin-bottom: 0;
532
+ padding: calc(var(--wd-space-base) * 2) 0;
533
+ }
534
+ .wd-form.wd-form--weui .wd-form-item-wrap__label.wd-radio__label,
535
+ .wd-form-item--weui .wd-form-item-wrap__label.wd-radio__label {
536
+ padding-top: calc(var(--wd-space-base) * 4);
537
+ }
538
+ .wd-form.wd-form--weui .wd-form-item-wrap__label.wd-checkbox__label,
539
+ .wd-form-item--weui .wd-form-item-wrap__label.wd-checkbox__label {
540
+ padding-top: calc(var(--wd-space-base) * 4);
541
+ }
542
+ .wd-form.wd-form--weui .wd-form-item-wrap__control,
543
+ .wd-form-item--weui .wd-form-item-wrap__control {
544
+ padding: calc(var(--wd-space-base) * 2) 0;
545
+ }
546
+ .wd-form.wd-form--weui .wd-form-item.is-borderless .wd-form-item-wrap,
547
+ .wd-form-item--weui .wd-form-item.is-borderless .wd-form-item-wrap {
548
+ border-bottom: none;
549
+ }
550
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5),
551
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5) {
552
+ padding: 0;
553
+ border: none;
554
+ border-radius: 0;
555
+ }
556
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled),
557
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled),
558
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled) {
559
+ border-color: transparent;
560
+ background-color: transparent;
561
+ box-shadow: none;
562
+ border-radius: var(--wd-form-weui-item-press-border-radius);
563
+ }
564
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled,
565
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled {
566
+ border-color: transparent;
567
+ background-color: transparent;
568
+ box-shadow: none;
569
+ color: var(--wd-form-weui-input-wrap-text-disabled);
570
+ cursor: not-allowed;
571
+ }
572
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input,
573
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
574
+ cursor: not-allowed;
575
+ }
576
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder,
577
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
578
+ color: var(--wd-form-weui-input-wrap-text-disabled);
579
+ }
580
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder,
581
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
582
+ color: var(--wd-form-weui-input-wrap-text-disabled);
583
+ }
584
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder,
585
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
586
+ color: var(--wd-form-weui-input-wrap-text-disabled);
587
+ }
588
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder,
589
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
590
+ color: var(--wd-form-weui-input-wrap-text-disabled);
591
+ }
592
+ .wd-form.wd-form--weui .wd-form-textarea-wrap,
593
+ .wd-form-item--weui .wd-form-textarea-wrap {
594
+ height: 100%;
595
+ padding-top: calc(var(--wd-space-base) * 2);
596
+ }
597
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon,
598
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
599
+ background: none;
600
+ border: none;
601
+ position: relative;
602
+ min-width: auto;
603
+ padding: 0;
604
+ }
605
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left,
606
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
607
+ padding-right: calc(var(--wd-space-base) * 4);
608
+ }
609
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after,
610
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
611
+ position: absolute;
612
+ height: calc(var(--wd-space-base) * 4);
613
+ content: "";
614
+ right: calc(var(--wd-space-base) * 2);
615
+ background: var(--wd-form-item-border-color);
616
+ width: var(--wd-form-item-border-width);
617
+ }
618
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right,
619
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
620
+ padding-left: calc(var(--wd-space-base) * 4);
621
+ }
622
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before,
623
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
624
+ position: absolute;
625
+ height: calc(var(--wd-space-base) * 4);
626
+ content: "";
627
+ left: calc(var(--wd-space-base) * 2);
628
+ background: var(--wd-form-item-border-color);
629
+ width: var(--wd-form-item-border-width);
630
+ }
631
+ .wd-form.wd-form--weui .wd-form-input-wrap__input-number-right,
632
+ .wd-form-item--weui .wd-form-input-wrap__input-number-right {
633
+ width: 100%;
634
+ }
635
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5,
636
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 {
637
+ height: var(--wd-form-input-group-height-md);
638
+ }
639
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon,
640
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
641
+ padding: var(--wd-form-input-addon-padding);
642
+ background: var(--wd-form-input-addon-bg);
643
+ border: 1px solid var(--wd-form-input-addon-border-default);
644
+ }
645
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left,
646
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
647
+ padding: var(--wd-form-input-addon-padding);
648
+ }
649
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after,
650
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
651
+ width: 0px;
652
+ }
653
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right,
654
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
655
+ padding: var(--wd-form-input-addon-padding);
656
+ }
657
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before,
658
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
659
+ width: 0px;
660
+ }
661
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5,
662
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5 {
663
+ border-radius: var(--wd-form-input-wrap-border-radius);
664
+ padding: var(--wd-form-input-wrap-padding);
665
+ background-color: var(--wd-form-input-wrap-bg-default);
666
+ border: 1px solid var(--wd-form-input-wrap-border-default);
667
+ height: var(--wd-form-input-wrap-height-md);
668
+ }
669
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left,
670
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
671
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
672
+ }
673
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right,
674
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
675
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
676
+ }
677
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius,
678
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
679
+ border-radius: 0;
680
+ }
681
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border,
682
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
683
+ border: none;
684
+ }
685
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled),
686
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled),
687
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled) {
688
+ border-bottom: none;
689
+ }
690
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled),
691
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled),
692
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled) {
693
+ border-color: var(--wd-form-input-wrap-border-hover);
694
+ background-color: var(--wd-form-input-wrap-bg-focus);
695
+ color: var(--wd-form-input-wrap-text-focus);
696
+ box-shadow: 0px 0px 0px 0px;
697
+ }
698
+ .wd-form.wd-form--weui .wd-upload__control,
699
+ .wd-form-item--weui .wd-upload__control {
700
+ height: auto;
701
+ width: 100%;
702
+ border: none;
703
+ border-radius: 0;
704
+ padding: 0;
705
+ }
706
+ .wd-form.wd-form--weui .wd-upload__item-file-right .wd-icon,
707
+ .wd-form-item--weui .wd-upload__item-file-right .wd-icon {
708
+ cursor: pointer;
709
+ font-size: 20px;
710
+ }
711
+ .wd-form.wd-form--weui .wd-upload__item-file-right > img.wd-icon,
712
+ .wd-form-item--weui .wd-upload__item-file-right > img.wd-icon {
713
+ width: 1.25rem;
714
+ height: 1.25rem;
715
+ }
716
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control,
717
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control {
718
+ padding: var(--wd-space-base) 0;
719
+ }
720
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap,
721
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap {
722
+ min-height: calc(var(--wd-space-base) * 6);
723
+ }
724
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
725
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
726
+ line-height: calc(var(--wd-space-base) * 12);
727
+ }
728
+ .wd-form.wd-form--weui.wd-radio-root .wd-radio-group,
729
+ .wd-form-item--weui.wd-radio-root .wd-radio-group {
730
+ min-height: 48px;
731
+ padding-top: 1px;
732
+ }
733
+ .wd-form.wd-form--weui.wd-radio-root .wd-radio-wrap,
734
+ .wd-form-item--weui.wd-radio-root .wd-radio-wrap {
735
+ margin-top: 0px;
736
+ margin-bottom: 0px;
737
+ padding: calc(var(--wd-space-base) * 3) 0;
738
+ }
739
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control,
740
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control {
741
+ padding: var(--wd-space-base) 0;
742
+ }
743
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap,
744
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap {
745
+ min-height: calc(var(--wd-space-base) * 6);
746
+ }
747
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
748
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
749
+ line-height: calc(var(--wd-space-base) * 12);
750
+ }
751
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-group,
752
+ .wd-form-item--weui.wd-checkbox-root .wd-checkbox-group {
753
+ min-height: 48px;
754
+ padding-top: 1px;
755
+ }
756
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-wrap,
757
+ .wd-form-item--weui.wd-checkbox-root .wd-checkbox-wrap {
758
+ margin-top: 0px;
759
+ margin-bottom: 0px;
760
+ padding: calc(var(--wd-space-base) * 3) 0;
761
+ }
762
+
763
+ .wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control,
764
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control,
765
+ .wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control,
766
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control {
767
+ min-height: 48px;
768
+ }
769
+ .wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
770
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
771
+ .wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap,
772
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap {
773
+ min-height: calc(var(--wd-space-base) * 6);
774
+ }
775
+
776
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
777
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
778
+ line-height: normal;
779
+ }
780
+
781
+ .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
782
+ .wd-form-item--weui.wd-form-item--layout-horizontal.wd-textarea-root .wd-form-item-wrap__label-text {
783
+ line-height: normal;
784
+ }
785
+
786
+ .wd-form--weui.wd-form--vertical-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
787
+ .wd-form--weui.wd-form--vertical-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
788
+ line-height: inherit;
789
+ }
790
+
791
+ .wd-form--weui.wd-form--vertical-left.wd-form-item,
792
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-form-item {
793
+ margin-bottom: 0;
794
+ }
795
+ .wd-form--weui.wd-form--vertical-left .wd-form-textarea-wrap,
796
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-textarea-wrap {
797
+ padding-top: 0;
798
+ }
799
+ .wd-form--weui.wd-form--vertical-left .wd-form-item,
800
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item {
801
+ margin-bottom: 0;
802
+ }
803
+ .wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__label,
804
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
805
+ margin-bottom: 0;
806
+ padding: calc(var(--wd-space-base) * 4) 0 0 0;
807
+ }
808
+ .wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__control,
809
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__control {
810
+ padding: calc(var(--wd-space-base) * 2) 0;
811
+ flex: auto;
812
+ }
813
+ .wd-form--weui.wd-form--vertical-left .wd-form-item__help,
814
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item__help {
815
+ margin-left: 0;
816
+ padding-left: 0;
817
+ }
818
+
819
+ .wd-form--weui.wd-form--vertical-right.wd-form-item,
820
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-form-item {
821
+ margin-bottom: 0;
822
+ }
823
+ .wd-form--weui.wd-form--vertical-right .wd-form-textarea-wrap,
824
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-textarea-wrap {
825
+ padding-top: 0;
826
+ }
827
+ .wd-form--weui.wd-form--vertical-right .wd-form-item,
828
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item {
829
+ margin-bottom: 0;
830
+ }
831
+ .wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__label,
832
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label {
833
+ margin-bottom: 0;
834
+ padding: calc(var(--wd-space-base) * 4) 0 0 0;
835
+ }
836
+ .wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__control,
837
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__control {
838
+ padding: calc(var(--wd-space-base) * 2) 0;
839
+ flex: auto;
840
+ }
841
+ .wd-form--weui.wd-form--vertical-right .wd-form-item__help,
842
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item__help {
843
+ margin-left: 0;
844
+ padding-left: 0;
845
+ }
846
+
847
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
848
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
849
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
850
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
851
+ width: 100%;
852
+ }
853
+ .wd-form--weui.wd-form--horizontal-right.wd-form-item,
854
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right.wd-form-item {
855
+ margin-bottom: 0;
856
+ }
857
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item,
858
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item {
859
+ margin-bottom: 0;
860
+ }
861
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label,
862
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
863
+ width: var(--wd-form-item-label-width);
864
+ margin-right: var(--wd-form-item-label-mr);
865
+ text-align: right;
866
+ }
867
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-radio__label,
868
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-radio__label {
869
+ padding-top: calc(var(--wd-space-base) * 4);
870
+ }
871
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label,
872
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label {
873
+ padding-top: calc(var(--wd-space-base) * 4);
874
+ }
875
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
876
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
877
+ justify-content: flex-end;
878
+ }
879
+
880
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
881
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
882
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
883
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
884
+ width: 100%;
885
+ }
886
+ .wd-form--weui.wd-form--horizontal-left.wd-form-item,
887
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left.wd-form-item {
888
+ margin-bottom: 0;
889
+ }
890
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item,
891
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item {
892
+ margin-bottom: 0;
893
+ }
894
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label,
895
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
896
+ width: var(--wd-form-item-label-width);
897
+ margin-right: var(--wd-form-item-label-mr);
898
+ text-align: left;
899
+ }
900
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-radio__label,
901
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-radio__label {
902
+ padding-top: calc(var(--wd-space-base) * 4);
903
+ }
904
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label,
905
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label {
906
+ padding-top: calc(var(--wd-space-base) * 4);
907
+ }
908
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
909
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
910
+ justify-content: flex-start;
911
+ }
912
+
913
+ .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
914
+ text-align: left;
915
+ }
916
+ .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
917
+ justify-content: flex-start;
918
+ }
919
+
920
+ .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
921
+ text-align: right;
922
+ }
923
+ .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
924
+ justify-content: flex-end;
925
+ }
926
+
927
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
928
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
929
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
930
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
931
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
932
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
933
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
934
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
935
+ text-align: left;
936
+ }
937
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
938
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
939
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
940
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
941
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
942
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
943
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
944
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
945
+ justify-content: flex-start;
946
+ }
947
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
948
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
949
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
950
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
951
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
952
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
953
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
954
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
955
+ text-align: right;
956
+ }
957
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
958
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
959
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
960
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
961
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
962
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
963
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
964
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
965
+ justify-content: flex-end;
966
+ }
967
+
968
+ .item-size-height-xs .wd-form-item-wrap__label {
969
+ line-height: var(--wd-form-item-label-height-xs);
970
+ }
971
+ .item-size-height-xs .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
972
+ line-height: var(--wd-form-item-label-height-xs);
973
+ }
974
+ .item-size-height-xs .wd-form-item-wrap__control {
975
+ flex: auto;
976
+ width: 100%;
977
+ }
978
+ .item-size-height-xs .wd-form-item-wrap__control-wrap {
979
+ min-height: var(--wd-form-item-label-height-xs);
980
+ }
981
+
982
+ .item-size-height-sm .wd-form-item-wrap__label {
983
+ line-height: var(--wd-form-item-label-height-sm);
984
+ }
985
+ .item-size-height-sm .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
986
+ line-height: var(--wd-form-item-label-height-sm);
987
+ }
988
+ .item-size-height-sm .wd-form-item-wrap__control {
989
+ flex: auto;
990
+ width: 100%;
991
+ }
992
+ .item-size-height-sm .wd-form-item-wrap__control-wrap {
993
+ min-height: var(--wd-form-item-label-height-sm);
994
+ }
995
+
996
+ .item-size-height-md .wd-form-item-wrap__label {
997
+ line-height: var(--wd-form-item-label-height-md);
998
+ }
999
+ .item-size-height-md .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1000
+ line-height: var(--wd-form-item-label-height-md);
1001
+ }
1002
+ .item-size-height-md .wd-form-item-wrap__control {
1003
+ flex: auto;
1004
+ width: 100%;
1005
+ }
1006
+ .item-size-height-md .wd-form-item-wrap__control-wrap {
1007
+ min-height: var(--wd-form-item-label-height-md);
1008
+ }
1009
+
1010
+ .item-size-height-lg .wd-form-item-wrap__label {
1011
+ line-height: var(--wd-form-item-label-height-lg);
1012
+ }
1013
+ .item-size-height-lg .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1014
+ line-height: var(--wd-form-item-label-height-lg);
1015
+ }
1016
+ .item-size-height-lg .wd-form-item-wrap__control {
1017
+ flex: auto;
1018
+ width: 100%;
1019
+ }
1020
+ .item-size-height-lg .wd-form-item-wrap__control-wrap {
1021
+ min-height: var(--wd-form-item-label-height-lg);
1022
+ }
1023
+
1024
+ .wd-input__limit-number {
1025
+ padding-left: calc(var(--wd-space-base) * 2);
1026
+ color: var(--wd-input-limit-number-color);
1027
+ font-weight: var(--wd-input-limit-number-weight);
1028
+ font-size: var(--wd-input-limit-number-size);
1029
+ }
1030
+
1031
+ .wd-form-read-value {
1032
+ padding-top: 2px;
1033
+ }
1034
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn {
1035
+ padding: 0;
1036
+ border: none;
1037
+ color: var(--wd-form-readonly-font-color);
1038
+ background: transparent;
1039
+ }
1040
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn:hover {
1041
+ background: transparent;
1042
+ }
1043
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn .wedatea2td-dropdown__value {
1044
+ line-height: inherit;
1045
+ }
1046
+ .wd-form-read-value .weui-input-arrow {
1047
+ display: none;
1048
+ }
1049
+ .wd-form-read-value .wedatea2td-icon.wedatea2td-icon-arrowdown {
1050
+ display: none;
1051
+ }
1052
+
1053
+ .wd-form-read-color {
1054
+ opacity: 0.6;
1055
+ }
1056
+ .wd-form-read-color .wedatea2td-tag {
1057
+ background-color: transparent;
1058
+ padding: 0;
1059
+ border: none;
1060
+ }
1061
+
1062
+ .wd-select__disabled {
1063
+ line-height: var(--wd-form-item-height-md);
1064
+ color: rgba(0, 0, 0, 0.6);
1065
+ }
1066
+
1067
+ .wd-form .wd-select__disabled {
1068
+ line-height: 1.38rem;
1069
+ color: rgba(0, 0, 0, 0.6);
1070
+ }
1071
+
1072
+ .wd-form.wd-pc-form .wd-form-item {
1073
+ width: 100%;
1074
+ padding-top: calc(var(--wd-space-base) * 2.5);
1075
+ padding-bottom: calc(var(--wd-space-base) * 2.5);
1076
+ }
1077
+ .wd-form.wd-pc-form .wd-form-input-group, .wd-form.wd-pc-form .wd-form-input-wrap {
1078
+ width: 100%;
1079
+ }
1080
+ .wd-form.size-width-sm {
1081
+ width: var(--wd-form-container-width-sm);
1082
+ }
1083
+ .wd-form.size-width-md {
1084
+ width: var(--wd-form-container-width-md);
1085
+ }
1086
+ .wd-form.size-width-lg {
1087
+ width: var(--wd-form-container-width-lg);
1088
+ }
1089
+ .wd-form.size-width-hundred {
1090
+ width: 100%;
1091
+ }