2017-03-17 18:56:30 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
2017-02-26 16:48:42 +08:00
exports[`Cascader can be selected 1`] = `
2021-08-31 15:51:02 +08:00
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
2017-02-26 16:48:42 +08:00
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
exports[`Cascader can be selected 2`] = `
2021-08-31 15:51:02 +08:00
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
2017-02-26 16:48:42 +08:00
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
aria-label="right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2019-08-13 14:07:17 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="West Lake"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
West Lake
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader can be selected 3`] = `
<div
2023-04-18 11:35:07 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
2020-01-02 19:10:16 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
</li>
</ul>
<ul
class="ant-cascader-menu"
role="menu"
>
<li
aria-checked="true"
class="ant-cascader-menu-item ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
title="West Lake"
>
<div
class="ant-cascader-menu-item-content"
>
West Lake
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader can be selected in RTL direction 1`] = `
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-cascader-dropdown-rtl ant-select-dropdown-placement-bottomRight"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-rtl"
>
2020-01-02 19:10:16 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
>
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
>
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="true"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
>
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader can be selected in RTL direction 2`] = `
<div
2023-04-18 11:35:07 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-cascader-dropdown-rtl ant-select-dropdown-placement-bottomRight"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-rtl"
>
2019-08-17 22:29:02 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2019-08-17 22:29:02 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
title="Zhejiang"
2019-08-17 22:29:02 +08:00
>
<div
2021-08-31 15:51:02 +08:00
class="ant-cascader-menu-item-content"
2019-08-17 22:29:02 +08:00
>
2021-08-31 15:51:02 +08:00
Zhejiang
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
2019-08-17 22:29:02 +08:00
>
<svg
2021-08-31 15:51:02 +08:00
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2019-08-17 22:29:02 +08:00
>
2021-08-31 15:51:02 +08:00
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
2019-08-17 22:29:02 +08:00
</svg>
2021-08-31 15:51:02 +08:00
</span>
2019-08-17 22:29:02 +08:00
</div>
</li>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
title="Jiangsu"
2017-03-17 18:56:30 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-label="left"
class="anticon anticon-left"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="left"
2018-09-02 19:53:29 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
2021-08-31 15:51:02 +08:00
</ul>
<ul
class="ant-cascader-menu"
role="menu"
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="true"
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
title="Hangzhou"
2017-03-17 18:56:30 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-label="left"
class="anticon anticon-left"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="left"
2018-09-02 19:53:29 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
</li>
</ul>
<ul
class="ant-cascader-menu"
role="menu"
>
<li
aria-checked="false"
class="ant-cascader-menu-item"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
title="West Lake"
>
<div
class="ant-cascader-menu-item-content"
>
West Lake
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader can be selected in RTL direction 3`] = `
<div
2023-04-18 11:35:07 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-cascader-dropdown-rtl ant-select-dropdown-placement-bottomRight"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-rtl"
>
2017-02-26 16:48:42 +08:00
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-label="left"
class="anticon anticon-left"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="left"
2018-09-02 19:53:29 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-label="left"
class="anticon anticon-left"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="left"
2018-09-02 19:53:29 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2017-02-26 16:48:42 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2018-08-13 11:45:27 +08:00
class="ant-cascader-menu-item-expand-icon"
>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-label="left"
class="anticon anticon-left"
2019-08-13 14:07:17 +08:00
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="left"
2018-09-02 19:53:29 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
2018-09-02 19:53:29 +08:00
/>
</svg>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
<ul
2017-03-17 18:56:30 +08:00
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2017-03-17 18:56:30 +08:00
>
2017-02-26 16:48:42 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="true"
class="ant-cascader-menu-item ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2017-03-17 18:56:30 +08:00
title="West Lake"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
West Lake
</div>
2017-02-26 16:48:42 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2018-03-23 19:19:29 +08:00
2022-03-26 00:17:34 +08:00
exports[`Cascader legacy props should support showCheckedStrategy child 1`] = `
<div
2023-03-05 23:29:03 +08:00
class="ant-select ant-cascader ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-open"
2022-03-26 00:17:34 +08:00
>
<div
class="ant-select-selector"
>
<div
class="ant-select-selection-overflow"
>
<div
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
style="opacity: 1;"
>
<div
class="ant-select-selection-search"
style="width: 0px;"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="true"
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
<span
aria-hidden="true"
class="ant-select-selection-search-mirror"
>
</span>
</div>
</div>
</div>
<span
class="ant-select-selection-placeholder"
/>
</div>
2023-03-02 22:09:02 +08:00
<div
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2023-03-02 22:09:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
<ul
class="ant-cascader-menu"
role="menu"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
data-path-key="zhejiang"
role="menuitemcheckbox"
title="Zhejiang"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<span
class="ant-cascader-checkbox"
2022-03-26 00:17:34 +08:00
>
<span
2023-03-02 22:09:02 +08:00
class="ant-cascader-checkbox-inner"
/>
</span>
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
class="ant-cascader-menu-item-expand-icon"
2022-03-26 00:17:34 +08:00
>
<span
2023-03-02 22:09:02 +08:00
aria-label="right"
class="anticon anticon-right"
role="img"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
/>
</svg>
2022-03-26 00:17:34 +08:00
</span>
2023-03-02 22:09:02 +08:00
</div>
</li>
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
data-path-key="jiangsu"
role="menuitemcheckbox"
title="Jiangsu"
>
<span
class="ant-cascader-checkbox"
>
<span
class="ant-cascader-checkbox-inner"
/>
</span>
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="right"
class="anticon anticon-right"
role="img"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
/>
</svg>
</span>
</div>
</li>
</ul>
2022-03-26 00:17:34 +08:00
</div>
</div>
</div>
2023-03-05 23:29:03 +08:00
<span
aria-hidden="true"
class="ant-select-arrow"
style="user-select: none;"
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
</span>
2022-03-26 00:17:34 +08:00
</div>
`;
exports[`Cascader legacy props should support showCheckedStrategy parent 1`] = `
<div
2023-03-05 23:29:03 +08:00
class="ant-select ant-cascader ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-open"
2022-03-26 00:17:34 +08:00
>
<div
class="ant-select-selector"
>
<div
class="ant-select-selection-overflow"
>
<div
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
style="opacity: 1;"
>
<div
class="ant-select-selection-search"
style="width: 0px;"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="true"
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
<span
aria-hidden="true"
class="ant-select-selection-search-mirror"
>
</span>
</div>
</div>
</div>
<span
class="ant-select-selection-placeholder"
/>
</div>
2023-03-02 22:09:02 +08:00
<div
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2023-03-02 22:09:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
<ul
class="ant-cascader-menu"
role="menu"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
data-path-key="zhejiang"
role="menuitemcheckbox"
title="Zhejiang"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<span
class="ant-cascader-checkbox"
2022-03-26 00:17:34 +08:00
>
<span
2023-03-02 22:09:02 +08:00
class="ant-cascader-checkbox-inner"
/>
</span>
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
class="ant-cascader-menu-item-expand-icon"
2022-03-26 00:17:34 +08:00
>
<span
2023-03-02 22:09:02 +08:00
aria-label="right"
class="anticon anticon-right"
role="img"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
/>
</svg>
2022-03-26 00:17:34 +08:00
</span>
2023-03-02 22:09:02 +08:00
</div>
</li>
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
data-path-key="jiangsu"
role="menuitemcheckbox"
title="Jiangsu"
>
<span
class="ant-cascader-checkbox"
>
<span
class="ant-cascader-checkbox-inner"
/>
</span>
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="right"
class="anticon anticon-right"
role="img"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2022-03-26 00:17:34 +08:00
>
2023-03-02 22:09:02 +08:00
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
/>
</svg>
</span>
</div>
</li>
</ul>
2022-03-26 00:17:34 +08:00
</div>
</div>
</div>
2023-03-05 23:29:03 +08:00
<span
aria-hidden="true"
class="ant-select-arrow"
style="user-select: none;"
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
</span>
2022-03-26 00:17:34 +08:00
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader popup correctly with defaultValue 1`] = `
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus"
>
2020-01-02 19:10:16 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Zhejiang"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Zhejiang
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
2021-12-21 21:38:11 +08:00
data-path-key="jiangsu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Jiangsu"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Jiangsu
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="true"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="Hangzhou"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
Hangzhou
</div>
<div
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item-expand-icon"
>
<span
2021-08-31 15:51:02 +08:00
aria-label="right"
class="anticon anticon-right"
2020-01-02 19:10:16 +08:00
role="img"
>
<svg
aria-hidden="true"
2021-08-31 15:51:02 +08:00
data-icon="right"
2020-01-02 19:10:16 +08:00
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
2021-08-31 15:51:02 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
2020-01-02 19:10:16 +08:00
/>
</svg>
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2020-01-02 19:10:16 +08:00
>
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-01-02 19:10:16 +08:00
class="ant-cascader-menu-item"
2021-12-21 21:38:11 +08:00
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2020-01-02 19:10:16 +08:00
title="West Lake"
>
2021-08-31 15:51:02 +08:00
<div
class="ant-cascader-menu-item-content"
>
West Lake
</div>
2020-01-02 19:10:16 +08:00
</li>
</ul>
</div>
</div>
</div>
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader popup correctly with defaultValue RTL 1`] = `
<div
class="ant-select ant-cascader ant-select-rtl ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-open"
2020-01-02 19:10:16 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-select-selector"
>
<span
class="ant-select-selection-search"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="true"
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
<span
class="ant-select-selection-item"
title="Zhejiang / Hangzhou"
>
Zhejiang / Hangzhou
</span>
</div>
2023-03-02 22:09:02 +08:00
<div
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-cascader-dropdown-rtl ant-select-dropdown-placement-bottomRight"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: auto;"
2023-03-02 22:09:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-rtl"
>
<ul
class="ant-cascader-menu"
role="menu"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
data-path-key="zhejiang"
role="menuitemcheckbox"
title="Zhejiang"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<div
class="ant-cascader-menu-item-content"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
Zhejiang
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
</div>
</li>
<li
aria-checked="false"
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
data-path-key="jiangsu"
role="menuitemcheckbox"
title="Jiangsu"
>
<div
class="ant-cascader-menu-item-content"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
Jiangsu
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
</div>
</li>
</ul>
<ul
class="ant-cascader-menu"
role="menu"
>
<li
aria-checked="true"
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou"
role="menuitemcheckbox"
title="Hangzhou"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<div
class="ant-cascader-menu-item-content"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
Hangzhou
</div>
<div
class="ant-cascader-menu-item-expand-icon"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
</div>
</li>
</ul>
<ul
class="ant-cascader-menu"
role="menu"
>
<li
aria-checked="false"
class="ant-cascader-menu-item"
data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"
role="menuitemcheckbox"
title="West Lake"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
<div
class="ant-cascader-menu-item-content"
2021-08-31 15:51:02 +08:00
>
2023-03-02 22:09:02 +08:00
West Lake
</div>
</li>
</ul>
2021-08-31 15:51:02 +08:00
</div>
</div>
</div>
2020-01-02 19:10:16 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-hidden="true"
class="ant-select-arrow"
style="user-select: none;"
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
</span>
2020-01-02 19:10:16 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-hidden="true"
class="ant-select-clear"
style="user-select: none;"
unselectable="on"
2020-01-02 19:10:16 +08:00
>
2021-08-31 15:51:02 +08:00
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
2020-01-02 19:10:16 +08:00
>
2021-08-31 15:51:02 +08:00
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
/>
</svg>
</span>
2020-01-02 19:10:16 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2020-01-02 19:10:16 +08:00
`;
2021-08-31 15:51:02 +08:00
exports[`Cascader rtl render component should be rendered correctly in RTL direction 1`] = `
<div
class="ant-select ant-cascader ant-select-rtl ant-select-single ant-select-allow-clear ant-select-show-arrow"
>
2020-09-02 18:30:27 +08:00
<div
2021-08-31 15:51:02 +08:00
class="ant-select-selector"
2020-09-02 18:30:27 +08:00
>
2021-08-31 15:51:02 +08:00
<span
class="ant-select-selection-search"
>
<input
aria-autocomplete="list"
2021-12-04 17:06:36 +08:00
aria-controls="rc_select_TEST_OR_SSR_list"
2023-03-29 14:44:41 +08:00
aria-expanded="false"
2021-08-31 15:51:02 +08:00
aria-haspopup="listbox"
2021-12-04 17:06:36 +08:00
aria-owns="rc_select_TEST_OR_SSR_list"
2021-08-31 15:51:02 +08:00
autocomplete="off"
class="ant-select-selection-search-input"
2021-12-04 17:06:36 +08:00
id="rc_select_TEST_OR_SSR"
2021-08-31 15:51:02 +08:00
readonly=""
role="combobox"
2021-12-04 17:06:36 +08:00
style="opacity: 0;"
2021-08-31 15:51:02 +08:00
type="search"
unselectable="on"
value=""
/>
</span>
<span
class="ant-select-selection-placeholder"
/>
</div>
<span
aria-hidden="true"
class="ant-select-arrow"
2021-12-04 17:06:36 +08:00
style="user-select: none;"
2021-08-31 15:51:02 +08:00
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
</span>
</div>
`;
2022-11-04 23:57:55 +08:00
exports[`Cascader should highlight keyword and filter when search in Cascader 1`] = `"<div><div class="ant-cascader-menus"><ul class="ant-cascader-menu" role="menu"><li class="ant-cascader-menu-item" role="menuitemcheckbox" aria-checked="false" data-path-key="zhejiang__RC_CASCADER_SPLIT__hangzhou__RC_CASCADER_SPLIT__xihu"><div class="ant-cascader-menu-item-content"><span class="ant-cascader-menu-item-keyword">Z</span>hejiang / Hang<span class="ant-cascader-menu-item-keyword">z</span>hou / West Lake</div></li><li class="ant-cascader-menu-item" role="menuitemcheckbox" aria-checked="false" data-path-key="jiangsu__RC_CASCADER_SPLIT__nanjing__RC_CASCADER_SPLIT__zhonghuamen"><div class="ant-cascader-menu-item-content">Jiangsu / Nanjing / <span class="ant-cascader-menu-item-keyword">Z</span>hong Hua Men</div></li></ul></div></div>"`;
2018-05-25 19:31:34 +08:00
2022-11-04 23:57:55 +08:00
exports[`Cascader should highlight keyword and filter when search in Cascader with same field name of label and value 1`] = `"<div><div class="ant-cascader-menus"><ul class="ant-cascader-menu" role="menu"><li class="ant-cascader-menu-item" role="menuitemcheckbox" aria-checked="false" data-path-key="Zhejiang__RC_CASCADER_SPLIT__Hangzhou__RC_CASCADER_SPLIT__West Lake"><div class="ant-cascader-menu-item-content"><span class="ant-cascader-menu-item-keyword">Z</span>hejiang / Hang<span class="ant-cascader-menu-item-keyword">z</span>hou / West Lake</div></li><li class="ant-cascader-menu-item ant-cascader-menu-item-disabled" role="menuitemcheckbox" aria-checked="false" data-path-key="Zhejiang__RC_CASCADER_SPLIT__Hangzhou__RC_CASCADER_SPLIT__Xia Sha"><div class="ant-cascader-menu-item-content"><span class="ant-cascader-menu-item-keyword">Z</span>hejiang / Hang<span class="ant-cascader-menu-item-keyword">z</span>hou / Xia Sha</div></li></ul></div></div>"`;
2020-01-07 13:41:41 +08:00
2018-05-25 19:31:34 +08:00
exports[`Cascader should render not found content 1`] = `
2021-08-31 15:51:02 +08:00
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-empty ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: 0;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-menu-empty"
>
2020-09-02 18:30:27 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2018-05-25 19:31:34 +08:00
>
2020-09-02 18:30:27 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-09-02 18:30:27 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-disabled"
2021-12-21 21:38:11 +08:00
data-path-key="__EMPTY__"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2018-05-25 19:31:34 +08:00
>
2020-09-02 18:30:27 +08:00
<div
2021-08-31 15:51:02 +08:00
class="ant-cascader-menu-item-content"
2018-05-25 19:31:34 +08:00
>
<div
2021-08-31 15:51:02 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-05-25 19:31:34 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-empty-image"
2019-12-05 16:15:10 +08:00
>
2021-08-31 15:51:02 +08:00
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
2020-09-02 18:30:27 +08:00
>
<g
2021-08-31 15:51:02 +08:00
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
2019-12-05 16:15:10 +08:00
>
2021-08-31 15:51:02 +08:00
<ellipse
cx="32"
cy="33"
2022-11-21 17:12:10 +08:00
fill="#f5f5f5"
2021-08-31 15:51:02 +08:00
rx="32"
ry="7"
2020-09-02 18:30:27 +08:00
/>
2021-08-31 15:51:02 +08:00
<g
fill-rule="nonzero"
2022-11-21 17:12:10 +08:00
stroke="#d9d9d9"
2021-08-31 15:51:02 +08:00
>
<path
d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"
/>
<path
d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z"
2022-11-21 17:12:10 +08:00
fill="#fafafa"
2021-08-31 15:51:02 +08:00
/>
</g>
2020-09-02 18:30:27 +08:00
</g>
2021-08-31 15:51:02 +08:00
</svg>
</div>
<div
class="ant-empty-description"
>
2022-10-30 21:33:23 +08:00
No data
2021-08-31 15:51:02 +08:00
</div>
2021-01-14 16:29:48 +08:00
</div>
2020-09-02 18:30:27 +08:00
</div>
</li>
</ul>
</div>
2019-07-09 16:29:42 +08:00
</div>
2020-09-02 18:30:27 +08:00
</div>
2019-07-09 16:29:42 +08:00
`;
exports[`Cascader should show not found content when options.length is 0 1`] = `
2021-08-31 15:51:02 +08:00
<div
2023-03-02 22:09:02 +08:00
class="ant-select-dropdown ant-slide-up-appear ant-slide-up-appear-prepare ant-slide-up ant-cascader-dropdown ant-select-dropdown-empty ant-select-dropdown-placement-bottomLeft"
2023-05-08 23:28:13 +08:00
style="--arrow-x: 0px; --arrow-y: 0px; left: -1000vw; top: -1000vh; box-sizing: border-box; min-width: 0;"
2021-08-31 15:51:02 +08:00
>
<div>
<div
class="ant-cascader-menus ant-cascader-menu-empty"
>
2020-09-02 18:30:27 +08:00
<ul
class="ant-cascader-menu"
2021-08-31 15:51:02 +08:00
role="menu"
2019-07-09 16:29:42 +08:00
>
2020-09-02 18:30:27 +08:00
<li
2021-08-31 15:51:02 +08:00
aria-checked="false"
2020-11-30 11:31:22 +08:00
class="ant-cascader-menu-item ant-cascader-menu-item-disabled"
2021-12-21 21:38:11 +08:00
data-path-key="__EMPTY__"
2021-08-31 15:51:02 +08:00
role="menuitemcheckbox"
2019-07-09 16:29:42 +08:00
>
2020-09-02 18:30:27 +08:00
<div
2021-08-31 15:51:02 +08:00
class="ant-cascader-menu-item-content"
2019-07-09 16:29:42 +08:00
>
<div
2021-08-31 15:51:02 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2019-07-09 16:29:42 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-empty-image"
2019-12-05 16:15:10 +08:00
>
2021-08-31 15:51:02 +08:00
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
2020-09-02 18:30:27 +08:00
>
<g
2021-08-31 15:51:02 +08:00
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
2019-12-05 16:15:10 +08:00
>
2021-08-31 15:51:02 +08:00
<ellipse
cx="32"
cy="33"
2022-11-21 17:12:10 +08:00
fill="#f5f5f5"
2021-08-31 15:51:02 +08:00
rx="32"
ry="7"
2020-09-02 18:30:27 +08:00
/>
2021-08-31 15:51:02 +08:00
<g
fill-rule="nonzero"
2022-11-21 17:12:10 +08:00
stroke="#d9d9d9"
2021-08-31 15:51:02 +08:00
>
<path
d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"
/>
<path
d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z"
2022-11-21 17:12:10 +08:00
fill="#fafafa"
2021-08-31 15:51:02 +08:00
/>
</g>
2020-09-02 18:30:27 +08:00
</g>
2021-08-31 15:51:02 +08:00
</svg>
</div>
<div
class="ant-empty-description"
>
2022-10-30 21:33:23 +08:00
No data
2021-08-31 15:51:02 +08:00
</div>
2021-01-14 16:29:48 +08:00
</div>
2020-09-02 18:30:27 +08:00
</div>
</li>
</ul>
</div>
2018-05-25 19:31:34 +08:00
</div>
2020-09-02 18:30:27 +08:00
</div>
2018-05-25 19:31:34 +08:00
`;
2018-03-23 19:19:29 +08:00
exports[`Cascader support controlled mode 1`] = `
2021-08-31 15:51:02 +08:00
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
2018-03-23 19:19:29 +08:00
>
2021-08-31 15:51:02 +08:00
<div
class="ant-select-selector"
2018-03-23 19:19:29 +08:00
>
2021-08-31 15:51:02 +08:00
<span
class="ant-select-selection-search"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
2023-03-29 14:44:41 +08:00
aria-expanded="false"
2021-08-31 15:51:02 +08:00
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
<span
class="ant-select-selection-item"
title="Zhejiang / Hangzhou / West Lake"
>
Zhejiang / Hangzhou / West Lake
</span>
</div>
2019-08-13 14:07:17 +08:00
<span
2021-08-31 15:51:02 +08:00
aria-hidden="true"
class="ant-select-arrow"
style="user-select: none;"
unselectable="on"
2018-09-02 19:53:29 +08:00
>
2021-08-31 15:51:02 +08:00
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
2018-09-02 19:53:29 +08:00
>
2021-08-31 15:51:02 +08:00
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
2019-08-13 14:07:17 +08:00
</span>
<span
2021-08-31 15:51:02 +08:00
aria-hidden="true"
class="ant-select-clear"
style="user-select: none;"
unselectable="on"
2018-09-02 19:53:29 +08:00
>
2021-08-31 15:51:02 +08:00
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
2018-09-02 19:53:29 +08:00
>
2021-08-31 15:51:02 +08:00
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
/>
</svg>
</span>
2019-08-13 14:07:17 +08:00
</span>
2021-08-31 15:51:02 +08:00
</div>
2018-03-23 19:19:29 +08:00
`;