@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,954 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[45],{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"),m=a("dEAq"),o=a("H1Ra");a("RZMt");function i(e,t){return p(e)||s(e,t)||d(e,t)||u()}function u(){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 d(e,t){if(e){if("string"===typeof e)return E(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)?E(e,t):void 0}}function E(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 s(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,m=!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(o){m=!0,l=o}finally{try{c||null==a["return"]||a["return"]()}finally{if(m)throw l}}return r}}function p(e){if(Array.isArray(e))return e}function f(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var h=function(e){var t,a,u,d=Object(n["useRef"])(),E=Object(n["useContext"])(m["context"]),s=E.locale,p=Object(m["useLocaleProps"])(s,e),h=Object(m["useDemoUrl"])(p.identifier),b=p.demoUrl||h,g=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),v=1===Object.keys(p.sources).length,k=Object(m["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),w=Object(m["useRiddle"])((null===(a=p.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:p),_=Object(m["useMotions"])(p.motions||[],d.current),N=i(_,2),y=N[0],x=N[1],S=Object(m["useCopy"])(),A=i(S,2),j=A[0],C=A[1],I=Object(n["useState"])("_"),O=i(I,2),L=O[0],P=O[1],R=Object(n["useState"])(f(L,p.sources[L])),z=i(R,2),M=z[0],T=z[1],J=Object(n["useState"])(Boolean(p.defaultShowCode)),U=i(J,2),Z=U[0],B=U[1],q=Object(n["useState"])(Math.random()),F=i(q,2),H=F[0],$=F[1],D=p.sources[L][M]||p.sources[L].content,G=Object(m["useTSPlaygroundUrl"])(s,D),X=Object(n["useRef"])(),K=Object(m["usePrefersColor"])(),Q=i(K,1),V=Q[0];function W(e){P(e),T(f(e,p.sources[e]))}return Object(n["useEffect"])((function(){$(Math.random())}),[V]),l.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",g?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:d,className:"__dumi-default-previewer-demo",style:{transform:p.transform?"translate(0, 0)":void 0,padding:p.compact||p.iframe&&!1!==p.compact?"0":void 0,background:p.background}},p.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:H,src:b,ref:X}):p.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&l.a.createElement(m["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},k&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:k}),w&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:w}),p.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return y()}}),p.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return $(Math.random())}}),!(null===(u=p.hideActions)||void 0===u?void 0:u.includes("EXTERNAL"))&&l.a.createElement(m["Link"],{target:"_blank",to:b},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":C,onClick:function(){return j(D)}}),"tsx"===M&&Z&&l.a.createElement(m["Link"],{target:"_blank",to:G},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(Z?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return B(!Z)}})),Z&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!v&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:L,onChange:W},Object.keys(p.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(f(e,p.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(o["a"],{code:D,lang:M,showCopy:!1}))))};t["default"]=h},cSMB:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),m=a("H1Ra"),o=a("JjdP"),i=l.a.memo(o["default"]["pagination-basic"].component),u=l.a.memo(o["default"]["pagination-more"].component),d=l.a.memo(o["default"]["pagination-changer"].component),E=l.a.memo(o["default"]["pagination-jump"].component),s=l.a.memo(o["default"]["pagination-mini"].component),p=l.a.memo(o["default"]["pagination-simple"].component),f=l.a.memo(o["default"]["pagination-controlled"].component),h=l.a.memo(o["default"]["pagination-total"].component),b=l.a.memo(o["default"]["pagination-all"].component),g=l.a.memo(o["default"]["pagination-itemrender"].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:"pagination-\u5206\u9875"},l.a.createElement(r["AnchorLink"],{to:"#pagination-\u5206\u9875","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Pagination \u5206\u9875"),l.a.createElement("p",null,"\u91c7\u7528\u5206\u9875\u7684\u5f62\u5f0f\u5206\u9694\u957f\u5217\u8868\uff0c\u6bcf\u6b21\u53ea\u52a0\u8f7d\u4e00\u4e2a\u9875\u9762\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("ul",null,l.a.createElement("li",null,"\u5f53\u52a0\u8f7d/\u6e32\u67d3\u6240\u6709\u6570\u636e\u5c06\u82b1\u8d39\u5f88\u591a\u65f6\u95f4\u65f6\uff1b"),l.a.createElement("li",null,"\u53ef\u5207\u6362\u9875\u7801\u6d4f\u89c8\u6570\u636e\u3002")),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u57fa\u672c"},l.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c")),l.a.createElement(c["default"],o["default"]["pagination-basic"].previewerProps,l.a.createElement(i,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u66f4\u591a"},l.a.createElement(r["AnchorLink"],{to:"#\u66f4\u591a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u66f4\u591a")),l.a.createElement(c["default"],o["default"]["pagination-more"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6539\u53d8"},l.a.createElement(r["AnchorLink"],{to:"#\u6539\u53d8","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6539\u53d8")),l.a.createElement(c["default"],o["default"]["pagination-changer"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u8df3\u8f6c"},l.a.createElement(r["AnchorLink"],{to:"#\u8df3\u8f6c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u8df3\u8f6c")),l.a.createElement(c["default"],o["default"]["pagination-jump"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u8ff7\u4f60"},l.a.createElement(r["AnchorLink"],{to:"#\u8ff7\u4f60","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u8ff7\u4f60")),l.a.createElement(c["default"],o["default"]["pagination-mini"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u7b80\u6d01"},l.a.createElement(r["AnchorLink"],{to:"#\u7b80\u6d01","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u7b80\u6d01")),l.a.createElement(c["default"],o["default"]["pagination-simple"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u53d7\u63a7"},l.a.createElement(r["AnchorLink"],{to:"#\u53d7\u63a7","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u53d7\u63a7")),l.a.createElement(c["default"],o["default"]["pagination-controlled"].previewerProps,l.a.createElement(f,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u603b\u6570"},l.a.createElement(r["AnchorLink"],{to:"#\u603b\u6570","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u603b\u6570")),l.a.createElement(c["default"],o["default"]["pagination-total"].previewerProps,l.a.createElement(h,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5168\u90e8\u5c55\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u5168\u90e8\u5c55\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5168\u90e8\u5c55\u793a")),l.a.createElement(c["default"],o["default"]["pagination-all"].previewerProps,l.a.createElement(b,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65"},l.a.createElement(r["AnchorLink"],{to:"#\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65")),l.a.createElement(c["default"],o["default"]["pagination-itemrender"].previewerProps,l.a.createElement(g,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement(m["a"],{code:"<Pagination onChange={onChange} total={50} />",lang:"bash"}),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),l.a.createElement("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"current"),l.a.createElement("td",null,"\u5f53\u524d\u9875\u6570"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"defaultCurrent"),l.a.createElement("td",null,"\u9ed8\u8ba4\u7684\u5f53\u524d\u9875\u6570"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"1"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"defaultPageSize"),l.a.createElement("td",null,"\u9ed8\u8ba4\u7684\u6bcf\u9875\u6761\u6570"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"10"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"disabled"),l.a.createElement("td",null,"\u7981\u7528\u5206\u9875"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"hideOnSinglePage"),l.a.createElement("td",null,"\u53ea\u6709\u4e00\u9875\u65f6\u662f\u5426\u9690\u85cf\u5206\u9875\u5668"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"itemRender"),l.a.createElement("td",null,"\u7528\u4e8e\u81ea\u5b9a\u4e49\u9875\u7801\u7684\u7ed3\u6784\uff0c\u53ef\u7528\u4e8e\u4f18\u5316 SEO"),l.a.createElement("td",null,"(page, type: 'page' | 'prev' | 'next', originalElement) => React.ReactNode"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"pageSize"),l.a.createElement("td",null,"\u6bcf\u9875\u6761\u6570"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"pageSizeOptions"),l.a.createElement("td",null,"\u6307\u5b9a\u6bcf\u9875\u53ef\u4ee5\u663e\u793a\u591a\u5c11\u6761"),l.a.createElement("td",null,"string[]"),l.a.createElement("td",null,"[",l.a.createElement("code",null,"10"),", ",l.a.createElement("code",null,"20"),", ",l.a.createElement("code",null,"50"),", ",l.a.createElement("code",null,"100"),"]"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"responsive"),l.a.createElement("td",null,"\u5f53 size \u672a\u6307\u5b9a\u65f6\uff0c\u6839\u636e\u5c4f\u5e55\u5bbd\u5ea6\u81ea\u52a8\u8c03\u6574\u5c3a\u5bf8"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"showLessItems"),l.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u8f83\u5c11\u9875\u9762\u5185\u5bb9"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"showQuickJumper"),l.a.createElement("td",null,"\u662f\u5426\u53ef\u4ee5\u5feb\u901f\u8df3\u8f6c\u81f3\u67d0\u9875"),l.a.createElement("td",null,"boolean | ","{"," goButton: ReactNode ","}"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"showSizeChanger"),l.a.createElement("td",null,"\u662f\u5426\u5c55\u793a ",l.a.createElement("code",null,"pageSize")," \u5207\u6362\u5668\uff0c\u5f53 ",l.a.createElement("code",null,"total")," \u5927\u4e8e 50 \u65f6\u9ed8\u8ba4\u4e3a true"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"showTitle"),l.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u539f\u751f tooltip \u9875\u7801\u63d0\u793a"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"true"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"showTotal"),l.a.createElement("td",null,"\u7528\u4e8e\u663e\u793a\u6570\u636e\u603b\u91cf\u548c\u5f53\u524d\u6570\u636e\u987a\u5e8f"),l.a.createElement("td",null,"function(total, range)"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"simple"),l.a.createElement("td",null,"\u5f53\u6dfb\u52a0\u8be5\u5c5e\u6027\u65f6\uff0c\u663e\u793a\u4e3a\u7b80\u5355\u5206\u9875"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"size"),l.a.createElement("td",null,"\u5f53\u4e3a ",l.a.createElement("code",null,"small")," \u65f6\uff0c\u662f\u5c0f\u5c3a\u5bf8\u5206\u9875"),l.a.createElement("td",null,l.a.createElement("code",null,"default")," | ",l.a.createElement("code",null,"small")),l.a.createElement("td",null,l.a.createElement("code",null,"default")),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"total"),l.a.createElement("td",null,"\u6570\u636e\u603b\u6570"),l.a.createElement("td",null,"number"),l.a.createElement("td",null,"0"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"onChange"),l.a.createElement("td",null,"\u9875\u7801\u6216 ",l.a.createElement("code",null,"pageSize")," \u6539\u53d8\u7684\u56de\u8c03\uff0c\u53c2\u6570\u662f\u6539\u53d8\u540e\u7684\u9875\u7801\u53ca\u6bcf\u9875\u6761\u6570"),l.a.createElement("td",null,"function(page, pageSize)"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"onShowSizeChange"),l.a.createElement("td",null,"pageSize \u53d8\u5316\u7684\u56de\u8c03"),l.a.createElement("td",null,"function(current, size)"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)))),l.a.createElement("style",{dangerouslySetInnerHTML:{__html:"\n .__dumi-default-previewer-demo .ant-pagination:not(:last-child) {\n margin-bottom: 24px;\n}\n"}})))))}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[45],
|
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
|
+
m = a('dEAq'),
|
21
|
+
o = a('H1Ra');
|
22
|
+
a('RZMt');
|
23
|
+
function i(e, t) {
|
24
|
+
return p(e) || s(e, t) || d(e, t) || u();
|
25
|
+
}
|
26
|
+
function u() {
|
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 d(e, t) {
|
32
|
+
if (e) {
|
33
|
+
if ('string' === typeof e) return E(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
|
+
? E(e, t)
|
42
|
+
: void 0
|
43
|
+
);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
function E(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 s(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
|
+
m = !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 (o) {
|
67
|
+
(m = !0), (l = o);
|
68
|
+
} finally {
|
69
|
+
try {
|
70
|
+
c || null == a['return'] || a['return']();
|
71
|
+
} finally {
|
72
|
+
if (m) throw l;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
return r;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
function p(e) {
|
79
|
+
if (Array.isArray(e)) return e;
|
80
|
+
}
|
81
|
+
function f(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 h = function (e) {
|
88
|
+
var t,
|
89
|
+
a,
|
90
|
+
u,
|
91
|
+
d = Object(n['useRef'])(),
|
92
|
+
E = Object(n['useContext'])(m['context']),
|
93
|
+
s = E.locale,
|
94
|
+
p = Object(m['useLocaleProps'])(s, e),
|
95
|
+
h = Object(m['useDemoUrl'])(p.identifier),
|
96
|
+
b = p.demoUrl || h,
|
97
|
+
g =
|
98
|
+
(null === c['a'] || void 0 === c['a']
|
99
|
+
? void 0
|
100
|
+
: c['a'].location.hash) === '#'.concat(p.identifier),
|
101
|
+
v = 1 === Object.keys(p.sources).length,
|
102
|
+
k = Object(m['useCodeSandbox'])(
|
103
|
+
(
|
104
|
+
null === (t = p.hideActions) || void 0 === t
|
105
|
+
? void 0
|
106
|
+
: t.includes('CSB')
|
107
|
+
)
|
108
|
+
? null
|
109
|
+
: p,
|
110
|
+
),
|
111
|
+
w = Object(m['useRiddle'])(
|
112
|
+
(
|
113
|
+
null === (a = p.hideActions) || void 0 === a
|
114
|
+
? void 0
|
115
|
+
: a.includes('RIDDLE')
|
116
|
+
)
|
117
|
+
? null
|
118
|
+
: p,
|
119
|
+
),
|
120
|
+
_ = Object(m['useMotions'])(p.motions || [], d.current),
|
121
|
+
N = i(_, 2),
|
122
|
+
y = N[0],
|
123
|
+
x = N[1],
|
124
|
+
S = Object(m['useCopy'])(),
|
125
|
+
A = i(S, 2),
|
126
|
+
j = A[0],
|
127
|
+
C = A[1],
|
128
|
+
I = Object(n['useState'])('_'),
|
129
|
+
O = i(I, 2),
|
130
|
+
L = O[0],
|
131
|
+
P = O[1],
|
132
|
+
R = Object(n['useState'])(f(L, p.sources[L])),
|
133
|
+
z = i(R, 2),
|
134
|
+
M = z[0],
|
135
|
+
T = z[1],
|
136
|
+
J = Object(n['useState'])(Boolean(p.defaultShowCode)),
|
137
|
+
U = i(J, 2),
|
138
|
+
Z = U[0],
|
139
|
+
B = U[1],
|
140
|
+
q = Object(n['useState'])(Math.random()),
|
141
|
+
F = i(q, 2),
|
142
|
+
H = F[0],
|
143
|
+
$ = F[1],
|
144
|
+
D = p.sources[L][M] || p.sources[L].content,
|
145
|
+
G = Object(m['useTSPlaygroundUrl'])(s, D),
|
146
|
+
X = Object(n['useRef'])(),
|
147
|
+
K = Object(m['usePrefersColor'])(),
|
148
|
+
Q = i(K, 1),
|
149
|
+
V = Q[0];
|
150
|
+
function W(e) {
|
151
|
+
P(e), T(f(e, p.sources[e]));
|
152
|
+
}
|
153
|
+
return (
|
154
|
+
Object(n['useEffect'])(
|
155
|
+
function () {
|
156
|
+
$(Math.random());
|
157
|
+
},
|
158
|
+
[V],
|
159
|
+
),
|
160
|
+
l.a.createElement(
|
161
|
+
'div',
|
162
|
+
{
|
163
|
+
style: p.style,
|
164
|
+
className: [
|
165
|
+
p.className,
|
166
|
+
'__dumi-default-previewer',
|
167
|
+
g ? '__dumi-default-previewer-target' : '',
|
168
|
+
]
|
169
|
+
.filter(Boolean)
|
170
|
+
.join(' '),
|
171
|
+
id: p.identifier,
|
172
|
+
'data-debug': p.debug || void 0,
|
173
|
+
'data-iframe': p.iframe || void 0,
|
174
|
+
},
|
175
|
+
p.iframe &&
|
176
|
+
l.a.createElement('div', {
|
177
|
+
className: '__dumi-default-previewer-browser-nav',
|
178
|
+
}),
|
179
|
+
l.a.createElement(
|
180
|
+
'div',
|
181
|
+
{
|
182
|
+
ref: d,
|
183
|
+
className: '__dumi-default-previewer-demo',
|
184
|
+
style: {
|
185
|
+
transform: p.transform ? 'translate(0, 0)' : void 0,
|
186
|
+
padding:
|
187
|
+
p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
|
188
|
+
background: p.background,
|
189
|
+
},
|
190
|
+
},
|
191
|
+
p.iframe
|
192
|
+
? l.a.createElement('iframe', {
|
193
|
+
title: 'dumi-previewer',
|
194
|
+
style: {
|
195
|
+
height: String(p.iframe).replace(/(\d)$/, '$1px'),
|
196
|
+
},
|
197
|
+
key: H,
|
198
|
+
src: b,
|
199
|
+
ref: X,
|
200
|
+
})
|
201
|
+
: p.children,
|
202
|
+
),
|
203
|
+
l.a.createElement(
|
204
|
+
'div',
|
205
|
+
{
|
206
|
+
className: '__dumi-default-previewer-desc',
|
207
|
+
'data-title': p.title,
|
208
|
+
},
|
209
|
+
p.title &&
|
210
|
+
l.a.createElement(
|
211
|
+
m['AnchorLink'],
|
212
|
+
{ to: '#'.concat(p.identifier) },
|
213
|
+
p.title,
|
214
|
+
),
|
215
|
+
p.description &&
|
216
|
+
l.a.createElement('div', {
|
217
|
+
dangerouslySetInnerHTML: { __html: p.description },
|
218
|
+
}),
|
219
|
+
),
|
220
|
+
l.a.createElement(
|
221
|
+
'div',
|
222
|
+
{ className: '__dumi-default-previewer-actions' },
|
223
|
+
k &&
|
224
|
+
l.a.createElement('button', {
|
225
|
+
title: 'Open demo on CodeSandbox.io',
|
226
|
+
className: '__dumi-default-icon',
|
227
|
+
role: 'codesandbox',
|
228
|
+
onClick: k,
|
229
|
+
}),
|
230
|
+
w &&
|
231
|
+
l.a.createElement('button', {
|
232
|
+
title: 'Open demo on Riddle',
|
233
|
+
className: '__dumi-default-icon',
|
234
|
+
role: 'riddle',
|
235
|
+
onClick: w,
|
236
|
+
}),
|
237
|
+
p.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 y();
|
245
|
+
},
|
246
|
+
}),
|
247
|
+
p.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 $(Math.random());
|
254
|
+
},
|
255
|
+
}),
|
256
|
+
!(null === (u = p.hideActions) || void 0 === u
|
257
|
+
? void 0
|
258
|
+
: u.includes('EXTERNAL')) &&
|
259
|
+
l.a.createElement(
|
260
|
+
m['Link'],
|
261
|
+
{ target: '_blank', to: b },
|
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': C,
|
275
|
+
onClick: function () {
|
276
|
+
return j(D);
|
277
|
+
},
|
278
|
+
}),
|
279
|
+
'tsx' === M &&
|
280
|
+
Z &&
|
281
|
+
l.a.createElement(
|
282
|
+
m['Link'],
|
283
|
+
{ target: '_blank', to: G },
|
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
|
+
Z ? ' __dumi-default-btn-expand' : '',
|
295
|
+
),
|
296
|
+
role: 'source',
|
297
|
+
type: 'button',
|
298
|
+
onClick: function () {
|
299
|
+
return B(!Z);
|
300
|
+
},
|
301
|
+
}),
|
302
|
+
),
|
303
|
+
Z &&
|
304
|
+
l.a.createElement(
|
305
|
+
'div',
|
306
|
+
{ className: '__dumi-default-previewer-source-wrapper' },
|
307
|
+
!v &&
|
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: L,
|
315
|
+
onChange: W,
|
316
|
+
},
|
317
|
+
Object.keys(p.sources).map(function (e) {
|
318
|
+
return l.a.createElement(r['a'], {
|
319
|
+
tab:
|
320
|
+
'_' === e ? 'index.'.concat(f(e, p.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(o['a'], { code: D, lang: M, showCopy: !1 }),
|
329
|
+
),
|
330
|
+
),
|
331
|
+
)
|
332
|
+
);
|
333
|
+
};
|
334
|
+
t['default'] = h;
|
335
|
+
},
|
336
|
+
cSMB: 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
|
+
m = a('H1Ra'),
|
344
|
+
o = a('JjdP'),
|
345
|
+
i = l.a.memo(o['default']['pagination-basic'].component),
|
346
|
+
u = l.a.memo(o['default']['pagination-more'].component),
|
347
|
+
d = l.a.memo(o['default']['pagination-changer'].component),
|
348
|
+
E = l.a.memo(o['default']['pagination-jump'].component),
|
349
|
+
s = l.a.memo(o['default']['pagination-mini'].component),
|
350
|
+
p = l.a.memo(o['default']['pagination-simple'].component),
|
351
|
+
f = l.a.memo(o['default']['pagination-controlled'].component),
|
352
|
+
h = l.a.memo(o['default']['pagination-total'].component),
|
353
|
+
b = l.a.memo(o['default']['pagination-all'].component),
|
354
|
+
g = l.a.memo(o['default']['pagination-itemrender'].component);
|
355
|
+
t['default'] = (e) => (
|
356
|
+
l.a.useEffect(() => {
|
357
|
+
var t;
|
358
|
+
null !== e &&
|
359
|
+
void 0 !== e &&
|
360
|
+
null !== (t = e.location) &&
|
361
|
+
void 0 !== t &&
|
362
|
+
t.hash &&
|
363
|
+
r['AnchorLink'].scrollToAnchor(
|
364
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
365
|
+
);
|
366
|
+
}, []),
|
367
|
+
l.a.createElement(
|
368
|
+
l.a.Fragment,
|
369
|
+
null,
|
370
|
+
l.a.createElement(
|
371
|
+
l.a.Fragment,
|
372
|
+
null,
|
373
|
+
l.a.createElement(
|
374
|
+
'div',
|
375
|
+
{ className: 'markdown' },
|
376
|
+
l.a.createElement(
|
377
|
+
'h1',
|
378
|
+
{ id: 'pagination-\u5206\u9875' },
|
379
|
+
l.a.createElement(
|
380
|
+
r['AnchorLink'],
|
381
|
+
{
|
382
|
+
to: '#pagination-\u5206\u9875',
|
383
|
+
'aria-hidden': 'true',
|
384
|
+
tabIndex: -1,
|
385
|
+
},
|
386
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
387
|
+
),
|
388
|
+
'Pagination \u5206\u9875',
|
389
|
+
),
|
390
|
+
l.a.createElement(
|
391
|
+
'p',
|
392
|
+
null,
|
393
|
+
'\u91c7\u7528\u5206\u9875\u7684\u5f62\u5f0f\u5206\u9694\u957f\u5217\u8868\uff0c\u6bcf\u6b21\u53ea\u52a0\u8f7d\u4e00\u4e2a\u9875\u9762\u3002',
|
394
|
+
),
|
395
|
+
l.a.createElement(
|
396
|
+
'h2',
|
397
|
+
{ id: '\u4f55\u65f6\u4f7f\u7528' },
|
398
|
+
l.a.createElement(
|
399
|
+
r['AnchorLink'],
|
400
|
+
{
|
401
|
+
to: '#\u4f55\u65f6\u4f7f\u7528',
|
402
|
+
'aria-hidden': 'true',
|
403
|
+
tabIndex: -1,
|
404
|
+
},
|
405
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
406
|
+
),
|
407
|
+
'\u4f55\u65f6\u4f7f\u7528',
|
408
|
+
),
|
409
|
+
l.a.createElement(
|
410
|
+
'ul',
|
411
|
+
null,
|
412
|
+
l.a.createElement(
|
413
|
+
'li',
|
414
|
+
null,
|
415
|
+
'\u5f53\u52a0\u8f7d/\u6e32\u67d3\u6240\u6709\u6570\u636e\u5c06\u82b1\u8d39\u5f88\u591a\u65f6\u95f4\u65f6\uff1b',
|
416
|
+
),
|
417
|
+
l.a.createElement(
|
418
|
+
'li',
|
419
|
+
null,
|
420
|
+
'\u53ef\u5207\u6362\u9875\u7801\u6d4f\u89c8\u6570\u636e\u3002',
|
421
|
+
),
|
422
|
+
),
|
423
|
+
l.a.createElement(
|
424
|
+
'h2',
|
425
|
+
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
426
|
+
l.a.createElement(
|
427
|
+
r['AnchorLink'],
|
428
|
+
{
|
429
|
+
to: '#\u4ee3\u7801\u6f14\u793a',
|
430
|
+
'aria-hidden': 'true',
|
431
|
+
tabIndex: -1,
|
432
|
+
},
|
433
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
434
|
+
),
|
435
|
+
'\u4ee3\u7801\u6f14\u793a',
|
436
|
+
),
|
437
|
+
l.a.createElement(
|
438
|
+
'h3',
|
439
|
+
{ id: '\u57fa\u672c' },
|
440
|
+
l.a.createElement(
|
441
|
+
r['AnchorLink'],
|
442
|
+
{ to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
|
443
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
444
|
+
),
|
445
|
+
'\u57fa\u672c',
|
446
|
+
),
|
447
|
+
),
|
448
|
+
l.a.createElement(
|
449
|
+
c['default'],
|
450
|
+
o['default']['pagination-basic'].previewerProps,
|
451
|
+
l.a.createElement(i, null),
|
452
|
+
),
|
453
|
+
l.a.createElement(
|
454
|
+
'div',
|
455
|
+
{ className: 'markdown' },
|
456
|
+
l.a.createElement(
|
457
|
+
'h3',
|
458
|
+
{ id: '\u66f4\u591a' },
|
459
|
+
l.a.createElement(
|
460
|
+
r['AnchorLink'],
|
461
|
+
{ to: '#\u66f4\u591a', 'aria-hidden': 'true', tabIndex: -1 },
|
462
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
463
|
+
),
|
464
|
+
'\u66f4\u591a',
|
465
|
+
),
|
466
|
+
),
|
467
|
+
l.a.createElement(
|
468
|
+
c['default'],
|
469
|
+
o['default']['pagination-more'].previewerProps,
|
470
|
+
l.a.createElement(u, null),
|
471
|
+
),
|
472
|
+
l.a.createElement(
|
473
|
+
'div',
|
474
|
+
{ className: 'markdown' },
|
475
|
+
l.a.createElement(
|
476
|
+
'h3',
|
477
|
+
{ id: '\u6539\u53d8' },
|
478
|
+
l.a.createElement(
|
479
|
+
r['AnchorLink'],
|
480
|
+
{ to: '#\u6539\u53d8', 'aria-hidden': 'true', tabIndex: -1 },
|
481
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
482
|
+
),
|
483
|
+
'\u6539\u53d8',
|
484
|
+
),
|
485
|
+
),
|
486
|
+
l.a.createElement(
|
487
|
+
c['default'],
|
488
|
+
o['default']['pagination-changer'].previewerProps,
|
489
|
+
l.a.createElement(d, null),
|
490
|
+
),
|
491
|
+
l.a.createElement(
|
492
|
+
'div',
|
493
|
+
{ className: 'markdown' },
|
494
|
+
l.a.createElement(
|
495
|
+
'h3',
|
496
|
+
{ id: '\u8df3\u8f6c' },
|
497
|
+
l.a.createElement(
|
498
|
+
r['AnchorLink'],
|
499
|
+
{ to: '#\u8df3\u8f6c', 'aria-hidden': 'true', tabIndex: -1 },
|
500
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
501
|
+
),
|
502
|
+
'\u8df3\u8f6c',
|
503
|
+
),
|
504
|
+
),
|
505
|
+
l.a.createElement(
|
506
|
+
c['default'],
|
507
|
+
o['default']['pagination-jump'].previewerProps,
|
508
|
+
l.a.createElement(E, null),
|
509
|
+
),
|
510
|
+
l.a.createElement(
|
511
|
+
'div',
|
512
|
+
{ className: 'markdown' },
|
513
|
+
l.a.createElement(
|
514
|
+
'h3',
|
515
|
+
{ id: '\u8ff7\u4f60' },
|
516
|
+
l.a.createElement(
|
517
|
+
r['AnchorLink'],
|
518
|
+
{ to: '#\u8ff7\u4f60', 'aria-hidden': 'true', tabIndex: -1 },
|
519
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
520
|
+
),
|
521
|
+
'\u8ff7\u4f60',
|
522
|
+
),
|
523
|
+
),
|
524
|
+
l.a.createElement(
|
525
|
+
c['default'],
|
526
|
+
o['default']['pagination-mini'].previewerProps,
|
527
|
+
l.a.createElement(s, null),
|
528
|
+
),
|
529
|
+
l.a.createElement(
|
530
|
+
'div',
|
531
|
+
{ className: 'markdown' },
|
532
|
+
l.a.createElement(
|
533
|
+
'h3',
|
534
|
+
{ id: '\u7b80\u6d01' },
|
535
|
+
l.a.createElement(
|
536
|
+
r['AnchorLink'],
|
537
|
+
{ to: '#\u7b80\u6d01', 'aria-hidden': 'true', tabIndex: -1 },
|
538
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
539
|
+
),
|
540
|
+
'\u7b80\u6d01',
|
541
|
+
),
|
542
|
+
),
|
543
|
+
l.a.createElement(
|
544
|
+
c['default'],
|
545
|
+
o['default']['pagination-simple'].previewerProps,
|
546
|
+
l.a.createElement(p, null),
|
547
|
+
),
|
548
|
+
l.a.createElement(
|
549
|
+
'div',
|
550
|
+
{ className: 'markdown' },
|
551
|
+
l.a.createElement(
|
552
|
+
'h3',
|
553
|
+
{ id: '\u53d7\u63a7' },
|
554
|
+
l.a.createElement(
|
555
|
+
r['AnchorLink'],
|
556
|
+
{ to: '#\u53d7\u63a7', 'aria-hidden': 'true', tabIndex: -1 },
|
557
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
558
|
+
),
|
559
|
+
'\u53d7\u63a7',
|
560
|
+
),
|
561
|
+
),
|
562
|
+
l.a.createElement(
|
563
|
+
c['default'],
|
564
|
+
o['default']['pagination-controlled'].previewerProps,
|
565
|
+
l.a.createElement(f, null),
|
566
|
+
),
|
567
|
+
l.a.createElement(
|
568
|
+
'div',
|
569
|
+
{ className: 'markdown' },
|
570
|
+
l.a.createElement(
|
571
|
+
'h3',
|
572
|
+
{ id: '\u603b\u6570' },
|
573
|
+
l.a.createElement(
|
574
|
+
r['AnchorLink'],
|
575
|
+
{ to: '#\u603b\u6570', 'aria-hidden': 'true', tabIndex: -1 },
|
576
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
577
|
+
),
|
578
|
+
'\u603b\u6570',
|
579
|
+
),
|
580
|
+
),
|
581
|
+
l.a.createElement(
|
582
|
+
c['default'],
|
583
|
+
o['default']['pagination-total'].previewerProps,
|
584
|
+
l.a.createElement(h, null),
|
585
|
+
),
|
586
|
+
l.a.createElement(
|
587
|
+
'div',
|
588
|
+
{ className: 'markdown' },
|
589
|
+
l.a.createElement(
|
590
|
+
'h3',
|
591
|
+
{ id: '\u5168\u90e8\u5c55\u793a' },
|
592
|
+
l.a.createElement(
|
593
|
+
r['AnchorLink'],
|
594
|
+
{
|
595
|
+
to: '#\u5168\u90e8\u5c55\u793a',
|
596
|
+
'aria-hidden': 'true',
|
597
|
+
tabIndex: -1,
|
598
|
+
},
|
599
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
600
|
+
),
|
601
|
+
'\u5168\u90e8\u5c55\u793a',
|
602
|
+
),
|
603
|
+
),
|
604
|
+
l.a.createElement(
|
605
|
+
c['default'],
|
606
|
+
o['default']['pagination-all'].previewerProps,
|
607
|
+
l.a.createElement(b, null),
|
608
|
+
),
|
609
|
+
l.a.createElement(
|
610
|
+
'div',
|
611
|
+
{ className: 'markdown' },
|
612
|
+
l.a.createElement(
|
613
|
+
'h3',
|
614
|
+
{ id: '\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65' },
|
615
|
+
l.a.createElement(
|
616
|
+
r['AnchorLink'],
|
617
|
+
{
|
618
|
+
to: '#\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65',
|
619
|
+
'aria-hidden': 'true',
|
620
|
+
tabIndex: -1,
|
621
|
+
},
|
622
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
623
|
+
),
|
624
|
+
'\u4e0a\u4e00\u6b65\u548c\u4e0b\u4e00\u6b65',
|
625
|
+
),
|
626
|
+
),
|
627
|
+
l.a.createElement(
|
628
|
+
c['default'],
|
629
|
+
o['default']['pagination-itemrender'].previewerProps,
|
630
|
+
l.a.createElement(g, null),
|
631
|
+
),
|
632
|
+
l.a.createElement(
|
633
|
+
'div',
|
634
|
+
{ className: 'markdown' },
|
635
|
+
l.a.createElement(
|
636
|
+
'h2',
|
637
|
+
{ id: 'api' },
|
638
|
+
l.a.createElement(
|
639
|
+
r['AnchorLink'],
|
640
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
641
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
642
|
+
),
|
643
|
+
'API',
|
644
|
+
),
|
645
|
+
l.a.createElement(m['a'], {
|
646
|
+
code: '<Pagination onChange={onChange} total={50} />',
|
647
|
+
lang: 'bash',
|
648
|
+
}),
|
649
|
+
l.a.createElement(
|
650
|
+
'table',
|
651
|
+
null,
|
652
|
+
l.a.createElement(
|
653
|
+
'thead',
|
654
|
+
null,
|
655
|
+
l.a.createElement(
|
656
|
+
'tr',
|
657
|
+
null,
|
658
|
+
l.a.createElement('th', null, '\u53c2\u6570'),
|
659
|
+
l.a.createElement('th', null, '\u8bf4\u660e'),
|
660
|
+
l.a.createElement('th', null, '\u7c7b\u578b'),
|
661
|
+
l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
662
|
+
l.a.createElement('th', null, '\u7248\u672c'),
|
663
|
+
),
|
664
|
+
),
|
665
|
+
l.a.createElement(
|
666
|
+
'tbody',
|
667
|
+
null,
|
668
|
+
l.a.createElement(
|
669
|
+
'tr',
|
670
|
+
null,
|
671
|
+
l.a.createElement('td', null, 'current'),
|
672
|
+
l.a.createElement('td', null, '\u5f53\u524d\u9875\u6570'),
|
673
|
+
l.a.createElement('td', null, 'number'),
|
674
|
+
l.a.createElement('td', null, '-'),
|
675
|
+
l.a.createElement('td', null),
|
676
|
+
),
|
677
|
+
l.a.createElement(
|
678
|
+
'tr',
|
679
|
+
null,
|
680
|
+
l.a.createElement('td', null, 'defaultCurrent'),
|
681
|
+
l.a.createElement(
|
682
|
+
'td',
|
683
|
+
null,
|
684
|
+
'\u9ed8\u8ba4\u7684\u5f53\u524d\u9875\u6570',
|
685
|
+
),
|
686
|
+
l.a.createElement('td', null, 'number'),
|
687
|
+
l.a.createElement('td', null, '1'),
|
688
|
+
l.a.createElement('td', null),
|
689
|
+
),
|
690
|
+
l.a.createElement(
|
691
|
+
'tr',
|
692
|
+
null,
|
693
|
+
l.a.createElement('td', null, 'defaultPageSize'),
|
694
|
+
l.a.createElement(
|
695
|
+
'td',
|
696
|
+
null,
|
697
|
+
'\u9ed8\u8ba4\u7684\u6bcf\u9875\u6761\u6570',
|
698
|
+
),
|
699
|
+
l.a.createElement('td', null, 'number'),
|
700
|
+
l.a.createElement('td', null, '10'),
|
701
|
+
l.a.createElement('td', null),
|
702
|
+
),
|
703
|
+
l.a.createElement(
|
704
|
+
'tr',
|
705
|
+
null,
|
706
|
+
l.a.createElement('td', null, 'disabled'),
|
707
|
+
l.a.createElement('td', null, '\u7981\u7528\u5206\u9875'),
|
708
|
+
l.a.createElement('td', null, 'boolean'),
|
709
|
+
l.a.createElement('td', null, '-'),
|
710
|
+
l.a.createElement('td', null),
|
711
|
+
),
|
712
|
+
l.a.createElement(
|
713
|
+
'tr',
|
714
|
+
null,
|
715
|
+
l.a.createElement('td', null, 'hideOnSinglePage'),
|
716
|
+
l.a.createElement(
|
717
|
+
'td',
|
718
|
+
null,
|
719
|
+
'\u53ea\u6709\u4e00\u9875\u65f6\u662f\u5426\u9690\u85cf\u5206\u9875\u5668',
|
720
|
+
),
|
721
|
+
l.a.createElement('td', null, 'boolean'),
|
722
|
+
l.a.createElement('td', null, 'false'),
|
723
|
+
l.a.createElement('td', null),
|
724
|
+
),
|
725
|
+
l.a.createElement(
|
726
|
+
'tr',
|
727
|
+
null,
|
728
|
+
l.a.createElement('td', null, 'itemRender'),
|
729
|
+
l.a.createElement(
|
730
|
+
'td',
|
731
|
+
null,
|
732
|
+
'\u7528\u4e8e\u81ea\u5b9a\u4e49\u9875\u7801\u7684\u7ed3\u6784\uff0c\u53ef\u7528\u4e8e\u4f18\u5316 SEO',
|
733
|
+
),
|
734
|
+
l.a.createElement(
|
735
|
+
'td',
|
736
|
+
null,
|
737
|
+
"(page, type: 'page' | 'prev' | 'next', originalElement) => React.ReactNode",
|
738
|
+
),
|
739
|
+
l.a.createElement('td', null, '-'),
|
740
|
+
l.a.createElement('td', null),
|
741
|
+
),
|
742
|
+
l.a.createElement(
|
743
|
+
'tr',
|
744
|
+
null,
|
745
|
+
l.a.createElement('td', null, 'pageSize'),
|
746
|
+
l.a.createElement('td', null, '\u6bcf\u9875\u6761\u6570'),
|
747
|
+
l.a.createElement('td', null, 'number'),
|
748
|
+
l.a.createElement('td', null, '-'),
|
749
|
+
l.a.createElement('td', null),
|
750
|
+
),
|
751
|
+
l.a.createElement(
|
752
|
+
'tr',
|
753
|
+
null,
|
754
|
+
l.a.createElement('td', null, 'pageSizeOptions'),
|
755
|
+
l.a.createElement(
|
756
|
+
'td',
|
757
|
+
null,
|
758
|
+
'\u6307\u5b9a\u6bcf\u9875\u53ef\u4ee5\u663e\u793a\u591a\u5c11\u6761',
|
759
|
+
),
|
760
|
+
l.a.createElement('td', null, 'string[]'),
|
761
|
+
l.a.createElement(
|
762
|
+
'td',
|
763
|
+
null,
|
764
|
+
'[',
|
765
|
+
l.a.createElement('code', null, '10'),
|
766
|
+
', ',
|
767
|
+
l.a.createElement('code', null, '20'),
|
768
|
+
', ',
|
769
|
+
l.a.createElement('code', null, '50'),
|
770
|
+
', ',
|
771
|
+
l.a.createElement('code', null, '100'),
|
772
|
+
']',
|
773
|
+
),
|
774
|
+
l.a.createElement('td', null),
|
775
|
+
),
|
776
|
+
l.a.createElement(
|
777
|
+
'tr',
|
778
|
+
null,
|
779
|
+
l.a.createElement('td', null, 'responsive'),
|
780
|
+
l.a.createElement(
|
781
|
+
'td',
|
782
|
+
null,
|
783
|
+
'\u5f53 size \u672a\u6307\u5b9a\u65f6\uff0c\u6839\u636e\u5c4f\u5e55\u5bbd\u5ea6\u81ea\u52a8\u8c03\u6574\u5c3a\u5bf8',
|
784
|
+
),
|
785
|
+
l.a.createElement('td', null, 'boolean'),
|
786
|
+
l.a.createElement('td', null, '-'),
|
787
|
+
l.a.createElement('td', null),
|
788
|
+
),
|
789
|
+
l.a.createElement(
|
790
|
+
'tr',
|
791
|
+
null,
|
792
|
+
l.a.createElement('td', null, 'showLessItems'),
|
793
|
+
l.a.createElement(
|
794
|
+
'td',
|
795
|
+
null,
|
796
|
+
'\u662f\u5426\u663e\u793a\u8f83\u5c11\u9875\u9762\u5185\u5bb9',
|
797
|
+
),
|
798
|
+
l.a.createElement('td', null, 'boolean'),
|
799
|
+
l.a.createElement('td', null, 'false'),
|
800
|
+
l.a.createElement('td', null),
|
801
|
+
),
|
802
|
+
l.a.createElement(
|
803
|
+
'tr',
|
804
|
+
null,
|
805
|
+
l.a.createElement('td', null, 'showQuickJumper'),
|
806
|
+
l.a.createElement(
|
807
|
+
'td',
|
808
|
+
null,
|
809
|
+
'\u662f\u5426\u53ef\u4ee5\u5feb\u901f\u8df3\u8f6c\u81f3\u67d0\u9875',
|
810
|
+
),
|
811
|
+
l.a.createElement(
|
812
|
+
'td',
|
813
|
+
null,
|
814
|
+
'boolean | ',
|
815
|
+
'{',
|
816
|
+
' goButton: ReactNode ',
|
817
|
+
'}',
|
818
|
+
),
|
819
|
+
l.a.createElement('td', null, 'false'),
|
820
|
+
l.a.createElement('td', null),
|
821
|
+
),
|
822
|
+
l.a.createElement(
|
823
|
+
'tr',
|
824
|
+
null,
|
825
|
+
l.a.createElement('td', null, 'showSizeChanger'),
|
826
|
+
l.a.createElement(
|
827
|
+
'td',
|
828
|
+
null,
|
829
|
+
'\u662f\u5426\u5c55\u793a ',
|
830
|
+
l.a.createElement('code', null, 'pageSize'),
|
831
|
+
' \u5207\u6362\u5668\uff0c\u5f53 ',
|
832
|
+
l.a.createElement('code', null, 'total'),
|
833
|
+
' \u5927\u4e8e 50 \u65f6\u9ed8\u8ba4\u4e3a true',
|
834
|
+
),
|
835
|
+
l.a.createElement('td', null, 'boolean'),
|
836
|
+
l.a.createElement('td', null, '-'),
|
837
|
+
l.a.createElement('td', null),
|
838
|
+
),
|
839
|
+
l.a.createElement(
|
840
|
+
'tr',
|
841
|
+
null,
|
842
|
+
l.a.createElement('td', null, 'showTitle'),
|
843
|
+
l.a.createElement(
|
844
|
+
'td',
|
845
|
+
null,
|
846
|
+
'\u662f\u5426\u663e\u793a\u539f\u751f tooltip \u9875\u7801\u63d0\u793a',
|
847
|
+
),
|
848
|
+
l.a.createElement('td', null, 'boolean'),
|
849
|
+
l.a.createElement('td', null, 'true'),
|
850
|
+
l.a.createElement('td', null),
|
851
|
+
),
|
852
|
+
l.a.createElement(
|
853
|
+
'tr',
|
854
|
+
null,
|
855
|
+
l.a.createElement('td', null, 'showTotal'),
|
856
|
+
l.a.createElement(
|
857
|
+
'td',
|
858
|
+
null,
|
859
|
+
'\u7528\u4e8e\u663e\u793a\u6570\u636e\u603b\u91cf\u548c\u5f53\u524d\u6570\u636e\u987a\u5e8f',
|
860
|
+
),
|
861
|
+
l.a.createElement('td', null, 'function(total, range)'),
|
862
|
+
l.a.createElement('td', null, '-'),
|
863
|
+
l.a.createElement('td', null),
|
864
|
+
),
|
865
|
+
l.a.createElement(
|
866
|
+
'tr',
|
867
|
+
null,
|
868
|
+
l.a.createElement('td', null, 'simple'),
|
869
|
+
l.a.createElement(
|
870
|
+
'td',
|
871
|
+
null,
|
872
|
+
'\u5f53\u6dfb\u52a0\u8be5\u5c5e\u6027\u65f6\uff0c\u663e\u793a\u4e3a\u7b80\u5355\u5206\u9875',
|
873
|
+
),
|
874
|
+
l.a.createElement('td', null, 'boolean'),
|
875
|
+
l.a.createElement('td', null, '-'),
|
876
|
+
l.a.createElement('td', null),
|
877
|
+
),
|
878
|
+
l.a.createElement(
|
879
|
+
'tr',
|
880
|
+
null,
|
881
|
+
l.a.createElement('td', null, 'size'),
|
882
|
+
l.a.createElement(
|
883
|
+
'td',
|
884
|
+
null,
|
885
|
+
'\u5f53\u4e3a ',
|
886
|
+
l.a.createElement('code', null, 'small'),
|
887
|
+
' \u65f6\uff0c\u662f\u5c0f\u5c3a\u5bf8\u5206\u9875',
|
888
|
+
),
|
889
|
+
l.a.createElement(
|
890
|
+
'td',
|
891
|
+
null,
|
892
|
+
l.a.createElement('code', null, 'default'),
|
893
|
+
' | ',
|
894
|
+
l.a.createElement('code', null, 'small'),
|
895
|
+
),
|
896
|
+
l.a.createElement(
|
897
|
+
'td',
|
898
|
+
null,
|
899
|
+
l.a.createElement('code', null, 'default'),
|
900
|
+
),
|
901
|
+
l.a.createElement('td', null),
|
902
|
+
),
|
903
|
+
l.a.createElement(
|
904
|
+
'tr',
|
905
|
+
null,
|
906
|
+
l.a.createElement('td', null, 'total'),
|
907
|
+
l.a.createElement('td', null, '\u6570\u636e\u603b\u6570'),
|
908
|
+
l.a.createElement('td', null, 'number'),
|
909
|
+
l.a.createElement('td', null, '0'),
|
910
|
+
l.a.createElement('td', null),
|
911
|
+
),
|
912
|
+
l.a.createElement(
|
913
|
+
'tr',
|
914
|
+
null,
|
915
|
+
l.a.createElement('td', null, 'onChange'),
|
916
|
+
l.a.createElement(
|
917
|
+
'td',
|
918
|
+
null,
|
919
|
+
'\u9875\u7801\u6216 ',
|
920
|
+
l.a.createElement('code', null, 'pageSize'),
|
921
|
+
' \u6539\u53d8\u7684\u56de\u8c03\uff0c\u53c2\u6570\u662f\u6539\u53d8\u540e\u7684\u9875\u7801\u53ca\u6bcf\u9875\u6761\u6570',
|
922
|
+
),
|
923
|
+
l.a.createElement('td', null, 'function(page, pageSize)'),
|
924
|
+
l.a.createElement('td', null, '-'),
|
925
|
+
l.a.createElement('td', null),
|
926
|
+
),
|
927
|
+
l.a.createElement(
|
928
|
+
'tr',
|
929
|
+
null,
|
930
|
+
l.a.createElement('td', null, 'onShowSizeChange'),
|
931
|
+
l.a.createElement(
|
932
|
+
'td',
|
933
|
+
null,
|
934
|
+
'pageSize \u53d8\u5316\u7684\u56de\u8c03',
|
935
|
+
),
|
936
|
+
l.a.createElement('td', null, 'function(current, size)'),
|
937
|
+
l.a.createElement('td', null, '-'),
|
938
|
+
l.a.createElement('td', null),
|
939
|
+
),
|
940
|
+
),
|
941
|
+
),
|
942
|
+
l.a.createElement('style', {
|
943
|
+
dangerouslySetInnerHTML: {
|
944
|
+
__html:
|
945
|
+
'\n .__dumi-default-previewer-demo .ant-pagination:not(:last-child) {\n margin-bottom: 24px;\n}\n',
|
946
|
+
},
|
947
|
+
}),
|
948
|
+
),
|
949
|
+
),
|
950
|
+
)
|
951
|
+
);
|
952
|
+
},
|
953
|
+
},
|
954
|
+
]);
|