@pie-element/graphing 10.1.2-next.1 → 10.1.2

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 (86) hide show
  1. package/CHANGELOG.json +652 -0
  2. package/CHANGELOG.md +2049 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +382 -0
  6. package/configure/CHANGELOG.md +1840 -0
  7. package/configure/lib/configure.js +328 -0
  8. package/configure/lib/configure.js.map +1 -0
  9. package/configure/lib/correct-response.js +484 -0
  10. package/configure/lib/correct-response.js.map +1 -0
  11. package/configure/lib/defaults.js +448 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/graphing-config.js +388 -0
  14. package/configure/lib/graphing-config.js.map +1 -0
  15. package/configure/lib/index.js +173 -0
  16. package/configure/lib/index.js.map +1 -0
  17. package/configure/lib/utils.js +122 -0
  18. package/configure/lib/utils.js.map +1 -0
  19. package/configure/package.json +30 -0
  20. package/controller/CHANGELOG.json +412 -0
  21. package/controller/CHANGELOG.md +1267 -0
  22. package/controller/lib/defaults.js +64 -0
  23. package/controller/lib/defaults.js.map +1 -0
  24. package/controller/lib/index.js +459 -0
  25. package/controller/lib/index.js.map +1 -0
  26. package/controller/lib/utils.js +451 -0
  27. package/controller/lib/utils.js.map +1 -0
  28. package/controller/package.json +24 -0
  29. package/docs/config-schema.json +3164 -0
  30. package/docs/config-schema.json.md +2293 -0
  31. package/docs/demo/config.js +8 -0
  32. package/docs/demo/generate.js +200 -0
  33. package/docs/demo/index.html +1 -0
  34. package/docs/demo/session.js +20 -0
  35. package/docs/pie-schema.json +3495 -0
  36. package/docs/pie-schema.json.md +1345 -0
  37. package/lib/index.js +69 -0
  38. package/lib/index.js.map +1 -0
  39. package/lib/main.js +161 -0
  40. package/lib/main.js.map +1 -0
  41. package/lib/utils.js +24 -0
  42. package/lib/utils.js.map +1 -0
  43. package/package.json +21 -88
  44. package/configure.js +0 -2
  45. package/controller.js +0 -1
  46. package/dist/author/configure.d.ts +0 -26
  47. package/dist/author/configure.js +0 -208
  48. package/dist/author/correct-response.d.ts +0 -54
  49. package/dist/author/correct-response.js +0 -303
  50. package/dist/author/defaults.d.ts +0 -294
  51. package/dist/author/defaults.js +0 -415
  52. package/dist/author/graphing-config.d.ts +0 -34
  53. package/dist/author/graphing-config.js +0 -244
  54. package/dist/author/index.d.ts +0 -59
  55. package/dist/author/index.js +0 -96
  56. package/dist/author/utils.d.ts +0 -43
  57. package/dist/author/utils.js +0 -260
  58. package/dist/browser/author/index.js +0 -4480
  59. package/dist/browser/author/index.js.map +0 -1
  60. package/dist/browser/container-DaIvr1Vu.js +0 -57966
  61. package/dist/browser/container-DaIvr1Vu.js.map +0 -1
  62. package/dist/browser/controller/index.js +0 -353
  63. package/dist/browser/controller/index.js.map +0 -1
  64. package/dist/browser/delivery/index.js +0 -683
  65. package/dist/browser/delivery/index.js.map +0 -1
  66. package/dist/browser/dist-BrN2xZtM.js +0 -547
  67. package/dist/browser/dist-BrN2xZtM.js.map +0 -1
  68. package/dist/browser/graphing.css +0 -2
  69. package/dist/controller/defaults.d.ts +0 -59
  70. package/dist/controller/defaults.js +0 -61
  71. package/dist/controller/index.d.ts +0 -34
  72. package/dist/controller/index.js +0 -179
  73. package/dist/controller/utils.d.ts +0 -37
  74. package/dist/controller/utils.js +0 -111
  75. package/dist/delivery/index.d.ts +0 -21
  76. package/dist/delivery/index.js +0 -43
  77. package/dist/delivery/main.d.ts +0 -23
  78. package/dist/delivery/main.js +0 -107
  79. package/dist/delivery/utils.d.ts +0 -22
  80. package/dist/graphing.css +0 -2
  81. package/dist/index.d.ts +0 -1
  82. package/dist/index.iife.d.ts +0 -8
  83. package/dist/index.iife.js +0 -406
  84. package/dist/index.js +0 -2
  85. package/dist/runtime-support.d.ts +0 -12
  86. package/dist/runtime-support.js +0 -12
