@pie-element/graphing-solution-set 7.0.4-next.20261010144103 → 7.0.4-next.20261011221311

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.
Files changed (42) hide show
  1. package/dist/author/configure.d.ts +23 -13
  2. package/dist/author/configure.js +46 -58
  3. package/dist/author/correct-response.d.ts +1 -0
  4. package/dist/author/correct-response.js +1 -0
  5. package/dist/author/defaults.d.ts +138 -60
  6. package/dist/author/graphing-config.d.ts +1 -0
  7. package/dist/author/graphing-config.js +1 -0
  8. package/dist/author/index.d.ts +15 -49
  9. package/dist/author/index.js +5 -2
  10. package/dist/browser/{alert-dialog-DllDU7Pm.js → alert-dialog-Dp3LfDPB.js} +12 -12
  11. package/dist/browser/{alert-dialog-DllDU7Pm.js.map → alert-dialog-Dp3LfDPB.js.map} +1 -1
  12. package/dist/browser/author/index.js +83 -91
  13. package/dist/browser/author/index.js.map +1 -1
  14. package/dist/browser/controller/index.js +57 -55
  15. package/dist/browser/controller/index.js.map +1 -1
  16. package/dist/browser/delivery/index.js +86 -86
  17. package/dist/browser/delivery/index.js.map +1 -1
  18. package/dist/browser/editor-runtime/{alert-dialog-EKnpaRqk.js → alert-dialog-4qvRDuSD.js} +12 -12
  19. package/dist/browser/editor-runtime/{alert-dialog-EKnpaRqk.js.map → alert-dialog-4qvRDuSD.js.map} +1 -1
  20. package/dist/browser/editor-runtime/author/index.js +83 -91
  21. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  22. package/dist/browser/editor-runtime/controller/index.js +57 -55
  23. package/dist/browser/editor-runtime/controller/index.js.map +1 -1
  24. package/dist/browser/editor-runtime/delivery/index.js +86 -86
  25. package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
  26. package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BTOkFSFn.js → mathjax-CptWnMbQ-CuSAeI3o.js} +2 -2
  27. package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BTOkFSFn.js.map → mathjax-CptWnMbQ-CuSAeI3o.js.map} +1 -1
  28. package/dist/browser/{mathjax-CptWnMbQ-z6JCQNaz.js → mathjax-CptWnMbQ-CbLU2IFU.js} +2 -2
  29. package/dist/browser/{mathjax-CptWnMbQ-z6JCQNaz.js.map → mathjax-CptWnMbQ-CbLU2IFU.js.map} +1 -1
  30. package/dist/controller/defaults.d.ts +19 -18
  31. package/dist/controller/index.d.ts +45 -13
  32. package/dist/controller/index.js +16 -12
  33. package/dist/controller/utils.d.ts +17 -11
  34. package/dist/controller/utils.js +28 -30
  35. package/dist/delivery/main.js +10 -10
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.iife.js +3 -3
  38. package/dist/schemas/configuration.schema.json +561 -0
  39. package/dist/schemas/model.schema.json +744 -0
  40. package/dist/schemas/session.schema.json +126 -0
  41. package/dist/types.d.ts +349 -0
  42. package/package.json +12 -8
