@burdenoff/microfe-buildmyiq 2026.1027.4 → 2026.1028.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 (62) hide show
  1. package/dist/buildmyiq/BuildmyiqRoot.d.ts.map +1 -1
  2. package/dist/buildmyiq/BuildmyiqRoot.js +80 -64
  3. package/dist/buildmyiq/BuildmyiqRoot.js.map +1 -1
  4. package/dist/buildmyiq/BuildmyiqRoutes.d.ts.map +1 -1
  5. package/dist/buildmyiq/BuildmyiqRoutes.js +38 -30
  6. package/dist/buildmyiq/BuildmyiqRoutes.js.map +1 -1
  7. package/dist/buildmyiq/components/GroundedTutorPanel.d.ts +4 -0
  8. package/dist/buildmyiq/components/GroundedTutorPanel.d.ts.map +1 -1
  9. package/dist/buildmyiq/components/GroundedTutorPanel.js +83 -81
  10. package/dist/buildmyiq/components/GroundedTutorPanel.js.map +1 -1
  11. package/dist/buildmyiq/components/TutorReviewMarker.d.ts +10 -0
  12. package/dist/buildmyiq/components/TutorReviewMarker.d.ts.map +1 -0
  13. package/dist/buildmyiq/components/TutorReviewMarker.js +46 -0
  14. package/dist/buildmyiq/components/TutorReviewMarker.js.map +1 -0
  15. package/dist/buildmyiq/components/WorkspaceBlockListNote.d.ts +5 -0
  16. package/dist/buildmyiq/components/WorkspaceBlockListNote.d.ts.map +1 -0
  17. package/dist/buildmyiq/components/WorkspaceBlockListNote.js +33 -0
  18. package/dist/buildmyiq/components/WorkspaceBlockListNote.js.map +1 -0
  19. package/dist/buildmyiq/components/index.d.ts +2 -0
  20. package/dist/buildmyiq/components/index.d.ts.map +1 -1
  21. package/dist/buildmyiq/components/index.js +2 -0
  22. package/dist/buildmyiq/hooks/useBuiPermissions.d.ts +1 -1
  23. package/dist/buildmyiq/hooks/useBuiPermissions.d.ts.map +1 -1
  24. package/dist/buildmyiq/hooks/useBuiPermissions.js.map +1 -1
  25. package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts +26 -1
  26. package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts.map +1 -1
  27. package/dist/buildmyiq/hooks/useBuildmyiqApi.js +199 -150
  28. package/dist/buildmyiq/hooks/useBuildmyiqApi.js.map +1 -1
  29. package/dist/buildmyiq/pages/aiSettings/AiSettingsPage.d.ts +3 -0
  30. package/dist/buildmyiq/pages/aiSettings/AiSettingsPage.d.ts.map +1 -0
  31. package/dist/buildmyiq/pages/aiSettings/AiSettingsPage.js +167 -0
  32. package/dist/buildmyiq/pages/aiSettings/AiSettingsPage.js.map +1 -0
  33. package/dist/buildmyiq/pages/aiSettings/aiSettingsModel.d.ts +22 -0
  34. package/dist/buildmyiq/pages/aiSettings/aiSettingsModel.d.ts.map +1 -0
  35. package/dist/buildmyiq/pages/aiSettings/aiSettingsModel.js +26 -0
  36. package/dist/buildmyiq/pages/aiSettings/aiSettingsModel.js.map +1 -0
  37. package/dist/buildmyiq/pages/assessments/AiAssessmentDraftDialog.d.ts.map +1 -1
  38. package/dist/buildmyiq/pages/assessments/AiAssessmentDraftDialog.js +126 -124
  39. package/dist/buildmyiq/pages/assessments/AiAssessmentDraftDialog.js.map +1 -1
  40. package/dist/buildmyiq/pages/authoring/AuthoringPage.d.ts.map +1 -1
  41. package/dist/buildmyiq/pages/authoring/AuthoringPage.js +155 -153
  42. package/dist/buildmyiq/pages/authoring/AuthoringPage.js.map +1 -1
  43. package/dist/buildmyiq/pages/authoring/CourseBuilderPage.js +30 -30
  44. package/dist/buildmyiq/pages/copilot/AdminCopilotActionCard.d.ts +2 -0
  45. package/dist/buildmyiq/pages/copilot/AdminCopilotActionCard.d.ts.map +1 -1
  46. package/dist/buildmyiq/pages/copilot/AdminCopilotActionCard.js +48 -37
  47. package/dist/buildmyiq/pages/copilot/AdminCopilotActionCard.js.map +1 -1
  48. package/dist/buildmyiq/pages/copilot/AdminCopilotPage.d.ts.map +1 -1
  49. package/dist/buildmyiq/pages/copilot/AdminCopilotPage.js +58 -56
  50. package/dist/buildmyiq/pages/copilot/AdminCopilotPage.js.map +1 -1
  51. package/dist/buildmyiq/pages/tutorReview/TutorReviewPage.d.ts +3 -0
  52. package/dist/buildmyiq/pages/tutorReview/TutorReviewPage.d.ts.map +1 -0
  53. package/dist/buildmyiq/pages/tutorReview/TutorReviewPage.js +459 -0
  54. package/dist/buildmyiq/pages/tutorReview/TutorReviewPage.js.map +1 -0
  55. package/dist/buildmyiq/pages/tutorReview/tutorReviewModel.d.ts +27 -0
  56. package/dist/buildmyiq/pages/tutorReview/tutorReviewModel.d.ts.map +1 -0
  57. package/dist/buildmyiq/pages/tutorReview/tutorReviewModel.js +64 -0
  58. package/dist/buildmyiq/pages/tutorReview/tutorReviewModel.js.map +1 -0
  59. package/dist/buildmyiq/types/index.d.ts +65 -1
  60. package/dist/buildmyiq/types/index.d.ts.map +1 -1
  61. package/dist/buildmyiq/types/index.js.map +1 -1
  62. 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;AA0BhC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAY3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA8KhD,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;AA4BhC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAY3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA8LhD,CAAC"}
