@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,1574 @@
1
+ @charset "UTF-8";
2
+ .wd-g-text-default {
3
+ color: var(--wd-color-text-default);
4
+ }
5
+
6
+ .wd-g-text-secondary {
7
+ color: var(--wd-color-text-secondary);
8
+ }
9
+
10
+ .wd-g-text-placeholder {
11
+ color: var(--wd-color-text-placeholder);
12
+ }
13
+
14
+ .wd-g-text-disabled {
15
+ color: var(--wd-color-text-disabled);
16
+ }
17
+
18
+ .wd-g-text-brand {
19
+ color: var(--wd-color-text-brand);
20
+ }
21
+
22
+ .wd-g-text-error {
23
+ color: var(--wd-color-text-error);
24
+ }
25
+
26
+ .wd-g-text-success {
27
+ color: var(--wd-color-text-success);
28
+ }
29
+
30
+ .wd-g-text-refresh {
31
+ color: var(--wd-color-brand);
32
+ }
33
+
34
+ .wd-g-text-warning,
35
+ .wd-g-text-warn {
36
+ color: var(--wd-color-text-warning);
37
+ }
38
+
39
+ .wd-g-text-ellipsis-1 {
40
+ /*将对象作为弹性伸缩盒子模型显示*/
41
+ display: -webkit-box;
42
+ overflow: hidden;
43
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
44
+ -webkit-line-clamp: 1;
45
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
46
+ -webkit-box-orient: vertical;
47
+ }
48
+
49
+ .wd-g-text-ellipsis-2 {
50
+ /*将对象作为弹性伸缩盒子模型显示*/
51
+ display: -webkit-box;
52
+ overflow: hidden;
53
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
54
+ -webkit-line-clamp: 2;
55
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
56
+ -webkit-box-orient: vertical;
57
+ }
58
+
59
+ .wd-g-text-ellipsis-3 {
60
+ /*将对象作为弹性伸缩盒子模型显示*/
61
+ display: -webkit-box;
62
+ overflow: hidden;
63
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
64
+ -webkit-line-clamp: 3;
65
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
66
+ -webkit-box-orient: vertical;
67
+ }
68
+
69
+ .wd-g-text-ellipsis-4 {
70
+ /*将对象作为弹性伸缩盒子模型显示*/
71
+ display: -webkit-box;
72
+ overflow: hidden;
73
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
74
+ -webkit-line-clamp: 4;
75
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
76
+ -webkit-box-orient: vertical;
77
+ }
78
+
79
+ .wd-g-text-ellipsis-5 {
80
+ /*将对象作为弹性伸缩盒子模型显示*/
81
+ display: -webkit-box;
82
+ overflow: hidden;
83
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
84
+ -webkit-line-clamp: 5;
85
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
86
+ -webkit-box-orient: vertical;
87
+ }
88
+
89
+ .wd-g-text-ellipsis-6 {
90
+ /*将对象作为弹性伸缩盒子模型显示*/
91
+ display: -webkit-box;
92
+ overflow: hidden;
93
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
94
+ -webkit-line-clamp: 6;
95
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
96
+ -webkit-box-orient: vertical;
97
+ }
98
+
99
+ .wd-g-text-ellipsis-7 {
100
+ /*将对象作为弹性伸缩盒子模型显示*/
101
+ display: -webkit-box;
102
+ overflow: hidden;
103
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
104
+ -webkit-line-clamp: 7;
105
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
106
+ -webkit-box-orient: vertical;
107
+ }
108
+
109
+ .wd-g-text-ellipsis-8 {
110
+ /*将对象作为弹性伸缩盒子模型显示*/
111
+ display: -webkit-box;
112
+ overflow: hidden;
113
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
114
+ -webkit-line-clamp: 8;
115
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
116
+ -webkit-box-orient: vertical;
117
+ }
118
+
119
+ .wd-g-text-ellipsis-9 {
120
+ /*将对象作为弹性伸缩盒子模型显示*/
121
+ display: -webkit-box;
122
+ overflow: hidden;
123
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
124
+ -webkit-line-clamp: 9;
125
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
126
+ -webkit-box-orient: vertical;
127
+ }
128
+
129
+ .wd-g-text-ellipsis-10 {
130
+ /*将对象作为弹性伸缩盒子模型显示*/
131
+ display: -webkit-box;
132
+ overflow: hidden;
133
+ /*-webkit-line-clamp不是一个规范的属性,只有chrome浏览器支持,兼容性不好,适用于移动端,因为移动设备浏览器更多是基于webkit内核*/
134
+ -webkit-line-clamp: 10;
135
+ /*设置或检索伸缩盒对象的子元素的排列方式*/
136
+ -webkit-box-orient: vertical;
137
+ }
138
+
139
+ .wd-g-user-select-auto {
140
+ user-select: auto;
141
+ }
142
+
143
+ .wd-g-user-select-none {
144
+ user-select: none;
145
+ }
146
+
147
+ .wd-g-white-space-pre-line {
148
+ white-space: pre-line;
149
+ }
150
+
151
+ .wd-g-white-space-pre-wrap {
152
+ white-space: pre-wrap;
153
+ }
154
+
155
+ .wd-g-white-space-pre {
156
+ white-space: pre;
157
+ }
158
+
159
+ .wd-g-word-break {
160
+ word-wrap: break-word;
161
+ word-break: break-word;
162
+ }
163
+
164
+ .wd-form,
165
+ .wd-form-item,
166
+ .gsd-h5-react-formitem {
167
+ --wd-form-item-mb: calc(var(--wd-space-base) * 5);
168
+ --wd-form-item-pd: calc(var(--wd-space-base) * 4);
169
+ --wd-form-item-label-width: 6em;
170
+ --wd-form-item-label-mr: calc(var(--wd-space-base) * 4);
171
+ --wd-form-item-label-height-xs: var(--wd-form-item-height-xs);
172
+ --wd-form-item-label-height-sm: var(--wd-form-item-height-sm);
173
+ --wd-form-item-label-height-md: var(--wd-form-item-height-md);
174
+ --wd-form-item-label-height-lg: var(--wd-form-item-height-lg);
175
+ --wd-form-container-width-sm: 31.75rem;
176
+ --wd-form-container-width-md: 39.25rem;
177
+ --wd-form-container-width-lg: 49.25rem;
178
+ --wd-form-item-width-sm: 20.25rem;
179
+ --wd-form-item-width-md: 27.75rem;
180
+ --wd-form-item-width-lg: 35.25rem;
181
+ --wd-form-item-label-color: var(--wd-color-text-form-label);
182
+ --wd-form-item-label-font-size: var(--wd-font-size-default);
183
+ --wd-form-item-label-font-weight: var(--wd-font-weight-regular);
184
+ --wd-form-item-label-color-disabled: var(--wd-color-text-form-disabled);
185
+ --wd-form-item-help-text-color: var(--wd-color-text-placeholder);
186
+ --wd-form-item-help-text-font-size: var(--wd-font-size-3);
187
+ --wd-form-item-border-color: var(--wd-color-border-default);
188
+ --wd-form-item-border-width: 0.5px;
189
+ --wd-form-title-size: var(--wd-font-size-6);
190
+ --wd-form-title-weight: 500;
191
+ --wd-form-title-line-height: calc(var(--wd-space-base) * 7);
192
+ --wd-form-title-border-color: var(--wd-color-border-separator);
193
+ --wd-form-title-pd-btm: calc(var(--wd-space-base) * 3);
194
+ --wd-form-readonly-font-weight: var(--wd-font-weight-regular);
195
+ --wd-form-readonly-font-size: var(--wd-font-size-4);
196
+ --wd-form-readonly-web-font-size: var(--wd-font-size-3);
197
+ --wd-form-readonly-font-color: var(--wd-font-gray-2);
198
+ --wd-input-limit-number-size: var(--wd-font-size-2);
199
+ --wd-input-limit-number-weight: var(--wd-font-weight-regular);
200
+ --wd-input-limit-number-color: var(--wd-color-text-placeholder);
201
+ }
202
+
203
+ .wd-form.wd-form--weui,
204
+ .wd-form-item.wd-form-item--weui {
205
+ --wd-form-item-mb: calc(var(--wd-space-base) * 4);
206
+ --wd-form-item-label-font-size: var(--wd-font-size-4);
207
+ --wd-form-weui-control-height: calc(var(--wd-space-base) * 14);
208
+ --wd-form-weui-item-label-pd: calc(var(--wd-space-base) * 3);
209
+ --wd-form-weui-item-press-border-radius: var(--wd-space-base);
210
+ --wd-form-weui-input-wrap-bg-focus: var(--wd-color-gray-1);
211
+ --wd-form-weui-input-wrap-text-disabled: var(--wd-color-text-form-disabled);
212
+ --wd-form-weui-input-group-addon-min-width: 5.125rem;
213
+ }
214
+
215
+ .wd-form__action {
216
+ padding-top: 24px;
217
+ padding-bottom: 24px;
218
+ }
219
+
220
+ @media screen and (max-width: 768px) {
221
+ .wd-form__action {
222
+ padding-top: 24px;
223
+ padding-bottom: var(--wd-form-item-mb);
224
+ padding-left: 16px;
225
+ padding-right: 16px;
226
+ }
227
+ }
228
+ .wd-form__action > .wd-h5-btn,
229
+ .wd-form__action > .wd-mp-btn {
230
+ display: block;
231
+ width: 100%;
232
+ margin-bottom: 8px;
233
+ }
234
+
235
+ .wd-form__action > .wd-pc-btn {
236
+ margin-right: 8px;
237
+ }
238
+
239
+ .wd-form {
240
+ color: var(--wd-color-text-default);
241
+ font-size: var(--wd-font-size-default);
242
+ line-height: var(--wd-font-line-height-default);
243
+ box-sizing: border-box;
244
+ margin: 0;
245
+ padding: 0;
246
+ list-style: none;
247
+ }
248
+ .wd-form-title__text {
249
+ /* 不启用,复用了文本组件
250
+ font-weight: var(--wd-form-title-weight);
251
+ font-size: var(--wd-form-title-size);
252
+ line-height: var(--wd-form-title-line-height);
253
+ width: auto;
254
+ */
255
+ padding-bottom: var(--wd-form-title-pd-btm);
256
+ border-bottom: 1px solid var(--wd-form-title-border-color);
257
+ }
258
+ .wd-form-title__text-left {
259
+ text-align: left;
260
+ }
261
+ .wd-form-title__text-right {
262
+ text-align: right;
263
+ }
264
+
265
+ .wd-form-item {
266
+ margin-bottom: unset;
267
+ padding: 0px;
268
+ }
269
+ .wd-form-item.size-width-hundred {
270
+ width: 100%;
271
+ }
272
+ .wd-form-item.size-width-sm {
273
+ width: var(--wd-form-item-width-sm);
274
+ }
275
+ .wd-form-item.size-width-md {
276
+ width: var(--wd-form-item-width-md);
277
+ }
278
+ .wd-form-item.size-width-lg {
279
+ width: var(--wd-form-item-width-lg);
280
+ }
281
+ .wd-form-item-wrap {
282
+ display: flex;
283
+ }
284
+ .wd-form-item-wrap__label {
285
+ word-break: break-all;
286
+ width: var(--wd-form-item-label-width);
287
+ margin-right: var(--wd-form-item-label-mr);
288
+ color: var(--wd-form-item-label-color);
289
+ font-size: var(--wd-form-item-label-font-size);
290
+ font-weight: var(--wd-form-item-label-font-weight);
291
+ line-height: var(--wd-form-height-md);
292
+ flex: 0 0 auto;
293
+ }
294
+ .wd-form-item-wrap__label.is-disabled {
295
+ color: var(--wd-form-item-label-color-disabled);
296
+ }
297
+ .wd-form-item-wrap__label > label {
298
+ display: inline-block;
299
+ line-height: var(--wd-font-line-height-default);
300
+ }
301
+ .wd-form-item-wrap__label-explain {
302
+ margin-left: var(--wd-space-base);
303
+ position: relative;
304
+ top: -1px;
305
+ }
306
+ .wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-text {
307
+ display: inline-block;
308
+ white-space: nowrap;
309
+ overflow: hidden;
310
+ text-overflow: ellipsis;
311
+ }
312
+ .wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-explain {
313
+ display: flex;
314
+ align-items: center;
315
+ }
316
+ .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label-explain {
317
+ display: flex;
318
+ align-items: center;
319
+ }
320
+ .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
321
+ display: flex;
322
+ }
323
+ .wd-form-item-wrap__control {
324
+ flex: auto;
325
+ width: 100%;
326
+ }
327
+ .wd-form-item-wrap__control-wrap {
328
+ display: flex;
329
+ align-items: center;
330
+ min-height: calc(var(--wd-space-base) * 6);
331
+ }
332
+ .wd-form-item-wrap__control-wrap--right {
333
+ justify-content: flex-end;
334
+ }
335
+ .wd-form-item-wrap__control-wrap .wd-form-input-wrap.wd-form-inherit--font {
336
+ font-family: inherit;
337
+ }
338
+ .wd-form-item-wrap__control.is-press {
339
+ border-color: transparent;
340
+ background-color: var(--wd-form-weui-input-wrap-bg-focus);
341
+ box-shadow: none;
342
+ border-radius: var(--wd-form-weui-item-press-border-radius);
343
+ }
344
+ .wd-form-item-wrap__control.is-press .wd-form-input-wrap {
345
+ border-color: transparent;
346
+ background-color: transparent;
347
+ box-shadow: none;
348
+ }
349
+ .wd-form-item-wrap__control.is-press .wd-form-input-wrap__label {
350
+ line-height: none;
351
+ }
352
+ .wd-form-item.is-required .wd-form-item-wrap__label-text::before {
353
+ content: "*";
354
+ color: var(--wd-color-text-error);
355
+ margin-right: var(--wd-space-base);
356
+ }
357
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5) {
358
+ padding: 0;
359
+ border: none;
360
+ border-radius: 0;
361
+ }
362
+ .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) {
363
+ border-color: transparent;
364
+ background-color: transparent;
365
+ box-shadow: none;
366
+ border-radius: var(--wd-form-weui-item-press-border-radius);
367
+ }
368
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled {
369
+ border-color: transparent;
370
+ background-color: transparent;
371
+ box-shadow: none;
372
+ color: var(--wd-form-weui-input-wrap-text-disabled);
373
+ cursor: not-allowed;
374
+ }
375
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
376
+ cursor: not-allowed;
377
+ }
378
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
379
+ color: var(--wd-form-weui-input-wrap-text-disabled);
380
+ }
381
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
382
+ color: var(--wd-form-weui-input-wrap-text-disabled);
383
+ }
384
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
385
+ color: var(--wd-form-weui-input-wrap-text-disabled);
386
+ }
387
+ .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
388
+ color: var(--wd-form-weui-input-wrap-text-disabled);
389
+ }
390
+ .wd-form-item.is-borderless .wd-form-textarea-wrap {
391
+ height: 100%;
392
+ padding-top: calc(var(--wd-space-base) * 2);
393
+ }
394
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
395
+ background: none;
396
+ border: none;
397
+ position: relative;
398
+ min-width: auto;
399
+ padding: 0;
400
+ }
401
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
402
+ padding-right: calc(var(--wd-space-base) * 4);
403
+ }
404
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
405
+ position: absolute;
406
+ height: calc(var(--wd-space-base) * 4);
407
+ content: "";
408
+ right: calc(var(--wd-space-base) * 2);
409
+ background: var(--wd-form-item-border-color);
410
+ width: var(--wd-form-item-border-width);
411
+ }
412
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
413
+ padding-left: calc(var(--wd-space-base) * 4);
414
+ }
415
+ .wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
416
+ position: absolute;
417
+ height: calc(var(--wd-space-base) * 4);
418
+ content: "";
419
+ left: calc(var(--wd-space-base) * 2);
420
+ background: var(--wd-form-item-border-color);
421
+ width: var(--wd-form-item-border-width);
422
+ }
423
+ .wd-form-item.is-borderless .wd-form-input-wrap__input-number-right {
424
+ width: 100%;
425
+ }
426
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 {
427
+ height: var(--wd-form-input-group-height-md);
428
+ }
429
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
430
+ padding: var(--wd-form-input-addon-padding);
431
+ background: var(--wd-form-input-addon-bg);
432
+ border: 1px solid var(--wd-form-input-addon-border-default);
433
+ }
434
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
435
+ padding: var(--wd-form-input-addon-padding);
436
+ }
437
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
438
+ width: 0px;
439
+ }
440
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
441
+ padding: var(--wd-form-input-addon-padding);
442
+ }
443
+ .wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
444
+ width: 0px;
445
+ }
446
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5 {
447
+ border-radius: var(--wd-form-input-wrap-border-radius);
448
+ padding: var(--wd-form-input-wrap-padding);
449
+ background-color: var(--wd-form-input-wrap-bg-default);
450
+ border: 1px solid var(--wd-form-input-wrap-border-default);
451
+ height: var(--wd-form-input-wrap-height-md);
452
+ }
453
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
454
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
455
+ }
456
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
457
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
458
+ }
459
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
460
+ border-radius: 0;
461
+ }
462
+ .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
463
+ border: none;
464
+ }
465
+ .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) {
466
+ border-bottom: none;
467
+ }
468
+ .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) {
469
+ border-color: var(--wd-form-input-wrap-border-hover);
470
+ background-color: var(--wd-form-input-wrap-bg-focus);
471
+ color: var(--wd-form-input-wrap-text-focus);
472
+ box-shadow: 0px 0px 0px 0px;
473
+ }
474
+ .wd-form-item.is-borderless .wd-form-item-wrap {
475
+ border-bottom: none;
476
+ }
477
+ .wd-form-item__help {
478
+ display: flex;
479
+ margin-top: 0.25rem;
480
+ }
481
+ .wd-form-item__help .wd-form-item-wrap__label {
482
+ visibility: hidden;
483
+ height: 1px;
484
+ }
485
+ .wd-form-item__help-text {
486
+ flex: 1 1 0px;
487
+ color: var(--wd-form-item-help-text-color);
488
+ font-size: var(--wd-form-item-help-text-font-size);
489
+ }
490
+ .wd-form-item__readonly {
491
+ font-size: var(--wd-form-readonly-font-size);
492
+ font-weight: var(--wd-form-readonly-font-weight);
493
+ color: var(--wd-form-readonly-font-color);
494
+ width: 100%;
495
+ word-break: break-word;
496
+ }
497
+ .wd-form-item__readonly.size-font-sm {
498
+ font: var(--wd-typography-body-sm);
499
+ }
500
+ .wd-form-item__readonly.size-height-sm {
501
+ height: var(--wd-form-height-sm);
502
+ }
503
+ .wd-form-item__readonly.size-width-sm {
504
+ width: var(--wd-form-width-sm);
505
+ }
506
+ .wd-form-item__readonly.size-font-md {
507
+ font: var(--wd-typography-body-md);
508
+ }
509
+ .wd-form-item__readonly.size-height-md {
510
+ height: var(--wd-form-item-height-md);
511
+ }
512
+ .wd-form-item__readonly.size-width-md {
513
+ width: var(--wd-form-width-md);
514
+ }
515
+ .wd-form-item__readonly.size-font-lg {
516
+ font: var(--wd-typography-body-lg);
517
+ }
518
+ .wd-form-item__readonly.size-height-lg {
519
+ height: var(--wd-form-item-height-lg);
520
+ }
521
+ .wd-form-item__readonly.size-width-lg {
522
+ width: var(--wd-form-width-lg);
523
+ }
524
+ .wd-form-item__readonly.size-width-hundred {
525
+ width: 100%;
526
+ }
527
+ .wd-form-item__readonly-web {
528
+ font-size: var(--wd-form-readonly-web-font-size);
529
+ font-weight: var(--wd-form-readonly-font-weight);
530
+ color: var(--wd-form-readonly-font-color);
531
+ width: 100%;
532
+ word-break: break-word;
533
+ }
534
+ .wd-form-item__readonly-web.size-font-sm {
535
+ font: var(--wd-typography-body-sm);
536
+ }
537
+ .wd-form-item__readonly-web.size-height-sm {
538
+ height: var(--wd-form-height-sm);
539
+ }
540
+ .wd-form-item__readonly-web.size-width-sm {
541
+ width: var(--wd-form-width-sm);
542
+ }
543
+ .wd-form-item__readonly-web.size-font-md {
544
+ font: var(--wd-typography-body-md);
545
+ }
546
+ .wd-form-item__readonly-web.size-height-md {
547
+ height: var(--wd-form-item-height-md);
548
+ }
549
+ .wd-form-item__readonly-web.size-width-md {
550
+ width: var(--wd-form-width-md);
551
+ }
552
+ .wd-form-item__readonly-web.size-font-lg {
553
+ font: var(--wd-typography-body-lg);
554
+ }
555
+ .wd-form-item__readonly-web.size-height-lg {
556
+ height: var(--wd-form-item-height-lg);
557
+ }
558
+ .wd-form-item__readonly-web.size-width-lg {
559
+ width: var(--wd-form-width-lg);
560
+ }
561
+ .wd-form-item__readonly-web.size-width-hundred {
562
+ width: 100%;
563
+ }
564
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap {
565
+ height: 100%;
566
+ }
567
+ .wd-form-item.wd-textarea-root .wd-form-item-wrap__control, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control {
568
+ height: 100%;
569
+ }
570
+ .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 {
571
+ height: 100%;
572
+ }
573
+ .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 {
574
+ height: 100%;
575
+ }
576
+
577
+ .wd-form--horizontal-left .wd-form-item-wrap__label,
578
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
579
+ text-align: left;
580
+ }
581
+ .wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
582
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
583
+ justify-content: flex-start;
584
+ }
585
+
586
+ .wd-form--horizontal-right .wd-form-item-wrap__label,
587
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
588
+ text-align: right;
589
+ }
590
+ .wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
591
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
592
+ justify-content: flex-end;
593
+ }
594
+
595
+ .wd-form--horizontal-left .wd-form-item-wrap,
596
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap,
597
+ .wd-form--horizontal-right .wd-form-item-wrap,
598
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap {
599
+ flex-direction: row;
600
+ }
601
+ .wd-form--horizontal-left .wd-form-item-wrap__label,
602
+ .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label,
603
+ .wd-form--horizontal-right .wd-form-item-wrap__label,
604
+ .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
605
+ width: var(--wd-form-item-label-width);
606
+ margin-right: var(--wd-form-item-label-mr);
607
+ }
608
+
609
+ .wd-form--vertical-left .wd-form-item-wrap,
610
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap {
611
+ align-items: flex-start;
612
+ flex-direction: column;
613
+ }
614
+ .wd-form--vertical-left .wd-form-item-wrap__label,
615
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label {
616
+ width: 100%;
617
+ justify-content: flex-start;
618
+ margin-right: 0;
619
+ line-height: 0;
620
+ padding-bottom: calc(var(--wd-space-base) * 2);
621
+ }
622
+ .wd-form--vertical-left .wd-form-item-wrap__label > label,
623
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label > label {
624
+ line-height: var(--wd-font-line-height-default) !important;
625
+ }
626
+ .wd-form--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
627
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
628
+ justify-content: flex-start;
629
+ }
630
+ .wd-form--vertical-left .wd-form-item__help,
631
+ .wd-form-item.wd-form-item--vertical-left .wd-form-item__help {
632
+ padding-left: 0;
633
+ }
634
+
635
+ .wd-form--vertical-right .wd-form-item-wrap,
636
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap {
637
+ align-items: flex-end;
638
+ flex-direction: column;
639
+ }
640
+ .wd-form--vertical-right .wd-form-item-wrap__label,
641
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label {
642
+ width: 100%;
643
+ justify-content: flex-start;
644
+ margin-right: 0;
645
+ text-align: right;
646
+ line-height: 0;
647
+ padding-bottom: calc(var(--wd-space-base) * 2);
648
+ }
649
+ .wd-form--vertical-right .wd-form-item-wrap__label > label,
650
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label > label {
651
+ line-height: var(--wd-font-line-height-default) !important;
652
+ }
653
+ .wd-form--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
654
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
655
+ justify-content: flex-end;
656
+ }
657
+ .wd-form--vertical-right .wd-form-item__help,
658
+ .wd-form-item.wd-form-item--vertical-right .wd-form-item__help {
659
+ padding-left: 0;
660
+ }
661
+
662
+ .wd-form--inline {
663
+ display: flex;
664
+ gap: calc(var(--wd-space-base) * 6);
665
+ flex-wrap: wrap;
666
+ }
667
+ .wd-form--inline .wd-form-item {
668
+ display: inline-flex;
669
+ }
670
+ .wd-form--inline .wd-form-item-wrap {
671
+ display: inline-flex;
672
+ }
673
+ .wd-form--inline .wd-form-item-wrap__label {
674
+ width: auto;
675
+ }
676
+
677
+ input,
678
+ textarea {
679
+ caret-color: var(--wd-color-brand);
680
+ }
681
+
682
+ .wd-form.wd-form--weui.wd-form-item,
683
+ .wd-form-item--weui.wd-form-item {
684
+ margin-bottom: 0;
685
+ padding: 0px var(--wd-form-item-pd);
686
+ }
687
+ .wd-form.wd-form--weui .wd-form-item-wrap,
688
+ .wd-form-item--weui .wd-form-item-wrap {
689
+ border-bottom: var(--wd-form-item-border-width) solid var(--wd-form-item-border-color);
690
+ }
691
+ .wd-form.wd-form--weui .wd-form-item-wrap__label,
692
+ .wd-form-item--weui .wd-form-item-wrap__label {
693
+ margin-bottom: 0;
694
+ padding: calc(var(--wd-space-base) * 2) 0;
695
+ }
696
+ .wd-form.wd-form--weui .wd-form-item-wrap__label.wd-radio__label,
697
+ .wd-form-item--weui .wd-form-item-wrap__label.wd-radio__label {
698
+ padding-top: calc(var(--wd-space-base) * 4);
699
+ }
700
+ .wd-form.wd-form--weui .wd-form-item-wrap__label.wd-checkbox__label,
701
+ .wd-form-item--weui .wd-form-item-wrap__label.wd-checkbox__label {
702
+ padding-top: calc(var(--wd-space-base) * 4);
703
+ }
704
+ .wd-form.wd-form--weui .wd-form-item-wrap__control,
705
+ .wd-form-item--weui .wd-form-item-wrap__control {
706
+ padding: calc(var(--wd-space-base) * 2) 0;
707
+ }
708
+ .wd-form.wd-form--weui .wd-form-item.is-borderless .wd-form-item-wrap,
709
+ .wd-form-item--weui .wd-form-item.is-borderless .wd-form-item-wrap {
710
+ border-bottom: none;
711
+ }
712
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5),
713
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5) {
714
+ padding: 0;
715
+ border: none;
716
+ border-radius: 0;
717
+ }
718
+ .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),
719
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled),
720
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled) {
721
+ border-color: transparent;
722
+ background-color: transparent;
723
+ box-shadow: none;
724
+ border-radius: var(--wd-form-weui-item-press-border-radius);
725
+ }
726
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled,
727
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled {
728
+ border-color: transparent;
729
+ background-color: transparent;
730
+ box-shadow: none;
731
+ color: var(--wd-form-weui-input-wrap-text-disabled);
732
+ cursor: not-allowed;
733
+ }
734
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input,
735
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
736
+ cursor: not-allowed;
737
+ }
738
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder,
739
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
740
+ color: var(--wd-form-weui-input-wrap-text-disabled);
741
+ }
742
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder,
743
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
744
+ color: var(--wd-form-weui-input-wrap-text-disabled);
745
+ }
746
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder,
747
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
748
+ color: var(--wd-form-weui-input-wrap-text-disabled);
749
+ }
750
+ .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder,
751
+ .wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
752
+ color: var(--wd-form-weui-input-wrap-text-disabled);
753
+ }
754
+ .wd-form.wd-form--weui .wd-form-textarea-wrap,
755
+ .wd-form-item--weui .wd-form-textarea-wrap {
756
+ height: 100%;
757
+ padding-top: calc(var(--wd-space-base) * 2);
758
+ }
759
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon,
760
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
761
+ background: none;
762
+ border: none;
763
+ position: relative;
764
+ min-width: auto;
765
+ padding: 0;
766
+ }
767
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left,
768
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
769
+ padding-right: calc(var(--wd-space-base) * 4);
770
+ }
771
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after,
772
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
773
+ position: absolute;
774
+ height: calc(var(--wd-space-base) * 4);
775
+ content: "";
776
+ right: calc(var(--wd-space-base) * 2);
777
+ background: var(--wd-form-item-border-color);
778
+ width: var(--wd-form-item-border-width);
779
+ }
780
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right,
781
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
782
+ padding-left: calc(var(--wd-space-base) * 4);
783
+ }
784
+ .wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before,
785
+ .wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
786
+ position: absolute;
787
+ height: calc(var(--wd-space-base) * 4);
788
+ content: "";
789
+ left: calc(var(--wd-space-base) * 2);
790
+ background: var(--wd-form-item-border-color);
791
+ width: var(--wd-form-item-border-width);
792
+ }
793
+ .wd-form.wd-form--weui .wd-form-input-wrap__input-number-right,
794
+ .wd-form-item--weui .wd-form-input-wrap__input-number-right {
795
+ width: 100%;
796
+ }
797
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5,
798
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 {
799
+ height: var(--wd-form-input-group-height-md);
800
+ }
801
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon,
802
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
803
+ padding: var(--wd-form-input-addon-padding);
804
+ background: var(--wd-form-input-addon-bg);
805
+ border: 1px solid var(--wd-form-input-addon-border-default);
806
+ }
807
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left,
808
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
809
+ padding: var(--wd-form-input-addon-padding);
810
+ }
811
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after,
812
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
813
+ width: 0px;
814
+ }
815
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right,
816
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
817
+ padding: var(--wd-form-input-addon-padding);
818
+ }
819
+ .wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before,
820
+ .wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
821
+ width: 0px;
822
+ }
823
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5,
824
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5 {
825
+ border-radius: var(--wd-form-input-wrap-border-radius);
826
+ padding: var(--wd-form-input-wrap-padding);
827
+ background-color: var(--wd-form-input-wrap-bg-default);
828
+ border: 1px solid var(--wd-form-input-wrap-border-default);
829
+ height: var(--wd-form-input-wrap-height-md);
830
+ }
831
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left,
832
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
833
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
834
+ }
835
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right,
836
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
837
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
838
+ }
839
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius,
840
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
841
+ border-radius: 0;
842
+ }
843
+ .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border,
844
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
845
+ border: none;
846
+ }
847
+ .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),
848
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled),
849
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled) {
850
+ border-bottom: none;
851
+ }
852
+ .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),
853
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled),
854
+ .wd-form-item--weui .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled) {
855
+ border-color: var(--wd-form-input-wrap-border-hover);
856
+ background-color: var(--wd-form-input-wrap-bg-focus);
857
+ color: var(--wd-form-input-wrap-text-focus);
858
+ box-shadow: 0px 0px 0px 0px;
859
+ }
860
+ .wd-form.wd-form--weui .wd-upload__control,
861
+ .wd-form-item--weui .wd-upload__control {
862
+ height: auto;
863
+ width: 100%;
864
+ border: none;
865
+ border-radius: 0;
866
+ padding: 0;
867
+ }
868
+ .wd-form.wd-form--weui .wd-upload__item-file-right .wd-icon,
869
+ .wd-form-item--weui .wd-upload__item-file-right .wd-icon {
870
+ cursor: pointer;
871
+ font-size: 20px;
872
+ }
873
+ .wd-form.wd-form--weui .wd-upload__item-file-right > img.wd-icon,
874
+ .wd-form-item--weui .wd-upload__item-file-right > img.wd-icon {
875
+ width: 1.25rem;
876
+ height: 1.25rem;
877
+ }
878
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control,
879
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control {
880
+ padding: var(--wd-space-base) 0;
881
+ }
882
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap,
883
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap {
884
+ min-height: calc(var(--wd-space-base) * 6);
885
+ }
886
+ .wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
887
+ .wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
888
+ line-height: calc(var(--wd-space-base) * 12);
889
+ }
890
+ .wd-form.wd-form--weui.wd-radio-root .wd-radio-group,
891
+ .wd-form-item--weui.wd-radio-root .wd-radio-group {
892
+ min-height: 48px;
893
+ padding-top: 1px;
894
+ }
895
+ .wd-form.wd-form--weui.wd-radio-root .wd-radio-wrap,
896
+ .wd-form-item--weui.wd-radio-root .wd-radio-wrap {
897
+ margin-top: 0px;
898
+ margin-bottom: 0px;
899
+ padding: calc(var(--wd-space-base) * 3) 0;
900
+ }
901
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control,
902
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control {
903
+ padding: var(--wd-space-base) 0;
904
+ }
905
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap,
906
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap {
907
+ min-height: calc(var(--wd-space-base) * 6);
908
+ }
909
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
910
+ .wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
911
+ line-height: calc(var(--wd-space-base) * 12);
912
+ }
913
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-group,
914
+ .wd-form-item--weui.wd-checkbox-root .wd-checkbox-group {
915
+ min-height: 48px;
916
+ padding-top: 1px;
917
+ }
918
+ .wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-wrap,
919
+ .wd-form-item--weui.wd-checkbox-root .wd-checkbox-wrap {
920
+ margin-top: 0px;
921
+ margin-bottom: 0px;
922
+ padding: calc(var(--wd-space-base) * 3) 0;
923
+ }
924
+
925
+ .wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control,
926
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control,
927
+ .wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control,
928
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control {
929
+ min-height: 48px;
930
+ }
931
+ .wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
932
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
933
+ .wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap,
934
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap {
935
+ min-height: calc(var(--wd-space-base) * 6);
936
+ }
937
+
938
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
939
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
940
+ line-height: normal;
941
+ }
942
+
943
+ .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
944
+ .wd-form-item--weui.wd-form-item--layout-horizontal.wd-textarea-root .wd-form-item-wrap__label-text {
945
+ line-height: normal;
946
+ }
947
+
948
+ .wd-form--weui.wd-form--vertical-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
949
+ .wd-form--weui.wd-form--vertical-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
950
+ line-height: inherit;
951
+ }
952
+
953
+ .wd-form--weui.wd-form--vertical-left.wd-form-item,
954
+ .wd-form-item--weui.wd-form-item--vertical-left.wd-form-item {
955
+ margin-bottom: 0;
956
+ }
957
+ .wd-form--weui.wd-form--vertical-left .wd-form-textarea-wrap,
958
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-textarea-wrap {
959
+ padding-top: 0;
960
+ }
961
+ .wd-form--weui.wd-form--vertical-left .wd-form-item,
962
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item {
963
+ margin-bottom: 0;
964
+ }
965
+ .wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__label,
966
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
967
+ margin-bottom: 0;
968
+ padding: calc(var(--wd-space-base) * 4) 0 0 0;
969
+ }
970
+ .wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__control,
971
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__control {
972
+ padding: calc(var(--wd-space-base) * 2) 0;
973
+ flex: auto;
974
+ }
975
+ .wd-form--weui.wd-form--vertical-left .wd-form-item__help,
976
+ .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item__help {
977
+ margin-left: 0;
978
+ padding-left: 0;
979
+ }
980
+
981
+ .wd-form--weui.wd-form--vertical-right.wd-form-item,
982
+ .wd-form-item--weui.wd-form-item--vertical-right.wd-form-item {
983
+ margin-bottom: 0;
984
+ }
985
+ .wd-form--weui.wd-form--vertical-right .wd-form-textarea-wrap,
986
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-textarea-wrap {
987
+ padding-top: 0;
988
+ }
989
+ .wd-form--weui.wd-form--vertical-right .wd-form-item,
990
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item {
991
+ margin-bottom: 0;
992
+ }
993
+ .wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__label,
994
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label {
995
+ margin-bottom: 0;
996
+ padding: calc(var(--wd-space-base) * 4) 0 0 0;
997
+ }
998
+ .wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__control,
999
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__control {
1000
+ padding: calc(var(--wd-space-base) * 2) 0;
1001
+ flex: auto;
1002
+ }
1003
+ .wd-form--weui.wd-form--vertical-right .wd-form-item__help,
1004
+ .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item__help {
1005
+ margin-left: 0;
1006
+ padding-left: 0;
1007
+ }
1008
+
1009
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
1010
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
1011
+ .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,
1012
+ .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 {
1013
+ width: 100%;
1014
+ }
1015
+ .wd-form--weui.wd-form--horizontal-right.wd-form-item,
1016
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right.wd-form-item {
1017
+ margin-bottom: 0;
1018
+ }
1019
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item,
1020
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item {
1021
+ margin-bottom: 0;
1022
+ }
1023
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label,
1024
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
1025
+ width: var(--wd-form-item-label-width);
1026
+ margin-right: var(--wd-form-item-label-mr);
1027
+ text-align: right;
1028
+ }
1029
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-radio__label,
1030
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-radio__label {
1031
+ padding-top: calc(var(--wd-space-base) * 4);
1032
+ }
1033
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label,
1034
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label {
1035
+ padding-top: calc(var(--wd-space-base) * 4);
1036
+ }
1037
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
1038
+ .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 {
1039
+ justify-content: flex-end;
1040
+ }
1041
+
1042
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
1043
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
1044
+ .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,
1045
+ .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 {
1046
+ width: 100%;
1047
+ }
1048
+ .wd-form--weui.wd-form--horizontal-left.wd-form-item,
1049
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left.wd-form-item {
1050
+ margin-bottom: 0;
1051
+ }
1052
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item,
1053
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item {
1054
+ margin-bottom: 0;
1055
+ }
1056
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label,
1057
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
1058
+ width: var(--wd-form-item-label-width);
1059
+ margin-right: var(--wd-form-item-label-mr);
1060
+ text-align: left;
1061
+ }
1062
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-radio__label,
1063
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-radio__label {
1064
+ padding-top: calc(var(--wd-space-base) * 4);
1065
+ }
1066
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label,
1067
+ .wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label {
1068
+ padding-top: calc(var(--wd-space-base) * 4);
1069
+ }
1070
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
1071
+ .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 {
1072
+ justify-content: flex-start;
1073
+ }
1074
+
1075
+ .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
1076
+ text-align: left;
1077
+ }
1078
+ .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
1079
+ justify-content: flex-start;
1080
+ }
1081
+
1082
+ .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
1083
+ text-align: right;
1084
+ }
1085
+ .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
1086
+ justify-content: flex-end;
1087
+ }
1088
+
1089
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1090
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1091
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1092
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1093
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1094
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1095
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
1096
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
1097
+ text-align: left;
1098
+ }
1099
+ .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,
1100
+ .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,
1101
+ .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,
1102
+ .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,
1103
+ .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,
1104
+ .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,
1105
+ .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,
1106
+ .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 {
1107
+ justify-content: flex-start;
1108
+ }
1109
+ .wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1110
+ .wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1111
+ .wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1112
+ .wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1113
+ .wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1114
+ .wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1115
+ .wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
1116
+ .wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
1117
+ text-align: right;
1118
+ }
1119
+ .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,
1120
+ .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,
1121
+ .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,
1122
+ .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,
1123
+ .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,
1124
+ .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,
1125
+ .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,
1126
+ .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 {
1127
+ justify-content: flex-end;
1128
+ }
1129
+
1130
+ .item-size-height-xs .wd-form-item-wrap__label {
1131
+ line-height: var(--wd-form-item-label-height-xs);
1132
+ }
1133
+ .item-size-height-xs .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1134
+ line-height: var(--wd-form-item-label-height-xs);
1135
+ }
1136
+ .item-size-height-xs .wd-form-item-wrap__control {
1137
+ flex: auto;
1138
+ width: 100%;
1139
+ }
1140
+ .item-size-height-xs .wd-form-item-wrap__control-wrap {
1141
+ min-height: var(--wd-form-item-label-height-xs);
1142
+ }
1143
+
1144
+ .item-size-height-sm .wd-form-item-wrap__label {
1145
+ line-height: var(--wd-form-item-label-height-sm);
1146
+ }
1147
+ .item-size-height-sm .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1148
+ line-height: var(--wd-form-item-label-height-sm);
1149
+ }
1150
+ .item-size-height-sm .wd-form-item-wrap__control {
1151
+ flex: auto;
1152
+ width: 100%;
1153
+ }
1154
+ .item-size-height-sm .wd-form-item-wrap__control-wrap {
1155
+ min-height: var(--wd-form-item-label-height-sm);
1156
+ }
1157
+
1158
+ .item-size-height-md .wd-form-item-wrap__label {
1159
+ line-height: var(--wd-form-item-label-height-md);
1160
+ }
1161
+ .item-size-height-md .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1162
+ line-height: var(--wd-form-item-label-height-md);
1163
+ }
1164
+ .item-size-height-md .wd-form-item-wrap__control {
1165
+ flex: auto;
1166
+ width: 100%;
1167
+ }
1168
+ .item-size-height-md .wd-form-item-wrap__control-wrap {
1169
+ min-height: var(--wd-form-item-label-height-md);
1170
+ }
1171
+
1172
+ .item-size-height-lg .wd-form-item-wrap__label {
1173
+ line-height: var(--wd-form-item-label-height-lg);
1174
+ }
1175
+ .item-size-height-lg .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
1176
+ line-height: var(--wd-form-item-label-height-lg);
1177
+ }
1178
+ .item-size-height-lg .wd-form-item-wrap__control {
1179
+ flex: auto;
1180
+ width: 100%;
1181
+ }
1182
+ .item-size-height-lg .wd-form-item-wrap__control-wrap {
1183
+ min-height: var(--wd-form-item-label-height-lg);
1184
+ }
1185
+
1186
+ .wd-input__limit-number {
1187
+ padding-left: calc(var(--wd-space-base) * 2);
1188
+ color: var(--wd-input-limit-number-color);
1189
+ font-weight: var(--wd-input-limit-number-weight);
1190
+ font-size: var(--wd-input-limit-number-size);
1191
+ }
1192
+
1193
+ .wd-form-read-value {
1194
+ padding-top: 2px;
1195
+ }
1196
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn {
1197
+ padding: 0;
1198
+ border: none;
1199
+ color: var(--wd-form-readonly-font-color);
1200
+ background: transparent;
1201
+ }
1202
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn:hover {
1203
+ background: transparent;
1204
+ }
1205
+ .wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn .wedatea2td-dropdown__value {
1206
+ line-height: inherit;
1207
+ }
1208
+ .wd-form-read-value .weui-input-arrow {
1209
+ display: none;
1210
+ }
1211
+ .wd-form-read-value .wedatea2td-icon.wedatea2td-icon-arrowdown {
1212
+ display: none;
1213
+ }
1214
+
1215
+ .wd-form-read-color {
1216
+ opacity: 0.6;
1217
+ }
1218
+ .wd-form-read-color .wedatea2td-tag {
1219
+ background-color: transparent;
1220
+ padding: 0;
1221
+ border: none;
1222
+ }
1223
+
1224
+ .wd-select__disabled {
1225
+ line-height: var(--wd-form-item-height-md);
1226
+ color: rgba(0, 0, 0, 0.6);
1227
+ }
1228
+
1229
+ .wd-form .wd-select__disabled {
1230
+ line-height: 1.38rem;
1231
+ color: rgba(0, 0, 0, 0.6);
1232
+ }
1233
+
1234
+ .wd-form.wd-pc-form .wd-form-item {
1235
+ width: 100%;
1236
+ padding-top: calc(var(--wd-space-base) * 2.5);
1237
+ padding-bottom: calc(var(--wd-space-base) * 2.5);
1238
+ }
1239
+ .wd-form.wd-pc-form .wd-form-input-group, .wd-form.wd-pc-form .wd-form-input-wrap {
1240
+ width: 100%;
1241
+ }
1242
+ .wd-form.size-width-sm {
1243
+ width: var(--wd-form-container-width-sm);
1244
+ }
1245
+ .wd-form.size-width-md {
1246
+ width: var(--wd-form-container-width-md);
1247
+ }
1248
+ .wd-form.size-width-lg {
1249
+ width: var(--wd-form-container-width-lg);
1250
+ }
1251
+ .wd-form.size-width-hundred {
1252
+ width: 100%;
1253
+ }
1254
+
1255
+ .wd-form-input-wrap {
1256
+ --wd-form-input-wrap-border-radius: var(--wd-border-radius);
1257
+ --wd-form-input-wrap-text-default: var(--wd-color-text-form-default);
1258
+ --wd-form-input-wrap-text-hover: var(--wd-color-text-form-default);
1259
+ --wd-form-input-wrap-text-focus: var(--wd-color-text-form-default);
1260
+ --wd-form-input-wrap-text-disabled: var(--wd-color-text-form-disabled);
1261
+ --wd-form-input-wrap-bg-default: transparent;
1262
+ --wd-form-input-wrap-bg-hover: transparent;
1263
+ --wd-form-input-wrap-bg-focus: transparent;
1264
+ --wd-form-input-wrap-bg-disabled: var(--wd-color-bg-form-disabled);
1265
+ --wd-form-input-wrap-border-default: var(--wd-color-border-form-default);
1266
+ --wd-form-input-wrap-border-hover: var(--wd-color-brand);
1267
+ --wd-form-input-wrap-border-focus: var(--wd-color-brand-focus);
1268
+ --wd-form-input-wrap-border-disabled: var(--wd-color-border-form-disabled);
1269
+ --wd-form-input-wrap-height-sm: var(--wd-form-item-height-sm);
1270
+ --wd-form-input-wrap-height-md: var(--wd-form-item-height-md);
1271
+ --wd-form-input-wrap-height-lg: var(--wd-form-item-height-lg);
1272
+ --wd-form-input-wrap-width-sm: var(--wd-form-width-sm);
1273
+ --wd-form-input-wrap-width-md: var(--wd-form-width-md);
1274
+ --wd-form-input-wrap-width-lg: var(--wd-form-width-lg);
1275
+ --wd-form-input-wrap-padding-lr: 0.5rem;
1276
+ --wd-form-input-wrap-padding: 0 var(--wd-form-input-wrap-padding-lr);
1277
+ --wd-form-input-wrap-text-align: left;
1278
+ --wd-form-input-wrap-text-font-size: var(--wd-font-size-default);
1279
+ --wd-form-input-wrap-text-font-color: var(--wd-font-gray-1);
1280
+ --wd-form-input-wrap-text-font-weight: normal;
1281
+ }
1282
+
1283
+ .wd-form.wd-form--weui .wd-form-input-wrap,
1284
+ .wd-form-item.wd-form-item--weui .wd-form-input-wrap {
1285
+ --wd-form-input-wrap-text-font-size: var(--wd-font-size-4);
1286
+ }
1287
+
1288
+ .wd-form-input-wrap {
1289
+ color: var(--wd-color-text-default);
1290
+ font-size: var(--wd-font-size-default);
1291
+ line-height: var(--wd-font-line-height-default);
1292
+ box-sizing: border-box;
1293
+ margin: 0;
1294
+ padding: 0;
1295
+ list-style: none;
1296
+ display: flex;
1297
+ align-items: center;
1298
+ height: var(--wd-form-input-wrap-height-md);
1299
+ width: var(--wd-form-input-wrap-width-md);
1300
+ border: 1px solid var(--wd-form-input-wrap-border-default);
1301
+ border-radius: var(--wd-form-input-wrap-border-radius);
1302
+ padding: var(--wd-form-input-wrap-padding);
1303
+ background-color: var(--wd-form-input-wrap-bg-default);
1304
+ font-size: var(--wd-form-input-wrap-text-font-size);
1305
+ font-weight: var(--wd-form-input-wrap-text-font-weight);
1306
+ cursor: text;
1307
+ }
1308
+ .wd-form-input-wrap--no-radius-right {
1309
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
1310
+ }
1311
+ .wd-form-input-wrap--no-radius-left {
1312
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
1313
+ }
1314
+ .wd-form-input-wrap--no-padding-left {
1315
+ padding-left: 0;
1316
+ }
1317
+ .wd-form-input-wrap--no-padding-right {
1318
+ padding-right: 0;
1319
+ }
1320
+ .wd-form-input-wrap--no-radius {
1321
+ border-radius: 0;
1322
+ }
1323
+ .wd-form-input-wrap--no-border {
1324
+ border: none;
1325
+ border-radius: 0;
1326
+ border-color: transparent;
1327
+ box-shadow: none;
1328
+ }
1329
+ .wd-form-input-wrap--no-border.wd-form-input-wrap {
1330
+ border-color: transparent;
1331
+ background-color: transparent;
1332
+ box-shadow: none;
1333
+ }
1334
+ .wd-form-input-wrap--no-border.wd-form-input-wrap.is-focused:not(.is-disabled), .wd-form-input-wrap--no-border.wd-form-input-wrap:focus:not(.is-disabled) {
1335
+ border-color: transparent;
1336
+ background-color: transparent;
1337
+ box-shadow: none;
1338
+ border-radius: var(--wd-form-weui-item-press-border-radius);
1339
+ border-bottom: 1px solid var(--wd-form-input-wrap-border-hover);
1340
+ }
1341
+ .wd-form-input-wrap--no-border.wd-form-input-wrap__label {
1342
+ line-height: none;
1343
+ }
1344
+ .wd-form-input-wrap:hover:not(.is-disabled) {
1345
+ border-color: var(--wd-form-input-wrap-border-hover);
1346
+ background-color: var(--wd-form-input-wrap-bg-hover);
1347
+ color: var(--wd-form-input-wrap-text-hover);
1348
+ }
1349
+ .wd-form-input-wrap.is-focused:not(.is-disabled), .wd-form-input-wrap:focus:not(.is-disabled) {
1350
+ border-color: var(--wd-form-input-wrap-border-hover);
1351
+ background-color: var(--wd-form-input-wrap-bg-focus);
1352
+ color: var(--wd-form-input-wrap-text-focus);
1353
+ box-shadow: 0px 0px 0px 0px;
1354
+ }
1355
+ .wd-form-input-wrap.is-disabled {
1356
+ border-color: var(--wd-form-input-wrap-border-disabled);
1357
+ background-color: var(--wd-form-input-wrap-bg-disabled);
1358
+ color: var(--wd-form-input-wrap-text-disabled);
1359
+ cursor: not-allowed;
1360
+ }
1361
+ .wd-form-input-wrap.is-disabled input {
1362
+ cursor: not-allowed;
1363
+ }
1364
+ .wd-form-input-wrap__content {
1365
+ flex: 1 1 0px;
1366
+ height: 100%;
1367
+ display: flex;
1368
+ align-items: center;
1369
+ }
1370
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered {
1371
+ background-color: #f2f2f2;
1372
+ border-color: #f2f2f2;
1373
+ border-radius: var(--wd-border-radius);
1374
+ margin: calc(var(--wd-space-base) * 2) var(--wd-form-item-pd);
1375
+ }
1376
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered.is-focused {
1377
+ background-color: #f2f2f2;
1378
+ }
1379
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered.is-h5-borderless {
1380
+ padding: 0.5rem;
1381
+ }
1382
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered:hover {
1383
+ background-color: #f2f2f2;
1384
+ }
1385
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-white.is-pc-bordered {
1386
+ border: 1px solid var(--wd-form-input-wrap-border-default);
1387
+ border-radius: var(--wd-border-radius);
1388
+ margin: calc(var(--wd-space-base) * 2) var(--wd-form-item-pd);
1389
+ }
1390
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-white.is-pc-bordered.is-focused {
1391
+ border: 1px solid var(--wd-form-input-wrap-border-default);
1392
+ border-radius: var(--wd-border-radius);
1393
+ }
1394
+ .wd-form-input-wrap.wd-input-input-search.template.search-box.color-white.is-pc-bordered.is-h5-borderless {
1395
+ padding: 0.5rem;
1396
+ }
1397
+ .wd-form-input-wrap input,
1398
+ .wd-form-input-wrap textarea, .wd-form-input-wrap__input {
1399
+ height: 100%;
1400
+ width: 100%;
1401
+ appearance: none;
1402
+ border: none;
1403
+ background-color: transparent;
1404
+ font: inherit;
1405
+ text-align: inherit;
1406
+ -webkit-text-fill-color: inherit;
1407
+ }
1408
+ .wd-form-input-wrap input[type=number]::-webkit-inner-spin-button,
1409
+ .wd-form-input-wrap input[type=number]::-webkit-outer-spin-button,
1410
+ .wd-form-input-wrap input[type=number] {
1411
+ -webkit-appearance: none;
1412
+ -moz-animation: textfield;
1413
+ }
1414
+ .wd-form-input-wrap__placeholder {
1415
+ color: var(--wd-color-text-placeholder);
1416
+ }
1417
+ .wd-form-input-wrap ::-webkit-input-placeholder {
1418
+ color: var(--wd-color-text-placeholder);
1419
+ }
1420
+ .wd-form-input-wrap :-moz-placeholder {
1421
+ color: var(--wd-color-text-placeholder);
1422
+ }
1423
+ .wd-form-input-wrap ::-moz-placeholder {
1424
+ color: var(--wd-color-text-placeholder);
1425
+ }
1426
+ .wd-form-input-wrap :-ms-input-placeholder {
1427
+ color: var(--wd-color-text-placeholder);
1428
+ }
1429
+ .wd-form-input-wrap__before, .wd-form-input-wrap__after {
1430
+ flex: 0 0 auto;
1431
+ height: 100%;
1432
+ display: flex;
1433
+ align-items: center;
1434
+ }
1435
+ .wd-form-input-wrap__before i.wd-icon__trigger, .wd-form-input-wrap__after i.wd-icon__trigger {
1436
+ cursor: pointer;
1437
+ }
1438
+ .wd-form-input-wrap__before {
1439
+ margin-right: 0.25rem;
1440
+ }
1441
+ .wd-form-input-wrap__after {
1442
+ margin-left: 0.25rem;
1443
+ }
1444
+
1445
+ .wd-form-input-wrap.size-font-sm {
1446
+ font: var(--wd-typography-body-sm);
1447
+ }
1448
+ .wd-form-input-wrap.size-height-sm {
1449
+ height: var(--wd-form-height-sm);
1450
+ }
1451
+ .wd-form-input-wrap.size-width-sm {
1452
+ width: var(--wd-form-width-sm);
1453
+ }
1454
+ .wd-form-input-wrap.size-font-md {
1455
+ font: var(--wd-typography-body-md);
1456
+ }
1457
+ .wd-form-input-wrap.size-height-md {
1458
+ height: var(--wd-form-item-height-md);
1459
+ }
1460
+ .wd-form-input-wrap.size-width-md {
1461
+ width: var(--wd-form-width-md);
1462
+ }
1463
+ .wd-form-input-wrap.size-font-lg {
1464
+ font: var(--wd-typography-body-lg);
1465
+ }
1466
+ .wd-form-input-wrap.size-height-lg {
1467
+ height: var(--wd-form-item-height-lg);
1468
+ }
1469
+ .wd-form-input-wrap.size-width-lg {
1470
+ width: var(--wd-form-width-lg);
1471
+ }
1472
+ .wd-form-input-wrap.size-width-hundred {
1473
+ width: 100%;
1474
+ }
1475
+
1476
+ .wd-form-input-group {
1477
+ --wd-form-input-group-border-radius: var(--wd-border-radius);
1478
+ --wd-form-input-group-text-default: var(--wd-color-text-form-default);
1479
+ --wd-form-input-group-text-hover: var(--wd-color-text-form-default);
1480
+ --wd-form-input-group-text-focus: var(--wd-color-text-form-default);
1481
+ --wd-form-input-group-text-disabled: var(--wd-color-text-form-disabled);
1482
+ --wd-form-input-group-bg-default: var(--wd-color-bg-form-default);
1483
+ --wd-form-input-group-bg-hover: var(--wd-color-bg-form-default);
1484
+ --wd-form-input-group-bg-focus: var(--wd-color-bg-form-default);
1485
+ --wd-form-input-group-bg-disabled: var(--wd-color-bg-form-disabled);
1486
+ --wd-form-input-group-border-default: var(--wd-color-border-form-default);
1487
+ --wd-form-input-group-border-hover: var(--wd-color-brand);
1488
+ --wd-form-input-group-border-focus: var(--wd-color-brand-focus);
1489
+ --wd-form-input-group-border-disabled: var(--wd-color-border-form-disabled);
1490
+ --wd-form-input-group-height-sm: var(--wd-form-item-height-sm);
1491
+ --wd-form-input-group-height-md: var(--wd-form-item-height-md);
1492
+ --wd-form-input-group-height-lg: var(--wd-form-item-height-lg);
1493
+ --wd-form-input-group-width-sm: var(--wd-form-width-sm);
1494
+ --wd-form-input-group-width-md: var(--wd-form-width-md);
1495
+ --wd-form-input-group-width-lg: var(--wd-form-width-lg);
1496
+ --wd-form-input-addon-padding: 0.3125rem 0.5rem;
1497
+ --wd-form-input-addon-bg: var(--wd-color-gray-1);
1498
+ --wd-form-input-addon-border-default: var(
1499
+ --wd-color-gray-4
1500
+ );
1501
+ }
1502
+
1503
+ .wd-form-input-group {
1504
+ color: var(--wd-color-text-default);
1505
+ font-size: var(--wd-font-size-default);
1506
+ line-height: var(--wd-font-line-height-default);
1507
+ box-sizing: border-box;
1508
+ margin: 0;
1509
+ padding: 0;
1510
+ list-style: none;
1511
+ display: flex;
1512
+ align-items: center;
1513
+ width: var(--wd-form-input-group-width-md);
1514
+ height: var(--wd-form-input-group-height-md);
1515
+ }
1516
+ .wd-form-input-group__addon {
1517
+ flex: none;
1518
+ height: 100%;
1519
+ display: flex;
1520
+ align-items: center;
1521
+ padding: var(--wd-form-input-addon-padding);
1522
+ background: var(--wd-form-input-addon-bg);
1523
+ border: 1px solid var(--wd-form-input-addon-border-default);
1524
+ }
1525
+ .wd-form-input-group__addon-left {
1526
+ margin-right: -1px;
1527
+ border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
1528
+ }
1529
+ .wd-form-input-group__addon-right {
1530
+ border-width: 1px 1px 1px 0;
1531
+ border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
1532
+ }
1533
+ .wd-form-input-group .wd-form-input-wrap {
1534
+ width: 100%;
1535
+ height: 100%;
1536
+ }
1537
+ .wd-form-input-group__content {
1538
+ flex: 1 1 0px;
1539
+ height: 100%;
1540
+ display: flex;
1541
+ align-items: center;
1542
+ flex-direction: column;
1543
+ }
1544
+
1545
+ .wd-form-input-group.size-font-sm {
1546
+ font: var(--wd-typography-body-sm);
1547
+ }
1548
+ .wd-form-input-group.size-height-sm {
1549
+ height: var(--wd-form-height-sm);
1550
+ }
1551
+ .wd-form-input-group.size-width-sm {
1552
+ width: var(--wd-form-width-sm);
1553
+ }
1554
+ .wd-form-input-group.size-font-md {
1555
+ font: var(--wd-typography-body-md);
1556
+ }
1557
+ .wd-form-input-group.size-height-md {
1558
+ height: var(--wd-form-item-height-md);
1559
+ }
1560
+ .wd-form-input-group.size-width-md {
1561
+ width: var(--wd-form-width-md);
1562
+ }
1563
+ .wd-form-input-group.size-font-lg {
1564
+ font: var(--wd-typography-body-lg);
1565
+ }
1566
+ .wd-form-input-group.size-height-lg {
1567
+ height: var(--wd-form-item-height-lg);
1568
+ }
1569
+ .wd-form-input-group.size-width-lg {
1570
+ width: var(--wd-form-width-lg);
1571
+ }
1572
+ .wd-form-input-group.size-width-hundred {
1573
+ width: 100%;
1574
+ }