mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["e639ba94"],{e639ba94: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 i;}});var d=t("852bbaa9"),r=d._(t("5b220c3d"));t("745e5494");var s=d._(t("a9d1a279")),u=d._(t("e22febe0"));let i={"input-number-demo-basic":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("58d71fac")]).then(t.dr(a,t.bind(t,"58d71fac"))))),asset:{type:"BLOCK",id:"input-number-demo-basic",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("2cd7d129").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Basic",description:"Numeric-only input box."},context:{react:r,antd:s},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)}},"input-number-demo-size":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("6a0ea61d")]).then(t.dr(a,t.bind(t,"6a0ea61d"))))),asset:{type:"BLOCK",id:"input-number-demo-size",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("a9ab41f2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Sizes",description:"There are three sizes available to a numeric input box. By default, the size is 32px. The two additional sizes are large and small which means 40px and 24px, respectively."},context:{react:r,antd:s},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)}},"input-number-demo-addon":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("03512bc7")]).then(t.dr(a,t.bind(t,"03512bc7"))))),asset:{type:"BLOCK",id:"input-number-demo-addon",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("d63282cb").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Pre / Post tab",description:"Using pre & post tabs example."},context:{react:r,"@ant-design/icons":u,antd:s},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)}},"input-number-demo-disabled":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("05570935")]).then(t.dr(a,t.bind(t,"05570935"))))),asset:{type:"BLOCK",id:"input-number-demo-disabled",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("8e5cd754").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Disabled",description:"Click the button to toggle between available and disabled states."},context:{react:r,antd:s},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)}},"input-number-demo-digit":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("9ead0793")]).then(t.dr(a,t.bind(t,"9ead0793"))))),asset:{type:"BLOCK",id:"input-number-demo-digit",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("2514f46b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"High precision decimals",description:"Use stringMode to support high precision decimals support. onChange will return string value instead. You need polyfill of BigInt if browser not support."},context:{react:r,antd:s},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)}},"input-number-demo-formatter":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("ab06c6ff")]).then(t.dr(a,t.bind(t,"ab06c6ff"))))),asset:{type:"BLOCK",id:"input-number-demo-formatter",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("93bdabf1").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Formatter",description:"Display value within it's situation with formatter, and we usually use parser at the same time.\n\n> Here is a Intl.NumberFormat InputNumber implementation: https://codesandbox.io/s/currency-wrapper-antd-input-3ynzo [https://codesandbox.io/s/currency-wrapper-antd-input-3ynzo]"},context:{react:r,antd:s},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)}},"input-number-demo-keyboard":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fb83852a")]).then(t.dr(a,t.bind(t,"fb83852a"))))),asset:{type:"BLOCK",id:"input-number-demo-keyboard",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("5bbab28e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Keyboard",description:"Control keyboard behavior by keyboard."},context:{react:r,antd:s},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)}},"input-number-demo-change-on-wheel":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("08c0d340")]).then(t.dr(a,t.bind(t,"08c0d340"))))),asset:{type:"BLOCK",id:"input-number-demo-change-on-wheel",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("c7e85fbf").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Wheel",description:"Control with mouse wheel."},context:{react:r,antd:s},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)}},"input-number-demo-variant":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("dbae4a60")]).then(t.dr(a,t.bind(t,"dbae4a60"))))),asset:{type:"BLOCK",id:"input-number-demo-variant",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("555dfc91").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Variants",description:"Variants of InputNumber."},context:{react:r,antd:s},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)}},"input-number-demo-filled-debug":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("90cf0aaa")]).then(t.dr(a,t.bind(t,"90cf0aaa"))))),asset:{type:"BLOCK",id:"input-number-demo-filled-debug",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("b5e7f403").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Filled Debug",description:"Filled Debug."},context:{react:r,antd:s},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)}},"input-number-demo-out-of-range":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("a9350a8b")]).then(t.dr(a,t.bind(t,"a9350a8b"))))),asset:{type:"BLOCK",id:"input-number-demo-out-of-range",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("67f18212").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Out of range",description:"Show warning style when value is out of range by control."},context:{react:r,antd:s},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)}},"input-number-demo-presuffix":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("ce473a7d")]).then(t.dr(a,t.bind(t,"ce473a7d"))))),asset:{type:"BLOCK",id:"input-number-demo-presuffix",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("f33322cc").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Prefix / Suffix",description:"Add a prefix or suffix inside input."},context:{react:r,"@ant-design/icons":u,antd:s},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)}},"input-number-demo-status":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("3a60b1e2")]).then(t.dr(a,t.bind(t,"3a60b1e2"))))),asset:{type:"BLOCK",id:"input-number-demo-status",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("63704cd0").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Status",description:"Add status to InputNumber with status, which could be error or warning."},context:{react:r,antd:s},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)}},"input-number-demo-focus":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("14040e15")]).then(t.dr(a,t.bind(t,"14040e15"))))),asset:{type:"BLOCK",id:"input-number-demo-focus",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("abc1bc89").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Focus",description:"Focus with additional option."},context:{react:r,antd:s},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)}},"input-number-demo-controls":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("87efe584")]).then(t.dr(a,t.bind(t,"87efe584"))))),asset:{type:"BLOCK",id:"input-number-demo-controls",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("074700c8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Icon",description:"When you need to use a custom Icon, you can set the Icon component as the property value of upIcon and downIcon."},context:{react:r,"@ant-design/icons":u,antd:s},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)}},"input-number-demo-render-panel":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("3529cbe3")]).then(t.dr(a,t.bind(t,"3529cbe3"))))),asset:{type:"BLOCK",id:"input-number-demo-render-panel",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("7a0a3148").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"_InternalPanelDoNotUseOrYouWillBeFired",description:"Debug usage. Do not use in your production."},context:{react:r,antd:s},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)}},"input-number-demo-debug-token":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("42207a53")]).then(t.dr(a,t.bind(t,"42207a53"))))),asset:{type:"BLOCK",id:"input-number-demo-debug-token",refAtomIds:["input-number"],dependencies:{"index.tsx":{type:"FILE",value:t("3b964509").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Override Component Style"},context:{react:r,antd:s},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)}}};}}]); |