@pie-element/categorize 14.0.7-next.20261023051841 → 14.0.7
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/browser/author/index.js +24 -14
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/author/index.js +24 -14
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +17 -17
|
@@ -374,7 +374,7 @@ var C = {
|
|
|
374
374
|
return r(m) || (p.choicesErrors = m), r(h) || (p.categoriesErrors = h), p;
|
|
375
375
|
}, H = Object.freeze({
|
|
376
376
|
name: "@pie-element/categorize",
|
|
377
|
-
version: "14.0.7
|
|
377
|
+
version: "14.0.7"
|
|
378
378
|
});
|
|
379
379
|
//#endregion
|
|
380
380
|
export { R as createCorrectResponseSession, N as createDefaultModel, M as getCorrectness, I as getLogTrace, k as getPartialScore, j as getTotalScore, F as model, P as normalize, L as outcome, H as piePackage, c as score, V as validate };
|
|
@@ -1325,7 +1325,7 @@ var Dt = A, $ = Dt.default, Ot = $ && typeof $ == "object" ? $ : Dt, kt = Et("da
|
|
|
1325
1325
|
}
|
|
1326
1326
|
}, jt = Object.freeze({
|
|
1327
1327
|
name: "@pie-element/categorize",
|
|
1328
|
-
version: "14.0.7
|
|
1328
|
+
version: "14.0.7"
|
|
1329
1329
|
});
|
|
1330
1330
|
//#endregion
|
|
1331
1331
|
export { At as default, jt as piePackage };
|
|
@@ -12585,6 +12585,12 @@ var G_ = (e) => e ? {
|
|
|
12585
12585
|
children: s.map((e, t) => {
|
|
12586
12586
|
let n = this.buttonClick.bind(this, e);
|
|
12587
12587
|
if (!e) return /* @__PURE__ */ H("span", {}, `empty-${t}`);
|
|
12588
|
+
if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ H(q_, {
|
|
12589
|
+
disabled: !0,
|
|
12590
|
+
"aria-hidden": "true",
|
|
12591
|
+
tabIndex: -1,
|
|
12592
|
+
category: o ? void 0 : e.category
|
|
12593
|
+
}, `placeholder-${t}`);
|
|
12588
12594
|
let r = {
|
|
12589
12595
|
onClick: n,
|
|
12590
12596
|
disabled: this.keyIsNotAllowed(e),
|
|
@@ -21734,24 +21740,27 @@ var rv = (e) => String(e || "").replace(/-/g, "_"), iv = (e) => e && e.attrs &&
|
|
|
21734
21740
|
}
|
|
21735
21741
|
},
|
|
21736
21742
|
"& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
21737
|
-
})), Tv = T(s)({
|
|
21738
|
-
|
|
21739
|
-
width: "25%",
|
|
21743
|
+
})), Tv = T(s)(({ theme: e }) => ({
|
|
21744
|
+
width: "fit-content",
|
|
21740
21745
|
minWidth: "100px",
|
|
21741
|
-
|
|
21742
|
-
|
|
21743
|
-
|
|
21744
|
-
|
|
21746
|
+
maxWidth: "150px",
|
|
21747
|
+
marginLeft: e.spacing(2),
|
|
21748
|
+
marginTop: e.spacing(.5),
|
|
21749
|
+
marginBottom: e.spacing(.5),
|
|
21750
|
+
marginRight: e.spacing(2),
|
|
21745
21751
|
"& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
|
|
21746
21752
|
"& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
21747
|
-
}), Ev = T(w)(() => ({ backgroundColor: "transparent" })), Dv = T("div")(({ theme: e, error: t }) => ({
|
|
21748
|
-
|
|
21749
|
-
|
|
21753
|
+
})), Ev = T(w)(() => ({ backgroundColor: "transparent" })), Dv = T("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
|
|
21754
|
+
...n ? {
|
|
21755
|
+
flex: 1,
|
|
21756
|
+
minWidth: 0
|
|
21757
|
+
} : {
|
|
21758
|
+
width: "100%",
|
|
21759
|
+
minWidth: "500px",
|
|
21760
|
+
maxWidth: "900px"
|
|
21761
|
+
},
|
|
21750
21762
|
minHeight: "30px",
|
|
21751
|
-
width: "100%",
|
|
21752
21763
|
display: "flex",
|
|
21753
|
-
marginTop: e.spacing(1),
|
|
21754
|
-
marginBottom: e.spacing(1),
|
|
21755
21764
|
...t && { border: "2px solid red" },
|
|
21756
21765
|
"& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
|
|
21757
21766
|
})), Ov = T(L_.Input)(({ controlledKeypadMode: e }) => ({
|
|
@@ -21939,6 +21948,7 @@ var rv = (e) => String(e || "").replace(/-/g, "_"), iv = (e) => e && e.attrs &&
|
|
|
21939
21948
|
})]
|
|
21940
21949
|
}), /* @__PURE__ */ H(Dv, {
|
|
21941
21950
|
error: m,
|
|
21951
|
+
controlledKeypadMode: a,
|
|
21942
21952
|
children: /* @__PURE__ */ H(Ov, {
|
|
21943
21953
|
onFocus: () => {
|
|
21944
21954
|
f && f(), this.updateDisable(!1);
|
|
@@ -28479,7 +28489,7 @@ var uT = Ae.withUid(lT), dT = T("div")(({ theme: e }) => ({
|
|
|
28479
28489
|
}
|
|
28480
28490
|
}, IT = Object.freeze({
|
|
28481
28491
|
name: "@pie-element/categorize",
|
|
28482
|
-
version: "14.0.7
|
|
28492
|
+
version: "14.0.7"
|
|
28483
28493
|
});
|
|
28484
28494
|
//#endregion
|
|
28485
28495
|
export { FT as default, IT as piePackage };
|