@freedom-code-compliance/fcc-redesign 0.1.2 → 0.1.4
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 +1 -1
- package/dist/index.js +642 -532
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { createContext as e, createElement as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o,
|
|
2
|
-
import { AlertCircle as
|
|
3
|
-
import { jsx as
|
|
1
|
+
import { createContext as e, createElement as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
|
|
2
|
+
import { AlertCircle as u, AlertTriangle as d, Bell as f, Check as p, CheckCheck as m, CheckCircle as h, ChevronDown as g, ChevronRight as _, ChevronUp as v, ChevronsUpDown as y, Clock as b, Filter as x, Info as S, Loader2 as C, LogOut as ee, Minus as w, Moon as te, Search as T, Sun as ne, TrendingDown as E, TrendingUp as D, X as O } from "lucide-react";
|
|
3
|
+
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ui/Toast.jsx
|
|
5
|
-
var
|
|
6
|
-
success: /* @__PURE__ */
|
|
5
|
+
var j = e(null), M = {
|
|
6
|
+
success: /* @__PURE__ */ k(h, {
|
|
7
7
|
size: 16,
|
|
8
8
|
style: { color: "var(--accent-green)" }
|
|
9
9
|
}),
|
|
10
|
-
error: /* @__PURE__ */
|
|
10
|
+
error: /* @__PURE__ */ k(u, {
|
|
11
11
|
size: 16,
|
|
12
12
|
style: { color: "var(--accent-red)" }
|
|
13
13
|
}),
|
|
14
|
-
warning: /* @__PURE__ */
|
|
14
|
+
warning: /* @__PURE__ */ k(d, {
|
|
15
15
|
size: 16,
|
|
16
16
|
style: { color: "var(--accent-yellow)" }
|
|
17
17
|
}),
|
|
18
|
-
info: /* @__PURE__ */
|
|
18
|
+
info: /* @__PURE__ */ k(S, {
|
|
19
19
|
size: 16,
|
|
20
20
|
style: { color: "var(--accent-blue)" }
|
|
21
21
|
})
|
|
22
22
|
};
|
|
23
|
-
function
|
|
23
|
+
function N({ toast: e, onDismiss: t }) {
|
|
24
24
|
return o(() => {
|
|
25
25
|
if (e.duration !== 0) {
|
|
26
26
|
let n = setTimeout(() => t(e.id), e.duration || 4e3);
|
|
@@ -30,34 +30,34 @@ function re({ toast: e, onDismiss: t }) {
|
|
|
30
30
|
e.id,
|
|
31
31
|
e.duration,
|
|
32
32
|
t
|
|
33
|
-
]), /* @__PURE__ */
|
|
33
|
+
]), /* @__PURE__ */ A("div", {
|
|
34
34
|
className: "toast",
|
|
35
35
|
style: { animation: "slideInRight 200ms ease" },
|
|
36
36
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ k("span", {
|
|
38
38
|
className: "toast-icon",
|
|
39
|
-
children:
|
|
39
|
+
children: M[e.type] || M.info
|
|
40
40
|
}),
|
|
41
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ A("div", {
|
|
42
42
|
className: "toast-content",
|
|
43
|
-
children: [e.title && /* @__PURE__ */
|
|
43
|
+
children: [e.title && /* @__PURE__ */ k("div", {
|
|
44
44
|
className: "toast-title",
|
|
45
45
|
children: e.title
|
|
46
|
-
}), /* @__PURE__ */
|
|
46
|
+
}), /* @__PURE__ */ k("div", {
|
|
47
47
|
className: "toast-message",
|
|
48
48
|
children: e.message
|
|
49
49
|
})]
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ k("button", {
|
|
52
52
|
className: "toast-close",
|
|
53
53
|
onClick: () => t(e.id),
|
|
54
|
-
children: /* @__PURE__ */ O
|
|
54
|
+
children: /* @__PURE__ */ k(O, { size: 14 })
|
|
55
55
|
})
|
|
56
56
|
]
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
let [t, n] =
|
|
59
|
+
function P({ children: e }) {
|
|
60
|
+
let [t, n] = l([]), r = i((e) => {
|
|
61
61
|
let t = Date.now() + Math.random();
|
|
62
62
|
n((n) => [...n.slice(-4), {
|
|
63
63
|
id: t,
|
|
@@ -66,35 +66,35 @@ function M({ children: e }) {
|
|
|
66
66
|
}, []), a = i((e) => {
|
|
67
67
|
n((t) => t.filter((t) => t.id !== e));
|
|
68
68
|
}, []);
|
|
69
|
-
return /* @__PURE__ */
|
|
69
|
+
return /* @__PURE__ */ A(j.Provider, {
|
|
70
70
|
value: { addToast: r },
|
|
71
|
-
children: [e, /* @__PURE__ */
|
|
71
|
+
children: [e, /* @__PURE__ */ k("div", {
|
|
72
72
|
className: "toast-container",
|
|
73
|
-
children: t.map((e) => /* @__PURE__ */
|
|
73
|
+
children: t.map((e) => /* @__PURE__ */ k(N, {
|
|
74
74
|
toast: e,
|
|
75
75
|
onDismiss: a
|
|
76
76
|
}, e.id))
|
|
77
77
|
})]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
let e = a(
|
|
80
|
+
function F() {
|
|
81
|
+
let e = a(j);
|
|
82
82
|
if (!e) throw Error("useToast must be used within ToastProvider");
|
|
83
83
|
return e;
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/context/ThemeContext.jsx
|
|
87
|
-
var
|
|
88
|
-
function
|
|
87
|
+
var I = e(void 0), re = "dark", ie = "fcc-theme";
|
|
88
|
+
function ae(e) {
|
|
89
89
|
if (typeof document > "u") return;
|
|
90
90
|
let t = document.documentElement;
|
|
91
91
|
t.classList.remove("dark", "light"), e === "light" && t.classList.add("light");
|
|
92
92
|
}
|
|
93
|
-
function L({ children: e, defaultTheme: t =
|
|
94
|
-
let [r, i] =
|
|
93
|
+
function L({ children: e, defaultTheme: t = re, storageKey: n = ie }) {
|
|
94
|
+
let [r, i] = l(() => typeof window > "u" ? t : window.localStorage.getItem(n) || t);
|
|
95
95
|
return o(() => {
|
|
96
|
-
typeof window < "u" && window.localStorage.setItem(n, r),
|
|
97
|
-
}, [n, r]), /* @__PURE__ */
|
|
96
|
+
typeof window < "u" && window.localStorage.setItem(n, r), ae(r);
|
|
97
|
+
}, [n, r]), /* @__PURE__ */ k(I.Provider, {
|
|
98
98
|
value: {
|
|
99
99
|
theme: r,
|
|
100
100
|
setTheme: i,
|
|
@@ -106,56 +106,56 @@ function L({ children: e, defaultTheme: t = F, storageKey: n = I }) {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
function R() {
|
|
109
|
-
let e = a(
|
|
109
|
+
let e = a(I);
|
|
110
110
|
if (!e) throw Error("useTheme must be used within a ThemeProvider");
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/lib/FCCDesignProvider.jsx
|
|
115
|
-
function
|
|
116
|
-
return /* @__PURE__ */
|
|
115
|
+
function oe({ children: e, ...t }) {
|
|
116
|
+
return /* @__PURE__ */ k(L, {
|
|
117
117
|
...t,
|
|
118
|
-
children: /* @__PURE__ */
|
|
118
|
+
children: /* @__PURE__ */ k(P, { children: e })
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region src/components/layout/FCCBreadcrumbs.jsx
|
|
123
|
-
function
|
|
123
|
+
function se(e, t) {
|
|
124
124
|
let n = [
|
|
125
125
|
"fcc-breadcrumb-item",
|
|
126
126
|
t ? "current" : "",
|
|
127
127
|
e.className || ""
|
|
128
128
|
].filter(Boolean).join(" ");
|
|
129
|
-
return t ? /* @__PURE__ */
|
|
129
|
+
return t ? /* @__PURE__ */ k("span", {
|
|
130
130
|
className: n,
|
|
131
131
|
children: e.label
|
|
132
|
-
}) : e.href ? /* @__PURE__ */
|
|
132
|
+
}) : e.href ? /* @__PURE__ */ k("a", {
|
|
133
133
|
className: n,
|
|
134
134
|
href: e.href,
|
|
135
135
|
children: e.label
|
|
136
|
-
}) : e.onClick ? /* @__PURE__ */
|
|
136
|
+
}) : e.onClick ? /* @__PURE__ */ k("button", {
|
|
137
137
|
type: "button",
|
|
138
138
|
className: n,
|
|
139
139
|
onClick: e.onClick,
|
|
140
140
|
children: e.label
|
|
141
|
-
}) : /* @__PURE__ */
|
|
141
|
+
}) : /* @__PURE__ */ k("span", {
|
|
142
142
|
className: n,
|
|
143
143
|
children: e.label
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
function z({ items: e = [], className: t = "" }) {
|
|
147
147
|
let n = e.filter((e) => e?.label);
|
|
148
|
-
return n.length === 0 ? null : /* @__PURE__ */
|
|
148
|
+
return n.length === 0 ? null : /* @__PURE__ */ k("nav", {
|
|
149
149
|
className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
|
|
150
150
|
"aria-label": "Breadcrumb",
|
|
151
151
|
children: n.map((e, t) => {
|
|
152
152
|
let r = e.current ?? t === n.length - 1;
|
|
153
|
-
return /* @__PURE__ */
|
|
153
|
+
return /* @__PURE__ */ A("div", {
|
|
154
154
|
className: "fcc-breadcrumb-segment",
|
|
155
|
-
children: [t > 0 && /* @__PURE__ */
|
|
155
|
+
children: [t > 0 && /* @__PURE__ */ k("span", {
|
|
156
156
|
className: "fcc-breadcrumb-sep",
|
|
157
157
|
children: "/"
|
|
158
|
-
}),
|
|
158
|
+
}), se(e, r)]
|
|
159
159
|
}, e.key || e.label || t);
|
|
160
160
|
})
|
|
161
161
|
});
|
|
@@ -170,30 +170,30 @@ var B = {
|
|
|
170
170
|
neutral: "fcc-header-status-neutral"
|
|
171
171
|
};
|
|
172
172
|
function V({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
|
|
173
|
-
return e ? /* @__PURE__ */
|
|
173
|
+
return e ? /* @__PURE__ */ A("div", {
|
|
174
174
|
className: [
|
|
175
175
|
"fcc-header-status",
|
|
176
176
|
B[t] || B.neutral,
|
|
177
177
|
r
|
|
178
178
|
].filter(Boolean).join(" "),
|
|
179
|
-
children: [/* @__PURE__ */
|
|
179
|
+
children: [/* @__PURE__ */ k("span", {
|
|
180
180
|
className: "fcc-header-status-dot",
|
|
181
181
|
style: n ? { backgroundColor: n } : void 0
|
|
182
|
-
}), /* @__PURE__ */
|
|
182
|
+
}), /* @__PURE__ */ k("span", { children: e })]
|
|
183
183
|
}) : null;
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region src/components/layout/FCCWorkspaceHeader.jsx
|
|
187
187
|
function H({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "" }) {
|
|
188
|
-
return /* @__PURE__ */
|
|
188
|
+
return /* @__PURE__ */ A("header", {
|
|
189
189
|
className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
|
|
190
|
-
children: [/* @__PURE__ */
|
|
190
|
+
children: [/* @__PURE__ */ k("div", {
|
|
191
191
|
className: "fcc-workspace-header-left",
|
|
192
|
-
children: r || /* @__PURE__ */
|
|
193
|
-
}), /* @__PURE__ */
|
|
192
|
+
children: r || /* @__PURE__ */ k(z, { items: e })
|
|
193
|
+
}), /* @__PURE__ */ A("div", {
|
|
194
194
|
className: "fcc-workspace-header-right",
|
|
195
195
|
children: [
|
|
196
|
-
t && /* @__PURE__ */
|
|
196
|
+
t && /* @__PURE__ */ k(V, { ...t }),
|
|
197
197
|
n,
|
|
198
198
|
i
|
|
199
199
|
]
|
|
@@ -203,16 +203,16 @@ function H({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot:
|
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/components/layout/FCCMainWindow.jsx
|
|
205
205
|
function U({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, className: o = "", headerClassName: s = "", contentClassName: c = "" }) {
|
|
206
|
-
return /* @__PURE__ */
|
|
206
|
+
return /* @__PURE__ */ A("div", {
|
|
207
207
|
className: ["fcc-main-window", o].filter(Boolean).join(" "),
|
|
208
208
|
children: [
|
|
209
|
-
r || /* @__PURE__ */
|
|
209
|
+
r || /* @__PURE__ */ k(H, {
|
|
210
210
|
breadcrumbs: e,
|
|
211
211
|
status: t,
|
|
212
212
|
actions: n,
|
|
213
213
|
className: s
|
|
214
214
|
}),
|
|
215
|
-
/* @__PURE__ */
|
|
215
|
+
/* @__PURE__ */ k("div", {
|
|
216
216
|
className: ["fcc-main-window-content", c].filter(Boolean).join(" "),
|
|
217
217
|
children: i
|
|
218
218
|
}),
|
|
@@ -242,39 +242,39 @@ function K(e, t) {
|
|
|
242
242
|
items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
|
|
243
243
|
})).filter((e) => e.items.length > 0);
|
|
244
244
|
}
|
|
245
|
-
function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className:
|
|
246
|
-
let [u, d] =
|
|
245
|
+
function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
|
|
246
|
+
let [u, d] = l({}), [f, p] = l({});
|
|
247
247
|
function m(e, t) {
|
|
248
248
|
p((n) => ({
|
|
249
249
|
...n,
|
|
250
250
|
[e]: t
|
|
251
251
|
}));
|
|
252
252
|
}
|
|
253
|
-
return /* @__PURE__ */
|
|
254
|
-
className: ["fcc-sidebar",
|
|
253
|
+
return /* @__PURE__ */ A("aside", {
|
|
254
|
+
className: ["fcc-sidebar", c].filter(Boolean).join(" "),
|
|
255
255
|
children: [
|
|
256
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ A("div", {
|
|
257
257
|
className: "fcc-sidebar-brand",
|
|
258
|
-
children: [/* @__PURE__ */
|
|
258
|
+
children: [/* @__PURE__ */ k("div", {
|
|
259
259
|
className: "fcc-sidebar-brand-logo-slot",
|
|
260
260
|
children: t
|
|
261
|
-
}), /* @__PURE__ */
|
|
261
|
+
}), /* @__PURE__ */ k("span", {
|
|
262
262
|
className: "fcc-sidebar-label fcc-sidebar-brand-text",
|
|
263
263
|
children: e
|
|
264
264
|
})]
|
|
265
265
|
}),
|
|
266
|
-
/* @__PURE__ */
|
|
266
|
+
/* @__PURE__ */ k("nav", {
|
|
267
267
|
className: "fcc-sidebar-nav",
|
|
268
268
|
"aria-label": `${e} navigation`,
|
|
269
269
|
children: n.map((e) => {
|
|
270
270
|
let t = e.childrenSections?.length > 0, n = G(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = u[e.key] || "", c = t ? K(e.childrenSections, s) : [];
|
|
271
|
-
return /* @__PURE__ */
|
|
271
|
+
return /* @__PURE__ */ A("div", {
|
|
272
272
|
className: [
|
|
273
273
|
"fcc-sidebar-entry",
|
|
274
274
|
t ? "has-children" : "",
|
|
275
275
|
t && o ? "expanded" : ""
|
|
276
276
|
].filter(Boolean).join(" "),
|
|
277
|
-
children: [/* @__PURE__ */
|
|
277
|
+
children: [/* @__PURE__ */ A("button", {
|
|
278
278
|
type: "button",
|
|
279
279
|
className: [
|
|
280
280
|
"fcc-sidebar-item",
|
|
@@ -288,19 +288,19 @@ function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onN
|
|
|
288
288
|
disabled: e.disabled,
|
|
289
289
|
title: e.label,
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ k("span", {
|
|
292
292
|
className: "fcc-sidebar-item-icon",
|
|
293
293
|
children: e.icon
|
|
294
294
|
}),
|
|
295
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ k("span", {
|
|
296
296
|
className: "fcc-sidebar-label fcc-sidebar-item-label",
|
|
297
297
|
children: e.label
|
|
298
298
|
}),
|
|
299
|
-
e.badge != null && /* @__PURE__ */
|
|
299
|
+
e.badge != null && /* @__PURE__ */ k("span", {
|
|
300
300
|
className: "fcc-sidebar-item-badge",
|
|
301
301
|
children: e.badge
|
|
302
302
|
}),
|
|
303
|
-
t && /* @__PURE__ */
|
|
303
|
+
t && /* @__PURE__ */ k("span", {
|
|
304
304
|
className: [
|
|
305
305
|
"fcc-sidebar-label",
|
|
306
306
|
"fcc-sidebar-item-chevron",
|
|
@@ -312,14 +312,14 @@ function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onN
|
|
|
312
312
|
role: "button",
|
|
313
313
|
"aria-label": `${o ? "Collapse" : "Expand"} ${e.label}`,
|
|
314
314
|
"aria-expanded": o,
|
|
315
|
-
children: /* @__PURE__ */
|
|
315
|
+
children: /* @__PURE__ */ k(g, { size: 14 })
|
|
316
316
|
})
|
|
317
317
|
]
|
|
318
|
-
}), t && o && /* @__PURE__ */
|
|
318
|
+
}), t && o && /* @__PURE__ */ A("div", {
|
|
319
319
|
className: "fcc-sidebar-accordion",
|
|
320
|
-
children: [/* @__PURE__ */
|
|
320
|
+
children: [/* @__PURE__ */ A("div", {
|
|
321
321
|
className: "fcc-sidebar-search",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ k(T, { size: 13 }), /* @__PURE__ */ k("input", {
|
|
323
323
|
type: "text",
|
|
324
324
|
className: "fcc-sidebar-search-input",
|
|
325
325
|
value: s,
|
|
@@ -329,24 +329,24 @@ function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onN
|
|
|
329
329
|
})),
|
|
330
330
|
placeholder: e.searchPlaceholder || "Search..."
|
|
331
331
|
})]
|
|
332
|
-
}), /* @__PURE__ */
|
|
332
|
+
}), /* @__PURE__ */ A("div", {
|
|
333
333
|
className: "fcc-sidebar-accordion-body",
|
|
334
|
-
children: [c.length === 0 && /* @__PURE__ */
|
|
334
|
+
children: [c.length === 0 && /* @__PURE__ */ k("div", {
|
|
335
335
|
className: "fcc-sidebar-empty",
|
|
336
336
|
children: "No matching components"
|
|
337
|
-
}), c.map((e) => /* @__PURE__ */
|
|
337
|
+
}), c.map((e) => /* @__PURE__ */ A("div", {
|
|
338
338
|
className: "fcc-sidebar-section",
|
|
339
|
-
children: [/* @__PURE__ */
|
|
339
|
+
children: [/* @__PURE__ */ k("div", {
|
|
340
340
|
className: "fcc-sidebar-section-title",
|
|
341
341
|
children: e.title
|
|
342
|
-
}), /* @__PURE__ */
|
|
342
|
+
}), /* @__PURE__ */ k("div", {
|
|
343
343
|
className: "fcc-sidebar-child-list",
|
|
344
|
-
children: e.items.map((e) => /* @__PURE__ */
|
|
344
|
+
children: e.items.map((e) => /* @__PURE__ */ k("button", {
|
|
345
345
|
type: "button",
|
|
346
346
|
className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
|
|
347
347
|
onClick: () => W(e, i),
|
|
348
348
|
title: e.label,
|
|
349
|
-
children: /* @__PURE__ */
|
|
349
|
+
children: /* @__PURE__ */ k("span", {
|
|
350
350
|
className: "fcc-sidebar-label",
|
|
351
351
|
children: e.label
|
|
352
352
|
})
|
|
@@ -358,34 +358,34 @@ function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onN
|
|
|
358
358
|
}, e.key || e.label);
|
|
359
359
|
})
|
|
360
360
|
}),
|
|
361
|
-
o ? /* @__PURE__ */
|
|
361
|
+
o ? /* @__PURE__ */ k("div", {
|
|
362
362
|
className: "fcc-sidebar-footer",
|
|
363
363
|
children: o
|
|
364
|
-
}) : (a || s) && /* @__PURE__ */
|
|
364
|
+
}) : (a || s) && /* @__PURE__ */ A("div", {
|
|
365
365
|
className: "fcc-sidebar-footer",
|
|
366
|
-
children: [a && /* @__PURE__ */
|
|
366
|
+
children: [a && /* @__PURE__ */ A("div", {
|
|
367
367
|
className: "fcc-sidebar-profile",
|
|
368
|
-
children: [/* @__PURE__ */
|
|
368
|
+
children: [/* @__PURE__ */ k("div", {
|
|
369
369
|
className: "fcc-sidebar-avatar",
|
|
370
370
|
style: a.avatarStyle,
|
|
371
371
|
children: a.avatar || a.initials || a.name?.slice(0, 2) || "FCC"
|
|
372
|
-
}), /* @__PURE__ */
|
|
372
|
+
}), /* @__PURE__ */ A("div", {
|
|
373
373
|
className: "fcc-sidebar-profile-copy",
|
|
374
|
-
children: [/* @__PURE__ */
|
|
374
|
+
children: [/* @__PURE__ */ k("span", {
|
|
375
375
|
className: "fcc-sidebar-label fcc-sidebar-profile-name",
|
|
376
376
|
children: a.name
|
|
377
|
-
}), a.meta && /* @__PURE__ */
|
|
377
|
+
}), a.meta && /* @__PURE__ */ k("span", {
|
|
378
378
|
className: "fcc-sidebar-label fcc-sidebar-profile-meta",
|
|
379
379
|
children: a.meta
|
|
380
380
|
})]
|
|
381
381
|
})]
|
|
382
|
-
}), s && /* @__PURE__ */
|
|
382
|
+
}), s && /* @__PURE__ */ k("button", {
|
|
383
383
|
type: "button",
|
|
384
384
|
className: "fcc-sidebar-logout",
|
|
385
385
|
title: "Logout",
|
|
386
386
|
"aria-label": "Logout",
|
|
387
387
|
onClick: s,
|
|
388
|
-
children: /* @__PURE__ */
|
|
388
|
+
children: /* @__PURE__ */ k(ee, { size: 16 })
|
|
389
389
|
})]
|
|
390
390
|
})
|
|
391
391
|
]
|
|
@@ -393,10 +393,10 @@ function q({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onN
|
|
|
393
393
|
}
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region src/components/layout/FCCAppShell.jsx
|
|
396
|
-
function
|
|
397
|
-
return /* @__PURE__ */
|
|
396
|
+
function ce({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, breadcrumbs: c = [], status: l, headerActions: u, header: d, children: f, overlay: p, className: m = "", sidebarClassName: h = "", mainClassName: g = "", headerClassName: _ = "", contentClassName: v = "" }) {
|
|
397
|
+
return /* @__PURE__ */ A("div", {
|
|
398
398
|
className: ["fcc-app-shell", m].filter(Boolean).join(" "),
|
|
399
|
-
children: [/* @__PURE__ */
|
|
399
|
+
children: [/* @__PURE__ */ k(q, {
|
|
400
400
|
appName: e,
|
|
401
401
|
logo: t,
|
|
402
402
|
navItems: n,
|
|
@@ -406,7 +406,7 @@ function se({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
406
406
|
footer: o,
|
|
407
407
|
onLogout: s,
|
|
408
408
|
className: h
|
|
409
|
-
}), /* @__PURE__ */
|
|
409
|
+
}), /* @__PURE__ */ k(U, {
|
|
410
410
|
breadcrumbs: c,
|
|
411
411
|
status: l,
|
|
412
412
|
headerActions: u,
|
|
@@ -421,9 +421,9 @@ function se({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
421
421
|
}
|
|
422
422
|
//#endregion
|
|
423
423
|
//#region src/components/layout/FCCBrandLogo.jsx
|
|
424
|
-
function
|
|
424
|
+
function le({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
|
|
425
425
|
let { theme: a } = R(), o = a === "dark" ? e || t : t || e;
|
|
426
|
-
return o ? /* @__PURE__ */
|
|
426
|
+
return o ? /* @__PURE__ */ k("img", {
|
|
427
427
|
src: o,
|
|
428
428
|
alt: n,
|
|
429
429
|
className: ["fcc-brand-logo", r].filter(Boolean).join(" "),
|
|
@@ -432,9 +432,9 @@ function ce({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
|
|
|
432
432
|
}
|
|
433
433
|
//#endregion
|
|
434
434
|
//#region src/components/layout/FCCThemeToggle.jsx
|
|
435
|
-
function
|
|
435
|
+
function ue({ className: e = "" }) {
|
|
436
436
|
let { theme: t, toggleTheme: n } = R(), r = t === "dark";
|
|
437
|
-
return /* @__PURE__ */
|
|
437
|
+
return /* @__PURE__ */ k("button", {
|
|
438
438
|
type: "button",
|
|
439
439
|
onClick: n,
|
|
440
440
|
className: [
|
|
@@ -446,32 +446,32 @@ function le({ className: e = "" }) {
|
|
|
446
446
|
].filter(Boolean).join(" "),
|
|
447
447
|
title: r ? "Switch to light mode" : "Switch to dark mode",
|
|
448
448
|
"aria-label": r ? "Switch to light mode" : "Switch to dark mode",
|
|
449
|
-
children:
|
|
449
|
+
children: k(r ? te : ne, { size: 16 })
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
//#endregion
|
|
453
453
|
//#region src/components/ui/Accordion.jsx
|
|
454
|
-
function
|
|
455
|
-
let [a, o] =
|
|
456
|
-
return /* @__PURE__ */
|
|
454
|
+
function de({ title: e, header: t, defaultOpen: n = !1, className: r = "", children: i }) {
|
|
455
|
+
let [a, o] = l(n);
|
|
456
|
+
return /* @__PURE__ */ A("div", {
|
|
457
457
|
className: `accordion-item ${r}`,
|
|
458
|
-
children: [/* @__PURE__ */
|
|
458
|
+
children: [/* @__PURE__ */ A("div", {
|
|
459
459
|
className: `accordion-trigger ${a ? "expanded" : ""}`,
|
|
460
460
|
onClick: () => o(!a),
|
|
461
461
|
role: "button",
|
|
462
462
|
"aria-expanded": a,
|
|
463
|
-
children: [t || /* @__PURE__ */
|
|
463
|
+
children: [t || /* @__PURE__ */ k("span", {
|
|
464
464
|
className: "accordion-trigger-title",
|
|
465
465
|
children: e
|
|
466
|
-
}), /* @__PURE__ */
|
|
466
|
+
}), /* @__PURE__ */ k("span", {
|
|
467
467
|
className: "accordion-trigger-chevron",
|
|
468
|
-
children:
|
|
468
|
+
children: k(a ? g : _, { size: 14 })
|
|
469
469
|
})]
|
|
470
|
-
}), /* @__PURE__ */
|
|
470
|
+
}), /* @__PURE__ */ k("div", {
|
|
471
471
|
className: `accordion-collapse ${a ? "open" : ""}`,
|
|
472
|
-
children: /* @__PURE__ */
|
|
472
|
+
children: /* @__PURE__ */ k("div", {
|
|
473
473
|
className: "accordion-collapse-inner",
|
|
474
|
-
children: /* @__PURE__ */
|
|
474
|
+
children: /* @__PURE__ */ k("div", {
|
|
475
475
|
className: "accordion-content",
|
|
476
476
|
children: i
|
|
477
477
|
})
|
|
@@ -479,37 +479,37 @@ function ue({ title: e, header: t, defaultOpen: n = !1, className: r = "", child
|
|
|
479
479
|
})]
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
let [n, r] =
|
|
482
|
+
function fe({ items: e = [], className: t = "" }) {
|
|
483
|
+
let [n, r] = l(/* @__PURE__ */ new Set());
|
|
484
484
|
function i(e) {
|
|
485
485
|
r((t) => {
|
|
486
486
|
let n = new Set(t);
|
|
487
487
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
-
return /* @__PURE__ */
|
|
490
|
+
return /* @__PURE__ */ k("div", {
|
|
491
491
|
className: `accordion ${t}`,
|
|
492
492
|
children: e.map((e) => {
|
|
493
493
|
let t = n.has(e.id);
|
|
494
|
-
return /* @__PURE__ */
|
|
494
|
+
return /* @__PURE__ */ A("div", {
|
|
495
495
|
className: "accordion-item",
|
|
496
|
-
children: [/* @__PURE__ */
|
|
496
|
+
children: [/* @__PURE__ */ A("div", {
|
|
497
497
|
className: `accordion-trigger ${t ? "expanded" : ""}`,
|
|
498
498
|
onClick: () => i(e.id),
|
|
499
499
|
role: "button",
|
|
500
500
|
"aria-expanded": t,
|
|
501
|
-
children: [e.header || /* @__PURE__ */
|
|
501
|
+
children: [e.header || /* @__PURE__ */ k("span", {
|
|
502
502
|
className: "accordion-trigger-title",
|
|
503
503
|
children: e.title
|
|
504
|
-
}), /* @__PURE__ */
|
|
504
|
+
}), /* @__PURE__ */ k("span", {
|
|
505
505
|
className: "accordion-trigger-chevron",
|
|
506
|
-
children:
|
|
506
|
+
children: k(t ? g : _, { size: 14 })
|
|
507
507
|
})]
|
|
508
|
-
}), /* @__PURE__ */
|
|
508
|
+
}), /* @__PURE__ */ k("div", {
|
|
509
509
|
className: `accordion-collapse ${t ? "open" : ""}`,
|
|
510
|
-
children: /* @__PURE__ */
|
|
510
|
+
children: /* @__PURE__ */ k("div", {
|
|
511
511
|
className: "accordion-collapse-inner",
|
|
512
|
-
children: /* @__PURE__ */
|
|
512
|
+
children: /* @__PURE__ */ k("div", {
|
|
513
513
|
className: "accordion-content",
|
|
514
514
|
children: e.content
|
|
515
515
|
})
|
|
@@ -521,36 +521,36 @@ function de({ items: e = [], className: t = "" }) {
|
|
|
521
521
|
}
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region src/components/ui/AppLoader.jsx
|
|
524
|
-
function
|
|
525
|
-
return t ? /* @__PURE__ */
|
|
524
|
+
function pe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
|
|
525
|
+
return t ? /* @__PURE__ */ A("div", {
|
|
526
526
|
className: `loader-fullscreen ${n}`,
|
|
527
|
-
children: [/* @__PURE__ */
|
|
527
|
+
children: [/* @__PURE__ */ k(C, {
|
|
528
528
|
size: 32,
|
|
529
529
|
className: "loader-spin"
|
|
530
|
-
}), e && /* @__PURE__ */
|
|
530
|
+
}), e && /* @__PURE__ */ k("span", {
|
|
531
531
|
className: "loader-label",
|
|
532
532
|
children: e
|
|
533
533
|
})]
|
|
534
|
-
}) : /* @__PURE__ */
|
|
534
|
+
}) : /* @__PURE__ */ A("div", {
|
|
535
535
|
className: `loader ${n}`,
|
|
536
|
-
children: [/* @__PURE__ */
|
|
536
|
+
children: [/* @__PURE__ */ k(C, {
|
|
537
537
|
size: 20,
|
|
538
538
|
className: "loader-spin"
|
|
539
|
-
}), e && /* @__PURE__ */
|
|
539
|
+
}), e && /* @__PURE__ */ k("span", {
|
|
540
540
|
className: "loader-label",
|
|
541
541
|
children: e
|
|
542
542
|
})]
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
return /* @__PURE__ */
|
|
545
|
+
function me({ size: e = 16, className: t = "" }) {
|
|
546
|
+
return /* @__PURE__ */ k(C, {
|
|
547
547
|
size: e,
|
|
548
548
|
className: `loader-spin ${t}`
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
551
|
//#endregion
|
|
552
552
|
//#region src/components/ui/Avatar.jsx
|
|
553
|
-
var
|
|
553
|
+
var he = {
|
|
554
554
|
sm: "avatar-sm",
|
|
555
555
|
md: "",
|
|
556
556
|
lg: "avatar-lg",
|
|
@@ -564,14 +564,14 @@ var me = {
|
|
|
564
564
|
"#5a8ebf",
|
|
565
565
|
"#c4a06a"
|
|
566
566
|
];
|
|
567
|
-
function
|
|
567
|
+
function ge(e) {
|
|
568
568
|
let t = 0;
|
|
569
569
|
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
570
570
|
return J[Math.abs(t) % J.length];
|
|
571
571
|
}
|
|
572
572
|
function Y({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
|
|
573
|
-
let [o, s] =
|
|
574
|
-
return e && !o ? /* @__PURE__ */
|
|
573
|
+
let [o, s] = l(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), u = a.background || ge(c), d = he[r] || "";
|
|
574
|
+
return e && !o ? /* @__PURE__ */ k("img", {
|
|
575
575
|
src: e,
|
|
576
576
|
alt: n || "",
|
|
577
577
|
className: `avatar ${d} ${i}`,
|
|
@@ -580,13 +580,13 @@ function Y({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
580
580
|
...a
|
|
581
581
|
},
|
|
582
582
|
onError: () => s(!0)
|
|
583
|
-
}) : /* @__PURE__ */
|
|
583
|
+
}) : /* @__PURE__ */ k("div", {
|
|
584
584
|
className: `avatar ${d} ${i}`,
|
|
585
585
|
style: {
|
|
586
586
|
background: u,
|
|
587
587
|
...a
|
|
588
588
|
},
|
|
589
|
-
children:
|
|
589
|
+
children: c
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
592
|
//#endregion
|
|
@@ -602,12 +602,12 @@ var X = {
|
|
|
602
602
|
purple: "var(--accent-purple)",
|
|
603
603
|
orange: "var(--accent-orange)"
|
|
604
604
|
};
|
|
605
|
-
function
|
|
605
|
+
function _e({ variant: e = "default", className: t = "", children: n, ...r }) {
|
|
606
606
|
let i = X[e] || X.default;
|
|
607
|
-
return /* @__PURE__ */
|
|
607
|
+
return /* @__PURE__ */ A("span", {
|
|
608
608
|
className: `badge ${t}`,
|
|
609
609
|
...r,
|
|
610
|
-
children: [/* @__PURE__ */
|
|
610
|
+
children: [/* @__PURE__ */ k("span", {
|
|
611
611
|
className: "badge-dot",
|
|
612
612
|
style: { background: i }
|
|
613
613
|
}), n]
|
|
@@ -615,67 +615,67 @@ function ge({ variant: e = "default", className: t = "", children: n, ...r }) {
|
|
|
615
615
|
}
|
|
616
616
|
//#endregion
|
|
617
617
|
//#region src/components/ui/Button.jsx
|
|
618
|
-
var
|
|
618
|
+
var ve = {
|
|
619
619
|
default: "btn-primary",
|
|
620
620
|
destructive: "btn-danger",
|
|
621
621
|
outline: "btn-outline",
|
|
622
622
|
secondary: "btn-secondary",
|
|
623
623
|
ghost: "btn-ghost",
|
|
624
624
|
link: "btn-link"
|
|
625
|
-
},
|
|
625
|
+
}, ye = {
|
|
626
626
|
sm: "btn-sm",
|
|
627
627
|
default: "",
|
|
628
628
|
lg: "btn-lg",
|
|
629
629
|
icon: "btn-icon"
|
|
630
|
-
},
|
|
631
|
-
return /* @__PURE__ */
|
|
630
|
+
}, be = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
|
|
631
|
+
return /* @__PURE__ */ k("button", {
|
|
632
632
|
ref: a,
|
|
633
633
|
className: [
|
|
634
634
|
"btn",
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
ve[e],
|
|
636
|
+
ye[t],
|
|
637
637
|
n
|
|
638
638
|
].filter(Boolean).join(" "),
|
|
639
639
|
...i,
|
|
640
640
|
children: r
|
|
641
641
|
});
|
|
642
|
-
}),
|
|
643
|
-
return /* @__PURE__ */
|
|
642
|
+
}), xe = n(function({ className: e = "", children: t, ...n }, r) {
|
|
643
|
+
return /* @__PURE__ */ k("div", {
|
|
644
644
|
ref: r,
|
|
645
645
|
className: `card ${e}`,
|
|
646
646
|
...n,
|
|
647
647
|
children: t
|
|
648
648
|
});
|
|
649
|
-
}),
|
|
650
|
-
return /* @__PURE__ */
|
|
649
|
+
}), Se = n(function({ className: e = "", children: t, ...n }, r) {
|
|
650
|
+
return /* @__PURE__ */ k("div", {
|
|
651
651
|
ref: r,
|
|
652
652
|
className: `card-header ${e}`,
|
|
653
653
|
...n,
|
|
654
654
|
children: t
|
|
655
655
|
});
|
|
656
|
-
}),
|
|
657
|
-
return /* @__PURE__ */
|
|
656
|
+
}), Ce = n(function({ className: e = "", children: t, ...n }, r) {
|
|
657
|
+
return /* @__PURE__ */ k("h3", {
|
|
658
658
|
ref: r,
|
|
659
659
|
className: `card-title ${e}`,
|
|
660
660
|
...n,
|
|
661
661
|
children: t
|
|
662
662
|
});
|
|
663
|
-
}),
|
|
664
|
-
return /* @__PURE__ */
|
|
663
|
+
}), we = n(function({ className: e = "", children: t, ...n }, r) {
|
|
664
|
+
return /* @__PURE__ */ k("p", {
|
|
665
665
|
ref: r,
|
|
666
666
|
className: `card-description ${e}`,
|
|
667
667
|
...n,
|
|
668
668
|
children: t
|
|
669
669
|
});
|
|
670
|
-
}),
|
|
671
|
-
return /* @__PURE__ */
|
|
670
|
+
}), Te = n(function({ className: e = "", children: t, ...n }, r) {
|
|
671
|
+
return /* @__PURE__ */ k("div", {
|
|
672
672
|
ref: r,
|
|
673
673
|
className: `card-body ${e}`,
|
|
674
674
|
...n,
|
|
675
675
|
children: t
|
|
676
676
|
});
|
|
677
|
-
}),
|
|
678
|
-
return /* @__PURE__ */
|
|
677
|
+
}), Ee = n(function({ className: e = "", children: t, ...n }, r) {
|
|
678
|
+
return /* @__PURE__ */ k("div", {
|
|
679
679
|
ref: r,
|
|
680
680
|
className: `card-footer ${e}`,
|
|
681
681
|
...n,
|
|
@@ -684,8 +684,8 @@ var _e = {
|
|
|
684
684
|
});
|
|
685
685
|
//#endregion
|
|
686
686
|
//#region src/components/ui/Dialog.jsx
|
|
687
|
-
function
|
|
688
|
-
let i =
|
|
687
|
+
function De({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
688
|
+
let i = c(null);
|
|
689
689
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
690
690
|
document.body.style.overflow = "";
|
|
691
691
|
}), [e]), o(() => {
|
|
@@ -693,179 +693,179 @@ function Ee({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
|
693
693
|
e.key === "Escape" && t?.();
|
|
694
694
|
}
|
|
695
695
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
696
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
696
|
+
}, [e, t]), e ? /* @__PURE__ */ k("div", {
|
|
697
697
|
className: "dialog-overlay",
|
|
698
698
|
ref: i,
|
|
699
699
|
onClick: (e) => {
|
|
700
700
|
e.target === i.current && t?.();
|
|
701
701
|
},
|
|
702
|
-
children: /* @__PURE__ */
|
|
702
|
+
children: /* @__PURE__ */ k("div", {
|
|
703
703
|
className: `dialog ${r}`,
|
|
704
704
|
children: n
|
|
705
705
|
})
|
|
706
706
|
}) : null;
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return /* @__PURE__ */
|
|
708
|
+
function Oe({ children: e, onClose: t, className: n = "" }) {
|
|
709
|
+
return /* @__PURE__ */ A("div", {
|
|
710
710
|
className: `dialog-header ${n}`,
|
|
711
|
-
children: [/* @__PURE__ */
|
|
711
|
+
children: [/* @__PURE__ */ k("div", {
|
|
712
712
|
style: { flex: 1 },
|
|
713
713
|
children: e
|
|
714
|
-
}), t && /* @__PURE__ */
|
|
714
|
+
}), t && /* @__PURE__ */ k("button", {
|
|
715
715
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
716
716
|
onClick: t,
|
|
717
|
-
children: /* @__PURE__ */ O
|
|
717
|
+
children: /* @__PURE__ */ k(O, { size: 16 })
|
|
718
718
|
})]
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
return /* @__PURE__ */
|
|
721
|
+
function ke({ children: e, className: t = "" }) {
|
|
722
|
+
return /* @__PURE__ */ k("h3", {
|
|
723
723
|
className: `dialog-title ${t}`,
|
|
724
724
|
children: e
|
|
725
725
|
});
|
|
726
726
|
}
|
|
727
|
-
function
|
|
728
|
-
return /* @__PURE__ */
|
|
727
|
+
function Ae({ children: e, className: t = "" }) {
|
|
728
|
+
return /* @__PURE__ */ k("p", {
|
|
729
729
|
className: `dialog-description ${t}`,
|
|
730
730
|
children: e
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
|
-
function
|
|
734
|
-
return /* @__PURE__ */
|
|
733
|
+
function je({ children: e, className: t = "" }) {
|
|
734
|
+
return /* @__PURE__ */ k("div", {
|
|
735
735
|
className: `dialog-body ${t}`,
|
|
736
736
|
children: e
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
|
-
function
|
|
740
|
-
return /* @__PURE__ */
|
|
739
|
+
function Me({ children: e, className: t = "" }) {
|
|
740
|
+
return /* @__PURE__ */ k("div", {
|
|
741
741
|
className: `dialog-footer ${t}`,
|
|
742
742
|
children: e
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
745
|
//#endregion
|
|
746
746
|
//#region src/components/ui/DropdownMenu.jsx
|
|
747
|
-
function
|
|
748
|
-
let [i, a] =
|
|
747
|
+
function Ne({ trigger: e, children: t, align: n = "left", className: r = "" }) {
|
|
748
|
+
let [i, a] = l(!1), s = c(null);
|
|
749
749
|
return o(() => {
|
|
750
750
|
function e(e) {
|
|
751
|
-
|
|
751
|
+
s.current && !s.current.contains(e.target) && a(!1);
|
|
752
752
|
}
|
|
753
753
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
754
|
-
}, []), /* @__PURE__ */
|
|
755
|
-
ref:
|
|
754
|
+
}, []), /* @__PURE__ */ A("div", {
|
|
755
|
+
ref: s,
|
|
756
756
|
className: `dropdown-wrapper ${r}`,
|
|
757
757
|
style: { position: "relative" },
|
|
758
|
-
children: [/* @__PURE__ */
|
|
758
|
+
children: [/* @__PURE__ */ k("div", {
|
|
759
759
|
onClick: () => a(!i),
|
|
760
760
|
children: e
|
|
761
|
-
}), i && /* @__PURE__ */
|
|
761
|
+
}), i && /* @__PURE__ */ k("div", {
|
|
762
762
|
className: `dropdown dropdown-align-${n}`,
|
|
763
763
|
onClick: () => a(!1),
|
|
764
764
|
children: t
|
|
765
765
|
})]
|
|
766
766
|
});
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return /* @__PURE__ */
|
|
768
|
+
function Pe({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
769
|
+
return /* @__PURE__ */ A("div", {
|
|
770
770
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
771
771
|
onClick: i,
|
|
772
772
|
children: [
|
|
773
|
-
e && /* @__PURE__ */
|
|
773
|
+
e && /* @__PURE__ */ k("span", {
|
|
774
774
|
className: "dropdown-item-icon",
|
|
775
775
|
children: e
|
|
776
776
|
}),
|
|
777
|
-
/* @__PURE__ */
|
|
777
|
+
/* @__PURE__ */ k("span", {
|
|
778
778
|
style: { flex: 1 },
|
|
779
779
|
children: t
|
|
780
780
|
}),
|
|
781
|
-
n && /* @__PURE__ */
|
|
781
|
+
n && /* @__PURE__ */ k("span", {
|
|
782
782
|
className: "dropdown-shortcut",
|
|
783
783
|
children: n
|
|
784
784
|
})
|
|
785
785
|
]
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
return /* @__PURE__ */
|
|
788
|
+
function Fe({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
789
|
+
return /* @__PURE__ */ A("div", {
|
|
790
790
|
className: `dropdown-item ${r}`,
|
|
791
791
|
onClick: () => t?.(!e),
|
|
792
|
-
children: [/* @__PURE__ */
|
|
792
|
+
children: [/* @__PURE__ */ k("span", {
|
|
793
793
|
className: "dropdown-item-icon",
|
|
794
794
|
style: { opacity: +!!e },
|
|
795
|
-
children: /* @__PURE__ */
|
|
795
|
+
children: /* @__PURE__ */ k(p, { size: 14 })
|
|
796
796
|
}), n]
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
|
-
function
|
|
800
|
-
return /* @__PURE__ */
|
|
799
|
+
function Ie({ children: e, className: t = "" }) {
|
|
800
|
+
return /* @__PURE__ */ k("div", {
|
|
801
801
|
className: `dropdown-label ${t}`,
|
|
802
802
|
children: e
|
|
803
803
|
});
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
return /* @__PURE__ */
|
|
805
|
+
function Le({ className: e = "" }) {
|
|
806
|
+
return /* @__PURE__ */ k("div", { className: `dropdown-divider ${e}` });
|
|
807
807
|
}
|
|
808
808
|
//#endregion
|
|
809
809
|
//#region src/components/ui/SearchableSelect.jsx
|
|
810
|
-
function
|
|
811
|
-
let [d,
|
|
810
|
+
function Re({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: u = "" }) {
|
|
811
|
+
let [d, f] = l(!1), [m, h] = l(""), [_, v] = l(0), y = c(null), b = c(null), x = e.filter((e) => e.label.toLowerCase().includes(m.toLowerCase()) || e.description && e.description.toLowerCase().includes(m.toLowerCase())), S = e.find((e) => e.value === t);
|
|
812
812
|
o(() => {
|
|
813
813
|
d && b.current && b.current.focus();
|
|
814
814
|
}, [d]), o(() => {
|
|
815
815
|
function e(e) {
|
|
816
|
-
y.current && !y.current.contains(e.target) &&
|
|
816
|
+
y.current && !y.current.contains(e.target) && f(!1);
|
|
817
817
|
}
|
|
818
818
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
819
819
|
}, []);
|
|
820
820
|
function C(e) {
|
|
821
|
-
e.key === "ArrowDown" ? (e.preventDefault(), v((e) => Math.min(e + 1, x.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" && x[_] ? (n?.(x[_].value),
|
|
821
|
+
e.key === "ArrowDown" ? (e.preventDefault(), v((e) => Math.min(e + 1, x.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" && x[_] ? (n?.(x[_].value), f(!1), h("")) : e.key === "Escape" && (f(!1), h(""));
|
|
822
822
|
}
|
|
823
|
-
return /* @__PURE__ */
|
|
823
|
+
return /* @__PURE__ */ A("div", {
|
|
824
824
|
ref: y,
|
|
825
825
|
className: `searchable-select ${u}`,
|
|
826
|
-
children: [/* @__PURE__ */
|
|
826
|
+
children: [/* @__PURE__ */ A("button", {
|
|
827
827
|
className: "searchable-select-trigger",
|
|
828
|
-
onClick: () => !
|
|
829
|
-
disabled:
|
|
828
|
+
onClick: () => !s && f(!d),
|
|
829
|
+
disabled: s,
|
|
830
830
|
type: "button",
|
|
831
|
-
children: [/* @__PURE__ */
|
|
831
|
+
children: [/* @__PURE__ */ k("span", {
|
|
832
832
|
className: S ? "" : "searchable-select-placeholder",
|
|
833
833
|
children: S ? S.label : r
|
|
834
|
-
}), /* @__PURE__ */
|
|
834
|
+
}), /* @__PURE__ */ k(g, {
|
|
835
835
|
size: 14,
|
|
836
836
|
className: "searchable-select-chevron"
|
|
837
837
|
})]
|
|
838
|
-
}), d && /* @__PURE__ */
|
|
838
|
+
}), d && /* @__PURE__ */ A("div", {
|
|
839
839
|
className: "searchable-select-dropdown",
|
|
840
|
-
children: [/* @__PURE__ */
|
|
840
|
+
children: [/* @__PURE__ */ A("div", {
|
|
841
841
|
className: "searchable-select-search",
|
|
842
842
|
children: [
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ k(T, { size: 14 }),
|
|
844
|
+
/* @__PURE__ */ k("input", {
|
|
845
845
|
ref: b,
|
|
846
846
|
value: m,
|
|
847
847
|
onChange: (e) => {
|
|
848
|
-
|
|
848
|
+
h(e.target.value), v(0);
|
|
849
849
|
},
|
|
850
850
|
onKeyDown: C,
|
|
851
851
|
placeholder: i,
|
|
852
852
|
className: "searchable-select-input"
|
|
853
853
|
}),
|
|
854
|
-
m && /* @__PURE__ */
|
|
854
|
+
m && /* @__PURE__ */ k("button", {
|
|
855
855
|
className: "searchable-select-clear",
|
|
856
|
-
onClick: () =>
|
|
857
|
-
children: /* @__PURE__ */ O
|
|
856
|
+
onClick: () => h(""),
|
|
857
|
+
children: /* @__PURE__ */ k(O, { size: 12 })
|
|
858
858
|
})
|
|
859
859
|
]
|
|
860
|
-
}), /* @__PURE__ */
|
|
860
|
+
}), /* @__PURE__ */ A("div", {
|
|
861
861
|
className: "searchable-select-options",
|
|
862
862
|
children: [
|
|
863
|
-
a && /* @__PURE__ */
|
|
863
|
+
a && /* @__PURE__ */ k("div", {
|
|
864
864
|
className: `searchable-select-option ${t ? "" : "selected"}`,
|
|
865
865
|
onClick: () => {
|
|
866
|
-
n?.(null),
|
|
866
|
+
n?.(null), f(!1), h("");
|
|
867
867
|
},
|
|
868
|
-
children: /* @__PURE__ */
|
|
868
|
+
children: /* @__PURE__ */ k("span", {
|
|
869
869
|
style: {
|
|
870
870
|
color: "var(--text-tertiary)",
|
|
871
871
|
fontStyle: "italic"
|
|
@@ -873,21 +873,21 @@ function Le({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
873
873
|
children: "None"
|
|
874
874
|
})
|
|
875
875
|
}),
|
|
876
|
-
x.map((e, r) => /* @__PURE__ */
|
|
876
|
+
x.map((e, r) => /* @__PURE__ */ A("div", {
|
|
877
877
|
className: `searchable-select-option ${r === _ ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
|
|
878
878
|
onClick: () => {
|
|
879
|
-
n?.(e.value),
|
|
879
|
+
n?.(e.value), f(!1), h("");
|
|
880
880
|
},
|
|
881
881
|
onMouseEnter: () => v(r),
|
|
882
|
-
children: [/* @__PURE__ */
|
|
882
|
+
children: [/* @__PURE__ */ A("div", {
|
|
883
883
|
className: "searchable-select-option-content",
|
|
884
|
-
children: [/* @__PURE__ */
|
|
884
|
+
children: [/* @__PURE__ */ k("span", { children: e.label }), e.description && /* @__PURE__ */ k("span", {
|
|
885
885
|
className: "searchable-select-option-desc",
|
|
886
886
|
children: e.description
|
|
887
887
|
})]
|
|
888
|
-
}), e.value === t && /* @__PURE__ */
|
|
888
|
+
}), e.value === t && /* @__PURE__ */ k(p, { size: 14 })]
|
|
889
889
|
}, e.value)),
|
|
890
|
-
x.length === 0 && /* @__PURE__ */
|
|
890
|
+
x.length === 0 && /* @__PURE__ */ k("div", {
|
|
891
891
|
className: "searchable-select-empty",
|
|
892
892
|
children: "No results found"
|
|
893
893
|
})
|
|
@@ -898,8 +898,8 @@ function Le({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
898
898
|
}
|
|
899
899
|
//#endregion
|
|
900
900
|
//#region src/components/ui/Sheet.jsx
|
|
901
|
-
function
|
|
902
|
-
let
|
|
901
|
+
function ze({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
902
|
+
let s = c(null);
|
|
903
903
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
904
904
|
document.body.style.overflow = "";
|
|
905
905
|
}), [e]), o(() => {
|
|
@@ -907,52 +907,52 @@ function Re({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
907
907
|
e.key === "Escape" && t?.();
|
|
908
908
|
}
|
|
909
909
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
910
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
910
|
+
}, [e, t]), e ? /* @__PURE__ */ k("div", {
|
|
911
911
|
className: "sheet-overlay",
|
|
912
|
-
ref:
|
|
912
|
+
ref: s,
|
|
913
913
|
onClick: (e) => {
|
|
914
|
-
e.target ===
|
|
914
|
+
e.target === s.current && t?.();
|
|
915
915
|
},
|
|
916
|
-
children: /* @__PURE__ */
|
|
916
|
+
children: /* @__PURE__ */ A("div", {
|
|
917
917
|
className: `sheet sheet-${n} ${a}`,
|
|
918
|
-
children: [r && /* @__PURE__ */
|
|
918
|
+
children: [r && /* @__PURE__ */ A("div", {
|
|
919
919
|
className: "sheet-header",
|
|
920
|
-
children: [/* @__PURE__ */
|
|
920
|
+
children: [/* @__PURE__ */ k("h3", {
|
|
921
921
|
className: "sheet-title",
|
|
922
922
|
children: r
|
|
923
|
-
}), /* @__PURE__ */
|
|
923
|
+
}), /* @__PURE__ */ k("button", {
|
|
924
924
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
925
925
|
onClick: t,
|
|
926
|
-
children: /* @__PURE__ */ O
|
|
926
|
+
children: /* @__PURE__ */ k(O, { size: 16 })
|
|
927
927
|
})]
|
|
928
|
-
}), /* @__PURE__ */
|
|
928
|
+
}), /* @__PURE__ */ k("div", {
|
|
929
929
|
className: "sheet-body",
|
|
930
930
|
children: i
|
|
931
931
|
})]
|
|
932
932
|
})
|
|
933
933
|
}) : null;
|
|
934
934
|
}
|
|
935
|
-
function
|
|
936
|
-
return /* @__PURE__ */
|
|
935
|
+
function Be({ children: e, className: t = "" }) {
|
|
936
|
+
return /* @__PURE__ */ k("div", {
|
|
937
937
|
className: `sheet-footer ${t}`,
|
|
938
938
|
children: e
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
941
|
//#endregion
|
|
942
942
|
//#region src/components/ui/Switch.jsx
|
|
943
|
-
function
|
|
944
|
-
return /* @__PURE__ */
|
|
943
|
+
function Ve({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
944
|
+
return /* @__PURE__ */ A("div", {
|
|
945
945
|
className: "toggle-row",
|
|
946
|
-
children: [i && /* @__PURE__ */
|
|
946
|
+
children: [i && /* @__PURE__ */ k("span", {
|
|
947
947
|
className: "toggle-text",
|
|
948
948
|
children: i
|
|
949
|
-
}), /* @__PURE__ */
|
|
949
|
+
}), /* @__PURE__ */ k("button", {
|
|
950
950
|
className: `toggle ${e ? "active" : ""} ${r === "sm" ? "toggle-sm" : ""}`,
|
|
951
951
|
onClick: () => !n && t?.(!e),
|
|
952
952
|
disabled: n,
|
|
953
953
|
role: "switch",
|
|
954
954
|
"aria-checked": e,
|
|
955
|
-
children: /* @__PURE__ */
|
|
955
|
+
children: /* @__PURE__ */ k("div", { className: "toggle-knob" })
|
|
956
956
|
})]
|
|
957
957
|
});
|
|
958
958
|
}
|
|
@@ -962,28 +962,28 @@ var Z = e({
|
|
|
962
962
|
value: "",
|
|
963
963
|
onChange: () => {}
|
|
964
964
|
});
|
|
965
|
-
function
|
|
966
|
-
let [a, o] =
|
|
967
|
-
return /* @__PURE__ */
|
|
965
|
+
function He({ defaultValue: e, value: t, onValueChange: n, children: r, className: i = "" }) {
|
|
966
|
+
let [a, o] = l(e || ""), s = t === void 0 ? a : t, c = n || o;
|
|
967
|
+
return /* @__PURE__ */ k(Z.Provider, {
|
|
968
968
|
value: {
|
|
969
969
|
value: s,
|
|
970
|
-
onChange:
|
|
970
|
+
onChange: c
|
|
971
971
|
},
|
|
972
|
-
children: /* @__PURE__ */
|
|
972
|
+
children: /* @__PURE__ */ k("div", {
|
|
973
973
|
className: i,
|
|
974
974
|
children: r
|
|
975
975
|
})
|
|
976
976
|
});
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
return /* @__PURE__ */
|
|
978
|
+
function Ue({ children: e, className: t = "" }) {
|
|
979
|
+
return /* @__PURE__ */ k("div", {
|
|
980
980
|
className: `tabs ${t}`,
|
|
981
981
|
children: e
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function We({ value: e, children: t, className: n = "" }) {
|
|
985
985
|
let { value: r, onChange: i } = a(Z), o = r === e;
|
|
986
|
-
return /* @__PURE__ */
|
|
986
|
+
return /* @__PURE__ */ k("button", {
|
|
987
987
|
className: `tab ${o ? "active" : ""} ${n}`,
|
|
988
988
|
onClick: () => i(e),
|
|
989
989
|
role: "tab",
|
|
@@ -992,9 +992,9 @@ function Ue({ value: e, children: t, className: n = "" }) {
|
|
|
992
992
|
children: t
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Ge({ value: e, children: t, className: n = "" }) {
|
|
996
996
|
let { value: r } = a(Z);
|
|
997
|
-
return r === e ? /* @__PURE__ */
|
|
997
|
+
return r === e ? /* @__PURE__ */ k("div", {
|
|
998
998
|
className: n,
|
|
999
999
|
role: "tabpanel",
|
|
1000
1000
|
children: t
|
|
@@ -1002,23 +1002,23 @@ function We({ value: e, children: t, className: n = "" }) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
//#endregion
|
|
1004
1004
|
//#region src/components/ui/Tooltip.jsx
|
|
1005
|
-
function
|
|
1006
|
-
let [i, a] =
|
|
1007
|
-
function
|
|
1005
|
+
function Ke({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
1006
|
+
let [i, a] = l(!1), o = c(null);
|
|
1007
|
+
function s() {
|
|
1008
1008
|
o.current = setTimeout(() => a(!0), 300);
|
|
1009
1009
|
}
|
|
1010
1010
|
function u() {
|
|
1011
1011
|
clearTimeout(o.current), a(!1);
|
|
1012
1012
|
}
|
|
1013
|
-
return /* @__PURE__ */
|
|
1013
|
+
return /* @__PURE__ */ A("div", {
|
|
1014
1014
|
className: `tooltip-wrapper ${r}`,
|
|
1015
|
-
onMouseEnter:
|
|
1015
|
+
onMouseEnter: s,
|
|
1016
1016
|
onMouseLeave: u,
|
|
1017
1017
|
style: {
|
|
1018
1018
|
position: "relative",
|
|
1019
1019
|
display: "inline-flex"
|
|
1020
1020
|
},
|
|
1021
|
-
children: [n, i && /* @__PURE__ */
|
|
1021
|
+
children: [n, i && /* @__PURE__ */ k("div", {
|
|
1022
1022
|
className: `tooltip tooltip-${t}`,
|
|
1023
1023
|
children: e
|
|
1024
1024
|
})]
|
|
@@ -1026,122 +1026,232 @@ function Ge({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
//#endregion
|
|
1028
1028
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
1029
|
-
function
|
|
1029
|
+
function qe(e, n) {
|
|
1030
1030
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1033
|
-
let [
|
|
1034
|
-
|
|
1035
|
-
|
|
1032
|
+
function Je({ options: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: u = 16, showLabels: d = !1, className: f = "", optionClassName: p = "" }) {
|
|
1033
|
+
let m = c(null), h = c(null), g = c(/* @__PURE__ */ new Map()), [_, v] = l(n ?? e[0]?.value ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1034
|
+
let e = h.current, t = g.current.get(y);
|
|
1035
|
+
if (e) {
|
|
1036
|
+
if (!t) {
|
|
1037
|
+
e.style.opacity = "0";
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
e.style.width = `${t.offsetWidth}px`, e.style.height = `${t.offsetHeight}px`, e.style.transform = `translate3d(${t.offsetLeft}px, ${t.offsetTop}px, 0)`, e.style.opacity = "1";
|
|
1041
|
+
}
|
|
1042
|
+
}, [y]);
|
|
1043
|
+
function x(e) {
|
|
1044
|
+
e.disabled || (t === void 0 && v(e.value), r?.(e.value, e));
|
|
1036
1045
|
}
|
|
1037
|
-
return
|
|
1038
|
-
|
|
1046
|
+
return s(() => {
|
|
1047
|
+
b();
|
|
1048
|
+
}, [
|
|
1049
|
+
b,
|
|
1050
|
+
e,
|
|
1051
|
+
d,
|
|
1052
|
+
u,
|
|
1053
|
+
f,
|
|
1054
|
+
p
|
|
1055
|
+
]), o(() => {
|
|
1056
|
+
let e = m.current;
|
|
1057
|
+
if (!e) return;
|
|
1058
|
+
let t = null;
|
|
1059
|
+
function n() {
|
|
1060
|
+
t !== null && cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
1061
|
+
t = null, b();
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
if (n(), typeof ResizeObserver < "u") {
|
|
1065
|
+
let r = new ResizeObserver(n);
|
|
1066
|
+
return r.observe(e), g.current.forEach((e) => r.observe(e)), () => {
|
|
1067
|
+
t !== null && cancelAnimationFrame(t), r.disconnect();
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1070
|
+
return window.addEventListener("resize", n), () => {
|
|
1071
|
+
t !== null && cancelAnimationFrame(t), window.removeEventListener("resize", n);
|
|
1072
|
+
};
|
|
1073
|
+
}, [
|
|
1074
|
+
b,
|
|
1075
|
+
e,
|
|
1076
|
+
d,
|
|
1077
|
+
u,
|
|
1078
|
+
f,
|
|
1079
|
+
p
|
|
1080
|
+
]), /* @__PURE__ */ A("div", {
|
|
1081
|
+
ref: m,
|
|
1082
|
+
className: [
|
|
1083
|
+
"view-mode-toggle",
|
|
1084
|
+
d ? "show-labels" : "",
|
|
1085
|
+
f
|
|
1086
|
+
].filter(Boolean).join(" "),
|
|
1039
1087
|
role: "group",
|
|
1040
|
-
"aria-label":
|
|
1041
|
-
children:
|
|
1042
|
-
|
|
1043
|
-
|
|
1088
|
+
"aria-label": a,
|
|
1089
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1090
|
+
ref: h,
|
|
1091
|
+
"aria-hidden": "true",
|
|
1092
|
+
className: "view-mode-toggle-indicator"
|
|
1093
|
+
}), e.map((e) => {
|
|
1094
|
+
let t = e.value === y, n = qe(e.icon, u);
|
|
1095
|
+
return /* @__PURE__ */ A("button", {
|
|
1044
1096
|
type: "button",
|
|
1045
1097
|
"aria-pressed": t,
|
|
1046
1098
|
disabled: e.disabled,
|
|
1047
1099
|
title: e.title || e.label,
|
|
1048
1100
|
"aria-label": e.title || e.label,
|
|
1101
|
+
ref: (t) => {
|
|
1102
|
+
t ? g.current.set(e.value, t) : g.current.delete(e.value);
|
|
1103
|
+
},
|
|
1049
1104
|
className: [
|
|
1050
1105
|
"view-mode-toggle-option",
|
|
1051
1106
|
t ? "active" : "",
|
|
1052
1107
|
e.disabled ? "disabled" : "",
|
|
1053
|
-
|
|
1108
|
+
p
|
|
1054
1109
|
].filter(Boolean).join(" "),
|
|
1055
|
-
onClick: () =>
|
|
1056
|
-
children: [n && /* @__PURE__ */
|
|
1110
|
+
onClick: () => x(e),
|
|
1111
|
+
children: [n && /* @__PURE__ */ k("span", {
|
|
1057
1112
|
className: "view-mode-toggle-icon",
|
|
1058
1113
|
children: n
|
|
1059
|
-
}),
|
|
1114
|
+
}), d && /* @__PURE__ */ k("span", {
|
|
1060
1115
|
className: "view-mode-toggle-label",
|
|
1061
1116
|
children: e.label
|
|
1062
1117
|
})]
|
|
1063
1118
|
}, e.value);
|
|
1064
|
-
})
|
|
1119
|
+
})]
|
|
1065
1120
|
});
|
|
1066
1121
|
}
|
|
1067
1122
|
//#endregion
|
|
1068
1123
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
1069
|
-
function
|
|
1124
|
+
function Ye(e, n) {
|
|
1070
1125
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1071
1126
|
}
|
|
1072
|
-
function
|
|
1073
|
-
let [
|
|
1074
|
-
|
|
1075
|
-
|
|
1127
|
+
function Xe({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: u = 14, variant: d = "plain", className: f = "", itemClassName: p = "" }) {
|
|
1128
|
+
let m = c(null), h = c(null), g = c(/* @__PURE__ */ new Map()), [_, v] = l(n ?? e[0]?.id ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1129
|
+
let e = h.current, t = g.current.get(y);
|
|
1130
|
+
if (e) {
|
|
1131
|
+
if (!t) {
|
|
1132
|
+
e.style.opacity = "0";
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
e.style.width = `${t.offsetWidth}px`, e.style.height = `${t.offsetHeight}px`, e.style.transform = `translate3d(${t.offsetLeft}px, ${t.offsetTop}px, 0)`, e.style.opacity = "1";
|
|
1136
|
+
}
|
|
1137
|
+
}, [y]);
|
|
1138
|
+
function x(e) {
|
|
1139
|
+
e.disabled || (t === void 0 && v(e.id), r?.(e.id, e));
|
|
1076
1140
|
}
|
|
1077
|
-
return
|
|
1078
|
-
|
|
1141
|
+
return s(() => {
|
|
1142
|
+
b();
|
|
1143
|
+
}, [
|
|
1144
|
+
b,
|
|
1145
|
+
e,
|
|
1146
|
+
u,
|
|
1147
|
+
d,
|
|
1148
|
+
f,
|
|
1149
|
+
p
|
|
1150
|
+
]), o(() => {
|
|
1151
|
+
let e = m.current;
|
|
1152
|
+
if (!e) return;
|
|
1153
|
+
let t = null;
|
|
1154
|
+
function n() {
|
|
1155
|
+
t !== null && cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
1156
|
+
t = null, b();
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
if (n(), typeof ResizeObserver < "u") {
|
|
1160
|
+
let r = new ResizeObserver(n);
|
|
1161
|
+
return r.observe(e), g.current.forEach((e) => r.observe(e)), () => {
|
|
1162
|
+
t !== null && cancelAnimationFrame(t), r.disconnect();
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
return window.addEventListener("resize", n), () => {
|
|
1166
|
+
t !== null && cancelAnimationFrame(t), window.removeEventListener("resize", n);
|
|
1167
|
+
};
|
|
1168
|
+
}, [
|
|
1169
|
+
b,
|
|
1170
|
+
e,
|
|
1171
|
+
u,
|
|
1172
|
+
d,
|
|
1173
|
+
f,
|
|
1174
|
+
p
|
|
1175
|
+
]), /* @__PURE__ */ A("div", {
|
|
1176
|
+
ref: m,
|
|
1177
|
+
className: [
|
|
1178
|
+
"workspace-tabs",
|
|
1179
|
+
d === "contained" ? "workspace-tabs--contained" : "",
|
|
1180
|
+
f
|
|
1181
|
+
].filter(Boolean).join(" "),
|
|
1079
1182
|
role: "tablist",
|
|
1080
|
-
"aria-label":
|
|
1081
|
-
children:
|
|
1082
|
-
|
|
1083
|
-
|
|
1183
|
+
"aria-label": a,
|
|
1184
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1185
|
+
ref: h,
|
|
1186
|
+
"aria-hidden": "true",
|
|
1187
|
+
className: "workspace-tabs-indicator"
|
|
1188
|
+
}), e.map((e) => {
|
|
1189
|
+
let t = e.id === y, n = Ye(e.icon, u);
|
|
1190
|
+
return /* @__PURE__ */ A("button", {
|
|
1084
1191
|
type: "button",
|
|
1085
1192
|
role: "tab",
|
|
1086
1193
|
"aria-selected": t,
|
|
1087
1194
|
disabled: e.disabled,
|
|
1088
1195
|
title: e.label,
|
|
1196
|
+
ref: (t) => {
|
|
1197
|
+
t ? g.current.set(e.id, t) : g.current.delete(e.id);
|
|
1198
|
+
},
|
|
1089
1199
|
className: [
|
|
1090
1200
|
"workspace-tab",
|
|
1091
1201
|
t ? "active" : "",
|
|
1092
1202
|
e.disabled ? "disabled" : "",
|
|
1093
|
-
|
|
1203
|
+
p
|
|
1094
1204
|
].filter(Boolean).join(" "),
|
|
1095
|
-
onClick: () =>
|
|
1205
|
+
onClick: () => x(e),
|
|
1096
1206
|
children: [
|
|
1097
|
-
n && /* @__PURE__ */
|
|
1207
|
+
n && /* @__PURE__ */ k("span", {
|
|
1098
1208
|
className: "workspace-tab-icon",
|
|
1099
1209
|
children: n
|
|
1100
1210
|
}),
|
|
1101
|
-
/* @__PURE__ */
|
|
1211
|
+
/* @__PURE__ */ k("span", {
|
|
1102
1212
|
className: "workspace-tab-label",
|
|
1103
1213
|
children: e.label
|
|
1104
1214
|
}),
|
|
1105
|
-
e.badge != null && /* @__PURE__ */
|
|
1215
|
+
e.badge != null && /* @__PURE__ */ k("span", {
|
|
1106
1216
|
className: "workspace-tab-badge",
|
|
1107
1217
|
children: e.badge
|
|
1108
1218
|
})
|
|
1109
1219
|
]
|
|
1110
1220
|
}, e.id);
|
|
1111
|
-
})
|
|
1221
|
+
})]
|
|
1112
1222
|
});
|
|
1113
1223
|
}
|
|
1114
1224
|
//#endregion
|
|
1115
1225
|
//#region src/components/data/ActivityFeed.jsx
|
|
1116
|
-
function
|
|
1117
|
-
return /* @__PURE__ */
|
|
1226
|
+
function Ze({ items: e = [], className: t = "" }) {
|
|
1227
|
+
return /* @__PURE__ */ k("div", {
|
|
1118
1228
|
className: `activity-feed ${t}`,
|
|
1119
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1229
|
+
children: e.map((e, t) => /* @__PURE__ */ A("div", {
|
|
1120
1230
|
className: "activity-item",
|
|
1121
|
-
children: [/* @__PURE__ */
|
|
1231
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1122
1232
|
className: "activity-avatar",
|
|
1123
|
-
children: /* @__PURE__ */
|
|
1233
|
+
children: /* @__PURE__ */ k(Y, {
|
|
1124
1234
|
name: e.user,
|
|
1125
1235
|
size: "sm"
|
|
1126
1236
|
})
|
|
1127
|
-
}), /* @__PURE__ */
|
|
1237
|
+
}), /* @__PURE__ */ A("div", {
|
|
1128
1238
|
className: "activity-content",
|
|
1129
1239
|
children: [
|
|
1130
|
-
/* @__PURE__ */
|
|
1240
|
+
/* @__PURE__ */ A("div", {
|
|
1131
1241
|
className: "activity-header",
|
|
1132
|
-
children: [/* @__PURE__ */
|
|
1242
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1133
1243
|
className: "activity-name",
|
|
1134
1244
|
children: e.user
|
|
1135
|
-
}), /* @__PURE__ */
|
|
1245
|
+
}), /* @__PURE__ */ k("span", {
|
|
1136
1246
|
className: "activity-time",
|
|
1137
1247
|
children: e.time
|
|
1138
1248
|
})]
|
|
1139
1249
|
}),
|
|
1140
|
-
/* @__PURE__ */
|
|
1250
|
+
/* @__PURE__ */ k("div", {
|
|
1141
1251
|
className: "activity-text",
|
|
1142
1252
|
children: e.text
|
|
1143
1253
|
}),
|
|
1144
|
-
e.meta && /* @__PURE__ */
|
|
1254
|
+
e.meta && /* @__PURE__ */ k("div", {
|
|
1145
1255
|
className: "activity-meta",
|
|
1146
1256
|
children: e.meta
|
|
1147
1257
|
})
|
|
@@ -1152,12 +1262,12 @@ function Xe({ items: e = [], className: t = "" }) {
|
|
|
1152
1262
|
}
|
|
1153
1263
|
//#endregion
|
|
1154
1264
|
//#region src/components/data/CommandBar.jsx
|
|
1155
|
-
function
|
|
1156
|
-
let [a,
|
|
1265
|
+
function Qe({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
1266
|
+
let [a, s] = l(""), [u, d] = l(0), f = c(null);
|
|
1157
1267
|
if (o(() => {
|
|
1158
1268
|
if (e) {
|
|
1159
1269
|
let e = setTimeout(() => {
|
|
1160
|
-
|
|
1270
|
+
s(""), d(0), f.current?.focus();
|
|
1161
1271
|
}, 50);
|
|
1162
1272
|
return () => clearTimeout(e);
|
|
1163
1273
|
}
|
|
@@ -1177,51 +1287,51 @@ function Ze({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1177
1287
|
function h(e) {
|
|
1178
1288
|
e.key === "ArrowDown" ? (e.preventDefault(), d((e) => Math.min(e + 1, p.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), d((e) => Math.max(e - 1, 0))) : e.key === "Enter" && p[u] ? (r?.(p[u]), t?.()) : e.key === "Escape" && t?.();
|
|
1179
1289
|
}
|
|
1180
|
-
return /* @__PURE__ */
|
|
1290
|
+
return /* @__PURE__ */ k("div", {
|
|
1181
1291
|
className: "dialog-overlay",
|
|
1182
1292
|
onClick: (e) => {
|
|
1183
1293
|
e.target === e.currentTarget && t?.();
|
|
1184
1294
|
},
|
|
1185
|
-
children: /* @__PURE__ */
|
|
1295
|
+
children: /* @__PURE__ */ A("div", {
|
|
1186
1296
|
className: "command-palette",
|
|
1187
|
-
children: [/* @__PURE__ */
|
|
1297
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1188
1298
|
className: "command-input-wrapper",
|
|
1189
|
-
children: [/* @__PURE__ */
|
|
1299
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1190
1300
|
className: "command-input-icon",
|
|
1191
|
-
children: /* @__PURE__ */
|
|
1192
|
-
}), /* @__PURE__ */
|
|
1301
|
+
children: /* @__PURE__ */ k(T, { size: 16 })
|
|
1302
|
+
}), /* @__PURE__ */ k("input", {
|
|
1193
1303
|
ref: f,
|
|
1194
1304
|
className: "command-input",
|
|
1195
1305
|
value: a,
|
|
1196
1306
|
onChange: (e) => {
|
|
1197
|
-
|
|
1307
|
+
s(e.target.value), d(0);
|
|
1198
1308
|
},
|
|
1199
1309
|
onKeyDown: h,
|
|
1200
1310
|
placeholder: i
|
|
1201
1311
|
})]
|
|
1202
|
-
}), /* @__PURE__ */
|
|
1312
|
+
}), /* @__PURE__ */ A("div", {
|
|
1203
1313
|
className: "command-results",
|
|
1204
|
-
children: [m.map((e, n) => /* @__PURE__ */
|
|
1314
|
+
children: [m.map((e, n) => /* @__PURE__ */ A("div", { children: [e.showGroup && /* @__PURE__ */ k("div", {
|
|
1205
1315
|
className: "command-group-label",
|
|
1206
1316
|
children: e.group
|
|
1207
|
-
}), /* @__PURE__ */
|
|
1317
|
+
}), /* @__PURE__ */ A("div", {
|
|
1208
1318
|
className: `dropdown-item ${n === u ? "active" : ""}`,
|
|
1209
1319
|
onClick: () => {
|
|
1210
1320
|
r?.(e), t?.();
|
|
1211
1321
|
},
|
|
1212
1322
|
onMouseEnter: () => d(n),
|
|
1213
1323
|
children: [
|
|
1214
|
-
e.icon && /* @__PURE__ */
|
|
1324
|
+
e.icon && /* @__PURE__ */ k("span", {
|
|
1215
1325
|
className: "dropdown-item-icon",
|
|
1216
1326
|
children: e.icon
|
|
1217
1327
|
}),
|
|
1218
1328
|
e.label,
|
|
1219
|
-
e.shortcut && /* @__PURE__ */
|
|
1329
|
+
e.shortcut && /* @__PURE__ */ k("span", {
|
|
1220
1330
|
className: "dropdown-shortcut",
|
|
1221
1331
|
children: e.shortcut
|
|
1222
1332
|
})
|
|
1223
1333
|
]
|
|
1224
|
-
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */
|
|
1334
|
+
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */ k("div", {
|
|
1225
1335
|
style: {
|
|
1226
1336
|
padding: "var(--space-4)",
|
|
1227
1337
|
textAlign: "center",
|
|
@@ -1236,35 +1346,35 @@ function Ze({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1236
1346
|
}
|
|
1237
1347
|
//#endregion
|
|
1238
1348
|
//#region src/components/data/DataTable.jsx
|
|
1239
|
-
function
|
|
1240
|
-
let [i, a] =
|
|
1241
|
-
function
|
|
1349
|
+
function $e({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
1350
|
+
let [i, a] = l(null), [o, s] = l("asc");
|
|
1351
|
+
function c(e) {
|
|
1242
1352
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
1243
1353
|
}
|
|
1244
1354
|
let u = i ? [...t].sort((e, t) => {
|
|
1245
1355
|
let n = e[i], r = t[i], a = typeof n == "number" ? n - r : String(n).localeCompare(String(r));
|
|
1246
1356
|
return o === "asc" ? a : -a;
|
|
1247
1357
|
}) : t;
|
|
1248
|
-
return /* @__PURE__ */
|
|
1358
|
+
return /* @__PURE__ */ k("div", {
|
|
1249
1359
|
className: `table-wrapper ${r}`,
|
|
1250
|
-
children: /* @__PURE__ */
|
|
1251
|
-
onClick: () => e.sortable !== !1 &&
|
|
1360
|
+
children: /* @__PURE__ */ A("table", { children: [/* @__PURE__ */ k("thead", { children: /* @__PURE__ */ k("tr", { children: e.map((e) => /* @__PURE__ */ k("th", {
|
|
1361
|
+
onClick: () => e.sortable !== !1 && c(e.key),
|
|
1252
1362
|
style: {
|
|
1253
1363
|
cursor: e.sortable === !1 ? "default" : "pointer",
|
|
1254
1364
|
width: e.width
|
|
1255
1365
|
},
|
|
1256
|
-
children: /* @__PURE__ */
|
|
1366
|
+
children: /* @__PURE__ */ A("span", {
|
|
1257
1367
|
className: "th-content",
|
|
1258
|
-
children: [e.label, e.sortable !== !1 && /* @__PURE__ */
|
|
1368
|
+
children: [e.label, e.sortable !== !1 && /* @__PURE__ */ k("span", {
|
|
1259
1369
|
className: "th-sort-icon",
|
|
1260
|
-
children: i === e.key ?
|
|
1370
|
+
children: i === e.key ? k(o === "asc" ? v : g, { size: 12 }) : /* @__PURE__ */ k(y, { size: 12 })
|
|
1261
1371
|
})]
|
|
1262
1372
|
})
|
|
1263
|
-
}, e.key)) }) }), /* @__PURE__ */
|
|
1373
|
+
}, e.key)) }) }), /* @__PURE__ */ A("tbody", { children: [u.map((t, r) => /* @__PURE__ */ k("tr", {
|
|
1264
1374
|
onClick: () => n?.(t),
|
|
1265
1375
|
style: { cursor: n ? "pointer" : "default" },
|
|
1266
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1267
|
-
}, t.id || r)), u.length === 0 && /* @__PURE__ */
|
|
1376
|
+
children: e.map((e) => /* @__PURE__ */ k("td", { children: e.render ? e.render(t[e.key], t) : t[e.key] }, e.key))
|
|
1377
|
+
}, t.id || r)), u.length === 0 && /* @__PURE__ */ k("tr", { children: /* @__PURE__ */ k("td", {
|
|
1268
1378
|
colSpan: e.length,
|
|
1269
1379
|
style: {
|
|
1270
1380
|
textAlign: "center",
|
|
@@ -1277,44 +1387,44 @@ function Qe({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
1277
1387
|
}
|
|
1278
1388
|
//#endregion
|
|
1279
1389
|
//#region src/components/data/FilterBar.jsx
|
|
1280
|
-
function
|
|
1390
|
+
function et({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
1281
1391
|
let o = n.some((e) => e.active);
|
|
1282
|
-
return /* @__PURE__ */
|
|
1392
|
+
return /* @__PURE__ */ A("div", {
|
|
1283
1393
|
className: `filter-bar ${a}`,
|
|
1284
1394
|
children: [
|
|
1285
|
-
/* @__PURE__ */
|
|
1395
|
+
/* @__PURE__ */ A("div", {
|
|
1286
1396
|
className: "filter-bar-search",
|
|
1287
1397
|
children: [
|
|
1288
|
-
/* @__PURE__ */
|
|
1289
|
-
/* @__PURE__ */
|
|
1398
|
+
/* @__PURE__ */ k(T, { size: 14 }),
|
|
1399
|
+
/* @__PURE__ */ k("input", {
|
|
1290
1400
|
className: "filter-bar-input",
|
|
1291
1401
|
value: e,
|
|
1292
1402
|
onChange: (e) => t?.(e.target.value),
|
|
1293
1403
|
placeholder: "Search..."
|
|
1294
1404
|
}),
|
|
1295
|
-
e && /* @__PURE__ */
|
|
1405
|
+
e && /* @__PURE__ */ k("button", {
|
|
1296
1406
|
className: "filter-bar-clear",
|
|
1297
1407
|
onClick: () => t?.(""),
|
|
1298
|
-
children: /* @__PURE__ */ O
|
|
1408
|
+
children: /* @__PURE__ */ k(O, { size: 12 })
|
|
1299
1409
|
})
|
|
1300
1410
|
]
|
|
1301
1411
|
}),
|
|
1302
|
-
/* @__PURE__ */
|
|
1412
|
+
/* @__PURE__ */ A("div", {
|
|
1303
1413
|
className: "filter-bar-filters",
|
|
1304
1414
|
children: [
|
|
1305
|
-
/* @__PURE__ */
|
|
1415
|
+
/* @__PURE__ */ k(x, {
|
|
1306
1416
|
size: 14,
|
|
1307
1417
|
style: { color: "var(--text-tertiary)" }
|
|
1308
1418
|
}),
|
|
1309
|
-
n.map((e) => /* @__PURE__ */
|
|
1419
|
+
n.map((e) => /* @__PURE__ */ A("button", {
|
|
1310
1420
|
className: `filter-chip ${e.active ? "active" : ""}`,
|
|
1311
1421
|
onClick: e.onClick,
|
|
1312
|
-
children: [e.label, e.active && e.value && /* @__PURE__ */
|
|
1422
|
+
children: [e.label, e.active && e.value && /* @__PURE__ */ k("span", {
|
|
1313
1423
|
className: "filter-chip-value",
|
|
1314
1424
|
children: e.value
|
|
1315
1425
|
})]
|
|
1316
1426
|
}, e.label)),
|
|
1317
|
-
o && r && /* @__PURE__ */
|
|
1427
|
+
o && r && /* @__PURE__ */ k("button", {
|
|
1318
1428
|
className: "filter-bar-clear-all",
|
|
1319
1429
|
onClick: r,
|
|
1320
1430
|
children: "Clear all"
|
|
@@ -1327,56 +1437,56 @@ function $e({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
1327
1437
|
}
|
|
1328
1438
|
//#endregion
|
|
1329
1439
|
//#region src/components/data/KanbanBoard.jsx
|
|
1330
|
-
function
|
|
1331
|
-
return /* @__PURE__ */
|
|
1440
|
+
function tt({ children: e, className: t = "" }) {
|
|
1441
|
+
return /* @__PURE__ */ k("div", {
|
|
1332
1442
|
className: `kanban-board ${t}`,
|
|
1333
1443
|
children: e
|
|
1334
1444
|
});
|
|
1335
1445
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return /* @__PURE__ */
|
|
1446
|
+
function nt({ title: e, count: t, color: n, children: r, className: i = "" }) {
|
|
1447
|
+
return /* @__PURE__ */ A("div", {
|
|
1338
1448
|
className: `kanban-column ${i}`,
|
|
1339
|
-
children: [/* @__PURE__ */
|
|
1449
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1340
1450
|
className: "kanban-column-header",
|
|
1341
|
-
children: [/* @__PURE__ */
|
|
1451
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1342
1452
|
className: "kanban-column-title",
|
|
1343
|
-
children: [n && /* @__PURE__ */
|
|
1453
|
+
children: [n && /* @__PURE__ */ k("span", {
|
|
1344
1454
|
className: "kanban-column-dot",
|
|
1345
1455
|
style: { background: n }
|
|
1346
|
-
}), /* @__PURE__ */
|
|
1347
|
-
}), /* @__PURE__ */
|
|
1456
|
+
}), /* @__PURE__ */ k("span", { children: e })]
|
|
1457
|
+
}), /* @__PURE__ */ k("span", {
|
|
1348
1458
|
className: "kanban-column-count",
|
|
1349
1459
|
children: t
|
|
1350
1460
|
})]
|
|
1351
|
-
}), /* @__PURE__ */
|
|
1461
|
+
}), /* @__PURE__ */ k("div", {
|
|
1352
1462
|
className: "kanban-column-body",
|
|
1353
1463
|
children: r
|
|
1354
1464
|
})]
|
|
1355
1465
|
});
|
|
1356
1466
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return /* @__PURE__ */
|
|
1467
|
+
function rt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, onClick: a, className: o = "" }) {
|
|
1468
|
+
return /* @__PURE__ */ A("div", {
|
|
1359
1469
|
className: `kanban-card ${o}`,
|
|
1360
1470
|
onClick: a,
|
|
1361
|
-
children: [/* @__PURE__ */
|
|
1471
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1362
1472
|
className: "kanban-card-body",
|
|
1363
1473
|
children: [
|
|
1364
|
-
/* @__PURE__ */
|
|
1474
|
+
/* @__PURE__ */ k("span", {
|
|
1365
1475
|
className: "kanban-card-title",
|
|
1366
1476
|
children: e
|
|
1367
1477
|
}),
|
|
1368
|
-
t && /* @__PURE__ */
|
|
1478
|
+
t && /* @__PURE__ */ k("span", {
|
|
1369
1479
|
className: "kanban-card-subtitle",
|
|
1370
1480
|
children: t
|
|
1371
1481
|
}),
|
|
1372
|
-
n && /* @__PURE__ */
|
|
1482
|
+
n && /* @__PURE__ */ k("div", {
|
|
1373
1483
|
className: "kanban-card-badges",
|
|
1374
1484
|
children: n
|
|
1375
1485
|
})
|
|
1376
1486
|
]
|
|
1377
|
-
}), (r || i) && /* @__PURE__ */
|
|
1487
|
+
}), (r || i) && /* @__PURE__ */ A("div", {
|
|
1378
1488
|
className: "kanban-card-footer",
|
|
1379
|
-
children: [i && /* @__PURE__ */
|
|
1489
|
+
children: [i && /* @__PURE__ */ k("span", {
|
|
1380
1490
|
className: "kanban-card-footer-text",
|
|
1381
1491
|
children: i
|
|
1382
1492
|
}), r]
|
|
@@ -1388,100 +1498,100 @@ function nt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, onClick: a
|
|
|
1388
1498
|
function Q(...e) {
|
|
1389
1499
|
return e.filter(Boolean).join(" ");
|
|
1390
1500
|
}
|
|
1391
|
-
function
|
|
1392
|
-
return /* @__PURE__ */
|
|
1501
|
+
function it({ children: e, className: t = "" }) {
|
|
1502
|
+
return /* @__PURE__ */ k("div", {
|
|
1393
1503
|
className: Q("table-board", t),
|
|
1394
1504
|
children: e
|
|
1395
1505
|
});
|
|
1396
1506
|
}
|
|
1397
|
-
function
|
|
1398
|
-
let [s,
|
|
1507
|
+
function at({ title: e, count: t, open: n, defaultOpen: r = !0, onOpenChange: i, children: a, className: o = "" }) {
|
|
1508
|
+
let [s, c] = l(r), u = n != null, d = u ? n : s;
|
|
1399
1509
|
function f() {
|
|
1400
1510
|
let e = !d;
|
|
1401
|
-
u ||
|
|
1511
|
+
u || c(e), i?.(e);
|
|
1402
1512
|
}
|
|
1403
|
-
return /* @__PURE__ */
|
|
1513
|
+
return /* @__PURE__ */ A("section", {
|
|
1404
1514
|
className: Q("table-board-group", o),
|
|
1405
|
-
children: [/* @__PURE__ */
|
|
1515
|
+
children: [/* @__PURE__ */ A("button", {
|
|
1406
1516
|
type: "button",
|
|
1407
1517
|
className: "table-board-group-header",
|
|
1408
1518
|
onClick: f,
|
|
1409
1519
|
"aria-expanded": d,
|
|
1410
1520
|
children: [
|
|
1411
|
-
/* @__PURE__ */
|
|
1521
|
+
/* @__PURE__ */ k("span", {
|
|
1412
1522
|
className: Q("table-board-group-chevron", !d && "collapsed"),
|
|
1413
|
-
children: /* @__PURE__ */
|
|
1523
|
+
children: /* @__PURE__ */ k(g, { size: 12 })
|
|
1414
1524
|
}),
|
|
1415
|
-
/* @__PURE__ */
|
|
1525
|
+
/* @__PURE__ */ k("span", {
|
|
1416
1526
|
className: "table-board-group-label",
|
|
1417
1527
|
children: e
|
|
1418
1528
|
}),
|
|
1419
|
-
t != null && /* @__PURE__ */
|
|
1529
|
+
t != null && /* @__PURE__ */ k("span", {
|
|
1420
1530
|
className: "table-board-group-count",
|
|
1421
1531
|
children: t
|
|
1422
1532
|
})
|
|
1423
1533
|
]
|
|
1424
|
-
}), /* @__PURE__ */
|
|
1534
|
+
}), /* @__PURE__ */ k("div", {
|
|
1425
1535
|
className: Q("table-board-group-panel", d && "open"),
|
|
1426
|
-
children: /* @__PURE__ */
|
|
1536
|
+
children: /* @__PURE__ */ k("div", {
|
|
1427
1537
|
className: "table-board-group-panel-inner",
|
|
1428
1538
|
children: a
|
|
1429
1539
|
})
|
|
1430
1540
|
})]
|
|
1431
1541
|
});
|
|
1432
1542
|
}
|
|
1433
|
-
function
|
|
1543
|
+
function ot({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: r, pills: i = [], metric: a, showMetricIcon: o = !0, avatar: s, avatarLabel: c, avatarName: l, avatarStyle: u, meta: d, onClick: f, className: p = "" }) {
|
|
1434
1544
|
let m = typeof f == "function";
|
|
1435
1545
|
function h(e) {
|
|
1436
1546
|
m && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), f());
|
|
1437
1547
|
}
|
|
1438
|
-
let g = s || (c ? /* @__PURE__ */
|
|
1548
|
+
let g = s || (c ? /* @__PURE__ */ k(Y, {
|
|
1439
1549
|
initials: c,
|
|
1440
1550
|
name: l || c,
|
|
1441
1551
|
size: "sm",
|
|
1442
1552
|
className: "table-board-avatar",
|
|
1443
1553
|
style: u
|
|
1444
1554
|
}) : null);
|
|
1445
|
-
return /* @__PURE__ */
|
|
1555
|
+
return /* @__PURE__ */ A("div", {
|
|
1446
1556
|
className: Q("table-board-row", m && "clickable", p),
|
|
1447
1557
|
onClick: f,
|
|
1448
1558
|
onKeyDown: h,
|
|
1449
1559
|
role: m ? "button" : void 0,
|
|
1450
1560
|
tabIndex: m ? 0 : void 0,
|
|
1451
1561
|
children: [
|
|
1452
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ k("span", {
|
|
1453
1563
|
className: "table-board-priority",
|
|
1454
1564
|
children: e
|
|
1455
1565
|
}),
|
|
1456
|
-
t && /* @__PURE__ */
|
|
1566
|
+
t && /* @__PURE__ */ k("span", {
|
|
1457
1567
|
className: "table-board-id",
|
|
1458
1568
|
children: t
|
|
1459
1569
|
}),
|
|
1460
|
-
/* @__PURE__ */
|
|
1570
|
+
/* @__PURE__ */ k("span", {
|
|
1461
1571
|
className: "table-board-status",
|
|
1462
|
-
children: /* @__PURE__ */
|
|
1572
|
+
children: /* @__PURE__ */ k("span", {
|
|
1463
1573
|
className: "table-board-status-dot",
|
|
1464
1574
|
style: { background: n }
|
|
1465
1575
|
})
|
|
1466
1576
|
}),
|
|
1467
|
-
/* @__PURE__ */
|
|
1577
|
+
/* @__PURE__ */ k("span", {
|
|
1468
1578
|
className: "table-board-title",
|
|
1469
1579
|
children: r
|
|
1470
1580
|
}),
|
|
1471
|
-
/* @__PURE__ */
|
|
1472
|
-
i.map((e, t) => /* @__PURE__ */
|
|
1581
|
+
/* @__PURE__ */ k("span", { className: "table-board-spacer" }),
|
|
1582
|
+
i.map((e, t) => /* @__PURE__ */ A("span", {
|
|
1473
1583
|
className: "table-board-pill",
|
|
1474
|
-
children: [/* @__PURE__ */
|
|
1584
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1475
1585
|
className: "table-board-pill-dot",
|
|
1476
1586
|
style: { background: e.color || "var(--text-quaternary)" }
|
|
1477
1587
|
}), e.label]
|
|
1478
1588
|
}, `${e.label}-${t}`)),
|
|
1479
|
-
a != null && /* @__PURE__ */
|
|
1589
|
+
a != null && /* @__PURE__ */ A("span", {
|
|
1480
1590
|
className: "table-board-metric",
|
|
1481
|
-
children: [o && /* @__PURE__ */
|
|
1591
|
+
children: [o && /* @__PURE__ */ k(b, { size: 12 }), a]
|
|
1482
1592
|
}),
|
|
1483
1593
|
g,
|
|
1484
|
-
d && /* @__PURE__ */
|
|
1594
|
+
d && /* @__PURE__ */ k("span", {
|
|
1485
1595
|
className: "table-board-meta",
|
|
1486
1596
|
children: d
|
|
1487
1597
|
})
|
|
@@ -1490,40 +1600,40 @@ function at({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
1490
1600
|
}
|
|
1491
1601
|
//#endregion
|
|
1492
1602
|
//#region src/components/data/KPICard.jsx
|
|
1493
|
-
function
|
|
1603
|
+
function st({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
1494
1604
|
let s = {
|
|
1495
1605
|
up: "var(--accent-green)",
|
|
1496
1606
|
down: "var(--accent-red)",
|
|
1497
1607
|
neutral: "var(--text-tertiary)"
|
|
1498
|
-
}, c = i === "up" ?
|
|
1499
|
-
return /* @__PURE__ */
|
|
1608
|
+
}, c = i === "up" ? D : i === "down" ? E : w;
|
|
1609
|
+
return /* @__PURE__ */ A("div", {
|
|
1500
1610
|
className: `kpi-card ${o}`,
|
|
1501
1611
|
children: [
|
|
1502
|
-
/* @__PURE__ */
|
|
1612
|
+
/* @__PURE__ */ A("div", {
|
|
1503
1613
|
className: "kpi-header",
|
|
1504
|
-
children: [/* @__PURE__ */
|
|
1614
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1505
1615
|
className: "kpi-title",
|
|
1506
1616
|
children: e
|
|
1507
|
-
}), a && /* @__PURE__ */
|
|
1617
|
+
}), a && /* @__PURE__ */ k("span", {
|
|
1508
1618
|
className: "kpi-icon",
|
|
1509
1619
|
children: a
|
|
1510
1620
|
})]
|
|
1511
1621
|
}),
|
|
1512
|
-
/* @__PURE__ */
|
|
1622
|
+
/* @__PURE__ */ k("div", {
|
|
1513
1623
|
className: "kpi-value",
|
|
1514
1624
|
children: t
|
|
1515
1625
|
}),
|
|
1516
|
-
(n !== void 0 || r) && /* @__PURE__ */
|
|
1626
|
+
(n !== void 0 || r) && /* @__PURE__ */ A("div", {
|
|
1517
1627
|
className: "kpi-footer",
|
|
1518
|
-
children: [/* @__PURE__ */
|
|
1628
|
+
children: [/* @__PURE__ */ A("span", {
|
|
1519
1629
|
className: "kpi-trend",
|
|
1520
1630
|
style: { color: s[i] },
|
|
1521
|
-
children: [/* @__PURE__ */
|
|
1631
|
+
children: [/* @__PURE__ */ k(c, { size: 12 }), n !== void 0 && /* @__PURE__ */ A("span", { children: [
|
|
1522
1632
|
n > 0 ? "+" : "",
|
|
1523
1633
|
n,
|
|
1524
1634
|
"%"
|
|
1525
1635
|
] })]
|
|
1526
|
-
}), r && /* @__PURE__ */
|
|
1636
|
+
}), r && /* @__PURE__ */ k("span", {
|
|
1527
1637
|
className: "kpi-change-label",
|
|
1528
1638
|
children: r
|
|
1529
1639
|
})]
|
|
@@ -1531,24 +1641,24 @@ function ot({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
1531
1641
|
]
|
|
1532
1642
|
});
|
|
1533
1643
|
}
|
|
1534
|
-
function
|
|
1535
|
-
return /* @__PURE__ */
|
|
1644
|
+
function ct({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
1645
|
+
return /* @__PURE__ */ A("div", {
|
|
1536
1646
|
className: `stat-card ${i}`,
|
|
1537
|
-
children: [r && /* @__PURE__ */
|
|
1647
|
+
children: [r && /* @__PURE__ */ k("div", {
|
|
1538
1648
|
className: "stat-card-accent",
|
|
1539
1649
|
style: { background: r }
|
|
1540
|
-
}), /* @__PURE__ */
|
|
1650
|
+
}), /* @__PURE__ */ A("div", {
|
|
1541
1651
|
className: "stat-card-content",
|
|
1542
1652
|
children: [
|
|
1543
|
-
/* @__PURE__ */
|
|
1653
|
+
/* @__PURE__ */ k("span", {
|
|
1544
1654
|
className: "stat-card-label",
|
|
1545
1655
|
children: e
|
|
1546
1656
|
}),
|
|
1547
|
-
/* @__PURE__ */
|
|
1657
|
+
/* @__PURE__ */ k("span", {
|
|
1548
1658
|
className: "stat-card-value",
|
|
1549
1659
|
children: t
|
|
1550
1660
|
}),
|
|
1551
|
-
n && /* @__PURE__ */
|
|
1661
|
+
n && /* @__PURE__ */ k("span", {
|
|
1552
1662
|
className: "stat-card-subtitle",
|
|
1553
1663
|
children: n
|
|
1554
1664
|
})
|
|
@@ -1558,56 +1668,56 @@ function st({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
1558
1668
|
}
|
|
1559
1669
|
//#endregion
|
|
1560
1670
|
//#region src/components/data/NotificationsPanel.jsx
|
|
1561
|
-
function
|
|
1671
|
+
function lt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
1562
1672
|
let i = e.filter((e) => !e.read);
|
|
1563
|
-
return /* @__PURE__ */
|
|
1673
|
+
return /* @__PURE__ */ A("div", {
|
|
1564
1674
|
className: `notifications-panel ${r}`,
|
|
1565
|
-
children: [/* @__PURE__ */
|
|
1675
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1566
1676
|
className: "notifications-header",
|
|
1567
|
-
children: [/* @__PURE__ */
|
|
1677
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1568
1678
|
className: "notifications-title",
|
|
1569
1679
|
children: [
|
|
1570
|
-
/* @__PURE__ */
|
|
1571
|
-
/* @__PURE__ */
|
|
1572
|
-
i.length > 0 && /* @__PURE__ */
|
|
1680
|
+
/* @__PURE__ */ k(f, { size: 16 }),
|
|
1681
|
+
/* @__PURE__ */ k("span", { children: "Notifications" }),
|
|
1682
|
+
i.length > 0 && /* @__PURE__ */ k("span", {
|
|
1573
1683
|
className: "badge badge-purple",
|
|
1574
1684
|
style: { marginLeft: "var(--space-1)" },
|
|
1575
1685
|
children: i.length
|
|
1576
1686
|
})
|
|
1577
1687
|
]
|
|
1578
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
1688
|
+
}), i.length > 0 && /* @__PURE__ */ A("button", {
|
|
1579
1689
|
className: "btn btn-ghost btn-sm",
|
|
1580
1690
|
onClick: n,
|
|
1581
|
-
children: [/* @__PURE__ */
|
|
1691
|
+
children: [/* @__PURE__ */ k(m, { size: 14 }), " Mark all read"]
|
|
1582
1692
|
})]
|
|
1583
|
-
}), /* @__PURE__ */
|
|
1693
|
+
}), /* @__PURE__ */ A("div", {
|
|
1584
1694
|
className: "notifications-list",
|
|
1585
|
-
children: [e.length === 0 && /* @__PURE__ */
|
|
1695
|
+
children: [e.length === 0 && /* @__PURE__ */ k("div", {
|
|
1586
1696
|
className: "notifications-empty",
|
|
1587
1697
|
children: "No notifications"
|
|
1588
|
-
}), e.map((e) => /* @__PURE__ */
|
|
1698
|
+
}), e.map((e) => /* @__PURE__ */ A("div", {
|
|
1589
1699
|
className: `notification-item ${e.read ? "" : "unread"}`,
|
|
1590
1700
|
onClick: () => !e.read && t?.(e.id),
|
|
1591
1701
|
children: [
|
|
1592
|
-
/* @__PURE__ */
|
|
1702
|
+
/* @__PURE__ */ k(Y, {
|
|
1593
1703
|
name: e.user,
|
|
1594
1704
|
size: "sm"
|
|
1595
1705
|
}),
|
|
1596
|
-
/* @__PURE__ */
|
|
1706
|
+
/* @__PURE__ */ A("div", {
|
|
1597
1707
|
className: "notification-content",
|
|
1598
|
-
children: [/* @__PURE__ */
|
|
1708
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1599
1709
|
className: "notification-text",
|
|
1600
1710
|
children: [
|
|
1601
|
-
/* @__PURE__ */
|
|
1711
|
+
/* @__PURE__ */ k("strong", { children: e.user }),
|
|
1602
1712
|
" ",
|
|
1603
1713
|
e.text
|
|
1604
1714
|
]
|
|
1605
|
-
}), /* @__PURE__ */
|
|
1715
|
+
}), /* @__PURE__ */ k("span", {
|
|
1606
1716
|
className: "notification-time",
|
|
1607
1717
|
children: e.time
|
|
1608
1718
|
})]
|
|
1609
1719
|
}),
|
|
1610
|
-
!e.read && /* @__PURE__ */
|
|
1720
|
+
!e.read && /* @__PURE__ */ k("div", { className: "notification-dot" })
|
|
1611
1721
|
]
|
|
1612
1722
|
}, e.id))]
|
|
1613
1723
|
})]
|
|
@@ -1615,46 +1725,46 @@ function ct({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
1615
1725
|
}
|
|
1616
1726
|
//#endregion
|
|
1617
1727
|
//#region src/components/Icons.jsx
|
|
1618
|
-
function
|
|
1619
|
-
return /* @__PURE__ */
|
|
1728
|
+
function ut() {
|
|
1729
|
+
return /* @__PURE__ */ k("svg", {
|
|
1620
1730
|
width: "16",
|
|
1621
1731
|
height: "16",
|
|
1622
1732
|
viewBox: "0 0 16 16",
|
|
1623
1733
|
fill: "currentColor",
|
|
1624
|
-
children: /* @__PURE__ */
|
|
1734
|
+
children: /* @__PURE__ */ k("path", { d: "M2 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6.5l-2.5-2.5a.5.5 0 0 0-.354-.146H8.5a.5.5 0 0 0-.5.5v2.793L6.854 9.001a.5.5 0 0 0-.708 0L2 13.147V3Zm12 8.207V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-.44l4.5-4.5L8.146 9.707a.5.5 0 0 0 .708 0L11.5 7.06l2.5 2.5V11.207Z" })
|
|
1625
1735
|
});
|
|
1626
1736
|
}
|
|
1627
|
-
function
|
|
1628
|
-
return /* @__PURE__ */
|
|
1737
|
+
function dt() {
|
|
1738
|
+
return /* @__PURE__ */ A("svg", {
|
|
1629
1739
|
width: "16",
|
|
1630
1740
|
height: "16",
|
|
1631
1741
|
viewBox: "0 0 16 16",
|
|
1632
1742
|
fill: "currentColor",
|
|
1633
|
-
children: [/* @__PURE__ */
|
|
1743
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
1634
1744
|
cx: "8",
|
|
1635
1745
|
cy: "8",
|
|
1636
1746
|
r: "6",
|
|
1637
1747
|
fill: "none",
|
|
1638
1748
|
stroke: "currentColor",
|
|
1639
1749
|
strokeWidth: "1.5"
|
|
1640
|
-
}), /* @__PURE__ */
|
|
1750
|
+
}), /* @__PURE__ */ k("circle", {
|
|
1641
1751
|
cx: "8",
|
|
1642
1752
|
cy: "8",
|
|
1643
1753
|
r: "2"
|
|
1644
1754
|
})]
|
|
1645
1755
|
});
|
|
1646
1756
|
}
|
|
1647
|
-
function
|
|
1648
|
-
return /* @__PURE__ */
|
|
1757
|
+
function ft() {
|
|
1758
|
+
return /* @__PURE__ */ k("svg", {
|
|
1649
1759
|
width: "16",
|
|
1650
1760
|
height: "16",
|
|
1651
1761
|
viewBox: "0 0 16 16",
|
|
1652
1762
|
fill: "currentColor",
|
|
1653
|
-
children: /* @__PURE__ */
|
|
1763
|
+
children: /* @__PURE__ */ k("path", { d: "M8 1l2.2 4.4L15 6.3l-3.5 3.4.8 4.9L8 12.4 3.7 14.6l.8-4.9L1 6.3l4.8-.9L8 1Z" })
|
|
1654
1764
|
});
|
|
1655
1765
|
}
|
|
1656
|
-
function
|
|
1657
|
-
return /* @__PURE__ */
|
|
1766
|
+
function pt() {
|
|
1767
|
+
return /* @__PURE__ */ k("svg", {
|
|
1658
1768
|
width: "16",
|
|
1659
1769
|
height: "16",
|
|
1660
1770
|
viewBox: "0 0 16 16",
|
|
@@ -1663,45 +1773,45 @@ function ft() {
|
|
|
1663
1773
|
strokeWidth: "1.5",
|
|
1664
1774
|
strokeLinecap: "round",
|
|
1665
1775
|
strokeLinejoin: "round",
|
|
1666
|
-
children: /* @__PURE__ */
|
|
1776
|
+
children: /* @__PURE__ */ k("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
1667
1777
|
});
|
|
1668
1778
|
}
|
|
1669
|
-
function
|
|
1670
|
-
return /* @__PURE__ */
|
|
1779
|
+
function mt() {
|
|
1780
|
+
return /* @__PURE__ */ k("svg", {
|
|
1671
1781
|
width: "16",
|
|
1672
1782
|
height: "16",
|
|
1673
1783
|
viewBox: "0 0 16 16",
|
|
1674
1784
|
fill: "currentColor",
|
|
1675
|
-
children: /* @__PURE__ */
|
|
1785
|
+
children: /* @__PURE__ */ k("path", { d: "M3 2h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm1 3v2h8V5H4Zm0 4v2h5V9H4Z" })
|
|
1676
1786
|
});
|
|
1677
1787
|
}
|
|
1678
|
-
function
|
|
1679
|
-
return /* @__PURE__ */
|
|
1788
|
+
function ht() {
|
|
1789
|
+
return /* @__PURE__ */ k("svg", {
|
|
1680
1790
|
width: "16",
|
|
1681
1791
|
height: "16",
|
|
1682
1792
|
viewBox: "0 0 16 16",
|
|
1683
1793
|
fill: "currentColor",
|
|
1684
|
-
children: /* @__PURE__ */
|
|
1794
|
+
children: /* @__PURE__ */ k("path", { d: "M2 3.5A1.5 1.5 0 0 1 3.5 2h3.379a1.5 1.5 0 0 1 1.06.44l.622.62A1.5 1.5 0 0 0 9.622 3.5H12.5A1.5 1.5 0 0 1 14 5v7.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 12.5v-9Z" })
|
|
1685
1795
|
});
|
|
1686
1796
|
}
|
|
1687
|
-
function
|
|
1688
|
-
return /* @__PURE__ */
|
|
1797
|
+
function gt() {
|
|
1798
|
+
return /* @__PURE__ */ A("svg", {
|
|
1689
1799
|
width: "16",
|
|
1690
1800
|
height: "16",
|
|
1691
1801
|
viewBox: "0 0 16 16",
|
|
1692
1802
|
fill: "currentColor",
|
|
1693
1803
|
children: [
|
|
1694
|
-
/* @__PURE__ */
|
|
1804
|
+
/* @__PURE__ */ k("circle", {
|
|
1695
1805
|
cx: "4",
|
|
1696
1806
|
cy: "8",
|
|
1697
1807
|
r: "1.5"
|
|
1698
1808
|
}),
|
|
1699
|
-
/* @__PURE__ */
|
|
1809
|
+
/* @__PURE__ */ k("circle", {
|
|
1700
1810
|
cx: "8",
|
|
1701
1811
|
cy: "8",
|
|
1702
1812
|
r: "1.5"
|
|
1703
1813
|
}),
|
|
1704
|
-
/* @__PURE__ */
|
|
1814
|
+
/* @__PURE__ */ k("circle", {
|
|
1705
1815
|
cx: "12",
|
|
1706
1816
|
cy: "8",
|
|
1707
1817
|
r: "1.5"
|
|
@@ -1709,26 +1819,26 @@ function ht() {
|
|
|
1709
1819
|
]
|
|
1710
1820
|
});
|
|
1711
1821
|
}
|
|
1712
|
-
function
|
|
1713
|
-
return /* @__PURE__ */
|
|
1822
|
+
function _t() {
|
|
1823
|
+
return /* @__PURE__ */ A("svg", {
|
|
1714
1824
|
width: "16",
|
|
1715
1825
|
height: "16",
|
|
1716
1826
|
viewBox: "0 0 16 16",
|
|
1717
1827
|
fill: "none",
|
|
1718
1828
|
stroke: "currentColor",
|
|
1719
1829
|
strokeWidth: "1.5",
|
|
1720
|
-
children: [/* @__PURE__ */
|
|
1830
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
1721
1831
|
cx: "7",
|
|
1722
1832
|
cy: "7",
|
|
1723
1833
|
r: "4.5"
|
|
1724
|
-
}), /* @__PURE__ */
|
|
1834
|
+
}), /* @__PURE__ */ k("path", {
|
|
1725
1835
|
d: "M10.5 10.5L14 14",
|
|
1726
1836
|
strokeLinecap: "round"
|
|
1727
1837
|
})]
|
|
1728
1838
|
});
|
|
1729
1839
|
}
|
|
1730
|
-
function
|
|
1731
|
-
return /* @__PURE__ */
|
|
1840
|
+
function vt() {
|
|
1841
|
+
return /* @__PURE__ */ k("svg", {
|
|
1732
1842
|
width: "16",
|
|
1733
1843
|
height: "16",
|
|
1734
1844
|
viewBox: "0 0 16 16",
|
|
@@ -1737,11 +1847,11 @@ function _t() {
|
|
|
1737
1847
|
strokeWidth: "1.5",
|
|
1738
1848
|
strokeLinecap: "round",
|
|
1739
1849
|
strokeLinejoin: "round",
|
|
1740
|
-
children: /* @__PURE__ */
|
|
1850
|
+
children: /* @__PURE__ */ k("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
1741
1851
|
});
|
|
1742
1852
|
}
|
|
1743
|
-
function
|
|
1744
|
-
return /* @__PURE__ */
|
|
1853
|
+
function yt() {
|
|
1854
|
+
return /* @__PURE__ */ k("svg", {
|
|
1745
1855
|
width: "14",
|
|
1746
1856
|
height: "14",
|
|
1747
1857
|
viewBox: "0 0 14 14",
|
|
@@ -1750,11 +1860,11 @@ function vt() {
|
|
|
1750
1860
|
strokeWidth: "1.5",
|
|
1751
1861
|
strokeLinecap: "round",
|
|
1752
1862
|
strokeLinejoin: "round",
|
|
1753
|
-
children: /* @__PURE__ */
|
|
1863
|
+
children: /* @__PURE__ */ k("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
1754
1864
|
});
|
|
1755
1865
|
}
|
|
1756
|
-
function
|
|
1757
|
-
return /* @__PURE__ */
|
|
1866
|
+
function bt() {
|
|
1867
|
+
return /* @__PURE__ */ k("svg", {
|
|
1758
1868
|
width: "14",
|
|
1759
1869
|
height: "14",
|
|
1760
1870
|
viewBox: "0 0 14 14",
|
|
@@ -1763,24 +1873,24 @@ function yt() {
|
|
|
1763
1873
|
strokeWidth: "1.5",
|
|
1764
1874
|
strokeLinecap: "round",
|
|
1765
1875
|
strokeLinejoin: "round",
|
|
1766
|
-
children: /* @__PURE__ */
|
|
1876
|
+
children: /* @__PURE__ */ k("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
1767
1877
|
});
|
|
1768
1878
|
}
|
|
1769
|
-
function
|
|
1770
|
-
return /* @__PURE__ */
|
|
1879
|
+
function xt() {
|
|
1880
|
+
return /* @__PURE__ */ k("svg", {
|
|
1771
1881
|
width: "14",
|
|
1772
1882
|
height: "14",
|
|
1773
1883
|
viewBox: "0 0 14 14",
|
|
1774
1884
|
fill: "#c9a84e",
|
|
1775
|
-
children: /* @__PURE__ */
|
|
1885
|
+
children: /* @__PURE__ */ k("path", { d: "M7 1l1.76 3.52L13 5.26l-3 2.94.7 4.13L7 10.4 3.3 12.33l.7-4.13-3-2.94 4.24-.74L7 1Z" })
|
|
1776
1886
|
});
|
|
1777
1887
|
}
|
|
1778
|
-
function
|
|
1779
|
-
return /* @__PURE__ */
|
|
1888
|
+
function St() {
|
|
1889
|
+
return /* @__PURE__ */ A("svg", {
|
|
1780
1890
|
width: "14",
|
|
1781
1891
|
height: "14",
|
|
1782
1892
|
viewBox: "0 0 14 14",
|
|
1783
|
-
children: [/* @__PURE__ */
|
|
1893
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
1784
1894
|
cx: "7",
|
|
1785
1895
|
cy: "7",
|
|
1786
1896
|
r: "5.5",
|
|
@@ -1788,7 +1898,7 @@ function xt() {
|
|
|
1788
1898
|
stroke: "#c9a84e",
|
|
1789
1899
|
strokeWidth: "1.5",
|
|
1790
1900
|
strokeDasharray: "8.6 2.9"
|
|
1791
|
-
}), /* @__PURE__ */
|
|
1901
|
+
}), /* @__PURE__ */ k("circle", {
|
|
1792
1902
|
cx: "7",
|
|
1793
1903
|
cy: "7",
|
|
1794
1904
|
r: "2",
|
|
@@ -1796,17 +1906,17 @@ function xt() {
|
|
|
1796
1906
|
})]
|
|
1797
1907
|
});
|
|
1798
1908
|
}
|
|
1799
|
-
function
|
|
1800
|
-
return /* @__PURE__ */
|
|
1909
|
+
function Ct() {
|
|
1910
|
+
return /* @__PURE__ */ A("svg", {
|
|
1801
1911
|
width: "14",
|
|
1802
1912
|
height: "14",
|
|
1803
1913
|
viewBox: "0 0 14 14",
|
|
1804
|
-
children: [/* @__PURE__ */
|
|
1914
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
1805
1915
|
cx: "7",
|
|
1806
1916
|
cy: "7",
|
|
1807
1917
|
r: "6",
|
|
1808
1918
|
fill: "#5bb98e"
|
|
1809
|
-
}), /* @__PURE__ */
|
|
1919
|
+
}), /* @__PURE__ */ k("path", {
|
|
1810
1920
|
d: "M4.5 7l2 2 3-3.5",
|
|
1811
1921
|
stroke: "#08090a",
|
|
1812
1922
|
strokeWidth: "1.5",
|
|
@@ -1816,12 +1926,12 @@ function St() {
|
|
|
1816
1926
|
})]
|
|
1817
1927
|
});
|
|
1818
1928
|
}
|
|
1819
|
-
function
|
|
1820
|
-
return /* @__PURE__ */
|
|
1929
|
+
function wt() {
|
|
1930
|
+
return /* @__PURE__ */ k("svg", {
|
|
1821
1931
|
width: "14",
|
|
1822
1932
|
height: "14",
|
|
1823
1933
|
viewBox: "0 0 14 14",
|
|
1824
|
-
children: /* @__PURE__ */
|
|
1934
|
+
children: /* @__PURE__ */ k("circle", {
|
|
1825
1935
|
cx: "7",
|
|
1826
1936
|
cy: "7",
|
|
1827
1937
|
r: "5.5",
|
|
@@ -1831,12 +1941,12 @@ function Ct() {
|
|
|
1831
1941
|
})
|
|
1832
1942
|
});
|
|
1833
1943
|
}
|
|
1834
|
-
function
|
|
1835
|
-
return /* @__PURE__ */
|
|
1944
|
+
function Tt() {
|
|
1945
|
+
return /* @__PURE__ */ k("svg", {
|
|
1836
1946
|
width: "14",
|
|
1837
1947
|
height: "14",
|
|
1838
1948
|
viewBox: "0 0 14 14",
|
|
1839
|
-
children: /* @__PURE__ */
|
|
1949
|
+
children: /* @__PURE__ */ k("circle", {
|
|
1840
1950
|
cx: "7",
|
|
1841
1951
|
cy: "7",
|
|
1842
1952
|
r: "5.5",
|
|
@@ -1847,19 +1957,19 @@ function wt() {
|
|
|
1847
1957
|
})
|
|
1848
1958
|
});
|
|
1849
1959
|
}
|
|
1850
|
-
function
|
|
1851
|
-
return /* @__PURE__ */
|
|
1960
|
+
function Et() {
|
|
1961
|
+
return /* @__PURE__ */ A("svg", {
|
|
1852
1962
|
width: "14",
|
|
1853
1963
|
height: "14",
|
|
1854
1964
|
viewBox: "0 0 14 14",
|
|
1855
|
-
children: [/* @__PURE__ */
|
|
1965
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
1856
1966
|
cx: "7",
|
|
1857
1967
|
cy: "7",
|
|
1858
1968
|
r: "5.5",
|
|
1859
1969
|
fill: "none",
|
|
1860
1970
|
stroke: "#6b6d71",
|
|
1861
1971
|
strokeWidth: "1.5"
|
|
1862
|
-
}), /* @__PURE__ */
|
|
1972
|
+
}), /* @__PURE__ */ k("path", {
|
|
1863
1973
|
d: "M4.5 7h5",
|
|
1864
1974
|
stroke: "#6b6d71",
|
|
1865
1975
|
strokeWidth: "1.5",
|
|
@@ -1867,37 +1977,37 @@ function Tt() {
|
|
|
1867
1977
|
})]
|
|
1868
1978
|
});
|
|
1869
1979
|
}
|
|
1870
|
-
function
|
|
1871
|
-
return /* @__PURE__ */
|
|
1980
|
+
function $() {
|
|
1981
|
+
return /* @__PURE__ */ k("svg", {
|
|
1872
1982
|
width: "14",
|
|
1873
1983
|
height: "14",
|
|
1874
1984
|
viewBox: "0 0 14 14",
|
|
1875
1985
|
fill: "#c75a5a",
|
|
1876
|
-
children: /* @__PURE__ */
|
|
1986
|
+
children: /* @__PURE__ */ k("path", { d: "M7 1a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V2a1 1 0 0 1 1-1Zm0 10a1.25 1.25 0 1 1 0 2.5A1.25 1.25 0 0 1 7 11Z" })
|
|
1877
1987
|
});
|
|
1878
1988
|
}
|
|
1879
|
-
function
|
|
1880
|
-
return /* @__PURE__ */
|
|
1989
|
+
function Dt() {
|
|
1990
|
+
return /* @__PURE__ */ A("svg", {
|
|
1881
1991
|
width: "14",
|
|
1882
1992
|
height: "14",
|
|
1883
1993
|
viewBox: "0 0 14 14",
|
|
1884
1994
|
fill: "#c4a06a",
|
|
1885
1995
|
children: [
|
|
1886
|
-
/* @__PURE__ */
|
|
1996
|
+
/* @__PURE__ */ k("rect", {
|
|
1887
1997
|
x: "2",
|
|
1888
1998
|
y: "8",
|
|
1889
1999
|
width: "2.5",
|
|
1890
2000
|
height: "4",
|
|
1891
2001
|
rx: "0.5"
|
|
1892
2002
|
}),
|
|
1893
|
-
/* @__PURE__ */
|
|
2003
|
+
/* @__PURE__ */ k("rect", {
|
|
1894
2004
|
x: "5.75",
|
|
1895
2005
|
y: "5",
|
|
1896
2006
|
width: "2.5",
|
|
1897
2007
|
height: "7",
|
|
1898
2008
|
rx: "0.5"
|
|
1899
2009
|
}),
|
|
1900
|
-
/* @__PURE__ */
|
|
2010
|
+
/* @__PURE__ */ k("rect", {
|
|
1901
2011
|
x: "9.5",
|
|
1902
2012
|
y: "2",
|
|
1903
2013
|
width: "2.5",
|
|
@@ -1907,13 +2017,13 @@ function $() {
|
|
|
1907
2017
|
]
|
|
1908
2018
|
});
|
|
1909
2019
|
}
|
|
1910
|
-
function
|
|
1911
|
-
return /* @__PURE__ */
|
|
2020
|
+
function Ot() {
|
|
2021
|
+
return /* @__PURE__ */ A("svg", {
|
|
1912
2022
|
width: "14",
|
|
1913
2023
|
height: "14",
|
|
1914
2024
|
viewBox: "0 0 14 14",
|
|
1915
2025
|
children: [
|
|
1916
|
-
/* @__PURE__ */
|
|
2026
|
+
/* @__PURE__ */ k("rect", {
|
|
1917
2027
|
x: "2",
|
|
1918
2028
|
y: "8",
|
|
1919
2029
|
width: "2.5",
|
|
@@ -1921,7 +2031,7 @@ function Dt() {
|
|
|
1921
2031
|
rx: "0.5",
|
|
1922
2032
|
fill: "#c9a84e"
|
|
1923
2033
|
}),
|
|
1924
|
-
/* @__PURE__ */
|
|
2034
|
+
/* @__PURE__ */ k("rect", {
|
|
1925
2035
|
x: "5.75",
|
|
1926
2036
|
y: "5",
|
|
1927
2037
|
width: "2.5",
|
|
@@ -1929,7 +2039,7 @@ function Dt() {
|
|
|
1929
2039
|
rx: "0.5",
|
|
1930
2040
|
fill: "#c9a84e"
|
|
1931
2041
|
}),
|
|
1932
|
-
/* @__PURE__ */
|
|
2042
|
+
/* @__PURE__ */ k("rect", {
|
|
1933
2043
|
x: "9.5",
|
|
1934
2044
|
y: "2",
|
|
1935
2045
|
width: "2.5",
|
|
@@ -1940,13 +2050,13 @@ function Dt() {
|
|
|
1940
2050
|
]
|
|
1941
2051
|
});
|
|
1942
2052
|
}
|
|
1943
|
-
function
|
|
1944
|
-
return /* @__PURE__ */
|
|
2053
|
+
function kt() {
|
|
2054
|
+
return /* @__PURE__ */ A("svg", {
|
|
1945
2055
|
width: "14",
|
|
1946
2056
|
height: "14",
|
|
1947
2057
|
viewBox: "0 0 14 14",
|
|
1948
2058
|
children: [
|
|
1949
|
-
/* @__PURE__ */
|
|
2059
|
+
/* @__PURE__ */ k("rect", {
|
|
1950
2060
|
x: "2",
|
|
1951
2061
|
y: "8",
|
|
1952
2062
|
width: "2.5",
|
|
@@ -1954,7 +2064,7 @@ function Ot() {
|
|
|
1954
2064
|
rx: "0.5",
|
|
1955
2065
|
fill: "#5bb98e"
|
|
1956
2066
|
}),
|
|
1957
|
-
/* @__PURE__ */
|
|
2067
|
+
/* @__PURE__ */ k("rect", {
|
|
1958
2068
|
x: "5.75",
|
|
1959
2069
|
y: "5",
|
|
1960
2070
|
width: "2.5",
|
|
@@ -1962,7 +2072,7 @@ function Ot() {
|
|
|
1962
2072
|
rx: "0.5",
|
|
1963
2073
|
fill: "#4e5054"
|
|
1964
2074
|
}),
|
|
1965
|
-
/* @__PURE__ */
|
|
2075
|
+
/* @__PURE__ */ k("rect", {
|
|
1966
2076
|
x: "9.5",
|
|
1967
2077
|
y: "2",
|
|
1968
2078
|
width: "2.5",
|
|
@@ -1973,8 +2083,8 @@ function Ot() {
|
|
|
1973
2083
|
]
|
|
1974
2084
|
});
|
|
1975
2085
|
}
|
|
1976
|
-
function
|
|
1977
|
-
return /* @__PURE__ */
|
|
2086
|
+
function At() {
|
|
2087
|
+
return /* @__PURE__ */ k("svg", {
|
|
1978
2088
|
width: "14",
|
|
1979
2089
|
height: "14",
|
|
1980
2090
|
viewBox: "0 0 14 14",
|
|
@@ -1982,11 +2092,11 @@ function kt() {
|
|
|
1982
2092
|
stroke: "currentColor",
|
|
1983
2093
|
strokeWidth: "1.5",
|
|
1984
2094
|
strokeLinecap: "round",
|
|
1985
|
-
children: /* @__PURE__ */
|
|
2095
|
+
children: /* @__PURE__ */ k("path", { d: "M6 8l2-2m-2.5-.5L4 7a2.83 2.83 0 0 0 4 4l1.5-1.5m-1-5L10 3a2.83 2.83 0 0 1 4 4l-1.5 1.5" })
|
|
1986
2096
|
});
|
|
1987
2097
|
}
|
|
1988
|
-
function
|
|
1989
|
-
return /* @__PURE__ */
|
|
2098
|
+
function jt() {
|
|
2099
|
+
return /* @__PURE__ */ k("svg", {
|
|
1990
2100
|
width: "14",
|
|
1991
2101
|
height: "14",
|
|
1992
2102
|
viewBox: "0 0 14 14",
|
|
@@ -1995,11 +2105,11 @@ function At() {
|
|
|
1995
2105
|
strokeWidth: "1.5",
|
|
1996
2106
|
strokeLinecap: "round",
|
|
1997
2107
|
strokeLinejoin: "round",
|
|
1998
|
-
children: /* @__PURE__ */
|
|
2108
|
+
children: /* @__PURE__ */ k("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
1999
2109
|
});
|
|
2000
2110
|
}
|
|
2001
|
-
function
|
|
2002
|
-
return /* @__PURE__ */
|
|
2111
|
+
function Mt() {
|
|
2112
|
+
return /* @__PURE__ */ A("svg", {
|
|
2003
2113
|
width: "14",
|
|
2004
2114
|
height: "14",
|
|
2005
2115
|
viewBox: "0 0 14 14",
|
|
@@ -2008,15 +2118,15 @@ function jt() {
|
|
|
2008
2118
|
strokeWidth: "1.5",
|
|
2009
2119
|
strokeLinecap: "round",
|
|
2010
2120
|
strokeLinejoin: "round",
|
|
2011
|
-
children: [/* @__PURE__ */
|
|
2121
|
+
children: [/* @__PURE__ */ k("path", { d: "M5.5 1.5h3l.5 1.5 1.5.5 1.5-.5 1.5 1.5-1 1.5.5 1.5h2v2h-2l-.5 1.5 1 1.5-1.5 1.5-1.5-.5-1.5.5-.5 1.5h-3l-.5-1.5L3.5 11.5 2 12 .5 10.5l1-1.5L1 7.5H-1v-2h2l.5-1.5-1-1.5L2 1l1.5.5L5 1l.5-.5Z" }), /* @__PURE__ */ k("circle", {
|
|
2012
2122
|
cx: "7",
|
|
2013
2123
|
cy: "7",
|
|
2014
2124
|
r: "2"
|
|
2015
2125
|
})]
|
|
2016
2126
|
});
|
|
2017
2127
|
}
|
|
2018
|
-
function
|
|
2019
|
-
return /* @__PURE__ */
|
|
2128
|
+
function Nt() {
|
|
2129
|
+
return /* @__PURE__ */ k("svg", {
|
|
2020
2130
|
width: "14",
|
|
2021
2131
|
height: "14",
|
|
2022
2132
|
viewBox: "0 0 14 14",
|
|
@@ -2024,11 +2134,11 @@ function Mt() {
|
|
|
2024
2134
|
stroke: "currentColor",
|
|
2025
2135
|
strokeWidth: "1.5",
|
|
2026
2136
|
strokeLinecap: "round",
|
|
2027
|
-
children: /* @__PURE__ */
|
|
2137
|
+
children: /* @__PURE__ */ k("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
2028
2138
|
});
|
|
2029
2139
|
}
|
|
2030
|
-
function
|
|
2031
|
-
return /* @__PURE__ */
|
|
2140
|
+
function Pt() {
|
|
2141
|
+
return /* @__PURE__ */ k("svg", {
|
|
2032
2142
|
width: "14",
|
|
2033
2143
|
height: "14",
|
|
2034
2144
|
viewBox: "0 0 14 14",
|
|
@@ -2037,11 +2147,11 @@ function Nt() {
|
|
|
2037
2147
|
strokeWidth: "2",
|
|
2038
2148
|
strokeLinecap: "round",
|
|
2039
2149
|
strokeLinejoin: "round",
|
|
2040
|
-
children: /* @__PURE__ */
|
|
2150
|
+
children: /* @__PURE__ */ k("path", { d: "M3 7.5l3 3 5-6" })
|
|
2041
2151
|
});
|
|
2042
2152
|
}
|
|
2043
|
-
function
|
|
2044
|
-
return /* @__PURE__ */
|
|
2153
|
+
function Ft() {
|
|
2154
|
+
return /* @__PURE__ */ A("svg", {
|
|
2045
2155
|
width: "14",
|
|
2046
2156
|
height: "14",
|
|
2047
2157
|
viewBox: "0 0 14 14",
|
|
@@ -2050,17 +2160,17 @@ function Pt() {
|
|
|
2050
2160
|
strokeWidth: "1.5",
|
|
2051
2161
|
strokeLinecap: "round",
|
|
2052
2162
|
strokeLinejoin: "round",
|
|
2053
|
-
children: [/* @__PURE__ */
|
|
2163
|
+
children: [/* @__PURE__ */ k("rect", {
|
|
2054
2164
|
x: "4.5",
|
|
2055
2165
|
y: "4.5",
|
|
2056
2166
|
width: "7",
|
|
2057
2167
|
height: "7",
|
|
2058
2168
|
rx: "1"
|
|
2059
|
-
}), /* @__PURE__ */
|
|
2169
|
+
}), /* @__PURE__ */ k("path", { d: "M9.5 4.5V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v5.5a1 1 0 0 0 1 1h1.5" })]
|
|
2060
2170
|
});
|
|
2061
2171
|
}
|
|
2062
|
-
function
|
|
2063
|
-
return /* @__PURE__ */
|
|
2172
|
+
function It() {
|
|
2173
|
+
return /* @__PURE__ */ k("svg", {
|
|
2064
2174
|
width: "14",
|
|
2065
2175
|
height: "14",
|
|
2066
2176
|
viewBox: "0 0 14 14",
|
|
@@ -2069,11 +2179,11 @@ function Ft() {
|
|
|
2069
2179
|
strokeWidth: "1.5",
|
|
2070
2180
|
strokeLinecap: "round",
|
|
2071
2181
|
strokeLinejoin: "round",
|
|
2072
|
-
children: /* @__PURE__ */
|
|
2182
|
+
children: /* @__PURE__ */ k("path", { d: "M5.5 12a1.5 1.5 0 0 0 3 0M7 1a4 4 0 0 0-4 4c0 3-1.5 4.5-1.5 4.5h11S11 8 11 5a4 4 0 0 0-4-4Z" })
|
|
2073
2183
|
});
|
|
2074
2184
|
}
|
|
2075
|
-
function
|
|
2076
|
-
return /* @__PURE__ */
|
|
2185
|
+
function Lt() {
|
|
2186
|
+
return /* @__PURE__ */ A("svg", {
|
|
2077
2187
|
width: "14",
|
|
2078
2188
|
height: "14",
|
|
2079
2189
|
viewBox: "0 0 14 14",
|
|
@@ -2082,17 +2192,17 @@ function It() {
|
|
|
2082
2192
|
strokeWidth: "1.5",
|
|
2083
2193
|
strokeLinecap: "round",
|
|
2084
2194
|
strokeLinejoin: "round",
|
|
2085
|
-
children: [/* @__PURE__ */
|
|
2195
|
+
children: [/* @__PURE__ */ k("rect", {
|
|
2086
2196
|
x: "1.5",
|
|
2087
2197
|
y: "2.5",
|
|
2088
2198
|
width: "11",
|
|
2089
2199
|
height: "10",
|
|
2090
2200
|
rx: "1"
|
|
2091
|
-
}), /* @__PURE__ */
|
|
2201
|
+
}), /* @__PURE__ */ k("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
2092
2202
|
});
|
|
2093
2203
|
}
|
|
2094
|
-
function
|
|
2095
|
-
return /* @__PURE__ */
|
|
2204
|
+
function Rt() {
|
|
2205
|
+
return /* @__PURE__ */ k("svg", {
|
|
2096
2206
|
width: "14",
|
|
2097
2207
|
height: "14",
|
|
2098
2208
|
viewBox: "0 0 14 14",
|
|
@@ -2101,20 +2211,20 @@ function Lt() {
|
|
|
2101
2211
|
strokeWidth: "1.5",
|
|
2102
2212
|
strokeLinecap: "round",
|
|
2103
2213
|
strokeLinejoin: "round",
|
|
2104
|
-
children: /* @__PURE__ */
|
|
2214
|
+
children: /* @__PURE__ */ k("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
2105
2215
|
});
|
|
2106
2216
|
}
|
|
2107
|
-
function
|
|
2108
|
-
return /* @__PURE__ */
|
|
2217
|
+
function zt() {
|
|
2218
|
+
return /* @__PURE__ */ A("svg", {
|
|
2109
2219
|
width: "14",
|
|
2110
2220
|
height: "14",
|
|
2111
2221
|
viewBox: "0 0 14 14",
|
|
2112
2222
|
fill: "currentColor",
|
|
2113
|
-
children: [/* @__PURE__ */
|
|
2223
|
+
children: [/* @__PURE__ */ k("circle", {
|
|
2114
2224
|
cx: "7",
|
|
2115
2225
|
cy: "4.5",
|
|
2116
2226
|
r: "2.5"
|
|
2117
|
-
}), /* @__PURE__ */
|
|
2227
|
+
}), /* @__PURE__ */ k("path", {
|
|
2118
2228
|
d: "M2.5 12.5a4.5 4.5 0 0 1 9 0",
|
|
2119
2229
|
fill: "none",
|
|
2120
2230
|
stroke: "currentColor",
|
|
@@ -2122,8 +2232,8 @@ function Rt() {
|
|
|
2122
2232
|
})]
|
|
2123
2233
|
});
|
|
2124
2234
|
}
|
|
2125
|
-
function
|
|
2126
|
-
return /* @__PURE__ */
|
|
2235
|
+
function Bt() {
|
|
2236
|
+
return /* @__PURE__ */ A("svg", {
|
|
2127
2237
|
width: "14",
|
|
2128
2238
|
height: "14",
|
|
2129
2239
|
viewBox: "0 0 14 14",
|
|
@@ -2132,7 +2242,7 @@ function zt() {
|
|
|
2132
2242
|
strokeWidth: "1.5",
|
|
2133
2243
|
strokeLinecap: "round",
|
|
2134
2244
|
strokeLinejoin: "round",
|
|
2135
|
-
children: [/* @__PURE__ */
|
|
2245
|
+
children: [/* @__PURE__ */ k("path", { d: "M1.5 8.5V2a.5.5 0 0 1 .5-.5h6.5L13 6l-5.5 5.5L1.5 8.5Z" }), /* @__PURE__ */ k("circle", {
|
|
2136
2246
|
cx: "5",
|
|
2137
2247
|
cy: "5",
|
|
2138
2248
|
r: "1",
|
|
@@ -2141,4 +2251,4 @@ function zt() {
|
|
|
2141
2251
|
});
|
|
2142
2252
|
}
|
|
2143
2253
|
//#endregion
|
|
2144
|
-
export {
|
|
2254
|
+
export { fe as Accordion, de as AccordionItem, Ze as ActivityFeed, pe as AppLoader, Y as Avatar, _e as Badge, It as BellIcon, be as Button, Lt as CalendarIcon, xe as Card, Te as CardContent, we as CardDescription, Ee as CardFooter, Se as CardHeader, Ce as CardTitle, Pt as CheckIcon, yt as ChevronDown, bt as ChevronUp, Nt as CloseIcon, Qe as CommandBar, Ft as CopyIcon, $e as DataTable, De as Dialog, je as DialogBody, Ae as DialogDescription, Me as DialogFooter, Oe as DialogHeader, ke as DialogTitle, Ne as DropdownMenu, Fe as DropdownMenuCheckboxItem, Pe as DropdownMenuItem, Ie as DropdownMenuLabel, Le as DropdownMenuSeparator, vt as EditIcon, ce as FCCAppShell, le as FCCBrandLogo, z as FCCBreadcrumbs, oe as FCCDesignProvider, V as FCCHeaderStatus, U as FCCMainWindow, q as FCCSidebar, ue as FCCThemeToggle, H as FCCWorkspaceHeader, et as FilterBar, Rt as FilterIcon, ut as InboxIcon, mt as InitiativesIcon, dt as IssuesIcon, st as KPICard, tt as KanbanBoard, rt as KanbanCard, nt as KanbanColumn, Bt as LabelIcon, At as LinkIcon, gt as MoreIcon, lt as NotificationsPanel, Dt as PriorityHigh, kt as PriorityLow, Ot as PriorityMedium, $ as PriorityUrgent, ht as ProjectsIcon, pt as PulseIcon, ft as ReviewsIcon, _t as SearchIcon, Re as SearchableSelect, Mt as SettingsIcon, ze as Sheet, Be as SheetFooter, me as Spinner, xt as StarIcon, ct as StatCard, Tt as StatusBacklog, Et as StatusCancelled, Ct as StatusDone, St as StatusInProgress, wt as StatusTodo, Ve as Switch, it as TableBoard, at as TableBoardGroup, ot as TableBoardRow, He as Tabs, Ge as TabsContent, Ue as TabsList, We as TabsTrigger, L as ThemeProvider, P as ToastProvider, Ke as Tooltip, jt as TrashIcon, zt as UserIcon, Je as ViewModeToggle, Xe as WorkspaceTabs, R as useTheme, F as useToast };
|