ant-design/47e2a4aa-async.c76cad5a.js
2025-05-31 08:49:44 +00:00

1 line
11 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["47e2a4aa"],{"47e2a4aa":function(e,t,d){"use strict";var n=d("852bbaa9")._;d.d(t,"__esModule",{value:!0}),d.d(t,"demos",{enumerable:!0,get:function(){return y;}});var s=d("852bbaa9"),a=s._(d("5b220c3d"));d("09e6b1dc");var r=s._(d("a9d1a279")),i=s._(d("e22febe0")),l=s._(d("23546486")),o=s._(d("f4312251")),u=s._(d("9c86e52a")),m=s._(d("3ee4759b")),c=s._(d("b9d4f376")),p=s._(d("3835a2b7")),b=s._(d("600aabe0")),f=s._(d("fc273388"));let y={"slider-demo-basic":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"603865ff"))))),asset:{type:"BLOCK",id:"slider-demo-basic",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("6c6ea251").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Basic",description:"Basic slider. When range is true, display as dual thumb mode. When disable is true, the slider will not be interactable."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-input-number":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"9a1d85a7"))))),asset:{type:"BLOCK",id:"slider-demo-input-number",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("5efc3ccd").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Slider with InputNumber",description:"Synchronize with InputNumber [/components/input-number/] component."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-icon-slider":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"52b15934"))))),asset:{type:"BLOCK",id:"slider-demo-icon-slider",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("1e760c7c").default},react:{type:"NPM",value:"19.1.0"},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Slider with icon",description:"You can add an icon beside the slider to make it meaningful."},context:{react:a,"@ant-design/icons":i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-tip-formatter":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"2d876d91"))))),asset:{type:"BLOCK",id:"slider-demo-tip-formatter",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("05937365").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Customize tooltip",description:"Use tooltip.formatter to format content of Tooltip. If tooltip.formatter is null, hide it."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-event":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"c4f22dd2"))))),asset:{type:"BLOCK",id:"slider-demo-event",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("6981559e").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Event",description:"The onChange callback function will fire when the user changes the slider's value. The onChangeComplete callback function will fire when mouseup or keyup fired."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-mark":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"ea954af9"))))),asset:{type:"BLOCK",id:"slider-demo-mark",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("22a04353").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Graduated slider",description:"Using marks property to mark a graduated slider, use value or defaultValue to specify the position of thumb. When included is false, means that different thumbs are coordinative. when step is null, users can only slide the thumbs onto marks."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-vertical":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"e63957cf"))))),asset:{type:"BLOCK",id:"slider-demo-vertical",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("09dd0b4d").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Vertical",description:"The vertical Slider."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-show-tooltip":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"51358d16"))))),asset:{type:"BLOCK",id:"slider-demo-show-tooltip",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("18c884cc").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Control visible of ToolTip",description:"When tooltip.open is true, ToolTip will always show, if set to false the ToolTip will not show, even if dragging or hovering."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-reverse":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"f10729f1"))))),asset:{type:"BLOCK",id:"slider-demo-reverse",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("d9f7fdc2").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Reverse",description:"Using reverse to render slider reversely."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-draggabletrack":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"30129e08"))))),asset:{type:"BLOCK",id:"slider-demo-draggabletrack",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("a37d4718").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Draggable track",description:"Make range track draggable by setting range.draggableTrack."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-multiple":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"b0096155"))))),asset:{type:"BLOCK",id:"slider-demo-multiple",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("075388ff").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Multiple handles",description:"Multiple handles combination."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-editable":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"de059d2d"))))),asset:{type:"BLOCK",id:"slider-demo-editable",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("dda487af").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Dynamic edit nodes",description:"Click to add a node, drag out or press the key to delete the node."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-component-token":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"8e046b1c"))))),asset:{type:"BLOCK",id:"slider-demo-component-token",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("c22cd924").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Component Token",description:"Component Token Debug."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}},"slider-demo-_semantic":{component:a.default.memo(a.default.lazy(()=>Promise.all([d.ensure("common"),d.ensure("ebd3b314")]).then(d.dr(n,d.bind(d,"773a0671"))))),asset:{type:"BLOCK",id:"slider-demo-_semantic",refAtomIds:["slider"],dependencies:{"index.tsx":{type:"FILE",value:d("ff26f09f").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},"../../../.dumi/hooks/useLocale.ts":{type:"FILE",value:d("80fe647a").default},"../../../.dumi/theme/common/SemanticPreview.tsx":{type:"FILE",value:d("1b761474").default},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"rc-util":{type:"NPM",value:"5.44.4"},"antd-style":{type:"NPM",value:"3.7.1"},classnames:{type:"NPM",value:"2.5.1"},prismjs:{type:"NPM",value:"1.30.0"}},entry:"index.tsx"},context:{"../../../.dumi/hooks/useLocale.ts":l,"../../../.dumi/theme/common/SemanticPreview.tsx":o,react:a,antd:r,"/home/runner/work/ant-design/ant-design/.dumi/hooks/useLocale.ts":l,"/home/runner/work/ant-design/ant-design/.dumi/theme/common/SemanticPreview.tsx":o,dumi:u,"@ant-design/icons":i,"rc-util/lib/utils/get":m,"rc-util/lib/utils/set":c,"antd-style":p,classnames:b,prismjs:f},renderOpts:{compile:async(...e)=>(await Promise.all([d.ensure("vendors_0"),d.ensure("vendors_1"),d.ensure("d2b37e0b")]).then(d.dr(n,d.bind(d,"d2b37e0b")))).default(...e)}}};}}]);