2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/basic.tsx correctly 1`] = `
|
2020-05-09 19:32:02 +08:00
|
|
|
Array [
|
2017-09-15 16:42:25 +08:00
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
2019-08-23 12:18:27 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selection-placeholder"
|
2019-08-23 12:18:27 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
input here
|
2019-08-23 12:18:27 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-05-09 19:32:02 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
2019-08-23 12:18:27 +08:00
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2019-08-23 12:18:27 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selection-placeholder"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
control mode
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-08-23 12:18:27 +08:00
|
|
|
</div>
|
2020-05-09 19:32:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/certain-category.tsx correctly 1`] = `
|
2017-03-05 19:29:33 +08:00
|
|
|
<div
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:250px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-05 19:29:33 +08:00
|
|
|
<div
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-01-17 11:39:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2022-03-01 14:17:48 +08:00
|
|
|
class="ant-input-group-wrapper ant-input-search ant-input-search-large ant-select-selection-search-input ant-input-group-wrapper-lg"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2020-10-13 21:16:20 +08:00
|
|
|
class="ant-input-wrapper ant-input-group"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-10-13 21:16:20 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2020-10-13 21:16:20 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-10-13 21:16:20 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-10-13 21:16:20 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-input-lg"
|
|
|
|
placeholder="input here"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2020-10-13 21:16:20 +08:00
|
|
|
class="ant-input-group-addon"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-10-13 21:16:20 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-lg ant-btn-icon-only ant-input-search-button"
|
2020-10-13 21:16:20 +08:00
|
|
|
type="button"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-10-13 21:16:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2017-03-05 19:29:33 +08:00
|
|
|
</span>
|
2020-01-17 11:39:31 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
2017-03-05 19:29:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/custom.tsx correctly 1`] = `
|
2017-10-08 15:22:24 +08:00
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2017-10-08 15:22:24 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-10-08 15:22:24 +08:00
|
|
|
>
|
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selection-search"
|
2017-10-08 15:22:24 +08:00
|
|
|
>
|
2020-10-19 14:03:19 +08:00
|
|
|
<textarea
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2020-10-19 14:03:19 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-10-19 14:03:19 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-10-19 14:03:19 +08:00
|
|
|
autocomplete="off"
|
2021-03-11 23:11:51 +08:00
|
|
|
class="ant-input ant-select-selection-search-input custom"
|
2020-10-19 14:03:19 +08:00
|
|
|
placeholder="input here"
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="height:50px"
|
2020-10-19 14:03:19 +08:00
|
|
|
type="search"
|
|
|
|
/>
|
2017-10-08 15:22:24 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
2017-10-08 15:22:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/form-debug.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<form
|
|
|
|
class="ant-form ant-form-horizontal"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin:0 auto"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-13 15:45:49 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-13 15:45:49 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-13 15:45:49 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="单独 AutoComplete"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
单独 AutoComplete
|
|
|
|
</label>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2019-09-28 11:31:28 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-09-28 11:31:28 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input-content"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-09-28 11:31:28 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-select-in-form-item ant-select-auto-complete ant-select-single ant-select-show-search"
|
2019-09-28 11:31:28 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
2019-09-28 11:31:28 +08:00
|
|
|
/>
|
2022-07-19 16:01:31 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-28 11:31:28 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-13 10:55:53 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-13 10:55:53 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="单独 TreeSelect"
|
|
|
|
>
|
|
|
|
单独 TreeSelect
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-02-13 10:55:53 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-02-13 10:55:53 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-tree-select ant-select-in-form-item ant-select-single ant-select-show-arrow"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-02-19 22:04:25 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-02-19 22:04:25 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-05-12 14:57:05 +08:00
|
|
|
unselectable="on"
|
2020-02-19 22:04:25 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2017-09-15 16:42:25 +08:00
|
|
|
/>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2020-02-19 22:04:25 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
<span
|
2020-02-19 22:04:25 +08:00
|
|
|
aria-label="down"
|
2020-06-24 23:28:54 +08:00
|
|
|
class="anticon anticon-down ant-select-suffix"
|
2020-02-19 22:04:25 +08:00
|
|
|
role="img"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<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>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="添加 Input.Group 正常"
|
|
|
|
>
|
|
|
|
添加 Input.Group 正常
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input-content"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-input-group ant-input-group-compact"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-tree-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:30%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-07-19 16:01:31 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2019-09-12 20:15:17 +08:00
|
|
|
/>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2022-07-19 16:01:31 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<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>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
</span>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="包含 search 图标正常"
|
|
|
|
>
|
|
|
|
包含 search 图标正常
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2019-09-28 11:31:28 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-select-in-form-item ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2019-09-28 11:31:28 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
2020-09-06 13:07:39 +08:00
|
|
|
class="ant-input-affix-wrapper ant-select-selection-search-input"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2020-02-19 22:04:25 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-02-19 22:04:25 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-02-19 22:04:25 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-02-19 22:04:25 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="同时有 Input.Group 和图标发生移位"
|
|
|
|
>
|
|
|
|
同时有 Input.Group 和图标发生移位
|
|
|
|
</label>
|
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-input-group ant-input-group-compact"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-tree-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:30%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-07-19 16:01:31 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2019-09-12 20:15:17 +08:00
|
|
|
/>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2022-07-19 16:01:31 +08:00
|
|
|
unselectable="on"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +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>
|
2020-02-19 22:04:25 +08:00
|
|
|
</span>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select-selection-search"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-input-affix-wrapper ant-select-selection-search-input"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-10-13 21:16:20 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2020-10-13 21:16:20 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-10-13 21:16:20 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-10-13 21:16:20 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-input-suffix"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2020-10-13 21:16:20 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-02-19 22:04:25 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2022-07-19 16:01:31 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2017-02-13 10:55:53 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-21 22:01:47 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-row ant-form-item-row"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="同时有 Input.Group 和 Search 组件发生移位"
|
|
|
|
>
|
|
|
|
同时有 Input.Group 和 Search 组件发生移位
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-12-21 22:01:47 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-form-item-control-input"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-input-group ant-input-group-compact"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-tree-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:30%"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-07-19 16:01:31 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2019-12-21 22:01:47 +08:00
|
|
|
/>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2022-07-19 16:01:31 +08:00
|
|
|
unselectable="on"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +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>
|
2020-02-19 22:04:25 +08:00
|
|
|
</span>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
<div
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2019-12-21 22:01:47 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select-selection-search"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-input-group-wrapper ant-input-search ant-select-selection-search-input"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2020-02-19 22:04:25 +08:00
|
|
|
<span
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-input-wrapper ant-input-group"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
|
|
|
|
type="button"
|
2020-10-13 21:16:20 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
2020-10-13 21:16:20 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
2020-02-19 22:04:25 +08:00
|
|
|
</span>
|
2019-12-21 22:01:47 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2022-07-19 16:01:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2022-07-19 16:01:31 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-form-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-row ant-form-item-row"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
title="Input Group 和 Button 结合"
|
|
|
|
>
|
|
|
|
Input Group 和 Button 结合
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-group ant-input-group-compact"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-tree-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:20%"
|
2019-12-21 22:01:47 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-07-19 16:01:31 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<span
|
2020-02-19 22:04:25 +08:00
|
|
|
aria-hidden="true"
|
2022-07-19 16:01:31 +08:00
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2022-07-19 16:01:31 +08:00
|
|
|
unselectable="on"
|
2020-02-19 22:04:25 +08:00
|
|
|
>
|
2022-07-19 16:01:31 +08:00
|
|
|
<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>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-wrapper ant-input-search ant-select-selection-search-input"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-07-19 16:01:31 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2020-02-19 22:04:25 +08:00
|
|
|
/>
|
2022-07-19 16:01:31 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-02-19 22:04:25 +08:00
|
|
|
</div>
|
2019-12-21 22:01:47 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</form>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/non-case-sensitive.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
try to type \`b\`
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/options.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
input here
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/render-panel.tsx correctly 1`] = `
|
2022-08-25 11:50:24 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="display:flex"
|
2022-08-25 11:50:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="margin-bottom:8px"
|
2022-08-25 11:50:24 +08:00
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-checked="false"
|
|
|
|
class="ant-switch"
|
|
|
|
role="switch"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-switch-handle"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner"
|
2022-10-14 12:11:43 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-checked"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-unchecked"
|
|
|
|
/>
|
|
|
|
</span>
|
2022-08-25 11:50:24 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
2022-10-11 21:33:29 +08:00
|
|
|
style="padding-bottom:0;position:relative;width:fit-content;min-width:0"
|
2022-08-25 11:50:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="width:120px;margin:0"
|
2022-08-25 11:50:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-11 21:33:29 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-08-25 11:50:24 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-11 21:33:29 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-08-25 11:50:24 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
2022-10-11 21:33:29 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-08-25 11:50:24 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value="lucy"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/status.tsx correctly 1`] = `
|
2022-02-17 16:41:24 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2022-02-17 16:41:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:8px"
|
2022-02-17 16:41:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-status-error ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2022-02-17 16:41:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-02-17 16:41:24 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-02-17 16:41:24 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-02-17 16:41:24 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-status-warning ant-select-auto-complete ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2022-02-17 16:41:24 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2022-02-17 16:41:24 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2022-02-17 16:41:24 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-02-17 16:41:24 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/auto-complete/demo/uncertain-category.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:300px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-01-17 11:39:31 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2017-02-13 10:55:53 +08:00
|
|
|
<span
|
2022-03-01 14:17:48 +08:00
|
|
|
class="ant-input-group-wrapper ant-input-search ant-input-search-large ant-input-search-with-button ant-select-selection-search-input ant-input-group-wrapper-lg"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-input-wrapper ant-input-group"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-input ant-input-lg"
|
|
|
|
placeholder="input here"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
2020-01-17 11:39:31 +08:00
|
|
|
class="ant-input-group-addon"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<button
|
2020-09-06 13:07:39 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
|
2019-09-12 20:15:17 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2017-02-13 10:55:53 +08:00
|
|
|
</span>
|
2020-01-17 11:39:31 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
2017-02-13 10:55:53 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|