@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,763 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[58],{MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("k3GJ"),c=a("MZF8"),o=a("dEAq"),i=a("H1Ra");a("RZMt");function d(e,t){return f(e)||E(e,t)||m(e,t)||u()}function u(){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 m(e,t){if(e){if("string"===typeof e)return s(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)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,o=!1;try{for(a=a.call(e);!(c=(n=a.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(i){o=!0,l=i}finally{try{c||null==a["return"]||a["return"]()}finally{if(o)throw l}}return r}}function f(e){if(Array.isArray(e))return e}function h(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var b=function(e){var t,a,u,m=Object(n["useRef"])(),s=Object(n["useContext"])(o["context"]),E=s.locale,f=Object(o["useLocaleProps"])(E,e),b=Object(o["useDemoUrl"])(f.identifier),p=f.demoUrl||b,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(f.identifier),k=1===Object.keys(f.sources).length,w=Object(o["useCodeSandbox"])((null===(t=f.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:f),_=Object(o["useRiddle"])((null===(a=f.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:f),y=Object(o["useMotions"])(f.motions||[],m.current),N=d(y,2),g=N[0],x=N[1],A=Object(o["useCopy"])(),C=d(A,2),j=C[0],O=C[1],I=Object(n["useState"])("_"),S=d(I,2),L=S[0],R=S[1],P=Object(n["useState"])(h(L,f.sources[L])),M=d(P,2),T=M[0],U=M[1],Z=Object(n["useState"])(Boolean(f.defaultShowCode)),F=d(Z,2),J=F[0],q=F[1],$=Object(n["useState"])(Math.random()),z=d($,2),B=z[0],D=z[1],G=f.sources[L][T]||f.sources[L].content,H=Object(o["useTSPlaygroundUrl"])(E,G),X=Object(n["useRef"])(),K=Object(o["usePrefersColor"])(),V=d(K,1),Y=V[0];function Q(e){R(e),U(h(e,f.sources[e]))}return Object(n["useEffect"])((function(){D(Math.random())}),[Y]),l.a.createElement("div",{style:f.style,className:[f.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:f.identifier,"data-debug":f.debug||void 0,"data-iframe":f.iframe||void 0},f.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:m,className:"__dumi-default-previewer-demo",style:{transform:f.transform?"translate(0, 0)":void 0,padding:f.compact||f.iframe&&!1!==f.compact?"0":void 0,background:f.background}},f.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(f.iframe).replace(/(\d)$/,"$1px")},key:B,src:p,ref:X}):f.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":f.title},f.title&&l.a.createElement(o["AnchorLink"],{to:"#".concat(f.identifier)},f.title),f.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:f.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},w&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:w}),_&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:_}),f.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return g()}}),f.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return D(Math.random())}}),!(null===(u=f.hideActions)||void 0===u?void 0:u.includes("EXTERNAL"))&&l.a.createElement(o["Link"],{target:"_blank",to:p},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":O,onClick:function(){return j(G)}}),"tsx"===T&&J&&l.a.createElement(o["Link"],{target:"_blank",to:H},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(J?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return q(!J)}})),J&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:L,onChange:Q},Object.keys(f.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(h(e,f.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(i["a"],{code:G,lang:T,showCopy:!1}))))};t["default"]=b},bYhw:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),o=a("JjdP"),i=l.a.memo(o["default"]["switch-basic"].component),d=l.a.memo(o["default"]["switch-size"].component),u=l.a.memo(o["default"]["switch-text"].component),m=l.a.memo(o["default"]["switch-loading"].component),s=l.a.memo(o["default"]["switch-disabled"].component);t["default"]=e=>(l.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)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"switch-\u5f00\u5173"},l.a.createElement(r["AnchorLink"],{to:"#switch-\u5f00\u5173","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Switch \u5f00\u5173"),l.a.createElement("p",null,"\u5f00\u5173\u9009\u62e9\u5668\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u9700\u8981\u8868\u793a\u5f00\u5173\u72b6\u6001/\u4e24\u79cd\u72b6\u6001\u4e4b\u95f4\u7684\u5207\u6362\u65f6\uff1b"),l.a.createElement("li",null,"\u548c ",l.a.createElement("code",null,"checkbox")," \u7684\u533a\u522b\u662f\uff0c\u5207\u6362 ",l.a.createElement("code",null,"switch")," \u4f1a\u76f4\u63a5\u89e6\u53d1\u72b6\u6001\u6539\u53d8\uff0c\u800c ",l.a.createElement("code",null,"checkbox")," \u4e00\u822c\u7528\u4e8e\u72b6\u6001\u6807\u8bb0\uff0c\u9700\u8981\u548c\u63d0\u4ea4\u64cd\u4f5c\u914d\u5408\u3002")),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u57fa\u672c"},l.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c")),l.a.createElement(c["default"],o["default"]["switch-basic"].previewerProps,l.a.createElement(i,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4e24\u79cd\u5927\u5c0f"},l.a.createElement(r["AnchorLink"],{to:"#\u4e24\u79cd\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e24\u79cd\u5927\u5c0f")),l.a.createElement(c["default"],o["default"]["switch-size"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6587\u5b57\u548c\u56fe\u6807"},l.a.createElement(r["AnchorLink"],{to:"#\u6587\u5b57\u548c\u56fe\u6807","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6587\u5b57\u548c\u56fe\u6807")),l.a.createElement(c["default"],o["default"]["switch-text"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u52a0\u8f7d\u4e2d"},l.a.createElement(r["AnchorLink"],{to:"#\u52a0\u8f7d\u4e2d","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u52a0\u8f7d\u4e2d")),l.a.createElement(c["default"],o["default"]["switch-loading"].previewerProps,l.a.createElement(m,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4e0d\u53ef\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4e0d\u53ef\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e0d\u53ef\u7528")),l.a.createElement(c["default"],o["default"]["switch-disabled"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"autoFocus"),l.a.createElement("td",null,"\u7ec4\u4ef6\u81ea\u52a8\u83b7\u53d6\u7126\u70b9"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"checked"),l.a.createElement("td",null,"\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"checkedChildren"),l.a.createElement("td",null,"\u9009\u4e2d\u65f6\u7684\u5185\u5bb9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"className"),l.a.createElement("td",null,"Switch \u5668\u7c7b\u540d"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"defaultChecked"),l.a.createElement("td",null,"\u521d\u59cb\u662f\u5426\u9009\u4e2d"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"disabled"),l.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"loading"),l.a.createElement("td",null,"\u52a0\u8f7d\u4e2d\u7684\u5f00\u5173"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"size"),l.a.createElement("td",null,"\u5f00\u5173\u5927\u5c0f\uff0c\u53ef\u9009\u503c\uff1a",l.a.createElement("code",null,"default")," ",l.a.createElement("code",null,"small")),l.a.createElement("td",null,"string"),l.a.createElement("td",null,l.a.createElement("code",null,"default"))),l.a.createElement("tr",null,l.a.createElement("td",null,"unCheckedChildren"),l.a.createElement("td",null,"\u975e\u9009\u4e2d\u65f6\u7684\u5185\u5bb9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onChange"),l.a.createElement("td",null,"\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570"),l.a.createElement("td",null,"function(checked: boolean, event: Event)"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onClick"),l.a.createElement("td",null,"\u70b9\u51fb\u65f6\u56de\u8c03\u51fd\u6570"),l.a.createElement("td",null,"function(checked: boolean, event: Event)"),l.a.createElement("td",null,"-")))),l.a.createElement("h2",{id:"\u65b9\u6cd5"},l.a.createElement(r["AnchorLink"],{to:"#\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u65b9\u6cd5"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u540d\u79f0"),l.a.createElement("th",null,"\u63cf\u8ff0"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"blur()"),l.a.createElement("td",null,"\u79fb\u9664\u7126\u70b9")),l.a.createElement("tr",null,l.a.createElement("td",null,"focus()"),l.a.createElement("td",null,"\u83b7\u53d6\u7126\u70b9"))))))))}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [58],
3
+ {
4
+ MZF8: function (e, t, a) {
5
+ 'use strict';
6
+ var n = a('ogwx');
7
+ a.d(t, 'a', function () {
8
+ return n['b'];
9
+ });
10
+ a('VCU9');
11
+ },
12
+ RZMt: function (e, t, a) {},
13
+ Zxc8: function (e, t, a) {
14
+ 'use strict';
15
+ a.r(t);
16
+ var n = a('q1tI'),
17
+ l = a.n(n),
18
+ r = a('k3GJ'),
19
+ c = a('MZF8'),
20
+ o = a('dEAq'),
21
+ i = a('H1Ra');
22
+ a('RZMt');
23
+ function d(e, t) {
24
+ return f(e) || E(e, t) || m(e, t) || u();
25
+ }
26
+ function u() {
27
+ throw new TypeError(
28
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
29
+ );
30
+ }
31
+ function m(e, t) {
32
+ if (e) {
33
+ if ('string' === typeof e) return s(e, t);
34
+ var a = Object.prototype.toString.call(e).slice(8, -1);
35
+ return (
36
+ 'Object' === a && e.constructor && (a = e.constructor.name),
37
+ 'Map' === a || 'Set' === a
38
+ ? Array.from(e)
39
+ : 'Arguments' === a ||
40
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
41
+ ? s(e, t)
42
+ : void 0
43
+ );
44
+ }
45
+ }
46
+ function s(e, t) {
47
+ (null == t || t > e.length) && (t = e.length);
48
+ for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
49
+ return n;
50
+ }
51
+ function E(e, t) {
52
+ var a =
53
+ null == e
54
+ ? null
55
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
56
+ e['@@iterator'];
57
+ if (null != a) {
58
+ var n,
59
+ l,
60
+ r = [],
61
+ c = !0,
62
+ o = !1;
63
+ try {
64
+ for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
65
+ if ((r.push(n.value), t && r.length === t)) break;
66
+ } catch (i) {
67
+ (o = !0), (l = i);
68
+ } finally {
69
+ try {
70
+ c || null == a['return'] || a['return']();
71
+ } finally {
72
+ if (o) throw l;
73
+ }
74
+ }
75
+ return r;
76
+ }
77
+ }
78
+ function f(e) {
79
+ if (Array.isArray(e)) return e;
80
+ }
81
+ function h(e, t) {
82
+ var a,
83
+ n =
84
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
85
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
86
+ }
87
+ var b = function (e) {
88
+ var t,
89
+ a,
90
+ u,
91
+ m = Object(n['useRef'])(),
92
+ s = Object(n['useContext'])(o['context']),
93
+ E = s.locale,
94
+ f = Object(o['useLocaleProps'])(E, e),
95
+ b = Object(o['useDemoUrl'])(f.identifier),
96
+ p = f.demoUrl || b,
97
+ v =
98
+ (null === c['a'] || void 0 === c['a']
99
+ ? void 0
100
+ : c['a'].location.hash) === '#'.concat(f.identifier),
101
+ k = 1 === Object.keys(f.sources).length,
102
+ w = Object(o['useCodeSandbox'])(
103
+ (
104
+ null === (t = f.hideActions) || void 0 === t
105
+ ? void 0
106
+ : t.includes('CSB')
107
+ )
108
+ ? null
109
+ : f,
110
+ ),
111
+ _ = Object(o['useRiddle'])(
112
+ (
113
+ null === (a = f.hideActions) || void 0 === a
114
+ ? void 0
115
+ : a.includes('RIDDLE')
116
+ )
117
+ ? null
118
+ : f,
119
+ ),
120
+ y = Object(o['useMotions'])(f.motions || [], m.current),
121
+ N = d(y, 2),
122
+ g = N[0],
123
+ x = N[1],
124
+ A = Object(o['useCopy'])(),
125
+ C = d(A, 2),
126
+ j = C[0],
127
+ O = C[1],
128
+ I = Object(n['useState'])('_'),
129
+ S = d(I, 2),
130
+ L = S[0],
131
+ R = S[1],
132
+ P = Object(n['useState'])(h(L, f.sources[L])),
133
+ M = d(P, 2),
134
+ T = M[0],
135
+ U = M[1],
136
+ Z = Object(n['useState'])(Boolean(f.defaultShowCode)),
137
+ F = d(Z, 2),
138
+ J = F[0],
139
+ q = F[1],
140
+ $ = Object(n['useState'])(Math.random()),
141
+ z = d($, 2),
142
+ B = z[0],
143
+ D = z[1],
144
+ G = f.sources[L][T] || f.sources[L].content,
145
+ H = Object(o['useTSPlaygroundUrl'])(E, G),
146
+ X = Object(n['useRef'])(),
147
+ K = Object(o['usePrefersColor'])(),
148
+ V = d(K, 1),
149
+ Y = V[0];
150
+ function Q(e) {
151
+ R(e), U(h(e, f.sources[e]));
152
+ }
153
+ return (
154
+ Object(n['useEffect'])(
155
+ function () {
156
+ D(Math.random());
157
+ },
158
+ [Y],
159
+ ),
160
+ l.a.createElement(
161
+ 'div',
162
+ {
163
+ style: f.style,
164
+ className: [
165
+ f.className,
166
+ '__dumi-default-previewer',
167
+ v ? '__dumi-default-previewer-target' : '',
168
+ ]
169
+ .filter(Boolean)
170
+ .join(' '),
171
+ id: f.identifier,
172
+ 'data-debug': f.debug || void 0,
173
+ 'data-iframe': f.iframe || void 0,
174
+ },
175
+ f.iframe &&
176
+ l.a.createElement('div', {
177
+ className: '__dumi-default-previewer-browser-nav',
178
+ }),
179
+ l.a.createElement(
180
+ 'div',
181
+ {
182
+ ref: m,
183
+ className: '__dumi-default-previewer-demo',
184
+ style: {
185
+ transform: f.transform ? 'translate(0, 0)' : void 0,
186
+ padding:
187
+ f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
188
+ background: f.background,
189
+ },
190
+ },
191
+ f.iframe
192
+ ? l.a.createElement('iframe', {
193
+ title: 'dumi-previewer',
194
+ style: {
195
+ height: String(f.iframe).replace(/(\d)$/, '$1px'),
196
+ },
197
+ key: B,
198
+ src: p,
199
+ ref: X,
200
+ })
201
+ : f.children,
202
+ ),
203
+ l.a.createElement(
204
+ 'div',
205
+ {
206
+ className: '__dumi-default-previewer-desc',
207
+ 'data-title': f.title,
208
+ },
209
+ f.title &&
210
+ l.a.createElement(
211
+ o['AnchorLink'],
212
+ { to: '#'.concat(f.identifier) },
213
+ f.title,
214
+ ),
215
+ f.description &&
216
+ l.a.createElement('div', {
217
+ dangerouslySetInnerHTML: { __html: f.description },
218
+ }),
219
+ ),
220
+ l.a.createElement(
221
+ 'div',
222
+ { className: '__dumi-default-previewer-actions' },
223
+ w &&
224
+ l.a.createElement('button', {
225
+ title: 'Open demo on CodeSandbox.io',
226
+ className: '__dumi-default-icon',
227
+ role: 'codesandbox',
228
+ onClick: w,
229
+ }),
230
+ _ &&
231
+ l.a.createElement('button', {
232
+ title: 'Open demo on Riddle',
233
+ className: '__dumi-default-icon',
234
+ role: 'riddle',
235
+ onClick: _,
236
+ }),
237
+ f.motions &&
238
+ l.a.createElement('button', {
239
+ title: 'Execute motions',
240
+ className: '__dumi-default-icon',
241
+ role: 'motions',
242
+ disabled: x,
243
+ onClick: function () {
244
+ return g();
245
+ },
246
+ }),
247
+ f.iframe &&
248
+ l.a.createElement('button', {
249
+ title: 'Reload demo iframe page',
250
+ className: '__dumi-default-icon',
251
+ role: 'refresh',
252
+ onClick: function () {
253
+ return D(Math.random());
254
+ },
255
+ }),
256
+ !(null === (u = f.hideActions) || void 0 === u
257
+ ? void 0
258
+ : u.includes('EXTERNAL')) &&
259
+ l.a.createElement(
260
+ o['Link'],
261
+ { target: '_blank', to: p },
262
+ l.a.createElement('button', {
263
+ title: 'Open demo in new tab',
264
+ className: '__dumi-default-icon',
265
+ role: 'open-demo',
266
+ type: 'button',
267
+ }),
268
+ ),
269
+ l.a.createElement('span', null),
270
+ l.a.createElement('button', {
271
+ title: 'Copy source code',
272
+ className: '__dumi-default-icon',
273
+ role: 'copy',
274
+ 'data-status': O,
275
+ onClick: function () {
276
+ return j(G);
277
+ },
278
+ }),
279
+ 'tsx' === T &&
280
+ J &&
281
+ l.a.createElement(
282
+ o['Link'],
283
+ { target: '_blank', to: H },
284
+ l.a.createElement('button', {
285
+ title: 'Get JSX via TypeScript Playground',
286
+ className: '__dumi-default-icon',
287
+ role: 'change-tsx',
288
+ type: 'button',
289
+ }),
290
+ ),
291
+ l.a.createElement('button', {
292
+ title: 'Toggle source code panel',
293
+ className: '__dumi-default-icon'.concat(
294
+ J ? ' __dumi-default-btn-expand' : '',
295
+ ),
296
+ role: 'source',
297
+ type: 'button',
298
+ onClick: function () {
299
+ return q(!J);
300
+ },
301
+ }),
302
+ ),
303
+ J &&
304
+ l.a.createElement(
305
+ 'div',
306
+ { className: '__dumi-default-previewer-source-wrapper' },
307
+ !k &&
308
+ l.a.createElement(
309
+ r['b'],
310
+ {
311
+ className: '__dumi-default-previewer-source-tab',
312
+ prefixCls: '__dumi-default-tabs',
313
+ moreIcon: '\xb7\xb7\xb7',
314
+ defaultActiveKey: L,
315
+ onChange: Q,
316
+ },
317
+ Object.keys(f.sources).map(function (e) {
318
+ return l.a.createElement(r['a'], {
319
+ tab:
320
+ '_' === e ? 'index.'.concat(h(e, f.sources[e])) : e,
321
+ key: e,
322
+ });
323
+ }),
324
+ ),
325
+ l.a.createElement(
326
+ 'div',
327
+ { className: '__dumi-default-previewer-source' },
328
+ l.a.createElement(i['a'], { code: G, lang: T, showCopy: !1 }),
329
+ ),
330
+ ),
331
+ )
332
+ );
333
+ };
334
+ t['default'] = b;
335
+ },
336
+ bYhw: function (e, t, a) {
337
+ 'use strict';
338
+ a.r(t);
339
+ var n = a('q1tI'),
340
+ l = a.n(n),
341
+ r = a('dEAq'),
342
+ c = a('Zxc8'),
343
+ o = a('JjdP'),
344
+ i = l.a.memo(o['default']['switch-basic'].component),
345
+ d = l.a.memo(o['default']['switch-size'].component),
346
+ u = l.a.memo(o['default']['switch-text'].component),
347
+ m = l.a.memo(o['default']['switch-loading'].component),
348
+ s = l.a.memo(o['default']['switch-disabled'].component);
349
+ t['default'] = (e) => (
350
+ l.a.useEffect(() => {
351
+ var t;
352
+ null !== e &&
353
+ void 0 !== e &&
354
+ null !== (t = e.location) &&
355
+ void 0 !== t &&
356
+ t.hash &&
357
+ r['AnchorLink'].scrollToAnchor(
358
+ decodeURIComponent(e.location.hash.slice(1)),
359
+ );
360
+ }, []),
361
+ l.a.createElement(
362
+ l.a.Fragment,
363
+ null,
364
+ l.a.createElement(
365
+ l.a.Fragment,
366
+ null,
367
+ l.a.createElement(
368
+ 'div',
369
+ { className: 'markdown' },
370
+ l.a.createElement(
371
+ 'h1',
372
+ { id: 'switch-\u5f00\u5173' },
373
+ l.a.createElement(
374
+ r['AnchorLink'],
375
+ {
376
+ to: '#switch-\u5f00\u5173',
377
+ 'aria-hidden': 'true',
378
+ tabIndex: -1,
379
+ },
380
+ l.a.createElement('span', { className: 'icon icon-link' }),
381
+ ),
382
+ 'Switch \u5f00\u5173',
383
+ ),
384
+ l.a.createElement(
385
+ 'p',
386
+ null,
387
+ '\u5f00\u5173\u9009\u62e9\u5668\u3002',
388
+ ),
389
+ l.a.createElement(
390
+ 'h2',
391
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
392
+ l.a.createElement(
393
+ r['AnchorLink'],
394
+ {
395
+ to: '#\u4f55\u65f6\u4f7f\u7528',
396
+ 'aria-hidden': 'true',
397
+ tabIndex: -1,
398
+ },
399
+ l.a.createElement('span', { className: 'icon icon-link' }),
400
+ ),
401
+ '\u4f55\u65f6\u4f7f\u7528',
402
+ ),
403
+ l.a.createElement(
404
+ 'ul',
405
+ null,
406
+ l.a.createElement(
407
+ 'li',
408
+ null,
409
+ '\u9700\u8981\u8868\u793a\u5f00\u5173\u72b6\u6001/\u4e24\u79cd\u72b6\u6001\u4e4b\u95f4\u7684\u5207\u6362\u65f6\uff1b',
410
+ ),
411
+ l.a.createElement(
412
+ 'li',
413
+ null,
414
+ '\u548c ',
415
+ l.a.createElement('code', null, 'checkbox'),
416
+ ' \u7684\u533a\u522b\u662f\uff0c\u5207\u6362 ',
417
+ l.a.createElement('code', null, 'switch'),
418
+ ' \u4f1a\u76f4\u63a5\u89e6\u53d1\u72b6\u6001\u6539\u53d8\uff0c\u800c ',
419
+ l.a.createElement('code', null, 'checkbox'),
420
+ ' \u4e00\u822c\u7528\u4e8e\u72b6\u6001\u6807\u8bb0\uff0c\u9700\u8981\u548c\u63d0\u4ea4\u64cd\u4f5c\u914d\u5408\u3002',
421
+ ),
422
+ ),
423
+ l.a.createElement(
424
+ 'h2',
425
+ { id: '\u4ee3\u7801\u6f14\u793a' },
426
+ l.a.createElement(
427
+ r['AnchorLink'],
428
+ {
429
+ to: '#\u4ee3\u7801\u6f14\u793a',
430
+ 'aria-hidden': 'true',
431
+ tabIndex: -1,
432
+ },
433
+ l.a.createElement('span', { className: 'icon icon-link' }),
434
+ ),
435
+ '\u4ee3\u7801\u6f14\u793a',
436
+ ),
437
+ l.a.createElement(
438
+ 'h3',
439
+ { id: '\u57fa\u672c' },
440
+ l.a.createElement(
441
+ r['AnchorLink'],
442
+ { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
443
+ l.a.createElement('span', { className: 'icon icon-link' }),
444
+ ),
445
+ '\u57fa\u672c',
446
+ ),
447
+ ),
448
+ l.a.createElement(
449
+ c['default'],
450
+ o['default']['switch-basic'].previewerProps,
451
+ l.a.createElement(i, null),
452
+ ),
453
+ l.a.createElement(
454
+ 'div',
455
+ { className: 'markdown' },
456
+ l.a.createElement(
457
+ 'h3',
458
+ { id: '\u4e24\u79cd\u5927\u5c0f' },
459
+ l.a.createElement(
460
+ r['AnchorLink'],
461
+ {
462
+ to: '#\u4e24\u79cd\u5927\u5c0f',
463
+ 'aria-hidden': 'true',
464
+ tabIndex: -1,
465
+ },
466
+ l.a.createElement('span', { className: 'icon icon-link' }),
467
+ ),
468
+ '\u4e24\u79cd\u5927\u5c0f',
469
+ ),
470
+ ),
471
+ l.a.createElement(
472
+ c['default'],
473
+ o['default']['switch-size'].previewerProps,
474
+ l.a.createElement(d, null),
475
+ ),
476
+ l.a.createElement(
477
+ 'div',
478
+ { className: 'markdown' },
479
+ l.a.createElement(
480
+ 'h3',
481
+ { id: '\u6587\u5b57\u548c\u56fe\u6807' },
482
+ l.a.createElement(
483
+ r['AnchorLink'],
484
+ {
485
+ to: '#\u6587\u5b57\u548c\u56fe\u6807',
486
+ 'aria-hidden': 'true',
487
+ tabIndex: -1,
488
+ },
489
+ l.a.createElement('span', { className: 'icon icon-link' }),
490
+ ),
491
+ '\u6587\u5b57\u548c\u56fe\u6807',
492
+ ),
493
+ ),
494
+ l.a.createElement(
495
+ c['default'],
496
+ o['default']['switch-text'].previewerProps,
497
+ l.a.createElement(u, null),
498
+ ),
499
+ l.a.createElement(
500
+ 'div',
501
+ { className: 'markdown' },
502
+ l.a.createElement(
503
+ 'h3',
504
+ { id: '\u52a0\u8f7d\u4e2d' },
505
+ l.a.createElement(
506
+ r['AnchorLink'],
507
+ {
508
+ to: '#\u52a0\u8f7d\u4e2d',
509
+ 'aria-hidden': 'true',
510
+ tabIndex: -1,
511
+ },
512
+ l.a.createElement('span', { className: 'icon icon-link' }),
513
+ ),
514
+ '\u52a0\u8f7d\u4e2d',
515
+ ),
516
+ ),
517
+ l.a.createElement(
518
+ c['default'],
519
+ o['default']['switch-loading'].previewerProps,
520
+ l.a.createElement(m, null),
521
+ ),
522
+ l.a.createElement(
523
+ 'div',
524
+ { className: 'markdown' },
525
+ l.a.createElement(
526
+ 'h3',
527
+ { id: '\u4e0d\u53ef\u7528' },
528
+ l.a.createElement(
529
+ r['AnchorLink'],
530
+ {
531
+ to: '#\u4e0d\u53ef\u7528',
532
+ 'aria-hidden': 'true',
533
+ tabIndex: -1,
534
+ },
535
+ l.a.createElement('span', { className: 'icon icon-link' }),
536
+ ),
537
+ '\u4e0d\u53ef\u7528',
538
+ ),
539
+ ),
540
+ l.a.createElement(
541
+ c['default'],
542
+ o['default']['switch-disabled'].previewerProps,
543
+ l.a.createElement(s, null),
544
+ ),
545
+ l.a.createElement(
546
+ 'div',
547
+ { className: 'markdown' },
548
+ l.a.createElement(
549
+ 'h2',
550
+ { id: 'api' },
551
+ l.a.createElement(
552
+ r['AnchorLink'],
553
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
554
+ l.a.createElement('span', { className: 'icon icon-link' }),
555
+ ),
556
+ 'API',
557
+ ),
558
+ l.a.createElement(
559
+ 'table',
560
+ null,
561
+ l.a.createElement(
562
+ 'thead',
563
+ null,
564
+ l.a.createElement(
565
+ 'tr',
566
+ null,
567
+ l.a.createElement('th', null, '\u53c2\u6570'),
568
+ l.a.createElement('th', null, '\u8bf4\u660e'),
569
+ l.a.createElement('th', null, '\u7c7b\u578b'),
570
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
571
+ ),
572
+ ),
573
+ l.a.createElement(
574
+ 'tbody',
575
+ null,
576
+ l.a.createElement(
577
+ 'tr',
578
+ null,
579
+ l.a.createElement('td', null, 'autoFocus'),
580
+ l.a.createElement(
581
+ 'td',
582
+ null,
583
+ '\u7ec4\u4ef6\u81ea\u52a8\u83b7\u53d6\u7126\u70b9',
584
+ ),
585
+ l.a.createElement('td', null, 'boolean'),
586
+ l.a.createElement('td', null, 'false'),
587
+ ),
588
+ l.a.createElement(
589
+ 'tr',
590
+ null,
591
+ l.a.createElement('td', null, 'checked'),
592
+ l.a.createElement(
593
+ 'td',
594
+ null,
595
+ '\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d',
596
+ ),
597
+ l.a.createElement('td', null, 'boolean'),
598
+ l.a.createElement('td', null, 'false'),
599
+ ),
600
+ l.a.createElement(
601
+ 'tr',
602
+ null,
603
+ l.a.createElement('td', null, 'checkedChildren'),
604
+ l.a.createElement(
605
+ 'td',
606
+ null,
607
+ '\u9009\u4e2d\u65f6\u7684\u5185\u5bb9',
608
+ ),
609
+ l.a.createElement('td', null, 'ReactNode'),
610
+ l.a.createElement('td', null, '-'),
611
+ ),
612
+ l.a.createElement(
613
+ 'tr',
614
+ null,
615
+ l.a.createElement('td', null, 'className'),
616
+ l.a.createElement('td', null, 'Switch \u5668\u7c7b\u540d'),
617
+ l.a.createElement('td', null, 'string'),
618
+ l.a.createElement('td', null, '-'),
619
+ ),
620
+ l.a.createElement(
621
+ 'tr',
622
+ null,
623
+ l.a.createElement('td', null, 'defaultChecked'),
624
+ l.a.createElement(
625
+ 'td',
626
+ null,
627
+ '\u521d\u59cb\u662f\u5426\u9009\u4e2d',
628
+ ),
629
+ l.a.createElement('td', null, 'boolean'),
630
+ l.a.createElement('td', null, 'false'),
631
+ ),
632
+ l.a.createElement(
633
+ 'tr',
634
+ null,
635
+ l.a.createElement('td', null, 'disabled'),
636
+ l.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
637
+ l.a.createElement('td', null, 'boolean'),
638
+ l.a.createElement('td', null, 'false'),
639
+ ),
640
+ l.a.createElement(
641
+ 'tr',
642
+ null,
643
+ l.a.createElement('td', null, 'loading'),
644
+ l.a.createElement(
645
+ 'td',
646
+ null,
647
+ '\u52a0\u8f7d\u4e2d\u7684\u5f00\u5173',
648
+ ),
649
+ l.a.createElement('td', null, 'boolean'),
650
+ l.a.createElement('td', null, 'false'),
651
+ ),
652
+ l.a.createElement(
653
+ 'tr',
654
+ null,
655
+ l.a.createElement('td', null, 'size'),
656
+ l.a.createElement(
657
+ 'td',
658
+ null,
659
+ '\u5f00\u5173\u5927\u5c0f\uff0c\u53ef\u9009\u503c\uff1a',
660
+ l.a.createElement('code', null, 'default'),
661
+ ' ',
662
+ l.a.createElement('code', null, 'small'),
663
+ ),
664
+ l.a.createElement('td', null, 'string'),
665
+ l.a.createElement(
666
+ 'td',
667
+ null,
668
+ l.a.createElement('code', null, 'default'),
669
+ ),
670
+ ),
671
+ l.a.createElement(
672
+ 'tr',
673
+ null,
674
+ l.a.createElement('td', null, 'unCheckedChildren'),
675
+ l.a.createElement(
676
+ 'td',
677
+ null,
678
+ '\u975e\u9009\u4e2d\u65f6\u7684\u5185\u5bb9',
679
+ ),
680
+ l.a.createElement('td', null, 'ReactNode'),
681
+ l.a.createElement('td', null, '-'),
682
+ ),
683
+ l.a.createElement(
684
+ 'tr',
685
+ null,
686
+ l.a.createElement('td', null, 'onChange'),
687
+ l.a.createElement(
688
+ 'td',
689
+ null,
690
+ '\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570',
691
+ ),
692
+ l.a.createElement(
693
+ 'td',
694
+ null,
695
+ 'function(checked: boolean, event: Event)',
696
+ ),
697
+ l.a.createElement('td', null, '-'),
698
+ ),
699
+ l.a.createElement(
700
+ 'tr',
701
+ null,
702
+ l.a.createElement('td', null, 'onClick'),
703
+ l.a.createElement(
704
+ 'td',
705
+ null,
706
+ '\u70b9\u51fb\u65f6\u56de\u8c03\u51fd\u6570',
707
+ ),
708
+ l.a.createElement(
709
+ 'td',
710
+ null,
711
+ 'function(checked: boolean, event: Event)',
712
+ ),
713
+ l.a.createElement('td', null, '-'),
714
+ ),
715
+ ),
716
+ ),
717
+ l.a.createElement(
718
+ 'h2',
719
+ { id: '\u65b9\u6cd5' },
720
+ l.a.createElement(
721
+ r['AnchorLink'],
722
+ { to: '#\u65b9\u6cd5', 'aria-hidden': 'true', tabIndex: -1 },
723
+ l.a.createElement('span', { className: 'icon icon-link' }),
724
+ ),
725
+ '\u65b9\u6cd5',
726
+ ),
727
+ l.a.createElement(
728
+ 'table',
729
+ null,
730
+ l.a.createElement(
731
+ 'thead',
732
+ null,
733
+ l.a.createElement(
734
+ 'tr',
735
+ null,
736
+ l.a.createElement('th', null, '\u540d\u79f0'),
737
+ l.a.createElement('th', null, '\u63cf\u8ff0'),
738
+ ),
739
+ ),
740
+ l.a.createElement(
741
+ 'tbody',
742
+ null,
743
+ l.a.createElement(
744
+ 'tr',
745
+ null,
746
+ l.a.createElement('td', null, 'blur()'),
747
+ l.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
748
+ ),
749
+ l.a.createElement(
750
+ 'tr',
751
+ null,
752
+ l.a.createElement('td', null, 'focus()'),
753
+ l.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
754
+ ),
755
+ ),
756
+ ),
757
+ ),
758
+ ),
759
+ )
760
+ );
761
+ },
762
+ },
763
+ ]);