@freedom-code-compliance/fcc-redesign 0.1.46 → 0.1.49
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 +350 -325
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -132,25 +132,25 @@ function De({ children: e, ...t }) {
|
|
|
132
132
|
}
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/components/layout/FCCAppShellContext.jsx
|
|
135
|
-
var
|
|
135
|
+
var K = () => {}, Oe = e({
|
|
136
136
|
sidebarPinned: !1,
|
|
137
|
-
setSidebarPinned:
|
|
138
|
-
toggleSidebarPinned:
|
|
137
|
+
setSidebarPinned: K,
|
|
138
|
+
toggleSidebarPinned: K,
|
|
139
139
|
mobileMenuOpen: !1,
|
|
140
|
-
setMobileMenuOpen:
|
|
141
|
-
toggleMobileMenu:
|
|
142
|
-
closeMobileMenu:
|
|
140
|
+
setMobileMenuOpen: K,
|
|
141
|
+
toggleMobileMenu: K,
|
|
142
|
+
closeMobileMenu: K,
|
|
143
143
|
isMobileViewport: !1,
|
|
144
144
|
pinnable: !1,
|
|
145
145
|
mobileMenuEnabled: !1
|
|
146
146
|
});
|
|
147
|
-
function
|
|
148
|
-
return a(
|
|
147
|
+
function ke() {
|
|
148
|
+
return a(Oe);
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/components/layout/FCCSidePanel.jsx
|
|
152
|
-
var
|
|
153
|
-
function
|
|
152
|
+
var q = (...e) => e.filter(Boolean).join(" "), Ae = 300;
|
|
153
|
+
function je({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1, panel: i, children: a, className: s = "", contentClassName: c = "", panelClassName: l = "" }) {
|
|
154
154
|
let f = r && n ? n : t, p = u(null), m = u(null), [h, g] = d(e ? i : null), [_, v] = d(f), [y, b] = d(e && !!i);
|
|
155
155
|
o(() => () => {
|
|
156
156
|
p.current &&= (window.cancelAnimationFrame(p.current), null), m.current &&= (window.clearTimeout(m.current), null);
|
|
@@ -168,29 +168,29 @@ function Me({ open: e = !1, width: t = 320, expandedWidth: n, expanded: r = !1,
|
|
|
168
168
|
]), o(() => {
|
|
169
169
|
if (!(e || !y)) return m.current = window.setTimeout(() => {
|
|
170
170
|
b(!1), g(null), m.current = null;
|
|
171
|
-
},
|
|
171
|
+
}, Ae), () => {
|
|
172
172
|
m.current &&= (window.clearTimeout(m.current), null);
|
|
173
173
|
};
|
|
174
174
|
}, [e, y]);
|
|
175
175
|
let x = !e && y, S = e ? i : y ? h : null, C = e ? f : y ? _ : f, w = e && !!i || !!S;
|
|
176
176
|
return /* @__PURE__ */ W("div", {
|
|
177
|
-
className:
|
|
177
|
+
className: q("fcc-side-panel-layout", s),
|
|
178
178
|
children: [/* @__PURE__ */ U("div", {
|
|
179
|
-
className:
|
|
179
|
+
className: q("fcc-side-panel-content", c),
|
|
180
180
|
children: a
|
|
181
181
|
}), /* @__PURE__ */ U("div", {
|
|
182
|
-
className:
|
|
182
|
+
className: q("fcc-side-panel-rail", w && "has-panel", e && w && "open", x && "closing"),
|
|
183
183
|
style: { "--fcc-side-panel-width": `${C}px` },
|
|
184
184
|
children: /* @__PURE__ */ U("div", {
|
|
185
|
-
className:
|
|
185
|
+
className: q("fcc-side-panel-inner", l),
|
|
186
186
|
children: S
|
|
187
187
|
})
|
|
188
188
|
})]
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Me({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }) {
|
|
192
192
|
return /* @__PURE__ */ W("div", {
|
|
193
|
-
className:
|
|
193
|
+
className: q("fcc-side-panel-header", i),
|
|
194
194
|
children: [/* @__PURE__ */ W("div", {
|
|
195
195
|
className: "fcc-side-panel-header-copy",
|
|
196
196
|
children: [/* @__PURE__ */ U("div", {
|
|
@@ -211,25 +211,25 @@ function Ne({ title: e, subtitle: t, onClose: n, actions: r, className: i = "" }
|
|
|
211
211
|
})]
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Ne({ children: e, className: t = "" }) {
|
|
215
215
|
return /* @__PURE__ */ U("div", {
|
|
216
|
-
className:
|
|
216
|
+
className: q("fcc-side-panel-body", t),
|
|
217
217
|
children: e
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Pe({ tabs: e = [], activeTab: t = 0, onTabChange: n, className: r = "" }) {
|
|
221
221
|
return /* @__PURE__ */ U("div", {
|
|
222
|
-
className:
|
|
222
|
+
className: q("fcc-side-panel-tabs", r),
|
|
223
223
|
children: e.map((e, r) => /* @__PURE__ */ U("button", {
|
|
224
|
-
className:
|
|
224
|
+
className: q("fcc-side-panel-tab", t === r && "active"),
|
|
225
225
|
onClick: () => n?.(r),
|
|
226
226
|
children: e
|
|
227
227
|
}, e))
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Fe({ placeholder: e = "Search...", value: t, onChange: n, className: r = "" }) {
|
|
231
231
|
return /* @__PURE__ */ W("div", {
|
|
232
|
-
className:
|
|
232
|
+
className: q("fcc-side-panel-search", r),
|
|
233
233
|
children: [/* @__PURE__ */ U(B, { size: 13 }), n ? /* @__PURE__ */ U("input", {
|
|
234
234
|
className: "fcc-side-panel-search-input",
|
|
235
235
|
type: "text",
|
|
@@ -242,15 +242,15 @@ function Ie({ placeholder: e = "Search...", value: t, onChange: n, className: r
|
|
|
242
242
|
})]
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Ie({ children: e, className: t = "" }) {
|
|
246
246
|
return /* @__PURE__ */ U("div", {
|
|
247
|
-
className:
|
|
247
|
+
className: q("fcc-side-panel-group-label", t),
|
|
248
248
|
children: e
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Le({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "" }) {
|
|
252
252
|
return /* @__PURE__ */ W("div", {
|
|
253
|
-
className:
|
|
253
|
+
className: q("fcc-side-panel-item", a),
|
|
254
254
|
onClick: i,
|
|
255
255
|
children: [
|
|
256
256
|
e && /* @__PURE__ */ U("span", {
|
|
@@ -274,9 +274,9 @@ function Re({ dot: e, label: t, detail: n, time: r, onClick: i, className: a = "
|
|
|
274
274
|
]
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Re({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, className: o = "" }) {
|
|
278
278
|
return /* @__PURE__ */ W("div", {
|
|
279
|
-
className:
|
|
279
|
+
className: q("fcc-side-panel-card", o),
|
|
280
280
|
onClick: a,
|
|
281
281
|
children: [/* @__PURE__ */ U("div", {
|
|
282
282
|
className: "fcc-side-panel-card-avatar",
|
|
@@ -300,9 +300,9 @@ function ze({ avatar: e, title: t, detail: n, time: r, unread: i, onClick: a, cl
|
|
|
300
300
|
})]
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function ze({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, className: o = "" }) {
|
|
304
304
|
return /* @__PURE__ */ W("div", {
|
|
305
|
-
className:
|
|
305
|
+
className: q("fcc-side-panel-contact", r && "active", o),
|
|
306
306
|
onClick: a,
|
|
307
307
|
children: [
|
|
308
308
|
/* @__PURE__ */ W("div", {
|
|
@@ -320,22 +320,22 @@ function Be({ avatar: e, name: t, time: n, active: r, online: i, onClick: a, cla
|
|
|
320
320
|
]
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function Be({ children: e, onClick: t, className: n = "" }) {
|
|
324
324
|
return /* @__PURE__ */ U("div", {
|
|
325
|
-
className:
|
|
325
|
+
className: q("fcc-side-panel-action", n),
|
|
326
326
|
onClick: t,
|
|
327
327
|
children: e
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Ve({ children: e, className: t = "" }) {
|
|
331
331
|
return /* @__PURE__ */ U("div", {
|
|
332
|
-
className:
|
|
332
|
+
className: q("fcc-side-panel-chat-wrap", t),
|
|
333
333
|
children: e
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function He({ title: e, headerActions: t, messages: n = [], input: r, className: i = "" }) {
|
|
337
337
|
return /* @__PURE__ */ W("div", {
|
|
338
|
-
className:
|
|
338
|
+
className: q("fcc-side-panel-conversation", i),
|
|
339
339
|
children: [
|
|
340
340
|
/* @__PURE__ */ W("div", {
|
|
341
341
|
className: "fcc-side-panel-conv-header",
|
|
@@ -358,22 +358,22 @@ function Ue({ title: e, headerActions: t, messages: n = [], input: r, className:
|
|
|
358
358
|
]
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ue({ from: e = "other", meta: t, children: n, className: r = "" }) {
|
|
362
362
|
let i = e === "you";
|
|
363
363
|
return /* @__PURE__ */ W("div", {
|
|
364
|
-
className:
|
|
364
|
+
className: q("fcc-side-panel-msg-row", i ? "fcc-msg-right" : "fcc-msg-left", r),
|
|
365
365
|
children: [t && /* @__PURE__ */ U("div", {
|
|
366
366
|
className: "fcc-side-panel-msg-meta",
|
|
367
367
|
children: t
|
|
368
368
|
}), /* @__PURE__ */ U("div", {
|
|
369
|
-
className:
|
|
369
|
+
className: q("fcc-side-panel-msg-bubble", i ? "fcc-bubble-you" : "fcc-bubble-other"),
|
|
370
370
|
children: n
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
//#endregion
|
|
375
375
|
//#region src/components/layout/FCCBreadcrumbs.jsx
|
|
376
|
-
function
|
|
376
|
+
function We(e, t) {
|
|
377
377
|
let n = [
|
|
378
378
|
"fcc-breadcrumb-item",
|
|
379
379
|
t ? "current" : "",
|
|
@@ -396,7 +396,7 @@ function Ge(e, t) {
|
|
|
396
396
|
children: e.label
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function Ge({ items: e = [], className: t = "" }) {
|
|
400
400
|
let n = e.filter((e) => e?.label);
|
|
401
401
|
return n.length === 0 ? null : /* @__PURE__ */ U("nav", {
|
|
402
402
|
className: ["fcc-breadcrumbs", t].filter(Boolean).join(" "),
|
|
@@ -408,25 +408,25 @@ function Ke({ items: e = [], className: t = "" }) {
|
|
|
408
408
|
children: [t > 0 && /* @__PURE__ */ U("span", {
|
|
409
409
|
className: "fcc-breadcrumb-sep",
|
|
410
410
|
children: "/"
|
|
411
|
-
}),
|
|
411
|
+
}), We(e, r)]
|
|
412
412
|
}, e.key || e.label || t);
|
|
413
413
|
})
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
//#endregion
|
|
417
417
|
//#region src/components/layout/FCCHeaderStatus.jsx
|
|
418
|
-
var
|
|
418
|
+
var Ke = {
|
|
419
419
|
success: "fcc-header-status-success",
|
|
420
420
|
warning: "fcc-header-status-warning",
|
|
421
421
|
danger: "fcc-header-status-danger",
|
|
422
422
|
info: "fcc-header-status-info",
|
|
423
423
|
neutral: "fcc-header-status-neutral"
|
|
424
424
|
};
|
|
425
|
-
function
|
|
425
|
+
function qe({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
|
|
426
426
|
return e ? /* @__PURE__ */ W("div", {
|
|
427
427
|
className: [
|
|
428
428
|
"fcc-header-status",
|
|
429
|
-
|
|
429
|
+
Ke[t] || Ke.neutral,
|
|
430
430
|
r
|
|
431
431
|
].filter(Boolean).join(" "),
|
|
432
432
|
children: [/* @__PURE__ */ U("span", {
|
|
@@ -437,8 +437,8 @@ function Je({ label: e, tone: t = "success", dotColor: n, className: r = "" }) {
|
|
|
437
437
|
}
|
|
438
438
|
//#endregion
|
|
439
439
|
//#region src/components/layout/FCCWorkspaceHeader.jsx
|
|
440
|
-
function
|
|
441
|
-
let { isMobileViewport: s, mobileMenuEnabled: c, mobileMenuOpen: l, toggleMobileMenu: u } =
|
|
440
|
+
function Je({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot: i, className: a = "", showMobileMenuToggle: o = !0 }) {
|
|
441
|
+
let { isMobileViewport: s, mobileMenuEnabled: c, mobileMenuOpen: l, toggleMobileMenu: u } = ke(), d = o && c && s;
|
|
442
442
|
return /* @__PURE__ */ W("header", {
|
|
443
443
|
className: ["fcc-workspace-header", a].filter(Boolean).join(" "),
|
|
444
444
|
children: [/* @__PURE__ */ W("div", {
|
|
@@ -451,11 +451,11 @@ function Ye({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
|
|
|
451
451
|
"aria-expanded": l,
|
|
452
452
|
title: l ? "Close menu" : "Open menu",
|
|
453
453
|
children: /* @__PURE__ */ U(F, { size: 18 })
|
|
454
|
-
}), r || /* @__PURE__ */ U(
|
|
454
|
+
}), r || /* @__PURE__ */ U(Ge, { items: e })]
|
|
455
455
|
}), /* @__PURE__ */ W("div", {
|
|
456
456
|
className: "fcc-workspace-header-right",
|
|
457
457
|
children: [
|
|
458
|
-
t && /* @__PURE__ */ U(
|
|
458
|
+
t && /* @__PURE__ */ U(qe, { ...t }),
|
|
459
459
|
n,
|
|
460
460
|
i
|
|
461
461
|
]
|
|
@@ -464,8 +464,8 @@ function Ye({ breadcrumbs: e = [], status: t, actions: n, leftSlot: r, rightSlot
|
|
|
464
464
|
}
|
|
465
465
|
//#endregion
|
|
466
466
|
//#region src/components/layout/FCCMainWindow.jsx
|
|
467
|
-
function
|
|
468
|
-
let d = o ? /* @__PURE__ */ U(
|
|
467
|
+
function Ye({ breadcrumbs: e = [], status: t, headerActions: n, header: r, children: i, overlay: a, sidePanel: o, callbar: s = null, className: c = "", headerClassName: l = "", contentClassName: u = "" }) {
|
|
468
|
+
let d = o ? /* @__PURE__ */ U(je, {
|
|
469
469
|
open: o.open,
|
|
470
470
|
width: o.width,
|
|
471
471
|
expandedWidth: o.expandedWidth,
|
|
@@ -479,7 +479,7 @@ function Xe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
|
|
|
479
479
|
return /* @__PURE__ */ W("div", {
|
|
480
480
|
className: ["fcc-main-window", c].filter(Boolean).join(" "),
|
|
481
481
|
children: [
|
|
482
|
-
r || /* @__PURE__ */ U(
|
|
482
|
+
r || /* @__PURE__ */ U(Je, {
|
|
483
483
|
breadcrumbs: e,
|
|
484
484
|
status: t,
|
|
485
485
|
actions: n,
|
|
@@ -500,7 +500,7 @@ function Xe({ breadcrumbs: e = [], status: t, headerActions: n, header: r, child
|
|
|
500
500
|
}
|
|
501
501
|
//#endregion
|
|
502
502
|
//#region src/components/layout/FCCSidebar.jsx
|
|
503
|
-
function
|
|
503
|
+
function Xe(e, t) {
|
|
504
504
|
if (!e.disabled) {
|
|
505
505
|
if (e.onClick) {
|
|
506
506
|
e.onClick(e);
|
|
@@ -509,10 +509,10 @@ function Ze(e, t) {
|
|
|
509
509
|
t?.(e);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function Ze(e, t) {
|
|
513
513
|
return !e.childrenSections?.length || !t ? !1 : e.childrenSections.some((e) => e.items?.some((e) => e.key === t));
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Qe(e, t) {
|
|
516
516
|
if (!t.trim()) return e;
|
|
517
517
|
let n = t.trim().toLowerCase();
|
|
518
518
|
return e.map((e) => ({
|
|
@@ -520,8 +520,8 @@ function $e(e, t) {
|
|
|
520
520
|
items: e.items.filter((e) => e.label.toLowerCase().includes(n) || e.pageTitle?.toLowerCase().includes(n) || e.summary?.toLowerCase().includes(n))
|
|
521
521
|
})).filter((e) => e.items.length > 0);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
524
|
-
let [l, u] = d({}), [f, p] = d({}), { pinnable: m, sidebarPinned: h, toggleSidebarPinned: g, isMobileViewport: _, mobileMenuEnabled: v, closeMobileMenu: b } =
|
|
523
|
+
function $e({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: i, user: a, footer: o, onLogout: s, className: c = "" }) {
|
|
524
|
+
let [l, u] = d({}), [f, p] = d({}), { pinnable: m, sidebarPinned: h, toggleSidebarPinned: g, isMobileViewport: _, mobileMenuEnabled: v, closeMobileMenu: b } = ke(), x = m && !_, S = v && _;
|
|
525
525
|
function C(e, t) {
|
|
526
526
|
p((n) => ({
|
|
527
527
|
...n,
|
|
@@ -564,7 +564,7 @@ function et({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
564
564
|
className: "fcc-sidebar-nav",
|
|
565
565
|
"aria-label": `${e} navigation`,
|
|
566
566
|
children: n.map((e) => {
|
|
567
|
-
let t = e.childrenSections?.length > 0, n =
|
|
567
|
+
let t = e.childrenSections?.length > 0, n = Ze(e, r), a = e.key === r || n || (r?.startsWith?.(`${e.key}/`) ?? !1), o = t && (f[e.key] ?? a), s = l[e.key] || "", c = t ? Qe(e.childrenSections, s) : [];
|
|
568
568
|
return /* @__PURE__ */ W("div", {
|
|
569
569
|
className: [
|
|
570
570
|
"fcc-sidebar-entry",
|
|
@@ -579,7 +579,7 @@ function et({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
579
579
|
e.disabled ? "disabled" : ""
|
|
580
580
|
].filter(Boolean).join(" "),
|
|
581
581
|
onClick: () => {
|
|
582
|
-
t && C(e.key, !0),
|
|
582
|
+
t && C(e.key, !0), Xe(e, i);
|
|
583
583
|
},
|
|
584
584
|
"aria-current": a ? "page" : void 0,
|
|
585
585
|
disabled: e.disabled,
|
|
@@ -641,7 +641,7 @@ function et({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
641
641
|
children: e.items.map((e) => /* @__PURE__ */ U("button", {
|
|
642
642
|
type: "button",
|
|
643
643
|
className: ["fcc-sidebar-child-item", e.key === r ? "active" : ""].filter(Boolean).join(" "),
|
|
644
|
-
onClick: () =>
|
|
644
|
+
onClick: () => Xe(e, i),
|
|
645
645
|
title: e.label,
|
|
646
646
|
children: /* @__PURE__ */ U("span", {
|
|
647
647
|
className: "fcc-sidebar-label",
|
|
@@ -690,8 +690,8 @@ function et({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
690
690
|
}
|
|
691
691
|
//#endregion
|
|
692
692
|
//#region src/components/layout/FCCAppShell.jsx
|
|
693
|
-
var
|
|
694
|
-
function
|
|
693
|
+
var et = "fcc-sidebar-pinned", tt = 1024;
|
|
694
|
+
function nt(e) {
|
|
695
695
|
if (typeof window > "u") return !1;
|
|
696
696
|
try {
|
|
697
697
|
return window.localStorage.getItem(e) === "true";
|
|
@@ -699,13 +699,13 @@ function rt(e) {
|
|
|
699
699
|
return !1;
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function rt(e, t) {
|
|
703
703
|
if (!(typeof window > "u")) try {
|
|
704
704
|
window.localStorage.setItem(e, t ? "true" : "false");
|
|
705
705
|
} catch {}
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
let [k, A] = d(() => T ?
|
|
707
|
+
function it({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, onNavigate: a, user: s, footer: c, onLogout: u, breadcrumbs: f = [], status: p, headerActions: m, header: h, children: g, overlay: _, sidePanel: v, callbar: y = null, className: b = "", sidebarClassName: x = "", mainClassName: S = "", headerClassName: C = "", contentClassName: w = "", pinnable: T = !0, mobileMenuEnabled: E = !0, mobileBreakpoint: D = tt, pinStorageKey: O = et }) {
|
|
708
|
+
let [k, A] = d(() => T ? nt(O) : !1), [j, M] = d(!1), [N, P] = d(() => typeof window > "u" ? 1920 : window.innerWidth);
|
|
709
709
|
o(() => {
|
|
710
710
|
if (typeof window > "u") return;
|
|
711
711
|
let e = () => P(window.innerWidth);
|
|
@@ -713,7 +713,7 @@ function at({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
713
713
|
}, []);
|
|
714
714
|
let F = E && N < D, I = F && j;
|
|
715
715
|
o(() => {
|
|
716
|
-
T &&
|
|
716
|
+
T && rt(O, k);
|
|
717
717
|
}, [
|
|
718
718
|
T,
|
|
719
719
|
O,
|
|
@@ -752,12 +752,12 @@ function at({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
752
752
|
I && "fcc-mobile-menu-open",
|
|
753
753
|
b
|
|
754
754
|
].filter(Boolean).join(" ");
|
|
755
|
-
return /* @__PURE__ */ U(
|
|
755
|
+
return /* @__PURE__ */ U(Oe.Provider, {
|
|
756
756
|
value: ee,
|
|
757
757
|
children: /* @__PURE__ */ W("div", {
|
|
758
758
|
className: te,
|
|
759
759
|
children: [
|
|
760
|
-
/* @__PURE__ */ U(
|
|
760
|
+
/* @__PURE__ */ U($e, {
|
|
761
761
|
appName: e,
|
|
762
762
|
logo: t,
|
|
763
763
|
navItems: n,
|
|
@@ -768,7 +768,7 @@ function at({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
768
768
|
onLogout: u,
|
|
769
769
|
className: x
|
|
770
770
|
}),
|
|
771
|
-
/* @__PURE__ */ U(
|
|
771
|
+
/* @__PURE__ */ U(Ye, {
|
|
772
772
|
breadcrumbs: f,
|
|
773
773
|
status: p,
|
|
774
774
|
headerActions: m,
|
|
@@ -792,7 +792,7 @@ function at({ appName: e = "FCC", logo: t, navItems: n = [], activeNavKey: r, on
|
|
|
792
792
|
}
|
|
793
793
|
//#endregion
|
|
794
794
|
//#region src/components/layout/FCCBrandLogo.jsx
|
|
795
|
-
function
|
|
795
|
+
function at({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }) {
|
|
796
796
|
let { theme: a } = Ee(), o = a === "dark" ? e || t : t || e;
|
|
797
797
|
return o ? /* @__PURE__ */ U("img", {
|
|
798
798
|
src: o,
|
|
@@ -803,7 +803,7 @@ function ot({ darkSrc: e, lightSrc: t, alt: n = "FCC", className: r = "", ...i }
|
|
|
803
803
|
}
|
|
804
804
|
//#endregion
|
|
805
805
|
//#region src/components/layout/FCCThemeToggle.jsx
|
|
806
|
-
function
|
|
806
|
+
function ot({ className: e = "" }) {
|
|
807
807
|
let { theme: t, toggleTheme: n } = Ee(), r = t === "dark";
|
|
808
808
|
return /* @__PURE__ */ U("button", {
|
|
809
809
|
type: "button",
|
|
@@ -822,7 +822,7 @@ function st({ className: e = "" }) {
|
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
824
|
//#region src/components/ui/AppLoader.jsx
|
|
825
|
-
function
|
|
825
|
+
function st({ label: e = "Loading...", fullscreen: t = !1, className: n = "" }) {
|
|
826
826
|
return t ? /* @__PURE__ */ W("div", {
|
|
827
827
|
className: `loader-fullscreen ${n}`,
|
|
828
828
|
children: [/* @__PURE__ */ U(M, {
|
|
@@ -843,13 +843,13 @@ function ct({ label: e = "Loading...", fullscreen: t = !1, className: n = "" })
|
|
|
843
843
|
})]
|
|
844
844
|
});
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function ct({ size: e = 16, className: t = "" }) {
|
|
847
847
|
return /* @__PURE__ */ U(M, {
|
|
848
848
|
size: e,
|
|
849
849
|
className: `loader-spin ${t}`
|
|
850
850
|
});
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function lt({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc: r, lightSrc: i, alt: a = "FCC", className: o = "" }) {
|
|
853
853
|
let s = /* @__PURE__ */ W("div", {
|
|
854
854
|
className: "fcc-loader-stage",
|
|
855
855
|
style: { "--fcc-loader-size": `${n}px` },
|
|
@@ -857,7 +857,7 @@ function ut({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
|
|
|
857
857
|
children: [
|
|
858
858
|
/* @__PURE__ */ U("span", { className: "fcc-loader-ring" }),
|
|
859
859
|
/* @__PURE__ */ U("span", { className: "fcc-loader-glow" }),
|
|
860
|
-
/* @__PURE__ */ U(
|
|
860
|
+
/* @__PURE__ */ U(at, {
|
|
861
861
|
darkSrc: r,
|
|
862
862
|
lightSrc: i,
|
|
863
863
|
alt: a,
|
|
@@ -894,7 +894,7 @@ function ut({ label: e = "Loading...", fullscreen: t = !1, size: n = 64, darkSrc
|
|
|
894
894
|
}
|
|
895
895
|
//#endregion
|
|
896
896
|
//#region src/components/ui/FCCDetailsPanel.jsx
|
|
897
|
-
function
|
|
897
|
+
function ut({ open: e, onClose: t, title: n, header: r, children: a, loading: s = !1, loadingLabel: c = "Loading...", loaderSize: l = 64, loaderDarkSrc: f, loaderLightSrc: p, width: m, zIndex: h = 1100, showBackdrop: g = !0, resizable: _ = !0, minWidth: v = 360, storageKey: y, className: b = "" }) {
|
|
898
898
|
let [x, S] = d(!1), [C, w] = d(!1), [T, E] = d(!1), [D, O] = d(() => {
|
|
899
899
|
if (!y || typeof window > "u") return null;
|
|
900
900
|
let e = window.localStorage.getItem(y), t = e ? parseInt(e, 10) : NaN;
|
|
@@ -974,7 +974,7 @@ function dt({ open: e, onClose: t, title: n, header: r, children: a, loading: s
|
|
|
974
974
|
className: "fcc-details-panel-body",
|
|
975
975
|
children: s ? /* @__PURE__ */ U("div", {
|
|
976
976
|
className: "fcc-details-panel-loading",
|
|
977
|
-
children: /* @__PURE__ */ U(
|
|
977
|
+
children: /* @__PURE__ */ U(lt, {
|
|
978
978
|
label: c,
|
|
979
979
|
size: l,
|
|
980
980
|
darkSrc: f,
|
|
@@ -988,8 +988,8 @@ function dt({ open: e, onClose: t, title: n, header: r, children: a, loading: s
|
|
|
988
988
|
}
|
|
989
989
|
//#endregion
|
|
990
990
|
//#region src/components/ui/FCCFullPagePanel.jsx
|
|
991
|
-
var
|
|
992
|
-
function
|
|
991
|
+
var dt = 220, ft = 96;
|
|
992
|
+
function pt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape: i = !0, lockScroll: a = !0 }) {
|
|
993
993
|
let [s, c] = d(e ? "open" : "closed"), l = e || s !== "closed";
|
|
994
994
|
return o(() => {
|
|
995
995
|
if (a) return l ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
@@ -1011,7 +1011,7 @@ function mt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
|
|
|
1011
1011
|
return () => cancelAnimationFrame(e);
|
|
1012
1012
|
}
|
|
1013
1013
|
if (s === "closed") return;
|
|
1014
|
-
let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"),
|
|
1014
|
+
let t = requestAnimationFrame(() => c("closing")), n = window.setTimeout(() => c("closed"), dt);
|
|
1015
1015
|
return () => {
|
|
1016
1016
|
cancelAnimationFrame(t), window.clearTimeout(n);
|
|
1017
1017
|
};
|
|
@@ -1026,7 +1026,7 @@ function mt({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
|
|
|
1026
1026
|
})
|
|
1027
1027
|
}), document.body);
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function mt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, endActions: a, onClose: o, hidden: s = !1, revealed: c = !1, onMouseEnter: l, onMouseLeave: u, className: d = "" }) {
|
|
1030
1030
|
let f = a || o;
|
|
1031
1031
|
return /* @__PURE__ */ W("div", {
|
|
1032
1032
|
className: `fcc-fpp-header ${d}`,
|
|
@@ -1079,32 +1079,32 @@ function ht({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, endActi
|
|
|
1079
1079
|
})]
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1082
|
+
function ht({ onReveal: e, className: t = "" }) {
|
|
1083
1083
|
return /* @__PURE__ */ U("div", {
|
|
1084
1084
|
className: `fcc-fpp-header-reveal-zone ${t}`,
|
|
1085
1085
|
onMouseEnter: e,
|
|
1086
1086
|
"aria-hidden": "true"
|
|
1087
1087
|
});
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function gt({ children: e, className: t = "" }) {
|
|
1090
1090
|
return /* @__PURE__ */ U("div", {
|
|
1091
1091
|
className: `fcc-fpp-toolbar ${t}`,
|
|
1092
1092
|
children: e
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function _t({ children: e, className: t = "" }) {
|
|
1096
1096
|
return /* @__PURE__ */ U("div", {
|
|
1097
1097
|
className: `fcc-fpp-body ${t}`,
|
|
1098
1098
|
children: e
|
|
1099
1099
|
});
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function vt({ children: e, className: t = "" }) {
|
|
1102
1102
|
return /* @__PURE__ */ U("div", {
|
|
1103
1103
|
className: `fcc-fpp-main ${t}`,
|
|
1104
1104
|
children: e
|
|
1105
1105
|
});
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function yt({ children: e, side: t = "right", footer: n, className: r = "" }) {
|
|
1108
1108
|
return /* @__PURE__ */ W("aside", {
|
|
1109
1109
|
className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${r}`,
|
|
1110
1110
|
children: [/* @__PURE__ */ U("div", {
|
|
@@ -1116,13 +1116,13 @@ function bt({ children: e, side: t = "right", footer: n, className: r = "" }) {
|
|
|
1116
1116
|
})]
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function bt({ children: e, className: t = "" }) {
|
|
1120
1120
|
return /* @__PURE__ */ U("div", {
|
|
1121
1121
|
className: `fcc-fpp-footer ${t}`,
|
|
1122
1122
|
children: e
|
|
1123
1123
|
});
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function xt({ label: e, value: t, children: n, className: r = "" }) {
|
|
1126
1126
|
return /* @__PURE__ */ W("div", {
|
|
1127
1127
|
className: r,
|
|
1128
1128
|
children: [(e || t) && /* @__PURE__ */ W("div", {
|
|
@@ -1140,7 +1140,7 @@ function St({ label: e, value: t, children: n, className: r = "" }) {
|
|
|
1140
1140
|
})]
|
|
1141
1141
|
});
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function St({ leading: e, children: t, actions: n, hidden: r = !1, className: i = "" }) {
|
|
1144
1144
|
return /* @__PURE__ */ W("div", {
|
|
1145
1145
|
className: `fcc-fpp-subheader ${i}`,
|
|
1146
1146
|
"data-hidden": r ? "true" : "false",
|
|
@@ -1150,7 +1150,7 @@ function Ct({ leading: e, children: t, actions: n, hidden: r = !1, className: i
|
|
|
1150
1150
|
className: "fcc-fpp-subheader-lead",
|
|
1151
1151
|
children: e
|
|
1152
1152
|
}),
|
|
1153
|
-
t !== void 0 && /* @__PURE__ */ U(
|
|
1153
|
+
t !== void 0 && /* @__PURE__ */ U(Ct, { children: t }),
|
|
1154
1154
|
n && /* @__PURE__ */ U("div", {
|
|
1155
1155
|
className: "fcc-fpp-subheader-actions",
|
|
1156
1156
|
children: n
|
|
@@ -1158,7 +1158,7 @@ function Ct({ leading: e, children: t, actions: n, hidden: r = !1, className: i
|
|
|
1158
1158
|
]
|
|
1159
1159
|
});
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function Ct({ children: e }) {
|
|
1162
1162
|
let t = u(null), [n, r] = d(!1), [a, s] = d(!1), l = i(() => {
|
|
1163
1163
|
let e = t.current;
|
|
1164
1164
|
if (!e) return;
|
|
@@ -1212,27 +1212,27 @@ function wt({ children: e }) {
|
|
|
1212
1212
|
]
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
|
1215
|
-
var
|
|
1216
|
-
function
|
|
1217
|
-
return typeof window > "u" ? e : Math.floor(window.innerWidth /
|
|
1215
|
+
var wt = 200, Tt = 720, Et = 3, Dt = 8;
|
|
1216
|
+
function Ot(e) {
|
|
1217
|
+
return typeof window > "u" ? e : Math.floor(window.innerWidth / Et);
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1220
|
-
let [m, h] = d(() =>
|
|
1221
|
-
if (typeof window > "u" || !s) return Math.min(n,
|
|
1222
|
-
let e = window.localStorage.getItem(s), t = e ? Number(e) : NaN, i =
|
|
1219
|
+
function kt({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r = wt, maxWidth: a = Tt, storageKey: s, className: c = "", onWidthChange: l, footer: f, hidden: p = !1 }) {
|
|
1220
|
+
let [m, h] = d(() => Ot(a)), [g, _] = d(!1), [v, y] = d(!1), [b, x] = d(() => {
|
|
1221
|
+
if (typeof window > "u" || !s) return Math.min(n, Ot(a));
|
|
1222
|
+
let e = window.localStorage.getItem(s), t = e ? Number(e) : NaN, i = Ot(a);
|
|
1223
1223
|
return Number.isFinite(t) && t >= r && t <= i ? t : Math.min(n, i);
|
|
1224
1224
|
}), S = u(!1), C = u(0), w = u(b);
|
|
1225
1225
|
o(() => {
|
|
1226
1226
|
if (typeof window > "u") return;
|
|
1227
1227
|
let e = () => {
|
|
1228
|
-
let e =
|
|
1228
|
+
let e = Ot(a);
|
|
1229
1229
|
h(e), x((t) => Math.min(t, e));
|
|
1230
1230
|
};
|
|
1231
1231
|
return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
1232
1232
|
}, [a]), o(() => {
|
|
1233
1233
|
!s || typeof window > "u" || window.localStorage.setItem(s, String(b));
|
|
1234
1234
|
}, [s, b]), o(() => {
|
|
1235
|
-
l?.(g ?
|
|
1235
|
+
l?.(g ? Dt : b);
|
|
1236
1236
|
}, [
|
|
1237
1237
|
b,
|
|
1238
1238
|
g,
|
|
@@ -1265,7 +1265,7 @@ function At({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r
|
|
|
1265
1265
|
t,
|
|
1266
1266
|
r,
|
|
1267
1267
|
m
|
|
1268
|
-
]), k = p ? 0 : g ?
|
|
1268
|
+
]), k = p ? 0 : g ? Dt : b;
|
|
1269
1269
|
return /* @__PURE__ */ W("aside", {
|
|
1270
1270
|
className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} fcc-fpp-sidebar-resizable ${g ? "fcc-fpp-sidebar-collapsed" : ""} ${p ? "fcc-fpp-sidebar-hidden" : ""} ${c}`,
|
|
1271
1271
|
style: {
|
|
@@ -1301,8 +1301,8 @@ function At({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r
|
|
|
1301
1301
|
})]
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
let [f, p] = d(() =>
|
|
1304
|
+
function At({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r = "Document controls", storageKey: a, onCollapsedChange: s, showMinimize: c }) {
|
|
1305
|
+
let [f, p] = d(() => Mt(a) ?? {
|
|
1306
1306
|
dock: "bottom",
|
|
1307
1307
|
x: null,
|
|
1308
1308
|
y: null
|
|
@@ -1345,7 +1345,7 @@ function jt({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r =
|
|
|
1345
1345
|
];
|
|
1346
1346
|
d.sort((e, t) => e.d - t.d);
|
|
1347
1347
|
let f = d[0];
|
|
1348
|
-
_(f.d <=
|
|
1348
|
+
_(f.d <= ft ? f.dock : null), p({
|
|
1349
1349
|
dock: "free",
|
|
1350
1350
|
x: l,
|
|
1351
1351
|
y: u
|
|
@@ -1376,7 +1376,7 @@ function jt({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r =
|
|
|
1376
1376
|
];
|
|
1377
1377
|
i.sort((e, t) => e.d - t.d);
|
|
1378
1378
|
let a = i[0];
|
|
1379
|
-
a.d <=
|
|
1379
|
+
a.d <= ft && (p({
|
|
1380
1380
|
dock: a.dock,
|
|
1381
1381
|
x: null,
|
|
1382
1382
|
y: null
|
|
@@ -1396,7 +1396,7 @@ function jt({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r =
|
|
|
1396
1396
|
alignItems: "flex-start"
|
|
1397
1397
|
};
|
|
1398
1398
|
}, [f]);
|
|
1399
|
-
return /* @__PURE__ */ W(H, { children: [m && /* @__PURE__ */ U(
|
|
1399
|
+
return /* @__PURE__ */ W(H, { children: [m && /* @__PURE__ */ U(jt, { activeDock: g }), /* @__PURE__ */ U("div", {
|
|
1400
1400
|
className: `fcc-fpp-bottom-anchor ${t ? "fcc-fpp-bottom-anchor--collapsed" : ""} ${n}`,
|
|
1401
1401
|
"data-dock": f.dock,
|
|
1402
1402
|
"data-orientation": S,
|
|
@@ -1406,7 +1406,7 @@ function jt({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r =
|
|
|
1406
1406
|
children: /* @__PURE__ */ W("div", {
|
|
1407
1407
|
ref: b,
|
|
1408
1408
|
className: "fcc-fpp-bottom-wrap",
|
|
1409
|
-
children: [/* @__PURE__ */ U(
|
|
1409
|
+
children: [/* @__PURE__ */ U(Nt, {
|
|
1410
1410
|
ariaLabel: r,
|
|
1411
1411
|
collapsed: t,
|
|
1412
1412
|
orientation: S,
|
|
@@ -1425,7 +1425,7 @@ function jt({ children: e, collapsed: t = !1, className: n = "", ariaLabel: r =
|
|
|
1425
1425
|
})
|
|
1426
1426
|
})] });
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function jt({ activeDock: e }) {
|
|
1429
1429
|
return /* @__PURE__ */ W("div", {
|
|
1430
1430
|
className: "fcc-fpp-drop-zones",
|
|
1431
1431
|
"aria-hidden": "true",
|
|
@@ -1469,7 +1469,7 @@ function Mt({ activeDock: e }) {
|
|
|
1469
1469
|
]
|
|
1470
1470
|
});
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function Mt(e) {
|
|
1473
1473
|
if (!e || typeof window > "u") return null;
|
|
1474
1474
|
try {
|
|
1475
1475
|
let t = window.localStorage.getItem(e);
|
|
@@ -1486,7 +1486,7 @@ function Nt(e) {
|
|
|
1486
1486
|
return null;
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
|
-
function
|
|
1489
|
+
function Nt({ children: e, ariaLabel: t, collapsed: n, orientation: r = "horizontal" }) {
|
|
1490
1490
|
let a = r === "vertical", s = u(null), [l, f] = d(!1), [p, m] = d(!1), [h, g] = d(!1), _ = i(() => {
|
|
1491
1491
|
let e = s.current;
|
|
1492
1492
|
if (e) if (a) {
|
|
@@ -1553,7 +1553,7 @@ function Pt({ children: e, ariaLabel: t, collapsed: n, orientation: r = "horizon
|
|
|
1553
1553
|
}
|
|
1554
1554
|
//#endregion
|
|
1555
1555
|
//#region src/components/ui/Accordion.jsx
|
|
1556
|
-
function
|
|
1556
|
+
function Pt({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
|
|
1557
1557
|
let [o, s] = d(n);
|
|
1558
1558
|
return /* @__PURE__ */ W("div", {
|
|
1559
1559
|
className: `accordion-item ${r}`,
|
|
@@ -1581,7 +1581,7 @@ function Ft({ title: e, header: t, defaultOpen: n = !1, className: r = "", conte
|
|
|
1581
1581
|
})]
|
|
1582
1582
|
});
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function Ft({ items: e = [], className: t = "" }) {
|
|
1585
1585
|
let [n, r] = d(/* @__PURE__ */ new Set());
|
|
1586
1586
|
function i(e) {
|
|
1587
1587
|
r((t) => {
|
|
@@ -1623,12 +1623,12 @@ function It({ items: e = [], className: t = "" }) {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
//#endregion
|
|
1625
1625
|
//#region src/components/ui/Avatar.jsx
|
|
1626
|
-
var
|
|
1626
|
+
var It = {
|
|
1627
1627
|
sm: "avatar-sm",
|
|
1628
1628
|
md: "",
|
|
1629
1629
|
lg: "avatar-lg",
|
|
1630
1630
|
xl: "avatar-xl"
|
|
1631
|
-
},
|
|
1631
|
+
}, Lt = [
|
|
1632
1632
|
"#5e6ad2",
|
|
1633
1633
|
"#5bb98e",
|
|
1634
1634
|
"#c9a84e",
|
|
@@ -1637,13 +1637,13 @@ var Lt = {
|
|
|
1637
1637
|
"#5a8ebf",
|
|
1638
1638
|
"#c4a06a"
|
|
1639
1639
|
];
|
|
1640
|
-
function
|
|
1640
|
+
function Rt(e) {
|
|
1641
1641
|
let t = 0;
|
|
1642
1642
|
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
1643
|
-
return
|
|
1643
|
+
return Lt[Math.abs(t) % Lt.length];
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1646
|
-
let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background ||
|
|
1645
|
+
function J({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
|
|
1646
|
+
let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || Rt(c), u = It[r] || "";
|
|
1647
1647
|
return e && !o ? /* @__PURE__ */ U("img", {
|
|
1648
1648
|
src: e,
|
|
1649
1649
|
alt: n || "",
|
|
@@ -1664,7 +1664,7 @@ function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
1664
1664
|
}
|
|
1665
1665
|
//#endregion
|
|
1666
1666
|
//#region src/components/ui/Badge.jsx
|
|
1667
|
-
var
|
|
1667
|
+
var zt = {
|
|
1668
1668
|
default: "var(--text-quaternary)",
|
|
1669
1669
|
secondary: "var(--text-quaternary)",
|
|
1670
1670
|
success: "var(--accent-green)",
|
|
@@ -1675,8 +1675,8 @@ var Bt = {
|
|
|
1675
1675
|
purple: "var(--accent-purple)",
|
|
1676
1676
|
orange: "var(--accent-orange)"
|
|
1677
1677
|
};
|
|
1678
|
-
function
|
|
1679
|
-
let a =
|
|
1678
|
+
function Y({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
|
|
1679
|
+
let a = zt[e] || zt.default;
|
|
1680
1680
|
return /* @__PURE__ */ W("span", {
|
|
1681
1681
|
className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
|
|
1682
1682
|
...i,
|
|
@@ -1688,7 +1688,7 @@ function J({ variant: e = "default", className: t = "", children: n, showDot: r
|
|
|
1688
1688
|
}
|
|
1689
1689
|
//#endregion
|
|
1690
1690
|
//#region src/components/ui/Button.jsx
|
|
1691
|
-
var
|
|
1691
|
+
var Bt = {
|
|
1692
1692
|
default: "btn-primary",
|
|
1693
1693
|
destructive: "btn-danger",
|
|
1694
1694
|
success: "btn-success",
|
|
@@ -1698,76 +1698,101 @@ var Vt = {
|
|
|
1698
1698
|
muted: "btn-muted",
|
|
1699
1699
|
ghost: "btn-ghost",
|
|
1700
1700
|
link: "btn-link"
|
|
1701
|
-
},
|
|
1701
|
+
}, Vt = {
|
|
1702
1702
|
sm: "btn-sm",
|
|
1703
1703
|
default: "",
|
|
1704
1704
|
lg: "btn-lg",
|
|
1705
1705
|
icon: "btn-icon"
|
|
1706
|
-
},
|
|
1706
|
+
}, X = n(function({ variant: e = "default", size: t = "default", className: n = "", children: r, ...i }, a) {
|
|
1707
1707
|
return /* @__PURE__ */ U("button", {
|
|
1708
1708
|
ref: a,
|
|
1709
1709
|
className: [
|
|
1710
1710
|
"btn",
|
|
1711
|
-
|
|
1712
|
-
|
|
1711
|
+
Bt[e],
|
|
1712
|
+
Vt[t],
|
|
1713
1713
|
n
|
|
1714
1714
|
].filter(Boolean).join(" "),
|
|
1715
1715
|
...i,
|
|
1716
1716
|
children: r
|
|
1717
1717
|
});
|
|
1718
|
-
}),
|
|
1718
|
+
}), Ht = {
|
|
1719
1719
|
default: "card-default",
|
|
1720
1720
|
green: "card-green",
|
|
1721
1721
|
red: "card-red",
|
|
1722
1722
|
yellow: "card-yellow"
|
|
1723
|
-
},
|
|
1724
|
-
return /* @__PURE__ */
|
|
1725
|
-
ref:
|
|
1723
|
+
}, Ut = n(function({ variant: e = "default", className: t = "", children: n, hoverActions: r, ...i }, a) {
|
|
1724
|
+
return /* @__PURE__ */ W("div", {
|
|
1725
|
+
ref: a,
|
|
1726
1726
|
className: [
|
|
1727
1727
|
"card",
|
|
1728
|
-
|
|
1728
|
+
Ht[e],
|
|
1729
|
+
r ? "card-hover-reveal" : "",
|
|
1729
1730
|
t
|
|
1730
1731
|
].filter(Boolean).join(" "),
|
|
1732
|
+
...i,
|
|
1733
|
+
children: [n, r && /* @__PURE__ */ U(Wt, { children: r })]
|
|
1734
|
+
});
|
|
1735
|
+
}), Wt = n(function({ className: e = "", children: t, ariaLabel: n = "Card actions", "aria-label": r, ...i }, a) {
|
|
1736
|
+
return /* @__PURE__ */ U("div", {
|
|
1737
|
+
ref: a,
|
|
1738
|
+
className: `card-hover-action-badge ${e}`,
|
|
1739
|
+
role: "toolbar",
|
|
1740
|
+
"aria-label": r || n,
|
|
1741
|
+
...i,
|
|
1742
|
+
children: t
|
|
1743
|
+
});
|
|
1744
|
+
}), Gt = n(function({ className: e = "", children: t, type: n = "button", ...r }, i) {
|
|
1745
|
+
return /* @__PURE__ */ U("button", {
|
|
1746
|
+
ref: i,
|
|
1747
|
+
type: n,
|
|
1748
|
+
className: `card-hover-action ${e}`,
|
|
1731
1749
|
...r,
|
|
1732
|
-
children:
|
|
1750
|
+
children: t
|
|
1733
1751
|
});
|
|
1734
|
-
}),
|
|
1752
|
+
}), Kt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1753
|
+
return /* @__PURE__ */ U("div", {
|
|
1754
|
+
ref: r,
|
|
1755
|
+
className: `card-layer ${e}`,
|
|
1756
|
+
...n,
|
|
1757
|
+
children: t
|
|
1758
|
+
});
|
|
1759
|
+
}), qt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1735
1760
|
return /* @__PURE__ */ U("div", {
|
|
1736
1761
|
ref: r,
|
|
1737
1762
|
className: `card-header ${e}`,
|
|
1738
1763
|
...n,
|
|
1739
1764
|
children: t
|
|
1740
1765
|
});
|
|
1741
|
-
}),
|
|
1766
|
+
}), Jt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1742
1767
|
return /* @__PURE__ */ U("h3", {
|
|
1743
1768
|
ref: r,
|
|
1744
1769
|
className: `card-title ${e}`,
|
|
1745
1770
|
...n,
|
|
1746
1771
|
children: t
|
|
1747
1772
|
});
|
|
1748
|
-
}),
|
|
1773
|
+
}), Yt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1749
1774
|
return /* @__PURE__ */ U("p", {
|
|
1750
1775
|
ref: r,
|
|
1751
1776
|
className: `card-description ${e}`,
|
|
1752
1777
|
...n,
|
|
1753
1778
|
children: t
|
|
1754
1779
|
});
|
|
1755
|
-
}),
|
|
1780
|
+
}), Xt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1756
1781
|
return /* @__PURE__ */ U("div", {
|
|
1757
1782
|
ref: r,
|
|
1758
1783
|
className: `card-body ${e}`,
|
|
1759
1784
|
...n,
|
|
1760
1785
|
children: t
|
|
1761
1786
|
});
|
|
1762
|
-
}),
|
|
1787
|
+
}), Zt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1763
1788
|
return /* @__PURE__ */ U("div", {
|
|
1764
1789
|
ref: r,
|
|
1765
1790
|
className: `card-footer ${e}`,
|
|
1766
1791
|
...n,
|
|
1767
1792
|
children: t
|
|
1768
1793
|
});
|
|
1769
|
-
}),
|
|
1770
|
-
function
|
|
1794
|
+
}), Qt = 220;
|
|
1795
|
+
function $t({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
|
|
1771
1796
|
let s = u(null), [c, l] = d(e ? "open" : "closed"), f = e || c !== "closed";
|
|
1772
1797
|
return o(() => {
|
|
1773
1798
|
if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
@@ -1784,7 +1809,7 @@ function Zt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
|
|
|
1784
1809
|
return () => cancelAnimationFrame(e);
|
|
1785
1810
|
}
|
|
1786
1811
|
if (c === "closed") return;
|
|
1787
|
-
let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"),
|
|
1812
|
+
let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Qt);
|
|
1788
1813
|
return () => {
|
|
1789
1814
|
cancelAnimationFrame(t), window.clearTimeout(n);
|
|
1790
1815
|
};
|
|
@@ -1801,7 +1826,7 @@ function Zt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
|
|
|
1801
1826
|
})
|
|
1802
1827
|
}) : null;
|
|
1803
1828
|
}
|
|
1804
|
-
function
|
|
1829
|
+
function en({ children: e, onClose: t, className: n = "" }) {
|
|
1805
1830
|
return /* @__PURE__ */ W("div", {
|
|
1806
1831
|
className: `dialog-header ${n}`,
|
|
1807
1832
|
children: [/* @__PURE__ */ U("div", {
|
|
@@ -1814,25 +1839,25 @@ function Qt({ children: e, onClose: t, className: n = "" }) {
|
|
|
1814
1839
|
})]
|
|
1815
1840
|
});
|
|
1816
1841
|
}
|
|
1817
|
-
function
|
|
1842
|
+
function tn({ children: e, className: t = "" }) {
|
|
1818
1843
|
return /* @__PURE__ */ U("h3", {
|
|
1819
1844
|
className: `dialog-title ${t}`,
|
|
1820
1845
|
children: e
|
|
1821
1846
|
});
|
|
1822
1847
|
}
|
|
1823
|
-
function
|
|
1848
|
+
function nn({ children: e, className: t = "" }) {
|
|
1824
1849
|
return /* @__PURE__ */ U("p", {
|
|
1825
1850
|
className: `dialog-description ${t}`,
|
|
1826
1851
|
children: e
|
|
1827
1852
|
});
|
|
1828
1853
|
}
|
|
1829
|
-
function
|
|
1854
|
+
function rn({ children: e, className: t = "" }) {
|
|
1830
1855
|
return /* @__PURE__ */ U("div", {
|
|
1831
1856
|
className: `dialog-body ${t}`,
|
|
1832
1857
|
children: e
|
|
1833
1858
|
});
|
|
1834
1859
|
}
|
|
1835
|
-
function
|
|
1860
|
+
function an({ children: e, className: t = "" }) {
|
|
1836
1861
|
return /* @__PURE__ */ U("div", {
|
|
1837
1862
|
className: `dialog-footer ${t}`,
|
|
1838
1863
|
children: e
|
|
@@ -1840,7 +1865,7 @@ function nn({ children: e, className: t = "" }) {
|
|
|
1840
1865
|
}
|
|
1841
1866
|
//#endregion
|
|
1842
1867
|
//#region src/components/ui/Input.jsx
|
|
1843
|
-
var
|
|
1868
|
+
var on = n(function({ id: e, label: t, labelMode: n = "stacked", description: r, error: i, clearable: a = !1, startIcon: o, endIcon: c, placeholder: l, value: f, defaultValue: p, className: m = "", inputClassName: h = "", disabled: g = !1, type: _ = "text", "aria-describedby": v, "aria-invalid": y, onChange: b, ...x }, S) {
|
|
1844
1869
|
let C = u(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 ? " " : l, M = f !== void 0, [N, P] = d(() => String(p ?? "")), F = a && !g && (M ? String(f ?? "") : N).length > 0;
|
|
1845
1870
|
function I(e) {
|
|
1846
1871
|
C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
|
|
@@ -1934,7 +1959,7 @@ var rn = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1934
1959
|
});
|
|
1935
1960
|
//#endregion
|
|
1936
1961
|
//#region src/components/ui/DropdownMenu.jsx
|
|
1937
|
-
function
|
|
1962
|
+
function sn({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
|
|
1938
1963
|
let [s, l] = d(!1), [f, p] = d(null), m = u(null), h = u(null);
|
|
1939
1964
|
return o(() => {
|
|
1940
1965
|
a?.(s);
|
|
@@ -1987,7 +2012,7 @@ function an({ trigger: e, children: t, align: n = "left", className: r = "", sid
|
|
|
1987
2012
|
}), document.body)]
|
|
1988
2013
|
});
|
|
1989
2014
|
}
|
|
1990
|
-
function
|
|
2015
|
+
function cn({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
1991
2016
|
return /* @__PURE__ */ W("div", {
|
|
1992
2017
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
1993
2018
|
onClick: i,
|
|
@@ -2011,7 +2036,7 @@ function on({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
|
|
|
2011
2036
|
]
|
|
2012
2037
|
});
|
|
2013
2038
|
}
|
|
2014
|
-
function
|
|
2039
|
+
function ln({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
2015
2040
|
return /* @__PURE__ */ W("div", {
|
|
2016
2041
|
className: `dropdown-item ${e ? "active" : ""} ${r}`,
|
|
2017
2042
|
onClick: () => t?.(!e),
|
|
@@ -2024,18 +2049,18 @@ function sn({ checked: e, onCheckedChange: t, children: n, className: r = "" })
|
|
|
2024
2049
|
})]
|
|
2025
2050
|
});
|
|
2026
2051
|
}
|
|
2027
|
-
function
|
|
2052
|
+
function un({ children: e, className: t = "" }) {
|
|
2028
2053
|
return /* @__PURE__ */ U("div", {
|
|
2029
2054
|
className: `dropdown-label ${t}`,
|
|
2030
2055
|
children: e
|
|
2031
2056
|
});
|
|
2032
2057
|
}
|
|
2033
|
-
function
|
|
2058
|
+
function dn({ className: e = "" }) {
|
|
2034
2059
|
return /* @__PURE__ */ U("div", { className: `dropdown-divider ${e}` });
|
|
2035
2060
|
}
|
|
2036
2061
|
//#endregion
|
|
2037
2062
|
//#region src/components/ui/SearchableSelect.jsx
|
|
2038
|
-
function
|
|
2063
|
+
function fn({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
|
|
2039
2064
|
let [f, p] = d(!1), [m, h] = d(""), [_, v] = d(-1), [b, x] = d(null), S = u(null), C = u(null), w = u(null), T = e.filter((e) => e.label.toLowerCase().includes(m.toLowerCase()) || e.description && e.description.toLowerCase().includes(m.toLowerCase())), E = e.find((e) => e.value === t);
|
|
2040
2065
|
o(() => {
|
|
2041
2066
|
f && w.current && w.current.focus();
|
|
@@ -2160,7 +2185,7 @@ function un({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
2160
2185
|
}
|
|
2161
2186
|
//#endregion
|
|
2162
2187
|
//#region src/components/ui/Sheet.jsx
|
|
2163
|
-
function
|
|
2188
|
+
function pn({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
2164
2189
|
let s = u(null);
|
|
2165
2190
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
2166
2191
|
document.body.style.overflow = "";
|
|
@@ -2194,7 +2219,7 @@ function dn({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
2194
2219
|
})
|
|
2195
2220
|
}) : null;
|
|
2196
2221
|
}
|
|
2197
|
-
function
|
|
2222
|
+
function mn({ children: e, className: t = "" }) {
|
|
2198
2223
|
return /* @__PURE__ */ U("div", {
|
|
2199
2224
|
className: `sheet-footer ${t}`,
|
|
2200
2225
|
children: e
|
|
@@ -2202,17 +2227,17 @@ function fn({ children: e, className: t = "" }) {
|
|
|
2202
2227
|
}
|
|
2203
2228
|
//#endregion
|
|
2204
2229
|
//#region src/components/ui/StatusMetric.jsx
|
|
2205
|
-
function
|
|
2230
|
+
function hn(...e) {
|
|
2206
2231
|
return e.filter(Boolean).join(" ");
|
|
2207
2232
|
}
|
|
2208
|
-
var
|
|
2233
|
+
var gn = {
|
|
2209
2234
|
default: "",
|
|
2210
2235
|
warning: "status-metric--warning"
|
|
2211
2236
|
};
|
|
2212
|
-
function
|
|
2237
|
+
function _n({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
|
|
2213
2238
|
let o = r || (t === "warning" ? p : w);
|
|
2214
2239
|
return /* @__PURE__ */ W("span", {
|
|
2215
|
-
className:
|
|
2240
|
+
className: hn("status-metric", gn[t], a),
|
|
2216
2241
|
children: [n && o && /* @__PURE__ */ U("span", {
|
|
2217
2242
|
className: "status-metric-icon",
|
|
2218
2243
|
children: /* @__PURE__ */ U(o, { size: i })
|
|
@@ -2224,7 +2249,7 @@ function hn({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
|
|
|
2224
2249
|
}
|
|
2225
2250
|
//#endregion
|
|
2226
2251
|
//#region src/components/ui/Switch.jsx
|
|
2227
|
-
function
|
|
2252
|
+
function vn({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
2228
2253
|
return /* @__PURE__ */ W("div", {
|
|
2229
2254
|
className: "toggle-row",
|
|
2230
2255
|
children: [i && /* @__PURE__ */ U("span", {
|
|
@@ -2242,13 +2267,13 @@ function gn({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "
|
|
|
2242
2267
|
}
|
|
2243
2268
|
//#endregion
|
|
2244
2269
|
//#region src/components/ui/Tabs.jsx
|
|
2245
|
-
var
|
|
2270
|
+
var yn = e({
|
|
2246
2271
|
value: "",
|
|
2247
2272
|
onChange: () => {},
|
|
2248
2273
|
registerTrigger: () => {},
|
|
2249
2274
|
getTriggerNode: () => null
|
|
2250
2275
|
});
|
|
2251
|
-
function
|
|
2276
|
+
function bn({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
|
|
2252
2277
|
let [o, s] = d(e || ""), c = u(/* @__PURE__ */ new Map()), l = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
|
|
2253
2278
|
if (t) {
|
|
2254
2279
|
c.current.set(e, t);
|
|
@@ -2256,7 +2281,7 @@ function vn({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
2256
2281
|
}
|
|
2257
2282
|
c.current.delete(e);
|
|
2258
2283
|
}, []), m = i((e) => c.current.get(e) || null, []);
|
|
2259
|
-
return /* @__PURE__ */ U(
|
|
2284
|
+
return /* @__PURE__ */ U(yn.Provider, {
|
|
2260
2285
|
value: {
|
|
2261
2286
|
value: l,
|
|
2262
2287
|
onChange: f,
|
|
@@ -2269,8 +2294,8 @@ function vn({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
2269
2294
|
})
|
|
2270
2295
|
});
|
|
2271
2296
|
}
|
|
2272
|
-
function
|
|
2273
|
-
let { value: n, getTriggerNode: r } = a(
|
|
2297
|
+
function xn({ children: e, className: t = "" }) {
|
|
2298
|
+
let { value: n, getTriggerNode: r } = a(yn), i = u(null);
|
|
2274
2299
|
return c(() => {
|
|
2275
2300
|
let e = i.current, t = r(n);
|
|
2276
2301
|
if (!e) return;
|
|
@@ -2296,8 +2321,8 @@ function yn({ children: e, className: t = "" }) {
|
|
|
2296
2321
|
}), e]
|
|
2297
2322
|
});
|
|
2298
2323
|
}
|
|
2299
|
-
function
|
|
2300
|
-
let { value: r, onChange: i, registerTrigger: o } = a(
|
|
2324
|
+
function Sn({ value: e, children: t, className: n = "" }) {
|
|
2325
|
+
let { value: r, onChange: i, registerTrigger: o } = a(yn), s = r === e;
|
|
2301
2326
|
return /* @__PURE__ */ U("button", {
|
|
2302
2327
|
ref: (t) => o(e, t),
|
|
2303
2328
|
className: `tab ${s ? "active" : ""} ${n}`,
|
|
@@ -2308,8 +2333,8 @@ function bn({ value: e, children: t, className: n = "" }) {
|
|
|
2308
2333
|
children: t
|
|
2309
2334
|
});
|
|
2310
2335
|
}
|
|
2311
|
-
function
|
|
2312
|
-
let { value: r } = a(
|
|
2336
|
+
function Cn({ value: e, children: t, className: n = "" }) {
|
|
2337
|
+
let { value: r } = a(yn);
|
|
2313
2338
|
return r === e ? /* @__PURE__ */ U("div", {
|
|
2314
2339
|
className: n,
|
|
2315
2340
|
role: "tabpanel",
|
|
@@ -2318,7 +2343,7 @@ function xn({ value: e, children: t, className: n = "" }) {
|
|
|
2318
2343
|
}
|
|
2319
2344
|
//#endregion
|
|
2320
2345
|
//#region src/components/ui/Textarea.jsx
|
|
2321
|
-
var
|
|
2346
|
+
var wn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
|
|
2322
2347
|
return t || n ? /* @__PURE__ */ W("div", {
|
|
2323
2348
|
className: ["textarea-wrapper", e].filter(Boolean).join(" "),
|
|
2324
2349
|
children: [
|
|
@@ -2344,7 +2369,7 @@ var Sn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
|
|
|
2344
2369
|
});
|
|
2345
2370
|
//#endregion
|
|
2346
2371
|
//#region src/components/ui/Tooltip.jsx
|
|
2347
|
-
function
|
|
2372
|
+
function Tn({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
2348
2373
|
let [i, a] = d(!1), [s, l] = d(null), f = u(null), p = u(null), m = u(null);
|
|
2349
2374
|
function h() {
|
|
2350
2375
|
m.current = setTimeout(() => a(!0), 300);
|
|
@@ -2395,7 +2420,7 @@ function Cn({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
2395
2420
|
}
|
|
2396
2421
|
//#endregion
|
|
2397
2422
|
//#region src/components/ui/viewModeDefaults.js
|
|
2398
|
-
var
|
|
2423
|
+
var En = {
|
|
2399
2424
|
kanban: T,
|
|
2400
2425
|
board: T,
|
|
2401
2426
|
columns: T,
|
|
@@ -2405,7 +2430,7 @@ var wn = {
|
|
|
2405
2430
|
grid: A,
|
|
2406
2431
|
calendar: h,
|
|
2407
2432
|
map: P
|
|
2408
|
-
},
|
|
2433
|
+
}, Dn = [{
|
|
2409
2434
|
value: "kanban",
|
|
2410
2435
|
label: "Kanban",
|
|
2411
2436
|
title: "Board View"
|
|
@@ -2416,13 +2441,13 @@ var wn = {
|
|
|
2416
2441
|
}];
|
|
2417
2442
|
//#endregion
|
|
2418
2443
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
2419
|
-
function
|
|
2420
|
-
return e.icon ? e.icon :
|
|
2444
|
+
function On(e) {
|
|
2445
|
+
return e.icon ? e.icon : En[e.value] ?? null;
|
|
2421
2446
|
}
|
|
2422
|
-
function
|
|
2447
|
+
function kn(e, n) {
|
|
2423
2448
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
2424
2449
|
}
|
|
2425
|
-
function
|
|
2450
|
+
function An({ options: e = Dn, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
|
|
2426
2451
|
let m = u(null), h = u(null), g = u(/* @__PURE__ */ new Map()), [_, v] = d(n ?? e[0]?.value ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
2427
2452
|
let e = h.current, t = g.current.get(y);
|
|
2428
2453
|
if (e) {
|
|
@@ -2484,7 +2509,7 @@ function On({ options: e = Tn, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
2484
2509
|
"aria-hidden": "true",
|
|
2485
2510
|
className: "view-mode-toggle-indicator"
|
|
2486
2511
|
}), e.map((e) => {
|
|
2487
|
-
let t = e.value === y, n =
|
|
2512
|
+
let t = e.value === y, n = kn(On(e), s);
|
|
2488
2513
|
return /* @__PURE__ */ W("button", {
|
|
2489
2514
|
type: "button",
|
|
2490
2515
|
"aria-pressed": t,
|
|
@@ -2514,10 +2539,10 @@ function On({ options: e = Tn, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
2514
2539
|
}
|
|
2515
2540
|
//#endregion
|
|
2516
2541
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
2517
|
-
function
|
|
2542
|
+
function jn(e, n) {
|
|
2518
2543
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
2519
2544
|
}
|
|
2520
|
-
function
|
|
2545
|
+
function Mn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
|
|
2521
2546
|
let m = u(null), h = u(null), g = u(/* @__PURE__ */ new Map()), [_, v] = d(n ?? e[0]?.id ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
2522
2547
|
let e = h.current, t = g.current.get(y);
|
|
2523
2548
|
if (e) {
|
|
@@ -2579,7 +2604,7 @@ function An({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2579
2604
|
"aria-hidden": "true",
|
|
2580
2605
|
className: "workspace-tabs-indicator"
|
|
2581
2606
|
}), e.map((e) => {
|
|
2582
|
-
let t = e.id === y, n =
|
|
2607
|
+
let t = e.id === y, n = jn(e.icon, s);
|
|
2583
2608
|
return /* @__PURE__ */ W("button", {
|
|
2584
2609
|
type: "button",
|
|
2585
2610
|
role: "tab",
|
|
@@ -2616,8 +2641,8 @@ function An({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2616
2641
|
}
|
|
2617
2642
|
//#endregion
|
|
2618
2643
|
//#region src/components/ui/CallControlsBar.jsx
|
|
2619
|
-
function
|
|
2620
|
-
return /* @__PURE__ */ U(
|
|
2644
|
+
function Z({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, title: o }) {
|
|
2645
|
+
return /* @__PURE__ */ U(Tn, {
|
|
2621
2646
|
content: o,
|
|
2622
2647
|
children: /* @__PURE__ */ W("button", {
|
|
2623
2648
|
type: "button",
|
|
@@ -2641,7 +2666,7 @@ function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, ti
|
|
|
2641
2666
|
})
|
|
2642
2667
|
});
|
|
2643
2668
|
}
|
|
2644
|
-
function
|
|
2669
|
+
function Nn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
|
|
2645
2670
|
return /* @__PURE__ */ W("div", {
|
|
2646
2671
|
className: `call-controls-bar ${u}`,
|
|
2647
2672
|
style: {
|
|
@@ -2651,7 +2676,7 @@ function jn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
|
|
|
2651
2676
|
flexWrap: "nowrap"
|
|
2652
2677
|
},
|
|
2653
2678
|
children: [
|
|
2654
|
-
/* @__PURE__ */ U(
|
|
2679
|
+
/* @__PURE__ */ U(Z, {
|
|
2655
2680
|
icon: e ? L : I,
|
|
2656
2681
|
label: e ? "Unmute" : "Mute",
|
|
2657
2682
|
onClick: n,
|
|
@@ -2659,7 +2684,7 @@ function jn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
|
|
|
2659
2684
|
compact: c,
|
|
2660
2685
|
title: "Mute (M)"
|
|
2661
2686
|
}),
|
|
2662
|
-
/* @__PURE__ */ U(
|
|
2687
|
+
/* @__PURE__ */ U(Z, {
|
|
2663
2688
|
icon: t ? ue : ne,
|
|
2664
2689
|
label: t ? "Resume" : "Hold",
|
|
2665
2690
|
onClick: r,
|
|
@@ -2667,28 +2692,28 @@ function jn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
|
|
|
2667
2692
|
compact: c,
|
|
2668
2693
|
title: "Hold (H)"
|
|
2669
2694
|
}),
|
|
2670
|
-
/* @__PURE__ */ U(
|
|
2695
|
+
/* @__PURE__ */ U(Z, {
|
|
2671
2696
|
icon: ie,
|
|
2672
2697
|
label: "Transfer",
|
|
2673
2698
|
onClick: i,
|
|
2674
2699
|
compact: c,
|
|
2675
2700
|
title: "Transfer (T)"
|
|
2676
2701
|
}),
|
|
2677
|
-
/* @__PURE__ */ U(
|
|
2702
|
+
/* @__PURE__ */ U(Z, {
|
|
2678
2703
|
icon: me,
|
|
2679
2704
|
label: "Invite",
|
|
2680
2705
|
onClick: a,
|
|
2681
2706
|
compact: c,
|
|
2682
2707
|
title: "Invite observer"
|
|
2683
2708
|
}),
|
|
2684
|
-
/* @__PURE__ */ U(
|
|
2709
|
+
/* @__PURE__ */ U(Z, {
|
|
2685
2710
|
icon: O,
|
|
2686
2711
|
label: "Keypad",
|
|
2687
2712
|
onClick: o,
|
|
2688
2713
|
compact: c,
|
|
2689
2714
|
title: "Keypad"
|
|
2690
2715
|
}),
|
|
2691
|
-
!l && /* @__PURE__ */ U(
|
|
2716
|
+
!l && /* @__PURE__ */ U(Z, {
|
|
2692
2717
|
icon: se,
|
|
2693
2718
|
label: "End",
|
|
2694
2719
|
onClick: s,
|
|
@@ -2701,15 +2726,15 @@ function jn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
|
|
|
2701
2726
|
}
|
|
2702
2727
|
//#endregion
|
|
2703
2728
|
//#region src/components/phone/phoneUtils.js
|
|
2704
|
-
function
|
|
2729
|
+
function Pn(e) {
|
|
2705
2730
|
return e == null || Number.isNaN(e) ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
|
|
2706
2731
|
}
|
|
2707
|
-
function
|
|
2732
|
+
function Fn(e) {
|
|
2708
2733
|
if (!e) return "";
|
|
2709
2734
|
let t = new Date(e).getTime() - Date.now();
|
|
2710
|
-
return t <= 0 ? "now" :
|
|
2735
|
+
return t <= 0 ? "now" : Pn(Math.ceil(t / 1e3));
|
|
2711
2736
|
}
|
|
2712
|
-
function
|
|
2737
|
+
function In(e) {
|
|
2713
2738
|
if (!e) return "";
|
|
2714
2739
|
let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 1e3);
|
|
2715
2740
|
if (n < 60) return "just now";
|
|
@@ -2720,12 +2745,12 @@ function Pn(e) {
|
|
|
2720
2745
|
let a = Math.floor(i / 24);
|
|
2721
2746
|
return a === 1 ? "Yesterday" : a < 7 ? `${a}d ago` : new Date(e).toLocaleDateString();
|
|
2722
2747
|
}
|
|
2723
|
-
function
|
|
2748
|
+
function Ln(e) {
|
|
2724
2749
|
if (!e) return "none";
|
|
2725
2750
|
let t = new Date(e).getTime() - Date.now();
|
|
2726
2751
|
return t <= 0 ? "overdue" : t < 30 * 1e3 ? "urgent" : t < 120 * 1e3 ? "warning" : "normal";
|
|
2727
2752
|
}
|
|
2728
|
-
var
|
|
2753
|
+
var Rn = {
|
|
2729
2754
|
intake: "Intake",
|
|
2730
2755
|
plan_review: "Plan Review",
|
|
2731
2756
|
inspections: "Inspections",
|
|
@@ -2735,31 +2760,31 @@ var In = {
|
|
|
2735
2760
|
sales: "Sales",
|
|
2736
2761
|
escalations: "Escalations"
|
|
2737
2762
|
};
|
|
2738
|
-
function
|
|
2739
|
-
return e ?
|
|
2763
|
+
function zn(e) {
|
|
2764
|
+
return e ? Rn[e] ? Rn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
|
|
2740
2765
|
}
|
|
2741
|
-
var
|
|
2766
|
+
var Bn = {
|
|
2742
2767
|
client: "Client",
|
|
2743
2768
|
building_department: "Building Dept",
|
|
2744
2769
|
staff: "Staff",
|
|
2745
2770
|
unknown: "Unknown"
|
|
2746
2771
|
};
|
|
2747
|
-
function
|
|
2748
|
-
return
|
|
2772
|
+
function Vn(e) {
|
|
2773
|
+
return Bn[e] || "Unknown";
|
|
2749
2774
|
}
|
|
2750
|
-
var
|
|
2775
|
+
var Hn = {
|
|
2751
2776
|
open: "Open",
|
|
2752
2777
|
in_progress: "In progress",
|
|
2753
2778
|
resolved: "Resolved",
|
|
2754
2779
|
closed: "Closed",
|
|
2755
2780
|
awaiting_reply: "Awaiting reply"
|
|
2756
2781
|
};
|
|
2757
|
-
function
|
|
2758
|
-
return
|
|
2782
|
+
function Un(e) {
|
|
2783
|
+
return Hn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
|
|
2759
2784
|
}
|
|
2760
2785
|
//#endregion
|
|
2761
2786
|
//#region src/components/ui/TicketLinkChip.jsx
|
|
2762
|
-
var
|
|
2787
|
+
var Wn = {
|
|
2763
2788
|
intake: "var(--accent-blue)",
|
|
2764
2789
|
plan_review: "var(--accent-purple)",
|
|
2765
2790
|
inspections: "var(--accent-green)",
|
|
@@ -2769,7 +2794,7 @@ var Hn = {
|
|
|
2769
2794
|
sales: "var(--accent-orange)",
|
|
2770
2795
|
escalations: "var(--accent-red)"
|
|
2771
2796
|
};
|
|
2772
|
-
function
|
|
2797
|
+
function Gn(e) {
|
|
2773
2798
|
switch (e) {
|
|
2774
2799
|
case "resolved":
|
|
2775
2800
|
case "closed": return "success";
|
|
@@ -2778,12 +2803,12 @@ function Un(e) {
|
|
|
2778
2803
|
default: return "secondary";
|
|
2779
2804
|
}
|
|
2780
2805
|
}
|
|
2781
|
-
function
|
|
2806
|
+
function Kn(e, t) {
|
|
2782
2807
|
return e ? e.length > t ? `${e.slice(0, t - 1)}…` : e : "";
|
|
2783
2808
|
}
|
|
2784
|
-
function
|
|
2809
|
+
function qn({ ticket: e, onClick: t, variant: n = "default", className: r = "" }) {
|
|
2785
2810
|
if (!e) return null;
|
|
2786
|
-
let i =
|
|
2811
|
+
let i = Wn[e.department] ?? Wn.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${Kn(e.title, 28)}`;
|
|
2787
2812
|
return n === "detailed" ? /* @__PURE__ */ W(a, {
|
|
2788
2813
|
type: t ? "button" : void 0,
|
|
2789
2814
|
onClick: t,
|
|
@@ -2827,7 +2852,7 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2827
2852
|
}),
|
|
2828
2853
|
/* @__PURE__ */ W("span", {
|
|
2829
2854
|
style: { color: "var(--text-secondary)" },
|
|
2830
|
-
children: ["· ",
|
|
2855
|
+
children: ["· ", Kn(e.title, 40)]
|
|
2831
2856
|
})
|
|
2832
2857
|
]
|
|
2833
2858
|
}), /* @__PURE__ */ W("span", {
|
|
@@ -2836,14 +2861,14 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2836
2861
|
alignItems: "center",
|
|
2837
2862
|
gap: 6
|
|
2838
2863
|
},
|
|
2839
|
-
children: [e.department && /* @__PURE__ */ U(
|
|
2864
|
+
children: [e.department && /* @__PURE__ */ U(Y, {
|
|
2840
2865
|
variant: "secondary",
|
|
2841
2866
|
showDot: !1,
|
|
2842
2867
|
className: "badge--no-dot",
|
|
2843
|
-
children:
|
|
2844
|
-
}), e.status && /* @__PURE__ */ U(
|
|
2845
|
-
variant:
|
|
2846
|
-
children:
|
|
2868
|
+
children: zn(e.department)
|
|
2869
|
+
}), e.status && /* @__PURE__ */ U(Y, {
|
|
2870
|
+
variant: Gn(e.status),
|
|
2871
|
+
children: Un(e.status)
|
|
2847
2872
|
})]
|
|
2848
2873
|
})]
|
|
2849
2874
|
}) : /* @__PURE__ */ W(a, {
|
|
@@ -2882,19 +2907,19 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2882
2907
|
}
|
|
2883
2908
|
//#endregion
|
|
2884
2909
|
//#region src/components/ui/PresenceDot.jsx
|
|
2885
|
-
var
|
|
2910
|
+
var Jn = {
|
|
2886
2911
|
available: "var(--accent-green, #22c55e)",
|
|
2887
2912
|
busy: "var(--accent-yellow, #f59e0b)",
|
|
2888
2913
|
in_call: "var(--accent-yellow, #f59e0b)",
|
|
2889
2914
|
dnd: "var(--accent-red, #ef4444)",
|
|
2890
2915
|
offline: "var(--text-tertiary, #71717a)"
|
|
2891
|
-
},
|
|
2916
|
+
}, Yn = {
|
|
2892
2917
|
xs: 6,
|
|
2893
2918
|
sm: 8,
|
|
2894
2919
|
md: 10
|
|
2895
2920
|
};
|
|
2896
|
-
function
|
|
2897
|
-
let r =
|
|
2921
|
+
function Xn({ status: e = "offline", size: t = "sm", className: n = "" }) {
|
|
2922
|
+
let r = Yn[t] ?? 8, i = Jn[e] ?? Jn.offline;
|
|
2898
2923
|
return /* @__PURE__ */ U("span", {
|
|
2899
2924
|
className: `presence-dot ${e === "in_call" ? "presence-dot-pulse" : ""} ${n}`,
|
|
2900
2925
|
style: {
|
|
@@ -2911,13 +2936,13 @@ function qn({ status: e = "offline", size: t = "sm", className: n = "" }) {
|
|
|
2911
2936
|
}
|
|
2912
2937
|
//#endregion
|
|
2913
2938
|
//#region src/components/ui/PresenceAvatar.jsx
|
|
2914
|
-
var
|
|
2939
|
+
var Zn = {
|
|
2915
2940
|
sm: "sm",
|
|
2916
2941
|
md: "md",
|
|
2917
2942
|
lg: "lg"
|
|
2918
2943
|
};
|
|
2919
|
-
function
|
|
2920
|
-
let c =
|
|
2944
|
+
function Qn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
|
|
2945
|
+
let c = Zn[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
|
|
2921
2946
|
return /* @__PURE__ */ W("div", {
|
|
2922
2947
|
className: `presence-avatar ${s}`,
|
|
2923
2948
|
style: {
|
|
@@ -2930,7 +2955,7 @@ function Yn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
|
|
|
2930
2955
|
position: "relative",
|
|
2931
2956
|
display: "inline-flex"
|
|
2932
2957
|
},
|
|
2933
|
-
children: [/* @__PURE__ */ U(
|
|
2958
|
+
children: [/* @__PURE__ */ U(J, {
|
|
2934
2959
|
name: e,
|
|
2935
2960
|
initials: t,
|
|
2936
2961
|
imageUrl: n,
|
|
@@ -2941,7 +2966,7 @@ function Yn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
|
|
|
2941
2966
|
left: -1,
|
|
2942
2967
|
top: -1
|
|
2943
2968
|
},
|
|
2944
|
-
children: /* @__PURE__ */ U(
|
|
2969
|
+
children: /* @__PURE__ */ U(Xn, {
|
|
2945
2970
|
status: r,
|
|
2946
2971
|
size: l
|
|
2947
2972
|
})
|
|
@@ -2958,27 +2983,27 @@ function Yn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
|
|
|
2958
2983
|
}
|
|
2959
2984
|
//#endregion
|
|
2960
2985
|
//#region src/components/ui/Callbar.jsx
|
|
2961
|
-
var
|
|
2986
|
+
var $n = {
|
|
2962
2987
|
connecting: "Connecting…",
|
|
2963
2988
|
ringing: "Ringing…",
|
|
2964
2989
|
connected: "Connected",
|
|
2965
2990
|
on_hold: "On hold",
|
|
2966
2991
|
ending: "Ending…"
|
|
2967
|
-
},
|
|
2992
|
+
}, er = {
|
|
2968
2993
|
connecting: "info",
|
|
2969
2994
|
ringing: "info",
|
|
2970
2995
|
connected: "success",
|
|
2971
2996
|
on_hold: "warning",
|
|
2972
2997
|
ending: "error"
|
|
2973
2998
|
};
|
|
2974
|
-
function
|
|
2999
|
+
function tr(e) {
|
|
2975
3000
|
return e === "connected" ? "var(--accent-green)" : e === "on_hold" ? "var(--accent-yellow)" : e === "ending" ? "var(--accent-red)" : "var(--accent-blue)";
|
|
2976
3001
|
}
|
|
2977
|
-
function
|
|
3002
|
+
function nr(e) {
|
|
2978
3003
|
return e === "connecting" || e === "ringing";
|
|
2979
3004
|
}
|
|
2980
|
-
function
|
|
2981
|
-
let [b, x] = d(!1), C = _ || b, w =
|
|
3005
|
+
function rr({ state: e = "connected", caller: t = {}, ticket: n = null, durationSec: r = 0, isMuted: i, isOnHold: a, observers: o = [], recordingConsentPending: s = !1, onMute: c, onHold: u, onTransfer: f, onInvite: p, onKeypad: m, onEnd: h, onMinimize: g, minimized: _ = !1, className: v = "" }) {
|
|
3006
|
+
let [b, x] = d(!1), C = _ || b, w = $n[e] || e, T = nr(e), E = tr(e), D = l(() => `${Math.floor(r / 60)}:${Math.floor(r % 60).toString().padStart(2, "0")}`, [r]), O = o.slice(0, 3), k = Math.max(0, o.length - 3), A = () => {
|
|
2982
3007
|
x((e) => !e), g?.();
|
|
2983
3008
|
};
|
|
2984
3009
|
return C ? /* @__PURE__ */ W("div", {
|
|
@@ -3030,7 +3055,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3030
3055
|
gap: 6
|
|
3031
3056
|
},
|
|
3032
3057
|
children: [
|
|
3033
|
-
/* @__PURE__ */ U(
|
|
3058
|
+
/* @__PURE__ */ U(Nn, {
|
|
3034
3059
|
isMuted: i,
|
|
3035
3060
|
isOnHold: a,
|
|
3036
3061
|
onMute: c,
|
|
@@ -3042,7 +3067,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3042
3067
|
compact: !0,
|
|
3043
3068
|
hideEnd: !0
|
|
3044
3069
|
}),
|
|
3045
|
-
/* @__PURE__ */ W(
|
|
3070
|
+
/* @__PURE__ */ W(X, {
|
|
3046
3071
|
variant: "destructive",
|
|
3047
3072
|
size: "sm",
|
|
3048
3073
|
onClick: h,
|
|
@@ -3099,8 +3124,8 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3099
3124
|
alignItems: "center",
|
|
3100
3125
|
gap: 8
|
|
3101
3126
|
},
|
|
3102
|
-
children: [/* @__PURE__ */ U(
|
|
3103
|
-
variant:
|
|
3127
|
+
children: [/* @__PURE__ */ U(Y, {
|
|
3128
|
+
variant: er[e] || "secondary",
|
|
3104
3129
|
children: w
|
|
3105
3130
|
}), (e === "connected" || e === "on_hold") && /* @__PURE__ */ U("span", {
|
|
3106
3131
|
style: {
|
|
@@ -3143,7 +3168,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3143
3168
|
},
|
|
3144
3169
|
children: t.number
|
|
3145
3170
|
})]
|
|
3146
|
-
}), n ? /* @__PURE__ */ U(
|
|
3171
|
+
}), n ? /* @__PURE__ */ U(qn, {
|
|
3147
3172
|
ticket: n,
|
|
3148
3173
|
variant: "compact"
|
|
3149
3174
|
}) : /* @__PURE__ */ U("button", {
|
|
@@ -3161,7 +3186,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3161
3186
|
flexShrink: 0
|
|
3162
3187
|
},
|
|
3163
3188
|
children: [
|
|
3164
|
-
O.map((e) => /* @__PURE__ */ U(
|
|
3189
|
+
O.map((e) => /* @__PURE__ */ U(Qn, {
|
|
3165
3190
|
name: e.name,
|
|
3166
3191
|
initials: e.initials,
|
|
3167
3192
|
avatarUrl: e.avatarUrl,
|
|
@@ -3178,7 +3203,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3178
3203
|
},
|
|
3179
3204
|
children: ["+", k]
|
|
3180
3205
|
}),
|
|
3181
|
-
/* @__PURE__ */ U(
|
|
3206
|
+
/* @__PURE__ */ U(Nn, {
|
|
3182
3207
|
isMuted: i,
|
|
3183
3208
|
isOnHold: a,
|
|
3184
3209
|
onMute: c,
|
|
@@ -3190,7 +3215,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3190
3215
|
compact: !0,
|
|
3191
3216
|
hideEnd: !0
|
|
3192
3217
|
}),
|
|
3193
|
-
/* @__PURE__ */ W(
|
|
3218
|
+
/* @__PURE__ */ W(X, {
|
|
3194
3219
|
variant: "destructive",
|
|
3195
3220
|
size: "sm",
|
|
3196
3221
|
onClick: h,
|
|
@@ -3224,7 +3249,7 @@ function er({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
3224
3249
|
}
|
|
3225
3250
|
//#endregion
|
|
3226
3251
|
//#region src/components/ui/CallCard.jsx
|
|
3227
|
-
var
|
|
3252
|
+
var ir = {
|
|
3228
3253
|
client: {
|
|
3229
3254
|
accent: "var(--accent-green)",
|
|
3230
3255
|
variant: "success"
|
|
@@ -3242,17 +3267,17 @@ var tr = {
|
|
|
3242
3267
|
variant: "warning"
|
|
3243
3268
|
}
|
|
3244
3269
|
};
|
|
3245
|
-
function
|
|
3270
|
+
function ar(e) {
|
|
3246
3271
|
return e ? Math.max(0, Math.floor((Date.now() - new Date(e).getTime()) / 1e3)) : 0;
|
|
3247
3272
|
}
|
|
3248
|
-
function
|
|
3249
|
-
let [_, v] = d(() =>
|
|
3273
|
+
function or({ variant: e = "primary", callerName: t, callerNumber: n, callerType: r = "unknown", avatarUrl: i, ticket: a = null, ticketCandidates: s = [], projectRef: c = null, transferContext: l = null, ringStartedAt: u, onAccept: f, onDecline: p, onSendToVoicemail: m, onPromote: h, className: g = "" }) {
|
|
3274
|
+
let [_, v] = d(() => ar(u)), [y, b] = d(s[0]?.id || "none");
|
|
3250
3275
|
o(() => {
|
|
3251
3276
|
if (!u) return;
|
|
3252
|
-
let e = setInterval(() => v(
|
|
3277
|
+
let e = setInterval(() => v(ar(u)), 1e3);
|
|
3253
3278
|
return () => clearInterval(e);
|
|
3254
3279
|
}, [u]);
|
|
3255
|
-
let x =
|
|
3280
|
+
let x = ir[r] || ir.unknown;
|
|
3256
3281
|
return e === "mini" ? /* @__PURE__ */ W("div", {
|
|
3257
3282
|
role: "button",
|
|
3258
3283
|
tabIndex: 0,
|
|
@@ -3278,7 +3303,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3278
3303
|
cursor: "pointer"
|
|
3279
3304
|
},
|
|
3280
3305
|
children: [
|
|
3281
|
-
/* @__PURE__ */ U(
|
|
3306
|
+
/* @__PURE__ */ U(J, {
|
|
3282
3307
|
name: t,
|
|
3283
3308
|
imageUrl: i,
|
|
3284
3309
|
size: "sm"
|
|
@@ -3303,18 +3328,18 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3303
3328
|
whiteSpace: "nowrap"
|
|
3304
3329
|
},
|
|
3305
3330
|
children: t
|
|
3306
|
-
}), /* @__PURE__ */ U(
|
|
3331
|
+
}), /* @__PURE__ */ U(Y, {
|
|
3307
3332
|
variant: x.variant,
|
|
3308
3333
|
showDot: !1,
|
|
3309
3334
|
className: "badge--no-dot",
|
|
3310
|
-
children:
|
|
3335
|
+
children: Vn(r)
|
|
3311
3336
|
})]
|
|
3312
3337
|
}), /* @__PURE__ */ W("div", {
|
|
3313
3338
|
style: {
|
|
3314
3339
|
fontSize: "var(--text-xs)",
|
|
3315
3340
|
color: "var(--text-tertiary)"
|
|
3316
3341
|
},
|
|
3317
|
-
children: ["Ringing · ",
|
|
3342
|
+
children: ["Ringing · ", Pn(_)]
|
|
3318
3343
|
})]
|
|
3319
3344
|
}),
|
|
3320
3345
|
/* @__PURE__ */ U("button", {
|
|
@@ -3390,7 +3415,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3390
3415
|
alignItems: "center",
|
|
3391
3416
|
minWidth: 0
|
|
3392
3417
|
},
|
|
3393
|
-
children: [/* @__PURE__ */ U(
|
|
3418
|
+
children: [/* @__PURE__ */ U(J, {
|
|
3394
3419
|
name: t,
|
|
3395
3420
|
imageUrl: i,
|
|
3396
3421
|
size: "md"
|
|
@@ -3411,11 +3436,11 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3411
3436
|
whiteSpace: "nowrap"
|
|
3412
3437
|
},
|
|
3413
3438
|
children: t
|
|
3414
|
-
}), /* @__PURE__ */ U(
|
|
3439
|
+
}), /* @__PURE__ */ U(Y, {
|
|
3415
3440
|
variant: x.variant,
|
|
3416
3441
|
showDot: !1,
|
|
3417
3442
|
className: "badge--no-dot",
|
|
3418
|
-
children:
|
|
3443
|
+
children: Vn(r)
|
|
3419
3444
|
})]
|
|
3420
3445
|
}), /* @__PURE__ */ U("div", {
|
|
3421
3446
|
style: {
|
|
@@ -3436,7 +3461,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3436
3461
|
children: [/* @__PURE__ */ U("span", {
|
|
3437
3462
|
style: { marginRight: 4 },
|
|
3438
3463
|
children: "•"
|
|
3439
|
-
}),
|
|
3464
|
+
}), Pn(_)]
|
|
3440
3465
|
})]
|
|
3441
3466
|
}), /* @__PURE__ */ U("div", {
|
|
3442
3467
|
style: {
|
|
@@ -3449,7 +3474,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3449
3474
|
flexDirection: "column",
|
|
3450
3475
|
gap: 6
|
|
3451
3476
|
},
|
|
3452
|
-
children: [/* @__PURE__ */ U(
|
|
3477
|
+
children: [/* @__PURE__ */ U(qn, {
|
|
3453
3478
|
ticket: a,
|
|
3454
3479
|
variant: "detailed"
|
|
3455
3480
|
}), c && /* @__PURE__ */ U("div", {
|
|
@@ -3487,7 +3512,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3487
3512
|
name: "ticket-cand",
|
|
3488
3513
|
checked: y === e.id,
|
|
3489
3514
|
onChange: () => b(e.id)
|
|
3490
|
-
}), /* @__PURE__ */ U(
|
|
3515
|
+
}), /* @__PURE__ */ U(qn, {
|
|
3491
3516
|
ticket: e,
|
|
3492
3517
|
variant: "compact"
|
|
3493
3518
|
})]
|
|
@@ -3515,7 +3540,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3515
3540
|
}), "None of these"]
|
|
3516
3541
|
})
|
|
3517
3542
|
]
|
|
3518
|
-
})] }) : /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U(
|
|
3543
|
+
})] }) : /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U(Y, {
|
|
3519
3544
|
variant: "warning",
|
|
3520
3545
|
showDot: !1,
|
|
3521
3546
|
className: "badge--no-dot",
|
|
@@ -3541,7 +3566,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3541
3566
|
alignItems: "stretch"
|
|
3542
3567
|
},
|
|
3543
3568
|
children: [
|
|
3544
|
-
/* @__PURE__ */ U(
|
|
3569
|
+
/* @__PURE__ */ U(X, {
|
|
3545
3570
|
type: "button",
|
|
3546
3571
|
variant: "ghost",
|
|
3547
3572
|
size: "sm",
|
|
@@ -3549,14 +3574,14 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3549
3574
|
"aria-label": "Send to voicemail",
|
|
3550
3575
|
children: /* @__PURE__ */ U(he, { size: 14 })
|
|
3551
3576
|
}),
|
|
3552
|
-
/* @__PURE__ */ U(
|
|
3577
|
+
/* @__PURE__ */ U(X, {
|
|
3553
3578
|
type: "button",
|
|
3554
3579
|
variant: "outline",
|
|
3555
3580
|
size: "sm",
|
|
3556
3581
|
onClick: p,
|
|
3557
3582
|
children: "Decline"
|
|
3558
3583
|
}),
|
|
3559
|
-
/* @__PURE__ */ W(
|
|
3584
|
+
/* @__PURE__ */ W(X, {
|
|
3560
3585
|
type: "button",
|
|
3561
3586
|
variant: "success",
|
|
3562
3587
|
size: "sm",
|
|
@@ -3576,7 +3601,7 @@ function rr({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3576
3601
|
}
|
|
3577
3602
|
//#endregion
|
|
3578
3603
|
//#region src/components/ui/QueueItem.jsx
|
|
3579
|
-
var
|
|
3604
|
+
var sr = {
|
|
3580
3605
|
ringing: {
|
|
3581
3606
|
icon: ae,
|
|
3582
3607
|
color: "var(--accent-red)",
|
|
@@ -3597,14 +3622,14 @@ var ir = {
|
|
|
3597
3622
|
color: "var(--text-tertiary)",
|
|
3598
3623
|
label: "Missed"
|
|
3599
3624
|
}
|
|
3600
|
-
},
|
|
3625
|
+
}, cr = {
|
|
3601
3626
|
client: "success",
|
|
3602
3627
|
building_department: "info",
|
|
3603
3628
|
staff: "purple",
|
|
3604
3629
|
unknown: "warning"
|
|
3605
3630
|
};
|
|
3606
|
-
function
|
|
3607
|
-
let d =
|
|
3631
|
+
function lr({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadlineAt: i = null, voicemailDurationSec: a, assignedTo: o = null, actions: s = [], onAction: c, onClick: l, className: u = "" }) {
|
|
3632
|
+
let d = sr[e] || sr.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? Ln(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
|
|
3608
3633
|
return /* @__PURE__ */ W("div", {
|
|
3609
3634
|
role: "button",
|
|
3610
3635
|
tabIndex: 0,
|
|
@@ -3654,13 +3679,13 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3654
3679
|
},
|
|
3655
3680
|
children: t.name
|
|
3656
3681
|
}),
|
|
3657
|
-
/* @__PURE__ */ U(
|
|
3658
|
-
variant:
|
|
3682
|
+
/* @__PURE__ */ U(Y, {
|
|
3683
|
+
variant: cr[t.type] || "warning",
|
|
3659
3684
|
showDot: !1,
|
|
3660
3685
|
className: "badge--no-dot",
|
|
3661
|
-
children:
|
|
3686
|
+
children: Vn(t.type)
|
|
3662
3687
|
}),
|
|
3663
|
-
n && /* @__PURE__ */ U(
|
|
3688
|
+
n && /* @__PURE__ */ U(qn, {
|
|
3664
3689
|
ticket: n,
|
|
3665
3690
|
variant: "compact"
|
|
3666
3691
|
})
|
|
@@ -3686,8 +3711,8 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3686
3711
|
children: d.label
|
|
3687
3712
|
}),
|
|
3688
3713
|
/* @__PURE__ */ U("span", { children: "·" }),
|
|
3689
|
-
e === "voicemail" && a != null && /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U("span", { children:
|
|
3690
|
-
r && /* @__PURE__ */ U("span", { children:
|
|
3714
|
+
e === "voicemail" && a != null && /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U("span", { children: Pn(a) }), /* @__PURE__ */ U("span", { children: "·" })] }),
|
|
3715
|
+
r && /* @__PURE__ */ U("span", { children: In(r) }),
|
|
3691
3716
|
i && /* @__PURE__ */ W("span", {
|
|
3692
3717
|
style: {
|
|
3693
3718
|
color: g,
|
|
@@ -3695,12 +3720,12 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3695
3720
|
fontVariantNumeric: "tabular-nums",
|
|
3696
3721
|
fontWeight: 600
|
|
3697
3722
|
},
|
|
3698
|
-
children: ["SLA ",
|
|
3723
|
+
children: ["SLA ", Fn(i)]
|
|
3699
3724
|
})
|
|
3700
3725
|
]
|
|
3701
3726
|
})]
|
|
3702
3727
|
}),
|
|
3703
|
-
o && /* @__PURE__ */ U(
|
|
3728
|
+
o && /* @__PURE__ */ U(Qn, {
|
|
3704
3729
|
name: o.name,
|
|
3705
3730
|
initials: o.initials,
|
|
3706
3731
|
avatarUrl: null,
|
|
@@ -3722,7 +3747,7 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3722
3747
|
title: e.label,
|
|
3723
3748
|
onClick: () => c?.(e.key),
|
|
3724
3749
|
children: e.icon
|
|
3725
|
-
}, e.key)), m.length > 0 && /* @__PURE__ */ U(
|
|
3750
|
+
}, e.key)), m.length > 0 && /* @__PURE__ */ U(sn, {
|
|
3726
3751
|
align: "right",
|
|
3727
3752
|
trigger: /* @__PURE__ */ U("button", {
|
|
3728
3753
|
type: "button",
|
|
@@ -3730,7 +3755,7 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3730
3755
|
"aria-label": "More actions",
|
|
3731
3756
|
children: /* @__PURE__ */ U(ee, { size: 16 })
|
|
3732
3757
|
}),
|
|
3733
|
-
children: m.map((e) => /* @__PURE__ */ U(
|
|
3758
|
+
children: m.map((e) => /* @__PURE__ */ U(cn, {
|
|
3734
3759
|
onClick: () => c?.(e.key),
|
|
3735
3760
|
children: e.label
|
|
3736
3761
|
}, e.key))
|
|
@@ -3741,14 +3766,14 @@ function or({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3741
3766
|
}
|
|
3742
3767
|
//#endregion
|
|
3743
3768
|
//#region src/components/data/ActivityFeed.jsx
|
|
3744
|
-
function
|
|
3769
|
+
function ur({ items: e = [], className: t = "" }) {
|
|
3745
3770
|
return /* @__PURE__ */ U("div", {
|
|
3746
3771
|
className: `activity-feed ${t}`,
|
|
3747
3772
|
children: e.map((e, t) => /* @__PURE__ */ W("div", {
|
|
3748
3773
|
className: "activity-item",
|
|
3749
3774
|
children: [/* @__PURE__ */ U("div", {
|
|
3750
3775
|
className: "activity-avatar",
|
|
3751
|
-
children: /* @__PURE__ */ U(
|
|
3776
|
+
children: /* @__PURE__ */ U(J, {
|
|
3752
3777
|
name: e.user,
|
|
3753
3778
|
size: "sm"
|
|
3754
3779
|
})
|
|
@@ -3780,7 +3805,7 @@ function sr({ items: e = [], className: t = "" }) {
|
|
|
3780
3805
|
}
|
|
3781
3806
|
//#endregion
|
|
3782
3807
|
//#region src/components/data/CommandBar.jsx
|
|
3783
|
-
function
|
|
3808
|
+
function dr({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
3784
3809
|
let [a, s] = d(""), [c, l] = d(0), f = u(null);
|
|
3785
3810
|
if (o(() => {
|
|
3786
3811
|
if (e) {
|
|
@@ -3864,7 +3889,7 @@ function cr({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
3864
3889
|
}
|
|
3865
3890
|
//#endregion
|
|
3866
3891
|
//#region src/components/data/DataTable.jsx
|
|
3867
|
-
function
|
|
3892
|
+
function fr({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
3868
3893
|
let [i, a] = d(null), [o, s] = d("asc");
|
|
3869
3894
|
function c(e) {
|
|
3870
3895
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -3905,7 +3930,7 @@ function lr({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
3905
3930
|
}
|
|
3906
3931
|
//#endregion
|
|
3907
3932
|
//#region src/components/data/FilterBar.jsx
|
|
3908
|
-
function
|
|
3933
|
+
function pr({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
3909
3934
|
let o = n.some((e) => e.active);
|
|
3910
3935
|
return /* @__PURE__ */ W("div", {
|
|
3911
3936
|
className: `filter-bar ${a}`,
|
|
@@ -3958,14 +3983,14 @@ function ur({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
3958
3983
|
function Q(...e) {
|
|
3959
3984
|
return e.filter(Boolean).join(" ");
|
|
3960
3985
|
}
|
|
3961
|
-
function
|
|
3986
|
+
function mr({ children: e, className: t = "", style: n }) {
|
|
3962
3987
|
return /* @__PURE__ */ U("div", {
|
|
3963
3988
|
className: Q("kanban-board", t),
|
|
3964
3989
|
style: n,
|
|
3965
3990
|
children: e
|
|
3966
3991
|
});
|
|
3967
3992
|
}
|
|
3968
|
-
function
|
|
3993
|
+
function hr({ 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 }) {
|
|
3969
3994
|
return /* @__PURE__ */ W("div", {
|
|
3970
3995
|
className: Q("kanban-column", o),
|
|
3971
3996
|
style: s,
|
|
@@ -3983,7 +4008,7 @@ function fr({ title: e, count: t, color: n, headerAction: r = null, countVariant
|
|
|
3983
4008
|
className: "kanban-column-title-label",
|
|
3984
4009
|
children: e
|
|
3985
4010
|
}),
|
|
3986
|
-
t != null && /* @__PURE__ */ U(
|
|
4011
|
+
t != null && /* @__PURE__ */ U(Y, {
|
|
3987
4012
|
showDot: !1,
|
|
3988
4013
|
className: Q("workflow-column-count", "kanban-column-count", i === "inline" ? "kanban-column-count--inline" : "", u),
|
|
3989
4014
|
children: t
|
|
@@ -4003,7 +4028,7 @@ function fr({ title: e, count: t, color: n, headerAction: r = null, countVariant
|
|
|
4003
4028
|
})]
|
|
4004
4029
|
});
|
|
4005
4030
|
}
|
|
4006
|
-
function
|
|
4031
|
+
function gr({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
4007
4032
|
let u = a ?? r;
|
|
4008
4033
|
return /* @__PURE__ */ U("div", {
|
|
4009
4034
|
className: Q("kanban-card", c),
|
|
@@ -4039,13 +4064,13 @@ function pr({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
4039
4064
|
function $(...e) {
|
|
4040
4065
|
return e.filter(Boolean).join(" ");
|
|
4041
4066
|
}
|
|
4042
|
-
function
|
|
4067
|
+
function _r({ children: e, className: t = "" }) {
|
|
4043
4068
|
return /* @__PURE__ */ U("div", {
|
|
4044
4069
|
className: $("table-board", t),
|
|
4045
4070
|
children: e
|
|
4046
4071
|
});
|
|
4047
4072
|
}
|
|
4048
|
-
function
|
|
4073
|
+
function vr({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
4049
4074
|
let [c, l] = d(i), u = r != null, f = u ? r : c;
|
|
4050
4075
|
function p() {
|
|
4051
4076
|
let e = !f;
|
|
@@ -4082,7 +4107,7 @@ function hr({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
|
|
|
4082
4107
|
})]
|
|
4083
4108
|
});
|
|
4084
4109
|
}
|
|
4085
|
-
function
|
|
4110
|
+
function yr({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: i, subtitle: a, subtitleInline: s = !1, pills: c = [], maxVisibleLeadingPills: l, pinnedTrailingPillsCount: f = 0, metric: m, metricTone: h = "default", metricIcon: g, showMetricIcon: _ = !0, avatar: v, avatarImageUrl: y, avatarLabel: b, avatarName: x, avatarStyle: S, meta: C, onClick: T, className: E = "" }) {
|
|
4086
4111
|
let D = typeof T == "function", O = u(null), [k, A] = d(!1), j = Array.isArray(c) ? c : [], M = Math.max(0, Math.min(f, j.length)), N = M > 0 ? j.slice(0, -M) : j, P = M > 0 ? j.slice(-M) : [], F = typeof l == "number" && l >= 0 ? N.slice(0, l) : N, I = Math.max(0, N.length - F.length), L = [
|
|
4087
4112
|
...F,
|
|
4088
4113
|
...I > 0 ? [{
|
|
@@ -4094,7 +4119,7 @@ function gr({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
4094
4119
|
function R(e) {
|
|
4095
4120
|
D && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), T());
|
|
4096
4121
|
}
|
|
4097
|
-
let z = x || C || b, ee = S || (y ? void 0 : { background: "var(--accent-blue)" }), te = g || (h === "warning" ? p : w), ne = v || (y || b || z ? /* @__PURE__ */ U(
|
|
4122
|
+
let z = x || C || b, ee = S || (y ? void 0 : { background: "var(--accent-blue)" }), te = g || (h === "warning" ? p : w), ne = v || (y || b || z ? /* @__PURE__ */ U(J, {
|
|
4098
4123
|
imageUrl: y,
|
|
4099
4124
|
initials: b,
|
|
4100
4125
|
name: z,
|
|
@@ -4168,10 +4193,10 @@ function gr({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
4168
4193
|
]
|
|
4169
4194
|
}, `${e.label}-${t}`))
|
|
4170
4195
|
}),
|
|
4171
|
-
m != null && (r(m) ? m : /* @__PURE__ */ U(
|
|
4196
|
+
m != null && (r(m) ? m : /* @__PURE__ */ U(Y, {
|
|
4172
4197
|
className: "table-board-metric",
|
|
4173
4198
|
showDot: !1,
|
|
4174
|
-
children: /* @__PURE__ */ U(
|
|
4199
|
+
children: /* @__PURE__ */ U(_n, {
|
|
4175
4200
|
tone: h,
|
|
4176
4201
|
icon: te,
|
|
4177
4202
|
showIcon: _,
|
|
@@ -4188,7 +4213,7 @@ function gr({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
4188
4213
|
}
|
|
4189
4214
|
//#endregion
|
|
4190
4215
|
//#region src/components/data/KPICard.jsx
|
|
4191
|
-
function
|
|
4216
|
+
function br({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
4192
4217
|
let s = {
|
|
4193
4218
|
up: "var(--accent-green)",
|
|
4194
4219
|
down: "var(--accent-red)",
|
|
@@ -4229,7 +4254,7 @@ function _r({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
4229
4254
|
]
|
|
4230
4255
|
});
|
|
4231
4256
|
}
|
|
4232
|
-
function
|
|
4257
|
+
function xr({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
4233
4258
|
return /* @__PURE__ */ W("div", {
|
|
4234
4259
|
className: `stat-card ${i}`,
|
|
4235
4260
|
children: [r && /* @__PURE__ */ U("div", {
|
|
@@ -4256,7 +4281,7 @@ function vr({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
4256
4281
|
}
|
|
4257
4282
|
//#endregion
|
|
4258
4283
|
//#region src/components/data/NotificationsPanel.jsx
|
|
4259
|
-
function
|
|
4284
|
+
function Sr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
4260
4285
|
let i = e.filter((e) => !e.read);
|
|
4261
4286
|
return /* @__PURE__ */ W("div", {
|
|
4262
4287
|
className: `notifications-panel ${r}`,
|
|
@@ -4287,7 +4312,7 @@ function yr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
4287
4312
|
className: `notification-item ${e.read ? "" : "unread"}`,
|
|
4288
4313
|
onClick: () => !e.read && t?.(e.id),
|
|
4289
4314
|
children: [
|
|
4290
|
-
/* @__PURE__ */ U(
|
|
4315
|
+
/* @__PURE__ */ U(J, {
|
|
4291
4316
|
name: e.user,
|
|
4292
4317
|
size: "sm"
|
|
4293
4318
|
}),
|
|
@@ -4313,7 +4338,7 @@ function yr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
4313
4338
|
}
|
|
4314
4339
|
//#endregion
|
|
4315
4340
|
//#region src/components/Icons.jsx
|
|
4316
|
-
function
|
|
4341
|
+
function Cr() {
|
|
4317
4342
|
return /* @__PURE__ */ U("svg", {
|
|
4318
4343
|
width: "16",
|
|
4319
4344
|
height: "16",
|
|
@@ -4322,7 +4347,7 @@ function br() {
|
|
|
4322
4347
|
children: /* @__PURE__ */ U("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" })
|
|
4323
4348
|
});
|
|
4324
4349
|
}
|
|
4325
|
-
function
|
|
4350
|
+
function wr() {
|
|
4326
4351
|
return /* @__PURE__ */ W("svg", {
|
|
4327
4352
|
width: "16",
|
|
4328
4353
|
height: "16",
|
|
@@ -4342,7 +4367,7 @@ function xr() {
|
|
|
4342
4367
|
})]
|
|
4343
4368
|
});
|
|
4344
4369
|
}
|
|
4345
|
-
function
|
|
4370
|
+
function Tr() {
|
|
4346
4371
|
return /* @__PURE__ */ U("svg", {
|
|
4347
4372
|
width: "16",
|
|
4348
4373
|
height: "16",
|
|
@@ -4351,7 +4376,7 @@ function Sr() {
|
|
|
4351
4376
|
children: /* @__PURE__ */ U("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" })
|
|
4352
4377
|
});
|
|
4353
4378
|
}
|
|
4354
|
-
function
|
|
4379
|
+
function Er() {
|
|
4355
4380
|
return /* @__PURE__ */ U("svg", {
|
|
4356
4381
|
width: "16",
|
|
4357
4382
|
height: "16",
|
|
@@ -4364,7 +4389,7 @@ function Cr() {
|
|
|
4364
4389
|
children: /* @__PURE__ */ U("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
4365
4390
|
});
|
|
4366
4391
|
}
|
|
4367
|
-
function
|
|
4392
|
+
function Dr() {
|
|
4368
4393
|
return /* @__PURE__ */ U("svg", {
|
|
4369
4394
|
width: "16",
|
|
4370
4395
|
height: "16",
|
|
@@ -4373,7 +4398,7 @@ function wr() {
|
|
|
4373
4398
|
children: /* @__PURE__ */ U("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" })
|
|
4374
4399
|
});
|
|
4375
4400
|
}
|
|
4376
|
-
function
|
|
4401
|
+
function Or() {
|
|
4377
4402
|
return /* @__PURE__ */ U("svg", {
|
|
4378
4403
|
width: "16",
|
|
4379
4404
|
height: "16",
|
|
@@ -4382,7 +4407,7 @@ function Tr() {
|
|
|
4382
4407
|
children: /* @__PURE__ */ U("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" })
|
|
4383
4408
|
});
|
|
4384
4409
|
}
|
|
4385
|
-
function
|
|
4410
|
+
function kr() {
|
|
4386
4411
|
return /* @__PURE__ */ W("svg", {
|
|
4387
4412
|
width: "16",
|
|
4388
4413
|
height: "16",
|
|
@@ -4407,7 +4432,7 @@ function Er() {
|
|
|
4407
4432
|
]
|
|
4408
4433
|
});
|
|
4409
4434
|
}
|
|
4410
|
-
function
|
|
4435
|
+
function Ar() {
|
|
4411
4436
|
return /* @__PURE__ */ W("svg", {
|
|
4412
4437
|
width: "16",
|
|
4413
4438
|
height: "16",
|
|
@@ -4425,7 +4450,7 @@ function Dr() {
|
|
|
4425
4450
|
})]
|
|
4426
4451
|
});
|
|
4427
4452
|
}
|
|
4428
|
-
function
|
|
4453
|
+
function jr() {
|
|
4429
4454
|
return /* @__PURE__ */ U("svg", {
|
|
4430
4455
|
width: "16",
|
|
4431
4456
|
height: "16",
|
|
@@ -4438,7 +4463,7 @@ function Or() {
|
|
|
4438
4463
|
children: /* @__PURE__ */ U("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
4439
4464
|
});
|
|
4440
4465
|
}
|
|
4441
|
-
function
|
|
4466
|
+
function Mr() {
|
|
4442
4467
|
return /* @__PURE__ */ U("svg", {
|
|
4443
4468
|
width: "14",
|
|
4444
4469
|
height: "14",
|
|
@@ -4451,7 +4476,7 @@ function kr() {
|
|
|
4451
4476
|
children: /* @__PURE__ */ U("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
4452
4477
|
});
|
|
4453
4478
|
}
|
|
4454
|
-
function
|
|
4479
|
+
function Nr() {
|
|
4455
4480
|
return /* @__PURE__ */ U("svg", {
|
|
4456
4481
|
width: "14",
|
|
4457
4482
|
height: "14",
|
|
@@ -4464,7 +4489,7 @@ function Ar() {
|
|
|
4464
4489
|
children: /* @__PURE__ */ U("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
4465
4490
|
});
|
|
4466
4491
|
}
|
|
4467
|
-
function
|
|
4492
|
+
function Pr() {
|
|
4468
4493
|
return /* @__PURE__ */ U("svg", {
|
|
4469
4494
|
width: "14",
|
|
4470
4495
|
height: "14",
|
|
@@ -4473,7 +4498,7 @@ function jr() {
|
|
|
4473
4498
|
children: /* @__PURE__ */ U("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" })
|
|
4474
4499
|
});
|
|
4475
4500
|
}
|
|
4476
|
-
function
|
|
4501
|
+
function Fr() {
|
|
4477
4502
|
return /* @__PURE__ */ W("svg", {
|
|
4478
4503
|
width: "14",
|
|
4479
4504
|
height: "14",
|
|
@@ -4494,7 +4519,7 @@ function Mr() {
|
|
|
4494
4519
|
})]
|
|
4495
4520
|
});
|
|
4496
4521
|
}
|
|
4497
|
-
function
|
|
4522
|
+
function Ir() {
|
|
4498
4523
|
return /* @__PURE__ */ W("svg", {
|
|
4499
4524
|
width: "14",
|
|
4500
4525
|
height: "14",
|
|
@@ -4514,7 +4539,7 @@ function Nr() {
|
|
|
4514
4539
|
})]
|
|
4515
4540
|
});
|
|
4516
4541
|
}
|
|
4517
|
-
function
|
|
4542
|
+
function Lr() {
|
|
4518
4543
|
return /* @__PURE__ */ U("svg", {
|
|
4519
4544
|
width: "14",
|
|
4520
4545
|
height: "14",
|
|
@@ -4529,7 +4554,7 @@ function Pr() {
|
|
|
4529
4554
|
})
|
|
4530
4555
|
});
|
|
4531
4556
|
}
|
|
4532
|
-
function
|
|
4557
|
+
function Rr() {
|
|
4533
4558
|
return /* @__PURE__ */ U("svg", {
|
|
4534
4559
|
width: "14",
|
|
4535
4560
|
height: "14",
|
|
@@ -4545,7 +4570,7 @@ function Fr() {
|
|
|
4545
4570
|
})
|
|
4546
4571
|
});
|
|
4547
4572
|
}
|
|
4548
|
-
function
|
|
4573
|
+
function zr() {
|
|
4549
4574
|
return /* @__PURE__ */ W("svg", {
|
|
4550
4575
|
width: "14",
|
|
4551
4576
|
height: "14",
|
|
@@ -4565,7 +4590,7 @@ function Ir() {
|
|
|
4565
4590
|
})]
|
|
4566
4591
|
});
|
|
4567
4592
|
}
|
|
4568
|
-
function
|
|
4593
|
+
function Br() {
|
|
4569
4594
|
return /* @__PURE__ */ U("svg", {
|
|
4570
4595
|
width: "14",
|
|
4571
4596
|
height: "14",
|
|
@@ -4574,7 +4599,7 @@ function Lr() {
|
|
|
4574
4599
|
children: /* @__PURE__ */ U("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" })
|
|
4575
4600
|
});
|
|
4576
4601
|
}
|
|
4577
|
-
function
|
|
4602
|
+
function Vr() {
|
|
4578
4603
|
return /* @__PURE__ */ W("svg", {
|
|
4579
4604
|
width: "14",
|
|
4580
4605
|
height: "14",
|
|
@@ -4605,7 +4630,7 @@ function Rr() {
|
|
|
4605
4630
|
]
|
|
4606
4631
|
});
|
|
4607
4632
|
}
|
|
4608
|
-
function
|
|
4633
|
+
function Hr() {
|
|
4609
4634
|
return /* @__PURE__ */ W("svg", {
|
|
4610
4635
|
width: "14",
|
|
4611
4636
|
height: "14",
|
|
@@ -4638,7 +4663,7 @@ function zr() {
|
|
|
4638
4663
|
]
|
|
4639
4664
|
});
|
|
4640
4665
|
}
|
|
4641
|
-
function
|
|
4666
|
+
function Ur() {
|
|
4642
4667
|
return /* @__PURE__ */ W("svg", {
|
|
4643
4668
|
width: "14",
|
|
4644
4669
|
height: "14",
|
|
@@ -4671,7 +4696,7 @@ function Br() {
|
|
|
4671
4696
|
]
|
|
4672
4697
|
});
|
|
4673
4698
|
}
|
|
4674
|
-
function
|
|
4699
|
+
function Wr() {
|
|
4675
4700
|
return /* @__PURE__ */ U("svg", {
|
|
4676
4701
|
width: "14",
|
|
4677
4702
|
height: "14",
|
|
@@ -4683,7 +4708,7 @@ function Vr() {
|
|
|
4683
4708
|
children: /* @__PURE__ */ U("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" })
|
|
4684
4709
|
});
|
|
4685
4710
|
}
|
|
4686
|
-
function
|
|
4711
|
+
function Gr() {
|
|
4687
4712
|
return /* @__PURE__ */ U("svg", {
|
|
4688
4713
|
width: "14",
|
|
4689
4714
|
height: "14",
|
|
@@ -4696,7 +4721,7 @@ function Hr() {
|
|
|
4696
4721
|
children: /* @__PURE__ */ U("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
4697
4722
|
});
|
|
4698
4723
|
}
|
|
4699
|
-
function
|
|
4724
|
+
function Kr() {
|
|
4700
4725
|
return /* @__PURE__ */ W("svg", {
|
|
4701
4726
|
width: "14",
|
|
4702
4727
|
height: "14",
|
|
@@ -4713,7 +4738,7 @@ function Ur() {
|
|
|
4713
4738
|
})]
|
|
4714
4739
|
});
|
|
4715
4740
|
}
|
|
4716
|
-
function
|
|
4741
|
+
function qr() {
|
|
4717
4742
|
return /* @__PURE__ */ U("svg", {
|
|
4718
4743
|
width: "14",
|
|
4719
4744
|
height: "14",
|
|
@@ -4725,7 +4750,7 @@ function Wr() {
|
|
|
4725
4750
|
children: /* @__PURE__ */ U("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
4726
4751
|
});
|
|
4727
4752
|
}
|
|
4728
|
-
function
|
|
4753
|
+
function Jr() {
|
|
4729
4754
|
return /* @__PURE__ */ U("svg", {
|
|
4730
4755
|
width: "14",
|
|
4731
4756
|
height: "14",
|
|
@@ -4738,7 +4763,7 @@ function Gr() {
|
|
|
4738
4763
|
children: /* @__PURE__ */ U("path", { d: "M3 7.5l3 3 5-6" })
|
|
4739
4764
|
});
|
|
4740
4765
|
}
|
|
4741
|
-
function
|
|
4766
|
+
function Yr() {
|
|
4742
4767
|
return /* @__PURE__ */ W("svg", {
|
|
4743
4768
|
width: "14",
|
|
4744
4769
|
height: "14",
|
|
@@ -4757,7 +4782,7 @@ function Kr() {
|
|
|
4757
4782
|
}), /* @__PURE__ */ U("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" })]
|
|
4758
4783
|
});
|
|
4759
4784
|
}
|
|
4760
|
-
function
|
|
4785
|
+
function Xr() {
|
|
4761
4786
|
return /* @__PURE__ */ U("svg", {
|
|
4762
4787
|
width: "14",
|
|
4763
4788
|
height: "14",
|
|
@@ -4770,7 +4795,7 @@ function qr() {
|
|
|
4770
4795
|
children: /* @__PURE__ */ U("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" })
|
|
4771
4796
|
});
|
|
4772
4797
|
}
|
|
4773
|
-
function
|
|
4798
|
+
function Zr() {
|
|
4774
4799
|
return /* @__PURE__ */ W("svg", {
|
|
4775
4800
|
width: "14",
|
|
4776
4801
|
height: "14",
|
|
@@ -4789,7 +4814,7 @@ function Jr() {
|
|
|
4789
4814
|
}), /* @__PURE__ */ U("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
4790
4815
|
});
|
|
4791
4816
|
}
|
|
4792
|
-
function
|
|
4817
|
+
function Qr() {
|
|
4793
4818
|
return /* @__PURE__ */ U("svg", {
|
|
4794
4819
|
width: "14",
|
|
4795
4820
|
height: "14",
|
|
@@ -4802,7 +4827,7 @@ function Yr() {
|
|
|
4802
4827
|
children: /* @__PURE__ */ U("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
4803
4828
|
});
|
|
4804
4829
|
}
|
|
4805
|
-
function
|
|
4830
|
+
function $r() {
|
|
4806
4831
|
return /* @__PURE__ */ W("svg", {
|
|
4807
4832
|
width: "14",
|
|
4808
4833
|
height: "14",
|
|
@@ -4820,7 +4845,7 @@ function Xr() {
|
|
|
4820
4845
|
})]
|
|
4821
4846
|
});
|
|
4822
4847
|
}
|
|
4823
|
-
function
|
|
4848
|
+
function ei() {
|
|
4824
4849
|
return /* @__PURE__ */ W("svg", {
|
|
4825
4850
|
width: "14",
|
|
4826
4851
|
height: "14",
|
|
@@ -4839,4 +4864,4 @@ function Zr() {
|
|
|
4839
4864
|
});
|
|
4840
4865
|
}
|
|
4841
4866
|
//#endregion
|
|
4842
|
-
export {
|
|
4867
|
+
export { Ft as Accordion, Pt as AccordionItem, ur as ActivityFeed, st as AppLoader, J as Avatar, Y as Badge, Xr as BellIcon, X as Button, Zr as CalendarIcon, or as CallCard, Nn as CallControlsBar, rr as Callbar, Ut as Card, Xt as CardContent, Yt as CardDescription, Zt as CardFooter, qt as CardHeader, Gt as CardHoverAction, Wt as CardHoverActions, Kt as CardLayer, Jt as CardTitle, Jr as CheckIcon, Mr as ChevronDown, Nr as ChevronUp, qr as CloseIcon, dr as CommandBar, Yr as CopyIcon, En as DEFAULT_ICON_BY_VALUE, Dn as DEFAULT_VIEW_MODE_OPTIONS, fr as DataTable, $t as Dialog, rn as DialogBody, nn as DialogDescription, an as DialogFooter, en as DialogHeader, tn as DialogTitle, sn as DropdownMenu, ln as DropdownMenuCheckboxItem, cn as DropdownMenuItem, un as DropdownMenuLabel, dn as DropdownMenuSeparator, jr as EditIcon, it as FCCAppShell, Oe as FCCAppShellContext, at as FCCBrandLogo, Ge as FCCBreadcrumbs, De as FCCDesignProvider, ut as FCCDetailsPanel, pt as FCCFullPagePanel, _t as FCCFullPagePanelBody, At as FCCFullPagePanelBottomControls, bt as FCCFullPagePanelFooter, mt as FCCFullPagePanelHeader, ht as FCCFullPagePanelHeaderRevealZone, vt as FCCFullPagePanelMain, kt as FCCFullPagePanelResizableSidebar, yt as FCCFullPagePanelSidebar, xt as FCCFullPagePanelSidebarFooter, St as FCCFullPagePanelSubHeader, gt as FCCFullPagePanelToolbar, qe as FCCHeaderStatus, lt as FCCLoader, Ye as FCCMainWindow, je as FCCSidePanel, Be as FCCSidePanelAction, Ne as FCCSidePanelBody, Re as FCCSidePanelCard, Ve as FCCSidePanelChatWrap, ze as FCCSidePanelContact, He as FCCSidePanelConversation, Ie as FCCSidePanelGroupLabel, Me as FCCSidePanelHeader, Le as FCCSidePanelItem, Ue as FCCSidePanelMessage, Fe as FCCSidePanelSearch, Pe as FCCSidePanelTabs, $e as FCCSidebar, ot as FCCThemeToggle, Je as FCCWorkspaceHeader, pr as FilterBar, Qr as FilterIcon, Cr as InboxIcon, Dr as InitiativesIcon, on as Input, wr as IssuesIcon, br as KPICard, mr as KanbanBoard, gr as KanbanCard, hr as KanbanColumn, ei as LabelIcon, Wr as LinkIcon, kr as MoreIcon, Sr as NotificationsPanel, Qn as PresenceAvatar, Xn as PresenceDot, Vr as PriorityHigh, Ur as PriorityLow, Hr as PriorityMedium, Br as PriorityUrgent, Or as ProjectsIcon, Er as PulseIcon, lr as QueueItem, Tr as ReviewsIcon, Ar as SearchIcon, fn as SearchableSelect, Kr as SettingsIcon, pn as Sheet, mn as SheetFooter, ct as Spinner, Pr as StarIcon, xr as StatCard, Rr as StatusBacklog, zr as StatusCancelled, Ir as StatusDone, Fr as StatusInProgress, _n as StatusMetric, Lr as StatusTodo, vn as Switch, _r as TableBoard, vr as TableBoardGroup, yr as TableBoardRow, bn as Tabs, Cn as TabsContent, xn as TabsList, Sn as TabsTrigger, wn as Textarea, Te as ThemeProvider, qn as TicketLinkChip, ye as ToastProvider, Tn as Tooltip, Gr as TrashIcon, $r as UserIcon, An as ViewModeToggle, Mn as WorkspaceTabs, ke as useFCCAppShell, Ee as useTheme, be as useToast };
|