alexsys-exam-renderer 0.1.29 → 0.1.30
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/index.js +13 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5763,14 +5763,20 @@ function is(e, t, n, r, i, a = !1, l) {
|
|
|
5763
5763
|
]
|
|
5764
5764
|
});
|
|
5765
5765
|
}
|
|
5766
|
-
case "drag-match":
|
|
5767
|
-
case "matching-pairs": return /* @__PURE__ */ s(Hn, {
|
|
5766
|
+
case "drag-match": return /* @__PURE__ */ s(Hn, {
|
|
5768
5767
|
emptyTargetLabel: zs(a),
|
|
5769
5768
|
items: e.items,
|
|
5770
5769
|
onChange: (t) => n(e.id, t),
|
|
5771
5770
|
targets: e.targets,
|
|
5772
5771
|
value: _s(t(e.id))
|
|
5773
5772
|
});
|
|
5773
|
+
case "matching-pairs": return /* @__PURE__ */ s(Hn, {
|
|
5774
|
+
emptyTargetLabel: zs(a),
|
|
5775
|
+
items: Vo(e.items, `${e.id}:items`),
|
|
5776
|
+
onChange: (t) => n(e.id, t),
|
|
5777
|
+
targets: Vo(e.targets, `${e.id}:targets`),
|
|
5778
|
+
value: _s(t(e.id))
|
|
5779
|
+
});
|
|
5774
5780
|
case "sortable-answer": return /* @__PURE__ */ s(Oo, {
|
|
5775
5781
|
answerId: e.id,
|
|
5776
5782
|
items: Vo(e.items, e.id),
|
|
@@ -7235,11 +7241,14 @@ function sc(t, n, r, i) {
|
|
|
7235
7241
|
targets: t.targets
|
|
7236
7242
|
})
|
|
7237
7243
|
});
|
|
7238
|
-
case "drag-match":
|
|
7239
|
-
case "matching-pairs": return /* @__PURE__ */ s(Nc, {
|
|
7244
|
+
case "drag-match": return /* @__PURE__ */ s(Nc, {
|
|
7240
7245
|
items: t.items,
|
|
7241
7246
|
targets: t.targets
|
|
7242
7247
|
});
|
|
7248
|
+
case "matching-pairs": return /* @__PURE__ */ s(Nc, {
|
|
7249
|
+
items: Vo(t.items, `${t.id}:items`),
|
|
7250
|
+
targets: Vo(t.targets, `${t.id}:targets`)
|
|
7251
|
+
});
|
|
7243
7252
|
case "sortable-answer": return /* @__PURE__ */ c("div", {
|
|
7244
7253
|
className: "printable-sortable",
|
|
7245
7254
|
dir: a,
|