2018-03-12 20:51:04 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Input.Search rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-search-rtl ant-input-affix-wrapper ant-input-affix-wrapper-rtl"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search ant-input-search-icon"
|
|
|
|
role="img"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
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>
|
|
|
|
`;
|
|
|
|
|
2019-02-12 21:39:36 +08:00
|
|
|
exports[`Input.Search should support addonAfter 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-group-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-affix-wrapper"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2019-02-12 21:39:36 +08:00
|
|
|
class="anticon anticon-search ant-input-search-icon"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-02-12 21:39:36 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2019-02-12 21:39:36 +08:00
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2019-02-12 21:39:36 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-02-12 21:39:36 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Addon After
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Input.Search should support addonAfter 2`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-input-search-button ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2019-02-12 21:39:36 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-02-12 21:39:36 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2019-02-12 21:39:36 +08:00
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2019-02-12 21:39:36 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-02-12 21:39:36 +08:00
|
|
|
</button>
|
|
|
|
<span>
|
|
|
|
Addon After
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2019-10-22 21:33:19 +08:00
|
|
|
exports[`Input.Search should support addonAfter and suffix for loading 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-group-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-affix-wrapper"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
|
|
|
suffix
|
2019-10-30 16:28:28 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2019-10-22 21:33:19 +08:00
|
|
|
class="anticon anticon-loading ant-input-search-icon"
|
2019-10-30 16:28:28 +08:00
|
|
|
role="img"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="anticon-spin"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-30 16:28:28 +08:00
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
2019-10-22 21:33:19 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-30 16:28:28 +08:00
|
|
|
</span>
|
2019-10-22 21:33:19 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
addonAfter
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Input.Search should support addonAfter and suffix for loading 2`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-affix-wrapper"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
|
|
|
suffix
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-input-search-button ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
2019-10-30 16:28:28 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2019-10-22 21:33:19 +08:00
|
|
|
class="anticon anticon-loading"
|
2019-10-30 16:28:28 +08:00
|
|
|
role="img"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="anticon-spin"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-30 16:28:28 +08:00
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
2019-10-22 21:33:19 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-30 16:28:28 +08:00
|
|
|
</span>
|
2019-10-22 21:33:19 +08:00
|
|
|
</button>
|
|
|
|
addonAfter
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2018-03-12 20:51:04 +08:00
|
|
|
exports[`Input.Search should support custom Button 1`] = `
|
2018-03-12 21:02:20 +08:00
|
|
|
<span
|
2019-01-25 11:06:05 +08:00
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
2018-03-12 20:51:04 +08:00
|
|
|
>
|
2018-03-12 21:02:20 +08:00
|
|
|
<span
|
2019-01-25 11:06:05 +08:00
|
|
|
class="ant-input-wrapper ant-input-group"
|
2018-03-12 20:51:04 +08:00
|
|
|
>
|
2019-01-25 11:06:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
2018-03-12 20:51:04 +08:00
|
|
|
>
|
2019-01-25 11:06:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-input-search-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
ok
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
2018-03-12 21:02:20 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2018-03-12 20:51:04 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Input.Search should support custom button 1`] = `
|
2018-03-12 21:02:20 +08:00
|
|
|
<span
|
2019-01-25 11:06:05 +08:00
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
2018-03-12 20:51:04 +08:00
|
|
|
>
|
2018-03-12 21:02:20 +08:00
|
|
|
<span
|
2019-01-25 11:06:05 +08:00
|
|
|
class="ant-input-wrapper ant-input-group"
|
2018-03-12 20:51:04 +08:00
|
|
|
>
|
2019-01-25 11:06:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
2018-06-23 11:31:42 +08:00
|
|
|
>
|
2019-01-25 11:06:05 +08:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
ok
|
|
|
|
</button>
|
|
|
|
</span>
|
2018-03-12 21:02:20 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2018-03-12 20:51:04 +08:00
|
|
|
`;
|
2019-09-12 22:32:29 +08:00
|
|
|
|
2019-10-23 11:40:09 +08:00
|
|
|
exports[`Input.Search should support invalid addonAfter 1`] = `
|
2019-10-22 21:33:19 +08:00
|
|
|
<span
|
2019-10-23 11:40:09 +08:00
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
2019-10-23 11:40:09 +08:00
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
2019-10-22 21:33:19 +08:00
|
|
|
<span
|
2019-10-23 11:40:09 +08:00
|
|
|
class="ant-input-group-addon"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
2019-10-23 11:40:09 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-input-search-button ant-btn-primary"
|
|
|
|
type="button"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
2019-10-30 16:28:28 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2019-10-23 11:40:09 +08:00
|
|
|
class="anticon anticon-search"
|
2019-10-30 16:28:28 +08:00
|
|
|
role="img"
|
2019-10-22 21:33:19 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-30 16:28:28 +08:00
|
|
|
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"
|
2019-10-22 21:33:19 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-30 16:28:28 +08:00
|
|
|
</span>
|
2019-10-23 11:40:09 +08:00
|
|
|
</button>
|
2019-10-22 21:33:19 +08:00
|
|
|
</span>
|
2019-10-23 11:40:09 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Input.Search should support invalid suffix 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-affix-wrapper"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
2019-10-30 16:28:28 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2019-10-23 11:40:09 +08:00
|
|
|
class="anticon anticon-search ant-input-search-icon"
|
2019-10-30 16:28:28 +08:00
|
|
|
role="img"
|
2019-10-23 11:40:09 +08:00
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-30 16:28:28 +08:00
|
|
|
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"
|
2019-10-23 11:40:09 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-30 16:28:28 +08:00
|
|
|
</span>
|
2019-10-22 21:33:19 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2019-09-12 22:32:29 +08:00
|
|
|
exports[`Input.Search should support loading 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-affix-wrapper"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-suffix"
|
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2019-09-12 22:32:29 +08:00
|
|
|
class="anticon anticon-loading ant-input-search-icon"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-12 22:32:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="anticon-spin"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
2019-09-12 22:32:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-09-12 22:32:29 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Input.Search should support loading 2`] = `
|
|
|
|
<span
|
|
|
|
class="ant-input-search ant-input-search-enter-button ant-input-group-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper ant-input-group"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-input-group-addon"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-input-search-button ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2019-09-12 22:32:29 +08:00
|
|
|
class="anticon anticon-loading"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-12 22:32:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="anticon-spin"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
2019-09-12 22:32:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-09-12 22:32:29 +08:00
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|