@freedom-code-compliance/fcc-redesign 0.1.26 → 0.1.27
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 +669 -838
- package/dist/rich-text-editor.cjs +1 -0
- package/dist/rich-text-editor.js +173 -0
- 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 W = e(void 0), re = "dark", ie = "fcc-theme";
|
|
89
|
+
function ae(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 G({ children: e, defaultTheme: t = re, storageKey: n = ie }) {
|
|
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), ae(r);
|
|
98
|
+
}, [n, r]), /* @__PURE__ */ z(W.Provider, {
|
|
103
99
|
value: {
|
|
104
100
|
theme: r,
|
|
105
101
|
setTheme: i,
|
|
@@ -110,23 +106,23 @@ function ye({ children: e, defaultTheme: t = ge, storageKey: n = _e }) {
|
|
|
110
106
|
children: e
|
|
111
107
|
});
|
|
112
108
|
}
|
|
113
|
-
function
|
|
114
|
-
let e = a(
|
|
109
|
+
function K() {
|
|
110
|
+
let e = a(W);
|
|
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 oe({ children: e, ...t }) {
|
|
117
|
+
return /* @__PURE__ */ z(G, {
|
|
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
|
|
129
|
-
function
|
|
124
|
+
var q = (...e) => e.filter(Boolean).join(" "), se = 300;
|
|
125
|
+
function J({ 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,285 +140,285 @@ 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
|
+
}, se), () => {
|
|
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__ */
|
|
153
|
-
className:
|
|
154
|
-
children: [/* @__PURE__ */
|
|
155
|
-
className:
|
|
148
|
+
return /* @__PURE__ */ B("div", {
|
|
149
|
+
className: q("fcc-side-panel-layout", s),
|
|
150
|
+
children: [/* @__PURE__ */ z("div", {
|
|
151
|
+
className: q("fcc-side-panel-content", c),
|
|
156
152
|
children: a
|
|
157
|
-
}), /* @__PURE__ */
|
|
158
|
-
className:
|
|
153
|
+
}), /* @__PURE__ */ z("div", {
|
|
154
|
+
className: q("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
|
|
159
155
|
style: { "--fcc-side-panel-width": `${C}px` },
|
|
160
|
-
children: /* @__PURE__ */
|
|
161
|
-
className:
|
|
156
|
+
children: /* @__PURE__ */ z("div", {
|
|
157
|
+
className: q("fcc-side-panel-inner", d),
|
|
162
158
|
children: S
|
|
163
159
|
})
|
|
164
160
|
})]
|
|
165
161
|
});
|
|
166
162
|
}
|
|
167
|
-
function
|
|
168
|
-
return /* @__PURE__ */
|
|
169
|
-
className:
|
|
170
|
-
children: [/* @__PURE__ */
|
|
163
|
+
function ce({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
|
|
164
|
+
return /* @__PURE__ */ B("div", {
|
|
165
|
+
className: q("fcc-side-panel-header", i),
|
|
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__ */
|
|
192
|
-
className:
|
|
186
|
+
function le({ children: e, className: t = "" }) {
|
|
187
|
+
return /* @__PURE__ */ z("div", {
|
|
188
|
+
className: q("fcc-side-panel-body", t),
|
|
193
189
|
children: e
|
|
194
190
|
});
|
|
195
191
|
}
|
|
196
|
-
function
|
|
197
|
-
return /* @__PURE__ */
|
|
198
|
-
className:
|
|
199
|
-
children: e.map((e, r) => /* @__PURE__ */
|
|
200
|
-
className:
|
|
192
|
+
function ue({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
|
|
193
|
+
return /* @__PURE__ */ z("div", {
|
|
194
|
+
className: q("fcc-side-panel-tabs", r),
|
|
195
|
+
children: e.map((e, r) => /* @__PURE__ */ z("button", {
|
|
196
|
+
className: q("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__ */
|
|
208
|
-
className:
|
|
209
|
-
children: [/* @__PURE__ */
|
|
202
|
+
function de({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
|
|
203
|
+
return /* @__PURE__ */ B("div", {
|
|
204
|
+
className: q("fcc-side-panel-search", r),
|
|
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__ */
|
|
223
|
-
className:
|
|
217
|
+
function fe({ children: e, className: t = "" }) {
|
|
218
|
+
return /* @__PURE__ */ z("div", {
|
|
219
|
+
className: q("fcc-side-panel-group-label", t),
|
|
224
220
|
children: e
|
|
225
221
|
});
|
|
226
222
|
}
|
|
227
|
-
function
|
|
228
|
-
return /* @__PURE__ */
|
|
229
|
-
className:
|
|
223
|
+
function pe({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
|
|
224
|
+
return /* @__PURE__ */ B("div", {
|
|
225
|
+
className: q("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__ */
|
|
255
|
-
className:
|
|
249
|
+
function me({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
|
|
250
|
+
return /* @__PURE__ */ B("div", {
|
|
251
|
+
className: q("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__ */
|
|
281
|
-
className:
|
|
275
|
+
function he({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
|
|
276
|
+
return /* @__PURE__ */ B("div", {
|
|
277
|
+
className: q("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__ */
|
|
301
|
-
className:
|
|
295
|
+
function ge({ children: e, onClick: t, className: n = "" }) {
|
|
296
|
+
return /* @__PURE__ */ z("div", {
|
|
297
|
+
className: q("fcc-side-panel-action", n),
|
|
302
298
|
onClick: t,
|
|
303
299
|
children: e
|
|
304
300
|
});
|
|
305
301
|
}
|
|
306
|
-
function
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
className:
|
|
302
|
+
function _e({ children: e, className: t = "" }) {
|
|
303
|
+
return /* @__PURE__ */ z("div", {
|
|
304
|
+
className: q("fcc-side-panel-chat-wrap", t),
|
|
309
305
|
children: e
|
|
310
306
|
});
|
|
311
307
|
}
|
|
312
|
-
function
|
|
313
|
-
return /* @__PURE__ */
|
|
314
|
-
className:
|
|
308
|
+
function ve({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
|
|
309
|
+
return /* @__PURE__ */ B("div", {
|
|
310
|
+
className: q("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 ye({ from: e = "other", meta: t, children: n, className: r = "" }) {
|
|
338
334
|
let i = e === "you";
|
|
339
|
-
return /* @__PURE__ */
|
|
340
|
-
className:
|
|
341
|
-
children: [t && /* @__PURE__ */
|
|
335
|
+
return /* @__PURE__ */ B("div", {
|
|
336
|
+
className: q("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
|
|
337
|
+
children: [t && /* @__PURE__ */ z("div", {
|
|
342
338
|
className: "fcc-side-panel-msg-meta",
|
|
343
339
|
children: t
|
|
344
|
-
}), /* @__PURE__ */
|
|
345
|
-
className:
|
|
340
|
+
}), /* @__PURE__ */ z("div", {
|
|
341
|
+
className: q("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
|
|
346
342
|
children: n
|
|
347
343
|
})]
|
|
348
344
|
});
|
|
349
345
|
}
|
|
350
346
|
//#endregion
|
|
351
347
|
//#region src/components/layout/FCCBreadcrumbs.jsx
|
|
352
|
-
function
|
|
348
|
+
function be(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 xe({ 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
|
+
}), be(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 Se = {
|
|
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 Ce({ 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
|
+
Se[t] || Se.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 we({ 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(xe, { items: e })
|
|
418
|
+
}), /* @__PURE__ */ B("div", {
|
|
423
419
|
className: "fcc-workspace-header-right",
|
|
424
420
|
children: [
|
|
425
|
-
t && /* @__PURE__ */
|
|
421
|
+
t && /* @__PURE__ */ z(Ce, { ...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 Te({ 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(J, {
|
|
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(we, {
|
|
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 Ee(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 De(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 Oe(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 ke({ 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 = De(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Oe(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), Ee(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: () => Ee(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 Ae({ 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(ke, {
|
|
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(Te, {
|
|
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
|
|
670
|
-
let { theme: a } =
|
|
671
|
-
return o ? /* @__PURE__ */
|
|
665
|
+
function je({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
|
|
666
|
+
let { theme: a } = K(), o = a === "dark" ? e || t : t || e;
|
|
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
|
|
681
|
-
let { theme: t, toggleTheme: n } =
|
|
682
|
-
return /* @__PURE__ */
|
|
676
|
+
function Me({ className: e = "" }) {
|
|
677
|
+
let { theme: t, toggleTheme: n } = K(), r = t === "dark";
|
|
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 Ne({ 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 Pe({ 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 Fe({ 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(je, {
|
|
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 Ie({ 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(Fe, {
|
|
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 Le({ 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 Re({ 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 ze = {
|
|
936
932
|
sm: "avatar-sm",
|
|
937
933
|
md: "",
|
|
938
934
|
lg: "avatar-lg",
|
|
939
935
|
xl: "avatar-xl"
|
|
940
|
-
},
|
|
936
|
+
}, Be = [
|
|
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 Ve(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 Be[Math.abs(t) % Be.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 Y({ 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 || Ve(c), d = ze[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 He = {
|
|
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 = He[e] || He.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,83 @@ 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(0), 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" && 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
1354
|
onClick: () => !s && f(!d),
|
|
1524
1355
|
disabled: s,
|
|
1525
1356
|
type: "button",
|
|
1526
|
-
children: [/* @__PURE__ */
|
|
1357
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1527
1358
|
className: S ? "" : "searchable-select-placeholder",
|
|
1528
1359
|
children: S ? S.label : r
|
|
1529
|
-
}), /* @__PURE__ */
|
|
1360
|
+
}), /* @__PURE__ */ z(v, {
|
|
1530
1361
|
size: 14,
|
|
1531
1362
|
className: "searchable-select-chevron"
|
|
1532
1363
|
})]
|
|
1533
|
-
}), d && /* @__PURE__ */
|
|
1364
|
+
}), d && /* @__PURE__ */ B("div", {
|
|
1534
1365
|
className: "searchable-select-dropdown",
|
|
1535
|
-
children: [/* @__PURE__ */
|
|
1366
|
+
children: [/* @__PURE__ */ B("div", {
|
|
1536
1367
|
className: "searchable-select-search",
|
|
1537
1368
|
children: [
|
|
1538
|
-
/* @__PURE__ */
|
|
1539
|
-
/* @__PURE__ */
|
|
1369
|
+
/* @__PURE__ */ z(N, { size: 14 }),
|
|
1370
|
+
/* @__PURE__ */ z("input", {
|
|
1540
1371
|
ref: b,
|
|
1541
1372
|
value: p,
|
|
1542
1373
|
onChange: (e) => {
|
|
@@ -1546,21 +1377,21 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1546
1377
|
placeholder: i,
|
|
1547
1378
|
className: "searchable-select-input"
|
|
1548
1379
|
}),
|
|
1549
|
-
p && /* @__PURE__ */
|
|
1380
|
+
p && /* @__PURE__ */ z("button", {
|
|
1550
1381
|
className: "searchable-select-clear",
|
|
1551
1382
|
onClick: () => m(""),
|
|
1552
|
-
children: /* @__PURE__ */
|
|
1383
|
+
children: /* @__PURE__ */ z(L, { size: 12 })
|
|
1553
1384
|
})
|
|
1554
1385
|
]
|
|
1555
|
-
}), /* @__PURE__ */
|
|
1386
|
+
}), /* @__PURE__ */ B("div", {
|
|
1556
1387
|
className: "searchable-select-options",
|
|
1557
1388
|
children: [
|
|
1558
|
-
a && /* @__PURE__ */
|
|
1389
|
+
a && /* @__PURE__ */ z("div", {
|
|
1559
1390
|
className: `searchable-select-option ${t ? "" : "selected"}`,
|
|
1560
1391
|
onClick: () => {
|
|
1561
1392
|
n?.(null), f(!1), m("");
|
|
1562
1393
|
},
|
|
1563
|
-
children: /* @__PURE__ */
|
|
1394
|
+
children: /* @__PURE__ */ z("span", {
|
|
1564
1395
|
style: {
|
|
1565
1396
|
color: "var(--text-tertiary)",
|
|
1566
1397
|
fontStyle: "italic"
|
|
@@ -1568,21 +1399,21 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1568
1399
|
children: "None"
|
|
1569
1400
|
})
|
|
1570
1401
|
}),
|
|
1571
|
-
x.map((e, r) => /* @__PURE__ */
|
|
1572
|
-
className: `searchable-select-option ${r ===
|
|
1402
|
+
x.map((e, r) => /* @__PURE__ */ B("div", {
|
|
1403
|
+
className: `searchable-select-option ${r === g ? "highlighted" : ""} ${e.value === t ? "selected" : ""}`,
|
|
1573
1404
|
onClick: () => {
|
|
1574
1405
|
n?.(e.value), f(!1), m("");
|
|
1575
1406
|
},
|
|
1576
1407
|
onMouseEnter: () => _(r),
|
|
1577
|
-
children: [/* @__PURE__ */
|
|
1408
|
+
children: [/* @__PURE__ */ B("div", {
|
|
1578
1409
|
className: "searchable-select-option-content",
|
|
1579
|
-
children: [/* @__PURE__ */
|
|
1410
|
+
children: [/* @__PURE__ */ z("span", { children: e.label }), e.description && /* @__PURE__ */ z("span", {
|
|
1580
1411
|
className: "searchable-select-option-desc",
|
|
1581
1412
|
children: e.description
|
|
1582
1413
|
})]
|
|
1583
|
-
}), e.value === t && /* @__PURE__ */
|
|
1414
|
+
}), e.value === t && /* @__PURE__ */ z(h, { size: 14 })]
|
|
1584
1415
|
}, e.value)),
|
|
1585
|
-
x.length === 0 && /* @__PURE__ */
|
|
1416
|
+
x.length === 0 && /* @__PURE__ */ z("div", {
|
|
1586
1417
|
className: "searchable-select-empty",
|
|
1587
1418
|
children: "No results found"
|
|
1588
1419
|
})
|
|
@@ -1593,7 +1424,7 @@ function Ot({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1593
1424
|
}
|
|
1594
1425
|
//#endregion
|
|
1595
1426
|
//#region src/components/ui/Sheet.jsx
|
|
1596
|
-
function
|
|
1427
|
+
function pt({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
1597
1428
|
let s = l(null);
|
|
1598
1429
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
1599
1430
|
document.body.style.overflow = "";
|
|
@@ -1602,54 +1433,54 @@ function kt({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
1602
1433
|
e.key === "Escape" && t?.();
|
|
1603
1434
|
}
|
|
1604
1435
|
return e && document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
1605
|
-
}, [e, t]), e ? /* @__PURE__ */
|
|
1436
|
+
}, [e, t]), e ? /* @__PURE__ */ z("div", {
|
|
1606
1437
|
className: "sheet-overlay",
|
|
1607
1438
|
ref: s,
|
|
1608
1439
|
onClick: (e) => {
|
|
1609
1440
|
e.target === s.current && t?.();
|
|
1610
1441
|
},
|
|
1611
|
-
children: /* @__PURE__ */
|
|
1442
|
+
children: /* @__PURE__ */ B("div", {
|
|
1612
1443
|
className: `sheet sheet-${n} ${a}`,
|
|
1613
|
-
children: [r && /* @__PURE__ */
|
|
1444
|
+
children: [r && /* @__PURE__ */ B("div", {
|
|
1614
1445
|
className: "sheet-header",
|
|
1615
|
-
children: [/* @__PURE__ */
|
|
1446
|
+
children: [/* @__PURE__ */ z("h3", {
|
|
1616
1447
|
className: "sheet-title",
|
|
1617
1448
|
children: r
|
|
1618
|
-
}), /* @__PURE__ */
|
|
1449
|
+
}), /* @__PURE__ */ z("button", {
|
|
1619
1450
|
className: "btn btn-ghost btn-icon btn-sm",
|
|
1620
1451
|
onClick: t,
|
|
1621
|
-
children: /* @__PURE__ */
|
|
1452
|
+
children: /* @__PURE__ */ z(L, { size: 16 })
|
|
1622
1453
|
})]
|
|
1623
|
-
}), /* @__PURE__ */
|
|
1454
|
+
}), /* @__PURE__ */ z("div", {
|
|
1624
1455
|
className: "sheet-body",
|
|
1625
1456
|
children: i
|
|
1626
1457
|
})]
|
|
1627
1458
|
})
|
|
1628
1459
|
}) : null;
|
|
1629
1460
|
}
|
|
1630
|
-
function
|
|
1631
|
-
return /* @__PURE__ */
|
|
1461
|
+
function mt({ children: e, className: t = "" }) {
|
|
1462
|
+
return /* @__PURE__ */ z("div", {
|
|
1632
1463
|
className: `sheet-footer ${t}`,
|
|
1633
1464
|
children: e
|
|
1634
1465
|
});
|
|
1635
1466
|
}
|
|
1636
1467
|
//#endregion
|
|
1637
1468
|
//#region src/components/ui/StatusMetric.jsx
|
|
1638
|
-
function
|
|
1469
|
+
function ht(...e) {
|
|
1639
1470
|
return e.filter(Boolean).join(" ");
|
|
1640
1471
|
}
|
|
1641
|
-
var
|
|
1472
|
+
var gt = {
|
|
1642
1473
|
default: "",
|
|
1643
1474
|
warning: "status-metric--warning"
|
|
1644
1475
|
};
|
|
1645
|
-
function
|
|
1646
|
-
let o = r || (t === "warning" ? f :
|
|
1647
|
-
return /* @__PURE__ */
|
|
1648
|
-
className:
|
|
1649
|
-
children: [n && o && /* @__PURE__ */
|
|
1476
|
+
function _t({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
|
|
1477
|
+
let o = r || (t === "warning" ? f : S);
|
|
1478
|
+
return /* @__PURE__ */ B("span", {
|
|
1479
|
+
className: ht("status-metric", gt[t], a),
|
|
1480
|
+
children: [n && o && /* @__PURE__ */ z("span", {
|
|
1650
1481
|
className: "status-metric-icon",
|
|
1651
|
-
children: /* @__PURE__ */
|
|
1652
|
-
}), /* @__PURE__ */
|
|
1482
|
+
children: /* @__PURE__ */ z(o, { size: i })
|
|
1483
|
+
}), /* @__PURE__ */ z("span", {
|
|
1653
1484
|
className: "status-metric-text",
|
|
1654
1485
|
children: e
|
|
1655
1486
|
})]
|
|
@@ -1657,19 +1488,19 @@ function X({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSi
|
|
|
1657
1488
|
}
|
|
1658
1489
|
//#endregion
|
|
1659
1490
|
//#region src/components/ui/Switch.jsx
|
|
1660
|
-
function
|
|
1661
|
-
return /* @__PURE__ */
|
|
1491
|
+
function vt({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
1492
|
+
return /* @__PURE__ */ B("div", {
|
|
1662
1493
|
className: "toggle-row",
|
|
1663
|
-
children: [i && /* @__PURE__ */
|
|
1494
|
+
children: [i && /* @__PURE__ */ z("span", {
|
|
1664
1495
|
className: "toggle-text",
|
|
1665
1496
|
children: i
|
|
1666
|
-
}), /* @__PURE__ */
|
|
1497
|
+
}), /* @__PURE__ */ z("button", {
|
|
1667
1498
|
className: `toggle ${e ? "active" : ""} ${r === "sm" ? "toggle-sm" : ""}`,
|
|
1668
1499
|
onClick: () => !n && t?.(!e),
|
|
1669
1500
|
disabled: n,
|
|
1670
1501
|
role: "switch",
|
|
1671
1502
|
"aria-checked": e,
|
|
1672
|
-
children: /* @__PURE__ */
|
|
1503
|
+
children: /* @__PURE__ */ z("div", { className: "toggle-knob" })
|
|
1673
1504
|
})]
|
|
1674
1505
|
});
|
|
1675
1506
|
}
|
|
@@ -1681,7 +1512,7 @@ var Z = e({
|
|
|
1681
1512
|
registerTrigger: () => {},
|
|
1682
1513
|
getTriggerNode: () => null
|
|
1683
1514
|
});
|
|
1684
|
-
function
|
|
1515
|
+
function yt({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
|
|
1685
1516
|
let [o, s] = u(e || ""), c = l(/* @__PURE__ */ new Map()), d = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
|
|
1686
1517
|
if (t) {
|
|
1687
1518
|
c.current.set(e, t);
|
|
@@ -1689,20 +1520,20 @@ function Pt({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
1689
1520
|
}
|
|
1690
1521
|
c.current.delete(e);
|
|
1691
1522
|
}, []), m = i((e) => c.current.get(e) || null, []);
|
|
1692
|
-
return /* @__PURE__ */
|
|
1523
|
+
return /* @__PURE__ */ z(Z.Provider, {
|
|
1693
1524
|
value: {
|
|
1694
1525
|
value: d,
|
|
1695
1526
|
onChange: f,
|
|
1696
1527
|
registerTrigger: p,
|
|
1697
1528
|
getTriggerNode: m
|
|
1698
1529
|
},
|
|
1699
|
-
children: /* @__PURE__ */
|
|
1530
|
+
children: /* @__PURE__ */ z("div", {
|
|
1700
1531
|
className: a,
|
|
1701
1532
|
children: r
|
|
1702
1533
|
})
|
|
1703
1534
|
});
|
|
1704
1535
|
}
|
|
1705
|
-
function
|
|
1536
|
+
function bt({ children: e, className: t = "" }) {
|
|
1706
1537
|
let { value: n, getTriggerNode: r } = a(Z), i = l(null);
|
|
1707
1538
|
return c(() => {
|
|
1708
1539
|
let e = i.current, t = r(n);
|
|
@@ -1719,19 +1550,19 @@ function Ft({ children: e, className: t = "" }) {
|
|
|
1719
1550
|
return o?.observe(e), o?.observe(t), window.addEventListener("resize", a), () => {
|
|
1720
1551
|
o?.disconnect(), window.removeEventListener("resize", a);
|
|
1721
1552
|
};
|
|
1722
|
-
}, [n, r]), /* @__PURE__ */
|
|
1553
|
+
}, [n, r]), /* @__PURE__ */ B("div", {
|
|
1723
1554
|
ref: i,
|
|
1724
1555
|
className: `tabs ${t}`,
|
|
1725
1556
|
role: "tablist",
|
|
1726
|
-
children: [/* @__PURE__ */
|
|
1557
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1727
1558
|
className: "tabs-indicator",
|
|
1728
1559
|
"aria-hidden": "true"
|
|
1729
1560
|
}), e]
|
|
1730
1561
|
});
|
|
1731
1562
|
}
|
|
1732
|
-
function
|
|
1563
|
+
function xt({ value: e, children: t, className: n = "" }) {
|
|
1733
1564
|
let { value: r, onChange: i, registerTrigger: o } = a(Z), s = r === e;
|
|
1734
|
-
return /* @__PURE__ */
|
|
1565
|
+
return /* @__PURE__ */ z("button", {
|
|
1735
1566
|
ref: (t) => o(e, t),
|
|
1736
1567
|
className: `tab ${s ? "active" : ""} ${n}`,
|
|
1737
1568
|
onClick: () => i(e),
|
|
@@ -1741,9 +1572,9 @@ function It({ value: e, children: t, className: n = "" }) {
|
|
|
1741
1572
|
children: t
|
|
1742
1573
|
});
|
|
1743
1574
|
}
|
|
1744
|
-
function
|
|
1575
|
+
function St({ value: e, children: t, className: n = "" }) {
|
|
1745
1576
|
let { value: r } = a(Z);
|
|
1746
|
-
return r === e ? /* @__PURE__ */
|
|
1577
|
+
return r === e ? /* @__PURE__ */ z("div", {
|
|
1747
1578
|
className: n,
|
|
1748
1579
|
role: "tabpanel",
|
|
1749
1580
|
children: t
|
|
@@ -1751,25 +1582,25 @@ function Lt({ value: e, children: t, className: n = "" }) {
|
|
|
1751
1582
|
}
|
|
1752
1583
|
//#endregion
|
|
1753
1584
|
//#region src/components/ui/Textarea.jsx
|
|
1754
|
-
var
|
|
1755
|
-
return t || n ? /* @__PURE__ */
|
|
1585
|
+
var Ct = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
|
|
1586
|
+
return t || n ? /* @__PURE__ */ B("div", {
|
|
1756
1587
|
className: ["textarea-wrapper", e].filter(Boolean).join(" "),
|
|
1757
1588
|
children: [
|
|
1758
|
-
t && /* @__PURE__ */
|
|
1589
|
+
t && /* @__PURE__ */ z("div", {
|
|
1759
1590
|
className: "textarea-adornment textarea-adornment--start",
|
|
1760
1591
|
children: t
|
|
1761
1592
|
}),
|
|
1762
|
-
/* @__PURE__ */
|
|
1593
|
+
/* @__PURE__ */ z("textarea", {
|
|
1763
1594
|
...r,
|
|
1764
1595
|
ref: i,
|
|
1765
1596
|
className: "textarea-wrapper__input"
|
|
1766
1597
|
}),
|
|
1767
|
-
n && /* @__PURE__ */
|
|
1598
|
+
n && /* @__PURE__ */ z("div", {
|
|
1768
1599
|
className: "textarea-adornment textarea-adornment--end",
|
|
1769
1600
|
children: n
|
|
1770
1601
|
})
|
|
1771
1602
|
]
|
|
1772
|
-
}) : /* @__PURE__ */
|
|
1603
|
+
}) : /* @__PURE__ */ z("textarea", {
|
|
1773
1604
|
...r,
|
|
1774
1605
|
ref: i,
|
|
1775
1606
|
className: ["textarea", e].filter(Boolean).join(" ")
|
|
@@ -1777,7 +1608,7 @@ var Rt = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
|
|
|
1777
1608
|
});
|
|
1778
1609
|
//#endregion
|
|
1779
1610
|
//#region src/components/ui/Tooltip.jsx
|
|
1780
|
-
function
|
|
1611
|
+
function wt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
1781
1612
|
let [i, a] = u(!1), [s, d] = u(null), f = l(null), p = l(null), m = l(null);
|
|
1782
1613
|
function h() {
|
|
1783
1614
|
m.current = setTimeout(() => a(!0), 300);
|
|
@@ -1801,7 +1632,7 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1801
1632
|
return e(), window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
|
|
1802
1633
|
window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
|
|
1803
1634
|
};
|
|
1804
|
-
}, [t, i]), /* @__PURE__ */
|
|
1635
|
+
}, [t, i]), /* @__PURE__ */ B("div", {
|
|
1805
1636
|
className: `tooltip-wrapper ${r}`,
|
|
1806
1637
|
onMouseEnter: h,
|
|
1807
1638
|
onMouseLeave: g,
|
|
@@ -1812,7 +1643,7 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1812
1643
|
position: "relative",
|
|
1813
1644
|
display: "inline-flex"
|
|
1814
1645
|
},
|
|
1815
|
-
children: [n, i && typeof document < "u" &&
|
|
1646
|
+
children: [n, i && typeof document < "u" && V(/* @__PURE__ */ z("div", {
|
|
1816
1647
|
ref: p,
|
|
1817
1648
|
className: `tooltip tooltip-${t} tooltip-portal`,
|
|
1818
1649
|
role: "tooltip",
|
|
@@ -1828,17 +1659,17 @@ function zt({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1828
1659
|
}
|
|
1829
1660
|
//#endregion
|
|
1830
1661
|
//#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
|
-
},
|
|
1662
|
+
var Tt = {
|
|
1663
|
+
kanban: C,
|
|
1664
|
+
board: C,
|
|
1665
|
+
columns: C,
|
|
1666
|
+
table: D,
|
|
1667
|
+
list: D,
|
|
1668
|
+
rows: D,
|
|
1669
|
+
grid: E,
|
|
1670
|
+
calendar: m,
|
|
1671
|
+
map: A
|
|
1672
|
+
}, Et = [{
|
|
1842
1673
|
value: "kanban",
|
|
1843
1674
|
label: "Kanban",
|
|
1844
1675
|
title: "Board View"
|
|
@@ -1849,13 +1680,13 @@ var Bt = {
|
|
|
1849
1680
|
}];
|
|
1850
1681
|
//#endregion
|
|
1851
1682
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
1852
|
-
function
|
|
1853
|
-
return e.icon ? e.icon :
|
|
1683
|
+
function Dt(e) {
|
|
1684
|
+
return e.icon ? e.icon : Tt[e.value] ?? null;
|
|
1854
1685
|
}
|
|
1855
|
-
function
|
|
1686
|
+
function Ot(e, n) {
|
|
1856
1687
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1857
1688
|
}
|
|
1858
|
-
function
|
|
1689
|
+
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
1690
|
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
1691
|
let e = h.current, t = g.current.get(y);
|
|
1861
1692
|
if (e) {
|
|
@@ -1903,7 +1734,7 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1903
1734
|
s,
|
|
1904
1735
|
f,
|
|
1905
1736
|
p
|
|
1906
|
-
]), /* @__PURE__ */
|
|
1737
|
+
]), /* @__PURE__ */ B("div", {
|
|
1907
1738
|
ref: m,
|
|
1908
1739
|
className: [
|
|
1909
1740
|
"view-mode-toggle",
|
|
@@ -1912,13 +1743,13 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1912
1743
|
].filter(Boolean).join(" "),
|
|
1913
1744
|
role: "group",
|
|
1914
1745
|
"aria-label": a,
|
|
1915
|
-
children: [/* @__PURE__ */
|
|
1746
|
+
children: [/* @__PURE__ */ z("span", {
|
|
1916
1747
|
ref: h,
|
|
1917
1748
|
"aria-hidden": "true",
|
|
1918
1749
|
className: "view-mode-toggle-indicator"
|
|
1919
1750
|
}), e.map((e) => {
|
|
1920
|
-
let t = e.value === y, n =
|
|
1921
|
-
return /* @__PURE__ */
|
|
1751
|
+
let t = e.value === y, n = Ot(Dt(e), s);
|
|
1752
|
+
return /* @__PURE__ */ B("button", {
|
|
1922
1753
|
type: "button",
|
|
1923
1754
|
"aria-pressed": t,
|
|
1924
1755
|
disabled: e.disabled,
|
|
@@ -1934,10 +1765,10 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1934
1765
|
p
|
|
1935
1766
|
].filter(Boolean).join(" "),
|
|
1936
1767
|
onClick: () => x(e),
|
|
1937
|
-
children: [n && /* @__PURE__ */
|
|
1768
|
+
children: [n && /* @__PURE__ */ z("span", {
|
|
1938
1769
|
className: "view-mode-toggle-icon",
|
|
1939
1770
|
children: n
|
|
1940
|
-
}), d && /* @__PURE__ */
|
|
1771
|
+
}), d && /* @__PURE__ */ z("span", {
|
|
1941
1772
|
className: "view-mode-toggle-label",
|
|
1942
1773
|
children: e.label
|
|
1943
1774
|
})]
|
|
@@ -1947,10 +1778,10 @@ function Wt({ options: e = Vt, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1947
1778
|
}
|
|
1948
1779
|
//#endregion
|
|
1949
1780
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
1950
|
-
function
|
|
1781
|
+
function At(e, n) {
|
|
1951
1782
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1952
1783
|
}
|
|
1953
|
-
function
|
|
1784
|
+
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
1785
|
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
1786
|
let e = h.current, t = g.current.get(y);
|
|
1956
1787
|
if (e) {
|
|
@@ -1998,7 +1829,7 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1998
1829
|
d,
|
|
1999
1830
|
f,
|
|
2000
1831
|
p
|
|
2001
|
-
]), /* @__PURE__ */
|
|
1832
|
+
]), /* @__PURE__ */ B("div", {
|
|
2002
1833
|
ref: m,
|
|
2003
1834
|
className: [
|
|
2004
1835
|
"workspace-tabs",
|
|
@@ -2007,13 +1838,13 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2007
1838
|
].filter(Boolean).join(" "),
|
|
2008
1839
|
role: "tablist",
|
|
2009
1840
|
"aria-label": a,
|
|
2010
|
-
children: [/* @__PURE__ */
|
|
1841
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2011
1842
|
ref: h,
|
|
2012
1843
|
"aria-hidden": "true",
|
|
2013
1844
|
className: "workspace-tabs-indicator"
|
|
2014
1845
|
}), e.map((e) => {
|
|
2015
|
-
let t = e.id === y, n =
|
|
2016
|
-
return /* @__PURE__ */
|
|
1846
|
+
let t = e.id === y, n = At(e.icon, s);
|
|
1847
|
+
return /* @__PURE__ */ B("button", {
|
|
2017
1848
|
type: "button",
|
|
2018
1849
|
role: "tab",
|
|
2019
1850
|
"aria-selected": t,
|
|
@@ -2030,15 +1861,15 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2030
1861
|
].filter(Boolean).join(" "),
|
|
2031
1862
|
onClick: () => x(e),
|
|
2032
1863
|
children: [
|
|
2033
|
-
n && /* @__PURE__ */
|
|
1864
|
+
n && /* @__PURE__ */ z("span", {
|
|
2034
1865
|
className: "workspace-tab-icon",
|
|
2035
1866
|
children: n
|
|
2036
1867
|
}),
|
|
2037
|
-
/* @__PURE__ */
|
|
1868
|
+
/* @__PURE__ */ z("span", {
|
|
2038
1869
|
className: "workspace-tab-label",
|
|
2039
1870
|
children: e.label
|
|
2040
1871
|
}),
|
|
2041
|
-
e.badge != null && /* @__PURE__ */
|
|
1872
|
+
e.badge != null && /* @__PURE__ */ z("span", {
|
|
2042
1873
|
className: "workspace-tab-badge",
|
|
2043
1874
|
children: e.badge
|
|
2044
1875
|
})
|
|
@@ -2049,35 +1880,35 @@ function Kt({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2049
1880
|
}
|
|
2050
1881
|
//#endregion
|
|
2051
1882
|
//#region src/components/data/ActivityFeed.jsx
|
|
2052
|
-
function
|
|
2053
|
-
return /* @__PURE__ */
|
|
1883
|
+
function Mt({ items: e = [], className: t = "" }) {
|
|
1884
|
+
return /* @__PURE__ */ z("div", {
|
|
2054
1885
|
className: `activity-feed ${t}`,
|
|
2055
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1886
|
+
children: e.map((e, t) => /* @__PURE__ */ B("div", {
|
|
2056
1887
|
className: "activity-item",
|
|
2057
|
-
children: [/* @__PURE__ */
|
|
1888
|
+
children: [/* @__PURE__ */ z("div", {
|
|
2058
1889
|
className: "activity-avatar",
|
|
2059
|
-
children: /* @__PURE__ */
|
|
1890
|
+
children: /* @__PURE__ */ z(Y, {
|
|
2060
1891
|
name: e.user,
|
|
2061
1892
|
size: "sm"
|
|
2062
1893
|
})
|
|
2063
|
-
}), /* @__PURE__ */
|
|
1894
|
+
}), /* @__PURE__ */ B("div", {
|
|
2064
1895
|
className: "activity-content",
|
|
2065
1896
|
children: [
|
|
2066
|
-
/* @__PURE__ */
|
|
1897
|
+
/* @__PURE__ */ B("div", {
|
|
2067
1898
|
className: "activity-header",
|
|
2068
|
-
children: [/* @__PURE__ */
|
|
1899
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2069
1900
|
className: "activity-name",
|
|
2070
1901
|
children: e.user
|
|
2071
|
-
}), /* @__PURE__ */
|
|
1902
|
+
}), /* @__PURE__ */ z("span", {
|
|
2072
1903
|
className: "activity-time",
|
|
2073
1904
|
children: e.time
|
|
2074
1905
|
})]
|
|
2075
1906
|
}),
|
|
2076
|
-
/* @__PURE__ */
|
|
1907
|
+
/* @__PURE__ */ z("div", {
|
|
2077
1908
|
className: "activity-text",
|
|
2078
1909
|
children: e.text
|
|
2079
1910
|
}),
|
|
2080
|
-
e.meta && /* @__PURE__ */
|
|
1911
|
+
e.meta && /* @__PURE__ */ z("div", {
|
|
2081
1912
|
className: "activity-meta",
|
|
2082
1913
|
children: e.meta
|
|
2083
1914
|
})
|
|
@@ -2088,7 +1919,7 @@ function qt({ items: e = [], className: t = "" }) {
|
|
|
2088
1919
|
}
|
|
2089
1920
|
//#endregion
|
|
2090
1921
|
//#region src/components/data/CommandBar.jsx
|
|
2091
|
-
function
|
|
1922
|
+
function Nt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
2092
1923
|
let [a, s] = u(""), [c, d] = u(0), f = l(null);
|
|
2093
1924
|
if (o(() => {
|
|
2094
1925
|
if (e) {
|
|
@@ -2113,19 +1944,19 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2113
1944
|
function h(e) {
|
|
2114
1945
|
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
1946
|
}
|
|
2116
|
-
return /* @__PURE__ */
|
|
1947
|
+
return /* @__PURE__ */ z("div", {
|
|
2117
1948
|
className: "dialog-overlay",
|
|
2118
1949
|
onClick: (e) => {
|
|
2119
1950
|
e.target === e.currentTarget && t?.();
|
|
2120
1951
|
},
|
|
2121
|
-
children: /* @__PURE__ */
|
|
1952
|
+
children: /* @__PURE__ */ B("div", {
|
|
2122
1953
|
className: "command-palette",
|
|
2123
|
-
children: [/* @__PURE__ */
|
|
1954
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2124
1955
|
className: "command-input-wrapper",
|
|
2125
|
-
children: [/* @__PURE__ */
|
|
1956
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2126
1957
|
className: "command-input-icon",
|
|
2127
|
-
children: /* @__PURE__ */
|
|
2128
|
-
}), /* @__PURE__ */
|
|
1958
|
+
children: /* @__PURE__ */ z(N, { size: 16 })
|
|
1959
|
+
}), /* @__PURE__ */ z("input", {
|
|
2129
1960
|
ref: f,
|
|
2130
1961
|
className: "command-input",
|
|
2131
1962
|
value: a,
|
|
@@ -2135,29 +1966,29 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2135
1966
|
onKeyDown: h,
|
|
2136
1967
|
placeholder: i
|
|
2137
1968
|
})]
|
|
2138
|
-
}), /* @__PURE__ */
|
|
1969
|
+
}), /* @__PURE__ */ B("div", {
|
|
2139
1970
|
className: "command-results",
|
|
2140
|
-
children: [m.map((e, n) => /* @__PURE__ */
|
|
1971
|
+
children: [m.map((e, n) => /* @__PURE__ */ B("div", { children: [e.showGroup && /* @__PURE__ */ z("div", {
|
|
2141
1972
|
className: "command-group-label",
|
|
2142
1973
|
children: e.group
|
|
2143
|
-
}), /* @__PURE__ */
|
|
1974
|
+
}), /* @__PURE__ */ B("div", {
|
|
2144
1975
|
className: `dropdown-item ${n === c ? "active" : ""}`,
|
|
2145
1976
|
onClick: () => {
|
|
2146
1977
|
r?.(e), t?.();
|
|
2147
1978
|
},
|
|
2148
1979
|
onMouseEnter: () => d(n),
|
|
2149
1980
|
children: [
|
|
2150
|
-
e.icon && /* @__PURE__ */
|
|
1981
|
+
e.icon && /* @__PURE__ */ z("span", {
|
|
2151
1982
|
className: "dropdown-item-icon",
|
|
2152
1983
|
children: e.icon
|
|
2153
1984
|
}),
|
|
2154
1985
|
e.label,
|
|
2155
|
-
e.shortcut && /* @__PURE__ */
|
|
1986
|
+
e.shortcut && /* @__PURE__ */ z("span", {
|
|
2156
1987
|
className: "dropdown-shortcut",
|
|
2157
1988
|
children: e.shortcut
|
|
2158
1989
|
})
|
|
2159
1990
|
]
|
|
2160
|
-
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */
|
|
1991
|
+
})] }, e.id || n)), p.length === 0 && /* @__PURE__ */ z("div", {
|
|
2161
1992
|
style: {
|
|
2162
1993
|
padding: "var(--space-4)",
|
|
2163
1994
|
textAlign: "center",
|
|
@@ -2172,7 +2003,7 @@ function Jt({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
2172
2003
|
}
|
|
2173
2004
|
//#endregion
|
|
2174
2005
|
//#region src/components/data/DataTable.jsx
|
|
2175
|
-
function
|
|
2006
|
+
function Pt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
2176
2007
|
let [i, a] = u(null), [o, s] = u("asc");
|
|
2177
2008
|
function c(e) {
|
|
2178
2009
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -2181,26 +2012,26 @@ function Yt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
2181
2012
|
let n = e[i], r = t[i], a = typeof n == "number" ? n - r : String(n).localeCompare(String(r));
|
|
2182
2013
|
return o === "asc" ? a : -a;
|
|
2183
2014
|
}) : t;
|
|
2184
|
-
return /* @__PURE__ */
|
|
2015
|
+
return /* @__PURE__ */ z("div", {
|
|
2185
2016
|
className: `table-wrapper ${r}`,
|
|
2186
|
-
children: /* @__PURE__ */
|
|
2017
|
+
children: /* @__PURE__ */ B("table", { children: [/* @__PURE__ */ z("thead", { children: /* @__PURE__ */ z("tr", { children: e.map((e) => /* @__PURE__ */ z("th", {
|
|
2187
2018
|
onClick: () => e.sortable !== !1 && c(e.key),
|
|
2188
2019
|
style: {
|
|
2189
2020
|
cursor: e.sortable === !1 ? "default" : "pointer",
|
|
2190
2021
|
width: e.width
|
|
2191
2022
|
},
|
|
2192
|
-
children: /* @__PURE__ */
|
|
2023
|
+
children: /* @__PURE__ */ B("span", {
|
|
2193
2024
|
className: "th-content",
|
|
2194
|
-
children: [e.label, e.sortable !== !1 && /* @__PURE__ */
|
|
2025
|
+
children: [e.label, e.sortable !== !1 && /* @__PURE__ */ z("span", {
|
|
2195
2026
|
className: "th-sort-icon",
|
|
2196
|
-
children: i === e.key ?
|
|
2027
|
+
children: i === e.key ? z(o === "asc" ? b : v, { size: 12 }) : /* @__PURE__ */ z(x, { size: 12 })
|
|
2197
2028
|
})]
|
|
2198
2029
|
})
|
|
2199
|
-
}, e.key)) }) }), /* @__PURE__ */
|
|
2030
|
+
}, e.key)) }) }), /* @__PURE__ */ B("tbody", { children: [l.map((t, r) => /* @__PURE__ */ z("tr", {
|
|
2200
2031
|
onClick: () => n?.(t),
|
|
2201
2032
|
style: { cursor: n ? "pointer" : "default" },
|
|
2202
|
-
children: e.map((e) => /* @__PURE__ */
|
|
2203
|
-
}, t.id || r)), l.length === 0 && /* @__PURE__ */
|
|
2033
|
+
children: e.map((e) => /* @__PURE__ */ z("td", { children: e.render ? e.render(t[e.key], t) : t[e.key] }, e.key))
|
|
2034
|
+
}, t.id || r)), l.length === 0 && /* @__PURE__ */ z("tr", { children: /* @__PURE__ */ z("td", {
|
|
2204
2035
|
colSpan: e.length,
|
|
2205
2036
|
style: {
|
|
2206
2037
|
textAlign: "center",
|
|
@@ -2213,44 +2044,44 @@ function Yt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
2213
2044
|
}
|
|
2214
2045
|
//#endregion
|
|
2215
2046
|
//#region src/components/data/FilterBar.jsx
|
|
2216
|
-
function
|
|
2047
|
+
function Ft({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
2217
2048
|
let o = n.some((e) => e.active);
|
|
2218
|
-
return /* @__PURE__ */
|
|
2049
|
+
return /* @__PURE__ */ B("div", {
|
|
2219
2050
|
className: `filter-bar ${a}`,
|
|
2220
2051
|
children: [
|
|
2221
|
-
/* @__PURE__ */
|
|
2052
|
+
/* @__PURE__ */ B("div", {
|
|
2222
2053
|
className: "filter-bar-search",
|
|
2223
2054
|
children: [
|
|
2224
|
-
/* @__PURE__ */
|
|
2225
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ z(N, { size: 14 }),
|
|
2056
|
+
/* @__PURE__ */ z("input", {
|
|
2226
2057
|
className: "filter-bar-input",
|
|
2227
2058
|
value: e,
|
|
2228
2059
|
onChange: (e) => t?.(e.target.value),
|
|
2229
2060
|
placeholder: "Search..."
|
|
2230
2061
|
}),
|
|
2231
|
-
e && /* @__PURE__ */
|
|
2062
|
+
e && /* @__PURE__ */ z("button", {
|
|
2232
2063
|
className: "filter-bar-clear",
|
|
2233
2064
|
onClick: () => t?.(""),
|
|
2234
|
-
children: /* @__PURE__ */
|
|
2065
|
+
children: /* @__PURE__ */ z(L, { size: 12 })
|
|
2235
2066
|
})
|
|
2236
2067
|
]
|
|
2237
2068
|
}),
|
|
2238
|
-
/* @__PURE__ */
|
|
2069
|
+
/* @__PURE__ */ B("div", {
|
|
2239
2070
|
className: "filter-bar-filters",
|
|
2240
2071
|
children: [
|
|
2241
|
-
/* @__PURE__ */
|
|
2072
|
+
/* @__PURE__ */ z(w, {
|
|
2242
2073
|
size: 14,
|
|
2243
2074
|
style: { color: "var(--text-tertiary)" }
|
|
2244
2075
|
}),
|
|
2245
|
-
n.map((e) => /* @__PURE__ */
|
|
2076
|
+
n.map((e) => /* @__PURE__ */ B("button", {
|
|
2246
2077
|
className: `filter-chip ${e.active ? "active" : ""}`,
|
|
2247
2078
|
onClick: e.onClick,
|
|
2248
|
-
children: [e.label, e.active && e.value && /* @__PURE__ */
|
|
2079
|
+
children: [e.label, e.active && e.value && /* @__PURE__ */ z("span", {
|
|
2249
2080
|
className: "filter-chip-value",
|
|
2250
2081
|
children: e.value
|
|
2251
2082
|
})]
|
|
2252
2083
|
}, e.label)),
|
|
2253
|
-
o && r && /* @__PURE__ */
|
|
2084
|
+
o && r && /* @__PURE__ */ z("button", {
|
|
2254
2085
|
className: "filter-bar-clear-all",
|
|
2255
2086
|
onClick: r,
|
|
2256
2087
|
children: "Clear all"
|
|
@@ -2266,76 +2097,76 @@ function Xt({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
2266
2097
|
function Q(...e) {
|
|
2267
2098
|
return e.filter(Boolean).join(" ");
|
|
2268
2099
|
}
|
|
2269
|
-
function
|
|
2270
|
-
return /* @__PURE__ */
|
|
2100
|
+
function It({ children: e, className: t = "", style: n }) {
|
|
2101
|
+
return /* @__PURE__ */ z("div", {
|
|
2271
2102
|
className: Q("kanban-board", t),
|
|
2272
2103
|
style: n,
|
|
2273
2104
|
children: e
|
|
2274
2105
|
});
|
|
2275
2106
|
}
|
|
2276
|
-
function
|
|
2277
|
-
return /* @__PURE__ */
|
|
2107
|
+
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 }) {
|
|
2108
|
+
return /* @__PURE__ */ B("div", {
|
|
2278
2109
|
className: Q("kanban-column", o),
|
|
2279
2110
|
style: s,
|
|
2280
|
-
children: [/* @__PURE__ */
|
|
2111
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2281
2112
|
className: Q("kanban-column-header", c),
|
|
2282
2113
|
style: l,
|
|
2283
|
-
children: [/* @__PURE__ */
|
|
2114
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2284
2115
|
className: "kanban-column-title",
|
|
2285
2116
|
children: [
|
|
2286
|
-
n && /* @__PURE__ */
|
|
2117
|
+
n && /* @__PURE__ */ z("span", {
|
|
2287
2118
|
className: "kanban-column-dot",
|
|
2288
2119
|
style: { background: n }
|
|
2289
2120
|
}),
|
|
2290
|
-
/* @__PURE__ */
|
|
2121
|
+
/* @__PURE__ */ z("span", {
|
|
2291
2122
|
className: "kanban-column-title-label",
|
|
2292
2123
|
children: e
|
|
2293
2124
|
}),
|
|
2294
|
-
t != null && /* @__PURE__ */
|
|
2125
|
+
t != null && /* @__PURE__ */ z(X, {
|
|
2295
2126
|
showDot: !1,
|
|
2296
2127
|
className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
|
|
2297
2128
|
children: t
|
|
2298
2129
|
})
|
|
2299
2130
|
]
|
|
2300
|
-
}), r && /* @__PURE__ */
|
|
2131
|
+
}), r && /* @__PURE__ */ z("div", {
|
|
2301
2132
|
className: "kanban-column-header-meta",
|
|
2302
|
-
children: /* @__PURE__ */
|
|
2133
|
+
children: /* @__PURE__ */ z("div", {
|
|
2303
2134
|
className: "kanban-column-header-action",
|
|
2304
2135
|
children: r
|
|
2305
2136
|
})
|
|
2306
2137
|
})]
|
|
2307
|
-
}), /* @__PURE__ */
|
|
2138
|
+
}), /* @__PURE__ */ z("div", {
|
|
2308
2139
|
className: Q("kanban-column-body", d),
|
|
2309
2140
|
style: f,
|
|
2310
2141
|
children: a
|
|
2311
2142
|
})]
|
|
2312
2143
|
});
|
|
2313
2144
|
}
|
|
2314
|
-
function
|
|
2145
|
+
function Rt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
2315
2146
|
let u = a ?? r;
|
|
2316
|
-
return /* @__PURE__ */
|
|
2147
|
+
return /* @__PURE__ */ z("div", {
|
|
2317
2148
|
className: Q("kanban-card", c),
|
|
2318
2149
|
onClick: s,
|
|
2319
2150
|
style: l,
|
|
2320
|
-
children: o || /* @__PURE__ */
|
|
2151
|
+
children: o || /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ B("div", {
|
|
2321
2152
|
className: "kanban-card-body",
|
|
2322
2153
|
children: [
|
|
2323
|
-
e && /* @__PURE__ */
|
|
2154
|
+
e && /* @__PURE__ */ z("div", {
|
|
2324
2155
|
className: "kanban-card-title",
|
|
2325
2156
|
children: e
|
|
2326
2157
|
}),
|
|
2327
|
-
t && /* @__PURE__ */
|
|
2158
|
+
t && /* @__PURE__ */ z("div", {
|
|
2328
2159
|
className: "kanban-card-subtitle",
|
|
2329
2160
|
children: t
|
|
2330
2161
|
}),
|
|
2331
|
-
n && /* @__PURE__ */
|
|
2162
|
+
n && /* @__PURE__ */ z("div", {
|
|
2332
2163
|
className: "kanban-card-badges",
|
|
2333
2164
|
children: n
|
|
2334
2165
|
})
|
|
2335
2166
|
]
|
|
2336
|
-
}), (u || i) && /* @__PURE__ */
|
|
2167
|
+
}), (u || i) && /* @__PURE__ */ B("div", {
|
|
2337
2168
|
className: "kanban-card-footer",
|
|
2338
|
-
children: [i && /* @__PURE__ */
|
|
2169
|
+
children: [i && /* @__PURE__ */ z("div", {
|
|
2339
2170
|
className: "kanban-card-footer-text",
|
|
2340
2171
|
children: i
|
|
2341
2172
|
}), u]
|
|
@@ -2347,50 +2178,50 @@ function $t({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
2347
2178
|
function $(...e) {
|
|
2348
2179
|
return e.filter(Boolean).join(" ");
|
|
2349
2180
|
}
|
|
2350
|
-
function
|
|
2351
|
-
return /* @__PURE__ */
|
|
2181
|
+
function zt({ children: e, className: t = "" }) {
|
|
2182
|
+
return /* @__PURE__ */ z("div", {
|
|
2352
2183
|
className: $("table-board", t),
|
|
2353
2184
|
children: e
|
|
2354
2185
|
});
|
|
2355
2186
|
}
|
|
2356
|
-
function
|
|
2187
|
+
function Bt({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
2357
2188
|
let [c, l] = u(i), d = r != null, f = d ? r : c;
|
|
2358
2189
|
function p() {
|
|
2359
2190
|
let e = !f;
|
|
2360
2191
|
d || l(e), a?.(e);
|
|
2361
2192
|
}
|
|
2362
|
-
return /* @__PURE__ */
|
|
2193
|
+
return /* @__PURE__ */ B("section", {
|
|
2363
2194
|
className: $("table-board-group", s),
|
|
2364
2195
|
style: n ? { "--table-board-group-accent-color": n } : void 0,
|
|
2365
|
-
children: [/* @__PURE__ */
|
|
2196
|
+
children: [/* @__PURE__ */ B("button", {
|
|
2366
2197
|
type: "button",
|
|
2367
2198
|
className: "table-board-group-header",
|
|
2368
2199
|
onClick: p,
|
|
2369
2200
|
"aria-expanded": f,
|
|
2370
2201
|
children: [
|
|
2371
|
-
/* @__PURE__ */
|
|
2202
|
+
/* @__PURE__ */ z("span", {
|
|
2372
2203
|
className: $("table-board-group-chevron", !f && "collapsed"),
|
|
2373
|
-
children: /* @__PURE__ */
|
|
2204
|
+
children: /* @__PURE__ */ z(v, { size: 12 })
|
|
2374
2205
|
}),
|
|
2375
|
-
/* @__PURE__ */
|
|
2206
|
+
/* @__PURE__ */ z("span", {
|
|
2376
2207
|
className: "table-board-group-label",
|
|
2377
2208
|
children: e
|
|
2378
2209
|
}),
|
|
2379
|
-
t != null && /* @__PURE__ */
|
|
2210
|
+
t != null && /* @__PURE__ */ z("span", {
|
|
2380
2211
|
className: "table-board-group-count",
|
|
2381
2212
|
children: t
|
|
2382
2213
|
})
|
|
2383
2214
|
]
|
|
2384
|
-
}), /* @__PURE__ */
|
|
2215
|
+
}), /* @__PURE__ */ z("div", {
|
|
2385
2216
|
className: $("table-board-group-panel", f && "open"),
|
|
2386
|
-
children: /* @__PURE__ */
|
|
2217
|
+
children: /* @__PURE__ */ z("div", {
|
|
2387
2218
|
className: "table-board-group-panel-inner",
|
|
2388
2219
|
children: o
|
|
2389
2220
|
})
|
|
2390
2221
|
})]
|
|
2391
2222
|
});
|
|
2392
2223
|
}
|
|
2393
|
-
function
|
|
2224
|
+
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
2225
|
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
2226
|
...F,
|
|
2396
2227
|
...I > 0 ? [{
|
|
@@ -2402,13 +2233,13 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2402
2233
|
function R(e) {
|
|
2403
2234
|
D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
|
|
2404
2235
|
}
|
|
2405
|
-
let
|
|
2236
|
+
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(Y, {
|
|
2406
2237
|
imageUrl: y,
|
|
2407
2238
|
initials: b,
|
|
2408
|
-
name:
|
|
2239
|
+
name: V,
|
|
2409
2240
|
size: "sm",
|
|
2410
2241
|
className: "table-board-avatar",
|
|
2411
|
-
style:
|
|
2242
|
+
style: H
|
|
2412
2243
|
}) : null);
|
|
2413
2244
|
return o(() => {
|
|
2414
2245
|
let e = O.current;
|
|
@@ -2428,46 +2259,46 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2428
2259
|
c,
|
|
2429
2260
|
d,
|
|
2430
2261
|
p
|
|
2431
|
-
]), /* @__PURE__ */
|
|
2262
|
+
]), /* @__PURE__ */ B("div", {
|
|
2432
2263
|
className: $("table-board-row", D && "clickable", E),
|
|
2433
2264
|
onClick: T,
|
|
2434
2265
|
onKeyDown: R,
|
|
2435
2266
|
role: D ? "button" : void 0,
|
|
2436
2267
|
tabIndex: D ? 0 : void 0,
|
|
2437
2268
|
children: [
|
|
2438
|
-
/* @__PURE__ */
|
|
2269
|
+
/* @__PURE__ */ z("span", {
|
|
2439
2270
|
className: "table-board-priority",
|
|
2440
2271
|
children: e
|
|
2441
2272
|
}),
|
|
2442
|
-
t && /* @__PURE__ */
|
|
2273
|
+
t && /* @__PURE__ */ z("span", {
|
|
2443
2274
|
className: "table-board-id",
|
|
2444
2275
|
children: t
|
|
2445
2276
|
}),
|
|
2446
|
-
/* @__PURE__ */
|
|
2277
|
+
/* @__PURE__ */ z("span", {
|
|
2447
2278
|
className: "table-board-status",
|
|
2448
|
-
children: /* @__PURE__ */
|
|
2279
|
+
children: /* @__PURE__ */ z("span", {
|
|
2449
2280
|
className: "table-board-status-dot",
|
|
2450
2281
|
style: { background: n }
|
|
2451
2282
|
})
|
|
2452
2283
|
}),
|
|
2453
|
-
/* @__PURE__ */
|
|
2284
|
+
/* @__PURE__ */ B("span", {
|
|
2454
2285
|
className: $("table-board-title-block", s && "inline-subtitle"),
|
|
2455
|
-
children: [/* @__PURE__ */
|
|
2286
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2456
2287
|
className: "table-board-title",
|
|
2457
2288
|
children: i
|
|
2458
|
-
}), a != null && a !== "" && /* @__PURE__ */
|
|
2289
|
+
}), a != null && a !== "" && /* @__PURE__ */ z("span", {
|
|
2459
2290
|
className: $("table-board-subtitle", s && "inline"),
|
|
2460
2291
|
children: a
|
|
2461
2292
|
})]
|
|
2462
2293
|
}),
|
|
2463
|
-
/* @__PURE__ */
|
|
2464
|
-
L.length > 0 && /* @__PURE__ */
|
|
2294
|
+
/* @__PURE__ */ z("span", { className: "table-board-spacer" }),
|
|
2295
|
+
L.length > 0 && /* @__PURE__ */ z("span", {
|
|
2465
2296
|
ref: O,
|
|
2466
2297
|
className: $("table-board-pills", k && "has-overflow"),
|
|
2467
|
-
children: L.map((e, t) => /* @__PURE__ */
|
|
2298
|
+
children: L.map((e, t) => /* @__PURE__ */ B("span", {
|
|
2468
2299
|
className: "table-board-pill",
|
|
2469
2300
|
children: [
|
|
2470
|
-
e.showDot !== !1 && /* @__PURE__ */
|
|
2301
|
+
e.showDot !== !1 && /* @__PURE__ */ z("span", {
|
|
2471
2302
|
className: "table-board-pill-dot",
|
|
2472
2303
|
style: { background: e.color || "var(--text-quaternary)" }
|
|
2473
2304
|
}),
|
|
@@ -2476,18 +2307,18 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2476
2307
|
]
|
|
2477
2308
|
}, `${e.label}-${t}`))
|
|
2478
2309
|
}),
|
|
2479
|
-
m != null && (r(m) ? m : /* @__PURE__ */
|
|
2310
|
+
m != null && (r(m) ? m : /* @__PURE__ */ z(X, {
|
|
2480
2311
|
className: "table-board-metric",
|
|
2481
2312
|
showDot: !1,
|
|
2482
|
-
children: /* @__PURE__ */
|
|
2313
|
+
children: /* @__PURE__ */ z(_t, {
|
|
2483
2314
|
tone: h,
|
|
2484
|
-
icon:
|
|
2315
|
+
icon: U,
|
|
2485
2316
|
showIcon: _,
|
|
2486
2317
|
children: m
|
|
2487
2318
|
})
|
|
2488
2319
|
})),
|
|
2489
|
-
|
|
2490
|
-
w && /* @__PURE__ */
|
|
2320
|
+
ee,
|
|
2321
|
+
w && /* @__PURE__ */ z("span", {
|
|
2491
2322
|
className: "table-board-meta",
|
|
2492
2323
|
children: w
|
|
2493
2324
|
})
|
|
@@ -2496,40 +2327,40 @@ function nn({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
2496
2327
|
}
|
|
2497
2328
|
//#endregion
|
|
2498
2329
|
//#region src/components/data/KPICard.jsx
|
|
2499
|
-
function
|
|
2330
|
+
function Ht({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
2500
2331
|
let s = {
|
|
2501
2332
|
up: "var(--accent-green)",
|
|
2502
2333
|
down: "var(--accent-red)",
|
|
2503
2334
|
neutral: "var(--text-tertiary)"
|
|
2504
|
-
}, c = i === "up" ?
|
|
2505
|
-
return /* @__PURE__ */
|
|
2335
|
+
}, c = i === "up" ? I : i === "down" ? F : j;
|
|
2336
|
+
return /* @__PURE__ */ B("div", {
|
|
2506
2337
|
className: `kpi-card ${o}`,
|
|
2507
2338
|
children: [
|
|
2508
|
-
/* @__PURE__ */
|
|
2339
|
+
/* @__PURE__ */ B("div", {
|
|
2509
2340
|
className: "kpi-header",
|
|
2510
|
-
children: [/* @__PURE__ */
|
|
2341
|
+
children: [/* @__PURE__ */ z("span", {
|
|
2511
2342
|
className: "kpi-title",
|
|
2512
2343
|
children: e
|
|
2513
|
-
}), a && /* @__PURE__ */
|
|
2344
|
+
}), a && /* @__PURE__ */ z("span", {
|
|
2514
2345
|
className: "kpi-icon",
|
|
2515
2346
|
children: a
|
|
2516
2347
|
})]
|
|
2517
2348
|
}),
|
|
2518
|
-
/* @__PURE__ */
|
|
2349
|
+
/* @__PURE__ */ z("div", {
|
|
2519
2350
|
className: "kpi-value",
|
|
2520
2351
|
children: t
|
|
2521
2352
|
}),
|
|
2522
|
-
(n !== void 0 || r) && /* @__PURE__ */
|
|
2353
|
+
(n !== void 0 || r) && /* @__PURE__ */ B("div", {
|
|
2523
2354
|
className: "kpi-footer",
|
|
2524
|
-
children: [/* @__PURE__ */
|
|
2355
|
+
children: [/* @__PURE__ */ B("span", {
|
|
2525
2356
|
className: "kpi-trend",
|
|
2526
2357
|
style: { color: s[i] },
|
|
2527
|
-
children: [/* @__PURE__ */
|
|
2358
|
+
children: [/* @__PURE__ */ z(c, { size: 12 }), n !== void 0 && /* @__PURE__ */ B("span", { children: [
|
|
2528
2359
|
n > 0 ? "+" : "",
|
|
2529
2360
|
n,
|
|
2530
2361
|
"%"
|
|
2531
2362
|
] })]
|
|
2532
|
-
}), r && /* @__PURE__ */
|
|
2363
|
+
}), r && /* @__PURE__ */ z("span", {
|
|
2533
2364
|
className: "kpi-change-label",
|
|
2534
2365
|
children: r
|
|
2535
2366
|
})]
|
|
@@ -2537,24 +2368,24 @@ function rn({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
2537
2368
|
]
|
|
2538
2369
|
});
|
|
2539
2370
|
}
|
|
2540
|
-
function
|
|
2541
|
-
return /* @__PURE__ */
|
|
2371
|
+
function Ut({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
2372
|
+
return /* @__PURE__ */ B("div", {
|
|
2542
2373
|
className: `stat-card ${i}`,
|
|
2543
|
-
children: [r && /* @__PURE__ */
|
|
2374
|
+
children: [r && /* @__PURE__ */ z("div", {
|
|
2544
2375
|
className: "stat-card-accent",
|
|
2545
2376
|
style: { background: r }
|
|
2546
|
-
}), /* @__PURE__ */
|
|
2377
|
+
}), /* @__PURE__ */ B("div", {
|
|
2547
2378
|
className: "stat-card-content",
|
|
2548
2379
|
children: [
|
|
2549
|
-
/* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ z("span", {
|
|
2550
2381
|
className: "stat-card-label",
|
|
2551
2382
|
children: e
|
|
2552
2383
|
}),
|
|
2553
|
-
/* @__PURE__ */
|
|
2384
|
+
/* @__PURE__ */ z("span", {
|
|
2554
2385
|
className: "stat-card-value",
|
|
2555
2386
|
children: t
|
|
2556
2387
|
}),
|
|
2557
|
-
n && /* @__PURE__ */
|
|
2388
|
+
n && /* @__PURE__ */ z("span", {
|
|
2558
2389
|
className: "stat-card-subtitle",
|
|
2559
2390
|
children: n
|
|
2560
2391
|
})
|
|
@@ -2564,56 +2395,56 @@ function an({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
2564
2395
|
}
|
|
2565
2396
|
//#endregion
|
|
2566
2397
|
//#region src/components/data/NotificationsPanel.jsx
|
|
2567
|
-
function
|
|
2398
|
+
function Wt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
2568
2399
|
let i = e.filter((e) => !e.read);
|
|
2569
|
-
return /* @__PURE__ */
|
|
2400
|
+
return /* @__PURE__ */ B("div", {
|
|
2570
2401
|
className: `notifications-panel ${r}`,
|
|
2571
|
-
children: [/* @__PURE__ */
|
|
2402
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2572
2403
|
className: "notifications-header",
|
|
2573
|
-
children: [/* @__PURE__ */
|
|
2404
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2574
2405
|
className: "notifications-title",
|
|
2575
2406
|
children: [
|
|
2576
|
-
/* @__PURE__ */
|
|
2577
|
-
/* @__PURE__ */
|
|
2578
|
-
i.length > 0 && /* @__PURE__ */
|
|
2407
|
+
/* @__PURE__ */ z(p, { size: 16 }),
|
|
2408
|
+
/* @__PURE__ */ z("span", { children: "Notifications" }),
|
|
2409
|
+
i.length > 0 && /* @__PURE__ */ z("span", {
|
|
2579
2410
|
className: "badge badge-purple",
|
|
2580
2411
|
style: { marginLeft: "var(--space-1)" },
|
|
2581
2412
|
children: i.length
|
|
2582
2413
|
})
|
|
2583
2414
|
]
|
|
2584
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
2415
|
+
}), i.length > 0 && /* @__PURE__ */ B("button", {
|
|
2585
2416
|
className: "btn btn-ghost btn-sm",
|
|
2586
2417
|
onClick: n,
|
|
2587
|
-
children: [/* @__PURE__ */
|
|
2418
|
+
children: [/* @__PURE__ */ z(g, { size: 14 }), " Mark all read"]
|
|
2588
2419
|
})]
|
|
2589
|
-
}), /* @__PURE__ */
|
|
2420
|
+
}), /* @__PURE__ */ B("div", {
|
|
2590
2421
|
className: "notifications-list",
|
|
2591
|
-
children: [e.length === 0 && /* @__PURE__ */
|
|
2422
|
+
children: [e.length === 0 && /* @__PURE__ */ z("div", {
|
|
2592
2423
|
className: "notifications-empty",
|
|
2593
2424
|
children: "No notifications"
|
|
2594
|
-
}), e.map((e) => /* @__PURE__ */
|
|
2425
|
+
}), e.map((e) => /* @__PURE__ */ B("div", {
|
|
2595
2426
|
className: `notification-item ${e.read ? "" : "unread"}`,
|
|
2596
2427
|
onClick: () => !e.read && t?.(e.id),
|
|
2597
2428
|
children: [
|
|
2598
|
-
/* @__PURE__ */
|
|
2429
|
+
/* @__PURE__ */ z(Y, {
|
|
2599
2430
|
name: e.user,
|
|
2600
2431
|
size: "sm"
|
|
2601
2432
|
}),
|
|
2602
|
-
/* @__PURE__ */
|
|
2433
|
+
/* @__PURE__ */ B("div", {
|
|
2603
2434
|
className: "notification-content",
|
|
2604
|
-
children: [/* @__PURE__ */
|
|
2435
|
+
children: [/* @__PURE__ */ B("div", {
|
|
2605
2436
|
className: "notification-text",
|
|
2606
2437
|
children: [
|
|
2607
|
-
/* @__PURE__ */
|
|
2438
|
+
/* @__PURE__ */ z("strong", { children: e.user }),
|
|
2608
2439
|
" ",
|
|
2609
2440
|
e.text
|
|
2610
2441
|
]
|
|
2611
|
-
}), /* @__PURE__ */
|
|
2442
|
+
}), /* @__PURE__ */ z("span", {
|
|
2612
2443
|
className: "notification-time",
|
|
2613
2444
|
children: e.time
|
|
2614
2445
|
})]
|
|
2615
2446
|
}),
|
|
2616
|
-
!e.read && /* @__PURE__ */
|
|
2447
|
+
!e.read && /* @__PURE__ */ z("div", { className: "notification-dot" })
|
|
2617
2448
|
]
|
|
2618
2449
|
}, e.id))]
|
|
2619
2450
|
})]
|
|
@@ -2621,46 +2452,46 @@ function on({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
2621
2452
|
}
|
|
2622
2453
|
//#endregion
|
|
2623
2454
|
//#region src/components/Icons.jsx
|
|
2624
|
-
function
|
|
2625
|
-
return /* @__PURE__ */
|
|
2455
|
+
function Gt() {
|
|
2456
|
+
return /* @__PURE__ */ z("svg", {
|
|
2626
2457
|
width: "16",
|
|
2627
2458
|
height: "16",
|
|
2628
2459
|
viewBox: "0 0 16 16",
|
|
2629
2460
|
fill: "currentColor",
|
|
2630
|
-
children: /* @__PURE__ */
|
|
2461
|
+
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
2462
|
});
|
|
2632
2463
|
}
|
|
2633
|
-
function
|
|
2634
|
-
return /* @__PURE__ */
|
|
2464
|
+
function Kt() {
|
|
2465
|
+
return /* @__PURE__ */ B("svg", {
|
|
2635
2466
|
width: "16",
|
|
2636
2467
|
height: "16",
|
|
2637
2468
|
viewBox: "0 0 16 16",
|
|
2638
2469
|
fill: "currentColor",
|
|
2639
|
-
children: [/* @__PURE__ */
|
|
2470
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2640
2471
|
cx: "8",
|
|
2641
2472
|
cy: "8",
|
|
2642
2473
|
r: "6",
|
|
2643
2474
|
fill: "none",
|
|
2644
2475
|
stroke: "currentColor",
|
|
2645
2476
|
strokeWidth: "1.5"
|
|
2646
|
-
}), /* @__PURE__ */
|
|
2477
|
+
}), /* @__PURE__ */ z("circle", {
|
|
2647
2478
|
cx: "8",
|
|
2648
2479
|
cy: "8",
|
|
2649
2480
|
r: "2"
|
|
2650
2481
|
})]
|
|
2651
2482
|
});
|
|
2652
2483
|
}
|
|
2653
|
-
function
|
|
2654
|
-
return /* @__PURE__ */
|
|
2484
|
+
function qt() {
|
|
2485
|
+
return /* @__PURE__ */ z("svg", {
|
|
2655
2486
|
width: "16",
|
|
2656
2487
|
height: "16",
|
|
2657
2488
|
viewBox: "0 0 16 16",
|
|
2658
2489
|
fill: "currentColor",
|
|
2659
|
-
children: /* @__PURE__ */
|
|
2490
|
+
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
2491
|
});
|
|
2661
2492
|
}
|
|
2662
|
-
function
|
|
2663
|
-
return /* @__PURE__ */
|
|
2493
|
+
function Jt() {
|
|
2494
|
+
return /* @__PURE__ */ z("svg", {
|
|
2664
2495
|
width: "16",
|
|
2665
2496
|
height: "16",
|
|
2666
2497
|
viewBox: "0 0 16 16",
|
|
@@ -2669,45 +2500,45 @@ function un() {
|
|
|
2669
2500
|
strokeWidth: "1.5",
|
|
2670
2501
|
strokeLinecap: "round",
|
|
2671
2502
|
strokeLinejoin: "round",
|
|
2672
|
-
children: /* @__PURE__ */
|
|
2503
|
+
children: /* @__PURE__ */ z("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
2673
2504
|
});
|
|
2674
2505
|
}
|
|
2675
|
-
function
|
|
2676
|
-
return /* @__PURE__ */
|
|
2506
|
+
function Yt() {
|
|
2507
|
+
return /* @__PURE__ */ z("svg", {
|
|
2677
2508
|
width: "16",
|
|
2678
2509
|
height: "16",
|
|
2679
2510
|
viewBox: "0 0 16 16",
|
|
2680
2511
|
fill: "currentColor",
|
|
2681
|
-
children: /* @__PURE__ */
|
|
2512
|
+
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
2513
|
});
|
|
2683
2514
|
}
|
|
2684
|
-
function
|
|
2685
|
-
return /* @__PURE__ */
|
|
2515
|
+
function Xt() {
|
|
2516
|
+
return /* @__PURE__ */ z("svg", {
|
|
2686
2517
|
width: "16",
|
|
2687
2518
|
height: "16",
|
|
2688
2519
|
viewBox: "0 0 16 16",
|
|
2689
2520
|
fill: "currentColor",
|
|
2690
|
-
children: /* @__PURE__ */
|
|
2521
|
+
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
2522
|
});
|
|
2692
2523
|
}
|
|
2693
|
-
function
|
|
2694
|
-
return /* @__PURE__ */
|
|
2524
|
+
function Zt() {
|
|
2525
|
+
return /* @__PURE__ */ B("svg", {
|
|
2695
2526
|
width: "16",
|
|
2696
2527
|
height: "16",
|
|
2697
2528
|
viewBox: "0 0 16 16",
|
|
2698
2529
|
fill: "currentColor",
|
|
2699
2530
|
children: [
|
|
2700
|
-
/* @__PURE__ */
|
|
2531
|
+
/* @__PURE__ */ z("circle", {
|
|
2701
2532
|
cx: "4",
|
|
2702
2533
|
cy: "8",
|
|
2703
2534
|
r: "1.5"
|
|
2704
2535
|
}),
|
|
2705
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ z("circle", {
|
|
2706
2537
|
cx: "8",
|
|
2707
2538
|
cy: "8",
|
|
2708
2539
|
r: "1.5"
|
|
2709
2540
|
}),
|
|
2710
|
-
/* @__PURE__ */
|
|
2541
|
+
/* @__PURE__ */ z("circle", {
|
|
2711
2542
|
cx: "12",
|
|
2712
2543
|
cy: "8",
|
|
2713
2544
|
r: "1.5"
|
|
@@ -2715,26 +2546,26 @@ function pn() {
|
|
|
2715
2546
|
]
|
|
2716
2547
|
});
|
|
2717
2548
|
}
|
|
2718
|
-
function
|
|
2719
|
-
return /* @__PURE__ */
|
|
2549
|
+
function Qt() {
|
|
2550
|
+
return /* @__PURE__ */ B("svg", {
|
|
2720
2551
|
width: "16",
|
|
2721
2552
|
height: "16",
|
|
2722
2553
|
viewBox: "0 0 16 16",
|
|
2723
2554
|
fill: "none",
|
|
2724
2555
|
stroke: "currentColor",
|
|
2725
2556
|
strokeWidth: "1.5",
|
|
2726
|
-
children: [/* @__PURE__ */
|
|
2557
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2727
2558
|
cx: "7",
|
|
2728
2559
|
cy: "7",
|
|
2729
2560
|
r: "4.5"
|
|
2730
|
-
}), /* @__PURE__ */
|
|
2561
|
+
}), /* @__PURE__ */ z("path", {
|
|
2731
2562
|
d: "M10.5 10.5L14 14",
|
|
2732
2563
|
strokeLinecap: "round"
|
|
2733
2564
|
})]
|
|
2734
2565
|
});
|
|
2735
2566
|
}
|
|
2736
|
-
function
|
|
2737
|
-
return /* @__PURE__ */
|
|
2567
|
+
function $t() {
|
|
2568
|
+
return /* @__PURE__ */ z("svg", {
|
|
2738
2569
|
width: "16",
|
|
2739
2570
|
height: "16",
|
|
2740
2571
|
viewBox: "0 0 16 16",
|
|
@@ -2743,11 +2574,11 @@ function hn() {
|
|
|
2743
2574
|
strokeWidth: "1.5",
|
|
2744
2575
|
strokeLinecap: "round",
|
|
2745
2576
|
strokeLinejoin: "round",
|
|
2746
|
-
children: /* @__PURE__ */
|
|
2577
|
+
children: /* @__PURE__ */ z("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
2747
2578
|
});
|
|
2748
2579
|
}
|
|
2749
|
-
function
|
|
2750
|
-
return /* @__PURE__ */
|
|
2580
|
+
function en() {
|
|
2581
|
+
return /* @__PURE__ */ z("svg", {
|
|
2751
2582
|
width: "14",
|
|
2752
2583
|
height: "14",
|
|
2753
2584
|
viewBox: "0 0 14 14",
|
|
@@ -2756,11 +2587,11 @@ function gn() {
|
|
|
2756
2587
|
strokeWidth: "1.5",
|
|
2757
2588
|
strokeLinecap: "round",
|
|
2758
2589
|
strokeLinejoin: "round",
|
|
2759
|
-
children: /* @__PURE__ */
|
|
2590
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
2760
2591
|
});
|
|
2761
2592
|
}
|
|
2762
|
-
function
|
|
2763
|
-
return /* @__PURE__ */
|
|
2593
|
+
function tn() {
|
|
2594
|
+
return /* @__PURE__ */ z("svg", {
|
|
2764
2595
|
width: "14",
|
|
2765
2596
|
height: "14",
|
|
2766
2597
|
viewBox: "0 0 14 14",
|
|
@@ -2769,24 +2600,24 @@ function _n() {
|
|
|
2769
2600
|
strokeWidth: "1.5",
|
|
2770
2601
|
strokeLinecap: "round",
|
|
2771
2602
|
strokeLinejoin: "round",
|
|
2772
|
-
children: /* @__PURE__ */
|
|
2603
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
2773
2604
|
});
|
|
2774
2605
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return /* @__PURE__ */
|
|
2606
|
+
function nn() {
|
|
2607
|
+
return /* @__PURE__ */ z("svg", {
|
|
2777
2608
|
width: "14",
|
|
2778
2609
|
height: "14",
|
|
2779
2610
|
viewBox: "0 0 14 14",
|
|
2780
2611
|
fill: "#c9a84e",
|
|
2781
|
-
children: /* @__PURE__ */
|
|
2612
|
+
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
2613
|
});
|
|
2783
2614
|
}
|
|
2784
|
-
function
|
|
2785
|
-
return /* @__PURE__ */
|
|
2615
|
+
function rn() {
|
|
2616
|
+
return /* @__PURE__ */ B("svg", {
|
|
2786
2617
|
width: "14",
|
|
2787
2618
|
height: "14",
|
|
2788
2619
|
viewBox: "0 0 14 14",
|
|
2789
|
-
children: [/* @__PURE__ */
|
|
2620
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2790
2621
|
cx: "7",
|
|
2791
2622
|
cy: "7",
|
|
2792
2623
|
r: "5.5",
|
|
@@ -2794,7 +2625,7 @@ function yn() {
|
|
|
2794
2625
|
stroke: "#c9a84e",
|
|
2795
2626
|
strokeWidth: "1.5",
|
|
2796
2627
|
strokeDasharray: "8.6 2.9"
|
|
2797
|
-
}), /* @__PURE__ */
|
|
2628
|
+
}), /* @__PURE__ */ z("circle", {
|
|
2798
2629
|
cx: "7",
|
|
2799
2630
|
cy: "7",
|
|
2800
2631
|
r: "2",
|
|
@@ -2802,17 +2633,17 @@ function yn() {
|
|
|
2802
2633
|
})]
|
|
2803
2634
|
});
|
|
2804
2635
|
}
|
|
2805
|
-
function
|
|
2806
|
-
return /* @__PURE__ */
|
|
2636
|
+
function an() {
|
|
2637
|
+
return /* @__PURE__ */ B("svg", {
|
|
2807
2638
|
width: "14",
|
|
2808
2639
|
height: "14",
|
|
2809
2640
|
viewBox: "0 0 14 14",
|
|
2810
|
-
children: [/* @__PURE__ */
|
|
2641
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2811
2642
|
cx: "7",
|
|
2812
2643
|
cy: "7",
|
|
2813
2644
|
r: "6",
|
|
2814
2645
|
fill: "#5bb98e"
|
|
2815
|
-
}), /* @__PURE__ */
|
|
2646
|
+
}), /* @__PURE__ */ z("path", {
|
|
2816
2647
|
d: "M4.5 7l2 2 3-3.5",
|
|
2817
2648
|
stroke: "#08090a",
|
|
2818
2649
|
strokeWidth: "1.5",
|
|
@@ -2822,12 +2653,12 @@ function bn() {
|
|
|
2822
2653
|
})]
|
|
2823
2654
|
});
|
|
2824
2655
|
}
|
|
2825
|
-
function
|
|
2826
|
-
return /* @__PURE__ */
|
|
2656
|
+
function on() {
|
|
2657
|
+
return /* @__PURE__ */ z("svg", {
|
|
2827
2658
|
width: "14",
|
|
2828
2659
|
height: "14",
|
|
2829
2660
|
viewBox: "0 0 14 14",
|
|
2830
|
-
children: /* @__PURE__ */
|
|
2661
|
+
children: /* @__PURE__ */ z("circle", {
|
|
2831
2662
|
cx: "7",
|
|
2832
2663
|
cy: "7",
|
|
2833
2664
|
r: "5.5",
|
|
@@ -2837,12 +2668,12 @@ function xn() {
|
|
|
2837
2668
|
})
|
|
2838
2669
|
});
|
|
2839
2670
|
}
|
|
2840
|
-
function
|
|
2841
|
-
return /* @__PURE__ */
|
|
2671
|
+
function sn() {
|
|
2672
|
+
return /* @__PURE__ */ z("svg", {
|
|
2842
2673
|
width: "14",
|
|
2843
2674
|
height: "14",
|
|
2844
2675
|
viewBox: "0 0 14 14",
|
|
2845
|
-
children: /* @__PURE__ */
|
|
2676
|
+
children: /* @__PURE__ */ z("circle", {
|
|
2846
2677
|
cx: "7",
|
|
2847
2678
|
cy: "7",
|
|
2848
2679
|
r: "5.5",
|
|
@@ -2853,19 +2684,19 @@ function Sn() {
|
|
|
2853
2684
|
})
|
|
2854
2685
|
});
|
|
2855
2686
|
}
|
|
2856
|
-
function
|
|
2857
|
-
return /* @__PURE__ */
|
|
2687
|
+
function cn() {
|
|
2688
|
+
return /* @__PURE__ */ B("svg", {
|
|
2858
2689
|
width: "14",
|
|
2859
2690
|
height: "14",
|
|
2860
2691
|
viewBox: "0 0 14 14",
|
|
2861
|
-
children: [/* @__PURE__ */
|
|
2692
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
2862
2693
|
cx: "7",
|
|
2863
2694
|
cy: "7",
|
|
2864
2695
|
r: "5.5",
|
|
2865
2696
|
fill: "none",
|
|
2866
2697
|
stroke: "#6b6d71",
|
|
2867
2698
|
strokeWidth: "1.5"
|
|
2868
|
-
}), /* @__PURE__ */
|
|
2699
|
+
}), /* @__PURE__ */ z("path", {
|
|
2869
2700
|
d: "M4.5 7h5",
|
|
2870
2701
|
stroke: "#6b6d71",
|
|
2871
2702
|
strokeWidth: "1.5",
|
|
@@ -2873,37 +2704,37 @@ function Cn() {
|
|
|
2873
2704
|
})]
|
|
2874
2705
|
});
|
|
2875
2706
|
}
|
|
2876
|
-
function
|
|
2877
|
-
return /* @__PURE__ */
|
|
2707
|
+
function ln() {
|
|
2708
|
+
return /* @__PURE__ */ z("svg", {
|
|
2878
2709
|
width: "14",
|
|
2879
2710
|
height: "14",
|
|
2880
2711
|
viewBox: "0 0 14 14",
|
|
2881
2712
|
fill: "#c75a5a",
|
|
2882
|
-
children: /* @__PURE__ */
|
|
2713
|
+
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
2714
|
});
|
|
2884
2715
|
}
|
|
2885
|
-
function
|
|
2886
|
-
return /* @__PURE__ */
|
|
2716
|
+
function un() {
|
|
2717
|
+
return /* @__PURE__ */ B("svg", {
|
|
2887
2718
|
width: "14",
|
|
2888
2719
|
height: "14",
|
|
2889
2720
|
viewBox: "0 0 14 14",
|
|
2890
2721
|
fill: "#c4a06a",
|
|
2891
2722
|
children: [
|
|
2892
|
-
/* @__PURE__ */
|
|
2723
|
+
/* @__PURE__ */ z("rect", {
|
|
2893
2724
|
x: "2",
|
|
2894
2725
|
y: "8",
|
|
2895
2726
|
width: "2.5",
|
|
2896
2727
|
height: "4",
|
|
2897
2728
|
rx: "0.5"
|
|
2898
2729
|
}),
|
|
2899
|
-
/* @__PURE__ */
|
|
2730
|
+
/* @__PURE__ */ z("rect", {
|
|
2900
2731
|
x: "5.75",
|
|
2901
2732
|
y: "5",
|
|
2902
2733
|
width: "2.5",
|
|
2903
2734
|
height: "7",
|
|
2904
2735
|
rx: "0.5"
|
|
2905
2736
|
}),
|
|
2906
|
-
/* @__PURE__ */
|
|
2737
|
+
/* @__PURE__ */ z("rect", {
|
|
2907
2738
|
x: "9.5",
|
|
2908
2739
|
y: "2",
|
|
2909
2740
|
width: "2.5",
|
|
@@ -2913,13 +2744,13 @@ function Tn() {
|
|
|
2913
2744
|
]
|
|
2914
2745
|
});
|
|
2915
2746
|
}
|
|
2916
|
-
function
|
|
2917
|
-
return /* @__PURE__ */
|
|
2747
|
+
function dn() {
|
|
2748
|
+
return /* @__PURE__ */ B("svg", {
|
|
2918
2749
|
width: "14",
|
|
2919
2750
|
height: "14",
|
|
2920
2751
|
viewBox: "0 0 14 14",
|
|
2921
2752
|
children: [
|
|
2922
|
-
/* @__PURE__ */
|
|
2753
|
+
/* @__PURE__ */ z("rect", {
|
|
2923
2754
|
x: "2",
|
|
2924
2755
|
y: "8",
|
|
2925
2756
|
width: "2.5",
|
|
@@ -2927,7 +2758,7 @@ function En() {
|
|
|
2927
2758
|
rx: "0.5",
|
|
2928
2759
|
fill: "#c9a84e"
|
|
2929
2760
|
}),
|
|
2930
|
-
/* @__PURE__ */
|
|
2761
|
+
/* @__PURE__ */ z("rect", {
|
|
2931
2762
|
x: "5.75",
|
|
2932
2763
|
y: "5",
|
|
2933
2764
|
width: "2.5",
|
|
@@ -2935,7 +2766,7 @@ function En() {
|
|
|
2935
2766
|
rx: "0.5",
|
|
2936
2767
|
fill: "#c9a84e"
|
|
2937
2768
|
}),
|
|
2938
|
-
/* @__PURE__ */
|
|
2769
|
+
/* @__PURE__ */ z("rect", {
|
|
2939
2770
|
x: "9.5",
|
|
2940
2771
|
y: "2",
|
|
2941
2772
|
width: "2.5",
|
|
@@ -2946,13 +2777,13 @@ function En() {
|
|
|
2946
2777
|
]
|
|
2947
2778
|
});
|
|
2948
2779
|
}
|
|
2949
|
-
function
|
|
2950
|
-
return /* @__PURE__ */
|
|
2780
|
+
function fn() {
|
|
2781
|
+
return /* @__PURE__ */ B("svg", {
|
|
2951
2782
|
width: "14",
|
|
2952
2783
|
height: "14",
|
|
2953
2784
|
viewBox: "0 0 14 14",
|
|
2954
2785
|
children: [
|
|
2955
|
-
/* @__PURE__ */
|
|
2786
|
+
/* @__PURE__ */ z("rect", {
|
|
2956
2787
|
x: "2",
|
|
2957
2788
|
y: "8",
|
|
2958
2789
|
width: "2.5",
|
|
@@ -2960,7 +2791,7 @@ function Dn() {
|
|
|
2960
2791
|
rx: "0.5",
|
|
2961
2792
|
fill: "#5bb98e"
|
|
2962
2793
|
}),
|
|
2963
|
-
/* @__PURE__ */
|
|
2794
|
+
/* @__PURE__ */ z("rect", {
|
|
2964
2795
|
x: "5.75",
|
|
2965
2796
|
y: "5",
|
|
2966
2797
|
width: "2.5",
|
|
@@ -2968,7 +2799,7 @@ function Dn() {
|
|
|
2968
2799
|
rx: "0.5",
|
|
2969
2800
|
fill: "#4e5054"
|
|
2970
2801
|
}),
|
|
2971
|
-
/* @__PURE__ */
|
|
2802
|
+
/* @__PURE__ */ z("rect", {
|
|
2972
2803
|
x: "9.5",
|
|
2973
2804
|
y: "2",
|
|
2974
2805
|
width: "2.5",
|
|
@@ -2979,8 +2810,8 @@ function Dn() {
|
|
|
2979
2810
|
]
|
|
2980
2811
|
});
|
|
2981
2812
|
}
|
|
2982
|
-
function
|
|
2983
|
-
return /* @__PURE__ */
|
|
2813
|
+
function pn() {
|
|
2814
|
+
return /* @__PURE__ */ z("svg", {
|
|
2984
2815
|
width: "14",
|
|
2985
2816
|
height: "14",
|
|
2986
2817
|
viewBox: "0 0 14 14",
|
|
@@ -2988,11 +2819,11 @@ function On() {
|
|
|
2988
2819
|
stroke: "currentColor",
|
|
2989
2820
|
strokeWidth: "1.5",
|
|
2990
2821
|
strokeLinecap: "round",
|
|
2991
|
-
children: /* @__PURE__ */
|
|
2822
|
+
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
2823
|
});
|
|
2993
2824
|
}
|
|
2994
|
-
function
|
|
2995
|
-
return /* @__PURE__ */
|
|
2825
|
+
function mn() {
|
|
2826
|
+
return /* @__PURE__ */ z("svg", {
|
|
2996
2827
|
width: "14",
|
|
2997
2828
|
height: "14",
|
|
2998
2829
|
viewBox: "0 0 14 14",
|
|
@@ -3001,11 +2832,11 @@ function kn() {
|
|
|
3001
2832
|
strokeWidth: "1.5",
|
|
3002
2833
|
strokeLinecap: "round",
|
|
3003
2834
|
strokeLinejoin: "round",
|
|
3004
|
-
children: /* @__PURE__ */
|
|
2835
|
+
children: /* @__PURE__ */ z("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
3005
2836
|
});
|
|
3006
2837
|
}
|
|
3007
|
-
function
|
|
3008
|
-
return /* @__PURE__ */
|
|
2838
|
+
function hn() {
|
|
2839
|
+
return /* @__PURE__ */ B("svg", {
|
|
3009
2840
|
width: "14",
|
|
3010
2841
|
height: "14",
|
|
3011
2842
|
viewBox: "0 0 14 14",
|
|
@@ -3014,15 +2845,15 @@ function An() {
|
|
|
3014
2845
|
strokeWidth: "1.5",
|
|
3015
2846
|
strokeLinecap: "round",
|
|
3016
2847
|
strokeLinejoin: "round",
|
|
3017
|
-
children: [/* @__PURE__ */
|
|
2848
|
+
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
2849
|
cx: "7",
|
|
3019
2850
|
cy: "7",
|
|
3020
2851
|
r: "2"
|
|
3021
2852
|
})]
|
|
3022
2853
|
});
|
|
3023
2854
|
}
|
|
3024
|
-
function
|
|
3025
|
-
return /* @__PURE__ */
|
|
2855
|
+
function gn() {
|
|
2856
|
+
return /* @__PURE__ */ z("svg", {
|
|
3026
2857
|
width: "14",
|
|
3027
2858
|
height: "14",
|
|
3028
2859
|
viewBox: "0 0 14 14",
|
|
@@ -3030,11 +2861,11 @@ function jn() {
|
|
|
3030
2861
|
stroke: "currentColor",
|
|
3031
2862
|
strokeWidth: "1.5",
|
|
3032
2863
|
strokeLinecap: "round",
|
|
3033
|
-
children: /* @__PURE__ */
|
|
2864
|
+
children: /* @__PURE__ */ z("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
3034
2865
|
});
|
|
3035
2866
|
}
|
|
3036
|
-
function
|
|
3037
|
-
return /* @__PURE__ */
|
|
2867
|
+
function _n() {
|
|
2868
|
+
return /* @__PURE__ */ z("svg", {
|
|
3038
2869
|
width: "14",
|
|
3039
2870
|
height: "14",
|
|
3040
2871
|
viewBox: "0 0 14 14",
|
|
@@ -3043,11 +2874,11 @@ function Mn() {
|
|
|
3043
2874
|
strokeWidth: "2",
|
|
3044
2875
|
strokeLinecap: "round",
|
|
3045
2876
|
strokeLinejoin: "round",
|
|
3046
|
-
children: /* @__PURE__ */
|
|
2877
|
+
children: /* @__PURE__ */ z("path", { d: "M3 7.5l3 3 5-6" })
|
|
3047
2878
|
});
|
|
3048
2879
|
}
|
|
3049
|
-
function
|
|
3050
|
-
return /* @__PURE__ */
|
|
2880
|
+
function vn() {
|
|
2881
|
+
return /* @__PURE__ */ B("svg", {
|
|
3051
2882
|
width: "14",
|
|
3052
2883
|
height: "14",
|
|
3053
2884
|
viewBox: "0 0 14 14",
|
|
@@ -3056,17 +2887,17 @@ function Nn() {
|
|
|
3056
2887
|
strokeWidth: "1.5",
|
|
3057
2888
|
strokeLinecap: "round",
|
|
3058
2889
|
strokeLinejoin: "round",
|
|
3059
|
-
children: [/* @__PURE__ */
|
|
2890
|
+
children: [/* @__PURE__ */ z("rect", {
|
|
3060
2891
|
x: "4.5",
|
|
3061
2892
|
y: "4.5",
|
|
3062
2893
|
width: "7",
|
|
3063
2894
|
height: "7",
|
|
3064
2895
|
rx: "1"
|
|
3065
|
-
}), /* @__PURE__ */
|
|
2896
|
+
}), /* @__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
2897
|
});
|
|
3067
2898
|
}
|
|
3068
|
-
function
|
|
3069
|
-
return /* @__PURE__ */
|
|
2899
|
+
function yn() {
|
|
2900
|
+
return /* @__PURE__ */ z("svg", {
|
|
3070
2901
|
width: "14",
|
|
3071
2902
|
height: "14",
|
|
3072
2903
|
viewBox: "0 0 14 14",
|
|
@@ -3075,11 +2906,11 @@ function Pn() {
|
|
|
3075
2906
|
strokeWidth: "1.5",
|
|
3076
2907
|
strokeLinecap: "round",
|
|
3077
2908
|
strokeLinejoin: "round",
|
|
3078
|
-
children: /* @__PURE__ */
|
|
2909
|
+
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
2910
|
});
|
|
3080
2911
|
}
|
|
3081
|
-
function
|
|
3082
|
-
return /* @__PURE__ */
|
|
2912
|
+
function bn() {
|
|
2913
|
+
return /* @__PURE__ */ B("svg", {
|
|
3083
2914
|
width: "14",
|
|
3084
2915
|
height: "14",
|
|
3085
2916
|
viewBox: "0 0 14 14",
|
|
@@ -3088,17 +2919,17 @@ function Fn() {
|
|
|
3088
2919
|
strokeWidth: "1.5",
|
|
3089
2920
|
strokeLinecap: "round",
|
|
3090
2921
|
strokeLinejoin: "round",
|
|
3091
|
-
children: [/* @__PURE__ */
|
|
2922
|
+
children: [/* @__PURE__ */ z("rect", {
|
|
3092
2923
|
x: "1.5",
|
|
3093
2924
|
y: "2.5",
|
|
3094
2925
|
width: "11",
|
|
3095
2926
|
height: "10",
|
|
3096
2927
|
rx: "1"
|
|
3097
|
-
}), /* @__PURE__ */
|
|
2928
|
+
}), /* @__PURE__ */ z("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
3098
2929
|
});
|
|
3099
2930
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return /* @__PURE__ */
|
|
2931
|
+
function xn() {
|
|
2932
|
+
return /* @__PURE__ */ z("svg", {
|
|
3102
2933
|
width: "14",
|
|
3103
2934
|
height: "14",
|
|
3104
2935
|
viewBox: "0 0 14 14",
|
|
@@ -3107,20 +2938,20 @@ function In() {
|
|
|
3107
2938
|
strokeWidth: "1.5",
|
|
3108
2939
|
strokeLinecap: "round",
|
|
3109
2940
|
strokeLinejoin: "round",
|
|
3110
|
-
children: /* @__PURE__ */
|
|
2941
|
+
children: /* @__PURE__ */ z("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
3111
2942
|
});
|
|
3112
2943
|
}
|
|
3113
|
-
function
|
|
3114
|
-
return /* @__PURE__ */
|
|
2944
|
+
function Sn() {
|
|
2945
|
+
return /* @__PURE__ */ B("svg", {
|
|
3115
2946
|
width: "14",
|
|
3116
2947
|
height: "14",
|
|
3117
2948
|
viewBox: "0 0 14 14",
|
|
3118
2949
|
fill: "currentColor",
|
|
3119
|
-
children: [/* @__PURE__ */
|
|
2950
|
+
children: [/* @__PURE__ */ z("circle", {
|
|
3120
2951
|
cx: "7",
|
|
3121
2952
|
cy: "4.5",
|
|
3122
2953
|
r: "2.5"
|
|
3123
|
-
}), /* @__PURE__ */
|
|
2954
|
+
}), /* @__PURE__ */ z("path", {
|
|
3124
2955
|
d: "M2.5 12.5a4.5 4.5 0 0 1 9 0",
|
|
3125
2956
|
fill: "none",
|
|
3126
2957
|
stroke: "currentColor",
|
|
@@ -3128,8 +2959,8 @@ function Ln() {
|
|
|
3128
2959
|
})]
|
|
3129
2960
|
});
|
|
3130
2961
|
}
|
|
3131
|
-
function
|
|
3132
|
-
return /* @__PURE__ */
|
|
2962
|
+
function Cn() {
|
|
2963
|
+
return /* @__PURE__ */ B("svg", {
|
|
3133
2964
|
width: "14",
|
|
3134
2965
|
height: "14",
|
|
3135
2966
|
viewBox: "0 0 14 14",
|
|
@@ -3138,7 +2969,7 @@ function Rn() {
|
|
|
3138
2969
|
strokeWidth: "1.5",
|
|
3139
2970
|
strokeLinecap: "round",
|
|
3140
2971
|
strokeLinejoin: "round",
|
|
3141
|
-
children: [/* @__PURE__ */
|
|
2972
|
+
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
2973
|
cx: "5",
|
|
3143
2974
|
cy: "5",
|
|
3144
2975
|
r: "1",
|
|
@@ -3147,4 +2978,4 @@ function Rn() {
|
|
|
3147
2978
|
});
|
|
3148
2979
|
}
|
|
3149
2980
|
//#endregion
|
|
3150
|
-
export {
|
|
2981
|
+
export { Re as Accordion, Le as AccordionItem, Mt as ActivityFeed, Ne as AppLoader, Y 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, Ae as FCCAppShell, je as FCCBrandLogo, xe as FCCBreadcrumbs, oe as FCCDesignProvider, Ie as FCCDetailsPanel, Ce as FCCHeaderStatus, Fe as FCCLoader, Te as FCCMainWindow, J as FCCSidePanel, ge as FCCSidePanelAction, le as FCCSidePanelBody, me as FCCSidePanelCard, _e as FCCSidePanelChatWrap, he as FCCSidePanelContact, ve as FCCSidePanelConversation, fe as FCCSidePanelGroupLabel, ce as FCCSidePanelHeader, pe as FCCSidePanelItem, ye as FCCSidePanelMessage, de as FCCSidePanelSearch, ue as FCCSidePanelTabs, ke as FCCSidebar, Me as FCCThemeToggle, we 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, Pe 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, G as ThemeProvider, te as ToastProvider, wt as Tooltip, mn as TrashIcon, Sn as UserIcon, kt as ViewModeToggle, jt as WorkspaceTabs, K as useTheme, ne as useToast };
|