@burdenoff/microfe-buildmyiq 2026.1102.3 → 2026.1102.4
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/hooks/index.d.ts +1 -0
- package/dist/buildmyiq/hooks/index.d.ts.map +1 -1
- package/dist/buildmyiq/hooks/index.js +1 -0
- package/dist/buildmyiq/hooks/useBuiInteractive.d.ts +139 -0
- package/dist/buildmyiq/hooks/useBuiInteractive.d.ts.map +1 -0
- package/dist/buildmyiq/hooks/useBuiInteractive.js +104 -0
- package/dist/buildmyiq/hooks/useBuiInteractive.js.map +1 -0
- package/dist/buildmyiq/pages/authoring/CourseBuilderPage.d.ts.map +1 -1
- package/dist/buildmyiq/pages/authoring/CourseBuilderPage.js +69 -53
- package/dist/buildmyiq/pages/authoring/CourseBuilderPage.js.map +1 -1
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.d.ts +7 -0
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.d.ts.map +1 -0
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.js +237 -0
- package/dist/buildmyiq/pages/authoring/InteractivePackageModal.js.map +1 -0
- package/dist/buildmyiq/pages/learning/InteractiveActivity.d.ts +22 -0
- package/dist/buildmyiq/pages/learning/InteractiveActivity.d.ts.map +1 -0
- package/dist/buildmyiq/pages/learning/InteractiveActivity.js +259 -0
- package/dist/buildmyiq/pages/learning/InteractiveActivity.js.map +1 -0
- package/dist/buildmyiq/pages/learning/LessonPlayerPage.d.ts.map +1 -1
- package/dist/buildmyiq/pages/learning/LessonPlayerPage.js +125 -96
- package/dist/buildmyiq/pages/learning/LessonPlayerPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -20,21 +20,22 @@ import { Field as D, Modal as O, NO_SKILL as k, SelectField as A } from "./_form
|
|
|
20
20
|
import { COURSE_LEVELS as ee, LESSON_TYPES as te } from "../../types/index.js";
|
|
21
21
|
import { CourseAccessibilityTab as ne } from "./CourseAccessibilityTab.js";
|
|
22
22
|
import { CourseAssistantSettingsPanel as re } from "./CourseAssistantSettingsPanel.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
23
|
+
import { InteractivePackageModal as ie } from "./InteractivePackageModal.js";
|
|
24
|
+
import { canPublishVersion as j, sourceBadge as ae } from "../repository/repositoryModel.js";
|
|
25
|
+
import { InsertFromRepositoryDialog as M, PublishVersionDialog as oe, SaveToRepositoryDialog as se } from "../repository/RepositoryDialogs.js";
|
|
25
26
|
import { useState as N } from "react";
|
|
26
|
-
import { Accessibility as
|
|
27
|
-
import { useParams as
|
|
27
|
+
import { Accessibility as ce, Archive as le, ArrowLeft as ue, BarChart3 as de, BookOpen as fe, Calendar as pe, ClipboardList as me, Clock as P, CopyPlus as F, Eye as he, FileText as I, Globe as ge, History as _e, Image as ve, Library as L, Link2 as ye, ListChecks as R, MessageSquare as z, MousePointerClick as B, PlayCircle as be, Plus as V, Radio as H, Send as xe } from "lucide-react";
|
|
28
|
+
import { useParams as Se } from "react-router";
|
|
28
29
|
import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
|
|
29
30
|
import { Button as K, GlassCard as q, Input as J, Textarea as Y } from "@burdenoff/fe-libs/ui";
|
|
30
31
|
//#region src/buildmyiq/pages/authoring/CourseBuilderPage.tsx
|
|
31
32
|
var X = ({ source: e }) => {
|
|
32
|
-
let n =
|
|
33
|
+
let n = ae(e);
|
|
33
34
|
return n ? /* @__PURE__ */ G("span", {
|
|
34
35
|
title: e ? `From repository item “${e.title}”` : void 0,
|
|
35
36
|
className: t("inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium", n.tone === "warning" ? "bg-status-warning-bg-subtle text-status-warning-text" : "bg-bg-sunken text-text-secondary"),
|
|
36
37
|
children: [
|
|
37
|
-
/* @__PURE__ */ W(
|
|
38
|
+
/* @__PURE__ */ W(L, {
|
|
38
39
|
className: "h-3 w-3",
|
|
39
40
|
"aria-hidden": "true"
|
|
40
41
|
}),
|
|
@@ -54,44 +55,44 @@ var X = ({ source: e }) => {
|
|
|
54
55
|
n.stopPropagation(), t(e);
|
|
55
56
|
},
|
|
56
57
|
"aria-label": j(e.source) ? `Publish “${e.title}” as a new repository version` : `Save “${e.title}” to the repository`,
|
|
57
|
-
children: j(e.source) ? /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W(
|
|
58
|
+
children: j(e.source) ? /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W(_e, { className: "me-1.5 h-4 w-4" }), " Publish version"] }) : /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W(L, { className: "me-1.5 h-4 w-4" }), " Save to repository"] })
|
|
58
59
|
})
|
|
59
|
-
}), Q = ({ target: e, courseId: t, onClose: n }) => e.source && j(e.source) ? /* @__PURE__ */ W(
|
|
60
|
+
}), Q = ({ target: e, courseId: t, onClose: n }) => e.source && j(e.source) ? /* @__PURE__ */ W(oe, {
|
|
60
61
|
entityId: e.entityId,
|
|
61
62
|
courseId: t,
|
|
62
63
|
source: e.source,
|
|
63
64
|
onClose: n
|
|
64
|
-
}) : /* @__PURE__ */ W(
|
|
65
|
+
}) : /* @__PURE__ */ W(se, {
|
|
65
66
|
kind: e.kind,
|
|
66
67
|
entityId: e.entityId,
|
|
67
68
|
defaultTitle: e.title,
|
|
68
69
|
onClose: n
|
|
69
|
-
}),
|
|
70
|
+
}), Ce = {
|
|
70
71
|
ARTICLE: {
|
|
71
|
-
icon:
|
|
72
|
+
icon: I,
|
|
72
73
|
tint: "bg-bg-sunken text-text-secondary"
|
|
73
74
|
},
|
|
74
75
|
VIDEO: {
|
|
75
|
-
icon:
|
|
76
|
+
icon: be,
|
|
76
77
|
tint: "bg-[var(--color-accent-soft)] text-text-primary"
|
|
77
78
|
},
|
|
78
79
|
QUIZ: {
|
|
79
|
-
icon:
|
|
80
|
+
icon: R,
|
|
80
81
|
tint: "bg-status-warning-bg-subtle text-status-warning-text"
|
|
81
82
|
},
|
|
82
83
|
ASSIGNMENT: {
|
|
83
|
-
icon:
|
|
84
|
+
icon: me,
|
|
84
85
|
tint: "bg-status-success-bg-subtle text-status-success-text"
|
|
85
86
|
},
|
|
86
87
|
INTERACTIVE: {
|
|
87
|
-
icon:
|
|
88
|
+
icon: B,
|
|
88
89
|
tint: "bg-[color-mix(in_srgb,var(--color-accent-teal)_18%,transparent)] text-[var(--color-accent-teal)]"
|
|
89
90
|
},
|
|
90
91
|
LIVE_SESSION: {
|
|
91
|
-
icon:
|
|
92
|
+
icon: H,
|
|
92
93
|
tint: "bg-[color-mix(in_srgb,var(--color-accent-primary)_16%,transparent)] text-[var(--color-accent-primary)]"
|
|
93
94
|
}
|
|
94
|
-
},
|
|
95
|
+
}, we = ({ course: e }) => {
|
|
95
96
|
let t = b(), n = y(), r = n.data ?? [], [i, o] = N(e.title), [s, c] = N(e.summary ?? ""), [l, d] = N(e.description ?? ""), [f, p] = N(e.level), [m, h] = N(e.language), [g, _] = N(String(e.estimatedHours ?? 0)), [v, x] = N(e.skillId ?? "__none__"), [S, C] = N(e.isPublic), [T, O] = N(null);
|
|
96
97
|
return /* @__PURE__ */ W("div", {
|
|
97
98
|
className: "mx-auto max-w-3xl",
|
|
@@ -238,7 +239,7 @@ var X = ({ source: e }) => {
|
|
|
238
239
|
})
|
|
239
240
|
})
|
|
240
241
|
});
|
|
241
|
-
},
|
|
242
|
+
}, Te = ({ courseId: e, position: t, onClose: n }) => {
|
|
242
243
|
let r = g(), [i, a] = N(""), [o, s] = N(""), [c, l] = N(null), u = i.trim().length > 0 && !r.isPending;
|
|
243
244
|
return /* @__PURE__ */ W(O, {
|
|
244
245
|
open: !0,
|
|
@@ -300,7 +301,7 @@ var X = ({ source: e }) => {
|
|
|
300
301
|
]
|
|
301
302
|
})
|
|
302
303
|
});
|
|
303
|
-
},
|
|
304
|
+
}, Ee = ({ courseId: e, moduleId: t, position: n, onClose: r }) => {
|
|
304
305
|
let i = h(), [o, s] = N(""), [c, l] = N("ARTICLE"), [u, d] = N(""), [f, p] = N(""), [m, g] = N(!1), [_, v] = N(null), [y, b] = N(null), x = o.trim().length > 0 && !i.isPending;
|
|
305
306
|
return /* @__PURE__ */ W(O, {
|
|
306
307
|
open: !0,
|
|
@@ -404,6 +405,10 @@ var X = ({ source: e }) => {
|
|
|
404
405
|
onChange: v,
|
|
405
406
|
hint: "Attach a video, audio file or PDF for this lesson."
|
|
406
407
|
}),
|
|
408
|
+
c === "INTERACTIVE" && /* @__PURE__ */ W("p", {
|
|
409
|
+
className: "text-xs text-text-secondary",
|
|
410
|
+
children: "After adding the lesson, use its H5P button to upload an .h5p package (Multiple Choice, True/False, Fill in the Blanks or Question Set)."
|
|
411
|
+
}),
|
|
407
412
|
/* @__PURE__ */ G("label", {
|
|
408
413
|
className: "inline-flex cursor-pointer items-center gap-2 text-sm text-text-secondary",
|
|
409
414
|
children: [/* @__PURE__ */ W(E, {
|
|
@@ -419,8 +424,8 @@ var X = ({ source: e }) => {
|
|
|
419
424
|
]
|
|
420
425
|
})
|
|
421
426
|
});
|
|
422
|
-
},
|
|
423
|
-
let o =
|
|
427
|
+
}, De = ({ lesson: e, source: n, onRepository: r }) => {
|
|
428
|
+
let o = Ce[e.type], s = o.icon, [c, l] = N(!1);
|
|
424
429
|
return /* @__PURE__ */ G("li", {
|
|
425
430
|
className: "flex flex-wrap items-center gap-x-3 gap-y-2 rounded-lg border border-border-seam bg-bg-surface px-3 py-2.5",
|
|
426
431
|
children: [
|
|
@@ -445,7 +450,7 @@ var X = ({ source: e }) => {
|
|
|
445
450
|
e.durationMin > 0 && /* @__PURE__ */ G("span", {
|
|
446
451
|
className: "inline-flex shrink-0 items-center gap-1 text-xs text-text-secondary",
|
|
447
452
|
children: [
|
|
448
|
-
/* @__PURE__ */ W(
|
|
453
|
+
/* @__PURE__ */ W(P, { className: "h-3.5 w-3.5" }),
|
|
449
454
|
" ",
|
|
450
455
|
i(e.durationMin)
|
|
451
456
|
]
|
|
@@ -454,6 +459,17 @@ var X = ({ source: e }) => {
|
|
|
454
459
|
className: "shrink-0 rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-text-primary",
|
|
455
460
|
children: "Preview"
|
|
456
461
|
}),
|
|
462
|
+
e.type === "INTERACTIVE" && /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ G(K, {
|
|
463
|
+
variant: "outline",
|
|
464
|
+
size: "sm",
|
|
465
|
+
className: "shrink-0",
|
|
466
|
+
onClick: () => l(!0),
|
|
467
|
+
"aria-label": `H5P package for ${e.title}`,
|
|
468
|
+
children: [/* @__PURE__ */ W(B, { className: "me-1 h-3.5 w-3.5" }), "H5P"]
|
|
469
|
+
}), c && /* @__PURE__ */ W(ie, {
|
|
470
|
+
lesson: e,
|
|
471
|
+
onClose: () => l(!1)
|
|
472
|
+
})] }),
|
|
457
473
|
/* @__PURE__ */ W(X, { source: n }),
|
|
458
474
|
/* @__PURE__ */ W(Z, {
|
|
459
475
|
target: {
|
|
@@ -468,7 +484,7 @@ var X = ({ source: e }) => {
|
|
|
468
484
|
})
|
|
469
485
|
]
|
|
470
486
|
});
|
|
471
|
-
},
|
|
487
|
+
}, Oe = ({ module: e, index: t, onAddLesson: n, onInsertLesson: r, sources: a, onRepository: o }) => {
|
|
472
488
|
let s = [...e.lessons ?? []].sort((e, t) => e.position - t.position), c = s.reduce((e, t) => e + (t.durationMin || 0), 0);
|
|
473
489
|
return /* @__PURE__ */ G(q, {
|
|
474
490
|
treatment: "plain",
|
|
@@ -513,7 +529,7 @@ var X = ({ source: e }) => {
|
|
|
513
529
|
size: "sm",
|
|
514
530
|
onClick: r,
|
|
515
531
|
className: "shrink-0",
|
|
516
|
-
children: [/* @__PURE__ */ W(
|
|
532
|
+
children: [/* @__PURE__ */ W(F, { className: "me-1.5 h-4 w-4" }), " From repository"]
|
|
517
533
|
})
|
|
518
534
|
}),
|
|
519
535
|
/* @__PURE__ */ W(w, {
|
|
@@ -548,7 +564,7 @@ var X = ({ source: e }) => {
|
|
|
548
564
|
})
|
|
549
565
|
}) : /* @__PURE__ */ W("ul", {
|
|
550
566
|
className: "flex flex-col gap-2",
|
|
551
|
-
children: s.map((e) => /* @__PURE__ */ W(
|
|
567
|
+
children: s.map((e) => /* @__PURE__ */ W(De, {
|
|
552
568
|
lesson: e,
|
|
553
569
|
source: a.get(e.id) ?? null,
|
|
554
570
|
onRepository: o
|
|
@@ -574,7 +590,7 @@ var X = ({ source: e }) => {
|
|
|
574
590
|
children: n
|
|
575
591
|
})
|
|
576
592
|
]
|
|
577
|
-
}),
|
|
593
|
+
}), ke = ({ course: e }) => {
|
|
578
594
|
let t = e.id, n = _(t), i = b(), [o, d] = N(!1), [f, p] = N(null), [m, h] = N(null), [g, v] = N(null), y = x(t).data ?? /* @__PURE__ */ new Map(), [C, T] = N(null), [E, D] = N(null), O = [...n.data ?? []].sort((e, t) => e.position - t.position), k = O.find((e) => e.id === f) ?? null;
|
|
579
595
|
return /* @__PURE__ */ G("div", {
|
|
580
596
|
className: "grid gap-6 lg:grid-cols-3",
|
|
@@ -611,7 +627,7 @@ var X = ({ source: e }) => {
|
|
|
611
627
|
})
|
|
612
628
|
}) : /* @__PURE__ */ G("div", {
|
|
613
629
|
className: "flex flex-col gap-4",
|
|
614
|
-
children: [O.map((e, t) => /* @__PURE__ */ W(
|
|
630
|
+
children: [O.map((e, t) => /* @__PURE__ */ W(Oe, {
|
|
615
631
|
module: e,
|
|
616
632
|
index: t,
|
|
617
633
|
onAddLesson: () => p(e.id),
|
|
@@ -654,7 +670,7 @@ var X = ({ source: e }) => {
|
|
|
654
670
|
className: "h-full w-full object-cover"
|
|
655
671
|
}) : /* @__PURE__ */ G("div", {
|
|
656
672
|
className: "flex h-full items-center justify-center gap-2 text-sm text-text-tertiary",
|
|
657
|
-
children: [/* @__PURE__ */ W(
|
|
673
|
+
children: [/* @__PURE__ */ W(ve, { className: "h-5 w-5" }), " No cover yet"]
|
|
658
674
|
})
|
|
659
675
|
}),
|
|
660
676
|
/* @__PURE__ */ G("div", {
|
|
@@ -694,27 +710,27 @@ var X = ({ source: e }) => {
|
|
|
694
710
|
className: "mt-2 flex flex-col divide-y divide-border-seam",
|
|
695
711
|
children: [
|
|
696
712
|
/* @__PURE__ */ W($, {
|
|
697
|
-
icon: /* @__PURE__ */ W(
|
|
713
|
+
icon: /* @__PURE__ */ W(ye, { className: "h-4 w-4" }),
|
|
698
714
|
label: "Slug",
|
|
699
715
|
value: e.slug
|
|
700
716
|
}),
|
|
701
717
|
/* @__PURE__ */ W($, {
|
|
702
|
-
icon: /* @__PURE__ */ W(
|
|
718
|
+
icon: /* @__PURE__ */ W(ge, { className: "h-4 w-4" }),
|
|
703
719
|
label: "Language",
|
|
704
720
|
value: e.language ? e.language.toUpperCase() : "—"
|
|
705
721
|
}),
|
|
706
722
|
/* @__PURE__ */ W($, {
|
|
707
|
-
icon: /* @__PURE__ */ W(
|
|
723
|
+
icon: /* @__PURE__ */ W(de, { className: "h-4 w-4" }),
|
|
708
724
|
label: "Level",
|
|
709
725
|
value: a(e.level)
|
|
710
726
|
}),
|
|
711
727
|
/* @__PURE__ */ W($, {
|
|
712
|
-
icon: /* @__PURE__ */ W(
|
|
728
|
+
icon: /* @__PURE__ */ W(he, { className: "h-4 w-4" }),
|
|
713
729
|
label: "Visibility",
|
|
714
730
|
value: e.isPublic ? "Public" : "Private"
|
|
715
731
|
}),
|
|
716
732
|
/* @__PURE__ */ W($, {
|
|
717
|
-
icon: /* @__PURE__ */ W(
|
|
733
|
+
icon: /* @__PURE__ */ W(pe, { className: "h-4 w-4" }),
|
|
718
734
|
label: "Created",
|
|
719
735
|
value: r(e.createdAt)
|
|
720
736
|
})
|
|
@@ -722,12 +738,12 @@ var X = ({ source: e }) => {
|
|
|
722
738
|
})]
|
|
723
739
|
})]
|
|
724
740
|
}),
|
|
725
|
-
o && /* @__PURE__ */ W(
|
|
741
|
+
o && /* @__PURE__ */ W(Te, {
|
|
726
742
|
courseId: t,
|
|
727
743
|
position: O.length,
|
|
728
744
|
onClose: () => d(!1)
|
|
729
745
|
}),
|
|
730
|
-
f && /* @__PURE__ */ W(
|
|
746
|
+
f && /* @__PURE__ */ W(Ee, {
|
|
731
747
|
courseId: t,
|
|
732
748
|
moduleId: f,
|
|
733
749
|
position: k?.lessons?.length ?? 0,
|
|
@@ -746,7 +762,7 @@ var X = ({ source: e }) => {
|
|
|
746
762
|
})
|
|
747
763
|
]
|
|
748
764
|
});
|
|
749
|
-
},
|
|
765
|
+
}, Ae = ({ courseId: t }) => {
|
|
750
766
|
let { navigateTo: n } = e(), r = p(t), d = r.data ?? [], f = x(t).data ?? /* @__PURE__ */ new Map(), [m, h] = N(!1), [g, _] = N(null);
|
|
751
767
|
return /* @__PURE__ */ G(u, {
|
|
752
768
|
title: "Assessments",
|
|
@@ -758,7 +774,7 @@ var X = ({ source: e }) => {
|
|
|
758
774
|
children: /* @__PURE__ */ G(K, {
|
|
759
775
|
variant: "outline",
|
|
760
776
|
onClick: () => h(!0),
|
|
761
|
-
children: [/* @__PURE__ */ W(
|
|
777
|
+
children: [/* @__PURE__ */ W(F, { className: "me-1.5 h-4 w-4" }), " Insert from repository"]
|
|
762
778
|
})
|
|
763
779
|
}),
|
|
764
780
|
children: [
|
|
@@ -807,7 +823,7 @@ var X = ({ source: e }) => {
|
|
|
807
823
|
e.timeLimitMin > 0 && /* @__PURE__ */ G("span", {
|
|
808
824
|
className: "inline-flex items-center gap-1",
|
|
809
825
|
children: [
|
|
810
|
-
/* @__PURE__ */ W(
|
|
826
|
+
/* @__PURE__ */ W(P, { className: "h-3.5 w-3.5" }),
|
|
811
827
|
" ",
|
|
812
828
|
i(e.timeLimitMin)
|
|
813
829
|
]
|
|
@@ -842,8 +858,8 @@ var X = ({ source: e }) => {
|
|
|
842
858
|
})
|
|
843
859
|
]
|
|
844
860
|
});
|
|
845
|
-
},
|
|
846
|
-
let { courseId: t } =
|
|
861
|
+
}, je = () => {
|
|
862
|
+
let { courseId: t } = Se(), { navigateTo: r } = e(), [i, a] = N("details"), u = m(t), p = u.data ?? null, h = v(), g = f(), [_, y] = N(null), [b, x] = N(!1), S = async () => {
|
|
847
863
|
if (p) {
|
|
848
864
|
y(null);
|
|
849
865
|
try {
|
|
@@ -889,33 +905,33 @@ var X = ({ source: e }) => {
|
|
|
889
905
|
{
|
|
890
906
|
value: "details",
|
|
891
907
|
label: "Details",
|
|
892
|
-
icon: /* @__PURE__ */ W(
|
|
908
|
+
icon: /* @__PURE__ */ W(I, { className: "h-4 w-4" })
|
|
893
909
|
},
|
|
894
910
|
{
|
|
895
911
|
value: "curriculum",
|
|
896
912
|
label: "Curriculum",
|
|
897
|
-
icon: /* @__PURE__ */ W(
|
|
913
|
+
icon: /* @__PURE__ */ W(fe, { className: "h-4 w-4" }),
|
|
898
914
|
count: p.modules?.length ?? 0
|
|
899
915
|
},
|
|
900
916
|
{
|
|
901
917
|
value: "assessments",
|
|
902
918
|
label: "Assessments",
|
|
903
|
-
icon: /* @__PURE__ */ W(
|
|
919
|
+
icon: /* @__PURE__ */ W(R, { className: "h-4 w-4" })
|
|
904
920
|
},
|
|
905
921
|
{
|
|
906
922
|
value: "accessibility",
|
|
907
923
|
label: "Accessibility",
|
|
908
|
-
icon: /* @__PURE__ */ W(
|
|
924
|
+
icon: /* @__PURE__ */ W(ce, { className: "h-4 w-4" })
|
|
909
925
|
},
|
|
910
926
|
{
|
|
911
927
|
value: "discussion",
|
|
912
928
|
label: "Discussion",
|
|
913
|
-
icon: /* @__PURE__ */ W(
|
|
929
|
+
icon: /* @__PURE__ */ W(z, { className: "h-4 w-4" })
|
|
914
930
|
},
|
|
915
931
|
{
|
|
916
932
|
value: "assistant",
|
|
917
933
|
label: "AI Tutor",
|
|
918
|
-
icon: /* @__PURE__ */ W(
|
|
934
|
+
icon: /* @__PURE__ */ W(z, { className: "h-4 w-4" })
|
|
919
935
|
}
|
|
920
936
|
];
|
|
921
937
|
return /* @__PURE__ */ G(n, {
|
|
@@ -935,7 +951,7 @@ var X = ({ source: e }) => {
|
|
|
935
951
|
/* @__PURE__ */ G(K, {
|
|
936
952
|
variant: "ghost",
|
|
937
953
|
onClick: () => r("authoring"),
|
|
938
|
-
children: [/* @__PURE__ */ W(
|
|
954
|
+
children: [/* @__PURE__ */ W(ue, { className: "me-1.5 h-4 w-4 rtl:-scale-x-100" }), " Back"]
|
|
939
955
|
}),
|
|
940
956
|
D && /* @__PURE__ */ W(w, {
|
|
941
957
|
resource: "buildmyiq-course",
|
|
@@ -944,7 +960,7 @@ var X = ({ source: e }) => {
|
|
|
944
960
|
children: /* @__PURE__ */ G(K, {
|
|
945
961
|
variant: "outline",
|
|
946
962
|
onClick: () => x(!0),
|
|
947
|
-
children: [/* @__PURE__ */ W(
|
|
963
|
+
children: [/* @__PURE__ */ W(le, { className: "me-1.5 h-4 w-4" }), " Archive"]
|
|
948
964
|
})
|
|
949
965
|
}),
|
|
950
966
|
E && /* @__PURE__ */ W(w, {
|
|
@@ -954,7 +970,7 @@ var X = ({ source: e }) => {
|
|
|
954
970
|
children: /* @__PURE__ */ G(K, {
|
|
955
971
|
onClick: S,
|
|
956
972
|
disabled: h.isPending,
|
|
957
|
-
children: [/* @__PURE__ */ W(
|
|
973
|
+
children: [/* @__PURE__ */ W(xe, { className: "me-1.5 h-4 w-4" }), h.isPending ? "Publishing…" : "Publish"]
|
|
958
974
|
})
|
|
959
975
|
})
|
|
960
976
|
] }),
|
|
@@ -971,9 +987,9 @@ var X = ({ source: e }) => {
|
|
|
971
987
|
onChange: a
|
|
972
988
|
}),
|
|
973
989
|
i === "assistant" && /* @__PURE__ */ W(re, { courseId: t }, t),
|
|
974
|
-
i === "details" && /* @__PURE__ */ W(
|
|
975
|
-
i === "curriculum" && /* @__PURE__ */ W(
|
|
976
|
-
i === "assessments" && /* @__PURE__ */ W(
|
|
990
|
+
i === "details" && /* @__PURE__ */ W(we, { course: p }, p.id),
|
|
991
|
+
i === "curriculum" && /* @__PURE__ */ W(ke, { course: p }),
|
|
992
|
+
i === "assessments" && /* @__PURE__ */ W(Ae, { courseId: t }),
|
|
977
993
|
i === "accessibility" && /* @__PURE__ */ W(ne, { courseId: t }),
|
|
978
994
|
i === "discussion" && /* @__PURE__ */ W(C, {
|
|
979
995
|
entityType: "buildmyiq-course",
|
|
@@ -1004,6 +1020,6 @@ var X = ({ source: e }) => {
|
|
|
1004
1020
|
});
|
|
1005
1021
|
};
|
|
1006
1022
|
//#endregion
|
|
1007
|
-
export {
|
|
1023
|
+
export { je as CourseBuilderPage };
|
|
1008
1024
|
|
|
1009
1025
|
//# sourceMappingURL=CourseBuilderPage.js.map
|