@freedom-code-compliance/fcc-redesign 0.1.9 → 0.1.11
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 +97 -86
- package/dist/styles.css +1 -1
- package/package.json +2 -4
package/dist/index.js
CHANGED
|
@@ -618,6 +618,8 @@ function Ce({ variant: e = "default", className: t = "", children: n, showDot: r
|
|
|
618
618
|
var we = {
|
|
619
619
|
default: "btn-primary",
|
|
620
620
|
destructive: "btn-danger",
|
|
621
|
+
success: "btn-success",
|
|
622
|
+
warning: "btn-warning",
|
|
621
623
|
outline: "btn-outline",
|
|
622
624
|
secondary: "btn-secondary",
|
|
623
625
|
ghost: "btn-ghost",
|
|
@@ -639,42 +641,51 @@ var we = {
|
|
|
639
641
|
...i,
|
|
640
642
|
children: r
|
|
641
643
|
});
|
|
642
|
-
}), De =
|
|
644
|
+
}), De = {
|
|
645
|
+
default: "",
|
|
646
|
+
green: "card-green",
|
|
647
|
+
red: "card-red",
|
|
648
|
+
yellow: "card-yellow"
|
|
649
|
+
}, Oe = n(function({ variant: e = "default", className: t = "", children: n, ...r }, i) {
|
|
643
650
|
return /* @__PURE__ */ F("div", {
|
|
644
|
-
ref:
|
|
645
|
-
className:
|
|
646
|
-
|
|
647
|
-
|
|
651
|
+
ref: i,
|
|
652
|
+
className: [
|
|
653
|
+
"card",
|
|
654
|
+
De[e],
|
|
655
|
+
t
|
|
656
|
+
].filter(Boolean).join(" "),
|
|
657
|
+
...r,
|
|
658
|
+
children: n
|
|
648
659
|
});
|
|
649
|
-
}),
|
|
660
|
+
}), ke = n(function({ className: e = "", children: t, ...n }, r) {
|
|
650
661
|
return /* @__PURE__ */ F("div", {
|
|
651
662
|
ref: r,
|
|
652
663
|
className: `card-header ${e}`,
|
|
653
664
|
...n,
|
|
654
665
|
children: t
|
|
655
666
|
});
|
|
656
|
-
}),
|
|
667
|
+
}), Ae = n(function({ className: e = "", children: t, ...n }, r) {
|
|
657
668
|
return /* @__PURE__ */ F("h3", {
|
|
658
669
|
ref: r,
|
|
659
670
|
className: `card-title ${e}`,
|
|
660
671
|
...n,
|
|
661
672
|
children: t
|
|
662
673
|
});
|
|
663
|
-
}),
|
|
674
|
+
}), je = n(function({ className: e = "", children: t, ...n }, r) {
|
|
664
675
|
return /* @__PURE__ */ F("p", {
|
|
665
676
|
ref: r,
|
|
666
677
|
className: `card-description ${e}`,
|
|
667
678
|
...n,
|
|
668
679
|
children: t
|
|
669
680
|
});
|
|
670
|
-
}),
|
|
681
|
+
}), Me = n(function({ className: e = "", children: t, ...n }, r) {
|
|
671
682
|
return /* @__PURE__ */ F("div", {
|
|
672
683
|
ref: r,
|
|
673
684
|
className: `card-body ${e}`,
|
|
674
685
|
...n,
|
|
675
686
|
children: t
|
|
676
687
|
});
|
|
677
|
-
}),
|
|
688
|
+
}), Ne = n(function({ className: e = "", children: t, ...n }, r) {
|
|
678
689
|
return /* @__PURE__ */ F("div", {
|
|
679
690
|
ref: r,
|
|
680
691
|
className: `card-footer ${e}`,
|
|
@@ -684,7 +695,7 @@ var we = {
|
|
|
684
695
|
});
|
|
685
696
|
//#endregion
|
|
686
697
|
//#region src/components/ui/Dialog.jsx
|
|
687
|
-
function
|
|
698
|
+
function Pe({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
688
699
|
let i = c(null);
|
|
689
700
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
690
701
|
document.body.style.overflow = "";
|
|
@@ -705,7 +716,7 @@ function Ne({ open: e, onClose: t, children: n, className: r = "" }) {
|
|
|
705
716
|
})
|
|
706
717
|
}) : null;
|
|
707
718
|
}
|
|
708
|
-
function
|
|
719
|
+
function Fe({ children: e, onClose: t, className: n = "" }) {
|
|
709
720
|
return /* @__PURE__ */ I("div", {
|
|
710
721
|
className: `dialog-header ${n}`,
|
|
711
722
|
children: [/* @__PURE__ */ F("div", {
|
|
@@ -718,25 +729,25 @@ function Pe({ children: e, onClose: t, className: n = "" }) {
|
|
|
718
729
|
})]
|
|
719
730
|
});
|
|
720
731
|
}
|
|
721
|
-
function
|
|
732
|
+
function Ie({ children: e, className: t = "" }) {
|
|
722
733
|
return /* @__PURE__ */ F("h3", {
|
|
723
734
|
className: `dialog-title ${t}`,
|
|
724
735
|
children: e
|
|
725
736
|
});
|
|
726
737
|
}
|
|
727
|
-
function
|
|
738
|
+
function Le({ children: e, className: t = "" }) {
|
|
728
739
|
return /* @__PURE__ */ F("p", {
|
|
729
740
|
className: `dialog-description ${t}`,
|
|
730
741
|
children: e
|
|
731
742
|
});
|
|
732
743
|
}
|
|
733
|
-
function
|
|
744
|
+
function Re({ children: e, className: t = "" }) {
|
|
734
745
|
return /* @__PURE__ */ F("div", {
|
|
735
746
|
className: `dialog-body ${t}`,
|
|
736
747
|
children: e
|
|
737
748
|
});
|
|
738
749
|
}
|
|
739
|
-
function
|
|
750
|
+
function ze({ children: e, className: t = "" }) {
|
|
740
751
|
return /* @__PURE__ */ F("div", {
|
|
741
752
|
className: `dialog-footer ${t}`,
|
|
742
753
|
children: e
|
|
@@ -744,7 +755,7 @@ function Re({ children: e, className: t = "" }) {
|
|
|
744
755
|
}
|
|
745
756
|
//#endregion
|
|
746
757
|
//#region src/components/ui/DropdownMenu.jsx
|
|
747
|
-
function
|
|
758
|
+
function Be({ trigger: e, children: t, align: n = "left", className: r = "" }) {
|
|
748
759
|
let [i, a] = l(!1), s = c(null);
|
|
749
760
|
return o(() => {
|
|
750
761
|
function e(e) {
|
|
@@ -765,7 +776,7 @@ function ze({ trigger: e, children: t, align: n = "left", className: r = "" }) {
|
|
|
765
776
|
})]
|
|
766
777
|
});
|
|
767
778
|
}
|
|
768
|
-
function
|
|
779
|
+
function Ve({ icon: e, children: t, shortcut: n, active: r, onClick: i, className: a = "" }) {
|
|
769
780
|
return /* @__PURE__ */ I("div", {
|
|
770
781
|
className: `dropdown-item ${r ? "active" : ""} ${a}`,
|
|
771
782
|
onClick: i,
|
|
@@ -785,7 +796,7 @@ function Be({ icon: e, children: t, shortcut: n, active: r, onClick: i, classNam
|
|
|
785
796
|
]
|
|
786
797
|
});
|
|
787
798
|
}
|
|
788
|
-
function
|
|
799
|
+
function He({ checked: e, onCheckedChange: t, children: n, className: r = "" }) {
|
|
789
800
|
return /* @__PURE__ */ I("div", {
|
|
790
801
|
className: `dropdown-item ${r}`,
|
|
791
802
|
onClick: () => t?.(!e),
|
|
@@ -796,18 +807,18 @@ function Ve({ checked: e, onCheckedChange: t, children: n, className: r = "" })
|
|
|
796
807
|
}), n]
|
|
797
808
|
});
|
|
798
809
|
}
|
|
799
|
-
function
|
|
810
|
+
function Ue({ children: e, className: t = "" }) {
|
|
800
811
|
return /* @__PURE__ */ F("div", {
|
|
801
812
|
className: `dropdown-label ${t}`,
|
|
802
813
|
children: e
|
|
803
814
|
});
|
|
804
815
|
}
|
|
805
|
-
function
|
|
816
|
+
function We({ className: e = "" }) {
|
|
806
817
|
return /* @__PURE__ */ F("div", { className: `dropdown-divider ${e}` });
|
|
807
818
|
}
|
|
808
819
|
//#endregion
|
|
809
820
|
//#region src/components/ui/SearchableSelect.jsx
|
|
810
|
-
function
|
|
821
|
+
function Ge({ options: e = [], value: t, onChange: n, placeholder: r = "Select...", searchPlaceholder: i = "Search...", allowEmpty: a = !1, disabled: s = !1, className: u = "" }) {
|
|
811
822
|
let [d, f] = l(!1), [p, h] = l(""), [g, v] = l(0), y = c(null), b = c(null), x = e.filter((e) => e.label.toLowerCase().includes(p.toLowerCase()) || e.description && e.description.toLowerCase().includes(p.toLowerCase())), S = e.find((e) => e.value === t);
|
|
812
823
|
o(() => {
|
|
813
824
|
d && b.current && b.current.focus();
|
|
@@ -898,7 +909,7 @@ function We({ options: e = [], value: t, onChange: n, placeholder: r = "Select..
|
|
|
898
909
|
}
|
|
899
910
|
//#endregion
|
|
900
911
|
//#region src/components/ui/Sheet.jsx
|
|
901
|
-
function
|
|
912
|
+
function Ke({ open: e, onClose: t, side: n = "right", title: r, children: i, className: a = "" }) {
|
|
902
913
|
let s = c(null);
|
|
903
914
|
return o(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
904
915
|
document.body.style.overflow = "";
|
|
@@ -932,7 +943,7 @@ function Ge({ open: e, onClose: t, side: n = "right", title: r, children: i, cla
|
|
|
932
943
|
})
|
|
933
944
|
}) : null;
|
|
934
945
|
}
|
|
935
|
-
function
|
|
946
|
+
function qe({ children: e, className: t = "" }) {
|
|
936
947
|
return /* @__PURE__ */ F("div", {
|
|
937
948
|
className: `sheet-footer ${t}`,
|
|
938
949
|
children: e
|
|
@@ -940,7 +951,7 @@ function Ke({ children: e, className: t = "" }) {
|
|
|
940
951
|
}
|
|
941
952
|
//#endregion
|
|
942
953
|
//#region src/components/ui/Switch.jsx
|
|
943
|
-
function
|
|
954
|
+
function Je({ checked: e = !1, onCheckedChange: t, disabled: n = !1, size: r = "md", label: i }) {
|
|
944
955
|
return /* @__PURE__ */ I("div", {
|
|
945
956
|
className: "toggle-row",
|
|
946
957
|
children: [i && /* @__PURE__ */ F("span", {
|
|
@@ -962,7 +973,7 @@ var Z = e({
|
|
|
962
973
|
value: "",
|
|
963
974
|
onChange: () => {}
|
|
964
975
|
});
|
|
965
|
-
function
|
|
976
|
+
function Ye({ defaultValue: e, value: t, onValueChange: n, children: r, className: i = "" }) {
|
|
966
977
|
let [a, o] = l(e || ""), s = t === void 0 ? a : t, c = n || o;
|
|
967
978
|
return /* @__PURE__ */ F(Z.Provider, {
|
|
968
979
|
value: {
|
|
@@ -975,13 +986,13 @@ function Je({ defaultValue: e, value: t, onValueChange: n, children: r, classNam
|
|
|
975
986
|
})
|
|
976
987
|
});
|
|
977
988
|
}
|
|
978
|
-
function
|
|
989
|
+
function Xe({ children: e, className: t = "" }) {
|
|
979
990
|
return /* @__PURE__ */ F("div", {
|
|
980
991
|
className: `tabs ${t}`,
|
|
981
992
|
children: e
|
|
982
993
|
});
|
|
983
994
|
}
|
|
984
|
-
function
|
|
995
|
+
function Ze({ value: e, children: t, className: n = "" }) {
|
|
985
996
|
let { value: r, onChange: i } = a(Z), o = r === e;
|
|
986
997
|
return /* @__PURE__ */ F("button", {
|
|
987
998
|
className: `tab ${o ? "active" : ""} ${n}`,
|
|
@@ -992,7 +1003,7 @@ function Xe({ value: e, children: t, className: n = "" }) {
|
|
|
992
1003
|
children: t
|
|
993
1004
|
});
|
|
994
1005
|
}
|
|
995
|
-
function
|
|
1006
|
+
function Qe({ value: e, children: t, className: n = "" }) {
|
|
996
1007
|
let { value: r } = a(Z);
|
|
997
1008
|
return r === e ? /* @__PURE__ */ F("div", {
|
|
998
1009
|
className: n,
|
|
@@ -1002,7 +1013,7 @@ function Ze({ value: e, children: t, className: n = "" }) {
|
|
|
1002
1013
|
}
|
|
1003
1014
|
//#endregion
|
|
1004
1015
|
//#region src/components/ui/Tooltip.jsx
|
|
1005
|
-
function
|
|
1016
|
+
function $e({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
1006
1017
|
let [i, a] = l(!1), o = c(null);
|
|
1007
1018
|
function s() {
|
|
1008
1019
|
o.current = setTimeout(() => a(!0), 300);
|
|
@@ -1026,7 +1037,7 @@ function Qe({ content: e, side: t = "top", children: n, className: r = "" }) {
|
|
|
1026
1037
|
}
|
|
1027
1038
|
//#endregion
|
|
1028
1039
|
//#region src/components/ui/viewModeDefaults.js
|
|
1029
|
-
var
|
|
1040
|
+
var et = {
|
|
1030
1041
|
kanban: S,
|
|
1031
1042
|
board: S,
|
|
1032
1043
|
columns: S,
|
|
@@ -1036,7 +1047,7 @@ var $e = {
|
|
|
1036
1047
|
grid: ee,
|
|
1037
1048
|
calendar: p,
|
|
1038
1049
|
map: O
|
|
1039
|
-
},
|
|
1050
|
+
}, tt = [{
|
|
1040
1051
|
value: "kanban",
|
|
1041
1052
|
label: "Kanban",
|
|
1042
1053
|
title: "Board View"
|
|
@@ -1047,13 +1058,13 @@ var $e = {
|
|
|
1047
1058
|
}];
|
|
1048
1059
|
//#endregion
|
|
1049
1060
|
//#region src/components/ui/ViewModeToggle.jsx
|
|
1050
|
-
function
|
|
1051
|
-
return e.icon ? e.icon :
|
|
1061
|
+
function nt(e) {
|
|
1062
|
+
return e.icon ? e.icon : et[e.value] ?? null;
|
|
1052
1063
|
}
|
|
1053
|
-
function
|
|
1064
|
+
function rt(e, n) {
|
|
1054
1065
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1055
1066
|
}
|
|
1056
|
-
function
|
|
1067
|
+
function it({ options: e = tt, value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "View mode", iconSize: u = 16, showLabels: d = !1, className: f = "", optionClassName: p = "" }) {
|
|
1057
1068
|
let m = c(null), h = c(null), g = c(/* @__PURE__ */ new Map()), [_, v] = l(n ?? e[0]?.value ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1058
1069
|
let e = h.current, t = g.current.get(y);
|
|
1059
1070
|
if (e) {
|
|
@@ -1115,7 +1126,7 @@ function rt({ options: e = et, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1115
1126
|
"aria-hidden": "true",
|
|
1116
1127
|
className: "view-mode-toggle-indicator"
|
|
1117
1128
|
}), e.map((e) => {
|
|
1118
|
-
let t = e.value === y, n = nt(
|
|
1129
|
+
let t = e.value === y, n = rt(nt(e), u);
|
|
1119
1130
|
return /* @__PURE__ */ I("button", {
|
|
1120
1131
|
type: "button",
|
|
1121
1132
|
"aria-pressed": t,
|
|
@@ -1145,10 +1156,10 @@ function rt({ options: e = et, value: t, defaultValue: n, onValueChange: r, aria
|
|
|
1145
1156
|
}
|
|
1146
1157
|
//#endregion
|
|
1147
1158
|
//#region src/components/ui/WorkspaceTabs.jsx
|
|
1148
|
-
function
|
|
1159
|
+
function at(e, n) {
|
|
1149
1160
|
return e ? r(e) ? e : t(e, { size: n }) : null;
|
|
1150
1161
|
}
|
|
1151
|
-
function
|
|
1162
|
+
function ot({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLabel: a = "Workspace tabs", iconSize: u = 14, variant: d = "plain", className: f = "", itemClassName: p = "" }) {
|
|
1152
1163
|
let m = c(null), h = c(null), g = c(/* @__PURE__ */ new Map()), [_, v] = l(n ?? e[0]?.id ?? ""), y = t === void 0 ? _ : t, b = i(() => {
|
|
1153
1164
|
let e = h.current, t = g.current.get(y);
|
|
1154
1165
|
if (e) {
|
|
@@ -1210,7 +1221,7 @@ function at({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1210
1221
|
"aria-hidden": "true",
|
|
1211
1222
|
className: "workspace-tabs-indicator"
|
|
1212
1223
|
}), e.map((e) => {
|
|
1213
|
-
let t = e.id === y, n =
|
|
1224
|
+
let t = e.id === y, n = at(e.icon, u);
|
|
1214
1225
|
return /* @__PURE__ */ I("button", {
|
|
1215
1226
|
type: "button",
|
|
1216
1227
|
role: "tab",
|
|
@@ -1247,7 +1258,7 @@ function at({ items: e = [], value: t, defaultValue: n, onValueChange: r, ariaLa
|
|
|
1247
1258
|
}
|
|
1248
1259
|
//#endregion
|
|
1249
1260
|
//#region src/components/data/ActivityFeed.jsx
|
|
1250
|
-
function
|
|
1261
|
+
function st({ items: e = [], className: t = "" }) {
|
|
1251
1262
|
return /* @__PURE__ */ F("div", {
|
|
1252
1263
|
className: `activity-feed ${t}`,
|
|
1253
1264
|
children: e.map((e, t) => /* @__PURE__ */ I("div", {
|
|
@@ -1286,7 +1297,7 @@ function ot({ items: e = [], className: t = "" }) {
|
|
|
1286
1297
|
}
|
|
1287
1298
|
//#endregion
|
|
1288
1299
|
//#region src/components/data/CommandBar.jsx
|
|
1289
|
-
function
|
|
1300
|
+
function ct({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i = "Type a command or search..." }) {
|
|
1290
1301
|
let [a, s] = l(""), [u, d] = l(0), f = c(null);
|
|
1291
1302
|
if (o(() => {
|
|
1292
1303
|
if (e) {
|
|
@@ -1370,7 +1381,7 @@ function st({ open: e, onClose: t, groups: n = [], onSelect: r, placeholder: i =
|
|
|
1370
1381
|
}
|
|
1371
1382
|
//#endregion
|
|
1372
1383
|
//#region src/components/data/DataTable.jsx
|
|
1373
|
-
function
|
|
1384
|
+
function lt({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
1374
1385
|
let [i, a] = l(null), [o, s] = l("asc");
|
|
1375
1386
|
function c(e) {
|
|
1376
1387
|
i === e ? s((e) => e === "asc" ? "desc" : "asc") : (a(e), s("asc"));
|
|
@@ -1411,7 +1422,7 @@ function ct({ columns: e, data: t, onRowClick: n, className: r = "" }) {
|
|
|
1411
1422
|
}
|
|
1412
1423
|
//#endregion
|
|
1413
1424
|
//#region src/components/data/FilterBar.jsx
|
|
1414
|
-
function
|
|
1425
|
+
function ut({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAll: r, children: i, className: a = "" }) {
|
|
1415
1426
|
let o = n.some((e) => e.active);
|
|
1416
1427
|
return /* @__PURE__ */ I("div", {
|
|
1417
1428
|
className: `filter-bar ${a}`,
|
|
@@ -1464,14 +1475,14 @@ function lt({ searchValue: e = "", onSearchChange: t, filters: n = [], onClearAl
|
|
|
1464
1475
|
function Q(...e) {
|
|
1465
1476
|
return e.filter(Boolean).join(" ");
|
|
1466
1477
|
}
|
|
1467
|
-
function
|
|
1478
|
+
function dt({ children: e, className: t = "", style: n }) {
|
|
1468
1479
|
return /* @__PURE__ */ F("div", {
|
|
1469
1480
|
className: Q("kanban-board", t),
|
|
1470
1481
|
style: n,
|
|
1471
1482
|
children: e
|
|
1472
1483
|
});
|
|
1473
1484
|
}
|
|
1474
|
-
function
|
|
1485
|
+
function ft({ 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 }) {
|
|
1475
1486
|
return /* @__PURE__ */ I("div", {
|
|
1476
1487
|
className: Q("kanban-column", o),
|
|
1477
1488
|
style: s,
|
|
@@ -1501,7 +1512,7 @@ function dt({ title: e, count: t, color: n, headerAction: r = null, countVariant
|
|
|
1501
1512
|
})]
|
|
1502
1513
|
});
|
|
1503
1514
|
}
|
|
1504
|
-
function
|
|
1515
|
+
function pt({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd: a, children: o, onClick: s, className: c = "", style: l }) {
|
|
1505
1516
|
let u = a ?? r;
|
|
1506
1517
|
return /* @__PURE__ */ F("div", {
|
|
1507
1518
|
className: Q("kanban-card", c),
|
|
@@ -1537,13 +1548,13 @@ function ft({ title: e, subtitle: t, badges: n, avatar: r, footer: i, footerEnd:
|
|
|
1537
1548
|
function $(...e) {
|
|
1538
1549
|
return e.filter(Boolean).join(" ");
|
|
1539
1550
|
}
|
|
1540
|
-
function
|
|
1551
|
+
function mt({ children: e, className: t = "" }) {
|
|
1541
1552
|
return /* @__PURE__ */ F("div", {
|
|
1542
1553
|
className: $("table-board", t),
|
|
1543
1554
|
children: e
|
|
1544
1555
|
});
|
|
1545
1556
|
}
|
|
1546
|
-
function
|
|
1557
|
+
function ht({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0, onOpenChange: a, children: o, className: s = "" }) {
|
|
1547
1558
|
let [c, u] = l(i), d = r != null, f = d ? r : c;
|
|
1548
1559
|
function p() {
|
|
1549
1560
|
let e = !f;
|
|
@@ -1580,7 +1591,7 @@ function mt({ title: e, count: t, accentColor: n, open: r, defaultOpen: i = !0,
|
|
|
1580
1591
|
})]
|
|
1581
1592
|
});
|
|
1582
1593
|
}
|
|
1583
|
-
function
|
|
1594
|
+
function gt({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title: r, subtitle: i, subtitleInline: a = !1, pills: s = [], maxVisibleLeadingPills: u, pinnedTrailingPillsCount: d = 0, metric: f, showMetricIcon: p = !0, avatar: m, avatarImageUrl: h, avatarLabel: g, avatarName: _, avatarStyle: v, meta: y, onClick: b, className: S = "" }) {
|
|
1584
1595
|
let C = typeof b == "function", w = c(null), [ee, T] = l(!1), E = Array.isArray(s) ? s : [], D = Math.max(0, Math.min(d, E.length)), O = D > 0 ? E.slice(0, -D) : E, k = D > 0 ? E.slice(-D) : [], A = typeof u == "number" && u >= 0 ? O.slice(0, u) : O, j = Math.max(0, O.length - A.length), M = [
|
|
1585
1596
|
...A,
|
|
1586
1597
|
...j > 0 ? [{
|
|
@@ -1679,7 +1690,7 @@ function ht({ priority: e, id: t, statusColor: n = "var(--accent-yellow)", title
|
|
|
1679
1690
|
}
|
|
1680
1691
|
//#endregion
|
|
1681
1692
|
//#region src/components/data/KPICard.jsx
|
|
1682
|
-
function
|
|
1693
|
+
function _t({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral", icon: a, className: o = "" }) {
|
|
1683
1694
|
let s = {
|
|
1684
1695
|
up: "var(--accent-green)",
|
|
1685
1696
|
down: "var(--accent-red)",
|
|
@@ -1720,7 +1731,7 @@ function gt({ title: e, value: t, change: n, changeLabel: r, trend: i = "neutral
|
|
|
1720
1731
|
]
|
|
1721
1732
|
});
|
|
1722
1733
|
}
|
|
1723
|
-
function
|
|
1734
|
+
function vt({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
1724
1735
|
return /* @__PURE__ */ I("div", {
|
|
1725
1736
|
className: `stat-card ${i}`,
|
|
1726
1737
|
children: [r && /* @__PURE__ */ F("div", {
|
|
@@ -1747,7 +1758,7 @@ function _t({ label: e, value: t, subtitle: n, color: r, className: i = "" }) {
|
|
|
1747
1758
|
}
|
|
1748
1759
|
//#endregion
|
|
1749
1760
|
//#region src/components/data/NotificationsPanel.jsx
|
|
1750
|
-
function
|
|
1761
|
+
function yt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className: r = "" }) {
|
|
1751
1762
|
let i = e.filter((e) => !e.read);
|
|
1752
1763
|
return /* @__PURE__ */ I("div", {
|
|
1753
1764
|
className: `notifications-panel ${r}`,
|
|
@@ -1804,7 +1815,7 @@ function vt({ notifications: e = [], onMarkRead: t, onMarkAllRead: n, className:
|
|
|
1804
1815
|
}
|
|
1805
1816
|
//#endregion
|
|
1806
1817
|
//#region src/components/Icons.jsx
|
|
1807
|
-
function
|
|
1818
|
+
function bt() {
|
|
1808
1819
|
return /* @__PURE__ */ F("svg", {
|
|
1809
1820
|
width: "16",
|
|
1810
1821
|
height: "16",
|
|
@@ -1813,7 +1824,7 @@ function yt() {
|
|
|
1813
1824
|
children: /* @__PURE__ */ F("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" })
|
|
1814
1825
|
});
|
|
1815
1826
|
}
|
|
1816
|
-
function
|
|
1827
|
+
function xt() {
|
|
1817
1828
|
return /* @__PURE__ */ I("svg", {
|
|
1818
1829
|
width: "16",
|
|
1819
1830
|
height: "16",
|
|
@@ -1833,7 +1844,7 @@ function bt() {
|
|
|
1833
1844
|
})]
|
|
1834
1845
|
});
|
|
1835
1846
|
}
|
|
1836
|
-
function
|
|
1847
|
+
function St() {
|
|
1837
1848
|
return /* @__PURE__ */ F("svg", {
|
|
1838
1849
|
width: "16",
|
|
1839
1850
|
height: "16",
|
|
@@ -1842,7 +1853,7 @@ function xt() {
|
|
|
1842
1853
|
children: /* @__PURE__ */ F("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" })
|
|
1843
1854
|
});
|
|
1844
1855
|
}
|
|
1845
|
-
function
|
|
1856
|
+
function Ct() {
|
|
1846
1857
|
return /* @__PURE__ */ F("svg", {
|
|
1847
1858
|
width: "16",
|
|
1848
1859
|
height: "16",
|
|
@@ -1855,7 +1866,7 @@ function St() {
|
|
|
1855
1866
|
children: /* @__PURE__ */ F("path", { d: "M1 8h3l2-5 2 10 2-5h3" })
|
|
1856
1867
|
});
|
|
1857
1868
|
}
|
|
1858
|
-
function
|
|
1869
|
+
function wt() {
|
|
1859
1870
|
return /* @__PURE__ */ F("svg", {
|
|
1860
1871
|
width: "16",
|
|
1861
1872
|
height: "16",
|
|
@@ -1864,7 +1875,7 @@ function Ct() {
|
|
|
1864
1875
|
children: /* @__PURE__ */ F("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" })
|
|
1865
1876
|
});
|
|
1866
1877
|
}
|
|
1867
|
-
function
|
|
1878
|
+
function Tt() {
|
|
1868
1879
|
return /* @__PURE__ */ F("svg", {
|
|
1869
1880
|
width: "16",
|
|
1870
1881
|
height: "16",
|
|
@@ -1873,7 +1884,7 @@ function wt() {
|
|
|
1873
1884
|
children: /* @__PURE__ */ F("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" })
|
|
1874
1885
|
});
|
|
1875
1886
|
}
|
|
1876
|
-
function
|
|
1887
|
+
function Et() {
|
|
1877
1888
|
return /* @__PURE__ */ I("svg", {
|
|
1878
1889
|
width: "16",
|
|
1879
1890
|
height: "16",
|
|
@@ -1898,7 +1909,7 @@ function Tt() {
|
|
|
1898
1909
|
]
|
|
1899
1910
|
});
|
|
1900
1911
|
}
|
|
1901
|
-
function
|
|
1912
|
+
function Dt() {
|
|
1902
1913
|
return /* @__PURE__ */ I("svg", {
|
|
1903
1914
|
width: "16",
|
|
1904
1915
|
height: "16",
|
|
@@ -1916,7 +1927,7 @@ function Et() {
|
|
|
1916
1927
|
})]
|
|
1917
1928
|
});
|
|
1918
1929
|
}
|
|
1919
|
-
function
|
|
1930
|
+
function Ot() {
|
|
1920
1931
|
return /* @__PURE__ */ F("svg", {
|
|
1921
1932
|
width: "16",
|
|
1922
1933
|
height: "16",
|
|
@@ -1929,7 +1940,7 @@ function Dt() {
|
|
|
1929
1940
|
children: /* @__PURE__ */ F("path", { d: "M11 2l3 3-8 8H3v-3l8-8Z" })
|
|
1930
1941
|
});
|
|
1931
1942
|
}
|
|
1932
|
-
function
|
|
1943
|
+
function kt() {
|
|
1933
1944
|
return /* @__PURE__ */ F("svg", {
|
|
1934
1945
|
width: "14",
|
|
1935
1946
|
height: "14",
|
|
@@ -1942,7 +1953,7 @@ function Ot() {
|
|
|
1942
1953
|
children: /* @__PURE__ */ F("path", { d: "M3.5 5.5L7 9l3.5-3.5" })
|
|
1943
1954
|
});
|
|
1944
1955
|
}
|
|
1945
|
-
function
|
|
1956
|
+
function At() {
|
|
1946
1957
|
return /* @__PURE__ */ F("svg", {
|
|
1947
1958
|
width: "14",
|
|
1948
1959
|
height: "14",
|
|
@@ -1955,7 +1966,7 @@ function kt() {
|
|
|
1955
1966
|
children: /* @__PURE__ */ F("path", { d: "M3.5 9L7 5.5 10.5 9" })
|
|
1956
1967
|
});
|
|
1957
1968
|
}
|
|
1958
|
-
function
|
|
1969
|
+
function jt() {
|
|
1959
1970
|
return /* @__PURE__ */ F("svg", {
|
|
1960
1971
|
width: "14",
|
|
1961
1972
|
height: "14",
|
|
@@ -1964,7 +1975,7 @@ function At() {
|
|
|
1964
1975
|
children: /* @__PURE__ */ F("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" })
|
|
1965
1976
|
});
|
|
1966
1977
|
}
|
|
1967
|
-
function
|
|
1978
|
+
function Mt() {
|
|
1968
1979
|
return /* @__PURE__ */ I("svg", {
|
|
1969
1980
|
width: "14",
|
|
1970
1981
|
height: "14",
|
|
@@ -1985,7 +1996,7 @@ function jt() {
|
|
|
1985
1996
|
})]
|
|
1986
1997
|
});
|
|
1987
1998
|
}
|
|
1988
|
-
function
|
|
1999
|
+
function Nt() {
|
|
1989
2000
|
return /* @__PURE__ */ I("svg", {
|
|
1990
2001
|
width: "14",
|
|
1991
2002
|
height: "14",
|
|
@@ -2005,7 +2016,7 @@ function Mt() {
|
|
|
2005
2016
|
})]
|
|
2006
2017
|
});
|
|
2007
2018
|
}
|
|
2008
|
-
function
|
|
2019
|
+
function Pt() {
|
|
2009
2020
|
return /* @__PURE__ */ F("svg", {
|
|
2010
2021
|
width: "14",
|
|
2011
2022
|
height: "14",
|
|
@@ -2020,7 +2031,7 @@ function Nt() {
|
|
|
2020
2031
|
})
|
|
2021
2032
|
});
|
|
2022
2033
|
}
|
|
2023
|
-
function
|
|
2034
|
+
function Ft() {
|
|
2024
2035
|
return /* @__PURE__ */ F("svg", {
|
|
2025
2036
|
width: "14",
|
|
2026
2037
|
height: "14",
|
|
@@ -2036,7 +2047,7 @@ function Pt() {
|
|
|
2036
2047
|
})
|
|
2037
2048
|
});
|
|
2038
2049
|
}
|
|
2039
|
-
function
|
|
2050
|
+
function It() {
|
|
2040
2051
|
return /* @__PURE__ */ I("svg", {
|
|
2041
2052
|
width: "14",
|
|
2042
2053
|
height: "14",
|
|
@@ -2056,7 +2067,7 @@ function Ft() {
|
|
|
2056
2067
|
})]
|
|
2057
2068
|
});
|
|
2058
2069
|
}
|
|
2059
|
-
function
|
|
2070
|
+
function Lt() {
|
|
2060
2071
|
return /* @__PURE__ */ F("svg", {
|
|
2061
2072
|
width: "14",
|
|
2062
2073
|
height: "14",
|
|
@@ -2065,7 +2076,7 @@ function It() {
|
|
|
2065
2076
|
children: /* @__PURE__ */ F("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" })
|
|
2066
2077
|
});
|
|
2067
2078
|
}
|
|
2068
|
-
function
|
|
2079
|
+
function Rt() {
|
|
2069
2080
|
return /* @__PURE__ */ I("svg", {
|
|
2070
2081
|
width: "14",
|
|
2071
2082
|
height: "14",
|
|
@@ -2096,7 +2107,7 @@ function Lt() {
|
|
|
2096
2107
|
]
|
|
2097
2108
|
});
|
|
2098
2109
|
}
|
|
2099
|
-
function
|
|
2110
|
+
function zt() {
|
|
2100
2111
|
return /* @__PURE__ */ I("svg", {
|
|
2101
2112
|
width: "14",
|
|
2102
2113
|
height: "14",
|
|
@@ -2129,7 +2140,7 @@ function Rt() {
|
|
|
2129
2140
|
]
|
|
2130
2141
|
});
|
|
2131
2142
|
}
|
|
2132
|
-
function
|
|
2143
|
+
function Bt() {
|
|
2133
2144
|
return /* @__PURE__ */ I("svg", {
|
|
2134
2145
|
width: "14",
|
|
2135
2146
|
height: "14",
|
|
@@ -2162,7 +2173,7 @@ function zt() {
|
|
|
2162
2173
|
]
|
|
2163
2174
|
});
|
|
2164
2175
|
}
|
|
2165
|
-
function
|
|
2176
|
+
function Vt() {
|
|
2166
2177
|
return /* @__PURE__ */ F("svg", {
|
|
2167
2178
|
width: "14",
|
|
2168
2179
|
height: "14",
|
|
@@ -2174,7 +2185,7 @@ function Bt() {
|
|
|
2174
2185
|
children: /* @__PURE__ */ F("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" })
|
|
2175
2186
|
});
|
|
2176
2187
|
}
|
|
2177
|
-
function
|
|
2188
|
+
function Ht() {
|
|
2178
2189
|
return /* @__PURE__ */ F("svg", {
|
|
2179
2190
|
width: "14",
|
|
2180
2191
|
height: "14",
|
|
@@ -2187,7 +2198,7 @@ function Vt() {
|
|
|
2187
2198
|
children: /* @__PURE__ */ F("path", { d: "M2.5 4h9M5 4V2.5h4V4m-4.5 1v5.5m3-5.5v5.5M3.5 4l.5 8h6l.5-8" })
|
|
2188
2199
|
});
|
|
2189
2200
|
}
|
|
2190
|
-
function
|
|
2201
|
+
function Ut() {
|
|
2191
2202
|
return /* @__PURE__ */ I("svg", {
|
|
2192
2203
|
width: "14",
|
|
2193
2204
|
height: "14",
|
|
@@ -2204,7 +2215,7 @@ function Ht() {
|
|
|
2204
2215
|
})]
|
|
2205
2216
|
});
|
|
2206
2217
|
}
|
|
2207
|
-
function
|
|
2218
|
+
function Wt() {
|
|
2208
2219
|
return /* @__PURE__ */ F("svg", {
|
|
2209
2220
|
width: "14",
|
|
2210
2221
|
height: "14",
|
|
@@ -2216,7 +2227,7 @@ function Ut() {
|
|
|
2216
2227
|
children: /* @__PURE__ */ F("path", { d: "M3.5 3.5l7 7M10.5 3.5l-7 7" })
|
|
2217
2228
|
});
|
|
2218
2229
|
}
|
|
2219
|
-
function
|
|
2230
|
+
function Gt() {
|
|
2220
2231
|
return /* @__PURE__ */ F("svg", {
|
|
2221
2232
|
width: "14",
|
|
2222
2233
|
height: "14",
|
|
@@ -2229,7 +2240,7 @@ function Wt() {
|
|
|
2229
2240
|
children: /* @__PURE__ */ F("path", { d: "M3 7.5l3 3 5-6" })
|
|
2230
2241
|
});
|
|
2231
2242
|
}
|
|
2232
|
-
function
|
|
2243
|
+
function Kt() {
|
|
2233
2244
|
return /* @__PURE__ */ I("svg", {
|
|
2234
2245
|
width: "14",
|
|
2235
2246
|
height: "14",
|
|
@@ -2248,7 +2259,7 @@ function Gt() {
|
|
|
2248
2259
|
}), /* @__PURE__ */ F("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" })]
|
|
2249
2260
|
});
|
|
2250
2261
|
}
|
|
2251
|
-
function
|
|
2262
|
+
function qt() {
|
|
2252
2263
|
return /* @__PURE__ */ F("svg", {
|
|
2253
2264
|
width: "14",
|
|
2254
2265
|
height: "14",
|
|
@@ -2261,7 +2272,7 @@ function Kt() {
|
|
|
2261
2272
|
children: /* @__PURE__ */ F("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" })
|
|
2262
2273
|
});
|
|
2263
2274
|
}
|
|
2264
|
-
function
|
|
2275
|
+
function Jt() {
|
|
2265
2276
|
return /* @__PURE__ */ I("svg", {
|
|
2266
2277
|
width: "14",
|
|
2267
2278
|
height: "14",
|
|
@@ -2280,7 +2291,7 @@ function qt() {
|
|
|
2280
2291
|
}), /* @__PURE__ */ F("path", { d: "M4.5 1v2.5M9.5 1v2.5M1.5 5.5h11" })]
|
|
2281
2292
|
});
|
|
2282
2293
|
}
|
|
2283
|
-
function
|
|
2294
|
+
function Yt() {
|
|
2284
2295
|
return /* @__PURE__ */ F("svg", {
|
|
2285
2296
|
width: "14",
|
|
2286
2297
|
height: "14",
|
|
@@ -2293,7 +2304,7 @@ function Jt() {
|
|
|
2293
2304
|
children: /* @__PURE__ */ F("path", { d: "M1.5 3h11M3.5 7h7M5.5 11h3" })
|
|
2294
2305
|
});
|
|
2295
2306
|
}
|
|
2296
|
-
function
|
|
2307
|
+
function Xt() {
|
|
2297
2308
|
return /* @__PURE__ */ I("svg", {
|
|
2298
2309
|
width: "14",
|
|
2299
2310
|
height: "14",
|
|
@@ -2311,7 +2322,7 @@ function Yt() {
|
|
|
2311
2322
|
})]
|
|
2312
2323
|
});
|
|
2313
2324
|
}
|
|
2314
|
-
function
|
|
2325
|
+
function Zt() {
|
|
2315
2326
|
return /* @__PURE__ */ I("svg", {
|
|
2316
2327
|
width: "14",
|
|
2317
2328
|
height: "14",
|
|
@@ -2330,4 +2341,4 @@ function Xt() {
|
|
|
2330
2341
|
});
|
|
2331
2342
|
}
|
|
2332
2343
|
//#endregion
|
|
2333
|
-
export { ge as Accordion, he as AccordionItem,
|
|
2344
|
+
export { ge as Accordion, he as AccordionItem, st as ActivityFeed, _e as AppLoader, X as Avatar, Ce as Badge, qt as BellIcon, Ee as Button, Jt as CalendarIcon, Oe as Card, Me as CardContent, je as CardDescription, Ne as CardFooter, ke as CardHeader, Ae as CardTitle, Gt as CheckIcon, kt as ChevronDown, At as ChevronUp, Wt as CloseIcon, ct as CommandBar, Kt as CopyIcon, et as DEFAULT_ICON_BY_VALUE, tt as DEFAULT_VIEW_MODE_OPTIONS, lt as DataTable, Pe as Dialog, Re as DialogBody, Le as DialogDescription, ze as DialogFooter, Fe as DialogHeader, Ie as DialogTitle, Be as DropdownMenu, He as DropdownMenuCheckboxItem, Ve as DropdownMenuItem, Ue as DropdownMenuLabel, We as DropdownMenuSeparator, Ot as EditIcon, fe as FCCAppShell, pe as FCCBrandLogo, U as FCCBreadcrumbs, ce as FCCDesignProvider, G as FCCHeaderStatus, q as FCCMainWindow, Y as FCCSidebar, me as FCCThemeToggle, K as FCCWorkspaceHeader, ut as FilterBar, Yt as FilterIcon, bt as InboxIcon, wt as InitiativesIcon, xt as IssuesIcon, _t as KPICard, dt as KanbanBoard, pt as KanbanCard, ft as KanbanColumn, Zt as LabelIcon, Vt as LinkIcon, Et as MoreIcon, yt as NotificationsPanel, Rt as PriorityHigh, Bt as PriorityLow, zt as PriorityMedium, Lt as PriorityUrgent, Tt as ProjectsIcon, Ct as PulseIcon, St as ReviewsIcon, Dt as SearchIcon, Ge as SearchableSelect, Ut as SettingsIcon, Ke as Sheet, qe as SheetFooter, ve as Spinner, jt as StarIcon, vt as StatCard, Ft as StatusBacklog, It as StatusCancelled, Nt as StatusDone, Mt as StatusInProgress, Pt as StatusTodo, Je as Switch, mt as TableBoard, ht as TableBoardGroup, gt as TableBoardRow, Ye as Tabs, Qe as TabsContent, Xe as TabsList, Ze as TabsTrigger, V as ThemeProvider, z as ToastProvider, $e as Tooltip, Ht as TrashIcon, Xt as UserIcon, it as ViewModeToggle, ot as WorkspaceTabs, H as useTheme, ie as useToast };
|