ui-soxo-bootstrap-core 2.6.1-dev.8 → 2.6.1-dev.9
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.
|
@@ -77,7 +77,7 @@ export default class ApiUtils {
|
|
|
77
77
|
});
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
static put = ({ url, formBody, ...props }) => {
|
|
80
|
+
static put = ({ url, formBody, headers: customHeaders = {}, ...props }) => {
|
|
81
81
|
const dbPtr = localStorage.getItem('db_ptr');
|
|
82
82
|
|
|
83
83
|
return PutData({
|
|
@@ -93,7 +93,7 @@ export default class ApiUtils {
|
|
|
93
93
|
});
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
static patch = ({ url, formBody, ...props }) => {
|
|
96
|
+
static patch = ({ url, formBody, headers: customHeaders = {}, ...props }) => {
|
|
97
97
|
const dbPtr = localStorage.getItem('db_ptr');
|
|
98
98
|
|
|
99
99
|
return PatchData({
|
|
@@ -109,7 +109,7 @@ export default class ApiUtils {
|
|
|
109
109
|
});
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
static delete = ({ url, formBody, ...props }) => {
|
|
112
|
+
static delete = ({ url, formBody, headers: customHeaders = {}, ...props }) => {
|
|
113
113
|
const dbPtr = localStorage.getItem('db_ptr');
|
|
114
114
|
|
|
115
115
|
return DeleteData({
|
|
@@ -230,6 +230,26 @@
|
|
|
230
230
|
overflow-y: auto;
|
|
231
231
|
min-height: 0;
|
|
232
232
|
padding: 8px 4px;
|
|
233
|
+
scrollbar-width: thin; /* Firefox */
|
|
234
|
+
scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
|
|
235
|
+
|
|
236
|
+
&::-webkit-scrollbar {
|
|
237
|
+
width: 6px;
|
|
238
|
+
height: 6px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&::-webkit-scrollbar-track {
|
|
242
|
+
background: transparent;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&::-webkit-scrollbar-thumb {
|
|
246
|
+
background: rgba(0, 0, 0, 0.25);
|
|
247
|
+
border-radius: 10px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
251
|
+
background: rgba(0, 0, 0, 0.4);
|
|
252
|
+
}
|
|
233
253
|
}
|
|
234
254
|
|
|
235
255
|
.empty-state {
|
|
@@ -88,7 +88,17 @@ export default function UserEdit(record) {
|
|
|
88
88
|
<Skeleton active />
|
|
89
89
|
</div>
|
|
90
90
|
) : (
|
|
91
|
-
<UserAdd
|
|
91
|
+
<UserAdd
|
|
92
|
+
mode="Edit"
|
|
93
|
+
formContent={userData}
|
|
94
|
+
callback={() => {
|
|
95
|
+
setVisible(false);
|
|
96
|
+
if (record.callback) {
|
|
97
|
+
record.callback();
|
|
98
|
+
}
|
|
99
|
+
}}
|
|
100
|
+
edit={true}
|
|
101
|
+
/>
|
|
92
102
|
)}
|
|
93
103
|
</Modal>
|
|
94
104
|
</div>
|