mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +08:00
1 line
9.6 KiB
JavaScript
1 line
9.6 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["5a48a444"],{"080c508e":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("15b75b35");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{wrap:!0,gap:"small",children:[(0,t.jsx)(a.Progress,{type:"circle",percent:30,size:80}),(0,t.jsx)(a.Progress,{type:"circle",percent:70,size:80,status:"exception"}),(0,t.jsx)(a.Progress,{type:"circle",percent:100,size:80})]});},"098f0d6a":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("bed1e6a7");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Progress,{type:"dashboard",percent:75}),(0,t.jsx)(a.Progress,{type:"dashboard",percent:75,gapDegree:30})]});},"22a63321":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("b641b1a6");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",vertical:!0,children:[(0,t.jsx)(a.Tooltip,{title:"3 done / 3 in progress / 4 to do",children:(0,t.jsx)(a.Progress,{percent:60,success:{percent:30}})}),(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Tooltip,{title:"3 done / 3 in progress / 4 to do",children:(0,t.jsx)(a.Progress,{percent:60,success:{percent:30},type:"circle"})}),(0,t.jsx)(a.Tooltip,{title:"3 done / 3 in progress / 4 to do",children:(0,t.jsx)(a.Progress,{percent:60,success:{percent:30},type:"dashboard"})})]})]});},"462f8f04":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("c92203f4");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Progress,{type:"circle",percent:75,format:e=>`${e} Days`}),(0,t.jsx)(a.Progress,{type:"circle",percent:100,format:()=>"Done"})]});},"487cecca":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return c;}});var t=s("777fffbe"),a=s("f19d2b93");s("46eeba52");var n=t._(s("5b220c3d")),l=s("a9d1a279"),c=()=>{let[e,r]=n.default.useState(5),[s,t]=n.default.useState(7);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Typography.Title,{level:5,children:"Custom count:"}),(0,a.jsx)(l.Slider,{min:2,max:10,value:e,onChange:r}),(0,a.jsx)(l.Typography.Title,{level:5,children:"Custom gap:"}),(0,a.jsx)(l.Slider,{step:4,min:0,max:40,value:s,onChange:t}),(0,a.jsxs)(l.Flex,{wrap:!0,gap:"middle",style:{marginTop:16},children:[(0,a.jsx)(l.Progress,{type:"dashboard",steps:8,percent:50,trailColor:"rgba(0, 0, 0, 0.06)",strokeWidth:20}),(0,a.jsx)(l.Progress,{type:"circle",percent:100,steps:{count:e,gap:s},trailColor:"rgba(0, 0, 0, 0.06)",strokeWidth:20})]})]});};},"4e852016":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("67277711");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{vertical:!0,gap:"small",style:{width:180},children:[(0,t.jsx)(a.Progress,{percent:30,size:"small"}),(0,t.jsx)(a.Progress,{percent:50,size:"small",status:"active"}),(0,t.jsx)(a.Progress,{percent:70,size:"small",status:"exception"}),(0,t.jsx)(a.Progress,{percent:100,size:"small"})]});},"6414c78a":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return c;}});var t=s("f19d2b93");s("91d8f2b8");var a=s("5b220c3d"),n=s("e22febe0"),l=s("a9d1a279"),c=()=>{let[e,r]=(0,a.useState)(0);return(0,t.jsxs)(l.Flex,{vertical:!0,gap:"small",children:[(0,t.jsxs)(l.Flex,{vertical:!0,gap:"small",children:[(0,t.jsx)(l.Progress,{percent:e,type:"line"}),(0,t.jsx)(l.Progress,{percent:e,type:"circle"})]}),(0,t.jsxs)(l.Space.Compact,{children:[(0,t.jsx)(l.Button,{onClick:()=>{r(e=>{let r=e-10;return r<0?0:r;});},icon:(0,t.jsx)(n.MinusOutlined,{})}),(0,t.jsx)(l.Button,{onClick:()=>{r(e=>{let r=e+10;return r>100?100:r;});},icon:(0,t.jsx)(n.PlusOutlined,{})})]})]});};},"78d00c22":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("f71a8873");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Progress,{type:"circle",percent:75}),(0,t.jsx)(a.Progress,{type:"circle",percent:70,status:"exception"}),(0,t.jsx)(a.Progress,{type:"circle",percent:100})]});},"7f3539f2":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("2a4395dd");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{vertical:!0,gap:"middle",children:[(0,t.jsxs)(a.Flex,{vertical:!0,gap:"small",style:{width:300},children:[(0,t.jsx)(a.Progress,{percent:50}),(0,t.jsx)(a.Progress,{percent:50,size:"small"}),(0,t.jsx)(a.Progress,{percent:50,size:[300,20]})]}),(0,t.jsxs)(a.Flex,{align:"center",wrap:!0,gap:30,children:[(0,t.jsx)(a.Progress,{type:"circle",percent:50}),(0,t.jsx)(a.Progress,{type:"circle",percent:50,size:"small"}),(0,t.jsx)(a.Progress,{type:"circle",percent:50,size:20})]}),(0,t.jsxs)(a.Flex,{align:"center",wrap:!0,gap:30,children:[(0,t.jsx)(a.Progress,{type:"dashboard",percent:50}),(0,t.jsx)(a.Progress,{type:"dashboard",percent:50,size:"small"}),(0,t.jsx)(a.Progress,{type:"dashboard",percent:50,size:20})]}),(0,t.jsxs)(a.Flex,{align:"center",wrap:!0,gap:30,children:[(0,t.jsx)(a.Progress,{steps:3,percent:50}),(0,t.jsx)(a.Progress,{steps:3,percent:50,size:"small"}),(0,t.jsx)(a.Progress,{steps:3,percent:50,size:20}),(0,t.jsx)(a.Progress,{steps:3,percent:50,size:[20,30]})]})]});},"91f58105":function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("ab7a96a6");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{vertical:!0,gap:"small",children:[(0,t.jsx)(a.Progress,{strokeLinecap:"butt",percent:75}),(0,t.jsxs)(a.Flex,{wrap:!0,gap:"small",children:[(0,t.jsx)(a.Progress,{strokeLinecap:"butt",type:"circle",percent:75}),(0,t.jsx)(a.Progress,{strokeLinecap:"butt",type:"dashboard",percent:75})]})]});},a5aa20c8:function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("3fbcf87e");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{align:"center",gap:"small",children:[(0,t.jsx)(a.Progress,{type:"circle",trailColor:"#e6f4ff",percent:60,strokeWidth:20,size:14,format:e=>`\u{8FDB}\u{884C}\u{4E2D}\u{FF0C}\u{5DF2}\u{5B8C}\u{6210}${e}%`}),(0,t.jsx)("span",{children:"\u4EE3\u7801\u53D1\u5E03"})]});},c939a6fc:function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return c;}});var t=s("f19d2b93");s("1f8a4eed");var a=s("a9d1a279");let n={"0%":"#108ee9","100%":"#87d068"},l={"0%":"#87d068","50%":"#ffe58f","100%":"#ffccc7"};var c=()=>(0,t.jsxs)(a.Flex,{vertical:!0,gap:"middle",children:[(0,t.jsx)(a.Progress,{percent:99.9,strokeColor:n}),(0,t.jsx)(a.Progress,{percent:50,status:"active",strokeColor:{from:"#108ee9",to:"#87d068"}}),(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Progress,{type:"circle",percent:90,strokeColor:n}),(0,t.jsx)(a.Progress,{type:"circle",percent:100,strokeColor:n}),(0,t.jsx)(a.Progress,{type:"circle",percent:93,strokeColor:l})]}),(0,t.jsxs)(a.Flex,{gap:"small",wrap:!0,children:[(0,t.jsx)(a.Progress,{type:"dashboard",percent:90,strokeColor:n}),(0,t.jsx)(a.Progress,{type:"dashboard",percent:100,strokeColor:n}),(0,t.jsx)(a.Progress,{type:"dashboard",percent:93,strokeColor:l})]})]});},cc7a5173:function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("aeb62104");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",vertical:!0,children:[(0,t.jsx)(a.Progress,{percent:0,percentPosition:{align:"center",type:"inner"},size:[200,20],strokeColor:"#E6F4FF"}),(0,t.jsx)(a.Progress,{percent:10,percentPosition:{align:"center",type:"inner"},size:[300,20]}),(0,t.jsx)(a.Progress,{percent:50,percentPosition:{align:"start",type:"inner"},size:[300,20],strokeColor:"#B7EB8F"}),(0,t.jsx)(a.Progress,{percent:60,percentPosition:{align:"end",type:"inner"},size:[300,20],strokeColor:"#001342"}),(0,t.jsx)(a.Progress,{percent:100,percentPosition:{align:"center",type:"inner"},size:[400,20]}),(0,t.jsx)(a.Progress,{percent:60,percentPosition:{align:"start",type:"outer"}}),(0,t.jsx)(a.Progress,{percent:100,percentPosition:{align:"start",type:"outer"}}),(0,t.jsx)(a.Progress,{percent:60,percentPosition:{align:"center",type:"outer"},size:"small"}),(0,t.jsx)(a.Progress,{percent:100,percentPosition:{align:"center",type:"outer"}})]});},e9e4e00b:function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return n;}});var t=s("f19d2b93");s("7a6c8d4a");var a=s("a9d1a279"),n=()=>(0,t.jsxs)(a.Flex,{gap:"small",vertical:!0,children:[(0,t.jsx)(a.Progress,{percent:30}),(0,t.jsx)(a.Progress,{percent:50,status:"active"}),(0,t.jsx)(a.Progress,{percent:70,status:"exception"}),(0,t.jsx)(a.Progress,{percent:100}),(0,t.jsx)(a.Progress,{percent:50,showInfo:!1})]});},f1669582:function(e,r,s){"use strict";s.d(r,"__esModule",{value:!0}),s.d(r,"default",{enumerable:!0,get:function(){return l;}});var t=s("f19d2b93");s("ebf6d374");var a=s("0b30cea8"),n=s("a9d1a279"),l=()=>(0,t.jsxs)(n.Flex,{gap:"small",vertical:!0,children:[(0,t.jsx)(n.Progress,{percent:50,steps:3}),(0,t.jsx)(n.Progress,{percent:30,steps:5}),(0,t.jsx)(n.Progress,{percent:100,steps:5,size:"small",strokeColor:a.green[6]}),(0,t.jsx)(n.Progress,{percent:60,steps:5,strokeColor:[a.green[6],a.green[6],a.red[5]]})]});}}]); |