@pie-element/math-inline 12.1.1-next.147 → 12.1.1-next.16

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/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/configure.d.ts +25 -0
  4. package/dist/author/configure.js +114 -0
  5. package/dist/author/defaults.d.ts +186 -0
  6. package/dist/author/defaults.js +145 -0
  7. package/dist/author/general-config-block.d.ts +35 -0
  8. package/dist/author/general-config-block.js +390 -0
  9. package/dist/author/index.d.ts +61 -0
  10. package/dist/author/index.js +80 -0
  11. package/dist/author/response.d.ts +40 -0
  12. package/dist/author/response.js +238 -0
  13. package/dist/author/utils.d.ts +14 -0
  14. package/dist/author/utils.js +13 -0
  15. package/dist/browser/author/index.js +35601 -0
  16. package/dist/browser/author/index.js.map +1 -0
  17. package/dist/browser/controller/index.js +37791 -0
  18. package/dist/browser/controller/index.js.map +1 -0
  19. package/dist/browser/delivery/index.js +84 -0
  20. package/dist/browser/delivery/index.js.map +1 -0
  21. package/dist/browser/dist--pvq7WNe.js +324 -0
  22. package/dist/browser/dist--pvq7WNe.js.map +1 -0
  23. package/dist/browser/dist-D8taXDhz.js +16748 -0
  24. package/dist/browser/dist-D8taXDhz.js.map +1 -0
  25. package/dist/browser/dist-DiGNNRzu.js +1426 -0
  26. package/dist/browser/dist-DiGNNRzu.js.map +1 -0
  27. package/dist/browser/main-AjqUtC75.js +973 -0
  28. package/dist/browser/main-AjqUtC75.js.map +1 -0
  29. package/dist/browser/math-inline.css +2 -0
  30. package/dist/browser/print/index.js +50 -0
  31. package/dist/browser/print/index.js.map +1 -0
  32. package/dist/controller/defaults.d.ts +44 -0
  33. package/dist/controller/defaults.js +39 -0
  34. package/dist/controller/index.d.ts +22 -0
  35. package/dist/controller/index.js +171 -0
  36. package/dist/controller/utils.d.ts +12 -0
  37. package/dist/controller/utils.js +7 -0
  38. package/dist/delivery/index.d.ts +22 -0
  39. package/dist/delivery/index.js +55 -0
  40. package/dist/delivery/main.d.ts +44 -0
  41. package/dist/delivery/main.js +606 -0
  42. package/dist/delivery/simple-question-block.d.ts +27 -0
  43. package/dist/delivery/simple-question-block.js +94 -0
  44. package/dist/delivery/utils.d.ts +12 -0
  45. package/dist/delivery/utils.js +7 -0
  46. package/dist/index.d.ts +1 -0
  47. package/dist/index.iife.d.ts +8 -0
  48. package/dist/index.iife.js +224 -0
  49. package/dist/index.js +2 -0
  50. package/dist/math-inline.css +2 -0
  51. package/dist/print/index.d.ts +15 -0
  52. package/dist/print/index.js +50 -0
  53. package/dist/runtime-support.d.ts +12 -0
  54. package/dist/runtime-support.js +12 -0
  55. package/package.json +98 -25
  56. package/CHANGELOG.json +0 -2627
  57. package/CHANGELOG.md +0 -2473
  58. package/LICENSE.md +0 -5
  59. package/README.md +0 -3
  60. package/configure/CHANGELOG.json +0 -1652
  61. package/configure/CHANGELOG.md +0 -2101
  62. package/configure/lib/configure.js +0 -186
  63. package/configure/lib/configure.js.map +0 -1
  64. package/configure/lib/defaults.js +0 -185
  65. package/configure/lib/defaults.js.map +0 -1
  66. package/configure/lib/general-config-block.js +0 -525
  67. package/configure/lib/general-config-block.js.map +0 -1
  68. package/configure/lib/index.js +0 -140
  69. package/configure/lib/index.js.map +0 -1
  70. package/configure/lib/response.js +0 -369
  71. package/configure/lib/response.js.map +0 -1
  72. package/configure/lib/utils.js +0 -31
  73. package/configure/lib/utils.js.map +0 -1
  74. package/configure/package.json +0 -29
  75. package/controller/CHANGELOG.json +0 -1002
  76. package/controller/CHANGELOG.md +0 -1536
  77. package/controller/lib/defaults.js +0 -43
  78. package/controller/lib/defaults.js.map +0 -1
  79. package/controller/lib/index.js +0 -383
  80. package/controller/lib/index.js.map +0 -1
  81. package/controller/lib/utils.js +0 -11
  82. package/controller/lib/utils.js.map +0 -1
  83. package/controller/package.json +0 -26
  84. package/docs/config-schema.json +0 -2071
  85. package/docs/config-schema.json.md +0 -1533
  86. package/docs/demo/config.js +0 -8
  87. package/docs/demo/generate.js +0 -41
  88. package/docs/demo/index.html +0 -1
  89. package/docs/demo/session.js +0 -11
  90. package/docs/pie-schema.json +0 -1472
  91. package/docs/pie-schema.json.md +0 -845
  92. package/lib/index.js +0 -94
  93. package/lib/index.js.map +0 -1
  94. package/lib/main.js +0 -1030
  95. package/lib/main.js.map +0 -1
  96. package/lib/print.js +0 -92
  97. package/lib/print.js.map +0 -1
  98. package/lib/simple-question-block.js +0 -148
  99. package/lib/simple-question-block.js.map +0 -1
  100. package/lib/utils.js +0 -11
  101. package/lib/utils.js.map +0 -1
