qti3-item-player-vue3 0.2.18 → 0.2.19
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.
@@ -9313,7 +9313,7 @@ function Zx(e, t, i, s, n, r) {
|
|
9313
9313
|
innerHTML: n.css
|
9314
9314
|
}, null, 8, Xx);
|
9315
9315
|
}
|
9316
|
-
const Jx = /* @__PURE__ */ Q(Yx, [["render", Zx]]),
|
9316
|
+
const Jx = /* @__PURE__ */ Q(Yx, [["render", Zx]]), eS = {
|
9317
9317
|
name: "QtiCompanionMaterialsInfo",
|
9318
9318
|
data() {
|
9319
9319
|
return {
|
@@ -9332,11 +9332,11 @@ const Jx = /* @__PURE__ */ Q(Yx, [["render", Zx]]), e1 = {
|
|
9332
9332
|
throw this.isQtiValid = !1, new l(e.message);
|
9333
9333
|
}
|
9334
9334
|
}
|
9335
|
-
},
|
9336
|
-
function
|
9337
|
-
return q(), O("div",
|
9335
|
+
}, tS = { class: "qti-companion-materials-info" };
|
9336
|
+
function iS(e, t, i, s, n, r) {
|
9337
|
+
return q(), O("div", tS);
|
9338
9338
|
}
|
9339
|
-
const
|
9339
|
+
const sS = /* @__PURE__ */ Q(eS, [["render", iS]]), ea = new j(), nS = {
|
9340
9340
|
name: "QtiMapping",
|
9341
9341
|
props: {
|
9342
9342
|
/*
|
@@ -9471,13 +9471,13 @@ const s1 = /* @__PURE__ */ Q(e1, [["render", i1]]), ea = new j(), n1 = {
|
|
9471
9471
|
throw this.isQtiValid = !1, new l(e.message);
|
9472
9472
|
}
|
9473
9473
|
}
|
9474
|
-
},
|
9475
|
-
function
|
9476
|
-
return q(), O("div",
|
9474
|
+
}, rS = { class: "qti-mapping" };
|
9475
|
+
function aS(e, t, i, s, n, r) {
|
9476
|
+
return q(), O("div", rS, [
|
9477
9477
|
K(e.$slots, "default")
|
9478
9478
|
]);
|
9479
9479
|
}
|
9480
|
-
const
|
9480
|
+
const oS = /* @__PURE__ */ Q(nS, [["render", aS]]), Ac = new j(), lS = {
|
9481
9481
|
name: "QtiMapEntry",
|
9482
9482
|
props: {
|
9483
9483
|
/*
|
@@ -9577,15 +9577,15 @@ const o1 = /* @__PURE__ */ Q(n1, [["render", a1]]), Ac = new j(), l1 = {
|
|
9577
9577
|
caseSensitive: this.getCaseSensitive()
|
9578
9578
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
9579
9579
|
}
|
9580
|
-
},
|
9581
|
-
function
|
9582
|
-
return q(), O("div",
|
9583
|
-
te("div",
|
9580
|
+
}, uS = { class: "qti-map-entry" }, cS = { class: "amp-mapentry__container" };
|
9581
|
+
function hS(e, t, i, s, n, r) {
|
9582
|
+
return q(), O("div", uS, [
|
9583
|
+
te("div", cS, [
|
9584
9584
|
K(e.$slots, "default")
|
9585
9585
|
])
|
9586
9586
|
]);
|
9587
9587
|
}
|
9588
|
-
const
|
9588
|
+
const dS = /* @__PURE__ */ Q(lS, [["render", hS]]), ta = new j(), fS = {
|
9589
9589
|
name: "QtiAreaMapping",
|
9590
9590
|
props: {
|
9591
9591
|
/*
|
@@ -9724,13 +9724,13 @@ const d1 = /* @__PURE__ */ Q(l1, [["render", h1]]), ta = new j(), f1 = {
|
|
9724
9724
|
throw this.isQtiValid = !1, new l(e.message);
|
9725
9725
|
}
|
9726
9726
|
}
|
9727
|
-
},
|
9728
|
-
function
|
9729
|
-
return q(), O("div",
|
9727
|
+
}, pS = { class: "qti-area-mapping" };
|
9728
|
+
function mS(e, t, i, s, n, r) {
|
9729
|
+
return q(), O("div", pS, [
|
9730
9730
|
K(e.$slots, "default")
|
9731
9731
|
]);
|
9732
9732
|
}
|
9733
|
-
const
|
9733
|
+
const gS = /* @__PURE__ */ Q(fS, [["render", mS]]), $c = new j(), yS = {
|
9734
9734
|
name: "QtiAreaMapEntry",
|
9735
9735
|
props: {
|
9736
9736
|
/*
|
@@ -9870,15 +9870,15 @@ const g1 = /* @__PURE__ */ Q(f1, [["render", m1]]), $c = new j(), y1 = {
|
|
9870
9870
|
mappedValue: this.getMappedValue()
|
9871
9871
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
9872
9872
|
}
|
9873
|
-
},
|
9874
|
-
function
|
9875
|
-
return q(), O("div",
|
9876
|
-
te("div",
|
9873
|
+
}, wS = { class: "qti-area-map-entry" }, bS = { class: "amp-areamapentry__container" };
|
9874
|
+
function vS(e, t, i, s, n, r) {
|
9875
|
+
return q(), O("div", wS, [
|
9876
|
+
te("div", bS, [
|
9877
9877
|
K(e.$slots, "default")
|
9878
9878
|
])
|
9879
9879
|
]);
|
9880
9880
|
}
|
9881
|
-
const
|
9881
|
+
const ES = /* @__PURE__ */ Q(yS, [["render", vS]]), Lc = new j(), CS = {
|
9882
9882
|
name: "QtiInterpolationTable",
|
9883
9883
|
props: {
|
9884
9884
|
/*
|
@@ -9973,13 +9973,13 @@ const E1 = /* @__PURE__ */ Q(y1, [["render", v1]]), Lc = new j(), C1 = {
|
|
9973
9973
|
throw this.isQtiValid = !1, new l(e.message);
|
9974
9974
|
}
|
9975
9975
|
}
|
9976
|
-
},
|
9977
|
-
function
|
9978
|
-
return q(), O("div",
|
9976
|
+
}, TS = { class: "qti-interpolation-table" };
|
9977
|
+
function xS(e, t, i, s, n, r) {
|
9978
|
+
return q(), O("div", TS, [
|
9979
9979
|
K(e.$slots, "default")
|
9980
9980
|
]);
|
9981
9981
|
}
|
9982
|
-
const
|
9982
|
+
const SS = /* @__PURE__ */ Q(CS, [["render", xS]]), nl = new j(), IS = {
|
9983
9983
|
name: "QtiInterpolationTableEntry",
|
9984
9984
|
props: {
|
9985
9985
|
/*
|
@@ -10093,15 +10093,15 @@ const S1 = /* @__PURE__ */ Q(C1, [["render", x1]]), nl = new j(), I1 = {
|
|
10093
10093
|
includeBoundary: this.getIncludeBoundary()
|
10094
10094
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
10095
10095
|
}
|
10096
|
-
},
|
10097
|
-
function
|
10098
|
-
return q(), O("div",
|
10099
|
-
te("div",
|
10096
|
+
}, _S = { class: "qti-interpolation-table-entry" }, VS = { class: "amp-interpolationentry__container" };
|
10097
|
+
function AS(e, t, i, s, n, r) {
|
10098
|
+
return q(), O("div", _S, [
|
10099
|
+
te("div", VS, [
|
10100
10100
|
K(e.$slots, "default")
|
10101
10101
|
])
|
10102
10102
|
]);
|
10103
10103
|
}
|
10104
|
-
const $
|
10104
|
+
const $S = /* @__PURE__ */ Q(IS, [["render", AS]]), Mc = new j(), LS = {
|
10105
10105
|
name: "QtiMatchTable",
|
10106
10106
|
props: {
|
10107
10107
|
/*
|
@@ -10196,13 +10196,13 @@ const $1 = /* @__PURE__ */ Q(I1, [["render", A1]]), Mc = new j(), L1 = {
|
|
10196
10196
|
throw this.isQtiValid = !1, new l(e.message);
|
10197
10197
|
}
|
10198
10198
|
}
|
10199
|
-
},
|
10200
|
-
function
|
10201
|
-
return q(), O("div",
|
10199
|
+
}, MS = { class: "qti-match-table" };
|
10200
|
+
function RS(e, t, i, s, n, r) {
|
10201
|
+
return q(), O("div", MS, [
|
10202
10202
|
K(e.$slots, "default")
|
10203
10203
|
]);
|
10204
10204
|
}
|
10205
|
-
const
|
10205
|
+
const NS = /* @__PURE__ */ Q(LS, [["render", RS]]), Rc = new j(), qS = {
|
10206
10206
|
name: "QtiMatchTableEntry",
|
10207
10207
|
props: {
|
10208
10208
|
/*
|
@@ -10296,15 +10296,15 @@ const N1 = /* @__PURE__ */ Q(L1, [["render", R1]]), Rc = new j(), q1 = {
|
|
10296
10296
|
targetValue: this.getTargetValue()
|
10297
10297
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
10298
10298
|
}
|
10299
|
-
},
|
10300
|
-
function
|
10301
|
-
return q(), O("div",
|
10302
|
-
te("div",
|
10299
|
+
}, OS = { class: "qti-match-table-entry" }, PS = { class: "amp-matchtableentry__container" };
|
10300
|
+
function kS(e, t, i, s, n, r) {
|
10301
|
+
return q(), O("div", OS, [
|
10302
|
+
te("div", PS, [
|
10303
10303
|
K(e.$slots, "default")
|
10304
10304
|
])
|
10305
10305
|
]);
|
10306
10306
|
}
|
10307
|
-
const
|
10307
|
+
const DS = /* @__PURE__ */ Q(qS, [["render", kS]]), BS = {
|
10308
10308
|
name: "QtiDefaultValue",
|
10309
10309
|
props: {
|
10310
10310
|
/* A human readable interpretation of the default value. */
|
@@ -10390,16 +10390,16 @@ const D1 = /* @__PURE__ */ Q(q1, [["render", k1]]), B1 = {
|
|
10390
10390
|
throw this.isQtiValid = !1, new l(e.message);
|
10391
10391
|
}
|
10392
10392
|
}
|
10393
|
-
},
|
10393
|
+
}, QS = {
|
10394
10394
|
ref: "root",
|
10395
10395
|
class: "qti-default-value"
|
10396
10396
|
};
|
10397
|
-
function
|
10398
|
-
return q(), O("div",
|
10397
|
+
function HS(e, t, i, s, n, r) {
|
10398
|
+
return q(), O("div", QS, [
|
10399
10399
|
K(e.$slots, "default")
|
10400
10400
|
], 512);
|
10401
10401
|
}
|
10402
|
-
const
|
10402
|
+
const FS = /* @__PURE__ */ Q(BS, [["render", HS]]), US = {
|
10403
10403
|
name: "QtiCorrectResponse",
|
10404
10404
|
props: {
|
10405
10405
|
/* A human readable interpretation of the correct value. */
|
@@ -10485,13 +10485,13 @@ const F1 = /* @__PURE__ */ Q(B1, [["render", H1]]), U1 = {
|
|
10485
10485
|
throw this.isQtiValid = !1, new l(e.message);
|
10486
10486
|
}
|
10487
10487
|
}
|
10488
|
-
},
|
10489
|
-
function
|
10490
|
-
return q(), O("div",
|
10488
|
+
}, GS = { class: "qti-correct-response" };
|
10489
|
+
function jS(e, t, i, s, n, r) {
|
10490
|
+
return q(), O("div", GS, [
|
10491
10491
|
K(e.$slots, "default")
|
10492
10492
|
]);
|
10493
10493
|
}
|
10494
|
-
const
|
10494
|
+
const WS = /* @__PURE__ */ Q(US, [["render", jS]]);
|
10495
10495
|
class ow {
|
10496
10496
|
/**
|
10497
10497
|
* @constructor QtiValueValidation
|
@@ -10562,7 +10562,7 @@ class ow {
|
|
10562
10562
|
return this.isCharacterALetter(t) || this.isCharacterADigit(t);
|
10563
10563
|
}
|
10564
10564
|
}
|
10565
|
-
const Nc = new j(), Un = new ow(),
|
10565
|
+
const Nc = new j(), Un = new ow(), zS = {
|
10566
10566
|
name: "QtiValue",
|
10567
10567
|
props: {
|
10568
10568
|
// This characteristic is only used for specifying the base-type of a value that forms part of a record.
|
@@ -10704,19 +10704,19 @@ const Nc = new j(), Un = new ow(), z1 = {
|
|
10704
10704
|
}
|
10705
10705
|
e.remove();
|
10706
10706
|
}
|
10707
|
-
},
|
10708
|
-
function
|
10707
|
+
}, KS = ["variable-basetype", "variable-cardinality"], YS = { class: "amp-value__container" };
|
10708
|
+
function XS(e, t, i, s, n, r) {
|
10709
10709
|
return q(), O("div", {
|
10710
10710
|
class: "qti-value",
|
10711
10711
|
"variable-basetype": n.variableBaseType,
|
10712
10712
|
"variable-cardinality": n.variableCardinality
|
10713
10713
|
}, [
|
10714
|
-
te("div",
|
10714
|
+
te("div", YS, [
|
10715
10715
|
K(e.$slots, "default")
|
10716
10716
|
])
|
10717
|
-
], 8,
|
10717
|
+
], 8, KS);
|
10718
10718
|
}
|
10719
|
-
const
|
10719
|
+
const ZS = /* @__PURE__ */ Q(zS, [["render", XS]]), JS = new j(), e1 = {
|
10720
10720
|
name: "QtiItemBody",
|
10721
10721
|
emits: [
|
10722
10722
|
"itemBodyReady"
|
@@ -10764,7 +10764,7 @@ const Z1 = /* @__PURE__ */ Q(z1, [["render", X1]]), J1 = new j(), eS = {
|
|
10764
10764
|
return this.$el.querySelectorAll('script[type="math/mml"]');
|
10765
10765
|
},
|
10766
10766
|
archiveMathElement(e) {
|
10767
|
-
e.hasAttribute("id") || (e.id =
|
10767
|
+
e.hasAttribute("id") || (e.id = JS.randomString(5, "a")), this.mathElementMap.set(e.id, e.outerHTML);
|
10768
10768
|
},
|
10769
10769
|
applyTemplateValuesToMathml(e, t) {
|
10770
10770
|
let i = e;
|
@@ -10786,16 +10786,16 @@ const Z1 = /* @__PURE__ */ Q(z1, [["render", X1]]), J1 = new j(), eS = {
|
|
10786
10786
|
mounted() {
|
10787
10787
|
this.initializeTemplateMathVariables(), this.$parent.$emit("itemBodyReady", { itemBody: this });
|
10788
10788
|
}
|
10789
|
-
},
|
10789
|
+
}, t1 = {
|
10790
10790
|
ref: "root",
|
10791
10791
|
class: "qti-item-body"
|
10792
10792
|
};
|
10793
|
-
function
|
10794
|
-
return q(), O("div",
|
10793
|
+
function i1(e, t, i, s, n, r) {
|
10794
|
+
return q(), O("div", t1, [
|
10795
10795
|
K(e.$slots, "default")
|
10796
10796
|
], 512);
|
10797
10797
|
}
|
10798
|
-
const
|
10798
|
+
const s1 = /* @__PURE__ */ Q(e1, [["render", i1]]), n1 = {
|
10799
10799
|
name: "ModalDialog",
|
10800
10800
|
data() {
|
10801
10801
|
return {
|
@@ -10810,19 +10810,19 @@ const sS = /* @__PURE__ */ Q(eS, [["render", iS]]), nS = {
|
|
10810
10810
|
this.$refs.mymodal.classList.add("fade", "show"), document.querySelector("body").classList.add("modal-open");
|
10811
10811
|
}
|
10812
10812
|
}
|
10813
|
-
},
|
10813
|
+
}, r1 = {
|
10814
10814
|
key: 0,
|
10815
10815
|
ref: "mymodal",
|
10816
10816
|
class: "qti3-player-modal"
|
10817
|
-
},
|
10818
|
-
function
|
10817
|
+
}, a1 = { class: "qti3-player-modal-dialog qti3-player-modal-md qti3-player-modal-dialog-centered" }, o1 = { class: "qti3-player-modal-content" }, l1 = { class: "qti3-player-modal-header" }, u1 = { class: "qti3-player-modal-body" }, c1 = { class: "qti3-player-modal-footer" };
|
10818
|
+
function h1(e, t, i, s, n, r) {
|
10819
10819
|
return q(), Ei(rv, { name: "fade" }, {
|
10820
10820
|
default: Kt(() => [
|
10821
|
-
n.visible ? (q(), O("div",
|
10822
|
-
te("div",
|
10821
|
+
n.visible ? (q(), O("div", r1, [
|
10822
|
+
te("div", a1, [
|
10823
10823
|
t[2] || (t[2] = te("span", { tabindex: "0" }, null, -1)),
|
10824
|
-
te("div",
|
10825
|
-
te("header",
|
10824
|
+
te("div", o1, [
|
10825
|
+
te("header", l1, [
|
10826
10826
|
K(e.$slots, "header", {}, void 0, !0),
|
10827
10827
|
te("button", {
|
10828
10828
|
type: "button",
|
@@ -10831,10 +10831,10 @@ function hS(e, t, i, s, n, r) {
|
|
10831
10831
|
onClick: t[0] || (t[0] = (a) => r.hide())
|
10832
10832
|
}, "×")
|
10833
10833
|
]),
|
10834
|
-
te("div",
|
10834
|
+
te("div", u1, [
|
10835
10835
|
K(e.$slots, "body", {}, void 0, !0)
|
10836
10836
|
]),
|
10837
|
-
te("footer",
|
10837
|
+
te("footer", c1, [
|
10838
10838
|
K(e.$slots, "footer", {}, void 0, !0)
|
10839
10839
|
])
|
10840
10840
|
]),
|
@@ -10849,10 +10849,10 @@ function hS(e, t, i, s, n, r) {
|
|
10849
10849
|
_: 3
|
10850
10850
|
});
|
10851
10851
|
}
|
10852
|
-
const
|
10852
|
+
const d1 = /* @__PURE__ */ Q(n1, [["render", h1], ["__scopeId", "data-v-2611a8eb"]]), ia = new j(), f1 = {
|
10853
10853
|
name: "QtiModalFeedback",
|
10854
10854
|
components: {
|
10855
|
-
ModalDialog:
|
10855
|
+
ModalDialog: d1
|
10856
10856
|
},
|
10857
10857
|
props: {
|
10858
10858
|
/*
|
@@ -11015,13 +11015,13 @@ const dS = /* @__PURE__ */ Q(nS, [["render", hS], ["__scopeId", "data-v-2611a8eb
|
|
11015
11015
|
throw this.isQtiValid = !1, new l(e.message);
|
11016
11016
|
}
|
11017
11017
|
}
|
11018
|
-
},
|
11018
|
+
}, p1 = {
|
11019
11019
|
ref: "root",
|
11020
11020
|
class: "qti-modal-feedback"
|
11021
11021
|
};
|
11022
|
-
function
|
11022
|
+
function m1(e, t, i, s, n, r) {
|
11023
11023
|
const a = pt("ModalDialog");
|
11024
|
-
return q(), O("div",
|
11024
|
+
return q(), O("div", p1, [
|
11025
11025
|
ei(a, { ref: "modal" }, {
|
11026
11026
|
header: Kt(() => [
|
11027
11027
|
te("h5", null, We(r.modalTitle), 1)
|
@@ -11039,7 +11039,7 @@ function mS(e, t, i, s, n, r) {
|
|
11039
11039
|
}, 512)
|
11040
11040
|
], 512);
|
11041
11041
|
}
|
11042
|
-
const
|
11042
|
+
const g1 = /* @__PURE__ */ Q(f1, [["render", m1]]), y1 = {
|
11043
11043
|
name: "QtiContentBody",
|
11044
11044
|
data() {
|
11045
11045
|
return {
|
@@ -11048,16 +11048,16 @@ const gS = /* @__PURE__ */ Q(fS, [["render", mS]]), yS = {
|
|
11048
11048
|
},
|
11049
11049
|
mounted() {
|
11050
11050
|
}
|
11051
|
-
},
|
11051
|
+
}, w1 = {
|
11052
11052
|
ref: "root",
|
11053
11053
|
class: "qti-content-body"
|
11054
11054
|
};
|
11055
|
-
function
|
11056
|
-
return q(), O("div",
|
11055
|
+
function b1(e, t, i, s, n, r) {
|
11056
|
+
return q(), O("div", w1, [
|
11057
11057
|
K(e.$slots, "default")
|
11058
11058
|
], 512);
|
11059
11059
|
}
|
11060
|
-
const
|
11060
|
+
const v1 = /* @__PURE__ */ Q(y1, [["render", b1]]), rl = new j(), E1 = {
|
11061
11061
|
name: "QtiTemplateInline",
|
11062
11062
|
props: {
|
11063
11063
|
/*
|
@@ -11153,16 +11153,16 @@ const vS = /* @__PURE__ */ Q(yS, [["render", bS]]), rl = new j(), ES = {
|
|
11153
11153
|
throw this.isQtiValid = !1, e.name === "QtiValidationException" ? new l(e.message) : e.name === "QtiEvaluationException" ? new B(e.message) : new Error(e.message);
|
11154
11154
|
}
|
11155
11155
|
}
|
11156
|
-
},
|
11156
|
+
}, C1 = {
|
11157
11157
|
ref: "root",
|
11158
11158
|
class: "qti-template-inline hidden"
|
11159
11159
|
};
|
11160
|
-
function
|
11161
|
-
return q(), O("div",
|
11160
|
+
function T1(e, t, i, s, n, r) {
|
11161
|
+
return q(), O("div", C1, [
|
11162
11162
|
K(e.$slots, "default")
|
11163
11163
|
], 512);
|
11164
11164
|
}
|
11165
|
-
const
|
11165
|
+
const x1 = /* @__PURE__ */ Q(E1, [["render", T1]]), al = new j(), S1 = {
|
11166
11166
|
name: "QtiTemplateBlock",
|
11167
11167
|
props: {
|
11168
11168
|
/*
|
@@ -11258,16 +11258,16 @@ const xS = /* @__PURE__ */ Q(ES, [["render", TS]]), al = new j(), SS = {
|
|
11258
11258
|
throw this.isQtiValid = !1, e.name === "QtiValidationException" ? new l(e.message) : e.name === "QtiEvaluationException" ? new B(e.message) : new Error(e.message);
|
11259
11259
|
}
|
11260
11260
|
}
|
11261
|
-
},
|
11261
|
+
}, I1 = {
|
11262
11262
|
ref: "root",
|
11263
11263
|
class: "qti-template-block hidden"
|
11264
11264
|
};
|
11265
|
-
function
|
11266
|
-
return q(), O("div",
|
11265
|
+
function _1(e, t, i, s, n, r) {
|
11266
|
+
return q(), O("div", I1, [
|
11267
11267
|
K(e.$slots, "default")
|
11268
11268
|
], 512);
|
11269
11269
|
}
|
11270
|
-
const
|
11270
|
+
const V1 = /* @__PURE__ */ Q(S1, [["render", _1]]), ol = new j(), A1 = {
|
11271
11271
|
name: "QtiFeedbackInline",
|
11272
11272
|
props: {
|
11273
11273
|
/*
|
@@ -11375,16 +11375,16 @@ const VS = /* @__PURE__ */ Q(SS, [["render", _S]]), ol = new j(), AS = {
|
|
11375
11375
|
throw this.isQtiValid = !1, new l(e.message);
|
11376
11376
|
}
|
11377
11377
|
}
|
11378
|
-
}, $
|
11378
|
+
}, $1 = {
|
11379
11379
|
ref: "root",
|
11380
11380
|
class: "qti-feedback-inline hidden"
|
11381
11381
|
};
|
11382
|
-
function
|
11383
|
-
return q(), O("div", $
|
11382
|
+
function L1(e, t, i, s, n, r) {
|
11383
|
+
return q(), O("div", $1, [
|
11384
11384
|
K(e.$slots, "default")
|
11385
11385
|
], 512);
|
11386
11386
|
}
|
11387
|
-
const
|
11387
|
+
const M1 = /* @__PURE__ */ Q(A1, [["render", L1]]), ll = new j(), R1 = {
|
11388
11388
|
name: "QtiFeedbackBlock",
|
11389
11389
|
props: {
|
11390
11390
|
/*
|
@@ -11492,16 +11492,16 @@ const MS = /* @__PURE__ */ Q(AS, [["render", LS]]), ll = new j(), RS = {
|
|
11492
11492
|
throw this.isQtiValid = !1, new l(e.message);
|
11493
11493
|
}
|
11494
11494
|
}
|
11495
|
-
},
|
11495
|
+
}, N1 = {
|
11496
11496
|
ref: "root",
|
11497
11497
|
class: "qti-feedback-block hidden"
|
11498
11498
|
};
|
11499
|
-
function
|
11500
|
-
return q(), O("div",
|
11499
|
+
function q1(e, t, i, s, n, r) {
|
11500
|
+
return q(), O("div", N1, [
|
11501
11501
|
K(e.$slots, "default")
|
11502
11502
|
], 512);
|
11503
11503
|
}
|
11504
|
-
const
|
11504
|
+
const O1 = /* @__PURE__ */ Q(R1, [["render", q1]]), P1 = new j(), k1 = new ae(), D1 = {
|
11505
11505
|
name: "QtiRubricBlock",
|
11506
11506
|
props: {
|
11507
11507
|
/*
|
@@ -11572,7 +11572,7 @@ const OS = /* @__PURE__ */ Q(RS, [["render", qS]]), PS = new j(), kS = new ae(),
|
|
11572
11572
|
},
|
11573
11573
|
created() {
|
11574
11574
|
try {
|
11575
|
-
this.rubricBlockContext =
|
11575
|
+
this.rubricBlockContext = k1.computeNodeContext(this), P1.validateRubricBlockViewAttribute(this.view), this.validateChildren();
|
11576
11576
|
} catch (e) {
|
11577
11577
|
throw this.isQtiValid = !1, e.name === "QtiValidationException" ? new l(e.message) : new Error(e.message);
|
11578
11578
|
}
|
@@ -11589,22 +11589,22 @@ const OS = /* @__PURE__ */ Q(RS, [["render", qS]]), PS = new j(), kS = new ae(),
|
|
11589
11589
|
throw this.isQtiValid = !1, new l(e.message);
|
11590
11590
|
}
|
11591
11591
|
}
|
11592
|
-
},
|
11592
|
+
}, B1 = {
|
11593
11593
|
ref: "root",
|
11594
11594
|
class: "qti-rubric-block hidden"
|
11595
11595
|
};
|
11596
|
-
function
|
11597
|
-
return q(), O("div",
|
11596
|
+
function Q1(e, t, i, s, n, r) {
|
11597
|
+
return q(), O("div", B1, [
|
11598
11598
|
K(e.$slots, "default")
|
11599
11599
|
], 512);
|
11600
11600
|
}
|
11601
|
-
const
|
11601
|
+
const H1 = /* @__PURE__ */ Q(D1, [["render", Q1]]);
|
11602
11602
|
var Bs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
11603
11603
|
function lw(e) {
|
11604
11604
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
11605
11605
|
}
|
11606
11606
|
var qc = {}, sa = {}, Oc = {}, na = {}, ip;
|
11607
|
-
function
|
11607
|
+
function F1() {
|
11608
11608
|
if (ip) return na;
|
11609
11609
|
ip = 1, Object.defineProperty(na, "__esModule", { value: !0 }), na.boolean = void 0;
|
11610
11610
|
const e = function(t) {
|
@@ -11622,7 +11622,7 @@ function FS() {
|
|
11622
11622
|
return na.boolean = e, na;
|
11623
11623
|
}
|
11624
11624
|
var ra = {}, sp;
|
11625
|
-
function
|
11625
|
+
function U1() {
|
11626
11626
|
if (sp) return ra;
|
11627
11627
|
sp = 1, Object.defineProperty(ra, "__esModule", { value: !0 }), ra.isBooleanable = void 0;
|
11628
11628
|
const e = function(t) {
|
@@ -11653,21 +11653,21 @@ function US() {
|
|
11653
11653
|
return ra.isBooleanable = e, ra;
|
11654
11654
|
}
|
11655
11655
|
var np;
|
11656
|
-
function
|
11656
|
+
function G1() {
|
11657
11657
|
return np || (np = 1, function(e) {
|
11658
11658
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.isBooleanable = e.boolean = void 0;
|
11659
|
-
const t =
|
11659
|
+
const t = F1();
|
11660
11660
|
Object.defineProperty(e, "boolean", { enumerable: !0, get: function() {
|
11661
11661
|
return t.boolean;
|
11662
11662
|
} });
|
11663
|
-
const i =
|
11663
|
+
const i = U1();
|
11664
11664
|
Object.defineProperty(e, "isBooleanable", { enumerable: !0, get: function() {
|
11665
11665
|
return i.isBooleanable;
|
11666
11666
|
} });
|
11667
11667
|
}(Oc)), Oc;
|
11668
11668
|
}
|
11669
11669
|
var aa = {}, rp;
|
11670
|
-
function
|
11670
|
+
function j1() {
|
11671
11671
|
if (rp) return aa;
|
11672
11672
|
rp = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.tokenize = void 0;
|
11673
11673
|
const e = /(?:%(?<flag>([+0-]|-\+))?(?<width>\d+)?(?<position>\d+\$)?(?<precision>\.\d+)?(?<conversion>[%BCESb-iosux]))|(\\%)/g, t = (i) => {
|
@@ -11701,10 +11701,10 @@ function jS() {
|
|
11701
11701
|
return aa.tokenize = t, aa;
|
11702
11702
|
}
|
11703
11703
|
var ap;
|
11704
|
-
function
|
11704
|
+
function W1() {
|
11705
11705
|
if (ap) return sa;
|
11706
11706
|
ap = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.createPrintf = void 0;
|
11707
|
-
const e =
|
11707
|
+
const e = G1(), t = j1(), i = (n, r) => r.placeholder, s = (n) => {
|
11708
11708
|
var r;
|
11709
11709
|
const a = (h, d, g) => g === "-" ? h.padEnd(d, " ") : g === "-+" ? ((Number(h) >= 0 ? "+" : "") + h).padEnd(d, " ") : g === "+" ? ((Number(h) >= 0 ? "+" : "") + h).padStart(d, " ") : g === "0" ? h.padStart(d, "0") : h.padStart(d, " "), o = (r = n == null ? void 0 : n.formatUnboundExpression) !== null && r !== void 0 ? r : i, u = {};
|
11710
11710
|
return (h, ...d) => {
|
@@ -11753,17 +11753,17 @@ function WS() {
|
|
11753
11753
|
return sa.createPrintf = s, sa;
|
11754
11754
|
}
|
11755
11755
|
var op;
|
11756
|
-
function
|
11756
|
+
function z1() {
|
11757
11757
|
return op || (op = 1, function(e) {
|
11758
11758
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.printf = e.createPrintf = void 0;
|
11759
|
-
const t =
|
11759
|
+
const t = W1();
|
11760
11760
|
Object.defineProperty(e, "createPrintf", { enumerable: !0, get: function() {
|
11761
11761
|
return t.createPrintf;
|
11762
11762
|
} }), e.printf = t.createPrintf();
|
11763
11763
|
}(qc)), qc;
|
11764
11764
|
}
|
11765
|
-
var
|
11766
|
-
const lp = new j(),
|
11765
|
+
var K1 = z1();
|
11766
|
+
const lp = new j(), Y1 = {
|
11767
11767
|
name: "QtiPrintedVariable",
|
11768
11768
|
props: {
|
11769
11769
|
id: {
|
@@ -11836,7 +11836,7 @@ const lp = new j(), YS = {
|
|
11836
11836
|
},
|
11837
11837
|
methods: {
|
11838
11838
|
printedValue(e) {
|
11839
|
-
return typeof this.format > "u" ? e :
|
11839
|
+
return typeof this.format > "u" ? e : K1.printf(this.format, e);
|
11840
11840
|
},
|
11841
11841
|
evaluate() {
|
11842
11842
|
try {
|
@@ -11864,14 +11864,14 @@ const lp = new j(), YS = {
|
|
11864
11864
|
}
|
11865
11865
|
}
|
11866
11866
|
};
|
11867
|
-
function
|
11867
|
+
function X1(e, t, i, s, n, r) {
|
11868
11868
|
return q(), O("div", {
|
11869
11869
|
ref: "root",
|
11870
11870
|
class: "qti-printed-variable"
|
11871
11871
|
}, We(n.value), 513);
|
11872
11872
|
}
|
11873
|
-
const
|
11874
|
-
class
|
11873
|
+
const Z1 = /* @__PURE__ */ Q(Y1, [["render", X1]]);
|
11874
|
+
class J1 {
|
11875
11875
|
constructor() {
|
11876
11876
|
this.constants = {
|
11877
11877
|
// QTI 3 Shared Vocabulary constants
|
@@ -12192,7 +12192,7 @@ const eI = new j(), tI = new ae(), iI = {
|
|
12192
12192
|
this.role = "radiogroup", this.isRadio = !0;
|
12193
12193
|
break;
|
12194
12194
|
}
|
12195
|
-
this.isShuffle = this.shuffle === "true", this.presentationFactory = new
|
12195
|
+
this.isShuffle = this.shuffle === "true", this.presentationFactory = new J1();
|
12196
12196
|
}
|
12197
12197
|
},
|
12198
12198
|
created() {
|
@@ -29197,7 +29197,7 @@ class _O {
|
|
29197
29197
|
let i = null;
|
29198
29198
|
if (t === null) return i;
|
29199
29199
|
let s = this.constants.BASE_CONFIG;
|
29200
|
-
return s = await this.initBaseConfiguration(
|
29200
|
+
return s = await this.initBaseConfiguration(this.constants.BASE_CONFIG, t), i = await this.resolvePrimaryConfigurationModules(s, t), i !== null || (s = await this.initBaseSecondaryConfiguration(this.constants.BASE_CONFIG, t), i = await this.resolveSecondaryConfigurationModules(s, t)), i;
|
29201
29201
|
}
|
29202
29202
|
async initBaseConfiguration(t, i) {
|
29203
29203
|
const s = `${this.getItemPathUri()}modules/module_resolution.js`;
|
@@ -29207,6 +29207,14 @@ class _O {
|
|
29207
29207
|
}
|
29208
29208
|
return t;
|
29209
29209
|
}
|
29210
|
+
async initBaseSecondaryConfiguration(t, i) {
|
29211
|
+
const s = `${this.getItemPathUri()}modules/fallback_module_resolution.js`;
|
29212
|
+
if (typeof i.secondaryConfiguration > "u") {
|
29213
|
+
const n = await this.fetchDefaultFallbackModuleResolution(s, !1);
|
29214
|
+
if (n !== null) return n;
|
29215
|
+
}
|
29216
|
+
return t;
|
29217
|
+
}
|
29210
29218
|
async resolvePrimaryConfigurationModules(t, i) {
|
29211
29219
|
let s = [];
|
29212
29220
|
if (typeof i.primaryconfiguration > "u") {
|
@@ -29244,10 +29252,11 @@ class _O {
|
|
29244
29252
|
return await this.resolveConfigurationPathUrls(n.paths) ? n : null;
|
29245
29253
|
}
|
29246
29254
|
async resolveConfigurationPathUrls(t) {
|
29247
|
-
|
29248
|
-
|
29249
|
-
|
29250
|
-
|
29255
|
+
const i = Object.keys(t);
|
29256
|
+
let s = [];
|
29257
|
+
for (let r = 0; r < i.length; r++)
|
29258
|
+
s.push(t[i[r]] + ".js");
|
29259
|
+
return await this.resolveConfigurationModules(s);
|
29251
29260
|
}
|
29252
29261
|
async resolveConfigurationModules(t) {
|
29253
29262
|
return await Promise.all(
|
@@ -29292,6 +29301,20 @@ class _O {
|
|
29292
29301
|
return console.log("module_resolution.js Fetch error:", s), null;
|
29293
29302
|
}
|
29294
29303
|
}
|
29304
|
+
async fetchDefaultFallbackModuleResolution(t, i) {
|
29305
|
+
try {
|
29306
|
+
const s = await fetch(t);
|
29307
|
+
if (!s.ok)
|
29308
|
+
throw new Error(`HTTP error: ${s.status}`);
|
29309
|
+
const n = await s.json();
|
29310
|
+
let r = n.paths;
|
29311
|
+
for (let a in r)
|
29312
|
+
r[a] !== null && !r[a].startsWith("http") && (i ? r[a] = `${this.getConfigurationRelativePath(t)}${r[a]}` : r[a] = `${this.getItemPathUri()}${r[a]}`);
|
29313
|
+
return n;
|
29314
|
+
} catch (s) {
|
29315
|
+
return console.log("fallback_module_resolution.js Fetch error:", s), null;
|
29316
|
+
}
|
29317
|
+
}
|
29295
29318
|
getItemPathUri() {
|
29296
29319
|
return this.itemPathUri;
|
29297
29320
|
}
|
@@ -45058,7 +45081,7 @@ const pH = /* @__PURE__ */ Q(hH, [["render", fH]]), mH = new j(), Dl = new gv(),
|
|
45058
45081
|
function ue(D) {
|
45059
45082
|
if (typeof D.components["qti-assessment-item"] < "u") return;
|
45060
45083
|
const H = D.app;
|
45061
|
-
H.component("qti-assessment-item", i0).component("qti-context-declaration", o0).component("qti-response-declaration", d0).component("qti-outcome-declaration", g0).component("qti-template-declaration", E0).component("qti-template-processing", _D).component("qti-companion-materials-info",
|
45084
|
+
H.component("qti-assessment-item", i0).component("qti-context-declaration", o0).component("qti-response-declaration", d0).component("qti-outcome-declaration", g0).component("qti-template-declaration", E0).component("qti-template-processing", _D).component("qti-companion-materials-info", sS).component("qti-stylesheet", Jx).component("qti-item-body", s1).component("qti-catalog-info", LD).component("qti-response-processing", CD).component("qti-modal-feedback", g1), H.component("qti-default-value", FS).component("qti-value", ZS).component("qti-correct-response", WS).component("qti-mapping", oS).component("qti-map-entry", dS).component("qti-interpolation-table", SS).component("qti-interpolation-table-entry", $S).component("qti-match-table", NS).component("qti-match-table-entry", DS).component("qti-area-mapping", gS).component("qti-area-map-entry", ES), H.component("qti-content-body", v1).component("qti-template-inline", x1).component("qti-template-block", V1).component("qti-feedback-inline", M1).component("qti-feedback-block", O1).component("qti-rubric-block", H1).component("qti-printed-variable", Z1).component("amp-style", pT).component("amp-audio", MT).component("amp-video", KT).component("qti-choice-interaction", uI).component("qti-end-attempt-interaction", PI).component("qti-extended-text-interaction", pq).component("qti-text-entry-interaction", Nq).component("qti-inline-choice-interaction", wI).component("qti-match-interaction", Bq).component("qti-gap-match-interaction", jq).component("qti-graphic-gap-match-interaction", Zq).component("qti-order-interaction", hO).component("qti-hottext-interaction", bO).component("qti-hotspot-interaction", IO).component("qti-media-interaction", aO).component("qti-portable-custom-interaction", NO).component("qti-select-point-interaction", QO).component("qti-prompt", GO).component("qti-simple-choice", sP).component("ChoiceGroup", uw).component("qti-inline-choice", YO).component("MatchGroup", UP).component("qti-simple-match-set", vP).component("qti-simple-associable-choice", uP).component("qti-associable-hotspot", pP).component("GapMatchGroup", VP).component("GraphicGapMatchGroup", OP).component("MediaGroup", Bb).component("OrderGroup", xk).component("qti-gap-text", Ak).component("qti-gap-img", Nk).component("qti-gap", kk).component("qti-hottext", Fk).component("qti-hotspot-choice", zk).component("qti-interaction-modules", Jk).component("qti-interaction-module", sD).component("qti-interaction-markup", oD).component("qti-template-variable", hD).component("qti-context-variable", mD), H.component("qti-catalog", qD).component("qti-card", DD).component("qti-card-entry", FD).component("qti-html-content", WD).component("qti-file-href", XD), H.component("qti-response-condition", iB), H.component("qti-response-processing-fragment", aB), H.component("qti-set-outcome-value", cB), H.component("qti-exit-response", pB), H.component("qti-lookup-outcome-value", wB), H.component("qti-response-if", CB), H.component("qti-response-else", IB), H.component("qti-response-else-if", $B), H.component("qti-set-template-value", qB), H.component("qti-template-condition", BB), H.component("qti-template-if", UB), H.component("qti-template-else", zB), H.component("qti-template-else-if", ZB), H.component("qti-template-constraint", iQ), H.component("qti-exit-template", aQ), H.component("qti-set-correct-response", hQ), H.component("qti-set-default-value", gQ), H.component("qti-base-value", TQ), H.component("qti-correct", _Q), H.component("qti-default", LQ), H.component("qti-variable", qQ), H.component("qti-match", DQ), H.component("qti-map-response", FQ), H.component("qti-map-response-point", WQ), H.component("qti-is-null", XQ), H.component("qti-and", t5), H.component("qti-or", r5), H.component("qti-not", u5), H.component("qti-subtract", f5), H.component("qti-sum", y5), H.component("qti-random", E5), H.component("qti-multiple", S5), H.component("qti-ordered", A5), H.component("qti-equal", R5), H.component("qti-equal-rounded", P5), H.component("qti-field-value", Q5), H.component("qti-random-float", G5), H.component("qti-random-integer", K5), H.component("qti-inside", J5), H.component("qti-integer-divide", s3), H.component("qti-integer-modulus", o3), H.component("qti-integer-to-float", h3), H.component("qti-product", m3), H.component("qti-index", b3), H.component("qti-member", T3), H.component("qti-delete", _3), H.component("qti-substring", L3), H.component("qti-string-match", q3), H.component("qti-pattern-match", D3), H.component("qti-round", F3), H.component("qti-round-to", W3), H.component("qti-truncate", X3), H.component("qti-divide", t4), H.component("qti-gt", r4), H.component("qti-gte", u4), H.component("qti-lt", f4), H.component("qti-lte", y4), H.component("qti-max", E4), H.component("qti-min", S4), H.component("qti-custom-operator", N4), H.component("qti-math-operator", k4), H.component("qti-math-constant", U4), H.component("qti-repeat", z4), H.component("qti-stats-operator", Z4), H.component("qti-gcd", iH), H.component("qti-lcm", aH), H.component("qti-power", cH), H.component("qti-any-n", pH);
|
45062
45085
|
}
|
45063
45086
|
function ce() {
|
45064
45087
|
hv(() => {
|