@pie-element/extended-text-entry 15.1.2-next.0 → 15.1.2-next.10
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/author/index.d.ts +1 -0
- package/dist/author/index.js +5 -2
- package/dist/author/main.js +38 -38
- package/dist/browser/author/index.js +2208 -90
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/browser-kkT1XVKw.js +13 -4
- package/dist/browser/browser-kkT1XVKw.js.map +1 -1
- package/dist/browser/controller/index.js +2 -2
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +3 -3
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/{dist-D8VooYkz.js → dist-BefNeqwZ.js} +40001 -40474
- package/dist/browser/dist-BefNeqwZ.js.map +1 -0
- package/dist/browser/{main-C2oHx_V9.js → main-1U6_tsVt.js} +61 -60
- package/dist/browser/main-1U6_tsVt.js.map +1 -0
- package/dist/browser/print/index.js +13 -18
- package/dist/browser/print/index.js.map +1 -1
- package/dist/controller/index.js +2 -2
- package/dist/delivery/annotation/annotation-menu.js +30 -29
- package/dist/delivery/annotation/freeform-editor.js +36 -35
- package/dist/delivery/index.js +2 -2
- package/dist/delivery/main.d.ts +2 -2
- package/dist/delivery/main.js +21 -20
- package/dist/index.iife.js +107 -103
- package/dist/print/index.js +9 -10
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/module/extended-text-entry.css +2 -0
- package/module/print.js +55382 -0
- package/module/print.js.map +1 -0
- package/package.json +26 -10
- package/print.js +2 -0
- package/dist/browser/dist-D8VooYkz.js.map +0 -1
- package/dist/browser/main-C2oHx_V9.js.map +0 -1
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
package/dist/author/index.d.ts
CHANGED
package/dist/author/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "./main.js";
|
|
1
|
+
import { Main as e } from "./main.js";
|
|
2
2
|
import t from "./defaults.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { createRoot as r } from "react-dom/client";
|
|
@@ -66,8 +66,11 @@ var l = class l extends HTMLElement {
|
|
|
66
66
|
this._root ||= r(this), this._root.render(t);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
connectedCallback() {
|
|
70
|
+
this.render();
|
|
71
|
+
}
|
|
69
72
|
disconnectedCallback() {
|
|
70
|
-
this._root
|
|
73
|
+
this._root &&= (this._root.unmount(), null);
|
|
71
74
|
}
|
|
72
75
|
};
|
|
73
76
|
//#endregion
|
package/dist/author/main.js
CHANGED
|
@@ -4,21 +4,21 @@ import n from "@mui/material/Typography";
|
|
|
4
4
|
import { styled as r } from "@mui/material/styles";
|
|
5
5
|
import i, { ALL_PLUGINS as a } from "@pie-lib/editable-html-tip-tap";
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
|
-
import { FeedbackSelector as
|
|
7
|
+
import { FeedbackSelector as ee, InputContainer as c, layout as l, settings as u } from "@pie-lib/config-ui";
|
|
8
8
|
//#region src/author/main.tsx
|
|
9
|
-
var { Panel:
|
|
9
|
+
var { Panel: d, toggle: f, numberFields: p, dropdown: m } = u, h = {
|
|
10
10
|
type: "default",
|
|
11
11
|
default: "Your answer has been submitted"
|
|
12
|
-
},
|
|
12
|
+
}, g = r(n)(({ theme: e }) => ({ paddingBottom: e.spacing(1) })), _ = r(c)(({ theme: e }) => ({
|
|
13
13
|
paddingTop: e.spacing(1),
|
|
14
14
|
marginTop: e.spacing(2),
|
|
15
15
|
marginBottom: e.spacing(2),
|
|
16
16
|
width: "100%"
|
|
17
|
-
})),
|
|
17
|
+
})), v = r("div")(({ theme: e }) => ({
|
|
18
18
|
fontSize: e.typography.fontSize - 2,
|
|
19
19
|
color: e.palette.error.main,
|
|
20
20
|
paddingTop: e.spacing(1)
|
|
21
|
-
})),
|
|
21
|
+
})), y = class extends e.Component {
|
|
22
22
|
static propTypes = {
|
|
23
23
|
onModelChanged: t.func.isRequired,
|
|
24
24
|
onConfigurationChanged: t.func,
|
|
@@ -52,9 +52,9 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
54
|
render() {
|
|
55
|
-
let { model: t, configuration: n, imageSupport: r, onConfigurationChanged:
|
|
56
|
-
mathInput: N.settings &&
|
|
57
|
-
equationEditor:
|
|
55
|
+
let { model: t, configuration: n, imageSupport: r, onConfigurationChanged: c, onModelChanged: u, uploadSoundSupport: y } = this.props, { annotations: b = {}, contentDimensions: x = {}, dimensions: S = {}, equationEditor: C = {}, feedback: w = {}, playerSpellCheck: T = {}, prompt: E = {}, settingsPanelDisabled: D, spanishInput: O = {}, specialInput: k = {}, spellCheck: A = {}, studentInstructions: j = {}, teacherInstructions: M = {}, mathInput: N = {}, maxImageWidth: P = {}, maxImageHeight: F = {}, multiple: I = {}, withRubric: L = {}, mathMlOptions: R = {}, baseInputConfiguration: z = {} } = n || {}, { errors: B = {}, extraCSSRules: V, feedbackEnabled: H, promptEnabled: U, spellCheckEnabled: W, teacherInstructionsEnabled: G, toolbarEditorPosition: K } = t || {}, { prompt: q, teacherInstructions: J } = B, Y = P && P.prompt, X = F && F.prompt, Z = { position: K === "top" ? "top" : "bottom" }, Q = {
|
|
56
|
+
mathInput: N.settings && f(N.label),
|
|
57
|
+
equationEditor: C.enabled && t.mathInput && m(C.label, [
|
|
58
58
|
"non-negative-integers",
|
|
59
59
|
"integers",
|
|
60
60
|
"decimals",
|
|
@@ -68,9 +68,9 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
68
68
|
"statistics",
|
|
69
69
|
"item-authoring"
|
|
70
70
|
]),
|
|
71
|
-
spanishInput: O.settings &&
|
|
72
|
-
specialInput: k.settings &&
|
|
73
|
-
dimensions:
|
|
71
|
+
spanishInput: O.settings && f(O.label),
|
|
72
|
+
specialInput: k.settings && f(k.label),
|
|
73
|
+
dimensions: S.settings && p(S.label, {
|
|
74
74
|
width: {
|
|
75
75
|
label: "Width (px)",
|
|
76
76
|
suffix: "px",
|
|
@@ -84,33 +84,33 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
84
84
|
max: 500
|
|
85
85
|
}
|
|
86
86
|
}),
|
|
87
|
-
"multiple.enabled": I.settings &&
|
|
88
|
-
promptEnabled:
|
|
89
|
-
feedbackEnabled:
|
|
90
|
-
annotationsEnabled:
|
|
91
|
-
spellCheckEnabled: A.settings &&
|
|
92
|
-
playerSpellCheckDisabled:
|
|
87
|
+
"multiple.enabled": I.settings && f(I.label, !0),
|
|
88
|
+
promptEnabled: E.settings && f(E.label),
|
|
89
|
+
feedbackEnabled: w.settings && f(w.label),
|
|
90
|
+
annotationsEnabled: b.settings && f(b.label),
|
|
91
|
+
spellCheckEnabled: A.settings && f(A.label),
|
|
92
|
+
playerSpellCheckDisabled: T.settings && f(T.label)
|
|
93
93
|
}, te = {
|
|
94
|
-
teacherInstructionsEnabled: M.settings &&
|
|
95
|
-
studentInstructionsEnabled: j.settings &&
|
|
96
|
-
rubricEnabled: L?.settings &&
|
|
94
|
+
teacherInstructionsEnabled: M.settings && f(M.label),
|
|
95
|
+
studentInstructionsEnabled: j.settings && f(j.label),
|
|
96
|
+
rubricEnabled: L?.settings && f(L?.label)
|
|
97
97
|
}, $ = (e) => Object.assign({ ...z }, e || {});
|
|
98
|
-
return /* @__PURE__ */ s(
|
|
98
|
+
return /* @__PURE__ */ s(l.ConfigLayout, {
|
|
99
99
|
extraCSSRules: V,
|
|
100
|
-
dimensions:
|
|
101
|
-
hideSettings:
|
|
102
|
-
settings: /* @__PURE__ */ o(
|
|
100
|
+
dimensions: x,
|
|
101
|
+
hideSettings: D,
|
|
102
|
+
settings: /* @__PURE__ */ o(d, {
|
|
103
103
|
model: t,
|
|
104
104
|
configuration: n,
|
|
105
|
-
onChangeModel: (e) =>
|
|
106
|
-
onChangeConfiguration: (e) =>
|
|
105
|
+
onChangeModel: (e) => u(e),
|
|
106
|
+
onChangeConfiguration: (e) => c(e),
|
|
107
107
|
groups: {
|
|
108
108
|
Settings: Q,
|
|
109
109
|
Properties: te
|
|
110
110
|
}
|
|
111
111
|
}),
|
|
112
112
|
children: [
|
|
113
|
-
G && /* @__PURE__ */ s(
|
|
113
|
+
G && /* @__PURE__ */ s(_, {
|
|
114
114
|
label: M.label,
|
|
115
115
|
children: [/* @__PURE__ */ o(i, {
|
|
116
116
|
className: "prompt",
|
|
@@ -123,14 +123,14 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
123
123
|
spellCheck: W,
|
|
124
124
|
maxImageWidth: P && P.teacherInstructions || Y,
|
|
125
125
|
maxImageHeight: F && F.teacherInstructions || X,
|
|
126
|
-
uploadSoundSupport:
|
|
126
|
+
uploadSoundSupport: y,
|
|
127
127
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
128
128
|
mathMlOptions: R,
|
|
129
129
|
pluginProps: $(M?.inputConfiguration)
|
|
130
|
-
}), J && /* @__PURE__ */ o(
|
|
130
|
+
}), J && /* @__PURE__ */ o(v, { children: J })]
|
|
131
131
|
}),
|
|
132
|
-
U && /* @__PURE__ */ s(
|
|
133
|
-
label:
|
|
132
|
+
U && /* @__PURE__ */ s(_, {
|
|
133
|
+
label: E.label,
|
|
134
134
|
children: [/* @__PURE__ */ o(i, {
|
|
135
135
|
activePlugins: a,
|
|
136
136
|
className: "prompt",
|
|
@@ -143,18 +143,18 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
143
143
|
spellCheck: W,
|
|
144
144
|
maxImageWidth: Y,
|
|
145
145
|
maxImageHeight: X,
|
|
146
|
-
uploadSoundSupport:
|
|
146
|
+
uploadSoundSupport: y,
|
|
147
147
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
148
148
|
mathMlOptions: R,
|
|
149
|
-
pluginProps: $(
|
|
150
|
-
}), q && /* @__PURE__ */ o(
|
|
149
|
+
pluginProps: $(E?.inputConfiguration)
|
|
150
|
+
}), q && /* @__PURE__ */ o(v, { children: q })]
|
|
151
151
|
}),
|
|
152
|
-
H && /* @__PURE__ */ s(e.Fragment, { children: [/* @__PURE__ */ o(
|
|
152
|
+
H && /* @__PURE__ */ s(e.Fragment, { children: [/* @__PURE__ */ o(g, {
|
|
153
153
|
variant: "h6",
|
|
154
154
|
children: "Feedback"
|
|
155
|
-
}), /* @__PURE__ */ o(
|
|
155
|
+
}), /* @__PURE__ */ o(ee, {
|
|
156
156
|
label: "When submitted, show",
|
|
157
|
-
feedback: t.feedback ||
|
|
157
|
+
feedback: t.feedback || h,
|
|
158
158
|
onChange: this.changeFeedback,
|
|
159
159
|
toolbarOpts: Z
|
|
160
160
|
})] })
|
|
@@ -163,4 +163,4 @@ var { Panel: f, toggle: p, numberFields: m, dropdown: h } = d, g = {
|
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
//#endregion
|
|
166
|
-
export {
|
|
166
|
+
export { y as Main, y as default };
|