@burdenoff/microfe-buildmyiq 2026.1101.1 → 2026.1102.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/buildmyiq/BuildmyiqRoot.d.ts.map +1 -1
  2. package/dist/buildmyiq/BuildmyiqRoot.js +85 -77
  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 -34
  6. package/dist/buildmyiq/BuildmyiqRoutes.js.map +1 -1
  7. package/dist/buildmyiq/hooks/index.d.ts +1 -0
  8. package/dist/buildmyiq/hooks/index.d.ts.map +1 -1
  9. package/dist/buildmyiq/hooks/index.js +1 -0
  10. package/dist/buildmyiq/hooks/useBuiLearningObjects.d.ts +71 -0
  11. package/dist/buildmyiq/hooks/useBuiLearningObjects.d.ts.map +1 -0
  12. package/dist/buildmyiq/hooks/useBuiLearningObjects.js +168 -0
  13. package/dist/buildmyiq/hooks/useBuiLearningObjects.js.map +1 -0
  14. package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts +34 -1
  15. package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts.map +1 -1
  16. package/dist/buildmyiq/hooks/useBuildmyiqApi.js +335 -335
  17. package/dist/buildmyiq/hooks/useBuildmyiqApi.js.map +1 -1
  18. package/dist/buildmyiq/pages/authoring/CourseBuilderPage.d.ts.map +1 -1
  19. package/dist/buildmyiq/pages/authoring/CourseBuilderPage.js +393 -277
  20. package/dist/buildmyiq/pages/authoring/CourseBuilderPage.js.map +1 -1
  21. package/dist/buildmyiq/pages/repository/RepositoryDialogs.d.ts +27 -0
  22. package/dist/buildmyiq/pages/repository/RepositoryDialogs.d.ts.map +1 -0
  23. package/dist/buildmyiq/pages/repository/RepositoryDialogs.js +379 -0
  24. package/dist/buildmyiq/pages/repository/RepositoryDialogs.js.map +1 -0
  25. package/dist/buildmyiq/pages/repository/RepositoryPage.d.ts +3 -0
  26. package/dist/buildmyiq/pages/repository/RepositoryPage.d.ts.map +1 -0
  27. package/dist/buildmyiq/pages/repository/RepositoryPage.js +445 -0
  28. package/dist/buildmyiq/pages/repository/RepositoryPage.js.map +1 -0
  29. package/dist/buildmyiq/pages/repository/repositoryModel.d.ts +26 -0
  30. package/dist/buildmyiq/pages/repository/repositoryModel.d.ts.map +1 -0
  31. package/dist/buildmyiq/pages/repository/repositoryModel.js +30 -0
  32. package/dist/buildmyiq/pages/repository/repositoryModel.js.map +1 -0
  33. package/dist/buildmyiq/types/index.d.ts +98 -0
  34. package/dist/buildmyiq/types/index.d.ts.map +1 -1
  35. package/dist/buildmyiq/types/index.js +26 -1
  36. package/dist/buildmyiq/types/index.js.map +1 -1
  37. 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;AA8BhC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAY3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA8MhD,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;AA+BhC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAY3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsNhD,CAAC"}
@@ -6,203 +6,211 @@ 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 { 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, UserCog as E, Users as D, Workflow as O } from "lucide-react";
10
- import { jsx as k } from "react/jsx-runtime";
9
+ import { ArrowRightLeft as u, Award as d, BookOpen as f, CheckSquare as p, ClipboardCheck as m, GraduationCap as h, LayoutDashboard as g, Library as _, LineChart as v, MessageSquareText as y, PencilRuler as b, Plug as x, Route as S, ShieldBan as C, ShieldCheck as w, Sparkles as T, Target as E, UserCog as D, Users as O, Workflow as k } from "lucide-react";
10
+ import { jsx as A } from "react/jsx-runtime";
11
11
  //#region src/buildmyiq/BuildmyiqRoot.tsx
