@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,1006 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[35],{MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},PzNM:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),m=a("JjdP"),u=l.a.memo(m["default"]["input-number-basic"].component),d=l.a.memo(m["default"]["input-number-threesize"].component),o=l.a.memo(m["default"]["input-number-disabled"].component),i=l.a.memo(m["default"]["input-number-decimal"].component),E=l.a.memo(m["default"]["input-number-keyboard"].component),s=l.a.memo(m["default"]["input-number-nowrap"].component),p=l.a.memo(m["default"]["input-number-outwrap"].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("p",null,"\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\uff0c\u8f93\u5165\u8303\u56f4\u5185\u7684\u6570\u503c\u3002"),l.a.createElement("h1",{id:"inputnumber-\u6570\u5b57\u8f93\u5165\u6846"},l.a.createElement(r["AnchorLink"],{to:"#inputnumber-\u6570\u5b57\u8f93\u5165\u6846","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"InputNumber \u6570\u5b57\u8f93\u5165\u6846"),l.a.createElement("p",null,"\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\uff0c\u8f93\u5165\u8303\u56f4\u5185\u7684\u6570\u503c\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("p",null,"\u5f53\u9700\u8981\u83b7\u53d6\u6807\u51c6\u6570\u503c\u65f6\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"],m["default"]["input-number-basic"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4e09\u79cd\u5927\u5c0f"},l.a.createElement(r["AnchorLink"],{to:"#\u4e09\u79cd\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e09\u79cd\u5927\u5c0f")),l.a.createElement(c["default"],m["default"]["input-number-threesize"].previewerProps,l.a.createElement(d,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"],m["default"]["input-number-disabled"].previewerProps,l.a.createElement(o,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u9ad8\u7cbe\u5ea6\u5c0f\u6570"},l.a.createElement(r["AnchorLink"],{to:"#\u9ad8\u7cbe\u5ea6\u5c0f\u6570","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u9ad8\u7cbe\u5ea6\u5c0f\u6570")),l.a.createElement(c["default"],m["default"]["input-number-decimal"].previewerProps,l.a.createElement(i,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u952e\u76d8\u884c\u4e3a"},l.a.createElement(r["AnchorLink"],{to:"#\u952e\u76d8\u884c\u4e3a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u952e\u76d8\u884c\u4e3a")),l.a.createElement(c["default"],m["default"]["input-number-keyboard"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u65e0\u8fb9\u6846"},l.a.createElement(r["AnchorLink"],{to:"#\u65e0\u8fb9\u6846","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u65e0\u8fb9\u6846")),l.a.createElement(c["default"],m["default"]["input-number-nowrap"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u8d85\u51fa\u8fb9\u754c"},l.a.createElement(r["AnchorLink"],{to:"#\u8d85\u51fa\u8fb9\u754c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u8d85\u51fa\u8fb9\u754c")),l.a.createElement(c["default"],m["default"]["input-number-outwrap"].previewerProps,l.a.createElement(p,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("p",null,"\u5c5e\u6027\u5982\u4e0b"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u6210\u5458"),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("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"autoFocus"),l.a.createElement("td",null,"\u81ea\u52a8\u83b7\u53d6\u7126\u70b9"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"bordered"),l.a.createElement("td",null,"\u662f\u5426\u6709\u8fb9\u6846"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"true"),l.a.createElement("td",null,"4.12.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"decimalSeparator"),l.a.createElement("td",null,"\u5c0f\u6570\u70b9"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"defaultValue"),l.a.createElement("td",null,"\u521d\u59cb\u503c"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"disabled"),l.a.createElement("td",null,"\u7981\u7528"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"formatter"),l.a.createElement("td",null,"\u6307\u5b9a\u8f93\u5165\u6846\u5c55\u793a\u503c\u7684\u683c\u5f0f"),l.a.createElement("td",null,"function(value: number | string): string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"keyboard"),l.a.createElement("td",null,"\u662f\u5426\u542f\u7528\u952e\u76d8\u5feb\u6377\u884c\u4e3a"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"true"),l.a.createElement("td",null,"4.12.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"max"),l.a.createElement("td",null,"\u6700\u5927\u503c"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,l.a.createElement(r["Link"],{to:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER"},"Number.MAX_SAFE_INTEGER")),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"min"),l.a.createElement("td",null,"\u6700\u5c0f\u503c"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,l.a.createElement(r["Link"],{to:"https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER"},"Number.MIN_SAFE_INTEGER")),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"parser"),l.a.createElement("td",null,"\u6307\u5b9a\u4ece ",l.a.createElement("code",null,"formatter")," \u91cc\u8f6c\u6362\u56de\u6570\u5b57\u7684\u65b9\u5f0f\uff0c\u548c ",l.a.createElement("code",null,"formatter")," \u642d\u914d\u4f7f\u7528"),l.a.createElement("td",null,"function(string): number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"precision"),l.a.createElement("td",null,"\u6570\u503c\u7cbe\u5ea6\uff0c\u914d\u7f6e ",l.a.createElement("code",null,"formatter")," \u65f6\u4f1a\u4ee5 ",l.a.createElement("code",null,"formatter")," \u4e3a\u51c6"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"readOnly"),l.a.createElement("td",null,"\u53ea\u8bfb"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"size"),l.a.createElement("td",null,"\u8f93\u5165\u6846\u5927\u5c0f"),l.a.createElement("td",null,l.a.createElement("code",null,"large")," | ",l.a.createElement("code",null,"middle")," | ",l.a.createElement("code",null,"small")),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"step"),l.a.createElement("td",null,"\u6bcf\u6b21\u6539\u53d8\u6b65\u6570\uff0c\u53ef\u4ee5\u4e3a\u5c0f\u6570"),l.a.createElement("td",null,"number | string"),l.a.createElement("td",null,"1"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"stringMode"),l.a.createElement("td",null,"\u5b57\u7b26\u503c\u6a21\u5f0f\uff0c\u5f00\u542f\u540e\u652f\u6301\u9ad8\u7cbe\u5ea6\u5c0f\u6570\u3002\u540c\u65f6 ",l.a.createElement("code",null,"onChange")," \u5c06\u8fd4\u56de string \u7c7b\u578b"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null,"4.13.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"value"),l.a.createElement("td",null,"\u5f53\u524d\u503c"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onChange"),l.a.createElement("td",null,"\u53d8\u5316\u56de\u8c03"),l.a.createElement("td",null,"function(value: number | string | null)"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onPressEnter"),l.a.createElement("td",null,"\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03"),l.a.createElement("td",null,"function(e)"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onStep"),l.a.createElement("td",null,"\u70b9\u51fb\u4e0a\u4e0b\u7bad\u5934\u7684\u56de\u8c03"),l.a.createElement("td",null,"(value: number, info: ","{"," offset: number, type: 'up' | 'down' ","}",") => void"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.7.0")))),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")))),l.a.createElement("h2",{id:"faq"},l.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"FAQ"),l.a.createElement("h3",{id:"\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0bvalue-\u53ef\u4ee5\u8d85\u51fa-min-\u548c-max-\u8303\u56f4"},l.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0bvalue-\u53ef\u4ee5\u8d85\u51fa-min-\u548c-max-\u8303\u56f4","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0b\uff0c",l.a.createElement("code",null,"value")," \u53ef\u4ee5\u8d85\u51fa ",l.a.createElement("code",null,"min")," \u548c ",l.a.createElement("code",null,"max")," \u8303\u56f4\uff1f"),l.a.createElement("p",null,"\u5728\u53d7\u63a7\u6a21\u5f0f\u4e0b\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u81ea\u884c\u5b58\u50a8\u76f8\u5173\u6570\u636e\u3002\u5982\u679c\u7ec4\u4ef6\u5c06\u6570\u636e\u7ea6\u675f\u56de\u8303\u56f4\u5185\uff0c\u4f1a\u5bfc\u81f4\u5c55\u793a\u6570\u636e\u4e0e\u5b9e\u9645\u5b58\u50a8\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u60c5\u51b5\u3002\u8fd9\u4f7f\u5f97\u4e00\u4e9b\u5982\u8868\u5355\u573a\u666f\u5b58\u5728\u6f5c\u5728\u7684\u6570\u636e\u95ee\u9898\u3002"),l.a.createElement("h3",{id:"\u4e3a\u4f55\u52a8\u6001\u4fee\u6539-min-\u548c-max-\u8ba9-value-\u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1-onchange-\u4e8b\u4ef6"},l.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55\u52a8\u6001\u4fee\u6539-min-\u548c-max-\u8ba9-value-\u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1-onchange-\u4e8b\u4ef6","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55\u52a8\u6001\u4fee\u6539 ",l.a.createElement("code",null,"min")," \u548c ",l.a.createElement("code",null,"max")," \u8ba9 ",l.a.createElement("code",null,"value")," \u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1 ",l.a.createElement("code",null,"onChange")," \u4e8b\u4ef6\uff1f"),l.a.createElement("p",null,l.a.createElement("code",null,"onChange")," \u4e8b\u4ef6\u4e3a\u7528\u6237\u89e6\u53d1\u4e8b\u4ef6\uff0c\u81ea\u884c\u89e6\u53d1\u4f1a\u5bfc\u81f4\u8868\u5355\u5e93\u8bef\u4ee5\u4e3a\u53d8\u66f4\u6765\u81ea\u7528\u6237\u64cd\u4f5c\u3002\u6211\u4eec\u4ee5\u9519\u8bef\u6837\u5f0f\u5c55\u793a\u8d85\u51fa\u8303\u56f4\u7684\u6570\u503c\u3002"),l.a.createElement("style",{dangerouslySetInnerHTML:{__html:"\n .select-before {\n width: 50px;\n}\n\n.select-after {\n width: 50px;\n}\n\n"}})))))},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"),m=a("dEAq"),u=a("H1Ra");a("RZMt");function d(e,t){return p(e)||s(e,t)||i(e,t)||o()}function o(){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 i(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,n=new Array(t);a<t;a++)n[a]=e[a];return n}function s(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,m=!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(u){m=!0,l=u}finally{try{c||null==a["return"]||a["return"]()}finally{if(m)throw l}}return r}}function p(e){if(Array.isArray(e))return e}function b(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 f=function(e){var t,a,o,i=Object(n["useRef"])(),E=Object(n["useContext"])(m["context"]),s=E.locale,p=Object(m["useLocaleProps"])(s,e),f=Object(m["useDemoUrl"])(p.identifier),h=p.demoUrl||f,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),k=1===Object.keys(p.sources).length,_=Object(m["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),N=Object(m["useRiddle"])((null===(a=p.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:p),w=Object(m["useMotions"])(p.motions||[],i.current),g=d(w,2),y=g[0],x=g[1],A=Object(m["useCopy"])(),I=d(A,2),S=I[0],j=I[1],C=Object(n["useState"])("_"),L=d(C,2),O=L[0],M=L[1],R=Object(n["useState"])(b(O,p.sources[O])),P=d(R,2),T=P[0],F=P[1],z=Object(n["useState"])(Boolean(p.defaultShowCode)),G=d(z,2),J=G[0],q=G[1],U=Object(n["useState"])(Math.random()),Z=d(U,2),X=Z[0],$=Z[1],B=p.sources[O][T]||p.sources[O].content,D=Object(m["useTSPlaygroundUrl"])(s,B),H=Object(n["useRef"])(),V=Object(m["usePrefersColor"])(),W=d(V,1),K=W[0];function Q(e){M(e),F(b(e,p.sources[e]))}return Object(n["useEffect"])((function(){$(Math.random())}),[K]),l.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&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:i,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?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:X,src:h,ref:H}):p.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&l.a.createElement(m["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},_&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:_}),N&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:N}),p.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return y()}}),p.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return $(Math.random())}}),!(null===(o=p.hideActions)||void 0===o?void 0:o.includes("EXTERNAL"))&&l.a.createElement(m["Link"],{target:"_blank",to:h},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":j,onClick:function(){return S(B)}}),"tsx"===T&&J&&l.a.createElement(m["Link"],{target:"_blank",to:D},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:O,onChange:Q},Object.keys(p.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(b(e,p.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(u["a"],{code:B,lang:T,showCopy:!1}))))};t["default"]=f}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [35],
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
+ PzNM: function (e, t, a) {
13
+ 'use strict';
14
+ a.r(t);
15
+ var n = a('q1tI'),
16
+ l = a.n(n),
17
+ r = a('dEAq'),
18
+ c = a('Zxc8'),
19
+ m = a('JjdP'),
20
+ u = l.a.memo(m['default']['input-number-basic'].component),
21
+ d = l.a.memo(m['default']['input-number-threesize'].component),
22
+ o = l.a.memo(m['default']['input-number-disabled'].component),
23
+ i = l.a.memo(m['default']['input-number-decimal'].component),
24
+ E = l.a.memo(m['default']['input-number-keyboard'].component),
25
+ s = l.a.memo(m['default']['input-number-nowrap'].component),
26
+ p = l.a.memo(m['default']['input-number-outwrap'].component);
27
+ t['default'] = (e) => (
28
+ l.a.useEffect(() => {
29
+ var t;
30
+ null !== e &&
31
+ void 0 !== e &&
32
+ null !== (t = e.location) &&
33
+ void 0 !== t &&
34
+ t.hash &&
35
+ r['AnchorLink'].scrollToAnchor(
36
+ decodeURIComponent(e.location.hash.slice(1)),
37
+ );
38
+ }, []),
39
+ l.a.createElement(
40
+ l.a.Fragment,
41
+ null,
42
+ l.a.createElement(
43
+ l.a.Fragment,
44
+ null,
45
+ l.a.createElement(
46
+ 'div',
47
+ { className: 'markdown' },
48
+ l.a.createElement(
49
+ 'p',
50
+ null,
51
+ '\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\uff0c\u8f93\u5165\u8303\u56f4\u5185\u7684\u6570\u503c\u3002',
52
+ ),
53
+ l.a.createElement(
54
+ 'h1',
55
+ { id: 'inputnumber-\u6570\u5b57\u8f93\u5165\u6846' },
56
+ l.a.createElement(
57
+ r['AnchorLink'],
58
+ {
59
+ to: '#inputnumber-\u6570\u5b57\u8f93\u5165\u6846',
60
+ 'aria-hidden': 'true',
61
+ tabIndex: -1,
62
+ },
63
+ l.a.createElement('span', { className: 'icon icon-link' }),
64
+ ),
65
+ 'InputNumber \u6570\u5b57\u8f93\u5165\u6846',
66
+ ),
67
+ l.a.createElement(
68
+ 'p',
69
+ null,
70
+ '\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\uff0c\u8f93\u5165\u8303\u56f4\u5185\u7684\u6570\u503c\u3002',
71
+ ),
72
+ l.a.createElement(
73
+ 'h2',
74
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
75
+ l.a.createElement(
76
+ r['AnchorLink'],
77
+ {
78
+ to: '#\u4f55\u65f6\u4f7f\u7528',
79
+ 'aria-hidden': 'true',
80
+ tabIndex: -1,
81
+ },
82
+ l.a.createElement('span', { className: 'icon icon-link' }),
83
+ ),
84
+ '\u4f55\u65f6\u4f7f\u7528',
85
+ ),
86
+ l.a.createElement(
87
+ 'p',
88
+ null,
89
+ '\u5f53\u9700\u8981\u83b7\u53d6\u6807\u51c6\u6570\u503c\u65f6\u3002',
90
+ ),
91
+ l.a.createElement(
92
+ 'h2',
93
+ { id: '\u4ee3\u7801\u6f14\u793a' },
94
+ l.a.createElement(
95
+ r['AnchorLink'],
96
+ {
97
+ to: '#\u4ee3\u7801\u6f14\u793a',
98
+ 'aria-hidden': 'true',
99
+ tabIndex: -1,
100
+ },
101
+ l.a.createElement('span', { className: 'icon icon-link' }),
102
+ ),
103
+ '\u4ee3\u7801\u6f14\u793a',
104
+ ),
105
+ l.a.createElement(
106
+ 'h3',
107
+ { id: '\u57fa\u672c' },
108
+ l.a.createElement(
109
+ r['AnchorLink'],
110
+ { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
111
+ l.a.createElement('span', { className: 'icon icon-link' }),
112
+ ),
113
+ '\u57fa\u672c',
114
+ ),
115
+ ),
116
+ l.a.createElement(
117
+ c['default'],
118
+ m['default']['input-number-basic'].previewerProps,
119
+ l.a.createElement(u, null),
120
+ ),
121
+ l.a.createElement(
122
+ 'div',
123
+ { className: 'markdown' },
124
+ l.a.createElement(
125
+ 'h3',
126
+ { id: '\u4e09\u79cd\u5927\u5c0f' },
127
+ l.a.createElement(
128
+ r['AnchorLink'],
129
+ {
130
+ to: '#\u4e09\u79cd\u5927\u5c0f',
131
+ 'aria-hidden': 'true',
132
+ tabIndex: -1,
133
+ },
134
+ l.a.createElement('span', { className: 'icon icon-link' }),
135
+ ),
136
+ '\u4e09\u79cd\u5927\u5c0f',
137
+ ),
138
+ ),
139
+ l.a.createElement(
140
+ c['default'],
141
+ m['default']['input-number-threesize'].previewerProps,
142
+ l.a.createElement(d, null),
143
+ ),
144
+ l.a.createElement(
145
+ 'div',
146
+ { className: 'markdown' },
147
+ l.a.createElement(
148
+ 'h3',
149
+ { id: '\u4e0d\u53ef\u7528' },
150
+ l.a.createElement(
151
+ r['AnchorLink'],
152
+ {
153
+ to: '#\u4e0d\u53ef\u7528',
154
+ 'aria-hidden': 'true',
155
+ tabIndex: -1,
156
+ },
157
+ l.a.createElement('span', { className: 'icon icon-link' }),
158
+ ),
159
+ '\u4e0d\u53ef\u7528',
160
+ ),
161
+ ),
162
+ l.a.createElement(
163
+ c['default'],
164
+ m['default']['input-number-disabled'].previewerProps,
165
+ l.a.createElement(o, null),
166
+ ),
167
+ l.a.createElement(
168
+ 'div',
169
+ { className: 'markdown' },
170
+ l.a.createElement(
171
+ 'h3',
172
+ { id: '\u9ad8\u7cbe\u5ea6\u5c0f\u6570' },
173
+ l.a.createElement(
174
+ r['AnchorLink'],
175
+ {
176
+ to: '#\u9ad8\u7cbe\u5ea6\u5c0f\u6570',
177
+ 'aria-hidden': 'true',
178
+ tabIndex: -1,
179
+ },
180
+ l.a.createElement('span', { className: 'icon icon-link' }),
181
+ ),
182
+ '\u9ad8\u7cbe\u5ea6\u5c0f\u6570',
183
+ ),
184
+ ),
185
+ l.a.createElement(
186
+ c['default'],
187
+ m['default']['input-number-decimal'].previewerProps,
188
+ l.a.createElement(i, null),
189
+ ),
190
+ l.a.createElement(
191
+ 'div',
192
+ { className: 'markdown' },
193
+ l.a.createElement(
194
+ 'h3',
195
+ { id: '\u952e\u76d8\u884c\u4e3a' },
196
+ l.a.createElement(
197
+ r['AnchorLink'],
198
+ {
199
+ to: '#\u952e\u76d8\u884c\u4e3a',
200
+ 'aria-hidden': 'true',
201
+ tabIndex: -1,
202
+ },
203
+ l.a.createElement('span', { className: 'icon icon-link' }),
204
+ ),
205
+ '\u952e\u76d8\u884c\u4e3a',
206
+ ),
207
+ ),
208
+ l.a.createElement(
209
+ c['default'],
210
+ m['default']['input-number-keyboard'].previewerProps,
211
+ l.a.createElement(E, null),
212
+ ),
213
+ l.a.createElement(
214
+ 'div',
215
+ { className: 'markdown' },
216
+ l.a.createElement(
217
+ 'h3',
218
+ { id: '\u65e0\u8fb9\u6846' },
219
+ l.a.createElement(
220
+ r['AnchorLink'],
221
+ {
222
+ to: '#\u65e0\u8fb9\u6846',
223
+ 'aria-hidden': 'true',
224
+ tabIndex: -1,
225
+ },
226
+ l.a.createElement('span', { className: 'icon icon-link' }),
227
+ ),
228
+ '\u65e0\u8fb9\u6846',
229
+ ),
230
+ ),
231
+ l.a.createElement(
232
+ c['default'],
233
+ m['default']['input-number-nowrap'].previewerProps,
234
+ l.a.createElement(s, null),
235
+ ),
236
+ l.a.createElement(
237
+ 'div',
238
+ { className: 'markdown' },
239
+ l.a.createElement(
240
+ 'h3',
241
+ { id: '\u8d85\u51fa\u8fb9\u754c' },
242
+ l.a.createElement(
243
+ r['AnchorLink'],
244
+ {
245
+ to: '#\u8d85\u51fa\u8fb9\u754c',
246
+ 'aria-hidden': 'true',
247
+ tabIndex: -1,
248
+ },
249
+ l.a.createElement('span', { className: 'icon icon-link' }),
250
+ ),
251
+ '\u8d85\u51fa\u8fb9\u754c',
252
+ ),
253
+ ),
254
+ l.a.createElement(
255
+ c['default'],
256
+ m['default']['input-number-outwrap'].previewerProps,
257
+ l.a.createElement(p, null),
258
+ ),
259
+ l.a.createElement(
260
+ 'div',
261
+ { className: 'markdown' },
262
+ l.a.createElement(
263
+ 'h2',
264
+ { id: 'api' },
265
+ l.a.createElement(
266
+ r['AnchorLink'],
267
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
268
+ l.a.createElement('span', { className: 'icon icon-link' }),
269
+ ),
270
+ 'API',
271
+ ),
272
+ l.a.createElement('p', null, '\u5c5e\u6027\u5982\u4e0b'),
273
+ l.a.createElement(
274
+ 'table',
275
+ null,
276
+ l.a.createElement(
277
+ 'thead',
278
+ null,
279
+ l.a.createElement(
280
+ 'tr',
281
+ null,
282
+ l.a.createElement('th', null, '\u6210\u5458'),
283
+ l.a.createElement('th', null, '\u8bf4\u660e'),
284
+ l.a.createElement('th', null, '\u7c7b\u578b'),
285
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
286
+ l.a.createElement('th', null, '\u7248\u672c'),
287
+ ),
288
+ ),
289
+ l.a.createElement(
290
+ 'tbody',
291
+ null,
292
+ l.a.createElement(
293
+ 'tr',
294
+ null,
295
+ l.a.createElement('td', null, 'autoFocus'),
296
+ l.a.createElement(
297
+ 'td',
298
+ null,
299
+ '\u81ea\u52a8\u83b7\u53d6\u7126\u70b9',
300
+ ),
301
+ l.a.createElement('td', null, 'boolean'),
302
+ l.a.createElement('td', null, 'false'),
303
+ l.a.createElement('td', null, '-'),
304
+ ),
305
+ l.a.createElement(
306
+ 'tr',
307
+ null,
308
+ l.a.createElement('td', null, 'bordered'),
309
+ l.a.createElement(
310
+ 'td',
311
+ null,
312
+ '\u662f\u5426\u6709\u8fb9\u6846',
313
+ ),
314
+ l.a.createElement('td', null, 'boolean'),
315
+ l.a.createElement('td', null, 'true'),
316
+ l.a.createElement('td', null, '4.12.0'),
317
+ ),
318
+ l.a.createElement(
319
+ 'tr',
320
+ null,
321
+ l.a.createElement('td', null, 'decimalSeparator'),
322
+ l.a.createElement('td', null, '\u5c0f\u6570\u70b9'),
323
+ l.a.createElement('td', null, 'string'),
324
+ l.a.createElement('td', null, '-'),
325
+ l.a.createElement('td', null, '-'),
326
+ ),
327
+ l.a.createElement(
328
+ 'tr',
329
+ null,
330
+ l.a.createElement('td', null, 'defaultValue'),
331
+ l.a.createElement('td', null, '\u521d\u59cb\u503c'),
332
+ l.a.createElement('td', null, 'number'),
333
+ l.a.createElement('td', null, '-'),
334
+ l.a.createElement('td', null, '-'),
335
+ ),
336
+ l.a.createElement(
337
+ 'tr',
338
+ null,
339
+ l.a.createElement('td', null, 'disabled'),
340
+ l.a.createElement('td', null, '\u7981\u7528'),
341
+ l.a.createElement('td', null, 'boolean'),
342
+ l.a.createElement('td', null, 'false'),
343
+ l.a.createElement('td', null, '-'),
344
+ ),
345
+ l.a.createElement(
346
+ 'tr',
347
+ null,
348
+ l.a.createElement('td', null, 'formatter'),
349
+ l.a.createElement(
350
+ 'td',
351
+ null,
352
+ '\u6307\u5b9a\u8f93\u5165\u6846\u5c55\u793a\u503c\u7684\u683c\u5f0f',
353
+ ),
354
+ l.a.createElement(
355
+ 'td',
356
+ null,
357
+ 'function(value: number | string): string',
358
+ ),
359
+ l.a.createElement('td', null, '-'),
360
+ l.a.createElement('td', null, '-'),
361
+ ),
362
+ l.a.createElement(
363
+ 'tr',
364
+ null,
365
+ l.a.createElement('td', null, 'keyboard'),
366
+ l.a.createElement(
367
+ 'td',
368
+ null,
369
+ '\u662f\u5426\u542f\u7528\u952e\u76d8\u5feb\u6377\u884c\u4e3a',
370
+ ),
371
+ l.a.createElement('td', null, 'boolean'),
372
+ l.a.createElement('td', null, 'true'),
373
+ l.a.createElement('td', null, '4.12.0'),
374
+ ),
375
+ l.a.createElement(
376
+ 'tr',
377
+ null,
378
+ l.a.createElement('td', null, 'max'),
379
+ l.a.createElement('td', null, '\u6700\u5927\u503c'),
380
+ l.a.createElement('td', null, 'number'),
381
+ l.a.createElement(
382
+ 'td',
383
+ null,
384
+ l.a.createElement(
385
+ r['Link'],
386
+ {
387
+ to: 'https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER',
388
+ },
389
+ 'Number.MAX_SAFE_INTEGER',
390
+ ),
391
+ ),
392
+ l.a.createElement('td', null, '-'),
393
+ ),
394
+ l.a.createElement(
395
+ 'tr',
396
+ null,
397
+ l.a.createElement('td', null, 'min'),
398
+ l.a.createElement('td', null, '\u6700\u5c0f\u503c'),
399
+ l.a.createElement('td', null, 'number'),
400
+ l.a.createElement(
401
+ 'td',
402
+ null,
403
+ l.a.createElement(
404
+ r['Link'],
405
+ {
406
+ to: 'https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER',
407
+ },
408
+ 'Number.MIN_SAFE_INTEGER',
409
+ ),
410
+ ),
411
+ l.a.createElement('td', null, '-'),
412
+ ),
413
+ l.a.createElement(
414
+ 'tr',
415
+ null,
416
+ l.a.createElement('td', null, 'parser'),
417
+ l.a.createElement(
418
+ 'td',
419
+ null,
420
+ '\u6307\u5b9a\u4ece ',
421
+ l.a.createElement('code', null, 'formatter'),
422
+ ' \u91cc\u8f6c\u6362\u56de\u6570\u5b57\u7684\u65b9\u5f0f\uff0c\u548c ',
423
+ l.a.createElement('code', null, 'formatter'),
424
+ ' \u642d\u914d\u4f7f\u7528',
425
+ ),
426
+ l.a.createElement('td', null, 'function(string): number'),
427
+ l.a.createElement('td', null, '-'),
428
+ l.a.createElement('td', null, '-'),
429
+ ),
430
+ l.a.createElement(
431
+ 'tr',
432
+ null,
433
+ l.a.createElement('td', null, 'precision'),
434
+ l.a.createElement(
435
+ 'td',
436
+ null,
437
+ '\u6570\u503c\u7cbe\u5ea6\uff0c\u914d\u7f6e ',
438
+ l.a.createElement('code', null, 'formatter'),
439
+ ' \u65f6\u4f1a\u4ee5 ',
440
+ l.a.createElement('code', null, 'formatter'),
441
+ ' \u4e3a\u51c6',
442
+ ),
443
+ l.a.createElement('td', null, 'number'),
444
+ l.a.createElement('td', null, '-'),
445
+ l.a.createElement('td', null, '-'),
446
+ ),
447
+ l.a.createElement(
448
+ 'tr',
449
+ null,
450
+ l.a.createElement('td', null, 'readOnly'),
451
+ l.a.createElement('td', null, '\u53ea\u8bfb'),
452
+ l.a.createElement('td', null, 'boolean'),
453
+ l.a.createElement('td', null, 'false'),
454
+ l.a.createElement('td', null, '-'),
455
+ ),
456
+ l.a.createElement(
457
+ 'tr',
458
+ null,
459
+ l.a.createElement('td', null, 'size'),
460
+ l.a.createElement(
461
+ 'td',
462
+ null,
463
+ '\u8f93\u5165\u6846\u5927\u5c0f',
464
+ ),
465
+ l.a.createElement(
466
+ 'td',
467
+ null,
468
+ l.a.createElement('code', null, 'large'),
469
+ ' | ',
470
+ l.a.createElement('code', null, 'middle'),
471
+ ' | ',
472
+ l.a.createElement('code', null, 'small'),
473
+ ),
474
+ l.a.createElement('td', null, '-'),
475
+ l.a.createElement('td', null, '-'),
476
+ ),
477
+ l.a.createElement(
478
+ 'tr',
479
+ null,
480
+ l.a.createElement('td', null, 'step'),
481
+ l.a.createElement(
482
+ 'td',
483
+ null,
484
+ '\u6bcf\u6b21\u6539\u53d8\u6b65\u6570\uff0c\u53ef\u4ee5\u4e3a\u5c0f\u6570',
485
+ ),
486
+ l.a.createElement('td', null, 'number | string'),
487
+ l.a.createElement('td', null, '1'),
488
+ l.a.createElement('td', null, '-'),
489
+ ),
490
+ l.a.createElement(
491
+ 'tr',
492
+ null,
493
+ l.a.createElement('td', null, 'stringMode'),
494
+ l.a.createElement(
495
+ 'td',
496
+ null,
497
+ '\u5b57\u7b26\u503c\u6a21\u5f0f\uff0c\u5f00\u542f\u540e\u652f\u6301\u9ad8\u7cbe\u5ea6\u5c0f\u6570\u3002\u540c\u65f6 ',
498
+ l.a.createElement('code', null, 'onChange'),
499
+ ' \u5c06\u8fd4\u56de string \u7c7b\u578b',
500
+ ),
501
+ l.a.createElement('td', null, 'boolean'),
502
+ l.a.createElement('td', null, 'false'),
503
+ l.a.createElement('td', null, '4.13.0'),
504
+ ),
505
+ l.a.createElement(
506
+ 'tr',
507
+ null,
508
+ l.a.createElement('td', null, 'value'),
509
+ l.a.createElement('td', null, '\u5f53\u524d\u503c'),
510
+ l.a.createElement('td', null, 'number'),
511
+ l.a.createElement('td', null, '-'),
512
+ l.a.createElement('td', null, '-'),
513
+ ),
514
+ l.a.createElement(
515
+ 'tr',
516
+ null,
517
+ l.a.createElement('td', null, 'onChange'),
518
+ l.a.createElement('td', null, '\u53d8\u5316\u56de\u8c03'),
519
+ l.a.createElement(
520
+ 'td',
521
+ null,
522
+ 'function(value: number | string | null)',
523
+ ),
524
+ l.a.createElement('td', null, '-'),
525
+ l.a.createElement('td', null, '-'),
526
+ ),
527
+ l.a.createElement(
528
+ 'tr',
529
+ null,
530
+ l.a.createElement('td', null, 'onPressEnter'),
531
+ l.a.createElement(
532
+ 'td',
533
+ null,
534
+ '\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03',
535
+ ),
536
+ l.a.createElement('td', null, 'function(e)'),
537
+ l.a.createElement('td', null, '-'),
538
+ l.a.createElement('td', null, '-'),
539
+ ),
540
+ l.a.createElement(
541
+ 'tr',
542
+ null,
543
+ l.a.createElement('td', null, 'onStep'),
544
+ l.a.createElement(
545
+ 'td',
546
+ null,
547
+ '\u70b9\u51fb\u4e0a\u4e0b\u7bad\u5934\u7684\u56de\u8c03',
548
+ ),
549
+ l.a.createElement(
550
+ 'td',
551
+ null,
552
+ '(value: number, info: ',
553
+ '{',
554
+ " offset: number, type: 'up' | 'down' ",
555
+ '}',
556
+ ') => void',
557
+ ),
558
+ l.a.createElement('td', null, '-'),
559
+ l.a.createElement('td', null, '4.7.0'),
560
+ ),
561
+ ),
562
+ ),
563
+ l.a.createElement(
564
+ 'h2',
565
+ { id: '\u65b9\u6cd5' },
566
+ l.a.createElement(
567
+ r['AnchorLink'],
568
+ { to: '#\u65b9\u6cd5', 'aria-hidden': 'true', tabIndex: -1 },
569
+ l.a.createElement('span', { className: 'icon icon-link' }),
570
+ ),
571
+ '\u65b9\u6cd5',
572
+ ),
573
+ l.a.createElement(
574
+ 'table',
575
+ null,
576
+ l.a.createElement(
577
+ 'thead',
578
+ null,
579
+ l.a.createElement(
580
+ 'tr',
581
+ null,
582
+ l.a.createElement('th', null, '\u540d\u79f0'),
583
+ l.a.createElement('th', null, '\u63cf\u8ff0'),
584
+ ),
585
+ ),
586
+ l.a.createElement(
587
+ 'tbody',
588
+ null,
589
+ l.a.createElement(
590
+ 'tr',
591
+ null,
592
+ l.a.createElement('td', null, 'blur()'),
593
+ l.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
594
+ ),
595
+ l.a.createElement(
596
+ 'tr',
597
+ null,
598
+ l.a.createElement('td', null, 'focus()'),
599
+ l.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
600
+ ),
601
+ ),
602
+ ),
603
+ l.a.createElement(
604
+ 'h2',
605
+ { id: 'faq' },
606
+ l.a.createElement(
607
+ r['AnchorLink'],
608
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
609
+ l.a.createElement('span', { className: 'icon icon-link' }),
610
+ ),
611
+ 'FAQ',
612
+ ),
613
+ l.a.createElement(
614
+ 'h3',
615
+ {
616
+ id: '\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0bvalue-\u53ef\u4ee5\u8d85\u51fa-min-\u548c-max-\u8303\u56f4',
617
+ },
618
+ l.a.createElement(
619
+ r['AnchorLink'],
620
+ {
621
+ to: '#\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0bvalue-\u53ef\u4ee5\u8d85\u51fa-min-\u548c-max-\u8303\u56f4',
622
+ 'aria-hidden': 'true',
623
+ tabIndex: -1,
624
+ },
625
+ l.a.createElement('span', { className: 'icon icon-link' }),
626
+ ),
627
+ '\u4e3a\u4f55\u53d7\u63a7\u6a21\u5f0f\u4e0b\uff0c',
628
+ l.a.createElement('code', null, 'value'),
629
+ ' \u53ef\u4ee5\u8d85\u51fa ',
630
+ l.a.createElement('code', null, 'min'),
631
+ ' \u548c ',
632
+ l.a.createElement('code', null, 'max'),
633
+ ' \u8303\u56f4\uff1f',
634
+ ),
635
+ l.a.createElement(
636
+ 'p',
637
+ null,
638
+ '\u5728\u53d7\u63a7\u6a21\u5f0f\u4e0b\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u81ea\u884c\u5b58\u50a8\u76f8\u5173\u6570\u636e\u3002\u5982\u679c\u7ec4\u4ef6\u5c06\u6570\u636e\u7ea6\u675f\u56de\u8303\u56f4\u5185\uff0c\u4f1a\u5bfc\u81f4\u5c55\u793a\u6570\u636e\u4e0e\u5b9e\u9645\u5b58\u50a8\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u60c5\u51b5\u3002\u8fd9\u4f7f\u5f97\u4e00\u4e9b\u5982\u8868\u5355\u573a\u666f\u5b58\u5728\u6f5c\u5728\u7684\u6570\u636e\u95ee\u9898\u3002',
639
+ ),
640
+ l.a.createElement(
641
+ 'h3',
642
+ {
643
+ id: '\u4e3a\u4f55\u52a8\u6001\u4fee\u6539-min-\u548c-max-\u8ba9-value-\u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1-onchange-\u4e8b\u4ef6',
644
+ },
645
+ l.a.createElement(
646
+ r['AnchorLink'],
647
+ {
648
+ to: '#\u4e3a\u4f55\u52a8\u6001\u4fee\u6539-min-\u548c-max-\u8ba9-value-\u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1-onchange-\u4e8b\u4ef6',
649
+ 'aria-hidden': 'true',
650
+ tabIndex: -1,
651
+ },
652
+ l.a.createElement('span', { className: 'icon icon-link' }),
653
+ ),
654
+ '\u4e3a\u4f55\u52a8\u6001\u4fee\u6539 ',
655
+ l.a.createElement('code', null, 'min'),
656
+ ' \u548c ',
657
+ l.a.createElement('code', null, 'max'),
658
+ ' \u8ba9 ',
659
+ l.a.createElement('code', null, 'value'),
660
+ ' \u8d85\u51fa\u8303\u56f4\u4e0d\u4f1a\u89e6\u53d1 ',
661
+ l.a.createElement('code', null, 'onChange'),
662
+ ' \u4e8b\u4ef6\uff1f',
663
+ ),
664
+ l.a.createElement(
665
+ 'p',
666
+ null,
667
+ l.a.createElement('code', null, 'onChange'),
668
+ ' \u4e8b\u4ef6\u4e3a\u7528\u6237\u89e6\u53d1\u4e8b\u4ef6\uff0c\u81ea\u884c\u89e6\u53d1\u4f1a\u5bfc\u81f4\u8868\u5355\u5e93\u8bef\u4ee5\u4e3a\u53d8\u66f4\u6765\u81ea\u7528\u6237\u64cd\u4f5c\u3002\u6211\u4eec\u4ee5\u9519\u8bef\u6837\u5f0f\u5c55\u793a\u8d85\u51fa\u8303\u56f4\u7684\u6570\u503c\u3002',
669
+ ),
670
+ l.a.createElement('style', {
671
+ dangerouslySetInnerHTML: {
672
+ __html:
673
+ '\n .select-before {\n width: 50px;\n}\n\n.select-after {\n width: 50px;\n}\n\n',
674
+ },
675
+ }),
676
+ ),
677
+ ),
678
+ )
679
+ );
680
+ },
681
+ RZMt: function (e, t, a) {},
682
+ Zxc8: function (e, t, a) {
683
+ 'use strict';
684
+ a.r(t);
685
+ var n = a('q1tI'),
686
+ l = a.n(n),
687
+ r = a('k3GJ'),
688
+ c = a('MZF8'),
689
+ m = a('dEAq'),
690
+ u = a('H1Ra');
691
+ a('RZMt');
692
+ function d(e, t) {
693
+ return p(e) || s(e, t) || i(e, t) || o();
694
+ }
695
+ function o() {
696
+ throw new TypeError(
697
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
698
+ );
699
+ }
700
+ function i(e, t) {
701
+ if (e) {
702
+ if ('string' === typeof e) return E(e, t);
703
+ var a = Object.prototype.toString.call(e).slice(8, -1);
704
+ return (
705
+ 'Object' === a && e.constructor && (a = e.constructor.name),
706
+ 'Map' === a || 'Set' === a
707
+ ? Array.from(e)
708
+ : 'Arguments' === a ||
709
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
710
+ ? E(e, t)
711
+ : void 0
712
+ );
713
+ }
714
+ }
715
+ function E(e, t) {
716
+ (null == t || t > e.length) && (t = e.length);
717
+ for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
718
+ return n;
719
+ }
720
+ function s(e, t) {
721
+ var a =
722
+ null == e
723
+ ? null
724
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
725
+ e['@@iterator'];
726
+ if (null != a) {
727
+ var n,
728
+ l,
729
+ r = [],
730
+ c = !0,
731
+ m = !1;
732
+ try {
733
+ for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
734
+ if ((r.push(n.value), t && r.length === t)) break;
735
+ } catch (u) {
736
+ (m = !0), (l = u);
737
+ } finally {
738
+ try {
739
+ c || null == a['return'] || a['return']();
740
+ } finally {
741
+ if (m) throw l;
742
+ }
743
+ }
744
+ return r;
745
+ }
746
+ }
747
+ function p(e) {
748
+ if (Array.isArray(e)) return e;
749
+ }
750
+ function b(e, t) {
751
+ var a,
752
+ n =
753
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
754
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
755
+ }
756
+ var f = function (e) {
757
+ var t,
758
+ a,
759
+ o,
760
+ i = Object(n['useRef'])(),
761
+ E = Object(n['useContext'])(m['context']),
762
+ s = E.locale,
763
+ p = Object(m['useLocaleProps'])(s, e),
764
+ f = Object(m['useDemoUrl'])(p.identifier),
765
+ h = p.demoUrl || f,
766
+ v =
767
+ (null === c['a'] || void 0 === c['a']
768
+ ? void 0
769
+ : c['a'].location.hash) === '#'.concat(p.identifier),
770
+ k = 1 === Object.keys(p.sources).length,
771
+ _ = Object(m['useCodeSandbox'])(
772
+ (
773
+ null === (t = p.hideActions) || void 0 === t
774
+ ? void 0
775
+ : t.includes('CSB')
776
+ )
777
+ ? null
778
+ : p,
779
+ ),
780
+ N = Object(m['useRiddle'])(
781
+ (
782
+ null === (a = p.hideActions) || void 0 === a
783
+ ? void 0
784
+ : a.includes('RIDDLE')
785
+ )
786
+ ? null
787
+ : p,
788
+ ),
789
+ w = Object(m['useMotions'])(p.motions || [], i.current),
790
+ g = d(w, 2),
791
+ y = g[0],
792
+ x = g[1],
793
+ A = Object(m['useCopy'])(),
794
+ I = d(A, 2),
795
+ S = I[0],
796
+ j = I[1],
797
+ C = Object(n['useState'])('_'),
798
+ L = d(C, 2),
799
+ O = L[0],
800
+ M = L[1],
801
+ R = Object(n['useState'])(b(O, p.sources[O])),
802
+ P = d(R, 2),
803
+ T = P[0],
804
+ F = P[1],
805
+ z = Object(n['useState'])(Boolean(p.defaultShowCode)),
806
+ G = d(z, 2),
807
+ J = G[0],
808
+ q = G[1],
809
+ U = Object(n['useState'])(Math.random()),
810
+ Z = d(U, 2),
811
+ X = Z[0],
812
+ $ = Z[1],
813
+ B = p.sources[O][T] || p.sources[O].content,
814
+ D = Object(m['useTSPlaygroundUrl'])(s, B),
815
+ H = Object(n['useRef'])(),
816
+ V = Object(m['usePrefersColor'])(),
817
+ W = d(V, 1),
818
+ K = W[0];
819
+ function Q(e) {
820
+ M(e), F(b(e, p.sources[e]));
821
+ }
822
+ return (
823
+ Object(n['useEffect'])(
824
+ function () {
825
+ $(Math.random());
826
+ },
827
+ [K],
828
+ ),
829
+ l.a.createElement(
830
+ 'div',
831
+ {
832
+ style: p.style,
833
+ className: [
834
+ p.className,
835
+ '__dumi-default-previewer',
836
+ v ? '__dumi-default-previewer-target' : '',
837
+ ]
838
+ .filter(Boolean)
839
+ .join(' '),
840
+ id: p.identifier,
841
+ 'data-debug': p.debug || void 0,
842
+ 'data-iframe': p.iframe || void 0,
843
+ },
844
+ p.iframe &&
845
+ l.a.createElement('div', {
846
+ className: '__dumi-default-previewer-browser-nav',
847
+ }),
848
+ l.a.createElement(
849
+ 'div',
850
+ {
851
+ ref: i,
852
+ className: '__dumi-default-previewer-demo',
853
+ style: {
854
+ transform: p.transform ? 'translate(0, 0)' : void 0,
855
+ padding:
856
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
857
+ background: p.background,
858
+ },
859
+ },
860
+ p.iframe
861
+ ? l.a.createElement('iframe', {
862
+ title: 'dumi-previewer',
863
+ style: {
864
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
865
+ },
866
+ key: X,
867
+ src: h,
868
+ ref: H,
869
+ })
870
+ : p.children,
871
+ ),
872
+ l.a.createElement(
873
+ 'div',
874
+ {
875
+ className: '__dumi-default-previewer-desc',
876
+ 'data-title': p.title,
877
+ },
878
+ p.title &&
879
+ l.a.createElement(
880
+ m['AnchorLink'],
881
+ { to: '#'.concat(p.identifier) },
882
+ p.title,
883
+ ),
884
+ p.description &&
885
+ l.a.createElement('div', {
886
+ dangerouslySetInnerHTML: { __html: p.description },
887
+ }),
888
+ ),
889
+ l.a.createElement(
890
+ 'div',
891
+ { className: '__dumi-default-previewer-actions' },
892
+ _ &&
893
+ l.a.createElement('button', {
894
+ title: 'Open demo on CodeSandbox.io',
895
+ className: '__dumi-default-icon',
896
+ role: 'codesandbox',
897
+ onClick: _,
898
+ }),
899
+ N &&
900
+ l.a.createElement('button', {
901
+ title: 'Open demo on Riddle',
902
+ className: '__dumi-default-icon',
903
+ role: 'riddle',
904
+ onClick: N,
905
+ }),
906
+ p.motions &&
907
+ l.a.createElement('button', {
908
+ title: 'Execute motions',
909
+ className: '__dumi-default-icon',
910
+ role: 'motions',
911
+ disabled: x,
912
+ onClick: function () {
913
+ return y();
914
+ },
915
+ }),
916
+ p.iframe &&
917
+ l.a.createElement('button', {
918
+ title: 'Reload demo iframe page',
919
+ className: '__dumi-default-icon',
920
+ role: 'refresh',
921
+ onClick: function () {
922
+ return $(Math.random());
923
+ },
924
+ }),
925
+ !(null === (o = p.hideActions) || void 0 === o
926
+ ? void 0
927
+ : o.includes('EXTERNAL')) &&
928
+ l.a.createElement(
929
+ m['Link'],
930
+ { target: '_blank', to: h },
931
+ l.a.createElement('button', {
932
+ title: 'Open demo in new tab',
933
+ className: '__dumi-default-icon',
934
+ role: 'open-demo',
935
+ type: 'button',
936
+ }),
937
+ ),
938
+ l.a.createElement('span', null),
939
+ l.a.createElement('button', {
940
+ title: 'Copy source code',
941
+ className: '__dumi-default-icon',
942
+ role: 'copy',
943
+ 'data-status': j,
944
+ onClick: function () {
945
+ return S(B);
946
+ },
947
+ }),
948
+ 'tsx' === T &&
949
+ J &&
950
+ l.a.createElement(
951
+ m['Link'],
952
+ { target: '_blank', to: D },
953
+ l.a.createElement('button', {
954
+ title: 'Get JSX via TypeScript Playground',
955
+ className: '__dumi-default-icon',
956
+ role: 'change-tsx',
957
+ type: 'button',
958
+ }),
959
+ ),
960
+ l.a.createElement('button', {
961
+ title: 'Toggle source code panel',
962
+ className: '__dumi-default-icon'.concat(
963
+ J ? ' __dumi-default-btn-expand' : '',
964
+ ),
965
+ role: 'source',
966
+ type: 'button',
967
+ onClick: function () {
968
+ return q(!J);
969
+ },
970
+ }),
971
+ ),
972
+ J &&
973
+ l.a.createElement(
974
+ 'div',
975
+ { className: '__dumi-default-previewer-source-wrapper' },
976
+ !k &&
977
+ l.a.createElement(
978
+ r['b'],
979
+ {
980
+ className: '__dumi-default-previewer-source-tab',
981
+ prefixCls: '__dumi-default-tabs',
982
+ moreIcon: '\xb7\xb7\xb7',
983
+ defaultActiveKey: O,
984
+ onChange: Q,
985
+ },
986
+ Object.keys(p.sources).map(function (e) {
987
+ return l.a.createElement(r['a'], {
988
+ tab:
989
+ '_' === e ? 'index.'.concat(b(e, p.sources[e])) : e,
990
+ key: e,
991
+ });
992
+ }),
993
+ ),
994
+ l.a.createElement(
995
+ 'div',
996
+ { className: '__dumi-default-previewer-source' },
997
+ l.a.createElement(u['a'], { code: B, lang: T, showCopy: !1 }),
998
+ ),
999
+ ),
1000
+ )
1001
+ );
1002
+ };
1003
+ t['default'] = f;
1004
+ },
1005
+ },
1006
+ ]);