@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
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2476],{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(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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,k=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var j={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(j).filter((function(e){return void 0!==j[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,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},50216:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(53864)),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-table/README.md",dependencies:{Table:s.iA,Notify:s.gU,Button:s.zx,Checkbox:s.XZ,Pagination:s.tl,Loader:s.aN,Tooltip:s.u,Empty:s.HY},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(6659).then(t.bind(t,66659));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
+ //# sourceMappingURL=2476.f15bbd3e.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2476.f15bbd3e.chunk.js","mappings":"wFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAA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B,EAArBA,KAASpC,GAAY,YACpC,EAAiFA,EAAzEwD,EAAR,EAAQA,UAAWC,EAAnB,EAAmBA,SAAUC,EAA7B,EAA6BA,SAAUC,EAAvC,EAAuCA,QAASC,EAAhD,EAAgDA,OAAQ/D,EAAxD,EAAwDA,QAASC,EAAjE,EAAiEA,YACjE,GAAIyD,EACF,OAAO,2BAAUvD,IAEnB,IAAM6D,EAAS,CACbL,UAAAA,EACAC,SAAAA,EACAC,SAAAA,EACAC,QAAAA,EACAC,OAAAA,EACA/D,QAAAA,EACAC,YAAAA,GAEF,OAAgF,IAA5EgE,OAAOzE,KAAKwE,GAAQE,QAAO,SAACnD,GAAD,YAA2BoD,IAAjBH,EAAOjD,MAAqBqD,QAC5D,2BAAUjE,KAGjB,SAACN,EAAD,CACEC,QAASA,EACTP,KAAM6C,EAAWG,EAAKE,UACtB1C,aAAcA,EACR4D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQ/D,QAAAA,EAASC,YAAAA,SAMzE,gBAAKsD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA9CX,O,yHCrCX,qBAAe,OACb,SAAC,IAAD,CACEA,KAAK,0EACL9B,aAAc,CACZuE,MAAAA,EAAAA,GACAC,OAAAA,EAAAA,GACAC,OAAAA,EAAAA,GACAC,SAAAA,EAAAA,GACAC,WAAAA,EAAAA,GACAC,OAAAA,EAAAA,GACAC,QAAAA,EAAAA,EACAC,MAAAA,EAAAA,IAEFhC,YAAU,iBAAE,oGACO,gCADP,cACJiC,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/table/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 { Table, Empty, Notify, Button, Checkbox, Pagination, Loader, Tooltip } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-table/README.md\"\n dependencies={{\n Table,\n Notify,\n Button,\n Checkbox,\n Pagination,\n Loader,\n Tooltip,\n Empty,\n }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-table/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","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","Table","Notify","Button","Checkbox","Pagination","Loader","Tooltip","Empty","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2618],{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(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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,k=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var j={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(j).filter((function(e){return void 0!==j[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,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},667:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(86082)),c=t(69286);n.default=function(){return(0,c.jsx)(s.Z,{path:"https://github.com/uiwjs/uiw/tree/master/website/src/routes/guide/create-react-app/README.md",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(7763).then(t.bind(t,57763));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
+ //# sourceMappingURL=2618.adf157a1.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2618.adf157a1.chunk.js","mappings":"wFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BA,EAAoBO,GAAK,MACzBC,EAAOC,QAAUT,G,mNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GAyDrC,OAxDIF,IACFG,EAAMC,cAAgB,CACpBC,MAAM,MAAD,OAAQP,EAAR,WACLQ,cAAe,CAAC,OAChBC,IAAKJ,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,wCAC1CC,KAAM,mDACNC,aAAa,yBAAD,OAA2BZ,EAA3B,qBACZa,YAAY,yLAAD,OAA2Lb,EAA3L,qFAGXG,IACFE,EAAMS,kBAAoB,CACxBC,MAAO,CACL,sBAAuB,CACrBC,QAAQ,iKAQV,oBAAqB,CACnBA,QAAQ,8BAEV,eAAgB,CACdA,SAAUX,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,yCAEjD,YAAa,CACXM,QAAQ,qJAEV,eAAgB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A,SA9CX,O,4GCtCX,qBAAe,OACb,SAAC,IAAD,CACEA,KAAK,+FACLgB,YAAU,iBAAE,oGACO,gCADP,cACJyB,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/guide/create-react-app/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/website/src/routes/guide/create-react-app/README.md\"\n renderPage={async () => {\n const md = await import('./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","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","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2679],{12679:function(n,e,o){o.r(e),e.default="PinCode \u5b89\u5168\u7801\n===\n\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-pin-code/file/README.md)\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-pin-code.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-pin-code)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-pin-code.svg?label=@uiw/react-pin-code)](https://npmjs.com/@uiw/react-pin-code)\n\n\u9488\u5bf9\u8f93\u5165\u6570\u5b57\u5e8f\u5217\u8fdb\u884c\u4e86\u4f18\u5316\u3002\u6700\u5e38\u89c1\u7684\u5e94\u7528\u662f\u8f93\u5165\u4e00\u6b21\u6027\u5b89\u5168\u7801\u3002\u5b83\u7ecf\u8fc7\u4f18\u5316\uff0c\u53ef\u5feb\u901f\u8f93\u5165\u6570\u5b57\u3002\n\n```jsx\nimport { PinCode } from 'uiw';\n// or\nimport PinCode from '@uiw/react-pin-code';\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 { PinCode } from 'uiw';\n\nconst Demo = () => (\n <div>\n <PinCode autoFocus value={['', '', '', '', '']} onChange={(val) => console.log(val)} />\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5728\u8868\u5355\u4e2d\u4f7f\u7528\n\n\u5728 [`<Form />`](#/components/form) \u8868\u5355\u4e2d\u5e94\u7528 [`<PinCode />`](#/components/pin-code) \u7ec4\u4ef6\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Form, Row, Col, Icon, PinCode, Button, Notify } from 'uiw';\n\nconst Demo = () => (\n <div>\n <Form\n resetOnSubmit={false}\n onSubmitError={(error) => {\n if (error.filed) {\n return { ...error.filed };\n }\n return null;\n }}\n onSubmit={({initial, current}) => {\n const errorObj = {};\n if (current.pinCode.join('').length === 0) {\n errorObj.pinCode = '\u8bf7\u8f93\u5165\u5b89\u5168\u7801\uff01';\n }\n if (current.pinCode.join('').length < 5) {\n errorObj.pinCode = '\u5b89\u5168\u7801\u6ca1\u6709\u8f93\u5165\u5b8c\u6574\uff01';\n }\n if(Object.keys(errorObj).length > 0) {\n const err = new Error();\n err.filed = errorObj;\n Notify.error({ title: '\u63d0\u4ea4\u5931\u8d25\uff01', description: '\u8bf7\u786e\u8ba4\u63d0\u4ea4\u8868\u5355\u662f\u5426\u6b63\u786e\uff01' });\n throw err;\n }\n Notify.success({\n title: '\u63d0\u4ea4\u6210\u529f\uff01',\n description: `\u8868\u5355\u63d0\u4ea4\u6210\u529f\uff0c\u5b89\u5168\u7801\u4e3a\uff1a${current.pinCode.join('')}\uff01`,\n });\n }}\n fields={{\n pinCode: {\n initialValue: ['', '', '', '', ''],\n children: <PinCode />\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n console.log('state:',state.current.pinCode.join(''))\n return (\n <div>\n <Row>\n <Col fixed>{fields.pinCode}</Col>\n </Row>\n <Row>\n <Col fixed>\n <Button size=\"small\" disabled={!canSubmit()} type=\"primary\" htmlType=\"submit\">\u63d0\u4ea4</Button>\n <span style={{ paddingLeft: 16, color: '#a7a7a7', verticalAlign: 'middle' }}>\n {state.current.pinCode.join('')}\n </span>\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 </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u66f4\u6539\u5360\u4f4d\u7b26\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { PinCode, Divider } from 'uiw';\n\nconst Demo = () => (\n <div>\n <PinCode placeholder=\"\u25a0\" value={['8', '7', '3', '', '']} onChange={(val) => console.log(val)} />\n <Divider />\n <PinCode placeholder=\"\u2605\" value={['6', '', '', '', '']} onChange={(val) => console.log(val)} />\n <Divider />\n <PinCode placeholder=\"\ud83e\udd23\" value={['', '', '', '', '']} onChange={(val) => console.log(val)} />\n </div>\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 { PinCode, Divider } from 'uiw';\n\nconst Demo = () => (\n <div>\n <PinCode disabled value={['1', '9', '8', '7', '0']} />\n <Divider />\n <PinCode disabled value={['', '', '', '', '']} />\n <Divider />\n <PinCode disabled placeholder=\"\ud83e\udd23\" value={['', '', '', '', '']} />\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5c3a\u5bf8\u5927\u5c0f\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { PinCode, Divider } from 'uiw';\n\nconst Demo = () => (\n <div>\n <PinCode size=\"large\" value={['1', '9', '8', '7', '0']} />\n <Divider />\n <PinCode value={['', '', '', '', '']} />\n <Divider />\n <PinCode size=\"small\" value={['', '', '', '', '']} />\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n## PinCode\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u7ed1\u5b9a\u503c\uff0c\u6839\u636e\u6570\u7ec4\u957f\u5ea6\uff0c\u5c55\u793a\u5b89\u5168\u7801\u7684\u957f\u5ea6 | string[] | - |\n| disabled | \u7981\u7528\u8f93\u5165\u6846 | Boolean | `false` |\n| autoFocus | \u81ea\u52a8\u83b7\u5f97\u7126\u70b9\u3002 | Boolean | - |\n| placeholder | \u5360\u4f4d\u7b26 | string | `\u25cb` |\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 | - |\n| onChange | `value` \u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570 | Function(value: string[]) | - |\n| onBlur | \u5931\u53bb\u7126\u70b9\u65f6\u8fd0\u884c | Function(event: React.FocusEvent<HTMLInputElement\\>) | - |\n| onFocus | \u83b7\u5f97\u7126\u70b9\u65f6\u8fd0\u884c | Function(event: React.FocusEvent<HTMLInputElement\\>) | - |"}}]);
2
+ //# sourceMappingURL=2679.0780e749.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2679.0780e749.chunk.js","mappings":"gHAAA","sources":["../../packages/react-pin-code/README.md"],"sourcesContent":["export default \"PinCode 安全码\\n===\\n\\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-pin-code/file/README.md)\\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-pin-code.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-pin-code)\\n[![npm version](https://img.shields.io/npm/v/@uiw/react-pin-code.svg?label=@uiw/react-pin-code)](https://npmjs.com/@uiw/react-pin-code)\\n\\n针对输入数字序列进行了优化。最常见的应用是输入一次性安全码。它经过优化,可快速输入数字。\\n\\n```jsx\\nimport { PinCode } from 'uiw';\\n// or\\nimport PinCode from '@uiw/react-pin-code';\\n```\\n\\n### 基础用法\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { PinCode } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <PinCode autoFocus value={['', '', '', '', '']} onChange={(val) => console.log(val)} />\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 在表单中使用\\n\\n在 [`<Form />`](#/components/form) 表单中应用 [`<PinCode />`](#/components/pin-code) 组件\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Row, Col, Icon, PinCode, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Form\\n resetOnSubmit={false}\\n onSubmitError={(error) => {\\n if (error.filed) {\\n return { ...error.filed };\\n }\\n return null;\\n }}\\n onSubmit={({initial, current}) => {\\n const errorObj = {};\\n if (current.pinCode.join('').length === 0) {\\n errorObj.pinCode = '请输入安全码!';\\n }\\n if (current.pinCode.join('').length < 5) {\\n errorObj.pinCode = '安全码没有输入完整!';\\n }\\n if(Object.keys(errorObj).length > 0) {\\n const err = new Error();\\n err.filed = errorObj;\\n Notify.error({ title: '提交失败!', description: '请确认提交表单是否正确!' });\\n throw err;\\n }\\n Notify.success({\\n title: '提交成功!',\\n description: `表单提交成功,安全码为:${current.pinCode.join('')}!`,\\n });\\n }}\\n fields={{\\n pinCode: {\\n initialValue: ['', '', '', '', ''],\\n children: <PinCode />\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n console.log('state:',state.current.pinCode.join(''))\\n return (\\n <div>\\n <Row>\\n <Col fixed>{fields.pinCode}</Col>\\n </Row>\\n <Row>\\n <Col fixed>\\n <Button size=\\\"small\\\" disabled={!canSubmit()} type=\\\"primary\\\" htmlType=\\\"submit\\\">提交</Button>\\n <span style={{ paddingLeft: 16, color: '#a7a7a7', verticalAlign: 'middle' }}>\\n {state.current.pinCode.join('')}\\n </span>\\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 </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 { PinCode, Divider } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <PinCode placeholder=\\\"■\\\" value={['8', '7', '3', '', '']} onChange={(val) => console.log(val)} />\\n <Divider />\\n <PinCode placeholder=\\\"★\\\" value={['6', '', '', '', '']} onChange={(val) => console.log(val)} />\\n <Divider />\\n <PinCode placeholder=\\\"🤣\\\" value={['', '', '', '', '']} onChange={(val) => console.log(val)} />\\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 { PinCode, Divider } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <PinCode disabled value={['1', '9', '8', '7', '0']} />\\n <Divider />\\n <PinCode disabled value={['', '', '', '', '']} />\\n <Divider />\\n <PinCode disabled placeholder=\\\"🤣\\\" value={['', '', '', '', '']} />\\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 { PinCode, Divider } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <PinCode size=\\\"large\\\" value={['1', '9', '8', '7', '0']} />\\n <Divider />\\n <PinCode value={['', '', '', '', '']} />\\n <Divider />\\n <PinCode size=\\\"small\\\" value={['', '', '', '', '']} />\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## PinCode\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 绑定值,根据数组长度,展示安全码的长度 | string[] | - |\\n| disabled | 禁用输入框 | Boolean | `false` |\\n| autoFocus | 自动获得焦点。 | Boolean | - |\\n| placeholder | 占位符 | string | `○` |\\n| size | 指定输入框的尺寸,除了默认的大小外,还提供了 `large`、`small` 和 `default` 三种尺寸。 | String | - |\\n| onChange | `value` 变化时回调函数 | Function(value: string[]) | - |\\n| onBlur | 失去焦点时运行 | Function(event: React.FocusEvent<HTMLInputElement\\\\>) | - |\\n| onFocus | 获得焦点时运行 | Function(event: React.FocusEvent<HTMLInputElement\\\\>) | - |\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2692],{42692:function(n,e,t){t.r(e),e.default="Slider \u6ed1\u5757\u8f93\u5165\u6761\n===\n\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-slider/file/README.md)\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-slider.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-slider)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-slider.svg?label=@uiw/react-slider)](https://npmjs.com/@uiw/react-slider)\n\n\u901a\u8fc7\u62d6\u52a8\u6ed1\u5757\u5728\u4e00\u4e2a\u56fa\u5b9a\u533a\u95f4\u5185\u8fdb\u884c\u9009\u62e9\uff0c\u6548\u679c\u6bd4 [`input`](https://www.w3.org/wiki/HTML/Elements/input/range) \u7c7b\u578b\u4e3a [`range`](https://www.w3.org/wiki/HTML/Elements/input/range) \u7684\u529f\u80fd\u4e30\u5bcc\u3002\n\n```jsx\nimport { Slider } from 'uiw';\n// or\nimport Slider from '@uiw/react-slider';\n```\n\n### \u57fa\u672c\u7528\u6cd5\n\n\u6309\u94ae\u6837\u5f0f\u7684\u5355\u9009\u7ec4\u5408\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Slider, Divider } from 'uiw';\n\nfunction Demo() {\n const [value, setValue] = React.useState(20);\n const [value2, setValue2] = React.useState(-5);\n const [value3, setValue3] = React.useState([10, 50]);\n return (\n <div>\n <Slider\n value={value}\n style={{ maxWidth: 360 }}\n onChange={(value)=> setValue(value)}\n />\n <div>\u8bbe\u7f6e progress \u503c\u4e3a <b>\"false\"</b> \u4e0d\u663e\u793a\u8fdb\u5ea6\u6761</div>\n <Slider\n progress={false}\n value={value}\n style={{ maxWidth: 360, marginTop: 30 }}\n onChange={(value)=> setValue(value)}\n />\n <div>\u8bbe\u7f6e progress \u503c\u4e3a <b>\"#dc3545\"</b> \u8fd9\u662f\u4e00\u4e2a\u989c\u8272\u503c\uff0c\u8bbe\u7f6e\u8fdb\u5ea6\u6761\u989c\u8272</div>\n <Slider\n // progress={false}\n progress=\"#dc3545\"\n value={value}\n style={{ maxWidth: 360, marginTop: 30 }}\n onChange={(value)=> setValue(value)}\n />\n <div>\u5f53\u524d\u503c\uff1a<b>{value}</b></div>\n <Divider />\n <Slider\n min={-10}\n max={30}\n value={value2}\n style={{ maxWidth: 260 }}\n onChange={(val)=> setValue2(val)}\n />\n <div>\u53ef\u9009 -10~30\u503c\u8303\u56f4\uff1a<b>{value2}</b></div>\n <Divider />\n <Slider value={value3} style={{ maxWidth: 260 }}\n onChange={(val)=> setValue3(val)}\n />\n <div>\u53d6\u503c\u8303\u56f4\uff1a<b>{value3[0]} ~ {value3[1]}</b></div>\n </div>\n )\n}\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5728\u8868\u5355\u4e2d\u4f7f\u7528\n\n\u5728 [`<Form />`](#/components/form) \u8868\u5355\u4e2d\u5e94\u7528 [`<Slider />`](#/components/slider) \u7ec4\u4ef6\uff0c\u9700\u8981\u8bbe\u7f6e `initialValue` \u521d\u59cb\u503c\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Form, Row, Col, Slider, Button, Notify } from 'uiw';\n\nconst Demo = () => (\n <div>\n <Form\n onSubmit={({initial, current}) => {\n if(current.age === initial.age) {\n Notify.error({\n title: '\u63d0\u4ea4\u5931\u8d25\uff01',\n description: `\u8868\u5355\u63d0\u4ea4\u5e74\u9f84\u5931\u8d25\uff0c\u5e74\u9f84\u4e3a\uff1a${current.age}\uff0c\u4e0e\u521d\u59cb\u5316\u503c\u662f\u4e00\u6837\u6ef4\uff01`,\n });\n } else {\n Notify.success({\n title: '\u63d0\u4ea4\u6210\u529f\uff01',\n description: `\u8868\u5355\u63d0\u4ea4\u5e74\u9f84\u6210\u529f\uff0c\u5e74\u9f84\u4e3a\uff1a${current.age}\uff0c\u5c06\u81ea\u52a8\u586b\u5145\u521d\u59cb\u5316\u503c\uff01`,\n });\n }\n }}\n fields={{\n age: {\n initialValue: 0,\n inline: true,\n label: '\u5e74\u9f84',\n help: '\u503c\u5fc5\u987b\u5927\u4e8e 10',\n validator: (value) => value < 10 ? '\u5fc5\u586b\u9009\u9879\uff01' : null,\n children: <Slider />\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n console.log('state:', state)\n return (\n <div>\n <Row gutter={10}>\n <Col style={{ maxWidth: 300 }}>{fields.age}</Col>\n <Col>{state.current.age}</Col>\n </Row>\n <Row>\n <Col fixed>\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 </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u63a7\u5236\u63d0\u793a\u663e\u793a\n\n\u901a\u8fc7\u8bbe\u7f6e `tooltip` \u7684\u503c\uff0c\u6765\u63a7\u5236\u63d0\u793a\u7684\u663e\u793a\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Slider, Divider } from 'uiw';\n\nfunction Demo() {\n return (\n <div>\n <div>\u8bbe\u7f6e tooltip \u503c\u4e3a <b>true</b>\uff0c\u63d0\u793a\u5c06\u59cb\u7ec8\u663e\u793a\u3002</div>\n <Slider value={25} style={{ maxWidth: 260 }} tooltip />\n <Divider />\n <div>\u8bbe\u7f6e tooltip \u503c\u4e3a <b>null</b>\uff0c\u63d0\u793a\u5c06\u59cb\u7ec8\u4e0d\u663e\u793a\u3002</div>\n <Slider value={25} style={{ maxWidth: 260 }} tooltip={null} />\n <Divider />\n <div>\u8bbe\u7f6e tooltip \u503c\u4e3a <b>false</b>\uff0c\u9f20\u6807\u7ecf\u8fc7\u663e\u793a\u63d0\u793a\u3002</div>\n <Slider value={25} style={{ maxWidth: 260 }} tooltip={false} />\n </div>\n )\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u523b\u5ea6\n\n\u901a\u8fc7 `step` \u8bbe\u7f6e\u6216\u8fd4\u56de\u6bcf\u6b21\u62d6\u52a8\u6ed1\u5757\u63a7\u4ef6\u65f6\u7684\u9012\u589e\u91cf\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Slider, Divider} from 'uiw';\n\nclass Demo extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n value: 20,\n value2: 1.5,\n value3: 20,\n value4: [10, 40],\n };\n }\n render() {\n return (\n <div>\n <div>\u523b\u5ea6 <b>step=10</b> \u5f53\u524d\u503c\uff1a<b>{this.state.value}</b></div>\n <Slider\n step={10}\n max={200}\n dots\n value={this.state.value}\n style={{ maxWidth: 460 }}\n onChange={(value)=> {\n this.setState({ value });\n }}\n />\n <Divider />\n <div>\u523b\u5ea6 <b>step=0.5</b> \u5f53\u524d\u503c\uff1a<b>{this.state.value2}</b></div>\n <Slider\n min={0}\n max={2}\n step={0.5}\n dots\n value={this.state.value2}\n style={{ maxWidth: 460 }}\n onChange={(value2)=> {\n this.setState({ value2 });\n }}\n />\n <Divider />\n <div>\u523b\u5ea6 <b>step=3</b>\uff0c\u8bbe\u7f6e <b>dots=false</b> \u4e0d\u663e\u793a\u523b\u5ea6 \u5f53\u524d\u503c\uff1a<b>{this.state.value3}</b></div>\n <Slider\n value={26}\n min={20}\n max={40}\n step={2}\n value={this.state.value3}\n style={{ maxWidth: 260 }}\n onChange={(value3)=> {\n this.setState({ value3 });\n }}\n />\n <Divider />\n <div>\u503c <b>value=[10, 40]</b> \uff0c\u5fc5\u987b\u8bbe\u7f6e<b>range=true</b>\uff0c\u53d6\u503c\u8303\u56f4\uff1a<b>{this.state.value4[0]} ~ {this.state.value4[1]}</b></div>\n <Slider value={this.state.value4} style={{ maxWidth: 260 }}\n onChange={(value4)=> {\n this.setState({ value4 });\n }}\n />\n </div>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u6807\u8bb0\u523b\u5ea6\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Slider, Divider} from 'uiw';\n\nclass Demo extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n value: 20,\n value2: 1.5,\n value3: 20,\n };\n }\n render() {\n return (\n <div>\n <div>\u523b\u5ea6 <b>step=2</b> \u5f53\u524d\u503c\uff1a<b>{this.state.value}</b></div>\n <Slider\n min={-10}\n max={30}\n step={2}\n dots\n value={this.state.value}\n marks={{\n [-10]: '-10\xb0C',\n [-2]: '-2\xb0C',\n 0: {\n style: { color: '#af00ff' },\n },\n 30: {\n style: { color: '#ff7c00' },\n label: <strong>30\xb0C</strong>,\n }\n }}\n renderMarks={(mark) => `${mark}\xb0C`}\n onChange={(value)=> {\n this.setState({ value });\n }}\n />\n <div>\u523b\u5ea6 <b>step=0.5</b> \u5f53\u524d\u503c\uff1a<b>{this.state.value2}</b></div>\n <Slider\n min={0}\n max={2}\n step={0.5}\n dots\n marks\n value={this.state.value2}\n style={{ maxWidth: 460 }}\n onChange={(value2)=> {\n this.setState({ value2 });\n }}\n />\n <div>\u523b\u5ea6 <b>step=3</b> \u5f53\u524d\u503c\uff1a<b>{this.state.value3}</b></div>\n <Slider\n value={26}\n min={20}\n max={44}\n step={2}\n dots\n marks\n value={this.state.value3}\n style={{ maxWidth: 260 }}\n onChange={(value3)=> {\n console.log('value5:', value3);\n this.setState({ value3 });\n }}\n />\n </div>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u7981\u7528\u6837\u5f0f\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Slider, Divider} from 'uiw';\n\nclass Demo extends React.Component {\n render() {\n return (\n <div>\n <Slider value={25} disabled style={{ maxWidth: 260 }} />\n <Divider />\n <Slider\n step={10}\n disabled\n dots\n value={50}\n style={{ maxWidth: 260 }}\n />\n <Divider />\n <Slider disabled step={2} value={26} min={20} max={44} dots marks />\n </div>\n )\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5782\u76f4\u65b9\u5411\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Row, Col, Slider } from 'uiw';\n\nclass Demo extends React.Component {\n render() {\n return (\n <Row>\n <Col fixed style={{ width: 70 }}>\n <Slider\n vertical\n min={-10}\n max={30}\n step={2}\n dots\n value={20}\n marks={{\n [-10]: '-10\xb0C',\n [-2]: '-2\xb0C',\n 0: ' ',\n 2: {\n style: { color: '#af00ff' },\n },\n 30: {\n style: { color: '#ff7c00' },\n label: <strong>30\xb0C</strong>,\n }\n }}\n style={{ height: 260 }}\n renderMarks={(mark) => `${mark}\xb0C`}\n />\n </Col>\n <Col fixed>\n <Slider vertical value={25} style={{ height: 260 }} />\n </Col>\n <Col fixed>\n <Slider vertical value={62} progress={false} tooltip style={{ height: 260 }} />\n </Col>\n <Col fixed>\n <Slider vertical value={50} step={10} dots style={{ height: 260 }} />\n </Col>\n <Col fixed>\n <Slider vertical step={2} value={[26, 40]} min={20} max={44} dots marks style={{ height: 260 }} />\n </Col>\n </Row>\n );\n }\n}\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Props\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u9009\u62e9\u7684\u6570\u503c\uff0c\u4e3a\u6570\u7ec4\u65f6\u5373\u53ef\u5f00\u542f\u8303\u56f4\u9009\u62e9\uff0c\u5e76\u4e14\u6307\u5b9a\u8303\u56f4\uff0c`@3.0.0+` \u901a\u8fc7\u5224\u65ad\u662f\u5426\u4e3a\u6570\u7ec4\uff0c\u5c55\u793a\u53cc\u6ed1\u5757 | Number/Number[] | `0` |\n| min | \u6700\u5c0f\u503c | Number | `0` |\n| max | \u6700\u5927\u503c | Number | `100` |\n| dots | \u663e\u793a `step` \u95f4\u65ad\u70b9\uff0c\u5efa\u8bae\u5728 `step` \u95f4\u9694\u4e0d\u5bc6\u96c6\u65f6\u4f7f\u7528 | Number | `false` |\n| marks | \u523b\u5ea6\u6807\u8bb0\uff0c`key` \u7684\u7c7b\u578b\u5fc5\u987b\u4e3a `number` \u4e14\u53d6\u503c\u5728\u95ed\u533a\u95f4 `min`, `max` \u5185\uff0c\u6bcf\u4e2a\u6807\u7b7e\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\u6837\u5f0f\uff0c\u5f53\u503c\u4e3a `Boolean` \u503c\u65f6\u8868\u793a\u662f\u5426\u663e\u793a\u523b\u5ea6 | Object/Boolean | - |\n| renderMarks | \u523b\u5ea6\u6807\u8bb0\u6e32\u67d3 | Function(mark) => String | - | \n| step | \u8bbe\u7f6e\u6216\u8fd4\u56de\u6bcf\u6b21\u62d6\u52a8\u6ed1\u5757\u63a7\u4ef6\u65f6\u7684\u9012\u589e\u91cf\uff0c\u89c4\u5b9a\u5408\u6cd5\u6570\u5b57\u95f4\u9694\uff08\u5982\u679c `step={3}`\uff0c\u5219\u5408\u6cd5\u6570\u5b57\u662f `0`,`3`,`6`\uff0c\u4ee5\u6b64\u7c7b\u63a8\uff09 | Number | `1` |\n| ~~range~~ | \u26a0\ufe0f(`@3.0.0+` \u79fb\u9664\u4e86\u6b64\u5c5e\u6027) \u5f53 range \u4e3a true \u65f6\uff0c\u6e32\u67d3\u4e3a\u53cc\u6ed1\u5757, `2.x` \u7248\u672c\u652f\u6301\uff0c\u65b0\u7248\u672c\u901a\u8fc7\u5224\u65ad `value` \u662f\u5426\u4e3a\u6570\u7ec4\u6765\u652f\u6301\u53cc\u6ed1\u5757 | Boolean | `false` |\n| disabled | \u662f\u5426\u7981\u7528 | Boolean | `false` |\n| progress | \u663e\u793a\u6ed1\u52a8\u7684\u8fdb\u5ea6\u6761\uff0c\u8bbe\u4e3a `false` \u4e0d\u663e\u793a\u8fdb\u5ea6\u6761\uff0c\u8bbe\u4e3a\u4e3a\u989c\u8272\u503c\uff0c\u5c06\u8fdb\u5ea6\u6761\u8bbe\u4e3a\u4e0d\u540c\u7684\u989c\u8272 | Boolean/String | `true` |\n| vertical | \u503c\u4e3a `true` \u65f6\uff0c`Slider` \u4e3a\u5782\u76f4\u65b9\u5411\u3002 | Boolean | `false` |\n| tooltip | \u662f\u5426\u663e\u793a\u63d0\u793a\uff0c\u82e5\u8bbe\u7f6e\u4e3a `true` \u63d0\u793a\u59cb\u7ec8\u663e\u793a\uff0c\u82e5\u8bbe\u7f6e\u4e3a `null` \u5c06\u59cb\u7ec8\u4e0d\u663e\u793a\u63d0\u793a\u3002 | Boolean | `false` |\n| onChange | \u503c\u6539\u53d8\u65f6\u89e6\u53d1 | Function(value) | - |"}}]);
2
+ //# sourceMappingURL=2692.db178ecc.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2692.db178ecc.chunk.js","mappings":"gHAAA","sources":["../../packages/react-slider/README.md"],"sourcesContent":["export default \"Slider 滑块输入条\\n===\\n\\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-slider/file/README.md)\\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-slider.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-slider)\\n[![npm version](https://img.shields.io/npm/v/@uiw/react-slider.svg?label=@uiw/react-slider)](https://npmjs.com/@uiw/react-slider)\\n\\n通过拖动滑块在一个固定区间内进行选择,效果比 [`input`](https://www.w3.org/wiki/HTML/Elements/input/range) 类型为 [`range`](https://www.w3.org/wiki/HTML/Elements/input/range) 的功能丰富。\\n\\n```jsx\\nimport { Slider } from 'uiw';\\n// or\\nimport Slider from '@uiw/react-slider';\\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 { Slider, Divider } from 'uiw';\\n\\nfunction Demo() {\\n const [value, setValue] = React.useState(20);\\n const [value2, setValue2] = React.useState(-5);\\n const [value3, setValue3] = React.useState([10, 50]);\\n return (\\n <div>\\n <Slider\\n value={value}\\n style={{ maxWidth: 360 }}\\n onChange={(value)=> setValue(value)}\\n />\\n <div>设置 progress 值为 <b>\\\"false\\\"</b> 不显示进度条</div>\\n <Slider\\n progress={false}\\n value={value}\\n style={{ maxWidth: 360, marginTop: 30 }}\\n onChange={(value)=> setValue(value)}\\n />\\n <div>设置 progress 值为 <b>\\\"#dc3545\\\"</b> 这是一个颜色值,设置进度条颜色</div>\\n <Slider\\n // progress={false}\\n progress=\\\"#dc3545\\\"\\n value={value}\\n style={{ maxWidth: 360, marginTop: 30 }}\\n onChange={(value)=> setValue(value)}\\n />\\n <div>当前值:<b>{value}</b></div>\\n <Divider />\\n <Slider\\n min={-10}\\n max={30}\\n value={value2}\\n style={{ maxWidth: 260 }}\\n onChange={(val)=> setValue2(val)}\\n />\\n <div>可选 -10~30值范围:<b>{value2}</b></div>\\n <Divider />\\n <Slider value={value3} style={{ maxWidth: 260 }}\\n onChange={(val)=> setValue3(val)}\\n />\\n <div>取值范围:<b>{value3[0]} ~ {value3[1]}</b></div>\\n </div>\\n )\\n}\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 在表单中使用\\n\\n在 [`<Form />`](#/components/form) 表单中应用 [`<Slider />`](#/components/slider) 组件,需要设置 `initialValue` 初始值。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Row, Col, Slider, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Form\\n onSubmit={({initial, current}) => {\\n if(current.age === initial.age) {\\n Notify.error({\\n title: '提交失败!',\\n description: `表单提交年龄失败,年龄为:${current.age},与初始化值是一样滴!`,\\n });\\n } else {\\n Notify.success({\\n title: '提交成功!',\\n description: `表单提交年龄成功,年龄为:${current.age},将自动填充初始化值!`,\\n });\\n }\\n }}\\n fields={{\\n age: {\\n initialValue: 0,\\n inline: true,\\n label: '年龄',\\n help: '值必须大于 10',\\n validator: (value) => value < 10 ? '必填选项!' : null,\\n children: <Slider />\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n console.log('state:', state)\\n return (\\n <div>\\n <Row gutter={10}>\\n <Col style={{ maxWidth: 300 }}>{fields.age}</Col>\\n <Col>{state.current.age}</Col>\\n </Row>\\n <Row>\\n <Col fixed>\\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 </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 控制提示显示\\n\\n通过设置 `tooltip` 的值,来控制提示的显示。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Slider, Divider } from 'uiw';\\n\\nfunction Demo() {\\n return (\\n <div>\\n <div>设置 tooltip 值为 <b>true</b>,提示将始终显示。</div>\\n <Slider value={25} style={{ maxWidth: 260 }} tooltip />\\n <Divider />\\n <div>设置 tooltip 值为 <b>null</b>,提示将始终不显示。</div>\\n <Slider value={25} style={{ maxWidth: 260 }} tooltip={null} />\\n <Divider />\\n <div>设置 tooltip 值为 <b>false</b>,鼠标经过显示提示。</div>\\n <Slider value={25} style={{ maxWidth: 260 }} tooltip={false} />\\n </div>\\n )\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 刻度\\n\\n通过 `step` 设置或返回每次拖动滑块控件时的递增量。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Slider, Divider} from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n value: 20,\\n value2: 1.5,\\n value3: 20,\\n value4: [10, 40],\\n };\\n }\\n render() {\\n return (\\n <div>\\n <div>刻度 <b>step=10</b> 当前值:<b>{this.state.value}</b></div>\\n <Slider\\n step={10}\\n max={200}\\n dots\\n value={this.state.value}\\n style={{ maxWidth: 460 }}\\n onChange={(value)=> {\\n this.setState({ value });\\n }}\\n />\\n <Divider />\\n <div>刻度 <b>step=0.5</b> 当前值:<b>{this.state.value2}</b></div>\\n <Slider\\n min={0}\\n max={2}\\n step={0.5}\\n dots\\n value={this.state.value2}\\n style={{ maxWidth: 460 }}\\n onChange={(value2)=> {\\n this.setState({ value2 });\\n }}\\n />\\n <Divider />\\n <div>刻度 <b>step=3</b>,设置 <b>dots=false</b> 不显示刻度 当前值:<b>{this.state.value3}</b></div>\\n <Slider\\n value={26}\\n min={20}\\n max={40}\\n step={2}\\n value={this.state.value3}\\n style={{ maxWidth: 260 }}\\n onChange={(value3)=> {\\n this.setState({ value3 });\\n }}\\n />\\n <Divider />\\n <div>值 <b>value=[10, 40]</b> ,必须设置<b>range=true</b>,取值范围:<b>{this.state.value4[0]} ~ {this.state.value4[1]}</b></div>\\n <Slider value={this.state.value4} style={{ maxWidth: 260 }}\\n onChange={(value4)=> {\\n this.setState({ value4 });\\n }}\\n />\\n </div>\\n )\\n }\\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 { Slider, Divider} from 'uiw';\\n\\nclass Demo extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n value: 20,\\n value2: 1.5,\\n value3: 20,\\n };\\n }\\n render() {\\n return (\\n <div>\\n <div>刻度 <b>step=2</b> 当前值:<b>{this.state.value}</b></div>\\n <Slider\\n min={-10}\\n max={30}\\n step={2}\\n dots\\n value={this.state.value}\\n marks={{\\n [-10]: '-10°C',\\n [-2]: '-2°C',\\n 0: {\\n style: { color: '#af00ff' },\\n },\\n 30: {\\n style: { color: '#ff7c00' },\\n label: <strong>30°C</strong>,\\n }\\n }}\\n renderMarks={(mark) => `${mark}°C`}\\n onChange={(value)=> {\\n this.setState({ value });\\n }}\\n />\\n <div>刻度 <b>step=0.5</b> 当前值:<b>{this.state.value2}</b></div>\\n <Slider\\n min={0}\\n max={2}\\n step={0.5}\\n dots\\n marks\\n value={this.state.value2}\\n style={{ maxWidth: 460 }}\\n onChange={(value2)=> {\\n this.setState({ value2 });\\n }}\\n />\\n <div>刻度 <b>step=3</b> 当前值:<b>{this.state.value3}</b></div>\\n <Slider\\n value={26}\\n min={20}\\n max={44}\\n step={2}\\n dots\\n marks\\n value={this.state.value3}\\n style={{ maxWidth: 260 }}\\n onChange={(value3)=> {\\n console.log('value5:', value3);\\n this.setState({ value3 });\\n }}\\n />\\n </div>\\n )\\n }\\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 { Slider, Divider} from 'uiw';\\n\\nclass Demo extends React.Component {\\n render() {\\n return (\\n <div>\\n <Slider value={25} disabled style={{ maxWidth: 260 }} />\\n <Divider />\\n <Slider\\n step={10}\\n disabled\\n dots\\n value={50}\\n style={{ maxWidth: 260 }}\\n />\\n <Divider />\\n <Slider disabled step={2} value={26} min={20} max={44} dots marks />\\n </div>\\n )\\n }\\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 { Row, Col, Slider } from 'uiw';\\n\\nclass Demo extends React.Component {\\n render() {\\n return (\\n <Row>\\n <Col fixed style={{ width: 70 }}>\\n <Slider\\n vertical\\n min={-10}\\n max={30}\\n step={2}\\n dots\\n value={20}\\n marks={{\\n [-10]: '-10°C',\\n [-2]: '-2°C',\\n 0: ' ',\\n 2: {\\n style: { color: '#af00ff' },\\n },\\n 30: {\\n style: { color: '#ff7c00' },\\n label: <strong>30°C</strong>,\\n }\\n }}\\n style={{ height: 260 }}\\n renderMarks={(mark) => `${mark}°C`}\\n />\\n </Col>\\n <Col fixed>\\n <Slider vertical value={25} style={{ height: 260 }} />\\n </Col>\\n <Col fixed>\\n <Slider vertical value={62} progress={false} tooltip style={{ height: 260 }} />\\n </Col>\\n <Col fixed>\\n <Slider vertical value={50} step={10} dots style={{ height: 260 }} />\\n </Col>\\n <Col fixed>\\n <Slider vertical step={2} value={[26, 40]} min={20} max={44} dots marks style={{ height: 260 }} />\\n </Col>\\n </Row>\\n );\\n }\\n}\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Props\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 选择的数值,为数组时即可开启范围选择,并且指定范围,`@3.0.0+` 通过判断是否为数组,展示双滑块 | Number/Number[] | `0` |\\n| min | 最小值 | Number | `0` |\\n| max | 最大值 | Number | `100` |\\n| dots | 显示 `step` 间断点,建议在 `step` 间隔不密集时使用 | Number | `false` |\\n| marks | 刻度标记,`key` 的类型必须为 `number` 且取值在闭区间 `min`, `max` 内,每个标签可以单独设置样式,当值为 `Boolean` 值时表示是否显示刻度 | Object/Boolean | - |\\n| renderMarks | 刻度标记渲染 | Function(mark) => String | - | \\n| step | 设置或返回每次拖动滑块控件时的递增量,规定合法数字间隔(如果 `step={3}`,则合法数字是 `0`,`3`,`6`,以此类推) | Number | `1` |\\n| ~~range~~ | ⚠️(`@3.0.0+` 移除了此属性) 当 range 为 true 时,渲染为双滑块, `2.x` 版本支持,新版本通过判断 `value` 是否为数组来支持双滑块 | Boolean | `false` |\\n| disabled | 是否禁用 | Boolean | `false` |\\n| progress | 显示滑动的进度条,设为 `false` 不显示进度条,设为为颜色值,将进度条设为不同的颜色 | Boolean/String | `true` |\\n| vertical | 值为 `true` 时,`Slider` 为垂直方向。 | Boolean | `false` |\\n| tooltip | 是否显示提示,若设置为 `true` 提示始终显示,若设置为 `null` 将始终不显示提示。 | Boolean | `false` |\\n| onChange | 值改变时触发 | Function(value) | - |\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2739],{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(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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,k=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var j={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(j).filter((function(e){return void 0!==j[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,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},51374: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(53864)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-drawer/README.md",dependencies:{Drawer:s.dy,ButtonGroup:s.hE,Button:s.zx},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(9147).then(t.bind(t,29147));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
+ //# sourceMappingURL=2739.5d80ad30.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2739.5d80ad30.chunk.js","mappings":"wFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BA,EAAoBO,GAAK,MACzBC,EAAOC,QAAUT,G,mNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GAyDrC,OAxDIF,IACFG,EAAMC,cAAgB,CACpBC,MAAM,MAAD,OAAQP,EAAR,WACLQ,cAAe,CAAC,OAChBC,IAAKJ,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,wCAC1CC,KAAM,mDACNC,aAAa,yBAAD,OAA2BZ,EAA3B,qBACZa,YAAY,yLAAD,OAA2Lb,EAA3L,qFAGXG,IACFE,EAAMS,kBAAoB,CACxBC,MAAO,CACL,sBAAuB,CACrBC,QAAQ,iKAQV,oBAAqB,CACnBA,QAAQ,8BAEV,eAAgB,CACdA,SAAUX,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,yCAEjD,YAAa,CACXM,QAAQ,qJAEV,eAAgB,CACdA,QAAS,CACPC,KAAM,WACNC,YA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OACE,SAAC,IAAD,CACEzC,KAAK,2EACL9B,aAAc,CAAEwE,OAAAA,EAAAA,GAAQC,YAAAA,EAAAA,GAAaC,OAAAA,EAAAA,IACrC5B,YAAU,iBAAE,oGACO,gCADP,cACJ6B,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/drawer/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 { Drawer, ButtonGroup, Button } 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-drawer/README.md\"\n dependencies={{ Drawer, ButtonGroup, Button }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-drawer/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","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","Drawer","ButtonGroup","Button","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2795],{2795:function(n,o,t){t.r(o),o.default='Grid \u5220\u683c\n===\n\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-grid/file/README.md)\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-grid.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-grid)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-grid.svg?label=@uiw/react-grid)](https://npmjs.com/@uiw/react-grid)\n\n\u57fa\u4e8e `flex` \u6805\u683c\u7cfb\u7edf\u3002\n\n```jsx\nimport { Row, Col } from \'uiw\';\n// or\nimport { Row, Col } from \'@uiw/react-grid\';\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 { Row, Col } from \'uiw\';\n\nconst Box = ({ num, height, width, style, background }) => <div style={{ ...style, textAlign: \'center\', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\nconst Demo = () => (\n <Row>\n <Col fixed style={{ width: 150 }}> <Box num="1" background="#A5A5A5" /> </Col>\n <Col grow={2}> <Box num="2" background="#dedede" /> </Col>\n <Col grow={1}> <Box num="3" background="#A5A5A5" /> </Col>\n </Row>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### Gutter\n\n\u6805\u683c\u95f4\u9694\uff0c\u53ef\u4ee5\u5199\u6210\u50cf\u7d20\u503c\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst Blank = ({ num, height, width, style, background }) => <div style={{ ...style, textAlign: \'center\', paddingTop: 5,paddingBottom: 5, background, width, height}}>Col {num}</div>\n\nReactDOM.render(\n <div>\n <Row gutter={10}>\n <Col> <Blank background="#A5A5A5" num={1}/> </Col>\n <Col> <Blank background="#dedede" num={2}/> </Col>\n <Col> <Blank background="#A5A5A5" num={3}/> </Col>\n </Row>\n <Row style={{ marginTop: 10 }}>\n <Col> <Blank background="#A5A5A5" num={1}/> </Col>\n <Col> <Blank background="#dedede" num={2}/> </Col>\n <Col> <Blank background="#A5A5A5" num={3}/> </Col>\n </Row>\n </div>,\n _mount_\n);\n```\n\n### Flex \u884c\u8bbe\u7f6e\u5217\u5bf9\u9f50\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst colStyl = { backgroundColor: \'rgba(230, 230, 230, 0.67)\', marginBottom: 10 }\nconst Blank = ({ num, height, style, background = \'#2EA3F4\' }) => <div style={{ ...style, textAlign: \'center\', color: \'#fff\', paddingTop: 5, paddingBottom: 5, background, height}}>Col {num}</div>\nconst Demo = () => (\n <div>\n <Row gutter={10} justify="center" align="top" style={colStyl}>\n <Col span="2"> <Blank height={35} num={1}/> </Col>\n <Col span="2"> <Blank height={50} num={2}/> </Col>\n <Col span="2"> <Blank height={70} num={3}/> </Col>\n </Row>\n <Row gutter={10} justify="space-around" align="middle" style={colStyl}>\n <Col span="2"> <Blank height={35} num={1}/> </Col>\n <Col span="2"> <Blank height={50} num={2}/> </Col>\n <Col span="2"> <Blank height={70} num={3}/> </Col>\n </Row>\n <Row gutter={10} justify="space-between" align="bottom" style={colStyl}>\n <Col span="2"> <Blank height={35} num={1}/> </Col>\n <Col span="2"> <Blank height={50} num={2}/> </Col>\n <Col span="2"> <Blank height={70} num={3}/> </Col>\n </Row>\n <Row gutter={10} justify="flex-end" align="bottom" style={colStyl}>\n <Col span="2"> <Blank height={35} num={1}/> </Col>\n <Col span="2"> <Blank height={50} num={2}/> </Col>\n <Col span="2"> <Blank height={70} num={3}/> </Col>\n </Row>\n <Row gutter={10} justify="center" align="baseline" style={{ ...colStyl, marginBottom: 0 }}>\n <Col span="2"> <Blank height={85} style={{ lineHeight: \'85px\' }} num={1}/> </Col>\n <Col span="2"> <Blank height={50} num={2}/> </Col>\n <Col span="2"> <Blank height={70} num={3}/> </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### Flex \u5217\u5bf9\u9f50\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst Blank = ({ num, style, background = \'#2EA3F4\' }) => <div style={{ ...style, textAlign: \'center\', color: \'#fff\', paddingTop: 5, paddingBottom: 5, background }}>Col {num}</div>\nconst Demo = () => (\n <div>\n <Row gutter={10} style={{height: 130}}>\n <Col align="top"> <Blank num={1}/> </Col>\n <Col align="middle"> <Blank num={2}/> </Col>\n <Col align="bottom"> <Blank num={3}/> </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5bf9\u9f50\u5185\u5bb9\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst rowStyl = { backgroundColor: \'rgba(230, 230, 230, 0.67)\', marginBottom: 10 }\nconst Blank = ({ num, height, width, style, background = \'#2EA3F4\' }) => <div style={{ ...style, textAlign: \'center\', color: \'#fff\', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\nconst Demo = () => (\n <div>\n <Row gutter={10} justify="flex-start" style={rowStyl}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} justify="center" style={rowStyl}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} justify="flex-end" style={rowStyl}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} justify="space-between" style={rowStyl}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} justify="space-around" style={rowStyl}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} justify="space-evenly" style={{...rowStyl, marginBottom: 0 }}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### 24\u5220\u683c\n\n\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a `24` \u5217\u4e2d\u6bcf\u5217\u7684\u5bbd\u5ea6\u6765\u521b\u5efa\u57fa\u672c\u7f51\u683c\u7cfb\u7edf\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst Blank = ({ num, height, width, style, background = \'#2EA3F4\' }) => <div style={{ ...style, textAlign: \'center\', color: \'#fff\', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\nconst Demo = () => (\n <div>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col span="2"> <Blank num={1}/> </Col>\n <Col span="2"> <Blank num={2}/> </Col>\n <Col span="2"> <Blank num={3}/> </Col>\n <Col span="2"> <Blank num={4}/> </Col>\n <Col span="2"> <Blank num={5}/> </Col>\n <Col span="2"> <Blank num={6}/> </Col>\n <Col span="2"> <Blank num={7}/> </Col>\n <Col span="2"> <Blank num={8}/> </Col>\n <Col span="2"> <Blank num={9}/> </Col>\n <Col span="2"> <Blank num={10}/> </Col>\n <Col span="2"> <Blank num={11}/> </Col>\n <Col span="2"> <Blank num={12}/> </Col>\n </Row>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col span="16"> <Blank num={1}/> </Col>\n <Col span="8"> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col span="8"> <Blank num={1}/> </Col>\n <Col span="8"> <Blank num={2}/> </Col>\n <Col span="8"> <Blank num={3}/> </Col>\n </Row>\n <Row gutter={10}>\n <Col span="12"> <Blank num={1}/> </Col>\n <Col span="12"> <Blank num={2}/> </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u52a8\u6001\u5217\u589e\u957f\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col } from \'uiw\';\n\nconst Blank = ({ num, style, background = \'#2EA3F4\' }) => <div style={{ ...style, textAlign: \'center\', color: \'#fff\', paddingTop: 5, paddingBottom: 5, background }}>Col {num}</div>\nconst Demo = () => (\n <div>\n <Row gutter={10} style={{ marginBottom: 10 }}>\n <Col> <Blank num={1}/> </Col>\n <Col grow={2}> <Blank num={2}/> </Col>\n </Row>\n <Row gutter={10}>\n <Col> <Blank num={1}/> </Col>\n <Col grow={2}> <Blank num={2}/> </Col>\n <Col grow={5}> <Blank num={3}/> </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Row\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| gutter | \u6805\u683c\u95f4\u9694\u95f4\u8ddd | number | - |\n| justify | flex \u5e03\u5c40\u4e0b\u7684\u6c34\u5e73\u6392\u5217\u65b9\u5f0f | Enum{`flex-start`, `flex-end`, `center`, `space-between`, `space-around`, `space-evenly`} | - |\n| align | flex \u5e03\u5c40\u4e0b\u7684\u5782\u76f4\u5bf9\u9f50\u65b9\u5f0f | Enum{`top`, `middle`, `bottom`, `baseline`} | - |\n\n\n## Col\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| fixed | \u5982\u679c\u4e3a `true`\uff0c\u5219\u5217\u5bbd\u56fa\u5b9a\u4e3a\u5176\u5185\u5bb9\u7684\u5bbd\u5ea6 | boolean | - |\n| grow | \u5217\u7684\u5bbd\u5ea6\u76f8\u5bf9\u4e8e\u540c\u4e00\u7f51\u683c\u4e2d\u5176\u4ed6\u5217\u7684\u6bd4\u7387 | number | - |\n| align | \u7f51\u683c\u4e2d\u5217\u7684\u5bf9\u9f50\u65b9\u5f0f | Enum{`top`, `middle`, `bottom`, `baseline`} | - |'}}]);
2
+ //# sourceMappingURL=2795.45c184a0.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2795.45c184a0.chunk.js","mappings":"+GAAA","sources":["../../packages/react-grid/README.md"],"sourcesContent":["export default \"Grid 删格\\n===\\n\\n[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-grid/file/README.md)\\n[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-grid.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-grid)\\n[![npm version](https://img.shields.io/npm/v/@uiw/react-grid.svg?label=@uiw/react-grid)](https://npmjs.com/@uiw/react-grid)\\n\\n基于 `flex` 栅格系统。\\n\\n```jsx\\nimport { Row, Col } from 'uiw';\\n// or\\nimport { Row, Col } from '@uiw/react-grid';\\n```\\n\\n### 基础用法\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col } from 'uiw';\\n\\nconst Box = ({ num, height, width, style, background }) => <div style={{ ...style, textAlign: 'center', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\\nconst Demo = () => (\\n <Row>\\n <Col fixed style={{ width: 150 }}> <Box num=\\\"1\\\" background=\\\"#A5A5A5\\\" /> </Col>\\n <Col grow={2}> <Box num=\\\"2\\\" background=\\\"#dedede\\\" /> </Col>\\n <Col grow={1}> <Box num=\\\"3\\\" background=\\\"#A5A5A5\\\" /> </Col>\\n </Row>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### Gutter\\n\\n栅格间隔,可以写成像素值\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col } from 'uiw';\\n\\nconst Blank = ({ num, height, width, style, background }) => <div style={{ ...style, textAlign: 'center', paddingTop: 5,paddingBottom: 5, background, width, height}}>Col {num}</div>\\n\\nReactDOM.render(\\n <div>\\n <Row gutter={10}>\\n <Col> <Blank background=\\\"#A5A5A5\\\" num={1}/> </Col>\\n <Col> <Blank background=\\\"#dedede\\\" num={2}/> </Col>\\n <Col> <Blank background=\\\"#A5A5A5\\\" num={3}/> </Col>\\n </Row>\\n <Row style={{ marginTop: 10 }}>\\n <Col> <Blank background=\\\"#A5A5A5\\\" num={1}/> </Col>\\n <Col> <Blank background=\\\"#dedede\\\" num={2}/> </Col>\\n <Col> <Blank background=\\\"#A5A5A5\\\" num={3}/> </Col>\\n </Row>\\n </div>,\\n _mount_\\n);\\n```\\n\\n### Flex 行设置列对齐\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col } from 'uiw';\\n\\nconst colStyl = { backgroundColor: 'rgba(230, 230, 230, 0.67)', marginBottom: 10 }\\nconst Blank = ({ num, height, style, background = '#2EA3F4' }) => <div style={{ ...style, textAlign: 'center', color: '#fff', paddingTop: 5, paddingBottom: 5, background, height}}>Col {num}</div>\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} justify=\\\"center\\\" align=\\\"top\\\" style={colStyl}>\\n <Col span=\\\"2\\\"> <Blank height={35} num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={50} num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={70} num={3}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"space-around\\\" align=\\\"middle\\\" style={colStyl}>\\n <Col span=\\\"2\\\"> <Blank height={35} num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={50} num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={70} num={3}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"space-between\\\" align=\\\"bottom\\\" style={colStyl}>\\n <Col span=\\\"2\\\"> <Blank height={35} num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={50} num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={70} num={3}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"flex-end\\\" align=\\\"bottom\\\" style={colStyl}>\\n <Col span=\\\"2\\\"> <Blank height={35} num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={50} num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={70} num={3}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"center\\\" align=\\\"baseline\\\" style={{ ...colStyl, marginBottom: 0 }}>\\n <Col span=\\\"2\\\"> <Blank height={85} style={{ lineHeight: '85px' }} num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={50} num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank height={70} num={3}/> </Col>\\n </Row>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### Flex 列对齐\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col } from 'uiw';\\n\\nconst Blank = ({ num, style, background = '#2EA3F4' }) => <div style={{ ...style, textAlign: 'center', color: '#fff', paddingTop: 5, paddingBottom: 5, background }}>Col {num}</div>\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} style={{height: 130}}>\\n <Col align=\\\"top\\\"> <Blank num={1}/> </Col>\\n <Col align=\\\"middle\\\"> <Blank num={2}/> </Col>\\n <Col align=\\\"bottom\\\"> <Blank num={3}/> </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 { Row, Col } from 'uiw';\\n\\nconst rowStyl = { backgroundColor: 'rgba(230, 230, 230, 0.67)', marginBottom: 10 }\\nconst Blank = ({ num, height, width, style, background = '#2EA3F4' }) => <div style={{ ...style, textAlign: 'center', color: '#fff', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} justify=\\\"flex-start\\\" style={rowStyl}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"center\\\" style={rowStyl}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"flex-end\\\" style={rowStyl}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"space-between\\\" style={rowStyl}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"space-around\\\" style={rowStyl}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} justify=\\\"space-evenly\\\" style={{...rowStyl, marginBottom: 0 }}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n </Row>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 24删格\\n\\n可以通过指定 `24` 列中每列的宽度来创建基本网格系统。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col } from 'uiw';\\n\\nconst Blank = ({ num, height, width, style, background = '#2EA3F4' }) => <div style={{ ...style, textAlign: 'center', color: '#fff', paddingTop: 5, paddingBottom: 5, background, width, height}}>Col {num}</div>\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col span=\\\"2\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={2}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={3}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={4}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={5}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={6}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={7}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={8}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={9}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={10}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={11}/> </Col>\\n <Col span=\\\"2\\\"> <Blank num={12}/> </Col>\\n </Row>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col span=\\\"16\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"8\\\"> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col span=\\\"8\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"8\\\"> <Blank num={2}/> </Col>\\n <Col span=\\\"8\\\"> <Blank num={3}/> </Col>\\n </Row>\\n <Row gutter={10}>\\n <Col span=\\\"12\\\"> <Blank num={1}/> </Col>\\n <Col span=\\\"12\\\"> <Blank num={2}/> </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 { Row, Col } from 'uiw';\\n\\nconst Blank = ({ num, style, background = '#2EA3F4' }) => <div style={{ ...style, textAlign: 'center', color: '#fff', paddingTop: 5, paddingBottom: 5, background }}>Col {num}</div>\\nconst Demo = () => (\\n <div>\\n <Row gutter={10} style={{ marginBottom: 10 }}>\\n <Col> <Blank num={1}/> </Col>\\n <Col grow={2}> <Blank num={2}/> </Col>\\n </Row>\\n <Row gutter={10}>\\n <Col> <Blank num={1}/> </Col>\\n <Col grow={2}> <Blank num={2}/> </Col>\\n <Col grow={5}> <Blank num={3}/> </Col>\\n </Row>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Row\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| gutter | 栅格间隔间距 | number | - |\\n| justify | flex 布局下的水平排列方式 | Enum{`flex-start`, `flex-end`, `center`, `space-between`, `space-around`, `space-evenly`} | - |\\n| align | flex 布局下的垂直对齐方式 | Enum{`top`, `middle`, `bottom`, `baseline`} | - |\\n\\n\\n## Col\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| fixed | 如果为 `true`,则列宽固定为其内容的宽度 | boolean | - |\\n| grow | 列的宽度相对于同一网格中其他列的比率 | number | - |\\n| align | 网格中列的对齐方式 | Enum{`top`, `middle`, `bottom`, `baseline`} | - |\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[280],{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(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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,k=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var j={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(j).filter((function(e){return void 0!==j[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,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},12036: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(53864)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-grid/README.md",dependencies:{Col:s.JX,Row:s.X2},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(2795).then(t.bind(t,2795));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
+ //# sourceMappingURL=280.b0605a39.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/280.b0605a39.chunk.js","mappings":"uFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BA,EAAoBO,GAAK,MACzBC,EAAOC,QAAUT,G,mNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GAyDrC,OAxDIF,IACFG,EAAMC,cAAgB,CACpBC,MAAM,MAAD,OAAQP,EAAR,WACLQ,cAAe,CAAC,OAChBC,IAAKJ,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,wCAC1CC,KAAM,mDACNC,aAAa,yBAAD,OAA2BZ,EAA3B,qBACZa,YAAY,yLAAD,OAA2Lb,EAA3L,qFAGXG,IACFE,EAAMS,kBAAoB,CACxBC,MAAO,CACL,sBAAuB,CACrBC,QAAQ,iKAQV,oBAAqB,CACnBA,QAAQ,8BAEV,eAAgB,CACdA,SAAUX,EAAMZ,MAAQ,IAAIiB,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gBAAKsD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA9CX,O,+JCrCI,SAASyC,IACtB,OACE,SAAC,IAAD,CACEzC,KAAK,yEACL9B,aAAc,CAAEwE,IAAAA,EAAAA,GAAKC,IAAAA,EAAAA,IACrB3B,YAAU,iBAAE,oGACO,+BADP,cACJ4B,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/grid/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 { Col, Row } 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-grid/README.md\"\n dependencies={{ Col, Row }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-grid/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","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","Col","Row","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2848],{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(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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,k=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var j={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(j).filter((function(e){return void 0!==j[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,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},96790: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(53864)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-alert/README.md",dependencies:{Alert:s.bZ,Button:s.zx,ButtonGroup:s.hE},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(5821).then(t.bind(t,95821));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
2
+ //# sourceMappingURL=2848.0646737c.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/2848.0646737c.chunk.js","mappings":"wFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BA,EAAoBO,GAAK,MACzBC,EAAOC,QAAUT,G,mNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GAyDrC,OAxDIF,IACF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SAAAA,EACAC,QAAAA,EACAC,OAAAA,EACA/D,QAAAA,EACAC,YAAAA,GAEF,OAAgF,IAA5EgE,OAAOzE,KAAKwE,GAAQE,QAAO,SAACnD,GAAD,YAA2BoD,IAAjBH,EAAOjD,MAAqBqD,QAC5D,2BAAUjE,KAGjB,SAACN,EAAD,CACEC,QAASA,EACTP,KAAM6C,EAAWG,EAAKE,UACtB1C,aAAcA,EACR4D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQ/D,QAAAA,EAASC,YAAAA,SAMzE,gBAAKsD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA9CX,O,+JCrCI,SAASyC,IACtB,OACE,SAAC,IAAD,CACEzC,KAAK,0EACL9B,aAAc,CAAEwE,MAAAA,EAAAA,GAAOC,OAAAA,EAAAA,GAAQC,YAAAA,EAAAA,IAC/B5B,YAAU,iBAAE,oGACO,gCADP,cACJ6B,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/alert/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 { Alert, Button, ButtonGroup } 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-alert/README.md\"\n dependencies={{ Alert, Button, ButtonGroup }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-alert/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","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","Alert","Button","ButtonGroup","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2855],{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 v}});var r=t(50189),o=t(53782),i=t(11026),c=t(41473),s=t(89171),d=t(75752),a=t(2642),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,c=e.codeSandbox,s=(0,o.Z)(e,l),d=(0,r.Z)({},s);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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/index.js")}),c&&(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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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)(c.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 v(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,c.useState)(""),h=(0,i.Z)(l,2),v=h[0],j=h[1],g=d.i8||"2.0.0";return(0,c.useEffect)((function(){n&&n().then((function(e){j(e)})).catch((function(){}))}),[]),v?(0,u.jsxs)("div",{children:[(0,u.jsx)(s.Z,{source:v,className:k,components:{code:function(e){var n=e.inline,i=e.node,c=(0,o.Z)(e,x),s=c,d=s.noPreview,a=s.bordered,l=s.noScroll,h=s.bgWhite,f=s.noCode,m=s.codePen,k=s.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},c));var v={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k};return 0===Object.keys(v).filter((function(e){return void 0!==v[e]})).length?(0,u.jsx)("code",(0,r.Z)({},c)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:k})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},13902: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),c=(t(41473),t(53864)),s=t(86082),d=t(69286);function a(){return(0,d.jsx)(s.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-tag/README.md",dependencies:{Tag:c.Vp,Divider:c.iz,Dropdown:c.Lt,Checkbox:c.XZ,Menu:c.v2,Button:c.zx,Input:c.II,Icon:c.JO,Row:c.X2,Col:c.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(7664).then(t.bind(t,97664));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),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P,cACJoC,EADI,yBAEHA,EAAGC,SAAWD,GAFX","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/tag/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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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: '^17.0.2',\n 'react-dom': '^17.0.2',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '~7.1.1',\n kkt: '~7.1.5',\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, codeSandbox } = 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 codeSandbox,\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, codeSandbox }}\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 { Tag, Divider, Dropdown, Checkbox, Menu, Button, Input, Icon, 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-tag/README.md\"\n dependencies={{\n Tag,\n Divider,\n Dropdown,\n Checkbox,\n Menu,\n Button,\n Input,\n Icon,\n Row,\n Col,\n }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-tag/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","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","Tag","Divider","Dropdown","Checkbox","Menu","Button","Input","Icon","Row","Col","md","default"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2867],{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 v}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(89171),d=t(75752),a=t(2642),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@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.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.1.3/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 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:"^17.0.2","react-dom":"^17.0.2",uiw:"latest"},devDependencies:{"@kkt/less-modules":"~7.1.1",kkt:"~7.1.5"},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(53864);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",x="index_markdown__hcQCp",k=["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 v(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),v=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(){}))}),[]),v?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:v,className:x,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,k),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen,x=c.codeSandbox;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var v={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m,codeSandbox:x};return 0===Object.keys(v).filter((function(e){return void 0!==v[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,codeSandbox:x})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{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(53864)),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=2867.35ca4c44.chunk.js.map