@freedom-code-compliance/fcc-redesign 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +823 -545
- package/dist/styles.css +1 -1
- package/package.json +1 -1
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 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
|
|
3
|
-
import { Fragment as
|
|
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 ee, TrendingUp as P, X as F } from "lucide-react";
|
|
3
|
+
import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ui/Toast.jsx
|
|
5
|
-
var
|
|
6
|
-
success: /* @__PURE__ */
|
|
5
|
+
var z = e(null), B = {
|
|
6
|
+
success: /* @__PURE__ */ L(g, {
|
|
7
7
|
size: 16,
|
|
8
8
|
style: { color: "var(--accent-green)" }
|
|
9
9
|
}),
|
|
10
|
-
error: /* @__PURE__ */
|
|
10
|
+
error: /* @__PURE__ */ L(u, {
|
|
11
11
|
size: 16,
|
|
12
12
|
style: { color: "var(--accent-red)" }
|
|
13
13
|
}),
|
|
14
|
-
warning: /* @__PURE__ */
|
|
14
|
+
warning: /* @__PURE__ */ L(d, {
|
|
15
15
|
size: 16,
|
|
16
16
|
style: { color: "var(--accent-yellow)" }
|
|
17
17
|
}),
|
|
18
|
-
info: /* @__PURE__ */
|
|
18
|
+
info: /* @__PURE__ */ L(w, {
|
|
19
19
|
size: 16,
|
|
20
20
|
style: { color: "var(--accent-blue)" }
|
|
21
21
|
})
|
|
22
22
|
};
|
|
23
|
-
function
|
|
23
|
+
function V({ 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 H({ toast: e, onDismiss: t }) {
|
|
|
30
30
|
e.id,
|
|
31
31
|
e.duration,
|
|
32
32
|
t
|
|
33
|
-
]), /* @__PURE__ */
|
|
33
|
+
]), /* @__PURE__ */ R("div", {
|
|
34
34
|
className: "toast",
|
|
35
35
|
style: { animation: "slideInRight 200ms ease" },
|
|
36
36
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ L("span", {
|
|
38
38
|
className: "toast-icon",
|
|
39
|
-
children:
|
|
39
|
+
children: B[e.type] || B.info
|
|
40
40
|
}),
|
|
41
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ R("div", {
|
|
42
42
|
className: "toast-content",
|
|
43
|
-
children: [e.title && /* @__PURE__ */
|
|
43
|
+
children: [e.title && /* @__PURE__ */ L("div", {
|
|
44
44
|
className: "toast-title",
|
|
45
45
|
children: e.title
|
|
46
|
-
}), /* @__PURE__ */
|
|
46
|
+
}), /* @__PURE__ */ L("div", {
|
|
47
47
|
className: "toast-message",
|
|
48
48
|
children: e.message
|
|
49
49
|
})]
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ L("button", {
|
|
52
52
|
className: "toast-close",
|
|
53
53
|
onClick: () => t(e.id),
|
|
54
|
-
children: /* @__PURE__ */
|
|
54
|
+
children: /* @__PURE__ */ L(F, { size: 14 })
|
|
55
55
|
})
|
|
56
56
|
]
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function H({ 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 U({ children: e }) {
|
|
|
66
66
|
}, []), a = i((e) => {
|
|
67
67
|
n((t) => t.filter((t) => t.id !== e));
|
|
68
68
|
}, []);
|
|
69
|
-
return /* @__PURE__ */ z
|
|
69
|
+
return /* @__PURE__ */ R(z.Provider, {
|
|
70
70
|
value: { addToast: r },
|
|
71
|
-
children: [e, /* @__PURE__ */
|
|
71
|
+
children: [e, /* @__PURE__ */ L("div", {
|
|
72
72
|
className: "toast-container",
|
|
73
|
-
children: t.map((e) => /* @__PURE__ */
|
|
73
|
+
children: t.map((e) => /* @__PURE__ */ L(V, {
|
|
74
74
|
toast: e,
|
|
75
75
|
onDismiss: a
|
|
76
76
|
}, e.id))
|
|
77
77
|
})]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
let e = a(
|
|
80
|
+
function U() {
|
|
81
|
+
let e = a(z);
|
|
82
82
|
if (!e) throw Error("useToast must be used within ToastProvider");
|
|
83
83
|
return e;
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/context/ThemeContext.jsx
|
|
87
|
-
var
|
|
88
|
-
function
|
|
87
|
+
var W = e(void 0), te = "dark", ne = "fcc-theme";
|
|
88
|
+
function re(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
|
|
93
|
+
function G({ children: e, defaultTheme: t = te, storageKey: n = ne }) {
|
|
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),
|
|
97
|
-
}, [n, r]), /* @__PURE__ */
|
|
96
|
+
typeof window < "u" && window.localStorage.setItem(n, r), re(r);
|
|
97
|
+
}, [n, r]), /* @__PURE__ */ L(W.Provider, {
|
|
98
98
|
value: {
|
|
99
99
|
theme: r,
|
|
100
100
|
setTheme: i,
|
|
@@ -105,95 +105,319 @@ function K({ children: e, defaultTheme: t = ee, storageKey: n = te }) {
|
|
|
105
105
|
children: e
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
let e = a(
|
|
108
|
+
function K() {
|
|
109
|
+
let e = a(W);
|
|
110
110
|
if (!e) throw Error("useTheme must be used within a ThemeProvider");
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/lib/FCCDesignProvider.jsx
|
|
115
|
-
function
|
|
116
|
-
return /* @__PURE__ */
|
|
115
|
+
function ie({ children: e, ...t }) {
|
|
116
|
+
return /* @__PURE__ */ L(G, {
|
|
117
117
|
...t,
|
|
118
|
-
children: /* @__PURE__ */
|
|
118
|
+
children: /* @__PURE__ */ L(H, { children: e })
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region src/components/layout/FCCSidePanel.jsx
|
|
123
|
+
var q = (...e) => e.filter(Boolean).join(" "), ae = 300;
|
|
124
|
+
function J({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: u = "", panelClassName: d = "" }) {
|
|
125
|
+
let f = r && n ? n : t, p = c(null), m = c(null), [h, g] = l(e ? i : null), [_, v] = l(f), [y, b] = l(e && !!i);
|
|
126
|
+
o(() => () => {
|
|
127
|
+
p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
|
|
128
|
+
}, []), o(() => {
|
|
129
|
+
if (p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null), e) {
|
|
130
|
+
p.current = window.requestAnimationFrame(() => {
|
|
131
|
+
g(i), v(f), b(!!i), p.current = null;
|
|
132
|
+
});
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
}, [
|
|
136
|
+
e,
|
|
137
|
+
i,
|
|
138
|
+
f
|
|
139
|
+
]), o(() => {
|
|
140
|
+
if (!(e || !y)) return m.current = window.setTimeout(() => {
|
|
141
|
+
b(!1), g(null), m.current = null;
|
|
142
|
+
}, ae), () => {
|
|
143
|
+
m.current &&= (window.clearTimeout(m.current), null);
|
|
144
|
+
};
|
|
145
|
+
}, [e, y]);
|
|
146
|
+
let x = !e && y, S = e ? i : y ? h : null, C = e ? f : y ? _ : f, w = e && !!i || !!S;
|
|
147
|
+
return /* @__PURE__ */ R("div", {
|
|
148
|
+
className: q("fcc-side-panel-layout", s),
|
|
149
|
+
children: [/* @__PURE__ */ L("div", {
|
|
150
|
+
className: q("fcc-side-panel-content", u),
|
|
151
|
+
children: a
|
|
152
|
+
}), /* @__PURE__ */ L("div", {
|
|
153
|
+
className: q("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
|
|
154
|
+
style: { "--fcc-side-panel-width": `${C}px` },
|
|
155
|
+
children: /* @__PURE__ */ L("div", {
|
|
156
|
+
className: q("fcc-side-panel-inner", d),
|
|
157
|
+
children: S
|
|
158
|
+
})
|
|
159
|
+
})]
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function oe({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
|
|
163
|
+
return /* @__PURE__ */ R("div", {
|
|
164
|
+
className: q("fcc-side-panel-header", i),
|
|
165
|
+
children: [/* @__PURE__ */ R("div", {
|
|
166
|
+
className: "fcc-side-panel-header-copy",
|
|
167
|
+
children: [/* @__PURE__ */ L("div", {
|
|
168
|
+
className: "fcc-side-panel-title",
|
|
169
|
+
children: e
|
|
170
|
+
}), t && /* @__PURE__ */ L("div", {
|
|
171
|
+
className: "fcc-side-panel-subtitle",
|
|
172
|
+
children: t
|
|
173
|
+
})]
|
|
174
|
+
}), /* @__PURE__ */ R("div", {
|
|
175
|
+
className: "fcc-side-panel-header-actions",
|
|
176
|
+
children: [r, n && /* @__PURE__ */ L("button", {
|
|
177
|
+
className: "btn btn-ghost btn-icon btn-sm",
|
|
178
|
+
onClick: n,
|
|
179
|
+
"aria-label": "Close panel",
|
|
180
|
+
children: /* @__PURE__ */ L(F, { size: 14 })
|
|
181
|
+
})]
|
|
182
|
+
})]
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
function se({ children: e, className: t = "" }) {
|
|
186
|
+
return /* @__PURE__ */ L("div", {
|
|
187
|
+
className: q("fcc-side-panel-body", t),
|
|
188
|
+
children: e
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
function ce({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
|
|
192
|
+
return /* @__PURE__ */ L("div", {
|
|
193
|
+
className: q("fcc-side-panel-tabs", r),
|
|
194
|
+
children: e.map((e, r) => /* @__PURE__ */ L("button", {
|
|
195
|
+
className: q("fcc-side-panel-tab", t === r && "active"),
|
|
196
|
+
onClick: () => n?.(r),
|
|
197
|
+
children: e
|
|
198
|
+
}, e))
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
function le({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
|
|
202
|
+
return /* @__PURE__ */ R("div", {
|
|
203
|
+
className: q("fcc-side-panel-search", r),
|
|
204
|
+
children: [/* @__PURE__ */ L(M, { size: 13 }), n ? /* @__PURE__ */ L("input", {
|
|
205
|
+
className: "fcc-side-panel-search-input",
|
|
206
|
+
type: "text",
|
|
207
|
+
placeholder: e,
|
|
208
|
+
value: t,
|
|
209
|
+
onChange: (e) => n(e.target.value)
|
|
210
|
+
}) : /* @__PURE__ */ L("span", {
|
|
211
|
+
className: "fcc-side-panel-search-placeholder",
|
|
212
|
+
children: e
|
|
213
|
+
})]
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function ue({ children: e, className: t = "" }) {
|
|
217
|
+
return /* @__PURE__ */ L("div", {
|
|
218
|
+
className: q("fcc-side-panel-group-label", t),
|
|
219
|
+
children: e
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
function de({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
|
|
223
|
+
return /* @__PURE__ */ R("div", {
|
|
224
|
+
className: q("fcc-side-panel-item", a),
|
|
225
|
+
onClick: i,
|
|
226
|
+
children: [
|
|
227
|
+
e && /* @__PURE__ */ L("span", {
|
|
228
|
+
className: "fcc-side-panel-item-dot",
|
|
229
|
+
style: { background: e }
|
|
230
|
+
}),
|
|
231
|
+
/* @__PURE__ */ R("div", {
|
|
232
|
+
className: "fcc-side-panel-item-body",
|
|
233
|
+
children: [/* @__PURE__ */ L("span", {
|
|
234
|
+
className: "fcc-side-panel-item-label",
|
|
235
|
+
children: t
|
|
236
|
+
}), n && /* @__PURE__ */ L("span", {
|
|
237
|
+
className: "fcc-side-panel-item-detail",
|
|
238
|
+
children: n
|
|
239
|
+
})]
|
|
240
|
+
}),
|
|
241
|
+
r && /* @__PURE__ */ L("span", {
|
|
242
|
+
className: "fcc-side-panel-item-time",
|
|
243
|
+
children: r
|
|
244
|
+
})
|
|
245
|
+
]
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function fe({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
|
|
249
|
+
return /* @__PURE__ */ R("div", {
|
|
250
|
+
className: q("fcc-side-panel-card", o),
|
|
251
|
+
onClick: a,
|
|
252
|
+
children: [/* @__PURE__ */ L("div", {
|
|
253
|
+
className: "fcc-side-panel-card-avatar",
|
|
254
|
+
children: e
|
|
255
|
+
}), /* @__PURE__ */ R("div", {
|
|
256
|
+
className: "fcc-side-panel-card-body",
|
|
257
|
+
children: [
|
|
258
|
+
/* @__PURE__ */ L("span", {
|
|
259
|
+
className: "fcc-side-panel-card-title",
|
|
260
|
+
children: t
|
|
261
|
+
}),
|
|
262
|
+
n && /* @__PURE__ */ L("span", {
|
|
263
|
+
className: "fcc-side-panel-card-detail",
|
|
264
|
+
children: n
|
|
265
|
+
}),
|
|
266
|
+
/* @__PURE__ */ R("div", {
|
|
267
|
+
className: "fcc-side-panel-card-meta",
|
|
268
|
+
children: [r && /* @__PURE__ */ L("span", { children: r }), i && /* @__PURE__ */ L("span", { className: "fcc-side-panel-unread-dot" })]
|
|
269
|
+
})
|
|
270
|
+
]
|
|
271
|
+
})]
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
function pe({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
|
|
275
|
+
return /* @__PURE__ */ R("div", {
|
|
276
|
+
className: q("fcc-side-panel-contact", r && "active", o),
|
|
277
|
+
onClick: a,
|
|
278
|
+
children: [
|
|
279
|
+
/* @__PURE__ */ R("div", {
|
|
280
|
+
className: "fcc-side-panel-contact-avatar-wrap",
|
|
281
|
+
children: [e, i && /* @__PURE__ */ L("span", { className: "fcc-side-panel-online-dot" })]
|
|
282
|
+
}),
|
|
283
|
+
/* @__PURE__ */ L("span", {
|
|
284
|
+
className: "fcc-side-panel-contact-name",
|
|
285
|
+
children: t
|
|
286
|
+
}),
|
|
287
|
+
n && /* @__PURE__ */ L("span", {
|
|
288
|
+
className: "fcc-side-panel-contact-time",
|
|
289
|
+
children: n
|
|
290
|
+
})
|
|
291
|
+
]
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
function me({ children: e, onClick: t, className: n = "" }) {
|
|
295
|
+
return /* @__PURE__ */ L("div", {
|
|
296
|
+
className: q("fcc-side-panel-action", n),
|
|
297
|
+
onClick: t,
|
|
298
|
+
children: e
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
function he({ children: e, className: t = "" }) {
|
|
302
|
+
return /* @__PURE__ */ L("div", {
|
|
303
|
+
className: q("fcc-side-panel-chat-wrap", t),
|
|
304
|
+
children: e
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
function ge({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
|
|
308
|
+
return /* @__PURE__ */ R("div", {
|
|
309
|
+
className: q("fcc-side-panel-conversation", i),
|
|
310
|
+
children: [
|
|
311
|
+
/* @__PURE__ */ R("div", {
|
|
312
|
+
className: "fcc-side-panel-conv-header",
|
|
313
|
+
children: [/* @__PURE__ */ L("span", {
|
|
314
|
+
className: "fcc-side-panel-conv-title",
|
|
315
|
+
children: e
|
|
316
|
+
}), t && /* @__PURE__ */ L("div", {
|
|
317
|
+
className: "fcc-side-panel-conv-header-right",
|
|
318
|
+
children: t
|
|
319
|
+
})]
|
|
320
|
+
}),
|
|
321
|
+
/* @__PURE__ */ L("div", {
|
|
322
|
+
className: "fcc-side-panel-conv-messages",
|
|
323
|
+
children: n
|
|
324
|
+
}),
|
|
325
|
+
r && /* @__PURE__ */ L("div", {
|
|
326
|
+
className: "fcc-side-panel-conv-input",
|
|
327
|
+
children: r
|
|
328
|
+
})
|
|
329
|
+
]
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
function _e({ from: e = "other", meta: t, children: n, className: r = "" }) {
|
|
333
|
+
let i = e === "you";
|
|
334
|
+
return /* @__PURE__ */ R("div", {
|
|
335
|
+
className: q("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
|
|
336
|
+
children: [t && /* @__PURE__ */ L("div", {
|
|
337
|
+
className: "fcc-side-panel-msg-meta",
|
|
338
|
+
children: t
|
|
339
|
+
}), /* @__PURE__ */ L("div", {
|
|
340
|
+
className: q("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
|
|
341
|
+
children: n
|
|
342
|
+
})]
|
|
119
343
|
});
|
|
120
344
|
}
|
|
121
345
|
//#endregion
|
|
122
346
|
//#region src/components/layout/FCCBreadcrumbs.jsx
|
|
123
|
-
function
|
|
347
|
+
function ve(e, t) {
|
|
124
348
|
let n = [
|
|
125
349
|
"fcc-breadcrumb-item",
|
|
126
350
|
t ? "current" : "",
|
|
127
351
|
e.className || ""
|
|
128
352
|
].filter(Boolean).join(" ");
|
|
129
|
-
return t ? /* @__PURE__ */
|
|
353
|
+
return t ? /* @__PURE__ */ L("span", {
|
|
130
354
|
className: n,
|
|
131
355
|
children: e.label
|
|
132
|
-
}) : e.href ? /* @__PURE__ */
|
|
356
|
+
}) : e.href ? /* @__PURE__ */ L("a", {
|
|
133
357
|
className: n,
|
|
134
358
|
href: e.href,
|
|
135
359
|
children: e.label
|
|
136
|
-
}) : e.onClick ? /* @__PURE__ */
|
|
360
|
+
}) : e.onClick ? /* @__PURE__ */ L("button", {
|
|
137
361
|
type: "button",
|
|
138
362
|
className: n,
|
|
139
363
|
onClick: e.onClick,
|
|
140
364
|
children: e.label
|
|
141
|
-
}) : /* @__PURE__ */
|
|
365
|
+
}) : /* @__PURE__ */ L("span", {
|
|
142
366
|
className: n,
|
|
143
367
|
children: e.label
|
|
144
368
|
});
|
|
145
369
|
}
|
|
146
|
-
function
|
|
370
|
+
function ye({ items: e = [], className: t = "" }) {
|
|
147
371
|
let n = e.filter((e) => e?.label);
|
|
148
|
-
return n.length === 0 ? null : /* @__PURE__ */
|
|
372
|
+
return n.length === 0 ? null : /* @__PURE__ */ L("nav", {
|
|
149
373
|
className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
|
|
150
374
|
"aria-label": "Breadcrumb",
|
|
151
375
|
children: n.map((e, t) => {
|
|
152
376
|
let r = e.current ?? t === n.length - 1;
|
|
153
|
-
return /* @__PURE__ */
|
|
377
|
+
return /* @__PURE__ */ R("div", {
|
|
154
378
|
className: "fcc-breadcrumb-segment",
|
|
155
|
-
children: [t > 0 && /* @__PURE__ */
|
|
379
|
+
children: [t > 0 && /* @__PURE__ */ L("span", {
|
|
156
380
|
className: "fcc-breadcrumb-sep",
|
|
157
381
|
children: "/"
|
|
158
|
-
}),
|
|
382
|
+
}), ve(e, r)]
|
|
159
383
|
}, e.key || e.label || t);
|
|
160
384
|
})
|
|
161
385
|
});
|
|
162
386
|
}
|
|
163
387
|
//#endregion
|
|
164
388
|
//#region src/components/layout/FCCHeaderStatus.jsx
|
|
165
|
-
var
|
|
389
|
+
var be = {
|
|
166
390
|
success: "fcc-header-status-success",
|
|
167
391
|
warning: "fcc-header-status-warning",
|
|
168
392
|
danger: "fcc-header-status-danger",
|
|
169
393
|
info: "fcc-header-status-info",
|
|
170
394
|
neutral: "fcc-header-status-neutral"
|
|
171
395
|
};
|
|
172
|
-
function
|
|
173
|
-
return e ? /* @__PURE__ */
|
|
396
|
+
function xe({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
|
|
397
|
+
return e ? /* @__PURE__ */ R("div", {
|
|
174
398
|
className: [
|
|
175
399
|
"fcc-header-status",
|
|
176
|
-
|
|
400
|
+
be[t] || be.neutral,
|
|
177
401
|
r
|
|
178
402
|
].filter(Boolean).join(" "),
|
|
179
|
-
children: [/* @__PURE__ */
|
|
403
|
+
children: [/* @__PURE__ */ L("span", {
|
|
180
404
|
className: "fcc-header-status-dot",
|
|
181
405
|
style: n ? { backgroundColor: n } : void 0
|
|
182
|
-
}), /* @__PURE__ */
|
|
406
|
+
}), /* @__PURE__ */ L("span", { children: e })]
|
|
183
407
|
}) : null;
|
|
184
408
|
}
|
|
185
409
|
//#endregion
|
|
186
410
|
//#region src/components/layout/FCCWorkspaceHeader.jsx
|
|
187
|
-
function
|
|
188
|
-
return /* @__PURE__ */
|
|
411
|
+
function Se({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "" }) {
|
|
412
|
+
return /* @__PURE__ */ R("header", {
|
|
189
413
|
className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
|
|
190
|
-
children: [/* @__PURE__ */
|
|
414
|
+
children: [/* @__PURE__ */ L("div", {
|
|
191
415
|
className: "fcc-workspace-header-left",
|
|
192
|
-
children: r || /* @__PURE__ */
|
|
193
|
-
}), /* @__PURE__ */
|
|
416
|
+
children: r || /* @__PURE__ */ L(ye, { items: e })
|
|
417
|
+
}), /* @__PURE__ */ R("div", {
|
|
194
418
|
className: "fcc-workspace-header-right",
|
|
195
419
|
children: [
|
|
196
|
-
t && /* @__PURE__ */
|
|
420
|
+
t && /* @__PURE__ */ L(xe, { ...t }),
|
|
197
421
|
n,
|
|
198
422
|
i
|
|
199
423
|
]
|
|
@@ -202,19 +426,34 @@ function oe({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
|
|
|
202
426
|
}
|
|
203
427
|
//#endregion
|
|
204
428
|
//#region src/components/layout/FCCMainWindow.jsx
|
|
205
|
-
function
|
|
206
|
-
|
|
207
|
-
|
|
429
|
+
function Ce({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, className: s = "", headerClassName: c = "", contentClassName: l = "" }) {
|
|
430
|
+
let u = o ? /* @__PURE__ */ L(J, {
|
|
431
|
+
open: o.open,
|
|
432
|
+
width: o.width,
|
|
433
|
+
expandedWidth: o.expandedWidth,
|
|
434
|
+
expanded: o.expanded,
|
|
435
|
+
panel: o.panel,
|
|
436
|
+
className: o.className,
|
|
437
|
+
contentClassName: o.contentClassName,
|
|
438
|
+
panelClassName: o.panelClassName,
|
|
439
|
+
children: i
|
|
440
|
+
}) : i;
|
|
441
|
+
return /* @__PURE__ */ R("div", {
|
|
442
|
+
className: ["fcc-main-window", s].filter(Boolean).join(" "),
|
|
208
443
|
children: [
|
|
209
|
-
r || /* @__PURE__ */
|
|
444
|
+
r || /* @__PURE__ */ L(Se, {
|
|
210
445
|
breadcrumbs: e,
|
|
211
446
|
status: t,
|
|
212
447
|
actions: n,
|
|
213
|
-
className:
|
|
448
|
+
className: c
|
|
214
449
|
}),
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
className: [
|
|
217
|
-
|
|
450
|
+
/* @__PURE__ */ L("div", {
|
|
451
|
+
className: [
|
|
452
|
+
"fcc-main-window-content",
|
|
453
|
+
o && "fcc-main-window-content-with-side-panel",
|
|
454
|
+
l
|
|
455
|
+
].filter(Boolean).join(" "),
|
|
456
|
+
children: u
|
|
218
457
|
}),
|
|
219
458
|
a
|
|
220
459
|
]
|
|
@@ -222,7 +461,7 @@ function se({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
|
|
|
222
461
|
}
|
|
223
462
|
//#endregion
|
|
224
463
|
//#region src/components/layout/FCCSidebar.jsx
|
|
225
|
-
function
|
|
464
|
+
function we(e, t) {
|
|
226
465
|
if (!e.disabled) {
|
|
227
466
|
if (e.onClick) {
|
|
228
467
|
e.onClick(e);
|
|
@@ -231,10 +470,10 @@ function ce(e, t) {
|
|
|
231
470
|
t?.(e);
|
|
232
471
|
}
|
|
233
472
|
}
|
|
234
|
-
function
|
|
473
|
+
function Te(e, t) {
|
|
235
474
|
return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
|
|
236
475
|
}
|
|
237
|
-
function
|
|
476
|
+
function Ee(e, t) {
|
|
238
477
|
if (!t.trim()) return e;
|
|
239
478
|
let n = t.trim().toLowerCase();
|
|
240
479
|
return e.map((e) => ({
|
|
@@ -242,7 +481,7 @@ function ue(e, t) {
|
|
|
242
481
|
items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
|
|
243
482
|
})).filter((e) => e.items.length > 0);
|
|
244
483
|
}
|
|
245
|
-
function
|
|
484
|
+
function De({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
|
|
246
485
|
let [u, d] = l({}), [f, p] = l({});
|
|
247
486
|
function m(e, t) {
|
|
248
487
|
p((n) => ({
|
|
@@ -250,31 +489,31 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
250
489
|
[e]: t
|
|
251
490
|
}));
|
|
252
491
|
}
|
|
253
|
-
return /* @__PURE__ */
|
|
492
|
+
return /* @__PURE__ */ R("aside", {
|
|
254
493
|
className: ["fcc-sidebar", c].filter(Boolean).join(" "),
|
|
255
494
|
children: [
|
|
256
|
-
/* @__PURE__ */
|
|
495
|
+
/* @__PURE__ */ R("div", {
|
|
257
496
|
className: "fcc-sidebar-brand",
|
|
258
|
-
children: [/* @__PURE__ */
|
|
497
|
+
children: [/* @__PURE__ */ L("div", {
|
|
259
498
|
className: "fcc-sidebar-brand-logo-slot",
|
|
260
499
|
children: t
|
|
261
|
-
}), /* @__PURE__ */
|
|
500
|
+
}), /* @__PURE__ */ L("span", {
|
|
262
501
|
className: "fcc-sidebar-label fcc-sidebar-brand-text",
|
|
263
502
|
children: e
|
|
264
503
|
})]
|
|
265
504
|
}),
|
|
266
|
-
/* @__PURE__ */
|
|
505
|
+
/* @__PURE__ */ L("nav", {
|
|
267
506
|
className: "fcc-sidebar-nav",
|
|
268
507
|
"aria-label": `${e} navigation`,
|
|
269
508
|
children: n.map((e) => {
|
|
270
|
-
let t = e.childrenSections?.length > 0, n =
|
|
271
|
-
return /* @__PURE__ */
|
|
509
|
+
let t = e.childrenSections?.length > 0, n = Te(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = u[e.key] || "", c = t ? Ee(e.childrenSections, s) : [];
|
|
510
|
+
return /* @__PURE__ */ R("div", {
|
|
272
511
|
className: [
|
|
273
512
|
"fcc-sidebar-entry",
|
|
274
513
|
t ? "has-children" : "",
|
|
275
514
|
t && o ? "expanded" : ""
|
|
276
515
|
].filter(Boolean).join(" "),
|
|
277
|
-
children: [/* @__PURE__ */
|
|
516
|
+
children: [/* @__PURE__ */ R("button", {
|
|
278
517
|
type: "button",
|
|
279
518
|
className: [
|
|
280
519
|
"fcc-sidebar-item",
|
|
@@ -282,25 +521,25 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
282
521
|
e.disabled ? "disabled" : ""
|
|
283
522
|
].filter(Boolean).join(" "),
|
|
284
523
|
onClick: () => {
|
|
285
|
-
t && m(e.key, !0),
|
|
524
|
+
t && m(e.key, !0), we(e, i);
|
|
286
525
|
},
|
|
287
526
|
"aria-current": a ? "page" : void 0,
|
|
288
527
|
disabled: e.disabled,
|
|
289
528
|
title: e.label,
|
|
290
529
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
530
|
+
/* @__PURE__ */ L("span", {
|
|
292
531
|
className: "fcc-sidebar-item-icon",
|
|
293
532
|
children: e.icon
|
|
294
533
|
}),
|
|
295
|
-
/* @__PURE__ */
|
|
534
|
+
/* @__PURE__ */ L("span", {
|
|
296
535
|
className: "fcc-sidebar-label fcc-sidebar-item-label",
|
|
297
536
|
children: e.label
|
|
298
537
|
}),
|
|
299
|
-
e.badge != null && /* @__PURE__ */
|
|
538
|
+
e.badge != null && /* @__PURE__ */ L("span", {
|
|
300
539
|
className: "fcc-sidebar-item-badge",
|
|
301
540
|
children: e.badge
|
|
302
541
|
}),
|
|
303
|
-
t && /* @__PURE__ */
|
|
542
|
+
t && /* @__PURE__ */ L("span", {
|
|
304
543
|
className: [
|
|
305
544
|
"fcc-sidebar-label",
|
|
306
545
|
"fcc-sidebar-item-chevron",
|
|
@@ -312,14 +551,14 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
312
551
|
role: "button",
|
|
313
552
|
"aria-label": `${o ? "Collapse" : "Expand"} ${e.label}`,
|
|
314
553
|
"aria-expanded": o,
|
|
315
|
-
children: /* @__PURE__ */
|
|
554
|
+
children: /* @__PURE__ */ L(_, { size: 14 })
|
|
316
555
|
})
|
|
317
556
|
]
|
|
318
|
-
}), t && o && /* @__PURE__ */
|
|
557
|
+
}), t && o && /* @__PURE__ */ R("div", {
|
|
319
558
|
className: "fcc-sidebar-accordion",
|
|
320
|
-
children: [/* @__PURE__ */
|
|
559
|
+
children: [/* @__PURE__ */ R("div", {
|
|
321
560
|
className: "fcc-sidebar-search",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
561
|
+
children: [/* @__PURE__ */ L(M, { size: 13 }), /* @__PURE__ */ L("input", {
|
|
323
562
|
type: "text",
|
|
324
563
|
className: "fcc-sidebar-search-input",
|
|
325
564
|
value: s,
|
|
@@ -329,24 +568,24 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
329
568
|
})),
|
|
330
569
|
placeholder: e.searchPlaceholder || "Search..."
|
|
331
570
|
})]
|
|
332
|
-
}), /* @__PURE__ */
|
|
571
|
+
}), /* @__PURE__ */ R("div", {
|
|
333
572
|
className: "fcc-sidebar-accordion-body",
|
|
334
|
-
children: [c.length === 0 && /* @__PURE__ */
|
|
573
|
+
children: [c.length === 0 && /* @__PURE__ */ L("div", {
|
|
335
574
|
className: "fcc-sidebar-empty",
|
|
336
575
|
children: "No matching components"
|
|
337
|
-
}), c.map((e) => /* @__PURE__ */
|
|
576
|
+
}), c.map((e) => /* @__PURE__ */ R("div", {
|
|
338
577
|
className: "fcc-sidebar-section",
|
|
339
|
-
children: [/* @__PURE__ */
|
|
578
|
+
children: [/* @__PURE__ */ L("div", {
|
|
340
579
|
className: "fcc-sidebar-section-title",
|
|
341
580
|
children: e.title
|
|
342
|
-
}), /* @__PURE__ */
|
|
581
|
+
}), /* @__PURE__ */ L("div", {
|
|
343
582
|
className: "fcc-sidebar-child-list",
|
|
344
|
-
children: e.items.map((e) => /* @__PURE__ */
|
|
583
|
+
children: e.items.map((e) => /* @__PURE__ */ L("button", {
|
|
345
584
|
type: "button",
|
|
346
585
|
className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
|
|
347
|
-
onClick: () =>
|
|
586
|
+
onClick: () => we(e, i),
|
|
348
587
|
title: e.label,
|
|
349
|
-
children: /* @__PURE__ */
|
|
588
|
+
children: /* @__PURE__ */ L("span", {
|
|
350
589
|
className: "fcc-sidebar-label",
|
|
351
590
|
children: e.label
|
|
352
591
|
})
|
|
@@ -358,34 +597,34 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
358
597
|
}, e.key || e.label);
|
|
359
598
|
})
|
|
360
599
|
}),
|
|
361
|
-
o ? /* @__PURE__ */
|
|
600
|
+
o ? /* @__PURE__ */ L("div", {
|
|
362
601
|
className: "fcc-sidebar-footer",
|
|
363
602
|
children: o
|
|
364
|
-
}) : (a || s) && /* @__PURE__ */
|
|
603
|
+
}) : (a || s) && /* @__PURE__ */ R("div", {
|
|
365
604
|
className: "fcc-sidebar-footer",
|
|
366
|
-
children: [a && /* @__PURE__ */
|
|
605
|
+
children: [a && /* @__PURE__ */ R("div", {
|
|
367
606
|
className: "fcc-sidebar-profile",
|
|
368
|
-
children: [/* @__PURE__ */
|
|
607
|
+
children: [/* @__PURE__ */ L("div", {
|
|
369
608
|
className: "fcc-sidebar-avatar",
|
|
370
609
|
style: a.avatarStyle,
|
|
371
610
|
children: a.avatar || a.initials || a.name?.slice(0, 2) || "FCC"
|
|
372
|
-
}), /* @__PURE__ */
|
|
611
|
+
}), /* @__PURE__ */ R("div", {
|
|
373
612
|
className: "fcc-sidebar-profile-copy",
|
|
374
|
-
children: [/* @__PURE__ */
|
|
613
|
+
children: [/* @__PURE__ */ L("span", {
|
|
375
614
|
className: "fcc-sidebar-label fcc-sidebar-profile-name",
|
|
376
615
|
children: a.name
|
|
377
|
-
}), a.meta && /* @__PURE__ */
|
|
616
|
+
}), a.meta && /* @__PURE__ */ L("span", {
|
|
378
617
|
className: "fcc-sidebar-label fcc-sidebar-profile-meta",
|
|
379
618
|
children: a.meta
|
|
380
619
|
})]
|
|
381
620
|
})]
|
|
382
|
-
}), s && /* @__PURE__ */
|
|
621
|
+
}), s && /* @__PURE__ */ L("button", {
|
|
383
622
|
type: "button",
|
|
384
623
|
className: "fcc-sidebar-logout",
|
|
385
624
|
title: "Logout",
|
|
386
625
|
"aria-label": "Logout",
|
|
387
626
|
onClick: s,
|
|
388
|
-
children: /* @__PURE__ */
|
|
627
|
+
children: /* @__PURE__ */ L(O, { size: 16 })
|
|
389
628
|
})]
|
|
390
629
|
})
|
|
391
630
|
]
|
|
@@ -393,10 +632,10 @@ function de({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
393
632
|
}
|
|
394
633
|
//#endregion
|
|
395
634
|
//#region src/components/layout/FCCAppShell.jsx
|
|
396
|
-
function
|
|
397
|
-
return /* @__PURE__ */
|
|
398
|
-
className: ["fcc-app-shell",
|
|
399
|
-
children: [/* @__PURE__ */
|
|
635
|
+
function Oe({ 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, sidePanel: m, className: h = "", sidebarClassName: g = "", mainClassName: _ = "", headerClassName: v = "", contentClassName: y = "" }) {
|
|
636
|
+
return /* @__PURE__ */ R("div", {
|
|
637
|
+
className: ["fcc-app-shell", h].filter(Boolean).join(" "),
|
|
638
|
+
children: [/* @__PURE__ */ L(De, {
|
|
400
639
|
appName: e,
|
|
401
640
|
logo: t,
|
|
402
641
|
navItems: n,
|
|
@@ -405,25 +644,26 @@ function fe({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
405
644
|
user: a,
|
|
406
645
|
footer: o,
|
|
407
646
|
onLogout: s,
|
|
408
|
-
className:
|
|
409
|
-
}), /* @__PURE__ */
|
|
647
|
+
className: g
|
|
648
|
+
}), /* @__PURE__ */ L(Ce, {
|
|
410
649
|
breadcrumbs: c,
|
|
411
650
|
status: l,
|
|
412
651
|
headerActions: u,
|
|
413
652
|
header: d,
|
|
414
653
|
overlay: p,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
654
|
+
sidePanel: m,
|
|
655
|
+
className: _,
|
|
656
|
+
headerClassName: v,
|
|
657
|
+
contentClassName: y,
|
|
418
658
|
children: f
|
|
419
659
|
})]
|
|
420
660
|
});
|
|
421
661
|
}
|
|
422
662
|
//#endregion
|
|
423
663
|
//#region src/components/layout/FCCBrandLogo.jsx
|
|
424
|
-
function
|
|
425
|
-
let { theme: a } =
|
|
426
|
-
return o ? /* @__PURE__ */
|
|
664
|
+
function ke({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
|
|
665
|
+
let { theme: a } = K(), o = a === "dark" ? e || t : t || e;
|
|
666
|
+
return o ? /* @__PURE__ */ L("img", {
|
|
427
667
|
src: o,
|
|
428
668
|
alt: n,
|
|
429
669
|
className: ["fcc-brand-logo", r].filter(Boolean).join(" "),
|
|
@@ -432,9 +672,9 @@ function pe({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
|
|
|
432
672
|
}
|
|
433
673
|
//#endregion
|
|
434
674
|
//#region src/components/layout/FCCThemeToggle.jsx
|
|
435
|
-
function
|
|
436
|
-
let { theme: t, toggleTheme: n } =
|
|
437
|
-
return /* @__PURE__ */
|
|
675
|
+
function Ae({ className: e = "" }) {
|
|
676
|
+
let { theme: t, toggleTheme: n } = K(), r = t === "dark";
|
|
677
|
+
return /* @__PURE__ */ L("button", {
|
|
438
678
|
type: "button",
|
|
439
679
|
onClick: n,
|
|
440
680
|
className: [
|
|
@@ -446,32 +686,63 @@ function me({ className: e = "" }) {
|
|
|
446
686
|
].filter(Boolean).join(" "),
|
|
447
687
|
title: r ? "Switch to light mode" : "Switch to dark mode",
|
|
448
688
|
"aria-label": r ? "Switch to light mode" : "Switch to dark mode",
|
|
449
|
-
children:
|
|
689
|
+
children: L(r ? j : N, { size: 16 })
|
|
450
690
|
});
|
|
451
691
|
}
|
|
452
692
|
//#endregion
|
|
693
|
+
//#region src/components/ui/FCCDetailsPanel.jsx
|
|
694
|
+
function je({ open: e, onClose: t, title: n, header: r, children: i, className: a = "" }) {
|
|
695
|
+
return o(() => {
|
|
696
|
+
if (!e) return;
|
|
697
|
+
function n(e) {
|
|
698
|
+
e.key === "Escape" && t?.();
|
|
699
|
+
}
|
|
700
|
+
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
701
|
+
}, [e, t]), e ? /* @__PURE__ */ L("div", {
|
|
702
|
+
className: `fcc-details-panel-overlay ${a}`,
|
|
703
|
+
children: /* @__PURE__ */ R("div", {
|
|
704
|
+
className: "fcc-details-panel",
|
|
705
|
+
children: [r || /* @__PURE__ */ R("div", {
|
|
706
|
+
className: "fcc-details-panel-header",
|
|
707
|
+
children: [/* @__PURE__ */ L("span", {
|
|
708
|
+
className: "fcc-details-panel-title",
|
|
709
|
+
children: n
|
|
710
|
+
}), /* @__PURE__ */ L("button", {
|
|
711
|
+
className: "fcc-details-panel-close",
|
|
712
|
+
onClick: t,
|
|
713
|
+
"aria-label": "Close",
|
|
714
|
+
children: /* @__PURE__ */ L(F, { size: 14 })
|
|
715
|
+
})]
|
|
716
|
+
}), /* @__PURE__ */ L("div", {
|
|
717
|
+
className: "fcc-details-panel-body",
|
|
718
|
+
children: i
|
|
719
|
+
})]
|
|
720
|
+
})
|
|
721
|
+
}) : null;
|
|
722
|
+
}
|
|
723
|
+
//#endregion
|
|
453
724
|
//#region src/components/ui/Accordion.jsx
|
|
454
|
-
function
|
|
725
|
+
function Me({ title: e, header: t, defaultOpen: n = !1, className: r = "", children: i }) {
|
|
455
726
|
let [a, o] = l(n);
|
|
456
|
-
return /* @__PURE__ */
|
|
727
|
+
return /* @__PURE__ */ R("div", {
|
|
457
728
|
className: `accordion-item ${r}`,
|
|
458
|
-
children: [/* @__PURE__ */
|
|
729
|
+
children: [/* @__PURE__ */ R("div", {
|
|
459
730
|
className: `accordion-trigger ${a ? "expanded" : ""}`,
|
|
460
731
|
onClick: () => o(!a),
|
|
461
732
|
role: "button",
|
|
462
733
|
"aria-expanded": a,
|
|
463
|
-
children: [t || /* @__PURE__ */
|
|
734
|
+
children: [t || /* @__PURE__ */ L("span", {
|
|
464
735
|
className: "accordion-trigger-title",
|
|
465
736
|
children: e
|
|
466
|
-
}), /* @__PURE__ */
|
|
737
|
+
}), /* @__PURE__ */ L("span", {
|
|
467
738
|
className: "accordion-trigger-chevron",
|
|
468
|
-
children:
|
|
739
|
+
children: L(a ? _ : v, { size: 14 })
|
|
469
740
|
})]
|
|
470
|
-
}), /* @__PURE__ */
|
|
741
|
+
}), /* @__PURE__ */ L("div", {
|
|
471
742
|
className: `accordion-collapse ${a ? "open" : ""}`,
|
|
472
|
-
children: /* @__PURE__ */
|
|
743
|
+
children: /* @__PURE__ */ L("div", {
|
|
473
744
|
className: "accordion-collapse-inner",
|
|
474
|
-
children: /* @__PURE__ */
|
|
745
|
+
children: /* @__PURE__ */ L("div", {
|
|
475
746
|
className: "accordion-content",
|
|
476
747
|
children: i
|
|
477
748
|
})
|
|
@@ -479,7 +750,7 @@ function he({ title: e, header: t, defaultOpen: n = !1, className: r = "", child
|
|
|
479
750
|
})]
|
|
480
751
|
});
|
|
481
752
|
}
|
|
482
|
-
function
|
|
753
|
+
function Ne({ items: e = [], className: t = "" }) {
|
|
483
754
|
let [n, r] = l(/* @__PURE__ */ new Set());
|
|
484
755
|
function i(e) {
|
|
485
756
|
r((t) => {
|
|
@@ -487,29 +758,29 @@ function ge({ items: e = [], className: t = "" }) {
|
|
|
487
758
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
488
759
|
});
|
|
489
760
|
}
|
|
490
|
-
return /* @__PURE__ */
|
|
761
|
+
return /* @__PURE__ */ L("div", {
|
|
491
762
|
className: `accordion ${t}`,
|
|
492
763
|
children: e.map((e) => {
|
|
493
764
|
let t = n.has(e.id);
|
|
494
|
-
return /* @__PURE__ */
|
|
765
|
+
return /* @__PURE__ */ R("div", {
|
|
495
766
|
className: "accordion-item",
|
|
496
|
-
children: [/* @__PURE__ */
|
|
767
|
+
children: [/* @__PURE__ */ R("div", {
|
|
497
768
|
className: `accordion-trigger ${t ? "expanded" : ""}`,
|
|
498
769
|
onClick: () => i(e.id),
|
|
499
770
|
role: "button",
|
|
500
771
|
"aria-expanded": t,
|
|
501
|
-
children: [e.header || /* @__PURE__ */
|
|
772
|
+
children: [e.header || /* @__PURE__ */ L("span", {
|
|
502
773
|
className: "accordion-trigger-title",
|
|
503
774
|
children: e.title
|
|
504
|
-
}), /* @__PURE__ */
|
|
775
|
+
}), /* @__PURE__ */ L("span", {
|
|
505
776
|
className: "accordion-trigger-chevron",
|
|
506
|
-
children:
|
|
777
|
+
children: L(t ? _ : v, { size: 14 })
|
|
507
778
|
})]
|
|
508
|
-
}), /* @__PURE__ */
|
|
779
|
+
}), /* @__PURE__ */ L("div", {
|
|
509
780
|
className: `accordion-collapse ${t ? "open" : ""}`,
|
|
510
|
-
children: /* @__PURE__ */
|
|
781
|
+
children: /* @__PURE__ */ L("div", {
|
|
511
782
|
className: "accordion-collapse-inner",
|
|
512
|
-
children: /* @__PURE__ */
|
|
783
|
+
children: /* @__PURE__ */ L("div", {
|
|
513
784
|
className: "accordion-content",
|
|
514
785
|
children: e.content
|
|
515
786
|
})
|
|
@@ -521,41 +792,41 @@ function ge({ items: e = [], className: t = "" }) {
|
|
|
521
792
|
}
|
|
522
793
|
//#endregion
|
|
523
794
|
//#region src/components/ui/AppLoader.jsx
|
|
524
|
-
function
|
|
525
|
-
return t ? /* @__PURE__ */
|
|
795
|
+
function Pe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
|
|
796
|
+
return t ? /* @__PURE__ */ R("div", {
|
|
526
797
|
className: `loader-fullscreen ${n}`,
|
|
527
|
-
children: [/* @__PURE__ */
|
|
798
|
+
children: [/* @__PURE__ */ L(D, {
|
|
528
799
|
size: 32,
|
|
529
800
|
className: "loader-spin"
|
|
530
|
-
}), e && /* @__PURE__ */
|
|
801
|
+
}), e && /* @__PURE__ */ L("span", {
|
|
531
802
|
className: "loader-label",
|
|
532
803
|
children: e
|
|
533
804
|
})]
|
|
534
|
-
}) : /* @__PURE__ */
|
|
805
|
+
}) : /* @__PURE__ */ R("div", {
|
|
535
806
|
className: `loader ${n}`,
|
|
536
|
-
children: [/* @__PURE__ */
|
|
807
|
+
children: [/* @__PURE__ */ L(D, {
|
|
537
808
|
size: 20,
|
|
538
809
|
className: "loader-spin"
|
|
539
|
-
}), e && /* @__PURE__ */
|
|
810
|
+
}), e && /* @__PURE__ */ L("span", {
|
|
540
811
|
className: "loader-label",
|
|
541
812
|
children: e
|
|
542
813
|
})]
|
|
543
814
|
});
|
|
544
815
|
}
|
|
545
|
-
function
|
|
546
|
-
return /* @__PURE__ */
|
|
816
|
+
function Fe({ size: e = 16, className: t = "" }) {
|
|
817
|
+
return /* @__PURE__ */ L(D, {
|
|
547
818
|
size: e,
|
|
548
819
|
className: `loader-spin ${t}`
|
|
549
820
|
});
|
|
550
821
|
}
|
|
551
822
|
//#endregion
|
|
552
823
|
//#region src/components/ui/Avatar.jsx
|
|
553
|
-
var
|
|
824
|
+
var Ie = {
|
|
554
825
|
sm: "avatar-sm",
|
|
555
826
|
md: "",
|
|
556
827
|
lg: "avatar-lg",
|
|
557
828
|
xl: "avatar-xl"
|
|
558
|
-
},
|
|
829
|
+
}, Le = [
|
|
559
830
|
"#5e6ad2",
|
|
560
831
|
"#5bb98e",
|
|
561
832
|
"#c9a84e",
|
|
@@ -564,14 +835,14 @@ var ye = {
|
|
|
564
835
|
"#5a8ebf",
|
|
565
836
|
"#c4a06a"
|
|
566
837
|
];
|
|
567
|
-
function
|
|
838
|
+
function Re(e) {
|
|
568
839
|
let t = 0;
|
|
569
840
|
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
570
|
-
return
|
|
841
|
+
return Le[Math.abs(t) % Le.length];
|
|
571
842
|
}
|
|
572
|
-
function
|
|
573
|
-
let [o, s] = l(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), u = a.background ||
|
|
574
|
-
return e && !o ? /* @__PURE__ */
|
|
843
|
+
function Y({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
|
|
844
|
+
let [o, s] = l(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), u = a.background || Re(c), d = Ie[r] || "";
|
|
845
|
+
return e && !o ? /* @__PURE__ */ L("img", {
|
|
575
846
|
src: e,
|
|
576
847
|
alt: n || "",
|
|
577
848
|
className: `avatar ${d} ${i}`,
|
|
@@ -580,7 +851,7 @@ function X({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
580
851
|
...a
|
|
581
852
|
},
|
|
582
853
|
onError: () => s(!0)
|
|
583
|
-
}) : /* @__PURE__ */
|
|
854
|
+
}) : /* @__PURE__ */ L("div", {
|
|
584
855
|
className: `avatar ${d} ${i}`,
|
|
585
856
|
style: {
|
|
586
857
|
background: u,
|
|
@@ -591,7 +862,7 @@ function X({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
591
862
|
}
|
|
592
863
|
//#endregion
|
|
593
864
|
//#region src/components/ui/Badge.jsx
|
|
594
|
-
var
|
|
865
|
+
var ze = {
|
|
595
866
|
default: "var(--text-quaternary)",
|
|
596
867
|
secondary: "var(--text-quaternary)",
|
|
597
868
|
success: "var(--accent-green)",
|
|
@@ -602,12 +873,12 @@ var Se = {
|
|
|
602
873
|
purple: "var(--accent-purple)",
|
|
603
874
|
orange: "var(--accent-orange)"
|
|
604
875
|
};
|
|
605
|
-
function
|
|
606
|
-
let a =
|
|
607
|
-
return /* @__PURE__ */
|
|
876
|
+
function X({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
|
|
877
|
+
let a = ze[e] || ze.default;
|
|
878
|
+
return /* @__PURE__ */ R("span", {
|
|
608
879
|
className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
|
|
609
880
|
...i,
|
|
610
|
-
children: [r && /* @__PURE__ */
|
|
881
|
+
children: [r && /* @__PURE__ */ L("span", {
|
|
611
882
|
className: "badge-dot",
|
|
612
883
|
style: { background: a }
|
|
613
884
|
}), n]
|
|
@@ -615,7 +886,7 @@ function Ce({ variant: e = "default", className: t = "", children: n, showDot: r
|
|
|
615
886
|
}
|
|
616
887
|
//#endregion
|
|
617
888
|
//#region src/components/ui/Button.jsx
|
|
618
|
-
var
|
|
889
|
+
var Be = {
|
|
619
890
|
default: "btn-primary",
|
|
620
891
|
destructive: "btn-danger",
|
|
621
892
|
success: "btn-success",
|
|
@@ -624,69 +895,69 @@ var we = {
|
|
|
624
895
|
secondary: "btn-secondary",
|
|
625
896
|
ghost: "btn-ghost",
|
|
626
897
|
link: "btn-link"
|
|
627
|
-
},
|
|
898
|
+
}, Ve = {
|
|
628
899
|
sm: "btn-sm",
|
|
629
900
|
default: "",
|
|
630
901
|
lg: "btn-lg",
|
|
631
902
|
icon: "btn-icon"
|
|
632
|
-
},
|
|
633
|
-
return /* @__PURE__ */
|
|
903
|
+
}, He = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
|
|
904
|
+
return /* @__PURE__ */ L("button", {
|
|
634
905
|
ref: a,
|
|
635
906
|
className: [
|
|
636
907
|
"btn",
|
|
637
|
-
|
|
638
|
-
|
|
908
|
+
Be[e],
|
|
909
|
+
Ve[t],
|
|
639
910
|
n
|
|
640
911
|
].filter(Boolean).join(" "),
|
|
641
912
|
...i,
|
|
642
913
|
children: r
|
|
643
914
|
});
|
|
644
|
-
}),
|
|
915
|
+
}), Ue = {
|
|
645
916
|
default: "card-default",
|
|
646
917
|
green: "card-green",
|
|
647
918
|
red: "card-red",
|
|
648
919
|
yellow: "card-yellow"
|
|
649
|
-
},
|
|
650
|
-
return /* @__PURE__ */
|
|
920
|
+
}, We = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
|
|
921
|
+
return /* @__PURE__ */ L("div", {
|
|
651
922
|
ref: i,
|
|
652
923
|
className: [
|
|
653
924
|
"card",
|
|
654
|
-
|
|
925
|
+
Ue[e],
|
|
655
926
|
t
|
|
656
927
|
].filter(Boolean).join(" "),
|
|
657
928
|
...r,
|
|
658
929
|
children: n
|
|
659
930
|
});
|
|
660
|
-
}),
|
|
661
|
-
return /* @__PURE__ */
|
|
931
|
+
}), Ge = n(function({ className: e = "", children: t, ...n }, r) {
|
|
932
|
+
return /* @__PURE__ */ L("div", {
|
|
662
933
|
ref: r,
|
|
663
934
|
className: `card-header ${e}`,
|
|
664
935
|
...n,
|
|
665
936
|
children: t
|
|
666
937
|
});
|
|
667
|
-
}),
|
|
668
|
-
return /* @__PURE__ */
|
|
938
|
+
}), Ke = n(function({ className: e = "", children: t, ...n }, r) {
|
|
939
|
+
return /* @__PURE__ */ L("h3", {
|
|
669
940
|
ref: r,
|
|
670
941
|
className: `card-title ${e}`,
|
|
671
942
|
...n,
|
|
672
943
|
children: t
|
|
673
944
|
});
|
|
674
|
-
}),
|
|
675
|
-
return /* @__PURE__ */
|
|
945
|
+
}), qe = n(function({ className: e = "", children: t, ...n }, r) {
|
|
946
|
+
return /* @__PURE__ */ L("p", {
|
|
676
947
|
ref: r,
|
|
677
948
|
className: `card-description ${e}`,
|
|
678
949
|
...n,
|
|
679
950
|
children: t
|
|
680
951
|
});
|
|
681
|
-
}),
|
|
682
|
-
return /* @__PURE__ */
|
|
952
|
+
}), Je = n(function({ className: e = "", children: t, ...n }, r) {
|
|
953
|
+
return /* @__PURE__ */ L("div", {
|
|
683
954
|
ref: r,
|
|
684
955
|
className: `card-body ${e}`,
|
|
685
956
|
...n,
|
|
686
957
|
children: t
|
|
687
958
|
});
|
|
688
|
-
}),
|
|
689
|
-
return /* @__PURE__ */
|
|
959
|
+
}), Ye = n(function({ className: e = "", children: t, ...n }, r) {
|
|
960
|
+
return /* @__PURE__ */ L("div", {
|
|
690
961
|
ref: r,
|
|
691
962
|
className: `card-footer ${e}`,
|
|
692
963
|
...n,
|
|
@@ -695,7 +966,7 @@ var we = {
|
|
|
695
966
|
});
|
|
696
967
|
//#endregion
|
|
697
968
|
//#region src/components/ui/Dialog.jsx
|
|
698
|
-
function
|
|
969
|
+
function Xe({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
699
970
|
let i = c(null);
|
|
700
971
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
701
972
|
document.body.style.overflow = "";
|
|
@@ -704,121 +975,121 @@ function Pe({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
|
704
975
|
e.key === "Escape" && t?.();
|
|
705
976
|
}
|
|
706
977
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
707
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
978
|
+
}, [e, t]), e ? /* @__PURE__ */ L("div", {
|
|
708
979
|
className: "dialog-overlay",
|
|
709
980
|
ref: i,
|
|
710
981
|
onClick: (e) => {
|
|
711
982
|
e.target === i.current && t?.();
|
|
712
983
|
},
|
|
713
|
-
children: /* @__PURE__ */
|
|
984
|
+
children: /* @__PURE__ */ L("div", {
|
|
714
985
|
className: `dialog ${r}`,
|
|
715
986
|
children: n
|
|
716
987
|
})
|
|
717
988
|
}) : null;
|
|
718
989
|
}
|
|
719
|
-
function
|
|
720
|
-
return /* @__PURE__ */
|
|
990
|
+
function Ze({ children: e, onClose: t, className: n = "" }) {
|
|
991
|
+
return /* @__PURE__ */ R("div", {
|
|
721
992
|
className: `dialog-header ${n}`,
|
|
722
|
-
children: [/* @__PURE__ */
|
|
993
|
+
children: [/* @__PURE__ */ L("div", {
|
|
723
994
|
style: { flex: 1 },
|
|
724
995
|
children: e
|
|
725
|
-
}), t && /* @__PURE__ */
|
|
996
|
+
}), t && /* @__PURE__ */ L("button", {
|
|
726
997
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
727
998
|
onClick: t,
|
|
728
|
-
children: /* @__PURE__ */
|
|
999
|
+
children: /* @__PURE__ */ L(F, { size: 16 })
|
|
729
1000
|
})]
|
|
730
1001
|
});
|
|
731
1002
|
}
|
|
732
|
-
function
|
|
733
|
-
return /* @__PURE__ */
|
|
1003
|
+
function Qe({ children: e, className: t = "" }) {
|
|
1004
|
+
return /* @__PURE__ */ L("h3", {
|
|
734
1005
|
className: `dialog-title ${t}`,
|
|
735
1006
|
children: e
|
|
736
1007
|
});
|
|
737
1008
|
}
|
|
738
|
-
function
|
|
739
|
-
return /* @__PURE__ */
|
|
1009
|
+
function $e({ children: e, className: t = "" }) {
|
|
1010
|
+
return /* @__PURE__ */ L("p", {
|
|
740
1011
|
className: `dialog-description ${t}`,
|
|
741
1012
|
children: e
|
|
742
1013
|
});
|
|
743
1014
|
}
|
|
744
|
-
function
|
|
745
|
-
return /* @__PURE__ */
|
|
1015
|
+
function et({ children: e, className: t = "" }) {
|
|
1016
|
+
return /* @__PURE__ */ L("div", {
|
|
746
1017
|
className: `dialog-body ${t}`,
|
|
747
1018
|
children: e
|
|
748
1019
|
});
|
|
749
1020
|
}
|
|
750
|
-
function
|
|
751
|
-
return /* @__PURE__ */
|
|
1021
|
+
function tt({ children: e, className: t = "" }) {
|
|
1022
|
+
return /* @__PURE__ */ L("div", {
|
|
752
1023
|
className: `dialog-footer ${t}`,
|
|
753
1024
|
children: e
|
|
754
1025
|
});
|
|
755
1026
|
}
|
|
756
1027
|
//#endregion
|
|
757
1028
|
//#region src/components/ui/DropdownMenu.jsx
|
|
758
|
-
function
|
|
1029
|
+
function nt({ trigger: e, children: t, align: n = "left", className: r = "" }) {
|
|
759
1030
|
let [i, a] = l(!1), s = c(null);
|
|
760
1031
|
return o(() => {
|
|
761
1032
|
function e(e) {
|
|
762
1033
|
s.current && !s.current.contains(e.target) && a(!1);
|
|
763
1034
|
}
|
|
764
1035
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
765
|
-
}, []), /* @__PURE__ */
|
|
1036
|
+
}, []), /* @__PURE__ */ R("div", {
|
|
766
1037
|
ref: s,
|
|
767
1038
|
className: `dropdown-wrapper ${r}`,
|
|
768
1039
|
style: { position: "relative" },
|
|
769
|
-
children: [/* @__PURE__ */
|
|
1040
|
+
children: [/* @__PURE__ */ L("div", {
|
|
770
1041
|
onClick: () => a(!i),
|
|
771
1042
|
children: e
|
|
772
|
-
}), i && /* @__PURE__ */
|
|
1043
|
+
}), i && /* @__PURE__ */ L("div", {
|
|
773
1044
|
className: `dropdown dropdown-align-${n}`,
|
|
774
1045
|
onClick: () => a(!1),
|
|
775
1046
|
children: t
|
|
776
1047
|
})]
|
|
777
1048
|
});
|
|
778
1049
|
}
|
|
779
|
-
function
|
|
780
|
-
return /* @__PURE__ */
|
|
1050
|
+
function rt({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
1051
|
+
return /* @__PURE__ */ R("div", {
|
|
781
1052
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
782
1053
|
onClick: i,
|
|
783
1054
|
children: [
|
|
784
|
-
e && /* @__PURE__ */
|
|
1055
|
+
e && /* @__PURE__ */ L("span", {
|
|
785
1056
|
className: "dropdown-item-icon",
|
|
786
1057
|
children: e
|
|
787
1058
|
}),
|
|
788
|
-
/* @__PURE__ */
|
|
1059
|
+
/* @__PURE__ */ L("span", {
|
|
789
1060
|
style: { flex: 1 },
|
|
790
1061
|
children: t
|
|
791
1062
|
}),
|
|
792
|
-
n && /* @__PURE__ */
|
|
1063
|
+
n && /* @__PURE__ */ L("span", {
|
|
793
1064
|
className: "dropdown-shortcut",
|
|
794
1065
|
children: n
|
|
795
1066
|
})
|
|
796
1067
|
]
|
|
797
1068
|
});
|
|
798
1069
|
}
|
|
799
|
-
function
|
|
800
|
-
return /* @__PURE__ */
|
|
1070
|
+
function it({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
1071
|
+
return /* @__PURE__ */ R("div", {
|
|
801
1072
|
className: `dropdown-item ${r}`,
|
|
802
1073
|
onClick: () => t?.(!e),
|
|
803
|
-
children: [/* @__PURE__ */
|
|
1074
|
+
children: [/* @__PURE__ */ L("span", {
|
|
804
1075
|
className: "dropdown-item-icon",
|
|
805
1076
|
style: { opacity: +!!e },
|
|
806
|
-
children: /* @__PURE__ */
|
|
1077
|
+
children: /* @__PURE__ */ L(m, { size: 14 })
|
|
807
1078
|
}), n]
|
|
808
1079
|
});
|
|
809
1080
|
}
|
|
810
|
-
function
|
|
811
|
-
return /* @__PURE__ */
|
|
1081
|
+
function at({ children: e, className: t = "" }) {
|
|
1082
|
+
return /* @__PURE__ */ L("div", {
|
|
812
1083
|
className: `dropdown-label ${t}`,
|
|
813
1084
|
children: e
|
|
814
1085
|
});
|
|
815
1086
|
}
|
|
816
|
-
function
|
|
817
|
-
return /* @__PURE__ */
|
|
1087
|
+
function ot({ className: e = "" }) {
|
|
1088
|
+
return /* @__PURE__ */ L("div", { className: `dropdown-divider ${e}` });
|
|
818
1089
|
}
|
|
819
1090
|
//#endregion
|
|
820
1091
|
//#region src/components/ui/SearchableSelect.jsx
|
|
821
|
-
function
|
|
1092
|
+
function st({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: u = "" }) {
|
|
822
1093
|
let [d, f] = l(!1), [p, h] = l(""), [g, v] = l(0), y = c(null), b = c(null), x = e.filter((e) => e.label.toLowerCase().includes(p.toLowerCase()) || e.description && e.description.toLowerCase().includes(p.toLowerCase())), S = e.find((e) => e.value === t);
|
|
823
1094
|
o(() => {
|
|
824
1095
|
d && b.current && b.current.focus();
|
|
@@ -831,28 +1102,28 @@ function Ge({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
831
1102
|
function C(e) {
|
|
832
1103
|
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
1104
|
}
|
|
834
|
-
return /* @__PURE__ */
|
|
1105
|
+
return /* @__PURE__ */ R("div", {
|
|
835
1106
|
ref: y,
|
|
836
1107
|
className: `searchable-select ${u}`,
|
|
837
|
-
children: [/* @__PURE__ */
|
|
1108
|
+
children: [/* @__PURE__ */ R("button", {
|
|
838
1109
|
className: "searchable-select-trigger",
|
|
839
1110
|
onClick: () => !s && f(!d),
|
|
840
1111
|
disabled: s,
|
|
841
1112
|
type: "button",
|
|
842
|
-
children: [/* @__PURE__ */
|
|
1113
|
+
children: [/* @__PURE__ */ L("span", {
|
|
843
1114
|
className: S ? "" : "searchable-select-placeholder",
|
|
844
1115
|
children: S ? S.label : r
|
|
845
|
-
}), /* @__PURE__ */
|
|
1116
|
+
}), /* @__PURE__ */ L(_, {
|
|
846
1117
|
size: 14,
|
|
847
1118
|
className: "searchable-select-chevron"
|
|
848
1119
|
})]
|
|
849
|
-
}), d && /* @__PURE__ */
|
|
1120
|
+
}), d && /* @__PURE__ */ R("div", {
|
|
850
1121
|
className: "searchable-select-dropdown",
|
|
851
|
-
children: [/* @__PURE__ */
|
|
1122
|
+
children: [/* @__PURE__ */ R("div", {
|
|
852
1123
|
className: "searchable-select-search",
|
|
853
1124
|
children: [
|
|
854
|
-
/* @__PURE__ */
|
|
855
|
-
/* @__PURE__ */
|
|
1125
|
+
/* @__PURE__ */ L(M, { size: 14 }),
|
|
1126
|
+
/* @__PURE__ */ L("input", {
|
|
856
1127
|
ref: b,
|
|
857
1128
|
value: p,
|
|
858
1129
|
onChange: (e) => {
|
|
@@ -862,21 +1133,21 @@ function Ge({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
862
1133
|
placeholder: i,
|
|
863
1134
|
className: "searchable-select-input"
|
|
864
1135
|
}),
|
|
865
|
-
p && /* @__PURE__ */
|
|
1136
|
+
p && /* @__PURE__ */ L("button", {
|
|
866
1137
|
className: "searchable-select-clear",
|
|
867
1138
|
onClick: () => h(""),
|
|
868
|
-
children: /* @__PURE__ */
|
|
1139
|
+
children: /* @__PURE__ */ L(F, { size: 12 })
|
|
869
1140
|
})
|
|
870
1141
|
]
|
|
871
|
-
}), /* @__PURE__ */
|
|
1142
|
+
}), /* @__PURE__ */ R("div", {
|
|
872
1143
|
className: "searchable-select-options",
|
|
873
1144
|
children: [
|
|
874
|
-
a && /* @__PURE__ */
|
|
1145
|
+
a && /* @__PURE__ */ L("div", {
|
|
875
1146
|
className: `searchable-select-option ${t ? "" : "selected"}`,
|
|
876
1147
|
onClick: () => {
|
|
877
1148
|
n?.(null), f(!1), h("");
|
|
878
1149
|
},
|
|
879
|
-
children: /* @__PURE__ */
|
|
1150
|
+
children: /* @__PURE__ */ L("span", {
|
|
880
1151
|
style: {
|
|
881
1152
|
color: "var(--text-tertiary)",
|
|
882
1153
|
fontStyle: "italic"
|
|
@@ -884,21 +1155,21 @@ function Ge({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
884
1155
|
children: "None"
|
|
885
1156
|
})
|
|
886
1157
|
}),
|
|
887
|
-
x.map((e, r) => /* @__PURE__ */
|
|
1158
|
+
x.map((e, r) => /* @__PURE__ */ R("div", {
|
|
888
1159
|
className: `searchable-select-option ${r === g ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
|
|
889
1160
|
onClick: () => {
|
|
890
1161
|
n?.(e.value), f(!1), h("");
|
|
891
1162
|
},
|
|
892
1163
|
onMouseEnter: () => v(r),
|
|
893
|
-
children: [/* @__PURE__ */
|
|
1164
|
+
children: [/* @__PURE__ */ R("div", {
|
|
894
1165
|
className: "searchable-select-option-content",
|
|
895
|
-
children: [/* @__PURE__ */
|
|
1166
|
+
children: [/* @__PURE__ */ L("span", { children: e.label }), e.description && /* @__PURE__ */ L("span", {
|
|
896
1167
|
className: "searchable-select-option-desc",
|
|
897
1168
|
children: e.description
|
|
898
1169
|
})]
|
|
899
|
-
}), e.value === t && /* @__PURE__ */
|
|
1170
|
+
}), e.value === t && /* @__PURE__ */ L(m, { size: 14 })]
|
|
900
1171
|
}, e.value)),
|
|
901
|
-
x.length === 0 && /* @__PURE__ */
|
|
1172
|
+
x.length === 0 && /* @__PURE__ */ L("div", {
|
|
902
1173
|
className: "searchable-select-empty",
|
|
903
1174
|
children: "No results found"
|
|
904
1175
|
})
|
|
@@ -909,7 +1180,7 @@ function Ge({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
909
1180
|
}
|
|
910
1181
|
//#endregion
|
|
911
1182
|
//#region src/components/ui/Sheet.jsx
|
|
912
|
-
function
|
|
1183
|
+
function ct({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
913
1184
|
let s = c(null);
|
|
914
1185
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
915
1186
|
document.body.style.overflow = "";
|
|
@@ -918,54 +1189,54 @@ function Ke({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
918
1189
|
e.key === "Escape" && t?.();
|
|
919
1190
|
}
|
|
920
1191
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
921
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
1192
|
+
}, [e, t]), e ? /* @__PURE__ */ L("div", {
|
|
922
1193
|
className: "sheet-overlay",
|
|
923
1194
|
ref: s,
|
|
924
1195
|
onClick: (e) => {
|
|
925
1196
|
e.target === s.current && t?.();
|
|
926
1197
|
},
|
|
927
|
-
children: /* @__PURE__ */
|
|
1198
|
+
children: /* @__PURE__ */ R("div", {
|
|
928
1199
|
className: `sheet sheet-${n} ${a}`,
|
|
929
|
-
children: [r && /* @__PURE__ */
|
|
1200
|
+
children: [r && /* @__PURE__ */ R("div", {
|
|
930
1201
|
className: "sheet-header",
|
|
931
|
-
children: [/* @__PURE__ */
|
|
1202
|
+
children: [/* @__PURE__ */ L("h3", {
|
|
932
1203
|
className: "sheet-title",
|
|
933
1204
|
children: r
|
|
934
|
-
}), /* @__PURE__ */
|
|
1205
|
+
}), /* @__PURE__ */ L("button", {
|
|
935
1206
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
936
1207
|
onClick: t,
|
|
937
|
-
children: /* @__PURE__ */
|
|
1208
|
+
children: /* @__PURE__ */ L(F, { size: 16 })
|
|
938
1209
|
})]
|
|
939
|
-
}), /* @__PURE__ */
|
|
1210
|
+
}), /* @__PURE__ */ L("div", {
|
|
940
1211
|
className: "sheet-body",
|
|
941
1212
|
children: i
|
|
942
1213
|
})]
|
|
943
1214
|
})
|
|
944
1215
|
}) : null;
|
|
945
1216
|
}
|
|
946
|
-
function
|
|
947
|
-
return /* @__PURE__ */
|
|
1217
|
+
function lt({ children: e, className: t = "" }) {
|
|
1218
|
+
return /* @__PURE__ */ L("div", {
|
|
948
1219
|
className: `sheet-footer ${t}`,
|
|
949
1220
|
children: e
|
|
950
1221
|
});
|
|
951
1222
|
}
|
|
952
1223
|
//#endregion
|
|
953
1224
|
//#region src/components/ui/StatusMetric.jsx
|
|
954
|
-
function
|
|
1225
|
+
function ut(...e) {
|
|
955
1226
|
return e.filter(Boolean).join(" ");
|
|
956
1227
|
}
|
|
957
|
-
var
|
|
1228
|
+
var dt = {
|
|
958
1229
|
default: "",
|
|
959
1230
|
warning: "status-metric--warning"
|
|
960
1231
|
};
|
|
961
|
-
function
|
|
1232
|
+
function ft({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
|
|
962
1233
|
let o = r || (t === "warning" ? d : x);
|
|
963
|
-
return /* @__PURE__ */
|
|
964
|
-
className:
|
|
965
|
-
children: [n && o && /* @__PURE__ */
|
|
1234
|
+
return /* @__PURE__ */ R("span", {
|
|
1235
|
+
className: ut("status-metric", dt[t], a),
|
|
1236
|
+
children: [n && o && /* @__PURE__ */ L("span", {
|
|
966
1237
|
className: "status-metric-icon",
|
|
967
|
-
children: /* @__PURE__ */
|
|
968
|
-
}), /* @__PURE__ */
|
|
1238
|
+
children: /* @__PURE__ */ L(o, { size: i })
|
|
1239
|
+
}), /* @__PURE__ */ L("span", {
|
|
969
1240
|
className: "status-metric-text",
|
|
970
1241
|
children: e
|
|
971
1242
|
})]
|
|
@@ -973,19 +1244,19 @@ function Xe({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
|
|
|
973
1244
|
}
|
|
974
1245
|
//#endregion
|
|
975
1246
|
//#region src/components/ui/Switch.jsx
|
|
976
|
-
function
|
|
977
|
-
return /* @__PURE__ */
|
|
1247
|
+
function pt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
1248
|
+
return /* @__PURE__ */ R("div", {
|
|
978
1249
|
className: "toggle-row",
|
|
979
|
-
children: [i && /* @__PURE__ */
|
|
1250
|
+
children: [i && /* @__PURE__ */ L("span", {
|
|
980
1251
|
className: "toggle-text",
|
|
981
1252
|
children: i
|
|
982
|
-
}), /* @__PURE__ */
|
|
1253
|
+
}), /* @__PURE__ */ L("button", {
|
|
983
1254
|
className: `toggle ${e ? "active" : ""} ${r === "sm" ? "toggle-sm" : ""}`,
|
|
984
1255
|
onClick: () => !n && t?.(!e),
|
|
985
1256
|
disabled: n,
|
|
986
1257
|
role: "switch",
|
|
987
1258
|
"aria-checked": e,
|
|
988
|
-
children: /* @__PURE__ */
|
|
1259
|
+
children: /* @__PURE__ */ L("div", { className: "toggle-knob" })
|
|
989
1260
|
})]
|
|
990
1261
|
});
|
|
991
1262
|
}
|
|
@@ -995,28 +1266,28 @@ var Z = e({
|
|
|
995
1266
|
value: "",
|
|
996
1267
|
onChange: () => {}
|
|
997
1268
|
});
|
|
998
|
-
function
|
|
1269
|
+
function mt({ defaultValue: e, value: t, onValueChange: n, children: r, className: i = "" }) {
|
|
999
1270
|
let [a, o] = l(e || ""), s = t === void 0 ? a : t, c = n || o;
|
|
1000
|
-
return /* @__PURE__ */
|
|
1271
|
+
return /* @__PURE__ */ L(Z.Provider, {
|
|
1001
1272
|
value: {
|
|
1002
1273
|
value: s,
|
|
1003
1274
|
onChange: c
|
|
1004
1275
|
},
|
|
1005
|
-
children: /* @__PURE__ */
|
|
1276
|
+
children: /* @__PURE__ */ L("div", {
|
|
1006
1277
|
className: i,
|
|
1007
1278
|
children: r
|
|
1008
1279
|
})
|
|
1009
1280
|
});
|
|
1010
1281
|
}
|
|
1011
|
-
function
|
|
1012
|
-
return /* @__PURE__ */
|
|
1282
|
+
function ht({ children: e, className: t = "" }) {
|
|
1283
|
+
return /* @__PURE__ */ L("div", {
|
|
1013
1284
|
className: `tabs ${t}`,
|
|
1014
1285
|
children: e
|
|
1015
1286
|
});
|
|
1016
1287
|
}
|
|
1017
|
-
function
|
|
1288
|
+
function gt({ value: e, children: t, className: n = "" }) {
|
|
1018
1289
|
let { value: r, onChange: i } = a(Z), o = r === e;
|
|
1019
|
-
return /* @__PURE__ */
|
|
1290
|
+
return /* @__PURE__ */ L("button", {
|
|
1020
1291
|
className: `tab ${o ? "active" : ""} ${n}`,
|
|
1021
1292
|
onClick: () => i(e),
|
|
1022
1293
|
role: "tab",
|
|
@@ -1025,9 +1296,9 @@ function et({ value: e, children: t, className: n = "" }) {
|
|
|
1025
1296
|
children: t
|
|
1026
1297
|
});
|
|
1027
1298
|
}
|
|
1028
|
-
function
|
|
1299
|
+
function _t({ value: e, children: t, className: n = "" }) {
|
|
1029
1300
|
let { value: r } = a(Z);
|
|
1030
|
-
return r === e ? /* @__PURE__ */
|
|
1301
|
+
return r === e ? /* @__PURE__ */ L("div", {
|
|
1031
1302
|
className: n,
|
|
1032
1303
|
role: "tabpanel",
|
|
1033
1304
|
children: t
|
|
@@ -1035,7 +1306,7 @@ function tt({ value: e, children: t, className: n = "" }) {
|
|
|
1035
1306
|
}
|
|
1036
1307
|
//#endregion
|
|
1037
1308
|
//#region src/components/ui/Tooltip.jsx
|
|
1038
|
-
function
|
|
1309
|
+
function vt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
1039
1310
|
let [i, a] = l(!1), o = c(null);
|
|
1040
1311
|
function s() {
|
|
1041
1312
|
o.current = setTimeout(() => a(!0), 300);
|
|
@@ -1043,7 +1314,7 @@ function nt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1043
1314
|
function u() {
|
|
1044
1315
|
clearTimeout(o.current), a(!1);
|
|
1045
1316
|
}
|
|
1046
|
-
return /* @__PURE__ */
|
|
1317
|
+
return /* @__PURE__ */ R("div", {
|
|
1047
1318
|
className: `tooltip-wrapper ${r}`,
|
|
1048
1319
|
onMouseEnter: s,
|
|
1049
1320
|
onMouseLeave: u,
|
|
@@ -1051,7 +1322,7 @@ function nt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1051
1322
|
position: "relative",
|
|
1052
1323
|
display: "inline-flex"
|
|
1053
1324
|
},
|
|
1054
|
-
children: [n, i && /* @__PURE__ */
|
|
1325
|
+
children: [n, i && /* @__PURE__ */ L("div", {
|
|
1055
1326
|
className: `tooltip tooltip-${t}`,
|
|
1056
1327
|
children: e
|
|
1057
1328
|
})]
|
|
@@ -1059,7 +1330,7 @@ function nt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1059
1330
|
}
|
|
1060
1331
|
//#endregion
|
|
1061
1332
|
//#region src/components/ui/viewModeDefaults.js
|
|
1062
|
-
var
|
|
1333
|
+
var yt = {
|
|
1063
1334
|
kanban: S,
|
|
1064
1335
|
board: S,
|
|
1065
1336
|
columns: S,
|
|
@@ -1069,7 +1340,7 @@ var rt = {
|
|
|
1069
1340
|
grid: T,
|
|
1070
1341
|
calendar: p,
|
|
1071
1342
|
map: k
|
|
1072
|
-
},
|
|
1343
|
+
}, bt = [{
|
|
1073
1344
|
value: "kanban",
|
|
1074
1345
|
label: "Kanban",
|
|
1075
1346
|
title: "Board View"
|
|
@@ -1080,13 +1351,13 @@ var rt = {
|
|
|
1080
1351
|
}];
|
|
1081
1352
|
//#endregion
|
|
1082
1353
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
1083
|
-
function
|
|
1084
|
-
return e.icon ? e.icon :
|
|
1354
|
+
function xt(e) {
|
|
1355
|
+
return e.icon ? e.icon : yt[e.value] ?? null;
|
|
1085
1356
|
}
|
|
1086
|
-
function
|
|
1357
|
+
function St(e, n) {
|
|
1087
1358
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1088
1359
|
}
|
|
1089
|
-
function
|
|
1360
|
+
function Ct({ options: e = bt, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: u = 16, showLabels: d = !1, className: f = "", optionClassName: p = "" }) {
|
|
1090
1361
|
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(() => {
|
|
1091
1362
|
let e = h.current, t = g.current.get(y);
|
|
1092
1363
|
if (e) {
|
|
@@ -1134,7 +1405,7 @@ function st({ options: e = it, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1134
1405
|
u,
|
|
1135
1406
|
f,
|
|
1136
1407
|
p
|
|
1137
|
-
]), /* @__PURE__ */
|
|
1408
|
+
]), /* @__PURE__ */ R("div", {
|
|
1138
1409
|
ref: m,
|
|
1139
1410
|
className: [
|
|
1140
1411
|
"view-mode-toggle",
|
|
@@ -1143,13 +1414,13 @@ function st({ options: e = it, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1143
1414
|
].filter(Boolean).join(" "),
|
|
1144
1415
|
role: "group",
|
|
1145
1416
|
"aria-label": a,
|
|
1146
|
-
children: [/* @__PURE__ */
|
|
1417
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1147
1418
|
ref: h,
|
|
1148
1419
|
"aria-hidden": "true",
|
|
1149
1420
|
className: "view-mode-toggle-indicator"
|
|
1150
1421
|
}), e.map((e) => {
|
|
1151
|
-
let t = e.value === y, n =
|
|
1152
|
-
return /* @__PURE__ */
|
|
1422
|
+
let t = e.value === y, n = St(xt(e), u);
|
|
1423
|
+
return /* @__PURE__ */ R("button", {
|
|
1153
1424
|
type: "button",
|
|
1154
1425
|
"aria-pressed": t,
|
|
1155
1426
|
disabled: e.disabled,
|
|
@@ -1165,10 +1436,10 @@ function st({ options: e = it, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1165
1436
|
p
|
|
1166
1437
|
].filter(Boolean).join(" "),
|
|
1167
1438
|
onClick: () => x(e),
|
|
1168
|
-
children: [n && /* @__PURE__ */
|
|
1439
|
+
children: [n && /* @__PURE__ */ L("span", {
|
|
1169
1440
|
className: "view-mode-toggle-icon",
|
|
1170
1441
|
children: n
|
|
1171
|
-
}), d && /* @__PURE__ */
|
|
1442
|
+
}), d && /* @__PURE__ */ L("span", {
|
|
1172
1443
|
className: "view-mode-toggle-label",
|
|
1173
1444
|
children: e.label
|
|
1174
1445
|
})]
|
|
@@ -1178,10 +1449,10 @@ function st({ options: e = it, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1178
1449
|
}
|
|
1179
1450
|
//#endregion
|
|
1180
1451
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
1181
|
-
function
|
|
1452
|
+
function wt(e, n) {
|
|
1182
1453
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1183
1454
|
}
|
|
1184
|
-
function
|
|
1455
|
+
function Tt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: u = 14, variant: d = "plain", className: f = "", itemClassName: p = "" }) {
|
|
1185
1456
|
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(() => {
|
|
1186
1457
|
let e = h.current, t = g.current.get(y);
|
|
1187
1458
|
if (e) {
|
|
@@ -1229,7 +1500,7 @@ function lt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1229
1500
|
d,
|
|
1230
1501
|
f,
|
|
1231
1502
|
p
|
|
1232
|
-
]), /* @__PURE__ */
|
|
1503
|
+
]), /* @__PURE__ */ R("div", {
|
|
1233
1504
|
ref: m,
|
|
1234
1505
|
className: [
|
|
1235
1506
|
"workspace-tabs",
|
|
@@ -1238,13 +1509,13 @@ function lt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1238
1509
|
].filter(Boolean).join(" "),
|
|
1239
1510
|
role: "tablist",
|
|
1240
1511
|
"aria-label": a,
|
|
1241
|
-
children: [/* @__PURE__ */
|
|
1512
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1242
1513
|
ref: h,
|
|
1243
1514
|
"aria-hidden": "true",
|
|
1244
1515
|
className: "workspace-tabs-indicator"
|
|
1245
1516
|
}), e.map((e) => {
|
|
1246
|
-
let t = e.id === y, n =
|
|
1247
|
-
return /* @__PURE__ */
|
|
1517
|
+
let t = e.id === y, n = wt(e.icon, u);
|
|
1518
|
+
return /* @__PURE__ */ R("button", {
|
|
1248
1519
|
type: "button",
|
|
1249
1520
|
role: "tab",
|
|
1250
1521
|
"aria-selected": t,
|
|
@@ -1261,15 +1532,15 @@ function lt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1261
1532
|
].filter(Boolean).join(" "),
|
|
1262
1533
|
onClick: () => x(e),
|
|
1263
1534
|
children: [
|
|
1264
|
-
n && /* @__PURE__ */
|
|
1535
|
+
n && /* @__PURE__ */ L("span", {
|
|
1265
1536
|
className: "workspace-tab-icon",
|
|
1266
1537
|
children: n
|
|
1267
1538
|
}),
|
|
1268
|
-
/* @__PURE__ */
|
|
1539
|
+
/* @__PURE__ */ L("span", {
|
|
1269
1540
|
className: "workspace-tab-label",
|
|
1270
1541
|
children: e.label
|
|
1271
1542
|
}),
|
|
1272
|
-
e.badge != null && /* @__PURE__ */
|
|
1543
|
+
e.badge != null && /* @__PURE__ */ L("span", {
|
|
1273
1544
|
className: "workspace-tab-badge",
|
|
1274
1545
|
children: e.badge
|
|
1275
1546
|
})
|
|
@@ -1280,35 +1551,35 @@ function lt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1280
1551
|
}
|
|
1281
1552
|
//#endregion
|
|
1282
1553
|
//#region src/components/data/ActivityFeed.jsx
|
|
1283
|
-
function
|
|
1284
|
-
return /* @__PURE__ */
|
|
1554
|
+
function Et({ items: e = [], className: t = "" }) {
|
|
1555
|
+
return /* @__PURE__ */ L("div", {
|
|
1285
1556
|
className: `activity-feed ${t}`,
|
|
1286
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1557
|
+
children: e.map((e, t) => /* @__PURE__ */ R("div", {
|
|
1287
1558
|
className: "activity-item",
|
|
1288
|
-
children: [/* @__PURE__ */
|
|
1559
|
+
children: [/* @__PURE__ */ L("div", {
|
|
1289
1560
|
className: "activity-avatar",
|
|
1290
|
-
children: /* @__PURE__ */
|
|
1561
|
+
children: /* @__PURE__ */ L(Y, {
|
|
1291
1562
|
name: e.user,
|
|
1292
1563
|
size: "sm"
|
|
1293
1564
|
})
|
|
1294
|
-
}), /* @__PURE__ */
|
|
1565
|
+
}), /* @__PURE__ */ R("div", {
|
|
1295
1566
|
className: "activity-content",
|
|
1296
1567
|
children: [
|
|
1297
|
-
/* @__PURE__ */
|
|
1568
|
+
/* @__PURE__ */ R("div", {
|
|
1298
1569
|
className: "activity-header",
|
|
1299
|
-
children: [/* @__PURE__ */
|
|
1570
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1300
1571
|
className: "activity-name",
|
|
1301
1572
|
children: e.user
|
|
1302
|
-
}), /* @__PURE__ */
|
|
1573
|
+
}), /* @__PURE__ */ L("span", {
|
|
1303
1574
|
className: "activity-time",
|
|
1304
1575
|
children: e.time
|
|
1305
1576
|
})]
|
|
1306
1577
|
}),
|
|
1307
|
-
/* @__PURE__ */
|
|
1578
|
+
/* @__PURE__ */ L("div", {
|
|
1308
1579
|
className: "activity-text",
|
|
1309
1580
|
children: e.text
|
|
1310
1581
|
}),
|
|
1311
|
-
e.meta && /* @__PURE__ */
|
|
1582
|
+
e.meta && /* @__PURE__ */ L("div", {
|
|
1312
1583
|
className: "activity-meta",
|
|
1313
1584
|
children: e.meta
|
|
1314
1585
|
})
|
|
@@ -1319,7 +1590,7 @@ function ut({ items: e = [], className: t = "" }) {
|
|
|
1319
1590
|
}
|
|
1320
1591
|
//#endregion
|
|
1321
1592
|
//#region src/components/data/CommandBar.jsx
|
|
1322
|
-
function
|
|
1593
|
+
function Dt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
1323
1594
|
let [a, s] = l(""), [u, d] = l(0), f = c(null);
|
|
1324
1595
|
if (o(() => {
|
|
1325
1596
|
if (e) {
|
|
@@ -1344,19 +1615,19 @@ function dt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1344
1615
|
function h(e) {
|
|
1345
1616
|
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?.();
|
|
1346
1617
|
}
|
|
1347
|
-
return /* @__PURE__ */
|
|
1618
|
+
return /* @__PURE__ */ L("div", {
|
|
1348
1619
|
className: "dialog-overlay",
|
|
1349
1620
|
onClick: (e) => {
|
|
1350
1621
|
e.target === e.currentTarget && t?.();
|
|
1351
1622
|
},
|
|
1352
|
-
children: /* @__PURE__ */
|
|
1623
|
+
children: /* @__PURE__ */ R("div", {
|
|
1353
1624
|
className: "command-palette",
|
|
1354
|
-
children: [/* @__PURE__ */
|
|
1625
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1355
1626
|
className: "command-input-wrapper",
|
|
1356
|
-
children: [/* @__PURE__ */
|
|
1627
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1357
1628
|
className: "command-input-icon",
|
|
1358
|
-
children: /* @__PURE__ */
|
|
1359
|
-
}), /* @__PURE__ */
|
|
1629
|
+
children: /* @__PURE__ */ L(M, { size: 16 })
|
|
1630
|
+
}), /* @__PURE__ */ L("input", {
|
|
1360
1631
|
ref: f,
|
|
1361
1632
|
className: "command-input",
|
|
1362
1633
|
value: a,
|
|
@@ -1366,29 +1637,29 @@ function dt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1366
1637
|
onKeyDown: h,
|
|
1367
1638
|
placeholder: i
|
|
1368
1639
|
})]
|
|
1369
|
-
}), /* @__PURE__ */
|
|
1640
|
+
}), /* @__PURE__ */ R("div", {
|
|
1370
1641
|
className: "command-results",
|
|
1371
|
-
children: [m.map((e, n) => /* @__PURE__ */
|
|
1642
|
+
children: [m.map((e, n) => /* @__PURE__ */ R("div", { children: [e.showGroup && /* @__PURE__ */ L("div", {
|
|
1372
1643
|
className: "command-group-label",
|
|
1373
1644
|
children: e.group
|
|
1374
|
-
}), /* @__PURE__ */
|
|
1645
|
+
}), /* @__PURE__ */ R("div", {
|
|
1375
1646
|
className: `dropdown-item ${n === u ? "active" : ""}`,
|
|
1376
1647
|
onClick: () => {
|
|
1377
1648
|
r?.(e), t?.();
|
|
1378
1649
|
},
|
|
1379
1650
|
onMouseEnter: () => d(n),
|
|
1380
1651
|
children: [
|
|
1381
|
-
e.icon && /* @__PURE__ */
|
|
1652
|
+
e.icon && /* @__PURE__ */ L("span", {
|
|
1382
1653
|
className: "dropdown-item-icon",
|
|
1383
1654
|
children: e.icon
|
|
1384
1655
|
}),
|
|
1385
1656
|
e.label,
|
|
1386
|
-
e.shortcut && /* @__PURE__ */
|
|
1657
|
+
e.shortcut && /* @__PURE__ */ L("span", {
|
|
1387
1658
|
className: "dropdown-shortcut",
|
|
1388
1659
|
children: e.shortcut
|
|
1389
1660
|
})
|
|
1390
1661
|
]
|
|
1391
|
-
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */
|
|
1662
|
+
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */ L("div", {
|
|
1392
1663
|
style: {
|
|
1393
1664
|
padding: "var(--space-4)",
|
|
1394
1665
|
textAlign: "center",
|
|
@@ -1403,7 +1674,7 @@ function dt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1403
1674
|
}
|
|
1404
1675
|
//#endregion
|
|
1405
1676
|
//#region src/components/data/DataTable.jsx
|
|
1406
|
-
function
|
|
1677
|
+
function Ot({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
1407
1678
|
let [i, a] = l(null), [o, s] = l("asc");
|
|
1408
1679
|
function c(e) {
|
|
1409
1680
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -1412,26 +1683,26 @@ function ft({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
1412
1683
|
let n = e[i], r = t[i], a = typeof n == "number" ? n - r : String(n).localeCompare(String(r));
|
|
1413
1684
|
return o === "asc" ? a : -a;
|
|
1414
1685
|
}) : t;
|
|
1415
|
-
return /* @__PURE__ */
|
|
1686
|
+
return /* @__PURE__ */ L("div", {
|
|
1416
1687
|
className: `table-wrapper ${r}`,
|
|
1417
|
-
children: /* @__PURE__ */
|
|
1688
|
+
children: /* @__PURE__ */ R("table", { children: [/* @__PURE__ */ L("thead", { children: /* @__PURE__ */ L("tr", { children: e.map((e) => /* @__PURE__ */ L("th", {
|
|
1418
1689
|
onClick: () => e.sortable !== !1 && c(e.key),
|
|
1419
1690
|
style: {
|
|
1420
1691
|
cursor: e.sortable === !1 ? "default" : "pointer",
|
|
1421
1692
|
width: e.width
|
|
1422
1693
|
},
|
|
1423
|
-
children: /* @__PURE__ */
|
|
1694
|
+
children: /* @__PURE__ */ R("span", {
|
|
1424
1695
|
className: "th-content",
|
|
1425
|
-
children: [e.label, e.sortable !== !1 && /* @__PURE__ */
|
|
1696
|
+
children: [e.label, e.sortable !== !1 && /* @__PURE__ */ L("span", {
|
|
1426
1697
|
className: "th-sort-icon",
|
|
1427
|
-
children: i === e.key ?
|
|
1698
|
+
children: i === e.key ? L(o === "asc" ? y : _, { size: 12 }) : /* @__PURE__ */ L(b, { size: 12 })
|
|
1428
1699
|
})]
|
|
1429
1700
|
})
|
|
1430
|
-
}, e.key)) }) }), /* @__PURE__ */
|
|
1701
|
+
}, e.key)) }) }), /* @__PURE__ */ R("tbody", { children: [u.map((t, r) => /* @__PURE__ */ L("tr", {
|
|
1431
1702
|
onClick: () => n?.(t),
|
|
1432
1703
|
style: { cursor: n ? "pointer" : "default" },
|
|
1433
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1434
|
-
}, t.id || r)), u.length === 0 && /* @__PURE__ */
|
|
1704
|
+
children: e.map((e) => /* @__PURE__ */ L("td", { children: e.render ? e.render(t[e.key], t) : t[e.key] }, e.key))
|
|
1705
|
+
}, t.id || r)), u.length === 0 && /* @__PURE__ */ L("tr", { children: /* @__PURE__ */ L("td", {
|
|
1435
1706
|
colSpan: e.length,
|
|
1436
1707
|
style: {
|
|
1437
1708
|
textAlign: "center",
|
|
@@ -1444,44 +1715,44 @@ function ft({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
1444
1715
|
}
|
|
1445
1716
|
//#endregion
|
|
1446
1717
|
//#region src/components/data/FilterBar.jsx
|
|
1447
|
-
function
|
|
1718
|
+
function kt({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
1448
1719
|
let o = n.some((e) => e.active);
|
|
1449
|
-
return /* @__PURE__ */
|
|
1720
|
+
return /* @__PURE__ */ R("div", {
|
|
1450
1721
|
className: `filter-bar ${a}`,
|
|
1451
1722
|
children: [
|
|
1452
|
-
/* @__PURE__ */
|
|
1723
|
+
/* @__PURE__ */ R("div", {
|
|
1453
1724
|
className: "filter-bar-search",
|
|
1454
1725
|
children: [
|
|
1455
|
-
/* @__PURE__ */
|
|
1456
|
-
/* @__PURE__ */
|
|
1726
|
+
/* @__PURE__ */ L(M, { size: 14 }),
|
|
1727
|
+
/* @__PURE__ */ L("input", {
|
|
1457
1728
|
className: "filter-bar-input",
|
|
1458
1729
|
value: e,
|
|
1459
1730
|
onChange: (e) => t?.(e.target.value),
|
|
1460
1731
|
placeholder: "Search..."
|
|
1461
1732
|
}),
|
|
1462
|
-
e && /* @__PURE__ */
|
|
1733
|
+
e && /* @__PURE__ */ L("button", {
|
|
1463
1734
|
className: "filter-bar-clear",
|
|
1464
1735
|
onClick: () => t?.(""),
|
|
1465
|
-
children: /* @__PURE__ */
|
|
1736
|
+
children: /* @__PURE__ */ L(F, { size: 12 })
|
|
1466
1737
|
})
|
|
1467
1738
|
]
|
|
1468
1739
|
}),
|
|
1469
|
-
/* @__PURE__ */
|
|
1740
|
+
/* @__PURE__ */ R("div", {
|
|
1470
1741
|
className: "filter-bar-filters",
|
|
1471
1742
|
children: [
|
|
1472
|
-
/* @__PURE__ */
|
|
1743
|
+
/* @__PURE__ */ L(C, {
|
|
1473
1744
|
size: 14,
|
|
1474
1745
|
style: { color: "var(--text-tertiary)" }
|
|
1475
1746
|
}),
|
|
1476
|
-
n.map((e) => /* @__PURE__ */
|
|
1747
|
+
n.map((e) => /* @__PURE__ */ R("button", {
|
|
1477
1748
|
className: `filter-chip ${e.active ? "active" : ""}`,
|
|
1478
1749
|
onClick: e.onClick,
|
|
1479
|
-
children: [e.label, e.active && e.value && /* @__PURE__ */
|
|
1750
|
+
children: [e.label, e.active && e.value && /* @__PURE__ */ L("span", {
|
|
1480
1751
|
className: "filter-chip-value",
|
|
1481
1752
|
children: e.value
|
|
1482
1753
|
})]
|
|
1483
1754
|
}, e.label)),
|
|
1484
|
-
o && r && /* @__PURE__ */
|
|
1755
|
+
o && r && /* @__PURE__ */ L("button", {
|
|
1485
1756
|
className: "filter-bar-clear-all",
|
|
1486
1757
|
onClick: r,
|
|
1487
1758
|
children: "Clear all"
|
|
@@ -1497,76 +1768,76 @@ function pt({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
1497
1768
|
function Q(...e) {
|
|
1498
1769
|
return e.filter(Boolean).join(" ");
|
|
1499
1770
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return /* @__PURE__ */
|
|
1771
|
+
function At({ children: e, className: t = "", style: n }) {
|
|
1772
|
+
return /* @__PURE__ */ L("div", {
|
|
1502
1773
|
className: Q("kanban-board", t),
|
|
1503
1774
|
style: n,
|
|
1504
1775
|
children: e
|
|
1505
1776
|
});
|
|
1506
1777
|
}
|
|
1507
|
-
function
|
|
1508
|
-
return /* @__PURE__ */
|
|
1778
|
+
function jt({ 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 }) {
|
|
1779
|
+
return /* @__PURE__ */ R("div", {
|
|
1509
1780
|
className: Q("kanban-column", o),
|
|
1510
1781
|
style: s,
|
|
1511
|
-
children: [/* @__PURE__ */
|
|
1782
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1512
1783
|
className: Q("kanban-column-header", c),
|
|
1513
1784
|
style: l,
|
|
1514
|
-
children: [/* @__PURE__ */
|
|
1785
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1515
1786
|
className: "kanban-column-title",
|
|
1516
1787
|
children: [
|
|
1517
|
-
n && /* @__PURE__ */
|
|
1788
|
+
n && /* @__PURE__ */ L("span", {
|
|
1518
1789
|
className: "kanban-column-dot",
|
|
1519
1790
|
style: { background: n }
|
|
1520
1791
|
}),
|
|
1521
|
-
/* @__PURE__ */
|
|
1792
|
+
/* @__PURE__ */ L("span", {
|
|
1522
1793
|
className: "kanban-column-title-label",
|
|
1523
1794
|
children: e
|
|
1524
1795
|
}),
|
|
1525
|
-
t != null && /* @__PURE__ */
|
|
1796
|
+
t != null && /* @__PURE__ */ L(X, {
|
|
1526
1797
|
showDot: !1,
|
|
1527
1798
|
className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
|
|
1528
1799
|
children: t
|
|
1529
1800
|
})
|
|
1530
1801
|
]
|
|
1531
|
-
}), r && /* @__PURE__ */
|
|
1802
|
+
}), r && /* @__PURE__ */ L("div", {
|
|
1532
1803
|
className: "kanban-column-header-meta",
|
|
1533
|
-
children: /* @__PURE__ */
|
|
1804
|
+
children: /* @__PURE__ */ L("div", {
|
|
1534
1805
|
className: "kanban-column-header-action",
|
|
1535
1806
|
children: r
|
|
1536
1807
|
})
|
|
1537
1808
|
})]
|
|
1538
|
-
}), /* @__PURE__ */
|
|
1809
|
+
}), /* @__PURE__ */ L("div", {
|
|
1539
1810
|
className: Q("kanban-column-body", d),
|
|
1540
1811
|
style: f,
|
|
1541
1812
|
children: a
|
|
1542
1813
|
})]
|
|
1543
1814
|
});
|
|
1544
1815
|
}
|
|
1545
|
-
function
|
|
1816
|
+
function Mt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
1546
1817
|
let u = a ?? r;
|
|
1547
|
-
return /* @__PURE__ */
|
|
1818
|
+
return /* @__PURE__ */ L("div", {
|
|
1548
1819
|
className: Q("kanban-card", c),
|
|
1549
1820
|
onClick: s,
|
|
1550
1821
|
style: l,
|
|
1551
|
-
children: o || /* @__PURE__ */
|
|
1822
|
+
children: o || /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ R("div", {
|
|
1552
1823
|
className: "kanban-card-body",
|
|
1553
1824
|
children: [
|
|
1554
|
-
e && /* @__PURE__ */
|
|
1825
|
+
e && /* @__PURE__ */ L("div", {
|
|
1555
1826
|
className: "kanban-card-title",
|
|
1556
1827
|
children: e
|
|
1557
1828
|
}),
|
|
1558
|
-
t && /* @__PURE__ */
|
|
1829
|
+
t && /* @__PURE__ */ L("div", {
|
|
1559
1830
|
className: "kanban-card-subtitle",
|
|
1560
1831
|
children: t
|
|
1561
1832
|
}),
|
|
1562
|
-
n && /* @__PURE__ */
|
|
1833
|
+
n && /* @__PURE__ */ L("div", {
|
|
1563
1834
|
className: "kanban-card-badges",
|
|
1564
1835
|
children: n
|
|
1565
1836
|
})
|
|
1566
1837
|
]
|
|
1567
|
-
}), (u || i) && /* @__PURE__ */
|
|
1838
|
+
}), (u || i) && /* @__PURE__ */ R("div", {
|
|
1568
1839
|
className: "kanban-card-footer",
|
|
1569
|
-
children: [i && /* @__PURE__ */
|
|
1840
|
+
children: [i && /* @__PURE__ */ L("div", {
|
|
1570
1841
|
className: "kanban-card-footer-text",
|
|
1571
1842
|
children: i
|
|
1572
1843
|
}), u]
|
|
@@ -1578,72 +1849,72 @@ function gt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
1578
1849
|
function $(...e) {
|
|
1579
1850
|
return e.filter(Boolean).join(" ");
|
|
1580
1851
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return /* @__PURE__ */
|
|
1852
|
+
function Nt({ children: e, className: t = "" }) {
|
|
1853
|
+
return /* @__PURE__ */ L("div", {
|
|
1583
1854
|
className: $("table-board", t),
|
|
1584
1855
|
children: e
|
|
1585
1856
|
});
|
|
1586
1857
|
}
|
|
1587
|
-
function
|
|
1858
|
+
function Pt({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
1588
1859
|
let [c, u] = l(i), d = r != null, f = d ? r : c;
|
|
1589
1860
|
function p() {
|
|
1590
1861
|
let e = !f;
|
|
1591
1862
|
d || u(e), a?.(e);
|
|
1592
1863
|
}
|
|
1593
|
-
return /* @__PURE__ */
|
|
1864
|
+
return /* @__PURE__ */ R("section", {
|
|
1594
1865
|
className: $("table-board-group", s),
|
|
1595
1866
|
style: n ? { "--table-board-group-accent-color": n } : void 0,
|
|
1596
|
-
children: [/* @__PURE__ */
|
|
1867
|
+
children: [/* @__PURE__ */ R("button", {
|
|
1597
1868
|
type: "button",
|
|
1598
1869
|
className: "table-board-group-header",
|
|
1599
1870
|
onClick: p,
|
|
1600
1871
|
"aria-expanded": f,
|
|
1601
1872
|
children: [
|
|
1602
|
-
/* @__PURE__ */
|
|
1873
|
+
/* @__PURE__ */ L("span", {
|
|
1603
1874
|
className: $("table-board-group-chevron", !f && "collapsed"),
|
|
1604
|
-
children: /* @__PURE__ */
|
|
1875
|
+
children: /* @__PURE__ */ L(_, { size: 12 })
|
|
1605
1876
|
}),
|
|
1606
|
-
/* @__PURE__ */
|
|
1877
|
+
/* @__PURE__ */ L("span", {
|
|
1607
1878
|
className: "table-board-group-label",
|
|
1608
1879
|
children: e
|
|
1609
1880
|
}),
|
|
1610
|
-
t != null && /* @__PURE__ */
|
|
1881
|
+
t != null && /* @__PURE__ */ L("span", {
|
|
1611
1882
|
className: "table-board-group-count",
|
|
1612
1883
|
children: t
|
|
1613
1884
|
})
|
|
1614
1885
|
]
|
|
1615
|
-
}), /* @__PURE__ */
|
|
1886
|
+
}), /* @__PURE__ */ L("div", {
|
|
1616
1887
|
className: $("table-board-group-panel", f && "open"),
|
|
1617
|
-
children: /* @__PURE__ */
|
|
1888
|
+
children: /* @__PURE__ */ L("div", {
|
|
1618
1889
|
className: "table-board-group-panel-inner",
|
|
1619
1890
|
children: o
|
|
1620
1891
|
})
|
|
1621
1892
|
})]
|
|
1622
1893
|
});
|
|
1623
1894
|
}
|
|
1624
|
-
function
|
|
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,
|
|
1626
|
-
...
|
|
1627
|
-
...
|
|
1628
|
-
label: `+${
|
|
1895
|
+
function Ft({ 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 = "" }) {
|
|
1896
|
+
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, ee = M > 0 ? j.slice(-M) : [], P = typeof f == "number" && f >= 0 ? N.slice(0, f) : N, F = Math.max(0, N.length - P.length), I = [
|
|
1897
|
+
...P,
|
|
1898
|
+
...F > 0 ? [{
|
|
1899
|
+
label: `+${F}`,
|
|
1629
1900
|
color: "var(--text-quaternary)"
|
|
1630
1901
|
}] : [],
|
|
1631
|
-
...
|
|
1902
|
+
...ee
|
|
1632
1903
|
];
|
|
1633
|
-
function
|
|
1904
|
+
function z(e) {
|
|
1634
1905
|
D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
|
|
1635
1906
|
}
|
|
1636
|
-
let
|
|
1907
|
+
let B = S || w || b, V = C || (y ? void 0 : { background: "var(--accent-blue)" }), H = g || (h === "warning" ? d : x), U = v || (y || b || B ? /* @__PURE__ */ L(Y, {
|
|
1637
1908
|
imageUrl: y,
|
|
1638
1909
|
initials: b,
|
|
1639
|
-
name:
|
|
1910
|
+
name: B,
|
|
1640
1911
|
size: "sm",
|
|
1641
1912
|
className: "table-board-avatar",
|
|
1642
|
-
style:
|
|
1913
|
+
style: V
|
|
1643
1914
|
}) : null);
|
|
1644
1915
|
return o(() => {
|
|
1645
1916
|
let e = O.current;
|
|
1646
|
-
if (!e ||
|
|
1917
|
+
if (!e || I.length === 0) return;
|
|
1647
1918
|
let t = () => {
|
|
1648
1919
|
A(e.scrollWidth - e.clientWidth > 1);
|
|
1649
1920
|
};
|
|
@@ -1655,63 +1926,70 @@ function yt({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
1655
1926
|
}
|
|
1656
1927
|
return window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
1657
1928
|
}, [
|
|
1658
|
-
|
|
1929
|
+
I.length,
|
|
1659
1930
|
u,
|
|
1660
1931
|
f,
|
|
1661
1932
|
p
|
|
1662
|
-
]), /* @__PURE__ */
|
|
1933
|
+
]), /* @__PURE__ */ R("div", {
|
|
1663
1934
|
className: $("table-board-row", D && "clickable", E),
|
|
1664
1935
|
onClick: T,
|
|
1665
|
-
onKeyDown:
|
|
1936
|
+
onKeyDown: z,
|
|
1666
1937
|
role: D ? "button" : void 0,
|
|
1667
1938
|
tabIndex: D ? 0 : void 0,
|
|
1668
1939
|
children: [
|
|
1669
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ L("span", {
|
|
1670
1941
|
className: "table-board-priority",
|
|
1671
1942
|
children: e
|
|
1672
1943
|
}),
|
|
1673
|
-
t && /* @__PURE__ */
|
|
1944
|
+
t && /* @__PURE__ */ L("span", {
|
|
1674
1945
|
className: "table-board-id",
|
|
1675
1946
|
children: t
|
|
1676
1947
|
}),
|
|
1677
|
-
/* @__PURE__ */
|
|
1948
|
+
/* @__PURE__ */ L("span", {
|
|
1678
1949
|
className: "table-board-status",
|
|
1679
|
-
children: /* @__PURE__ */
|
|
1950
|
+
children: /* @__PURE__ */ L("span", {
|
|
1680
1951
|
className: "table-board-status-dot",
|
|
1681
1952
|
style: { background: n }
|
|
1682
1953
|
})
|
|
1683
1954
|
}),
|
|
1684
|
-
/* @__PURE__ */
|
|
1955
|
+
/* @__PURE__ */ R("span", {
|
|
1685
1956
|
className: $("table-board-title-block", s && "inline-subtitle"),
|
|
1686
|
-
children: [/* @__PURE__ */
|
|
1957
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1687
1958
|
className: "table-board-title",
|
|
1688
1959
|
children: i
|
|
1689
|
-
}), a != null && a !== "" && /* @__PURE__ */
|
|
1960
|
+
}), a != null && a !== "" && /* @__PURE__ */ L("span", {
|
|
1690
1961
|
className: $("table-board-subtitle", s && "inline"),
|
|
1691
1962
|
children: a
|
|
1692
1963
|
})]
|
|
1693
1964
|
}),
|
|
1694
|
-
/* @__PURE__ */
|
|
1695
|
-
|
|
1965
|
+
/* @__PURE__ */ L("span", { className: "table-board-spacer" }),
|
|
1966
|
+
I.length > 0 && /* @__PURE__ */ L("span", {
|
|
1696
1967
|
ref: O,
|
|
1697
1968
|
className: $("table-board-pills", k && "has-overflow"),
|
|
1698
|
-
children:
|
|
1969
|
+
children: I.map((e, t) => /* @__PURE__ */ R("span", {
|
|
1699
1970
|
className: "table-board-pill",
|
|
1700
|
-
children: [
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1971
|
+
children: [
|
|
1972
|
+
e.showDot !== !1 && /* @__PURE__ */ L("span", {
|
|
1973
|
+
className: "table-board-pill-dot",
|
|
1974
|
+
style: { background: e.color || "var(--text-quaternary)" }
|
|
1975
|
+
}),
|
|
1976
|
+
e.icon,
|
|
1977
|
+
e.label
|
|
1978
|
+
]
|
|
1704
1979
|
}, `${e.label}-${t}`))
|
|
1705
1980
|
}),
|
|
1706
|
-
m != null && (r(m) ? m : /* @__PURE__ */
|
|
1981
|
+
m != null && (r(m) ? m : /* @__PURE__ */ L(X, {
|
|
1707
1982
|
className: "table-board-metric",
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1983
|
+
showDot: !1,
|
|
1984
|
+
children: /* @__PURE__ */ L(ft, {
|
|
1985
|
+
tone: h,
|
|
1986
|
+
icon: H,
|
|
1987
|
+
showIcon: _,
|
|
1988
|
+
children: m
|
|
1989
|
+
})
|
|
1712
1990
|
})),
|
|
1713
|
-
|
|
1714
|
-
w && /* @__PURE__ */
|
|
1991
|
+
U,
|
|
1992
|
+
w && /* @__PURE__ */ L("span", {
|
|
1715
1993
|
className: "table-board-meta",
|
|
1716
1994
|
children: w
|
|
1717
1995
|
})
|
|
@@ -1720,40 +1998,40 @@ function yt({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
1720
1998
|
}
|
|
1721
1999
|
//#endregion
|
|
1722
2000
|
//#region src/components/data/KPICard.jsx
|
|
1723
|
-
function
|
|
2001
|
+
function It({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
1724
2002
|
let s = {
|
|
1725
2003
|
up: "var(--accent-green)",
|
|
1726
2004
|
down: "var(--accent-red)",
|
|
1727
2005
|
neutral: "var(--text-tertiary)"
|
|
1728
|
-
}, c = i === "up" ?
|
|
1729
|
-
return /* @__PURE__ */
|
|
2006
|
+
}, c = i === "up" ? P : i === "down" ? ee : A;
|
|
2007
|
+
return /* @__PURE__ */ R("div", {
|
|
1730
2008
|
className: `kpi-card ${o}`,
|
|
1731
2009
|
children: [
|
|
1732
|
-
/* @__PURE__ */
|
|
2010
|
+
/* @__PURE__ */ R("div", {
|
|
1733
2011
|
className: "kpi-header",
|
|
1734
|
-
children: [/* @__PURE__ */
|
|
2012
|
+
children: [/* @__PURE__ */ L("span", {
|
|
1735
2013
|
className: "kpi-title",
|
|
1736
2014
|
children: e
|
|
1737
|
-
}), a && /* @__PURE__ */
|
|
2015
|
+
}), a && /* @__PURE__ */ L("span", {
|
|
1738
2016
|
className: "kpi-icon",
|
|
1739
2017
|
children: a
|
|
1740
2018
|
})]
|
|
1741
2019
|
}),
|
|
1742
|
-
/* @__PURE__ */
|
|
2020
|
+
/* @__PURE__ */ L("div", {
|
|
1743
2021
|
className: "kpi-value",
|
|
1744
2022
|
children: t
|
|
1745
2023
|
}),
|
|
1746
|
-
(n !== void 0 || r) && /* @__PURE__ */
|
|
2024
|
+
(n !== void 0 || r) && /* @__PURE__ */ R("div", {
|
|
1747
2025
|
className: "kpi-footer",
|
|
1748
|
-
children: [/* @__PURE__ */
|
|
2026
|
+
children: [/* @__PURE__ */ R("span", {
|
|
1749
2027
|
className: "kpi-trend",
|
|
1750
2028
|
style: { color: s[i] },
|
|
1751
|
-
children: [/* @__PURE__ */
|
|
2029
|
+
children: [/* @__PURE__ */ L(c, { size: 12 }), n !== void 0 && /* @__PURE__ */ R("span", { children: [
|
|
1752
2030
|
n > 0 ? "+" : "",
|
|
1753
2031
|
n,
|
|
1754
2032
|
"%"
|
|
1755
2033
|
] })]
|
|
1756
|
-
}), r && /* @__PURE__ */
|
|
2034
|
+
}), r && /* @__PURE__ */ L("span", {
|
|
1757
2035
|
className: "kpi-change-label",
|
|
1758
2036
|
children: r
|
|
1759
2037
|
})]
|
|
@@ -1761,24 +2039,24 @@ function bt({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
1761
2039
|
]
|
|
1762
2040
|
});
|
|
1763
2041
|
}
|
|
1764
|
-
function
|
|
1765
|
-
return /* @__PURE__ */
|
|
2042
|
+
function Lt({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
2043
|
+
return /* @__PURE__ */ R("div", {
|
|
1766
2044
|
className: `stat-card ${i}`,
|
|
1767
|
-
children: [r && /* @__PURE__ */
|
|
2045
|
+
children: [r && /* @__PURE__ */ L("div", {
|
|
1768
2046
|
className: "stat-card-accent",
|
|
1769
2047
|
style: { background: r }
|
|
1770
|
-
}), /* @__PURE__ */
|
|
2048
|
+
}), /* @__PURE__ */ R("div", {
|
|
1771
2049
|
className: "stat-card-content",
|
|
1772
2050
|
children: [
|
|
1773
|
-
/* @__PURE__ */
|
|
2051
|
+
/* @__PURE__ */ L("span", {
|
|
1774
2052
|
className: "stat-card-label",
|
|
1775
2053
|
children: e
|
|
1776
2054
|
}),
|
|
1777
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ L("span", {
|
|
1778
2056
|
className: "stat-card-value",
|
|
1779
2057
|
children: t
|
|
1780
2058
|
}),
|
|
1781
|
-
n && /* @__PURE__ */
|
|
2059
|
+
n && /* @__PURE__ */ L("span", {
|
|
1782
2060
|
className: "stat-card-subtitle",
|
|
1783
2061
|
children: n
|
|
1784
2062
|
})
|
|
@@ -1788,56 +2066,56 @@ function xt({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
1788
2066
|
}
|
|
1789
2067
|
//#endregion
|
|
1790
2068
|
//#region src/components/data/NotificationsPanel.jsx
|
|
1791
|
-
function
|
|
2069
|
+
function Rt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
1792
2070
|
let i = e.filter((e) => !e.read);
|
|
1793
|
-
return /* @__PURE__ */
|
|
2071
|
+
return /* @__PURE__ */ R("div", {
|
|
1794
2072
|
className: `notifications-panel ${r}`,
|
|
1795
|
-
children: [/* @__PURE__ */
|
|
2073
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1796
2074
|
className: "notifications-header",
|
|
1797
|
-
children: [/* @__PURE__ */
|
|
2075
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1798
2076
|
className: "notifications-title",
|
|
1799
2077
|
children: [
|
|
1800
|
-
/* @__PURE__ */
|
|
1801
|
-
/* @__PURE__ */
|
|
1802
|
-
i.length > 0 && /* @__PURE__ */
|
|
2078
|
+
/* @__PURE__ */ L(f, { size: 16 }),
|
|
2079
|
+
/* @__PURE__ */ L("span", { children: "Notifications" }),
|
|
2080
|
+
i.length > 0 && /* @__PURE__ */ L("span", {
|
|
1803
2081
|
className: "badge badge-purple",
|
|
1804
2082
|
style: { marginLeft: "var(--space-1)" },
|
|
1805
2083
|
children: i.length
|
|
1806
2084
|
})
|
|
1807
2085
|
]
|
|
1808
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
2086
|
+
}), i.length > 0 && /* @__PURE__ */ R("button", {
|
|
1809
2087
|
className: "btn btn-ghost btn-sm",
|
|
1810
2088
|
onClick: n,
|
|
1811
|
-
children: [/* @__PURE__ */
|
|
2089
|
+
children: [/* @__PURE__ */ L(h, { size: 14 }), " Mark all read"]
|
|
1812
2090
|
})]
|
|
1813
|
-
}), /* @__PURE__ */
|
|
2091
|
+
}), /* @__PURE__ */ R("div", {
|
|
1814
2092
|
className: "notifications-list",
|
|
1815
|
-
children: [e.length === 0 && /* @__PURE__ */
|
|
2093
|
+
children: [e.length === 0 && /* @__PURE__ */ L("div", {
|
|
1816
2094
|
className: "notifications-empty",
|
|
1817
2095
|
children: "No notifications"
|
|
1818
|
-
}), e.map((e) => /* @__PURE__ */
|
|
2096
|
+
}), e.map((e) => /* @__PURE__ */ R("div", {
|
|
1819
2097
|
className: `notification-item ${e.read ? "" : "unread"}`,
|
|
1820
2098
|
onClick: () => !e.read && t?.(e.id),
|
|
1821
2099
|
children: [
|
|
1822
|
-
/* @__PURE__ */
|
|
2100
|
+
/* @__PURE__ */ L(Y, {
|
|
1823
2101
|
name: e.user,
|
|
1824
2102
|
size: "sm"
|
|
1825
2103
|
}),
|
|
1826
|
-
/* @__PURE__ */
|
|
2104
|
+
/* @__PURE__ */ R("div", {
|
|
1827
2105
|
className: "notification-content",
|
|
1828
|
-
children: [/* @__PURE__ */
|
|
2106
|
+
children: [/* @__PURE__ */ R("div", {
|
|
1829
2107
|
className: "notification-text",
|
|
1830
2108
|
children: [
|
|
1831
|
-
/* @__PURE__ */
|
|
2109
|
+
/* @__PURE__ */ L("strong", { children: e.user }),
|
|
1832
2110
|
" ",
|
|
1833
2111
|
e.text
|
|
1834
2112
|
]
|
|
1835
|
-
}), /* @__PURE__ */
|
|
2113
|
+
}), /* @__PURE__ */ L("span", {
|
|
1836
2114
|
className: "notification-time",
|
|
1837
2115
|
children: e.time
|
|
1838
2116
|
})]
|
|
1839
2117
|
}),
|
|
1840
|
-
!e.read && /* @__PURE__ */
|
|
2118
|
+
!e.read && /* @__PURE__ */ L("div", { className: "notification-dot" })
|
|
1841
2119
|
]
|
|
1842
2120
|
}, e.id))]
|
|
1843
2121
|
})]
|
|
@@ -1845,46 +2123,46 @@ function St({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
1845
2123
|
}
|
|
1846
2124
|
//#endregion
|
|
1847
2125
|
//#region src/components/Icons.jsx
|
|
1848
|
-
function
|
|
1849
|
-
return /* @__PURE__ */
|
|
2126
|
+
function zt() {
|
|
2127
|
+
return /* @__PURE__ */ L("svg", {
|
|
1850
2128
|
width: "16",
|
|
1851
2129
|
height: "16",
|
|
1852
2130
|
viewBox: "0 0 16 16",
|
|
1853
2131
|
fill: "currentColor",
|
|
1854
|
-
children: /* @__PURE__ */
|
|
2132
|
+
children: /* @__PURE__ */ L("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" })
|
|
1855
2133
|
});
|
|
1856
2134
|
}
|
|
1857
|
-
function
|
|
1858
|
-
return /* @__PURE__ */
|
|
2135
|
+
function Bt() {
|
|
2136
|
+
return /* @__PURE__ */ R("svg", {
|
|
1859
2137
|
width: "16",
|
|
1860
2138
|
height: "16",
|
|
1861
2139
|
viewBox: "0 0 16 16",
|
|
1862
2140
|
fill: "currentColor",
|
|
1863
|
-
children: [/* @__PURE__ */
|
|
2141
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
1864
2142
|
cx: "8",
|
|
1865
2143
|
cy: "8",
|
|
1866
2144
|
r: "6",
|
|
1867
2145
|
fill: "none",
|
|
1868
2146
|
stroke: "currentColor",
|
|
1869
2147
|
strokeWidth: "1.5"
|
|
1870
|
-
}), /* @__PURE__ */
|
|
2148
|
+
}), /* @__PURE__ */ L("circle", {
|
|
1871
2149
|
cx: "8",
|
|
1872
2150
|
cy: "8",
|
|
1873
2151
|
r: "2"
|
|
1874
2152
|
})]
|
|
1875
2153
|
});
|
|
1876
2154
|
}
|
|
1877
|
-
function
|
|
1878
|
-
return /* @__PURE__ */
|
|
2155
|
+
function Vt() {
|
|
2156
|
+
return /* @__PURE__ */ L("svg", {
|
|
1879
2157
|
width: "16",
|
|
1880
2158
|
height: "16",
|
|
1881
2159
|
viewBox: "0 0 16 16",
|
|
1882
2160
|
fill: "currentColor",
|
|
1883
|
-
children: /* @__PURE__ */
|
|
2161
|
+
children: /* @__PURE__ */ L("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" })
|
|
1884
2162
|
});
|
|
1885
2163
|
}
|
|
1886
|
-
function
|
|
1887
|
-
return /* @__PURE__ */
|
|
2164
|
+
function Ht() {
|
|
2165
|
+
return /* @__PURE__ */ L("svg", {
|
|
1888
2166
|
width: "16",
|
|
1889
2167
|
height: "16",
|
|
1890
2168
|
viewBox: "0 0 16 16",
|
|
@@ -1893,45 +2171,45 @@ function Et() {
|
|
|
1893
2171
|
strokeWidth: "1.5",
|
|
1894
2172
|
strokeLinecap: "round",
|
|
1895
2173
|
strokeLinejoin: "round",
|
|
1896
|
-
children: /* @__PURE__ */
|
|
2174
|
+
children: /* @__PURE__ */ L("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
1897
2175
|
});
|
|
1898
2176
|
}
|
|
1899
|
-
function
|
|
1900
|
-
return /* @__PURE__ */
|
|
2177
|
+
function Ut() {
|
|
2178
|
+
return /* @__PURE__ */ L("svg", {
|
|
1901
2179
|
width: "16",
|
|
1902
2180
|
height: "16",
|
|
1903
2181
|
viewBox: "0 0 16 16",
|
|
1904
2182
|
fill: "currentColor",
|
|
1905
|
-
children: /* @__PURE__ */
|
|
2183
|
+
children: /* @__PURE__ */ L("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" })
|
|
1906
2184
|
});
|
|
1907
2185
|
}
|
|
1908
|
-
function
|
|
1909
|
-
return /* @__PURE__ */
|
|
2186
|
+
function Wt() {
|
|
2187
|
+
return /* @__PURE__ */ L("svg", {
|
|
1910
2188
|
width: "16",
|
|
1911
2189
|
height: "16",
|
|
1912
2190
|
viewBox: "0 0 16 16",
|
|
1913
2191
|
fill: "currentColor",
|
|
1914
|
-
children: /* @__PURE__ */
|
|
2192
|
+
children: /* @__PURE__ */ L("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" })
|
|
1915
2193
|
});
|
|
1916
2194
|
}
|
|
1917
|
-
function
|
|
1918
|
-
return /* @__PURE__ */
|
|
2195
|
+
function Gt() {
|
|
2196
|
+
return /* @__PURE__ */ R("svg", {
|
|
1919
2197
|
width: "16",
|
|
1920
2198
|
height: "16",
|
|
1921
2199
|
viewBox: "0 0 16 16",
|
|
1922
2200
|
fill: "currentColor",
|
|
1923
2201
|
children: [
|
|
1924
|
-
/* @__PURE__ */
|
|
2202
|
+
/* @__PURE__ */ L("circle", {
|
|
1925
2203
|
cx: "4",
|
|
1926
2204
|
cy: "8",
|
|
1927
2205
|
r: "1.5"
|
|
1928
2206
|
}),
|
|
1929
|
-
/* @__PURE__ */
|
|
2207
|
+
/* @__PURE__ */ L("circle", {
|
|
1930
2208
|
cx: "8",
|
|
1931
2209
|
cy: "8",
|
|
1932
2210
|
r: "1.5"
|
|
1933
2211
|
}),
|
|
1934
|
-
/* @__PURE__ */
|
|
2212
|
+
/* @__PURE__ */ L("circle", {
|
|
1935
2213
|
cx: "12",
|
|
1936
2214
|
cy: "8",
|
|
1937
2215
|
r: "1.5"
|
|
@@ -1939,26 +2217,26 @@ function kt() {
|
|
|
1939
2217
|
]
|
|
1940
2218
|
});
|
|
1941
2219
|
}
|
|
1942
|
-
function
|
|
1943
|
-
return /* @__PURE__ */
|
|
2220
|
+
function Kt() {
|
|
2221
|
+
return /* @__PURE__ */ R("svg", {
|
|
1944
2222
|
width: "16",
|
|
1945
2223
|
height: "16",
|
|
1946
2224
|
viewBox: "0 0 16 16",
|
|
1947
2225
|
fill: "none",
|
|
1948
2226
|
stroke: "currentColor",
|
|
1949
2227
|
strokeWidth: "1.5",
|
|
1950
|
-
children: [/* @__PURE__ */
|
|
2228
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
1951
2229
|
cx: "7",
|
|
1952
2230
|
cy: "7",
|
|
1953
2231
|
r: "4.5"
|
|
1954
|
-
}), /* @__PURE__ */
|
|
2232
|
+
}), /* @__PURE__ */ L("path", {
|
|
1955
2233
|
d: "M10.5 10.5L14 14",
|
|
1956
2234
|
strokeLinecap: "round"
|
|
1957
2235
|
})]
|
|
1958
2236
|
});
|
|
1959
2237
|
}
|
|
1960
|
-
function
|
|
1961
|
-
return /* @__PURE__ */
|
|
2238
|
+
function qt() {
|
|
2239
|
+
return /* @__PURE__ */ L("svg", {
|
|
1962
2240
|
width: "16",
|
|
1963
2241
|
height: "16",
|
|
1964
2242
|
viewBox: "0 0 16 16",
|
|
@@ -1967,11 +2245,11 @@ function jt() {
|
|
|
1967
2245
|
strokeWidth: "1.5",
|
|
1968
2246
|
strokeLinecap: "round",
|
|
1969
2247
|
strokeLinejoin: "round",
|
|
1970
|
-
children: /* @__PURE__ */
|
|
2248
|
+
children: /* @__PURE__ */ L("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
1971
2249
|
});
|
|
1972
2250
|
}
|
|
1973
|
-
function
|
|
1974
|
-
return /* @__PURE__ */
|
|
2251
|
+
function Jt() {
|
|
2252
|
+
return /* @__PURE__ */ L("svg", {
|
|
1975
2253
|
width: "14",
|
|
1976
2254
|
height: "14",
|
|
1977
2255
|
viewBox: "0 0 14 14",
|
|
@@ -1980,11 +2258,11 @@ function Mt() {
|
|
|
1980
2258
|
strokeWidth: "1.5",
|
|
1981
2259
|
strokeLinecap: "round",
|
|
1982
2260
|
strokeLinejoin: "round",
|
|
1983
|
-
children: /* @__PURE__ */
|
|
2261
|
+
children: /* @__PURE__ */ L("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
1984
2262
|
});
|
|
1985
2263
|
}
|
|
1986
|
-
function
|
|
1987
|
-
return /* @__PURE__ */
|
|
2264
|
+
function Yt() {
|
|
2265
|
+
return /* @__PURE__ */ L("svg", {
|
|
1988
2266
|
width: "14",
|
|
1989
2267
|
height: "14",
|
|
1990
2268
|
viewBox: "0 0 14 14",
|
|
@@ -1993,24 +2271,24 @@ function Nt() {
|
|
|
1993
2271
|
strokeWidth: "1.5",
|
|
1994
2272
|
strokeLinecap: "round",
|
|
1995
2273
|
strokeLinejoin: "round",
|
|
1996
|
-
children: /* @__PURE__ */
|
|
2274
|
+
children: /* @__PURE__ */ L("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
1997
2275
|
});
|
|
1998
2276
|
}
|
|
1999
|
-
function
|
|
2000
|
-
return /* @__PURE__ */
|
|
2277
|
+
function Xt() {
|
|
2278
|
+
return /* @__PURE__ */ L("svg", {
|
|
2001
2279
|
width: "14",
|
|
2002
2280
|
height: "14",
|
|
2003
2281
|
viewBox: "0 0 14 14",
|
|
2004
2282
|
fill: "#c9a84e",
|
|
2005
|
-
children: /* @__PURE__ */
|
|
2283
|
+
children: /* @__PURE__ */ L("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" })
|
|
2006
2284
|
});
|
|
2007
2285
|
}
|
|
2008
|
-
function
|
|
2009
|
-
return /* @__PURE__ */
|
|
2286
|
+
function Zt() {
|
|
2287
|
+
return /* @__PURE__ */ R("svg", {
|
|
2010
2288
|
width: "14",
|
|
2011
2289
|
height: "14",
|
|
2012
2290
|
viewBox: "0 0 14 14",
|
|
2013
|
-
children: [/* @__PURE__ */
|
|
2291
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
2014
2292
|
cx: "7",
|
|
2015
2293
|
cy: "7",
|
|
2016
2294
|
r: "5.5",
|
|
@@ -2018,7 +2296,7 @@ function Ft() {
|
|
|
2018
2296
|
stroke: "#c9a84e",
|
|
2019
2297
|
strokeWidth: "1.5",
|
|
2020
2298
|
strokeDasharray: "8.6 2.9"
|
|
2021
|
-
}), /* @__PURE__ */
|
|
2299
|
+
}), /* @__PURE__ */ L("circle", {
|
|
2022
2300
|
cx: "7",
|
|
2023
2301
|
cy: "7",
|
|
2024
2302
|
r: "2",
|
|
@@ -2026,17 +2304,17 @@ function Ft() {
|
|
|
2026
2304
|
})]
|
|
2027
2305
|
});
|
|
2028
2306
|
}
|
|
2029
|
-
function
|
|
2030
|
-
return /* @__PURE__ */
|
|
2307
|
+
function Qt() {
|
|
2308
|
+
return /* @__PURE__ */ R("svg", {
|
|
2031
2309
|
width: "14",
|
|
2032
2310
|
height: "14",
|
|
2033
2311
|
viewBox: "0 0 14 14",
|
|
2034
|
-
children: [/* @__PURE__ */
|
|
2312
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
2035
2313
|
cx: "7",
|
|
2036
2314
|
cy: "7",
|
|
2037
2315
|
r: "6",
|
|
2038
2316
|
fill: "#5bb98e"
|
|
2039
|
-
}), /* @__PURE__ */
|
|
2317
|
+
}), /* @__PURE__ */ L("path", {
|
|
2040
2318
|
d: "M4.5 7l2 2 3-3.5",
|
|
2041
2319
|
stroke: "#08090a",
|
|
2042
2320
|
strokeWidth: "1.5",
|
|
@@ -2046,12 +2324,12 @@ function It() {
|
|
|
2046
2324
|
})]
|
|
2047
2325
|
});
|
|
2048
2326
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return /* @__PURE__ */
|
|
2327
|
+
function $t() {
|
|
2328
|
+
return /* @__PURE__ */ L("svg", {
|
|
2051
2329
|
width: "14",
|
|
2052
2330
|
height: "14",
|
|
2053
2331
|
viewBox: "0 0 14 14",
|
|
2054
|
-
children: /* @__PURE__ */
|
|
2332
|
+
children: /* @__PURE__ */ L("circle", {
|
|
2055
2333
|
cx: "7",
|
|
2056
2334
|
cy: "7",
|
|
2057
2335
|
r: "5.5",
|
|
@@ -2061,12 +2339,12 @@ function Lt() {
|
|
|
2061
2339
|
})
|
|
2062
2340
|
});
|
|
2063
2341
|
}
|
|
2064
|
-
function
|
|
2065
|
-
return /* @__PURE__ */
|
|
2342
|
+
function en() {
|
|
2343
|
+
return /* @__PURE__ */ L("svg", {
|
|
2066
2344
|
width: "14",
|
|
2067
2345
|
height: "14",
|
|
2068
2346
|
viewBox: "0 0 14 14",
|
|
2069
|
-
children: /* @__PURE__ */
|
|
2347
|
+
children: /* @__PURE__ */ L("circle", {
|
|
2070
2348
|
cx: "7",
|
|
2071
2349
|
cy: "7",
|
|
2072
2350
|
r: "5.5",
|
|
@@ -2077,19 +2355,19 @@ function Rt() {
|
|
|
2077
2355
|
})
|
|
2078
2356
|
});
|
|
2079
2357
|
}
|
|
2080
|
-
function
|
|
2081
|
-
return /* @__PURE__ */
|
|
2358
|
+
function tn() {
|
|
2359
|
+
return /* @__PURE__ */ R("svg", {
|
|
2082
2360
|
width: "14",
|
|
2083
2361
|
height: "14",
|
|
2084
2362
|
viewBox: "0 0 14 14",
|
|
2085
|
-
children: [/* @__PURE__ */
|
|
2363
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
2086
2364
|
cx: "7",
|
|
2087
2365
|
cy: "7",
|
|
2088
2366
|
r: "5.5",
|
|
2089
2367
|
fill: "none",
|
|
2090
2368
|
stroke: "#6b6d71",
|
|
2091
2369
|
strokeWidth: "1.5"
|
|
2092
|
-
}), /* @__PURE__ */
|
|
2370
|
+
}), /* @__PURE__ */ L("path", {
|
|
2093
2371
|
d: "M4.5 7h5",
|
|
2094
2372
|
stroke: "#6b6d71",
|
|
2095
2373
|
strokeWidth: "1.5",
|
|
@@ -2097,37 +2375,37 @@ function zt() {
|
|
|
2097
2375
|
})]
|
|
2098
2376
|
});
|
|
2099
2377
|
}
|
|
2100
|
-
function
|
|
2101
|
-
return /* @__PURE__ */
|
|
2378
|
+
function nn() {
|
|
2379
|
+
return /* @__PURE__ */ L("svg", {
|
|
2102
2380
|
width: "14",
|
|
2103
2381
|
height: "14",
|
|
2104
2382
|
viewBox: "0 0 14 14",
|
|
2105
2383
|
fill: "#c75a5a",
|
|
2106
|
-
children: /* @__PURE__ */
|
|
2384
|
+
children: /* @__PURE__ */ L("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" })
|
|
2107
2385
|
});
|
|
2108
2386
|
}
|
|
2109
|
-
function
|
|
2110
|
-
return /* @__PURE__ */
|
|
2387
|
+
function rn() {
|
|
2388
|
+
return /* @__PURE__ */ R("svg", {
|
|
2111
2389
|
width: "14",
|
|
2112
2390
|
height: "14",
|
|
2113
2391
|
viewBox: "0 0 14 14",
|
|
2114
2392
|
fill: "#c4a06a",
|
|
2115
2393
|
children: [
|
|
2116
|
-
/* @__PURE__ */
|
|
2394
|
+
/* @__PURE__ */ L("rect", {
|
|
2117
2395
|
x: "2",
|
|
2118
2396
|
y: "8",
|
|
2119
2397
|
width: "2.5",
|
|
2120
2398
|
height: "4",
|
|
2121
2399
|
rx: "0.5"
|
|
2122
2400
|
}),
|
|
2123
|
-
/* @__PURE__ */
|
|
2401
|
+
/* @__PURE__ */ L("rect", {
|
|
2124
2402
|
x: "5.75",
|
|
2125
2403
|
y: "5",
|
|
2126
2404
|
width: "2.5",
|
|
2127
2405
|
height: "7",
|
|
2128
2406
|
rx: "0.5"
|
|
2129
2407
|
}),
|
|
2130
|
-
/* @__PURE__ */
|
|
2408
|
+
/* @__PURE__ */ L("rect", {
|
|
2131
2409
|
x: "9.5",
|
|
2132
2410
|
y: "2",
|
|
2133
2411
|
width: "2.5",
|
|
@@ -2137,13 +2415,13 @@ function Vt() {
|
|
|
2137
2415
|
]
|
|
2138
2416
|
});
|
|
2139
2417
|
}
|
|
2140
|
-
function
|
|
2141
|
-
return /* @__PURE__ */
|
|
2418
|
+
function an() {
|
|
2419
|
+
return /* @__PURE__ */ R("svg", {
|
|
2142
2420
|
width: "14",
|
|
2143
2421
|
height: "14",
|
|
2144
2422
|
viewBox: "0 0 14 14",
|
|
2145
2423
|
children: [
|
|
2146
|
-
/* @__PURE__ */
|
|
2424
|
+
/* @__PURE__ */ L("rect", {
|
|
2147
2425
|
x: "2",
|
|
2148
2426
|
y: "8",
|
|
2149
2427
|
width: "2.5",
|
|
@@ -2151,7 +2429,7 @@ function Ht() {
|
|
|
2151
2429
|
rx: "0.5",
|
|
2152
2430
|
fill: "#c9a84e"
|
|
2153
2431
|
}),
|
|
2154
|
-
/* @__PURE__ */
|
|
2432
|
+
/* @__PURE__ */ L("rect", {
|
|
2155
2433
|
x: "5.75",
|
|
2156
2434
|
y: "5",
|
|
2157
2435
|
width: "2.5",
|
|
@@ -2159,7 +2437,7 @@ function Ht() {
|
|
|
2159
2437
|
rx: "0.5",
|
|
2160
2438
|
fill: "#c9a84e"
|
|
2161
2439
|
}),
|
|
2162
|
-
/* @__PURE__ */
|
|
2440
|
+
/* @__PURE__ */ L("rect", {
|
|
2163
2441
|
x: "9.5",
|
|
2164
2442
|
y: "2",
|
|
2165
2443
|
width: "2.5",
|
|
@@ -2170,13 +2448,13 @@ function Ht() {
|
|
|
2170
2448
|
]
|
|
2171
2449
|
});
|
|
2172
2450
|
}
|
|
2173
|
-
function
|
|
2174
|
-
return /* @__PURE__ */
|
|
2451
|
+
function on() {
|
|
2452
|
+
return /* @__PURE__ */ R("svg", {
|
|
2175
2453
|
width: "14",
|
|
2176
2454
|
height: "14",
|
|
2177
2455
|
viewBox: "0 0 14 14",
|
|
2178
2456
|
children: [
|
|
2179
|
-
/* @__PURE__ */
|
|
2457
|
+
/* @__PURE__ */ L("rect", {
|
|
2180
2458
|
x: "2",
|
|
2181
2459
|
y: "8",
|
|
2182
2460
|
width: "2.5",
|
|
@@ -2184,7 +2462,7 @@ function Ut() {
|
|
|
2184
2462
|
rx: "0.5",
|
|
2185
2463
|
fill: "#5bb98e"
|
|
2186
2464
|
}),
|
|
2187
|
-
/* @__PURE__ */
|
|
2465
|
+
/* @__PURE__ */ L("rect", {
|
|
2188
2466
|
x: "5.75",
|
|
2189
2467
|
y: "5",
|
|
2190
2468
|
width: "2.5",
|
|
@@ -2192,7 +2470,7 @@ function Ut() {
|
|
|
2192
2470
|
rx: "0.5",
|
|
2193
2471
|
fill: "#4e5054"
|
|
2194
2472
|
}),
|
|
2195
|
-
/* @__PURE__ */
|
|
2473
|
+
/* @__PURE__ */ L("rect", {
|
|
2196
2474
|
x: "9.5",
|
|
2197
2475
|
y: "2",
|
|
2198
2476
|
width: "2.5",
|
|
@@ -2203,8 +2481,8 @@ function Ut() {
|
|
|
2203
2481
|
]
|
|
2204
2482
|
});
|
|
2205
2483
|
}
|
|
2206
|
-
function
|
|
2207
|
-
return /* @__PURE__ */
|
|
2484
|
+
function sn() {
|
|
2485
|
+
return /* @__PURE__ */ L("svg", {
|
|
2208
2486
|
width: "14",
|
|
2209
2487
|
height: "14",
|
|
2210
2488
|
viewBox: "0 0 14 14",
|
|
@@ -2212,11 +2490,11 @@ function Wt() {
|
|
|
2212
2490
|
stroke: "currentColor",
|
|
2213
2491
|
strokeWidth: "1.5",
|
|
2214
2492
|
strokeLinecap: "round",
|
|
2215
|
-
children: /* @__PURE__ */
|
|
2493
|
+
children: /* @__PURE__ */ L("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" })
|
|
2216
2494
|
});
|
|
2217
2495
|
}
|
|
2218
|
-
function
|
|
2219
|
-
return /* @__PURE__ */
|
|
2496
|
+
function cn() {
|
|
2497
|
+
return /* @__PURE__ */ L("svg", {
|
|
2220
2498
|
width: "14",
|
|
2221
2499
|
height: "14",
|
|
2222
2500
|
viewBox: "0 0 14 14",
|
|
@@ -2225,11 +2503,11 @@ function Gt() {
|
|
|
2225
2503
|
strokeWidth: "1.5",
|
|
2226
2504
|
strokeLinecap: "round",
|
|
2227
2505
|
strokeLinejoin: "round",
|
|
2228
|
-
children: /* @__PURE__ */
|
|
2506
|
+
children: /* @__PURE__ */ L("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
2229
2507
|
});
|
|
2230
2508
|
}
|
|
2231
|
-
function
|
|
2232
|
-
return /* @__PURE__ */
|
|
2509
|
+
function ln() {
|
|
2510
|
+
return /* @__PURE__ */ R("svg", {
|
|
2233
2511
|
width: "14",
|
|
2234
2512
|
height: "14",
|
|
2235
2513
|
viewBox: "0 0 14 14",
|
|
@@ -2238,15 +2516,15 @@ function Kt() {
|
|
|
2238
2516
|
strokeWidth: "1.5",
|
|
2239
2517
|
strokeLinecap: "round",
|
|
2240
2518
|
strokeLinejoin: "round",
|
|
2241
|
-
children: [/* @__PURE__ */
|
|
2519
|
+
children: [/* @__PURE__ */ L("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__ */ L("circle", {
|
|
2242
2520
|
cx: "7",
|
|
2243
2521
|
cy: "7",
|
|
2244
2522
|
r: "2"
|
|
2245
2523
|
})]
|
|
2246
2524
|
});
|
|
2247
2525
|
}
|
|
2248
|
-
function
|
|
2249
|
-
return /* @__PURE__ */
|
|
2526
|
+
function un() {
|
|
2527
|
+
return /* @__PURE__ */ L("svg", {
|
|
2250
2528
|
width: "14",
|
|
2251
2529
|
height: "14",
|
|
2252
2530
|
viewBox: "0 0 14 14",
|
|
@@ -2254,11 +2532,11 @@ function qt() {
|
|
|
2254
2532
|
stroke: "currentColor",
|
|
2255
2533
|
strokeWidth: "1.5",
|
|
2256
2534
|
strokeLinecap: "round",
|
|
2257
|
-
children: /* @__PURE__ */
|
|
2535
|
+
children: /* @__PURE__ */ L("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
2258
2536
|
});
|
|
2259
2537
|
}
|
|
2260
|
-
function
|
|
2261
|
-
return /* @__PURE__ */
|
|
2538
|
+
function dn() {
|
|
2539
|
+
return /* @__PURE__ */ L("svg", {
|
|
2262
2540
|
width: "14",
|
|
2263
2541
|
height: "14",
|
|
2264
2542
|
viewBox: "0 0 14 14",
|
|
@@ -2267,11 +2545,11 @@ function Jt() {
|
|
|
2267
2545
|
strokeWidth: "2",
|
|
2268
2546
|
strokeLinecap: "round",
|
|
2269
2547
|
strokeLinejoin: "round",
|
|
2270
|
-
children: /* @__PURE__ */
|
|
2548
|
+
children: /* @__PURE__ */ L("path", { d: "M3 7.5l3 3 5-6" })
|
|
2271
2549
|
});
|
|
2272
2550
|
}
|
|
2273
|
-
function
|
|
2274
|
-
return /* @__PURE__ */
|
|
2551
|
+
function fn() {
|
|
2552
|
+
return /* @__PURE__ */ R("svg", {
|
|
2275
2553
|
width: "14",
|
|
2276
2554
|
height: "14",
|
|
2277
2555
|
viewBox: "0 0 14 14",
|
|
@@ -2280,17 +2558,17 @@ function Yt() {
|
|
|
2280
2558
|
strokeWidth: "1.5",
|
|
2281
2559
|
strokeLinecap: "round",
|
|
2282
2560
|
strokeLinejoin: "round",
|
|
2283
|
-
children: [/* @__PURE__ */
|
|
2561
|
+
children: [/* @__PURE__ */ L("rect", {
|
|
2284
2562
|
x: "4.5",
|
|
2285
2563
|
y: "4.5",
|
|
2286
2564
|
width: "7",
|
|
2287
2565
|
height: "7",
|
|
2288
2566
|
rx: "1"
|
|
2289
|
-
}), /* @__PURE__ */
|
|
2567
|
+
}), /* @__PURE__ */ L("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" })]
|
|
2290
2568
|
});
|
|
2291
2569
|
}
|
|
2292
|
-
function
|
|
2293
|
-
return /* @__PURE__ */
|
|
2570
|
+
function pn() {
|
|
2571
|
+
return /* @__PURE__ */ L("svg", {
|
|
2294
2572
|
width: "14",
|
|
2295
2573
|
height: "14",
|
|
2296
2574
|
viewBox: "0 0 14 14",
|
|
@@ -2299,11 +2577,11 @@ function Xt() {
|
|
|
2299
2577
|
strokeWidth: "1.5",
|
|
2300
2578
|
strokeLinecap: "round",
|
|
2301
2579
|
strokeLinejoin: "round",
|
|
2302
|
-
children: /* @__PURE__ */
|
|
2580
|
+
children: /* @__PURE__ */ L("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" })
|
|
2303
2581
|
});
|
|
2304
2582
|
}
|
|
2305
|
-
function
|
|
2306
|
-
return /* @__PURE__ */
|
|
2583
|
+
function mn() {
|
|
2584
|
+
return /* @__PURE__ */ R("svg", {
|
|
2307
2585
|
width: "14",
|
|
2308
2586
|
height: "14",
|
|
2309
2587
|
viewBox: "0 0 14 14",
|
|
@@ -2312,17 +2590,17 @@ function Zt() {
|
|
|
2312
2590
|
strokeWidth: "1.5",
|
|
2313
2591
|
strokeLinecap: "round",
|
|
2314
2592
|
strokeLinejoin: "round",
|
|
2315
|
-
children: [/* @__PURE__ */
|
|
2593
|
+
children: [/* @__PURE__ */ L("rect", {
|
|
2316
2594
|
x: "1.5",
|
|
2317
2595
|
y: "2.5",
|
|
2318
2596
|
width: "11",
|
|
2319
2597
|
height: "10",
|
|
2320
2598
|
rx: "1"
|
|
2321
|
-
}), /* @__PURE__ */
|
|
2599
|
+
}), /* @__PURE__ */ L("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
2322
2600
|
});
|
|
2323
2601
|
}
|
|
2324
|
-
function
|
|
2325
|
-
return /* @__PURE__ */
|
|
2602
|
+
function hn() {
|
|
2603
|
+
return /* @__PURE__ */ L("svg", {
|
|
2326
2604
|
width: "14",
|
|
2327
2605
|
height: "14",
|
|
2328
2606
|
viewBox: "0 0 14 14",
|
|
@@ -2331,20 +2609,20 @@ function Qt() {
|
|
|
2331
2609
|
strokeWidth: "1.5",
|
|
2332
2610
|
strokeLinecap: "round",
|
|
2333
2611
|
strokeLinejoin: "round",
|
|
2334
|
-
children: /* @__PURE__ */
|
|
2612
|
+
children: /* @__PURE__ */ L("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
2335
2613
|
});
|
|
2336
2614
|
}
|
|
2337
|
-
function
|
|
2338
|
-
return /* @__PURE__ */
|
|
2615
|
+
function gn() {
|
|
2616
|
+
return /* @__PURE__ */ R("svg", {
|
|
2339
2617
|
width: "14",
|
|
2340
2618
|
height: "14",
|
|
2341
2619
|
viewBox: "0 0 14 14",
|
|
2342
2620
|
fill: "currentColor",
|
|
2343
|
-
children: [/* @__PURE__ */
|
|
2621
|
+
children: [/* @__PURE__ */ L("circle", {
|
|
2344
2622
|
cx: "7",
|
|
2345
2623
|
cy: "4.5",
|
|
2346
2624
|
r: "2.5"
|
|
2347
|
-
}), /* @__PURE__ */
|
|
2625
|
+
}), /* @__PURE__ */ L("path", {
|
|
2348
2626
|
d: "M2.5 12.5a4.5 4.5 0 0 1 9 0",
|
|
2349
2627
|
fill: "none",
|
|
2350
2628
|
stroke: "currentColor",
|
|
@@ -2352,8 +2630,8 @@ function $t() {
|
|
|
2352
2630
|
})]
|
|
2353
2631
|
});
|
|
2354
2632
|
}
|
|
2355
|
-
function
|
|
2356
|
-
return /* @__PURE__ */
|
|
2633
|
+
function _n() {
|
|
2634
|
+
return /* @__PURE__ */ R("svg", {
|
|
2357
2635
|
width: "14",
|
|
2358
2636
|
height: "14",
|
|
2359
2637
|
viewBox: "0 0 14 14",
|
|
@@ -2362,7 +2640,7 @@ function en() {
|
|
|
2362
2640
|
strokeWidth: "1.5",
|
|
2363
2641
|
strokeLinecap: "round",
|
|
2364
2642
|
strokeLinejoin: "round",
|
|
2365
|
-
children: [/* @__PURE__ */
|
|
2643
|
+
children: [/* @__PURE__ */ L("path", { d: "M1.5 8.5V2a.5.5 0 0 1 .5-.5h6.5L13 6l-5.5 5.5L1.5 8.5Z" }), /* @__PURE__ */ L("circle", {
|
|
2366
2644
|
cx: "5",
|
|
2367
2645
|
cy: "5",
|
|
2368
2646
|
r: "1",
|
|
@@ -2371,4 +2649,4 @@ function en() {
|
|
|
2371
2649
|
});
|
|
2372
2650
|
}
|
|
2373
2651
|
//#endregion
|
|
2374
|
-
export {
|
|
2652
|
+
export { Ne as Accordion, Me as AccordionItem, Et as ActivityFeed, Pe as AppLoader, Y as Avatar, X as Badge, pn as BellIcon, He as Button, mn as CalendarIcon, We as Card, Je as CardContent, qe as CardDescription, Ye as CardFooter, Ge as CardHeader, Ke as CardTitle, dn as CheckIcon, Jt as ChevronDown, Yt as ChevronUp, un as CloseIcon, Dt as CommandBar, fn as CopyIcon, yt as DEFAULT_ICON_BY_VALUE, bt as DEFAULT_VIEW_MODE_OPTIONS, Ot as DataTable, Xe as Dialog, et as DialogBody, $e as DialogDescription, tt as DialogFooter, Ze as DialogHeader, Qe as DialogTitle, nt as DropdownMenu, it as DropdownMenuCheckboxItem, rt as DropdownMenuItem, at as DropdownMenuLabel, ot as DropdownMenuSeparator, qt as EditIcon, Oe as FCCAppShell, ke as FCCBrandLogo, ye as FCCBreadcrumbs, ie as FCCDesignProvider, je as FCCDetailsPanel, xe as FCCHeaderStatus, Ce as FCCMainWindow, J as FCCSidePanel, me as FCCSidePanelAction, se as FCCSidePanelBody, fe as FCCSidePanelCard, he as FCCSidePanelChatWrap, pe as FCCSidePanelContact, ge as FCCSidePanelConversation, ue as FCCSidePanelGroupLabel, oe as FCCSidePanelHeader, de as FCCSidePanelItem, _e as FCCSidePanelMessage, le as FCCSidePanelSearch, ce as FCCSidePanelTabs, De as FCCSidebar, Ae as FCCThemeToggle, Se as FCCWorkspaceHeader, kt as FilterBar, hn as FilterIcon, zt as InboxIcon, Ut as InitiativesIcon, Bt as IssuesIcon, It as KPICard, At as KanbanBoard, Mt as KanbanCard, jt as KanbanColumn, _n as LabelIcon, sn as LinkIcon, Gt as MoreIcon, Rt as NotificationsPanel, rn as PriorityHigh, on as PriorityLow, an as PriorityMedium, nn as PriorityUrgent, Wt as ProjectsIcon, Ht as PulseIcon, Vt as ReviewsIcon, Kt as SearchIcon, st as SearchableSelect, ln as SettingsIcon, ct as Sheet, lt as SheetFooter, Fe as Spinner, Xt as StarIcon, Lt as StatCard, en as StatusBacklog, tn as StatusCancelled, Qt as StatusDone, Zt as StatusInProgress, ft as StatusMetric, $t as StatusTodo, pt as Switch, Nt as TableBoard, Pt as TableBoardGroup, Ft as TableBoardRow, mt as Tabs, _t as TabsContent, ht as TabsList, gt as TabsTrigger, G as ThemeProvider, H as ToastProvider, vt as Tooltip, cn as TrashIcon, gn as UserIcon, Ct as ViewModeToggle, Tt as WorkspaceTabs, K as useTheme, U as useToast };
|