2018-09-05 13:28:54 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress render dashboard 295 gapDegree 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-circle ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-inner" style="width: 120px; height: 120px; font-size: 24px;"><svg class="ant-progress-circle" viewBox="0 0 100 100">
|
|
|
|
<!---->
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 0.3097094374405742px 295.3097094374406px; stroke-dashoffset: -147.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -147.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #52C41A; stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -147.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
</svg><span class="ant-progress-text" title="0%">0%</span></div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render dashboard 296 gapDegree 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-circle ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-inner" style="width: 120px; height: 120px; font-size: 24px;"><svg class="ant-progress-circle" viewBox="0 0 100 100">
|
|
|
|
<!---->
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: -0.6902905625594258px 295.3097094374406px; stroke-dashoffset: -148px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -148px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #52C41A; stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -148px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
</svg><span class="ant-progress-text" title="0%">0%</span></div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render dashboard zero gapDegree 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-circle ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-inner" style="width: 120px; height: 120px; font-size: 24px;"><svg class="ant-progress-circle" viewBox="0 0 100 100">
|
|
|
|
<!---->
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
<path d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #52C41A; stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
|
|
|
</svg><span class="ant-progress-text" title="0%">0%</span></div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-10-30 07:10:16 +00:00
|
|
|
exports[`Progress render format 1`] = `
|
2021-09-25 08:51:32 +00:00
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 50%; height: 8px;"></div>
|
|
|
|
<div class="ant-progress-success-bg" style="width: 10%; height: 8px;"></div>
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="50 10">50 10</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render negative progress 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 0%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="0%">0%</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render negative successPercent 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 50%; height: 8px;"></div>
|
|
|
|
<div class="ant-progress-success-bg" style="width: 0%; height: 8px;"></div>
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="50%">50%</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render normal progress 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 0%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="0%">0%</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render out-of-range progress 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-success">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 100%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text"><span role="img" aria-label="check-circle" class="anticon anticon-check-circle"><svg focusable="false" class="" data-icon="check-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg></span></span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render out-of-range progress with info 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-success">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 100%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text"><span role="img" aria-label="check-circle" class="anticon anticon-check-circle"><svg focusable="false" class="" data-icon="check-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg></span></span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render strokeColor 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-circle ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
2020-06-26 02:08:47 +00:00
|
|
|
<div class="ant-progress-inner" style="width: 120px; height: 120px; font-size: 24px;"><svg class="ant-progress-circle" viewBox="0 0 100 100">
|
|
|
|
<!---->
|
2018-10-30 07:10:16 +00:00
|
|
|
<path d="M 50,50 m 0,-47
|
2020-03-07 11:45:13 +00:00
|
|
|
a 47,47 0 1 1 0,94
|
2021-01-14 09:33:17 +00:00
|
|
|
a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
2018-10-30 07:10:16 +00:00
|
|
|
<path d="M 50,50 m 0,-47
|
2020-03-07 11:45:13 +00:00
|
|
|
a 47,47 0 1 1 0,94
|
2021-01-14 09:33:17 +00:00
|
|
|
a 47,47 0 1 1 0,-94" stroke="" stroke-linecap="round" stroke-width="6" opacity="1" fill-opacity="0" class="ant-progress-circle-path" style="stroke: red; stroke-dasharray: 147.6548547187203px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
2021-09-25 08:51:32 +00:00
|
|
|
<path d="M 50,50 m 0,-47
|
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #52C41A; stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s;"></path>
|
2020-06-26 02:08:47 +00:00
|
|
|
</svg><span class="ant-progress-text" title="50%">50%</span></div>
|
2018-10-30 07:10:16 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress render strokeColor 2`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 50%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="50%">50%</span>
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress render strokeColor 3`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 50%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="50%">50%</span>
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress render successColor progress 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner">
|
|
|
|
<div class="ant-progress-bg" style="width: 60%; height: 8px;"></div>
|
|
|
|
<div class="ant-progress-success-bg" style="width: 30%; height: 8px; background-color: rgb(255, 255, 255);"></div>
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="60%">60%</span>
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress render trailColor progress 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-outer">
|
|
|
|
<div class="ant-progress-inner" style="background-color: rgb(255, 255, 255);">
|
|
|
|
<div class="ant-progress-bg" style="width: 0%; height: 8px;"></div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div><span class="ant-progress-text" title="0%">0%</span>
|
2019-01-05 03:24:25 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress should support steps 1`] = `
|
|
|
|
<div class="ant-progress ant-progress-line ant-progress-show-info ant-progress-default ant-progress-status-normal">
|
|
|
|
<div class="ant-progress-steps-outer">
|
|
|
|
<div class="ant-progress-steps-item" style="width: 14px; height: 8px;"></div>
|
|
|
|
<div class="ant-progress-steps-item" style="width: 14px; height: 8px;"></div>
|
|
|
|
<div class="ant-progress-steps-item" style="width: 14px; height: 8px;"></div><span class="ant-progress-text" title="0%">0%</span>
|
2018-09-05 13:58:32 +00:00
|
|
|
</div>
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`Progress steps should have default percent 0 1`] = `
|
|
|
|
<div class="undefined-steps-outer">
|
|
|
|
<!---->
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|