@eyesee/ui-components 0.6.0 → 0.8.0
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/dist/components/Button/Button.js +62 -61
- package/dist/components/DropdownList/DropdownList.js +5 -5
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +21 -21
- package/dist/components/EllipsisTooltip/EllipsisTooltip.module.scss.js +4 -6
- package/dist/components/ImagePlaceholder/ImagePlaceholder.js +151 -122
- package/dist/components/ImagePlaceholder/ImagePlaceholder.module.scss.js +37 -33
- package/dist/components/Tooltip/Tooltip.js +20 -19
- package/dist/components/Tooltip/Tooltip.module.scss.js +30 -28
- package/dist/components/icons-v2/ListCheckIcon.js +15 -0
- package/dist/components/icons-v2/PackseeIcon.js +12 -16
- package/dist/components/icons-v2/index.js +18 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,100 +1,101 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import { ChevronDownIcon as
|
|
5
|
-
import { ChevronUpIcon as
|
|
6
|
-
import
|
|
7
|
-
import { ListItem as
|
|
8
|
-
import { DropdownList as
|
|
9
|
-
import { Tooltip as
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as L, useRef as R } from "react";
|
|
3
|
+
import m from "clsx";
|
|
4
|
+
import { ChevronDownIcon as S } from "../icons-v2/ChevronDownIcon.js";
|
|
5
|
+
import { ChevronUpIcon as A } from "../icons-v2/ChevronUpIcon.js";
|
|
6
|
+
import E from "../../hooks/useClickOutside.js";
|
|
7
|
+
import { ListItem as U } from "../ListItem/ListItem.js";
|
|
8
|
+
import { DropdownList as q } from "../DropdownList/DropdownList.js";
|
|
9
|
+
import { Tooltip as z } from "../Tooltip/Tooltip.js";
|
|
10
10
|
import e from "./Button.module.scss.js";
|
|
11
|
-
const
|
|
11
|
+
const Y = ({
|
|
12
12
|
text: l,
|
|
13
|
-
options:
|
|
14
|
-
onClick:
|
|
13
|
+
options: p = [],
|
|
14
|
+
onClick: u = () => {
|
|
15
15
|
},
|
|
16
|
-
className:
|
|
17
|
-
iconSize:
|
|
18
|
-
size:
|
|
19
|
-
variant:
|
|
20
|
-
type:
|
|
21
|
-
pressed:
|
|
16
|
+
className: w,
|
|
17
|
+
iconSize: f = "m",
|
|
18
|
+
size: v = "md",
|
|
19
|
+
variant: N = "primary",
|
|
20
|
+
type: O = "fill",
|
|
21
|
+
pressed: h = !1,
|
|
22
22
|
icon: a = null,
|
|
23
|
-
tooltipContent:
|
|
24
|
-
tooltipTitle:
|
|
25
|
-
disabled:
|
|
26
|
-
fullWidth:
|
|
27
|
-
dropdownAlign:
|
|
28
|
-
tooltipProps:
|
|
29
|
-
|
|
23
|
+
tooltipContent: d = null,
|
|
24
|
+
tooltipTitle: g,
|
|
25
|
+
disabled: y = !1,
|
|
26
|
+
fullWidth: D = !1,
|
|
27
|
+
dropdownAlign: x = "start",
|
|
28
|
+
tooltipProps: k = { position: "bottom", variant: "light" },
|
|
29
|
+
dropdownCustomContent: s = null,
|
|
30
|
+
...B
|
|
30
31
|
}) => {
|
|
31
|
-
const [
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
},
|
|
32
|
+
const [o, i] = L(!1), b = R(null);
|
|
33
|
+
E(b, () => i(!1));
|
|
34
|
+
const T = (n) => {
|
|
35
|
+
u(n), i(!1);
|
|
36
|
+
}, t = p.length > 0 || !!s, W = a && !l && !t, j = a && !l, C = !!d, I = /* @__PURE__ */ c(
|
|
36
37
|
"div",
|
|
37
38
|
{
|
|
38
|
-
ref:
|
|
39
|
+
ref: b,
|
|
39
40
|
"data-button-wrapper": !0,
|
|
40
|
-
className:
|
|
41
|
-
...
|
|
41
|
+
className: m(e.wrapper, w, D && e.fullWidth),
|
|
42
|
+
...B,
|
|
42
43
|
children: [
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ c(
|
|
44
45
|
"button",
|
|
45
46
|
{
|
|
46
47
|
type: "button",
|
|
47
|
-
className:
|
|
48
|
+
className: m(
|
|
48
49
|
e.button,
|
|
49
|
-
e[
|
|
50
|
-
e[
|
|
51
|
-
e[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
e[v],
|
|
51
|
+
e[N],
|
|
52
|
+
e[O],
|
|
53
|
+
t && e.hasDropdown,
|
|
54
|
+
W && e.iconOnly,
|
|
55
|
+
j && e.isIcon,
|
|
56
|
+
h && e.pressed
|
|
56
57
|
),
|
|
57
|
-
onClick: () =>
|
|
58
|
-
"aria-expanded":
|
|
59
|
-
"aria-pressed":
|
|
58
|
+
onClick: () => t ? i((n) => !n) : u(),
|
|
59
|
+
"aria-expanded": o,
|
|
60
|
+
"aria-pressed": h,
|
|
60
61
|
"aria-haspopup": "menu",
|
|
61
|
-
disabled:
|
|
62
|
+
disabled: y,
|
|
62
63
|
children: [
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ c(
|
|
64
65
|
"span",
|
|
65
66
|
{
|
|
66
|
-
className:
|
|
67
|
+
className: m(
|
|
67
68
|
e.buttonContent,
|
|
68
|
-
|
|
69
|
+
t && e.buttonContentDropdown
|
|
69
70
|
),
|
|
70
71
|
children: [
|
|
71
|
-
a && /* @__PURE__ */
|
|
72
|
-
l && /* @__PURE__ */
|
|
72
|
+
a && /* @__PURE__ */ r("span", { className: e.icon, children: a }),
|
|
73
|
+
l && /* @__PURE__ */ r("span", { className: e.buttonText, children: l })
|
|
73
74
|
]
|
|
74
75
|
}
|
|
75
76
|
),
|
|
76
|
-
|
|
77
|
+
t && /* @__PURE__ */ r("span", { className: e.buttonArrow, children: o ? /* @__PURE__ */ r(A, { iconSize: f }) : /* @__PURE__ */ r(S, { iconSize: f }) })
|
|
77
78
|
]
|
|
78
79
|
}
|
|
79
80
|
),
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
o && t && /* @__PURE__ */ r(q, { align: x, children: s || p.map((n) => /* @__PURE__ */ r(
|
|
82
|
+
U,
|
|
82
83
|
{
|
|
83
84
|
role: "menuitem",
|
|
84
|
-
title:
|
|
85
|
-
controlItem:
|
|
85
|
+
title: n.label,
|
|
86
|
+
controlItem: n == null ? void 0 : n.icon,
|
|
86
87
|
horizontalSpacing: "xs",
|
|
87
88
|
verticalSpacing: "none",
|
|
88
|
-
...
|
|
89
|
-
onClick: () =>
|
|
89
|
+
...n,
|
|
90
|
+
onClick: () => T(n)
|
|
90
91
|
},
|
|
91
|
-
|
|
92
|
+
n.value
|
|
92
93
|
)) })
|
|
93
94
|
]
|
|
94
95
|
}
|
|
95
96
|
);
|
|
96
|
-
return
|
|
97
|
+
return C ? /* @__PURE__ */ r(z, { title: g, content: d, ...k, children: I }) : I;
|
|
97
98
|
};
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
Y as Button
|
|
100
101
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import w from "clsx";
|
|
3
3
|
import r from "./DropdownList.module.scss.js";
|
|
4
4
|
const a = ({
|
|
@@ -13,12 +13,12 @@ const a = ({
|
|
|
13
13
|
onLoadMore: t,
|
|
14
14
|
style: d
|
|
15
15
|
}) => {
|
|
16
|
-
const f = (
|
|
17
|
-
const l =
|
|
16
|
+
const f = (g) => {
|
|
17
|
+
const l = g.currentTarget;
|
|
18
18
|
l.scrollHeight - l.scrollTop - l.clientHeight < 48 && (t == null || t());
|
|
19
19
|
};
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
"
|
|
20
|
+
return /* @__PURE__ */ u(
|
|
21
|
+
"div",
|
|
22
22
|
{
|
|
23
23
|
ref: p,
|
|
24
24
|
id: c,
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import
|
|
4
|
-
import { Tooltip as
|
|
5
|
-
import
|
|
6
|
-
function
|
|
2
|
+
import { useRef as a, useState as E, useCallback as h, useLayoutEffect as g } from "react";
|
|
3
|
+
import x from "clsx";
|
|
4
|
+
import { Tooltip as W } from "../Tooltip/Tooltip.js";
|
|
5
|
+
import k from "./EllipsisTooltip.module.scss.js";
|
|
6
|
+
function v(t) {
|
|
7
7
|
return t ? t.scrollWidth > t.clientWidth || t.scrollHeight > t.clientHeight : !1;
|
|
8
8
|
}
|
|
9
9
|
const j = ({
|
|
10
10
|
children: t,
|
|
11
|
-
position:
|
|
11
|
+
position: c = "top",
|
|
12
12
|
variant: f = "light",
|
|
13
|
-
showArrow:
|
|
14
|
-
className:
|
|
13
|
+
showArrow: n = !1,
|
|
14
|
+
className: u,
|
|
15
15
|
wrapperStyle: s
|
|
16
16
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
const l =
|
|
19
|
-
|
|
17
|
+
const i = a(null), [p, m] = E(!1), o = h(() => {
|
|
18
|
+
const l = i.current;
|
|
19
|
+
m(!!l && !!t && v(l));
|
|
20
20
|
}, [t]);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, [
|
|
24
|
-
const e = /* @__PURE__ */ r("div", { ref:
|
|
25
|
-
return !
|
|
26
|
-
|
|
21
|
+
g(() => {
|
|
22
|
+
o();
|
|
23
|
+
}, [o, s]);
|
|
24
|
+
const e = /* @__PURE__ */ r("div", { ref: i, className: x(k.wrapper, u), style: s, children: t });
|
|
25
|
+
return !p || !t ? e : /* @__PURE__ */ r(
|
|
26
|
+
W,
|
|
27
27
|
{
|
|
28
|
-
|
|
28
|
+
fullWidth: !0,
|
|
29
29
|
content: t,
|
|
30
|
-
position:
|
|
30
|
+
position: c,
|
|
31
31
|
variant: f,
|
|
32
|
-
showArrow:
|
|
32
|
+
showArrow: n,
|
|
33
33
|
children: e
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
36
|
};
|
|
37
37
|
export {
|
|
38
38
|
j as EllipsisTooltip,
|
|
39
|
-
|
|
39
|
+
v as isEllipsisActive
|
|
40
40
|
};
|
|
@@ -1,142 +1,171 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import { Checkbox as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N } from "react";
|
|
3
|
+
import t from "clsx";
|
|
4
|
+
import { Checkbox as D } from "../Checkbox/Checkbox.js";
|
|
5
|
+
import { Tooltip as G } from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { tagPropsFromTag as H, badgePropsFromTag as V, pillPropsFromTag as q } from "./utilsImgPh.js";
|
|
7
|
+
import { ASPECT_RATIOS as x, TAG_TYPES as I, OVERLAYS as J, TEXT_POSITIONS as S, LINES as K } from "./constantsImgPh.js";
|
|
8
|
+
import { ImageOffIcon as Q } from "../icons-v2/ImageOffIcon.js";
|
|
9
|
+
import { MoreIcon as U } from "../icons-v2/MoreIcon.js";
|
|
10
|
+
import { XIcon as Z } from "../icons-v2/XIcon.js";
|
|
11
|
+
import o from "./ImagePlaceholder.module.scss.js";
|
|
12
|
+
import { Button as $ } from "../Button/Button.js";
|
|
13
|
+
import { EllipsisTooltip as oo } from "../EllipsisTooltip/EllipsisTooltip.js";
|
|
14
|
+
import { DropdownList as eo } from "../DropdownList/DropdownList.js";
|
|
15
|
+
import { ListItem as ro } from "../ListItem/ListItem.js";
|
|
16
|
+
import { Tag as lo } from "../Tag/Tag.js";
|
|
17
|
+
import { Badge as so } from "../Badge/Badge.js";
|
|
18
|
+
import { Pill as io } from "../Pill/Pill.js";
|
|
19
|
+
const Eo = ({
|
|
20
|
+
id: g,
|
|
21
|
+
url: E,
|
|
21
22
|
text: a,
|
|
22
|
-
textPosition:
|
|
23
|
-
tag:
|
|
23
|
+
textPosition: m = S.inside,
|
|
24
|
+
tag: l,
|
|
24
25
|
overlay: s,
|
|
25
|
-
isChecked:
|
|
26
|
+
isChecked: w,
|
|
26
27
|
onChecked: p,
|
|
27
28
|
menu: d,
|
|
28
|
-
aspectRatio:
|
|
29
|
-
lines:
|
|
30
|
-
disabled:
|
|
31
|
-
onClose:
|
|
29
|
+
aspectRatio: C = x["1/1"],
|
|
30
|
+
lines: P = K[1],
|
|
31
|
+
disabled: c = !1,
|
|
32
|
+
onClose: L = () => {
|
|
32
33
|
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
tooltipContent: h,
|
|
35
|
+
tooltipTitle: y,
|
|
36
|
+
tooltipProps: A = { variant: "light", showArrow: !0, position: "bottom" },
|
|
37
|
+
imageAreaRef: M,
|
|
38
|
+
onImageAreaMouseEnter: O,
|
|
39
|
+
onImageAreaMouseLeave: B,
|
|
40
|
+
onClick: u,
|
|
41
|
+
selected: F = !1,
|
|
42
|
+
overlayDisplay: R = "always"
|
|
36
43
|
}) => {
|
|
37
|
-
const [
|
|
38
|
-
switch (
|
|
44
|
+
const [f, W] = N(!1), [n, z] = N(!1), v = () => {
|
|
45
|
+
switch (l == null ? void 0 : l.type) {
|
|
39
46
|
case "pill":
|
|
40
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ e(io, { ...q(l) });
|
|
41
48
|
case "badge":
|
|
42
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ e(so, { ...V(l) });
|
|
43
50
|
case "tag":
|
|
44
|
-
return /* @__PURE__ */
|
|
51
|
+
return /* @__PURE__ */ e(lo, { ...H(l) });
|
|
45
52
|
default:
|
|
46
53
|
return null;
|
|
47
54
|
}
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"img",
|
|
55
|
+
}, b = !a || m === S.outside ? "8px" : "8px 8px 0 0", _ = Number(P), j = t(o.contentText, o.contentTextClamped), X = { WebkitLineClamp: _ }, Y = !!h, T = !!u && !c, k = /* @__PURE__ */ i(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
className: t(
|
|
59
|
+
o.imagePlaceholder,
|
|
60
|
+
c && o.disabled,
|
|
61
|
+
T && o.clickable,
|
|
62
|
+
F && o.selected,
|
|
63
|
+
R === "hover" && o.overlayHover
|
|
64
|
+
),
|
|
65
|
+
onClick: T ? u : void 0,
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ i(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
ref: M,
|
|
71
|
+
className: t(
|
|
72
|
+
o.imageArea,
|
|
73
|
+
s === "checkbox" && o.clickable,
|
|
74
|
+
s === "checkbox" && !n && o.checkboxSelectable
|
|
75
|
+
),
|
|
76
|
+
style: { borderRadius: b },
|
|
77
|
+
onClick: s === "checkbox" && !n && !c ? p : void 0,
|
|
78
|
+
onMouseEnter: O,
|
|
79
|
+
onMouseLeave: B,
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
"div",
|
|
77
83
|
{
|
|
78
|
-
className:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
84
|
+
className: o.imageFrame,
|
|
85
|
+
style: { aspectRatio: x[C], borderRadius: b },
|
|
86
|
+
children: n ? /* @__PURE__ */ e("div", { className: o.imageError, children: /* @__PURE__ */ e(
|
|
87
|
+
Q,
|
|
88
|
+
{
|
|
89
|
+
iconSize: "l",
|
|
90
|
+
strokeColor: "var(--color--icon--disabled--default)"
|
|
91
|
+
}
|
|
92
|
+
) }) : /* @__PURE__ */ e(
|
|
93
|
+
"img",
|
|
94
|
+
{
|
|
95
|
+
className: o.image,
|
|
96
|
+
src: E,
|
|
97
|
+
alt: a,
|
|
98
|
+
onError: () => z(!0)
|
|
99
|
+
}
|
|
100
|
+
)
|
|
82
101
|
}
|
|
83
|
-
)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
102
|
+
),
|
|
103
|
+
!a && I.has(l == null ? void 0 : l.type) ? /* @__PURE__ */ e("div", { className: o.tagInImage, children: v() }) : null,
|
|
104
|
+
J.has(s) && /* @__PURE__ */ i("div", { className: o.overlay, onClick: (r) => r.stopPropagation(), children: [
|
|
105
|
+
s === "checkbox" && !n ? /* @__PURE__ */ e(
|
|
106
|
+
D,
|
|
107
|
+
{
|
|
108
|
+
checked: w,
|
|
109
|
+
onChange: p,
|
|
110
|
+
size: "lg",
|
|
111
|
+
disabled: c
|
|
112
|
+
}
|
|
113
|
+
) : null,
|
|
114
|
+
s === "close" ? /* @__PURE__ */ e(
|
|
115
|
+
$,
|
|
116
|
+
{
|
|
117
|
+
icon: /* @__PURE__ */ e(Z, {}),
|
|
118
|
+
size: "xxs",
|
|
119
|
+
variant: "fill",
|
|
120
|
+
type: "neutral",
|
|
121
|
+
onClick: L
|
|
122
|
+
}
|
|
123
|
+
) : null
|
|
124
|
+
] })
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
a ? /* @__PURE__ */ i("div", { className: t(o.belowImage, o[m]), children: [
|
|
129
|
+
I.has(l == null ? void 0 : l.type) ? /* @__PURE__ */ e("div", { children: v() }) : null,
|
|
130
|
+
/* @__PURE__ */ i("div", { className: o.content, children: [
|
|
131
|
+
/* @__PURE__ */ e(
|
|
132
|
+
oo,
|
|
99
133
|
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
134
|
+
position: "bottom",
|
|
135
|
+
showArrow: !0,
|
|
136
|
+
className: j,
|
|
137
|
+
wrapperStyle: X,
|
|
138
|
+
children: a
|
|
105
139
|
}
|
|
106
|
-
)
|
|
140
|
+
),
|
|
141
|
+
d && /* @__PURE__ */ i("div", { className: o.menu, children: [
|
|
142
|
+
/* @__PURE__ */ e(
|
|
143
|
+
"span",
|
|
144
|
+
{
|
|
145
|
+
onClick: (r) => {
|
|
146
|
+
r.stopPropagation(), W(!f);
|
|
147
|
+
},
|
|
148
|
+
children: /* @__PURE__ */ e(U, {})
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
f && /* @__PURE__ */ e(eo, { children: d.map((r) => /* @__PURE__ */ e(
|
|
152
|
+
ro,
|
|
153
|
+
{
|
|
154
|
+
title: r == null ? void 0 : r.title,
|
|
155
|
+
value: r == null ? void 0 : r.value,
|
|
156
|
+
item: r
|
|
157
|
+
},
|
|
158
|
+
r == null ? void 0 : r.value
|
|
159
|
+
)) })
|
|
160
|
+
] })
|
|
107
161
|
] })
|
|
108
|
-
]
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
/* @__PURE__ */ o(
|
|
115
|
-
V,
|
|
116
|
-
{
|
|
117
|
-
position: "bottom",
|
|
118
|
-
showArrow: !0,
|
|
119
|
-
className: M,
|
|
120
|
-
wrapperStyle: O,
|
|
121
|
-
children: a
|
|
122
|
-
}
|
|
123
|
-
),
|
|
124
|
-
d && /* @__PURE__ */ c("div", { className: e.menu, children: [
|
|
125
|
-
/* @__PURE__ */ o("span", { onClick: () => L(!u), children: /* @__PURE__ */ o(Y, {}) }),
|
|
126
|
-
u && /* @__PURE__ */ o(W, { children: d.map((l) => /* @__PURE__ */ o(
|
|
127
|
-
q,
|
|
128
|
-
{
|
|
129
|
-
title: l == null ? void 0 : l.title,
|
|
130
|
-
value: l == null ? void 0 : l.value,
|
|
131
|
-
item: l
|
|
132
|
-
},
|
|
133
|
-
l == null ? void 0 : l.value
|
|
134
|
-
)) })
|
|
135
|
-
] })
|
|
136
|
-
] })
|
|
137
|
-
] }) : null
|
|
138
|
-
] }, I);
|
|
162
|
+
] }) : null
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
g
|
|
166
|
+
);
|
|
167
|
+
return Y ? /* @__PURE__ */ e(G, { title: y, content: h, ...A, fullWidth: !0, children: k }) : k;
|
|
139
168
|
};
|
|
140
169
|
export {
|
|
141
|
-
|
|
170
|
+
Eo as default
|
|
142
171
|
};
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_imagePlaceholder_kbkw0_3", t = "_selected_kbkw0_9", _ = "_clickable_kbkw0_13", o = "_disabled_kbkw0_16", a = "_overlayHover_kbkw0_22", c = "_overlay_kbkw0_22", n = "_imageArea_kbkw0_28", k = "_checkboxSelectable_kbkw0_40", l = "_imageFrame_kbkw0_45", b = "_image_kbkw0_3", s = "_imageError_kbkw0_61", i = "_tagInImage_kbkw0_68", m = "_belowImage_kbkw0_78", r = "_inside_kbkw0_87", g = "_outside_kbkw0_91", d = "_content_kbkw0_95", w = "_contentText_kbkw0_101", x = "_contentTextClamped_kbkw0_115", v = "_menu_kbkw0_120", I = {
|
|
2
2
|
imagePlaceholder: e,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
selected: t,
|
|
4
|
+
clickable: _,
|
|
5
|
+
disabled: o,
|
|
6
|
+
overlayHover: a,
|
|
7
|
+
overlay: c,
|
|
8
|
+
imageArea: n,
|
|
9
|
+
checkboxSelectable: k,
|
|
10
|
+
imageFrame: l,
|
|
11
|
+
image: b,
|
|
12
|
+
imageError: s,
|
|
13
|
+
tagInImage: i,
|
|
14
|
+
belowImage: m,
|
|
15
|
+
inside: r,
|
|
16
|
+
outside: g,
|
|
17
|
+
content: d,
|
|
18
|
+
contentText: w,
|
|
19
|
+
contentTextClamped: x,
|
|
20
|
+
menu: v
|
|
19
21
|
};
|
|
20
22
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
m as belowImage,
|
|
24
|
+
k as checkboxSelectable,
|
|
25
|
+
_ as clickable,
|
|
26
|
+
d as content,
|
|
27
|
+
w as contentText,
|
|
28
|
+
x as contentTextClamped,
|
|
27
29
|
I as default,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
o as disabled,
|
|
31
|
+
b as image,
|
|
32
|
+
n as imageArea,
|
|
33
|
+
s as imageError,
|
|
34
|
+
l as imageFrame,
|
|
33
35
|
e as imagePlaceholder,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
r as inside,
|
|
37
|
+
v as menu,
|
|
38
|
+
g as outside,
|
|
39
|
+
c as overlay,
|
|
40
|
+
a as overlayHover,
|
|
41
|
+
t as selected,
|
|
42
|
+
i as tagInImage
|
|
39
43
|
};
|