ant-design/2cce3387-async.c460cde8.js
2024-11-20 18:30:54 +00:00

1 line
7.1 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["2cce3387"],{"2cce3387":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return s;}});var r=t("852bbaa9"),d=r._(t("5b220c3d"));t("a24dab0d");var o=r._(t("a9d1a279"));let s={"anchor-demo-basic":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"3262e231"))))),asset:{type:"BLOCK",id:"anchor-demo-basic",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("71109133").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Basic",description:"The simplest usage."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-horizontal":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"54c93d04"))))),asset:{type:"BLOCK",id:"anchor-demo-horizontal",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("64a13c18").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Horizontal Anchor",description:"Horizontally aligned anchors"},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-static":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"7497a855"))))),asset:{type:"BLOCK",id:"anchor-demo-static",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("c14f6f75").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Static Anchor",description:"Do not change state when page is scrolling."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-onclick":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"5019b5b2"))))),asset:{type:"BLOCK",id:"anchor-demo-onclick",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("772d3966").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Customize the onClick event",description:"Clicking on an anchor does not record history."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-customizehighlight":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"a18a2a18"))))),asset:{type:"BLOCK",id:"anchor-demo-customizehighlight",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("c851b2a3").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Customize the anchor highlight",description:"Customize the anchor highlight."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-targetoffset":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"e5541274"))))),asset:{type:"BLOCK",id:"anchor-demo-targetoffset",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("1543a54d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Set Anchor scroll offset",description:"Anchor target scroll to screen center."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-onchange":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"6630cea7"))))),asset:{type:"BLOCK",id:"anchor-demo-onchange",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("7f6037a2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Listening for anchor link change",description:"Listening for anchor link change."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-replace":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"4a98c76c"))))),asset:{type:"BLOCK",id:"anchor-demo-replace",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("b612f025").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Replace href in history",description:"Replace path in browser history, so back button returns to previous page instead of previous anchor item."},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-legacy-anchor":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"0f939b78"))))),asset:{type:"BLOCK",id:"anchor-demo-legacy-anchor",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("7820d96c").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Deprecated JSX demo",description:"Debug usage"},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"anchor-demo-component-token":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9796276e")]).then(t.dr(a,t.bind(t,"b3f37656"))))),asset:{type:"BLOCK",id:"anchor-demo-component-token",refAtomIds:["anchor"],dependencies:{"index.tsx":{type:"FILE",value:t("07437843").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Component Token",description:"Component Token Debug"},context:{react:d,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]);