@uiw/doc 4.11.6 → 4.12.2

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 (797) hide show
  1. package/README.md +21 -1
  2. package/package.json +1 -1
  3. package/web/CONTRIBUTORS.svg +4 -4
  4. package/web/asset-manifest.json +403 -395
  5. package/web/index.html +1 -1
  6. package/web/static/css/1181.b2357048.chunk.css +2 -0
  7. package/web/static/css/1181.b2357048.chunk.css.map +1 -0
  8. package/web/static/css/1689.b2357048.chunk.css +2 -0
  9. package/web/static/css/1689.b2357048.chunk.css.map +1 -0
  10. package/web/static/css/1773.b2357048.chunk.css +2 -0
  11. package/web/static/css/1773.b2357048.chunk.css.map +1 -0
  12. package/web/static/css/200.b2357048.chunk.css +2 -0
  13. package/web/static/css/200.b2357048.chunk.css.map +1 -0
  14. package/web/static/css/2092.b2357048.chunk.css +2 -0
  15. package/web/static/css/2092.b2357048.chunk.css.map +1 -0
  16. package/web/static/css/2208.b2357048.chunk.css +2 -0
  17. package/web/static/css/2208.b2357048.chunk.css.map +1 -0
  18. package/web/static/css/226.b2357048.chunk.css +2 -0
  19. package/web/static/css/226.b2357048.chunk.css.map +1 -0
  20. package/web/static/css/2326.b2357048.chunk.css +2 -0
  21. package/web/static/css/2326.b2357048.chunk.css.map +1 -0
  22. package/web/static/css/2476.b2357048.chunk.css +2 -0
  23. package/web/static/css/2476.b2357048.chunk.css.map +1 -0
  24. package/web/static/css/2618.b2357048.chunk.css +2 -0
  25. package/web/static/css/2618.b2357048.chunk.css.map +1 -0
  26. package/web/static/css/2739.b2357048.chunk.css +2 -0
  27. package/web/static/css/2739.b2357048.chunk.css.map +1 -0
  28. package/web/static/css/280.b2357048.chunk.css +2 -0
  29. package/web/static/css/280.b2357048.chunk.css.map +1 -0
  30. package/web/static/css/2848.b2357048.chunk.css +2 -0
  31. package/web/static/css/2848.b2357048.chunk.css.map +1 -0
  32. package/web/static/css/2855.b2357048.chunk.css +2 -0
  33. package/web/static/css/2855.b2357048.chunk.css.map +1 -0
  34. package/web/static/css/2867.b2357048.chunk.css +2 -0
  35. package/web/static/css/2867.b2357048.chunk.css.map +1 -0
  36. package/web/static/css/2937.b2357048.chunk.css +2 -0
  37. package/web/static/css/2937.b2357048.chunk.css.map +1 -0
  38. package/web/static/css/3153.b2357048.chunk.css +2 -0
  39. package/web/static/css/3153.b2357048.chunk.css.map +1 -0
  40. package/web/static/css/3410.b2357048.chunk.css +2 -0
  41. package/web/static/css/3410.b2357048.chunk.css.map +1 -0
  42. package/web/static/css/3882.b2357048.chunk.css +2 -0
  43. package/web/static/css/3882.b2357048.chunk.css.map +1 -0
  44. package/web/static/css/3972.b2357048.chunk.css +2 -0
  45. package/web/static/css/3972.b2357048.chunk.css.map +1 -0
  46. package/web/static/css/4045.b2357048.chunk.css +2 -0
  47. package/web/static/css/4045.b2357048.chunk.css.map +1 -0
  48. package/web/static/css/4234.b2357048.chunk.css +2 -0
  49. package/web/static/css/4234.b2357048.chunk.css.map +1 -0
  50. package/web/static/css/4255.b2357048.chunk.css +2 -0
  51. package/web/static/css/4255.b2357048.chunk.css.map +1 -0
  52. package/web/static/css/455.b2357048.chunk.css +2 -0
  53. package/web/static/css/455.b2357048.chunk.css.map +1 -0
  54. package/web/static/css/492.b2357048.chunk.css +2 -0
  55. package/web/static/css/492.b2357048.chunk.css.map +1 -0
  56. package/web/static/css/4960.b2357048.chunk.css +2 -0
  57. package/web/static/css/4960.b2357048.chunk.css.map +1 -0
  58. package/web/static/css/5001.b2357048.chunk.css +2 -0
  59. package/web/static/css/5001.b2357048.chunk.css.map +1 -0
  60. package/web/static/css/5080.b2357048.chunk.css +2 -0
  61. package/web/static/css/5080.b2357048.chunk.css.map +1 -0
  62. package/web/static/css/5329.b2357048.chunk.css +2 -0
  63. package/web/static/css/5329.b2357048.chunk.css.map +1 -0
  64. package/web/static/css/5374.b2357048.chunk.css +2 -0
  65. package/web/static/css/5374.b2357048.chunk.css.map +1 -0
  66. package/web/static/css/5407.b2357048.chunk.css +2 -0
  67. package/web/static/css/5407.b2357048.chunk.css.map +1 -0
  68. package/web/static/css/5475.b2357048.chunk.css +2 -0
  69. package/web/static/css/5475.b2357048.chunk.css.map +1 -0
  70. package/web/static/css/5523.b2357048.chunk.css +2 -0
  71. package/web/static/css/5523.b2357048.chunk.css.map +1 -0
  72. package/web/static/css/5576.b2357048.chunk.css +2 -0
  73. package/web/static/css/5576.b2357048.chunk.css.map +1 -0
  74. package/web/static/css/5609.b2357048.chunk.css +2 -0
  75. package/web/static/css/5609.b2357048.chunk.css.map +1 -0
  76. package/web/static/css/5630.b2357048.chunk.css +2 -0
  77. package/web/static/css/5630.b2357048.chunk.css.map +1 -0
  78. package/web/static/css/581.b2357048.chunk.css +2 -0
  79. package/web/static/css/581.b2357048.chunk.css.map +1 -0
  80. package/web/static/css/6216.b2357048.chunk.css +2 -0
  81. package/web/static/css/6216.b2357048.chunk.css.map +1 -0
  82. package/web/static/css/6221.b2357048.chunk.css +2 -0
  83. package/web/static/css/6221.b2357048.chunk.css.map +1 -0
  84. package/web/static/css/627.b2357048.chunk.css +2 -0
  85. package/web/static/css/627.b2357048.chunk.css.map +1 -0
  86. package/web/static/css/6315.b2357048.chunk.css +2 -0
  87. package/web/static/css/6315.b2357048.chunk.css.map +1 -0
  88. package/web/static/css/6319.b2357048.chunk.css +2 -0
  89. package/web/static/css/6319.b2357048.chunk.css.map +1 -0
  90. package/web/static/css/6421.b2357048.chunk.css +2 -0
  91. package/web/static/css/6421.b2357048.chunk.css.map +1 -0
  92. package/web/static/css/6436.b2357048.chunk.css +2 -0
  93. package/web/static/css/6436.b2357048.chunk.css.map +1 -0
  94. package/web/static/css/6623.b2357048.chunk.css +2 -0
  95. package/web/static/css/6623.b2357048.chunk.css.map +1 -0
  96. package/web/static/css/6660.b2357048.chunk.css +2 -0
  97. package/web/static/css/6660.b2357048.chunk.css.map +1 -0
  98. package/web/static/css/6889.b2357048.chunk.css +2 -0
  99. package/web/static/css/6889.b2357048.chunk.css.map +1 -0
  100. package/web/static/css/6956.b2357048.chunk.css +2 -0
  101. package/web/static/css/6956.b2357048.chunk.css.map +1 -0
  102. package/web/static/css/7213.b2357048.chunk.css +2 -0
  103. package/web/static/css/7213.b2357048.chunk.css.map +1 -0
  104. package/web/static/css/7491.b2357048.chunk.css +2 -0
  105. package/web/static/css/7491.b2357048.chunk.css.map +1 -0
  106. package/web/static/css/751.b2357048.chunk.css +2 -0
  107. package/web/static/css/751.b2357048.chunk.css.map +1 -0
  108. package/web/static/css/7712.b2357048.chunk.css +2 -0
  109. package/web/static/css/7712.b2357048.chunk.css.map +1 -0
  110. package/web/static/css/7858.b2357048.chunk.css +2 -0
  111. package/web/static/css/7858.b2357048.chunk.css.map +1 -0
  112. package/web/static/css/7898.b2357048.chunk.css +2 -0
  113. package/web/static/css/7898.b2357048.chunk.css.map +1 -0
  114. package/web/static/css/8131.b2357048.chunk.css +2 -0
  115. package/web/static/css/8131.b2357048.chunk.css.map +1 -0
  116. package/web/static/css/8200.b2357048.chunk.css +2 -0
  117. package/web/static/css/8200.b2357048.chunk.css.map +1 -0
  118. package/web/static/css/8471.b2357048.chunk.css +2 -0
  119. package/web/static/css/8471.b2357048.chunk.css.map +1 -0
  120. package/web/static/css/8804.b2357048.chunk.css +2 -0
  121. package/web/static/css/8804.b2357048.chunk.css.map +1 -0
  122. package/web/static/css/8913.2a644fcc.chunk.css +2 -0
  123. package/web/static/css/8913.2a644fcc.chunk.css.map +1 -0
  124. package/web/static/css/9126.b2357048.chunk.css +2 -0
  125. package/web/static/css/9126.b2357048.chunk.css.map +1 -0
  126. package/web/static/css/9331.b2357048.chunk.css +2 -0
  127. package/web/static/css/9331.b2357048.chunk.css.map +1 -0
  128. package/web/static/css/9421.b2357048.chunk.css +2 -0
  129. package/web/static/css/9421.b2357048.chunk.css.map +1 -0
  130. package/web/static/css/9574.b2357048.chunk.css +2 -0
  131. package/web/static/css/9574.b2357048.chunk.css.map +1 -0
  132. package/web/static/css/9636.b2357048.chunk.css +2 -0
  133. package/web/static/css/9636.b2357048.chunk.css.map +1 -0
  134. package/web/static/css/9762.b2357048.chunk.css +2 -0
  135. package/web/static/css/9762.b2357048.chunk.css.map +1 -0
  136. package/web/static/css/9767.b2357048.chunk.css +2 -0
  137. package/web/static/css/9767.b2357048.chunk.css.map +1 -0
  138. package/web/static/css/9777.b2357048.chunk.css +2 -0
  139. package/web/static/css/9777.b2357048.chunk.css.map +1 -0
  140. package/web/static/css/9871.b2357048.chunk.css +2 -0
  141. package/web/static/css/9871.b2357048.chunk.css.map +1 -0
  142. package/web/static/css/{main.9ac00422.css → main.dc552a00.css} +2 -2
  143. package/web/static/css/main.dc552a00.css.map +1 -0
  144. package/web/static/js/1016.a3866702.chunk.js +2 -0
  145. package/web/static/js/1016.a3866702.chunk.js.map +1 -0
  146. package/web/static/js/1151.3c560b1f.chunk.js +2 -0
  147. package/web/static/js/1151.3c560b1f.chunk.js.map +1 -0
  148. package/web/static/js/1181.a4e136ed.chunk.js +2 -0
  149. package/web/static/js/1181.a4e136ed.chunk.js.map +1 -0
  150. package/web/static/js/1689.7948256d.chunk.js +2 -0
  151. package/web/static/js/1689.7948256d.chunk.js.map +1 -0
  152. package/web/static/js/1756.87f583cc.chunk.js +2 -0
  153. package/web/static/js/1756.87f583cc.chunk.js.map +1 -0
  154. package/web/static/js/1773.81281c87.chunk.js +2 -0
  155. package/web/static/js/1773.81281c87.chunk.js.map +1 -0
  156. package/web/static/js/1971.d746cb8b.chunk.js +2 -0
  157. package/web/static/js/1971.d746cb8b.chunk.js.map +1 -0
  158. package/web/static/js/200.38df68ff.chunk.js +2 -0
  159. package/web/static/js/200.38df68ff.chunk.js.map +1 -0
  160. package/web/static/js/207.891adb65.chunk.js +2 -0
  161. package/web/static/js/207.891adb65.chunk.js.map +1 -0
  162. package/web/static/js/2078.53137233.chunk.js +2 -0
  163. package/web/static/js/2078.53137233.chunk.js.map +1 -0
  164. package/web/static/js/2092.687ce5dd.chunk.js +2 -0
  165. package/web/static/js/2092.687ce5dd.chunk.js.map +1 -0
  166. package/web/static/js/2208.76dc4a23.chunk.js +2 -0
  167. package/web/static/js/2208.76dc4a23.chunk.js.map +1 -0
  168. package/web/static/js/226.d45dd164.chunk.js +2 -0
  169. package/web/static/js/226.d45dd164.chunk.js.map +1 -0
  170. package/web/static/js/2326.ff7ee739.chunk.js +2 -0
  171. package/web/static/js/2326.ff7ee739.chunk.js.map +1 -0
  172. package/web/static/js/2448.1d46904a.chunk.js +2 -0
  173. package/web/static/js/2448.1d46904a.chunk.js.map +1 -0
  174. package/web/static/js/2456.624e63f5.chunk.js +2 -0
  175. package/web/static/js/2456.624e63f5.chunk.js.map +1 -0
  176. package/web/static/js/2476.f15bbd3e.chunk.js +2 -0
  177. package/web/static/js/2476.f15bbd3e.chunk.js.map +1 -0
  178. package/web/static/js/2618.adf157a1.chunk.js +2 -0
  179. package/web/static/js/2618.adf157a1.chunk.js.map +1 -0
  180. package/web/static/js/2679.0780e749.chunk.js +2 -0
  181. package/web/static/js/2679.0780e749.chunk.js.map +1 -0
  182. package/web/static/js/2692.db178ecc.chunk.js +2 -0
  183. package/web/static/js/2692.db178ecc.chunk.js.map +1 -0
  184. package/web/static/js/2739.5d80ad30.chunk.js +2 -0
  185. package/web/static/js/2739.5d80ad30.chunk.js.map +1 -0
  186. package/web/static/js/2795.45c184a0.chunk.js +2 -0
  187. package/web/static/js/2795.45c184a0.chunk.js.map +1 -0
  188. package/web/static/js/280.b0605a39.chunk.js +2 -0
  189. package/web/static/js/280.b0605a39.chunk.js.map +1 -0
  190. package/web/static/js/2848.0646737c.chunk.js +2 -0
  191. package/web/static/js/2848.0646737c.chunk.js.map +1 -0
  192. package/web/static/js/2855.81a8ad12.chunk.js +2 -0
  193. package/web/static/js/2855.81a8ad12.chunk.js.map +1 -0
  194. package/web/static/js/2867.35ca4c44.chunk.js +2 -0
  195. package/web/static/js/2867.35ca4c44.chunk.js.map +1 -0
  196. package/web/static/js/2937.94f91537.chunk.js +2 -0
  197. package/web/static/js/2937.94f91537.chunk.js.map +1 -0
  198. package/web/static/js/3153.cb1a3310.chunk.js +2 -0
  199. package/web/static/js/3153.cb1a3310.chunk.js.map +1 -0
  200. package/web/static/js/3257.5693b5c1.chunk.js +2 -0
  201. package/web/static/js/3257.5693b5c1.chunk.js.map +1 -0
  202. package/web/static/js/3261.d4120c57.chunk.js +2 -0
  203. package/web/static/js/3261.d4120c57.chunk.js.map +1 -0
  204. package/web/static/js/3410.64427e15.chunk.js +2 -0
  205. package/web/static/js/3410.64427e15.chunk.js.map +1 -0
  206. package/web/static/js/3450.bb5e6340.chunk.js +2 -0
  207. package/web/static/js/3450.bb5e6340.chunk.js.map +1 -0
  208. package/web/static/js/3769.535a1903.chunk.js +2 -0
  209. package/web/static/js/3769.535a1903.chunk.js.map +1 -0
  210. package/web/static/js/3811.ac38cada.chunk.js +2 -0
  211. package/web/static/js/3811.ac38cada.chunk.js.map +1 -0
  212. package/web/static/js/3882.60e1c8dd.chunk.js +2 -0
  213. package/web/static/js/3882.60e1c8dd.chunk.js.map +1 -0
  214. package/web/static/js/3931.088517c5.chunk.js +2 -0
  215. package/web/static/js/3931.088517c5.chunk.js.map +1 -0
  216. package/web/static/js/3972.de13130a.chunk.js +2 -0
  217. package/web/static/js/3972.de13130a.chunk.js.map +1 -0
  218. package/web/static/js/4036.412a4652.chunk.js +2 -0
  219. package/web/static/js/4036.412a4652.chunk.js.map +1 -0
  220. package/web/static/js/4045.f60bb8b6.chunk.js +2 -0
  221. package/web/static/js/4045.f60bb8b6.chunk.js.map +1 -0
  222. package/web/static/js/4234.3f7f9515.chunk.js +2 -0
  223. package/web/static/js/4234.3f7f9515.chunk.js.map +1 -0
  224. package/web/static/js/4255.af5d4d84.chunk.js +2 -0
  225. package/web/static/js/4255.af5d4d84.chunk.js.map +1 -0
  226. package/web/static/js/455.902c1058.chunk.js +2 -0
  227. package/web/static/js/455.902c1058.chunk.js.map +1 -0
  228. package/web/static/js/4781.ce661c8a.chunk.js +2 -0
  229. package/web/static/js/4781.ce661c8a.chunk.js.map +1 -0
  230. package/web/static/js/486.fc977627.chunk.js +2 -0
  231. package/web/static/js/486.fc977627.chunk.js.map +1 -0
  232. package/web/static/js/{4877.607c2b06.chunk.js → 4877.578a0d95.chunk.js} +2 -2
  233. package/web/static/js/{4877.607c2b06.chunk.js.map → 4877.578a0d95.chunk.js.map} +1 -1
  234. package/web/static/js/492.e850f1fb.chunk.js +2 -0
  235. package/web/static/js/492.e850f1fb.chunk.js.map +1 -0
  236. package/web/static/js/4960.2437edb5.chunk.js +2 -0
  237. package/web/static/js/4960.2437edb5.chunk.js.map +1 -0
  238. package/web/static/js/5001.5daf2796.chunk.js +2 -0
  239. package/web/static/js/5001.5daf2796.chunk.js.map +1 -0
  240. package/web/static/js/5080.ee9eaece.chunk.js +2 -0
  241. package/web/static/js/5080.ee9eaece.chunk.js.map +1 -0
  242. package/web/static/js/5146.76b73d7f.chunk.js +2 -0
  243. package/web/static/js/5146.76b73d7f.chunk.js.map +1 -0
  244. package/web/static/js/5183.f902746f.js +3 -0
  245. package/web/static/js/{5183.7b46ce4a.js.LICENSE.txt → 5183.f902746f.js.LICENSE.txt} +0 -0
  246. package/web/static/js/5183.f902746f.js.map +1 -0
  247. package/web/static/js/5253.7a8716a8.chunk.js +2 -0
  248. package/web/static/js/5253.7a8716a8.chunk.js.map +1 -0
  249. package/web/static/js/5329.30dd2c4c.chunk.js +2 -0
  250. package/web/static/js/5329.30dd2c4c.chunk.js.map +1 -0
  251. package/web/static/js/5364.b95913d0.chunk.js +2 -0
  252. package/web/static/js/5364.b95913d0.chunk.js.map +1 -0
  253. package/web/static/js/5374.02099454.chunk.js +2 -0
  254. package/web/static/js/5374.02099454.chunk.js.map +1 -0
  255. package/web/static/js/5407.dc875989.chunk.js +2 -0
  256. package/web/static/js/5407.dc875989.chunk.js.map +1 -0
  257. package/web/static/js/5468.ea87a4b5.chunk.js +2 -0
  258. package/web/static/js/5468.ea87a4b5.chunk.js.map +1 -0
  259. package/web/static/js/5475.08f3cc8c.chunk.js +2 -0
  260. package/web/static/js/5475.08f3cc8c.chunk.js.map +1 -0
  261. package/web/static/js/5523.a7ee9e30.chunk.js +2 -0
  262. package/web/static/js/5523.a7ee9e30.chunk.js.map +1 -0
  263. package/web/static/js/5576.bbfaf999.chunk.js +2 -0
  264. package/web/static/js/5576.bbfaf999.chunk.js.map +1 -0
  265. package/web/static/js/5609.426d8e5b.chunk.js +2 -0
  266. package/web/static/js/5609.426d8e5b.chunk.js.map +1 -0
  267. package/web/static/js/5630.f27b567a.chunk.js +2 -0
  268. package/web/static/js/5630.f27b567a.chunk.js.map +1 -0
  269. package/web/static/js/581.264f67be.chunk.js +2 -0
  270. package/web/static/js/581.264f67be.chunk.js.map +1 -0
  271. package/web/static/js/5821.41b747c6.chunk.js +2 -0
  272. package/web/static/js/5821.41b747c6.chunk.js.map +1 -0
  273. package/web/static/js/5930.65ea3787.chunk.js +2 -0
  274. package/web/static/js/5930.65ea3787.chunk.js.map +1 -0
  275. package/web/static/js/6019.add10037.chunk.js +2 -0
  276. package/web/static/js/6019.add10037.chunk.js.map +1 -0
  277. package/web/static/js/6036.289c2eb8.chunk.js +2 -0
  278. package/web/static/js/6036.289c2eb8.chunk.js.map +1 -0
  279. package/web/static/js/6216.93b30f41.chunk.js +2 -0
  280. package/web/static/js/6216.93b30f41.chunk.js.map +1 -0
  281. package/web/static/js/6221.0b909b28.chunk.js +2 -0
  282. package/web/static/js/6221.0b909b28.chunk.js.map +1 -0
  283. package/web/static/js/627.7abc7758.chunk.js +2 -0
  284. package/web/static/js/627.7abc7758.chunk.js.map +1 -0
  285. package/web/static/js/6315.5a722a81.chunk.js +2 -0
  286. package/web/static/js/6315.5a722a81.chunk.js.map +1 -0
  287. package/web/static/js/6319.6a3ee525.chunk.js +2 -0
  288. package/web/static/js/6319.6a3ee525.chunk.js.map +1 -0
  289. package/web/static/js/6421.4eb74d59.chunk.js +2 -0
  290. package/web/static/js/6421.4eb74d59.chunk.js.map +1 -0
  291. package/web/static/js/6436.ab730989.chunk.js +2 -0
  292. package/web/static/js/6436.ab730989.chunk.js.map +1 -0
  293. package/web/static/js/6536.6aaaba5b.chunk.js +2 -0
  294. package/web/static/js/6536.6aaaba5b.chunk.js.map +1 -0
  295. package/web/static/js/6566.3c91cbc8.chunk.js +2 -0
  296. package/web/static/js/6566.3c91cbc8.chunk.js.map +1 -0
  297. package/web/static/js/6623.d0d13abe.chunk.js +2 -0
  298. package/web/static/js/6623.d0d13abe.chunk.js.map +1 -0
  299. package/web/static/js/6659.6790167d.chunk.js +2 -0
  300. package/web/static/js/6659.6790167d.chunk.js.map +1 -0
  301. package/web/static/js/6660.4f803e55.chunk.js +2 -0
  302. package/web/static/js/6660.4f803e55.chunk.js.map +1 -0
  303. package/web/static/js/6869.6df90f7d.chunk.js +2 -0
  304. package/web/static/js/6869.6df90f7d.chunk.js.map +1 -0
  305. package/web/static/js/6878.c6cec0d9.chunk.js +2 -0
  306. package/web/static/js/6878.c6cec0d9.chunk.js.map +1 -0
  307. package/web/static/js/6889.19f9c313.chunk.js +2 -0
  308. package/web/static/js/6889.19f9c313.chunk.js.map +1 -0
  309. package/web/static/js/6956.011c753c.chunk.js +2 -0
  310. package/web/static/js/6956.011c753c.chunk.js.map +1 -0
  311. package/web/static/js/7079.3aa94426.chunk.js +2 -0
  312. package/web/static/js/7079.3aa94426.chunk.js.map +1 -0
  313. package/web/static/js/7213.5faca4d7.chunk.js +2 -0
  314. package/web/static/js/7213.5faca4d7.chunk.js.map +1 -0
  315. package/web/static/js/7217.1cd6fbd5.chunk.js +2 -0
  316. package/web/static/js/7217.1cd6fbd5.chunk.js.map +1 -0
  317. package/web/static/js/7266.bba9c51f.chunk.js +2 -0
  318. package/web/static/js/7266.bba9c51f.chunk.js.map +1 -0
  319. package/web/static/js/7313.afa8589a.chunk.js +2 -0
  320. package/web/static/js/7313.afa8589a.chunk.js.map +1 -0
  321. package/web/static/js/745.3a86c62c.chunk.js +2 -0
  322. package/web/static/js/745.3a86c62c.chunk.js.map +1 -0
  323. package/web/static/js/747.7519f1c0.chunk.js +2 -0
  324. package/web/static/js/747.7519f1c0.chunk.js.map +1 -0
  325. package/web/static/js/7491.61d9e36a.chunk.js +2 -0
  326. package/web/static/js/7491.61d9e36a.chunk.js.map +1 -0
  327. package/web/static/js/751.f1e39665.chunk.js +2 -0
  328. package/web/static/js/751.f1e39665.chunk.js.map +1 -0
  329. package/web/static/js/766.3a803d1a.chunk.js +2 -0
  330. package/web/static/js/766.3a803d1a.chunk.js.map +1 -0
  331. package/web/static/js/7664.f92b74f7.chunk.js +2 -0
  332. package/web/static/js/7664.f92b74f7.chunk.js.map +1 -0
  333. package/web/static/js/7712.ceb152fe.chunk.js +2 -0
  334. package/web/static/js/7712.ceb152fe.chunk.js.map +1 -0
  335. package/web/static/js/7858.0b4a36cb.chunk.js +2 -0
  336. package/web/static/js/7858.0b4a36cb.chunk.js.map +1 -0
  337. package/web/static/js/7861.757503f5.chunk.js +2 -0
  338. package/web/static/js/7861.757503f5.chunk.js.map +1 -0
  339. package/web/static/js/7898.4d9e4ad0.chunk.js +2 -0
  340. package/web/static/js/7898.4d9e4ad0.chunk.js.map +1 -0
  341. package/web/static/js/8090.ed60bf9b.chunk.js +3 -0
  342. package/web/static/js/{77.bdabcc80.chunk.js.LICENSE.txt → 8090.ed60bf9b.chunk.js.LICENSE.txt} +0 -0
  343. package/web/static/js/8090.ed60bf9b.chunk.js.map +1 -0
  344. package/web/static/js/8131.627caee3.chunk.js +2 -0
  345. package/web/static/js/8131.627caee3.chunk.js.map +1 -0
  346. package/web/static/js/8200.e1531031.chunk.js +2 -0
  347. package/web/static/js/8200.e1531031.chunk.js.map +1 -0
  348. package/web/static/js/8312.58a5729e.chunk.js +2 -0
  349. package/web/static/js/8312.58a5729e.chunk.js.map +1 -0
  350. package/web/static/js/8398.cc6aa9ea.chunk.js +2 -0
  351. package/web/static/js/8398.cc6aa9ea.chunk.js.map +1 -0
  352. package/web/static/js/8471.c02223a0.chunk.js +2 -0
  353. package/web/static/js/8471.c02223a0.chunk.js.map +1 -0
  354. package/web/static/js/8488.148bfa75.chunk.js +2 -0
  355. package/web/static/js/8488.148bfa75.chunk.js.map +1 -0
  356. package/web/static/js/8586.9d605493.chunk.js +2 -0
  357. package/web/static/js/8586.9d605493.chunk.js.map +1 -0
  358. package/web/static/js/8709.44b46cf7.chunk.js +2 -0
  359. package/web/static/js/8709.44b46cf7.chunk.js.map +1 -0
  360. package/web/static/js/8768.0dfc18cd.chunk.js +2 -0
  361. package/web/static/js/8768.0dfc18cd.chunk.js.map +1 -0
  362. package/web/static/js/8804.5424b4ca.chunk.js +2 -0
  363. package/web/static/js/8804.5424b4ca.chunk.js.map +1 -0
  364. package/web/static/js/8849.d5dd1a61.chunk.js +2 -0
  365. package/web/static/js/8849.d5dd1a61.chunk.js.map +1 -0
  366. package/web/static/js/8913.ea392129.chunk.js +2 -0
  367. package/web/static/js/8913.ea392129.chunk.js.map +1 -0
  368. package/web/static/js/8915.82c6b45a.chunk.js +2 -0
  369. package/web/static/js/8915.82c6b45a.chunk.js.map +1 -0
  370. package/web/static/js/9057.452b4a09.chunk.js +2 -0
  371. package/web/static/js/9057.452b4a09.chunk.js.map +1 -0
  372. package/web/static/js/9126.c0ca2634.chunk.js +2 -0
  373. package/web/static/js/9126.c0ca2634.chunk.js.map +1 -0
  374. package/web/static/js/9147.d6a507a2.chunk.js +2 -0
  375. package/web/static/js/9147.d6a507a2.chunk.js.map +1 -0
  376. package/web/static/js/9188.636af533.chunk.js +2 -0
  377. package/web/static/js/9188.636af533.chunk.js.map +1 -0
  378. package/web/static/js/9331.9ce63cb4.chunk.js +2 -0
  379. package/web/static/js/9331.9ce63cb4.chunk.js.map +1 -0
  380. package/web/static/js/9421.3c6f9f4c.chunk.js +2 -0
  381. package/web/static/js/9421.3c6f9f4c.chunk.js.map +1 -0
  382. package/web/static/js/9574.64786e0f.chunk.js +2 -0
  383. package/web/static/js/9574.64786e0f.chunk.js.map +1 -0
  384. package/web/static/js/9636.901de3cb.chunk.js +2 -0
  385. package/web/static/js/9636.901de3cb.chunk.js.map +1 -0
  386. package/web/static/js/9762.a392071c.chunk.js +2 -0
  387. package/web/static/js/9762.a392071c.chunk.js.map +1 -0
  388. package/web/static/js/9767.c03d5639.chunk.js +2 -0
  389. package/web/static/js/9767.c03d5639.chunk.js.map +1 -0
  390. package/web/static/js/9777.23cb02e0.chunk.js +2 -0
  391. package/web/static/js/9777.23cb02e0.chunk.js.map +1 -0
  392. package/web/static/js/9820.1374775d.chunk.js +2 -0
  393. package/web/static/js/9820.1374775d.chunk.js.map +1 -0
  394. package/web/static/js/9836.8cd96a11.chunk.js +2 -0
  395. package/web/static/js/9836.8cd96a11.chunk.js.map +1 -0
  396. package/web/static/js/9871.eb7047a2.chunk.js +2 -0
  397. package/web/static/js/9871.eb7047a2.chunk.js.map +1 -0
  398. package/web/static/js/9900.2d8ffaaf.chunk.js +2 -0
  399. package/web/static/js/9900.2d8ffaaf.chunk.js.map +1 -0
  400. package/web/static/js/9961.3712fbe4.chunk.js +2 -0
  401. package/web/static/js/9961.3712fbe4.chunk.js.map +1 -0
  402. package/web/static/js/main.bd858105.js +2 -0
  403. package/web/static/js/main.bd858105.js.map +1 -0
  404. package/web/static/js/vendors-code-preview.fdba0f1f.chunk.js +2 -0
  405. package/web/static/js/vendors-code-preview.fdba0f1f.chunk.js.map +1 -0
  406. package/web/static/js/vendors-prismjs.b53bdc3b.chunk.js +3 -0
  407. package/web/static/js/{vendors-prismjs.7634bcac.chunk.js.LICENSE.txt → vendors-prismjs.b53bdc3b.chunk.js.LICENSE.txt} +0 -0
  408. package/web/static/js/vendors-prismjs.b53bdc3b.chunk.js.map +1 -0
  409. package/web/static/css/1059.187e4305.chunk.css +0 -2
  410. package/web/static/css/1059.187e4305.chunk.css.map +0 -1
  411. package/web/static/css/1061.187e4305.chunk.css +0 -2
  412. package/web/static/css/1061.187e4305.chunk.css.map +0 -1
  413. package/web/static/css/1169.187e4305.chunk.css +0 -2
  414. package/web/static/css/1169.187e4305.chunk.css.map +0 -1
  415. package/web/static/css/1317.187e4305.chunk.css +0 -2
  416. package/web/static/css/1317.187e4305.chunk.css.map +0 -1
  417. package/web/static/css/1584.187e4305.chunk.css +0 -2
  418. package/web/static/css/1584.187e4305.chunk.css.map +0 -1
  419. package/web/static/css/1619.187e4305.chunk.css +0 -2
  420. package/web/static/css/1619.187e4305.chunk.css.map +0 -1
  421. package/web/static/css/163.187e4305.chunk.css +0 -2
  422. package/web/static/css/163.187e4305.chunk.css.map +0 -1
  423. package/web/static/css/1820.187e4305.chunk.css +0 -2
  424. package/web/static/css/1820.187e4305.chunk.css.map +0 -1
  425. package/web/static/css/2156.187e4305.chunk.css +0 -2
  426. package/web/static/css/2156.187e4305.chunk.css.map +0 -1
  427. package/web/static/css/2190.187e4305.chunk.css +0 -2
  428. package/web/static/css/2190.187e4305.chunk.css.map +0 -1
  429. package/web/static/css/221.187e4305.chunk.css +0 -2
  430. package/web/static/css/221.187e4305.chunk.css.map +0 -1
  431. package/web/static/css/2230.187e4305.chunk.css +0 -2
  432. package/web/static/css/2230.187e4305.chunk.css.map +0 -1
  433. package/web/static/css/2316.187e4305.chunk.css +0 -2
  434. package/web/static/css/2316.187e4305.chunk.css.map +0 -1
  435. package/web/static/css/2367.187e4305.chunk.css +0 -2
  436. package/web/static/css/2367.187e4305.chunk.css.map +0 -1
  437. package/web/static/css/2411.187e4305.chunk.css +0 -2
  438. package/web/static/css/2411.187e4305.chunk.css.map +0 -1
  439. package/web/static/css/2582.187e4305.chunk.css +0 -2
  440. package/web/static/css/2582.187e4305.chunk.css.map +0 -1
  441. package/web/static/css/2595.187e4305.chunk.css +0 -2
  442. package/web/static/css/2595.187e4305.chunk.css.map +0 -1
  443. package/web/static/css/2737.187e4305.chunk.css +0 -2
  444. package/web/static/css/2737.187e4305.chunk.css.map +0 -1
  445. package/web/static/css/2782.187e4305.chunk.css +0 -2
  446. package/web/static/css/2782.187e4305.chunk.css.map +0 -1
  447. package/web/static/css/3313.187e4305.chunk.css +0 -2
  448. package/web/static/css/3313.187e4305.chunk.css.map +0 -1
  449. package/web/static/css/3518.187e4305.chunk.css +0 -2
  450. package/web/static/css/3518.187e4305.chunk.css.map +0 -1
  451. package/web/static/css/3812.187e4305.chunk.css +0 -2
  452. package/web/static/css/3812.187e4305.chunk.css.map +0 -1
  453. package/web/static/css/3917.187e4305.chunk.css +0 -2
  454. package/web/static/css/3917.187e4305.chunk.css.map +0 -1
  455. package/web/static/css/4010.187e4305.chunk.css +0 -2
  456. package/web/static/css/4010.187e4305.chunk.css.map +0 -1
  457. package/web/static/css/4098.187e4305.chunk.css +0 -2
  458. package/web/static/css/4098.187e4305.chunk.css.map +0 -1
  459. package/web/static/css/4128.187e4305.chunk.css +0 -2
  460. package/web/static/css/4128.187e4305.chunk.css.map +0 -1
  461. package/web/static/css/4188.187e4305.chunk.css +0 -2
  462. package/web/static/css/4188.187e4305.chunk.css.map +0 -1
  463. package/web/static/css/4396.2422fe7f.chunk.css +0 -2
  464. package/web/static/css/4396.2422fe7f.chunk.css.map +0 -1
  465. package/web/static/css/4405.187e4305.chunk.css +0 -2
  466. package/web/static/css/4405.187e4305.chunk.css.map +0 -1
  467. package/web/static/css/4503.187e4305.chunk.css +0 -2
  468. package/web/static/css/4503.187e4305.chunk.css.map +0 -1
  469. package/web/static/css/4648.187e4305.chunk.css +0 -2
  470. package/web/static/css/4648.187e4305.chunk.css.map +0 -1
  471. package/web/static/css/4948.187e4305.chunk.css +0 -2
  472. package/web/static/css/4948.187e4305.chunk.css.map +0 -1
  473. package/web/static/css/5244.187e4305.chunk.css +0 -2
  474. package/web/static/css/5244.187e4305.chunk.css.map +0 -1
  475. package/web/static/css/5308.187e4305.chunk.css +0 -2
  476. package/web/static/css/5308.187e4305.chunk.css.map +0 -1
  477. package/web/static/css/5393.187e4305.chunk.css +0 -2
  478. package/web/static/css/5393.187e4305.chunk.css.map +0 -1
  479. package/web/static/css/5408.187e4305.chunk.css +0 -2
  480. package/web/static/css/5408.187e4305.chunk.css.map +0 -1
  481. package/web/static/css/5595.187e4305.chunk.css +0 -2
  482. package/web/static/css/5595.187e4305.chunk.css.map +0 -1
  483. package/web/static/css/5865.187e4305.chunk.css +0 -2
  484. package/web/static/css/5865.187e4305.chunk.css.map +0 -1
  485. package/web/static/css/643.187e4305.chunk.css +0 -2
  486. package/web/static/css/643.187e4305.chunk.css.map +0 -1
  487. package/web/static/css/6510.187e4305.chunk.css +0 -2
  488. package/web/static/css/6510.187e4305.chunk.css.map +0 -1
  489. package/web/static/css/6715.187e4305.chunk.css +0 -2
  490. package/web/static/css/6715.187e4305.chunk.css.map +0 -1
  491. package/web/static/css/6730.187e4305.chunk.css +0 -2
  492. package/web/static/css/6730.187e4305.chunk.css.map +0 -1
  493. package/web/static/css/694.187e4305.chunk.css +0 -2
  494. package/web/static/css/694.187e4305.chunk.css.map +0 -1
  495. package/web/static/css/7087.187e4305.chunk.css +0 -2
  496. package/web/static/css/7087.187e4305.chunk.css.map +0 -1
  497. package/web/static/css/7104.187e4305.chunk.css +0 -2
  498. package/web/static/css/7104.187e4305.chunk.css.map +0 -1
  499. package/web/static/css/7157.187e4305.chunk.css +0 -2
  500. package/web/static/css/7157.187e4305.chunk.css.map +0 -1
  501. package/web/static/css/7390.187e4305.chunk.css +0 -2
  502. package/web/static/css/7390.187e4305.chunk.css.map +0 -1
  503. package/web/static/css/748.187e4305.chunk.css +0 -2
  504. package/web/static/css/748.187e4305.chunk.css.map +0 -1
  505. package/web/static/css/7541.187e4305.chunk.css +0 -2
  506. package/web/static/css/7541.187e4305.chunk.css.map +0 -1
  507. package/web/static/css/7761.187e4305.chunk.css +0 -2
  508. package/web/static/css/7761.187e4305.chunk.css.map +0 -1
  509. package/web/static/css/7834.187e4305.chunk.css +0 -2
  510. package/web/static/css/7834.187e4305.chunk.css.map +0 -1
  511. package/web/static/css/7875.187e4305.chunk.css +0 -2
  512. package/web/static/css/7875.187e4305.chunk.css.map +0 -1
  513. package/web/static/css/7884.187e4305.chunk.css +0 -2
  514. package/web/static/css/7884.187e4305.chunk.css.map +0 -1
  515. package/web/static/css/8023.187e4305.chunk.css +0 -2
  516. package/web/static/css/8023.187e4305.chunk.css.map +0 -1
  517. package/web/static/css/8073.187e4305.chunk.css +0 -2
  518. package/web/static/css/8073.187e4305.chunk.css.map +0 -1
  519. package/web/static/css/8566.187e4305.chunk.css +0 -2
  520. package/web/static/css/8566.187e4305.chunk.css.map +0 -1
  521. package/web/static/css/875.187e4305.chunk.css +0 -2
  522. package/web/static/css/875.187e4305.chunk.css.map +0 -1
  523. package/web/static/css/9121.187e4305.chunk.css +0 -2
  524. package/web/static/css/9121.187e4305.chunk.css.map +0 -1
  525. package/web/static/css/9253.187e4305.chunk.css +0 -2
  526. package/web/static/css/9253.187e4305.chunk.css.map +0 -1
  527. package/web/static/css/9260.187e4305.chunk.css +0 -2
  528. package/web/static/css/9260.187e4305.chunk.css.map +0 -1
  529. package/web/static/css/9384.187e4305.chunk.css +0 -2
  530. package/web/static/css/9384.187e4305.chunk.css.map +0 -1
  531. package/web/static/css/9503.187e4305.chunk.css +0 -2
  532. package/web/static/css/9503.187e4305.chunk.css.map +0 -1
  533. package/web/static/css/9673.187e4305.chunk.css +0 -2
  534. package/web/static/css/9673.187e4305.chunk.css.map +0 -1
  535. package/web/static/css/9763.187e4305.chunk.css +0 -2
  536. package/web/static/css/9763.187e4305.chunk.css.map +0 -1
  537. package/web/static/css/9776.187e4305.chunk.css +0 -2
  538. package/web/static/css/9776.187e4305.chunk.css.map +0 -1
  539. package/web/static/css/9777.187e4305.chunk.css +0 -2
  540. package/web/static/css/9777.187e4305.chunk.css.map +0 -1
  541. package/web/static/css/9853.187e4305.chunk.css +0 -2
  542. package/web/static/css/9853.187e4305.chunk.css.map +0 -1
  543. package/web/static/css/main.9ac00422.css.map +0 -1
  544. package/web/static/js/1016.0ab3d95f.chunk.js +0 -2
  545. package/web/static/js/1016.0ab3d95f.chunk.js.map +0 -1
  546. package/web/static/js/1059.7618762f.chunk.js +0 -2
  547. package/web/static/js/1059.7618762f.chunk.js.map +0 -1
  548. package/web/static/js/1061.7c98d2ba.chunk.js +0 -2
  549. package/web/static/js/1061.7c98d2ba.chunk.js.map +0 -1
  550. package/web/static/js/1151.a61edfb2.chunk.js +0 -2
  551. package/web/static/js/1151.a61edfb2.chunk.js.map +0 -1
  552. package/web/static/js/1169.47a639a5.chunk.js +0 -2
  553. package/web/static/js/1169.47a639a5.chunk.js.map +0 -1
  554. package/web/static/js/1317.77854aa1.chunk.js +0 -2
  555. package/web/static/js/1317.77854aa1.chunk.js.map +0 -1
  556. package/web/static/js/1584.e306a2c1.chunk.js +0 -2
  557. package/web/static/js/1584.e306a2c1.chunk.js.map +0 -1
  558. package/web/static/js/1619.b7984778.chunk.js +0 -2
  559. package/web/static/js/1619.b7984778.chunk.js.map +0 -1
  560. package/web/static/js/163.fc99f5fd.chunk.js +0 -2
  561. package/web/static/js/163.fc99f5fd.chunk.js.map +0 -1
  562. package/web/static/js/1756.7336ff8d.chunk.js +0 -2
  563. package/web/static/js/1756.7336ff8d.chunk.js.map +0 -1
  564. package/web/static/js/1820.243b7e89.chunk.js +0 -2
  565. package/web/static/js/1820.243b7e89.chunk.js.map +0 -1
  566. package/web/static/js/1971.043ba73e.chunk.js +0 -2
  567. package/web/static/js/1971.043ba73e.chunk.js.map +0 -1
  568. package/web/static/js/207.32dfc25c.chunk.js +0 -2
  569. package/web/static/js/207.32dfc25c.chunk.js.map +0 -1
  570. package/web/static/js/2078.b790ef29.chunk.js +0 -2
  571. package/web/static/js/2078.b790ef29.chunk.js.map +0 -1
  572. package/web/static/js/2156.e793e47d.chunk.js +0 -2
  573. package/web/static/js/2156.e793e47d.chunk.js.map +0 -1
  574. package/web/static/js/2190.7597770e.chunk.js +0 -2
  575. package/web/static/js/2190.7597770e.chunk.js.map +0 -1
  576. package/web/static/js/221.e27b8672.chunk.js +0 -2
  577. package/web/static/js/221.e27b8672.chunk.js.map +0 -1
  578. package/web/static/js/2230.805f585e.chunk.js +0 -2
  579. package/web/static/js/2230.805f585e.chunk.js.map +0 -1
  580. package/web/static/js/2316.22f957ae.chunk.js +0 -2
  581. package/web/static/js/2316.22f957ae.chunk.js.map +0 -1
  582. package/web/static/js/2367.de0e33cf.chunk.js +0 -2
  583. package/web/static/js/2367.de0e33cf.chunk.js.map +0 -1
  584. package/web/static/js/2411.c432492d.chunk.js +0 -2
  585. package/web/static/js/2411.c432492d.chunk.js.map +0 -1
  586. package/web/static/js/2448.dc510246.chunk.js +0 -2
  587. package/web/static/js/2448.dc510246.chunk.js.map +0 -1
  588. package/web/static/js/2456.013e4bdc.chunk.js +0 -2
  589. package/web/static/js/2456.013e4bdc.chunk.js.map +0 -1
  590. package/web/static/js/2582.1bd50d13.chunk.js +0 -2
  591. package/web/static/js/2582.1bd50d13.chunk.js.map +0 -1
  592. package/web/static/js/2595.94dc6f2d.chunk.js +0 -2
  593. package/web/static/js/2595.94dc6f2d.chunk.js.map +0 -1
  594. package/web/static/js/2679.4d07c747.chunk.js +0 -2
  595. package/web/static/js/2679.4d07c747.chunk.js.map +0 -1
  596. package/web/static/js/2692.c93feb86.chunk.js +0 -2
  597. package/web/static/js/2692.c93feb86.chunk.js.map +0 -1
  598. package/web/static/js/2737.01b58403.chunk.js +0 -2
  599. package/web/static/js/2737.01b58403.chunk.js.map +0 -1
  600. package/web/static/js/2782.d09fa2d2.chunk.js +0 -2
  601. package/web/static/js/2782.d09fa2d2.chunk.js.map +0 -1
  602. package/web/static/js/2795.85c20470.chunk.js +0 -2
  603. package/web/static/js/2795.85c20470.chunk.js.map +0 -1
  604. package/web/static/js/3257.f8706edc.chunk.js +0 -2
  605. package/web/static/js/3257.f8706edc.chunk.js.map +0 -1
  606. package/web/static/js/3261.8fb28323.chunk.js +0 -2
  607. package/web/static/js/3261.8fb28323.chunk.js.map +0 -1
  608. package/web/static/js/3313.00bc6b3a.chunk.js +0 -2
  609. package/web/static/js/3313.00bc6b3a.chunk.js.map +0 -1
  610. package/web/static/js/3450.d09525f0.chunk.js +0 -2
  611. package/web/static/js/3450.d09525f0.chunk.js.map +0 -1
  612. package/web/static/js/3518.4ae16e1a.chunk.js +0 -2
  613. package/web/static/js/3518.4ae16e1a.chunk.js.map +0 -1
  614. package/web/static/js/3769.c50e5321.chunk.js +0 -2
  615. package/web/static/js/3769.c50e5321.chunk.js.map +0 -1
  616. package/web/static/js/3811.84b766f9.chunk.js +0 -2
  617. package/web/static/js/3811.84b766f9.chunk.js.map +0 -1
  618. package/web/static/js/3812.e88939dd.chunk.js +0 -2
  619. package/web/static/js/3812.e88939dd.chunk.js.map +0 -1
  620. package/web/static/js/3917.9fa854c7.chunk.js +0 -2
  621. package/web/static/js/3917.9fa854c7.chunk.js.map +0 -1
  622. package/web/static/js/3931.710a8e71.chunk.js +0 -2
  623. package/web/static/js/3931.710a8e71.chunk.js.map +0 -1
  624. package/web/static/js/4010.25479d9a.chunk.js +0 -2
  625. package/web/static/js/4010.25479d9a.chunk.js.map +0 -1
  626. package/web/static/js/4036.bee6a610.chunk.js +0 -2
  627. package/web/static/js/4036.bee6a610.chunk.js.map +0 -1
  628. package/web/static/js/4098.2b7a41a1.chunk.js +0 -2
  629. package/web/static/js/4098.2b7a41a1.chunk.js.map +0 -1
  630. package/web/static/js/4128.91667ba9.chunk.js +0 -2
  631. package/web/static/js/4128.91667ba9.chunk.js.map +0 -1
  632. package/web/static/js/4188.5c798453.chunk.js +0 -2
  633. package/web/static/js/4188.5c798453.chunk.js.map +0 -1
  634. package/web/static/js/4396.1e7561d7.chunk.js +0 -2
  635. package/web/static/js/4396.1e7561d7.chunk.js.map +0 -1
  636. package/web/static/js/4405.689929fb.chunk.js +0 -2
  637. package/web/static/js/4405.689929fb.chunk.js.map +0 -1
  638. package/web/static/js/4503.bd1b5564.chunk.js +0 -2
  639. package/web/static/js/4503.bd1b5564.chunk.js.map +0 -1
  640. package/web/static/js/4648.cf7dc241.chunk.js +0 -2
  641. package/web/static/js/4648.cf7dc241.chunk.js.map +0 -1
  642. package/web/static/js/4781.eb1374c6.chunk.js +0 -2
  643. package/web/static/js/4781.eb1374c6.chunk.js.map +0 -1
  644. package/web/static/js/486.06f7cd25.chunk.js +0 -2
  645. package/web/static/js/486.06f7cd25.chunk.js.map +0 -1
  646. package/web/static/js/4948.77515624.chunk.js +0 -2
  647. package/web/static/js/4948.77515624.chunk.js.map +0 -1
  648. package/web/static/js/5146.6d483514.chunk.js +0 -2
  649. package/web/static/js/5146.6d483514.chunk.js.map +0 -1
  650. package/web/static/js/5183.7b46ce4a.js +0 -3
  651. package/web/static/js/5183.7b46ce4a.js.map +0 -1
  652. package/web/static/js/5244.044f96c3.chunk.js +0 -2
  653. package/web/static/js/5244.044f96c3.chunk.js.map +0 -1
  654. package/web/static/js/5253.0a82cabf.chunk.js +0 -2
  655. package/web/static/js/5253.0a82cabf.chunk.js.map +0 -1
  656. package/web/static/js/5308.b47d29ed.chunk.js +0 -2
  657. package/web/static/js/5308.b47d29ed.chunk.js.map +0 -1
  658. package/web/static/js/5364.125e27d2.chunk.js +0 -2
  659. package/web/static/js/5364.125e27d2.chunk.js.map +0 -1
  660. package/web/static/js/5393.3b88516d.chunk.js +0 -2
  661. package/web/static/js/5393.3b88516d.chunk.js.map +0 -1
  662. package/web/static/js/5408.e4dba9c0.chunk.js +0 -2
  663. package/web/static/js/5408.e4dba9c0.chunk.js.map +0 -1
  664. package/web/static/js/5468.ff29858b.chunk.js +0 -2
  665. package/web/static/js/5468.ff29858b.chunk.js.map +0 -1
  666. package/web/static/js/5595.1d09db32.chunk.js +0 -2
  667. package/web/static/js/5595.1d09db32.chunk.js.map +0 -1
  668. package/web/static/js/5821.c5b30ecc.chunk.js +0 -2
  669. package/web/static/js/5821.c5b30ecc.chunk.js.map +0 -1
  670. package/web/static/js/5865.fc5f66e5.chunk.js +0 -2
  671. package/web/static/js/5865.fc5f66e5.chunk.js.map +0 -1
  672. package/web/static/js/5930.ce74b909.chunk.js +0 -2
  673. package/web/static/js/5930.ce74b909.chunk.js.map +0 -1
  674. package/web/static/js/6019.3ddd5b5f.chunk.js +0 -2
  675. package/web/static/js/6019.3ddd5b5f.chunk.js.map +0 -1
  676. package/web/static/js/6036.97de923f.chunk.js +0 -2
  677. package/web/static/js/6036.97de923f.chunk.js.map +0 -1
  678. package/web/static/js/643.f8870fc5.chunk.js +0 -2
  679. package/web/static/js/643.f8870fc5.chunk.js.map +0 -1
  680. package/web/static/js/6510.2da79650.chunk.js +0 -2
  681. package/web/static/js/6510.2da79650.chunk.js.map +0 -1
  682. package/web/static/js/6536.75066313.chunk.js +0 -2
  683. package/web/static/js/6536.75066313.chunk.js.map +0 -1
  684. package/web/static/js/6566.05382686.chunk.js +0 -2
  685. package/web/static/js/6566.05382686.chunk.js.map +0 -1
  686. package/web/static/js/6659.2432f911.chunk.js +0 -2
  687. package/web/static/js/6659.2432f911.chunk.js.map +0 -1
  688. package/web/static/js/6715.0dc4dc23.chunk.js +0 -2
  689. package/web/static/js/6715.0dc4dc23.chunk.js.map +0 -1
  690. package/web/static/js/6730.592e2137.chunk.js +0 -2
  691. package/web/static/js/6730.592e2137.chunk.js.map +0 -1
  692. package/web/static/js/6869.3a61102b.chunk.js +0 -2
  693. package/web/static/js/6869.3a61102b.chunk.js.map +0 -1
  694. package/web/static/js/6878.c21d4848.chunk.js +0 -2
  695. package/web/static/js/6878.c21d4848.chunk.js.map +0 -1
  696. package/web/static/js/694.22af7a63.chunk.js +0 -2
  697. package/web/static/js/694.22af7a63.chunk.js.map +0 -1
  698. package/web/static/js/7079.8cd7470e.chunk.js +0 -2
  699. package/web/static/js/7079.8cd7470e.chunk.js.map +0 -1
  700. package/web/static/js/7087.e9bda77d.chunk.js +0 -2
  701. package/web/static/js/7087.e9bda77d.chunk.js.map +0 -1
  702. package/web/static/js/7104.a75a501c.chunk.js +0 -2
  703. package/web/static/js/7104.a75a501c.chunk.js.map +0 -1
  704. package/web/static/js/7157.d897fb2a.chunk.js +0 -2
  705. package/web/static/js/7157.d897fb2a.chunk.js.map +0 -1
  706. package/web/static/js/7217.6128cabc.chunk.js +0 -2
  707. package/web/static/js/7217.6128cabc.chunk.js.map +0 -1
  708. package/web/static/js/7266.3c7fc342.chunk.js +0 -2
  709. package/web/static/js/7266.3c7fc342.chunk.js.map +0 -1
  710. package/web/static/js/7313.2017dd23.chunk.js +0 -2
  711. package/web/static/js/7313.2017dd23.chunk.js.map +0 -1
  712. package/web/static/js/7390.a5d47e48.chunk.js +0 -2
  713. package/web/static/js/7390.a5d47e48.chunk.js.map +0 -1
  714. package/web/static/js/745.e92abd14.chunk.js +0 -2
  715. package/web/static/js/745.e92abd14.chunk.js.map +0 -1
  716. package/web/static/js/747.31d81e47.chunk.js +0 -2
  717. package/web/static/js/747.31d81e47.chunk.js.map +0 -1
  718. package/web/static/js/748.cd31eb10.chunk.js +0 -2
  719. package/web/static/js/748.cd31eb10.chunk.js.map +0 -1
  720. package/web/static/js/7541.e35f1386.chunk.js +0 -2
  721. package/web/static/js/7541.e35f1386.chunk.js.map +0 -1
  722. package/web/static/js/7664.e8d14553.chunk.js +0 -2
  723. package/web/static/js/7664.e8d14553.chunk.js.map +0 -1
  724. package/web/static/js/77.bdabcc80.chunk.js +0 -3
  725. package/web/static/js/77.bdabcc80.chunk.js.map +0 -1
  726. package/web/static/js/7761.519ae422.chunk.js +0 -2
  727. package/web/static/js/7761.519ae422.chunk.js.map +0 -1
  728. package/web/static/js/7834.a35aae05.chunk.js +0 -2
  729. package/web/static/js/7834.a35aae05.chunk.js.map +0 -1
  730. package/web/static/js/7861.f0341e75.chunk.js +0 -2
  731. package/web/static/js/7861.f0341e75.chunk.js.map +0 -1
  732. package/web/static/js/7875.da5b1b45.chunk.js +0 -2
  733. package/web/static/js/7875.da5b1b45.chunk.js.map +0 -1
  734. package/web/static/js/7884.9f31b4ab.chunk.js +0 -2
  735. package/web/static/js/7884.9f31b4ab.chunk.js.map +0 -1
  736. package/web/static/js/8023.364152bd.chunk.js +0 -2
  737. package/web/static/js/8023.364152bd.chunk.js.map +0 -1
  738. package/web/static/js/8073.0d1d898d.chunk.js +0 -2
  739. package/web/static/js/8073.0d1d898d.chunk.js.map +0 -1
  740. package/web/static/js/8312.6c0a85dd.chunk.js +0 -2
  741. package/web/static/js/8312.6c0a85dd.chunk.js.map +0 -1
  742. package/web/static/js/8398.29808175.chunk.js +0 -2
  743. package/web/static/js/8398.29808175.chunk.js.map +0 -1
  744. package/web/static/js/8488.73077e9f.chunk.js +0 -2
  745. package/web/static/js/8488.73077e9f.chunk.js.map +0 -1
  746. package/web/static/js/8566.8013c372.chunk.js +0 -2
  747. package/web/static/js/8566.8013c372.chunk.js.map +0 -1
  748. package/web/static/js/8586.922fe070.chunk.js +0 -2
  749. package/web/static/js/8586.922fe070.chunk.js.map +0 -1
  750. package/web/static/js/8709.935c2f52.chunk.js +0 -2
  751. package/web/static/js/8709.935c2f52.chunk.js.map +0 -1
  752. package/web/static/js/875.27e6de15.chunk.js +0 -2
  753. package/web/static/js/875.27e6de15.chunk.js.map +0 -1
  754. package/web/static/js/8768.9960b4fe.chunk.js +0 -2
  755. package/web/static/js/8768.9960b4fe.chunk.js.map +0 -1
  756. package/web/static/js/8849.4c89f87b.chunk.js +0 -2
  757. package/web/static/js/8849.4c89f87b.chunk.js.map +0 -1
  758. package/web/static/js/8915.ff4b2001.chunk.js +0 -2
  759. package/web/static/js/8915.ff4b2001.chunk.js.map +0 -1
  760. package/web/static/js/9057.a47ec4de.chunk.js +0 -2
  761. package/web/static/js/9057.a47ec4de.chunk.js.map +0 -1
  762. package/web/static/js/9121.c6a17f36.chunk.js +0 -2
  763. package/web/static/js/9121.c6a17f36.chunk.js.map +0 -1
  764. package/web/static/js/9147.53ea3fbb.chunk.js +0 -2
  765. package/web/static/js/9147.53ea3fbb.chunk.js.map +0 -1
  766. package/web/static/js/9188.7354157e.chunk.js +0 -2
  767. package/web/static/js/9188.7354157e.chunk.js.map +0 -1
  768. package/web/static/js/9253.180d6720.chunk.js +0 -2
  769. package/web/static/js/9253.180d6720.chunk.js.map +0 -1
  770. package/web/static/js/9260.bda20e3d.chunk.js +0 -2
  771. package/web/static/js/9260.bda20e3d.chunk.js.map +0 -1
  772. package/web/static/js/9384.80c51d71.chunk.js +0 -2
  773. package/web/static/js/9384.80c51d71.chunk.js.map +0 -1
  774. package/web/static/js/9503.bc8352cc.chunk.js +0 -2
  775. package/web/static/js/9503.bc8352cc.chunk.js.map +0 -1
  776. package/web/static/js/9673.974ff515.chunk.js +0 -2
  777. package/web/static/js/9673.974ff515.chunk.js.map +0 -1
  778. package/web/static/js/9763.5dc46da3.chunk.js +0 -2
  779. package/web/static/js/9763.5dc46da3.chunk.js.map +0 -1
  780. package/web/static/js/9776.1b92433a.chunk.js +0 -2
  781. package/web/static/js/9776.1b92433a.chunk.js.map +0 -1
  782. package/web/static/js/9777.6e29c8a0.chunk.js +0 -2
  783. package/web/static/js/9777.6e29c8a0.chunk.js.map +0 -1
  784. package/web/static/js/9820.da3bde55.chunk.js +0 -2
  785. package/web/static/js/9820.da3bde55.chunk.js.map +0 -1
  786. package/web/static/js/9836.26769e83.chunk.js +0 -2
  787. package/web/static/js/9836.26769e83.chunk.js.map +0 -1
  788. package/web/static/js/9853.5441c1e7.chunk.js +0 -2
  789. package/web/static/js/9853.5441c1e7.chunk.js.map +0 -1
  790. package/web/static/js/9900.7ad9abbf.chunk.js +0 -2
  791. package/web/static/js/9900.7ad9abbf.chunk.js.map +0 -1
  792. package/web/static/js/9961.867fe956.chunk.js +0 -2
  793. package/web/static/js/9961.867fe956.chunk.js.map +0 -1
  794. package/web/static/js/main.3931aea7.js +0 -2
  795. package/web/static/js/main.3931aea7.js.map +0 -1
  796. package/web/static/js/vendors-prismjs.7634bcac.chunk.js +0 -3
  797. package/web/static/js/vendors-prismjs.7634bcac.chunk.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4396.1e7561d7.chunk.js","mappings":"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","sources":["../../node_modules/@babel/standalone|sync|nonrecursive","components/Markdown/Code.tsx","components/Markdown/Footer.tsx","webpack://website/./src/components/Markdown/index.module.less?6e49","components/Markdown/index.tsx","routes/components/overlay/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Overlay, Button, Icon, Card, Divider } from 'uiw';\nimport Markdown from '../../../components/Markdown';\nimport './index.less';\n\nexport default function Page() {\n return (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-overlay/README.md\"\n dependencies={{ Overlay, Button, Icon, Card, Divider }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-overlay/README.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","Markdown","Overlay","Button","Icon","Card","Divider","md","default"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4405],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var m="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],b=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},98680:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);n.default=function(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-steps/README.md",dependencies:{Steps:s.Rg,Icon:s.JO,Button:s.zx,Notify:s.gU,Row:s.X2,Col:s.JX},renderPage:(0,r.Z)(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.e(3450).then(t.bind(t,43450));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
