@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,2622 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[25],{"/ygi":function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("dEAq"),c=l("Zxc8"),m=l("H1Ra"),d=l("JjdP"),u=n.a.memo(d["default"]["date-picker-basic"].component),o=n.a.memo(d["default"]["date-picker-range-picker"].component),E=n.a.memo(d["default"]["date-picker-switchable"].component),i=n.a.memo(d["default"]["date-picker-format"].component),s=n.a.memo(d["default"]["date-picker-time"].component),p=n.a.memo(d["default"]["date-picker-disabled-date"].component),h=n.a.memo(d["default"]["date-picker-disabled"].component),k=n.a.memo(d["default"]["date-picker-select-in-range"].component),f=n.a.memo(d["default"]["date-picker-presetted-ranges"].component),b=n.a.memo(d["default"]["date-picker-size"].component),g=n.a.memo(d["default"]["date-picker-extra-footer"].component),v=n.a.memo(d["default"]["date-picker-date-render"].component),N=n.a.memo(d["default"]["date-picker-bordered"].component);t["default"]=e=>(n.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.a.createElement(n.a.Fragment,null,n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"markdown"},n.a.createElement("h1",{id:"datepicker-\u65e5\u671f\u9009\u62e9\u6846"},n.a.createElement(r["AnchorLink"],{to:"#datepicker-\u65e5\u671f\u9009\u62e9\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker \u65e5\u671f\u9009\u62e9\u6846"),n.a.createElement("p",null,"\u8f93\u5165\u6216\u9009\u62e9\u65e5\u671f\u7684\u63a7\u4ef6\u3002"),n.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),n.a.createElement("p",null,"\u5f53\u7528\u6237\u9700\u8981\u8f93\u5165\u4e00\u4e2a\u65e5\u671f\uff0c\u53ef\u4ee5\u70b9\u51fb\u6807\u51c6\u8f93\u5165\u6846\uff0c\u5f39\u51fa\u65e5\u671f\u9762\u677f\u8fdb\u884c\u9009\u62e9\u3002"),n.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),n.a.createElement("h3",{id:"\u57fa\u672c"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c")),n.a.createElement(c["default"],d["default"]["date-picker-basic"].previewerProps,n.a.createElement(u,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u8303\u56f4\u9009\u62e9\u5668"},n.a.createElement(r["AnchorLink"],{to:"#\u8303\u56f4\u9009\u62e9\u5668","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8303\u56f4\u9009\u62e9\u5668")),n.a.createElement(c["default"],d["default"]["date-picker-range-picker"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668"},n.a.createElement(r["AnchorLink"],{to:"#\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668")),n.a.createElement(c["default"],d["default"]["date-picker-switchable"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u65e5\u671f\u683c\u5f0f"},n.a.createElement(r["AnchorLink"],{to:"#\u65e5\u671f\u683c\u5f0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u65e5\u671f\u683c\u5f0f")),n.a.createElement(c["default"],d["default"]["date-picker-format"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u65e5\u671f\u65f6\u95f4\u9009\u62e9"},n.a.createElement(r["AnchorLink"],{to:"#\u65e5\u671f\u65f6\u95f4\u9009\u62e9","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u65e5\u671f\u65f6\u95f4\u9009\u62e9")),n.a.createElement(c["default"],d["default"]["date-picker-time"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4"},n.a.createElement(r["AnchorLink"],{to:"#\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4")),n.a.createElement(c["default"],d["default"]["date-picker-disabled-date"].previewerProps,n.a.createElement(p,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u7981\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u7981\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u7981\u7528")),n.a.createElement(c["default"],d["default"]["date-picker-disabled"].previewerProps,n.a.createElement(h,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4"},n.a.createElement(r["AnchorLink"],{to:"#\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4")),n.a.createElement(c["default"],d["default"]["date-picker-select-in-range"].previewerProps,n.a.createElement(k,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u9884\u8bbe\u8303\u56f4"},n.a.createElement(r["AnchorLink"],{to:"#\u9884\u8bbe\u8303\u56f4","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u9884\u8bbe\u8303\u56f4")),n.a.createElement(c["default"],d["default"]["date-picker-presetted-ranges"].previewerProps,n.a.createElement(f,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u4e09\u79cd\u5927\u5c0f"},n.a.createElement(r["AnchorLink"],{to:"#\u4e09\u79cd\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e09\u79cd\u5927\u5c0f")),n.a.createElement(c["default"],d["default"]["date-picker-size"].previewerProps,n.a.createElement(b,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u989d\u5916\u7684\u9875\u811a"},n.a.createElement(r["AnchorLink"],{to:"#\u989d\u5916\u7684\u9875\u811a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u989d\u5916\u7684\u9875\u811a")),n.a.createElement(c["default"],d["default"]["date-picker-extra-footer"].previewerProps,n.a.createElement(g,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c"},n.a.createElement(r["AnchorLink"],{to:"#\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c")),n.a.createElement(c["default"],d["default"]["date-picker-date-render"].previewerProps,n.a.createElement(v,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u65e0\u8fb9\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u65e0\u8fb9\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u65e0\u8fb9\u6846")),n.a.createElement(c["default"],d["default"]["date-picker-bordered"].previewerProps,n.a.createElement(N,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h2",{id:"api"},n.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"API"),n.a.createElement("p",null,"\u65e5\u671f\u7c7b\u7ec4\u4ef6\u5305\u62ec\u4ee5\u4e0b\u4e94\u79cd\u5f62\u5f0f\u3002"),n.a.createElement("ul",null,n.a.createElement("li",null,"DatePicker"),n.a.createElement("li",null,'DatePicker[picker="month"]'),n.a.createElement("li",null,'DatePicker[picker="week"]'),n.a.createElement("li",null,'DatePicker[picker="year"]'),n.a.createElement("li",null,'DatePicker[picker="quarter"] (4.1.0 \u65b0\u589e)'),n.a.createElement("li",null,"RangePicker")),n.a.createElement("h3",{id:"\u56fd\u9645\u5316\u914d\u7f6e"},n.a.createElement(r["AnchorLink"],{to:"#\u56fd\u9645\u5316\u914d\u7f6e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u56fd\u9645\u5316\u914d\u7f6e"),n.a.createElement("p",null,"\u9ed8\u8ba4\u914d\u7f6e\u4e3a en-US\uff0c\u5982\u679c\u4f60\u9700\u8981\u8bbe\u7f6e\u5176\u4ed6\u8bed\u8a00\uff0c\u63a8\u8350\u5728\u5165\u53e3\u5904\u4f7f\u7528\u6211\u4eec\u63d0\u4f9b\u7684\u56fd\u9645\u5316\u7ec4\u4ef6\uff0c\u8be6\u89c1\uff1a",n.a.createElement(r["Link"],{to:"https://ant.design/components/config-provider-cn/"},"ConfigProvider \u56fd\u9645\u5316"),"\u3002"),n.a.createElement("p",null,"\u5982\u6709\u7279\u6b8a\u9700\u6c42\uff08\u4ec5\u4fee\u6539\u5355\u4e00\u7ec4\u4ef6\u7684\u8bed\u8a00\uff09\uff0c\u8bf7\u4f7f\u7528 locale \u53c2\u6570\uff0c\u53c2\u8003\uff1a",n.a.createElement(r["Link"],{to:"https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json"},"\u9ed8\u8ba4\u914d\u7f6e"),"\u3002"),n.a.createElement(m["a"],{code:"import 'moment/locale/zh-cn';\nimport locale from '@fle-ui/next/es/date-picker/locale/zh_CN';\n\n<DatePicker locale={locale} />;",lang:"bash"}),n.a.createElement(m["a"],{code:"// \u9ed8\u8ba4\u8bed\u8a00\u4e3a en-US\uff0c\u5982\u679c\u4f60\u9700\u8981\u8bbe\u7f6e\u5176\u4ed6\u8bed\u8a00\uff0c\u63a8\u8350\u5728\u5165\u53e3\u6587\u4ef6\u5168\u5c40\u8bbe\u7f6e locale\nimport moment from 'moment';\nimport 'moment/locale/zh-cn';\nimport locale from '@fle-ui/lib/locale/zh_CN';\n\n<ConfigProvider locale={locale}>\n <DatePicker defaultValue={moment('2015-01-01', 'YYYY-MM-DD')} />\n</ConfigProvider>;",lang:"bash"}),n.a.createElement("h3",{id:"\u5171\u540c\u7684-api"},n.a.createElement(r["AnchorLink"],{to:"#\u5171\u540c\u7684-api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5171\u540c\u7684 API"),n.a.createElement("p",null,"\u4ee5\u4e0b API \u4e3a DatePicker\u3001 RangePicker \u5171\u4eab\u7684 API\u3002"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"allowClear"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u6e05\u9664\u6309\u94ae"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"autoFocus"),n.a.createElement("td",null,"\u81ea\u52a8\u83b7\u53d6\u7126\u70b9"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"bordered"),n.a.createElement("td",null,"\u662f\u5426\u6709\u8fb9\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"className"),n.a.createElement("td",null,"\u9009\u62e9\u5668 className"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dateRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9"),n.a.createElement("td",null,"function(currentDate: moment, today: moment) => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabledDate"),n.a.createElement("td",null,"\u4e0d\u53ef\u9009\u62e9\u7684\u65e5\u671f"),n.a.createElement("td",null,"(currentDate: moment) => boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownClassName"),n.a.createElement("td",null,"\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386 className"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"getPopupContainer"),n.a.createElement("td",null,"\u5b9a\u4e49\u6d6e\u5c42\u7684\u5bb9\u5668\uff0c\u9ed8\u8ba4\u4e3a body \u4e0a\u65b0\u5efa div"),n.a.createElement("td",null,"function(trigger)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"inputReadOnly"),n.a.createElement("td",null,"\u8bbe\u7f6e\u8f93\u5165\u6846\u4e3a\u53ea\u8bfb\uff08\u907f\u514d\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u6253\u5f00\u865a\u62df\u952e\u76d8\uff09"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"locale"),n.a.createElement("td",null,"\u56fd\u9645\u5316\u914d\u7f6e"),n.a.createElement("td",null,"object"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json"},"\u9ed8\u8ba4\u914d\u7f6e")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"mode"),n.a.createElement("td",null,"\u65e5\u671f\u9762\u677f\u7684\u72b6\u6001\uff08",n.a.createElement(r["AnchorLink"],{to:"/docs/react/faq#%E5%BD%93%E6%88%91%E6%8C%87%E5%AE%9A%E4%BA%86-DatePicker/RangePicker-%E7%9A%84-mode-%E5%B1%9E%E6%80%A7%E5%90%8E%EF%BC%8C%E7%82%B9%E5%87%BB%E5%90%8E%E6%97%A0%E6%B3%95%E9%80%89%E6%8B%A9%E5%B9%B4%E4%BB%BD/%E6%9C%88%E4%BB%BD%EF%BC%9F"},"\u8bbe\u7f6e\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd/\u6708\u4efd\uff1f"),"\uff09"),n.a.createElement("td",null,n.a.createElement("code",null,"time")," | ",n.a.createElement("code",null,"date")," | ",n.a.createElement("code",null,"month")," | ",n.a.createElement("code",null,"year")," | ",n.a.createElement("code",null,"decade")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"open"),n.a.createElement("td",null,"\u63a7\u5236\u5f39\u5c42\u662f\u5426\u5c55\u5f00"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"panelRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u9762\u677f"),n.a.createElement("td",null,"(panelNode) => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.5.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"picker"),n.a.createElement("td",null,"\u8bbe\u7f6e\u9009\u62e9\u5668\u7c7b\u578b"),n.a.createElement("td",null,n.a.createElement("code",null,"date")," | ",n.a.createElement("code",null,"week")," | ",n.a.createElement("code",null,"month")," | ",n.a.createElement("code",null,"quarter")," | ",n.a.createElement("code",null,"year")),n.a.createElement("td",null,n.a.createElement("code",null,"date")),n.a.createElement("td",null,n.a.createElement("code",null,"quarter"),": 4.1.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"placeholder"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u63d0\u793a\u6587\u5b57"),n.a.createElement("td",null,"string | [string, string]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"popupStyle"),n.a.createElement("td",null,"\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386\u6837\u5f0f"),n.a.createElement("td",null,"CSSProperties"),n.a.createElement("td",null,"{","}"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u5927\u5c0f\uff0c",n.a.createElement("code",null,"large")," \u9ad8\u5ea6\u4e3a 40px\uff0c",n.a.createElement("code",null,"small")," \u4e3a 24px\uff0c\u9ed8\u8ba4\u662f 32px"),n.a.createElement("td",null,n.a.createElement("code",null,"large")," | ",n.a.createElement("code",null,"middle")," | ",n.a.createElement("code",null,"small")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"style"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u8f93\u5165\u6846\u6837\u5f0f"),n.a.createElement("td",null,"CSSProperties"),n.a.createElement("td",null,"{","}"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"suffixIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onOpenChange"),n.a.createElement("td",null,"\u5f39\u51fa\u65e5\u5386\u548c\u5173\u95ed\u65e5\u5386\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(open)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onPanelChange"),n.a.createElement("td",null,"\u65e5\u5386\u9762\u677f\u5207\u6362\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(value, mode)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"\u5171\u540c\u7684\u65b9\u6cd5"},n.a.createElement(r["AnchorLink"],{to:"#\u5171\u540c\u7684\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5171\u540c\u7684\u65b9\u6cd5"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u540d\u79f0"),n.a.createElement("th",null,"\u63cf\u8ff0"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"blur()"),n.a.createElement("td",null,"\u79fb\u9664\u7126\u70b9"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"focus()"),n.a.createElement("td",null,"\u83b7\u53d6\u7126\u70b9"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"datepicker"},n.a.createElement(r["AnchorLink"],{to:"#datepicker","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f\uff0c\u5982\u679c\u5f00\u59cb\u65f6\u95f4\u6216\u7ed3\u675f\u65f6\u95f4\u4e3a ",n.a.createElement("code",null,"null")," \u6216\u8005 ",n.a.createElement("code",null,"undefined"),"\uff0c\u65e5\u671f\u8303\u56f4\u5c06\u662f\u4e00\u4e2a\u5f00\u533a\u95f4"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabledTime"),n.a.createElement("td",null,"\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4"),n.a.createElement("td",null,"function(date)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u8bbe\u7f6e\u65e5\u671f\u683c\u5f0f\uff0c\u4e3a\u6570\u7ec4\u65f6\u652f\u6301\u591a\u683c\u5f0f\u5339\u914d\uff0c\u5c55\u793a\u4ee5\u7b2c\u4e00\u4e2a\u4e3a\u51c6\u3002\u914d\u7f6e\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment.js"),"\uff0c\u652f\u6301",n.a.createElement(r["AnchorLink"],{to:"#components-date-picker-demo-format"},"\u81ea\u5b9a\u4e49\u683c\u5f0f")),n.a.createElement("td",null,"string | (value: moment) => string | (string | (value: moment) => string)[]"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY-MM-DD")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"(mode) => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showNow"),n.a.createElement("td",null,"\u5f53\u8bbe\u5b9a\u4e86 ",n.a.createElement("code",null,"showTime")," \u7684\u65f6\u5019\uff0c\u9762\u677f\u662f\u5426\u663e\u793a\u201c\u6b64\u523b\u201d\u6309\u94ae"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"showTime"),n.a.createElement("td",null,"\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd"),n.a.createElement("td",null,"Object | boolean"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"/components/time-picker/#API"},"TimePicker Options")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showTime.defaultValue"),n.a.createElement("td",null,"\u8bbe\u7f6e\u7528\u6237\u9009\u62e9\u65e5\u671f\u65f6\u9ed8\u8ba4\u7684\u65f6\u5206\u79d2\uff0c",n.a.createElement(r["AnchorLink"],{to:"#components-date-picker-demo-disabled-date"},"\u4f8b\u5b50")),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"moment()"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showToday"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u201c\u4eca\u5929\u201d\u6309\u94ae"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(date: moment, dateString: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onOk"),n.a.createElement("td",null,"\u70b9\u51fb\u786e\u5b9a\u6309\u94ae\u7684\u56de\u8c03"),n.a.createElement("td",null,"function()"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onPanelChange"),n.a.createElement("td",null,"\u65e5\u671f\u9762\u677f\u53d8\u5316\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(value, mode)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"datepickerpickeryear"},n.a.createElement(r["AnchorLink"],{to:"#datepickerpickeryear","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker[picker=year]"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment.js")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"() => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6"),n.a.createElement("td",null,"function(date: moment, dateString: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"datepickerpickerquarter"},n.a.createElement(r["AnchorLink"],{to:"#datepickerpickerquarter","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker[picker=quarter]"),n.a.createElement("p",null,n.a.createElement("code",null,"4.1.0")," \u65b0\u589e\u3002"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment.js")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY-\\QQ")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"() => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6"),n.a.createElement("td",null,"function(date: moment, dateString: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"datepickerpickermonth"},n.a.createElement(r["AnchorLink"],{to:"#datepickerpickermonth","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker[picker=month]"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment.js")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY-MM")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"monthCellRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u6708\u4efd\u5185\u5bb9\u6e32\u67d3\u65b9\u6cd5"),n.a.createElement("td",null,"function(date, locale): ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"() => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6"),n.a.createElement("td",null,"function(date: moment, dateString: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"datepickerpickerweek"},n.a.createElement(r["AnchorLink"],{to:"#datepickerpickerweek","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"DatePicker[picker=week]"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment.js")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY-wo")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"(mode) => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6"),n.a.createElement("td",null,"function(date: moment, dateString: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"rangepicker"},n.a.createElement(r["AnchorLink"],{to:"#rangepicker","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"RangePicker"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"allowEmpty"),n.a.createElement("td",null,"\u5141\u8bb8\u8d77\u59cb\u9879\u90e8\u5206\u4e3a\u7a7a"),n.a.createElement("td",null,"[boolean, boolean]"),n.a.createElement("td",null,"[false, false]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dateRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9\u3002",n.a.createElement("code",null,"info")," \u53c2\u6570\u81ea 4.3.0 \u6dfb\u52a0"),n.a.createElement("td",null,"function(currentDate: moment, today: moment, info: ","{"," range: ",n.a.createElement("code",null,"start")," | ",n.a.createElement("code",null,"end")," ","}",") => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultPickerValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u9762\u677f\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u9ed8\u8ba4\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u7981\u7528\u8d77\u59cb\u9879"),n.a.createElement("td",null,"[boolean, boolean]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabledTime"),n.a.createElement("td",null,"\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4"),n.a.createElement("td",null,"function(date: moment, partial: ",n.a.createElement("code",null,"start")," | ",n.a.createElement("code",null,"end"),")"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"format"),n.a.createElement("td",null,"\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"YYYY-MM-DD HH:mm:ss")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"ranges"),n.a.createElement("td",null,"\u9884\u8bbe\u65f6\u95f4\u8303\u56f4\u5feb\u6377\u9009\u62e9"),n.a.createElement("td",null,"{"," [range: string]: ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[] ","}"," | ","{"," [range: string]: () => ",n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[] ","}"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"renderExtraFooter"),n.a.createElement("td",null,"\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a"),n.a.createElement("td",null,"() => React.ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"separator"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5206\u9694\u7b26"),n.a.createElement("td",null,"React.ReactNode"),n.a.createElement("td",null,n.a.createElement("code",null,"<SwapRightOutlined />")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showTime"),n.a.createElement("td",null,"\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd"),n.a.createElement("td",null,"Object|boolean"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"/components/time-picker/#API"},"TimePicker Options")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showTime.defaultValue"),n.a.createElement("td",null,"\u8bbe\u7f6e\u7528\u6237\u9009\u62e9\u65e5\u671f\u65f6\u9ed8\u8ba4\u7684\u65f6\u5206\u79d2\uff0c",n.a.createElement(r["AnchorLink"],{to:"#components-date-picker-demo-disabled-date"},"\u4f8b\u5b50")),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[]"),n.a.createElement("td",null,"[moment(), moment()]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u65e5\u671f"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"http://momentjs.com/"},"moment"),"[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onCalendarChange"),n.a.createElement("td",null,"\u5f85\u9009\u65e5\u671f\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\u3002",n.a.createElement("code",null,"info")," \u53c2\u6570\u81ea 4.4.0 \u6dfb\u52a0"),n.a.createElement("td",null,"function(dates: [moment, moment], dateStrings: [string, string], info: ","{"," range:",n.a.createElement("code",null,"start"),"|",n.a.createElement("code",null,"end")," ","}",")"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u65e5\u671f\u8303\u56f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(dates: [moment, moment], dateStrings: [string, string])"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h2",{id:"faq"},n.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"FAQ"),n.a.createElement("h3",{id:"\u5f53\u6211\u6307\u5b9a\u4e86-datepickerrangepicker-\u7684-mode-\u5c5e\u6027\u540e\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd\u6708\u4efd"},n.a.createElement(r["AnchorLink"],{to:"#\u5f53\u6211\u6307\u5b9a\u4e86-datepickerrangepicker-\u7684-mode-\u5c5e\u6027\u540e\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd\u6708\u4efd","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5f53\u6211\u6307\u5b9a\u4e86 DatePicker/RangePicker \u7684 mode \u5c5e\u6027\u540e\uff0c\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd/\u6708\u4efd\uff1f"),n.a.createElement("p",null,"\u8bf7\u53c2\u8003",n.a.createElement(r["AnchorLink"],{to:"/docs/react/faq#%E5%BD%93%E6%88%91%E6%8C%87%E5%AE%9A%E4%BA%86-DatePicker/RangePicker-%E7%9A%84-mode-%E5%B1%9E%E6%80%A7%E5%90%8E%EF%BC%8C%E7%82%B9%E5%87%BB%E5%90%8E%E6%97%A0%E6%B3%95%E9%80%89%E6%8B%A9%E5%B9%B4%E4%BB%BD/%E6%9C%88%E4%BB%BD%EF%BC%9F"},"\u5e38\u89c1\u95ee\u7b54")),n.a.createElement("h3",{id:"\u5982\u4f55\u5728-datepicker-\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\u5982-dayjs-"},n.a.createElement(r["AnchorLink"],{to:"#\u5982\u4f55\u5728-datepicker-\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\u5982-dayjs-","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5982\u4f55\u5728 DatePicker \u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\uff08\u5982 dayjs \uff09\uff1f"),n.a.createElement("p",null,"\u8bf7\u53c2\u8003",n.a.createElement(r["AnchorLink"],{to:"/docs/react/replace-moment#DatePicker"},"\u300a\u66ff\u6362 Moment.js\u300b")),n.a.createElement("h3",{id:"\u4e3a\u4f55\u5168\u5c40\u4fee\u6539-momentlocale-\u4e0d\u751f\u6548"},n.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55\u5168\u5c40\u4fee\u6539-momentlocale-\u4e0d\u751f\u6548","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55\u5168\u5c40\u4fee\u6539 moment.locale \u4e0d\u751f\u6548\uff1f"),n.a.createElement("p",null,"v4 \u4e2d\uff0cDatePicker \u9ed8\u8ba4 ",n.a.createElement("code",null,"locale")," \u4e3a ",n.a.createElement("code",null,"en"),"\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 DatePicker \u7684 ",n.a.createElement("code",null,"locale")," \u5c5e\u6027\u6765\u5355\u72ec\u8bbe\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 ",n.a.createElement(r["Link"],{to:"/components/config-provider"},"ConfigProvider ",n.a.createElement("code",null,"locale"))," \u5c5e\u6027\u6765\u914d\u7f6e\u3002"),n.a.createElement("h3",{id:"\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5"},n.a.createElement(r["AnchorLink"],{to:"#\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5\uff1f"),n.a.createElement("p",null,"\u8bf7\u4f7f\u7528\u6b63\u786e\u7684",n.a.createElement(r["Link"],{to:"/docs/react/i18n"},"\u8bed\u8a00\u5305"),"\uff08",n.a.createElement(r["Link"],{to:"https://github.com/ant-design/ant-design/issues/5605"},"#5605"),"\uff09\uff0c\u6216\u8005\u4fee\u6539 moment \u7684 ",n.a.createElement("code",null,"locale")," \u914d\u7f6e\uff1a",n.a.createElement(r["Link"],{to:"https://codesandbox.io/s/moment-day-of-week-6dby5"},"https://codesandbox.io/s/moment-day-of-week-6dby5")),n.a.createElement("h3",{id:"\u4e3a\u4f55\u4f7f\u7528-panelrender-\u65f6\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362"},n.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55\u4f7f\u7528-panelrender-\u65f6\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55\u4f7f\u7528 ",n.a.createElement("code",null,"panelRender")," \u65f6\uff0c\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362\uff1f"),n.a.createElement("p",null,"\u5f53\u4f60\u901a\u8fc7 ",n.a.createElement("code",null,"panelRender")," \u52a8\u6001\u6539\u53d8\u5c42\u7ea7\u7ed3\u6784\u65f6\uff0c\u4f1a\u4f7f\u5f97\u539f\u672c\u7684 Panel \u88ab\u5f53\u505a\u65b0\u7684\u8282\u70b9\u5220\u9664\u5e76\u521b\u5efa\u3002\u8fd9\u4f7f\u5f97\u5176\u539f\u672c\u7684\u72b6\u6001\u4f1a\u88ab\u91cd\u7f6e\uff0c\u4fdd\u6301\u7ed3\u6784\u7a33\u5b9a\u5373\u53ef\u3002\u8be6\u60c5\u8bf7\u53c2\u8003 ",n.a.createElement(r["Link"],{to:"https://github.com/ant-design/ant-design/issues/27263"},"#27263"),"\u3002"),n.a.createElement(m["a"],{code:"moment.locale('en', {\n // \u6ce8\u610f\u8bf7\u4fee\u6539\u4f60\u6b63\u5728\u4f7f\u7528\u7684 locale \u8bed\u8a00\uff0c\u6bd4\u5982 zh-cn\n week: {\n dow: 1,\n },\n});",lang:"bash"})))))},MZF8:function(e,t,l){"use strict";var a=l("ogwx");l.d(t,"a",(function(){return a["b"]}));l("VCU9")},RZMt:function(e,t,l){},Zxc8:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("k3GJ"),c=l("MZF8"),m=l("dEAq"),d=l("H1Ra");l("RZMt");function u(e,t){return p(e)||s(e,t)||E(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 E(e,t){if(e){if("string"===typeof e)return i(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,a=new Array(t);l<t;l++)a[l]=e[l];return a}function s(e,t){var l=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a,n,r=[],c=!0,m=!1;try{for(l=l.call(e);!(c=(a=l.next()).done);c=!0)if(r.push(a.value),t&&r.length===t)break}catch(d){m=!0,n=d}finally{try{c||null==l["return"]||l["return"]()}finally{if(m)throw n}}return r}}function p(e){if(Array.isArray(e))return e}function h(e,t){var l,a=null===(l=e.match(/\.(\w+)$/))||void 0===l?void 0:l[1];return a||(a=t.tsx?"tsx":"jsx"),a}var k=function(e){var t,l,o,E=Object(a["useRef"])(),i=Object(a["useContext"])(m["context"]),s=i.locale,p=Object(m["useLocaleProps"])(s,e),k=Object(m["useDemoUrl"])(p.identifier),f=p.demoUrl||k,b=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),g=1===Object.keys(p.sources).length,v=Object(m["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),N=Object(m["useRiddle"])((null===(l=p.hideActions)||void 0===l?void 0:l.includes("RIDDLE"))?null:p),L=Object(m["useMotions"])(p.motions||[],E.current),w=u(L,2),A=w[0],P=w[1],x=Object(m["useCopy"])(),y=u(x,2),j=y[0],C=y[1],I=Object(a["useState"])("_"),R=u(I,2),_=R[0],D=R[1],B=Object(a["useState"])(h(_,p.sources[_])),S=u(B,2),O=S[0],Y=S[1],M=Object(a["useState"])(Boolean(p.defaultShowCode)),F=u(M,2),T=F[0],V=F[1],q=Object(a["useState"])(Math.random()),z=u(q,2),U=z[0],Z=z[1],H=p.sources[_][O]||p.sources[_].content,J=Object(m["useTSPlaygroundUrl"])(s,H),$=Object(a["useRef"])(),Q=Object(m["usePrefersColor"])(),G=u(Q,1),X=G[0];function K(e){D(e),Y(h(e,p.sources[e]))}return Object(a["useEffect"])((function(){Z(Math.random())}),[X]),n.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",b?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:E,className:"__dumi-default-previewer-demo",style:{transform:p.transform?"translate(0, 0)":void 0,padding:p.compact||p.iframe&&!1!==p.compact?"0":void 0,background:p.background}},p.iframe?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:U,src:f,ref:$}):p.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&n.a.createElement(m["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},v&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:v}),N&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:N}),p.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:P,onClick:function(){return A()}}),p.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return Z(Math.random())}}),!(null===(o=p.hideActions)||void 0===o?void 0:o.includes("EXTERNAL"))&&n.a.createElement(m["Link"],{target:"_blank",to:f},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":C,onClick:function(){return j(H)}}),"tsx"===O&&T&&n.a.createElement(m["Link"],{target:"_blank",to:J},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(T?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return V(!T)}})),T&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!g&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:_,onChange:K},Object.keys(p.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(h(e,p.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(d["a"],{code:H,lang:O,showCopy:!1}))))};t["default"]=k}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [25],
3
+ {
4
+ '/ygi': function (e, t, l) {
5
+ 'use strict';
6
+ l.r(t);
7
+ var a = l('q1tI'),
8
+ n = l.n(a),
9
+ r = l('dEAq'),
10
+ c = l('Zxc8'),
11
+ m = l('H1Ra'),
12
+ d = l('JjdP'),
13
+ u = n.a.memo(d['default']['date-picker-basic'].component),
14
+ o = n.a.memo(d['default']['date-picker-range-picker'].component),
15
+ E = n.a.memo(d['default']['date-picker-switchable'].component),
16
+ i = n.a.memo(d['default']['date-picker-format'].component),
17
+ s = n.a.memo(d['default']['date-picker-time'].component),
18
+ p = n.a.memo(d['default']['date-picker-disabled-date'].component),
19
+ h = n.a.memo(d['default']['date-picker-disabled'].component),
20
+ k = n.a.memo(d['default']['date-picker-select-in-range'].component),
21
+ f = n.a.memo(d['default']['date-picker-presetted-ranges'].component),
22
+ b = n.a.memo(d['default']['date-picker-size'].component),
23
+ g = n.a.memo(d['default']['date-picker-extra-footer'].component),
24
+ v = n.a.memo(d['default']['date-picker-date-render'].component),
25
+ N = n.a.memo(d['default']['date-picker-bordered'].component);
26
+ t['default'] = (e) => (
27
+ n.a.useEffect(() => {
28
+ var t;
29
+ null !== e &&
30
+ void 0 !== e &&
31
+ null !== (t = e.location) &&
32
+ void 0 !== t &&
33
+ t.hash &&
34
+ r['AnchorLink'].scrollToAnchor(
35
+ decodeURIComponent(e.location.hash.slice(1)),
36
+ );
37
+ }, []),
38
+ n.a.createElement(
39
+ n.a.Fragment,
40
+ null,
41
+ n.a.createElement(
42
+ n.a.Fragment,
43
+ null,
44
+ n.a.createElement(
45
+ 'div',
46
+ { className: 'markdown' },
47
+ n.a.createElement(
48
+ 'h1',
49
+ { id: 'datepicker-\u65e5\u671f\u9009\u62e9\u6846' },
50
+ n.a.createElement(
51
+ r['AnchorLink'],
52
+ {
53
+ to: '#datepicker-\u65e5\u671f\u9009\u62e9\u6846',
54
+ 'aria-hidden': 'true',
55
+ tabIndex: -1,
56
+ },
57
+ n.a.createElement('span', { className: 'icon icon-link' }),
58
+ ),
59
+ 'DatePicker \u65e5\u671f\u9009\u62e9\u6846',
60
+ ),
61
+ n.a.createElement(
62
+ 'p',
63
+ null,
64
+ '\u8f93\u5165\u6216\u9009\u62e9\u65e5\u671f\u7684\u63a7\u4ef6\u3002',
65
+ ),
66
+ n.a.createElement(
67
+ 'h2',
68
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
69
+ n.a.createElement(
70
+ r['AnchorLink'],
71
+ {
72
+ to: '#\u4f55\u65f6\u4f7f\u7528',
73
+ 'aria-hidden': 'true',
74
+ tabIndex: -1,
75
+ },
76
+ n.a.createElement('span', { className: 'icon icon-link' }),
77
+ ),
78
+ '\u4f55\u65f6\u4f7f\u7528',
79
+ ),
80
+ n.a.createElement(
81
+ 'p',
82
+ null,
83
+ '\u5f53\u7528\u6237\u9700\u8981\u8f93\u5165\u4e00\u4e2a\u65e5\u671f\uff0c\u53ef\u4ee5\u70b9\u51fb\u6807\u51c6\u8f93\u5165\u6846\uff0c\u5f39\u51fa\u65e5\u671f\u9762\u677f\u8fdb\u884c\u9009\u62e9\u3002',
84
+ ),
85
+ n.a.createElement(
86
+ 'h2',
87
+ { id: '\u4ee3\u7801\u6f14\u793a' },
88
+ n.a.createElement(
89
+ r['AnchorLink'],
90
+ {
91
+ to: '#\u4ee3\u7801\u6f14\u793a',
92
+ 'aria-hidden': 'true',
93
+ tabIndex: -1,
94
+ },
95
+ n.a.createElement('span', { className: 'icon icon-link' }),
96
+ ),
97
+ '\u4ee3\u7801\u6f14\u793a',
98
+ ),
99
+ n.a.createElement(
100
+ 'h3',
101
+ { id: '\u57fa\u672c' },
102
+ n.a.createElement(
103
+ r['AnchorLink'],
104
+ { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
105
+ n.a.createElement('span', { className: 'icon icon-link' }),
106
+ ),
107
+ '\u57fa\u672c',
108
+ ),
109
+ ),
110
+ n.a.createElement(
111
+ c['default'],
112
+ d['default']['date-picker-basic'].previewerProps,
113
+ n.a.createElement(u, null),
114
+ ),
115
+ n.a.createElement(
116
+ 'div',
117
+ { className: 'markdown' },
118
+ n.a.createElement(
119
+ 'h3',
120
+ { id: '\u8303\u56f4\u9009\u62e9\u5668' },
121
+ n.a.createElement(
122
+ r['AnchorLink'],
123
+ {
124
+ to: '#\u8303\u56f4\u9009\u62e9\u5668',
125
+ 'aria-hidden': 'true',
126
+ tabIndex: -1,
127
+ },
128
+ n.a.createElement('span', { className: 'icon icon-link' }),
129
+ ),
130
+ '\u8303\u56f4\u9009\u62e9\u5668',
131
+ ),
132
+ ),
133
+ n.a.createElement(
134
+ c['default'],
135
+ d['default']['date-picker-range-picker'].previewerProps,
136
+ n.a.createElement(o, null),
137
+ ),
138
+ n.a.createElement(
139
+ 'div',
140
+ { className: 'markdown' },
141
+ n.a.createElement(
142
+ 'h3',
143
+ { id: '\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668' },
144
+ n.a.createElement(
145
+ r['AnchorLink'],
146
+ {
147
+ to: '#\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668',
148
+ 'aria-hidden': 'true',
149
+ tabIndex: -1,
150
+ },
151
+ n.a.createElement('span', { className: 'icon icon-link' }),
152
+ ),
153
+ '\u5207\u6362\u4e0d\u540c\u7684\u9009\u62e9\u5668',
154
+ ),
155
+ ),
156
+ n.a.createElement(
157
+ c['default'],
158
+ d['default']['date-picker-switchable'].previewerProps,
159
+ n.a.createElement(E, null),
160
+ ),
161
+ n.a.createElement(
162
+ 'div',
163
+ { className: 'markdown' },
164
+ n.a.createElement(
165
+ 'h3',
166
+ { id: '\u65e5\u671f\u683c\u5f0f' },
167
+ n.a.createElement(
168
+ r['AnchorLink'],
169
+ {
170
+ to: '#\u65e5\u671f\u683c\u5f0f',
171
+ 'aria-hidden': 'true',
172
+ tabIndex: -1,
173
+ },
174
+ n.a.createElement('span', { className: 'icon icon-link' }),
175
+ ),
176
+ '\u65e5\u671f\u683c\u5f0f',
177
+ ),
178
+ ),
179
+ n.a.createElement(
180
+ c['default'],
181
+ d['default']['date-picker-format'].previewerProps,
182
+ n.a.createElement(i, null),
183
+ ),
184
+ n.a.createElement(
185
+ 'div',
186
+ { className: 'markdown' },
187
+ n.a.createElement(
188
+ 'h3',
189
+ { id: '\u65e5\u671f\u65f6\u95f4\u9009\u62e9' },
190
+ n.a.createElement(
191
+ r['AnchorLink'],
192
+ {
193
+ to: '#\u65e5\u671f\u65f6\u95f4\u9009\u62e9',
194
+ 'aria-hidden': 'true',
195
+ tabIndex: -1,
196
+ },
197
+ n.a.createElement('span', { className: 'icon icon-link' }),
198
+ ),
199
+ '\u65e5\u671f\u65f6\u95f4\u9009\u62e9',
200
+ ),
201
+ ),
202
+ n.a.createElement(
203
+ c['default'],
204
+ d['default']['date-picker-time'].previewerProps,
205
+ n.a.createElement(s, null),
206
+ ),
207
+ n.a.createElement(
208
+ 'div',
209
+ { className: 'markdown' },
210
+ n.a.createElement(
211
+ 'h3',
212
+ {
213
+ id: '\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4',
214
+ },
215
+ n.a.createElement(
216
+ r['AnchorLink'],
217
+ {
218
+ to: '#\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4',
219
+ 'aria-hidden': 'true',
220
+ tabIndex: -1,
221
+ },
222
+ n.a.createElement('span', { className: 'icon icon-link' }),
223
+ ),
224
+ '\u4e0d\u53ef\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4',
225
+ ),
226
+ ),
227
+ n.a.createElement(
228
+ c['default'],
229
+ d['default']['date-picker-disabled-date'].previewerProps,
230
+ n.a.createElement(p, null),
231
+ ),
232
+ n.a.createElement(
233
+ 'div',
234
+ { className: 'markdown' },
235
+ n.a.createElement(
236
+ 'h3',
237
+ { id: '\u7981\u7528' },
238
+ n.a.createElement(
239
+ r['AnchorLink'],
240
+ { to: '#\u7981\u7528', 'aria-hidden': 'true', tabIndex: -1 },
241
+ n.a.createElement('span', { className: 'icon icon-link' }),
242
+ ),
243
+ '\u7981\u7528',
244
+ ),
245
+ ),
246
+ n.a.createElement(
247
+ c['default'],
248
+ d['default']['date-picker-disabled'].previewerProps,
249
+ n.a.createElement(h, null),
250
+ ),
251
+ n.a.createElement(
252
+ 'div',
253
+ { className: 'markdown' },
254
+ n.a.createElement(
255
+ 'h3',
256
+ {
257
+ id: '\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4',
258
+ },
259
+ n.a.createElement(
260
+ r['AnchorLink'],
261
+ {
262
+ to: '#\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4',
263
+ 'aria-hidden': 'true',
264
+ tabIndex: -1,
265
+ },
266
+ n.a.createElement('span', { className: 'icon icon-link' }),
267
+ ),
268
+ '\u9009\u62e9\u4e0d\u8d85\u8fc7\u4e03\u5929\u7684\u8303\u56f4',
269
+ ),
270
+ ),
271
+ n.a.createElement(
272
+ c['default'],
273
+ d['default']['date-picker-select-in-range'].previewerProps,
274
+ n.a.createElement(k, null),
275
+ ),
276
+ n.a.createElement(
277
+ 'div',
278
+ { className: 'markdown' },
279
+ n.a.createElement(
280
+ 'h3',
281
+ { id: '\u9884\u8bbe\u8303\u56f4' },
282
+ n.a.createElement(
283
+ r['AnchorLink'],
284
+ {
285
+ to: '#\u9884\u8bbe\u8303\u56f4',
286
+ 'aria-hidden': 'true',
287
+ tabIndex: -1,
288
+ },
289
+ n.a.createElement('span', { className: 'icon icon-link' }),
290
+ ),
291
+ '\u9884\u8bbe\u8303\u56f4',
292
+ ),
293
+ ),
294
+ n.a.createElement(
295
+ c['default'],
296
+ d['default']['date-picker-presetted-ranges'].previewerProps,
297
+ n.a.createElement(f, null),
298
+ ),
299
+ n.a.createElement(
300
+ 'div',
301
+ { className: 'markdown' },
302
+ n.a.createElement(
303
+ 'h3',
304
+ { id: '\u4e09\u79cd\u5927\u5c0f' },
305
+ n.a.createElement(
306
+ r['AnchorLink'],
307
+ {
308
+ to: '#\u4e09\u79cd\u5927\u5c0f',
309
+ 'aria-hidden': 'true',
310
+ tabIndex: -1,
311
+ },
312
+ n.a.createElement('span', { className: 'icon icon-link' }),
313
+ ),
314
+ '\u4e09\u79cd\u5927\u5c0f',
315
+ ),
316
+ ),
317
+ n.a.createElement(
318
+ c['default'],
319
+ d['default']['date-picker-size'].previewerProps,
320
+ n.a.createElement(b, null),
321
+ ),
322
+ n.a.createElement(
323
+ 'div',
324
+ { className: 'markdown' },
325
+ n.a.createElement(
326
+ 'h3',
327
+ { id: '\u989d\u5916\u7684\u9875\u811a' },
328
+ n.a.createElement(
329
+ r['AnchorLink'],
330
+ {
331
+ to: '#\u989d\u5916\u7684\u9875\u811a',
332
+ 'aria-hidden': 'true',
333
+ tabIndex: -1,
334
+ },
335
+ n.a.createElement('span', { className: 'icon icon-link' }),
336
+ ),
337
+ '\u989d\u5916\u7684\u9875\u811a',
338
+ ),
339
+ ),
340
+ n.a.createElement(
341
+ c['default'],
342
+ d['default']['date-picker-extra-footer'].previewerProps,
343
+ n.a.createElement(g, null),
344
+ ),
345
+ n.a.createElement(
346
+ 'div',
347
+ { className: 'markdown' },
348
+ n.a.createElement(
349
+ 'h3',
350
+ { id: '\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c' },
351
+ n.a.createElement(
352
+ r['AnchorLink'],
353
+ {
354
+ to: '#\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c',
355
+ 'aria-hidden': 'true',
356
+ tabIndex: -1,
357
+ },
358
+ n.a.createElement('span', { className: 'icon icon-link' }),
359
+ ),
360
+ '\u5b9a\u5236\u65e5\u671f\u5355\u5143\u683c',
361
+ ),
362
+ ),
363
+ n.a.createElement(
364
+ c['default'],
365
+ d['default']['date-picker-date-render'].previewerProps,
366
+ n.a.createElement(v, null),
367
+ ),
368
+ n.a.createElement(
369
+ 'div',
370
+ { className: 'markdown' },
371
+ n.a.createElement(
372
+ 'h3',
373
+ { id: '\u65e0\u8fb9\u6846' },
374
+ n.a.createElement(
375
+ r['AnchorLink'],
376
+ {
377
+ to: '#\u65e0\u8fb9\u6846',
378
+ 'aria-hidden': 'true',
379
+ tabIndex: -1,
380
+ },
381
+ n.a.createElement('span', { className: 'icon icon-link' }),
382
+ ),
383
+ '\u65e0\u8fb9\u6846',
384
+ ),
385
+ ),
386
+ n.a.createElement(
387
+ c['default'],
388
+ d['default']['date-picker-bordered'].previewerProps,
389
+ n.a.createElement(N, null),
390
+ ),
391
+ n.a.createElement(
392
+ 'div',
393
+ { className: 'markdown' },
394
+ n.a.createElement(
395
+ 'h2',
396
+ { id: 'api' },
397
+ n.a.createElement(
398
+ r['AnchorLink'],
399
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
400
+ n.a.createElement('span', { className: 'icon icon-link' }),
401
+ ),
402
+ 'API',
403
+ ),
404
+ n.a.createElement(
405
+ 'p',
406
+ null,
407
+ '\u65e5\u671f\u7c7b\u7ec4\u4ef6\u5305\u62ec\u4ee5\u4e0b\u4e94\u79cd\u5f62\u5f0f\u3002',
408
+ ),
409
+ n.a.createElement(
410
+ 'ul',
411
+ null,
412
+ n.a.createElement('li', null, 'DatePicker'),
413
+ n.a.createElement('li', null, 'DatePicker[picker="month"]'),
414
+ n.a.createElement('li', null, 'DatePicker[picker="week"]'),
415
+ n.a.createElement('li', null, 'DatePicker[picker="year"]'),
416
+ n.a.createElement(
417
+ 'li',
418
+ null,
419
+ 'DatePicker[picker="quarter"] (4.1.0 \u65b0\u589e)',
420
+ ),
421
+ n.a.createElement('li', null, 'RangePicker'),
422
+ ),
423
+ n.a.createElement(
424
+ 'h3',
425
+ { id: '\u56fd\u9645\u5316\u914d\u7f6e' },
426
+ n.a.createElement(
427
+ r['AnchorLink'],
428
+ {
429
+ to: '#\u56fd\u9645\u5316\u914d\u7f6e',
430
+ 'aria-hidden': 'true',
431
+ tabIndex: -1,
432
+ },
433
+ n.a.createElement('span', { className: 'icon icon-link' }),
434
+ ),
435
+ '\u56fd\u9645\u5316\u914d\u7f6e',
436
+ ),
437
+ n.a.createElement(
438
+ 'p',
439
+ null,
440
+ '\u9ed8\u8ba4\u914d\u7f6e\u4e3a en-US\uff0c\u5982\u679c\u4f60\u9700\u8981\u8bbe\u7f6e\u5176\u4ed6\u8bed\u8a00\uff0c\u63a8\u8350\u5728\u5165\u53e3\u5904\u4f7f\u7528\u6211\u4eec\u63d0\u4f9b\u7684\u56fd\u9645\u5316\u7ec4\u4ef6\uff0c\u8be6\u89c1\uff1a',
441
+ n.a.createElement(
442
+ r['Link'],
443
+ { to: 'https://ant.design/components/config-provider-cn/' },
444
+ 'ConfigProvider \u56fd\u9645\u5316',
445
+ ),
446
+ '\u3002',
447
+ ),
448
+ n.a.createElement(
449
+ 'p',
450
+ null,
451
+ '\u5982\u6709\u7279\u6b8a\u9700\u6c42\uff08\u4ec5\u4fee\u6539\u5355\u4e00\u7ec4\u4ef6\u7684\u8bed\u8a00\uff09\uff0c\u8bf7\u4f7f\u7528 locale \u53c2\u6570\uff0c\u53c2\u8003\uff1a',
452
+ n.a.createElement(
453
+ r['Link'],
454
+ {
455
+ to: 'https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json',
456
+ },
457
+ '\u9ed8\u8ba4\u914d\u7f6e',
458
+ ),
459
+ '\u3002',
460
+ ),
461
+ n.a.createElement(m['a'], {
462
+ code: "import 'moment/locale/zh-cn';\nimport locale from '@fle-ui/next/es/date-picker/locale/zh_CN';\n\n<DatePicker locale={locale} />;",
463
+ lang: 'bash',
464
+ }),
465
+ n.a.createElement(m['a'], {
466
+ code: "// \u9ed8\u8ba4\u8bed\u8a00\u4e3a en-US\uff0c\u5982\u679c\u4f60\u9700\u8981\u8bbe\u7f6e\u5176\u4ed6\u8bed\u8a00\uff0c\u63a8\u8350\u5728\u5165\u53e3\u6587\u4ef6\u5168\u5c40\u8bbe\u7f6e locale\nimport moment from 'moment';\nimport 'moment/locale/zh-cn';\nimport locale from '@fle-ui/lib/locale/zh_CN';\n\n<ConfigProvider locale={locale}>\n <DatePicker defaultValue={moment('2015-01-01', 'YYYY-MM-DD')} />\n</ConfigProvider>;",
467
+ lang: 'bash',
468
+ }),
469
+ n.a.createElement(
470
+ 'h3',
471
+ { id: '\u5171\u540c\u7684-api' },
472
+ n.a.createElement(
473
+ r['AnchorLink'],
474
+ {
475
+ to: '#\u5171\u540c\u7684-api',
476
+ 'aria-hidden': 'true',
477
+ tabIndex: -1,
478
+ },
479
+ n.a.createElement('span', { className: 'icon icon-link' }),
480
+ ),
481
+ '\u5171\u540c\u7684 API',
482
+ ),
483
+ n.a.createElement(
484
+ 'p',
485
+ null,
486
+ '\u4ee5\u4e0b API \u4e3a DatePicker\u3001 RangePicker \u5171\u4eab\u7684 API\u3002',
487
+ ),
488
+ n.a.createElement(
489
+ 'table',
490
+ null,
491
+ n.a.createElement(
492
+ 'thead',
493
+ null,
494
+ n.a.createElement(
495
+ 'tr',
496
+ null,
497
+ n.a.createElement('th', null, '\u53c2\u6570'),
498
+ n.a.createElement('th', null, '\u8bf4\u660e'),
499
+ n.a.createElement('th', null, '\u7c7b\u578b'),
500
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
501
+ n.a.createElement('th', null, '\u7248\u672c'),
502
+ ),
503
+ ),
504
+ n.a.createElement(
505
+ 'tbody',
506
+ null,
507
+ n.a.createElement(
508
+ 'tr',
509
+ null,
510
+ n.a.createElement('td', null, 'allowClear'),
511
+ n.a.createElement(
512
+ 'td',
513
+ null,
514
+ '\u662f\u5426\u663e\u793a\u6e05\u9664\u6309\u94ae',
515
+ ),
516
+ n.a.createElement('td', null, 'boolean'),
517
+ n.a.createElement('td', null, 'true'),
518
+ n.a.createElement('td', null),
519
+ ),
520
+ n.a.createElement(
521
+ 'tr',
522
+ null,
523
+ n.a.createElement('td', null, 'autoFocus'),
524
+ n.a.createElement(
525
+ 'td',
526
+ null,
527
+ '\u81ea\u52a8\u83b7\u53d6\u7126\u70b9',
528
+ ),
529
+ n.a.createElement('td', null, 'boolean'),
530
+ n.a.createElement('td', null, 'false'),
531
+ n.a.createElement('td', null),
532
+ ),
533
+ n.a.createElement(
534
+ 'tr',
535
+ null,
536
+ n.a.createElement('td', null, 'bordered'),
537
+ n.a.createElement(
538
+ 'td',
539
+ null,
540
+ '\u662f\u5426\u6709\u8fb9\u6846',
541
+ ),
542
+ n.a.createElement('td', null, 'boolean'),
543
+ n.a.createElement('td', null, 'true'),
544
+ n.a.createElement('td', null),
545
+ ),
546
+ n.a.createElement(
547
+ 'tr',
548
+ null,
549
+ n.a.createElement('td', null, 'className'),
550
+ n.a.createElement(
551
+ 'td',
552
+ null,
553
+ '\u9009\u62e9\u5668 className',
554
+ ),
555
+ n.a.createElement('td', null, 'string'),
556
+ n.a.createElement('td', null, '-'),
557
+ n.a.createElement('td', null),
558
+ ),
559
+ n.a.createElement(
560
+ 'tr',
561
+ null,
562
+ n.a.createElement('td', null, 'dateRender'),
563
+ n.a.createElement(
564
+ 'td',
565
+ null,
566
+ '\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9',
567
+ ),
568
+ n.a.createElement(
569
+ 'td',
570
+ null,
571
+ 'function(currentDate: moment, today: moment) => React.ReactNode',
572
+ ),
573
+ n.a.createElement('td', null, '-'),
574
+ n.a.createElement('td', null),
575
+ ),
576
+ n.a.createElement(
577
+ 'tr',
578
+ null,
579
+ n.a.createElement('td', null, 'disabled'),
580
+ n.a.createElement('td', null, '\u7981\u7528'),
581
+ n.a.createElement('td', null, 'boolean'),
582
+ n.a.createElement('td', null, 'false'),
583
+ n.a.createElement('td', null),
584
+ ),
585
+ n.a.createElement(
586
+ 'tr',
587
+ null,
588
+ n.a.createElement('td', null, 'disabledDate'),
589
+ n.a.createElement(
590
+ 'td',
591
+ null,
592
+ '\u4e0d\u53ef\u9009\u62e9\u7684\u65e5\u671f',
593
+ ),
594
+ n.a.createElement(
595
+ 'td',
596
+ null,
597
+ '(currentDate: moment) => boolean',
598
+ ),
599
+ n.a.createElement('td', null, '-'),
600
+ n.a.createElement('td', null),
601
+ ),
602
+ n.a.createElement(
603
+ 'tr',
604
+ null,
605
+ n.a.createElement('td', null, 'dropdownClassName'),
606
+ n.a.createElement(
607
+ 'td',
608
+ null,
609
+ '\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386 className',
610
+ ),
611
+ n.a.createElement('td', null, 'string'),
612
+ n.a.createElement('td', null, '-'),
613
+ n.a.createElement('td', null),
614
+ ),
615
+ n.a.createElement(
616
+ 'tr',
617
+ null,
618
+ n.a.createElement('td', null, 'getPopupContainer'),
619
+ n.a.createElement(
620
+ 'td',
621
+ null,
622
+ '\u5b9a\u4e49\u6d6e\u5c42\u7684\u5bb9\u5668\uff0c\u9ed8\u8ba4\u4e3a body \u4e0a\u65b0\u5efa div',
623
+ ),
624
+ n.a.createElement('td', null, 'function(trigger)'),
625
+ n.a.createElement('td', null, '-'),
626
+ n.a.createElement('td', null),
627
+ ),
628
+ n.a.createElement(
629
+ 'tr',
630
+ null,
631
+ n.a.createElement('td', null, 'inputReadOnly'),
632
+ n.a.createElement(
633
+ 'td',
634
+ null,
635
+ '\u8bbe\u7f6e\u8f93\u5165\u6846\u4e3a\u53ea\u8bfb\uff08\u907f\u514d\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u6253\u5f00\u865a\u62df\u952e\u76d8\uff09',
636
+ ),
637
+ n.a.createElement('td', null, 'boolean'),
638
+ n.a.createElement('td', null, 'false'),
639
+ n.a.createElement('td', null),
640
+ ),
641
+ n.a.createElement(
642
+ 'tr',
643
+ null,
644
+ n.a.createElement('td', null, 'locale'),
645
+ n.a.createElement(
646
+ 'td',
647
+ null,
648
+ '\u56fd\u9645\u5316\u914d\u7f6e',
649
+ ),
650
+ n.a.createElement('td', null, 'object'),
651
+ n.a.createElement(
652
+ 'td',
653
+ null,
654
+ n.a.createElement(
655
+ r['Link'],
656
+ {
657
+ to: 'https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json',
658
+ },
659
+ '\u9ed8\u8ba4\u914d\u7f6e',
660
+ ),
661
+ ),
662
+ n.a.createElement('td', null),
663
+ ),
664
+ n.a.createElement(
665
+ 'tr',
666
+ null,
667
+ n.a.createElement('td', null, 'mode'),
668
+ n.a.createElement(
669
+ 'td',
670
+ null,
671
+ '\u65e5\u671f\u9762\u677f\u7684\u72b6\u6001\uff08',
672
+ n.a.createElement(
673
+ r['AnchorLink'],
674
+ {
675
+ to: '/docs/react/faq#%E5%BD%93%E6%88%91%E6%8C%87%E5%AE%9A%E4%BA%86-DatePicker/RangePicker-%E7%9A%84-mode-%E5%B1%9E%E6%80%A7%E5%90%8E%EF%BC%8C%E7%82%B9%E5%87%BB%E5%90%8E%E6%97%A0%E6%B3%95%E9%80%89%E6%8B%A9%E5%B9%B4%E4%BB%BD/%E6%9C%88%E4%BB%BD%EF%BC%9F',
676
+ },
677
+ '\u8bbe\u7f6e\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd/\u6708\u4efd\uff1f',
678
+ ),
679
+ '\uff09',
680
+ ),
681
+ n.a.createElement(
682
+ 'td',
683
+ null,
684
+ n.a.createElement('code', null, 'time'),
685
+ ' | ',
686
+ n.a.createElement('code', null, 'date'),
687
+ ' | ',
688
+ n.a.createElement('code', null, 'month'),
689
+ ' | ',
690
+ n.a.createElement('code', null, 'year'),
691
+ ' | ',
692
+ n.a.createElement('code', null, 'decade'),
693
+ ),
694
+ n.a.createElement('td', null, '-'),
695
+ n.a.createElement('td', null),
696
+ ),
697
+ n.a.createElement(
698
+ 'tr',
699
+ null,
700
+ n.a.createElement('td', null, 'open'),
701
+ n.a.createElement(
702
+ 'td',
703
+ null,
704
+ '\u63a7\u5236\u5f39\u5c42\u662f\u5426\u5c55\u5f00',
705
+ ),
706
+ n.a.createElement('td', null, 'boolean'),
707
+ n.a.createElement('td', null, '-'),
708
+ n.a.createElement('td', null),
709
+ ),
710
+ n.a.createElement(
711
+ 'tr',
712
+ null,
713
+ n.a.createElement('td', null, 'panelRender'),
714
+ n.a.createElement(
715
+ 'td',
716
+ null,
717
+ '\u81ea\u5b9a\u4e49\u6e32\u67d3\u9762\u677f',
718
+ ),
719
+ n.a.createElement('td', null, '(panelNode) => ReactNode'),
720
+ n.a.createElement('td', null, '-'),
721
+ n.a.createElement('td', null, '4.5.0'),
722
+ ),
723
+ n.a.createElement(
724
+ 'tr',
725
+ null,
726
+ n.a.createElement('td', null, 'picker'),
727
+ n.a.createElement(
728
+ 'td',
729
+ null,
730
+ '\u8bbe\u7f6e\u9009\u62e9\u5668\u7c7b\u578b',
731
+ ),
732
+ n.a.createElement(
733
+ 'td',
734
+ null,
735
+ n.a.createElement('code', null, 'date'),
736
+ ' | ',
737
+ n.a.createElement('code', null, 'week'),
738
+ ' | ',
739
+ n.a.createElement('code', null, 'month'),
740
+ ' | ',
741
+ n.a.createElement('code', null, 'quarter'),
742
+ ' | ',
743
+ n.a.createElement('code', null, 'year'),
744
+ ),
745
+ n.a.createElement(
746
+ 'td',
747
+ null,
748
+ n.a.createElement('code', null, 'date'),
749
+ ),
750
+ n.a.createElement(
751
+ 'td',
752
+ null,
753
+ n.a.createElement('code', null, 'quarter'),
754
+ ': 4.1.0',
755
+ ),
756
+ ),
757
+ n.a.createElement(
758
+ 'tr',
759
+ null,
760
+ n.a.createElement('td', null, 'placeholder'),
761
+ n.a.createElement(
762
+ 'td',
763
+ null,
764
+ '\u8f93\u5165\u6846\u63d0\u793a\u6587\u5b57',
765
+ ),
766
+ n.a.createElement('td', null, 'string | [string, string]'),
767
+ n.a.createElement('td', null, '-'),
768
+ n.a.createElement('td', null),
769
+ ),
770
+ n.a.createElement(
771
+ 'tr',
772
+ null,
773
+ n.a.createElement('td', null, 'popupStyle'),
774
+ n.a.createElement(
775
+ 'td',
776
+ null,
777
+ '\u989d\u5916\u7684\u5f39\u51fa\u65e5\u5386\u6837\u5f0f',
778
+ ),
779
+ n.a.createElement('td', null, 'CSSProperties'),
780
+ n.a.createElement('td', null, '{', '}'),
781
+ n.a.createElement('td', null),
782
+ ),
783
+ n.a.createElement(
784
+ 'tr',
785
+ null,
786
+ n.a.createElement('td', null, 'size'),
787
+ n.a.createElement(
788
+ 'td',
789
+ null,
790
+ '\u8f93\u5165\u6846\u5927\u5c0f\uff0c',
791
+ n.a.createElement('code', null, 'large'),
792
+ ' \u9ad8\u5ea6\u4e3a 40px\uff0c',
793
+ n.a.createElement('code', null, 'small'),
794
+ ' \u4e3a 24px\uff0c\u9ed8\u8ba4\u662f 32px',
795
+ ),
796
+ n.a.createElement(
797
+ 'td',
798
+ null,
799
+ n.a.createElement('code', null, 'large'),
800
+ ' | ',
801
+ n.a.createElement('code', null, 'middle'),
802
+ ' | ',
803
+ n.a.createElement('code', null, 'small'),
804
+ ),
805
+ n.a.createElement('td', null, '-'),
806
+ n.a.createElement('td', null),
807
+ ),
808
+ n.a.createElement(
809
+ 'tr',
810
+ null,
811
+ n.a.createElement('td', null, 'style'),
812
+ n.a.createElement(
813
+ 'td',
814
+ null,
815
+ '\u81ea\u5b9a\u4e49\u8f93\u5165\u6846\u6837\u5f0f',
816
+ ),
817
+ n.a.createElement('td', null, 'CSSProperties'),
818
+ n.a.createElement('td', null, '{', '}'),
819
+ n.a.createElement('td', null),
820
+ ),
821
+ n.a.createElement(
822
+ 'tr',
823
+ null,
824
+ n.a.createElement('td', null, 'suffixIcon'),
825
+ n.a.createElement(
826
+ 'td',
827
+ null,
828
+ '\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807',
829
+ ),
830
+ n.a.createElement('td', null, 'ReactNode'),
831
+ n.a.createElement('td', null, '-'),
832
+ n.a.createElement('td', null),
833
+ ),
834
+ n.a.createElement(
835
+ 'tr',
836
+ null,
837
+ n.a.createElement('td', null, 'onOpenChange'),
838
+ n.a.createElement(
839
+ 'td',
840
+ null,
841
+ '\u5f39\u51fa\u65e5\u5386\u548c\u5173\u95ed\u65e5\u5386\u7684\u56de\u8c03',
842
+ ),
843
+ n.a.createElement('td', null, 'function(open)'),
844
+ n.a.createElement('td', null, '-'),
845
+ n.a.createElement('td', null),
846
+ ),
847
+ n.a.createElement(
848
+ 'tr',
849
+ null,
850
+ n.a.createElement('td', null, 'onPanelChange'),
851
+ n.a.createElement(
852
+ 'td',
853
+ null,
854
+ '\u65e5\u5386\u9762\u677f\u5207\u6362\u7684\u56de\u8c03',
855
+ ),
856
+ n.a.createElement('td', null, 'function(value, mode)'),
857
+ n.a.createElement('td', null, '-'),
858
+ n.a.createElement('td', null),
859
+ ),
860
+ ),
861
+ ),
862
+ n.a.createElement(
863
+ 'h3',
864
+ { id: '\u5171\u540c\u7684\u65b9\u6cd5' },
865
+ n.a.createElement(
866
+ r['AnchorLink'],
867
+ {
868
+ to: '#\u5171\u540c\u7684\u65b9\u6cd5',
869
+ 'aria-hidden': 'true',
870
+ tabIndex: -1,
871
+ },
872
+ n.a.createElement('span', { className: 'icon icon-link' }),
873
+ ),
874
+ '\u5171\u540c\u7684\u65b9\u6cd5',
875
+ ),
876
+ n.a.createElement(
877
+ 'table',
878
+ null,
879
+ n.a.createElement(
880
+ 'thead',
881
+ null,
882
+ n.a.createElement(
883
+ 'tr',
884
+ null,
885
+ n.a.createElement('th', null, '\u540d\u79f0'),
886
+ n.a.createElement('th', null, '\u63cf\u8ff0'),
887
+ n.a.createElement('th', null, '\u7248\u672c'),
888
+ ),
889
+ ),
890
+ n.a.createElement(
891
+ 'tbody',
892
+ null,
893
+ n.a.createElement(
894
+ 'tr',
895
+ null,
896
+ n.a.createElement('td', null, 'blur()'),
897
+ n.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
898
+ n.a.createElement('td', null),
899
+ ),
900
+ n.a.createElement(
901
+ 'tr',
902
+ null,
903
+ n.a.createElement('td', null, 'focus()'),
904
+ n.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
905
+ n.a.createElement('td', null),
906
+ ),
907
+ ),
908
+ ),
909
+ n.a.createElement(
910
+ 'h3',
911
+ { id: 'datepicker' },
912
+ n.a.createElement(
913
+ r['AnchorLink'],
914
+ { to: '#datepicker', 'aria-hidden': 'true', tabIndex: -1 },
915
+ n.a.createElement('span', { className: 'icon icon-link' }),
916
+ ),
917
+ 'DatePicker',
918
+ ),
919
+ n.a.createElement(
920
+ 'table',
921
+ null,
922
+ n.a.createElement(
923
+ 'thead',
924
+ null,
925
+ n.a.createElement(
926
+ 'tr',
927
+ null,
928
+ n.a.createElement('th', null, '\u53c2\u6570'),
929
+ n.a.createElement('th', null, '\u8bf4\u660e'),
930
+ n.a.createElement('th', null, '\u7c7b\u578b'),
931
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
932
+ n.a.createElement('th', null, '\u7248\u672c'),
933
+ ),
934
+ ),
935
+ n.a.createElement(
936
+ 'tbody',
937
+ null,
938
+ n.a.createElement(
939
+ 'tr',
940
+ null,
941
+ n.a.createElement('td', null, 'defaultPickerValue'),
942
+ n.a.createElement(
943
+ 'td',
944
+ null,
945
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
946
+ ),
947
+ n.a.createElement(
948
+ 'td',
949
+ null,
950
+ n.a.createElement(
951
+ r['Link'],
952
+ { to: 'http://momentjs.com/' },
953
+ 'moment',
954
+ ),
955
+ ),
956
+ n.a.createElement('td', null, '-'),
957
+ n.a.createElement('td', null),
958
+ ),
959
+ n.a.createElement(
960
+ 'tr',
961
+ null,
962
+ n.a.createElement('td', null, 'defaultValue'),
963
+ n.a.createElement(
964
+ 'td',
965
+ null,
966
+ '\u9ed8\u8ba4\u65e5\u671f\uff0c\u5982\u679c\u5f00\u59cb\u65f6\u95f4\u6216\u7ed3\u675f\u65f6\u95f4\u4e3a ',
967
+ n.a.createElement('code', null, 'null'),
968
+ ' \u6216\u8005 ',
969
+ n.a.createElement('code', null, 'undefined'),
970
+ '\uff0c\u65e5\u671f\u8303\u56f4\u5c06\u662f\u4e00\u4e2a\u5f00\u533a\u95f4',
971
+ ),
972
+ n.a.createElement(
973
+ 'td',
974
+ null,
975
+ n.a.createElement(
976
+ r['Link'],
977
+ { to: 'http://momentjs.com/' },
978
+ 'moment',
979
+ ),
980
+ ),
981
+ n.a.createElement('td', null, '-'),
982
+ n.a.createElement('td', null),
983
+ ),
984
+ n.a.createElement(
985
+ 'tr',
986
+ null,
987
+ n.a.createElement('td', null, 'disabledTime'),
988
+ n.a.createElement(
989
+ 'td',
990
+ null,
991
+ '\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4',
992
+ ),
993
+ n.a.createElement('td', null, 'function(date)'),
994
+ n.a.createElement('td', null, '-'),
995
+ n.a.createElement('td', null),
996
+ ),
997
+ n.a.createElement(
998
+ 'tr',
999
+ null,
1000
+ n.a.createElement('td', null, 'format'),
1001
+ n.a.createElement(
1002
+ 'td',
1003
+ null,
1004
+ '\u8bbe\u7f6e\u65e5\u671f\u683c\u5f0f\uff0c\u4e3a\u6570\u7ec4\u65f6\u652f\u6301\u591a\u683c\u5f0f\u5339\u914d\uff0c\u5c55\u793a\u4ee5\u7b2c\u4e00\u4e2a\u4e3a\u51c6\u3002\u914d\u7f6e\u53c2\u8003 ',
1005
+ n.a.createElement(
1006
+ r['Link'],
1007
+ { to: 'http://momentjs.com/' },
1008
+ 'moment.js',
1009
+ ),
1010
+ '\uff0c\u652f\u6301',
1011
+ n.a.createElement(
1012
+ r['AnchorLink'],
1013
+ { to: '#components-date-picker-demo-format' },
1014
+ '\u81ea\u5b9a\u4e49\u683c\u5f0f',
1015
+ ),
1016
+ ),
1017
+ n.a.createElement(
1018
+ 'td',
1019
+ null,
1020
+ 'string | (value: moment) => string | (string | (value: moment) => string)[]',
1021
+ ),
1022
+ n.a.createElement(
1023
+ 'td',
1024
+ null,
1025
+ n.a.createElement('code', null, 'YYYY-MM-DD'),
1026
+ ),
1027
+ n.a.createElement('td', null),
1028
+ ),
1029
+ n.a.createElement(
1030
+ 'tr',
1031
+ null,
1032
+ n.a.createElement('td', null, 'renderExtraFooter'),
1033
+ n.a.createElement(
1034
+ 'td',
1035
+ null,
1036
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1037
+ ),
1038
+ n.a.createElement('td', null, '(mode) => React.ReactNode'),
1039
+ n.a.createElement('td', null, '-'),
1040
+ n.a.createElement('td', null),
1041
+ ),
1042
+ n.a.createElement(
1043
+ 'tr',
1044
+ null,
1045
+ n.a.createElement('td', null, 'showNow'),
1046
+ n.a.createElement(
1047
+ 'td',
1048
+ null,
1049
+ '\u5f53\u8bbe\u5b9a\u4e86 ',
1050
+ n.a.createElement('code', null, 'showTime'),
1051
+ ' \u7684\u65f6\u5019\uff0c\u9762\u677f\u662f\u5426\u663e\u793a\u201c\u6b64\u523b\u201d\u6309\u94ae',
1052
+ ),
1053
+ n.a.createElement('td', null, 'boolean'),
1054
+ n.a.createElement('td', null, '-'),
1055
+ n.a.createElement('td', null, '4.4.0'),
1056
+ ),
1057
+ n.a.createElement(
1058
+ 'tr',
1059
+ null,
1060
+ n.a.createElement('td', null, 'showTime'),
1061
+ n.a.createElement(
1062
+ 'td',
1063
+ null,
1064
+ '\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd',
1065
+ ),
1066
+ n.a.createElement('td', null, 'Object | boolean'),
1067
+ n.a.createElement(
1068
+ 'td',
1069
+ null,
1070
+ n.a.createElement(
1071
+ r['AnchorLink'],
1072
+ { to: '/components/time-picker/#API' },
1073
+ 'TimePicker Options',
1074
+ ),
1075
+ ),
1076
+ n.a.createElement('td', null),
1077
+ ),
1078
+ n.a.createElement(
1079
+ 'tr',
1080
+ null,
1081
+ n.a.createElement('td', null, 'showTime.defaultValue'),
1082
+ n.a.createElement(
1083
+ 'td',
1084
+ null,
1085
+ '\u8bbe\u7f6e\u7528\u6237\u9009\u62e9\u65e5\u671f\u65f6\u9ed8\u8ba4\u7684\u65f6\u5206\u79d2\uff0c',
1086
+ n.a.createElement(
1087
+ r['AnchorLink'],
1088
+ { to: '#components-date-picker-demo-disabled-date' },
1089
+ '\u4f8b\u5b50',
1090
+ ),
1091
+ ),
1092
+ n.a.createElement(
1093
+ 'td',
1094
+ null,
1095
+ n.a.createElement(
1096
+ r['Link'],
1097
+ { to: 'http://momentjs.com/' },
1098
+ 'moment',
1099
+ ),
1100
+ ),
1101
+ n.a.createElement('td', null, 'moment()'),
1102
+ n.a.createElement('td', null),
1103
+ ),
1104
+ n.a.createElement(
1105
+ 'tr',
1106
+ null,
1107
+ n.a.createElement('td', null, 'showToday'),
1108
+ n.a.createElement(
1109
+ 'td',
1110
+ null,
1111
+ '\u662f\u5426\u5c55\u793a\u201c\u4eca\u5929\u201d\u6309\u94ae',
1112
+ ),
1113
+ n.a.createElement('td', null, 'boolean'),
1114
+ n.a.createElement('td', null, 'true'),
1115
+ n.a.createElement('td', null),
1116
+ ),
1117
+ n.a.createElement(
1118
+ 'tr',
1119
+ null,
1120
+ n.a.createElement('td', null, 'value'),
1121
+ n.a.createElement('td', null, '\u65e5\u671f'),
1122
+ n.a.createElement(
1123
+ 'td',
1124
+ null,
1125
+ n.a.createElement(
1126
+ r['Link'],
1127
+ { to: 'http://momentjs.com/' },
1128
+ 'moment',
1129
+ ),
1130
+ ),
1131
+ n.a.createElement('td', null, '-'),
1132
+ n.a.createElement('td', null),
1133
+ ),
1134
+ n.a.createElement(
1135
+ 'tr',
1136
+ null,
1137
+ n.a.createElement('td', null, 'onChange'),
1138
+ n.a.createElement(
1139
+ 'td',
1140
+ null,
1141
+ '\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03',
1142
+ ),
1143
+ n.a.createElement(
1144
+ 'td',
1145
+ null,
1146
+ 'function(date: moment, dateString: string)',
1147
+ ),
1148
+ n.a.createElement('td', null, '-'),
1149
+ n.a.createElement('td', null),
1150
+ ),
1151
+ n.a.createElement(
1152
+ 'tr',
1153
+ null,
1154
+ n.a.createElement('td', null, 'onOk'),
1155
+ n.a.createElement(
1156
+ 'td',
1157
+ null,
1158
+ '\u70b9\u51fb\u786e\u5b9a\u6309\u94ae\u7684\u56de\u8c03',
1159
+ ),
1160
+ n.a.createElement('td', null, 'function()'),
1161
+ n.a.createElement('td', null, '-'),
1162
+ n.a.createElement('td', null),
1163
+ ),
1164
+ n.a.createElement(
1165
+ 'tr',
1166
+ null,
1167
+ n.a.createElement('td', null, 'onPanelChange'),
1168
+ n.a.createElement(
1169
+ 'td',
1170
+ null,
1171
+ '\u65e5\u671f\u9762\u677f\u53d8\u5316\u65f6\u7684\u56de\u8c03',
1172
+ ),
1173
+ n.a.createElement('td', null, 'function(value, mode)'),
1174
+ n.a.createElement('td', null, '-'),
1175
+ n.a.createElement('td', null),
1176
+ ),
1177
+ ),
1178
+ ),
1179
+ n.a.createElement(
1180
+ 'h3',
1181
+ { id: 'datepickerpickeryear' },
1182
+ n.a.createElement(
1183
+ r['AnchorLink'],
1184
+ {
1185
+ to: '#datepickerpickeryear',
1186
+ 'aria-hidden': 'true',
1187
+ tabIndex: -1,
1188
+ },
1189
+ n.a.createElement('span', { className: 'icon icon-link' }),
1190
+ ),
1191
+ 'DatePicker[picker=year]',
1192
+ ),
1193
+ n.a.createElement(
1194
+ 'table',
1195
+ null,
1196
+ n.a.createElement(
1197
+ 'thead',
1198
+ null,
1199
+ n.a.createElement(
1200
+ 'tr',
1201
+ null,
1202
+ n.a.createElement('th', null, '\u53c2\u6570'),
1203
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1204
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1205
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1206
+ n.a.createElement('th', null, '\u7248\u672c'),
1207
+ ),
1208
+ ),
1209
+ n.a.createElement(
1210
+ 'tbody',
1211
+ null,
1212
+ n.a.createElement(
1213
+ 'tr',
1214
+ null,
1215
+ n.a.createElement('td', null, 'defaultPickerValue'),
1216
+ n.a.createElement(
1217
+ 'td',
1218
+ null,
1219
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
1220
+ ),
1221
+ n.a.createElement(
1222
+ 'td',
1223
+ null,
1224
+ n.a.createElement(
1225
+ r['Link'],
1226
+ { to: 'http://momentjs.com/' },
1227
+ 'moment',
1228
+ ),
1229
+ ),
1230
+ n.a.createElement('td', null, '-'),
1231
+ n.a.createElement('td', null),
1232
+ ),
1233
+ n.a.createElement(
1234
+ 'tr',
1235
+ null,
1236
+ n.a.createElement('td', null, 'defaultValue'),
1237
+ n.a.createElement('td', null, '\u9ed8\u8ba4\u65e5\u671f'),
1238
+ n.a.createElement(
1239
+ 'td',
1240
+ null,
1241
+ n.a.createElement(
1242
+ r['Link'],
1243
+ { to: 'http://momentjs.com/' },
1244
+ 'moment',
1245
+ ),
1246
+ ),
1247
+ n.a.createElement('td', null, '-'),
1248
+ n.a.createElement('td', null),
1249
+ ),
1250
+ n.a.createElement(
1251
+ 'tr',
1252
+ null,
1253
+ n.a.createElement('td', null, 'format'),
1254
+ n.a.createElement(
1255
+ 'td',
1256
+ null,
1257
+ '\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ',
1258
+ n.a.createElement(
1259
+ r['Link'],
1260
+ { to: 'http://momentjs.com/' },
1261
+ 'moment.js',
1262
+ ),
1263
+ ),
1264
+ n.a.createElement('td', null, 'string'),
1265
+ n.a.createElement(
1266
+ 'td',
1267
+ null,
1268
+ n.a.createElement('code', null, 'YYYY'),
1269
+ ),
1270
+ n.a.createElement('td', null),
1271
+ ),
1272
+ n.a.createElement(
1273
+ 'tr',
1274
+ null,
1275
+ n.a.createElement('td', null, 'renderExtraFooter'),
1276
+ n.a.createElement(
1277
+ 'td',
1278
+ null,
1279
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1280
+ ),
1281
+ n.a.createElement('td', null, '() => React.ReactNode'),
1282
+ n.a.createElement('td', null, '-'),
1283
+ n.a.createElement('td', null),
1284
+ ),
1285
+ n.a.createElement(
1286
+ 'tr',
1287
+ null,
1288
+ n.a.createElement('td', null, 'value'),
1289
+ n.a.createElement('td', null, '\u65e5\u671f'),
1290
+ n.a.createElement(
1291
+ 'td',
1292
+ null,
1293
+ n.a.createElement(
1294
+ r['Link'],
1295
+ { to: 'http://momentjs.com/' },
1296
+ 'moment',
1297
+ ),
1298
+ ),
1299
+ n.a.createElement('td', null, '-'),
1300
+ n.a.createElement('td', null),
1301
+ ),
1302
+ n.a.createElement(
1303
+ 'tr',
1304
+ null,
1305
+ n.a.createElement('td', null, 'onChange'),
1306
+ n.a.createElement(
1307
+ 'td',
1308
+ null,
1309
+ '\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6',
1310
+ ),
1311
+ n.a.createElement(
1312
+ 'td',
1313
+ null,
1314
+ 'function(date: moment, dateString: string)',
1315
+ ),
1316
+ n.a.createElement('td', null, '-'),
1317
+ n.a.createElement('td', null),
1318
+ ),
1319
+ ),
1320
+ ),
1321
+ n.a.createElement(
1322
+ 'h3',
1323
+ { id: 'datepickerpickerquarter' },
1324
+ n.a.createElement(
1325
+ r['AnchorLink'],
1326
+ {
1327
+ to: '#datepickerpickerquarter',
1328
+ 'aria-hidden': 'true',
1329
+ tabIndex: -1,
1330
+ },
1331
+ n.a.createElement('span', { className: 'icon icon-link' }),
1332
+ ),
1333
+ 'DatePicker[picker=quarter]',
1334
+ ),
1335
+ n.a.createElement(
1336
+ 'p',
1337
+ null,
1338
+ n.a.createElement('code', null, '4.1.0'),
1339
+ ' \u65b0\u589e\u3002',
1340
+ ),
1341
+ n.a.createElement(
1342
+ 'table',
1343
+ null,
1344
+ n.a.createElement(
1345
+ 'thead',
1346
+ null,
1347
+ n.a.createElement(
1348
+ 'tr',
1349
+ null,
1350
+ n.a.createElement('th', null, '\u53c2\u6570'),
1351
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1352
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1353
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1354
+ n.a.createElement('th', null, '\u7248\u672c'),
1355
+ ),
1356
+ ),
1357
+ n.a.createElement(
1358
+ 'tbody',
1359
+ null,
1360
+ n.a.createElement(
1361
+ 'tr',
1362
+ null,
1363
+ n.a.createElement('td', null, 'defaultPickerValue'),
1364
+ n.a.createElement(
1365
+ 'td',
1366
+ null,
1367
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
1368
+ ),
1369
+ n.a.createElement(
1370
+ 'td',
1371
+ null,
1372
+ n.a.createElement(
1373
+ r['Link'],
1374
+ { to: 'http://momentjs.com/' },
1375
+ 'moment',
1376
+ ),
1377
+ ),
1378
+ n.a.createElement('td', null, '-'),
1379
+ n.a.createElement('td', null),
1380
+ ),
1381
+ n.a.createElement(
1382
+ 'tr',
1383
+ null,
1384
+ n.a.createElement('td', null, 'defaultValue'),
1385
+ n.a.createElement('td', null, '\u9ed8\u8ba4\u65e5\u671f'),
1386
+ n.a.createElement(
1387
+ 'td',
1388
+ null,
1389
+ n.a.createElement(
1390
+ r['Link'],
1391
+ { to: 'http://momentjs.com/' },
1392
+ 'moment',
1393
+ ),
1394
+ ),
1395
+ n.a.createElement('td', null, '-'),
1396
+ n.a.createElement('td', null),
1397
+ ),
1398
+ n.a.createElement(
1399
+ 'tr',
1400
+ null,
1401
+ n.a.createElement('td', null, 'format'),
1402
+ n.a.createElement(
1403
+ 'td',
1404
+ null,
1405
+ '\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ',
1406
+ n.a.createElement(
1407
+ r['Link'],
1408
+ { to: 'http://momentjs.com/' },
1409
+ 'moment.js',
1410
+ ),
1411
+ ),
1412
+ n.a.createElement('td', null, 'string'),
1413
+ n.a.createElement(
1414
+ 'td',
1415
+ null,
1416
+ n.a.createElement('code', null, 'YYYY-\\QQ'),
1417
+ ),
1418
+ n.a.createElement('td', null),
1419
+ ),
1420
+ n.a.createElement(
1421
+ 'tr',
1422
+ null,
1423
+ n.a.createElement('td', null, 'renderExtraFooter'),
1424
+ n.a.createElement(
1425
+ 'td',
1426
+ null,
1427
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1428
+ ),
1429
+ n.a.createElement('td', null, '() => React.ReactNode'),
1430
+ n.a.createElement('td', null, '-'),
1431
+ n.a.createElement('td', null),
1432
+ ),
1433
+ n.a.createElement(
1434
+ 'tr',
1435
+ null,
1436
+ n.a.createElement('td', null, 'value'),
1437
+ n.a.createElement('td', null, '\u65e5\u671f'),
1438
+ n.a.createElement(
1439
+ 'td',
1440
+ null,
1441
+ n.a.createElement(
1442
+ r['Link'],
1443
+ { to: 'http://momentjs.com/' },
1444
+ 'moment',
1445
+ ),
1446
+ ),
1447
+ n.a.createElement('td', null, '-'),
1448
+ n.a.createElement('td', null),
1449
+ ),
1450
+ n.a.createElement(
1451
+ 'tr',
1452
+ null,
1453
+ n.a.createElement('td', null, 'onChange'),
1454
+ n.a.createElement(
1455
+ 'td',
1456
+ null,
1457
+ '\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6',
1458
+ ),
1459
+ n.a.createElement(
1460
+ 'td',
1461
+ null,
1462
+ 'function(date: moment, dateString: string)',
1463
+ ),
1464
+ n.a.createElement('td', null, '-'),
1465
+ n.a.createElement('td', null),
1466
+ ),
1467
+ ),
1468
+ ),
1469
+ n.a.createElement(
1470
+ 'h3',
1471
+ { id: 'datepickerpickermonth' },
1472
+ n.a.createElement(
1473
+ r['AnchorLink'],
1474
+ {
1475
+ to: '#datepickerpickermonth',
1476
+ 'aria-hidden': 'true',
1477
+ tabIndex: -1,
1478
+ },
1479
+ n.a.createElement('span', { className: 'icon icon-link' }),
1480
+ ),
1481
+ 'DatePicker[picker=month]',
1482
+ ),
1483
+ n.a.createElement(
1484
+ 'table',
1485
+ null,
1486
+ n.a.createElement(
1487
+ 'thead',
1488
+ null,
1489
+ n.a.createElement(
1490
+ 'tr',
1491
+ null,
1492
+ n.a.createElement('th', null, '\u53c2\u6570'),
1493
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1494
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1495
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1496
+ n.a.createElement('th', null, '\u7248\u672c'),
1497
+ ),
1498
+ ),
1499
+ n.a.createElement(
1500
+ 'tbody',
1501
+ null,
1502
+ n.a.createElement(
1503
+ 'tr',
1504
+ null,
1505
+ n.a.createElement('td', null, 'defaultPickerValue'),
1506
+ n.a.createElement(
1507
+ 'td',
1508
+ null,
1509
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
1510
+ ),
1511
+ n.a.createElement(
1512
+ 'td',
1513
+ null,
1514
+ n.a.createElement(
1515
+ r['Link'],
1516
+ { to: 'http://momentjs.com/' },
1517
+ 'moment',
1518
+ ),
1519
+ ),
1520
+ n.a.createElement('td', null, '-'),
1521
+ n.a.createElement('td', null),
1522
+ ),
1523
+ n.a.createElement(
1524
+ 'tr',
1525
+ null,
1526
+ n.a.createElement('td', null, 'defaultValue'),
1527
+ n.a.createElement('td', null, '\u9ed8\u8ba4\u65e5\u671f'),
1528
+ n.a.createElement(
1529
+ 'td',
1530
+ null,
1531
+ n.a.createElement(
1532
+ r['Link'],
1533
+ { to: 'http://momentjs.com/' },
1534
+ 'moment',
1535
+ ),
1536
+ ),
1537
+ n.a.createElement('td', null, '-'),
1538
+ n.a.createElement('td', null),
1539
+ ),
1540
+ n.a.createElement(
1541
+ 'tr',
1542
+ null,
1543
+ n.a.createElement('td', null, 'format'),
1544
+ n.a.createElement(
1545
+ 'td',
1546
+ null,
1547
+ '\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ',
1548
+ n.a.createElement(
1549
+ r['Link'],
1550
+ { to: 'http://momentjs.com/' },
1551
+ 'moment.js',
1552
+ ),
1553
+ ),
1554
+ n.a.createElement('td', null, 'string'),
1555
+ n.a.createElement(
1556
+ 'td',
1557
+ null,
1558
+ n.a.createElement('code', null, 'YYYY-MM'),
1559
+ ),
1560
+ n.a.createElement('td', null),
1561
+ ),
1562
+ n.a.createElement(
1563
+ 'tr',
1564
+ null,
1565
+ n.a.createElement('td', null, 'monthCellRender'),
1566
+ n.a.createElement(
1567
+ 'td',
1568
+ null,
1569
+ '\u81ea\u5b9a\u4e49\u7684\u6708\u4efd\u5185\u5bb9\u6e32\u67d3\u65b9\u6cd5',
1570
+ ),
1571
+ n.a.createElement(
1572
+ 'td',
1573
+ null,
1574
+ 'function(date, locale): ReactNode',
1575
+ ),
1576
+ n.a.createElement('td', null, '-'),
1577
+ n.a.createElement('td', null),
1578
+ ),
1579
+ n.a.createElement(
1580
+ 'tr',
1581
+ null,
1582
+ n.a.createElement('td', null, 'renderExtraFooter'),
1583
+ n.a.createElement(
1584
+ 'td',
1585
+ null,
1586
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1587
+ ),
1588
+ n.a.createElement('td', null, '() => React.ReactNode'),
1589
+ n.a.createElement('td', null, '-'),
1590
+ n.a.createElement('td', null),
1591
+ ),
1592
+ n.a.createElement(
1593
+ 'tr',
1594
+ null,
1595
+ n.a.createElement('td', null, 'value'),
1596
+ n.a.createElement('td', null, '\u65e5\u671f'),
1597
+ n.a.createElement(
1598
+ 'td',
1599
+ null,
1600
+ n.a.createElement(
1601
+ r['Link'],
1602
+ { to: 'http://momentjs.com/' },
1603
+ 'moment',
1604
+ ),
1605
+ ),
1606
+ n.a.createElement('td', null, '-'),
1607
+ n.a.createElement('td', null),
1608
+ ),
1609
+ n.a.createElement(
1610
+ 'tr',
1611
+ null,
1612
+ n.a.createElement('td', null, 'onChange'),
1613
+ n.a.createElement(
1614
+ 'td',
1615
+ null,
1616
+ '\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6',
1617
+ ),
1618
+ n.a.createElement(
1619
+ 'td',
1620
+ null,
1621
+ 'function(date: moment, dateString: string)',
1622
+ ),
1623
+ n.a.createElement('td', null, '-'),
1624
+ n.a.createElement('td', null),
1625
+ ),
1626
+ ),
1627
+ ),
1628
+ n.a.createElement(
1629
+ 'h3',
1630
+ { id: 'datepickerpickerweek' },
1631
+ n.a.createElement(
1632
+ r['AnchorLink'],
1633
+ {
1634
+ to: '#datepickerpickerweek',
1635
+ 'aria-hidden': 'true',
1636
+ tabIndex: -1,
1637
+ },
1638
+ n.a.createElement('span', { className: 'icon icon-link' }),
1639
+ ),
1640
+ 'DatePicker[picker=week]',
1641
+ ),
1642
+ n.a.createElement(
1643
+ 'table',
1644
+ null,
1645
+ n.a.createElement(
1646
+ 'thead',
1647
+ null,
1648
+ n.a.createElement(
1649
+ 'tr',
1650
+ null,
1651
+ n.a.createElement('th', null, '\u53c2\u6570'),
1652
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1653
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1654
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1655
+ n.a.createElement('th', null, '\u7248\u672c'),
1656
+ ),
1657
+ ),
1658
+ n.a.createElement(
1659
+ 'tbody',
1660
+ null,
1661
+ n.a.createElement(
1662
+ 'tr',
1663
+ null,
1664
+ n.a.createElement('td', null, 'defaultPickerValue'),
1665
+ n.a.createElement(
1666
+ 'td',
1667
+ null,
1668
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
1669
+ ),
1670
+ n.a.createElement(
1671
+ 'td',
1672
+ null,
1673
+ n.a.createElement(
1674
+ r['Link'],
1675
+ { to: 'http://momentjs.com/' },
1676
+ 'moment',
1677
+ ),
1678
+ ),
1679
+ n.a.createElement('td', null, '-'),
1680
+ n.a.createElement('td', null),
1681
+ ),
1682
+ n.a.createElement(
1683
+ 'tr',
1684
+ null,
1685
+ n.a.createElement('td', null, 'defaultValue'),
1686
+ n.a.createElement('td', null, '\u9ed8\u8ba4\u65e5\u671f'),
1687
+ n.a.createElement(
1688
+ 'td',
1689
+ null,
1690
+ n.a.createElement(
1691
+ r['Link'],
1692
+ { to: 'http://momentjs.com/' },
1693
+ 'moment',
1694
+ ),
1695
+ ),
1696
+ n.a.createElement('td', null, '-'),
1697
+ n.a.createElement('td', null),
1698
+ ),
1699
+ n.a.createElement(
1700
+ 'tr',
1701
+ null,
1702
+ n.a.createElement('td', null, 'format'),
1703
+ n.a.createElement(
1704
+ 'td',
1705
+ null,
1706
+ '\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f\uff0c\u914d\u7f6e\u53c2\u8003 ',
1707
+ n.a.createElement(
1708
+ r['Link'],
1709
+ { to: 'http://momentjs.com/' },
1710
+ 'moment.js',
1711
+ ),
1712
+ ),
1713
+ n.a.createElement('td', null, 'string'),
1714
+ n.a.createElement(
1715
+ 'td',
1716
+ null,
1717
+ n.a.createElement('code', null, 'YYYY-wo'),
1718
+ ),
1719
+ n.a.createElement('td', null),
1720
+ ),
1721
+ n.a.createElement(
1722
+ 'tr',
1723
+ null,
1724
+ n.a.createElement('td', null, 'renderExtraFooter'),
1725
+ n.a.createElement(
1726
+ 'td',
1727
+ null,
1728
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1729
+ ),
1730
+ n.a.createElement('td', null, '(mode) => React.ReactNode'),
1731
+ n.a.createElement('td', null, '-'),
1732
+ n.a.createElement('td', null),
1733
+ ),
1734
+ n.a.createElement(
1735
+ 'tr',
1736
+ null,
1737
+ n.a.createElement('td', null, 'value'),
1738
+ n.a.createElement('td', null, '\u65e5\u671f'),
1739
+ n.a.createElement(
1740
+ 'td',
1741
+ null,
1742
+ n.a.createElement(
1743
+ r['Link'],
1744
+ { to: 'http://momentjs.com/' },
1745
+ 'moment',
1746
+ ),
1747
+ ),
1748
+ n.a.createElement('td', null, '-'),
1749
+ n.a.createElement('td', null),
1750
+ ),
1751
+ n.a.createElement(
1752
+ 'tr',
1753
+ null,
1754
+ n.a.createElement('td', null, 'onChange'),
1755
+ n.a.createElement(
1756
+ 'td',
1757
+ null,
1758
+ '\u65f6\u95f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\uff0c\u53d1\u751f\u5728\u7528\u6237\u9009\u62e9\u65f6\u95f4\u65f6',
1759
+ ),
1760
+ n.a.createElement(
1761
+ 'td',
1762
+ null,
1763
+ 'function(date: moment, dateString: string)',
1764
+ ),
1765
+ n.a.createElement('td', null, '-'),
1766
+ n.a.createElement('td', null),
1767
+ ),
1768
+ ),
1769
+ ),
1770
+ n.a.createElement(
1771
+ 'h3',
1772
+ { id: 'rangepicker' },
1773
+ n.a.createElement(
1774
+ r['AnchorLink'],
1775
+ { to: '#rangepicker', 'aria-hidden': 'true', tabIndex: -1 },
1776
+ n.a.createElement('span', { className: 'icon icon-link' }),
1777
+ ),
1778
+ 'RangePicker',
1779
+ ),
1780
+ n.a.createElement(
1781
+ 'table',
1782
+ null,
1783
+ n.a.createElement(
1784
+ 'thead',
1785
+ null,
1786
+ n.a.createElement(
1787
+ 'tr',
1788
+ null,
1789
+ n.a.createElement('th', null, '\u53c2\u6570'),
1790
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1791
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1792
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1793
+ n.a.createElement('th', null, '\u7248\u672c'),
1794
+ ),
1795
+ ),
1796
+ n.a.createElement(
1797
+ 'tbody',
1798
+ null,
1799
+ n.a.createElement(
1800
+ 'tr',
1801
+ null,
1802
+ n.a.createElement('td', null, 'allowEmpty'),
1803
+ n.a.createElement(
1804
+ 'td',
1805
+ null,
1806
+ '\u5141\u8bb8\u8d77\u59cb\u9879\u90e8\u5206\u4e3a\u7a7a',
1807
+ ),
1808
+ n.a.createElement('td', null, '[boolean, boolean]'),
1809
+ n.a.createElement('td', null, '[false, false]'),
1810
+ n.a.createElement('td', null),
1811
+ ),
1812
+ n.a.createElement(
1813
+ 'tr',
1814
+ null,
1815
+ n.a.createElement('td', null, 'dateRender'),
1816
+ n.a.createElement(
1817
+ 'td',
1818
+ null,
1819
+ '\u81ea\u5b9a\u4e49\u65e5\u671f\u5355\u5143\u683c\u7684\u5185\u5bb9\u3002',
1820
+ n.a.createElement('code', null, 'info'),
1821
+ ' \u53c2\u6570\u81ea 4.3.0 \u6dfb\u52a0',
1822
+ ),
1823
+ n.a.createElement(
1824
+ 'td',
1825
+ null,
1826
+ 'function(currentDate: moment, today: moment, info: ',
1827
+ '{',
1828
+ ' range: ',
1829
+ n.a.createElement('code', null, 'start'),
1830
+ ' | ',
1831
+ n.a.createElement('code', null, 'end'),
1832
+ ' ',
1833
+ '}',
1834
+ ') => React.ReactNode',
1835
+ ),
1836
+ n.a.createElement('td', null, '-'),
1837
+ n.a.createElement('td', null),
1838
+ ),
1839
+ n.a.createElement(
1840
+ 'tr',
1841
+ null,
1842
+ n.a.createElement('td', null, 'defaultPickerValue'),
1843
+ n.a.createElement(
1844
+ 'td',
1845
+ null,
1846
+ '\u9ed8\u8ba4\u9762\u677f\u65e5\u671f',
1847
+ ),
1848
+ n.a.createElement(
1849
+ 'td',
1850
+ null,
1851
+ n.a.createElement(
1852
+ r['Link'],
1853
+ { to: 'http://momentjs.com/' },
1854
+ 'moment',
1855
+ ),
1856
+ '[]',
1857
+ ),
1858
+ n.a.createElement('td', null, '-'),
1859
+ n.a.createElement('td', null),
1860
+ ),
1861
+ n.a.createElement(
1862
+ 'tr',
1863
+ null,
1864
+ n.a.createElement('td', null, 'defaultValue'),
1865
+ n.a.createElement('td', null, '\u9ed8\u8ba4\u65e5\u671f'),
1866
+ n.a.createElement(
1867
+ 'td',
1868
+ null,
1869
+ n.a.createElement(
1870
+ r['Link'],
1871
+ { to: 'http://momentjs.com/' },
1872
+ 'moment',
1873
+ ),
1874
+ '[]',
1875
+ ),
1876
+ n.a.createElement('td', null, '-'),
1877
+ n.a.createElement('td', null),
1878
+ ),
1879
+ n.a.createElement(
1880
+ 'tr',
1881
+ null,
1882
+ n.a.createElement('td', null, 'disabled'),
1883
+ n.a.createElement(
1884
+ 'td',
1885
+ null,
1886
+ '\u7981\u7528\u8d77\u59cb\u9879',
1887
+ ),
1888
+ n.a.createElement('td', null, '[boolean, boolean]'),
1889
+ n.a.createElement('td', null, '-'),
1890
+ n.a.createElement('td', null),
1891
+ ),
1892
+ n.a.createElement(
1893
+ 'tr',
1894
+ null,
1895
+ n.a.createElement('td', null, 'disabledTime'),
1896
+ n.a.createElement(
1897
+ 'td',
1898
+ null,
1899
+ '\u4e0d\u53ef\u9009\u62e9\u7684\u65f6\u95f4',
1900
+ ),
1901
+ n.a.createElement(
1902
+ 'td',
1903
+ null,
1904
+ 'function(date: moment, partial: ',
1905
+ n.a.createElement('code', null, 'start'),
1906
+ ' | ',
1907
+ n.a.createElement('code', null, 'end'),
1908
+ ')',
1909
+ ),
1910
+ n.a.createElement('td', null, '-'),
1911
+ n.a.createElement('td', null),
1912
+ ),
1913
+ n.a.createElement(
1914
+ 'tr',
1915
+ null,
1916
+ n.a.createElement('td', null, 'format'),
1917
+ n.a.createElement(
1918
+ 'td',
1919
+ null,
1920
+ '\u5c55\u793a\u7684\u65e5\u671f\u683c\u5f0f',
1921
+ ),
1922
+ n.a.createElement('td', null, 'string'),
1923
+ n.a.createElement(
1924
+ 'td',
1925
+ null,
1926
+ n.a.createElement('code', null, 'YYYY-MM-DD HH:mm:ss'),
1927
+ ),
1928
+ n.a.createElement('td', null),
1929
+ ),
1930
+ n.a.createElement(
1931
+ 'tr',
1932
+ null,
1933
+ n.a.createElement('td', null, 'ranges'),
1934
+ n.a.createElement(
1935
+ 'td',
1936
+ null,
1937
+ '\u9884\u8bbe\u65f6\u95f4\u8303\u56f4\u5feb\u6377\u9009\u62e9',
1938
+ ),
1939
+ n.a.createElement(
1940
+ 'td',
1941
+ null,
1942
+ '{',
1943
+ ' [range: string]: ',
1944
+ n.a.createElement(
1945
+ r['Link'],
1946
+ { to: 'http://momentjs.com/' },
1947
+ 'moment',
1948
+ ),
1949
+ '[] ',
1950
+ '}',
1951
+ ' | ',
1952
+ '{',
1953
+ ' [range: string]: () => ',
1954
+ n.a.createElement(
1955
+ r['Link'],
1956
+ { to: 'http://momentjs.com/' },
1957
+ 'moment',
1958
+ ),
1959
+ '[] ',
1960
+ '}',
1961
+ ),
1962
+ n.a.createElement('td', null, '-'),
1963
+ n.a.createElement('td', null),
1964
+ ),
1965
+ n.a.createElement(
1966
+ 'tr',
1967
+ null,
1968
+ n.a.createElement('td', null, 'renderExtraFooter'),
1969
+ n.a.createElement(
1970
+ 'td',
1971
+ null,
1972
+ '\u5728\u9762\u677f\u4e2d\u6dfb\u52a0\u989d\u5916\u7684\u9875\u811a',
1973
+ ),
1974
+ n.a.createElement('td', null, '() => React.ReactNode'),
1975
+ n.a.createElement('td', null, '-'),
1976
+ n.a.createElement('td', null),
1977
+ ),
1978
+ n.a.createElement(
1979
+ 'tr',
1980
+ null,
1981
+ n.a.createElement('td', null, 'separator'),
1982
+ n.a.createElement(
1983
+ 'td',
1984
+ null,
1985
+ '\u8bbe\u7f6e\u5206\u9694\u7b26',
1986
+ ),
1987
+ n.a.createElement('td', null, 'React.ReactNode'),
1988
+ n.a.createElement(
1989
+ 'td',
1990
+ null,
1991
+ n.a.createElement('code', null, '<SwapRightOutlined />'),
1992
+ ),
1993
+ n.a.createElement('td', null),
1994
+ ),
1995
+ n.a.createElement(
1996
+ 'tr',
1997
+ null,
1998
+ n.a.createElement('td', null, 'showTime'),
1999
+ n.a.createElement(
2000
+ 'td',
2001
+ null,
2002
+ '\u589e\u52a0\u65f6\u95f4\u9009\u62e9\u529f\u80fd',
2003
+ ),
2004
+ n.a.createElement('td', null, 'Object|boolean'),
2005
+ n.a.createElement(
2006
+ 'td',
2007
+ null,
2008
+ n.a.createElement(
2009
+ r['AnchorLink'],
2010
+ { to: '/components/time-picker/#API' },
2011
+ 'TimePicker Options',
2012
+ ),
2013
+ ),
2014
+ n.a.createElement('td', null),
2015
+ ),
2016
+ n.a.createElement(
2017
+ 'tr',
2018
+ null,
2019
+ n.a.createElement('td', null, 'showTime.defaultValue'),
2020
+ n.a.createElement(
2021
+ 'td',
2022
+ null,
2023
+ '\u8bbe\u7f6e\u7528\u6237\u9009\u62e9\u65e5\u671f\u65f6\u9ed8\u8ba4\u7684\u65f6\u5206\u79d2\uff0c',
2024
+ n.a.createElement(
2025
+ r['AnchorLink'],
2026
+ { to: '#components-date-picker-demo-disabled-date' },
2027
+ '\u4f8b\u5b50',
2028
+ ),
2029
+ ),
2030
+ n.a.createElement(
2031
+ 'td',
2032
+ null,
2033
+ n.a.createElement(
2034
+ r['Link'],
2035
+ { to: 'http://momentjs.com/' },
2036
+ 'moment',
2037
+ ),
2038
+ '[]',
2039
+ ),
2040
+ n.a.createElement('td', null, '[moment(), moment()]'),
2041
+ n.a.createElement('td', null),
2042
+ ),
2043
+ n.a.createElement(
2044
+ 'tr',
2045
+ null,
2046
+ n.a.createElement('td', null, 'value'),
2047
+ n.a.createElement('td', null, '\u65e5\u671f'),
2048
+ n.a.createElement(
2049
+ 'td',
2050
+ null,
2051
+ n.a.createElement(
2052
+ r['Link'],
2053
+ { to: 'http://momentjs.com/' },
2054
+ 'moment',
2055
+ ),
2056
+ '[]',
2057
+ ),
2058
+ n.a.createElement('td', null, '-'),
2059
+ n.a.createElement('td', null),
2060
+ ),
2061
+ n.a.createElement(
2062
+ 'tr',
2063
+ null,
2064
+ n.a.createElement('td', null, 'onCalendarChange'),
2065
+ n.a.createElement(
2066
+ 'td',
2067
+ null,
2068
+ '\u5f85\u9009\u65e5\u671f\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03\u3002',
2069
+ n.a.createElement('code', null, 'info'),
2070
+ ' \u53c2\u6570\u81ea 4.4.0 \u6dfb\u52a0',
2071
+ ),
2072
+ n.a.createElement(
2073
+ 'td',
2074
+ null,
2075
+ 'function(dates: [moment, moment], dateStrings: [string, string], info: ',
2076
+ '{',
2077
+ ' range:',
2078
+ n.a.createElement('code', null, 'start'),
2079
+ '|',
2080
+ n.a.createElement('code', null, 'end'),
2081
+ ' ',
2082
+ '}',
2083
+ ')',
2084
+ ),
2085
+ n.a.createElement('td', null, '-'),
2086
+ n.a.createElement('td', null),
2087
+ ),
2088
+ n.a.createElement(
2089
+ 'tr',
2090
+ null,
2091
+ n.a.createElement('td', null, 'onChange'),
2092
+ n.a.createElement(
2093
+ 'td',
2094
+ null,
2095
+ '\u65e5\u671f\u8303\u56f4\u53d1\u751f\u53d8\u5316\u7684\u56de\u8c03',
2096
+ ),
2097
+ n.a.createElement(
2098
+ 'td',
2099
+ null,
2100
+ 'function(dates: [moment, moment], dateStrings: [string, string])',
2101
+ ),
2102
+ n.a.createElement('td', null, '-'),
2103
+ n.a.createElement('td', null),
2104
+ ),
2105
+ ),
2106
+ ),
2107
+ n.a.createElement(
2108
+ 'h2',
2109
+ { id: 'faq' },
2110
+ n.a.createElement(
2111
+ r['AnchorLink'],
2112
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
2113
+ n.a.createElement('span', { className: 'icon icon-link' }),
2114
+ ),
2115
+ 'FAQ',
2116
+ ),
2117
+ n.a.createElement(
2118
+ 'h3',
2119
+ {
2120
+ id: '\u5f53\u6211\u6307\u5b9a\u4e86-datepickerrangepicker-\u7684-mode-\u5c5e\u6027\u540e\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd\u6708\u4efd',
2121
+ },
2122
+ n.a.createElement(
2123
+ r['AnchorLink'],
2124
+ {
2125
+ to: '#\u5f53\u6211\u6307\u5b9a\u4e86-datepickerrangepicker-\u7684-mode-\u5c5e\u6027\u540e\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd\u6708\u4efd',
2126
+ 'aria-hidden': 'true',
2127
+ tabIndex: -1,
2128
+ },
2129
+ n.a.createElement('span', { className: 'icon icon-link' }),
2130
+ ),
2131
+ '\u5f53\u6211\u6307\u5b9a\u4e86 DatePicker/RangePicker \u7684 mode \u5c5e\u6027\u540e\uff0c\u70b9\u51fb\u540e\u65e0\u6cd5\u9009\u62e9\u5e74\u4efd/\u6708\u4efd\uff1f',
2132
+ ),
2133
+ n.a.createElement(
2134
+ 'p',
2135
+ null,
2136
+ '\u8bf7\u53c2\u8003',
2137
+ n.a.createElement(
2138
+ r['AnchorLink'],
2139
+ {
2140
+ to: '/docs/react/faq#%E5%BD%93%E6%88%91%E6%8C%87%E5%AE%9A%E4%BA%86-DatePicker/RangePicker-%E7%9A%84-mode-%E5%B1%9E%E6%80%A7%E5%90%8E%EF%BC%8C%E7%82%B9%E5%87%BB%E5%90%8E%E6%97%A0%E6%B3%95%E9%80%89%E6%8B%A9%E5%B9%B4%E4%BB%BD/%E6%9C%88%E4%BB%BD%EF%BC%9F',
2141
+ },
2142
+ '\u5e38\u89c1\u95ee\u7b54',
2143
+ ),
2144
+ ),
2145
+ n.a.createElement(
2146
+ 'h3',
2147
+ {
2148
+ id: '\u5982\u4f55\u5728-datepicker-\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\u5982-dayjs-',
2149
+ },
2150
+ n.a.createElement(
2151
+ r['AnchorLink'],
2152
+ {
2153
+ to: '#\u5982\u4f55\u5728-datepicker-\u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\u5982-dayjs-',
2154
+ 'aria-hidden': 'true',
2155
+ tabIndex: -1,
2156
+ },
2157
+ n.a.createElement('span', { className: 'icon icon-link' }),
2158
+ ),
2159
+ '\u5982\u4f55\u5728 DatePicker \u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\uff08\u5982 dayjs \uff09\uff1f',
2160
+ ),
2161
+ n.a.createElement(
2162
+ 'p',
2163
+ null,
2164
+ '\u8bf7\u53c2\u8003',
2165
+ n.a.createElement(
2166
+ r['AnchorLink'],
2167
+ { to: '/docs/react/replace-moment#DatePicker' },
2168
+ '\u300a\u66ff\u6362 Moment.js\u300b',
2169
+ ),
2170
+ ),
2171
+ n.a.createElement(
2172
+ 'h3',
2173
+ {
2174
+ id: '\u4e3a\u4f55\u5168\u5c40\u4fee\u6539-momentlocale-\u4e0d\u751f\u6548',
2175
+ },
2176
+ n.a.createElement(
2177
+ r['AnchorLink'],
2178
+ {
2179
+ to: '#\u4e3a\u4f55\u5168\u5c40\u4fee\u6539-momentlocale-\u4e0d\u751f\u6548',
2180
+ 'aria-hidden': 'true',
2181
+ tabIndex: -1,
2182
+ },
2183
+ n.a.createElement('span', { className: 'icon icon-link' }),
2184
+ ),
2185
+ '\u4e3a\u4f55\u5168\u5c40\u4fee\u6539 moment.locale \u4e0d\u751f\u6548\uff1f',
2186
+ ),
2187
+ n.a.createElement(
2188
+ 'p',
2189
+ null,
2190
+ 'v4 \u4e2d\uff0cDatePicker \u9ed8\u8ba4 ',
2191
+ n.a.createElement('code', null, 'locale'),
2192
+ ' \u4e3a ',
2193
+ n.a.createElement('code', null, 'en'),
2194
+ '\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 DatePicker \u7684 ',
2195
+ n.a.createElement('code', null, 'locale'),
2196
+ ' \u5c5e\u6027\u6765\u5355\u72ec\u8bbe\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 ',
2197
+ n.a.createElement(
2198
+ r['Link'],
2199
+ { to: '/components/config-provider' },
2200
+ 'ConfigProvider ',
2201
+ n.a.createElement('code', null, 'locale'),
2202
+ ),
2203
+ ' \u5c5e\u6027\u6765\u914d\u7f6e\u3002',
2204
+ ),
2205
+ n.a.createElement(
2206
+ 'h3',
2207
+ {
2208
+ id: '\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5',
2209
+ },
2210
+ n.a.createElement(
2211
+ r['AnchorLink'],
2212
+ {
2213
+ to: '#\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5',
2214
+ 'aria-hidden': 'true',
2215
+ tabIndex: -1,
2216
+ },
2217
+ n.a.createElement('span', { className: 'icon icon-link' }),
2218
+ ),
2219
+ '\u5982\u4f55\u4fee\u6539\u5468\u7684\u8d77\u59cb\u65e5\uff1f',
2220
+ ),
2221
+ n.a.createElement(
2222
+ 'p',
2223
+ null,
2224
+ '\u8bf7\u4f7f\u7528\u6b63\u786e\u7684',
2225
+ n.a.createElement(
2226
+ r['Link'],
2227
+ { to: '/docs/react/i18n' },
2228
+ '\u8bed\u8a00\u5305',
2229
+ ),
2230
+ '\uff08',
2231
+ n.a.createElement(
2232
+ r['Link'],
2233
+ {
2234
+ to: 'https://github.com/ant-design/ant-design/issues/5605',
2235
+ },
2236
+ '#5605',
2237
+ ),
2238
+ '\uff09\uff0c\u6216\u8005\u4fee\u6539 moment \u7684 ',
2239
+ n.a.createElement('code', null, 'locale'),
2240
+ ' \u914d\u7f6e\uff1a',
2241
+ n.a.createElement(
2242
+ r['Link'],
2243
+ { to: 'https://codesandbox.io/s/moment-day-of-week-6dby5' },
2244
+ 'https://codesandbox.io/s/moment-day-of-week-6dby5',
2245
+ ),
2246
+ ),
2247
+ n.a.createElement(
2248
+ 'h3',
2249
+ {
2250
+ id: '\u4e3a\u4f55\u4f7f\u7528-panelrender-\u65f6\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362',
2251
+ },
2252
+ n.a.createElement(
2253
+ r['AnchorLink'],
2254
+ {
2255
+ to: '#\u4e3a\u4f55\u4f7f\u7528-panelrender-\u65f6\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362',
2256
+ 'aria-hidden': 'true',
2257
+ tabIndex: -1,
2258
+ },
2259
+ n.a.createElement('span', { className: 'icon icon-link' }),
2260
+ ),
2261
+ '\u4e3a\u4f55\u4f7f\u7528 ',
2262
+ n.a.createElement('code', null, 'panelRender'),
2263
+ ' \u65f6\uff0c\u539f\u6765\u9762\u677f\u65e0\u6cd5\u5207\u6362\uff1f',
2264
+ ),
2265
+ n.a.createElement(
2266
+ 'p',
2267
+ null,
2268
+ '\u5f53\u4f60\u901a\u8fc7 ',
2269
+ n.a.createElement('code', null, 'panelRender'),
2270
+ ' \u52a8\u6001\u6539\u53d8\u5c42\u7ea7\u7ed3\u6784\u65f6\uff0c\u4f1a\u4f7f\u5f97\u539f\u672c\u7684 Panel \u88ab\u5f53\u505a\u65b0\u7684\u8282\u70b9\u5220\u9664\u5e76\u521b\u5efa\u3002\u8fd9\u4f7f\u5f97\u5176\u539f\u672c\u7684\u72b6\u6001\u4f1a\u88ab\u91cd\u7f6e\uff0c\u4fdd\u6301\u7ed3\u6784\u7a33\u5b9a\u5373\u53ef\u3002\u8be6\u60c5\u8bf7\u53c2\u8003 ',
2271
+ n.a.createElement(
2272
+ r['Link'],
2273
+ {
2274
+ to: 'https://github.com/ant-design/ant-design/issues/27263',
2275
+ },
2276
+ '#27263',
2277
+ ),
2278
+ '\u3002',
2279
+ ),
2280
+ n.a.createElement(m['a'], {
2281
+ code: "moment.locale('en', {\n // \u6ce8\u610f\u8bf7\u4fee\u6539\u4f60\u6b63\u5728\u4f7f\u7528\u7684 locale \u8bed\u8a00\uff0c\u6bd4\u5982 zh-cn\n week: {\n dow: 1,\n },\n});",
2282
+ lang: 'bash',
2283
+ }),
2284
+ ),
2285
+ ),
2286
+ )
2287
+ );
2288
+ },
2289
+ MZF8: function (e, t, l) {
2290
+ 'use strict';
2291
+ var a = l('ogwx');
2292
+ l.d(t, 'a', function () {
2293
+ return a['b'];
2294
+ });
2295
+ l('VCU9');
2296
+ },
2297
+ RZMt: function (e, t, l) {},
2298
+ Zxc8: function (e, t, l) {
2299
+ 'use strict';
2300
+ l.r(t);
2301
+ var a = l('q1tI'),
2302
+ n = l.n(a),
2303
+ r = l('k3GJ'),
2304
+ c = l('MZF8'),
2305
+ m = l('dEAq'),
2306
+ d = l('H1Ra');
2307
+ l('RZMt');
2308
+ function u(e, t) {
2309
+ return p(e) || s(e, t) || E(e, t) || o();
2310
+ }
2311
+ function o() {
2312
+ throw new TypeError(
2313
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
2314
+ );
2315
+ }
2316
+ function E(e, t) {
2317
+ if (e) {
2318
+ if ('string' === typeof e) return i(e, t);
2319
+ var l = Object.prototype.toString.call(e).slice(8, -1);
2320
+ return (
2321
+ 'Object' === l && e.constructor && (l = e.constructor.name),
2322
+ 'Map' === l || 'Set' === l
2323
+ ? Array.from(e)
2324
+ : 'Arguments' === l ||
2325
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
2326
+ ? i(e, t)
2327
+ : void 0
2328
+ );
2329
+ }
2330
+ }
2331
+ function i(e, t) {
2332
+ (null == t || t > e.length) && (t = e.length);
2333
+ for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
2334
+ return a;
2335
+ }
2336
+ function s(e, t) {
2337
+ var l =
2338
+ null == e
2339
+ ? null
2340
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
2341
+ e['@@iterator'];
2342
+ if (null != l) {
2343
+ var a,
2344
+ n,
2345
+ r = [],
2346
+ c = !0,
2347
+ m = !1;
2348
+ try {
2349
+ for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
2350
+ if ((r.push(a.value), t && r.length === t)) break;
2351
+ } catch (d) {
2352
+ (m = !0), (n = d);
2353
+ } finally {
2354
+ try {
2355
+ c || null == l['return'] || l['return']();
2356
+ } finally {
2357
+ if (m) throw n;
2358
+ }
2359
+ }
2360
+ return r;
2361
+ }
2362
+ }
2363
+ function p(e) {
2364
+ if (Array.isArray(e)) return e;
2365
+ }
2366
+ function h(e, t) {
2367
+ var l,
2368
+ a =
2369
+ null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
2370
+ return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
2371
+ }
2372
+ var k = function (e) {
2373
+ var t,
2374
+ l,
2375
+ o,
2376
+ E = Object(a['useRef'])(),
2377
+ i = Object(a['useContext'])(m['context']),
2378
+ s = i.locale,
2379
+ p = Object(m['useLocaleProps'])(s, e),
2380
+ k = Object(m['useDemoUrl'])(p.identifier),
2381
+ f = p.demoUrl || k,
2382
+ b =
2383
+ (null === c['a'] || void 0 === c['a']
2384
+ ? void 0
2385
+ : c['a'].location.hash) === '#'.concat(p.identifier),
2386
+ g = 1 === Object.keys(p.sources).length,
2387
+ v = Object(m['useCodeSandbox'])(
2388
+ (
2389
+ null === (t = p.hideActions) || void 0 === t
2390
+ ? void 0
2391
+ : t.includes('CSB')
2392
+ )
2393
+ ? null
2394
+ : p,
2395
+ ),
2396
+ N = Object(m['useRiddle'])(
2397
+ (
2398
+ null === (l = p.hideActions) || void 0 === l
2399
+ ? void 0
2400
+ : l.includes('RIDDLE')
2401
+ )
2402
+ ? null
2403
+ : p,
2404
+ ),
2405
+ L = Object(m['useMotions'])(p.motions || [], E.current),
2406
+ w = u(L, 2),
2407
+ A = w[0],
2408
+ P = w[1],
2409
+ x = Object(m['useCopy'])(),
2410
+ y = u(x, 2),
2411
+ j = y[0],
2412
+ C = y[1],
2413
+ I = Object(a['useState'])('_'),
2414
+ R = u(I, 2),
2415
+ _ = R[0],
2416
+ D = R[1],
2417
+ B = Object(a['useState'])(h(_, p.sources[_])),
2418
+ S = u(B, 2),
2419
+ O = S[0],
2420
+ Y = S[1],
2421
+ M = Object(a['useState'])(Boolean(p.defaultShowCode)),
2422
+ F = u(M, 2),
2423
+ T = F[0],
2424
+ V = F[1],
2425
+ q = Object(a['useState'])(Math.random()),
2426
+ z = u(q, 2),
2427
+ U = z[0],
2428
+ Z = z[1],
2429
+ H = p.sources[_][O] || p.sources[_].content,
2430
+ J = Object(m['useTSPlaygroundUrl'])(s, H),
2431
+ $ = Object(a['useRef'])(),
2432
+ Q = Object(m['usePrefersColor'])(),
2433
+ G = u(Q, 1),
2434
+ X = G[0];
2435
+ function K(e) {
2436
+ D(e), Y(h(e, p.sources[e]));
2437
+ }
2438
+ return (
2439
+ Object(a['useEffect'])(
2440
+ function () {
2441
+ Z(Math.random());
2442
+ },
2443
+ [X],
2444
+ ),
2445
+ n.a.createElement(
2446
+ 'div',
2447
+ {
2448
+ style: p.style,
2449
+ className: [
2450
+ p.className,
2451
+ '__dumi-default-previewer',
2452
+ b ? '__dumi-default-previewer-target' : '',
2453
+ ]
2454
+ .filter(Boolean)
2455
+ .join(' '),
2456
+ id: p.identifier,
2457
+ 'data-debug': p.debug || void 0,
2458
+ 'data-iframe': p.iframe || void 0,
2459
+ },
2460
+ p.iframe &&
2461
+ n.a.createElement('div', {
2462
+ className: '__dumi-default-previewer-browser-nav',
2463
+ }),
2464
+ n.a.createElement(
2465
+ 'div',
2466
+ {
2467
+ ref: E,
2468
+ className: '__dumi-default-previewer-demo',
2469
+ style: {
2470
+ transform: p.transform ? 'translate(0, 0)' : void 0,
2471
+ padding:
2472
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
2473
+ background: p.background,
2474
+ },
2475
+ },
2476
+ p.iframe
2477
+ ? n.a.createElement('iframe', {
2478
+ title: 'dumi-previewer',
2479
+ style: {
2480
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
2481
+ },
2482
+ key: U,
2483
+ src: f,
2484
+ ref: $,
2485
+ })
2486
+ : p.children,
2487
+ ),
2488
+ n.a.createElement(
2489
+ 'div',
2490
+ {
2491
+ className: '__dumi-default-previewer-desc',
2492
+ 'data-title': p.title,
2493
+ },
2494
+ p.title &&
2495
+ n.a.createElement(
2496
+ m['AnchorLink'],
2497
+ { to: '#'.concat(p.identifier) },
2498
+ p.title,
2499
+ ),
2500
+ p.description &&
2501
+ n.a.createElement('div', {
2502
+ dangerouslySetInnerHTML: { __html: p.description },
2503
+ }),
2504
+ ),
2505
+ n.a.createElement(
2506
+ 'div',
2507
+ { className: '__dumi-default-previewer-actions' },
2508
+ v &&
2509
+ n.a.createElement('button', {
2510
+ title: 'Open demo on CodeSandbox.io',
2511
+ className: '__dumi-default-icon',
2512
+ role: 'codesandbox',
2513
+ onClick: v,
2514
+ }),
2515
+ N &&
2516
+ n.a.createElement('button', {
2517
+ title: 'Open demo on Riddle',
2518
+ className: '__dumi-default-icon',
2519
+ role: 'riddle',
2520
+ onClick: N,
2521
+ }),
2522
+ p.motions &&
2523
+ n.a.createElement('button', {
2524
+ title: 'Execute motions',
2525
+ className: '__dumi-default-icon',
2526
+ role: 'motions',
2527
+ disabled: P,
2528
+ onClick: function () {
2529
+ return A();
2530
+ },
2531
+ }),
2532
+ p.iframe &&
2533
+ n.a.createElement('button', {
2534
+ title: 'Reload demo iframe page',
2535
+ className: '__dumi-default-icon',
2536
+ role: 'refresh',
2537
+ onClick: function () {
2538
+ return Z(Math.random());
2539
+ },
2540
+ }),
2541
+ !(null === (o = p.hideActions) || void 0 === o
2542
+ ? void 0
2543
+ : o.includes('EXTERNAL')) &&
2544
+ n.a.createElement(
2545
+ m['Link'],
2546
+ { target: '_blank', to: f },
2547
+ n.a.createElement('button', {
2548
+ title: 'Open demo in new tab',
2549
+ className: '__dumi-default-icon',
2550
+ role: 'open-demo',
2551
+ type: 'button',
2552
+ }),
2553
+ ),
2554
+ n.a.createElement('span', null),
2555
+ n.a.createElement('button', {
2556
+ title: 'Copy source code',
2557
+ className: '__dumi-default-icon',
2558
+ role: 'copy',
2559
+ 'data-status': C,
2560
+ onClick: function () {
2561
+ return j(H);
2562
+ },
2563
+ }),
2564
+ 'tsx' === O &&
2565
+ T &&
2566
+ n.a.createElement(
2567
+ m['Link'],
2568
+ { target: '_blank', to: J },
2569
+ n.a.createElement('button', {
2570
+ title: 'Get JSX via TypeScript Playground',
2571
+ className: '__dumi-default-icon',
2572
+ role: 'change-tsx',
2573
+ type: 'button',
2574
+ }),
2575
+ ),
2576
+ n.a.createElement('button', {
2577
+ title: 'Toggle source code panel',
2578
+ className: '__dumi-default-icon'.concat(
2579
+ T ? ' __dumi-default-btn-expand' : '',
2580
+ ),
2581
+ role: 'source',
2582
+ type: 'button',
2583
+ onClick: function () {
2584
+ return V(!T);
2585
+ },
2586
+ }),
2587
+ ),
2588
+ T &&
2589
+ n.a.createElement(
2590
+ 'div',
2591
+ { className: '__dumi-default-previewer-source-wrapper' },
2592
+ !g &&
2593
+ n.a.createElement(
2594
+ r['b'],
2595
+ {
2596
+ className: '__dumi-default-previewer-source-tab',
2597
+ prefixCls: '__dumi-default-tabs',
2598
+ moreIcon: '\xb7\xb7\xb7',
2599
+ defaultActiveKey: _,
2600
+ onChange: K,
2601
+ },
2602
+ Object.keys(p.sources).map(function (e) {
2603
+ return n.a.createElement(r['a'], {
2604
+ tab:
2605
+ '_' === e ? 'index.'.concat(h(e, p.sources[e])) : e,
2606
+ key: e,
2607
+ });
2608
+ }),
2609
+ ),
2610
+ n.a.createElement(
2611
+ 'div',
2612
+ { className: '__dumi-default-previewer-source' },
2613
+ n.a.createElement(d['a'], { code: H, lang: O, showCopy: !1 }),
2614
+ ),
2615
+ ),
2616
+ )
2617
+ );
2618
+ };
2619
+ t['default'] = k;
2620
+ },
2621
+ },
2622
+ ]);