@synerise/ds-search 1.5.30 → 1.5.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/Elements/SearchInput/SearchInput.js +17 -6
- package/dist/Elements/SearchInput/SearchInput.types.d.ts +10 -3
- package/dist/Search.js +0 -1
- package/dist/Search.styles.d.ts +1 -0
- package/dist/Search.styles.js +15 -10
- package/dist/Search.types.d.ts +2 -2
- package/package.json +3 -4
- package/dist/assets/style/index-tn0RQdqM.css +0 -0
- package/dist/style/index.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.32](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.5.31...@synerise/ds-search@1.5.32) (2026-07-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-search
|
|
9
|
+
|
|
10
|
+
## [1.5.31](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.5.30...@synerise/ds-search@1.5.31) (2026-07-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-search
|
|
13
|
+
|
|
6
14
|
## [1.5.30](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.5.29...@synerise/ds-search@1.5.30) (2026-07-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-search
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Input } from "antd";
|
|
3
2
|
import { useRef, useState, useLayoutEffect, useEffect } from "react";
|
|
4
3
|
import { theme } from "@synerise/ds-core";
|
|
5
4
|
import Icon, { Close3M } from "@synerise/ds-icon";
|
|
6
5
|
import Tooltip from "@synerise/ds-tooltip";
|
|
7
6
|
import { usePrevious, useOnClickOutside } from "@synerise/ds-utils";
|
|
8
|
-
import { SearchInputWrapper, SearchInputContent, LeftSide, Filter, SearchInner, ClearButton } from "../../Search.styles.js";
|
|
7
|
+
import { SearchInputWrapper, SearchInputContent, LeftSide, Filter, SearchInner, SearchNativeInput, ClearButton } from "../../Search.styles.js";
|
|
9
8
|
import SearchButton from "../SearchButton/SearchButton.js";
|
|
10
9
|
const SearchInput = ({
|
|
11
10
|
alwaysExpanded,
|
|
@@ -107,18 +106,30 @@ const SearchInput = ({
|
|
|
107
106
|
focusInput();
|
|
108
107
|
};
|
|
109
108
|
useEffect(() => {
|
|
110
|
-
if (moveCursorToEnd && inputRef.current
|
|
111
|
-
inputRef.current.
|
|
112
|
-
inputRef.current.
|
|
109
|
+
if (moveCursorToEnd && inputRef.current) {
|
|
110
|
+
inputRef.current.selectionStart = value.length || 0;
|
|
111
|
+
inputRef.current.selectionEnd = value.length || 0;
|
|
113
112
|
}
|
|
114
113
|
}, [moveCursorToEnd, value.length]);
|
|
114
|
+
const {
|
|
115
|
+
onPressEnter,
|
|
116
|
+
onKeyDown: inputPropsOnKeyDown,
|
|
117
|
+
className: inputPropsClassName,
|
|
118
|
+
...restInputProps
|
|
119
|
+
} = inputProps;
|
|
120
|
+
const handleInputKeyDown = (event) => {
|
|
121
|
+
(inputPropsOnKeyDown ?? onKeyDown)?.(event);
|
|
122
|
+
if (event.key === "Enter") {
|
|
123
|
+
onPressEnter?.(event);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
115
126
|
return /* @__PURE__ */ jsxs(SearchInputWrapper, { ref: wrapperRef, children: [
|
|
116
127
|
!disabled && /* @__PURE__ */ jsxs(SearchInputContent, { className: renderInputOpened ? "is-open search-input-wrapper" : "search-input-wrapper", offset: inputOffset, filterLabel, onClick: handleSearchInputContentClick, children: [
|
|
117
128
|
/* @__PURE__ */ jsx(LeftSide, { isOpen: isInputOpen, children: filterLabel && /* @__PURE__ */ jsxs(Filter, { ref: handleOffsetWithFilter, children: [
|
|
118
129
|
filterLabel.icon && !isResultChosen && /* @__PURE__ */ jsx(Icon, { component: filterLabel.icon }),
|
|
119
130
|
/* @__PURE__ */ jsx("span", { children: filterLabel[filterLookupKey || ""] || filterLabel[textLookupKey || ""] })
|
|
120
131
|
] }) }),
|
|
121
|
-
/* @__PURE__ */ jsx(Tooltip, { ...searchTooltipProps, children: /* @__PURE__ */ jsx(SearchInner, { hasValue: !!value, alwaysHighlight, children: /* @__PURE__ */ jsx(
|
|
132
|
+
/* @__PURE__ */ jsx(Tooltip, { ...searchTooltipProps, children: /* @__PURE__ */ jsx(SearchInner, { hasValue: !!value, alwaysHighlight, children: /* @__PURE__ */ jsx(SearchNativeInput, { placeholder, ref: inputRef, value, onChange: handleChangeValue, onFocus: () => setIsInputFocused(true), onBlur: () => setIsInputFocused(false), autoComplete: "off", autoFocus: true, disabled: disableInput, ...restInputProps, onKeyDown: handleInputKeyDown, className: ["ds-search-input", inputPropsClassName].filter(Boolean).join(" ") }) }) })
|
|
122
133
|
] }),
|
|
123
134
|
/* @__PURE__ */ jsx(SearchButton, { disabled, inputOpen: isInputOpen, hidden: !!value || !!filterLabel, inputFocused: isInputFocused, clickable: !disabled && !alwaysExpanded, onClick: handleSearchButtonClick }),
|
|
124
135
|
!disabled && /* @__PURE__ */ jsx(ClearButton, { hidden: !value && !filterLabel, children: /* @__PURE__ */ jsx(Icon, { "data-testid": "clear", onClick: handleClearValue, component: /* @__PURE__ */ jsx(Tooltip, { title: clearTooltip, children: /* @__PURE__ */ jsx(Close3M, {}) }), color: theme.palette["red-600"], size: 18 }) })
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { KeyboardEvent, ReactNode } from 'react';
|
|
1
|
+
import { InputHTMLAttributes, KeyboardEvent, KeyboardEventHandler, ReactNode } from 'react';
|
|
3
2
|
import { TooltipProps } from '@synerise/ds-tooltip';
|
|
3
|
+
/**
|
|
4
|
+
* Native input attributes plus the antd-compat `onPressEnter` convenience
|
|
5
|
+
* (fired on Enter). The native `<input>` has no `onPressEnter`, so `SearchInput`
|
|
6
|
+
* translates it to an Enter check on `onKeyDown`.
|
|
7
|
+
*/
|
|
8
|
+
export type SearchInputAttributes = InputHTMLAttributes<HTMLInputElement> & {
|
|
9
|
+
onPressEnter?: KeyboardEventHandler<HTMLInputElement>;
|
|
10
|
+
};
|
|
4
11
|
export type SearchInputProps = {
|
|
5
12
|
alwaysExpanded?: boolean;
|
|
6
13
|
alwaysHighlight?: boolean;
|
|
@@ -25,6 +32,6 @@ export type SearchInputProps = {
|
|
|
25
32
|
moveCursorToEnd?: boolean;
|
|
26
33
|
disableInput?: boolean;
|
|
27
34
|
disabled?: boolean;
|
|
28
|
-
inputProps?:
|
|
35
|
+
inputProps?: SearchInputAttributes;
|
|
29
36
|
searchTooltipProps?: Partial<TooltipProps>;
|
|
30
37
|
};
|
package/dist/Search.js
CHANGED
|
@@ -14,7 +14,6 @@ import SearchRenderer from "./Elements/SearchRenderer/SearchRenderer.js";
|
|
|
14
14
|
import { getAllElementsFiltered, hasSomeElement, getParametersScrollTop, hasSomeElementFiltered } from "./Elements/utils/searchUtils.js";
|
|
15
15
|
import { SelectResultDataKeys } from "./Search.types.js";
|
|
16
16
|
import { MENU_WIDTH_OFFSET, SCROLLBAR_HEIGHT_OFFSET, INPUT_EXPAND_ANIMATION_DURATION } from "./const.js";
|
|
17
|
-
import "./style/index.css";
|
|
18
17
|
function Search({
|
|
19
18
|
divider,
|
|
20
19
|
dropdownMaxHeight,
|
package/dist/Search.styles.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare const SearchInner: import('styled-components').StyledComponent<"d
|
|
|
19
19
|
hasValue: boolean;
|
|
20
20
|
alwaysHighlight?: boolean;
|
|
21
21
|
}, never>;
|
|
22
|
+
export declare const SearchNativeInput: import('styled-components').StyledComponent<"input", any, {}, never>;
|
|
22
23
|
export declare const SearchInputContent: import('styled-components').StyledComponent<"div", any, {
|
|
23
24
|
offset: number;
|
|
24
25
|
filterLabel: object | null | undefined;
|
package/dist/Search.styles.js
CHANGED
|
@@ -39,37 +39,41 @@ const SearchButton = /* @__PURE__ */ styled.div.withConfig({
|
|
|
39
39
|
const SearchInner = /* @__PURE__ */ styled.div.withConfig({
|
|
40
40
|
displayName: "Searchstyles__SearchInner",
|
|
41
41
|
componentId: "sc-1w8jj1b-7"
|
|
42
|
-
})(["direction:ltr;margin-bottom:0;", " input::placeholder{line-height:1.29;}"], (props) => (props.hasValue || props.alwaysHighlight) && `
|
|
42
|
+
})(["direction:ltr;margin-bottom:0;", " &:focus-within input,&:focus-within input:hover{box-shadow:inset 0 0 0 1px ", " !important;border-color:", ";background-color:", ";}input::placeholder{line-height:1.29;}"], (props) => (props.hasValue || props.alwaysHighlight) && `
|
|
43
43
|
input, input:hover{
|
|
44
44
|
box-shadow: inset 0 0 0 1px ${props.theme.palette["blue-600"]};
|
|
45
45
|
border-color: ${props.theme.palette["blue-600"]};
|
|
46
46
|
background-color: ${props.theme.palette["blue-050"]};
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
|
|
49
|
+
`, (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-050"]);
|
|
50
|
+
const SearchNativeInput = /* @__PURE__ */ styled.input.withConfig({
|
|
51
|
+
displayName: "Searchstyles__SearchNativeInput",
|
|
52
|
+
componentId: "sc-1w8jj1b-8"
|
|
53
|
+
})(["box-sizing:border-box;width:100%;height:32px;margin:0;padding:7px 12px;border:1px solid ", ";border-radius:3px;background-color:", ";color:", ";font-family:inherit;font-size:13px;line-height:1.54;font-feature-settings:'tnum';outline:none;transition:all 0.3s;&::placeholder{color:", ";}&:hover:not(:disabled){border-color:", ";}&:disabled{background-color:", ";color:", ";cursor:not-allowed;}"], (props) => props.theme.palette["grey-300"], (props) => props.theme.palette.white, (props) => props.theme.palette["grey-700"], (props) => props.theme.palette["grey-500"], (props) => props.theme.palette["grey-400"], (props) => props.theme.palette["grey-050"], (props) => props.theme.palette["grey-400"]);
|
|
50
54
|
const SearchInputContent = /* @__PURE__ */ styled.div.withConfig({
|
|
51
55
|
displayName: "Searchstyles__SearchInputContent",
|
|
52
|
-
componentId: "sc-1w8jj1b-
|
|
53
|
-
})(["overflow:hidden;direction:rtl;transition:width ", "s ease-in-out;width:0;input{opacity:0;height:32px;
|
|
56
|
+
componentId: "sc-1w8jj1b-9"
|
|
57
|
+
})(["overflow:hidden;direction:rtl;transition:width ", "s ease-in-out;width:0;input{opacity:0;height:32px;transition:padding-left 0s ease-in-out !important;}&.is-open{width:100%;overflow:visible;input{color:", ";padding-left:", ";padding-right:30px;opacity:1;}}"], ANIMATION_DURATION, (props) => props.theme.palette["grey-700"], (props) => props.filterLabel && props.offset ? `${Math.round(props.offset + LABEL_LEFT_OFFSET)}px` : "12px");
|
|
54
58
|
const ClearButton = /* @__PURE__ */ styled.div.withConfig({
|
|
55
59
|
displayName: "Searchstyles__ClearButton",
|
|
56
|
-
componentId: "sc-1w8jj1b-
|
|
60
|
+
componentId: "sc-1w8jj1b-10"
|
|
57
61
|
})(["position:absolute;z-index:1;top:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 10px 0 10px;"]);
|
|
58
62
|
const SearchDropdownContent = /* @__PURE__ */ styled.div.withConfig({
|
|
59
63
|
displayName: "Searchstyles__SearchDropdownContent",
|
|
60
|
-
componentId: "sc-1w8jj1b-
|
|
64
|
+
componentId: "sc-1w8jj1b-11"
|
|
61
65
|
})(["position:absolute;top:40px;background:", ";max-height:", ";direction:ltr;opacity:0;display:none;border-radius:3px;box-shadow:0 16px 32px 0 rgba(35,41,54,0.1);box-sizing:border-box;transition:opacity 0.5s ease-in-out,width 0.5s ease-in-out;.ps__rail-y{.ps__thumb-y{transform:translateX(1px) !important;}}"], (props) => props.theme.palette.white, (props) => `${props.maxHeight}px`);
|
|
62
66
|
const MenuHeader = /* @__PURE__ */ styled.div.withConfig({
|
|
63
67
|
displayName: "Searchstyles__MenuHeader",
|
|
64
|
-
componentId: "sc-1w8jj1b-
|
|
68
|
+
componentId: "sc-1w8jj1b-12"
|
|
65
69
|
})(["display:flex;align-items:center;font-size:10px;font-weight:500;text-transform:uppercase;color:", ";height:16px;margin:12px;line-height:1.6;letter-spacing:0.1px;"], (props) => props.theme.palette["grey-500"]);
|
|
66
70
|
const HeaderIconWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
67
71
|
displayName: "Searchstyles__HeaderIconWrapper",
|
|
68
|
-
componentId: "sc-1w8jj1b-
|
|
72
|
+
componentId: "sc-1w8jj1b-13"
|
|
69
73
|
})(["& > .ds-icon > svg{fill:", ";}"], (props) => props.theme.palette["grey-400"]);
|
|
70
74
|
const SearchDropdownWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
71
75
|
displayName: "Searchstyles__SearchDropdownWrapper",
|
|
72
|
-
componentId: "sc-1w8jj1b-
|
|
76
|
+
componentId: "sc-1w8jj1b-14"
|
|
73
77
|
})(["width:0;& > .search-list-open{width:", ";animation:", " 0.3s ease-in-out 0s 1;opacity:1;display:initial;padding:8px 0 8px 8px;z-index:10;}"], (props) => props.dropdownWidth ? `${props.dropdownWidth}px` : "100%", openDropdownAnimation);
|
|
74
78
|
export {
|
|
75
79
|
ClearButton,
|
|
@@ -85,6 +89,7 @@ export {
|
|
|
85
89
|
SearchInner,
|
|
86
90
|
SearchInputContent,
|
|
87
91
|
SearchInputWrapper,
|
|
92
|
+
SearchNativeInput,
|
|
88
93
|
SearchWrapper,
|
|
89
94
|
openDropdownAnimation
|
|
90
95
|
};
|
package/dist/Search.types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputProps } from 'antd';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
import { ListProps } from '../../../../config/vitest/__mocks__/reactWindowMock.js';
|
|
4
3
|
import { TooltipProps } from '@synerise/ds-tooltip';
|
|
4
|
+
import { SearchInputAttributes } from './Elements/SearchInput/SearchInput.types';
|
|
5
5
|
export type AnyObject = Record<string, any>;
|
|
6
6
|
export type DataSetProps = {
|
|
7
7
|
itemRender: (item: any) => JSX.Element;
|
|
@@ -21,7 +21,7 @@ export type SearchProps<T extends AnyObject, U extends AnyObject, S extends AnyO
|
|
|
21
21
|
divider?: React.ReactNode;
|
|
22
22
|
dropdownMaxHeight: number;
|
|
23
23
|
filterLookupKey?: string;
|
|
24
|
-
inputProps?:
|
|
24
|
+
inputProps?: SearchInputAttributes;
|
|
25
25
|
onClear: () => void;
|
|
26
26
|
onParameterValueChange: (parameterValue: string, parameter: U | null) => void;
|
|
27
27
|
onValueChange: (value: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-search",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.32",
|
|
4
4
|
"description": "Search UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@synerise/ds-button": "^1.5.33",
|
|
45
45
|
"@synerise/ds-icon": "^1.18.4",
|
|
46
|
-
"@synerise/ds-list-item": "^1.
|
|
46
|
+
"@synerise/ds-list-item": "^1.6.0",
|
|
47
47
|
"@synerise/ds-menu": "^1.4.30",
|
|
48
48
|
"@synerise/ds-scrollbar": "^1.5.1",
|
|
49
49
|
"@synerise/ds-tooltip": "^1.5.3",
|
|
@@ -53,10 +53,9 @@
|
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@synerise/ds-core": "*",
|
|
56
|
-
"antd": "4.24.16",
|
|
57
56
|
"react": ">=16.9.0 <= 18.3.1",
|
|
58
57
|
"styled-components": "^5.3.3",
|
|
59
58
|
"vitest": "4"
|
|
60
59
|
},
|
|
61
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "5c90008871be36fb52553a2ed3a633acf5db5b3b"
|
|
62
61
|
}
|
|
File without changes
|
package/dist/style/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 15px;color:#6a7580;line-height:1.38;background-color:#fff;background-image:none;border:1px solid #dbe0e3;border-radius:3px;transition:all .3s;font-size:13px;line-height:13px;display:inline-flex}.ant-input-affix-wrapper::placeholder{color:#b5bdc3;user-select:none}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#b5bdc3;border-right-width:1px}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#38f;box-shadow:0 0 0 0 rgba(11,104,255,.2);border-right-width:1px;outline:0;box-shadow:inset 0 0 0 1px #0b68ff;border-color:#0b68ff;background-color:#f4faff}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:#b5bdc3;background-color:#f9fafb;border-color:#dbe0e3;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#dbe0e3;border-right-width:1px}.ant-input-affix-wrapper[disabled]{color:#b5bdc3;background-color:#f9fafb;border-color:#dbe0e3;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#dbe0e3;border-right-width:1px}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:32px;line-height:1.38;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:6px 15px;height:48px;font-size:13px}.ant-input-affix-wrapper-sm{padding:1px 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#b5bdc3;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:rgba(255,255,255,0)}.ant-input-affix-wrapper>.ant-input{font-size:inherit;border:none;outline:0}.ant-input-affix-wrapper>.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper>.ant-input:not(textarea){padding:0}.ant-input-affix-wrapper::before{display:inline-block;width:0;visibility:hidden;content:'\a0'}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix>:not(:last-child),.ant-input-suffix>:not(:last-child){margin-right:8px}.ant-input-show-count-suffix{color:#232936}.ant-input-show-count-has-suffix{margin-right:2px}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.ant-input-clear-icon,.anticon.ant-input-clear-icon{margin:0;color:#b5bdc3;font-size:11px;vertical-align:-1px;cursor:pointer;transition:color .3s}.ant-input-clear-icon:hover,.anticon.ant-input-clear-icon:hover{color:#232936}.ant-input-clear-icon:active,.anticon.ant-input-clear-icon:active{color:#6a7580}.ant-input-clear-icon-hidden,.anticon.ant-input-clear-icon-hidden{visibility:hidden}.ant-input-clear-icon-has-suffix,.anticon.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#f52922}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ff584d;box-shadow:0 0 0 0 rgba(245,41,34,.2);border-right-width:1px;outline:0}.ant-input-status-error .ant-input-prefix{color:#f52922}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#fab700}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ffcd29;box-shadow:0 0 0 0 rgba(250,183,0,.2);border-right-width:1px;outline:0}.ant-input-status-warning .ant-input-prefix{color:#fab700}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#f52922}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#ff584d;box-shadow:0 0 0 0 rgba(245,41,34,.2);border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-error .ant-input-prefix{color:#f52922}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#fab700}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#ffcd29;box-shadow:0 0 0 0 rgba(250,183,0,.2);border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-warning .ant-input-prefix{color:#fab700}.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input{padding-right:24px}.ant-input-group-wrapper-status-error .ant-input-group-addon{color:#f52922;border-color:#f52922}.ant-input-group-wrapper-status-warning .ant-input-group-addon{color:#fab700;border-color:#fab700}.ant-input{box-sizing:border-box;margin:0;padding:0;font-variant:tabular-nums;list-style:none;font-feature-settings:'tnum';position:relative;display:inline-block;width:100%;min-width:0;padding:4px 15px;color:#6a7580;line-height:1.38;background-color:#fff;background-image:none;border:1px solid #dbe0e3;border-radius:3px;transition:all .3s;font-size:13px;line-height:13px}.ant-input::placeholder{color:#b5bdc3;user-select:none}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#b5bdc3;border-right-width:1px}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input-focused,.ant-input:focus{border-color:#38f;box-shadow:0 0 0 0 rgba(11,104,255,.2);border-right-width:1px;outline:0;box-shadow:inset 0 0 0 1px #0b68ff;border-color:#0b68ff;background-color:#f4faff}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:#b5bdc3;background-color:#f9fafb;border-color:#dbe0e3;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#dbe0e3;border-right-width:1px}.ant-input[disabled]{color:#b5bdc3;background-color:#f9fafb;border-color:#dbe0e3;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#dbe0e3;border-right-width:1px}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:32px;line-height:1.38;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:6px 15px;height:48px;font-size:13px}.ant-input-sm{padding:1px 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:#6a7580;font-size:13px;font-variant:tabular-nums;line-height:1.38;list-style:none;font-feature-settings:'tnum';position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 15px;color:#6a7580;font-weight:400;font-size:13px;text-align:center;background-color:#e9edee;border:1px solid #dbe0e3;border-radius:3px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -15px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#0b68ff}.ant-input-group-addon .ant-cascader-picker{margin:-9px -16px;background-color:transparent}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group-addon:first-child,.ant-input-group>.ant-input:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group>.ant-input:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6px 15px;height:48px;font-size:13px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:1px 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:48px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:3px;border-bottom-left-radius:3px}.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact::before{display:table;content:''}.ant-input-group.ant-input-group-compact::after{display:table;clear:both;content:''}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-input-number-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select-focused{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:3px;border-bottom-right-radius:3px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:3px 0 0 3px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 3px 3px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #dbe0e3;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #dbe0e3;border-radius:3px 0 0 3px}.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:3px 0 0 3px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-radius:3px 0 0 3px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 3px 3px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 3px 3px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:3px 0 0 3px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 3px 3px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon.anticon{color:#232936;cursor:pointer;transition:all .3s}.ant-input-password-icon.anticon:hover{color:rgba(0,0,0,.85)}.ant-input[type=color]{height:32px}.ant-input[type=color].ant-input-lg{height:48px}.ant-input[type=color].ant-input-sm{height:24px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count>.ant-input{height:100%}.ant-input-textarea-show-count::after{float:right;color:#232936;white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-textarea-show-count.ant-input-textarea-in-form-item::after{margin-bottom:-22px}.ant-input-textarea-suffix{position:absolute;top:0;right:15px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-input-compact-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl){margin-right:-1px}.ant-input-compact-item:not(.ant-input-compact-last-item).ant-input-compact-item-rtl{margin-left:-1px}.ant-input-compact-item:active,.ant-input-compact-item:focus,.ant-input-compact-item:hover{z-index:2}.ant-input-compact-item[disabled]{z-index:0}.ant-input-compact-item:not(.ant-input-compact-first-item):not(.ant-input-compact-last-item).ant-input{border-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-first-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-last-item:not(.ant-input-compact-first-item):not(.ant-input-compact-item-rtl){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-first-item:not(.ant-input-compact-last-item){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-last-item:not(.ant-input-compact-first-item){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#b5bdc3}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#b5bdc3}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.3798}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 3px 3px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:#232936}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before{top:0;right:0;bottom:0;left:0}.ant-input-search-button{height:32px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:48px}.ant-input-search-small .ant-input-search-button{height:24px}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-item-rtl):not(.ant-input-compact-last-item) .ant-input-group-addon .ant-input-search-button{margin-right:-1px;border-radius:0}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input,.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input-affix-wrapper{border-radius:0}.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:active,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:focus,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:hover,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:active,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:focus,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:hover,.ant-input-search.ant-input-compact-item>.ant-input:active,.ant-input-search.ant-input-compact-item>.ant-input:focus,.ant-input-search.ant-input-compact-item>.ant-input:hover{z-index:2}.ant-input-search.ant-input-compact-item>.ant-input-affix-wrapper-focused{z-index:2}.ant-input-search.ant-input-compact-item-rtl:not(.ant-input-compact-last-item) .ant-input-group-addon:last-child .ant-input-search-button{margin-left:-1px;border-radius:0}.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-group-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:0}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count::after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#dbe0e3}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover{border-left-color:#b5bdc3}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#b5bdc3}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{border-radius:3px 0 0 3px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-input{height:32px}.ant-input-lg{height:48px}.ant-input-sm{height:24px}.ant-input-affix-wrapper>input.ant-input{height:auto}}.ant-input.ant-input{padding:7px 12px}.ant-input-affix-wrapper .ant-input:not(:last-child):focus,.ant-input-number-input:focus{border-color:#38f;box-shadow:0 0 0 0 rgba(11,104,255,.2);border-right-width:1px;outline:0;box-shadow:inset 0 0 0 1px #0b68ff;border-color:#0b68ff;background-color:#f4faff}.ant-input-rtl .ant-input-affix-wrapper .ant-input:not(:last-child):focus,.ant-input-rtl .ant-input-number-input:focus{border-right-width:0;border-left-width:1px!important}
|