@uxuissk/design-system 0.8.7 → 0.8.8

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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as a, Fragment as ve } from "react/jsx-runtime";
2
- import ge, { forwardRef as Xe, useState as j, useCallback as Q, useRef as V, useContext as ct, createContext as ut, useEffect as ne, useMemo as se, useId as mr } from "react";
3
- import { Loader2 as Ze, X as ie, EyeOff as an, Eye as ln, AlertCircle as Pe, CheckCircle2 as $e, XCircle as hr, AlertTriangle as br, Info as pr, Minus as ft, Check as me, Calendar as gr, ChevronsLeft as Lt, ChevronLeft as Me, ChevronRight as fe, ChevronsRight as Ct, Clock as jt, MoreHorizontal as vr, Search as qe, ChevronUp as Je, ChevronDown as Ie, ChevronsUpDown as $t, Slash as sn, Dot as dn, Copy as Pt, Inbox as cn, Plus as Dt, Upload as nt, Image as un, Film as fn, FileText as mn, File as xr, ZoomOut as hn, ZoomIn as yr, RotateCw as bn, ExternalLink as pn, Bell as wr, BellOff as gn, Heart as vn, ThumbsUp as xn, Star as yn, PanelLeftOpen as wn, PanelLeftClose as Nn, ArrowUpRight as Nr, ArrowDownRight as $r, Circle as Yt, Menu as Gt, FolderOpen as $n, Folder as Sn, SlidersHorizontal as kn, Columns3 as zn, GripVertical as Fn, Trash2 as St, Link as Wn, Unlink as Mn, Heading2 as Ln, Quote as Cn, Code as jn, AlignLeft as Dn, AlignCenter as An, AlignRight as En, List as Sr, ListOrdered as In, Bold as Tn, Italic as Bn, Underline as _n, Strikethrough as Hn, Undo as Rn, Redo as On, Minimize2 as Pn, Maximize2 as Yn, Grid as Gn } from "lucide-react";
4
- import Un, { createPortal as Qe } from "react-dom";
2
+ import ge, { forwardRef as Ze, useState as j, useCallback as Q, useRef as V, useContext as ct, createContext as ut, useEffect as ne, useMemo as se, useId as mr } from "react";
3
+ import { Loader2 as Ke, X as ie, EyeOff as an, Eye as ln, AlertCircle as Pe, CheckCircle2 as $e, XCircle as hr, AlertTriangle as br, Info as pr, Minus as ft, Check as me, Calendar as gr, ChevronsLeft as Lt, ChevronLeft as Me, ChevronRight as fe, ChevronsRight as Ct, Clock as jt, MoreHorizontal as vr, Search as Xe, ChevronUp as qe, ChevronDown as Ie, ChevronsUpDown as $t, Slash as sn, Dot as dn, Copy as Pt, Inbox as cn, Plus as Dt, Upload as nt, Image as un, Film as fn, FileText as mn, File as xr, ZoomOut as hn, ZoomIn as yr, RotateCw as bn, ExternalLink as pn, Bell as wr, BellOff as gn, Heart as vn, ThumbsUp as xn, Star as yn, PanelLeftOpen as wn, PanelLeftClose as Nn, ArrowUpRight as Nr, ArrowDownRight as $r, Circle as Yt, Menu as Gt, FolderOpen as $n, Folder as Sn, SlidersHorizontal as kn, Columns3 as zn, GripVertical as Fn, Trash2 as St, Link as Wn, Unlink as Mn, Heading2 as Ln, Quote as Cn, Code as jn, AlignLeft as Dn, AlignCenter as An, AlignRight as En, List as Sr, ListOrdered as In, Bold as Tn, Italic as Bn, Underline as _n, Strikethrough as Hn, Undo as Rn, Redo as On, Minimize2 as Pn, Maximize2 as Yn, Grid as Gn } from "lucide-react";
4
+ import Un, { createPortal as Je } from "react-dom";
5
5
  const Kn = {
6
6
  sm: "h-8 px-3 gap-1.5",
7
7
  // 32px
@@ -28,7 +28,7 @@ const Kn = {
28
28
  ghost: "bg-transparent text-foreground border border-transparent hover:bg-muted active:bg-muted/80",
29
29
  destructive: "bg-destructive text-destructive-foreground border border-destructive hover:bg-destructive/90 active:bg-destructive/80 shadow-elevation-sm",
30
30
  link: "bg-transparent text-primary border border-transparent underline-offset-4 hover:underline px-0 h-auto"
31
- }, Xn = Xe(
31
+ }, Xn = Ze(
32
32
  ({
33
33
  variant: t = "primary",
34
34
  size: r = "md",
@@ -61,7 +61,7 @@ const Kn = {
61
61
  style: Zn[r],
62
62
  ...v,
63
63
  children: n ? /* @__PURE__ */ a(ve, { children: [
64
- /* @__PURE__ */ e(Ze, { size: kr[r], className: "animate-spin flex-shrink-0" }),
64
+ /* @__PURE__ */ e(Ke, { size: kr[r], className: "animate-spin flex-shrink-0" }),
65
65
  o && /* @__PURE__ */ e("span", { children: o })
66
66
  ] }) : /* @__PURE__ */ a(ve, { children: [
67
67
  l && /* @__PURE__ */ e("span", { className: "flex-shrink-0", children: l }),
@@ -73,7 +73,7 @@ const Kn = {
73
73
  }
74
74
  );
75
75
  Xn.displayName = "DSButton";
76
- const qn = Xe(
76
+ const qn = Ze(
77
77
  ({
78
78
  variant: t = "ghost",
79
79
  size: r = "md",
@@ -106,13 +106,13 @@ const qn = Xe(
106
106
  ${i}
107
107
  `,
108
108
  ...d,
109
- children: n ? /* @__PURE__ */ e(Ze, { size: kr[r], className: "animate-spin" }) : o
109
+ children: n ? /* @__PURE__ */ e(Ke, { size: kr[r], className: "animate-spin" }) : o
110
110
  }
111
111
  );
112
112
  }
113
113
  );
114
114
  qn.displayName = "IconButton";
115
- function bi({
115
+ function pi({
116
116
  children: t,
117
117
  className: r = ""
118
118
  }) {
@@ -170,7 +170,7 @@ const Fr = {
170
170
  fontFamily: "var(--font-label)",
171
171
  fontSize: "var(--text-label)",
172
172
  fontWeight: "var(--weight-label)"
173
- }, Jn = Xe(
173
+ }, Jn = Ze(
174
174
  ({
175
175
  label: t,
176
176
  helperText: r,
@@ -285,7 +285,7 @@ const Fr = {
285
285
  }
286
286
  );
287
287
  Jn.displayName = "DSInput";
288
- const Qn = Xe(
288
+ const Qn = Ze(
289
289
  ({
290
290
  label: t,
291
291
  helperText: r,
@@ -395,14 +395,14 @@ function Lr({ variant: t = "info", title: r, children: n, dismissible: o = !1, o
395
395
  o && /* @__PURE__ */ e("button", { onClick: v, className: "flex-shrink-0 text-muted-foreground hover:text-foreground transition-colors cursor-pointer", "aria-label": "Dismiss", children: /* @__PURE__ */ e(ie, { size: 16 }) })
396
396
  ] });
397
397
  }
398
- let Cr = [], Ue = [];
398
+ let Cr = [], Ge = [];
399
399
  function Ut() {
400
- Cr.forEach((t) => t([...Ue]));
400
+ Cr.forEach((t) => t([...Ge]));
401
401
  }
402
402
  const He = {
403
403
  show: (t) => {
404
404
  const r = { ...t, id: `toast-${Date.now()}-${Math.random().toString(36).slice(2)}` };
405
- Ue = [...Ue, r], Ut(), setTimeout(() => {
405
+ Ge = [...Ge, r], Ut(), setTimeout(() => {
406
406
  He.dismiss(r.id);
407
407
  }, t.duration ?? 4e3);
408
408
  },
@@ -411,7 +411,7 @@ const He = {
411
411
  warning: (t, r) => He.show({ variant: "warning", message: t, title: r }),
412
412
  error: (t, r) => He.show({ variant: "error", message: t, title: r }),
413
413
  dismiss: (t) => {
414
- Ue = Ue.filter((r) => r.id !== t), Ut();
414
+ Ge = Ge.filter((r) => r.id !== t), Ut();
415
415
  }
416
416
  };
417
417
  function eo() {
@@ -461,7 +461,7 @@ const to = {
461
461
  success: "bg-chart-2",
462
462
  warning: "bg-chart-5"
463
463
  };
464
- function pi({
464
+ function gi({
465
465
  children: t,
466
466
  variant: r = "default",
467
467
  size: n = "md",
@@ -569,7 +569,7 @@ function st({
569
569
  ] })
570
570
  ] });
571
571
  }
572
- function gi({ label: t, children: r, direction: n = "vertical", className: o = "" }) {
572
+ function vi({ label: t, children: r, direction: n = "vertical", className: o = "" }) {
573
573
  return /* @__PURE__ */ a("fieldset", { className: `${o}`, children: [
574
574
  t && /* @__PURE__ */ e("legend", { className: "text-foreground mb-2 block", style: { fontFamily: "var(--font-label)", fontSize: "var(--text-label)", fontWeight: "var(--weight-button)" }, children: t }),
575
575
  /* @__PURE__ */ e("div", { className: `flex ${n === "vertical" ? "flex-col gap-3" : "flex-wrap gap-4"}`, children: r })
@@ -595,7 +595,7 @@ const jr = ut(null), ao = {
595
595
  descStyle: { fontFamily: "var(--font-label)", fontSize: "var(--text-label)", fontWeight: "var(--weight-label)" }
596
596
  }
597
597
  };
598
- function vi({ value: t, label: r, description: n, disabled: o, size: l, className: i = "" }) {
598
+ function xi({ value: t, label: r, description: n, disabled: o, size: l, className: i = "" }) {
599
599
  const d = ct(jr), c = d ? d.value === t : !1, s = o ?? (d == null ? void 0 : d.disabled) ?? !1, f = l ?? (d == null ? void 0 : d.size) ?? "md", h = ao[f], v = () => {
600
600
  s || d == null || d.onChange(t);
601
601
  };
@@ -628,7 +628,7 @@ function vi({ value: t, label: r, description: n, disabled: o, size: l, classNam
628
628
  ] })
629
629
  ] });
630
630
  }
631
- function xi({
631
+ function yi({
632
632
  name: t,
633
633
  value: r,
634
634
  defaultValue: n = "",
@@ -664,7 +664,7 @@ const lo = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], bt = [
664
664
  "November",
665
665
  "December"
666
666
  ];
667
- function Ke(t, r) {
667
+ function Ue(t, r) {
668
668
  return t.getFullYear() === r.getFullYear() && t.getMonth() === r.getMonth() && t.getDate() === r.getDate();
669
669
  }
670
670
  function Kt(t, r, n) {
@@ -673,7 +673,7 @@ function Kt(t, r, n) {
673
673
  return o > r.getTime() && o < n.getTime();
674
674
  }
675
675
  function Zt(t, r, n, o) {
676
- return !!(r && t < new Date(r.getFullYear(), r.getMonth(), r.getDate()) || n && t > new Date(n.getFullYear(), n.getMonth(), n.getDate()) || o != null && o.some((l) => Ke(l, t)));
676
+ return !!(r && t < new Date(r.getFullYear(), r.getMonth(), r.getDate()) || n && t > new Date(n.getFullYear(), n.getMonth(), n.getDate()) || o != null && o.some((l) => Ue(l, t)));
677
677
  }
678
678
  function io(t, r) {
679
679
  return new Date(t, r + 1, 0).getDate();
@@ -684,7 +684,7 @@ function Xt(t, r) {
684
684
  for (let i = 1; i <= o; i++) l.push(new Date(t, r, i));
685
685
  return l;
686
686
  }
687
- function et(t, r) {
687
+ function Ve(t, r) {
688
688
  if (!t) return "";
689
689
  const n = String(t.getDate()).padStart(2, "0"), o = String(t.getMonth() + 1).padStart(2, "0"), l = t.getFullYear();
690
690
  let i = `${n}/${o}/${l}`;
@@ -735,7 +735,7 @@ const so = {
735
735
  error: "ring-2 ring-destructive/30 border-destructive",
736
736
  success: "ring-2 ring-chart-2/30 border-chart-2"
737
737
  };
738
- function yi({
738
+ function wi({
739
739
  value: t = null,
740
740
  rangeValue: r,
741
741
  onChange: n,
@@ -807,7 +807,7 @@ function yi({
807
807
  O.setHours(A, _), n == null || n(O);
808
808
  }
809
809
  M(!1), C("days");
810
- }, Fe = se(() => l === "single" ? et(t, x) : r != null && r.start && (r != null && r.end) ? `${et(r.start)} – ${et(r.end)}` : r != null && r.start ? `${et(r.start)} – ...` : "", [l, t, r, x]), Le = l === "single" ? !!t : !!(r != null && r.start || r != null && r.end), xe = y === "error" ? /* @__PURE__ */ e(Pe, { size: G.icon, className: "text-destructive flex-shrink-0" }) : y === "success" ? /* @__PURE__ */ e($e, { size: G.icon, className: "text-chart-2 flex-shrink-0" }) : null, Te = y === "error" ? s : y === "success" ? f : c, Ve = y === "error" ? "text-destructive" : y === "success" ? "text-chart-2" : "text-muted-foreground", mt = {
810
+ }, Fe = se(() => l === "single" ? Ve(t, x) : r != null && r.start && (r != null && r.end) ? `${Ve(r.start)} – ${Ve(r.end)}` : r != null && r.start ? `${Ve(r.start)} – ...` : "", [l, t, r, x]), Le = l === "single" ? !!t : !!(r != null && r.start || r != null && r.end), xe = y === "error" ? /* @__PURE__ */ e(Pe, { size: G.icon, className: "text-destructive flex-shrink-0" }) : y === "success" ? /* @__PURE__ */ e($e, { size: G.icon, className: "text-chart-2 flex-shrink-0" }) : null, Te = y === "error" ? s : y === "success" ? f : c, Qe = y === "error" ? "text-destructive" : y === "success" ? "text-chart-2" : "text-muted-foreground", mt = {
811
811
  fontFamily: "var(--font-label)",
812
812
  fontSize: "var(--text-label)",
813
813
  fontWeight: "var(--weight-label)"
@@ -855,8 +855,8 @@ function yi({
855
855
  ]
856
856
  }
857
857
  ),
858
- Te && /* @__PURE__ */ e("p", { className: `mt-1.5 ${Ve}`, style: { fontFamily: "var(--font-button)", fontSize: "var(--text-button)", fontWeight: "var(--weight-label)" }, children: Te }),
859
- W && K && Qe(
858
+ Te && /* @__PURE__ */ e("p", { className: `mt-1.5 ${Qe}`, style: { fontFamily: "var(--font-button)", fontSize: "var(--text-button)", fontWeight: "var(--weight-label)" }, children: Te }),
859
+ W && K && Je(
860
860
  /* @__PURE__ */ a(
861
861
  "div",
862
862
  {
@@ -919,7 +919,7 @@ function yi({
919
919
  )) }),
920
920
  /* @__PURE__ */ e("div", { className: "grid grid-cols-7", children: ye.map((oe, je) => {
921
921
  if (!oe) return /* @__PURE__ */ e("div", {}, `empty-${O}-${je}`);
922
- const be = Zt(oe, $, S, m), De = Ke(oe, re), Ae = l === "single" ? t && Ke(oe, t) : (r == null ? void 0 : r.start) && Ke(oe, r.start) || (r == null ? void 0 : r.end) && Ke(oe, r.end), Be = l === "range" && (Kt(oe, (r == null ? void 0 : r.start) ?? null, (r == null ? void 0 : r.end) ?? null) || (r == null ? void 0 : r.start) && !(r != null && r.end) && N && Kt(
922
+ const be = Zt(oe, $, S, m), De = Ue(oe, re), Ae = l === "single" ? t && Ue(oe, t) : (r == null ? void 0 : r.start) && Ue(oe, r.start) || (r == null ? void 0 : r.end) && Ue(oe, r.end), Be = l === "range" && (Kt(oe, (r == null ? void 0 : r.start) ?? null, (r == null ? void 0 : r.end) ?? null) || (r == null ? void 0 : r.start) && !(r != null && r.end) && N && Kt(
923
923
  oe,
924
924
  r.start,
925
925
  N > r.start ? N : null
@@ -1139,7 +1139,7 @@ function mo({
1139
1139
  )
1140
1140
  ] }) : null;
1141
1141
  }
1142
- function wi({
1142
+ function Ni({
1143
1143
  open: t,
1144
1144
  onClose: r,
1145
1145
  onConfirm: n,
@@ -1248,7 +1248,7 @@ function po(t, r, n) {
1248
1248
  ), "dots-right", r];
1249
1249
  }, [t, r, n]);
1250
1250
  }
1251
- function Ni({
1251
+ function $i({
1252
1252
  currentPage: t,
1253
1253
  totalPages: r,
1254
1254
  onPageChange: n,
@@ -1403,7 +1403,7 @@ const go = {
1403
1403
  outlined: "bg-transparent border-2 border-border focus-within:border-primary",
1404
1404
  filled: "bg-muted/50 border border-transparent focus-within:border-ring focus-within:bg-card"
1405
1405
  };
1406
- function $i({
1406
+ function Si({
1407
1407
  value: t,
1408
1408
  onChange: r,
1409
1409
  onSearch: n,
@@ -1435,7 +1435,7 @@ function $i({
1435
1435
  const E = { fontFamily: "var(--font-label)", fontSize: "var(--text-label)", fontWeight: "var(--weight-label)" }, C = { fontFamily: "var(--font-label)", fontSize: "var(--text-button)", fontWeight: "var(--weight-button)" };
1436
1436
  return /* @__PURE__ */ a("div", { ref: z, className: `relative ${u}`, children: [
1437
1437
  /* @__PURE__ */ a("div", { className: `relative rounded-[var(--radius-md)] transition-all ${vo[i]} ${h ? "opacity-50 pointer-events-none" : ""}`, children: [
1438
- /* @__PURE__ */ e("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none", children: /* @__PURE__ */ e(qe, { size: M.icon }) }),
1438
+ /* @__PURE__ */ e("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none", children: /* @__PURE__ */ e(Xe, { size: M.icon }) }),
1439
1439
  /* @__PURE__ */ e(
1440
1440
  "input",
1441
1441
  {
@@ -1453,7 +1453,7 @@ function $i({
1453
1453
  }
1454
1454
  ),
1455
1455
  /* @__PURE__ */ a("span", { className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-1", children: [
1456
- d && /* @__PURE__ */ e(Ze, { size: M.icon, className: "animate-spin text-muted-foreground" }),
1456
+ d && /* @__PURE__ */ e(Ke, { size: M.icon, className: "animate-spin text-muted-foreground" }),
1457
1457
  f && g && !d && /* @__PURE__ */ e(
1458
1458
  "button",
1459
1459
  {
@@ -1492,7 +1492,7 @@ const Ee = {
1492
1492
  md: "px-4 py-3",
1493
1493
  lg: "px-5 py-4"
1494
1494
  };
1495
- function Si({
1495
+ function ki({
1496
1496
  columns: t,
1497
1497
  data: r,
1498
1498
  size: n = "md",
@@ -1544,7 +1544,7 @@ function Si({
1544
1544
  onClick: () => A.sortable && M(A.key),
1545
1545
  children: /* @__PURE__ */ a("span", { className: "inline-flex items-center gap-1", children: [
1546
1546
  A.header,
1547
- A.sortable && /* @__PURE__ */ e("span", { className: "text-muted-foreground/50", children: b === A.key ? $ === "asc" ? /* @__PURE__ */ e(Je, { size: 14 }) : /* @__PURE__ */ e(Ie, { size: 14 }) : /* @__PURE__ */ e($t, { size: 12 }) })
1547
+ A.sortable && /* @__PURE__ */ e("span", { className: "text-muted-foreground/50", children: b === A.key ? $ === "asc" ? /* @__PURE__ */ e(qe, { size: 14 }) : /* @__PURE__ */ e(Ie, { size: 14 }) : /* @__PURE__ */ e($t, { size: 12 }) })
1548
1548
  ] })
1549
1549
  },
1550
1550
  A.key
@@ -1589,7 +1589,7 @@ const xo = {
1589
1589
  md: { fontFamily: "var(--font-label)", fontSize: "var(--text-p)", fontWeight: "var(--weight-p)", padding: "8px 16px" },
1590
1590
  lg: { fontFamily: "var(--font-label)", fontSize: "var(--text-h4)", fontWeight: "var(--weight-p)", padding: "10px 20px" }
1591
1591
  };
1592
- function ki({ tabs: t = [], variant: r = "default", size: n = "md", defaultTab: o, activeTab: l, onChange: i, fullWidth: d = !1, className: c = "" }) {
1592
+ function zi({ tabs: t = [], variant: r = "default", size: n = "md", defaultTab: o, activeTab: l, onChange: i, fullWidth: d = !1, className: c = "" }) {
1593
1593
  var S, m;
1594
1594
  const [s, f] = j(o ?? ((S = t[0]) == null ? void 0 : S.id) ?? ""), h = l ?? s, v = V(null), [y, u] = j({ left: 0, width: 0 }), p = (g) => {
1595
1595
  l || f(g), i == null || i(g);
@@ -1824,7 +1824,7 @@ const Mo = {
1824
1824
  fontWeight: "var(--weight-label)"
1825
1825
  }
1826
1826
  };
1827
- function zi({
1827
+ function Fi({
1828
1828
  items: t,
1829
1829
  separator: r = "chevron",
1830
1830
  size: n = "md",
@@ -1947,7 +1947,7 @@ const _o = {
1947
1947
  fontSize: "var(--text-button)",
1948
1948
  fontWeight: "var(--weight-label)"
1949
1949
  };
1950
- function Fi({
1950
+ function Wi({
1951
1951
  value: t,
1952
1952
  onChange: r,
1953
1953
  label: n,
@@ -2173,7 +2173,7 @@ const Go = {
2173
2173
  error: "!border-destructive ring-destructive/20",
2174
2174
  success: "!border-chart-2 ring-chart-2/20",
2175
2175
  warning: "!border-chart-5 ring-chart-5/20"
2176
- }, Zo = Xe(
2176
+ }, Zo = Ze(
2177
2177
  ({
2178
2178
  options: t,
2179
2179
  value: r,
@@ -2245,7 +2245,7 @@ const Go = {
2245
2245
  const U = P.group || "Other";
2246
2246
  D[U] || (D[U] = []), D[U].push(P);
2247
2247
  }), D;
2248
- }, [xe, S]), Ve = se(() => {
2248
+ }, [xe, S]), Qe = se(() => {
2249
2249
  var D;
2250
2250
  return x && Array.isArray(Y) ? Y.map((P) => {
2251
2251
  var U;
@@ -2339,7 +2339,7 @@ const Go = {
2339
2339
  }, 50), H && ae(-1);
2340
2340
  }, [H, p]);
2341
2341
  const Ae = x ? Array.isArray(Y) && Y.length > 0 : !!Y, Be = c ? "error" : v, rn = () => {
2342
- const D = Ve, P = W && W > 0 ? W : D.length, U = D.slice(0, P), _e = D.length - U.length;
2342
+ const D = Qe, P = W && W > 0 ? W : D.length, U = D.slice(0, P), _e = D.length - U.length;
2343
2343
  return /* @__PURE__ */ a("span", { className: "flex flex-wrap gap-1", children: [
2344
2344
  U.map((ht) => /* @__PURE__ */ a(
2345
2345
  "span",
@@ -2483,8 +2483,8 @@ const Go = {
2483
2483
  `,
2484
2484
  style: Z.textStyle,
2485
2485
  children: [
2486
- u ? /* @__PURE__ */ e(Ze, { size: Z.icon, className: "animate-spin text-muted-foreground" }) : null,
2487
- /* @__PURE__ */ e("span", { className: `flex-1 text-left min-w-0 ${x ? "" : "truncate"} ${Ae ? "text-foreground" : "text-muted-foreground"}`, children: Ae ? x ? rn() : Ve[0] : l }),
2486
+ u ? /* @__PURE__ */ e(Ke, { size: Z.icon, className: "animate-spin text-muted-foreground" }) : null,
2487
+ /* @__PURE__ */ e("span", { className: `flex-1 text-left min-w-0 ${x ? "" : "truncate"} ${Ae ? "text-foreground" : "text-muted-foreground"}`, children: Ae ? x ? rn() : Qe[0] : l }),
2488
2488
  b && Ae && !y && /* @__PURE__ */ e(
2489
2489
  ie,
2490
2490
  {
@@ -2503,7 +2503,7 @@ const Go = {
2503
2503
  ]
2504
2504
  }
2505
2505
  ),
2506
- H && Qe(
2506
+ H && Je(
2507
2507
  /* @__PURE__ */ a(
2508
2508
  "div",
2509
2509
  {
@@ -2513,7 +2513,7 @@ const Go = {
2513
2513
  style: { top: ze.top, left: ze.left, width: ze.width || "auto" },
2514
2514
  children: [
2515
2515
  p && /* @__PURE__ */ e("div", { className: "p-2 border-b border-border", children: /* @__PURE__ */ a("div", { className: "relative", children: [
2516
- /* @__PURE__ */ e(qe, { size: 14, className: "absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground" }),
2516
+ /* @__PURE__ */ e(Xe, { size: 14, className: "absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground" }),
2517
2517
  /* @__PURE__ */ e(
2518
2518
  "input",
2519
2519
  {
@@ -2566,7 +2566,7 @@ const Go = {
2566
2566
  ),
2567
2567
  /* @__PURE__ */ a("div", { className: "max-h-60 overflow-y-auto p-1", children: [
2568
2568
  A ? /* @__PURE__ */ a("div", { className: "flex items-center justify-center py-6 gap-2 text-muted-foreground", children: [
2569
- /* @__PURE__ */ e(Ze, { size: 16, className: "animate-spin" }),
2569
+ /* @__PURE__ */ e(Ke, { size: 16, className: "animate-spin" }),
2570
2570
  /* @__PURE__ */ e("span", { style: { fontFamily: "var(--font-label)", fontSize: "var(--text-label)" }, children: "Searching\\u2026" })
2571
2571
  ] }) : xe.length === 0 && !oe ? E ? /* @__PURE__ */ e("div", { className: "py-4 px-3", children: E }) : /* @__PURE__ */ a("div", { className: "text-center py-6 text-muted-foreground flex flex-col items-center gap-2", children: [
2572
2572
  /* @__PURE__ */ e(cn, { size: 24, className: "opacity-40" }),
@@ -2644,7 +2644,7 @@ const Xo = {
2644
2644
  fontSize: "var(--text-button)",
2645
2645
  fontWeight: "var(--weight-button)"
2646
2646
  };
2647
- function Wi({
2647
+ function Mi({
2648
2648
  icon: t,
2649
2649
  title: r,
2650
2650
  description: n,
@@ -2698,7 +2698,7 @@ const qo = {
2698
2698
  fontFamily: "var(--font-label)",
2699
2699
  fontSize: "var(--text-label)",
2700
2700
  fontWeight: "var(--weight-label)"
2701
- }, tt = {
2701
+ }, et = {
2702
2702
  fontFamily: "var(--font-label)",
2703
2703
  fontSize: "var(--text-label)",
2704
2704
  fontWeight: "var(--weight-button)"
@@ -2754,7 +2754,7 @@ function Vt({
2754
2754
  n.id
2755
2755
  )) });
2756
2756
  }
2757
- function Mi({
2757
+ function Li({
2758
2758
  accept: t,
2759
2759
  maxSize: r,
2760
2760
  multiple: n,
@@ -2798,7 +2798,7 @@ function Mi({
2798
2798
  h && h(m), c === void 0 && y((g) => g.filter((w) => w.id !== m));
2799
2799
  };
2800
2800
  return l === "button" ? /* @__PURE__ */ a("div", { className: "space-y-3", children: [
2801
- i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: tt, children: i }),
2801
+ i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: et, children: i }),
2802
2802
  /* @__PURE__ */ a(
2803
2803
  "button",
2804
2804
  {
@@ -2829,7 +2829,7 @@ function Mi({
2829
2829
  ),
2830
2830
  x.length > 0 && /* @__PURE__ */ e(Vt, { files: x, onRemove: S })
2831
2831
  ] }) : l === "avatar" ? /* @__PURE__ */ a("div", { className: "space-y-2", children: [
2832
- i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: tt, children: i }),
2832
+ i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: et, children: i }),
2833
2833
  /* @__PURE__ */ e(
2834
2834
  "div",
2835
2835
  {
@@ -2853,7 +2853,7 @@ function Mi({
2853
2853
  }
2854
2854
  )
2855
2855
  ] }) : /* @__PURE__ */ a("div", { className: "space-y-3", children: [
2856
- i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: tt, children: i }),
2856
+ i && /* @__PURE__ */ e("label", { className: "block text-foreground", style: et, children: i }),
2857
2857
  /* @__PURE__ */ a(
2858
2858
  "div",
2859
2859
  {
@@ -2874,7 +2874,7 @@ function Mi({
2874
2874
  children: [
2875
2875
  /* @__PURE__ */ e("div", { className: "w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center", children: /* @__PURE__ */ e(nt, { size: 20, className: "text-primary" }) }),
2876
2876
  /* @__PURE__ */ a("div", { className: "text-center", children: [
2877
- /* @__PURE__ */ a("p", { className: "text-foreground", style: tt, children: [
2877
+ /* @__PURE__ */ a("p", { className: "text-foreground", style: et, children: [
2878
2878
  /* @__PURE__ */ e("span", { className: "text-primary", children: "Click to upload" }),
2879
2879
  " or drag and drop"
2880
2880
  ] }),
@@ -2909,7 +2909,7 @@ const Vo = {
2909
2909
  fontSize: "var(--text-button)",
2910
2910
  fontWeight: "var(--weight-button)"
2911
2911
  };
2912
- function Li({ images: t, initialIndex: r = 0 }) {
2912
+ function Ci({ images: t, initialIndex: r = 0 }) {
2913
2913
  const [n, o] = j(!1), [l, i] = j(r), [d, c] = j(1), [s, f] = j(0), h = t[l], v = () => {
2914
2914
  i((x) => (x - 1 + t.length) % t.length), c(1), f(0);
2915
2915
  }, y = () => {
@@ -3083,7 +3083,7 @@ function oa({ items: t, parentRect: r }) {
3083
3083
  const d = n.current.getBoundingClientRect();
3084
3084
  let c = r.top, s = r.right + 4;
3085
3085
  s + d.width > window.innerWidth - 8 && (s = r.left - d.width - 4), c + d.height > window.innerHeight - 8 && (c = window.innerHeight - d.height - 8), l({ top: c, left: s });
3086
- }, [r]), Qe(
3086
+ }, [r]), Je(
3087
3087
  /* @__PURE__ */ e(
3088
3088
  "div",
3089
3089
  {
@@ -3146,7 +3146,7 @@ function aa({ items: t, open: r, onClose: n, triggerRef: o, className: l = "" })
3146
3146
  (h = o.current) != null && h.contains(f.target) || (v = i.current) != null && v.contains(f.target) || n();
3147
3147
  };
3148
3148
  return document.addEventListener("mousedown", s), () => document.removeEventListener("mousedown", s);
3149
- }, [r, n, o]), r ? Qe(
3149
+ }, [r, n, o]), r ? Je(
3150
3150
  /* @__PURE__ */ a(
3151
3151
  "div",
3152
3152
  {
@@ -3250,7 +3250,7 @@ function ia({
3250
3250
  }
3251
3251
  );
3252
3252
  }
3253
- function Ci({
3253
+ function ji({
3254
3254
  items: t,
3255
3255
  onMarkRead: r,
3256
3256
  onMarkAllRead: n,
@@ -3332,7 +3332,7 @@ const sa = {
3332
3332
  fontSize: "var(--text-label)",
3333
3333
  fontWeight: "var(--weight-button)"
3334
3334
  };
3335
- function ji({
3335
+ function Di({
3336
3336
  trigger: t,
3337
3337
  children: r,
3338
3338
  placement: n = "bottom",
@@ -3434,7 +3434,7 @@ const fa = {
3434
3434
  fontSize: "var(--text-label)",
3435
3435
  fontWeight: "var(--weight-button)"
3436
3436
  };
3437
- function Di({
3437
+ function Ai({
3438
3438
  value: t = 0,
3439
3439
  onChange: r,
3440
3440
  max: n = 5,
@@ -3664,7 +3664,7 @@ function _r({
3664
3664
  p && /* @__PURE__ */ e("span", { style: { ...ba, color: "var(--Base_Color--Sky--500, #32a9ff)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", display: "block" }, children: p })
3665
3665
  ] }),
3666
3666
  /* @__PURE__ */ e(
3667
- Je,
3667
+ qe,
3668
3668
  {
3669
3669
  size: 16,
3670
3670
  color: "rgba(50,169,255,1)",
@@ -3816,7 +3816,7 @@ function zt({
3816
3816
  children: [
3817
3817
  /* @__PURE__ */ e("span", { children: S.label }),
3818
3818
  /* @__PURE__ */ e(
3819
- Je,
3819
+ qe,
3820
3820
  {
3821
3821
  size: 12,
3822
3822
  style: {
@@ -3911,7 +3911,7 @@ function de({
3911
3911
  }
3912
3912
  );
3913
3913
  }
3914
- function Ai() {
3914
+ function Ei() {
3915
3915
  return /* @__PURE__ */ a("div", { className: "rounded-[var(--radius-md)] border border-border bg-card p-4 space-y-4 w-full max-w-sm", children: [
3916
3916
  /* @__PURE__ */ e(de, { variant: "rounded", height: 160 }),
3917
3917
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
@@ -3928,7 +3928,7 @@ function Ai() {
3928
3928
  ] })
3929
3929
  ] });
3930
3930
  }
3931
- function Ei() {
3931
+ function Ii() {
3932
3932
  return /* @__PURE__ */ a("div", { className: "rounded-[var(--radius-md)] border border-border bg-card overflow-hidden", children: [
3933
3933
  /* @__PURE__ */ e("div", { className: "px-4 py-3 border-b border-border bg-muted/30 flex gap-4", children: [120, 160, 100, 80].map((t, r) => /* @__PURE__ */ e(de, { variant: "text", width: t, height: 14 }, r)) }),
3934
3934
  [0, 1, 2, 3].map((t) => /* @__PURE__ */ a(
@@ -4037,7 +4037,7 @@ const Ft = {
4037
4037
  fontWeight: "var(--weight-h1)"
4038
4038
  }
4039
4039
  };
4040
- function Ii({
4040
+ function Ti({
4041
4041
  title: t,
4042
4042
  value: r,
4043
4043
  prefix: n,
@@ -4073,7 +4073,7 @@ function Ii({
4073
4073
  ] })
4074
4074
  ] });
4075
4075
  }
4076
- function Ti({
4076
+ function Bi({
4077
4077
  title: t,
4078
4078
  value: r,
4079
4079
  prefix: n,
@@ -4249,7 +4249,7 @@ const Fa = {
4249
4249
  md: { w: 18, h: 18, on: 18 },
4250
4250
  lg: { w: 26, h: 26, on: 24 }
4251
4251
  };
4252
- function Bi({
4252
+ function _i({
4253
4253
  checked: t,
4254
4254
  onChange: r,
4255
4255
  label: n,
@@ -4431,7 +4431,7 @@ const Ha = {
4431
4431
  fontSize: "var(--text-button)",
4432
4432
  fontWeight: "var(--weight-label)"
4433
4433
  };
4434
- function _i({
4434
+ function Hi({
4435
4435
  items: t,
4436
4436
  variant: r = "default",
4437
4437
  size: n = "md"
@@ -4516,10 +4516,14 @@ function _i({
4516
4516
  );
4517
4517
  }) });
4518
4518
  }
4519
- const Ge = {
4519
+ const tt = {
4520
4520
  fontFamily: "var(--font-label)",
4521
4521
  fontSize: "var(--text-label)",
4522
4522
  fontWeight: "var(--weight-button)"
4523
+ }, Ra = {
4524
+ fontFamily: "var(--font-h4)",
4525
+ fontSize: "var(--text-h4)",
4526
+ fontWeight: "var(--weight-h4)"
4523
4527
  };
4524
4528
  function Pr({
4525
4529
  brand: t,
@@ -4575,13 +4579,13 @@ function Pr({
4575
4579
  "div",
4576
4580
  {
4577
4581
  className: "w-8 h-8 rounded-[var(--radius-sm)] bg-primary flex items-center justify-center text-primary-foreground flex-shrink-0",
4578
- style: Ge,
4582
+ style: tt,
4579
4583
  children: t.name.charAt(0).toUpperCase()
4580
4584
  }
4581
4585
  ) }),
4582
4586
  b && /* @__PURE__ */ e("div", { className: "flex items-center ml-1", children: b }),
4583
- n && /* @__PURE__ */ e("span", { className: "text-foreground hidden sm:block truncate", style: Ge, children: n }),
4584
- r && r.length > 0 && /* @__PURE__ */ e("nav", { className: "hidden sm:flex items-center gap-1.5 text-muted-foreground", style: Ge, children: r.map((S, m) => /* @__PURE__ */ a(ge.Fragment, { children: [
4587
+ n && /* @__PURE__ */ e("span", { className: "text-foreground hidden sm:block truncate", style: Ra, children: n }),
4588
+ r && r.length > 0 && /* @__PURE__ */ e("nav", { className: "hidden sm:flex items-center gap-1.5 text-muted-foreground", style: tt, children: r.map((S, m) => /* @__PURE__ */ a(ge.Fragment, { children: [
4585
4589
  m > 0 && /* @__PURE__ */ e(fe, { size: 12 }),
4586
4590
  S.href || p ? /* @__PURE__ */ e(
4587
4591
  "span",
@@ -4605,8 +4609,8 @@ function Pr({
4605
4609
  className: "hidden md:flex items-center gap-2 px-3 h-8 rounded-[var(--radius)] border border-border bg-muted/20 text-muted-foreground w-56 cursor-pointer hover:border-primary/40 transition-colors",
4606
4610
  onClick: s,
4607
4611
  children: [
4608
- /* @__PURE__ */ e(qe, { size: 14 }),
4609
- /* @__PURE__ */ e("span", { style: Ge, children: c })
4612
+ /* @__PURE__ */ e(Xe, { size: 14 }),
4613
+ /* @__PURE__ */ e("span", { style: tt, children: c })
4610
4614
  ]
4611
4615
  }
4612
4616
  ),
@@ -4638,7 +4642,7 @@ function Pr({
4638
4642
  "div",
4639
4643
  {
4640
4644
  className: "w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center",
4641
- style: Ge,
4645
+ style: tt,
4642
4646
  children: $
4643
4647
  }
4644
4648
  )
@@ -4649,7 +4653,7 @@ function Pr({
4649
4653
  );
4650
4654
  }
4651
4655
  Pr.displayName = "TopNavbar";
4652
- const Ra = {
4656
+ const Oa = {
4653
4657
  fontFamily: "var(--font-label)",
4654
4658
  fontSize: "var(--text-label)",
4655
4659
  fontWeight: "var(--weight-label)"
@@ -4680,7 +4684,7 @@ function lr({
4680
4684
  ] })
4681
4685
  ] }),
4682
4686
  d && /* @__PURE__ */ a("div", { className: "px-3 py-2 border-b border-border flex items-center gap-2", children: [
4683
- /* @__PURE__ */ e(qe, { size: 12, className: "text-muted-foreground" }),
4687
+ /* @__PURE__ */ e(Xe, { size: 12, className: "text-muted-foreground" }),
4684
4688
  /* @__PURE__ */ e(
4685
4689
  "input",
4686
4690
  {
@@ -4708,7 +4712,7 @@ function lr({
4708
4712
  className: `w-full flex items-center gap-2 px-3 py-1.5 transition-colors cursor-pointer
4709
4713
  ${n.has(c.id) ? "bg-primary/10" : "hover:bg-accent"}
4710
4714
  ${c.disabled ? "opacity-40 pointer-events-none" : ""}`,
4711
- style: Ra,
4715
+ style: Oa,
4712
4716
  children: [
4713
4717
  /* @__PURE__ */ e(
4714
4718
  "span",
@@ -4726,7 +4730,7 @@ function lr({
4726
4730
  ] })
4727
4731
  ] });
4728
4732
  }
4729
- function Hi({
4733
+ function Ri({
4730
4734
  sourceTitle: t = "Available",
4731
4735
  targetTitle: r = "Selected",
4732
4736
  items: n,
@@ -4888,7 +4892,7 @@ function Gr({
4888
4892
  )) })
4889
4893
  ] });
4890
4894
  }
4891
- function Ri({
4895
+ function Oi({
4892
4896
  data: t,
4893
4897
  selectable: r,
4894
4898
  showLines: n,
@@ -4925,7 +4929,7 @@ function Ri({
4925
4929
  m.id
4926
4930
  )) });
4927
4931
  }
4928
- const Oa = {
4932
+ const Pa = {
4929
4933
  fontFamily: "var(--font-label)",
4930
4934
  fontSize: "var(--text-label)",
4931
4935
  fontWeight: "var(--weight-button)"
@@ -4934,7 +4938,7 @@ const Oa = {
4934
4938
  fontSize: "var(--text-button)",
4935
4939
  fontWeight: "var(--weight-label)"
4936
4940
  }, Ur = ut({ name: "" });
4937
- function Oi() {
4941
+ function Pi() {
4938
4942
  return ct(Ur);
4939
4943
  }
4940
4944
  function ir({
@@ -4948,7 +4952,7 @@ function ir({
4948
4952
  {
4949
4953
  htmlFor: t,
4950
4954
  className: `block text-foreground mb-1.5 ${o}`,
4951
- style: Oa,
4955
+ style: Pa,
4952
4956
  children: [
4953
4957
  n,
4954
4958
  r && /* @__PURE__ */ e("span", { className: "text-destructive ml-0.5", children: "*" })
@@ -4956,7 +4960,7 @@ function ir({
4956
4960
  }
4957
4961
  );
4958
4962
  }
4959
- function Pa({ message: t, className: r = "" }) {
4963
+ function Ya({ message: t, className: r = "" }) {
4960
4964
  return t ? /* @__PURE__ */ a(
4961
4965
  "div",
4962
4966
  {
@@ -4970,7 +4974,7 @@ function Pa({ message: t, className: r = "" }) {
4970
4974
  }
4971
4975
  ) : null;
4972
4976
  }
4973
- function Ya({ message: t, className: r = "" }) {
4977
+ function Ga({ message: t, className: r = "" }) {
4974
4978
  return t ? /* @__PURE__ */ a(
4975
4979
  "div",
4976
4980
  {
@@ -4984,7 +4988,7 @@ function Ya({ message: t, className: r = "" }) {
4984
4988
  }
4985
4989
  ) : null;
4986
4990
  }
4987
- function Ga({ children: t, className: r = "" }) {
4991
+ function Ua({ children: t, className: r = "" }) {
4988
4992
  return /* @__PURE__ */ e(
4989
4993
  "p",
4990
4994
  {
@@ -4994,7 +4998,7 @@ function Ga({ children: t, className: r = "" }) {
4994
4998
  }
4995
4999
  );
4996
5000
  }
4997
- function Pi({
5001
+ function Yi({
4998
5002
  name: t,
4999
5003
  label: r,
5000
5004
  required: n,
@@ -5006,7 +5010,7 @@ function Pi({
5006
5010
  children: s,
5007
5011
  className: f = ""
5008
5012
  }) {
5009
- const h = d === "horizontal", v = o ? /* @__PURE__ */ e(Pa, { message: o }) : l ? /* @__PURE__ */ e(Ya, { message: l }) : i ? /* @__PURE__ */ e(Ga, { children: i }) : null;
5013
+ const h = d === "horizontal", v = o ? /* @__PURE__ */ e(Ya, { message: o }) : l ? /* @__PURE__ */ e(Ga, { message: l }) : i ? /* @__PURE__ */ e(Ua, { children: i }) : null;
5010
5014
  return /* @__PURE__ */ e(Ur.Provider, { value: { name: t, error: o }, children: h ? /* @__PURE__ */ a("div", { className: `flex items-start gap-4 ${f}`, children: [
5011
5015
  r && /* @__PURE__ */ e("div", { style: { width: c, flexShrink: 0, paddingTop: "6px" }, children: /* @__PURE__ */ e(ir, { htmlFor: t, required: n, children: r }) }),
5012
5016
  /* @__PURE__ */ a("div", { className: "flex-1 min-w-0", children: [
@@ -5019,19 +5023,19 @@ function Pi({
5019
5023
  v
5020
5024
  ] }) });
5021
5025
  }
5022
- const Ua = {
5026
+ const Ka = {
5023
5027
  fontFamily: "var(--font-label)",
5024
5028
  fontSize: "var(--text-label)",
5025
5029
  fontWeight: "var(--weight-button)"
5026
- }, Ka = {
5030
+ }, Za = {
5027
5031
  fontFamily: "var(--font-label)",
5028
5032
  fontSize: "var(--text-label)",
5029
5033
  fontWeight: "var(--weight-label)"
5030
- }, Za = {
5034
+ }, Xa = {
5031
5035
  fontFamily: "var(--font-button)",
5032
5036
  fontSize: "var(--text-button)",
5033
5037
  fontWeight: "var(--weight-label)"
5034
- }, Xa = {
5038
+ }, qa = {
5035
5039
  sm: "h-8",
5036
5040
  md: "h-10",
5037
5041
  lg: "h-12"
@@ -5040,7 +5044,7 @@ const Ua = {
5040
5044
  md: 16,
5041
5045
  lg: 18
5042
5046
  };
5043
- function Yi({
5047
+ function Gi({
5044
5048
  value: t,
5045
5049
  defaultValue: r = 0,
5046
5050
  onChange: n,
@@ -5059,7 +5063,7 @@ function Yi({
5059
5063
  n && n(m), t === void 0 && u(m);
5060
5064
  }, x = o === void 0 || p - i >= o, $ = l === void 0 || p + i <= l;
5061
5065
  return /* @__PURE__ */ a("div", { className: v, children: [
5062
- s && /* @__PURE__ */ e("label", { className: "block text-foreground mb-1.5", style: Ua, children: s }),
5066
+ s && /* @__PURE__ */ e("label", { className: "block text-foreground mb-1.5", style: Ka, children: s }),
5063
5067
  /* @__PURE__ */ a(
5064
5068
  "div",
5065
5069
  {
@@ -5087,8 +5091,8 @@ function Yi({
5087
5091
  isNaN(m) || b(m);
5088
5092
  },
5089
5093
  disabled: d,
5090
- className: `w-20 text-center bg-transparent outline-none text-foreground ${Xa[c]} [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none`,
5091
- style: Ka
5094
+ className: `w-20 text-center bg-transparent outline-none text-foreground ${qa[c]} [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none`,
5095
+ style: Za
5092
5096
  }
5093
5097
  ),
5094
5098
  /* @__PURE__ */ e(
@@ -5105,23 +5109,23 @@ function Yi({
5105
5109
  ]
5106
5110
  }
5107
5111
  ),
5108
- h && /* @__PURE__ */ e("p", { className: "mt-1.5 text-destructive", style: Za, children: h })
5112
+ h && /* @__PURE__ */ e("p", { className: "mt-1.5 text-destructive", style: Xa, children: h })
5109
5113
  ] });
5110
5114
  }
5111
- const qa = {
5115
+ const Ja = {
5112
5116
  fontFamily: "var(--font-label)",
5113
5117
  fontSize: "var(--text-label)",
5114
5118
  fontWeight: "var(--weight-button)"
5115
- }, Ja = {
5119
+ }, Qa = {
5116
5120
  fontFamily: "var(--font-button)",
5117
5121
  fontSize: "var(--text-button)",
5118
5122
  fontWeight: "var(--weight-label)"
5119
- }, Qa = {
5123
+ }, Va = {
5120
5124
  sm: "w-9 h-9",
5121
5125
  md: "w-11 h-11",
5122
5126
  lg: "w-14 h-14"
5123
5127
  };
5124
- function Gi({
5128
+ function Ui({
5125
5129
  length: t = 6,
5126
5130
  value: r,
5127
5131
  onChange: n,
@@ -5154,7 +5158,7 @@ function Gi({
5154
5158
  } else g.key === "ArrowLeft" && m > 0 ? (z = y.current[m - 1]) == null || z.focus() : g.key === "ArrowRight" && m < t - 1 && ((W = y.current[m + 1]) == null || W.focus());
5155
5159
  };
5156
5160
  return /* @__PURE__ */ a("div", { className: f, children: [
5157
- c && /* @__PURE__ */ e("label", { className: "block text-foreground mb-2", style: qa, children: c }),
5161
+ c && /* @__PURE__ */ e("label", { className: "block text-foreground mb-2", style: Ja, children: c }),
5158
5162
  /* @__PURE__ */ e("div", { className: "flex gap-2", onPaste: (m) => {
5159
5163
  var w;
5160
5164
  m.preventDefault();
@@ -5181,7 +5185,7 @@ function Gi({
5181
5185
  },
5182
5186
  onKeyDown: (w) => $(g, w),
5183
5187
  onFocus: (w) => w.target.select(),
5184
- className: `${Qa[d]} text-center rounded-[var(--radius-md)] border outline-none transition-all
5188
+ className: `${Va[d]} text-center rounded-[var(--radius-md)] border outline-none transition-all
5185
5189
  ${i ? "border-destructive focus:ring-2 focus:ring-destructive/30" : "border-border focus:border-primary focus:ring-2 focus:ring-primary/20"}
5186
5190
  ${l ? "opacity-50 pointer-events-none bg-muted" : "bg-background"}
5187
5191
  text-foreground`,
@@ -5189,26 +5193,26 @@ function Gi({
5189
5193
  },
5190
5194
  g
5191
5195
  )) }),
5192
- i && /* @__PURE__ */ e("p", { className: "mt-2 text-destructive", style: Ja, children: i })
5196
+ i && /* @__PURE__ */ e("p", { className: "mt-2 text-destructive", style: Qa, children: i })
5193
5197
  ] });
5194
5198
  }
5195
- const Va = {
5199
+ const el = {
5196
5200
  fontFamily: "var(--font-h3, 'DB HeaventRounded', sans-serif)",
5197
5201
  fontSize: "var(--text-h3, 28px)",
5198
5202
  fontWeight: "var(--weight-h3, 700)",
5199
5203
  color: "var(--foreground)",
5200
5204
  lineHeight: 1.3
5201
- }, el = {
5205
+ }, tl = {
5202
5206
  fontFamily: "var(--font-p, 'DB HeaventRounded', sans-serif)",
5203
5207
  fontSize: "var(--text-p, 20px)",
5204
5208
  fontWeight: "var(--weight-p, 400)",
5205
5209
  color: "var(--muted-foreground)",
5206
5210
  lineHeight: 1.4
5207
- }, tl = {
5211
+ }, rl = {
5208
5212
  fontFamily: "var(--font-label, 'DB HeaventRounded', sans-serif)",
5209
5213
  fontSize: "var(--text-label)"
5210
5214
  };
5211
- function Ui({
5215
+ function Ki({
5212
5216
  title: t,
5213
5217
  subtitle: r,
5214
5218
  breadcrumb: n,
@@ -5223,11 +5227,11 @@ function Ui({
5223
5227
  className: `bg-card border-b border-border ${i ? "sticky top-0 z-10" : ""} ${d}`,
5224
5228
  children: [
5225
5229
  /* @__PURE__ */ a("div", { className: "px-6 pt-5 pb-4", children: [
5226
- n && /* @__PURE__ */ e("div", { className: "mb-2", style: tl, children: n }),
5230
+ n && /* @__PURE__ */ e("div", { className: "mb-2", style: rl, children: n }),
5227
5231
  /* @__PURE__ */ a("div", { className: "flex items-start justify-between gap-4", children: [
5228
5232
  /* @__PURE__ */ a("div", { className: "min-w-0", children: [
5229
- /* @__PURE__ */ e("h3", { style: Va, className: "truncate", children: t }),
5230
- r && /* @__PURE__ */ e("p", { className: "mt-0.5", style: el, children: r })
5233
+ /* @__PURE__ */ e("h3", { style: el, className: "truncate", children: t }),
5234
+ r && /* @__PURE__ */ e("p", { className: "mt-0.5", style: tl, children: r })
5231
5235
  ] }),
5232
5236
  o && /* @__PURE__ */ e("div", { className: "flex items-center gap-2 flex-shrink-0 pt-0.5", children: o })
5233
5237
  ] })
@@ -5237,7 +5241,7 @@ function Ui({
5237
5241
  }
5238
5242
  );
5239
5243
  }
5240
- const rl = {
5244
+ const nl = {
5241
5245
  fontFamily: "var(--font-button)",
5242
5246
  fontSize: "var(--text-button)",
5243
5247
  fontWeight: "var(--weight-button)"
@@ -5246,7 +5250,7 @@ const rl = {
5246
5250
  fontSize: "var(--text-button)",
5247
5251
  fontWeight: 400
5248
5252
  };
5249
- function nl({ config: t, value: r, onChange: n }) {
5253
+ function ol({ config: t, value: r, onChange: n }) {
5250
5254
  var f;
5251
5255
  const [o, l] = j(!1), i = Array.isArray(r) ? r : r ? [r] : [], d = i.length > 0, c = Q(
5252
5256
  (h) => {
@@ -5267,7 +5271,7 @@ function nl({ config: t, value: r, onChange: n }) {
5267
5271
  type: "button",
5268
5272
  onClick: () => l((h) => !h),
5269
5273
  className: `inline-flex items-center gap-1.5 h-9 px-3 rounded-lg border transition-colors cursor-pointer select-none ${d ? "bg-[var(--primary)]/10 border-[var(--primary)] text-[var(--primary)]" : "bg-[var(--background)] border-[var(--border)] text-[var(--foreground)] hover:bg-[var(--muted)]"}`,
5270
- style: rl,
5274
+ style: nl,
5271
5275
  children: [
5272
5276
  s,
5273
5277
  d && /* @__PURE__ */ e(
@@ -5331,7 +5335,7 @@ function nl({ config: t, value: r, onChange: n }) {
5331
5335
  ] })
5332
5336
  ] });
5333
5337
  }
5334
- function Ki({
5338
+ function Zi({
5335
5339
  filters: t = [],
5336
5340
  searchPlaceholder: r = "Search...",
5337
5341
  showSearch: n = !0,
@@ -5372,7 +5376,7 @@ function Ki({
5372
5376
  children: [
5373
5377
  n && /* @__PURE__ */ a("div", { className: "relative flex items-center", children: [
5374
5378
  /* @__PURE__ */ e(
5375
- qe,
5379
+ Xe,
5376
5380
  {
5377
5381
  size: 14,
5378
5382
  className: "absolute left-2.5 text-[var(--muted-foreground)] pointer-events-none"
@@ -5399,7 +5403,7 @@ function Ki({
5399
5403
  }
5400
5404
  ),
5401
5405
  t.map((b) => /* @__PURE__ */ e(
5402
- nl,
5406
+ ol,
5403
5407
  {
5404
5408
  config: b,
5405
5409
  value: s.filters[b.key] ?? null,
@@ -5452,7 +5456,7 @@ const Kr = {
5452
5456
  md: "px-4 py-3",
5453
5457
  lg: "px-5 py-4"
5454
5458
  };
5455
- function ol({ width: t }) {
5459
+ function al({ width: t }) {
5456
5460
  return /* @__PURE__ */ e(
5457
5461
  "div",
5458
5462
  {
@@ -5461,7 +5465,7 @@ function ol({ width: t }) {
5461
5465
  }
5462
5466
  );
5463
5467
  }
5464
- function al({ columns: t, hidden: r, onToggle: n }) {
5468
+ function ll({ columns: t, hidden: r, onToggle: n }) {
5465
5469
  const [o, l] = j(!1), i = V(null);
5466
5470
  ne(() => {
5467
5471
  function c(s) {
@@ -5503,7 +5507,7 @@ function al({ columns: t, hidden: r, onToggle: n }) {
5503
5507
  }) })
5504
5508
  ] });
5505
5509
  }
5506
- function ll({ count: t, actions: r, selectedKeys: n, onClear: o }) {
5510
+ function il({ count: t, actions: r, selectedKeys: n, onClear: o }) {
5507
5511
  return /* @__PURE__ */ a("div", { className: "flex items-center gap-3 px-4 py-2.5 bg-[var(--primary)]/8 border-b border-[var(--primary)]/20", children: [
5508
5512
  /* @__PURE__ */ a(
5509
5513
  "span",
@@ -5542,8 +5546,8 @@ function ll({ count: t, actions: r, selectedKeys: n, onClear: o }) {
5542
5546
  )
5543
5547
  ] });
5544
5548
  }
5545
- const il = [10, 20, 50, 100];
5546
- function sl({ meta: t, onPageChange: r }) {
5549
+ const sl = [10, 20, 50, 100];
5550
+ function dl({ meta: t, onPageChange: r }) {
5547
5551
  const { page: n, pageSize: o, totalCount: l } = t, i = Math.max(1, Math.ceil(l / o)), d = l === 0 ? 0 : (n - 1) * o + 1, c = Math.min(n * o, l), s = se(() => {
5548
5552
  const f = [];
5549
5553
  if (i <= 7)
@@ -5571,7 +5575,7 @@ function sl({ meta: t, onPageChange: r }) {
5571
5575
  onChange: (f) => r(1, Number(f.target.value)),
5572
5576
  className: "h-7 px-2 rounded-md border border-[var(--border)] bg-[var(--background)] text-[var(--foreground)] focus:outline-none focus:border-[var(--primary)] cursor-pointer",
5573
5577
  style: We,
5574
- children: il.map((f) => /* @__PURE__ */ a("option", { value: f, children: [
5578
+ children: sl.map((f) => /* @__PURE__ */ a("option", { value: f, children: [
5575
5579
  f,
5576
5580
  " / page"
5577
5581
  ] }, f))
@@ -5627,7 +5631,7 @@ function yt({
5627
5631
  }
5628
5632
  );
5629
5633
  }
5630
- function Zi({
5634
+ function Xi({
5631
5635
  columns: t,
5632
5636
  data: r,
5633
5637
  rowKey: n = "id",
@@ -5700,9 +5704,9 @@ function Zi({
5700
5704
  return T;
5701
5705
  }, [L, s, u]), re = L.length + (s ? 1 : 0) + (u ? 1 : 0), Y = "sticky z-[2] bg-inherit";
5702
5706
  return /* @__PURE__ */ a("div", { className: `rounded-[var(--radius-md)] border border-[var(--border)] overflow-hidden ${z}`, children: [
5703
- m && /* @__PURE__ */ e("div", { className: "flex items-center justify-end gap-2 px-4 py-2.5 border-b border-[var(--border)] bg-[var(--background)]", children: /* @__PURE__ */ e(al, { columns: t, hidden: W, onToggle: F }) }),
5707
+ m && /* @__PURE__ */ e("div", { className: "flex items-center justify-end gap-2 px-4 py-2.5 border-b border-[var(--border)] bg-[var(--background)]", children: /* @__PURE__ */ e(ll, { columns: t, hidden: W, onToggle: F }) }),
5704
5708
  s && N.size > 0 && v.length > 0 && /* @__PURE__ */ e(
5705
- ll,
5709
+ il,
5706
5710
  {
5707
5711
  count: N.size,
5708
5712
  actions: v,
@@ -5737,7 +5741,7 @@ function Zi({
5737
5741
  onClick: () => T.sortable && ae(T.key),
5738
5742
  children: /* @__PURE__ */ a("span", { className: "inline-flex items-center gap-1", children: [
5739
5743
  T.header,
5740
- T.sortable && c && /* @__PURE__ */ e("span", { className: X ? "text-[var(--primary)]" : "text-[var(--muted-foreground)]/60", children: X ? i === "asc" ? /* @__PURE__ */ e(Je, { size: 13 }) : /* @__PURE__ */ e(Ie, { size: 13 }) : /* @__PURE__ */ e($t, { size: 12 }) })
5744
+ T.sortable && c && /* @__PURE__ */ e("span", { className: X ? "text-[var(--primary)]" : "text-[var(--muted-foreground)]/60", children: X ? i === "asc" ? /* @__PURE__ */ e(qe, { size: 13 }) : /* @__PURE__ */ e(Ie, { size: 13 }) : /* @__PURE__ */ e($t, { size: 12 }) })
5741
5745
  ] })
5742
5746
  },
5743
5747
  T.key
@@ -5752,7 +5756,7 @@ function Zi({
5752
5756
  !x && p && Array.from({ length: b }).map((T, J) => /* @__PURE__ */ a("tr", { className: "border-b border-[var(--border)] last:border-b-0", children: [
5753
5757
  u && /* @__PURE__ */ e("td", { className: `${we[g]} w-10` }),
5754
5758
  s && /* @__PURE__ */ e("td", { className: `${we[g]} w-12`, children: /* @__PURE__ */ e("div", { className: "w-4 h-4 rounded bg-muted animate-pulse" }) }),
5755
- L.map((X) => /* @__PURE__ */ e("td", { className: `${we[g]}`, children: /* @__PURE__ */ e(ol, { width: X.align === "right" ? "60%" : X.align === "center" ? "50%" : "75%" }) }, X.key))
5759
+ L.map((X) => /* @__PURE__ */ e("td", { className: `${we[g]}`, children: /* @__PURE__ */ e(al, { width: X.align === "right" ? "60%" : X.align === "center" ? "50%" : "75%" }) }, X.key))
5756
5760
  ] }, `skel-${J}`)),
5757
5761
  !x && !p && r.length === 0 && /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: re, className: `${we[g]} text-center`, children: /* @__PURE__ */ a("div", { className: "flex flex-col items-center gap-2 py-12", children: [
5758
5762
  /* @__PURE__ */ e("div", { className: "w-12 h-12 rounded-full bg-[var(--muted)] flex items-center justify-center text-[var(--muted-foreground)]", children: /* @__PURE__ */ e($t, { size: 20 }) }),
@@ -5824,7 +5828,7 @@ function Zi({
5824
5828
  })
5825
5829
  ] })
5826
5830
  ] }) }),
5827
- o && d && !p && !x && /* @__PURE__ */ e(sl, { meta: o, onPageChange: d })
5831
+ o && d && !p && !x && /* @__PURE__ */ e(dl, { meta: o, onPageChange: d })
5828
5832
  ] });
5829
5833
  }
5830
5834
  const Re = [
@@ -5888,7 +5892,7 @@ function Tt({
5888
5892
  }
5889
5893
  ) });
5890
5894
  }
5891
- function dl({
5895
+ function cl({
5892
5896
  series: t,
5893
5897
  height: r = 240,
5894
5898
  width: n,
@@ -6039,8 +6043,8 @@ function dl({
6039
6043
  ] }, C)) })
6040
6044
  ] });
6041
6045
  }
6042
- dl.displayName = "LineChart";
6043
- function cl({
6046
+ cl.displayName = "LineChart";
6047
+ function ul({
6044
6048
  series: t,
6045
6049
  height: r = 240,
6046
6050
  width: n,
@@ -6174,8 +6178,8 @@ function cl({
6174
6178
  ] }, k)) })
6175
6179
  ] });
6176
6180
  }
6177
- cl.displayName = "AreaChart";
6178
- function ul({
6181
+ ul.displayName = "AreaChart";
6182
+ function fl({
6179
6183
  series: t,
6180
6184
  height: r = 240,
6181
6185
  width: n,
@@ -6317,8 +6321,8 @@ function ul({
6317
6321
  ] }, N)) })
6318
6322
  ] });
6319
6323
  }
6320
- ul.displayName = "BarChart";
6321
- function fl({
6324
+ fl.displayName = "BarChart";
6325
+ function ml({
6322
6326
  data: t,
6323
6327
  size: r = 200,
6324
6328
  innerRatio: n = 0.6,
@@ -6409,8 +6413,8 @@ function fl({
6409
6413
  )) })
6410
6414
  ] });
6411
6415
  }
6412
- fl.displayName = "DonutChart";
6413
- function ml({
6416
+ ml.displayName = "DonutChart";
6417
+ function hl({
6414
6418
  values: t,
6415
6419
  type: r = "line",
6416
6420
  width: n = 80,
@@ -6460,7 +6464,7 @@ function ml({
6460
6464
  i && /* @__PURE__ */ e("span", { style: { ...ce, color: p }, children: t[t.length - 1].toLocaleString() })
6461
6465
  ] });
6462
6466
  }
6463
- ml.displayName = "MiniSparkline";
6467
+ hl.displayName = "MiniSparkline";
6464
6468
  function Se(t) {
6465
6469
  const r = new Date(t);
6466
6470
  return r.setHours(0, 0, 0, 0), r;
@@ -6469,7 +6473,7 @@ function ke(t) {
6469
6473
  const r = new Date(t);
6470
6474
  return r.setHours(23, 59, 59, 999), r;
6471
6475
  }
6472
- const hl = [
6476
+ const bl = [
6473
6477
  {
6474
6478
  label: "Today",
6475
6479
  value: "today",
@@ -6523,7 +6527,7 @@ const hl = [
6523
6527
  value: "custom",
6524
6528
  range: () => ({ from: null, to: null })
6525
6529
  }
6526
- ], bl = [
6530
+ ], pl = [
6527
6531
  "January",
6528
6532
  "February",
6529
6533
  "March",
@@ -6536,21 +6540,21 @@ const hl = [
6536
6540
  "October",
6537
6541
  "November",
6538
6542
  "December"
6539
- ], pl = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
6543
+ ], gl = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
6540
6544
  function wt(t) {
6541
6545
  return t ? t.toLocaleDateString("en-GB", { day: "2-digit", month: "short", year: "numeric" }) : "";
6542
6546
  }
6543
6547
  function Nt(t, r) {
6544
6548
  return t.getFullYear() === r.getFullYear() && t.getMonth() === r.getMonth() && t.getDate() === r.getDate();
6545
6549
  }
6546
- function gl(t, r) {
6550
+ function vl(t, r) {
6547
6551
  const n = [], o = new Date(t, r, 1), l = new Date(o);
6548
6552
  l.setDate(l.getDate() - l.getDay());
6549
6553
  for (let i = 0; i < 42; i++)
6550
6554
  n.push(new Date(l)), l.setDate(l.getDate() + 1);
6551
6555
  return n;
6552
6556
  }
6553
- const vl = {
6557
+ const xl = {
6554
6558
  fontFamily: "var(--font-label)",
6555
6559
  fontSize: "var(--text-label)",
6556
6560
  fontWeight: "var(--weight-p)"
@@ -6562,7 +6566,7 @@ const vl = {
6562
6566
  fontFamily: "var(--font-label)",
6563
6567
  fontSize: "var(--text-button)",
6564
6568
  fontWeight: "var(--weight-button)"
6565
- }, xl = {
6569
+ }, yl = {
6566
6570
  sm: "h-8 px-3",
6567
6571
  md: "h-10 px-3.5",
6568
6572
  lg: "h-11 px-4"
@@ -6579,7 +6583,7 @@ function cr({
6579
6583
  minDate: s,
6580
6584
  maxDate: f
6581
6585
  }) {
6582
- const h = gl(r, t);
6586
+ const h = vl(r, t);
6583
6587
  function v(u) {
6584
6588
  const p = n.from, b = n.to ?? o;
6585
6589
  if (!p || !b) return !1;
@@ -6601,7 +6605,7 @@ function cr({
6601
6605
  }
6602
6606
  ),
6603
6607
  /* @__PURE__ */ a("span", { className: "text-foreground", style: Zr, children: [
6604
- bl[t],
6608
+ pl[t],
6605
6609
  " ",
6606
6610
  r
6607
6611
  ] }),
@@ -6615,7 +6619,7 @@ function cr({
6615
6619
  }
6616
6620
  )
6617
6621
  ] }),
6618
- /* @__PURE__ */ e("div", { className: "grid grid-cols-7 mb-1", children: pl.map((u) => /* @__PURE__ */ e("div", { className: "h-8 flex items-center justify-center text-muted-foreground", style: dr, children: u }, u)) }),
6622
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-7 mb-1", children: gl.map((u) => /* @__PURE__ */ e("div", { className: "h-8 flex items-center justify-center text-muted-foreground", style: dr, children: u }, u)) }),
6619
6623
  /* @__PURE__ */ e("div", { className: "grid grid-cols-7", children: h.map((u, p) => {
6620
6624
  const b = u.getMonth() === t, x = n.from ? Nt(u, n.from) : !1, $ = n.to ? Nt(u, n.to) : o && n.from ? Nt(u, o) : !1, S = v(u), m = y(u);
6621
6625
  return /* @__PURE__ */ e(
@@ -6640,7 +6644,7 @@ function cr({
6640
6644
  }) })
6641
6645
  ] });
6642
6646
  }
6643
- function yl({
6647
+ function wl({
6644
6648
  value: t,
6645
6649
  onChange: r,
6646
6650
  presets: n = ["today", "last7", "last30", "custom"],
@@ -6689,7 +6693,7 @@ function yl({
6689
6693
  const K = { from: null, to: null };
6690
6694
  p(K), r == null || r(K, void 0), S(void 0);
6691
6695
  }
6692
- const B = N.from && N.to ? `${wt(N.from)} – ${wt(N.to)}` : N.from ? `${wt(N.from)} – ...` : "", q = hl.filter((R) => n.includes(R.value));
6696
+ const B = N.from && N.to ? `${wt(N.from)} – ${wt(N.to)}` : N.from ? `${wt(N.from)} – ...` : "", q = bl.filter((R) => n.includes(R.value));
6693
6697
  return /* @__PURE__ */ a("div", { ref: E, className: `relative inline-block ${f}`, children: [
6694
6698
  /* @__PURE__ */ a(
6695
6699
  "button",
@@ -6700,11 +6704,11 @@ function yl({
6700
6704
  onClick: () => !s && y(!v),
6701
6705
  className: [
6702
6706
  "flex items-center gap-2 border border-border bg-card text-left rounded-[var(--radius-md)] transition-colors w-full min-w-[260px]",
6703
- xl[l],
6707
+ yl[l],
6704
6708
  v ? "border-primary ring-2 ring-primary/20" : "hover:border-primary/40",
6705
6709
  s ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
6706
6710
  ].join(" "),
6707
- style: vl,
6711
+ style: xl,
6708
6712
  children: [
6709
6713
  /* @__PURE__ */ e(gr, { size: 14, className: "text-muted-foreground flex-shrink-0" }),
6710
6714
  /* @__PURE__ */ e("span", { className: B ? "text-foreground flex-1" : "text-muted-foreground flex-1", children: B || o }),
@@ -6722,7 +6726,7 @@ function yl({
6722
6726
  ]
6723
6727
  }
6724
6728
  ),
6725
- v && Qe(
6729
+ v && Je(
6726
6730
  /* @__PURE__ */ a(
6727
6731
  "div",
6728
6732
  {
@@ -6791,7 +6795,7 @@ function yl({
6791
6795
  )
6792
6796
  ] });
6793
6797
  }
6794
- yl.displayName = "DateRangePicker";
6798
+ wl.displayName = "DateRangePicker";
6795
6799
  function Ne(t) {
6796
6800
  return String(t).padStart(2, "0");
6797
6801
  }
@@ -6833,7 +6837,7 @@ function rt({
6833
6837
  n(i);
6834
6838
  },
6835
6839
  className: "text-muted-foreground hover:text-foreground transition-colors cursor-pointer",
6836
- children: /* @__PURE__ */ e(Je, { size: 14 })
6840
+ children: /* @__PURE__ */ e(qe, { size: 14 })
6837
6841
  }
6838
6842
  ),
6839
6843
  /* @__PURE__ */ e("div", { className: "text-foreground w-full text-center px-1 py-1 rounded-[var(--radius-md)] bg-muted/20", style: it, children: Ne(r) }),
@@ -6963,7 +6967,7 @@ function Qr({
6963
6967
  ] });
6964
6968
  }
6965
6969
  Qr.displayName = "TimePicker";
6966
- function wl({
6970
+ function Nl({
6967
6971
  value: t,
6968
6972
  onChange: r,
6969
6973
  format: n = "24h",
@@ -7102,29 +7106,29 @@ function wl({
7102
7106
  ] })
7103
7107
  ] });
7104
7108
  }
7105
- wl.displayName = "DateTimePicker";
7106
- const Nl = {
7109
+ Nl.displayName = "DateTimePicker";
7110
+ const $l = {
7107
7111
  fontFamily: "var(--font-label)",
7108
7112
  fontSize: "var(--text-label)",
7109
7113
  fontWeight: "var(--weight-button)"
7110
- }, $l = {
7114
+ }, Sl = {
7111
7115
  fontFamily: "var(--font-p)",
7112
7116
  fontSize: "var(--text-button)",
7113
7117
  fontWeight: "var(--weight-p)"
7114
- }, Sl = {
7118
+ }, kl = {
7115
7119
  fontFamily: "var(--font-label)",
7116
7120
  fontSize: "var(--text-caption)",
7117
7121
  fontWeight: "var(--weight-button)"
7118
- }, kl = {
7122
+ }, zl = {
7119
7123
  sm: "p-3 gap-2.5 rounded-[var(--radius-md)]",
7120
7124
  md: "p-4 gap-3 rounded-[var(--radius-md)]",
7121
7125
  lg: "p-5 gap-4 rounded-[var(--radius-md)]"
7122
- }, zl = {
7126
+ }, Fl = {
7123
7127
  sm: "w-8 h-8 rounded-[var(--radius-sm)]",
7124
7128
  md: "w-10 h-10 rounded-[var(--radius-md)]",
7125
7129
  lg: "w-12 h-12 rounded-[var(--radius-md)] text-lg"
7126
7130
  };
7127
- function Fl({
7131
+ function Wl({
7128
7132
  value: t,
7129
7133
  title: r,
7130
7134
  description: n,
@@ -7148,7 +7152,7 @@ function Fl({
7148
7152
  onClick: () => !d && (v == null ? void 0 : v(t)),
7149
7153
  className: [
7150
7154
  "w-full text-left border transition-all duration-150",
7151
- kl[f],
7155
+ zl[f],
7152
7156
  u ? "flex flex-col items-center text-center" : "flex items-center",
7153
7157
  i ? "border-primary bg-primary/5 shadow-[0_0_0_1px_var(--primary)]" : "border-border bg-card hover:border-primary/40 hover:bg-muted/20",
7154
7158
  d ? "opacity-50 cursor-not-allowed" : "cursor-pointer",
@@ -7160,7 +7164,7 @@ function Fl({
7160
7164
  "div",
7161
7165
  {
7162
7166
  className: [
7163
- zl[f],
7167
+ Fl[f],
7164
7168
  "flex items-center justify-center flex-shrink-0",
7165
7169
  i ? "bg-primary/10 text-primary" : "bg-muted/40 text-muted-foreground"
7166
7170
  ].join(" "),
@@ -7173,7 +7177,7 @@ function Fl({
7173
7177
  "span",
7174
7178
  {
7175
7179
  className: "text-foreground",
7176
- style: Nl,
7180
+ style: $l,
7177
7181
  children: r
7178
7182
  }
7179
7183
  ),
@@ -7181,7 +7185,7 @@ function Fl({
7181
7185
  "span",
7182
7186
  {
7183
7187
  className: "px-1.5 py-0.5 rounded-full bg-primary/10 text-primary",
7184
- style: Sl,
7188
+ style: kl,
7185
7189
  children: l
7186
7190
  }
7187
7191
  )
@@ -7190,7 +7194,7 @@ function Fl({
7190
7194
  "p",
7191
7195
  {
7192
7196
  className: `text-muted-foreground mt-0.5 ${u ? "line-clamp-2" : "truncate"}`,
7193
- style: $l,
7197
+ style: Sl,
7194
7198
  children: n
7195
7199
  }
7196
7200
  )
@@ -7207,8 +7211,8 @@ function Fl({
7207
7211
  }
7208
7212
  );
7209
7213
  }
7210
- Fl.displayName = "ChoiceCard";
7211
- function Wl({
7214
+ Wl.displayName = "ChoiceCard";
7215
+ function Ml({
7212
7216
  value: t,
7213
7217
  onChange: r,
7214
7218
  layout: n = "horizontal",
@@ -7234,34 +7238,34 @@ function Wl({
7234
7238
  }
7235
7239
  );
7236
7240
  }
7237
- Wl.displayName = "ChoiceCardGroup";
7238
- const Ml = {
7241
+ Ml.displayName = "ChoiceCardGroup";
7242
+ const Ll = {
7239
7243
  fontFamily: "var(--font-label)",
7240
7244
  fontSize: "var(--text-label)",
7241
7245
  fontWeight: "var(--weight-button)"
7242
- }, Ll = {
7246
+ }, Cl = {
7243
7247
  fontFamily: "var(--font-p)",
7244
7248
  fontSize: "var(--text-button)",
7245
7249
  fontWeight: "var(--weight-p)"
7246
- }, Cl = {
7250
+ }, jl = {
7247
7251
  fontFamily: "var(--font-label)",
7248
7252
  fontSize: "var(--text-label)",
7249
7253
  fontWeight: "var(--weight-button)"
7250
- }, jl = {
7254
+ }, Dl = {
7251
7255
  sm: "p-3",
7252
7256
  md: "p-4",
7253
7257
  lg: "p-5"
7254
- }, Dl = {
7258
+ }, Al = {
7255
7259
  sm: "w-8 h-8",
7256
7260
  md: "w-10 h-10",
7257
7261
  lg: "w-12 h-12"
7258
- }, Al = {
7262
+ }, El = {
7259
7263
  1: "grid-cols-1",
7260
7264
  2: "grid-cols-1 sm:grid-cols-2",
7261
7265
  3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
7262
7266
  4: "grid-cols-2 lg:grid-cols-4"
7263
7267
  };
7264
- function El({
7268
+ function Il({
7265
7269
  options: t,
7266
7270
  value: r,
7267
7271
  onChange: n,
@@ -7276,7 +7280,7 @@ function El({
7276
7280
  "div",
7277
7281
  {
7278
7282
  className: [
7279
- l === "grid" ? `grid gap-3 ${Al[o]}` : "flex flex-col gap-2",
7283
+ l === "grid" ? `grid gap-3 ${El[o]}` : "flex flex-col gap-2",
7280
7284
  c
7281
7285
  ].join(" "),
7282
7286
  role: "radiogroup",
@@ -7287,7 +7291,7 @@ function El({
7287
7291
  {
7288
7292
  className: [
7289
7293
  "relative flex items-start gap-3 border rounded-[var(--radius-md)] cursor-pointer transition-all duration-150",
7290
- jl[i],
7294
+ Dl[i],
7291
7295
  h ? "border-primary bg-primary/5 shadow-[0_0_0_1px_var(--primary)]" : "border-border bg-card hover:border-primary/40 hover:bg-muted/10",
7292
7296
  v ? "opacity-50 cursor-not-allowed" : ""
7293
7297
  ].filter(Boolean).join(" "),
@@ -7318,7 +7322,7 @@ function El({
7318
7322
  "div",
7319
7323
  {
7320
7324
  className: [
7321
- Dl[i],
7325
+ Al[i],
7322
7326
  "flex-shrink-0 flex items-center justify-center rounded-[var(--radius-md)]",
7323
7327
  h ? "bg-primary/10 text-primary" : "bg-muted/40 text-muted-foreground"
7324
7328
  ].join(" "),
@@ -7331,7 +7335,7 @@ function El({
7331
7335
  "span",
7332
7336
  {
7333
7337
  className: "text-foreground",
7334
- style: Ml,
7338
+ style: Ll,
7335
7339
  children: f.title
7336
7340
  }
7337
7341
  ),
@@ -7339,7 +7343,7 @@ function El({
7339
7343
  "span",
7340
7344
  {
7341
7345
  className: "px-1.5 py-0.5 rounded-full bg-primary/10 text-primary",
7342
- style: Cl,
7346
+ style: jl,
7343
7347
  children: f.badge
7344
7348
  }
7345
7349
  )
@@ -7348,7 +7352,7 @@ function El({
7348
7352
  "p",
7349
7353
  {
7350
7354
  className: "text-muted-foreground mt-0.5",
7351
- style: Ll,
7355
+ style: Cl,
7352
7356
  children: f.description
7353
7357
  }
7354
7358
  )
@@ -7361,14 +7365,14 @@ function El({
7361
7365
  }
7362
7366
  );
7363
7367
  }
7364
- El.displayName = "RadioCard";
7365
- function Il() {
7368
+ Il.displayName = "RadioCard";
7369
+ function Tl() {
7366
7370
  return Math.random().toString(36).slice(2, 9);
7367
7371
  }
7368
- function Tl(t = {}) {
7369
- return { id: Il(), values: { ...t } };
7372
+ function Bl(t = {}) {
7373
+ return { id: Tl(), values: { ...t } };
7370
7374
  }
7371
- const Bl = {
7375
+ const _l = {
7372
7376
  fontFamily: "var(--font-label)",
7373
7377
  fontSize: "var(--text-label)",
7374
7378
  fontWeight: "var(--weight-button)"
@@ -7377,7 +7381,7 @@ const Bl = {
7377
7381
  fontSize: "var(--text-button)",
7378
7382
  fontWeight: "var(--weight-button)"
7379
7383
  };
7380
- function _l({
7384
+ function Hl({
7381
7385
  columns: t,
7382
7386
  value: r,
7383
7387
  onChange: n,
@@ -7394,7 +7398,7 @@ function _l({
7394
7398
  ), y = r ?? h, u = (w) => {
7395
7399
  v(w), n == null || n(w);
7396
7400
  }, p = () => {
7397
- i !== void 0 && y.length >= i || u([...y, Tl(o)]);
7401
+ i !== void 0 && y.length >= i || u([...y, Bl(o)]);
7398
7402
  }, b = (w) => {
7399
7403
  y.length <= l || u(y.filter((z) => z.id !== w));
7400
7404
  }, x = (w, z, W) => {
@@ -7421,7 +7425,7 @@ function _l({
7421
7425
  {
7422
7426
  style: { width: w.width ?? "1fr", flex: w.width ? "none" : "1" },
7423
7427
  className: "min-w-0",
7424
- children: /* @__PURE__ */ e("span", { style: Bl, children: w.label })
7428
+ children: /* @__PURE__ */ e("span", { style: _l, children: w.label })
7425
7429
  },
7426
7430
  w.key
7427
7431
  )),
@@ -7503,8 +7507,8 @@ function _l({
7503
7507
  )
7504
7508
  ] });
7505
7509
  }
7506
- _l.displayName = "RepeatableFieldList";
7507
- const Hl = {
7510
+ Hl.displayName = "RepeatableFieldList";
7511
+ const Rl = {
7508
7512
  history: [
7509
7513
  { cmd: "undo", icon: Rn, title: "Undo" },
7510
7514
  { cmd: "redo", icon: On, title: "Redo" }
@@ -7533,18 +7537,18 @@ const Hl = {
7533
7537
  { cmd: "createLink", icon: Wn, title: "Insert link" },
7534
7538
  { cmd: "unlink", icon: Mn, title: "Remove link" }
7535
7539
  ]
7536
- }, Rl = {
7540
+ }, Ol = {
7537
7541
  fontFamily: "var(--font-label)",
7538
7542
  fontSize: "var(--text-label)",
7539
7543
  fontWeight: "var(--weight-p)"
7540
- }, Ol = {
7544
+ }, Pl = {
7541
7545
  fontFamily: "var(--font-p)",
7542
7546
  fontSize: "var(--text-p)",
7543
7547
  fontWeight: "var(--weight-p)",
7544
7548
  lineHeight: "1.6",
7545
7549
  color: "var(--foreground)"
7546
7550
  };
7547
- function Pl({
7551
+ function Yl({
7548
7552
  value: t = "",
7549
7553
  onChange: r,
7550
7554
  placeholder: n = "Start typing…",
@@ -7609,7 +7613,7 @@ function Pl({
7609
7613
  return /* @__PURE__ */ a("div", { className: W, children: [
7610
7614
  !s && /* @__PURE__ */ a("div", { className: "flex items-center gap-0.5 flex-wrap px-2 py-1.5 border-b border-border bg-muted/10", children: [
7611
7615
  i.map((M, F) => {
7612
- const L = Hl[M];
7616
+ const L = Rl[M];
7613
7617
  return /* @__PURE__ */ a(ge.Fragment, { children: [
7614
7618
  F > 0 && /* @__PURE__ */ e("div", { className: "w-px h-5 bg-border mx-1" }),
7615
7619
  L.map((E) => {
@@ -7654,7 +7658,7 @@ function Pl({
7654
7658
  "div",
7655
7659
  {
7656
7660
  className: "absolute top-0 left-0 pointer-events-none p-4 text-muted-foreground",
7657
- style: Rl,
7661
+ style: Ol,
7658
7662
  children: n
7659
7663
  }
7660
7664
  ),
@@ -7677,7 +7681,7 @@ function Pl({
7677
7681
  y ? "flex-1" : ""
7678
7682
  ].filter(Boolean).join(" "),
7679
7683
  style: {
7680
- ...Ol,
7684
+ ...Pl,
7681
7685
  minHeight: y ? void 0 : z,
7682
7686
  maxHeight: y ? void 0 : l
7683
7687
  },
@@ -7687,7 +7691,7 @@ function Pl({
7687
7691
  ] })
7688
7692
  ] });
7689
7693
  }
7690
- Pl.displayName = "RichTextEditor";
7694
+ Yl.displayName = "RichTextEditor";
7691
7695
  const Mt = {
7692
7696
  fontFamily: "var(--font-label)",
7693
7697
  fontSize: "var(--text-label)",
@@ -7696,14 +7700,14 @@ const Mt = {
7696
7700
  fontFamily: "var(--font-label)",
7697
7701
  fontSize: "var(--text-label)",
7698
7702
  fontWeight: "var(--weight-p)"
7699
- }, Yl = {
7703
+ }, Gl = {
7700
7704
  2: "grid-cols-2",
7701
7705
  3: "grid-cols-2 sm:grid-cols-3",
7702
7706
  4: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-4",
7703
7707
  5: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-5",
7704
7708
  6: "grid-cols-2 sm:grid-cols-4 lg:grid-cols-6"
7705
7709
  };
7706
- function Gl({
7710
+ function Ul({
7707
7711
  images: t,
7708
7712
  startIdx: r,
7709
7713
  onClose: n
@@ -7811,7 +7815,7 @@ function Vr({
7811
7815
  );
7812
7816
  }
7813
7817
  Vr.displayName = "ThumbnailCell";
7814
- function Ul({
7818
+ function Kl({
7815
7819
  images: t,
7816
7820
  selectable: r = !1,
7817
7821
  selectedIds: n = [],
@@ -7902,7 +7906,7 @@ function Ul({
7902
7906
  )
7903
7907
  ] })
7904
7908
  ] }),
7905
- u === "grid" && /* @__PURE__ */ e("div", { className: `grid gap-2 ${Yl[h]}`, children: t.map((w, z) => {
7909
+ u === "grid" && /* @__PURE__ */ e("div", { className: `grid gap-2 ${Gl[h]}`, children: t.map((w, z) => {
7906
7910
  const W = n.includes(w.id);
7907
7911
  return /* @__PURE__ */ a(
7908
7912
  "div",
@@ -7976,7 +7980,7 @@ function Ul({
7976
7980
  );
7977
7981
  }) }),
7978
7982
  b !== null && /* @__PURE__ */ e(
7979
- Gl,
7983
+ Ul,
7980
7984
  {
7981
7985
  images: t,
7982
7986
  startIdx: b,
@@ -7985,7 +7989,7 @@ function Ul({
7985
7989
  )
7986
7990
  ] });
7987
7991
  }
7988
- Ul.displayName = "ImageGallery";
7992
+ Kl.displayName = "ImageGallery";
7989
7993
  const Bt = ut(null);
7990
7994
  Bt.displayName = "AppShellContext";
7991
7995
  const _t = ut(null);
@@ -8068,7 +8072,7 @@ function en({
8068
8072
  return /* @__PURE__ */ e(_t.Provider, { value: m, children: /* @__PURE__ */ e(Bt.Provider, { value: m, children: d }) });
8069
8073
  }
8070
8074
  en.displayName = "AppShellProvider";
8071
- function Kl() {
8075
+ function Zl() {
8072
8076
  const t = ct(Bt);
8073
8077
  if (!t)
8074
8078
  throw new Error(
@@ -8076,7 +8080,7 @@ function Kl() {
8076
8080
  );
8077
8081
  return t;
8078
8082
  }
8079
- function Zl() {
8083
+ function Xl() {
8080
8084
  const t = ct(_t);
8081
8085
  if (!t)
8082
8086
  throw new Error(
@@ -8084,11 +8088,11 @@ function Zl() {
8084
8088
  );
8085
8089
  return t;
8086
8090
  }
8087
- function Xi(t) {
8088
- const { setBreadcrumbs: r } = Kl(), n = JSON.stringify(t);
8091
+ function qi(t) {
8092
+ const { setBreadcrumbs: r } = Zl(), n = JSON.stringify(t);
8089
8093
  ne(() => (r(t), () => r([])), [n]);
8090
8094
  }
8091
- function qi(t, r) {
8095
+ function Ji(t, r) {
8092
8096
  const [n, o] = j({
8093
8097
  groups: [],
8094
8098
  loading: !1,
@@ -8117,7 +8121,7 @@ function qi(t, r) {
8117
8121
  i();
8118
8122
  }, [i]), { ...n, refresh: i };
8119
8123
  }
8120
- class Xl extends ge.Component {
8124
+ class ql extends ge.Component {
8121
8125
  constructor(r) {
8122
8126
  super(r), this.state = { hasError: !1 };
8123
8127
  }
@@ -8177,7 +8181,7 @@ function fr({ p: t }) {
8177
8181
  /* @__PURE__ */ e(te, { children: t.footer })
8178
8182
  ] });
8179
8183
  }
8180
- function ql({ p: t }) {
8184
+ function Jl({ p: t }) {
8181
8185
  const r = t.gap ?? "gap-6", n = t.asideWidth ?? "w-80";
8182
8186
  return /* @__PURE__ */ a("div", { className: `flex flex-col ${r}`, children: [
8183
8187
  /* @__PURE__ */ e(te, { children: t.header }),
@@ -8189,7 +8193,7 @@ function ql({ p: t }) {
8189
8193
  ] })
8190
8194
  ] });
8191
8195
  }
8192
- function Jl({ p: t }) {
8196
+ function Ql({ p: t }) {
8193
8197
  const r = t.gap ?? "gap-8";
8194
8198
  return /* @__PURE__ */ a("div", { className: `flex flex-col ${r} max-w-3xl`, children: [
8195
8199
  /* @__PURE__ */ e(te, { children: t.header }),
@@ -8197,7 +8201,7 @@ function Jl({ p: t }) {
8197
8201
  /* @__PURE__ */ e(te, { className: `flex flex-col ${r}`, children: t.sections ?? t.content })
8198
8202
  ] });
8199
8203
  }
8200
- function Ql({ p: t }) {
8204
+ function Vl({ p: t }) {
8201
8205
  const r = t.gap ?? "gap-6";
8202
8206
  return /* @__PURE__ */ a("div", { className: "flex flex-col min-h-screen", children: [
8203
8207
  /* @__PURE__ */ a("div", { className: `flex flex-col ${r} flex-1 pb-24`, children: [
@@ -8209,7 +8213,7 @@ function Ql({ p: t }) {
8209
8213
  /* @__PURE__ */ e(tn, { children: t.actions })
8210
8214
  ] });
8211
8215
  }
8212
- function Vl({ p: t }) {
8216
+ function ei({ p: t }) {
8213
8217
  const r = t.gap ?? "gap-6", n = t.primaryChart && t.secondaryCharts;
8214
8218
  return /* @__PURE__ */ a("div", { className: `flex flex-col ${r}`, children: [
8215
8219
  /* @__PURE__ */ e(te, { children: t.header }),
@@ -8226,7 +8230,7 @@ function Vl({ p: t }) {
8226
8230
  /* @__PURE__ */ e(te, { children: t.footer })
8227
8231
  ] });
8228
8232
  }
8229
- function ei({ p: t }) {
8233
+ function ti({ p: t }) {
8230
8234
  const r = t.gap ?? "gap-6";
8231
8235
  return /* @__PURE__ */ a("div", { className: "flex flex-col min-h-screen", children: [
8232
8236
  /* @__PURE__ */ a("div", { className: `flex flex-col ${r} flex-1 pb-24`, children: [
@@ -8237,7 +8241,7 @@ function ei({ p: t }) {
8237
8241
  /* @__PURE__ */ e(tn, { children: t.actions })
8238
8242
  ] });
8239
8243
  }
8240
- function ti({ p: t }) {
8244
+ function ri({ p: t }) {
8241
8245
  const r = t.gap ?? "gap-6";
8242
8246
  return /* @__PURE__ */ a("div", { className: `flex flex-col ${r}`, children: [
8243
8247
  /* @__PURE__ */ e(te, { children: t.header }),
@@ -8253,59 +8257,59 @@ function ti({ p: t }) {
8253
8257
  /* @__PURE__ */ e(te, { children: t.footer })
8254
8258
  ] });
8255
8259
  }
8256
- function ri(t) {
8260
+ function ni(t) {
8257
8261
  const { layout: r = "list", maxWidth: n, padding: o, className: l = "" } = t, i = o ?? "p-4 sm:p-6", d = n ? `${n} mx-auto w-full` : "w-full", c = (() => {
8258
8262
  switch (r) {
8259
8263
  case "list":
8260
8264
  return /* @__PURE__ */ e(fr, { p: t });
8261
8265
  case "detail":
8262
- return /* @__PURE__ */ e(ql, { p: t });
8263
- case "settings":
8264
8266
  return /* @__PURE__ */ e(Jl, { p: t });
8265
- case "wizard":
8267
+ case "settings":
8266
8268
  return /* @__PURE__ */ e(Ql, { p: t });
8267
- case "dashboard":
8269
+ case "wizard":
8268
8270
  return /* @__PURE__ */ e(Vl, { p: t });
8269
- case "form":
8271
+ case "dashboard":
8270
8272
  return /* @__PURE__ */ e(ei, { p: t });
8271
- case "report":
8273
+ case "form":
8272
8274
  return /* @__PURE__ */ e(ti, { p: t });
8275
+ case "report":
8276
+ return /* @__PURE__ */ e(ri, { p: t });
8273
8277
  default:
8274
8278
  return /* @__PURE__ */ e(fr, { p: t });
8275
8279
  }
8276
8280
  })();
8277
8281
  return /* @__PURE__ */ e("div", { className: `${i} ${d} ${l}`, children: c });
8278
8282
  }
8279
- ri.displayName = "FeaturePageScaffold";
8280
- const ni = {
8283
+ ni.displayName = "FeaturePageScaffold";
8284
+ const oi = {
8281
8285
  fontFamily: "var(--font-label)",
8282
8286
  fontSize: "var(--text-h4)",
8283
8287
  fontWeight: "var(--weight-button)",
8284
8288
  color: "var(--foreground)"
8285
- }, oi = {
8289
+ }, ai = {
8286
8290
  fontFamily: "var(--font-p)",
8287
8291
  fontSize: "var(--text-label)",
8288
8292
  fontWeight: "var(--weight-p)",
8289
8293
  color: "var(--muted-foreground)"
8290
8294
  };
8291
- function ai({ title: t, description: r, action: n, children: o, className: l = "" }) {
8295
+ function li({ title: t, description: r, action: n, children: o, className: l = "" }) {
8292
8296
  return /* @__PURE__ */ a("section", { className: `space-y-4 ${l}`, children: [
8293
8297
  /* @__PURE__ */ a("div", { className: "flex items-start justify-between gap-4", children: [
8294
8298
  /* @__PURE__ */ a("div", { children: [
8295
- /* @__PURE__ */ e("h2", { style: ni, children: t }),
8296
- r && /* @__PURE__ */ e("p", { className: "mt-1", style: oi, children: r })
8299
+ /* @__PURE__ */ e("h2", { style: oi, children: t }),
8300
+ r && /* @__PURE__ */ e("p", { className: "mt-1", style: ai, children: r })
8297
8301
  ] }),
8298
8302
  n && /* @__PURE__ */ e("div", { className: "flex-shrink-0", children: n })
8299
8303
  ] }),
8300
8304
  /* @__PURE__ */ e("div", { className: "border-t border-border pt-4", children: o })
8301
8305
  ] });
8302
8306
  }
8303
- ai.displayName = "ScaffoldSection";
8304
- function li({ children: t, className: r = "" }) {
8307
+ li.displayName = "ScaffoldSection";
8308
+ function ii({ children: t, className: r = "" }) {
8305
8309
  return /* @__PURE__ */ e("div", { className: `grid grid-cols-2 lg:grid-cols-4 gap-4 ${r}`, children: t });
8306
8310
  }
8307
- li.displayName = "ScaffoldKPIRow";
8308
- function ii(t) {
8311
+ ii.displayName = "ScaffoldKPIRow";
8312
+ function si(t) {
8309
8313
  return t.map((r) => ({
8310
8314
  label: r.title ?? "",
8311
8315
  items: r.items.filter((n) => !n.disabled).map((n) => ({
@@ -8316,7 +8320,7 @@ function ii(t) {
8316
8320
  }))
8317
8321
  }));
8318
8322
  }
8319
- function si({
8323
+ function di({
8320
8324
  activeItemId: t,
8321
8325
  onNavigate: r,
8322
8326
  notificationCount: n,
@@ -8341,7 +8345,7 @@ function si({
8341
8345
  navLoading: S,
8342
8346
  navError: m,
8343
8347
  refreshNav: g
8344
- } = Zl(), [w, z] = j(
8348
+ } = Xl(), [w, z] = j(
8345
8349
  !(((N = b == null ? void 0 : b.shell) == null ? void 0 : N.sidebarDefaultOpen) ?? !0)
8346
8350
  ), [W, M] = j(!1);
8347
8351
  ne(() => {
@@ -8350,7 +8354,7 @@ function si({
8350
8354
  }
8351
8355
  return window.addEventListener("resize", _), () => window.removeEventListener("resize", _);
8352
8356
  }, []);
8353
- const F = ii($), L = Q(
8357
+ const F = si($), L = Q(
8354
8358
  (_) => {
8355
8359
  const H = $.flatMap((B) => B.items).find((B) => B.id === _.id);
8356
8360
  H && r && r(H), M(!1);
@@ -8470,7 +8474,7 @@ function si({
8470
8474
  transition: "margin-left var(--shell-sidebar-transition, 250ms cubic-bezier(0.4,0,0.2,1))",
8471
8475
  maxWidth: (I = b == null ? void 0 : b.shell) == null ? void 0 : I.contentMaxWidth
8472
8476
  },
8473
- children: /* @__PURE__ */ e(Xl, { children: h })
8477
+ children: /* @__PURE__ */ e(ql, { children: h })
8474
8478
  }
8475
8479
  ),
8476
8480
  /* @__PURE__ */ e(eo, {})
@@ -8478,7 +8482,7 @@ function si({
8478
8482
  }
8479
8483
  );
8480
8484
  }
8481
- function di({
8485
+ function ci({
8482
8486
  product: t,
8483
8487
  user: r,
8484
8488
  navResolver: n,
@@ -8492,12 +8496,12 @@ function di({
8492
8496
  user: r,
8493
8497
  navResolver: n,
8494
8498
  defaultSidebarOpen: ((l = t == null ? void 0 : t.shell) == null ? void 0 : l.sidebarDefaultOpen) ?? !0,
8495
- children: /* @__PURE__ */ e(si, { ...o })
8499
+ children: /* @__PURE__ */ e(di, { ...o })
8496
8500
  }
8497
8501
  );
8498
8502
  }
8499
- di.displayName = "AppShell";
8500
- function ci() {
8503
+ ci.displayName = "AppShell";
8504
+ function ui() {
8501
8505
  return /* @__PURE__ */ a("div", { className: "min-h-screen bg-[var(--background)] flex flex-col", children: [
8502
8506
  /* @__PURE__ */ a("div", { className: "h-14 bg-card border-b border-border flex items-center px-4 gap-3", children: [
8503
8507
  /* @__PURE__ */ e("div", { className: "w-8 h-8 rounded-[var(--radius-md)] bg-muted/40 animate-pulse" }),
@@ -8520,8 +8524,8 @@ function ci() {
8520
8524
  ] })
8521
8525
  ] });
8522
8526
  }
8523
- ci.displayName = "AppShellSkeleton";
8524
- const Ji = {
8527
+ ui.displayName = "AppShellSkeleton";
8528
+ const Qi = {
8525
8529
  product: "sellsuki",
8526
8530
  brand: {
8527
8531
  name: "Sellsuki",
@@ -8531,7 +8535,7 @@ const Ji = {
8531
8535
  sidebarCollapsible: !0,
8532
8536
  sidebarDefaultOpen: !0
8533
8537
  }
8534
- }, Qi = {
8538
+ }, Vi = {
8535
8539
  product: "patona",
8536
8540
  brand: {
8537
8541
  name: "Patona",
@@ -8541,7 +8545,7 @@ const Ji = {
8541
8545
  sidebarCollapsible: !0,
8542
8546
  sidebarDefaultOpen: !0
8543
8547
  }
8544
- }, Vi = {
8548
+ }, es = {
8545
8549
  product: "sukispace",
8546
8550
  brand: {
8547
8551
  name: "Sukispace",
@@ -8551,13 +8555,13 @@ const Ji = {
8551
8555
  sidebarCollapsible: !0,
8552
8556
  sidebarDefaultOpen: !0
8553
8557
  }
8554
- }, es = {
8558
+ }, ts = {
8555
8559
  product: "shipmunk",
8556
8560
  brand: {
8557
8561
  name: "Shipmunk",
8558
8562
  theme: "shipmunk"
8559
8563
  }
8560
- }, ts = {
8564
+ }, rs = {
8561
8565
  product: "akita",
8562
8566
  brand: {
8563
8567
  name: "Akita",
@@ -8567,111 +8571,111 @@ const Ji = {
8567
8571
  export {
8568
8572
  No as Accordion,
8569
8573
  Dr as AccordionItem,
8570
- Zi as AdvancedDataTable,
8574
+ Xi as AdvancedDataTable,
8571
8575
  Lr as Alert,
8572
- di as AppShell,
8573
- Xl as AppShellErrorBoundary,
8576
+ ci as AppShell,
8577
+ ql as AppShellErrorBoundary,
8574
8578
  en as AppShellProvider,
8575
- ci as AppShellSkeleton,
8576
- cl as AreaChart,
8579
+ ui as AppShellSkeleton,
8580
+ ul as AreaChart,
8577
8581
  Fo as Avatar,
8578
8582
  Wo as AvatarGroup,
8579
- pi as Badge,
8580
- ul as BarChart,
8581
- zi as Breadcrumb,
8583
+ gi as Badge,
8584
+ fl as BarChart,
8585
+ Fi as Breadcrumb,
8582
8586
  Xn as Button,
8583
- bi as ButtonGroup,
8587
+ pi as ButtonGroup,
8584
8588
  jo as Card,
8585
8589
  Ao as CardBody,
8586
8590
  Eo as CardFooter,
8587
8591
  Do as CardHeader,
8588
8592
  st as Checkbox,
8589
- gi as CheckboxGroup,
8590
- Fl as ChoiceCard,
8591
- Wl as ChoiceCardGroup,
8592
- Fi as ColorPicker,
8593
- wi as ConfirmDialog,
8593
+ vi as CheckboxGroup,
8594
+ Wl as ChoiceCard,
8595
+ Ml as ChoiceCardGroup,
8596
+ Wi as ColorPicker,
8597
+ Ni as ConfirmDialog,
8594
8598
  Xn as DSButton,
8595
8599
  st as DSCheckbox,
8596
8600
  Jn as DSInput,
8597
- vi as DSRadio,
8598
- Si as DSTable,
8601
+ xi as DSRadio,
8602
+ ki as DSTable,
8599
8603
  Qn as DSTextarea,
8600
- yi as DatePicker,
8601
- yl as DateRangePicker,
8602
- wl as DateTimePicker,
8604
+ wi as DatePicker,
8605
+ wl as DateRangePicker,
8606
+ Nl as DateTimePicker,
8603
8607
  Oo as Divider,
8604
- fl as DonutChart,
8608
+ ml as DonutChart,
8605
8609
  Yo as Drawer,
8606
8610
  Zo as Dropdown,
8607
- Wi as EmptyState,
8608
- ri as FeaturePageScaffold,
8609
- Mi as FileUpload,
8610
- Ki as FilterBar,
8611
- Pa as FormError,
8612
- Pi as FormField,
8613
- Ga as FormHelperText,
8611
+ Mi as EmptyState,
8612
+ ni as FeaturePageScaffold,
8613
+ Li as FileUpload,
8614
+ Zi as FilterBar,
8615
+ Ya as FormError,
8616
+ Yi as FormField,
8617
+ Ua as FormHelperText,
8614
8618
  ir as FormLabel,
8615
- Ya as FormSuccess,
8619
+ Ga as FormSuccess,
8616
8620
  qn as IconButton,
8617
- Ul as ImageGallery,
8618
- Li as ImagePreview,
8621
+ Kl as ImageGallery,
8622
+ Ci as ImagePreview,
8619
8623
  Jn as Input,
8620
- dl as LineChart,
8624
+ cl as LineChart,
8621
8625
  aa as Menu,
8622
- ml as MiniSparkline,
8626
+ hl as MiniSparkline,
8623
8627
  mo as Modal,
8624
8628
  ia as Notification,
8625
- Ci as NotificationCenter,
8626
- Yi as NumberInput,
8627
- Gi as OTPInput,
8628
- Ui as PageHeader,
8629
- Ni as Pagination,
8630
- ji as Popover,
8629
+ ji as NotificationCenter,
8630
+ Gi as NumberInput,
8631
+ Ui as OTPInput,
8632
+ Ki as PageHeader,
8633
+ $i as Pagination,
8634
+ Di as Popover,
8631
8635
  ua as ProgressBar,
8632
- vi as Radio,
8633
- El as RadioCard,
8634
- xi as RadioGroup,
8635
- Di as Rating,
8636
- _l as RepeatableFieldList,
8637
- Pl as RichTextEditor,
8638
- li as ScaffoldKPIRow,
8639
- ai as ScaffoldSection,
8640
- $i as SearchField,
8636
+ xi as Radio,
8637
+ Il as RadioCard,
8638
+ yi as RadioGroup,
8639
+ Ai as Rating,
8640
+ Hl as RepeatableFieldList,
8641
+ Yl as RichTextEditor,
8642
+ ii as ScaffoldKPIRow,
8643
+ li as ScaffoldSection,
8644
+ Si as SearchField,
8641
8645
  zt as Sidebar,
8642
8646
  _r as SidebarAccountSwitcher,
8643
8647
  de as Skeleton,
8644
- Ai as SkeletonCard,
8648
+ Ei as SkeletonCard,
8645
8649
  tr as SkeletonList,
8646
- Ei as SkeletonTable,
8650
+ Ii as SkeletonTable,
8647
8651
  $a as Spinner,
8648
- Ti as StatCard,
8649
- Ii as Statistic,
8652
+ Bi as StatCard,
8653
+ Ti as Statistic,
8650
8654
  za as Stepper,
8651
- Bi as Switch,
8652
- Si as Table,
8653
- ki as Tabs,
8655
+ _i as Switch,
8656
+ ki as Table,
8657
+ zi as Tabs,
8654
8658
  Ea as Tag,
8655
8659
  _a as TagInput,
8656
8660
  Qn as Textarea,
8657
8661
  Vr as ThumbnailCell,
8658
8662
  Qr as TimePicker,
8659
- _i as Timeline,
8663
+ Hi as Timeline,
8660
8664
  eo as ToastContainer,
8661
8665
  Br as Tooltip,
8662
8666
  Pr as TopNavbar,
8663
- Hi as TransferList,
8664
- Ri as Tree,
8665
- ts as akitaBrandConfig,
8666
- Qi as patonaBrandConfig,
8667
- Ji as sellsukiBrandConfig,
8668
- es as shipmunkBrandConfig,
8669
- Vi as sukispaceBrandConfig,
8667
+ Ri as TransferList,
8668
+ Oi as Tree,
8669
+ rs as akitaBrandConfig,
8670
+ Vi as patonaBrandConfig,
8671
+ Qi as sellsukiBrandConfig,
8672
+ ts as shipmunkBrandConfig,
8673
+ es as sukispaceBrandConfig,
8670
8674
  He as toast,
8671
- Kl as useAppShell,
8672
- Zl as useAppShellFull,
8673
- Xi as useBreadcrumbs,
8674
- Oi as useFormField,
8675
- qi as useNavResolver
8675
+ Zl as useAppShell,
8676
+ Xl as useAppShellFull,
8677
+ qi as useBreadcrumbs,
8678
+ Pi as useFormField,
8679
+ Ji as useNavResolver
8676
8680
  };
8677
8681
  //# sourceMappingURL=sellsuki-ds.js.map