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