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