- //# sourceMappingURL=4405.689929fb.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4405.689929fb.chunk.js","mappings":"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","sources":["../../node_modules/@babel/standalone|sync|nonrecursive","components/Markdown/Code.tsx","components/Markdown/Footer.tsx","webpack://website/./src/components/Markdown/index.module.less?6e49","components/Markdown/index.tsx","routes/components/steps/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Steps, Icon, Button, Notify, Row, Col } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-steps/README.md\"\n dependencies={{ Steps, Icon, Button, Notify, Row, Col }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-steps/README.md');\n return md.default || md;\n }}\n />\n);\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Steps","Icon","Button","Notify","Row","Col","md","default"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4503],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var m="index_docinfo__3Vx8S",k="index_markdown__hcQCp",b=["inline","node"],x=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,b),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:x(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},25534:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-copy-to-clipboard/README.md",dependencies:{CopyToClipboard:s.h9,Button:s.zx,Input:s.II},renderPage:(0,r.Z)(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.e(5930).then(t.bind(t,45930));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
- //# sourceMappingURL=4503.bd1b5564.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4503.bd1b5564.chunk.js","mappings":"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","sources":["../../node_modules/@babel/standalone|sync|nonrecursive","components/Markdown/Code.tsx","components/Markdown/Footer.tsx","webpack://website/./src/components/Markdown/index.module.less?6e49","components/Markdown/index.tsx","routes/components/copy-to-clipboard/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { CopyToClipboard, Button, Input } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default function Page() {\n return (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-copy-to-clipboard/README.md\"\n dependencies={{ CopyToClipboard, Button, Input }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-copy-to-clipboard/README.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","CopyToClipboard","Button","Input","md","default"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4648],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var f="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],v=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function b(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),b=h[0],j=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){j(e)})).catch((function(){}))}),[]),b?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:b,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,m=c.noCode,f=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:v(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f})}}}),(0,u.jsx)("div",{className:f,children:(0,u.jsx)(m,{path:a})})]}):null}},40015:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);n.default=function(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-textarea/README.md",dependencies:{Textarea:s.gx,Divider:s.iz,Icon:s.JO,Form:s.l0,Row:s.X2,Col:s.JX,Button:s.zx,Notify:s.gU},renderPage:(0,r.Z)(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.e(1151).then(t.bind(t,41151));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
- //# sourceMappingURL=4648.cf7dc241.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4648.cf7dc241.chunk.js","mappings":"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","sources":["../../node_modules/@babel/standalone|sync|nonrecursive","components/Markdown/Code.tsx","components/Markdown/Footer.tsx","webpack://website/./src/components/Markdown/index.module.less?6e49","components/Markdown/index.tsx","routes/components/textarea/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Textarea, Divider, Icon, Form, Row, Col, Button, Notify } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-textarea/README.md\"\n dependencies={{ Textarea, Divider, Icon, Form, Row, Col, Button, Notify }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-textarea/README.md');\n return md.default || md;\n }}\n />\n);\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Textarea","Divider","Icon","Form","Row","Col","Button","Notify","md","default"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4781],{54781:function(n,e,o){o.r(e),e.default="Radio \u5355\u9009\u6846\n===\n\n\u5355\u9009\u6846\uff0c\u5728\u4e00\u7ec4\u5907\u9009\u9879\u4e2d\u8fdb\u884c\u5355\u9009\u3002\n\n```jsx\nimport { Radio, RadioGroup } from 'uiw';\n// or\nimport { Radio, RadioGroup } from '@uiw/react-radio';\n```\n\n### \u57fa\u7840\u7528\u6cd5\n\n\u9002\u7528\u5e7f\u6cdb\u7684\u57fa\u7840\u6700\u7b80\u5355\u7684\u7528\u6cd5\uff0c\u5c55\u793a\u5404\u79cd\u72b6\u6001\u4e0b\u7684\u6837\u5f0f\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Radio } from 'uiw';\n\nconst Demo = () => (\n <div>\n <Radio value=\"1\">Radio</Radio>\n <Radio value=\"2\" checked>\u9009\u4e2d</Radio>\n <Radio value=\"3\" disabled>\u7981\u7528</Radio>\n <Radio value=\"4\" checked disabled>\u9009\u4e2d\u5e76\u7981\u7528</Radio>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### Form \u4e2d\u4f7f\u7528 Radio\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Form, Radio, RadioGroup, Row, Col, Button, Notify } from 'uiw';\n\nconst Demo = () => (\n <Form\n onChange={({ initial, current }) => {}}\n resetOnSubmit={false}\n onSubmitError={(error) => error && error.filed ? { ...error.filed } : null}\n onSubmit={({initial, current}) => {\n const ErrObj = {};\n if (current.radioGroup === 'unknown') {\n ErrObj.radioGroup = '\u8bf7\u9009\u62e9\u6027\u522b\uff01';\n }\n\n if(Object.keys(ErrObj).length > 0) {\n const err = new Error();\n err.filed = ErrObj;\n throw err;\n }\n\n Notify.success({\n title: '\u63d0\u4ea4\u6210\u529f\uff01', description: `\u586b\u5199\uff1a\u3010\u586b\u5199\u6210\u529f\u3011\uff01`\n });\n }}\n fields={{\n radioGroup: {\n value: 'girl',\n label: '\u8bf7\u8f93\u5165\u5185\u5bb9',\n help: '\u5fc5\u987b\u9009\u62e9\u6027\u522b\uff01',\n children: (\n <RadioGroup>\n <Radio value=\"man\">\u7537</Radio>\n <Radio value=\"girl\">\u5973</Radio>\n <Radio value=\"shemale\">\u4e2d\u6027</Radio>\n <Radio value=\"unknown\">\u672a\u77e5</Radio>\n </RadioGroup>\n ),\n },\n radio: {\n help: '\u8bf7\u9009\u62e9\uff01\u8be5\u9009\u9879\u4e3a\u5fc5\u9009\uff01',\n validator: (value) => !value ? '\u5fc5\u586b\u9009\u9879\uff01' : null,\n children: <Radio value=\"man\">\u5df2\u9605\u8bfb</Radio>,\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n return (\n <div>\n <Row>\n <Col>{fields.radioGroup}</Col>\n </Row>\n <Row>\n <Col>{fields.radio}</Col>\n </Row>\n <Row>\n <Col>\n <Button disabled={!canSubmit()} type=\"primary\" htmlType=\"submit\">\u63d0\u4ea4</Button>\n </Col>\n </Row>\n <Row>\n <Col>\n <pre style={{ padding: 10, marginTop: 10 }}>\n {JSON.stringify(state.current, null, 2)}\n </pre>\n </Col>\n </Row>\n </div>\n );\n }}\n </Form>\n);\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5355\u9009\n\n\u9002\u7528\u5e7f\u6cdb\u7684\u57fa\u7840\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Radio, RadioGroup } from 'uiw';\n\nclass Demo extends React.Component {\n constructor(props) {\n super(props);\n this.state = { value: '\u672a\u77e5' };\n }\n onChange(e) {\n this.setState({ value: e.target.value });\n }\n render() {\n return (\n <div>\n <RadioGroup name=\"sexs\" value={this.state.value} onChange={this.onChange.bind(this)}>\n <Radio value=\"man\">\u7537</Radio>\n <Radio value=\"girl\">\u5973</Radio>\n <Radio value=\"shemale\" disabled>\u4e2d\u6027</Radio>\n <Radio value=\"unknown\" disabled>\u672a\u77e5</Radio>\n </RadioGroup>\n </div>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5355\u9009\u7ec4\n\n\u8bbe\u7f6e\u5355\u9009\u521d\u59cb\u503c\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Radio, RadioGroup, Divider, Button } from 'uiw';\n\nclass Demo extends React.Component {\n constructor(props) {\n super(props);\n this.state = { value: '\u672a\u77e5' };\n }\n onChange(e) {\n this.setState({ value: e.target.value });\n }\n render() {\n return (\n <div>\n <RadioGroup name=\"other\" value={this.state.value} onChange={this.onChange.bind(this)}>\n <div>Group 1</div>\n <Radio value=\"\u7537\">\u7537</Radio>\n <Radio value=\"\u5973\">\u5973</Radio>\n <div>Group 2</div>\n <Radio value=\"\u4e2d\u6027\" disabled>\u4e2d\u6027</Radio>\n <Radio value=\"\u672a\u77e5\">\u672a\u77e5</Radio>\n <div>Group 3</div>\n <Radio value=\"E\" style={{ display: 'block' }}>Item E</Radio>\n <Radio value=\"F\" style={{ display: 'block' }}>Item F</Radio>\n </RadioGroup>\n <Divider />\n <Button\n type=\"primary\"\n onClick={() => {\n // console.log('set::', ['\u4e1c\u5317\u83dc', '\u5317\u4eac\u70e4\u9e2d']);\n this.setState({ value: '\u5973' });\n }}\n >\n \u70b9\u51fb\u6309\u94ae\u9009\"\u5973\"\n </Button>\n </div>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Radio\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u6839\u636e value \u8fdb\u884c\u6bd4\u8f83\uff0c\u5224\u65ad\u662f\u5426\u9009\u4e2d | String/Number/Boolean | - |\n| name | \u7528\u4e8e\u8868\u5355\u5bf9\u5e94\u7684\u540d\u79f0 | String | - |\n| checked | Radio\u662f\u5426\u88ab\u9009\u4e2d | Boolean | `false` |\n| disabled | \u662f\u5426\u7981\u7528 | Boolean | `false` |\n| onChange | \u6570\u503c\u6539\u53d8\u65f6\u7684\u56de\u8c03\uff0c\u8fd4\u56de\u5f53\u524d\u503c | Funtcion(e:Even) | - |\n\n## RadioGroup \n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u6839\u636e value \u8fdb\u884c\u6bd4\u8f83\uff0c\u5224\u65ad\u662f\u5426\u9009\u4e2d | String/Number/Boolean | - |\n| name | \u7528\u4e8e\u8868\u5355\u5bf9\u5e94\u7684\u540d\u79f0 | String | - |\n| onChange | \u6570\u503c\u6539\u53d8\u65f6\u7684\u56de\u8c03\uff0c\u8fd4\u56de\u5f53\u524d\u503c | Funtcion(e:Even) | - |\n"}}]);
2
- //# sourceMappingURL=4781.eb1374c6.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4781.eb1374c6.chunk.js","mappings":"gHAAA","sources":["../../packages/react-radio/README.md"],"sourcesContent":["export default \"Radio 单选框\\n===\\n\\n单选框,在一组备选项中进行单选。\\n\\n```jsx\\nimport { Radio, RadioGroup } from 'uiw';\\n// or\\nimport { Radio, RadioGroup } from '@uiw/react-radio';\\n```\\n\\n### 基础用法\\n\\n适用广泛的基础最简单的用法,展示各种状态下的样式。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Radio } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Radio value=\\\"1\\\">Radio</Radio>\\n <Radio value=\\\"2\\\" checked>选中</Radio>\\n <Radio value=\\\"3\\\" disabled>禁用</Radio>\\n <Radio value=\\\"4\\\" checked disabled>选中并禁用</Radio>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### Form 中使用 Radio\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Radio, RadioGroup, Row, Col, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <Form\\n onChange={({ initial, current }) => {}}\\n resetOnSubmit={false}\\n onSubmitError={(error) => error && error.filed ? { ...error.filed } : null}\\n onSubmit={({initial, current}) => {\\n const ErrObj = {};\\n if (current.radioGroup === 'unknown') {\\n ErrObj.radioGroup = '请选择性别!';\\n }\\n\\n if(Object.keys(ErrObj).length > 0) {\\n const err = new Error();\\n err.filed = ErrObj;\\n throw err;\\n }\\n\\n Notify.success({\\n title: '提交成功!', description: `填写:【填写成功】!`\\n });\\n }}\\n fields={{\\n radioGroup: {\\n value: 'girl',\\n label: '请输入内容',\\n help: '必须选择性别!',\\n children: (\\n <RadioGroup>\\n <Radio value=\\\"man\\\">男</Radio>\\n <Radio value=\\\"girl\\\">女</Radio>\\n <Radio value=\\\"shemale\\\">中性</Radio>\\n <Radio value=\\\"unknown\\\">未知</Radio>\\n </RadioGroup>\\n ),\\n },\\n radio: {\\n help: '请选择!该选项为必选!',\\n validator: (value) => !value ? '必填选项!' : null,\\n children: <Radio value=\\\"man\\\">已阅读</Radio>,\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n return (\\n <div>\\n <Row>\\n <Col>{fields.radioGroup}</Col>\\n </Row>\\n <Row>\\n <Col>{fields.radio}</Col>\\n </Row>\\n <Row>\\n <Col>\\n <Button disabled={!canSubmit()} type=\\\"primary\\\" htmlType=\\\"submit\\\">提交</Button>\\n </Col>\\n </Row>\\n <Row>\\n <Col>\\n <pre style={{ padding: 10, marginTop: 10 }}>\\n {JSON.stringify(state.current, null, 2)}\\n </pre>\\n </Col>\\n </Row>\\n </div>\\n );\\n }}\\n </Form>\\n);\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 单选\\n\\n适用广泛的基础最简单的用法。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Radio, RadioGroup } from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = { value: '未知' };\\n }\\n onChange(e) {\\n this.setState({ value: e.target.value });\\n }\\n render() {\\n return (\\n <div>\\n <RadioGroup name=\\\"sexs\\\" value={this.state.value} onChange={this.onChange.bind(this)}>\\n <Radio value=\\\"man\\\">男</Radio>\\n <Radio value=\\\"girl\\\">女</Radio>\\n <Radio value=\\\"shemale\\\" disabled>中性</Radio>\\n <Radio value=\\\"unknown\\\" disabled>未知</Radio>\\n </RadioGroup>\\n </div>\\n )\\n }\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 单选组\\n\\n设置单选初始值\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Radio, RadioGroup, Divider, Button } from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = { value: '未知' };\\n }\\n onChange(e) {\\n this.setState({ value: e.target.value });\\n }\\n render() {\\n return (\\n <div>\\n <RadioGroup name=\\\"other\\\" value={this.state.value} onChange={this.onChange.bind(this)}>\\n <div>Group 1</div>\\n <Radio value=\\\"男\\\">男</Radio>\\n <Radio value=\\\"女\\\">女</Radio>\\n <div>Group 2</div>\\n <Radio value=\\\"中性\\\" disabled>中性</Radio>\\n <Radio value=\\\"未知\\\">未知</Radio>\\n <div>Group 3</div>\\n <Radio value=\\\"E\\\" style={{ display: 'block' }}>Item E</Radio>\\n <Radio value=\\\"F\\\" style={{ display: 'block' }}>Item F</Radio>\\n </RadioGroup>\\n <Divider />\\n <Button\\n type=\\\"primary\\\"\\n onClick={() => {\\n // console.log('set::', ['东北菜', '北京烤鸭']);\\n this.setState({ value: '女' });\\n }}\\n >\\n 点击按钮选\\\"女\\\"\\n </Button>\\n </div>\\n )\\n }\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Radio\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 根据 value 进行比较,判断是否选中 | String/Number/Boolean | - |\\n| name | 用于表单对应的名称 | String | - |\\n| checked | Radio是否被选中 | Boolean | `false` |\\n| disabled | 是否禁用 | Boolean | `false` |\\n| onChange | 数值改变时的回调,返回当前值 | Funtcion(e:Even) | - |\\n\\n## RadioGroup \\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 根据 value 进行比较,判断是否选中 | String/Number/Boolean | - |\\n| name | 用于表单对应的名称 | String | - |\\n| onChange | 数值改变时的回调,返回当前值 | Funtcion(e:Even) | - |\\n\";"],"names":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[486],{60486:function(n,e,t){t.r(e),e.default="Split \u9762\u677f\u5206\u5272\n===\n\n[![Build & Deploy](https://github.com/uiwjs/react-split/workflows/Build%20&%20Deploy/badge.svg)](https://github.com/uiwjs/react-split/actions)\n[![Issues](https://img.shields.io/github/issues/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/issues)\n[![Forks](https://img.shields.io/github/forks/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/network)\n[![Stars](https://img.shields.io/github/stars/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/stargazers)\n[![Release](https://img.shields.io/github/release/uiwjs/react-split)](https://github.com/uiwjs/react-split/releases)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-split.svg)](https://www.npmjs.com/package/@uiw/react-split)\n[![open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-split/file/README.md)\n\n\u53ef\u5c06\u4e00\u5757\u5185\u5bb9\uff0c\u5206\u5272\u4e3a\u53ef\u4ee5\u62d6\u62fd\u8c03\u6574\u5bbd\u5ea6\u6216\u9ad8\u5ea6\u7684\u533a\u57df\u3002\n\n```jsx\nimport { Split } from 'uiw';\n```\n\n\u4ece\u7ec4\u4ef6\u5e93 `uiw` \u4e2d\u62bd\u79bb\u51fa\u6765\u7684 `@uiw/react-split`\uff0c\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\u3002\n\n```jsx\nimport Split from '@uiw/react-split';\n```\n\n### \u57fa\u7840\u7528\u6cd5\n\n> ~~\u901a\u8fc7\u8bbe\u7f6e\u5b50\u8282\u70b9\u7684 `minWidth` \u6837\u5f0f\uff0c\u5373\u53ef\u8bbe\u7f6e\u62d6\u62fd\u6700\u5c0f\u5bbd\u5ea6\u503c\u3002\u901a\u8fc7\u8bbe\u7f6e\u5b50\u8282\u70b9\u6837\u5f0f `flexBasis` \u6837\u5f0f\u5373\u53ef\u8bbe\u7f6e\u9ed8\u8ba4\u5206\u5272\u5185\u5bb9\u7684\u5360\u6bd4\u5bbd\u5ea6\u3002~~\n\n- \u56fa\u5b9a\u521d\u59cb\u5bbd\u5ea6\u6216\u8005\u9ad8\u5ea6\uff0c\u53ef\u901a\u8fc7\u8bbe\u7f6e\u5b50\u8282\u70b9\uff0c\u6837\u5f0f `width: '80%'` \u5bbd\u5ea6\u767e\u5206\u767e\u6765\u8ba1\u7b97\u3002\n- \u62d6\u62fd\u81f3\u6700\u5c0f\u5bbd\u5ea6\uff0c\u53ef\u901a\u8fc7\u8bbe\u7f6e\u5b50\u8282\u70b9\u6837\u5f0f `minWidth: 30`\uff0c\u6765\u8fbe\u5230\u6548\u679c\n- \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4e0d\u8bbe\u7f6e\u6837\u5f0f `width`\uff0c\u9700\u8981\u5c06\u67d0\u4e2a\u5b50\u8282\u70b9\u6837\u5f0f\u8bbe\u4e3a `flex: 1`\uff0c\u6765\u81ea\u9002\u5e94\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div style={{ width: '20%', minWidth: 30 }}>\n <iframe\n srcDoc=\"<div>test</div>\"\n style={{ width: '100%', height: '100%' }}\n title=\"Code Preview\"\n sandbox=\"allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts\"\n />\n </div>\n <div style={{ width: '80%', minWidth: 100 }}>\n Right Pane\n </div>\n </Split>\n <Split\n style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}\n >\n <div style={{ minWidth: 60 }}>\n test\n </div>\n <div style={{ minWidth: 80, flex: 1 }}>\n Right Pane\n </div>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u53ef\u7528\u4e8e\u5e03\u5c40\n\n\u8bbe\u7f6e `visiable={false}` \u7981\u7528\u62d6\u62fd\u680f\uff0c\u53ef\u7528\u4e8e\u5e03\u5c40\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split mode=\"vertical\" visiable={false}>\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\n Header\n </div>\n <Split visiable={false}>\n <div style={{ minWidth: 200, maxWidth: 200, minHeight: 120, background: '#b5b5b5' }}>\n Sider\n </div>\n <div style={{ width: '100%', background: '#ececec' }}>\n Content\n </div>\n </Split>\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\n Footer\n </div>\n </Split>\n <div style={{ height: 20 }}></div>\n <Split visiable={false}>\n <div style={{ minWidth: 200, maxWidth: 200, minHeight: 85, background: '#a9a9a9' }}>\n Sider\n </div>\n <Split mode=\"vertical\" visiable={false} style={{ width: '100%' }}>\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\n Header\n </div>\n <div style={{ minHeight: 85, background: '#b5b5b5' }}>\n Content\n </div>\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\n Footer\n </div>\n </Split>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u591a\u680f\u5206\u5272\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <Split style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div>\n Left Pane\n </div>\n <div>\n Center Pane\n </div>\n <div>\n Center Pane\n </div>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u7ebf\u6761\u62d6\u62fd\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split lineBar style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div>\n Left Pane\n </div>\n <div>\n Center Pane\n </div>\n <div>\n Center Pane\n </div>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n <Split mode=\"vertical\" lineBar style={{ height: 210, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\n <div style={{ height: '33.3%' }}>\n Left Pane\n </div>\n <div style={{ height: '33.3%' }}>\n Center Pane\n </div>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5782\u76f4\u5206\u5272\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <Split mode=\"vertical\" style={{ height: 200, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div style={{ height: '50%' }}>\n Top Pane\n </div>\n <div style={{ height: '50%' }}>\n Bottom Pane\n </div>\n </Split>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5d4c\u5957\u4f7f\u7528\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <Split style={{ height: 200, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <Split mode=\"vertical\">\n <div style={{ height: '50%' }}>\n Top Pane\n </div>\n <Split style={{ height: '50%' }}>\n <div>\n Left Pane\n </div>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n </Split>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u62d6\u62fd\u5de5\u5177\u4e0d\u663e\u793a\n\n\u4e0b\u9762\u5b9e\u4f8b\u901a\u8fc7\u8bbe\u7f6e `visiable` \u7684\u503c\u6765\u8bbe\u7f6e\u62d6\u62fd\u5de5\u5177\u662f\u5426\u53ef\u89c1\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split visiable={false} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div style={{ maxWidth: 100, backgroundColor: '#eaeaea' }}>\n Left Pane\n </div>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n <Split visiable={[4, 5]} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\n <div style={{ maxWidth: 50, backgroundColor: '#eaeaea' }}>\n Pane 1\n </div>\n <div style={{ maxWidth: 60 }}>\n Pane 2\n </div>\n <div>\n Pane 3\n </div>\n <div>\n Pane 4\n </div>\n <div style={{ flex: 1 }}>\n Pane 5\n </div>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u7981\u7528\u62d6\u62fd\n\n\u901a\u8fc7\u8bbe\u7f6e `disable` \u7684\u503c\uff0c\u7981\u7528\u62d6\u62fd\u5de5\u5177\u62d6\u62fd\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split disable style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div style={{ maxWidth: 100, backgroundColor: '#eaeaea' }}>\n Left Pane\n </div>\n <Split disable mode=\"vertical\">\n <div>\n Top Pane\n </div>\n <div>\n Bottom Pane\n </div>\n </Split>\n <div style={{ flex: 1 }}>\n Right Pane\n </div>\n </Split>\n <Split disable={[4, 5]} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\n <div style={{ maxWidth: 50, backgroundColor: '#eaeaea' }}>\n Pane 1\n </div>\n <div style={{ maxWidth: 60 }}>\n Pane 2\n </div>\n <div>\n Pane 3\n </div>\n <div>\n Pane 4\n </div>\n <div style={{ flex: 1 }}>\n Pane 5\n </div>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u62bd\u5c49\n\n\u53ef\u62d6\u62fd\u5de6\u8fb9\u680f\u5bbd\u5ea6\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\nimport { Menu, Button } from 'uiw';\n\nclass Demo extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n width: 210,\n };\n }\n onClick() {\n this.setState({\n width: this.state.width === 0 ? 210 : 0,\n });\n }\n render() {\n const styl = {};\n if (this.state.width === 0) {\n styl.width = `0%`;\n } else {\n styl.width = this.state.width;\n }\n return (\n <>\n <div style={{ marginBottom: 10 }}>\n <Button type=\"primary\" onClick={this.onClick.bind(this)}>{this.state.width === 0 ? '\u9690\u85cf\u83dc\u5355' : '\u5c55\u793a\u83dc\u5355'}</Button>\n </div>\n <Split lineBar visiable={this.state.width !== 0} style={{ border: '1px solid #d5d5d5', borderRadius: 3 }}>\n <div style={{ ...styl, overflow: 'hidden' }}>\n <Menu>\n <Menu.Item icon=\"heart-on\" text=\"\u53e6\u5b58\u4e3a\" active />\n <Menu.Item icon=\"appstore\" text=\"\u5e94\u7528\u5546\u57ce\" />\n <Menu.Item icon=\"bar-chart\" text=\"\u6708\u7edf\u8ba1\u62a5\u8868\u5bfc\u51fa\" />\n <Menu.Item icon=\"setting\" text=\"\u504f\u597d\u8bbe\u7f6e\" />\n <Menu.Divider />\n <Menu.Item icon=\"map\" text=\"\u8c37\u6b4c\u5730\u56fe\" />\n </Menu>\n </div>\n <div style={{ flex: 1, minWidth: 30 }}>\n Right Pane\n </div>\n </Split>\n </>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u652f\u6301\u81ea\u5b9a\u4e49\u62d6\u62fd\u5de5\u5177\u680f\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport Split from '@uiw/react-split';\n\nconst Demo = () => (\n <div>\n <Split\n renderBar={({ onMouseDown, ...props }) => {\n return (\n <div {...props} style={{ boxShadow: 'none', background: 'transparent' }}>\n <div onMouseDown={onMouseDown} style={{ backgroundColor: '#ff000057', boxShadow: 'none' }} />\n </div>\n );\n }}\n style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}\n >\n <div style={{ minWidth: 60 }}>\n test\n </div>\n <div style={{ minWidth: 80, flex: 1 }}>\n Right Pane\n </div>\n </Split>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n\n## Props\n\n```ts\nexport interface SplitProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onDragEnd'> {\n style?: React.CSSProperties;\n className?: string;\n prefixCls?: string;\n /**\n * \u62d6\u62fd\u5bbd\u5ea6/\u9ad8\u5ea6\u53d8\u5316\u56de\u8c03\u51fd\u6570\uff0c\u5bbd\u5ea6\u6216\u8005\u9ad8\u5ea6\u6839\u636e mode \u53c2\u6570\u6765\u786e\u5b9a\n */\n onDragging?: (preSize: number, nextSize: number, paneNumber: number) => void;\n /**\n * \u62d6\u62fd\u7ed3\u675f\u7684\u56de\u8c03\u51fd\u6570\n */\n onDragEnd?: (preSize: number, nextSize: number, paneNumber: number) => void;\n /** \u652f\u6301\u81ea\u5b9a\u4e49\u62d6\u62fd\u5de5\u5177\u680f */\n renderBar?: (props: React.HTMLAttributes<HTMLDivElement>) => JSX.Element;\n /**\n * \u8bbe\u7f6e\u62d6\u62fd\u7684\u5de5\u5177\u6761\uff0c\u4e3a\u7ebf\u6761\u6837\u5f0f\u3002\n */\n lineBar?: boolean;\n /**\n * \u8bbe\u7f6e\u62d6\u62fd\u7684\u5de5\u5177\u6761\uff0c\u662f\u5426\u53ef\u89c1\n */\n visiable?: boolean | number[];\n /**\n * \u8bbe\u7f6e\u62d6\u62fd\u7684\u5de5\u5177\u6761\uff0c\u7981\u7528\n */\n disable?: boolean | number[];\n /**\n * \u7c7b\u578b\uff0c\u53ef\u9009\u503c\u4e3a `horizontal` \u6216 `vertical`\n */\n mode?: 'horizontal' | 'vertical';\n}\n```\n\n## Development\n\nRuns the project in development mode. \n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\nnpm run watch\nnpm run build\n# Step 2, development mode, listen to compile preview website instance\nnpm run doc\n```\n\n**production**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run released\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n"}}]);
2
- //# sourceMappingURL=486.06f7cd25.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/486.06f7cd25.chunk.js","mappings":"+GAAA","sources":["../../node_modules/@uiw/react-split/README.md"],"sourcesContent":["export default \"Split 面板分割\\n===\\n\\n[![Build & Deploy](https://github.com/uiwjs/react-split/workflows/Build%20&%20Deploy/badge.svg)](https://github.com/uiwjs/react-split/actions)\\n[![Issues](https://img.shields.io/github/issues/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/issues)\\n[![Forks](https://img.shields.io/github/forks/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/network)\\n[![Stars](https://img.shields.io/github/stars/uiwjs/react-split.svg)](https://github.com/uiwjs/react-split/stargazers)\\n[![Release](https://img.shields.io/github/release/uiwjs/react-split)](https://github.com/uiwjs/react-split/releases)\\n[![npm version](https://img.shields.io/npm/v/@uiw/react-split.svg)](https://www.npmjs.com/package/@uiw/react-split)\\n[![open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-split/file/README.md)\\n\\n可将一块内容,分割为可以拖拽调整宽度或高度的区域。\\n\\n```jsx\\nimport { Split } from 'uiw';\\n```\\n\\n从组件库 `uiw` 中抽离出来的 `@uiw/react-split`,可以单独使用。\\n\\n```jsx\\nimport Split from '@uiw/react-split';\\n```\\n\\n### 基础用法\\n\\n> ~~通过设置子节点的 `minWidth` 样式,即可设置拖拽最小宽度值。通过设置子节点样式 `flexBasis` 样式即可设置默认分割内容的占比宽度。~~\\n\\n- 固定初始宽度或者高度,可通过设置子节点,样式 `width: '80%'` 宽度百分百来计算。\\n- 拖拽至最小宽度,可通过设置子节点样式 `minWidth: 30`,来达到效果\\n- 默认情况下,不设置样式 `width`,需要将某个子节点样式设为 `flex: 1`,来自适应\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div style={{ width: '20%', minWidth: 30 }}>\\n <iframe\\n srcDoc=\\\"<div>test</div>\\\"\\n style={{ width: '100%', height: '100%' }}\\n title=\\\"Code Preview\\\"\\n sandbox=\\\"allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts\\\"\\n />\\n </div>\\n <div style={{ width: '80%', minWidth: 100 }}>\\n Right Pane\\n </div>\\n </Split>\\n <Split\\n style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}\\n >\\n <div style={{ minWidth: 60 }}>\\n test\\n </div>\\n <div style={{ minWidth: 80, flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 可用于布局\\n\\n设置 `visiable={false}` 禁用拖拽栏,可用于布局。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split mode=\\\"vertical\\\" visiable={false}>\\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\\n Header\\n </div>\\n <Split visiable={false}>\\n <div style={{ minWidth: 200, maxWidth: 200, minHeight: 120, background: '#b5b5b5' }}>\\n Sider\\n </div>\\n <div style={{ width: '100%', background: '#ececec' }}>\\n Content\\n </div>\\n </Split>\\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\\n Footer\\n </div>\\n </Split>\\n <div style={{ height: 20 }}></div>\\n <Split visiable={false}>\\n <div style={{ minWidth: 200, maxWidth: 200, minHeight: 85, background: '#a9a9a9' }}>\\n Sider\\n </div>\\n <Split mode=\\\"vertical\\\" visiable={false} style={{ width: '100%' }}>\\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\\n Header\\n </div>\\n <div style={{ minHeight: 85, background: '#b5b5b5' }}>\\n Content\\n </div>\\n <div style={{ minHeight: 45, background: '#dcdcdc' }}>\\n Footer\\n </div>\\n </Split>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 多栏分割\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <Split style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div>\\n Left Pane\\n </div>\\n <div>\\n Center Pane\\n </div>\\n <div>\\n Center Pane\\n </div>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 线条拖拽\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split lineBar style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div>\\n Left Pane\\n </div>\\n <div>\\n Center Pane\\n </div>\\n <div>\\n Center Pane\\n </div>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n <Split mode=\\\"vertical\\\" lineBar style={{ height: 210, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\\n <div style={{ height: '33.3%' }}>\\n Left Pane\\n </div>\\n <div style={{ height: '33.3%' }}>\\n Center Pane\\n </div>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 垂直分割\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <Split mode=\\\"vertical\\\" style={{ height: 200, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div style={{ height: '50%' }}>\\n Top Pane\\n </div>\\n <div style={{ height: '50%' }}>\\n Bottom Pane\\n </div>\\n </Split>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 嵌套使用\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <Split style={{ height: 200, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <Split mode=\\\"vertical\\\">\\n <div style={{ height: '50%' }}>\\n Top Pane\\n </div>\\n <Split style={{ height: '50%' }}>\\n <div>\\n Left Pane\\n </div>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n </Split>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 拖拽工具不显示\\n\\n下面实例通过设置 `visiable` 的值来设置拖拽工具是否可见\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split visiable={false} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div style={{ maxWidth: 100, backgroundColor: '#eaeaea' }}>\\n Left Pane\\n </div>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n <Split visiable={[4, 5]} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\\n <div style={{ maxWidth: 50, backgroundColor: '#eaeaea' }}>\\n Pane 1\\n </div>\\n <div style={{ maxWidth: 60 }}>\\n Pane 2\\n </div>\\n <div>\\n Pane 3\\n </div>\\n <div>\\n Pane 4\\n </div>\\n <div style={{ flex: 1 }}>\\n Pane 5\\n </div>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 禁用拖拽\\n\\n通过设置 `disable` 的值,禁用拖拽工具拖拽。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split disable style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div style={{ maxWidth: 100, backgroundColor: '#eaeaea' }}>\\n Left Pane\\n </div>\\n <Split disable mode=\\\"vertical\\\">\\n <div>\\n Top Pane\\n </div>\\n <div>\\n Bottom Pane\\n </div>\\n </Split>\\n <div style={{ flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n <Split disable={[4, 5]} style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3, marginTop: 10 }}>\\n <div style={{ maxWidth: 50, backgroundColor: '#eaeaea' }}>\\n Pane 1\\n </div>\\n <div style={{ maxWidth: 60 }}>\\n Pane 2\\n </div>\\n <div>\\n Pane 3\\n </div>\\n <div>\\n Pane 4\\n </div>\\n <div style={{ flex: 1 }}>\\n Pane 5\\n </div>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 抽屉\\n\\n可拖拽左边栏宽度。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\nimport { Menu, Button } from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n width: 210,\\n };\\n }\\n onClick() {\\n this.setState({\\n width: this.state.width === 0 ? 210 : 0,\\n });\\n }\\n render() {\\n const styl = {};\\n if (this.state.width === 0) {\\n styl.width = `0%`;\\n } else {\\n styl.width = this.state.width;\\n }\\n return (\\n <>\\n <div style={{ marginBottom: 10 }}>\\n <Button type=\\\"primary\\\" onClick={this.onClick.bind(this)}>{this.state.width === 0 ? '隐藏菜单' : '展示菜单'}</Button>\\n </div>\\n <Split lineBar visiable={this.state.width !== 0} style={{ border: '1px solid #d5d5d5', borderRadius: 3 }}>\\n <div style={{ ...styl, overflow: 'hidden' }}>\\n <Menu>\\n <Menu.Item icon=\\\"heart-on\\\" text=\\\"另存为\\\" active />\\n <Menu.Item icon=\\\"appstore\\\" text=\\\"应用商城\\\" />\\n <Menu.Item icon=\\\"bar-chart\\\" text=\\\"月统计报表导出\\\" />\\n <Menu.Item icon=\\\"setting\\\" text=\\\"偏好设置\\\" />\\n <Menu.Divider />\\n <Menu.Item icon=\\\"map\\\" text=\\\"谷歌地图\\\" />\\n </Menu>\\n </div>\\n <div style={{ flex: 1, minWidth: 30 }}>\\n Right Pane\\n </div>\\n </Split>\\n </>\\n )\\n }\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 支持自定义拖拽工具栏\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport Split from '@uiw/react-split';\\n\\nconst Demo = () => (\\n <div>\\n <Split\\n renderBar={({ onMouseDown, ...props }) => {\\n return (\\n <div {...props} style={{ boxShadow: 'none', background: 'transparent' }}>\\n <div onMouseDown={onMouseDown} style={{ backgroundColor: '#ff000057', boxShadow: 'none' }} />\\n </div>\\n );\\n }}\\n style={{ height: 100, border: '1px solid #d5d5d5', borderRadius: 3 }}\\n >\\n <div style={{ minWidth: 60 }}>\\n test\\n </div>\\n <div style={{ minWidth: 80, flex: 1 }}>\\n Right Pane\\n </div>\\n </Split>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n\\n## Props\\n\\n```ts\\nexport interface SplitProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onDragEnd'> {\\n style?: React.CSSProperties;\\n className?: string;\\n prefixCls?: string;\\n /**\\n * 拖拽宽度/高度变化回调函数,宽度或者高度根据 mode 参数来确定\\n */\\n onDragging?: (preSize: number, nextSize: number, paneNumber: number) => void;\\n /**\\n * 拖拽结束的回调函数\\n */\\n onDragEnd?: (preSize: number, nextSize: number, paneNumber: number) => void;\\n /** 支持自定义拖拽工具栏 */\\n renderBar?: (props: React.HTMLAttributes<HTMLDivElement>) => JSX.Element;\\n /**\\n * 设置拖拽的工具条,为线条样式。\\n */\\n lineBar?: boolean;\\n /**\\n * 设置拖拽的工具条,是否可见\\n */\\n visiable?: boolean | number[];\\n /**\\n * 设置拖拽的工具条,禁用\\n */\\n disable?: boolean | number[];\\n /**\\n * 类型,可选值为 `horizontal` 或 `vertical`\\n */\\n mode?: 'horizontal' | 'vertical';\\n}\\n```\\n\\n## Development\\n\\nRuns the project in development mode. \\n\\n```bash\\n# Step 1, run first, listen to the component compile and output the .js file\\nnpm run watch\\nnpm run build\\n# Step 2, development mode, listen to compile preview website instance\\nnpm run doc\\n```\\n\\n**production**\\n\\nBuilds the app for production to the build folder.\\n\\n```bash\\nnpm run released\\n```\\n\\nThe build is minified and the filenames include the hashes.\\nYour app is ready to be deployed!\\n\";"],"names":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4948],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var f="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],b=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,m=c.noCode,f=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f})}}}),(0,u.jsx)("div",{className:f,children:(0,u.jsx)(m,{path:a})})]}):null}},12357:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-month-picker/README.md",dependencies:{MonthPicker:s.lH,Button:s.zx,Notify:s.gU,Form:s.l0,Row:s.X2,Col:s.JX},renderPage:(0,r.Z)(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.e(8488).then(t.bind(t,18488));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
- //# sourceMappingURL=4948.77515624.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4948.77515624.chunk.js","mappings":"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","sources":["../../node_modules/@babel/standalone|sync|nonrecursive","components/Markdown/Code.tsx","components/Markdown/Footer.tsx","webpack://website/./src/components/Markdown/index.module.less?6e49","components/Markdown/index.tsx","routes/components/month-picker/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { MonthPicker, Button, Notify, Form, Row, Col } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default function Page() {\n return (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-month-picker/README.md\"\n dependencies={{ MonthPicker, Button, Notify, Form, Row, Col }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-month-picker/README.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","MonthPicker","Button","Notify","Form","Row","Col","md","default"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5146],{5146:function(n,e,o){o.r(e),e.default='Input \u8f93\u5165\u6846\n===\n\n\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\u8f93\u5165\u5185\u5bb9\uff0c\u662f\u6700\u57fa\u7840\u7684\u8868\u5355\u57df\u7684\u5305\u88c5\u3002\n\n```jsx\nimport { Input } from \'uiw\';\n// or\nimport Input from \'@uiw/react-input\';\n```\n\n### \u57fa\u7840\u7528\u6cd5\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Input } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Input placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" style={{ maxWidth: 200 }} />\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### Form \u4e2d\u4f7f\u7528 Input\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Form, Input, Row, Col, Button, Notify } from \'uiw\';\n\nconst Demo = () => (\n <Form\n onChange={({ initial, current }) => { }}\n onSubmitError={(error) => {\n console.log(\'error:\', error)\n return error && error.filed ? { ...error.filed } : null;\n }}\n onSubmit={({initial, current}) => {\n if (current.input && current.input.length > 3) {\n Notify.success({\n title: \'\u63d0\u4ea4\u6210\u529f\uff01\',\n description: `\u586b\u5199\uff1a\u3010${current.input.toString()}\u3011\uff01`\n });\n } else {\n Notify.error({ title: \'\u63d0\u4ea4\u5931\u8d25\uff01\', description: \'\u5fc5\u987b\u957f\u5ea6\u8d85\u8fc7 3 \u4e2a\u5b57\u7b26\uff01\' });\n }\n const ErrObj = {};\n if (current.input && current.input.length < 4) {\n ErrObj.input = \'\ud83d\ude06 \u5fc5\u987b\u957f\u5ea6\u8d85\u8fc7 3 \u4e2a\u5b57\u7b26\uff01\';\n }\n if(Object.keys(ErrObj).length > 0) {\n const err = new Error();\n err.filed = ErrObj;\n throw err;\n }\n }}\n fields={{\n input: {\n value: \'www\',\n label: \'\u8bf7\u8f93\u5165\u5185\u5bb9\',\n help: \'\u5fc5\u987b\u957f\u5ea6\u8d85\u8fc7 3 \u4e2a\u5b57\u7b26\uff01\',\n validator: (value = \'\') => value.length < 4 ? \'\u5fc5\u586b\u9009\u9879\uff01\' : null,\n children: <Input placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" style={{ maxWidth: 200 }} />,\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n return (\n <div>\n <Row>\n <Col>{fields.input}</Col>\n </Row>\n <Row>\n <Col>\n <Button disabled={!canSubmit()} type="primary" htmlType="submit">\u63d0\u4ea4</Button>\n </Col>\n </Row>\n <Row>\n <Col>\n <pre style={{ padding: 10, marginTop: 10 }}>\n {JSON.stringify(state.current, null, 2)}\n </pre>\n </Col>\n </Row>\n </div>\n );\n }}\n </Form>\n);\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u63d2\u5165\u56fe\u6807\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Input, Row, Col } from \'uiw\';\n\nconst stylItem = { margin: 20 };\nconst Demo = () => (\n <div>\n <Row gutter={10}>\n <Col fixed>\n <Input preIcon="delete" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input preIcon="tag" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input preIcon="picasa" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input preIcon="like-o" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n </Row>\n </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u540e\u9762\u63d2\u5165\u5185\u5bb9\n\n\u5411\u540e\u9762\u63d2\u5165 [`Button`](#/components/button) \u6216\u8005 [`Tag`](#/components/tag)\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Input, Row, Col, Button, Tag } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Row gutter={10}>\n <Col fixed>\n <Input\n preIcon="like-o"\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Button icon="lock" size="small" basic type="light" />}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Tag title="1000" color="#28a745" />}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="search"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button icon="apple" size="small" type="primary">\u6309\u94ae</Button>}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="primary">\u6309\u94ae</Button>}\n />\n </Col>\n </Row>\n </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u8f93\u5165\u6846\u5c3a\u5bf8\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Input, Row, Col, Tag, Button } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col fixed>\n <Input\n preIcon="like-o"\n size="large"\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Button icon="lock" basic type="light" />}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="search"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button icon="arrow-right" basic size="small" type="light" />}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n size="small"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="primary">\u6309\u94ae</Button>}\n />\n </Col>\n </Row>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col fixed>\n <Input\n preIcon="like-o"\n size="large"\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Tag title="1000" color="#28a745" />}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Tag title="\u836f\u4e38" color="#1C7CEB" color="#40bf16">\u4e38</Tag>}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n size="small"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Tag title="1000" color="#28a745" />}\n />\n </Col>\n </Row>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col fixed>\n <Input\n preIcon="like-o"\n size="large"\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Button icon="apple" type="primary">\u6309\u94ae</Button>}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="search"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="primary">\u641c\u7d22</Button>}\n />\n </Col>\n <Col fixed>\n <Input\n preIcon="tag"\n size="small"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="primary">\u6309\u94ae</Button>}\n />\n </Col>\n </Row>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col fixed>\n <Input\n preIcon="like-o"\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Button size="small" type="light">\u4eae\u6309\u94ae</Button>}\n />\n </Col>\n <Col fixed>\n <Input\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="danger">\u6309\u94ae</Button>}\n />\n </Col>\n <Col fixed>\n <Input\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="warning">\u6309\u94ae</Button>}\n />\n </Col>\n </Row>\n <Row gutter={10}>\n <Col fixed>\n <Input size="small" preIcon="like-o" placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801" />\n </Col>\n <Col fixed>\n <Input size="small" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input\n size="small"\n preIcon="like-o"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={<Button size="small" type="warning">\u6309\u94ae</Button>}\n />\n </Col>\n </Row>\n </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5bc6\u7801\u8f93\u5165\u6846\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from \'react\';\nimport ReactDOM from \'react-dom\';\nimport { Input, Row, Col, Button } from \'uiw\';\n\nclass Demo extends React.Component {\n constructor() {\n super();\n this.state = {\n btnIcon: \'lock\',\n }\n }\n onClick() {\n this.setState({\n btnIcon: this.state.btnIcon === \'lock\' ? \'unlock\' : \'lock\',\n })\n }\n render() {\n return (\n <Row gutter={10}>\n <Col fixed>\n <Input\n ref={(instance) => {\n if (instance) {\n console.log(\'instance:\', instance);\n }\n }}\n preIcon="like-o"\n type={this.state.btnIcon === \'lock\' ? \'password\' : \'text\'}\n placeholder="\u8bf7\u8f93\u5165\u5bc6\u7801"\n addonAfter={<Button icon={this.state.btnIcon} onClick={this.onClick.bind(this)} size="small" basic type="light" />}\n />\n </Col>\n </Row>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u8f93\u5165\u6846\u88ab\u7981\u7528\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Icon, Input, Row, Col} from \'uiw\';\n\nconst stylItem = { margin: 20 };\nconst Demo = () => (\n <>\n <Row gutter={10}>\n <Col fixed>\n <Input disabled preIcon="delete" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input disabled preIcon="tag" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n <Col fixed>\n <Input\n disabled\n preIcon="picasa"\n placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9"\n addonAfter={\n <Button icon="close" disabled size="small" basic type="light" />\n }\n />\n </Col>\n <Col fixed>\n <Input disabled preIcon="like-o" placeholder="\u8bf7\u8f93\u5165\u5185\u5bb9" />\n </Col>\n </Row>\n </>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Input\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u7ed1\u5b9a\u503c | String | - |\n| disabled | \u7981\u7528\u8f93\u5165\u6846 | Boolean | `false` |\n| preIcon | \u8f93\u5165\u6846`\u524d`\u9762\u653e\u7f6e\u56fe\u6807 | String/ReactNode | - |\n| addonAfter | \t\u5e26\u6807\u7b7e\u7684 input\uff0c\u8bbe\u7f6e\u540e\u7f6e\u6807\u7b7e | String/ReactNode | - |\n| size | \u6307\u5b9a\u8f93\u5165\u6846\u7684\u5c3a\u5bf8\uff0c\u9664\u4e86\u9ed8\u8ba4\u7684\u5927\u5c0f\u5916\uff0c\u8fd8\u63d0\u4f9b\u4e86 `large`\u3001`small` \u548c `default` \u4e09\u79cd\u5c3a\u5bf8\u3002 | String | - |'}}]);
2
- //# sourceMappingURL=5146.6d483514.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/5146.6d483514.chunk.js","mappings":"+GAAA","sources":["../../packages/react-input/README.md"],"sourcesContent":["export default \"Input 输入框\\n===\\n\\n通过鼠标或键盘输入内容,是最基础的表单域的包装。\\n\\n```jsx\\nimport { Input } from 'uiw';\\n// or\\nimport Input from '@uiw/react-input';\\n```\\n\\n### 基础用法\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Input } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Input placeholder=\\\"请输入内容\\\" style={{ maxWidth: 200 }} />\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### Form 中使用 Input\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Input, Row, Col, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <Form\\n onChange={({ initial, current }) => { }}\\n onSubmitError={(error) => {\\n console.log('error:', error)\\n return error && error.filed ? { ...error.filed } : null;\\n }}\\n onSubmit={({initial, current}) => {\\n if (current.input && current.input.length > 3) {\\n Notify.success({\\n title: '提交成功!',\\n description: `填写:【${current.input.toString()}】!`\\n });\\n } else {\\n Notify.error({ title: '提交失败!', description: '必须长度超过 3 个字符!' });\\n }\\n const ErrObj = {};\\n if (current.input && current.input.length < 4) {\\n ErrObj.input = '😆 必须长度超过 3 个字符!';\\n }\\n if(Object.keys(ErrObj).length > 0) {\\n const err = new Error();\\n err.filed = ErrObj;\\n throw err;\\n }\\n }}\\n fields={{\\n input: {\\n value: 'www',\\n label: '请输入内容',\\n help: '必须长度超过 3 个字符!',\\n validator: (value = '') => value.length < 4 ? '必填选项!' : null,\\n children: <Input placeholder=\\\"请输入内容\\\" style={{ maxWidth: 200 }} />,\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n return (\\n <div>\\n <Row>\\n <Col>{fields.input}</Col>\\n </Row>\\n <Row>\\n <Col>\\n <Button disabled={!canSubmit()} type=\\\"primary\\\" htmlType=\\\"submit\\\">提交</Button>\\n </Col>\\n </Row>\\n <Row>\\n <Col>\\n <pre style={{ padding: 10, marginTop: 10 }}>\\n {JSON.stringify(state.current, null, 2)}\\n </pre>\\n </Col>\\n </Row>\\n </div>\\n );\\n }}\\n </Form>\\n);\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 插入图标\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Input, Row, Col } from 'uiw';\\n\\nconst stylItem = { margin: 20 };\\nconst Demo = () => (\\n <div>\\n <Row gutter={10}>\\n <Col fixed>\\n <Input preIcon=\\\"delete\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input preIcon=\\\"tag\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input preIcon=\\\"picasa\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input preIcon=\\\"like-o\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n </Row>\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 后面插入内容\\n\\n向后面插入 [`Button`](#/components/button) 或者 [`Tag`](#/components/tag)\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Input, Row, Col, Button, Tag } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Row gutter={10}>\\n <Col fixed>\\n <Input\\n preIcon=\\\"like-o\\\"\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Button icon=\\\"lock\\\" size=\\\"small\\\" basic type=\\\"light\\\" />}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Tag title=\\\"1000\\\" color=\\\"#28a745\\\" />}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"search\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button icon=\\\"apple\\\" size=\\\"small\\\" type=\\\"primary\\\">按钮</Button>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"primary\\\">按钮</Button>}\\n />\\n </Col>\\n </Row>\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 输入框尺寸\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Input, Row, Col, Tag, Button } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col fixed>\\n <Input\\n preIcon=\\\"like-o\\\"\\n size=\\\"large\\\"\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Button icon=\\\"lock\\\" basic type=\\\"light\\\" />}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"search\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button icon=\\\"arrow-right\\\" basic size=\\\"small\\\" type=\\\"light\\\" />}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n size=\\\"small\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"primary\\\">按钮</Button>}\\n />\\n </Col>\\n </Row>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col fixed>\\n <Input\\n preIcon=\\\"like-o\\\"\\n size=\\\"large\\\"\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Tag title=\\\"1000\\\" color=\\\"#28a745\\\" />}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Tag title=\\\"药丸\\\" color=\\\"#1C7CEB\\\" color=\\\"#40bf16\\\">丸</Tag>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n size=\\\"small\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Tag title=\\\"1000\\\" color=\\\"#28a745\\\" />}\\n />\\n </Col>\\n </Row>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col fixed>\\n <Input\\n preIcon=\\\"like-o\\\"\\n size=\\\"large\\\"\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Button icon=\\\"apple\\\" type=\\\"primary\\\">按钮</Button>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"search\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"primary\\\">搜索</Button>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n preIcon=\\\"tag\\\"\\n size=\\\"small\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"primary\\\">按钮</Button>}\\n />\\n </Col>\\n </Row>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col fixed>\\n <Input\\n preIcon=\\\"like-o\\\"\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"light\\\">亮按钮</Button>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"danger\\\">按钮</Button>}\\n />\\n </Col>\\n <Col fixed>\\n <Input\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"warning\\\">按钮</Button>}\\n />\\n </Col>\\n </Row>\\n <Row gutter={10}>\\n <Col fixed>\\n <Input size=\\\"small\\\" preIcon=\\\"like-o\\\" placeholder=\\\"请输入密码\\\" />\\n </Col>\\n <Col fixed>\\n <Input size=\\\"small\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input\\n size=\\\"small\\\"\\n preIcon=\\\"like-o\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={<Button size=\\\"small\\\" type=\\\"warning\\\">按钮</Button>}\\n />\\n </Col>\\n </Row>\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 密码输入框\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Input, Row, Col, Button } from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor() {\\n super();\\n this.state = {\\n btnIcon: 'lock',\\n }\\n }\\n onClick() {\\n this.setState({\\n btnIcon: this.state.btnIcon === 'lock' ? 'unlock' : 'lock',\\n })\\n }\\n render() {\\n return (\\n <Row gutter={10}>\\n <Col fixed>\\n <Input\\n ref={(instance) => {\\n if (instance) {\\n console.log('instance:', instance);\\n }\\n }}\\n preIcon=\\\"like-o\\\"\\n type={this.state.btnIcon === 'lock' ? 'password' : 'text'}\\n placeholder=\\\"请输入密码\\\"\\n addonAfter={<Button icon={this.state.btnIcon} onClick={this.onClick.bind(this)} size=\\\"small\\\" basic type=\\\"light\\\" />}\\n />\\n </Col>\\n </Row>\\n )\\n }\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 输入框被禁用\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Icon, Input, Row, Col} from 'uiw';\\n\\nconst stylItem = { margin: 20 };\\nconst Demo = () => (\\n <>\\n <Row gutter={10}>\\n <Col fixed>\\n <Input disabled preIcon=\\\"delete\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input disabled preIcon=\\\"tag\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n <Col fixed>\\n <Input\\n disabled\\n preIcon=\\\"picasa\\\"\\n placeholder=\\\"请输入内容\\\"\\n addonAfter={\\n <Button icon=\\\"close\\\" disabled size=\\\"small\\\" basic type=\\\"light\\\" />\\n }\\n />\\n </Col>\\n <Col fixed>\\n <Input disabled preIcon=\\\"like-o\\\" placeholder=\\\"请输入内容\\\" />\\n </Col>\\n </Row>\\n </>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Input\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 绑定值 | String | - |\\n| disabled | 禁用输入框 | Boolean | `false` |\\n| preIcon | 输入框`前`面放置图标 | String/ReactNode | - |\\n| addonAfter | \\t带标签的 input,设置后置标签 | String/ReactNode | - |\\n| size | 指定输入框的尺寸,除了默认的大小外,还提供了 `large`、`small` 和 `default` 三种尺寸。 | String | - |\";"],"names":[],"sourceRoot":""}