@lanaco/lnc-react-ui 4.0.2 → 4.0.3
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/bundle-visualization.html +4842 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +55 -50
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +15 -15
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +11 -11
- package/dist/ActionsToolbar.cjs +2 -2
- package/dist/ActionsToolbar.js +16 -16
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +23 -23
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +23 -25
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +21 -14
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +28 -28
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +21 -21
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +10 -6
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +4 -4
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +9 -9
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +5 -5
- package/dist/ConfirmationForm.cjs +5 -5
- package/dist/ConfirmationForm.js +59 -59
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +8 -8
- package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
- package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +2 -2
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +491 -491
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +5 -5
- package/dist/DetailsView.cjs +4 -4
- package/dist/DetailsView.js +40 -40
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +4 -4
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +6 -6
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +4 -4
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +15 -15
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +6 -6
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +4 -4
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +6 -6
- package/dist/DropdownMenu.cjs +7 -1
- package/dist/DropdownMenu.js +192 -10
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +4 -4
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +4 -4
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +14 -14
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +30 -30
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +3 -3
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +5 -5
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +8 -9
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +31 -31
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +2 -2
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +2 -2
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -7
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +33 -10
- package/dist/IconButton.cjs +5 -5
- package/dist/IconButton.js +33 -33
- package/dist/Kanban.cjs +12 -12
- package/dist/Kanban.js +948 -936
- package/dist/KanbanActionsToolbar.cjs +2 -2
- package/dist/KanbanActionsToolbar.js +28 -28
- package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
- package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +5 -5
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +40 -40
- package/dist/KanbanHeader.cjs +2 -2
- package/dist/KanbanHeader.js +46 -46
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +27 -27
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +9 -9
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +11 -11
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +7 -7
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +4 -4
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +4 -4
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +18 -18
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +9 -9
- package/dist/Notification.cjs +1 -83
- package/dist/Notification.js +3 -1077
- package/dist/NotificationContainer.cjs +37 -0
- package/dist/NotificationContainer.js +162 -0
- package/dist/NotificationMessage.cjs +47 -0
- package/dist/NotificationMessage.js +133 -0
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +5 -5
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +27 -27
- package/dist/Pagination.cjs +12 -0
- package/dist/Pagination.js +248 -0
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +14 -14
- package/dist/Popover.cjs +1 -0
- package/dist/Popover.js +36 -0
- package/dist/PopoverClose.cjs +1 -0
- package/dist/PopoverClose.js +15 -0
- package/dist/PopoverContent.cjs +10 -0
- package/dist/PopoverContent.js +68 -0
- package/dist/PopoverContext.cjs +1 -0
- package/dist/PopoverContext.js +5 -0
- package/dist/PopoverDescription.cjs +1 -0
- package/dist/PopoverDescription.js +16 -0
- package/dist/PopoverHeading.cjs +1 -0
- package/dist/PopoverHeading.js +16 -0
- package/dist/PopoverTrigger.cjs +1 -0
- package/dist/PopoverTrigger.js +38 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +35 -24
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +3 -3
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +4 -4
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +4 -4
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +6 -6
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +9 -9
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +4 -4
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +25 -20
- package/dist/Surface.cjs +2 -2
- package/dist/Surface.js +14 -15
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +4 -4
- package/dist/TabItem.cjs +26 -0
- package/dist/TabItem.js +210 -0
- package/dist/Table.cjs +20 -20
- package/dist/Table.js +13 -12
- package/dist/TableView.cjs +8 -1
- package/dist/TableView.js +238 -9
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +3 -3
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +5 -5
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +5 -5
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +5 -5
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +9 -9
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +4 -4
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +2 -2
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +11 -11
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +29 -29
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
- package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
- package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
- package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
- package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
- package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
- package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
- package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
- package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
- package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
- package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
- package/dist/index-BIlhCoy2.cjs +20 -0
- package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
- package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
- package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
- package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
- package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
- package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
- package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
- package/dist/index-DAOBjHnD.cjs +1 -0
- package/dist/index-DBXXH_TD.cjs +1 -0
- package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
- package/dist/index-DaiUAQVF.cjs +1 -0
- package/dist/index.cjs +1 -26
- package/dist/index.js +180 -376
- package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
- package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
- package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
- package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
- package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
- package/dist/usePopover.cjs +1 -0
- package/dist/usePopover.js +44 -0
- package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
- package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
- package/package.json +17 -5
- package/vite.config.js +16 -0
- package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
- package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
- package/dist/KanbanCard-ConTmu3w.cjs +0 -30
- package/dist/TableView-Cj5_fbSR.js +0 -481
- package/dist/TableView-D8ex512p.cjs +0 -19
- package/dist/index-BjdOz5Ok.cjs +0 -1
- package/dist/index-DXnSjbfJ.cjs +0 -20
- package/dist/index-Dzkd2i4n.cjs +0 -1
- package/dist/index-P-naJISQ.cjs +0 -1
package/dist/Kanban.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { r as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
7
|
-
import { n as
|
|
8
|
-
import { u as
|
|
9
|
-
import { H as
|
|
10
|
-
import { c as
|
|
1
|
+
import { jsx as le, jsxs as vn } from "react/jsx-runtime";
|
|
2
|
+
import Y, { useEffect as K, useLayoutEffect as gi, useRef as X, useMemo as j, useCallback as ve, useState as ne, createContext as Gt, memo as hi, useReducer as pi, useContext as bt, cloneElement as vi, forwardRef as Nr } from "react";
|
|
3
|
+
import { r as Mt } from "./index--Kmch3aI.js";
|
|
4
|
+
import { P as G } from "./index-BYnWp42a.js";
|
|
5
|
+
import { a as Pt, r as Tt, l as Nt } from "./utils-C52T57HO.js";
|
|
6
|
+
import { c as hr } from "./index-Cu0xwYjD.js";
|
|
7
|
+
import { n as Bt } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
8
|
+
import { u as Yn } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
9
|
+
import { H as bi, K as yi } from "./KanbanCard-CHZ_C9kk.js";
|
|
10
|
+
import { c as mi } from "./index-DLVVKJXD.js";
|
|
11
|
+
import { c as dn, g as wi } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
11
12
|
import xi from "./KanbanHeader.js";
|
|
12
13
|
import { u as Ci } from "./useUpdateEffect-CuYWz7EA.js";
|
|
13
14
|
var Di = function(e) {
|
|
@@ -24,62 +25,62 @@ function Si() {
|
|
|
24
25
|
t
|
|
25
26
|
);
|
|
26
27
|
}
|
|
27
|
-
const
|
|
28
|
-
function
|
|
28
|
+
const Sn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
29
|
+
function zt(e) {
|
|
29
30
|
const t = Object.prototype.toString.call(e);
|
|
30
31
|
return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
|
|
31
32
|
t === "[object global]";
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function kn(e) {
|
|
34
35
|
return "nodeType" in e;
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
+
function Re(e) {
|
|
37
38
|
var t, n;
|
|
38
|
-
return e ?
|
|
39
|
+
return e ? zt(e) ? e : kn(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function Gn(e) {
|
|
41
42
|
const {
|
|
42
43
|
Document: t
|
|
43
|
-
} =
|
|
44
|
+
} = Re(e);
|
|
44
45
|
return e instanceof t;
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
47
|
+
function Wt(e) {
|
|
48
|
+
return zt(e) ? !1 : e instanceof Re(e).HTMLElement;
|
|
48
49
|
}
|
|
49
50
|
function Mr(e) {
|
|
50
|
-
return e instanceof
|
|
51
|
+
return e instanceof Re(e).SVGElement;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
-
return e ?
|
|
53
|
+
function Ft(e) {
|
|
54
|
+
return e ? zt(e) ? e.document : kn(e) ? Gn(e) ? e : Wt(e) || Mr(e) ? e.ownerDocument : document : document : document;
|
|
54
55
|
}
|
|
55
|
-
const
|
|
56
|
-
function
|
|
57
|
-
const t =
|
|
58
|
-
return
|
|
56
|
+
const qe = Sn ? gi : K;
|
|
57
|
+
function Rn(e) {
|
|
58
|
+
const t = X(e);
|
|
59
|
+
return qe(() => {
|
|
59
60
|
t.current = e;
|
|
60
|
-
}),
|
|
61
|
+
}), ve(function() {
|
|
61
62
|
for (var n = arguments.length, o = new Array(n), i = 0; i < n; i++)
|
|
62
63
|
o[i] = arguments[i];
|
|
63
64
|
return t.current == null ? void 0 : t.current(...o);
|
|
64
65
|
}, []);
|
|
65
66
|
}
|
|
66
67
|
function Ri() {
|
|
67
|
-
const e =
|
|
68
|
+
const e = X(null), t = ve((o, i) => {
|
|
68
69
|
e.current = setInterval(o, i);
|
|
69
|
-
}, []), n =
|
|
70
|
+
}, []), n = ve(() => {
|
|
70
71
|
e.current !== null && (clearInterval(e.current), e.current = null);
|
|
71
72
|
}, []);
|
|
72
73
|
return [t, n];
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function kt(e, t) {
|
|
75
76
|
t === void 0 && (t = [e]);
|
|
76
|
-
const n =
|
|
77
|
-
return
|
|
77
|
+
const n = X(e);
|
|
78
|
+
return qe(() => {
|
|
78
79
|
n.current !== e && (n.current = e);
|
|
79
80
|
}, t), n;
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
-
const n =
|
|
82
|
+
function qt(e, t) {
|
|
83
|
+
const n = X();
|
|
83
84
|
return j(
|
|
84
85
|
() => {
|
|
85
86
|
const o = e(n.current);
|
|
@@ -89,8 +90,8 @@ function Wt(e, t) {
|
|
|
89
90
|
[...t]
|
|
90
91
|
);
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
-
const t =
|
|
93
|
+
function bn(e) {
|
|
94
|
+
const t = Rn(e), n = X(null), o = ve(
|
|
94
95
|
(i) => {
|
|
95
96
|
i !== n.current && (t == null || t(i, n.current)), n.current = i;
|
|
96
97
|
},
|
|
@@ -99,19 +100,19 @@ function vn(e) {
|
|
|
99
100
|
);
|
|
100
101
|
return [n, o];
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
-
const t =
|
|
103
|
+
function yn(e) {
|
|
104
|
+
const t = X();
|
|
104
105
|
return K(() => {
|
|
105
106
|
t.current = e;
|
|
106
107
|
}, [e]), t.current;
|
|
107
108
|
}
|
|
108
|
-
let
|
|
109
|
-
function
|
|
109
|
+
let Ln = {};
|
|
110
|
+
function Jt(e, t) {
|
|
110
111
|
return j(() => {
|
|
111
112
|
if (t)
|
|
112
113
|
return t;
|
|
113
|
-
const n =
|
|
114
|
-
return
|
|
114
|
+
const n = Ln[e] == null ? 0 : Ln[e] + 1;
|
|
115
|
+
return Ln[e] = n, e + "-" + n;
|
|
115
116
|
}, [e, t]);
|
|
116
117
|
}
|
|
117
118
|
function Lr(e) {
|
|
@@ -130,16 +131,16 @@ function Lr(e) {
|
|
|
130
131
|
});
|
|
131
132
|
};
|
|
132
133
|
}
|
|
133
|
-
const
|
|
134
|
+
const Lt = /* @__PURE__ */ Lr(1), mn = /* @__PURE__ */ Lr(-1);
|
|
134
135
|
function Ai(e) {
|
|
135
136
|
return "clientX" in e && "clientY" in e;
|
|
136
137
|
}
|
|
137
|
-
function
|
|
138
|
+
function An(e) {
|
|
138
139
|
if (!e)
|
|
139
140
|
return !1;
|
|
140
141
|
const {
|
|
141
142
|
KeyboardEvent: t
|
|
142
|
-
} =
|
|
143
|
+
} = Re(e.target);
|
|
143
144
|
return t && e instanceof t;
|
|
144
145
|
}
|
|
145
146
|
function Ei(e) {
|
|
@@ -147,10 +148,10 @@ function Ei(e) {
|
|
|
147
148
|
return !1;
|
|
148
149
|
const {
|
|
149
150
|
TouchEvent: t
|
|
150
|
-
} =
|
|
151
|
+
} = Re(e.target);
|
|
151
152
|
return t && e instanceof t;
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function wn(e) {
|
|
154
155
|
if (Ei(e)) {
|
|
155
156
|
if (e.touches && e.touches.length) {
|
|
156
157
|
const {
|
|
@@ -177,7 +178,7 @@ function mn(e) {
|
|
|
177
178
|
y: e.clientY
|
|
178
179
|
} : null;
|
|
179
180
|
}
|
|
180
|
-
const
|
|
181
|
+
const yt = /* @__PURE__ */ Object.freeze({
|
|
181
182
|
Translate: {
|
|
182
183
|
toString(e) {
|
|
183
184
|
if (!e)
|
|
@@ -203,7 +204,7 @@ const bt = /* @__PURE__ */ Object.freeze({
|
|
|
203
204
|
Transform: {
|
|
204
205
|
toString(e) {
|
|
205
206
|
if (e)
|
|
206
|
-
return [
|
|
207
|
+
return [yt.Translate.toString(e), yt.Scale.toString(e)].join(" ");
|
|
207
208
|
}
|
|
208
209
|
},
|
|
209
210
|
Transition: {
|
|
@@ -216,9 +217,9 @@ const bt = /* @__PURE__ */ Object.freeze({
|
|
|
216
217
|
return t + " " + n + "ms " + o;
|
|
217
218
|
}
|
|
218
219
|
}
|
|
219
|
-
}),
|
|
220
|
+
}), pr = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
220
221
|
function _i(e) {
|
|
221
|
-
return e.matches(
|
|
222
|
+
return e.matches(pr) ? e : e.querySelector(pr);
|
|
222
223
|
}
|
|
223
224
|
const Ii = {
|
|
224
225
|
display: "none"
|
|
@@ -228,7 +229,7 @@ function Oi(e) {
|
|
|
228
229
|
id: t,
|
|
229
230
|
value: n
|
|
230
231
|
} = e;
|
|
231
|
-
return
|
|
232
|
+
return Y.createElement("div", {
|
|
232
233
|
id: t,
|
|
233
234
|
style: Ii
|
|
234
235
|
}, n);
|
|
@@ -241,6 +242,8 @@ function Ti(e) {
|
|
|
241
242
|
} = e;
|
|
242
243
|
const i = {
|
|
243
244
|
position: "fixed",
|
|
245
|
+
top: 0,
|
|
246
|
+
left: 0,
|
|
244
247
|
width: 1,
|
|
245
248
|
height: 1,
|
|
246
249
|
margin: -1,
|
|
@@ -251,7 +254,7 @@ function Ti(e) {
|
|
|
251
254
|
clipPath: "inset(100%)",
|
|
252
255
|
whiteSpace: "nowrap"
|
|
253
256
|
};
|
|
254
|
-
return
|
|
257
|
+
return Y.createElement("div", {
|
|
255
258
|
id: t,
|
|
256
259
|
style: i,
|
|
257
260
|
role: "status",
|
|
@@ -260,17 +263,17 @@ function Ti(e) {
|
|
|
260
263
|
}, n);
|
|
261
264
|
}
|
|
262
265
|
function Ni() {
|
|
263
|
-
const [e, t] =
|
|
266
|
+
const [e, t] = ne("");
|
|
264
267
|
return {
|
|
265
|
-
announce:
|
|
268
|
+
announce: ve((o) => {
|
|
266
269
|
o != null && t(o);
|
|
267
270
|
}, []),
|
|
268
271
|
announcement: e
|
|
269
272
|
};
|
|
270
273
|
}
|
|
271
|
-
const Pr = /* @__PURE__ */
|
|
274
|
+
const Pr = /* @__PURE__ */ Gt(null);
|
|
272
275
|
function Mi(e) {
|
|
273
|
-
const t =
|
|
276
|
+
const t = bt(Pr);
|
|
274
277
|
K(() => {
|
|
275
278
|
if (!t)
|
|
276
279
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
@@ -278,8 +281,8 @@ function Mi(e) {
|
|
|
278
281
|
}, [e, t]);
|
|
279
282
|
}
|
|
280
283
|
function Li() {
|
|
281
|
-
const [e] =
|
|
282
|
-
return [
|
|
284
|
+
const [e] = ne(() => /* @__PURE__ */ new Set()), t = ve((o) => (e.add(o), () => e.delete(o)), [e]);
|
|
285
|
+
return [ve((o) => {
|
|
283
286
|
let {
|
|
284
287
|
type: i,
|
|
285
288
|
event: a
|
|
@@ -334,7 +337,7 @@ function Bi(e) {
|
|
|
334
337
|
const {
|
|
335
338
|
announce: a,
|
|
336
339
|
announcement: l
|
|
337
|
-
} = Ni(), c =
|
|
340
|
+
} = Ni(), c = Jt("DndLiveRegion"), [d, u] = ne(!1);
|
|
338
341
|
if (K(() => {
|
|
339
342
|
u(!0);
|
|
340
343
|
}, []), Mi(j(() => ({
|
|
@@ -388,22 +391,22 @@ function Bi(e) {
|
|
|
388
391
|
}
|
|
389
392
|
}), [a, t])), !d)
|
|
390
393
|
return null;
|
|
391
|
-
const h =
|
|
394
|
+
const h = Y.createElement(Y.Fragment, null, Y.createElement(Oi, {
|
|
392
395
|
id: o,
|
|
393
396
|
value: i.draggable
|
|
394
|
-
}),
|
|
397
|
+
}), Y.createElement(Ti, {
|
|
395
398
|
id: c,
|
|
396
399
|
announcement: l
|
|
397
400
|
}));
|
|
398
|
-
return n ?
|
|
401
|
+
return n ? Mt.createPortal(h, n) : h;
|
|
399
402
|
}
|
|
400
|
-
var
|
|
403
|
+
var ce;
|
|
401
404
|
(function(e) {
|
|
402
405
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
403
|
-
})(
|
|
404
|
-
function
|
|
406
|
+
})(ce || (ce = {}));
|
|
407
|
+
function xn() {
|
|
405
408
|
}
|
|
406
|
-
function
|
|
409
|
+
function Pn(e, t) {
|
|
407
410
|
return j(
|
|
408
411
|
() => ({
|
|
409
412
|
sensor: e,
|
|
@@ -426,11 +429,11 @@ const Je = /* @__PURE__ */ Object.freeze({
|
|
|
426
429
|
x: 0,
|
|
427
430
|
y: 0
|
|
428
431
|
});
|
|
429
|
-
function
|
|
432
|
+
function Wn(e, t) {
|
|
430
433
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
431
434
|
}
|
|
432
435
|
function Fi(e, t) {
|
|
433
|
-
const n =
|
|
436
|
+
const n = wn(e);
|
|
434
437
|
if (!n)
|
|
435
438
|
return "0 0";
|
|
436
439
|
const o = {
|
|
@@ -439,7 +442,7 @@ function Fi(e, t) {
|
|
|
439
442
|
};
|
|
440
443
|
return o.x + "% " + o.y + "%";
|
|
441
444
|
}
|
|
442
|
-
function
|
|
445
|
+
function qn(e, t) {
|
|
443
446
|
let {
|
|
444
447
|
data: {
|
|
445
448
|
value: n
|
|
@@ -484,31 +487,31 @@ function Fn(e) {
|
|
|
484
487
|
y: n + o
|
|
485
488
|
}];
|
|
486
489
|
}
|
|
487
|
-
function
|
|
490
|
+
function Jn(e, t) {
|
|
488
491
|
if (!e || e.length === 0)
|
|
489
492
|
return null;
|
|
490
493
|
const [n] = e;
|
|
491
494
|
return t ? n[t] : n;
|
|
492
495
|
}
|
|
493
|
-
function
|
|
496
|
+
function vr(e, t, n) {
|
|
494
497
|
return t === void 0 && (t = e.left), n === void 0 && (n = e.top), {
|
|
495
498
|
x: t + e.width * 0.5,
|
|
496
499
|
y: n + e.height * 0.5
|
|
497
500
|
};
|
|
498
501
|
}
|
|
499
|
-
const
|
|
502
|
+
const br = (e) => {
|
|
500
503
|
let {
|
|
501
504
|
collisionRect: t,
|
|
502
505
|
droppableRects: n,
|
|
503
506
|
droppableContainers: o
|
|
504
507
|
} = e;
|
|
505
|
-
const i =
|
|
508
|
+
const i = vr(t, t.left, t.top), a = [];
|
|
506
509
|
for (const l of o) {
|
|
507
510
|
const {
|
|
508
511
|
id: c
|
|
509
512
|
} = l, d = n.get(c);
|
|
510
513
|
if (d) {
|
|
511
|
-
const u =
|
|
514
|
+
const u = Wn(vr(d), i);
|
|
512
515
|
a.push({
|
|
513
516
|
id: c,
|
|
514
517
|
data: {
|
|
@@ -518,7 +521,7 @@ const yr = (e) => {
|
|
|
518
521
|
});
|
|
519
522
|
}
|
|
520
523
|
}
|
|
521
|
-
return a.sort(
|
|
524
|
+
return a.sort(qn);
|
|
522
525
|
}, Hi = (e) => {
|
|
523
526
|
let {
|
|
524
527
|
collisionRect: t,
|
|
@@ -531,7 +534,7 @@ const yr = (e) => {
|
|
|
531
534
|
id: c
|
|
532
535
|
} = l, d = n.get(c);
|
|
533
536
|
if (d) {
|
|
534
|
-
const u = Fn(d), h = i.reduce((w, b, A) => w +
|
|
537
|
+
const u = Fn(d), h = i.reduce((w, b, A) => w + Wn(u[A], b), 0), g = Number((h / 4).toFixed(4));
|
|
535
538
|
a.push({
|
|
536
539
|
id: c,
|
|
537
540
|
data: {
|
|
@@ -541,9 +544,9 @@ const yr = (e) => {
|
|
|
541
544
|
});
|
|
542
545
|
}
|
|
543
546
|
}
|
|
544
|
-
return a.sort(
|
|
547
|
+
return a.sort(qn);
|
|
545
548
|
};
|
|
546
|
-
function
|
|
549
|
+
function Xi(e, t) {
|
|
547
550
|
const n = Math.max(t.top, e.top), o = Math.max(t.left, e.left), i = Math.min(t.left + t.width, e.left + e.width), a = Math.min(t.top + t.height, e.top + e.height), l = i - o, c = a - n;
|
|
548
551
|
if (o < i && n < a) {
|
|
549
552
|
const d = t.width * t.height, u = e.width * e.height, h = l * c, g = h / (d + u - h);
|
|
@@ -563,7 +566,7 @@ const $r = (e) => {
|
|
|
563
566
|
id: l
|
|
564
567
|
} = a, c = n.get(l);
|
|
565
568
|
if (c) {
|
|
566
|
-
const d =
|
|
569
|
+
const d = Xi(c, t);
|
|
567
570
|
d > 0 && i.push({
|
|
568
571
|
id: l,
|
|
569
572
|
data: {
|
|
@@ -575,7 +578,7 @@ const $r = (e) => {
|
|
|
575
578
|
}
|
|
576
579
|
return i.sort(Ki);
|
|
577
580
|
};
|
|
578
|
-
function
|
|
581
|
+
function Ui(e, t) {
|
|
579
582
|
const {
|
|
580
583
|
top: n,
|
|
581
584
|
left: o,
|
|
@@ -597,8 +600,8 @@ const ji = (e) => {
|
|
|
597
600
|
const {
|
|
598
601
|
id: l
|
|
599
602
|
} = a, c = n.get(l);
|
|
600
|
-
if (c &&
|
|
601
|
-
const u = Fn(c).reduce((g, w) => g +
|
|
603
|
+
if (c && Ui(o, c)) {
|
|
604
|
+
const u = Fn(c).reduce((g, w) => g + Wn(o, w), 0), h = Number((u / 4).toFixed(4));
|
|
602
605
|
i.push({
|
|
603
606
|
id: l,
|
|
604
607
|
data: {
|
|
@@ -608,7 +611,7 @@ const ji = (e) => {
|
|
|
608
611
|
});
|
|
609
612
|
}
|
|
610
613
|
}
|
|
611
|
-
return i.sort(
|
|
614
|
+
return i.sort(qn);
|
|
612
615
|
};
|
|
613
616
|
function Yi(e, t, n) {
|
|
614
617
|
return {
|
|
@@ -681,14 +684,14 @@ function Wi(e, t, n) {
|
|
|
681
684
|
const qi = {
|
|
682
685
|
ignoreTransform: !1
|
|
683
686
|
};
|
|
684
|
-
function
|
|
687
|
+
function Kt(e, t) {
|
|
685
688
|
t === void 0 && (t = qi);
|
|
686
689
|
let n = e.getBoundingClientRect();
|
|
687
690
|
if (t.ignoreTransform) {
|
|
688
691
|
const {
|
|
689
692
|
transform: u,
|
|
690
693
|
transformOrigin: h
|
|
691
|
-
} =
|
|
694
|
+
} = Re(e).getComputedStyle(e);
|
|
692
695
|
u && (n = Wi(n, u, h));
|
|
693
696
|
}
|
|
694
697
|
const {
|
|
@@ -708,8 +711,8 @@ function zt(e, t) {
|
|
|
708
711
|
right: d
|
|
709
712
|
};
|
|
710
713
|
}
|
|
711
|
-
function
|
|
712
|
-
return
|
|
714
|
+
function yr(e) {
|
|
715
|
+
return Kt(e, {
|
|
713
716
|
ignoreTransform: !0
|
|
714
717
|
});
|
|
715
718
|
}
|
|
@@ -725,42 +728,42 @@ function Ji(e) {
|
|
|
725
728
|
};
|
|
726
729
|
}
|
|
727
730
|
function Vi(e, t) {
|
|
728
|
-
return t === void 0 && (t =
|
|
731
|
+
return t === void 0 && (t = Re(e).getComputedStyle(e)), t.position === "fixed";
|
|
729
732
|
}
|
|
730
733
|
function Qi(e, t) {
|
|
731
|
-
t === void 0 && (t =
|
|
734
|
+
t === void 0 && (t = Re(e).getComputedStyle(e));
|
|
732
735
|
const n = /(auto|scroll|overlay)/;
|
|
733
736
|
return ["overflow", "overflowX", "overflowY"].some((i) => {
|
|
734
737
|
const a = t[i];
|
|
735
738
|
return typeof a == "string" ? n.test(a) : !1;
|
|
736
739
|
});
|
|
737
740
|
}
|
|
738
|
-
function
|
|
741
|
+
function Vn(e, t) {
|
|
739
742
|
const n = [];
|
|
740
743
|
function o(i) {
|
|
741
744
|
if (t != null && n.length >= t || !i)
|
|
742
745
|
return n;
|
|
743
|
-
if (
|
|
746
|
+
if (Gn(i) && i.scrollingElement != null && !n.includes(i.scrollingElement))
|
|
744
747
|
return n.push(i.scrollingElement), n;
|
|
745
|
-
if (!
|
|
748
|
+
if (!Wt(i) || Mr(i) || n.includes(i))
|
|
746
749
|
return n;
|
|
747
|
-
const a =
|
|
750
|
+
const a = Re(e).getComputedStyle(i);
|
|
748
751
|
return i !== e && Qi(i, a) && n.push(i), Vi(i, a) ? n : o(i.parentNode);
|
|
749
752
|
}
|
|
750
753
|
return e ? o(e) : n;
|
|
751
754
|
}
|
|
752
755
|
function Fr(e) {
|
|
753
|
-
const [t] =
|
|
756
|
+
const [t] = Vn(e, 1);
|
|
754
757
|
return t ?? null;
|
|
755
758
|
}
|
|
756
|
-
function
|
|
757
|
-
return !
|
|
759
|
+
function $n(e) {
|
|
760
|
+
return !Sn || !e ? null : zt(e) ? e : kn(e) ? Gn(e) || e === Ft(e).scrollingElement ? window : Wt(e) ? e : null : null;
|
|
758
761
|
}
|
|
759
762
|
function Kr(e) {
|
|
760
|
-
return
|
|
763
|
+
return zt(e) ? e.scrollX : e.scrollLeft;
|
|
761
764
|
}
|
|
762
765
|
function Hr(e) {
|
|
763
|
-
return
|
|
766
|
+
return zt(e) ? e.scrollY : e.scrollTop;
|
|
764
767
|
}
|
|
765
768
|
function Kn(e) {
|
|
766
769
|
return {
|
|
@@ -772,14 +775,14 @@ var ge;
|
|
|
772
775
|
(function(e) {
|
|
773
776
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
774
777
|
})(ge || (ge = {}));
|
|
775
|
-
function Ur(e) {
|
|
776
|
-
return !Dn || !e ? !1 : e === document.scrollingElement;
|
|
777
|
-
}
|
|
778
778
|
function Xr(e) {
|
|
779
|
+
return !Sn || !e ? !1 : e === document.scrollingElement;
|
|
780
|
+
}
|
|
781
|
+
function Ur(e) {
|
|
779
782
|
const t = {
|
|
780
783
|
x: 0,
|
|
781
784
|
y: 0
|
|
782
|
-
}, n =
|
|
785
|
+
}, n = Xr(e) ? {
|
|
783
786
|
height: window.innerHeight,
|
|
784
787
|
width: window.innerWidth
|
|
785
788
|
} : {
|
|
@@ -815,7 +818,7 @@ function es(e, t, n, o, i) {
|
|
|
815
818
|
isBottom: h,
|
|
816
819
|
isLeft: g,
|
|
817
820
|
isRight: w
|
|
818
|
-
} =
|
|
821
|
+
} = Ur(e), b = {
|
|
819
822
|
x: 0,
|
|
820
823
|
y: 0
|
|
821
824
|
}, A = {
|
|
@@ -861,7 +864,7 @@ function ts(e) {
|
|
|
861
864
|
};
|
|
862
865
|
}
|
|
863
866
|
function jr(e) {
|
|
864
|
-
return e.reduce((t, n) =>
|
|
867
|
+
return e.reduce((t, n) => Lt(t, Kn(n)), Je);
|
|
865
868
|
}
|
|
866
869
|
function ns(e) {
|
|
867
870
|
return e.reduce((t, n) => t + Kr(n), 0);
|
|
@@ -870,7 +873,7 @@ function rs(e) {
|
|
|
870
873
|
return e.reduce((t, n) => t + Hr(n), 0);
|
|
871
874
|
}
|
|
872
875
|
function Yr(e, t) {
|
|
873
|
-
if (t === void 0 && (t =
|
|
876
|
+
if (t === void 0 && (t = Kt), !e)
|
|
874
877
|
return;
|
|
875
878
|
const {
|
|
876
879
|
top: n,
|
|
@@ -884,10 +887,10 @@ function Yr(e, t) {
|
|
|
884
887
|
});
|
|
885
888
|
}
|
|
886
889
|
const os = [["x", ["left", "right"], ns], ["y", ["top", "bottom"], rs]];
|
|
887
|
-
class
|
|
890
|
+
class Qn {
|
|
888
891
|
constructor(t, n) {
|
|
889
892
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
890
|
-
const o =
|
|
893
|
+
const o = Vn(n), i = jr(o);
|
|
891
894
|
this.rect = {
|
|
892
895
|
...t
|
|
893
896
|
}, this.width = t.width, this.height = t.height;
|
|
@@ -905,7 +908,7 @@ class Zn {
|
|
|
905
908
|
});
|
|
906
909
|
}
|
|
907
910
|
}
|
|
908
|
-
class
|
|
911
|
+
class Xt {
|
|
909
912
|
constructor(t) {
|
|
910
913
|
this.target = void 0, this.listeners = [], this.removeAll = () => {
|
|
911
914
|
this.listeners.forEach((n) => {
|
|
@@ -922,10 +925,10 @@ class Ht {
|
|
|
922
925
|
function is(e) {
|
|
923
926
|
const {
|
|
924
927
|
EventTarget: t
|
|
925
|
-
} =
|
|
926
|
-
return e instanceof t ? e :
|
|
928
|
+
} = Re(e);
|
|
929
|
+
return e instanceof t ? e : Ft(e);
|
|
927
930
|
}
|
|
928
|
-
function
|
|
931
|
+
function Bn(e, t) {
|
|
929
932
|
const n = Math.abs(e.x), o = Math.abs(e.y);
|
|
930
933
|
return typeof t == "number" ? Math.sqrt(n ** 2 + o ** 2) > t : "x" in t && "y" in t ? n > t.x && o > t.y : "x" in t ? n > t.x : "y" in t ? o > t.y : !1;
|
|
931
934
|
}
|
|
@@ -933,7 +936,7 @@ var He;
|
|
|
933
936
|
(function(e) {
|
|
934
937
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
935
938
|
})(He || (He = {}));
|
|
936
|
-
function
|
|
939
|
+
function mr(e) {
|
|
937
940
|
e.preventDefault();
|
|
938
941
|
}
|
|
939
942
|
function ss(e) {
|
|
@@ -974,7 +977,7 @@ const kr = {
|
|
|
974
977
|
};
|
|
975
978
|
}
|
|
976
979
|
};
|
|
977
|
-
class
|
|
980
|
+
class Zn {
|
|
978
981
|
constructor(t) {
|
|
979
982
|
this.props = void 0, this.autoScrollEnabled = !1, this.referenceCoordinates = void 0, this.listeners = void 0, this.windowListeners = void 0, this.props = t;
|
|
980
983
|
const {
|
|
@@ -982,7 +985,7 @@ class er {
|
|
|
982
985
|
target: n
|
|
983
986
|
}
|
|
984
987
|
} = t;
|
|
985
|
-
this.props = t, this.listeners = new
|
|
988
|
+
this.props = t, this.listeners = new Xt(Ft(n)), this.windowListeners = new Xt(Re(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
986
989
|
}
|
|
987
990
|
attach() {
|
|
988
991
|
this.handleStart(), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(He.Keydown, this.handleKeyDown));
|
|
@@ -995,7 +998,7 @@ class er {
|
|
|
995
998
|
o && Yr(o), n(Je);
|
|
996
999
|
}
|
|
997
1000
|
handleKeyDown(t) {
|
|
998
|
-
if (
|
|
1001
|
+
if (An(t)) {
|
|
999
1002
|
const {
|
|
1000
1003
|
active: n,
|
|
1001
1004
|
context: o,
|
|
@@ -1028,7 +1031,7 @@ class er {
|
|
|
1028
1031
|
currentCoordinates: h
|
|
1029
1032
|
});
|
|
1030
1033
|
if (g) {
|
|
1031
|
-
const w =
|
|
1034
|
+
const w = mn(g, h), b = {
|
|
1032
1035
|
x: 0,
|
|
1033
1036
|
y: 0
|
|
1034
1037
|
}, {
|
|
@@ -1042,7 +1045,7 @@ class er {
|
|
|
1042
1045
|
isBottom: R,
|
|
1043
1046
|
maxScroll: T,
|
|
1044
1047
|
minScroll: _
|
|
1045
|
-
} =
|
|
1048
|
+
} = Ur(v), O = ts(v), M = {
|
|
1046
1049
|
x: Math.min(x === L.Right ? O.right - O.width / 2 : O.right, Math.max(x === L.Right ? O.left : O.left + O.width / 2, g.x)),
|
|
1047
1050
|
y: Math.min(x === L.Down ? O.bottom - O.height / 2 : O.bottom, Math.max(x === L.Down ? O.top : O.top + O.height / 2, g.y))
|
|
1048
1051
|
}, H = x === L.Right && !E || x === L.Left && !D, U = x === L.Down && !R || x === L.Up && !S;
|
|
@@ -1076,7 +1079,7 @@ class er {
|
|
|
1076
1079
|
break;
|
|
1077
1080
|
}
|
|
1078
1081
|
}
|
|
1079
|
-
this.handleMove(t,
|
|
1082
|
+
this.handleMove(t, Lt(mn(g, this.referenceCoordinates), b));
|
|
1080
1083
|
}
|
|
1081
1084
|
}
|
|
1082
1085
|
}
|
|
@@ -1102,7 +1105,7 @@ class er {
|
|
|
1102
1105
|
this.listeners.removeAll(), this.windowListeners.removeAll();
|
|
1103
1106
|
}
|
|
1104
1107
|
}
|
|
1105
|
-
|
|
1108
|
+
Zn.activators = [{
|
|
1106
1109
|
eventName: "onKeyDown",
|
|
1107
1110
|
handler: (e, t, n) => {
|
|
1108
1111
|
let {
|
|
@@ -1123,13 +1126,13 @@ er.activators = [{
|
|
|
1123
1126
|
return !1;
|
|
1124
1127
|
}
|
|
1125
1128
|
}];
|
|
1126
|
-
function
|
|
1129
|
+
function wr(e) {
|
|
1127
1130
|
return !!(e && "distance" in e);
|
|
1128
1131
|
}
|
|
1129
|
-
function
|
|
1132
|
+
function xr(e) {
|
|
1130
1133
|
return !!(e && "delay" in e);
|
|
1131
1134
|
}
|
|
1132
|
-
class
|
|
1135
|
+
class er {
|
|
1133
1136
|
constructor(t, n, o) {
|
|
1134
1137
|
var i;
|
|
1135
1138
|
o === void 0 && (o = is(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
|
|
@@ -1138,7 +1141,7 @@ class tr {
|
|
|
1138
1141
|
} = t, {
|
|
1139
1142
|
target: l
|
|
1140
1143
|
} = a;
|
|
1141
|
-
this.props = t, this.events = n, this.document =
|
|
1144
|
+
this.props = t, this.events = n, this.document = Ft(l), this.documentListeners = new Xt(this.document), this.listeners = new Xt(o), this.windowListeners = new Xt(Re(l)), this.initialCoordinates = (i = wn(a)) != null ? i : Je, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
1142
1145
|
}
|
|
1143
1146
|
attach() {
|
|
1144
1147
|
const {
|
|
@@ -1152,18 +1155,18 @@ class tr {
|
|
|
1152
1155
|
} = this;
|
|
1153
1156
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
1154
1157
|
passive: !1
|
|
1155
|
-
}), this.listeners.add(t.end.name, this.handleEnd), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.DragStart,
|
|
1158
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.DragStart, mr), this.windowListeners.add(He.VisibilityChange, this.handleCancel), this.windowListeners.add(He.ContextMenu, mr), this.documentListeners.add(He.Keydown, this.handleKeydown), n) {
|
|
1156
1159
|
if (o != null && o({
|
|
1157
1160
|
event: this.props.event,
|
|
1158
1161
|
activeNode: this.props.activeNode,
|
|
1159
1162
|
options: this.props.options
|
|
1160
1163
|
}))
|
|
1161
1164
|
return this.handleStart();
|
|
1162
|
-
if (
|
|
1165
|
+
if (xr(n)) {
|
|
1163
1166
|
this.timeoutId = setTimeout(this.handleStart, n.delay);
|
|
1164
1167
|
return;
|
|
1165
1168
|
}
|
|
1166
|
-
if (
|
|
1169
|
+
if (wr(n))
|
|
1167
1170
|
return;
|
|
1168
1171
|
}
|
|
1169
1172
|
this.handleStart();
|
|
@@ -1195,15 +1198,15 @@ class tr {
|
|
|
1195
1198
|
} = a;
|
|
1196
1199
|
if (!i)
|
|
1197
1200
|
return;
|
|
1198
|
-
const d = (n =
|
|
1201
|
+
const d = (n = wn(t)) != null ? n : Je, u = mn(i, d);
|
|
1199
1202
|
if (!o && c) {
|
|
1200
|
-
if (
|
|
1201
|
-
if (c.tolerance != null &&
|
|
1203
|
+
if (wr(c)) {
|
|
1204
|
+
if (c.tolerance != null && Bn(u, c.tolerance))
|
|
1202
1205
|
return this.handleCancel();
|
|
1203
|
-
if (
|
|
1206
|
+
if (Bn(u, c.distance))
|
|
1204
1207
|
return this.handleStart();
|
|
1205
1208
|
}
|
|
1206
|
-
return
|
|
1209
|
+
return xr(c) && Bn(u, c.tolerance) ? this.handleCancel() : void 0;
|
|
1207
1210
|
}
|
|
1208
1211
|
t.cancelable && t.preventDefault(), l(d);
|
|
1209
1212
|
}
|
|
@@ -1228,6 +1231,9 @@ class tr {
|
|
|
1228
1231
|
}
|
|
1229
1232
|
}
|
|
1230
1233
|
const ls = {
|
|
1234
|
+
cancel: {
|
|
1235
|
+
name: "pointercancel"
|
|
1236
|
+
},
|
|
1231
1237
|
move: {
|
|
1232
1238
|
name: "pointermove"
|
|
1233
1239
|
},
|
|
@@ -1235,11 +1241,11 @@ const ls = {
|
|
|
1235
1241
|
name: "pointerup"
|
|
1236
1242
|
}
|
|
1237
1243
|
};
|
|
1238
|
-
class Gr extends
|
|
1244
|
+
class Gr extends er {
|
|
1239
1245
|
constructor(t) {
|
|
1240
1246
|
const {
|
|
1241
1247
|
event: n
|
|
1242
|
-
} = t, o =
|
|
1248
|
+
} = t, o = Ft(n.target);
|
|
1243
1249
|
super(t, ls, o);
|
|
1244
1250
|
}
|
|
1245
1251
|
}
|
|
@@ -1268,9 +1274,9 @@ var Hn;
|
|
|
1268
1274
|
(function(e) {
|
|
1269
1275
|
e[e.RightClick = 2] = "RightClick";
|
|
1270
1276
|
})(Hn || (Hn = {}));
|
|
1271
|
-
class Wr extends
|
|
1277
|
+
class Wr extends er {
|
|
1272
1278
|
constructor(t) {
|
|
1273
|
-
super(t, cs,
|
|
1279
|
+
super(t, cs, Ft(t.event.target));
|
|
1274
1280
|
}
|
|
1275
1281
|
}
|
|
1276
1282
|
Wr.activators = [{
|
|
@@ -1286,7 +1292,10 @@ Wr.activators = [{
|
|
|
1286
1292
|
}), !0);
|
|
1287
1293
|
}
|
|
1288
1294
|
}];
|
|
1289
|
-
const
|
|
1295
|
+
const zn = {
|
|
1296
|
+
cancel: {
|
|
1297
|
+
name: "touchcancel"
|
|
1298
|
+
},
|
|
1290
1299
|
move: {
|
|
1291
1300
|
name: "touchmove"
|
|
1292
1301
|
},
|
|
@@ -1294,16 +1303,16 @@ const Bn = {
|
|
|
1294
1303
|
name: "touchend"
|
|
1295
1304
|
}
|
|
1296
1305
|
};
|
|
1297
|
-
class qr extends
|
|
1306
|
+
class qr extends er {
|
|
1298
1307
|
constructor(t) {
|
|
1299
|
-
super(t,
|
|
1308
|
+
super(t, zn);
|
|
1300
1309
|
}
|
|
1301
1310
|
static setup() {
|
|
1302
|
-
return window.addEventListener(
|
|
1311
|
+
return window.addEventListener(zn.move.name, t, {
|
|
1303
1312
|
capture: !1,
|
|
1304
1313
|
passive: !1
|
|
1305
1314
|
}), function() {
|
|
1306
|
-
window.removeEventListener(
|
|
1315
|
+
window.removeEventListener(zn.move.name, t);
|
|
1307
1316
|
};
|
|
1308
1317
|
function t() {
|
|
1309
1318
|
}
|
|
@@ -1329,10 +1338,10 @@ var Ut;
|
|
|
1329
1338
|
(function(e) {
|
|
1330
1339
|
e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
|
|
1331
1340
|
})(Ut || (Ut = {}));
|
|
1332
|
-
var
|
|
1341
|
+
var Cn;
|
|
1333
1342
|
(function(e) {
|
|
1334
1343
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
1335
|
-
})(
|
|
1344
|
+
})(Cn || (Cn = {}));
|
|
1336
1345
|
function us(e) {
|
|
1337
1346
|
let {
|
|
1338
1347
|
acceleration: t,
|
|
@@ -1341,7 +1350,7 @@ function us(e) {
|
|
|
1341
1350
|
draggingRect: i,
|
|
1342
1351
|
enabled: a,
|
|
1343
1352
|
interval: l = 5,
|
|
1344
|
-
order: c =
|
|
1353
|
+
order: c = Cn.TreeOrder,
|
|
1345
1354
|
pointerCoordinates: d,
|
|
1346
1355
|
scrollableAncestors: u,
|
|
1347
1356
|
scrollableAncestorRects: h,
|
|
@@ -1351,10 +1360,10 @@ function us(e) {
|
|
|
1351
1360
|
const b = fs({
|
|
1352
1361
|
delta: g,
|
|
1353
1362
|
disabled: !a
|
|
1354
|
-
}), [A, v] = Ri(), x =
|
|
1363
|
+
}), [A, v] = Ri(), x = X({
|
|
1355
1364
|
x: 0,
|
|
1356
1365
|
y: 0
|
|
1357
|
-
}), S =
|
|
1366
|
+
}), S = X({
|
|
1358
1367
|
x: 0,
|
|
1359
1368
|
y: 0
|
|
1360
1369
|
}), E = j(() => {
|
|
@@ -1369,13 +1378,13 @@ function us(e) {
|
|
|
1369
1378
|
case Ut.DraggableRect:
|
|
1370
1379
|
return i;
|
|
1371
1380
|
}
|
|
1372
|
-
}, [n, i, d]), D =
|
|
1381
|
+
}, [n, i, d]), D = X(null), R = ve(() => {
|
|
1373
1382
|
const _ = D.current;
|
|
1374
1383
|
if (!_)
|
|
1375
1384
|
return;
|
|
1376
1385
|
const O = x.current.x * S.current.x, M = x.current.y * S.current.y;
|
|
1377
1386
|
_.scrollBy(O, M);
|
|
1378
|
-
}, []), T = j(() => c ===
|
|
1387
|
+
}, []), T = j(() => c === Cn.TreeOrder ? [...u].reverse() : u, [c, u]);
|
|
1379
1388
|
K(
|
|
1380
1389
|
() => {
|
|
1381
1390
|
if (!a || !u.length || !E) {
|
|
@@ -1443,8 +1452,8 @@ function fs(e) {
|
|
|
1443
1452
|
delta: t,
|
|
1444
1453
|
disabled: n
|
|
1445
1454
|
} = e;
|
|
1446
|
-
const o =
|
|
1447
|
-
return
|
|
1455
|
+
const o = yn(t);
|
|
1456
|
+
return qt((i) => {
|
|
1448
1457
|
if (n || !o || !i)
|
|
1449
1458
|
return ds;
|
|
1450
1459
|
const a = {
|
|
@@ -1464,10 +1473,10 @@ function fs(e) {
|
|
|
1464
1473
|
}, [n, t, o]);
|
|
1465
1474
|
}
|
|
1466
1475
|
function gs(e, t) {
|
|
1467
|
-
const n = t
|
|
1468
|
-
return
|
|
1476
|
+
const n = t != null ? e.get(t) : void 0, o = n ? n.node.current : null;
|
|
1477
|
+
return qt((i) => {
|
|
1469
1478
|
var a;
|
|
1470
|
-
return t
|
|
1479
|
+
return t == null ? null : (a = o ?? i) != null ? a : null;
|
|
1471
1480
|
}, [o, t]);
|
|
1472
1481
|
}
|
|
1473
1482
|
function hs(e, t) {
|
|
@@ -1481,31 +1490,31 @@ function hs(e, t) {
|
|
|
1481
1490
|
return [...n, ...a];
|
|
1482
1491
|
}, []), [e, t]);
|
|
1483
1492
|
}
|
|
1484
|
-
var
|
|
1493
|
+
var $t;
|
|
1485
1494
|
(function(e) {
|
|
1486
1495
|
e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
|
|
1487
|
-
})(
|
|
1488
|
-
var
|
|
1496
|
+
})($t || ($t = {}));
|
|
1497
|
+
var Xn;
|
|
1489
1498
|
(function(e) {
|
|
1490
1499
|
e.Optimized = "optimized";
|
|
1491
|
-
})(
|
|
1492
|
-
const
|
|
1500
|
+
})(Xn || (Xn = {}));
|
|
1501
|
+
const Cr = /* @__PURE__ */ new Map();
|
|
1493
1502
|
function ps(e, t) {
|
|
1494
1503
|
let {
|
|
1495
1504
|
dragging: n,
|
|
1496
1505
|
dependencies: o,
|
|
1497
1506
|
config: i
|
|
1498
1507
|
} = t;
|
|
1499
|
-
const [a, l] =
|
|
1508
|
+
const [a, l] = ne(null), {
|
|
1500
1509
|
frequency: c,
|
|
1501
1510
|
measure: d,
|
|
1502
1511
|
strategy: u
|
|
1503
|
-
} = i, h =
|
|
1512
|
+
} = i, h = X(e), g = x(), w = kt(g), b = ve(function(S) {
|
|
1504
1513
|
S === void 0 && (S = []), !w.current && l((E) => E === null ? S : E.concat(S.filter((D) => !E.includes(D))));
|
|
1505
|
-
}, [w]), A =
|
|
1514
|
+
}, [w]), A = X(null), v = qt((S) => {
|
|
1506
1515
|
if (g && !n)
|
|
1507
|
-
return
|
|
1508
|
-
if (!S || S ===
|
|
1516
|
+
return Cr;
|
|
1517
|
+
if (!S || S === Cr || h.current !== e || a != null) {
|
|
1509
1518
|
const E = /* @__PURE__ */ new Map();
|
|
1510
1519
|
for (let D of e) {
|
|
1511
1520
|
if (!D)
|
|
@@ -1514,7 +1523,7 @@ function ps(e, t) {
|
|
|
1514
1523
|
E.set(D.id, D.rect.current);
|
|
1515
1524
|
continue;
|
|
1516
1525
|
}
|
|
1517
|
-
const R = D.node.current, T = R ? new
|
|
1526
|
+
const R = D.node.current, T = R ? new Qn(d(R), R) : null;
|
|
1518
1527
|
D.rect.current = T, T && E.set(D.id, T);
|
|
1519
1528
|
}
|
|
1520
1529
|
return E;
|
|
@@ -1550,27 +1559,27 @@ function ps(e, t) {
|
|
|
1550
1559
|
};
|
|
1551
1560
|
function x() {
|
|
1552
1561
|
switch (u) {
|
|
1553
|
-
case
|
|
1562
|
+
case $t.Always:
|
|
1554
1563
|
return !1;
|
|
1555
|
-
case
|
|
1564
|
+
case $t.BeforeDragging:
|
|
1556
1565
|
return n;
|
|
1557
1566
|
default:
|
|
1558
1567
|
return !n;
|
|
1559
1568
|
}
|
|
1560
1569
|
}
|
|
1561
1570
|
}
|
|
1562
|
-
function
|
|
1563
|
-
return
|
|
1571
|
+
function tr(e, t) {
|
|
1572
|
+
return qt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
|
|
1564
1573
|
}
|
|
1565
1574
|
function vs(e, t) {
|
|
1566
|
-
return
|
|
1575
|
+
return tr(e, t);
|
|
1567
1576
|
}
|
|
1568
1577
|
function bs(e) {
|
|
1569
1578
|
let {
|
|
1570
1579
|
callback: t,
|
|
1571
1580
|
disabled: n
|
|
1572
1581
|
} = e;
|
|
1573
|
-
const o =
|
|
1582
|
+
const o = Rn(t), i = j(() => {
|
|
1574
1583
|
if (n || typeof window > "u" || typeof window.MutationObserver > "u")
|
|
1575
1584
|
return;
|
|
1576
1585
|
const {
|
|
@@ -1580,12 +1589,12 @@ function bs(e) {
|
|
|
1580
1589
|
}, [o, n]);
|
|
1581
1590
|
return K(() => () => i == null ? void 0 : i.disconnect(), [i]), i;
|
|
1582
1591
|
}
|
|
1583
|
-
function
|
|
1592
|
+
function En(e) {
|
|
1584
1593
|
let {
|
|
1585
1594
|
callback: t,
|
|
1586
1595
|
disabled: n
|
|
1587
1596
|
} = e;
|
|
1588
|
-
const o =
|
|
1597
|
+
const o = Rn(t), i = j(
|
|
1589
1598
|
() => {
|
|
1590
1599
|
if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
|
|
1591
1600
|
return;
|
|
@@ -1600,11 +1609,24 @@ function An(e) {
|
|
|
1600
1609
|
return K(() => () => i == null ? void 0 : i.disconnect(), [i]), i;
|
|
1601
1610
|
}
|
|
1602
1611
|
function ys(e) {
|
|
1603
|
-
return new
|
|
1612
|
+
return new Qn(Kt(e), e);
|
|
1604
1613
|
}
|
|
1605
|
-
function
|
|
1614
|
+
function Dr(e, t, n) {
|
|
1606
1615
|
t === void 0 && (t = ys);
|
|
1607
|
-
const [o, i] =
|
|
1616
|
+
const [o, i] = ne(null);
|
|
1617
|
+
function a() {
|
|
1618
|
+
i((d) => {
|
|
1619
|
+
if (!e)
|
|
1620
|
+
return null;
|
|
1621
|
+
if (e.isConnected === !1) {
|
|
1622
|
+
var u;
|
|
1623
|
+
return (u = d ?? n) != null ? u : null;
|
|
1624
|
+
}
|
|
1625
|
+
const h = t(e);
|
|
1626
|
+
return JSON.stringify(d) === JSON.stringify(h) ? d : h;
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
const l = bs({
|
|
1608
1630
|
callback(d) {
|
|
1609
1631
|
if (e)
|
|
1610
1632
|
for (const u of d) {
|
|
@@ -1613,45 +1635,35 @@ function Sr(e, t, n) {
|
|
|
1613
1635
|
target: g
|
|
1614
1636
|
} = u;
|
|
1615
1637
|
if (h === "childList" && g instanceof HTMLElement && g.contains(e)) {
|
|
1616
|
-
|
|
1638
|
+
a();
|
|
1617
1639
|
break;
|
|
1618
1640
|
}
|
|
1619
1641
|
}
|
|
1620
1642
|
}
|
|
1621
|
-
}),
|
|
1622
|
-
callback:
|
|
1643
|
+
}), c = En({
|
|
1644
|
+
callback: a
|
|
1623
1645
|
});
|
|
1624
|
-
return
|
|
1625
|
-
|
|
1646
|
+
return qe(() => {
|
|
1647
|
+
a(), e ? (c == null || c.observe(e), l == null || l.observe(document.body, {
|
|
1626
1648
|
childList: !0,
|
|
1627
1649
|
subtree: !0
|
|
1628
|
-
})) : (
|
|
1650
|
+
})) : (c == null || c.disconnect(), l == null || l.disconnect());
|
|
1629
1651
|
}, [e]), o;
|
|
1630
|
-
function c(d) {
|
|
1631
|
-
if (!e)
|
|
1632
|
-
return null;
|
|
1633
|
-
if (e.isConnected === !1) {
|
|
1634
|
-
var u;
|
|
1635
|
-
return (u = d ?? n) != null ? u : null;
|
|
1636
|
-
}
|
|
1637
|
-
const h = t(e);
|
|
1638
|
-
return JSON.stringify(d) === JSON.stringify(h) ? d : h;
|
|
1639
|
-
}
|
|
1640
1652
|
}
|
|
1641
1653
|
function ms(e) {
|
|
1642
|
-
const t =
|
|
1654
|
+
const t = tr(e);
|
|
1643
1655
|
return Br(e, t);
|
|
1644
1656
|
}
|
|
1645
|
-
const
|
|
1657
|
+
const Sr = [];
|
|
1646
1658
|
function ws(e) {
|
|
1647
|
-
const t =
|
|
1659
|
+
const t = X(e), n = qt((o) => e ? o && o !== Sr && e && t.current && e.parentNode === t.current.parentNode ? o : Vn(e) : Sr, [e]);
|
|
1648
1660
|
return K(() => {
|
|
1649
1661
|
t.current = e;
|
|
1650
1662
|
}, [e]), n;
|
|
1651
1663
|
}
|
|
1652
1664
|
function xs(e) {
|
|
1653
|
-
const [t, n] =
|
|
1654
|
-
const l =
|
|
1665
|
+
const [t, n] = ne(null), o = X(e), i = ve((a) => {
|
|
1666
|
+
const l = $n(a.target);
|
|
1655
1667
|
l && n((c) => c ? (c.set(l, Kn(l)), new Map(c)) : null);
|
|
1656
1668
|
}, []);
|
|
1657
1669
|
return K(() => {
|
|
@@ -1659,7 +1671,7 @@ function xs(e) {
|
|
|
1659
1671
|
if (e !== a) {
|
|
1660
1672
|
l(a);
|
|
1661
1673
|
const c = e.map((d) => {
|
|
1662
|
-
const u =
|
|
1674
|
+
const u = $n(d);
|
|
1663
1675
|
return u ? (u.addEventListener("scroll", i, {
|
|
1664
1676
|
passive: !0
|
|
1665
1677
|
}), [u, Kn(u)]) : null;
|
|
@@ -1671,15 +1683,15 @@ function xs(e) {
|
|
|
1671
1683
|
};
|
|
1672
1684
|
function l(c) {
|
|
1673
1685
|
c.forEach((d) => {
|
|
1674
|
-
const u =
|
|
1686
|
+
const u = $n(d);
|
|
1675
1687
|
u == null || u.removeEventListener("scroll", i);
|
|
1676
1688
|
});
|
|
1677
1689
|
}
|
|
1678
|
-
}, [i, e]), j(() => e.length ? t ? Array.from(t.values()).reduce((a, l) =>
|
|
1690
|
+
}, [i, e]), j(() => e.length ? t ? Array.from(t.values()).reduce((a, l) => Lt(a, l), Je) : jr(e) : Je, [e, t]);
|
|
1679
1691
|
}
|
|
1680
|
-
function
|
|
1692
|
+
function Rr(e, t) {
|
|
1681
1693
|
t === void 0 && (t = []);
|
|
1682
|
-
const n =
|
|
1694
|
+
const n = X(null);
|
|
1683
1695
|
return K(
|
|
1684
1696
|
() => {
|
|
1685
1697
|
n.current = null;
|
|
@@ -1689,12 +1701,12 @@ function Ar(e, t) {
|
|
|
1689
1701
|
), K(() => {
|
|
1690
1702
|
const o = e !== Je;
|
|
1691
1703
|
o && !n.current && (n.current = e), !o && n.current && (n.current = null);
|
|
1692
|
-
}, [e]), n.current ?
|
|
1704
|
+
}, [e]), n.current ? mn(e, n.current) : Je;
|
|
1693
1705
|
}
|
|
1694
1706
|
function Cs(e) {
|
|
1695
1707
|
K(
|
|
1696
1708
|
() => {
|
|
1697
|
-
if (!
|
|
1709
|
+
if (!Sn)
|
|
1698
1710
|
return;
|
|
1699
1711
|
const t = e.map((n) => {
|
|
1700
1712
|
let {
|
|
@@ -1731,18 +1743,19 @@ function Ds(e, t) {
|
|
|
1731
1743
|
function Jr(e) {
|
|
1732
1744
|
return j(() => e ? Ji(e) : null, [e]);
|
|
1733
1745
|
}
|
|
1734
|
-
const
|
|
1746
|
+
const Ar = [];
|
|
1735
1747
|
function Ss(e, t) {
|
|
1736
|
-
t === void 0 && (t =
|
|
1737
|
-
const [n] = e, o = Jr(n ?
|
|
1738
|
-
|
|
1748
|
+
t === void 0 && (t = Kt);
|
|
1749
|
+
const [n] = e, o = Jr(n ? Re(n) : null), [i, a] = ne(Ar);
|
|
1750
|
+
function l() {
|
|
1751
|
+
a(() => e.length ? e.map((d) => Xr(d) ? o : new Qn(t(d), d)) : Ar);
|
|
1752
|
+
}
|
|
1753
|
+
const c = En({
|
|
1754
|
+
callback: l
|
|
1739
1755
|
});
|
|
1740
|
-
return
|
|
1741
|
-
|
|
1756
|
+
return qe(() => {
|
|
1757
|
+
c == null || c.disconnect(), l(), e.forEach((d) => c == null ? void 0 : c.observe(d));
|
|
1742
1758
|
}, [e]), i;
|
|
1743
|
-
function c() {
|
|
1744
|
-
return e.length ? e.map((d) => Ur(d) ? o : new Zn(t(d), d)) : zn;
|
|
1745
|
-
}
|
|
1746
1759
|
}
|
|
1747
1760
|
function Vr(e) {
|
|
1748
1761
|
if (!e)
|
|
@@ -1750,17 +1763,17 @@ function Vr(e) {
|
|
|
1750
1763
|
if (e.children.length > 1)
|
|
1751
1764
|
return e;
|
|
1752
1765
|
const t = e.children[0];
|
|
1753
|
-
return
|
|
1766
|
+
return Wt(t) ? t : e;
|
|
1754
1767
|
}
|
|
1755
1768
|
function Rs(e) {
|
|
1756
1769
|
let {
|
|
1757
1770
|
measure: t
|
|
1758
1771
|
} = e;
|
|
1759
|
-
const [n, o] =
|
|
1772
|
+
const [n, o] = ne(null), i = ve((u) => {
|
|
1760
1773
|
for (const {
|
|
1761
1774
|
target: h
|
|
1762
1775
|
} of u)
|
|
1763
|
-
if (
|
|
1776
|
+
if (Wt(h)) {
|
|
1764
1777
|
o((g) => {
|
|
1765
1778
|
const w = t(h);
|
|
1766
1779
|
return g ? {
|
|
@@ -1771,12 +1784,12 @@ function Rs(e) {
|
|
|
1771
1784
|
});
|
|
1772
1785
|
break;
|
|
1773
1786
|
}
|
|
1774
|
-
}, [t]), a =
|
|
1787
|
+
}, [t]), a = En({
|
|
1775
1788
|
callback: i
|
|
1776
|
-
}), l =
|
|
1789
|
+
}), l = ve((u) => {
|
|
1777
1790
|
const h = Vr(u);
|
|
1778
1791
|
a == null || a.disconnect(), h && (a == null || a.observe(h)), o(h ? t(h) : null);
|
|
1779
|
-
}, [t, a]), [c, d] =
|
|
1792
|
+
}, [t, a]), [c, d] = bn(l);
|
|
1780
1793
|
return j(() => ({
|
|
1781
1794
|
nodeRef: c,
|
|
1782
1795
|
rect: n,
|
|
@@ -1787,24 +1800,24 @@ const As = [{
|
|
|
1787
1800
|
sensor: Gr,
|
|
1788
1801
|
options: {}
|
|
1789
1802
|
}, {
|
|
1790
|
-
sensor:
|
|
1803
|
+
sensor: Zn,
|
|
1791
1804
|
options: {}
|
|
1792
1805
|
}], Es = {
|
|
1793
1806
|
current: {}
|
|
1794
|
-
},
|
|
1807
|
+
}, pn = {
|
|
1795
1808
|
draggable: {
|
|
1796
|
-
measure:
|
|
1809
|
+
measure: yr
|
|
1797
1810
|
},
|
|
1798
1811
|
droppable: {
|
|
1799
|
-
measure:
|
|
1800
|
-
strategy:
|
|
1801
|
-
frequency:
|
|
1812
|
+
measure: yr,
|
|
1813
|
+
strategy: $t.WhileDragging,
|
|
1814
|
+
frequency: Xn.Optimized
|
|
1802
1815
|
},
|
|
1803
1816
|
dragOverlay: {
|
|
1804
|
-
measure:
|
|
1817
|
+
measure: Kt
|
|
1805
1818
|
}
|
|
1806
1819
|
};
|
|
1807
|
-
class
|
|
1820
|
+
class jt extends Map {
|
|
1808
1821
|
get(t) {
|
|
1809
1822
|
var n;
|
|
1810
1823
|
return t != null && (n = super.get(t)) != null ? n : void 0;
|
|
@@ -1834,19 +1847,19 @@ const _s = {
|
|
|
1834
1847
|
containerNodeRect: null,
|
|
1835
1848
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
1836
1849
|
droppableRects: /* @__PURE__ */ new Map(),
|
|
1837
|
-
droppableContainers: /* @__PURE__ */ new
|
|
1850
|
+
droppableContainers: /* @__PURE__ */ new jt(),
|
|
1838
1851
|
over: null,
|
|
1839
1852
|
dragOverlay: {
|
|
1840
1853
|
nodeRef: {
|
|
1841
1854
|
current: null
|
|
1842
1855
|
},
|
|
1843
1856
|
rect: null,
|
|
1844
|
-
setRef:
|
|
1857
|
+
setRef: xn
|
|
1845
1858
|
},
|
|
1846
1859
|
scrollableAncestors: [],
|
|
1847
1860
|
scrollableAncestorRects: [],
|
|
1848
|
-
measuringConfiguration:
|
|
1849
|
-
measureDroppableContainers:
|
|
1861
|
+
measuringConfiguration: pn,
|
|
1862
|
+
measureDroppableContainers: xn,
|
|
1850
1863
|
windowRect: null,
|
|
1851
1864
|
measuringScheduled: !1
|
|
1852
1865
|
}, Qr = {
|
|
@@ -1857,11 +1870,11 @@ const _s = {
|
|
|
1857
1870
|
ariaDescribedById: {
|
|
1858
1871
|
draggable: ""
|
|
1859
1872
|
},
|
|
1860
|
-
dispatch:
|
|
1873
|
+
dispatch: xn,
|
|
1861
1874
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
1862
1875
|
over: null,
|
|
1863
|
-
measureDroppableContainers:
|
|
1864
|
-
},
|
|
1876
|
+
measureDroppableContainers: xn
|
|
1877
|
+
}, Vt = /* @__PURE__ */ Gt(Qr), Zr = /* @__PURE__ */ Gt(_s);
|
|
1865
1878
|
function Is() {
|
|
1866
1879
|
return {
|
|
1867
1880
|
draggable: {
|
|
@@ -1877,13 +1890,13 @@ function Is() {
|
|
|
1877
1890
|
}
|
|
1878
1891
|
},
|
|
1879
1892
|
droppable: {
|
|
1880
|
-
containers: new
|
|
1893
|
+
containers: new jt()
|
|
1881
1894
|
}
|
|
1882
1895
|
};
|
|
1883
1896
|
}
|
|
1884
1897
|
function Os(e, t) {
|
|
1885
1898
|
switch (t.type) {
|
|
1886
|
-
case
|
|
1899
|
+
case ce.DragStart:
|
|
1887
1900
|
return {
|
|
1888
1901
|
...e,
|
|
1889
1902
|
draggable: {
|
|
@@ -1892,8 +1905,8 @@ function Os(e, t) {
|
|
|
1892
1905
|
active: t.active
|
|
1893
1906
|
}
|
|
1894
1907
|
};
|
|
1895
|
-
case
|
|
1896
|
-
return e.draggable.active ? {
|
|
1908
|
+
case ce.DragMove:
|
|
1909
|
+
return e.draggable.active == null ? e : {
|
|
1897
1910
|
...e,
|
|
1898
1911
|
draggable: {
|
|
1899
1912
|
...e.draggable,
|
|
@@ -1902,9 +1915,9 @@ function Os(e, t) {
|
|
|
1902
1915
|
y: t.coordinates.y - e.draggable.initialCoordinates.y
|
|
1903
1916
|
}
|
|
1904
1917
|
}
|
|
1905
|
-
}
|
|
1906
|
-
case
|
|
1907
|
-
case
|
|
1918
|
+
};
|
|
1919
|
+
case ce.DragEnd:
|
|
1920
|
+
case ce.DragCancel:
|
|
1908
1921
|
return {
|
|
1909
1922
|
...e,
|
|
1910
1923
|
draggable: {
|
|
@@ -1920,12 +1933,12 @@ function Os(e, t) {
|
|
|
1920
1933
|
}
|
|
1921
1934
|
}
|
|
1922
1935
|
};
|
|
1923
|
-
case
|
|
1936
|
+
case ce.RegisterDroppable: {
|
|
1924
1937
|
const {
|
|
1925
1938
|
element: n
|
|
1926
1939
|
} = t, {
|
|
1927
1940
|
id: o
|
|
1928
|
-
} = n, i = new
|
|
1941
|
+
} = n, i = new jt(e.droppable.containers);
|
|
1929
1942
|
return i.set(o, n), {
|
|
1930
1943
|
...e,
|
|
1931
1944
|
droppable: {
|
|
@@ -1934,7 +1947,7 @@ function Os(e, t) {
|
|
|
1934
1947
|
}
|
|
1935
1948
|
};
|
|
1936
1949
|
}
|
|
1937
|
-
case
|
|
1950
|
+
case ce.SetDroppableDisabled: {
|
|
1938
1951
|
const {
|
|
1939
1952
|
id: n,
|
|
1940
1953
|
key: o,
|
|
@@ -1942,7 +1955,7 @@ function Os(e, t) {
|
|
|
1942
1955
|
} = t, a = e.droppable.containers.get(n);
|
|
1943
1956
|
if (!a || o !== a.key)
|
|
1944
1957
|
return e;
|
|
1945
|
-
const l = new
|
|
1958
|
+
const l = new jt(e.droppable.containers);
|
|
1946
1959
|
return l.set(n, {
|
|
1947
1960
|
...a,
|
|
1948
1961
|
disabled: i
|
|
@@ -1954,14 +1967,14 @@ function Os(e, t) {
|
|
|
1954
1967
|
}
|
|
1955
1968
|
};
|
|
1956
1969
|
}
|
|
1957
|
-
case
|
|
1970
|
+
case ce.UnregisterDroppable: {
|
|
1958
1971
|
const {
|
|
1959
1972
|
id: n,
|
|
1960
1973
|
key: o
|
|
1961
1974
|
} = t, i = e.droppable.containers.get(n);
|
|
1962
1975
|
if (!i || o !== i.key)
|
|
1963
1976
|
return e;
|
|
1964
|
-
const a = new
|
|
1977
|
+
const a = new jt(e.droppable.containers);
|
|
1965
1978
|
return a.delete(n), {
|
|
1966
1979
|
...e,
|
|
1967
1980
|
droppable: {
|
|
@@ -1982,10 +1995,10 @@ function Ts(e) {
|
|
|
1982
1995
|
active: n,
|
|
1983
1996
|
activatorEvent: o,
|
|
1984
1997
|
draggableNodes: i
|
|
1985
|
-
} =
|
|
1998
|
+
} = bt(Vt), a = yn(o), l = yn(n == null ? void 0 : n.id);
|
|
1986
1999
|
return K(() => {
|
|
1987
2000
|
if (!t && !o && a && l != null) {
|
|
1988
|
-
if (!
|
|
2001
|
+
if (!An(a) || document.activeElement === a.target)
|
|
1989
2002
|
return;
|
|
1990
2003
|
const c = i.get(l);
|
|
1991
2004
|
if (!c)
|
|
@@ -2024,15 +2037,15 @@ function Ns(e) {
|
|
|
2024
2037
|
return j(
|
|
2025
2038
|
() => ({
|
|
2026
2039
|
draggable: {
|
|
2027
|
-
...
|
|
2040
|
+
...pn.draggable,
|
|
2028
2041
|
...e == null ? void 0 : e.draggable
|
|
2029
2042
|
},
|
|
2030
2043
|
droppable: {
|
|
2031
|
-
...
|
|
2044
|
+
...pn.droppable,
|
|
2032
2045
|
...e == null ? void 0 : e.droppable
|
|
2033
2046
|
},
|
|
2034
2047
|
dragOverlay: {
|
|
2035
|
-
...
|
|
2048
|
+
...pn.dragOverlay,
|
|
2036
2049
|
...e == null ? void 0 : e.dragOverlay
|
|
2037
2050
|
}
|
|
2038
2051
|
}),
|
|
@@ -2047,14 +2060,14 @@ function Ms(e) {
|
|
|
2047
2060
|
initialRect: o,
|
|
2048
2061
|
config: i = !0
|
|
2049
2062
|
} = e;
|
|
2050
|
-
const a =
|
|
2063
|
+
const a = X(!1), {
|
|
2051
2064
|
x: l,
|
|
2052
2065
|
y: c
|
|
2053
2066
|
} = typeof i == "boolean" ? {
|
|
2054
2067
|
x: i,
|
|
2055
2068
|
y: i
|
|
2056
2069
|
} : i;
|
|
2057
|
-
|
|
2070
|
+
qe(() => {
|
|
2058
2071
|
if (!l && !c || !t) {
|
|
2059
2072
|
a.current = !1;
|
|
2060
2073
|
return;
|
|
@@ -2074,16 +2087,16 @@ function Ms(e) {
|
|
|
2074
2087
|
}
|
|
2075
2088
|
}, [t, l, c, o, n]);
|
|
2076
2089
|
}
|
|
2077
|
-
const
|
|
2090
|
+
const _n = /* @__PURE__ */ Gt({
|
|
2078
2091
|
...Je,
|
|
2079
2092
|
scaleX: 1,
|
|
2080
2093
|
scaleY: 1
|
|
2081
2094
|
});
|
|
2082
|
-
var
|
|
2095
|
+
var vt;
|
|
2083
2096
|
(function(e) {
|
|
2084
2097
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
2085
|
-
})(
|
|
2086
|
-
const Ls = /* @__PURE__ */
|
|
2098
|
+
})(vt || (vt = {}));
|
|
2099
|
+
const Ls = /* @__PURE__ */ hi(function(t) {
|
|
2087
2100
|
var n, o, i, a;
|
|
2088
2101
|
let {
|
|
2089
2102
|
id: l,
|
|
@@ -2096,7 +2109,7 @@ const Ls = /* @__PURE__ */ pi(function(t) {
|
|
|
2096
2109
|
modifiers: b,
|
|
2097
2110
|
...A
|
|
2098
2111
|
} = t;
|
|
2099
|
-
const v =
|
|
2112
|
+
const v = pi(Os, void 0, Is), [x, S] = v, [E, D] = Li(), [R, T] = ne(vt.Uninitialized), _ = R === vt.Initialized, {
|
|
2100
2113
|
draggable: {
|
|
2101
2114
|
active: O,
|
|
2102
2115
|
nodes: M,
|
|
@@ -2105,33 +2118,33 @@ const Ls = /* @__PURE__ */ pi(function(t) {
|
|
|
2105
2118
|
droppable: {
|
|
2106
2119
|
containers: U
|
|
2107
2120
|
}
|
|
2108
|
-
} = x, B = O ? M.get(O) : null, re =
|
|
2121
|
+
} = x, B = O != null ? M.get(O) : null, re = X({
|
|
2109
2122
|
initial: null,
|
|
2110
2123
|
translated: null
|
|
2111
2124
|
}), Q = j(() => {
|
|
2112
|
-
var
|
|
2125
|
+
var q;
|
|
2113
2126
|
return O != null ? {
|
|
2114
2127
|
id: O,
|
|
2115
2128
|
// It's possible for the active node to unmount while dragging
|
|
2116
|
-
data: (
|
|
2129
|
+
data: (q = B == null ? void 0 : B.data) != null ? q : Es,
|
|
2117
2130
|
rect: re
|
|
2118
2131
|
} : null;
|
|
2119
|
-
}, [O, B]),
|
|
2132
|
+
}, [O, B]), Ae = X(null), [Xe, F] = ne(null), [J, Pe] = ne(null), Ne = kt(A, Object.values(A)), ue = Jt("DndDescribedBy", l), $e = j(() => U.getEnabled(), [U]), V = Ns(w), {
|
|
2120
2133
|
droppableRects: we,
|
|
2121
|
-
measureDroppableContainers:
|
|
2122
|
-
measuringScheduled:
|
|
2123
|
-
} = ps(
|
|
2134
|
+
measureDroppableContainers: Ue,
|
|
2135
|
+
measuringScheduled: et
|
|
2136
|
+
} = ps($e, {
|
|
2124
2137
|
dragging: _,
|
|
2125
2138
|
dependencies: [H.x, H.y],
|
|
2126
2139
|
config: V.droppable
|
|
2127
|
-
}), Z = gs(M, O),
|
|
2140
|
+
}), Z = gs(M, O), tt = j(() => J ? wn(J) : null, [J]), Be = Ye(), de = vs(Z, V.draggable.measure);
|
|
2128
2141
|
Ms({
|
|
2129
|
-
activeNode: O ? M.get(O) : null,
|
|
2130
|
-
config:
|
|
2131
|
-
initialRect:
|
|
2142
|
+
activeNode: O != null ? M.get(O) : null,
|
|
2143
|
+
config: Be.layoutShiftCompensation,
|
|
2144
|
+
initialRect: de,
|
|
2132
2145
|
measure: V.draggable.measure
|
|
2133
2146
|
});
|
|
2134
|
-
const $ =
|
|
2147
|
+
const $ = Dr(Z, V.draggable.measure, de), nt = Dr(Z ? Z.parentElement : null), Ee = X({
|
|
2135
2148
|
activatorEvent: null,
|
|
2136
2149
|
active: null,
|
|
2137
2150
|
activeNode: Z,
|
|
@@ -2145,120 +2158,119 @@ const Ls = /* @__PURE__ */ pi(function(t) {
|
|
|
2145
2158
|
over: null,
|
|
2146
2159
|
scrollableAncestors: [],
|
|
2147
2160
|
scrollAdjustedTranslate: null
|
|
2148
|
-
}), Ve = U.getNodeFor((n =
|
|
2161
|
+
}), Ve = U.getNodeFor((n = Ee.current.over) == null ? void 0 : n.id), P = Rs({
|
|
2149
2162
|
measure: V.dragOverlay.measure
|
|
2150
|
-
}), Qe = (o = P.nodeRef.current) != null ? o : Z,
|
|
2163
|
+
}), Qe = (o = P.nodeRef.current) != null ? o : Z, je = _ ? (i = P.rect) != null ? i : $ : null, mt = !!(P.nodeRef.current && P.rect), _e = ms(mt ? null : $), Ze = Jr(Qe ? Re(Qe) : null), p = ws(_ ? Ve ?? Z : null), m = Ss(p), N = eo(b, {
|
|
2151
2164
|
transform: {
|
|
2152
|
-
x: H.x -
|
|
2153
|
-
y: H.y -
|
|
2165
|
+
x: H.x - _e.x,
|
|
2166
|
+
y: H.y - _e.y,
|
|
2154
2167
|
scaleX: 1,
|
|
2155
2168
|
scaleY: 1
|
|
2156
2169
|
},
|
|
2157
2170
|
activatorEvent: J,
|
|
2158
2171
|
active: Q,
|
|
2159
2172
|
activeNodeRect: $,
|
|
2160
|
-
containerNodeRect:
|
|
2161
|
-
draggingNodeRect:
|
|
2162
|
-
over:
|
|
2173
|
+
containerNodeRect: nt,
|
|
2174
|
+
draggingNodeRect: je,
|
|
2175
|
+
over: Ee.current.over,
|
|
2163
2176
|
overlayNodeRect: P.rect,
|
|
2164
2177
|
scrollableAncestors: p,
|
|
2165
2178
|
scrollableAncestorRects: m,
|
|
2166
2179
|
windowRect: Ze
|
|
2167
|
-
}),
|
|
2180
|
+
}), W = tt ? Lt(tt, H) : null, k = xs(p), fe = Rr(k), ee = Rr(k, [$]), oe = Lt(N, fe), he = je ? Gi(je, N) : null, be = Q && he ? g({
|
|
2168
2181
|
active: Q,
|
|
2169
|
-
collisionRect:
|
|
2182
|
+
collisionRect: he,
|
|
2170
2183
|
droppableRects: we,
|
|
2171
|
-
droppableContainers:
|
|
2172
|
-
pointerCoordinates:
|
|
2173
|
-
}) : null,
|
|
2174
|
-
(
|
|
2184
|
+
droppableContainers: $e,
|
|
2185
|
+
pointerCoordinates: W
|
|
2186
|
+
}) : null, rt = Jn(be, "id"), [te, Me] = ne(null), wt = mt ? N : Lt(N, ee), ie = Yi(wt, (a = te == null ? void 0 : te.rect) != null ? a : null, $), se = X(null), Le = ve(
|
|
2187
|
+
(q, xe) => {
|
|
2175
2188
|
let {
|
|
2176
|
-
sensor:
|
|
2189
|
+
sensor: ye,
|
|
2177
2190
|
options: ke
|
|
2178
|
-
} =
|
|
2179
|
-
if (
|
|
2191
|
+
} = xe;
|
|
2192
|
+
if (Ae.current == null)
|
|
2180
2193
|
return;
|
|
2181
|
-
const
|
|
2182
|
-
if (!
|
|
2194
|
+
const Ie = M.get(Ae.current);
|
|
2195
|
+
if (!Ie)
|
|
2183
2196
|
return;
|
|
2184
|
-
const
|
|
2185
|
-
active:
|
|
2186
|
-
activeNode:
|
|
2187
|
-
event:
|
|
2197
|
+
const Ce = q.nativeEvent, ze = new ye({
|
|
2198
|
+
active: Ae.current,
|
|
2199
|
+
activeNode: Ie,
|
|
2200
|
+
event: Ce,
|
|
2188
2201
|
options: ke,
|
|
2189
2202
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
2190
2203
|
// otherwise they are frozen in time with the stale arguments
|
|
2191
|
-
context:
|
|
2192
|
-
onStart(
|
|
2193
|
-
const
|
|
2194
|
-
if (
|
|
2204
|
+
context: Ee,
|
|
2205
|
+
onStart(De) {
|
|
2206
|
+
const Ge = Ae.current;
|
|
2207
|
+
if (Ge == null)
|
|
2195
2208
|
return;
|
|
2196
|
-
const
|
|
2197
|
-
if (!
|
|
2209
|
+
const it = M.get(Ge);
|
|
2210
|
+
if (!it)
|
|
2198
2211
|
return;
|
|
2199
2212
|
const {
|
|
2200
2213
|
onDragStart: dt
|
|
2201
|
-
} =
|
|
2214
|
+
} = Ne.current, ft = {
|
|
2215
|
+
activatorEvent: Ce,
|
|
2202
2216
|
active: {
|
|
2203
|
-
id:
|
|
2204
|
-
data:
|
|
2217
|
+
id: Ge,
|
|
2218
|
+
data: it.data,
|
|
2205
2219
|
rect: re
|
|
2206
2220
|
}
|
|
2207
2221
|
};
|
|
2208
|
-
|
|
2209
|
-
dt == null || dt(ft), T(
|
|
2210
|
-
type:
|
|
2211
|
-
initialCoordinates:
|
|
2212
|
-
active:
|
|
2222
|
+
Mt.unstable_batchedUpdates(() => {
|
|
2223
|
+
dt == null || dt(ft), T(vt.Initializing), S({
|
|
2224
|
+
type: ce.DragStart,
|
|
2225
|
+
initialCoordinates: De,
|
|
2226
|
+
active: Ge
|
|
2213
2227
|
}), E({
|
|
2214
2228
|
type: "onDragStart",
|
|
2215
2229
|
event: ft
|
|
2216
|
-
});
|
|
2230
|
+
}), F(se.current), Pe(Ce);
|
|
2217
2231
|
});
|
|
2218
2232
|
},
|
|
2219
|
-
onMove(
|
|
2233
|
+
onMove(De) {
|
|
2220
2234
|
S({
|
|
2221
|
-
type:
|
|
2222
|
-
coordinates:
|
|
2235
|
+
type: ce.DragMove,
|
|
2236
|
+
coordinates: De
|
|
2223
2237
|
});
|
|
2224
2238
|
},
|
|
2225
|
-
onEnd: ut(
|
|
2226
|
-
onCancel: ut(
|
|
2227
|
-
});
|
|
2228
|
-
At.unstable_batchedUpdates(() => {
|
|
2229
|
-
F(ze), Le(X.nativeEvent);
|
|
2239
|
+
onEnd: ut(ce.DragEnd),
|
|
2240
|
+
onCancel: ut(ce.DragCancel)
|
|
2230
2241
|
});
|
|
2231
|
-
|
|
2242
|
+
se.current = ze;
|
|
2243
|
+
function ut(De) {
|
|
2232
2244
|
return async function() {
|
|
2233
2245
|
const {
|
|
2234
|
-
active:
|
|
2246
|
+
active: it,
|
|
2235
2247
|
collisions: dt,
|
|
2236
2248
|
over: ft,
|
|
2237
|
-
scrollAdjustedTranslate:
|
|
2238
|
-
} =
|
|
2239
|
-
let
|
|
2240
|
-
if (
|
|
2249
|
+
scrollAdjustedTranslate: gt
|
|
2250
|
+
} = Ee.current;
|
|
2251
|
+
let xt = null;
|
|
2252
|
+
if (it && gt) {
|
|
2241
2253
|
const {
|
|
2242
|
-
cancelDrop:
|
|
2243
|
-
} =
|
|
2244
|
-
|
|
2245
|
-
activatorEvent:
|
|
2246
|
-
active:
|
|
2254
|
+
cancelDrop: Ct
|
|
2255
|
+
} = Ne.current;
|
|
2256
|
+
xt = {
|
|
2257
|
+
activatorEvent: Ce,
|
|
2258
|
+
active: it,
|
|
2247
2259
|
collisions: dt,
|
|
2248
|
-
delta:
|
|
2260
|
+
delta: gt,
|
|
2249
2261
|
over: ft
|
|
2250
|
-
},
|
|
2262
|
+
}, De === ce.DragEnd && typeof Ct == "function" && await Promise.resolve(Ct(xt)) && (De = ce.DragCancel);
|
|
2251
2263
|
}
|
|
2252
|
-
|
|
2264
|
+
Ae.current = null, Mt.unstable_batchedUpdates(() => {
|
|
2253
2265
|
S({
|
|
2254
|
-
type:
|
|
2255
|
-
}), T(
|
|
2256
|
-
const
|
|
2257
|
-
if (
|
|
2258
|
-
const
|
|
2259
|
-
|
|
2260
|
-
type:
|
|
2261
|
-
event:
|
|
2266
|
+
type: De
|
|
2267
|
+
}), T(vt.Uninitialized), Me(null), F(null), Pe(null), se.current = null;
|
|
2268
|
+
const Ct = De === ce.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2269
|
+
if (xt) {
|
|
2270
|
+
const Ht = Ne.current[Ct];
|
|
2271
|
+
Ht == null || Ht(xt), E({
|
|
2272
|
+
type: Ct,
|
|
2273
|
+
event: xt
|
|
2262
2274
|
});
|
|
2263
2275
|
}
|
|
2264
2276
|
});
|
|
@@ -2267,50 +2279,50 @@ const Ls = /* @__PURE__ */ pi(function(t) {
|
|
|
2267
2279
|
},
|
|
2268
2280
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2269
2281
|
[M]
|
|
2270
|
-
),
|
|
2271
|
-
const
|
|
2282
|
+
), ot = ve((q, xe) => (ye, ke) => {
|
|
2283
|
+
const Ie = ye.nativeEvent, Ce = M.get(ke);
|
|
2272
2284
|
if (
|
|
2273
2285
|
// Another sensor is already instantiating
|
|
2274
|
-
|
|
2275
|
-
!
|
|
2276
|
-
|
|
2286
|
+
Ae.current !== null || // No active draggable
|
|
2287
|
+
!Ce || // Event has already been captured
|
|
2288
|
+
Ie.dndKit || Ie.defaultPrevented
|
|
2277
2289
|
)
|
|
2278
2290
|
return;
|
|
2279
2291
|
const ze = {
|
|
2280
|
-
active:
|
|
2292
|
+
active: Ce
|
|
2281
2293
|
};
|
|
2282
|
-
|
|
2283
|
-
capturedBy:
|
|
2284
|
-
},
|
|
2285
|
-
}, [M,
|
|
2286
|
-
Cs(h),
|
|
2287
|
-
$ && R ===
|
|
2294
|
+
q(ye, xe.options, ze) === !0 && (Ie.dndKit = {
|
|
2295
|
+
capturedBy: xe.sensor
|
|
2296
|
+
}, Ae.current = ke, Le(ye, xe));
|
|
2297
|
+
}, [M, Le]), _t = hs(h, ot);
|
|
2298
|
+
Cs(h), qe(() => {
|
|
2299
|
+
$ && R === vt.Initializing && T(vt.Initialized);
|
|
2288
2300
|
}, [$, R]), K(
|
|
2289
2301
|
() => {
|
|
2290
2302
|
const {
|
|
2291
|
-
onDragMove:
|
|
2292
|
-
} =
|
|
2293
|
-
active:
|
|
2294
|
-
activatorEvent:
|
|
2303
|
+
onDragMove: q
|
|
2304
|
+
} = Ne.current, {
|
|
2305
|
+
active: xe,
|
|
2306
|
+
activatorEvent: ye,
|
|
2295
2307
|
collisions: ke,
|
|
2296
|
-
over:
|
|
2297
|
-
} =
|
|
2298
|
-
if (!
|
|
2308
|
+
over: Ie
|
|
2309
|
+
} = Ee.current;
|
|
2310
|
+
if (!xe || !ye)
|
|
2299
2311
|
return;
|
|
2300
|
-
const
|
|
2301
|
-
active:
|
|
2302
|
-
activatorEvent:
|
|
2312
|
+
const Ce = {
|
|
2313
|
+
active: xe,
|
|
2314
|
+
activatorEvent: ye,
|
|
2303
2315
|
collisions: ke,
|
|
2304
2316
|
delta: {
|
|
2305
2317
|
x: oe.x,
|
|
2306
2318
|
y: oe.y
|
|
2307
2319
|
},
|
|
2308
|
-
over:
|
|
2320
|
+
over: Ie
|
|
2309
2321
|
};
|
|
2310
|
-
|
|
2311
|
-
|
|
2322
|
+
Mt.unstable_batchedUpdates(() => {
|
|
2323
|
+
q == null || q(Ce), E({
|
|
2312
2324
|
type: "onDragMove",
|
|
2313
|
-
event:
|
|
2325
|
+
event: Ce
|
|
2314
2326
|
});
|
|
2315
2327
|
});
|
|
2316
2328
|
},
|
|
@@ -2319,122 +2331,122 @@ const Ls = /* @__PURE__ */ pi(function(t) {
|
|
|
2319
2331
|
), K(
|
|
2320
2332
|
() => {
|
|
2321
2333
|
const {
|
|
2322
|
-
active:
|
|
2323
|
-
activatorEvent:
|
|
2324
|
-
collisions:
|
|
2334
|
+
active: q,
|
|
2335
|
+
activatorEvent: xe,
|
|
2336
|
+
collisions: ye,
|
|
2325
2337
|
droppableContainers: ke,
|
|
2326
|
-
scrollAdjustedTranslate:
|
|
2327
|
-
} =
|
|
2328
|
-
if (!
|
|
2338
|
+
scrollAdjustedTranslate: Ie
|
|
2339
|
+
} = Ee.current;
|
|
2340
|
+
if (!q || Ae.current == null || !xe || !Ie)
|
|
2329
2341
|
return;
|
|
2330
2342
|
const {
|
|
2331
|
-
onDragOver:
|
|
2332
|
-
} =
|
|
2343
|
+
onDragOver: Ce
|
|
2344
|
+
} = Ne.current, ze = ke.get(rt), ut = ze && ze.rect.current ? {
|
|
2333
2345
|
id: ze.id,
|
|
2334
2346
|
rect: ze.rect.current,
|
|
2335
2347
|
data: ze.data,
|
|
2336
2348
|
disabled: ze.disabled
|
|
2337
|
-
} : null,
|
|
2338
|
-
active:
|
|
2339
|
-
activatorEvent:
|
|
2340
|
-
collisions:
|
|
2349
|
+
} : null, De = {
|
|
2350
|
+
active: q,
|
|
2351
|
+
activatorEvent: xe,
|
|
2352
|
+
collisions: ye,
|
|
2341
2353
|
delta: {
|
|
2342
|
-
x:
|
|
2343
|
-
y:
|
|
2354
|
+
x: Ie.x,
|
|
2355
|
+
y: Ie.y
|
|
2344
2356
|
},
|
|
2345
2357
|
over: ut
|
|
2346
2358
|
};
|
|
2347
|
-
|
|
2348
|
-
|
|
2359
|
+
Mt.unstable_batchedUpdates(() => {
|
|
2360
|
+
Me(ut), Ce == null || Ce(De), E({
|
|
2349
2361
|
type: "onDragOver",
|
|
2350
|
-
event:
|
|
2362
|
+
event: De
|
|
2351
2363
|
});
|
|
2352
2364
|
});
|
|
2353
2365
|
},
|
|
2354
2366
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2355
|
-
[
|
|
2356
|
-
),
|
|
2357
|
-
|
|
2367
|
+
[rt]
|
|
2368
|
+
), qe(() => {
|
|
2369
|
+
Ee.current = {
|
|
2358
2370
|
activatorEvent: J,
|
|
2359
2371
|
active: Q,
|
|
2360
2372
|
activeNode: Z,
|
|
2361
|
-
collisionRect:
|
|
2362
|
-
collisions:
|
|
2373
|
+
collisionRect: he,
|
|
2374
|
+
collisions: be,
|
|
2363
2375
|
droppableRects: we,
|
|
2364
2376
|
draggableNodes: M,
|
|
2365
2377
|
draggingNode: Qe,
|
|
2366
|
-
draggingNodeRect:
|
|
2378
|
+
draggingNodeRect: je,
|
|
2367
2379
|
droppableContainers: U,
|
|
2368
2380
|
over: te,
|
|
2369
2381
|
scrollableAncestors: p,
|
|
2370
2382
|
scrollAdjustedTranslate: oe
|
|
2371
2383
|
}, re.current = {
|
|
2372
|
-
initial:
|
|
2373
|
-
translated:
|
|
2384
|
+
initial: je,
|
|
2385
|
+
translated: he
|
|
2374
2386
|
};
|
|
2375
|
-
}, [Q, Z,
|
|
2376
|
-
|
|
2387
|
+
}, [Q, Z, be, he, M, Qe, je, we, U, te, p, oe]), us({
|
|
2388
|
+
...Be,
|
|
2377
2389
|
delta: H,
|
|
2378
|
-
draggingRect:
|
|
2379
|
-
pointerCoordinates:
|
|
2390
|
+
draggingRect: he,
|
|
2391
|
+
pointerCoordinates: W,
|
|
2380
2392
|
scrollableAncestors: p,
|
|
2381
2393
|
scrollableAncestorRects: m
|
|
2382
2394
|
});
|
|
2383
|
-
const
|
|
2395
|
+
const Qt = j(() => ({
|
|
2384
2396
|
active: Q,
|
|
2385
2397
|
activeNode: Z,
|
|
2386
2398
|
activeNodeRect: $,
|
|
2387
2399
|
activatorEvent: J,
|
|
2388
|
-
collisions:
|
|
2389
|
-
containerNodeRect:
|
|
2400
|
+
collisions: be,
|
|
2401
|
+
containerNodeRect: nt,
|
|
2390
2402
|
dragOverlay: P,
|
|
2391
2403
|
draggableNodes: M,
|
|
2392
2404
|
droppableContainers: U,
|
|
2393
2405
|
droppableRects: we,
|
|
2394
2406
|
over: te,
|
|
2395
|
-
measureDroppableContainers:
|
|
2407
|
+
measureDroppableContainers: Ue,
|
|
2396
2408
|
scrollableAncestors: p,
|
|
2397
2409
|
scrollableAncestorRects: m,
|
|
2398
2410
|
measuringConfiguration: V,
|
|
2399
|
-
measuringScheduled:
|
|
2411
|
+
measuringScheduled: et,
|
|
2400
2412
|
windowRect: Ze
|
|
2401
|
-
}), [Q, Z, $, J,
|
|
2413
|
+
}), [Q, Z, $, J, be, nt, P, M, U, we, te, Ue, p, m, V, et, Ze]), Zt = j(() => ({
|
|
2402
2414
|
activatorEvent: J,
|
|
2403
|
-
activators:
|
|
2415
|
+
activators: _t,
|
|
2404
2416
|
active: Q,
|
|
2405
2417
|
activeNodeRect: $,
|
|
2406
2418
|
ariaDescribedById: {
|
|
2407
|
-
draggable:
|
|
2419
|
+
draggable: ue
|
|
2408
2420
|
},
|
|
2409
2421
|
dispatch: S,
|
|
2410
2422
|
draggableNodes: M,
|
|
2411
2423
|
over: te,
|
|
2412
|
-
measureDroppableContainers:
|
|
2413
|
-
}), [J,
|
|
2414
|
-
return
|
|
2424
|
+
measureDroppableContainers: Ue
|
|
2425
|
+
}), [J, _t, Q, $, S, ue, M, te, Ue]);
|
|
2426
|
+
return Y.createElement(Pr.Provider, {
|
|
2415
2427
|
value: D
|
|
2416
|
-
},
|
|
2417
|
-
value:
|
|
2418
|
-
},
|
|
2419
|
-
value:
|
|
2420
|
-
},
|
|
2428
|
+
}, Y.createElement(Vt.Provider, {
|
|
2429
|
+
value: Zt
|
|
2430
|
+
}, Y.createElement(Zr.Provider, {
|
|
2431
|
+
value: Qt
|
|
2432
|
+
}, Y.createElement(_n.Provider, {
|
|
2421
2433
|
value: ie
|
|
2422
|
-
}, u)),
|
|
2434
|
+
}, u)), Y.createElement(Ts, {
|
|
2423
2435
|
disabled: (c == null ? void 0 : c.restoreFocus) === !1
|
|
2424
|
-
})),
|
|
2436
|
+
})), Y.createElement(Bi, {
|
|
2425
2437
|
...c,
|
|
2426
|
-
hiddenTextDescribedById:
|
|
2438
|
+
hiddenTextDescribedById: ue
|
|
2427
2439
|
}));
|
|
2428
|
-
function
|
|
2429
|
-
const
|
|
2440
|
+
function Ye() {
|
|
2441
|
+
const q = (Xe == null ? void 0 : Xe.autoScrollEnabled) === !1, xe = typeof d == "object" ? d.enabled === !1 : d === !1, ye = _ && !q && !xe;
|
|
2430
2442
|
return typeof d == "object" ? {
|
|
2431
2443
|
...d,
|
|
2432
|
-
enabled:
|
|
2444
|
+
enabled: ye
|
|
2433
2445
|
} : {
|
|
2434
|
-
enabled:
|
|
2446
|
+
enabled: ye
|
|
2435
2447
|
};
|
|
2436
2448
|
}
|
|
2437
|
-
}), Ps = /* @__PURE__ */
|
|
2449
|
+
}), Ps = /* @__PURE__ */ Gt(null), Er = "button", $s = "Draggable";
|
|
2438
2450
|
function Bs(e) {
|
|
2439
2451
|
let {
|
|
2440
2452
|
id: t,
|
|
@@ -2442,7 +2454,7 @@ function Bs(e) {
|
|
|
2442
2454
|
disabled: o = !1,
|
|
2443
2455
|
attributes: i
|
|
2444
2456
|
} = e;
|
|
2445
|
-
const a =
|
|
2457
|
+
const a = Jt($s), {
|
|
2446
2458
|
activators: l,
|
|
2447
2459
|
activatorEvent: c,
|
|
2448
2460
|
active: d,
|
|
@@ -2450,12 +2462,12 @@ function Bs(e) {
|
|
|
2450
2462
|
ariaDescribedById: h,
|
|
2451
2463
|
draggableNodes: g,
|
|
2452
2464
|
over: w
|
|
2453
|
-
} =
|
|
2465
|
+
} = bt(Vt), {
|
|
2454
2466
|
role: b = Er,
|
|
2455
2467
|
roleDescription: A = "draggable",
|
|
2456
2468
|
tabIndex: v = 0
|
|
2457
|
-
} = i ?? {}, x = (d == null ? void 0 : d.id) === t, S =
|
|
2458
|
-
|
|
2469
|
+
} = i ?? {}, x = (d == null ? void 0 : d.id) === t, S = bt(x ? _n : Ps), [E, D] = bn(), [R, T] = bn(), _ = Ds(l, t), O = kt(n);
|
|
2470
|
+
qe(
|
|
2459
2471
|
() => (g.set(t, {
|
|
2460
2472
|
id: t,
|
|
2461
2473
|
key: a,
|
|
@@ -2492,7 +2504,7 @@ function Bs(e) {
|
|
|
2492
2504
|
};
|
|
2493
2505
|
}
|
|
2494
2506
|
function to() {
|
|
2495
|
-
return
|
|
2507
|
+
return bt(Zr);
|
|
2496
2508
|
}
|
|
2497
2509
|
const zs = "Droppable", Fs = {
|
|
2498
2510
|
timeout: 25
|
|
@@ -2504,21 +2516,21 @@ function Ks(e) {
|
|
|
2504
2516
|
id: o,
|
|
2505
2517
|
resizeObserverConfig: i
|
|
2506
2518
|
} = e;
|
|
2507
|
-
const a =
|
|
2519
|
+
const a = Jt(zs), {
|
|
2508
2520
|
active: l,
|
|
2509
2521
|
dispatch: c,
|
|
2510
2522
|
over: d,
|
|
2511
2523
|
measureDroppableContainers: u
|
|
2512
|
-
} =
|
|
2524
|
+
} = bt(Vt), h = X({
|
|
2513
2525
|
disabled: n
|
|
2514
|
-
}), g =
|
|
2526
|
+
}), g = X(!1), w = X(null), b = X(null), {
|
|
2515
2527
|
disabled: A,
|
|
2516
2528
|
updateMeasurementsFor: v,
|
|
2517
2529
|
timeout: x
|
|
2518
2530
|
} = {
|
|
2519
2531
|
...Fs,
|
|
2520
2532
|
...i
|
|
2521
|
-
}, S =
|
|
2533
|
+
}, S = kt(v ?? o), E = ve(
|
|
2522
2534
|
() => {
|
|
2523
2535
|
if (!g.current) {
|
|
2524
2536
|
g.current = !0;
|
|
@@ -2530,17 +2542,17 @@ function Ks(e) {
|
|
|
2530
2542
|
},
|
|
2531
2543
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2532
2544
|
[x]
|
|
2533
|
-
), D =
|
|
2545
|
+
), D = En({
|
|
2534
2546
|
callback: E,
|
|
2535
2547
|
disabled: A || !l
|
|
2536
|
-
}), R =
|
|
2548
|
+
}), R = ve((M, H) => {
|
|
2537
2549
|
D && (H && (D.unobserve(H), g.current = !1), M && D.observe(M));
|
|
2538
|
-
}, [D]), [T, _] =
|
|
2550
|
+
}, [D]), [T, _] = bn(R), O = kt(t);
|
|
2539
2551
|
return K(() => {
|
|
2540
2552
|
!D || !T.current || (D.disconnect(), g.current = !1, D.observe(T.current));
|
|
2541
|
-
}, [T, D]),
|
|
2553
|
+
}, [T, D]), K(
|
|
2542
2554
|
() => (c({
|
|
2543
|
-
type:
|
|
2555
|
+
type: ce.RegisterDroppable,
|
|
2544
2556
|
element: {
|
|
2545
2557
|
id: o,
|
|
2546
2558
|
key: a,
|
|
@@ -2550,7 +2562,7 @@ function Ks(e) {
|
|
|
2550
2562
|
data: O
|
|
2551
2563
|
}
|
|
2552
2564
|
}), () => c({
|
|
2553
|
-
type:
|
|
2565
|
+
type: ce.UnregisterDroppable,
|
|
2554
2566
|
key: a,
|
|
2555
2567
|
id: o
|
|
2556
2568
|
})),
|
|
@@ -2558,7 +2570,7 @@ function Ks(e) {
|
|
|
2558
2570
|
[o]
|
|
2559
2571
|
), K(() => {
|
|
2560
2572
|
n !== h.current.disabled && (c({
|
|
2561
|
-
type:
|
|
2573
|
+
type: ce.SetDroppableDisabled,
|
|
2562
2574
|
id: o,
|
|
2563
2575
|
key: a,
|
|
2564
2576
|
disabled: n
|
|
@@ -2577,8 +2589,8 @@ function Hs(e) {
|
|
|
2577
2589
|
animation: t,
|
|
2578
2590
|
children: n
|
|
2579
2591
|
} = e;
|
|
2580
|
-
const [o, i] =
|
|
2581
|
-
return !n && !o && c && i(c),
|
|
2592
|
+
const [o, i] = ne(null), [a, l] = ne(null), c = yn(n);
|
|
2593
|
+
return !n && !o && c && i(c), qe(() => {
|
|
2582
2594
|
if (!a)
|
|
2583
2595
|
return;
|
|
2584
2596
|
const d = o == null ? void 0 : o.key, u = o == null ? void 0 : o.props.id;
|
|
@@ -2589,30 +2601,30 @@ function Hs(e) {
|
|
|
2589
2601
|
Promise.resolve(t(u, a)).then(() => {
|
|
2590
2602
|
i(null);
|
|
2591
2603
|
});
|
|
2592
|
-
}, [t, o, a]),
|
|
2604
|
+
}, [t, o, a]), Y.createElement(Y.Fragment, null, n, o ? vi(o, {
|
|
2593
2605
|
ref: l
|
|
2594
2606
|
}) : null);
|
|
2595
2607
|
}
|
|
2596
|
-
const
|
|
2608
|
+
const Xs = {
|
|
2597
2609
|
x: 0,
|
|
2598
2610
|
y: 0,
|
|
2599
2611
|
scaleX: 1,
|
|
2600
2612
|
scaleY: 1
|
|
2601
2613
|
};
|
|
2602
|
-
function
|
|
2614
|
+
function Us(e) {
|
|
2603
2615
|
let {
|
|
2604
2616
|
children: t
|
|
2605
2617
|
} = e;
|
|
2606
|
-
return
|
|
2618
|
+
return Y.createElement(Vt.Provider, {
|
|
2607
2619
|
value: Qr
|
|
2608
|
-
},
|
|
2609
|
-
value:
|
|
2620
|
+
}, Y.createElement(_n.Provider, {
|
|
2621
|
+
value: Xs
|
|
2610
2622
|
}, t));
|
|
2611
2623
|
}
|
|
2612
2624
|
const js = {
|
|
2613
2625
|
position: "fixed",
|
|
2614
2626
|
touchAction: "none"
|
|
2615
|
-
}, Ys = (e) =>
|
|
2627
|
+
}, Ys = (e) => An(e) ? "transform 250ms ease" : void 0, ks = /* @__PURE__ */ Nr((e, t) => {
|
|
2616
2628
|
let {
|
|
2617
2629
|
as: n,
|
|
2618
2630
|
activatorEvent: o,
|
|
@@ -2636,12 +2648,12 @@ const js = {
|
|
|
2636
2648
|
height: c.height,
|
|
2637
2649
|
top: c.top,
|
|
2638
2650
|
left: c.left,
|
|
2639
|
-
transform:
|
|
2651
|
+
transform: yt.Transform.toString(g),
|
|
2640
2652
|
transformOrigin: i && o ? Fi(o, c) : void 0,
|
|
2641
2653
|
transition: typeof h == "function" ? h(o) : h,
|
|
2642
2654
|
...d
|
|
2643
2655
|
};
|
|
2644
|
-
return
|
|
2656
|
+
return Y.createElement(n, {
|
|
2645
2657
|
className: l,
|
|
2646
2658
|
style: w,
|
|
2647
2659
|
ref: t
|
|
@@ -2674,9 +2686,9 @@ const js = {
|
|
|
2674
2686
|
}
|
|
2675
2687
|
} = e;
|
|
2676
2688
|
return [{
|
|
2677
|
-
transform:
|
|
2689
|
+
transform: yt.Transform.toString(t)
|
|
2678
2690
|
}, {
|
|
2679
|
-
transform:
|
|
2691
|
+
transform: yt.Transform.toString(n)
|
|
2680
2692
|
}];
|
|
2681
2693
|
}, Ws = {
|
|
2682
2694
|
duration: 250,
|
|
@@ -2697,7 +2709,7 @@ function qs(e) {
|
|
|
2697
2709
|
droppableContainers: o,
|
|
2698
2710
|
measuringConfiguration: i
|
|
2699
2711
|
} = e;
|
|
2700
|
-
return
|
|
2712
|
+
return Rn((a, l) => {
|
|
2701
2713
|
if (t === null)
|
|
2702
2714
|
return;
|
|
2703
2715
|
const c = n.get(a);
|
|
@@ -2711,7 +2723,7 @@ function qs(e) {
|
|
|
2711
2723
|
return;
|
|
2712
2724
|
const {
|
|
2713
2725
|
transform: h
|
|
2714
|
-
} =
|
|
2726
|
+
} = Re(l).getComputedStyle(l), g = zr(h);
|
|
2715
2727
|
if (!g)
|
|
2716
2728
|
return;
|
|
2717
2729
|
const w = typeof t == "function" ? t : Js(t);
|
|
@@ -2796,7 +2808,7 @@ function Vs(e) {
|
|
|
2796
2808
|
return _r++, _r;
|
|
2797
2809
|
}, [e]);
|
|
2798
2810
|
}
|
|
2799
|
-
const Qs = /* @__PURE__ */
|
|
2811
|
+
const Qs = /* @__PURE__ */ Y.memo((e) => {
|
|
2800
2812
|
let {
|
|
2801
2813
|
adjustScale: t = !1,
|
|
2802
2814
|
children: n,
|
|
@@ -2821,7 +2833,7 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
|
|
|
2821
2833
|
scrollableAncestors: D,
|
|
2822
2834
|
scrollableAncestorRects: R,
|
|
2823
2835
|
windowRect: T
|
|
2824
|
-
} = to(), _ =
|
|
2836
|
+
} = to(), _ = bt(_n), O = Vs(g == null ? void 0 : g.id), M = eo(l, {
|
|
2825
2837
|
activatorEvent: h,
|
|
2826
2838
|
active: g,
|
|
2827
2839
|
activeNodeRect: w,
|
|
@@ -2833,15 +2845,15 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
|
|
|
2833
2845
|
scrollableAncestorRects: R,
|
|
2834
2846
|
transform: _,
|
|
2835
2847
|
windowRect: T
|
|
2836
|
-
}), H =
|
|
2848
|
+
}), H = tr(w), U = qs({
|
|
2837
2849
|
config: o,
|
|
2838
2850
|
draggableNodes: A,
|
|
2839
2851
|
droppableContainers: v,
|
|
2840
2852
|
measuringConfiguration: E
|
|
2841
2853
|
}), B = H ? x.setRef : void 0;
|
|
2842
|
-
return
|
|
2854
|
+
return Y.createElement(Us, null, Y.createElement(Hs, {
|
|
2843
2855
|
animation: U
|
|
2844
|
-
}, g && O ?
|
|
2856
|
+
}, g && O ? Y.createElement(ks, {
|
|
2845
2857
|
key: O,
|
|
2846
2858
|
id: g.id,
|
|
2847
2859
|
ref: B,
|
|
@@ -2858,7 +2870,7 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
|
|
|
2858
2870
|
transform: M
|
|
2859
2871
|
}, n) : null));
|
|
2860
2872
|
});
|
|
2861
|
-
function
|
|
2873
|
+
function Yt(e, t, n) {
|
|
2862
2874
|
const o = e.slice();
|
|
2863
2875
|
return o.splice(n < 0 ? o.length + n : n, 0, o.splice(t, 1)[0]), o;
|
|
2864
2876
|
}
|
|
@@ -2868,7 +2880,7 @@ function Zs(e, t) {
|
|
|
2868
2880
|
return a && (n[i] = a), n;
|
|
2869
2881
|
}, Array(e.length));
|
|
2870
2882
|
}
|
|
2871
|
-
function
|
|
2883
|
+
function fn(e) {
|
|
2872
2884
|
return e !== null && e >= 0;
|
|
2873
2885
|
}
|
|
2874
2886
|
function ea(e, t) {
|
|
@@ -2887,7 +2899,7 @@ function ta(e) {
|
|
|
2887
2899
|
droppable: e
|
|
2888
2900
|
} : e;
|
|
2889
2901
|
}
|
|
2890
|
-
const
|
|
2902
|
+
const gn = {
|
|
2891
2903
|
scaleX: 1,
|
|
2892
2904
|
scaleY: 1
|
|
2893
2905
|
}, na = (e) => {
|
|
@@ -2908,21 +2920,21 @@ const fn = {
|
|
|
2908
2920
|
return u ? {
|
|
2909
2921
|
x: i < a ? u.left + u.width - (c.left + c.width) : u.left - c.left,
|
|
2910
2922
|
y: 0,
|
|
2911
|
-
...
|
|
2923
|
+
...gn
|
|
2912
2924
|
} : null;
|
|
2913
2925
|
}
|
|
2914
2926
|
return l > i && l <= a ? {
|
|
2915
2927
|
x: -c.width - d,
|
|
2916
2928
|
y: 0,
|
|
2917
|
-
...
|
|
2929
|
+
...gn
|
|
2918
2930
|
} : l < i && l >= a ? {
|
|
2919
2931
|
x: c.width + d,
|
|
2920
2932
|
y: 0,
|
|
2921
|
-
...
|
|
2933
|
+
...gn
|
|
2922
2934
|
} : {
|
|
2923
2935
|
x: 0,
|
|
2924
2936
|
y: 0,
|
|
2925
|
-
...
|
|
2937
|
+
...gn
|
|
2926
2938
|
};
|
|
2927
2939
|
};
|
|
2928
2940
|
function ra(e, t, n) {
|
|
@@ -2936,14 +2948,14 @@ const ro = (e) => {
|
|
|
2936
2948
|
overIndex: o,
|
|
2937
2949
|
index: i
|
|
2938
2950
|
} = e;
|
|
2939
|
-
const a =
|
|
2951
|
+
const a = Yt(t, o, n), l = t[i], c = a[i];
|
|
2940
2952
|
return !c || !l ? null : {
|
|
2941
2953
|
x: c.left - l.left,
|
|
2942
2954
|
y: c.top - l.top,
|
|
2943
2955
|
scaleX: c.width / l.width,
|
|
2944
2956
|
scaleY: c.height / l.height
|
|
2945
2957
|
};
|
|
2946
|
-
},
|
|
2958
|
+
}, hn = {
|
|
2947
2959
|
scaleX: 1,
|
|
2948
2960
|
scaleY: 1
|
|
2949
2961
|
}, Ir = (e) => {
|
|
@@ -2963,29 +2975,29 @@ const ro = (e) => {
|
|
|
2963
2975
|
return u ? {
|
|
2964
2976
|
x: 0,
|
|
2965
2977
|
y: n < l ? u.top + u.height - (c.top + c.height) : u.top - c.top,
|
|
2966
|
-
...
|
|
2978
|
+
...hn
|
|
2967
2979
|
} : null;
|
|
2968
2980
|
}
|
|
2969
2981
|
const d = oa(a, i, n);
|
|
2970
2982
|
return i > n && i <= l ? {
|
|
2971
2983
|
x: 0,
|
|
2972
2984
|
y: -c.height - d,
|
|
2973
|
-
...
|
|
2985
|
+
...hn
|
|
2974
2986
|
} : i < n && i >= l ? {
|
|
2975
2987
|
x: 0,
|
|
2976
2988
|
y: c.height + d,
|
|
2977
|
-
...
|
|
2989
|
+
...hn
|
|
2978
2990
|
} : {
|
|
2979
2991
|
x: 0,
|
|
2980
2992
|
y: 0,
|
|
2981
|
-
...
|
|
2993
|
+
...hn
|
|
2982
2994
|
};
|
|
2983
2995
|
};
|
|
2984
2996
|
function oa(e, t, n) {
|
|
2985
2997
|
const o = e[t], i = e[t - 1], a = e[t + 1];
|
|
2986
2998
|
return o ? n < t ? i ? o.top - (i.top + i.height) : a ? a.top - (o.top + o.height) : 0 : a ? a.top - (o.top + o.height) : i ? o.top - (i.top + i.height) : 0 : 0;
|
|
2987
2999
|
}
|
|
2988
|
-
const oo = "Sortable", io = /* @__PURE__ */
|
|
3000
|
+
const oo = "Sortable", io = /* @__PURE__ */ Y.createContext({
|
|
2989
3001
|
activeIndex: -1,
|
|
2990
3002
|
containerId: oo,
|
|
2991
3003
|
disableTransforms: !1,
|
|
@@ -3013,8 +3025,8 @@ function Or(e) {
|
|
|
3013
3025
|
droppableRects: d,
|
|
3014
3026
|
over: u,
|
|
3015
3027
|
measureDroppableContainers: h
|
|
3016
|
-
} = to(), g =
|
|
3017
|
-
|
|
3028
|
+
} = to(), g = Jt(oo, n), w = c.rect !== null, b = j(() => o.map((_) => typeof _ == "object" && "id" in _ ? _.id : _), [o]), A = l != null, v = l ? b.indexOf(l.id) : -1, x = u ? b.indexOf(u.id) : -1, S = X(b), E = !ea(b, S.current), D = x !== -1 && v === -1 || E, R = ta(a);
|
|
3029
|
+
qe(() => {
|
|
3018
3030
|
E && A && h(b);
|
|
3019
3031
|
}, [E, b, A, h]), K(() => {
|
|
3020
3032
|
S.current = b;
|
|
@@ -3034,7 +3046,7 @@ function Or(e) {
|
|
|
3034
3046
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3035
3047
|
[v, g, R.draggable, R.droppable, D, b, x, d, w, i]
|
|
3036
3048
|
);
|
|
3037
|
-
return
|
|
3049
|
+
return Y.createElement(io.Provider, {
|
|
3038
3050
|
value: T
|
|
3039
3051
|
}, t);
|
|
3040
3052
|
}
|
|
@@ -3045,7 +3057,7 @@ const ia = (e) => {
|
|
|
3045
3057
|
activeIndex: o,
|
|
3046
3058
|
overIndex: i
|
|
3047
3059
|
} = e;
|
|
3048
|
-
return
|
|
3060
|
+
return Yt(n, o, i).indexOf(t);
|
|
3049
3061
|
}, so = (e) => {
|
|
3050
3062
|
let {
|
|
3051
3063
|
containerId: t,
|
|
@@ -3062,7 +3074,7 @@ const ia = (e) => {
|
|
|
3062
3074
|
}, sa = {
|
|
3063
3075
|
duration: 200,
|
|
3064
3076
|
easing: "ease"
|
|
3065
|
-
}, ao = "transform", aa = /* @__PURE__ */
|
|
3077
|
+
}, ao = "transform", aa = /* @__PURE__ */ yt.Transition.toString({
|
|
3066
3078
|
property: ao,
|
|
3067
3079
|
duration: 0,
|
|
3068
3080
|
easing: "linear"
|
|
@@ -3076,12 +3088,12 @@ function ca(e) {
|
|
|
3076
3088
|
node: o,
|
|
3077
3089
|
rect: i
|
|
3078
3090
|
} = e;
|
|
3079
|
-
const [a, l] =
|
|
3080
|
-
return
|
|
3091
|
+
const [a, l] = ne(null), c = X(n);
|
|
3092
|
+
return qe(() => {
|
|
3081
3093
|
if (!t && n !== c.current && o.current) {
|
|
3082
3094
|
const d = i.current;
|
|
3083
3095
|
if (d) {
|
|
3084
|
-
const u =
|
|
3096
|
+
const u = Kt(o.current, {
|
|
3085
3097
|
ignoreTransform: !0
|
|
3086
3098
|
}), h = {
|
|
3087
3099
|
x: d.left - u.left,
|
|
@@ -3119,7 +3131,7 @@ function lo(e) {
|
|
|
3119
3131
|
overIndex: x,
|
|
3120
3132
|
useDragOverlay: S,
|
|
3121
3133
|
strategy: E
|
|
3122
|
-
} =
|
|
3134
|
+
} = bt(io), D = ua(o, b), R = h.indexOf(l), T = j(() => ({
|
|
3123
3135
|
sortable: {
|
|
3124
3136
|
containerId: g,
|
|
3125
3137
|
index: R,
|
|
@@ -3143,13 +3155,13 @@ function lo(e) {
|
|
|
3143
3155
|
active: B,
|
|
3144
3156
|
activatorEvent: re,
|
|
3145
3157
|
activeNodeRect: Q,
|
|
3146
|
-
attributes:
|
|
3158
|
+
attributes: Ae,
|
|
3147
3159
|
setNodeRef: Xe,
|
|
3148
3160
|
listeners: F,
|
|
3149
3161
|
isDragging: J,
|
|
3150
|
-
over:
|
|
3151
|
-
setActivatorNodeRef:
|
|
3152
|
-
transform:
|
|
3162
|
+
over: Pe,
|
|
3163
|
+
setActivatorNodeRef: Ne,
|
|
3164
|
+
transform: ue
|
|
3153
3165
|
} = Bs({
|
|
3154
3166
|
id: l,
|
|
3155
3167
|
data: T,
|
|
@@ -3158,23 +3170,23 @@ function lo(e) {
|
|
|
3158
3170
|
...n
|
|
3159
3171
|
},
|
|
3160
3172
|
disabled: D.draggable
|
|
3161
|
-
}),
|
|
3173
|
+
}), $e = Si(U, Xe), V = !!B, we = V && !A && fn(w) && fn(x), Ue = !S && J, et = Ue && we ? ue : null, tt = we ? et ?? (c ?? E)({
|
|
3162
3174
|
rects: v,
|
|
3163
3175
|
activeNodeRect: Q,
|
|
3164
3176
|
activeIndex: w,
|
|
3165
3177
|
overIndex: x,
|
|
3166
3178
|
index: R
|
|
3167
|
-
}) : null,
|
|
3179
|
+
}) : null, Be = fn(w) && fn(x) ? a({
|
|
3168
3180
|
id: l,
|
|
3169
3181
|
items: h,
|
|
3170
3182
|
activeIndex: w,
|
|
3171
3183
|
overIndex: x
|
|
3172
|
-
}) : R,
|
|
3173
|
-
activeId:
|
|
3184
|
+
}) : R, de = B == null ? void 0 : B.id, $ = X({
|
|
3185
|
+
activeId: de,
|
|
3174
3186
|
items: h,
|
|
3175
|
-
newIndex:
|
|
3187
|
+
newIndex: Be,
|
|
3176
3188
|
containerId: g
|
|
3177
|
-
}),
|
|
3189
|
+
}), nt = h !== $.current.items, Ee = t({
|
|
3178
3190
|
active: B,
|
|
3179
3191
|
containerId: g,
|
|
3180
3192
|
isDragging: J,
|
|
@@ -3188,32 +3200,32 @@ function lo(e) {
|
|
|
3188
3200
|
transition: u,
|
|
3189
3201
|
wasDragging: $.current.activeId != null
|
|
3190
3202
|
}), Ve = ca({
|
|
3191
|
-
disabled: !
|
|
3203
|
+
disabled: !Ee,
|
|
3192
3204
|
index: R,
|
|
3193
3205
|
node: M,
|
|
3194
3206
|
rect: O
|
|
3195
3207
|
});
|
|
3196
3208
|
return K(() => {
|
|
3197
|
-
V && $.current.newIndex !==
|
|
3198
|
-
}, [V,
|
|
3199
|
-
if (
|
|
3209
|
+
V && $.current.newIndex !== Be && ($.current.newIndex = Be), g !== $.current.containerId && ($.current.containerId = g), h !== $.current.items && ($.current.items = h);
|
|
3210
|
+
}, [V, Be, g, h]), K(() => {
|
|
3211
|
+
if (de === $.current.activeId)
|
|
3200
3212
|
return;
|
|
3201
|
-
if (
|
|
3202
|
-
$.current.activeId =
|
|
3213
|
+
if (de && !$.current.activeId) {
|
|
3214
|
+
$.current.activeId = de;
|
|
3203
3215
|
return;
|
|
3204
3216
|
}
|
|
3205
3217
|
const Qe = setTimeout(() => {
|
|
3206
|
-
$.current.activeId =
|
|
3218
|
+
$.current.activeId = de;
|
|
3207
3219
|
}, 50);
|
|
3208
3220
|
return () => clearTimeout(Qe);
|
|
3209
|
-
}, [
|
|
3221
|
+
}, [de]), {
|
|
3210
3222
|
active: B,
|
|
3211
3223
|
activeIndex: w,
|
|
3212
|
-
attributes:
|
|
3224
|
+
attributes: Ae,
|
|
3213
3225
|
data: T,
|
|
3214
3226
|
rect: O,
|
|
3215
3227
|
index: R,
|
|
3216
|
-
newIndex:
|
|
3228
|
+
newIndex: Be,
|
|
3217
3229
|
items: h,
|
|
3218
3230
|
isOver: H,
|
|
3219
3231
|
isSorting: V,
|
|
@@ -3221,23 +3233,23 @@ function lo(e) {
|
|
|
3221
3233
|
listeners: F,
|
|
3222
3234
|
node: M,
|
|
3223
3235
|
overIndex: x,
|
|
3224
|
-
over:
|
|
3225
|
-
setNodeRef:
|
|
3226
|
-
setActivatorNodeRef:
|
|
3236
|
+
over: Pe,
|
|
3237
|
+
setNodeRef: $e,
|
|
3238
|
+
setActivatorNodeRef: Ne,
|
|
3227
3239
|
setDroppableNodeRef: U,
|
|
3228
3240
|
setDraggableNodeRef: Xe,
|
|
3229
|
-
transform: Ve ??
|
|
3241
|
+
transform: Ve ?? tt,
|
|
3230
3242
|
transition: P()
|
|
3231
3243
|
};
|
|
3232
3244
|
function P() {
|
|
3233
3245
|
if (
|
|
3234
3246
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
3235
3247
|
Ve || // Or to prevent items jumping to back to their "new" position when items change
|
|
3236
|
-
|
|
3248
|
+
nt && $.current.newIndex === R
|
|
3237
3249
|
)
|
|
3238
3250
|
return aa;
|
|
3239
|
-
if (!(
|
|
3240
|
-
return
|
|
3251
|
+
if (!(Ue && !An(re) || !u) && (V || Ee))
|
|
3252
|
+
return yt.Transition.toString({
|
|
3241
3253
|
...u,
|
|
3242
3254
|
property: ao
|
|
3243
3255
|
});
|
|
@@ -3304,7 +3316,7 @@ const fa = [
|
|
|
3304
3316
|
droppableRects: n,
|
|
3305
3317
|
droppableContainers: l,
|
|
3306
3318
|
pointerCoordinates: null
|
|
3307
|
-
}), d =
|
|
3319
|
+
}), d = Jn(c, "id");
|
|
3308
3320
|
if (d != null) {
|
|
3309
3321
|
const u = o.get(d), h = u == null ? void 0 : u.node.current, g = u == null ? void 0 : u.rect.current;
|
|
3310
3322
|
if (h && g)
|
|
@@ -3320,7 +3332,7 @@ const fa = [
|
|
|
3320
3332
|
};
|
|
3321
3333
|
}
|
|
3322
3334
|
}
|
|
3323
|
-
}, ha = "_Wrapper_37o6x_33", pa = "_fadeIn_37o6x_41", va = "_dragOverlay_37o6x_44", ba = "_Item_37o6x_53", ya = "_withHandle_37o6x_79", ma = "_dragging_37o6x_83", wa = "_disabled_37o6x_91", xa = "_pop_37o6x_1", Ca = "_color_37o6x_110", Da = "_Remove_37o6x_123", Sa = "_Actions_37o6x_129",
|
|
3335
|
+
}, ha = "_Wrapper_37o6x_33", pa = "_fadeIn_37o6x_41", va = "_dragOverlay_37o6x_44", ba = "_Item_37o6x_53", ya = "_withHandle_37o6x_79", ma = "_dragging_37o6x_83", wa = "_disabled_37o6x_91", xa = "_pop_37o6x_1", Ca = "_color_37o6x_110", Da = "_Remove_37o6x_123", Sa = "_Actions_37o6x_129", We = {
|
|
3324
3336
|
Wrapper: ha,
|
|
3325
3337
|
fadeIn: pa,
|
|
3326
3338
|
dragOverlay: va,
|
|
@@ -3332,19 +3344,19 @@ const fa = [
|
|
|
3332
3344
|
color: Ca,
|
|
3333
3345
|
Remove: Da,
|
|
3334
3346
|
Actions: Sa
|
|
3335
|
-
}, Ra =
|
|
3347
|
+
}, Ra = Bt.div`
|
|
3336
3348
|
font-family: ${(e) => {
|
|
3337
3349
|
var t, n;
|
|
3338
3350
|
return (n = (t = e.theme) == null ? void 0 : t.typography) == null ? void 0 : n.fontFamily;
|
|
3339
3351
|
}};
|
|
3340
|
-
background-color: ${(e) =>
|
|
3352
|
+
background-color: ${(e) => Pt(
|
|
3341
3353
|
e.theme,
|
|
3342
3354
|
"KanbanCard",
|
|
3343
3355
|
e.color ? "primary" : e.color,
|
|
3344
3356
|
"enabled",
|
|
3345
3357
|
"background"
|
|
3346
3358
|
)};
|
|
3347
|
-
color: ${(e) =>
|
|
3359
|
+
color: ${(e) => Pt(
|
|
3348
3360
|
e.theme,
|
|
3349
3361
|
"KanbanCard",
|
|
3350
3362
|
e.color ? "primary" : e.color,
|
|
@@ -3354,8 +3366,8 @@ const fa = [
|
|
|
3354
3366
|
&:hover .Actions > * {
|
|
3355
3367
|
opacity: 1 !important;
|
|
3356
3368
|
}
|
|
3357
|
-
`,
|
|
3358
|
-
|
|
3369
|
+
`, Un = Y.memo(
|
|
3370
|
+
Y.forwardRef(
|
|
3359
3371
|
({
|
|
3360
3372
|
cardProps: e,
|
|
3361
3373
|
color: t,
|
|
@@ -3380,7 +3392,7 @@ const fa = [
|
|
|
3380
3392
|
children: R,
|
|
3381
3393
|
...T
|
|
3382
3394
|
}, _) => {
|
|
3383
|
-
const O =
|
|
3395
|
+
const O = Yn();
|
|
3384
3396
|
return K(() => {
|
|
3385
3397
|
if (n)
|
|
3386
3398
|
return document.body.style.cursor = "grabbing", () => {
|
|
@@ -3398,14 +3410,14 @@ const fa = [
|
|
|
3398
3410
|
transform: v,
|
|
3399
3411
|
transition: A,
|
|
3400
3412
|
value: x
|
|
3401
|
-
}) : /* @__PURE__ */
|
|
3413
|
+
}) : /* @__PURE__ */ le(
|
|
3402
3414
|
"li",
|
|
3403
3415
|
{
|
|
3404
|
-
className:
|
|
3405
|
-
|
|
3406
|
-
a &&
|
|
3407
|
-
b &&
|
|
3408
|
-
n &&
|
|
3416
|
+
className: hr(
|
|
3417
|
+
We.Wrapper,
|
|
3418
|
+
a && We.fadeIn,
|
|
3419
|
+
b && We.sorting,
|
|
3420
|
+
n && We.dragOverlay
|
|
3409
3421
|
),
|
|
3410
3422
|
style: {
|
|
3411
3423
|
...S,
|
|
@@ -3418,18 +3430,18 @@ const fa = [
|
|
|
3418
3430
|
"--color": t
|
|
3419
3431
|
},
|
|
3420
3432
|
ref: _,
|
|
3421
|
-
children: /* @__PURE__ */
|
|
3433
|
+
children: /* @__PURE__ */ vn(
|
|
3422
3434
|
Ra,
|
|
3423
3435
|
{
|
|
3424
3436
|
theme: O,
|
|
3425
3437
|
color: t,
|
|
3426
|
-
className:
|
|
3427
|
-
|
|
3428
|
-
o &&
|
|
3429
|
-
l &&
|
|
3430
|
-
n &&
|
|
3431
|
-
i &&
|
|
3432
|
-
t &&
|
|
3438
|
+
className: hr(
|
|
3439
|
+
We.Item,
|
|
3440
|
+
o && We.dragging,
|
|
3441
|
+
l && We.withHandle,
|
|
3442
|
+
n && We.dragOverlay,
|
|
3443
|
+
i && We.disabled,
|
|
3444
|
+
t && We.color
|
|
3433
3445
|
) + " " + E,
|
|
3434
3446
|
style: e == null ? void 0 : e.style,
|
|
3435
3447
|
"data-cypress": "draggable-item",
|
|
@@ -3438,7 +3450,7 @@ const fa = [
|
|
|
3438
3450
|
tabIndex: l ? void 0 : 0,
|
|
3439
3451
|
children: [
|
|
3440
3452
|
R,
|
|
3441
|
-
/* @__PURE__ */
|
|
3453
|
+
/* @__PURE__ */ le("span", { className: We.Actions })
|
|
3442
3454
|
]
|
|
3443
3455
|
}
|
|
3444
3456
|
)
|
|
@@ -3446,7 +3458,7 @@ const fa = [
|
|
|
3446
3458
|
);
|
|
3447
3459
|
}
|
|
3448
3460
|
)
|
|
3449
|
-
), Aa =
|
|
3461
|
+
), Aa = Bt.div`
|
|
3450
3462
|
display: flex;
|
|
3451
3463
|
flex: 1;
|
|
3452
3464
|
flex-direction: column;
|
|
@@ -3487,14 +3499,14 @@ const fa = [
|
|
|
3487
3499
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0px 0px 2px #4c9ffe;
|
|
3488
3500
|
}
|
|
3489
3501
|
|
|
3490
|
-
background-color: ${(e) =>
|
|
3502
|
+
background-color: ${(e) => Pt(
|
|
3491
3503
|
e.theme,
|
|
3492
3504
|
"Kanban",
|
|
3493
3505
|
e.color,
|
|
3494
3506
|
"enabled",
|
|
3495
3507
|
"background"
|
|
3496
3508
|
)};
|
|
3497
|
-
`, Ea =
|
|
3509
|
+
`, Ea = Bt.div`
|
|
3498
3510
|
display: flex;
|
|
3499
3511
|
padding: 5px 20px;
|
|
3500
3512
|
padding-left: 8px;
|
|
@@ -3504,14 +3516,14 @@ const fa = [
|
|
|
3504
3516
|
border-top-left-radius: 5px;
|
|
3505
3517
|
border-top-right-radius: 5px;
|
|
3506
3518
|
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
|
|
3507
|
-
background-color: ${(e) =>
|
|
3519
|
+
background-color: ${(e) => Pt(
|
|
3508
3520
|
e.theme,
|
|
3509
3521
|
"KanbanHeader",
|
|
3510
3522
|
e.color,
|
|
3511
3523
|
"enabled",
|
|
3512
3524
|
"background"
|
|
3513
3525
|
)};
|
|
3514
|
-
color: ${(e) =>
|
|
3526
|
+
color: ${(e) => Pt(
|
|
3515
3527
|
e.theme,
|
|
3516
3528
|
"KanbanHeader",
|
|
3517
3529
|
e.color ? "primary" : e.color,
|
|
@@ -3521,7 +3533,7 @@ const fa = [
|
|
|
3521
3533
|
&:hover .Actions > * {
|
|
3522
3534
|
opacity: 1 !important;
|
|
3523
3535
|
}
|
|
3524
|
-
`, _a =
|
|
3536
|
+
`, _a = Bt.div`
|
|
3525
3537
|
display: flex;
|
|
3526
3538
|
|
|
3527
3539
|
& > *:first-of-type:not(:last-of-type) {
|
|
@@ -3552,8 +3564,8 @@ const fa = [
|
|
|
3552
3564
|
size: E,
|
|
3553
3565
|
color: D,
|
|
3554
3566
|
...R
|
|
3555
|
-
} = e, T =
|
|
3556
|
-
return /* @__PURE__ */
|
|
3567
|
+
} = e, T = Yn();
|
|
3568
|
+
return /* @__PURE__ */ vn(
|
|
3557
3569
|
Aa,
|
|
3558
3570
|
{
|
|
3559
3571
|
...R,
|
|
@@ -3573,28 +3585,28 @@ const fa = [
|
|
|
3573
3585
|
color: D,
|
|
3574
3586
|
theme: T,
|
|
3575
3587
|
children: [
|
|
3576
|
-
g ? /* @__PURE__ */
|
|
3577
|
-
/* @__PURE__ */
|
|
3588
|
+
g ? /* @__PURE__ */ vn(Ea, { theme: T, color: D, children: [
|
|
3589
|
+
/* @__PURE__ */ le(_a, { className: "Actions", children: /* @__PURE__ */ le(bi, { ...l }) }),
|
|
3578
3590
|
g
|
|
3579
3591
|
] }) : null,
|
|
3580
|
-
/* @__PURE__ */
|
|
3592
|
+
/* @__PURE__ */ le("ul", { children: n }),
|
|
3581
3593
|
i(o)
|
|
3582
3594
|
]
|
|
3583
3595
|
}
|
|
3584
3596
|
);
|
|
3585
3597
|
});
|
|
3586
|
-
var
|
|
3587
|
-
|
|
3598
|
+
var Dn = { exports: {} };
|
|
3599
|
+
Dn.exports;
|
|
3588
3600
|
(function(e, t) {
|
|
3589
|
-
var n = 200, o = "Expected a function", i = "__lodash_hash_undefined__", a = 1, l = 2, c = 1 / 0, d = 9007199254740991, u = 17976931348623157e292, h = NaN, g = "[object Arguments]", w = "[object Array]", b = "[object Boolean]", A = "[object Date]", v = "[object Error]", x = "[object Function]", S = "[object GeneratorFunction]", E = "[object Map]", D = "[object Number]", R = "[object Object]", T = "[object Promise]", _ = "[object RegExp]", O = "[object Set]", M = "[object String]", H = "[object Symbol]", U = "[object WeakMap]", B = "[object ArrayBuffer]", re = "[object DataView]", Q = "[object Float32Array]",
|
|
3590
|
-
P[Q] = P[
|
|
3591
|
-
var Qe = parseInt,
|
|
3601
|
+
var n = 200, o = "Expected a function", i = "__lodash_hash_undefined__", a = 1, l = 2, c = 1 / 0, d = 9007199254740991, u = 17976931348623157e292, h = NaN, g = "[object Arguments]", w = "[object Array]", b = "[object Boolean]", A = "[object Date]", v = "[object Error]", x = "[object Function]", S = "[object GeneratorFunction]", E = "[object Map]", D = "[object Number]", R = "[object Object]", T = "[object Promise]", _ = "[object RegExp]", O = "[object Set]", M = "[object String]", H = "[object Symbol]", U = "[object WeakMap]", B = "[object ArrayBuffer]", re = "[object DataView]", Q = "[object Float32Array]", Ae = "[object Float64Array]", Xe = "[object Int8Array]", F = "[object Int16Array]", J = "[object Int32Array]", Pe = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", ue = "[object Uint16Array]", $e = "[object Uint32Array]", V = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, we = /^\w*$/, Ue = /^\./, et = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Z = /[\\^$.*+?()[\]{}|]/g, tt = /^\s+|\s+$/g, Be = /\\(\\)?/g, de = /^[-+]0x[0-9a-f]+$/i, $ = /^0b[01]+$/i, nt = /^\[object .+?Constructor\]$/, Ee = /^0o[0-7]+$/i, Ve = /^(?:0|[1-9]\d*)$/, P = {};
|
|
3602
|
+
P[Q] = P[Ae] = P[Xe] = P[F] = P[J] = P[Pe] = P[Ne] = P[ue] = P[$e] = !0, P[g] = P[w] = P[B] = P[b] = P[re] = P[A] = P[v] = P[x] = P[E] = P[D] = P[R] = P[_] = P[O] = P[M] = P[U] = !1;
|
|
3603
|
+
var Qe = parseInt, je = typeof dn == "object" && dn && dn.Object === Object && dn, mt = typeof self == "object" && self && self.Object === Object && self, _e = je || mt || Function("return this")(), Ze = t && !t.nodeType && t, p = Ze && !0 && e && !e.nodeType && e, m = p && p.exports === Ze, N = m && je.process, W = function() {
|
|
3592
3604
|
try {
|
|
3593
3605
|
return N && N.binding("util");
|
|
3594
3606
|
} catch {
|
|
3595
3607
|
}
|
|
3596
|
-
}(),
|
|
3597
|
-
function
|
|
3608
|
+
}(), k = W && W.isTypedArray;
|
|
3609
|
+
function fe(r, s) {
|
|
3598
3610
|
for (var f = -1, y = r ? r.length : 0; ++f < y; )
|
|
3599
3611
|
if (s(r[f], f, r))
|
|
3600
3612
|
return !0;
|
|
@@ -3611,17 +3623,17 @@ Cn.exports;
|
|
|
3611
3623
|
return s == null ? void 0 : s[r];
|
|
3612
3624
|
};
|
|
3613
3625
|
}
|
|
3614
|
-
function
|
|
3626
|
+
function he(r, s) {
|
|
3615
3627
|
for (var f = -1, y = Array(r); ++f < r; )
|
|
3616
3628
|
y[f] = s(f);
|
|
3617
3629
|
return y;
|
|
3618
3630
|
}
|
|
3619
|
-
function
|
|
3631
|
+
function be(r) {
|
|
3620
3632
|
return function(s) {
|
|
3621
3633
|
return r(s);
|
|
3622
3634
|
};
|
|
3623
3635
|
}
|
|
3624
|
-
function
|
|
3636
|
+
function rt(r, s) {
|
|
3625
3637
|
return r == null ? void 0 : r[s];
|
|
3626
3638
|
}
|
|
3627
3639
|
function te(r) {
|
|
@@ -3633,13 +3645,13 @@ Cn.exports;
|
|
|
3633
3645
|
}
|
|
3634
3646
|
return s;
|
|
3635
3647
|
}
|
|
3636
|
-
function
|
|
3648
|
+
function Me(r) {
|
|
3637
3649
|
var s = -1, f = Array(r.size);
|
|
3638
3650
|
return r.forEach(function(y, I) {
|
|
3639
3651
|
f[++s] = [I, y];
|
|
3640
3652
|
}), f;
|
|
3641
3653
|
}
|
|
3642
|
-
function
|
|
3654
|
+
function wt(r, s) {
|
|
3643
3655
|
return function(f) {
|
|
3644
3656
|
return r(s(f));
|
|
3645
3657
|
};
|
|
@@ -3650,42 +3662,42 @@ Cn.exports;
|
|
|
3650
3662
|
f[++s] = y;
|
|
3651
3663
|
}), f;
|
|
3652
3664
|
}
|
|
3653
|
-
var
|
|
3654
|
-
var r = /[^.]+$/.exec(
|
|
3665
|
+
var se = Array.prototype, Le = Function.prototype, ot = Object.prototype, _t = _e["__core-js_shared__"], Qt = function() {
|
|
3666
|
+
var r = /[^.]+$/.exec(_t && _t.keys && _t.keys.IE_PROTO || "");
|
|
3655
3667
|
return r ? "Symbol(src)_1." + r : "";
|
|
3656
|
-
}(),
|
|
3657
|
-
"^" +
|
|
3658
|
-
),
|
|
3659
|
-
function
|
|
3668
|
+
}(), Zt = Le.toString, Ye = ot.hasOwnProperty, q = ot.toString, xe = RegExp(
|
|
3669
|
+
"^" + Zt.call(Ye).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3670
|
+
), ye = _e.Symbol, ke = _e.Uint8Array, Ie = ot.propertyIsEnumerable, Ce = se.splice, ze = wt(Object.keys, Object), ut = Math.max, De = It(_e, "DataView"), Ge = It(_e, "Map"), it = It(_e, "Promise"), dt = It(_e, "Set"), ft = It(_e, "WeakMap"), gt = It(Object, "create"), xt = St(De), Ct = St(Ge), Ht = St(it), uo = St(dt), fo = St(ft), en = ye ? ye.prototype : void 0, In = en ? en.valueOf : void 0, nr = en ? en.toString : void 0;
|
|
3671
|
+
function Dt(r) {
|
|
3660
3672
|
var s = -1, f = r ? r.length : 0;
|
|
3661
3673
|
for (this.clear(); ++s < f; ) {
|
|
3662
3674
|
var y = r[s];
|
|
3663
3675
|
this.set(y[0], y[1]);
|
|
3664
3676
|
}
|
|
3665
3677
|
}
|
|
3666
|
-
function
|
|
3667
|
-
this.__data__ =
|
|
3678
|
+
function go() {
|
|
3679
|
+
this.__data__ = gt ? gt(null) : {};
|
|
3668
3680
|
}
|
|
3669
|
-
function
|
|
3681
|
+
function ho(r) {
|
|
3670
3682
|
return this.has(r) && delete this.__data__[r];
|
|
3671
3683
|
}
|
|
3672
|
-
function
|
|
3684
|
+
function po(r) {
|
|
3673
3685
|
var s = this.__data__;
|
|
3674
|
-
if (
|
|
3686
|
+
if (gt) {
|
|
3675
3687
|
var f = s[r];
|
|
3676
3688
|
return f === i ? void 0 : f;
|
|
3677
3689
|
}
|
|
3678
|
-
return
|
|
3690
|
+
return Ye.call(s, r) ? s[r] : void 0;
|
|
3679
3691
|
}
|
|
3680
|
-
function
|
|
3692
|
+
function vo(r) {
|
|
3681
3693
|
var s = this.__data__;
|
|
3682
|
-
return
|
|
3694
|
+
return gt ? s[r] !== void 0 : Ye.call(s, r);
|
|
3683
3695
|
}
|
|
3684
|
-
function
|
|
3696
|
+
function bo(r, s) {
|
|
3685
3697
|
var f = this.__data__;
|
|
3686
|
-
return f[r] =
|
|
3698
|
+
return f[r] = gt && s === void 0 ? i : s, this;
|
|
3687
3699
|
}
|
|
3688
|
-
|
|
3700
|
+
Dt.prototype.clear = go, Dt.prototype.delete = ho, Dt.prototype.get = po, Dt.prototype.has = vo, Dt.prototype.set = bo;
|
|
3689
3701
|
function st(r) {
|
|
3690
3702
|
var s = -1, f = r ? r.length : 0;
|
|
3691
3703
|
for (this.clear(); ++s < f; ) {
|
|
@@ -3693,28 +3705,28 @@ Cn.exports;
|
|
|
3693
3705
|
this.set(y[0], y[1]);
|
|
3694
3706
|
}
|
|
3695
3707
|
}
|
|
3696
|
-
function
|
|
3708
|
+
function yo() {
|
|
3697
3709
|
this.__data__ = [];
|
|
3698
3710
|
}
|
|
3699
|
-
function
|
|
3700
|
-
var s = this.__data__, f =
|
|
3711
|
+
function mo(r) {
|
|
3712
|
+
var s = this.__data__, f = nn(s, r);
|
|
3701
3713
|
if (f < 0)
|
|
3702
3714
|
return !1;
|
|
3703
3715
|
var y = s.length - 1;
|
|
3704
|
-
return f == y ? s.pop() :
|
|
3716
|
+
return f == y ? s.pop() : Ce.call(s, f, 1), !0;
|
|
3705
3717
|
}
|
|
3706
|
-
function
|
|
3707
|
-
var s = this.__data__, f =
|
|
3718
|
+
function wo(r) {
|
|
3719
|
+
var s = this.__data__, f = nn(s, r);
|
|
3708
3720
|
return f < 0 ? void 0 : s[f][1];
|
|
3709
3721
|
}
|
|
3710
|
-
function
|
|
3711
|
-
return
|
|
3722
|
+
function xo(r) {
|
|
3723
|
+
return nn(this.__data__, r) > -1;
|
|
3712
3724
|
}
|
|
3713
|
-
function
|
|
3714
|
-
var f = this.__data__, y =
|
|
3725
|
+
function Co(r, s) {
|
|
3726
|
+
var f = this.__data__, y = nn(f, r);
|
|
3715
3727
|
return y < 0 ? f.push([r, s]) : f[y][1] = s, this;
|
|
3716
3728
|
}
|
|
3717
|
-
st.prototype.clear =
|
|
3729
|
+
st.prototype.clear = yo, st.prototype.delete = mo, st.prototype.get = wo, st.prototype.has = xo, st.prototype.set = Co;
|
|
3718
3730
|
function at(r) {
|
|
3719
3731
|
var s = -1, f = r ? r.length : 0;
|
|
3720
3732
|
for (this.clear(); ++s < f; ) {
|
|
@@ -3722,54 +3734,54 @@ Cn.exports;
|
|
|
3722
3734
|
this.set(y[0], y[1]);
|
|
3723
3735
|
}
|
|
3724
3736
|
}
|
|
3725
|
-
function
|
|
3737
|
+
function Do() {
|
|
3726
3738
|
this.__data__ = {
|
|
3727
|
-
hash: new
|
|
3739
|
+
hash: new Dt(),
|
|
3728
3740
|
map: new (Ge || st)(),
|
|
3729
|
-
string: new
|
|
3741
|
+
string: new Dt()
|
|
3730
3742
|
};
|
|
3731
3743
|
}
|
|
3744
|
+
function So(r) {
|
|
3745
|
+
return rn(this, r).delete(r);
|
|
3746
|
+
}
|
|
3732
3747
|
function Ro(r) {
|
|
3733
|
-
return
|
|
3748
|
+
return rn(this, r).get(r);
|
|
3734
3749
|
}
|
|
3735
3750
|
function Ao(r) {
|
|
3736
|
-
return
|
|
3737
|
-
}
|
|
3738
|
-
function Eo(r) {
|
|
3739
|
-
return nn(this, r).has(r);
|
|
3751
|
+
return rn(this, r).has(r);
|
|
3740
3752
|
}
|
|
3741
|
-
function
|
|
3742
|
-
return
|
|
3753
|
+
function Eo(r, s) {
|
|
3754
|
+
return rn(this, r).set(r, s), this;
|
|
3743
3755
|
}
|
|
3744
|
-
at.prototype.clear =
|
|
3745
|
-
function
|
|
3756
|
+
at.prototype.clear = Do, at.prototype.delete = So, at.prototype.get = Ro, at.prototype.has = Ao, at.prototype.set = Eo;
|
|
3757
|
+
function tn(r) {
|
|
3746
3758
|
var s = -1, f = r ? r.length : 0;
|
|
3747
3759
|
for (this.__data__ = new at(); ++s < f; )
|
|
3748
3760
|
this.add(r[s]);
|
|
3749
3761
|
}
|
|
3750
|
-
function
|
|
3762
|
+
function _o(r) {
|
|
3751
3763
|
return this.__data__.set(r, i), this;
|
|
3752
3764
|
}
|
|
3753
|
-
function
|
|
3765
|
+
function Io(r) {
|
|
3754
3766
|
return this.__data__.has(r);
|
|
3755
3767
|
}
|
|
3756
|
-
|
|
3768
|
+
tn.prototype.add = tn.prototype.push = _o, tn.prototype.has = Io;
|
|
3757
3769
|
function lt(r) {
|
|
3758
3770
|
this.__data__ = new st(r);
|
|
3759
3771
|
}
|
|
3760
|
-
function
|
|
3772
|
+
function Oo() {
|
|
3761
3773
|
this.__data__ = new st();
|
|
3762
3774
|
}
|
|
3763
|
-
function
|
|
3775
|
+
function To(r) {
|
|
3764
3776
|
return this.__data__.delete(r);
|
|
3765
3777
|
}
|
|
3766
|
-
function
|
|
3778
|
+
function No(r) {
|
|
3767
3779
|
return this.__data__.get(r);
|
|
3768
3780
|
}
|
|
3769
|
-
function
|
|
3781
|
+
function Mo(r) {
|
|
3770
3782
|
return this.__data__.has(r);
|
|
3771
3783
|
}
|
|
3772
|
-
function
|
|
3784
|
+
function Lo(r, s) {
|
|
3773
3785
|
var f = this.__data__;
|
|
3774
3786
|
if (f instanceof st) {
|
|
3775
3787
|
var y = f.__data__;
|
|
@@ -3779,50 +3791,50 @@ Cn.exports;
|
|
|
3779
3791
|
}
|
|
3780
3792
|
return f.set(r, s), this;
|
|
3781
3793
|
}
|
|
3782
|
-
lt.prototype.clear =
|
|
3783
|
-
function
|
|
3784
|
-
var f =
|
|
3794
|
+
lt.prototype.clear = Oo, lt.prototype.delete = To, lt.prototype.get = No, lt.prototype.has = Mo, lt.prototype.set = Lo;
|
|
3795
|
+
function Po(r, s) {
|
|
3796
|
+
var f = Rt(r) || ur(r) ? he(r.length, String) : [], y = f.length, I = !!y;
|
|
3785
3797
|
for (var C in r)
|
|
3786
|
-
|
|
3798
|
+
Ye.call(r, C) && !(I && (C == "length" || sr(C, y))) && f.push(C);
|
|
3787
3799
|
return f;
|
|
3788
3800
|
}
|
|
3789
|
-
function
|
|
3801
|
+
function nn(r, s) {
|
|
3790
3802
|
for (var f = r.length; f--; )
|
|
3791
|
-
if (
|
|
3803
|
+
if (cr(r[f][0], s))
|
|
3792
3804
|
return f;
|
|
3793
3805
|
return -1;
|
|
3794
3806
|
}
|
|
3795
|
-
function
|
|
3796
|
-
s =
|
|
3807
|
+
function rr(r, s) {
|
|
3808
|
+
s = on(s, r) ? [s] : or(s);
|
|
3797
3809
|
for (var f = 0, y = s.length; r != null && f < y; )
|
|
3798
|
-
r = r[
|
|
3810
|
+
r = r[sn(s[f++])];
|
|
3799
3811
|
return f && f == y ? r : void 0;
|
|
3800
3812
|
}
|
|
3801
|
-
function
|
|
3802
|
-
return
|
|
3813
|
+
function $o(r) {
|
|
3814
|
+
return q.call(r);
|
|
3803
3815
|
}
|
|
3804
|
-
function
|
|
3816
|
+
function Bo(r, s) {
|
|
3805
3817
|
return r != null && s in Object(r);
|
|
3806
3818
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return r === s ? !0 : r == null || s == null || !
|
|
3819
|
+
function On(r, s, f, y, I) {
|
|
3820
|
+
return r === s ? !0 : r == null || s == null || !Ot(r) && !an(s) ? r !== r && s !== s : zo(r, s, On, f, y, I);
|
|
3809
3821
|
}
|
|
3810
|
-
function
|
|
3811
|
-
var z =
|
|
3812
|
-
z || (
|
|
3813
|
-
var
|
|
3814
|
-
if (
|
|
3815
|
-
return C || (C = new lt()), z ||
|
|
3822
|
+
function zo(r, s, f, y, I, C) {
|
|
3823
|
+
var z = Rt(r), pe = Rt(s), ae = w, me = w;
|
|
3824
|
+
z || (ae = ht(r), ae = ae == g ? R : ae), pe || (me = ht(s), me = me == g ? R : me);
|
|
3825
|
+
var Oe = ae == R && !te(r), Te = me == R && !te(s), Se = ae == me;
|
|
3826
|
+
if (Se && !Oe)
|
|
3827
|
+
return C || (C = new lt()), z || oi(r) ? ir(r, s, f, y, I, C) : Wo(r, s, ae, f, y, I, C);
|
|
3816
3828
|
if (!(I & l)) {
|
|
3817
|
-
var Fe =
|
|
3829
|
+
var Fe = Oe && Ye.call(r, "__wrapped__"), Ke = Te && Ye.call(s, "__wrapped__");
|
|
3818
3830
|
if (Fe || Ke) {
|
|
3819
|
-
var
|
|
3820
|
-
return C || (C = new lt()), f(
|
|
3831
|
+
var pt = Fe ? r.value() : r, ct = Ke ? s.value() : s;
|
|
3832
|
+
return C || (C = new lt()), f(pt, ct, y, I, C);
|
|
3821
3833
|
}
|
|
3822
3834
|
}
|
|
3823
|
-
return
|
|
3835
|
+
return Se ? (C || (C = new lt()), qo(r, s, f, y, I, C)) : !1;
|
|
3824
3836
|
}
|
|
3825
|
-
function
|
|
3837
|
+
function Fo(r, s, f, y) {
|
|
3826
3838
|
var I = f.length, C = I;
|
|
3827
3839
|
if (r == null)
|
|
3828
3840
|
return !C;
|
|
@@ -3833,141 +3845,141 @@ Cn.exports;
|
|
|
3833
3845
|
}
|
|
3834
3846
|
for (; ++I < C; ) {
|
|
3835
3847
|
z = f[I];
|
|
3836
|
-
var
|
|
3848
|
+
var pe = z[0], ae = r[pe], me = z[1];
|
|
3837
3849
|
if (z[2]) {
|
|
3838
|
-
if (
|
|
3850
|
+
if (ae === void 0 && !(pe in r))
|
|
3839
3851
|
return !1;
|
|
3840
3852
|
} else {
|
|
3841
|
-
var
|
|
3842
|
-
if (!(
|
|
3853
|
+
var Oe = new lt(), Te;
|
|
3854
|
+
if (!(Te === void 0 ? On(me, ae, y, a | l, Oe) : Te))
|
|
3843
3855
|
return !1;
|
|
3844
3856
|
}
|
|
3845
3857
|
}
|
|
3846
3858
|
return !0;
|
|
3847
3859
|
}
|
|
3848
|
-
function
|
|
3849
|
-
if (!
|
|
3860
|
+
function Ko(r) {
|
|
3861
|
+
if (!Ot(r) || Zo(r))
|
|
3850
3862
|
return !1;
|
|
3851
|
-
var s =
|
|
3852
|
-
return s.test(
|
|
3863
|
+
var s = fr(r) || te(r) ? xe : nt;
|
|
3864
|
+
return s.test(St(r));
|
|
3853
3865
|
}
|
|
3854
|
-
function
|
|
3855
|
-
return
|
|
3866
|
+
function Ho(r) {
|
|
3867
|
+
return an(r) && Nn(r.length) && !!P[q.call(r)];
|
|
3856
3868
|
}
|
|
3857
3869
|
function Xo(r) {
|
|
3858
|
-
return typeof r == "function" ? r : r == null ?
|
|
3870
|
+
return typeof r == "function" ? r : r == null ? di : typeof r == "object" ? Rt(r) ? Yo(r[0], r[1]) : jo(r) : fi(r);
|
|
3859
3871
|
}
|
|
3860
|
-
function
|
|
3861
|
-
if (!
|
|
3862
|
-
return
|
|
3872
|
+
function Uo(r) {
|
|
3873
|
+
if (!ei(r))
|
|
3874
|
+
return ze(r);
|
|
3863
3875
|
var s = [];
|
|
3864
3876
|
for (var f in Object(r))
|
|
3865
|
-
|
|
3877
|
+
Ye.call(r, f) && f != "constructor" && s.push(f);
|
|
3866
3878
|
return s;
|
|
3867
3879
|
}
|
|
3868
|
-
function
|
|
3869
|
-
var s =
|
|
3870
|
-
return s.length == 1 && s[0][2] ?
|
|
3871
|
-
return f === r ||
|
|
3880
|
+
function jo(r) {
|
|
3881
|
+
var s = Jo(r);
|
|
3882
|
+
return s.length == 1 && s[0][2] ? lr(s[0][0], s[0][1]) : function(f) {
|
|
3883
|
+
return f === r || Fo(f, r, s);
|
|
3872
3884
|
};
|
|
3873
3885
|
}
|
|
3874
|
-
function
|
|
3875
|
-
return
|
|
3876
|
-
var y =
|
|
3877
|
-
return y === void 0 && y === s ?
|
|
3886
|
+
function Yo(r, s) {
|
|
3887
|
+
return on(r) && ar(s) ? lr(sn(r), s) : function(f) {
|
|
3888
|
+
var y = ci(f, r);
|
|
3889
|
+
return y === void 0 && y === s ? ui(f, r) : On(s, y, void 0, a | l);
|
|
3878
3890
|
};
|
|
3879
3891
|
}
|
|
3880
|
-
function
|
|
3892
|
+
function ko(r) {
|
|
3881
3893
|
return function(s) {
|
|
3882
|
-
return
|
|
3894
|
+
return rr(s, r);
|
|
3883
3895
|
};
|
|
3884
3896
|
}
|
|
3885
|
-
function
|
|
3897
|
+
function Go(r) {
|
|
3886
3898
|
if (typeof r == "string")
|
|
3887
3899
|
return r;
|
|
3888
|
-
if (
|
|
3889
|
-
return
|
|
3900
|
+
if (ln(r))
|
|
3901
|
+
return nr ? nr.call(r) : "";
|
|
3890
3902
|
var s = r + "";
|
|
3891
3903
|
return s == "0" && 1 / r == -c ? "-0" : s;
|
|
3892
3904
|
}
|
|
3893
|
-
function
|
|
3894
|
-
return
|
|
3905
|
+
function or(r) {
|
|
3906
|
+
return Rt(r) ? r : ti(r);
|
|
3895
3907
|
}
|
|
3896
|
-
function
|
|
3897
|
-
var z = I & l,
|
|
3898
|
-
if (
|
|
3908
|
+
function ir(r, s, f, y, I, C) {
|
|
3909
|
+
var z = I & l, pe = r.length, ae = s.length;
|
|
3910
|
+
if (pe != ae && !(z && ae > pe))
|
|
3899
3911
|
return !1;
|
|
3900
3912
|
var me = C.get(r);
|
|
3901
3913
|
if (me && C.get(s))
|
|
3902
3914
|
return me == s;
|
|
3903
|
-
var
|
|
3904
|
-
for (C.set(r, s), C.set(s, r); ++
|
|
3905
|
-
var Fe = r[
|
|
3915
|
+
var Oe = -1, Te = !0, Se = I & a ? new tn() : void 0;
|
|
3916
|
+
for (C.set(r, s), C.set(s, r); ++Oe < pe; ) {
|
|
3917
|
+
var Fe = r[Oe], Ke = s[Oe];
|
|
3906
3918
|
if (y)
|
|
3907
|
-
var
|
|
3908
|
-
if (
|
|
3909
|
-
if (
|
|
3919
|
+
var pt = z ? y(Ke, Fe, Oe, s, r, C) : y(Fe, Ke, Oe, r, s, C);
|
|
3920
|
+
if (pt !== void 0) {
|
|
3921
|
+
if (pt)
|
|
3910
3922
|
continue;
|
|
3911
|
-
|
|
3923
|
+
Te = !1;
|
|
3912
3924
|
break;
|
|
3913
3925
|
}
|
|
3914
|
-
if (
|
|
3915
|
-
if (!
|
|
3916
|
-
if (!
|
|
3917
|
-
return
|
|
3926
|
+
if (Se) {
|
|
3927
|
+
if (!fe(s, function(ct, At) {
|
|
3928
|
+
if (!Se.has(At) && (Fe === ct || f(Fe, ct, y, I, C)))
|
|
3929
|
+
return Se.add(At);
|
|
3918
3930
|
})) {
|
|
3919
|
-
|
|
3931
|
+
Te = !1;
|
|
3920
3932
|
break;
|
|
3921
3933
|
}
|
|
3922
3934
|
} else if (!(Fe === Ke || f(Fe, Ke, y, I, C))) {
|
|
3923
|
-
|
|
3935
|
+
Te = !1;
|
|
3924
3936
|
break;
|
|
3925
3937
|
}
|
|
3926
3938
|
}
|
|
3927
|
-
return C.delete(r), C.delete(s),
|
|
3939
|
+
return C.delete(r), C.delete(s), Te;
|
|
3928
3940
|
}
|
|
3929
|
-
function
|
|
3941
|
+
function Wo(r, s, f, y, I, C, z) {
|
|
3930
3942
|
switch (f) {
|
|
3931
3943
|
case re:
|
|
3932
3944
|
if (r.byteLength != s.byteLength || r.byteOffset != s.byteOffset)
|
|
3933
3945
|
return !1;
|
|
3934
3946
|
r = r.buffer, s = s.buffer;
|
|
3935
3947
|
case B:
|
|
3936
|
-
return !(r.byteLength != s.byteLength || !y(new
|
|
3948
|
+
return !(r.byteLength != s.byteLength || !y(new ke(r), new ke(s)));
|
|
3937
3949
|
case b:
|
|
3938
3950
|
case A:
|
|
3939
3951
|
case D:
|
|
3940
|
-
return
|
|
3952
|
+
return cr(+r, +s);
|
|
3941
3953
|
case v:
|
|
3942
3954
|
return r.name == s.name && r.message == s.message;
|
|
3943
3955
|
case _:
|
|
3944
3956
|
case M:
|
|
3945
3957
|
return r == s + "";
|
|
3946
3958
|
case E:
|
|
3947
|
-
var
|
|
3959
|
+
var pe = Me;
|
|
3948
3960
|
case O:
|
|
3949
|
-
var
|
|
3950
|
-
if (
|
|
3961
|
+
var ae = C & l;
|
|
3962
|
+
if (pe || (pe = ie), r.size != s.size && !ae)
|
|
3951
3963
|
return !1;
|
|
3952
3964
|
var me = z.get(r);
|
|
3953
3965
|
if (me)
|
|
3954
3966
|
return me == s;
|
|
3955
3967
|
C |= a, z.set(r, s);
|
|
3956
|
-
var
|
|
3957
|
-
return z.delete(r),
|
|
3968
|
+
var Oe = ir(pe(r), pe(s), y, I, C, z);
|
|
3969
|
+
return z.delete(r), Oe;
|
|
3958
3970
|
case H:
|
|
3959
|
-
if (
|
|
3960
|
-
return
|
|
3971
|
+
if (In)
|
|
3972
|
+
return In.call(r) == In.call(s);
|
|
3961
3973
|
}
|
|
3962
3974
|
return !1;
|
|
3963
3975
|
}
|
|
3964
|
-
function
|
|
3965
|
-
var z = I & l,
|
|
3966
|
-
if (
|
|
3976
|
+
function qo(r, s, f, y, I, C) {
|
|
3977
|
+
var z = I & l, pe = Mn(r), ae = pe.length, me = Mn(s), Oe = me.length;
|
|
3978
|
+
if (ae != Oe && !z)
|
|
3967
3979
|
return !1;
|
|
3968
|
-
for (var
|
|
3969
|
-
var
|
|
3970
|
-
if (!(z ?
|
|
3980
|
+
for (var Te = ae; Te--; ) {
|
|
3981
|
+
var Se = pe[Te];
|
|
3982
|
+
if (!(z ? Se in s : Ye.call(s, Se)))
|
|
3971
3983
|
return !1;
|
|
3972
3984
|
}
|
|
3973
3985
|
var Fe = C.get(r);
|
|
@@ -3975,60 +3987,60 @@ Cn.exports;
|
|
|
3975
3987
|
return Fe == s;
|
|
3976
3988
|
var Ke = !0;
|
|
3977
3989
|
C.set(r, s), C.set(s, r);
|
|
3978
|
-
for (var
|
|
3979
|
-
|
|
3980
|
-
var ct = r[
|
|
3990
|
+
for (var pt = z; ++Te < ae; ) {
|
|
3991
|
+
Se = pe[Te];
|
|
3992
|
+
var ct = r[Se], At = s[Se];
|
|
3981
3993
|
if (y)
|
|
3982
|
-
var
|
|
3983
|
-
if (!(
|
|
3994
|
+
var gr = z ? y(At, ct, Se, s, r, C) : y(ct, At, Se, r, s, C);
|
|
3995
|
+
if (!(gr === void 0 ? ct === At || f(ct, At, y, I, C) : gr)) {
|
|
3984
3996
|
Ke = !1;
|
|
3985
3997
|
break;
|
|
3986
3998
|
}
|
|
3987
|
-
|
|
3999
|
+
pt || (pt = Se == "constructor");
|
|
3988
4000
|
}
|
|
3989
|
-
if (Ke && !
|
|
3990
|
-
var
|
|
3991
|
-
|
|
4001
|
+
if (Ke && !pt) {
|
|
4002
|
+
var cn = r.constructor, un = s.constructor;
|
|
4003
|
+
cn != un && "constructor" in r && "constructor" in s && !(typeof cn == "function" && cn instanceof cn && typeof un == "function" && un instanceof un) && (Ke = !1);
|
|
3992
4004
|
}
|
|
3993
4005
|
return C.delete(r), C.delete(s), Ke;
|
|
3994
4006
|
}
|
|
3995
|
-
function
|
|
4007
|
+
function rn(r, s) {
|
|
3996
4008
|
var f = r.__data__;
|
|
3997
|
-
return
|
|
4009
|
+
return Qo(s) ? f[typeof s == "string" ? "string" : "hash"] : f.map;
|
|
3998
4010
|
}
|
|
3999
|
-
function
|
|
4000
|
-
for (var s =
|
|
4011
|
+
function Jo(r) {
|
|
4012
|
+
for (var s = Mn(r), f = s.length; f--; ) {
|
|
4001
4013
|
var y = s[f], I = r[y];
|
|
4002
|
-
s[f] = [y, I,
|
|
4014
|
+
s[f] = [y, I, ar(I)];
|
|
4003
4015
|
}
|
|
4004
4016
|
return s;
|
|
4005
4017
|
}
|
|
4006
|
-
function
|
|
4007
|
-
var f =
|
|
4008
|
-
return
|
|
4018
|
+
function It(r, s) {
|
|
4019
|
+
var f = rt(r, s);
|
|
4020
|
+
return Ko(f) ? f : void 0;
|
|
4009
4021
|
}
|
|
4010
|
-
var
|
|
4011
|
-
(
|
|
4012
|
-
var s =
|
|
4022
|
+
var ht = $o;
|
|
4023
|
+
(De && ht(new De(new ArrayBuffer(1))) != re || Ge && ht(new Ge()) != E || it && ht(it.resolve()) != T || dt && ht(new dt()) != O || ft && ht(new ft()) != U) && (ht = function(r) {
|
|
4024
|
+
var s = q.call(r), f = s == R ? r.constructor : void 0, y = f ? St(f) : void 0;
|
|
4013
4025
|
if (y)
|
|
4014
4026
|
switch (y) {
|
|
4015
|
-
case
|
|
4027
|
+
case xt:
|
|
4016
4028
|
return re;
|
|
4017
|
-
case
|
|
4029
|
+
case Ct:
|
|
4018
4030
|
return E;
|
|
4019
|
-
case
|
|
4031
|
+
case Ht:
|
|
4020
4032
|
return T;
|
|
4021
|
-
case
|
|
4033
|
+
case uo:
|
|
4022
4034
|
return O;
|
|
4023
|
-
case
|
|
4035
|
+
case fo:
|
|
4024
4036
|
return U;
|
|
4025
4037
|
}
|
|
4026
4038
|
return s;
|
|
4027
4039
|
});
|
|
4028
|
-
function
|
|
4029
|
-
s =
|
|
4040
|
+
function Vo(r, s, f) {
|
|
4041
|
+
s = on(s, r) ? [s] : or(s);
|
|
4030
4042
|
for (var y, I = -1, z = s.length; ++I < z; ) {
|
|
4031
|
-
var C =
|
|
4043
|
+
var C = sn(s[I]);
|
|
4032
4044
|
if (!(y = r != null && f(r, C)))
|
|
4033
4045
|
break;
|
|
4034
4046
|
r = r[C];
|
|
@@ -4036,53 +4048,53 @@ Cn.exports;
|
|
|
4036
4048
|
if (y)
|
|
4037
4049
|
return y;
|
|
4038
4050
|
var z = r ? r.length : 0;
|
|
4039
|
-
return !!z &&
|
|
4051
|
+
return !!z && Nn(z) && sr(C, z) && (Rt(r) || ur(r));
|
|
4040
4052
|
}
|
|
4041
|
-
function
|
|
4053
|
+
function sr(r, s) {
|
|
4042
4054
|
return s = s ?? d, !!s && (typeof r == "number" || Ve.test(r)) && r > -1 && r % 1 == 0 && r < s;
|
|
4043
4055
|
}
|
|
4044
|
-
function
|
|
4045
|
-
if (
|
|
4056
|
+
function on(r, s) {
|
|
4057
|
+
if (Rt(r))
|
|
4046
4058
|
return !1;
|
|
4047
4059
|
var f = typeof r;
|
|
4048
|
-
return f == "number" || f == "symbol" || f == "boolean" || r == null ||
|
|
4060
|
+
return f == "number" || f == "symbol" || f == "boolean" || r == null || ln(r) ? !0 : we.test(r) || !V.test(r) || s != null && r in Object(s);
|
|
4049
4061
|
}
|
|
4050
|
-
function
|
|
4062
|
+
function Qo(r) {
|
|
4051
4063
|
var s = typeof r;
|
|
4052
4064
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? r !== "__proto__" : r === null;
|
|
4053
4065
|
}
|
|
4054
|
-
function
|
|
4055
|
-
return !!
|
|
4066
|
+
function Zo(r) {
|
|
4067
|
+
return !!Qt && Qt in r;
|
|
4056
4068
|
}
|
|
4057
|
-
function
|
|
4058
|
-
var s = r && r.constructor, f = typeof s == "function" && s.prototype ||
|
|
4069
|
+
function ei(r) {
|
|
4070
|
+
var s = r && r.constructor, f = typeof s == "function" && s.prototype || ot;
|
|
4059
4071
|
return r === f;
|
|
4060
4072
|
}
|
|
4061
|
-
function
|
|
4062
|
-
return r === r && !
|
|
4073
|
+
function ar(r) {
|
|
4074
|
+
return r === r && !Ot(r);
|
|
4063
4075
|
}
|
|
4064
|
-
function
|
|
4076
|
+
function lr(r, s) {
|
|
4065
4077
|
return function(f) {
|
|
4066
4078
|
return f == null ? !1 : f[r] === s && (s !== void 0 || r in Object(f));
|
|
4067
4079
|
};
|
|
4068
4080
|
}
|
|
4069
|
-
var
|
|
4070
|
-
r =
|
|
4081
|
+
var ti = Tn(function(r) {
|
|
4082
|
+
r = li(r);
|
|
4071
4083
|
var s = [];
|
|
4072
|
-
return
|
|
4073
|
-
s.push(I ? C.replace(
|
|
4084
|
+
return Ue.test(r) && s.push(""), r.replace(et, function(f, y, I, C) {
|
|
4085
|
+
s.push(I ? C.replace(Be, "$1") : y || f);
|
|
4074
4086
|
}), s;
|
|
4075
4087
|
});
|
|
4076
|
-
function
|
|
4077
|
-
if (typeof r == "string" ||
|
|
4088
|
+
function sn(r) {
|
|
4089
|
+
if (typeof r == "string" || ln(r))
|
|
4078
4090
|
return r;
|
|
4079
4091
|
var s = r + "";
|
|
4080
4092
|
return s == "0" && 1 / r == -c ? "-0" : s;
|
|
4081
4093
|
}
|
|
4082
|
-
function
|
|
4094
|
+
function St(r) {
|
|
4083
4095
|
if (r != null) {
|
|
4084
4096
|
try {
|
|
4085
|
-
return
|
|
4097
|
+
return Zt.call(r);
|
|
4086
4098
|
} catch {
|
|
4087
4099
|
}
|
|
4088
4100
|
try {
|
|
@@ -4092,14 +4104,14 @@ Cn.exports;
|
|
|
4092
4104
|
}
|
|
4093
4105
|
return "";
|
|
4094
4106
|
}
|
|
4095
|
-
function
|
|
4107
|
+
function ni(r, s, f) {
|
|
4096
4108
|
var y = r ? r.length : 0;
|
|
4097
4109
|
if (!y)
|
|
4098
4110
|
return -1;
|
|
4099
|
-
var I = f == null ? 0 :
|
|
4100
|
-
return I < 0 && (I =
|
|
4111
|
+
var I = f == null ? 0 : si(f);
|
|
4112
|
+
return I < 0 && (I = ut(y + I, 0)), ee(r, Xo(s), I);
|
|
4101
4113
|
}
|
|
4102
|
-
function
|
|
4114
|
+
function Tn(r, s) {
|
|
4103
4115
|
if (typeof r != "function" || s && typeof s != "function")
|
|
4104
4116
|
throw new TypeError(o);
|
|
4105
4117
|
var f = function() {
|
|
@@ -4109,91 +4121,91 @@ Cn.exports;
|
|
|
4109
4121
|
var z = r.apply(this, y);
|
|
4110
4122
|
return f.cache = C.set(I, z), z;
|
|
4111
4123
|
};
|
|
4112
|
-
return f.cache = new (
|
|
4124
|
+
return f.cache = new (Tn.Cache || at)(), f;
|
|
4113
4125
|
}
|
|
4114
|
-
|
|
4115
|
-
function
|
|
4126
|
+
Tn.Cache = at;
|
|
4127
|
+
function cr(r, s) {
|
|
4116
4128
|
return r === s || r !== r && s !== s;
|
|
4117
4129
|
}
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4130
|
+
function ur(r) {
|
|
4131
|
+
return ri(r) && Ye.call(r, "callee") && (!Ie.call(r, "callee") || q.call(r) == g);
|
|
4120
4132
|
}
|
|
4121
|
-
var
|
|
4122
|
-
function
|
|
4123
|
-
return r != null &&
|
|
4133
|
+
var Rt = Array.isArray;
|
|
4134
|
+
function dr(r) {
|
|
4135
|
+
return r != null && Nn(r.length) && !fr(r);
|
|
4124
4136
|
}
|
|
4125
|
-
function
|
|
4126
|
-
return
|
|
4137
|
+
function ri(r) {
|
|
4138
|
+
return an(r) && dr(r);
|
|
4127
4139
|
}
|
|
4128
|
-
function
|
|
4129
|
-
var s =
|
|
4140
|
+
function fr(r) {
|
|
4141
|
+
var s = Ot(r) ? q.call(r) : "";
|
|
4130
4142
|
return s == x || s == S;
|
|
4131
4143
|
}
|
|
4132
|
-
function
|
|
4144
|
+
function Nn(r) {
|
|
4133
4145
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= d;
|
|
4134
4146
|
}
|
|
4135
|
-
function
|
|
4147
|
+
function Ot(r) {
|
|
4136
4148
|
var s = typeof r;
|
|
4137
4149
|
return !!r && (s == "object" || s == "function");
|
|
4138
4150
|
}
|
|
4139
|
-
function
|
|
4151
|
+
function an(r) {
|
|
4140
4152
|
return !!r && typeof r == "object";
|
|
4141
4153
|
}
|
|
4142
|
-
function
|
|
4143
|
-
return typeof r == "symbol" ||
|
|
4154
|
+
function ln(r) {
|
|
4155
|
+
return typeof r == "symbol" || an(r) && q.call(r) == H;
|
|
4144
4156
|
}
|
|
4145
|
-
var
|
|
4146
|
-
function
|
|
4157
|
+
var oi = k ? be(k) : Ho;
|
|
4158
|
+
function ii(r) {
|
|
4147
4159
|
if (!r)
|
|
4148
4160
|
return r === 0 ? r : 0;
|
|
4149
|
-
if (r =
|
|
4161
|
+
if (r = ai(r), r === c || r === -c) {
|
|
4150
4162
|
var s = r < 0 ? -1 : 1;
|
|
4151
4163
|
return s * u;
|
|
4152
4164
|
}
|
|
4153
4165
|
return r === r ? r : 0;
|
|
4154
4166
|
}
|
|
4155
|
-
function
|
|
4156
|
-
var s =
|
|
4167
|
+
function si(r) {
|
|
4168
|
+
var s = ii(r), f = s % 1;
|
|
4157
4169
|
return s === s ? f ? s - f : s : 0;
|
|
4158
4170
|
}
|
|
4159
|
-
function
|
|
4171
|
+
function ai(r) {
|
|
4160
4172
|
if (typeof r == "number")
|
|
4161
4173
|
return r;
|
|
4162
|
-
if (
|
|
4174
|
+
if (ln(r))
|
|
4163
4175
|
return h;
|
|
4164
|
-
if (
|
|
4176
|
+
if (Ot(r)) {
|
|
4165
4177
|
var s = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
4166
|
-
r =
|
|
4178
|
+
r = Ot(s) ? s + "" : s;
|
|
4167
4179
|
}
|
|
4168
4180
|
if (typeof r != "string")
|
|
4169
4181
|
return r === 0 ? r : +r;
|
|
4170
|
-
r = r.replace(
|
|
4182
|
+
r = r.replace(tt, "");
|
|
4171
4183
|
var f = $.test(r);
|
|
4172
|
-
return f ||
|
|
4184
|
+
return f || Ee.test(r) ? Qe(r.slice(2), f ? 2 : 8) : de.test(r) ? h : +r;
|
|
4173
4185
|
}
|
|
4174
|
-
function
|
|
4175
|
-
return r == null ? "" :
|
|
4186
|
+
function li(r) {
|
|
4187
|
+
return r == null ? "" : Go(r);
|
|
4176
4188
|
}
|
|
4177
|
-
function
|
|
4178
|
-
var y = r == null ? void 0 :
|
|
4189
|
+
function ci(r, s, f) {
|
|
4190
|
+
var y = r == null ? void 0 : rr(r, s);
|
|
4179
4191
|
return y === void 0 ? f : y;
|
|
4180
4192
|
}
|
|
4181
|
-
function
|
|
4182
|
-
return r != null &&
|
|
4193
|
+
function ui(r, s) {
|
|
4194
|
+
return r != null && Vo(r, s, Bo);
|
|
4183
4195
|
}
|
|
4184
|
-
function
|
|
4185
|
-
return
|
|
4196
|
+
function Mn(r) {
|
|
4197
|
+
return dr(r) ? Po(r) : Uo(r);
|
|
4186
4198
|
}
|
|
4187
|
-
function
|
|
4199
|
+
function di(r) {
|
|
4188
4200
|
return r;
|
|
4189
4201
|
}
|
|
4190
|
-
function
|
|
4191
|
-
return
|
|
4202
|
+
function fi(r) {
|
|
4203
|
+
return on(r) ? oe(sn(r)) : ko(r);
|
|
4192
4204
|
}
|
|
4193
|
-
e.exports =
|
|
4194
|
-
})(
|
|
4195
|
-
var Ia =
|
|
4196
|
-
const
|
|
4205
|
+
e.exports = ni;
|
|
4206
|
+
})(Dn, Dn.exports);
|
|
4207
|
+
var Ia = Dn.exports;
|
|
4208
|
+
const Et = /* @__PURE__ */ wi(Ia), Oa = Bt.div``, Ta = Bt.div`
|
|
4197
4209
|
box-sizing: border-box;
|
|
4198
4210
|
display: flex;
|
|
4199
4211
|
flex-direction: ${(e) => e.verticalDisplay ? "column" : "row"};
|
|
@@ -4208,14 +4220,14 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4208
4220
|
}
|
|
4209
4221
|
})
|
|
4210
4222
|
}, La = () => {
|
|
4211
|
-
const [e, t] =
|
|
4223
|
+
const [e, t] = ne(!1);
|
|
4212
4224
|
return K(() => {
|
|
4213
4225
|
const n = setTimeout(() => t(!0), 500);
|
|
4214
4226
|
return () => clearTimeout(n);
|
|
4215
4227
|
}, []), e;
|
|
4216
4228
|
}, jn = (e, t) => {
|
|
4217
4229
|
if (e)
|
|
4218
|
-
return
|
|
4230
|
+
return Pt(
|
|
4219
4231
|
t,
|
|
4220
4232
|
"KanbanCard",
|
|
4221
4233
|
e,
|
|
@@ -4253,14 +4265,14 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4253
4265
|
},
|
|
4254
4266
|
animateLayoutChanges: Na
|
|
4255
4267
|
}), D = v ? i === v.id && ((R = g == null ? void 0 : g.data.current) == null ? void 0 : R.type) !== "container" || a.includes(v.id) : !1;
|
|
4256
|
-
return /* @__PURE__ */
|
|
4268
|
+
return /* @__PURE__ */ le(
|
|
4257
4269
|
co,
|
|
4258
4270
|
{
|
|
4259
4271
|
ref: o ? void 0 : x,
|
|
4260
4272
|
style: {
|
|
4261
4273
|
...u,
|
|
4262
4274
|
transition: S,
|
|
4263
|
-
transform:
|
|
4275
|
+
transform: yt.Translate.toString(E),
|
|
4264
4276
|
opacity: b ? 0.5 : void 0
|
|
4265
4277
|
},
|
|
4266
4278
|
className: l,
|
|
@@ -4305,8 +4317,8 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4305
4317
|
} = lo({
|
|
4306
4318
|
id: t
|
|
4307
4319
|
}), O = La(), M = x && !O;
|
|
4308
|
-
return /* @__PURE__ */
|
|
4309
|
-
|
|
4320
|
+
return /* @__PURE__ */ le(
|
|
4321
|
+
Un,
|
|
4310
4322
|
{
|
|
4311
4323
|
ref: e ? void 0 : b,
|
|
4312
4324
|
cardProps: u,
|
|
@@ -4343,7 +4355,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4343
4355
|
})
|
|
4344
4356
|
}
|
|
4345
4357
|
);
|
|
4346
|
-
}, Ba =
|
|
4358
|
+
}, Ba = Y.forwardRef((e, t) => {
|
|
4347
4359
|
const {
|
|
4348
4360
|
horizontalDisplay: n = !1,
|
|
4349
4361
|
verticalDisplay: o = !1,
|
|
@@ -4378,169 +4390,169 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4378
4390
|
color: B = "primary",
|
|
4379
4391
|
size: re = "small",
|
|
4380
4392
|
children: Q,
|
|
4381
|
-
...
|
|
4382
|
-
} = e, Xe =
|
|
4393
|
+
...Ae
|
|
4394
|
+
} = e, Xe = Yn(), [F, J] = ne(
|
|
4383
4395
|
() => _ ?? {
|
|
4384
4396
|
A: Tr(a, (p) => `A${p + 1}`),
|
|
4385
4397
|
B: Tr(a, (p) => `B${p + 1}`)
|
|
4386
4398
|
}
|
|
4387
|
-
), [
|
|
4399
|
+
), [Pe, Ne] = ne(Object.keys(_)), [ue, $e] = ne(null), V = X(null), we = X(!1), Ue = ue ? Pe.includes(ue) : !1, et = ve(
|
|
4388
4400
|
(p) => {
|
|
4389
|
-
var
|
|
4390
|
-
if (
|
|
4391
|
-
return
|
|
4401
|
+
var k;
|
|
4402
|
+
if (ue && ue in F)
|
|
4403
|
+
return br({
|
|
4392
4404
|
...p,
|
|
4393
4405
|
droppableContainers: p.droppableContainers.filter(
|
|
4394
|
-
(
|
|
4406
|
+
(fe) => fe.id in F
|
|
4395
4407
|
)
|
|
4396
4408
|
});
|
|
4397
4409
|
const m = ji(p), N = m.length > 0 ? (
|
|
4398
4410
|
// If there are droppables intersecting with the pointer, return those
|
|
4399
4411
|
m
|
|
4400
4412
|
) : $r(p);
|
|
4401
|
-
let
|
|
4402
|
-
if (
|
|
4403
|
-
if (
|
|
4404
|
-
const
|
|
4405
|
-
|
|
4413
|
+
let W = Jn(N, "id");
|
|
4414
|
+
if (W != null) {
|
|
4415
|
+
if (W in F) {
|
|
4416
|
+
const fe = F[W];
|
|
4417
|
+
fe.length > 0 && (W = (k = br({
|
|
4406
4418
|
...p,
|
|
4407
4419
|
droppableContainers: p.droppableContainers.filter(
|
|
4408
|
-
(ee) => ee.id !==
|
|
4420
|
+
(ee) => ee.id !== W && fe.map((oe) => oe.id).includes(ee.id)
|
|
4409
4421
|
)
|
|
4410
|
-
})[0]) == null ? void 0 :
|
|
4422
|
+
})[0]) == null ? void 0 : k.id);
|
|
4411
4423
|
}
|
|
4412
|
-
return V.current =
|
|
4424
|
+
return V.current = W, [{ id: W }];
|
|
4413
4425
|
}
|
|
4414
|
-
return we.current && (V.current =
|
|
4426
|
+
return we.current && (V.current = ue), V.current ? [{ id: V.current }] : [];
|
|
4415
4427
|
},
|
|
4416
|
-
[
|
|
4417
|
-
), [Z,
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4428
|
+
[ue, F]
|
|
4429
|
+
), [Z, tt] = ne([]), Be = zi(
|
|
4430
|
+
Pn(Wr),
|
|
4431
|
+
Pn(qr),
|
|
4432
|
+
Pn(Zn, {
|
|
4421
4433
|
coordinateGetter: h
|
|
4422
4434
|
})
|
|
4423
4435
|
);
|
|
4424
4436
|
Di(() => {
|
|
4425
|
-
J(_),
|
|
4437
|
+
J(_), Ne(Object.keys(_));
|
|
4426
4438
|
}), Ci(() => {
|
|
4427
|
-
J(_),
|
|
4439
|
+
J(_), Ne(Object.keys(_));
|
|
4428
4440
|
}, [_]), K(() => {
|
|
4429
4441
|
requestAnimationFrame(() => {
|
|
4430
4442
|
we.current = !1;
|
|
4431
4443
|
});
|
|
4432
4444
|
}, [F]);
|
|
4433
|
-
const
|
|
4445
|
+
const de = (p) => p in F ? p : Object.keys(F).find(
|
|
4434
4446
|
(m) => F[m].map((N) => N.id).includes(p)
|
|
4435
4447
|
), $ = (p) => {
|
|
4436
|
-
const m =
|
|
4437
|
-
return m ?
|
|
4438
|
-
},
|
|
4439
|
-
Z && J(Z),
|
|
4440
|
-
},
|
|
4441
|
-
|
|
4448
|
+
const m = de(p);
|
|
4449
|
+
return m ? Et(F[m], (N) => N.id == p) : -1;
|
|
4450
|
+
}, nt = () => {
|
|
4451
|
+
Z && J(Z), $e(null), tt(null);
|
|
4452
|
+
}, Ee = (p) => {
|
|
4453
|
+
$e(p.active.id), tt(F);
|
|
4442
4454
|
}, Ve = (p) => {
|
|
4443
|
-
const { active: m, over: N } = p,
|
|
4444
|
-
if (
|
|
4455
|
+
const { active: m, over: N } = p, W = N == null ? void 0 : N.id;
|
|
4456
|
+
if (W == null || m.id in F)
|
|
4445
4457
|
return;
|
|
4446
|
-
const
|
|
4447
|
-
!
|
|
4448
|
-
const oe = ee[
|
|
4458
|
+
const k = de(W), fe = de(m.id);
|
|
4459
|
+
!k || !fe || fe !== k && J((ee) => {
|
|
4460
|
+
const oe = ee[fe], he = ee[k], be = Et(he, (Me) => Me.id == W), rt = Et(oe, (Me) => Me.id == m.id);
|
|
4449
4461
|
let te;
|
|
4450
|
-
if (
|
|
4451
|
-
te =
|
|
4462
|
+
if (W in ee)
|
|
4463
|
+
te = he.length + 1;
|
|
4452
4464
|
else {
|
|
4453
|
-
const
|
|
4454
|
-
te =
|
|
4465
|
+
const wt = N && m.rect.current.translated && m.rect.current.translated.top > N.rect.top + N.rect.height ? 1 : 0;
|
|
4466
|
+
te = be >= 0 ? be + wt : he.length + 1;
|
|
4455
4467
|
}
|
|
4456
4468
|
return U(m.id), we.current = !0, {
|
|
4457
4469
|
...ee,
|
|
4458
|
-
[
|
|
4459
|
-
(
|
|
4470
|
+
[fe]: ee[fe].filter(
|
|
4471
|
+
(Me) => Me.id != m.id
|
|
4460
4472
|
),
|
|
4461
|
-
[
|
|
4462
|
-
...ee[
|
|
4463
|
-
ee[
|
|
4464
|
-
...ee[
|
|
4473
|
+
[k]: [
|
|
4474
|
+
...ee[k].slice(0, te),
|
|
4475
|
+
ee[fe][rt],
|
|
4476
|
+
...ee[k].slice(
|
|
4465
4477
|
te,
|
|
4466
|
-
ee[
|
|
4478
|
+
ee[k].length
|
|
4467
4479
|
)
|
|
4468
4480
|
]
|
|
4469
4481
|
};
|
|
4470
4482
|
});
|
|
4471
4483
|
}, P = (p) => {
|
|
4472
4484
|
const { active: m, over: N } = p;
|
|
4473
|
-
var
|
|
4474
|
-
m.id in F && (N != null && N.id) &&
|
|
4475
|
-
|
|
4476
|
-
const
|
|
4477
|
-
var
|
|
4478
|
-
return m.id !== N.id && M(p,
|
|
4485
|
+
var W = !1, k = mi(F);
|
|
4486
|
+
m.id in F && (N != null && N.id) && Ne((ie) => {
|
|
4487
|
+
W = !0;
|
|
4488
|
+
const se = ie.indexOf(m.id), Le = ie.indexOf(N.id);
|
|
4489
|
+
var ot = Yt(ie, se, Le);
|
|
4490
|
+
return m.id !== N.id && M(p, ot), ot;
|
|
4479
4491
|
});
|
|
4480
|
-
const
|
|
4481
|
-
if (!
|
|
4482
|
-
|
|
4492
|
+
const fe = de(m.id);
|
|
4493
|
+
if (!fe) {
|
|
4494
|
+
$e(null);
|
|
4483
4495
|
return;
|
|
4484
4496
|
}
|
|
4485
4497
|
const ee = N == null ? void 0 : N.id;
|
|
4486
4498
|
if (ee == null) {
|
|
4487
|
-
|
|
4499
|
+
$e(null);
|
|
4488
4500
|
return;
|
|
4489
4501
|
}
|
|
4490
|
-
const oe =
|
|
4502
|
+
const oe = de(ee);
|
|
4491
4503
|
if (oe) {
|
|
4492
|
-
const ie =
|
|
4493
|
-
F[
|
|
4494
|
-
(
|
|
4495
|
-
),
|
|
4496
|
-
ie !==
|
|
4497
|
-
...
|
|
4498
|
-
[oe]:
|
|
4499
|
-
|
|
4504
|
+
const ie = Et(
|
|
4505
|
+
F[fe],
|
|
4506
|
+
(Le) => Le.id == m.id
|
|
4507
|
+
), se = Et(F[oe], (Le) => Le.id == ee);
|
|
4508
|
+
ie !== se && (k = {
|
|
4509
|
+
...k,
|
|
4510
|
+
[oe]: Yt(
|
|
4511
|
+
k[oe],
|
|
4500
4512
|
ie,
|
|
4501
|
-
|
|
4513
|
+
se
|
|
4502
4514
|
)
|
|
4503
|
-
}, J((
|
|
4504
|
-
...
|
|
4505
|
-
[oe]:
|
|
4506
|
-
|
|
4515
|
+
}, J((Le) => ({
|
|
4516
|
+
...Le,
|
|
4517
|
+
[oe]: Yt(
|
|
4518
|
+
Le[oe],
|
|
4507
4519
|
ie,
|
|
4508
|
-
|
|
4520
|
+
se
|
|
4509
4521
|
)
|
|
4510
4522
|
})));
|
|
4511
4523
|
}
|
|
4512
|
-
if (!
|
|
4513
|
-
var
|
|
4514
|
-
|
|
4515
|
-
if (Z[ie].map((
|
|
4516
|
-
|
|
4524
|
+
if (!W) {
|
|
4525
|
+
var he, be = null, rt, te = -1, Me = Object.keys(Z), wt = Object.keys(k);
|
|
4526
|
+
Me.forEach((ie) => {
|
|
4527
|
+
if (Z[ie].map((se) => se.id.toString()).includes(m.id.toString())) {
|
|
4528
|
+
he = ie, rt = Et(Z[ie], (se) => se.id == m.id);
|
|
4517
4529
|
return;
|
|
4518
4530
|
}
|
|
4519
|
-
}),
|
|
4520
|
-
if (
|
|
4521
|
-
|
|
4531
|
+
}), wt.forEach((ie) => {
|
|
4532
|
+
if (k[ie].map((se) => se.id.toString()).includes(m.id.toString())) {
|
|
4533
|
+
be = ie, te = Et(k[ie], (se) => se.id == m.id);
|
|
4522
4534
|
return;
|
|
4523
4535
|
}
|
|
4524
|
-
}),
|
|
4536
|
+
}), he === be && rt !== te && H(p, k, be), he !== be && U(p, k, be, he);
|
|
4525
4537
|
}
|
|
4526
|
-
|
|
4538
|
+
$e(null);
|
|
4527
4539
|
}, Qe = (p) => {
|
|
4528
4540
|
var m = null;
|
|
4529
|
-
return
|
|
4530
|
-
F[N].forEach((
|
|
4531
|
-
if (
|
|
4532
|
-
m =
|
|
4541
|
+
return Pe.forEach((N) => {
|
|
4542
|
+
F[N].forEach((W) => {
|
|
4543
|
+
if (W.id == p) {
|
|
4544
|
+
m = W;
|
|
4533
4545
|
return;
|
|
4534
4546
|
}
|
|
4535
4547
|
});
|
|
4536
|
-
}), /* @__PURE__ */
|
|
4537
|
-
|
|
4548
|
+
}), /* @__PURE__ */ le(
|
|
4549
|
+
Un,
|
|
4538
4550
|
{
|
|
4539
4551
|
value: p,
|
|
4540
4552
|
handle: d,
|
|
4541
4553
|
cardProps: D,
|
|
4542
4554
|
style: g({
|
|
4543
|
-
containerId:
|
|
4555
|
+
containerId: de(p),
|
|
4544
4556
|
overIndex: -1,
|
|
4545
4557
|
index: $(p),
|
|
4546
4558
|
value: p,
|
|
@@ -4557,10 +4569,10 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4557
4569
|
}
|
|
4558
4570
|
}
|
|
4559
4571
|
);
|
|
4560
|
-
},
|
|
4572
|
+
}, je = (p) => /* @__PURE__ */ le(
|
|
4561
4573
|
co,
|
|
4562
4574
|
{
|
|
4563
|
-
label:
|
|
4575
|
+
label: mt(p),
|
|
4564
4576
|
columns: c,
|
|
4565
4577
|
style: {
|
|
4566
4578
|
height: "100%"
|
|
@@ -4568,9 +4580,9 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4568
4580
|
shadow: !0,
|
|
4569
4581
|
unstyled: !1,
|
|
4570
4582
|
containerId: p,
|
|
4571
|
-
renderFooterContent:
|
|
4572
|
-
children: F[p].map((m, N) => /* @__PURE__ */
|
|
4573
|
-
|
|
4583
|
+
renderFooterContent: _e,
|
|
4584
|
+
children: F[p].map((m, N) => /* @__PURE__ */ le(
|
|
4585
|
+
Un,
|
|
4574
4586
|
{
|
|
4575
4587
|
cardProps: D,
|
|
4576
4588
|
value: m.id,
|
|
@@ -4596,10 +4608,10 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4596
4608
|
m.id
|
|
4597
4609
|
))
|
|
4598
4610
|
}
|
|
4599
|
-
),
|
|
4611
|
+
), mt = (p) => {
|
|
4600
4612
|
let m = c == null ? void 0 : c.find((N) => N.id == (p == null ? void 0 : p.toString()));
|
|
4601
|
-
return
|
|
4602
|
-
|
|
4613
|
+
return Tt(
|
|
4614
|
+
Nt("KANBAN_HEADER", p, Q),
|
|
4603
4615
|
{
|
|
4604
4616
|
...R,
|
|
4605
4617
|
item: { [p]: F[p] },
|
|
@@ -4607,8 +4619,8 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4607
4619
|
},
|
|
4608
4620
|
m == null ? void 0 : m.header,
|
|
4609
4621
|
!0
|
|
4610
|
-
) ||
|
|
4611
|
-
|
|
4622
|
+
) || Tt(
|
|
4623
|
+
Nt("KANBAN_HEADER", null, Q),
|
|
4612
4624
|
{
|
|
4613
4625
|
...R,
|
|
4614
4626
|
item: { [p]: F[p] },
|
|
@@ -4616,7 +4628,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4616
4628
|
},
|
|
4617
4629
|
m == null ? void 0 : m.header,
|
|
4618
4630
|
!0
|
|
4619
|
-
) || /* @__PURE__ */
|
|
4631
|
+
) || /* @__PURE__ */ le(
|
|
4620
4632
|
xi,
|
|
4621
4633
|
{
|
|
4622
4634
|
id: p,
|
|
@@ -4628,80 +4640,80 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4628
4640
|
children: m == null ? void 0 : m.header
|
|
4629
4641
|
}
|
|
4630
4642
|
);
|
|
4631
|
-
},
|
|
4632
|
-
|
|
4643
|
+
}, _e = (p) => Tt(
|
|
4644
|
+
Nt("KANBAN_FOOTER", p, Q),
|
|
4633
4645
|
{
|
|
4634
4646
|
...T,
|
|
4635
4647
|
id: p
|
|
4636
4648
|
},
|
|
4637
4649
|
null
|
|
4638
|
-
) ||
|
|
4639
|
-
|
|
4650
|
+
) || Tt(
|
|
4651
|
+
Nt("KANBAN_FOOTER", null, Q),
|
|
4640
4652
|
{
|
|
4641
4653
|
...T,
|
|
4642
4654
|
id: p
|
|
4643
4655
|
},
|
|
4644
4656
|
null
|
|
4645
|
-
), Ze = (p, m, N) =>
|
|
4646
|
-
|
|
4657
|
+
), Ze = (p, m, N) => Tt(
|
|
4658
|
+
Nt("KANBAN_CARD", m, Q),
|
|
4647
4659
|
{
|
|
4648
4660
|
...N
|
|
4649
4661
|
},
|
|
4650
4662
|
p,
|
|
4651
4663
|
!0
|
|
4652
|
-
) ||
|
|
4653
|
-
|
|
4664
|
+
) || Tt(
|
|
4665
|
+
Nt("KANBAN_CARD", null, Q),
|
|
4654
4666
|
{
|
|
4655
4667
|
...N
|
|
4656
4668
|
},
|
|
4657
4669
|
p,
|
|
4658
4670
|
!0
|
|
4659
|
-
) || /* @__PURE__ */
|
|
4660
|
-
return /* @__PURE__ */
|
|
4671
|
+
) || /* @__PURE__ */ le(yi, { color: B, size: re, ...N, children: p });
|
|
4672
|
+
return /* @__PURE__ */ le(Oa, { ref: t, ...Ae, children: /* @__PURE__ */ vn(
|
|
4661
4673
|
Ls,
|
|
4662
4674
|
{
|
|
4663
4675
|
measuring: {
|
|
4664
4676
|
droppable: {
|
|
4665
|
-
strategy:
|
|
4677
|
+
strategy: $t.Always
|
|
4666
4678
|
}
|
|
4667
4679
|
},
|
|
4668
|
-
sensors:
|
|
4669
|
-
collisionDetection:
|
|
4680
|
+
sensors: Be,
|
|
4681
|
+
collisionDetection: et,
|
|
4670
4682
|
modifiers: A,
|
|
4671
4683
|
cancelDrop: l,
|
|
4672
|
-
onDragCancel:
|
|
4673
|
-
onDragStart:
|
|
4684
|
+
onDragCancel: nt,
|
|
4685
|
+
onDragStart: Ee,
|
|
4674
4686
|
onDragOver: Ve,
|
|
4675
4687
|
onDragEnd: P,
|
|
4676
4688
|
children: [
|
|
4677
|
-
/* @__PURE__ */
|
|
4689
|
+
/* @__PURE__ */ le(
|
|
4678
4690
|
Ta,
|
|
4679
4691
|
{
|
|
4680
4692
|
horizontalDisplay: n,
|
|
4681
4693
|
verticalDisplay: o,
|
|
4682
|
-
children: /* @__PURE__ */
|
|
4694
|
+
children: /* @__PURE__ */ le(
|
|
4683
4695
|
Or,
|
|
4684
4696
|
{
|
|
4685
|
-
items: [...
|
|
4697
|
+
items: [...Pe],
|
|
4686
4698
|
strategy: o ? Ir : na,
|
|
4687
|
-
children:
|
|
4699
|
+
children: Pe.map((p) => /* @__PURE__ */ le(
|
|
4688
4700
|
Pa,
|
|
4689
4701
|
{
|
|
4690
4702
|
id: p,
|
|
4691
|
-
label: b ? void 0 :
|
|
4703
|
+
label: b ? void 0 : mt(p),
|
|
4692
4704
|
items: F[p],
|
|
4693
4705
|
color: B,
|
|
4694
4706
|
scrollable: S,
|
|
4695
4707
|
style: u,
|
|
4696
4708
|
unstyled: b,
|
|
4697
4709
|
containerId: p,
|
|
4698
|
-
renderFooterContent:
|
|
4710
|
+
renderFooterContent: _e,
|
|
4699
4711
|
maxContainerHeight: E,
|
|
4700
4712
|
...R,
|
|
4701
|
-
children: /* @__PURE__ */
|
|
4713
|
+
children: /* @__PURE__ */ le(Or, { items: F[p], strategy: x, children: F[p].map((m, N) => /* @__PURE__ */ le(
|
|
4702
4714
|
$a,
|
|
4703
4715
|
{
|
|
4704
|
-
disabled:
|
|
4716
|
+
disabled: Ue || (m == null ? void 0 : m.disabled),
|
|
4705
4717
|
id: m.id,
|
|
4706
4718
|
item: m,
|
|
4707
4719
|
index: N,
|
|
@@ -4723,8 +4735,8 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4723
4735
|
)
|
|
4724
4736
|
}
|
|
4725
4737
|
),
|
|
4726
|
-
|
|
4727
|
-
/* @__PURE__ */
|
|
4738
|
+
Mt.createPortal(
|
|
4739
|
+
/* @__PURE__ */ le(Qs, { adjustScale: i, dropAnimation: Ma, children: ue ? Pe.includes(ue) ? je(ue) : Qe(ue) : null }),
|
|
4728
4740
|
document.body
|
|
4729
4741
|
)
|
|
4730
4742
|
]
|
|
@@ -4732,29 +4744,29 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
|
|
|
4732
4744
|
) });
|
|
4733
4745
|
});
|
|
4734
4746
|
Ba.propTypes = {
|
|
4735
|
-
horizontalDisplay:
|
|
4736
|
-
verticalDisplay:
|
|
4737
|
-
adjustScale:
|
|
4747
|
+
horizontalDisplay: G.bool,
|
|
4748
|
+
verticalDisplay: G.bool,
|
|
4749
|
+
adjustScale: G.bool,
|
|
4738
4750
|
//Number of items in container
|
|
4739
|
-
itemCount:
|
|
4740
|
-
cancelDrop:
|
|
4751
|
+
itemCount: G.bool,
|
|
4752
|
+
cancelDrop: G.func,
|
|
4741
4753
|
/**
|
|
4742
4754
|
* type of: [{id: `<string | number>`, content: `<string | element>`}, ...]
|
|
4743
4755
|
*/
|
|
4744
|
-
columns:
|
|
4745
|
-
handle:
|
|
4756
|
+
columns: G.array,
|
|
4757
|
+
handle: G.bool,
|
|
4746
4758
|
// containerStyle,
|
|
4747
4759
|
// coordinateGetter = multipleContainersCoordinateGetter,
|
|
4748
|
-
getItemStyles:
|
|
4749
|
-
wrapperStyle:
|
|
4750
|
-
minimal:
|
|
4760
|
+
getItemStyles: G.func,
|
|
4761
|
+
wrapperStyle: G.func,
|
|
4762
|
+
minimal: G.bool,
|
|
4751
4763
|
// modifiers,
|
|
4752
|
-
renderItem:
|
|
4764
|
+
renderItem: G.func,
|
|
4753
4765
|
// strategy = verticalListSortingStrategy,
|
|
4754
|
-
scrollable:
|
|
4755
|
-
cardProps:
|
|
4756
|
-
headerProps:
|
|
4757
|
-
footerProps:
|
|
4766
|
+
scrollable: G.bool,
|
|
4767
|
+
cardProps: G.any,
|
|
4768
|
+
headerProps: G.any,
|
|
4769
|
+
footerProps: G.any,
|
|
4758
4770
|
//---------------------------
|
|
4759
4771
|
/**
|
|
4760
4772
|
* Type of:
|
|
@@ -4764,19 +4776,19 @@ Ba.propTypes = {
|
|
|
4764
4776
|
* content< element >,
|
|
4765
4777
|
* color< "primary" | "secondary" | "danger" | "warning" | "information" | "neutral" >]}] }
|
|
4766
4778
|
*/
|
|
4767
|
-
data:
|
|
4768
|
-
columnInfo:
|
|
4769
|
-
onColumnMoved:
|
|
4770
|
-
onCardMoved:
|
|
4771
|
-
onCardChangedColumns:
|
|
4779
|
+
data: G.object,
|
|
4780
|
+
columnInfo: G.object,
|
|
4781
|
+
onColumnMoved: G.func,
|
|
4782
|
+
onCardMoved: G.func,
|
|
4783
|
+
onCardChangedColumns: G.func,
|
|
4772
4784
|
/**
|
|
4773
4785
|
* Max height of column container (cards list) before scroll appears.
|
|
4774
4786
|
*/
|
|
4775
|
-
maxContainerHeight:
|
|
4787
|
+
maxContainerHeight: G.string,
|
|
4776
4788
|
//----------------
|
|
4777
|
-
className:
|
|
4778
|
-
style:
|
|
4779
|
-
color:
|
|
4789
|
+
className: G.string,
|
|
4790
|
+
style: G.object,
|
|
4791
|
+
color: G.oneOf([
|
|
4780
4792
|
"primary",
|
|
4781
4793
|
"secondary",
|
|
4782
4794
|
"success",
|
|
@@ -4786,7 +4798,7 @@ Ba.propTypes = {
|
|
|
4786
4798
|
"neutral",
|
|
4787
4799
|
"gray"
|
|
4788
4800
|
]),
|
|
4789
|
-
size:
|
|
4801
|
+
size: G.oneOf(["small", "medium", "large"])
|
|
4790
4802
|
};
|
|
4791
4803
|
export {
|
|
4792
4804
|
Ba as default
|