2018-04-18 10:45:07 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-03-22 17:59:43 +08:00
|
|
|
exports[`Progress render dashboard 295 gapDegree 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2020-03-22 17:59:43 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 53.31980864842677px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(237.5deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
2020-05-04 13:38:04 +08:00
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 53.31980864842677px 295.3097094374406; stroke-dashoffset: 53.309808648426774; transform: rotate(237.5deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-06-05 13:25:19 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-06-05 13:25:19 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-06-05 13:25:19 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #52C41A; stroke-dasharray: 53.31980864842677px 295.3097094374406; stroke-dashoffset: 53.309808648426774; transform: rotate(237.5deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-06-05 13:25:19 +08:00
|
|
|
/>
|
2020-03-22 17:59:43 +08:00
|
|
|
</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-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2020-03-22 17:59:43 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 52.499503899989435px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(238deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
2020-05-04 13:38:04 +08:00
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 52.499503899989435px 295.3097094374406; stroke-dashoffset: 52.48950389998944; transform: rotate(238deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-06-05 13:25:19 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-06-05 13:25:19 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-06-05 13:25:19 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #52C41A; stroke-dasharray: 52.499503899989435px 295.3097094374406; stroke-dashoffset: 52.48950389998944; transform: rotate(238deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-06-05 13:25:19 +08:00
|
|
|
/>
|
2020-03-22 17:59:43 +08:00
|
|
|
</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-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2020-03-22 17:59:43 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke-linecap="round"
|
2020-05-04 13:38:04 +08:00
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 295.2997094374406; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2020-03-22 17:59:43 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-06-05 13:25:19 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-06-05 13:25:19 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-06-05 13:25:19 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #52C41A; stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 295.2997094374406; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-06-05 13:25:19 +08:00
|
|
|
/>
|
2020-03-22 17:59:43 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-04-29 23:01:58 +08:00
|
|
|
exports[`Progress render format 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-04-29 23:01:58 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-04-29 23:01:58 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 50%; height: 8px;"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
|
|
|
style="width: 10%; height: 8px;"
|
|
|
|
/>
|
2018-04-29 23:01:58 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50 10"
|
|
|
|
>
|
|
|
|
50 10
|
|
|
|
</span>
|
2018-04-29 23:01:58 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-03-22 17:59:43 +08:00
|
|
|
exports[`Progress render negative progress 1`] = `
|
2018-04-18 10:45:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-04-18 10:45:07 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-04-18 10:45:07 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 0%; height: 8px;"
|
|
|
|
/>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-03-22 17:59:43 +08:00
|
|
|
exports[`Progress render negative successPercent 1`] = `
|
2018-04-18 10:45:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-04-18 10:45:07 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-04-18 10:45:07 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 50%; height: 8px;"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
|
|
|
style="width: 0%; height: 8px;"
|
|
|
|
/>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-12-04 21:42:04 +08:00
|
|
|
exports[`Progress render normal progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-12-04 21:42:04 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-12-04 21:42:04 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 0%; height: 8px;"
|
|
|
|
/>
|
2018-12-04 21:42:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
2018-12-04 21:42:04 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-04-18 10:45:07 +08:00
|
|
|
exports[`Progress render out-of-range progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-04-18 10:45:07 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-04-18 10:45:07 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 100%; height: 8px;"
|
|
|
|
/>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2018-04-18 10:45:07 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="check-circle"
|
|
|
|
class="anticon anticon-check-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<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"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
`;
|
2018-04-18 11:10:32 +08:00
|
|
|
|
|
|
|
exports[`Progress render out-of-range progress with info 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-04-18 11:10:32 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-04-18 11:10:32 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 100%; height: 8px;"
|
|
|
|
/>
|
2018-04-18 11:10:32 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2018-04-18 11:10:32 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="check-circle"
|
|
|
|
class="anticon anticon-check-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<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"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2018-04-18 11:10:32 +08:00
|
|
|
</div>
|
|
|
|
`;
|
2018-10-13 01:19:41 +08:00
|
|
|
|
|
|
|
exports[`Progress render strokeColor 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2018-10-13 01:19:41 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2018-10-13 01:19:41 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2018-10-13 01:19:41 +08:00
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2018-10-13 01:19:41 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2018-10-13 01:19:41 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2018-10-13 01:19:41 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: red; stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 150.6548547187203; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-06-05 13:25:19 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-06-05 13:25:19 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-06-05 13:25:19 +08:00
|
|
|
opacity="0"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-06-05 13:25:19 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #52C41A; stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 295.2997094374406; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2018-10-13 01:19:41 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2019-03-24 17:05:24 +08:00
|
|
|
|
|
|
|
exports[`Progress render strokeColor 2`] = `
|
2022-03-30 11:54:22 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2019-03-24 17:05:24 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<div
|
2022-03-30 11:54:22 +08:00
|
|
|
class="ant-progress-outer"
|
2019-04-16 14:22:22 +08:00
|
|
|
>
|
2022-03-30 11:54:22 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2019-04-16 14:22:22 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
2022-03-30 11:54:22 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 50%; height: 8px;"
|
|
|
|
/>
|
|
|
|
</div>
|
2019-04-16 14:22:22 +08:00
|
|
|
</div>
|
2022-03-30 11:54:22 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-03-24 17:05:24 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render strokeColor 3`] = `
|
2022-03-28 22:25:23 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2019-03-24 17:05:24 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<div
|
2022-03-28 22:25:23 +08:00
|
|
|
class="ant-progress-outer"
|
2019-04-16 14:22:22 +08:00
|
|
|
>
|
2022-03-28 22:25:23 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2019-04-16 14:22:22 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
2022-03-28 22:25:23 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 50%; height: 8px;"
|
|
|
|
/>
|
|
|
|
</div>
|
2019-04-16 14:22:22 +08:00
|
|
|
</div>
|
2022-03-28 22:25:23 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-03-24 17:05:24 +08:00
|
|
|
`;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
2022-10-31 10:23:26 +08:00
|
|
|
exports[`Progress render strokeWidth of progress 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
class="ant-progress-circle"
|
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<circle
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="25"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="50"
|
|
|
|
style="stroke-dasharray: 157.07963267948966px 157.07963267948966; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
|
|
|
/>
|
|
|
|
<circle
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
opacity="1"
|
|
|
|
r="25"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="50"
|
|
|
|
style="stroke-dasharray: 157.07963267948966px 157.07963267948966; stroke-dashoffset: 134.95574287564276; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
|
|
|
/>
|
|
|
|
<circle
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
opacity="0"
|
|
|
|
r="25"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="50"
|
|
|
|
style="stroke: #52C41A; stroke-dasharray: 157.07963267948966px 157.07963267948966; stroke-dashoffset: 157.06963267948967; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="30%"
|
|
|
|
>
|
|
|
|
30%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-06-28 22:41:59 +08:00
|
|
|
exports[`Progress render successColor progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width: 60%; height: 8px;"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
|
|
|
style="width: 30%; height: 8px; background-color: rgb(255, 255, 255);"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-07-30 13:17:57 +08:00
|
|
|
exports[`Progress render successColor progress type="circle" 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
class="ant-progress-circle"
|
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-07-30 13:17:57 +08:00
|
|
|
opacity="1"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 209.7167966062084; transform: rotate(18deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-07-30 13:17:57 +08:00
|
|
|
opacity="1"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #ffffff; stroke-dasharray: 295.3097094374406px 295.3097094374406; stroke-dashoffset: 209.7167966062084; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render successColor progress type="dashboard" 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width: 120px; height: 120px; font-size: 24px;"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
class="ant-progress-circle"
|
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 233.78685330464043px 295.3097094374406; stroke-dashoffset: 0; transform: rotate(127.5deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-07-30 13:17:57 +08:00
|
|
|
opacity="1"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke-dasharray: 233.78685330464043px 295.3097094374406; stroke-dashoffset: 166.6507973132483; transform: rotate(213deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
2022-05-08 23:57:17 +08:00
|
|
|
<circle
|
2021-07-30 13:17:57 +08:00
|
|
|
class="ant-progress-circle-path"
|
2022-05-08 23:57:17 +08:00
|
|
|
cx="50"
|
|
|
|
cy="50"
|
2021-07-30 13:17:57 +08:00
|
|
|
opacity="1"
|
2022-05-08 23:57:17 +08:00
|
|
|
r="47"
|
2021-07-30 13:17:57 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2022-05-08 23:57:17 +08:00
|
|
|
style="stroke: #ffffff; stroke-dasharray: 233.78685330464043px 295.3097094374406; stroke-dashoffset: 166.6507973132483; transform: rotate(127.5deg); transform-origin: 50% 50%; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s; fill-opacity: 0; transition-duration: 0s, 0s;"
|
2021-07-30 13:17:57 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-02-25 11:11:19 +08:00
|
|
|
exports[`Progress render trailColor progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Progress rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default ant-progress-rtl"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2020-01-02 19:10:16 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2020-01-02 19:10:16 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
2021-12-04 17:06:36 +08:00
|
|
|
style="width: 0%; height: 8px;"
|
2020-02-02 11:12:07 +08:00
|
|
|
/>
|
2020-01-02 19:10:16 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
2020-01-02 19:10:16 +08:00
|
|
|
</div>
|
|
|
|
`;
|
2020-05-25 16:27:02 +08:00
|
|
|
|
|
|
|
exports[`Progress should support steps 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-steps ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2021-12-04 17:06:36 +08:00
|
|
|
style="width: 14px; height: 8px;"
|
2020-05-25 16:27:02 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2021-12-04 17:06:36 +08:00
|
|
|
style="width: 14px; height: 8px;"
|
2020-05-25 16:27:02 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2021-12-04 17:06:36 +08:00
|
|
|
style="width: 14px; height: 8px;"
|
2020-05-25 16:27:02 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2020-08-22 01:29:48 +08:00
|
|
|
|
|
|
|
exports[`Progress steps should have default percent 0 1`] = `
|
|
|
|
<div
|
|
|
|
class="undefined-steps-outer"
|
|
|
|
/>
|
|
|
|
`;
|