@caseparts-org/caseblocks 0.0.52 → 0.0.54
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._categories_13aed_1{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0;margin:0 90px 0 47px}@media (max-width: 1281px){._categories_13aed_1{display:none}}._category_13aed_17{list-style:none}._category_13aed_17 a{color:var(--text-text-primary);font-weight:var(--font-weight-semibold);text-decoration:none;display:flex;flex-direction:row;align-items:center}@media (max-width: 1281px){._category_13aed_17 a{justify-content:space-between;width:100%}}._category_13aed_17 a:hover{color:var(--color-brand-primary-primary-teal-blue);text-decoration:none}._category_13aed_17 a path{fill:var(--color-brand-primary-primary-teal-blue)}._submenuTooltip_13aed_43{list-style:none;padding:0;margin:0;height:min-content;display:flex;flex-direction:column;gap:var(--spacing-spacing-3xs)}
|
|
@@ -7,35 +7,37 @@ import { Tooltip as f } from "../Tooltip/Tooltip.js";
|
|
|
7
7
|
import { Pricing as v } from "../Pricing/Pricing.js";
|
|
8
8
|
import { QuantityInput as w } from "../QuantityInput/QuantityInput.js";
|
|
9
9
|
import { Availability as b } from "../Availability/Availability.js";
|
|
10
|
-
import '../../assets/Cart.css';const y = "_cart_1uglw_2", N = "_count_1uglw_9",
|
|
10
|
+
import '../../assets/Cart.css';const y = "_cart_1uglw_2", N = "_count_1uglw_9", z = "_cartTooltip_1uglw_24", C = "_cartContainer_1uglw_27", k = "_cartItems_1uglw_35", x = "_topRow_1uglw_57", T = "_itemInfo_1uglw_63", R = "_purchaseInformation_1uglw_68", L = "_itemManagement_1uglw_75", M = "_removeItem_1uglw_93", P = "_noItems_1uglw_101", S = "_subtotal_1uglw_108", i = {
|
|
11
11
|
cart: y,
|
|
12
12
|
count: N,
|
|
13
|
-
cartTooltip:
|
|
14
|
-
cartContainer:
|
|
15
|
-
cartItems:
|
|
16
|
-
topRow:
|
|
13
|
+
cartTooltip: z,
|
|
14
|
+
cartContainer: C,
|
|
15
|
+
cartItems: k,
|
|
16
|
+
topRow: x,
|
|
17
17
|
itemInfo: T,
|
|
18
|
-
purchaseInformation:
|
|
19
|
-
itemManagement:
|
|
20
|
-
removeItem:
|
|
18
|
+
purchaseInformation: R,
|
|
19
|
+
itemManagement: L,
|
|
20
|
+
removeItem: M,
|
|
21
21
|
noItems: P,
|
|
22
22
|
subtotal: S
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function O({
|
|
25
25
|
cart: n,
|
|
26
|
-
onItemQtyChange:
|
|
27
|
-
onItemDelete:
|
|
26
|
+
onItemQtyChange: m,
|
|
27
|
+
onItemDelete: c,
|
|
28
28
|
onCheckout: l,
|
|
29
29
|
subtotal: r,
|
|
30
30
|
contactHref: d,
|
|
31
|
-
contactLinkBehavior:
|
|
32
|
-
itemPriceLabel:
|
|
31
|
+
contactLinkBehavior: p,
|
|
32
|
+
itemPriceLabel: h,
|
|
33
33
|
...u
|
|
34
34
|
}) {
|
|
35
35
|
return n = n || { items: [] }, /* @__PURE__ */ t(
|
|
36
36
|
f,
|
|
37
37
|
{
|
|
38
38
|
tooltipClassName: i.cartTooltip,
|
|
39
|
+
repositionOnResize: !0,
|
|
40
|
+
keepTooltipInside: !0,
|
|
39
41
|
trigger: /* @__PURE__ */ o("button", { className: i.cart, tabIndex: 0, ...u, children: [
|
|
40
42
|
/* @__PURE__ */ t(
|
|
41
43
|
s,
|
|
@@ -47,7 +49,7 @@ function U({
|
|
|
47
49
|
),
|
|
48
50
|
n.items.length > 0 && /* @__PURE__ */ t("div", { className: i.count, children: /* @__PURE__ */ t(a, { size: "xxs", children: n.items.length }) })
|
|
49
51
|
] }),
|
|
50
|
-
position: "bottom
|
|
52
|
+
position: "bottom left",
|
|
51
53
|
on: "click",
|
|
52
54
|
children: /* @__PURE__ */ o("div", { className: i.cartContainer, children: [
|
|
53
55
|
/* @__PURE__ */ t(a, { size: "2xl", children: "Cart" }),
|
|
@@ -63,7 +65,7 @@ function U({
|
|
|
63
65
|
e.itemId
|
|
64
66
|
] })
|
|
65
67
|
] }),
|
|
66
|
-
/* @__PURE__ */ t("button", { onClick: () =>
|
|
68
|
+
/* @__PURE__ */ t("button", { onClick: () => c(e), className: i.removeItem, children: /* @__PURE__ */ t(s, { iconKey: "fa-regular fa-trash", size: "sm" }) })
|
|
67
69
|
] }),
|
|
68
70
|
/* @__PURE__ */ o("div", { className: i.itemManagement, children: [
|
|
69
71
|
/* @__PURE__ */ o("div", { className: i.purchaseInformation, children: [
|
|
@@ -73,12 +75,12 @@ function U({
|
|
|
73
75
|
availId: e.availabilityId || "",
|
|
74
76
|
availDescription: e.availability || "",
|
|
75
77
|
contactHref: d || "",
|
|
76
|
-
contactLinkBehavior:
|
|
78
|
+
contactLinkBehavior: p || "new-tab"
|
|
77
79
|
}
|
|
78
80
|
),
|
|
79
|
-
/* @__PURE__ */ t(v, { pricingLabel:
|
|
81
|
+
/* @__PURE__ */ t(v, { pricingLabel: h || "List Price", price: e.price })
|
|
80
82
|
] }),
|
|
81
|
-
/* @__PURE__ */ t(w, { quantity: e.quantity, onQuantityChange: (g) =>
|
|
83
|
+
/* @__PURE__ */ t(w, { quantity: e.quantity, onQuantityChange: (g) => m(e, g), size: "sm" })
|
|
82
84
|
] })
|
|
83
85
|
] })
|
|
84
86
|
] }, e.id)
|
|
@@ -93,5 +95,5 @@ function U({
|
|
|
93
95
|
);
|
|
94
96
|
}
|
|
95
97
|
export {
|
|
96
|
-
|
|
98
|
+
O as ShoppingCart
|
|
97
99
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { Link as
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Text as n } from "../../atoms/Text/Text.js";
|
|
4
|
+
import { Link as s } from "../../atoms/Link/Link.js";
|
|
5
5
|
import { Icon as m } from "../../atoms/Icon/Icon.js";
|
|
6
|
-
import { getHideAtStyles as
|
|
6
|
+
import { getHideAtStyles as d } from "../../atoms/HideAt.js";
|
|
7
7
|
import { Tooltip as c } from "../Tooltip/Tooltip.js";
|
|
8
|
-
import '../../assets/CategoryNav.css';const
|
|
9
|
-
categories:
|
|
8
|
+
import '../../assets/CategoryNav.css';const h = "_categories_13aed_1", u = "_category_13aed_17", p = "_submenuTooltip_13aed_43", l = {
|
|
9
|
+
categories: h,
|
|
10
10
|
category: u,
|
|
11
11
|
submenuTooltip: p
|
|
12
12
|
};
|
|
13
13
|
function z({
|
|
14
14
|
categories: o
|
|
15
15
|
}) {
|
|
16
|
-
return !o || o.length === 0 ? null : /* @__PURE__ */ e("ul", { className:
|
|
16
|
+
return !o || o.length === 0 ? null : /* @__PURE__ */ e("ul", { className: a(l.categories, d(["sm"])), children: o.map(
|
|
17
17
|
(i) => i.children.length > 0 ? /* @__PURE__ */ e(
|
|
18
18
|
c,
|
|
19
19
|
{
|
|
20
|
-
trigger: /* @__PURE__ */ e("li", { className: l.category, tabIndex: 0, children: /* @__PURE__ */ s
|
|
21
|
-
/* @__PURE__ */ e(
|
|
20
|
+
trigger: /* @__PURE__ */ e("li", { className: l.category, tabIndex: 0, children: /* @__PURE__ */ t(s, { href: i.route, children: [
|
|
21
|
+
/* @__PURE__ */ e(n, { size: "sm", weight: "semibold", children: i.label }),
|
|
22
22
|
i.showChevron && /* @__PURE__ */ e(
|
|
23
23
|
m,
|
|
24
24
|
{
|
|
@@ -29,11 +29,11 @@ function z({
|
|
|
29
29
|
)
|
|
30
30
|
] }) }),
|
|
31
31
|
position: "bottom center",
|
|
32
|
-
children: /* @__PURE__ */ e("ul", { className: l.submenuTooltip, children: i.children.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
32
|
+
children: /* @__PURE__ */ e("ul", { className: l.submenuTooltip, children: i.children.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(s, { href: r.route, children: /* @__PURE__ */ e(n, { size: "sm", weight: "semibold", children: r.label }) }) }, r.id)) })
|
|
33
33
|
},
|
|
34
34
|
i.id
|
|
35
|
-
) : /* @__PURE__ */ e("li", { className: l.category, children: /* @__PURE__ */ s
|
|
36
|
-
/* @__PURE__ */ e(
|
|
35
|
+
) : /* @__PURE__ */ e("li", { className: l.category, children: /* @__PURE__ */ t(s, { href: i.route, children: [
|
|
36
|
+
/* @__PURE__ */ e(n, { size: "sm", weight: "semibold", children: i.label }),
|
|
37
37
|
i.showChevron && /* @__PURE__ */ e(
|
|
38
38
|
m,
|
|
39
39
|
{
|
|
@@ -19,7 +19,7 @@ function Ke() {
|
|
|
19
19
|
if (Ee) return O;
|
|
20
20
|
Ee = 1;
|
|
21
21
|
var s = T;
|
|
22
|
-
function
|
|
22
|
+
function a(n) {
|
|
23
23
|
var t = "https://react.dev/errors/" + n;
|
|
24
24
|
if (1 < arguments.length) {
|
|
25
25
|
t += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
@@ -30,11 +30,11 @@ function Ke() {
|
|
|
30
30
|
}
|
|
31
31
|
function c() {
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var o = {
|
|
34
34
|
d: {
|
|
35
35
|
f: c,
|
|
36
36
|
r: function() {
|
|
37
|
-
throw Error(
|
|
37
|
+
throw Error(a(522));
|
|
38
38
|
},
|
|
39
39
|
D: c,
|
|
40
40
|
C: c,
|
|
@@ -63,37 +63,37 @@ function Ke() {
|
|
|
63
63
|
if (typeof t == "string")
|
|
64
64
|
return t === "use-credentials" ? t : "";
|
|
65
65
|
}
|
|
66
|
-
return O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
66
|
+
return O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, O.createPortal = function(n, t) {
|
|
67
67
|
var l = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
68
68
|
if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11)
|
|
69
|
-
throw Error(
|
|
69
|
+
throw Error(a(299));
|
|
70
70
|
return d(n, t, null, l);
|
|
71
71
|
}, O.flushSync = function(n) {
|
|
72
|
-
var t = p.T, l =
|
|
72
|
+
var t = p.T, l = o.p;
|
|
73
73
|
try {
|
|
74
|
-
if (p.T = null,
|
|
74
|
+
if (p.T = null, o.p = 2, n) return n();
|
|
75
75
|
} finally {
|
|
76
|
-
p.T = t,
|
|
76
|
+
p.T = t, o.p = l, o.d.f();
|
|
77
77
|
}
|
|
78
78
|
}, O.preconnect = function(n, t) {
|
|
79
|
-
typeof n == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null,
|
|
79
|
+
typeof n == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, o.d.C(n, t));
|
|
80
80
|
}, O.prefetchDNS = function(n) {
|
|
81
|
-
typeof n == "string" &&
|
|
81
|
+
typeof n == "string" && o.d.D(n);
|
|
82
82
|
}, O.preinit = function(n, t) {
|
|
83
83
|
if (typeof n == "string" && t && typeof t.as == "string") {
|
|
84
|
-
var l = t.as, r = m(l, t.crossOrigin), e = typeof t.integrity == "string" ? t.integrity : void 0,
|
|
85
|
-
l === "style" ?
|
|
84
|
+
var l = t.as, r = m(l, t.crossOrigin), e = typeof t.integrity == "string" ? t.integrity : void 0, i = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
|
|
85
|
+
l === "style" ? o.d.S(
|
|
86
86
|
n,
|
|
87
87
|
typeof t.precedence == "string" ? t.precedence : void 0,
|
|
88
88
|
{
|
|
89
89
|
crossOrigin: r,
|
|
90
90
|
integrity: e,
|
|
91
|
-
fetchPriority:
|
|
91
|
+
fetchPriority: i
|
|
92
92
|
}
|
|
93
|
-
) : l === "script" &&
|
|
93
|
+
) : l === "script" && o.d.X(n, {
|
|
94
94
|
crossOrigin: r,
|
|
95
95
|
integrity: e,
|
|
96
|
-
fetchPriority:
|
|
96
|
+
fetchPriority: i,
|
|
97
97
|
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
98
98
|
});
|
|
99
99
|
}
|
|
@@ -105,17 +105,17 @@ function Ke() {
|
|
|
105
105
|
t.as,
|
|
106
106
|
t.crossOrigin
|
|
107
107
|
);
|
|
108
|
-
|
|
108
|
+
o.d.M(n, {
|
|
109
109
|
crossOrigin: l,
|
|
110
110
|
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
111
111
|
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
} else t == null &&
|
|
114
|
+
} else t == null && o.d.M(n);
|
|
115
115
|
}, O.preload = function(n, t) {
|
|
116
116
|
if (typeof n == "string" && typeof t == "object" && t !== null && typeof t.as == "string") {
|
|
117
117
|
var l = t.as, r = m(l, t.crossOrigin);
|
|
118
|
-
|
|
118
|
+
o.d.L(n, l, {
|
|
119
119
|
crossOrigin: r,
|
|
120
120
|
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
121
121
|
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
@@ -131,14 +131,14 @@ function Ke() {
|
|
|
131
131
|
if (typeof n == "string")
|
|
132
132
|
if (t) {
|
|
133
133
|
var l = m(t.as, t.crossOrigin);
|
|
134
|
-
|
|
134
|
+
o.d.m(n, {
|
|
135
135
|
as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
|
|
136
136
|
crossOrigin: l,
|
|
137
137
|
integrity: typeof t.integrity == "string" ? t.integrity : void 0
|
|
138
138
|
});
|
|
139
|
-
} else
|
|
139
|
+
} else o.d.m(n);
|
|
140
140
|
}, O.requestFormReset = function(n) {
|
|
141
|
-
|
|
141
|
+
o.d.r(n);
|
|
142
142
|
}, O.unstable_batchedUpdates = function(n, t) {
|
|
143
143
|
return n(t);
|
|
144
144
|
}, O.useFormState = function(n, t, l) {
|
|
@@ -162,13 +162,13 @@ function We() {
|
|
|
162
162
|
return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
163
163
|
function s() {
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function a(r) {
|
|
166
166
|
return "" + r;
|
|
167
167
|
}
|
|
168
|
-
function c(r, e,
|
|
168
|
+
function c(r, e, i) {
|
|
169
169
|
var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
170
170
|
try {
|
|
171
|
-
|
|
171
|
+
a(y);
|
|
172
172
|
var v = !1;
|
|
173
173
|
} catch {
|
|
174
174
|
v = !0;
|
|
@@ -176,15 +176,15 @@ function We() {
|
|
|
176
176
|
return v && (console.error(
|
|
177
177
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
178
178
|
typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
|
|
179
|
-
),
|
|
179
|
+
), a(y)), {
|
|
180
180
|
$$typeof: t,
|
|
181
181
|
key: y == null ? null : "" + y,
|
|
182
182
|
children: r,
|
|
183
183
|
containerInfo: e,
|
|
184
|
-
implementation:
|
|
184
|
+
implementation: i
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function o(r, e) {
|
|
188
188
|
if (r === "font") return "";
|
|
189
189
|
if (typeof e == "string")
|
|
190
190
|
return e === "use-credentials" ? e : "";
|
|
@@ -228,17 +228,17 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
228
228
|
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
229
229
|
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
230
230
|
), E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, E.createPortal = function(r, e) {
|
|
231
|
-
var
|
|
231
|
+
var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
232
232
|
if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
|
|
233
233
|
throw Error("Target container is not a DOM element.");
|
|
234
|
-
return c(r, e, null,
|
|
234
|
+
return c(r, e, null, i);
|
|
235
235
|
}, E.flushSync = function(r) {
|
|
236
|
-
var e = l.T,
|
|
236
|
+
var e = l.T, i = n.p;
|
|
237
237
|
try {
|
|
238
238
|
if (l.T = null, n.p = 2, r)
|
|
239
239
|
return r();
|
|
240
240
|
} finally {
|
|
241
|
-
l.T = e, n.p =
|
|
241
|
+
l.T = e, n.p = i, n.d.f() && console.error(
|
|
242
242
|
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
243
243
|
);
|
|
244
244
|
}
|
|
@@ -281,8 +281,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
281
281
|
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
282
282
|
f(r)
|
|
283
283
|
), typeof r == "string" && e && typeof e.as == "string") {
|
|
284
|
-
var
|
|
285
|
-
|
|
284
|
+
var i = e.as, y = o(i, e.crossOrigin), v = typeof e.integrity == "string" ? e.integrity : void 0, w = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
|
|
285
|
+
i === "style" ? n.d.S(
|
|
286
286
|
r,
|
|
287
287
|
typeof e.precedence == "string" ? e.precedence : void 0,
|
|
288
288
|
{
|
|
@@ -290,7 +290,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
290
290
|
integrity: v,
|
|
291
291
|
fetchPriority: w
|
|
292
292
|
}
|
|
293
|
-
) :
|
|
293
|
+
) : i === "script" && n.d.X(r, {
|
|
294
294
|
crossOrigin: y,
|
|
295
295
|
integrity: v,
|
|
296
296
|
fetchPriority: w,
|
|
@@ -298,43 +298,43 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
300
|
}, E.preinitModule = function(r, e) {
|
|
301
|
-
var
|
|
302
|
-
if (typeof r == "string" && r || (
|
|
301
|
+
var i = "";
|
|
302
|
+
if (typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + d(e.as) + "."), i)
|
|
303
303
|
console.error(
|
|
304
304
|
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
305
|
-
|
|
305
|
+
i
|
|
306
306
|
);
|
|
307
307
|
else
|
|
308
|
-
switch (
|
|
308
|
+
switch (i = e && typeof e.as == "string" ? e.as : "script", i) {
|
|
309
309
|
case "script":
|
|
310
310
|
break;
|
|
311
311
|
default:
|
|
312
|
-
|
|
312
|
+
i = d(i), console.error(
|
|
313
313
|
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
|
314
|
-
|
|
314
|
+
i,
|
|
315
315
|
r
|
|
316
316
|
);
|
|
317
317
|
}
|
|
318
|
-
typeof r == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (
|
|
318
|
+
typeof r == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = o(
|
|
319
319
|
e.as,
|
|
320
320
|
e.crossOrigin
|
|
321
321
|
), n.d.M(r, {
|
|
322
|
-
crossOrigin:
|
|
322
|
+
crossOrigin: i,
|
|
323
323
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
324
324
|
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
325
325
|
})) : e == null && n.d.M(r));
|
|
326
326
|
}, E.preload = function(r, e) {
|
|
327
|
-
var
|
|
328
|
-
if (typeof r == "string" && r || (
|
|
327
|
+
var i = "";
|
|
328
|
+
if (typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + f(e.as) + "."), i && console.error(
|
|
329
329
|
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
330
|
-
|
|
330
|
+
i
|
|
331
331
|
), typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
|
|
332
|
-
|
|
333
|
-
var y =
|
|
334
|
-
|
|
332
|
+
i = e.as;
|
|
333
|
+
var y = o(
|
|
334
|
+
i,
|
|
335
335
|
e.crossOrigin
|
|
336
336
|
);
|
|
337
|
-
n.d.L(r,
|
|
337
|
+
n.d.L(r, i, {
|
|
338
338
|
crossOrigin: y,
|
|
339
339
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
340
340
|
nonce: typeof e.nonce == "string" ? e.nonce : void 0,
|
|
@@ -347,24 +347,24 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
349
|
}, E.preloadModule = function(r, e) {
|
|
350
|
-
var
|
|
351
|
-
typeof r == "string" && r || (
|
|
350
|
+
var i = "";
|
|
351
|
+
typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + f(e.as) + "."), i && console.error(
|
|
352
352
|
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
353
|
-
|
|
354
|
-
), typeof r == "string" && (e ? (
|
|
353
|
+
i
|
|
354
|
+
), typeof r == "string" && (e ? (i = o(
|
|
355
355
|
e.as,
|
|
356
356
|
e.crossOrigin
|
|
357
357
|
), n.d.m(r, {
|
|
358
358
|
as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
|
|
359
|
-
crossOrigin:
|
|
359
|
+
crossOrigin: i,
|
|
360
360
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0
|
|
361
361
|
})) : n.d.m(r));
|
|
362
362
|
}, E.requestFormReset = function(r) {
|
|
363
363
|
n.d.r(r);
|
|
364
364
|
}, E.unstable_batchedUpdates = function(r, e) {
|
|
365
365
|
return r(e);
|
|
366
|
-
}, E.useFormState = function(r, e,
|
|
367
|
-
return p().useFormState(r, e,
|
|
366
|
+
}, E.useFormState = function(r, e, i) {
|
|
367
|
+
return p().useFormState(r, e, i);
|
|
368
368
|
}, E.useFormStatus = function() {
|
|
369
369
|
return p().useHostTransitionStatus();
|
|
370
370
|
}, E.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
@@ -386,41 +386,41 @@ var Je = K.exports;
|
|
|
386
386
|
const Qe = /* @__PURE__ */ qe(Je);
|
|
387
387
|
function Y() {
|
|
388
388
|
return Y = Object.assign || function(s) {
|
|
389
|
-
for (var
|
|
390
|
-
var c = arguments[
|
|
391
|
-
for (var
|
|
392
|
-
Object.prototype.hasOwnProperty.call(c,
|
|
389
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
390
|
+
var c = arguments[a];
|
|
391
|
+
for (var o in c)
|
|
392
|
+
Object.prototype.hasOwnProperty.call(c, o) && (s[o] = c[o]);
|
|
393
393
|
}
|
|
394
394
|
return s;
|
|
395
395
|
}, Y.apply(this, arguments);
|
|
396
396
|
}
|
|
397
|
-
var Ze = function(
|
|
397
|
+
var Ze = function(a, c) {
|
|
398
398
|
c === void 0 && (c = !0), x(function() {
|
|
399
399
|
if (c) {
|
|
400
|
-
var
|
|
401
|
-
d.key === "Escape" &&
|
|
400
|
+
var o = function(d) {
|
|
401
|
+
d.key === "Escape" && a(d);
|
|
402
402
|
};
|
|
403
|
-
return document.addEventListener("keyup",
|
|
404
|
-
c && document.removeEventListener("keyup",
|
|
403
|
+
return document.addEventListener("keyup", o), function() {
|
|
404
|
+
c && document.removeEventListener("keyup", o);
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
|
-
}, [
|
|
408
|
-
}, Be = function(
|
|
407
|
+
}, [a, c]);
|
|
408
|
+
}, Be = function(a, c) {
|
|
409
409
|
c === void 0 && (c = !0), x(function() {
|
|
410
410
|
if (c) {
|
|
411
|
-
var
|
|
412
|
-
|
|
411
|
+
var o = function() {
|
|
412
|
+
a();
|
|
413
413
|
};
|
|
414
|
-
return window.addEventListener("resize",
|
|
415
|
-
c && window.removeEventListener("resize",
|
|
414
|
+
return window.addEventListener("resize", o), function() {
|
|
415
|
+
c && window.removeEventListener("resize", o);
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
}, [
|
|
419
|
-
}, et = function(
|
|
420
|
-
|
|
421
|
-
if (
|
|
418
|
+
}, [a, c]);
|
|
419
|
+
}, et = function(a, c, o) {
|
|
420
|
+
o === void 0 && (o = !0), x(function() {
|
|
421
|
+
if (o) {
|
|
422
422
|
var f = function(p) {
|
|
423
|
-
var m = Array.isArray(
|
|
423
|
+
var m = Array.isArray(a) ? a : [a], n = !1;
|
|
424
424
|
m.forEach(function(t) {
|
|
425
425
|
if (!t.current || t.current.contains(p.target)) {
|
|
426
426
|
n = !0;
|
|
@@ -429,16 +429,16 @@ var Ze = function(i, c) {
|
|
|
429
429
|
}), p.stopPropagation(), n || c(p);
|
|
430
430
|
};
|
|
431
431
|
return document.addEventListener("mousedown", f), document.addEventListener("touchstart", f), function() {
|
|
432
|
-
|
|
432
|
+
o && (document.removeEventListener("mousedown", f), document.removeEventListener("touchstart", f));
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
}, [
|
|
436
|
-
}, tt = function(
|
|
435
|
+
}, [a, c, o]);
|
|
436
|
+
}, tt = function(a, c) {
|
|
437
437
|
c === void 0 && (c = !0), x(function() {
|
|
438
438
|
if (c) {
|
|
439
|
-
var
|
|
439
|
+
var o = function(d) {
|
|
440
440
|
if (d.keyCode === 9) {
|
|
441
|
-
var p, m =
|
|
441
|
+
var p, m = a == null || (p = a.current) === null || p === void 0 ? void 0 : p.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'), n = Array.prototype.slice.call(m);
|
|
442
442
|
if (n.length === 1) {
|
|
443
443
|
d.preventDefault();
|
|
444
444
|
return;
|
|
@@ -447,11 +447,11 @@ var Ze = function(i, c) {
|
|
|
447
447
|
d.shiftKey && document.activeElement === t ? (d.preventDefault(), l.focus()) : document.activeElement === l && (d.preventDefault(), t.focus());
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
|
-
return document.addEventListener("keydown",
|
|
451
|
-
c && document.removeEventListener("keydown",
|
|
450
|
+
return document.addEventListener("keydown", o), function() {
|
|
451
|
+
c && document.removeEventListener("keydown", o);
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
}, [
|
|
454
|
+
}, [a, c]);
|
|
455
455
|
}, rt = typeof window < "u" ? Ve : x, H = {
|
|
456
456
|
popupContent: {
|
|
457
457
|
tooltip: {
|
|
@@ -490,34 +490,34 @@ var Ze = function(i, c) {
|
|
|
490
490
|
zIndex: 999
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
}, nt = ["top left", "top center", "top right", "right top", "right center", "right bottom", "bottom left", "bottom center", "bottom right", "left top", "left center", "left bottom"], ot = function(
|
|
494
|
-
var p = d.offsetX, m = d.offsetY, n = f ? 8 : 0, t =
|
|
493
|
+
}, nt = ["top left", "top center", "top right", "right top", "right center", "right bottom", "bottom left", "bottom center", "bottom right", "left top", "left center", "left bottom"], ot = function(a, c, o, f, d) {
|
|
494
|
+
var p = d.offsetX, m = d.offsetY, n = f ? 8 : 0, t = o.split(" "), l = a.top + a.height / 2, r = a.left + a.width / 2, e = c.height, i = c.width, y = l - e / 2, v = r - i / 2, w = "", R = "0%", k = "0%";
|
|
495
495
|
switch (t[0]) {
|
|
496
496
|
case "top":
|
|
497
|
-
y -= e / 2 +
|
|
497
|
+
y -= e / 2 + a.height / 2 + n, w = "rotate(180deg) translateX(50%)", R = "100%", k = "50%";
|
|
498
498
|
break;
|
|
499
499
|
case "bottom":
|
|
500
|
-
y += e / 2 +
|
|
500
|
+
y += e / 2 + a.height / 2 + n, w = "rotate(0deg) translateY(-100%) translateX(-50%)", k = "50%";
|
|
501
501
|
break;
|
|
502
502
|
case "left":
|
|
503
|
-
v -=
|
|
503
|
+
v -= i / 2 + a.width / 2 + n, w = " rotate(90deg) translateY(50%) translateX(-25%)", k = "100%", R = "50%";
|
|
504
504
|
break;
|
|
505
505
|
case "right":
|
|
506
|
-
v +=
|
|
506
|
+
v += i / 2 + a.width / 2 + n, w = "rotate(-90deg) translateY(-150%) translateX(25%)", R = "50%";
|
|
507
507
|
break;
|
|
508
508
|
}
|
|
509
509
|
switch (t[1]) {
|
|
510
510
|
case "top":
|
|
511
|
-
y =
|
|
511
|
+
y = a.top, R = a.height / 2 + "px";
|
|
512
512
|
break;
|
|
513
513
|
case "bottom":
|
|
514
|
-
y =
|
|
514
|
+
y = a.top - e + a.height, R = e - a.height / 2 + "px";
|
|
515
515
|
break;
|
|
516
516
|
case "left":
|
|
517
|
-
v =
|
|
517
|
+
v = a.left, k = a.width / 2 + "px";
|
|
518
518
|
break;
|
|
519
519
|
case "right":
|
|
520
|
-
v =
|
|
520
|
+
v = a.left - i + a.width, k = i - a.width / 2 + "px";
|
|
521
521
|
break;
|
|
522
522
|
}
|
|
523
523
|
return y = t[0] === "top" ? y - m : y + m, v = t[0] === "left" ? v - p : v + p, {
|
|
@@ -527,7 +527,7 @@ var Ze = function(i, c) {
|
|
|
527
527
|
arrowLeft: k,
|
|
528
528
|
arrowTop: R
|
|
529
529
|
};
|
|
530
|
-
}, it = function(
|
|
530
|
+
}, it = function(a) {
|
|
531
531
|
var c = {
|
|
532
532
|
top: 0,
|
|
533
533
|
left: 0,
|
|
@@ -536,59 +536,59 @@ var Ze = function(i, c) {
|
|
|
536
536
|
/* eslint-disable-next-line no-undef */
|
|
537
537
|
height: window.innerHeight
|
|
538
538
|
};
|
|
539
|
-
if (typeof
|
|
540
|
-
var
|
|
541
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
542
|
-
throw new Error(
|
|
543
|
-
|
|
539
|
+
if (typeof a == "string") {
|
|
540
|
+
var o = document.querySelector(a);
|
|
541
|
+
if (process.env.NODE_ENV !== "production" && o === null)
|
|
542
|
+
throw new Error(a + " selector does not exist : keepTooltipInside must be a valid html selector 'class' or 'Id' or a boolean value");
|
|
543
|
+
o !== null && (c = o.getBoundingClientRect());
|
|
544
544
|
}
|
|
545
545
|
return c;
|
|
546
|
-
}, at = function(
|
|
546
|
+
}, at = function(a, c, o, f, d, p) {
|
|
547
547
|
var m = d.offsetX, n = d.offsetY, t = {
|
|
548
548
|
arrowLeft: "0%",
|
|
549
549
|
arrowTop: "0%",
|
|
550
550
|
left: 0,
|
|
551
551
|
top: 0,
|
|
552
552
|
transform: "rotate(135deg)"
|
|
553
|
-
}, l = 0, r = it(p), e = Array.isArray(
|
|
554
|
-
for ((p || Array.isArray(
|
|
555
|
-
t = ot(
|
|
553
|
+
}, l = 0, r = it(p), e = Array.isArray(o) ? o : [o];
|
|
554
|
+
for ((p || Array.isArray(o)) && (e = [].concat(e, nt)); l < e.length; ) {
|
|
555
|
+
t = ot(a, c, e[l], f, {
|
|
556
556
|
offsetX: m,
|
|
557
557
|
offsetY: n
|
|
558
558
|
});
|
|
559
|
-
var
|
|
559
|
+
var i = {
|
|
560
560
|
top: t.top,
|
|
561
561
|
left: t.left,
|
|
562
562
|
width: c.width,
|
|
563
563
|
height: c.height
|
|
564
564
|
};
|
|
565
|
-
if (
|
|
565
|
+
if (i.top <= r.top || i.left <= r.left || i.top + i.height >= r.top + r.height || i.left + i.width >= r.left + r.width)
|
|
566
566
|
l++;
|
|
567
567
|
else
|
|
568
568
|
break;
|
|
569
569
|
}
|
|
570
570
|
return t;
|
|
571
571
|
}, st = 0, ct = function() {
|
|
572
|
-
var
|
|
573
|
-
return
|
|
574
|
-
}, lt = /* @__PURE__ */ Xe(function(s,
|
|
575
|
-
var c = s.trigger,
|
|
572
|
+
var a = document.getElementById("popup-root");
|
|
573
|
+
return a === null && (a = document.createElement("div"), a.setAttribute("id", "popup-root"), document.body.appendChild(a)), a;
|
|
574
|
+
}, lt = /* @__PURE__ */ Xe(function(s, a) {
|
|
575
|
+
var c = s.trigger, o = c === void 0 ? null : c, f = s.onOpen, d = f === void 0 ? function() {
|
|
576
576
|
} : f, p = s.onClose, m = p === void 0 ? function() {
|
|
577
|
-
} : p, n = s.defaultOpen, t = n === void 0 ? !1 : n, l = s.open, r = l === void 0 ? void 0 : l, e = s.disabled,
|
|
577
|
+
} : p, n = s.defaultOpen, t = n === void 0 ? !1 : n, l = s.open, r = l === void 0 ? void 0 : l, e = s.disabled, i = e === void 0 ? !1 : e, y = s.nested, v = y === void 0 ? !1 : y, w = s.closeOnDocumentClick, R = w === void 0 ? !0 : w, k = s.repositionOnResize, we = k === void 0 ? !0 : k, W = s.closeOnEscape, Te = W === void 0 ? !0 : W, J = s.on, I = J === void 0 ? ["click"] : J, Q = s.contentStyle, Re = Q === void 0 ? {} : Q, Z = s.arrowStyle, X = Z === void 0 ? {} : Z, B = s.overlayStyle, De = B === void 0 ? {} : B, ee = s.className, P = ee === void 0 ? "" : ee, te = s.position, ke = te === void 0 ? "bottom center" : te, re = s.modal, ne = re === void 0 ? !1 : re, oe = s.lockScroll, ie = oe === void 0 ? !1 : oe, ae = s.arrow, F = ae === void 0 ? !0 : ae, se = s.offsetX, Ce = se === void 0 ? 0 : se, ce = s.offsetY, Le = ce === void 0 ? 0 : ce, le = s.mouseEnterDelay, Me = le === void 0 ? 100 : le, ue = s.mouseLeaveDelay, Ae = ue === void 0 ? 100 : ue, fe = s.keepTooltipInside, Pe = fe === void 0 ? !1 : fe, z = s.children, de = Fe(r || t), D = de[0], pe = de[1], C = N(null), b = N(null), M = N(null), ye = N(null), ve = N("popup-" + ++st), S = ne ? !0 : !o, j = N(0);
|
|
578
578
|
rt(function() {
|
|
579
579
|
return D ? (ye.current = document.activeElement, ge(), je(), xe()) : Ie(), function() {
|
|
580
580
|
clearTimeout(j.current);
|
|
581
581
|
};
|
|
582
582
|
}, [D]), x(function() {
|
|
583
583
|
typeof r == "boolean" && (r ? U() : L());
|
|
584
|
-
}, [r,
|
|
584
|
+
}, [r, i]);
|
|
585
585
|
var U = function(u) {
|
|
586
|
-
D ||
|
|
586
|
+
D || i || (pe(!0), setTimeout(function() {
|
|
587
587
|
return d(u);
|
|
588
588
|
}, 0));
|
|
589
589
|
}, L = function(u) {
|
|
590
590
|
var _;
|
|
591
|
-
!D ||
|
|
591
|
+
!D || i || (pe(!1), S && ((_ = ye.current) === null || _ === void 0 || _.focus()), setTimeout(function() {
|
|
592
592
|
return m(u);
|
|
593
593
|
}, 0));
|
|
594
594
|
}, V = function(u) {
|
|
@@ -596,13 +596,13 @@ var Ze = function(i, c) {
|
|
|
596
596
|
}, G = function(u) {
|
|
597
597
|
clearTimeout(j.current), j.current = setTimeout(function() {
|
|
598
598
|
return U(u);
|
|
599
|
-
},
|
|
599
|
+
}, Me);
|
|
600
600
|
}, Ne = function(u) {
|
|
601
601
|
u == null || u.preventDefault(), V();
|
|
602
602
|
}, q = function(u) {
|
|
603
603
|
clearTimeout(j.current), j.current = setTimeout(function() {
|
|
604
604
|
return L(u);
|
|
605
|
-
},
|
|
605
|
+
}, Ae);
|
|
606
606
|
}, xe = function() {
|
|
607
607
|
S && ie && (document.getElementsByTagName("body")[0].style.overflow = "hidden");
|
|
608
608
|
}, Ie = function() {
|
|
@@ -611,7 +611,7 @@ var Ze = function(i, c) {
|
|
|
611
611
|
var u, _ = b == null || (u = b.current) === null || u === void 0 ? void 0 : u.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'), g = Array.prototype.slice.call(_)[0];
|
|
612
612
|
g == null || g.focus();
|
|
613
613
|
};
|
|
614
|
-
Ge(
|
|
614
|
+
Ge(a, function() {
|
|
615
615
|
return {
|
|
616
616
|
open: function() {
|
|
617
617
|
U();
|
|
@@ -629,20 +629,20 @@ var Ze = function(i, c) {
|
|
|
629
629
|
var u = C.current.getBoundingClientRect(), _ = b.current.getBoundingClientRect(), g = at(u, _, ke, F, {
|
|
630
630
|
offsetX: Ce,
|
|
631
631
|
offsetY: Le
|
|
632
|
-
},
|
|
633
|
-
if (b.current.style.top = g.top + window.scrollY + "px", b.current.style.left = g.left + window.scrollX + "px", F &&
|
|
634
|
-
var
|
|
635
|
-
|
|
632
|
+
}, Pe);
|
|
633
|
+
if (b.current.style.top = g.top + window.scrollY + "px", b.current.style.left = g.left + window.scrollX + "px", F && M.current) {
|
|
634
|
+
var A, $;
|
|
635
|
+
M.current.style.transform = g.transform, M.current.style.setProperty("-ms-transform", g.transform), M.current.style.setProperty("-webkit-transform", g.transform), M.current.style.top = ((A = X.top) === null || A === void 0 ? void 0 : A.toString()) || g.arrowTop, M.current.style.left = (($ = X.left) === null || $ === void 0 ? void 0 : $.toString()) || g.arrowLeft;
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
|
-
Ze(L, Te), tt(b, D && S), Be(ge, we), et(
|
|
639
|
+
Ze(L, Te), tt(b, D && S), Be(ge, we), et(o ? [b, C] : [b], L, R && !v);
|
|
640
640
|
var $e = function() {
|
|
641
641
|
for (var u = {
|
|
642
642
|
key: "T",
|
|
643
643
|
ref: C,
|
|
644
644
|
"aria-describedby": ve.current
|
|
645
|
-
}, _ = Array.isArray(I) ? I : [I], g = 0,
|
|
645
|
+
}, _ = Array.isArray(I) ? I : [I], g = 0, A = _.length; g < A; g++)
|
|
646
646
|
switch (_[g]) {
|
|
647
647
|
case "click":
|
|
648
648
|
u.onClick = V;
|
|
@@ -657,22 +657,22 @@ var Ze = function(i, c) {
|
|
|
657
657
|
u.onFocus = G, u.onBlur = q;
|
|
658
658
|
break;
|
|
659
659
|
}
|
|
660
|
-
if (typeof
|
|
661
|
-
var $ =
|
|
662
|
-
return !!
|
|
660
|
+
if (typeof o == "function") {
|
|
661
|
+
var $ = o(D);
|
|
662
|
+
return !!o && T.cloneElement($, u);
|
|
663
663
|
}
|
|
664
|
-
return !!
|
|
664
|
+
return !!o && T.cloneElement(o, u);
|
|
665
665
|
}, He = function() {
|
|
666
666
|
var u = S ? H.popupContent.modal : H.popupContent.tooltip, _ = {
|
|
667
|
-
className: "popup-content " + (
|
|
667
|
+
className: "popup-content " + (P !== "" ? P.split(" ").map(function(g) {
|
|
668
668
|
return g + "-content";
|
|
669
669
|
}).join(" ") : ""),
|
|
670
670
|
style: Y({}, u, Re, {
|
|
671
671
|
pointerEvents: "auto"
|
|
672
672
|
}),
|
|
673
673
|
ref: b,
|
|
674
|
-
onClick: function(
|
|
675
|
-
|
|
674
|
+
onClick: function(A) {
|
|
675
|
+
A.stopPropagation();
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
678
|
return !ne && I.indexOf("hover") >= 0 && (_.onMouseEnter = G, _.onMouseLeave = q), _;
|
|
@@ -682,11 +682,11 @@ var Ze = function(i, c) {
|
|
|
682
682
|
role: S ? "dialog" : "tooltip",
|
|
683
683
|
id: ve.current
|
|
684
684
|
}), F && !S && T.createElement("div", {
|
|
685
|
-
ref:
|
|
685
|
+
ref: M,
|
|
686
686
|
style: H.popupArrow
|
|
687
687
|
}, T.createElement("svg", {
|
|
688
688
|
"data-testid": "arrow",
|
|
689
|
-
className: "popup-arrow " + (
|
|
689
|
+
className: "popup-arrow " + (P !== "" ? P.split(" ").map(function(u) {
|
|
690
690
|
return u + "-arrow";
|
|
691
691
|
}).join(" ") : ""),
|
|
692
692
|
viewBox: "0 0 32 16",
|
|
@@ -701,7 +701,7 @@ var Ze = function(i, c) {
|
|
|
701
701
|
key: "O",
|
|
702
702
|
"data-testid": "overlay",
|
|
703
703
|
"data-popup": S ? "modal" : "tooltip",
|
|
704
|
-
className: "popup-overlay " + (
|
|
704
|
+
className: "popup-overlay " + (P !== "" ? P.split(" ").map(function(h) {
|
|
705
705
|
return h + "-overlay";
|
|
706
706
|
}).join(" ") : ""),
|
|
707
707
|
style: Y({}, ze, De, {
|
|
@@ -716,16 +716,19 @@ const ut = "_content_1wx0f_2", be = {
|
|
|
716
716
|
content: ut
|
|
717
717
|
}, yt = ({
|
|
718
718
|
tooltipClassName: s,
|
|
719
|
-
contentClassName:
|
|
719
|
+
contentClassName: a,
|
|
720
720
|
children: c,
|
|
721
|
-
...
|
|
721
|
+
...o
|
|
722
722
|
}) => /* @__PURE__ */ he(
|
|
723
723
|
lt,
|
|
724
724
|
{
|
|
725
725
|
arrow: !0,
|
|
726
|
-
|
|
726
|
+
on: o.on ?? "hover",
|
|
727
|
+
repositionOnResize: o.repositionOnResize ?? !0,
|
|
728
|
+
keepTooltipInside: o.keepTooltipInside ?? !0,
|
|
729
|
+
...o,
|
|
727
730
|
className: Oe(be.tooltip, s),
|
|
728
|
-
children: /* @__PURE__ */ he("div", { className: Oe(be.content,
|
|
731
|
+
children: /* @__PURE__ */ he("div", { className: Oe(be.content, a), children: c })
|
|
729
732
|
}
|
|
730
733
|
);
|
|
731
734
|
export {
|