@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,799 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[63],{JOU1:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),i=a("H1Ra"),m=a("JjdP"),o=l.a.memo(m["default"]["timeline-basic"].component),d=l.a.memo(m["default"]["timeline-color"].component),u=l.a.memo(m["default"]["timeline-pending"].component),s=l.a.memo(m["default"]["timeline-alternate"].component),E=l.a.memo(m["default"]["timeline-custom"].component),f=l.a.memo(m["default"]["timeline-right"].component),p=l.a.memo(m["default"]["timeline-label"].component);t["default"]=e=>(l.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"timeline-\u65f6\u95f4\u8f74"},l.a.createElement(r["AnchorLink"],{to:"#timeline-\u65f6\u95f4\u8f74","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Timeline \u65f6\u95f4\u8f74"),l.a.createElement("p",null,"\u5782\u76f4\u5c55\u793a\u7684\u65f6\u95f4\u6d41\u4fe1\u606f\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u5f53\u6709\u4e00\u7cfb\u5217\u4fe1\u606f\u9700\u6309\u65f6\u95f4\u6392\u5217\u65f6\uff0c\u53ef\u6b63\u5e8f\u548c\u5012\u5e8f\u3002"),l.a.createElement("li",null,"\u9700\u8981\u6709\u4e00\u6761\u65f6\u95f4\u8f74\u8fdb\u884c\u89c6\u89c9\u4e0a\u7684\u4e32\u8054\u65f6\u3002")),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u57fa\u672c\u7528\u6cd5"},l.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c\u7528\u6cd5","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c\u7528\u6cd5")),l.a.createElement(c["default"],m["default"]["timeline-basic"].previewerProps,l.a.createElement(o,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5706\u5708\u989c\u8272"},l.a.createElement(r["AnchorLink"],{to:"#\u5706\u5708\u989c\u8272","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5706\u5708\u989c\u8272")),l.a.createElement(c["default"],m["default"]["timeline-color"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f"},l.a.createElement(r["AnchorLink"],{to:"#\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f")),l.a.createElement(c["default"],m["default"]["timeline-pending"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4ea4\u66ff\u5c55\u73b0"},l.a.createElement(r["AnchorLink"],{to:"#\u4ea4\u66ff\u5c55\u73b0","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ea4\u66ff\u5c55\u73b0")),l.a.createElement(c["default"],m["default"]["timeline-alternate"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9"},l.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9")),l.a.createElement(c["default"],m["default"]["timeline-custom"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9"},l.a.createElement(r["AnchorLink"],{to:"#\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9")),l.a.createElement(c["default"],m["default"]["timeline-right"].previewerProps,l.a.createElement(f,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6807\u7b7e"},l.a.createElement(r["AnchorLink"],{to:"#\u6807\u7b7e","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6807\u7b7e")),l.a.createElement(c["default"],m["default"]["timeline-label"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement(i["a"],{code:"<Timeline>\n <Timeline.Item>\u521b\u5efa\u670d\u52a1\u73b0\u573a 2015-09-01</Timeline.Item>\n <Timeline.Item>\u521d\u6b65\u6392\u9664\u7f51\u7edc\u5f02\u5e38 2015-09-01</Timeline.Item>\n <Timeline.Item>\u6280\u672f\u6d4b\u8bd5\u5f02\u5e38 2015-09-01</Timeline.Item>\n <Timeline.Item>\u7f51\u7edc\u5f02\u5e38\u6b63\u5728\u4fee\u590d 2015-09-01</Timeline.Item>\n</Timeline>",lang:"bash"}),l.a.createElement("h3",{id:"timeline"},l.a.createElement(r["AnchorLink"],{to:"#timeline","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Timeline"),l.a.createElement("p",null,"\u65f6\u95f4\u8f74\u3002"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"mode"),l.a.createElement("td",null,"\u901a\u8fc7\u8bbe\u7f6e ",l.a.createElement("code",null,"mode")," \u53ef\u4ee5\u6539\u53d8\u65f6\u95f4\u8f74\u548c\u5185\u5bb9\u7684\u76f8\u5bf9\u4f4d\u7f6e"),l.a.createElement("td",null,l.a.createElement("code",null,"left")," | ",l.a.createElement("code",null,"alternate")," | ",l.a.createElement("code",null,"right")),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"pending"),l.a.createElement("td",null,"\u6307\u5b9a\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u662f\u5426\u5b58\u5728\u6216\u5185\u5bb9"),l.a.createElement("td",null,"boolean | ReactNode"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"pendingDot"),l.a.createElement("td",null,"\u5f53\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u5b58\u5728\u6642\uff0c\u6307\u5b9a\u5176\u65f6\u95f4\u56fe\u70b9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"<LoadingOutlined />")),l.a.createElement("tr",null,l.a.createElement("td",null,"reverse"),l.a.createElement("td",null,"\u8282\u70b9\u6392\u5e8f"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")))),l.a.createElement("h3",{id:"timelineitem"},l.a.createElement(r["AnchorLink"],{to:"#timelineitem","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Timeline.Item"),l.a.createElement("p",null,"\u65f6\u95f4\u8f74\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\u3002"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"color"),l.a.createElement("td",null,"\u6307\u5b9a\u5706\u5708\u989c\u8272 ",l.a.createElement("code",null,"blue"),", ",l.a.createElement("code",null,"red"),", ",l.a.createElement("code",null,"green"),", ",l.a.createElement("code",null,"gray"),"\uff0c\u6216\u81ea\u5b9a\u4e49\u7684\u8272\u503c"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,l.a.createElement("code",null,"blue"))),l.a.createElement("tr",null,l.a.createElement("td",null,"dot"),l.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"label"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6807\u7b7e"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"position"),l.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u8282\u70b9\u4f4d\u7f6e"),l.a.createElement("td",null,l.a.createElement("code",null,"left")," | ",l.a.createElement("code",null,"right")),l.a.createElement("td",null,"-")))),l.a.createElement("style",{dangerouslySetInnerHTML:{__html:"\n .timeline-clock-icon {\n font-size: 16px;\n}\n\n[data-theme='compact'] .timeline-clock-icon {\n font-size: 14px;\n}\n"}})))))},MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("k3GJ"),c=a("MZF8"),i=a("dEAq"),m=a("H1Ra");a("RZMt");function o(e,t){return f(e)||E(e,t)||u(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"===typeof e)return s(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,i=!1;try{for(a=a.call(e);!(c=(n=a.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(m){i=!0,l=m}finally{try{c||null==a["return"]||a["return"]()}finally{if(i)throw l}}return r}}function f(e){if(Array.isArray(e))return e}function p(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var h=function(e){var t,a,d,u=Object(n["useRef"])(),s=Object(n["useContext"])(i["context"]),E=s.locale,f=Object(i["useLocaleProps"])(E,e),h=Object(i["useDemoUrl"])(f.identifier),b=f.demoUrl||h,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(f.identifier),k=1===Object.keys(f.sources).length,_=Object(i["useCodeSandbox"])((null===(t=f.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:f),g=Object(i["useRiddle"])((null===(a=f.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:f),N=Object(i["useMotions"])(f.motions||[],u.current),w=o(N,2),y=w[0],x=w[1],I=Object(i["useCopy"])(),A=o(I,2),O=A[0],j=A[1],L=Object(n["useState"])("_"),T=o(L,2),C=T[0],S=T[1],R=Object(n["useState"])(p(C,f.sources[C])),P=o(R,2),M=P[0],U=P[1],J=Object(n["useState"])(Boolean(f.defaultShowCode)),Z=o(J,2),q=Z[0],D=Z[1],F=Object(n["useState"])(Math.random()),H=o(F,2),$=H[0],B=H[1],z=f.sources[C][M]||f.sources[C].content,G=Object(i["useTSPlaygroundUrl"])(E,z),X=Object(n["useRef"])(),K=Object(i["usePrefersColor"])(),V=o(K,1),Q=V[0];function W(e){S(e),U(p(e,f.sources[e]))}return Object(n["useEffect"])((function(){B(Math.random())}),[Q]),l.a.createElement("div",{style:f.style,className:[f.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:f.identifier,"data-debug":f.debug||void 0,"data-iframe":f.iframe||void 0},f.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:u,className:"__dumi-default-previewer-demo",style:{transform:f.transform?"translate(0, 0)":void 0,padding:f.compact||f.iframe&&!1!==f.compact?"0":void 0,background:f.background}},f.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(f.iframe).replace(/(\d)$/,"$1px")},key:$,src:b,ref:X}):f.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":f.title},f.title&&l.a.createElement(i["AnchorLink"],{to:"#".concat(f.identifier)},f.title),f.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:f.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},_&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:_}),g&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:g}),f.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return y()}}),f.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return B(Math.random())}}),!(null===(d=f.hideActions)||void 0===d?void 0:d.includes("EXTERNAL"))&&l.a.createElement(i["Link"],{target:"_blank",to:b},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":j,onClick:function(){return O(z)}}),"tsx"===M&&q&&l.a.createElement(i["Link"],{target:"_blank",to:G},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(q?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return D(!q)}})),q&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:C,onChange:W},Object.keys(f.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,f.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(m["a"],{code:z,lang:M,showCopy:!1}))))};t["default"]=h}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [63],
3
+ {
4
+ JOU1: function (e, t, a) {
5
+ 'use strict';
6
+ a.r(t);
7
+ var n = a('q1tI'),
8
+ l = a.n(n),
9
+ r = a('dEAq'),
10
+ c = a('Zxc8'),
11
+ i = a('H1Ra'),
12
+ m = a('JjdP'),
13
+ o = l.a.memo(m['default']['timeline-basic'].component),
14
+ d = l.a.memo(m['default']['timeline-color'].component),
15
+ u = l.a.memo(m['default']['timeline-pending'].component),
16
+ s = l.a.memo(m['default']['timeline-alternate'].component),
17
+ E = l.a.memo(m['default']['timeline-custom'].component),
18
+ f = l.a.memo(m['default']['timeline-right'].component),
19
+ p = l.a.memo(m['default']['timeline-label'].component);
20
+ t['default'] = (e) => (
21
+ l.a.useEffect(() => {
22
+ var t;
23
+ null !== e &&
24
+ void 0 !== e &&
25
+ null !== (t = e.location) &&
26
+ void 0 !== t &&
27
+ t.hash &&
28
+ r['AnchorLink'].scrollToAnchor(
29
+ decodeURIComponent(e.location.hash.slice(1)),
30
+ );
31
+ }, []),
32
+ l.a.createElement(
33
+ l.a.Fragment,
34
+ null,
35
+ l.a.createElement(
36
+ l.a.Fragment,
37
+ null,
38
+ l.a.createElement(
39
+ 'div',
40
+ { className: 'markdown' },
41
+ l.a.createElement(
42
+ 'h1',
43
+ { id: 'timeline-\u65f6\u95f4\u8f74' },
44
+ l.a.createElement(
45
+ r['AnchorLink'],
46
+ {
47
+ to: '#timeline-\u65f6\u95f4\u8f74',
48
+ 'aria-hidden': 'true',
49
+ tabIndex: -1,
50
+ },
51
+ l.a.createElement('span', { className: 'icon icon-link' }),
52
+ ),
53
+ 'Timeline \u65f6\u95f4\u8f74',
54
+ ),
55
+ l.a.createElement(
56
+ 'p',
57
+ null,
58
+ '\u5782\u76f4\u5c55\u793a\u7684\u65f6\u95f4\u6d41\u4fe1\u606f\u3002',
59
+ ),
60
+ l.a.createElement(
61
+ 'h2',
62
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
63
+ l.a.createElement(
64
+ r['AnchorLink'],
65
+ {
66
+ to: '#\u4f55\u65f6\u4f7f\u7528',
67
+ 'aria-hidden': 'true',
68
+ tabIndex: -1,
69
+ },
70
+ l.a.createElement('span', { className: 'icon icon-link' }),
71
+ ),
72
+ '\u4f55\u65f6\u4f7f\u7528',
73
+ ),
74
+ l.a.createElement(
75
+ 'ul',
76
+ null,
77
+ l.a.createElement(
78
+ 'li',
79
+ null,
80
+ '\u5f53\u6709\u4e00\u7cfb\u5217\u4fe1\u606f\u9700\u6309\u65f6\u95f4\u6392\u5217\u65f6\uff0c\u53ef\u6b63\u5e8f\u548c\u5012\u5e8f\u3002',
81
+ ),
82
+ l.a.createElement(
83
+ 'li',
84
+ null,
85
+ '\u9700\u8981\u6709\u4e00\u6761\u65f6\u95f4\u8f74\u8fdb\u884c\u89c6\u89c9\u4e0a\u7684\u4e32\u8054\u65f6\u3002',
86
+ ),
87
+ ),
88
+ l.a.createElement(
89
+ 'h2',
90
+ { id: '\u4ee3\u7801\u6f14\u793a' },
91
+ l.a.createElement(
92
+ r['AnchorLink'],
93
+ {
94
+ to: '#\u4ee3\u7801\u6f14\u793a',
95
+ 'aria-hidden': 'true',
96
+ tabIndex: -1,
97
+ },
98
+ l.a.createElement('span', { className: 'icon icon-link' }),
99
+ ),
100
+ '\u4ee3\u7801\u6f14\u793a',
101
+ ),
102
+ l.a.createElement(
103
+ 'h3',
104
+ { id: '\u57fa\u672c\u7528\u6cd5' },
105
+ l.a.createElement(
106
+ r['AnchorLink'],
107
+ {
108
+ to: '#\u57fa\u672c\u7528\u6cd5',
109
+ 'aria-hidden': 'true',
110
+ tabIndex: -1,
111
+ },
112
+ l.a.createElement('span', { className: 'icon icon-link' }),
113
+ ),
114
+ '\u57fa\u672c\u7528\u6cd5',
115
+ ),
116
+ ),
117
+ l.a.createElement(
118
+ c['default'],
119
+ m['default']['timeline-basic'].previewerProps,
120
+ l.a.createElement(o, null),
121
+ ),
122
+ l.a.createElement(
123
+ 'div',
124
+ { className: 'markdown' },
125
+ l.a.createElement(
126
+ 'h3',
127
+ { id: '\u5706\u5708\u989c\u8272' },
128
+ l.a.createElement(
129
+ r['AnchorLink'],
130
+ {
131
+ to: '#\u5706\u5708\u989c\u8272',
132
+ 'aria-hidden': 'true',
133
+ tabIndex: -1,
134
+ },
135
+ l.a.createElement('span', { className: 'icon icon-link' }),
136
+ ),
137
+ '\u5706\u5708\u989c\u8272',
138
+ ),
139
+ ),
140
+ l.a.createElement(
141
+ c['default'],
142
+ m['default']['timeline-color'].previewerProps,
143
+ l.a.createElement(d, null),
144
+ ),
145
+ l.a.createElement(
146
+ 'div',
147
+ { className: 'markdown' },
148
+ l.a.createElement(
149
+ 'h3',
150
+ { id: '\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f' },
151
+ l.a.createElement(
152
+ r['AnchorLink'],
153
+ {
154
+ to: '#\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f',
155
+ 'aria-hidden': 'true',
156
+ tabIndex: -1,
157
+ },
158
+ l.a.createElement('span', { className: 'icon icon-link' }),
159
+ ),
160
+ '\u6700\u540e\u4e00\u4e2a\u53ca\u6392\u5e8f',
161
+ ),
162
+ ),
163
+ l.a.createElement(
164
+ c['default'],
165
+ m['default']['timeline-pending'].previewerProps,
166
+ l.a.createElement(u, null),
167
+ ),
168
+ l.a.createElement(
169
+ 'div',
170
+ { className: 'markdown' },
171
+ l.a.createElement(
172
+ 'h3',
173
+ { id: '\u4ea4\u66ff\u5c55\u73b0' },
174
+ l.a.createElement(
175
+ r['AnchorLink'],
176
+ {
177
+ to: '#\u4ea4\u66ff\u5c55\u73b0',
178
+ 'aria-hidden': 'true',
179
+ tabIndex: -1,
180
+ },
181
+ l.a.createElement('span', { className: 'icon icon-link' }),
182
+ ),
183
+ '\u4ea4\u66ff\u5c55\u73b0',
184
+ ),
185
+ ),
186
+ l.a.createElement(
187
+ c['default'],
188
+ m['default']['timeline-alternate'].previewerProps,
189
+ l.a.createElement(s, null),
190
+ ),
191
+ l.a.createElement(
192
+ 'div',
193
+ { className: 'markdown' },
194
+ l.a.createElement(
195
+ 'h3',
196
+ { id: '\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9' },
197
+ l.a.createElement(
198
+ r['AnchorLink'],
199
+ {
200
+ to: '#\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9',
201
+ 'aria-hidden': 'true',
202
+ tabIndex: -1,
203
+ },
204
+ l.a.createElement('span', { className: 'icon icon-link' }),
205
+ ),
206
+ '\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9',
207
+ ),
208
+ ),
209
+ l.a.createElement(
210
+ c['default'],
211
+ m['default']['timeline-custom'].previewerProps,
212
+ l.a.createElement(E, null),
213
+ ),
214
+ l.a.createElement(
215
+ 'div',
216
+ { className: 'markdown' },
217
+ l.a.createElement(
218
+ 'h3',
219
+ { id: '\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9' },
220
+ l.a.createElement(
221
+ r['AnchorLink'],
222
+ {
223
+ to: '#\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9',
224
+ 'aria-hidden': 'true',
225
+ tabIndex: -1,
226
+ },
227
+ l.a.createElement('span', { className: 'icon icon-link' }),
228
+ ),
229
+ '\u53f3\u4fa7\u65f6\u95f4\u8f74\u70b9',
230
+ ),
231
+ ),
232
+ l.a.createElement(
233
+ c['default'],
234
+ m['default']['timeline-right'].previewerProps,
235
+ l.a.createElement(f, null),
236
+ ),
237
+ l.a.createElement(
238
+ 'div',
239
+ { className: 'markdown' },
240
+ l.a.createElement(
241
+ 'h3',
242
+ { id: '\u6807\u7b7e' },
243
+ l.a.createElement(
244
+ r['AnchorLink'],
245
+ { to: '#\u6807\u7b7e', 'aria-hidden': 'true', tabIndex: -1 },
246
+ l.a.createElement('span', { className: 'icon icon-link' }),
247
+ ),
248
+ '\u6807\u7b7e',
249
+ ),
250
+ ),
251
+ l.a.createElement(
252
+ c['default'],
253
+ m['default']['timeline-label'].previewerProps,
254
+ l.a.createElement(p, null),
255
+ ),
256
+ l.a.createElement(
257
+ 'div',
258
+ { className: 'markdown' },
259
+ l.a.createElement(
260
+ 'h2',
261
+ { id: 'api' },
262
+ l.a.createElement(
263
+ r['AnchorLink'],
264
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
265
+ l.a.createElement('span', { className: 'icon icon-link' }),
266
+ ),
267
+ 'API',
268
+ ),
269
+ l.a.createElement(i['a'], {
270
+ code: '<Timeline>\n <Timeline.Item>\u521b\u5efa\u670d\u52a1\u73b0\u573a 2015-09-01</Timeline.Item>\n <Timeline.Item>\u521d\u6b65\u6392\u9664\u7f51\u7edc\u5f02\u5e38 2015-09-01</Timeline.Item>\n <Timeline.Item>\u6280\u672f\u6d4b\u8bd5\u5f02\u5e38 2015-09-01</Timeline.Item>\n <Timeline.Item>\u7f51\u7edc\u5f02\u5e38\u6b63\u5728\u4fee\u590d 2015-09-01</Timeline.Item>\n</Timeline>',
271
+ lang: 'bash',
272
+ }),
273
+ l.a.createElement(
274
+ 'h3',
275
+ { id: 'timeline' },
276
+ l.a.createElement(
277
+ r['AnchorLink'],
278
+ { to: '#timeline', 'aria-hidden': 'true', tabIndex: -1 },
279
+ l.a.createElement('span', { className: 'icon icon-link' }),
280
+ ),
281
+ 'Timeline',
282
+ ),
283
+ l.a.createElement('p', null, '\u65f6\u95f4\u8f74\u3002'),
284
+ l.a.createElement(
285
+ 'table',
286
+ null,
287
+ l.a.createElement(
288
+ 'thead',
289
+ null,
290
+ l.a.createElement(
291
+ 'tr',
292
+ null,
293
+ l.a.createElement('th', null, '\u53c2\u6570'),
294
+ l.a.createElement('th', null, '\u8bf4\u660e'),
295
+ l.a.createElement('th', null, '\u7c7b\u578b'),
296
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
297
+ ),
298
+ ),
299
+ l.a.createElement(
300
+ 'tbody',
301
+ null,
302
+ l.a.createElement(
303
+ 'tr',
304
+ null,
305
+ l.a.createElement('td', null, 'mode'),
306
+ l.a.createElement(
307
+ 'td',
308
+ null,
309
+ '\u901a\u8fc7\u8bbe\u7f6e ',
310
+ l.a.createElement('code', null, 'mode'),
311
+ ' \u53ef\u4ee5\u6539\u53d8\u65f6\u95f4\u8f74\u548c\u5185\u5bb9\u7684\u76f8\u5bf9\u4f4d\u7f6e',
312
+ ),
313
+ l.a.createElement(
314
+ 'td',
315
+ null,
316
+ l.a.createElement('code', null, 'left'),
317
+ ' | ',
318
+ l.a.createElement('code', null, 'alternate'),
319
+ ' | ',
320
+ l.a.createElement('code', null, 'right'),
321
+ ),
322
+ l.a.createElement('td', null, '-'),
323
+ ),
324
+ l.a.createElement(
325
+ 'tr',
326
+ null,
327
+ l.a.createElement('td', null, 'pending'),
328
+ l.a.createElement(
329
+ 'td',
330
+ null,
331
+ '\u6307\u5b9a\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u662f\u5426\u5b58\u5728\u6216\u5185\u5bb9',
332
+ ),
333
+ l.a.createElement('td', null, 'boolean | ReactNode'),
334
+ l.a.createElement('td', null, 'false'),
335
+ ),
336
+ l.a.createElement(
337
+ 'tr',
338
+ null,
339
+ l.a.createElement('td', null, 'pendingDot'),
340
+ l.a.createElement(
341
+ 'td',
342
+ null,
343
+ '\u5f53\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u5b58\u5728\u6642\uff0c\u6307\u5b9a\u5176\u65f6\u95f4\u56fe\u70b9',
344
+ ),
345
+ l.a.createElement('td', null, 'ReactNode'),
346
+ l.a.createElement('td', null, '<LoadingOutlined />'),
347
+ ),
348
+ l.a.createElement(
349
+ 'tr',
350
+ null,
351
+ l.a.createElement('td', null, 'reverse'),
352
+ l.a.createElement('td', null, '\u8282\u70b9\u6392\u5e8f'),
353
+ l.a.createElement('td', null, 'boolean'),
354
+ l.a.createElement('td', null, 'false'),
355
+ ),
356
+ ),
357
+ ),
358
+ l.a.createElement(
359
+ 'h3',
360
+ { id: 'timelineitem' },
361
+ l.a.createElement(
362
+ r['AnchorLink'],
363
+ { to: '#timelineitem', 'aria-hidden': 'true', tabIndex: -1 },
364
+ l.a.createElement('span', { className: 'icon icon-link' }),
365
+ ),
366
+ 'Timeline.Item',
367
+ ),
368
+ l.a.createElement(
369
+ 'p',
370
+ null,
371
+ '\u65f6\u95f4\u8f74\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\u3002',
372
+ ),
373
+ l.a.createElement(
374
+ 'table',
375
+ null,
376
+ l.a.createElement(
377
+ 'thead',
378
+ null,
379
+ l.a.createElement(
380
+ 'tr',
381
+ null,
382
+ l.a.createElement('th', null, '\u53c2\u6570'),
383
+ l.a.createElement('th', null, '\u8bf4\u660e'),
384
+ l.a.createElement('th', null, '\u7c7b\u578b'),
385
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
386
+ ),
387
+ ),
388
+ l.a.createElement(
389
+ 'tbody',
390
+ null,
391
+ l.a.createElement(
392
+ 'tr',
393
+ null,
394
+ l.a.createElement('td', null, 'color'),
395
+ l.a.createElement(
396
+ 'td',
397
+ null,
398
+ '\u6307\u5b9a\u5706\u5708\u989c\u8272 ',
399
+ l.a.createElement('code', null, 'blue'),
400
+ ', ',
401
+ l.a.createElement('code', null, 'red'),
402
+ ', ',
403
+ l.a.createElement('code', null, 'green'),
404
+ ', ',
405
+ l.a.createElement('code', null, 'gray'),
406
+ '\uff0c\u6216\u81ea\u5b9a\u4e49\u7684\u8272\u503c',
407
+ ),
408
+ l.a.createElement('td', null, 'string'),
409
+ l.a.createElement(
410
+ 'td',
411
+ null,
412
+ l.a.createElement('code', null, 'blue'),
413
+ ),
414
+ ),
415
+ l.a.createElement(
416
+ 'tr',
417
+ null,
418
+ l.a.createElement('td', null, 'dot'),
419
+ l.a.createElement(
420
+ 'td',
421
+ null,
422
+ '\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9',
423
+ ),
424
+ l.a.createElement('td', null, 'ReactNode'),
425
+ l.a.createElement('td', null, '-'),
426
+ ),
427
+ l.a.createElement(
428
+ 'tr',
429
+ null,
430
+ l.a.createElement('td', null, 'label'),
431
+ l.a.createElement('td', null, '\u8bbe\u7f6e\u6807\u7b7e'),
432
+ l.a.createElement('td', null, 'ReactNode'),
433
+ l.a.createElement('td', null, '-'),
434
+ ),
435
+ l.a.createElement(
436
+ 'tr',
437
+ null,
438
+ l.a.createElement('td', null, 'position'),
439
+ l.a.createElement(
440
+ 'td',
441
+ null,
442
+ '\u81ea\u5b9a\u4e49\u8282\u70b9\u4f4d\u7f6e',
443
+ ),
444
+ l.a.createElement(
445
+ 'td',
446
+ null,
447
+ l.a.createElement('code', null, 'left'),
448
+ ' | ',
449
+ l.a.createElement('code', null, 'right'),
450
+ ),
451
+ l.a.createElement('td', null, '-'),
452
+ ),
453
+ ),
454
+ ),
455
+ l.a.createElement('style', {
456
+ dangerouslySetInnerHTML: {
457
+ __html:
458
+ "\n .timeline-clock-icon {\n font-size: 16px;\n}\n\n[data-theme='compact'] .timeline-clock-icon {\n font-size: 14px;\n}\n",
459
+ },
460
+ }),
461
+ ),
462
+ ),
463
+ )
464
+ );
465
+ },
466
+ MZF8: function (e, t, a) {
467
+ 'use strict';
468
+ var n = a('ogwx');
469
+ a.d(t, 'a', function () {
470
+ return n['b'];
471
+ });
472
+ a('VCU9');
473
+ },
474
+ RZMt: function (e, t, a) {},
475
+ Zxc8: function (e, t, a) {
476
+ 'use strict';
477
+ a.r(t);
478
+ var n = a('q1tI'),
479
+ l = a.n(n),
480
+ r = a('k3GJ'),
481
+ c = a('MZF8'),
482
+ i = a('dEAq'),
483
+ m = a('H1Ra');
484
+ a('RZMt');
485
+ function o(e, t) {
486
+ return f(e) || E(e, t) || u(e, t) || d();
487
+ }
488
+ function d() {
489
+ throw new TypeError(
490
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
491
+ );
492
+ }
493
+ function u(e, t) {
494
+ if (e) {
495
+ if ('string' === typeof e) return s(e, t);
496
+ var a = Object.prototype.toString.call(e).slice(8, -1);
497
+ return (
498
+ 'Object' === a && e.constructor && (a = e.constructor.name),
499
+ 'Map' === a || 'Set' === a
500
+ ? Array.from(e)
501
+ : 'Arguments' === a ||
502
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
503
+ ? s(e, t)
504
+ : void 0
505
+ );
506
+ }
507
+ }
508
+ function s(e, t) {
509
+ (null == t || t > e.length) && (t = e.length);
510
+ for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
511
+ return n;
512
+ }
513
+ function E(e, t) {
514
+ var a =
515
+ null == e
516
+ ? null
517
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
518
+ e['@@iterator'];
519
+ if (null != a) {
520
+ var n,
521
+ l,
522
+ r = [],
523
+ c = !0,
524
+ i = !1;
525
+ try {
526
+ for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
527
+ if ((r.push(n.value), t && r.length === t)) break;
528
+ } catch (m) {
529
+ (i = !0), (l = m);
530
+ } finally {
531
+ try {
532
+ c || null == a['return'] || a['return']();
533
+ } finally {
534
+ if (i) throw l;
535
+ }
536
+ }
537
+ return r;
538
+ }
539
+ }
540
+ function f(e) {
541
+ if (Array.isArray(e)) return e;
542
+ }
543
+ function p(e, t) {
544
+ var a,
545
+ n =
546
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
547
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
548
+ }
549
+ var h = function (e) {
550
+ var t,
551
+ a,
552
+ d,
553
+ u = Object(n['useRef'])(),
554
+ s = Object(n['useContext'])(i['context']),
555
+ E = s.locale,
556
+ f = Object(i['useLocaleProps'])(E, e),
557
+ h = Object(i['useDemoUrl'])(f.identifier),
558
+ b = f.demoUrl || h,
559
+ v =
560
+ (null === c['a'] || void 0 === c['a']
561
+ ? void 0
562
+ : c['a'].location.hash) === '#'.concat(f.identifier),
563
+ k = 1 === Object.keys(f.sources).length,
564
+ _ = Object(i['useCodeSandbox'])(
565
+ (
566
+ null === (t = f.hideActions) || void 0 === t
567
+ ? void 0
568
+ : t.includes('CSB')
569
+ )
570
+ ? null
571
+ : f,
572
+ ),
573
+ g = Object(i['useRiddle'])(
574
+ (
575
+ null === (a = f.hideActions) || void 0 === a
576
+ ? void 0
577
+ : a.includes('RIDDLE')
578
+ )
579
+ ? null
580
+ : f,
581
+ ),
582
+ N = Object(i['useMotions'])(f.motions || [], u.current),
583
+ w = o(N, 2),
584
+ y = w[0],
585
+ x = w[1],
586
+ I = Object(i['useCopy'])(),
587
+ A = o(I, 2),
588
+ O = A[0],
589
+ j = A[1],
590
+ L = Object(n['useState'])('_'),
591
+ T = o(L, 2),
592
+ C = T[0],
593
+ S = T[1],
594
+ R = Object(n['useState'])(p(C, f.sources[C])),
595
+ P = o(R, 2),
596
+ M = P[0],
597
+ U = P[1],
598
+ J = Object(n['useState'])(Boolean(f.defaultShowCode)),
599
+ Z = o(J, 2),
600
+ q = Z[0],
601
+ D = Z[1],
602
+ F = Object(n['useState'])(Math.random()),
603
+ H = o(F, 2),
604
+ $ = H[0],
605
+ B = H[1],
606
+ z = f.sources[C][M] || f.sources[C].content,
607
+ G = Object(i['useTSPlaygroundUrl'])(E, z),
608
+ X = Object(n['useRef'])(),
609
+ K = Object(i['usePrefersColor'])(),
610
+ V = o(K, 1),
611
+ Q = V[0];
612
+ function W(e) {
613
+ S(e), U(p(e, f.sources[e]));
614
+ }
615
+ return (
616
+ Object(n['useEffect'])(
617
+ function () {
618
+ B(Math.random());
619
+ },
620
+ [Q],
621
+ ),
622
+ l.a.createElement(
623
+ 'div',
624
+ {
625
+ style: f.style,
626
+ className: [
627
+ f.className,
628
+ '__dumi-default-previewer',
629
+ v ? '__dumi-default-previewer-target' : '',
630
+ ]
631
+ .filter(Boolean)
632
+ .join(' '),
633
+ id: f.identifier,
634
+ 'data-debug': f.debug || void 0,
635
+ 'data-iframe': f.iframe || void 0,
636
+ },
637
+ f.iframe &&
638
+ l.a.createElement('div', {
639
+ className: '__dumi-default-previewer-browser-nav',
640
+ }),
641
+ l.a.createElement(
642
+ 'div',
643
+ {
644
+ ref: u,
645
+ className: '__dumi-default-previewer-demo',
646
+ style: {
647
+ transform: f.transform ? 'translate(0, 0)' : void 0,
648
+ padding:
649
+ f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
650
+ background: f.background,
651
+ },
652
+ },
653
+ f.iframe
654
+ ? l.a.createElement('iframe', {
655
+ title: 'dumi-previewer',
656
+ style: {
657
+ height: String(f.iframe).replace(/(\d)$/, '$1px'),
658
+ },
659
+ key: $,
660
+ src: b,
661
+ ref: X,
662
+ })
663
+ : f.children,
664
+ ),
665
+ l.a.createElement(
666
+ 'div',
667
+ {
668
+ className: '__dumi-default-previewer-desc',
669
+ 'data-title': f.title,
670
+ },
671
+ f.title &&
672
+ l.a.createElement(
673
+ i['AnchorLink'],
674
+ { to: '#'.concat(f.identifier) },
675
+ f.title,
676
+ ),
677
+ f.description &&
678
+ l.a.createElement('div', {
679
+ dangerouslySetInnerHTML: { __html: f.description },
680
+ }),
681
+ ),
682
+ l.a.createElement(
683
+ 'div',
684
+ { className: '__dumi-default-previewer-actions' },
685
+ _ &&
686
+ l.a.createElement('button', {
687
+ title: 'Open demo on CodeSandbox.io',
688
+ className: '__dumi-default-icon',
689
+ role: 'codesandbox',
690
+ onClick: _,
691
+ }),
692
+ g &&
693
+ l.a.createElement('button', {
694
+ title: 'Open demo on Riddle',
695
+ className: '__dumi-default-icon',
696
+ role: 'riddle',
697
+ onClick: g,
698
+ }),
699
+ f.motions &&
700
+ l.a.createElement('button', {
701
+ title: 'Execute motions',
702
+ className: '__dumi-default-icon',
703
+ role: 'motions',
704
+ disabled: x,
705
+ onClick: function () {
706
+ return y();
707
+ },
708
+ }),
709
+ f.iframe &&
710
+ l.a.createElement('button', {
711
+ title: 'Reload demo iframe page',
712
+ className: '__dumi-default-icon',
713
+ role: 'refresh',
714
+ onClick: function () {
715
+ return B(Math.random());
716
+ },
717
+ }),
718
+ !(null === (d = f.hideActions) || void 0 === d
719
+ ? void 0
720
+ : d.includes('EXTERNAL')) &&
721
+ l.a.createElement(
722
+ i['Link'],
723
+ { target: '_blank', to: b },
724
+ l.a.createElement('button', {
725
+ title: 'Open demo in new tab',
726
+ className: '__dumi-default-icon',
727
+ role: 'open-demo',
728
+ type: 'button',
729
+ }),
730
+ ),
731
+ l.a.createElement('span', null),
732
+ l.a.createElement('button', {
733
+ title: 'Copy source code',
734
+ className: '__dumi-default-icon',
735
+ role: 'copy',
736
+ 'data-status': j,
737
+ onClick: function () {
738
+ return O(z);
739
+ },
740
+ }),
741
+ 'tsx' === M &&
742
+ q &&
743
+ l.a.createElement(
744
+ i['Link'],
745
+ { target: '_blank', to: G },
746
+ l.a.createElement('button', {
747
+ title: 'Get JSX via TypeScript Playground',
748
+ className: '__dumi-default-icon',
749
+ role: 'change-tsx',
750
+ type: 'button',
751
+ }),
752
+ ),
753
+ l.a.createElement('button', {
754
+ title: 'Toggle source code panel',
755
+ className: '__dumi-default-icon'.concat(
756
+ q ? ' __dumi-default-btn-expand' : '',
757
+ ),
758
+ role: 'source',
759
+ type: 'button',
760
+ onClick: function () {
761
+ return D(!q);
762
+ },
763
+ }),
764
+ ),
765
+ q &&
766
+ l.a.createElement(
767
+ 'div',
768
+ { className: '__dumi-default-previewer-source-wrapper' },
769
+ !k &&
770
+ l.a.createElement(
771
+ r['b'],
772
+ {
773
+ className: '__dumi-default-previewer-source-tab',
774
+ prefixCls: '__dumi-default-tabs',
775
+ moreIcon: '\xb7\xb7\xb7',
776
+ defaultActiveKey: C,
777
+ onChange: W,
778
+ },
779
+ Object.keys(f.sources).map(function (e) {
780
+ return l.a.createElement(r['a'], {
781
+ tab:
782
+ '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
783
+ key: e,
784
+ });
785
+ }),
786
+ ),
787
+ l.a.createElement(
788
+ 'div',
789
+ { className: '__dumi-default-previewer-source' },
790
+ l.a.createElement(m['a'], { code: z, lang: M, showCopy: !1 }),
791
+ ),
792
+ ),
793
+ )
794
+ );
795
+ };
796
+ t['default'] = h;
797
+ },
798
+ },
799
+ ]);