@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.
- package/.history/package_20211011190148.json +141 -0
- package/.history/package_20211011193053.json +141 -0
- package/dist/@fle-ui/next.css +2 -2
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/docs-dist/components__affix__affix.md.js +701 -1
- package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
- package/docs-dist/components__alert__alert.md.js +942 -1
- package/docs-dist/components__anchor__anchor.md.js +789 -1
- package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
- package/docs-dist/components__avatar__avatar.md.js +854 -1
- package/docs-dist/components__back-top__backTop.md.js +581 -1
- package/docs-dist/components__badge__badge.md.js +972 -1
- package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
- package/docs-dist/components__button__button.md.js +1037 -1
- package/docs-dist/components__calendar__calendar.md.js +897 -1
- package/docs-dist/components__card__card.md.js +1106 -1
- package/docs-dist/components__carousel__carousel.md.js +770 -1
- package/docs-dist/components__cascader__cascader.md.js +1378 -1
- package/docs-dist/components__checkbox__checkbox.md.js +876 -1
- package/docs-dist/components__collapse__collapse.md.js +959 -1
- package/docs-dist/components__comment__comment.md.js +586 -1
- package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
- package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
- package/docs-dist/components__descriptions__descriptions.md.js +863 -1
- package/docs-dist/components__divider__divider.md.js +681 -1
- package/docs-dist/components__drawer__drawer.md.js +997 -1
- package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
- package/docs-dist/components__empty__empty.md.js +692 -1
- package/docs-dist/components__form__form.md.js +4099 -1
- package/docs-dist/components__grid__grid.md.js +999 -1
- package/docs-dist/components__icon__icon.md.js +739 -1
- package/docs-dist/components__image__image.md.js +745 -1
- package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
- package/docs-dist/components__input__input.md.js +1579 -1
- package/docs-dist/components__layout__layout.md.js +1220 -1
- package/docs-dist/components__list__list.md.js +1255 -1
- package/docs-dist/components__mentions__mentions.md.js +943 -1
- package/docs-dist/components__menu__menu.md.js +1370 -1
- package/docs-dist/components__message__message.md.js +1223 -1
- package/docs-dist/components__modal__modal.md.js +1808 -1
- package/docs-dist/components__notification__notification.md.js +1192 -1
- package/docs-dist/components__page-header__page-header.md.js +781 -1
- package/docs-dist/components__pagination__pagination.md.js +954 -1
- package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
- package/docs-dist/components__popover__popover.md.js +665 -1
- package/docs-dist/components__progress__progress.md.js +1139 -1
- package/docs-dist/components__radio__radio.md.js +999 -1
- package/docs-dist/components__rate__rate.md.js +851 -1
- package/docs-dist/components__result__result.md.js +681 -1
- package/docs-dist/components__select__select.md.js +2081 -1
- package/docs-dist/components__slider__slider.md.js +1053 -1
- package/docs-dist/components__space__space.md.js +746 -1
- package/docs-dist/components__spin__spin.md.js +730 -1
- package/docs-dist/components__statistic__statistic.md.js +827 -1
- package/docs-dist/components__steps__steps.md.js +1097 -1
- package/docs-dist/components__switch__switch.md.js +763 -1
- package/docs-dist/components__table__table.md.js +3692 -1
- package/docs-dist/components__tabs__tabs.md.js +1213 -1
- package/docs-dist/components__tag__tag.md.js +779 -1
- package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
- package/docs-dist/components__timeline__timeline.md.js +799 -1
- package/docs-dist/components__tooltip__tooltip.md.js +888 -1
- package/docs-dist/components__transfer__transfer.md.js +1226 -1
- package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
- package/docs-dist/components__typography__typography.md.js +1793 -1
- package/docs-dist/components__upload__upload.md.js +1798 -1
- package/docs-dist/demos_bmurcdaerb.js +603 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
- package/docs-dist/demos_citsitats.js +549 -1
- package/docs-dist/demos_daolpu.chunk.css +1 -1
- package/docs-dist/demos_daolpu.js +22680 -1
- package/docs-dist/demos_dirg.js +47 -1
- package/docs-dist/demos_drac.js +748 -1
- package/docs-dist/demos_ecaps.js +529 -1
- package/docs-dist/demos_egami.js +153 -1
- package/docs-dist/demos_egassem.js +187 -1
- package/docs-dist/demos_egdab.js +872 -1
- package/docs-dist/demos_elbat.chunk.css +1 -1
- package/docs-dist/demos_elbat.js +27626 -1
- package/docs-dist/demos_enilemit.js +627 -1
- package/docs-dist/demos_espalloc.js +705 -1
- package/docs-dist/demos_etar.js +547 -1
- package/docs-dist/demos_etelpmoc-otua.js +613 -1
- package/docs-dist/demos_gat.js +487 -1
- package/docs-dist/demos_hctiws.js +439 -1
- package/docs-dist/demos_ladom.js +791 -1
- package/docs-dist/demos_lesuorac.js +193 -1
- package/docs-dist/demos_mrifnocpop.js +671 -1
- package/docs-dist/demos_mrof.js +3082 -1
- package/docs-dist/demos_nips.js +461 -1
- package/docs-dist/demos_noitacifiton.js +765 -1
- package/docs-dist/demos_noitanigap.js +233 -1
- package/docs-dist/demos_nottub.js +847 -1
- package/docs-dist/demos_nwodpord.js +965 -1
- package/docs-dist/demos_oidar.js +340 -1
- package/docs-dist/demos_pitloot.js +204 -1
- package/docs-dist/demos_pot-kcab.js +62 -1
- package/docs-dist/demos_radnelac.js +285 -1
- package/docs-dist/demos_ratava.js +647 -1
- package/docs-dist/demos_rebmun-tupni.js +209 -1
- package/docs-dist/demos_redacsac.js +576 -1
- package/docs-dist/demos_redaeh-egap.js +761 -1
- package/docs-dist/demos_redils.js +659 -1
- package/docs-dist/demos_redivid.js +167 -1
- package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
- package/docs-dist/demos_refsnart.js +774 -1
- package/docs-dist/demos_rekcip-emit.js +183 -1
- package/docs-dist/demos_rekcip-etad.js +469 -1
- package/docs-dist/demos_revopop.js +335 -1
- package/docs-dist/demos_reward.js +484 -1
- package/docs-dist/demos_rohcna.js +194 -1
- package/docs-dist/demos_sbat.chunk.css +1 -1
- package/docs-dist/demos_sbat.js +22358 -1
- package/docs-dist/demos_snoitnem.js +202 -1
- package/docs-dist/demos_snoitpircsed.js +351 -1
- package/docs-dist/demos_spets.js +910 -1
- package/docs-dist/demos_ssergorp.js +698 -1
- package/docs-dist/demos_tceles.js +1416 -1
- package/docs-dist/demos_tluser.js +530 -1
- package/docs-dist/demos_tnemmoc.js +560 -1
- package/docs-dist/demos_trela.js +341 -1
- package/docs-dist/demos_tsil.js +603 -1
- package/docs-dist/demos_tuoyal.js +872 -1
- package/docs-dist/demos_tupni.js +1245 -1
- package/docs-dist/demos_unem.js +1012 -1
- package/docs-dist/demos_xiffa.js +93 -1
- package/docs-dist/demos_xobkcehc.js +186 -1
- package/docs-dist/demos_yhpargopyt.js +798 -1
- package/docs-dist/demos_ytpme.js +433 -1
- package/docs-dist/docs__document__getting-started.md.js +193 -1
- package/docs-dist/docs__document__introduce.md.js +441 -1
- package/docs-dist/docs__document__practical-projects.md.js +117 -1
- package/docs-dist/docs__index.md.js +27 -1
- package/docs-dist/docs__story__index.md.js +89 -1
- package/docs-dist/dumi_demos.js +456 -1
- package/docs-dist/umi.js +28727 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
- package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
- package/docs-dist/vendors~demos_gat.js +4673 -1
- package/docs-dist/vendors~demos_ladom.js +1855 -1
- package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
- package/docs-dist/vendors~demos_sbat.js +1601 -1
- package/docs-dist/vendors~demos_trela.js +1722 -1
- package/docs-dist/vendors~demos_tsil.js +4970 -1
- package/docs-dist/vendors~demos_tuoyal.js +748 -1
- package/docs-dist/vendors~wrappers.js +1360 -1
- package/docs-dist/wrappers.js +21 -1
- package/es/drawer/style/drawer.less +8 -4
- package/es/drawer/style/index.css +1 -1
- package/es/style/themes/default.less +57 -29
- package/lib/drawer/style/drawer.less +8 -4
- package/lib/drawer/style/index.css +1 -1
- package/lib/style/themes/default.less +57 -29
- package/package.json +1 -1
- package/report.html +1 -1
@@ -1 +1,1213 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[60],{BE7i:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("dEAq"),c=a("Zxc8"),m=a("JjdP"),d=n.a.memo(m["default"]["tabs-basic"].component),o=n.a.memo(m["default"]["tabs-disabled"].component),i=n.a.memo(m["default"]["tabs-centered"].component),u=n.a.memo(m["default"]["tabs-icon"].component),s=n.a.memo(m["default"]["tabs-slide"].component),E=n.a.memo(m["default"]["tabs-extra"].component),b=n.a.memo(m["default"]["tabs-size"].component),f=n.a.memo(m["default"]["tabs-position"].component),p=n.a.memo(m["default"]["tabs-card"].component),h=n.a.memo(m["default"]["tabs-editable-card"].component),v=n.a.memo(m["default"]["tabs-card-top"].component),k=n.a.memo(m["default"]["tabs-custom-add-trigger"].component),N=n.a.memo(m["default"]["tabs-custom-tab-bar"].component),w=n.a.memo(m["default"]["tabs-custom-tab-bar-node"].component);t["default"]=e=>(n.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.a.createElement(n.a.Fragment,null,n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"markdown"},n.a.createElement("h1",{id:"tabs-\u6807\u7b7e\u9875"},n.a.createElement(r["AnchorLink"],{to:"#tabs-\u6807\u7b7e\u9875","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Tabs \u6807\u7b7e\u9875"),n.a.createElement("p",null,"\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002"),n.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),n.a.createElement("p",null,"\u63d0\u4f9b\u5e73\u7ea7\u7684\u533a\u57df\u5c06\u5927\u5757\u5185\u5bb9\u8fdb\u884c\u6536\u7eb3\u548c\u5c55\u73b0\uff0c\u4fdd\u6301\u754c\u9762\u6574\u6d01\u3002"),n.a.createElement("p",null,"Ant Design \u4f9d\u6b21\u63d0\u4f9b\u4e86\u4e09\u7ea7\u9009\u9879\u5361\uff0c\u5206\u522b\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002"),n.a.createElement("ul",null,n.a.createElement("li",null,"\u5361\u7247\u5f0f\u7684\u9875\u7b7e\uff0c\u63d0\u4f9b\u53ef\u5173\u95ed\u7684\u6837\u5f0f\uff0c\u5e38\u7528\u4e8e\u5bb9\u5668\u9876\u90e8\u3002"),n.a.createElement("li",null,"\u65e2\u53ef\u7528\u4e8e\u5bb9\u5668\u9876\u90e8\uff0c\u4e5f\u53ef\u7528\u4e8e\u5bb9\u5668\u5185\u90e8\uff0c\u662f\u6700\u901a\u7528\u7684 Tabs\u3002"),n.a.createElement("li",null,n.a.createElement(r["AnchorLink"],{to:"/components/radio/#components-radio-demo-radiobutton"},"Radio.Button")," \u53ef\u4f5c\u4e3a\u66f4\u6b21\u7ea7\u7684\u9875\u7b7e\u6765\u4f7f\u7528\u3002")),n.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),n.a.createElement("h3",{id:"\u57fa\u672c"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c")),n.a.createElement(c["default"],m["default"]["tabs-basic"].previewerProps,n.a.createElement(d,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u7981\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u7981\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u7981\u7528")),n.a.createElement(c["default"],m["default"]["tabs-disabled"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5c45\u4e2d"},n.a.createElement(r["AnchorLink"],{to:"#\u5c45\u4e2d","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5c45\u4e2d")),n.a.createElement(c["default"],m["default"]["tabs-centered"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u56fe\u6807"},n.a.createElement(r["AnchorLink"],{to:"#\u56fe\u6807","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u56fe\u6807")),n.a.createElement(c["default"],m["default"]["tabs-icon"].previewerProps,n.a.createElement(u,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6ed1\u52a8"},n.a.createElement(r["AnchorLink"],{to:"#\u6ed1\u52a8","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6ed1\u52a8")),n.a.createElement(c["default"],m["default"]["tabs-slide"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u9644\u52a0\u5185\u5bb9"},n.a.createElement(r["AnchorLink"],{to:"#\u9644\u52a0\u5185\u5bb9","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u9644\u52a0\u5185\u5bb9")),n.a.createElement(c["default"],m["default"]["tabs-extra"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5927\u5c0f"},n.a.createElement(r["AnchorLink"],{to:"#\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5927\u5c0f")),n.a.createElement(c["default"],m["default"]["tabs-size"].previewerProps,n.a.createElement(b,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u4f4d\u7f6e"},n.a.createElement(r["AnchorLink"],{to:"#\u4f4d\u7f6e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f4d\u7f6e")),n.a.createElement(c["default"],m["default"]["tabs-position"].previewerProps,n.a.createElement(f,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5361\u7247\u5f0f\u9875\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u5361\u7247\u5f0f\u9875\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5361\u7247\u5f0f\u9875\u7b7e")),n.a.createElement(c["default"],m["default"]["tabs-card"].previewerProps,n.a.createElement(p,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e")),n.a.createElement(c["default"],m["default"]["tabs-editable-card"].previewerProps,n.a.createElement(h,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668"},n.a.createElement(r["AnchorLink"],{to:"#\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668")),n.a.createElement(c["default"],m["default"]["tabs-card-top"].previewerProps,n.a.createElement(v,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668")),n.a.createElement(c["default"],m["default"]["tabs-custom-add-trigger"].previewerProps,n.a.createElement(k,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934")),n.a.createElement(c["default"],m["default"]["tabs-custom-tab-bar"].previewerProps,n.a.createElement(N,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u53ef\u62d6\u62fd\u6807\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u53ef\u62d6\u62fd\u6807\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u53ef\u62d6\u62fd\u6807\u7b7e")),n.a.createElement(c["default"],m["default"]["tabs-custom-tab-bar-node"].previewerProps,n.a.createElement(w,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h2",{id:"api"},n.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"API"),n.a.createElement("h3",{id:"tabs"},n.a.createElement(r["AnchorLink"],{to:"#tabs","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Tabs"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"activeKey"),n.a.createElement("td",null,"\u5f53\u524d\u6fc0\u6d3b tab \u9762\u677f\u7684 key"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"addIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6dfb\u52a0\u6309\u94ae"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"animated"),n.a.createElement("td",null,"\u662f\u5426\u4f7f\u7528\u52a8\u753b\u5207\u6362 Tabs, \u4ec5\u751f\u6548\u4e8e ",n.a.createElement("code",null,'tabPosition="top"')),n.a.createElement("td",null,"boolean | ","{"," inkBar: boolean, tabPane: boolean ","}"),n.a.createElement("td",null,"{"," inkBar: true, tabPane: false ","}"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"centered"),n.a.createElement("td",null,"\u6807\u7b7e\u5c45\u4e2d\u5c55\u793a"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultActiveKey"),n.a.createElement("td",null,"\u521d\u59cb\u5316\u9009\u4e2d\u9762\u677f\u7684 key\uff0c\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e activeKey"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"\u7b2c\u4e00\u4e2a\u9762\u677f")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"hideAdd"),n.a.createElement("td",null,"\u662f\u5426\u9690\u85cf\u52a0\u53f7\u56fe\u6807\uff0c\u5728 ",n.a.createElement("code",null,'type="editable-card"')," \u65f6\u6709\u6548"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"moreIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6298\u53e0 icon"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"<EllipsisOutlined />"),n.a.createElement("td",null,"4.14.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"renderTabBar"),n.a.createElement("td",null,"\u66ff\u6362 TabBar\uff0c\u7528\u4e8e\u4e8c\u6b21\u5c01\u88c5\u6807\u7b7e\u5934"),n.a.createElement("td",null,"(props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u5927\u5c0f\uff0c\u63d0\u4f9b ",n.a.createElement("code",null,"large")," ",n.a.createElement("code",null,"default")," \u548c ",n.a.createElement("code",null,"small")," \u4e09\u79cd\u5927\u5c0f"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"default")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tabBarExtraContent"),n.a.createElement("td",null,"tab bar \u4e0a\u989d\u5916\u7684\u5143\u7d20"),n.a.createElement("td",null,"ReactNode | ","{","left?: ReactNode, right?: ReactNode","}"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"object: 4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"tabBarGutter"),n.a.createElement("td",null,"tabs \u4e4b\u95f4\u7684\u95f4\u9699"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tabBarStyle"),n.a.createElement("td",null,"tab bar \u7684\u6837\u5f0f\u5bf9\u8c61"),n.a.createElement("td",null,"object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tabPosition"),n.a.createElement("td",null,"\u9875\u7b7e\u4f4d\u7f6e\uff0c\u53ef\u9009\u503c\u6709 ",n.a.createElement("code",null,"top")," ",n.a.createElement("code",null,"right")," ",n.a.createElement("code",null,"bottom")," ",n.a.createElement("code",null,"left")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"top")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"type"),n.a.createElement("td",null,"\u9875\u7b7e\u7684\u57fa\u672c\u6837\u5f0f\uff0c\u53ef\u9009 ",n.a.createElement("code",null,"line"),"\u3001",n.a.createElement("code",null,"card")," ",n.a.createElement("code",null,"editable-card")," \u7c7b\u578b"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"line")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(activeKey) ","{","}"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onEdit"),n.a.createElement("td",null,"\u65b0\u589e\u548c\u5220\u9664\u9875\u7b7e\u7684\u56de\u8c03\uff0c\u5728 ",n.a.createElement("code",null,'type="editable-card"')," \u65f6\u6709\u6548"),n.a.createElement("td",null,"(targetKey, action): void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onTabClick"),n.a.createElement("td",null,"tab \u88ab\u70b9\u51fb\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(key: string, event: MouseEvent)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onTabScroll"),n.a.createElement("td",null,"tab \u6eda\u52a8\u65f6\u89e6\u53d1"),n.a.createElement("td",null,"function(","{"," direction: ",n.a.createElement("code",null,"left")," | ",n.a.createElement("code",null,"right")," | ",n.a.createElement("code",null,"top")," | ",n.a.createElement("code",null,"bottom")," ","}",")"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.3.0")))),n.a.createElement("h3",{id:"tabstabpane"},n.a.createElement(r["AnchorLink"],{to:"#tabstabpane","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Tabs.TabPane"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"closeIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u5173\u95ed\u56fe\u6807\uff0c",n.a.createElement("code",null,'\u5728 type="editable-card"'),"\u65f6\u6709\u6548"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-")),n.a.createElement("tr",null,n.a.createElement("td",null,"forceRender"),n.a.createElement("td",null,"\u88ab\u9690\u85cf\u65f6\u662f\u5426\u6e32\u67d3 DOM \u7ed3\u6784"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false")),n.a.createElement("tr",null,n.a.createElement("td",null,"key"),n.a.createElement("td",null,"\u5bf9\u5e94 activeKey"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-")),n.a.createElement("tr",null,n.a.createElement("td",null,"tab"),n.a.createElement("td",null,"\u9009\u9879\u5361\u5934\u663e\u793a\u6587\u5b57"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"))))))))},MZF8:function(e,t,a){"use strict";var l=a("ogwx");a.d(t,"a",(function(){return l["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("k3GJ"),c=a("MZF8"),m=a("dEAq"),d=a("H1Ra");a("RZMt");function o(e,t){return b(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,l=new Array(t);a<t;a++)l[a]=e[a];return l}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,n,r=[],c=!0,m=!1;try{for(a=a.call(e);!(c=(l=a.next()).done);c=!0)if(r.push(l.value),t&&r.length===t)break}catch(d){m=!0,n=d}finally{try{c||null==a["return"]||a["return"]()}finally{if(m)throw n}}return r}}function b(e){if(Array.isArray(e))return e}function f(e,t){var a,l=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return l||(l=t.tsx?"tsx":"jsx"),l}var p=function(e){var t,a,i,u=Object(l["useRef"])(),s=Object(l["useContext"])(m["context"]),E=s.locale,b=Object(m["useLocaleProps"])(E,e),p=Object(m["useDemoUrl"])(b.identifier),h=b.demoUrl||p,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(b.identifier),k=1===Object.keys(b.sources).length,N=Object(m["useCodeSandbox"])((null===(t=b.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:b),w=Object(m["useRiddle"])((null===(a=b.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:b),y=Object(m["useMotions"])(b.motions||[],u.current),g=o(y,2),_=g[0],x=g[1],A=Object(m["useCopy"])(),I=o(A,2),L=I[0],j=I[1],P=Object(l["useState"])("_"),C=o(P,2),O=C[0],R=C[1],S=Object(l["useState"])(f(O,b.sources[O])),T=o(S,2),B=T[0],M=T[1],D=Object(l["useState"])(Boolean(b.defaultShowCode)),K=o(D,2),U=K[0],Z=K[1],J=Object(l["useState"])(Math.random()),q=o(J,2),F=q[0],$=q[1],z=b.sources[O][B]||b.sources[O].content,G=Object(m["useTSPlaygroundUrl"])(E,z),H=Object(l["useRef"])(),X=Object(m["usePrefersColor"])(),V=o(X,1),Q=V[0];function W(e){R(e),M(f(e,b.sources[e]))}return Object(l["useEffect"])((function(){$(Math.random())}),[Q]),n.a.createElement("div",{style:b.style,className:[b.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:b.identifier,"data-debug":b.debug||void 0,"data-iframe":b.iframe||void 0},b.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:u,className:"__dumi-default-previewer-demo",style:{transform:b.transform?"translate(0, 0)":void 0,padding:b.compact||b.iframe&&!1!==b.compact?"0":void 0,background:b.background}},b.iframe?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(b.iframe).replace(/(\d)$/,"$1px")},key:F,src:h,ref:H}):b.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":b.title},b.title&&n.a.createElement(m["AnchorLink"],{to:"#".concat(b.identifier)},b.title),b.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:b.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},N&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:N}),w&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:w}),b.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return _()}}),b.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return $(Math.random())}}),!(null===(i=b.hideActions)||void 0===i?void 0:i.includes("EXTERNAL"))&&n.a.createElement(m["Link"],{target:"_blank",to:h},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":j,onClick:function(){return L(z)}}),"tsx"===B&&U&&n.a.createElement(m["Link"],{target:"_blank",to:G},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(U?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return Z(!U)}})),U&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:O,onChange:W},Object.keys(b.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(f(e,b.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(d["a"],{code:z,lang:B,showCopy:!1}))))};t["default"]=p}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[60],
|
3
|
+
{
|
4
|
+
BE7i: function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
a.r(t);
|
7
|
+
var l = a('q1tI'),
|
8
|
+
n = a.n(l),
|
9
|
+
r = a('dEAq'),
|
10
|
+
c = a('Zxc8'),
|
11
|
+
m = a('JjdP'),
|
12
|
+
d = n.a.memo(m['default']['tabs-basic'].component),
|
13
|
+
o = n.a.memo(m['default']['tabs-disabled'].component),
|
14
|
+
i = n.a.memo(m['default']['tabs-centered'].component),
|
15
|
+
u = n.a.memo(m['default']['tabs-icon'].component),
|
16
|
+
s = n.a.memo(m['default']['tabs-slide'].component),
|
17
|
+
E = n.a.memo(m['default']['tabs-extra'].component),
|
18
|
+
b = n.a.memo(m['default']['tabs-size'].component),
|
19
|
+
f = n.a.memo(m['default']['tabs-position'].component),
|
20
|
+
p = n.a.memo(m['default']['tabs-card'].component),
|
21
|
+
h = n.a.memo(m['default']['tabs-editable-card'].component),
|
22
|
+
v = n.a.memo(m['default']['tabs-card-top'].component),
|
23
|
+
k = n.a.memo(m['default']['tabs-custom-add-trigger'].component),
|
24
|
+
N = n.a.memo(m['default']['tabs-custom-tab-bar'].component),
|
25
|
+
w = n.a.memo(m['default']['tabs-custom-tab-bar-node'].component);
|
26
|
+
t['default'] = (e) => (
|
27
|
+
n.a.useEffect(() => {
|
28
|
+
var t;
|
29
|
+
null !== e &&
|
30
|
+
void 0 !== e &&
|
31
|
+
null !== (t = e.location) &&
|
32
|
+
void 0 !== t &&
|
33
|
+
t.hash &&
|
34
|
+
r['AnchorLink'].scrollToAnchor(
|
35
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
36
|
+
);
|
37
|
+
}, []),
|
38
|
+
n.a.createElement(
|
39
|
+
n.a.Fragment,
|
40
|
+
null,
|
41
|
+
n.a.createElement(
|
42
|
+
n.a.Fragment,
|
43
|
+
null,
|
44
|
+
n.a.createElement(
|
45
|
+
'div',
|
46
|
+
{ className: 'markdown' },
|
47
|
+
n.a.createElement(
|
48
|
+
'h1',
|
49
|
+
{ id: 'tabs-\u6807\u7b7e\u9875' },
|
50
|
+
n.a.createElement(
|
51
|
+
r['AnchorLink'],
|
52
|
+
{
|
53
|
+
to: '#tabs-\u6807\u7b7e\u9875',
|
54
|
+
'aria-hidden': 'true',
|
55
|
+
tabIndex: -1,
|
56
|
+
},
|
57
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
58
|
+
),
|
59
|
+
'Tabs \u6807\u7b7e\u9875',
|
60
|
+
),
|
61
|
+
n.a.createElement(
|
62
|
+
'p',
|
63
|
+
null,
|
64
|
+
'\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002',
|
65
|
+
),
|
66
|
+
n.a.createElement(
|
67
|
+
'h2',
|
68
|
+
{ id: '\u4f55\u65f6\u4f7f\u7528' },
|
69
|
+
n.a.createElement(
|
70
|
+
r['AnchorLink'],
|
71
|
+
{
|
72
|
+
to: '#\u4f55\u65f6\u4f7f\u7528',
|
73
|
+
'aria-hidden': 'true',
|
74
|
+
tabIndex: -1,
|
75
|
+
},
|
76
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
77
|
+
),
|
78
|
+
'\u4f55\u65f6\u4f7f\u7528',
|
79
|
+
),
|
80
|
+
n.a.createElement(
|
81
|
+
'p',
|
82
|
+
null,
|
83
|
+
'\u63d0\u4f9b\u5e73\u7ea7\u7684\u533a\u57df\u5c06\u5927\u5757\u5185\u5bb9\u8fdb\u884c\u6536\u7eb3\u548c\u5c55\u73b0\uff0c\u4fdd\u6301\u754c\u9762\u6574\u6d01\u3002',
|
84
|
+
),
|
85
|
+
n.a.createElement(
|
86
|
+
'p',
|
87
|
+
null,
|
88
|
+
'Ant Design \u4f9d\u6b21\u63d0\u4f9b\u4e86\u4e09\u7ea7\u9009\u9879\u5361\uff0c\u5206\u522b\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002',
|
89
|
+
),
|
90
|
+
n.a.createElement(
|
91
|
+
'ul',
|
92
|
+
null,
|
93
|
+
n.a.createElement(
|
94
|
+
'li',
|
95
|
+
null,
|
96
|
+
'\u5361\u7247\u5f0f\u7684\u9875\u7b7e\uff0c\u63d0\u4f9b\u53ef\u5173\u95ed\u7684\u6837\u5f0f\uff0c\u5e38\u7528\u4e8e\u5bb9\u5668\u9876\u90e8\u3002',
|
97
|
+
),
|
98
|
+
n.a.createElement(
|
99
|
+
'li',
|
100
|
+
null,
|
101
|
+
'\u65e2\u53ef\u7528\u4e8e\u5bb9\u5668\u9876\u90e8\uff0c\u4e5f\u53ef\u7528\u4e8e\u5bb9\u5668\u5185\u90e8\uff0c\u662f\u6700\u901a\u7528\u7684 Tabs\u3002',
|
102
|
+
),
|
103
|
+
n.a.createElement(
|
104
|
+
'li',
|
105
|
+
null,
|
106
|
+
n.a.createElement(
|
107
|
+
r['AnchorLink'],
|
108
|
+
{
|
109
|
+
to: '/components/radio/#components-radio-demo-radiobutton',
|
110
|
+
},
|
111
|
+
'Radio.Button',
|
112
|
+
),
|
113
|
+
' \u53ef\u4f5c\u4e3a\u66f4\u6b21\u7ea7\u7684\u9875\u7b7e\u6765\u4f7f\u7528\u3002',
|
114
|
+
),
|
115
|
+
),
|
116
|
+
n.a.createElement(
|
117
|
+
'h2',
|
118
|
+
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
119
|
+
n.a.createElement(
|
120
|
+
r['AnchorLink'],
|
121
|
+
{
|
122
|
+
to: '#\u4ee3\u7801\u6f14\u793a',
|
123
|
+
'aria-hidden': 'true',
|
124
|
+
tabIndex: -1,
|
125
|
+
},
|
126
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
127
|
+
),
|
128
|
+
'\u4ee3\u7801\u6f14\u793a',
|
129
|
+
),
|
130
|
+
n.a.createElement(
|
131
|
+
'h3',
|
132
|
+
{ id: '\u57fa\u672c' },
|
133
|
+
n.a.createElement(
|
134
|
+
r['AnchorLink'],
|
135
|
+
{ to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
|
136
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
137
|
+
),
|
138
|
+
'\u57fa\u672c',
|
139
|
+
),
|
140
|
+
),
|
141
|
+
n.a.createElement(
|
142
|
+
c['default'],
|
143
|
+
m['default']['tabs-basic'].previewerProps,
|
144
|
+
n.a.createElement(d, null),
|
145
|
+
),
|
146
|
+
n.a.createElement(
|
147
|
+
'div',
|
148
|
+
{ className: 'markdown' },
|
149
|
+
n.a.createElement(
|
150
|
+
'h3',
|
151
|
+
{ id: '\u7981\u7528' },
|
152
|
+
n.a.createElement(
|
153
|
+
r['AnchorLink'],
|
154
|
+
{ to: '#\u7981\u7528', 'aria-hidden': 'true', tabIndex: -1 },
|
155
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
156
|
+
),
|
157
|
+
'\u7981\u7528',
|
158
|
+
),
|
159
|
+
),
|
160
|
+
n.a.createElement(
|
161
|
+
c['default'],
|
162
|
+
m['default']['tabs-disabled'].previewerProps,
|
163
|
+
n.a.createElement(o, null),
|
164
|
+
),
|
165
|
+
n.a.createElement(
|
166
|
+
'div',
|
167
|
+
{ className: 'markdown' },
|
168
|
+
n.a.createElement(
|
169
|
+
'h3',
|
170
|
+
{ id: '\u5c45\u4e2d' },
|
171
|
+
n.a.createElement(
|
172
|
+
r['AnchorLink'],
|
173
|
+
{ to: '#\u5c45\u4e2d', 'aria-hidden': 'true', tabIndex: -1 },
|
174
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
175
|
+
),
|
176
|
+
'\u5c45\u4e2d',
|
177
|
+
),
|
178
|
+
),
|
179
|
+
n.a.createElement(
|
180
|
+
c['default'],
|
181
|
+
m['default']['tabs-centered'].previewerProps,
|
182
|
+
n.a.createElement(i, null),
|
183
|
+
),
|
184
|
+
n.a.createElement(
|
185
|
+
'div',
|
186
|
+
{ className: 'markdown' },
|
187
|
+
n.a.createElement(
|
188
|
+
'h3',
|
189
|
+
{ id: '\u56fe\u6807' },
|
190
|
+
n.a.createElement(
|
191
|
+
r['AnchorLink'],
|
192
|
+
{ to: '#\u56fe\u6807', 'aria-hidden': 'true', tabIndex: -1 },
|
193
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
194
|
+
),
|
195
|
+
'\u56fe\u6807',
|
196
|
+
),
|
197
|
+
),
|
198
|
+
n.a.createElement(
|
199
|
+
c['default'],
|
200
|
+
m['default']['tabs-icon'].previewerProps,
|
201
|
+
n.a.createElement(u, null),
|
202
|
+
),
|
203
|
+
n.a.createElement(
|
204
|
+
'div',
|
205
|
+
{ className: 'markdown' },
|
206
|
+
n.a.createElement(
|
207
|
+
'h3',
|
208
|
+
{ id: '\u6ed1\u52a8' },
|
209
|
+
n.a.createElement(
|
210
|
+
r['AnchorLink'],
|
211
|
+
{ to: '#\u6ed1\u52a8', 'aria-hidden': 'true', tabIndex: -1 },
|
212
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
213
|
+
),
|
214
|
+
'\u6ed1\u52a8',
|
215
|
+
),
|
216
|
+
),
|
217
|
+
n.a.createElement(
|
218
|
+
c['default'],
|
219
|
+
m['default']['tabs-slide'].previewerProps,
|
220
|
+
n.a.createElement(s, null),
|
221
|
+
),
|
222
|
+
n.a.createElement(
|
223
|
+
'div',
|
224
|
+
{ className: 'markdown' },
|
225
|
+
n.a.createElement(
|
226
|
+
'h3',
|
227
|
+
{ id: '\u9644\u52a0\u5185\u5bb9' },
|
228
|
+
n.a.createElement(
|
229
|
+
r['AnchorLink'],
|
230
|
+
{
|
231
|
+
to: '#\u9644\u52a0\u5185\u5bb9',
|
232
|
+
'aria-hidden': 'true',
|
233
|
+
tabIndex: -1,
|
234
|
+
},
|
235
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
236
|
+
),
|
237
|
+
'\u9644\u52a0\u5185\u5bb9',
|
238
|
+
),
|
239
|
+
),
|
240
|
+
n.a.createElement(
|
241
|
+
c['default'],
|
242
|
+
m['default']['tabs-extra'].previewerProps,
|
243
|
+
n.a.createElement(E, null),
|
244
|
+
),
|
245
|
+
n.a.createElement(
|
246
|
+
'div',
|
247
|
+
{ className: 'markdown' },
|
248
|
+
n.a.createElement(
|
249
|
+
'h3',
|
250
|
+
{ id: '\u5927\u5c0f' },
|
251
|
+
n.a.createElement(
|
252
|
+
r['AnchorLink'],
|
253
|
+
{ to: '#\u5927\u5c0f', 'aria-hidden': 'true', tabIndex: -1 },
|
254
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
255
|
+
),
|
256
|
+
'\u5927\u5c0f',
|
257
|
+
),
|
258
|
+
),
|
259
|
+
n.a.createElement(
|
260
|
+
c['default'],
|
261
|
+
m['default']['tabs-size'].previewerProps,
|
262
|
+
n.a.createElement(b, null),
|
263
|
+
),
|
264
|
+
n.a.createElement(
|
265
|
+
'div',
|
266
|
+
{ className: 'markdown' },
|
267
|
+
n.a.createElement(
|
268
|
+
'h3',
|
269
|
+
{ id: '\u4f4d\u7f6e' },
|
270
|
+
n.a.createElement(
|
271
|
+
r['AnchorLink'],
|
272
|
+
{ to: '#\u4f4d\u7f6e', 'aria-hidden': 'true', tabIndex: -1 },
|
273
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
274
|
+
),
|
275
|
+
'\u4f4d\u7f6e',
|
276
|
+
),
|
277
|
+
),
|
278
|
+
n.a.createElement(
|
279
|
+
c['default'],
|
280
|
+
m['default']['tabs-position'].previewerProps,
|
281
|
+
n.a.createElement(f, null),
|
282
|
+
),
|
283
|
+
n.a.createElement(
|
284
|
+
'div',
|
285
|
+
{ className: 'markdown' },
|
286
|
+
n.a.createElement(
|
287
|
+
'h3',
|
288
|
+
{ id: '\u5361\u7247\u5f0f\u9875\u7b7e' },
|
289
|
+
n.a.createElement(
|
290
|
+
r['AnchorLink'],
|
291
|
+
{
|
292
|
+
to: '#\u5361\u7247\u5f0f\u9875\u7b7e',
|
293
|
+
'aria-hidden': 'true',
|
294
|
+
tabIndex: -1,
|
295
|
+
},
|
296
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
297
|
+
),
|
298
|
+
'\u5361\u7247\u5f0f\u9875\u7b7e',
|
299
|
+
),
|
300
|
+
),
|
301
|
+
n.a.createElement(
|
302
|
+
c['default'],
|
303
|
+
m['default']['tabs-card'].previewerProps,
|
304
|
+
n.a.createElement(p, null),
|
305
|
+
),
|
306
|
+
n.a.createElement(
|
307
|
+
'div',
|
308
|
+
{ className: 'markdown' },
|
309
|
+
n.a.createElement(
|
310
|
+
'h3',
|
311
|
+
{ id: '\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e' },
|
312
|
+
n.a.createElement(
|
313
|
+
r['AnchorLink'],
|
314
|
+
{
|
315
|
+
to: '#\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e',
|
316
|
+
'aria-hidden': 'true',
|
317
|
+
tabIndex: -1,
|
318
|
+
},
|
319
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
320
|
+
),
|
321
|
+
'\u65b0\u589e\u548c\u5173\u95ed\u9875\u7b7e',
|
322
|
+
),
|
323
|
+
),
|
324
|
+
n.a.createElement(
|
325
|
+
c['default'],
|
326
|
+
m['default']['tabs-editable-card'].previewerProps,
|
327
|
+
n.a.createElement(h, null),
|
328
|
+
),
|
329
|
+
n.a.createElement(
|
330
|
+
'div',
|
331
|
+
{ className: 'markdown' },
|
332
|
+
n.a.createElement(
|
333
|
+
'h3',
|
334
|
+
{ id: '\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668' },
|
335
|
+
n.a.createElement(
|
336
|
+
r['AnchorLink'],
|
337
|
+
{
|
338
|
+
to: '#\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668',
|
339
|
+
'aria-hidden': 'true',
|
340
|
+
tabIndex: -1,
|
341
|
+
},
|
342
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
343
|
+
),
|
344
|
+
'\u5361\u7247\u5f0f\u9875\u7b7e\u5bb9\u5668',
|
345
|
+
),
|
346
|
+
),
|
347
|
+
n.a.createElement(
|
348
|
+
c['default'],
|
349
|
+
m['default']['tabs-card-top'].previewerProps,
|
350
|
+
n.a.createElement(v, null),
|
351
|
+
),
|
352
|
+
n.a.createElement(
|
353
|
+
'div',
|
354
|
+
{ className: 'markdown' },
|
355
|
+
n.a.createElement(
|
356
|
+
'h3',
|
357
|
+
{
|
358
|
+
id: '\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668',
|
359
|
+
},
|
360
|
+
n.a.createElement(
|
361
|
+
r['AnchorLink'],
|
362
|
+
{
|
363
|
+
to: '#\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668',
|
364
|
+
'aria-hidden': 'true',
|
365
|
+
tabIndex: -1,
|
366
|
+
},
|
367
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
368
|
+
),
|
369
|
+
'\u81ea\u5b9a\u4e49\u65b0\u589e\u9875\u7b7e\u89e6\u53d1\u5668',
|
370
|
+
),
|
371
|
+
),
|
372
|
+
n.a.createElement(
|
373
|
+
c['default'],
|
374
|
+
m['default']['tabs-custom-add-trigger'].previewerProps,
|
375
|
+
n.a.createElement(k, null),
|
376
|
+
),
|
377
|
+
n.a.createElement(
|
378
|
+
'div',
|
379
|
+
{ className: 'markdown' },
|
380
|
+
n.a.createElement(
|
381
|
+
'h3',
|
382
|
+
{ id: '\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934' },
|
383
|
+
n.a.createElement(
|
384
|
+
r['AnchorLink'],
|
385
|
+
{
|
386
|
+
to: '#\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934',
|
387
|
+
'aria-hidden': 'true',
|
388
|
+
tabIndex: -1,
|
389
|
+
},
|
390
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
391
|
+
),
|
392
|
+
'\u81ea\u5b9a\u4e49\u9875\u7b7e\u5934',
|
393
|
+
),
|
394
|
+
),
|
395
|
+
n.a.createElement(
|
396
|
+
c['default'],
|
397
|
+
m['default']['tabs-custom-tab-bar'].previewerProps,
|
398
|
+
n.a.createElement(N, null),
|
399
|
+
),
|
400
|
+
n.a.createElement(
|
401
|
+
'div',
|
402
|
+
{ className: 'markdown' },
|
403
|
+
n.a.createElement(
|
404
|
+
'h3',
|
405
|
+
{ id: '\u53ef\u62d6\u62fd\u6807\u7b7e' },
|
406
|
+
n.a.createElement(
|
407
|
+
r['AnchorLink'],
|
408
|
+
{
|
409
|
+
to: '#\u53ef\u62d6\u62fd\u6807\u7b7e',
|
410
|
+
'aria-hidden': 'true',
|
411
|
+
tabIndex: -1,
|
412
|
+
},
|
413
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
414
|
+
),
|
415
|
+
'\u53ef\u62d6\u62fd\u6807\u7b7e',
|
416
|
+
),
|
417
|
+
),
|
418
|
+
n.a.createElement(
|
419
|
+
c['default'],
|
420
|
+
m['default']['tabs-custom-tab-bar-node'].previewerProps,
|
421
|
+
n.a.createElement(w, null),
|
422
|
+
),
|
423
|
+
n.a.createElement(
|
424
|
+
'div',
|
425
|
+
{ className: 'markdown' },
|
426
|
+
n.a.createElement(
|
427
|
+
'h2',
|
428
|
+
{ id: 'api' },
|
429
|
+
n.a.createElement(
|
430
|
+
r['AnchorLink'],
|
431
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
432
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
433
|
+
),
|
434
|
+
'API',
|
435
|
+
),
|
436
|
+
n.a.createElement(
|
437
|
+
'h3',
|
438
|
+
{ id: 'tabs' },
|
439
|
+
n.a.createElement(
|
440
|
+
r['AnchorLink'],
|
441
|
+
{ to: '#tabs', 'aria-hidden': 'true', tabIndex: -1 },
|
442
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
443
|
+
),
|
444
|
+
'Tabs',
|
445
|
+
),
|
446
|
+
n.a.createElement(
|
447
|
+
'table',
|
448
|
+
null,
|
449
|
+
n.a.createElement(
|
450
|
+
'thead',
|
451
|
+
null,
|
452
|
+
n.a.createElement(
|
453
|
+
'tr',
|
454
|
+
null,
|
455
|
+
n.a.createElement('th', null, '\u53c2\u6570'),
|
456
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
457
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
458
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
459
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
460
|
+
),
|
461
|
+
),
|
462
|
+
n.a.createElement(
|
463
|
+
'tbody',
|
464
|
+
null,
|
465
|
+
n.a.createElement(
|
466
|
+
'tr',
|
467
|
+
null,
|
468
|
+
n.a.createElement('td', null, 'activeKey'),
|
469
|
+
n.a.createElement(
|
470
|
+
'td',
|
471
|
+
null,
|
472
|
+
'\u5f53\u524d\u6fc0\u6d3b tab \u9762\u677f\u7684 key',
|
473
|
+
),
|
474
|
+
n.a.createElement('td', null, 'string'),
|
475
|
+
n.a.createElement('td', null, '-'),
|
476
|
+
n.a.createElement('td', null),
|
477
|
+
),
|
478
|
+
n.a.createElement(
|
479
|
+
'tr',
|
480
|
+
null,
|
481
|
+
n.a.createElement('td', null, 'addIcon'),
|
482
|
+
n.a.createElement(
|
483
|
+
'td',
|
484
|
+
null,
|
485
|
+
'\u81ea\u5b9a\u4e49\u6dfb\u52a0\u6309\u94ae',
|
486
|
+
),
|
487
|
+
n.a.createElement('td', null, 'ReactNode'),
|
488
|
+
n.a.createElement('td', null, '-'),
|
489
|
+
n.a.createElement('td', null, '4.4.0'),
|
490
|
+
),
|
491
|
+
n.a.createElement(
|
492
|
+
'tr',
|
493
|
+
null,
|
494
|
+
n.a.createElement('td', null, 'animated'),
|
495
|
+
n.a.createElement(
|
496
|
+
'td',
|
497
|
+
null,
|
498
|
+
'\u662f\u5426\u4f7f\u7528\u52a8\u753b\u5207\u6362 Tabs, \u4ec5\u751f\u6548\u4e8e ',
|
499
|
+
n.a.createElement('code', null, 'tabPosition="top"'),
|
500
|
+
),
|
501
|
+
n.a.createElement(
|
502
|
+
'td',
|
503
|
+
null,
|
504
|
+
'boolean | ',
|
505
|
+
'{',
|
506
|
+
' inkBar: boolean, tabPane: boolean ',
|
507
|
+
'}',
|
508
|
+
),
|
509
|
+
n.a.createElement(
|
510
|
+
'td',
|
511
|
+
null,
|
512
|
+
'{',
|
513
|
+
' inkBar: true, tabPane: false ',
|
514
|
+
'}',
|
515
|
+
),
|
516
|
+
n.a.createElement('td', null),
|
517
|
+
),
|
518
|
+
n.a.createElement(
|
519
|
+
'tr',
|
520
|
+
null,
|
521
|
+
n.a.createElement('td', null, 'centered'),
|
522
|
+
n.a.createElement(
|
523
|
+
'td',
|
524
|
+
null,
|
525
|
+
'\u6807\u7b7e\u5c45\u4e2d\u5c55\u793a',
|
526
|
+
),
|
527
|
+
n.a.createElement('td', null, 'boolean'),
|
528
|
+
n.a.createElement('td', null, 'false'),
|
529
|
+
n.a.createElement('td', null, '4.4.0'),
|
530
|
+
),
|
531
|
+
n.a.createElement(
|
532
|
+
'tr',
|
533
|
+
null,
|
534
|
+
n.a.createElement('td', null, 'defaultActiveKey'),
|
535
|
+
n.a.createElement(
|
536
|
+
'td',
|
537
|
+
null,
|
538
|
+
'\u521d\u59cb\u5316\u9009\u4e2d\u9762\u677f\u7684 key\uff0c\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e activeKey',
|
539
|
+
),
|
540
|
+
n.a.createElement('td', null, 'string'),
|
541
|
+
n.a.createElement(
|
542
|
+
'td',
|
543
|
+
null,
|
544
|
+
n.a.createElement(
|
545
|
+
'code',
|
546
|
+
null,
|
547
|
+
'\u7b2c\u4e00\u4e2a\u9762\u677f',
|
548
|
+
),
|
549
|
+
),
|
550
|
+
n.a.createElement('td', null),
|
551
|
+
),
|
552
|
+
n.a.createElement(
|
553
|
+
'tr',
|
554
|
+
null,
|
555
|
+
n.a.createElement('td', null, 'hideAdd'),
|
556
|
+
n.a.createElement(
|
557
|
+
'td',
|
558
|
+
null,
|
559
|
+
'\u662f\u5426\u9690\u85cf\u52a0\u53f7\u56fe\u6807\uff0c\u5728 ',
|
560
|
+
n.a.createElement('code', null, 'type="editable-card"'),
|
561
|
+
' \u65f6\u6709\u6548',
|
562
|
+
),
|
563
|
+
n.a.createElement('td', null, 'boolean'),
|
564
|
+
n.a.createElement('td', null, 'false'),
|
565
|
+
n.a.createElement('td', null),
|
566
|
+
),
|
567
|
+
n.a.createElement(
|
568
|
+
'tr',
|
569
|
+
null,
|
570
|
+
n.a.createElement('td', null, 'moreIcon'),
|
571
|
+
n.a.createElement(
|
572
|
+
'td',
|
573
|
+
null,
|
574
|
+
'\u81ea\u5b9a\u4e49\u6298\u53e0 icon',
|
575
|
+
),
|
576
|
+
n.a.createElement('td', null, 'ReactNode'),
|
577
|
+
n.a.createElement('td', null, '<EllipsisOutlined />'),
|
578
|
+
n.a.createElement('td', null, '4.14.0'),
|
579
|
+
),
|
580
|
+
n.a.createElement(
|
581
|
+
'tr',
|
582
|
+
null,
|
583
|
+
n.a.createElement('td', null, 'renderTabBar'),
|
584
|
+
n.a.createElement(
|
585
|
+
'td',
|
586
|
+
null,
|
587
|
+
'\u66ff\u6362 TabBar\uff0c\u7528\u4e8e\u4e8c\u6b21\u5c01\u88c5\u6807\u7b7e\u5934',
|
588
|
+
),
|
589
|
+
n.a.createElement(
|
590
|
+
'td',
|
591
|
+
null,
|
592
|
+
'(props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement',
|
593
|
+
),
|
594
|
+
n.a.createElement('td', null, '-'),
|
595
|
+
n.a.createElement('td', null),
|
596
|
+
),
|
597
|
+
n.a.createElement(
|
598
|
+
'tr',
|
599
|
+
null,
|
600
|
+
n.a.createElement('td', null, 'size'),
|
601
|
+
n.a.createElement(
|
602
|
+
'td',
|
603
|
+
null,
|
604
|
+
'\u5927\u5c0f\uff0c\u63d0\u4f9b ',
|
605
|
+
n.a.createElement('code', null, 'large'),
|
606
|
+
' ',
|
607
|
+
n.a.createElement('code', null, 'default'),
|
608
|
+
' \u548c ',
|
609
|
+
n.a.createElement('code', null, 'small'),
|
610
|
+
' \u4e09\u79cd\u5927\u5c0f',
|
611
|
+
),
|
612
|
+
n.a.createElement('td', null, 'string'),
|
613
|
+
n.a.createElement(
|
614
|
+
'td',
|
615
|
+
null,
|
616
|
+
n.a.createElement('code', null, 'default'),
|
617
|
+
),
|
618
|
+
n.a.createElement('td', null),
|
619
|
+
),
|
620
|
+
n.a.createElement(
|
621
|
+
'tr',
|
622
|
+
null,
|
623
|
+
n.a.createElement('td', null, 'tabBarExtraContent'),
|
624
|
+
n.a.createElement(
|
625
|
+
'td',
|
626
|
+
null,
|
627
|
+
'tab bar \u4e0a\u989d\u5916\u7684\u5143\u7d20',
|
628
|
+
),
|
629
|
+
n.a.createElement(
|
630
|
+
'td',
|
631
|
+
null,
|
632
|
+
'ReactNode | ',
|
633
|
+
'{',
|
634
|
+
'left?: ReactNode, right?: ReactNode',
|
635
|
+
'}',
|
636
|
+
),
|
637
|
+
n.a.createElement('td', null, '-'),
|
638
|
+
n.a.createElement('td', null, 'object: 4.6.0'),
|
639
|
+
),
|
640
|
+
n.a.createElement(
|
641
|
+
'tr',
|
642
|
+
null,
|
643
|
+
n.a.createElement('td', null, 'tabBarGutter'),
|
644
|
+
n.a.createElement(
|
645
|
+
'td',
|
646
|
+
null,
|
647
|
+
'tabs \u4e4b\u95f4\u7684\u95f4\u9699',
|
648
|
+
),
|
649
|
+
n.a.createElement('td', null, 'number'),
|
650
|
+
n.a.createElement('td', null, '-'),
|
651
|
+
n.a.createElement('td', null),
|
652
|
+
),
|
653
|
+
n.a.createElement(
|
654
|
+
'tr',
|
655
|
+
null,
|
656
|
+
n.a.createElement('td', null, 'tabBarStyle'),
|
657
|
+
n.a.createElement(
|
658
|
+
'td',
|
659
|
+
null,
|
660
|
+
'tab bar \u7684\u6837\u5f0f\u5bf9\u8c61',
|
661
|
+
),
|
662
|
+
n.a.createElement('td', null, 'object'),
|
663
|
+
n.a.createElement('td', null, '-'),
|
664
|
+
n.a.createElement('td', null),
|
665
|
+
),
|
666
|
+
n.a.createElement(
|
667
|
+
'tr',
|
668
|
+
null,
|
669
|
+
n.a.createElement('td', null, 'tabPosition'),
|
670
|
+
n.a.createElement(
|
671
|
+
'td',
|
672
|
+
null,
|
673
|
+
'\u9875\u7b7e\u4f4d\u7f6e\uff0c\u53ef\u9009\u503c\u6709 ',
|
674
|
+
n.a.createElement('code', null, 'top'),
|
675
|
+
' ',
|
676
|
+
n.a.createElement('code', null, 'right'),
|
677
|
+
' ',
|
678
|
+
n.a.createElement('code', null, 'bottom'),
|
679
|
+
' ',
|
680
|
+
n.a.createElement('code', null, 'left'),
|
681
|
+
),
|
682
|
+
n.a.createElement('td', null, 'string'),
|
683
|
+
n.a.createElement(
|
684
|
+
'td',
|
685
|
+
null,
|
686
|
+
n.a.createElement('code', null, 'top'),
|
687
|
+
),
|
688
|
+
n.a.createElement('td', null),
|
689
|
+
),
|
690
|
+
n.a.createElement(
|
691
|
+
'tr',
|
692
|
+
null,
|
693
|
+
n.a.createElement('td', null, 'type'),
|
694
|
+
n.a.createElement(
|
695
|
+
'td',
|
696
|
+
null,
|
697
|
+
'\u9875\u7b7e\u7684\u57fa\u672c\u6837\u5f0f\uff0c\u53ef\u9009 ',
|
698
|
+
n.a.createElement('code', null, 'line'),
|
699
|
+
'\u3001',
|
700
|
+
n.a.createElement('code', null, 'card'),
|
701
|
+
' ',
|
702
|
+
n.a.createElement('code', null, 'editable-card'),
|
703
|
+
' \u7c7b\u578b',
|
704
|
+
),
|
705
|
+
n.a.createElement('td', null, 'string'),
|
706
|
+
n.a.createElement(
|
707
|
+
'td',
|
708
|
+
null,
|
709
|
+
n.a.createElement('code', null, 'line'),
|
710
|
+
),
|
711
|
+
n.a.createElement('td', null),
|
712
|
+
),
|
713
|
+
n.a.createElement(
|
714
|
+
'tr',
|
715
|
+
null,
|
716
|
+
n.a.createElement('td', null, 'onChange'),
|
717
|
+
n.a.createElement(
|
718
|
+
'td',
|
719
|
+
null,
|
720
|
+
'\u5207\u6362\u9762\u677f\u7684\u56de\u8c03',
|
721
|
+
),
|
722
|
+
n.a.createElement(
|
723
|
+
'td',
|
724
|
+
null,
|
725
|
+
'function(activeKey) ',
|
726
|
+
'{',
|
727
|
+
'}',
|
728
|
+
),
|
729
|
+
n.a.createElement('td', null, '-'),
|
730
|
+
n.a.createElement('td', null),
|
731
|
+
),
|
732
|
+
n.a.createElement(
|
733
|
+
'tr',
|
734
|
+
null,
|
735
|
+
n.a.createElement('td', null, 'onEdit'),
|
736
|
+
n.a.createElement(
|
737
|
+
'td',
|
738
|
+
null,
|
739
|
+
'\u65b0\u589e\u548c\u5220\u9664\u9875\u7b7e\u7684\u56de\u8c03\uff0c\u5728 ',
|
740
|
+
n.a.createElement('code', null, 'type="editable-card"'),
|
741
|
+
' \u65f6\u6709\u6548',
|
742
|
+
),
|
743
|
+
n.a.createElement('td', null, '(targetKey, action): void'),
|
744
|
+
n.a.createElement('td', null, '-'),
|
745
|
+
n.a.createElement('td', null),
|
746
|
+
),
|
747
|
+
n.a.createElement(
|
748
|
+
'tr',
|
749
|
+
null,
|
750
|
+
n.a.createElement('td', null, 'onTabClick'),
|
751
|
+
n.a.createElement(
|
752
|
+
'td',
|
753
|
+
null,
|
754
|
+
'tab \u88ab\u70b9\u51fb\u7684\u56de\u8c03',
|
755
|
+
),
|
756
|
+
n.a.createElement(
|
757
|
+
'td',
|
758
|
+
null,
|
759
|
+
'function(key: string, event: MouseEvent)',
|
760
|
+
),
|
761
|
+
n.a.createElement('td', null, '-'),
|
762
|
+
n.a.createElement('td', null),
|
763
|
+
),
|
764
|
+
n.a.createElement(
|
765
|
+
'tr',
|
766
|
+
null,
|
767
|
+
n.a.createElement('td', null, 'onTabScroll'),
|
768
|
+
n.a.createElement(
|
769
|
+
'td',
|
770
|
+
null,
|
771
|
+
'tab \u6eda\u52a8\u65f6\u89e6\u53d1',
|
772
|
+
),
|
773
|
+
n.a.createElement(
|
774
|
+
'td',
|
775
|
+
null,
|
776
|
+
'function(',
|
777
|
+
'{',
|
778
|
+
' direction: ',
|
779
|
+
n.a.createElement('code', null, 'left'),
|
780
|
+
' | ',
|
781
|
+
n.a.createElement('code', null, 'right'),
|
782
|
+
' | ',
|
783
|
+
n.a.createElement('code', null, 'top'),
|
784
|
+
' | ',
|
785
|
+
n.a.createElement('code', null, 'bottom'),
|
786
|
+
' ',
|
787
|
+
'}',
|
788
|
+
')',
|
789
|
+
),
|
790
|
+
n.a.createElement('td', null, '-'),
|
791
|
+
n.a.createElement('td', null, '4.3.0'),
|
792
|
+
),
|
793
|
+
),
|
794
|
+
),
|
795
|
+
n.a.createElement(
|
796
|
+
'h3',
|
797
|
+
{ id: 'tabstabpane' },
|
798
|
+
n.a.createElement(
|
799
|
+
r['AnchorLink'],
|
800
|
+
{ to: '#tabstabpane', 'aria-hidden': 'true', tabIndex: -1 },
|
801
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
802
|
+
),
|
803
|
+
'Tabs.TabPane',
|
804
|
+
),
|
805
|
+
n.a.createElement(
|
806
|
+
'table',
|
807
|
+
null,
|
808
|
+
n.a.createElement(
|
809
|
+
'thead',
|
810
|
+
null,
|
811
|
+
n.a.createElement(
|
812
|
+
'tr',
|
813
|
+
null,
|
814
|
+
n.a.createElement('th', null, '\u53c2\u6570'),
|
815
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
816
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
817
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
818
|
+
),
|
819
|
+
),
|
820
|
+
n.a.createElement(
|
821
|
+
'tbody',
|
822
|
+
null,
|
823
|
+
n.a.createElement(
|
824
|
+
'tr',
|
825
|
+
null,
|
826
|
+
n.a.createElement('td', null, 'closeIcon'),
|
827
|
+
n.a.createElement(
|
828
|
+
'td',
|
829
|
+
null,
|
830
|
+
'\u81ea\u5b9a\u4e49\u5173\u95ed\u56fe\u6807\uff0c',
|
831
|
+
n.a.createElement(
|
832
|
+
'code',
|
833
|
+
null,
|
834
|
+
'\u5728 type="editable-card"',
|
835
|
+
),
|
836
|
+
'\u65f6\u6709\u6548',
|
837
|
+
),
|
838
|
+
n.a.createElement('td', null, 'ReactNode'),
|
839
|
+
n.a.createElement('td', null, '-'),
|
840
|
+
),
|
841
|
+
n.a.createElement(
|
842
|
+
'tr',
|
843
|
+
null,
|
844
|
+
n.a.createElement('td', null, 'forceRender'),
|
845
|
+
n.a.createElement(
|
846
|
+
'td',
|
847
|
+
null,
|
848
|
+
'\u88ab\u9690\u85cf\u65f6\u662f\u5426\u6e32\u67d3 DOM \u7ed3\u6784',
|
849
|
+
),
|
850
|
+
n.a.createElement('td', null, 'boolean'),
|
851
|
+
n.a.createElement('td', null, 'false'),
|
852
|
+
),
|
853
|
+
n.a.createElement(
|
854
|
+
'tr',
|
855
|
+
null,
|
856
|
+
n.a.createElement('td', null, 'key'),
|
857
|
+
n.a.createElement('td', null, '\u5bf9\u5e94 activeKey'),
|
858
|
+
n.a.createElement('td', null, 'string'),
|
859
|
+
n.a.createElement('td', null, '-'),
|
860
|
+
),
|
861
|
+
n.a.createElement(
|
862
|
+
'tr',
|
863
|
+
null,
|
864
|
+
n.a.createElement('td', null, 'tab'),
|
865
|
+
n.a.createElement(
|
866
|
+
'td',
|
867
|
+
null,
|
868
|
+
'\u9009\u9879\u5361\u5934\u663e\u793a\u6587\u5b57',
|
869
|
+
),
|
870
|
+
n.a.createElement('td', null, 'ReactNode'),
|
871
|
+
n.a.createElement('td', null, '-'),
|
872
|
+
),
|
873
|
+
),
|
874
|
+
),
|
875
|
+
),
|
876
|
+
),
|
877
|
+
)
|
878
|
+
);
|
879
|
+
},
|
880
|
+
MZF8: function (e, t, a) {
|
881
|
+
'use strict';
|
882
|
+
var l = a('ogwx');
|
883
|
+
a.d(t, 'a', function () {
|
884
|
+
return l['b'];
|
885
|
+
});
|
886
|
+
a('VCU9');
|
887
|
+
},
|
888
|
+
RZMt: function (e, t, a) {},
|
889
|
+
Zxc8: function (e, t, a) {
|
890
|
+
'use strict';
|
891
|
+
a.r(t);
|
892
|
+
var l = a('q1tI'),
|
893
|
+
n = a.n(l),
|
894
|
+
r = a('k3GJ'),
|
895
|
+
c = a('MZF8'),
|
896
|
+
m = a('dEAq'),
|
897
|
+
d = a('H1Ra');
|
898
|
+
a('RZMt');
|
899
|
+
function o(e, t) {
|
900
|
+
return b(e) || E(e, t) || u(e, t) || i();
|
901
|
+
}
|
902
|
+
function i() {
|
903
|
+
throw new TypeError(
|
904
|
+
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
|
905
|
+
);
|
906
|
+
}
|
907
|
+
function u(e, t) {
|
908
|
+
if (e) {
|
909
|
+
if ('string' === typeof e) return s(e, t);
|
910
|
+
var a = Object.prototype.toString.call(e).slice(8, -1);
|
911
|
+
return (
|
912
|
+
'Object' === a && e.constructor && (a = e.constructor.name),
|
913
|
+
'Map' === a || 'Set' === a
|
914
|
+
? Array.from(e)
|
915
|
+
: 'Arguments' === a ||
|
916
|
+
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
|
917
|
+
? s(e, t)
|
918
|
+
: void 0
|
919
|
+
);
|
920
|
+
}
|
921
|
+
}
|
922
|
+
function s(e, t) {
|
923
|
+
(null == t || t > e.length) && (t = e.length);
|
924
|
+
for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
|
925
|
+
return l;
|
926
|
+
}
|
927
|
+
function E(e, t) {
|
928
|
+
var a =
|
929
|
+
null == e
|
930
|
+
? null
|
931
|
+
: ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
|
932
|
+
e['@@iterator'];
|
933
|
+
if (null != a) {
|
934
|
+
var l,
|
935
|
+
n,
|
936
|
+
r = [],
|
937
|
+
c = !0,
|
938
|
+
m = !1;
|
939
|
+
try {
|
940
|
+
for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
|
941
|
+
if ((r.push(l.value), t && r.length === t)) break;
|
942
|
+
} catch (d) {
|
943
|
+
(m = !0), (n = d);
|
944
|
+
} finally {
|
945
|
+
try {
|
946
|
+
c || null == a['return'] || a['return']();
|
947
|
+
} finally {
|
948
|
+
if (m) throw n;
|
949
|
+
}
|
950
|
+
}
|
951
|
+
return r;
|
952
|
+
}
|
953
|
+
}
|
954
|
+
function b(e) {
|
955
|
+
if (Array.isArray(e)) return e;
|
956
|
+
}
|
957
|
+
function f(e, t) {
|
958
|
+
var a,
|
959
|
+
l =
|
960
|
+
null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
|
961
|
+
return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
|
962
|
+
}
|
963
|
+
var p = function (e) {
|
964
|
+
var t,
|
965
|
+
a,
|
966
|
+
i,
|
967
|
+
u = Object(l['useRef'])(),
|
968
|
+
s = Object(l['useContext'])(m['context']),
|
969
|
+
E = s.locale,
|
970
|
+
b = Object(m['useLocaleProps'])(E, e),
|
971
|
+
p = Object(m['useDemoUrl'])(b.identifier),
|
972
|
+
h = b.demoUrl || p,
|
973
|
+
v =
|
974
|
+
(null === c['a'] || void 0 === c['a']
|
975
|
+
? void 0
|
976
|
+
: c['a'].location.hash) === '#'.concat(b.identifier),
|
977
|
+
k = 1 === Object.keys(b.sources).length,
|
978
|
+
N = Object(m['useCodeSandbox'])(
|
979
|
+
(
|
980
|
+
null === (t = b.hideActions) || void 0 === t
|
981
|
+
? void 0
|
982
|
+
: t.includes('CSB')
|
983
|
+
)
|
984
|
+
? null
|
985
|
+
: b,
|
986
|
+
),
|
987
|
+
w = Object(m['useRiddle'])(
|
988
|
+
(
|
989
|
+
null === (a = b.hideActions) || void 0 === a
|
990
|
+
? void 0
|
991
|
+
: a.includes('RIDDLE')
|
992
|
+
)
|
993
|
+
? null
|
994
|
+
: b,
|
995
|
+
),
|
996
|
+
y = Object(m['useMotions'])(b.motions || [], u.current),
|
997
|
+
g = o(y, 2),
|
998
|
+
_ = g[0],
|
999
|
+
x = g[1],
|
1000
|
+
A = Object(m['useCopy'])(),
|
1001
|
+
I = o(A, 2),
|
1002
|
+
L = I[0],
|
1003
|
+
j = I[1],
|
1004
|
+
P = Object(l['useState'])('_'),
|
1005
|
+
C = o(P, 2),
|
1006
|
+
O = C[0],
|
1007
|
+
R = C[1],
|
1008
|
+
S = Object(l['useState'])(f(O, b.sources[O])),
|
1009
|
+
T = o(S, 2),
|
1010
|
+
B = T[0],
|
1011
|
+
M = T[1],
|
1012
|
+
D = Object(l['useState'])(Boolean(b.defaultShowCode)),
|
1013
|
+
K = o(D, 2),
|
1014
|
+
U = K[0],
|
1015
|
+
Z = K[1],
|
1016
|
+
J = Object(l['useState'])(Math.random()),
|
1017
|
+
q = o(J, 2),
|
1018
|
+
F = q[0],
|
1019
|
+
$ = q[1],
|
1020
|
+
z = b.sources[O][B] || b.sources[O].content,
|
1021
|
+
G = Object(m['useTSPlaygroundUrl'])(E, z),
|
1022
|
+
H = Object(l['useRef'])(),
|
1023
|
+
X = Object(m['usePrefersColor'])(),
|
1024
|
+
V = o(X, 1),
|
1025
|
+
Q = V[0];
|
1026
|
+
function W(e) {
|
1027
|
+
R(e), M(f(e, b.sources[e]));
|
1028
|
+
}
|
1029
|
+
return (
|
1030
|
+
Object(l['useEffect'])(
|
1031
|
+
function () {
|
1032
|
+
$(Math.random());
|
1033
|
+
},
|
1034
|
+
[Q],
|
1035
|
+
),
|
1036
|
+
n.a.createElement(
|
1037
|
+
'div',
|
1038
|
+
{
|
1039
|
+
style: b.style,
|
1040
|
+
className: [
|
1041
|
+
b.className,
|
1042
|
+
'__dumi-default-previewer',
|
1043
|
+
v ? '__dumi-default-previewer-target' : '',
|
1044
|
+
]
|
1045
|
+
.filter(Boolean)
|
1046
|
+
.join(' '),
|
1047
|
+
id: b.identifier,
|
1048
|
+
'data-debug': b.debug || void 0,
|
1049
|
+
'data-iframe': b.iframe || void 0,
|
1050
|
+
},
|
1051
|
+
b.iframe &&
|
1052
|
+
n.a.createElement('div', {
|
1053
|
+
className: '__dumi-default-previewer-browser-nav',
|
1054
|
+
}),
|
1055
|
+
n.a.createElement(
|
1056
|
+
'div',
|
1057
|
+
{
|
1058
|
+
ref: u,
|
1059
|
+
className: '__dumi-default-previewer-demo',
|
1060
|
+
style: {
|
1061
|
+
transform: b.transform ? 'translate(0, 0)' : void 0,
|
1062
|
+
padding:
|
1063
|
+
b.compact || (b.iframe && !1 !== b.compact) ? '0' : void 0,
|
1064
|
+
background: b.background,
|
1065
|
+
},
|
1066
|
+
},
|
1067
|
+
b.iframe
|
1068
|
+
? n.a.createElement('iframe', {
|
1069
|
+
title: 'dumi-previewer',
|
1070
|
+
style: {
|
1071
|
+
height: String(b.iframe).replace(/(\d)$/, '$1px'),
|
1072
|
+
},
|
1073
|
+
key: F,
|
1074
|
+
src: h,
|
1075
|
+
ref: H,
|
1076
|
+
})
|
1077
|
+
: b.children,
|
1078
|
+
),
|
1079
|
+
n.a.createElement(
|
1080
|
+
'div',
|
1081
|
+
{
|
1082
|
+
className: '__dumi-default-previewer-desc',
|
1083
|
+
'data-title': b.title,
|
1084
|
+
},
|
1085
|
+
b.title &&
|
1086
|
+
n.a.createElement(
|
1087
|
+
m['AnchorLink'],
|
1088
|
+
{ to: '#'.concat(b.identifier) },
|
1089
|
+
b.title,
|
1090
|
+
),
|
1091
|
+
b.description &&
|
1092
|
+
n.a.createElement('div', {
|
1093
|
+
dangerouslySetInnerHTML: { __html: b.description },
|
1094
|
+
}),
|
1095
|
+
),
|
1096
|
+
n.a.createElement(
|
1097
|
+
'div',
|
1098
|
+
{ className: '__dumi-default-previewer-actions' },
|
1099
|
+
N &&
|
1100
|
+
n.a.createElement('button', {
|
1101
|
+
title: 'Open demo on CodeSandbox.io',
|
1102
|
+
className: '__dumi-default-icon',
|
1103
|
+
role: 'codesandbox',
|
1104
|
+
onClick: N,
|
1105
|
+
}),
|
1106
|
+
w &&
|
1107
|
+
n.a.createElement('button', {
|
1108
|
+
title: 'Open demo on Riddle',
|
1109
|
+
className: '__dumi-default-icon',
|
1110
|
+
role: 'riddle',
|
1111
|
+
onClick: w,
|
1112
|
+
}),
|
1113
|
+
b.motions &&
|
1114
|
+
n.a.createElement('button', {
|
1115
|
+
title: 'Execute motions',
|
1116
|
+
className: '__dumi-default-icon',
|
1117
|
+
role: 'motions',
|
1118
|
+
disabled: x,
|
1119
|
+
onClick: function () {
|
1120
|
+
return _();
|
1121
|
+
},
|
1122
|
+
}),
|
1123
|
+
b.iframe &&
|
1124
|
+
n.a.createElement('button', {
|
1125
|
+
title: 'Reload demo iframe page',
|
1126
|
+
className: '__dumi-default-icon',
|
1127
|
+
role: 'refresh',
|
1128
|
+
onClick: function () {
|
1129
|
+
return $(Math.random());
|
1130
|
+
},
|
1131
|
+
}),
|
1132
|
+
!(null === (i = b.hideActions) || void 0 === i
|
1133
|
+
? void 0
|
1134
|
+
: i.includes('EXTERNAL')) &&
|
1135
|
+
n.a.createElement(
|
1136
|
+
m['Link'],
|
1137
|
+
{ target: '_blank', to: h },
|
1138
|
+
n.a.createElement('button', {
|
1139
|
+
title: 'Open demo in new tab',
|
1140
|
+
className: '__dumi-default-icon',
|
1141
|
+
role: 'open-demo',
|
1142
|
+
type: 'button',
|
1143
|
+
}),
|
1144
|
+
),
|
1145
|
+
n.a.createElement('span', null),
|
1146
|
+
n.a.createElement('button', {
|
1147
|
+
title: 'Copy source code',
|
1148
|
+
className: '__dumi-default-icon',
|
1149
|
+
role: 'copy',
|
1150
|
+
'data-status': j,
|
1151
|
+
onClick: function () {
|
1152
|
+
return L(z);
|
1153
|
+
},
|
1154
|
+
}),
|
1155
|
+
'tsx' === B &&
|
1156
|
+
U &&
|
1157
|
+
n.a.createElement(
|
1158
|
+
m['Link'],
|
1159
|
+
{ target: '_blank', to: G },
|
1160
|
+
n.a.createElement('button', {
|
1161
|
+
title: 'Get JSX via TypeScript Playground',
|
1162
|
+
className: '__dumi-default-icon',
|
1163
|
+
role: 'change-tsx',
|
1164
|
+
type: 'button',
|
1165
|
+
}),
|
1166
|
+
),
|
1167
|
+
n.a.createElement('button', {
|
1168
|
+
title: 'Toggle source code panel',
|
1169
|
+
className: '__dumi-default-icon'.concat(
|
1170
|
+
U ? ' __dumi-default-btn-expand' : '',
|
1171
|
+
),
|
1172
|
+
role: 'source',
|
1173
|
+
type: 'button',
|
1174
|
+
onClick: function () {
|
1175
|
+
return Z(!U);
|
1176
|
+
},
|
1177
|
+
}),
|
1178
|
+
),
|
1179
|
+
U &&
|
1180
|
+
n.a.createElement(
|
1181
|
+
'div',
|
1182
|
+
{ className: '__dumi-default-previewer-source-wrapper' },
|
1183
|
+
!k &&
|
1184
|
+
n.a.createElement(
|
1185
|
+
r['b'],
|
1186
|
+
{
|
1187
|
+
className: '__dumi-default-previewer-source-tab',
|
1188
|
+
prefixCls: '__dumi-default-tabs',
|
1189
|
+
moreIcon: '\xb7\xb7\xb7',
|
1190
|
+
defaultActiveKey: O,
|
1191
|
+
onChange: W,
|
1192
|
+
},
|
1193
|
+
Object.keys(b.sources).map(function (e) {
|
1194
|
+
return n.a.createElement(r['a'], {
|
1195
|
+
tab:
|
1196
|
+
'_' === e ? 'index.'.concat(f(e, b.sources[e])) : e,
|
1197
|
+
key: e,
|
1198
|
+
});
|
1199
|
+
}),
|
1200
|
+
),
|
1201
|
+
n.a.createElement(
|
1202
|
+
'div',
|
1203
|
+
{ className: '__dumi-default-previewer-source' },
|
1204
|
+
n.a.createElement(d['a'], { code: z, lang: B, showCopy: !1 }),
|
1205
|
+
),
|
1206
|
+
),
|
1207
|
+
)
|
1208
|
+
);
|
1209
|
+
};
|
1210
|
+
t['default'] = p;
|
1211
|
+
},
|
1212
|
+
},
|
1213
|
+
]);
|