@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,681 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[51],{MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("k3GJ"),c=a("MZF8"),o=a("dEAq"),i=a("H1Ra");a("RZMt");function u(e,t){return f(e)||E(e,t)||m(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"===typeof e)return s(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,o=!1;try{for(a=a.call(e);!(c=(n=a.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(i){o=!0,l=i}finally{try{c||null==a["return"]||a["return"]()}finally{if(o)throw l}}return r}}function f(e){if(Array.isArray(e))return e}function p(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var b=function(e){var t,a,d,m=Object(n["useRef"])(),s=Object(n["useContext"])(o["context"]),E=s.locale,f=Object(o["useLocaleProps"])(E,e),b=Object(o["useDemoUrl"])(f.identifier),h=f.demoUrl||b,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(f.identifier),k=1===Object.keys(f.sources).length,w=Object(o["useCodeSandbox"])((null===(t=f.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:f),_=Object(o["useRiddle"])((null===(a=f.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:f),N=Object(o["useMotions"])(f.motions||[],m.current),y=u(N,2),g=y[0],x=y[1],A=Object(o["useCopy"])(),O=u(A,2),j=O[0],I=O[1],C=Object(n["useState"])("_"),L=u(C,2),S=L[0],R=L[1],P=Object(n["useState"])(p(S,f.sources[S])),M=u(P,2),T=M[0],U=M[1],Z=Object(n["useState"])(Boolean(f.defaultShowCode)),J=u(Z,2),q=J[0],F=J[1],$=Object(n["useState"])(Math.random()),B=u($,2),D=B[0],G=B[1],H=f.sources[S][T]||f.sources[S].content,X=Object(o["useTSPlaygroundUrl"])(E,H),K=Object(n["useRef"])(),V=Object(o["usePrefersColor"])(),W=u(V,1),z=W[0];function Q(e){R(e),U(p(e,f.sources[e]))}return Object(n["useEffect"])((function(){G(Math.random())}),[z]),l.a.createElement("div",{style:f.style,className:[f.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:f.identifier,"data-debug":f.debug||void 0,"data-iframe":f.iframe||void 0},f.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:m,className:"__dumi-default-previewer-demo",style:{transform:f.transform?"translate(0, 0)":void 0,padding:f.compact||f.iframe&&!1!==f.compact?"0":void 0,background:f.background}},f.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(f.iframe).replace(/(\d)$/,"$1px")},key:D,src:h,ref:K}):f.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":f.title},f.title&&l.a.createElement(o["AnchorLink"],{to:"#".concat(f.identifier)},f.title),f.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:f.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},w&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:w}),_&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:_}),f.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return g()}}),f.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return G(Math.random())}}),!(null===(d=f.hideActions)||void 0===d?void 0:d.includes("EXTERNAL"))&&l.a.createElement(o["Link"],{target:"_blank",to:h},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":I,onClick:function(){return j(H)}}),"tsx"===T&&q&&l.a.createElement(o["Link"],{target:"_blank",to:X},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(q?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return F(!q)}})),q&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:S,onChange:Q},Object.keys(f.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,f.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(i["a"],{code:H,lang:T,showCopy:!1}))))};t["default"]=b},fOOd:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),o=a("JjdP"),i=l.a.memo(o["default"]["result-success"].component),u=l.a.memo(o["default"]["result-info"].component),d=l.a.memo(o["default"]["result-warning"].component),m=l.a.memo(o["default"]["result-disabled"].component),s=l.a.memo(o["default"]["result-nofound"].component),E=l.a.memo(o["default"]["result-serviceerr"].component),f=l.a.memo(o["default"]["result-error"].component),p=l.a.memo(o["default"]["result-custom"].component);t["default"]=e=>(l.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"result-\u7ed3\u679c"},l.a.createElement(r["AnchorLink"],{to:"#result-\u7ed3\u679c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Result \u7ed3\u679c"),l.a.createElement("p",null,"\u7528\u4e8e\u53cd\u9988\u4e00\u7cfb\u5217\u64cd\u4f5c\u4efb\u52a1\u7684\u5904\u7406\u7ed3\u679c\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("p",null,"\u5f53\u6709\u91cd\u8981\u64cd\u4f5c\u9700\u544a\u77e5\u7528\u6237\u5904\u7406\u7ed3\u679c\uff0c\u4e14\u53cd\u9988\u5185\u5bb9\u8f83\u4e3a\u590d\u6742\u65f6\u4f7f\u7528\u3002"),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"success"},l.a.createElement(r["AnchorLink"],{to:"#success","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Success")),l.a.createElement(c["default"],o["default"]["result-success"].previewerProps,l.a.createElement(i,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"info"},l.a.createElement(r["AnchorLink"],{to:"#info","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Info")),l.a.createElement(c["default"],o["default"]["result-info"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"warning"},l.a.createElement(r["AnchorLink"],{to:"#warning","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Warning")),l.a.createElement(c["default"],o["default"]["result-warning"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"403"},l.a.createElement(r["AnchorLink"],{to:"#403","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"403")),l.a.createElement(c["default"],o["default"]["result-disabled"].previewerProps,l.a.createElement(m,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"404"},l.a.createElement(r["AnchorLink"],{to:"#404","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"404")),l.a.createElement(c["default"],o["default"]["result-nofound"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"500"},l.a.createElement(r["AnchorLink"],{to:"#500","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"500")),l.a.createElement(c["default"],o["default"]["result-serviceerr"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"error"},l.a.createElement(r["AnchorLink"],{to:"#error","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Error")),l.a.createElement(c["default"],o["default"]["result-error"].previewerProps,l.a.createElement(f,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49-icon"},l.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49-icon","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49 icon")),l.a.createElement(c["default"],o["default"]["result-custom"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"extra"),l.a.createElement("td",null,"\u64cd\u4f5c\u533a"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"icon"),l.a.createElement("td",null,"\u81ea\u5b9a\u4e49 icon"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"status"),l.a.createElement("td",null,"\u7ed3\u679c\u7684\u72b6\u6001\uff0c\u51b3\u5b9a\u56fe\u6807\u548c\u989c\u8272"),l.a.createElement("td",null,l.a.createElement("code",null,"success")," | ",l.a.createElement("code",null,"error")," | ",l.a.createElement("code",null,"info")," | ",l.a.createElement("code",null,"warning")," | ",l.a.createElement("code",null,"404")," | ",l.a.createElement("code",null,"403")," | ",l.a.createElement("code",null,"500")),l.a.createElement("td",null,l.a.createElement("code",null,"info"))),l.a.createElement("tr",null,l.a.createElement("td",null,"subTitle"),l.a.createElement("td",null,"subTitle \u6587\u5b57"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"title"),l.a.createElement("td",null,"title \u6587\u5b57"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-"))))))))}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[51],
|
3
|
+
{
|
4
|
+
MZF8: function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
var n = a('ogwx');
|
7
|
+
a.d(t, 'a', function () {
|
8
|
+
return n['b'];
|
9
|
+
});
|
10
|
+
a('VCU9');
|
11
|
+
},
|
12
|
+
RZMt: function (e, t, a) {},
|
13
|
+
Zxc8: function (e, t, a) {
|
14
|
+
'use strict';
|
15
|
+
a.r(t);
|
16
|
+
var n = a('q1tI'),
|
17
|
+
l = a.n(n),
|
18
|
+
r = a('k3GJ'),
|
19
|
+
c = a('MZF8'),
|
20
|
+
o = a('dEAq'),
|
21
|
+
i = a('H1Ra');
|
22
|
+
a('RZMt');
|
23
|
+
function u(e, t) {
|
24
|
+
return f(e) || E(e, t) || m(e, t) || d();
|
25
|
+
}
|
26
|
+
function d() {
|
27
|
+
throw new TypeError(
|
28
|
+
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
|
29
|
+
);
|
30
|
+
}
|
31
|
+
function m(e, t) {
|
32
|
+
if (e) {
|
33
|
+
if ('string' === typeof e) return s(e, t);
|
34
|
+
var a = Object.prototype.toString.call(e).slice(8, -1);
|
35
|
+
return (
|
36
|
+
'Object' === a && e.constructor && (a = e.constructor.name),
|
37
|
+
'Map' === a || 'Set' === a
|
38
|
+
? Array.from(e)
|
39
|
+
: 'Arguments' === a ||
|
40
|
+
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
|
41
|
+
? s(e, t)
|
42
|
+
: void 0
|
43
|
+
);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
function s(e, t) {
|
47
|
+
(null == t || t > e.length) && (t = e.length);
|
48
|
+
for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
|
49
|
+
return n;
|
50
|
+
}
|
51
|
+
function E(e, t) {
|
52
|
+
var a =
|
53
|
+
null == e
|
54
|
+
? null
|
55
|
+
: ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
|
56
|
+
e['@@iterator'];
|
57
|
+
if (null != a) {
|
58
|
+
var n,
|
59
|
+
l,
|
60
|
+
r = [],
|
61
|
+
c = !0,
|
62
|
+
o = !1;
|
63
|
+
try {
|
64
|
+
for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
|
65
|
+
if ((r.push(n.value), t && r.length === t)) break;
|
66
|
+
} catch (i) {
|
67
|
+
(o = !0), (l = i);
|
68
|
+
} finally {
|
69
|
+
try {
|
70
|
+
c || null == a['return'] || a['return']();
|
71
|
+
} finally {
|
72
|
+
if (o) throw l;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
return r;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
function f(e) {
|
79
|
+
if (Array.isArray(e)) return e;
|
80
|
+
}
|
81
|
+
function p(e, t) {
|
82
|
+
var a,
|
83
|
+
n =
|
84
|
+
null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
|
85
|
+
return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
|
86
|
+
}
|
87
|
+
var b = function (e) {
|
88
|
+
var t,
|
89
|
+
a,
|
90
|
+
d,
|
91
|
+
m = Object(n['useRef'])(),
|
92
|
+
s = Object(n['useContext'])(o['context']),
|
93
|
+
E = s.locale,
|
94
|
+
f = Object(o['useLocaleProps'])(E, e),
|
95
|
+
b = Object(o['useDemoUrl'])(f.identifier),
|
96
|
+
h = f.demoUrl || b,
|
97
|
+
v =
|
98
|
+
(null === c['a'] || void 0 === c['a']
|
99
|
+
? void 0
|
100
|
+
: c['a'].location.hash) === '#'.concat(f.identifier),
|
101
|
+
k = 1 === Object.keys(f.sources).length,
|
102
|
+
w = Object(o['useCodeSandbox'])(
|
103
|
+
(
|
104
|
+
null === (t = f.hideActions) || void 0 === t
|
105
|
+
? void 0
|
106
|
+
: t.includes('CSB')
|
107
|
+
)
|
108
|
+
? null
|
109
|
+
: f,
|
110
|
+
),
|
111
|
+
_ = Object(o['useRiddle'])(
|
112
|
+
(
|
113
|
+
null === (a = f.hideActions) || void 0 === a
|
114
|
+
? void 0
|
115
|
+
: a.includes('RIDDLE')
|
116
|
+
)
|
117
|
+
? null
|
118
|
+
: f,
|
119
|
+
),
|
120
|
+
N = Object(o['useMotions'])(f.motions || [], m.current),
|
121
|
+
y = u(N, 2),
|
122
|
+
g = y[0],
|
123
|
+
x = y[1],
|
124
|
+
A = Object(o['useCopy'])(),
|
125
|
+
O = u(A, 2),
|
126
|
+
j = O[0],
|
127
|
+
I = O[1],
|
128
|
+
C = Object(n['useState'])('_'),
|
129
|
+
L = u(C, 2),
|
130
|
+
S = L[0],
|
131
|
+
R = L[1],
|
132
|
+
P = Object(n['useState'])(p(S, f.sources[S])),
|
133
|
+
M = u(P, 2),
|
134
|
+
T = M[0],
|
135
|
+
U = M[1],
|
136
|
+
Z = Object(n['useState'])(Boolean(f.defaultShowCode)),
|
137
|
+
J = u(Z, 2),
|
138
|
+
q = J[0],
|
139
|
+
F = J[1],
|
140
|
+
$ = Object(n['useState'])(Math.random()),
|
141
|
+
B = u($, 2),
|
142
|
+
D = B[0],
|
143
|
+
G = B[1],
|
144
|
+
H = f.sources[S][T] || f.sources[S].content,
|
145
|
+
X = Object(o['useTSPlaygroundUrl'])(E, H),
|
146
|
+
K = Object(n['useRef'])(),
|
147
|
+
V = Object(o['usePrefersColor'])(),
|
148
|
+
W = u(V, 1),
|
149
|
+
z = W[0];
|
150
|
+
function Q(e) {
|
151
|
+
R(e), U(p(e, f.sources[e]));
|
152
|
+
}
|
153
|
+
return (
|
154
|
+
Object(n['useEffect'])(
|
155
|
+
function () {
|
156
|
+
G(Math.random());
|
157
|
+
},
|
158
|
+
[z],
|
159
|
+
),
|
160
|
+
l.a.createElement(
|
161
|
+
'div',
|
162
|
+
{
|
163
|
+
style: f.style,
|
164
|
+
className: [
|
165
|
+
f.className,
|
166
|
+
'__dumi-default-previewer',
|
167
|
+
v ? '__dumi-default-previewer-target' : '',
|
168
|
+
]
|
169
|
+
.filter(Boolean)
|
170
|
+
.join(' '),
|
171
|
+
id: f.identifier,
|
172
|
+
'data-debug': f.debug || void 0,
|
173
|
+
'data-iframe': f.iframe || void 0,
|
174
|
+
},
|
175
|
+
f.iframe &&
|
176
|
+
l.a.createElement('div', {
|
177
|
+
className: '__dumi-default-previewer-browser-nav',
|
178
|
+
}),
|
179
|
+
l.a.createElement(
|
180
|
+
'div',
|
181
|
+
{
|
182
|
+
ref: m,
|
183
|
+
className: '__dumi-default-previewer-demo',
|
184
|
+
style: {
|
185
|
+
transform: f.transform ? 'translate(0, 0)' : void 0,
|
186
|
+
padding:
|
187
|
+
f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
|
188
|
+
background: f.background,
|
189
|
+
},
|
190
|
+
},
|
191
|
+
f.iframe
|
192
|
+
? l.a.createElement('iframe', {
|
193
|
+
title: 'dumi-previewer',
|
194
|
+
style: {
|
195
|
+
height: String(f.iframe).replace(/(\d)$/, '$1px'),
|
196
|
+
},
|
197
|
+
key: D,
|
198
|
+
src: h,
|
199
|
+
ref: K,
|
200
|
+
})
|
201
|
+
: f.children,
|
202
|
+
),
|
203
|
+
l.a.createElement(
|
204
|
+
'div',
|
205
|
+
{
|
206
|
+
className: '__dumi-default-previewer-desc',
|
207
|
+
'data-title': f.title,
|
208
|
+
},
|
209
|
+
f.title &&
|
210
|
+
l.a.createElement(
|
211
|
+
o['AnchorLink'],
|
212
|
+
{ to: '#'.concat(f.identifier) },
|
213
|
+
f.title,
|
214
|
+
),
|
215
|
+
f.description &&
|
216
|
+
l.a.createElement('div', {
|
217
|
+
dangerouslySetInnerHTML: { __html: f.description },
|
218
|
+
}),
|
219
|
+
),
|
220
|
+
l.a.createElement(
|
221
|
+
'div',
|
222
|
+
{ className: '__dumi-default-previewer-actions' },
|
223
|
+
w &&
|
224
|
+
l.a.createElement('button', {
|
225
|
+
title: 'Open demo on CodeSandbox.io',
|
226
|
+
className: '__dumi-default-icon',
|
227
|
+
role: 'codesandbox',
|
228
|
+
onClick: w,
|
229
|
+
}),
|
230
|
+
_ &&
|
231
|
+
l.a.createElement('button', {
|
232
|
+
title: 'Open demo on Riddle',
|
233
|
+
className: '__dumi-default-icon',
|
234
|
+
role: 'riddle',
|
235
|
+
onClick: _,
|
236
|
+
}),
|
237
|
+
f.motions &&
|
238
|
+
l.a.createElement('button', {
|
239
|
+
title: 'Execute motions',
|
240
|
+
className: '__dumi-default-icon',
|
241
|
+
role: 'motions',
|
242
|
+
disabled: x,
|
243
|
+
onClick: function () {
|
244
|
+
return g();
|
245
|
+
},
|
246
|
+
}),
|
247
|
+
f.iframe &&
|
248
|
+
l.a.createElement('button', {
|
249
|
+
title: 'Reload demo iframe page',
|
250
|
+
className: '__dumi-default-icon',
|
251
|
+
role: 'refresh',
|
252
|
+
onClick: function () {
|
253
|
+
return G(Math.random());
|
254
|
+
},
|
255
|
+
}),
|
256
|
+
!(null === (d = f.hideActions) || void 0 === d
|
257
|
+
? void 0
|
258
|
+
: d.includes('EXTERNAL')) &&
|
259
|
+
l.a.createElement(
|
260
|
+
o['Link'],
|
261
|
+
{ target: '_blank', to: h },
|
262
|
+
l.a.createElement('button', {
|
263
|
+
title: 'Open demo in new tab',
|
264
|
+
className: '__dumi-default-icon',
|
265
|
+
role: 'open-demo',
|
266
|
+
type: 'button',
|
267
|
+
}),
|
268
|
+
),
|
269
|
+
l.a.createElement('span', null),
|
270
|
+
l.a.createElement('button', {
|
271
|
+
title: 'Copy source code',
|
272
|
+
className: '__dumi-default-icon',
|
273
|
+
role: 'copy',
|
274
|
+
'data-status': I,
|
275
|
+
onClick: function () {
|
276
|
+
return j(H);
|
277
|
+
},
|
278
|
+
}),
|
279
|
+
'tsx' === T &&
|
280
|
+
q &&
|
281
|
+
l.a.createElement(
|
282
|
+
o['Link'],
|
283
|
+
{ target: '_blank', to: X },
|
284
|
+
l.a.createElement('button', {
|
285
|
+
title: 'Get JSX via TypeScript Playground',
|
286
|
+
className: '__dumi-default-icon',
|
287
|
+
role: 'change-tsx',
|
288
|
+
type: 'button',
|
289
|
+
}),
|
290
|
+
),
|
291
|
+
l.a.createElement('button', {
|
292
|
+
title: 'Toggle source code panel',
|
293
|
+
className: '__dumi-default-icon'.concat(
|
294
|
+
q ? ' __dumi-default-btn-expand' : '',
|
295
|
+
),
|
296
|
+
role: 'source',
|
297
|
+
type: 'button',
|
298
|
+
onClick: function () {
|
299
|
+
return F(!q);
|
300
|
+
},
|
301
|
+
}),
|
302
|
+
),
|
303
|
+
q &&
|
304
|
+
l.a.createElement(
|
305
|
+
'div',
|
306
|
+
{ className: '__dumi-default-previewer-source-wrapper' },
|
307
|
+
!k &&
|
308
|
+
l.a.createElement(
|
309
|
+
r['b'],
|
310
|
+
{
|
311
|
+
className: '__dumi-default-previewer-source-tab',
|
312
|
+
prefixCls: '__dumi-default-tabs',
|
313
|
+
moreIcon: '\xb7\xb7\xb7',
|
314
|
+
defaultActiveKey: S,
|
315
|
+
onChange: Q,
|
316
|
+
},
|
317
|
+
Object.keys(f.sources).map(function (e) {
|
318
|
+
return l.a.createElement(r['a'], {
|
319
|
+
tab:
|
320
|
+
'_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
|
321
|
+
key: e,
|
322
|
+
});
|
323
|
+
}),
|
324
|
+
),
|
325
|
+
l.a.createElement(
|
326
|
+
'div',
|
327
|
+
{ className: '__dumi-default-previewer-source' },
|
328
|
+
l.a.createElement(i['a'], { code: H, lang: T, showCopy: !1 }),
|
329
|
+
),
|
330
|
+
),
|
331
|
+
)
|
332
|
+
);
|
333
|
+
};
|
334
|
+
t['default'] = b;
|
335
|
+
},
|
336
|
+
fOOd: function (e, t, a) {
|
337
|
+
'use strict';
|
338
|
+
a.r(t);
|
339
|
+
var n = a('q1tI'),
|
340
|
+
l = a.n(n),
|
341
|
+
r = a('dEAq'),
|
342
|
+
c = a('Zxc8'),
|
343
|
+
o = a('JjdP'),
|
344
|
+
i = l.a.memo(o['default']['result-success'].component),
|
345
|
+
u = l.a.memo(o['default']['result-info'].component),
|
346
|
+
d = l.a.memo(o['default']['result-warning'].component),
|
347
|
+
m = l.a.memo(o['default']['result-disabled'].component),
|
348
|
+
s = l.a.memo(o['default']['result-nofound'].component),
|
349
|
+
E = l.a.memo(o['default']['result-serviceerr'].component),
|
350
|
+
f = l.a.memo(o['default']['result-error'].component),
|
351
|
+
p = l.a.memo(o['default']['result-custom'].component);
|
352
|
+
t['default'] = (e) => (
|
353
|
+
l.a.useEffect(() => {
|
354
|
+
var t;
|
355
|
+
null !== e &&
|
356
|
+
void 0 !== e &&
|
357
|
+
null !== (t = e.location) &&
|
358
|
+
void 0 !== t &&
|
359
|
+
t.hash &&
|
360
|
+
r['AnchorLink'].scrollToAnchor(
|
361
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
362
|
+
);
|
363
|
+
}, []),
|
364
|
+
l.a.createElement(
|
365
|
+
l.a.Fragment,
|
366
|
+
null,
|
367
|
+
l.a.createElement(
|
368
|
+
l.a.Fragment,
|
369
|
+
null,
|
370
|
+
l.a.createElement(
|
371
|
+
'div',
|
372
|
+
{ className: 'markdown' },
|
373
|
+
l.a.createElement(
|
374
|
+
'h1',
|
375
|
+
{ id: 'result-\u7ed3\u679c' },
|
376
|
+
l.a.createElement(
|
377
|
+
r['AnchorLink'],
|
378
|
+
{
|
379
|
+
to: '#result-\u7ed3\u679c',
|
380
|
+
'aria-hidden': 'true',
|
381
|
+
tabIndex: -1,
|
382
|
+
},
|
383
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
384
|
+
),
|
385
|
+
'Result \u7ed3\u679c',
|
386
|
+
),
|
387
|
+
l.a.createElement(
|
388
|
+
'p',
|
389
|
+
null,
|
390
|
+
'\u7528\u4e8e\u53cd\u9988\u4e00\u7cfb\u5217\u64cd\u4f5c\u4efb\u52a1\u7684\u5904\u7406\u7ed3\u679c\u3002',
|
391
|
+
),
|
392
|
+
l.a.createElement(
|
393
|
+
'h2',
|
394
|
+
{ id: '\u4f55\u65f6\u4f7f\u7528' },
|
395
|
+
l.a.createElement(
|
396
|
+
r['AnchorLink'],
|
397
|
+
{
|
398
|
+
to: '#\u4f55\u65f6\u4f7f\u7528',
|
399
|
+
'aria-hidden': 'true',
|
400
|
+
tabIndex: -1,
|
401
|
+
},
|
402
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
403
|
+
),
|
404
|
+
'\u4f55\u65f6\u4f7f\u7528',
|
405
|
+
),
|
406
|
+
l.a.createElement(
|
407
|
+
'p',
|
408
|
+
null,
|
409
|
+
'\u5f53\u6709\u91cd\u8981\u64cd\u4f5c\u9700\u544a\u77e5\u7528\u6237\u5904\u7406\u7ed3\u679c\uff0c\u4e14\u53cd\u9988\u5185\u5bb9\u8f83\u4e3a\u590d\u6742\u65f6\u4f7f\u7528\u3002',
|
410
|
+
),
|
411
|
+
l.a.createElement(
|
412
|
+
'h2',
|
413
|
+
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
414
|
+
l.a.createElement(
|
415
|
+
r['AnchorLink'],
|
416
|
+
{
|
417
|
+
to: '#\u4ee3\u7801\u6f14\u793a',
|
418
|
+
'aria-hidden': 'true',
|
419
|
+
tabIndex: -1,
|
420
|
+
},
|
421
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
422
|
+
),
|
423
|
+
'\u4ee3\u7801\u6f14\u793a',
|
424
|
+
),
|
425
|
+
l.a.createElement(
|
426
|
+
'h3',
|
427
|
+
{ id: 'success' },
|
428
|
+
l.a.createElement(
|
429
|
+
r['AnchorLink'],
|
430
|
+
{ to: '#success', 'aria-hidden': 'true', tabIndex: -1 },
|
431
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
432
|
+
),
|
433
|
+
'Success',
|
434
|
+
),
|
435
|
+
),
|
436
|
+
l.a.createElement(
|
437
|
+
c['default'],
|
438
|
+
o['default']['result-success'].previewerProps,
|
439
|
+
l.a.createElement(i, null),
|
440
|
+
),
|
441
|
+
l.a.createElement(
|
442
|
+
'div',
|
443
|
+
{ className: 'markdown' },
|
444
|
+
l.a.createElement(
|
445
|
+
'h3',
|
446
|
+
{ id: 'info' },
|
447
|
+
l.a.createElement(
|
448
|
+
r['AnchorLink'],
|
449
|
+
{ to: '#info', 'aria-hidden': 'true', tabIndex: -1 },
|
450
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
451
|
+
),
|
452
|
+
'Info',
|
453
|
+
),
|
454
|
+
),
|
455
|
+
l.a.createElement(
|
456
|
+
c['default'],
|
457
|
+
o['default']['result-info'].previewerProps,
|
458
|
+
l.a.createElement(u, null),
|
459
|
+
),
|
460
|
+
l.a.createElement(
|
461
|
+
'div',
|
462
|
+
{ className: 'markdown' },
|
463
|
+
l.a.createElement(
|
464
|
+
'h3',
|
465
|
+
{ id: 'warning' },
|
466
|
+
l.a.createElement(
|
467
|
+
r['AnchorLink'],
|
468
|
+
{ to: '#warning', 'aria-hidden': 'true', tabIndex: -1 },
|
469
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
470
|
+
),
|
471
|
+
'Warning',
|
472
|
+
),
|
473
|
+
),
|
474
|
+
l.a.createElement(
|
475
|
+
c['default'],
|
476
|
+
o['default']['result-warning'].previewerProps,
|
477
|
+
l.a.createElement(d, null),
|
478
|
+
),
|
479
|
+
l.a.createElement(
|
480
|
+
'div',
|
481
|
+
{ className: 'markdown' },
|
482
|
+
l.a.createElement(
|
483
|
+
'h3',
|
484
|
+
{ id: '403' },
|
485
|
+
l.a.createElement(
|
486
|
+
r['AnchorLink'],
|
487
|
+
{ to: '#403', 'aria-hidden': 'true', tabIndex: -1 },
|
488
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
489
|
+
),
|
490
|
+
'403',
|
491
|
+
),
|
492
|
+
),
|
493
|
+
l.a.createElement(
|
494
|
+
c['default'],
|
495
|
+
o['default']['result-disabled'].previewerProps,
|
496
|
+
l.a.createElement(m, null),
|
497
|
+
),
|
498
|
+
l.a.createElement(
|
499
|
+
'div',
|
500
|
+
{ className: 'markdown' },
|
501
|
+
l.a.createElement(
|
502
|
+
'h3',
|
503
|
+
{ id: '404' },
|
504
|
+
l.a.createElement(
|
505
|
+
r['AnchorLink'],
|
506
|
+
{ to: '#404', 'aria-hidden': 'true', tabIndex: -1 },
|
507
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
508
|
+
),
|
509
|
+
'404',
|
510
|
+
),
|
511
|
+
),
|
512
|
+
l.a.createElement(
|
513
|
+
c['default'],
|
514
|
+
o['default']['result-nofound'].previewerProps,
|
515
|
+
l.a.createElement(s, null),
|
516
|
+
),
|
517
|
+
l.a.createElement(
|
518
|
+
'div',
|
519
|
+
{ className: 'markdown' },
|
520
|
+
l.a.createElement(
|
521
|
+
'h3',
|
522
|
+
{ id: '500' },
|
523
|
+
l.a.createElement(
|
524
|
+
r['AnchorLink'],
|
525
|
+
{ to: '#500', 'aria-hidden': 'true', tabIndex: -1 },
|
526
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
527
|
+
),
|
528
|
+
'500',
|
529
|
+
),
|
530
|
+
),
|
531
|
+
l.a.createElement(
|
532
|
+
c['default'],
|
533
|
+
o['default']['result-serviceerr'].previewerProps,
|
534
|
+
l.a.createElement(E, null),
|
535
|
+
),
|
536
|
+
l.a.createElement(
|
537
|
+
'div',
|
538
|
+
{ className: 'markdown' },
|
539
|
+
l.a.createElement(
|
540
|
+
'h3',
|
541
|
+
{ id: 'error' },
|
542
|
+
l.a.createElement(
|
543
|
+
r['AnchorLink'],
|
544
|
+
{ to: '#error', 'aria-hidden': 'true', tabIndex: -1 },
|
545
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
546
|
+
),
|
547
|
+
'Error',
|
548
|
+
),
|
549
|
+
),
|
550
|
+
l.a.createElement(
|
551
|
+
c['default'],
|
552
|
+
o['default']['result-error'].previewerProps,
|
553
|
+
l.a.createElement(f, null),
|
554
|
+
),
|
555
|
+
l.a.createElement(
|
556
|
+
'div',
|
557
|
+
{ className: 'markdown' },
|
558
|
+
l.a.createElement(
|
559
|
+
'h3',
|
560
|
+
{ id: '\u81ea\u5b9a\u4e49-icon' },
|
561
|
+
l.a.createElement(
|
562
|
+
r['AnchorLink'],
|
563
|
+
{
|
564
|
+
to: '#\u81ea\u5b9a\u4e49-icon',
|
565
|
+
'aria-hidden': 'true',
|
566
|
+
tabIndex: -1,
|
567
|
+
},
|
568
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
569
|
+
),
|
570
|
+
'\u81ea\u5b9a\u4e49 icon',
|
571
|
+
),
|
572
|
+
),
|
573
|
+
l.a.createElement(
|
574
|
+
c['default'],
|
575
|
+
o['default']['result-custom'].previewerProps,
|
576
|
+
l.a.createElement(p, null),
|
577
|
+
),
|
578
|
+
l.a.createElement(
|
579
|
+
'div',
|
580
|
+
{ className: 'markdown' },
|
581
|
+
l.a.createElement(
|
582
|
+
'h2',
|
583
|
+
{ id: 'api' },
|
584
|
+
l.a.createElement(
|
585
|
+
r['AnchorLink'],
|
586
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
587
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
588
|
+
),
|
589
|
+
'API',
|
590
|
+
),
|
591
|
+
l.a.createElement(
|
592
|
+
'table',
|
593
|
+
null,
|
594
|
+
l.a.createElement(
|
595
|
+
'thead',
|
596
|
+
null,
|
597
|
+
l.a.createElement(
|
598
|
+
'tr',
|
599
|
+
null,
|
600
|
+
l.a.createElement('th', null, '\u53c2\u6570'),
|
601
|
+
l.a.createElement('th', null, '\u8bf4\u660e'),
|
602
|
+
l.a.createElement('th', null, '\u7c7b\u578b'),
|
603
|
+
l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
604
|
+
),
|
605
|
+
),
|
606
|
+
l.a.createElement(
|
607
|
+
'tbody',
|
608
|
+
null,
|
609
|
+
l.a.createElement(
|
610
|
+
'tr',
|
611
|
+
null,
|
612
|
+
l.a.createElement('td', null, 'extra'),
|
613
|
+
l.a.createElement('td', null, '\u64cd\u4f5c\u533a'),
|
614
|
+
l.a.createElement('td', null, 'ReactNode'),
|
615
|
+
l.a.createElement('td', null, '-'),
|
616
|
+
),
|
617
|
+
l.a.createElement(
|
618
|
+
'tr',
|
619
|
+
null,
|
620
|
+
l.a.createElement('td', null, 'icon'),
|
621
|
+
l.a.createElement('td', null, '\u81ea\u5b9a\u4e49 icon'),
|
622
|
+
l.a.createElement('td', null, 'ReactNode'),
|
623
|
+
l.a.createElement('td', null, '-'),
|
624
|
+
),
|
625
|
+
l.a.createElement(
|
626
|
+
'tr',
|
627
|
+
null,
|
628
|
+
l.a.createElement('td', null, 'status'),
|
629
|
+
l.a.createElement(
|
630
|
+
'td',
|
631
|
+
null,
|
632
|
+
'\u7ed3\u679c\u7684\u72b6\u6001\uff0c\u51b3\u5b9a\u56fe\u6807\u548c\u989c\u8272',
|
633
|
+
),
|
634
|
+
l.a.createElement(
|
635
|
+
'td',
|
636
|
+
null,
|
637
|
+
l.a.createElement('code', null, 'success'),
|
638
|
+
' | ',
|
639
|
+
l.a.createElement('code', null, 'error'),
|
640
|
+
' | ',
|
641
|
+
l.a.createElement('code', null, 'info'),
|
642
|
+
' | ',
|
643
|
+
l.a.createElement('code', null, 'warning'),
|
644
|
+
' | ',
|
645
|
+
l.a.createElement('code', null, '404'),
|
646
|
+
' | ',
|
647
|
+
l.a.createElement('code', null, '403'),
|
648
|
+
' | ',
|
649
|
+
l.a.createElement('code', null, '500'),
|
650
|
+
),
|
651
|
+
l.a.createElement(
|
652
|
+
'td',
|
653
|
+
null,
|
654
|
+
l.a.createElement('code', null, 'info'),
|
655
|
+
),
|
656
|
+
),
|
657
|
+
l.a.createElement(
|
658
|
+
'tr',
|
659
|
+
null,
|
660
|
+
l.a.createElement('td', null, 'subTitle'),
|
661
|
+
l.a.createElement('td', null, 'subTitle \u6587\u5b57'),
|
662
|
+
l.a.createElement('td', null, 'ReactNode'),
|
663
|
+
l.a.createElement('td', null, '-'),
|
664
|
+
),
|
665
|
+
l.a.createElement(
|
666
|
+
'tr',
|
667
|
+
null,
|
668
|
+
l.a.createElement('td', null, 'title'),
|
669
|
+
l.a.createElement('td', null, 'title \u6587\u5b57'),
|
670
|
+
l.a.createElement('td', null, 'ReactNode'),
|
671
|
+
l.a.createElement('td', null, '-'),
|
672
|
+
),
|
673
|
+
),
|
674
|
+
),
|
675
|
+
),
|
676
|
+
),
|
677
|
+
)
|
678
|
+
);
|
679
|
+
},
|
680
|
+
},
|
681
|
+
]);
|