mimir-ui-kit 1.37.7 → 1.37.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
import { EMultiSelectSearchSize as t } from "./constants.js";
|
2
2
|
import "../../Input-BYrIS5GU.js";
|
3
3
|
import { EInputSize as e } from "../Input/constants.js";
|
4
|
-
const
|
4
|
+
const c = (r) => {
|
5
5
|
switch (r) {
|
6
6
|
case t.M:
|
7
7
|
return e.M;
|
@@ -10,10 +10,10 @@ const w = (r) => {
|
|
10
10
|
default:
|
11
11
|
return e.M;
|
12
12
|
}
|
13
|
-
},
|
13
|
+
}, u = (r, o) => r ? o === t.L ? "DropdownArrowUp24px" : "DropdownArrowUp16px" : o === t.L ? "DropdownArrowDown24px" : "DropdownArrowBottom16px", m = (r, o) => r && r.length > 0 ? r.map((n) => n[o]).join(", ") + (r.length > 1 ? ", " : "") : "", d = (r, o) => r.map((n) => n[o]).join(", ") + (r.length > 1 ? ", " : "");
|
14
14
|
export {
|
15
|
-
|
15
|
+
u as getDropdownArrowIcon,
|
16
16
|
m as getInitialInputValue,
|
17
|
-
|
18
|
-
|
17
|
+
d as joinSelectedItems,
|
18
|
+
c as mapSizeToInputSize
|
19
19
|
};
|