@@ -1,18 +1,28 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- export declare class Configure extends React.Component {
4
- static propTypes: {
5
- onModelChanged: PropTypes.Requireable<(...args: any[]) => any>;
6
- onConfigurationChanged: PropTypes.Requireable<(...args: any[]) => any>;
7
- imageSupport: PropTypes.Requireable<object>;
8
- uploadSoundSupport: PropTypes.Requireable<object>;
9
- model: PropTypes.Validator<object>;
10
- configuration: PropTypes.Validator<object>;
11
- };
2
+ import type { DeleteDone, ImageHandler, SoundHandler } from '@pie-element/shared-configure-events';
3
+ import type { GraphingSolutionSetValidationErrors } from '../controller/index.js';
4
+ import type { GraphingSolutionSetConfiguration, GraphingSolutionSetModel } from '../types.js';
5
+ /** The model the author edits; the host sets `errors` from the controller's `validate()`. */
6
+ export type AuthorModel = Partial<GraphingSolutionSetModel> & {
7
+ errors?: GraphingSolutionSetValidationErrors;
8
+ };
9
+ type MediaSupport<Handler> = {
10
+ add: (handler: Handler) => void;
11
+ delete: (src: string, done: DeleteDone) => void;
12
+ };
13
+ export type ConfigureProps = {
14
+ model: AuthorModel;
15
+ configuration: GraphingSolutionSetConfiguration;
16
+ onModelChanged: (model: AuthorModel) => void;
17
+ onConfigurationChanged: (configuration: GraphingSolutionSetConfiguration) => void;
18
+ imageSupport?: MediaSupport<ImageHandler>;
19
+ uploadSoundSupport?: MediaSupport<SoundHandler>;
20
+ };
21
+ export declare class Configure extends React.Component<ConfigureProps> {
12
22
  componentDidMount(): void;
13
- onRationaleChange: any;
14
- onPromptChange: any;
15
- onTeacherInstructionsChange: any;
23
+ onRationaleChange: (rationale: string) => void;
24
+ onPromptChange: (prompt: string) => void;
25
+ onTeacherInstructionsChange: (teacherInstructions: string) => void;
16
26
  render(): React.JSX.Element;
17
27
  }
18
28
  export default Configure;
@@ -1,30 +1,18 @@
1
1
  import { GraphingConfig as e } from "./graphing-config.js";
2
2
  import { CorrectResponse as t } from "./correct-response.js";
3
3
  import n from "react";
4
- import r from "prop-types";
5
- import { styled as i } from "@mui/material/styles";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
- import { InputContainer as s, layout as c, settings as l } from "@pie-lib/config-ui";
8
- import u from "debug";
9
- import d from "@mui/material/Typography";
10
- import f from "@pie-lib/editable-html-tip-tap";
4
+ import { styled as r } from "@mui/material/styles";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { InputContainer as o, layout as s, settings as c } from "@pie-lib/config-ui";
7
+ import l from "@mui/material/Typography";
8
+ import u from "@pie-lib/editable-html-tip-tap";
11
9
  //#region src/author/configure.tsx
12
- var { Panel: p, toggle: m, radio: h, checkboxes: g, textField: _, dropdown: v } = l;
13
- u("@pie-element:graphing-solution-set:configure");
14
- var y = i(s)(({ theme: e }) => ({
10
+ var { Panel: d, toggle: f, radio: p, checkboxes: m, textField: h, dropdown: g } = c, _ = r(o)(({ theme: e }) => ({
15
11
  width: "100%",
16
12
  paddingTop: e.spacing(2),
17
13
  marginBottom: e.spacing(2),
18
14
  marginTop: e.spacing(2)
19
- })), b = i(d)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), x = class extends n.Component {
20
- static propTypes = {
21
- onModelChanged: r.func,
22
- onConfigurationChanged: r.func,
23
- imageSupport: r.object,
24
- uploadSoundSupport: r.object,
25
- model: r.object.isRequired,
26
- configuration: r.object.isRequired
27
- };
15
+ })), v = r(l)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), y = class extends n.Component {
28
16
  componentDidMount() {
29
17
  let { configuration: e, onModelChanged: t, model: n } = this.props, { title: r, graphDimensions: i } = e || {}, { arrows: a, titleEnabled: o, dimensionsEnabled: s } = n || {};
30
18
  typeof a == "boolean" && (a = a ? {
@@ -68,59 +56,59 @@ var y = i(s)(({ theme: e }) => ({
68
56
  });
69
57
  };
70
58
  render() {
71
- let { model: n, configuration: r, onConfigurationChanged: i, onModelChanged: s, imageSupport: l, uploadSoundSupport: u } = this.props, { arrows: d = {}, authoring: x = {}, coordinatesOnHover: S = {}, contentDimensions: C = {}, gridConfigurations: w = [], graphDimensions: T = {}, instruction: E = {}, labels: D = {}, padding: O = {}, prompt: k = {}, rationale: A = {}, scoringType: j = {}, settingsPanelDisabled: M, spellCheck: N = {}, studentInstructions: P = {}, teacherInstructions: F = {}, title: I = {}, maxImageWidth: L = {}, maxImageHeight: R = {}, withRubric: z = {}, language: B = {}, languageChoices: V = {}, mathMlOptions: H = {} } = r || {}, { errors: U = {}, extraCSSRules: W, labelsEnabled: G, dimensionsEnabled: K, promptEnabled: q, rationaleEnabled: J, spellCheckEnabled: Y, teacherInstructionsEnabled: X, titleEnabled: Z } = n || {}, Q = L && L.prompt, $ = R && R.prompt, ee = {
59
+ let { model: n, configuration: r, onConfigurationChanged: o, onModelChanged: c, imageSupport: l, uploadSoundSupport: y } = this.props, { arrows: b = {}, authoring: x = {}, coordinatesOnHover: S = {}, contentDimensions: C = {}, gridConfigurations: w = [], graphDimensions: T = {}, instruction: E = {}, labels: D = {}, padding: O = {}, prompt: k = {}, rationale: A = {}, scoringType: j = {}, settingsPanelDisabled: M, spellCheck: N = {}, studentInstructions: P = {}, teacherInstructions: F = {}, title: I = {}, maxImageWidth: L = {}, maxImageHeight: R = {}, withRubric: z = {}, language: B = {}, languageChoices: V = {}, mathMlOptions: H = {} } = r || {}, { errors: U = {}, extraCSSRules: W, labelsEnabled: G, dimensionsEnabled: K, promptEnabled: q, rationaleEnabled: J, spellCheckEnabled: Y, teacherInstructionsEnabled: X, titleEnabled: Z } = n || {}, Q = L && L.prompt, $ = R && R.prompt, ee = {
72
60
  top: D.top,
73
61
  right: D.right,
74
62
  bottom: D.bottom,
75
63
  left: D.left
76
64
  }, te = {
77
- arrows: d.settings && g(d.label, {
78
- left: d.left,
79
- right: d.right,
80
- up: d.up,
81
- down: d.down
65
+ arrows: b.settings && m(b.label, {
66
+ left: b.left,
67
+ right: b.right,
68
+ up: b.up,
69
+ down: b.down
82
70
  }),
83
- titleEnabled: I.settings && m(I.label),
84
- padding: O.settings && m(O.label),
85
- labelsEnabled: D.settings && m(D.label),
86
- "language.enabled": B.settings && m(B.label, !0),
87
- language: B.settings && B.enabled && v(V.label, V.options),
88
- dimensionsEnabled: T.settings && m(T.label),
89
- coordinatesOnHover: S.settings && m(S.label)
71
+ titleEnabled: I.settings && f(I.label),
72
+ padding: O.settings && f(O.label),
73
+ labelsEnabled: D.settings && f(D.label),
74
+ "language.enabled": B.settings && f(B.label, !0),
75
+ language: B.settings && B.enabled && g(V.label, V.options),
76
+ dimensionsEnabled: T.settings && f(T.label),
77
+ coordinatesOnHover: S.settings && f(S.label)
90
78
  }, ne = {
91
- "authoring.enabled": x.settings && m(x.label, !0),
92
- teacherInstructionsEnabled: F.settings && m(F.label),
93
- studentInstructionsEnabled: P.settings && m(P.label),
94
- promptEnabled: k.settings && m(k.label),
95
- rationaleEnabled: A.settings && m(A.label),
96
- spellCheckEnabled: N.settings && m(N.label),
97
- scoringType: j.settings && h(j.label, ["dichotomous", "partial scoring"]),
98
- rubricEnabled: z?.settings && m(z?.label),
99
- instruction: E.settings && _(E.label)
79
+ "authoring.enabled": x.settings && f(x.label, !0),
80
+ teacherInstructionsEnabled: F.settings && f(F.label),
81
+ studentInstructionsEnabled: P.settings && f(P.label),
82
+ promptEnabled: k.settings && f(k.label),
83
+ rationaleEnabled: A.settings && f(A.label),
84
+ spellCheckEnabled: N.settings && f(N.label),
85
+ scoringType: j.settings && p(j.label, ["dichotomous", "partial scoring"]),
86
+ rubricEnabled: z?.settings && f(z?.label),
87
+ instruction: E.settings && h(E.label)
100
88
  };
101
- return /* @__PURE__ */ o(c.ConfigLayout, {
89
+ return /* @__PURE__ */ a(s.ConfigLayout, {
102
90
  extraCSSRules: W,
103
91
  dimensions: C,
104
92
  hideSettings: M,
105
- settings: /* @__PURE__ */ a(p, {
93
+ settings: /* @__PURE__ */ i(d, {
106
94
  model: n,
107
95
  configuration: r,
108
- onChangeModel: s,
109
- onChangeConfiguration: i,
96
+ onChangeModel: c,
97
+ onChangeConfiguration: o,
110
98
  groups: {
111
99
  Settings: te,
112
100
  Properties: ne
113
101
  }
114
102
  }),
115
103
  children: [
116
- /* @__PURE__ */ a(b, {
104
+ /* @__PURE__ */ i(v, {
117
105
  component: "div",
118
106
  variant: "body1",
119
107
  children: E?.label || ""
120
108
  }),
121
- X && /* @__PURE__ */ a(y, {
109
+ X && /* @__PURE__ */ i(_, {
122
110
  label: F.label,
123
- children: /* @__PURE__ */ a(f, {
111
+ children: /* @__PURE__ */ i(u, {
124
112
  markup: n.teacherInstructions || "",
125
113
  onChange: this.onTeacherInstructionsChange,
126
114
  imageSupport: l,
@@ -128,14 +116,14 @@ var y = i(s)(({ theme: e }) => ({
128
116
  spellCheck: Y,
129
117
  maxImageWidth: L && L.teacherInstructions || Q,
130
118
  maxImageHeight: R && R.teacherInstructions || $,
131
- uploadSoundSupport: u,
119
+ uploadSoundSupport: y,
132
120
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
133
121
  mathMlOptions: H
134
122
  })
135
123
  }),
136
- q && /* @__PURE__ */ a(y, {
124
+ q && /* @__PURE__ */ i(_, {
137
125
  label: k.label,
138
- children: /* @__PURE__ */ a(f, {
126
+ children: /* @__PURE__ */ i(u, {
139
127
  markup: n.prompt,
140
128
  onChange: this.onPromptChange,
141
129
  imageSupport: l,
@@ -144,12 +132,12 @@ var y = i(s)(({ theme: e }) => ({
144
132
  disableUnderline: !0,
145
133
  maxImageWidth: Q,
146
134
  maxImageHeight: $,
147
- uploadSoundSupport: u,
135
+ uploadSoundSupport: y,
148
136
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
149
137
  mathMlOptions: H
150
138
  })
151
139
  }),
152
- /* @__PURE__ */ a(e, {
140
+ /* @__PURE__ */ i(e, {
153
141
  authoring: x,
154
142
  gridConfigurations: w,
155
143
  graphDimensions: T,
@@ -162,22 +150,22 @@ var y = i(s)(({ theme: e }) => ({
162
150
  onChange: this.props.onModelChanged,
163
151
  mathMlOptions: H
164
152
  }),
165
- /* @__PURE__ */ a(t, {
153
+ /* @__PURE__ */ i(t, {
166
154
  errors: U,
167
155
  model: n,
168
156
  onChange: this.props.onModelChanged,
169
157
  mathMlOptions: H
170
158
  }),
171
- J && /* @__PURE__ */ a(y, {
159
+ J && /* @__PURE__ */ i(_, {
172
160
  label: A.label || "Rationale",
173
- children: /* @__PURE__ */ a(f, {
161
+ children: /* @__PURE__ */ i(u, {
174
162
  markup: n.rationale || "",
175
163
  onChange: this.onRationaleChange,
176
164
  imageSupport: l,
177
165
  spellCheck: Y,
178
166
  maxImageWidth: L && L.rationale || Q,
179
167
  maxImageHeight: R && R.rationale || $,
180
- uploadSoundSupport: u,
168
+ uploadSoundSupport: y,
181
169
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
182
170
  mathMlOptions: H
183
171
  })
@@ -187,4 +175,4 @@ var y = i(s)(({ theme: e }) => ({
187
175
  }
188
176
  };
189
177
  //#endregion
190
- export { x as Configure, x as default };
178
+ export { y as Configure, y as default };
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
3
3
  export declare class CorrectResponse extends React.Component {
4
4
  static propTypes: {
5
5
  errors: PropTypes.Requireable<object>;
6
+ mathMlOptions: PropTypes.Requireable<object>;
6
7
  model: PropTypes.Validator<object>;
7
8
  onChange: PropTypes.Validator<(...args: any[]) => any>;
8
9
  };
@@ -24,6 +24,7 @@ var h = a(f)(({ theme: e }) => ({
24
24
  })), y = class extends r.Component {
25
25
  static propTypes = {
26
26
  errors: i.object,
27
+ mathMlOptions: i.object,
27
28
  model: i.object.isRequired,
28
29
  onChange: i.func.isRequired
29
30
  };
@@ -1,18 +1,20 @@
1
+ import type { ConfigureLanguageOptionsProp } from '@pie-element/shared-types';
2
+ import type { Mark, Point } from '../types.js';
1
3
  declare const _default: {
2
4
  model: {
3
5
  answers: {
4
6
  correctAnswer: {
5
7
  name: string;
6
- marks: never[];
8
+ marks: Mark[];
7
9
  };
8
10
  };
9
11
  arrows: {
10
- left: boolean;
11
- right: boolean;
12
- up: boolean;
13
- down: boolean;
12
+ left: true;
13
+ right: true;
14
+ up: true;
15
+ down: true;
14
16
  };
15
- marks: never[];
17
+ marks: Mark[];
16
18
  defaultGridConfiguration: number;
17
19
  domain: {
18
20
  min: number;
@@ -27,16 +29,16 @@ declare const _default: {
27
29
  };
28
30
  gssLineData: {
29
31
  numberOfLines: number;
30
- selectedTool: string;
31
- sections: never[];
32
+ selectedTool: "lineA";
33
+ sections: Point[][];
32
34
  lineA: {
33
- lineType: string;
35
+ lineType: "Solid";
34
36
  };
35
37
  };
36
- includeAxes: boolean;
38
+ includeAxes: true;
37
39
  labels: {};
38
- labelsEnabled: boolean;
39
- padding: boolean;
40
+ labelsEnabled: true;
41
+ padding: true;
40
42
  prompt: string;
41
43
  range: {
42
44
  min: number;
@@ -46,44 +48,44 @@ declare const _default: {
46
48
  axisLabel: string;
47
49
  };
48
50
  rationale: string;
49
- standardGrid: boolean;
51
+ standardGrid: false;
50
52
  title: string;
51
- coordinatesOnHover: boolean;
52
- promptEnabled: boolean;
53
- rationaleEnabled: boolean;
54
- teacherInstructionsEnabled: boolean;
55
- studentInstructionsEnabled: boolean;
53
+ coordinatesOnHover: false;
54
+ promptEnabled: true;
55
+ rationaleEnabled: true;
56
+ teacherInstructionsEnabled: true;
57
+ studentInstructionsEnabled: true;
56
58
  };
57
59
  configuration: {
58
60
  authoring: {
59
- settings: boolean;
61
+ settings: false;
60
62
  label: string;
61
- enabled: boolean;
62
- includeAxesEnabled: boolean;
63
- standardGridEnabled: boolean;
63
+ enabled: true;
64
+ includeAxesEnabled: false;
65
+ standardGridEnabled: true;
64
66
  min: {
65
67
  label: string;
66
- enabled: boolean;
68
+ enabled: true;
67
69
  };
68
70
  max: {
69
71
  label: string;
70
- enabled: boolean;
72
+ enabled: true;
71
73
  };
72
74
  axisLabel: {
73
75
  label: string;
74
- enabled: boolean;
76
+ enabled: true;
75
77
  };
76
78
  step: {
77
79
  label: string;
78
- enabled: boolean;
80
+ enabled: true;
79
81
  };
80
82
  labelStep: {
81
83
  label: string;
82
- enabled: boolean;
84
+ enabled: true;
83
85
  };
84
86
  };
85
87
  arrows: {
86
- settings: boolean;
88
+ settings: true;
87
89
  label: string;
88
90
  left: {
89
91
  label: string;
@@ -98,13 +100,13 @@ declare const _default: {
98
100
  label: string;
99
101
  };
100
102
  };
101
- gridConfigurations: {
103
+ gridConfigurations: ({
102
104
  label: string;
103
105
  arrows: {
104
- left: boolean;
105
- right: boolean;
106
- up: boolean;
107
- down: boolean;
106
+ left: true;
107
+ right: true;
108
+ up: true;
109
+ down: true;
108
110
  };
109
111
  domain: {
110
112
  min: number;
@@ -118,14 +120,14 @@ declare const _default: {
118
120
  width: number;
119
121
  height: number;
120
122
  };
121
- includeAxes: boolean;
123
+ includeAxes: true;
122
124
  labels: {
123
125
  top: string;
124
126
  right: string;
125
127
  bottom: string;
126
128
  left: string;
127
129
  };
128
- padding: boolean;
130
+ padding: true;
129
131
  range: {
130
132
  min: number;
131
133
  max: number;
@@ -134,68 +136,144 @@ declare const _default: {
134
136
  labelStep: number;
135
137
  axisLabel: string;
136
138
  };
137
- standardGrid: boolean;
139
+ standardGrid: true;
138
140
  title: string;
139
- }[];
141
+ } | {
142
+ label: string;
143
+ arrows: {
144
+ left: false;
145
+ right: true;
146
+ up: true;
147
+ down: false;
148
+ };
149
+ domain: {
150
+ min: number;
151
+ max: number;
152
+ step: number;
153
+ padding: number;
154
+ labelStep: number;
155
+ axisLabel: string;
156
+ };
157
+ graph: {
158
+ width: number;
159
+ height: number;
160
+ };
161
+ includeAxes: true;
162
+ labels: {
163
+ top: string;
164
+ right: string;
165
+ bottom: string;
166
+ left: string;
167
+ };
168
+ padding: true;
169
+ range: {
170
+ min: number;
171
+ max: number;
172
+ step: number;
173
+ padding: number;
174
+ labelStep: number;
175
+ axisLabel: string;
176
+ };
177
+ standardGrid: true;
178
+ title: string;
179
+ } | {
180
+ label: string;
181
+ arrows: {
182
+ left: false;
183
+ right: true;
184
+ up: true;
185
+ down: false;
186
+ };
187
+ domain: {
188
+ min: number;
189
+ max: number;
190
+ step: number;
191
+ padding: number;
192
+ labelStep: number;
193
+ axisLabel: string;
194
+ };
195
+ graph: {
196
+ width: number;
197
+ height: number;
198
+ };
199
+ includeAxes: true;
200
+ labels: {
201
+ top: string;
202
+ right: string;
203
+ bottom: string;
204
+ left: string;
205
+ };
206
+ padding: true;
207
+ range: {
208
+ min: number;
209
+ max: number;
210
+ step: number;
211
+ padding: number;
212
+ labelStep: number;
213
+ axisLabel: string;
214
+ };
215
+ standardGrid: false;
216
+ title: string;
217
+ })[];
140
218
  graphDimensions: {
141
- settings: boolean;
219
+ settings: false;
142
220
  label: string;
143
- enabled: boolean;
221
+ enabled: true;
144
222
  min: number;
145
223
  max: number;
146
224
  step: number;
147
225
  };
148
226
  padding: {
149
- settings: boolean;
227
+ settings: false;
150
228
  label: string;
151
229
  };
152
230
  labels: {
153
- settings: boolean;
231
+ settings: true;
154
232
  label: string;
155
- enabled: boolean;
233
+ enabled: true;
156
234
  top: string;
157
235
  right: string;
158
236
  bottom: string;
159
237
  left: string;
160
238
  };
161
239
  prompt: {
162
- settings: boolean;
240
+ settings: true;
163
241
  label: string;
164
242
  };
165
243
  rationale: {
166
- settings: boolean;
244
+ settings: true;
167
245
  label: string;
168
246
  };
169
247
  scoringType: {
170
- settings: boolean;
248
+ settings: false;
171
249
  label: string;
172
250
  };
173
251
  studentInstructions: {
174
- settings: boolean;
252
+ settings: false;
175
253
  label: string;
176
254
  };
177
255
  teacherInstructions: {
178
- settings: boolean;
256
+ settings: true;
179
257
  label: string;
180
258
  };
181
259
  title: {
182
- settings: boolean;
260
+ settings: true;
183
261
  label: string;
184
- enabled: boolean;
262
+ enabled: true;
185
263
  placeholder: string;
186
264
  };
187
265
  instruction: {
188
- settings: boolean;
266
+ settings: false;
189
267
  label: string;
190
268
  };
191
- settingsPanelDisabled: boolean;
269
+ settingsPanelDisabled: false;
192
270
  spellCheck: {
193
271
  label: string;
194
- settings: boolean;
195
- enabled: boolean;
272
+ settings: false;
273
+ enabled: true;
196
274
  };
197
275
  coordinatesOnHover: {
198
- settings: boolean;
276
+ settings: true;
199
277
  label: string;
200
278
  };
201
279
  maxImageWidth: {
@@ -209,21 +287,21 @@ declare const _default: {
209
287
  rationale: number;
210
288
  };
211
289
  withRubric: {
212
- settings: boolean;
290
+ settings: false;
213
291
  label: string;
214
292
  };
215
293
  language: {
216
- settings: boolean;
294
+ settings: false;
217
295
  label: string;
218
- enabled: boolean;
296
+ enabled: false;
219
297
  };
220
298
  languageChoices: {
221
299
  label: string;
222
- options: never[];
300
+ options: ConfigureLanguageOptionsProp[];
223
301
  };
224
302
  mathMlOptions: {
225
- mmlOutput: boolean;
226
- mmlEditing: boolean;
303
+ mmlOutput: false;
304
+ mmlEditing: false;
227
305
  };
228
306
  };
229
307
  };
@@ -8,6 +8,7 @@ export declare class GraphingConfig extends React.Component {
8
8
  graphDimensions: PropTypes.Requireable<object>;
9
9
  gridConfigurations: PropTypes.Requireable<any[]>;
10
10
  labelsPlaceholders: PropTypes.Requireable<object>;
11
+ mathMlOptions: PropTypes.Requireable<object>;
11
12
  model: PropTypes.Validator<object>;
12
13
  onChange: PropTypes.Validator<(...args: any[]) => any>;
13
14
  showLabels: PropTypes.Requireable<boolean>;
@@ -37,6 +37,7 @@ var v = o("div")(({ theme: e }) => ({
37
37
  graphDimensions: a.object,
38
38
  gridConfigurations: a.array,
39
39
  labelsPlaceholders: a.object,
40
+ mathMlOptions: a.object,
40
41
  model: a.object.isRequired,
41
42
  onChange: a.func.isRequired,
42
43
  showLabels: a.bool,