@burdenoff/microfe-brainyrich 2026.827.1 → 2026.828.2

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.
Files changed (43) hide show
  1. package/dist/brainyrich/BrainyRichRoot.d.ts.map +1 -1
  2. package/dist/brainyrich/BrainyRichRoot.js +59 -59
  3. package/dist/brainyrich/BrainyRichRoot.js.map +1 -1
  4. package/dist/brainyrich/components/viz.d.ts.map +1 -1
  5. package/dist/brainyrich/components/viz.js +1 -1
  6. package/dist/brainyrich/components/viz.js.map +1 -1
  7. package/dist/brainyrich/hooks/useBrainyRichApi.d.ts +3 -1
  8. package/dist/brainyrich/hooks/useBrainyRichApi.d.ts.map +1 -1
  9. package/dist/brainyrich/hooks/useBrainyRichApi.js +6 -2
  10. package/dist/brainyrich/hooks/useBrainyRichApi.js.map +1 -1
  11. package/dist/brainyrich/pages/AccountsPage.d.ts.map +1 -1
  12. package/dist/brainyrich/pages/AccountsPage.js +159 -148
  13. package/dist/brainyrich/pages/AccountsPage.js.map +1 -1
  14. package/dist/brainyrich/pages/AiAssistantPage.js +192 -192
  15. package/dist/brainyrich/pages/AiAssistantPage.js.map +1 -1
  16. package/dist/brainyrich/pages/AnalyticsPage.js +9 -9
  17. package/dist/brainyrich/pages/AnalyticsPage.js.map +1 -1
  18. package/dist/brainyrich/pages/DashboardPage.js +115 -115
  19. package/dist/brainyrich/pages/DashboardPage.js.map +1 -1
  20. package/dist/brainyrich/pages/FamilyPage.js +59 -59
  21. package/dist/brainyrich/pages/FamilyPage.js.map +1 -1
  22. package/dist/brainyrich/pages/GoalsPage.js +285 -285
  23. package/dist/brainyrich/pages/GoalsPage.js.map +1 -1
  24. package/dist/brainyrich/pages/InvestmentsPage.js +18 -18
  25. package/dist/brainyrich/pages/InvestmentsPage.js.map +1 -1
  26. package/dist/brainyrich/pages/PortfoliosPage.d.ts.map +1 -1
  27. package/dist/brainyrich/pages/PortfoliosPage.js +322 -322
  28. package/dist/brainyrich/pages/PortfoliosPage.js.map +1 -1
  29. package/dist/brainyrich/pages/ReportsPage.js +17 -17
  30. package/dist/brainyrich/pages/ReportsPage.js.map +1 -1
  31. package/dist/brainyrich/pages/RiskPage.js +16 -16
  32. package/dist/brainyrich/pages/RiskPage.js.map +1 -1
  33. package/dist/brainyrich/pages/TaxPage.d.ts.map +1 -1
  34. package/dist/brainyrich/pages/TaxPage.js +14 -14
  35. package/dist/brainyrich/pages/TaxPage.js.map +1 -1
  36. package/dist/brainyrich/types/bra.d.ts.map +1 -1
  37. package/dist/generated/global-operations.d.ts +31 -1
  38. package/dist/generated/global-operations.d.ts.map +1 -1
  39. package/dist/generated/wspace-operations.d.ts +31 -1
  40. package/dist/generated/wspace-operations.d.ts.map +1 -1
  41. package/dist/test/setup.d.ts +1 -0
  42. package/dist/test/setup.d.ts.map +1 -0
  43. package/package.json +11 -2
@@ -9,7 +9,7 @@ import { CommentThread as v } from "../components/reuse/CommentThread.js";
9
9
  import { useMemo as y, useState as b } from "react";
10
10
  import { Activity as _e, AlertTriangle as ve, ArrowRight as ye, Check as be, Eye as xe, Gauge as x, Layers as Se, LineChart as Ce, MoreHorizontal as we, Plus as Te, RefreshCw as Ee, Scale as De, Scissors as Oe, Search as ke, ShieldAlert as S, ShieldCheck as C, Sparkles as Ae, TrendingUp as je, X as w } from "lucide-react";
11
11
  import { Fragment as Me, jsx as T, jsxs as E } from "react/jsx-runtime";
