@pie-element/multiple-choice 14.0.7 → 14.0.8-next.20261023175726
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 +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/author/index.js +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{main-BbuEYePU.js → main-CHDASqeA.js} +8 -6
- package/dist/browser/editor-runtime/{main-BbuEYePU.js.map → main-CHDASqeA.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +2 -2
- package/dist/browser/{main-BwFvix_I.js → main-DJz2ldoI.js} +8 -6
- package/dist/browser/{main-BwFvix_I.js.map → main-DJz2ldoI.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/delivery/__tests__/interface-locale.test.d.ts +1 -0
- package/dist/delivery/main.d.ts +1 -0
- package/dist/delivery/main.js +7 -5
- package/dist/index.iife.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/module/print.js +7 -5
- package/module/print.js.map +1 -1
- package/package.json +14 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/configuration.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"answerChoiceCount": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/model.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/session.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
package/module/print.js
CHANGED
|
@@ -19890,17 +19890,18 @@ var OT = Ux, kT = OT.default, AT = kT && typeof kT == "object" ? kT : OT, jT = D
|
|
|
19890
19890
|
baseHeadingLevel: Q.default.number,
|
|
19891
19891
|
includeSrHeading: Q.default.bool,
|
|
19892
19892
|
eliminatedChoices: Q.default.arrayOf(Q.default.string),
|
|
19893
|
-
mathOutsideNames: Q.default.bool
|
|
19893
|
+
mathOutsideNames: Q.default.bool,
|
|
19894
|
+
language: Q.default.string
|
|
19894
19895
|
};
|
|
19895
19896
|
static defaultProps = {
|
|
19896
19897
|
model: {},
|
|
19897
19898
|
session: {}
|
|
19898
19899
|
};
|
|
19899
19900
|
render() {
|
|
19900
|
-
let { model: e, onChoiceChanged: t, session: n, onShowCorrectToggle: r, options: i, baseHeadingLevel: a, includeSrHeading: o, eliminatedChoices: s, mathOutsideNames: c } = this.props, { extraCSSRules:
|
|
19901
|
+
let { model: e, onChoiceChanged: t, session: n, onShowCorrectToggle: r, options: i, baseHeadingLevel: a, includeSrHeading: o, eliminatedChoices: s, mathOutsideNames: c, language: l } = this.props, { extraCSSRules: u, fontSizeFactor: d } = e;
|
|
19901
19902
|
return /* @__PURE__ */ (0, W.jsx)(jT, {
|
|
19902
|
-
extraCSSRules:
|
|
19903
|
-
fontSizeFactor:
|
|
19903
|
+
extraCSSRules: u,
|
|
19904
|
+
fontSizeFactor: d,
|
|
19904
19905
|
classes: {},
|
|
19905
19906
|
children: /* @__PURE__ */ (0, W.jsx)(TT, {
|
|
19906
19907
|
...e,
|
|
@@ -19911,7 +19912,8 @@ var OT = Ux, kT = OT.default, AT = kT && typeof kT == "object" ? kT : OT, jT = D
|
|
|
19911
19912
|
baseHeadingLevel: a,
|
|
19912
19913
|
includeSrHeading: o,
|
|
19913
19914
|
eliminatedChoices: s,
|
|
19914
|
-
mathOutsideNames: c
|
|
19915
|
+
mathOutsideNames: c,
|
|
19916
|
+
language: l ?? e.language
|
|
19915
19917
|
})
|
|
19916
19918
|
});
|
|
19917
19919
|
}
|