@pie-element/math-inline 12.1.1-next.13 → 12.1.1-next.131

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 (101) hide show
  1. package/CHANGELOG.json +2627 -0
  2. package/CHANGELOG.md +2473 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +3 -0
  5. package/configure/CHANGELOG.json +1652 -0
  6. package/configure/CHANGELOG.md +2101 -0
  7. package/configure/lib/configure.js +186 -0
  8. package/configure/lib/configure.js.map +1 -0
  9. package/configure/lib/defaults.js +185 -0
  10. package/configure/lib/defaults.js.map +1 -0
  11. package/configure/lib/general-config-block.js +525 -0
  12. package/configure/lib/general-config-block.js.map +1 -0
  13. package/configure/lib/index.js +140 -0
  14. package/configure/lib/index.js.map +1 -0
  15. package/configure/lib/response.js +369 -0
  16. package/configure/lib/response.js.map +1 -0
  17. package/configure/lib/utils.js +31 -0
  18. package/configure/lib/utils.js.map +1 -0
  19. package/configure/package.json +29 -0
  20. package/controller/CHANGELOG.json +1002 -0
  21. package/controller/CHANGELOG.md +1536 -0
  22. package/controller/lib/defaults.js +43 -0
  23. package/controller/lib/defaults.js.map +1 -0
  24. package/controller/lib/index.js +383 -0
  25. package/controller/lib/index.js.map +1 -0
  26. package/controller/lib/utils.js +11 -0
  27. package/controller/lib/utils.js.map +1 -0
  28. package/controller/package.json +26 -0
  29. package/docs/config-schema.json +2071 -0
  30. package/docs/config-schema.json.md +1533 -0
  31. package/docs/demo/config.js +8 -0
  32. package/docs/demo/generate.js +41 -0
  33. package/docs/demo/index.html +1 -0
  34. package/docs/demo/session.js +11 -0
  35. package/docs/pie-schema.json +1472 -0
  36. package/docs/pie-schema.json.md +845 -0
  37. package/lib/index.js +94 -0
  38. package/lib/index.js.map +1 -0
  39. package/lib/main.js +1030 -0
  40. package/lib/main.js.map +1 -0
  41. package/lib/print.js +92 -0
  42. package/lib/print.js.map +1 -0
  43. package/lib/simple-question-block.js +148 -0
  44. package/lib/simple-question-block.js.map +1 -0
  45. package/lib/utils.js +11 -0
  46. package/lib/utils.js.map +1 -0
  47. package/package.json +26 -93
  48. package/configure.js +0 -2
  49. package/controller.js +0 -1
  50. package/dist/author/configure.d.ts +0 -25
  51. package/dist/author/configure.js +0 -114
  52. package/dist/author/defaults.d.ts +0 -186
  53. package/dist/author/defaults.js +0 -145
  54. package/dist/author/general-config-block.d.ts +0 -35
  55. package/dist/author/general-config-block.js +0 -390
  56. package/dist/author/index.d.ts +0 -60
  57. package/dist/author/index.js +0 -77
  58. package/dist/author/response.d.ts +0 -40
  59. package/dist/author/response.js +0 -238
  60. package/dist/author/utils.d.ts +0 -14
  61. package/dist/author/utils.js +0 -13
  62. package/dist/browser/author/index.js +0 -36149
  63. package/dist/browser/author/index.js.map +0 -1
  64. package/dist/browser/controller/index.js +0 -37789
  65. package/dist/browser/controller/index.js.map +0 -1
  66. package/dist/browser/delivery/index.js +0 -84
  67. package/dist/browser/delivery/index.js.map +0 -1
  68. package/dist/browser/dist-BJ5Sm1Fi.js +0 -313
  69. package/dist/browser/dist-BJ5Sm1Fi.js.map +0 -1
  70. package/dist/browser/dist-CGr_ORz3.js +0 -19418
  71. package/dist/browser/dist-CGr_ORz3.js.map +0 -1
  72. package/dist/browser/dist-D9ARZhQk.js +0 -1426
  73. package/dist/browser/dist-D9ARZhQk.js.map +0 -1
  74. package/dist/browser/main-CgwgYd0K.js +0 -973
  75. package/dist/browser/main-CgwgYd0K.js.map +0 -1
  76. package/dist/browser/math-inline.css +0 -2
  77. package/dist/browser/print/index.js +0 -50
  78. package/dist/browser/print/index.js.map +0 -1
  79. package/dist/controller/defaults.d.ts +0 -44
  80. package/dist/controller/defaults.js +0 -39
  81. package/dist/controller/index.d.ts +0 -22
  82. package/dist/controller/index.js +0 -171
  83. package/dist/controller/utils.d.ts +0 -12
  84. package/dist/controller/utils.js +0 -7
  85. package/dist/delivery/index.d.ts +0 -22
  86. package/dist/delivery/index.js +0 -55
  87. package/dist/delivery/main.d.ts +0 -44
  88. package/dist/delivery/main.js +0 -606
  89. package/dist/delivery/simple-question-block.d.ts +0 -27
  90. package/dist/delivery/simple-question-block.js +0 -94
  91. package/dist/delivery/utils.d.ts +0 -12
  92. package/dist/delivery/utils.js +0 -7
  93. package/dist/index.d.ts +0 -1
  94. package/dist/index.iife.d.ts +0 -8
  95. package/dist/index.iife.js +0 -227
  96. package/dist/index.js +0 -2
  97. package/dist/math-inline.css +0 -2
  98. package/dist/print/index.d.ts +0 -15
  99. package/dist/print/index.js +0 -50
  100. package/dist/runtime-support.d.ts +0 -12
  101. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,845 @@
