@freedom-code-compliance/fcc-redesign 0.1.14 → 0.1.15

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