12
- import { Badge as D, Button as O, Card as k, CardContent as A, CardDescription as j, CardHeader as M, CardTitle as N, Dialog as Ne, DialogClose as Pe, DialogContent as Fe, DialogDescription as Ie, DialogFooter as Le, DialogHeader as Re, DialogTitle as ze, DropdownMenu as Be, DropdownMenuContent as Ve, DropdownMenuItem as P, DropdownMenuLabel as He, DropdownMenuSeparator as Ue, DropdownMenuTrigger as We, Input as F, Label as I, Select as Ge, SelectContent as Ke, SelectItem as qe, SelectTrigger as Je, SelectValue as Ye, Table as Xe, TableBody as Ze, TableCell as L, TableHead as R, TableHeader as Qe, TableRow as z, Textarea as $e } from "@burdenoff/fe-libs/ui";
12
+ import { Badge as D, Button as O, Card as k, CardContent as A, CardDescription as j, CardHeader as M, CardTitle as N, DropdownMenu as Ne, DropdownMenuContent as Pe, DropdownMenuItem as P, DropdownMenuLabel as Fe, DropdownMenuSeparator as Ie, DropdownMenuTrigger as Le, Input as F, Label as I, ResponsiveDialog as Re, ResponsiveDialogClose as ze, ResponsiveDialogContent as Be, ResponsiveDialogDescription as Ve, ResponsiveDialogFooter as He, ResponsiveDialogHeader as Ue, ResponsiveDialogTitle as We, Select as Ge, SelectContent as Ke, SelectItem as qe, SelectTrigger as Je, SelectValue as Ye, Table as Xe, TableBody as Ze, TableCell as L, TableHead as R, TableHeader as Qe, TableRow as z, Textarea as $e } from "@burdenoff/fe-libs/ui";
13
13
  //#region src/brainyrich/pages/RiskPage.tsx
