@pie-element/graphing 3.4.19-next.85 → 3.5.1-beta.587
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/CHANGELOG.md +509 -0
- package/configure/CHANGELOG.md +490 -0
- package/configure/lib/configure.js +174 -56
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/correct-response.js +340 -62
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/lib/defaults.js +281 -13
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/graphing-config.js +323 -177
- package/configure/lib/graphing-config.js.map +1 -1
- package/configure/lib/index.js +63 -18
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/utils.js +165 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +6 -5
- package/controller/CHANGELOG.md +114 -0
- package/controller/lib/defaults.js +11 -1
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +85 -23
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js +8 -6
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +4 -4
- package/docs/config-schema.json +1166 -10
- package/docs/config-schema.json.md +816 -9
- package/docs/demo/config.js +2 -2
- package/docs/demo/generate.js +31 -19
- package/docs/pie-schema.json +725 -463
- package/docs/pie-schema.json.md +504 -87
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/main.js +23 -21
- package/lib/main.js.map +1 -1
- package/lib/utils.js +3 -1
- package/lib/utils.js.map +1 -1
- package/package.json +7 -6
package/docs/pie-schema.json.md
CHANGED
|
@@ -40,9 +40,25 @@ Additional restrictions:
|
|
|
40
40
|
|
|
41
41
|
* Minimum items: `1`
|
|
42
42
|
|
|
43
|
-
# `arrows` (
|
|
43
|
+
# `arrows` (object)
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Properties of the `arrows` object:
|
|
46
|
+
|
|
47
|
+
## `left` (boolean, required)
|
|
48
|
+
|
|
49
|
+
Indicates if left arrow is enabled
|
|
50
|
+
|
|
51
|
+
## `right` (boolean, required)
|
|
52
|
+
|
|
53
|
+
Indicates if right arrow is enabled
|
|
54
|
+
|
|
55
|
+
## `up` (boolean, required)
|
|
56
|
+
|
|
57
|
+
Indicates if up arrow is enabled
|
|
58
|
+
|
|
59
|
+
## `down` (boolean, required)
|
|
60
|
+
|
|
61
|
+
Indicates if down arrow is enabled
|
|
46
62
|
|
|
47
63
|
# `backgroundMarks` (array, required)
|
|
48
64
|
|
|
@@ -52,6 +68,26 @@ Additional restrictions:
|
|
|
52
68
|
|
|
53
69
|
* Minimum items: `1`
|
|
54
70
|
|
|
71
|
+
# `coordinatesOnHover` (boolean)
|
|
72
|
+
|
|
73
|
+
Indicates if coordinates of a point are displayed on hover
|
|
74
|
+
|
|
75
|
+
# `defaultTool` (string, enum, required)
|
|
76
|
+
|
|
77
|
+
Indicates the default selected tool for the graph
|
|
78
|
+
|
|
79
|
+
This element must be one of the following enum values:
|
|
80
|
+
|
|
81
|
+
* `circle`
|
|
82
|
+
* `line`
|
|
83
|
+
* `parabola`
|
|
84
|
+
* `point`
|
|
85
|
+
* `polygon`
|
|
86
|
+
* `ray`
|
|
87
|
+
* `segment`
|
|
88
|
+
* `sine`
|
|
89
|
+
* `vector`
|
|
90
|
+
|
|
55
91
|
# `domain` (object, required)
|
|
56
92
|
|
|
57
93
|
Properties of the `domain` object:
|
|
@@ -92,6 +128,10 @@ Width for graph representation
|
|
|
92
128
|
|
|
93
129
|
Height for graph representation
|
|
94
130
|
|
|
131
|
+
# `includeAxes` (boolean)
|
|
132
|
+
|
|
133
|
+
Indicates if the graph axes and labels are enabled
|
|
134
|
+
|
|
95
135
|
# `labels` (object)
|
|
96
136
|
|
|
97
137
|
Properties of the `labels` object:
|
|
@@ -177,6 +217,14 @@ Indicates teacher instructions
|
|
|
177
217
|
|
|
178
218
|
Indicates graph title
|
|
179
219
|
|
|
220
|
+
# `labelsEnabled` (boolean)
|
|
221
|
+
|
|
222
|
+
Indicates if the graph labels are displayed
|
|
223
|
+
|
|
224
|
+
# `titleEnabled` (boolean)
|
|
225
|
+
|
|
226
|
+
Indicates if the graph title is displayed
|
|
227
|
+
|
|
180
228
|
# `toolbarTools` (array)
|
|
181
229
|
|
|
182
230
|
Indicates the tools that have to be displayed in toolbar
|
|
@@ -189,6 +237,14 @@ Additional restrictions:
|
|
|
189
237
|
|
|
190
238
|
Indicates if Rationale are enabled
|
|
191
239
|
|
|
240
|
+
# `spellCheckEnabled` (boolean, required)
|
|
241
|
+
|
|
242
|
+
Indicates if spellcheck is enabled for the author. Default value is true
|
|
243
|
+
|
|
244
|
+
# `standardGrid` (boolean)
|
|
245
|
+
|
|
246
|
+
Indicates if some domain values will be synched to the range values
|
|
247
|
+
|
|
192
248
|
# `studentInstructionsEnabled` (boolean, required)
|
|
193
249
|
|
|
194
250
|
Indicates if Student Instructions are enabled
|
|
@@ -197,6 +253,10 @@ Indicates if Student Instructions are enabled
|
|
|
197
253
|
|
|
198
254
|
Indicates if Teacher Instructions are enabled
|
|
199
255
|
|
|
256
|
+
# `rubricEnabled` (boolean, required)
|
|
257
|
+
|
|
258
|
+
Indicates if Rubric is enabled
|
|
259
|
+
|
|
200
260
|
# `id` (string, required)
|
|
201
261
|
|
|
202
262
|
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
@@ -211,9 +271,105 @@ The html Element tag name
|
|
|
211
271
|
|
|
212
272
|
The schema defines the following additional types:
|
|
213
273
|
|
|
214
|
-
## `
|
|
274
|
+
## `AuthoringConfigProp` (object)
|
|
215
275
|
|
|
216
|
-
Properties of the `
|
|
276
|
+
Properties of the `AuthoringConfigProp` object:
|
|
277
|
+
|
|
278
|
+
### `settings` (boolean)
|
|
279
|
+
|
|
280
|
+
Indicates if the item is displayed in the Settings Panel
|
|
281
|
+
|
|
282
|
+
### `label` (string)
|
|
283
|
+
|
|
284
|
+
Indicates the label for the item that is displayed in the Settings Panel
|
|
285
|
+
|
|
286
|
+
### `enabled` (boolean)
|
|
287
|
+
|
|
288
|
+
Indicates if the Grid Setup Panel is displayed
|
|
289
|
+
|
|
290
|
+
### `includeAxesEnabled` (boolean)
|
|
291
|
+
|
|
292
|
+
Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
|
|
293
|
+
|
|
294
|
+
### `standardGridEnabled` (boolean)
|
|
295
|
+
|
|
296
|
+
Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
|
|
297
|
+
|
|
298
|
+
### `min` (object)
|
|
299
|
+
|
|
300
|
+
Properties of the `min` object:
|
|
301
|
+
|
|
302
|
+
#### `label` (string)
|
|
303
|
+
|
|
304
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
305
|
+
|
|
306
|
+
#### `enabled` (boolean)
|
|
307
|
+
|
|
308
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
309
|
+
|
|
310
|
+
### `max` (object)
|
|
311
|
+
|
|
312
|
+
Properties of the `max` object:
|
|
313
|
+
|
|
314
|
+
#### `label` (string)
|
|
315
|
+
|
|
316
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
317
|
+
|
|
318
|
+
#### `enabled` (boolean)
|
|
319
|
+
|
|
320
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
321
|
+
|
|
322
|
+
### `axisLabel` (object)
|
|
323
|
+
|
|
324
|
+
Properties of the `axisLabel` object:
|
|
325
|
+
|
|
326
|
+
#### `label` (string)
|
|
327
|
+
|
|
328
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
329
|
+
|
|
330
|
+
#### `enabled` (boolean)
|
|
331
|
+
|
|
332
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
333
|
+
|
|
334
|
+
### `step` (object)
|
|
335
|
+
|
|
336
|
+
Properties of the `step` object:
|
|
337
|
+
|
|
338
|
+
#### `label` (string)
|
|
339
|
+
|
|
340
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
341
|
+
|
|
342
|
+
#### `enabled` (boolean)
|
|
343
|
+
|
|
344
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
345
|
+
|
|
346
|
+
### `labelStep` (object)
|
|
347
|
+
|
|
348
|
+
Properties of the `labelStep` object:
|
|
349
|
+
|
|
350
|
+
#### `label` (string)
|
|
351
|
+
|
|
352
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
353
|
+
|
|
354
|
+
#### `enabled` (boolean)
|
|
355
|
+
|
|
356
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
357
|
+
|
|
358
|
+
## `GridPanelConfigProp` (object)
|
|
359
|
+
|
|
360
|
+
Properties of the `GridPanelConfigProp` object:
|
|
361
|
+
|
|
362
|
+
### `label` (string)
|
|
363
|
+
|
|
364
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
365
|
+
|
|
366
|
+
### `enabled` (boolean)
|
|
367
|
+
|
|
368
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
369
|
+
|
|
370
|
+
## `ArrowsConfigProp` (object)
|
|
371
|
+
|
|
372
|
+
Properties of the `ArrowsConfigProp` object:
|
|
217
373
|
|
|
218
374
|
### `settings` (boolean)
|
|
219
375
|
|
|
@@ -223,10 +379,45 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
223
379
|
|
|
224
380
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
225
381
|
|
|
226
|
-
### `
|
|
382
|
+
### `left` (object)
|
|
227
383
|
|
|
228
|
-
|
|
229
|
-
|
|
384
|
+
Properties of the `left` object:
|
|
385
|
+
|
|
386
|
+
#### `label` (string)
|
|
387
|
+
|
|
388
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
389
|
+
|
|
390
|
+
### `right` (object)
|
|
391
|
+
|
|
392
|
+
Properties of the `right` object:
|
|
393
|
+
|
|
394
|
+
#### `label` (string)
|
|
395
|
+
|
|
396
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
397
|
+
|
|
398
|
+
### `up` (object)
|
|
399
|
+
|
|
400
|
+
Properties of the `up` object:
|
|
401
|
+
|
|
402
|
+
#### `label` (string)
|
|
403
|
+
|
|
404
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
405
|
+
|
|
406
|
+
### `down` (object)
|
|
407
|
+
|
|
408
|
+
Properties of the `down` object:
|
|
409
|
+
|
|
410
|
+
#### `label` (string)
|
|
411
|
+
|
|
412
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
413
|
+
|
|
414
|
+
## `ArrowsProp` (object)
|
|
415
|
+
|
|
416
|
+
Properties of the `ArrowsProp` object:
|
|
417
|
+
|
|
418
|
+
### `label` (string)
|
|
419
|
+
|
|
420
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
230
421
|
|
|
231
422
|
## `ConfigureProp` (object)
|
|
232
423
|
|
|
@@ -240,157 +431,185 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
240
431
|
|
|
241
432
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
242
433
|
|
|
243
|
-
## `
|
|
434
|
+
## `DimensionsConfigProp` (object)
|
|
244
435
|
|
|
245
|
-
Properties of the `
|
|
436
|
+
Properties of the `DimensionsConfigProp` object:
|
|
246
437
|
|
|
247
|
-
### `
|
|
438
|
+
### `settings` (boolean)
|
|
248
439
|
|
|
249
|
-
Indicates
|
|
440
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
250
441
|
|
|
251
|
-
### `
|
|
442
|
+
### `label` (string)
|
|
252
443
|
|
|
253
|
-
Indicates
|
|
444
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
254
445
|
|
|
255
|
-
|
|
446
|
+
### `enabled` (boolean)
|
|
256
447
|
|
|
257
|
-
|
|
448
|
+
Indicates if the graph dimensions are included in the Grid Setup Panel
|
|
258
449
|
|
|
259
|
-
|
|
450
|
+
### `min` (number)
|
|
260
451
|
|
|
261
|
-
|
|
452
|
+
Indicates the minimum value for the graph width and height
|
|
262
453
|
|
|
263
|
-
### `
|
|
454
|
+
### `max` (number)
|
|
264
455
|
|
|
265
|
-
Indicates
|
|
456
|
+
Indicates the maximum value for the graph width and height
|
|
266
457
|
|
|
267
|
-
|
|
458
|
+
### `step` (number)
|
|
268
459
|
|
|
269
|
-
|
|
270
|
-
* `line`
|
|
271
|
-
* `parabola`
|
|
272
|
-
* `point`
|
|
273
|
-
* `polygon`
|
|
274
|
-
* `ray`
|
|
275
|
-
* `segment`
|
|
276
|
-
* `sine`
|
|
277
|
-
* `vector`
|
|
460
|
+
Indicates the increase/decrease value for the graph width and height
|
|
278
461
|
|
|
279
|
-
|
|
462
|
+
## `GridConfigurationsProp` (object)
|
|
280
463
|
|
|
281
|
-
|
|
464
|
+
Properties of the `GridConfigurationsProp` object:
|
|
282
465
|
|
|
283
466
|
### `label` (string)
|
|
284
467
|
|
|
285
|
-
Indicates label
|
|
468
|
+
Indicates the label for the configuration
|
|
286
469
|
|
|
287
|
-
### `
|
|
470
|
+
### `arrows` (object)
|
|
288
471
|
|
|
289
|
-
|
|
472
|
+
Properties of the `arrows` object:
|
|
290
473
|
|
|
291
|
-
|
|
474
|
+
#### `left` (boolean, required)
|
|
292
475
|
|
|
293
|
-
Indicates
|
|
476
|
+
Indicates if left arrow is enabled
|
|
294
477
|
|
|
295
|
-
|
|
478
|
+
#### `right` (boolean, required)
|
|
296
479
|
|
|
297
|
-
Indicates
|
|
480
|
+
Indicates if right arrow is enabled
|
|
298
481
|
|
|
299
|
-
|
|
482
|
+
#### `up` (boolean, required)
|
|
300
483
|
|
|
301
|
-
|
|
484
|
+
Indicates if up arrow is enabled
|
|
302
485
|
|
|
303
|
-
#### `
|
|
486
|
+
#### `down` (boolean, required)
|
|
304
487
|
|
|
305
|
-
Indicates
|
|
488
|
+
Indicates if down arrow is enabled
|
|
306
489
|
|
|
307
|
-
|
|
490
|
+
### `domain` (object, required)
|
|
308
491
|
|
|
309
|
-
|
|
492
|
+
Properties of the `domain` object:
|
|
310
493
|
|
|
311
|
-
|
|
494
|
+
#### `min` (number, required)
|
|
312
495
|
|
|
313
|
-
|
|
496
|
+
Min value
|
|
314
497
|
|
|
315
|
-
#### `
|
|
498
|
+
#### `max` (number, required)
|
|
316
499
|
|
|
317
|
-
|
|
500
|
+
Max value
|
|
318
501
|
|
|
319
|
-
#### `
|
|
502
|
+
#### `padding` (number, required)
|
|
320
503
|
|
|
321
|
-
|
|
504
|
+
Padding value
|
|
322
505
|
|
|
323
|
-
|
|
506
|
+
#### `step` (number, required)
|
|
324
507
|
|
|
325
|
-
|
|
508
|
+
Step value
|
|
326
509
|
|
|
327
|
-
#### `
|
|
510
|
+
#### `labelStep` (number, required)
|
|
328
511
|
|
|
329
|
-
|
|
512
|
+
Label step value
|
|
330
513
|
|
|
331
|
-
#### `
|
|
514
|
+
#### `axisLabel` (string, required)
|
|
332
515
|
|
|
333
|
-
|
|
516
|
+
Axis Label
|
|
334
517
|
|
|
335
|
-
### `
|
|
518
|
+
### `graph` (object, required)
|
|
336
519
|
|
|
337
|
-
Properties of the `
|
|
520
|
+
Properties of the `graph` object:
|
|
338
521
|
|
|
339
|
-
#### `
|
|
522
|
+
#### `width` (number, required)
|
|
340
523
|
|
|
341
|
-
|
|
524
|
+
Width for graph representation
|
|
342
525
|
|
|
343
|
-
#### `
|
|
526
|
+
#### `height` (number, required)
|
|
344
527
|
|
|
345
|
-
|
|
528
|
+
Height for graph representation
|
|
346
529
|
|
|
347
|
-
### `
|
|
530
|
+
### `includeAxes` (boolean)
|
|
348
531
|
|
|
349
|
-
Indicates if
|
|
532
|
+
Indicates if the graph axes and labels are enabled
|
|
350
533
|
|
|
351
|
-
### `
|
|
534
|
+
### `labels` (object)
|
|
352
535
|
|
|
353
|
-
|
|
536
|
+
Properties of the `labels` object:
|
|
354
537
|
|
|
355
|
-
|
|
538
|
+
#### `top` (string, required)
|
|
356
539
|
|
|
357
|
-
|
|
540
|
+
Label for top side of the graph
|
|
358
541
|
|
|
359
|
-
|
|
542
|
+
#### `bottom` (string, required)
|
|
360
543
|
|
|
361
|
-
|
|
544
|
+
Label for bottom side of the graph
|
|
362
545
|
|
|
363
|
-
#### `
|
|
546
|
+
#### `left` (string, required)
|
|
364
547
|
|
|
365
|
-
|
|
548
|
+
Label for left side of the graph
|
|
366
549
|
|
|
367
|
-
#### `
|
|
550
|
+
#### `right` (string, required)
|
|
368
551
|
|
|
369
|
-
|
|
552
|
+
Label for right side of the graph
|
|
370
553
|
|
|
371
|
-
### `
|
|
554
|
+
### `padding` (boolean)
|
|
372
555
|
|
|
373
|
-
|
|
556
|
+
Indicates if padding is enabled
|
|
374
557
|
|
|
375
|
-
|
|
558
|
+
### `range` (object, required)
|
|
376
559
|
|
|
377
|
-
|
|
560
|
+
Properties of the `range` object:
|
|
378
561
|
|
|
379
|
-
#### `
|
|
562
|
+
#### `min` (number, required)
|
|
380
563
|
|
|
381
|
-
|
|
564
|
+
Min value
|
|
382
565
|
|
|
383
|
-
|
|
566
|
+
#### `max` (number, required)
|
|
384
567
|
|
|
385
|
-
|
|
568
|
+
Max value
|
|
386
569
|
|
|
387
|
-
|
|
570
|
+
#### `padding` (number, required)
|
|
388
571
|
|
|
389
|
-
|
|
572
|
+
Padding value
|
|
390
573
|
|
|
391
|
-
|
|
574
|
+
#### `step` (number, required)
|
|
392
575
|
|
|
393
|
-
|
|
576
|
+
Step value
|
|
577
|
+
|
|
578
|
+
#### `labelStep` (number, required)
|
|
579
|
+
|
|
580
|
+
Label step value
|
|
581
|
+
|
|
582
|
+
#### `axisLabel` (string, required)
|
|
583
|
+
|
|
584
|
+
Axis Label
|
|
585
|
+
|
|
586
|
+
### `standardGrid` (boolean)
|
|
587
|
+
|
|
588
|
+
Indicates if some domain values will be synched to the range values
|
|
589
|
+
|
|
590
|
+
### `title` (string)
|
|
591
|
+
|
|
592
|
+
Indicates graph title
|
|
593
|
+
|
|
594
|
+
## `Arrows` (object)
|
|
595
|
+
|
|
596
|
+
Properties of the `Arrows` object:
|
|
597
|
+
|
|
598
|
+
### `left` (boolean, required)
|
|
599
|
+
|
|
600
|
+
Indicates if left arrow is enabled
|
|
601
|
+
|
|
602
|
+
### `right` (boolean, required)
|
|
603
|
+
|
|
604
|
+
Indicates if right arrow is enabled
|
|
605
|
+
|
|
606
|
+
### `up` (boolean, required)
|
|
607
|
+
|
|
608
|
+
Indicates if up arrow is enabled
|
|
609
|
+
|
|
610
|
+
### `down` (boolean, required)
|
|
611
|
+
|
|
612
|
+
Indicates if down arrow is enabled
|
|
394
613
|
|
|
395
614
|
## `GraphSettings` (object)
|
|
396
615
|
|
|
@@ -450,4 +669,202 @@ Label for left side of the graph
|
|
|
450
669
|
|
|
451
670
|
### `right` (string, required)
|
|
452
671
|
|
|
453
|
-
Label for right side of the graph
|
|
672
|
+
Label for right side of the graph
|
|
673
|
+
|
|
674
|
+
## `LabelsConfigProp` (object)
|
|
675
|
+
|
|
676
|
+
Properties of the `LabelsConfigProp` object:
|
|
677
|
+
|
|
678
|
+
### `top` (string)
|
|
679
|
+
|
|
680
|
+
Indicates the placeholder for the top label
|
|
681
|
+
|
|
682
|
+
### `right` (string)
|
|
683
|
+
|
|
684
|
+
Indicates the placeholder for the right label
|
|
685
|
+
|
|
686
|
+
### `bottom` (string)
|
|
687
|
+
|
|
688
|
+
Indicates the placeholder for the bottom label
|
|
689
|
+
|
|
690
|
+
### `left` (string)
|
|
691
|
+
|
|
692
|
+
Indicates the placeholder for the left label
|
|
693
|
+
|
|
694
|
+
### `settings` (boolean)
|
|
695
|
+
|
|
696
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
697
|
+
|
|
698
|
+
### `label` (string)
|
|
699
|
+
|
|
700
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
701
|
+
|
|
702
|
+
### `enabled` (boolean)
|
|
703
|
+
|
|
704
|
+
Indicates the value of the item if it affects config-ui
|
|
705
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
706
|
+
|
|
707
|
+
## `TitleConfigProp` (object)
|
|
708
|
+
|
|
709
|
+
Properties of the `TitleConfigProp` object:
|
|
710
|
+
|
|
711
|
+
### `placeholder` (string)
|
|
712
|
+
|
|
713
|
+
Indicates the placeholder for the title label
|
|
714
|
+
|
|
715
|
+
### `settings` (boolean)
|
|
716
|
+
|
|
717
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
718
|
+
|
|
719
|
+
### `label` (string)
|
|
720
|
+
|
|
721
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
722
|
+
|
|
723
|
+
### `enabled` (boolean)
|
|
724
|
+
|
|
725
|
+
Indicates the value of the item if it affects config-ui
|
|
726
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
727
|
+
|
|
728
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
729
|
+
|
|
730
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
731
|
+
|
|
732
|
+
### `teacherInstructions` (number)
|
|
733
|
+
|
|
734
|
+
Indicates the max dimension for images in teacher instructions
|
|
735
|
+
|
|
736
|
+
### `prompt` (number)
|
|
737
|
+
|
|
738
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
739
|
+
|
|
740
|
+
### `rationale` (number)
|
|
741
|
+
|
|
742
|
+
Indicates the max dimension for images in rationale
|
|
743
|
+
|
|
744
|
+
## `Answer` (object)
|
|
745
|
+
|
|
746
|
+
Properties of the `Answer` object:
|
|
747
|
+
|
|
748
|
+
### `name` (string, required)
|
|
749
|
+
|
|
750
|
+
Indicates name of answer
|
|
751
|
+
|
|
752
|
+
### `marks` (array, required)
|
|
753
|
+
|
|
754
|
+
Indicates marks for the answer
|
|
755
|
+
|
|
756
|
+
Additional restrictions:
|
|
757
|
+
|
|
758
|
+
* Minimum items: `1`
|
|
759
|
+
|
|
760
|
+
## `Mark` (object)
|
|
761
|
+
|
|
762
|
+
Properties of the `Mark` object:
|
|
763
|
+
|
|
764
|
+
### `type` (string, enum, required)
|
|
765
|
+
|
|
766
|
+
Indicates type of mark
|
|
767
|
+
|
|
768
|
+
This element must be one of the following enum values:
|
|
769
|
+
|
|
770
|
+
* `circle`
|
|
771
|
+
* `line`
|
|
772
|
+
* `parabola`
|
|
773
|
+
* `point`
|
|
774
|
+
* `polygon`
|
|
775
|
+
* `ray`
|
|
776
|
+
* `segment`
|
|
777
|
+
* `sine`
|
|
778
|
+
* `vector`
|
|
779
|
+
|
|
780
|
+
### `showLabel` (boolean)
|
|
781
|
+
|
|
782
|
+
Indicates if label should be visible
|
|
783
|
+
|
|
784
|
+
### `label` (string)
|
|
785
|
+
|
|
786
|
+
Indicates label value for mark
|
|
787
|
+
|
|
788
|
+
### `building` (boolean, required)
|
|
789
|
+
|
|
790
|
+
Indicates if mark is in build process
|
|
791
|
+
|
|
792
|
+
### `x` (number)
|
|
793
|
+
|
|
794
|
+
Indicates x coordinate if type is point
|
|
795
|
+
|
|
796
|
+
### `y` (number)
|
|
797
|
+
|
|
798
|
+
Indicates y coordinate if type is point
|
|
799
|
+
|
|
800
|
+
### `from` (object)
|
|
801
|
+
|
|
802
|
+
Properties of the `from` object:
|
|
803
|
+
|
|
804
|
+
#### `x` (number, required)
|
|
805
|
+
|
|
806
|
+
Indicates x coordinate
|
|
807
|
+
|
|
808
|
+
#### `y` (number, required)
|
|
809
|
+
|
|
810
|
+
Indicates y coordinate
|
|
811
|
+
|
|
812
|
+
### `to` (object)
|
|
813
|
+
|
|
814
|
+
Properties of the `to` object:
|
|
815
|
+
|
|
816
|
+
#### `x` (number, required)
|
|
817
|
+
|
|
818
|
+
Indicates x coordinate
|
|
819
|
+
|
|
820
|
+
#### `y` (number, required)
|
|
821
|
+
|
|
822
|
+
Indicates y coordinate
|
|
823
|
+
|
|
824
|
+
### `closed` (boolean)
|
|
825
|
+
|
|
826
|
+
Indicates if mark is closed if type is polygon, sine
|
|
827
|
+
|
|
828
|
+
### `points` (array)
|
|
829
|
+
|
|
830
|
+
Indicates all mark's points if type is polygon
|
|
831
|
+
|
|
832
|
+
Additional restrictions:
|
|
833
|
+
|
|
834
|
+
* Minimum items: `1`
|
|
835
|
+
|
|
836
|
+
### `root` (object)
|
|
837
|
+
|
|
838
|
+
Properties of the `root` object:
|
|
839
|
+
|
|
840
|
+
#### `x` (number, required)
|
|
841
|
+
|
|
842
|
+
Indicates x coordinate
|
|
843
|
+
|
|
844
|
+
#### `y` (number, required)
|
|
845
|
+
|
|
846
|
+
Indicates y coordinate
|
|
847
|
+
|
|
848
|
+
### `edge` (object)
|
|
849
|
+
|
|
850
|
+
Properties of the `edge` object:
|
|
851
|
+
|
|
852
|
+
#### `x` (number, required)
|
|
853
|
+
|
|
854
|
+
Indicates x coordinate
|
|
855
|
+
|
|
856
|
+
#### `y` (number, required)
|
|
857
|
+
|
|
858
|
+
Indicates y coordinate
|
|
859
|
+
|
|
860
|
+
## `Point` (object)
|
|
861
|
+
|
|
862
|
+
Properties of the `Point` object:
|
|
863
|
+
|
|
864
|
+
### `x` (number, required)
|
|
865
|
+
|
|
866
|
+
Indicates x coordinate
|
|
867
|
+
|
|
868
|
+
### `y` (number, required)
|
|
869
|
+
|
|
870
|
+
Indicates y coordinate
|