@@ -1,415 +0,0 @@
1
- //#region src/author/defaults.tsx
2
- var e = [
3
- "circle",
4
- "line",
5
- "label",
6
- "parabola",
7
- "point",
8
- "polygon",
9
- "ray",
10
- "segment",
11
- "sine",
12
- "vector"
13
- ], t = {
14
- model: {
15
- answers: { correctAnswer: {
16
- name: "Correct Answer",
17
- marks: []
18
- } },
19
- arrows: {
20
- left: !0,
21
- right: !0,
22
- up: !0,
23
- down: !0
24
- },
25
- backgroundMarks: [],
26
- coordinatesOnHover: !1,
27
- defaultGridConfiguration: 0,
28
- domain: {
29
- min: -5,
30
- max: 5,
31
- step: 1,
32
- labelStep: 1,
33
- axisLabel: "x"
34
- },
35
- graph: {
36
- width: 500,
37
- height: 500
38
- },
39
- includeAxes: !0,
40
- labels: {},
41
- labelsEnabled: !0,
42
- padding: !0,
43
- prompt: "",
44
- promptEnabled: !0,
45
- range: {
46
- min: -5,
47
- max: 5,
48
- step: 1,
49
- labelStep: 1,
50
- axisLabel: "y"
51
- },
52
- rationale: "",
53
- rationaleEnabled: !0,
54
- standardGrid: !1,
55
- studentInstructionsEnabled: !0,
56
- teacherInstructions: "",
57
- teacherInstructionsEnabled: !0,
58
- title: "",
59
- titleEnabled: !0,
60
- toolbarTools: e
61
- },
62
- configuration: {
63
- baseInputConfiguration: {
64
- h3: { disabled: !0 },
65
- audio: { disabled: !1 },
66
- video: { disabled: !1 },
67
- image: { disabled: !1 },
68
- textAlign: { disabled: !0 },
69
- showParagraphs: { disabled: !1 },
70
- separateParagraphs: { disabled: !0 }
71
- },
72
- availableTools: e,
73
- authoring: {
74
- settings: !1,
75
- label: "Customize Grid Setup",
76
- enabled: !0,
77
- includeAxesEnabled: !0,
78
- standardGridEnabled: !0,
79
- min: {
80
- label: "Min Value",
81
- enabled: !0
82
- },
83
- max: {
84
- label: "Max Value",
85
- enabled: !0
86
- },
87
- axisLabel: {
88
- label: "Label",
89
- enabled: !0
90
- },
91
- step: {
92
- label: "Grid Interval",
93
- enabled: !0
94
- },
95
- labelStep: {
96
- label: "Label Interval",
97
- enabled: !0
98
- }
99
- },
100
- arrows: {
101
- settings: !0,
102
- label: "Include Arrows",
103
- left: { label: "left" },
104
- right: { label: "right" },
105
- up: { label: "up" },
106
- down: { label: "down" }
107
- },
108
- gridConfigurations: [
109
- {
110
- label: "4-quadrant coordinate grid, -10 to 10",
111
- arrows: {
112
- left: !0,
113
- right: !0,
114
- up: !0,
115
- down: !0
116
- },
117
- domain: {
118
- min: -10,
119
- max: 10,
120
- step: 1,
121
- padding: 0,
122
- labelStep: 1,
123
- axisLabel: "<i>x</i>"
124
- },
125
- graph: {
126
- width: 480,
127
- height: 480
128
- },
129
- includeAxes: !0,
130
- labels: {
131
- top: "",
132
- right: "",
133
- bottom: "",
134
- left: ""
135
- },
136
- padding: !0,
137
- range: {
138
- min: -10,
139
- max: 10,
140
- step: 1,
141
- padding: 0,
142
- labelStep: 1,
143
- axisLabel: "<i>y</i>"
144
- },
145
- standardGrid: !0,
146
- title: ""
147
- },
148
- {
149
- label: "0 to 10 on both axes",
150
- arrows: {
151
- left: !1,
152
- right: !0,
153
- up: !0,
154
- down: !1
155
- },
156
- domain: {
157
- min: 0,
158
- max: 10,
159
- step: 1,
160
- padding: 0,
161
- labelStep: 1,
162
- axisLabel: "<i>x</i>"
163
- },
164
- graph: {
165
- width: 480,
166
- height: 480
167
- },
168
- includeAxes: !0,
169
- labels: {
170
- top: "",
171
- right: "",
172
- bottom: "",
173
- left: ""
174
- },
175
- padding: !0,
176
- range: {
177
- min: 0,
178
- max: 10,
179
- step: 1,
180
- padding: 0,
181
- labelStep: 1,
182
- axisLabel: "<i>y</i>"
183
- },
184
- standardGrid: !0,
185
- title: ""
186
- },
187
- {
188
- label: "0 to 20 on both axes",
189
- arrows: {
190
- left: !1,
191
- right: !0,
192
- up: !0,
193
- down: !1
194
- },
195
- domain: {
196
- min: 0,
197
- max: 20,
198
- step: 1,
199
- padding: 0,
200
- labelStep: 1,
201
- axisLabel: "<i>x</i>"
202
- },
203
- graph: {
204
- width: 480,
205
- height: 480
206
- },
207
- includeAxes: !0,
208
- labels: {
209
- top: "",
210
- right: "",
211
- bottom: "",
212
- left: ""
213
- },
214
- padding: !0,
215
- range: {
216
- min: 0,
217
- max: 20,
218
- step: 1,
219
- padding: 0,
220
- labelStep: 1,
221
- axisLabel: "<i>y</i>"
222
- },
223
- standardGrid: !0,
224
- title: ""
225
- },
226
- {
227
- label: "Sample Data Graph",
228
- arrows: {
229
- left: !1,
230
- right: !0,
231
- up: !0,
232
- down: !1
233
- },
234
- domain: {
235
- min: 0,
236
- max: 30,
237
- step: 1,
238
- padding: 0,
239
- labelStep: 2,
240
- axisLabel: "<i>t</i>"
241
- },
242
- graph: {
243
- width: 480,
244
- height: 480
245
- },
246
- includeAxes: !0,
247
- labels: {
248
- top: "",
249
- right: "",
250
- bottom: "Time (seconds)",
251
- left: "Distance (meters)"
252
- },
253
- padding: !0,
254
- range: {
255
- min: 0,
256
- max: 80,
257
- step: 5,
258
- padding: 0,
259
- labelStep: 10,
260
- axisLabel: "<i>d</i>"
261
- },
262
- standardGrid: !1,
263
- title: "Distance as a function of time"
264
- },
265
- {
266
- label: "No Visible Axes",
267
- arrows: {
268
- left: !1,
269
- right: !1,
270
- up: !1,
271
- down: !1
272
- },
273
- domain: {
274
- min: 1,
275
- max: 21,
276
- step: 1,
277
- padding: 0,
278
- labelStep: 0,
279
- axisLabel: ""
280
- },
281
- graph: {
282
- width: 480,
283
- height: 480
284
- },
285
- includeAxes: !1,
286
- labels: {
287
- top: "",
288
- right: "",
289
- bottom: "",
290
- left: ""
291
- },
292
- padding: !0,
293
- range: {
294
- min: 1,
295
- max: 21,
296
- step: 1,
297
- padding: 0,
298
- labelStep: 0,
299
- axisLabel: ""
300
- },
301
- standardGrid: !1,
302
- title: ""
303
- }
304
- ],
305
- graphDimensions: {
306
- settings: !1,
307
- label: "Graph Dimensions",
308
- enabled: !0,
309
- min: 150,
310
- max: 800,
311
- step: 20
312
- },
313
- padding: {
314
- settings: !1,
315
- label: "Padding"
316
- },
317
- labels: {
318
- settings: !0,
319
- label: "Graph Labels",
320
- enabled: !0,
321
- top: "Click here to add a top label",
322
- right: "Click here to add a right label",
323
- bottom: "Click here to add a bottom label",
324
- left: "Click here to add a left label"
325
- },
326
- prompt: {
327
- settings: !0,
328
- label: "Item Stem",
329
- required: !1,
330
- inputConfiguration: {
331
- audio: { disabled: !1 },
332
- video: { disabled: !1 },
333
- image: { disabled: !1 }
334
- }
335
- },
336
- rationale: {
337
- settings: !0,
338
- label: "Rationale",
339
- required: !1,
340
- inputConfiguration: {
341
- audio: { disabled: !1 },
342
- video: { disabled: !1 },
343
- image: { disabled: !1 }
344
- }
345
- },
346
- scoringType: {
347
- settings: !1,
348
- label: "Scoring Type"
349
- },
350
- studentInstructions: {
351
- settings: !1,
352
- label: "Student Instructions"
353
- },
354
- teacherInstructions: {
355
- settings: !0,
356
- label: "Teacher Instructions",
357
- required: !1,
358
- inputConfiguration: {
359
- audio: { disabled: !1 },
360
- video: { disabled: !1 },
361
- image: { disabled: !1 }
362
- }
363
- },
364
- title: {
365
- settings: !0,
366
- label: "Graph Title",
367
- enabled: !0,
368
- placeholder: "Click here to add a title for this graph"
369
- },
370
- instruction: {
371
- settings: !1,
372
- label: "Graphing questions involve plotting points, lines, or other objects on a graph. To create one, first configure the grid, then select the plotting tools students will be offered, and use them to define the correct answer."
373
- },
374
- settingsPanelDisabled: !1,
375
- spellCheck: {
376
- label: "Spellcheck",
377
- settings: !1,
378
- enabled: !0
379
- },
380
- coordinatesOnHover: {
381
- settings: !0,
382
- label: "Coordinates on Hover"
383
- },
384
- maxImageWidth: {
385
- teacherInstructions: 300,
386
- prompt: 300,
387
- rationale: 300
388
- },
389
- maxImageHeight: {
390
- teacherInstructions: 300,
391
- prompt: 300,
392
- rationale: 300
393
- },
394
- withRubric: {
395
- settings: !1,
396
- label: "Add Rubric"
397
- },
398
- language: {
399
- settings: !1,
400
- label: "Specify Language",
401
- enabled: !1
402
- },
403
- languageChoices: {
404
- label: "Language Choices",
405
- options: []
406
- },
407
- mathMlOptions: {
408
- mmlOutput: !1,
409
- mmlEditing: !1
410
- },
411
- removeIncompleteTool: !1
412
- }
413
- };
414
- //#endregion
415
- export { t as default };
@@ -1,34 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/graphing/configure/src/graphing-config.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- import * as React from 'react';
10
- import PropTypes from 'prop-types';
11
- export declare class GraphingConfig extends React.Component {
12
- static propTypes: {
13
- availableTools: PropTypes.Requireable<any[]>;
14
- authoring: PropTypes.Requireable<object>;
15
- dimensionsEnabled: PropTypes.Requireable<boolean>;
16
- graphDimensions: PropTypes.Requireable<object>;
17
- gridConfigurations: PropTypes.Requireable<any[]>;
18
- labelsPlaceholders: PropTypes.Requireable<object>;
19
- model: PropTypes.Validator<object>;
20
- onChange: PropTypes.Validator<(...args: any[]) => any>;
21
- showLabels: PropTypes.Requireable<boolean>;
22
- showTitle: PropTypes.Requireable<boolean>;
23
- titlePlaceholder: PropTypes.Requireable<string>;
24
- };
25
- constructor(props: any);
26
- changeBackgroundMarks: any;
27
- changeLabels: any;
28
- changeTitle: any;
29
- onConfigChange: any;
30
- onChangeView: any;
31
- changeGridConfiguration: any;
32
- render(): React.JSX.Element;
33
- }
34
- export default GraphingConfig;
@@ -1,244 +0,0 @@
1
- import { applyConstraints as e, filterPlotableMarks as t, getGridValues as n, getLabelValues as r } from "./utils.js";
2
- import * as i from "react";
3
- import a from "prop-types";
4
- import { styled as o } from "@mui/material/styles";
5
- import { GraphContainer as s, GridSetup as c } from "@pie-lib/graphing";
6
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
- import { isEqual as d } from "@pie-element/shared-lodash";
8
- import { AlertDialog as f } from "@pie-lib/config-ui";
9
- import { MenuItem as p, OutlinedInput as m, Select as h, Typography as g } from "@mui/material";
10
- //#region src/author/graphing-config.tsx
11
- var _ = o("div")(({ theme: e }) => ({
12
- display: "flex",
13
- flexWrap: "wrap",
14
- marginBottom: e.spacing(2.5)
15
- })), v = o("div")(({ theme: e }) => ({
16
- display: "flex",
17
- flexDirection: "column",
18
- marginRight: e.spacing(3),
19
- marginBottom: e.spacing(2.5)
20
- })), y = o("div")({
21
- display: "flex",
22
- flexDirection: "column"
23
- }), b = o(g)(({ theme: e }) => ({
24
- marginTop: e.spacing(1.5),
25
- marginBottom: e.spacing(1)
26
- })), x = o("div")(({ theme: e }) => ({
27
- display: "flex",
28
- flexWrap: "wrap",
29
- alignItems: "center",
30
- width: "100%",
31
- marginBottom: e.spacing(2.5)
32
- })), S = o(g)(({ theme: e }) => ({ padding: `0 ${e.spacing(1)}` })), C = o(h)({ flex: "1" }), w = class extends i.Component {
33
- static propTypes = {
34
- availableTools: a.array,
35
- authoring: a.object,
36
- dimensionsEnabled: a.bool,
37
- graphDimensions: a.object,
38
- gridConfigurations: a.array,
39
- labelsPlaceholders: a.object,
40
- model: a.object.isRequired,
41
- onChange: a.func.isRequired,
42
- showLabels: a.bool,
43
- showTitle: a.bool,
44
- titlePlaceholder: a.string
45
- };
46
- constructor(e) {
47
- super(e);
48
- let { domain: t, range: i, graph: a } = e.model || {}, o = {
49
- domain: n(t, a.width, !0),
50
- range: n(i, a.height, !0)
51
- }, s = {
52
- domain: r(t.step),
53
- range: r(i.step)
54
- };
55
- this.state = {
56
- gridValues: o,
57
- labelValues: s,
58
- showPixelGuides: !1,
59
- dialog: { isOpened: !1 },
60
- domain: { ...t },
61
- range: { ...i }
62
- };
63
- }
64
- changeBackgroundMarks = (e) => {
65
- let t = {
66
- ...this.props.model,
67
- backgroundMarks: e
68
- };
69
- this.props.onChange(t);
70
- };
71
- changeLabels = (e) => {
72
- let { model: t, onChange: n } = this.props;
73
- n({
74
- ...t,
75
- labels: e
76
- });
77
- };
78
- changeTitle = (e) => {
79
- let { model: t, onChange: n } = this.props;
80
- n({
81
- ...t,
82
- title: e
83
- });
84
- };
85
- onConfigChange = (n, r) => {
86
- let { model: i, onChange: a } = this.props, { defaultGridConfiguration: o = 0 } = i, { gridValues: s, labelValues: c, domain: l, range: u } = this.state, f = {
87
- ...i,
88
- ...n
89
- }, { answers: p, domain: m, includeAxes: h, graph: g, range: _, standardGrid: v } = f, y = {
90
- domain: [],
91
- range: []
92
- }, b = {
93
- domain: [],
94
- range: []
95
- }, x = r >= 0 ? r : o;
96
- if (h) {
97
- let t = e(m, g.width, s.domain, c.domain);
98
- y.domain = t.gridValues || [], b.domain = t.labelValues || [];
99
- }
100
- if (v) y.range = y.domain, b.range = b.domain, _.step = m.step, _.labelStep = m.labelStep;
101
- else if (h) {
102
- let t = e(_, g.height, s.range, c.range);
103
- y.range = t.gridValues || [], b.range = t.labelValues || [];
104
- }
105
- let S = t(m, _, p);
106
- if (!d(p, S)) {
107
- this.setState({ dialog: {
108
- isOpened: !0,
109
- onClose: () => this.setState({ dialog: { isOpened: !1 } }, a({
110
- ...i,
111
- domain: l,
112
- range: u
113
- })),
114
- onConfirm: () => {
115
- this.setState({
116
- gridValues: y,
117
- labelValues: b,
118
- dialog: { isOpened: !1 },
119
- domain: { ...m },
120
- range: { ..._ }
121
- }, a({
122
- ...f,
123
- answers: S,
124
- defaultGridConfiguration: x
125
- }));
126
- }
127
- } });
128
- return;
129
- }
130
- this.setState({
131
- gridValues: y,
132
- labelValues: b,
133
- domain: { ...m },
134
- range: { ..._ }
135
- }), a({
136
- ...f,
137
- defaultGridConfiguration: x
138
- });
139
- };
140
- onChangeView = (e, t) => {
141
- let { graphDimensions: { enabled: n } = {} } = this.props;
142
- n && this.setState({ showPixelGuides: t });
143
- };
144
- changeGridConfiguration = (e) => {
145
- let { gridConfigurations: t } = this.props, { value: n } = e.target;
146
- this.onConfigChange(t?.[n] || {}, n);
147
- };
148
- render() {
149
- let { authoring: e = {}, availableTools: t = [], gridConfigurations: n = [], graphDimensions: r = {}, labelsPlaceholders: i, model: a, showLabels: o, dimensionsEnabled: d, showTitle: h, titlePlaceholder: w, mathMlOptions: T = {}, removeIncompleteTool: E } = this.props, { arrows: D, backgroundMarks: O, coordinatesOnHover: k, defaultGridConfiguration: A, domain: j, includeAxes: M, labels: N, range: P, standardGrid: F, title: I } = a || {}, L = (a || {}).graph || {}, { min: R, max: z, step: B } = r || {}, { dialog: V = {}, gridValues: H, labelValues: U, showPixelGuides: W } = this.state, G = {
150
- min: Math.max(150, R),
151
- max: Math.min(800, z),
152
- step: B >= 1 ? Math.min(200, B) : 20
153
- }, K = {
154
- axisLabel: e.axisLabel,
155
- dimensionsEnabled: d,
156
- includeAxesEnabled: e.includeAxesEnabled,
157
- labelStep: e.labelStep,
158
- min: e.min,
159
- max: e.max,
160
- standardGridEnabled: e.standardGridEnabled,
161
- step: e.step
162
- }, q = e.enabled && Object.values(K).some((e) => typeof e == "object" ? e.enabled : e);
163
- return /* @__PURE__ */ u(_, { children: [
164
- /* @__PURE__ */ u(v, { children: [n && n.length ? /* @__PURE__ */ u(x, { children: [/* @__PURE__ */ l(S, {
165
- component: "div",
166
- variant: "h6",
167
- children: "Grid Configuration"
168
- }), /* @__PURE__ */ l(C, {
169
- input: /* @__PURE__ */ l(m, {}),
170
- displayEmpty: !0,
171
- onChange: this.changeGridConfiguration,
172
- value: A,
173
- MenuProps: { transitionDuration: {
174
- enter: 225,
175
- exit: 195
176
- } },
177
- children: (n || []).map((e, t) => /* @__PURE__ */ l(p, {
178
- value: t,
179
- children: e.label
180
- }, t))
181
- })] }) : null, q && /* @__PURE__ */ l(c, {
182
- displayedFields: K,
183
- domain: j,
184
- gridValues: H,
185
- includeAxes: M,
186
- labelValues: U,
187
- range: P,
188
- size: L,
189
- sizeConstraints: G,
190
- standardGrid: F,
191
- onChange: this.onConfigChange,
192
- onChangeView: this.onChangeView
193
- })] }),
194
- /* @__PURE__ */ u(y, { children: [
195
- /* @__PURE__ */ l(g, {
196
- component: "div",
197
- variant: "h6",
198
- children: "Define Graph Attributes"
199
- }),
200
- /* @__PURE__ */ l(b, {
201
- component: "div",
202
- variant: "body1",
203
- children: "Use this interface to add/edit a title and/or labels, and to set background shapes"
204
- }),
205
- /* @__PURE__ */ l(s, {
206
- axesSettings: { includeArrows: D },
207
- backgroundMarks: [],
208
- coordinatesOnHover: k,
209
- collapsibleToolbar: !0,
210
- collapsibleToolbarTitle: "Add Background Shapes to Graph",
211
- domain: j,
212
- labels: N,
213
- labelsPlaceholders: i,
214
- marks: O,
215
- onChangeLabels: this.changeLabels,
216
- onChangeMarks: this.changeBackgroundMarks,
217
- onChangeTitle: this.changeTitle,
218
- range: P,
219
- showLabels: o,
220
- showPixelGuides: W,
221
- showTitle: h,
222
- size: {
223
- width: L.width,
224
- height: L.height
225
- },
226
- title: I,
227
- titlePlaceholder: w,
228
- toolbarTools: t,
229
- mathMlOptions: T,
230
- removeIncompleteTool: E
231
- }, "graphing-config")
232
- ] }, "graph"),
233
- /* @__PURE__ */ l(f, {
234
- open: V.isOpened,
235
- title: "Warning",
236
- text: "This change would make it impossible for students to plot one or more graph objects in the current correct answers. If you proceed, all such graph objects will be removed from the correct answers.",
237
- onClose: V.onClose,
238
- onConfirm: V.onConfirm
239
- })
240
- ] });
241
- }
242
- };
243
- //#endregion
244
- export { w as default };