@still-forest/canopy 0.26.0 → 0.28.0
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/ErrorFallback.js +29 -0
- package/dist/Layout2.js +80 -71
- package/dist/PageNotFound.js +28 -49
- package/dist/SelectInput.js +1971 -0
- package/dist/SidebarLayout.js +416 -474
- package/dist/Table.js +122 -0
- package/dist/Textarea.js +339 -2298
- package/dist/calendar.js +196 -192
- package/dist/forms.d.ts +6 -4
- package/dist/forms.js +14 -13
- package/dist/index.d.ts +20 -8
- package/dist/index.js +195 -1305
- package/dist/interstitials.js +6 -5
- package/dist/layout.d.ts +1 -1
- package/dist/navigation.d.ts +3 -3
- package/dist/next.d.ts +579 -0
- package/dist/next.js +68 -0
- package/dist/popover.js +18 -18
- package/dist/skeleton.js +1141 -0
- package/package.json +14 -16
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { j as r } from "./jsx-runtime.js";
|
|
2
|
+
import { c as t, B as a } from "./calendar.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { F as n, B as i } from "./Layout2.js";
|
|
5
|
+
import { C as c } from "./Code.js";
|
|
6
|
+
import "./Heading.js";
|
|
7
|
+
import { E as s } from "./PageNotFound.js";
|
|
8
|
+
/**
|
|
9
|
+
* @license lucide-react v0.525.0 - ISC
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the ISC license.
|
|
12
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
const l = [
|
|
15
|
+
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
16
|
+
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
17
|
+
], m = t("rotate-ccw", l), d = () => {
|
|
18
|
+
try {
|
|
19
|
+
window.location.reload();
|
|
20
|
+
} catch {
|
|
21
|
+
console.warn("Page reload prevented in test environment");
|
|
22
|
+
}
|
|
23
|
+
}, w = ({ error: e, onRetry: o = d }) => /* @__PURE__ */ r.jsx(s, { children: /* @__PURE__ */ r.jsxs(n, { align: "center", className: "mt-8", direction: "col", children: [
|
|
24
|
+
/* @__PURE__ */ r.jsx(i, { className: "mb-8 p-4", variant: "muted", width: "full", children: /* @__PURE__ */ r.jsx(c, { align: "center", size: "xs", variant: "inherit", children: e.message || "Unknown error occurred" }) }),
|
|
25
|
+
/* @__PURE__ */ r.jsx(a, { icon: /* @__PURE__ */ r.jsx(m, {}), onClick: o, variant: "primary", children: "Reload" })
|
|
26
|
+
] }) });
|
|
27
|
+
export {
|
|
28
|
+
w as E
|
|
29
|
+
};
|
package/dist/Layout2.js
CHANGED
|
@@ -5,32 +5,32 @@ const w = g.forwardRef(
|
|
|
5
5
|
({
|
|
6
6
|
className: c,
|
|
7
7
|
as: t = "div",
|
|
8
|
-
variant:
|
|
8
|
+
variant: n,
|
|
9
9
|
size: r,
|
|
10
10
|
width: e,
|
|
11
11
|
height: o,
|
|
12
12
|
display: l,
|
|
13
|
-
sizing:
|
|
13
|
+
sizing: s,
|
|
14
14
|
position: x,
|
|
15
15
|
overflow: a,
|
|
16
16
|
overflowX: b,
|
|
17
17
|
overflowY: d,
|
|
18
18
|
rounded: f,
|
|
19
|
-
...
|
|
20
|
-
},
|
|
19
|
+
...p
|
|
20
|
+
}, v) => /* @__PURE__ */ u.jsx(
|
|
21
21
|
t,
|
|
22
22
|
{
|
|
23
23
|
className: m(
|
|
24
24
|
// Variant
|
|
25
25
|
{
|
|
26
|
-
"bg-primary text-primary-foreground":
|
|
27
|
-
"bg-secondary text-secondary-foreground":
|
|
28
|
-
"bg-muted text-muted-foreground":
|
|
29
|
-
"bg-accent text-accent-foreground":
|
|
30
|
-
"bg-info text-info-foreground":
|
|
31
|
-
"bg-success text-success-foreground":
|
|
32
|
-
"bg-warning text-warning-foreground":
|
|
33
|
-
"bg-destructive text-destructive-foreground":
|
|
26
|
+
"bg-primary text-primary-foreground": n === "primary",
|
|
27
|
+
"bg-secondary text-secondary-foreground": n === "secondary",
|
|
28
|
+
"bg-muted text-muted-foreground": n === "muted",
|
|
29
|
+
"bg-accent text-accent-foreground": n === "accent",
|
|
30
|
+
"bg-info text-info-foreground": n === "info",
|
|
31
|
+
"bg-success text-success-foreground": n === "success",
|
|
32
|
+
"bg-warning text-warning-foreground": n === "warning",
|
|
33
|
+
"bg-destructive text-destructive-foreground": n === "destructive"
|
|
34
34
|
},
|
|
35
35
|
// Size
|
|
36
36
|
{
|
|
@@ -189,8 +189,8 @@ const w = g.forwardRef(
|
|
|
189
189
|
},
|
|
190
190
|
// Box sizing
|
|
191
191
|
{
|
|
192
|
-
"box-border":
|
|
193
|
-
"box-content":
|
|
192
|
+
"box-border": s === "border",
|
|
193
|
+
"box-content": s === "content"
|
|
194
194
|
},
|
|
195
195
|
// Position
|
|
196
196
|
{
|
|
@@ -239,17 +239,17 @@ const w = g.forwardRef(
|
|
|
239
239
|
},
|
|
240
240
|
c
|
|
241
241
|
),
|
|
242
|
-
ref:
|
|
243
|
-
...
|
|
242
|
+
ref: v,
|
|
243
|
+
...p
|
|
244
244
|
}
|
|
245
245
|
)
|
|
246
246
|
);
|
|
247
247
|
w.displayName = "Box";
|
|
248
|
-
const y = ({ children: c, className: t, direction:
|
|
249
|
-
const { display: e = "flex", ...o } = r, l = m("w-full
|
|
250
|
-
return e === "block" ? /* @__PURE__ */ u.jsx(w, { className: l, ...o, children: c }) : /* @__PURE__ */ u.jsx(i, { className: l, direction:
|
|
251
|
-
},
|
|
252
|
-
const o =
|
|
248
|
+
const y = ({ children: c, className: t, direction: n = "col", ...r }) => {
|
|
249
|
+
const { display: e = "flex", ...o } = r, l = m("w-full px-4 py-2 md:px-8 md:py-4 lg:px-12 lg:py-6", t);
|
|
250
|
+
return e === "block" ? /* @__PURE__ */ u.jsx(w, { className: l, ...o, children: c }) : /* @__PURE__ */ u.jsx(i, { className: l, direction: n, ...o, children: c });
|
|
251
|
+
}, j = ({ flex: c, className: t, as: n, children: r, ...e }) => {
|
|
252
|
+
const o = n || "div";
|
|
253
253
|
return /* @__PURE__ */ u.jsx(
|
|
254
254
|
o,
|
|
255
255
|
{
|
|
@@ -266,18 +266,18 @@ const y = ({ children: c, className: t, direction: s = "col", ...r }) => {
|
|
|
266
266
|
children: r
|
|
267
267
|
}
|
|
268
268
|
);
|
|
269
|
-
},
|
|
270
|
-
({ className: c, as: t = "div", direction:
|
|
269
|
+
}, N = g.forwardRef(
|
|
270
|
+
({ className: c, as: t = "div", direction: n, align: r, justify: e, grow: o, wrap: l, gap: s, gapX: x, gapY: a, ...b }, d) => /* @__PURE__ */ u.jsx(
|
|
271
271
|
t,
|
|
272
272
|
{
|
|
273
273
|
className: m(
|
|
274
274
|
"flex",
|
|
275
275
|
// Flex direction
|
|
276
276
|
{
|
|
277
|
-
"flex-row":
|
|
278
|
-
"flex-row-reverse":
|
|
279
|
-
"flex-col":
|
|
280
|
-
"flex-col-reverse":
|
|
277
|
+
"flex-row": n === "row",
|
|
278
|
+
"flex-row-reverse": n === "row-reverse",
|
|
279
|
+
"flex-col": n === "col",
|
|
280
|
+
"flex-col-reverse": n === "col-reverse"
|
|
281
281
|
},
|
|
282
282
|
// Align items
|
|
283
283
|
{
|
|
@@ -323,23 +323,23 @@ const y = ({ children: c, className: t, direction: s = "col", ...r }) => {
|
|
|
323
323
|
},
|
|
324
324
|
// Gap
|
|
325
325
|
{
|
|
326
|
-
"gap-0":
|
|
327
|
-
"gap-1":
|
|
328
|
-
"gap-2":
|
|
329
|
-
"gap-3":
|
|
330
|
-
"gap-4":
|
|
331
|
-
"gap-5":
|
|
332
|
-
"gap-6":
|
|
333
|
-
"gap-7":
|
|
334
|
-
"gap-8":
|
|
335
|
-
"gap-9":
|
|
336
|
-
"gap-10":
|
|
337
|
-
"gap-11":
|
|
338
|
-
"gap-12":
|
|
339
|
-
"gap-13":
|
|
340
|
-
"gap-14":
|
|
341
|
-
"gap-15":
|
|
342
|
-
"gap-16":
|
|
326
|
+
"gap-0": s === "0",
|
|
327
|
+
"gap-1": s === "1",
|
|
328
|
+
"gap-2": s === "2",
|
|
329
|
+
"gap-3": s === "3",
|
|
330
|
+
"gap-4": s === "4",
|
|
331
|
+
"gap-5": s === "5",
|
|
332
|
+
"gap-6": s === "6",
|
|
333
|
+
"gap-7": s === "7",
|
|
334
|
+
"gap-8": s === "8",
|
|
335
|
+
"gap-9": s === "9",
|
|
336
|
+
"gap-10": s === "10",
|
|
337
|
+
"gap-11": s === "11",
|
|
338
|
+
"gap-12": s === "12",
|
|
339
|
+
"gap-13": s === "13",
|
|
340
|
+
"gap-14": s === "14",
|
|
341
|
+
"gap-15": s === "15",
|
|
342
|
+
"gap-16": s === "16"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"gap-x-0": x === "0",
|
|
@@ -385,26 +385,26 @@ const y = ({ children: c, className: t, direction: s = "col", ...r }) => {
|
|
|
385
385
|
...b
|
|
386
386
|
}
|
|
387
387
|
)
|
|
388
|
-
), i = Object.assign(
|
|
389
|
-
({ className: c, as: t = "div", cols:
|
|
388
|
+
), i = Object.assign(N, { Item: j }), k = ({ children: c, className: t, ...n }) => /* @__PURE__ */ u.jsx(y, { as: "footer", className: m("bottom-0 mt-auto pb-2", t), justify: "between", ...n, children: c }), R = g.forwardRef(
|
|
389
|
+
({ className: c, as: t = "div", cols: n, rows: r, gap: e, gapX: o, gapY: l, flow: s, ...x }, a) => /* @__PURE__ */ u.jsx(
|
|
390
390
|
t,
|
|
391
391
|
{
|
|
392
392
|
className: m(
|
|
393
393
|
"grid",
|
|
394
394
|
{
|
|
395
|
-
"grid-cols-1":
|
|
396
|
-
"grid-cols-2":
|
|
397
|
-
"grid-cols-3":
|
|
398
|
-
"grid-cols-4":
|
|
399
|
-
"grid-cols-5":
|
|
400
|
-
"grid-cols-6":
|
|
401
|
-
"grid-cols-7":
|
|
402
|
-
"grid-cols-8":
|
|
403
|
-
"grid-cols-9":
|
|
404
|
-
"grid-cols-10":
|
|
405
|
-
"grid-cols-11":
|
|
406
|
-
"grid-cols-12":
|
|
407
|
-
"grid-cols-none":
|
|
395
|
+
"grid-cols-1": n === "1",
|
|
396
|
+
"grid-cols-2": n === "2",
|
|
397
|
+
"grid-cols-3": n === "3",
|
|
398
|
+
"grid-cols-4": n === "4",
|
|
399
|
+
"grid-cols-5": n === "5",
|
|
400
|
+
"grid-cols-6": n === "6",
|
|
401
|
+
"grid-cols-7": n === "7",
|
|
402
|
+
"grid-cols-8": n === "8",
|
|
403
|
+
"grid-cols-9": n === "9",
|
|
404
|
+
"grid-cols-10": n === "10",
|
|
405
|
+
"grid-cols-11": n === "11",
|
|
406
|
+
"grid-cols-12": n === "12",
|
|
407
|
+
"grid-cols-none": n === "none"
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
"grid-rows-1": r === "1",
|
|
@@ -492,11 +492,11 @@ const y = ({ children: c, className: t, direction: s = "col", ...r }) => {
|
|
|
492
492
|
"gap-y-16": l === "16"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"grid-flow-row":
|
|
496
|
-
"grid-flow-col":
|
|
497
|
-
"grid-flow-dense":
|
|
498
|
-
"grid-flow-row-dense":
|
|
499
|
-
"grid-flow-col-dense":
|
|
495
|
+
"grid-flow-row": s === "row",
|
|
496
|
+
"grid-flow-col": s === "col",
|
|
497
|
+
"grid-flow-dense": s === "dense",
|
|
498
|
+
"grid-flow-row-dense": s === "row-dense",
|
|
499
|
+
"grid-flow-col-dense": s === "col-dense"
|
|
500
500
|
},
|
|
501
501
|
c
|
|
502
502
|
),
|
|
@@ -506,16 +506,25 @@ const y = ({ children: c, className: t, direction: s = "col", ...r }) => {
|
|
|
506
506
|
)
|
|
507
507
|
);
|
|
508
508
|
R.displayName = "Grid";
|
|
509
|
-
const
|
|
510
|
-
const e = m("flex-1 grow",
|
|
511
|
-
return
|
|
512
|
-
},
|
|
509
|
+
const C = ({ children: c, sticky: t = !1, className: n, ...r }) => /* @__PURE__ */ u.jsx(y, { as: "header", className: m("top-0 ", t && "z-50 sticky", n), justify: "between", ...r, children: c }), F = ({ children: c, className: t, withContainer: n = !1, ...r }) => {
|
|
510
|
+
const e = m("flex-1 grow", t);
|
|
511
|
+
return n ? /* @__PURE__ */ u.jsx(y, { as: "main", className: e, display: "block", ...r, children: c }) : /* @__PURE__ */ u.jsx(i.Item, { as: "main", className: e, ...r, children: c });
|
|
512
|
+
}, B = g.forwardRef(({ children: c, className: t, ...n }, r) => /* @__PURE__ */ u.jsx(
|
|
513
|
+
i,
|
|
514
|
+
{
|
|
515
|
+
className: m("mx-auto w-full max-w-screen-xl h-screen flex-1", t),
|
|
516
|
+
direction: "col",
|
|
517
|
+
ref: r,
|
|
518
|
+
...n,
|
|
519
|
+
children: c
|
|
520
|
+
}
|
|
521
|
+
)), H = Object.assign(B, { Header: C, Body: F, Footer: k });
|
|
513
522
|
export {
|
|
514
523
|
w as B,
|
|
515
524
|
y as C,
|
|
516
525
|
i as F,
|
|
517
526
|
R as G,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
527
|
+
C as H,
|
|
528
|
+
H as L,
|
|
529
|
+
k as a
|
|
521
530
|
};
|
package/dist/PageNotFound.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime.js";
|
|
2
2
|
import { c, B as l } from "./calendar.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { F as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { c as x } from "./index2.js";
|
|
4
|
+
import { F as r } from "./Layout2.js";
|
|
5
|
+
import { H as d } from "./Heading.js";
|
|
6
|
+
import { c as m } from "./index2.js";
|
|
8
7
|
/**
|
|
9
8
|
* @license lucide-react v0.525.0 - ISC
|
|
10
9
|
*
|
|
@@ -15,25 +14,25 @@ const u = [
|
|
|
15
14
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
16
15
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
17
16
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
18
|
-
],
|
|
17
|
+
], x = c("circle-x", u);
|
|
19
18
|
/**
|
|
20
19
|
* @license lucide-react v0.525.0 - ISC
|
|
21
20
|
*
|
|
22
21
|
* This source code is licensed under the ISC license.
|
|
23
22
|
* See the LICENSE file in the root directory of this source tree.
|
|
24
23
|
*/
|
|
25
|
-
const
|
|
24
|
+
const h = [
|
|
26
25
|
["path", { d: "M12 17h.01", key: "p32p05" }],
|
|
27
26
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z", key: "1mlx9k" }],
|
|
28
27
|
["path", { d: "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3", key: "mhlwft" }]
|
|
29
|
-
],
|
|
28
|
+
], p = c("file-question-mark", h);
|
|
30
29
|
/**
|
|
31
30
|
* @license lucide-react v0.525.0 - ISC
|
|
32
31
|
*
|
|
33
32
|
* This source code is licensed under the ISC license.
|
|
34
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
35
34
|
*/
|
|
36
|
-
const
|
|
35
|
+
const f = [
|
|
37
36
|
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
38
37
|
[
|
|
39
38
|
"path",
|
|
@@ -42,66 +41,46 @@ const y = [
|
|
|
42
41
|
key: "1d0kgt"
|
|
43
42
|
}
|
|
44
43
|
]
|
|
45
|
-
],
|
|
46
|
-
/**
|
|
47
|
-
* @license lucide-react v0.525.0 - ISC
|
|
48
|
-
*
|
|
49
|
-
* This source code is licensed under the ISC license.
|
|
50
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/
|
|
52
|
-
const w = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], g = c("loader-circle", w);
|
|
44
|
+
], j = c("house", f);
|
|
53
45
|
/**
|
|
54
46
|
* @license lucide-react v0.525.0 - ISC
|
|
55
47
|
*
|
|
56
48
|
* This source code is licensed under the ISC license.
|
|
57
49
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
50
|
*/
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
], v = c("rotate-ccw", N), a = ({ variant: n, iconComponent: t, message: r, children: i }) => {
|
|
63
|
-
if (!t && !r && !i)
|
|
64
|
-
return /* @__PURE__ */ e.jsx(o, { align: "center", className: "h-full w-full", justify: "center", children: "Content missing" });
|
|
51
|
+
const y = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], k = c("loader-circle", y), i = ({ variant: n, iconComponent: t, message: o, children: a }) => {
|
|
52
|
+
if (!t && !o && !a)
|
|
53
|
+
return /* @__PURE__ */ e.jsx(r, { align: "center", className: "h-full w-full", justify: "center", children: "Content missing" });
|
|
65
54
|
const s = t || null;
|
|
66
|
-
return /* @__PURE__ */ e.jsx(
|
|
67
|
-
s && /* @__PURE__ */ e.jsx(
|
|
55
|
+
return /* @__PURE__ */ e.jsx(r, { align: "center", className: "h-full w-full", justify: "center", children: /* @__PURE__ */ e.jsxs(r, { direction: "col", justify: "center", children: [
|
|
56
|
+
s && /* @__PURE__ */ e.jsx(r, { align: "center", className: "my-6", gapX: "4", justify: "center", children: /* @__PURE__ */ e.jsx(
|
|
68
57
|
s,
|
|
69
58
|
{
|
|
70
|
-
"aria-hidden": !!
|
|
71
|
-
"aria-label":
|
|
72
|
-
className:
|
|
59
|
+
"aria-hidden": !!o,
|
|
60
|
+
"aria-label": o ? void 0 : `${n || "info"} icon`,
|
|
61
|
+
className: m(
|
|
73
62
|
n === "error" && "text-destructive",
|
|
74
63
|
n === "success" && "text-success",
|
|
75
64
|
n === "warning" && "text-warning",
|
|
76
65
|
n === "info" && "text-info"
|
|
77
66
|
),
|
|
78
67
|
"data-testid": "icon",
|
|
79
|
-
role:
|
|
68
|
+
role: o ? void 0 : "img",
|
|
80
69
|
size: 128
|
|
81
70
|
}
|
|
82
71
|
) }),
|
|
83
|
-
/* @__PURE__ */ e.jsxs(
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
/* @__PURE__ */ e.jsxs(r, { className: "max-w-[500px]", direction: "col", justify: "center", children: [
|
|
73
|
+
o ? /* @__PURE__ */ e.jsx(d, { align: "center", level: "4", weight: "normal", children: o }) : null,
|
|
74
|
+
a
|
|
86
75
|
] })
|
|
87
76
|
] }) });
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
console.warn("Page reload prevented in test environment");
|
|
93
|
-
}
|
|
94
|
-
}, E = ({ error: n, onRetry: t = _ }) => /* @__PURE__ */ e.jsx(C, { children: /* @__PURE__ */ e.jsxs(o, { align: "center", className: "mt-8", direction: "col", children: [
|
|
95
|
-
/* @__PURE__ */ e.jsx(d, { className: "mb-8 p-4", variant: "muted", width: "full", children: /* @__PURE__ */ e.jsx(m, { align: "center", size: "xs", variant: "inherit", children: n.message || "Unknown error occurred" }) }),
|
|
96
|
-
/* @__PURE__ */ e.jsx(l, { icon: /* @__PURE__ */ e.jsx(v, {}), onClick: t, variant: "primary", children: "Reload" })
|
|
97
|
-
] }) }), M = () => /* @__PURE__ */ e.jsx(g, { className: "animate-spin text-info", "data-testid": "icon", size: 64 }), L = ({ iconComponent: n, message: t }) => {
|
|
98
|
-
const r = n || M;
|
|
99
|
-
return /* @__PURE__ */ e.jsx(a, { iconComponent: r, message: t });
|
|
100
|
-
}, P = ({ goHome: n, message: t = "404: Not found" }) => /* @__PURE__ */ e.jsx(a, { iconComponent: j, message: t, variant: "warning", children: /* @__PURE__ */ e.jsx(o, { align: "center", className: "mt-8", direction: "col", children: n && /* @__PURE__ */ e.jsx(l, { icon: /* @__PURE__ */ e.jsx(k, {}), onClick: n, variant: "primary", children: "Home" }) }) });
|
|
77
|
+
}, M = ({ message: n = "Something went wrong.", children: t }) => /* @__PURE__ */ e.jsx(i, { iconComponent: x, message: n, variant: "error", children: t }), g = () => /* @__PURE__ */ e.jsx(k, { className: "animate-spin text-info", "data-testid": "icon", size: 64 }), I = ({ iconComponent: n, message: t }) => {
|
|
78
|
+
const o = n || g;
|
|
79
|
+
return /* @__PURE__ */ e.jsx(i, { iconComponent: o, message: t });
|
|
80
|
+
}, H = ({ goHome: n, message: t = "404: Not found" }) => /* @__PURE__ */ e.jsx(i, { iconComponent: p, message: t, variant: "warning", children: /* @__PURE__ */ e.jsx(r, { align: "center", className: "mt-8", direction: "col", children: n && /* @__PURE__ */ e.jsx(l, { icon: /* @__PURE__ */ e.jsx(j, {}), onClick: n, variant: "primary", children: "Home" }) }) });
|
|
101
81
|
export {
|
|
102
|
-
E,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
P as b
|
|
82
|
+
M as E,
|
|
83
|
+
i as I,
|
|
84
|
+
I as P,
|
|
85
|
+
H as a
|
|
107
86
|
};
|