@burdenoff/microfe-brainyrich 2026.512.1 → 2026.705.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainyrich/BrainyRichRoot.js +53 -88
- package/dist/brainyrich/BrainyRichRoot.js.map +1 -1
- package/dist/brainyrich/BrainyRichRoutes.js +15 -35
- package/dist/brainyrich/BrainyRichRoutes.js.map +1 -1
- package/dist/brainyrich/hooks/useBrainyRichApi.js +543 -0
- package/dist/brainyrich/hooks/useBrainyRichApi.js.map +1 -0
- package/dist/brainyrich/index.js +0 -1
- package/dist/brainyrich/pages/AccountsPage.js +690 -160
- package/dist/brainyrich/pages/AccountsPage.js.map +1 -1
- package/dist/brainyrich/pages/AiAssistantPage.js +537 -363
- package/dist/brainyrich/pages/AiAssistantPage.js.map +1 -1
- package/dist/brainyrich/pages/AnalyticsPage.js +587 -268
- package/dist/brainyrich/pages/AnalyticsPage.js.map +1 -1
- package/dist/brainyrich/pages/DashboardPage.js +350 -232
- package/dist/brainyrich/pages/DashboardPage.js.map +1 -1
- package/dist/brainyrich/pages/FamilyPage.js +550 -337
- package/dist/brainyrich/pages/FamilyPage.js.map +1 -1
- package/dist/brainyrich/pages/GoalsPage.js +775 -142
- package/dist/brainyrich/pages/GoalsPage.js.map +1 -1
- package/dist/brainyrich/pages/InvestmentsPage.js +410 -311
- package/dist/brainyrich/pages/InvestmentsPage.js.map +1 -1
- package/dist/brainyrich/pages/PortfoliosPage.js +823 -154
- package/dist/brainyrich/pages/PortfoliosPage.js.map +1 -1
- package/dist/brainyrich/pages/ReportsPage.js +388 -251
- package/dist/brainyrich/pages/ReportsPage.js.map +1 -1
- package/dist/brainyrich/pages/RiskPage.js +411 -196
- package/dist/brainyrich/pages/RiskPage.js.map +1 -1
- package/dist/brainyrich/pages/TaxPage.js +622 -221
- package/dist/brainyrich/pages/TaxPage.js.map +1 -1
- package/dist/brainyrich/pages/_shared.js +222 -41
- package/dist/brainyrich/pages/_shared.js.map +1 -1
- package/dist/index.js +2 -3
- package/package.json +1 -1
- package/dist/brainyrich/BrainyRichRoot.d.ts +0 -5
- package/dist/brainyrich/BrainyRichRoot.d.ts.map +0 -1
- package/dist/brainyrich/BrainyRichRoutes.d.ts +0 -2
- package/dist/brainyrich/BrainyRichRoutes.d.ts.map +0 -1
- package/dist/brainyrich/index.d.ts +0 -5
- package/dist/brainyrich/index.d.ts.map +0 -1
- package/dist/brainyrich/pages/AccountsPage.d.ts +0 -2
- package/dist/brainyrich/pages/AccountsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/AdvisorsPage.d.ts +0 -2
- package/dist/brainyrich/pages/AdvisorsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/AdvisorsPage.js +0 -375
- package/dist/brainyrich/pages/AdvisorsPage.js.map +0 -1
- package/dist/brainyrich/pages/AiAssistantPage.d.ts +0 -2
- package/dist/brainyrich/pages/AiAssistantPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/AnalyticsPage.d.ts +0 -2
- package/dist/brainyrich/pages/AnalyticsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/AssistantPage.d.ts +0 -2
- package/dist/brainyrich/pages/AssistantPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/AssistantPage.js +0 -332
- package/dist/brainyrich/pages/AssistantPage.js.map +0 -1
- package/dist/brainyrich/pages/DashboardPage.d.ts +0 -2
- package/dist/brainyrich/pages/DashboardPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/EstatePage.d.ts +0 -2
- package/dist/brainyrich/pages/EstatePage.d.ts.map +0 -1
- package/dist/brainyrich/pages/EstatePage.js +0 -269
- package/dist/brainyrich/pages/EstatePage.js.map +0 -1
- package/dist/brainyrich/pages/FamilyPage.d.ts +0 -2
- package/dist/brainyrich/pages/FamilyPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/GoalsPage.d.ts +0 -2
- package/dist/brainyrich/pages/GoalsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/InsurancePage.d.ts +0 -2
- package/dist/brainyrich/pages/InsurancePage.d.ts.map +0 -1
- package/dist/brainyrich/pages/InsurancePage.js +0 -181
- package/dist/brainyrich/pages/InsurancePage.js.map +0 -1
- package/dist/brainyrich/pages/InvestmentsPage.d.ts +0 -2
- package/dist/brainyrich/pages/InvestmentsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/MarketplacePage.d.ts +0 -2
- package/dist/brainyrich/pages/MarketplacePage.d.ts.map +0 -1
- package/dist/brainyrich/pages/MarketplacePage.js +0 -450
- package/dist/brainyrich/pages/MarketplacePage.js.map +0 -1
- package/dist/brainyrich/pages/PortfoliosPage.d.ts +0 -2
- package/dist/brainyrich/pages/PortfoliosPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/ReportsPage.d.ts +0 -2
- package/dist/brainyrich/pages/ReportsPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/RiskPage.d.ts +0 -2
- package/dist/brainyrich/pages/RiskPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/TaxPage.d.ts +0 -2
- package/dist/brainyrich/pages/TaxPage.d.ts.map +0 -1
- package/dist/brainyrich/pages/_shared.d.ts +0 -21
- package/dist/brainyrich/pages/_shared.d.ts.map +0 -1
- package/dist/brainyrich/providers/BrainyRichProvider.d.ts +0 -6
- package/dist/brainyrich/providers/BrainyRichProvider.d.ts.map +0 -1
- package/dist/brainyrich/store/brainyrichStore.d.ts +0 -19
- package/dist/brainyrich/store/brainyrichStore.d.ts.map +0 -1
- package/dist/brainyrich/store/brainyrichStore.js +0 -272
- package/dist/brainyrich/store/brainyrichStore.js.map +0 -1
- package/dist/brainyrich/types/index.d.ts +0 -116
- package/dist/brainyrich/types/index.d.ts.map +0 -1
- package/dist/brainyrich/utils/cn.d.ts +0 -4
- package/dist/brainyrich/utils/cn.d.ts.map +0 -1
- package/dist/brainyrich/utils/i18n.d.ts +0 -6
- package/dist/brainyrich/utils/i18n.d.ts.map +0 -1
- package/dist/brainyrich/utils/navigation.d.ts +0 -2
- package/dist/brainyrich/utils/navigation.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -18199
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -43046
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
|
@@ -3,159 +3,124 @@ import { tWithFallback as t } from "./utils/i18n.js";
|
|
|
3
3
|
import { BrainyRichRoutes as n } from "./BrainyRichRoutes.js";
|
|
4
4
|
import { joinPath as r } from "./utils/navigation.js";
|
|
5
5
|
import { useEffect as i } from "react";
|
|
6
|
-
import { BarChart3 as a, Bot as o, Briefcase as s, Calculator as c, FileBarChart as l,
|
|
7
|
-
import { useI18n as
|
|
8
|
-
import { jsx as
|
|
9
|
-
import { FeatureFlagProvider as
|
|
6
|
+
import { BarChart3 as a, Bot as o, Briefcase as s, Calculator as c, FileBarChart as l, Landmark as u, LayoutDashboard as d, ShieldAlert as f, Target as p, TrendingUp as m, UsersRound as h } from "lucide-react";
|
|
7
|
+
import { useI18n as g } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
8
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
9
|
+
import { FeatureFlagProvider as v } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
10
10
|
//#region src/brainyrich/BrainyRichRoot.tsx
|
|
11
|
-
var
|
|
12
|
-
let { registerNavItems:
|
|
11
|
+
var y = (y) => {
|
|
12
|
+
let { registerNavItems: b, registerFooterItems: x, basePath: S = "/" } = y, { t: C } = g(), w = (e, n) => t(C, e, n);
|
|
13
13
|
return i(() => {
|
|
14
|
-
if (
|
|
14
|
+
if (b) return b({
|
|
15
15
|
id: "brainyrich",
|
|
16
|
-
label:
|
|
17
|
-
path:
|
|
18
|
-
icon: /* @__PURE__ */
|
|
16
|
+
label: w("brainyrich.nav.root", "BrainyRich"),
|
|
17
|
+
path: S,
|
|
18
|
+
icon: /* @__PURE__ */ _(d, { size: 20 }),
|
|
19
19
|
order: 80,
|
|
20
20
|
group: "products",
|
|
21
21
|
children: [
|
|
22
22
|
{
|
|
23
23
|
id: "brainyrich-dashboard",
|
|
24
|
-
label:
|
|
25
|
-
path:
|
|
26
|
-
icon: /* @__PURE__ */
|
|
24
|
+
label: w("brainyrich.nav.dashboard", "Dashboard"),
|
|
25
|
+
path: S,
|
|
26
|
+
icon: /* @__PURE__ */ _(d, { size: 16 }),
|
|
27
27
|
order: 0
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
id: "brainyrich-portfolios",
|
|
31
|
-
label:
|
|
32
|
-
path: r(
|
|
33
|
-
icon: /* @__PURE__ */
|
|
31
|
+
label: w("brainyrich.nav.portfolios", "Portfolios"),
|
|
32
|
+
path: r(S, "portfolios"),
|
|
33
|
+
icon: /* @__PURE__ */ _(s, { size: 16 }),
|
|
34
34
|
order: 10
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
id: "brainyrich-investments",
|
|
38
|
-
label:
|
|
39
|
-
path: r(
|
|
40
|
-
icon: /* @__PURE__ */
|
|
38
|
+
label: w("brainyrich.nav.investments", "Investments"),
|
|
39
|
+
path: r(S, "investments"),
|
|
40
|
+
icon: /* @__PURE__ */ _(m, { size: 16 }),
|
|
41
41
|
order: 11
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
id: "brainyrich-goals",
|
|
45
|
-
label:
|
|
46
|
-
path: r(
|
|
47
|
-
icon: /* @__PURE__ */
|
|
45
|
+
label: w("brainyrich.nav.goals", "Goals"),
|
|
46
|
+
path: r(S, "goals"),
|
|
47
|
+
icon: /* @__PURE__ */ _(p, { size: 16 }),
|
|
48
48
|
order: 12
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
id: "brainyrich-accounts",
|
|
52
|
-
label:
|
|
53
|
-
path: r(
|
|
54
|
-
icon: /* @__PURE__ */
|
|
52
|
+
label: w("brainyrich.nav.accounts", "Accounts"),
|
|
53
|
+
path: r(S, "accounts"),
|
|
54
|
+
icon: /* @__PURE__ */ _(u, { size: 16 }),
|
|
55
55
|
order: 13
|
|
56
56
|
},
|
|
57
|
-
{
|
|
58
|
-
id: "brainyrich-advisors",
|
|
59
|
-
label: k("brainyrich.nav.advisors", "Advisors"),
|
|
60
|
-
path: r(D, "advisors"),
|
|
61
|
-
icon: /* @__PURE__ */ S(y, { size: 16 }),
|
|
62
|
-
order: 20
|
|
63
|
-
},
|
|
64
57
|
{
|
|
65
58
|
id: "brainyrich-analytics",
|
|
66
|
-
label:
|
|
67
|
-
path: r(
|
|
68
|
-
icon: /* @__PURE__ */
|
|
59
|
+
label: w("brainyrich.nav.analytics", "Analytics"),
|
|
60
|
+
path: r(S, "analytics"),
|
|
61
|
+
icon: /* @__PURE__ */ _(a, { size: 16 }),
|
|
69
62
|
order: 21
|
|
70
63
|
},
|
|
71
64
|
{
|
|
72
65
|
id: "brainyrich-risk",
|
|
73
|
-
label:
|
|
74
|
-
path: r(
|
|
75
|
-
icon: /* @__PURE__ */
|
|
66
|
+
label: w("brainyrich.nav.risk", "Rebalancing"),
|
|
67
|
+
path: r(S, "risk"),
|
|
68
|
+
icon: /* @__PURE__ */ _(f, { size: 16 }),
|
|
76
69
|
order: 22
|
|
77
70
|
},
|
|
78
71
|
{
|
|
79
72
|
id: "brainyrich-tax",
|
|
80
|
-
label:
|
|
81
|
-
path: r(
|
|
82
|
-
icon: /* @__PURE__ */
|
|
73
|
+
label: w("brainyrich.nav.tax", "Tax"),
|
|
74
|
+
path: r(S, "tax"),
|
|
75
|
+
icon: /* @__PURE__ */ _(c, { size: 16 }),
|
|
83
76
|
order: 30
|
|
84
77
|
},
|
|
85
|
-
{
|
|
86
|
-
id: "brainyrich-insurance",
|
|
87
|
-
label: k("brainyrich.nav.insurance", "Insurance"),
|
|
88
|
-
path: r(D, "insurance"),
|
|
89
|
-
icon: /* @__PURE__ */ S(m, { size: 16 }),
|
|
90
|
-
order: 31
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: "brainyrich-estate",
|
|
94
|
-
label: k("brainyrich.nav.estate", "Estate"),
|
|
95
|
-
path: r(D, "estate"),
|
|
96
|
-
icon: /* @__PURE__ */ S(u, { size: 16 }),
|
|
97
|
-
order: 32
|
|
98
|
-
},
|
|
99
78
|
{
|
|
100
79
|
id: "brainyrich-family",
|
|
101
|
-
label:
|
|
102
|
-
path: r(
|
|
103
|
-
icon: /* @__PURE__ */
|
|
80
|
+
label: w("brainyrich.nav.family", "Households"),
|
|
81
|
+
path: r(S, "family"),
|
|
82
|
+
icon: /* @__PURE__ */ _(h, { size: 16 }),
|
|
104
83
|
order: 40
|
|
105
84
|
},
|
|
106
|
-
{
|
|
107
|
-
id: "brainyrich-marketplace",
|
|
108
|
-
label: k("brainyrich.nav.marketplace", "Marketplace"),
|
|
109
|
-
path: r(D, "marketplace"),
|
|
110
|
-
icon: /* @__PURE__ */ S(g, { size: 16 }),
|
|
111
|
-
order: 41
|
|
112
|
-
},
|
|
113
85
|
{
|
|
114
86
|
id: "brainyrich-reports",
|
|
115
|
-
label:
|
|
116
|
-
path: r(
|
|
117
|
-
icon: /* @__PURE__ */
|
|
87
|
+
label: w("brainyrich.nav.reports", "Reports"),
|
|
88
|
+
path: r(S, "reports"),
|
|
89
|
+
icon: /* @__PURE__ */ _(l, { size: 16 }),
|
|
118
90
|
order: 42
|
|
119
91
|
},
|
|
120
92
|
{
|
|
121
93
|
id: "brainyrich-ai-assistant",
|
|
122
|
-
label:
|
|
123
|
-
path: r(
|
|
124
|
-
icon: /* @__PURE__ */
|
|
94
|
+
label: w("brainyrich.nav.aiAssistant", "Insights"),
|
|
95
|
+
path: r(S, "ai-assistant"),
|
|
96
|
+
icon: /* @__PURE__ */ _(o, { size: 16 }),
|
|
125
97
|
order: 50
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
id: "brainyrich-assistant",
|
|
129
|
-
label: k("brainyrich.nav.assistant", "Assistant"),
|
|
130
|
-
path: r(D, "assistant"),
|
|
131
|
-
icon: /* @__PURE__ */ S(p, { size: 16 }),
|
|
132
|
-
order: 51
|
|
133
98
|
}
|
|
134
99
|
]
|
|
135
100
|
});
|
|
136
101
|
}, [
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
102
|
+
b,
|
|
103
|
+
S,
|
|
104
|
+
C
|
|
140
105
|
]), i(() => {
|
|
141
|
-
if (
|
|
106
|
+
if (x) return x([{
|
|
142
107
|
id: "brainyrich-status",
|
|
143
|
-
label:
|
|
108
|
+
label: w("brainyrich.footer.ready", "BrainyRich Ready"),
|
|
144
109
|
type: "status",
|
|
145
110
|
section: "left",
|
|
146
111
|
order: 10
|
|
147
112
|
}]);
|
|
148
|
-
}, [
|
|
113
|
+
}, [x, C]), /* @__PURE__ */ _(v, {
|
|
149
114
|
workspaceId: null,
|
|
150
115
|
gateway: "global",
|
|
151
116
|
defaultEnabled: !0,
|
|
152
|
-
children: /* @__PURE__ */
|
|
153
|
-
...
|
|
154
|
-
children: /* @__PURE__ */
|
|
117
|
+
children: /* @__PURE__ */ _(e, {
|
|
118
|
+
...y,
|
|
119
|
+
children: /* @__PURE__ */ _(n, {})
|
|
155
120
|
})
|
|
156
121
|
});
|
|
157
122
|
};
|
|
158
123
|
//#endregion
|
|
159
|
-
export {
|
|
124
|
+
export { y as BrainyRichRoot };
|
|
160
125
|
|
|
161
126
|
//# sourceMappingURL=BrainyRichRoot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrainyRichRoot.js","names":[],"sources":["../../src/brainyrich/BrainyRichRoot.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { useEffect } from 'react';\nimport {\n LayoutDashboard,\n Briefcase,\n TrendingUp,\n Target,\n Landmark,\n
|
|
1
|
+
{"version":3,"file":"BrainyRichRoot.js","names":[],"sources":["../../src/brainyrich/BrainyRichRoot.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { useEffect } from 'react';\nimport {\n LayoutDashboard,\n Briefcase,\n TrendingUp,\n Target,\n Landmark,\n BarChart3,\n ShieldAlert,\n Calculator,\n UsersRound,\n FileBarChart,\n Bot,\n} from 'lucide-react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport { BrainyRichProvider } from './providers/BrainyRichProvider';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport type { NavItem, BrainyRichRootProps } from './types';\nimport { tWithFallback } from './utils/i18n';\nimport { BrainyRichRoutes } from './BrainyRichRoutes';\nimport { joinPath } from './utils/navigation';\n\nexport const BrainyRichRoot: FC<BrainyRichRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const { t } = useI18n();\n const translate = (key: string, fallback: string) => tWithFallback(t, key, fallback);\n\n useEffect(() => {\n if (!registerNavItems) return;\n const navItem: NavItem = {\n id: 'brainyrich',\n label: translate('brainyrich.nav.root', 'BrainyRich'),\n path: basePath,\n icon: <LayoutDashboard size={20} />,\n order: 80,\n group: 'products',\n children: [\n // Overview\n {\n id: 'brainyrich-dashboard',\n label: translate('brainyrich.nav.dashboard', 'Dashboard'),\n path: basePath,\n icon: <LayoutDashboard size={16} />,\n order: 0,\n },\n\n // Wealth Management\n {\n id: 'brainyrich-portfolios',\n label: translate('brainyrich.nav.portfolios', 'Portfolios'),\n path: joinPath(basePath, 'portfolios'),\n icon: <Briefcase size={16} />,\n order: 10,\n },\n {\n id: 'brainyrich-investments',\n label: translate('brainyrich.nav.investments', 'Investments'),\n path: joinPath(basePath, 'investments'),\n icon: <TrendingUp size={16} />,\n order: 11,\n },\n {\n id: 'brainyrich-goals',\n label: translate('brainyrich.nav.goals', 'Goals'),\n path: joinPath(basePath, 'goals'),\n icon: <Target size={16} />,\n order: 12,\n },\n {\n id: 'brainyrich-accounts',\n label: translate('brainyrich.nav.accounts', 'Accounts'),\n path: joinPath(basePath, 'accounts'),\n icon: <Landmark size={16} />,\n order: 13,\n },\n\n // Advisory & Insights\n {\n id: 'brainyrich-analytics',\n label: translate('brainyrich.nav.analytics', 'Analytics'),\n path: joinPath(basePath, 'analytics'),\n icon: <BarChart3 size={16} />,\n order: 21,\n },\n {\n id: 'brainyrich-risk',\n label: translate('brainyrich.nav.risk', 'Rebalancing'),\n path: joinPath(basePath, 'risk'),\n icon: <ShieldAlert size={16} />,\n order: 22,\n },\n\n // Tax\n {\n id: 'brainyrich-tax',\n label: translate('brainyrich.nav.tax', 'Tax'),\n path: joinPath(basePath, 'tax'),\n icon: <Calculator size={16} />,\n order: 30,\n },\n\n // Households & Reports\n {\n id: 'brainyrich-family',\n label: translate('brainyrich.nav.family', 'Households'),\n path: joinPath(basePath, 'family'),\n icon: <UsersRound size={16} />,\n order: 40,\n },\n {\n id: 'brainyrich-reports',\n label: translate('brainyrich.nav.reports', 'Reports'),\n path: joinPath(basePath, 'reports'),\n icon: <FileBarChart size={16} />,\n order: 42,\n },\n\n // Insights\n {\n id: 'brainyrich-ai-assistant',\n label: translate('brainyrich.nav.aiAssistant', 'Insights'),\n path: joinPath(basePath, 'ai-assistant'),\n icon: <Bot size={16} />,\n order: 50,\n },\n ],\n };\n return registerNavItems(navItem);\n }, [registerNavItems, basePath, t]);\n\n useEffect(() => {\n if (!registerFooterItems) return;\n return registerFooterItems([\n {\n id: 'brainyrich-status',\n label: translate('brainyrich.footer.ready', 'BrainyRich Ready'),\n type: 'status',\n section: 'left',\n order: 10,\n },\n ]);\n }, [registerFooterItems, t]);\n\n return (\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n <BrainyRichProvider {...props}>\n <BrainyRichRoutes />\n </BrainyRichProvider>\n </FeatureFlagProvider>\n );\n};\n"],"mappings":";;;;;;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EAAU,uBAAuB,cAAc;KACtD,MAAM,EAAS,GAAU,OAAO;KAChC,MAAM,kBAAC,GAAD,EAAa,MAAM,IAAM,CAAA;KAC/B,OAAO;KACR;IAGD;KACE,IAAI;KACJ,OAAO,EAAU,sBAAsB,MAAM;KAC7C,MAAM,EAAS,GAAU,MAAM;KAC/B,MAAM,kBAAC,GAAD,EAAY,MAAM,IAAM,CAAA;KAC9B,OAAO;KACR;IAGD;KACE,IAAI;KACJ,OAAO,EAAU,yBAAyB,aAAa;KACvD,MAAM,EAAS,GAAU,SAAS;KAClC,MAAM,kBAAC,GAAD,EAAY,MAAM,IAAM,CAAA;KAC9B,OAAO;KACR;IACD;KACE,IAAI;KACJ,OAAO,EAAU,0BAA0B,UAAU;KACrD,MAAM,EAAS,GAAU,UAAU;KACnC,MAAM,kBAAC,GAAD,EAAc,MAAM,IAAM,CAAA;KAChC,OAAO;KACR;IAGD;KACE,IAAI;KACJ,OAAO,EAAU,8BAA8B,WAAW;KAC1D,MAAM,EAAS,GAAU,eAAe;KACxC,MAAM,kBAAC,GAAD,EAAK,MAAM,IAAM,CAAA;KACvB,OAAO;KACR;IACF;GACF,CAC+B;IAC/B;EAAC;EAAkB;EAAU;EAAE,CAAC,EAEnC,QAAgB;AACT,QACL,QAAO,EAAoB,CACzB;GACE,IAAI;GACJ,OAAO,EAAU,2BAA2B,mBAAmB;GAC/D,MAAM;GACN,SAAS;GACT,OAAO;GACR,CACF,CAAC;IACD,CAAC,GAAqB,EAAE,CAAC,EAG1B,kBAAC,GAAD;EAAqB,aAAa;EAAM,SAAQ;EAAS,gBAAgB;YACvE,kBAAC,GAAD;GAAoB,GAAI;aACtB,kBAAC,GAAD,EAAoB,CAAA;GACD,CAAA;EACD,CAAA"}
|
|
@@ -4,80 +4,60 @@ import { Loader2 as r } from "lucide-react";
|
|
|
4
4
|
import { Navigate as i, Route as a, Routes as o } from "react-router-dom";
|
|
5
5
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
//#region src/brainyrich/BrainyRichRoutes.tsx
|
|
7
|
-
var l = n(() => import("./pages/
|
|
8
|
-
function
|
|
7
|
+
var l = n(() => import("./pages/AiAssistantPage.js").then((e) => ({ default: e.AiAssistantPage }))), u = n(() => import("./pages/AnalyticsPage.js").then((e) => ({ default: e.AnalyticsPage }))), d = n(() => import("./pages/AccountsPage.js").then((e) => ({ default: e.AccountsPage }))), f = n(() => import("./pages/FamilyPage.js").then((e) => ({ default: e.FamilyPage }))), p = n(() => import("./pages/GoalsPage.js").then((e) => ({ default: e.GoalsPage }))), m = n(() => import("./pages/InvestmentsPage.js").then((e) => ({ default: e.InvestmentsPage }))), h = n(() => import("./pages/PortfoliosPage.js").then((e) => ({ default: e.PortfoliosPage }))), g = n(() => import("./pages/ReportsPage.js").then((e) => ({ default: e.ReportsPage }))), _ = n(() => import("./pages/RiskPage.js").then((e) => ({ default: e.RiskPage }))), v = n(() => import("./pages/TaxPage.js").then((e) => ({ default: e.TaxPage })));
|
|
8
|
+
function y() {
|
|
9
9
|
return /* @__PURE__ */ s("div", {
|
|
10
10
|
className: "flex min-h-[320px] items-center justify-center",
|
|
11
11
|
children: /* @__PURE__ */ s(r, { className: "h-8 w-8 animate-spin text-primary" })
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function b() {
|
|
15
15
|
return /* @__PURE__ */ s(t, {
|
|
16
|
-
fallback: /* @__PURE__ */ s(
|
|
16
|
+
fallback: /* @__PURE__ */ s(y, {}),
|
|
17
17
|
children: /* @__PURE__ */ c(o, { children: [
|
|
18
18
|
/* @__PURE__ */ s(a, {
|
|
19
19
|
index: !0,
|
|
20
20
|
element: /* @__PURE__ */ s(e, {})
|
|
21
21
|
}),
|
|
22
|
-
/* @__PURE__ */ s(a, {
|
|
23
|
-
path: "advisors",
|
|
24
|
-
element: /* @__PURE__ */ s(l, {})
|
|
25
|
-
}),
|
|
26
22
|
/* @__PURE__ */ s(a, {
|
|
27
23
|
path: "ai-assistant",
|
|
28
|
-
element: /* @__PURE__ */ s(
|
|
24
|
+
element: /* @__PURE__ */ s(l, {})
|
|
29
25
|
}),
|
|
30
26
|
/* @__PURE__ */ s(a, {
|
|
31
27
|
path: "analytics",
|
|
32
|
-
element: /* @__PURE__ */ s(
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ s(a, {
|
|
35
|
-
path: "assistant",
|
|
36
|
-
element: /* @__PURE__ */ s(f, {})
|
|
28
|
+
element: /* @__PURE__ */ s(u, {})
|
|
37
29
|
}),
|
|
38
30
|
/* @__PURE__ */ s(a, {
|
|
39
31
|
path: "accounts",
|
|
40
|
-
element: /* @__PURE__ */ s(
|
|
41
|
-
}),
|
|
42
|
-
/* @__PURE__ */ s(a, {
|
|
43
|
-
path: "estate",
|
|
44
|
-
element: /* @__PURE__ */ s(m, {})
|
|
32
|
+
element: /* @__PURE__ */ s(d, {})
|
|
45
33
|
}),
|
|
46
34
|
/* @__PURE__ */ s(a, {
|
|
47
35
|
path: "family",
|
|
48
|
-
element: /* @__PURE__ */ s(
|
|
36
|
+
element: /* @__PURE__ */ s(f, {})
|
|
49
37
|
}),
|
|
50
38
|
/* @__PURE__ */ s(a, {
|
|
51
39
|
path: "goals",
|
|
52
|
-
element: /* @__PURE__ */ s(
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ s(a, {
|
|
55
|
-
path: "insurance",
|
|
56
|
-
element: /* @__PURE__ */ s(_, {})
|
|
40
|
+
element: /* @__PURE__ */ s(p, {})
|
|
57
41
|
}),
|
|
58
42
|
/* @__PURE__ */ s(a, {
|
|
59
43
|
path: "investments",
|
|
60
|
-
element: /* @__PURE__ */ s(
|
|
61
|
-
}),
|
|
62
|
-
/* @__PURE__ */ s(a, {
|
|
63
|
-
path: "marketplace",
|
|
64
|
-
element: /* @__PURE__ */ s(y, {})
|
|
44
|
+
element: /* @__PURE__ */ s(m, {})
|
|
65
45
|
}),
|
|
66
46
|
/* @__PURE__ */ s(a, {
|
|
67
47
|
path: "portfolios",
|
|
68
|
-
element: /* @__PURE__ */ s(
|
|
48
|
+
element: /* @__PURE__ */ s(h, {})
|
|
69
49
|
}),
|
|
70
50
|
/* @__PURE__ */ s(a, {
|
|
71
51
|
path: "reports",
|
|
72
|
-
element: /* @__PURE__ */ s(
|
|
52
|
+
element: /* @__PURE__ */ s(g, {})
|
|
73
53
|
}),
|
|
74
54
|
/* @__PURE__ */ s(a, {
|
|
75
55
|
path: "risk",
|
|
76
|
-
element: /* @__PURE__ */ s(
|
|
56
|
+
element: /* @__PURE__ */ s(_, {})
|
|
77
57
|
}),
|
|
78
58
|
/* @__PURE__ */ s(a, {
|
|
79
59
|
path: "tax",
|
|
80
|
-
element: /* @__PURE__ */ s(
|
|
60
|
+
element: /* @__PURE__ */ s(v, {})
|
|
81
61
|
}),
|
|
82
62
|
/* @__PURE__ */ s(a, {
|
|
83
63
|
path: "*",
|
|
@@ -90,6 +70,6 @@ function T() {
|
|
|
90
70
|
});
|
|
91
71
|
}
|
|
92
72
|
//#endregion
|
|
93
|
-
export {
|
|
73
|
+
export { b as BrainyRichRoutes };
|
|
94
74
|
|
|
95
75
|
//# sourceMappingURL=BrainyRichRoutes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrainyRichRoutes.js","names":[],"sources":["../../src/brainyrich/BrainyRichRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router-dom';\nimport { Loader2 } from 'lucide-react';\nimport { DashboardPage as IndexPage } from './pages/DashboardPage';\n\nconst
|
|
1
|
+
{"version":3,"file":"BrainyRichRoutes.js","names":[],"sources":["../../src/brainyrich/BrainyRichRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router-dom';\nimport { Loader2 } from 'lucide-react';\nimport { DashboardPage as IndexPage } from './pages/DashboardPage';\n\nconst AiAssistantPage = lazy(() =>\n import('./pages/AiAssistantPage').then((m) => ({ default: m.AiAssistantPage }))\n);\nconst AnalyticsPage = lazy(() =>\n import('./pages/AnalyticsPage').then((m) => ({ default: m.AnalyticsPage }))\n);\nconst AccountsPage = lazy(() =>\n import('./pages/AccountsPage').then((m) => ({ default: m.AccountsPage }))\n);\nconst FamilyPage = lazy(() =>\n import('./pages/FamilyPage').then((m) => ({ default: m.FamilyPage }))\n);\nconst GoalsPage = lazy(() => import('./pages/GoalsPage').then((m) => ({ default: m.GoalsPage })));\nconst InvestmentsPage = lazy(() =>\n import('./pages/InvestmentsPage').then((m) => ({ default: m.InvestmentsPage }))\n);\nconst PortfoliosPage = lazy(() =>\n import('./pages/PortfoliosPage').then((m) => ({ default: m.PortfoliosPage }))\n);\nconst ReportsPage = lazy(() =>\n import('./pages/ReportsPage').then((m) => ({ default: m.ReportsPage }))\n);\nconst RiskPage = lazy(() => import('./pages/RiskPage').then((m) => ({ default: m.RiskPage })));\nconst TaxPage = lazy(() => import('./pages/TaxPage').then((m) => ({ default: m.TaxPage })));\n\nfunction PageLoader() {\n return (\n <div className=\"flex min-h-[320px] items-center justify-center\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n );\n}\n\nexport function BrainyRichRoutes() {\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={<IndexPage />} />\n <Route path=\"ai-assistant\" element={<AiAssistantPage />} />\n <Route path=\"analytics\" element={<AnalyticsPage />} />\n <Route path=\"accounts\" element={<AccountsPage />} />\n <Route path=\"family\" element={<FamilyPage />} />\n <Route path=\"goals\" element={<GoalsPage />} />\n <Route path=\"investments\" element={<InvestmentsPage />} />\n <Route path=\"portfolios\" element={<PortfoliosPage />} />\n <Route path=\"reports\" element={<ReportsPage />} />\n <Route path=\"risk\" element={<RiskPage />} />\n <Route path=\"tax\" element={<TaxPage />} />\n <Route path=\"*\" element={<Navigate to=\"\" replace />} />\n </Routes>\n </Suspense>\n );\n}\n"],"mappings":";;;;;;AAKA,IAAM,IAAkB,QACtB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