12
- var A = new a({ defaultOptions: { queries: {
12
+ var j = new a({ defaultOptions: { queries: {
13
13
  staleTime: 300 * 1e3,
14
14
  retry: 1,
15
15
  refetchOnWindowFocus: !1
16
- } } }), j = (a) => {
17
- let { registerNavItems: j, registerFooterItems: M, basePath: N = "/" } = a, { t: P } = l(), F = r((e, t) => {
18
- let n = P(e);
16
+ } } }), M = (a) => {
17
+ let { registerNavItems: M, registerFooterItems: N, basePath: P = "/" } = a, { t: F } = l(), I = r((e, t) => {
18
+ let n = F(e);
19
19
  return n === e ? t : n;
20
- }, [P]);
20
+ }, [F]);
21
21
  return i(() => {
22
- if (j) return j([
22
+ if (M) return M([
23
23
  {
24
24
  id: "buildmyiq-dashboard",
25
- label: F("buildmyiq.nav.dashboard", "Dashboard"),
26
- path: e(N, ""),
27
- icon: /* @__PURE__ */ k(g, { size: 20 }),
25
+ label: I("buildmyiq.nav.dashboard", "Dashboard"),
26
+ path: e(P, ""),
27
+ icon: /* @__PURE__ */ A(g, { size: 20 }),
28
28
  order: 0,
29
29
  group: "products"
30
30
  },
31
31
  {
32
32
  id: "buildmyiq-catalog",
33
- label: F("buildmyiq.nav.catalog", "Catalog"),
34
- path: e(N, "catalog"),
35
- icon: /* @__PURE__ */ k(f, { size: 20 }),
33
+ label: I("buildmyiq.nav.catalog", "Catalog"),
34
+ path: e(P, "catalog"),
35
+ icon: /* @__PURE__ */ A(f, { size: 20 }),
36
36
  order: 1,
37
37
  group: "products"
38
38
  },
39
39
  {
40
40
  id: "buildmyiq-learning",
41
- label: F("buildmyiq.nav.learning", "My Learning"),
42
- path: e(N, "learning"),
43
- icon: /* @__PURE__ */ k(h, { size: 20 }),
41
+ label: I("buildmyiq.nav.learning", "My Learning"),
42
+ path: e(P, "learning"),
43
+ icon: /* @__PURE__ */ A(h, { size: 20 }),
44
44
  order: 2,
45
45
  group: "products"
46
46
  },
47
47
  {
48
48
  id: "buildmyiq-paths",
49
- label: F("buildmyiq.nav.paths", "Journeys"),
50
- path: e(N, "paths"),
51
- icon: /* @__PURE__ */ k(x, { size: 20 }),
49
+ label: I("buildmyiq.nav.paths", "Journeys"),
50
+ path: e(P, "paths"),
51
+ icon: /* @__PURE__ */ A(S, { size: 20 }),
52
52
  order: 2.5,
53
53
  group: "products"
54
54
  },
55
55
  {
56
56
  id: "buildmyiq-authoring",
57
- label: F("buildmyiq.nav.authoring", "Authoring"),
58
- path: e(N, "authoring"),
59
- icon: /* @__PURE__ */ k(y, { size: 20 }),
57
+ label: I("buildmyiq.nav.authoring", "Authoring"),
58
+ path: e(P, "authoring"),
59
+ icon: /* @__PURE__ */ A(b, { size: 20 }),
60
60
  order: 3,
61
61
  group: "products"
62
62
  },
63
+ {
64
+ id: "buildmyiq-repository",
65
+ label: I("buildmyiq.nav.repository", "Content repository"),
66
+ path: e(P, "repository"),
67
+ icon: /* @__PURE__ */ A(_, { size: 20 }),
68
+ order: 3.5,
69
+ group: "products"
70
+ },
63
71
  {
64
72
  id: "buildmyiq-assessments",
65
- label: F("buildmyiq.nav.assessments", "Assessments"),
66
- path: e(N, "assessments"),
67
- icon: /* @__PURE__ */ k(m, { size: 20 }),
73
+ label: I("buildmyiq.nav.assessments", "Assessments"),
74
+ path: e(P, "assessments"),
75
+ icon: /* @__PURE__ */ A(m, { size: 20 }),
68
76
  order: 4,
69
77
  group: "products"
70
78
  },
71
79
  {
72
80
  id: "buildmyiq-submissions",
73
- label: F("buildmyiq.nav.submissions", "Grading"),
74
- path: e(N, "submissions"),
75
- icon: /* @__PURE__ */ k(p, { size: 20 }),
81
+ label: I("buildmyiq.nav.submissions", "Grading"),
82
+ path: e(P, "submissions"),
83
+ icon: /* @__PURE__ */ A(p, { size: 20 }),
76
84
  order: 5,
77
85
  group: "products"
78
86
  },
79
87
  {
80
88
  id: "buildmyiq-proctoring",
81
- label: F("buildmyiq.nav.proctoring", "Proctoring"),
82
- path: e(N, "proctoring"),
83
- icon: /* @__PURE__ */ k(C, { size: 20 }),
89
+ label: I("buildmyiq.nav.proctoring", "Proctoring"),
90
+ path: e(P, "proctoring"),
91
+ icon: /* @__PURE__ */ A(w, { size: 20 }),
84
92
  order: 5,
85
93
  group: "products"
86
94
  },
87
95
  {
88
96
  id: "buildmyiq-tutor-review",
89
- label: F("buildmyiq.nav.tutorReview", "Tutor Review"),
90
- path: e(N, "tutor-review"),
91
- icon: /* @__PURE__ */ k(v, { size: 20 }),
97
+ label: I("buildmyiq.nav.tutorReview", "Tutor Review"),
98
+ path: e(P, "tutor-review"),
99
+ icon: /* @__PURE__ */ A(y, { size: 20 }),
92
100
  order: 5.5,
93
101
  group: "products"
94
102
  },
95
103
  {
96
104
  id: "buildmyiq-cohorts",
97
- label: F("buildmyiq.nav.cohorts", "Cohorts"),
98
- path: e(N, "cohorts"),
99
- icon: /* @__PURE__ */ k(D, { size: 20 }),
105
+ label: I("buildmyiq.nav.cohorts", "Cohorts"),
106
+ path: e(P, "cohorts"),
107
+ icon: /* @__PURE__ */ A(O, { size: 20 }),
100
108
  order: 6,
101
109
  group: "products"
102
110
  },
103
111
  {
104
112
  id: "buildmyiq-skills",
105
- label: F("buildmyiq.nav.skills", "Skills"),
106
- path: e(N, "skills"),
107
- icon: /* @__PURE__ */ k(T, { size: 20 }),
113
+ label: I("buildmyiq.nav.skills", "Skills"),
114
+ path: e(P, "skills"),
115
+ icon: /* @__PURE__ */ A(E, { size: 20 }),
108
116
  order: 7,
109
117
  group: "products"
110
118
  },
111
119
  {
112
120
  id: "buildmyiq-certificates",
113
- label: F("buildmyiq.nav.certificates", "Certificates"),
114
- path: e(N, "certificates"),
115
- icon: /* @__PURE__ */ k(d, { size: 20 }),
121
+ label: I("buildmyiq.nav.certificates", "Certificates"),
122
+ path: e(P, "certificates"),
123
+ icon: /* @__PURE__ */ A(d, { size: 20 }),
116
124
  order: 8,
117
125
  group: "products"
118
126
  },
119
127
  {
120
128
  id: "buildmyiq-insights",
121
- label: F("buildmyiq.nav.insights", "Insights"),
122
- path: e(N, "insights"),
123
- icon: /* @__PURE__ */ k(_, { size: 20 }),
129
+ label: I("buildmyiq.nav.insights", "Insights"),
130
+ path: e(P, "insights"),
131
+ icon: /* @__PURE__ */ A(v, { size: 20 }),
124
132
  order: 9,
125
133
  group: "products"
126
134
  },
127
135
  {
128
136
  id: "buildmyiq-admin-copilot",
129
- label: F("buildmyiq.nav.adminCopilot", "Admin Copilot"),
130
- path: e(N, "admin-copilot"),
131
- icon: /* @__PURE__ */ k(w, { size: 20 }),
137
+ label: I("buildmyiq.nav.adminCopilot", "Admin Copilot"),
138
+ path: e(P, "admin-copilot"),
139
+ icon: /* @__PURE__ */ A(T, { size: 20 }),
132
140
  order: 10,
133
141
  group: "products"
134
142
  },
135
143
  {
136
144
  id: "buildmyiq-integrations",
137
- label: F("buildmyiq.nav.integrations", "LMS Integrations"),
138
- path: e(N, "integrations"),
139
- icon: /* @__PURE__ */ k(b, { size: 20 }),
145
+ label: I("buildmyiq.nav.integrations", "LMS Integrations"),
146
+ path: e(P, "integrations"),
147
+ icon: /* @__PURE__ */ A(x, { size: 20 }),
140
148
  order: 11,
141
149
  group: "products"
142
150
  },
143
151
  {
144
152
  id: "buildmyiq-migration",
145
- label: F("buildmyiq.nav.migration", "Migration"),
146
- path: e(N, "migration"),
147
- icon: /* @__PURE__ */ k(u, { size: 20 }),
153
+ label: I("buildmyiq.nav.migration", "Migration"),
154
+ path: e(P, "migration"),
155
+ icon: /* @__PURE__ */ A(u, { size: 20 }),
148
156
  order: 11.5,
149
157
  group: "products"
150
158
  },
151
159
  {
152
160
  id: "buildmyiq-automations",
153
- label: F("buildmyiq.nav.automations", "Automations"),
154
- path: e(N, "automations"),
155
- icon: /* @__PURE__ */ k(O, { size: 20 }),
161
+ label: I("buildmyiq.nav.automations", "Automations"),
162
+ path: e(P, "automations"),
163
+ icon: /* @__PURE__ */ A(k, { size: 20 }),
156
164
  order: 12,
157
165
  group: "products"
158
166
  },
159
167
  {
160
168
  id: "buildmyiq-ai-settings",
161
- label: F("buildmyiq.nav.aiSettings", "AI settings"),
162
- path: e(N, "ai-settings"),
163
- icon: /* @__PURE__ */ k(S, { size: 20 }),
169
+ label: I("buildmyiq.nav.aiSettings", "AI settings"),
170
+ path: e(P, "ai-settings"),
171
+ icon: /* @__PURE__ */ A(C, { size: 20 }),
164
172
  order: 13,
165
173
  group: "products"
166
174
  },
167
175
  {
168
176
  id: "buildmyiq-provisioning",
169
- label: F("buildmyiq.nav.provisioning", "User provisioning"),
170
- path: e(N, "provisioning"),
171
- icon: /* @__PURE__ */ k(E, { size: 20 }),
177
+ label: I("buildmyiq.nav.provisioning", "User provisioning"),
178
+ path: e(P, "provisioning"),
179
+ icon: /* @__PURE__ */ A(D, { size: 20 }),
172
180
  order: 14,
173
181
  group: "products"
174
182
  }
175
183
  ]);
176
184
  }, [
177
- j,
178
- N,
179
- F
185
+ M,
186
+ P,
187
+ I
180
188
  ]), i(() => {
181
- if (M) return M([{
189
+ if (N) return N([{
182
190
  id: "buildmyiq-status",
183
- label: F("buildmyiq.footer.ready", "BuildMyIQ Ready"),
191
+ label: I("buildmyiq.footer.ready", "BuildMyIQ Ready"),
184
192
  type: "status",
185
193
  section: "left",
186
194
  order: 10
187
195
  }]);
188
- }, [M, F]), /* @__PURE__ */ k(o, {
189
- client: A,
190
- children: /* @__PURE__ */ k(s, {
196
+ }, [N, I]), /* @__PURE__ */ A(o, {
197
+ client: j,
198
+ children: /* @__PURE__ */ A(s, {
191
199
  workspaceId: null,
192
200
  gateway: "global",
193
201
  defaultEnabled: !0,
194
- children: /* @__PURE__ */ k(c, {
202
+ children: /* @__PURE__ */ A(c, {
195
203
  scopeId: a.workspaceId ?? null,
196
204
  gateway: "workspace",
197
- children: /* @__PURE__ */ k(t, {
205
+ children: /* @__PURE__ */ A(t, {
198
206
  ...a,
199
- children: /* @__PURE__ */ k(n, {})
207
+ children: /* @__PURE__ */ A(n, {})
200
208
  })
201
209
  })
202
210
  })
203
211
  });
204
212
  };
205
213
  //#endregion
206
- export { j as BuildmyiqRoot };
214
+ export { M as BuildmyiqRoot };
207
215
 
208
216
  //# 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 ArrowRightLeft,\n ShieldCheck,\n Workflow,\n MessageSquareText,\n ShieldBan,\n UserCog,\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 id: 'buildmyiq-provisioning',\n label: t('buildmyiq.nav.provisioning', 'User provisioning'),\n path: joinPath(basePath, 'provisioning'),\n icon: <UserCog size={20} />,\n order: 14,\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":";;;;;;;;;;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AS,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 Library,\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 UserCog,\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-repository',\n label: t('buildmyiq.nav.repository', 'Content repository'),\n path: joinPath(basePath, 'repository'),\n icon: <Library size={20} />,\n order: 3.5,\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 id: 'buildmyiq-provisioning',\n label: t('buildmyiq.nav.provisioning', 'User provisioning'),\n path: joinPath(basePath, 'provisioning'),\n icon: <UserCog size={20} />,\n order: 14,\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":";;;;;;;;;;;AA0CA,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;CA2LA,OAtLA,QAAgB;EACT,OAqKL,OAAO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yiqRoutes.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAc,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAwJvD,eAAO,MAAM,eAAe,EAAE,EAsG7B,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;AA6JvD,eAAO,MAAM,eAAe,EAAE,EAyG7B,CAAC"}
@@ -8,138 +8,142 @@ 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 = i(() => import("./pages/provisioning/ProvisioningPage.js").then((e) => ({ default: e.ProvisioningPage }))), L = i(() => import("./pages/migration/MigrationCenterPage.js").then((e) => ({ default: e.MigrationCenterPage }))), R = () => /* @__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/repository/RepositoryPage.js").then((e) => ({ default: e.RepositoryPage }))), b = i(() => import("./pages/assessments/AssessmentsPage.js").then((e) => ({ default: e.AssessmentsPage }))), x = i(() => import("./pages/assessments/AssessmentDetailPage.js").then((e) => ({ default: e.AssessmentDetailPage }))), S = i(() => import("./pages/assessments/TakeAssessmentPage.js").then((e) => ({ default: e.TakeAssessmentPage }))), C = i(() => import("./pages/insights/InsightsPage.js").then((e) => ({ default: e.InsightsPage }))), w = i(() => import("./pages/paths/PathsPage.js").then((e) => ({ default: e.PathsPage }))), T = i(() => import("./pages/submissions/SubmissionsPage.js").then((e) => ({ default: e.SubmissionsPage }))), E = i(() => import("./pages/submissions/BulkGradingPage.js").then((e) => ({ default: e.BulkGradingPage }))), D = i(() => import("./pages/proctoring/ProctoringReviewPage.js").then((e) => ({ default: e.ProctoringReviewPage }))), O = i(() => import("./pages/tutorReview/TutorReviewPage.js").then((e) => ({ default: e.TutorReviewPage }))), k = i(() => import("./pages/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), A = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), j = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), M = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), N = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), P = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), F = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), I = i(() => import("./pages/aiSettings/AiSettingsPage.js").then((e) => ({ default: e.AiSettingsPage }))), L = i(() => import("./pages/provisioning/ProvisioningPage.js").then((e) => ({ default: e.ProvisioningPage }))), R = i(() => import("./pages/migration/MigrationCenterPage.js").then((e) => ({ default: e.MigrationCenterPage }))), z = () => /* @__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 z() {
15
+ function B() {
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 B(e, t, n = !0) {
21
+ function V(e, t, n = !0) {
22
22
  return /* @__PURE__ */ u(a, {
23
23
  flag: e,
24
24
  defaultValue: n,
25
- fallback: /* @__PURE__ */ u(z, {}),
25
+ fallback: /* @__PURE__ */ u(B, {}),
26
26
  children: t
27
27
  });
28
28
  }
29
- var V = () => {
29
+ var H = () => {
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(R, {}),
34
+ fallback: /* @__PURE__ */ u(z, {}),
35
35
  children: /* @__PURE__ */ d(c, { children: [
36
36
  /* @__PURE__ */ u(s, {
37
37
  index: !0,
38
- element: B("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
38
+ element: V("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
39
39
  }),
40
40
  /* @__PURE__ */ u(s, {
41
41
  path: "catalog",
42
- element: B("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
42
+ element: V("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
43
43
  }),
44
44
  /* @__PURE__ */ u(s, {
45
45
  path: "catalog/:courseId",
46
- element: B("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
46
+ element: V("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
47
47
  }),
48
48
  /* @__PURE__ */ u(s, {
49
49
  path: "learning",
50
- element: B("buildmyiq.learning", /* @__PURE__ */ u(h, {}))
50
+ element: V("buildmyiq.learning", /* @__PURE__ */ u(h, {}))
51
51
  }),
52
52
  /* @__PURE__ */ u(s, {
53
53
  path: "learning/:enrollmentId",
54
- element: B("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
54
+ element: V("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
55
55
  }),
56
56
  /* @__PURE__ */ u(s, {
57
57
  path: "paths",
58
- element: B("buildmyiq.paths", /* @__PURE__ */ u(C, {}))
58
+ element: V("buildmyiq.paths", /* @__PURE__ */ u(w, {}))
59
59
  }),
60
60
  /* @__PURE__ */ u(s, {
61
61
  path: "authoring",
62
- element: B("buildmyiq.authoring", /* @__PURE__ */ u(_, {}))
62
+ element: V("buildmyiq.authoring", /* @__PURE__ */ u(_, {}))
63
63
  }),
64
64
  /* @__PURE__ */ u(s, {
65
65
  path: "authoring/:courseId",
66
- element: B("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
66
+ element: V("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
67
+ }),
68
+ /* @__PURE__ */ u(s, {
69
+ path: "repository",
70
+ element: V("buildmyiq.authoring", /* @__PURE__ */ u(y, {}))
67
71
  }),
68
72
  /* @__PURE__ */ u(s, {
69
73
  path: "assessments",
70
- element: B("buildmyiq.assessments", /* @__PURE__ */ u(y, {}))
74
+ element: V("buildmyiq.assessments", /* @__PURE__ */ u(b, {}))
71
75
  }),
72
76
  /* @__PURE__ */ u(s, {
73
77
  path: "assessments/:assessmentId",
74
- element: B("buildmyiq.assessments", /* @__PURE__ */ u(b, {}))
78
+ element: V("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
75
79
  }),
76
80
  /* @__PURE__ */ u(s, {
77
81
  path: "assessments/:assessmentId/take",
78
- element: B("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
82
+ element: V("buildmyiq.assessments", /* @__PURE__ */ u(S, {}))
79
83
  }),
80
84
  /* @__PURE__ */ u(s, {
81
85
  path: "insights",
82
- element: B("buildmyiq.insights", /* @__PURE__ */ u(S, {}))
86
+ element: V("buildmyiq.insights", /* @__PURE__ */ u(C, {}))
83
87
  }),
84
88
  /* @__PURE__ */ u(s, {
85
89
  path: "submissions",
86
- element: B("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
90
+ element: V("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
87
91
  }),
88
92
  /* @__PURE__ */ u(s, {
89
93
  path: "submissions/bulk",
90
- element: B("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
94
+ element: V("buildmyiq.submissions", /* @__PURE__ */ u(E, {}))
91
95
  }),
92
96
  /* @__PURE__ */ u(s, {
93
97
  path: "submissions/:submissionId",
94
- element: B("buildmyiq.submissions", /* @__PURE__ */ u(w, {}))
98
+ element: V("buildmyiq.submissions", /* @__PURE__ */ u(T, {}))
95
99
  }),
96
100
  /* @__PURE__ */ u(s, {
97
101
  path: "proctoring",
98
- element: B("buildmyiq.proctoring", /* @__PURE__ */ u(E, {}))
102
+ element: V("buildmyiq.proctoring", /* @__PURE__ */ u(D, {}))
99
103
  }),
100
104
  /* @__PURE__ */ u(s, {
101
105
  path: "tutor-review",
102
- element: B("buildmyiq.tutor-review", /* @__PURE__ */ u(D, {}))
106
+ element: V("buildmyiq.tutor-review", /* @__PURE__ */ u(O, {}))
103
107
  }),
104
108
  /* @__PURE__ */ u(s, {
105
109
  path: "cohorts",
106
- element: B("buildmyiq.cohorts", /* @__PURE__ */ u(O, {}))
110
+ element: V("buildmyiq.cohorts", /* @__PURE__ */ u(k, {}))
107
111
  }),
108
112
  /* @__PURE__ */ u(s, {
109
113
  path: "skills",
110
- element: B("buildmyiq.skills", /* @__PURE__ */ u(k, {}))
114
+ element: V("buildmyiq.skills", /* @__PURE__ */ u(A, {}))
111
115
  }),
112
116
  /* @__PURE__ */ u(s, {
113
117
  path: "certificates",
114
- element: B("buildmyiq.certificates", /* @__PURE__ */ u(A, {}))
118
+ element: V("buildmyiq.certificates", /* @__PURE__ */ u(j, {}))
115
119
  }),
116
120
  /* @__PURE__ */ u(s, {
117
121
  path: "admin-copilot",
118
- element: B("buildmyiq.admin-copilot", /* @__PURE__ */ u(j, {}))
122
+ element: V("buildmyiq.admin-copilot", /* @__PURE__ */ u(M, {}))
119
123
  }),
120
124
  /* @__PURE__ */ u(s, {
121
125
  path: "integrations",
122
- element: B("buildmyiq.integrations", /* @__PURE__ */ u(N, {}))
126
+ element: V("buildmyiq.integrations", /* @__PURE__ */ u(P, {}))
123
127
  }),
124
128
  /* @__PURE__ */ u(s, {
125
129
  path: "migration",
126
- element: B("buildmyiq.migration", /* @__PURE__ */ u(L, {}))
130
+ element: V("buildmyiq.migration", /* @__PURE__ */ u(R, {}))
127
131
  }),
128
132
  /* @__PURE__ */ u(s, {
129
133
  path: "automations",
130
- element: B("buildmyiq.automations", /* @__PURE__ */ u(P, {}))
134
+ element: V("buildmyiq.automations", /* @__PURE__ */ u(F, {}))
131
135
  }),
132
136
  /* @__PURE__ */ u(s, {
133
137
  path: "ai-settings",
134
- element: B("buildmyiq.ai-settings", /* @__PURE__ */ u(F, {}))
138
+ element: V("buildmyiq.ai-settings", /* @__PURE__ */ u(I, {}))
135
139
  }),
136
140
  /* @__PURE__ */ u(s, {
137
141
  path: "provisioning",
138
- element: B("buildmyiq.provisioning", /* @__PURE__ */ u(I, {}))
142
+ element: V("buildmyiq.provisioning", /* @__PURE__ */ u(L, {}))
139
143
  }),
140
144
  /* @__PURE__ */ u(s, {
141
145
  path: "lti/launch/:ticketId",
142
- element: /* @__PURE__ */ u(M, {})
146
+ element: /* @__PURE__ */ u(N, {})
143
147
  }),
144
148
  /* @__PURE__ */ u(s, {
145
149
  path: "*",
@@ -153,6 +157,6 @@ var V = () => {
153
157
  });
154
158
  };
155
159
  //#endregion
156
- export { V as BuildmyiqRoutes };
160
+ export { H as BuildmyiqRoutes };
157
161
 
158
162
  //# sourceMappingURL=BuildmyiqRoutes.js.map