@@ -6,171 +6,187 @@ 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 { Award as u, BookOpen as d, CheckSquare as f, ClipboardCheck as p, GraduationCap as m, LayoutDashboard as h, LineChart as g, PencilRuler as _, Plug as v, Route as y, ShieldCheck as b, Sparkles as x, Target as S, Users as C, Workflow as w } from "lucide-react";
10
- import { jsx as T } from "react/jsx-runtime";
9
+ import { Award as u, BookOpen as d, CheckSquare as f, ClipboardCheck as p, GraduationCap as m, LayoutDashboard as h, LineChart as g, MessageSquareText as _, PencilRuler as v, Plug as y, Route as b, ShieldBan as x, ShieldCheck as S, Sparkles as C, Target as w, Users as T, Workflow as E } from "lucide-react";
10
+ import { jsx as D } from "react/jsx-runtime";
11
11
  //#region src/buildmyiq/BuildmyiqRoot.tsx
12
- var E = new a({ defaultOptions: { queries: {
12
+ var O = new a({ defaultOptions: { queries: {
13
13
  staleTime: 300 * 1e3,
14
14
  retry: 1,
15
15
  refetchOnWindowFocus: !1
16
- } } }), D = (a) => {
17
- let { registerNavItems: D, registerFooterItems: O, basePath: k = "/" } = a, { t: A } = l(), j = r((e, t) => {
18
- let n = A(e);
16
+ } } }), k = (a) => {
17
+ let { registerNavItems: k, registerFooterItems: A, basePath: j = "/" } = a, { t: M } = l(), N = r((e, t) => {
18
+ let n = M(e);
19
19
  return n === e ? t : n;
20
- }, [A]);
20
+ }, [M]);
21
21
  return i(() => {
22
- if (D) return D([
22
+ if (k) return k([
23
23
  {
24
24
  id: "buildmyiq-dashboard",
25
- label: j("buildmyiq.nav.dashboard", "Dashboard"),
26
- path: e(k, ""),
27
- icon: /* @__PURE__ */ T(h, { size: 20 }),
25
+ label: N("buildmyiq.nav.dashboard", "Dashboard"),
26
+ path: e(j, ""),
27
+ icon: /* @__PURE__ */ D(h, { size: 20 }),
28
28
  order: 0,
29
29
  group: "products"
30
30
  },
31
31
  {
32
32
  id: "buildmyiq-catalog",
33
- label: j("buildmyiq.nav.catalog", "Catalog"),
34
- path: e(k, "catalog"),
35
- icon: /* @__PURE__ */ T(d, { size: 20 }),
33
+ label: N("buildmyiq.nav.catalog", "Catalog"),
34
+ path: e(j, "catalog"),
35
+ icon: /* @__PURE__ */ D(d, { size: 20 }),
36
36
  order: 1,
37
37
  group: "products"
38
38
  },
39
39
  {
40
40
  id: "buildmyiq-learning",
41
- label: j("buildmyiq.nav.learning", "My Learning"),
42
- path: e(k, "learning"),
43
- icon: /* @__PURE__ */ T(m, { size: 20 }),
41
+ label: N("buildmyiq.nav.learning", "My Learning"),
42
+ path: e(j, "learning"),
43
+ icon: /* @__PURE__ */ D(m, { size: 20 }),
44
44
  order: 2,
45
45
  group: "products"
46
46
  },
47
47
  {
48
48
  id: "buildmyiq-paths",
49
- label: j("buildmyiq.nav.paths", "Journeys"),
50
- path: e(k, "paths"),
51
- icon: /* @__PURE__ */ T(y, { size: 20 }),
49
+ label: N("buildmyiq.nav.paths", "Journeys"),
50
+ path: e(j, "paths"),
51
+ icon: /* @__PURE__ */ D(b, { size: 20 }),
52
52
  order: 2.5,
53
53
  group: "products"
54
54
  },
55
55
  {
56
56
  id: "buildmyiq-authoring",
57
- label: j("buildmyiq.nav.authoring", "Authoring"),
58
- path: e(k, "authoring"),
59
- icon: /* @__PURE__ */ T(_, { size: 20 }),
57
+ label: N("buildmyiq.nav.authoring", "Authoring"),
58
+ path: e(j, "authoring"),
59
+ icon: /* @__PURE__ */ D(v, { size: 20 }),
60
60
  order: 3,
61
61
  group: "products"
62
62
  },
63
63
  {
64
64
  id: "buildmyiq-assessments",
65
- label: j("buildmyiq.nav.assessments", "Assessments"),
66
- path: e(k, "assessments"),
67
- icon: /* @__PURE__ */ T(p, { size: 20 }),
65
+ label: N("buildmyiq.nav.assessments", "Assessments"),
66
+ path: e(j, "assessments"),
67
+ icon: /* @__PURE__ */ D(p, { size: 20 }),
68
68
  order: 4,
69
69
  group: "products"
70
70
  },
71
71
  {
72
72
  id: "buildmyiq-submissions",
73
- label: j("buildmyiq.nav.submissions", "Grading"),
74
- path: e(k, "submissions"),
75
- icon: /* @__PURE__ */ T(f, { size: 20 }),
73
+ label: N("buildmyiq.nav.submissions", "Grading"),
74
+ path: e(j, "submissions"),
75
+ icon: /* @__PURE__ */ D(f, { size: 20 }),
76
76
  order: 5,
77
77
  group: "products"
78
78
  },
79
79
  {
80
80
  id: "buildmyiq-proctoring",
81
- label: j("buildmyiq.nav.proctoring", "Proctoring"),
82
- path: e(k, "proctoring"),
83
- icon: /* @__PURE__ */ T(b, { size: 20 }),
81
+ label: N("buildmyiq.nav.proctoring", "Proctoring"),
82
+ path: e(j, "proctoring"),
83
+ icon: /* @__PURE__ */ D(S, { size: 20 }),
84
84
  order: 5,
85
85
  group: "products"
86
86
  },
87
+ {
88
+ id: "buildmyiq-tutor-review",
89
+ label: N("buildmyiq.nav.tutorReview", "Tutor Review"),
90
+ path: e(j, "tutor-review"),
91
+ icon: /* @__PURE__ */ D(_, { size: 20 }),
92
+ order: 5.5,
93
+ group: "products"
94
+ },
87
95
  {
88
96
  id: "buildmyiq-cohorts",
89
- label: j("buildmyiq.nav.cohorts", "Cohorts"),
90
- path: e(k, "cohorts"),
91
- icon: /* @__PURE__ */ T(C, { size: 20 }),
97
+ label: N("buildmyiq.nav.cohorts", "Cohorts"),
98
+ path: e(j, "cohorts"),
99
+ icon: /* @__PURE__ */ D(T, { size: 20 }),
92
100
  order: 6,
93
101
  group: "products"
94
102
  },
95
103
  {
96
104
  id: "buildmyiq-skills",
97
- label: j("buildmyiq.nav.skills", "Skills"),
98
- path: e(k, "skills"),
99
- icon: /* @__PURE__ */ T(S, { size: 20 }),
105
+ label: N("buildmyiq.nav.skills", "Skills"),
106
+ path: e(j, "skills"),
107
+ icon: /* @__PURE__ */ D(w, { size: 20 }),
100
108
  order: 7,
101
109
  group: "products"
102
110
  },
103
111
  {
104
112
  id: "buildmyiq-certificates",
105
- label: j("buildmyiq.nav.certificates", "Certificates"),
106
- path: e(k, "certificates"),
107
- icon: /* @__PURE__ */ T(u, { size: 20 }),
113
+ label: N("buildmyiq.nav.certificates", "Certificates"),
114
+ path: e(j, "certificates"),
115
+ icon: /* @__PURE__ */ D(u, { size: 20 }),
108
116
  order: 8,
109
117
  group: "products"
110
118
  },
111
119
  {
112
120
  id: "buildmyiq-insights",
113
- label: j("buildmyiq.nav.insights", "Insights"),
114
- path: e(k, "insights"),
115
- icon: /* @__PURE__ */ T(g, { size: 20 }),
121
+ label: N("buildmyiq.nav.insights", "Insights"),
122
+ path: e(j, "insights"),
123
+ icon: /* @__PURE__ */ D(g, { size: 20 }),
116
124
  order: 9,
117
125
  group: "products"
118
126
  },
119
127
  {
120
128
  id: "buildmyiq-admin-copilot",
121
- label: j("buildmyiq.nav.adminCopilot", "Admin Copilot"),
122
- path: e(k, "admin-copilot"),
123
- icon: /* @__PURE__ */ T(x, { size: 20 }),
129
+ label: N("buildmyiq.nav.adminCopilot", "Admin Copilot"),
130
+ path: e(j, "admin-copilot"),
131
+ icon: /* @__PURE__ */ D(C, { size: 20 }),
124
132
  order: 10,
125
133
  group: "products"
126
134
  },
127
135
  {
128
136
  id: "buildmyiq-integrations",
129
- label: j("buildmyiq.nav.integrations", "LMS Integrations"),
130
- path: e(k, "integrations"),
131
- icon: /* @__PURE__ */ T(v, { size: 20 }),
137
+ label: N("buildmyiq.nav.integrations", "LMS Integrations"),
138
+ path: e(j, "integrations"),
139
+ icon: /* @__PURE__ */ D(y, { size: 20 }),
132
140
  order: 11,
133
141
  group: "products"
134
142
  },
135
143
  {
136
144
  id: "buildmyiq-automations",
137
- label: j("buildmyiq.nav.automations", "Automations"),
138
- path: e(k, "automations"),
139
- icon: /* @__PURE__ */ T(w, { size: 20 }),
145
+ label: N("buildmyiq.nav.automations", "Automations"),
146
+ path: e(j, "automations"),
147
+ icon: /* @__PURE__ */ D(E, { size: 20 }),
140
148
  order: 12,
141
149
  group: "products"
150
+ },
151
+ {
152
+ id: "buildmyiq-ai-settings",
153
+ label: N("buildmyiq.nav.aiSettings", "AI settings"),
154
+ path: e(j, "ai-settings"),
155
+ icon: /* @__PURE__ */ D(x, { size: 20 }),
156
+ order: 13,
157
+ group: "products"
142
158
  }
143
159
  ]);
144
160
  }, [
145
- D,
146
161
  k,
147
- j
162
+ j,
163
+ N
148
164
  ]), i(() => {
149
- if (O) return O([{
165
+ if (A) return A([{
150
166
  id: "buildmyiq-status",
151
- label: j("buildmyiq.footer.ready", "BuildMyIQ Ready"),
167
+ label: N("buildmyiq.footer.ready", "BuildMyIQ Ready"),
152
168
  type: "status",
153
169
  section: "left",
154
170
  order: 10
155
171
  }]);
156
- }, [O, j]), /* @__PURE__ */ T(o, {
157
- client: E,
158
- children: /* @__PURE__ */ T(s, {
172
+ }, [A, N]), /* @__PURE__ */ D(o, {
173
+ client: O,
174
+ children: /* @__PURE__ */ D(s, {
159
175
  workspaceId: null,
160
176
  gateway: "global",
161
177
  defaultEnabled: !0,
162
- children: /* @__PURE__ */ T(c, {
178
+ children: /* @__PURE__ */ D(c, {
163
179
  scopeId: a.workspaceId ?? null,
164
180
  gateway: "workspace",
165
- children: /* @__PURE__ */ T(t, {
181
+ children: /* @__PURE__ */ D(t, {
166
182
  ...a,
167
- children: /* @__PURE__ */ T(n, {})
183
+ children: /* @__PURE__ */ D(n, {})
168
184
  })
169
185
  })
170
186
  })
171
187
  });
172
188
  };
173
189
  //#endregion
174
- export { D as BuildmyiqRoot };
190
+ export { k as BuildmyiqRoot };
175
191
 
176
192
  //# 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} 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-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\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":";;;;;;;;;;;AAqCA,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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MAAM,GAAK,CAAA;IAC3B,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 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,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;CAmKA,OA9JA,QAAgB;EACT,OA6IL,OAAO,EAAiB;GA1ItB;IACE,IAAI;IACJ,OAAO,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AO;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 +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;AAqIvD,eAAO,MAAM,eAAe,EAAE,EA4F7B,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;AA+IvD,eAAO,MAAM,eAAe,EAAE,EAiG7B,CAAC"}
@@ -8,122 +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/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), O = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), k = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), A = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), j = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), M = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), N = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), P = () => /* @__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 = () => /* @__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 F() {
15
+ function L() {
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 I(e, t, n = !0) {
21
+ function R(e, t, n = !0) {
22
22
  return /* @__PURE__ */ u(a, {
23
23
  flag: e,
24
24
  defaultValue: n,
25
- fallback: /* @__PURE__ */ u(F, {}),
25
+ fallback: /* @__PURE__ */ u(L, {}),
26
26
  children: t
27
27
  });
28
28
  }
29
- var L = () => {
29
+ var z = () => {
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(P, {}),
34
+ fallback: /* @__PURE__ */ u(I, {}),
35
35
  children: /* @__PURE__ */ d(c, { children: [
36
36
  /* @__PURE__ */ u(s, {
37
37
  index: !0,
38
- element: I("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
38
+ element: R("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
39
39
  }),
40
40
  /* @__PURE__ */ u(s, {
41
41
  path: "catalog",
42
- element: I("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
42
+ element: R("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
43
43
  }),
44
44
  /* @__PURE__ */ u(s, {
45
45
  path: "catalog/:courseId",
46
- element: I("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
46
+ element: R("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
47
47
  }),
48
48
  /* @__PURE__ */ u(s, {
49
49
  path: "learning",
50
- element: I("buildmyiq.learning", /* @__PURE__ */ u(h, {}))
50
+ element: R("buildmyiq.learning", /* @__PURE__ */ u(h, {}))
51
51
  }),
52
52
  /* @__PURE__ */ u(s, {
53
53
  path: "learning/:enrollmentId",
54
- element: I("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
54
+ element: R("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
55
55
  }),
56
56
  /* @__PURE__ */ u(s, {
57
57
  path: "paths",
58
- element: I("buildmyiq.paths", /* @__PURE__ */ u(C, {}))
58
+ element: R("buildmyiq.paths", /* @__PURE__ */ u(C, {}))
59
59
  }),
60
60
  /* @__PURE__ */ u(s, {
61
61
  path: "authoring",
62
- element: I("buildmyiq.authoring", /* @__PURE__ */ u(_, {}))
62
+ element: R("buildmyiq.authoring", /* @__PURE__ */ u(_, {}))
63
63
  }),
64
64
  /* @__PURE__ */ u(s, {
65
65
  path: "authoring/:courseId",
66
- element: I("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
66
+ element: R("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
67
67
  }),
68
68
  /* @__PURE__ */ u(s, {
69
69
  path: "assessments",
70
- element: I("buildmyiq.assessments", /* @__PURE__ */ u(y, {}))
70
+ element: R("buildmyiq.assessments", /* @__PURE__ */ u(y, {}))
71
71
  }),
72
72
  /* @__PURE__ */ u(s, {
73
73
  path: "assessments/:assessmentId",
74
- element: I("buildmyiq.assessments", /* @__PURE__ */ u(b, {}))
74
+ element: R("buildmyiq.assessments", /* @__PURE__ */ u(b, {}))
75
75
  }),
76
76
  /* @__PURE__ */ u(s, {
77
77
  path: "assessments/:assessmentId/take",
78
- element: I("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
78
+ element: R("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
79
79
  }),
80
80
  /* @__PURE__ */ u(s, {
81
81
  path: "insights",
82
- element: I("buildmyiq.insights", /* @__PURE__ */ u(S, {}))
82
+ element: R("buildmyiq.insights", /* @__PURE__ */ u(S, {}))
83
83
  }),
84
84
  /* @__PURE__ */ u(s, {
85
85
  path: "submissions",
86
- element: I("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
86
+ element: R("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
87
87
  }),
88
88
  /* @__PURE__ */ u(s, {
89
89
  path: "submissions/bulk",
90
- element: I("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
90
+ element: R("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
91
91
  }),
92
92
  /* @__PURE__ */ u(s, {
93
93
  path: "submissions/:submissionId",
94
- element: I("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
94
+ element: R("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
95
95
  }),
96
96
  /* @__PURE__ */ u(s, {
97
97
  path: "proctoring",
98
- element: I("buildmyiq.proctoring", /* @__PURE__ */ u(E, {}))
98
+ element: R("buildmyiq.proctoring", /* @__PURE__ */ u(E, {}))
99
+ }),
100
+ /* @__PURE__ */ u(s, {
101
+ path: "tutor-review",
102
+ element: R("buildmyiq.tutorReview", /* @__PURE__ */ u(D, {}))
99
103
  }),
100
104
  /* @__PURE__ */ u(s, {
101
105
  path: "cohorts",
102
- element: I("buildmyiq.cohorts", /* @__PURE__ */ u(D, {}))
106
+ element: R("buildmyiq.cohorts", /* @__PURE__ */ u(O, {}))
103
107
  }),
104
108
  /* @__PURE__ */ u(s, {
105
109
  path: "skills",
106
- element: I("buildmyiq.skills", /* @__PURE__ */ u(O, {}))
110
+ element: R("buildmyiq.skills", /* @__PURE__ */ u(k, {}))
107
111
  }),
108
112
  /* @__PURE__ */ u(s, {
109
113
  path: "certificates",
110
- element: I("buildmyiq.certificates", /* @__PURE__ */ u(k, {}))
114
+ element: R("buildmyiq.certificates", /* @__PURE__ */ u(A, {}))
111
115
  }),
112
116
  /* @__PURE__ */ u(s, {
113
117
  path: "admin-copilot",
114
- element: I("buildmyiq.adminCopilot", /* @__PURE__ */ u(A, {}))
118
+ element: R("buildmyiq.adminCopilot", /* @__PURE__ */ u(j, {}))
115
119
  }),
116
120
  /* @__PURE__ */ u(s, {
117
121
  path: "integrations",
118
- element: I("buildmyiq.integrations", /* @__PURE__ */ u(M, {}))
122
+ element: R("buildmyiq.integrations", /* @__PURE__ */ u(N, {}))
119
123
  }),
120
124
  /* @__PURE__ */ u(s, {
121
125
  path: "automations",
122
- element: I("buildmyiq.automations", /* @__PURE__ */ u(N, {}))
126
+ element: R("buildmyiq.automations", /* @__PURE__ */ u(P, {}))
127
+ }),
128
+ /* @__PURE__ */ u(s, {
129
+ path: "ai-settings",
130
+ element: R("buildmyiq.aiSettings", /* @__PURE__ */ u(F, {}))
123
131
  }),
124
132
  /* @__PURE__ */ u(s, {
125
133
  path: "lti/launch/:ticketId",
126
- element: /* @__PURE__ */ u(j, {})
134
+ element: /* @__PURE__ */ u(M, {})
127
135
  }),
128
136
  /* @__PURE__ */ u(s, {
129
137
  path: "*",
@@ -137,6 +145,6 @@ var L = () => {
137
145
  });
138
146
  };
139
147
  //#endregion
140
- export { L as BuildmyiqRoutes };
148
+ export { z as BuildmyiqRoutes };
141
149
 
142
150
  //# 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// 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\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 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.adminCopilot', <AdminCopilotPage />)}\n />\n <Route\n path=\"integrations\"\n element={gated('buildmyiq.integrations', <LtiPlatformsPage />)}\n />\n <Route path=\"automations\" element={gated('buildmyiq.automations', <AutomationsPage />)} />\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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AAS,EAAM,wBAAwB,kBAAC,GAAD,CAAuB,CAAA,CAAC;IAChE,CAAA;IACD,kBAAC,GAAD;KAAO,MAAK;KAAU,SAAS,EAAM,qBAAqB,kBAAC,GAAD,CAAc,CAAA,CAAC;IAAI,CAAA;IAC7E,kBAAC,GAAD;KAAO,MAAK;KAAS,SAAS,EAAM,oBAAoB,kBAAC,GAAD,CAAa,CAAA,CAAC;IAAI,CAAA;IAC1E,kBAAC,GAAD;KACE,MAAK;KACL,SAAS,EAAM,0BAA0B,kBAAC,GAAD,CAAmB,CAAA,CAAC;IAC9D,CAAA;IAED,kBAAC,GAAD;KACE,MAAK;KACL,SAAS,EAAM,0BAA0B,kBAAC,GAAD,CAAmB,CAAA,CAAC;IAC9D,CAAA;IACD,kBAAC,GAAD;KACE,MAAK;KACL,SAAS,EAAM,0BAA0B,kBAAC,GAAD,CAAmB,CAAA,CAAC;IAC9D,CAAA;IACD,kBAAC,GAAD;KAAO,MAAK;KAAc,SAAS,EAAM,yBAAyB,kBAAC,GAAD,CAAkB,CAAA,CAAC;IAAI,CAAA;IAGzF,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\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.tutorReview', <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.adminCopilot', <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.aiSettings', <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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AAC,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"}
@@ -16,6 +16,10 @@
16
16
  * derived from; they are rendered as source chips so the learner can see which
17
17
  * lesson content backs the answer instead of taking it on trust. Ids the caller
18
18
  * cannot name are shown as-is rather than guessed at or hidden.
19
+ *
20
+ * Educator review (BOFF-9663): an answer an instructor annotated, corrected or
21
+ * redacted arrives with `content` already replaced by the reviewed version and a
22
+ * `review` record, rendered as a "reviewed by your instructor" marker.
19
23
  */
20
24
  interface GroundedTutorPanelProps {
21
25
  lessonId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GroundedTutorPanel.d.ts","sourceRoot":"","sources":["../../../src/buildmyiq/components/GroundedTutorPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAWH,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChD;AAmBD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,gBAAgB,GACjB,EAAE,uBAAuB,+BAoMzB"}
1
+ {"version":3,"file":"GroundedTutorPanel.d.ts","sourceRoot":"","sources":["../../../src/buildmyiq/components/GroundedTutorPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAYH,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChD;AAmBD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,gBAAgB,GACjB,EAAE,uBAAuB,+BA6MzB"}