fiboui 2.7.0 → 2.7.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/{client-CGjHCx8F.js → client-Bydlscpe.js} +1713 -1637
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{icons-GEqYd2M9.js → icons-B9HMYLtE.js} +9 -9
- package/dist/{index-Db8lVjta.js → index-B7eVMy2M.js} +1 -1
- package/dist/index-C9I92HPE.js +140 -0
- package/dist/{index-7bieEGAP.js → index-CXQSA8WJ.js} +21 -21
- package/dist/{index-C4qvvr03.js → index-D4JzwKSP.js} +17 -17
- package/dist/{index-D-ljLuf8.js → index-DBeyafKI.js} +1 -1
- package/dist/index.js +10 -10
- package/dist/interactive.js +2 -2
- package/dist/layout.js +3 -3
- package/dist/{metadata-3YYH1uiS.js → metadata-BbFwNwNa.js} +11 -11
- package/dist/navigation.js +2 -2
- package/dist/{page-CYqQOLXe.js → page-BJoj7vSk.js} +15 -15
- package/dist/server.js +774 -781
- package/dist/structure.js +2 -2
- package/dist/theme.js +1 -1
- package/package.json +1 -1
- package/dist/index-DVApKYWt.js +0 -217
package/dist/content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as s, B as r, I as o } from "./icons-
|
|
2
|
-
import { a9 as n, a8 as I } from "./client-
|
|
3
|
-
import { A as m, I as p, L as x, P as A, a as f, S as l } from "./index-
|
|
1
|
+
import { A as s, B as r, I as o } from "./icons-B9HMYLtE.js";
|
|
2
|
+
import { a9 as n, a8 as I } from "./client-Bydlscpe.js";
|
|
3
|
+
import { A as m, I as p, L as x, P as A, a as f, S as l } from "./index-CXQSA8WJ.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Alert,
|
|
6
6
|
s as Avatar,
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, E as t, N as r, a0 as i, Z as o, _ as n, U as l, F as u, I as c, M as S, T as p, O as g, h as b, w as T, P as v, R as E, x as d, y as C, S as R, a2 as F, l as I, k as f, c as m, b as y, a as O, Y as P, Q as x, W as M, g as N, V as _, X as w, K as A, L as B, i as L, $ as V, J as h, o as q, H as z, r as G, z as K, s as W, G as X, A as j, D as k, B as D, a1 as H, f as J, q as Q, e as U, t as Y, j as Z, d as $, v as ss, u as as, n as es, p as ts, m as rs } from "./client-
|
|
2
|
-
import { L as os, c as ns, b as ls, a as us, e as cs, l as Ss, p as ps, w as gs } from "./page-
|
|
1
|
+
import { C as e, E as t, N as r, a0 as i, Z as o, _ as n, U as l, F as u, I as c, M as S, T as p, O as g, h as b, w as T, P as v, R as E, x as d, y as C, S as R, a2 as F, l as I, k as f, c as m, b as y, a as O, Y as P, Q as x, W as M, g as N, V as _, X as w, K as A, L as B, i as L, $ as V, J as h, o as q, H as z, r as G, z as K, s as W, G as X, A as j, D as k, B as D, a1 as H, f as J, q as Q, e as U, t as Y, j as Z, d as $, v as ss, u as as, n as es, p as ts, m as rs } from "./client-Bydlscpe.js";
|
|
2
|
+
import { L as os, c as ns, b as ls, a as us, e as cs, l as Ss, p as ps, w as gs } from "./page-BJoj7vSk.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ComputedSignal,
|
|
5
5
|
t as Easing,
|
|
@@ -2,14 +2,14 @@ var L = Object.defineProperty;
|
|
|
2
2
|
var R = (t, r, e) => r in t ? L(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var i = (t, r, e) => R(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import h from "react";
|
|
5
|
-
import { aT as C, aU as E, au as y,
|
|
5
|
+
import { aT as C, aU as E, au as y, a$ as I, a3 as j, a8 as H, aW as W, aZ as M, aX as D } from "./client-Bydlscpe.js";
|
|
6
6
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
7
|
-
function
|
|
7
|
+
function $(t) {
|
|
8
8
|
if (typeof t != "string") return "";
|
|
9
9
|
const r = t.trim();
|
|
10
10
|
return !r || I(r) ? "" : r;
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const V = ({ size: t }) => h.createElement(
|
|
13
13
|
"svg",
|
|
14
14
|
{
|
|
15
15
|
width: t,
|
|
@@ -25,7 +25,7 @@ const $ = ({ size: t }) => h.createElement(
|
|
|
25
25
|
fill: "#6a6a6a"
|
|
26
26
|
})
|
|
27
27
|
), U = h.memo((t) => {
|
|
28
|
-
const { image: r, size: e, border: u, shape: g, status: d, initials: b, icon: p, alt: x, className: n, style: o, ...l } = t, c =
|
|
28
|
+
const { image: r, size: e, border: u, shape: g, status: d, initials: b, icon: p, alt: x, className: n, style: o, ...l } = t, c = $(r), _ = typeof e == "number" ? `${e}px` : e, a = typeof e == "number" ? e : 40, F = {
|
|
29
29
|
circle: "50%",
|
|
30
30
|
rounded: "24%",
|
|
31
31
|
square: "0"
|
|
@@ -46,7 +46,7 @@ const $ = ({ size: t }) => h.createElement(
|
|
|
46
46
|
borderRadius: "50%",
|
|
47
47
|
border: "3px solid #ffffff",
|
|
48
48
|
boxSizing: "content-box"
|
|
49
|
-
}).build() : null, f = typeof b == "string" ? b.trim().slice(0, 2).toUpperCase() : "", w = c ? null : f || (p === "user" ? h.createElement(
|
|
49
|
+
}).build() : null, f = typeof b == "string" ? b.trim().slice(0, 2).toUpperCase() : "", w = c ? null : f || (p === "user" ? h.createElement(V, { size: _ }) : p || null), N = typeof x == "string" && x.trim() || f || "Avatar", A = y().style({
|
|
50
50
|
width: "100%",
|
|
51
51
|
height: "100%",
|
|
52
52
|
borderRadius: F[g],
|
|
@@ -265,7 +265,7 @@ const X = {
|
|
|
265
265
|
circle: "50%",
|
|
266
266
|
rounded: "8px",
|
|
267
267
|
square: "0px"
|
|
268
|
-
},
|
|
268
|
+
}, Z = h.memo((t) => {
|
|
269
269
|
const {
|
|
270
270
|
src: r,
|
|
271
271
|
alt: e,
|
|
@@ -291,7 +291,7 @@ const X = {
|
|
|
291
291
|
style: l
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
|
-
class
|
|
294
|
+
class K extends E {
|
|
295
295
|
constructor(e = "") {
|
|
296
296
|
super();
|
|
297
297
|
i(this, "_src", "");
|
|
@@ -345,10 +345,10 @@ class Q extends E {
|
|
|
345
345
|
className: u,
|
|
346
346
|
style: g
|
|
347
347
|
};
|
|
348
|
-
return h.createElement(
|
|
348
|
+
return h.createElement(Z, d);
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
const se = C(
|
|
351
|
+
const se = C(K), m = { "aria-hidden": !0, focusable: "false" }, oe = {
|
|
352
352
|
Heart: /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...m, children: /* @__PURE__ */ s("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }),
|
|
353
353
|
Eth: /* @__PURE__ */ s("svg", { width: "14", height: "24", viewBox: "0 0 32 32", fill: "currentColor", ...m, children: /* @__PURE__ */ s("path", { d: "M15.925 23.96l-9.815-5.8 9.815 13.84 9.825-13.84-9.825 5.8zm0-23.96l-9.815 16.275 9.815 5.675 9.825-5.675-9.825-16.275zm0 20.3l-8.915-5.265 8.915-12.42 8.925 12.42-8.925 5.265z" }) }),
|
|
354
354
|
Verify: /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "#3B82F6", stroke: "none", role: "img", "aria-label": "Verified", "aria-hidden": !1, focusable: "false", children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }) }),
|
|
@@ -2,7 +2,7 @@ var w = Object.defineProperty;
|
|
|
2
2
|
var S = (s, e, t) => e in s ? w(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var n = (s, e, t) => S(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import m from "react";
|
|
5
|
-
import { aT as g, aU as d,
|
|
5
|
+
import { aT as g, aU as d, aX as N, aW as _, aZ as j } from "./client-Bydlscpe.js";
|
|
6
6
|
function C(s, e) {
|
|
7
7
|
if (!(typeof e != "string" || !_(e)))
|
|
8
8
|
for (const t of j(e))
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
var _ = Object.defineProperty;
|
|
2
|
+
var u = (s, e, t) => e in s ? _(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var i = (s, e, t) => u(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import c from "react";
|
|
5
|
+
import { aT as m, aU as f, aV as n, aW as o, aX as a, aY as d, aZ as y } from "./client-Bydlscpe.js";
|
|
6
|
+
function p(s, e) {
|
|
7
|
+
if (!(typeof e != "string" || !o(e)))
|
|
8
|
+
for (const t of y(e))
|
|
9
|
+
s.bindSignal(t);
|
|
10
|
+
}
|
|
11
|
+
function h(s, e) {
|
|
12
|
+
if (typeof e == "function") {
|
|
13
|
+
try {
|
|
14
|
+
h(s, e());
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (typeof e == "string") {
|
|
20
|
+
p(s, e);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (Array.isArray(e))
|
|
24
|
+
for (const t of e) h(s, t);
|
|
25
|
+
}
|
|
26
|
+
function x(s) {
|
|
27
|
+
return typeof s == "string" && o(s) ? a(s) : s;
|
|
28
|
+
}
|
|
29
|
+
class T extends f {
|
|
30
|
+
constructor(t = "") {
|
|
31
|
+
super();
|
|
32
|
+
i(this, "_text", "");
|
|
33
|
+
i(this, "_variant", "elevated");
|
|
34
|
+
i(this, "_size", "md");
|
|
35
|
+
i(this, "_onPress");
|
|
36
|
+
i(this, "_onHover");
|
|
37
|
+
i(this, "_disabled", !1);
|
|
38
|
+
i(this, "_icon");
|
|
39
|
+
i(this, "_shape", "default");
|
|
40
|
+
i(this, "_shadow", "none");
|
|
41
|
+
i(this, "_tone", "default");
|
|
42
|
+
i(this, "_motion", "default");
|
|
43
|
+
i(this, "_expand", !1);
|
|
44
|
+
i(this, "_htmlType", "button");
|
|
45
|
+
i(this, "_htmlTypeExplicit", !1);
|
|
46
|
+
this.text(t);
|
|
47
|
+
}
|
|
48
|
+
text(t) {
|
|
49
|
+
return this._text = t, typeof t == "function" ? this.observer() : p(this, t), this;
|
|
50
|
+
}
|
|
51
|
+
children(t) {
|
|
52
|
+
return h(this, t), super.children(t);
|
|
53
|
+
}
|
|
54
|
+
variant(t) {
|
|
55
|
+
return this._variant = t, this;
|
|
56
|
+
}
|
|
57
|
+
clean() {
|
|
58
|
+
return this._variant = "raw", this;
|
|
59
|
+
}
|
|
60
|
+
size(t) {
|
|
61
|
+
return this._size = t, this;
|
|
62
|
+
}
|
|
63
|
+
onPress(t) {
|
|
64
|
+
return this._onPress = t, this;
|
|
65
|
+
}
|
|
66
|
+
onHover(t) {
|
|
67
|
+
return this._onHover = t, this;
|
|
68
|
+
}
|
|
69
|
+
disabled(t = !0) {
|
|
70
|
+
return this._disabled = t, this;
|
|
71
|
+
}
|
|
72
|
+
icon(t) {
|
|
73
|
+
return this._icon = t, this;
|
|
74
|
+
}
|
|
75
|
+
shape(t) {
|
|
76
|
+
return this._shape = t, this;
|
|
77
|
+
}
|
|
78
|
+
shadow(t) {
|
|
79
|
+
return this._shadow = t, this;
|
|
80
|
+
}
|
|
81
|
+
tone(t) {
|
|
82
|
+
return this._tone = t, this;
|
|
83
|
+
}
|
|
84
|
+
motion(t) {
|
|
85
|
+
return this._motion = t, this;
|
|
86
|
+
}
|
|
87
|
+
expand(t = !0) {
|
|
88
|
+
return this._expand = t, this;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* HTML button type. `.type('submit')` is what people write inside a Form.
|
|
92
|
+
* React still reads `element.type` as the component: a string sets this,
|
|
93
|
+
* a props object renders the button.
|
|
94
|
+
*/
|
|
95
|
+
type(t) {
|
|
96
|
+
return this._htmlType = n(t), this._htmlTypeExplicit = !0, this;
|
|
97
|
+
}
|
|
98
|
+
htmlType(t) {
|
|
99
|
+
return this._htmlType = n(t), this._htmlTypeExplicit = !0, this;
|
|
100
|
+
}
|
|
101
|
+
/** Shortcut for `.htmlType('submit')` inside a `Form`. */
|
|
102
|
+
submit() {
|
|
103
|
+
return this._htmlType = "submit", this._htmlTypeExplicit = !0, this;
|
|
104
|
+
}
|
|
105
|
+
/** Shortcut for `.htmlType('reset')`. */
|
|
106
|
+
reset() {
|
|
107
|
+
return this._htmlType = "reset", this._htmlTypeExplicit = !0, this;
|
|
108
|
+
}
|
|
109
|
+
resolvedHtmlType() {
|
|
110
|
+
var t;
|
|
111
|
+
return this._htmlTypeExplicit ? n(this._htmlType) : n(((t = this._props) == null ? void 0 : t.type) ?? this._htmlType);
|
|
112
|
+
}
|
|
113
|
+
build() {
|
|
114
|
+
const t = this.getClassName(), r = typeof this._text == "function" ? this._text() : this._text, l = {
|
|
115
|
+
text: typeof r == "string" && o(r) ? a(r) : r,
|
|
116
|
+
variant: this._variant,
|
|
117
|
+
size: this._size,
|
|
118
|
+
onPress: this._onPress,
|
|
119
|
+
onHover: this._onHover,
|
|
120
|
+
disabled: this._disabled,
|
|
121
|
+
icon: this._icon,
|
|
122
|
+
shape: this._shape,
|
|
123
|
+
shadow: this._shadow,
|
|
124
|
+
tone: this._tone,
|
|
125
|
+
motion: this._motion,
|
|
126
|
+
expand: this._expand,
|
|
127
|
+
className: t,
|
|
128
|
+
style: this.getStyle(),
|
|
129
|
+
children: this.processChildren().map(x),
|
|
130
|
+
...this._props,
|
|
131
|
+
type: this.resolvedHtmlType(),
|
|
132
|
+
bare: this.isReset()
|
|
133
|
+
};
|
|
134
|
+
return c.createElement(d, l);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
const H = m(T);
|
|
138
|
+
export {
|
|
139
|
+
H as B
|
|
140
|
+
};
|
|
@@ -2,15 +2,15 @@ var ae = Object.defineProperty;
|
|
|
2
2
|
var ie = (s, r, e) => r in s ? ae(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
|
|
3
3
|
var i = (s, r, e) => ie(s, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import t from "react";
|
|
5
|
-
import { aT as I, aU as $,
|
|
6
|
-
import { a as F } from "./icons-
|
|
5
|
+
import { aT as I, aU as $, aW as z, aZ as R, aX as q, t as le, a$ as Q, ba as oe } from "./client-Bydlscpe.js";
|
|
6
|
+
import { a as F } from "./icons-B9HMYLtE.js";
|
|
7
7
|
function ce(s, r) {
|
|
8
8
|
if (!(typeof r != "string" || !z(r)))
|
|
9
9
|
for (const e of R(r))
|
|
10
10
|
s.bindSignal(e);
|
|
11
11
|
}
|
|
12
12
|
function de(s) {
|
|
13
|
-
return typeof s != "string" ? s : z(s) ?
|
|
13
|
+
return typeof s != "string" ? s : z(s) ? q(s) : s;
|
|
14
14
|
}
|
|
15
15
|
const ue = t.memo((s) => {
|
|
16
16
|
const { text: r, htmlFor: e, required: l, className: o, style: n, ...c } = s, v = [
|
|
@@ -61,7 +61,7 @@ class me extends $ {
|
|
|
61
61
|
return t.createElement(ue, e);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const qe = I(me), he = `@media (prefers-reduced-motion: reduce) {
|
|
65
65
|
.fibo-spinner,
|
|
66
66
|
.fibo-spinner * {
|
|
67
67
|
animation: none !important;
|
|
@@ -212,7 +212,7 @@ class be extends $ {
|
|
|
212
212
|
return t.createElement(ge, e);
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const Ue = I(be), ye = `@keyframes fibo-skeleton-pulse {
|
|
216
216
|
50% { opacity: 0.5; }
|
|
217
217
|
}
|
|
218
218
|
.loading-skeleton {
|
|
@@ -297,14 +297,14 @@ class ke extends $ {
|
|
|
297
297
|
return t.createElement(Ee, u);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
const
|
|
300
|
+
const Ve = I(ke);
|
|
301
301
|
function H(s, r) {
|
|
302
302
|
if (!(typeof r != "string" || !z(r)))
|
|
303
303
|
for (const e of R(r))
|
|
304
304
|
s.bindSignal(e);
|
|
305
305
|
}
|
|
306
306
|
function X(s) {
|
|
307
|
-
return typeof s != "string" ? s : z(s) ?
|
|
307
|
+
return typeof s != "string" ? s : z(s) ? q(s) : s;
|
|
308
308
|
}
|
|
309
309
|
const _e = {
|
|
310
310
|
info: "bg-blue-500 text-white",
|
|
@@ -448,8 +448,8 @@ function K(s, r) {
|
|
|
448
448
|
for (const e of R(r))
|
|
449
449
|
s.bindSignal(e);
|
|
450
450
|
}
|
|
451
|
-
function
|
|
452
|
-
return typeof s != "string" ? s : z(s) ?
|
|
451
|
+
function Z(s) {
|
|
452
|
+
return typeof s != "string" ? s : z(s) ? q(s) : s;
|
|
453
453
|
}
|
|
454
454
|
const ze = t.memo((s) => {
|
|
455
455
|
const {
|
|
@@ -470,9 +470,9 @@ const ze = t.memo((s) => {
|
|
|
470
470
|
className: w,
|
|
471
471
|
style: N,
|
|
472
472
|
...P
|
|
473
|
-
} = s,
|
|
473
|
+
} = s, U = typeof r == "number" && Number.isFinite(r) ? r : 0, L = typeof e == "number" && Number.isFinite(e) ? e : 100, V = L > 0 ? Math.min(L, Math.max(0, U)) : Math.max(0, U), E = L > 0 ? V / L * 100 : 0, _ = l || "#3B82F6", ee = typeof P["aria-label"] == "string" ? P["aria-label"] : "", C = { ...P, ...{
|
|
474
474
|
role: "progressbar",
|
|
475
|
-
"aria-valuenow":
|
|
475
|
+
"aria-valuenow": V,
|
|
476
476
|
"aria-valuemin": 0,
|
|
477
477
|
"aria-valuemax": L,
|
|
478
478
|
"aria-label": ee || c || "Progress"
|
|
@@ -819,8 +819,8 @@ class Le extends $ {
|
|
|
819
819
|
color: this._color,
|
|
820
820
|
height: this._height,
|
|
821
821
|
variant: this._variant,
|
|
822
|
-
label:
|
|
823
|
-
subLabel:
|
|
822
|
+
label: Z(this._label),
|
|
823
|
+
subLabel: Z(this._subLabel),
|
|
824
824
|
items: this._items,
|
|
825
825
|
size: this._size,
|
|
826
826
|
strokeWidth: this._strokeWidth,
|
|
@@ -841,14 +841,14 @@ function T(s) {
|
|
|
841
841
|
}
|
|
842
842
|
function Be(s) {
|
|
843
843
|
const r = s.trim();
|
|
844
|
-
return !r || T(r) ? !1 :
|
|
844
|
+
return !r || T(r) ? !1 : Q(r) || /^(https?:)?\/\//i.test(r) || r.startsWith("/") || r.startsWith("./") || r.startsWith("../") ? !0 : /^[a-z][a-z0-9+.-]*:/i.test(r);
|
|
845
845
|
}
|
|
846
846
|
function Me(s) {
|
|
847
847
|
if (typeof s != "string") return "";
|
|
848
848
|
const r = s.trim();
|
|
849
|
-
return !r ||
|
|
849
|
+
return !r || Q(r) || !oe(r) ? "" : r;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function J(s, r = {}) {
|
|
852
852
|
const e = s.sandbox ?? r.sandbox;
|
|
853
853
|
return {
|
|
854
854
|
...r,
|
|
@@ -872,7 +872,7 @@ const je = t.memo((s) => {
|
|
|
872
872
|
const c = o == null || Array.isArray(o) && o.length === 0 ? void 0 : o, v = (m) => t.createElement(
|
|
873
873
|
"iframe",
|
|
874
874
|
{
|
|
875
|
-
...
|
|
875
|
+
...J(m !== void 0 ? { ...n, src: m } : n),
|
|
876
876
|
className: e,
|
|
877
877
|
style: l
|
|
878
878
|
},
|
|
@@ -885,7 +885,7 @@ const je = t.memo((s) => {
|
|
|
885
885
|
if (typeof r == "string")
|
|
886
886
|
return null;
|
|
887
887
|
if (t.isValidElement(r)) {
|
|
888
|
-
const m = r, p = m.props || {}, y = [e, p.className].filter(Boolean).join(" ") || void 0, d = { ...p.style, ...l }, u = T(m.type) ? { ...
|
|
888
|
+
const m = r, p = m.props || {}, y = [e, p.className].filter(Boolean).join(" ") || void 0, d = { ...p.style, ...l }, u = T(m.type) ? { ...J(n, p), className: y, style: d } : { ...n, className: y, style: d };
|
|
889
889
|
return c !== void 0 ? t.cloneElement(m, u, c) : t.cloneElement(m, u);
|
|
890
890
|
}
|
|
891
891
|
return typeof r != "function" && !(typeof r == "object" && r !== null && "$$typeof" in r) ? null : t.createElement(
|
|
@@ -937,8 +937,8 @@ const Ge = I(We);
|
|
|
937
937
|
export {
|
|
938
938
|
Oe as A,
|
|
939
939
|
Ge as I,
|
|
940
|
-
|
|
940
|
+
qe as L,
|
|
941
941
|
Ye as P,
|
|
942
|
-
|
|
943
|
-
|
|
942
|
+
Ue as S,
|
|
943
|
+
Ve as a
|
|
944
944
|
};
|
|
@@ -2,16 +2,16 @@ var Ct = Object.defineProperty;
|
|
|
2
2
|
var Et = (e, r, t) => r in e ? Ct(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var n = (e, r, t) => Et(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
import s from "react";
|
|
5
|
-
import { aT as A, aU as T,
|
|
6
|
-
import { S as D, C as F } from "./index-
|
|
7
|
-
import { B as yt } from "./index-
|
|
8
|
-
import { B as Z, I as ot, a as L, A as Tt } from "./icons-
|
|
5
|
+
import { aT as A, aU as T, aW as C, aZ as K, aX as P, a_ as it, a$ as bt, b2 as kt, bf as It, au as B, F as nt, bg as lt, bh as Bt, bi as At, a3 as W, a8 as x } from "./client-Bydlscpe.js";
|
|
6
|
+
import { S as D, C as F } from "./index-B7eVMy2M.js";
|
|
7
|
+
import { B as yt } from "./index-C9I92HPE.js";
|
|
8
|
+
import { B as Z, I as ot, a as L, A as Tt } from "./icons-B9HMYLtE.js";
|
|
9
9
|
function j(e, r) {
|
|
10
10
|
if (!(typeof r != "string" || !C(r)))
|
|
11
11
|
for (const t of K(r))
|
|
12
12
|
e.bindSignal(t);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function X(e) {
|
|
15
15
|
return typeof e != "string" ? e : C(e) ? P(e) : e;
|
|
16
16
|
}
|
|
17
17
|
function z(e, r) {
|
|
@@ -32,8 +32,8 @@ function z(e, r) {
|
|
|
32
32
|
function Pt(e) {
|
|
33
33
|
return typeof e == "string" && C(e) ? P(e) : e;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return e == null || e === !1 ? null : typeof e == "string" ?
|
|
35
|
+
function Y(e) {
|
|
36
|
+
return e == null || e === !1 ? null : typeof e == "string" ? X(e) ?? e : it(e);
|
|
37
37
|
}
|
|
38
38
|
const $t = {
|
|
39
39
|
green: "var(--fibo-success, #22c55e)",
|
|
@@ -77,7 +77,7 @@ const zt = s.memo((e) => {
|
|
|
77
77
|
borderLeftColor: o
|
|
78
78
|
} : {},
|
|
79
79
|
...a
|
|
80
|
-
}, v =
|
|
80
|
+
}, v = Y(f), E = Y(g);
|
|
81
81
|
return s.createElement(
|
|
82
82
|
jt(S),
|
|
83
83
|
{
|
|
@@ -177,11 +177,11 @@ class Gt extends T {
|
|
|
177
177
|
as: S,
|
|
178
178
|
...p
|
|
179
179
|
} = this._props, h = [...this._classNames, i].filter(Boolean).join(" "), u = {
|
|
180
|
-
text:
|
|
181
|
-
subtitle:
|
|
182
|
-
number:
|
|
183
|
-
header:
|
|
184
|
-
footer:
|
|
180
|
+
text: X(o ?? l ?? this._text),
|
|
181
|
+
subtitle: X(a ?? this._subtitle),
|
|
182
|
+
number: X(c ?? this._number),
|
|
183
|
+
header: Y(this._header ?? f),
|
|
184
|
+
footer: Y(this._footer ?? g),
|
|
185
185
|
as: this._as ?? S,
|
|
186
186
|
accentColor: t,
|
|
187
187
|
style: this.getStyle(),
|
|
@@ -458,7 +458,7 @@ function Ut(e, r) {
|
|
|
458
458
|
function ht(e, r) {
|
|
459
459
|
return !e || e.index !== r ? { index: r, dir: "ascending" } : { index: r, dir: e.dir === "ascending" ? "descending" : "ascending" };
|
|
460
460
|
}
|
|
461
|
-
const
|
|
461
|
+
const Xt = s.memo((e) => {
|
|
462
462
|
const {
|
|
463
463
|
data: r,
|
|
464
464
|
columns: t,
|
|
@@ -556,7 +556,7 @@ const Yt = s.memo((e) => {
|
|
|
556
556
|
])
|
|
557
557
|
).build();
|
|
558
558
|
});
|
|
559
|
-
class
|
|
559
|
+
class Yt extends T {
|
|
560
560
|
constructor() {
|
|
561
561
|
super(...arguments);
|
|
562
562
|
n(this, "_data", []);
|
|
@@ -606,10 +606,10 @@ class Xt extends T {
|
|
|
606
606
|
style: this.getStyle(),
|
|
607
607
|
...this._props
|
|
608
608
|
};
|
|
609
|
-
return s.createElement(
|
|
609
|
+
return s.createElement(Xt, t);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
const ze = A(
|
|
612
|
+
const ze = A(Yt);
|
|
613
613
|
function ft(e, r) {
|
|
614
614
|
if (!(typeof r != "string" || !C(r)))
|
|
615
615
|
for (const t of K(r))
|
|
@@ -2,7 +2,7 @@ var tt = Object.defineProperty;
|
|
|
2
2
|
var it = (e, i, t) => i in e ? tt(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
|
|
3
3
|
var h = (e, i, t) => it(e, typeof i != "symbol" ? i + "" : i, t);
|
|
4
4
|
import d from "react";
|
|
5
|
-
import { aT as v, aU as T,
|
|
5
|
+
import { aT as v, aU as T, aX as C, aW as g, aZ as $, bb as w, bc as O, bd as S, be as et, a_ as nt } from "./client-Bydlscpe.js";
|
|
6
6
|
function rt(e, i) {
|
|
7
7
|
if (!(typeof i != "string" || !g(i)))
|
|
8
8
|
for (const t of $(i))
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var re = Object.defineProperty;
|
|
2
2
|
var se = (r, e, t) => e in r ? re(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var c = (r, e, t) => se(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import {
|
|
5
|
-
import { au as Cn,
|
|
6
|
-
import { L as hl, c as fl, b as dl, a as ml, e as pl, l as gl, p as _l, w as yl } from "./page-
|
|
7
|
-
import { C as Sl, a as vl, H as kl, L as Cl, b as wl, S as El, Z as Nl } from "./index-
|
|
8
|
-
import { C as Tl, S as Bl } from "./index-
|
|
4
|
+
import { ba as ie, z as ne, aT as g, aU as _, aX as O, aW as T, aZ as D, bj as ae, a$ as P, a_ as k, bk as it, bl as Mt, bb as It, bh as Ot, b2 as oe, bm as le } from "./client-Bydlscpe.js";
|
|
5
|
+
import { au as Cn, bQ as wn, bU as En, ap as Nn, bX as xn, aw as Tn, bB as Bn, at as $n, C as Ln, bJ as Pn, a6 as Rn, bz as An, bM as Fn, aE as Mn, aD as In, E as On, bq as Dn, N as jn, bo as Hn, aL as Wn, a0 as Vn, Z as Gn, _ as zn, U as Un, aF as Xn, F as Kn, ab as Yn, I as qn, a9 as Zn, by as Qn, bv as Jn, bu as ta, av as ea, M as ra, bI as sa, T as ia, bx as na, O as aa, h as oa, bt as la, bO as ca, bT as ua, bS as ha, bs as fa, bw as da, w as ma, P as pa, aq as ga, bZ as _a, bF as ya, R as ba, x as Sa, ax as va, a3 as ka, a4 as Ca, y as wa, bH as Ea, bV as Na, bD as xa, bC as Ta, as as Ba, bP as $a, bR as La, bN as Pa, a5 as Ra, S as Aa, bE as Fa, bG as Ma, ao as Ia, bY as Oa, a8 as Da, aa as ja, ar as Ha, bA as Wa, bK as Va, a2 as Ga, a7 as za, bL as Ua, bW as Xa, l as Ka, k as Ya, c as qa, aN as Za, b as Qa, a as Ja, aI as to, ag as eo, Y as ro, Q as so, bp as io, an as no, aO as ao, ac as oo, W as lo, g as co, V as uo, X as ho, am as fo, K as mo, L as po, i as go, aH as _o, aj as yo, af as bo, ai as So, ae as vo, $ as ko, aK as Co, J as wo, bn as Eo, o as No, ah as xo, ad as To, H as Bo, aM as $o, ak as Lo, r as Po, s as Ro, G as Ao, A as Fo, D as Mo, B as Io, aS as Oo, aR as Do, aP as jo, aQ as Ho, a1 as Wo, bi as Vo, al as Go, f as zo, aG as Uo, aB as Xo, q as Ko, az as Yo, e as qo, aA as Zo, t as Qo, j as Jo, aC as tl, d as el, ay as rl, v as sl, u as il, n as nl, p as al, m as ol, br as ll, aJ as cl } from "./client-Bydlscpe.js";
|
|
6
|
+
import { L as hl, c as fl, b as dl, a as ml, e as pl, l as gl, p as _l, w as yl } from "./page-BJoj7vSk.js";
|
|
7
|
+
import { C as Sl, a as vl, H as kl, L as Cl, b as wl, S as El, Z as Nl } from "./index-DBeyafKI.js";
|
|
8
|
+
import { C as Tl, S as Bl } from "./index-B7eVMy2M.js";
|
|
9
9
|
import u, { useRef as w, useState as B, useLayoutEffect as W, useEffect as V } from "react";
|
|
10
|
-
import { A as Ll, B as Pl, I as Rl } from "./icons-
|
|
11
|
-
import { A as Fl, I as Ml, L as Il, P as Ol, a as Dl, S as jl } from "./index-
|
|
12
|
-
import { B as Wl } from "./index-
|
|
13
|
-
import { A as Gl, B as zl, C as Ul, c as Xl, d as Kl, G as Yl, b as ql, L as Zl, P as Ql, T as Jl, a as tc } from "./index-
|
|
14
|
-
import { L as rc, N as sc, O as ic, l as nc, p as ac, u as oc } from "./metadata-
|
|
10
|
+
import { A as Ll, B as Pl, I as Rl } from "./icons-B9HMYLtE.js";
|
|
11
|
+
import { A as Fl, I as Ml, L as Il, P as Ol, a as Dl, S as jl } from "./index-CXQSA8WJ.js";
|
|
12
|
+
import { B as Wl } from "./index-C9I92HPE.js";
|
|
13
|
+
import { A as Gl, B as zl, C as Ul, c as Xl, d as Kl, G as Yl, b as ql, L as Zl, P as Ql, T as Jl, a as tc } from "./index-D4JzwKSP.js";
|
|
14
|
+
import { L as rc, N as sc, O as ic, l as nc, p as ac, u as oc } from "./metadata-BbFwNwNa.js";
|
|
15
15
|
function Dt() {
|
|
16
16
|
const r = globalThis.window;
|
|
17
17
|
return typeof r > "u" || r == null ? void 0 : r;
|
package/dist/interactive.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e } from "./index-
|
|
2
|
-
import { ap as r, at as t, ab as m, aq as i, as as l, ao as n, aa as x, ar as u, ag as h, an as p, ac as b, am as c, aj as d, af as f, ai as g, ae as T, ah as q, ad as k, ak as B, al as C } from "./client-
|
|
1
|
+
import { B as e } from "./index-C9I92HPE.js";
|
|
2
|
+
import { ap as r, at as t, ab as m, aq as i, as as l, ao as n, aa as x, ar as u, ag as h, an as p, ac as b, am as c, aj as d, af as f, ai as g, ae as T, ah as q, ad as k, ak as B, al as C } from "./client-Bydlscpe.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Button,
|
|
5
5
|
r as Checkbox,
|
package/dist/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as r, a as s, H as e, L as l, b as t, S, Z as n } from "./index-
|
|
2
|
-
import { C as c, S as f } from "./index-
|
|
3
|
-
import { a6 as m, a3 as d, a4 as p, a5 as u, a7 as b } from "./client-
|
|
1
|
+
import { C as r, a as s, H as e, L as l, b as t, S, Z as n } from "./index-DBeyafKI.js";
|
|
2
|
+
import { C as c, S as f } from "./index-B7eVMy2M.js";
|
|
3
|
+
import { a6 as m, a3 as d, a4 as p, a5 as u, a7 as b } from "./client-Bydlscpe.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Center,
|
|
6
6
|
c as Column,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { b0 as b, a$ as x, b1 as E, b2 as $, b3 as R, b4 as k, b5 as D, b6 as g, b7 as O, b8 as P, b9 as z, aD as A, aE as K } from "./client-Bydlscpe.js";
|
|
3
3
|
import { useState as M, useMemo as N, lazy as S, Suspense as B } from "react";
|
|
4
4
|
function v(e) {
|
|
5
5
|
const t = (typeof e == "string" ? e.trim() : "").split(/[?#]/, 1)[0];
|
|
@@ -16,11 +16,11 @@ function I(e, n) {
|
|
|
16
16
|
const { search: t, hash: r } = H(n), a = R(v(n), e);
|
|
17
17
|
return `${k(e, a)}${t}${r}`;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function j(e, n, t, r = "") {
|
|
20
20
|
const a = R(v(n), r), s = v(e);
|
|
21
21
|
return a === "/" ? s === "/" : D(s, a, t).match;
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const W = ({
|
|
24
24
|
to: e,
|
|
25
25
|
children: n,
|
|
26
26
|
replace: t = !1,
|
|
@@ -33,7 +33,7 @@ const j = ({
|
|
|
33
33
|
rel: h,
|
|
34
34
|
...p
|
|
35
35
|
}) => {
|
|
36
|
-
const l =
|
|
36
|
+
const l = b(), m = x(e), y = !m && E(e), C = m ? void 0 : y ? e.trim() : I((l == null ? void 0 : l.basename) ?? "", e), w = i && String(i).toLowerCase() === "_blank" ? $(h, "noopener noreferrer") : h;
|
|
37
37
|
return /* @__PURE__ */ c(
|
|
38
38
|
"a",
|
|
39
39
|
{
|
|
@@ -45,7 +45,7 @@ const j = ({
|
|
|
45
45
|
u.preventDefault();
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
u.button === 0 && (u.metaKey || u.ctrlKey || u.shiftKey || u.altKey || i && i !== "_self" || o != null && o !== !1 ||
|
|
48
|
+
u.button === 0 && (u.metaKey || u.ctrlKey || u.shiftKey || u.altKey || i && i !== "_self" || o != null && o !== !1 || y || l && (u.preventDefault(), l.navigate(e, { replace: t, state: r })));
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
className: a,
|
|
@@ -66,14 +66,14 @@ const j = ({
|
|
|
66
66
|
exact: f = !1,
|
|
67
67
|
...i
|
|
68
68
|
}) => {
|
|
69
|
-
const o =
|
|
69
|
+
const o = b(), h = !!o && j(
|
|
70
70
|
o.currentPath,
|
|
71
71
|
e,
|
|
72
72
|
f,
|
|
73
73
|
o.basename
|
|
74
74
|
), p = h ? `${t} ${a}`.trim() : t, l = h ? { ...r, ...s } : r;
|
|
75
75
|
return /* @__PURE__ */ c(
|
|
76
|
-
|
|
76
|
+
W,
|
|
77
77
|
{
|
|
78
78
|
to: e,
|
|
79
79
|
className: p,
|
|
@@ -84,7 +84,7 @@ const j = ({
|
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
86
|
}, J = () => {
|
|
87
|
-
const e =
|
|
87
|
+
const e = b(), n = g();
|
|
88
88
|
if (!e || !n || !n.children || n.children.length === 0)
|
|
89
89
|
return null;
|
|
90
90
|
const { route: t } = O(n.children, e.currentPath);
|
|
@@ -93,7 +93,7 @@ const j = ({
|
|
|
93
93
|
const r = t.component;
|
|
94
94
|
return /* @__PURE__ */ c(P.Provider, { value: t, children: /* @__PURE__ */ c(r, {}) });
|
|
95
95
|
}, d = /* @__PURE__ */ new WeakMap();
|
|
96
|
-
function
|
|
96
|
+
function _(e) {
|
|
97
97
|
return e instanceof Error ? e : typeof e == "string" && e.trim() ? new Error(e) : new Error("Failed to load route");
|
|
98
98
|
}
|
|
99
99
|
function L(e) {
|
|
@@ -101,7 +101,7 @@ function L(e) {
|
|
|
101
101
|
return n || (n = e().then(
|
|
102
102
|
(t) => t,
|
|
103
103
|
(t) => {
|
|
104
|
-
throw d.delete(e),
|
|
104
|
+
throw d.delete(e), _(t);
|
|
105
105
|
}
|
|
106
106
|
), d.set(e, n)), n;
|
|
107
107
|
}
|
|
@@ -138,7 +138,7 @@ function X() {
|
|
|
138
138
|
return e == null ? void 0 : e.meta;
|
|
139
139
|
}
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
W as L,
|
|
142
142
|
G as N,
|
|
143
143
|
J as O,
|
|
144
144
|
Q as l,
|
package/dist/navigation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aE as s, aD as u, ax as o, aB as t, az as r, aA as l, aC as L, ay as R } from "./client-
|
|
2
|
-
import { L as i, N as p, O as m, l as n, p as x, u as y } from "./metadata-
|
|
1
|
+
import { aE as s, aD as u, ax as o, aB as t, az as r, aA as l, aC as L, ay as R } from "./client-Bydlscpe.js";
|
|
2
|
+
import { L as i, N as p, O as m, l as n, p as x, u as y } from "./metadata-BbFwNwNa.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DefaultErrorPage,
|
|
5
5
|
u as DefaultLoader,
|