@pie-element/placement-ordering 15.0.7-next.20261023051841 → 15.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 +16 -16
|
@@ -322,7 +322,7 @@ var U = (e, t) => new Promise((n) => {
|
|
|
322
322
|
return u(c, l) && (a.orderError = "The correct ordering should not be identical to the initial ordering."), r(s) || (a.choicesErrors = s), a;
|
|
323
323
|
}, K = Object.freeze({
|
|
324
324
|
name: "@pie-element/placement-ordering",
|
|
325
|
-
version: "15.0.7
|
|
325
|
+
version: "15.0.7"
|
|
326
326
|
});
|
|
327
327
|
//#endregion
|
|
328
328
|
export { U as createCorrectResponseSession, B as createDefaultModel, R as getLogTrace, H as model, V as normalize, z as outcome, K as piePackage, L as questionError, G as validate };
|
|
@@ -1349,7 +1349,7 @@ var bt = class extends P.Component {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}, Tt = Object.freeze({
|
|
1351
1351
|
name: "@pie-element/placement-ordering",
|
|
1352
|
-
version: "15.0.7
|
|
1352
|
+
version: "15.0.7"
|
|
1353
1353
|
});
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
export { wt as default, Ct as isValidSession, Tt as piePackage };
|
|
@@ -13667,6 +13667,12 @@ var Dv = (e) => e ? {
|
|
|
13667
13667
|
children: s.map((e, t) => {
|
|
13668
13668
|
let n = this.buttonClick.bind(this, e);
|
|
13669
13669
|
if (!e) return /* @__PURE__ */ U("span", {}, `empty-${t}`);
|
|
13670
|
+
if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ U(kv, {
|
|
13671
|
+
disabled: !0,
|
|
13672
|
+
"aria-hidden": "true",
|
|
13673
|
+
tabIndex: -1,
|
|
13674
|
+
category: o ? void 0 : e.category
|
|
13675
|
+
}, `placeholder-${t}`);
|
|
13670
13676
|
let r = {
|
|
13671
13677
|
onClick: n,
|
|
13672
13678
|
disabled: this.keyIsNotAllowed(e),
|
|
@@ -22816,24 +22822,27 @@ var zv = (e) => String(e || "").replace(/-/g, "_"), Bv = (e) => e && e.attrs &&
|
|
|
22816
22822
|
}
|
|
22817
22823
|
},
|
|
22818
22824
|
"& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
22819
|
-
})), sy = z(Le)({
|
|
22820
|
-
|
|
22821
|
-
width: "25%",
|
|
22825
|
+
})), sy = z(Le)(({ theme: e }) => ({
|
|
22826
|
+
width: "fit-content",
|
|
22822
22827
|
minWidth: "100px",
|
|
22823
|
-
|
|
22824
|
-
|
|
22825
|
-
|
|
22826
|
-
|
|
22828
|
+
maxWidth: "150px",
|
|
22829
|
+
marginLeft: e.spacing(2),
|
|
22830
|
+
marginTop: e.spacing(.5),
|
|
22831
|
+
marginBottom: e.spacing(.5),
|
|
22832
|
+
marginRight: e.spacing(2),
|
|
22827
22833
|
"& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
|
|
22828
22834
|
"& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
22829
|
-
}), cy = z(Ke)(() => ({ backgroundColor: "transparent" })), ly = z("div")(({ theme: e, error: t }) => ({
|
|
22830
|
-
|
|
22831
|
-
|
|
22835
|
+
})), cy = z(Ke)(() => ({ backgroundColor: "transparent" })), ly = z("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
|
|
22836
|
+
...n ? {
|
|
22837
|
+
flex: 1,
|
|
22838
|
+
minWidth: 0
|
|
22839
|
+
} : {
|
|
22840
|
+
width: "100%",
|
|
22841
|
+
minWidth: "500px",
|
|
22842
|
+
maxWidth: "900px"
|
|
22843
|
+
},
|
|
22832
22844
|
minHeight: "30px",
|
|
22833
|
-
width: "100%",
|
|
22834
22845
|
display: "flex",
|
|
22835
|
-
marginTop: e.spacing(1),
|
|
22836
|
-
marginBottom: e.spacing(1),
|
|
22837
22846
|
...t && { border: "2px solid red" },
|
|
22838
22847
|
"& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
|
|
22839
22848
|
})), uy = z(yv.Input)(({ controlledKeypadMode: e }) => ({
|
|
@@ -23021,6 +23030,7 @@ var zv = (e) => String(e || "").replace(/-/g, "_"), Bv = (e) => e && e.attrs &&
|
|
|
23021
23030
|
})]
|
|
23022
23031
|
}), /* @__PURE__ */ U(ly, {
|
|
23023
23032
|
error: m,
|
|
23033
|
+
controlledKeypadMode: a,
|
|
23024
23034
|
children: /* @__PURE__ */ U(uy, {
|
|
23025
23035
|
onFocus: () => {
|
|
23026
23036
|
f && f(), this.updateDisable(!1);
|
|
@@ -28853,7 +28863,7 @@ var sT = (0, On.default)("@pie-element:placement-ordering:design"), { Panel: cT,
|
|
|
28853
28863
|
}
|
|
28854
28864
|
}, CT = Object.freeze({
|
|
28855
28865
|
name: "@pie-element/placement-ordering",
|
|
28856
|
-
version: "15.0.7
|
|
28866
|
+
version: "15.0.7"
|
|
28857
28867
|
});
|
|
28858
28868
|
//#endregion
|
|
28859
28869
|
export { xT as addWeightToCorrectResponse, ST as default, CT as piePackage };
|