@boxcustodia/library 0.0.7 → 0.0.8
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.d.ts +6 -1
- package/dist/index.es100.js +4 -4
- package/dist/index.es101.js +4 -14
- package/dist/index.es102.js +3 -4
- package/dist/index.es103.js +14 -57
- package/dist/index.es104.js +5 -29
- package/dist/index.es105.js +57 -12
- package/dist/index.es106.js +29 -11
- package/dist/index.es111.js +243 -1046
- package/dist/index.es112.js +12 -4
- package/dist/index.es113.js +11 -4
- package/dist/index.es114.js +7 -7
- package/dist/index.es117.js +14 -14
- package/dist/index.es118.js +813 -55
- package/dist/index.es119.js +9 -822
- package/dist/index.es120.js +5 -3
- package/dist/index.es121.js +64 -11
- package/dist/index.es122.js +88 -11
- package/dist/index.es123.js +11 -88
- package/dist/index.es124.js +4 -216
- package/dist/index.es127.js +5 -5
- package/dist/index.es128.js +216 -4
- package/dist/index.es129.js +2 -2
- package/dist/index.es134.js +1 -1
- package/dist/index.es137.js +20 -11
- package/dist/index.es138.js +37 -205
- package/dist/index.es139.js +10 -10
- package/dist/index.es140.js +11 -20
- package/dist/index.es141.js +205 -37
- package/dist/index.es142.js +10 -10
- package/dist/index.es143.js +5 -6
- package/dist/index.es144.js +2 -65
- package/dist/index.es145.js +44 -11
- package/dist/index.es146.js +5 -123
- package/dist/index.es147.js +58 -128
- package/dist/index.es148.js +11 -14
- package/dist/index.es149.js +122 -30
- package/dist/index.es150.js +134 -14
- package/dist/index.es151.js +12 -7
- package/dist/index.es152.js +32 -49
- package/dist/index.es153.js +14 -5
- package/dist/index.es154.js +9 -2
- package/dist/index.es155.js +48 -648
- package/dist/index.es156.js +5 -5
- package/dist/index.es157.js +649 -3
- package/dist/index.es158.js +4 -4
- package/dist/index.es159.js +3 -45
- package/dist/index.es160.js +45 -7
- package/dist/index.es161.js +7 -5
- package/dist/index.es162.js +6 -28
- package/dist/index.es163.js +27 -43
- package/dist/index.es164.js +3 -3
- package/dist/index.es166.js +5 -5
- package/dist/index.es168.js +2 -2
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +2 -2
- package/dist/index.es182.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +24 -177
- package/dist/index.es242.js +5 -5
- package/dist/index.es243.js +2 -2
- package/dist/index.es246.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es248.js +3 -3
- package/dist/index.es249.js +178 -2
- package/dist/index.es250.js +25 -397
- package/dist/index.es251.js +4 -722
- package/dist/index.es252.js +7 -282
- package/dist/index.es253.js +13 -60
- package/dist/index.es254.js +13 -9
- package/dist/index.es255.js +134 -28
- package/dist/index.es256.js +32 -199
- package/dist/index.es257.js +462 -25
- package/dist/index.es258.js +131 -4
- package/dist/index.es259.js +27 -8
- package/dist/index.es260.js +4 -13
- package/dist/index.es261.js +26 -13
- package/dist/index.es262.js +7 -134
- package/dist/index.es263.js +11 -31
- package/dist/index.es264.js +26 -460
- package/dist/index.es265.js +47 -130
- package/dist/index.es266.js +31 -27
- package/dist/index.es267.js +43 -4
- package/dist/index.es268.js +158 -26
- package/dist/index.es269.js +32 -6
- package/dist/index.es27.js +1 -1
- package/dist/index.es270.js +2 -12
- package/dist/index.es271.js +77 -26
- package/dist/index.es272.js +18 -48
- package/dist/index.es273.js +2 -31
- package/dist/index.es274.js +397 -43
- package/dist/index.es275.js +715 -151
- package/dist/index.es276.js +278 -29
- package/dist/index.es277.js +61 -2
- package/dist/index.es278.js +8 -78
- package/dist/index.es279.js +28 -18
- package/dist/index.es28.js +3 -3
- package/dist/index.es280.js +199 -25
- package/dist/index.es281.js +15 -16
- package/dist/index.es282.js +3 -8
- package/dist/index.es283.js +16 -4
- package/dist/index.es284.js +8 -14
- package/dist/index.es285.js +4 -15
- package/dist/index.es286.js +14 -15
- package/dist/index.es287.js +15 -3
- package/dist/index.es29.js +6 -6
- package/dist/index.es31.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es322.js +3 -3
- package/dist/index.es323.js +3 -3
- package/dist/index.es325.js +1 -1
- package/dist/index.es326.js +5 -5
- package/dist/index.es327.js +1 -1
- package/dist/index.es336.js +6 -2
- package/dist/index.es337.js +34 -2
- package/dist/index.es338.js +26 -6
- package/dist/index.es339.js +18 -34
- package/dist/index.es34.js +5 -5
- package/dist/index.es340.js +4 -25
- package/dist/index.es341.js +231 -18
- package/dist/index.es342.js +100 -5
- package/dist/index.es343.js +26 -229
- package/dist/index.es344.js +35 -80
- package/dist/index.es345.js +2 -28
- package/dist/index.es346.js +2 -55
- package/dist/index.es347.js +334 -2
- package/dist/index.es348.js +31 -106
- package/dist/index.es349.js +16 -75
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +29 -35
- package/dist/index.es351.js +3 -64
- package/dist/index.es352.js +107 -34
- package/dist/index.es353.js +71 -60
- package/dist/index.es354.js +34 -111
- package/dist/index.es355.js +60 -90
- package/dist/index.es356.js +32 -41
- package/dist/index.es357.js +66 -3
- package/dist/index.es358.js +113 -3
- package/dist/index.es359.js +94 -3
- package/dist/index.es360.js +43 -3
- package/dist/index.es361.js +2 -2
- package/dist/index.es362.js +2 -2
- package/dist/index.es363.js +2 -2
- package/dist/index.es364.js +2 -2
- package/dist/index.es365.js +2 -2
- package/dist/index.es366.js +4 -241
- package/dist/index.es367.js +4 -384
- package/dist/index.es368.js +4 -169
- package/dist/index.es369.js +4 -153
- package/dist/index.es370.js +187 -88
- package/dist/index.es371.js +384 -4
- package/dist/index.es372.js +169 -4
- package/dist/index.es373.js +153 -4
- package/dist/index.es374.js +142 -4
- package/dist/index.es375.js +2 -2
- package/dist/index.es376.js +2 -2
- package/dist/index.es377.js +2 -334
- package/dist/index.es378.js +2 -31
- package/dist/index.es379.js +2 -17
- package/dist/index.es38.js +51 -46
- package/dist/index.es380.js +2 -29
- package/dist/index.es381.js +2 -2
- package/dist/index.es382.js +1 -1
- package/dist/index.es384.js +1 -1
- package/dist/index.es385.js +1 -1
- package/dist/index.es39.js +2 -2
- package/dist/index.es394.js +68 -5
- package/dist/index.es395.js +31 -3
- package/dist/index.es396.js +16 -24
- package/dist/index.es397.js +141 -110
- package/dist/index.es398.js +113 -15
- package/dist/index.es399.js +5 -6
- package/dist/index.es40.js +3 -3
- package/dist/index.es400.js +3 -2
- package/dist/index.es401.js +23 -7
- package/dist/index.es402.js +108 -325
- package/dist/index.es403.js +15 -49
- package/dist/index.es404.js +518 -3
- package/dist/index.es405.js +113 -505
- package/dist/index.es406.js +120 -121
- package/dist/index.es407.js +5 -125
- package/dist/index.es408.js +2 -68
- package/dist/index.es409.js +8 -31
- package/dist/index.es41.js +1 -1
- package/dist/index.es410.js +327 -16
- package/dist/index.es411.js +48 -139
- package/dist/index.es412.js +4 -114
- package/dist/index.es416.js +1 -1
- package/dist/index.es418.js +1 -1
- package/dist/index.es419.js +4 -4
- package/dist/index.es42.js +1 -1
- package/dist/index.es437.js +21 -271
- package/dist/index.es438.js +10 -79
- package/dist/index.es439.js +31 -164
- package/dist/index.es44.js +1 -1
- package/dist/index.es440.js +29 -24
- package/dist/index.es441.js +11 -10
- package/dist/index.es442.js +274 -32
- package/dist/index.es443.js +79 -29
- package/dist/index.es444.js +165 -11
- package/dist/index.es448.js +2 -2
- package/dist/index.es45.js +1 -1
- package/dist/index.es454.js +1 -1
- package/dist/index.es455.js +1 -1
- package/dist/index.es461.js +1 -1
- package/dist/index.es476.js +1 -1
- package/dist/index.es477.js +1 -1
- package/dist/index.es50.js +2 -2
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +4 -4
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +1 -1
- package/dist/index.es57.js +2 -2
- package/dist/index.es59.js +2 -2
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es65.js +2 -2
- package/dist/index.es66.js +2 -2
- package/dist/index.es754.js +13 -21
- package/dist/index.es755.js +18 -79
- package/dist/index.es756.js +82 -13
- package/dist/index.es757.js +14 -2
- package/dist/index.es758.js +60 -2
- package/dist/index.es759.js +2 -14
- package/dist/index.es760.js +2 -60
- package/dist/index.es768.js +2 -5
- package/dist/index.es769.js +2 -17
- package/dist/index.es770.js +5 -2
- package/dist/index.es771.js +17 -2
- package/dist/index.es772.js +1 -1
- package/dist/index.es773.js +2 -2
- package/dist/index.es78.js +1 -1
- package/dist/index.es781.js +1 -1
- package/dist/index.es784.js +1 -1
- package/dist/index.es787.js +56 -26
- package/dist/index.es788.js +10 -3
- package/dist/index.es789.js +14 -57
- package/dist/index.es79.js +1 -1
- package/dist/index.es790.js +3 -6
- package/dist/index.es791.js +28 -15
- package/dist/index.es792.js +3 -7
- package/dist/index.es808.js +1 -1
- package/dist/index.es811.js +5 -5
- package/dist/index.es812.js +2 -2
- package/dist/index.es813.js +1 -1
- package/dist/index.es815.js +2 -2
- package/dist/index.es827.js +64 -15
- package/dist/index.es828.js +11 -7
- package/dist/index.es829.js +38 -61
- package/dist/index.es830.js +54 -7
- package/dist/index.es831.js +16 -40
- package/dist/index.es832.js +17 -57
- package/dist/index.es833.js +7 -20
- package/dist/index.es834.js +1 -1
- package/dist/index.es86.js +55 -33
- package/dist/index.es87.js +53 -44
- package/dist/index.es88.js +89 -29
- package/dist/index.es89.js +37 -30
- package/dist/index.es90.js +24 -9
- package/dist/index.es91.js +30 -55
- package/dist/index.es92.js +31 -53
- package/dist/index.es93.js +46 -90
- package/dist/index.es94.js +29 -36
- package/dist/index.es95.js +29 -23
- package/dist/index.es96.js +9 -30
- package/dist/index.es97.js +12 -259
- package/dist/index.es98.js +1062 -12
- package/dist/index.es99.js +2 -2
- package/package.json +1 -1
package/dist/index.es120.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./index.es171.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.379.0 - ISC
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const n = o("ChevronDown", [
|
|
9
|
+
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
10
|
+
]);
|
|
9
11
|
export {
|
|
10
|
-
|
|
12
|
+
n as default
|
|
11
13
|
};
|
package/dist/index.es121.js
CHANGED
|
@@ -1,13 +1,66 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import * as g from "react-dom";
|
|
3
|
+
import { useComposedRefs as O } from "./index.es140.js";
|
|
4
|
+
import { useLayoutEffect as l } from "./index.es158.js";
|
|
5
|
+
function E(e, n) {
|
|
6
|
+
return a.useReducer((o, r) => n[o][r] ?? o, e);
|
|
7
|
+
}
|
|
8
|
+
var M = (e) => {
|
|
9
|
+
const { present: n, children: o } = e, r = R(n), i = typeof o == "function" ? o({ present: r.isPresent }) : a.Children.only(o), c = O(r.ref, T(i));
|
|
10
|
+
return typeof o == "function" || r.isPresent ? a.cloneElement(i, { ref: c }) : null;
|
|
11
|
+
};
|
|
12
|
+
M.displayName = "Presence";
|
|
13
|
+
function R(e) {
|
|
14
|
+
const [n, o] = a.useState(), r = a.useRef({}), i = a.useRef(e), c = a.useRef("none"), p = e ? "mounted" : "unmounted", [N, s] = E(p, {
|
|
15
|
+
mounted: {
|
|
16
|
+
UNMOUNT: "unmounted",
|
|
17
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
18
|
+
},
|
|
19
|
+
unmountSuspended: {
|
|
20
|
+
MOUNT: "mounted",
|
|
21
|
+
ANIMATION_END: "unmounted"
|
|
22
|
+
},
|
|
23
|
+
unmounted: {
|
|
24
|
+
MOUNT: "mounted"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return a.useEffect(() => {
|
|
28
|
+
const t = d(r.current);
|
|
29
|
+
c.current = N === "mounted" ? t : "none";
|
|
30
|
+
}, [N]), l(() => {
|
|
31
|
+
const t = r.current, u = i.current;
|
|
32
|
+
if (u !== e) {
|
|
33
|
+
const A = c.current, f = d(t);
|
|
34
|
+
e ? s("MOUNT") : f === "none" || (t == null ? void 0 : t.display) === "none" ? s("UNMOUNT") : s(u && A !== f ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
35
|
+
}
|
|
36
|
+
}, [e, s]), l(() => {
|
|
37
|
+
if (n) {
|
|
38
|
+
const t = (m) => {
|
|
39
|
+
const f = d(r.current).includes(m.animationName);
|
|
40
|
+
m.target === n && f && g.flushSync(() => s("ANIMATION_END"));
|
|
41
|
+
}, u = (m) => {
|
|
42
|
+
m.target === n && (c.current = d(r.current));
|
|
43
|
+
};
|
|
44
|
+
return n.addEventListener("animationstart", u), n.addEventListener("animationcancel", t), n.addEventListener("animationend", t), () => {
|
|
45
|
+
n.removeEventListener("animationstart", u), n.removeEventListener("animationcancel", t), n.removeEventListener("animationend", t);
|
|
46
|
+
};
|
|
47
|
+
} else
|
|
48
|
+
s("ANIMATION_END");
|
|
49
|
+
}, [n, s]), {
|
|
50
|
+
isPresent: ["mounted", "unmountSuspended"].includes(N),
|
|
51
|
+
ref: a.useCallback((t) => {
|
|
52
|
+
t && (r.current = getComputedStyle(t)), o(t);
|
|
53
|
+
}, [])
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function d(e) {
|
|
57
|
+
return (e == null ? void 0 : e.animationName) || "none";
|
|
58
|
+
}
|
|
59
|
+
function T(e) {
|
|
60
|
+
var r, i;
|
|
61
|
+
let n = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
62
|
+
return o ? e.ref : (n = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
63
|
+
}
|
|
11
64
|
export {
|
|
12
|
-
|
|
65
|
+
M as Presence
|
|
13
66
|
};
|
package/dist/index.es122.js
CHANGED
|
@@ -1,13 +1,90 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { j as t } from "./index.es82.js";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { cn as s } from "./index.es72.js";
|
|
4
|
+
const r = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("div", { className: "ui-relative ui-w-full ui-overflow-auto", children: /* @__PURE__ */ t.jsx(
|
|
5
|
+
"table",
|
|
6
|
+
{
|
|
7
|
+
ref: o,
|
|
8
|
+
className: s("ui-w-full caption-bottom ui-text-sm", e),
|
|
9
|
+
...a
|
|
10
|
+
}
|
|
11
|
+
) }));
|
|
12
|
+
r.displayName = "Table";
|
|
13
|
+
const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("thead", { ref: o, className: s("[&_tr]:ui-border-b", e), ...a }));
|
|
14
|
+
i.displayName = "TableHeader";
|
|
15
|
+
const d = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
16
|
+
"tbody",
|
|
17
|
+
{
|
|
18
|
+
ref: o,
|
|
19
|
+
className: s("[&_tr:last-child]:ui-border-0", e),
|
|
20
|
+
...a
|
|
21
|
+
}
|
|
22
|
+
));
|
|
23
|
+
d.displayName = "TableBody";
|
|
24
|
+
const m = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
25
|
+
"tfoot",
|
|
26
|
+
{
|
|
27
|
+
ref: o,
|
|
28
|
+
className: s(
|
|
29
|
+
"ui-border-t bg-muted/50 ui-font-medium [&>tr]:last:ui-border-b-0",
|
|
30
|
+
e
|
|
31
|
+
),
|
|
32
|
+
...a
|
|
33
|
+
}
|
|
34
|
+
));
|
|
35
|
+
m.displayName = "TableFooter";
|
|
36
|
+
const u = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
37
|
+
"tr",
|
|
38
|
+
{
|
|
39
|
+
ref: o,
|
|
40
|
+
className: s(
|
|
41
|
+
"ui-border-b ui-transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
42
|
+
e
|
|
43
|
+
),
|
|
44
|
+
...a
|
|
45
|
+
}
|
|
46
|
+
));
|
|
47
|
+
u.displayName = "TableRow";
|
|
48
|
+
const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
49
|
+
"th",
|
|
50
|
+
{
|
|
51
|
+
ref: o,
|
|
52
|
+
className: s(
|
|
53
|
+
"ui-h-12 ui-px-4 ui-text-left ui-align-middle ui-font-medium text-muted-foreground [&:has([role=checkbox])]:ui-pr-0",
|
|
54
|
+
e
|
|
55
|
+
),
|
|
56
|
+
...a
|
|
57
|
+
}
|
|
58
|
+
));
|
|
59
|
+
b.displayName = "TableHead";
|
|
60
|
+
const c = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
61
|
+
"td",
|
|
62
|
+
{
|
|
63
|
+
ref: o,
|
|
64
|
+
className: s(
|
|
65
|
+
"ui-p-4 ui-align-middle [&:has([role=checkbox])]:ui-pr-0",
|
|
66
|
+
e
|
|
67
|
+
),
|
|
68
|
+
...a
|
|
69
|
+
}
|
|
70
|
+
));
|
|
71
|
+
c.displayName = "TableCell";
|
|
72
|
+
const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
73
|
+
"caption",
|
|
74
|
+
{
|
|
75
|
+
ref: o,
|
|
76
|
+
className: s("ui-mt-4 ui-text-sm text-muted-foreground", e),
|
|
77
|
+
...a
|
|
78
|
+
}
|
|
79
|
+
));
|
|
80
|
+
f.displayName = "TableCaption";
|
|
11
81
|
export {
|
|
12
|
-
|
|
82
|
+
d as TableBody,
|
|
83
|
+
f as TableCaption,
|
|
84
|
+
c as TableCell,
|
|
85
|
+
m as TableFooter,
|
|
86
|
+
b as TableHead,
|
|
87
|
+
i as TableHeader,
|
|
88
|
+
r as TableRoot,
|
|
89
|
+
u as TableRow
|
|
13
90
|
};
|
package/dist/index.es123.js
CHANGED
|
@@ -1,90 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
) }));
|
|
12
|
-
r.displayName = "Table";
|
|
13
|
-
const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("thead", { ref: o, className: s("[&_tr]:ui-border-b", e), ...a }));
|
|
14
|
-
i.displayName = "TableHeader";
|
|
15
|
-
const d = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
16
|
-
"tbody",
|
|
17
|
-
{
|
|
18
|
-
ref: o,
|
|
19
|
-
className: s("[&_tr:last-child]:ui-border-0", e),
|
|
20
|
-
...a
|
|
21
|
-
}
|
|
22
|
-
));
|
|
23
|
-
d.displayName = "TableBody";
|
|
24
|
-
const m = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
25
|
-
"tfoot",
|
|
26
|
-
{
|
|
27
|
-
ref: o,
|
|
28
|
-
className: s(
|
|
29
|
-
"ui-border-t bg-muted/50 ui-font-medium [&>tr]:last:ui-border-b-0",
|
|
30
|
-
e
|
|
31
|
-
),
|
|
32
|
-
...a
|
|
33
|
-
}
|
|
34
|
-
));
|
|
35
|
-
m.displayName = "TableFooter";
|
|
36
|
-
const u = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
37
|
-
"tr",
|
|
38
|
-
{
|
|
39
|
-
ref: o,
|
|
40
|
-
className: s(
|
|
41
|
-
"ui-border-b ui-transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
42
|
-
e
|
|
43
|
-
),
|
|
44
|
-
...a
|
|
45
|
-
}
|
|
46
|
-
));
|
|
47
|
-
u.displayName = "TableRow";
|
|
48
|
-
const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
49
|
-
"th",
|
|
50
|
-
{
|
|
51
|
-
ref: o,
|
|
52
|
-
className: s(
|
|
53
|
-
"ui-h-12 ui-px-4 ui-text-left ui-align-middle ui-font-medium text-muted-foreground [&:has([role=checkbox])]:ui-pr-0",
|
|
54
|
-
e
|
|
55
|
-
),
|
|
56
|
-
...a
|
|
57
|
-
}
|
|
58
|
-
));
|
|
59
|
-
b.displayName = "TableHead";
|
|
60
|
-
const c = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
61
|
-
"td",
|
|
62
|
-
{
|
|
63
|
-
ref: o,
|
|
64
|
-
className: s(
|
|
65
|
-
"ui-p-4 ui-align-middle [&:has([role=checkbox])]:ui-pr-0",
|
|
66
|
-
e
|
|
67
|
-
),
|
|
68
|
-
...a
|
|
69
|
-
}
|
|
70
|
-
));
|
|
71
|
-
c.displayName = "TableCell";
|
|
72
|
-
const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
73
|
-
"caption",
|
|
74
|
-
{
|
|
75
|
-
ref: o,
|
|
76
|
-
className: s("ui-mt-4 ui-text-sm text-muted-foreground", e),
|
|
77
|
-
...a
|
|
78
|
-
}
|
|
79
|
-
));
|
|
80
|
-
f.displayName = "TableCaption";
|
|
1
|
+
import e from "./index.es171.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.379.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const o = e("ChevronLeft", [
|
|
9
|
+
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
|
10
|
+
]);
|
|
81
11
|
export {
|
|
82
|
-
|
|
83
|
-
f as TableCaption,
|
|
84
|
-
c as TableCell,
|
|
85
|
-
m as TableFooter,
|
|
86
|
-
b as TableHead,
|
|
87
|
-
i as TableHeader,
|
|
88
|
-
r as TableRoot,
|
|
89
|
-
u as TableRow
|
|
12
|
+
o as default
|
|
90
13
|
};
|
package/dist/index.es124.js
CHANGED
|
@@ -1,218 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import "react-dom";
|
|
4
|
-
import "./index.es165.js";
|
|
5
|
-
import { fireEvent as a, configure as E } from "./index.es166.js";
|
|
6
|
-
import { buildQueries as k, createEvent as V, findAllByAltText as C, findAllByDisplayValue as F, findAllByLabelText as M, findAllByPlaceholderText as W, findAllByRole as U, findAllByTestId as G, findAllByText as z, findAllByTitle as K, findByAltText as $, findByDisplayValue as H, findByLabelText as J, findByPlaceholderText as X, findByRole as Y, findByTestId as Z, findByText as ee, findByTitle as te, getAllByAltText as ne, getAllByDisplayValue as re, getAllByLabelText as le, getAllByPlaceholderText as oe, getAllByRole as ue, getAllByTestId as ie, getAllByText as se, getAllByTitle as ae, getByAltText as ye, getByDisplayValue as ce, getByLabelText as fe, getByPlaceholderText as de, getByRole as me, getByTestId as ge, getByText as pe, getByTitle as Te, getDefaultNormalizer as Ae, getElementError as Be, getMultipleElementsFoundError as Ee, getNodeText as be, getQueriesForElement as xe, getRoles as he, getSuggestedQuery as ve, isInaccessible as we, logDOM as qe, makeFindQuery as Re, makeGetAllQuery as Ie, makeSingleQuery as Le, prettyDOM as Oe, queries as Ne, queryAllByAltText as _e, queryAllByAttribute as Pe, queryAllByDisplayValue as De, queryAllByLabelText as Qe, queryAllByPlaceholderText as Se, queryAllByRole as je, queryAllByTestId as ke, queryAllByText as Ve, queryAllByTitle as Ce, queryByAltText as Fe, queryByDisplayValue as Me, queryByLabelText as We, queryByPlaceholderText as Ue, queryByRole as Ge, queryByTestId as ze, queryByText as Ke, queryByTitle as $e, waitFor as He, getQueriesForElement as Je, wrapAllByQueryWithSuggestion as Xe, wrapSingleQueryWithSuggestion as Ye } from "./index.es166.js";
|
|
7
|
-
const b = typeof f.act == "function" ? f.act : B.act;
|
|
8
|
-
function p() {
|
|
9
|
-
if (typeof globalThis < "u")
|
|
10
|
-
return globalThis;
|
|
11
|
-
if (typeof self < "u")
|
|
12
|
-
return self;
|
|
13
|
-
if (typeof window < "u")
|
|
14
|
-
return window;
|
|
15
|
-
if (typeof global < "u")
|
|
16
|
-
return global;
|
|
17
|
-
throw new Error("unable to locate global object");
|
|
18
|
-
}
|
|
19
|
-
function l(t) {
|
|
20
|
-
p().IS_REACT_ACT_ENVIRONMENT = t;
|
|
21
|
-
}
|
|
22
|
-
function i() {
|
|
23
|
-
return p().IS_REACT_ACT_ENVIRONMENT;
|
|
24
|
-
}
|
|
25
|
-
function x(t) {
|
|
26
|
-
return (n) => {
|
|
27
|
-
const r = i();
|
|
28
|
-
l(!0);
|
|
29
|
-
try {
|
|
30
|
-
let o = !1;
|
|
31
|
-
const c = t(() => {
|
|
32
|
-
const u = n();
|
|
33
|
-
return u !== null && typeof u == "object" && typeof u.then == "function" && (o = !0), u;
|
|
34
|
-
});
|
|
35
|
-
if (o) {
|
|
36
|
-
const u = c;
|
|
37
|
-
return {
|
|
38
|
-
then: (T, A) => {
|
|
39
|
-
u.then((s) => {
|
|
40
|
-
l(r), T(s);
|
|
41
|
-
}, (s) => {
|
|
42
|
-
l(r), A(s);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
} else
|
|
47
|
-
return l(r), c;
|
|
48
|
-
} catch (o) {
|
|
49
|
-
throw l(r), o;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
const y = x(b), e = function() {
|
|
54
|
-
return a(...arguments);
|
|
55
|
-
};
|
|
56
|
-
Object.keys(a).forEach((t) => {
|
|
57
|
-
e[t] = function() {
|
|
58
|
-
return a[t](...arguments);
|
|
59
|
-
};
|
|
60
|
-
});
|
|
61
|
-
const h = e.mouseEnter, v = e.mouseLeave;
|
|
62
|
-
e.mouseEnter = function() {
|
|
63
|
-
return h(...arguments), e.mouseOver(...arguments);
|
|
64
|
-
};
|
|
65
|
-
e.mouseLeave = function() {
|
|
66
|
-
return v(...arguments), e.mouseOut(...arguments);
|
|
67
|
-
};
|
|
68
|
-
const w = e.pointerEnter, q = e.pointerLeave;
|
|
69
|
-
e.pointerEnter = function() {
|
|
70
|
-
return w(...arguments), e.pointerOver(...arguments);
|
|
71
|
-
};
|
|
72
|
-
e.pointerLeave = function() {
|
|
73
|
-
return q(...arguments), e.pointerOut(...arguments);
|
|
74
|
-
};
|
|
75
|
-
const R = e.select;
|
|
76
|
-
e.select = (t, n) => {
|
|
77
|
-
R(t, n), t.focus(), e.keyUp(t, n);
|
|
78
|
-
};
|
|
79
|
-
const I = e.blur, L = e.focus;
|
|
80
|
-
e.blur = function() {
|
|
81
|
-
return e.focusOut(...arguments), I(...arguments);
|
|
82
|
-
};
|
|
83
|
-
e.focus = function() {
|
|
84
|
-
return e.focusIn(...arguments), L(...arguments);
|
|
85
|
-
};
|
|
86
|
-
function O() {
|
|
87
|
-
return typeof jest < "u" && jest !== null ? (
|
|
88
|
-
// legacy timers
|
|
89
|
-
setTimeout._isMockFunction === !0 || // modern timers
|
|
90
|
-
// eslint-disable-next-line prefer-object-has-own -- No Object.hasOwn in all target environments we support.
|
|
91
|
-
Object.prototype.hasOwnProperty.call(setTimeout, "clock")
|
|
92
|
-
) : !1;
|
|
93
|
-
}
|
|
94
|
-
E({
|
|
95
|
-
unstable_advanceTimersWrapper: (t) => y(t),
|
|
96
|
-
// We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT
|
|
97
|
-
// But that's not necessarily how `asyncWrapper` is used since it's a public method.
|
|
98
|
-
// Let's just hope nobody else is using it.
|
|
99
|
-
asyncWrapper: async (t) => {
|
|
100
|
-
const n = i();
|
|
101
|
-
l(!1);
|
|
102
|
-
try {
|
|
103
|
-
const r = await t();
|
|
104
|
-
return await new Promise((o) => {
|
|
105
|
-
setTimeout(() => {
|
|
106
|
-
o();
|
|
107
|
-
}, 0), O() && jest.advanceTimersByTime(0);
|
|
108
|
-
}), r;
|
|
109
|
-
} finally {
|
|
110
|
-
l(n);
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
eventWrapper: (t) => {
|
|
114
|
-
let n;
|
|
115
|
-
return y(() => {
|
|
116
|
-
n = t();
|
|
117
|
-
}), n;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
const N = /* @__PURE__ */ new Set(), d = [];
|
|
121
|
-
function m() {
|
|
122
|
-
d.forEach((t) => {
|
|
123
|
-
let {
|
|
124
|
-
root: n,
|
|
125
|
-
container: r
|
|
126
|
-
} = t;
|
|
127
|
-
y(() => {
|
|
128
|
-
n.unmount();
|
|
129
|
-
}), r.parentNode === document.body && document.body.removeChild(r);
|
|
130
|
-
}), d.length = 0, N.clear();
|
|
131
|
-
}
|
|
132
|
-
var g;
|
|
133
|
-
if ((typeof process > "u" || !((g = process.env) != null && g.RTL_SKIP_AUTO_CLEANUP)) && (typeof afterEach == "function" ? afterEach(() => {
|
|
134
|
-
m();
|
|
135
|
-
}) : typeof teardown == "function" && teardown(() => {
|
|
136
|
-
m();
|
|
137
|
-
}), typeof beforeAll == "function" && typeof afterAll == "function")) {
|
|
138
|
-
let t = i();
|
|
139
|
-
beforeAll(() => {
|
|
140
|
-
t = i(), l(!0);
|
|
141
|
-
}), afterAll(() => {
|
|
142
|
-
l(t);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
1
|
+
import { createSafeContext as t } from "./index.es76.js";
|
|
2
|
+
const [o, r] = t();
|
|
145
3
|
export {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
m as cleanup,
|
|
149
|
-
V as createEvent,
|
|
150
|
-
C as findAllByAltText,
|
|
151
|
-
F as findAllByDisplayValue,
|
|
152
|
-
M as findAllByLabelText,
|
|
153
|
-
W as findAllByPlaceholderText,
|
|
154
|
-
U as findAllByRole,
|
|
155
|
-
G as findAllByTestId,
|
|
156
|
-
z as findAllByText,
|
|
157
|
-
K as findAllByTitle,
|
|
158
|
-
$ as findByAltText,
|
|
159
|
-
H as findByDisplayValue,
|
|
160
|
-
J as findByLabelText,
|
|
161
|
-
X as findByPlaceholderText,
|
|
162
|
-
Y as findByRole,
|
|
163
|
-
Z as findByTestId,
|
|
164
|
-
ee as findByText,
|
|
165
|
-
te as findByTitle,
|
|
166
|
-
e as fireEvent,
|
|
167
|
-
ne as getAllByAltText,
|
|
168
|
-
re as getAllByDisplayValue,
|
|
169
|
-
le as getAllByLabelText,
|
|
170
|
-
oe as getAllByPlaceholderText,
|
|
171
|
-
ue as getAllByRole,
|
|
172
|
-
ie as getAllByTestId,
|
|
173
|
-
se as getAllByText,
|
|
174
|
-
ae as getAllByTitle,
|
|
175
|
-
ye as getByAltText,
|
|
176
|
-
ce as getByDisplayValue,
|
|
177
|
-
fe as getByLabelText,
|
|
178
|
-
de as getByPlaceholderText,
|
|
179
|
-
me as getByRole,
|
|
180
|
-
ge as getByTestId,
|
|
181
|
-
pe as getByText,
|
|
182
|
-
Te as getByTitle,
|
|
183
|
-
Ae as getDefaultNormalizer,
|
|
184
|
-
Be as getElementError,
|
|
185
|
-
Ee as getMultipleElementsFoundError,
|
|
186
|
-
be as getNodeText,
|
|
187
|
-
xe as getQueriesForElement,
|
|
188
|
-
he as getRoles,
|
|
189
|
-
ve as getSuggestedQuery,
|
|
190
|
-
we as isInaccessible,
|
|
191
|
-
qe as logDOM,
|
|
192
|
-
Re as makeFindQuery,
|
|
193
|
-
Ie as makeGetAllQuery,
|
|
194
|
-
Le as makeSingleQuery,
|
|
195
|
-
Oe as prettyDOM,
|
|
196
|
-
Ne as queries,
|
|
197
|
-
_e as queryAllByAltText,
|
|
198
|
-
Pe as queryAllByAttribute,
|
|
199
|
-
De as queryAllByDisplayValue,
|
|
200
|
-
Qe as queryAllByLabelText,
|
|
201
|
-
Se as queryAllByPlaceholderText,
|
|
202
|
-
je as queryAllByRole,
|
|
203
|
-
ke as queryAllByTestId,
|
|
204
|
-
Ve as queryAllByText,
|
|
205
|
-
Ce as queryAllByTitle,
|
|
206
|
-
Fe as queryByAltText,
|
|
207
|
-
Me as queryByDisplayValue,
|
|
208
|
-
We as queryByLabelText,
|
|
209
|
-
Ue as queryByPlaceholderText,
|
|
210
|
-
Ge as queryByRole,
|
|
211
|
-
ze as queryByTestId,
|
|
212
|
-
Ke as queryByText,
|
|
213
|
-
$e as queryByTitle,
|
|
214
|
-
He as waitFor,
|
|
215
|
-
Je as within,
|
|
216
|
-
Xe as wrapAllByQueryWithSuggestion,
|
|
217
|
-
Ye as wrapSingleQueryWithSuggestion
|
|
4
|
+
r as TabsContextProvider,
|
|
5
|
+
o as useTabsContext
|
|
218
6
|
};
|
package/dist/index.es127.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as r } from "./index.es82.js";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
|
-
import { TreeProvider as m } from "./index.
|
|
4
|
-
import { OuterDrop as n } from "./index.
|
|
5
|
-
import { TreeContainer as p } from "./index.
|
|
6
|
-
import { DragPreviewContainer as s } from "./index.
|
|
7
|
-
import { useValidatedProps as f } from "./index.
|
|
3
|
+
import { TreeProvider as m } from "./index.es250.js";
|
|
4
|
+
import { OuterDrop as n } from "./index.es251.js";
|
|
5
|
+
import { TreeContainer as p } from "./index.es252.js";
|
|
6
|
+
import { DragPreviewContainer as s } from "./index.es253.js";
|
|
7
|
+
import { useValidatedProps as f } from "./index.es254.js";
|
|
8
8
|
function a(e, o) {
|
|
9
9
|
const t = f(e);
|
|
10
10
|
return r.jsxs(m, { treeProps: t, imperativeHandle: o, children: [r.jsx(n, { children: r.jsx(p, {}) }), r.jsx(s, {})] });
|