@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.
- package/README.md +21 -1
- package/package.json +1 -1
- package/web/CONTRIBUTORS.svg +4 -4
- package/web/asset-manifest.json +403 -395
- package/web/index.html +1 -1
- package/web/static/css/1181.b2357048.chunk.css +2 -0
- package/web/static/css/1181.b2357048.chunk.css.map +1 -0
- package/web/static/css/1689.b2357048.chunk.css +2 -0
- package/web/static/css/1689.b2357048.chunk.css.map +1 -0
- package/web/static/css/1773.b2357048.chunk.css +2 -0
- package/web/static/css/1773.b2357048.chunk.css.map +1 -0
- package/web/static/css/200.b2357048.chunk.css +2 -0
- package/web/static/css/200.b2357048.chunk.css.map +1 -0
- package/web/static/css/2092.b2357048.chunk.css +2 -0
- package/web/static/css/2092.b2357048.chunk.css.map +1 -0
- package/web/static/css/2208.b2357048.chunk.css +2 -0
- package/web/static/css/2208.b2357048.chunk.css.map +1 -0
- package/web/static/css/226.b2357048.chunk.css +2 -0
- package/web/static/css/226.b2357048.chunk.css.map +1 -0
- package/web/static/css/2326.b2357048.chunk.css +2 -0
- package/web/static/css/2326.b2357048.chunk.css.map +1 -0
- package/web/static/css/2476.b2357048.chunk.css +2 -0
- package/web/static/css/2476.b2357048.chunk.css.map +1 -0
- package/web/static/css/2618.b2357048.chunk.css +2 -0
- package/web/static/css/2618.b2357048.chunk.css.map +1 -0
- package/web/static/css/2739.b2357048.chunk.css +2 -0
- package/web/static/css/2739.b2357048.chunk.css.map +1 -0
- package/web/static/css/280.b2357048.chunk.css +2 -0
- package/web/static/css/280.b2357048.chunk.css.map +1 -0
- package/web/static/css/2848.b2357048.chunk.css +2 -0
- package/web/static/css/2848.b2357048.chunk.css.map +1 -0
- package/web/static/css/2855.b2357048.chunk.css +2 -0
- package/web/static/css/2855.b2357048.chunk.css.map +1 -0
- package/web/static/css/2867.b2357048.chunk.css +2 -0
- package/web/static/css/2867.b2357048.chunk.css.map +1 -0
- package/web/static/css/2937.b2357048.chunk.css +2 -0
- package/web/static/css/2937.b2357048.chunk.css.map +1 -0
- package/web/static/css/3153.b2357048.chunk.css +2 -0
- package/web/static/css/3153.b2357048.chunk.css.map +1 -0
- package/web/static/css/3410.b2357048.chunk.css +2 -0
- package/web/static/css/3410.b2357048.chunk.css.map +1 -0
- package/web/static/css/3882.b2357048.chunk.css +2 -0
- package/web/static/css/3882.b2357048.chunk.css.map +1 -0
- package/web/static/css/3972.b2357048.chunk.css +2 -0
- package/web/static/css/3972.b2357048.chunk.css.map +1 -0
- package/web/static/css/4045.b2357048.chunk.css +2 -0
- package/web/static/css/4045.b2357048.chunk.css.map +1 -0
- package/web/static/css/4234.b2357048.chunk.css +2 -0
- package/web/static/css/4234.b2357048.chunk.css.map +1 -0
- package/web/static/css/4255.b2357048.chunk.css +2 -0
- package/web/static/css/4255.b2357048.chunk.css.map +1 -0
- package/web/static/css/455.b2357048.chunk.css +2 -0
- package/web/static/css/455.b2357048.chunk.css.map +1 -0
- package/web/static/css/492.b2357048.chunk.css +2 -0
- package/web/static/css/492.b2357048.chunk.css.map +1 -0
- package/web/static/css/4960.b2357048.chunk.css +2 -0
- package/web/static/css/4960.b2357048.chunk.css.map +1 -0
- package/web/static/css/5001.b2357048.chunk.css +2 -0
- package/web/static/css/5001.b2357048.chunk.css.map +1 -0
- package/web/static/css/5080.b2357048.chunk.css +2 -0
- package/web/static/css/5080.b2357048.chunk.css.map +1 -0
- package/web/static/css/5329.b2357048.chunk.css +2 -0
- package/web/static/css/5329.b2357048.chunk.css.map +1 -0
- package/web/static/css/5374.b2357048.chunk.css +2 -0
- package/web/static/css/5374.b2357048.chunk.css.map +1 -0
- package/web/static/css/5407.b2357048.chunk.css +2 -0
- package/web/static/css/5407.b2357048.chunk.css.map +1 -0
- package/web/static/css/5475.b2357048.chunk.css +2 -0
- package/web/static/css/5475.b2357048.chunk.css.map +1 -0
- package/web/static/css/5523.b2357048.chunk.css +2 -0
- package/web/static/css/5523.b2357048.chunk.css.map +1 -0
- package/web/static/css/5576.b2357048.chunk.css +2 -0
- package/web/static/css/5576.b2357048.chunk.css.map +1 -0
- package/web/static/css/5609.b2357048.chunk.css +2 -0
- package/web/static/css/5609.b2357048.chunk.css.map +1 -0
- package/web/static/css/5630.b2357048.chunk.css +2 -0
- package/web/static/css/5630.b2357048.chunk.css.map +1 -0
- package/web/static/css/581.b2357048.chunk.css +2 -0
- package/web/static/css/581.b2357048.chunk.css.map +1 -0
- package/web/static/css/6216.b2357048.chunk.css +2 -0
- package/web/static/css/6216.b2357048.chunk.css.map +1 -0
- package/web/static/css/6221.b2357048.chunk.css +2 -0
- package/web/static/css/6221.b2357048.chunk.css.map +1 -0
- package/web/static/css/627.b2357048.chunk.css +2 -0
- package/web/static/css/627.b2357048.chunk.css.map +1 -0
- package/web/static/css/6315.b2357048.chunk.css +2 -0
- package/web/static/css/6315.b2357048.chunk.css.map +1 -0
- package/web/static/css/6319.b2357048.chunk.css +2 -0
- package/web/static/css/6319.b2357048.chunk.css.map +1 -0
- package/web/static/css/6421.b2357048.chunk.css +2 -0
- package/web/static/css/6421.b2357048.chunk.css.map +1 -0
- package/web/static/css/6436.b2357048.chunk.css +2 -0
- package/web/static/css/6436.b2357048.chunk.css.map +1 -0
- package/web/static/css/6623.b2357048.chunk.css +2 -0
- package/web/static/css/6623.b2357048.chunk.css.map +1 -0
- package/web/static/css/6660.b2357048.chunk.css +2 -0
- package/web/static/css/6660.b2357048.chunk.css.map +1 -0
- package/web/static/css/6889.b2357048.chunk.css +2 -0
- package/web/static/css/6889.b2357048.chunk.css.map +1 -0
- package/web/static/css/6956.b2357048.chunk.css +2 -0
- package/web/static/css/6956.b2357048.chunk.css.map +1 -0
- package/web/static/css/7213.b2357048.chunk.css +2 -0
- package/web/static/css/7213.b2357048.chunk.css.map +1 -0
- package/web/static/css/7491.b2357048.chunk.css +2 -0
- package/web/static/css/7491.b2357048.chunk.css.map +1 -0
- package/web/static/css/751.b2357048.chunk.css +2 -0
- package/web/static/css/751.b2357048.chunk.css.map +1 -0
- package/web/static/css/7712.b2357048.chunk.css +2 -0
- package/web/static/css/7712.b2357048.chunk.css.map +1 -0
- package/web/static/css/7858.b2357048.chunk.css +2 -0
- package/web/static/css/7858.b2357048.chunk.css.map +1 -0
- package/web/static/css/7898.b2357048.chunk.css +2 -0
- package/web/static/css/7898.b2357048.chunk.css.map +1 -0
- package/web/static/css/8131.b2357048.chunk.css +2 -0
- package/web/static/css/8131.b2357048.chunk.css.map +1 -0
- package/web/static/css/8200.b2357048.chunk.css +2 -0
- package/web/static/css/8200.b2357048.chunk.css.map +1 -0
- package/web/static/css/8471.b2357048.chunk.css +2 -0
- package/web/static/css/8471.b2357048.chunk.css.map +1 -0
- package/web/static/css/8804.b2357048.chunk.css +2 -0
- package/web/static/css/8804.b2357048.chunk.css.map +1 -0
- package/web/static/css/8913.2a644fcc.chunk.css +2 -0
- package/web/static/css/8913.2a644fcc.chunk.css.map +1 -0
- package/web/static/css/9126.b2357048.chunk.css +2 -0
- package/web/static/css/9126.b2357048.chunk.css.map +1 -0
- package/web/static/css/9331.b2357048.chunk.css +2 -0
- package/web/static/css/9331.b2357048.chunk.css.map +1 -0
- package/web/static/css/9421.b2357048.chunk.css +2 -0
- package/web/static/css/9421.b2357048.chunk.css.map +1 -0
- package/web/static/css/9574.b2357048.chunk.css +2 -0
- package/web/static/css/9574.b2357048.chunk.css.map +1 -0
- package/web/static/css/9636.b2357048.chunk.css +2 -0
- package/web/static/css/9636.b2357048.chunk.css.map +1 -0
- package/web/static/css/9762.b2357048.chunk.css +2 -0
- package/web/static/css/9762.b2357048.chunk.css.map +1 -0
- package/web/static/css/9767.b2357048.chunk.css +2 -0
- package/web/static/css/9767.b2357048.chunk.css.map +1 -0
- package/web/static/css/9777.b2357048.chunk.css +2 -0
- package/web/static/css/9777.b2357048.chunk.css.map +1 -0
- package/web/static/css/9871.b2357048.chunk.css +2 -0
- package/web/static/css/9871.b2357048.chunk.css.map +1 -0
- package/web/static/css/{main.9ac00422.css → main.dc552a00.css} +2 -2
- package/web/static/css/main.dc552a00.css.map +1 -0
- package/web/static/js/1016.a3866702.chunk.js +2 -0
- package/web/static/js/1016.a3866702.chunk.js.map +1 -0
- package/web/static/js/1151.3c560b1f.chunk.js +2 -0
- package/web/static/js/1151.3c560b1f.chunk.js.map +1 -0
- package/web/static/js/1181.a4e136ed.chunk.js +2 -0
- package/web/static/js/1181.a4e136ed.chunk.js.map +1 -0
- package/web/static/js/1689.7948256d.chunk.js +2 -0
- package/web/static/js/1689.7948256d.chunk.js.map +1 -0
- package/web/static/js/1756.87f583cc.chunk.js +2 -0
- package/web/static/js/1756.87f583cc.chunk.js.map +1 -0
- package/web/static/js/1773.81281c87.chunk.js +2 -0
- package/web/static/js/1773.81281c87.chunk.js.map +1 -0
- package/web/static/js/1971.d746cb8b.chunk.js +2 -0
- package/web/static/js/1971.d746cb8b.chunk.js.map +1 -0
- package/web/static/js/200.38df68ff.chunk.js +2 -0
- package/web/static/js/200.38df68ff.chunk.js.map +1 -0
- package/web/static/js/207.891adb65.chunk.js +2 -0
- package/web/static/js/207.891adb65.chunk.js.map +1 -0
- package/web/static/js/2078.53137233.chunk.js +2 -0
- package/web/static/js/2078.53137233.chunk.js.map +1 -0
- package/web/static/js/2092.687ce5dd.chunk.js +2 -0
- package/web/static/js/2092.687ce5dd.chunk.js.map +1 -0
- package/web/static/js/2208.76dc4a23.chunk.js +2 -0
- package/web/static/js/2208.76dc4a23.chunk.js.map +1 -0
- package/web/static/js/226.d45dd164.chunk.js +2 -0
- package/web/static/js/226.d45dd164.chunk.js.map +1 -0
- package/web/static/js/2326.ff7ee739.chunk.js +2 -0
- package/web/static/js/2326.ff7ee739.chunk.js.map +1 -0
- package/web/static/js/2448.1d46904a.chunk.js +2 -0
- package/web/static/js/2448.1d46904a.chunk.js.map +1 -0
- package/web/static/js/2456.624e63f5.chunk.js +2 -0
- package/web/static/js/2456.624e63f5.chunk.js.map +1 -0
- package/web/static/js/2476.f15bbd3e.chunk.js +2 -0
- package/web/static/js/2476.f15bbd3e.chunk.js.map +1 -0
- package/web/static/js/2618.adf157a1.chunk.js +2 -0
- package/web/static/js/2618.adf157a1.chunk.js.map +1 -0
- package/web/static/js/2679.0780e749.chunk.js +2 -0
- package/web/static/js/2679.0780e749.chunk.js.map +1 -0
- package/web/static/js/2692.db178ecc.chunk.js +2 -0
- package/web/static/js/2692.db178ecc.chunk.js.map +1 -0
- package/web/static/js/2739.5d80ad30.chunk.js +2 -0
- package/web/static/js/2739.5d80ad30.chunk.js.map +1 -0
- package/web/static/js/2795.45c184a0.chunk.js +2 -0
- package/web/static/js/2795.45c184a0.chunk.js.map +1 -0
- package/web/static/js/280.b0605a39.chunk.js +2 -0
- package/web/static/js/280.b0605a39.chunk.js.map +1 -0
- package/web/static/js/2848.0646737c.chunk.js +2 -0
- package/web/static/js/2848.0646737c.chunk.js.map +1 -0
- package/web/static/js/2855.81a8ad12.chunk.js +2 -0
- package/web/static/js/2855.81a8ad12.chunk.js.map +1 -0
- package/web/static/js/2867.35ca4c44.chunk.js +2 -0
- package/web/static/js/2867.35ca4c44.chunk.js.map +1 -0
- package/web/static/js/2937.94f91537.chunk.js +2 -0
- package/web/static/js/2937.94f91537.chunk.js.map +1 -0
- package/web/static/js/3153.cb1a3310.chunk.js +2 -0
- package/web/static/js/3153.cb1a3310.chunk.js.map +1 -0
- package/web/static/js/3257.5693b5c1.chunk.js +2 -0
- package/web/static/js/3257.5693b5c1.chunk.js.map +1 -0
- package/web/static/js/3261.d4120c57.chunk.js +2 -0
- package/web/static/js/3261.d4120c57.chunk.js.map +1 -0
- package/web/static/js/3410.64427e15.chunk.js +2 -0
- package/web/static/js/3410.64427e15.chunk.js.map +1 -0
- package/web/static/js/3450.bb5e6340.chunk.js +2 -0
- package/web/static/js/3450.bb5e6340.chunk.js.map +1 -0
- package/web/static/js/3769.535a1903.chunk.js +2 -0
- package/web/static/js/3769.535a1903.chunk.js.map +1 -0
- package/web/static/js/3811.ac38cada.chunk.js +2 -0
- package/web/static/js/3811.ac38cada.chunk.js.map +1 -0
- package/web/static/js/3882.60e1c8dd.chunk.js +2 -0
- package/web/static/js/3882.60e1c8dd.chunk.js.map +1 -0
- package/web/static/js/3931.088517c5.chunk.js +2 -0
- package/web/static/js/3931.088517c5.chunk.js.map +1 -0
- package/web/static/js/3972.de13130a.chunk.js +2 -0
- package/web/static/js/3972.de13130a.chunk.js.map +1 -0
- package/web/static/js/4036.412a4652.chunk.js +2 -0
- package/web/static/js/4036.412a4652.chunk.js.map +1 -0
- package/web/static/js/4045.f60bb8b6.chunk.js +2 -0
- package/web/static/js/4045.f60bb8b6.chunk.js.map +1 -0
- package/web/static/js/4234.3f7f9515.chunk.js +2 -0
- package/web/static/js/4234.3f7f9515.chunk.js.map +1 -0
- package/web/static/js/4255.af5d4d84.chunk.js +2 -0
- package/web/static/js/4255.af5d4d84.chunk.js.map +1 -0
- package/web/static/js/455.902c1058.chunk.js +2 -0
- package/web/static/js/455.902c1058.chunk.js.map +1 -0
- package/web/static/js/4781.ce661c8a.chunk.js +2 -0
- package/web/static/js/4781.ce661c8a.chunk.js.map +1 -0
- package/web/static/js/486.fc977627.chunk.js +2 -0
- package/web/static/js/486.fc977627.chunk.js.map +1 -0
- package/web/static/js/{4877.607c2b06.chunk.js → 4877.578a0d95.chunk.js} +2 -2
- package/web/static/js/{4877.607c2b06.chunk.js.map → 4877.578a0d95.chunk.js.map} +1 -1
- package/web/static/js/492.e850f1fb.chunk.js +2 -0
- package/web/static/js/492.e850f1fb.chunk.js.map +1 -0
- package/web/static/js/4960.2437edb5.chunk.js +2 -0
- package/web/static/js/4960.2437edb5.chunk.js.map +1 -0
- package/web/static/js/5001.5daf2796.chunk.js +2 -0
- package/web/static/js/5001.5daf2796.chunk.js.map +1 -0
- package/web/static/js/5080.ee9eaece.chunk.js +2 -0
- package/web/static/js/5080.ee9eaece.chunk.js.map +1 -0
- package/web/static/js/5146.76b73d7f.chunk.js +2 -0
- package/web/static/js/5146.76b73d7f.chunk.js.map +1 -0
- package/web/static/js/5183.f902746f.js +3 -0
- package/web/static/js/{5183.7b46ce4a.js.LICENSE.txt → 5183.f902746f.js.LICENSE.txt} +0 -0
- package/web/static/js/5183.f902746f.js.map +1 -0
- package/web/static/js/5253.7a8716a8.chunk.js +2 -0
- package/web/static/js/5253.7a8716a8.chunk.js.map +1 -0
- package/web/static/js/5329.30dd2c4c.chunk.js +2 -0
- package/web/static/js/5329.30dd2c4c.chunk.js.map +1 -0
- package/web/static/js/5364.b95913d0.chunk.js +2 -0
- package/web/static/js/5364.b95913d0.chunk.js.map +1 -0
- package/web/static/js/5374.02099454.chunk.js +2 -0
- package/web/static/js/5374.02099454.chunk.js.map +1 -0
- package/web/static/js/5407.dc875989.chunk.js +2 -0
- package/web/static/js/5407.dc875989.chunk.js.map +1 -0
- package/web/static/js/5468.ea87a4b5.chunk.js +2 -0
- package/web/static/js/5468.ea87a4b5.chunk.js.map +1 -0
- package/web/static/js/5475.08f3cc8c.chunk.js +2 -0
- package/web/static/js/5475.08f3cc8c.chunk.js.map +1 -0
- package/web/static/js/5523.a7ee9e30.chunk.js +2 -0
- package/web/static/js/5523.a7ee9e30.chunk.js.map +1 -0
- package/web/static/js/5576.bbfaf999.chunk.js +2 -0
- package/web/static/js/5576.bbfaf999.chunk.js.map +1 -0
- package/web/static/js/5609.426d8e5b.chunk.js +2 -0
- package/web/static/js/5609.426d8e5b.chunk.js.map +1 -0
- package/web/static/js/5630.f27b567a.chunk.js +2 -0
- package/web/static/js/5630.f27b567a.chunk.js.map +1 -0
- package/web/static/js/581.264f67be.chunk.js +2 -0
- package/web/static/js/581.264f67be.chunk.js.map +1 -0
- package/web/static/js/5821.41b747c6.chunk.js +2 -0
- package/web/static/js/5821.41b747c6.chunk.js.map +1 -0
- package/web/static/js/5930.65ea3787.chunk.js +2 -0
- package/web/static/js/5930.65ea3787.chunk.js.map +1 -0
- package/web/static/js/6019.add10037.chunk.js +2 -0
- package/web/static/js/6019.add10037.chunk.js.map +1 -0
- package/web/static/js/6036.289c2eb8.chunk.js +2 -0
- package/web/static/js/6036.289c2eb8.chunk.js.map +1 -0
- package/web/static/js/6216.93b30f41.chunk.js +2 -0
- package/web/static/js/6216.93b30f41.chunk.js.map +1 -0
- package/web/static/js/6221.0b909b28.chunk.js +2 -0
- package/web/static/js/6221.0b909b28.chunk.js.map +1 -0
- package/web/static/js/627.7abc7758.chunk.js +2 -0
- package/web/static/js/627.7abc7758.chunk.js.map +1 -0
- package/web/static/js/6315.5a722a81.chunk.js +2 -0
- package/web/static/js/6315.5a722a81.chunk.js.map +1 -0
- package/web/static/js/6319.6a3ee525.chunk.js +2 -0
- package/web/static/js/6319.6a3ee525.chunk.js.map +1 -0
- package/web/static/js/6421.4eb74d59.chunk.js +2 -0
- package/web/static/js/6421.4eb74d59.chunk.js.map +1 -0
- package/web/static/js/6436.ab730989.chunk.js +2 -0
- package/web/static/js/6436.ab730989.chunk.js.map +1 -0
- package/web/static/js/6536.6aaaba5b.chunk.js +2 -0
- package/web/static/js/6536.6aaaba5b.chunk.js.map +1 -0
- package/web/static/js/6566.3c91cbc8.chunk.js +2 -0
- package/web/static/js/6566.3c91cbc8.chunk.js.map +1 -0
- package/web/static/js/6623.d0d13abe.chunk.js +2 -0
- package/web/static/js/6623.d0d13abe.chunk.js.map +1 -0
- package/web/static/js/6659.6790167d.chunk.js +2 -0
- package/web/static/js/6659.6790167d.chunk.js.map +1 -0
- package/web/static/js/6660.4f803e55.chunk.js +2 -0
- package/web/static/js/6660.4f803e55.chunk.js.map +1 -0
- package/web/static/js/6869.6df90f7d.chunk.js +2 -0
- package/web/static/js/6869.6df90f7d.chunk.js.map +1 -0
- package/web/static/js/6878.c6cec0d9.chunk.js +2 -0
- package/web/static/js/6878.c6cec0d9.chunk.js.map +1 -0
- package/web/static/js/6889.19f9c313.chunk.js +2 -0
- package/web/static/js/6889.19f9c313.chunk.js.map +1 -0
- package/web/static/js/6956.011c753c.chunk.js +2 -0
- package/web/static/js/6956.011c753c.chunk.js.map +1 -0
- package/web/static/js/7079.3aa94426.chunk.js +2 -0
- package/web/static/js/7079.3aa94426.chunk.js.map +1 -0
- package/web/static/js/7213.5faca4d7.chunk.js +2 -0
- package/web/static/js/7213.5faca4d7.chunk.js.map +1 -0
- package/web/static/js/7217.1cd6fbd5.chunk.js +2 -0
- package/web/static/js/7217.1cd6fbd5.chunk.js.map +1 -0
- package/web/static/js/7266.bba9c51f.chunk.js +2 -0
- package/web/static/js/7266.bba9c51f.chunk.js.map +1 -0
- package/web/static/js/7313.afa8589a.chunk.js +2 -0
- package/web/static/js/7313.afa8589a.chunk.js.map +1 -0
- package/web/static/js/745.3a86c62c.chunk.js +2 -0
- package/web/static/js/745.3a86c62c.chunk.js.map +1 -0
- package/web/static/js/747.7519f1c0.chunk.js +2 -0
- package/web/static/js/747.7519f1c0.chunk.js.map +1 -0
- package/web/static/js/7491.61d9e36a.chunk.js +2 -0
- package/web/static/js/7491.61d9e36a.chunk.js.map +1 -0
- package/web/static/js/751.f1e39665.chunk.js +2 -0
- package/web/static/js/751.f1e39665.chunk.js.map +1 -0
- package/web/static/js/766.3a803d1a.chunk.js +2 -0
- package/web/static/js/766.3a803d1a.chunk.js.map +1 -0
- package/web/static/js/7664.f92b74f7.chunk.js +2 -0
- package/web/static/js/7664.f92b74f7.chunk.js.map +1 -0
- package/web/static/js/7712.ceb152fe.chunk.js +2 -0
- package/web/static/js/7712.ceb152fe.chunk.js.map +1 -0
- package/web/static/js/7858.0b4a36cb.chunk.js +2 -0
- package/web/static/js/7858.0b4a36cb.chunk.js.map +1 -0
- package/web/static/js/7861.757503f5.chunk.js +2 -0
- package/web/static/js/7861.757503f5.chunk.js.map +1 -0
- package/web/static/js/7898.4d9e4ad0.chunk.js +2 -0
- package/web/static/js/7898.4d9e4ad0.chunk.js.map +1 -0
- package/web/static/js/8090.ed60bf9b.chunk.js +3 -0
- package/web/static/js/{77.bdabcc80.chunk.js.LICENSE.txt → 8090.ed60bf9b.chunk.js.LICENSE.txt} +0 -0
- package/web/static/js/8090.ed60bf9b.chunk.js.map +1 -0
- package/web/static/js/8131.627caee3.chunk.js +2 -0
- package/web/static/js/8131.627caee3.chunk.js.map +1 -0
- package/web/static/js/8200.e1531031.chunk.js +2 -0
- package/web/static/js/8200.e1531031.chunk.js.map +1 -0
- package/web/static/js/8312.58a5729e.chunk.js +2 -0
- package/web/static/js/8312.58a5729e.chunk.js.map +1 -0
- package/web/static/js/8398.cc6aa9ea.chunk.js +2 -0
- package/web/static/js/8398.cc6aa9ea.chunk.js.map +1 -0
- package/web/static/js/8471.c02223a0.chunk.js +2 -0
- package/web/static/js/8471.c02223a0.chunk.js.map +1 -0
- package/web/static/js/8488.148bfa75.chunk.js +2 -0
- package/web/static/js/8488.148bfa75.chunk.js.map +1 -0
- package/web/static/js/8586.9d605493.chunk.js +2 -0
- package/web/static/js/8586.9d605493.chunk.js.map +1 -0
- package/web/static/js/8709.44b46cf7.chunk.js +2 -0
- package/web/static/js/8709.44b46cf7.chunk.js.map +1 -0
- package/web/static/js/8768.0dfc18cd.chunk.js +2 -0
- package/web/static/js/8768.0dfc18cd.chunk.js.map +1 -0
- package/web/static/js/8804.5424b4ca.chunk.js +2 -0
- package/web/static/js/8804.5424b4ca.chunk.js.map +1 -0
- package/web/static/js/8849.d5dd1a61.chunk.js +2 -0
- package/web/static/js/8849.d5dd1a61.chunk.js.map +1 -0
- package/web/static/js/8913.ea392129.chunk.js +2 -0
- package/web/static/js/8913.ea392129.chunk.js.map +1 -0
- package/web/static/js/8915.82c6b45a.chunk.js +2 -0
- package/web/static/js/8915.82c6b45a.chunk.js.map +1 -0
- package/web/static/js/9057.452b4a09.chunk.js +2 -0
- package/web/static/js/9057.452b4a09.chunk.js.map +1 -0
- package/web/static/js/9126.c0ca2634.chunk.js +2 -0
- package/web/static/js/9126.c0ca2634.chunk.js.map +1 -0
- package/web/static/js/9147.d6a507a2.chunk.js +2 -0
- package/web/static/js/9147.d6a507a2.chunk.js.map +1 -0
- package/web/static/js/9188.636af533.chunk.js +2 -0
- package/web/static/js/9188.636af533.chunk.js.map +1 -0
- package/web/static/js/9331.9ce63cb4.chunk.js +2 -0
- package/web/static/js/9331.9ce63cb4.chunk.js.map +1 -0
- package/web/static/js/9421.3c6f9f4c.chunk.js +2 -0
- package/web/static/js/9421.3c6f9f4c.chunk.js.map +1 -0
- package/web/static/js/9574.64786e0f.chunk.js +2 -0
- package/web/static/js/9574.64786e0f.chunk.js.map +1 -0
- package/web/static/js/9636.901de3cb.chunk.js +2 -0
- package/web/static/js/9636.901de3cb.chunk.js.map +1 -0
- package/web/static/js/9762.a392071c.chunk.js +2 -0
- package/web/static/js/9762.a392071c.chunk.js.map +1 -0
- package/web/static/js/9767.c03d5639.chunk.js +2 -0
- package/web/static/js/9767.c03d5639.chunk.js.map +1 -0
- package/web/static/js/9777.23cb02e0.chunk.js +2 -0
- package/web/static/js/9777.23cb02e0.chunk.js.map +1 -0
- package/web/static/js/9820.1374775d.chunk.js +2 -0
- package/web/static/js/9820.1374775d.chunk.js.map +1 -0
- package/web/static/js/9836.8cd96a11.chunk.js +2 -0
- package/web/static/js/9836.8cd96a11.chunk.js.map +1 -0
- package/web/static/js/9871.eb7047a2.chunk.js +2 -0
- package/web/static/js/9871.eb7047a2.chunk.js.map +1 -0
- package/web/static/js/9900.2d8ffaaf.chunk.js +2 -0
- package/web/static/js/9900.2d8ffaaf.chunk.js.map +1 -0
- package/web/static/js/9961.3712fbe4.chunk.js +2 -0
- package/web/static/js/9961.3712fbe4.chunk.js.map +1 -0
- package/web/static/js/main.bd858105.js +2 -0
- package/web/static/js/main.bd858105.js.map +1 -0
- package/web/static/js/vendors-code-preview.fdba0f1f.chunk.js +2 -0
- package/web/static/js/vendors-code-preview.fdba0f1f.chunk.js.map +1 -0
- package/web/static/js/vendors-prismjs.b53bdc3b.chunk.js +3 -0
- package/web/static/js/{vendors-prismjs.7634bcac.chunk.js.LICENSE.txt → vendors-prismjs.b53bdc3b.chunk.js.LICENSE.txt} +0 -0
- package/web/static/js/vendors-prismjs.b53bdc3b.chunk.js.map +1 -0
- package/web/static/css/1059.187e4305.chunk.css +0 -2
- package/web/static/css/1059.187e4305.chunk.css.map +0 -1
- package/web/static/css/1061.187e4305.chunk.css +0 -2
- package/web/static/css/1061.187e4305.chunk.css.map +0 -1
- package/web/static/css/1169.187e4305.chunk.css +0 -2
- package/web/static/css/1169.187e4305.chunk.css.map +0 -1
- package/web/static/css/1317.187e4305.chunk.css +0 -2
- package/web/static/css/1317.187e4305.chunk.css.map +0 -1
- package/web/static/css/1584.187e4305.chunk.css +0 -2
- package/web/static/css/1584.187e4305.chunk.css.map +0 -1
- package/web/static/css/1619.187e4305.chunk.css +0 -2
- package/web/static/css/1619.187e4305.chunk.css.map +0 -1
- package/web/static/css/163.187e4305.chunk.css +0 -2
- package/web/static/css/163.187e4305.chunk.css.map +0 -1
- package/web/static/css/1820.187e4305.chunk.css +0 -2
- package/web/static/css/1820.187e4305.chunk.css.map +0 -1
- package/web/static/css/2156.187e4305.chunk.css +0 -2
- package/web/static/css/2156.187e4305.chunk.css.map +0 -1
- package/web/static/css/2190.187e4305.chunk.css +0 -2
- package/web/static/css/2190.187e4305.chunk.css.map +0 -1
- package/web/static/css/221.187e4305.chunk.css +0 -2
- package/web/static/css/221.187e4305.chunk.css.map +0 -1
- package/web/static/css/2230.187e4305.chunk.css +0 -2
- package/web/static/css/2230.187e4305.chunk.css.map +0 -1
- package/web/static/css/2316.187e4305.chunk.css +0 -2
- package/web/static/css/2316.187e4305.chunk.css.map +0 -1
- package/web/static/css/2367.187e4305.chunk.css +0 -2
- package/web/static/css/2367.187e4305.chunk.css.map +0 -1
- package/web/static/css/2411.187e4305.chunk.css +0 -2
- package/web/static/css/2411.187e4305.chunk.css.map +0 -1
- package/web/static/css/2582.187e4305.chunk.css +0 -2
- package/web/static/css/2582.187e4305.chunk.css.map +0 -1
- package/web/static/css/2595.187e4305.chunk.css +0 -2
- package/web/static/css/2595.187e4305.chunk.css.map +0 -1
- package/web/static/css/2737.187e4305.chunk.css +0 -2
- package/web/static/css/2737.187e4305.chunk.css.map +0 -1
- package/web/static/css/2782.187e4305.chunk.css +0 -2
- package/web/static/css/2782.187e4305.chunk.css.map +0 -1
- package/web/static/css/3313.187e4305.chunk.css +0 -2
- package/web/static/css/3313.187e4305.chunk.css.map +0 -1
- package/web/static/css/3518.187e4305.chunk.css +0 -2
- package/web/static/css/3518.187e4305.chunk.css.map +0 -1
- package/web/static/css/3812.187e4305.chunk.css +0 -2
- package/web/static/css/3812.187e4305.chunk.css.map +0 -1
- package/web/static/css/3917.187e4305.chunk.css +0 -2
- package/web/static/css/3917.187e4305.chunk.css.map +0 -1
- package/web/static/css/4010.187e4305.chunk.css +0 -2
- package/web/static/css/4010.187e4305.chunk.css.map +0 -1
- package/web/static/css/4098.187e4305.chunk.css +0 -2
- package/web/static/css/4098.187e4305.chunk.css.map +0 -1
- package/web/static/css/4128.187e4305.chunk.css +0 -2
- package/web/static/css/4128.187e4305.chunk.css.map +0 -1
- package/web/static/css/4188.187e4305.chunk.css +0 -2
- package/web/static/css/4188.187e4305.chunk.css.map +0 -1
- package/web/static/css/4396.2422fe7f.chunk.css +0 -2
- package/web/static/css/4396.2422fe7f.chunk.css.map +0 -1
- package/web/static/css/4405.187e4305.chunk.css +0 -2
- package/web/static/css/4405.187e4305.chunk.css.map +0 -1
- package/web/static/css/4503.187e4305.chunk.css +0 -2
- package/web/static/css/4503.187e4305.chunk.css.map +0 -1
- package/web/static/css/4648.187e4305.chunk.css +0 -2
- package/web/static/css/4648.187e4305.chunk.css.map +0 -1
- package/web/static/css/4948.187e4305.chunk.css +0 -2
- package/web/static/css/4948.187e4305.chunk.css.map +0 -1
- package/web/static/css/5244.187e4305.chunk.css +0 -2
- package/web/static/css/5244.187e4305.chunk.css.map +0 -1
- package/web/static/css/5308.187e4305.chunk.css +0 -2
- package/web/static/css/5308.187e4305.chunk.css.map +0 -1
- package/web/static/css/5393.187e4305.chunk.css +0 -2
- package/web/static/css/5393.187e4305.chunk.css.map +0 -1
- package/web/static/css/5408.187e4305.chunk.css +0 -2
- package/web/static/css/5408.187e4305.chunk.css.map +0 -1
- package/web/static/css/5595.187e4305.chunk.css +0 -2
- package/web/static/css/5595.187e4305.chunk.css.map +0 -1
- package/web/static/css/5865.187e4305.chunk.css +0 -2
- package/web/static/css/5865.187e4305.chunk.css.map +0 -1
- package/web/static/css/643.187e4305.chunk.css +0 -2
- package/web/static/css/643.187e4305.chunk.css.map +0 -1
- package/web/static/css/6510.187e4305.chunk.css +0 -2
- package/web/static/css/6510.187e4305.chunk.css.map +0 -1
- package/web/static/css/6715.187e4305.chunk.css +0 -2
- package/web/static/css/6715.187e4305.chunk.css.map +0 -1
- package/web/static/css/6730.187e4305.chunk.css +0 -2
- package/web/static/css/6730.187e4305.chunk.css.map +0 -1
- package/web/static/css/694.187e4305.chunk.css +0 -2
- package/web/static/css/694.187e4305.chunk.css.map +0 -1
- package/web/static/css/7087.187e4305.chunk.css +0 -2
- package/web/static/css/7087.187e4305.chunk.css.map +0 -1
- package/web/static/css/7104.187e4305.chunk.css +0 -2
- package/web/static/css/7104.187e4305.chunk.css.map +0 -1
- package/web/static/css/7157.187e4305.chunk.css +0 -2
- package/web/static/css/7157.187e4305.chunk.css.map +0 -1
- package/web/static/css/7390.187e4305.chunk.css +0 -2
- package/web/static/css/7390.187e4305.chunk.css.map +0 -1
- package/web/static/css/748.187e4305.chunk.css +0 -2
- package/web/static/css/748.187e4305.chunk.css.map +0 -1
- package/web/static/css/7541.187e4305.chunk.css +0 -2
- package/web/static/css/7541.187e4305.chunk.css.map +0 -1
- package/web/static/css/7761.187e4305.chunk.css +0 -2
- package/web/static/css/7761.187e4305.chunk.css.map +0 -1
- package/web/static/css/7834.187e4305.chunk.css +0 -2
- package/web/static/css/7834.187e4305.chunk.css.map +0 -1
- package/web/static/css/7875.187e4305.chunk.css +0 -2
- package/web/static/css/7875.187e4305.chunk.css.map +0 -1
- package/web/static/css/7884.187e4305.chunk.css +0 -2
- package/web/static/css/7884.187e4305.chunk.css.map +0 -1
- package/web/static/css/8023.187e4305.chunk.css +0 -2
- package/web/static/css/8023.187e4305.chunk.css.map +0 -1
- package/web/static/css/8073.187e4305.chunk.css +0 -2
- package/web/static/css/8073.187e4305.chunk.css.map +0 -1
- package/web/static/css/8566.187e4305.chunk.css +0 -2
- package/web/static/css/8566.187e4305.chunk.css.map +0 -1
- package/web/static/css/875.187e4305.chunk.css +0 -2
- package/web/static/css/875.187e4305.chunk.css.map +0 -1
- package/web/static/css/9121.187e4305.chunk.css +0 -2
- package/web/static/css/9121.187e4305.chunk.css.map +0 -1
- package/web/static/css/9253.187e4305.chunk.css +0 -2
- package/web/static/css/9253.187e4305.chunk.css.map +0 -1
- package/web/static/css/9260.187e4305.chunk.css +0 -2
- package/web/static/css/9260.187e4305.chunk.css.map +0 -1
- package/web/static/css/9384.187e4305.chunk.css +0 -2
- package/web/static/css/9384.187e4305.chunk.css.map +0 -1
- package/web/static/css/9503.187e4305.chunk.css +0 -2
- package/web/static/css/9503.187e4305.chunk.css.map +0 -1
- package/web/static/css/9673.187e4305.chunk.css +0 -2
- package/web/static/css/9673.187e4305.chunk.css.map +0 -1
- package/web/static/css/9763.187e4305.chunk.css +0 -2
- package/web/static/css/9763.187e4305.chunk.css.map +0 -1
- package/web/static/css/9776.187e4305.chunk.css +0 -2
- package/web/static/css/9776.187e4305.chunk.css.map +0 -1
- package/web/static/css/9777.187e4305.chunk.css +0 -2
- package/web/static/css/9777.187e4305.chunk.css.map +0 -1
- package/web/static/css/9853.187e4305.chunk.css +0 -2
- package/web/static/css/9853.187e4305.chunk.css.map +0 -1
- package/web/static/css/main.9ac00422.css.map +0 -1
- package/web/static/js/1016.0ab3d95f.chunk.js +0 -2
- package/web/static/js/1016.0ab3d95f.chunk.js.map +0 -1
- package/web/static/js/1059.7618762f.chunk.js +0 -2
- package/web/static/js/1059.7618762f.chunk.js.map +0 -1
- package/web/static/js/1061.7c98d2ba.chunk.js +0 -2
- package/web/static/js/1061.7c98d2ba.chunk.js.map +0 -1
- package/web/static/js/1151.a61edfb2.chunk.js +0 -2
- package/web/static/js/1151.a61edfb2.chunk.js.map +0 -1
- package/web/static/js/1169.47a639a5.chunk.js +0 -2
- package/web/static/js/1169.47a639a5.chunk.js.map +0 -1
- package/web/static/js/1317.77854aa1.chunk.js +0 -2
- package/web/static/js/1317.77854aa1.chunk.js.map +0 -1
- package/web/static/js/1584.e306a2c1.chunk.js +0 -2
- package/web/static/js/1584.e306a2c1.chunk.js.map +0 -1
- package/web/static/js/1619.b7984778.chunk.js +0 -2
- package/web/static/js/1619.b7984778.chunk.js.map +0 -1
- package/web/static/js/163.fc99f5fd.chunk.js +0 -2
- package/web/static/js/163.fc99f5fd.chunk.js.map +0 -1
- package/web/static/js/1756.7336ff8d.chunk.js +0 -2
- package/web/static/js/1756.7336ff8d.chunk.js.map +0 -1
- package/web/static/js/1820.243b7e89.chunk.js +0 -2
- package/web/static/js/1820.243b7e89.chunk.js.map +0 -1
- package/web/static/js/1971.043ba73e.chunk.js +0 -2
- package/web/static/js/1971.043ba73e.chunk.js.map +0 -1
- package/web/static/js/207.32dfc25c.chunk.js +0 -2
- package/web/static/js/207.32dfc25c.chunk.js.map +0 -1
- package/web/static/js/2078.b790ef29.chunk.js +0 -2
- package/web/static/js/2078.b790ef29.chunk.js.map +0 -1
- package/web/static/js/2156.e793e47d.chunk.js +0 -2
- package/web/static/js/2156.e793e47d.chunk.js.map +0 -1
- package/web/static/js/2190.7597770e.chunk.js +0 -2
- package/web/static/js/2190.7597770e.chunk.js.map +0 -1
- package/web/static/js/221.e27b8672.chunk.js +0 -2
- package/web/static/js/221.e27b8672.chunk.js.map +0 -1
- package/web/static/js/2230.805f585e.chunk.js +0 -2
- package/web/static/js/2230.805f585e.chunk.js.map +0 -1
- package/web/static/js/2316.22f957ae.chunk.js +0 -2
- package/web/static/js/2316.22f957ae.chunk.js.map +0 -1
- package/web/static/js/2367.de0e33cf.chunk.js +0 -2
- package/web/static/js/2367.de0e33cf.chunk.js.map +0 -1
- package/web/static/js/2411.c432492d.chunk.js +0 -2
- package/web/static/js/2411.c432492d.chunk.js.map +0 -1
- package/web/static/js/2448.dc510246.chunk.js +0 -2
- package/web/static/js/2448.dc510246.chunk.js.map +0 -1
- package/web/static/js/2456.013e4bdc.chunk.js +0 -2
- package/web/static/js/2456.013e4bdc.chunk.js.map +0 -1
- package/web/static/js/2582.1bd50d13.chunk.js +0 -2
- package/web/static/js/2582.1bd50d13.chunk.js.map +0 -1
- package/web/static/js/2595.94dc6f2d.chunk.js +0 -2
- package/web/static/js/2595.94dc6f2d.chunk.js.map +0 -1
- package/web/static/js/2679.4d07c747.chunk.js +0 -2
- package/web/static/js/2679.4d07c747.chunk.js.map +0 -1
- package/web/static/js/2692.c93feb86.chunk.js +0 -2
- package/web/static/js/2692.c93feb86.chunk.js.map +0 -1
- package/web/static/js/2737.01b58403.chunk.js +0 -2
- package/web/static/js/2737.01b58403.chunk.js.map +0 -1
- package/web/static/js/2782.d09fa2d2.chunk.js +0 -2
- package/web/static/js/2782.d09fa2d2.chunk.js.map +0 -1
- package/web/static/js/2795.85c20470.chunk.js +0 -2
- package/web/static/js/2795.85c20470.chunk.js.map +0 -1
- package/web/static/js/3257.f8706edc.chunk.js +0 -2
- package/web/static/js/3257.f8706edc.chunk.js.map +0 -1
- package/web/static/js/3261.8fb28323.chunk.js +0 -2
- package/web/static/js/3261.8fb28323.chunk.js.map +0 -1
- package/web/static/js/3313.00bc6b3a.chunk.js +0 -2
- package/web/static/js/3313.00bc6b3a.chunk.js.map +0 -1
- package/web/static/js/3450.d09525f0.chunk.js +0 -2
- package/web/static/js/3450.d09525f0.chunk.js.map +0 -1
- package/web/static/js/3518.4ae16e1a.chunk.js +0 -2
- package/web/static/js/3518.4ae16e1a.chunk.js.map +0 -1
- package/web/static/js/3769.c50e5321.chunk.js +0 -2
- package/web/static/js/3769.c50e5321.chunk.js.map +0 -1
- package/web/static/js/3811.84b766f9.chunk.js +0 -2
- package/web/static/js/3811.84b766f9.chunk.js.map +0 -1
- package/web/static/js/3812.e88939dd.chunk.js +0 -2
- package/web/static/js/3812.e88939dd.chunk.js.map +0 -1
- package/web/static/js/3917.9fa854c7.chunk.js +0 -2
- package/web/static/js/3917.9fa854c7.chunk.js.map +0 -1
- package/web/static/js/3931.710a8e71.chunk.js +0 -2
- package/web/static/js/3931.710a8e71.chunk.js.map +0 -1
- package/web/static/js/4010.25479d9a.chunk.js +0 -2
- package/web/static/js/4010.25479d9a.chunk.js.map +0 -1
- package/web/static/js/4036.bee6a610.chunk.js +0 -2
- package/web/static/js/4036.bee6a610.chunk.js.map +0 -1
- package/web/static/js/4098.2b7a41a1.chunk.js +0 -2
- package/web/static/js/4098.2b7a41a1.chunk.js.map +0 -1
- package/web/static/js/4128.91667ba9.chunk.js +0 -2
- package/web/static/js/4128.91667ba9.chunk.js.map +0 -1
- package/web/static/js/4188.5c798453.chunk.js +0 -2
- package/web/static/js/4188.5c798453.chunk.js.map +0 -1
- package/web/static/js/4396.1e7561d7.chunk.js +0 -2
- package/web/static/js/4396.1e7561d7.chunk.js.map +0 -1
- package/web/static/js/4405.689929fb.chunk.js +0 -2
- package/web/static/js/4405.689929fb.chunk.js.map +0 -1
- package/web/static/js/4503.bd1b5564.chunk.js +0 -2
- package/web/static/js/4503.bd1b5564.chunk.js.map +0 -1
- package/web/static/js/4648.cf7dc241.chunk.js +0 -2
- package/web/static/js/4648.cf7dc241.chunk.js.map +0 -1
- package/web/static/js/4781.eb1374c6.chunk.js +0 -2
- package/web/static/js/4781.eb1374c6.chunk.js.map +0 -1
- package/web/static/js/486.06f7cd25.chunk.js +0 -2
- package/web/static/js/486.06f7cd25.chunk.js.map +0 -1
- package/web/static/js/4948.77515624.chunk.js +0 -2
- package/web/static/js/4948.77515624.chunk.js.map +0 -1
- package/web/static/js/5146.6d483514.chunk.js +0 -2
- package/web/static/js/5146.6d483514.chunk.js.map +0 -1
- package/web/static/js/5183.7b46ce4a.js +0 -3
- package/web/static/js/5183.7b46ce4a.js.map +0 -1
- package/web/static/js/5244.044f96c3.chunk.js +0 -2
- package/web/static/js/5244.044f96c3.chunk.js.map +0 -1
- package/web/static/js/5253.0a82cabf.chunk.js +0 -2
- package/web/static/js/5253.0a82cabf.chunk.js.map +0 -1
- package/web/static/js/5308.b47d29ed.chunk.js +0 -2
- package/web/static/js/5308.b47d29ed.chunk.js.map +0 -1
- package/web/static/js/5364.125e27d2.chunk.js +0 -2
- package/web/static/js/5364.125e27d2.chunk.js.map +0 -1
- package/web/static/js/5393.3b88516d.chunk.js +0 -2
- package/web/static/js/5393.3b88516d.chunk.js.map +0 -1
- package/web/static/js/5408.e4dba9c0.chunk.js +0 -2
- package/web/static/js/5408.e4dba9c0.chunk.js.map +0 -1
- package/web/static/js/5468.ff29858b.chunk.js +0 -2
- package/web/static/js/5468.ff29858b.chunk.js.map +0 -1
- package/web/static/js/5595.1d09db32.chunk.js +0 -2
- package/web/static/js/5595.1d09db32.chunk.js.map +0 -1
- package/web/static/js/5821.c5b30ecc.chunk.js +0 -2
- package/web/static/js/5821.c5b30ecc.chunk.js.map +0 -1
- package/web/static/js/5865.fc5f66e5.chunk.js +0 -2
- package/web/static/js/5865.fc5f66e5.chunk.js.map +0 -1
- package/web/static/js/5930.ce74b909.chunk.js +0 -2
- package/web/static/js/5930.ce74b909.chunk.js.map +0 -1
- package/web/static/js/6019.3ddd5b5f.chunk.js +0 -2
- package/web/static/js/6019.3ddd5b5f.chunk.js.map +0 -1
- package/web/static/js/6036.97de923f.chunk.js +0 -2
- package/web/static/js/6036.97de923f.chunk.js.map +0 -1
- package/web/static/js/643.f8870fc5.chunk.js +0 -2
- package/web/static/js/643.f8870fc5.chunk.js.map +0 -1
- package/web/static/js/6510.2da79650.chunk.js +0 -2
- package/web/static/js/6510.2da79650.chunk.js.map +0 -1
- package/web/static/js/6536.75066313.chunk.js +0 -2
- package/web/static/js/6536.75066313.chunk.js.map +0 -1
- package/web/static/js/6566.05382686.chunk.js +0 -2
- package/web/static/js/6566.05382686.chunk.js.map +0 -1
- package/web/static/js/6659.2432f911.chunk.js +0 -2
- package/web/static/js/6659.2432f911.chunk.js.map +0 -1
- package/web/static/js/6715.0dc4dc23.chunk.js +0 -2
- package/web/static/js/6715.0dc4dc23.chunk.js.map +0 -1
- package/web/static/js/6730.592e2137.chunk.js +0 -2
- package/web/static/js/6730.592e2137.chunk.js.map +0 -1
- package/web/static/js/6869.3a61102b.chunk.js +0 -2
- package/web/static/js/6869.3a61102b.chunk.js.map +0 -1
- package/web/static/js/6878.c21d4848.chunk.js +0 -2
- package/web/static/js/6878.c21d4848.chunk.js.map +0 -1
- package/web/static/js/694.22af7a63.chunk.js +0 -2
- package/web/static/js/694.22af7a63.chunk.js.map +0 -1
- package/web/static/js/7079.8cd7470e.chunk.js +0 -2
- package/web/static/js/7079.8cd7470e.chunk.js.map +0 -1
- package/web/static/js/7087.e9bda77d.chunk.js +0 -2
- package/web/static/js/7087.e9bda77d.chunk.js.map +0 -1
- package/web/static/js/7104.a75a501c.chunk.js +0 -2
- package/web/static/js/7104.a75a501c.chunk.js.map +0 -1
- package/web/static/js/7157.d897fb2a.chunk.js +0 -2
- package/web/static/js/7157.d897fb2a.chunk.js.map +0 -1
- package/web/static/js/7217.6128cabc.chunk.js +0 -2
- package/web/static/js/7217.6128cabc.chunk.js.map +0 -1
- package/web/static/js/7266.3c7fc342.chunk.js +0 -2
- package/web/static/js/7266.3c7fc342.chunk.js.map +0 -1
- package/web/static/js/7313.2017dd23.chunk.js +0 -2
- package/web/static/js/7313.2017dd23.chunk.js.map +0 -1
- package/web/static/js/7390.a5d47e48.chunk.js +0 -2
- package/web/static/js/7390.a5d47e48.chunk.js.map +0 -1
- package/web/static/js/745.e92abd14.chunk.js +0 -2
- package/web/static/js/745.e92abd14.chunk.js.map +0 -1
- package/web/static/js/747.31d81e47.chunk.js +0 -2
- package/web/static/js/747.31d81e47.chunk.js.map +0 -1
- package/web/static/js/748.cd31eb10.chunk.js +0 -2
- package/web/static/js/748.cd31eb10.chunk.js.map +0 -1
- package/web/static/js/7541.e35f1386.chunk.js +0 -2
- package/web/static/js/7541.e35f1386.chunk.js.map +0 -1
- package/web/static/js/7664.e8d14553.chunk.js +0 -2
- package/web/static/js/7664.e8d14553.chunk.js.map +0 -1
- package/web/static/js/77.bdabcc80.chunk.js +0 -3
- package/web/static/js/77.bdabcc80.chunk.js.map +0 -1
- package/web/static/js/7761.519ae422.chunk.js +0 -2
- package/web/static/js/7761.519ae422.chunk.js.map +0 -1
- package/web/static/js/7834.a35aae05.chunk.js +0 -2
- package/web/static/js/7834.a35aae05.chunk.js.map +0 -1
- package/web/static/js/7861.f0341e75.chunk.js +0 -2
- package/web/static/js/7861.f0341e75.chunk.js.map +0 -1
- package/web/static/js/7875.da5b1b45.chunk.js +0 -2
- package/web/static/js/7875.da5b1b45.chunk.js.map +0 -1
- package/web/static/js/7884.9f31b4ab.chunk.js +0 -2
- package/web/static/js/7884.9f31b4ab.chunk.js.map +0 -1
- package/web/static/js/8023.364152bd.chunk.js +0 -2
- package/web/static/js/8023.364152bd.chunk.js.map +0 -1
- package/web/static/js/8073.0d1d898d.chunk.js +0 -2
- package/web/static/js/8073.0d1d898d.chunk.js.map +0 -1
- package/web/static/js/8312.6c0a85dd.chunk.js +0 -2
- package/web/static/js/8312.6c0a85dd.chunk.js.map +0 -1
- package/web/static/js/8398.29808175.chunk.js +0 -2
- package/web/static/js/8398.29808175.chunk.js.map +0 -1
- package/web/static/js/8488.73077e9f.chunk.js +0 -2
- package/web/static/js/8488.73077e9f.chunk.js.map +0 -1
- package/web/static/js/8566.8013c372.chunk.js +0 -2
- package/web/static/js/8566.8013c372.chunk.js.map +0 -1
- package/web/static/js/8586.922fe070.chunk.js +0 -2
- package/web/static/js/8586.922fe070.chunk.js.map +0 -1
- package/web/static/js/8709.935c2f52.chunk.js +0 -2
- package/web/static/js/8709.935c2f52.chunk.js.map +0 -1
- package/web/static/js/875.27e6de15.chunk.js +0 -2
- package/web/static/js/875.27e6de15.chunk.js.map +0 -1
- package/web/static/js/8768.9960b4fe.chunk.js +0 -2
- package/web/static/js/8768.9960b4fe.chunk.js.map +0 -1
- package/web/static/js/8849.4c89f87b.chunk.js +0 -2
- package/web/static/js/8849.4c89f87b.chunk.js.map +0 -1
- package/web/static/js/8915.ff4b2001.chunk.js +0 -2
- package/web/static/js/8915.ff4b2001.chunk.js.map +0 -1
- package/web/static/js/9057.a47ec4de.chunk.js +0 -2
- package/web/static/js/9057.a47ec4de.chunk.js.map +0 -1
- package/web/static/js/9121.c6a17f36.chunk.js +0 -2
- package/web/static/js/9121.c6a17f36.chunk.js.map +0 -1
- package/web/static/js/9147.53ea3fbb.chunk.js +0 -2
- package/web/static/js/9147.53ea3fbb.chunk.js.map +0 -1
- package/web/static/js/9188.7354157e.chunk.js +0 -2
- package/web/static/js/9188.7354157e.chunk.js.map +0 -1
- package/web/static/js/9253.180d6720.chunk.js +0 -2
- package/web/static/js/9253.180d6720.chunk.js.map +0 -1
- package/web/static/js/9260.bda20e3d.chunk.js +0 -2
- package/web/static/js/9260.bda20e3d.chunk.js.map +0 -1
- package/web/static/js/9384.80c51d71.chunk.js +0 -2
- package/web/static/js/9384.80c51d71.chunk.js.map +0 -1
- package/web/static/js/9503.bc8352cc.chunk.js +0 -2
- package/web/static/js/9503.bc8352cc.chunk.js.map +0 -1
- package/web/static/js/9673.974ff515.chunk.js +0 -2
- package/web/static/js/9673.974ff515.chunk.js.map +0 -1
- package/web/static/js/9763.5dc46da3.chunk.js +0 -2
- package/web/static/js/9763.5dc46da3.chunk.js.map +0 -1
- package/web/static/js/9776.1b92433a.chunk.js +0 -2
- package/web/static/js/9776.1b92433a.chunk.js.map +0 -1
- package/web/static/js/9777.6e29c8a0.chunk.js +0 -2
- package/web/static/js/9777.6e29c8a0.chunk.js.map +0 -1
- package/web/static/js/9820.da3bde55.chunk.js +0 -2
- package/web/static/js/9820.da3bde55.chunk.js.map +0 -1
- package/web/static/js/9836.26769e83.chunk.js +0 -2
- package/web/static/js/9836.26769e83.chunk.js.map +0 -1
- package/web/static/js/9853.5441c1e7.chunk.js +0 -2
- package/web/static/js/9853.5441c1e7.chunk.js.map +0 -1
- package/web/static/js/9900.7ad9abbf.chunk.js +0 -2
- package/web/static/js/9900.7ad9abbf.chunk.js.map +0 -1
- package/web/static/js/9961.867fe956.chunk.js +0 -2
- package/web/static/js/9961.867fe956.chunk.js.map +0 -1
- package/web/static/js/main.3931aea7.js +0 -2
- package/web/static/js/main.3931aea7.js.map +0 -1
- package/web/static/js/vendors-prismjs.7634bcac.chunk.js +0 -3
- package/web/static/js/vendors-prismjs.7634bcac.chunk.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1151],{41151:function(n,e,r){r.r(e),e.default="Textarea \u591a\u884c\u6587\u672c\u8f93\u5165\u6846\n===\n\n\u6807\u51c6\u7684\u591a\u884c\u6587\u672c\u8f93\u5165\u6846\u3002\n\n```jsx\nimport { Textarea } from 'uiw';\n// or\nimport Textarea from '@uiw/react-textarea';\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 { Textarea } from 'uiw';\n\nconst Demo = () => (\n <div style={{ maxWidth: 300 }}>\n <Textarea placeholder=\"\u8bf7\u8f93\u5165\u5185\u5bb9\" />\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 [`<Textarea />`](#/components/textarea) \u7ec4\u4ef6\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Form, Row, Col, Textarea, Button, Notify } from 'uiw';\n\nconst Demo = () => (\n <div>\n <Form\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.commit) {\n errorObj.commit = '\u5185\u5bb9\u4e3a\u7a7a\uff0c\u8bf7\u8f93\u5165\u5185\u5bb9';\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\u5185\u5bb9\u4e3a\uff1a${current.commit}\uff0c\u5c06\u81ea\u52a8\u586b\u5145\u521d\u59cb\u5316\u503c\uff01`,\n });\n }}\n fields={{\n commit: {\n children: <Textarea placeholder=\"\u8bf7\u8f93\u5165\u8bf4\u660e\u5185\u5bb9\" />\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n return (\n <div>\n <Row>\n <Col style={{ maxWidth: 300 }}>{fields.commit}</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 }}>\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### \u7981\u7528\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Textarea } from 'uiw';\n\nconst Demo = () => (\n <div style={{ maxWidth: 300 }}>\n <Textarea placeholder=\"\u8bf7\u8f93\u5165\u5185\u5bb9\" disabled />\n </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n### HTML Textarea\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from 'react-dom';\nimport { Textarea } from 'uiw';\n\nconst Demo = () => (\n <div style={{ maxWidth: 300 }}>\n <textarea className=\"w-textarea\" placeholder=\"\u8bf7\u8f93\u5165\u5185\u5bb9\" defaultValue=\"\" />\n </div>\n)\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Props\n\n\u8fd9\u662f\u4e00\u4e2a\u6807\u51c6\u7ec4\u4ef6\uff0c\u4e0e HTML \u4e2d\u5c5e\u6027\u4fdd\u6301\u4e00\u81f4\u3002\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| placeholder | \u89c4\u5b9a\u63cf\u8ff0\u6587\u672c\u533a\u57df\u9884\u671f\u503c\u7684\u7b80\u77ed\u63d0\u793a\u3002 | String | - |\n| disabled | \u7981\u7528\u8f93\u5165\u6846 | Boolean | - |"}}]);
|
|
2
|
-
//# sourceMappingURL=1151.a61edfb2.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1151.a61edfb2.chunk.js","mappings":"gHAAA","sources":["../../packages/react-textarea/README.md"],"sourcesContent":["export default \"Textarea 多行文本输入框\\n===\\n\\n标准的多行文本输入框。\\n\\n```jsx\\nimport { Textarea } from 'uiw';\\n// or\\nimport Textarea from '@uiw/react-textarea';\\n```\\n\\n### 基础用法\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Textarea } from 'uiw';\\n\\nconst Demo = () => (\\n <div style={{ maxWidth: 300 }}>\\n <Textarea placeholder=\\\"请输入内容\\\" />\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 在表单中使用\\n\\n在 [`<Form />`](#/components/form) 表单中应用 [`<Textarea />`](#/components/textarea) 组件\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport { Form, Row, Col, Textarea, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Form\\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.commit) {\\n errorObj.commit = '内容为空,请输入内容';\\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.commit},将自动填充初始化值!`,\\n });\\n }}\\n fields={{\\n commit: {\\n children: <Textarea placeholder=\\\"请输入说明内容\\\" />\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n return (\\n <div>\\n <Row>\\n <Col style={{ maxWidth: 300 }}>{fields.commit}</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 }}>\\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\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Textarea } from 'uiw';\\n\\nconst Demo = () => (\\n <div style={{ maxWidth: 300 }}>\\n <Textarea placeholder=\\\"请输入内容\\\" disabled />\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### HTML Textarea\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Textarea } from 'uiw';\\n\\nconst Demo = () => (\\n <div style={{ maxWidth: 300 }}>\\n <textarea className=\\\"w-textarea\\\" placeholder=\\\"请输入内容\\\" defaultValue=\\\"\\\" />\\n </div>\\n)\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Props\\n\\n这是一个标准组件,与 HTML 中属性保持一致。\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| placeholder | 规定描述文本区域预期值的简短提示。 | String | - |\\n| disabled | 禁用输入框 | Boolean | - |\";"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1169],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function 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",v=["inline","node"],x=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function b(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),b=h[0],j=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){j(e)})).catch((function(){}))}),[]),b?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:b,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,v),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:x(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},92003:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/react-layout/edit/main/core/README-zh.md",dependencies:{Layout:s.Ar,Divider:s.iz},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(7266).then(t.bind(t,7266));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=1169.47a639a5.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1169.47a639a5.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,oNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GA0DrC,OAzDIF,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,qLAEV,eAAgB,CACdA,QAAS,CACPC,KAAM,WACNC,YAAY,QAAD,OAAUlB,EAAV,WACXC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,GAAQC,QAAAA,EAAAA,IACxB3B,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/layout/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Layout, Divider } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default function Page() {\n return (\n <Markdown\n path=\"https://github.com/uiwjs/react-layout/edit/main/core/README-zh.md\"\n dependencies={{ Layout, Divider }}\n renderPage={async () => {\n const md = await import('@uiw/react-layout/README-zh.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","Layout","Divider","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1317],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var f="index_docinfo__3Vx8S",k="index_markdown__hcQCp",b=["inline","node"],x=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,b),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,m=c.noCode,f=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:x(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f})}}}),(0,u.jsx)("div",{className:f,children:(0,u.jsx)(m,{path:a})})]}):null}},60717:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);n.default=function(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-tree-checked/README.md",dependencies:{TreeChecked:s.Ki,Row:s.X2,Col:s.JX,Card:s.Zb,Icon:s.JO},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(9057).then(t.bind(t,79057));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=1317.77854aa1.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1317.77854aa1.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,oNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GA0DrC,OAzDIF,IACFG,EAAMC,cAAgB,CACpBC,MAAM,MAAD,OAAQP,EAAR,WACLQ,cAAe,CAAC,OAChBC,IAAKJ,EAAMZ,MAAQ,IAAIiB,QAAQ,UAAW,wCAC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OlD,MAAqBsD,QAC5D,2BAAUlE,KAGjB,SAACN,EAAD,CACEC,QAASA,EACTP,KAAM8C,EAAWG,EAAKE,UACtB3C,aAAcA,EACR6D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQhE,QAAAA,SAMhE,gBAAKwD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA7CX,O,yHCrCX,qBAAe,OACb,SAAC,IAAD,CACEA,KAAK,iFACL/B,aAAc,CAAEwE,YAAAA,EAAAA,GAAaC,IAAAA,EAAAA,GAAKC,IAAAA,EAAAA,GAAKC,KAAAA,EAAAA,GAAMC,KAAAA,EAAAA,IAC7C7B,YAAU,iBAAE,oGACO,gCADP,cACJ8B,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/tree-checked/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { TreeChecked, Row, Col, Card, Icon } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-tree-checked/README.md\"\n dependencies={{ TreeChecked, Row, Col, Card, Icon }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-tree-checked/README.md');\n return md.default || md;\n }}\n />\n);\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","TreeChecked","Row","Col","Card","Icon","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1584],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var m="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],b=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},71937:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-portal/README.md",dependencies:{Portal:s.h_},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(3931).then(t.bind(t,9896));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=1584.e306a2c1.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1584.e306a2c1.chunk.js","mappings":"wFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEj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oE,EAA6B,EAA7BA,OAAQnB,EAAqB,EAArBA,KAASrC,GAAY,YACpC,EAAoEA,EAA5DyD,EAAR,EAAQA,UAAWC,EAAnB,EAAmBA,SAAUC,EAA7B,EAA6BA,SAAUC,EAAvC,EAAuCA,QAASC,EAAhD,EAAgDA,OAAQhE,EAAxD,EAAwDA,QACxD,GAAI2D,EACF,OAAO,2BAAUxD,IAEnB,IAAM8D,EAAS,CACbL,UAAAA,EACAC,SAAAA,EACAC,SAAAA,EACAC,QAAAA,EACAC,OAAAA,EACAhE,QAAAA,GAEF,OAAgF,IAA5EkE,OAAO1E,KAAKyE,GAAQE,QAAO,SAACpD,GAAD,YAA2BqD,IAAjBH,EAAOlD,MAAqBsD,QAC5D,2BAAUlE,KAGjB,SAACN,EAAD,CACEC,QAASA,EACTP,KAAM8C,EAAWG,EAAKE,UACtB3C,aAAcA,EACR6D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQhE,QAAAA,SAMhE,gBAAKwD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA7CX,O,+JCrCI,SAASyC,IACtB,OACE,SAAC,IAAD,CACEzC,KAAK,2EACL/B,aAAc,CAAEyE,OAAAA,EAAAA,IAChB1B,YAAU,iBAAE,oGACO,+BADP,cACJ2B,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/portal/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Portal } 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-portal/README.md\"\n dependencies={{ Portal }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-portal/README.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","Portal","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1619],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var f="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],b=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,m=c.noCode,f=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f})}}}),(0,u.jsx)("div",{className:f,children:(0,u.jsx)(m,{path:a})})]}):null}},63390:function(e,n,t){"use strict";t.r(n);var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);n.default=function(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-search-select/README.md",dependencies:{Form:s.l0,Row:s.X2,Col:s.JX,Button:s.zx,Notify:s.gU,SearchSelect:s.ul},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(7313).then(t.bind(t,67313));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=1619.b7984778.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1619.b7984778.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,oNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GA0DrC,OAzDIF,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,qLAEV,eAAgB,CACdA,QAAS,CACPC,KAAM,WACNC,YAAY,QAAD,OAAUlB,EAAV,WACXC,aAAc,CACZkB,MAAO,SACP,YAAa,SACbC,IAAK,UAEPC,gBAAiB,CACf,oBAAqB,QACrBC,IAAK,QACLC,WAAY,SAEdC,QAAS,MACT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U,iBAAE,oGACO,gCADP,cACJ+B,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/search-select/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { Form, Row, Col, Button, Notify, SearchSelect } from 'uiw';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/packages/react-search-select/README.md\"\n dependencies={{ Form, Row, Col, Button, Notify, SearchSelect }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-search-select/README.md');\n return md.default || md;\n }}\n />\n);\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Form","Row","Col","Button","Notify","SearchSelect","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[163],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var f="index_docinfo__3Vx8S",k="index_markdown__hcQCp",b=["inline","node"],x=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,b),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,m=c.noCode,f=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:x(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:m,codePen:f})}}}),(0,u.jsx)("div",{className:f,children:(0,u.jsx)(m,{path:a})})]}):null}},11314: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/docs/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(1756).then(t.bind(t,1756));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=163.fc99f5fd.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/163.fc99f5fd.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,oNCEF,SAASU,EAAT,GAAqF,IAArEC,EAAoE,EAApEA,QAASC,EAA2D,EAA3DA,aAAcC,EAA6C,EAA7CA,QAASC,EAAoC,EAApCA,YAAgBC,GAAoB,YAC3FC,GAAuB,UAAQD,GA0DrC,OAzDIF,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,qB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CACEC,QAASA,EACTP,KAAM8C,EAAWG,EAAKE,UACtB3C,aAAcA,EACR6D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQhE,QAAAA,SAMhE,gBAAKwD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA7CX,O,8GCtCX,qBAAe,OACb,SAAC,IAAD,CACEA,KAAK,mFACLgB,YAAU,iBAAE,oGACO,+BADP,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/docs/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport Markdown from '../../../components/Markdown';\n\nexport default () => (\n <Markdown\n path=\"https://github.com/uiwjs/uiw/tree/master/website/src/routes/guide/docs/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","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1756],{1756:function(n,e,t){t.r(e),e.default='\u6587\u6863\u7f16\u8f91\u9884\u89c8\n===\n\n\u6211\u4eec\u4f7f\u7528 [`npm`](https://www.npmjs.com/package/@uiw/doc) \u6765\u7ba1\u7406 `uiw` \u6587\u6863\u7ad9\u70b9\u7684\u7248\u672c\uff0c\u4f7f\u7528 [unpkg.com](https://unpkg.com/@uiw/doc/web/index.html) \u9884\u89c8\u3002\u6587\u6863\u7248\u672c\u7ba1\u7406\uff0c\u662f\u6839\u636e `unpkg` \u5de5\u5177\u652f\u6301\u9759\u6001\u670d\u52a1\u548c\u540c\u6b65 `npm` \u5305\u7684\u7279\u70b9\uff0c\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u7684\u3002\u6240\u4ee5\u6211\u4eec\u5728\u53d1\u5e03 [`uiw`](https://www.npmjs.com/package/uiw) \u5305\u7684\u540c\u65f6\u4f1a\u53d1\u5e03 [`@uiw/doc`](https://www.npmjs.com/package/@uiw/doc) \u5305\uff0c\u7248\u672c\u662f\u540c\u6b65\u7684\u3002\n\n- \u901a\u8fc7 unpkg \u9884\u89c8\u6587\u6863\u7f51\u7ad9\uff1ahttps://unpkg.com/@uiw/doc/web/index.html \n- \u901a\u8fc7 GitHack \u9884\u89c8\u6587\u6863\u7f51\u7ad9\uff1ahttps://raw.githack.com/uiwjs/uiw/gh-pages/index.html\n- \u5b98\u7f51\u5730\u5740\u9884\u89c8\uff1ahttps://uiwjs.github.io/ \n\n\u8fd9\u662f [`v2.0.0+`](https://unpkg.com/@uiw/doc@2.0.1/web/index.html) \u7248\u672c\u9884\u89c8\u65b9\u6cd5\n\n```bash\nhttps://unpkg.com/@uiw/doc@<\u5305\u7248\u672c>/web/index.html\n# \u4f8b\u5982\uff1a\nhttps://unpkg.com/@uiw/doc@2.0.0-beta.12/web/index.html\n```\n\n\u8fd9\u662f [v1.16.14](https://unpkg.com/uiw@1.16.14/dist/index.html) \u7248\u672c\u9884\u89c8\uff0c\u76ee\u524d `v1` \u53ea\u6709\u8fd9\u4e00\u4e2a\u7248\u672c\u53ef\u9884\u89c8\n\n```\nhttps://unpkg.com/uiw@1.16.14/dist/index.html\n```\n\n\u26a0\ufe0f \u6587\u6863\u7f51\u7ad9\u9759\u6001\u8d44\u6e90\u539f\u672c\u653e\u5728 uiw \u5305\u4e2d\uff0c\u7531\u4e8e\u6bcf\u6b21\u5b89\u88c5 uiw \u4f53\u79ef\u8f83\u5927\uff0c\u4e0b\u8f7d\u975e\u5e38\u6162\uff0c\u4ece [`uiw@2.0.0-beta.7+`](https://unpkg.com/@uiw/doc/web/index.html) \u7248\u672c\u5f00\u59cb\u62bd\u79bb\u5230\u5355\u72ec\u7684 [`@uiw/doc`](https://www.npmjs.com/package/@uiw/doc) \u5305\uff0c\u8fdb\u884c\u540c\u6b65\u53d1\u5e03\uff0c\u540e\u9762\u6240\u6709\u7684\u7248\u672c\u5747\u6709\u6587\u6863\u53ef\u9884\u89c8\u3002\n\n### \u6587\u6863\u79bb\u7ebf\u9884\u89c8\n\n\u6839\u636e\u4e0a\u8ff0\u7279\u70b9\uff0c\u53ef\u5c06\u6587\u6863\u7f51\u7ad9\u8d44\u6e90\u4e0b\u8f7d\u5230\u672c\u5730\uff0c\u901a\u8fc7\u7c7b\u4f3c [sgo](https://www.npmjs.com/package/sgo) \u7684\u5de5\u5177\uff0c\u542f\u9759\u6001\u670d\u52a1\u8fdb\u884c\u9884\u89c8\u3002\n\n```bash\n# \u5b89\u88c5\u9759\u6001\u670d\u52a1\u5de5\u5177\n$ mpm install -g sgo\n# \u5b89\u88c5\u4e0b\u8f7d\u6587\u6863\n$ npm install --save-dev @uiw/doc\n$ npm install --save-dev @uiw/doc@2.0.0-beta.12\n\n# \u8fdb\u5165\u76ee\u5f55\ncd node_modules/@uiw/doc/web\nsgo --fallback index.html # \u542f\u52a8\u670d\u52a1\n```\n\n### \u6587\u6863\u7f16\u5199\n\n\u5728 Markdown \u6587\u6863\u4e2d\u7f16\u5199\u4ee3 React \u7801\u5b9e\u4f8b\uff0c\u6587\u6863\u722c\u53d6\u4ee3\u7801\u5b9e\u4f8b\u8fdb\u884c\u9884\u89c8\u3002\n\n\n```markdown\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```js\nconst Demo = () => (\n <div>\n <Button basic type="primary">\u4e3b\u8981\u6309\u94ae</Button>\n </div>\n);\n\\```\n```\n\n\u4f7f\u7528 `\x3c!--rehype:` \u548c `--\x3e` \u6807\u8bc6\u5b57\u7b26\u4e32\uff0c\u653e\u5728\u4ee3\u7801\u9ad8\u4eae\u533a\u57df\u7684\u524d\u9762\uff0c\u6587\u6863\u5c06\u81ea\u52a8\u5339\u914d\uff0c\u8fdb\u884c\u9884\u89c8\u8be5\u533a\u57df\u4ee3\u7801\uff0c\u63d0\u4f9b\u6e90\u7801\u7f16\u8f91\u5668\uff0c\u7f16\u8f91\u5e76\u5b9e\u65f6\u9884\u89c8\u3002\n\n\u88ab\u5305\u88f9\u7684\u6807\u8bc6\u5b57\u7b26\u4e32\u662f `HTML` \u6ce8\u91ca\uff0c\u5728 markdown \u9884\u89c8\u7684\u65f6\u5019\u5c06\u8d77\u5230\u4e0d\u663e\u793a\u7684\u4f5c\u7528\uff0c\u5728 GitHub \u4e2d\u9884\u89c8 `\u6807\u8bc6\u5b57\u7b26\u4e32` \u4f1a\u88ab\u3002\n\n\u6807\u8bc6\u7b26\u5728 `2.0.0+` \u7248\u672c\u6587\u6863\uff0c\u53ef\u4ee5\u4f20\u9012\u53c2\u6570\uff0c\u4f20\u9012\u65b9\u6cd5: \n\n```markdown\n\x3c!--rehype:bgWhite=true&noScroll=true&noCode=true&codeSandbox=true&codePen=true--\x3e\n```\n\n\u53c2\u6570\u7528\u82f1\u6587\u9017\u53f7\u9694\u5f00\n\n- `bgWhite` \u8bbe\u7f6e\u4ee3\u7801\u9884\u89c8\u80cc\u666f\u767d\u8272\uff0c\u5426\u5219\u4e3a\u683c\u5b50\u80cc\u666f\u3002\n- `noCode` \u4e0d\u663e\u793a\u4ee3\u7801\u7f16\u8f91\u5668\u3002 \n- `noPreview` \u4e0d\u663e\u793a\u4ee3\u7801\u9884\u89c8\u6548\u679c\u3002\n- `noScroll` \u9884\u89c8\u533a\u57df\u4e0d\u663e\u793a\u6eda\u52a8\u6761\u3002\n- `codePen` \u663e\u793a Codepen \u6309\u94ae\uff0c\u8981\u7279\u522b\u6ce8\u610f `\u5305\u5bfc\u5165\u7684\u95ee\u9898`\uff0c\u5b9e\u4f8b\u4e2d\u7684 `import` \u4e3b\u8981\u7528\u4e8e Codepen \u4f7f\u7528\u3002\n- `codeSandbox` \u663e\u793a codeSandbox \u6309\u94ae\uff0c\u8981\u7279\u522b\u6ce8\u610f `\u5305\u5bfc\u5165\u7684\u95ee\u9898`\uff0c\u5b9e\u4f8b\u4e2d\u7684 `import` \u4e3b\u8981\u7528\u4e8e Codepen \u4f7f\u7528\u3002\n\n'}}]);
|
|
2
|
-
//# sourceMappingURL=1756.7336ff8d.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1756.7336ff8d.chunk.js","mappings":"+GAAA","sources":["routes/guide/docs/README.md"],"sourcesContent":["export default \"文档编辑预览\\n===\\n\\n我们使用 [`npm`](https://www.npmjs.com/package/@uiw/doc) 来管理 `uiw` 文档站点的版本,使用 [unpkg.com](https://unpkg.com/@uiw/doc/web/index.html) 预览。文档版本管理,是根据 `unpkg` 工具支持静态服务和同步 `npm` 包的特点,来实现这一功能的。所以我们在发布 [`uiw`](https://www.npmjs.com/package/uiw) 包的同时会发布 [`@uiw/doc`](https://www.npmjs.com/package/@uiw/doc) 包,版本是同步的。\\n\\n- 通过 unpkg 预览文档网站:https://unpkg.com/@uiw/doc/web/index.html \\n- 通过 GitHack 预览文档网站:https://raw.githack.com/uiwjs/uiw/gh-pages/index.html\\n- 官网地址预览:https://uiwjs.github.io/ \\n\\n这是 [`v2.0.0+`](https://unpkg.com/@uiw/doc@2.0.1/web/index.html) 版本预览方法\\n\\n```bash\\nhttps://unpkg.com/@uiw/doc@<包版本>/web/index.html\\n# 例如:\\nhttps://unpkg.com/@uiw/doc@2.0.0-beta.12/web/index.html\\n```\\n\\n这是 [v1.16.14](https://unpkg.com/uiw@1.16.14/dist/index.html) 版本预览,目前 `v1` 只有这一个版本可预览\\n\\n```\\nhttps://unpkg.com/uiw@1.16.14/dist/index.html\\n```\\n\\n⚠️ 文档网站静态资源原本放在 uiw 包中,由于每次安装 uiw 体积较大,下载非常慢,从 [`uiw@2.0.0-beta.7+`](https://unpkg.com/@uiw/doc/web/index.html) 版本开始抽离到单独的 [`@uiw/doc`](https://www.npmjs.com/package/@uiw/doc) 包,进行同步发布,后面所有的版本均有文档可预览。\\n\\n### 文档离线预览\\n\\n根据上述特点,可将文档网站资源下载到本地,通过类似 [sgo](https://www.npmjs.com/package/sgo) 的工具,启静态服务进行预览。\\n\\n```bash\\n# 安装静态服务工具\\n$ mpm install -g sgo\\n# 安装下载文档\\n$ npm install --save-dev @uiw/doc\\n$ npm install --save-dev @uiw/doc@2.0.0-beta.12\\n\\n# 进入目录\\ncd node_modules/@uiw/doc/web\\nsgo --fallback index.html # 启动服务\\n```\\n\\n### 文档编写\\n\\n在 Markdown 文档中编写代 React 码实例,文档爬取代码实例进行预览。\\n\\n\\n```markdown\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```js\\nconst Demo = () => (\\n <div>\\n <Button basic type=\\\"primary\\\">主要按钮</Button>\\n </div>\\n);\\n\\\\```\\n```\\n\\n使用 `<!--rehype:` 和 `-->` 标识字符串,放在代码高亮区域的前面,文档将自动匹配,进行预览该区域代码,提供源码编辑器,编辑并实时预览。\\n\\n被包裹的标识字符串是 `HTML` 注释,在 markdown 预览的时候将起到不显示的作用,在 GitHub 中预览 `标识字符串` 会被。\\n\\n标识符在 `2.0.0+` 版本文档,可以传递参数,传递方法: \\n\\n```markdown\\n<!--rehype:bgWhite=true&noScroll=true&noCode=true&codeSandbox=true&codePen=true-->\\n```\\n\\n参数用英文逗号隔开\\n\\n- `bgWhite` 设置代码预览背景白色,否则为格子背景。\\n- `noCode` 不显示代码编辑器。 \\n- `noPreview` 不显示代码预览效果。\\n- `noScroll` 预览区域不显示滚动条。\\n- `codePen` 显示 Codepen 按钮,要特别注意 `包导入的问题`,实例中的 `import` 主要用于 Codepen 使用。\\n- `codeSandbox` 显示 codeSandbox 按钮,要特别注意 `包导入的问题`,实例中的 `import` 主要用于 Codepen 使用。\\n\\n\";"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1820],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.path,t=/^http/.test(n||"")?n:"https://github.com/uiwjs/uiw/blob/master/".concat(n);return(0,u.jsxs)(s.Fragment,{children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",t&&(0,u.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(h.iz,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}var m="index_docinfo__3Vx8S",k="index_markdown__hcQCp",x=["inline","node"],b=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function j(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),j=h[0],v=h[1],g=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){v(e)})).catch((function(){}))}),[]),j?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:j,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,x),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:g,code:b(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},29206:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-auto-link/README.md",dependencies:{AutoLink:s.EX},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(1016).then(t.bind(t,1016));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=1820.243b7e89.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
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AEVC,OAAM,iBAGV,IAEEN,GAKH,4BACE,SAAC,IAAD,CACEO,OAAQP,EACRQ,UAAWC,EACXC,WAAY,CASVnE,KAAM,YAAiC,IAA9BoE,EAA6B,EAA7BA,OAAQnB,EAAqB,EAArBA,KAASrC,GAAY,YACpC,EAAoEA,EAA5DyD,EAAR,EAAQA,UAAWC,EAAnB,EAAmBA,SAAUC,EAA7B,EAA6BA,SAAUC,EAAvC,EAAuCA,QAASC,EAAhD,EAAgDA,OAAQhE,EAAxD,EAAwDA,QACxD,GAAI2D,EACF,OAAO,2BAAUxD,IAEnB,IAAM8D,EAAS,CACbL,UAAAA,EACAC,SAAAA,EACAC,SAAAA,EACAC,QAAAA,EACAC,OAAAA,EACAhE,QAAAA,GAEF,OAAgF,IAA5EkE,OAAO1E,KAAKyE,GAAQE,QAAO,SAACpD,GAAD,YAA2BqD,IAAjBH,EAAOlD,MAAqBsD,QAC5D,2BAAUlE,KAGjB,SAACN,EAAD,CACEC,QAASA,EACTP,KAAM8C,EAAWG,EAAKE,UACtB3C,aAAcA,EACR6D,UAAAA,EAAWC,SAAAA,EAAUC,SAAAA,EAAUC,QAAAA,EAASC,OAAAA,EAAQhE,QAAAA,SAMhE,gBAAKwD,UAAWC,EAAhB,UACE,SAACa,EAAD,CAAQxC,KAAMA,SA7CX,O,+JCrCI,SAASyC,IACtB,OACE,SAAC,IAAD,CACEzC,KAAK,8EACL/B,aAAc,CAAEyE,SAAAA,EAAAA,IAChB1B,YAAU,iBAAE,oGACO,+BADP,cACJ2B,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/auto-link/index.tsx"],"sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 84934;\nmodule.exports = webpackEmptyContext;","import CodePreview, { CodePreviewProps } from '@uiw/react-code-preview';\n\nexport interface CodeProps extends CodePreviewProps {\n code: string;\n version: string;\n codePen: boolean;\n codeSandbox?: boolean;\n dependencies: any;\n}\n\nexport default function Code({ version, dependencies, codePen, codeSandbox, ...other }: CodeProps) {\n const props: CodePreviewProps = { ...other };\n if (codePen) {\n props.codePenOption = {\n title: `uiw${version} - demo`,\n includeModule: ['uiw'],\n js: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n html: '<div id=\"container\" style=\"padding: 24px\"></div>',\n css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,\n js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n };\n }\n if (codeSandbox) {\n props.codeSandboxOption = {\n files: {\n 'sandbox.config.json': {\n content: `{\n \"template\": \"node\",\n \"container\": {\n \"startScript\": \"start\",\n \"node\": \"14\"\n }\n }`,\n },\n 'public/index.html': {\n content: `<div id=\"container\"></div>`,\n },\n 'src/index.js': {\n content: (props.code || '').replace('_mount_', 'document.getElementById(\"container\")'),\n },\n '.kktrc.js': {\n content: `import webpack from \"webpack\";\\nimport lessModules from \"@kkt/less-modules\";\\nexport default (conf, env, options) => {\\nconf = lessModules(conf, env, options);\\nreturn conf;\\n};`,\n },\n 'package.json': {\n content: {\n name: 'uiw-demo',\n description: `uiw v${version} - demo`,\n dependencies: {\n react: 'latest',\n 'react-dom': 'latest',\n uiw: 'latest',\n },\n devDependencies: {\n '@kkt/less-modules': '6.9.0',\n kkt: '6.9.0',\n typescript: '4.1.3',\n },\n license: 'MIT',\n scripts: {\n start: 'kkt start',\n build: 'kkt build',\n test: 'kkt test --env=jsdom',\n },\n browserslist: ['>0.2%', 'not dead', 'not ie <= 11', 'not op_mini all'],\n },\n },\n },\n };\n }\n return <CodePreview {...props} dependencies={dependencies} style={{ marginBottom: 0 }} />;\n}\n","import React, { Fragment } from 'react';\nimport { Divider } from 'uiw';\n\nexport type FooterProps = {\n path?: string;\n};\n\nexport default function (props: FooterProps = {}) {\n const { path } = props;\n const url = /^http/.test(path || '') ? path : `https://github.com/uiwjs/uiw/blob/master/${path}`;\n return (\n <Fragment>\n 犯了错误还是想对文件做出贡献?\n {url && (\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n 在Github上编辑本页!\n </a>\n )}\n <br />\n <a href=\"https://github.com/uiwjs/uiw/issues\" target=\"_blank\" rel=\"noopener noreferrer\">\n 反馈建议\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw/issues/new\">\n 提交bug\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/uiwjs/uiw\">\n Github\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt\">\n kkt\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/kktjs/kkt-ssr\">\n @kkt/ssr\n </a>\n <Divider type=\"vertical\" />\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"http://uiw.gitee.io\">\n 国内镜像\n </a>\n </Fragment>\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"docinfo\":\"index_docinfo__3Vx8S\",\"markdown\":\"index_markdown__hcQCp\"};","import { useEffect, useState } from 'react';\nimport MarkdownPreview from '@uiw/react-markdown-preview';\nimport pkg from 'uiw/package.json';\nimport Code from './Code';\nimport Footer from './Footer';\nimport styles from './index.module.less';\n\nexport type CreatePageProps<T> = {\n dependencies?: T;\n path: string;\n renderPage?: () => Promise<string>;\n};\n\nconst getCodeStr = (data: any[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport default function CreatePage<T>(props: CreatePageProps<T>) {\n const { renderPage, dependencies, path } = props;\n const [mdStr, setMdStr] = useState('');\n\n const version = pkg.version || '2.0.0';\n useEffect(() => {\n if (renderPage) {\n renderPage()\n .then((str) => {\n setMdStr(str);\n })\n .catch(() => {});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!mdStr) {\n return null;\n }\n\n return (\n <div>\n <MarkdownPreview\n source={mdStr}\n className={styles.markdown}\n components={{\n /**\n * bordered 边框\n * bgWhite 设置代码预览背景白色,否则为格子背景。\n * noCode 不显示代码编辑器。\n * noPreview 不显示代码预览效果。\n * noScroll 预览区域不显示滚动条。\n * codePen 显示 Codepen 按钮,要特别注意 包导入的问题,实例中的 import 主要用于 Codepen 使用。\n */\n code: ({ inline, node, ...props }) => {\n const { noPreview, bordered, noScroll, bgWhite, noCode, codePen } = props as any;\n if (inline) {\n return <code {...props} />;\n }\n const config = {\n noPreview,\n bordered,\n noScroll,\n bgWhite,\n noCode,\n codePen,\n } as any;\n if (Object.keys(config).filter((name) => config[name] !== undefined).length === 0) {\n return <code {...props} />;\n }\n return (\n <Code\n version={version}\n code={getCodeStr(node.children)}\n dependencies={dependencies}\n {...{ noPreview, bordered, noScroll, bgWhite, noCode, codePen }}\n />\n );\n },\n }}\n />\n <div className={styles.docinfo}>\n <Footer path={path} />\n </div>\n </div>\n );\n}\n","import React from 'react';\nimport { AutoLink } 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-auto-link/README.md\"\n dependencies={{ AutoLink }}\n renderPage={async () => {\n const md = await import('uiw/node_modules/@uiw/react-auto-link/README.md');\n return md.default || md;\n }}\n />\n );\n}\n"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","id","module","exports","Code","version","dependencies","codePen","codeSandbox","other","props","codePenOption","title","includeModule","js","replace","html","css_external","js_external","codeSandboxOption","files","content","name","description","react","uiw","devDependencies","kkt","typescript","license","scripts","start","build","test","browserslist","style","marginBottom","path","url","Fragment","href","target","rel","type","getCodeStr","data","forEach","node","value","children","Array","isArray","CreatePage","renderPage","useState","mdStr","setMdStr","pkg","useEffect","then","str","catch","source","className","styles","components","inline","noPreview","bordered","noScroll","bgWhite","noCode","config","Object","filter","undefined","length","Footer","Page","AutoLink","md","default"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1971],{71971:function(e,n,t){t.r(n),n.default='Select \u9009\u62e9\u5668\n===\n\n\u5f53\u9009\u9879\u8fc7\u591a\u65f6\uff0c\u4f7f\u7528\u4e0b\u62c9\u83dc\u5355\u5c55\u793a\u5e76\u9009\u62e9\u5185\u5bb9\u3002\n\n```jsx\nimport { Select } from \'uiw\';\n// or\nimport Select from \'@uiw/react-select\';\n```\n\n### \u57fa\u7840\u7528\u6cd5\n\n\u9002\u7528\u5e7f\u6cdb\u7684\u57fa\u7840\u5355\u9009 `value` \u7684\u503c\u4e3a\u5f53\u524d\u88ab\u9009\u4e2d\u7684 `Option` \u7684 `value` \u5c5e\u6027\u503c\u3002\u81ea\u5b9a\u4e49 `Select` \u8bf7\u67e5\u770b [`<Dropdown />`](#/components/dropdown) \u7ec4\u4ef6\u5b9e\u4f8b\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col, Select } from \'uiw\';\n\nconst Demo = () => (\n <Row>\n <Col fixed>\n <Select defaultValue="w">\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n </Col>\n </Row>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n\n### \u7981\u7528\u9009\u62e9\u5668\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col, Select } from \'uiw\';\n\nconst Demo = () => (\n <Row>\n <Col fixed>\n <Select disabled defaultValue="3">\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n </Col>\n </Row>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n\n### \u5c3a\u5bf8\n\n\u901a\u8fc7 `size` \u5c5e\u6027\u8bbe\u7f6e\u9009\u62e9\u5668\u7684\u5c3a\u5bf8\uff0c\u63d0\u4f9b\u4e09\u4e2a\u5c3a\u5bf8\u53c2\u6570\u8bbe\u7f6e\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col, Select, Button } from \'uiw\';\n\nconst rowSty = { marginBottom: 10 };\nconst Demo = () => (\n <div>\n <Row gutter={10}>\n <Col fixed>\n <Select size="small" disabled defaultValue="3" style={rowSty}>\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n </Col>\n <Col fixed>\n <Button size="small">\u5c0f\u5c3a\u5bf8</Button>\n </Col>\n </Row>\n <Row gutter={10} style={rowSty}>\n <Col fixed>\n <Select defaultValue="3">\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n </Col>\n <Col fixed>\n <Button size="default">\u9ed8\u8ba4\u5c3a\u5bf8</Button>\n </Col>\n </Row>\n <Row gutter={10}>\n <Col fixed>\n <Select size="large" defaultValue="3">\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n </Col>\n <Col fixed>\n <Button size="large">\u5927\u5c3a\u5bf8</Button>\n </Col>\n </Row>\n </div>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u9009\u9879\u7ec4\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col, Select } from \'uiw\';\n\nconst Option = Select.Option;\nconst Group = Select.Group;\n\nconst Demo = () => (\n <Row>\n <Col fixed>\n <Select defaultValue="w">\n <Option value="w">Choose an item...</Option>\n <Group label="Group 1">\n <Option value="1">One</Option>\n <Option value="2">Two</Option>\n </Group>\n <Group label="Group 2">\n <Option value="3">Three</Option>\n <Option value="4">Four</Option>\n </Group>\n </Select>\n </Col>\n </Row>\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 [`<Select />`](#/components/select) \u7ec4\u4ef6\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Form, Row, Col, Select, Button, Notify } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Form\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.selectField) {\n errorObj.selectField = \'\u9ed8\u8ba4\u9700\u8981\u9009\u62e9\u5185\u5bb9\uff0c\u9009\u62e9\u5165\u5185\u5bb9\';\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\u9009\u62e9\u503c\u4e3a\uff1a${current.selectField}\uff0c\u5c06\u81ea\u52a8\u586b\u5145\u521d\u59cb\u5316\u503c\uff01`,\n });\n }}\n fields={{\n selectField: {\n children: (\n <Select>\n <Select.Option value="w">Choose an item...</Select.Option>\n <Select.Option value="1">One</Select.Option>\n <Select.Option value="2">Two</Select.Option>\n <Select.Option value="3">Three</Select.Option>\n <Select.Option value="4">Four</Select.Option>\n </Select>\n )\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n return (\n <div>\n <Row>\n <Col fixed>{fields.selectField}</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### HTML select\n\n\u8fd9\u4e2a\u7ec4\u4ef6\u662f\u6700\u7b80\u5355\u7684\u57fa\u7840\u6837\u5f0f\u7ec4\u4ef6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5f15\u7528\u6837\u5f0f\uff0c\u4f7f\u7528 `w-select` \u7eaf\u6837\u5f0f\u5373\u53ef\u8fbe\u5230\u6548\u679c\uff0c\u4e0b\u62c9\u6846\u53f3\u8fb9\u7bad\u5934\u6548\u679c\u901a\u8fc7\u6837\u5f0f\u66f4\u6539\uff0c\u901a\u8fc7 [`b64`](http://b64.io/) \u5de5\u5177\uff0c\u8f6c\u6362\u6210 `base64` \u683c\u5f0f\u3002\n\n```jsx\nimport \'uiw/lib/esm/select/style/index.less\';\n```\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Row, Col, Select } from \'uiw\';\n\nconst Demo = () => (\n <Row style={{ backgroundColor: \'#fff\', margin: -15, padding: 15, borderRadius: \'5px 5px 0 0\' }} gutter={10}>\n <Col fixed>\n <select className="w-select" defaultValue="w">\n <option value="w">Choose an item...</option>\n <option value="1">One</option>\n <option value="2">Two</option>\n <option value="3">Three</option>\n <option value="4">Four</option>\n </select>\n </Col>\n <Col fixed>\n <select disabled className="w-select" defaultValue="w">\n <option value="w">Choose an item...</option>\n <option value="1">One</option>\n <option value="2">Two</option>\n <option value="3">Three</option>\n <option value="4">Four</option>\n </select>\n </Col>\n </Row>\n);\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Select\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u63a7\u5236\u65f6 `select` \u7684\u503c\u5fc5\u987b\u4e0e `onChange` \u51fd\u6570\u4e00\u8d77\u4f7f\u7528\u624d\u80fd\u66f4\u65b0 `select` \u7684\u503c | Any | - |\n| disabled | \u7981\u7528\u9009\u62e9\u5668 | Boolean | `false` |\n| defaultValue | \u6839\u636e `value` \u8fdb\u884c\u6bd4\u8f83\uff0c\u5224\u65ad\u662f\u5426\u9009\u4e2d | Any | - |\n| size | \u9009\u62e9\u6846\u5c3a\u5bf8 | Enum {`large`, `default`, `small` } | `default` |\n'}}]);
|
|
2
|
-
//# sourceMappingURL=1971.043ba73e.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/1971.043ba73e.chunk.js","mappings":"gHAAA","sources":["../../packages/react-select/README.md"],"sourcesContent":["export default \"Select 选择器\\n===\\n\\n当选项过多时,使用下拉菜单展示并选择内容。\\n\\n```jsx\\nimport { Select } from 'uiw';\\n// or\\nimport Select from '@uiw/react-select';\\n```\\n\\n### 基础用法\\n\\n适用广泛的基础单选 `value` 的值为当前被选中的 `Option` 的 `value` 属性值。自定义 `Select` 请查看 [`<Dropdown />`](#/components/dropdown) 组件实例。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col, Select } from 'uiw';\\n\\nconst Demo = () => (\\n <Row>\\n <Col fixed>\\n <Select defaultValue=\\\"w\\\">\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n </Col>\\n </Row>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n\\n### 禁用选择器\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col, Select } from 'uiw';\\n\\nconst Demo = () => (\\n <Row>\\n <Col fixed>\\n <Select disabled defaultValue=\\\"3\\\">\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n </Col>\\n </Row>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n\\n### 尺寸\\n\\n通过 `size` 属性设置选择器的尺寸,提供三个尺寸参数设置。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col, Select, Button } from 'uiw';\\n\\nconst rowSty = { marginBottom: 10 };\\nconst Demo = () => (\\n <div>\\n <Row gutter={10}>\\n <Col fixed>\\n <Select size=\\\"small\\\" disabled defaultValue=\\\"3\\\" style={rowSty}>\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n </Col>\\n <Col fixed>\\n <Button size=\\\"small\\\">小尺寸</Button>\\n </Col>\\n </Row>\\n <Row gutter={10} style={rowSty}>\\n <Col fixed>\\n <Select defaultValue=\\\"3\\\">\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n </Col>\\n <Col fixed>\\n <Button size=\\\"default\\\">默认尺寸</Button>\\n </Col>\\n </Row>\\n <Row gutter={10}>\\n <Col fixed>\\n <Select size=\\\"large\\\" defaultValue=\\\"3\\\">\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n </Col>\\n <Col fixed>\\n <Button size=\\\"large\\\">大尺寸</Button>\\n </Col>\\n </Row>\\n </div>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 选项组\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col, Select } from 'uiw';\\n\\nconst Option = Select.Option;\\nconst Group = Select.Group;\\n\\nconst Demo = () => (\\n <Row>\\n <Col fixed>\\n <Select defaultValue=\\\"w\\\">\\n <Option value=\\\"w\\\">Choose an item...</Option>\\n <Group label=\\\"Group 1\\\">\\n <Option value=\\\"1\\\">One</Option>\\n <Option value=\\\"2\\\">Two</Option>\\n </Group>\\n <Group label=\\\"Group 2\\\">\\n <Option value=\\\"3\\\">Three</Option>\\n <Option value=\\\"4\\\">Four</Option>\\n </Group>\\n </Select>\\n </Col>\\n </Row>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 在表单中使用\\n\\n在 [`<Form />`](#/components/form) 表单中应用 [`<Select />`](#/components/select) 组件\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Row, Col, Select, Button, Notify } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Form\\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.selectField) {\\n errorObj.selectField = '默认需要选择内容,选择入内容';\\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.selectField},将自动填充初始化值!`,\\n });\\n }}\\n fields={{\\n selectField: {\\n children: (\\n <Select>\\n <Select.Option value=\\\"w\\\">Choose an item...</Select.Option>\\n <Select.Option value=\\\"1\\\">One</Select.Option>\\n <Select.Option value=\\\"2\\\">Two</Select.Option>\\n <Select.Option value=\\\"3\\\">Three</Select.Option>\\n <Select.Option value=\\\"4\\\">Four</Select.Option>\\n </Select>\\n )\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n return (\\n <div>\\n <Row>\\n <Col fixed>{fields.selectField}</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### HTML select\\n\\n这个组件是最简单的基础样式组件,可以直接引用样式,使用 `w-select` 纯样式即可达到效果,下拉框右边箭头效果通过样式更改,通过 [`b64`](http://b64.io/) 工具,转换成 `base64` 格式。\\n\\n```jsx\\nimport 'uiw/lib/esm/select/style/index.less';\\n```\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Row, Col, Select } from 'uiw';\\n\\nconst Demo = () => (\\n <Row style={{ backgroundColor: '#fff', margin: -15, padding: 15, borderRadius: '5px 5px 0 0' }} gutter={10}>\\n <Col fixed>\\n <select className=\\\"w-select\\\" defaultValue=\\\"w\\\">\\n <option value=\\\"w\\\">Choose an item...</option>\\n <option value=\\\"1\\\">One</option>\\n <option value=\\\"2\\\">Two</option>\\n <option value=\\\"3\\\">Three</option>\\n <option value=\\\"4\\\">Four</option>\\n </select>\\n </Col>\\n <Col fixed>\\n <select disabled className=\\\"w-select\\\" defaultValue=\\\"w\\\">\\n <option value=\\\"w\\\">Choose an item...</option>\\n <option value=\\\"1\\\">One</option>\\n <option value=\\\"2\\\">Two</option>\\n <option value=\\\"3\\\">Three</option>\\n <option value=\\\"4\\\">Four</option>\\n </select>\\n </Col>\\n </Row>\\n);\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Select\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 控制时 `select` 的值必须与 `onChange` 函数一起使用才能更新 `select` 的值 | Any | - |\\n| disabled | 禁用选择器 | Boolean | `false` |\\n| defaultValue | 根据 `value` 进行比较,判断是否选中 | Any | - |\\n| size | 选择框尺寸 | Enum {`large`, `default`, `small` } | `default` |\\n\";"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[207],{40207:function(n,e,r){r.r(e),e.default='Rate \u8bc4\u5206\n===\n\n\u8bc4\u5206\u7ec4\u4ef6\n\n```jsx\nimport { Rate } from \'uiw\';\n// or\nimport Rate from \'@uiw/react-rate\';\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 ReactDOM from \'react-dom\';\nimport { Rate, Divider, Icon } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Rate value={3} />\n <Divider />\n <Rate allowHalf character={<Icon type="star-on" />} value={2.5} />\n <Divider />\n <Rate color="#393E48" character="\u2606" value={4} />\n <Divider />\n <Rate color="#28a745" character={<Icon type="heart-on" />} value={3} />\n <Divider />\n <Rate color="#dc3545" character="\u273f" value={4} />\n </div>\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 [`<Rate />`](#/components/rate) \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, Rate, 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.rate < 2) {\n errorObj.rate = \'\u8bc4\u5206\u4f4e\u4e8e 2 \u62d2\u7edd\u63d0\u4ea4\u8bc4\u5206\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\u9009\u62e9\u503c\u4e3a\uff1a${current.rate}\uff01`,\n });\n }}\n fields={{\n rate: {\n initialValue: 3,\n children: <Rate style={{ fontSize: 14 }} character={<Icon type="star-on" />} />\n },\n }}\n >\n {({ fields, state, canSubmit }) => {\n return (\n <div>\n <Row>\n <Col fixed>{fields.rate}</Col>\n </Row>\n <Row>\n <Col fixed>\n <Button size="small" 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### \u53d7\u63a7\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Rate, Divider, Icon, RadioGroup, Radio } from \'uiw\';\n\nconst Demo = () => {\n const [value, setValue] = React.useState(4);\n return (\n <div>\n <Rate readOnly value={value} character={<Icon type="star-on" />} />\n <Divider />\n <RadioGroup value={value} onChange={(e) => {\n setValue(e.target.value);\n }}>\n <Radio value="0">\u9009\u62e9 0 \u661f</Radio>\n <Radio value="1">\u9009\u62e9 1 \u661f</Radio>\n <Radio value="2">\u9009\u62e9 2 \u661f</Radio>\n <Radio value="3">\u9009\u62e9 3 \u661f</Radio>\n </RadioGroup>\n </div>\n )\n}\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u53ea\u8bfb\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 ReactDOM from \'react-dom\';\nimport { Rate, Divider, Icon } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Rate readOnly value={3} />\n <Divider />\n <Rate readOnly character="\u2606" value={4} />\n <Divider />\n <Rate readOnly character={<Icon type="heart-on" />} value={3.5} />\n <Divider />\n <Rate readOnly character="\u273f" value={4} />\n </div>\n)\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u6587\u672c\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 ReactDOM from \'react-dom\';\nimport { Rate, Divider } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Rate character="\u7f8e" value={4} />\n <Divider />\n <Rate color="#d80000" character="\u597d" value={3} />\n <Divider />\n <Rate character="\u4f20" value={4} />\n </div>\n)\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u534a\u9009\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Rate, Divider, Icon } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Rate allowHalf character={<Icon type="heart-on" />} value={3.3} />\n <Divider />\n <Rate allowHalf color="#d80000" character={<Icon type="heart-on" />} value={4.3} />\n </div>\n);\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n### \u5c3a\u5bf8\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Rate, Divider, Icon } from \'uiw\';\n\nconst Demo = () => (\n <div>\n <Rate style={{ fontSize: 34 }} character={<Icon type="heart-on" />} value={3} />\n </div>\n)\n\nReactDOM.render(<Demo />, _mount_);\n```\n\n## Rate\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| value | \u6839\u636e value \u8fdb\u884c\u6bd4\u8f83\uff0c\u5224\u65ad\u662f\u5426\u9009\u4e2d | Number | - |\n| count | star \u603b\u6570 | Number | `5` |\n| readOnly | \u53ea\u8bfb\uff0c\u65e0\u6cd5\u8fdb\u884c\u4ea4\u4e92 | Boolean | `false` |\n| allowHalf | \u662f\u5426\u5141\u8bb8\u534a\u9009 | Boolean | `false` |\n| character | \u81ea\u5b9a\u4e49\u5b57\u7b26 | ReactNode | - |\n| color | \u81ea\u5b9a\u4e49 Star \u7684\u989c\u8272 | String | - |\n| className | \u81ea\u5b9a\u4e49\u6837\u5f0f\u7c7b\u540d | String | - |\n| onChange | \u6570\u503c\u6539\u53d8\u65f6\u7684\u56de\u8c03\uff0c\u8fd4\u56de\u5f53\u524d\u503c | Funtcion(e:Even,value) | - |\n| onHoverChange | \u9f20\u6807\u7ecf\u8fc7\u65f6\u6570\u503c\u53d8\u5316\u7684\u56de\u8c03 | Funtcion(e:Even,value) | - |\n'}}]);
|
|
2
|
-
//# sourceMappingURL=207.32dfc25c.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/207.32dfc25c.chunk.js","mappings":"+GAAA","sources":["../../packages/react-rate/README.md"],"sourcesContent":["export default \"Rate 评分\\n===\\n\\n评分组件\\n\\n```jsx\\nimport { Rate } from 'uiw';\\n// or\\nimport Rate from '@uiw/react-rate';\\n```\\n\\n### 基本用法\\n\\n按钮样式的单选组合。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider, Icon } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Rate value={3} />\\n <Divider />\\n <Rate allowHalf character={<Icon type=\\\"star-on\\\" />} value={2.5} />\\n <Divider />\\n <Rate color=\\\"#393E48\\\" character=\\\"☆\\\" value={4} />\\n <Divider />\\n <Rate color=\\\"#28a745\\\" character={<Icon type=\\\"heart-on\\\" />} value={3} />\\n <Divider />\\n <Rate color=\\\"#dc3545\\\" character=\\\"✿\\\" value={4} />\\n </div>\\n)\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 在表单中使用\\n\\n在 [`<Form />`](#/components/form) 表单中应用 [`<Rate />`](#/components/rate) 组件\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Form, Row, Col, Icon, Rate, 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.rate < 2) {\\n errorObj.rate = '评分低于 2 拒绝提交评分!';\\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.rate}!`,\\n });\\n }}\\n fields={{\\n rate: {\\n initialValue: 3,\\n children: <Rate style={{ fontSize: 14 }} character={<Icon type=\\\"star-on\\\" />} />\\n },\\n }}\\n >\\n {({ fields, state, canSubmit }) => {\\n return (\\n <div>\\n <Row>\\n <Col fixed>{fields.rate}</Col>\\n </Row>\\n <Row>\\n <Col fixed>\\n <Button size=\\\"small\\\" 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<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider, Icon, RadioGroup, Radio } from 'uiw';\\n\\nconst Demo = () => {\\n const [value, setValue] = React.useState(4);\\n return (\\n <div>\\n <Rate readOnly value={value} character={<Icon type=\\\"star-on\\\" />} />\\n <Divider />\\n <RadioGroup value={value} onChange={(e) => {\\n setValue(e.target.value);\\n }}>\\n <Radio value=\\\"0\\\">选择 0 星</Radio>\\n <Radio value=\\\"1\\\">选择 1 星</Radio>\\n <Radio value=\\\"2\\\">选择 2 星</Radio>\\n <Radio value=\\\"3\\\">选择 3 星</Radio>\\n </RadioGroup>\\n </div>\\n )\\n}\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 只读\\n\\n按钮样式的单选组合。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider, Icon } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Rate readOnly value={3} />\\n <Divider />\\n <Rate readOnly character=\\\"☆\\\" value={4} />\\n <Divider />\\n <Rate readOnly character={<Icon type=\\\"heart-on\\\" />} value={3.5} />\\n <Divider />\\n <Rate readOnly character=\\\"✿\\\" value={4} />\\n </div>\\n)\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 文本\\n\\n按钮样式的单选组合。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Rate character=\\\"美\\\" value={4} />\\n <Divider />\\n <Rate color=\\\"#d80000\\\" character=\\\"好\\\" value={3} />\\n <Divider />\\n <Rate character=\\\"传\\\" value={4} />\\n </div>\\n)\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 半选\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider, Icon } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Rate allowHalf character={<Icon type=\\\"heart-on\\\" />} value={3.3} />\\n <Divider />\\n <Rate allowHalf color=\\\"#d80000\\\" character={<Icon type=\\\"heart-on\\\" />} value={4.3} />\\n </div>\\n);\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n### 尺寸\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Rate, Divider, Icon } from 'uiw';\\n\\nconst Demo = () => (\\n <div>\\n <Rate style={{ fontSize: 34 }} character={<Icon type=\\\"heart-on\\\" />} value={3} />\\n </div>\\n)\\n\\nReactDOM.render(<Demo />, _mount_);\\n```\\n\\n## Rate\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| value | 根据 value 进行比较,判断是否选中 | Number | - |\\n| count | star 总数 | Number | `5` |\\n| readOnly | 只读,无法进行交互 | Boolean | `false` |\\n| allowHalf | 是否允许半选 | Boolean | `false` |\\n| character | 自定义字符 | ReactNode | - |\\n| color | 自定义 Star 的颜色 | String | - |\\n| className | 自定义样式类名 | String | - |\\n| onChange | 数值改变时的回调,返回当前值 | Funtcion(e:Even,value) | - |\\n| onHoverChange | 鼠标经过时数值变化的回调 | Funtcion(e:Even,value) | - |\\n\";"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2078],{82078:function(n,e,r){r.r(e),e.default='Avatar \u5934\u50cf\n===\n\n\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002\n\n```jsx\nimport { Avatar } from \'uiw\';\n// or\nimport Avatar from \'@uiw/react-avatar\';\n```\n\n## \u57fa\u672c\u7528\u6cd5\n\n\u5934\u50cf\u6709\u56db\u79cd\u5c3a\u5bf8\uff0c\u4e24\u79cd\u5f62\u72b6\u53ef\u9009\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Avatar, Icon } from \'uiw\';\n\nReactDOM.render(\n <div>\n <div style={{ paddingBottom: 20 }}>\n <Avatar size="large" icon={<Icon type="user"/>} />\n <Avatar icon="user" />\n <Avatar size="small" icon="user" />\n <Avatar size="mini" icon={<Icon type="user"/>} />\n </div>\n <div>\n <Avatar shape="square" size="large" icon="user" />\n <Avatar shape="square" icon="user" />\n <Avatar shape="square" size="small" icon="user" />\n <Avatar shape="square" size="mini" icon="user" />\n </div>\n </div>,\n _mount_\n);\n```\n\n## \u5176\u5b83\u7c7b\u578b\n\n\u652f\u6301\u4e09\u79cd\u7c7b\u578b\uff1aIcon \u4ee5\u53ca\u5b57\u7b26\uff0c\u5176\u4e2d Icon \u548c\u5b57\u7b26\u578b\u53ef\u4ee5\u81ea\u5b9a\u4e49\u56fe\u6807\u989c\u8272\u53ca\u80cc\u666f\u8272\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Avatar, Icon } from \'uiw\';\n\nReactDOM.render(\n <div>\n <Avatar icon={<Icon type="user"/>} />\n <Avatar>U</Avatar>\n <Avatar src="https://avatars2.githubusercontent.com/u/1680273?s=40&v=4" />\n <Avatar style={{ color: \'#f56a00\', backgroundColor: \'#fde3cf\' }}>U</Avatar>\n <Avatar style={{ backgroundColor: \'#87d068\' }} icon="user" />\n </div>,\n _mount_\n);\n```\n\n## \u56fe\u7247\u652f\u6301\n\n\u5728\u7ec4\u4ef6\u4e0a\u4f7f\u7528`onError`\u4e8b\u4ef6\uff0c\u5904\u7406\u663e\u793a\u9519\u8bef\u7684\u56fe\u7247\u3002\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Avatar, Icon } from \'uiw\';\n\nconst App = () => {\n const [src, setSrc] = React.useState(\'https://avatars2.githubusercontent.com/ua/1680273?s=40&v=4\')\n return (\n <div>\n <Avatar\n src=\'https://avatars2.githubusercontent.com/ua/1680273?s=40&v=4\'\n onError={(e) => {\n if (e) {\n e.target.src = \'https://avatars2.githubusercontent.com/u/1680275?s=40&v=4\'\n }\n return false;\n }}\n />\n <Avatar\n src={src}\n onError={(e) => {\n if (e) {\n setSrc(\'https://avatars2.githubusercontent.com/u/1680275?s=40&v=4\');\n }\n }}\n />\n </div>\n )\n}\n\nReactDOM.render(<App />, _mount_);\n```\n\n## \u5e26\u5fbd\u6807\u7684\u5934\u50cf\n\n\x3c!--rehype:bgWhite=true&codeSandbox=true&codePen=true--\x3e\n```jsx\nimport ReactDOM from \'react-dom\';\nimport { Avatar, Badge } from \'uiw\';\n\nReactDOM.render(\n <div>\n <span style={{ marginRight: 24 }}>\n <Badge count={1}><Avatar shape="square" icon="user" /></Badge>\n </span>\n <span>\n <Badge dot><Avatar shape="square" icon="user" /></Badge>\n </span>\n </div>,\n _mount_\n);\n```\n\n## Props\n\n| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c |\n|--------- |-------- |--------- |-------- |\n| icon | \u8bbe\u7f6e\u5934\u50cf\u7684\u56fe\u6807\u7c7b\u578b\uff0c\u53c2\u8003 Icon \u7ec4\u4ef6 | String\u3001ReactNode | - |\n| shape | \u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6 `square` \u6b63\u65b9\u5f62\u6216\u8005 `circle` \u5706\t | Enum{\'`circle`\', \'`square`\' } | - |\n| size | \u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f | Enum{ \'`large`\', \'`small`\',\'`mini`\', \'`default`\' } | `default` |\n| src | \u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740 | String | - |\n| alt | \u89c4\u5b9a\u56fe\u50cf\u7684\u66ff\u4ee3\u6587\u672c | String | - |\n| onError | \u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a | () => boolean | - |\n'}}]);
|
|
2
|
-
//# sourceMappingURL=2078.b790ef29.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2078.b790ef29.chunk.js","mappings":"gHAAA","sources":["../../packages/react-avatar/README.md"],"sourcesContent":["export default \"Avatar 头像\\n===\\n\\n用来代表用户或事物,支持图片、图标或字符展示。\\n\\n```jsx\\nimport { Avatar } from 'uiw';\\n// or\\nimport Avatar from '@uiw/react-avatar';\\n```\\n\\n## 基本用法\\n\\n头像有四种尺寸,两种形状可选。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Avatar, Icon } from 'uiw';\\n\\nReactDOM.render(\\n <div>\\n <div style={{ paddingBottom: 20 }}>\\n <Avatar size=\\\"large\\\" icon={<Icon type=\\\"user\\\"/>} />\\n <Avatar icon=\\\"user\\\" />\\n <Avatar size=\\\"small\\\" icon=\\\"user\\\" />\\n <Avatar size=\\\"mini\\\" icon={<Icon type=\\\"user\\\"/>} />\\n </div>\\n <div>\\n <Avatar shape=\\\"square\\\" size=\\\"large\\\" icon=\\\"user\\\" />\\n <Avatar shape=\\\"square\\\" icon=\\\"user\\\" />\\n <Avatar shape=\\\"square\\\" size=\\\"small\\\" icon=\\\"user\\\" />\\n <Avatar shape=\\\"square\\\" size=\\\"mini\\\" icon=\\\"user\\\" />\\n </div>\\n </div>,\\n _mount_\\n);\\n```\\n\\n## 其它类型\\n\\n支持三种类型:Icon 以及字符,其中 Icon 和字符型可以自定义图标颜色及背景色。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Avatar, Icon } from 'uiw';\\n\\nReactDOM.render(\\n <div>\\n <Avatar icon={<Icon type=\\\"user\\\"/>} />\\n <Avatar>U</Avatar>\\n <Avatar src=\\\"https://avatars2.githubusercontent.com/u/1680273?s=40&v=4\\\" />\\n <Avatar style={{ color: '#f56a00', backgroundColor: '#fde3cf' }}>U</Avatar>\\n <Avatar style={{ backgroundColor: '#87d068' }} icon=\\\"user\\\" />\\n </div>,\\n _mount_\\n);\\n```\\n\\n## 图片支持\\n\\n在组件上使用`onError`事件,处理显示错误的图片。\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Avatar, Icon } from 'uiw';\\n\\nconst App = () => {\\n const [src, setSrc] = React.useState('https://avatars2.githubusercontent.com/ua/1680273?s=40&v=4')\\n return (\\n <div>\\n <Avatar\\n src='https://avatars2.githubusercontent.com/ua/1680273?s=40&v=4'\\n onError={(e) => {\\n if (e) {\\n e.target.src = 'https://avatars2.githubusercontent.com/u/1680275?s=40&v=4'\\n }\\n return false;\\n }}\\n />\\n <Avatar\\n src={src}\\n onError={(e) => {\\n if (e) {\\n setSrc('https://avatars2.githubusercontent.com/u/1680275?s=40&v=4');\\n }\\n }}\\n />\\n </div>\\n )\\n}\\n\\nReactDOM.render(<App />, _mount_);\\n```\\n\\n## 带徽标的头像\\n\\n<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->\\n```jsx\\nimport ReactDOM from 'react-dom';\\nimport { Avatar, Badge } from 'uiw';\\n\\nReactDOM.render(\\n <div>\\n <span style={{ marginRight: 24 }}>\\n <Badge count={1}><Avatar shape=\\\"square\\\" icon=\\\"user\\\" /></Badge>\\n </span>\\n <span>\\n <Badge dot><Avatar shape=\\\"square\\\" icon=\\\"user\\\" /></Badge>\\n </span>\\n </div>,\\n _mount_\\n);\\n```\\n\\n## Props\\n\\n| 参数 | 说明 | 类型 | 默认值 |\\n|--------- |-------- |--------- |-------- |\\n| icon | 设置头像的图标类型,参考 Icon 组件 | String、ReactNode | - |\\n| shape | 指定头像的形状 `square` 正方形或者 `circle` 圆\\t | Enum{'`circle`', '`square`' } | - |\\n| size | 设置头像的大小 | Enum{ '`large`', '`small`','`mini`', '`default`' } | `default` |\\n| src | 图片类头像的资源地址 | String | - |\\n| alt | 规定图像的替代文本 | String | - |\\n| onError | 图片加载失败的事件,返回 false 会关闭组件默认的 fallback 行为 | () => boolean | - |\\n\";"],"names":[],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2156],{84934:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=84934,e.exports=n},86082:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(50189),o=t(53782),i=t(11026),s=t(41473),c=t(82136),d=t(75752),a=t(64508),u=t(69286),l=["version","dependencies","codePen","codeSandbox"];function p(e){var n=e.version,t=e.dependencies,i=e.codePen,s=e.codeSandbox,c=(0,o.Z)(e,l),d=(0,r.Z)({},c);return i&&(d.codePenOption={title:"uiw".concat(n," - demo"),includeModule:["uiw"],js:(d.code||"").replace("_mount_",'document.getElementById("container")'),html:'<div id="container" style="padding: 24px"></div>',css_external:"https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.css"),js_external:"https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw@".concat(n,"/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js")}),s&&(d.codeSandboxOption={files:{"sandbox.config.json":{content:'{\n "template": "node",\n "container": {\n "startScript": "start",\n "node": "14"\n }\n }'},"public/index.html":{content:'<div id="container"></div>'},"src/index.js":{content:(d.code||"").replace("_mount_",'document.getElementById("container")')},".kktrc.js":{content:'import webpack from "webpack";\nimport lessModules from "@kkt/less-modules";\nexport default (conf, env, options) => {\nconf = lessModules(conf, env, options);\nreturn conf;\n};'},"package.json":{content:{name:"uiw-demo",description:"uiw v".concat(n," - demo"),dependencies:{react:"latest","react-dom":"latest",uiw:"latest"},devDependencies:{"@kkt/less-modules":"6.9.0",kkt:"6.9.0",typescript:"4.1.3"},license:"MIT",scripts:{start:"kkt start",build:"kkt build",test:"kkt test --env=jsdom"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}),(0,u.jsx)(a.Z,(0,r.Z)((0,r.Z)({},d),{},{dependencies:t,style:{marginBottom:0}}))}var h=t(29812);function 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",v=["inline","node"],x=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.forEach((function(n){"text"===n.type?t+=n.value:n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t};function b(e){var n=e.renderPage,t=e.dependencies,a=e.path,l=(0,s.useState)(""),h=(0,i.Z)(l,2),b=h[0],g=h[1],j=d.i8||"2.0.0";return(0,s.useEffect)((function(){n&&n().then((function(e){g(e)})).catch((function(){}))}),[]),b?(0,u.jsxs)("div",{children:[(0,u.jsx)(c.Z,{source:b,className:k,components:{code:function(e){var n=e.inline,i=e.node,s=(0,o.Z)(e,v),c=s,d=c.noPreview,a=c.bordered,l=c.noScroll,h=c.bgWhite,f=c.noCode,m=c.codePen;if(n)return(0,u.jsx)("code",(0,r.Z)({},s));var k={noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m};return 0===Object.keys(k).filter((function(e){return void 0!==k[e]})).length?(0,u.jsx)("code",(0,r.Z)({},s)):(0,u.jsx)(p,{version:j,code:x(i.children),dependencies:t,noPreview:d,bordered:a,noScroll:l,bgWhite:h,noCode:f,codePen:m})}}}),(0,u.jsx)("div",{className:m,children:(0,u.jsx)(f,{path:a})})]}):null}},17292:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var r=t(27791),o=t(57135),i=t.n(o),s=(t(41473),t(29812)),c=t(86082),d=t(69286);function a(){return(0,d.jsx)(c.Z,{path:"https://github.com/uiwjs/uiw/tree/master/packages/react-overlay-trigger/README.md",dependencies:{OverlayTrigger:s.Ox,Card:s.Zb,Button:s.zx,Switch:s.rs,Divider:s.iz},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(9820).then(t.bind(t,79820));case 2:return n=e.sent,e.abrupt("return",n.default||n);case 4:case"end":return e.stop()}}),e)})))})}}}]);
|
|
2
|
-
//# sourceMappingURL=2156.e793e47d.chunk.js.map
|