@freedom-code-compliance/fcc-redesign 0.1.26 → 0.1.28
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 +652 -818
- package/dist/rich-text-editor.cjs +1 -0
- package/dist/rich-text-editor.js +173 -0
- package/dist/styles.css +1 -1
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { createContext as e, createElement as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useId as s, useLayoutEffect as c, useRef as l, useState as u } from "react";
|
|
2
|
-
import { AlertCircle as d, AlertTriangle as f, Bell as p,
|
|
3
|
-
import { Fragment as
|
|
4
|
-
import { createPortal as
|
|
5
|
-
import { EditorContent as ae, useEditor as oe } from "@tiptap/react";
|
|
6
|
-
import se from "@tiptap/extension-placeholder";
|
|
7
|
-
import ce from "@tiptap/extension-underline";
|
|
8
|
-
import le from "@tiptap/starter-kit";
|
|
2
|
+
import { AlertCircle as d, AlertTriangle as f, Bell as p, Calendar as m, Check as h, CheckCheck as g, CheckCircle as _, ChevronDown as v, ChevronRight as y, ChevronUp as b, ChevronsUpDown as x, Clock as S, Columns3 as C, Filter as w, Info as T, LayoutGrid as E, List as D, Loader2 as O, LogOut as k, Map as A, Minus as j, Moon as M, Search as N, Sun as P, TrendingDown as F, TrendingUp as I, X as L } from "lucide-react";
|
|
3
|
+
import { Fragment as R, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
4
|
+
import { createPortal as V } from "react-dom";
|
|
9
5
|
//#region src/components/ui/Toast.jsx
|
|
10
|
-
var
|
|
11
|
-
success: /* @__PURE__ */
|
|
6
|
+
var H = e(null), U = {
|
|
7
|
+
success: /* @__PURE__ */ z(_, {
|
|
12
8
|
size: 16,
|
|
13
9
|
style: { color: "var(--accent-green)" }
|
|
14
10
|
}),
|
|
15
|
-
error: /* @__PURE__ */
|
|
11
|
+
error: /* @__PURE__ */ z(d, {
|
|
16
12
|
size: 16,
|
|
17
13
|
style: { color: "var(--accent-red)" }
|
|
18
14
|
}),
|
|
19
|
-
warning: /* @__PURE__ */
|
|
15
|
+
warning: /* @__PURE__ */ z(f, {
|
|
20
16
|
size: 16,
|
|
21
17
|
style: { color: "var(--accent-yellow)" }
|
|
22
18
|
}),
|
|
23
|
-
info: /* @__PURE__ */
|
|
19
|
+
info: /* @__PURE__ */ z(T, {
|
|
24
20
|
size: 16,
|
|
25
21
|
style: { color: "var(--accent-blue)" }
|
|
26
22
|
})
|
|
27
23
|
};
|
|
28
|
-
function
|
|
24
|
+
function ee({ toast: e, onDismiss: t }) {
|
|
29
25
|
return o(() => {
|
|
30
26
|
if (e.duration !== 0) {
|
|
31
27
|
let n = setTimeout(() => t(e.id), e.duration || 4e3);
|
|
@@ -35,33 +31,33 @@ function fe({ toast: e, onDismiss: t }) {
|
|
|
35
31
|
e.id,
|
|
36
32
|
e.duration,
|
|
37
33
|
t
|
|
38
|
-
]), /* @__PURE__ */
|
|
34
|
+
]), /* @__PURE__ */ B("div", {
|
|
39
35
|
className: "toast",
|
|
40
36
|
style: { animation: "slideInRight 200ms ease" },
|
|
41
37
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ z("span", {
|
|
43
39
|
className: "toast-icon",
|
|
44
|
-
children:
|
|
40
|
+
children: U[e.type] || U.info
|
|
45
41
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ B("div", {
|
|
47
43
|
className: "toast-content",
|
|
48
|
-
children: [e.title && /* @__PURE__ */
|
|
44
|
+
children: [e.title && /* @__PURE__ */ z("div", {
|
|
49
45
|
className: "toast-title",
|
|
50
46
|
children: e.title
|
|
51
|
-
}), /* @__PURE__ */
|
|
47
|
+
}), /* @__PURE__ */ z("div", {
|
|
52
48
|
className: "toast-message",
|
|
53
49
|
children: e.message
|
|
54
50
|
})]
|
|
55
51
|
}),
|
|
56
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ z("button", {
|
|
57
53
|
className: "toast-close",
|
|
58
54
|
onClick: () => t(e.id),
|
|
59
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ z(L, { size: 14 })
|
|
60
56
|
})
|
|
61
57
|
]
|
|
62
58
|
});
|
|
63
59
|
}
|
|
64
|
-
function
|
|
60
|
+
function te({ children: e }) {
|
|
65
61
|
let [t, n] = u([]), r = i((e) => {
|
|
66
62
|
let t = Date.now() + Math.random();
|
|
67
63
|
n((n) => [...n.slice(-4), {
|
|
@@ -71,35 +67,35 @@ function pe({ children: e }) {
|
|
|
71
67
|
}, []), a = i((e) => {
|
|
72
68
|
n((t) => t.filter((t) => t.id !== e));
|
|
73
69
|
}, []);
|
|
74
|
-
return /* @__PURE__ */ H
|
|
70
|
+
return /* @__PURE__ */ B(H.Provider, {
|
|
75
71
|
value: { addToast: r },
|
|
76
|
-
children: [e, /* @__PURE__ */
|
|
72
|
+
children: [e, /* @__PURE__ */ z("div", {
|
|
77
73
|
className: "toast-container",
|
|
78
|
-
children: t.map((e) => /* @__PURE__ */
|
|
74
|
+
children: t.map((e) => /* @__PURE__ */ z(ee, {
|
|
79
75
|
toast: e,
|
|
80
76
|
onDismiss: a
|
|
81
77
|
}, e.id))
|
|
82
78
|
})]
|
|
83
79
|
});
|
|
84
80
|
}
|
|
85
|
-
function
|
|
86
|
-
let e = a(
|
|
81
|
+
function ne() {
|
|
82
|
+
let e = a(H);
|
|
87
83
|
if (!e) throw Error("useToast must be used within ToastProvider");
|
|
88
84
|
return e;
|
|
89
85
|
}
|
|
90
86
|
//#endregion
|
|
91
87
|
//#region src/context/ThemeContext.jsx
|
|
92
|
-
var
|
|
93
|
-
function
|
|
88
|
+
var re = e(void 0), ie = "dark", ae = "fcc-theme";
|
|
89
|
+
function oe(e) {
|
|
94
90
|
if (typeof document > "u") return;
|
|
95
91
|
let t = document.documentElement;
|
|
96
92
|
t.classList.remove("dark", "light"), e === "light" && t.classList.add("light");
|
|
97
93
|
}
|
|
98
|
-
function
|
|
94
|
+
function se({ children: e, defaultTheme: t = ie, storageKey: n = ae }) {
|
|
99
95
|
let [r, i] = u(() => typeof window > "u" ? t : window.localStorage.getItem(n) || t);
|
|
100
96
|
return o(() => {
|
|
101
|
-
typeof window < "u" && window.localStorage.setItem(n, r),
|
|
102
|
-
}, [n, r]), /* @__PURE__ */
|
|
97
|
+
typeof window < "u" && window.localStorage.setItem(n, r), oe(r);
|
|
98
|
+
}, [n, r]), /* @__PURE__ */ z(re.Provider, {
|
|
103
99
|
value: {
|
|
104
100
|
theme: r,
|
|
105
101
|
setTheme: i,
|
|
@@ -111,22 +107,22 @@ function ye({ children: e, defaultTheme: t = ge, storageKey: n = _e }) {
|
|
|
111
107
|
});
|
|
112
108
|
}
|
|
113
109
|
function W() {
|
|
114
|
-
let e = a(
|
|
110
|
+
let e = a(re);
|
|
115
111
|
if (!e) throw Error("useTheme must be used within a ThemeProvider");
|
|
116
112
|
return e;
|
|
117
113
|
}
|
|
118
114
|
//#endregion
|
|
119
115
|
//#region src/lib/FCCDesignProvider.jsx
|
|
120
|
-
function
|
|
121
|
-
return /* @__PURE__ */
|
|
116
|
+
function ce({ children: e, ...t }) {
|
|
117
|
+
return /* @__PURE__ */ z(se, {
|
|
122
118
|
...t,
|
|
123
|
-
children: /* @__PURE__ */
|
|
119
|
+
children: /* @__PURE__ */ z(te, { children: e })
|
|
124
120
|
});
|
|
125
121
|
}
|
|
126
122
|
//#endregion
|
|
127
123
|
//#region src/components/layout/FCCSidePanel.jsx
|
|
128
|
-
var G = (...e) => e.filter(Boolean).join(" "),
|
|
129
|
-
function
|
|
124
|
+
var G = (...e) => e.filter(Boolean).join(" "), le = 300;
|
|
125
|
+
function ue({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: d = "" }) {
|
|
130
126
|
let f = r && n ? n : t, p = l(null), m = l(null), [h, g] = u(e ? i : null), [_, v] = u(f), [y, b] = u(e && !!i);
|
|
131
127
|
o(() => () => {
|
|
132
128
|
p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
|
|
@@ -144,204 +140,204 @@ function Se({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
|
|
|
144
140
|
]), o(() => {
|
|
145
141
|
if (!(e || !y)) return m.current = window.setTimeout(() => {
|
|
146
142
|
b(!1), g(null), m.current = null;
|
|
147
|
-
},
|
|
143
|
+
}, le), () => {
|
|
148
144
|
m.current &&= (window.clearTimeout(m.current), null);
|
|
149
145
|
};
|
|
150
146
|
}, [e, y]);
|
|
151
147
|
let x = !e && y, S = e ? i : y ? h : null, C = e ? f : y ? _ : f, w = e && !!i || !!S;
|
|
152
|
-
return /* @__PURE__ */
|
|
148
|
+
return /* @__PURE__ */ B("div", {
|
|
153
149
|
className: G("fcc-side-panel-layout", s),
|
|
154
|
-
children: [/* @__PURE__ */
|
|
150
|
+
children: [/* @__PURE__ */ z("div", {
|
|
155
151
|
className: G("fcc-side-panel-content", c),
|
|
156
152
|
children: a
|
|
157
|
-
}), /* @__PURE__ */
|
|
153
|
+
}), /* @__PURE__ */ z("div", {
|
|
158
154
|
className: G("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
|
|
159
155
|
style: { "--fcc-side-panel-width": `${C}px` },
|
|
160
|
-
children: /* @__PURE__ */
|
|
156
|
+
children: /* @__PURE__ */ z("div", {
|
|
161
157
|
className: G("fcc-side-panel-inner", d),
|
|
162
158
|
children: S
|
|
163
159
|
})
|
|
164
160
|
})]
|
|
165
161
|
});
|
|
166
162
|
}
|
|
167
|
-
function
|
|
168
|
-
return /* @__PURE__ */
|
|
163
|
+
function de({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
|
|
164
|
+
return /* @__PURE__ */ B("div", {
|
|
169
165
|
className: G("fcc-side-panel-header", i),
|
|
170
|
-
children: [/* @__PURE__ */
|
|
166
|
+
children: [/* @__PURE__ */ B("div", {
|
|
171
167
|
className: "fcc-side-panel-header-copy",
|
|
172
|
-
children: [/* @__PURE__ */
|
|
168
|
+
children: [/* @__PURE__ */ z("div", {
|
|
173
169
|
className: "fcc-side-panel-title",
|
|
174
170
|
children: e
|
|
175
|
-
}), t && /* @__PURE__ */
|
|
171
|
+
}), t && /* @__PURE__ */ z("div", {
|
|
176
172
|
className: "fcc-side-panel-subtitle",
|
|
177
173
|
children: t
|
|
178
174
|
})]
|
|
179
|
-
}), /* @__PURE__ */
|
|
175
|
+
}), /* @__PURE__ */ B("div", {
|
|
180
176
|
className: "fcc-side-panel-header-actions",
|
|
181
|
-
children: [r, n && /* @__PURE__ */
|
|
177
|
+
children: [r, n && /* @__PURE__ */ z("button", {
|
|
182
178
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
183
179
|
onClick: n,
|
|
184
180
|
"aria-label": "Close panel",
|
|
185
|
-
children: /* @__PURE__ */
|
|
181
|
+
children: /* @__PURE__ */ z(L, { size: 14 })
|
|
186
182
|
})]
|
|
187
183
|
})]
|
|
188
184
|
});
|
|
189
185
|
}
|
|
190
|
-
function
|
|
191
|
-
return /* @__PURE__ */
|
|
186
|
+
function fe({ children: e, className: t = "" }) {
|
|
187
|
+
return /* @__PURE__ */ z("div", {
|
|
192
188
|
className: G("fcc-side-panel-body", t),
|
|
193
189
|
children: e
|
|
194
190
|
});
|
|
195
191
|
}
|
|
196
|
-
function
|
|
197
|
-
return /* @__PURE__ */
|
|
192
|
+
function pe({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
|
|
193
|
+
return /* @__PURE__ */ z("div", {
|
|
198
194
|
className: G("fcc-side-panel-tabs", r),
|
|
199
|
-
children: e.map((e, r) => /* @__PURE__ */
|
|
195
|
+
children: e.map((e, r) => /* @__PURE__ */ z("button", {
|
|
200
196
|
className: G("fcc-side-panel-tab", t === r && "active"),
|
|
201
197
|
onClick: () => n?.(r),
|
|
202
198
|
children: e
|
|
203
199
|
}, e))
|
|
204
200
|
});
|
|
205
201
|
}
|
|
206
|
-
function
|
|
207
|
-
return /* @__PURE__ */
|
|
202
|
+
function me({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
|
|
203
|
+
return /* @__PURE__ */ B("div", {
|
|
208
204
|
className: G("fcc-side-panel-search", r),
|
|
209
|
-
children: [/* @__PURE__ */
|
|
205
|
+
children: [/* @__PURE__ */ z(N, { size: 13 }), n ? /* @__PURE__ */ z("input", {
|
|
210
206
|
className: "fcc-side-panel-search-input",
|
|
211
207
|
type: "text",
|
|
212
208
|
placeholder: e,
|
|
213
209
|
value: t,
|
|
214
210
|
onChange: (e) => n(e.target.value)
|
|
215
|
-
}) : /* @__PURE__ */
|
|
211
|
+
}) : /* @__PURE__ */ z("span", {
|
|
216
212
|
className: "fcc-side-panel-search-placeholder",
|
|
217
213
|
children: e
|
|
218
214
|
})]
|
|
219
215
|
});
|
|
220
216
|
}
|
|
221
|
-
function
|
|
222
|
-
return /* @__PURE__ */
|
|
217
|
+
function he({ children: e, className: t = "" }) {
|
|
218
|
+
return /* @__PURE__ */ z("div", {
|
|
223
219
|
className: G("fcc-side-panel-group-label", t),
|
|
224
220
|
children: e
|
|
225
221
|
});
|
|
226
222
|
}
|
|
227
|
-
function
|
|
228
|
-
return /* @__PURE__ */
|
|
223
|
+
function ge({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
|
|
224
|
+
return /* @__PURE__ */ B("div", {
|
|
229
225
|
className: G("fcc-side-panel-item", a),
|
|
230
226
|
onClick: i,
|
|
231
227
|
children: [
|
|
232
|
-
e && /* @__PURE__ */
|
|
228
|
+
e && /* @__PURE__ */ z("span", {
|
|
233
229
|
className: "fcc-side-panel-item-dot",
|
|
234
230
|
style: { background: e }
|
|
235
231
|
}),
|
|
236
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ B("div", {
|
|
237
233
|
className: "fcc-side-panel-item-body",
|
|
238
|
-
children: [/* @__PURE__ */
|
|
234
|
+
children: [/* @__PURE__ */ z("span", {
|
|
239
235
|
className: "fcc-side-panel-item-label",
|
|
240
236
|
children: t
|
|
241
|
-
}), n && /* @__PURE__ */
|
|
237
|
+
}), n && /* @__PURE__ */ z("span", {
|
|
242
238
|
className: "fcc-side-panel-item-detail",
|
|
243
239
|
children: n
|
|
244
240
|
})]
|
|
245
241
|
}),
|
|
246
|
-
r && /* @__PURE__ */
|
|
242
|
+
r && /* @__PURE__ */ z("span", {
|
|
247
243
|
className: "fcc-side-panel-item-time",
|
|
248
244
|
children: r
|
|
249
245
|
})
|
|
250
246
|
]
|
|
251
247
|
});
|
|
252
248
|
}
|
|
253
|
-
function
|
|
254
|
-
return /* @__PURE__ */
|
|
249
|
+
function _e({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
|
|
250
|
+
return /* @__PURE__ */ B("div", {
|
|
255
251
|
className: G("fcc-side-panel-card", o),
|
|
256
252
|
onClick: a,
|
|
257
|
-
children: [/* @__PURE__ */
|
|
253
|
+
children: [/* @__PURE__ */ z("div", {
|
|
258
254
|
className: "fcc-side-panel-card-avatar",
|
|
259
255
|
children: e
|
|
260
|
-
}), /* @__PURE__ */
|
|
256
|
+
}), /* @__PURE__ */ B("div", {
|
|
261
257
|
className: "fcc-side-panel-card-body",
|
|
262
258
|
children: [
|
|
263
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ z("span", {
|
|
264
260
|
className: "fcc-side-panel-card-title",
|
|
265
261
|
children: t
|
|
266
262
|
}),
|
|
267
|
-
n && /* @__PURE__ */
|
|
263
|
+
n && /* @__PURE__ */ z("span", {
|
|
268
264
|
className: "fcc-side-panel-card-detail",
|
|
269
265
|
children: n
|
|
270
266
|
}),
|
|
271
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ B("div", {
|
|
272
268
|
className: "fcc-side-panel-card-meta",
|
|
273
|
-
children: [r && /* @__PURE__ */
|
|
269
|
+
children: [r && /* @__PURE__ */ z("span", { children: r }), i && /* @__PURE__ */ z("span", { className: "fcc-side-panel-unread-dot" })]
|
|
274
270
|
})
|
|
275
271
|
]
|
|
276
272
|
})]
|
|
277
273
|
});
|
|
278
274
|
}
|
|
279
|
-
function
|
|
280
|
-
return /* @__PURE__ */
|
|
275
|
+
function ve({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
|
|
276
|
+
return /* @__PURE__ */ B("div", {
|
|
281
277
|
className: G("fcc-side-panel-contact", r && "active", o),
|
|
282
278
|
onClick: a,
|
|
283
279
|
children: [
|
|
284
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ B("div", {
|
|
285
281
|
className: "fcc-side-panel-contact-avatar-wrap",
|
|
286
|
-
children: [e, i && /* @__PURE__ */
|
|
282
|
+
children: [e, i && /* @__PURE__ */ z("span", { className: "fcc-side-panel-online-dot" })]
|
|
287
283
|
}),
|
|
288
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ z("span", {
|
|
289
285
|
className: "fcc-side-panel-contact-name",
|
|
290
286
|
children: t
|
|
291
287
|
}),
|
|
292
|
-
n && /* @__PURE__ */
|
|
288
|
+
n && /* @__PURE__ */ z("span", {
|
|
293
289
|
className: "fcc-side-panel-contact-time",
|
|
294
290
|
children: n
|
|
295
291
|
})
|
|
296
292
|
]
|
|
297
293
|
});
|
|
298
294
|
}
|
|
299
|
-
function
|
|
300
|
-
return /* @__PURE__ */
|
|
295
|
+
function ye({ children: e, onClick: t, className: n = "" }) {
|
|
296
|
+
return /* @__PURE__ */ z("div", {
|
|
301
297
|
className: G("fcc-side-panel-action", n),
|
|
302
298
|
onClick: t,
|
|
303
299
|
children: e
|
|
304
300
|
});
|
|
305
301
|
}
|
|
306
|
-
function
|
|
307
|
-
return /* @__PURE__ */
|
|
302
|
+
function be({ children: e, className: t = "" }) {
|
|
303
|
+
return /* @__PURE__ */ z("div", {
|
|
308
304
|
className: G("fcc-side-panel-chat-wrap", t),
|
|
309
305
|
children: e
|
|
310
306
|
});
|
|
311
307
|
}
|
|
312
|
-
function
|
|
313
|
-
return /* @__PURE__ */
|
|
308
|
+
function xe({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
|
|
309
|
+
return /* @__PURE__ */ B("div", {
|
|
314
310
|
className: G("fcc-side-panel-conversation", i),
|
|
315
311
|
children: [
|
|
316
|
-
/* @__PURE__ */
|
|
312
|
+
/* @__PURE__ */ B("div", {
|
|
317
313
|
className: "fcc-side-panel-conv-header",
|
|
318
|
-
children: [/* @__PURE__ */
|
|
314
|
+
children: [/* @__PURE__ */ z("span", {
|
|
319
315
|
className: "fcc-side-panel-conv-title",
|
|
320
316
|
children: e
|
|
321
|
-
}), t && /* @__PURE__ */
|
|
317
|
+
}), t && /* @__PURE__ */ z("div", {
|
|
322
318
|
className: "fcc-side-panel-conv-header-right",
|
|
323
319
|
children: t
|
|
324
320
|
})]
|
|
325
321
|
}),
|
|
326
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ z("div", {
|
|
327
323
|
className: "fcc-side-panel-conv-messages",
|
|
328
324
|
children: n
|
|
329
325
|
}),
|
|
330
|
-
r && /* @__PURE__ */
|
|
326
|
+
r && /* @__PURE__ */ z("div", {
|
|
331
327
|
className: "fcc-side-panel-conv-input",
|
|
332
328
|
children: r
|
|
333
329
|
})
|
|
334
330
|
]
|
|
335
331
|
});
|
|
336
332
|
}
|
|
337
|
-
function
|
|
333
|
+
function Se({ from: e = "other", meta: t, children: n, className: r = "" }) {
|
|
338
334
|
let i = e === "you";
|
|
339
|
-
return /* @__PURE__ */
|
|
335
|
+
return /* @__PURE__ */ B("div", {
|
|
340
336
|
className: G("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
|
|
341
|
-
children: [t && /* @__PURE__ */
|
|
337
|
+
children: [t && /* @__PURE__ */ z("div", {
|
|
342
338
|
className: "fcc-side-panel-msg-meta",
|
|
343
339
|
children: t
|
|
344
|
-
}), /* @__PURE__ */
|
|
340
|
+
}), /* @__PURE__ */ z("div", {
|
|
345
341
|
className: G("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
|
|
346
342
|
children: n
|
|
347
343
|
})]
|
|
@@ -349,80 +345,80 @@ function Pe({ from: e = "other", meta: t, children: n, className: r = "" }) {
|
|
|
349
345
|
}
|
|
350
346
|
//#endregion
|
|
351
347
|
//#region src/components/layout/FCCBreadcrumbs.jsx
|
|
352
|
-
function
|
|
348
|
+
function Ce(e, t) {
|
|
353
349
|
let n = [
|
|
354
350
|
"fcc-breadcrumb-item",
|
|
355
351
|
t ? "current" : "",
|
|
356
352
|
e.className || ""
|
|
357
353
|
].filter(Boolean).join(" ");
|
|
358
|
-
return t ? /* @__PURE__ */
|
|
354
|
+
return t ? /* @__PURE__ */ z("span", {
|
|
359
355
|
className: n,
|
|
360
356
|
children: e.label
|
|
361
|
-
}) : e.href ? /* @__PURE__ */
|
|
357
|
+
}) : e.href ? /* @__PURE__ */ z("a", {
|
|
362
358
|
className: n,
|
|
363
359
|
href: e.href,
|
|
364
360
|
children: e.label
|
|
365
|
-
}) : e.onClick ? /* @__PURE__ */
|
|
361
|
+
}) : e.onClick ? /* @__PURE__ */ z("button", {
|
|
366
362
|
type: "button",
|
|
367
363
|
className: n,
|
|
368
364
|
onClick: e.onClick,
|
|
369
365
|
children: e.label
|
|
370
|
-
}) : /* @__PURE__ */
|
|
366
|
+
}) : /* @__PURE__ */ z("span", {
|
|
371
367
|
className: n,
|
|
372
368
|
children: e.label
|
|
373
369
|
});
|
|
374
370
|
}
|
|
375
|
-
function
|
|
371
|
+
function we({ items: e = [], className: t = "" }) {
|
|
376
372
|
let n = e.filter((e) => e?.label);
|
|
377
|
-
return n.length === 0 ? null : /* @__PURE__ */
|
|
373
|
+
return n.length === 0 ? null : /* @__PURE__ */ z("nav", {
|
|
378
374
|
className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
|
|
379
375
|
"aria-label": "Breadcrumb",
|
|
380
376
|
children: n.map((e, t) => {
|
|
381
377
|
let r = e.current ?? t === n.length - 1;
|
|
382
|
-
return /* @__PURE__ */
|
|
378
|
+
return /* @__PURE__ */ B("div", {
|
|
383
379
|
className: "fcc-breadcrumb-segment",
|
|
384
|
-
children: [t > 0 && /* @__PURE__ */
|
|
380
|
+
children: [t > 0 && /* @__PURE__ */ z("span", {
|
|
385
381
|
className: "fcc-breadcrumb-sep",
|
|
386
382
|
children: "/"
|
|
387
|
-
}),
|
|
383
|
+
}), Ce(e, r)]
|
|
388
384
|
}, e.key || e.label || t);
|
|
389
385
|
})
|
|
390
386
|
});
|
|
391
387
|
}
|
|
392
388
|
//#endregion
|
|
393
389
|
//#region src/components/layout/FCCHeaderStatus.jsx
|
|
394
|
-
var
|
|
390
|
+
var Te = {
|
|
395
391
|
success: "fcc-header-status-success",
|
|
396
392
|
warning: "fcc-header-status-warning",
|
|
397
393
|
danger: "fcc-header-status-danger",
|
|
398
394
|
info: "fcc-header-status-info",
|
|
399
395
|
neutral: "fcc-header-status-neutral"
|
|
400
396
|
};
|
|
401
|
-
function
|
|
402
|
-
return e ? /* @__PURE__ */
|
|
397
|
+
function K({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
|
|
398
|
+
return e ? /* @__PURE__ */ B("div", {
|
|
403
399
|
className: [
|
|
404
400
|
"fcc-header-status",
|
|
405
|
-
|
|
401
|
+
Te[t] || Te.neutral,
|
|
406
402
|
r
|
|
407
403
|
].filter(Boolean).join(" "),
|
|
408
|
-
children: [/* @__PURE__ */
|
|
404
|
+
children: [/* @__PURE__ */ z("span", {
|
|
409
405
|
className: "fcc-header-status-dot",
|
|
410
406
|
style: n ? { backgroundColor: n } : void 0
|
|
411
|
-
}), /* @__PURE__ */
|
|
407
|
+
}), /* @__PURE__ */ z("span", { children: e })]
|
|
412
408
|
}) : null;
|
|
413
409
|
}
|
|
414
410
|
//#endregion
|
|
415
411
|
//#region src/components/layout/FCCWorkspaceHeader.jsx
|
|
416
|
-
function
|
|
417
|
-
return /* @__PURE__ */
|
|
412
|
+
function q({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "" }) {
|
|
413
|
+
return /* @__PURE__ */ B("header", {
|
|
418
414
|
className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
|
|
419
|
-
children: [/* @__PURE__ */
|
|
415
|
+
children: [/* @__PURE__ */ z("div", {
|
|
420
416
|
className: "fcc-workspace-header-left",
|
|
421
|
-
children: r || /* @__PURE__ */
|
|
422
|
-
}), /* @__PURE__ */
|
|
417
|
+
children: r || /* @__PURE__ */ z(we, { items: e })
|
|
418
|
+
}), /* @__PURE__ */ B("div", {
|
|
423
419
|
className: "fcc-workspace-header-right",
|
|
424
420
|
children: [
|
|
425
|
-
t && /* @__PURE__ */
|
|
421
|
+
t && /* @__PURE__ */ z(K, { ...t }),
|
|
426
422
|
n,
|
|
427
423
|
i
|
|
428
424
|
]
|
|
@@ -431,8 +427,8 @@ function ze({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
|
|
|
431
427
|
}
|
|
432
428
|
//#endregion
|
|
433
429
|
//#region src/components/layout/FCCMainWindow.jsx
|
|
434
|
-
function
|
|
435
|
-
let u = o ? /* @__PURE__ */
|
|
430
|
+
function Ee({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, className: s = "", headerClassName: c = "", contentClassName: l = "" }) {
|
|
431
|
+
let u = o ? /* @__PURE__ */ z(ue, {
|
|
436
432
|
open: o.open,
|
|
437
433
|
width: o.width,
|
|
438
434
|
expandedWidth: o.expandedWidth,
|
|
@@ -443,16 +439,16 @@ function Be({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
|
|
|
443
439
|
panelClassName: o.panelClassName,
|
|
444
440
|
children: i
|
|
445
441
|
}) : i;
|
|
446
|
-
return /* @__PURE__ */
|
|
442
|
+
return /* @__PURE__ */ B("div", {
|
|
447
443
|
className: ["fcc-main-window", s].filter(Boolean).join(" "),
|
|
448
444
|
children: [
|
|
449
|
-
r || /* @__PURE__ */
|
|
445
|
+
r || /* @__PURE__ */ z(q, {
|
|
450
446
|
breadcrumbs: e,
|
|
451
447
|
status: t,
|
|
452
448
|
actions: n,
|
|
453
449
|
className: c
|
|
454
450
|
}),
|
|
455
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ z("div", {
|
|
456
452
|
className: [
|
|
457
453
|
"fcc-main-window-content",
|
|
458
454
|
o && "fcc-main-window-content-with-side-panel",
|
|
@@ -466,7 +462,7 @@ function Be({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
|
|
|
466
462
|
}
|
|
467
463
|
//#endregion
|
|
468
464
|
//#region src/components/layout/FCCSidebar.jsx
|
|
469
|
-
function
|
|
465
|
+
function De(e, t) {
|
|
470
466
|
if (!e.disabled) {
|
|
471
467
|
if (e.onClick) {
|
|
472
468
|
e.onClick(e);
|
|
@@ -475,10 +471,10 @@ function Ve(e, t) {
|
|
|
475
471
|
t?.(e);
|
|
476
472
|
}
|
|
477
473
|
}
|
|
478
|
-
function
|
|
474
|
+
function Oe(e, t) {
|
|
479
475
|
return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
|
|
480
476
|
}
|
|
481
|
-
function
|
|
477
|
+
function ke(e, t) {
|
|
482
478
|
if (!t.trim()) return e;
|
|
483
479
|
let n = t.trim().toLowerCase();
|
|
484
480
|
return e.map((e) => ({
|
|
@@ -486,7 +482,7 @@ function Ue(e, t) {
|
|
|
486
482
|
items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
|
|
487
483
|
})).filter((e) => e.items.length > 0);
|
|
488
484
|
}
|
|
489
|
-
function
|
|
485
|
+
function Ae({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
|
|
490
486
|
let [l, d] = u({}), [f, p] = u({});
|
|
491
487
|
function m(e, t) {
|
|
492
488
|
p((n) => ({
|
|
@@ -494,31 +490,31 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
494
490
|
[e]: t
|
|
495
491
|
}));
|
|
496
492
|
}
|
|
497
|
-
return /* @__PURE__ */
|
|
493
|
+
return /* @__PURE__ */ B("aside", {
|
|
498
494
|
className: ["fcc-sidebar", c].filter(Boolean).join(" "),
|
|
499
495
|
children: [
|
|
500
|
-
/* @__PURE__ */
|
|
496
|
+
/* @__PURE__ */ B("div", {
|
|
501
497
|
className: "fcc-sidebar-brand",
|
|
502
|
-
children: [/* @__PURE__ */
|
|
498
|
+
children: [/* @__PURE__ */ z("div", {
|
|
503
499
|
className: "fcc-sidebar-brand-logo-slot",
|
|
504
500
|
children: t
|
|
505
|
-
}), /* @__PURE__ */
|
|
501
|
+
}), /* @__PURE__ */ z("span", {
|
|
506
502
|
className: "fcc-sidebar-label fcc-sidebar-brand-text",
|
|
507
503
|
children: e
|
|
508
504
|
})]
|
|
509
505
|
}),
|
|
510
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ z("nav", {
|
|
511
507
|
className: "fcc-sidebar-nav",
|
|
512
508
|
"aria-label": `${e} navigation`,
|
|
513
509
|
children: n.map((e) => {
|
|
514
|
-
let t = e.childrenSections?.length > 0, n =
|
|
515
|
-
return /* @__PURE__ */
|
|
510
|
+
let t = e.childrenSections?.length > 0, n = Oe(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? ke(e.childrenSections, s) : [];
|
|
511
|
+
return /* @__PURE__ */ B("div", {
|
|
516
512
|
className: [
|
|
517
513
|
"fcc-sidebar-entry",
|
|
518
514
|
t ? "has-children" : "",
|
|
519
515
|
t && o ? "expanded" : ""
|
|
520
516
|
].filter(Boolean).join(" "),
|
|
521
|
-
children: [/* @__PURE__ */
|
|
517
|
+
children: [/* @__PURE__ */ B("button", {
|
|
522
518
|
type: "button",
|
|
523
519
|
className: [
|
|
524
520
|
"fcc-sidebar-item",
|
|
@@ -526,25 +522,25 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
526
522
|
e.disabled ? "disabled" : ""
|
|
527
523
|
].filter(Boolean).join(" "),
|
|
528
524
|
onClick: () => {
|
|
529
|
-
t && m(e.key, !0),
|
|
525
|
+
t && m(e.key, !0), De(e, i);
|
|
530
526
|
},
|
|
531
527
|
"aria-current": a ? "page" : void 0,
|
|
532
528
|
disabled: e.disabled,
|
|
533
529
|
title: e.label,
|
|
534
530
|
children: [
|
|
535
|
-
/* @__PURE__ */
|
|
531
|
+
/* @__PURE__ */ z("span", {
|
|
536
532
|
className: "fcc-sidebar-item-icon",
|
|
537
533
|
children: e.icon
|
|
538
534
|
}),
|
|
539
|
-
/* @__PURE__ */
|
|
535
|
+
/* @__PURE__ */ z("span", {
|
|
540
536
|
className: "fcc-sidebar-label fcc-sidebar-item-label",
|
|
541
537
|
children: e.label
|
|
542
538
|
}),
|
|
543
|
-
e.badge != null && /* @__PURE__ */
|
|
539
|
+
e.badge != null && /* @__PURE__ */ z("span", {
|
|
544
540
|
className: "fcc-sidebar-item-badge",
|
|
545
541
|
children: e.badge
|
|
546
542
|
}),
|
|
547
|
-
t && /* @__PURE__ */
|
|
543
|
+
t && /* @__PURE__ */ z("span", {
|
|
548
544
|
className: [
|
|
549
545
|
"fcc-sidebar-label",
|
|
550
546
|
"fcc-sidebar-item-chevron",
|
|
@@ -556,14 +552,14 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
556
552
|
role: "button",
|
|
557
553
|
"aria-label": `${o ? "Collapse" : "Expand"} ${e.label}`,
|
|
558
554
|
"aria-expanded": o,
|
|
559
|
-
children: /* @__PURE__ */
|
|
555
|
+
children: /* @__PURE__ */ z(v, { size: 14 })
|
|
560
556
|
})
|
|
561
557
|
]
|
|
562
|
-
}), t && o && /* @__PURE__ */
|
|
558
|
+
}), t && o && /* @__PURE__ */ B("div", {
|
|
563
559
|
className: "fcc-sidebar-accordion",
|
|
564
|
-
children: [/* @__PURE__ */
|
|
560
|
+
children: [/* @__PURE__ */ B("div", {
|
|
565
561
|
className: "fcc-sidebar-search",
|
|
566
|
-
children: [/* @__PURE__ */
|
|
562
|
+
children: [/* @__PURE__ */ z(N, { size: 13 }), /* @__PURE__ */ z("input", {
|
|
567
563
|
type: "text",
|
|
568
564
|
className: "fcc-sidebar-search-input",
|
|
569
565
|
value: s,
|
|
@@ -573,24 +569,24 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
573
569
|
})),
|
|
574
570
|
placeholder: e.searchPlaceholder || "Search..."
|
|
575
571
|
})]
|
|
576
|
-
}), /* @__PURE__ */
|
|
572
|
+
}), /* @__PURE__ */ B("div", {
|
|
577
573
|
className: "fcc-sidebar-accordion-body",
|
|
578
|
-
children: [c.length === 0 && /* @__PURE__ */
|
|
574
|
+
children: [c.length === 0 && /* @__PURE__ */ z("div", {
|
|
579
575
|
className: "fcc-sidebar-empty",
|
|
580
576
|
children: "No matching components"
|
|
581
|
-
}), c.map((e) => /* @__PURE__ */
|
|
577
|
+
}), c.map((e) => /* @__PURE__ */ B("div", {
|
|
582
578
|
className: "fcc-sidebar-section",
|
|
583
|
-
children: [/* @__PURE__ */
|
|
579
|
+
children: [/* @__PURE__ */ z("div", {
|
|
584
580
|
className: "fcc-sidebar-section-title",
|
|
585
581
|
children: e.title
|
|
586
|
-
}), /* @__PURE__ */
|
|
582
|
+
}), /* @__PURE__ */ z("div", {
|
|
587
583
|
className: "fcc-sidebar-child-list",
|
|
588
|
-
children: e.items.map((e) => /* @__PURE__ */
|
|
584
|
+
children: e.items.map((e) => /* @__PURE__ */ z("button", {
|
|
589
585
|
type: "button",
|
|
590
586
|
className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
|
|
591
|
-
onClick: () =>
|
|
587
|
+
onClick: () => De(e, i),
|
|
592
588
|
title: e.label,
|
|
593
|
-
children: /* @__PURE__ */
|
|
589
|
+
children: /* @__PURE__ */ z("span", {
|
|
594
590
|
className: "fcc-sidebar-label",
|
|
595
591
|
children: e.label
|
|
596
592
|
})
|
|
@@ -602,34 +598,34 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
602
598
|
}, e.key || e.label);
|
|
603
599
|
})
|
|
604
600
|
}),
|
|
605
|
-
o ? /* @__PURE__ */
|
|
601
|
+
o ? /* @__PURE__ */ z("div", {
|
|
606
602
|
className: "fcc-sidebar-footer",
|
|
607
603
|
children: o
|
|
608
|
-
}) : (a || s) && /* @__PURE__ */
|
|
604
|
+
}) : (a || s) && /* @__PURE__ */ B("div", {
|
|
609
605
|
className: "fcc-sidebar-footer",
|
|
610
|
-
children: [a && /* @__PURE__ */
|
|
606
|
+
children: [a && /* @__PURE__ */ B("div", {
|
|
611
607
|
className: "fcc-sidebar-profile",
|
|
612
|
-
children: [/* @__PURE__ */
|
|
608
|
+
children: [/* @__PURE__ */ z("div", {
|
|
613
609
|
className: "fcc-sidebar-avatar",
|
|
614
610
|
style: a.avatarStyle,
|
|
615
611
|
children: a.avatar || a.initials || a.name?.slice(0, 2) || "FCC"
|
|
616
|
-
}), /* @__PURE__ */
|
|
612
|
+
}), /* @__PURE__ */ B("div", {
|
|
617
613
|
className: "fcc-sidebar-profile-copy",
|
|
618
|
-
children: [/* @__PURE__ */
|
|
614
|
+
children: [/* @__PURE__ */ z("span", {
|
|
619
615
|
className: "fcc-sidebar-label fcc-sidebar-profile-name",
|
|
620
616
|
children: a.name
|
|
621
|
-
}), a.meta && /* @__PURE__ */
|
|
617
|
+
}), a.meta && /* @__PURE__ */ z("span", {
|
|
622
618
|
className: "fcc-sidebar-label fcc-sidebar-profile-meta",
|
|
623
619
|
children: a.meta
|
|
624
620
|
})]
|
|
625
621
|
})]
|
|
626
|
-
}), s && /* @__PURE__ */
|
|
622
|
+
}), s && /* @__PURE__ */ z("button", {
|
|
627
623
|
type: "button",
|
|
628
624
|
className: "fcc-sidebar-logout",
|
|
629
625
|
title: "Logout",
|
|
630
626
|
"aria-label": "Logout",
|
|
631
627
|
onClick: s,
|
|
632
|
-
children: /* @__PURE__ */
|
|
628
|
+
children: /* @__PURE__ */ z(k, { size: 16 })
|
|
633
629
|
})]
|
|
634
630
|
})
|
|
635
631
|
]
|
|
@@ -637,10 +633,10 @@ function We({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
637
633
|
}
|
|
638
634
|
//#endregion
|
|
639
635
|
//#region src/components/layout/FCCAppShell.jsx
|
|
640
|
-
function
|
|
641
|
-
return /* @__PURE__ */
|
|
636
|
+
function je({ 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 = "" }) {
|
|
637
|
+
return /* @__PURE__ */ B("div", {
|
|
642
638
|
className: ["fcc-app-shell", h].filter(Boolean).join(" "),
|
|
643
|
-
children: [/* @__PURE__ */
|
|
639
|
+
children: [/* @__PURE__ */ z(Ae, {
|
|
644
640
|
appName: e,
|
|
645
641
|
logo: t,
|
|
646
642
|
navItems: n,
|
|
@@ -650,7 +646,7 @@ function Ge({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
650
646
|
footer: o,
|
|
651
647
|
onLogout: s,
|
|
652
648
|
className: g
|
|
653
|
-
}), /* @__PURE__ */
|
|
649
|
+
}), /* @__PURE__ */ z(Ee, {
|
|
654
650
|
breadcrumbs: c,
|
|
655
651
|
status: l,
|
|
656
652
|
headerActions: u,
|
|
@@ -666,9 +662,9 @@ function Ge({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
666
662
|
}
|
|
667
663
|
//#endregion
|
|
668
664
|
//#region src/components/layout/FCCBrandLogo.jsx
|
|
669
|
-
function
|
|
665
|
+
function Me({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
|
|
670
666
|
let { theme: a } = W(), o = a === "dark" ? e || t : t || e;
|
|
671
|
-
return o ? /* @__PURE__ */
|
|
667
|
+
return o ? /* @__PURE__ */ z("img", {
|
|
672
668
|
src: o,
|
|
673
669
|
alt: n,
|
|
674
670
|
className: ["fcc-brand-logo", r].filter(Boolean).join(" "),
|
|
@@ -677,9 +673,9 @@ function Ke({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
|
|
|
677
673
|
}
|
|
678
674
|
//#endregion
|
|
679
675
|
//#region src/components/layout/FCCThemeToggle.jsx
|
|
680
|
-
function
|
|
676
|
+
function Ne({ className: e = "" }) {
|
|
681
677
|
let { theme: t, toggleTheme: n } = W(), r = t === "dark";
|
|
682
|
-
return /* @__PURE__ */
|
|
678
|
+
return /* @__PURE__ */ z("button", {
|
|
683
679
|
type: "button",
|
|
684
680
|
onClick: n,
|
|
685
681
|
className: [
|
|
@@ -691,76 +687,76 @@ function qe({ className: e = "" }) {
|
|
|
691
687
|
].filter(Boolean).join(" "),
|
|
692
688
|
title: r ? "Switch to light mode" : "Switch to dark mode",
|
|
693
689
|
"aria-label": r ? "Switch to light mode" : "Switch to dark mode",
|
|
694
|
-
children:
|
|
690
|
+
children: z(r ? M : P, { size: 16 })
|
|
695
691
|
});
|
|
696
692
|
}
|
|
697
693
|
//#endregion
|
|
698
694
|
//#region src/components/ui/AppLoader.jsx
|
|
699
|
-
function
|
|
700
|
-
return t ? /* @__PURE__ */
|
|
695
|
+
function Pe({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
|
|
696
|
+
return t ? /* @__PURE__ */ B("div", {
|
|
701
697
|
className: `loader-fullscreen ${n}`,
|
|
702
|
-
children: [/* @__PURE__ */
|
|
698
|
+
children: [/* @__PURE__ */ z(O, {
|
|
703
699
|
size: 32,
|
|
704
700
|
className: "loader-spin"
|
|
705
|
-
}), e && /* @__PURE__ */
|
|
701
|
+
}), e && /* @__PURE__ */ z("span", {
|
|
706
702
|
className: "loader-label",
|
|
707
703
|
children: e
|
|
708
704
|
})]
|
|
709
|
-
}) : /* @__PURE__ */
|
|
705
|
+
}) : /* @__PURE__ */ B("div", {
|
|
710
706
|
className: `loader ${n}`,
|
|
711
|
-
children: [/* @__PURE__ */
|
|
707
|
+
children: [/* @__PURE__ */ z(O, {
|
|
712
708
|
size: 20,
|
|
713
709
|
className: "loader-spin"
|
|
714
|
-
}), e && /* @__PURE__ */
|
|
710
|
+
}), e && /* @__PURE__ */ z("span", {
|
|
715
711
|
className: "loader-label",
|
|
716
712
|
children: e
|
|
717
713
|
})]
|
|
718
714
|
});
|
|
719
715
|
}
|
|
720
|
-
function
|
|
721
|
-
return /* @__PURE__ */
|
|
716
|
+
function Fe({ size: e = 16, className: t = "" }) {
|
|
717
|
+
return /* @__PURE__ */ z(O, {
|
|
722
718
|
size: e,
|
|
723
719
|
className: `loader-spin ${t}`
|
|
724
720
|
});
|
|
725
721
|
}
|
|
726
|
-
function
|
|
727
|
-
let s = /* @__PURE__ */
|
|
722
|
+
function Ie({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
|
|
723
|
+
let s = /* @__PURE__ */ B("div", {
|
|
728
724
|
className: "fcc-loader-stage",
|
|
729
725
|
style: { "--fcc-loader-size": `${n}px` },
|
|
730
726
|
"aria-hidden": "true",
|
|
731
727
|
children: [
|
|
732
|
-
/* @__PURE__ */
|
|
733
|
-
/* @__PURE__ */
|
|
734
|
-
/* @__PURE__ */
|
|
728
|
+
/* @__PURE__ */ z("span", { className: "fcc-loader-ring" }),
|
|
729
|
+
/* @__PURE__ */ z("span", { className: "fcc-loader-glow" }),
|
|
730
|
+
/* @__PURE__ */ z(Me, {
|
|
735
731
|
darkSrc: r,
|
|
736
732
|
lightSrc: i,
|
|
737
733
|
alt: a,
|
|
738
734
|
className: "fcc-loader-logo"
|
|
739
735
|
})
|
|
740
736
|
]
|
|
741
|
-
}), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */
|
|
737
|
+
}), c = t ? `fcc-loader fcc-loader-fullscreen ${o}`.trim() : `fcc-loader ${o}`.trim(), l = typeof e == "string" ? e.match(/^(.*?)\.{3}\s*$/) : null, u = l ? /* @__PURE__ */ B(R, { children: [l[1], /* @__PURE__ */ B("span", {
|
|
742
738
|
className: "fcc-loader-dots",
|
|
743
739
|
"aria-hidden": "true",
|
|
744
740
|
children: [
|
|
745
|
-
/* @__PURE__ */
|
|
741
|
+
/* @__PURE__ */ z("span", {
|
|
746
742
|
className: "fcc-loader-dot",
|
|
747
743
|
children: "."
|
|
748
744
|
}),
|
|
749
|
-
/* @__PURE__ */
|
|
745
|
+
/* @__PURE__ */ z("span", {
|
|
750
746
|
className: "fcc-loader-dot",
|
|
751
747
|
children: "."
|
|
752
748
|
}),
|
|
753
|
-
/* @__PURE__ */
|
|
749
|
+
/* @__PURE__ */ z("span", {
|
|
754
750
|
className: "fcc-loader-dot",
|
|
755
751
|
children: "."
|
|
756
752
|
})
|
|
757
753
|
]
|
|
758
754
|
})] }) : e;
|
|
759
|
-
return /* @__PURE__ */
|
|
755
|
+
return /* @__PURE__ */ B("div", {
|
|
760
756
|
className: c,
|
|
761
757
|
role: "status",
|
|
762
758
|
"aria-live": "polite",
|
|
763
|
-
children: [s, e && /* @__PURE__ */
|
|
759
|
+
children: [s, e && /* @__PURE__ */ z("span", {
|
|
764
760
|
className: "fcc-loader-label",
|
|
765
761
|
children: u
|
|
766
762
|
})]
|
|
@@ -768,7 +764,7 @@ function Xe({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
|
|
|
768
764
|
}
|
|
769
765
|
//#endregion
|
|
770
766
|
//#region src/components/ui/FCCDetailsPanel.jsx
|
|
771
|
-
function
|
|
767
|
+
function Le({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: d = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
|
|
772
768
|
let [x, S] = u(!1), [C, w] = u(!1), [T, E] = u(!1), [D, O] = u(() => {
|
|
773
769
|
if (!y || typeof window > "u") return null;
|
|
774
770
|
let e = window.localStorage.getItem(y), t = e ? parseInt(e, 10) : NaN;
|
|
@@ -811,44 +807,44 @@ function Ze({ open: e, onClose: t, title: n, header: r, children: a, loading: s
|
|
|
811
807
|
y
|
|
812
808
|
]), !x || typeof document > "u" || !j) return null;
|
|
813
809
|
let P = D == null ? m : `${D}px`;
|
|
814
|
-
return
|
|
810
|
+
return V(/* @__PURE__ */ B("div", {
|
|
815
811
|
className: `fcc-details-panel-root ${C ? "fcc-details-panel-root--visible" : ""}`,
|
|
816
812
|
style: { zIndex: h },
|
|
817
|
-
children: [g && /* @__PURE__ */
|
|
813
|
+
children: [g && /* @__PURE__ */ z("div", {
|
|
818
814
|
className: "fcc-details-panel-backdrop",
|
|
819
815
|
onClick: N,
|
|
820
816
|
"aria-hidden": "true"
|
|
821
|
-
}), /* @__PURE__ */
|
|
817
|
+
}), /* @__PURE__ */ B("div", {
|
|
822
818
|
ref: k,
|
|
823
819
|
className: `fcc-details-panel ${b}`,
|
|
824
820
|
style: P ? { width: P } : void 0,
|
|
825
821
|
role: "dialog",
|
|
826
822
|
"aria-modal": "true",
|
|
827
823
|
children: [
|
|
828
|
-
_ && /* @__PURE__ */
|
|
824
|
+
_ && /* @__PURE__ */ z("div", {
|
|
829
825
|
className: "fcc-details-panel-resize",
|
|
830
826
|
onMouseDown: (e) => {
|
|
831
827
|
e.preventDefault(), E(!0);
|
|
832
828
|
},
|
|
833
829
|
title: "Drag to resize"
|
|
834
830
|
}),
|
|
835
|
-
r || /* @__PURE__ */
|
|
831
|
+
r || /* @__PURE__ */ B("div", {
|
|
836
832
|
className: "fcc-details-panel-header",
|
|
837
|
-
children: [/* @__PURE__ */
|
|
833
|
+
children: [/* @__PURE__ */ z("span", {
|
|
838
834
|
className: "fcc-details-panel-title",
|
|
839
835
|
children: n
|
|
840
|
-
}), /* @__PURE__ */
|
|
836
|
+
}), /* @__PURE__ */ z("button", {
|
|
841
837
|
className: "fcc-details-panel-close",
|
|
842
838
|
onClick: N,
|
|
843
839
|
"aria-label": "Close",
|
|
844
|
-
children: /* @__PURE__ */
|
|
840
|
+
children: /* @__PURE__ */ z(L, { size: 14 })
|
|
845
841
|
})]
|
|
846
842
|
}),
|
|
847
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ z("div", {
|
|
848
844
|
className: "fcc-details-panel-body",
|
|
849
|
-
children: s ? /* @__PURE__ */
|
|
845
|
+
children: s ? /* @__PURE__ */ z("div", {
|
|
850
846
|
className: "fcc-details-panel-loading",
|
|
851
|
-
children: /* @__PURE__ */
|
|
847
|
+
children: /* @__PURE__ */ z(Ie, {
|
|
852
848
|
label: c,
|
|
853
849
|
size: d,
|
|
854
850
|
darkSrc: f,
|
|
@@ -862,27 +858,27 @@ function Ze({ open: e, onClose: t, title: n, header: r, children: a, loading: s
|
|
|
862
858
|
}
|
|
863
859
|
//#endregion
|
|
864
860
|
//#region src/components/ui/Accordion.jsx
|
|
865
|
-
function
|
|
861
|
+
function Re({ title: e, header: t, defaultOpen: n = !1, className: r = "", children: i }) {
|
|
866
862
|
let [a, o] = u(n);
|
|
867
|
-
return /* @__PURE__ */
|
|
863
|
+
return /* @__PURE__ */ B("div", {
|
|
868
864
|
className: `accordion-item ${r}`,
|
|
869
|
-
children: [/* @__PURE__ */
|
|
865
|
+
children: [/* @__PURE__ */ B("div", {
|
|
870
866
|
className: `accordion-trigger ${a ? "expanded" : ""}`,
|
|
871
867
|
onClick: () => o(!a),
|
|
872
868
|
role: "button",
|
|
873
869
|
"aria-expanded": a,
|
|
874
|
-
children: [t || /* @__PURE__ */
|
|
870
|
+
children: [t || /* @__PURE__ */ z("span", {
|
|
875
871
|
className: "accordion-trigger-title",
|
|
876
872
|
children: e
|
|
877
|
-
}), /* @__PURE__ */
|
|
873
|
+
}), /* @__PURE__ */ z("span", {
|
|
878
874
|
className: "accordion-trigger-chevron",
|
|
879
|
-
children:
|
|
875
|
+
children: z(a ? v : y, { size: 14 })
|
|
880
876
|
})]
|
|
881
|
-
}), /* @__PURE__ */
|
|
877
|
+
}), /* @__PURE__ */ z("div", {
|
|
882
878
|
className: `accordion-collapse ${a ? "open" : ""}`,
|
|
883
|
-
children: /* @__PURE__ */
|
|
879
|
+
children: /* @__PURE__ */ z("div", {
|
|
884
880
|
className: "accordion-collapse-inner",
|
|
885
|
-
children: /* @__PURE__ */
|
|
881
|
+
children: /* @__PURE__ */ z("div", {
|
|
886
882
|
className: "accordion-content",
|
|
887
883
|
children: i
|
|
888
884
|
})
|
|
@@ -890,7 +886,7 @@ function Qe({ title: e, header: t, defaultOpen: n = !1, className: r = "", child
|
|
|
890
886
|
})]
|
|
891
887
|
});
|
|
892
888
|
}
|
|
893
|
-
function
|
|
889
|
+
function ze({ items: e = [], className: t = "" }) {
|
|
894
890
|
let [n, r] = u(/* @__PURE__ */ new Set());
|
|
895
891
|
function i(e) {
|
|
896
892
|
r((t) => {
|
|
@@ -898,29 +894,29 @@ function $e({ items: e = [], className: t = "" }) {
|
|
|
898
894
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
899
895
|
});
|
|
900
896
|
}
|
|
901
|
-
return /* @__PURE__ */
|
|
897
|
+
return /* @__PURE__ */ z("div", {
|
|
902
898
|
className: `accordion ${t}`,
|
|
903
899
|
children: e.map((e) => {
|
|
904
900
|
let t = n.has(e.id);
|
|
905
|
-
return /* @__PURE__ */
|
|
901
|
+
return /* @__PURE__ */ B("div", {
|
|
906
902
|
className: "accordion-item",
|
|
907
|
-
children: [/* @__PURE__ */
|
|
903
|
+
children: [/* @__PURE__ */ B("div", {
|
|
908
904
|
className: `accordion-trigger ${t ? "expanded" : ""}`,
|
|
909
905
|
onClick: () => i(e.id),
|
|
910
906
|
role: "button",
|
|
911
907
|
"aria-expanded": t,
|
|
912
|
-
children: [e.header || /* @__PURE__ */
|
|
908
|
+
children: [e.header || /* @__PURE__ */ z("span", {
|
|
913
909
|
className: "accordion-trigger-title",
|
|
914
910
|
children: e.title
|
|
915
|
-
}), /* @__PURE__ */
|
|
911
|
+
}), /* @__PURE__ */ z("span", {
|
|
916
912
|
className: "accordion-trigger-chevron",
|
|
917
|
-
children:
|
|
913
|
+
children: z(t ? v : y, { size: 14 })
|
|
918
914
|
})]
|
|
919
|
-
}), /* @__PURE__ */
|
|
915
|
+
}), /* @__PURE__ */ z("div", {
|
|
920
916
|
className: `accordion-collapse ${t ? "open" : ""}`,
|
|
921
|
-
children: /* @__PURE__ */
|
|
917
|
+
children: /* @__PURE__ */ z("div", {
|
|
922
918
|
className: "accordion-collapse-inner",
|
|
923
|
-
children: /* @__PURE__ */
|
|
919
|
+
children: /* @__PURE__ */ z("div", {
|
|
924
920
|
className: "accordion-content",
|
|
925
921
|
children: e.content
|
|
926
922
|
})
|
|
@@ -932,12 +928,12 @@ function $e({ items: e = [], className: t = "" }) {
|
|
|
932
928
|
}
|
|
933
929
|
//#endregion
|
|
934
930
|
//#region src/components/ui/Avatar.jsx
|
|
935
|
-
var
|
|
931
|
+
var Be = {
|
|
936
932
|
sm: "avatar-sm",
|
|
937
933
|
md: "",
|
|
938
934
|
lg: "avatar-lg",
|
|
939
935
|
xl: "avatar-xl"
|
|
940
|
-
},
|
|
936
|
+
}, Ve = [
|
|
941
937
|
"#5e6ad2",
|
|
942
938
|
"#5bb98e",
|
|
943
939
|
"#c9a84e",
|
|
@@ -946,14 +942,14 @@ var et = {
|
|
|
946
942
|
"#5a8ebf",
|
|
947
943
|
"#c4a06a"
|
|
948
944
|
];
|
|
949
|
-
function
|
|
945
|
+
function He(e) {
|
|
950
946
|
let t = 0;
|
|
951
947
|
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
952
|
-
return
|
|
948
|
+
return Ve[Math.abs(t) % Ve.length];
|
|
953
949
|
}
|
|
954
|
-
function
|
|
955
|
-
let [o, s] = u(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background ||
|
|
956
|
-
return e && !o ? /* @__PURE__ */
|
|
950
|
+
function J({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
|
|
951
|
+
let [o, s] = u(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || He(c), d = Be[r] || "";
|
|
952
|
+
return e && !o ? /* @__PURE__ */ z("img", {
|
|
957
953
|
src: e,
|
|
958
954
|
alt: n || "",
|
|
959
955
|
className: `avatar ${d} ${i}`,
|
|
@@ -962,7 +958,7 @@ function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
962
958
|
...a
|
|
963
959
|
},
|
|
964
960
|
onError: () => s(!0)
|
|
965
|
-
}) : /* @__PURE__ */
|
|
961
|
+
}) : /* @__PURE__ */ z("div", {
|
|
966
962
|
className: `avatar ${d} ${i}`,
|
|
967
963
|
style: {
|
|
968
964
|
background: l,
|
|
@@ -973,7 +969,7 @@ function K({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
973
969
|
}
|
|
974
970
|
//#endregion
|
|
975
971
|
//#region src/components/ui/Badge.jsx
|
|
976
|
-
var
|
|
972
|
+
var Y = {
|
|
977
973
|
default: "var(--text-quaternary)",
|
|
978
974
|
secondary: "var(--text-quaternary)",
|
|
979
975
|
success: "var(--accent-green)",
|
|
@@ -984,12 +980,12 @@ var rt = {
|
|
|
984
980
|
purple: "var(--accent-purple)",
|
|
985
981
|
orange: "var(--accent-orange)"
|
|
986
982
|
};
|
|
987
|
-
function
|
|
988
|
-
let a =
|
|
989
|
-
return /* @__PURE__ */
|
|
983
|
+
function X({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
|
|
984
|
+
let a = Y[e] || Y.default;
|
|
985
|
+
return /* @__PURE__ */ B("span", {
|
|
990
986
|
className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
|
|
991
987
|
...i,
|
|
992
|
-
children: [r && /* @__PURE__ */
|
|
988
|
+
children: [r && /* @__PURE__ */ z("span", {
|
|
993
989
|
className: "badge-dot",
|
|
994
990
|
style: { background: a }
|
|
995
991
|
}), n]
|
|
@@ -997,7 +993,7 @@ function q({ variant: e = "default", className: t = "", children: n, showDot: r
|
|
|
997
993
|
}
|
|
998
994
|
//#endregion
|
|
999
995
|
//#region src/components/ui/Button.jsx
|
|
1000
|
-
var
|
|
996
|
+
var Ue = {
|
|
1001
997
|
default: "btn-primary",
|
|
1002
998
|
destructive: "btn-danger",
|
|
1003
999
|
success: "btn-success",
|
|
@@ -1006,76 +1002,76 @@ var it = {
|
|
|
1006
1002
|
secondary: "btn-secondary",
|
|
1007
1003
|
ghost: "btn-ghost",
|
|
1008
1004
|
link: "btn-link"
|
|
1009
|
-
},
|
|
1005
|
+
}, We = {
|
|
1010
1006
|
sm: "btn-sm",
|
|
1011
1007
|
default: "",
|
|
1012
1008
|
lg: "btn-lg",
|
|
1013
1009
|
icon: "btn-icon"
|
|
1014
|
-
},
|
|
1015
|
-
return /* @__PURE__ */
|
|
1010
|
+
}, Ge = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
|
|
1011
|
+
return /* @__PURE__ */ z("button", {
|
|
1016
1012
|
ref: a,
|
|
1017
1013
|
className: [
|
|
1018
1014
|
"btn",
|
|
1019
|
-
|
|
1020
|
-
|
|
1015
|
+
Ue[e],
|
|
1016
|
+
We[t],
|
|
1021
1017
|
n
|
|
1022
1018
|
].filter(Boolean).join(" "),
|
|
1023
1019
|
...i,
|
|
1024
1020
|
children: r
|
|
1025
1021
|
});
|
|
1026
|
-
}),
|
|
1022
|
+
}), Ke = {
|
|
1027
1023
|
default: "card-default",
|
|
1028
1024
|
green: "card-green",
|
|
1029
1025
|
red: "card-red",
|
|
1030
1026
|
yellow: "card-yellow"
|
|
1031
|
-
},
|
|
1032
|
-
return /* @__PURE__ */
|
|
1027
|
+
}, qe = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
|
|
1028
|
+
return /* @__PURE__ */ z("div", {
|
|
1033
1029
|
ref: i,
|
|
1034
1030
|
className: [
|
|
1035
1031
|
"card",
|
|
1036
|
-
|
|
1032
|
+
Ke[e],
|
|
1037
1033
|
t
|
|
1038
1034
|
].filter(Boolean).join(" "),
|
|
1039
1035
|
...r,
|
|
1040
1036
|
children: n
|
|
1041
1037
|
});
|
|
1042
|
-
}),
|
|
1043
|
-
return /* @__PURE__ */
|
|
1038
|
+
}), Je = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1039
|
+
return /* @__PURE__ */ z("div", {
|
|
1044
1040
|
ref: r,
|
|
1045
1041
|
className: `card-header ${e}`,
|
|
1046
1042
|
...n,
|
|
1047
1043
|
children: t
|
|
1048
1044
|
});
|
|
1049
|
-
}),
|
|
1050
|
-
return /* @__PURE__ */
|
|
1045
|
+
}), Ye = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1046
|
+
return /* @__PURE__ */ z("h3", {
|
|
1051
1047
|
ref: r,
|
|
1052
1048
|
className: `card-title ${e}`,
|
|
1053
1049
|
...n,
|
|
1054
1050
|
children: t
|
|
1055
1051
|
});
|
|
1056
|
-
}),
|
|
1057
|
-
return /* @__PURE__ */
|
|
1052
|
+
}), Xe = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1053
|
+
return /* @__PURE__ */ z("p", {
|
|
1058
1054
|
ref: r,
|
|
1059
1055
|
className: `card-description ${e}`,
|
|
1060
1056
|
...n,
|
|
1061
1057
|
children: t
|
|
1062
1058
|
});
|
|
1063
|
-
}),
|
|
1064
|
-
return /* @__PURE__ */
|
|
1059
|
+
}), Ze = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1060
|
+
return /* @__PURE__ */ z("div", {
|
|
1065
1061
|
ref: r,
|
|
1066
1062
|
className: `card-body ${e}`,
|
|
1067
1063
|
...n,
|
|
1068
1064
|
children: t
|
|
1069
1065
|
});
|
|
1070
|
-
}),
|
|
1071
|
-
return /* @__PURE__ */
|
|
1066
|
+
}), Qe = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1067
|
+
return /* @__PURE__ */ z("div", {
|
|
1072
1068
|
ref: r,
|
|
1073
1069
|
className: `card-footer ${e}`,
|
|
1074
1070
|
...n,
|
|
1075
1071
|
children: t
|
|
1076
1072
|
});
|
|
1077
|
-
}),
|
|
1078
|
-
function
|
|
1073
|
+
}), $e = 220;
|
|
1074
|
+
function et({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
|
|
1079
1075
|
let s = l(null), [c, d] = u(e ? "open" : "closed"), f = e || c !== "closed";
|
|
1080
1076
|
return o(() => {
|
|
1081
1077
|
if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
@@ -1092,83 +1088,83 @@ function ht({ open: e, onClose: t, children: n, className: r = "", overlayClassN
|
|
|
1092
1088
|
return () => cancelAnimationFrame(e);
|
|
1093
1089
|
}
|
|
1094
1090
|
if (c === "closed") return;
|
|
1095
|
-
let t = requestAnimationFrame(() => d("closing")), n = window.setTimeout(() => d("closed"),
|
|
1091
|
+
let t = requestAnimationFrame(() => d("closing")), n = window.setTimeout(() => d("closed"), $e);
|
|
1096
1092
|
return () => {
|
|
1097
1093
|
cancelAnimationFrame(t), window.clearTimeout(n);
|
|
1098
1094
|
};
|
|
1099
|
-
}, [e, c]), f ? /* @__PURE__ */
|
|
1095
|
+
}, [e, c]), f ? /* @__PURE__ */ z("div", {
|
|
1100
1096
|
className: `dialog-overlay${a ? " dialog-overlay-contained" : ""}${i ? ` ${i}` : ""}`,
|
|
1101
1097
|
"data-state": c,
|
|
1102
1098
|
ref: s,
|
|
1103
1099
|
onClick: (e) => {
|
|
1104
1100
|
e.target === s.current && t?.();
|
|
1105
1101
|
},
|
|
1106
|
-
children: /* @__PURE__ */
|
|
1102
|
+
children: /* @__PURE__ */ z("div", {
|
|
1107
1103
|
className: `dialog ${r}`,
|
|
1108
1104
|
children: n
|
|
1109
1105
|
})
|
|
1110
1106
|
}) : null;
|
|
1111
1107
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return /* @__PURE__ */
|
|
1108
|
+
function tt({ children: e, onClose: t, className: n = "" }) {
|
|
1109
|
+
return /* @__PURE__ */ B("div", {
|
|
1114
1110
|
className: `dialog-header ${n}`,
|
|
1115
|
-
children: [/* @__PURE__ */
|
|
1111
|
+
children: [/* @__PURE__ */ z("div", {
|
|
1116
1112
|
style: { flex: 1 },
|
|
1117
1113
|
children: e
|
|
1118
|
-
}), t && /* @__PURE__ */
|
|
1114
|
+
}), t && /* @__PURE__ */ z("button", {
|
|
1119
1115
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
1120
1116
|
onClick: t,
|
|
1121
|
-
children: /* @__PURE__ */
|
|
1117
|
+
children: /* @__PURE__ */ z(L, { size: 16 })
|
|
1122
1118
|
})]
|
|
1123
1119
|
});
|
|
1124
1120
|
}
|
|
1125
|
-
function
|
|
1126
|
-
return /* @__PURE__ */
|
|
1121
|
+
function nt({ children: e, className: t = "" }) {
|
|
1122
|
+
return /* @__PURE__ */ z("h3", {
|
|
1127
1123
|
className: `dialog-title ${t}`,
|
|
1128
1124
|
children: e
|
|
1129
1125
|
});
|
|
1130
1126
|
}
|
|
1131
|
-
function
|
|
1132
|
-
return /* @__PURE__ */
|
|
1127
|
+
function rt({ children: e, className: t = "" }) {
|
|
1128
|
+
return /* @__PURE__ */ z("p", {
|
|
1133
1129
|
className: `dialog-description ${t}`,
|
|
1134
1130
|
children: e
|
|
1135
1131
|
});
|
|
1136
1132
|
}
|
|
1137
|
-
function
|
|
1138
|
-
return /* @__PURE__ */
|
|
1133
|
+
function it({ children: e, className: t = "" }) {
|
|
1134
|
+
return /* @__PURE__ */ z("div", {
|
|
1139
1135
|
className: `dialog-body ${t}`,
|
|
1140
1136
|
children: e
|
|
1141
1137
|
});
|
|
1142
1138
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return /* @__PURE__ */
|
|
1139
|
+
function at({ children: e, className: t = "" }) {
|
|
1140
|
+
return /* @__PURE__ */ z("div", {
|
|
1145
1141
|
className: `dialog-footer ${t}`,
|
|
1146
1142
|
children: e
|
|
1147
1143
|
});
|
|
1148
1144
|
}
|
|
1149
1145
|
//#endregion
|
|
1150
1146
|
//#region src/components/ui/Input.jsx
|
|
1151
|
-
var
|
|
1147
|
+
var ot = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: d, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
|
|
1152
1148
|
let C = l(null), w = s(), T = e || w, E = i && i !== !0 ? i : r, D = E ? `${T}-helper` : void 0, O = !!(i || y), k = !!(t && n === "floating"), A = [v, D].filter(Boolean).join(" ") || void 0, j = k ? " " : d, M = f !== void 0, [N, P] = u(() => String(p ?? "")), F = a && !g && (M ? String(f ?? "") : N).length > 0;
|
|
1153
1149
|
function I(e) {
|
|
1154
1150
|
C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
|
|
1155
1151
|
}
|
|
1156
|
-
function
|
|
1152
|
+
function R(e) {
|
|
1157
1153
|
M || P(e.target.value), b?.(e);
|
|
1158
1154
|
}
|
|
1159
|
-
function
|
|
1155
|
+
function V() {
|
|
1160
1156
|
let e = C.current;
|
|
1161
1157
|
e && ((Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set)?.call(e, ""), e.dispatchEvent(new Event("input", { bubbles: !0 })), e.focus());
|
|
1162
1158
|
}
|
|
1163
|
-
return /* @__PURE__ */
|
|
1159
|
+
return /* @__PURE__ */ B("div", {
|
|
1164
1160
|
className: ["fcc-input-field", m].filter(Boolean).join(" "),
|
|
1165
1161
|
children: [
|
|
1166
|
-
t && !k ? /* @__PURE__ */
|
|
1162
|
+
t && !k ? /* @__PURE__ */ z("label", {
|
|
1167
1163
|
className: "fcc-input-label",
|
|
1168
1164
|
htmlFor: T,
|
|
1169
1165
|
children: t
|
|
1170
1166
|
}) : null,
|
|
1171
|
-
/* @__PURE__ */
|
|
1167
|
+
/* @__PURE__ */ B("div", {
|
|
1172
1168
|
className: [
|
|
1173
1169
|
"fcc-input-control",
|
|
1174
1170
|
k ? "has-floating-label" : "",
|
|
@@ -1176,14 +1172,14 @@ var xt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1176
1172
|
g ? "is-disabled" : ""
|
|
1177
1173
|
].filter(Boolean).join(" "),
|
|
1178
1174
|
children: [
|
|
1179
|
-
o ? /* @__PURE__ */
|
|
1175
|
+
o ? /* @__PURE__ */ z("span", {
|
|
1180
1176
|
className: "fcc-input-icon",
|
|
1181
1177
|
"aria-hidden": "true",
|
|
1182
1178
|
children: o
|
|
1183
1179
|
}) : null,
|
|
1184
|
-
k ? /* @__PURE__ */
|
|
1180
|
+
k ? /* @__PURE__ */ B("div", {
|
|
1185
1181
|
className: "fcc-input-floating-slot",
|
|
1186
|
-
children: [/* @__PURE__ */
|
|
1182
|
+
children: [/* @__PURE__ */ z("input", {
|
|
1187
1183
|
...x,
|
|
1188
1184
|
ref: I,
|
|
1189
1185
|
id: T,
|
|
@@ -1194,18 +1190,18 @@ var xt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1194
1190
|
disabled: g,
|
|
1195
1191
|
"aria-invalid": O || void 0,
|
|
1196
1192
|
"aria-describedby": A,
|
|
1197
|
-
onChange:
|
|
1193
|
+
onChange: R,
|
|
1198
1194
|
className: [
|
|
1199
1195
|
"fcc-input-element",
|
|
1200
1196
|
"has-floating-label",
|
|
1201
1197
|
h
|
|
1202
1198
|
].filter(Boolean).join(" ")
|
|
1203
|
-
}), /* @__PURE__ */
|
|
1199
|
+
}), /* @__PURE__ */ z("label", {
|
|
1204
1200
|
className: "fcc-input-floating-label",
|
|
1205
1201
|
htmlFor: T,
|
|
1206
1202
|
children: t
|
|
1207
1203
|
})]
|
|
1208
|
-
}) : /* @__PURE__ */
|
|
1204
|
+
}) : /* @__PURE__ */ z("input", {
|
|
1209
1205
|
...x,
|
|
1210
1206
|
ref: I,
|
|
1211
1207
|
id: T,
|
|
@@ -1216,23 +1212,23 @@ var xt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1216
1212
|
disabled: g,
|
|
1217
1213
|
"aria-invalid": O || void 0,
|
|
1218
1214
|
"aria-describedby": A,
|
|
1219
|
-
onChange:
|
|
1215
|
+
onChange: R,
|
|
1220
1216
|
className: ["fcc-input-element", h].filter(Boolean).join(" ")
|
|
1221
1217
|
}),
|
|
1222
|
-
F ? /* @__PURE__ */
|
|
1218
|
+
F ? /* @__PURE__ */ z("button", {
|
|
1223
1219
|
type: "button",
|
|
1224
1220
|
className: "fcc-input-clear",
|
|
1225
|
-
onClick:
|
|
1221
|
+
onClick: V,
|
|
1226
1222
|
"aria-label": `Clear ${t || "input"}`,
|
|
1227
|
-
children: /* @__PURE__ */
|
|
1223
|
+
children: /* @__PURE__ */ z(L, { size: 12 })
|
|
1228
1224
|
}) : null,
|
|
1229
|
-
c ? /* @__PURE__ */
|
|
1225
|
+
c ? /* @__PURE__ */ z("span", {
|
|
1230
1226
|
className: "fcc-input-icon",
|
|
1231
1227
|
children: c
|
|
1232
1228
|
}) : null
|
|
1233
1229
|
]
|
|
1234
1230
|
}),
|
|
1235
|
-
E ? /* @__PURE__ */
|
|
1231
|
+
E ? /* @__PURE__ */ z("div", {
|
|
1236
1232
|
id: D,
|
|
1237
1233
|
className: ["fcc-input-helper", O ? "is-error" : ""].filter(Boolean).join(" "),
|
|
1238
1234
|
children: E
|
|
@@ -1241,173 +1237,8 @@ var xt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1241
1237
|
});
|
|
1242
1238
|
});
|
|
1243
1239
|
//#endregion
|
|
1244
|
-
//#region src/components/ui/RichTextEditor.jsx
|
|
1245
|
-
function J(e) {
|
|
1246
|
-
let t = String(e ?? "").trim();
|
|
1247
|
-
return !t || t === "<p></p>" || t === "<p><br></p>" ? "" : t;
|
|
1248
|
-
}
|
|
1249
|
-
function Y({ active: e, disabled: t, label: n, onClick: r, children: i }) {
|
|
1250
|
-
return /* @__PURE__ */ V("button", {
|
|
1251
|
-
type: "button",
|
|
1252
|
-
className: ["fcc-rich-text-toolbar-button", e ? "is-active" : ""].filter(Boolean).join(" "),
|
|
1253
|
-
"aria-label": n,
|
|
1254
|
-
title: n,
|
|
1255
|
-
onMouseDown: (e) => e.preventDefault(),
|
|
1256
|
-
onClick: r,
|
|
1257
|
-
disabled: t,
|
|
1258
|
-
children: i
|
|
1259
|
-
});
|
|
1260
|
-
}
|
|
1261
|
-
function St({ id: e, label: t, description: n, error: r, placeholder: i = "Write a note...", value: a, defaultValue: c = "", onChange: l, disabled: d = !1, minHeight: f = 160, showToolbar: p = !0, className: h = "", editorClassName: g = "", toolbarClassName: _ = "", "aria-describedby": v, "aria-invalid": y }) {
|
|
1262
|
-
let b = s(), x = e || b, S = r && r !== !0 ? r : n, C = S ? `${x}-helper` : void 0, w = [v, C].filter(Boolean).join(" ") || void 0, T = !!(r || y), E = a !== void 0, [O, j] = u(() => J(c)), M = E ? J(a) : O, N = oe({
|
|
1263
|
-
immediatelyRender: !1,
|
|
1264
|
-
editable: !d,
|
|
1265
|
-
extensions: [
|
|
1266
|
-
le.configure({
|
|
1267
|
-
heading: !1,
|
|
1268
|
-
codeBlock: !1,
|
|
1269
|
-
horizontalRule: !1
|
|
1270
|
-
}),
|
|
1271
|
-
ce,
|
|
1272
|
-
se.configure({ placeholder: i })
|
|
1273
|
-
],
|
|
1274
|
-
content: M || "<p></p>",
|
|
1275
|
-
editorProps: { attributes: { class: ["fcc-rich-text-content", g].filter(Boolean).join(" ") } },
|
|
1276
|
-
onUpdate: ({ editor: e }) => {
|
|
1277
|
-
let t = J(e.getHTML());
|
|
1278
|
-
E || j(t), l?.(t, {
|
|
1279
|
-
editor: e,
|
|
1280
|
-
text: e.getText(),
|
|
1281
|
-
isEmpty: e.isEmpty
|
|
1282
|
-
});
|
|
1283
|
-
}
|
|
1284
|
-
});
|
|
1285
|
-
o(() => {
|
|
1286
|
-
N && N.setEditable(!d);
|
|
1287
|
-
}, [d, N]), o(() => {
|
|
1288
|
-
N && N.setOptions({ editorProps: { attributes: {
|
|
1289
|
-
id: x,
|
|
1290
|
-
role: "textbox",
|
|
1291
|
-
"aria-multiline": "true",
|
|
1292
|
-
"aria-describedby": w,
|
|
1293
|
-
"aria-invalid": T ? "true" : "false",
|
|
1294
|
-
class: ["fcc-rich-text-content", g].filter(Boolean).join(" ")
|
|
1295
|
-
} } });
|
|
1296
|
-
}, [
|
|
1297
|
-
w,
|
|
1298
|
-
N,
|
|
1299
|
-
g,
|
|
1300
|
-
x,
|
|
1301
|
-
T
|
|
1302
|
-
]), o(() => {
|
|
1303
|
-
N && M !== J(N.getHTML()) && N.commands.setContent(M || "<p></p>", !1);
|
|
1304
|
-
}, [M, N]);
|
|
1305
|
-
let P = [
|
|
1306
|
-
{
|
|
1307
|
-
key: "bold",
|
|
1308
|
-
label: "Bold",
|
|
1309
|
-
active: N?.isActive("bold"),
|
|
1310
|
-
onClick: () => N?.chain().focus().toggleBold().run(),
|
|
1311
|
-
icon: /* @__PURE__ */ V(m, { size: 14 })
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
key: "italic",
|
|
1315
|
-
label: "Italic",
|
|
1316
|
-
active: N?.isActive("italic"),
|
|
1317
|
-
onClick: () => N?.chain().focus().toggleItalic().run(),
|
|
1318
|
-
icon: /* @__PURE__ */ V(D, { size: 14 })
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
key: "underline",
|
|
1322
|
-
label: "Underline",
|
|
1323
|
-
active: N?.isActive("underline"),
|
|
1324
|
-
onClick: () => N?.chain().focus().toggleUnderline().run(),
|
|
1325
|
-
icon: /* @__PURE__ */ V(ne, { size: 14 })
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
key: "bulletList",
|
|
1329
|
-
label: "Bullet list",
|
|
1330
|
-
active: N?.isActive("bulletList"),
|
|
1331
|
-
onClick: () => N?.chain().focus().toggleBulletList().run(),
|
|
1332
|
-
icon: /* @__PURE__ */ V(k, { size: 14 })
|
|
1333
|
-
},
|
|
1334
|
-
{
|
|
1335
|
-
key: "orderedList",
|
|
1336
|
-
label: "Numbered list",
|
|
1337
|
-
active: N?.isActive("orderedList"),
|
|
1338
|
-
onClick: () => N?.chain().focus().toggleOrderedList().run(),
|
|
1339
|
-
icon: /* @__PURE__ */ V(A, { size: 14 })
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
key: "blockquote",
|
|
1343
|
-
label: "Block quote",
|
|
1344
|
-
active: N?.isActive("blockquote"),
|
|
1345
|
-
onClick: () => N?.chain().focus().toggleBlockquote().run(),
|
|
1346
|
-
icon: /* @__PURE__ */ V(I, { size: 14 })
|
|
1347
|
-
}
|
|
1348
|
-
];
|
|
1349
|
-
return /* @__PURE__ */ H("div", {
|
|
1350
|
-
className: ["fcc-rich-text-field", h].filter(Boolean).join(" "),
|
|
1351
|
-
children: [
|
|
1352
|
-
t ? /* @__PURE__ */ V("label", {
|
|
1353
|
-
className: "fcc-rich-text-label",
|
|
1354
|
-
htmlFor: x,
|
|
1355
|
-
children: t
|
|
1356
|
-
}) : null,
|
|
1357
|
-
/* @__PURE__ */ H("div", {
|
|
1358
|
-
className: [
|
|
1359
|
-
"fcc-rich-text-shell",
|
|
1360
|
-
T ? "is-invalid" : "",
|
|
1361
|
-
d ? "is-disabled" : ""
|
|
1362
|
-
].filter(Boolean).join(" "),
|
|
1363
|
-
style: { "--fcc-rich-text-min-height": `${f}px` },
|
|
1364
|
-
children: [p ? /* @__PURE__ */ H("div", {
|
|
1365
|
-
className: ["fcc-rich-text-toolbar", _].filter(Boolean).join(" "),
|
|
1366
|
-
children: [
|
|
1367
|
-
/* @__PURE__ */ V("div", {
|
|
1368
|
-
className: "fcc-rich-text-toolbar-group",
|
|
1369
|
-
children: P.map((e) => /* @__PURE__ */ V(Y, {
|
|
1370
|
-
label: e.label,
|
|
1371
|
-
active: !!e.active,
|
|
1372
|
-
onClick: e.onClick,
|
|
1373
|
-
disabled: d || !N,
|
|
1374
|
-
children: e.icon
|
|
1375
|
-
}, e.key))
|
|
1376
|
-
}),
|
|
1377
|
-
/* @__PURE__ */ V("div", { className: "fcc-rich-text-toolbar-divider" }),
|
|
1378
|
-
/* @__PURE__ */ H("div", {
|
|
1379
|
-
className: "fcc-rich-text-toolbar-group",
|
|
1380
|
-
children: [/* @__PURE__ */ V(Y, {
|
|
1381
|
-
label: "Undo",
|
|
1382
|
-
active: !1,
|
|
1383
|
-
onClick: () => N?.chain().focus().undo().run(),
|
|
1384
|
-
disabled: d || !N?.can().chain().focus().undo().run(),
|
|
1385
|
-
children: /* @__PURE__ */ V(re, { size: 14 })
|
|
1386
|
-
}), /* @__PURE__ */ V(Y, {
|
|
1387
|
-
label: "Redo",
|
|
1388
|
-
active: !1,
|
|
1389
|
-
onClick: () => N?.chain().focus().redo().run(),
|
|
1390
|
-
disabled: d || !N?.can().chain().focus().redo().run(),
|
|
1391
|
-
children: /* @__PURE__ */ V(L, { size: 14 })
|
|
1392
|
-
})]
|
|
1393
|
-
})
|
|
1394
|
-
]
|
|
1395
|
-
}) : null, /* @__PURE__ */ V(ae, {
|
|
1396
|
-
editor: N,
|
|
1397
|
-
className: "fcc-rich-text-editor"
|
|
1398
|
-
})]
|
|
1399
|
-
}),
|
|
1400
|
-
S ? /* @__PURE__ */ V("div", {
|
|
1401
|
-
id: C,
|
|
1402
|
-
className: ["fcc-rich-text-helper", T ? "is-error" : ""].filter(Boolean).join(" "),
|
|
1403
|
-
children: S
|
|
1404
|
-
}) : null
|
|
1405
|
-
]
|
|
1406
|
-
});
|
|
1407
|
-
}
|
|
1408
|
-
//#endregion
|
|
1409
1240
|
//#region src/components/ui/DropdownMenu.jsx
|
|
1410
|
-
function
|
|
1241
|
+
function st({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
|
|
1411
1242
|
let [s, d] = u(!1), [f, p] = u(null), m = l(null), h = l(null);
|
|
1412
1243
|
return o(() => {
|
|
1413
1244
|
a?.(s);
|
|
@@ -1438,14 +1269,14 @@ function Ct({ trigger: e, children: t, align: n = "left", className: r = "", sid
|
|
|
1438
1269
|
i
|
|
1439
1270
|
]), c(() => {
|
|
1440
1271
|
s || p(null);
|
|
1441
|
-
}, [s]), /* @__PURE__ */
|
|
1272
|
+
}, [s]), /* @__PURE__ */ B("div", {
|
|
1442
1273
|
className: `dropdown-wrapper ${r}`,
|
|
1443
1274
|
style: { position: "relative" },
|
|
1444
|
-
children: [/* @__PURE__ */
|
|
1275
|
+
children: [/* @__PURE__ */ z("div", {
|
|
1445
1276
|
ref: m,
|
|
1446
1277
|
onClick: () => d((e) => !e),
|
|
1447
1278
|
children: e
|
|
1448
|
-
}), s && typeof document < "u" &&
|
|
1279
|
+
}), s && typeof document < "u" && V(/* @__PURE__ */ z("div", {
|
|
1449
1280
|
ref: h,
|
|
1450
1281
|
className: "dropdown",
|
|
1451
1282
|
onClick: () => d(!1),
|
|
@@ -1460,83 +1291,85 @@ function Ct({ trigger: e, children: t, align: n = "left", className: r = "", sid
|
|
|
1460
1291
|
}), document.body)]
|
|
1461
1292
|
});
|
|
1462
1293
|
}
|
|
1463
|
-
function
|
|
1464
|
-
return /* @__PURE__ */
|
|
1294
|
+
function ct({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
1295
|
+
return /* @__PURE__ */ B("div", {
|
|
1465
1296
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
1466
1297
|
onClick: i,
|
|
1467
1298
|
children: [
|
|
1468
|
-
e && /* @__PURE__ */
|
|
1299
|
+
e && /* @__PURE__ */ z("span", {
|
|
1469
1300
|
className: "dropdown-item-icon",
|
|
1470
1301
|
children: e
|
|
1471
1302
|
}),
|
|
1472
|
-
/* @__PURE__ */
|
|
1303
|
+
/* @__PURE__ */ z("span", {
|
|
1473
1304
|
style: { flex: 1 },
|
|
1474
1305
|
children: t
|
|
1475
1306
|
}),
|
|
1476
|
-
n && /* @__PURE__ */
|
|
1307
|
+
n && /* @__PURE__ */ z("span", {
|
|
1477
1308
|
className: "dropdown-shortcut",
|
|
1478
1309
|
children: n
|
|
1479
1310
|
})
|
|
1480
1311
|
]
|
|
1481
1312
|
});
|
|
1482
1313
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return /* @__PURE__ */
|
|
1314
|
+
function lt({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
1315
|
+
return /* @__PURE__ */ B("div", {
|
|
1485
1316
|
className: `dropdown-item ${r}`,
|
|
1486
1317
|
onClick: () => t?.(!e),
|
|
1487
|
-
children: [/* @__PURE__ */
|
|
1318
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1488
1319
|
className: "dropdown-item-icon",
|
|
1489
1320
|
style: { opacity: +!!e },
|
|
1490
|
-
children: /* @__PURE__ */
|
|
1321
|
+
children: /* @__PURE__ */ z(h, { size: 14 })
|
|
1491
1322
|
}), n]
|
|
1492
1323
|
});
|
|
1493
1324
|
}
|
|
1494
|
-
function
|
|
1495
|
-
return /* @__PURE__ */
|
|
1325
|
+
function ut({ children: e, className: t = "" }) {
|
|
1326
|
+
return /* @__PURE__ */ z("div", {
|
|
1496
1327
|
className: `dropdown-label ${t}`,
|
|
1497
1328
|
children: e
|
|
1498
1329
|
});
|
|
1499
1330
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return /* @__PURE__ */
|
|
1331
|
+
function dt({ className: e = "" }) {
|
|
1332
|
+
return /* @__PURE__ */ z("div", { className: `dropdown-divider ${e}` });
|
|
1502
1333
|
}
|
|
1503
1334
|
//#endregion
|
|
1504
1335
|
//#region src/components/ui/SearchableSelect.jsx
|
|
1505
|
-
function
|
|
1506
|
-
let [d, f] = u(!1), [p, m] = u(""), [
|
|
1336
|
+
function ft({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: c = "" }) {
|
|
1337
|
+
let [d, f] = u(!1), [p, m] = u(""), [g, _] = u(-1), y = l(null), b = l(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);
|
|
1507
1338
|
o(() => {
|
|
1508
1339
|
d && b.current && b.current.focus();
|
|
1509
1340
|
}, [d]), o(() => {
|
|
1510
1341
|
function e(e) {
|
|
1511
|
-
|
|
1342
|
+
y.current && !y.current.contains(e.target) && f(!1);
|
|
1512
1343
|
}
|
|
1513
1344
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
1514
1345
|
}, []);
|
|
1515
1346
|
function C(e) {
|
|
1516
|
-
e.key === "ArrowDown" ? (e.preventDefault(), _((e) => Math.min(e + 1, x.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), _((e) => Math.max(e - 1, 0))) : e.key === "Enter" && x[
|
|
1347
|
+
e.key === "ArrowDown" ? (e.preventDefault(), _((e) => Math.min(e + 1, x.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), _((e) => Math.max(e - 1, 0))) : e.key === "Enter" && g >= 0 && x[g] ? (n?.(x[g].value), f(!1), m("")) : e.key === "Escape" && (f(!1), m(""));
|
|
1517
1348
|
}
|
|
1518
|
-
return /* @__PURE__ */
|
|
1519
|
-
ref:
|
|
1349
|
+
return /* @__PURE__ */ B("div", {
|
|
1350
|
+
ref: y,
|
|
1520
1351
|
className: `searchable-select ${c}`,
|
|
1521
|
-
children: [/* @__PURE__ */
|
|
1352
|
+
children: [/* @__PURE__ */ B("button", {
|
|
1522
1353
|
className: "searchable-select-trigger",
|
|
1523
|
-
onClick: () =>
|
|
1354
|
+
onClick: () => {
|
|
1355
|
+
s || (d || _(-1), f(!d));
|
|
1356
|
+
},
|
|
1524
1357
|
disabled: s,
|
|
1525
1358
|
type: "button",
|
|
1526
|
-
children: [/* @__PURE__ */
|
|
1359
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1527
1360
|
className: S ? "" : "searchable-select-placeholder",
|
|
1528
1361
|
children: S ? S.label : r
|
|
1529
|
-
}), /* @__PURE__ */
|
|
1362
|
+
}), /* @__PURE__ */ z(v, {
|
|
1530
1363
|
size: 14,
|
|
1531
1364
|
className: "searchable-select-chevron"
|
|
1532
1365
|
})]
|
|
1533
|
-
}), d && /* @__PURE__ */
|
|
1366
|
+
}), d && /* @__PURE__ */ B("div", {
|
|
1534
1367
|
className: "searchable-select-dropdown",
|
|
1535
|
-
children: [/* @__PURE__ */
|
|
1368
|
+
children: [/* @__PURE__ */ B("div", {
|
|
1536
1369
|
className: "searchable-select-search",
|
|
1537
1370
|
children: [
|
|
1538
|
-
/* @__PURE__ */
|
|
1539
|
-
/* @__PURE__ */
|
|
1371
|
+
/* @__PURE__ */ z(N, { size: 14 }),
|
|
1372
|
+
/* @__PURE__ */ z("input", {
|
|
1540
1373
|
ref: b,
|
|
1541
1374
|
value: p,
|
|
1542
1375
|
onChange: (e) => {
|
|
@@ -1546,21 +1379,22 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1546
1379
|
placeholder: i,
|
|
1547
1380
|
className: "searchable-select-input"
|
|
1548
1381
|
}),
|
|
1549
|
-
p && /* @__PURE__ */
|
|
1382
|
+
p && /* @__PURE__ */ z("button", {
|
|
1550
1383
|
className: "searchable-select-clear",
|
|
1551
1384
|
onClick: () => m(""),
|
|
1552
|
-
children: /* @__PURE__ */
|
|
1385
|
+
children: /* @__PURE__ */ z(L, { size: 12 })
|
|
1553
1386
|
})
|
|
1554
1387
|
]
|
|
1555
|
-
}), /* @__PURE__ */
|
|
1388
|
+
}), /* @__PURE__ */ B("div", {
|
|
1556
1389
|
className: "searchable-select-options",
|
|
1557
1390
|
children: [
|
|
1558
|
-
a && /* @__PURE__ */
|
|
1391
|
+
a && /* @__PURE__ */ z("div", {
|
|
1559
1392
|
className: `searchable-select-option ${t ? "" : "selected"}`,
|
|
1560
1393
|
onClick: () => {
|
|
1561
1394
|
n?.(null), f(!1), m("");
|
|
1562
1395
|
},
|
|
1563
|
-
|
|
1396
|
+
onMouseEnter: () => _(-1),
|
|
1397
|
+
children: /* @__PURE__ */ z("span", {
|
|
1564
1398
|
style: {
|
|
1565
1399
|
color: "var(--text-tertiary)",
|
|
1566
1400
|
fontStyle: "italic"
|
|
@@ -1568,21 +1402,21 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1568
1402
|
children: "None"
|
|
1569
1403
|
})
|
|
1570
1404
|
}),
|
|
1571
|
-
x.map((e, r) => /* @__PURE__ */
|
|
1572
|
-
className: `searchable-select-option ${r ===
|
|
1405
|
+
x.map((e, r) => /* @__PURE__ */ B("div", {
|
|
1406
|
+
className: `searchable-select-option ${r === g ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
|
|
1573
1407
|
onClick: () => {
|
|
1574
1408
|
n?.(e.value), f(!1), m("");
|
|
1575
1409
|
},
|
|
1576
1410
|
onMouseEnter: () => _(r),
|
|
1577
|
-
children: [/* @__PURE__ */
|
|
1411
|
+
children: [/* @__PURE__ */ B("div", {
|
|
1578
1412
|
className: "searchable-select-option-content",
|
|
1579
|
-
children: [/* @__PURE__ */
|
|
1413
|
+
children: [/* @__PURE__ */ z("span", { children: e.label }), e.description && /* @__PURE__ */ z("span", {
|
|
1580
1414
|
className: "searchable-select-option-desc",
|
|
1581
1415
|
children: e.description
|
|
1582
1416
|
})]
|
|
1583
|
-
}), e.value === t && /* @__PURE__ */
|
|
1417
|
+
}), e.value === t && /* @__PURE__ */ z(h, { size: 14 })]
|
|
1584
1418
|
}, e.value)),
|
|
1585
|
-
x.length === 0 && /* @__PURE__ */
|
|
1419
|
+
x.length === 0 && /* @__PURE__ */ z("div", {
|
|
1586
1420
|
className: "searchable-select-empty",
|
|
1587
1421
|
children: "No results found"
|
|
1588
1422
|
})
|
|
@@ -1593,7 +1427,7 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1593
1427
|
}
|
|
1594
1428
|
//#endregion
|
|
1595
1429
|
//#region src/components/ui/Sheet.jsx
|
|
1596
|
-
function
|
|
1430
|
+
function pt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
1597
1431
|
let s = l(null);
|
|
1598
1432
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
1599
1433
|
document.body.style.overflow = "";
|
|
@@ -1602,54 +1436,54 @@ function kt({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
1602
1436
|
e.key === "Escape" && t?.();
|
|
1603
1437
|
}
|
|
1604
1438
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
1605
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
1439
|
+
}, [e, t]), e ? /* @__PURE__ */ z("div", {
|
|
1606
1440
|
className: "sheet-overlay",
|
|
1607
1441
|
ref: s,
|
|
1608
1442
|
onClick: (e) => {
|
|
1609
1443
|
e.target === s.current && t?.();
|
|
1610
1444
|
},
|
|
1611
|
-
children: /* @__PURE__ */
|
|
1445
|
+
children: /* @__PURE__ */ B("div", {
|
|
1612
1446
|
className: `sheet sheet-${n} ${a}`,
|
|
1613
|
-
children: [r && /* @__PURE__ */
|
|
1447
|
+
children: [r && /* @__PURE__ */ B("div", {
|
|
1614
1448
|
className: "sheet-header",
|
|
1615
|
-
children: [/* @__PURE__ */
|
|
1449
|
+
children: [/* @__PURE__ */ z("h3", {
|
|
1616
1450
|
className: "sheet-title",
|
|
1617
1451
|
children: r
|
|
1618
|
-
}), /* @__PURE__ */
|
|
1452
|
+
}), /* @__PURE__ */ z("button", {
|
|
1619
1453
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
1620
1454
|
onClick: t,
|
|
1621
|
-
children: /* @__PURE__ */
|
|
1455
|
+
children: /* @__PURE__ */ z(L, { size: 16 })
|
|
1622
1456
|
})]
|
|
1623
|
-
}), /* @__PURE__ */
|
|
1457
|
+
}), /* @__PURE__ */ z("div", {
|
|
1624
1458
|
className: "sheet-body",
|
|
1625
1459
|
children: i
|
|
1626
1460
|
})]
|
|
1627
1461
|
})
|
|
1628
1462
|
}) : null;
|
|
1629
1463
|
}
|
|
1630
|
-
function
|
|
1631
|
-
return /* @__PURE__ */
|
|
1464
|
+
function mt({ children: e, className: t = "" }) {
|
|
1465
|
+
return /* @__PURE__ */ z("div", {
|
|
1632
1466
|
className: `sheet-footer ${t}`,
|
|
1633
1467
|
children: e
|
|
1634
1468
|
});
|
|
1635
1469
|
}
|
|
1636
1470
|
//#endregion
|
|
1637
1471
|
//#region src/components/ui/StatusMetric.jsx
|
|
1638
|
-
function
|
|
1472
|
+
function ht(...e) {
|
|
1639
1473
|
return e.filter(Boolean).join(" ");
|
|
1640
1474
|
}
|
|
1641
|
-
var
|
|
1475
|
+
var gt = {
|
|
1642
1476
|
default: "",
|
|
1643
1477
|
warning: "status-metric--warning"
|
|
1644
1478
|
};
|
|
1645
|
-
function
|
|
1646
|
-
let o = r || (t === "warning" ? f :
|
|
1647
|
-
return /* @__PURE__ */
|
|
1648
|
-
className:
|
|
1649
|
-
children: [n && o && /* @__PURE__ */
|
|
1479
|
+
function _t({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
|
|
1480
|
+
let o = r || (t === "warning" ? f : S);
|
|
1481
|
+
return /* @__PURE__ */ B("span", {
|
|
1482
|
+
className: ht("status-metric", gt[t], a),
|
|
1483
|
+
children: [n && o && /* @__PURE__ */ z("span", {
|
|
1650
1484
|
className: "status-metric-icon",
|
|
1651
|
-
children: /* @__PURE__ */
|
|
1652
|
-
}), /* @__PURE__ */
|
|
1485
|
+
children: /* @__PURE__ */ z(o, { size: i })
|
|
1486
|
+
}), /* @__PURE__ */ z("span", {
|
|
1653
1487
|
className: "status-metric-text",
|
|
1654
1488
|
children: e
|
|
1655
1489
|
})]
|
|
@@ -1657,19 +1491,19 @@ function X({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSi
|
|
|
1657
1491
|
}
|
|
1658
1492
|
//#endregion
|
|
1659
1493
|
//#region src/components/ui/Switch.jsx
|
|
1660
|
-
function
|
|
1661
|
-
return /* @__PURE__ */
|
|
1494
|
+
function vt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
1495
|
+
return /* @__PURE__ */ B("div", {
|
|
1662
1496
|
className: "toggle-row",
|
|
1663
|
-
children: [i && /* @__PURE__ */
|
|
1497
|
+
children: [i && /* @__PURE__ */ z("span", {
|
|
1664
1498
|
className: "toggle-text",
|
|
1665
1499
|
children: i
|
|
1666
|
-
}), /* @__PURE__ */
|
|
1500
|
+
}), /* @__PURE__ */ z("button", {
|
|
1667
1501
|
className: `toggle ${e ? "active" : ""} ${r === "sm" ? "toggle-sm" : ""}`,
|
|
1668
1502
|
onClick: () => !n && t?.(!e),
|
|
1669
1503
|
disabled: n,
|
|
1670
1504
|
role: "switch",
|
|
1671
1505
|
"aria-checked": e,
|
|
1672
|
-
children: /* @__PURE__ */
|
|
1506
|
+
children: /* @__PURE__ */ z("div", { className: "toggle-knob" })
|
|
1673
1507
|
})]
|
|
1674
1508
|
});
|
|
1675
1509
|
}
|
|
@@ -1681,7 +1515,7 @@ var Z = e({
|
|
|
1681
1515
|
registerTrigger: () => {},
|
|
1682
1516
|
getTriggerNode: () => null
|
|
1683
1517
|
});
|
|
1684
|
-
function
|
|
1518
|
+
function yt({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
|
|
1685
1519
|
let [o, s] = u(e || ""), c = l(/* @__PURE__ */ new Map()), d = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
|
|
1686
1520
|
if (t) {
|
|
1687
1521
|
c.current.set(e, t);
|
|
@@ -1689,20 +1523,20 @@ function Pt({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
1689
1523
|
}
|
|
1690
1524
|
c.current.delete(e);
|
|
1691
1525
|
}, []), m = i((e) => c.current.get(e) || null, []);
|
|
1692
|
-
return /* @__PURE__ */
|
|
1526
|
+
return /* @__PURE__ */ z(Z.Provider, {
|
|
1693
1527
|
value: {
|
|
1694
1528
|
value: d,
|
|
1695
1529
|
onChange: f,
|
|
1696
1530
|
registerTrigger: p,
|
|
1697
1531
|
getTriggerNode: m
|
|
1698
1532
|
},
|
|
1699
|
-
children: /* @__PURE__ */
|
|
1533
|
+
children: /* @__PURE__ */ z("div", {
|
|
1700
1534
|
className: a,
|
|
1701
1535
|
children: r
|
|
1702
1536
|
})
|
|
1703
1537
|
});
|
|
1704
1538
|
}
|
|
1705
|
-
function
|
|
1539
|
+
function bt({ children: e, className: t = "" }) {
|
|
1706
1540
|
let { value: n, getTriggerNode: r } = a(Z), i = l(null);
|
|
1707
1541
|
return c(() => {
|
|
1708
1542
|
let e = i.current, t = r(n);
|
|
@@ -1719,19 +1553,19 @@ function Ft({ children: e, className: t = "" }) {
|
|
|
1719
1553
|
return o?.observe(e), o?.observe(t), window.addEventListener("resize", a), () => {
|
|
1720
1554
|
o?.disconnect(), window.removeEventListener("resize", a);
|
|
1721
1555
|
};
|
|
1722
|
-
}, [n, r]), /* @__PURE__ */
|
|
1556
|
+
}, [n, r]), /* @__PURE__ */ B("div", {
|
|
1723
1557
|
ref: i,
|
|
1724
1558
|
className: `tabs ${t}`,
|
|
1725
1559
|
role: "tablist",
|
|
1726
|
-
children: [/* @__PURE__ */
|
|
1560
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1727
1561
|
className: "tabs-indicator",
|
|
1728
1562
|
"aria-hidden": "true"
|
|
1729
1563
|
}), e]
|
|
1730
1564
|
});
|
|
1731
1565
|
}
|
|
1732
|
-
function
|
|
1566
|
+
function xt({ value: e, children: t, className: n = "" }) {
|
|
1733
1567
|
let { value: r, onChange: i, registerTrigger: o } = a(Z), s = r === e;
|
|
1734
|
-
return /* @__PURE__ */
|
|
1568
|
+
return /* @__PURE__ */ z("button", {
|
|
1735
1569
|
ref: (t) => o(e, t),
|
|
1736
1570
|
className: `tab ${s ? "active" : ""} ${n}`,
|
|
1737
1571
|
onClick: () => i(e),
|
|
@@ -1741,9 +1575,9 @@ function It({ value: e, children: t, className: n = "" }) {
|
|
|
1741
1575
|
children: t
|
|
1742
1576
|
});
|
|
1743
1577
|
}
|
|
1744
|
-
function
|
|
1578
|
+
function St({ value: e, children: t, className: n = "" }) {
|
|
1745
1579
|
let { value: r } = a(Z);
|
|
1746
|
-
return r === e ? /* @__PURE__ */
|
|
1580
|
+
return r === e ? /* @__PURE__ */ z("div", {
|
|
1747
1581
|
className: n,
|
|
1748
1582
|
role: "tabpanel",
|
|
1749
1583
|
children: t
|
|
@@ -1751,25 +1585,25 @@ function Lt({ value: e, children: t, className: n = "" }) {
|
|
|
1751
1585
|
}
|
|
1752
1586
|
//#endregion
|
|
1753
1587
|
//#region src/components/ui/Textarea.jsx
|
|
1754
|
-
var
|
|
1755
|
-
return t || n ? /* @__PURE__ */
|
|
1588
|
+
var Ct = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
|
|
1589
|
+
return t || n ? /* @__PURE__ */ B("div", {
|
|
1756
1590
|
className: ["textarea-wrapper", e].filter(Boolean).join(" "),
|
|
1757
1591
|
children: [
|
|
1758
|
-
t && /* @__PURE__ */
|
|
1592
|
+
t && /* @__PURE__ */ z("div", {
|
|
1759
1593
|
className: "textarea-adornment textarea-adornment--start",
|
|
1760
1594
|
children: t
|
|
1761
1595
|
}),
|
|
1762
|
-
/* @__PURE__ */
|
|
1596
|
+
/* @__PURE__ */ z("textarea", {
|
|
1763
1597
|
...r,
|
|
1764
1598
|
ref: i,
|
|
1765
1599
|
className: "textarea-wrapper__input"
|
|
1766
1600
|
}),
|
|
1767
|
-
n && /* @__PURE__ */
|
|
1601
|
+
n && /* @__PURE__ */ z("div", {
|
|
1768
1602
|
className: "textarea-adornment textarea-adornment--end",
|
|
1769
1603
|
children: n
|
|
1770
1604
|
})
|
|
1771
1605
|
]
|
|
1772
|
-
}) : /* @__PURE__ */
|
|
1606
|
+
}) : /* @__PURE__ */ z("textarea", {
|
|
1773
1607
|
...r,
|
|
1774
1608
|
ref: i,
|
|
1775
1609
|
className: ["textarea", e].filter(Boolean).join(" ")
|
|
@@ -1777,7 +1611,7 @@ var Rt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
|
|
|
1777
1611
|
});
|
|
1778
1612
|
//#endregion
|
|
1779
1613
|
//#region src/components/ui/Tooltip.jsx
|
|
1780
|
-
function
|
|
1614
|
+
function wt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
1781
1615
|
let [i, a] = u(!1), [s, d] = u(null), f = l(null), p = l(null), m = l(null);
|
|
1782
1616
|
function h() {
|
|
1783
1617
|
m.current = setTimeout(() => a(!0), 300);
|
|
@@ -1801,7 +1635,7 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1801
1635
|
return e(), window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
|
|
1802
1636
|
window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
|
|
1803
1637
|
};
|
|
1804
|
-
}, [t, i]), /* @__PURE__ */
|
|
1638
|
+
}, [t, i]), /* @__PURE__ */ B("div", {
|
|
1805
1639
|
className: `tooltip-wrapper ${r}`,
|
|
1806
1640
|
onMouseEnter: h,
|
|
1807
1641
|
onMouseLeave: g,
|
|
@@ -1812,7 +1646,7 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1812
1646
|
position: "relative",
|
|
1813
1647
|
display: "inline-flex"
|
|
1814
1648
|
},
|
|
1815
|
-
children: [n, i && typeof document < "u" &&
|
|
1649
|
+
children: [n, i && typeof document < "u" && V(/* @__PURE__ */ z("div", {
|
|
1816
1650
|
ref: p,
|
|
1817
1651
|
className: `tooltip tooltip-${t} tooltip-portal`,
|
|
1818
1652
|
role: "tooltip",
|
|
@@ -1828,17 +1662,17 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1828
1662
|
}
|
|
1829
1663
|
//#endregion
|
|
1830
1664
|
//#region src/components/ui/viewModeDefaults.js
|
|
1831
|
-
var
|
|
1832
|
-
kanban:
|
|
1833
|
-
board:
|
|
1834
|
-
columns:
|
|
1835
|
-
table:
|
|
1836
|
-
list:
|
|
1837
|
-
rows:
|
|
1838
|
-
grid:
|
|
1839
|
-
calendar:
|
|
1840
|
-
map:
|
|
1841
|
-
},
|
|
1665
|
+
var Tt = {
|
|
1666
|
+
kanban: C,
|
|
1667
|
+
board: C,
|
|
1668
|
+
columns: C,
|
|
1669
|
+
table: D,
|
|
1670
|
+
list: D,
|
|
1671
|
+
rows: D,
|
|
1672
|
+
grid: E,
|
|
1673
|
+
calendar: m,
|
|
1674
|
+
map: A
|
|
1675
|
+
}, Et = [{
|
|
1842
1676
|
value: "kanban",
|
|
1843
1677
|
label: "Kanban",
|
|
1844
1678
|
title: "Board View"
|
|
@@ -1849,13 +1683,13 @@ var Bt = {
|
|
|
1849
1683
|
}];
|
|
1850
1684
|
//#endregion
|
|
1851
1685
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
1852
|
-
function
|
|
1853
|
-
return e.icon ? e.icon :
|
|
1686
|
+
function Dt(e) {
|
|
1687
|
+
return e.icon ? e.icon : Tt[e.value] ?? null;
|
|
1854
1688
|
}
|
|
1855
|
-
function
|
|
1689
|
+
function Ot(e, n) {
|
|
1856
1690
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1857
1691
|
}
|
|
1858
|
-
function
|
|
1692
|
+
function kt({ options: e = Et, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: d = !1, className: f = "", optionClassName: p = "" }) {
|
|
1859
1693
|
let m = l(null), h = l(null), g = l(/* @__PURE__ */ new Map()), [_, v] = u(n ?? e[0]?.value ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1860
1694
|
let e = h.current, t = g.current.get(y);
|
|
1861
1695
|
if (e) {
|
|
@@ -1903,7 +1737,7 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1903
1737
|
s,
|
|
1904
1738
|
f,
|
|
1905
1739
|
p
|
|
1906
|
-
]), /* @__PURE__ */
|
|
1740
|
+
]), /* @__PURE__ */ B("div", {
|
|
1907
1741
|
ref: m,
|
|
1908
1742
|
className: [
|
|
1909
1743
|
"view-mode-toggle",
|
|
@@ -1912,13 +1746,13 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1912
1746
|
].filter(Boolean).join(" "),
|
|
1913
1747
|
role: "group",
|
|
1914
1748
|
"aria-label": a,
|
|
1915
|
-
children: [/* @__PURE__ */
|
|
1749
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1916
1750
|
ref: h,
|
|
1917
1751
|
"aria-hidden": "true",
|
|
1918
1752
|
className: "view-mode-toggle-indicator"
|
|
1919
1753
|
}), e.map((e) => {
|
|
1920
|
-
let t = e.value === y, n =
|
|
1921
|
-
return /* @__PURE__ */
|
|
1754
|
+
let t = e.value === y, n = Ot(Dt(e), s);
|
|
1755
|
+
return /* @__PURE__ */ B("button", {
|
|
1922
1756
|
type: "button",
|
|
1923
1757
|
"aria-pressed": t,
|
|
1924
1758
|
disabled: e.disabled,
|
|
@@ -1934,10 +1768,10 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1934
1768
|
p
|
|
1935
1769
|
].filter(Boolean).join(" "),
|
|
1936
1770
|
onClick: () => x(e),
|
|
1937
|
-
children: [n && /* @__PURE__ */
|
|
1771
|
+
children: [n && /* @__PURE__ */ z("span", {
|
|
1938
1772
|
className: "view-mode-toggle-icon",
|
|
1939
1773
|
children: n
|
|
1940
|
-
}), d && /* @__PURE__ */
|
|
1774
|
+
}), d && /* @__PURE__ */ z("span", {
|
|
1941
1775
|
className: "view-mode-toggle-label",
|
|
1942
1776
|
children: e.label
|
|
1943
1777
|
})]
|
|
@@ -1947,10 +1781,10 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1947
1781
|
}
|
|
1948
1782
|
//#endregion
|
|
1949
1783
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
1950
|
-
function
|
|
1784
|
+
function At(e, n) {
|
|
1951
1785
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1952
1786
|
}
|
|
1953
|
-
function
|
|
1787
|
+
function jt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: d = "plain", className: f = "", itemClassName: p = "" }) {
|
|
1954
1788
|
let m = l(null), h = l(null), g = l(/* @__PURE__ */ new Map()), [_, v] = u(n ?? e[0]?.id ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1955
1789
|
let e = h.current, t = g.current.get(y);
|
|
1956
1790
|
if (e) {
|
|
@@ -1998,7 +1832,7 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1998
1832
|
d,
|
|
1999
1833
|
f,
|
|
2000
1834
|
p
|
|
2001
|
-
]), /* @__PURE__ */
|
|
1835
|
+
]), /* @__PURE__ */ B("div", {
|
|
2002
1836
|
ref: m,
|
|
2003
1837
|
className: [
|
|
2004
1838
|
"workspace-tabs",
|
|
@@ -2007,13 +1841,13 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2007
1841
|
].filter(Boolean).join(" "),
|
|
2008
1842
|
role: "tablist",
|
|
2009
1843
|
"aria-label": a,
|
|
2010
|
-
children: [/* @__PURE__ */
|
|
1844
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2011
1845
|
ref: h,
|
|
2012
1846
|
"aria-hidden": "true",
|
|
2013
1847
|
className: "workspace-tabs-indicator"
|
|
2014
1848
|
}), e.map((e) => {
|
|
2015
|
-
let t = e.id === y, n =
|
|
2016
|
-
return /* @__PURE__ */
|
|
1849
|
+
let t = e.id === y, n = At(e.icon, s);
|
|
1850
|
+
return /* @__PURE__ */ B("button", {
|
|
2017
1851
|
type: "button",
|
|
2018
1852
|
role: "tab",
|
|
2019
1853
|
"aria-selected": t,
|
|
@@ -2030,15 +1864,15 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2030
1864
|
].filter(Boolean).join(" "),
|
|
2031
1865
|
onClick: () => x(e),
|
|
2032
1866
|
children: [
|
|
2033
|
-
n && /* @__PURE__ */
|
|
1867
|
+
n && /* @__PURE__ */ z("span", {
|
|
2034
1868
|
className: "workspace-tab-icon",
|
|
2035
1869
|
children: n
|
|
2036
1870
|
}),
|
|
2037
|
-
/* @__PURE__ */
|
|
1871
|
+
/* @__PURE__ */ z("span", {
|
|
2038
1872
|
className: "workspace-tab-label",
|
|
2039
1873
|
children: e.label
|
|
2040
1874
|
}),
|
|
2041
|
-
e.badge != null && /* @__PURE__ */
|
|
1875
|
+
e.badge != null && /* @__PURE__ */ z("span", {
|
|
2042
1876
|
className: "workspace-tab-badge",
|
|
2043
1877
|
children: e.badge
|
|
2044
1878
|
})
|
|
@@ -2049,35 +1883,35 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2049
1883
|
}
|
|
2050
1884
|
//#endregion
|
|
2051
1885
|
//#region src/components/data/ActivityFeed.jsx
|
|
2052
|
-
function
|
|
2053
|
-
return /* @__PURE__ */
|
|
1886
|
+
function Mt({ items: e = [], className: t = "" }) {
|
|
1887
|
+
return /* @__PURE__ */ z("div", {
|
|
2054
1888
|
className: `activity-feed ${t}`,
|
|
2055
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1889
|
+
children: e.map((e, t) => /* @__PURE__ */ B("div", {
|
|
2056
1890
|
className: "activity-item",
|
|
2057
|
-
children: [/* @__PURE__ */
|
|
1891
|
+
children: [/* @__PURE__ */ z("div", {
|
|
2058
1892
|
className: "activity-avatar",
|
|
2059
|
-
children: /* @__PURE__ */
|
|
1893
|
+
children: /* @__PURE__ */ z(J, {
|
|
2060
1894
|
name: e.user,
|
|
2061
1895
|
size: "sm"
|
|
2062
1896
|
})
|
|
2063
|
-
}), /* @__PURE__ */
|
|
1897
|
+
}), /* @__PURE__ */ B("div", {
|
|
2064
1898
|
className: "activity-content",
|
|
2065
1899
|
children: [
|
|
2066
|
-
/* @__PURE__ */
|
|
1900
|
+
/* @__PURE__ */ B("div", {
|
|
2067
1901
|
className: "activity-header",
|
|
2068
|
-
children: [/* @__PURE__ */
|
|
1902
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2069
1903
|
className: "activity-name",
|
|
2070
1904
|
children: e.user
|
|
2071
|
-
}), /* @__PURE__ */
|
|
1905
|
+
}), /* @__PURE__ */ z("span", {
|
|
2072
1906
|
className: "activity-time",
|
|
2073
1907
|
children: e.time
|
|
2074
1908
|
})]
|
|
2075
1909
|
}),
|
|
2076
|
-
/* @__PURE__ */
|
|
1910
|
+
/* @__PURE__ */ z("div", {
|
|
2077
1911
|
className: "activity-text",
|
|
2078
1912
|
children: e.text
|
|
2079
1913
|
}),
|
|
2080
|
-
e.meta && /* @__PURE__ */
|
|
1914
|
+
e.meta && /* @__PURE__ */ z("div", {
|
|
2081
1915
|
className: "activity-meta",
|
|
2082
1916
|
children: e.meta
|
|
2083
1917
|
})
|
|
@@ -2088,7 +1922,7 @@ function qt({ items: e = [], className: t = "" }) {
|
|
|
2088
1922
|
}
|
|
2089
1923
|
//#endregion
|
|
2090
1924
|
//#region src/components/data/CommandBar.jsx
|
|
2091
|
-
function
|
|
1925
|
+
function Nt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
2092
1926
|
let [a, s] = u(""), [c, d] = u(0), f = l(null);
|
|
2093
1927
|
if (o(() => {
|
|
2094
1928
|
if (e) {
|
|
@@ -2113,19 +1947,19 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2113
1947
|
function h(e) {
|
|
2114
1948
|
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[c] ? (r?.(p[c]), t?.()) : e.key === "Escape" && t?.();
|
|
2115
1949
|
}
|
|
2116
|
-
return /* @__PURE__ */
|
|
1950
|
+
return /* @__PURE__ */ z("div", {
|
|
2117
1951
|
className: "dialog-overlay",
|
|
2118
1952
|
onClick: (e) => {
|
|
2119
1953
|
e.target === e.currentTarget && t?.();
|
|
2120
1954
|
},
|
|
2121
|
-
children: /* @__PURE__ */
|
|
1955
|
+
children: /* @__PURE__ */ B("div", {
|
|
2122
1956
|
className: "command-palette",
|
|
2123
|
-
children: [/* @__PURE__ */
|
|
1957
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2124
1958
|
className: "command-input-wrapper",
|
|
2125
|
-
children: [/* @__PURE__ */
|
|
1959
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2126
1960
|
className: "command-input-icon",
|
|
2127
|
-
children: /* @__PURE__ */
|
|
2128
|
-
}), /* @__PURE__ */
|
|
1961
|
+
children: /* @__PURE__ */ z(N, { size: 16 })
|
|
1962
|
+
}), /* @__PURE__ */ z("input", {
|
|
2129
1963
|
ref: f,
|
|
2130
1964
|
className: "command-input",
|
|
2131
1965
|
value: a,
|
|
@@ -2135,29 +1969,29 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2135
1969
|
onKeyDown: h,
|
|
2136
1970
|
placeholder: i
|
|
2137
1971
|
})]
|
|
2138
|
-
}), /* @__PURE__ */
|
|
1972
|
+
}), /* @__PURE__ */ B("div", {
|
|
2139
1973
|
className: "command-results",
|
|
2140
|
-
children: [m.map((e, n) => /* @__PURE__ */
|
|
1974
|
+
children: [m.map((e, n) => /* @__PURE__ */ B("div", { children: [e.showGroup && /* @__PURE__ */ z("div", {
|
|
2141
1975
|
className: "command-group-label",
|
|
2142
1976
|
children: e.group
|
|
2143
|
-
}), /* @__PURE__ */
|
|
1977
|
+
}), /* @__PURE__ */ B("div", {
|
|
2144
1978
|
className: `dropdown-item ${n === c ? "active" : ""}`,
|
|
2145
1979
|
onClick: () => {
|
|
2146
1980
|
r?.(e), t?.();
|
|
2147
1981
|
},
|
|
2148
1982
|
onMouseEnter: () => d(n),
|
|
2149
1983
|
children: [
|
|
2150
|
-
e.icon && /* @__PURE__ */
|
|
1984
|
+
e.icon && /* @__PURE__ */ z("span", {
|
|
2151
1985
|
className: "dropdown-item-icon",
|
|
2152
1986
|
children: e.icon
|
|
2153
1987
|
}),
|
|
2154
1988
|
e.label,
|
|
2155
|
-
e.shortcut && /* @__PURE__ */
|
|
1989
|
+
e.shortcut && /* @__PURE__ */ z("span", {
|
|
2156
1990
|
className: "dropdown-shortcut",
|
|
2157
1991
|
children: e.shortcut
|
|
2158
1992
|
})
|
|
2159
1993
|
]
|
|
2160
|
-
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */
|
|
1994
|
+
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */ z("div", {
|
|
2161
1995
|
style: {
|
|
2162
1996
|
padding: "var(--space-4)",
|
|
2163
1997
|
textAlign: "center",
|
|
@@ -2172,7 +2006,7 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2172
2006
|
}
|
|
2173
2007
|
//#endregion
|
|
2174
2008
|
//#region src/components/data/DataTable.jsx
|
|
2175
|
-
function
|
|
2009
|
+
function Pt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
2176
2010
|
let [i, a] = u(null), [o, s] = u("asc");
|
|
2177
2011
|
function c(e) {
|
|
2178
2012
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -2181,26 +2015,26 @@ function Yt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
2181
2015
|
let n = e[i], r = t[i], a = typeof n == "number" ? n - r : String(n).localeCompare(String(r));
|
|
2182
2016
|
return o === "asc" ? a : -a;
|
|
2183
2017
|
}) : t;
|
|
2184
|
-
return /* @__PURE__ */
|
|
2018
|
+
return /* @__PURE__ */ z("div", {
|
|
2185
2019
|
className: `table-wrapper ${r}`,
|
|
2186
|
-
children: /* @__PURE__ */
|
|
2020
|
+
children: /* @__PURE__ */ B("table", { children: [/* @__PURE__ */ z("thead", { children: /* @__PURE__ */ z("tr", { children: e.map((e) => /* @__PURE__ */ z("th", {
|
|
2187
2021
|
onClick: () => e.sortable !== !1 && c(e.key),
|
|
2188
2022
|
style: {
|
|
2189
2023
|
cursor: e.sortable === !1 ? "default" : "pointer",
|
|
2190
2024
|
width: e.width
|
|
2191
2025
|
},
|
|
2192
|
-
children: /* @__PURE__ */
|
|
2026
|
+
children: /* @__PURE__ */ B("span", {
|
|
2193
2027
|
className: "th-content",
|
|
2194
|
-
children: [e.label, e.sortable !== !1 && /* @__PURE__ */
|
|
2028
|
+
children: [e.label, e.sortable !== !1 && /* @__PURE__ */ z("span", {
|
|
2195
2029
|
className: "th-sort-icon",
|
|
2196
|
-
children: i === e.key ?
|
|
2030
|
+
children: i === e.key ? z(o === "asc" ? b : v, { size: 12 }) : /* @__PURE__ */ z(x, { size: 12 })
|
|
2197
2031
|
})]
|
|
2198
2032
|
})
|
|
2199
|
-
}, e.key)) }) }), /* @__PURE__ */
|
|
2033
|
+
}, e.key)) }) }), /* @__PURE__ */ B("tbody", { children: [l.map((t, r) => /* @__PURE__ */ z("tr", {
|
|
2200
2034
|
onClick: () => n?.(t),
|
|
2201
2035
|
style: { cursor: n ? "pointer" : "default" },
|
|
2202
|
-
children: e.map((e) => /* @__PURE__ */
|
|
2203
|
-
}, t.id || r)), l.length === 0 && /* @__PURE__ */
|
|
2036
|
+
children: e.map((e) => /* @__PURE__ */ z("td", { children: e.render ? e.render(t[e.key], t) : t[e.key] }, e.key))
|
|
2037
|
+
}, t.id || r)), l.length === 0 && /* @__PURE__ */ z("tr", { children: /* @__PURE__ */ z("td", {
|
|
2204
2038
|
colSpan: e.length,
|
|
2205
2039
|
style: {
|
|
2206
2040
|
textAlign: "center",
|
|
@@ -2213,44 +2047,44 @@ function Yt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
2213
2047
|
}
|
|
2214
2048
|
//#endregion
|
|
2215
2049
|
//#region src/components/data/FilterBar.jsx
|
|
2216
|
-
function
|
|
2050
|
+
function Ft({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
2217
2051
|
let o = n.some((e) => e.active);
|
|
2218
|
-
return /* @__PURE__ */
|
|
2052
|
+
return /* @__PURE__ */ B("div", {
|
|
2219
2053
|
className: `filter-bar ${a}`,
|
|
2220
2054
|
children: [
|
|
2221
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ B("div", {
|
|
2222
2056
|
className: "filter-bar-search",
|
|
2223
2057
|
children: [
|
|
2224
|
-
/* @__PURE__ */
|
|
2225
|
-
/* @__PURE__ */
|
|
2058
|
+
/* @__PURE__ */ z(N, { size: 14 }),
|
|
2059
|
+
/* @__PURE__ */ z("input", {
|
|
2226
2060
|
className: "filter-bar-input",
|
|
2227
2061
|
value: e,
|
|
2228
2062
|
onChange: (e) => t?.(e.target.value),
|
|
2229
2063
|
placeholder: "Search..."
|
|
2230
2064
|
}),
|
|
2231
|
-
e && /* @__PURE__ */
|
|
2065
|
+
e && /* @__PURE__ */ z("button", {
|
|
2232
2066
|
className: "filter-bar-clear",
|
|
2233
2067
|
onClick: () => t?.(""),
|
|
2234
|
-
children: /* @__PURE__ */
|
|
2068
|
+
children: /* @__PURE__ */ z(L, { size: 12 })
|
|
2235
2069
|
})
|
|
2236
2070
|
]
|
|
2237
2071
|
}),
|
|
2238
|
-
/* @__PURE__ */
|
|
2072
|
+
/* @__PURE__ */ B("div", {
|
|
2239
2073
|
className: "filter-bar-filters",
|
|
2240
2074
|
children: [
|
|
2241
|
-
/* @__PURE__ */
|
|
2075
|
+
/* @__PURE__ */ z(w, {
|
|
2242
2076
|
size: 14,
|
|
2243
2077
|
style: { color: "var(--text-tertiary)" }
|
|
2244
2078
|
}),
|
|
2245
|
-
n.map((e) => /* @__PURE__ */
|
|
2079
|
+
n.map((e) => /* @__PURE__ */ B("button", {
|
|
2246
2080
|
className: `filter-chip ${e.active ? "active" : ""}`,
|
|
2247
2081
|
onClick: e.onClick,
|
|
2248
|
-
children: [e.label, e.active && e.value && /* @__PURE__ */
|
|
2082
|
+
children: [e.label, e.active && e.value && /* @__PURE__ */ z("span", {
|
|
2249
2083
|
className: "filter-chip-value",
|
|
2250
2084
|
children: e.value
|
|
2251
2085
|
})]
|
|
2252
2086
|
}, e.label)),
|
|
2253
|
-
o && r && /* @__PURE__ */
|
|
2087
|
+
o && r && /* @__PURE__ */ z("button", {
|
|
2254
2088
|
className: "filter-bar-clear-all",
|
|
2255
2089
|
onClick: r,
|
|
2256
2090
|
children: "Clear all"
|
|
@@ -2266,76 +2100,76 @@ function Xt({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
2266
2100
|
function Q(...e) {
|
|
2267
2101
|
return e.filter(Boolean).join(" ");
|
|
2268
2102
|
}
|
|
2269
|
-
function
|
|
2270
|
-
return /* @__PURE__ */
|
|
2103
|
+
function It({ children: e, className: t = "", style: n }) {
|
|
2104
|
+
return /* @__PURE__ */ z("div", {
|
|
2271
2105
|
className: Q("kanban-board", t),
|
|
2272
2106
|
style: n,
|
|
2273
2107
|
children: e
|
|
2274
2108
|
});
|
|
2275
2109
|
}
|
|
2276
|
-
function
|
|
2277
|
-
return /* @__PURE__ */
|
|
2110
|
+
function Lt({ 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 }) {
|
|
2111
|
+
return /* @__PURE__ */ B("div", {
|
|
2278
2112
|
className: Q("kanban-column", o),
|
|
2279
2113
|
style: s,
|
|
2280
|
-
children: [/* @__PURE__ */
|
|
2114
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2281
2115
|
className: Q("kanban-column-header", c),
|
|
2282
2116
|
style: l,
|
|
2283
|
-
children: [/* @__PURE__ */
|
|
2117
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2284
2118
|
className: "kanban-column-title",
|
|
2285
2119
|
children: [
|
|
2286
|
-
n && /* @__PURE__ */
|
|
2120
|
+
n && /* @__PURE__ */ z("span", {
|
|
2287
2121
|
className: "kanban-column-dot",
|
|
2288
2122
|
style: { background: n }
|
|
2289
2123
|
}),
|
|
2290
|
-
/* @__PURE__ */
|
|
2124
|
+
/* @__PURE__ */ z("span", {
|
|
2291
2125
|
className: "kanban-column-title-label",
|
|
2292
2126
|
children: e
|
|
2293
2127
|
}),
|
|
2294
|
-
t != null && /* @__PURE__ */
|
|
2128
|
+
t != null && /* @__PURE__ */ z(X, {
|
|
2295
2129
|
showDot: !1,
|
|
2296
2130
|
className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
|
|
2297
2131
|
children: t
|
|
2298
2132
|
})
|
|
2299
2133
|
]
|
|
2300
|
-
}), r && /* @__PURE__ */
|
|
2134
|
+
}), r && /* @__PURE__ */ z("div", {
|
|
2301
2135
|
className: "kanban-column-header-meta",
|
|
2302
|
-
children: /* @__PURE__ */
|
|
2136
|
+
children: /* @__PURE__ */ z("div", {
|
|
2303
2137
|
className: "kanban-column-header-action",
|
|
2304
2138
|
children: r
|
|
2305
2139
|
})
|
|
2306
2140
|
})]
|
|
2307
|
-
}), /* @__PURE__ */
|
|
2141
|
+
}), /* @__PURE__ */ z("div", {
|
|
2308
2142
|
className: Q("kanban-column-body", d),
|
|
2309
2143
|
style: f,
|
|
2310
2144
|
children: a
|
|
2311
2145
|
})]
|
|
2312
2146
|
});
|
|
2313
2147
|
}
|
|
2314
|
-
function
|
|
2148
|
+
function Rt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
2315
2149
|
let u = a ?? r;
|
|
2316
|
-
return /* @__PURE__ */
|
|
2150
|
+
return /* @__PURE__ */ z("div", {
|
|
2317
2151
|
className: Q("kanban-card", c),
|
|
2318
2152
|
onClick: s,
|
|
2319
2153
|
style: l,
|
|
2320
|
-
children: o || /* @__PURE__ */
|
|
2154
|
+
children: o || /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ B("div", {
|
|
2321
2155
|
className: "kanban-card-body",
|
|
2322
2156
|
children: [
|
|
2323
|
-
e && /* @__PURE__ */
|
|
2157
|
+
e && /* @__PURE__ */ z("div", {
|
|
2324
2158
|
className: "kanban-card-title",
|
|
2325
2159
|
children: e
|
|
2326
2160
|
}),
|
|
2327
|
-
t && /* @__PURE__ */
|
|
2161
|
+
t && /* @__PURE__ */ z("div", {
|
|
2328
2162
|
className: "kanban-card-subtitle",
|
|
2329
2163
|
children: t
|
|
2330
2164
|
}),
|
|
2331
|
-
n && /* @__PURE__ */
|
|
2165
|
+
n && /* @__PURE__ */ z("div", {
|
|
2332
2166
|
className: "kanban-card-badges",
|
|
2333
2167
|
children: n
|
|
2334
2168
|
})
|
|
2335
2169
|
]
|
|
2336
|
-
}), (u || i) && /* @__PURE__ */
|
|
2170
|
+
}), (u || i) && /* @__PURE__ */ B("div", {
|
|
2337
2171
|
className: "kanban-card-footer",
|
|
2338
|
-
children: [i && /* @__PURE__ */
|
|
2172
|
+
children: [i && /* @__PURE__ */ z("div", {
|
|
2339
2173
|
className: "kanban-card-footer-text",
|
|
2340
2174
|
children: i
|
|
2341
2175
|
}), u]
|
|
@@ -2347,50 +2181,50 @@ function $t({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
2347
2181
|
function $(...e) {
|
|
2348
2182
|
return e.filter(Boolean).join(" ");
|
|
2349
2183
|
}
|
|
2350
|
-
function
|
|
2351
|
-
return /* @__PURE__ */
|
|
2184
|
+
function zt({ children: e, className: t = "" }) {
|
|
2185
|
+
return /* @__PURE__ */ z("div", {
|
|
2352
2186
|
className: $("table-board", t),
|
|
2353
2187
|
children: e
|
|
2354
2188
|
});
|
|
2355
2189
|
}
|
|
2356
|
-
function
|
|
2190
|
+
function Bt({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
2357
2191
|
let [c, l] = u(i), d = r != null, f = d ? r : c;
|
|
2358
2192
|
function p() {
|
|
2359
2193
|
let e = !f;
|
|
2360
2194
|
d || l(e), a?.(e);
|
|
2361
2195
|
}
|
|
2362
|
-
return /* @__PURE__ */
|
|
2196
|
+
return /* @__PURE__ */ B("section", {
|
|
2363
2197
|
className: $("table-board-group", s),
|
|
2364
2198
|
style: n ? { "--table-board-group-accent-color": n } : void 0,
|
|
2365
|
-
children: [/* @__PURE__ */
|
|
2199
|
+
children: [/* @__PURE__ */ B("button", {
|
|
2366
2200
|
type: "button",
|
|
2367
2201
|
className: "table-board-group-header",
|
|
2368
2202
|
onClick: p,
|
|
2369
2203
|
"aria-expanded": f,
|
|
2370
2204
|
children: [
|
|
2371
|
-
/* @__PURE__ */
|
|
2205
|
+
/* @__PURE__ */ z("span", {
|
|
2372
2206
|
className: $("table-board-group-chevron", !f && "collapsed"),
|
|
2373
|
-
children: /* @__PURE__ */
|
|
2207
|
+
children: /* @__PURE__ */ z(v, { size: 12 })
|
|
2374
2208
|
}),
|
|
2375
|
-
/* @__PURE__ */
|
|
2209
|
+
/* @__PURE__ */ z("span", {
|
|
2376
2210
|
className: "table-board-group-label",
|
|
2377
2211
|
children: e
|
|
2378
2212
|
}),
|
|
2379
|
-
t != null && /* @__PURE__ */
|
|
2213
|
+
t != null && /* @__PURE__ */ z("span", {
|
|
2380
2214
|
className: "table-board-group-count",
|
|
2381
2215
|
children: t
|
|
2382
2216
|
})
|
|
2383
2217
|
]
|
|
2384
|
-
}), /* @__PURE__ */
|
|
2218
|
+
}), /* @__PURE__ */ z("div", {
|
|
2385
2219
|
className: $("table-board-group-panel", f && "open"),
|
|
2386
|
-
children: /* @__PURE__ */
|
|
2220
|
+
children: /* @__PURE__ */ z("div", {
|
|
2387
2221
|
className: "table-board-group-panel-inner",
|
|
2388
2222
|
children: o
|
|
2389
2223
|
})
|
|
2390
2224
|
})]
|
|
2391
2225
|
});
|
|
2392
2226
|
}
|
|
2393
|
-
function
|
|
2227
|
+
function Vt({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: i, subtitle: a, subtitleInline: s = !1, pills: c = [], maxVisibleLeadingPills: d, pinnedTrailingPillsCount: p = 0, metric: m, metricTone: h = "default", metricIcon: g, showMetricIcon: _ = !0, avatar: v, avatarImageUrl: y, avatarLabel: b, avatarName: x, avatarStyle: C, meta: w, onClick: T, className: E = "" }) {
|
|
2394
2228
|
let D = typeof T == "function", O = l(null), [k, A] = u(!1), j = Array.isArray(c) ? c : [], M = Math.max(0, Math.min(p, j.length)), N = M > 0 ? j.slice(0, -M) : j, P = M > 0 ? j.slice(-M) : [], F = typeof d == "number" && d >= 0 ? N.slice(0, d) : N, I = Math.max(0, N.length - F.length), L = [
|
|
2395
2229
|
...F,
|
|
2396
2230
|
...I > 0 ? [{
|
|
@@ -2402,13 +2236,13 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2402
2236
|
function R(e) {
|
|
2403
2237
|
D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
|
|
2404
2238
|
}
|
|
2405
|
-
let
|
|
2239
|
+
let V = x || w || b, H = C || (y ? void 0 : { background: "var(--accent-blue)" }), U = g || (h === "warning" ? f : S), ee = v || (y || b || V ? /* @__PURE__ */ z(J, {
|
|
2406
2240
|
imageUrl: y,
|
|
2407
2241
|
initials: b,
|
|
2408
|
-
name:
|
|
2242
|
+
name: V,
|
|
2409
2243
|
size: "sm",
|
|
2410
2244
|
className: "table-board-avatar",
|
|
2411
|
-
style:
|
|
2245
|
+
style: H
|
|
2412
2246
|
}) : null);
|
|
2413
2247
|
return o(() => {
|
|
2414
2248
|
let e = O.current;
|
|
@@ -2428,46 +2262,46 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2428
2262
|
c,
|
|
2429
2263
|
d,
|
|
2430
2264
|
p
|
|
2431
|
-
]), /* @__PURE__ */
|
|
2265
|
+
]), /* @__PURE__ */ B("div", {
|
|
2432
2266
|
className: $("table-board-row", D && "clickable", E),
|
|
2433
2267
|
onClick: T,
|
|
2434
2268
|
onKeyDown: R,
|
|
2435
2269
|
role: D ? "button" : void 0,
|
|
2436
2270
|
tabIndex: D ? 0 : void 0,
|
|
2437
2271
|
children: [
|
|
2438
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ z("span", {
|
|
2439
2273
|
className: "table-board-priority",
|
|
2440
2274
|
children: e
|
|
2441
2275
|
}),
|
|
2442
|
-
t && /* @__PURE__ */
|
|
2276
|
+
t && /* @__PURE__ */ z("span", {
|
|
2443
2277
|
className: "table-board-id",
|
|
2444
2278
|
children: t
|
|
2445
2279
|
}),
|
|
2446
|
-
/* @__PURE__ */
|
|
2280
|
+
/* @__PURE__ */ z("span", {
|
|
2447
2281
|
className: "table-board-status",
|
|
2448
|
-
children: /* @__PURE__ */
|
|
2282
|
+
children: /* @__PURE__ */ z("span", {
|
|
2449
2283
|
className: "table-board-status-dot",
|
|
2450
2284
|
style: { background: n }
|
|
2451
2285
|
})
|
|
2452
2286
|
}),
|
|
2453
|
-
/* @__PURE__ */
|
|
2287
|
+
/* @__PURE__ */ B("span", {
|
|
2454
2288
|
className: $("table-board-title-block", s && "inline-subtitle"),
|
|
2455
|
-
children: [/* @__PURE__ */
|
|
2289
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2456
2290
|
className: "table-board-title",
|
|
2457
2291
|
children: i
|
|
2458
|
-
}), a != null && a !== "" && /* @__PURE__ */
|
|
2292
|
+
}), a != null && a !== "" && /* @__PURE__ */ z("span", {
|
|
2459
2293
|
className: $("table-board-subtitle", s && "inline"),
|
|
2460
2294
|
children: a
|
|
2461
2295
|
})]
|
|
2462
2296
|
}),
|
|
2463
|
-
/* @__PURE__ */
|
|
2464
|
-
L.length > 0 && /* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ z("span", { className: "table-board-spacer" }),
|
|
2298
|
+
L.length > 0 && /* @__PURE__ */ z("span", {
|
|
2465
2299
|
ref: O,
|
|
2466
2300
|
className: $("table-board-pills", k && "has-overflow"),
|
|
2467
|
-
children: L.map((e, t) => /* @__PURE__ */
|
|
2301
|
+
children: L.map((e, t) => /* @__PURE__ */ B("span", {
|
|
2468
2302
|
className: "table-board-pill",
|
|
2469
2303
|
children: [
|
|
2470
|
-
e.showDot !== !1 && /* @__PURE__ */
|
|
2304
|
+
e.showDot !== !1 && /* @__PURE__ */ z("span", {
|
|
2471
2305
|
className: "table-board-pill-dot",
|
|
2472
2306
|
style: { background: e.color || "var(--text-quaternary)" }
|
|
2473
2307
|
}),
|
|
@@ -2476,18 +2310,18 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2476
2310
|
]
|
|
2477
2311
|
}, `${e.label}-${t}`))
|
|
2478
2312
|
}),
|
|
2479
|
-
m != null && (r(m) ? m : /* @__PURE__ */
|
|
2313
|
+
m != null && (r(m) ? m : /* @__PURE__ */ z(X, {
|
|
2480
2314
|
className: "table-board-metric",
|
|
2481
2315
|
showDot: !1,
|
|
2482
|
-
children: /* @__PURE__ */
|
|
2316
|
+
children: /* @__PURE__ */ z(_t, {
|
|
2483
2317
|
tone: h,
|
|
2484
|
-
icon:
|
|
2318
|
+
icon: U,
|
|
2485
2319
|
showIcon: _,
|
|
2486
2320
|
children: m
|
|
2487
2321
|
})
|
|
2488
2322
|
})),
|
|
2489
|
-
|
|
2490
|
-
w && /* @__PURE__ */
|
|
2323
|
+
ee,
|
|
2324
|
+
w && /* @__PURE__ */ z("span", {
|
|
2491
2325
|
className: "table-board-meta",
|
|
2492
2326
|
children: w
|
|
2493
2327
|
})
|
|
@@ -2496,40 +2330,40 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2496
2330
|
}
|
|
2497
2331
|
//#endregion
|
|
2498
2332
|
//#region src/components/data/KPICard.jsx
|
|
2499
|
-
function
|
|
2333
|
+
function Ht({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
2500
2334
|
let s = {
|
|
2501
2335
|
up: "var(--accent-green)",
|
|
2502
2336
|
down: "var(--accent-red)",
|
|
2503
2337
|
neutral: "var(--text-tertiary)"
|
|
2504
|
-
}, c = i === "up" ?
|
|
2505
|
-
return /* @__PURE__ */
|
|
2338
|
+
}, c = i === "up" ? I : i === "down" ? F : j;
|
|
2339
|
+
return /* @__PURE__ */ B("div", {
|
|
2506
2340
|
className: `kpi-card ${o}`,
|
|
2507
2341
|
children: [
|
|
2508
|
-
/* @__PURE__ */
|
|
2342
|
+
/* @__PURE__ */ B("div", {
|
|
2509
2343
|
className: "kpi-header",
|
|
2510
|
-
children: [/* @__PURE__ */
|
|
2344
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2511
2345
|
className: "kpi-title",
|
|
2512
2346
|
children: e
|
|
2513
|
-
}), a && /* @__PURE__ */
|
|
2347
|
+
}), a && /* @__PURE__ */ z("span", {
|
|
2514
2348
|
className: "kpi-icon",
|
|
2515
2349
|
children: a
|
|
2516
2350
|
})]
|
|
2517
2351
|
}),
|
|
2518
|
-
/* @__PURE__ */
|
|
2352
|
+
/* @__PURE__ */ z("div", {
|
|
2519
2353
|
className: "kpi-value",
|
|
2520
2354
|
children: t
|
|
2521
2355
|
}),
|
|
2522
|
-
(n !== void 0 || r) && /* @__PURE__ */
|
|
2356
|
+
(n !== void 0 || r) && /* @__PURE__ */ B("div", {
|
|
2523
2357
|
className: "kpi-footer",
|
|
2524
|
-
children: [/* @__PURE__ */
|
|
2358
|
+
children: [/* @__PURE__ */ B("span", {
|
|
2525
2359
|
className: "kpi-trend",
|
|
2526
2360
|
style: { color: s[i] },
|
|
2527
|
-
children: [/* @__PURE__ */
|
|
2361
|
+
children: [/* @__PURE__ */ z(c, { size: 12 }), n !== void 0 && /* @__PURE__ */ B("span", { children: [
|
|
2528
2362
|
n > 0 ? "+" : "",
|
|
2529
2363
|
n,
|
|
2530
2364
|
"%"
|
|
2531
2365
|
] })]
|
|
2532
|
-
}), r && /* @__PURE__ */
|
|
2366
|
+
}), r && /* @__PURE__ */ z("span", {
|
|
2533
2367
|
className: "kpi-change-label",
|
|
2534
2368
|
children: r
|
|
2535
2369
|
})]
|
|
@@ -2537,24 +2371,24 @@ function rn({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
2537
2371
|
]
|
|
2538
2372
|
});
|
|
2539
2373
|
}
|
|
2540
|
-
function
|
|
2541
|
-
return /* @__PURE__ */
|
|
2374
|
+
function Ut({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
2375
|
+
return /* @__PURE__ */ B("div", {
|
|
2542
2376
|
className: `stat-card ${i}`,
|
|
2543
|
-
children: [r && /* @__PURE__ */
|
|
2377
|
+
children: [r && /* @__PURE__ */ z("div", {
|
|
2544
2378
|
className: "stat-card-accent",
|
|
2545
2379
|
style: { background: r }
|
|
2546
|
-
}), /* @__PURE__ */
|
|
2380
|
+
}), /* @__PURE__ */ B("div", {
|
|
2547
2381
|
className: "stat-card-content",
|
|
2548
2382
|
children: [
|
|
2549
|
-
/* @__PURE__ */
|
|
2383
|
+
/* @__PURE__ */ z("span", {
|
|
2550
2384
|
className: "stat-card-label",
|
|
2551
2385
|
children: e
|
|
2552
2386
|
}),
|
|
2553
|
-
/* @__PURE__ */
|
|
2387
|
+
/* @__PURE__ */ z("span", {
|
|
2554
2388
|
className: "stat-card-value",
|
|
2555
2389
|
children: t
|
|
2556
2390
|
}),
|
|
2557
|
-
n && /* @__PURE__ */
|
|
2391
|
+
n && /* @__PURE__ */ z("span", {
|
|
2558
2392
|
className: "stat-card-subtitle",
|
|
2559
2393
|
children: n
|
|
2560
2394
|
})
|
|
@@ -2564,56 +2398,56 @@ function an({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
2564
2398
|
}
|
|
2565
2399
|
//#endregion
|
|
2566
2400
|
//#region src/components/data/NotificationsPanel.jsx
|
|
2567
|
-
function
|
|
2401
|
+
function Wt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
2568
2402
|
let i = e.filter((e) => !e.read);
|
|
2569
|
-
return /* @__PURE__ */
|
|
2403
|
+
return /* @__PURE__ */ B("div", {
|
|
2570
2404
|
className: `notifications-panel ${r}`,
|
|
2571
|
-
children: [/* @__PURE__ */
|
|
2405
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2572
2406
|
className: "notifications-header",
|
|
2573
|
-
children: [/* @__PURE__ */
|
|
2407
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2574
2408
|
className: "notifications-title",
|
|
2575
2409
|
children: [
|
|
2576
|
-
/* @__PURE__ */
|
|
2577
|
-
/* @__PURE__ */
|
|
2578
|
-
i.length > 0 && /* @__PURE__ */
|
|
2410
|
+
/* @__PURE__ */ z(p, { size: 16 }),
|
|
2411
|
+
/* @__PURE__ */ z("span", { children: "Notifications" }),
|
|
2412
|
+
i.length > 0 && /* @__PURE__ */ z("span", {
|
|
2579
2413
|
className: "badge badge-purple",
|
|
2580
2414
|
style: { marginLeft: "var(--space-1)" },
|
|
2581
2415
|
children: i.length
|
|
2582
2416
|
})
|
|
2583
2417
|
]
|
|
2584
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
2418
|
+
}), i.length > 0 && /* @__PURE__ */ B("button", {
|
|
2585
2419
|
className: "btn btn-ghost btn-sm",
|
|
2586
2420
|
onClick: n,
|
|
2587
|
-
children: [/* @__PURE__ */
|
|
2421
|
+
children: [/* @__PURE__ */ z(g, { size: 14 }), " Mark all read"]
|
|
2588
2422
|
})]
|
|
2589
|
-
}), /* @__PURE__ */
|
|
2423
|
+
}), /* @__PURE__ */ B("div", {
|
|
2590
2424
|
className: "notifications-list",
|
|
2591
|
-
children: [e.length === 0 && /* @__PURE__ */
|
|
2425
|
+
children: [e.length === 0 && /* @__PURE__ */ z("div", {
|
|
2592
2426
|
className: "notifications-empty",
|
|
2593
2427
|
children: "No notifications"
|
|
2594
|
-
}), e.map((e) => /* @__PURE__ */
|
|
2428
|
+
}), e.map((e) => /* @__PURE__ */ B("div", {
|
|
2595
2429
|
className: `notification-item ${e.read ? "" : "unread"}`,
|
|
2596
2430
|
onClick: () => !e.read && t?.(e.id),
|
|
2597
2431
|
children: [
|
|
2598
|
-
/* @__PURE__ */
|
|
2432
|
+
/* @__PURE__ */ z(J, {
|
|
2599
2433
|
name: e.user,
|
|
2600
2434
|
size: "sm"
|
|
2601
2435
|
}),
|
|
2602
|
-
/* @__PURE__ */
|
|
2436
|
+
/* @__PURE__ */ B("div", {
|
|
2603
2437
|
className: "notification-content",
|
|
2604
|
-
children: [/* @__PURE__ */
|
|
2438
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2605
2439
|
className: "notification-text",
|
|
2606
2440
|
children: [
|
|
2607
|
-
/* @__PURE__ */
|
|
2441
|
+
/* @__PURE__ */ z("strong", { children: e.user }),
|
|
2608
2442
|
" ",
|
|
2609
2443
|
e.text
|
|
2610
2444
|
]
|
|
2611
|
-
}), /* @__PURE__ */
|
|
2445
|
+
}), /* @__PURE__ */ z("span", {
|
|
2612
2446
|
className: "notification-time",
|
|
2613
2447
|
children: e.time
|
|
2614
2448
|
})]
|
|
2615
2449
|
}),
|
|
2616
|
-
!e.read && /* @__PURE__ */
|
|
2450
|
+
!e.read && /* @__PURE__ */ z("div", { className: "notification-dot" })
|
|
2617
2451
|
]
|
|
2618
2452
|
}, e.id))]
|
|
2619
2453
|
})]
|
|
@@ -2621,46 +2455,46 @@ function on({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
2621
2455
|
}
|
|
2622
2456
|
//#endregion
|
|
2623
2457
|
//#region src/components/Icons.jsx
|
|
2624
|
-
function
|
|
2625
|
-
return /* @__PURE__ */
|
|
2458
|
+
function Gt() {
|
|
2459
|
+
return /* @__PURE__ */ z("svg", {
|
|
2626
2460
|
width: "16",
|
|
2627
2461
|
height: "16",
|
|
2628
2462
|
viewBox: "0 0 16 16",
|
|
2629
2463
|
fill: "currentColor",
|
|
2630
|
-
children: /* @__PURE__ */
|
|
2464
|
+
children: /* @__PURE__ */ z("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" })
|
|
2631
2465
|
});
|
|
2632
2466
|
}
|
|
2633
|
-
function
|
|
2634
|
-
return /* @__PURE__ */
|
|
2467
|
+
function Kt() {
|
|
2468
|
+
return /* @__PURE__ */ B("svg", {
|
|
2635
2469
|
width: "16",
|
|
2636
2470
|
height: "16",
|
|
2637
2471
|
viewBox: "0 0 16 16",
|
|
2638
2472
|
fill: "currentColor",
|
|
2639
|
-
children: [/* @__PURE__ */
|
|
2473
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2640
2474
|
cx: "8",
|
|
2641
2475
|
cy: "8",
|
|
2642
2476
|
r: "6",
|
|
2643
2477
|
fill: "none",
|
|
2644
2478
|
stroke: "currentColor",
|
|
2645
2479
|
strokeWidth: "1.5"
|
|
2646
|
-
}), /* @__PURE__ */
|
|
2480
|
+
}), /* @__PURE__ */ z("circle", {
|
|
2647
2481
|
cx: "8",
|
|
2648
2482
|
cy: "8",
|
|
2649
2483
|
r: "2"
|
|
2650
2484
|
})]
|
|
2651
2485
|
});
|
|
2652
2486
|
}
|
|
2653
|
-
function
|
|
2654
|
-
return /* @__PURE__ */
|
|
2487
|
+
function qt() {
|
|
2488
|
+
return /* @__PURE__ */ z("svg", {
|
|
2655
2489
|
width: "16",
|
|
2656
2490
|
height: "16",
|
|
2657
2491
|
viewBox: "0 0 16 16",
|
|
2658
2492
|
fill: "currentColor",
|
|
2659
|
-
children: /* @__PURE__ */
|
|
2493
|
+
children: /* @__PURE__ */ z("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" })
|
|
2660
2494
|
});
|
|
2661
2495
|
}
|
|
2662
|
-
function
|
|
2663
|
-
return /* @__PURE__ */
|
|
2496
|
+
function Jt() {
|
|
2497
|
+
return /* @__PURE__ */ z("svg", {
|
|
2664
2498
|
width: "16",
|
|
2665
2499
|
height: "16",
|
|
2666
2500
|
viewBox: "0 0 16 16",
|
|
@@ -2669,45 +2503,45 @@ function un() {
|
|
|
2669
2503
|
strokeWidth: "1.5",
|
|
2670
2504
|
strokeLinecap: "round",
|
|
2671
2505
|
strokeLinejoin: "round",
|
|
2672
|
-
children: /* @__PURE__ */
|
|
2506
|
+
children: /* @__PURE__ */ z("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
2673
2507
|
});
|
|
2674
2508
|
}
|
|
2675
|
-
function
|
|
2676
|
-
return /* @__PURE__ */
|
|
2509
|
+
function Yt() {
|
|
2510
|
+
return /* @__PURE__ */ z("svg", {
|
|
2677
2511
|
width: "16",
|
|
2678
2512
|
height: "16",
|
|
2679
2513
|
viewBox: "0 0 16 16",
|
|
2680
2514
|
fill: "currentColor",
|
|
2681
|
-
children: /* @__PURE__ */
|
|
2515
|
+
children: /* @__PURE__ */ z("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" })
|
|
2682
2516
|
});
|
|
2683
2517
|
}
|
|
2684
|
-
function
|
|
2685
|
-
return /* @__PURE__ */
|
|
2518
|
+
function Xt() {
|
|
2519
|
+
return /* @__PURE__ */ z("svg", {
|
|
2686
2520
|
width: "16",
|
|
2687
2521
|
height: "16",
|
|
2688
2522
|
viewBox: "0 0 16 16",
|
|
2689
2523
|
fill: "currentColor",
|
|
2690
|
-
children: /* @__PURE__ */
|
|
2524
|
+
children: /* @__PURE__ */ z("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" })
|
|
2691
2525
|
});
|
|
2692
2526
|
}
|
|
2693
|
-
function
|
|
2694
|
-
return /* @__PURE__ */
|
|
2527
|
+
function Zt() {
|
|
2528
|
+
return /* @__PURE__ */ B("svg", {
|
|
2695
2529
|
width: "16",
|
|
2696
2530
|
height: "16",
|
|
2697
2531
|
viewBox: "0 0 16 16",
|
|
2698
2532
|
fill: "currentColor",
|
|
2699
2533
|
children: [
|
|
2700
|
-
/* @__PURE__ */
|
|
2534
|
+
/* @__PURE__ */ z("circle", {
|
|
2701
2535
|
cx: "4",
|
|
2702
2536
|
cy: "8",
|
|
2703
2537
|
r: "1.5"
|
|
2704
2538
|
}),
|
|
2705
|
-
/* @__PURE__ */
|
|
2539
|
+
/* @__PURE__ */ z("circle", {
|
|
2706
2540
|
cx: "8",
|
|
2707
2541
|
cy: "8",
|
|
2708
2542
|
r: "1.5"
|
|
2709
2543
|
}),
|
|
2710
|
-
/* @__PURE__ */
|
|
2544
|
+
/* @__PURE__ */ z("circle", {
|
|
2711
2545
|
cx: "12",
|
|
2712
2546
|
cy: "8",
|
|
2713
2547
|
r: "1.5"
|
|
@@ -2715,26 +2549,26 @@ function pn() {
|
|
|
2715
2549
|
]
|
|
2716
2550
|
});
|
|
2717
2551
|
}
|
|
2718
|
-
function
|
|
2719
|
-
return /* @__PURE__ */
|
|
2552
|
+
function Qt() {
|
|
2553
|
+
return /* @__PURE__ */ B("svg", {
|
|
2720
2554
|
width: "16",
|
|
2721
2555
|
height: "16",
|
|
2722
2556
|
viewBox: "0 0 16 16",
|
|
2723
2557
|
fill: "none",
|
|
2724
2558
|
stroke: "currentColor",
|
|
2725
2559
|
strokeWidth: "1.5",
|
|
2726
|
-
children: [/* @__PURE__ */
|
|
2560
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2727
2561
|
cx: "7",
|
|
2728
2562
|
cy: "7",
|
|
2729
2563
|
r: "4.5"
|
|
2730
|
-
}), /* @__PURE__ */
|
|
2564
|
+
}), /* @__PURE__ */ z("path", {
|
|
2731
2565
|
d: "M10.5 10.5L14 14",
|
|
2732
2566
|
strokeLinecap: "round"
|
|
2733
2567
|
})]
|
|
2734
2568
|
});
|
|
2735
2569
|
}
|
|
2736
|
-
function
|
|
2737
|
-
return /* @__PURE__ */
|
|
2570
|
+
function $t() {
|
|
2571
|
+
return /* @__PURE__ */ z("svg", {
|
|
2738
2572
|
width: "16",
|
|
2739
2573
|
height: "16",
|
|
2740
2574
|
viewBox: "0 0 16 16",
|
|
@@ -2743,11 +2577,11 @@ function hn() {
|
|
|
2743
2577
|
strokeWidth: "1.5",
|
|
2744
2578
|
strokeLinecap: "round",
|
|
2745
2579
|
strokeLinejoin: "round",
|
|
2746
|
-
children: /* @__PURE__ */
|
|
2580
|
+
children: /* @__PURE__ */ z("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
2747
2581
|
});
|
|
2748
2582
|
}
|
|
2749
|
-
function
|
|
2750
|
-
return /* @__PURE__ */
|
|
2583
|
+
function en() {
|
|
2584
|
+
return /* @__PURE__ */ z("svg", {
|
|
2751
2585
|
width: "14",
|
|
2752
2586
|
height: "14",
|
|
2753
2587
|
viewBox: "0 0 14 14",
|
|
@@ -2756,11 +2590,11 @@ function gn() {
|
|
|
2756
2590
|
strokeWidth: "1.5",
|
|
2757
2591
|
strokeLinecap: "round",
|
|
2758
2592
|
strokeLinejoin: "round",
|
|
2759
|
-
children: /* @__PURE__ */
|
|
2593
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
2760
2594
|
});
|
|
2761
2595
|
}
|
|
2762
|
-
function
|
|
2763
|
-
return /* @__PURE__ */
|
|
2596
|
+
function tn() {
|
|
2597
|
+
return /* @__PURE__ */ z("svg", {
|
|
2764
2598
|
width: "14",
|
|
2765
2599
|
height: "14",
|
|
2766
2600
|
viewBox: "0 0 14 14",
|
|
@@ -2769,24 +2603,24 @@ function _n() {
|
|
|
2769
2603
|
strokeWidth: "1.5",
|
|
2770
2604
|
strokeLinecap: "round",
|
|
2771
2605
|
strokeLinejoin: "round",
|
|
2772
|
-
children: /* @__PURE__ */
|
|
2606
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
2773
2607
|
});
|
|
2774
2608
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return /* @__PURE__ */
|
|
2609
|
+
function nn() {
|
|
2610
|
+
return /* @__PURE__ */ z("svg", {
|
|
2777
2611
|
width: "14",
|
|
2778
2612
|
height: "14",
|
|
2779
2613
|
viewBox: "0 0 14 14",
|
|
2780
2614
|
fill: "#c9a84e",
|
|
2781
|
-
children: /* @__PURE__ */
|
|
2615
|
+
children: /* @__PURE__ */ z("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" })
|
|
2782
2616
|
});
|
|
2783
2617
|
}
|
|
2784
|
-
function
|
|
2785
|
-
return /* @__PURE__ */
|
|
2618
|
+
function rn() {
|
|
2619
|
+
return /* @__PURE__ */ B("svg", {
|
|
2786
2620
|
width: "14",
|
|
2787
2621
|
height: "14",
|
|
2788
2622
|
viewBox: "0 0 14 14",
|
|
2789
|
-
children: [/* @__PURE__ */
|
|
2623
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2790
2624
|
cx: "7",
|
|
2791
2625
|
cy: "7",
|
|
2792
2626
|
r: "5.5",
|
|
@@ -2794,7 +2628,7 @@ function yn() {
|
|
|
2794
2628
|
stroke: "#c9a84e",
|
|
2795
2629
|
strokeWidth: "1.5",
|
|
2796
2630
|
strokeDasharray: "8.6 2.9"
|
|
2797
|
-
}), /* @__PURE__ */
|
|
2631
|
+
}), /* @__PURE__ */ z("circle", {
|
|
2798
2632
|
cx: "7",
|
|
2799
2633
|
cy: "7",
|
|
2800
2634
|
r: "2",
|
|
@@ -2802,17 +2636,17 @@ function yn() {
|
|
|
2802
2636
|
})]
|
|
2803
2637
|
});
|
|
2804
2638
|
}
|
|
2805
|
-
function
|
|
2806
|
-
return /* @__PURE__ */
|
|
2639
|
+
function an() {
|
|
2640
|
+
return /* @__PURE__ */ B("svg", {
|
|
2807
2641
|
width: "14",
|
|
2808
2642
|
height: "14",
|
|
2809
2643
|
viewBox: "0 0 14 14",
|
|
2810
|
-
children: [/* @__PURE__ */
|
|
2644
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2811
2645
|
cx: "7",
|
|
2812
2646
|
cy: "7",
|
|
2813
2647
|
r: "6",
|
|
2814
2648
|
fill: "#5bb98e"
|
|
2815
|
-
}), /* @__PURE__ */
|
|
2649
|
+
}), /* @__PURE__ */ z("path", {
|
|
2816
2650
|
d: "M4.5 7l2 2 3-3.5",
|
|
2817
2651
|
stroke: "#08090a",
|
|
2818
2652
|
strokeWidth: "1.5",
|
|
@@ -2822,12 +2656,12 @@ function bn() {
|
|
|
2822
2656
|
})]
|
|
2823
2657
|
});
|
|
2824
2658
|
}
|
|
2825
|
-
function
|
|
2826
|
-
return /* @__PURE__ */
|
|
2659
|
+
function on() {
|
|
2660
|
+
return /* @__PURE__ */ z("svg", {
|
|
2827
2661
|
width: "14",
|
|
2828
2662
|
height: "14",
|
|
2829
2663
|
viewBox: "0 0 14 14",
|
|
2830
|
-
children: /* @__PURE__ */
|
|
2664
|
+
children: /* @__PURE__ */ z("circle", {
|
|
2831
2665
|
cx: "7",
|
|
2832
2666
|
cy: "7",
|
|
2833
2667
|
r: "5.5",
|
|
@@ -2837,12 +2671,12 @@ function xn() {
|
|
|
2837
2671
|
})
|
|
2838
2672
|
});
|
|
2839
2673
|
}
|
|
2840
|
-
function
|
|
2841
|
-
return /* @__PURE__ */
|
|
2674
|
+
function sn() {
|
|
2675
|
+
return /* @__PURE__ */ z("svg", {
|
|
2842
2676
|
width: "14",
|
|
2843
2677
|
height: "14",
|
|
2844
2678
|
viewBox: "0 0 14 14",
|
|
2845
|
-
children: /* @__PURE__ */
|
|
2679
|
+
children: /* @__PURE__ */ z("circle", {
|
|
2846
2680
|
cx: "7",
|
|
2847
2681
|
cy: "7",
|
|
2848
2682
|
r: "5.5",
|
|
@@ -2853,19 +2687,19 @@ function Sn() {
|
|
|
2853
2687
|
})
|
|
2854
2688
|
});
|
|
2855
2689
|
}
|
|
2856
|
-
function
|
|
2857
|
-
return /* @__PURE__ */
|
|
2690
|
+
function cn() {
|
|
2691
|
+
return /* @__PURE__ */ B("svg", {
|
|
2858
2692
|
width: "14",
|
|
2859
2693
|
height: "14",
|
|
2860
2694
|
viewBox: "0 0 14 14",
|
|
2861
|
-
children: [/* @__PURE__ */
|
|
2695
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2862
2696
|
cx: "7",
|
|
2863
2697
|
cy: "7",
|
|
2864
2698
|
r: "5.5",
|
|
2865
2699
|
fill: "none",
|
|
2866
2700
|
stroke: "#6b6d71",
|
|
2867
2701
|
strokeWidth: "1.5"
|
|
2868
|
-
}), /* @__PURE__ */
|
|
2702
|
+
}), /* @__PURE__ */ z("path", {
|
|
2869
2703
|
d: "M4.5 7h5",
|
|
2870
2704
|
stroke: "#6b6d71",
|
|
2871
2705
|
strokeWidth: "1.5",
|
|
@@ -2873,37 +2707,37 @@ function Cn() {
|
|
|
2873
2707
|
})]
|
|
2874
2708
|
});
|
|
2875
2709
|
}
|
|
2876
|
-
function
|
|
2877
|
-
return /* @__PURE__ */
|
|
2710
|
+
function ln() {
|
|
2711
|
+
return /* @__PURE__ */ z("svg", {
|
|
2878
2712
|
width: "14",
|
|
2879
2713
|
height: "14",
|
|
2880
2714
|
viewBox: "0 0 14 14",
|
|
2881
2715
|
fill: "#c75a5a",
|
|
2882
|
-
children: /* @__PURE__ */
|
|
2716
|
+
children: /* @__PURE__ */ z("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" })
|
|
2883
2717
|
});
|
|
2884
2718
|
}
|
|
2885
|
-
function
|
|
2886
|
-
return /* @__PURE__ */
|
|
2719
|
+
function un() {
|
|
2720
|
+
return /* @__PURE__ */ B("svg", {
|
|
2887
2721
|
width: "14",
|
|
2888
2722
|
height: "14",
|
|
2889
2723
|
viewBox: "0 0 14 14",
|
|
2890
2724
|
fill: "#c4a06a",
|
|
2891
2725
|
children: [
|
|
2892
|
-
/* @__PURE__ */
|
|
2726
|
+
/* @__PURE__ */ z("rect", {
|
|
2893
2727
|
x: "2",
|
|
2894
2728
|
y: "8",
|
|
2895
2729
|
width: "2.5",
|
|
2896
2730
|
height: "4",
|
|
2897
2731
|
rx: "0.5"
|
|
2898
2732
|
}),
|
|
2899
|
-
/* @__PURE__ */
|
|
2733
|
+
/* @__PURE__ */ z("rect", {
|
|
2900
2734
|
x: "5.75",
|
|
2901
2735
|
y: "5",
|
|
2902
2736
|
width: "2.5",
|
|
2903
2737
|
height: "7",
|
|
2904
2738
|
rx: "0.5"
|
|
2905
2739
|
}),
|
|
2906
|
-
/* @__PURE__ */
|
|
2740
|
+
/* @__PURE__ */ z("rect", {
|
|
2907
2741
|
x: "9.5",
|
|
2908
2742
|
y: "2",
|
|
2909
2743
|
width: "2.5",
|
|
@@ -2913,13 +2747,13 @@ function Tn() {
|
|
|
2913
2747
|
]
|
|
2914
2748
|
});
|
|
2915
2749
|
}
|
|
2916
|
-
function
|
|
2917
|
-
return /* @__PURE__ */
|
|
2750
|
+
function dn() {
|
|
2751
|
+
return /* @__PURE__ */ B("svg", {
|
|
2918
2752
|
width: "14",
|
|
2919
2753
|
height: "14",
|
|
2920
2754
|
viewBox: "0 0 14 14",
|
|
2921
2755
|
children: [
|
|
2922
|
-
/* @__PURE__ */
|
|
2756
|
+
/* @__PURE__ */ z("rect", {
|
|
2923
2757
|
x: "2",
|
|
2924
2758
|
y: "8",
|
|
2925
2759
|
width: "2.5",
|
|
@@ -2927,7 +2761,7 @@ function En() {
|
|
|
2927
2761
|
rx: "0.5",
|
|
2928
2762
|
fill: "#c9a84e"
|
|
2929
2763
|
}),
|
|
2930
|
-
/* @__PURE__ */
|
|
2764
|
+
/* @__PURE__ */ z("rect", {
|
|
2931
2765
|
x: "5.75",
|
|
2932
2766
|
y: "5",
|
|
2933
2767
|
width: "2.5",
|
|
@@ -2935,7 +2769,7 @@ function En() {
|
|
|
2935
2769
|
rx: "0.5",
|
|
2936
2770
|
fill: "#c9a84e"
|
|
2937
2771
|
}),
|
|
2938
|
-
/* @__PURE__ */
|
|
2772
|
+
/* @__PURE__ */ z("rect", {
|
|
2939
2773
|
x: "9.5",
|
|
2940
2774
|
y: "2",
|
|
2941
2775
|
width: "2.5",
|
|
@@ -2946,13 +2780,13 @@ function En() {
|
|
|
2946
2780
|
]
|
|
2947
2781
|
});
|
|
2948
2782
|
}
|
|
2949
|
-
function
|
|
2950
|
-
return /* @__PURE__ */
|
|
2783
|
+
function fn() {
|
|
2784
|
+
return /* @__PURE__ */ B("svg", {
|
|
2951
2785
|
width: "14",
|
|
2952
2786
|
height: "14",
|
|
2953
2787
|
viewBox: "0 0 14 14",
|
|
2954
2788
|
children: [
|
|
2955
|
-
/* @__PURE__ */
|
|
2789
|
+
/* @__PURE__ */ z("rect", {
|
|
2956
2790
|
x: "2",
|
|
2957
2791
|
y: "8",
|
|
2958
2792
|
width: "2.5",
|
|
@@ -2960,7 +2794,7 @@ function Dn() {
|
|
|
2960
2794
|
rx: "0.5",
|
|
2961
2795
|
fill: "#5bb98e"
|
|
2962
2796
|
}),
|
|
2963
|
-
/* @__PURE__ */
|
|
2797
|
+
/* @__PURE__ */ z("rect", {
|
|
2964
2798
|
x: "5.75",
|
|
2965
2799
|
y: "5",
|
|
2966
2800
|
width: "2.5",
|
|
@@ -2968,7 +2802,7 @@ function Dn() {
|
|
|
2968
2802
|
rx: "0.5",
|
|
2969
2803
|
fill: "#4e5054"
|
|
2970
2804
|
}),
|
|
2971
|
-
/* @__PURE__ */
|
|
2805
|
+
/* @__PURE__ */ z("rect", {
|
|
2972
2806
|
x: "9.5",
|
|
2973
2807
|
y: "2",
|
|
2974
2808
|
width: "2.5",
|
|
@@ -2979,8 +2813,8 @@ function Dn() {
|
|
|
2979
2813
|
]
|
|
2980
2814
|
});
|
|
2981
2815
|
}
|
|
2982
|
-
function
|
|
2983
|
-
return /* @__PURE__ */
|
|
2816
|
+
function pn() {
|
|
2817
|
+
return /* @__PURE__ */ z("svg", {
|
|
2984
2818
|
width: "14",
|
|
2985
2819
|
height: "14",
|
|
2986
2820
|
viewBox: "0 0 14 14",
|
|
@@ -2988,11 +2822,11 @@ function On() {
|
|
|
2988
2822
|
stroke: "currentColor",
|
|
2989
2823
|
strokeWidth: "1.5",
|
|
2990
2824
|
strokeLinecap: "round",
|
|
2991
|
-
children: /* @__PURE__ */
|
|
2825
|
+
children: /* @__PURE__ */ z("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" })
|
|
2992
2826
|
});
|
|
2993
2827
|
}
|
|
2994
|
-
function
|
|
2995
|
-
return /* @__PURE__ */
|
|
2828
|
+
function mn() {
|
|
2829
|
+
return /* @__PURE__ */ z("svg", {
|
|
2996
2830
|
width: "14",
|
|
2997
2831
|
height: "14",
|
|
2998
2832
|
viewBox: "0 0 14 14",
|
|
@@ -3001,11 +2835,11 @@ function kn() {
|
|
|
3001
2835
|
strokeWidth: "1.5",
|
|
3002
2836
|
strokeLinecap: "round",
|
|
3003
2837
|
strokeLinejoin: "round",
|
|
3004
|
-
children: /* @__PURE__ */
|
|
2838
|
+
children: /* @__PURE__ */ z("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
3005
2839
|
});
|
|
3006
2840
|
}
|
|
3007
|
-
function
|
|
3008
|
-
return /* @__PURE__ */
|
|
2841
|
+
function hn() {
|
|
2842
|
+
return /* @__PURE__ */ B("svg", {
|
|
3009
2843
|
width: "14",
|
|
3010
2844
|
height: "14",
|
|
3011
2845
|
viewBox: "0 0 14 14",
|
|
@@ -3014,15 +2848,15 @@ function An() {
|
|
|
3014
2848
|
strokeWidth: "1.5",
|
|
3015
2849
|
strokeLinecap: "round",
|
|
3016
2850
|
strokeLinejoin: "round",
|
|
3017
|
-
children: [/* @__PURE__ */
|
|
2851
|
+
children: [/* @__PURE__ */ z("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__ */ z("circle", {
|
|
3018
2852
|
cx: "7",
|
|
3019
2853
|
cy: "7",
|
|
3020
2854
|
r: "2"
|
|
3021
2855
|
})]
|
|
3022
2856
|
});
|
|
3023
2857
|
}
|
|
3024
|
-
function
|
|
3025
|
-
return /* @__PURE__ */
|
|
2858
|
+
function gn() {
|
|
2859
|
+
return /* @__PURE__ */ z("svg", {
|
|
3026
2860
|
width: "14",
|
|
3027
2861
|
height: "14",
|
|
3028
2862
|
viewBox: "0 0 14 14",
|
|
@@ -3030,11 +2864,11 @@ function jn() {
|
|
|
3030
2864
|
stroke: "currentColor",
|
|
3031
2865
|
strokeWidth: "1.5",
|
|
3032
2866
|
strokeLinecap: "round",
|
|
3033
|
-
children: /* @__PURE__ */
|
|
2867
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
3034
2868
|
});
|
|
3035
2869
|
}
|
|
3036
|
-
function
|
|
3037
|
-
return /* @__PURE__ */
|
|
2870
|
+
function _n() {
|
|
2871
|
+
return /* @__PURE__ */ z("svg", {
|
|
3038
2872
|
width: "14",
|
|
3039
2873
|
height: "14",
|
|
3040
2874
|
viewBox: "0 0 14 14",
|
|
@@ -3043,11 +2877,11 @@ function Mn() {
|
|
|
3043
2877
|
strokeWidth: "2",
|
|
3044
2878
|
strokeLinecap: "round",
|
|
3045
2879
|
strokeLinejoin: "round",
|
|
3046
|
-
children: /* @__PURE__ */
|
|
2880
|
+
children: /* @__PURE__ */ z("path", { d: "M3 7.5l3 3 5-6" })
|
|
3047
2881
|
});
|
|
3048
2882
|
}
|
|
3049
|
-
function
|
|
3050
|
-
return /* @__PURE__ */
|
|
2883
|
+
function vn() {
|
|
2884
|
+
return /* @__PURE__ */ B("svg", {
|
|
3051
2885
|
width: "14",
|
|
3052
2886
|
height: "14",
|
|
3053
2887
|
viewBox: "0 0 14 14",
|
|
@@ -3056,17 +2890,17 @@ function Nn() {
|
|
|
3056
2890
|
strokeWidth: "1.5",
|
|
3057
2891
|
strokeLinecap: "round",
|
|
3058
2892
|
strokeLinejoin: "round",
|
|
3059
|
-
children: [/* @__PURE__ */
|
|
2893
|
+
children: [/* @__PURE__ */ z("rect", {
|
|
3060
2894
|
x: "4.5",
|
|
3061
2895
|
y: "4.5",
|
|
3062
2896
|
width: "7",
|
|
3063
2897
|
height: "7",
|
|
3064
2898
|
rx: "1"
|
|
3065
|
-
}), /* @__PURE__ */
|
|
2899
|
+
}), /* @__PURE__ */ z("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" })]
|
|
3066
2900
|
});
|
|
3067
2901
|
}
|
|
3068
|
-
function
|
|
3069
|
-
return /* @__PURE__ */
|
|
2902
|
+
function yn() {
|
|
2903
|
+
return /* @__PURE__ */ z("svg", {
|
|
3070
2904
|
width: "14",
|
|
3071
2905
|
height: "14",
|
|
3072
2906
|
viewBox: "0 0 14 14",
|
|
@@ -3075,11 +2909,11 @@ function Pn() {
|
|
|
3075
2909
|
strokeWidth: "1.5",
|
|
3076
2910
|
strokeLinecap: "round",
|
|
3077
2911
|
strokeLinejoin: "round",
|
|
3078
|
-
children: /* @__PURE__ */
|
|
2912
|
+
children: /* @__PURE__ */ z("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" })
|
|
3079
2913
|
});
|
|
3080
2914
|
}
|
|
3081
|
-
function
|
|
3082
|
-
return /* @__PURE__ */
|
|
2915
|
+
function bn() {
|
|
2916
|
+
return /* @__PURE__ */ B("svg", {
|
|
3083
2917
|
width: "14",
|
|
3084
2918
|
height: "14",
|
|
3085
2919
|
viewBox: "0 0 14 14",
|
|
@@ -3088,17 +2922,17 @@ function Fn() {
|
|
|
3088
2922
|
strokeWidth: "1.5",
|
|
3089
2923
|
strokeLinecap: "round",
|
|
3090
2924
|
strokeLinejoin: "round",
|
|
3091
|
-
children: [/* @__PURE__ */
|
|
2925
|
+
children: [/* @__PURE__ */ z("rect", {
|
|
3092
2926
|
x: "1.5",
|
|
3093
2927
|
y: "2.5",
|
|
3094
2928
|
width: "11",
|
|
3095
2929
|
height: "10",
|
|
3096
2930
|
rx: "1"
|
|
3097
|
-
}), /* @__PURE__ */
|
|
2931
|
+
}), /* @__PURE__ */ z("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
3098
2932
|
});
|
|
3099
2933
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return /* @__PURE__ */
|
|
2934
|
+
function xn() {
|
|
2935
|
+
return /* @__PURE__ */ z("svg", {
|
|
3102
2936
|
width: "14",
|
|
3103
2937
|
height: "14",
|
|
3104
2938
|
viewBox: "0 0 14 14",
|
|
@@ -3107,20 +2941,20 @@ function In() {
|
|
|
3107
2941
|
strokeWidth: "1.5",
|
|
3108
2942
|
strokeLinecap: "round",
|
|
3109
2943
|
strokeLinejoin: "round",
|
|
3110
|
-
children: /* @__PURE__ */
|
|
2944
|
+
children: /* @__PURE__ */ z("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
3111
2945
|
});
|
|
3112
2946
|
}
|
|
3113
|
-
function
|
|
3114
|
-
return /* @__PURE__ */
|
|
2947
|
+
function Sn() {
|
|
2948
|
+
return /* @__PURE__ */ B("svg", {
|
|
3115
2949
|
width: "14",
|
|
3116
2950
|
height: "14",
|
|
3117
2951
|
viewBox: "0 0 14 14",
|
|
3118
2952
|
fill: "currentColor",
|
|
3119
|
-
children: [/* @__PURE__ */
|
|
2953
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
3120
2954
|
cx: "7",
|
|
3121
2955
|
cy: "4.5",
|
|
3122
2956
|
r: "2.5"
|
|
3123
|
-
}), /* @__PURE__ */
|
|
2957
|
+
}), /* @__PURE__ */ z("path", {
|
|
3124
2958
|
d: "M2.5 12.5a4.5 4.5 0 0 1 9 0",
|
|
3125
2959
|
fill: "none",
|
|
3126
2960
|
stroke: "currentColor",
|
|
@@ -3128,8 +2962,8 @@ function Ln() {
|
|
|
3128
2962
|
})]
|
|
3129
2963
|
});
|
|
3130
2964
|
}
|
|
3131
|
-
function
|
|
3132
|
-
return /* @__PURE__ */
|
|
2965
|
+
function Cn() {
|
|
2966
|
+
return /* @__PURE__ */ B("svg", {
|
|
3133
2967
|
width: "14",
|
|
3134
2968
|
height: "14",
|
|
3135
2969
|
viewBox: "0 0 14 14",
|
|
@@ -3138,7 +2972,7 @@ function Rn() {
|
|
|
3138
2972
|
strokeWidth: "1.5",
|
|
3139
2973
|
strokeLinecap: "round",
|
|
3140
2974
|
strokeLinejoin: "round",
|
|
3141
|
-
children: [/* @__PURE__ */
|
|
2975
|
+
children: [/* @__PURE__ */ z("path", { d: "M1.5 8.5V2a.5.5 0 0 1 .5-.5h6.5L13 6l-5.5 5.5L1.5 8.5Z" }), /* @__PURE__ */ z("circle", {
|
|
3142
2976
|
cx: "5",
|
|
3143
2977
|
cy: "5",
|
|
3144
2978
|
r: "1",
|
|
@@ -3147,4 +2981,4 @@ function Rn() {
|
|
|
3147
2981
|
});
|
|
3148
2982
|
}
|
|
3149
2983
|
//#endregion
|
|
3150
|
-
export {
|
|
2984
|
+
export { ze as Accordion, Re as AccordionItem, Mt as ActivityFeed, Pe as AppLoader, J as Avatar, X as Badge, yn as BellIcon, Ge as Button, bn as CalendarIcon, qe as Card, Ze as CardContent, Xe as CardDescription, Qe as CardFooter, Je as CardHeader, Ye as CardTitle, _n as CheckIcon, en as ChevronDown, tn as ChevronUp, gn as CloseIcon, Nt as CommandBar, vn as CopyIcon, Tt as DEFAULT_ICON_BY_VALUE, Et as DEFAULT_VIEW_MODE_OPTIONS, Pt as DataTable, et as Dialog, it as DialogBody, rt as DialogDescription, at as DialogFooter, tt as DialogHeader, nt as DialogTitle, st as DropdownMenu, lt as DropdownMenuCheckboxItem, ct as DropdownMenuItem, ut as DropdownMenuLabel, dt as DropdownMenuSeparator, $t as EditIcon, je as FCCAppShell, Me as FCCBrandLogo, we as FCCBreadcrumbs, ce as FCCDesignProvider, Le as FCCDetailsPanel, K as FCCHeaderStatus, Ie as FCCLoader, Ee as FCCMainWindow, ue as FCCSidePanel, ye as FCCSidePanelAction, fe as FCCSidePanelBody, _e as FCCSidePanelCard, be as FCCSidePanelChatWrap, ve as FCCSidePanelContact, xe as FCCSidePanelConversation, he as FCCSidePanelGroupLabel, de as FCCSidePanelHeader, ge as FCCSidePanelItem, Se as FCCSidePanelMessage, me as FCCSidePanelSearch, pe as FCCSidePanelTabs, Ae as FCCSidebar, Ne as FCCThemeToggle, q as FCCWorkspaceHeader, Ft as FilterBar, xn as FilterIcon, Gt as InboxIcon, Yt as InitiativesIcon, ot as Input, Kt as IssuesIcon, Ht as KPICard, It as KanbanBoard, Rt as KanbanCard, Lt as KanbanColumn, Cn as LabelIcon, pn as LinkIcon, Zt as MoreIcon, Wt as NotificationsPanel, un as PriorityHigh, fn as PriorityLow, dn as PriorityMedium, ln as PriorityUrgent, Xt as ProjectsIcon, Jt as PulseIcon, qt as ReviewsIcon, Qt as SearchIcon, ft as SearchableSelect, hn as SettingsIcon, pt as Sheet, mt as SheetFooter, Fe as Spinner, nn as StarIcon, Ut as StatCard, sn as StatusBacklog, cn as StatusCancelled, an as StatusDone, rn as StatusInProgress, _t as StatusMetric, on as StatusTodo, vt as Switch, zt as TableBoard, Bt as TableBoardGroup, Vt as TableBoardRow, yt as Tabs, St as TabsContent, bt as TabsList, xt as TabsTrigger, Ct as Textarea, se as ThemeProvider, te as ToastProvider, wt as Tooltip, mn as TrashIcon, Sn as UserIcon, kt as ViewModeToggle, jt as WorkspaceTabs, W as useTheme, ne as useToast };
|