@pocketprep/ui-kit 3.4.63 → 3.4.65
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/@pocketprep/ui-kit.js +350 -344
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +2 -2
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Quiz/Question/MatrixChoicesContainer.vue +13 -1
- package/lib/components/Quiz/Question/MobileMatrixChoicesContainer.vue +28 -23
- package/lib/components/Quiz/Question.vue +2 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var i1 = Object.defineProperty;
|
|
2
2
|
var o1 = (e, i, s) => i in e ? i1(e, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[i] = s;
|
|
3
3
|
var P = (e, i, s) => (o1(e, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { Prop as H, Component as Me, Vue as be, Emit as De, Watch as
|
|
5
|
-
import { resolveDirective as Re, withDirectives as ne, openBlock as N, createElementBlock as V, renderSlot as ke, createElementVNode as oe, createTextVNode as xe, toDisplayString as Ce, pushScopeId as s1, popScopeId as n1, withKeys as
|
|
4
|
+
import { Prop as H, Component as Me, Vue as be, Emit as De, Watch as Xe } from "vue-facing-decorator";
|
|
5
|
+
import { resolveDirective as Re, withDirectives as ne, openBlock as N, createElementBlock as V, renderSlot as ke, createElementVNode as oe, createTextVNode as xe, toDisplayString as Ce, pushScopeId as s1, popScopeId as n1, withKeys as ze, withModifiers as Ie, normalizeClass as ve, normalizeStyle as Ve, vModelText as fn, createStaticVNode as tt, resolveComponent as ge, createBlock as ye, createCommentVNode as Le, createVNode as Pe, defineComponent as Xs, unref as zi, Fragment as Ke, renderList as et, withCtx as Te, vShow as An, mergeModels as Cn, useModel as mn } from "vue";
|
|
6
6
|
import r1 from "litepicker";
|
|
7
7
|
const a1 = "1439", l1 = "1279", h1 = "1023", d1 = "767", c1 = "374", u1 = "319", p1 = "#fff", g1 = "#30485a", f1 = "#fff9ef", A1 = "#fbfbfd", C1 = "#f4f5f9", m1 = "#edeef3", v1 = "#dfe3e7", w1 = "#bce6dc", y1 = "#88a3b6", M1 = "#708a9d", b1 = "#587183", L1 = "#475967", k1 = "#1f3545", E1 = "#0064ff", D1 = "#cfe1ff", B1 = "#056c50", I1 = "#14ca9e", x1 = "#00b584", P1 = "#c7f2e8", G1 = "#e7f9f5", Q1 = "#e52525", R1 = "#ff6363", O1 = "#ff6e87", Y1 = "#ffcdcd", S1 = "#ffefef", T1 = "#a67214", j1 = "#ffbd47", H1 = "#c78e27", F1 = "#ffe4b6", z1 = "#fff2d9", N1 = "#fff6e5", Z1 = "#9906a8", J1 = "#d819eb", W1 = "#ef51ff", U1 = "#fef1ff", q1 = "#a7c7ff", K1 = "#6e4700", X1 = "#049875", V1 = "#008263", _1 = "#ff4747", $1 = "#d00", ea = "#ad00eb", ta = "#ad00eb", ia = "#c238f3", oa = "#ffce74", sa = "#293e4e", na = "#1c2f3c", ra = "#0f1d28", aa = "#2e80ff", la = "#064fc1", ha = "#00664a", da = "#ff889d", ca = "#edeef3", ua = "#dfe3e7", pa = "#587183", ga = "#475967", fa = "#1c2f3c", Aa = "#182a36", Ca = "#0f1d28", ma = "#03101b", va = "#eef5ff", wa = "#2e80ff", ya = "#043580", Ma = "#005AE5", ba = "#ffedcb", La = "#ffa400", ka = "#fef1ff", Ea = "#d96dff", Da = "#d10fe5", Ba = "#ad00eb", Ia = "#9906a8", xa = "#ffefef", Pa = "#ffcdcd", Ga = "#ff4747", Qa = "#d00", Ra = "#edfbf8", Oa = "#14ca9e", Ya = "#00b584", Sa = "#00a87a", Ta = "#00654a", ja = "#ff5e3e", Ha = "#ff7d63", Fa = "#ce8500", Ye = {
|
|
8
8
|
polarBear: a1,
|
|
@@ -9342,8 +9342,8 @@ function Pl(e, i, s, o, t, n) {
|
|
|
9342
9342
|
return N(), V("div", {
|
|
9343
9343
|
class: "uikit-segment-control",
|
|
9344
9344
|
tabindex: "0",
|
|
9345
|
-
onKeyup: i[2] || (i[2] =
|
|
9346
|
-
onKeydown: i[3] || (i[3] =
|
|
9345
|
+
onKeyup: i[2] || (i[2] = ze((...r) => e.toggleOption && e.toggleOption(...r), ["enter"])),
|
|
9346
|
+
onKeydown: i[3] || (i[3] = ze(Ie((...r) => e.toggleOption && e.toggleOption(...r), ["prevent"]), ["space"])),
|
|
9347
9347
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
9348
9348
|
}, ["prevent"]))
|
|
9349
9349
|
}, [
|
|
@@ -9410,8 +9410,8 @@ function Yl(e, i, s, o, t, n) {
|
|
|
9410
9410
|
role: "checkbox",
|
|
9411
9411
|
"aria-checked": e.modelValue,
|
|
9412
9412
|
onKeydown: [
|
|
9413
|
-
i[0] || (i[0] =
|
|
9414
|
-
i[1] || (i[1] =
|
|
9413
|
+
i[0] || (i[0] = ze((R) => !e.disabled && e.toggleOption(), ["enter"])),
|
|
9414
|
+
i[1] || (i[1] = ze(Ie((R) => !e.disabled && e.toggleOption(), ["prevent"]), ["space"]))
|
|
9415
9415
|
],
|
|
9416
9416
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
9417
9417
|
}, ["prevent"])),
|
|
@@ -9486,10 +9486,10 @@ Wt([
|
|
|
9486
9486
|
H({ default: null })
|
|
9487
9487
|
], Qt.prototype, "inputId", 2);
|
|
9488
9488
|
Wt([
|
|
9489
|
-
|
|
9489
|
+
Xe("modelValue")
|
|
9490
9490
|
], Qt.prototype, "valueChanged", 1);
|
|
9491
9491
|
Wt([
|
|
9492
|
-
|
|
9492
|
+
Xe("sliderValue")
|
|
9493
9493
|
], Qt.prototype, "sliderValueChanged", 1);
|
|
9494
9494
|
Wt([
|
|
9495
9495
|
De("update:modelValue")
|
|
@@ -12752,8 +12752,8 @@ function z3(e, i, s, o, t, n) {
|
|
|
12752
12752
|
role: "checkbox",
|
|
12753
12753
|
"aria-hidden": e.hasLabel,
|
|
12754
12754
|
onKeypress: [
|
|
12755
|
-
i[0] || (i[0] =
|
|
12756
|
-
i[1] || (i[1] =
|
|
12755
|
+
i[0] || (i[0] = ze(Ie((D) => !e.disabled && e.toggleCheckbox(), ["prevent"]), ["enter"])),
|
|
12756
|
+
i[1] || (i[1] = ze(Ie((D) => !e.disabled && e.toggleCheckbox(), ["prevent"]), ["space"]))
|
|
12757
12757
|
],
|
|
12758
12758
|
onClick: i[2] || (i[2] = (D) => !e.disabled && e.toggleCheckbox()),
|
|
12759
12759
|
onFocus: i[3] || (i[3] = (D) => e.focus = !0),
|
|
@@ -12840,7 +12840,7 @@ function U3(e, i, s, o, t, n) {
|
|
|
12840
12840
|
role: "checkbox",
|
|
12841
12841
|
"aria-checked": e.modelValue === !0 ? !0 : e.modelValue === null ? "mixed" : !1,
|
|
12842
12842
|
onClick: i[0] || (i[0] = (D) => e.emitUpdateModelValue(!e.modelValue)),
|
|
12843
|
-
onKeydown: i[1] || (i[1] =
|
|
12843
|
+
onKeydown: i[1] || (i[1] = ze((D) => e.emitUpdateModelValue(!e.modelValue), ["enter"])),
|
|
12844
12844
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
12845
12845
|
}, ["prevent"]))
|
|
12846
12846
|
}, [
|
|
@@ -13047,7 +13047,7 @@ function a7(e, i, s, o, t, n) {
|
|
|
13047
13047
|
role: "radiogroup",
|
|
13048
13048
|
"aria-labelledby": e.label ? `uikit-radio__label-${e.uid}` : e.labelledBy || ""
|
|
13049
13049
|
}, [
|
|
13050
|
-
(N(!0), V(
|
|
13050
|
+
(N(!0), V(Ke, null, et(e.data, (D) => ne((N(), V("li", {
|
|
13051
13051
|
key: JSON.stringify(D),
|
|
13052
13052
|
ref_for: !0,
|
|
13053
13053
|
ref: "uikit-radio__item",
|
|
@@ -13062,7 +13062,7 @@ function a7(e, i, s, o, t, n) {
|
|
|
13062
13062
|
"aria-checked": e.modelValue && D.value === e.modelValue.value,
|
|
13063
13063
|
"aria-label": `${D.label}${D.helperText ? ` ${D.helperText}` : ""}`,
|
|
13064
13064
|
onClick: (Y) => !(e.disabled || D.disabled) && e.selectItem(D),
|
|
13065
|
-
onKeydown: i[0] || (i[0] =
|
|
13065
|
+
onKeydown: i[0] || (i[0] = ze((...Y) => e.keyPressedItem && e.keyPressedItem(...Y), ["enter", "space"])),
|
|
13066
13066
|
onMousedown: i[1] || (i[1] = Ie(() => {
|
|
13067
13067
|
}, ["prevent"]))
|
|
13068
13068
|
}, [
|
|
@@ -13176,16 +13176,16 @@ St([
|
|
|
13176
13176
|
H({ default: "FILTER BY SUBJECT" })
|
|
13177
13177
|
], Lt.prototype, "filterOptionsLabel", 2);
|
|
13178
13178
|
St([
|
|
13179
|
-
|
|
13179
|
+
Xe("checkboxOptions", { deep: !0 })
|
|
13180
13180
|
], Lt.prototype, "checkboxOptionsChanged", 1);
|
|
13181
13181
|
St([
|
|
13182
|
-
|
|
13182
|
+
Xe("checkboxEntries", { deep: !0 })
|
|
13183
13183
|
], Lt.prototype, "checkboxOptionChanged", 1);
|
|
13184
13184
|
St([
|
|
13185
|
-
|
|
13185
|
+
Xe("radioOptions", { deep: !0 })
|
|
13186
13186
|
], Lt.prototype, "radioOptionsChanged", 1);
|
|
13187
13187
|
St([
|
|
13188
|
-
|
|
13188
|
+
Xe("radioEntries", { deep: !0 })
|
|
13189
13189
|
], Lt.prototype, "radioOptionChanged", 1);
|
|
13190
13190
|
St([
|
|
13191
13191
|
De("update:modelValue")
|
|
@@ -13290,7 +13290,7 @@ function f7(e, i, s, o, t, n) {
|
|
|
13290
13290
|
]),
|
|
13291
13291
|
ke(e.$slots, "checkbox", {}, () => [
|
|
13292
13292
|
e.showCheckboxOptions || e.radioOptions.length === 0 ? (N(), V("div", g7, [
|
|
13293
|
-
(N(!0), V(
|
|
13293
|
+
(N(!0), V(Ke, null, et(e.checkboxOptions, (z) => (N(), ye(D, {
|
|
13294
13294
|
key: z.id,
|
|
13295
13295
|
modelValue: z.enabled,
|
|
13296
13296
|
"onUpdate:modelValue": (E) => z.enabled = E,
|
|
@@ -13385,16 +13385,16 @@ xt([
|
|
|
13385
13385
|
H({ default: "FILTER BY SUBJECT" })
|
|
13386
13386
|
], yt.prototype, "filterOptionsLabel", 2);
|
|
13387
13387
|
xt([
|
|
13388
|
-
|
|
13388
|
+
Xe("checkboxOptions", { deep: !0 })
|
|
13389
13389
|
], yt.prototype, "checkboxOptionsChanged", 1);
|
|
13390
13390
|
xt([
|
|
13391
|
-
|
|
13391
|
+
Xe("checkboxEntries", { deep: !0 })
|
|
13392
13392
|
], yt.prototype, "checkboxOptionChanged", 1);
|
|
13393
13393
|
xt([
|
|
13394
|
-
|
|
13394
|
+
Xe("radioOptions", { deep: !0 })
|
|
13395
13395
|
], yt.prototype, "radioOptionsChanged", 1);
|
|
13396
13396
|
xt([
|
|
13397
|
-
|
|
13397
|
+
Xe("radioEntries", { deep: !0 })
|
|
13398
13398
|
], yt.prototype, "radioOptionChanged", 1);
|
|
13399
13399
|
xt([
|
|
13400
13400
|
De("update:modelValue")
|
|
@@ -13425,7 +13425,7 @@ function v7(e, i, s, o, t, n) {
|
|
|
13425
13425
|
role: "button",
|
|
13426
13426
|
type: "tertiary",
|
|
13427
13427
|
tabindex: "0",
|
|
13428
|
-
onKeypress: i[0] || (i[0] =
|
|
13428
|
+
onKeypress: i[0] || (i[0] = ze(() => e.showFilterDropdown = !e.showFilterDropdown, ["enter"])),
|
|
13429
13429
|
onClick: i[1] || (i[1] = () => e.showFilterDropdown = !e.showFilterDropdown)
|
|
13430
13430
|
}, {
|
|
13431
13431
|
default: Te(() => [
|
|
@@ -13511,7 +13511,7 @@ function L7(e, i, s, o, t, n) {
|
|
|
13511
13511
|
class: ve(["uikit-tab", { "uikit-tab--disabled": e.disabled, "uikit-tab--active": e.active }]),
|
|
13512
13512
|
tabindex: e.disabled ? -1 : 0,
|
|
13513
13513
|
onClick: i[0] || (i[0] = (...R) => e.emitClick && e.emitClick(...R)),
|
|
13514
|
-
onKeydown: i[1] || (i[1] =
|
|
13514
|
+
onKeydown: i[1] || (i[1] = ze((...R) => e.emitClick && e.emitClick(...R), ["enter"])),
|
|
13515
13515
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
13516
13516
|
}, ["prevent"]))
|
|
13517
13517
|
}, [
|
|
@@ -13697,13 +13697,13 @@ rt([
|
|
|
13697
13697
|
H({ default: !1 })
|
|
13698
13698
|
], ot.prototype, "showTypeaheadClear", 2);
|
|
13699
13699
|
rt([
|
|
13700
|
-
|
|
13700
|
+
Xe("showDropdown")
|
|
13701
13701
|
], ot.prototype, "showDropdownChanged", 1);
|
|
13702
13702
|
rt([
|
|
13703
|
-
|
|
13703
|
+
Xe("modelValue")
|
|
13704
13704
|
], ot.prototype, "valueChanged", 1);
|
|
13705
13705
|
rt([
|
|
13706
|
-
|
|
13706
|
+
Xe("searchText")
|
|
13707
13707
|
], ot.prototype, "searchTextChanged", 1);
|
|
13708
13708
|
rt([
|
|
13709
13709
|
De("update:modelValue")
|
|
@@ -13847,7 +13847,7 @@ function G7(e, i, s, o, t, n) {
|
|
|
13847
13847
|
}, [
|
|
13848
13848
|
ke(e.$slots, "dropdownListHeader"),
|
|
13849
13849
|
ke(e.$slots, "dropdownList", {}, () => [
|
|
13850
|
-
(N(!0), V(
|
|
13850
|
+
(N(!0), V(Ke, null, et(e.filteredData, (D) => ne((N(), V("li", {
|
|
13851
13851
|
key: JSON.stringify(D),
|
|
13852
13852
|
ref_for: !0,
|
|
13853
13853
|
ref: "uikit-select__items",
|
|
@@ -13882,7 +13882,7 @@ function G7(e, i, s, o, t, n) {
|
|
|
13882
13882
|
], 32);
|
|
13883
13883
|
}
|
|
13884
13884
|
const Q7 = /* @__PURE__ */ me(ot, [["render", G7]]);
|
|
13885
|
-
var R7 = Object.defineProperty, O7 = Object.getOwnPropertyDescriptor,
|
|
13885
|
+
var R7 = Object.defineProperty, O7 = Object.getOwnPropertyDescriptor, Ct = (e, i, s, o) => {
|
|
13886
13886
|
for (var t = o > 1 ? void 0 : o ? O7(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
13887
13887
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
13888
13888
|
return o && t && R7(i, s, t), t;
|
|
@@ -13920,58 +13920,58 @@ let ct = class extends be {
|
|
|
13920
13920
|
return s.target.value;
|
|
13921
13921
|
}
|
|
13922
13922
|
};
|
|
13923
|
-
|
|
13923
|
+
Ct([
|
|
13924
13924
|
H()
|
|
13925
13925
|
], ct.prototype, "label", 2);
|
|
13926
|
-
|
|
13926
|
+
Ct([
|
|
13927
13927
|
H({ default: "text" })
|
|
13928
13928
|
], ct.prototype, "fieldType", 2);
|
|
13929
|
-
|
|
13929
|
+
Ct([
|
|
13930
13930
|
H({ default: "" })
|
|
13931
13931
|
], ct.prototype, "placeholder", 2);
|
|
13932
|
-
|
|
13932
|
+
Ct([
|
|
13933
13933
|
H({ default: "524288" })
|
|
13934
13934
|
], ct.prototype, "maxlength", 2);
|
|
13935
|
-
|
|
13935
|
+
Ct([
|
|
13936
13936
|
H({ default: !1 })
|
|
13937
13937
|
], ct.prototype, "center", 2);
|
|
13938
|
-
|
|
13938
|
+
Ct([
|
|
13939
13939
|
H()
|
|
13940
13940
|
], ct.prototype, "modelValue", 2);
|
|
13941
|
-
|
|
13941
|
+
Ct([
|
|
13942
13942
|
H({ default: !1 })
|
|
13943
13943
|
], ct.prototype, "disabled", 2);
|
|
13944
|
-
|
|
13944
|
+
Ct([
|
|
13945
13945
|
H({ default: !1 })
|
|
13946
13946
|
], ct.prototype, "autoFocus", 2);
|
|
13947
|
-
|
|
13947
|
+
Ct([
|
|
13948
13948
|
H({ default: !1 })
|
|
13949
13949
|
], ct.prototype, "error", 2);
|
|
13950
|
-
|
|
13950
|
+
Ct([
|
|
13951
13951
|
H({ default: 0 })
|
|
13952
13952
|
], ct.prototype, "tabindex", 2);
|
|
13953
|
-
|
|
13953
|
+
Ct([
|
|
13954
13954
|
H({ default: !1 })
|
|
13955
13955
|
], ct.prototype, "isDarkMode", 2);
|
|
13956
|
-
|
|
13956
|
+
Ct([
|
|
13957
13957
|
H({ default: !1 })
|
|
13958
13958
|
], ct.prototype, "ariaRequired", 2);
|
|
13959
|
-
|
|
13959
|
+
Ct([
|
|
13960
13960
|
H({ default: "" })
|
|
13961
13961
|
], ct.prototype, "name", 2);
|
|
13962
|
-
|
|
13962
|
+
Ct([
|
|
13963
13963
|
H({ default: !1 })
|
|
13964
13964
|
], ct.prototype, "forceHoverStyle", 2);
|
|
13965
|
-
|
|
13965
|
+
Ct([
|
|
13966
13966
|
H({ default: !1 })
|
|
13967
13967
|
], ct.prototype, "forceFocusStyle", 2);
|
|
13968
|
-
|
|
13968
|
+
Ct([
|
|
13969
13969
|
H({ default: !1 })
|
|
13970
13970
|
], ct.prototype, "hideInputCaret", 2);
|
|
13971
|
-
|
|
13971
|
+
Ct([
|
|
13972
13972
|
De("update:modelValue")
|
|
13973
13973
|
], ct.prototype, "valueChange", 1);
|
|
13974
|
-
ct =
|
|
13974
|
+
ct = Ct([
|
|
13975
13975
|
Me({
|
|
13976
13976
|
components: {
|
|
13977
13977
|
Icon: We
|
|
@@ -14040,8 +14040,8 @@ function F7(e, i, s, o, t, n) {
|
|
|
14040
14040
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
14041
14041
|
}, ["prevent"])),
|
|
14042
14042
|
onClick: i[5] || (i[5] = (D) => e.showPassword = !e.showPassword),
|
|
14043
|
-
onKeyup: i[6] || (i[6] =
|
|
14044
|
-
onKeydown: i[7] || (i[7] =
|
|
14043
|
+
onKeyup: i[6] || (i[6] = ze((D) => e.showPassword = !e.showPassword, ["enter"])),
|
|
14044
|
+
onKeydown: i[7] || (i[7] = ze(Ie(() => {
|
|
14045
14045
|
}, ["stop"]), ["enter"]))
|
|
14046
14046
|
}, [
|
|
14047
14047
|
Pe(r, {
|
|
@@ -14510,7 +14510,7 @@ function xc(e, i, s, o, t, n) {
|
|
|
14510
14510
|
]),
|
|
14511
14511
|
_: 3
|
|
14512
14512
|
})) : Le("", !0),
|
|
14513
|
-
e.uid ? (N(), V(
|
|
14513
|
+
e.uid ? (N(), V(Ke, { key: 1 }, [
|
|
14514
14514
|
oe("div", {
|
|
14515
14515
|
ref: `content_${e.uid}`,
|
|
14516
14516
|
class: "uikit-overflow-tooltip__content",
|
|
@@ -14679,7 +14679,7 @@ $e([
|
|
|
14679
14679
|
H()
|
|
14680
14680
|
], _e.prototype, "tableSubrowsStyles", 2);
|
|
14681
14681
|
$e([
|
|
14682
|
-
|
|
14682
|
+
Xe("defaultSort")
|
|
14683
14683
|
], _e.prototype, "defaultSortChanged", 1);
|
|
14684
14684
|
$e([
|
|
14685
14685
|
De("sort")
|
|
@@ -14757,7 +14757,7 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14757
14757
|
}),
|
|
14758
14758
|
role: "row"
|
|
14759
14759
|
}, [
|
|
14760
|
-
(N(!0), V(
|
|
14760
|
+
(N(!0), V(Ke, null, et(e.columns, (Y) => ke(e.$slots, "tableColumnLabel", { column: Y }, () => [
|
|
14761
14761
|
(N(), V("th", {
|
|
14762
14762
|
key: `column-label--${Y.propName}`,
|
|
14763
14763
|
class: "uikit-table__column-label",
|
|
@@ -14779,11 +14779,11 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14779
14779
|
"aria-label": !e.currentSort.column || e.currentSort.column.propName !== Y.propName || e.currentSort.direction === 0 ? `${Y.name || Y.propName} (sortable)` : e.currentSort.direction === -1 ? `${Y.name || Y.propName} (sorted ascending)` : `${Y.name || Y.propName} (sorted descending)`,
|
|
14780
14780
|
tabindex: Y.isSortDisabled ? -1 : 0,
|
|
14781
14781
|
onClick: (z) => e.columnLabelClicked(Y),
|
|
14782
|
-
onKeydown:
|
|
14782
|
+
onKeydown: ze((z) => e.columnLabelClicked(Y), ["enter"]),
|
|
14783
14783
|
onMousedown: i[0] || (i[0] = Ie(() => {
|
|
14784
14784
|
}, ["prevent"]))
|
|
14785
14785
|
}, [
|
|
14786
|
-
Y.isLabelHidden ? Le("", !0) : (N(), V(
|
|
14786
|
+
Y.isLabelHidden ? Le("", !0) : (N(), V(Ke, { key: 0 }, [
|
|
14787
14787
|
ke(e.$slots, "tableColumnLabelText", { column: Y }, () => [
|
|
14788
14788
|
xe(Ce(Y.name || Y.propName), 1)
|
|
14789
14789
|
]),
|
|
@@ -14819,7 +14819,7 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14819
14819
|
role: "rowgroup",
|
|
14820
14820
|
style: Ve(e.tableRowsStyles)
|
|
14821
14821
|
}, [
|
|
14822
|
-
(N(!0), V(
|
|
14822
|
+
(N(!0), V(Ke, null, et(e.rows, (Y) => ke(e.$slots, "tableRow", { row: Y }, () => [
|
|
14823
14823
|
ne((N(), V("tr", {
|
|
14824
14824
|
key: `row--${Y.id}`,
|
|
14825
14825
|
class: ve(["uikit-table__row", {
|
|
@@ -14833,11 +14833,11 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14833
14833
|
...Y.styles
|
|
14834
14834
|
}),
|
|
14835
14835
|
onClick: (z) => e.emitRowClicked(Y),
|
|
14836
|
-
onKeydown:
|
|
14836
|
+
onKeydown: ze((z) => e.emitRowClicked(Y), ["enter"]),
|
|
14837
14837
|
onMouseenter: (z) => e.emitRowEnter(Y),
|
|
14838
14838
|
onMouseleave: (z) => e.emitRowLeave(Y)
|
|
14839
14839
|
}, [
|
|
14840
|
-
(N(!0), V(
|
|
14840
|
+
(N(!0), V(Ke, null, et(e.columns, (z) => ke(e.$slots, "tableCell", {
|
|
14841
14841
|
row: Y,
|
|
14842
14842
|
column: z,
|
|
14843
14843
|
tableCellStyles: e.tableCellStyles
|
|
@@ -14868,7 +14868,7 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14868
14868
|
], 46, Yc)), [
|
|
14869
14869
|
[D, e.isDarkMode]
|
|
14870
14870
|
]),
|
|
14871
|
-
(N(!0), V(
|
|
14871
|
+
(N(!0), V(Ke, null, et(Y.subrows, (z) => ke(e.$slots, "tableSubrow", { subrow: z }, () => [
|
|
14872
14872
|
ne((N(), V("tr", {
|
|
14873
14873
|
key: `subrow--${z.id}`,
|
|
14874
14874
|
role: "subrow",
|
|
@@ -14882,11 +14882,11 @@ function Hc(e, i, s, o, t, n) {
|
|
|
14882
14882
|
...z.styles
|
|
14883
14883
|
}),
|
|
14884
14884
|
onClick: (E) => e.emitRowClicked(z),
|
|
14885
|
-
onKeydown:
|
|
14885
|
+
onKeydown: ze((E) => e.emitRowClicked(z), ["enter"]),
|
|
14886
14886
|
onMouseenter: (E) => e.emitRowEnter(z),
|
|
14887
14887
|
onMouseleave: (E) => e.emitRowLeave(z)
|
|
14888
14888
|
}, [
|
|
14889
|
-
(N(!0), V(
|
|
14889
|
+
(N(!0), V(Ke, null, et(e.columns, (E) => ke(e.$slots, "subrowCell", {
|
|
14890
14890
|
subrow: z,
|
|
14891
14891
|
column: E,
|
|
14892
14892
|
tableCellStyles: e.tableCellStyles
|
|
@@ -15002,7 +15002,7 @@ const Nc = { class: "uikit-table-actions" }, Zc = ["onClick", "onKeyup", "onKeyd
|
|
|
15002
15002
|
function Uc(e, i, s, o, t, n) {
|
|
15003
15003
|
const r = ge("Icon"), R = ge("Tooltip");
|
|
15004
15004
|
return N(), V("div", Nc, [
|
|
15005
|
-
(N(!0), V(
|
|
15005
|
+
(N(!0), V(Ke, null, et(e.actions, (D) => (N(), V("div", {
|
|
15006
15006
|
key: D.id,
|
|
15007
15007
|
ref_for: !0,
|
|
15008
15008
|
ref: `${e.name}Actions`,
|
|
@@ -15011,7 +15011,7 @@ function Uc(e, i, s, o, t, n) {
|
|
|
15011
15011
|
}]),
|
|
15012
15012
|
tabindex: "0",
|
|
15013
15013
|
onClick: (Y) => e.actionClicked(D),
|
|
15014
|
-
onKeyup:
|
|
15014
|
+
onKeyup: ze((Y) => e.actionClicked(D), ["enter"]),
|
|
15015
15015
|
onKeydown: (Y) => e.scrollActionMenu(D, Y),
|
|
15016
15016
|
onBlur: i[0] || (i[0] = (Y) => e.visibleMenuActionId = ""),
|
|
15017
15017
|
onMouseout: i[1] || (i[1] = (Y) => e.hoveringMenuActionId = null),
|
|
@@ -15033,14 +15033,14 @@ function Uc(e, i, s, o, t, n) {
|
|
|
15033
15033
|
_: 2
|
|
15034
15034
|
}, 1024)) : Le("", !0),
|
|
15035
15035
|
D.menu && D.id === e.visibleMenuActionId ? (N(), V("div", Jc, [
|
|
15036
|
-
(N(!0), V(
|
|
15036
|
+
(N(!0), V(Ke, null, et(D.menu, (Y) => (N(), V("div", {
|
|
15037
15037
|
key: Y.id,
|
|
15038
15038
|
ref_for: !0,
|
|
15039
15039
|
ref: `${e.name}ActionMenu-${D.id}`,
|
|
15040
15040
|
class: "uikit-table-actions__action-menu-option",
|
|
15041
15041
|
tabindex: "0",
|
|
15042
15042
|
onMousedown: Ie((z) => e.actionClicked(Y), ["prevent", "stop"]),
|
|
15043
|
-
onKeyup:
|
|
15043
|
+
onKeyup: ze(Ie((z) => e.actionClicked(Y), ["prevent", "stop"]), ["enter"]),
|
|
15044
15044
|
onKeydown: (z) => e.scrollActionMenu(D, z)
|
|
15045
15045
|
}, Ce(Y.text), 41, Wc))), 128))
|
|
15046
15046
|
])) : Le("", !0)
|
|
@@ -15124,7 +15124,7 @@ function o6(e, i, s, o, t, n) {
|
|
|
15124
15124
|
tabindex: e.currentPage === 0 ? -1 : 0,
|
|
15125
15125
|
"aria-label": "First Page",
|
|
15126
15126
|
"aria-disabled": e.currentPage === 0,
|
|
15127
|
-
onKeydown: i[0] || (i[0] =
|
|
15127
|
+
onKeydown: i[0] || (i[0] = ze((D) => e.changePage("previous"), ["enter"])),
|
|
15128
15128
|
onClick: i[1] || (i[1] = (D) => e.changePage("first")),
|
|
15129
15129
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
15130
15130
|
}, ["prevent"]))
|
|
@@ -15138,7 +15138,7 @@ function o6(e, i, s, o, t, n) {
|
|
|
15138
15138
|
tabindex: e.currentPage === 0 ? -1 : 0,
|
|
15139
15139
|
"aria-label": "Previous",
|
|
15140
15140
|
"aria-disabled": e.currentPage === 0,
|
|
15141
|
-
onKeydown: i[3] || (i[3] =
|
|
15141
|
+
onKeydown: i[3] || (i[3] = ze((D) => e.changePage("previous"), ["enter"])),
|
|
15142
15142
|
onClick: i[4] || (i[4] = (D) => e.changePage("previous")),
|
|
15143
15143
|
onMousedown: i[5] || (i[5] = Ie(() => {
|
|
15144
15144
|
}, ["prevent"]))
|
|
@@ -15152,7 +15152,7 @@ function o6(e, i, s, o, t, n) {
|
|
|
15152
15152
|
tabindex: e.nextPageDisabled ? -1 : 0,
|
|
15153
15153
|
"aria-label": "Next",
|
|
15154
15154
|
"aria-disabled": e.nextPageDisabled,
|
|
15155
|
-
onKeydown: i[6] || (i[6] =
|
|
15155
|
+
onKeydown: i[6] || (i[6] = ze((D) => e.changePage("next"), ["enter"])),
|
|
15156
15156
|
onClick: i[7] || (i[7] = (D) => e.changePage("next")),
|
|
15157
15157
|
onMousedown: i[8] || (i[8] = Ie(() => {
|
|
15158
15158
|
}, ["prevent"]))
|
|
@@ -15167,7 +15167,7 @@ function o6(e, i, s, o, t, n) {
|
|
|
15167
15167
|
tabindex: e.currentPage === 0 ? -1 : 0,
|
|
15168
15168
|
"aria-label": "First Page",
|
|
15169
15169
|
"aria-disabled": e.currentPage === 0,
|
|
15170
|
-
onKeydown: i[9] || (i[9] =
|
|
15170
|
+
onKeydown: i[9] || (i[9] = ze((D) => e.changePage("previous"), ["enter"])),
|
|
15171
15171
|
onClick: i[10] || (i[10] = (D) => e.changePage("last")),
|
|
15172
15172
|
onMousedown: i[11] || (i[11] = Ie(() => {
|
|
15173
15173
|
}, ["prevent"]))
|
|
@@ -15227,7 +15227,7 @@ function c6(e, i, s, o, t, n) {
|
|
|
15227
15227
|
type: "paginationArrow",
|
|
15228
15228
|
"aria-label": "Previous question",
|
|
15229
15229
|
"aria-disabled": e.currentPage === 0,
|
|
15230
|
-
onKeydown: i[0] || (i[0] =
|
|
15230
|
+
onKeydown: i[0] || (i[0] = ze((R) => e.changePage("previous"), ["enter"])),
|
|
15231
15231
|
onClick: i[1] || (i[1] = (R) => e.changePage("previous"))
|
|
15232
15232
|
}, [
|
|
15233
15233
|
Pe(r, {
|
|
@@ -15247,7 +15247,7 @@ function c6(e, i, s, o, t, n) {
|
|
|
15247
15247
|
type: "paginationArrow",
|
|
15248
15248
|
"aria-label": "Next question",
|
|
15249
15249
|
"aria-disabled": e.nextPageDisabled,
|
|
15250
|
-
onKeydown: i[2] || (i[2] =
|
|
15250
|
+
onKeydown: i[2] || (i[2] = ze((R) => e.changePage("next"), ["enter"])),
|
|
15251
15251
|
onClick: i[3] || (i[3] = (R) => e.changePage("next"))
|
|
15252
15252
|
}, [
|
|
15253
15253
|
Pe(r, {
|
|
@@ -15465,7 +15465,7 @@ function B6(e, i, s, o, t, n) {
|
|
|
15465
15465
|
class: ve(["uikit-pill", { "uikit-pill--show-close": e.showClose }]),
|
|
15466
15466
|
tabindex: e.showClose ? 0 : -1,
|
|
15467
15467
|
onClick: i[0] || (i[0] = (D) => e.showClose && e.emitClick(D)),
|
|
15468
|
-
onKeydown: i[1] || (i[1] =
|
|
15468
|
+
onKeydown: i[1] || (i[1] = ze((D) => e.showClose && e.emitClick(D), ["enter"])),
|
|
15469
15469
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
15470
15470
|
}, ["prevent"]))
|
|
15471
15471
|
}, [
|
|
@@ -15607,7 +15607,7 @@ function r9(e, i, s, o, t, n) {
|
|
|
15607
15607
|
onMousedown: i[0] || (i[0] = Ie(() => {
|
|
15608
15608
|
}, ["prevent"])),
|
|
15609
15609
|
onClick: i[1] || (i[1] = (...D) => e.emitClose && e.emitClose(...D)),
|
|
15610
|
-
onKeydown: i[2] || (i[2] =
|
|
15610
|
+
onKeydown: i[2] || (i[2] = ze((...D) => e.emitClose && e.emitClose(...D), ["enter"]))
|
|
15611
15611
|
}, [
|
|
15612
15612
|
Pe(r, { title: "close" })
|
|
15613
15613
|
], 36)), [
|
|
@@ -15715,8 +15715,8 @@ function h9(e, i, s, o, t, n) {
|
|
|
15715
15715
|
"aria-modal": "true",
|
|
15716
15716
|
tabindex: "-1",
|
|
15717
15717
|
onKeydown: [
|
|
15718
|
-
i[2] || (i[2] =
|
|
15719
|
-
i[3] || (i[3] =
|
|
15718
|
+
i[2] || (i[2] = ze(Ie((...D) => e.emitClose && e.emitClose(...D), ["self"]), ["esc"])),
|
|
15719
|
+
i[3] || (i[3] = ze(Ie((...D) => e.emitClose && e.emitClose(...D), ["self"]), ["enter"])),
|
|
15720
15720
|
i[4] || (i[4] = (...D) => e.keydownListener && e.keydownListener(...D))
|
|
15721
15721
|
]
|
|
15722
15722
|
}, [
|
|
@@ -15830,7 +15830,7 @@ function p9(e, i, s, o, t, n) {
|
|
|
15830
15830
|
class: "uikit-magic-code",
|
|
15831
15831
|
onKeydown: i[5] || (i[5] = (...r) => e.handleKeyDown && e.handleKeyDown(...r))
|
|
15832
15832
|
}, [
|
|
15833
|
-
(N(), V(
|
|
15833
|
+
(N(), V(Ke, null, et(6, (r) => oe("div", {
|
|
15834
15834
|
key: r,
|
|
15835
15835
|
class: ve(["uikit-magic-code__code-input-box", {
|
|
15836
15836
|
"uikit-magic-code__code-input-box--active": e.highlightInput && r === e.cursorIndex + 1,
|
|
@@ -15905,10 +15905,10 @@ ii([
|
|
|
15905
15905
|
H({ default: "" })
|
|
15906
15906
|
], Ht.prototype, "modelValue", 2);
|
|
15907
15907
|
ii([
|
|
15908
|
-
|
|
15908
|
+
Xe("parentError")
|
|
15909
15909
|
], Ht.prototype, "parentErrorChanged", 1);
|
|
15910
15910
|
ii([
|
|
15911
|
-
|
|
15911
|
+
Xe("parentIsLoading")
|
|
15912
15912
|
], Ht.prototype, "parentIsLoadingChanged", 1);
|
|
15913
15913
|
ii([
|
|
15914
15914
|
De("submit")
|
|
@@ -16099,7 +16099,7 @@ function R9(e, i, s, o, t, n) {
|
|
|
16099
16099
|
}]),
|
|
16100
16100
|
tabindex: e.showCancelButton ? -1 : 0,
|
|
16101
16101
|
onClick: i[2] || (i[2] = (...z) => e.emitSelect && e.emitSelect(...z)),
|
|
16102
|
-
onKeypress: i[3] || (i[3] =
|
|
16102
|
+
onKeypress: i[3] || (i[3] = ze(Ie((...z) => e.emitSelect && e.emitSelect(...z), ["prevent"]), ["enter"])),
|
|
16103
16103
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
16104
16104
|
}, ["prevent"]))
|
|
16105
16105
|
}, [
|
|
@@ -16109,7 +16109,7 @@ function R9(e, i, s, o, t, n) {
|
|
|
16109
16109
|
tabindex: "0",
|
|
16110
16110
|
"aria-label": "Clear exam selection",
|
|
16111
16111
|
onClick: i[0] || (i[0] = (...z) => e.emitCancel && e.emitCancel(...z)),
|
|
16112
|
-
onKeypress: i[1] || (i[1] =
|
|
16112
|
+
onKeypress: i[1] || (i[1] = ze(Ie((...z) => e.emitCancel && e.emitCancel(...z), ["prevent"]), ["enter"]))
|
|
16113
16113
|
}, [
|
|
16114
16114
|
Pe(r, { type: "close" })
|
|
16115
16115
|
], 32)) : Le("", !0),
|
|
@@ -16211,7 +16211,7 @@ Ti([
|
|
|
16211
16211
|
De("update:modelValue")
|
|
16212
16212
|
], li.prototype, "emitUpdateModelValue", 1);
|
|
16213
16213
|
Ti([
|
|
16214
|
-
|
|
16214
|
+
Xe("hoverBundleId")
|
|
16215
16215
|
], li.prototype, "hoverBundleIdChanged", 1);
|
|
16216
16216
|
li = Ti([
|
|
16217
16217
|
Me({
|
|
@@ -16228,7 +16228,7 @@ const S9 = { class: "uikit-bundle-list" }, T9 = ["onMouseenter", "onFocus", "onC
|
|
|
16228
16228
|
function j9(e, i, s, o, t, n) {
|
|
16229
16229
|
const r = ge("BundleIcon"), R = ge("PremiumPill"), D = Re("dark");
|
|
16230
16230
|
return N(), V("ul", S9, [
|
|
16231
|
-
(N(!0), V(
|
|
16231
|
+
(N(!0), V(Ke, null, et(e.bundles, (Y) => ne((N(), V("li", {
|
|
16232
16232
|
key: Y.objectId,
|
|
16233
16233
|
class: "uikit-bundle-list__item",
|
|
16234
16234
|
tabindex: "0",
|
|
@@ -16240,7 +16240,7 @@ function j9(e, i, s, o, t, n) {
|
|
|
16240
16240
|
onFocus: (z) => e.hoverBundleId = Y.objectId,
|
|
16241
16241
|
onBlur: i[1] || (i[1] = (z) => e.hoverBundleId = null),
|
|
16242
16242
|
onClick: (z) => e.selectBundle(Y),
|
|
16243
|
-
onKeypress:
|
|
16243
|
+
onKeypress: ze((z) => e.selectBundle(Y), ["enter"]),
|
|
16244
16244
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
16245
16245
|
}, ["prevent"]))
|
|
16246
16246
|
}, [
|
|
@@ -16346,10 +16346,10 @@ qt([
|
|
|
16346
16346
|
H({ default: !1 })
|
|
16347
16347
|
], Ot.prototype, "isDarkMode", 2);
|
|
16348
16348
|
qt([
|
|
16349
|
-
|
|
16349
|
+
Xe("examSearchString")
|
|
16350
16350
|
], Ot.prototype, "examSearchStringChanged", 1);
|
|
16351
16351
|
qt([
|
|
16352
|
-
|
|
16352
|
+
Xe("selectedBundle")
|
|
16353
16353
|
], Ot.prototype, "selectedBundleChanged", 1);
|
|
16354
16354
|
qt([
|
|
16355
16355
|
De("search")
|
|
@@ -16427,7 +16427,7 @@ function eu(e, i, s, o, t, n) {
|
|
|
16427
16427
|
}, 8, ["is-dark-mode"])
|
|
16428
16428
|
]),
|
|
16429
16429
|
oe("ul", J9, [
|
|
16430
|
-
(N(!0), V(
|
|
16430
|
+
(N(!0), V(Ke, null, et(e.filteredExams, (A) => ne((N(), ye(D, {
|
|
16431
16431
|
key: A.objectId,
|
|
16432
16432
|
"is-premium": e.premiumExamIds.includes(A.objectId),
|
|
16433
16433
|
exam: A,
|
|
@@ -16494,7 +16494,7 @@ function eu(e, i, s, o, t, n) {
|
|
|
16494
16494
|
key: e.selectedBundle.objectId,
|
|
16495
16495
|
class: "uikit-exam-search__bundle-exam-list"
|
|
16496
16496
|
}, [
|
|
16497
|
-
(N(!0), V(
|
|
16497
|
+
(N(!0), V(Ke, null, et(e.selectedBundleExams, (A) => ne((N(), ye(D, {
|
|
16498
16498
|
key: A.objectId,
|
|
16499
16499
|
exam: A,
|
|
16500
16500
|
"is-dark-mode": e.isDarkMode,
|
|
@@ -16672,7 +16672,7 @@ function pu(e, i, s, o, t, n) {
|
|
|
16672
16672
|
[R, e.isDarkMode]
|
|
16673
16673
|
]),
|
|
16674
16674
|
ke(e.$slots, "errors", {}, () => [
|
|
16675
|
-
(N(!0), V(
|
|
16675
|
+
(N(!0), V(Ke, null, et(e.filteredErrors, (D) => ne((N(), V("div", {
|
|
16676
16676
|
key: D,
|
|
16677
16677
|
class: "uikit-errors__error"
|
|
16678
16678
|
}, [
|
|
@@ -16742,7 +16742,7 @@ function Iu(e, i, s, o, t, n) {
|
|
|
16742
16742
|
return N(), V("svg", Lu, [
|
|
16743
16743
|
oe("defs", null, [
|
|
16744
16744
|
ku,
|
|
16745
|
-
(N(!0), V(
|
|
16745
|
+
(N(!0), V(Ke, null, et(Object.entries(e.colors), ([r, R]) => (N(), V("linearGradient", {
|
|
16746
16746
|
id: `bundle-icon-gradient-${r}`,
|
|
16747
16747
|
key: r,
|
|
16748
16748
|
x1: "86.4188806%",
|
|
@@ -16959,7 +16959,7 @@ function ju(e, i, s, o, t, n) {
|
|
|
16959
16959
|
], 2)
|
|
16960
16960
|
]),
|
|
16961
16961
|
e.tabs && e.tabs.length ? (N(), V("div", Ru, [
|
|
16962
|
-
(N(!0), V(
|
|
16962
|
+
(N(!0), V(Ke, null, et(e.tabs, (Y, z) => ne((N(), V("div", {
|
|
16963
16963
|
key: Y,
|
|
16964
16964
|
class: ve(["uikit-side-panel__tab", {
|
|
16965
16965
|
"uikit-side-panel__tab--active": e.activeTabName === Y,
|
|
@@ -17748,7 +17748,7 @@ function pp(e, i, s, o, t, n) {
|
|
|
17748
17748
|
role: "button",
|
|
17749
17749
|
"aria-expanded": e.showPassageImageDropdown ? "true" : "false",
|
|
17750
17750
|
onClick: i[0] || (i[0] = Ie((z) => e.showPassageImageDropdown = !e.showPassageImageDropdown, ["stop"])),
|
|
17751
|
-
onKeydown: i[1] || (i[1] =
|
|
17751
|
+
onKeydown: i[1] || (i[1] = ze(Ie((z) => e.showPassageImageDropdown = !e.showPassageImageDropdown, ["stop"]), ["enter"])),
|
|
17752
17752
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
17753
17753
|
}, ["prevent"]))
|
|
17754
17754
|
}, [
|
|
@@ -17916,7 +17916,7 @@ const gp = /* @__PURE__ */ me(It, [["render", pp]]), _r = {
|
|
|
17916
17916
|
highlightKeywordsInText: wo,
|
|
17917
17917
|
studyModes: _r
|
|
17918
17918
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17919
|
-
var fp = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor,
|
|
17919
|
+
var fp = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor, mt = (e, i, s, o) => {
|
|
17920
17920
|
for (var t = o > 1 ? void 0 : o ? Ap(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
17921
17921
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
17922
17922
|
return o && t && fp(i, s, t), t;
|
|
@@ -17952,62 +17952,62 @@ let ut = class extends be {
|
|
|
17952
17952
|
toggleDropdownExplanationImageLongAlt() {
|
|
17953
17953
|
}
|
|
17954
17954
|
};
|
|
17955
|
-
|
|
17955
|
+
mt([
|
|
17956
17956
|
H()
|
|
17957
17957
|
], ut.prototype, "question", 2);
|
|
17958
|
-
|
|
17958
|
+
mt([
|
|
17959
17959
|
H({ default: [] })
|
|
17960
17960
|
], ut.prototype, "answerKeys", 2);
|
|
17961
|
-
|
|
17961
|
+
mt([
|
|
17962
17962
|
H()
|
|
17963
17963
|
], ut.prototype, "choice", 2);
|
|
17964
|
-
|
|
17964
|
+
mt([
|
|
17965
17965
|
H({ default: null })
|
|
17966
17966
|
], ut.prototype, "globalMetrics", 2);
|
|
17967
|
-
|
|
17967
|
+
mt([
|
|
17968
17968
|
H({ default: !1 })
|
|
17969
17969
|
], ut.prototype, "showAnswers", 2);
|
|
17970
|
-
|
|
17970
|
+
mt([
|
|
17971
17971
|
H({ default: !1 })
|
|
17972
17972
|
], ut.prototype, "isMCR", 2);
|
|
17973
|
-
|
|
17973
|
+
mt([
|
|
17974
17974
|
H({ default: !1 })
|
|
17975
17975
|
], ut.prototype, "showExplanationImageLongAlt", 2);
|
|
17976
|
-
|
|
17976
|
+
mt([
|
|
17977
17977
|
H({ default: null })
|
|
17978
17978
|
], ut.prototype, "explanationImageUrl", 2);
|
|
17979
|
-
|
|
17979
|
+
mt([
|
|
17980
17980
|
H({ default: void 0 })
|
|
17981
17981
|
], ut.prototype, "explanationImageAlt", 2);
|
|
17982
|
-
|
|
17982
|
+
mt([
|
|
17983
17983
|
H({ default: void 0 })
|
|
17984
17984
|
], ut.prototype, "explanationImageLongAlt", 2);
|
|
17985
|
-
|
|
17985
|
+
mt([
|
|
17986
17986
|
H({ default: void 0 })
|
|
17987
17987
|
], ut.prototype, "reference", 2);
|
|
17988
|
-
|
|
17988
|
+
mt([
|
|
17989
17989
|
H({ default: !1 })
|
|
17990
17990
|
], ut.prototype, "hideReferences", 2);
|
|
17991
|
-
|
|
17991
|
+
mt([
|
|
17992
17992
|
H({ default: !1 })
|
|
17993
17993
|
], ut.prototype, "isDarkMode", 2);
|
|
17994
|
-
|
|
17994
|
+
mt([
|
|
17995
17995
|
H({ default: null })
|
|
17996
17996
|
], ut.prototype, "questionEl", 2);
|
|
17997
|
-
|
|
17997
|
+
mt([
|
|
17998
17998
|
H({ default: {
|
|
17999
17999
|
mobile: 767,
|
|
18000
18000
|
"tablet-portrait": 1023,
|
|
18001
18001
|
"tablet-landscape": 1439
|
|
18002
18002
|
} })
|
|
18003
18003
|
], ut.prototype, "breakpoints", 2);
|
|
18004
|
-
|
|
18004
|
+
mt([
|
|
18005
18005
|
H({ default: [] })
|
|
18006
18006
|
], ut.prototype, "keywordDefinitions", 2);
|
|
18007
|
-
|
|
18007
|
+
mt([
|
|
18008
18008
|
De("toggleDropdownExplanationImageLongAlt")
|
|
18009
18009
|
], ut.prototype, "toggleDropdownExplanationImageLongAlt", 1);
|
|
18010
|
-
ut =
|
|
18010
|
+
ut = mt([
|
|
18011
18011
|
Me({
|
|
18012
18012
|
components: {
|
|
18013
18013
|
Icon: We,
|
|
@@ -18185,12 +18185,12 @@ function Gp(e, i, s, o, t, n) {
|
|
|
18185
18185
|
]);
|
|
18186
18186
|
}
|
|
18187
18187
|
const Qp = /* @__PURE__ */ me(wi, [["render", Gp]]);
|
|
18188
|
-
var Rp = Object.defineProperty, Op = Object.getOwnPropertyDescriptor,
|
|
18188
|
+
var Rp = Object.defineProperty, Op = Object.getOwnPropertyDescriptor, pt = (e, i, s, o) => {
|
|
18189
18189
|
for (var t = o > 1 ? void 0 : o ? Op(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
18190
18190
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
18191
18191
|
return o && t && Rp(i, s, t), t;
|
|
18192
18192
|
};
|
|
18193
|
-
let
|
|
18193
|
+
let st = class extends be {
|
|
18194
18194
|
constructor() {
|
|
18195
18195
|
super(...arguments);
|
|
18196
18196
|
P(this, "question");
|
|
@@ -18227,68 +18227,68 @@ let nt = class extends be {
|
|
|
18227
18227
|
toggleSummaryExplanationImageLongAlt() {
|
|
18228
18228
|
}
|
|
18229
18229
|
};
|
|
18230
|
-
|
|
18230
|
+
pt([
|
|
18231
18231
|
H()
|
|
18232
|
-
],
|
|
18233
|
-
|
|
18232
|
+
], st.prototype, "question", 2);
|
|
18233
|
+
pt([
|
|
18234
18234
|
H({ default: !1 })
|
|
18235
|
-
],
|
|
18236
|
-
|
|
18235
|
+
], st.prototype, "showExplanation", 2);
|
|
18236
|
+
pt([
|
|
18237
18237
|
H({ default: !1 })
|
|
18238
|
-
],
|
|
18239
|
-
|
|
18238
|
+
], st.prototype, "showExplanationImageLongAlt", 2);
|
|
18239
|
+
pt([
|
|
18240
18240
|
H({ default: null })
|
|
18241
|
-
],
|
|
18242
|
-
|
|
18241
|
+
], st.prototype, "explanationImageUrl", 2);
|
|
18242
|
+
pt([
|
|
18243
18243
|
H({ default: void 0 })
|
|
18244
|
-
],
|
|
18245
|
-
|
|
18244
|
+
], st.prototype, "explanationImageAlt", 2);
|
|
18245
|
+
pt([
|
|
18246
18246
|
H({ default: void 0 })
|
|
18247
|
-
],
|
|
18248
|
-
|
|
18247
|
+
], st.prototype, "explanationImageLongAlt", 2);
|
|
18248
|
+
pt([
|
|
18249
18249
|
H({ default: void 0 })
|
|
18250
|
-
],
|
|
18251
|
-
|
|
18250
|
+
], st.prototype, "reference", 2);
|
|
18251
|
+
pt([
|
|
18252
18252
|
H({ default: !1 })
|
|
18253
|
-
],
|
|
18254
|
-
|
|
18253
|
+
], st.prototype, "hideReferences", 2);
|
|
18254
|
+
pt([
|
|
18255
18255
|
H({ default: !1 })
|
|
18256
|
-
],
|
|
18257
|
-
|
|
18256
|
+
], st.prototype, "isCorrect", 2);
|
|
18257
|
+
pt([
|
|
18258
18258
|
H({ default: !1 })
|
|
18259
|
-
],
|
|
18260
|
-
|
|
18259
|
+
], st.prototype, "isMatrixQuestionCorrect", 2);
|
|
18260
|
+
pt([
|
|
18261
18261
|
H({ default: !1 })
|
|
18262
|
-
],
|
|
18263
|
-
|
|
18262
|
+
], st.prototype, "isUnanswered", 2);
|
|
18263
|
+
pt([
|
|
18264
18264
|
H({ default: !1 })
|
|
18265
|
-
],
|
|
18266
|
-
|
|
18265
|
+
], st.prototype, "reviewMode", 2);
|
|
18266
|
+
pt([
|
|
18267
18267
|
H({ default: !1 })
|
|
18268
|
-
],
|
|
18269
|
-
|
|
18268
|
+
], st.prototype, "isDarkMode", 2);
|
|
18269
|
+
pt([
|
|
18270
18270
|
H({ default: !1 })
|
|
18271
|
-
],
|
|
18272
|
-
|
|
18271
|
+
], st.prototype, "isMatrixQuestion", 2);
|
|
18272
|
+
pt([
|
|
18273
18273
|
H({ default: null })
|
|
18274
|
-
],
|
|
18275
|
-
|
|
18274
|
+
], st.prototype, "questionEl", 2);
|
|
18275
|
+
pt([
|
|
18276
18276
|
H({ default: {
|
|
18277
18277
|
mobile: 767,
|
|
18278
18278
|
"tablet-portrait": 1023,
|
|
18279
18279
|
"tablet-landscape": 1439
|
|
18280
18280
|
} })
|
|
18281
|
-
],
|
|
18282
|
-
|
|
18281
|
+
], st.prototype, "breakpoints", 2);
|
|
18282
|
+
pt([
|
|
18283
18283
|
H({ default: [] })
|
|
18284
|
-
],
|
|
18285
|
-
|
|
18284
|
+
], st.prototype, "keywordDefinitions", 2);
|
|
18285
|
+
pt([
|
|
18286
18286
|
De("toggleSummaryExplanation")
|
|
18287
|
-
],
|
|
18288
|
-
|
|
18287
|
+
], st.prototype, "toggleSummaryExplanation", 1);
|
|
18288
|
+
pt([
|
|
18289
18289
|
De("toggleSummaryExplanationImageLongAlt")
|
|
18290
|
-
],
|
|
18291
|
-
|
|
18290
|
+
], st.prototype, "toggleSummaryExplanationImageLongAlt", 1);
|
|
18291
|
+
st = pt([
|
|
18292
18292
|
Me({
|
|
18293
18293
|
components: {
|
|
18294
18294
|
Icon: We,
|
|
@@ -18299,7 +18299,7 @@ nt = gt([
|
|
|
18299
18299
|
breakpoint: Mt
|
|
18300
18300
|
}
|
|
18301
18301
|
})
|
|
18302
|
-
],
|
|
18302
|
+
], st);
|
|
18303
18303
|
const Yp = { class: "uikit-question-summary__summary-title" }, Sp = ["innerHTML"], Tp = ["src", "alt"], jp = /* @__PURE__ */ oe("span", { class: "uikit-question-summary__toggle-summary-dropdown-explanation-img-description-text" }, " Image Description ", -1), Hp = ["innerHTML"], Fp = {
|
|
18304
18304
|
key: 3,
|
|
18305
18305
|
class: "uikit-question-summary__summary-dropdown-reference"
|
|
@@ -18427,7 +18427,7 @@ function Zp(e, i, s, o, t, n) {
|
|
|
18427
18427
|
[D, e.breakpoints, "questionEl"]
|
|
18428
18428
|
]);
|
|
18429
18429
|
}
|
|
18430
|
-
const Jp = /* @__PURE__ */ me(
|
|
18430
|
+
const Jp = /* @__PURE__ */ me(st, [["render", Zp]]);
|
|
18431
18431
|
var Wp = Object.defineProperty, Up = Object.getOwnPropertyDescriptor, Je = (e, i, s, o) => {
|
|
18432
18432
|
for (var t = o > 1 ? void 0 : o ? Up(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
18433
18433
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
@@ -18638,7 +18638,7 @@ Ne = Je([
|
|
|
18638
18638
|
const qp = ["onMouseover", "onFocusin", "onClick", "onKeydown", "onTouchend"], Kp = ["tabindex", "role", "aria-checked", "aria-label", "innerHTML"], Xp = ["tabindex", "aria-checked", "onClick", "onKeydown"], Vp = { class: "uikit-question-choices-container__choice-stats-pct" }, _p = { class: "uikit-question-choices-container__choice-stats-bar" };
|
|
18639
18639
|
function $p(e, i, s, o, t, n) {
|
|
18640
18640
|
const r = ge("Icon"), R = ge("PocketButton"), D = ge("DropdownExplanation"), Y = Re("breakpoint"), z = Re("dark");
|
|
18641
|
-
return N(!0), V(
|
|
18641
|
+
return N(!0), V(Ke, null, et(e.choices, (E, I) => (N(), V("div", {
|
|
18642
18642
|
class: "uikit-question-choices-container",
|
|
18643
18643
|
key: E.key,
|
|
18644
18644
|
ref_for: !0,
|
|
@@ -18662,7 +18662,7 @@ function $p(e, i, s, o, t, n) {
|
|
|
18662
18662
|
onFocusin: (G) => e.emitChoiceFocusIn(E.key),
|
|
18663
18663
|
onFocusout: i[4] || (i[4] = (G) => e.emitChoiceFocusOut(G)),
|
|
18664
18664
|
onClick: Ie((G) => e.emitSelectedChoice(E.key), ["stop"]),
|
|
18665
|
-
onKeydown:
|
|
18665
|
+
onKeydown: ze(Ie((G) => e.emitSelectedChoice(E.key), ["stop"]), ["enter"]),
|
|
18666
18666
|
onTouchstart: i[5] || (i[5] = (G) => e.emitHandleTouchStart(G)),
|
|
18667
18667
|
onTouchmove: i[6] || (i[6] = (G) => e.emitHandleTouchMove(G)),
|
|
18668
18668
|
onTouchend: (G) => e.emitHandleTouchEnd(E.key, G)
|
|
@@ -18785,7 +18785,7 @@ function $p(e, i, s, o, t, n) {
|
|
|
18785
18785
|
[z, e.isDarkMode],
|
|
18786
18786
|
[Y, e.breakpoints, "questionEl"]
|
|
18787
18787
|
]),
|
|
18788
|
-
e.globalMetrics ? (N(), V(
|
|
18788
|
+
e.globalMetrics ? (N(), V(Ke, { key: 2 }, [
|
|
18789
18789
|
ne((N(), V("div", Vp, [
|
|
18790
18790
|
xe(Ce(e.choiceScores[E.key]) + " % ", 1)
|
|
18791
18791
|
])), [
|
|
@@ -18806,7 +18806,7 @@ function $p(e, i, s, o, t, n) {
|
|
|
18806
18806
|
])), [
|
|
18807
18807
|
[z, e.isDarkMode]
|
|
18808
18808
|
])
|
|
18809
|
-
], 64)) : (N(), V(
|
|
18809
|
+
], 64)) : (N(), V(Ke, { key: 1 }, [
|
|
18810
18810
|
e.showAnswers ? Le("", !0) : ne((N(), V("div", {
|
|
18811
18811
|
key: 0,
|
|
18812
18812
|
tabindex: e.showAnswers ? -1 : 0,
|
|
@@ -18820,7 +18820,7 @@ function $p(e, i, s, o, t, n) {
|
|
|
18820
18820
|
onMousedown: i[1] || (i[1] = Ie(() => {
|
|
18821
18821
|
}, ["prevent"])),
|
|
18822
18822
|
onClick: Ie((G) => e.emitClickChoiceStrike(E.key), ["stop"]),
|
|
18823
|
-
onKeydown:
|
|
18823
|
+
onKeydown: ze(Ie((G) => e.emitClickChoiceStrike(E.key), ["stop"]), ["enter"])
|
|
18824
18824
|
}, [
|
|
18825
18825
|
Pe(r, { type: "strike" })
|
|
18826
18826
|
], 42, Xp)), [
|
|
@@ -19136,7 +19136,7 @@ function kg(e, i, s, o, t, n) {
|
|
|
19136
19136
|
tabindex: "0",
|
|
19137
19137
|
role: "button",
|
|
19138
19138
|
"aria-label": "Close explanation",
|
|
19139
|
-
onKeydown: i[1] || (i[1] =
|
|
19139
|
+
onKeydown: i[1] || (i[1] = ze(Ie((...z) => e.toggleExplanation && e.toggleExplanation(...z), ["stop"]), ["enter"])),
|
|
19140
19140
|
onClick: i[2] || (i[2] = Ie((...z) => e.toggleExplanation && e.toggleExplanation(...z), ["stop"])),
|
|
19141
19141
|
onMousedown: i[3] || (i[3] = Ie(() => {
|
|
19142
19142
|
}, ["prevent"]))
|
|
@@ -19324,7 +19324,7 @@ const Yg = /* @__PURE__ */ me(Et, [["render", Og]]), Sg = {
|
|
|
19324
19324
|
i.value = o;
|
|
19325
19325
|
};
|
|
19326
19326
|
return (o, t) => o.choices.length ? ne((N(), V("ul", Sg, [
|
|
19327
|
-
(N(!0), V(
|
|
19327
|
+
(N(!0), V(Ke, null, et(o.choices, (n) => {
|
|
19328
19328
|
var r, R;
|
|
19329
19329
|
return ne((N(), V("li", {
|
|
19330
19330
|
class: ve(["uikit-matrix-radio-group__option", {
|
|
@@ -19359,12 +19359,12 @@ const Yg = /* @__PURE__ */ me(Et, [["render", Og]]), Sg = {
|
|
|
19359
19359
|
}
|
|
19360
19360
|
});
|
|
19361
19361
|
const Hg = /* @__PURE__ */ me(jg, [["__scopeId", "data-v-fcdf98e7"]]);
|
|
19362
|
-
var Fg = Object.defineProperty, zg = Object.getOwnPropertyDescriptor,
|
|
19362
|
+
var Fg = Object.defineProperty, zg = Object.getOwnPropertyDescriptor, At = (e, i, s, o) => {
|
|
19363
19363
|
for (var t = o > 1 ? void 0 : o ? zg(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
19364
19364
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
19365
19365
|
return o && t && Fg(i, s, t), t;
|
|
19366
19366
|
};
|
|
19367
|
-
let
|
|
19367
|
+
let lt = class extends be {
|
|
19368
19368
|
constructor() {
|
|
19369
19369
|
super(...arguments);
|
|
19370
19370
|
P(this, "reviewMode");
|
|
@@ -19379,6 +19379,7 @@ let pt = class extends be {
|
|
|
19379
19379
|
P(this, "matrixAnswerKeys");
|
|
19380
19380
|
P(this, "matrixDistractorKeys");
|
|
19381
19381
|
P(this, "selectedMatrixChoices");
|
|
19382
|
+
P(this, "isTeachGroupReview");
|
|
19382
19383
|
P(this, "matrixCheckboxGrid");
|
|
19383
19384
|
P(this, "matrixRadioGrid");
|
|
19384
19385
|
P(this, "columnIndex", 0);
|
|
@@ -19535,62 +19536,65 @@ let pt = class extends be {
|
|
|
19535
19536
|
}
|
|
19536
19537
|
}
|
|
19537
19538
|
};
|
|
19538
|
-
|
|
19539
|
+
At([
|
|
19539
19540
|
H({ default: !1 })
|
|
19540
|
-
],
|
|
19541
|
-
|
|
19541
|
+
], lt.prototype, "reviewMode", 2);
|
|
19542
|
+
At([
|
|
19542
19543
|
H({ default: !1 })
|
|
19543
|
-
],
|
|
19544
|
-
|
|
19544
|
+
], lt.prototype, "isDarkMode", 2);
|
|
19545
|
+
At([
|
|
19545
19546
|
H({ default: null })
|
|
19546
|
-
],
|
|
19547
|
-
|
|
19547
|
+
], lt.prototype, "questionEl", 2);
|
|
19548
|
+
At([
|
|
19548
19549
|
H({ default: {
|
|
19549
19550
|
mobile: 767,
|
|
19550
19551
|
"tablet-portrait": 1023,
|
|
19551
19552
|
"tablet-landscape": 1439
|
|
19552
19553
|
} })
|
|
19553
|
-
],
|
|
19554
|
-
|
|
19554
|
+
], lt.prototype, "breakpoints", 2);
|
|
19555
|
+
At([
|
|
19555
19556
|
H()
|
|
19556
|
-
],
|
|
19557
|
-
|
|
19557
|
+
], lt.prototype, "question", 2);
|
|
19558
|
+
At([
|
|
19558
19559
|
H()
|
|
19559
|
-
],
|
|
19560
|
-
|
|
19560
|
+
], lt.prototype, "matrixChoiceLayout", 2);
|
|
19561
|
+
At([
|
|
19561
19562
|
H({ default: !1 })
|
|
19562
|
-
],
|
|
19563
|
-
|
|
19563
|
+
], lt.prototype, "showMatrixAnswers", 2);
|
|
19564
|
+
At([
|
|
19564
19565
|
H({ default: !1 })
|
|
19565
|
-
],
|
|
19566
|
-
|
|
19566
|
+
], lt.prototype, "isUnanswered", 2);
|
|
19567
|
+
At([
|
|
19567
19568
|
H({ default: !1 })
|
|
19568
|
-
],
|
|
19569
|
-
|
|
19569
|
+
], lt.prototype, "isMatrixQuestionCorrect", 2);
|
|
19570
|
+
At([
|
|
19570
19571
|
H()
|
|
19571
|
-
],
|
|
19572
|
-
|
|
19572
|
+
], lt.prototype, "matrixAnswerKeys", 2);
|
|
19573
|
+
At([
|
|
19573
19574
|
H()
|
|
19574
|
-
],
|
|
19575
|
-
|
|
19575
|
+
], lt.prototype, "matrixDistractorKeys", 2);
|
|
19576
|
+
At([
|
|
19576
19577
|
H()
|
|
19577
|
-
],
|
|
19578
|
-
|
|
19578
|
+
], lt.prototype, "selectedMatrixChoices", 2);
|
|
19579
|
+
At([
|
|
19580
|
+
H({ default: !1 })
|
|
19581
|
+
], lt.prototype, "isTeachGroupReview", 2);
|
|
19582
|
+
At([
|
|
19579
19583
|
De("emitSelectedMatrixChoice")
|
|
19580
|
-
],
|
|
19581
|
-
|
|
19584
|
+
], lt.prototype, "emitSelectedMatrixChoice", 1);
|
|
19585
|
+
At([
|
|
19582
19586
|
De("emitAnsweredMatrixRowIndex")
|
|
19583
|
-
],
|
|
19584
|
-
|
|
19585
|
-
|
|
19586
|
-
],
|
|
19587
|
-
|
|
19588
|
-
|
|
19589
|
-
],
|
|
19590
|
-
|
|
19591
|
-
|
|
19592
|
-
],
|
|
19593
|
-
|
|
19587
|
+
], lt.prototype, "emitAnsweredMatrixRowIndex", 1);
|
|
19588
|
+
At([
|
|
19589
|
+
Xe("matrixCheckboxGrid", { deep: !0 })
|
|
19590
|
+
], lt.prototype, "matrixCheckboxGridChange", 1);
|
|
19591
|
+
At([
|
|
19592
|
+
Xe("matrixRadioGrid", { deep: !0 })
|
|
19593
|
+
], lt.prototype, "matrixRadioGridChange", 1);
|
|
19594
|
+
At([
|
|
19595
|
+
Xe("selectedMatrixChoices")
|
|
19596
|
+
], lt.prototype, "selectedMatrixChoicesChange", 1);
|
|
19597
|
+
lt = At([
|
|
19594
19598
|
Me({
|
|
19595
19599
|
components: {
|
|
19596
19600
|
Icon: We,
|
|
@@ -19603,7 +19607,7 @@ pt = mt([
|
|
|
19603
19607
|
breakpoint: Mt
|
|
19604
19608
|
}
|
|
19605
19609
|
})
|
|
19606
|
-
],
|
|
19610
|
+
], lt);
|
|
19607
19611
|
const Ng = {
|
|
19608
19612
|
class: "uikit-question-matrix-choices-container",
|
|
19609
19613
|
ref: "uikit-question-matrix-choices-container"
|
|
@@ -19621,7 +19625,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19621
19625
|
[Y, e.isDarkMode],
|
|
19622
19626
|
[z, e.breakpoints, "questionEl"]
|
|
19623
19627
|
]),
|
|
19624
|
-
(N(!0), V(
|
|
19628
|
+
(N(!0), V(Ke, null, et(e.matrixColumnLabels, (E, I) => ne((N(), V("div", {
|
|
19625
19629
|
class: ve(["uikit-question-matrix-choices-container__column-header", {
|
|
19626
19630
|
"uikit-question-matrix-choices-container__column-header--two-columns": e.numberOfMatrixColumnLabels === 2
|
|
19627
19631
|
}]),
|
|
@@ -19639,10 +19643,11 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19639
19643
|
ne((N(), V("div", {
|
|
19640
19644
|
class: ve(["uikit-question-matrix-choices-container__choices-container", {
|
|
19641
19645
|
"uikit-question-matrix-choices-container__choices-container--correct": (e.showMatrixAnswers || e.reviewMode) && e.isMatrixQuestionCorrect,
|
|
19642
|
-
"uikit-question-matrix-choices-container__choices-container--incorrect": (e.showMatrixAnswers || e.reviewMode) && !e.isMatrixQuestionCorrect
|
|
19646
|
+
"uikit-question-matrix-choices-container__choices-container--incorrect": (e.showMatrixAnswers || e.reviewMode) && !e.isMatrixQuestionCorrect,
|
|
19647
|
+
"uikit-question-matrix-choices-container__choices-container--teach-group-review": (e.showMatrixAnswers || e.reviewMode) && e.isTeachGroupReview
|
|
19643
19648
|
}])
|
|
19644
19649
|
}, [
|
|
19645
|
-
(N(!0), V(
|
|
19650
|
+
(N(!0), V(Ke, null, et(e.matrixRowLabels, (E, I) => ne((N(), V("div", {
|
|
19646
19651
|
class: ve(["uikit-question-matrix-choices-container__choices", {
|
|
19647
19652
|
"uikit-question-matrix-choices-container__choices--two-columns": e.numberOfMatrixColumnLabels === 2
|
|
19648
19653
|
}]),
|
|
@@ -19657,7 +19662,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19657
19662
|
[Y, e.isDarkMode],
|
|
19658
19663
|
[z, e.breakpoints, "questionEl"]
|
|
19659
19664
|
]),
|
|
19660
|
-
e.question.type === "Matrix Checkbox" && e.matrixCheckboxGrid && e.matrixCheckboxGrid[I] ? (N(!0), V(
|
|
19665
|
+
e.question.type === "Matrix Checkbox" && e.matrixCheckboxGrid && e.matrixCheckboxGrid[I] ? (N(!0), V(Ke, { key: 0 }, et(e.matrixColumnLabels, (G, A) => ne((N(), V("div", {
|
|
19661
19666
|
class: ve(["uikit-question-matrix-choices-container__checkbox", {
|
|
19662
19667
|
"uikit-question-matrix-choices-container__checkbox--two-columns": e.numberOfMatrixColumnLabels === 2
|
|
19663
19668
|
}]),
|
|
@@ -19676,7 +19681,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19676
19681
|
"uikit-question-matrix-choices-container__clickable-checkbox--review": e.showMatrixAnswers || e.reviewMode
|
|
19677
19682
|
}]),
|
|
19678
19683
|
onClick: (g) => !(e.showMatrixAnswers || e.reviewMode) && e.checkboxClicked(I, A),
|
|
19679
|
-
onKeypress:
|
|
19684
|
+
onKeypress: ze((g) => !(e.showMatrixAnswers || e.reviewMode) && e.checkboxClicked(I, A), ["enter"])
|
|
19680
19685
|
}, [
|
|
19681
19686
|
Pe(r, {
|
|
19682
19687
|
"model-value": e.matrixCheckboxGrid[I][A],
|
|
@@ -19710,7 +19715,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19710
19715
|
"onUpdate:modelValue": (G) => e.updateRadioRowSelection(I, G)
|
|
19711
19716
|
}, {
|
|
19712
19717
|
optionIcon: Te(({ optionIcon: G }) => [
|
|
19713
|
-
G.isVisible ? (N(), V(
|
|
19718
|
+
G.isVisible ? (N(), V(Ke, { key: 0 }, [
|
|
19714
19719
|
G.isCorrect ? ne((N(), ye(R, {
|
|
19715
19720
|
key: 0,
|
|
19716
19721
|
type: "correct",
|
|
@@ -19740,7 +19745,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19740
19745
|
[Y, e.isDarkMode]
|
|
19741
19746
|
]);
|
|
19742
19747
|
}
|
|
19743
|
-
const Xg = /* @__PURE__ */ me(
|
|
19748
|
+
const Xg = /* @__PURE__ */ me(lt, [["render", Kg]]), Vg = {
|
|
19744
19749
|
key: 0,
|
|
19745
19750
|
class: "uikit-mobile-matrix-radio-group",
|
|
19746
19751
|
role: "radiogroup"
|
|
@@ -19773,7 +19778,7 @@ const Xg = /* @__PURE__ */ me(pt, [["render", Kg]]), Vg = {
|
|
|
19773
19778
|
return "blue";
|
|
19774
19779
|
}, n = (r) => r == null ? void 0 : r.replace(/<[^\s>]+[^>]*>/gi, " ").trim();
|
|
19775
19780
|
return (r, R) => r.choices.length ? ne((N(), V("ul", Vg, [
|
|
19776
|
-
(N(!0), V(
|
|
19781
|
+
(N(!0), V(Ke, null, et(r.choices, (D, Y) => ne((N(), V("li", {
|
|
19777
19782
|
class: "uikit-mobile-matrix-radio-group__option",
|
|
19778
19783
|
role: "radio",
|
|
19779
19784
|
key: D,
|
|
@@ -19807,12 +19812,12 @@ const Xg = /* @__PURE__ */ me(pt, [["render", Kg]]), Vg = {
|
|
|
19807
19812
|
}
|
|
19808
19813
|
});
|
|
19809
19814
|
const tf = /* @__PURE__ */ me(ef, [["__scopeId", "data-v-7f9b64b0"]]);
|
|
19810
|
-
var of = Object.defineProperty, sf = Object.getOwnPropertyDescriptor,
|
|
19815
|
+
var of = Object.defineProperty, sf = Object.getOwnPropertyDescriptor, gt = (e, i, s, o) => {
|
|
19811
19816
|
for (var t = o > 1 ? void 0 : o ? sf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
19812
19817
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
19813
19818
|
return o && t && of(i, s, t), t;
|
|
19814
19819
|
};
|
|
19815
|
-
let
|
|
19820
|
+
let nt = class extends be {
|
|
19816
19821
|
constructor() {
|
|
19817
19822
|
super(...arguments);
|
|
19818
19823
|
P(this, "reviewMode");
|
|
@@ -19954,13 +19959,16 @@ let st = class extends be {
|
|
|
19954
19959
|
return !1;
|
|
19955
19960
|
}
|
|
19956
19961
|
convertSelectedMatrixChoiceToCheckboxGrid() {
|
|
19957
|
-
|
|
19958
|
-
|
|
19959
|
-
|
|
19960
|
-
|
|
19961
|
-
|
|
19962
|
-
|
|
19963
|
-
|
|
19962
|
+
var n;
|
|
19963
|
+
const s = this.defaultCheckboxGrid, o = (n = this.question.matrixLabels) == null ? void 0 : n.rows, t = [];
|
|
19964
|
+
return o && (o.forEach(() => {
|
|
19965
|
+
t.push([]);
|
|
19966
|
+
}), this.selectedColumnHeaders = t), this.selectedMatrixChoices.forEach((r) => {
|
|
19967
|
+
var Y, z;
|
|
19968
|
+
const R = Number(r.substring(1, r.indexOf("_"))) - 1, D = Number(r.split("_").pop()) - 1;
|
|
19969
|
+
if (s && s[R] && (s[R][D] = !0, this.selectedColumnHeaders[R] && ((Y = this.question.matrixLabels) != null && Y.columns[D]))) {
|
|
19970
|
+
const E = (z = this.question.matrixLabels) == null ? void 0 : z.columns[D];
|
|
19971
|
+
this.selectedColumnHeaders[R].push(E);
|
|
19964
19972
|
}
|
|
19965
19973
|
}), s;
|
|
19966
19974
|
}
|
|
@@ -19971,13 +19979,23 @@ let st = class extends be {
|
|
|
19971
19979
|
const t = Number(o.substring(1, o.indexOf("_"))) - 1, n = Number(o.split("_").pop()) - 1;
|
|
19972
19980
|
if (this.selectedColumnHeaders[t] && ((r = this.question.matrixLabels) != null && r.columns[n])) {
|
|
19973
19981
|
const D = (R = this.question.matrixLabels) == null ? void 0 : R.columns[n];
|
|
19974
|
-
this.selectedColumnHeaders[t].push(D);
|
|
19982
|
+
this.selectedColumnHeaders[t].pop(), this.selectedColumnHeaders[t].push(D);
|
|
19975
19983
|
}
|
|
19976
19984
|
s && s[t] && (s[t].value = o);
|
|
19977
19985
|
}), s;
|
|
19978
19986
|
}
|
|
19979
19987
|
checkboxRowClicked(s, o) {
|
|
19980
|
-
|
|
19988
|
+
var t;
|
|
19989
|
+
if (this.matrixCheckboxGrid && this.matrixCheckboxGrid[s]) {
|
|
19990
|
+
this.matrixCheckboxGrid[s][o] = !this.matrixCheckboxGrid[s][o];
|
|
19991
|
+
const n = (t = this.question.matrixLabels) == null ? void 0 : t.columns[o];
|
|
19992
|
+
if (this.selectedColumnHeaders && this.selectedColumnHeaders[s] && n)
|
|
19993
|
+
if (this.selectedColumnHeaders[s].includes(n)) {
|
|
19994
|
+
const r = this.selectedColumnHeaders[s].indexOf(n);
|
|
19995
|
+
r !== -1 && this.selectedColumnHeaders[s].splice(r, 1);
|
|
19996
|
+
} else
|
|
19997
|
+
this.selectedColumnHeaders[s].push(n);
|
|
19998
|
+
}
|
|
19981
19999
|
}
|
|
19982
20000
|
emitSelectedMatrixChoice(s) {
|
|
19983
20001
|
return s;
|
|
@@ -19998,20 +20016,6 @@ let st = class extends be {
|
|
|
19998
20016
|
}), this.emitSelectedMatrixChoice(s), this.emitAnsweredMatrixRowIndex(o);
|
|
19999
20017
|
}
|
|
20000
20018
|
}
|
|
20001
|
-
addRemoveCheckboxColumnHeaders() {
|
|
20002
|
-
if (this.matrixCheckboxGrid) {
|
|
20003
|
-
const s = [];
|
|
20004
|
-
this.matrixCheckboxGrid.forEach((o, t) => {
|
|
20005
|
-
s.push([]), o.forEach((n, r) => {
|
|
20006
|
-
var R, D, Y;
|
|
20007
|
-
if (n && ((R = this.question.matrixLabels) != null && R.columns) && ((D = this.question.matrixLabels) != null && D.columns[r])) {
|
|
20008
|
-
const z = (Y = this.question.matrixLabels) == null ? void 0 : Y.columns[r];
|
|
20009
|
-
s[t] && s[t].push(z);
|
|
20010
|
-
}
|
|
20011
|
-
}), this.selectedColumnHeaders = s;
|
|
20012
|
-
});
|
|
20013
|
-
}
|
|
20014
|
-
}
|
|
20015
20019
|
matrixRadioGridChange() {
|
|
20016
20020
|
if (this.matrixChoiceLayout && this.matrixRadioGrid && (!this.reviewMode || !this.showMatrixAnswers)) {
|
|
20017
20021
|
const s = [], o = [];
|
|
@@ -20034,71 +20038,68 @@ let st = class extends be {
|
|
|
20034
20038
|
}
|
|
20035
20039
|
}
|
|
20036
20040
|
};
|
|
20037
|
-
|
|
20041
|
+
gt([
|
|
20038
20042
|
H({ default: !1 })
|
|
20039
|
-
],
|
|
20040
|
-
|
|
20043
|
+
], nt.prototype, "reviewMode", 2);
|
|
20044
|
+
gt([
|
|
20041
20045
|
H({ default: !1 })
|
|
20042
|
-
],
|
|
20043
|
-
|
|
20046
|
+
], nt.prototype, "isDarkMode", 2);
|
|
20047
|
+
gt([
|
|
20044
20048
|
H({ default: null })
|
|
20045
|
-
],
|
|
20046
|
-
|
|
20049
|
+
], nt.prototype, "questionEl", 2);
|
|
20050
|
+
gt([
|
|
20047
20051
|
H({ default: {
|
|
20048
20052
|
mobile: 767,
|
|
20049
20053
|
"tablet-portrait": 1023,
|
|
20050
20054
|
"tablet-landscape": 1439
|
|
20051
20055
|
} })
|
|
20052
|
-
],
|
|
20053
|
-
|
|
20056
|
+
], nt.prototype, "breakpoints", 2);
|
|
20057
|
+
gt([
|
|
20054
20058
|
H()
|
|
20055
|
-
],
|
|
20056
|
-
|
|
20059
|
+
], nt.prototype, "question", 2);
|
|
20060
|
+
gt([
|
|
20057
20061
|
H()
|
|
20058
|
-
],
|
|
20059
|
-
|
|
20062
|
+
], nt.prototype, "matrixChoiceLayout", 2);
|
|
20063
|
+
gt([
|
|
20060
20064
|
H({ default: !1 })
|
|
20061
|
-
],
|
|
20062
|
-
|
|
20065
|
+
], nt.prototype, "showMatrixAnswers", 2);
|
|
20066
|
+
gt([
|
|
20063
20067
|
H({ default: !1 })
|
|
20064
|
-
],
|
|
20065
|
-
|
|
20068
|
+
], nt.prototype, "isUnanswered", 2);
|
|
20069
|
+
gt([
|
|
20066
20070
|
H({ default: !1 })
|
|
20067
|
-
],
|
|
20068
|
-
|
|
20071
|
+
], nt.prototype, "isMatrixQuestionCorrect", 2);
|
|
20072
|
+
gt([
|
|
20069
20073
|
H()
|
|
20070
|
-
],
|
|
20071
|
-
|
|
20074
|
+
], nt.prototype, "matrixAnswerKeys", 2);
|
|
20075
|
+
gt([
|
|
20072
20076
|
H()
|
|
20073
|
-
],
|
|
20074
|
-
|
|
20077
|
+
], nt.prototype, "matrixDistractorKeys", 2);
|
|
20078
|
+
gt([
|
|
20075
20079
|
H()
|
|
20076
|
-
],
|
|
20077
|
-
|
|
20080
|
+
], nt.prototype, "selectedMatrixChoices", 2);
|
|
20081
|
+
gt([
|
|
20078
20082
|
H()
|
|
20079
|
-
],
|
|
20080
|
-
|
|
20083
|
+
], nt.prototype, "matrixChoices", 2);
|
|
20084
|
+
gt([
|
|
20081
20085
|
De("emitSelectedMatrixChoice")
|
|
20082
|
-
],
|
|
20083
|
-
|
|
20086
|
+
], nt.prototype, "emitSelectedMatrixChoice", 1);
|
|
20087
|
+
gt([
|
|
20084
20088
|
De("emitAnsweredMatrixRowIndex")
|
|
20085
|
-
],
|
|
20086
|
-
|
|
20087
|
-
|
|
20088
|
-
],
|
|
20089
|
-
|
|
20090
|
-
|
|
20091
|
-
],
|
|
20092
|
-
|
|
20093
|
-
|
|
20094
|
-
],
|
|
20095
|
-
|
|
20096
|
-
|
|
20097
|
-
],
|
|
20098
|
-
|
|
20099
|
-
Ke("selectedMatrixChoices")
|
|
20100
|
-
], st.prototype, "selectedMatrixChoicesChange", 1);
|
|
20101
|
-
st = lt([
|
|
20089
|
+
], nt.prototype, "emitAnsweredMatrixRowIndex", 1);
|
|
20090
|
+
gt([
|
|
20091
|
+
Xe("matrixCheckboxGrid", { deep: !0 })
|
|
20092
|
+
], nt.prototype, "matrixCheckboxGridChange", 1);
|
|
20093
|
+
gt([
|
|
20094
|
+
Xe("matrixRadioGrid", { deep: !0 })
|
|
20095
|
+
], nt.prototype, "matrixRadioGridChange", 1);
|
|
20096
|
+
gt([
|
|
20097
|
+
Xe("showMatrixAnswers")
|
|
20098
|
+
], nt.prototype, "closeRows", 1);
|
|
20099
|
+
gt([
|
|
20100
|
+
Xe("selectedMatrixChoices")
|
|
20101
|
+
], nt.prototype, "selectedMatrixChoicesChange", 1);
|
|
20102
|
+
nt = gt([
|
|
20102
20103
|
Me({
|
|
20103
20104
|
components: {
|
|
20104
20105
|
Icon: We,
|
|
@@ -20111,7 +20112,7 @@ st = lt([
|
|
|
20111
20112
|
breakpoint: Mt
|
|
20112
20113
|
}
|
|
20113
20114
|
})
|
|
20114
|
-
],
|
|
20115
|
+
], nt);
|
|
20115
20116
|
const nf = { class: "uikit-question-mobile-matrix-choices-container" }, rf = ["onClick"], af = { class: "uikit-question-mobile-matrix-choices-container__row-label" }, lf = { class: "uikit-question-mobile-matrix-choices-container__selected-choice-labels-container" }, hf = {
|
|
20116
20117
|
key: 0,
|
|
20117
20118
|
class: "uikit-question-mobile-matrix-choices-container__selected-choice-labels"
|
|
@@ -20125,7 +20126,7 @@ function pf(e, i, s, o, t, n) {
|
|
|
20125
20126
|
"uikit-question-mobile-matrix-choices-container__choices-container--incorrect": (e.showMatrixAnswers || e.reviewMode) && !e.isMatrixQuestionCorrect
|
|
20126
20127
|
}])
|
|
20127
20128
|
}, [
|
|
20128
|
-
(N(!0), V(
|
|
20129
|
+
(N(!0), V(Ke, null, et(e.matrixRowLabels, (E, I) => ne((N(), V("div", {
|
|
20129
20130
|
class: "uikit-question-mobile-matrix-choices-container__row-container",
|
|
20130
20131
|
key: I
|
|
20131
20132
|
}, [
|
|
@@ -20163,7 +20164,7 @@ function pf(e, i, s, o, t, n) {
|
|
|
20163
20164
|
[Y, e.isDarkMode]
|
|
20164
20165
|
]),
|
|
20165
20166
|
oe("div", lf, [
|
|
20166
|
-
(N(!0), V(
|
|
20167
|
+
(N(!0), V(Ke, null, et(e.selectedColumnHeaders, (G, A) => ne((N(), V("div", { key: A }, [
|
|
20167
20168
|
e.selectedColumnHeaders && e.selectedColumnHeaders[I] && e.selectedColumnHeaders[I][A] ? ne((N(), V("div", hf, [
|
|
20168
20169
|
xe(Ce(e.selectedColumnHeaders[I][A] === e.selectedColumnHeaders[I][e.selectedColumnHeaders[I].length - 1] ? e.stripText(e.selectedColumnHeaders[I][A]) : `${e.stripText(e.selectedColumnHeaders[I][A])},`), 1)
|
|
20169
20170
|
])), [
|
|
@@ -20179,13 +20180,13 @@ function pf(e, i, s, o, t, n) {
|
|
|
20179
20180
|
[z, e.breakpoints, "questionEl"]
|
|
20180
20181
|
]),
|
|
20181
20182
|
e.expandedRowNumbers.includes(I) && e.question.type === "Matrix Checkbox" && e.matrixCheckboxGrid && e.matrixCheckboxGrid[I] ? (N(), V("div", df, [
|
|
20182
|
-
(N(!0), V(
|
|
20183
|
+
(N(!0), V(Ke, null, et(e.matrixColumnLabels, (G, A) => {
|
|
20183
20184
|
var g;
|
|
20184
20185
|
return ne((N(), V("div", {
|
|
20185
20186
|
class: "uikit-question-mobile-matrix-choices-container__choice",
|
|
20186
20187
|
key: A,
|
|
20187
20188
|
onClick: (p) => !(e.showMatrixAnswers || e.reviewMode) && e.checkboxRowClicked(I, A),
|
|
20188
|
-
onKeypress:
|
|
20189
|
+
onKeypress: ze((p) => !(e.showMatrixAnswers || e.reviewMode) && e.checkboxRowClicked(I, A), ["enter"])
|
|
20189
20190
|
}, [
|
|
20190
20191
|
(e.showMatrixAnswers || e.reviewMode) && e.correctAnswerButNotSelected(I, A) ? (N(), ye(R, {
|
|
20191
20192
|
key: 0,
|
|
@@ -20239,13 +20240,13 @@ function pf(e, i, s, o, t, n) {
|
|
|
20239
20240
|
[Y, e.isDarkMode]
|
|
20240
20241
|
]);
|
|
20241
20242
|
}
|
|
20242
|
-
const gf = /* @__PURE__ */ me(
|
|
20243
|
+
const gf = /* @__PURE__ */ me(nt, [["render", pf]]);
|
|
20243
20244
|
var ff = Object.defineProperty, Af = Object.getOwnPropertyDescriptor, Ze = (e, i, s, o) => {
|
|
20244
20245
|
for (var t = o > 1 ? void 0 : o ? Af(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
20245
20246
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
20246
20247
|
return o && t && ff(i, s, t), t;
|
|
20247
20248
|
};
|
|
20248
|
-
let
|
|
20249
|
+
let Fe = class extends be {
|
|
20249
20250
|
constructor() {
|
|
20250
20251
|
super(...arguments);
|
|
20251
20252
|
P(this, "question");
|
|
@@ -20272,6 +20273,7 @@ let ze = class extends be {
|
|
|
20272
20273
|
P(this, "showPaywall");
|
|
20273
20274
|
P(this, "hideReferences");
|
|
20274
20275
|
P(this, "isTeachReview");
|
|
20276
|
+
P(this, "isTeachGroupReview");
|
|
20275
20277
|
P(this, "keywordDefinitions");
|
|
20276
20278
|
P(this, "hoverChoiceKey", null);
|
|
20277
20279
|
P(this, "focusChoiceKey", null);
|
|
@@ -20786,125 +20788,128 @@ let ze = class extends be {
|
|
|
20786
20788
|
};
|
|
20787
20789
|
Ze([
|
|
20788
20790
|
H()
|
|
20789
|
-
],
|
|
20791
|
+
], Fe.prototype, "question", 2);
|
|
20790
20792
|
Ze([
|
|
20791
20793
|
H()
|
|
20792
|
-
],
|
|
20794
|
+
], Fe.prototype, "questionNumber", 2);
|
|
20793
20795
|
Ze([
|
|
20794
20796
|
H()
|
|
20795
|
-
],
|
|
20797
|
+
], Fe.prototype, "quizLength", 2);
|
|
20796
20798
|
Ze([
|
|
20797
20799
|
H({ default: "" })
|
|
20798
|
-
],
|
|
20800
|
+
], Fe.prototype, "imageUrlPrefix", 2);
|
|
20799
20801
|
Ze([
|
|
20800
20802
|
H({ default: "quick10" })
|
|
20801
|
-
],
|
|
20803
|
+
], Fe.prototype, "quizMode", 2);
|
|
20802
20804
|
Ze([
|
|
20803
20805
|
H({ default: !1 })
|
|
20804
|
-
],
|
|
20806
|
+
], Fe.prototype, "initialShowAnswers", 2);
|
|
20805
20807
|
Ze([
|
|
20806
20808
|
H({ default: !0 })
|
|
20807
|
-
],
|
|
20809
|
+
], Fe.prototype, "showCheckAnswer", 2);
|
|
20808
20810
|
Ze([
|
|
20809
20811
|
H({ default: !1 })
|
|
20810
|
-
],
|
|
20812
|
+
], Fe.prototype, "hideAnswer", 2);
|
|
20811
20813
|
Ze([
|
|
20812
20814
|
H({ default: !0 })
|
|
20813
|
-
],
|
|
20815
|
+
], Fe.prototype, "showNextQuestion", 2);
|
|
20814
20816
|
Ze([
|
|
20815
20817
|
H({ default: !1 })
|
|
20816
|
-
],
|
|
20818
|
+
], Fe.prototype, "reviewMode", 2);
|
|
20817
20819
|
Ze([
|
|
20818
20820
|
H({ default: null })
|
|
20819
|
-
],
|
|
20821
|
+
], Fe.prototype, "previousChoices", 2);
|
|
20820
20822
|
Ze([
|
|
20821
20823
|
H({ default: null })
|
|
20822
|
-
],
|
|
20824
|
+
], Fe.prototype, "previousMatrixChoices", 2);
|
|
20823
20825
|
Ze([
|
|
20824
20826
|
H({ default: null })
|
|
20825
|
-
],
|
|
20827
|
+
], Fe.prototype, "globalMetrics", 2);
|
|
20826
20828
|
Ze([
|
|
20827
20829
|
H({ default: null })
|
|
20828
|
-
],
|
|
20830
|
+
], Fe.prototype, "showNames", 2);
|
|
20829
20831
|
Ze([
|
|
20830
20832
|
H({ default: !0 })
|
|
20831
|
-
],
|
|
20833
|
+
], Fe.prototype, "allowKeyboardShortcuts", 2);
|
|
20832
20834
|
Ze([
|
|
20833
20835
|
H({ default: null })
|
|
20834
|
-
],
|
|
20836
|
+
], Fe.prototype, "containerEl", 2);
|
|
20835
20837
|
Ze([
|
|
20836
20838
|
H({ default: !1 })
|
|
20837
|
-
],
|
|
20839
|
+
], Fe.prototype, "isDarkMode", 2);
|
|
20838
20840
|
Ze([
|
|
20839
20841
|
H({ default: null })
|
|
20840
|
-
],
|
|
20842
|
+
], Fe.prototype, "answerSeed", 2);
|
|
20841
20843
|
Ze([
|
|
20842
20844
|
H({ default: !1 })
|
|
20843
|
-
],
|
|
20845
|
+
], Fe.prototype, "showCloseButton", 2);
|
|
20844
20846
|
Ze([
|
|
20845
20847
|
H({ default: null })
|
|
20846
|
-
],
|
|
20848
|
+
], Fe.prototype, "defaultShowExplanation", 2);
|
|
20849
|
+
Ze([
|
|
20850
|
+
H({ default: !1 })
|
|
20851
|
+
], Fe.prototype, "autoFocusPrompt", 2);
|
|
20847
20852
|
Ze([
|
|
20848
20853
|
H({ default: !1 })
|
|
20849
|
-
],
|
|
20854
|
+
], Fe.prototype, "showPaywall", 2);
|
|
20850
20855
|
Ze([
|
|
20851
20856
|
H({ default: !1 })
|
|
20852
|
-
],
|
|
20857
|
+
], Fe.prototype, "hideReferences", 2);
|
|
20853
20858
|
Ze([
|
|
20854
20859
|
H({ default: !1 })
|
|
20855
|
-
],
|
|
20860
|
+
], Fe.prototype, "isTeachReview", 2);
|
|
20856
20861
|
Ze([
|
|
20857
20862
|
H({ default: !1 })
|
|
20858
|
-
],
|
|
20863
|
+
], Fe.prototype, "isTeachGroupReview", 2);
|
|
20859
20864
|
Ze([
|
|
20860
20865
|
H({ default: [] })
|
|
20861
|
-
],
|
|
20866
|
+
], Fe.prototype, "keywordDefinitions", 2);
|
|
20862
20867
|
Ze([
|
|
20863
20868
|
De("keyword-click")
|
|
20864
|
-
],
|
|
20869
|
+
], Fe.prototype, "keywordClick", 1);
|
|
20865
20870
|
Ze([
|
|
20866
|
-
|
|
20867
|
-
],
|
|
20871
|
+
Xe("reviewMode")
|
|
20872
|
+
], Fe.prototype, "reviewModeChanged", 1);
|
|
20868
20873
|
Ze([
|
|
20869
|
-
|
|
20870
|
-
],
|
|
20874
|
+
Xe("previousChoices", { deep: !0 })
|
|
20875
|
+
], Fe.prototype, "previousChoicesChanged", 1);
|
|
20871
20876
|
Ze([
|
|
20872
|
-
|
|
20873
|
-
],
|
|
20877
|
+
Xe("previousMatrixChoices", { deep: !0 })
|
|
20878
|
+
], Fe.prototype, "previousMatrixChoicesChanged", 1);
|
|
20874
20879
|
Ze([
|
|
20875
20880
|
De("selectedChoices")
|
|
20876
|
-
],
|
|
20881
|
+
], Fe.prototype, "emitSelectedChoices", 1);
|
|
20877
20882
|
Ze([
|
|
20878
|
-
|
|
20879
|
-
],
|
|
20883
|
+
Xe("selectedChoices", { deep: !0 })
|
|
20884
|
+
], Fe.prototype, "selectedChoicesChanged", 1);
|
|
20880
20885
|
Ze([
|
|
20881
|
-
|
|
20882
|
-
],
|
|
20886
|
+
Xe("selectedMatrixChoices", { deep: !0 })
|
|
20887
|
+
], Fe.prototype, "selectedMatrixChoicesChanged", 1);
|
|
20883
20888
|
Ze([
|
|
20884
|
-
|
|
20885
|
-
],
|
|
20889
|
+
Xe("showExplanation")
|
|
20890
|
+
], Fe.prototype, "showExplanationChanged", 1);
|
|
20886
20891
|
Ze([
|
|
20887
20892
|
De("close")
|
|
20888
|
-
],
|
|
20893
|
+
], Fe.prototype, "emitClose", 1);
|
|
20889
20894
|
Ze([
|
|
20890
20895
|
De("upgrade")
|
|
20891
|
-
],
|
|
20896
|
+
], Fe.prototype, "emitUpgrade", 1);
|
|
20892
20897
|
Ze([
|
|
20893
20898
|
De("submitQuiz")
|
|
20894
|
-
],
|
|
20899
|
+
], Fe.prototype, "emitSubmitQuiz", 1);
|
|
20895
20900
|
Ze([
|
|
20896
20901
|
De("nextQuestion")
|
|
20897
|
-
],
|
|
20902
|
+
], Fe.prototype, "emitNextQuestion", 1);
|
|
20898
20903
|
Ze([
|
|
20899
20904
|
De("previousQuestion")
|
|
20900
|
-
],
|
|
20905
|
+
], Fe.prototype, "emitPreviousQuestion", 1);
|
|
20901
20906
|
Ze([
|
|
20902
20907
|
De("checkAnswer")
|
|
20903
|
-
],
|
|
20908
|
+
], Fe.prototype, "emitCheckAnswer", 1);
|
|
20904
20909
|
Ze([
|
|
20905
20910
|
De("update:showExplanation")
|
|
20906
|
-
],
|
|
20907
|
-
|
|
20911
|
+
], Fe.prototype, "emitUpdateShowExplanation", 1);
|
|
20912
|
+
Fe = Ze([
|
|
20908
20913
|
Me({
|
|
20909
20914
|
components: {
|
|
20910
20915
|
PocketButton: bt,
|
|
@@ -20928,7 +20933,7 @@ ze = Ze([
|
|
|
20928
20933
|
dark: Se
|
|
20929
20934
|
}
|
|
20930
20935
|
})
|
|
20931
|
-
],
|
|
20936
|
+
], Fe);
|
|
20932
20937
|
const Cf = { class: "uikit-question__tag-mobile" }, mf = ["aria-label"], vf = ["innerHTML"], wf = {
|
|
20933
20938
|
key: 4,
|
|
20934
20939
|
class: "uikit-question__unanswered-teach-review-label"
|
|
@@ -21172,6 +21177,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21172
21177
|
"is-dark-mode": e.isDarkMode,
|
|
21173
21178
|
"question-el": e.questionEl,
|
|
21174
21179
|
breakpoints: e.breakpoints,
|
|
21180
|
+
"is-teach-group-review": e.isTeachGroupReview,
|
|
21175
21181
|
onEmitSelectedMatrixChoice: e.selectMatrixChoice,
|
|
21176
21182
|
onEmitAnsweredMatrixRowIndex: e.answeredMatrixRowIndex
|
|
21177
21183
|
}, {
|
|
@@ -21194,7 +21200,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21194
21200
|
ke(e.$slots, "showNamesTable", { choiceKey: L })
|
|
21195
21201
|
]),
|
|
21196
21202
|
_: 3
|
|
21197
|
-
}, 8, ["question", "matrix-choice-layout", "is-matrix-question-correct", "matrix-answer-keys", "matrix-distractor-keys", "selected-matrix-choices", "show-matrix-answers", "review-mode", "matrix-choice-scores", "global-metrics", "is-dark-mode", "question-el", "breakpoints", "onEmitSelectedMatrixChoice", "onEmitAnsweredMatrixRowIndex"])), [
|
|
21203
|
+
}, 8, ["question", "matrix-choice-layout", "is-matrix-question-correct", "matrix-answer-keys", "matrix-distractor-keys", "selected-matrix-choices", "show-matrix-answers", "review-mode", "matrix-choice-scores", "global-metrics", "is-dark-mode", "question-el", "breakpoints", "is-teach-group-review", "onEmitSelectedMatrixChoice", "onEmitAnsweredMatrixRowIndex"])), [
|
|
21198
21204
|
[c, e.breakpoints, "questionEl"]
|
|
21199
21205
|
]) : Le("", !0),
|
|
21200
21206
|
e.question.type === "Matrix Checkbox" || e.question.type === "Matrix Radio Button" ? ne((N(), ye(G, {
|
|
@@ -21420,7 +21426,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21420
21426
|
[c, e.breakpoints]
|
|
21421
21427
|
]);
|
|
21422
21428
|
}
|
|
21423
|
-
const Df = /* @__PURE__ */ me(
|
|
21429
|
+
const Df = /* @__PURE__ */ me(Fe, [["render", Ef]]);
|
|
21424
21430
|
var Bf = Object.defineProperty, If = Object.getOwnPropertyDescriptor, oo = (e, i, s, o) => {
|
|
21425
21431
|
for (var t = o > 1 ? void 0 : o ? If(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21426
21432
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
@@ -21678,7 +21684,7 @@ const Hf = { class: "uikit-quiz-progress" };
|
|
|
21678
21684
|
function Ff(e, i, s, o, t, n) {
|
|
21679
21685
|
const r = ge("QuizProgressBar");
|
|
21680
21686
|
return N(), V("div", Hf, [
|
|
21681
|
-
(N(!0), V(
|
|
21687
|
+
(N(!0), V(Ke, null, et(e.numQuestions, (R) => (N(), ye(r, {
|
|
21682
21688
|
key: `${R}_${e.barWidthString}`,
|
|
21683
21689
|
"is-answered": e.answeredIndexList.includes(R),
|
|
21684
21690
|
"is-selected": Number(R) === Number(e.selectedIndex),
|
|
@@ -21697,9 +21703,9 @@ function Ff(e, i, s, o, t, n) {
|
|
|
21697
21703
|
"aria-label": `${Number(R) === Number(e.selectedIndex) ? "Current " : ""}Question ${R}, ${e.answeredIndexList.includes(R) ? "answered" : "unanswered"}`,
|
|
21698
21704
|
onClick: (D) => e.emitBarClicked(R),
|
|
21699
21705
|
onKeydown: [
|
|
21700
|
-
|
|
21701
|
-
|
|
21702
|
-
|
|
21706
|
+
ze((D) => e.emitBarClicked(R), ["enter"]),
|
|
21707
|
+
ze((D) => e.clickAndFocus(R - 1), ["left"]),
|
|
21708
|
+
ze((D) => e.clickAndFocus(R + 1), ["right"])
|
|
21703
21709
|
]
|
|
21704
21710
|
}, null, 8, ["is-answered", "is-selected", "is-focusable", "style", "class", "aria-label", "onClick", "onKeydown"]))), 128))
|
|
21705
21711
|
]);
|
|
@@ -21958,7 +21964,7 @@ function xA(e, i, s, o, t, n) {
|
|
|
21958
21964
|
onMouseenter: i[0] || (i[0] = (D) => e.showKeyboardTooltip = !0),
|
|
21959
21965
|
onMouseleave: i[1] || (i[1] = (D) => e.showKeyboardTooltip = !1),
|
|
21960
21966
|
onClick: i[2] || (i[2] = (D) => e.showKeyboardShortcutsModal = !e.showKeyboardShortcutsModal),
|
|
21961
|
-
onKeydown: i[3] || (i[3] =
|
|
21967
|
+
onKeydown: i[3] || (i[3] = ze(Ie((D) => e.showKeyboardShortcutsModal = !e.showKeyboardShortcutsModal, ["stop", "prevent"]), ["enter"])),
|
|
21962
21968
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
21963
21969
|
}, ["prevent"])),
|
|
21964
21970
|
onFocus: i[5] || (i[5] = (D) => e.showKeyboardTooltip = !0),
|
|
@@ -22051,7 +22057,7 @@ function OA(e, i, s, o, t, n) {
|
|
|
22051
22057
|
onMouseover: i[0] || (i[0] = (D) => e.showFlagTooltip = !0),
|
|
22052
22058
|
onMouseleave: i[1] || (i[1] = (D) => e.showFlagTooltip = !1),
|
|
22053
22059
|
onClick: i[2] || (i[2] = (...D) => e.toggleFlag && e.toggleFlag(...D)),
|
|
22054
|
-
onKeydown: i[3] || (i[3] =
|
|
22060
|
+
onKeydown: i[3] || (i[3] = ze(Ie((...D) => e.toggleFlag && e.toggleFlag(...D), ["stop", "prevent"]), ["enter"])),
|
|
22055
22061
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
22056
22062
|
}, ["prevent"])),
|
|
22057
22063
|
onFocus: i[5] || (i[5] = (D) => e.showFlagTooltip = !0),
|
|
@@ -22142,7 +22148,7 @@ function HA(e, i, s, o, t, n) {
|
|
|
22142
22148
|
onMouseover: i[0] || (i[0] = (D) => e.showGlobalMetricsToolTip = !0),
|
|
22143
22149
|
onMouseleave: i[1] || (i[1] = (D) => e.showGlobalMetricsToolTip = !1),
|
|
22144
22150
|
onClick: i[2] || (i[2] = (D) => !e.disabled && e.toggleGlobalMetrics()),
|
|
22145
|
-
onKeydown: i[3] || (i[3] =
|
|
22151
|
+
onKeydown: i[3] || (i[3] = ze(Ie((D) => !e.disabled && e.toggleGlobalMetrics(), ["stop", "prevent"]), ["enter"])),
|
|
22146
22152
|
onMousedown: i[4] || (i[4] = Ie(() => {
|
|
22147
22153
|
}, ["prevent"])),
|
|
22148
22154
|
onFocus: i[5] || (i[5] = (D) => e.showGlobalMetricsToolTip = !0),
|
|
@@ -22251,7 +22257,7 @@ function qA(e, i, s, o, t, n) {
|
|
|
22251
22257
|
tabindex: "0",
|
|
22252
22258
|
class: "toast__close",
|
|
22253
22259
|
onClick: i[0] || (i[0] = (...z) => e.emitClose && e.emitClose(...z)),
|
|
22254
|
-
onKeypress: i[1] || (i[1] =
|
|
22260
|
+
onKeypress: i[1] || (i[1] = ze((...z) => e.emitClose && e.emitClose(...z), ["enter"])),
|
|
22255
22261
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
22256
22262
|
}, ["prevent"]))
|
|
22257
22263
|
}, [
|