@burdenoff/microfe-buildmyiq 2026.1031.2 → 2026.1031.3
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/buildmyiq/BuildmyiqRoot.d.ts.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoot.js +79 -71
- package/dist/buildmyiq/BuildmyiqRoot.js.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoutes.d.ts.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoutes.js +35 -31
- package/dist/buildmyiq/BuildmyiqRoutes.js.map +1 -1
- package/dist/buildmyiq/hooks/index.d.ts +1 -0
- package/dist/buildmyiq/hooks/index.d.ts.map +1 -1
- package/dist/buildmyiq/hooks/index.js +1 -0
- package/dist/buildmyiq/hooks/useBuiMigration.d.ts +114 -0
- package/dist/buildmyiq/hooks/useBuiMigration.d.ts.map +1 -0
- package/dist/buildmyiq/hooks/useBuiMigration.js +83 -0
- package/dist/buildmyiq/hooks/useBuiMigration.js.map +1 -0
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.d.ts +3 -0
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.d.ts.map +1 -0
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.js +610 -0
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoot.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoot.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BhC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAY3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsMhD,CAAC"}
|
|
@@ -6,187 +6,195 @@ import { QueryClient as a, QueryClientProvider as o } from "@tanstack/react-quer
|
|
|
6
6
|
import { FeatureFlagProvider as s } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
7
7
|
import { PermissionProvider as c } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
8
8
|
import { useI18n as l } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
9
|
-
import {
|
|
10
|
-
import { jsx as
|
|
9
|
+
import { ArrowRightLeft as u, Award as d, BookOpen as f, CheckSquare as p, ClipboardCheck as m, GraduationCap as h, LayoutDashboard as g, LineChart as _, MessageSquareText as v, PencilRuler as y, Plug as b, Route as x, ShieldBan as S, ShieldCheck as C, Sparkles as w, Target as T, Users as E, Workflow as D } from "lucide-react";
|
|
10
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
11
11
|
//#region src/buildmyiq/BuildmyiqRoot.tsx
|
|
12
|
-
var
|
|
12
|
+
var k = new a({ defaultOptions: { queries: {
|
|
13
13
|
staleTime: 300 * 1e3,
|
|
14
14
|
retry: 1,
|
|
15
15
|
refetchOnWindowFocus: !1
|
|
16
|
-
} } }),
|
|
17
|
-
let { registerNavItems:
|
|
18
|
-
let n =
|
|
16
|
+
} } }), A = (a) => {
|
|
17
|
+
let { registerNavItems: A, registerFooterItems: j, basePath: M = "/" } = a, { t: N } = l(), P = r((e, t) => {
|
|
18
|
+
let n = N(e);
|
|
19
19
|
return n === e ? t : n;
|
|
20
|
-
}, [
|
|
20
|
+
}, [N]);
|
|
21
21
|
return i(() => {
|
|
22
|
-
if (
|
|
22
|
+
if (A) return A([
|
|
23
23
|
{
|
|
24
24
|
id: "buildmyiq-dashboard",
|
|
25
|
-
label:
|
|
26
|
-
path: e(
|
|
27
|
-
icon: /* @__PURE__ */
|
|
25
|
+
label: P("buildmyiq.nav.dashboard", "Dashboard"),
|
|
26
|
+
path: e(M, ""),
|
|
27
|
+
icon: /* @__PURE__ */ O(g, { size: 20 }),
|
|
28
28
|
order: 0,
|
|
29
29
|
group: "products"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
id: "buildmyiq-catalog",
|
|
33
|
-
label:
|
|
34
|
-
path: e(
|
|
35
|
-
icon: /* @__PURE__ */
|
|
33
|
+
label: P("buildmyiq.nav.catalog", "Catalog"),
|
|
34
|
+
path: e(M, "catalog"),
|
|
35
|
+
icon: /* @__PURE__ */ O(f, { size: 20 }),
|
|
36
36
|
order: 1,
|
|
37
37
|
group: "products"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
id: "buildmyiq-learning",
|
|
41
|
-
label:
|
|
42
|
-
path: e(
|
|
43
|
-
icon: /* @__PURE__ */
|
|
41
|
+
label: P("buildmyiq.nav.learning", "My Learning"),
|
|
42
|
+
path: e(M, "learning"),
|
|
43
|
+
icon: /* @__PURE__ */ O(h, { size: 20 }),
|
|
44
44
|
order: 2,
|
|
45
45
|
group: "products"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
id: "buildmyiq-paths",
|
|
49
|
-
label:
|
|
50
|
-
path: e(
|
|
51
|
-
icon: /* @__PURE__ */
|
|
49
|
+
label: P("buildmyiq.nav.paths", "Journeys"),
|
|
50
|
+
path: e(M, "paths"),
|
|
51
|
+
icon: /* @__PURE__ */ O(x, { size: 20 }),
|
|
52
52
|
order: 2.5,
|
|
53
53
|
group: "products"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
id: "buildmyiq-authoring",
|
|
57
|
-
label:
|
|
58
|
-
path: e(
|
|
59
|
-
icon: /* @__PURE__ */
|
|
57
|
+
label: P("buildmyiq.nav.authoring", "Authoring"),
|
|
58
|
+
path: e(M, "authoring"),
|
|
59
|
+
icon: /* @__PURE__ */ O(y, { size: 20 }),
|
|
60
60
|
order: 3,
|
|
61
61
|
group: "products"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
id: "buildmyiq-assessments",
|
|
65
|
-
label:
|
|
66
|
-
path: e(
|
|
67
|
-
icon: /* @__PURE__ */
|
|
65
|
+
label: P("buildmyiq.nav.assessments", "Assessments"),
|
|
66
|
+
path: e(M, "assessments"),
|
|
67
|
+
icon: /* @__PURE__ */ O(m, { size: 20 }),
|
|
68
68
|
order: 4,
|
|
69
69
|
group: "products"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
id: "buildmyiq-submissions",
|
|
73
|
-
label:
|
|
74
|
-
path: e(
|
|
75
|
-
icon: /* @__PURE__ */
|
|
73
|
+
label: P("buildmyiq.nav.submissions", "Grading"),
|
|
74
|
+
path: e(M, "submissions"),
|
|
75
|
+
icon: /* @__PURE__ */ O(p, { size: 20 }),
|
|
76
76
|
order: 5,
|
|
77
77
|
group: "products"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
id: "buildmyiq-proctoring",
|
|
81
|
-
label:
|
|
82
|
-
path: e(
|
|
83
|
-
icon: /* @__PURE__ */
|
|
81
|
+
label: P("buildmyiq.nav.proctoring", "Proctoring"),
|
|
82
|
+
path: e(M, "proctoring"),
|
|
83
|
+
icon: /* @__PURE__ */ O(C, { size: 20 }),
|
|
84
84
|
order: 5,
|
|
85
85
|
group: "products"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
id: "buildmyiq-tutor-review",
|
|
89
|
-
label:
|
|
90
|
-
path: e(
|
|
91
|
-
icon: /* @__PURE__ */
|
|
89
|
+
label: P("buildmyiq.nav.tutorReview", "Tutor Review"),
|
|
90
|
+
path: e(M, "tutor-review"),
|
|
91
|
+
icon: /* @__PURE__ */ O(v, { size: 20 }),
|
|
92
92
|
order: 5.5,
|
|
93
93
|
group: "products"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
id: "buildmyiq-cohorts",
|
|
97
|
-
label:
|
|
98
|
-
path: e(
|
|
99
|
-
icon: /* @__PURE__ */
|
|
97
|
+
label: P("buildmyiq.nav.cohorts", "Cohorts"),
|
|
98
|
+
path: e(M, "cohorts"),
|
|
99
|
+
icon: /* @__PURE__ */ O(E, { size: 20 }),
|
|
100
100
|
order: 6,
|
|
101
101
|
group: "products"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
id: "buildmyiq-skills",
|
|
105
|
-
label:
|
|
106
|
-
path: e(
|
|
107
|
-
icon: /* @__PURE__ */
|
|
105
|
+
label: P("buildmyiq.nav.skills", "Skills"),
|
|
106
|
+
path: e(M, "skills"),
|
|
107
|
+
icon: /* @__PURE__ */ O(T, { size: 20 }),
|
|
108
108
|
order: 7,
|
|
109
109
|
group: "products"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
id: "buildmyiq-certificates",
|
|
113
|
-
label:
|
|
114
|
-
path: e(
|
|
115
|
-
icon: /* @__PURE__ */
|
|
113
|
+
label: P("buildmyiq.nav.certificates", "Certificates"),
|
|
114
|
+
path: e(M, "certificates"),
|
|
115
|
+
icon: /* @__PURE__ */ O(d, { size: 20 }),
|
|
116
116
|
order: 8,
|
|
117
117
|
group: "products"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
id: "buildmyiq-insights",
|
|
121
|
-
label:
|
|
122
|
-
path: e(
|
|
123
|
-
icon: /* @__PURE__ */
|
|
121
|
+
label: P("buildmyiq.nav.insights", "Insights"),
|
|
122
|
+
path: e(M, "insights"),
|
|
123
|
+
icon: /* @__PURE__ */ O(_, { size: 20 }),
|
|
124
124
|
order: 9,
|
|
125
125
|
group: "products"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
id: "buildmyiq-admin-copilot",
|
|
129
|
-
label:
|
|
130
|
-
path: e(
|
|
131
|
-
icon: /* @__PURE__ */
|
|
129
|
+
label: P("buildmyiq.nav.adminCopilot", "Admin Copilot"),
|
|
130
|
+
path: e(M, "admin-copilot"),
|
|
131
|
+
icon: /* @__PURE__ */ O(w, { size: 20 }),
|
|
132
132
|
order: 10,
|
|
133
133
|
group: "products"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
id: "buildmyiq-integrations",
|
|
137
|
-
label:
|
|
138
|
-
path: e(
|
|
139
|
-
icon: /* @__PURE__ */
|
|
137
|
+
label: P("buildmyiq.nav.integrations", "LMS Integrations"),
|
|
138
|
+
path: e(M, "integrations"),
|
|
139
|
+
icon: /* @__PURE__ */ O(b, { size: 20 }),
|
|
140
140
|
order: 11,
|
|
141
141
|
group: "products"
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
id: "buildmyiq-migration",
|
|
145
|
+
label: P("buildmyiq.nav.migration", "Migration"),
|
|
146
|
+
path: e(M, "migration"),
|
|
147
|
+
icon: /* @__PURE__ */ O(u, { size: 20 }),
|
|
148
|
+
order: 11.5,
|
|
149
|
+
group: "products"
|
|
150
|
+
},
|
|
143
151
|
{
|
|
144
152
|
id: "buildmyiq-automations",
|
|
145
|
-
label:
|
|
146
|
-
path: e(
|
|
147
|
-
icon: /* @__PURE__ */ D
|
|
153
|
+
label: P("buildmyiq.nav.automations", "Automations"),
|
|
154
|
+
path: e(M, "automations"),
|
|
155
|
+
icon: /* @__PURE__ */ O(D, { size: 20 }),
|
|
148
156
|
order: 12,
|
|
149
157
|
group: "products"
|
|
150
158
|
},
|
|
151
159
|
{
|
|
152
160
|
id: "buildmyiq-ai-settings",
|
|
153
|
-
label:
|
|
154
|
-
path: e(
|
|
155
|
-
icon: /* @__PURE__ */
|
|
161
|
+
label: P("buildmyiq.nav.aiSettings", "AI settings"),
|
|
162
|
+
path: e(M, "ai-settings"),
|
|
163
|
+
icon: /* @__PURE__ */ O(S, { size: 20 }),
|
|
156
164
|
order: 13,
|
|
157
165
|
group: "products"
|
|
158
166
|
}
|
|
159
167
|
]);
|
|
160
168
|
}, [
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
169
|
+
A,
|
|
170
|
+
M,
|
|
171
|
+
P
|
|
164
172
|
]), i(() => {
|
|
165
|
-
if (
|
|
173
|
+
if (j) return j([{
|
|
166
174
|
id: "buildmyiq-status",
|
|
167
|
-
label:
|
|
175
|
+
label: P("buildmyiq.footer.ready", "BuildMyIQ Ready"),
|
|
168
176
|
type: "status",
|
|
169
177
|
section: "left",
|
|
170
178
|
order: 10
|
|
171
179
|
}]);
|
|
172
|
-
}, [
|
|
173
|
-
client:
|
|
174
|
-
children: /* @__PURE__ */
|
|
180
|
+
}, [j, P]), /* @__PURE__ */ O(o, {
|
|
181
|
+
client: k,
|
|
182
|
+
children: /* @__PURE__ */ O(s, {
|
|
175
183
|
workspaceId: null,
|
|
176
184
|
gateway: "global",
|
|
177
185
|
defaultEnabled: !0,
|
|
178
|
-
children: /* @__PURE__ */
|
|
186
|
+
children: /* @__PURE__ */ O(c, {
|
|
179
187
|
scopeId: a.workspaceId ?? null,
|
|
180
188
|
gateway: "workspace",
|
|
181
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ O(t, {
|
|
182
190
|
...a,
|
|
183
|
-
children: /* @__PURE__ */
|
|
191
|
+
children: /* @__PURE__ */ O(n, {})
|
|
184
192
|
})
|
|
185
193
|
})
|
|
186
194
|
})
|
|
187
195
|
});
|
|
188
196
|
};
|
|
189
197
|
//#endregion
|
|
190
|
-
export {
|
|
198
|
+
export { A as BuildmyiqRoot };
|
|
191
199
|
|
|
192
200
|
//# sourceMappingURL=BuildmyiqRoot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoot.js","names":[],"sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"sourcesContent":["/**\n * Buildmyiq Root Component\n * @module buildmyiq\n *\n * Host-contract entry point. Registers the product's sidebar nav (nine sections\n * that map 1:1 to the wspace-buildmyiq-svc `bui*` backend) and mounts the routed\n * pages inside the shared QueryClient + FeatureFlag providers.\n */\n\nimport type { FC } from 'react';\nimport { useCallback, useEffect } from 'react';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n LayoutDashboard,\n BookOpen,\n GraduationCap,\n PencilRuler,\n ClipboardCheck,\n CheckSquare,\n Users,\n Target,\n Award,\n LineChart,\n Route,\n Sparkles,\n Plug,\n ShieldCheck,\n Workflow,\n MessageSquareText,\n ShieldBan,\n} from 'lucide-react';\nimport { BuildmyiqProvider } from './context/BuildmyiqContext';\nimport { BuildmyiqRoutes } from './BuildmyiqRoutes';\nimport { joinPath } from './utils/navigation';\nimport type { BuildmyiqRootProps, NavItem } from './types';\n\nconst queryClient = new QueryClient({\n defaultOptions: {\n queries: {\n staleTime: 5 * 60 * 1000,\n retry: 1,\n refetchOnWindowFocus: false,\n },\n },\n});\n\nexport const BuildmyiqRoot: FC<BuildmyiqRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const { t: translate } = useI18n();\n const t = useCallback(\n (key: string, fallback: string): string => {\n const value = translate(key);\n return value === key ? fallback : value;\n },\n [translate]\n );\n\n // Register navigation items with the shell on mount. Ids/paths/orders match\n // the app-shell static NavRegistration block so the two are a single,\n // consistent source of truth.\n useEffect(() => {\n if (!registerNavItems) return;\n\n const navItems: NavItem[] = [\n {\n id: 'buildmyiq-dashboard',\n label: t('buildmyiq.nav.dashboard', 'Dashboard'),\n path: joinPath(basePath, ''),\n icon: <LayoutDashboard size={20} />,\n order: 0,\n group: 'products',\n },\n {\n id: 'buildmyiq-catalog',\n label: t('buildmyiq.nav.catalog', 'Catalog'),\n path: joinPath(basePath, 'catalog'),\n icon: <BookOpen size={20} />,\n order: 1,\n group: 'products',\n },\n {\n id: 'buildmyiq-learning',\n label: t('buildmyiq.nav.learning', 'My Learning'),\n path: joinPath(basePath, 'learning'),\n icon: <GraduationCap size={20} />,\n order: 2,\n group: 'products',\n },\n {\n id: 'buildmyiq-paths',\n label: t('buildmyiq.nav.paths', 'Journeys'),\n path: joinPath(basePath, 'paths'),\n icon: <Route size={20} />,\n order: 2.5,\n group: 'products',\n },\n {\n id: 'buildmyiq-authoring',\n label: t('buildmyiq.nav.authoring', 'Authoring'),\n path: joinPath(basePath, 'authoring'),\n icon: <PencilRuler size={20} />,\n order: 3,\n group: 'products',\n },\n {\n id: 'buildmyiq-assessments',\n label: t('buildmyiq.nav.assessments', 'Assessments'),\n path: joinPath(basePath, 'assessments'),\n icon: <ClipboardCheck size={20} />,\n order: 4,\n group: 'products',\n },\n {\n id: 'buildmyiq-submissions',\n label: t('buildmyiq.nav.submissions', 'Grading'),\n path: joinPath(basePath, 'submissions'),\n icon: <CheckSquare size={20} />,\n order: 5,\n group: 'products',\n },\n {\n id: 'buildmyiq-proctoring',\n label: t('buildmyiq.nav.proctoring', 'Proctoring'),\n path: joinPath(basePath, 'proctoring'),\n icon: <ShieldCheck size={20} />,\n order: 5,\n group: 'products',\n },\n {\n id: 'buildmyiq-tutor-review',\n label: t('buildmyiq.nav.tutorReview', 'Tutor Review'),\n path: joinPath(basePath, 'tutor-review'),\n icon: <MessageSquareText size={20} />,\n order: 5.5,\n group: 'products',\n },\n {\n id: 'buildmyiq-cohorts',\n label: t('buildmyiq.nav.cohorts', 'Cohorts'),\n path: joinPath(basePath, 'cohorts'),\n icon: <Users size={20} />,\n order: 6,\n group: 'products',\n },\n {\n id: 'buildmyiq-skills',\n label: t('buildmyiq.nav.skills', 'Skills'),\n path: joinPath(basePath, 'skills'),\n icon: <Target size={20} />,\n order: 7,\n group: 'products',\n },\n {\n id: 'buildmyiq-certificates',\n label: t('buildmyiq.nav.certificates', 'Certificates'),\n path: joinPath(basePath, 'certificates'),\n icon: <Award size={20} />,\n order: 8,\n group: 'products',\n },\n {\n id: 'buildmyiq-insights',\n label: t('buildmyiq.nav.insights', 'Insights'),\n path: joinPath(basePath, 'insights'),\n icon: <LineChart size={20} />,\n order: 9,\n group: 'products',\n },\n {\n id: 'buildmyiq-admin-copilot',\n label: t('buildmyiq.nav.adminCopilot', 'Admin Copilot'),\n path: joinPath(basePath, 'admin-copilot'),\n icon: <Sparkles size={20} />,\n order: 10,\n group: 'products',\n },\n {\n id: 'buildmyiq-integrations',\n label: t('buildmyiq.nav.integrations', 'LMS Integrations'),\n path: joinPath(basePath, 'integrations'),\n icon: <Plug size={20} />,\n order: 11,\n group: 'products',\n },\n {\n id: 'buildmyiq-automations',\n label: t('buildmyiq.nav.automations', 'Automations'),\n path: joinPath(basePath, 'automations'),\n icon: <Workflow size={20} />,\n order: 12,\n group: 'products',\n },\n {\n id: 'buildmyiq-ai-settings',\n label: t('buildmyiq.nav.aiSettings', 'AI settings'),\n path: joinPath(basePath, 'ai-settings'),\n icon: <ShieldBan size={20} />,\n order: 13,\n group: 'products',\n },\n ];\n\n return registerNavItems(navItems);\n }, [registerNavItems, basePath, t]);\n\n useEffect(() => {\n if (!registerFooterItems) return;\n return registerFooterItems([\n {\n id: 'buildmyiq-status',\n label: t('buildmyiq.footer.ready', 'BuildMyIQ Ready'),\n type: 'status',\n section: 'left',\n order: 10,\n },\n ]);\n }, [registerFooterItems, t]);\n\n return (\n <QueryClientProvider client={queryClient}>\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n {/*\n Workspace-scoped RBAC for UI gating. The host app shells do not mount\n PermissionProvider, so the MFE owns its own scope: `usePermissions()`\n (and therefore `useBuiPermissions` / `BuiPermissionButton`) is only\n available underneath this boundary. Backend @rbac enforcement at the\n workspace gateway is unchanged — this is defence in depth.\n */}\n <PermissionProvider scopeId={props.workspaceId ?? null} gateway=\"workspace\">\n <BuildmyiqProvider {...props}>\n <BuildmyiqRoutes />\n </BuildmyiqProvider>\n </PermissionProvider>\n </FeatureFlagProvider>\n </QueryClientProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;AAuCA,IAAM,IAAc,IAAI,EAAY,EAClC,gBAAgB,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Ae;IACxC,MAAM,kBAAC,GAAD,EAAU,MAAM,GAAK,CAAA;IAC3B,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,8BAA8B,kBAAkB;IACzD,MAAM,EAAS,GAAU,cAAc;IACvC,MAAM,kBAAC,GAAD,EAAM,MAAM,GAAK,CAAA;IACvB,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,6BAA6B,aAAa;IACnD,MAAM,EAAS,GAAU,aAAa;IACtC,MAAM,kBAAC,GAAD,EAAU,MAAM,GAAK,CAAA;IAC3B,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,4BAA4B,aAAa;IAClD,MAAM,EAAS,GAAU,aAAa;IACtC,MAAM,kBAAC,GAAD,EAAW,MAAM,GAAK,CAAA;IAC5B,OAAO;IACP,OAAO;GACT;EAGsB,CAAQ;CAClC,GAAG;EAAC;EAAkB;EAAU;CAAC,CAAC,GAElC,QAAgB;EACT,OACL,OAAO,EAAoB,CACzB;GACE,IAAI;GACJ,OAAO,EAAE,0BAA0B,iBAAiB;GACpD,MAAM;GACN,SAAS;GACT,OAAO;EACT,CACF,CAAC;CACH,GAAG,CAAC,GAAqB,CAAC,CAAC,GAGzB,kBAAC,GAAD;EAAqB,QAAQ;YAC3B,kBAAC,GAAD;GAAqB,aAAa;GAAM,SAAQ;GAAS,gBAAgB;aAQvE,kBAAC,GAAD;IAAoB,SAAS,EAAM,eAAe;IAAM,SAAQ;cAC9D,kBAAC,GAAD;KAAmB,GAAI;eACrB,kBAAC,GAAD,CAAkB,CAAA;IACD,CAAA;GACD,CAAA;EACD,CAAA;CACF,CAAA;AAEzB"}
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoot.js","names":[],"sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"sourcesContent":["/**\n * Buildmyiq Root Component\n * @module buildmyiq\n *\n * Host-contract entry point. Registers the product's sidebar nav (nine sections\n * that map 1:1 to the wspace-buildmyiq-svc `bui*` backend) and mounts the routed\n * pages inside the shared QueryClient + FeatureFlag providers.\n */\n\nimport type { FC } from 'react';\nimport { useCallback, useEffect } from 'react';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n LayoutDashboard,\n BookOpen,\n GraduationCap,\n PencilRuler,\n ClipboardCheck,\n CheckSquare,\n Users,\n Target,\n Award,\n LineChart,\n Route,\n Sparkles,\n Plug,\n ArrowRightLeft,\n ShieldCheck,\n Workflow,\n MessageSquareText,\n ShieldBan,\n} from 'lucide-react';\nimport { BuildmyiqProvider } from './context/BuildmyiqContext';\nimport { BuildmyiqRoutes } from './BuildmyiqRoutes';\nimport { joinPath } from './utils/navigation';\nimport type { BuildmyiqRootProps, NavItem } from './types';\n\nconst queryClient = new QueryClient({\n defaultOptions: {\n queries: {\n staleTime: 5 * 60 * 1000,\n retry: 1,\n refetchOnWindowFocus: false,\n },\n },\n});\n\nexport const BuildmyiqRoot: FC<BuildmyiqRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const { t: translate } = useI18n();\n const t = useCallback(\n (key: string, fallback: string): string => {\n const value = translate(key);\n return value === key ? fallback : value;\n },\n [translate]\n );\n\n // Register navigation items with the shell on mount. Ids/paths/orders match\n // the app-shell static NavRegistration block so the two are a single,\n // consistent source of truth.\n useEffect(() => {\n if (!registerNavItems) return;\n\n const navItems: NavItem[] = [\n {\n id: 'buildmyiq-dashboard',\n label: t('buildmyiq.nav.dashboard', 'Dashboard'),\n path: joinPath(basePath, ''),\n icon: <LayoutDashboard size={20} />,\n order: 0,\n group: 'products',\n },\n {\n id: 'buildmyiq-catalog',\n label: t('buildmyiq.nav.catalog', 'Catalog'),\n path: joinPath(basePath, 'catalog'),\n icon: <BookOpen size={20} />,\n order: 1,\n group: 'products',\n },\n {\n id: 'buildmyiq-learning',\n label: t('buildmyiq.nav.learning', 'My Learning'),\n path: joinPath(basePath, 'learning'),\n icon: <GraduationCap size={20} />,\n order: 2,\n group: 'products',\n },\n {\n id: 'buildmyiq-paths',\n label: t('buildmyiq.nav.paths', 'Journeys'),\n path: joinPath(basePath, 'paths'),\n icon: <Route size={20} />,\n order: 2.5,\n group: 'products',\n },\n {\n id: 'buildmyiq-authoring',\n label: t('buildmyiq.nav.authoring', 'Authoring'),\n path: joinPath(basePath, 'authoring'),\n icon: <PencilRuler size={20} />,\n order: 3,\n group: 'products',\n },\n {\n id: 'buildmyiq-assessments',\n label: t('buildmyiq.nav.assessments', 'Assessments'),\n path: joinPath(basePath, 'assessments'),\n icon: <ClipboardCheck size={20} />,\n order: 4,\n group: 'products',\n },\n {\n id: 'buildmyiq-submissions',\n label: t('buildmyiq.nav.submissions', 'Grading'),\n path: joinPath(basePath, 'submissions'),\n icon: <CheckSquare size={20} />,\n order: 5,\n group: 'products',\n },\n {\n id: 'buildmyiq-proctoring',\n label: t('buildmyiq.nav.proctoring', 'Proctoring'),\n path: joinPath(basePath, 'proctoring'),\n icon: <ShieldCheck size={20} />,\n order: 5,\n group: 'products',\n },\n {\n id: 'buildmyiq-tutor-review',\n label: t('buildmyiq.nav.tutorReview', 'Tutor Review'),\n path: joinPath(basePath, 'tutor-review'),\n icon: <MessageSquareText size={20} />,\n order: 5.5,\n group: 'products',\n },\n {\n id: 'buildmyiq-cohorts',\n label: t('buildmyiq.nav.cohorts', 'Cohorts'),\n path: joinPath(basePath, 'cohorts'),\n icon: <Users size={20} />,\n order: 6,\n group: 'products',\n },\n {\n id: 'buildmyiq-skills',\n label: t('buildmyiq.nav.skills', 'Skills'),\n path: joinPath(basePath, 'skills'),\n icon: <Target size={20} />,\n order: 7,\n group: 'products',\n },\n {\n id: 'buildmyiq-certificates',\n label: t('buildmyiq.nav.certificates', 'Certificates'),\n path: joinPath(basePath, 'certificates'),\n icon: <Award size={20} />,\n order: 8,\n group: 'products',\n },\n {\n id: 'buildmyiq-insights',\n label: t('buildmyiq.nav.insights', 'Insights'),\n path: joinPath(basePath, 'insights'),\n icon: <LineChart size={20} />,\n order: 9,\n group: 'products',\n },\n {\n id: 'buildmyiq-admin-copilot',\n label: t('buildmyiq.nav.adminCopilot', 'Admin Copilot'),\n path: joinPath(basePath, 'admin-copilot'),\n icon: <Sparkles size={20} />,\n order: 10,\n group: 'products',\n },\n {\n id: 'buildmyiq-integrations',\n label: t('buildmyiq.nav.integrations', 'LMS Integrations'),\n path: joinPath(basePath, 'integrations'),\n icon: <Plug size={20} />,\n order: 11,\n group: 'products',\n },\n {\n id: 'buildmyiq-migration',\n label: t('buildmyiq.nav.migration', 'Migration'),\n path: joinPath(basePath, 'migration'),\n icon: <ArrowRightLeft size={20} />,\n order: 11.5,\n group: 'products',\n },\n {\n id: 'buildmyiq-automations',\n label: t('buildmyiq.nav.automations', 'Automations'),\n path: joinPath(basePath, 'automations'),\n icon: <Workflow size={20} />,\n order: 12,\n group: 'products',\n },\n {\n id: 'buildmyiq-ai-settings',\n label: t('buildmyiq.nav.aiSettings', 'AI settings'),\n path: joinPath(basePath, 'ai-settings'),\n icon: <ShieldBan size={20} />,\n order: 13,\n group: 'products',\n },\n ];\n\n return registerNavItems(navItems);\n }, [registerNavItems, basePath, t]);\n\n useEffect(() => {\n if (!registerFooterItems) return;\n return registerFooterItems([\n {\n id: 'buildmyiq-status',\n label: t('buildmyiq.footer.ready', 'BuildMyIQ Ready'),\n type: 'status',\n section: 'left',\n order: 10,\n },\n ]);\n }, [registerFooterItems, t]);\n\n return (\n <QueryClientProvider client={queryClient}>\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n {/*\n Workspace-scoped RBAC for UI gating. The host app shells do not mount\n PermissionProvider, so the MFE owns its own scope: `usePermissions()`\n (and therefore `useBuiPermissions` / `BuiPermissionButton`) is only\n available underneath this boundary. Backend @rbac enforcement at the\n workspace gateway is unchanged — this is defence in depth.\n */}\n <PermissionProvider scopeId={props.workspaceId ?? null} gateway=\"workspace\">\n <BuildmyiqProvider {...props}>\n <BuildmyiqRoutes />\n </BuildmyiqProvider>\n </PermissionProvider>\n </FeatureFlagProvider>\n </QueryClientProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;AAwCA,IAAM,IAAc,IAAI,EAAY,EAClC,gBAAgB,EACd,SAAS;CACP,WAAW,MAAS;CACpB,OAAO;CACP,sBAAsB;AACxB,EACF,EACF,CAAC,GAEY,KAAyC,MAAU;CAC9D,IAAM,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAC5D,EAAE,GAAG,MAAc,EAAQ,GAC3B,IAAI,GACP,GAAa,MAA6B;EACzC,IAAM,IAAQ,EAAU,CAAG;EAC3B,OAAO,MAAU,IAAM,IAAW;CACpC,GACA,CAAC,CAAS,CACZ;CA2KA,OAtKA,QAAgB;EACT,OAqJL,OAAO,EAAiB;GAlJtB;IACE,IAAI;IACJ,OAAO,EAAE,2BAA2B,WAAW;IAC/C,MAAM,EAAS,GAAU,EAAE;IAC3B,MAAM,kBAAC,GAAD,EAAiB,MAAM,GAAK,CAAA;IAClC,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,yBAAyB,SAAS;IAC3C,MAAM,EAAS,GAAU,SAAS;IAClC,MAAM,kBAAC,GAAD,EAAU,MAAM,GAAK,CAAA;IAC3B,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,0BAA0B,aAAa;IAChD,MAAM,EAAS,GAAU,UAAU;IACnC,MAAM,kBAAC,GAAD,EAAe,MAAM,GAAK,CAAA;IAChC,OAAO;IACP,OAAO;GACT;GACA;IACE,IAAI;IACJ,OAAO,EAAE,uBAAuB,UAAU;IAC1C,MAAM,EAAS,GAAU,OAAO;IAChC,MAAM,kBAAC,GAAD,EAAO,MAAM,GAAK,CAAA;IACxB,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GAAD;EAAqB,QAAQ;YAC3B,kBAAC,GAAD;GAAqB,aAAa;GAAM,SAAQ;GAAS,gBAAgB;aAQvE,kBAAC,GAAD;IAAoB,SAAS,EAAM,eAAe;IAAM,SAAQ;cAC9D,kBAAC,GAAD;KAAmB,GAAI;eACrB,kBAAC,GAAD,CAAkB,CAAA;IACD,CAAA;GACD,CAAA;EACD,CAAA;CACF,CAAA;AAEzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoutes.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAc,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoutes.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAc,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAoJvD,eAAO,MAAM,eAAe,EAAE,EAkG7B,CAAC"}
|
|
@@ -8,126 +8,130 @@ import { Navigate as o, Route as s, Routes as c, useLocation as l } from "react-
|
|
|
8
8
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
9
|
import { Spinner as f } from "@burdenoff/fe-libs/ui";
|
|
10
10
|
//#region src/buildmyiq/BuildmyiqRoutes.tsx
|
|
11
|
-
var p = i(() => import("./pages/catalog/CatalogPage.js").then((e) => ({ default: e.CatalogPage }))), m = i(() => import("./pages/catalog/CourseDetailPage.js").then((e) => ({ default: e.CourseDetailPage }))), h = i(() => import("./pages/learning/MyLearningPage.js").then((e) => ({ default: e.MyLearningPage }))), g = i(() => import("./pages/learning/LessonPlayerPage.js").then((e) => ({ default: e.LessonPlayerPage }))), _ = i(() => import("./pages/authoring/AuthoringPage.js").then((e) => ({ default: e.AuthoringPage }))), v = i(() => import("./pages/authoring/CourseBuilderPage.js").then((e) => ({ default: e.CourseBuilderPage }))), y = i(() => import("./pages/assessments/AssessmentsPage.js").then((e) => ({ default: e.AssessmentsPage }))), b = i(() => import("./pages/assessments/AssessmentDetailPage.js").then((e) => ({ default: e.AssessmentDetailPage }))), x = i(() => import("./pages/assessments/TakeAssessmentPage.js").then((e) => ({ default: e.TakeAssessmentPage }))), S = i(() => import("./pages/insights/InsightsPage.js").then((e) => ({ default: e.InsightsPage }))), C = i(() => import("./pages/paths/PathsPage.js").then((e) => ({ default: e.PathsPage }))), w = i(() => import("./pages/submissions/SubmissionsPage.js").then((e) => ({ default: e.SubmissionsPage }))), T = i(() => import("./pages/submissions/BulkGradingPage.js").then((e) => ({ default: e.BulkGradingPage }))), E = i(() => import("./pages/proctoring/ProctoringReviewPage.js").then((e) => ({ default: e.ProctoringReviewPage }))), D = i(() => import("./pages/tutorReview/TutorReviewPage.js").then((e) => ({ default: e.TutorReviewPage }))), O = i(() => import("./pages/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), k = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), A = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), j = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), M = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), N = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), P = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), F = i(() => import("./pages/aiSettings/AiSettingsPage.js").then((e) => ({ default: e.AiSettingsPage }))), I = () => /* @__PURE__ */ u("div", {
|
|
11
|
+
var p = i(() => import("./pages/catalog/CatalogPage.js").then((e) => ({ default: e.CatalogPage }))), m = i(() => import("./pages/catalog/CourseDetailPage.js").then((e) => ({ default: e.CourseDetailPage }))), h = i(() => import("./pages/learning/MyLearningPage.js").then((e) => ({ default: e.MyLearningPage }))), g = i(() => import("./pages/learning/LessonPlayerPage.js").then((e) => ({ default: e.LessonPlayerPage }))), _ = i(() => import("./pages/authoring/AuthoringPage.js").then((e) => ({ default: e.AuthoringPage }))), v = i(() => import("./pages/authoring/CourseBuilderPage.js").then((e) => ({ default: e.CourseBuilderPage }))), y = i(() => import("./pages/assessments/AssessmentsPage.js").then((e) => ({ default: e.AssessmentsPage }))), b = i(() => import("./pages/assessments/AssessmentDetailPage.js").then((e) => ({ default: e.AssessmentDetailPage }))), x = i(() => import("./pages/assessments/TakeAssessmentPage.js").then((e) => ({ default: e.TakeAssessmentPage }))), S = i(() => import("./pages/insights/InsightsPage.js").then((e) => ({ default: e.InsightsPage }))), C = i(() => import("./pages/paths/PathsPage.js").then((e) => ({ default: e.PathsPage }))), w = i(() => import("./pages/submissions/SubmissionsPage.js").then((e) => ({ default: e.SubmissionsPage }))), T = i(() => import("./pages/submissions/BulkGradingPage.js").then((e) => ({ default: e.BulkGradingPage }))), E = i(() => import("./pages/proctoring/ProctoringReviewPage.js").then((e) => ({ default: e.ProctoringReviewPage }))), D = i(() => import("./pages/tutorReview/TutorReviewPage.js").then((e) => ({ default: e.TutorReviewPage }))), O = i(() => import("./pages/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), k = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), A = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), j = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), M = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), N = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), P = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), F = i(() => import("./pages/aiSettings/AiSettingsPage.js").then((e) => ({ default: e.AiSettingsPage }))), I = i(() => import("./pages/migration/MigrationCenterPage.js").then((e) => ({ default: e.MigrationCenterPage }))), L = () => /* @__PURE__ */ u("div", {
|
|
12
12
|
className: "flex min-h-[400px] items-center justify-center",
|
|
13
13
|
children: /* @__PURE__ */ u(f, { size: "lg" })
|
|
14
14
|
});
|
|
15
|
-
function
|
|
15
|
+
function R() {
|
|
16
16
|
return /* @__PURE__ */ u("div", {
|
|
17
17
|
className: "flex h-full min-h-[200px] items-center justify-center text-sm text-text-secondary",
|
|
18
18
|
children: t()("buildmyiq.pages.featureDisabled", "This feature is currently disabled. You can enable it from Feature Previews.")
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function z(e, t, n = !0) {
|
|
22
22
|
return /* @__PURE__ */ u(a, {
|
|
23
23
|
flag: e,
|
|
24
24
|
defaultValue: n,
|
|
25
|
-
fallback: /* @__PURE__ */ u(
|
|
25
|
+
fallback: /* @__PURE__ */ u(R, {}),
|
|
26
26
|
children: t
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var B = () => {
|
|
30
30
|
let { basePath: t, isStandalone: i } = e(), a = l(), f = t === "/" ? "" : (t ?? "").replace(/\/$/, "");
|
|
31
31
|
return f && !i && !(a.pathname === f || a.pathname.startsWith(f + "/")) ? null : /* @__PURE__ */ u("div", {
|
|
32
32
|
className: "flex min-h-full flex-col",
|
|
33
33
|
children: /* @__PURE__ */ u(r, {
|
|
34
|
-
fallback: /* @__PURE__ */ u(
|
|
34
|
+
fallback: /* @__PURE__ */ u(L, {}),
|
|
35
35
|
children: /* @__PURE__ */ d(c, { children: [
|
|
36
36
|
/* @__PURE__ */ u(s, {
|
|
37
37
|
index: !0,
|
|
38
|
-
element:
|
|
38
|
+
element: z("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
|
|
39
39
|
}),
|
|
40
40
|
/* @__PURE__ */ u(s, {
|
|
41
41
|
path: "catalog",
|
|
42
|
-
element:
|
|
42
|
+
element: z("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ u(s, {
|
|
45
45
|
path: "catalog/:courseId",
|
|
46
|
-
element:
|
|
46
|
+
element: z("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
|
|
47
47
|
}),
|
|
48
48
|
/* @__PURE__ */ u(s, {
|
|
49
49
|
path: "learning",
|
|
50
|
-
element:
|
|
50
|
+
element: z("buildmyiq.learning", /* @__PURE__ */ u(h, {}))
|
|
51
51
|
}),
|
|
52
52
|
/* @__PURE__ */ u(s, {
|
|
53
53
|
path: "learning/:enrollmentId",
|
|
54
|
-
element:
|
|
54
|
+
element: z("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ u(s, {
|
|
57
57
|
path: "paths",
|
|
58
|
-
element:
|
|
58
|
+
element: z("buildmyiq.paths", /* @__PURE__ */ u(C, {}))
|
|
59
59
|
}),
|
|
60
60
|
/* @__PURE__ */ u(s, {
|
|
61
61
|
path: "authoring",
|
|
62
|
-
element:
|
|
62
|
+
element: z("buildmyiq.authoring", /* @__PURE__ */ u(_, {}))
|
|
63
63
|
}),
|
|
64
64
|
/* @__PURE__ */ u(s, {
|
|
65
65
|
path: "authoring/:courseId",
|
|
66
|
-
element:
|
|
66
|
+
element: z("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
|
|
67
67
|
}),
|
|
68
68
|
/* @__PURE__ */ u(s, {
|
|
69
69
|
path: "assessments",
|
|
70
|
-
element:
|
|
70
|
+
element: z("buildmyiq.assessments", /* @__PURE__ */ u(y, {}))
|
|
71
71
|
}),
|
|
72
72
|
/* @__PURE__ */ u(s, {
|
|
73
73
|
path: "assessments/:assessmentId",
|
|
74
|
-
element:
|
|
74
|
+
element: z("buildmyiq.assessments", /* @__PURE__ */ u(b, {}))
|
|
75
75
|
}),
|
|
76
76
|
/* @__PURE__ */ u(s, {
|
|
77
77
|
path: "assessments/:assessmentId/take",
|
|
78
|
-
element:
|
|
78
|
+
element: z("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
|
|
79
79
|
}),
|
|
80
80
|
/* @__PURE__ */ u(s, {
|
|
81
81
|
path: "insights",
|
|
82
|
-
element:
|
|
82
|
+
element: z("buildmyiq.insights", /* @__PURE__ */ u(S, {}))
|
|
83
83
|
}),
|
|
84
84
|
/* @__PURE__ */ u(s, {
|
|
85
85
|
path: "submissions",
|
|
86
|
-
element:
|
|
86
|
+
element: z("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
|
|
87
87
|
}),
|
|
88
88
|
/* @__PURE__ */ u(s, {
|
|
89
89
|
path: "submissions/bulk",
|
|
90
|
-
element:
|
|
90
|
+
element: z("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
|
|
91
91
|
}),
|
|
92
92
|
/* @__PURE__ */ u(s, {
|
|
93
93
|
path: "submissions/:submissionId",
|
|
94
|
-
element:
|
|
94
|
+
element: z("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
|
|
95
95
|
}),
|
|
96
96
|
/* @__PURE__ */ u(s, {
|
|
97
97
|
path: "proctoring",
|
|
98
|
-
element:
|
|
98
|
+
element: z("buildmyiq.proctoring", /* @__PURE__ */ u(E, {}))
|
|
99
99
|
}),
|
|
100
100
|
/* @__PURE__ */ u(s, {
|
|
101
101
|
path: "tutor-review",
|
|
102
|
-
element:
|
|
102
|
+
element: z("buildmyiq.tutor-review", /* @__PURE__ */ u(D, {}))
|
|
103
103
|
}),
|
|
104
104
|
/* @__PURE__ */ u(s, {
|
|
105
105
|
path: "cohorts",
|
|
106
|
-
element:
|
|
106
|
+
element: z("buildmyiq.cohorts", /* @__PURE__ */ u(O, {}))
|
|
107
107
|
}),
|
|
108
108
|
/* @__PURE__ */ u(s, {
|
|
109
109
|
path: "skills",
|
|
110
|
-
element:
|
|
110
|
+
element: z("buildmyiq.skills", /* @__PURE__ */ u(k, {}))
|
|
111
111
|
}),
|
|
112
112
|
/* @__PURE__ */ u(s, {
|
|
113
113
|
path: "certificates",
|
|
114
|
-
element:
|
|
114
|
+
element: z("buildmyiq.certificates", /* @__PURE__ */ u(A, {}))
|
|
115
115
|
}),
|
|
116
116
|
/* @__PURE__ */ u(s, {
|
|
117
117
|
path: "admin-copilot",
|
|
118
|
-
element:
|
|
118
|
+
element: z("buildmyiq.admin-copilot", /* @__PURE__ */ u(j, {}))
|
|
119
119
|
}),
|
|
120
120
|
/* @__PURE__ */ u(s, {
|
|
121
121
|
path: "integrations",
|
|
122
|
-
element:
|
|
122
|
+
element: z("buildmyiq.integrations", /* @__PURE__ */ u(N, {}))
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ u(s, {
|
|
125
|
+
path: "migration",
|
|
126
|
+
element: z("buildmyiq.migration", /* @__PURE__ */ u(I, {}))
|
|
123
127
|
}),
|
|
124
128
|
/* @__PURE__ */ u(s, {
|
|
125
129
|
path: "automations",
|
|
126
|
-
element:
|
|
130
|
+
element: z("buildmyiq.automations", /* @__PURE__ */ u(P, {}))
|
|
127
131
|
}),
|
|
128
132
|
/* @__PURE__ */ u(s, {
|
|
129
133
|
path: "ai-settings",
|
|
130
|
-
element:
|
|
134
|
+
element: z("buildmyiq.ai-settings", /* @__PURE__ */ u(F, {}))
|
|
131
135
|
}),
|
|
132
136
|
/* @__PURE__ */ u(s, {
|
|
133
137
|
path: "lti/launch/:ticketId",
|
|
@@ -145,6 +149,6 @@ var z = () => {
|
|
|
145
149
|
});
|
|
146
150
|
};
|
|
147
151
|
//#endregion
|
|
148
|
-
export {
|
|
152
|
+
export { B as BuildmyiqRoutes };
|
|
149
153
|
|
|
150
154
|
//# sourceMappingURL=BuildmyiqRoutes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoutes.js","names":[],"sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"sourcesContent":["/**\n * Buildmyiq Routes\n * @module buildmyiq\n *\n * Domain routes. The dashboard is eager-loaded (primary landing); all other\n * pages are lazy-loaded. Every route maps to a real `bui*` backend capability.\n * All product routes are gated by feature flags that default to enabled.\n */\n\nimport React, { type FC, lazy, Suspense } from 'react';\nimport { Routes, Route, Navigate, useLocation } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { Spinner } from '@burdenoff/fe-libs/ui';\nimport { useBuildmyiq } from './context';\nimport { useTr } from './shared/hooks/useTr';\n\n// Eager — primary landing\nimport { DashboardPage } from './pages/DashboardPage';\n\n// Catalog (learner-facing course discovery + detail + enrol)\nconst CatalogPage = lazy(() =>\n import('./pages/catalog/CatalogPage').then((m) => ({ default: m.CatalogPage }))\n);\nconst CourseDetailPage = lazy(() =>\n import('./pages/catalog/CourseDetailPage').then((m) => ({ default: m.CourseDetailPage }))\n);\n\n// My Learning (enrollments + progress + lesson player)\nconst MyLearningPage = lazy(() =>\n import('./pages/learning/MyLearningPage').then((m) => ({ default: m.MyLearningPage }))\n);\nconst LessonPlayerPage = lazy(() =>\n import('./pages/learning/LessonPlayerPage').then((m) => ({ default: m.LessonPlayerPage }))\n);\n\n// Authoring (instructor course management + builder)\nconst AuthoringPage = lazy(() =>\n import('./pages/authoring/AuthoringPage').then((m) => ({ default: m.AuthoringPage }))\n);\nconst CourseBuilderPage = lazy(() =>\n import('./pages/authoring/CourseBuilderPage').then((m) => ({ default: m.CourseBuilderPage }))\n);\n\n// Assessments (list + builder/questions/detail)\nconst AssessmentsPage = lazy(() =>\n import('./pages/assessments/AssessmentsPage').then((m) => ({ default: m.AssessmentsPage }))\n);\nconst AssessmentDetailPage = lazy(() =>\n import('./pages/assessments/AssessmentDetailPage').then((m) => ({\n default: m.AssessmentDetailPage,\n }))\n);\n// Learner-facing: take a published assessment (answer + submit)\nconst TakeAssessmentPage = lazy(() =>\n import('./pages/assessments/TakeAssessmentPage').then((m) => ({ default: m.TakeAssessmentPage }))\n);\n\n// Insights (educator analytics, derived from real data)\nconst InsightsPage = lazy(() =>\n import('./pages/insights/InsightsPage').then((m) => ({ default: m.InsightsPage }))\n);\n\n// Skill Journeys (derived guided paths)\nconst PathsPage = lazy(() =>\n import('./pages/paths/PathsPage').then((m) => ({ default: m.PathsPage }))\n);\n\n// Grading (submissions queue)\nconst SubmissionsPage = lazy(() =>\n import('./pages/submissions/SubmissionsPage').then((m) => ({ default: m.SubmissionsPage }))\n);\nconst BulkGradingPage = lazy(() =>\n import('./pages/submissions/BulkGradingPage').then((m) => ({ default: m.BulkGradingPage }))\n);\n\n// Proctoring review queue — high-stakes exam identity checks (BOFF-4431)\nconst ProctoringReviewPage = lazy(() =>\n import('./pages/proctoring/ProctoringReviewPage').then((m) => ({\n default: m.ProctoringReviewPage,\n }))\n);\n\n// Educator review of AI tutor answers (BOFF-9663)\nconst TutorReviewPage = lazy(() =>\n import('./pages/tutorReview/TutorReviewPage').then((m) => ({ default: m.TutorReviewPage }))\n);\n\n// Cohorts\nconst CohortsPage = lazy(() =>\n import('./pages/cohorts/CohortsPage').then((m) => ({ default: m.CohortsPage }))\n);\n\n// Skills taxonomy\nconst SkillsPage = lazy(() =>\n import('./pages/skills/SkillsPage').then((m) => ({ default: m.SkillsPage }))\n);\n\n// Certificates\nconst CertificatesPage = lazy(() =>\n import('./pages/certificates/CertificatesPage').then((m) => ({ default: m.CertificatesPage }))\n);\n\n// AI Admin Copilot (BOFF-4434) — read-only workspace Q&A\nconst AdminCopilotPage = lazy(() =>\n import('./pages/copilot/AdminCopilotPage').then((m) => ({ default: m.AdminCopilotPage }))\n);\n\n// LMS launch handoff — where a validated LTI 1.3 launch lands (BOFF-9680)\nconst LtiLaunchPage = lazy(() =>\n import('./pages/lti/LtiLaunchPage').then((m) => ({ default: m.LtiLaunchPage }))\n);\n// LMS integrations — LTI 1.3 Advantage platform registry (BOFF-4419)\nconst LtiPlatformsPage = lazy(() =>\n import('./pages/integrations/LtiPlatformsPage').then((m) => ({ default: m.LtiPlatformsPage }))\n);\n\n// L&D workflow automation via FluidGrids (BOFF-9688)\nconst AutomationsPage = lazy(() =>\n import('./pages/automations/AutomationsPage').then((m) => ({ default: m.AutomationsPage }))\n);\n\n// Workspace AI content controls (BOFF-9689)\nconst AiSettingsPage = lazy(() =>\n import('./pages/aiSettings/AiSettingsPage').then((m) => ({ default: m.AiSettingsPage }))\n);\n\nconst PageLoader: FC = () => (\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Spinner size=\"lg\" />\n </div>\n);\n\nfunction FeatureDisabledFallback() {\n const tr = useTr();\n return (\n <div className=\"flex h-full min-h-[200px] items-center justify-center text-sm text-text-secondary\">\n {tr(\n 'buildmyiq.pages.featureDisabled',\n 'This feature is currently disabled. You can enable it from Feature Previews.'\n )}\n </div>\n );\n}\n\nfunction gated(flag: string, element: React.ReactNode, defaultValue = true): React.ReactElement {\n return (\n <FeatureGate flag={flag} defaultValue={defaultValue} fallback={<FeatureDisabledFallback />}>\n {element}\n </FeatureGate>\n );\n}\n\nexport const BuildmyiqRoutes: FC = () => {\n const { basePath, isStandalone } = useBuildmyiq();\n const location = useLocation();\n\n const normalizedBasePath = basePath === '/' ? '' : (basePath ?? '').replace(/\\/$/, '');\n\n // Guard: only render if the current path matches basePath (integrated mode).\n if (normalizedBasePath && !isStandalone) {\n const pathMatches =\n location.pathname === normalizedBasePath ||\n location.pathname.startsWith(normalizedBasePath + '/');\n if (!pathMatches) {\n return null;\n }\n }\n\n return (\n <div className=\"flex min-h-full flex-col\">\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={gated('buildmyiq.overview', <DashboardPage />)} />\n\n <Route path=\"catalog\" element={gated('buildmyiq.catalog', <CatalogPage />)} />\n <Route\n path=\"catalog/:courseId\"\n element={gated('buildmyiq.catalog', <CourseDetailPage />)}\n />\n\n <Route path=\"learning\" element={gated('buildmyiq.learning', <MyLearningPage />)} />\n <Route\n path=\"learning/:enrollmentId\"\n element={gated('buildmyiq.learning', <LessonPlayerPage />)}\n />\n\n <Route path=\"paths\" element={gated('buildmyiq.paths', <PathsPage />)} />\n\n <Route path=\"authoring\" element={gated('buildmyiq.authoring', <AuthoringPage />)} />\n <Route\n path=\"authoring/:courseId\"\n element={gated('buildmyiq.authoring', <CourseBuilderPage />)}\n />\n\n <Route path=\"assessments\" element={gated('buildmyiq.assessments', <AssessmentsPage />)} />\n <Route\n path=\"assessments/:assessmentId\"\n element={gated('buildmyiq.assessments', <AssessmentDetailPage />)}\n />\n <Route\n path=\"assessments/:assessmentId/take\"\n element={gated('buildmyiq.assessments', <TakeAssessmentPage />)}\n />\n\n <Route path=\"insights\" element={gated('buildmyiq.insights', <InsightsPage />)} />\n\n <Route path=\"submissions\" element={gated('buildmyiq.submissions', <SubmissionsPage />)} />\n <Route\n path=\"submissions/bulk\"\n element={gated('buildmyiq.submissions', <BulkGradingPage />)}\n />\n <Route\n path=\"submissions/:submissionId\"\n element={gated('buildmyiq.submissions', <SubmissionsPage />)}\n />\n <Route\n path=\"proctoring\"\n element={gated('buildmyiq.proctoring', <ProctoringReviewPage />)}\n />\n <Route\n path=\"tutor-review\"\n element={gated('buildmyiq.tutor-review', <TutorReviewPage />)}\n />\n <Route path=\"cohorts\" element={gated('buildmyiq.cohorts', <CohortsPage />)} />\n <Route path=\"skills\" element={gated('buildmyiq.skills', <SkillsPage />)} />\n <Route\n path=\"certificates\"\n element={gated('buildmyiq.certificates', <CertificatesPage />)}\n />\n\n <Route\n path=\"admin-copilot\"\n element={gated('buildmyiq.admin-copilot', <AdminCopilotPage />)}\n />\n <Route\n path=\"integrations\"\n element={gated('buildmyiq.integrations', <LtiPlatformsPage />)}\n />\n <Route path=\"automations\" element={gated('buildmyiq.automations', <AutomationsPage />)} />\n <Route path=\"ai-settings\" element={gated('buildmyiq.ai-settings', <AiSettingsPage />)} />\n {/* Not feature-gated: learners arrive here from their LMS, and the\n launch only exists because a workspace admin registered it. */}\n <Route path=\"lti/launch/:ticketId\" element={<LtiLaunchPage />} />\n\n <Route path=\"*\" element={<Navigate to={normalizedBasePath || '/'}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K;KAAc,SAAS,EAAM,yBAAyB,kBAAC,GAAD,CAAkB,CAAA,CAAC;IAAI,CAAA;IACzF,kBAAC,GAAD;KAAO,MAAK;KAAc,SAAS,EAAM,yBAAyB,kBAAC,GAAD,CAAiB,CAAA,CAAC;IAAI,CAAA;IAGxF,kBAAC,GAAD;KAAO,MAAK;KAAuB,SAAS,kBAAC,GAAD,CAAgB,CAAA;IAAI,CAAA;IAEhE,kBAAC,GAAD;KAAO,MAAK;KAAI,SAAS,kBAAC,GAAD;MAAU,IAAI,KAAsB;MAAK,SAAA;KAAS,CAAA;IAAI,CAAA;GACzE,EAAA,CAAA;EACA,CAAA;CACP,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoutes.js","names":[],"sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"sourcesContent":["/**\n * Buildmyiq Routes\n * @module buildmyiq\n *\n * Domain routes. The dashboard is eager-loaded (primary landing); all other\n * pages are lazy-loaded. Every route maps to a real `bui*` backend capability.\n * All product routes are gated by feature flags that default to enabled.\n */\n\nimport React, { type FC, lazy, Suspense } from 'react';\nimport { Routes, Route, Navigate, useLocation } from 'react-router';\nimport { FeatureGate } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { Spinner } from '@burdenoff/fe-libs/ui';\nimport { useBuildmyiq } from './context';\nimport { useTr } from './shared/hooks/useTr';\n\n// Eager — primary landing\nimport { DashboardPage } from './pages/DashboardPage';\n\n// Catalog (learner-facing course discovery + detail + enrol)\nconst CatalogPage = lazy(() =>\n import('./pages/catalog/CatalogPage').then((m) => ({ default: m.CatalogPage }))\n);\nconst CourseDetailPage = lazy(() =>\n import('./pages/catalog/CourseDetailPage').then((m) => ({ default: m.CourseDetailPage }))\n);\n\n// My Learning (enrollments + progress + lesson player)\nconst MyLearningPage = lazy(() =>\n import('./pages/learning/MyLearningPage').then((m) => ({ default: m.MyLearningPage }))\n);\nconst LessonPlayerPage = lazy(() =>\n import('./pages/learning/LessonPlayerPage').then((m) => ({ default: m.LessonPlayerPage }))\n);\n\n// Authoring (instructor course management + builder)\nconst AuthoringPage = lazy(() =>\n import('./pages/authoring/AuthoringPage').then((m) => ({ default: m.AuthoringPage }))\n);\nconst CourseBuilderPage = lazy(() =>\n import('./pages/authoring/CourseBuilderPage').then((m) => ({ default: m.CourseBuilderPage }))\n);\n\n// Assessments (list + builder/questions/detail)\nconst AssessmentsPage = lazy(() =>\n import('./pages/assessments/AssessmentsPage').then((m) => ({ default: m.AssessmentsPage }))\n);\nconst AssessmentDetailPage = lazy(() =>\n import('./pages/assessments/AssessmentDetailPage').then((m) => ({\n default: m.AssessmentDetailPage,\n }))\n);\n// Learner-facing: take a published assessment (answer + submit)\nconst TakeAssessmentPage = lazy(() =>\n import('./pages/assessments/TakeAssessmentPage').then((m) => ({ default: m.TakeAssessmentPage }))\n);\n\n// Insights (educator analytics, derived from real data)\nconst InsightsPage = lazy(() =>\n import('./pages/insights/InsightsPage').then((m) => ({ default: m.InsightsPage }))\n);\n\n// Skill Journeys (derived guided paths)\nconst PathsPage = lazy(() =>\n import('./pages/paths/PathsPage').then((m) => ({ default: m.PathsPage }))\n);\n\n// Grading (submissions queue)\nconst SubmissionsPage = lazy(() =>\n import('./pages/submissions/SubmissionsPage').then((m) => ({ default: m.SubmissionsPage }))\n);\nconst BulkGradingPage = lazy(() =>\n import('./pages/submissions/BulkGradingPage').then((m) => ({ default: m.BulkGradingPage }))\n);\n\n// Proctoring review queue — high-stakes exam identity checks (BOFF-4431)\nconst ProctoringReviewPage = lazy(() =>\n import('./pages/proctoring/ProctoringReviewPage').then((m) => ({\n default: m.ProctoringReviewPage,\n }))\n);\n\n// Educator review of AI tutor answers (BOFF-9663)\nconst TutorReviewPage = lazy(() =>\n import('./pages/tutorReview/TutorReviewPage').then((m) => ({ default: m.TutorReviewPage }))\n);\n\n// Cohorts\nconst CohortsPage = lazy(() =>\n import('./pages/cohorts/CohortsPage').then((m) => ({ default: m.CohortsPage }))\n);\n\n// Skills taxonomy\nconst SkillsPage = lazy(() =>\n import('./pages/skills/SkillsPage').then((m) => ({ default: m.SkillsPage }))\n);\n\n// Certificates\nconst CertificatesPage = lazy(() =>\n import('./pages/certificates/CertificatesPage').then((m) => ({ default: m.CertificatesPage }))\n);\n\n// AI Admin Copilot (BOFF-4434) — read-only workspace Q&A\nconst AdminCopilotPage = lazy(() =>\n import('./pages/copilot/AdminCopilotPage').then((m) => ({ default: m.AdminCopilotPage }))\n);\n\n// LMS launch handoff — where a validated LTI 1.3 launch lands (BOFF-9680)\nconst LtiLaunchPage = lazy(() =>\n import('./pages/lti/LtiLaunchPage').then((m) => ({ default: m.LtiLaunchPage }))\n);\n// LMS integrations — LTI 1.3 Advantage platform registry (BOFF-4419)\nconst LtiPlatformsPage = lazy(() =>\n import('./pages/integrations/LtiPlatformsPage').then((m) => ({ default: m.LtiPlatformsPage }))\n);\n\n// L&D workflow automation via FluidGrids (BOFF-9688)\nconst AutomationsPage = lazy(() =>\n import('./pages/automations/AutomationsPage').then((m) => ({ default: m.AutomationsPage }))\n);\n\n// Workspace AI content controls (BOFF-9689)\nconst AiSettingsPage = lazy(() =>\n import('./pages/aiSettings/AiSettingsPage').then((m) => ({ default: m.AiSettingsPage }))\n);\n\n// Course migration — Common Cartridge import, open-standards export (BOFF-4437)\nconst MigrationCenterPage = lazy(() =>\n import('./pages/migration/MigrationCenterPage').then((m) => ({ default: m.MigrationCenterPage }))\n);\n\nconst PageLoader: FC = () => (\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Spinner size=\"lg\" />\n </div>\n);\n\nfunction FeatureDisabledFallback() {\n const tr = useTr();\n return (\n <div className=\"flex h-full min-h-[200px] items-center justify-center text-sm text-text-secondary\">\n {tr(\n 'buildmyiq.pages.featureDisabled',\n 'This feature is currently disabled. You can enable it from Feature Previews.'\n )}\n </div>\n );\n}\n\nfunction gated(flag: string, element: React.ReactNode, defaultValue = true): React.ReactElement {\n return (\n <FeatureGate flag={flag} defaultValue={defaultValue} fallback={<FeatureDisabledFallback />}>\n {element}\n </FeatureGate>\n );\n}\n\nexport const BuildmyiqRoutes: FC = () => {\n const { basePath, isStandalone } = useBuildmyiq();\n const location = useLocation();\n\n const normalizedBasePath = basePath === '/' ? '' : (basePath ?? '').replace(/\\/$/, '');\n\n // Guard: only render if the current path matches basePath (integrated mode).\n if (normalizedBasePath && !isStandalone) {\n const pathMatches =\n location.pathname === normalizedBasePath ||\n location.pathname.startsWith(normalizedBasePath + '/');\n if (!pathMatches) {\n return null;\n }\n }\n\n return (\n <div className=\"flex min-h-full flex-col\">\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={gated('buildmyiq.overview', <DashboardPage />)} />\n\n <Route path=\"catalog\" element={gated('buildmyiq.catalog', <CatalogPage />)} />\n <Route\n path=\"catalog/:courseId\"\n element={gated('buildmyiq.catalog', <CourseDetailPage />)}\n />\n\n <Route path=\"learning\" element={gated('buildmyiq.learning', <MyLearningPage />)} />\n <Route\n path=\"learning/:enrollmentId\"\n element={gated('buildmyiq.learning', <LessonPlayerPage />)}\n />\n\n <Route path=\"paths\" element={gated('buildmyiq.paths', <PathsPage />)} />\n\n <Route path=\"authoring\" element={gated('buildmyiq.authoring', <AuthoringPage />)} />\n <Route\n path=\"authoring/:courseId\"\n element={gated('buildmyiq.authoring', <CourseBuilderPage />)}\n />\n\n <Route path=\"assessments\" element={gated('buildmyiq.assessments', <AssessmentsPage />)} />\n <Route\n path=\"assessments/:assessmentId\"\n element={gated('buildmyiq.assessments', <AssessmentDetailPage />)}\n />\n <Route\n path=\"assessments/:assessmentId/take\"\n element={gated('buildmyiq.assessments', <TakeAssessmentPage />)}\n />\n\n <Route path=\"insights\" element={gated('buildmyiq.insights', <InsightsPage />)} />\n\n <Route path=\"submissions\" element={gated('buildmyiq.submissions', <SubmissionsPage />)} />\n <Route\n path=\"submissions/bulk\"\n element={gated('buildmyiq.submissions', <BulkGradingPage />)}\n />\n <Route\n path=\"submissions/:submissionId\"\n element={gated('buildmyiq.submissions', <SubmissionsPage />)}\n />\n <Route\n path=\"proctoring\"\n element={gated('buildmyiq.proctoring', <ProctoringReviewPage />)}\n />\n <Route\n path=\"tutor-review\"\n element={gated('buildmyiq.tutor-review', <TutorReviewPage />)}\n />\n <Route path=\"cohorts\" element={gated('buildmyiq.cohorts', <CohortsPage />)} />\n <Route path=\"skills\" element={gated('buildmyiq.skills', <SkillsPage />)} />\n <Route\n path=\"certificates\"\n element={gated('buildmyiq.certificates', <CertificatesPage />)}\n />\n\n <Route\n path=\"admin-copilot\"\n element={gated('buildmyiq.admin-copilot', <AdminCopilotPage />)}\n />\n <Route\n path=\"integrations\"\n element={gated('buildmyiq.integrations', <LtiPlatformsPage />)}\n />\n <Route path=\"migration\" element={gated('buildmyiq.migration', <MigrationCenterPage />)} />\n <Route path=\"automations\" element={gated('buildmyiq.automations', <AutomationsPage />)} />\n <Route path=\"ai-settings\" element={gated('buildmyiq.ai-settings', <AiSettingsPage />)} />\n {/* Not feature-gated: learners arrive here from their LMS, and the\n launch only exists because a workspace admin registered it. */}\n <Route path=\"lti/launch/:ticketId\" element={<LtiLaunchPage />} />\n\n <Route path=\"*\" element={<Navigate to={normalizedBasePath || '/'} replace />} />\n </Routes>\n </Suspense>\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;AAoBA,IAAM,IAAc,QAClB,OAAO,kCAA+B,MAAM,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAChF,GACM,IAAmB,QACvB,OAAO,uCAAoC,MAAM,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAC1F,GAGM,IAAiB,QACrB,OAAO,sCAAmC,MAAM,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,CACvF,GACM,IAAmB,QACvB,OAAO,wCAAqC,MAAM,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAC3F,GAGM,IAAgB,QACpB,OAAO,sCAAmC,MAAM,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CACtF,GACM,IAAoB,QACxB,O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GAAD;MAAU,IAAI,KAAsB;MAAK,SAAA;KAAS,CAAA;IAAI,CAAA;GACzE,EAAA,CAAA;EACA,CAAA;CACP,CAAA;AAET"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buildmyiq/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buildmyiq/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|