mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["a8f11ae3"],{a8f11ae3:function(e,t,n){"use strict";var d=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return h;}});var a=n("852bbaa9"),i=a._(n("5b220c3d"));n("f7e85114");var r=a._(n("a9d1a279")),s=a._(n("072ab8a9")),o=a._(n("738f1298")),l=a._(n("e22febe0")),c=a._(n("a576ddd4")),m=a._(n("23546486")),u=a._(n("f4312251")),p=a._(n("9c86e52a")),f=a._(n("3ee4759b")),y=a._(n("b9d4f376")),b=a._(n("3835a2b7")),v=a._(n("600aabe0")),P=a._(n("fc273388"));let h={"time-picker-demo-basic":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("7d2b0700")]).then(n.dr(d,n.bind(n,"7d2b0700"))))),asset:{type:"BLOCK",id:"time-picker-demo-basic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("6b84de30").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Basic",description:"Click TimePicker, and then we could select or input a time in panel."},context:{react:i,antd:r,dayjs:s,"dayjs/plugin/customParseFormat":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-value":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("1c3ec03c")]).then(n.dr(d,n.bind(n,"1c3ec03c"))))),asset:{type:"BLOCK",id:"time-picker-demo-value",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("97d0512d").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Under Control",description:"value and onChange should be used together,"},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-size":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("18289ccc")]).then(n.dr(d,n.bind(n,"18289ccc"))))),asset:{type:"BLOCK",id:"time-picker-demo-size",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("743a0c3a").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Three Sizes",description:"The input box comes in three sizes: large, middle and small. Large is used in the form, while the medium size is the default."},context:{react:i,antd:r,dayjs:s},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-need-confirm":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("02650070")]).then(n.dr(d,n.bind(n,"02650070"))))),asset:{type:"BLOCK",id:"time-picker-demo-need-confirm",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("96cd345f").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Need Confirm",description:"TimePicker will automatically determine whether to show a confirm button according to the picker property. You can also set the needConfirm property to determine whether to show a confirm button. When needConfirm is set, the user must click the confirm button to complete the selection. Otherwise, the selection will be submitted when the picker loses focus or select a time."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-disabled":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("6e57dfc0")]).then(n.dr(d,n.bind(n,"6e57dfc0"))))),asset:{type:"BLOCK",id:"time-picker-demo-disabled",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("c1454ce6").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"disabled",description:"A disabled state of the TimePicker."},context:{react:i,antd:r,dayjs:s,"dayjs/plugin/customParseFormat":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-hide-column":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("0969fb61")]).then(n.dr(d,n.bind(n,"0969fb61"))))),asset:{type:"BLOCK",id:"time-picker-demo-hide-column",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("c05538e1").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Hour and minute",description:"While part of format is omitted, the corresponding column in panel will disappear, too."},context:{react:i,antd:r,dayjs:s},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-interval-options":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("3b830a6c")]).then(n.dr(d,n.bind(n,"3b830a6c"))))),asset:{type:"BLOCK",id:"time-picker-demo-interval-options",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("cabf7788").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"interval option",description:"Show stepped options by hourStep minuteStep secondStep."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-addon":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("45ecc015")]).then(n.dr(d,n.bind(n,"45ecc015"))))),asset:{type:"BLOCK",id:"time-picker-demo-addon",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("93f4d884").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Addon",description:"Render addon contents to time picker panel's bottom."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-12hours":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("a533260b")]).then(n.dr(d,n.bind(n,"a533260b"))))),asset:{type:"BLOCK",id:"time-picker-demo-12hours",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("dfb4d758").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"12 hours",description:"TimePicker of 12 hours format, with default format h:mm:ss a."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-change-on-scroll":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("c6ff8d44")]).then(n.dr(d,n.bind(n,"c6ff8d44"))))),asset:{type:"BLOCK",id:"time-picker-demo-change-on-scroll",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("09808c75").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Change on scroll",description:"Use changeOnScroll and needConfirm to change the value when scrolling."},context:{react:i,antd:r,dayjs:s,"dayjs/plugin/customParseFormat":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-colored-popup":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("d5f707d8")]).then(n.dr(d,n.bind(n,"d5f707d8"))))),asset:{type:"BLOCK",id:"time-picker-demo-colored-popup",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("e93cd8ff").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Colored Popup",description:"Passing custom class to TimePicker popup."},context:{react:i,antd:r,dayjs:s,"dayjs/plugin/customParseFormat":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-range-picker":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("2f126529")]).then(n.dr(d,n.bind(n,"2f126529"))))),asset:{type:"BLOCK",id:"time-picker-demo-range-picker",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("d6610356").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Time Range Picker",description:"Use time range picker with TimePicker.RangePicker."},context:{react:i,antd:r,dayjs:s},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-variant":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("228b360e")]).then(n.dr(d,n.bind(n,"228b360e"))))),asset:{type:"BLOCK",id:"time-picker-demo-variant",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("2a6edb8b").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Variants",description:"Variants of TimePicker, there are four variants: outlined filled borderless and underlined."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-status":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("29938890")]).then(n.dr(d,n.bind(n,"29938890"))))),asset:{type:"BLOCK",id:"time-picker-demo-status",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("befc0f39").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Status",description:"Add status to TimePicker with status, which could be error or warning."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-suffix":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("a0af7f27")]).then(n.dr(d,n.bind(n,"a0af7f27"))))),asset:{type:"BLOCK",id:"time-picker-demo-suffix",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("2c220785").default},react:{type:"NPM",value:"19.1.0"},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.25.4"},dayjs:{type:"NPM",value:"1.11.13"}},entry:"index.tsx",title:"Prefix and Suffix",description:"Custom prefix and suffixIcon."},context:{react:i,"@ant-design/icons":l,antd:r,dayjs:s,"dayjs/plugin/customParseFormat":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-render-panel":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("59e7cfbe")]).then(n.dr(d,n.bind(n,"59e7cfbe"))))),asset:{type:"BLOCK",id:"time-picker-demo-render-panel",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("be49ffab").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"_InternalPanelDoNotUseOrYouWillBeFired",description:"Debug usage. Do not use in your production."},context:{react:i,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"time-picker-demo-_semantic":{component:i.default.memo(i.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("183dc0fd")]).then(n.dr(d,n.bind(n,"183dc0fd"))))),asset:{type:"BLOCK",id:"time-picker-demo-_semantic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:n("9e9e3d1a").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},"../../date-picker/demo/_semantic.tsx":{type:"FILE",value:n("e947e370").default},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"../../../.dumi/hooks/useLocale.ts":{type:"FILE",value:n("80fe647a").default},"../../../.dumi/theme/common/SemanticPreview.tsx":{type:"FILE",value:n("1b761474").default},"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:{"../../date-picker/demo/_semantic.tsx":c,"../../../.dumi/hooks/useLocale.ts":m,"../../../.dumi/theme/common/SemanticPreview.tsx":u,react:i,antd:r,"/home/runner/work/ant-design/ant-design/components/date-picker/demo/_semantic.tsx":c,"@ant-design/icons":l,"/home/runner/work/ant-design/ant-design/.dumi/hooks/useLocale.ts":m,"/home/runner/work/ant-design/ant-design/.dumi/theme/common/SemanticPreview.tsx":u,dumi:p,"rc-util/lib/utils/get":f,"rc-util/lib/utils/set":y,"antd-style":b,classnames:v,prismjs:P},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}}};}}]); |