@@ -1,1533 +0,0 @@
1
- Config Object for @pie-elements/math-inline
2
-
3
- The schema defines the following properties:
4
-
5
- # `baseInputConfiguration` (object)
6
-
7
- Properties of the `baseInputConfiguration` object:
8
-
9
- ## `math` (object)
10
-
11
- Properties of the `math` object:
12
-
13
- ### `disabled` (boolean)
14
-
15
- Indicates if the plugin is disabled or not
16
-
17
- ## `audio` (object)
18
-
19
- Properties of the `audio` object:
20
-
21
- ### `disabled` (boolean)
22
-
23
- Indicates if the plugin is disabled or not
24
-
25
- ## `video` (object)
26
-
27
- Properties of the `video` object:
28
-
29
- ### `disabled` (boolean)
30
-
31
- Indicates if the plugin is disabled or not
32
-
33
- ## `image` (object)
34
-
35
- Properties of the `image` object:
36
-
37
- ### `disabled` (boolean)
38
-
39
- Indicates if the plugin is disabled or not
40
-
41
- ## `customPlugins` (array)
42
-
43
- An array of objects that determine custom plugins.
44
- 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).
45
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
46
-
47
- The object is an array with all elements of the type `object`.
48
-
49
- The array object has the following properties:
50
-
51
- ### `event` (string, required)
52
-
53
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
54
- PIE will emit the event prefixed with "PIE-".
55
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
56
-
57
- ### `iconAlt` (string, required)
58
-
59
- The alt for the custom button icon
60
-
61
- ### `iconType` (string, required)
62
-
63
- The icon type.
64
- Currently, only "SVG" is supported.
65
-
66
- ### `icon` (string, required)
67
-
68
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
69
-
70
- ## `blockquote` (object)
71
-
72
- Properties of the `blockquote` object:
73
-
74
- ### `disabled` (boolean)
75
-
76
- Indicates if the plugin is disabled or not
77
-
78
- ## `h3` (object)
79
-
80
- Properties of the `h3` object:
81
-
82
- ### `disabled` (boolean)
83
-
84
- Indicates if the plugin is disabled or not
85
-
86
- ## `characters` (object)
87
-
88
- Properties of the `characters` object:
89
-
90
- ### `disabled` (boolean)
91
-
92
- Indicates if the plugin is disabled or not
93
-
94
- ## `bold` (object)
95
-
96
- Properties of the `bold` object:
97
-
98
- ### `disabled` (boolean)
99
-
100
- Indicates if the plugin is disabled or not
101
-
102
- ## `html` (object)
103
-
104
- Properties of the `html` object:
105
-
106
- ### `disabled` (boolean)
107
-
108
- Indicates if the plugin is disabled or not
109
-
110
- ## `italic` (object)
111
-
112
- Properties of the `italic` object:
113
-
114
- ### `disabled` (boolean)
115
-
116
- Indicates if the plugin is disabled or not
117
-
118
- ## `ol_list` (object)
119
-
120
- Properties of the `ol_list` object:
121
-
122
- ### `disabled` (boolean)
123
-
124
- Indicates if the plugin is disabled or not
125
-
126
- ## `redo` (object)
127
-
128
- Properties of the `redo` object:
129
-
130
- ### `disabled` (boolean)
131
-
132
- Indicates if the plugin is disabled or not
133
-
134
- ## `strikethrough` (object)
135
-
136
- Properties of the `strikethrough` object:
137
-
138
- ### `disabled` (boolean)
139
-
140
- Indicates if the plugin is disabled or not
141
-
142
- ## `sub` (object)
143
-
144
- Properties of the `sub` object:
145
-
146
- ### `disabled` (boolean)
147
-
148
- Indicates if the plugin is disabled or not
149
-
150
- ## `sup` (object)
151
-
152
- Properties of the `sup` object:
153
-
154
- ### `disabled` (boolean)
155
-
156
- Indicates if the plugin is disabled or not
157
-
158
- ## `table` (object)
159
-
160
- Properties of the `table` object:
161
-
162
- ### `disabled` (boolean)
163
-
164
- Indicates if the plugin is disabled or not
165
-
166
- ## `ul_list` (object)
167
-
168
- Properties of the `ul_list` object:
169
-
170
- ### `disabled` (boolean)
171
-
172
- Indicates if the plugin is disabled or not
173
-
174
- ## `underline` (object)
175
-
176
- Properties of the `underline` object:
177
-
178
- ### `disabled` (boolean)
179
-
180
- Indicates if the plugin is disabled or not
181
-
182
- ## `undo` (object)
183
-
184
- Properties of the `undo` object:
185
-
186
- ### `disabled` (boolean)
187
-
188
- Indicates if the plugin is disabled or not
189
-
190
- # `prompt` (object)
191
-
192
- Properties of the `prompt` object:
193
-
194
- ## `inputConfiguration` (object)
195
-
196
- Properties of the `inputConfiguration` object:
197
-
198
- ### `math` (object)
199
-
200
- Properties of the `math` object:
201
-
202
- #### `disabled` (boolean)
203
-
204
- Indicates if the plugin is disabled or not
205
-
206
- ### `audio` (object)
207
-
208
- Properties of the `audio` object:
209
-
210
- #### `disabled` (boolean)
211
-
212
- Indicates if the plugin is disabled or not
213
-
214
- ### `video` (object)
215
-
216
- Properties of the `video` object:
217
-
218
- #### `disabled` (boolean)
219
-
220
- Indicates if the plugin is disabled or not
221
-
222
- ### `image` (object)
223
-
224
- Properties of the `image` object:
225
-
226
- #### `disabled` (boolean)
227
-
228
- Indicates if the plugin is disabled or not
229
-
230
- ### `customPlugins` (array)
231
-
232
- An array of objects that determine custom plugins.
233
- 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).
234
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
235
-
236
- The object is an array with all elements of the type `object`.
237
-
238
- The array object has the following properties:
239
-
240
- #### `event` (string, required)
241
-
242
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
243
- PIE will emit the event prefixed with "PIE-".
244
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
245
-
246
- #### `iconAlt` (string, required)
247
-
248
- The alt for the custom button icon
249
-
250
- #### `iconType` (string, required)
251
-
252
- The icon type.
253
- Currently, only "SVG" is supported.
254
-
255
- #### `icon` (string, required)
256
-
257
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
258
-
259
- ### `blockquote` (object)
260
-
261
- Properties of the `blockquote` object:
262
-
263
- #### `disabled` (boolean)
264
-
265
- Indicates if the plugin is disabled or not
266
-
267
- ### `h3` (object)
268
-
269
- Properties of the `h3` object:
270
-
271
- #### `disabled` (boolean)
272
-
273
- Indicates if the plugin is disabled or not
274
-
275
- ### `characters` (object)
276
-
277
- Properties of the `characters` object:
278
-
279
- #### `disabled` (boolean)
280
-
281
- Indicates if the plugin is disabled or not
282
-
283
- ### `bold` (object)
284
-
285
- Properties of the `bold` object:
286
-
287
- #### `disabled` (boolean)
288
-
289
- Indicates if the plugin is disabled or not
290
-
291
- ### `html` (object)
292
-
293
- Properties of the `html` object:
294
-
295
- #### `disabled` (boolean)
296
-
297
- Indicates if the plugin is disabled or not
298
-
299
- ### `italic` (object)
300
-
301
- Properties of the `italic` object:
302
-
303
- #### `disabled` (boolean)
304
-
305
- Indicates if the plugin is disabled or not
306
-
307
- ### `ol_list` (object)
308
-
309
- Properties of the `ol_list` object:
310
-
311
- #### `disabled` (boolean)
312
-
313
- Indicates if the plugin is disabled or not
314
-
315
- ### `redo` (object)
316
-
317
- Properties of the `redo` object:
318
-
319
- #### `disabled` (boolean)
320
-
321
- Indicates if the plugin is disabled or not
322
-
323
- ### `strikethrough` (object)
324
-
325
- Properties of the `strikethrough` object:
326
-
327
- #### `disabled` (boolean)
328
-
329
- Indicates if the plugin is disabled or not
330
-
331
- ### `sub` (object)
332
-
333
- Properties of the `sub` object:
334
-
335
- #### `disabled` (boolean)
336
-
337
- Indicates if the plugin is disabled or not
338
-
339
- ### `sup` (object)
340
-
341
- Properties of the `sup` object:
342
-
343
- #### `disabled` (boolean)
344
-
345
- Indicates if the plugin is disabled or not
346
-
347
- ### `table` (object)
348
-
349
- Properties of the `table` object:
350
-
351
- #### `disabled` (boolean)
352
-
353
- Indicates if the plugin is disabled or not
354
-
355
- ### `ul_list` (object)
356
-
357
- Properties of the `ul_list` object:
358
-
359
- #### `disabled` (boolean)
360
-
361
- Indicates if the plugin is disabled or not
362
-
363
- ### `underline` (object)
364
-
365
- Properties of the `underline` object:
366
-
367
- #### `disabled` (boolean)
368
-
369
- Indicates if the plugin is disabled or not
370
-
371
- ### `undo` (object)
372
-
373
- Properties of the `undo` object:
374
-
375
- #### `disabled` (boolean)
376
-
377
- Indicates if the plugin is disabled or not
378
-
379
- ## `required` (boolean)
380
-
381
- Indicates if the item is required and the value cannot be empty
382
-
383
- ## `settings` (boolean)
384
-
385
- Indicates if the item has to be displayed in the Settings Panel
386
-
387
- ## `label` (string)
388
-
389
- Indicates the label for the item that has to be displayed in the Settings Panel
390
-
391
- # `responseType` (object)
392
-
393
- Properties of the `responseType` object:
394
-
395
- ## `settings` (boolean)
396
-
397
- Indicates if the item has to be displayed in the Settings Panel
398
-
399
- ## `label` (string)
400
-
401
- Indicates the label for the item that has to be displayed in the Settings Panel
402
-
403
- # `partialScoring` (object)
404
-
405
- Properties of the `partialScoring` object:
406
-
407
- ## `settings` (boolean)
408
-
409
- Indicates if the item has to be displayed in the Settings Panel
410
-
411
- ## `label` (string)
412
-
413
- Indicates the label for the item that has to be displayed in the Settings Panel
414
-
415
- # `rationale` (object)
416
-
417
- Properties of the `rationale` object:
418
-
419
- ## `inputConfiguration` (object)
420
-
421
- Properties of the `inputConfiguration` object:
422
-
423
- ### `math` (object)
424
-
425
- Properties of the `math` object:
426
-
427
- #### `disabled` (boolean)
428
-
429
- Indicates if the plugin is disabled or not
430
-
431
- ### `audio` (object)
432
-
433
- Properties of the `audio` object:
434
-
435
- #### `disabled` (boolean)
436
-
437
- Indicates if the plugin is disabled or not
438
-
439
- ### `video` (object)
440
-
441
- Properties of the `video` object:
442
-
443
- #### `disabled` (boolean)
444
-
445
- Indicates if the plugin is disabled or not
446
-
447
- ### `image` (object)
448
-
449
- Properties of the `image` object:
450
-
451
- #### `disabled` (boolean)
452
-
453
- Indicates if the plugin is disabled or not
454
-
455
- ### `customPlugins` (array)
456
-
457
- An array of objects that determine custom plugins.
458
- 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).
459
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
460
-
461
- The object is an array with all elements of the type `object`.
462
-
463
- The array object has the following properties:
464
-
465
- #### `event` (string, required)
466
-
467
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
468
- PIE will emit the event prefixed with "PIE-".
469
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
470
-
471
- #### `iconAlt` (string, required)
472
-
473
- The alt for the custom button icon
474
-
475
- #### `iconType` (string, required)
476
-
477
- The icon type.
478
- Currently, only "SVG" is supported.
479
-
480
- #### `icon` (string, required)
481
-
482
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
483
-
484
- ### `blockquote` (object)
485
-
486
- Properties of the `blockquote` object:
487
-
488
- #### `disabled` (boolean)
489
-
490
- Indicates if the plugin is disabled or not
491
-
492
- ### `h3` (object)
493
-
494
- Properties of the `h3` object:
495
-
496
- #### `disabled` (boolean)
497
-
498
- Indicates if the plugin is disabled or not
499
-
500
- ### `characters` (object)
501
-
502
- Properties of the `characters` object:
503
-
504
- #### `disabled` (boolean)
505
-
506
- Indicates if the plugin is disabled or not
507
-
508
- ### `bold` (object)
509
-
510
- Properties of the `bold` object:
511
-
512
- #### `disabled` (boolean)
513
-
514
- Indicates if the plugin is disabled or not
515
-
516
- ### `html` (object)
517
-
518
- Properties of the `html` object:
519
-
520
- #### `disabled` (boolean)
521
-
522
- Indicates if the plugin is disabled or not
523
-
524
- ### `italic` (object)
525
-
526
- Properties of the `italic` object:
527
-
528
- #### `disabled` (boolean)
529
-
530
- Indicates if the plugin is disabled or not
531
-
532
- ### `ol_list` (object)
533
-
534
- Properties of the `ol_list` object:
535
-
536
- #### `disabled` (boolean)
537
-
538
- Indicates if the plugin is disabled or not
539
-
540
- ### `redo` (object)
541
-
542
- Properties of the `redo` object:
543
-
544
- #### `disabled` (boolean)
545
-
546
- Indicates if the plugin is disabled or not
547
-
548
- ### `strikethrough` (object)
549
-
550
- Properties of the `strikethrough` object:
551
-
552
- #### `disabled` (boolean)
553
-
554
- Indicates if the plugin is disabled or not
555
-
556
- ### `sub` (object)
557
-
558
- Properties of the `sub` object:
559
-
560
- #### `disabled` (boolean)
561
-
562
- Indicates if the plugin is disabled or not
563
-
564
- ### `sup` (object)
565
-
566
- Properties of the `sup` object:
567
-
568
- #### `disabled` (boolean)
569
-
570
- Indicates if the plugin is disabled or not
571
-
572
- ### `table` (object)
573
-
574
- Properties of the `table` object:
575
-
576
- #### `disabled` (boolean)
577
-
578
- Indicates if the plugin is disabled or not
579
-
580
- ### `ul_list` (object)
581
-
582
- Properties of the `ul_list` object:
583
-
584
- #### `disabled` (boolean)
585
-
586
- Indicates if the plugin is disabled or not
587
-
588
- ### `underline` (object)
589
-
590
- Properties of the `underline` object:
591
-
592
- #### `disabled` (boolean)
593
-
594
- Indicates if the plugin is disabled or not
595
-
596
- ### `undo` (object)
597
-
598
- Properties of the `undo` object:
599
-
600
- #### `disabled` (boolean)
601
-
602
- Indicates if the plugin is disabled or not
603
-
604
- ## `required` (boolean)
605
-
606
- Indicates if the item is required and the value cannot be empty
607
-
608
- ## `settings` (boolean)
609
-
610
- Indicates if the item has to be displayed in the Settings Panel
611
-
612
- ## `label` (string)
613
-
614
- Indicates the label for the item that has to be displayed in the Settings Panel
615
-
616
- # `settingsPanelDisabled` (boolean)
617
-
618
- Indicates if the settings panel is not available
619
-
620
- # `spellCheck` (object)
621
-
622
- Properties of the `spellCheck` object:
623
-
624
- ## `settings` (boolean)
625
-
626
- Indicates if the item has to be displayed in the Settings Panel
627
-
628
- ## `label` (string)
629
-
630
- Indicates the label for the item that has to be displayed in the Settings Panel
631
-
632
- # `scoringType` (object)
633
-
634
- Properties of the `scoringType` object:
635
-
636
- ## `settings` (boolean)
637
-
638
- Indicates if the item has to be displayed in the Settings Panel
639
-
640
- ## `label` (string)
641
-
642
- Indicates the label for the item that has to be displayed in the Settings Panel
643
-
644
- # `studentInstructions` (object)
645
-
646
- Properties of the `studentInstructions` object:
647
-
648
- ## `settings` (boolean)
649
-
650
- Indicates if the item has to be displayed in the Settings Panel
651
-
652
- ## `label` (string)
653
-
654
- Indicates the label for the item that has to be displayed in the Settings Panel
655
-
656
- # `teacherInstructions` (object)
657
-
658
- Properties of the `teacherInstructions` object:
659
-
660
- ## `inputConfiguration` (object)
661
-
662
- Properties of the `inputConfiguration` object:
663
-
664
- ### `math` (object)
665
-
666
- Properties of the `math` object:
667
-
668
- #### `disabled` (boolean)
669
-
670
- Indicates if the plugin is disabled or not
671
-
672
- ### `audio` (object)
673
-
674
- Properties of the `audio` object:
675
-
676
- #### `disabled` (boolean)
677
-
678
- Indicates if the plugin is disabled or not
679
-
680
- ### `video` (object)
681
-
682
- Properties of the `video` object:
683
-
684
- #### `disabled` (boolean)
685
-
686
- Indicates if the plugin is disabled or not
687
-
688
- ### `image` (object)
689
-
690
- Properties of the `image` object:
691
-
692
- #### `disabled` (boolean)
693
-
694
- Indicates if the plugin is disabled or not
695
-
696
- ### `customPlugins` (array)
697
-
698
- An array of objects that determine custom plugins.
699
- 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).
700
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
701
-
702
- The object is an array with all elements of the type `object`.
703
-
704
- The array object has the following properties:
705
-
706
- #### `event` (string, required)
707
-
708
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
709
- PIE will emit the event prefixed with "PIE-".
710
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
711
-
712
- #### `iconAlt` (string, required)
713
-
714
- The alt for the custom button icon
715
-
716
- #### `iconType` (string, required)
717
-
718
- The icon type.
719
- Currently, only "SVG" is supported.
720
-
721
- #### `icon` (string, required)
722
-
723
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
724
-
725
- ### `blockquote` (object)
726
-
727
- Properties of the `blockquote` object:
728
-
729
- #### `disabled` (boolean)
730
-
731
- Indicates if the plugin is disabled or not
732
-
733
- ### `h3` (object)
734
-
735
- Properties of the `h3` object:
736
-
737
- #### `disabled` (boolean)
738
-
739
- Indicates if the plugin is disabled or not
740
-
741
- ### `characters` (object)
742
-
743
- Properties of the `characters` object:
744
-
745
- #### `disabled` (boolean)
746
-
747
- Indicates if the plugin is disabled or not
748
-
749
- ### `bold` (object)
750
-
751
- Properties of the `bold` object:
752
-
753
- #### `disabled` (boolean)
754
-
755
- Indicates if the plugin is disabled or not
756
-
757
- ### `html` (object)
758
-
759
- Properties of the `html` object:
760
-
761
- #### `disabled` (boolean)
762
-
763
- Indicates if the plugin is disabled or not
764
-
765
- ### `italic` (object)
766
-
767
- Properties of the `italic` object:
768
-
769
- #### `disabled` (boolean)
770
-
771
- Indicates if the plugin is disabled or not
772
-
773
- ### `ol_list` (object)
774
-
775
- Properties of the `ol_list` object:
776
-
777
- #### `disabled` (boolean)
778
-
779
- Indicates if the plugin is disabled or not
780
-
781
- ### `redo` (object)
782
-
783
- Properties of the `redo` object:
784
-
785
- #### `disabled` (boolean)
786
-
787
- Indicates if the plugin is disabled or not
788
-
789
- ### `strikethrough` (object)
790
-
791
- Properties of the `strikethrough` object:
792
-
793
- #### `disabled` (boolean)
794
-
795
- Indicates if the plugin is disabled or not
796
-
797
- ### `sub` (object)
798
-
799
- Properties of the `sub` object:
800
-
801
- #### `disabled` (boolean)
802
-
803
- Indicates if the plugin is disabled or not
804
-
805
- ### `sup` (object)
806
-
807
- Properties of the `sup` object:
808
-
809
- #### `disabled` (boolean)
810
-
811
- Indicates if the plugin is disabled or not
812
-
813
- ### `table` (object)
814
-
815
- Properties of the `table` object:
816
-
817
- #### `disabled` (boolean)
818
-
819
- Indicates if the plugin is disabled or not
820
-
821
- ### `ul_list` (object)
822
-
823
- Properties of the `ul_list` object:
824
-
825
- #### `disabled` (boolean)
826
-
827
- Indicates if the plugin is disabled or not
828
-
829
- ### `underline` (object)
830
-
831
- Properties of the `underline` object:
832
-
833
- #### `disabled` (boolean)
834
-
835
- Indicates if the plugin is disabled or not
836
-
837
- ### `undo` (object)
838
-
839
- Properties of the `undo` object:
840
-
841
- #### `disabled` (boolean)
842
-
843
- Indicates if the plugin is disabled or not
844
-
845
- ## `required` (boolean)
846
-
847
- Indicates if the item is required and the value cannot be empty
848
-
849
- ## `settings` (boolean)
850
-
851
- Indicates if the item has to be displayed in the Settings Panel
852
-
853
- ## `label` (string)
854
-
855
- Indicates the label for the item that has to be displayed in the Settings Panel
856
-
857
- # `ignoreOrder` (object)
858
-
859
- Properties of the `ignoreOrder` object:
860
-
861
- ## `enabled` (boolean)
862
-
863
- Indicates the value of the item if it affects config-ui
864
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
865
-
866
- ## `settings` (boolean)
867
-
868
- Indicates if the item has to be displayed in the Settings Panel
869
-
870
- ## `label` (string)
871
-
872
- Indicates the label for the item that has to be displayed in the Settings Panel
873
-
874
- # `allowTrailingZeros` (object)
875
-
876
- Properties of the `allowTrailingZeros` object:
877
-
878
- ## `enabled` (boolean)
879
-
880
- Indicates the value of the item if it affects config-ui
881
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
882
-
883
- ## `settings` (boolean)
884
-
885
- Indicates if the item has to be displayed in the Settings Panel
886
-
887
- ## `label` (string)
888
-
889
- Indicates the label for the item that has to be displayed in the Settings Panel
890
-
891
- # `maxResponseAreas` (number)
892
-
893
- Maximum number of response areas
894
-
895
- # `maxImageWidth` (object)
896
-
897
- Properties of the `maxImageWidth` object:
898
-
899
- ## `teacherInstructions` (number)
900
-
901
- Indicates the max dimension for images in teacher instructions
902
-
903
- ## `prompt` (number)
904
-
905
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
906
-
907
- ## `rationale` (number)
908
-
909
- Indicates the max dimension for images in rationale
910
-
911
- # `maxImageHeight` (object)
912
-
913
- Properties of the `maxImageHeight` object:
914
-
915
- ## `teacherInstructions` (number)
916
-
917
- Indicates the max dimension for images in teacher instructions
918
-
919
- ## `prompt` (number)
920
-
921
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
922
-
923
- ## `rationale` (number)
924
-
925
- Indicates the max dimension for images in rationale
926
-
927
- # `withRubric` (object)
928
-
929
- Properties of the `withRubric` object:
930
-
931
- ## `settings` (boolean)
932
-
933
- Indicates if the item has to be displayed in the Settings Panel
934
-
935
- ## `label` (string)
936
-
937
- Indicates the label for the item that has to be displayed in the Settings Panel
938
-
939
- # `mathMlOptions` (object)
940
-
941
- Properties of the `mathMlOptions` object:
942
-
943
- ## `mmlOutput` (number)
944
-
945
- Indicates if model should have mathML output instead of latex
946
-
947
- ## `mmlEditing` (number)
948
-
949
- Indicates if mathML that's already in model should be editable
950
-
951
- # `language` (object)
952
-
953
- Properties of the `language` object:
954
-
955
- ## `enabled` (boolean)
956
-
957
- Indicates the value of the item if it affects config-ui
958
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
959
-
960
- ## `settings` (boolean)
961
-
962
- Indicates if the item has to be displayed in the Settings Panel
963
-
964
- ## `label` (string)
965
-
966
- Indicates the label for the item that has to be displayed in the Settings Panel
967
-
968
- # `languageChoices` (object)
969
-
970
- Language choices configuration
971
- Only available if language is enabled
972
-
973
- Properties of the `languageChoices` object:
974
-
975
- ## `label` (string, required)
976
-
977
- ## `options` (array, required)
978
-
979
- The object is an array with all elements of the type `object`.
980
-
981
- The array object has the following properties:
982
-
983
- ### `value` (string, required)
984
-
985
- Value of the language option
986
-
987
- ### `label` (string, required)
988
-
989
- Label of the language option
990
-
991
- # `showPrompt` (boolean)
992
-
993
- Determines whether prompt field will be displayed or not
994
-
995
- Default: `true`
996
-
997
- # `promptLabel` (string)
998
-
999
- The label for the item stem/prompt field
1000
-
1001
- Default: `"Item Stemm"`
1002
-
1003
- # `contentDimensions` (object)
1004
-
1005
- Indicates the dimensions configuration for the authoring container
1006
- Note: Some items have a default minimum width because of their content, but if
1007
- the minWidth is lower than this, the overflow behavior will take care of that
1008
-
1009
- Properties of the `contentDimensions` object:
1010
-
1011
- ## `maxHeight` (string,number)
1012
-
1013
- Indicates the max height of the authoring container
1014
-
1015
- Default: `"undefined"`
1016
-
1017
- ## `maxWidth` (string,number)
1018
-
1019
- Indicates the max width of the authoring container
1020
-
1021
- Default: `"undefined"`
1022
-
1023
- ## `minHeight` (string,number)
1024
-
1025
- Indicates the min height of the authoring container
1026
-
1027
- Default: `"undefined"`
1028
-
1029
- ## `minWidth` (string,number)
1030
-
1031
- Indicates the min width of the authoring container
1032
-
1033
- Default: `"undefined"`
1034
-
1035
- Default: `": {}"`
1036
-
1037
- # `settingsPartialScoring` (boolean)
1038
-
1039
- Indicates whether the settings panel wil allow the author to modify settings for partial scoring
1040
-
1041
- Default: `true`
1042
-
1043
- ---
1044
-
1045
- # Sub Schemas
1046
-
1047
- The schema defines the following additional types:
1048
-
1049
- ## `EditableHtmlConfigureProp` (object)
1050
-
1051
- Properties of the `EditableHtmlConfigureProp` object:
1052
-
1053
- ### `math` (object)
1054
-
1055
- Properties of the `math` object:
1056
-
1057
- #### `disabled` (boolean)
1058
-
1059
- Indicates if the plugin is disabled or not
1060
-
1061
- ### `audio` (object)
1062
-
1063
- Properties of the `audio` object:
1064
-
1065
- #### `disabled` (boolean)
1066
-
1067
- Indicates if the plugin is disabled or not
1068
-
1069
- ### `video` (object)
1070
-
1071
- Properties of the `video` object:
1072
-
1073
- #### `disabled` (boolean)
1074
-
1075
- Indicates if the plugin is disabled or not
1076
-
1077
- ### `image` (object)
1078
-
1079
- Properties of the `image` object:
1080
-
1081
- #### `disabled` (boolean)
1082
-
1083
- Indicates if the plugin is disabled or not
1084
-
1085
- ### `customPlugins` (array)
1086
-
1087
- An array of objects that determine custom plugins.
1088
- 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).
1089
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1090
-
1091
- The object is an array with all elements of the type `object`.
1092
-
1093
- The array object has the following properties:
1094
-
1095
- #### `event` (string, required)
1096
-
1097
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1098
- PIE will emit the event prefixed with "PIE-".
1099
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1100
-
1101
- #### `iconAlt` (string, required)
1102
-
1103
- The alt for the custom button icon
1104
-
1105
- #### `iconType` (string, required)
1106
-
1107
- The icon type.
1108
- Currently, only "SVG" is supported.
1109
-
1110
- #### `icon` (string, required)
1111
-
1112
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1113
-
1114
- ### `blockquote` (object)
1115
-
1116
- Properties of the `blockquote` object:
1117
-
1118
- #### `disabled` (boolean)
1119
-
1120
- Indicates if the plugin is disabled or not
1121
-
1122
- ### `h3` (object)
1123
-
1124
- Properties of the `h3` object:
1125
-
1126
- #### `disabled` (boolean)
1127
-
1128
- Indicates if the plugin is disabled or not
1129
-
1130
- ### `characters` (object)
1131
-
1132
- Properties of the `characters` object:
1133
-
1134
- #### `disabled` (boolean)
1135
-
1136
- Indicates if the plugin is disabled or not
1137
-
1138
- ### `bold` (object)
1139
-
1140
- Properties of the `bold` object:
1141
-
1142
- #### `disabled` (boolean)
1143
-
1144
- Indicates if the plugin is disabled or not
1145
-
1146
- ### `html` (object)
1147
-
1148
- Properties of the `html` object:
1149
-
1150
- #### `disabled` (boolean)
1151
-
1152
- Indicates if the plugin is disabled or not
1153
-
1154
- ### `italic` (object)
1155
-
1156
- Properties of the `italic` object:
1157
-
1158
- #### `disabled` (boolean)
1159
-
1160
- Indicates if the plugin is disabled or not
1161
-
1162
- ### `ol_list` (object)
1163
-
1164
- Properties of the `ol_list` object:
1165
-
1166
- #### `disabled` (boolean)
1167
-
1168
- Indicates if the plugin is disabled or not
1169
-
1170
- ### `redo` (object)
1171
-
1172
- Properties of the `redo` object:
1173
-
1174
- #### `disabled` (boolean)
1175
-
1176
- Indicates if the plugin is disabled or not
1177
-
1178
- ### `strikethrough` (object)
1179
-
1180
- Properties of the `strikethrough` object:
1181
-
1182
- #### `disabled` (boolean)
1183
-
1184
- Indicates if the plugin is disabled or not
1185
-
1186
- ### `sub` (object)
1187
-
1188
- Properties of the `sub` object:
1189
-
1190
- #### `disabled` (boolean)
1191
-
1192
- Indicates if the plugin is disabled or not
1193
-
1194
- ### `sup` (object)
1195
-
1196
- Properties of the `sup` object:
1197
-
1198
- #### `disabled` (boolean)
1199
-
1200
- Indicates if the plugin is disabled or not
1201
-
1202
- ### `table` (object)
1203
-
1204
- Properties of the `table` object:
1205
-
1206
- #### `disabled` (boolean)
1207
-
1208
- Indicates if the plugin is disabled or not
1209
-
1210
- ### `ul_list` (object)
1211
-
1212
- Properties of the `ul_list` object:
1213
-
1214
- #### `disabled` (boolean)
1215
-
1216
- Indicates if the plugin is disabled or not
1217
-
1218
- ### `underline` (object)
1219
-
1220
- Properties of the `underline` object:
1221
-
1222
- #### `disabled` (boolean)
1223
-
1224
- Indicates if the plugin is disabled or not
1225
-
1226
- ### `undo` (object)
1227
-
1228
- Properties of the `undo` object:
1229
-
1230
- #### `disabled` (boolean)
1231
-
1232
- Indicates if the plugin is disabled or not
1233
-
1234
- ## `EditableHtmlButtonConfigure` (object)
1235
-
1236
- Properties of the `EditableHtmlButtonConfigure` object:
1237
-
1238
- ### `disabled` (boolean)
1239
-
1240
- Indicates if the plugin is disabled or not
1241
-
1242
- ## `CustomPlugin` (object)
1243
-
1244
- Properties of the `CustomPlugin` object:
1245
-
1246
- ### `event` (string, required)
1247
-
1248
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1249
- PIE will emit the event prefixed with "PIE-".
1250
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1251
-
1252
- ### `iconAlt` (string, required)
1253
-
1254
- The alt for the custom button icon
1255
-
1256
- ### `iconType` (string, required)
1257
-
1258
- The icon type.
1259
- Currently, only "SVG" is supported.
1260
-
1261
- ### `icon` (string, required)
1262
-
1263
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1264
-
1265
- ## `EditableHtmlPluginConfigureRequired` (object)
1266
-
1267
- Properties of the `EditableHtmlPluginConfigureRequired` object:
1268
-
1269
- ### `inputConfiguration` (object)
1270
-
1271
- Properties of the `inputConfiguration` object:
1272
-
1273
- #### `math` (object)
1274
-
1275
- Properties of the `math` object:
1276
-
1277
- ##### `disabled` (boolean)
1278
-
1279
- Indicates if the plugin is disabled or not
1280
-
1281
- #### `audio` (object)
1282
-
1283
- Properties of the `audio` object:
1284
-
1285
- ##### `disabled` (boolean)
1286
-
1287
- Indicates if the plugin is disabled or not
1288
-
1289
- #### `video` (object)
1290
-
1291
- Properties of the `video` object:
1292
-
1293
- ##### `disabled` (boolean)
1294
-
1295
- Indicates if the plugin is disabled or not
1296
-
1297
- #### `image` (object)
1298
-
1299
- Properties of the `image` object:
1300
-
1301
- ##### `disabled` (boolean)
1302
-
1303
- Indicates if the plugin is disabled or not
1304
-
1305
- #### `customPlugins` (array)
1306
-
1307
- An array of objects that determine custom plugins.
1308
- 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).
1309
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1310
-
1311
- The object is an array with all elements of the type `object`.
1312
-
1313
- The array object has the following properties:
1314
-
1315
- ##### `event` (string, required)
1316
-
1317
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1318
- PIE will emit the event prefixed with "PIE-".
1319
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1320
-
1321
- ##### `iconAlt` (string, required)
1322
-
1323
- The alt for the custom button icon
1324
-
1325
- ##### `iconType` (string, required)
1326
-
1327
- The icon type.
1328
- Currently, only "SVG" is supported.
1329
-
1330
- ##### `icon` (string, required)
1331
-
1332
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1333
-
1334
- #### `blockquote` (object)
1335
-
1336
- Properties of the `blockquote` object:
1337
-
1338
- ##### `disabled` (boolean)
1339
-
1340
- Indicates if the plugin is disabled or not
1341
-
1342
- #### `h3` (object)
1343
-
1344
- Properties of the `h3` object:
1345
-
1346
- ##### `disabled` (boolean)
1347
-
1348
- Indicates if the plugin is disabled or not
1349
-
1350
- #### `characters` (object)
1351
-
1352
- Properties of the `characters` object:
1353
-
1354
- ##### `disabled` (boolean)
1355
-
1356
- Indicates if the plugin is disabled or not
1357
-
1358
- #### `bold` (object)
1359
-
1360
- Properties of the `bold` object:
1361
-
1362
- ##### `disabled` (boolean)
1363
-
1364
- Indicates if the plugin is disabled or not
1365
-
1366
- #### `html` (object)
1367
-
1368
- Properties of the `html` object:
1369
-
1370
- ##### `disabled` (boolean)
1371
-
1372
- Indicates if the plugin is disabled or not
1373
-
1374
- #### `italic` (object)
1375
-
1376
- Properties of the `italic` object:
1377
-
1378
- ##### `disabled` (boolean)
1379
-
1380
- Indicates if the plugin is disabled or not
1381
-
1382
- #### `ol_list` (object)
1383
-
1384
- Properties of the `ol_list` object:
1385
-
1386
- ##### `disabled` (boolean)
1387
-
1388
- Indicates if the plugin is disabled or not
1389
-
1390
- #### `redo` (object)
1391
-
1392
- Properties of the `redo` object:
1393
-
1394
- ##### `disabled` (boolean)
1395
-
1396
- Indicates if the plugin is disabled or not
1397
-
1398
- #### `strikethrough` (object)
1399
-
1400
- Properties of the `strikethrough` object:
1401
-
1402
- ##### `disabled` (boolean)
1403
-
1404
- Indicates if the plugin is disabled or not
1405
-
1406
- #### `sub` (object)
1407
-
1408
- Properties of the `sub` object:
1409
-
1410
- ##### `disabled` (boolean)
1411
-
1412
- Indicates if the plugin is disabled or not
1413
-
1414
- #### `sup` (object)
1415
-
1416
- Properties of the `sup` object:
1417
-
1418
- ##### `disabled` (boolean)
1419
-
1420
- Indicates if the plugin is disabled or not
1421
-
1422
- #### `table` (object)
1423
-
1424
- Properties of the `table` object:
1425
-
1426
- ##### `disabled` (boolean)
1427
-
1428
- Indicates if the plugin is disabled or not
1429
-
1430
- #### `ul_list` (object)
1431
-
1432
- Properties of the `ul_list` object:
1433
-
1434
- ##### `disabled` (boolean)
1435
-
1436
- Indicates if the plugin is disabled or not
1437
-
1438
- #### `underline` (object)
1439
-
1440
- Properties of the `underline` object:
1441
-
1442
- ##### `disabled` (boolean)
1443
-
1444
- Indicates if the plugin is disabled or not
1445
-
1446
- #### `undo` (object)
1447
-
1448
- Properties of the `undo` object:
1449
-
1450
- ##### `disabled` (boolean)
1451
-
1452
- Indicates if the plugin is disabled or not
1453
-
1454
- ### `required` (boolean)
1455
-
1456
- Indicates if the item is required and the value cannot be empty
1457
-
1458
- ### `settings` (boolean)
1459
-
1460
- Indicates if the item has to be displayed in the Settings Panel
1461
-
1462
- ### `label` (string)
1463
-
1464
- Indicates the label for the item that has to be displayed in the Settings Panel
1465
-
1466
- ## `ConfigureProp` (object)
1467
-
1468
- Properties of the `ConfigureProp` object:
1469
-
1470
- ### `settings` (boolean)
1471
-
1472
- Indicates if the item has to be displayed in the Settings Panel
1473
-
1474
- ### `label` (string)
1475
-
1476
- Indicates the label for the item that has to be displayed in the Settings Panel
1477
-
1478
- ## `ConfigurePropWithEnabled` (object)
1479
-
1480
- Properties of the `ConfigurePropWithEnabled` object:
1481
-
1482
- ### `enabled` (boolean)
1483
-
1484
- Indicates the value of the item if it affects config-ui
1485
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1486
-
1487
- ### `settings` (boolean)
1488
-
1489
- Indicates if the item has to be displayed in the Settings Panel
1490
-
1491
- ### `label` (string)
1492
-
1493
- Indicates the label for the item that has to be displayed in the Settings Panel
1494
-
1495
- ## `ConfigureMaxImageDimensionsProp` (object)
1496
-
1497
- Properties of the `ConfigureMaxImageDimensionsProp` object:
1498
-
1499
- ### `teacherInstructions` (number)
1500
-
1501
- Indicates the max dimension for images in teacher instructions
1502
-
1503
- ### `prompt` (number)
1504
-
1505
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1506
-
1507
- ### `rationale` (number)
1508
-
1509
- Indicates the max dimension for images in rationale
1510
-
1511
- ## `ConfigureMathMLProp` (object)
1512
-
1513
- Properties of the `ConfigureMathMLProp` object:
1514
-
1515
- ### `mmlOutput` (number)
1516
-
1517
- Indicates if model should have mathML output instead of latex
1518
-
1519
- ### `mmlEditing` (number)
1520
-
1521
- Indicates if mathML that's already in model should be editable
1522
-
1523
- ## `ConfigureLanguageOptionsProp` (object)
1524
-
1525
- Properties of the `ConfigureLanguageOptionsProp` object:
1526
-
1527
- ### `value` (string, required)
1528
-
1529
- Value of the language option
1530
-
1531
- ### `label` (string, required)
1532
-
1533
- Label of the language option