@pfct/purple 1.7.0-next.3 → 1.7.0-next.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/dist/chunks/index.9fap07Gq.js +60 -0
- package/dist/chunks/index.B-Bfcjo7.js +1 -0
- package/dist/chunks/index.BfjI33ZB.js +41 -0
- package/dist/chunks/{index.Dud5PpT2.js → index.BmifSqQX.js} +26 -26
- package/dist/chunks/{index.BRcoZnsL.js → index.BngGCpBd.js} +1 -1
- package/dist/chunks/{index.B04X8ryw.js → index.BtGja8CI.js} +1 -1
- package/dist/chunks/{index.BKkcGVEJ.js → index.C1WOc90r.js} +81 -81
- package/dist/chunks/index.C3oZfEx6.js +283 -0
- package/dist/chunks/{index.CtswiKeA.js → index.CDVf4iB0.js} +1 -1
- package/dist/chunks/{index.DrALxeqy.js → index.CIUK7hO2.js} +23 -23
- package/dist/chunks/{index.DIsmU7qE.js → index.CVogEmtp.js} +1 -1
- package/dist/chunks/index.CqHp_goI.js +1 -0
- package/dist/chunks/{index.B3rAhBCw.js → index.CskkVMdK.js} +1 -1
- package/dist/chunks/{index.93u2Cu_l.js → index.DIaW0faE.js} +1 -1
- package/dist/chunks/{index.-8MfVPUU.js → index.DVHp5IZe.js} +47 -47
- package/dist/chunks/index.QJBZMz2E.js +5 -0
- package/dist/chunks/index.eYfYnSCV.js +1 -0
- package/dist/chunks/index.ps14_l3u.js +1 -0
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.es.js +176 -176
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +10 -10
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
- package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
- package/dist/components/Badge/IconBadge/index.es.js +6 -6
- package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
- package/dist/components/Badge/TextBadge/index.es.js +7 -7
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +32 -32
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +8 -8
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +15 -15
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +4 -4
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +6 -6
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +16 -16
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +13 -13
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +8 -8
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +3 -3
- package/dist/components/Button/TestButton/index.cjs.js +1 -1
- package/dist/components/Button/TestButton/index.es.js +2 -2
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.es.js +7 -7
- package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.es.js +8 -8
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +31 -34
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +14 -14
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
- package/dist/components/Comment/Group/index.cjs.js +1 -1
- package/dist/components/Comment/Group/index.es.js +3 -3
- package/dist/components/Comment/Item/index.cjs.js +1 -1
- package/dist/components/Comment/Item/index.es.js +6 -6
- package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
- package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +7 -7
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +11 -11
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.es.js +71 -71
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +18 -18
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +13 -13
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +31 -31
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +27 -27
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +14 -14
- package/dist/components/Divider/index.cjs.js +1 -1
- package/dist/components/Divider/index.es.js +17 -17
- package/dist/components/Input/BaseInput/index.cjs.js +1 -1
- package/dist/components/Input/BaseInput/index.es.js +44 -44
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +23 -23
- package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.es.js +61 -61
- package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
- package/dist/components/Input/ResidentNumberInput/index.es.js +65 -65
- package/dist/components/Input/TextField/index.cjs.js +1 -1
- package/dist/components/Input/TextField/index.es.js +32 -32
- package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
- package/dist/components/Input/common/InputFrame/index.es.js +17 -17
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.es.js +8 -8
- package/dist/components/LegacyModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/index.es.js +19 -19
- package/dist/components/List/index.cjs.js +1 -1
- package/dist/components/List/index.es.js +11 -11
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +3 -3
- package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
- package/dist/components/Loading/Skeleton/index.es.js +5 -5
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +3 -3
- package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
- package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.es.js +27 -30
- package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +40 -43
- package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
- package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +42 -42
- package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
- package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
- package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/BottomNavigationBar/index.es.js +10 -10
- package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.es.js +21 -21
- package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/TitleNavigationBar/index.es.js +12 -12
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +21 -21
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +6 -6
- package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
- package/dist/components/Segment/BaseSegment/index.es.js +16 -16
- package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
- package/dist/components/Segment/ExtendSegment/index.es.js +18 -18
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +42 -42
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +11 -11
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +18 -18
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +7 -8
- package/dist/components/Terms/index.cjs.js +1 -1
- package/dist/components/Terms/index.es.js +26 -26
- package/dist/components/TextArea/index.cjs.js +1 -1
- package/dist/components/TextArea/index.es.js +17 -17
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +12 -12
- package/dist/components/Toast/index.cjs.js +1 -1
- package/dist/components/Toast/index.es.js +4 -4
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/ui/bottomSheet.cjs.js +1 -1
- package/dist/components/ui/bottomSheet.es.js +92 -92
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.es.js +13 -14
- package/dist/components/ui/checkbox.cjs.js +1 -1
- package/dist/components/ui/checkbox.es.js +88 -88
- package/dist/components/ui/dialog.cjs.js +1 -1
- package/dist/components/ui/dialog.es.js +48 -48
- package/dist/components/ui/drawer.cjs.js +2 -2
- package/dist/components/ui/drawer.es.js +159 -159
- package/dist/components/ui/impact-tooltip.cjs.js +1 -1
- package/dist/components/ui/impact-tooltip.es.js +133 -133
- package/dist/components/ui/share-ui.cjs.js +1 -1
- package/dist/components/ui/share-ui.es.js +34 -34
- package/dist/components/ui/tooltip.cjs.js +1 -1
- package/dist/components/ui/tooltip.es.js +138 -138
- package/dist/components/ui/typography.cjs.js +1 -1
- package/dist/components/ui/typography.es.js +3 -3
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +4 -4
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +4 -4
- package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
- package/dist/core/Typography/BaseTypography/index.es.js +3 -3
- package/dist/core/Typography/index.cjs.js +1 -1
- package/dist/core/Typography/index.es.js +19 -19
- package/dist/icons/src/icons/index.cjs.js +1 -1
- package/dist/icons/src/icons/index.d.ts +1 -1
- package/dist/icons/src/icons/index.d.ts.map +1 -1
- package/dist/icons/src/icons/index.es.js +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/library/BasicForm/index.cjs.js +1 -1
- package/dist/library/BasicForm/index.es.js +10 -10
- package/dist/library/BasicLayout/Body.cjs.js +1 -1
- package/dist/library/BasicLayout/Body.es.js +7 -7
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.es.js +71 -71
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.es.js +35 -35
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.es.js +1 -1
- package/dist/library/IconWithImage/index.cjs.js +1 -1
- package/dist/library/IconWithImage/index.es.js +4 -4
- package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
- package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
- package/dist/library/Lottie/index.cjs.js +1 -1
- package/dist/library/Lottie/index.es.js +47 -47
- package/dist/library/Spacing/index.cjs.js +1 -1
- package/dist/library/Spacing/index.es.js +3 -3
- package/package.json +1 -1
- package/dist/chunks/index.9yN3bH7k.js +0 -283
- package/dist/chunks/index.BTUe9yKh.js +0 -1
- package/dist/chunks/index.Beaq4T1c.js +0 -1
- package/dist/chunks/index.BspO8Abs.js +0 -41
- package/dist/chunks/index.CtIpJqp4.js +0 -5
- package/dist/chunks/index.DcvrUsoU.js +0 -1
- package/dist/chunks/index._MxrBNop.js +0 -60
- package/dist/chunks/index.mCMIO9lL.js +0 -1
- package/dist/chunks/jsx-runtime.B0Vkbtvx.js +0 -14
- package/dist/chunks/jsx-runtime.C63F304d.js +0 -615
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as R from "react";
|
|
2
2
|
import { useLayoutEffect as Ae } from "react";
|
|
3
3
|
import * as Re from "react-dom";
|
|
4
|
-
import { P as At, b as Ce, u as $t } from "./index.
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as Pe } from "./index
|
|
8
|
-
import { u as Oe } from "./index.
|
|
9
|
-
const Se = ["top", "right", "bottom", "left"], Z = Math.min, W = Math.max, at = Math.round, ct = Math.floor,
|
|
4
|
+
import { P as At, b as Ce, u as $t } from "./index.BmifSqQX.js";
|
|
5
|
+
import { jsx as j } from "react/jsx-runtime";
|
|
6
|
+
import { u as Yt } from "./index.DLcqcWxM.js";
|
|
7
|
+
import { u as Pe } from "./index.DVHp5IZe.js";
|
|
8
|
+
import { u as Oe } from "./index.DIaW0faE.js";
|
|
9
|
+
const Se = ["top", "right", "bottom", "left"], Z = Math.min, W = Math.max, at = Math.round, ct = Math.floor, I = (t) => ({
|
|
10
10
|
x: t,
|
|
11
11
|
y: t
|
|
12
12
|
}), Ee = {
|
|
@@ -37,11 +37,11 @@ function Ct(t) {
|
|
|
37
37
|
return t === "y" ? "height" : "width";
|
|
38
38
|
}
|
|
39
39
|
const De = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
40
|
-
function
|
|
40
|
+
function z(t) {
|
|
41
41
|
return De.has(U(t)) ? "y" : "x";
|
|
42
42
|
}
|
|
43
43
|
function Pt(t) {
|
|
44
|
-
return Rt(
|
|
44
|
+
return Rt(z(t));
|
|
45
45
|
}
|
|
46
46
|
function Me(t, e, n) {
|
|
47
47
|
n === void 0 && (n = !1);
|
|
@@ -86,7 +86,7 @@ function We(t) {
|
|
|
86
86
|
...t
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function jt(t) {
|
|
90
90
|
return typeof t != "number" ? We(t) : {
|
|
91
91
|
top: t,
|
|
92
92
|
right: t,
|
|
@@ -117,7 +117,7 @@ function Nt(t, e, n) {
|
|
|
117
117
|
reference: o,
|
|
118
118
|
floating: r
|
|
119
119
|
} = t;
|
|
120
|
-
const i =
|
|
120
|
+
const i = z(e), s = Pt(e), c = Ct(s), l = U(e), a = i === "y", f = o.x + o.width / 2 - r.width / 2, u = o.y + o.height / 2 - r.height / 2, p = o[c] / 2 - r[c] / 2;
|
|
121
121
|
let d;
|
|
122
122
|
switch (l) {
|
|
123
123
|
case "top":
|
|
@@ -237,7 +237,7 @@ async function ot(t, e) {
|
|
|
237
237
|
elementContext: u = "floating",
|
|
238
238
|
altBoundary: p = !1,
|
|
239
239
|
padding: d = 0
|
|
240
|
-
} = q(e, t), m =
|
|
240
|
+
} = q(e, t), m = jt(d), w = c[p ? u === "floating" ? "reference" : "floating" : u], g = ut(await i.getClippingRect({
|
|
241
241
|
element: (n = await (i.isElement == null ? void 0 : i.isElement(w))) == null || n ? w : w.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(c.floating)),
|
|
242
242
|
boundary: a,
|
|
243
243
|
rootBoundary: f,
|
|
@@ -284,7 +284,7 @@ const _e = (t) => ({
|
|
|
284
284
|
} = q(t, e) || {};
|
|
285
285
|
if (a == null)
|
|
286
286
|
return {};
|
|
287
|
-
const u =
|
|
287
|
+
const u = jt(f), p = {
|
|
288
288
|
x: n,
|
|
289
289
|
y: o
|
|
290
290
|
}, d = Pt(r), m = Ct(d), h = await s.getDimensions(a), w = d === "y", g = w ? "top" : "left", x = w ? "bottom" : "right", b = w ? "clientHeight" : "clientWidth", y = i.reference[m] + i.reference[d] - p[d] - i.floating[m], v = p[d] - i.reference[d], P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a));
|
|
@@ -327,7 +327,7 @@ const _e = (t) => ({
|
|
|
327
327
|
} = q(t, e);
|
|
328
328
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
329
329
|
return {};
|
|
330
|
-
const g = U(r), x =
|
|
330
|
+
const g = U(r), x = z(c), b = U(c) === c, y = await (l.isRTL == null ? void 0 : l.isRTL(a.floating)), v = p || (b || !h ? [ft(c)] : Te(c)), P = m !== "none";
|
|
331
331
|
!p && P && v.push(...Ne(c, h, m, y));
|
|
332
332
|
const C = [c, ...v], M = await ot(e, w), F = [];
|
|
333
333
|
let D = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
@@ -341,9 +341,9 @@ const _e = (t) => ({
|
|
|
341
341
|
}], !F.every((O) => O <= 0)) {
|
|
342
342
|
var $, k;
|
|
343
343
|
const O = ((($ = i.flip) == null ? void 0 : $.index) || 0) + 1, N = C[O];
|
|
344
|
-
if (N && (!(u === "alignment" ? x !==
|
|
344
|
+
if (N && (!(u === "alignment" ? x !== z(N) : !1) || // We leave the current main axis only if every placement on that axis
|
|
345
345
|
// overflows the main axis.
|
|
346
|
-
D.every((A) =>
|
|
346
|
+
D.every((A) => z(A.placement) === x ? A.overflows[0] > 0 : !0)))
|
|
347
347
|
return {
|
|
348
348
|
data: {
|
|
349
349
|
index: O,
|
|
@@ -360,7 +360,7 @@ const _e = (t) => ({
|
|
|
360
360
|
var S;
|
|
361
361
|
const L = (S = D.filter((A) => {
|
|
362
362
|
if (P) {
|
|
363
|
-
const T =
|
|
363
|
+
const T = z(A.placement);
|
|
364
364
|
return T === x || // Create a bias to the `y` side axis due to horizontal
|
|
365
365
|
// reading directions favoring greater width.
|
|
366
366
|
T === "y";
|
|
@@ -438,12 +438,12 @@ const Ve = function(t) {
|
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
}, qt = /* @__PURE__ */ new Set(["left", "top"]);
|
|
441
|
-
async function
|
|
441
|
+
async function ze(t, e) {
|
|
442
442
|
const {
|
|
443
443
|
placement: n,
|
|
444
444
|
platform: o,
|
|
445
445
|
elements: r
|
|
446
|
-
} = t, i = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), s = U(n), c = tt(n), l =
|
|
446
|
+
} = t, i = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), s = U(n), c = tt(n), l = z(n) === "y", a = qt.has(s) ? -1 : 1, f = i && l ? -1 : 1, u = q(e, t);
|
|
447
447
|
let {
|
|
448
448
|
mainAxis: p,
|
|
449
449
|
crossAxis: d,
|
|
@@ -465,7 +465,7 @@ async function je(t, e) {
|
|
|
465
465
|
y: d * f
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
|
-
const
|
|
468
|
+
const Ie = function(t) {
|
|
469
469
|
return t === void 0 && (t = 0), {
|
|
470
470
|
name: "offset",
|
|
471
471
|
options: t,
|
|
@@ -476,7 +476,7 @@ const ze = function(t) {
|
|
|
476
476
|
y: i,
|
|
477
477
|
placement: s,
|
|
478
478
|
middlewareData: c
|
|
479
|
-
} = e, l = await
|
|
479
|
+
} = e, l = await ze(e, t);
|
|
480
480
|
return s === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
|
|
481
481
|
x: r + l.x,
|
|
482
482
|
y: i + l.y,
|
|
@@ -487,7 +487,7 @@ const ze = function(t) {
|
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
|
-
},
|
|
490
|
+
}, Xe = function(t) {
|
|
491
491
|
return t === void 0 && (t = {}), {
|
|
492
492
|
name: "shift",
|
|
493
493
|
options: t,
|
|
@@ -515,7 +515,7 @@ const ze = function(t) {
|
|
|
515
515
|
} = q(t, e), a = {
|
|
516
516
|
x: n,
|
|
517
517
|
y: o
|
|
518
|
-
}, f = await ot(e, l), u =
|
|
518
|
+
}, f = await ot(e, l), u = z(U(r)), p = Rt(u);
|
|
519
519
|
let d = a[p], m = a[u];
|
|
520
520
|
if (i) {
|
|
521
521
|
const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", x = d + f[w], b = d - f[g];
|
|
@@ -543,7 +543,7 @@ const ze = function(t) {
|
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
|
-
},
|
|
546
|
+
}, Ye = function(t) {
|
|
547
547
|
return t === void 0 && (t = {}), {
|
|
548
548
|
options: t,
|
|
549
549
|
fn(e) {
|
|
@@ -560,7 +560,7 @@ const ze = function(t) {
|
|
|
560
560
|
} = q(t, e), f = {
|
|
561
561
|
x: n,
|
|
562
562
|
y: o
|
|
563
|
-
}, u =
|
|
563
|
+
}, u = z(r), p = Rt(u);
|
|
564
564
|
let d = f[p], m = f[u];
|
|
565
565
|
const h = q(c, e), w = typeof h == "number" ? {
|
|
566
566
|
mainAxis: h,
|
|
@@ -585,7 +585,7 @@ const ze = function(t) {
|
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
|
-
},
|
|
588
|
+
}, je = function(t) {
|
|
589
589
|
return t === void 0 && (t = {}), {
|
|
590
590
|
name: "size",
|
|
591
591
|
options: t,
|
|
@@ -600,7 +600,7 @@ const ze = function(t) {
|
|
|
600
600
|
apply: l = () => {
|
|
601
601
|
},
|
|
602
602
|
...a
|
|
603
|
-
} = q(t, e), f = await ot(e, a), u = U(r), p = tt(r), d =
|
|
603
|
+
} = q(t, e), f = await ot(e, a), u = U(r), p = tt(r), d = z(r) === "y", {
|
|
604
604
|
width: m,
|
|
605
605
|
height: h
|
|
606
606
|
} = i.floating;
|
|
@@ -636,7 +636,7 @@ function H(t) {
|
|
|
636
636
|
var e;
|
|
637
637
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Y(t) {
|
|
640
640
|
var e;
|
|
641
641
|
return (e = (Ut(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
642
642
|
}
|
|
@@ -646,7 +646,7 @@ function Ut(t) {
|
|
|
646
646
|
function _(t) {
|
|
647
647
|
return mt() ? t instanceof Element || t instanceof H(t).Element : !1;
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function X(t) {
|
|
650
650
|
return mt() ? t instanceof HTMLElement || t instanceof H(t).HTMLElement : !1;
|
|
651
651
|
}
|
|
652
652
|
function _t(t) {
|
|
@@ -683,7 +683,7 @@ function Ot(t) {
|
|
|
683
683
|
}
|
|
684
684
|
function tn(t) {
|
|
685
685
|
let e = K(t);
|
|
686
|
-
for (;
|
|
686
|
+
for (; X(e) && !Q(e); ) {
|
|
687
687
|
if (Ot(e))
|
|
688
688
|
return e;
|
|
689
689
|
if (pt(e))
|
|
@@ -719,13 +719,13 @@ function K(t) {
|
|
|
719
719
|
t.assignedSlot || // DOM Element detected.
|
|
720
720
|
t.parentNode || // ShadowRoot detected.
|
|
721
721
|
_t(t) && t.host || // Fallback.
|
|
722
|
-
|
|
722
|
+
Y(t)
|
|
723
723
|
);
|
|
724
724
|
return _t(e) ? e.host : e;
|
|
725
725
|
}
|
|
726
726
|
function Zt(t) {
|
|
727
727
|
const e = K(t);
|
|
728
|
-
return Q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
728
|
+
return Q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : X(e) && it(e) ? e : Zt(e);
|
|
729
729
|
}
|
|
730
730
|
function rt(t, e, n) {
|
|
731
731
|
var o;
|
|
@@ -743,7 +743,7 @@ function bt(t) {
|
|
|
743
743
|
function Kt(t) {
|
|
744
744
|
const e = B(t);
|
|
745
745
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
746
|
-
const r =
|
|
746
|
+
const r = X(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, c = at(n) !== i || at(o) !== s;
|
|
747
747
|
return c && (n = i, o = s), {
|
|
748
748
|
width: n,
|
|
749
749
|
height: o,
|
|
@@ -755,8 +755,8 @@ function Et(t) {
|
|
|
755
755
|
}
|
|
756
756
|
function J(t) {
|
|
757
757
|
const e = Et(t);
|
|
758
|
-
if (!
|
|
759
|
-
return
|
|
758
|
+
if (!X(e))
|
|
759
|
+
return I(1);
|
|
760
760
|
const n = e.getBoundingClientRect(), {
|
|
761
761
|
width: o,
|
|
762
762
|
height: r,
|
|
@@ -768,7 +768,7 @@ function J(t) {
|
|
|
768
768
|
y: c
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
const nn = /* @__PURE__ */
|
|
771
|
+
const nn = /* @__PURE__ */ I(0);
|
|
772
772
|
function Gt(t) {
|
|
773
773
|
const e = H(t);
|
|
774
774
|
return !St() || !e.visualViewport ? nn : {
|
|
@@ -782,9 +782,9 @@ function on(t, e, n) {
|
|
|
782
782
|
function G(t, e, n, o) {
|
|
783
783
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
784
784
|
const r = t.getBoundingClientRect(), i = Et(t);
|
|
785
|
-
let s =
|
|
785
|
+
let s = I(1);
|
|
786
786
|
e && (o ? _(o) && (s = J(o)) : s = J(t));
|
|
787
|
-
const c = on(i, n, o) ? Gt(i) :
|
|
787
|
+
const c = on(i, n, o) ? Gt(i) : I(0);
|
|
788
788
|
let l = (r.left + c.x) / s.x, a = (r.top + c.y) / s.y, f = r.width / s.x, u = r.height / s.y;
|
|
789
789
|
if (i) {
|
|
790
790
|
const p = H(i), d = o && _(o) ? H(o) : o;
|
|
@@ -803,7 +803,7 @@ function G(t, e, n, o) {
|
|
|
803
803
|
}
|
|
804
804
|
function gt(t, e) {
|
|
805
805
|
const n = ht(t).scrollLeft;
|
|
806
|
-
return e ? e.left + n : G(
|
|
806
|
+
return e ? e.left + n : G(Y(t)).left + n;
|
|
807
807
|
}
|
|
808
808
|
function Jt(t, e) {
|
|
809
809
|
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - gt(t, n), r = n.top + e.scrollTop;
|
|
@@ -819,19 +819,19 @@ function rn(t) {
|
|
|
819
819
|
offsetParent: o,
|
|
820
820
|
strategy: r
|
|
821
821
|
} = t;
|
|
822
|
-
const i = r === "fixed", s =
|
|
822
|
+
const i = r === "fixed", s = Y(o), c = e ? pt(e.floating) : !1;
|
|
823
823
|
if (o === s || c && i)
|
|
824
824
|
return n;
|
|
825
825
|
let l = {
|
|
826
826
|
scrollLeft: 0,
|
|
827
827
|
scrollTop: 0
|
|
828
|
-
}, a =
|
|
829
|
-
const f =
|
|
830
|
-
if ((u || !u && !i) && ((et(o) !== "body" || it(s)) && (l = ht(o)),
|
|
828
|
+
}, a = I(1);
|
|
829
|
+
const f = I(0), u = X(o);
|
|
830
|
+
if ((u || !u && !i) && ((et(o) !== "body" || it(s)) && (l = ht(o)), X(o))) {
|
|
831
831
|
const d = G(o);
|
|
832
832
|
a = J(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
|
|
833
833
|
}
|
|
834
|
-
const p = s && !u && !i ? Jt(s, l) :
|
|
834
|
+
const p = s && !u && !i ? Jt(s, l) : I(0);
|
|
835
835
|
return {
|
|
836
836
|
width: n.width * a.x,
|
|
837
837
|
height: n.height * a.y,
|
|
@@ -843,7 +843,7 @@ function sn(t) {
|
|
|
843
843
|
return Array.from(t.getClientRects());
|
|
844
844
|
}
|
|
845
845
|
function cn(t) {
|
|
846
|
-
const e =
|
|
846
|
+
const e = Y(t), n = ht(t), o = t.ownerDocument.body, r = W(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = W(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
847
847
|
let s = -n.scrollLeft + gt(t);
|
|
848
848
|
const c = -n.scrollTop;
|
|
849
849
|
return B(o).direction === "rtl" && (s += W(e.clientWidth, o.clientWidth) - r), {
|
|
@@ -855,7 +855,7 @@ function cn(t) {
|
|
|
855
855
|
}
|
|
856
856
|
const Bt = 25;
|
|
857
857
|
function ln(t, e) {
|
|
858
|
-
const n = H(t), o =
|
|
858
|
+
const n = H(t), o = Y(t), r = n.visualViewport;
|
|
859
859
|
let i = o.clientWidth, s = o.clientHeight, c = 0, l = 0;
|
|
860
860
|
if (r) {
|
|
861
861
|
i = r.width, s = r.height;
|
|
@@ -876,7 +876,7 @@ function ln(t, e) {
|
|
|
876
876
|
}
|
|
877
877
|
const an = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
878
878
|
function fn(t, e) {
|
|
879
|
-
const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i =
|
|
879
|
+
const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i = X(t) ? J(t) : I(1), s = t.clientWidth * i.x, c = t.clientHeight * i.y, l = r * i.x, a = o * i.y;
|
|
880
880
|
return {
|
|
881
881
|
width: s,
|
|
882
882
|
height: c,
|
|
@@ -889,7 +889,7 @@ function Vt(t, e, n) {
|
|
|
889
889
|
if (e === "viewport")
|
|
890
890
|
o = ln(t, n);
|
|
891
891
|
else if (e === "document")
|
|
892
|
-
o = cn(
|
|
892
|
+
o = cn(Y(t));
|
|
893
893
|
else if (_(e))
|
|
894
894
|
o = fn(e, n);
|
|
895
895
|
else {
|
|
@@ -949,12 +949,12 @@ function mn(t) {
|
|
|
949
949
|
};
|
|
950
950
|
}
|
|
951
951
|
function pn(t, e, n) {
|
|
952
|
-
const o =
|
|
952
|
+
const o = X(e), r = Y(e), i = n === "fixed", s = G(t, !0, i, e);
|
|
953
953
|
let c = {
|
|
954
954
|
scrollLeft: 0,
|
|
955
955
|
scrollTop: 0
|
|
956
956
|
};
|
|
957
|
-
const l =
|
|
957
|
+
const l = I(0);
|
|
958
958
|
function a() {
|
|
959
959
|
l.x = gt(r);
|
|
960
960
|
}
|
|
@@ -964,7 +964,7 @@ function pn(t, e, n) {
|
|
|
964
964
|
l.x = d.x + e.clientLeft, l.y = d.y + e.clientTop;
|
|
965
965
|
} else r && a();
|
|
966
966
|
i && !o && r && a();
|
|
967
|
-
const f = r && !o && !i ? Jt(r, c) :
|
|
967
|
+
const f = r && !o && !i ? Jt(r, c) : I(0), u = s.left + c.scrollLeft - l.x - f.x, p = s.top + c.scrollTop - l.y - f.y;
|
|
968
968
|
return {
|
|
969
969
|
x: u,
|
|
970
970
|
y: p,
|
|
@@ -975,19 +975,19 @@ function pn(t, e, n) {
|
|
|
975
975
|
function wt(t) {
|
|
976
976
|
return B(t).position === "static";
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
if (!
|
|
978
|
+
function zt(t, e) {
|
|
979
|
+
if (!X(t) || B(t).position === "fixed")
|
|
980
980
|
return null;
|
|
981
981
|
if (e)
|
|
982
982
|
return e(t);
|
|
983
983
|
let n = t.offsetParent;
|
|
984
|
-
return
|
|
984
|
+
return Y(t) === n && (n = n.ownerDocument.body), n;
|
|
985
985
|
}
|
|
986
986
|
function te(t, e) {
|
|
987
987
|
const n = H(t);
|
|
988
988
|
if (pt(t))
|
|
989
989
|
return n;
|
|
990
|
-
if (!
|
|
990
|
+
if (!X(t)) {
|
|
991
991
|
let r = K(t);
|
|
992
992
|
for (; r && !Q(r); ) {
|
|
993
993
|
if (_(r) && !wt(r))
|
|
@@ -996,9 +996,9 @@ function te(t, e) {
|
|
|
996
996
|
}
|
|
997
997
|
return n;
|
|
998
998
|
}
|
|
999
|
-
let o =
|
|
999
|
+
let o = zt(t, e);
|
|
1000
1000
|
for (; o && Ze(o) && wt(o); )
|
|
1001
|
-
o =
|
|
1001
|
+
o = zt(o, e);
|
|
1002
1002
|
return o && Q(o) && wt(o) && !Ot(o) ? n : o || tn(t) || n;
|
|
1003
1003
|
}
|
|
1004
1004
|
const hn = async function(t) {
|
|
@@ -1018,7 +1018,7 @@ function gn(t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
const wn = {
|
|
1020
1020
|
convertOffsetParentRelativeRectToViewportRelativeRect: rn,
|
|
1021
|
-
getDocumentElement:
|
|
1021
|
+
getDocumentElement: Y,
|
|
1022
1022
|
getClippingRect: dn,
|
|
1023
1023
|
getOffsetParent: te,
|
|
1024
1024
|
getElementRects: hn,
|
|
@@ -1033,7 +1033,7 @@ function ee(t, e) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
function xn(t, e) {
|
|
1035
1035
|
let n = null, o;
|
|
1036
|
-
const r =
|
|
1036
|
+
const r = Y(t);
|
|
1037
1037
|
function i() {
|
|
1038
1038
|
var c;
|
|
1039
1039
|
clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
|
|
@@ -1113,7 +1113,7 @@ function yn(t, e, n, o) {
|
|
|
1113
1113
|
}), u?.(), (g = d) == null || g.disconnect(), d = null, l && cancelAnimationFrame(m);
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
const vn =
|
|
1116
|
+
const vn = Ie, bn = Xe, An = Be, Rn = je, Cn = Ve, It = _e, Pn = Ye, On = (t, e, n) => {
|
|
1117
1117
|
const o = /* @__PURE__ */ new Map(), r = {
|
|
1118
1118
|
platform: wn,
|
|
1119
1119
|
...n
|
|
@@ -1161,7 +1161,7 @@ function dt(t, e) {
|
|
|
1161
1161
|
function ne(t) {
|
|
1162
1162
|
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function Xt(t, e) {
|
|
1165
1165
|
const n = ne(t);
|
|
1166
1166
|
return Math.round(e * n) / n;
|
|
1167
1167
|
}
|
|
@@ -1252,7 +1252,7 @@ function Ln(t) {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
if (!E.floating)
|
|
1254
1254
|
return A;
|
|
1255
|
-
const T =
|
|
1255
|
+
const T = Xt(E.floating, f.x), V = Xt(E.floating, f.y);
|
|
1256
1256
|
return c ? {
|
|
1257
1257
|
...A,
|
|
1258
1258
|
transform: "translate(" + T + "px, " + V + "px)",
|
|
@@ -1285,10 +1285,10 @@ const Dn = (t) => {
|
|
|
1285
1285
|
element: o,
|
|
1286
1286
|
padding: r
|
|
1287
1287
|
} = typeof t == "function" ? t(n) : t;
|
|
1288
|
-
return o && e(o) ? o.current != null ?
|
|
1288
|
+
return o && e(o) ? o.current != null ? It({
|
|
1289
1289
|
element: o.current,
|
|
1290
1290
|
padding: r
|
|
1291
|
-
}).fn(n) : {} : o ?
|
|
1291
|
+
}).fn(n) : {} : o ? It({
|
|
1292
1292
|
element: o,
|
|
1293
1293
|
padding: r
|
|
1294
1294
|
}).fn(n) : {};
|
|
@@ -1318,7 +1318,7 @@ const Dn = (t) => {
|
|
|
1318
1318
|
});
|
|
1319
1319
|
var Hn = "Arrow", oe = R.forwardRef((t, e) => {
|
|
1320
1320
|
const { children: n, width: o = 10, height: r = 5, ...i } = t;
|
|
1321
|
-
return /* @__PURE__ */
|
|
1321
|
+
return /* @__PURE__ */ j(
|
|
1322
1322
|
At.svg,
|
|
1323
1323
|
{
|
|
1324
1324
|
...i,
|
|
@@ -1327,27 +1327,27 @@ var Hn = "Arrow", oe = R.forwardRef((t, e) => {
|
|
|
1327
1327
|
height: r,
|
|
1328
1328
|
viewBox: "0 0 30 10",
|
|
1329
1329
|
preserveAspectRatio: "none",
|
|
1330
|
-
children: t.asChild ? n : /* @__PURE__ */
|
|
1330
|
+
children: t.asChild ? n : /* @__PURE__ */ j("polygon", { points: "0,0 30,0 15,10" })
|
|
1331
1331
|
}
|
|
1332
1332
|
);
|
|
1333
1333
|
});
|
|
1334
1334
|
oe.displayName = Hn;
|
|
1335
1335
|
var _n = oe, Lt = "Popper", [re, Jn] = Ce(Lt), [Bn, ie] = re(Lt), se = (t) => {
|
|
1336
1336
|
const { __scopePopper: e, children: n } = t, [o, r] = R.useState(null);
|
|
1337
|
-
return /* @__PURE__ */
|
|
1337
|
+
return /* @__PURE__ */ j(Bn, { scope: e, anchor: o, onAnchorChange: r, children: n });
|
|
1338
1338
|
};
|
|
1339
1339
|
se.displayName = Lt;
|
|
1340
1340
|
var ce = "PopperAnchor", le = R.forwardRef(
|
|
1341
1341
|
(t, e) => {
|
|
1342
|
-
const { __scopePopper: n, virtualRef: o, ...r } = t, i = ie(ce, n), s = R.useRef(null), c =
|
|
1342
|
+
const { __scopePopper: n, virtualRef: o, ...r } = t, i = ie(ce, n), s = R.useRef(null), c = Yt(e, s), l = R.useRef(null);
|
|
1343
1343
|
return R.useEffect(() => {
|
|
1344
1344
|
const a = l.current;
|
|
1345
1345
|
l.current = o?.current || s.current, a !== l.current && i.onAnchorChange(l.current);
|
|
1346
|
-
}), o ? null : /* @__PURE__ */
|
|
1346
|
+
}), o ? null : /* @__PURE__ */ j(At.div, { ...r, ref: c });
|
|
1347
1347
|
}
|
|
1348
1348
|
);
|
|
1349
1349
|
le.displayName = ce;
|
|
1350
|
-
var Dt = "PopperContent", [Vn,
|
|
1350
|
+
var Dt = "PopperContent", [Vn, zn] = re(Dt), ae = R.forwardRef(
|
|
1351
1351
|
(t, e) => {
|
|
1352
1352
|
const {
|
|
1353
1353
|
__scopePopper: n,
|
|
@@ -1364,9 +1364,9 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1364
1364
|
updatePositionStrategy: d = "optimized",
|
|
1365
1365
|
onPlaced: m,
|
|
1366
1366
|
...h
|
|
1367
|
-
} = t, w = ie(Dt, n), [g, x] = R.useState(null), b =
|
|
1367
|
+
} = t, w = ie(Dt, n), [g, x] = R.useState(null), b = Yt(e, (nt) => x(nt)), [y, v] = R.useState(null), P = Oe(y), C = P?.width ?? 0, M = P?.height ?? 0, F = o + (i !== "center" ? "-" + i : ""), D = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, $ = Array.isArray(a) ? a : [a], k = $.length > 0, S = {
|
|
1368
1368
|
padding: D,
|
|
1369
|
-
boundary: $.filter(
|
|
1369
|
+
boundary: $.filter(Xn),
|
|
1370
1370
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
1371
1371
|
altBoundary: k
|
|
1372
1372
|
}, { refs: O, floatingStyles: N, placement: E, isPositioned: L, middlewareData: A } = Ln({
|
|
@@ -1396,7 +1396,7 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1396
1396
|
}
|
|
1397
1397
|
}),
|
|
1398
1398
|
y && Wn({ element: y, padding: c }),
|
|
1399
|
-
|
|
1399
|
+
Yn({ arrowWidth: C, arrowHeight: M }),
|
|
1400
1400
|
p && Nn({ strategy: "referenceHidden", ...S })
|
|
1401
1401
|
]
|
|
1402
1402
|
}), [T, V] = de(E), Mt = Pe(m);
|
|
@@ -1406,7 +1406,7 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1406
1406
|
const me = A.arrow?.x, pe = A.arrow?.y, he = A.arrow?.centerOffset !== 0, [ge, we] = R.useState();
|
|
1407
1407
|
return $t(() => {
|
|
1408
1408
|
g && we(window.getComputedStyle(g).zIndex);
|
|
1409
|
-
}, [g]), /* @__PURE__ */
|
|
1409
|
+
}, [g]), /* @__PURE__ */ j(
|
|
1410
1410
|
"div",
|
|
1411
1411
|
{
|
|
1412
1412
|
ref: O.setFloating,
|
|
@@ -1430,7 +1430,7 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1430
1430
|
}
|
|
1431
1431
|
},
|
|
1432
1432
|
dir: t.dir,
|
|
1433
|
-
children: /* @__PURE__ */
|
|
1433
|
+
children: /* @__PURE__ */ j(
|
|
1434
1434
|
Vn,
|
|
1435
1435
|
{
|
|
1436
1436
|
scope: n,
|
|
@@ -1439,7 +1439,7 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1439
1439
|
arrowX: me,
|
|
1440
1440
|
arrowY: pe,
|
|
1441
1441
|
shouldHideArrow: he,
|
|
1442
|
-
children: /* @__PURE__ */
|
|
1442
|
+
children: /* @__PURE__ */ j(
|
|
1443
1443
|
At.div,
|
|
1444
1444
|
{
|
|
1445
1445
|
"data-side": T,
|
|
@@ -1461,18 +1461,18 @@ var Dt = "PopperContent", [Vn, jn] = re(Dt), ae = R.forwardRef(
|
|
|
1461
1461
|
}
|
|
1462
1462
|
);
|
|
1463
1463
|
ae.displayName = Dt;
|
|
1464
|
-
var fe = "PopperArrow",
|
|
1464
|
+
var fe = "PopperArrow", In = {
|
|
1465
1465
|
top: "bottom",
|
|
1466
1466
|
right: "left",
|
|
1467
1467
|
bottom: "top",
|
|
1468
1468
|
left: "right"
|
|
1469
1469
|
}, ue = R.forwardRef(function(e, n) {
|
|
1470
|
-
const { __scopePopper: o, ...r } = e, i =
|
|
1470
|
+
const { __scopePopper: o, ...r } = e, i = zn(fe, o), s = In[i.placedSide];
|
|
1471
1471
|
return (
|
|
1472
1472
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
1473
1473
|
// doesn't report size as we'd expect on SVG elements.
|
|
1474
1474
|
// it reports their bounding box which is effectively the largest path inside the SVG.
|
|
1475
|
-
/* @__PURE__ */
|
|
1475
|
+
/* @__PURE__ */ j(
|
|
1476
1476
|
"span",
|
|
1477
1477
|
{
|
|
1478
1478
|
ref: i.onArrowChange,
|
|
@@ -1495,7 +1495,7 @@ var fe = "PopperArrow", zn = {
|
|
|
1495
1495
|
}[i.placedSide],
|
|
1496
1496
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
1497
1497
|
},
|
|
1498
|
-
children: /* @__PURE__ */
|
|
1498
|
+
children: /* @__PURE__ */ j(
|
|
1499
1499
|
_n,
|
|
1500
1500
|
{
|
|
1501
1501
|
...r,
|
|
@@ -1512,10 +1512,10 @@ var fe = "PopperArrow", zn = {
|
|
|
1512
1512
|
);
|
|
1513
1513
|
});
|
|
1514
1514
|
ue.displayName = fe;
|
|
1515
|
-
function
|
|
1515
|
+
function Xn(t) {
|
|
1516
1516
|
return t !== null;
|
|
1517
1517
|
}
|
|
1518
|
-
var
|
|
1518
|
+
var Yn = (t) => ({
|
|
1519
1519
|
name: "transformOrigin",
|
|
1520
1520
|
options: t,
|
|
1521
1521
|
fn(e) {
|