dtable-ui-component 6.0.125-xhs.2 → 6.0.125-xhs.4
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/lib/AsyncUserSelect/index.css +0 -2
- package/lib/AsyncUserSelect/index.js +10 -17
- package/lib/DTableCustomizeSelect/select-option-group/index.css +5 -2
- package/lib/DTableGroupSelect/index.css +0 -2
- package/lib/DTableSelect/dtable-select-label.css +4 -4
- package/lib/DTableSelect/dtable-select-label.js +1 -1
- package/lib/SelectOptionGroup/index.css +0 -2
- package/package.json +1 -1
|
@@ -39,14 +39,12 @@
|
|
|
39
39
|
|
|
40
40
|
.dtable-ui-user-select-container .form-control {
|
|
41
41
|
border: none;
|
|
42
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
43
42
|
border-radius: 4px 4px 0 0;
|
|
44
43
|
padding: .375rem 1rem !important;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.dtable-ui-user-select-container .form-control:focus {
|
|
48
47
|
border-color: transparent !important;
|
|
49
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
50
48
|
box-shadow: none !important;
|
|
51
49
|
}
|
|
52
50
|
|
|
@@ -9,7 +9,7 @@ var _react = require("react");
|
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _reactstrap = require("reactstrap");
|
|
11
11
|
var _ClickOutside = _interopRequireDefault(require("../ClickOutside"));
|
|
12
|
-
var
|
|
12
|
+
var _DTableCustomizeSearchInput = _interopRequireDefault(require("../DTableCustomizeSearchInput"));
|
|
13
13
|
var _userItem = _interopRequireDefault(require("./user-item"));
|
|
14
14
|
var _lang = require("../lang");
|
|
15
15
|
var _keyCodes = _interopRequireDefault(require("../constants/key-codes"));
|
|
@@ -219,24 +219,17 @@ const AsyncUserSelect = _ref => {
|
|
|
219
219
|
className: "dtable-ui-user-select-container",
|
|
220
220
|
ref: userSelectContainerRef,
|
|
221
221
|
onMouseDown: e => e.stopPropagation(),
|
|
222
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
223
|
-
className: "
|
|
224
|
-
children:
|
|
225
|
-
|
|
222
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
223
|
+
className: "seatable-option-group-search",
|
|
224
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
|
|
225
|
+
className: "option-search-control",
|
|
226
226
|
placeholder: searchPlaceholder || (0, _lang.getLocale)('Search_users'),
|
|
227
|
-
value: searchValue,
|
|
228
|
-
wait: 200,
|
|
229
227
|
onChange: onSearchValueChanged,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
236
|
-
"aria-hidden": "true",
|
|
237
|
-
className: "dtable-font dtable-icon-x"
|
|
238
|
-
})
|
|
239
|
-
})]
|
|
228
|
+
clearValue: () => onSearchValueChanged(''),
|
|
229
|
+
autoFocus: true,
|
|
230
|
+
isClearable: true,
|
|
231
|
+
value: searchValue
|
|
232
|
+
})
|
|
240
233
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
241
234
|
className: "dtable-ui-user-list-container",
|
|
242
235
|
ref: userListContainerRef,
|
|
@@ -12,17 +12,20 @@
|
|
|
12
12
|
z-index: 10001;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.seatable-option-group-search {
|
|
16
|
+
border-bottom: 1px solid var(--bs-border-color);
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
.seatable-option-group .seatable-option-group-search {
|
|
16
20
|
width: 100%;
|
|
17
21
|
min-width: 170px;
|
|
18
22
|
position: relative;
|
|
19
23
|
padding: 0;
|
|
20
24
|
height: 32px;
|
|
21
|
-
border-bottom: 1px solid var(--bs-border-color);
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
.seatable-option-group .seatable-option-group-search .form-control {
|
|
25
|
-
height:
|
|
28
|
+
height: 100%;
|
|
26
29
|
border: none;
|
|
27
30
|
padding: .375rem 1rem;
|
|
28
31
|
cursor: pointer;
|
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
|
|
107
107
|
.seatable-group-select .form-control {
|
|
108
108
|
border: none;
|
|
109
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
110
109
|
border-radius: 4px 4px 0 0;
|
|
111
110
|
padding: .375rem 0 .375rem 1rem;
|
|
112
111
|
height: 32px;
|
|
@@ -114,7 +113,6 @@
|
|
|
114
113
|
|
|
115
114
|
.seatable-group-select .form-control:focus {
|
|
116
115
|
border-color: transparent !important;
|
|
117
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
118
116
|
box-shadow: none !important;
|
|
119
117
|
}
|
|
120
118
|
|
|
@@ -21,7 +21,7 @@ function DTableSelectLabel(_ref) {
|
|
|
21
21
|
}), isSelect && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
22
22
|
className: "dtable-select-check-icon",
|
|
23
23
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
24
|
-
className: "dtable-font dtable-icon-check
|
|
24
|
+
className: "dtable-font dtable-icon-check"
|
|
25
25
|
})
|
|
26
26
|
})]
|
|
27
27
|
});
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
|
|
67
67
|
.option-group .option-group-search .form-control {
|
|
68
68
|
border: none;
|
|
69
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
70
69
|
border-radius: 4px 4px 0 0;
|
|
71
70
|
padding: .375rem 0 .375rem 1rem;
|
|
72
71
|
height: 32px;
|
|
@@ -74,7 +73,6 @@
|
|
|
74
73
|
|
|
75
74
|
.option-group .option-group-search .form-control:focus {
|
|
76
75
|
border-color: transparent !important;
|
|
77
|
-
border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
|
|
78
76
|
box-shadow: none !important;
|
|
79
77
|
}
|
|
80
78
|
|