(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [70],
  {
    '6apH': function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('dEAq'),
        c = a('Zxc8'),
        o = a('H1Ra'),
        m = a('JjdP'),
        d = n.a.memo(m['default']['upload-basic'].component),
        i = n.a.memo(m['default']['upload-avatar'].component),
        u = n.a.memo(m['default']['upload-defaultfilelist'].component),
        E = n.a.memo(m['default']['upload-picture-card'].component),
        s = n.a.memo(m['default']['upload-filelist'].component),
        p = n.a.memo(m['default']['upload-drag'].component),
        f = n.a.memo(m['default']['upload-directory'].component),
        h = n.a.memo(m['default']['upload-upload-manually'].component),
        b = n.a.memo(m['default']['upload-upload-png-only'].component),
        v = n.a.memo(m['default']['upload-picture-style'].component),
        k = n.a.memo(m['default']['upload-preview-file'].component),
        g = n.a.memo(m['default']['upload-max-count'].component),
        w = n.a.memo(m['default']['upload-transform-file'].component),
        N = n.a.memo(m['default']['upload-transform-file'].component),
        L = n.a.memo(
          m['default']['upload-upload-custom-action-icon'].component,
        ),
        x = n.a.memo(m['default']['upload-drag-sorting'].component),
        I = n.a.memo(m['default']['upload-crop-image'].component),
        y = n.a.memo(m['default']['upload-customize-progress-bar'].component);
      t['default'] = (e) => (
        n.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            r['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        n.a.createElement(
          n.a.Fragment,
          null,
          n.a.createElement(
            n.a.Fragment,
            null,
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h1',
                { id: 'upload-\u4e0a\u4f20' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#upload-\u4e0a\u4f20',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Upload \u4e0a\u4f20',
              ),
              n.a.createElement(
                'p',
                null,
                '\u6587\u4ef6\u9009\u62e9\u4e0a\u4f20\u548c\u62d6\u62fd\u4e0a\u4f20\u63a7\u4ef6\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              n.a.createElement(
                'p',
                null,
                '\u4e0a\u4f20\u662f\u5c06\u4fe1\u606f\uff08\u7f51\u9875\u3001\u6587\u5b57\u3001\u56fe\u7247\u3001\u89c6\u9891\u7b49\uff09\u901a\u8fc7\u7f51\u9875\u6216\u8005\u4e0a\u4f20\u5de5\u5177\u53d1\u5e03\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684\u8fc7\u7a0b\u3002',
              ),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u4e0a\u4f20\u4e00\u4e2a\u6216\u4e00\u4e9b\u6587\u4ef6\u65f6\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u5c55\u73b0\u4e0a\u4f20\u7684\u8fdb\u5ea6\u65f6\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u4f7f\u7528\u62d6\u62fd\u4ea4\u4e92\u65f6\u3002',
                ),
              ),
              n.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              n.a.createElement(
                'h3',
                { id: '\u57fa\u672c\u7528\u6cd5' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u57fa\u672c\u7528\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c\u7528\u6cd5',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-basic'].previewerProps,
              n.a.createElement(d, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u7528\u6237\u5934\u50cf' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7528\u6237\u5934\u50cf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7528\u6237\u5934\u50cf',
              ),
              n.a.createElement(
                'blockquote',
                null,
                n.a.createElement(
                  'p',
                  null,
                  n.a.createElement('code', null, 'beforeUpload'),
                  ' \u7684\u8fd4\u56de\u503c\u53ef\u4ee5\u662f\u4e00\u4e2a Promise \u4ee5\u652f\u6301\u5f02\u6b65\u5904\u7406\uff0c\u5982\u670d\u52a1\u7aef\u6821\u9a8c\u7b49\uff1a',
                  n.a.createElement(
                    r['Link'],
                    {
                      to: 'https://upload-react-component.vercel.app/demo/before-upload#beforeupload',
                    },
                    '\u793a\u4f8b',
                  ),
                  '\u3002',
                  n.a.createElement(
                    c['default'],
                    m['default']['upload-avatar'].previewerProps,
                    n.a.createElement(i, null),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: '\u5df2\u4e0a\u4f20\u7684\u6587\u4ef6\u5217\u8868' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5df2\u4e0a\u4f20\u7684\u6587\u4ef6\u5217\u8868',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5df2\u4e0a\u4f20\u7684\u6587\u4ef6\u5217\u8868',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-defaultfilelist'].previewerProps,
              n.a.createElement(u, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u7167\u7247\u5899' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7167\u7247\u5899',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7167\u7247\u5899',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-picture-card'].previewerProps,
              n.a.createElement(E, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                {
                  id: '\u5b8c\u5168\u63a7\u5236\u7684\u4e0a\u4f20\u5217\u8868',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5b8c\u5168\u63a7\u5236\u7684\u4e0a\u4f20\u5217\u8868',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5b8c\u5168\u63a7\u5236\u7684\u4e0a\u4f20\u5217\u8868',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-filelist'].previewerProps,
              n.a.createElement(s, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u62d6\u62fd\u4e0a\u4f20' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u62d6\u62fd\u4e0a\u4f20',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u62d6\u62fd\u4e0a\u4f20',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-drag'].previewerProps,
              n.a.createElement(p, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u6587\u4ef6\u5939\u4e0a\u4f20' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6587\u4ef6\u5939\u4e0a\u4f20',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6587\u4ef6\u5939\u4e0a\u4f20',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-directory'].previewerProps,
              n.a.createElement(f, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u624b\u52a8\u4e0a\u4f20' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u624b\u52a8\u4e0a\u4f20',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u624b\u52a8\u4e0a\u4f20',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-upload-manually'].previewerProps,
              n.a.createElement(h, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u53ea\u4e0a\u4f20-png-\u56fe\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u53ea\u4e0a\u4f20-png-\u56fe\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53ea\u4e0a\u4f20 png \u56fe\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-upload-png-only'].previewerProps,
              n.a.createElement(b, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u56fe\u7247\u5217\u8868\u6837\u5f0f' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56fe\u7247\u5217\u8868\u6837\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fe\u7247\u5217\u8868\u6837\u5f0f',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-picture-style'].previewerProps,
              n.a.createElement(v, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u9884\u89c8' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u9884\u89c8',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u9884\u89c8',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-preview-file'].previewerProps,
              n.a.createElement(k, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u9650\u5236\u6570\u91cf' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9650\u5236\u6570\u91cf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9650\u5236\u6570\u91cf',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-max-count'].previewerProps,
              n.a.createElement(g, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4e0a\u4f20\u524d\u8f6c\u6362\u6587\u4ef6' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e0a\u4f20\u524d\u8f6c\u6362\u6587\u4ef6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e0a\u4f20\u524d\u8f6c\u6362\u6587\u4ef6',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-transform-file'].previewerProps,
              n.a.createElement(w, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u963f\u91cc\u4e91-oss' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u963f\u91cc\u4e91-oss',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u963f\u91cc\u4e91 OSS',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-transform-file'].previewerProps,
              n.a.createElement(N, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u4ea4\u4e92\u56fe\u6807' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u4ea4\u4e92\u56fe\u6807',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u4ea4\u4e92\u56fe\u6807',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-upload-custom-action-icon'].previewerProps,
              n.a.createElement(L, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4e0a\u4f20\u5217\u8868\u62d6\u62fd\u6392\u5e8f' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e0a\u4f20\u5217\u8868\u62d6\u62fd\u6392\u5e8f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e0a\u4f20\u5217\u8868\u62d6\u62fd\u6392\u5e8f',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-drag-sorting'].previewerProps,
              n.a.createElement(x, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4e0a\u4f20\u524d\u88c1\u5207\u56fe\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e0a\u4f20\u524d\u88c1\u5207\u56fe\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e0a\u4f20\u524d\u88c1\u5207\u56fe\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-crop-image'].previewerProps,
              n.a.createElement(I, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u6837\u5f0f' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u6837\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u6837\u5f0f',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['upload-customize-progress-bar'].previewerProps,
              n.a.createElement(y, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h2',
                { id: 'api' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'accept'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u63a5\u53d7\u4e0a\u4f20\u7684\u6587\u4ef6\u7c7b\u578b, \u8be6\u89c1 ',
                      n.a.createElement(
                        r['Link'],
                        {
                          to: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept',
                        },
                        'input accept Attribute',
                      ),
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'action'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u7684\u5730\u5740',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'string | (file) => Promise<string>',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'beforeUpload'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u6587\u4ef6\u4e4b\u524d\u7684\u94a9\u5b50\uff0c\u53c2\u6570\u4e3a\u4e0a\u4f20\u7684\u6587\u4ef6\uff0c\u82e5\u8fd4\u56de ',
                      n.a.createElement('code', null, 'false'),
                      ' \u5219\u505c\u6b62\u4e0a\u4f20\u3002\u652f\u6301\u8fd4\u56de\u4e00\u4e2a Promise \u5bf9\u8c61\uff0cPromise \u5bf9\u8c61 reject \u65f6\u5219\u505c\u6b62\u4e0a\u4f20\uff0cresolve \u65f6\u5f00\u59cb\u4e0a\u4f20\uff08 resolve \u4f20\u5165 ',
                      n.a.createElement('code', null, 'File'),
                      ' \u6216 ',
                      n.a.createElement('code', null, 'Blob'),
                      ' \u5bf9\u8c61\u5219\u4e0a\u4f20 resolve \u4f20\u5165\u5bf9\u8c61\uff09\uff1b\u4e5f\u53ef\u4ee5\u8fd4\u56de ',
                      n.a.createElement('code', null, 'Upload.LIST_IGNORE'),
                      '\uff0c\u6b64\u65f6\u5217\u8868\u4e2d\u5c06\u4e0d\u5c55\u793a\u6b64\u6587\u4ef6\u3002 ',
                      n.a.createElement(
                        'strong',
                        null,
                        '\u6ce8\u610f\uff1aIE9 \u4e0d\u652f\u6301\u8be5\u65b9\u6cd5',
                      ),
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(file, fileList) => boolean | Promise<File> | ',
                      n.a.createElement('code', null, 'Upload.LIST_IGNORE'),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'customRequest'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u901a\u8fc7\u8986\u76d6\u9ed8\u8ba4\u7684\u4e0a\u4f20\u884c\u4e3a\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u81ea\u5df1\u7684\u4e0a\u4f20\u5b9e\u73b0',
                    ),
                    n.a.createElement('td', null, 'function'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'data'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u6240\u9700\u989d\u5916\u53c2\u6570\u6216\u8fd4\u56de\u4e0a\u4f20\u989d\u5916\u53c2\u6570\u7684\u65b9\u6cd5',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'object|(file) => object | Promise<object>',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'defaultFileList'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u5df2\u7ecf\u4e0a\u4f20\u7684\u6587\u4ef6\u5217\u8868',
                    ),
                    n.a.createElement('td', null, 'object[]'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'directory'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u652f\u6301\u4e0a\u4f20\u6587\u4ef6\u5939\uff08',
                      n.a.createElement(
                        r['Link'],
                        {
                          to: 'https://caniuse.com/#feat=input-file-directory',
                        },
                        'caniuse',
                      ),
                      '\uff09',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'disabled'),
                    n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'fileList'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5df2\u7ecf\u4e0a\u4f20\u7684\u6587\u4ef6\u5217\u8868\uff08\u53d7\u63a7\uff09\uff0c\u4f7f\u7528\u6b64\u53c2\u6570\u65f6\uff0c\u5982\u679c\u9047\u5230 ',
                      n.a.createElement('code', null, 'onChange'),
                      ' \u53ea\u8c03\u7528\u4e00\u6b21\u7684\u95ee\u9898\uff0c\u8bf7\u53c2\u8003 ',
                      n.a.createElement(
                        r['Link'],
                        {
                          to: 'https://github.com/ant-design/ant-design/issues/2423',
                        },
                        '#2423',
                      ),
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '#UploadFile' },
                        'UploadFile',
                      ),
                      '[]',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'headers'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u4e0a\u4f20\u7684\u8bf7\u6c42\u5934\u90e8\uff0cIE10 \u4ee5\u4e0a\u6709\u6548',
                    ),
                    n.a.createElement('td', null, 'object'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'iconRender'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u663e\u793a icon',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(file: UploadFile, listType?: UploadListType) => ReactNode',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'isImageUrl'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u7f29\u7565\u56fe\u662f\u5426\u4f7f\u7528 <img /> \u6807\u7b7e\u8fdb\u884c\u663e\u793a',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(file: UploadFile) => boolean',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['Link'],
                        {
                          to: 'https://github.com/ant-design/ant-design/blob/4ad5830eecfb87471cd8ac588c5d992862b70770/components/upload/utils.tsx#L47-L68',
                        },
                        '(\u5185\u90e8\u5b9e\u73b0)',
                      ),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'itemRender'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u4e0a\u4f20\u5217\u8868\u9879',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(originNode: ReactElement, file: UploadFile, fileList: object[], actions: ',
                      '{',
                      ' download: function, preview: function, remove: function ',
                      '}',
                      ') => React.ReactNode',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.16.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'listType'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u5217\u8868\u7684\u5185\u5efa\u6837\u5f0f\uff0c\u652f\u6301\u4e09\u79cd\u57fa\u672c\u6837\u5f0f ',
                      n.a.createElement('code', null, 'text'),
                      ', ',
                      n.a.createElement('code', null, 'picture'),
                      ' \u548c ',
                      n.a.createElement('code', null, 'picture-card'),
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'text'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'maxCount'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9650\u5236\u4e0a\u4f20\u6570\u91cf\u3002\u5f53\u4e3a 1 \u65f6\uff0c\u59cb\u7ec8\u7528\u6700\u65b0\u4e0a\u4f20\u7684\u6587\u4ef6\u4ee3\u66ff\u5f53\u524d\u6587\u4ef6',
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.10.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'method'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u8bf7\u6c42\u7684 http method',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'post'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'multiple'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u652f\u6301\u591a\u9009\u6587\u4ef6\uff0c',
                      n.a.createElement('code', null, 'ie10+'),
                      ' \u652f\u6301\u3002\u5f00\u542f\u540e\u6309\u4f4f ctrl \u53ef\u9009\u62e9\u591a\u4e2a\u6587\u4ef6',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'name'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u53d1\u5230\u540e\u53f0\u7684\u6587\u4ef6\u53c2\u6570\u540d',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'file'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'openFileDialogOnClick'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u6253\u5f00\u6587\u4ef6\u5bf9\u8bdd\u6846',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'previewFile'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6587\u4ef6\u9884\u89c8\u903b\u8f91',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(file: File | Blob) => Promise<dataURL: string>',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'progress'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u6837\u5f0f',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/progress/#API' },
                        'ProgressProps',
                      ),
                      '\uff08\u4ec5\u652f\u6301 ',
                      n.a.createElement('code', null, 'type="line"'),
                      '\uff09',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '{',
                      ' strokeWidth: 2, showInfo: false ',
                      '}',
                    ),
                    n.a.createElement('td', null, '4.3.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'showUploadList'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5c55\u793a\u6587\u4ef6\u5217\u8868, \u53ef\u8bbe\u4e3a\u4e00\u4e2a\u5bf9\u8c61\uff0c\u7528\u4e8e\u5355\u72ec\u8bbe\u5b9a ',
                      n.a.createElement('code', null, 'showPreviewIcon'),
                      ', ',
                      n.a.createElement('code', null, 'showRemoveIcon'),
                      ', ',
                      n.a.createElement('code', null, 'showDownloadIcon'),
                      ', ',
                      n.a.createElement('code', null, 'removeIcon'),
                      ' \u548c ',
                      n.a.createElement('code', null, 'downloadIcon'),
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'boolean | ',
                      '{',
                      ' showPreviewIcon?: boolean, showRemoveIcon?: boolean, showDownloadIcon?: boolean, removeIcon?: ReactNode | (file: UploadFile) => ReactNode, downloadIcon?: ReactNode | (file: UploadFile) => ReactNode ',
                      '}',
                    ),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null, 'function: 4.7.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'withCredentials'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u8bf7\u6c42\u65f6\u662f\u5426\u643a\u5e26 cookie',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onChange'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u6587\u4ef6\u6539\u53d8\u65f6\u7684\u72b6\u6001\uff0c\u8be6\u89c1 ',
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '#onChange' },
                        'onChange',
                      ),
                    ),
                    n.a.createElement('td', null, 'function'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onDrop'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5f53\u6587\u4ef6\u88ab\u62d6\u5165\u4e0a\u4f20\u533a\u57df\u65f6\u6267\u884c\u7684\u56de\u8c03\u529f\u80fd',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(event: React.DragEvent) => void',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.16.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onDownload'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u4e0b\u8f7d\u6587\u4ef6\u65f6\u7684\u56de\u8c03\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\uff0c\u5219\u9ed8\u8ba4\u8df3\u8f6c\u5230\u6587\u4ef6 url \u5bf9\u5e94\u7684\u6807\u7b7e\u9875',
                    ),
                    n.a.createElement('td', null, 'function(file): void'),
                    n.a.createElement(
                      'td',
                      null,
                      '(\u8df3\u8f6c\u65b0\u6807\u7b7e\u9875)',
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onPreview'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u6587\u4ef6\u94fe\u63a5\u6216\u9884\u89c8\u56fe\u6807\u65f6\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, 'function(file)'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onRemove \xa0'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u79fb\u9664\u6587\u4ef6\u65f6\u7684\u56de\u8c03\uff0c\u8fd4\u56de\u503c\u4e3a false \u65f6\u4e0d\u79fb\u9664\u3002\u652f\u6301\u8fd4\u56de\u4e00\u4e2a Promise \u5bf9\u8c61\uff0cPromise \u5bf9\u8c61 resolve(false) \u6216 reject \u65f6\u4e0d\u79fb\u9664 \xa0 \xa0 \xa0 \xa0 \xa0 \xa0 \xa0',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'function(file): boolean | Promise',
                    ),
                    n.a.createElement('td', null, '- \xa0'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: 'uploadfile' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#uploadfile', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'UploadFile',
              ),
              n.a.createElement(
                'p',
                null,
                '\u7ee7\u627f\u81ea File\uff0c\u9644\u5e26\u989d\u5916\u5c5e\u6027\u7528\u4e8e\u6e32\u67d3\u3002',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'name'),
                    n.a.createElement('td', null, '\u6587\u4ef6\u540d'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'percent'),
                    n.a.createElement('td', null, '\u4e0a\u4f20\u8fdb\u5ea6'),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '-'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'status'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u4e0a\u4f20\u72b6\u6001\uff0c\u4e0d\u540c\u72b6\u6001\u5c55\u793a\u989c\u8272\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'error'),
                      ' | ',
                      n.a.createElement('code', null, 'success'),
                      ' | ',
                      n.a.createElement('code', null, 'done'),
                      ' | ',
                      n.a.createElement('code', null, 'uploading'),
                      ' | ',
                      n.a.createElement('code', null, 'removed'),
                    ),
                    n.a.createElement('td', null, '-'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'thumbUrl'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u7f29\u7565\u56fe\u5730\u5740',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'uid'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u4e0d\u8bbe\u7f6e\u65f6\u4f1a\u81ea\u52a8\u751f\u6210',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'url'),
                    n.a.createElement('td', null, '\u4e0b\u8f7d\u5730\u5740'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: 'onchange' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#onchange', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'onChange',
              ),
              n.a.createElement(
                'blockquote',
                null,
                n.a.createElement(
                  'p',
                  null,
                  '\u4e0a\u4f20\u4e2d\u3001\u5b8c\u6210\u3001\u5931\u8d25\u90fd\u4f1a\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\u3002',
                ),
              ),
              n.a.createElement(
                'p',
                null,
                '\u6587\u4ef6\u72b6\u6001\u6539\u53d8\u7684\u56de\u8c03\uff0c\u8fd4\u56de\u4e3a\uff1a',
              ),
              n.a.createElement(o['a'], {
                code: '{\n  file: { /* ... */ },\n  fileList: [ /* ... */ ],\n  event: { /* ... */ },\n}',
                lang: 'bash',
              }),
              n.a.createElement(
                'ol',
                null,
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement(
                    'p',
                    null,
                    n.a.createElement('code', null, 'file'),
                    ' \u5f53\u524d\u64cd\u4f5c\u7684\u6587\u4ef6\u5bf9\u8c61\u3002',
                  ),
                  n.a.createElement(o['a'], {
                    code: "{\n   uid: 'uid',      // \u6587\u4ef6\u552f\u4e00\u6807\u8bc6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a\u8d1f\u6570\uff0c\u9632\u6b62\u548c\u5185\u90e8\u4ea7\u751f\u7684 id \u51b2\u7a81\n   name: 'xx.png'   // \u6587\u4ef6\u540d\n   status: 'done', // \u72b6\u6001\u6709\uff1auploading done error removed\uff0c\u88ab beforeUpload \u62e6\u622a\u7684\u6587\u4ef6\u6ca1\u6709 status \u5c5e\u6027\n   response: '{\"status\": \"success\"}', // \u670d\u52a1\u7aef\u54cd\u5e94\u5185\u5bb9\n   linkProps: '{\"download\": \"image\"}', // \u4e0b\u8f7d\u94fe\u63a5\u989d\u5916\u7684 HTML \u5c5e\u6027\n}",
                    lang: 'bash',
                  }),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement(
                    'p',
                    null,
                    n.a.createElement('code', null, 'fileList'),
                    ' \u5f53\u524d\u7684\u6587\u4ef6\u5217\u8868\u3002',
                  ),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement(
                    'p',
                    null,
                    n.a.createElement('code', null, 'event'),
                    ' \u4e0a\u4f20\u4e2d\u7684\u670d\u52a1\u7aef\u54cd\u5e94\u5185\u5bb9\uff0c\u5305\u542b\u4e86\u4e0a\u4f20\u8fdb\u5ea6\u7b49\u4fe1\u606f\uff0c\u9ad8\u7ea7\u6d4f\u89c8\u5668\u652f\u6301\u3002',
                  ),
                ),
              ),
              n.a.createElement(
                'h2',
                { id: 'faq' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'FAQ',
              ),
              n.a.createElement(
                'h3',
                { id: '\u670d\u52a1\u7aef\u5982\u4f55\u5b9e\u73b0' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u670d\u52a1\u7aef\u5982\u4f55\u5b9e\u73b0',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u670d\u52a1\u7aef\u5982\u4f55\u5b9e\u73b0\uff1f',
              ),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  '\u670d\u52a1\u7aef\u4e0a\u4f20\u63a5\u53e3\u5b9e\u73b0\u53ef\u4ee5\u53c2\u8003 ',
                  n.a.createElement(
                    r['Link'],
                    {
                      to: 'https://github.com/blueimp/jQuery-File-Upload/wiki#server-side',
                    },
                    'jQuery-File-Upload',
                  ),
                  '\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  '\u5982\u679c\u8981\u505a\u672c\u5730 mock \u53ef\u4ee5\u53c2\u8003\u8fd9\u4e2a ',
                  n.a.createElement(
                    r['Link'],
                    {
                      to: 'https://github.com/react-component/upload/blob/master/server.js',
                    },
                    'express \u7684\u4f8b\u5b50',
                  ),
                  '\u3002',
                ),
              ),
              n.a.createElement(
                'h3',
                { id: '\u5982\u4f55\u663e\u793a\u4e0b\u8f7d\u94fe\u63a5' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5982\u4f55\u663e\u793a\u4e0b\u8f7d\u94fe\u63a5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5982\u4f55\u663e\u793a\u4e0b\u8f7d\u94fe\u63a5\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u8bf7\u4f7f\u7528 fileList \u5c5e\u6027\u8bbe\u7f6e\u6570\u7ec4\u9879\u7684 url \u5c5e\u6027\u8fdb\u884c\u5c55\u793a\u63a7\u5236\u3002',
              ),
              n.a.createElement(
                'h3',
                { id: 'customrequest-\u600e\u4e48\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#customrequest-\u600e\u4e48\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                n.a.createElement('code', null, 'customRequest'),
                ' \u600e\u4e48\u4f7f\u7528\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u8bf7\u53c2\u8003 ',
                n.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/react-component/upload#customrequest',
                  },
                  'https://github.com/react-component/upload#customrequest',
                ),
                '\u3002',
              ),
              n.a.createElement(
                'h3',
                {
                  id: '\u4e3a\u4f55-filelist-\u53d7\u63a7\u65f6\u4e0a\u4f20\u4e0d\u5728\u5217\u8868\u4e2d\u7684\u6587\u4ef6\u4e0d\u4f1a\u89e6\u53d1-onchange-\u540e\u7eed\u7684-status-\u66f4\u65b0\u4e8b\u4ef6',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e3a\u4f55-filelist-\u53d7\u63a7\u65f6\u4e0a\u4f20\u4e0d\u5728\u5217\u8868\u4e2d\u7684\u6587\u4ef6\u4e0d\u4f1a\u89e6\u53d1-onchange-\u540e\u7eed\u7684-status-\u66f4\u65b0\u4e8b\u4ef6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e3a\u4f55 ',
                n.a.createElement('code', null, 'fileList'),
                ' \u53d7\u63a7\u65f6\uff0c\u4e0a\u4f20\u4e0d\u5728\u5217\u8868\u4e2d\u7684\u6587\u4ef6\u4e0d\u4f1a\u89e6\u53d1 ',
                n.a.createElement('code', null, 'onChange'),
                ' \u540e\u7eed\u7684 ',
                n.a.createElement('code', null, 'status'),
                ' \u66f4\u65b0\u4e8b\u4ef6\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                n.a.createElement('code', null, 'onChange'),
                ' \u4e8b\u4ef6\u4ec5\u4f1a\u4f5c\u7528\u4e8e\u5728\u5217\u8868\u4e2d\u7684\u6587\u4ef6\uff0c\u56e0\u800c ',
                n.a.createElement('code', null, 'fileList'),
                ' \u4e0d\u5b58\u5728\u5bf9\u5e94\u6587\u4ef6\u65f6\u540e\u7eed\u4e8b\u4ef6\u4f1a\u88ab\u5ffd\u7565\u3002\u8bf7\u6ce8\u610f\uff0c\u5728 ',
                n.a.createElement('code', null, '4.13.0'),
                ' \u7248\u672c\u4e4b\u524d\u53d7\u63a7\u72b6\u6001\u5b58\u5728 bug \u5bfc\u81f4\u4e0d\u5728\u5217\u8868\u4e2d\u7684\u6587\u4ef6\u4e5f\u4f1a\u89e6\u53d1\u3002',
              ),
              n.a.createElement(
                'h3',
                {
                  id: 'onchange-\u4e3a\u4ec0\u4e48\u6709\u65f6\u5019\u8fd4\u56de-file-\u6709\u65f6\u5019\u8fd4\u56de--originfileobj-file-',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#onchange-\u4e3a\u4ec0\u4e48\u6709\u65f6\u5019\u8fd4\u56de-file-\u6709\u65f6\u5019\u8fd4\u56de--originfileobj-file-',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                n.a.createElement('code', null, 'onChange'),
                ' \u4e3a\u4ec0\u4e48\u6709\u65f6\u5019\u8fd4\u56de File \u6709\u65f6\u5019\u8fd4\u56de ',
                '{',
                ' originFileObj: File ',
                '}',
                '\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u5386\u53f2\u539f\u56e0\uff0c\u5728 ',
                n.a.createElement('code', null, 'beforeUpload'),
                ' \u8fd4\u56de ',
                n.a.createElement('code', null, 'false'),
                ' \u65f6\uff0c\u4f1a\u8fd4\u56de File \u5bf9\u8c61\u3002\u5728\u4e0b\u4e2a\u5927\u7248\u672c\u6211\u4eec\u4f1a\u7edf\u4e00\u8fd4\u56de ',
                n.a.createElement(
                  'code',
                  null,
                  '{',
                  ' originFileObj: File ',
                  '}',
                ),
                ' \u5bf9\u8c61\u3002\u5f53\u524d\u7248\u672c\u5df2\u7ecf\u517c\u5bb9\u6240\u6709\u573a\u666f\u4e0b ',
                n.a.createElement('code', null, 'info.file.originFileObj'),
                ' \u83b7\u53d6\u539f File \u5199\u6cd5\u3002\u4f60\u53ef\u4ee5\u63d0\u524d\u5207\u6362\u3002',
              ),
              n.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    "\n.avatar-uploader > .ant-upload {\n  width: 128px;\n  height: 128px;\n}\n\n.upload-list-inline .ant-upload-list-item {\n  float: left;\n  width: 200px;\n  margin-right: 8px;\n}\n\n.upload-list-inline [class*='-upload-list-rtl'] .ant-upload-list-item {\n  float: right;\n}\n\n.ant-upload-draggable-list-item {\n  border-top: 2px dashed rgba(0, 0, 0, 0);\n  border-bottom: 2px dashed rgba(0, 0, 0, 0);\n}\n.ant-upload-draggable-list-item.drop-over-downward {\n  border-bottom-color: #2c68ff;\n}\n.ant-upload-draggable-list-item.drop-over-upward {\n  border-top-color: #2c68ff;\n}\n\n",
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, a) {
      'use strict';
      var l = a('ogwx');
      a.d(t, 'a', function () {
        return l['b'];
      });
      a('VCU9');
    },
    RZMt: function (e, t, a) {},
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('k3GJ'),
        c = a('MZF8'),
        o = a('dEAq'),
        m = a('H1Ra');
      a('RZMt');
      function d(e, t) {
        return p(e) || s(e, t) || u(e, t) || i();
      }
      function i() {
        throw new TypeError(
          'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
        );
      }
      function u(e, t) {
        if (e) {
          if ('string' === typeof e) return E(e, t);
          var a = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === a && e.constructor && (a = e.constructor.name),
            'Map' === a || 'Set' === a
              ? Array.from(e)
              : 'Arguments' === a ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
              ? E(e, t)
              : void 0
          );
        }
      }
      function E(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
        return l;
      }
      function s(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var l,
            n,
            r = [],
            c = !0,
            o = !1;
          try {
            for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
              if ((r.push(l.value), t && r.length === t)) break;
          } catch (m) {
            (o = !0), (n = m);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (o) throw n;
            }
          }
          return r;
        }
      }
      function p(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var a,
          l =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
      }
      var h = function (e) {
        var t,
          a,
          i,
          u = Object(l['useRef'])(),
          E = Object(l['useContext'])(o['context']),
          s = E.locale,
          p = Object(o['useLocaleProps'])(s, e),
          h = Object(o['useDemoUrl'])(p.identifier),
          b = p.demoUrl || h,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          k = 1 === Object.keys(p.sources).length,
          g = Object(o['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          w = Object(o['useRiddle'])(
            (
              null === (a = p.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          N = Object(o['useMotions'])(p.motions || [], u.current),
          L = d(N, 2),
          x = L[0],
          I = L[1],
          y = Object(o['useCopy'])(),
          A = d(y, 2),
          _ = A[0],
          P = A[1],
          j = Object(l['useState'])('_'),
          C = d(j, 2),
          R = C[0],
          F = C[1],
          O = Object(l['useState'])(f(R, p.sources[R])),
          U = d(O, 2),
          S = U[0],
          T = U[1],
          q = Object(l['useState'])(Boolean(p.defaultShowCode)),
          M = d(q, 2),
          D = M[0],
          H = M[1],
          Z = Object(l['useState'])(Math.random()),
          B = d(Z, 2),
          J = B[0],
          G = B[1],
          $ = p.sources[R][S] || p.sources[R].content,
          z = Object(o['useTSPlaygroundUrl'])(s, $),
          Q = Object(l['useRef'])(),
          W = Object(o['usePrefersColor'])(),
          X = d(W, 1),
          K = X[0];
        function V(e) {
          F(e), T(f(e, p.sources[e]));
        }
        return (
          Object(l['useEffect'])(
            function () {
              G(Math.random());
            },
            [K],
          ),
          n.a.createElement(
            'div',
            {
              style: p.style,
              className: [
                p.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: p.identifier,
              'data-debug': p.debug || void 0,
              'data-iframe': p.iframe || void 0,
            },
            p.iframe &&
              n.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            n.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: p.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
                  background: p.background,
                },
              },
              p.iframe
                ? n.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(p.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: J,
                    src: b,
                    ref: Q,
                  })
                : p.children,
            ),
            n.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                n.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(p.identifier) },
                  p.title,
                ),
              p.description &&
                n.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: p.description },
                }),
            ),
            n.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              g &&
                n.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: g,
                }),
              w &&
                n.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: w,
                }),
              p.motions &&
                n.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: I,
                  onClick: function () {
                    return x();
                  },
                }),
              p.iframe &&
                n.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return G(Math.random());
                  },
                }),
              !(null === (i = p.hideActions) || void 0 === i
                ? void 0
                : i.includes('EXTERNAL')) &&
                n.a.createElement(
                  o['Link'],
                  { target: '_blank', to: b },
                  n.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              n.a.createElement('span', null),
              n.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': P,
                onClick: function () {
                  return _($);
                },
              }),
              'tsx' === S &&
                D &&
                n.a.createElement(
                  o['Link'],
                  { target: '_blank', to: z },
                  n.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              n.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  D ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return H(!D);
                },
              }),
            ),
            D &&
              n.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  n.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: R,
                      onChange: V,
                    },
                    Object.keys(p.sources).map(function (e) {
                      return n.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                n.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  n.a.createElement(m['a'], { code: $, lang: S, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
