@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,1042 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[66],{fGL1:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("dEAq");l("JjdP");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("div",{className:"markdown"},n.a.createElement("h1",{id:"treeselect-\u6811\u9009\u62e9"},n.a.createElement(r["AnchorLink"],{to:"#treeselect-\u6811\u9009\u62e9","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"TreeSelect \u6811\u9009\u62e9"),n.a.createElement("p",null,"\u6811\u578b\u9009\u62e9\u63a7\u4ef6\u3002"),n.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),n.a.createElement("p",null,"\u7c7b\u4f3c Select \u7684\u9009\u62e9\u63a7\u4ef6\uff0c\u53ef\u9009\u62e9\u7684\u6570\u636e\u7ed3\u6784\u662f\u4e00\u4e2a\u6811\u5f62\u7ed3\u6784\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 TreeSelect\uff0c\u4f8b\u5982\u516c\u53f8\u5c42\u7ea7\u3001\u5b66\u79d1\u7cfb\u7edf\u3001\u5206\u7c7b\u76ee\u5f55\u7b49\u7b49\u3002"),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:"tree-props"},n.a.createElement(r["AnchorLink"],{to:"#tree-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Tree props"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"allowClear"),n.a.createElement("td",null,"\u663e\u793a\u6e05\u9664\u6309\u94ae"),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,"autoClearSearchValue"),n.a.createElement("td",null,"\u5f53\u591a\u9009\u6a21\u5f0f\u4e0b\u503c\u88ab\u9009\u62e9\uff0c\u81ea\u52a8\u6e05\u7a7a\u641c\u7d22\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"bordered"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u8fb9\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee"),n.a.createElement("td",null,"string | string[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownClassName"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u7684 className \u5c5e\u6027"),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,"dropdownMatchSelectWidth"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u548c\u9009\u62e9\u5668\u540c\u5bbd\u3002\u9ed8\u8ba4\u5c06\u8bbe\u7f6e ",n.a.createElement("code",null,"min-width"),"\uff0c\u5f53\u503c\u5c0f\u4e8e\u9009\u62e9\u6846\u5bbd\u5ea6\u65f6\u4f1a\u88ab\u5ffd\u7565\u3002false \u65f6\u4f1a\u5173\u95ed\u865a\u62df\u6eda\u52a8"),n.a.createElement("td",null,"boolean | number"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u4e0b\u62c9\u6846\u5185\u5bb9"),n.a.createElement("td",null,"(originNode: ReactNode, props) => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownStyle"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u7684\u6837\u5f0f"),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,"fieldNames"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u8282\u70b9 label\u3001key\u3001children \u7684\u5b57\u6bb5"),n.a.createElement("td",null,"object"),n.a.createElement("td",null,"{"," label: ",n.a.createElement("code",null,"label"),", key: ",n.a.createElement("code",null,"key"),", children: ",n.a.createElement("code",null,"children")," ","}"),n.a.createElement("td",null,"4.17.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"filterTreeNode"),n.a.createElement("td",null,"\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\uff0c\u9ed8\u8ba4\u7528 treeNodeFilterProp \u7684\u503c\u4f5c\u4e3a\u8981\u7b5b\u9009\u7684 TreeNode \u7684\u5c5e\u6027\u503c"),n.a.createElement("td",null,"boolean | function(inputValue: string, treeNode: TreeNode) (\u51fd\u6570\u9700\u8981\u8fd4\u56de bool \u503c)"),n.a.createElement("td",null,"function"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"getPopupContainer"),n.a.createElement("td",null,"\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002",n.a.createElement(r["Link"],{to:"https://codepen.io/afc163/pen/zEjNOy?editors=0010"},"\u793a\u4f8b")),n.a.createElement("td",null,"function(triggerNode)"),n.a.createElement("td",null,"() => document.body"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"labelInValue"),n.a.createElement("td",null,"\u662f\u5426\u628a\u6bcf\u4e2a\u9009\u9879\u7684 label \u5305\u88c5\u5230 value \u4e2d\uff0c\u4f1a\u628a value \u7c7b\u578b\u4ece ",n.a.createElement("code",null,"string")," \u53d8\u4e3a ","{","value: string, label: ReactNode, halfChecked(treeCheckStrictly \u65f6\u6709\u6548): string[] ","}"," \u7684\u683c\u5f0f"),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,"listHeight"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5f39\u7a97\u6eda\u52a8\u9ad8\u5ea6"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"256"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"loadData"),n.a.createElement("td",null,"\u5f02\u6b65\u52a0\u8f7d\u6570\u636e"),n.a.createElement("td",null,"function(node)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"maxTagCount"),n.a.createElement("td",null,"\u6700\u591a\u663e\u793a\u591a\u5c11\u4e2a tag\uff0c\u54cd\u5e94\u5f0f\u6a21\u5f0f\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u635f\u8017"),n.a.createElement("td",null,"number | ",n.a.createElement("code",null,"responsive")),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"responsive: 4.10")),n.a.createElement("tr",null,n.a.createElement("td",null,"maxTagPlaceholder"),n.a.createElement("td",null,"\u9690\u85cf tag \u65f6\u663e\u793a\u7684\u5185\u5bb9"),n.a.createElement("td",null,"ReactNode | function(omittedValues)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"multiple"),n.a.createElement("td",null,"\u652f\u6301\u591a\u9009\uff08\u5f53\u8bbe\u7f6e treeCheckable \u65f6\u81ea\u52a8\u53d8\u4e3a true\uff09"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"placeholder"),n.a.createElement("td",null,"\u9009\u62e9\u6846\u9ed8\u8ba4\u6587\u5b57"),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,"searchValue"),n.a.createElement("td",null,"\u641c\u7d22\u6846\u7684\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7 ",n.a.createElement("code",null,"onSearch")," \u83b7\u53d6\u7528\u6237\u8f93\u5165"),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,"showArrow"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a ",n.a.createElement("code",null,"suffixIcon"),"\uff0c\u5355\u9009\u6a21\u5f0f\u4e0b\u9ed8\u8ba4 ",n.a.createElement("code",null,"true")),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showCheckedStrategy"),n.a.createElement("td",null,"\u914d\u7f6e ",n.a.createElement("code",null,"treeCheckable")," \u65f6\uff0c\u5b9a\u4e49\u9009\u4e2d\u9879\u56de\u586b\u7684\u65b9\u5f0f\u3002",n.a.createElement("code",null,"TreeSelect.SHOW_ALL"),": \u663e\u793a\u6240\u6709\u9009\u4e2d\u8282\u70b9(\u5305\u62ec\u7236\u8282\u70b9)\u3002",n.a.createElement("code",null,"TreeSelect.SHOW_PARENT"),": \u53ea\u663e\u793a\u7236\u8282\u70b9(\u5f53\u7236\u8282\u70b9\u4e0b\u6240\u6709\u5b50\u8282\u70b9\u90fd\u9009\u4e2d\u65f6)\u3002 \u9ed8\u8ba4\u53ea\u663e\u793a\u5b50\u8282\u70b9"),n.a.createElement("td",null,n.a.createElement("code",null,"TreeSelect.SHOW_ALL")," | ",n.a.createElement("code",null,"TreeSelect.SHOW_PARENT")," | ",n.a.createElement("code",null,"TreeSelect.SHOW_CHILD")),n.a.createElement("td",null,n.a.createElement("code",null,"TreeSelect.SHOW_CHILD")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showSearch"),n.a.createElement("td",null,"\u662f\u5426\u652f\u6301\u641c\u7d22\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"\u5355\u9009\uff1afalse | \u591a\u9009\uff1atrue"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u9009\u62e9\u6846\u5927\u5c0f"),n.a.createElement("td",null,n.a.createElement("code",null,"large")," | ",n.a.createElement("code",null,"middle")," | ",n.a.createElement("code",null,"small")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"suffixIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807, \u591a\u9009\u6a21\u5f0f\u4e0b\u5fc5\u987b\u540c\u65f6\u8bbe\u7f6e ",n.a.createElement("code",null,"showArrow")," \u4e3a true"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"switcherIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6811\u8282\u70b9\u7684\u5c55\u5f00/\u6298\u53e0\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"treeCheckable"),n.a.createElement("td",null,"\u663e\u793a Checkbox"),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,"treeCheckStrictly"),n.a.createElement("td",null,n.a.createElement("code",null,"checkable")," \u72b6\u6001\u4e0b\u8282\u70b9\u9009\u62e9\u5b8c\u5168\u53d7\u63a7\uff08\u7236\u5b50\u8282\u70b9\u9009\u4e2d\u72b6\u6001\u4e0d\u518d\u5173\u8054\uff09\uff0c\u4f1a\u4f7f\u5f97 ",n.a.createElement("code",null,"labelInValue")," \u5f3a\u5236\u4e3a true"),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,"treeData"),n.a.createElement("td",null,"treeNodes \u6570\u636e\uff0c\u5982\u679c\u8bbe\u7f6e\u5219\u4e0d\u9700\u8981\u624b\u52a8\u6784\u9020 TreeNode \u8282\u70b9\uff08value \u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09"),n.a.createElement("td",null,"array<","{","value, title, children, [disabled, disableCheckbox, selectable, checkable]","}",">"),n.a.createElement("td",null,"[]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"treeDataSimpleMode"),n.a.createElement("td",null,"\u4f7f\u7528\u7b80\u5355\u683c\u5f0f\u7684 treeData\uff0c\u5177\u4f53\u8bbe\u7f6e\u53c2\u8003\u53ef\u8bbe\u7f6e\u7684\u7c7b\u578b (\u6b64\u65f6 treeData \u5e94\u53d8\u4e3a\u8fd9\u6837\u7684\u6570\u636e\u7ed3\u6784: [","{","id:1, pId:0, value:'1', title:\"test1\",...","}",",...]\uff0c ",n.a.createElement("code",null,"pId")," \u662f\u7236\u8282\u70b9\u7684 id)"),n.a.createElement("td",null,"boolean | object<","{"," id: string, pId: string, rootPId: string ","}",">"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"treeDefaultExpandAll"),n.a.createElement("td",null,"\u9ed8\u8ba4\u5c55\u5f00\u6240\u6709\u6811\u8282\u70b9"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"treeDefaultExpandedKeys"),n.a.createElement("td",null,"\u9ed8\u8ba4\u5c55\u5f00\u7684\u6811\u8282\u70b9"),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,"treeExpandedKeys"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5c55\u5f00\u7684\u6811\u8282\u70b9"),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,"treeIcon"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u793a TreeNode title \u524d\u7684\u56fe\u6807\uff0c\u6ca1\u6709\u9ed8\u8ba4\u6837\u5f0f\uff0c\u5982\u8bbe\u7f6e\u4e3a true\uff0c\u9700\u8981\u81ea\u884c\u5b9a\u4e49\u56fe\u6807\u76f8\u5173\u6837\u5f0f"),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,"treeLine"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u7ebf\u6761\u6837\u5f0f\uff0c\u8bf7\u53c2\u8003 ",n.a.createElement(r["AnchorLink"],{to:"/components/tree/#components-tree-demo-line"},"Tree - showLine")),n.a.createElement("td",null,"boolean | object"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.17.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"treeNodeFilterProp"),n.a.createElement("td",null,"\u8f93\u5165\u9879\u8fc7\u6ee4\u5bf9\u5e94\u7684 treeNode \u5c5e\u6027"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"value")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"treeNodeLabelProp"),n.a.createElement("td",null,"\u4f5c\u4e3a\u663e\u793a\u7684 prop \u8bbe\u7f6e"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"title")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee"),n.a.createElement("td",null,"string | string[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"virtual"),n.a.createElement("td",null,"\u8bbe\u7f6e false \u65f6\u5173\u95ed\u865a\u62df\u6eda\u52a8"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null,"4.1.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u9009\u4e2d\u6811\u8282\u70b9\u65f6\u8c03\u7528\u6b64\u51fd\u6570"),n.a.createElement("td",null,"function(value, label, extra)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onDropdownVisibleChange"),n.a.createElement("td",null,"\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(open)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSearch"),n.a.createElement("td",null,"\u6587\u672c\u6846\u503c\u53d8\u5316\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function(value: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSelect"),n.a.createElement("td",null,"\u88ab\u9009\u4e2d\u65f6\u8c03\u7528"),n.a.createElement("td",null,"function(value, node, extra)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onTreeExpand"),n.a.createElement("td",null,"\u5c55\u793a\u8282\u70b9\u65f6\u8c03\u7528"),n.a.createElement("td",null,"function(expandedKeys)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"tree-\u65b9\u6cd5"},n.a.createElement(r["AnchorLink"],{to:"#tree-\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Tree \u65b9\u6cd5"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u540d\u79f0"),n.a.createElement("th",null,"\u63cf\u8ff0"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"blur()"),n.a.createElement("td",null,"\u79fb\u9664\u7126\u70b9"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"focus()"),n.a.createElement("td",null,"\u83b7\u53d6\u7126\u70b9"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"treenode-props"},n.a.createElement(r["AnchorLink"],{to:"#treenode-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"TreeNode props"),n.a.createElement("blockquote",null,n.a.createElement("p",null,"\u5efa\u8bae\u4f7f\u7528 treeData \u6765\u4ee3\u66ff TreeNode\uff0c\u514d\u53bb\u624b\u5de5\u6784\u9020\u9ebb\u70e6")),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,"checkable"),n.a.createElement("td",null,"\u5f53\u6811\u4e3a Checkbox \u65f6\uff0c\u8bbe\u7f6e\u72ec\u7acb\u8282\u70b9\u662f\u5426\u5c55\u793a Checkbox"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disableCheckbox"),n.a.createElement("td",null,"\u7981\u6389 Checkbox"),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,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"isLeaf"),n.a.createElement("td",null,"\u662f\u5426\u662f\u53f6\u5b50\u8282\u70b9"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"key"),n.a.createElement("td",null,"\u6b64\u9879\u5fc5\u987b\u8bbe\u7f6e\uff08\u5176\u503c\u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09"),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,"selectable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u9009"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"title"),n.a.createElement("td",null,"\u6811\u8282\u70b9\u663e\u793a\u7684\u5185\u5bb9"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,n.a.createElement("code",null,"---")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u9ed8\u8ba4\u6839\u636e\u6b64\u5c5e\u6027\u503c\u8fdb\u884c\u7b5b\u9009\uff08\u5176\u503c\u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h2",{id:"faq"},n.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"FAQ"),n.a.createElement("h3",{id:"onchange-\u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f"},n.a.createElement(r["AnchorLink"],{to:"#onchange-\u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"onChange \u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f\uff1f"),n.a.createElement("p",null,"\u4ece\u6027\u80fd\u89d2\u5ea6\u8003\u8651\uff0c\u6211\u4eec\u9ed8\u8ba4\u4e0d\u900f\u51fa\u7236\u8282\u70b9\u4fe1\u606f\u3002\u4f60\u53ef\u4ee5\u8fd9\u6837\u83b7\u5f97\uff1a",n.a.createElement(r["Link"],{to:"https://codesandbox.io/s/wk080nn81k"},"https://codesandbox.io/s/wk080nn81k")),n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49 Option \u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e\uff1f"),n.a.createElement("p",null,"\u8bf7\u53c2\u8003 Select \u7684 ",n.a.createElement(r["Link"],{to:"/components/select"},"FAQ"),"\u3002"))))}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[66],
|
3
|
+
{
|
4
|
+
fGL1: function (e, t, l) {
|
5
|
+
'use strict';
|
6
|
+
l.r(t);
|
7
|
+
var a = l('q1tI'),
|
8
|
+
n = l.n(a),
|
9
|
+
r = l('dEAq');
|
10
|
+
l('JjdP');
|
11
|
+
t['default'] = (e) => (
|
12
|
+
n.a.useEffect(() => {
|
13
|
+
var t;
|
14
|
+
null !== e &&
|
15
|
+
void 0 !== e &&
|
16
|
+
null !== (t = e.location) &&
|
17
|
+
void 0 !== t &&
|
18
|
+
t.hash &&
|
19
|
+
r['AnchorLink'].scrollToAnchor(
|
20
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
21
|
+
);
|
22
|
+
}, []),
|
23
|
+
n.a.createElement(
|
24
|
+
n.a.Fragment,
|
25
|
+
null,
|
26
|
+
n.a.createElement(
|
27
|
+
'div',
|
28
|
+
{ className: 'markdown' },
|
29
|
+
n.a.createElement(
|
30
|
+
'h1',
|
31
|
+
{ id: 'treeselect-\u6811\u9009\u62e9' },
|
32
|
+
n.a.createElement(
|
33
|
+
r['AnchorLink'],
|
34
|
+
{
|
35
|
+
to: '#treeselect-\u6811\u9009\u62e9',
|
36
|
+
'aria-hidden': 'true',
|
37
|
+
tabIndex: -1,
|
38
|
+
},
|
39
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
40
|
+
),
|
41
|
+
'TreeSelect \u6811\u9009\u62e9',
|
42
|
+
),
|
43
|
+
n.a.createElement(
|
44
|
+
'p',
|
45
|
+
null,
|
46
|
+
'\u6811\u578b\u9009\u62e9\u63a7\u4ef6\u3002',
|
47
|
+
),
|
48
|
+
n.a.createElement(
|
49
|
+
'h2',
|
50
|
+
{ id: '\u4f55\u65f6\u4f7f\u7528' },
|
51
|
+
n.a.createElement(
|
52
|
+
r['AnchorLink'],
|
53
|
+
{
|
54
|
+
to: '#\u4f55\u65f6\u4f7f\u7528',
|
55
|
+
'aria-hidden': 'true',
|
56
|
+
tabIndex: -1,
|
57
|
+
},
|
58
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
59
|
+
),
|
60
|
+
'\u4f55\u65f6\u4f7f\u7528',
|
61
|
+
),
|
62
|
+
n.a.createElement(
|
63
|
+
'p',
|
64
|
+
null,
|
65
|
+
'\u7c7b\u4f3c Select \u7684\u9009\u62e9\u63a7\u4ef6\uff0c\u53ef\u9009\u62e9\u7684\u6570\u636e\u7ed3\u6784\u662f\u4e00\u4e2a\u6811\u5f62\u7ed3\u6784\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 TreeSelect\uff0c\u4f8b\u5982\u516c\u53f8\u5c42\u7ea7\u3001\u5b66\u79d1\u7cfb\u7edf\u3001\u5206\u7c7b\u76ee\u5f55\u7b49\u7b49\u3002',
|
66
|
+
),
|
67
|
+
n.a.createElement(
|
68
|
+
'h2',
|
69
|
+
{ id: 'api' },
|
70
|
+
n.a.createElement(
|
71
|
+
r['AnchorLink'],
|
72
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
73
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
74
|
+
),
|
75
|
+
'API',
|
76
|
+
),
|
77
|
+
n.a.createElement(
|
78
|
+
'h3',
|
79
|
+
{ id: 'tree-props' },
|
80
|
+
n.a.createElement(
|
81
|
+
r['AnchorLink'],
|
82
|
+
{ to: '#tree-props', 'aria-hidden': 'true', tabIndex: -1 },
|
83
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
84
|
+
),
|
85
|
+
'Tree props',
|
86
|
+
),
|
87
|
+
n.a.createElement(
|
88
|
+
'table',
|
89
|
+
null,
|
90
|
+
n.a.createElement(
|
91
|
+
'thead',
|
92
|
+
null,
|
93
|
+
n.a.createElement(
|
94
|
+
'tr',
|
95
|
+
null,
|
96
|
+
n.a.createElement('th', null, '\u53c2\u6570'),
|
97
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
98
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
99
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
100
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
101
|
+
),
|
102
|
+
),
|
103
|
+
n.a.createElement(
|
104
|
+
'tbody',
|
105
|
+
null,
|
106
|
+
n.a.createElement(
|
107
|
+
'tr',
|
108
|
+
null,
|
109
|
+
n.a.createElement('td', null, 'allowClear'),
|
110
|
+
n.a.createElement(
|
111
|
+
'td',
|
112
|
+
null,
|
113
|
+
'\u663e\u793a\u6e05\u9664\u6309\u94ae',
|
114
|
+
),
|
115
|
+
n.a.createElement('td', null, 'boolean'),
|
116
|
+
n.a.createElement('td', null, 'false'),
|
117
|
+
n.a.createElement('td', null),
|
118
|
+
),
|
119
|
+
n.a.createElement(
|
120
|
+
'tr',
|
121
|
+
null,
|
122
|
+
n.a.createElement('td', null, 'autoClearSearchValue'),
|
123
|
+
n.a.createElement(
|
124
|
+
'td',
|
125
|
+
null,
|
126
|
+
'\u5f53\u591a\u9009\u6a21\u5f0f\u4e0b\u503c\u88ab\u9009\u62e9\uff0c\u81ea\u52a8\u6e05\u7a7a\u641c\u7d22\u6846',
|
127
|
+
),
|
128
|
+
n.a.createElement('td', null, 'boolean'),
|
129
|
+
n.a.createElement('td', null, 'true'),
|
130
|
+
n.a.createElement('td', null),
|
131
|
+
),
|
132
|
+
n.a.createElement(
|
133
|
+
'tr',
|
134
|
+
null,
|
135
|
+
n.a.createElement('td', null, 'bordered'),
|
136
|
+
n.a.createElement(
|
137
|
+
'td',
|
138
|
+
null,
|
139
|
+
'\u662f\u5426\u663e\u793a\u8fb9\u6846',
|
140
|
+
),
|
141
|
+
n.a.createElement('td', null, 'boolean'),
|
142
|
+
n.a.createElement('td', null, 'true'),
|
143
|
+
n.a.createElement('td', null),
|
144
|
+
),
|
145
|
+
n.a.createElement(
|
146
|
+
'tr',
|
147
|
+
null,
|
148
|
+
n.a.createElement('td', null, 'defaultValue'),
|
149
|
+
n.a.createElement(
|
150
|
+
'td',
|
151
|
+
null,
|
152
|
+
'\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee',
|
153
|
+
),
|
154
|
+
n.a.createElement('td', null, 'string | string[]'),
|
155
|
+
n.a.createElement('td', null, '-'),
|
156
|
+
n.a.createElement('td', null),
|
157
|
+
),
|
158
|
+
n.a.createElement(
|
159
|
+
'tr',
|
160
|
+
null,
|
161
|
+
n.a.createElement('td', null, 'disabled'),
|
162
|
+
n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
|
163
|
+
n.a.createElement('td', null, 'boolean'),
|
164
|
+
n.a.createElement('td', null, 'false'),
|
165
|
+
n.a.createElement('td', null),
|
166
|
+
),
|
167
|
+
n.a.createElement(
|
168
|
+
'tr',
|
169
|
+
null,
|
170
|
+
n.a.createElement('td', null, 'dropdownClassName'),
|
171
|
+
n.a.createElement(
|
172
|
+
'td',
|
173
|
+
null,
|
174
|
+
'\u4e0b\u62c9\u83dc\u5355\u7684 className \u5c5e\u6027',
|
175
|
+
),
|
176
|
+
n.a.createElement('td', null, 'string'),
|
177
|
+
n.a.createElement('td', null, '-'),
|
178
|
+
n.a.createElement('td', null),
|
179
|
+
),
|
180
|
+
n.a.createElement(
|
181
|
+
'tr',
|
182
|
+
null,
|
183
|
+
n.a.createElement('td', null, 'dropdownMatchSelectWidth'),
|
184
|
+
n.a.createElement(
|
185
|
+
'td',
|
186
|
+
null,
|
187
|
+
'\u4e0b\u62c9\u83dc\u5355\u548c\u9009\u62e9\u5668\u540c\u5bbd\u3002\u9ed8\u8ba4\u5c06\u8bbe\u7f6e ',
|
188
|
+
n.a.createElement('code', null, 'min-width'),
|
189
|
+
'\uff0c\u5f53\u503c\u5c0f\u4e8e\u9009\u62e9\u6846\u5bbd\u5ea6\u65f6\u4f1a\u88ab\u5ffd\u7565\u3002false \u65f6\u4f1a\u5173\u95ed\u865a\u62df\u6eda\u52a8',
|
190
|
+
),
|
191
|
+
n.a.createElement('td', null, 'boolean | number'),
|
192
|
+
n.a.createElement('td', null, 'true'),
|
193
|
+
n.a.createElement('td', null),
|
194
|
+
),
|
195
|
+
n.a.createElement(
|
196
|
+
'tr',
|
197
|
+
null,
|
198
|
+
n.a.createElement('td', null, 'dropdownRender'),
|
199
|
+
n.a.createElement(
|
200
|
+
'td',
|
201
|
+
null,
|
202
|
+
'\u81ea\u5b9a\u4e49\u4e0b\u62c9\u6846\u5185\u5bb9',
|
203
|
+
),
|
204
|
+
n.a.createElement(
|
205
|
+
'td',
|
206
|
+
null,
|
207
|
+
'(originNode: ReactNode, props) => ReactNode',
|
208
|
+
),
|
209
|
+
n.a.createElement('td', null, '-'),
|
210
|
+
n.a.createElement('td', null),
|
211
|
+
),
|
212
|
+
n.a.createElement(
|
213
|
+
'tr',
|
214
|
+
null,
|
215
|
+
n.a.createElement('td', null, 'dropdownStyle'),
|
216
|
+
n.a.createElement(
|
217
|
+
'td',
|
218
|
+
null,
|
219
|
+
'\u4e0b\u62c9\u83dc\u5355\u7684\u6837\u5f0f',
|
220
|
+
),
|
221
|
+
n.a.createElement('td', null, 'object'),
|
222
|
+
n.a.createElement('td', null, '-'),
|
223
|
+
n.a.createElement('td', null),
|
224
|
+
),
|
225
|
+
n.a.createElement(
|
226
|
+
'tr',
|
227
|
+
null,
|
228
|
+
n.a.createElement('td', null, 'fieldNames'),
|
229
|
+
n.a.createElement(
|
230
|
+
'td',
|
231
|
+
null,
|
232
|
+
'\u81ea\u5b9a\u4e49\u8282\u70b9 label\u3001key\u3001children \u7684\u5b57\u6bb5',
|
233
|
+
),
|
234
|
+
n.a.createElement('td', null, 'object'),
|
235
|
+
n.a.createElement(
|
236
|
+
'td',
|
237
|
+
null,
|
238
|
+
'{',
|
239
|
+
' label: ',
|
240
|
+
n.a.createElement('code', null, 'label'),
|
241
|
+
', key: ',
|
242
|
+
n.a.createElement('code', null, 'key'),
|
243
|
+
', children: ',
|
244
|
+
n.a.createElement('code', null, 'children'),
|
245
|
+
' ',
|
246
|
+
'}',
|
247
|
+
),
|
248
|
+
n.a.createElement('td', null, '4.17.0'),
|
249
|
+
),
|
250
|
+
n.a.createElement(
|
251
|
+
'tr',
|
252
|
+
null,
|
253
|
+
n.a.createElement('td', null, 'filterTreeNode'),
|
254
|
+
n.a.createElement(
|
255
|
+
'td',
|
256
|
+
null,
|
257
|
+
'\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\uff0c\u9ed8\u8ba4\u7528 treeNodeFilterProp \u7684\u503c\u4f5c\u4e3a\u8981\u7b5b\u9009\u7684 TreeNode \u7684\u5c5e\u6027\u503c',
|
258
|
+
),
|
259
|
+
n.a.createElement(
|
260
|
+
'td',
|
261
|
+
null,
|
262
|
+
'boolean | function(inputValue: string, treeNode: TreeNode) (\u51fd\u6570\u9700\u8981\u8fd4\u56de bool \u503c)',
|
263
|
+
),
|
264
|
+
n.a.createElement('td', null, 'function'),
|
265
|
+
n.a.createElement('td', null),
|
266
|
+
),
|
267
|
+
n.a.createElement(
|
268
|
+
'tr',
|
269
|
+
null,
|
270
|
+
n.a.createElement('td', null, 'getPopupContainer'),
|
271
|
+
n.a.createElement(
|
272
|
+
'td',
|
273
|
+
null,
|
274
|
+
'\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002',
|
275
|
+
n.a.createElement(
|
276
|
+
r['Link'],
|
277
|
+
{
|
278
|
+
to: 'https://codepen.io/afc163/pen/zEjNOy?editors=0010',
|
279
|
+
},
|
280
|
+
'\u793a\u4f8b',
|
281
|
+
),
|
282
|
+
),
|
283
|
+
n.a.createElement('td', null, 'function(triggerNode)'),
|
284
|
+
n.a.createElement('td', null, '() => document.body'),
|
285
|
+
n.a.createElement('td', null),
|
286
|
+
),
|
287
|
+
n.a.createElement(
|
288
|
+
'tr',
|
289
|
+
null,
|
290
|
+
n.a.createElement('td', null, 'labelInValue'),
|
291
|
+
n.a.createElement(
|
292
|
+
'td',
|
293
|
+
null,
|
294
|
+
'\u662f\u5426\u628a\u6bcf\u4e2a\u9009\u9879\u7684 label \u5305\u88c5\u5230 value \u4e2d\uff0c\u4f1a\u628a value \u7c7b\u578b\u4ece ',
|
295
|
+
n.a.createElement('code', null, 'string'),
|
296
|
+
' \u53d8\u4e3a ',
|
297
|
+
'{',
|
298
|
+
'value: string, label: ReactNode, halfChecked(treeCheckStrictly \u65f6\u6709\u6548): string[] ',
|
299
|
+
'}',
|
300
|
+
' \u7684\u683c\u5f0f',
|
301
|
+
),
|
302
|
+
n.a.createElement('td', null, 'boolean'),
|
303
|
+
n.a.createElement('td', null, 'false'),
|
304
|
+
n.a.createElement('td', null),
|
305
|
+
),
|
306
|
+
n.a.createElement(
|
307
|
+
'tr',
|
308
|
+
null,
|
309
|
+
n.a.createElement('td', null, 'listHeight'),
|
310
|
+
n.a.createElement(
|
311
|
+
'td',
|
312
|
+
null,
|
313
|
+
'\u8bbe\u7f6e\u5f39\u7a97\u6eda\u52a8\u9ad8\u5ea6',
|
314
|
+
),
|
315
|
+
n.a.createElement('td', null, 'number'),
|
316
|
+
n.a.createElement('td', null, '256'),
|
317
|
+
n.a.createElement('td', null),
|
318
|
+
),
|
319
|
+
n.a.createElement(
|
320
|
+
'tr',
|
321
|
+
null,
|
322
|
+
n.a.createElement('td', null, 'loadData'),
|
323
|
+
n.a.createElement(
|
324
|
+
'td',
|
325
|
+
null,
|
326
|
+
'\u5f02\u6b65\u52a0\u8f7d\u6570\u636e',
|
327
|
+
),
|
328
|
+
n.a.createElement('td', null, 'function(node)'),
|
329
|
+
n.a.createElement('td', null, '-'),
|
330
|
+
n.a.createElement('td', null),
|
331
|
+
),
|
332
|
+
n.a.createElement(
|
333
|
+
'tr',
|
334
|
+
null,
|
335
|
+
n.a.createElement('td', null, 'maxTagCount'),
|
336
|
+
n.a.createElement(
|
337
|
+
'td',
|
338
|
+
null,
|
339
|
+
'\u6700\u591a\u663e\u793a\u591a\u5c11\u4e2a tag\uff0c\u54cd\u5e94\u5f0f\u6a21\u5f0f\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u635f\u8017',
|
340
|
+
),
|
341
|
+
n.a.createElement(
|
342
|
+
'td',
|
343
|
+
null,
|
344
|
+
'number | ',
|
345
|
+
n.a.createElement('code', null, 'responsive'),
|
346
|
+
),
|
347
|
+
n.a.createElement('td', null, '-'),
|
348
|
+
n.a.createElement('td', null, 'responsive: 4.10'),
|
349
|
+
),
|
350
|
+
n.a.createElement(
|
351
|
+
'tr',
|
352
|
+
null,
|
353
|
+
n.a.createElement('td', null, 'maxTagPlaceholder'),
|
354
|
+
n.a.createElement(
|
355
|
+
'td',
|
356
|
+
null,
|
357
|
+
'\u9690\u85cf tag \u65f6\u663e\u793a\u7684\u5185\u5bb9',
|
358
|
+
),
|
359
|
+
n.a.createElement(
|
360
|
+
'td',
|
361
|
+
null,
|
362
|
+
'ReactNode | function(omittedValues)',
|
363
|
+
),
|
364
|
+
n.a.createElement('td', null, '-'),
|
365
|
+
n.a.createElement('td', null),
|
366
|
+
),
|
367
|
+
n.a.createElement(
|
368
|
+
'tr',
|
369
|
+
null,
|
370
|
+
n.a.createElement('td', null, 'multiple'),
|
371
|
+
n.a.createElement(
|
372
|
+
'td',
|
373
|
+
null,
|
374
|
+
'\u652f\u6301\u591a\u9009\uff08\u5f53\u8bbe\u7f6e treeCheckable \u65f6\u81ea\u52a8\u53d8\u4e3a true\uff09',
|
375
|
+
),
|
376
|
+
n.a.createElement('td', null, 'boolean'),
|
377
|
+
n.a.createElement('td', null, 'false'),
|
378
|
+
n.a.createElement('td', null),
|
379
|
+
),
|
380
|
+
n.a.createElement(
|
381
|
+
'tr',
|
382
|
+
null,
|
383
|
+
n.a.createElement('td', null, 'placeholder'),
|
384
|
+
n.a.createElement(
|
385
|
+
'td',
|
386
|
+
null,
|
387
|
+
'\u9009\u62e9\u6846\u9ed8\u8ba4\u6587\u5b57',
|
388
|
+
),
|
389
|
+
n.a.createElement('td', null, 'string'),
|
390
|
+
n.a.createElement('td', null, '-'),
|
391
|
+
n.a.createElement('td', null),
|
392
|
+
),
|
393
|
+
n.a.createElement(
|
394
|
+
'tr',
|
395
|
+
null,
|
396
|
+
n.a.createElement('td', null, 'searchValue'),
|
397
|
+
n.a.createElement(
|
398
|
+
'td',
|
399
|
+
null,
|
400
|
+
'\u641c\u7d22\u6846\u7684\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7 ',
|
401
|
+
n.a.createElement('code', null, 'onSearch'),
|
402
|
+
' \u83b7\u53d6\u7528\u6237\u8f93\u5165',
|
403
|
+
),
|
404
|
+
n.a.createElement('td', null, 'string'),
|
405
|
+
n.a.createElement('td', null, '-'),
|
406
|
+
n.a.createElement('td', null),
|
407
|
+
),
|
408
|
+
n.a.createElement(
|
409
|
+
'tr',
|
410
|
+
null,
|
411
|
+
n.a.createElement('td', null, 'showArrow'),
|
412
|
+
n.a.createElement(
|
413
|
+
'td',
|
414
|
+
null,
|
415
|
+
'\u662f\u5426\u663e\u793a ',
|
416
|
+
n.a.createElement('code', null, 'suffixIcon'),
|
417
|
+
'\uff0c\u5355\u9009\u6a21\u5f0f\u4e0b\u9ed8\u8ba4 ',
|
418
|
+
n.a.createElement('code', null, 'true'),
|
419
|
+
),
|
420
|
+
n.a.createElement('td', null, 'boolean'),
|
421
|
+
n.a.createElement('td', null, '-'),
|
422
|
+
n.a.createElement('td', null),
|
423
|
+
),
|
424
|
+
n.a.createElement(
|
425
|
+
'tr',
|
426
|
+
null,
|
427
|
+
n.a.createElement('td', null, 'showCheckedStrategy'),
|
428
|
+
n.a.createElement(
|
429
|
+
'td',
|
430
|
+
null,
|
431
|
+
'\u914d\u7f6e ',
|
432
|
+
n.a.createElement('code', null, 'treeCheckable'),
|
433
|
+
' \u65f6\uff0c\u5b9a\u4e49\u9009\u4e2d\u9879\u56de\u586b\u7684\u65b9\u5f0f\u3002',
|
434
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_ALL'),
|
435
|
+
': \u663e\u793a\u6240\u6709\u9009\u4e2d\u8282\u70b9(\u5305\u62ec\u7236\u8282\u70b9)\u3002',
|
436
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_PARENT'),
|
437
|
+
': \u53ea\u663e\u793a\u7236\u8282\u70b9(\u5f53\u7236\u8282\u70b9\u4e0b\u6240\u6709\u5b50\u8282\u70b9\u90fd\u9009\u4e2d\u65f6)\u3002 \u9ed8\u8ba4\u53ea\u663e\u793a\u5b50\u8282\u70b9',
|
438
|
+
),
|
439
|
+
n.a.createElement(
|
440
|
+
'td',
|
441
|
+
null,
|
442
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_ALL'),
|
443
|
+
' | ',
|
444
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_PARENT'),
|
445
|
+
' | ',
|
446
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_CHILD'),
|
447
|
+
),
|
448
|
+
n.a.createElement(
|
449
|
+
'td',
|
450
|
+
null,
|
451
|
+
n.a.createElement('code', null, 'TreeSelect.SHOW_CHILD'),
|
452
|
+
),
|
453
|
+
n.a.createElement('td', null),
|
454
|
+
),
|
455
|
+
n.a.createElement(
|
456
|
+
'tr',
|
457
|
+
null,
|
458
|
+
n.a.createElement('td', null, 'showSearch'),
|
459
|
+
n.a.createElement(
|
460
|
+
'td',
|
461
|
+
null,
|
462
|
+
'\u662f\u5426\u652f\u6301\u641c\u7d22\u6846',
|
463
|
+
),
|
464
|
+
n.a.createElement('td', null, 'boolean'),
|
465
|
+
n.a.createElement(
|
466
|
+
'td',
|
467
|
+
null,
|
468
|
+
'\u5355\u9009\uff1afalse | \u591a\u9009\uff1atrue',
|
469
|
+
),
|
470
|
+
n.a.createElement('td', null),
|
471
|
+
),
|
472
|
+
n.a.createElement(
|
473
|
+
'tr',
|
474
|
+
null,
|
475
|
+
n.a.createElement('td', null, 'size'),
|
476
|
+
n.a.createElement(
|
477
|
+
'td',
|
478
|
+
null,
|
479
|
+
'\u9009\u62e9\u6846\u5927\u5c0f',
|
480
|
+
),
|
481
|
+
n.a.createElement(
|
482
|
+
'td',
|
483
|
+
null,
|
484
|
+
n.a.createElement('code', null, 'large'),
|
485
|
+
' | ',
|
486
|
+
n.a.createElement('code', null, 'middle'),
|
487
|
+
' | ',
|
488
|
+
n.a.createElement('code', null, 'small'),
|
489
|
+
),
|
490
|
+
n.a.createElement('td', null, '-'),
|
491
|
+
n.a.createElement('td', null),
|
492
|
+
),
|
493
|
+
n.a.createElement(
|
494
|
+
'tr',
|
495
|
+
null,
|
496
|
+
n.a.createElement('td', null, 'suffixIcon'),
|
497
|
+
n.a.createElement(
|
498
|
+
'td',
|
499
|
+
null,
|
500
|
+
'\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807, \u591a\u9009\u6a21\u5f0f\u4e0b\u5fc5\u987b\u540c\u65f6\u8bbe\u7f6e ',
|
501
|
+
n.a.createElement('code', null, 'showArrow'),
|
502
|
+
' \u4e3a true',
|
503
|
+
),
|
504
|
+
n.a.createElement('td', null, 'ReactNode'),
|
505
|
+
n.a.createElement('td', null, '-'),
|
506
|
+
n.a.createElement('td', null),
|
507
|
+
),
|
508
|
+
n.a.createElement(
|
509
|
+
'tr',
|
510
|
+
null,
|
511
|
+
n.a.createElement('td', null, 'switcherIcon'),
|
512
|
+
n.a.createElement(
|
513
|
+
'td',
|
514
|
+
null,
|
515
|
+
'\u81ea\u5b9a\u4e49\u6811\u8282\u70b9\u7684\u5c55\u5f00/\u6298\u53e0\u56fe\u6807',
|
516
|
+
),
|
517
|
+
n.a.createElement('td', null, 'ReactNode'),
|
518
|
+
n.a.createElement('td', null, '-'),
|
519
|
+
n.a.createElement('td', null),
|
520
|
+
),
|
521
|
+
n.a.createElement(
|
522
|
+
'tr',
|
523
|
+
null,
|
524
|
+
n.a.createElement('td', null, 'treeCheckable'),
|
525
|
+
n.a.createElement('td', null, '\u663e\u793a Checkbox'),
|
526
|
+
n.a.createElement('td', null, 'boolean'),
|
527
|
+
n.a.createElement('td', null, 'false'),
|
528
|
+
n.a.createElement('td', null),
|
529
|
+
),
|
530
|
+
n.a.createElement(
|
531
|
+
'tr',
|
532
|
+
null,
|
533
|
+
n.a.createElement('td', null, 'treeCheckStrictly'),
|
534
|
+
n.a.createElement(
|
535
|
+
'td',
|
536
|
+
null,
|
537
|
+
n.a.createElement('code', null, 'checkable'),
|
538
|
+
' \u72b6\u6001\u4e0b\u8282\u70b9\u9009\u62e9\u5b8c\u5168\u53d7\u63a7\uff08\u7236\u5b50\u8282\u70b9\u9009\u4e2d\u72b6\u6001\u4e0d\u518d\u5173\u8054\uff09\uff0c\u4f1a\u4f7f\u5f97 ',
|
539
|
+
n.a.createElement('code', null, 'labelInValue'),
|
540
|
+
' \u5f3a\u5236\u4e3a true',
|
541
|
+
),
|
542
|
+
n.a.createElement('td', null, 'boolean'),
|
543
|
+
n.a.createElement('td', null, 'false'),
|
544
|
+
n.a.createElement('td', null),
|
545
|
+
),
|
546
|
+
n.a.createElement(
|
547
|
+
'tr',
|
548
|
+
null,
|
549
|
+
n.a.createElement('td', null, 'treeData'),
|
550
|
+
n.a.createElement(
|
551
|
+
'td',
|
552
|
+
null,
|
553
|
+
'treeNodes \u6570\u636e\uff0c\u5982\u679c\u8bbe\u7f6e\u5219\u4e0d\u9700\u8981\u624b\u52a8\u6784\u9020 TreeNode \u8282\u70b9\uff08value \u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09',
|
554
|
+
),
|
555
|
+
n.a.createElement(
|
556
|
+
'td',
|
557
|
+
null,
|
558
|
+
'array<',
|
559
|
+
'{',
|
560
|
+
'value, title, children, [disabled, disableCheckbox, selectable, checkable]',
|
561
|
+
'}',
|
562
|
+
'>',
|
563
|
+
),
|
564
|
+
n.a.createElement('td', null, '[]'),
|
565
|
+
n.a.createElement('td', null),
|
566
|
+
),
|
567
|
+
n.a.createElement(
|
568
|
+
'tr',
|
569
|
+
null,
|
570
|
+
n.a.createElement('td', null, 'treeDataSimpleMode'),
|
571
|
+
n.a.createElement(
|
572
|
+
'td',
|
573
|
+
null,
|
574
|
+
'\u4f7f\u7528\u7b80\u5355\u683c\u5f0f\u7684 treeData\uff0c\u5177\u4f53\u8bbe\u7f6e\u53c2\u8003\u53ef\u8bbe\u7f6e\u7684\u7c7b\u578b (\u6b64\u65f6 treeData \u5e94\u53d8\u4e3a\u8fd9\u6837\u7684\u6570\u636e\u7ed3\u6784: [',
|
575
|
+
'{',
|
576
|
+
'id:1, pId:0, value:\'1\', title:"test1",...',
|
577
|
+
'}',
|
578
|
+
',...]\uff0c ',
|
579
|
+
n.a.createElement('code', null, 'pId'),
|
580
|
+
' \u662f\u7236\u8282\u70b9\u7684 id)',
|
581
|
+
),
|
582
|
+
n.a.createElement(
|
583
|
+
'td',
|
584
|
+
null,
|
585
|
+
'boolean | object<',
|
586
|
+
'{',
|
587
|
+
' id: string, pId: string, rootPId: string ',
|
588
|
+
'}',
|
589
|
+
'>',
|
590
|
+
),
|
591
|
+
n.a.createElement('td', null, 'false'),
|
592
|
+
n.a.createElement('td', null),
|
593
|
+
),
|
594
|
+
n.a.createElement(
|
595
|
+
'tr',
|
596
|
+
null,
|
597
|
+
n.a.createElement('td', null, 'treeDefaultExpandAll'),
|
598
|
+
n.a.createElement(
|
599
|
+
'td',
|
600
|
+
null,
|
601
|
+
'\u9ed8\u8ba4\u5c55\u5f00\u6240\u6709\u6811\u8282\u70b9',
|
602
|
+
),
|
603
|
+
n.a.createElement('td', null, 'boolean'),
|
604
|
+
n.a.createElement('td', null, 'false'),
|
605
|
+
n.a.createElement('td', null),
|
606
|
+
),
|
607
|
+
n.a.createElement(
|
608
|
+
'tr',
|
609
|
+
null,
|
610
|
+
n.a.createElement('td', null, 'treeDefaultExpandedKeys'),
|
611
|
+
n.a.createElement(
|
612
|
+
'td',
|
613
|
+
null,
|
614
|
+
'\u9ed8\u8ba4\u5c55\u5f00\u7684\u6811\u8282\u70b9',
|
615
|
+
),
|
616
|
+
n.a.createElement('td', null, 'string[]'),
|
617
|
+
n.a.createElement('td', null, '-'),
|
618
|
+
n.a.createElement('td', null),
|
619
|
+
),
|
620
|
+
n.a.createElement(
|
621
|
+
'tr',
|
622
|
+
null,
|
623
|
+
n.a.createElement('td', null, 'treeExpandedKeys'),
|
624
|
+
n.a.createElement(
|
625
|
+
'td',
|
626
|
+
null,
|
627
|
+
'\u8bbe\u7f6e\u5c55\u5f00\u7684\u6811\u8282\u70b9',
|
628
|
+
),
|
629
|
+
n.a.createElement('td', null, 'string[]'),
|
630
|
+
n.a.createElement('td', null, '-'),
|
631
|
+
n.a.createElement('td', null),
|
632
|
+
),
|
633
|
+
n.a.createElement(
|
634
|
+
'tr',
|
635
|
+
null,
|
636
|
+
n.a.createElement('td', null, 'treeIcon'),
|
637
|
+
n.a.createElement(
|
638
|
+
'td',
|
639
|
+
null,
|
640
|
+
'\u662f\u5426\u5c55\u793a TreeNode title \u524d\u7684\u56fe\u6807\uff0c\u6ca1\u6709\u9ed8\u8ba4\u6837\u5f0f\uff0c\u5982\u8bbe\u7f6e\u4e3a true\uff0c\u9700\u8981\u81ea\u884c\u5b9a\u4e49\u56fe\u6807\u76f8\u5173\u6837\u5f0f',
|
641
|
+
),
|
642
|
+
n.a.createElement('td', null, 'boolean'),
|
643
|
+
n.a.createElement('td', null, 'false'),
|
644
|
+
n.a.createElement('td', null),
|
645
|
+
),
|
646
|
+
n.a.createElement(
|
647
|
+
'tr',
|
648
|
+
null,
|
649
|
+
n.a.createElement('td', null, 'treeLine'),
|
650
|
+
n.a.createElement(
|
651
|
+
'td',
|
652
|
+
null,
|
653
|
+
'\u662f\u5426\u5c55\u793a\u7ebf\u6761\u6837\u5f0f\uff0c\u8bf7\u53c2\u8003 ',
|
654
|
+
n.a.createElement(
|
655
|
+
r['AnchorLink'],
|
656
|
+
{ to: '/components/tree/#components-tree-demo-line' },
|
657
|
+
'Tree - showLine',
|
658
|
+
),
|
659
|
+
),
|
660
|
+
n.a.createElement('td', null, 'boolean | object'),
|
661
|
+
n.a.createElement('td', null, 'false'),
|
662
|
+
n.a.createElement('td', null, '4.17.0'),
|
663
|
+
),
|
664
|
+
n.a.createElement(
|
665
|
+
'tr',
|
666
|
+
null,
|
667
|
+
n.a.createElement('td', null, 'treeNodeFilterProp'),
|
668
|
+
n.a.createElement(
|
669
|
+
'td',
|
670
|
+
null,
|
671
|
+
'\u8f93\u5165\u9879\u8fc7\u6ee4\u5bf9\u5e94\u7684 treeNode \u5c5e\u6027',
|
672
|
+
),
|
673
|
+
n.a.createElement('td', null, 'string'),
|
674
|
+
n.a.createElement(
|
675
|
+
'td',
|
676
|
+
null,
|
677
|
+
n.a.createElement('code', null, 'value'),
|
678
|
+
),
|
679
|
+
n.a.createElement('td', null),
|
680
|
+
),
|
681
|
+
n.a.createElement(
|
682
|
+
'tr',
|
683
|
+
null,
|
684
|
+
n.a.createElement('td', null, 'treeNodeLabelProp'),
|
685
|
+
n.a.createElement(
|
686
|
+
'td',
|
687
|
+
null,
|
688
|
+
'\u4f5c\u4e3a\u663e\u793a\u7684 prop \u8bbe\u7f6e',
|
689
|
+
),
|
690
|
+
n.a.createElement('td', null, 'string'),
|
691
|
+
n.a.createElement(
|
692
|
+
'td',
|
693
|
+
null,
|
694
|
+
n.a.createElement('code', null, 'title'),
|
695
|
+
),
|
696
|
+
n.a.createElement('td', null),
|
697
|
+
),
|
698
|
+
n.a.createElement(
|
699
|
+
'tr',
|
700
|
+
null,
|
701
|
+
n.a.createElement('td', null, 'value'),
|
702
|
+
n.a.createElement(
|
703
|
+
'td',
|
704
|
+
null,
|
705
|
+
'\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee',
|
706
|
+
),
|
707
|
+
n.a.createElement('td', null, 'string | string[]'),
|
708
|
+
n.a.createElement('td', null, '-'),
|
709
|
+
n.a.createElement('td', null),
|
710
|
+
),
|
711
|
+
n.a.createElement(
|
712
|
+
'tr',
|
713
|
+
null,
|
714
|
+
n.a.createElement('td', null, 'virtual'),
|
715
|
+
n.a.createElement(
|
716
|
+
'td',
|
717
|
+
null,
|
718
|
+
'\u8bbe\u7f6e false \u65f6\u5173\u95ed\u865a\u62df\u6eda\u52a8',
|
719
|
+
),
|
720
|
+
n.a.createElement('td', null, 'boolean'),
|
721
|
+
n.a.createElement('td', null, 'true'),
|
722
|
+
n.a.createElement('td', null, '4.1.0'),
|
723
|
+
),
|
724
|
+
n.a.createElement(
|
725
|
+
'tr',
|
726
|
+
null,
|
727
|
+
n.a.createElement('td', null, 'onChange'),
|
728
|
+
n.a.createElement(
|
729
|
+
'td',
|
730
|
+
null,
|
731
|
+
'\u9009\u4e2d\u6811\u8282\u70b9\u65f6\u8c03\u7528\u6b64\u51fd\u6570',
|
732
|
+
),
|
733
|
+
n.a.createElement(
|
734
|
+
'td',
|
735
|
+
null,
|
736
|
+
'function(value, label, extra)',
|
737
|
+
),
|
738
|
+
n.a.createElement('td', null, '-'),
|
739
|
+
n.a.createElement('td', null),
|
740
|
+
),
|
741
|
+
n.a.createElement(
|
742
|
+
'tr',
|
743
|
+
null,
|
744
|
+
n.a.createElement('td', null, 'onDropdownVisibleChange'),
|
745
|
+
n.a.createElement(
|
746
|
+
'td',
|
747
|
+
null,
|
748
|
+
'\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355\u7684\u56de\u8c03',
|
749
|
+
),
|
750
|
+
n.a.createElement('td', null, 'function(open)'),
|
751
|
+
n.a.createElement('td', null, '-'),
|
752
|
+
n.a.createElement('td', null),
|
753
|
+
),
|
754
|
+
n.a.createElement(
|
755
|
+
'tr',
|
756
|
+
null,
|
757
|
+
n.a.createElement('td', null, 'onSearch'),
|
758
|
+
n.a.createElement(
|
759
|
+
'td',
|
760
|
+
null,
|
761
|
+
'\u6587\u672c\u6846\u503c\u53d8\u5316\u65f6\u56de\u8c03',
|
762
|
+
),
|
763
|
+
n.a.createElement('td', null, 'function(value: string)'),
|
764
|
+
n.a.createElement('td', null, '-'),
|
765
|
+
n.a.createElement('td', null),
|
766
|
+
),
|
767
|
+
n.a.createElement(
|
768
|
+
'tr',
|
769
|
+
null,
|
770
|
+
n.a.createElement('td', null, 'onSelect'),
|
771
|
+
n.a.createElement(
|
772
|
+
'td',
|
773
|
+
null,
|
774
|
+
'\u88ab\u9009\u4e2d\u65f6\u8c03\u7528',
|
775
|
+
),
|
776
|
+
n.a.createElement('td', null, 'function(value, node, extra)'),
|
777
|
+
n.a.createElement('td', null, '-'),
|
778
|
+
n.a.createElement('td', null),
|
779
|
+
),
|
780
|
+
n.a.createElement(
|
781
|
+
'tr',
|
782
|
+
null,
|
783
|
+
n.a.createElement('td', null, 'onTreeExpand'),
|
784
|
+
n.a.createElement(
|
785
|
+
'td',
|
786
|
+
null,
|
787
|
+
'\u5c55\u793a\u8282\u70b9\u65f6\u8c03\u7528',
|
788
|
+
),
|
789
|
+
n.a.createElement('td', null, 'function(expandedKeys)'),
|
790
|
+
n.a.createElement('td', null, '-'),
|
791
|
+
n.a.createElement('td', null),
|
792
|
+
),
|
793
|
+
),
|
794
|
+
),
|
795
|
+
n.a.createElement(
|
796
|
+
'h3',
|
797
|
+
{ id: 'tree-\u65b9\u6cd5' },
|
798
|
+
n.a.createElement(
|
799
|
+
r['AnchorLink'],
|
800
|
+
{
|
801
|
+
to: '#tree-\u65b9\u6cd5',
|
802
|
+
'aria-hidden': 'true',
|
803
|
+
tabIndex: -1,
|
804
|
+
},
|
805
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
806
|
+
),
|
807
|
+
'Tree \u65b9\u6cd5',
|
808
|
+
),
|
809
|
+
n.a.createElement(
|
810
|
+
'table',
|
811
|
+
null,
|
812
|
+
n.a.createElement(
|
813
|
+
'thead',
|
814
|
+
null,
|
815
|
+
n.a.createElement(
|
816
|
+
'tr',
|
817
|
+
null,
|
818
|
+
n.a.createElement('th', null, '\u540d\u79f0'),
|
819
|
+
n.a.createElement('th', null, '\u63cf\u8ff0'),
|
820
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
821
|
+
),
|
822
|
+
),
|
823
|
+
n.a.createElement(
|
824
|
+
'tbody',
|
825
|
+
null,
|
826
|
+
n.a.createElement(
|
827
|
+
'tr',
|
828
|
+
null,
|
829
|
+
n.a.createElement('td', null, 'blur()'),
|
830
|
+
n.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
|
831
|
+
n.a.createElement('td', null),
|
832
|
+
),
|
833
|
+
n.a.createElement(
|
834
|
+
'tr',
|
835
|
+
null,
|
836
|
+
n.a.createElement('td', null, 'focus()'),
|
837
|
+
n.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
|
838
|
+
n.a.createElement('td', null),
|
839
|
+
),
|
840
|
+
),
|
841
|
+
),
|
842
|
+
n.a.createElement(
|
843
|
+
'h3',
|
844
|
+
{ id: 'treenode-props' },
|
845
|
+
n.a.createElement(
|
846
|
+
r['AnchorLink'],
|
847
|
+
{ to: '#treenode-props', 'aria-hidden': 'true', tabIndex: -1 },
|
848
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
849
|
+
),
|
850
|
+
'TreeNode props',
|
851
|
+
),
|
852
|
+
n.a.createElement(
|
853
|
+
'blockquote',
|
854
|
+
null,
|
855
|
+
n.a.createElement(
|
856
|
+
'p',
|
857
|
+
null,
|
858
|
+
'\u5efa\u8bae\u4f7f\u7528 treeData \u6765\u4ee3\u66ff TreeNode\uff0c\u514d\u53bb\u624b\u5de5\u6784\u9020\u9ebb\u70e6',
|
859
|
+
),
|
860
|
+
),
|
861
|
+
n.a.createElement(
|
862
|
+
'table',
|
863
|
+
null,
|
864
|
+
n.a.createElement(
|
865
|
+
'thead',
|
866
|
+
null,
|
867
|
+
n.a.createElement(
|
868
|
+
'tr',
|
869
|
+
null,
|
870
|
+
n.a.createElement('th', null, '\u53c2\u6570'),
|
871
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
872
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
873
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
874
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
875
|
+
),
|
876
|
+
),
|
877
|
+
n.a.createElement(
|
878
|
+
'tbody',
|
879
|
+
null,
|
880
|
+
n.a.createElement(
|
881
|
+
'tr',
|
882
|
+
null,
|
883
|
+
n.a.createElement('td', null, 'checkable'),
|
884
|
+
n.a.createElement(
|
885
|
+
'td',
|
886
|
+
null,
|
887
|
+
'\u5f53\u6811\u4e3a Checkbox \u65f6\uff0c\u8bbe\u7f6e\u72ec\u7acb\u8282\u70b9\u662f\u5426\u5c55\u793a Checkbox',
|
888
|
+
),
|
889
|
+
n.a.createElement('td', null, 'boolean'),
|
890
|
+
n.a.createElement('td', null, '-'),
|
891
|
+
n.a.createElement('td', null),
|
892
|
+
),
|
893
|
+
n.a.createElement(
|
894
|
+
'tr',
|
895
|
+
null,
|
896
|
+
n.a.createElement('td', null, 'disableCheckbox'),
|
897
|
+
n.a.createElement('td', null, '\u7981\u6389 Checkbox'),
|
898
|
+
n.a.createElement('td', null, 'boolean'),
|
899
|
+
n.a.createElement('td', null, 'false'),
|
900
|
+
n.a.createElement('td', null),
|
901
|
+
),
|
902
|
+
n.a.createElement(
|
903
|
+
'tr',
|
904
|
+
null,
|
905
|
+
n.a.createElement('td', null, 'disabled'),
|
906
|
+
n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
|
907
|
+
n.a.createElement('td', null, 'boolean'),
|
908
|
+
n.a.createElement('td', null, 'false'),
|
909
|
+
n.a.createElement('td', null),
|
910
|
+
),
|
911
|
+
n.a.createElement(
|
912
|
+
'tr',
|
913
|
+
null,
|
914
|
+
n.a.createElement('td', null, 'isLeaf'),
|
915
|
+
n.a.createElement(
|
916
|
+
'td',
|
917
|
+
null,
|
918
|
+
'\u662f\u5426\u662f\u53f6\u5b50\u8282\u70b9',
|
919
|
+
),
|
920
|
+
n.a.createElement('td', null, 'boolean'),
|
921
|
+
n.a.createElement('td', null, 'false'),
|
922
|
+
n.a.createElement('td', null),
|
923
|
+
),
|
924
|
+
n.a.createElement(
|
925
|
+
'tr',
|
926
|
+
null,
|
927
|
+
n.a.createElement('td', null, 'key'),
|
928
|
+
n.a.createElement(
|
929
|
+
'td',
|
930
|
+
null,
|
931
|
+
'\u6b64\u9879\u5fc5\u987b\u8bbe\u7f6e\uff08\u5176\u503c\u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09',
|
932
|
+
),
|
933
|
+
n.a.createElement('td', null, 'string'),
|
934
|
+
n.a.createElement('td', null, '-'),
|
935
|
+
n.a.createElement('td', null),
|
936
|
+
),
|
937
|
+
n.a.createElement(
|
938
|
+
'tr',
|
939
|
+
null,
|
940
|
+
n.a.createElement('td', null, 'selectable'),
|
941
|
+
n.a.createElement('td', null, '\u662f\u5426\u53ef\u9009'),
|
942
|
+
n.a.createElement('td', null, 'boolean'),
|
943
|
+
n.a.createElement('td', null, 'true'),
|
944
|
+
n.a.createElement('td', null),
|
945
|
+
),
|
946
|
+
n.a.createElement(
|
947
|
+
'tr',
|
948
|
+
null,
|
949
|
+
n.a.createElement('td', null, 'title'),
|
950
|
+
n.a.createElement(
|
951
|
+
'td',
|
952
|
+
null,
|
953
|
+
'\u6811\u8282\u70b9\u663e\u793a\u7684\u5185\u5bb9',
|
954
|
+
),
|
955
|
+
n.a.createElement('td', null, 'ReactNode'),
|
956
|
+
n.a.createElement(
|
957
|
+
'td',
|
958
|
+
null,
|
959
|
+
n.a.createElement('code', null, '---'),
|
960
|
+
),
|
961
|
+
n.a.createElement('td', null),
|
962
|
+
),
|
963
|
+
n.a.createElement(
|
964
|
+
'tr',
|
965
|
+
null,
|
966
|
+
n.a.createElement('td', null, 'value'),
|
967
|
+
n.a.createElement(
|
968
|
+
'td',
|
969
|
+
null,
|
970
|
+
'\u9ed8\u8ba4\u6839\u636e\u6b64\u5c5e\u6027\u503c\u8fdb\u884c\u7b5b\u9009\uff08\u5176\u503c\u5728\u6574\u4e2a\u6811\u8303\u56f4\u5185\u552f\u4e00\uff09',
|
971
|
+
),
|
972
|
+
n.a.createElement('td', null, 'string'),
|
973
|
+
n.a.createElement('td', null, '-'),
|
974
|
+
n.a.createElement('td', null),
|
975
|
+
),
|
976
|
+
),
|
977
|
+
),
|
978
|
+
n.a.createElement(
|
979
|
+
'h2',
|
980
|
+
{ id: 'faq' },
|
981
|
+
n.a.createElement(
|
982
|
+
r['AnchorLink'],
|
983
|
+
{ to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
|
984
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
985
|
+
),
|
986
|
+
'FAQ',
|
987
|
+
),
|
988
|
+
n.a.createElement(
|
989
|
+
'h3',
|
990
|
+
{
|
991
|
+
id: 'onchange-\u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f',
|
992
|
+
},
|
993
|
+
n.a.createElement(
|
994
|
+
r['AnchorLink'],
|
995
|
+
{
|
996
|
+
to: '#onchange-\u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f',
|
997
|
+
'aria-hidden': 'true',
|
998
|
+
tabIndex: -1,
|
999
|
+
},
|
1000
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
1001
|
+
),
|
1002
|
+
'onChange \u65f6\u5982\u4f55\u83b7\u5f97\u7236\u8282\u70b9\u4fe1\u606f\uff1f',
|
1003
|
+
),
|
1004
|
+
n.a.createElement(
|
1005
|
+
'p',
|
1006
|
+
null,
|
1007
|
+
'\u4ece\u6027\u80fd\u89d2\u5ea6\u8003\u8651\uff0c\u6211\u4eec\u9ed8\u8ba4\u4e0d\u900f\u51fa\u7236\u8282\u70b9\u4fe1\u606f\u3002\u4f60\u53ef\u4ee5\u8fd9\u6837\u83b7\u5f97\uff1a',
|
1008
|
+
n.a.createElement(
|
1009
|
+
r['Link'],
|
1010
|
+
{ to: 'https://codesandbox.io/s/wk080nn81k' },
|
1011
|
+
'https://codesandbox.io/s/wk080nn81k',
|
1012
|
+
),
|
1013
|
+
),
|
1014
|
+
n.a.createElement(
|
1015
|
+
'h3',
|
1016
|
+
{
|
1017
|
+
id: '\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e',
|
1018
|
+
},
|
1019
|
+
n.a.createElement(
|
1020
|
+
r['AnchorLink'],
|
1021
|
+
{
|
1022
|
+
to: '#\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e',
|
1023
|
+
'aria-hidden': 'true',
|
1024
|
+
tabIndex: -1,
|
1025
|
+
},
|
1026
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
1027
|
+
),
|
1028
|
+
'\u81ea\u5b9a\u4e49 Option \u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e\uff1f',
|
1029
|
+
),
|
1030
|
+
n.a.createElement(
|
1031
|
+
'p',
|
1032
|
+
null,
|
1033
|
+
'\u8bf7\u53c2\u8003 Select \u7684 ',
|
1034
|
+
n.a.createElement(r['Link'], { to: '/components/select' }, 'FAQ'),
|
1035
|
+
'\u3002',
|
1036
|
+
),
|
1037
|
+
),
|
1038
|
+
)
|
1039
|
+
);
|
1040
|
+
},
|
1041
|
+
},
|
1042
|
+
]);
|