1
+ Model for the @pie-elements/math-inline
2
+
3
+ The schema defines the following properties:
4
+
5
+ # `responseType` (string, enum)
6
+
7
+ Indicates the mode of the question
8
+
9
+ This element must be one of the following enum values:
10
+
11
+ * `Advanced Multi`
12
+ * `Simple`
13
+
14
+ # `prompt` (string)
15
+
16
+ The item stem for the question
17
+
18
+ # `promptEnabled` (boolean)
19
+
20
+ Determines if prompt should show
21
+
22
+ # `expression` (string, required)
23
+
24
+ Indicates the expression for advanced mode
25
+
26
+ # `equationEditor`
27
+
28
+ Indicates what type of editor should be displayed for all the possible responses
29
+ 1 for Grade 1 - 2
30
+ 3 for Grade 3 - 5
31
+ 6 for Grade 6 - 7
32
+ 8 for Grade 8 - HS
33
+ non-negative-integers
34
+ integers
35
+ decimals
36
+ fractions
37
+ geometry
38
+ advanced-algebra
39
+ statistics
40
+
41
+ This element must be one of the following enum values:
42
+
43
+ * `1`
44
+ * `3`
45
+ * `6`
46
+ * `8`
47
+ * `advanced-algebra`
48
+ * `decimals`
49
+ * `fractions`
50
+ * `geometry`
51
+ * `integers`
52
+ * `item-authoring`
53
+ * `non-negative-integers`
54
+ * `statistics`
55
+
56
+ Default: `"- item-authoring"`
57
+
58
+ # `feedback` (object)
59
+
60
+ Properties of the `feedback` object:
61
+
62
+ ## `correct` (, required)
63
+
64
+ Indicates the configuration for feedback when answer is correct
65
+
66
+ ## `incorrect` (, required)
67
+
68
+ Indicates the configuration for feedback when answer is incorrect
69
+
70
+ ## `partial`
71
+
72
+ Indicates the configuration for feedback when answer is partially correct
73
+
74
+ # `responses` (array, required)
75
+
76
+ Array of all correct responses; if responseType is Simple, only first element in array is used
77
+
78
+ The object is an array with all elements of the type `object`.
79
+
80
+ The array object has the following properties:
81
+
82
+ ## `id` (string,number, required)
83
+
84
+ The id of the response
85
+
86
+ ## `validation` (string, enum, required)
87
+
88
+ Indicates what type of validation should be applied on the response
89
+
90
+ This element must be one of the following enum values:
91
+
92
+ * `literal`
93
+ * `symbolic`
94
+
95
+ Default: `"is literal"`
96
+
97
+ ## `ignoreOrder` (boolean, required)
98
+
99
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
100
+
101
+ Default: `"is false"`
102
+
103
+ ## `allowTrailingZeros` (boolean, required)
104
+
105
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
106
+
107
+ Default: `"is false"`
108
+
109
+ ## `answer` (string, required)
110
+
111
+ The answer for the question
112
+
113
+ ## `alternates` (object, required)
114
+
115
+ For validation type = literal, alternates represents
116
+ an object with some alternatives for the correct answers
117
+
118
+ # `defaultResponse` (object)
119
+
120
+ Properties of the `defaultResponse` object:
121
+
122
+ ## `id` (string,number, required)
123
+
124
+ The id of the response
125
+
126
+ ## `validation` (string, enum, required)
127
+
128
+ Indicates what type of validation should be applied on the response
129
+
130
+ This element must be one of the following enum values:
131
+
132
+ * `literal`
133
+ * `symbolic`
134
+
135
+ Default: `"is literal"`
136
+
137
+ ## `ignoreOrder` (boolean, required)
138
+
139
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
140
+
141
+ Default: `"is false"`
142
+
143
+ ## `allowTrailingZeros` (boolean, required)
144
+
145
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
146
+
147
+ Default: `"is false"`
148
+
149
+ ## `answer` (string, required)
150
+
151
+ The answer for the question
152
+
153
+ ## `alternates` (object, required)
154
+
155
+ For validation type = literal, alternates represents
156
+ an object with some alternatives for the correct answers
157
+
158
+ # `partialScoring` (boolean)
159
+
160
+ Indicates if partial scoring is allowed.
161
+ This property is not used yet.
162
+
163
+ # `ignoreOrderDefault` (boolean, required)
164
+
165
+ Indicates the default value for ignoreOrder, in case that it's not set
166
+
167
+ Default: `"is false"`
168
+
169
+ # `allowTrailingZerosDefault` (boolean, required)
170
+
171
+ Indicates the default value for allowTrailingZeros, in case that it's not set
172
+
173
+ Default: `"is false"`
174
+
175
+ # `rationale` (string)
176
+
177
+ Indicates the value for rationale
178
+
179
+ # `scoringType` (string, enum)
180
+
181
+ Indicates scoring type
182
+
183
+ This element must be one of the following enum values:
184
+
185
+ * `auto`
186
+ * `rubric`
187
+
188
+ # `studentInstructions` (string)
189
+
190
+ Indicates student instructions
191
+
192
+ # `teacherInstructions` (string)
193
+
194
+ Indicates teacher instructions
195
+
196
+ # `customKeys` (array)
197
+
198
+ Extra buttons defined by user
199
+
200
+ The object is an array with all elements of the type `string`.
201
+
202
+ # `feedbackEnabled` (boolean, required)
203
+
204
+ Indicates if Feedback is enabled
205
+
206
+ # `rationaleEnabled` (boolean, required)
207
+
208
+ Indicates if Rationale are enabled
209
+
210
+ # `spellCheckEnabled` (boolean, required)
211
+
212
+ Indicates if spellcheck is enabled for the author. Default value is true
213
+
214
+ # `studentInstructionsEnabled` (boolean, required)
215
+
216
+ Indicates if Student Instructions are enabled
217
+
218
+ # `teacherInstructionsEnabled` (boolean, required)
219
+
220
+ Indicates if Teacher Instructions are enabled
221
+
222
+ # `note` (string)
223
+
224
+ Indicates the note for the answer
225
+
226
+ # `toolbarEditorPosition` (string, enum)
227
+
228
+ Indicates the editor's toolbar position which can be 'bottom' or 'top'
229
+
230
+ This element must be one of the following enum values:
231
+
232
+ * `bottom`
233
+ * `top`
234
+
235
+ Default: `": 'bottom'"`
236
+
237
+ # `rubricEnabled` (boolean, required)
238
+
239
+ Indicates if Rubric is enabled
240
+
241
+ # `language` (string)
242
+
243
+ Indicates the language of the component
244
+ Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
245
+
246
+ # `id` (string, required)
247
+
248
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
249
+
250
+ # `element` (string, required)
251
+
252
+ The html Element tag name
253
+
254
+ ---
255
+
256
+ # Sub Schemas
257
+
258
+ The schema defines the following additional types:
259
+
260
+ ## `EditableHtmlConfigureProp` (object)
261
+
262
+ Properties of the `EditableHtmlConfigureProp` object:
263
+
264
+ ### `math` (object)
265
+
266
+ Properties of the `math` object:
267
+
268
+ #### `disabled` (boolean)
269
+
270
+ Indicates if the plugin is disabled or not
271
+
272
+ ### `audio` (object)
273
+
274
+ Properties of the `audio` object:
275
+
276
+ #### `disabled` (boolean)
277
+
278
+ Indicates if the plugin is disabled or not
279
+
280
+ ### `video` (object)
281
+
282
+ Properties of the `video` object:
283
+
284
+ #### `disabled` (boolean)
285
+
286
+ Indicates if the plugin is disabled or not
287
+
288
+ ### `image` (object)
289
+
290
+ Properties of the `image` object:
291
+
292
+ #### `disabled` (boolean)
293
+
294
+ Indicates if the plugin is disabled or not
295
+
296
+ ### `customPlugins` (array)
297
+
298
+ An array of objects that determine custom plugins.
299
+ A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
300
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
301
+
302
+ The object is an array with all elements of the type `object`.
303
+
304
+ The array object has the following properties:
305
+
306
+ #### `event` (string, required)
307
+
308
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
309
+ PIE will emit the event prefixed with "PIE-".
310
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
311
+
312
+ #### `iconAlt` (string, required)
313
+
314
+ The alt for the custom button icon
315
+
316
+ #### `iconType` (string, required)
317
+
318
+ The icon type.
319
+ Currently, only "SVG" is supported.
320
+
321
+ #### `icon` (string, required)
322
+
323
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
324
+
325
+ ### `blockquote` (object)
326
+
327
+ Properties of the `blockquote` object:
328
+
329
+ #### `disabled` (boolean)
330
+
331
+ Indicates if the plugin is disabled or not
332
+
333
+ ### `h3` (object)
334
+
335
+ Properties of the `h3` object:
336
+
337
+ #### `disabled` (boolean)
338
+
339
+ Indicates if the plugin is disabled or not
340
+
341
+ ### `characters` (object)
342
+
343
+ Properties of the `characters` object:
344
+
345
+ #### `disabled` (boolean)
346
+
347
+ Indicates if the plugin is disabled or not
348
+
349
+ ### `bold` (object)
350
+
351
+ Properties of the `bold` object:
352
+
353
+ #### `disabled` (boolean)
354
+
355
+ Indicates if the plugin is disabled or not
356
+
357
+ ### `html` (object)
358
+
359
+ Properties of the `html` object:
360
+
361
+ #### `disabled` (boolean)
362
+
363
+ Indicates if the plugin is disabled or not
364
+
365
+ ### `italic` (object)
366
+
367
+ Properties of the `italic` object:
368
+
369
+ #### `disabled` (boolean)
370
+
371
+ Indicates if the plugin is disabled or not
372
+
373
+ ### `ol_list` (object)
374
+
375
+ Properties of the `ol_list` object:
376
+
377
+ #### `disabled` (boolean)
378
+
379
+ Indicates if the plugin is disabled or not
380
+
381
+ ### `redo` (object)
382
+
383
+ Properties of the `redo` object:
384
+
385
+ #### `disabled` (boolean)
386
+
387
+ Indicates if the plugin is disabled or not
388
+
389
+ ### `strikethrough` (object)
390
+
391
+ Properties of the `strikethrough` object:
392
+
393
+ #### `disabled` (boolean)
394
+
395
+ Indicates if the plugin is disabled or not
396
+
397
+ ### `sub` (object)
398
+
399
+ Properties of the `sub` object:
400
+
401
+ #### `disabled` (boolean)
402
+
403
+ Indicates if the plugin is disabled or not
404
+
405
+ ### `sup` (object)
406
+
407
+ Properties of the `sup` object:
408
+
409
+ #### `disabled` (boolean)
410
+
411
+ Indicates if the plugin is disabled or not
412
+
413
+ ### `table` (object)
414
+
415
+ Properties of the `table` object:
416
+
417
+ #### `disabled` (boolean)
418
+
419
+ Indicates if the plugin is disabled or not
420
+
421
+ ### `ul_list` (object)
422
+
423
+ Properties of the `ul_list` object:
424
+
425
+ #### `disabled` (boolean)
426
+
427
+ Indicates if the plugin is disabled or not
428
+
429
+ ### `underline` (object)
430
+
431
+ Properties of the `underline` object:
432
+
433
+ #### `disabled` (boolean)
434
+
435
+ Indicates if the plugin is disabled or not
436
+
437
+ ### `undo` (object)
438
+
439
+ Properties of the `undo` object:
440
+
441
+ #### `disabled` (boolean)
442
+
443
+ Indicates if the plugin is disabled or not
444
+
445
+ ## `EditableHtmlButtonConfigure` (object)
446
+
447
+ Properties of the `EditableHtmlButtonConfigure` object:
448
+
449
+ ### `disabled` (boolean)
450
+
451
+ Indicates if the plugin is disabled or not
452
+
453
+ ## `CustomPlugin` (object)
454
+
455
+ Properties of the `CustomPlugin` object:
456
+
457
+ ### `event` (string, required)
458
+
459
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
460
+ PIE will emit the event prefixed with "PIE-".
461
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
462
+
463
+ ### `iconAlt` (string, required)
464
+
465
+ The alt for the custom button icon
466
+
467
+ ### `iconType` (string, required)
468
+
469
+ The icon type.
470
+ Currently, only "SVG" is supported.
471
+
472
+ ### `icon` (string, required)
473
+
474
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
475
+
476
+ ## `EditableHtmlPluginConfigureRequired` (object)
477
+
478
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
479
+
480
+ ### `inputConfiguration` (object)
481
+
482
+ Properties of the `inputConfiguration` object:
483
+
484
+ #### `math` (object)
485
+
486
+ Properties of the `math` object:
487
+
488
+ ##### `disabled` (boolean)
489
+
490
+ Indicates if the plugin is disabled or not
491
+
492
+ #### `audio` (object)
493
+
494
+ Properties of the `audio` object:
495
+
496
+ ##### `disabled` (boolean)
497
+
498
+ Indicates if the plugin is disabled or not
499
+
500
+ #### `video` (object)
501
+
502
+ Properties of the `video` object:
503
+
504
+ ##### `disabled` (boolean)
505
+
506
+ Indicates if the plugin is disabled or not
507
+
508
+ #### `image` (object)
509
+
510
+ Properties of the `image` object:
511
+
512
+ ##### `disabled` (boolean)
513
+
514
+ Indicates if the plugin is disabled or not
515
+
516
+ #### `customPlugins` (array)
517
+
518
+ An array of objects that determine custom plugins.
519
+ A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
520
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
521
+
522
+ The object is an array with all elements of the type `object`.
523
+
524
+ The array object has the following properties:
525
+
526
+ ##### `event` (string, required)
527
+
528
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
529
+ PIE will emit the event prefixed with "PIE-".
530
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
531
+
532
+ ##### `iconAlt` (string, required)
533
+
534
+ The alt for the custom button icon
535
+
536
+ ##### `iconType` (string, required)
537
+
538
+ The icon type.
539
+ Currently, only "SVG" is supported.
540
+
541
+ ##### `icon` (string, required)
542
+
543
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
544
+
545
+ #### `blockquote` (object)
546
+
547
+ Properties of the `blockquote` object:
548
+
549
+ ##### `disabled` (boolean)
550
+
551
+ Indicates if the plugin is disabled or not
552
+
553
+ #### `h3` (object)
554
+
555
+ Properties of the `h3` object:
556
+
557
+ ##### `disabled` (boolean)
558
+
559
+ Indicates if the plugin is disabled or not
560
+
561
+ #### `characters` (object)
562
+
563
+ Properties of the `characters` object:
564
+
565
+ ##### `disabled` (boolean)
566
+
567
+ Indicates if the plugin is disabled or not
568
+
569
+ #### `bold` (object)
570
+
571
+ Properties of the `bold` object:
572
+
573
+ ##### `disabled` (boolean)
574
+
575
+ Indicates if the plugin is disabled or not
576
+
577
+ #### `html` (object)
578
+
579
+ Properties of the `html` object:
580
+
581
+ ##### `disabled` (boolean)
582
+
583
+ Indicates if the plugin is disabled or not
584
+
585
+ #### `italic` (object)
586
+
587
+ Properties of the `italic` object:
588
+
589
+ ##### `disabled` (boolean)
590
+
591
+ Indicates if the plugin is disabled or not
592
+
593
+ #### `ol_list` (object)
594
+
595
+ Properties of the `ol_list` object:
596
+
597
+ ##### `disabled` (boolean)
598
+
599
+ Indicates if the plugin is disabled or not
600
+
601
+ #### `redo` (object)
602
+
603
+ Properties of the `redo` object:
604
+
605
+ ##### `disabled` (boolean)
606
+
607
+ Indicates if the plugin is disabled or not
608
+
609
+ #### `strikethrough` (object)
610
+
611
+ Properties of the `strikethrough` object:
612
+
613
+ ##### `disabled` (boolean)
614
+
615
+ Indicates if the plugin is disabled or not
616
+
617
+ #### `sub` (object)
618
+
619
+ Properties of the `sub` object:
620
+
621
+ ##### `disabled` (boolean)
622
+
623
+ Indicates if the plugin is disabled or not
624
+
625
+ #### `sup` (object)
626
+
627
+ Properties of the `sup` object:
628
+
629
+ ##### `disabled` (boolean)
630
+
631
+ Indicates if the plugin is disabled or not
632
+
633
+ #### `table` (object)
634
+
635
+ Properties of the `table` object:
636
+
637
+ ##### `disabled` (boolean)
638
+
639
+ Indicates if the plugin is disabled or not
640
+
641
+ #### `ul_list` (object)
642
+
643
+ Properties of the `ul_list` object:
644
+
645
+ ##### `disabled` (boolean)
646
+
647
+ Indicates if the plugin is disabled or not
648
+
649
+ #### `underline` (object)
650
+
651
+ Properties of the `underline` object:
652
+
653
+ ##### `disabled` (boolean)
654
+
655
+ Indicates if the plugin is disabled or not
656
+
657
+ #### `undo` (object)
658
+
659
+ Properties of the `undo` object:
660
+
661
+ ##### `disabled` (boolean)
662
+
663
+ Indicates if the plugin is disabled or not
664
+
665
+ ### `required` (boolean)
666
+
667
+ Indicates if the item is required and the value cannot be empty
668
+
669
+ ### `settings` (boolean)
670
+
671
+ Indicates if the item has to be displayed in the Settings Panel
672
+
673
+ ### `label` (string)
674
+
675
+ Indicates the label for the item that has to be displayed in the Settings Panel
676
+
677
+ ## `ConfigureProp` (object)
678
+
679
+ Properties of the `ConfigureProp` object:
680
+
681
+ ### `settings` (boolean)
682
+
683
+ Indicates if the item has to be displayed in the Settings Panel
684
+
685
+ ### `label` (string)
686
+
687
+ Indicates the label for the item that has to be displayed in the Settings Panel
688
+
689
+ ## `ConfigurePropWithEnabled` (object)
690
+
691
+ Properties of the `ConfigurePropWithEnabled` object:
692
+
693
+ ### `enabled` (boolean)
694
+
695
+ Indicates the value of the item if it affects config-ui
696
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
697
+
698
+ ### `settings` (boolean)
699
+
700
+ Indicates if the item has to be displayed in the Settings Panel
701
+
702
+ ### `label` (string)
703
+
704
+ Indicates the label for the item that has to be displayed in the Settings Panel
705
+
706
+ ## `ConfigureMaxImageDimensionsProp` (object)
707
+
708
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
709
+
710
+ ### `teacherInstructions` (number)
711
+
712
+ Indicates the max dimension for images in teacher instructions
713
+
714
+ ### `prompt` (number)
715
+
716
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
717
+
718
+ ### `rationale` (number)
719
+
720
+ Indicates the max dimension for images in rationale
721
+
722
+ ## `ConfigureMathMLProp` (object)
723
+
724
+ Properties of the `ConfigureMathMLProp` object:
725
+
726
+ ### `mmlOutput` (number)
727
+
728
+ Indicates if model should have mathML output instead of latex
729
+
730
+ ### `mmlEditing` (number)
731
+
732
+ Indicates if mathML that's already in model should be editable
733
+
734
+ ## `ConfigureLanguageOptionsProp` (object)
735
+
736
+ Properties of the `ConfigureLanguageOptionsProp` object:
737
+
738
+ ### `value` (string, required)
739
+
740
+ Value of the language option
741
+
742
+ ### `label` (string, required)
743
+
744
+ Label of the language option
745
+
746
+ ## `ComplexFeedbackType` (object)
747
+
748
+ Properties of the `ComplexFeedbackType` object:
749
+
750
+ ### `correct` (, required)
751
+
752
+ Indicates the configuration for feedback when answer is correct
753
+
754
+ ### `incorrect` (, required)
755
+
756
+ Indicates the configuration for feedback when answer is incorrect
757
+
758
+ ### `partial`
759
+
760
+ Indicates the configuration for feedback when answer is partially correct
761
+
762
+ ## `DefaultFeedbackType` (object)
763
+
764
+ Properties of the `DefaultFeedbackType` object:
765
+
766
+ ### `type` (string, enum, required)
767
+
768
+ Indicates the feedback type
769
+
770
+ This element must be one of the following enum values:
771
+
772
+ * `default`
773
+ * `none`
774
+
775
+ ### `default` (string)
776
+
777
+ Indicates the feedback value
778
+
779
+ ## `CustomFeedbackType` (object)
780
+
781
+ Properties of the `CustomFeedbackType` object:
782
+
783
+ ### `type` (string, enum, required)
784
+
785
+ Indicates the feedback type
786
+
787
+ This element must be one of the following enum values:
788
+
789
+ * `custom`
790
+
791
+ ### `custom` (string, required)
792
+
793
+ Indicates the feedback custom value
794
+
795
+ ## `MathInlineResponse` (object)
796
+
797
+ Properties of the `MathInlineResponse` object:
798
+
799
+ ### `id` (string,number, required)
800
+
801
+ The id of the response
802
+
803
+ ### `validation` (string, enum, required)
804
+
805
+ Indicates what type of validation should be applied on the response
806
+
807
+ This element must be one of the following enum values:
808
+
809
+ * `literal`
810
+ * `symbolic`
811
+
812
+ Default: `"is literal"`
813
+
814
+ ### `ignoreOrder` (boolean, required)
815
+
816
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
817
+
818
+ Default: `"is false"`
819
+
820
+ ### `allowTrailingZeros` (boolean, required)
821
+
822
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
823
+
824
+ Default: `"is false"`
825
+
826
+ ### `answer` (string, required)
827
+
828
+ The answer for the question
829
+
830
+ ### `alternates` (object, required)
831
+
832
+ For validation type = literal, alternates represents
833
+ an object with some alternatives for the correct answers
834
+
835
+ ## `Alternate` (object)
836
+
837
+ Properties of the `Alternate` object:
838
+
839
+ ### `id` (number, required)
840
+
841
+ The id for the alternative response
842
+
843
+ ### `answer` (string, required)
844
+
845
+ The value for the alternative response