@pie-element/matrix 5.0.7-next.20261023051841 → 5.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 +11 -11
|
@@ -55,7 +55,7 @@ var a = (e, t) => new Promise((n) => {
|
|
|
55
55
|
}), n;
|
|
56
56
|
}, c = Object.freeze({
|
|
57
57
|
name: "@pie-element/matrix",
|
|
58
|
-
version: "5.0.7
|
|
58
|
+
version: "5.0.7"
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { a as createCorrectResponseSession, n as createDefaultModel, r as model, i as outcome, c as piePackage, s as validate };
|
|
@@ -214,7 +214,7 @@ var L = u, R = L.default, z = R && typeof R == "object" ? R : L, B = I(a, "Previ
|
|
|
214
214
|
}
|
|
215
215
|
}, W = Object.freeze({
|
|
216
216
|
name: "@pie-element/matrix",
|
|
217
|
-
version: "5.0.7
|
|
217
|
+
version: "5.0.7"
|
|
218
218
|
});
|
|
219
219
|
//#endregion
|
|
220
220
|
export { U as default, H as isComplete, W as piePackage };
|
|
@@ -6910,6 +6910,12 @@ var af = (e) => e ? {
|
|
|
6910
6910
|
children: s.map((e, t) => {
|
|
6911
6911
|
let n = this.buttonClick.bind(this, e);
|
|
6912
6912
|
if (!e) return /* @__PURE__ */ B("span", {}, `empty-${t}`);
|
|
6913
|
+
if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ B(sf, {
|
|
6914
|
+
disabled: !0,
|
|
6915
|
+
"aria-hidden": "true",
|
|
6916
|
+
tabIndex: -1,
|
|
6917
|
+
category: o ? void 0 : e.category
|
|
6918
|
+
}, `placeholder-${t}`);
|
|
6913
6919
|
let r = {
|
|
6914
6920
|
onClick: n,
|
|
6915
6921
|
disabled: this.keyIsNotAllowed(e),
|
|
@@ -17954,24 +17960,27 @@ var am = (e, t) => {
|
|
|
17954
17960
|
}
|
|
17955
17961
|
},
|
|
17956
17962
|
"& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
17957
|
-
})), _m = L(ke)({
|
|
17958
|
-
|
|
17959
|
-
width: "25%",
|
|
17963
|
+
})), _m = L(ke)(({ theme: e }) => ({
|
|
17964
|
+
width: "fit-content",
|
|
17960
17965
|
minWidth: "100px",
|
|
17961
|
-
|
|
17962
|
-
|
|
17963
|
-
|
|
17964
|
-
|
|
17966
|
+
maxWidth: "150px",
|
|
17967
|
+
marginLeft: e.spacing(2),
|
|
17968
|
+
marginTop: e.spacing(.5),
|
|
17969
|
+
marginBottom: e.spacing(.5),
|
|
17970
|
+
marginRight: e.spacing(2),
|
|
17965
17971
|
"& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
|
|
17966
17972
|
"& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
17967
|
-
}), vm = L(ye)(() => ({ backgroundColor: "transparent" })), ym = L("div")(({ theme: e, error: t }) => ({
|
|
17968
|
-
|
|
17969
|
-
|
|
17973
|
+
})), vm = L(ye)(() => ({ backgroundColor: "transparent" })), ym = L("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
|
|
17974
|
+
...n ? {
|
|
17975
|
+
flex: 1,
|
|
17976
|
+
minWidth: 0
|
|
17977
|
+
} : {
|
|
17978
|
+
width: "100%",
|
|
17979
|
+
minWidth: "500px",
|
|
17980
|
+
maxWidth: "900px"
|
|
17981
|
+
},
|
|
17970
17982
|
minHeight: "30px",
|
|
17971
|
-
width: "100%",
|
|
17972
17983
|
display: "flex",
|
|
17973
|
-
marginTop: e.spacing(1),
|
|
17974
|
-
marginBottom: e.spacing(1),
|
|
17975
17984
|
...t && { border: "2px solid red" },
|
|
17976
17985
|
"& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
|
|
17977
17986
|
})), bm = L(Xd.Input)(({ controlledKeypadMode: e }) => ({
|
|
@@ -18159,6 +18168,7 @@ var am = (e, t) => {
|
|
|
18159
18168
|
})]
|
|
18160
18169
|
}), /* @__PURE__ */ B(ym, {
|
|
18161
18170
|
error: m,
|
|
18171
|
+
controlledKeypadMode: a,
|
|
18162
18172
|
children: /* @__PURE__ */ B(bm, {
|
|
18163
18173
|
onFocus: () => {
|
|
18164
18174
|
f && f(), this.updateDisable(!1);
|
|
@@ -27639,7 +27649,7 @@ var { Panel: oT, toggle: sT, radio: cT } = FC, lT = L(XC)(({ theme: e }) => ({
|
|
|
27639
27649
|
}
|
|
27640
27650
|
}, vT = Object.freeze({
|
|
27641
27651
|
name: "@pie-element/matrix",
|
|
27642
|
-
version: "5.0.7
|
|
27652
|
+
version: "5.0.7"
|
|
27643
27653
|
});
|
|
27644
27654
|
//#endregion
|
|
27645
27655
|
export { _T as default, vT as piePackage };
|