@freedom-code-compliance/fcc-redesign 0.1.42 → 0.1.43
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 +250 -233
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1026,68 +1026,85 @@ function ft({ open: e, onClose: t, children: n, className: r = "", closeOnEscape
|
|
|
1026
1026
|
})
|
|
1027
1027
|
}), document.body);
|
|
1028
1028
|
}
|
|
1029
|
-
function pt({ title: e, subtitle: t, eyebrow: n, leading: r, actions: i, endActions: a, onClose: o,
|
|
1029
|
+
function pt({ 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
|
+
let f = a || o;
|
|
1030
1031
|
return /* @__PURE__ */ U("div", {
|
|
1031
|
-
className: `fcc-fpp-header ${
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
className: "fcc-fpp-
|
|
1043
|
-
children:
|
|
1044
|
-
}),
|
|
1045
|
-
e && /* @__PURE__ */ H("h2", {
|
|
1046
|
-
className: "fcc-fpp-title",
|
|
1047
|
-
children: e
|
|
1048
|
-
}),
|
|
1049
|
-
t && /* @__PURE__ */ H("p", {
|
|
1050
|
-
className: "fcc-fpp-subtitle",
|
|
1051
|
-
children: t
|
|
1052
|
-
}),
|
|
1053
|
-
i && /* @__PURE__ */ H("div", {
|
|
1054
|
-
className: "fcc-fpp-header-actions",
|
|
1055
|
-
children: i
|
|
1056
|
-
}),
|
|
1057
|
-
a && /* @__PURE__ */ H("div", {
|
|
1058
|
-
className: "fcc-fpp-header-end-actions",
|
|
1059
|
-
children: a
|
|
1060
|
-
}),
|
|
1061
|
-
o && /* @__PURE__ */ H("button", {
|
|
1062
|
-
type: "button",
|
|
1063
|
-
className: "btn btn-ghost btn-icon btn-sm fcc-fpp-header-close",
|
|
1064
|
-
onClick: o,
|
|
1065
|
-
"aria-label": "Close panel",
|
|
1066
|
-
children: /* @__PURE__ */ H(V, { size: 16 })
|
|
1032
|
+
className: `fcc-fpp-header ${d}`,
|
|
1033
|
+
"data-hidden": s ? "true" : "false",
|
|
1034
|
+
"data-revealed": c ? "true" : "false",
|
|
1035
|
+
"aria-hidden": s && !c,
|
|
1036
|
+
onMouseEnter: l,
|
|
1037
|
+
onMouseLeave: u,
|
|
1038
|
+
children: [/* @__PURE__ */ U("div", {
|
|
1039
|
+
className: "fcc-fpp-header-content",
|
|
1040
|
+
children: [n && /* @__PURE__ */ H("div", {
|
|
1041
|
+
className: "fcc-fpp-header-eyebrow-row",
|
|
1042
|
+
children: /* @__PURE__ */ H("span", {
|
|
1043
|
+
className: "fcc-fpp-eyebrow",
|
|
1044
|
+
children: n
|
|
1067
1045
|
})
|
|
1068
|
-
|
|
1046
|
+
}), /* @__PURE__ */ U("div", {
|
|
1047
|
+
className: "fcc-fpp-header-main-row",
|
|
1048
|
+
children: [
|
|
1049
|
+
r && /* @__PURE__ */ H("span", {
|
|
1050
|
+
className: "fcc-fpp-header-leading",
|
|
1051
|
+
children: r
|
|
1052
|
+
}),
|
|
1053
|
+
e && /* @__PURE__ */ H("h2", {
|
|
1054
|
+
className: "fcc-fpp-title",
|
|
1055
|
+
children: e
|
|
1056
|
+
}),
|
|
1057
|
+
t && /* @__PURE__ */ H("p", {
|
|
1058
|
+
className: "fcc-fpp-subtitle",
|
|
1059
|
+
children: t
|
|
1060
|
+
}),
|
|
1061
|
+
i && /* @__PURE__ */ H("div", {
|
|
1062
|
+
className: "fcc-fpp-header-actions",
|
|
1063
|
+
children: i
|
|
1064
|
+
})
|
|
1065
|
+
]
|
|
1066
|
+
})]
|
|
1067
|
+
}), f && /* @__PURE__ */ U("div", {
|
|
1068
|
+
className: "fcc-fpp-header-end-cluster",
|
|
1069
|
+
children: [a && /* @__PURE__ */ H("div", {
|
|
1070
|
+
className: "fcc-fpp-header-end-actions",
|
|
1071
|
+
children: a
|
|
1072
|
+
}), o && /* @__PURE__ */ H("button", {
|
|
1073
|
+
type: "button",
|
|
1074
|
+
className: "btn btn-ghost btn-icon btn-sm fcc-fpp-header-close",
|
|
1075
|
+
onClick: o,
|
|
1076
|
+
"aria-label": "Close panel",
|
|
1077
|
+
children: /* @__PURE__ */ H(V, { size: 16 })
|
|
1078
|
+
})]
|
|
1069
1079
|
})]
|
|
1070
1080
|
});
|
|
1071
1081
|
}
|
|
1072
|
-
function mt({
|
|
1082
|
+
function mt({ onReveal: e, className: t = "" }) {
|
|
1083
|
+
return /* @__PURE__ */ H("div", {
|
|
1084
|
+
className: `fcc-fpp-header-reveal-zone ${t}`,
|
|
1085
|
+
onMouseEnter: e,
|
|
1086
|
+
"aria-hidden": "true"
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
function ht({ children: e, className: t = "" }) {
|
|
1073
1090
|
return /* @__PURE__ */ H("div", {
|
|
1074
1091
|
className: `fcc-fpp-toolbar ${t}`,
|
|
1075
1092
|
children: e
|
|
1076
1093
|
});
|
|
1077
1094
|
}
|
|
1078
|
-
function
|
|
1095
|
+
function gt({ children: e, className: t = "" }) {
|
|
1079
1096
|
return /* @__PURE__ */ H("div", {
|
|
1080
1097
|
className: `fcc-fpp-body ${t}`,
|
|
1081
1098
|
children: e
|
|
1082
1099
|
});
|
|
1083
1100
|
}
|
|
1084
|
-
function
|
|
1101
|
+
function _t({ children: e, className: t = "" }) {
|
|
1085
1102
|
return /* @__PURE__ */ H("div", {
|
|
1086
1103
|
className: `fcc-fpp-main ${t}`,
|
|
1087
1104
|
children: e
|
|
1088
1105
|
});
|
|
1089
1106
|
}
|
|
1090
|
-
function
|
|
1107
|
+
function vt({ children: e, side: t = "right", footer: n, className: r = "" }) {
|
|
1091
1108
|
return /* @__PURE__ */ U("aside", {
|
|
1092
1109
|
className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} ${r}`,
|
|
1093
1110
|
children: [/* @__PURE__ */ H("div", {
|
|
@@ -1099,13 +1116,13 @@ function _t({ children: e, side: t = "right", footer: n, className: r = "" }) {
|
|
|
1099
1116
|
})]
|
|
1100
1117
|
});
|
|
1101
1118
|
}
|
|
1102
|
-
function
|
|
1119
|
+
function yt({ children: e, className: t = "" }) {
|
|
1103
1120
|
return /* @__PURE__ */ H("div", {
|
|
1104
1121
|
className: `fcc-fpp-footer ${t}`,
|
|
1105
1122
|
children: e
|
|
1106
1123
|
});
|
|
1107
1124
|
}
|
|
1108
|
-
function
|
|
1125
|
+
function bt({ label: e, value: t, children: n, className: r = "" }) {
|
|
1109
1126
|
return /* @__PURE__ */ U("div", {
|
|
1110
1127
|
className: r,
|
|
1111
1128
|
children: [(e || t) && /* @__PURE__ */ U("div", {
|
|
@@ -1123,7 +1140,7 @@ function yt({ label: e, value: t, children: n, className: r = "" }) {
|
|
|
1123
1140
|
})]
|
|
1124
1141
|
});
|
|
1125
1142
|
}
|
|
1126
|
-
function
|
|
1143
|
+
function xt({ leading: e, children: t, actions: n, hidden: r = !1, className: i = "" }) {
|
|
1127
1144
|
return /* @__PURE__ */ U("div", {
|
|
1128
1145
|
className: `fcc-fpp-subheader ${i}`,
|
|
1129
1146
|
"data-hidden": r ? "true" : "false",
|
|
@@ -1133,7 +1150,7 @@ function bt({ leading: e, children: t, actions: n, hidden: r = !1, className: i
|
|
|
1133
1150
|
className: "fcc-fpp-subheader-lead",
|
|
1134
1151
|
children: e
|
|
1135
1152
|
}),
|
|
1136
|
-
t !== void 0 && /* @__PURE__ */ H(
|
|
1153
|
+
t !== void 0 && /* @__PURE__ */ H(St, { children: t }),
|
|
1137
1154
|
n && /* @__PURE__ */ H("div", {
|
|
1138
1155
|
className: "fcc-fpp-subheader-actions",
|
|
1139
1156
|
children: n
|
|
@@ -1141,7 +1158,7 @@ function bt({ leading: e, children: t, actions: n, hidden: r = !1, className: i
|
|
|
1141
1158
|
]
|
|
1142
1159
|
});
|
|
1143
1160
|
}
|
|
1144
|
-
function
|
|
1161
|
+
function St({ children: e }) {
|
|
1145
1162
|
let t = u(null), [n, r] = d(!1), [a, s] = d(!1), l = i(() => {
|
|
1146
1163
|
let e = t.current;
|
|
1147
1164
|
if (!e) return;
|
|
@@ -1195,27 +1212,27 @@ function xt({ children: e }) {
|
|
|
1195
1212
|
]
|
|
1196
1213
|
});
|
|
1197
1214
|
}
|
|
1198
|
-
var
|
|
1199
|
-
function
|
|
1200
|
-
return typeof window > "u" ? e : Math.floor(window.innerWidth /
|
|
1215
|
+
var Ct = 200, wt = 720, Tt = 3, Et = 8;
|
|
1216
|
+
function Dt(e) {
|
|
1217
|
+
return typeof window > "u" ? e : Math.floor(window.innerWidth / Tt);
|
|
1201
1218
|
}
|
|
1202
|
-
function
|
|
1203
|
-
let [m, h] = d(() =>
|
|
1204
|
-
if (typeof window > "u" || !s) return Math.min(n,
|
|
1205
|
-
let e = window.localStorage.getItem(s), t = e ? Number(e) : NaN, i =
|
|
1219
|
+
function Ot({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r = Ct, maxWidth: a = wt, storageKey: s, className: c = "", onWidthChange: l, footer: f, hidden: p = !1 }) {
|
|
1220
|
+
let [m, h] = d(() => Dt(a)), [g, _] = d(!1), [v, y] = d(!1), [b, x] = d(() => {
|
|
1221
|
+
if (typeof window > "u" || !s) return Math.min(n, Dt(a));
|
|
1222
|
+
let e = window.localStorage.getItem(s), t = e ? Number(e) : NaN, i = Dt(a);
|
|
1206
1223
|
return Number.isFinite(t) && t >= r && t <= i ? t : Math.min(n, i);
|
|
1207
1224
|
}), S = u(!1), C = u(0), w = u(b);
|
|
1208
1225
|
o(() => {
|
|
1209
1226
|
if (typeof window > "u") return;
|
|
1210
1227
|
let e = () => {
|
|
1211
|
-
let e =
|
|
1228
|
+
let e = Dt(a);
|
|
1212
1229
|
h(e), x((t) => Math.min(t, e));
|
|
1213
1230
|
};
|
|
1214
1231
|
return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
1215
1232
|
}, [a]), o(() => {
|
|
1216
1233
|
!s || typeof window > "u" || window.localStorage.setItem(s, String(b));
|
|
1217
1234
|
}, [s, b]), o(() => {
|
|
1218
|
-
l?.(g ?
|
|
1235
|
+
l?.(g ? Et : b);
|
|
1219
1236
|
}, [
|
|
1220
1237
|
b,
|
|
1221
1238
|
g,
|
|
@@ -1248,7 +1265,7 @@ function Dt({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r
|
|
|
1248
1265
|
t,
|
|
1249
1266
|
r,
|
|
1250
1267
|
m
|
|
1251
|
-
]), k = p ? 0 : g ?
|
|
1268
|
+
]), k = p ? 0 : g ? Et : b;
|
|
1252
1269
|
return /* @__PURE__ */ U("aside", {
|
|
1253
1270
|
className: `fcc-fpp-sidebar fcc-fpp-sidebar-${t} fcc-fpp-sidebar-resizable ${g ? "fcc-fpp-sidebar-collapsed" : ""} ${p ? "fcc-fpp-sidebar-hidden" : ""} ${c}`,
|
|
1254
1271
|
style: {
|
|
@@ -1284,7 +1301,7 @@ function Dt({ children: e, side: t = "right", defaultWidth: n = 320, minWidth: r
|
|
|
1284
1301
|
})]
|
|
1285
1302
|
});
|
|
1286
1303
|
}
|
|
1287
|
-
function
|
|
1304
|
+
function kt({ children: e, collapsed: t = !1, onCollapsedChange: n, className: r = "", ariaLabel: i = "Document controls", showMinimize: a = !0 }) {
|
|
1288
1305
|
return /* @__PURE__ */ H("div", {
|
|
1289
1306
|
className: `fcc-fpp-bottom-anchor ${t ? "fcc-fpp-bottom-anchor--collapsed" : ""} ${r}`,
|
|
1290
1307
|
children: /* @__PURE__ */ U("div", {
|
|
@@ -1311,7 +1328,7 @@ function Ot({ children: e, collapsed: t = !1, onCollapsedChange: n, className: r
|
|
|
1311
1328
|
}
|
|
1312
1329
|
//#endregion
|
|
1313
1330
|
//#region src/components/ui/Accordion.jsx
|
|
1314
|
-
function
|
|
1331
|
+
function At({ title: e, header: t, defaultOpen: n = !1, className: r = "", contentClassName: i = "", children: a }) {
|
|
1315
1332
|
let [o, s] = d(n);
|
|
1316
1333
|
return /* @__PURE__ */ U("div", {
|
|
1317
1334
|
className: `accordion-item ${r}`,
|
|
@@ -1339,7 +1356,7 @@ function kt({ title: e, header: t, defaultOpen: n = !1, className: r = "", conte
|
|
|
1339
1356
|
})]
|
|
1340
1357
|
});
|
|
1341
1358
|
}
|
|
1342
|
-
function
|
|
1359
|
+
function jt({ items: e = [], className: t = "" }) {
|
|
1343
1360
|
let [n, r] = d(/* @__PURE__ */ new Set());
|
|
1344
1361
|
function i(e) {
|
|
1345
1362
|
r((t) => {
|
|
@@ -1381,12 +1398,12 @@ function At({ items: e = [], className: t = "" }) {
|
|
|
1381
1398
|
}
|
|
1382
1399
|
//#endregion
|
|
1383
1400
|
//#region src/components/ui/Avatar.jsx
|
|
1384
|
-
var
|
|
1401
|
+
var Mt = {
|
|
1385
1402
|
sm: "avatar-sm",
|
|
1386
1403
|
md: "",
|
|
1387
1404
|
lg: "avatar-lg",
|
|
1388
1405
|
xl: "avatar-xl"
|
|
1389
|
-
},
|
|
1406
|
+
}, Nt = [
|
|
1390
1407
|
"#5e6ad2",
|
|
1391
1408
|
"#5bb98e",
|
|
1392
1409
|
"#c9a84e",
|
|
@@ -1395,13 +1412,13 @@ var jt = {
|
|
|
1395
1412
|
"#5a8ebf",
|
|
1396
1413
|
"#c4a06a"
|
|
1397
1414
|
];
|
|
1398
|
-
function
|
|
1415
|
+
function Pt(e) {
|
|
1399
1416
|
let t = 0;
|
|
1400
1417
|
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
1401
|
-
return
|
|
1418
|
+
return Nt[Math.abs(t) % Nt.length];
|
|
1402
1419
|
}
|
|
1403
1420
|
function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "", style: a = {} }) {
|
|
1404
|
-
let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background ||
|
|
1421
|
+
let [o, s] = d(!1), c = t || (n ? n.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase() : "?"), l = a.background || Pt(c), u = Mt[r] || "";
|
|
1405
1422
|
return e && !o ? /* @__PURE__ */ H("img", {
|
|
1406
1423
|
src: e,
|
|
1407
1424
|
alt: n || "",
|
|
@@ -1422,7 +1439,7 @@ function q({ imageUrl: e, initials: t, name: n, size: r = "md", className: i = "
|
|
|
1422
1439
|
}
|
|
1423
1440
|
//#endregion
|
|
1424
1441
|
//#region src/components/ui/Badge.jsx
|
|
1425
|
-
var
|
|
1442
|
+
var Ft = {
|
|
1426
1443
|
default: "var(--text-quaternary)",
|
|
1427
1444
|
secondary: "var(--text-quaternary)",
|
|
1428
1445
|
success: "var(--accent-green)",
|
|
@@ -1434,7 +1451,7 @@ var Pt = {
|
|
|
1434
1451
|
orange: "var(--accent-orange)"
|
|
1435
1452
|
};
|
|
1436
1453
|
function J({ variant: e = "default", className: t = "", children: n, showDot: r = !0, ...i }) {
|
|
1437
|
-
let a =
|
|
1454
|
+
let a = Ft[e] || Ft.default;
|
|
1438
1455
|
return /* @__PURE__ */ U("span", {
|
|
1439
1456
|
className: `badge ${r ? "" : "badge--no-dot"} ${t}`.trim(),
|
|
1440
1457
|
...i,
|
|
@@ -1446,7 +1463,7 @@ function J({ variant: e = "default", className: t = "", children: n, showDot: r
|
|
|
1446
1463
|
}
|
|
1447
1464
|
//#endregion
|
|
1448
1465
|
//#region src/components/ui/Button.jsx
|
|
1449
|
-
var
|
|
1466
|
+
var It = {
|
|
1450
1467
|
default: "btn-primary",
|
|
1451
1468
|
destructive: "btn-danger",
|
|
1452
1469
|
success: "btn-success",
|
|
@@ -1456,7 +1473,7 @@ var Ft = {
|
|
|
1456
1473
|
muted: "btn-muted",
|
|
1457
1474
|
ghost: "btn-ghost",
|
|
1458
1475
|
link: "btn-link"
|
|
1459
|
-
},
|
|
1476
|
+
}, Lt = {
|
|
1460
1477
|
sm: "btn-sm",
|
|
1461
1478
|
default: "",
|
|
1462
1479
|
lg: "btn-lg",
|
|
@@ -1466,66 +1483,66 @@ var Ft = {
|
|
|
1466
1483
|
ref: a,
|
|
1467
1484
|
className: [
|
|
1468
1485
|
"btn",
|
|
1469
|
-
|
|
1470
|
-
|
|
1486
|
+
It[e],
|
|
1487
|
+
Lt[t],
|
|
1471
1488
|
n
|
|
1472
1489
|
].filter(Boolean).join(" "),
|
|
1473
1490
|
...i,
|
|
1474
1491
|
children: r
|
|
1475
1492
|
});
|
|
1476
|
-
}),
|
|
1493
|
+
}), Rt = {
|
|
1477
1494
|
default: "card-default",
|
|
1478
1495
|
green: "card-green",
|
|
1479
1496
|
red: "card-red",
|
|
1480
1497
|
yellow: "card-yellow"
|
|
1481
|
-
},
|
|
1498
|
+
}, zt = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
|
|
1482
1499
|
return /* @__PURE__ */ H("div", {
|
|
1483
1500
|
ref: i,
|
|
1484
1501
|
className: [
|
|
1485
1502
|
"card",
|
|
1486
|
-
|
|
1503
|
+
Rt[e],
|
|
1487
1504
|
t
|
|
1488
1505
|
].filter(Boolean).join(" "),
|
|
1489
1506
|
...r,
|
|
1490
1507
|
children: n
|
|
1491
1508
|
});
|
|
1492
|
-
}),
|
|
1509
|
+
}), Bt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1493
1510
|
return /* @__PURE__ */ H("div", {
|
|
1494
1511
|
ref: r,
|
|
1495
1512
|
className: `card-header ${e}`,
|
|
1496
1513
|
...n,
|
|
1497
1514
|
children: t
|
|
1498
1515
|
});
|
|
1499
|
-
}),
|
|
1516
|
+
}), Vt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1500
1517
|
return /* @__PURE__ */ H("h3", {
|
|
1501
1518
|
ref: r,
|
|
1502
1519
|
className: `card-title ${e}`,
|
|
1503
1520
|
...n,
|
|
1504
1521
|
children: t
|
|
1505
1522
|
});
|
|
1506
|
-
}),
|
|
1523
|
+
}), Ht = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1507
1524
|
return /* @__PURE__ */ H("p", {
|
|
1508
1525
|
ref: r,
|
|
1509
1526
|
className: `card-description ${e}`,
|
|
1510
1527
|
...n,
|
|
1511
1528
|
children: t
|
|
1512
1529
|
});
|
|
1513
|
-
}),
|
|
1530
|
+
}), Ut = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1514
1531
|
return /* @__PURE__ */ H("div", {
|
|
1515
1532
|
ref: r,
|
|
1516
1533
|
className: `card-body ${e}`,
|
|
1517
1534
|
...n,
|
|
1518
1535
|
children: t
|
|
1519
1536
|
});
|
|
1520
|
-
}),
|
|
1537
|
+
}), Wt = n(function({ className: e = "", children: t, ...n }, r) {
|
|
1521
1538
|
return /* @__PURE__ */ H("div", {
|
|
1522
1539
|
ref: r,
|
|
1523
1540
|
className: `card-footer ${e}`,
|
|
1524
1541
|
...n,
|
|
1525
1542
|
children: t
|
|
1526
1543
|
});
|
|
1527
|
-
}),
|
|
1528
|
-
function
|
|
1544
|
+
}), Gt = 220;
|
|
1545
|
+
function Kt({ open: e, onClose: t, children: n, className: r = "", overlayClassName: i = "", contained: a = !1 }) {
|
|
1529
1546
|
let s = u(null), [c, l] = d(e ? "open" : "closed"), f = e || c !== "closed";
|
|
1530
1547
|
return o(() => {
|
|
1531
1548
|
if (!a) return f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
@@ -1542,7 +1559,7 @@ function Gt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
|
|
|
1542
1559
|
return () => cancelAnimationFrame(e);
|
|
1543
1560
|
}
|
|
1544
1561
|
if (c === "closed") return;
|
|
1545
|
-
let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"),
|
|
1562
|
+
let t = requestAnimationFrame(() => l("closing")), n = window.setTimeout(() => l("closed"), Gt);
|
|
1546
1563
|
return () => {
|
|
1547
1564
|
cancelAnimationFrame(t), window.clearTimeout(n);
|
|
1548
1565
|
};
|
|
@@ -1559,7 +1576,7 @@ function Gt({ open: e, onClose: t, children: n, className: r = "", overlayClassN
|
|
|
1559
1576
|
})
|
|
1560
1577
|
}) : null;
|
|
1561
1578
|
}
|
|
1562
|
-
function
|
|
1579
|
+
function qt({ children: e, onClose: t, className: n = "" }) {
|
|
1563
1580
|
return /* @__PURE__ */ U("div", {
|
|
1564
1581
|
className: `dialog-header ${n}`,
|
|
1565
1582
|
children: [/* @__PURE__ */ H("div", {
|
|
@@ -1572,25 +1589,25 @@ function Kt({ children: e, onClose: t, className: n = "" }) {
|
|
|
1572
1589
|
})]
|
|
1573
1590
|
});
|
|
1574
1591
|
}
|
|
1575
|
-
function
|
|
1592
|
+
function Jt({ children: e, className: t = "" }) {
|
|
1576
1593
|
return /* @__PURE__ */ H("h3", {
|
|
1577
1594
|
className: `dialog-title ${t}`,
|
|
1578
1595
|
children: e
|
|
1579
1596
|
});
|
|
1580
1597
|
}
|
|
1581
|
-
function
|
|
1598
|
+
function Yt({ children: e, className: t = "" }) {
|
|
1582
1599
|
return /* @__PURE__ */ H("p", {
|
|
1583
1600
|
className: `dialog-description ${t}`,
|
|
1584
1601
|
children: e
|
|
1585
1602
|
});
|
|
1586
1603
|
}
|
|
1587
|
-
function
|
|
1604
|
+
function Xt({ children: e, className: t = "" }) {
|
|
1588
1605
|
return /* @__PURE__ */ H("div", {
|
|
1589
1606
|
className: `dialog-body ${t}`,
|
|
1590
1607
|
children: e
|
|
1591
1608
|
});
|
|
1592
1609
|
}
|
|
1593
|
-
function
|
|
1610
|
+
function Zt({ children: e, className: t = "" }) {
|
|
1594
1611
|
return /* @__PURE__ */ H("div", {
|
|
1595
1612
|
className: `dialog-footer ${t}`,
|
|
1596
1613
|
children: e
|
|
@@ -1598,7 +1615,7 @@ function Xt({ children: e, className: t = "" }) {
|
|
|
1598
1615
|
}
|
|
1599
1616
|
//#endregion
|
|
1600
1617
|
//#region src/components/ui/Input.jsx
|
|
1601
|
-
var
|
|
1618
|
+
var Qt = 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) {
|
|
1602
1619
|
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;
|
|
1603
1620
|
function I(e) {
|
|
1604
1621
|
C.current = e, typeof S == "function" ? S(e) : S && (S.current = e);
|
|
@@ -1692,7 +1709,7 @@ var Zt = n(function({ id: e, label: t, labelMode: n = "stacked", description: r,
|
|
|
1692
1709
|
});
|
|
1693
1710
|
//#endregion
|
|
1694
1711
|
//#region src/components/ui/DropdownMenu.jsx
|
|
1695
|
-
function
|
|
1712
|
+
function $t({ trigger: e, children: t, align: n = "left", className: r = "", sideOffset: i = 6, onOpenChange: a }) {
|
|
1696
1713
|
let [s, l] = d(!1), [f, p] = d(null), m = u(null), h = u(null);
|
|
1697
1714
|
return o(() => {
|
|
1698
1715
|
a?.(s);
|
|
@@ -1745,7 +1762,7 @@ function Qt({ trigger: e, children: t, align: n = "left", className: r = "", sid
|
|
|
1745
1762
|
}), document.body)]
|
|
1746
1763
|
});
|
|
1747
1764
|
}
|
|
1748
|
-
function
|
|
1765
|
+
function en({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
1749
1766
|
return /* @__PURE__ */ U("div", {
|
|
1750
1767
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
1751
1768
|
onClick: i,
|
|
@@ -1769,7 +1786,7 @@ function $t({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
|
|
|
1769
1786
|
]
|
|
1770
1787
|
});
|
|
1771
1788
|
}
|
|
1772
|
-
function
|
|
1789
|
+
function tn({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
1773
1790
|
return /* @__PURE__ */ U("div", {
|
|
1774
1791
|
className: `dropdown-item ${e ? "active" : ""} ${r}`,
|
|
1775
1792
|
onClick: () => t?.(!e),
|
|
@@ -1782,18 +1799,18 @@ function en({ checked: e, onCheckedChange: t, children: n, className: r = "" })
|
|
|
1782
1799
|
})]
|
|
1783
1800
|
});
|
|
1784
1801
|
}
|
|
1785
|
-
function
|
|
1802
|
+
function nn({ children: e, className: t = "" }) {
|
|
1786
1803
|
return /* @__PURE__ */ H("div", {
|
|
1787
1804
|
className: `dropdown-label ${t}`,
|
|
1788
1805
|
children: e
|
|
1789
1806
|
});
|
|
1790
1807
|
}
|
|
1791
|
-
function
|
|
1808
|
+
function rn({ className: e = "" }) {
|
|
1792
1809
|
return /* @__PURE__ */ H("div", { className: `dropdown-divider ${e}` });
|
|
1793
1810
|
}
|
|
1794
1811
|
//#endregion
|
|
1795
1812
|
//#region src/components/ui/SearchableSelect.jsx
|
|
1796
|
-
function
|
|
1813
|
+
function an({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: l = "" }) {
|
|
1797
1814
|
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);
|
|
1798
1815
|
o(() => {
|
|
1799
1816
|
f && w.current && w.current.focus();
|
|
@@ -1918,7 +1935,7 @@ function rn({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
1918
1935
|
}
|
|
1919
1936
|
//#endregion
|
|
1920
1937
|
//#region src/components/ui/Sheet.jsx
|
|
1921
|
-
function
|
|
1938
|
+
function on({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
1922
1939
|
let s = u(null);
|
|
1923
1940
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
1924
1941
|
document.body.style.overflow = "";
|
|
@@ -1952,7 +1969,7 @@ function an({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
1952
1969
|
})
|
|
1953
1970
|
}) : null;
|
|
1954
1971
|
}
|
|
1955
|
-
function
|
|
1972
|
+
function sn({ children: e, className: t = "" }) {
|
|
1956
1973
|
return /* @__PURE__ */ H("div", {
|
|
1957
1974
|
className: `sheet-footer ${t}`,
|
|
1958
1975
|
children: e
|
|
@@ -1960,17 +1977,17 @@ function on({ children: e, className: t = "" }) {
|
|
|
1960
1977
|
}
|
|
1961
1978
|
//#endregion
|
|
1962
1979
|
//#region src/components/ui/StatusMetric.jsx
|
|
1963
|
-
function
|
|
1980
|
+
function cn(...e) {
|
|
1964
1981
|
return e.filter(Boolean).join(" ");
|
|
1965
1982
|
}
|
|
1966
|
-
var
|
|
1983
|
+
var ln = {
|
|
1967
1984
|
default: "",
|
|
1968
1985
|
warning: "status-metric--warning"
|
|
1969
1986
|
};
|
|
1970
|
-
function
|
|
1987
|
+
function un({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconSize: i = 12, className: a = "" }) {
|
|
1971
1988
|
let o = r || (t === "warning" ? p : w);
|
|
1972
1989
|
return /* @__PURE__ */ U("span", {
|
|
1973
|
-
className:
|
|
1990
|
+
className: cn("status-metric", ln[t], a),
|
|
1974
1991
|
children: [n && o && /* @__PURE__ */ H("span", {
|
|
1975
1992
|
className: "status-metric-icon",
|
|
1976
1993
|
children: /* @__PURE__ */ H(o, { size: i })
|
|
@@ -1982,7 +1999,7 @@ function ln({ children: e, tone: t = "default", showIcon: n = !0, icon: r, iconS
|
|
|
1982
1999
|
}
|
|
1983
2000
|
//#endregion
|
|
1984
2001
|
//#region src/components/ui/Switch.jsx
|
|
1985
|
-
function
|
|
2002
|
+
function dn({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
1986
2003
|
return /* @__PURE__ */ U("div", {
|
|
1987
2004
|
className: "toggle-row",
|
|
1988
2005
|
children: [i && /* @__PURE__ */ H("span", {
|
|
@@ -2000,13 +2017,13 @@ function un({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "
|
|
|
2000
2017
|
}
|
|
2001
2018
|
//#endregion
|
|
2002
2019
|
//#region src/components/ui/Tabs.jsx
|
|
2003
|
-
var
|
|
2020
|
+
var fn = e({
|
|
2004
2021
|
value: "",
|
|
2005
2022
|
onChange: () => {},
|
|
2006
2023
|
registerTrigger: () => {},
|
|
2007
2024
|
getTriggerNode: () => null
|
|
2008
2025
|
});
|
|
2009
|
-
function
|
|
2026
|
+
function pn({ defaultValue: e, value: t, onValueChange: n, children: r, className: a = "" }) {
|
|
2010
2027
|
let [o, s] = d(e || ""), c = u(/* @__PURE__ */ new Map()), l = t === void 0 ? o : t, f = n || s, p = i((e, t) => {
|
|
2011
2028
|
if (t) {
|
|
2012
2029
|
c.current.set(e, t);
|
|
@@ -2014,7 +2031,7 @@ function fn({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
2014
2031
|
}
|
|
2015
2032
|
c.current.delete(e);
|
|
2016
2033
|
}, []), m = i((e) => c.current.get(e) || null, []);
|
|
2017
|
-
return /* @__PURE__ */ H(
|
|
2034
|
+
return /* @__PURE__ */ H(fn.Provider, {
|
|
2018
2035
|
value: {
|
|
2019
2036
|
value: l,
|
|
2020
2037
|
onChange: f,
|
|
@@ -2027,8 +2044,8 @@ function fn({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
2027
2044
|
})
|
|
2028
2045
|
});
|
|
2029
2046
|
}
|
|
2030
|
-
function
|
|
2031
|
-
let { value: n, getTriggerNode: r } = a(
|
|
2047
|
+
function mn({ children: e, className: t = "" }) {
|
|
2048
|
+
let { value: n, getTriggerNode: r } = a(fn), i = u(null);
|
|
2032
2049
|
return c(() => {
|
|
2033
2050
|
let e = i.current, t = r(n);
|
|
2034
2051
|
if (!e) return;
|
|
@@ -2054,8 +2071,8 @@ function pn({ children: e, className: t = "" }) {
|
|
|
2054
2071
|
}), e]
|
|
2055
2072
|
});
|
|
2056
2073
|
}
|
|
2057
|
-
function
|
|
2058
|
-
let { value: r, onChange: i, registerTrigger: o } = a(
|
|
2074
|
+
function hn({ value: e, children: t, className: n = "" }) {
|
|
2075
|
+
let { value: r, onChange: i, registerTrigger: o } = a(fn), s = r === e;
|
|
2059
2076
|
return /* @__PURE__ */ H("button", {
|
|
2060
2077
|
ref: (t) => o(e, t),
|
|
2061
2078
|
className: `tab ${s ? "active" : ""} ${n}`,
|
|
@@ -2066,8 +2083,8 @@ function mn({ value: e, children: t, className: n = "" }) {
|
|
|
2066
2083
|
children: t
|
|
2067
2084
|
});
|
|
2068
2085
|
}
|
|
2069
|
-
function
|
|
2070
|
-
let { value: r } = a(
|
|
2086
|
+
function gn({ value: e, children: t, className: n = "" }) {
|
|
2087
|
+
let { value: r } = a(fn);
|
|
2071
2088
|
return r === e ? /* @__PURE__ */ H("div", {
|
|
2072
2089
|
className: n,
|
|
2073
2090
|
role: "tabpanel",
|
|
@@ -2076,7 +2093,7 @@ function hn({ value: e, children: t, className: n = "" }) {
|
|
|
2076
2093
|
}
|
|
2077
2094
|
//#endregion
|
|
2078
2095
|
//#region src/components/ui/Textarea.jsx
|
|
2079
|
-
var
|
|
2096
|
+
var _n = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...r }, i) {
|
|
2080
2097
|
return t || n ? /* @__PURE__ */ U("div", {
|
|
2081
2098
|
className: ["textarea-wrapper", e].filter(Boolean).join(" "),
|
|
2082
2099
|
children: [
|
|
@@ -2102,7 +2119,7 @@ var gn = n(function({ className: e = "", startAdornment: t, endAdornment: n, ...
|
|
|
2102
2119
|
});
|
|
2103
2120
|
//#endregion
|
|
2104
2121
|
//#region src/components/ui/Tooltip.jsx
|
|
2105
|
-
function
|
|
2122
|
+
function vn({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
2106
2123
|
let [i, a] = d(!1), [s, l] = d(null), f = u(null), p = u(null), m = u(null);
|
|
2107
2124
|
function h() {
|
|
2108
2125
|
m.current = setTimeout(() => a(!0), 300);
|
|
@@ -2153,7 +2170,7 @@ function _n({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
2153
2170
|
}
|
|
2154
2171
|
//#endregion
|
|
2155
2172
|
//#region src/components/ui/viewModeDefaults.js
|
|
2156
|
-
var
|
|
2173
|
+
var yn = {
|
|
2157
2174
|
kanban: T,
|
|
2158
2175
|
board: T,
|
|
2159
2176
|
columns: T,
|
|
@@ -2163,7 +2180,7 @@ var vn = {
|
|
|
2163
2180
|
grid: A,
|
|
2164
2181
|
calendar: h,
|
|
2165
2182
|
map: P
|
|
2166
|
-
},
|
|
2183
|
+
}, bn = [{
|
|
2167
2184
|
value: "kanban",
|
|
2168
2185
|
label: "Kanban",
|
|
2169
2186
|
title: "Board View"
|
|
@@ -2174,13 +2191,13 @@ var vn = {
|
|
|
2174
2191
|
}];
|
|
2175
2192
|
//#endregion
|
|
2176
2193
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
2177
|
-
function
|
|
2178
|
-
return e.icon ? e.icon :
|
|
2194
|
+
function xn(e) {
|
|
2195
|
+
return e.icon ? e.icon : yn[e.value] ?? null;
|
|
2179
2196
|
}
|
|
2180
|
-
function
|
|
2197
|
+
function Sn(e, n) {
|
|
2181
2198
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
2182
2199
|
}
|
|
2183
|
-
function
|
|
2200
|
+
function Cn({ options: e = bn, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: s = 16, showLabels: l = !1, className: f = "", optionClassName: p = "" }) {
|
|
2184
2201
|
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(() => {
|
|
2185
2202
|
let e = h.current, t = g.current.get(y);
|
|
2186
2203
|
if (e) {
|
|
@@ -2242,7 +2259,7 @@ function Sn({ options: e = yn, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
2242
2259
|
"aria-hidden": "true",
|
|
2243
2260
|
className: "view-mode-toggle-indicator"
|
|
2244
2261
|
}), e.map((e) => {
|
|
2245
|
-
let t = e.value === y, n = xn(
|
|
2262
|
+
let t = e.value === y, n = Sn(xn(e), s);
|
|
2246
2263
|
return /* @__PURE__ */ U("button", {
|
|
2247
2264
|
type: "button",
|
|
2248
2265
|
"aria-pressed": t,
|
|
@@ -2272,10 +2289,10 @@ function Sn({ options: e = yn, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
2272
2289
|
}
|
|
2273
2290
|
//#endregion
|
|
2274
2291
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
2275
|
-
function
|
|
2292
|
+
function wn(e, n) {
|
|
2276
2293
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
2277
2294
|
}
|
|
2278
|
-
function
|
|
2295
|
+
function Tn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: s = 14, variant: l = "plain", className: f = "", itemClassName: p = "" }) {
|
|
2279
2296
|
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(() => {
|
|
2280
2297
|
let e = h.current, t = g.current.get(y);
|
|
2281
2298
|
if (e) {
|
|
@@ -2337,7 +2354,7 @@ function wn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2337
2354
|
"aria-hidden": "true",
|
|
2338
2355
|
className: "workspace-tabs-indicator"
|
|
2339
2356
|
}), e.map((e) => {
|
|
2340
|
-
let t = e.id === y, n =
|
|
2357
|
+
let t = e.id === y, n = wn(e.icon, s);
|
|
2341
2358
|
return /* @__PURE__ */ U("button", {
|
|
2342
2359
|
type: "button",
|
|
2343
2360
|
role: "tab",
|
|
@@ -2375,7 +2392,7 @@ function wn({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
2375
2392
|
//#endregion
|
|
2376
2393
|
//#region src/components/ui/CallControlsBar.jsx
|
|
2377
2394
|
function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, title: o }) {
|
|
2378
|
-
return /* @__PURE__ */ H(
|
|
2395
|
+
return /* @__PURE__ */ H(vn, {
|
|
2379
2396
|
content: o,
|
|
2380
2397
|
children: /* @__PURE__ */ U("button", {
|
|
2381
2398
|
type: "button",
|
|
@@ -2399,7 +2416,7 @@ function X({ icon: e, label: t, onClick: n, active: r, danger: i, compact: a, ti
|
|
|
2399
2416
|
})
|
|
2400
2417
|
});
|
|
2401
2418
|
}
|
|
2402
|
-
function
|
|
2419
|
+
function En({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onInvite: a, onKeypad: o, onEnd: s, compact: c = !1, hideEnd: l = !1, className: u = "" }) {
|
|
2403
2420
|
return /* @__PURE__ */ U("div", {
|
|
2404
2421
|
className: `call-controls-bar ${u}`,
|
|
2405
2422
|
style: {
|
|
@@ -2459,15 +2476,15 @@ function Tn({ isMuted: e, isOnHold: t, onMute: n, onHold: r, onTransfer: i, onIn
|
|
|
2459
2476
|
}
|
|
2460
2477
|
//#endregion
|
|
2461
2478
|
//#region src/components/phone/phoneUtils.js
|
|
2462
|
-
function
|
|
2479
|
+
function Dn(e) {
|
|
2463
2480
|
return e == null || Number.isNaN(e) ? "0:00" : `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`;
|
|
2464
2481
|
}
|
|
2465
|
-
function
|
|
2482
|
+
function On(e) {
|
|
2466
2483
|
if (!e) return "";
|
|
2467
2484
|
let t = new Date(e).getTime() - Date.now();
|
|
2468
|
-
return t <= 0 ? "now" :
|
|
2485
|
+
return t <= 0 ? "now" : Dn(Math.ceil(t / 1e3));
|
|
2469
2486
|
}
|
|
2470
|
-
function
|
|
2487
|
+
function kn(e) {
|
|
2471
2488
|
if (!e) return "";
|
|
2472
2489
|
let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 1e3);
|
|
2473
2490
|
if (n < 60) return "just now";
|
|
@@ -2478,12 +2495,12 @@ function On(e) {
|
|
|
2478
2495
|
let a = Math.floor(i / 24);
|
|
2479
2496
|
return a === 1 ? "Yesterday" : a < 7 ? `${a}d ago` : new Date(e).toLocaleDateString();
|
|
2480
2497
|
}
|
|
2481
|
-
function
|
|
2498
|
+
function An(e) {
|
|
2482
2499
|
if (!e) return "none";
|
|
2483
2500
|
let t = new Date(e).getTime() - Date.now();
|
|
2484
2501
|
return t <= 0 ? "overdue" : t < 30 * 1e3 ? "urgent" : t < 120 * 1e3 ? "warning" : "normal";
|
|
2485
2502
|
}
|
|
2486
|
-
var
|
|
2503
|
+
var jn = {
|
|
2487
2504
|
intake: "Intake",
|
|
2488
2505
|
plan_review: "Plan Review",
|
|
2489
2506
|
inspections: "Inspections",
|
|
@@ -2493,31 +2510,31 @@ var An = {
|
|
|
2493
2510
|
sales: "Sales",
|
|
2494
2511
|
escalations: "Escalations"
|
|
2495
2512
|
};
|
|
2496
|
-
function
|
|
2497
|
-
return e ?
|
|
2513
|
+
function Mn(e) {
|
|
2514
|
+
return e ? jn[e] ? jn[e] : e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ") : "";
|
|
2498
2515
|
}
|
|
2499
|
-
var
|
|
2516
|
+
var Nn = {
|
|
2500
2517
|
client: "Client",
|
|
2501
2518
|
building_department: "Building Dept",
|
|
2502
2519
|
staff: "Staff",
|
|
2503
2520
|
unknown: "Unknown"
|
|
2504
2521
|
};
|
|
2505
|
-
function
|
|
2506
|
-
return
|
|
2522
|
+
function Pn(e) {
|
|
2523
|
+
return Nn[e] || "Unknown";
|
|
2507
2524
|
}
|
|
2508
|
-
var
|
|
2525
|
+
var Fn = {
|
|
2509
2526
|
open: "Open",
|
|
2510
2527
|
in_progress: "In progress",
|
|
2511
2528
|
resolved: "Resolved",
|
|
2512
2529
|
closed: "Closed",
|
|
2513
2530
|
awaiting_reply: "Awaiting reply"
|
|
2514
2531
|
};
|
|
2515
|
-
function
|
|
2516
|
-
return
|
|
2532
|
+
function In(e) {
|
|
2533
|
+
return Fn[e] || (e ? e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "");
|
|
2517
2534
|
}
|
|
2518
2535
|
//#endregion
|
|
2519
2536
|
//#region src/components/ui/TicketLinkChip.jsx
|
|
2520
|
-
var
|
|
2537
|
+
var Ln = {
|
|
2521
2538
|
intake: "var(--accent-blue)",
|
|
2522
2539
|
plan_review: "var(--accent-purple)",
|
|
2523
2540
|
inspections: "var(--accent-green)",
|
|
@@ -2527,7 +2544,7 @@ var In = {
|
|
|
2527
2544
|
sales: "var(--accent-orange)",
|
|
2528
2545
|
escalations: "var(--accent-red)"
|
|
2529
2546
|
};
|
|
2530
|
-
function
|
|
2547
|
+
function Rn(e) {
|
|
2531
2548
|
switch (e) {
|
|
2532
2549
|
case "resolved":
|
|
2533
2550
|
case "closed": return "success";
|
|
@@ -2536,12 +2553,12 @@ function Ln(e) {
|
|
|
2536
2553
|
default: return "secondary";
|
|
2537
2554
|
}
|
|
2538
2555
|
}
|
|
2539
|
-
function
|
|
2556
|
+
function zn(e, t) {
|
|
2540
2557
|
return e ? e.length > t ? `${e.slice(0, t - 1)}…` : e : "";
|
|
2541
2558
|
}
|
|
2542
2559
|
function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" }) {
|
|
2543
2560
|
if (!e) return null;
|
|
2544
|
-
let i =
|
|
2561
|
+
let i = Ln[e.department] ?? Ln.tech_support, a = t ? "button" : "span", o = n === "compact" ? `#${e.number}` : `#${e.number} · ${zn(e.title, 28)}`;
|
|
2545
2562
|
return n === "detailed" ? /* @__PURE__ */ U(a, {
|
|
2546
2563
|
type: t ? "button" : void 0,
|
|
2547
2564
|
onClick: t,
|
|
@@ -2585,7 +2602,7 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2585
2602
|
}),
|
|
2586
2603
|
/* @__PURE__ */ U("span", {
|
|
2587
2604
|
style: { color: "var(--text-secondary)" },
|
|
2588
|
-
children: ["· ",
|
|
2605
|
+
children: ["· ", zn(e.title, 40)]
|
|
2589
2606
|
})
|
|
2590
2607
|
]
|
|
2591
2608
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -2598,10 +2615,10 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2598
2615
|
variant: "secondary",
|
|
2599
2616
|
showDot: !1,
|
|
2600
2617
|
className: "badge--no-dot",
|
|
2601
|
-
children:
|
|
2618
|
+
children: Mn(e.department)
|
|
2602
2619
|
}), e.status && /* @__PURE__ */ H(J, {
|
|
2603
|
-
variant:
|
|
2604
|
-
children:
|
|
2620
|
+
variant: Rn(e.status),
|
|
2621
|
+
children: In(e.status)
|
|
2605
2622
|
})]
|
|
2606
2623
|
})]
|
|
2607
2624
|
}) : /* @__PURE__ */ U(a, {
|
|
@@ -2640,19 +2657,19 @@ function Z({ ticket: e, onClick: t, variant: n = "default", className: r = "" })
|
|
|
2640
2657
|
}
|
|
2641
2658
|
//#endregion
|
|
2642
2659
|
//#region src/components/ui/PresenceDot.jsx
|
|
2643
|
-
var
|
|
2660
|
+
var Bn = {
|
|
2644
2661
|
available: "var(--accent-green, #22c55e)",
|
|
2645
2662
|
busy: "var(--accent-yellow, #f59e0b)",
|
|
2646
2663
|
in_call: "var(--accent-yellow, #f59e0b)",
|
|
2647
2664
|
dnd: "var(--accent-red, #ef4444)",
|
|
2648
2665
|
offline: "var(--text-tertiary, #71717a)"
|
|
2649
|
-
},
|
|
2666
|
+
}, Vn = {
|
|
2650
2667
|
xs: 6,
|
|
2651
2668
|
sm: 8,
|
|
2652
2669
|
md: 10
|
|
2653
2670
|
};
|
|
2654
|
-
function
|
|
2655
|
-
let r =
|
|
2671
|
+
function Hn({ status: e = "offline", size: t = "sm", className: n = "" }) {
|
|
2672
|
+
let r = Vn[t] ?? 8, i = Bn[e] ?? Bn.offline;
|
|
2656
2673
|
return /* @__PURE__ */ H("span", {
|
|
2657
2674
|
className: `presence-dot ${e === "in_call" ? "presence-dot-pulse" : ""} ${n}`,
|
|
2658
2675
|
style: {
|
|
@@ -2669,13 +2686,13 @@ function Vn({ status: e = "offline", size: t = "sm", className: n = "" }) {
|
|
|
2669
2686
|
}
|
|
2670
2687
|
//#endregion
|
|
2671
2688
|
//#region src/components/ui/PresenceAvatar.jsx
|
|
2672
|
-
var
|
|
2689
|
+
var Un = {
|
|
2673
2690
|
sm: "sm",
|
|
2674
2691
|
md: "md",
|
|
2675
2692
|
lg: "lg"
|
|
2676
2693
|
};
|
|
2677
|
-
function
|
|
2678
|
-
let c =
|
|
2694
|
+
function Wn({ name: e, initials: t, avatarUrl: n, status: r = "offline", activity: i = null, size: a = "md", showActivity: o = !0, className: s = "" }) {
|
|
2695
|
+
let c = Un[a] || "md", l = a === "sm" ? "xs" : a === "md" ? "sm" : "md";
|
|
2679
2696
|
return /* @__PURE__ */ U("div", {
|
|
2680
2697
|
className: `presence-avatar ${s}`,
|
|
2681
2698
|
style: {
|
|
@@ -2699,7 +2716,7 @@ function Un({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
|
|
|
2699
2716
|
left: -1,
|
|
2700
2717
|
top: -1
|
|
2701
2718
|
},
|
|
2702
|
-
children: /* @__PURE__ */ H(
|
|
2719
|
+
children: /* @__PURE__ */ H(Hn, {
|
|
2703
2720
|
status: r,
|
|
2704
2721
|
size: l
|
|
2705
2722
|
})
|
|
@@ -2716,27 +2733,27 @@ function Un({ name: e, initials: t, avatarUrl: n, status: r = "offline", activit
|
|
|
2716
2733
|
}
|
|
2717
2734
|
//#endregion
|
|
2718
2735
|
//#region src/components/ui/Callbar.jsx
|
|
2719
|
-
var
|
|
2736
|
+
var Gn = {
|
|
2720
2737
|
connecting: "Connecting…",
|
|
2721
2738
|
ringing: "Ringing…",
|
|
2722
2739
|
connected: "Connected",
|
|
2723
2740
|
on_hold: "On hold",
|
|
2724
2741
|
ending: "Ending…"
|
|
2725
|
-
},
|
|
2742
|
+
}, Kn = {
|
|
2726
2743
|
connecting: "info",
|
|
2727
2744
|
ringing: "info",
|
|
2728
2745
|
connected: "success",
|
|
2729
2746
|
on_hold: "warning",
|
|
2730
2747
|
ending: "error"
|
|
2731
2748
|
};
|
|
2732
|
-
function
|
|
2749
|
+
function qn(e) {
|
|
2733
2750
|
return e === "connected" ? "var(--accent-green)" : e === "on_hold" ? "var(--accent-yellow)" : e === "ending" ? "var(--accent-red)" : "var(--accent-blue)";
|
|
2734
2751
|
}
|
|
2735
|
-
function
|
|
2752
|
+
function Jn(e) {
|
|
2736
2753
|
return e === "connecting" || e === "ringing";
|
|
2737
2754
|
}
|
|
2738
|
-
function
|
|
2739
|
-
let [b, x] = d(!1), C = _ || b, w =
|
|
2755
|
+
function Yn({ 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 = "" }) {
|
|
2756
|
+
let [b, x] = d(!1), C = _ || b, w = Gn[e] || e, T = Jn(e), E = qn(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 = () => {
|
|
2740
2757
|
x((e) => !e), g?.();
|
|
2741
2758
|
};
|
|
2742
2759
|
return C ? /* @__PURE__ */ U("div", {
|
|
@@ -2788,7 +2805,7 @@ function Jn({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
2788
2805
|
gap: 6
|
|
2789
2806
|
},
|
|
2790
2807
|
children: [
|
|
2791
|
-
/* @__PURE__ */ H(
|
|
2808
|
+
/* @__PURE__ */ H(En, {
|
|
2792
2809
|
isMuted: i,
|
|
2793
2810
|
isOnHold: a,
|
|
2794
2811
|
onMute: c,
|
|
@@ -2858,7 +2875,7 @@ function Jn({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
2858
2875
|
gap: 8
|
|
2859
2876
|
},
|
|
2860
2877
|
children: [/* @__PURE__ */ H(J, {
|
|
2861
|
-
variant:
|
|
2878
|
+
variant: Kn[e] || "secondary",
|
|
2862
2879
|
children: w
|
|
2863
2880
|
}), (e === "connected" || e === "on_hold") && /* @__PURE__ */ H("span", {
|
|
2864
2881
|
style: {
|
|
@@ -2919,7 +2936,7 @@ function Jn({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
2919
2936
|
flexShrink: 0
|
|
2920
2937
|
},
|
|
2921
2938
|
children: [
|
|
2922
|
-
O.map((e) => /* @__PURE__ */ H(
|
|
2939
|
+
O.map((e) => /* @__PURE__ */ H(Wn, {
|
|
2923
2940
|
name: e.name,
|
|
2924
2941
|
initials: e.initials,
|
|
2925
2942
|
avatarUrl: e.avatarUrl,
|
|
@@ -2936,7 +2953,7 @@ function Jn({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
2936
2953
|
},
|
|
2937
2954
|
children: ["+", k]
|
|
2938
2955
|
}),
|
|
2939
|
-
/* @__PURE__ */ H(
|
|
2956
|
+
/* @__PURE__ */ H(En, {
|
|
2940
2957
|
isMuted: i,
|
|
2941
2958
|
isOnHold: a,
|
|
2942
2959
|
onMute: c,
|
|
@@ -2982,7 +2999,7 @@ function Jn({ state: e = "connected", caller: t = {}, ticket: n = null, duration
|
|
|
2982
2999
|
}
|
|
2983
3000
|
//#endregion
|
|
2984
3001
|
//#region src/components/ui/CallCard.jsx
|
|
2985
|
-
var
|
|
3002
|
+
var Xn = {
|
|
2986
3003
|
client: {
|
|
2987
3004
|
accent: "var(--accent-green)",
|
|
2988
3005
|
variant: "success"
|
|
@@ -3000,17 +3017,17 @@ var Yn = {
|
|
|
3000
3017
|
variant: "warning"
|
|
3001
3018
|
}
|
|
3002
3019
|
};
|
|
3003
|
-
function
|
|
3020
|
+
function Zn(e) {
|
|
3004
3021
|
return e ? Math.max(0, Math.floor((Date.now() - new Date(e).getTime()) / 1e3)) : 0;
|
|
3005
3022
|
}
|
|
3006
|
-
function
|
|
3007
|
-
let [_, v] = d(() =>
|
|
3023
|
+
function Qn({ 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 = "" }) {
|
|
3024
|
+
let [_, v] = d(() => Zn(u)), [y, b] = d(s[0]?.id || "none");
|
|
3008
3025
|
o(() => {
|
|
3009
3026
|
if (!u) return;
|
|
3010
|
-
let e = setInterval(() => v(
|
|
3027
|
+
let e = setInterval(() => v(Zn(u)), 1e3);
|
|
3011
3028
|
return () => clearInterval(e);
|
|
3012
3029
|
}, [u]);
|
|
3013
|
-
let x =
|
|
3030
|
+
let x = Xn[r] || Xn.unknown;
|
|
3014
3031
|
return e === "mini" ? /* @__PURE__ */ U("div", {
|
|
3015
3032
|
role: "button",
|
|
3016
3033
|
tabIndex: 0,
|
|
@@ -3065,14 +3082,14 @@ function Zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3065
3082
|
variant: x.variant,
|
|
3066
3083
|
showDot: !1,
|
|
3067
3084
|
className: "badge--no-dot",
|
|
3068
|
-
children:
|
|
3085
|
+
children: Pn(r)
|
|
3069
3086
|
})]
|
|
3070
3087
|
}), /* @__PURE__ */ U("div", {
|
|
3071
3088
|
style: {
|
|
3072
3089
|
fontSize: "var(--text-xs)",
|
|
3073
3090
|
color: "var(--text-tertiary)"
|
|
3074
3091
|
},
|
|
3075
|
-
children: ["Ringing · ",
|
|
3092
|
+
children: ["Ringing · ", Dn(_)]
|
|
3076
3093
|
})]
|
|
3077
3094
|
}),
|
|
3078
3095
|
/* @__PURE__ */ H("button", {
|
|
@@ -3173,7 +3190,7 @@ function Zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3173
3190
|
variant: x.variant,
|
|
3174
3191
|
showDot: !1,
|
|
3175
3192
|
className: "badge--no-dot",
|
|
3176
|
-
children:
|
|
3193
|
+
children: Pn(r)
|
|
3177
3194
|
})]
|
|
3178
3195
|
}), /* @__PURE__ */ H("div", {
|
|
3179
3196
|
style: {
|
|
@@ -3194,7 +3211,7 @@ function Zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3194
3211
|
children: [/* @__PURE__ */ H("span", {
|
|
3195
3212
|
style: { marginRight: 4 },
|
|
3196
3213
|
children: "•"
|
|
3197
|
-
}),
|
|
3214
|
+
}), Dn(_)]
|
|
3198
3215
|
})]
|
|
3199
3216
|
}), /* @__PURE__ */ H("div", {
|
|
3200
3217
|
style: {
|
|
@@ -3334,7 +3351,7 @@ function Zn({ variant: e = "primary", callerName: t, callerNumber: n, callerType
|
|
|
3334
3351
|
}
|
|
3335
3352
|
//#endregion
|
|
3336
3353
|
//#region src/components/ui/QueueItem.jsx
|
|
3337
|
-
var
|
|
3354
|
+
var $n = {
|
|
3338
3355
|
ringing: {
|
|
3339
3356
|
icon: ie,
|
|
3340
3357
|
color: "var(--accent-red)",
|
|
@@ -3355,14 +3372,14 @@ var Qn = {
|
|
|
3355
3372
|
color: "var(--text-tertiary)",
|
|
3356
3373
|
label: "Missed"
|
|
3357
3374
|
}
|
|
3358
|
-
},
|
|
3375
|
+
}, er = {
|
|
3359
3376
|
client: "success",
|
|
3360
3377
|
building_department: "info",
|
|
3361
3378
|
staff: "purple",
|
|
3362
3379
|
unknown: "warning"
|
|
3363
3380
|
};
|
|
3364
|
-
function
|
|
3365
|
-
let d =
|
|
3381
|
+
function tr({ 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 = "" }) {
|
|
3382
|
+
let d = $n[e] || $n.ringing, f = d.icon, p = s.slice(0, 2), m = s.slice(2), h = i ? An(i) : "none", g = h === "urgent" ? "var(--accent-red)" : h === "warning" ? "var(--accent-yellow)" : "var(--text-secondary)";
|
|
3366
3383
|
return /* @__PURE__ */ U("div", {
|
|
3367
3384
|
role: "button",
|
|
3368
3385
|
tabIndex: 0,
|
|
@@ -3413,10 +3430,10 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3413
3430
|
children: t.name
|
|
3414
3431
|
}),
|
|
3415
3432
|
/* @__PURE__ */ H(J, {
|
|
3416
|
-
variant:
|
|
3433
|
+
variant: er[t.type] || "warning",
|
|
3417
3434
|
showDot: !1,
|
|
3418
3435
|
className: "badge--no-dot",
|
|
3419
|
-
children:
|
|
3436
|
+
children: Pn(t.type)
|
|
3420
3437
|
}),
|
|
3421
3438
|
n && /* @__PURE__ */ H(Z, {
|
|
3422
3439
|
ticket: n,
|
|
@@ -3444,8 +3461,8 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3444
3461
|
children: d.label
|
|
3445
3462
|
}),
|
|
3446
3463
|
/* @__PURE__ */ H("span", { children: "·" }),
|
|
3447
|
-
e === "voicemail" && a != null && /* @__PURE__ */ U(he, { children: [/* @__PURE__ */ H("span", { children:
|
|
3448
|
-
r && /* @__PURE__ */ H("span", { children:
|
|
3464
|
+
e === "voicemail" && a != null && /* @__PURE__ */ U(he, { children: [/* @__PURE__ */ H("span", { children: Dn(a) }), /* @__PURE__ */ H("span", { children: "·" })] }),
|
|
3465
|
+
r && /* @__PURE__ */ H("span", { children: kn(r) }),
|
|
3449
3466
|
i && /* @__PURE__ */ U("span", {
|
|
3450
3467
|
style: {
|
|
3451
3468
|
color: g,
|
|
@@ -3453,12 +3470,12 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3453
3470
|
fontVariantNumeric: "tabular-nums",
|
|
3454
3471
|
fontWeight: 600
|
|
3455
3472
|
},
|
|
3456
|
-
children: ["SLA ",
|
|
3473
|
+
children: ["SLA ", On(i)]
|
|
3457
3474
|
})
|
|
3458
3475
|
]
|
|
3459
3476
|
})]
|
|
3460
3477
|
}),
|
|
3461
|
-
o && /* @__PURE__ */ H(
|
|
3478
|
+
o && /* @__PURE__ */ H(Wn, {
|
|
3462
3479
|
name: o.name,
|
|
3463
3480
|
initials: o.initials,
|
|
3464
3481
|
avatarUrl: null,
|
|
@@ -3480,7 +3497,7 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3480
3497
|
title: e.label,
|
|
3481
3498
|
onClick: () => c?.(e.key),
|
|
3482
3499
|
children: e.icon
|
|
3483
|
-
}, e.key)), m.length > 0 && /* @__PURE__ */ H(
|
|
3500
|
+
}, e.key)), m.length > 0 && /* @__PURE__ */ H($t, {
|
|
3484
3501
|
align: "right",
|
|
3485
3502
|
trigger: /* @__PURE__ */ H("button", {
|
|
3486
3503
|
type: "button",
|
|
@@ -3488,7 +3505,7 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3488
3505
|
"aria-label": "More actions",
|
|
3489
3506
|
children: /* @__PURE__ */ H(ee, { size: 16 })
|
|
3490
3507
|
}),
|
|
3491
|
-
children: m.map((e) => /* @__PURE__ */ H(
|
|
3508
|
+
children: m.map((e) => /* @__PURE__ */ H(en, {
|
|
3492
3509
|
onClick: () => c?.(e.key),
|
|
3493
3510
|
children: e.label
|
|
3494
3511
|
}, e.key))
|
|
@@ -3499,7 +3516,7 @@ function er({ kind: e, caller: t = {}, ticket: n = null, ago: r = null, slaDeadl
|
|
|
3499
3516
|
}
|
|
3500
3517
|
//#endregion
|
|
3501
3518
|
//#region src/components/data/ActivityFeed.jsx
|
|
3502
|
-
function
|
|
3519
|
+
function nr({ items: e = [], className: t = "" }) {
|
|
3503
3520
|
return /* @__PURE__ */ H("div", {
|
|
3504
3521
|
className: `activity-feed ${t}`,
|
|
3505
3522
|
children: e.map((e, t) => /* @__PURE__ */ U("div", {
|
|
@@ -3538,7 +3555,7 @@ function tr({ items: e = [], className: t = "" }) {
|
|
|
3538
3555
|
}
|
|
3539
3556
|
//#endregion
|
|
3540
3557
|
//#region src/components/data/CommandBar.jsx
|
|
3541
|
-
function
|
|
3558
|
+
function rr({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
3542
3559
|
let [a, s] = d(""), [c, l] = d(0), f = u(null);
|
|
3543
3560
|
if (o(() => {
|
|
3544
3561
|
if (e) {
|
|
@@ -3622,7 +3639,7 @@ function nr({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
3622
3639
|
}
|
|
3623
3640
|
//#endregion
|
|
3624
3641
|
//#region src/components/data/DataTable.jsx
|
|
3625
|
-
function
|
|
3642
|
+
function ir({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
3626
3643
|
let [i, a] = d(null), [o, s] = d("asc");
|
|
3627
3644
|
function c(e) {
|
|
3628
3645
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -3663,7 +3680,7 @@ function rr({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
3663
3680
|
}
|
|
3664
3681
|
//#endregion
|
|
3665
3682
|
//#region src/components/data/FilterBar.jsx
|
|
3666
|
-
function
|
|
3683
|
+
function ar({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
3667
3684
|
let o = n.some((e) => e.active);
|
|
3668
3685
|
return /* @__PURE__ */ U("div", {
|
|
3669
3686
|
className: `filter-bar ${a}`,
|
|
@@ -3716,14 +3733,14 @@ function ir({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
3716
3733
|
function Q(...e) {
|
|
3717
3734
|
return e.filter(Boolean).join(" ");
|
|
3718
3735
|
}
|
|
3719
|
-
function
|
|
3736
|
+
function or({ children: e, className: t = "", style: n }) {
|
|
3720
3737
|
return /* @__PURE__ */ H("div", {
|
|
3721
3738
|
className: Q("kanban-board", t),
|
|
3722
3739
|
style: n,
|
|
3723
3740
|
children: e
|
|
3724
3741
|
});
|
|
3725
3742
|
}
|
|
3726
|
-
function
|
|
3743
|
+
function sr({ 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 }) {
|
|
3727
3744
|
return /* @__PURE__ */ U("div", {
|
|
3728
3745
|
className: Q("kanban-column", o),
|
|
3729
3746
|
style: s,
|
|
@@ -3761,7 +3778,7 @@ function or({ title: e, count: t, color: n, headerAction: r = null, countVariant
|
|
|
3761
3778
|
})]
|
|
3762
3779
|
});
|
|
3763
3780
|
}
|
|
3764
|
-
function
|
|
3781
|
+
function cr({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
3765
3782
|
let u = a ?? r;
|
|
3766
3783
|
return /* @__PURE__ */ H("div", {
|
|
3767
3784
|
className: Q("kanban-card", c),
|
|
@@ -3797,13 +3814,13 @@ function sr({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
3797
3814
|
function $(...e) {
|
|
3798
3815
|
return e.filter(Boolean).join(" ");
|
|
3799
3816
|
}
|
|
3800
|
-
function
|
|
3817
|
+
function lr({ children: e, className: t = "" }) {
|
|
3801
3818
|
return /* @__PURE__ */ H("div", {
|
|
3802
3819
|
className: $("table-board", t),
|
|
3803
3820
|
children: e
|
|
3804
3821
|
});
|
|
3805
3822
|
}
|
|
3806
|
-
function
|
|
3823
|
+
function ur({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
3807
3824
|
let [c, l] = d(i), u = r != null, f = u ? r : c;
|
|
3808
3825
|
function p() {
|
|
3809
3826
|
let e = !f;
|
|
@@ -3840,7 +3857,7 @@ function lr({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
|
|
|
3840
3857
|
})]
|
|
3841
3858
|
});
|
|
3842
3859
|
}
|
|
3843
|
-
function
|
|
3860
|
+
function dr({ 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 = "" }) {
|
|
3844
3861
|
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 = [
|
|
3845
3862
|
...F,
|
|
3846
3863
|
...I > 0 ? [{
|
|
@@ -3929,7 +3946,7 @@ function ur({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
3929
3946
|
m != null && (r(m) ? m : /* @__PURE__ */ H(J, {
|
|
3930
3947
|
className: "table-board-metric",
|
|
3931
3948
|
showDot: !1,
|
|
3932
|
-
children: /* @__PURE__ */ H(
|
|
3949
|
+
children: /* @__PURE__ */ H(un, {
|
|
3933
3950
|
tone: h,
|
|
3934
3951
|
icon: te,
|
|
3935
3952
|
showIcon: _,
|
|
@@ -3946,7 +3963,7 @@ function ur({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
3946
3963
|
}
|
|
3947
3964
|
//#endregion
|
|
3948
3965
|
//#region src/components/data/KPICard.jsx
|
|
3949
|
-
function
|
|
3966
|
+
function fr({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
3950
3967
|
let s = {
|
|
3951
3968
|
up: "var(--accent-green)",
|
|
3952
3969
|
down: "var(--accent-red)",
|
|
@@ -3987,7 +4004,7 @@ function dr({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
3987
4004
|
]
|
|
3988
4005
|
});
|
|
3989
4006
|
}
|
|
3990
|
-
function
|
|
4007
|
+
function pr({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
3991
4008
|
return /* @__PURE__ */ U("div", {
|
|
3992
4009
|
className: `stat-card ${i}`,
|
|
3993
4010
|
children: [r && /* @__PURE__ */ H("div", {
|
|
@@ -4014,7 +4031,7 @@ function fr({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
4014
4031
|
}
|
|
4015
4032
|
//#endregion
|
|
4016
4033
|
//#region src/components/data/NotificationsPanel.jsx
|
|
4017
|
-
function
|
|
4034
|
+
function mr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
4018
4035
|
let i = e.filter((e) => !e.read);
|
|
4019
4036
|
return /* @__PURE__ */ U("div", {
|
|
4020
4037
|
className: `notifications-panel ${r}`,
|
|
@@ -4071,7 +4088,7 @@ function pr({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
4071
4088
|
}
|
|
4072
4089
|
//#endregion
|
|
4073
4090
|
//#region src/components/Icons.jsx
|
|
4074
|
-
function
|
|
4091
|
+
function hr() {
|
|
4075
4092
|
return /* @__PURE__ */ H("svg", {
|
|
4076
4093
|
width: "16",
|
|
4077
4094
|
height: "16",
|
|
@@ -4080,7 +4097,7 @@ function mr() {
|
|
|
4080
4097
|
children: /* @__PURE__ */ H("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" })
|
|
4081
4098
|
});
|
|
4082
4099
|
}
|
|
4083
|
-
function
|
|
4100
|
+
function gr() {
|
|
4084
4101
|
return /* @__PURE__ */ U("svg", {
|
|
4085
4102
|
width: "16",
|
|
4086
4103
|
height: "16",
|
|
@@ -4100,7 +4117,7 @@ function hr() {
|
|
|
4100
4117
|
})]
|
|
4101
4118
|
});
|
|
4102
4119
|
}
|
|
4103
|
-
function
|
|
4120
|
+
function _r() {
|
|
4104
4121
|
return /* @__PURE__ */ H("svg", {
|
|
4105
4122
|
width: "16",
|
|
4106
4123
|
height: "16",
|
|
@@ -4109,7 +4126,7 @@ function gr() {
|
|
|
4109
4126
|
children: /* @__PURE__ */ H("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" })
|
|
4110
4127
|
});
|
|
4111
4128
|
}
|
|
4112
|
-
function
|
|
4129
|
+
function vr() {
|
|
4113
4130
|
return /* @__PURE__ */ H("svg", {
|
|
4114
4131
|
width: "16",
|
|
4115
4132
|
height: "16",
|
|
@@ -4122,7 +4139,7 @@ function _r() {
|
|
|
4122
4139
|
children: /* @__PURE__ */ H("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
4123
4140
|
});
|
|
4124
4141
|
}
|
|
4125
|
-
function
|
|
4142
|
+
function yr() {
|
|
4126
4143
|
return /* @__PURE__ */ H("svg", {
|
|
4127
4144
|
width: "16",
|
|
4128
4145
|
height: "16",
|
|
@@ -4131,7 +4148,7 @@ function vr() {
|
|
|
4131
4148
|
children: /* @__PURE__ */ H("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" })
|
|
4132
4149
|
});
|
|
4133
4150
|
}
|
|
4134
|
-
function
|
|
4151
|
+
function br() {
|
|
4135
4152
|
return /* @__PURE__ */ H("svg", {
|
|
4136
4153
|
width: "16",
|
|
4137
4154
|
height: "16",
|
|
@@ -4140,7 +4157,7 @@ function yr() {
|
|
|
4140
4157
|
children: /* @__PURE__ */ H("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" })
|
|
4141
4158
|
});
|
|
4142
4159
|
}
|
|
4143
|
-
function
|
|
4160
|
+
function xr() {
|
|
4144
4161
|
return /* @__PURE__ */ U("svg", {
|
|
4145
4162
|
width: "16",
|
|
4146
4163
|
height: "16",
|
|
@@ -4165,7 +4182,7 @@ function br() {
|
|
|
4165
4182
|
]
|
|
4166
4183
|
});
|
|
4167
4184
|
}
|
|
4168
|
-
function
|
|
4185
|
+
function Sr() {
|
|
4169
4186
|
return /* @__PURE__ */ U("svg", {
|
|
4170
4187
|
width: "16",
|
|
4171
4188
|
height: "16",
|
|
@@ -4183,7 +4200,7 @@ function xr() {
|
|
|
4183
4200
|
})]
|
|
4184
4201
|
});
|
|
4185
4202
|
}
|
|
4186
|
-
function
|
|
4203
|
+
function Cr() {
|
|
4187
4204
|
return /* @__PURE__ */ H("svg", {
|
|
4188
4205
|
width: "16",
|
|
4189
4206
|
height: "16",
|
|
@@ -4196,7 +4213,7 @@ function Sr() {
|
|
|
4196
4213
|
children: /* @__PURE__ */ H("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
4197
4214
|
});
|
|
4198
4215
|
}
|
|
4199
|
-
function
|
|
4216
|
+
function wr() {
|
|
4200
4217
|
return /* @__PURE__ */ H("svg", {
|
|
4201
4218
|
width: "14",
|
|
4202
4219
|
height: "14",
|
|
@@ -4209,7 +4226,7 @@ function Cr() {
|
|
|
4209
4226
|
children: /* @__PURE__ */ H("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
4210
4227
|
});
|
|
4211
4228
|
}
|
|
4212
|
-
function
|
|
4229
|
+
function Tr() {
|
|
4213
4230
|
return /* @__PURE__ */ H("svg", {
|
|
4214
4231
|
width: "14",
|
|
4215
4232
|
height: "14",
|
|
@@ -4222,7 +4239,7 @@ function wr() {
|
|
|
4222
4239
|
children: /* @__PURE__ */ H("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
4223
4240
|
});
|
|
4224
4241
|
}
|
|
4225
|
-
function
|
|
4242
|
+
function Er() {
|
|
4226
4243
|
return /* @__PURE__ */ H("svg", {
|
|
4227
4244
|
width: "14",
|
|
4228
4245
|
height: "14",
|
|
@@ -4231,7 +4248,7 @@ function Tr() {
|
|
|
4231
4248
|
children: /* @__PURE__ */ H("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" })
|
|
4232
4249
|
});
|
|
4233
4250
|
}
|
|
4234
|
-
function
|
|
4251
|
+
function Dr() {
|
|
4235
4252
|
return /* @__PURE__ */ U("svg", {
|
|
4236
4253
|
width: "14",
|
|
4237
4254
|
height: "14",
|
|
@@ -4252,7 +4269,7 @@ function Er() {
|
|
|
4252
4269
|
})]
|
|
4253
4270
|
});
|
|
4254
4271
|
}
|
|
4255
|
-
function
|
|
4272
|
+
function Or() {
|
|
4256
4273
|
return /* @__PURE__ */ U("svg", {
|
|
4257
4274
|
width: "14",
|
|
4258
4275
|
height: "14",
|
|
@@ -4272,7 +4289,7 @@ function Dr() {
|
|
|
4272
4289
|
})]
|
|
4273
4290
|
});
|
|
4274
4291
|
}
|
|
4275
|
-
function
|
|
4292
|
+
function kr() {
|
|
4276
4293
|
return /* @__PURE__ */ H("svg", {
|
|
4277
4294
|
width: "14",
|
|
4278
4295
|
height: "14",
|
|
@@ -4287,7 +4304,7 @@ function Or() {
|
|
|
4287
4304
|
})
|
|
4288
4305
|
});
|
|
4289
4306
|
}
|
|
4290
|
-
function
|
|
4307
|
+
function Ar() {
|
|
4291
4308
|
return /* @__PURE__ */ H("svg", {
|
|
4292
4309
|
width: "14",
|
|
4293
4310
|
height: "14",
|
|
@@ -4303,7 +4320,7 @@ function kr() {
|
|
|
4303
4320
|
})
|
|
4304
4321
|
});
|
|
4305
4322
|
}
|
|
4306
|
-
function
|
|
4323
|
+
function jr() {
|
|
4307
4324
|
return /* @__PURE__ */ U("svg", {
|
|
4308
4325
|
width: "14",
|
|
4309
4326
|
height: "14",
|
|
@@ -4323,7 +4340,7 @@ function Ar() {
|
|
|
4323
4340
|
})]
|
|
4324
4341
|
});
|
|
4325
4342
|
}
|
|
4326
|
-
function
|
|
4343
|
+
function Mr() {
|
|
4327
4344
|
return /* @__PURE__ */ H("svg", {
|
|
4328
4345
|
width: "14",
|
|
4329
4346
|
height: "14",
|
|
@@ -4332,7 +4349,7 @@ function jr() {
|
|
|
4332
4349
|
children: /* @__PURE__ */ H("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" })
|
|
4333
4350
|
});
|
|
4334
4351
|
}
|
|
4335
|
-
function
|
|
4352
|
+
function Nr() {
|
|
4336
4353
|
return /* @__PURE__ */ U("svg", {
|
|
4337
4354
|
width: "14",
|
|
4338
4355
|
height: "14",
|
|
@@ -4363,7 +4380,7 @@ function Mr() {
|
|
|
4363
4380
|
]
|
|
4364
4381
|
});
|
|
4365
4382
|
}
|
|
4366
|
-
function
|
|
4383
|
+
function Pr() {
|
|
4367
4384
|
return /* @__PURE__ */ U("svg", {
|
|
4368
4385
|
width: "14",
|
|
4369
4386
|
height: "14",
|
|
@@ -4396,7 +4413,7 @@ function Nr() {
|
|
|
4396
4413
|
]
|
|
4397
4414
|
});
|
|
4398
4415
|
}
|
|
4399
|
-
function
|
|
4416
|
+
function Fr() {
|
|
4400
4417
|
return /* @__PURE__ */ U("svg", {
|
|
4401
4418
|
width: "14",
|
|
4402
4419
|
height: "14",
|
|
@@ -4429,7 +4446,7 @@ function Pr() {
|
|
|
4429
4446
|
]
|
|
4430
4447
|
});
|
|
4431
4448
|
}
|
|
4432
|
-
function
|
|
4449
|
+
function Ir() {
|
|
4433
4450
|
return /* @__PURE__ */ H("svg", {
|
|
4434
4451
|
width: "14",
|
|
4435
4452
|
height: "14",
|
|
@@ -4441,7 +4458,7 @@ function Fr() {
|
|
|
4441
4458
|
children: /* @__PURE__ */ H("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" })
|
|
4442
4459
|
});
|
|
4443
4460
|
}
|
|
4444
|
-
function
|
|
4461
|
+
function Lr() {
|
|
4445
4462
|
return /* @__PURE__ */ H("svg", {
|
|
4446
4463
|
width: "14",
|
|
4447
4464
|
height: "14",
|
|
@@ -4454,7 +4471,7 @@ function Ir() {
|
|
|
4454
4471
|
children: /* @__PURE__ */ H("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
4455
4472
|
});
|
|
4456
4473
|
}
|
|
4457
|
-
function
|
|
4474
|
+
function Rr() {
|
|
4458
4475
|
return /* @__PURE__ */ U("svg", {
|
|
4459
4476
|
width: "14",
|
|
4460
4477
|
height: "14",
|
|
@@ -4471,7 +4488,7 @@ function Lr() {
|
|
|
4471
4488
|
})]
|
|
4472
4489
|
});
|
|
4473
4490
|
}
|
|
4474
|
-
function
|
|
4491
|
+
function zr() {
|
|
4475
4492
|
return /* @__PURE__ */ H("svg", {
|
|
4476
4493
|
width: "14",
|
|
4477
4494
|
height: "14",
|
|
@@ -4483,7 +4500,7 @@ function Rr() {
|
|
|
4483
4500
|
children: /* @__PURE__ */ H("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
4484
4501
|
});
|
|
4485
4502
|
}
|
|
4486
|
-
function
|
|
4503
|
+
function Br() {
|
|
4487
4504
|
return /* @__PURE__ */ H("svg", {
|
|
4488
4505
|
width: "14",
|
|
4489
4506
|
height: "14",
|
|
@@ -4496,7 +4513,7 @@ function zr() {
|
|
|
4496
4513
|
children: /* @__PURE__ */ H("path", { d: "M3 7.5l3 3 5-6" })
|
|
4497
4514
|
});
|
|
4498
4515
|
}
|
|
4499
|
-
function
|
|
4516
|
+
function Vr() {
|
|
4500
4517
|
return /* @__PURE__ */ U("svg", {
|
|
4501
4518
|
width: "14",
|
|
4502
4519
|
height: "14",
|
|
@@ -4515,7 +4532,7 @@ function Br() {
|
|
|
4515
4532
|
}), /* @__PURE__ */ H("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" })]
|
|
4516
4533
|
});
|
|
4517
4534
|
}
|
|
4518
|
-
function
|
|
4535
|
+
function Hr() {
|
|
4519
4536
|
return /* @__PURE__ */ H("svg", {
|
|
4520
4537
|
width: "14",
|
|
4521
4538
|
height: "14",
|
|
@@ -4528,7 +4545,7 @@ function Vr() {
|
|
|
4528
4545
|
children: /* @__PURE__ */ H("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" })
|
|
4529
4546
|
});
|
|
4530
4547
|
}
|
|
4531
|
-
function
|
|
4548
|
+
function Ur() {
|
|
4532
4549
|
return /* @__PURE__ */ U("svg", {
|
|
4533
4550
|
width: "14",
|
|
4534
4551
|
height: "14",
|
|
@@ -4547,7 +4564,7 @@ function Hr() {
|
|
|
4547
4564
|
}), /* @__PURE__ */ H("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
4548
4565
|
});
|
|
4549
4566
|
}
|
|
4550
|
-
function
|
|
4567
|
+
function Wr() {
|
|
4551
4568
|
return /* @__PURE__ */ H("svg", {
|
|
4552
4569
|
width: "14",
|
|
4553
4570
|
height: "14",
|
|
@@ -4560,7 +4577,7 @@ function Ur() {
|
|
|
4560
4577
|
children: /* @__PURE__ */ H("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
4561
4578
|
});
|
|
4562
4579
|
}
|
|
4563
|
-
function
|
|
4580
|
+
function Gr() {
|
|
4564
4581
|
return /* @__PURE__ */ U("svg", {
|
|
4565
4582
|
width: "14",
|
|
4566
4583
|
height: "14",
|
|
@@ -4578,7 +4595,7 @@ function Wr() {
|
|
|
4578
4595
|
})]
|
|
4579
4596
|
});
|
|
4580
4597
|
}
|
|
4581
|
-
function
|
|
4598
|
+
function Kr() {
|
|
4582
4599
|
return /* @__PURE__ */ U("svg", {
|
|
4583
4600
|
width: "14",
|
|
4584
4601
|
height: "14",
|
|
@@ -4597,4 +4614,4 @@ function Gr() {
|
|
|
4597
4614
|
});
|
|
4598
4615
|
}
|
|
4599
4616
|
//#endregion
|
|
4600
|
-
export {
|
|
4617
|
+
export { jt as Accordion, At as AccordionItem, nr as ActivityFeed, st as AppLoader, q as Avatar, J as Badge, Hr as BellIcon, Y as Button, Ur as CalendarIcon, Qn as CallCard, En as CallControlsBar, Yn as Callbar, zt as Card, Ut as CardContent, Ht as CardDescription, Wt as CardFooter, Bt as CardHeader, Vt as CardTitle, Br as CheckIcon, wr as ChevronDown, Tr as ChevronUp, zr as CloseIcon, rr as CommandBar, Vr as CopyIcon, yn as DEFAULT_ICON_BY_VALUE, bn as DEFAULT_VIEW_MODE_OPTIONS, ir as DataTable, Kt as Dialog, Xt as DialogBody, Yt as DialogDescription, Zt as DialogFooter, qt as DialogHeader, Jt as DialogTitle, $t as DropdownMenu, tn as DropdownMenuCheckboxItem, en as DropdownMenuItem, nn as DropdownMenuLabel, rn as DropdownMenuSeparator, Cr as EditIcon, it as FCCAppShell, Oe as FCCAppShellContext, at as FCCBrandLogo, Ge as FCCBreadcrumbs, De as FCCDesignProvider, ut as FCCDetailsPanel, ft as FCCFullPagePanel, gt as FCCFullPagePanelBody, kt as FCCFullPagePanelBottomControls, yt as FCCFullPagePanelFooter, pt as FCCFullPagePanelHeader, mt as FCCFullPagePanelHeaderRevealZone, _t as FCCFullPagePanelMain, Ot as FCCFullPagePanelResizableSidebar, vt as FCCFullPagePanelSidebar, bt as FCCFullPagePanelSidebarFooter, xt as FCCFullPagePanelSubHeader, ht 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, ar as FilterBar, Wr as FilterIcon, hr as InboxIcon, yr as InitiativesIcon, Qt as Input, gr as IssuesIcon, fr as KPICard, or as KanbanBoard, cr as KanbanCard, sr as KanbanColumn, Kr as LabelIcon, Ir as LinkIcon, xr as MoreIcon, mr as NotificationsPanel, Wn as PresenceAvatar, Hn as PresenceDot, Nr as PriorityHigh, Fr as PriorityLow, Pr as PriorityMedium, Mr as PriorityUrgent, br as ProjectsIcon, vr as PulseIcon, tr as QueueItem, _r as ReviewsIcon, Sr as SearchIcon, an as SearchableSelect, Rr as SettingsIcon, on as Sheet, sn as SheetFooter, ct as Spinner, Er as StarIcon, pr as StatCard, Ar as StatusBacklog, jr as StatusCancelled, Or as StatusDone, Dr as StatusInProgress, un as StatusMetric, kr as StatusTodo, dn as Switch, lr as TableBoard, ur as TableBoardGroup, dr as TableBoardRow, pn as Tabs, gn as TabsContent, mn as TabsList, hn as TabsTrigger, _n as Textarea, Te as ThemeProvider, Z as TicketLinkChip, ye as ToastProvider, vn as Tooltip, Lr as TrashIcon, Gr as UserIcon, Cn as ViewModeToggle, Tn as WorkspaceTabs, ke as useFCCAppShell, Ee as useTheme, be as useToast };
|