impact-nova 1.7.25 → 1.7.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,95 +1,84 @@
1
1
  import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import z, { useMemo as L } from "react";
3
- import { useSortable as O, defaultAnimateLayoutChanges as P } from "@dnd-kit/sortable";
4
- import { useDroppable as $ } from "@dnd-kit/core";
5
- import { CSS as j } from "@dnd-kit/utilities";
6
- import { Checkbox as E } from "../../checkbox.js";
7
- import { ChevronRight as H, Drag as F } from "../../../../icons/index.js";
8
- import { cn as s } from "../../../../lib/utils.js";
9
- import { useImpactNovaI18n as M } from "../../../../i18n/ImpactNovaI18nContext.js";
10
- const _ = (e, o, t, c, a) => {
11
- const n = "flex items-center gap-1 py-[3px] px-2 rounded transition-all duration-200";
12
- return e ? s(n, "bg-transparent") : a ? s(n, "bg-feedback-error-surface border border-destructive animate-pulse") : o && t ? c ? s(n, "bg-canvas-tint border-2 border-brand shadow-sm") : s(n, "bg-feedback-error-surface border-2 border-destructive shadow-sm") : s(n, "hover:bg-canvas-muted");
13
- }, T = (e) => P({ ...e, wasDragging: !0 }), q = ({ item: e, isAnyDragging: o }) => {
14
- const t = !e.children || e.children.length === 0, {
2
+ import C, { useMemo as I } from "react";
3
+ import { useSortable as D } from "@dnd-kit/sortable";
4
+ import { useDroppable as L } from "@dnd-kit/core";
5
+ import { Checkbox as R } from "../../checkbox.js";
6
+ import { ChevronRight as S, Drag as w } from "../../../../icons/index.js";
7
+ import { cn as d } from "../../../../lib/utils.js";
8
+ import { useImpactNovaI18n as m } from "../../../../i18n/ImpactNovaI18nContext.js";
9
+ const z = (e, o) => {
10
+ const t = "flex items-center gap-1 py-[3px] px-2 rounded transition-colors duration-150";
11
+ return e ? d(t, "opacity-40 bg-canvas-muted") : o ? d(t, "bg-feedback-error-surface border border-destructive animate-pulse") : d(t, "hover:bg-canvas-muted");
12
+ }, H = ({ item: e, isAnyDragging: o }) => {
13
+ const { t } = m(), n = !e.children || e.children.length === 0, {
15
14
  setNodeRef: c,
16
- isOver: a
17
- } = $({
15
+ isOver: s
16
+ } = L({
18
17
  id: `droppable-${e.id}`,
19
18
  data: { sectionId: e.id },
20
- disabled: !t
19
+ disabled: !n
21
20
  });
22
- return /* @__PURE__ */ p("div", { ref: t ? c : void 0, children: [
21
+ return /* @__PURE__ */ p("div", { ref: n ? c : void 0, children: [
23
22
  /* @__PURE__ */ p(
24
23
  "div",
25
24
  {
26
- className: s(
25
+ className: d(
27
26
  "flex items-center px-2 py-0 text-xs font-[500] leading-4 text-navigation-muted select-none",
28
27
  e.id === "root-scrollable" ? "mt-2 pt-2 pb-1 border-t border-solid border-stroke-subtle" : "mt-1 pb-1",
29
- a && o && t && "bg-canvas-tint rounded"
28
+ s && o && n && "bg-canvas-tint rounded"
30
29
  ),
31
30
  children: [
32
31
  e.label,
33
- a && o && t && /* @__PURE__ */ r("span", { className: "ml-2 text-brand text-[11px]", children: "Drop here" })
32
+ s && o && n && /* @__PURE__ */ r("span", { className: "ml-2 text-brand text-[11px]", children: t("nestedList.dropHere") })
34
33
  ]
35
34
  }
36
35
  ),
37
- t && /* @__PURE__ */ r(
36
+ n && /* @__PURE__ */ r(
38
37
  "div",
39
38
  {
40
- className: s(
39
+ className: d(
41
40
  "mx-2 my-1 rounded border-2 border-dashed min-h-[36px] flex items-center justify-center text-[11px] transition-colors",
42
- a && o ? "border-brand bg-canvas-tint text-brand" : "border-stroke-hairline text-content-empty"
41
+ s && o ? "border-brand bg-canvas-tint text-brand" : "border-stroke-hairline text-content-empty"
43
42
  ),
44
- children: a && o ? "Release to drop" : "Drag here"
43
+ children: t(s && o ? "nestedList.releaseToDrop" : "nestedList.dragHere")
45
44
  }
46
45
  )
47
46
  ] });
48
- }, B = ({
47
+ }, P = ({
49
48
  item: e,
50
49
  level: o,
51
50
  isCollapsed: t,
52
- onToggle: c,
53
- onToggleCollapse: a,
54
- isAnyDragging: n = !1,
55
- isOver: h = !1,
56
- isValidDrop: x = !1,
57
- enableDragDrop: v = !0,
58
- enableCollapse: u = !0,
59
- shouldBlink: g = !1
51
+ onToggle: n,
52
+ onToggleCollapse: c,
53
+ isAnyDragging: s = !1,
54
+ isOver: _ = !1,
55
+ isValidDrop: $ = !1,
56
+ enableDragDrop: f = !0,
57
+ enableCollapse: b = !0,
58
+ shouldBlink: x = !1
60
59
  }) => {
61
- const { t: m } = M(), f = e.category === "structure", i = e.children && e.children.length > 0, k = L(() => !e.children || e.children.length === 0 || e.children.every((b) => b.checked) ? !1 : e.children.some((b) => b.checked), [e.children]), {
62
- attributes: N,
63
- listeners: C,
64
- setNodeRef: y,
65
- transform: I,
66
- transition: S,
67
- isDragging: l,
68
- isOver: w
69
- } = O({
60
+ const { t: h } = m(), u = e.category === "structure", i = e.children && e.children.length > 0, v = I(() => !e.children || e.children.length === 0 || e.children.every((l) => l.checked) ? !1 : e.children.some((l) => l.checked), [e.children]), {
61
+ attributes: g,
62
+ listeners: k,
63
+ setNodeRef: N,
64
+ isDragging: y,
65
+ // transform and transition intentionally not applied — we use a custom
66
+ // FloatingClone and manual insertion line instead of dnd-kit's built-in animations.
67
+ transform: j,
68
+ transition: E
69
+ } = D({
70
70
  id: e.id,
71
- animateLayoutChanges: T,
72
71
  data: {
73
72
  level: o,
74
73
  hasChildren: i,
75
74
  isExpanded: !t
76
75
  },
77
- disabled: f || e.disabled
76
+ disabled: u || e.disabled
78
77
  });
79
- if (f)
80
- return /* @__PURE__ */ r(q, { item: e, isAnyDragging: n });
81
- const R = h !== void 0 ? h : w, D = {
82
- transform: j.Transform.toString(I),
83
- transition: S,
84
- opacity: l ? 0.5 : 1,
85
- zIndex: l ? 100 : "auto",
86
- height: "auto"
87
- };
88
- return /* @__PURE__ */ r(
78
+ return u ? /* @__PURE__ */ r(H, { item: e, isAnyDragging: s }) : /* @__PURE__ */ r(
89
79
  "div",
90
80
  {
91
- ref: y,
92
- style: D,
81
+ ref: N,
93
82
  className: "relative",
94
83
  "data-item-id": e.id,
95
84
  "data-level": o,
@@ -99,51 +88,45 @@ const _ = (e, o, t, c, a) => {
99
88
  children: /* @__PURE__ */ p(
100
89
  "div",
101
90
  {
102
- className: _(
103
- l,
104
- R,
105
- n,
106
- x,
107
- g
108
- ),
91
+ className: z(y, x),
109
92
  style: {
110
93
  paddingLeft: `${8 + o * 20}px`
111
94
  },
112
95
  children: [
113
- u && i && /* @__PURE__ */ r(
96
+ b && i && /* @__PURE__ */ r(
114
97
  "button",
115
98
  {
116
99
  type: "button",
117
- onClick: (d) => {
118
- d.stopPropagation(), a(e.id);
100
+ onClick: (a) => {
101
+ a.stopPropagation(), c(e.id);
119
102
  },
120
- onMouseDown: (d) => d.stopPropagation(),
103
+ onMouseDown: (a) => a.stopPropagation(),
121
104
  className: "p-1 hover:bg-muted rounded-full transition-colors flex items-center text-content-icon hover:text-brand",
122
- "aria-label": m(t ? "nestedList.expand" : "nestedList.collapse"),
105
+ "aria-label": h(t ? "nestedList.expand" : "nestedList.collapse"),
123
106
  children: /* @__PURE__ */ r(
124
- H,
107
+ S,
125
108
  {
126
109
  size: "16px",
127
- className: s("transition-transform", !t && "rotate-90")
110
+ className: d("transition-transform", !t && "rotate-90")
128
111
  }
129
112
  )
130
113
  }
131
114
  ),
132
- (!u || !i) && /* @__PURE__ */ r("div", { className: "w-4" }),
115
+ (!b || !i) && /* @__PURE__ */ r("div", { className: "w-6" }),
133
116
  /* @__PURE__ */ r(
134
- E,
117
+ R,
135
118
  {
136
119
  id: `checkbox-${e.id}`,
137
- checked: k ? "indeterminate" : e.checked,
138
- onCheckedChange: () => c(e.id),
120
+ checked: v ? "indeterminate" : e.checked,
121
+ onCheckedChange: () => n(e.id),
139
122
  disabled: e.disabled
140
123
  }
141
124
  ),
142
- v && /* @__PURE__ */ r(
125
+ f && /* @__PURE__ */ r(
143
126
  "div",
144
127
  {
145
- ...N,
146
- ...C,
128
+ ...g,
129
+ ...k,
147
130
  className: "cursor-grab active:cursor-grabbing p-0 hover:bg-muted rounded flex items-center",
148
131
  style: {
149
132
  pointerEvents: "auto",
@@ -151,10 +134,10 @@ const _ = (e, o, t, c, a) => {
151
134
  zIndex: 30,
152
135
  touchAction: "none"
153
136
  },
154
- onPointerDown: (d) => {
155
- d.stopPropagation();
137
+ onPointerDown: (a) => {
138
+ a.stopPropagation();
156
139
  },
157
- children: /* @__PURE__ */ r(F, { size: "14px", className: "text-content-icon" })
140
+ children: /* @__PURE__ */ r(w, { size: "14px", className: "text-content-icon" })
158
141
  }
159
142
  ),
160
143
  /* @__PURE__ */ r(
@@ -170,7 +153,7 @@ const _ = (e, o, t, c, a) => {
170
153
  )
171
154
  }
172
155
  );
173
- }, A = z.memo(B);
156
+ }, K = C.memo(P);
174
157
  export {
175
- A as SortableItem
158
+ K as SortableItem
176
159
  };
@@ -1,216 +1,239 @@
1
- import { useCallback as h } from "react";
2
- import { useSensors as W, useSensor as A, MouseSensor as X, TouchSensor as j, closestCorners as q } from "@dnd-kit/core";
3
- import { arrayMove as w } from "@dnd-kit/sortable";
4
- const B = "droppable-", O = /* @__PURE__ */ new Set(["root-frozen", "root-scrollable"]);
5
- function Y(f) {
6
- if (f.startsWith(B)) {
7
- const c = f.slice(B.length);
8
- if (O.has(c)) return c;
1
+ import { useCallback as S } from "react";
2
+ import { useSensors as K, useSensor as H, MouseSensor as Q, TouchSensor as U, closestCenter as Z } from "@dnd-kit/core";
3
+ import { arrayMove as _ } from "@dnd-kit/sortable";
4
+ const V = "droppable-", b = /* @__PURE__ */ new Set(["root-frozen", "root-scrollable"]);
5
+ function W(a) {
6
+ if (a.startsWith(V)) {
7
+ const s = a.slice(V.length);
8
+ if (b.has(s)) return s;
9
9
  }
10
10
  return null;
11
11
  }
12
- const K = (f) => {
13
- const c = q(f), a = c.filter(
14
- (s) => !O.has(s.id)
12
+ const m = (a) => {
13
+ const s = Z(a), f = s.filter(
14
+ (h) => !b.has(h.id)
15
15
  );
16
- return a.length > 0 ? a : c;
16
+ return f.length > 0 ? f : s;
17
17
  };
18
- function F(f, c) {
19
- for (const a of f) {
20
- if (a.id === c) return a;
21
- if (a.children) {
22
- const s = F(a.children, c);
23
- if (s) return s;
18
+ function F(a, s) {
19
+ for (const f of a) {
20
+ if (f.id === s) return f;
21
+ if (f.children) {
22
+ const h = F(f.children, s);
23
+ if (h) return h;
24
24
  }
25
25
  }
26
26
  }
27
- const Q = ({
28
- items: f,
29
- onDragEnd: c
27
+ function X(a, s) {
28
+ for (const f of a) {
29
+ if (f.id === s) return null;
30
+ if (f.children && F(f.children, s))
31
+ return f.id;
32
+ }
33
+ return null;
34
+ }
35
+ const I = ({
36
+ items: a,
37
+ onDragEnd: s
30
38
  }) => {
31
- const a = W(
32
- A(X),
33
- A(j)
34
- ), s = h(
35
- (t, r, o = 0) => {
36
- for (const n of t) {
37
- if (n.id === r) return o;
39
+ const f = K(
40
+ H(Q),
41
+ H(U)
42
+ ), h = S(
43
+ (i, e, o = 0) => {
44
+ for (const n of i) {
45
+ if (n.id === e) return o;
38
46
  if (n.children) {
39
- const e = s(n.children, r, o + 1);
40
- if (e !== null) return e;
47
+ const r = h(n.children, e, o + 1);
48
+ if (r !== null) return r;
41
49
  }
42
50
  }
43
51
  return null;
44
52
  },
45
53
  []
46
- ), S = h(
47
- (t, r, o = null) => {
48
- for (const n of t) {
49
- if (n.id === r) return o;
54
+ ), R = S(
55
+ (i, e, o = null) => {
56
+ for (const n of i) {
57
+ if (n.id === e) return o;
50
58
  if (n.children) {
51
- const e = S(n.children, r, n.id);
52
- if (e !== null) return e;
59
+ const r = R(n.children, e, n.id);
60
+ if (r !== null) return r;
53
61
  }
54
62
  }
55
63
  return null;
56
64
  },
57
65
  []
58
- ), M = h(
59
- (t, r, o) => t.map((n) => {
66
+ ), y = S(
67
+ (i, e, o) => i.map((n) => {
60
68
  if (n.children && n.children.length > 0) {
61
- const e = n.children.findIndex(
62
- (l) => l.id === r
63
- ), i = n.children.findIndex(
64
- (l) => l.id === o
69
+ const r = n.children.findIndex(
70
+ (t) => t.id === e
71
+ ), c = n.children.findIndex(
72
+ (t) => t.id === o
65
73
  );
66
- if (e !== -1 && i !== -1) {
67
- const l = w(n.children, e, i);
74
+ if (r !== -1 && c !== -1) {
75
+ const t = _(n.children, r, c);
68
76
  return {
69
77
  ...n,
70
- children: l
78
+ children: t
71
79
  };
72
80
  }
73
81
  return {
74
82
  ...n,
75
- children: M(n.children, r, o)
83
+ children: y(n.children, e, o)
76
84
  };
77
85
  }
78
86
  return n;
79
87
  }),
80
88
  []
81
- ), _ = h(
82
- (t, r, o) => {
83
- const n = S(t, o);
89
+ ), w = S(
90
+ (i, e, o) => {
91
+ const n = R(i, o);
84
92
  if (!n) return null;
85
- const e = t.findIndex(
86
- (l) => l.id === n
87
- ), i = t.findIndex(
88
- (l) => l.id === r
93
+ const r = i.findIndex(
94
+ (t) => t.id === n
95
+ ), c = i.findIndex(
96
+ (t) => t.id === e
89
97
  );
90
- if (e !== -1 && i !== -1) {
91
- const l = w(
92
- t,
98
+ if (r !== -1 && c !== -1) {
99
+ const t = _(
93
100
  i,
94
- e
101
+ c,
102
+ r
95
103
  );
96
- return c?.(r, n), l;
104
+ return s?.(e, n), t;
97
105
  }
98
106
  return null;
99
107
  },
100
- [S, c]
101
- ), g = h(
102
- (t, r, o) => {
103
- const n = t.findIndex((i) => i.id === r), e = t.findIndex((i) => i.id === o);
104
- if (n !== -1 && e !== -1) {
105
- const i = w(t, n, e);
106
- return c?.(r, o), i;
108
+ [R, s]
109
+ ), B = S(
110
+ (i, e, o) => {
111
+ const n = i.findIndex((c) => c.id === e), r = i.findIndex((c) => c.id === o);
112
+ if (n !== -1 && r !== -1) {
113
+ const c = _(i, n, r);
114
+ return s?.(e, o), c;
107
115
  }
108
116
  return null;
109
117
  },
110
- [c]
111
- ), p = h(
112
- (t, r, o) => {
113
- const n = M(t, r, o);
114
- return c?.(r, o), n;
118
+ [s]
119
+ ), k = S(
120
+ (i, e, o) => {
121
+ const n = y(i, e, o);
122
+ return s?.(e, o), n;
115
123
  },
116
- [M, c]
117
- ), y = h(
118
- (t, r, o, n = !1) => {
119
- const e = F(t, r);
120
- if (!e) return null;
121
- const i = (C) => C.filter((u) => u.id !== r).map(
122
- (u) => u.children ? { ...u, children: i(u.children) } : u
123
- ), l = (C) => {
124
- const u = C.findIndex((d) => d.id === o);
125
- if (u !== -1) {
126
- const d = [...C], T = n ? u + 1 : u;
127
- return d.splice(T, 0, e), { nodes: d, inserted: !0 };
124
+ [y, s]
125
+ ), A = S(
126
+ (i, e, o, n = !1) => {
127
+ const r = F(i, e);
128
+ if (!r) return null;
129
+ const c = (u) => u.filter((l) => l.id !== e).map(
130
+ (l) => l.children ? { ...l, children: c(l.children) } : l
131
+ ).filter((l) => !(l.children && l.children.length === 0 && l.category === "group")), t = F(i, o), d = !r.children || r.children.length === 0, C = t?.children && t.children.length > 0, T = d && C, M = (u) => {
132
+ for (let l = 0; l < u.length; l++) {
133
+ if (u[l].id === o)
134
+ if (T) {
135
+ const x = {
136
+ ...u[l],
137
+ children: [r, ...u[l].children || []]
138
+ }, P = [...u];
139
+ return P[l] = x, { nodes: P, inserted: !0 };
140
+ } else {
141
+ const x = [...u], P = n ? l + 1 : l;
142
+ return x.splice(P, 0, r), { nodes: x, inserted: !0 };
143
+ }
144
+ if (u[l].children) {
145
+ const x = M(u[l].children);
146
+ if (x.inserted) {
147
+ const P = [...u];
148
+ return P[l] = { ...u[l], children: x.nodes }, { nodes: P, inserted: !0 };
149
+ }
150
+ }
128
151
  }
129
- let P = !1;
130
- return { nodes: C.map((d) => {
131
- if (P || !d.children) return d;
132
- const T = l(d.children);
133
- return T.inserted ? (P = !0, { ...d, children: T.nodes }) : d;
134
- }), inserted: P };
135
- }, L = i(t), { nodes: x, inserted: R } = l(L);
136
- return R ? (c?.(r, o), x) : null;
152
+ return { nodes: u, inserted: !1 };
153
+ }, N = c(i), { nodes: g, inserted: Y } = M(N);
154
+ return Y ? (s?.(e, o), g) : null;
137
155
  },
138
- [c]
139
- ), b = h(
140
- (t, r, o) => {
141
- const n = F(t, r);
142
- if (!n) return t;
143
- const e = t.map((i) => {
144
- let l = i.children ? i.children.filter((L) => L.id !== r) : [];
145
- return i.id === o && (l = [n, ...l]), { ...i, children: l };
156
+ [s]
157
+ ), G = S(
158
+ (i, e, o) => {
159
+ const n = F(i, e);
160
+ if (!n) return i;
161
+ const r = (t) => t.filter((d) => d.id !== e).map(
162
+ (d) => d.children ? { ...d, children: r(d.children) } : d
163
+ ), c = i.map((t) => {
164
+ let d = t.children ? r(t.children) : [];
165
+ return t.id === o && (d = [n, ...d]), { ...t, children: d };
146
166
  });
147
- return c?.(r, o), e;
167
+ return s?.(e, o), c;
148
168
  },
149
- [c]
150
- ), k = h(
151
- (t, r) => {
152
- const { active: o, over: n } = t;
153
- !n || o.id === n.id || r((e) => {
154
- const i = o.id, l = n.id, L = Y(l);
155
- if (L)
156
- return console.log("[NL-drop] route=section", { activeId: i, sectionId: L }), b(e, i, L);
157
- const x = s(e, i), R = s(e, l), C = S(e, i), u = S(e, l);
158
- if (console.log("[NL-drop] event", {
159
- activeId: i,
160
- overId: l,
161
- activeLevel: x,
162
- overLevel: R,
163
- activeParentId: C,
164
- overParentId: u
165
- }), O.has(l) && x !== null && x > 0)
166
- return b(e, i, l);
167
- if (x === 0 && R !== null && R > 0)
168
- return _(
169
- e,
170
- i,
171
- l
172
- ) || e;
173
- if (x === null || R === null)
174
- return e;
175
- if (x > 0 && R > 0 && C !== u) {
176
- const P = o.rect.current.translated, N = n.rect;
177
- let d = !1;
178
- if (P && N) {
179
- const H = P.top + P.height / 2, V = N.top + N.height / 2;
180
- d = H > V;
169
+ [s]
170
+ ), j = S(
171
+ (i, e) => {
172
+ const { active: o, over: n } = i;
173
+ !n || o.id === n.id || e((r) => {
174
+ const c = o.id, t = n.id, d = W(t);
175
+ if (d)
176
+ return G(r, c, d);
177
+ const C = h(r, c), T = h(r, t), M = R(r, c), N = R(r, t);
178
+ if (b.has(t) && C !== null && C > 0)
179
+ return G(r, c, t);
180
+ if (C === 0 && T !== null && T > 0)
181
+ return w(
182
+ r,
183
+ c,
184
+ t
185
+ ) || r;
186
+ if (C === null || T === null)
187
+ return r;
188
+ if (C > 0 && T > 0 && M !== N) {
189
+ const g = X(r, c), Y = X(r, t);
190
+ if (g && Y && g !== Y) {
191
+ const L = o.rect.current.translated, O = n.rect;
192
+ let z = !1;
193
+ if (L && O) {
194
+ const D = L.top + L.height / 2, J = O.top + O.height / 2;
195
+ z = D > J;
196
+ }
197
+ return A(r, c, t, z) || r;
198
+ }
199
+ const u = o.rect.current.translated, l = n.rect;
200
+ let x = !1;
201
+ if (u && l) {
202
+ const L = u.top + u.height / 2, O = l.top + l.height / 2;
203
+ x = L > O;
181
204
  }
182
- return y(e, i, l, d) || e;
205
+ return A(r, c, t, x) || r;
183
206
  }
184
- return x === 0 ? g(e, i, l) || e : p(e, i, l);
207
+ return C === 0 ? B(r, c, t) || r : k(r, c, t);
185
208
  });
186
209
  },
187
210
  [
188
- s,
189
- S,
190
- _,
191
- g,
192
- p,
193
- y,
194
- b
211
+ h,
212
+ R,
213
+ w,
214
+ B,
215
+ k,
216
+ A,
217
+ G
195
218
  ]
196
- ), z = h(
197
- (t, r) => {
198
- if (!t || !r || t === r)
219
+ ), q = S(
220
+ (i, e) => {
221
+ if (!i || !e || i === e)
199
222
  return !1;
200
- const o = t ? s(f, t) : null, n = r ? s(f, r) : null;
201
- return Y(r) !== null || O.has(r) ? !0 : o === null || n === null ? !1 : o === 0 && n > 0 || o === n || o > 0 && n > 0;
223
+ const o = i ? h(a, i) : null, n = e ? h(a, e) : null;
224
+ return W(e) !== null || b.has(e) ? !0 : o === null || n === null ? !1 : o === 0 && n > 0 || o === n || o > 0 && n > 0;
202
225
  },
203
- [f, s]
226
+ [a, h]
204
227
  );
205
228
  return {
206
- sensors: a,
207
- handleDragEnd: k,
208
- isValidDrop: z,
209
- findItemLevel: s,
210
- findParentId: S
229
+ sensors: f,
230
+ handleDragEnd: j,
231
+ isValidDrop: q,
232
+ findItemLevel: h,
233
+ findParentId: R
211
234
  };
212
235
  };
213
236
  export {
214
- K as customCollisionDetection,
215
- Q as useNestedListDragDrop
237
+ m as customCollisionDetection,
238
+ I as useNestedListDragDrop
216
239
  };