react-composable-treeview 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +226 -226
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13,13 +13,13 @@ var $e;
|
|
|
13
13
|
function Er() {
|
|
14
14
|
if ($e) return q;
|
|
15
15
|
$e = 1;
|
|
16
|
-
var r = Le,
|
|
17
|
-
function y(f, l,
|
|
18
|
-
var g,
|
|
19
|
-
|
|
20
|
-
for (g in l)
|
|
21
|
-
if (f && f.defaultProps) for (g in l = f.defaultProps, l)
|
|
22
|
-
return { $$typeof:
|
|
16
|
+
var r = Le, o = Symbol.for("react.element"), n = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function y(f, l, x) {
|
|
18
|
+
var g, h = {}, w = null, S = null;
|
|
19
|
+
x !== void 0 && (w = "" + x), l.key !== void 0 && (w = "" + l.key), l.ref !== void 0 && (S = l.ref);
|
|
20
|
+
for (g in l) u.call(l, g) && !s.hasOwnProperty(g) && (h[g] = l[g]);
|
|
21
|
+
if (f && f.defaultProps) for (g in l = f.defaultProps, l) h[g] === void 0 && (h[g] = l[g]);
|
|
22
|
+
return { $$typeof: o, type: f, key: w, ref: S, props: h, _owner: i.current };
|
|
23
23
|
}
|
|
24
24
|
return q.Fragment = n, q.jsx = y, q.jsxs = y, q;
|
|
25
25
|
}
|
|
@@ -36,7 +36,7 @@ var K = {};
|
|
|
36
36
|
var Ye;
|
|
37
37
|
function Rr() {
|
|
38
38
|
return Ye || (Ye = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var r = Le,
|
|
39
|
+
var r = Le, o = Symbol.for("react.element"), n = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), j = Symbol.iterator, $ = "@@iterator";
|
|
40
40
|
function R(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
@@ -44,18 +44,18 @@ function Rr() {
|
|
|
44
44
|
return typeof t == "function" ? t : null;
|
|
45
45
|
}
|
|
46
46
|
var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
-
function
|
|
47
|
+
function b(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var t = arguments.length,
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), c = 1; c < t; c++)
|
|
50
|
+
a[c - 1] = arguments[c];
|
|
51
|
+
T("error", e, a);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function T(e, t, a) {
|
|
55
55
|
{
|
|
56
56
|
var c = P.ReactDebugCurrentFrame, p = c.getStackAddendum();
|
|
57
|
-
p !== "" && (t += "%s",
|
|
58
|
-
var _ =
|
|
57
|
+
p !== "" && (t += "%s", a = a.concat([p]));
|
|
58
|
+
var _ = a.map(function(v) {
|
|
59
59
|
return String(v);
|
|
60
60
|
});
|
|
61
61
|
_.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, _);
|
|
@@ -64,18 +64,18 @@ function Rr() {
|
|
|
64
64
|
var F = !1, D = !1, O = !1, N = !1, Z = !1, ve;
|
|
65
65
|
ve = Symbol.for("react.module.reference");
|
|
66
66
|
function Ke(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === s || Z || e === i || e === x || e === g || N || e === S || F || D || O || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === h || e.$$typeof === y || e.$$typeof === f || e.$$typeof === l || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
71
|
e.$$typeof === ve || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function Je(e, t,
|
|
73
|
+
function Je(e, t, a) {
|
|
74
74
|
var c = e.displayName;
|
|
75
75
|
if (c)
|
|
76
76
|
return c;
|
|
77
77
|
var p = t.displayName || t.name || "";
|
|
78
|
-
return p !== "" ?
|
|
78
|
+
return p !== "" ? a + "(" + p + ")" : a;
|
|
79
79
|
}
|
|
80
80
|
function pe(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
@@ -83,12 +83,12 @@ function Rr() {
|
|
|
83
83
|
function Y(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
86
|
+
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
87
|
return e.displayName || e.name || null;
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case u:
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case n:
|
|
94
94
|
return "Portal";
|
|
@@ -96,7 +96,7 @@ function Rr() {
|
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case i:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case x:
|
|
100
100
|
return "Suspense";
|
|
101
101
|
case g:
|
|
102
102
|
return "SuspenseList";
|
|
@@ -107,14 +107,14 @@ function Rr() {
|
|
|
107
107
|
var t = e;
|
|
108
108
|
return pe(t) + ".Consumer";
|
|
109
109
|
case y:
|
|
110
|
-
var
|
|
111
|
-
return pe(
|
|
110
|
+
var a = e;
|
|
111
|
+
return pe(a._context) + ".Provider";
|
|
112
112
|
case l:
|
|
113
113
|
return Je(e, e.render, "ForwardRef");
|
|
114
|
-
case
|
|
114
|
+
case h:
|
|
115
115
|
var c = e.displayName || null;
|
|
116
116
|
return c !== null ? c : Y(e.type) || "Memo";
|
|
117
|
-
case
|
|
117
|
+
case w: {
|
|
118
118
|
var p = e, _ = p._payload, v = p._init;
|
|
119
119
|
try {
|
|
120
120
|
return Y(v(_));
|
|
@@ -184,11 +184,11 @@ function Rr() {
|
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
B < 0 &&
|
|
187
|
+
B < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
var oe = P.ReactCurrentDispatcher, ae;
|
|
191
|
-
function Q(e, t,
|
|
191
|
+
function Q(e, t, a) {
|
|
192
192
|
{
|
|
193
193
|
if (ae === void 0)
|
|
194
194
|
try {
|
|
@@ -210,9 +210,9 @@ function Rr() {
|
|
|
210
210
|
if (!e || ue)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
if (
|
|
215
|
-
return
|
|
213
|
+
var a = M.get(e);
|
|
214
|
+
if (a !== void 0)
|
|
215
|
+
return a;
|
|
216
216
|
}
|
|
217
217
|
var c;
|
|
218
218
|
ue = !0;
|
|
@@ -255,19 +255,19 @@ function Rr() {
|
|
|
255
255
|
} catch (A) {
|
|
256
256
|
if (A && c && typeof A.stack == "string") {
|
|
257
257
|
for (var d = A.stack.split(`
|
|
258
|
-
`),
|
|
259
|
-
`),
|
|
258
|
+
`), C = c.stack.split(`
|
|
259
|
+
`), E = d.length - 1, m = C.length - 1; E >= 1 && m >= 0 && d[E] !== C[m]; )
|
|
260
260
|
m--;
|
|
261
|
-
for (;
|
|
262
|
-
if (d[
|
|
263
|
-
if (
|
|
261
|
+
for (; E >= 1 && m >= 0; E--, m--)
|
|
262
|
+
if (d[E] !== C[m]) {
|
|
263
|
+
if (E !== 1 || m !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (
|
|
265
|
+
if (E--, m--, m < 0 || d[E] !== C[m]) {
|
|
266
266
|
var k = `
|
|
267
|
-
` + d[
|
|
267
|
+
` + d[E].replace(" at new ", " at ");
|
|
268
268
|
return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, k), k;
|
|
269
269
|
}
|
|
270
|
-
while (
|
|
270
|
+
while (E >= 1 && m >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -277,14 +277,14 @@ function Rr() {
|
|
|
277
277
|
var U = e ? e.displayName || e.name : "", Ie = U ? Q(U) : "";
|
|
278
278
|
return typeof e == "function" && M.set(e, Ie), Ie;
|
|
279
279
|
}
|
|
280
|
-
function Ze(e, t,
|
|
280
|
+
function Ze(e, t, a) {
|
|
281
281
|
return we(e, !1);
|
|
282
282
|
}
|
|
283
283
|
function Qe(e) {
|
|
284
284
|
var t = e.prototype;
|
|
285
285
|
return !!(t && t.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function ee(e, t,
|
|
287
|
+
function ee(e, t, a) {
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
@@ -292,7 +292,7 @@ function Rr() {
|
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return Q(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
295
|
+
case x:
|
|
296
296
|
return Q("Suspense");
|
|
297
297
|
case g:
|
|
298
298
|
return Q("SuspenseList");
|
|
@@ -301,27 +301,27 @@ function Rr() {
|
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
302
|
case l:
|
|
303
303
|
return Ze(e.render);
|
|
304
|
-
case
|
|
305
|
-
return ee(e.type, t,
|
|
306
|
-
case
|
|
304
|
+
case h:
|
|
305
|
+
return ee(e.type, t, a);
|
|
306
|
+
case w: {
|
|
307
307
|
var c = e, p = c._payload, _ = c._init;
|
|
308
308
|
try {
|
|
309
|
-
return ee(_(p), t,
|
|
309
|
+
return ee(_(p), t, a);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var re = Object.prototype.hasOwnProperty,
|
|
316
|
+
var re = Object.prototype.hasOwnProperty, Te = {}, Ce = P.ReactDebugCurrentFrame;
|
|
317
317
|
function te(e) {
|
|
318
318
|
if (e) {
|
|
319
|
-
var t = e._owner,
|
|
320
|
-
|
|
319
|
+
var t = e._owner, a = ee(e.type, e._source, t ? t.type : null);
|
|
320
|
+
Ce.setExtraStackFrame(a);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
Ce.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function Me(e, t,
|
|
324
|
+
function Me(e, t, a, c, p) {
|
|
325
325
|
{
|
|
326
326
|
var _ = Function.call.bind(re);
|
|
327
327
|
for (var v in e)
|
|
@@ -329,14 +329,14 @@ function Rr() {
|
|
|
329
329
|
var d = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof e[v] != "function") {
|
|
332
|
-
var
|
|
333
|
-
throw
|
|
332
|
+
var C = Error((c || "React class") + ": " + a + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw C.name = "Invariant Violation", C;
|
|
334
334
|
}
|
|
335
|
-
d = e[v](t, v, c,
|
|
336
|
-
} catch (
|
|
337
|
-
d =
|
|
335
|
+
d = e[v](t, v, c, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (E) {
|
|
337
|
+
d = E;
|
|
338
338
|
}
|
|
339
|
-
d && !(d instanceof Error) && (te(p),
|
|
339
|
+
d && !(d instanceof Error) && (te(p), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", a, v, typeof d), te(null)), d instanceof Error && !(d.message in Te) && (Te[d.message] = !0, te(p), b("Failed %s type: %s", a, d.message), te(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -346,23 +346,23 @@ function Rr() {
|
|
|
346
346
|
}
|
|
347
347
|
function rr(e) {
|
|
348
348
|
{
|
|
349
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
350
|
-
return
|
|
349
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, a = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return a;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
function tr(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return xe(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function xe(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function Se(e) {
|
|
364
364
|
if (tr(e))
|
|
365
|
-
return
|
|
365
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), xe(e);
|
|
366
366
|
}
|
|
367
367
|
var Pe = P.ReactCurrentOwner, nr = {
|
|
368
368
|
key: !0,
|
|
@@ -391,34 +391,34 @@ function Rr() {
|
|
|
391
391
|
}
|
|
392
392
|
function ir(e, t) {
|
|
393
393
|
{
|
|
394
|
-
var
|
|
395
|
-
Oe || (Oe = !0,
|
|
394
|
+
var a = function() {
|
|
395
|
+
Oe || (Oe = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
396
396
|
};
|
|
397
|
-
|
|
398
|
-
get:
|
|
397
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: a,
|
|
399
399
|
configurable: !0
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
function cr(e, t) {
|
|
404
404
|
{
|
|
405
|
-
var
|
|
406
|
-
ke || (ke = !0,
|
|
405
|
+
var a = function() {
|
|
406
|
+
ke || (ke = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
408
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: a,
|
|
410
410
|
configurable: !0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var sr = function(e, t,
|
|
414
|
+
var sr = function(e, t, a, c, p, _, v) {
|
|
415
415
|
var d = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
|
-
$$typeof:
|
|
417
|
+
$$typeof: o,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
419
419
|
type: e,
|
|
420
420
|
key: t,
|
|
421
|
-
ref:
|
|
421
|
+
ref: a,
|
|
422
422
|
props: v,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
424
|
_owner: _
|
|
@@ -440,36 +440,36 @@ function Rr() {
|
|
|
440
440
|
value: p
|
|
441
441
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
442
442
|
};
|
|
443
|
-
function fr(e, t,
|
|
443
|
+
function fr(e, t, a, c, p) {
|
|
444
444
|
{
|
|
445
|
-
var _, v = {}, d = null,
|
|
446
|
-
|
|
445
|
+
var _, v = {}, d = null, C = null;
|
|
446
|
+
a !== void 0 && (Se(a), d = "" + a), ar(t) && (Se(t.key), d = "" + t.key), or(t) && (C = t.ref, ur(t, p));
|
|
447
447
|
for (_ in t)
|
|
448
448
|
re.call(t, _) && !nr.hasOwnProperty(_) && (v[_] = t[_]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
|
-
var
|
|
451
|
-
for (_ in
|
|
452
|
-
v[_] === void 0 && (v[_] =
|
|
450
|
+
var E = e.defaultProps;
|
|
451
|
+
for (_ in E)
|
|
452
|
+
v[_] === void 0 && (v[_] = E[_]);
|
|
453
453
|
}
|
|
454
|
-
if (d ||
|
|
454
|
+
if (d || C) {
|
|
455
455
|
var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
d && ir(v, m),
|
|
456
|
+
d && ir(v, m), C && cr(v, m);
|
|
457
457
|
}
|
|
458
|
-
return sr(e, d,
|
|
458
|
+
return sr(e, d, C, p, c, Pe.current, v);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
var ce = P.ReactCurrentOwner, je = P.ReactDebugCurrentFrame;
|
|
462
462
|
function W(e) {
|
|
463
463
|
if (e) {
|
|
464
|
-
var t = e._owner,
|
|
465
|
-
je.setExtraStackFrame(
|
|
464
|
+
var t = e._owner, a = ee(e.type, e._source, t ? t.type : null);
|
|
465
|
+
je.setExtraStackFrame(a);
|
|
466
466
|
} else
|
|
467
467
|
je.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var se;
|
|
470
470
|
se = !1;
|
|
471
471
|
function fe(e) {
|
|
472
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
473
473
|
}
|
|
474
474
|
function De() {
|
|
475
475
|
{
|
|
@@ -491,10 +491,10 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
{
|
|
492
492
|
var t = De();
|
|
493
493
|
if (!t) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
a && (t = `
|
|
496
496
|
|
|
497
|
-
Check the top-level render call using <` +
|
|
497
|
+
Check the top-level render call using <` + a + ">.");
|
|
498
498
|
}
|
|
499
499
|
return t;
|
|
500
500
|
}
|
|
@@ -504,12 +504,12 @@ Check the top-level render call using <` + o + ">.");
|
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var
|
|
508
|
-
if (Fe[
|
|
507
|
+
var a = dr(t);
|
|
508
|
+
if (Fe[a])
|
|
509
509
|
return;
|
|
510
|
-
Fe[
|
|
510
|
+
Fe[a] = !0;
|
|
511
511
|
var c = "";
|
|
512
|
-
e && e._owner && e._owner !== ce.current && (c = " It was passed a child from " + Y(e._owner.type) + "."), W(e),
|
|
512
|
+
e && e._owner && e._owner !== ce.current && (c = " It was passed a child from " + Y(e._owner.type) + "."), W(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, c), W(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function Ne(e, t) {
|
|
@@ -517,8 +517,8 @@ Check the top-level render call using <` + o + ">.");
|
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (ie(e))
|
|
520
|
-
for (var
|
|
521
|
-
var c = e[
|
|
520
|
+
for (var a = 0; a < e.length; a++) {
|
|
521
|
+
var c = e[a];
|
|
522
522
|
fe(c) && Ae(c, t);
|
|
523
523
|
}
|
|
524
524
|
else if (fe(e))
|
|
@@ -536,50 +536,50 @@ Check the top-level render call using <` + o + ">.");
|
|
|
536
536
|
var t = e.type;
|
|
537
537
|
if (t == null || typeof t == "string")
|
|
538
538
|
return;
|
|
539
|
-
var
|
|
539
|
+
var a;
|
|
540
540
|
if (typeof t == "function")
|
|
541
|
-
|
|
541
|
+
a = t.propTypes;
|
|
542
542
|
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
|
-
t.$$typeof ===
|
|
545
|
-
|
|
544
|
+
t.$$typeof === h))
|
|
545
|
+
a = t.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
|
-
if (
|
|
548
|
+
if (a) {
|
|
549
549
|
var c = Y(t);
|
|
550
|
-
Me(
|
|
550
|
+
Me(a, e.props, "prop", c, e);
|
|
551
551
|
} else if (t.PropTypes !== void 0 && !se) {
|
|
552
552
|
se = !0;
|
|
553
553
|
var p = Y(t);
|
|
554
|
-
|
|
554
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
function pr(e) {
|
|
560
560
|
{
|
|
561
|
-
for (var t = Object.keys(e.props),
|
|
562
|
-
var c = t[
|
|
561
|
+
for (var t = Object.keys(e.props), a = 0; a < t.length; a++) {
|
|
562
|
+
var c = t[a];
|
|
563
563
|
if (c !== "children" && c !== "key") {
|
|
564
|
-
W(e),
|
|
564
|
+
W(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), W(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (W(e),
|
|
568
|
+
e.ref !== null && (W(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
function Ve(e, t,
|
|
571
|
+
function Ve(e, t, a, c, p, _) {
|
|
572
572
|
{
|
|
573
573
|
var v = Ke(e);
|
|
574
574
|
if (!v) {
|
|
575
575
|
var d = "";
|
|
576
576
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
577
|
-
var
|
|
578
|
-
|
|
579
|
-
var
|
|
580
|
-
e === null ?
|
|
577
|
+
var C = lr();
|
|
578
|
+
C ? d += C : d += De();
|
|
579
|
+
var E;
|
|
580
|
+
e === null ? E = "null" : ie(e) ? E = "array" : e !== void 0 && e.$$typeof === o ? (E = "<" + (Y(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, d);
|
|
581
581
|
}
|
|
582
|
-
var m = fr(e, t,
|
|
582
|
+
var m = fr(e, t, a, p, _);
|
|
583
583
|
if (m == null)
|
|
584
584
|
return m;
|
|
585
585
|
if (v) {
|
|
@@ -591,21 +591,21 @@ Check the top-level render call using <` + o + ">.");
|
|
|
591
591
|
Ne(k[U], e);
|
|
592
592
|
Object.freeze && Object.freeze(k);
|
|
593
593
|
} else
|
|
594
|
-
|
|
594
|
+
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
595
595
|
else
|
|
596
596
|
Ne(k, e);
|
|
597
597
|
}
|
|
598
|
-
return e ===
|
|
598
|
+
return e === u ? pr(m) : vr(m), m;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
function _r(e, t,
|
|
602
|
-
return Ve(e, t,
|
|
601
|
+
function _r(e, t, a) {
|
|
602
|
+
return Ve(e, t, a, !0);
|
|
603
603
|
}
|
|
604
|
-
function gr(e, t,
|
|
605
|
-
return Ve(e, t,
|
|
604
|
+
function gr(e, t, a) {
|
|
605
|
+
return Ve(e, t, a, !1);
|
|
606
606
|
}
|
|
607
607
|
var hr = gr, br = _r;
|
|
608
|
-
K.Fragment =
|
|
608
|
+
K.Fragment = u, K.jsx = hr, K.jsxs = br;
|
|
609
609
|
}()), K;
|
|
610
610
|
}
|
|
611
611
|
process.env.NODE_ENV === "production" ? le.exports = Er() : le.exports = Rr();
|
|
@@ -628,217 +628,217 @@ function mr() {
|
|
|
628
628
|
const r = J(/* @__PURE__ */ new Map([
|
|
629
629
|
["__root__", { value: "__root__", parent: "", index: 0, isGroup: !0, ref: { current: null } }]
|
|
630
630
|
]));
|
|
631
|
-
return [r, (
|
|
631
|
+
return [r, (u, i, s, y, f) => {
|
|
632
632
|
var l;
|
|
633
|
-
(l = r.current) == null || l.set(
|
|
634
|
-
}, (
|
|
633
|
+
(l = r.current) == null || l.set(u, { value: u, parent: i, index: s, isGroup: y, ref: f });
|
|
634
|
+
}, (u) => {
|
|
635
635
|
var i;
|
|
636
|
-
(i = r.current) == null || i.delete(
|
|
636
|
+
(i = r.current) == null || i.delete(u);
|
|
637
637
|
}];
|
|
638
638
|
}
|
|
639
|
-
function Be(r,
|
|
639
|
+
function Be(r, o) {
|
|
640
640
|
if (!r.current) return "";
|
|
641
|
-
for (const [n,
|
|
642
|
-
if (
|
|
643
|
-
return
|
|
641
|
+
for (const [n, u] of r.current)
|
|
642
|
+
if (u.parent == o && u.index == 0)
|
|
643
|
+
return u.value;
|
|
644
644
|
return "";
|
|
645
645
|
}
|
|
646
|
-
function yr(r,
|
|
646
|
+
function yr(r, o) {
|
|
647
647
|
if (!r.current) return "";
|
|
648
|
-
const n = r.current.get(
|
|
648
|
+
const n = r.current.get(o);
|
|
649
649
|
if (n) {
|
|
650
|
-
for (const [
|
|
650
|
+
for (const [u, i] of r.current)
|
|
651
651
|
if (i.parent == n.parent && i.index == n.index - 1)
|
|
652
652
|
return i.value;
|
|
653
653
|
return "";
|
|
654
654
|
} else
|
|
655
655
|
return "";
|
|
656
656
|
}
|
|
657
|
-
function wr(r,
|
|
657
|
+
function wr(r, o) {
|
|
658
658
|
if (!r.current) return "";
|
|
659
|
-
const n = r.current.get(
|
|
659
|
+
const n = r.current.get(o);
|
|
660
660
|
if (n) {
|
|
661
661
|
if (n.index == 0)
|
|
662
662
|
return n.parent;
|
|
663
663
|
{
|
|
664
|
-
let
|
|
665
|
-
for (;
|
|
666
|
-
const i = r.current.get(qe(r,
|
|
664
|
+
let u = r.current.get(yr(r, n.value));
|
|
665
|
+
for (; u && u.isGroup; ) {
|
|
666
|
+
const i = r.current.get(qe(r, u.value));
|
|
667
667
|
if (!i)
|
|
668
|
-
return
|
|
669
|
-
|
|
668
|
+
return u.value;
|
|
669
|
+
u = i;
|
|
670
670
|
}
|
|
671
|
-
return
|
|
671
|
+
return u ? u.value : "";
|
|
672
672
|
}
|
|
673
673
|
} else
|
|
674
674
|
return "";
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Tr(r, o) {
|
|
677
677
|
if (!r.current) return "";
|
|
678
|
-
const n = r.current.get(
|
|
678
|
+
const n = r.current.get(o);
|
|
679
679
|
if (n) {
|
|
680
|
-
for (const [
|
|
680
|
+
for (const [u, i] of r.current)
|
|
681
681
|
if (i.parent == n.parent && i.index == n.index + 1)
|
|
682
682
|
return i.value;
|
|
683
683
|
return "";
|
|
684
684
|
} else
|
|
685
685
|
return "";
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function Cr(r, o) {
|
|
688
688
|
if (!r.current) return "";
|
|
689
|
-
const n = r.current.get(
|
|
689
|
+
const n = r.current.get(o);
|
|
690
690
|
if (n) {
|
|
691
691
|
if (n.isGroup) {
|
|
692
|
-
const i = Be(r,
|
|
692
|
+
const i = Be(r, o);
|
|
693
693
|
if (i)
|
|
694
694
|
return i;
|
|
695
695
|
}
|
|
696
|
-
let
|
|
696
|
+
let u = n;
|
|
697
697
|
for (; ; ) {
|
|
698
|
-
const i =
|
|
698
|
+
const i = Tr(r, u.value);
|
|
699
699
|
if (i)
|
|
700
700
|
return i;
|
|
701
701
|
{
|
|
702
|
-
const s = r.current.get(
|
|
703
|
-
if (!s ||
|
|
702
|
+
const s = r.current.get(u.parent);
|
|
703
|
+
if (!s || u.value == "__root__")
|
|
704
704
|
return "";
|
|
705
|
-
|
|
705
|
+
u = s;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
} else
|
|
709
709
|
return "";
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function xr(r) {
|
|
712
712
|
if (!r.current) return "";
|
|
713
|
-
for (const [
|
|
713
|
+
for (const [o, n] of r.current)
|
|
714
714
|
if (n.parent == "__root__" && n.index == 0)
|
|
715
715
|
return n.value;
|
|
716
716
|
return "";
|
|
717
717
|
}
|
|
718
|
-
function qe(r,
|
|
718
|
+
function qe(r, o) {
|
|
719
719
|
if (!r.current) return "";
|
|
720
720
|
let n = null;
|
|
721
|
-
for (const [
|
|
722
|
-
i.parent ==
|
|
721
|
+
for (const [u, i] of r.current)
|
|
722
|
+
i.parent == o && (!n || i.index > n.index) && (n = i);
|
|
723
723
|
return n ? n.value : "";
|
|
724
724
|
}
|
|
725
725
|
function Sr(r) {
|
|
726
726
|
if (!r.current) return "";
|
|
727
|
-
let
|
|
728
|
-
for (;
|
|
729
|
-
const n = r.current.get(qe(r,
|
|
727
|
+
let o = r.current.get("__root__");
|
|
728
|
+
for (; o && o.isGroup; ) {
|
|
729
|
+
const n = r.current.get(qe(r, o.value));
|
|
730
730
|
if (!n)
|
|
731
|
-
return
|
|
732
|
-
|
|
731
|
+
return o.value;
|
|
732
|
+
o = n;
|
|
733
733
|
}
|
|
734
|
-
return
|
|
734
|
+
return o ? o.value : "";
|
|
735
735
|
}
|
|
736
736
|
const G = We({
|
|
737
737
|
parent: "",
|
|
738
738
|
depth: -1
|
|
739
739
|
});
|
|
740
|
-
function Pr(r,
|
|
741
|
-
const [
|
|
740
|
+
function Pr(r, o, n) {
|
|
741
|
+
const [u, i] = Ue(n), s = r !== void 0 ? r : u;
|
|
742
742
|
return [s, (f) => {
|
|
743
743
|
const l = typeof f == "function" ? f(s) : f;
|
|
744
|
-
|
|
744
|
+
o && o(l), i(l);
|
|
745
745
|
}];
|
|
746
746
|
}
|
|
747
|
-
function z(r,
|
|
748
|
-
return function(
|
|
749
|
-
const i =
|
|
750
|
-
i && (
|
|
747
|
+
function z(r, o) {
|
|
748
|
+
return function(u) {
|
|
749
|
+
const i = u.defaultPrevented;
|
|
750
|
+
i && (u.defaultPrevented = !1), r == null || r(u);
|
|
751
751
|
let s;
|
|
752
|
-
return
|
|
752
|
+
return u.defaultPrevented || (s = o == null ? void 0 : o(u), i && (u.defaultPrevented = !0)), s;
|
|
753
753
|
};
|
|
754
754
|
}
|
|
755
755
|
function de(...r) {
|
|
756
|
-
return Ge((
|
|
756
|
+
return Ge((o) => {
|
|
757
757
|
for (const n of r)
|
|
758
|
-
typeof n == "function" ? n(
|
|
758
|
+
typeof n == "function" ? n(o) : n != null && (n.current = o);
|
|
759
759
|
}, [r]);
|
|
760
760
|
}
|
|
761
761
|
const Or = ["ArrowRight", "ArrowUp", "ArrowLeft", "ArrowDown", "Home", "End", "Enter"];
|
|
762
|
-
function kr(r,
|
|
763
|
-
var
|
|
764
|
-
const n = Be(r,
|
|
765
|
-
n && ((s = (i = (
|
|
762
|
+
function kr(r, o) {
|
|
763
|
+
var u, i, s;
|
|
764
|
+
const n = Be(r, o);
|
|
765
|
+
n && ((s = (i = (u = r.current) == null ? void 0 : u.get(n)) == null ? void 0 : i.ref.current) == null || s.focus());
|
|
766
766
|
}
|
|
767
|
-
function jr(r,
|
|
768
|
-
var
|
|
769
|
-
const n = (i = (
|
|
767
|
+
function jr(r, o) {
|
|
768
|
+
var u, i, s, y, f;
|
|
769
|
+
const n = (i = (u = r.current) == null ? void 0 : u.get(o)) == null ? void 0 : i.parent;
|
|
770
770
|
n && n != "__root__" && ((f = (y = (s = r.current) == null ? void 0 : s.get(n)) == null ? void 0 : y.ref.current) == null || f.focus());
|
|
771
771
|
}
|
|
772
|
-
function Dr(r,
|
|
773
|
-
var
|
|
774
|
-
const n = wr(r,
|
|
775
|
-
n && n != "__root__" && ((s = (i = (
|
|
772
|
+
function Dr(r, o) {
|
|
773
|
+
var u, i, s;
|
|
774
|
+
const n = wr(r, o);
|
|
775
|
+
n && n != "__root__" && ((s = (i = (u = r.current) == null ? void 0 : u.get(n)) == null ? void 0 : i.ref.current) == null || s.focus());
|
|
776
776
|
}
|
|
777
|
-
function Fr(r,
|
|
778
|
-
var
|
|
779
|
-
const n =
|
|
780
|
-
n && n != "__root__" && ((s = (i = (
|
|
777
|
+
function Fr(r, o) {
|
|
778
|
+
var u, i, s;
|
|
779
|
+
const n = Cr(r, o);
|
|
780
|
+
n && n != "__root__" && ((s = (i = (u = r.current) == null ? void 0 : u.get(n)) == null ? void 0 : i.ref.current) == null || s.focus());
|
|
781
781
|
}
|
|
782
782
|
function Ar(r) {
|
|
783
|
-
var n,
|
|
784
|
-
const
|
|
785
|
-
|
|
783
|
+
var n, u, i;
|
|
784
|
+
const o = xr(r);
|
|
785
|
+
o && o != "__root__" && ((i = (u = (n = r.current) == null ? void 0 : n.get(o)) == null ? void 0 : u.ref.current) == null || i.focus());
|
|
786
786
|
}
|
|
787
787
|
function Nr(r) {
|
|
788
|
-
var n,
|
|
789
|
-
const
|
|
790
|
-
|
|
788
|
+
var n, u, i;
|
|
789
|
+
const o = Sr(r);
|
|
790
|
+
o && o != "__root__" && ((i = (u = (n = r.current) == null ? void 0 : n.get(o)) == null ? void 0 : u.ref.current) == null || i.focus());
|
|
791
791
|
}
|
|
792
|
-
const Vr = H(({ value: r, onValueChange:
|
|
793
|
-
const [f, l,
|
|
792
|
+
const Vr = H(({ value: r, onValueChange: o, defaultValue: n, defaultSelection: u, onKeyDown: i, ...s }, y) => {
|
|
793
|
+
const [f, l, x] = mr(), [g, h] = Pr(r, o, n ?? /* @__PURE__ */ new Set()), [w, S] = Ue(""), j = J(null), $ = de(j, y), R = J(""), P = Ge((T) => {
|
|
794
794
|
var F;
|
|
795
|
-
if (!(!Or.includes(
|
|
796
|
-
switch (
|
|
795
|
+
if (!(!Or.includes(T.key) || !f))
|
|
796
|
+
switch (T.key) {
|
|
797
797
|
case "ArrowRight":
|
|
798
798
|
const D = (F = f.current) == null ? void 0 : F.get(R.current);
|
|
799
799
|
if (!D || !D.isGroup) break;
|
|
800
|
-
|
|
800
|
+
T.preventDefault(), g.has(R.current) ? kr(f, R.current) : h((O) => /* @__PURE__ */ new Set([...O, R.current]));
|
|
801
801
|
break;
|
|
802
802
|
case "ArrowLeft":
|
|
803
|
-
|
|
803
|
+
T.preventDefault(), g.has(R.current) ? h((O) => new Set([...O].filter((N) => N !== R.current))) : jr(f, R.current);
|
|
804
804
|
break;
|
|
805
805
|
case "ArrowUp":
|
|
806
|
-
|
|
806
|
+
T.preventDefault(), Dr(f, R.current);
|
|
807
807
|
break;
|
|
808
808
|
case "ArrowDown":
|
|
809
|
-
|
|
809
|
+
T.preventDefault(), Fr(f, R.current);
|
|
810
810
|
break;
|
|
811
811
|
case "Home":
|
|
812
|
-
|
|
812
|
+
T.preventDefault(), Ar(f);
|
|
813
813
|
break;
|
|
814
814
|
case "End":
|
|
815
|
-
|
|
815
|
+
T.preventDefault(), Nr(f);
|
|
816
816
|
break;
|
|
817
817
|
case "Enter":
|
|
818
|
-
|
|
818
|
+
T.preventDefault(), S(R.current), g.has(R.current) ? h((O) => new Set([...O].filter((N) => N !== R.current))) : h((O) => /* @__PURE__ */ new Set([...O, R.current]));
|
|
819
819
|
break;
|
|
820
820
|
}
|
|
821
|
-
}, [g]),
|
|
822
|
-
return /* @__PURE__ */ V.jsx(X.Provider, { value: { rootValue: g, setRootValue:
|
|
821
|
+
}, [g]), b = z(i, P);
|
|
822
|
+
return /* @__PURE__ */ V.jsx(X.Provider, { value: { rootValue: g, setRootValue: h, selection: w, setSelection: S, focus: R, nodeMap: f, registerNode: l, removeNode: x }, children: /* @__PURE__ */ V.jsx(G.Provider, { value: { parent: "__root__", depth: 0 }, children: /* @__PURE__ */ V.jsx(
|
|
823
823
|
"ul",
|
|
824
824
|
{
|
|
825
825
|
ref: $,
|
|
826
826
|
role: "tree",
|
|
827
827
|
"aria-multiselectable": "false",
|
|
828
|
-
onKeyDown:
|
|
828
|
+
onKeyDown: b,
|
|
829
829
|
...s
|
|
830
830
|
}
|
|
831
831
|
) }) });
|
|
832
|
-
}), Ir = H(({ value: r, index:
|
|
833
|
-
const { selection: y, setSelection: f, focus: l, nodeMap:
|
|
834
|
-
function
|
|
832
|
+
}), Ir = H(({ value: r, index: o, onFocus: n, onClick: u, ...i }, s) => {
|
|
833
|
+
const { selection: y, setSelection: f, focus: l, nodeMap: x, registerNode: g, removeNode: h } = I(X), { parent: w, depth: S } = I(G), j = J(null), $ = de(j, s), R = z(n, b), P = z(u, T);
|
|
834
|
+
function b(F) {
|
|
835
835
|
var D, O, N, Z;
|
|
836
|
-
(N = (O = (D =
|
|
836
|
+
(N = (O = (D = x.current) == null ? void 0 : D.get(l.current)) == null ? void 0 : O.ref.current) == null || N.setAttribute("tabindex", "-1"), (Z = j.current) == null || Z.setAttribute("tabindex", "0"), l.current = r, F.stopPropagation();
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function T() {
|
|
839
839
|
f(r);
|
|
840
840
|
}
|
|
841
|
-
return l.current == "" &&
|
|
841
|
+
return l.current == "" && w == "__root__" && o == 0 && (l.current = r), ne(() => (g(r, w, o, !1, j), () => h(r)), [r, w, o]), ne(() => () => {
|
|
842
842
|
l.current == r && (l.current = "");
|
|
843
843
|
}, []), /* @__PURE__ */ V.jsx(
|
|
844
844
|
"li",
|
|
@@ -853,48 +853,48 @@ const Vr = H(({ value: r, onValueChange: u, defaultValue: n, defaultSelection: a
|
|
|
853
853
|
...i
|
|
854
854
|
}
|
|
855
855
|
);
|
|
856
|
-
}), $r = H(({ value: r, index:
|
|
857
|
-
const { rootValue: s, selection: y, focus: f, nodeMap: l, registerNode:
|
|
856
|
+
}), $r = H(({ value: r, index: o, onFocus: n, ...u }, i) => {
|
|
857
|
+
const { rootValue: s, selection: y, focus: f, nodeMap: l, registerNode: x, removeNode: g } = I(X), { parent: h, depth: w } = I(G), S = J(null), j = de(S, i), $ = z(n, R);
|
|
858
858
|
function R(P) {
|
|
859
|
-
var
|
|
860
|
-
(F = (
|
|
859
|
+
var b, T, F, D;
|
|
860
|
+
(F = (T = (b = l.current) == null ? void 0 : b.get(f.current)) == null ? void 0 : T.ref.current) == null || F.setAttribute("tabindex", "-1"), (D = S.current) == null || D.setAttribute("tabindex", "0"), f.current = r, P.stopPropagation();
|
|
861
861
|
}
|
|
862
|
-
return f.current == "" &&
|
|
862
|
+
return f.current == "" && h == "__root__" && o == 0 && (f.current = r), ne(() => (x(r, h, o, !0, S), () => g(r)), [r, h, o]), ne(() => () => {
|
|
863
863
|
f.current == r && (f.current = "");
|
|
864
|
-
}, []), /* @__PURE__ */ V.jsx(G.Provider, { value: { parent: r, depth:
|
|
864
|
+
}, []), /* @__PURE__ */ V.jsx(G.Provider, { value: { parent: r, depth: w + 1 }, children: /* @__PURE__ */ V.jsx(
|
|
865
865
|
"li",
|
|
866
866
|
{
|
|
867
867
|
ref: j,
|
|
868
868
|
role: "treeitem",
|
|
869
869
|
"data-state": s.has(r) ? "open" : "closed",
|
|
870
|
-
"data-depth":
|
|
870
|
+
"data-depth": w,
|
|
871
871
|
"aria-expanded": s.has(r),
|
|
872
872
|
"aria-selected": y == r,
|
|
873
873
|
tabIndex: f.current == r ? 0 : -1,
|
|
874
874
|
onFocus: $,
|
|
875
|
-
...
|
|
875
|
+
...u
|
|
876
876
|
}
|
|
877
877
|
) });
|
|
878
|
-
}), Yr = H(({ onClick: r, ...
|
|
879
|
-
const { setRootValue:
|
|
878
|
+
}), Yr = H(({ onClick: r, ...o }, n) => {
|
|
879
|
+
const { setRootValue: u, setSelection: i } = I(X), { parent: s } = I(G), y = z(r, f);
|
|
880
880
|
function f() {
|
|
881
|
-
i(s),
|
|
881
|
+
i(s), u((l) => l.has(s) ? new Set([...l].filter((x) => x !== s)) : /* @__PURE__ */ new Set([...l, s]));
|
|
882
882
|
}
|
|
883
883
|
return /* @__PURE__ */ V.jsx(
|
|
884
884
|
"div",
|
|
885
885
|
{
|
|
886
886
|
ref: n,
|
|
887
887
|
onClick: y,
|
|
888
|
-
...
|
|
888
|
+
...o
|
|
889
889
|
}
|
|
890
890
|
);
|
|
891
|
-
}), Lr = H(({ ...r },
|
|
892
|
-
const { rootValue: n } = I(X), { parent:
|
|
893
|
-
if (n.has(
|
|
891
|
+
}), Lr = H(({ ...r }, o) => {
|
|
892
|
+
const { rootValue: n } = I(X), { parent: u } = I(G);
|
|
893
|
+
if (n.has(u))
|
|
894
894
|
return /* @__PURE__ */ V.jsx(
|
|
895
895
|
"ul",
|
|
896
896
|
{
|
|
897
|
-
ref:
|
|
897
|
+
ref: o,
|
|
898
898
|
role: "group",
|
|
899
899
|
...r
|
|
900
900
|
}
|