14
14
  var et = {
15
15
  DRAFT: ["PROPOSED", "CANCELLED"],
@@ -860,7 +860,7 @@ function H() {
860
860
  /* @__PURE__ */ T(L, {
861
861
  className: "text-right",
862
862
  onClick: (e) => e.stopPropagation(),
863
- children: /* @__PURE__ */ E(Be, { children: [/* @__PURE__ */ T(We, {
863
+ children: /* @__PURE__ */ E(Ne, { children: [/* @__PURE__ */ T(Le, {
864
864
  asChild: !0,
865
865
  children: /* @__PURE__ */ T(O, {
866
866
  variant: "ghost",
@@ -871,7 +871,7 @@ function H() {
871
871
  "aria-hidden": "true"
872
872
  })
873
873
  })
874
- }), /* @__PURE__ */ E(Ve, {
874
+ }), /* @__PURE__ */ E(Pe, {
875
875
  align: "end",
876
876
  children: [/* @__PURE__ */ E(P, {
877
877
  onClick: () => Qt(e),
@@ -880,8 +880,8 @@ function H() {
880
880
  "aria-hidden": "true"
881
881
  }), "View details"]
882
882
  }), r.length > 0 ? /* @__PURE__ */ E(Me, { children: [
883
- /* @__PURE__ */ T(Ue, {}),
884
- /* @__PURE__ */ T(He, { children: "Advance to" }),
883
+ /* @__PURE__ */ T(Ie, {}),
884
+ /* @__PURE__ */ T(Fe, { children: "Advance to" }),
885
885
  r.map((t) => {
886
886
  let n = t === "REJECTED" || t === "CANCELLED";
887
887
  return /* @__PURE__ */ E(P, {
@@ -932,11 +932,11 @@ function H() {
932
932
  label: "Load more insights"
933
933
  })]
934
934
  }) })] }),
935
- /* @__PURE__ */ T(Ne, {
935
+ /* @__PURE__ */ T(Re, {
936
936
  open: qt,
937
937
  onOpenChange: Jt,
938
- children: /* @__PURE__ */ E(Fe, { children: [
939
- /* @__PURE__ */ E(Re, { children: [/* @__PURE__ */ T(ze, { children: "New rebalance proposal" }), /* @__PURE__ */ T(Ie, { children: "Propose a rebalance for a portfolio that has drifted from its target allocation." })] }),
938
+ children: /* @__PURE__ */ E(Be, { children: [
939
+ /* @__PURE__ */ E(Ue, { children: [/* @__PURE__ */ T(We, { children: "New rebalance proposal" }), /* @__PURE__ */ T(Ve, { children: "Propose a rebalance for a portfolio that has drifted from its target allocation." })] }),
940
940
  cn ? /* @__PURE__ */ E("div", {
941
941
  className: "grid gap-4",
942
942
  children: [
@@ -1030,7 +1030,7 @@ function H() {
1030
1030
  title: "Create a portfolio first",
1031
1031
  description: "A rebalance proposal targets a portfolio. Add a portfolio on the Portfolios page, then return here to propose a rebalance."
1032
1032
  }),
1033
- /* @__PURE__ */ E(Le, { children: [/* @__PURE__ */ T(Pe, {
1033
+ /* @__PURE__ */ E(He, { children: [/* @__PURE__ */ T(ze, {
1034
1034
  asChild: !0,
1035
1035
  children: /* @__PURE__ */ T(O, {
1036
1036
  variant: "outline",
@@ -1082,18 +1082,18 @@ function H() {
1082
1082
  }
1083
1083
  function dt({ proposal: e, portfolio: t, relatedInsights: n, nextStatuses: r, transitionPending: i, onTransition: a, onOpenChange: o }) {
1084
1084
  let s = e ? st(e.trades) : null, ee = e != null && t?.driftThresholdPct != null && Number.isFinite(t.driftThresholdPct) && e.driftPct >= t.driftThresholdPct;
1085
- return /* @__PURE__ */ T(Ne, {
1085
+ return /* @__PURE__ */ T(Re, {
1086
1086
  open: e !== null,
1087
1087
  onOpenChange: o,
1088
- children: /* @__PURE__ */ T(Fe, {
1088
+ children: /* @__PURE__ */ T(Be, {
1089
1089
  className: "max-h-[88vh] max-w-3xl overflow-y-auto",
1090
1090
  children: e ? /* @__PURE__ */ E(Me, { children: [
1091
- /* @__PURE__ */ E(Re, { children: [
1091
+ /* @__PURE__ */ E(Ue, { children: [
1092
1092
  /* @__PURE__ */ T("p", {
1093
1093
  className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
1094
1094
  children: "Detail"
1095
1095
  }),
1096
- /* @__PURE__ */ E(ze, {
1096
+ /* @__PURE__ */ E(We, {
1097
1097
  className: "flex flex-wrap items-center gap-2 text-xl",
1098
1098
  children: [
1099
1099
  t?.name ?? "Rebalance proposal",
@@ -1107,7 +1107,7 @@ function dt({ proposal: e, portfolio: t, relatedInsights: n, nextStatuses: r, tr
1107
1107
  })
1108
1108
  ]
1109
1109
  }),
1110
- /* @__PURE__ */ E(Ie, { children: [
1110
+ /* @__PURE__ */ E(Ve, { children: [
1111
1111
  "Created ",
1112
1112
  m(e.createdAt),
1113
1113
  e.executedAt ? ` · executed ${m(e.executedAt)}` : ""
@@ -1411,7 +1411,7 @@ function mt({ insight: e, onAcknowledge: t, onResolve: n, onDismiss: r, actionPe
1411
1411
  }), a ? /* @__PURE__ */ T("span", {
1412
1412
  className: "mt-1 text-xs text-text-muted",
1413
1413
  children: "Closed"
1414
- }) : /* @__PURE__ */ E(Be, { children: [/* @__PURE__ */ T(We, {
1414
+ }) : /* @__PURE__ */ E(Ne, { children: [/* @__PURE__ */ T(Le, {
1415
1415
  asChild: !0,
1416
1416
  children: /* @__PURE__ */ T(O, {
1417
1417
  variant: "ghost",
@@ -1423,7 +1423,7 @@ function mt({ insight: e, onAcknowledge: t, onResolve: n, onDismiss: r, actionPe
1423
1423
  "aria-hidden": "true"
1424
1424
  })
1425
1425
  })
1426
- }), /* @__PURE__ */ E(Ve, {
1426
+ }), /* @__PURE__ */ E(Pe, {
1427
1427
  align: "end",
1428
1428
  children: [
1429
1429
  e.status === "OPEN" ? /* @__PURE__ */ E(P, {