@burdenoff/microfe-buildmyiq 2026.1107.7 → 2026.1108.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/buildmyiq/BuildmyiqRoot.d.ts.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoot.js +109 -101
- package/dist/buildmyiq/BuildmyiqRoot.js.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoutes.d.ts.map +1 -1
- package/dist/buildmyiq/BuildmyiqRoutes.js +39 -35
- package/dist/buildmyiq/BuildmyiqRoutes.js.map +1 -1
- package/dist/buildmyiq/components/StatusBadge.d.ts.map +1 -1
- package/dist/buildmyiq/components/StatusBadge.js +4 -0
- package/dist/buildmyiq/components/StatusBadge.js.map +1 -1
- package/dist/buildmyiq/hooks/useBuiInteractive.d.ts +67 -3
- package/dist/buildmyiq/hooks/useBuiInteractive.d.ts.map +1 -1
- package/dist/buildmyiq/hooks/useBuiInteractive.js +48 -29
- package/dist/buildmyiq/hooks/useBuiInteractive.js.map +1 -1
- package/dist/buildmyiq/hooks/useBuiXapi.d.ts +32 -0
- package/dist/buildmyiq/hooks/useBuiXapi.d.ts.map +1 -0
- package/dist/buildmyiq/hooks/useBuiXapi.js +100 -0
- package/dist/buildmyiq/hooks/useBuiXapi.js.map +1 -0
- package/dist/buildmyiq/pages/authoring/InteractiveActivityEditor.js.map +1 -1
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.d.ts.map +1 -1
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.js +75 -69
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.js.map +1 -1
- package/dist/buildmyiq/pages/authoring/interactiveDraft.d.ts +5 -5
- package/dist/buildmyiq/pages/authoring/interactiveDraft.d.ts.map +1 -1
- package/dist/buildmyiq/pages/authoring/interactiveDraft.js.map +1 -1
- package/dist/buildmyiq/pages/learning/InteractiveActivity.d.ts +1 -11
- package/dist/buildmyiq/pages/learning/InteractiveActivity.d.ts.map +1 -1
- package/dist/buildmyiq/pages/learning/InteractiveActivity.js +85 -204
- package/dist/buildmyiq/pages/learning/InteractiveActivity.js.map +1 -1
- package/dist/buildmyiq/pages/learning/InteractiveItemCard.d.ts +15 -0
- package/dist/buildmyiq/pages/learning/InteractiveItemCard.d.ts.map +1 -0
- package/dist/buildmyiq/pages/learning/InteractiveItemCard.js +236 -0
- package/dist/buildmyiq/pages/learning/InteractiveItemCard.js.map +1 -0
- package/dist/buildmyiq/pages/learning/InteractiveLayouts.d.ts +18 -0
- package/dist/buildmyiq/pages/learning/InteractiveLayouts.d.ts.map +1 -0
- package/dist/buildmyiq/pages/learning/InteractiveLayouts.js +198 -0
- package/dist/buildmyiq/pages/learning/InteractiveLayouts.js.map +1 -0
- package/dist/buildmyiq/pages/learning/interactiveState.d.ts +31 -0
- package/dist/buildmyiq/pages/learning/interactiveState.d.ts.map +1 -0
- package/dist/buildmyiq/pages/learning/interactiveState.js +55 -0
- package/dist/buildmyiq/pages/learning/interactiveState.js.map +1 -0
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.d.ts.map +1 -1
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.js +216 -190
- package/dist/buildmyiq/pages/migration/MigrationCenterPage.js.map +1 -1
- package/dist/buildmyiq/pages/xapi/LearningRecordStorePage.d.ts +3 -0
- package/dist/buildmyiq/pages/xapi/LearningRecordStorePage.d.ts.map +1 -0
- package/dist/buildmyiq/pages/xapi/LearningRecordStorePage.js +584 -0
- package/dist/buildmyiq/pages/xapi/LearningRecordStorePage.js.map +1 -0
- package/dist/buildmyiq/pages/xapi/xapiModel.d.ts +123 -0
- package/dist/buildmyiq/pages/xapi/xapiModel.d.ts.map +1 -0
- package/dist/buildmyiq/pages/xapi/xapiModel.js +72 -0
- package/dist/buildmyiq/pages/xapi/xapiModel.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoot.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoot.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoot.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAiChC,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,SAAS,CAAC;AAE3D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA0QhD,CAAC"}
|
|
@@ -7,241 +7,249 @@ import { QueryClient as s, QueryClientProvider as c } from "@tanstack/react-quer
|
|
|
7
7
|
import { FeatureFlagProvider as l } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
8
8
|
import { PermissionProvider as u } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
9
9
|
import { useI18n as d } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
10
|
-
import { ArrowRightLeft as f, Award as p, BookOpen as m, CheckSquare as h, ClipboardCheck as g,
|
|
11
|
-
import { jsx as
|
|
10
|
+
import { ArrowRightLeft as f, Award as p, BookOpen as m, CheckSquare as h, ClipboardCheck as g, Database as _, GraduationCap as v, LayoutDashboard as y, Library as b, LineChart as x, MessageSquareText as S, PencilRuler as C, Plug as w, Route as T, ShieldBan as E, ShieldCheck as D, Sparkles as O, Target as k, UserCog as A, Users as j, Workflow as M } from "lucide-react";
|
|
11
|
+
import { jsx as N } from "react/jsx-runtime";
|
|
12
12
|
//#region src/buildmyiq/BuildmyiqRoot.tsx
|
|
13
|
-
var
|
|
14
|
-
let
|
|
13
|
+
var P = (P) => {
|
|
14
|
+
let F = n(P), { registerNavItems: I, registerFooterItems: L, basePath: R = "/" } = F, z = !!F.authToken, B = o(() => ({
|
|
15
15
|
id: crypto.randomUUID(),
|
|
16
16
|
client: new s({ defaultOptions: { queries: {
|
|
17
17
|
staleTime: 300 * 1e3,
|
|
18
18
|
retry: 1,
|
|
19
19
|
refetchOnWindowFocus: !1,
|
|
20
|
-
enabled: !!(
|
|
20
|
+
enabled: !!(z && F.workspaceId && F.currentUser?.id),
|
|
21
21
|
meta: {
|
|
22
|
-
workspaceId:
|
|
23
|
-
actorId:
|
|
24
|
-
tenantId:
|
|
25
|
-
organizationId:
|
|
26
|
-
projectId:
|
|
27
|
-
gateway:
|
|
22
|
+
workspaceId: F.workspaceId,
|
|
23
|
+
actorId: F.currentUser?.id,
|
|
24
|
+
tenantId: F.tenantId,
|
|
25
|
+
organizationId: F.organizationId,
|
|
26
|
+
projectId: F.projectId,
|
|
27
|
+
gateway: F.apiGatewayUrl
|
|
28
28
|
}
|
|
29
29
|
} } })
|
|
30
30
|
}), [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
]), { t:
|
|
39
|
-
let n =
|
|
31
|
+
F.currentUser?.id,
|
|
32
|
+
z,
|
|
33
|
+
F.workspaceId,
|
|
34
|
+
F.tenantId,
|
|
35
|
+
F.organizationId,
|
|
36
|
+
F.projectId,
|
|
37
|
+
F.apiGatewayUrl
|
|
38
|
+
]), { t: V } = d(), H = i((e, t) => {
|
|
39
|
+
let n = V(e);
|
|
40
40
|
return n === e ? t : n;
|
|
41
|
-
}, [
|
|
41
|
+
}, [V]);
|
|
42
42
|
return a(() => {
|
|
43
|
-
if (!
|
|
43
|
+
if (!I) return;
|
|
44
44
|
let t = [
|
|
45
45
|
{
|
|
46
46
|
id: "buildmyiq-dashboard",
|
|
47
|
-
label:
|
|
48
|
-
path: e(
|
|
49
|
-
icon: /* @__PURE__ */
|
|
47
|
+
label: H("buildmyiq.nav.dashboard", "Dashboard"),
|
|
48
|
+
path: e(R, ""),
|
|
49
|
+
icon: /* @__PURE__ */ N(y, { size: 20 }),
|
|
50
50
|
order: 0,
|
|
51
51
|
group: "products"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
id: "buildmyiq-catalog",
|
|
55
|
-
label:
|
|
56
|
-
path: e(
|
|
57
|
-
icon: /* @__PURE__ */
|
|
55
|
+
label: H("buildmyiq.nav.catalog", "Catalog"),
|
|
56
|
+
path: e(R, "catalog"),
|
|
57
|
+
icon: /* @__PURE__ */ N(m, { size: 20 }),
|
|
58
58
|
order: 1,
|
|
59
59
|
group: "products"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
id: "buildmyiq-external-catalogs",
|
|
63
|
-
label:
|
|
64
|
-
path: e(
|
|
65
|
-
icon: /* @__PURE__ */
|
|
63
|
+
label: H("buildmyiq.nav.externalCatalogs", "External catalogs"),
|
|
64
|
+
path: e(R, "external-catalogs"),
|
|
65
|
+
icon: /* @__PURE__ */ N(m, { size: 20 }),
|
|
66
66
|
order: 1.5,
|
|
67
67
|
group: "products"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
id: "buildmyiq-learning",
|
|
71
|
-
label:
|
|
72
|
-
path: e(
|
|
73
|
-
icon: /* @__PURE__ */
|
|
71
|
+
label: H("buildmyiq.nav.learning", "My Learning"),
|
|
72
|
+
path: e(R, "learning"),
|
|
73
|
+
icon: /* @__PURE__ */ N(v, { size: 20 }),
|
|
74
74
|
order: 2,
|
|
75
75
|
group: "products"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
id: "buildmyiq-paths",
|
|
79
|
-
label:
|
|
80
|
-
path: e(
|
|
81
|
-
icon: /* @__PURE__ */
|
|
79
|
+
label: H("buildmyiq.nav.paths", "Journeys"),
|
|
80
|
+
path: e(R, "paths"),
|
|
81
|
+
icon: /* @__PURE__ */ N(T, { size: 20 }),
|
|
82
82
|
order: 2.5,
|
|
83
83
|
group: "products"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
id: "buildmyiq-authoring",
|
|
87
|
-
label:
|
|
88
|
-
path: e(
|
|
89
|
-
icon: /* @__PURE__ */
|
|
87
|
+
label: H("buildmyiq.nav.authoring", "Authoring"),
|
|
88
|
+
path: e(R, "authoring"),
|
|
89
|
+
icon: /* @__PURE__ */ N(C, { size: 20 }),
|
|
90
90
|
order: 3,
|
|
91
91
|
group: "products"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
id: "buildmyiq-repository",
|
|
95
|
-
label:
|
|
96
|
-
path: e(
|
|
97
|
-
icon: /* @__PURE__ */
|
|
95
|
+
label: H("buildmyiq.nav.repository", "Content repository"),
|
|
96
|
+
path: e(R, "repository"),
|
|
97
|
+
icon: /* @__PURE__ */ N(b, { size: 20 }),
|
|
98
98
|
order: 3.5,
|
|
99
99
|
group: "products"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
id: "buildmyiq-assessments",
|
|
103
|
-
label:
|
|
104
|
-
path: e(
|
|
105
|
-
icon: /* @__PURE__ */
|
|
103
|
+
label: H("buildmyiq.nav.assessments", "Assessments"),
|
|
104
|
+
path: e(R, "assessments"),
|
|
105
|
+
icon: /* @__PURE__ */ N(g, { size: 20 }),
|
|
106
106
|
order: 4,
|
|
107
107
|
group: "products"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
id: "buildmyiq-submissions",
|
|
111
|
-
label:
|
|
112
|
-
path: e(
|
|
113
|
-
icon: /* @__PURE__ */
|
|
111
|
+
label: H("buildmyiq.nav.submissions", "Grading"),
|
|
112
|
+
path: e(R, "submissions"),
|
|
113
|
+
icon: /* @__PURE__ */ N(h, { size: 20 }),
|
|
114
114
|
order: 5,
|
|
115
115
|
group: "products"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
id: "buildmyiq-proctoring",
|
|
119
|
-
label:
|
|
120
|
-
path: e(
|
|
121
|
-
icon: /* @__PURE__ */
|
|
119
|
+
label: H("buildmyiq.nav.proctoring", "Proctoring"),
|
|
120
|
+
path: e(R, "proctoring"),
|
|
121
|
+
icon: /* @__PURE__ */ N(D, { size: 20 }),
|
|
122
122
|
order: 5,
|
|
123
123
|
group: "products"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
id: "buildmyiq-tutor-review",
|
|
127
|
-
label:
|
|
128
|
-
path: e(
|
|
129
|
-
icon: /* @__PURE__ */
|
|
127
|
+
label: H("buildmyiq.nav.tutorReview", "Tutor Review"),
|
|
128
|
+
path: e(R, "tutor-review"),
|
|
129
|
+
icon: /* @__PURE__ */ N(S, { size: 20 }),
|
|
130
130
|
order: 5.5,
|
|
131
131
|
group: "products"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
id: "buildmyiq-cohorts",
|
|
135
|
-
label:
|
|
136
|
-
path: e(
|
|
137
|
-
icon: /* @__PURE__ */
|
|
135
|
+
label: H("buildmyiq.nav.cohorts", "Cohorts"),
|
|
136
|
+
path: e(R, "cohorts"),
|
|
137
|
+
icon: /* @__PURE__ */ N(j, { size: 20 }),
|
|
138
138
|
order: 6,
|
|
139
139
|
group: "products"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
id: "buildmyiq-skills",
|
|
143
|
-
label:
|
|
144
|
-
path: e(
|
|
145
|
-
icon: /* @__PURE__ */
|
|
143
|
+
label: H("buildmyiq.nav.skills", "Skills"),
|
|
144
|
+
path: e(R, "skills"),
|
|
145
|
+
icon: /* @__PURE__ */ N(k, { size: 20 }),
|
|
146
146
|
order: 7,
|
|
147
147
|
group: "products"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
id: "buildmyiq-certificates",
|
|
151
|
-
label:
|
|
152
|
-
path: e(
|
|
153
|
-
icon: /* @__PURE__ */
|
|
151
|
+
label: H("buildmyiq.nav.certificates", "Certificates"),
|
|
152
|
+
path: e(R, "certificates"),
|
|
153
|
+
icon: /* @__PURE__ */ N(p, { size: 20 }),
|
|
154
154
|
order: 8,
|
|
155
155
|
group: "products"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
id: "buildmyiq-insights",
|
|
159
|
-
label:
|
|
160
|
-
path: e(
|
|
161
|
-
icon: /* @__PURE__ */
|
|
159
|
+
label: H("buildmyiq.nav.insights", "Insights"),
|
|
160
|
+
path: e(R, "insights"),
|
|
161
|
+
icon: /* @__PURE__ */ N(x, { size: 20 }),
|
|
162
162
|
order: 9,
|
|
163
163
|
group: "products"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
id: "buildmyiq-admin-copilot",
|
|
167
|
-
label:
|
|
168
|
-
path: e(
|
|
169
|
-
icon: /* @__PURE__ */
|
|
167
|
+
label: H("buildmyiq.nav.adminCopilot", "Admin Copilot"),
|
|
168
|
+
path: e(R, "admin-copilot"),
|
|
169
|
+
icon: /* @__PURE__ */ N(O, { size: 20 }),
|
|
170
170
|
order: 10,
|
|
171
171
|
group: "products"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
id: "buildmyiq-integrations",
|
|
175
|
-
label:
|
|
176
|
-
path: e(
|
|
177
|
-
icon: /* @__PURE__ */
|
|
175
|
+
label: H("buildmyiq.nav.integrations", "LMS Integrations"),
|
|
176
|
+
path: e(R, "integrations"),
|
|
177
|
+
icon: /* @__PURE__ */ N(w, { size: 20 }),
|
|
178
178
|
order: 11,
|
|
179
179
|
group: "products"
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
id: "buildmyiq-learning-records",
|
|
183
|
+
label: H("buildmyiq.nav.learningRecords", "Learning Record Store"),
|
|
184
|
+
path: e(R, "learning-records"),
|
|
185
|
+
icon: /* @__PURE__ */ N(_, { size: 20 }),
|
|
186
|
+
order: 11.25,
|
|
187
|
+
group: "products"
|
|
188
|
+
},
|
|
181
189
|
{
|
|
182
190
|
id: "buildmyiq-migration",
|
|
183
|
-
label:
|
|
184
|
-
path: e(
|
|
185
|
-
icon: /* @__PURE__ */
|
|
191
|
+
label: H("buildmyiq.nav.migration", "Migration"),
|
|
192
|
+
path: e(R, "migration"),
|
|
193
|
+
icon: /* @__PURE__ */ N(f, { size: 20 }),
|
|
186
194
|
order: 11.5,
|
|
187
195
|
group: "products"
|
|
188
196
|
},
|
|
189
197
|
{
|
|
190
198
|
id: "buildmyiq-automations",
|
|
191
|
-
label:
|
|
192
|
-
path: e(
|
|
193
|
-
icon: /* @__PURE__ */ M
|
|
199
|
+
label: H("buildmyiq.nav.automations", "Automations"),
|
|
200
|
+
path: e(R, "automations"),
|
|
201
|
+
icon: /* @__PURE__ */ N(M, { size: 20 }),
|
|
194
202
|
order: 12,
|
|
195
203
|
group: "products"
|
|
196
204
|
},
|
|
197
205
|
{
|
|
198
206
|
id: "buildmyiq-ai-settings",
|
|
199
|
-
label:
|
|
200
|
-
path: e(
|
|
201
|
-
icon: /* @__PURE__ */
|
|
207
|
+
label: H("buildmyiq.nav.aiSettings", "AI settings"),
|
|
208
|
+
path: e(R, "ai-settings"),
|
|
209
|
+
icon: /* @__PURE__ */ N(E, { size: 20 }),
|
|
202
210
|
order: 13,
|
|
203
211
|
group: "products"
|
|
204
212
|
},
|
|
205
213
|
{
|
|
206
214
|
id: "buildmyiq-provisioning",
|
|
207
|
-
label:
|
|
208
|
-
path: e(
|
|
209
|
-
icon: /* @__PURE__ */
|
|
215
|
+
label: H("buildmyiq.nav.provisioning", "User provisioning"),
|
|
216
|
+
path: e(R, "provisioning"),
|
|
217
|
+
icon: /* @__PURE__ */ N(A, { size: 20 }),
|
|
210
218
|
order: 14,
|
|
211
219
|
group: "products"
|
|
212
220
|
}
|
|
213
221
|
];
|
|
214
|
-
return
|
|
222
|
+
return I(t);
|
|
215
223
|
}, [
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
I,
|
|
225
|
+
R,
|
|
226
|
+
H
|
|
219
227
|
]), a(() => {
|
|
220
|
-
if (
|
|
228
|
+
if (L) return L([{
|
|
221
229
|
id: "buildmyiq-status",
|
|
222
|
-
label:
|
|
230
|
+
label: H("buildmyiq.footer.ready", "BuildMyIQ Ready"),
|
|
223
231
|
type: "status",
|
|
224
232
|
section: "left",
|
|
225
233
|
order: 10
|
|
226
234
|
}]);
|
|
227
|
-
}, [
|
|
228
|
-
client:
|
|
229
|
-
children: /* @__PURE__ */
|
|
235
|
+
}, [L, H]), /* @__PURE__ */ N(c, {
|
|
236
|
+
client: B.client,
|
|
237
|
+
children: /* @__PURE__ */ N(l, {
|
|
230
238
|
workspaceId: null,
|
|
231
239
|
gateway: "global",
|
|
232
240
|
defaultEnabled: !0,
|
|
233
|
-
children: /* @__PURE__ */
|
|
234
|
-
scopeId:
|
|
241
|
+
children: /* @__PURE__ */ N(u, {
|
|
242
|
+
scopeId: F.workspaceId ?? null,
|
|
235
243
|
gateway: "workspace",
|
|
236
|
-
children: /* @__PURE__ */
|
|
237
|
-
...
|
|
238
|
-
children: /* @__PURE__ */
|
|
244
|
+
children: /* @__PURE__ */ N(t, {
|
|
245
|
+
...F,
|
|
246
|
+
children: /* @__PURE__ */ N(r, {})
|
|
239
247
|
})
|
|
240
248
|
})
|
|
241
249
|
})
|
|
242
|
-
},
|
|
250
|
+
}, B.id);
|
|
243
251
|
};
|
|
244
252
|
//#endregion
|
|
245
|
-
export {
|
|
253
|
+
export { P as BuildmyiqRoot };
|
|
246
254
|
|
|
247
255
|
//# 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, useMemo } 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 { useBuiShellProps } from './context/useBuiShellProps';\nimport { BuildmyiqRoutes } from './BuildmyiqRoutes';\nimport { joinPath } from './utils/navigation';\nimport type { BuildmyiqRootProps, NavItem } from './types';\n\nexport const BuildmyiqRoot: FC<BuildmyiqRootProps> = (input) => {\n const props = useBuiShellProps(input);\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n // Each identity/context receives an independent cache, including in-flight reads.\n const authenticated = Boolean(props.authToken);\n // Remount observers when identity changes; keep drafts during token refresh.\n const queryScope = useMemo(\n () => ({\n id: crypto.randomUUID(),\n client: new QueryClient({\n defaultOptions: {\n queries: {\n staleTime: 5 * 60 * 1000,\n retry: 1,\n refetchOnWindowFocus: false,\n enabled: Boolean(authenticated && props.workspaceId && props.currentUser?.id),\n meta: {\n workspaceId: props.workspaceId,\n actorId: props.currentUser?.id,\n tenantId: props.tenantId,\n organizationId: props.organizationId,\n projectId: props.projectId,\n gateway: props.apiGatewayUrl,\n },\n },\n },\n }),\n }),\n [\n props.currentUser?.id,\n authenticated,\n props.workspaceId,\n props.tenantId,\n props.organizationId,\n props.projectId,\n props.apiGatewayUrl,\n ]\n );\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-external-catalogs',\n label: t('buildmyiq.nav.externalCatalogs', 'External catalogs'),\n path: joinPath(basePath, 'external-catalogs'),\n icon: <BookOpen size={20} />,\n order: 1.5,\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 key={queryScope.id} client={queryScope.client}>\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":";;;;;;;;;;;;AA2CA,IAAa,KAAyC,MAAU;CAC9D,IAAM,IAAQ,EAAiB,CAAK,GAC9B,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAE5D,IAAgB,EAAQ,EAAM,WAE9B,IAAa,SACV;EACL,IAAI,OAAO,WAAW;EACtB,QAAQ,IAAI,EAAY,EACtB,gBAAgB,EACd,SAAS;GACP,WAAW,MAAS;GACpB,OAAO;GACP,sBAAsB;GACtB,SAAS,GAAQ,KAAiB,EAAM,eAAe,EAAM,aAAa;GAC1E,MAAM;IACJ,aAAa,EAAM;IACnB,SAAS,EAAM,aAAa;IAC5B,UAAU,EAAM;IAChB,gBAAgB,E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;EAEA,OAAO,EAAiB,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;EAAyC,QAAQ,EAAW;YAC1D,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,GAfK,EAAW,EAehB;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, useMemo } 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 Database,\n ShieldCheck,\n Workflow,\n MessageSquareText,\n ShieldBan,\n UserCog,\n} from 'lucide-react';\nimport { BuildmyiqProvider } from './context/BuildmyiqContext';\nimport { useBuiShellProps } from './context/useBuiShellProps';\nimport { BuildmyiqRoutes } from './BuildmyiqRoutes';\nimport { joinPath } from './utils/navigation';\nimport type { BuildmyiqRootProps, NavItem } from './types';\n\nexport const BuildmyiqRoot: FC<BuildmyiqRootProps> = (input) => {\n const props = useBuiShellProps(input);\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n // Each identity/context receives an independent cache, including in-flight reads.\n const authenticated = Boolean(props.authToken);\n // Remount observers when identity changes; keep drafts during token refresh.\n const queryScope = useMemo(\n () => ({\n id: crypto.randomUUID(),\n client: new QueryClient({\n defaultOptions: {\n queries: {\n staleTime: 5 * 60 * 1000,\n retry: 1,\n refetchOnWindowFocus: false,\n enabled: Boolean(authenticated && props.workspaceId && props.currentUser?.id),\n meta: {\n workspaceId: props.workspaceId,\n actorId: props.currentUser?.id,\n tenantId: props.tenantId,\n organizationId: props.organizationId,\n projectId: props.projectId,\n gateway: props.apiGatewayUrl,\n },\n },\n },\n }),\n }),\n [\n props.currentUser?.id,\n authenticated,\n props.workspaceId,\n props.tenantId,\n props.organizationId,\n props.projectId,\n props.apiGatewayUrl,\n ]\n );\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-external-catalogs',\n label: t('buildmyiq.nav.externalCatalogs', 'External catalogs'),\n path: joinPath(basePath, 'external-catalogs'),\n icon: <BookOpen size={20} />,\n order: 1.5,\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-learning-records',\n label: t('buildmyiq.nav.learningRecords', 'Learning Record Store'),\n path: joinPath(basePath, 'learning-records'),\n icon: <Database size={20} />,\n order: 11.25,\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 key={queryScope.id} client={queryScope.client}>\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":";;;;;;;;;;;;AA4CA,IAAa,KAAyC,MAAU;CAC9D,IAAM,IAAQ,EAAiB,CAAK,GAC9B,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAE5D,IAAgB,EAAQ,EAAM,WAE9B,IAAa,SACV;EACL,IAAI,OAAO,WAAW;EACtB,QAAQ,IAAI,EAAY,EACtB,gBAAgB,EACd,SAAS;GACP,WAAW,MAAS;GACpB,OAAO;GACP,sBAAsB;GACtB,SAAS,GAAQ,KAAiB,EAAM,eAAe,EAAM,aAAa;GAC1E,MAAM;IACJ,aAAa,EAAM;IACnB,SAAS,EAAM,aAAa;IAC5B,UAAU,EAAM;IAChB,gBAAgB,EAAM;IACtB,WAAW,EAAM;IACjB,SAAS,EAAM;GACjB;EACF,EACF,EACF,CAAC;CACH,IACA;EACE,EAAM,aAAa;EACnB;EACA,EAAM;EACN,EAAM;EACN,EAA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IAC1B,OAAO;IACP,OAAO;GACT;EACF;EAEA,OAAO,EAAiB,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;EAAyC,QAAQ,EAAW;YAC1D,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,GAfK,EAAW,EAehB;AAEzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildmyiqRoutes.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAc,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BuildmyiqRoutes.d.ts","sourceRoot":"","sources":["../../src/buildmyiq/BuildmyiqRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAc,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAuKvD,eAAO,MAAM,eAAe,EAAE,EAkH7B,CAAC"}
|
|
@@ -8,142 +8,146 @@ 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/ExternalCatalogPage.js").then((e) => ({ default: e.ExternalCatalogPage }))), h = i(() => import("./pages/catalog/CourseDetailPage.js").then((e) => ({ default: e.CourseDetailPage }))), g = i(() => import("./pages/learning/MyLearningPage.js").then((e) => ({ default: e.MyLearningPage }))), _ = i(() => import("./pages/learning/LessonPlayerPage.js").then((e) => ({ default: e.LessonPlayerPage }))), v = i(() => import("./pages/authoring/AuthoringPage.js").then((e) => ({ default: e.AuthoringPage }))), y = i(() => import("./pages/authoring/CourseBuilderPage.js").then((e) => ({ default: e.CourseBuilderPage }))), b = i(() => import("./pages/repository/RepositoryPage.js").then((e) => ({ default: e.RepositoryPage }))), x = i(() => import("./pages/assessments/AssessmentsPage.js").then((e) => ({ default: e.AssessmentsPage }))), S = i(() => import("./pages/assessments/AssessmentDetailPage.js").then((e) => ({ default: e.AssessmentDetailPage }))), C = i(() => import("./pages/assessments/TakeAssessmentPage.js").then((e) => ({ default: e.TakeAssessmentPage }))), w = i(() => import("./pages/insights/InsightsPage.js").then((e) => ({ default: e.InsightsPage }))), T = i(() => import("./pages/paths/PathsPage.js").then((e) => ({ default: e.PathsPage }))), E = i(() => import("./pages/submissions/SubmissionsPage.js").then((e) => ({ default: e.SubmissionsPage }))), D = i(() => import("./pages/submissions/BulkGradingPage.js").then((e) => ({ default: e.BulkGradingPage }))), O = i(() => import("./pages/proctoring/ProctoringReviewPage.js").then((e) => ({ default: e.ProctoringReviewPage }))), k = i(() => import("./pages/tutorReview/TutorReviewPage.js").then((e) => ({ default: e.TutorReviewPage }))), A = i(() => import("./pages/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), j = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), M = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), N = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), P = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), F = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), I = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), L = i(() => import("./pages/aiSettings/AiSettingsPage.js").then((e) => ({ default: e.AiSettingsPage }))), R = i(() => import("./pages/provisioning/ProvisioningPage.js").then((e) => ({ default: e.ProvisioningPage }))), z = i(() => import("./pages/migration/MigrationCenterPage.js").then((e) => ({ default: e.MigrationCenterPage }))),
|
|
11
|
+
var p = i(() => import("./pages/catalog/CatalogPage.js").then((e) => ({ default: e.CatalogPage }))), m = i(() => import("./pages/catalog/ExternalCatalogPage.js").then((e) => ({ default: e.ExternalCatalogPage }))), h = i(() => import("./pages/catalog/CourseDetailPage.js").then((e) => ({ default: e.CourseDetailPage }))), g = i(() => import("./pages/learning/MyLearningPage.js").then((e) => ({ default: e.MyLearningPage }))), _ = i(() => import("./pages/learning/LessonPlayerPage.js").then((e) => ({ default: e.LessonPlayerPage }))), v = i(() => import("./pages/authoring/AuthoringPage.js").then((e) => ({ default: e.AuthoringPage }))), y = i(() => import("./pages/authoring/CourseBuilderPage.js").then((e) => ({ default: e.CourseBuilderPage }))), b = i(() => import("./pages/repository/RepositoryPage.js").then((e) => ({ default: e.RepositoryPage }))), x = i(() => import("./pages/assessments/AssessmentsPage.js").then((e) => ({ default: e.AssessmentsPage }))), S = i(() => import("./pages/assessments/AssessmentDetailPage.js").then((e) => ({ default: e.AssessmentDetailPage }))), C = i(() => import("./pages/assessments/TakeAssessmentPage.js").then((e) => ({ default: e.TakeAssessmentPage }))), w = i(() => import("./pages/insights/InsightsPage.js").then((e) => ({ default: e.InsightsPage }))), T = i(() => import("./pages/paths/PathsPage.js").then((e) => ({ default: e.PathsPage }))), E = i(() => import("./pages/submissions/SubmissionsPage.js").then((e) => ({ default: e.SubmissionsPage }))), D = i(() => import("./pages/submissions/BulkGradingPage.js").then((e) => ({ default: e.BulkGradingPage }))), O = i(() => import("./pages/proctoring/ProctoringReviewPage.js").then((e) => ({ default: e.ProctoringReviewPage }))), k = i(() => import("./pages/tutorReview/TutorReviewPage.js").then((e) => ({ default: e.TutorReviewPage }))), A = i(() => import("./pages/cohorts/CohortsPage.js").then((e) => ({ default: e.CohortsPage }))), j = i(() => import("./pages/skills/SkillsPage.js").then((e) => ({ default: e.SkillsPage }))), M = i(() => import("./pages/certificates/CertificatesPage.js").then((e) => ({ default: e.CertificatesPage }))), N = i(() => import("./pages/copilot/AdminCopilotPage.js").then((e) => ({ default: e.AdminCopilotPage }))), P = i(() => import("./pages/lti/LtiLaunchPage.js").then((e) => ({ default: e.LtiLaunchPage }))), F = i(() => import("./pages/integrations/LtiPlatformsPage.js").then((e) => ({ default: e.LtiPlatformsPage }))), I = i(() => import("./pages/automations/AutomationsPage.js").then((e) => ({ default: e.AutomationsPage }))), L = i(() => import("./pages/aiSettings/AiSettingsPage.js").then((e) => ({ default: e.AiSettingsPage }))), R = i(() => import("./pages/provisioning/ProvisioningPage.js").then((e) => ({ default: e.ProvisioningPage }))), z = i(() => import("./pages/xapi/LearningRecordStorePage.js").then((e) => ({ default: e.LearningRecordStorePage }))), B = i(() => import("./pages/migration/MigrationCenterPage.js").then((e) => ({ default: e.MigrationCenterPage }))), V = () => /* @__PURE__ */ u("div", {
|
|
12
12
|
className: "flex min-h-[400px] items-center justify-center",
|
|
13
13
|
children: /* @__PURE__ */ u(f, { size: "lg" })
|
|
14
14
|
});
|
|
15
|
-
function
|
|
15
|
+
function H() {
|
|
16
16
|
return /* @__PURE__ */ u("div", {
|
|
17
17
|
className: "flex h-full min-h-[200px] items-center justify-center text-sm text-text-secondary",
|
|
18
18
|
children: t()("buildmyiq.pages.featureDisabled", "This feature is currently disabled. You can enable it from Feature Previews.")
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function U(e, t, n = !0) {
|
|
22
22
|
return /* @__PURE__ */ u(a, {
|
|
23
23
|
flag: e,
|
|
24
24
|
defaultValue: n,
|
|
25
|
-
fallback: /* @__PURE__ */ u(
|
|
25
|
+
fallback: /* @__PURE__ */ u(H, {}),
|
|
26
26
|
children: t
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var W = () => {
|
|
30
30
|
let { basePath: t, isStandalone: i } = e(), a = l(), f = t === "/" ? "" : (t ?? "").replace(/\/$/, "");
|
|
31
31
|
return f && !i && !(a.pathname === f || a.pathname.startsWith(f + "/")) ? null : /* @__PURE__ */ u("div", {
|
|
32
32
|
className: "flex min-h-full flex-col",
|
|
33
33
|
children: /* @__PURE__ */ u(r, {
|
|
34
|
-
fallback: /* @__PURE__ */ u(
|
|
34
|
+
fallback: /* @__PURE__ */ u(V, {}),
|
|
35
35
|
children: /* @__PURE__ */ d(c, { children: [
|
|
36
36
|
/* @__PURE__ */ u(s, {
|
|
37
37
|
index: !0,
|
|
38
|
-
element:
|
|
38
|
+
element: U("buildmyiq.overview", /* @__PURE__ */ u(n, {}))
|
|
39
39
|
}),
|
|
40
40
|
/* @__PURE__ */ u(s, {
|
|
41
41
|
path: "catalog",
|
|
42
|
-
element:
|
|
42
|
+
element: U("buildmyiq.catalog", /* @__PURE__ */ u(p, {}))
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ u(s, {
|
|
45
45
|
path: "external-catalogs",
|
|
46
|
-
element:
|
|
46
|
+
element: U("buildmyiq.catalog", /* @__PURE__ */ u(m, {}))
|
|
47
47
|
}),
|
|
48
48
|
/* @__PURE__ */ u(s, {
|
|
49
49
|
path: "catalog/:courseId",
|
|
50
|
-
element:
|
|
50
|
+
element: U("buildmyiq.catalog", /* @__PURE__ */ u(h, {}))
|
|
51
51
|
}),
|
|
52
52
|
/* @__PURE__ */ u(s, {
|
|
53
53
|
path: "learning",
|
|
54
|
-
element:
|
|
54
|
+
element: U("buildmyiq.learning", /* @__PURE__ */ u(g, {}))
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ u(s, {
|
|
57
57
|
path: "learning/:enrollmentId",
|
|
58
|
-
element:
|
|
58
|
+
element: U("buildmyiq.learning", /* @__PURE__ */ u(_, {}))
|
|
59
59
|
}),
|
|
60
60
|
/* @__PURE__ */ u(s, {
|
|
61
61
|
path: "paths",
|
|
62
|
-
element:
|
|
62
|
+
element: U("buildmyiq.paths", /* @__PURE__ */ u(T, {}))
|
|
63
63
|
}),
|
|
64
64
|
/* @__PURE__ */ u(s, {
|
|
65
65
|
path: "authoring",
|
|
66
|
-
element:
|
|
66
|
+
element: U("buildmyiq.authoring", /* @__PURE__ */ u(v, {}))
|
|
67
67
|
}),
|
|
68
68
|
/* @__PURE__ */ u(s, {
|
|
69
69
|
path: "authoring/:courseId",
|
|
70
|
-
element:
|
|
70
|
+
element: U("buildmyiq.authoring", /* @__PURE__ */ u(y, {}))
|
|
71
71
|
}),
|
|
72
72
|
/* @__PURE__ */ u(s, {
|
|
73
73
|
path: "repository",
|
|
74
|
-
element:
|
|
74
|
+
element: U("buildmyiq.authoring", /* @__PURE__ */ u(b, {}))
|
|
75
75
|
}),
|
|
76
76
|
/* @__PURE__ */ u(s, {
|
|
77
77
|
path: "assessments",
|
|
78
|
-
element:
|
|
78
|
+
element: U("buildmyiq.assessments", /* @__PURE__ */ u(x, {}))
|
|
79
79
|
}),
|
|
80
80
|
/* @__PURE__ */ u(s, {
|
|
81
81
|
path: "assessments/:assessmentId",
|
|
82
|
-
element:
|
|
82
|
+
element: U("buildmyiq.assessments", /* @__PURE__ */ u(S, {}))
|
|
83
83
|
}),
|
|
84
84
|
/* @__PURE__ */ u(s, {
|
|
85
85
|
path: "assessments/:assessmentId/take",
|
|
86
|
-
element:
|
|
86
|
+
element: U("buildmyiq.assessments", /* @__PURE__ */ u(C, {}))
|
|
87
87
|
}),
|
|
88
88
|
/* @__PURE__ */ u(s, {
|
|
89
89
|
path: "insights",
|
|
90
|
-
element:
|
|
90
|
+
element: U("buildmyiq.insights", /* @__PURE__ */ u(w, {}))
|
|
91
91
|
}),
|
|
92
92
|
/* @__PURE__ */ u(s, {
|
|
93
93
|
path: "submissions",
|
|
94
|
-
element:
|
|
94
|
+
element: U("buildmyiq.submissions", /* @__PURE__ */ u(E, {}))
|
|
95
95
|
}),
|
|
96
96
|
/* @__PURE__ */ u(s, {
|
|
97
97
|
path: "submissions/bulk",
|
|
98
|
-
element:
|
|
98
|
+
element: U("buildmyiq.submissions", /* @__PURE__ */ u(D, {}))
|
|
99
99
|
}),
|
|
100
100
|
/* @__PURE__ */ u(s, {
|
|
101
101
|
path: "submissions/:submissionId",
|
|
102
|
-
element:
|
|
102
|
+
element: U("buildmyiq.submissions", /* @__PURE__ */ u(E, {}))
|
|
103
103
|
}),
|
|
104
104
|
/* @__PURE__ */ u(s, {
|
|
105
105
|
path: "proctoring",
|
|
106
|
-
element:
|
|
106
|
+
element: U("buildmyiq.proctoring", /* @__PURE__ */ u(O, {}))
|
|
107
107
|
}),
|
|
108
108
|
/* @__PURE__ */ u(s, {
|
|
109
109
|
path: "tutor-review",
|
|
110
|
-
element:
|
|
110
|
+
element: U("buildmyiq.tutor-review", /* @__PURE__ */ u(k, {}))
|
|
111
111
|
}),
|
|
112
112
|
/* @__PURE__ */ u(s, {
|
|
113
113
|
path: "cohorts",
|
|
114
|
-
element:
|
|
114
|
+
element: U("buildmyiq.cohorts", /* @__PURE__ */ u(A, {}))
|
|
115
115
|
}),
|
|
116
116
|
/* @__PURE__ */ u(s, {
|
|
117
117
|
path: "skills",
|
|
118
|
-
element:
|
|
118
|
+
element: U("buildmyiq.skills", /* @__PURE__ */ u(j, {}))
|
|
119
119
|
}),
|
|
120
120
|
/* @__PURE__ */ u(s, {
|
|
121
121
|
path: "certificates",
|
|
122
|
-
element:
|
|
122
|
+
element: U("buildmyiq.certificates", /* @__PURE__ */ u(M, {}))
|
|
123
123
|
}),
|
|
124
124
|
/* @__PURE__ */ u(s, {
|
|
125
125
|
path: "admin-copilot",
|
|
126
|
-
element:
|
|
126
|
+
element: U("buildmyiq.admin-copilot", /* @__PURE__ */ u(N, {}))
|
|
127
127
|
}),
|
|
128
128
|
/* @__PURE__ */ u(s, {
|
|
129
129
|
path: "integrations",
|
|
130
|
-
element:
|
|
130
|
+
element: U("buildmyiq.integrations", /* @__PURE__ */ u(F, {}))
|
|
131
|
+
}),
|
|
132
|
+
/* @__PURE__ */ u(s, {
|
|
133
|
+
path: "learning-records",
|
|
134
|
+
element: U("buildmyiq.integrations", /* @__PURE__ */ u(z, {}))
|
|
131
135
|
}),
|
|
132
136
|
/* @__PURE__ */ u(s, {
|
|
133
137
|
path: "migration",
|
|
134
|
-
element:
|
|
138
|
+
element: U("buildmyiq.migration", /* @__PURE__ */ u(B, {}))
|
|
135
139
|
}),
|
|
136
140
|
/* @__PURE__ */ u(s, {
|
|
137
141
|
path: "automations",
|
|
138
|
-
element:
|
|
142
|
+
element: U("buildmyiq.automations", /* @__PURE__ */ u(I, {}))
|
|
139
143
|
}),
|
|
140
144
|
/* @__PURE__ */ u(s, {
|
|
141
145
|
path: "ai-settings",
|
|
142
|
-
element:
|
|
146
|
+
element: U("buildmyiq.ai-settings", /* @__PURE__ */ u(L, {}))
|
|
143
147
|
}),
|
|
144
148
|
/* @__PURE__ */ u(s, {
|
|
145
149
|
path: "provisioning",
|
|
146
|
-
element:
|
|
150
|
+
element: U("buildmyiq.provisioning", /* @__PURE__ */ u(R, {}))
|
|
147
151
|
}),
|
|
148
152
|
/* @__PURE__ */ u(s, {
|
|
149
153
|
path: "lti/launch/:ticketId",
|
|
@@ -161,6 +165,6 @@ var U = () => {
|
|
|
161
165
|
});
|
|
162
166
|
};
|
|
163
167
|
//#endregion
|
|
164
|
-
export {
|
|
168
|
+
export { W as BuildmyiqRoutes };
|
|
165
169
|
|
|
166
170
|
//# sourceMappingURL=BuildmyiqRoutes.js.map
|