@pie-element/match 12.1.1 → 12.1.2-next.1

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 (97) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/add-row.d.ts +17 -0
  4. package/dist/author/add-row.js +24 -0
  5. package/dist/author/answer-config-block.d.ts +36 -0
  6. package/dist/author/answer-config-block.js +176 -0
  7. package/dist/author/common.d.ts +22 -0
  8. package/dist/author/configure.d.ts +48 -0
  9. package/dist/author/configure.js +259 -0
  10. package/dist/author/defaults.d.ts +203 -0
  11. package/dist/author/defaults.js +151 -0
  12. package/dist/author/general-config-block.d.ts +22 -0
  13. package/dist/author/general-config-block.js +93 -0
  14. package/dist/author/index.d.ts +44 -0
  15. package/dist/author/index.js +76 -0
  16. package/dist/author/row.d.ts +51 -0
  17. package/dist/author/row.js +204 -0
  18. package/dist/author/utils.d.ts +10 -0
  19. package/dist/author/utils.js +10 -0
  20. package/dist/browser/Typography-CbSskKxx.js +9217 -0
  21. package/dist/browser/Typography-CbSskKxx.js.map +1 -0
  22. package/dist/browser/author/index.js +41596 -0
  23. package/dist/browser/author/index.js.map +1 -0
  24. package/dist/browser/browser-kkT1XVKw.js +219 -0
  25. package/dist/browser/browser-kkT1XVKw.js.map +1 -0
  26. package/dist/browser/controller/index.js +267 -0
  27. package/dist/browser/controller/index.js.map +1 -0
  28. package/dist/browser/delivery/index.js +1984 -0
  29. package/dist/browser/delivery/index.js.map +1 -0
  30. package/dist/browser/dist-i687VHmY.js +100 -0
  31. package/dist/browser/dist-i687VHmY.js.map +1 -0
  32. package/dist/browser/match.css +2 -0
  33. package/dist/controller/defaults.d.ts +27 -0
  34. package/dist/controller/defaults.js +25 -0
  35. package/dist/controller/index.d.ts +29 -0
  36. package/dist/controller/index.js +154 -0
  37. package/dist/delivery/answer-grid.d.ts +28 -0
  38. package/dist/delivery/answer-grid.js +99 -0
  39. package/dist/delivery/index.d.ts +21 -0
  40. package/dist/delivery/index.js +51 -0
  41. package/dist/delivery/main.d.ts +26 -0
  42. package/dist/delivery/main.js +112 -0
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.iife.d.ts +8 -0
  45. package/dist/index.iife.js +148 -0
  46. package/dist/index.js +2 -0
  47. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +16 -0
  48. package/dist/runtime-support.d.ts +12 -0
  49. package/dist/runtime-support.js +12 -0
  50. package/package.json +89 -22
  51. package/CHANGELOG.json +0 -1462
  52. package/CHANGELOG.md +0 -2331
  53. package/LICENSE.md +0 -5
  54. package/README.md +0 -1
  55. package/configure/CHANGELOG.json +0 -892
  56. package/configure/CHANGELOG.md +0 -2034
  57. package/configure/lib/add-row.js +0 -40
  58. package/configure/lib/add-row.js.map +0 -1
  59. package/configure/lib/answer-config-block.js +0 -288
  60. package/configure/lib/answer-config-block.js.map +0 -1
  61. package/configure/lib/common.js +0 -31
  62. package/configure/lib/common.js.map +0 -1
  63. package/configure/lib/configure.js +0 -410
  64. package/configure/lib/configure.js.map +0 -1
  65. package/configure/lib/defaults.js +0 -201
  66. package/configure/lib/defaults.js.map +0 -1
  67. package/configure/lib/general-config-block.js +0 -144
  68. package/configure/lib/general-config-block.js.map +0 -1
  69. package/configure/lib/index.js +0 -152
  70. package/configure/lib/index.js.map +0 -1
  71. package/configure/lib/row.js +0 -321
  72. package/configure/lib/row.js.map +0 -1
  73. package/configure/lib/utils.js +0 -12
  74. package/configure/lib/utils.js.map +0 -1
  75. package/configure/package.json +0 -29
  76. package/configure/utils.js +0 -19
  77. package/controller/CHANGELOG.json +0 -502
  78. package/controller/CHANGELOG.md +0 -1363
  79. package/controller/lib/defaults.js +0 -25
  80. package/controller/lib/defaults.js.map +0 -1
  81. package/controller/lib/index.js +0 -424
  82. package/controller/lib/index.js.map +0 -1
  83. package/controller/package.json +0 -24
  84. package/docs/config-schema.json +0 -2929
  85. package/docs/config-schema.json.md +0 -2162
  86. package/docs/demo/config.js +0 -8
  87. package/docs/demo/generate.js +0 -49
  88. package/docs/demo/index.html +0 -1
  89. package/docs/demo/session.js +0 -11
  90. package/docs/pie-schema.json +0 -1530
  91. package/docs/pie-schema.json.md +0 -907
  92. package/lib/answer-grid.js +0 -166
  93. package/lib/answer-grid.js.map +0 -1
  94. package/lib/index.js +0 -85
  95. package/lib/index.js.map +0 -1
  96. package/lib/main.js +0 -163
  97. package/lib/main.js.map +0 -1
@@ -1,2929 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/match",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "baseInputConfiguration": {
7
- "title": "EditableHtmlConfigureProp",
8
- "type": "object",
9
- "properties": {
10
- "math": {
11
- "title": "EditableHtmlButtonConfigure",
12
- "type": "object",
13
- "properties": {
14
- "disabled": {
15
- "description": "Indicates if the plugin is disabled or not",
16
- "type": "boolean",
17
- "title": "disabled"
18
- }
19
- }
20
- },
21
- "audio": {
22
- "title": "EditableHtmlButtonConfigure",
23
- "type": "object",
24
- "properties": {
25
- "disabled": {
26
- "description": "Indicates if the plugin is disabled or not",
27
- "type": "boolean",
28
- "title": "disabled"
29
- }
30
- }
31
- },
32
- "video": {
33
- "title": "EditableHtmlButtonConfigure",
34
- "type": "object",
35
- "properties": {
36
- "disabled": {
37
- "description": "Indicates if the plugin is disabled or not",
38
- "type": "boolean",
39
- "title": "disabled"
40
- }
41
- }
42
- },
43
- "image": {
44
- "title": "EditableHtmlButtonConfigure",
45
- "type": "object",
46
- "properties": {
47
- "disabled": {
48
- "description": "Indicates if the plugin is disabled or not",
49
- "type": "boolean",
50
- "title": "disabled"
51
- }
52
- }
53
- },
54
- "customPlugins": {
55
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
56
- "type": "array",
57
- "items": {
58
- "title": "CustomPlugin",
59
- "type": "object",
60
- "properties": {
61
- "event": {
62
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
63
- "type": "string",
64
- "title": "event"
65
- },
66
- "iconAlt": {
67
- "description": "The alt for the custom button icon",
68
- "type": "string",
69
- "title": "iconAlt"
70
- },
71
- "iconType": {
72
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
73
- "type": "string",
74
- "title": "iconType"
75
- },
76
- "icon": {
77
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
78
- "type": "string",
79
- "title": "icon"
80
- }
81
- },
82
- "required": [
83
- "event",
84
- "icon",
85
- "iconAlt",
86
- "iconType"
87
- ]
88
- },
89
- "title": "customPlugins"
90
- },
91
- "blockquote": {
92
- "title": "EditableHtmlButtonConfigure",
93
- "type": "object",
94
- "properties": {
95
- "disabled": {
96
- "description": "Indicates if the plugin is disabled or not",
97
- "type": "boolean",
98
- "title": "disabled"
99
- }
100
- }
101
- },
102
- "h3": {
103
- "title": "EditableHtmlButtonConfigure",
104
- "type": "object",
105
- "properties": {
106
- "disabled": {
107
- "description": "Indicates if the plugin is disabled or not",
108
- "type": "boolean",
109
- "title": "disabled"
110
- }
111
- }
112
- },
113
- "characters": {
114
- "title": "EditableHtmlButtonConfigure",
115
- "type": "object",
116
- "properties": {
117
- "disabled": {
118
- "description": "Indicates if the plugin is disabled or not",
119
- "type": "boolean",
120
- "title": "disabled"
121
- }
122
- }
123
- },
124
- "bold": {
125
- "title": "EditableHtmlButtonConfigure",
126
- "type": "object",
127
- "properties": {
128
- "disabled": {
129
- "description": "Indicates if the plugin is disabled or not",
130
- "type": "boolean",
131
- "title": "disabled"
132
- }
133
- }
134
- },
135
- "html": {
136
- "title": "EditableHtmlButtonConfigure",
137
- "type": "object",
138
- "properties": {
139
- "disabled": {
140
- "description": "Indicates if the plugin is disabled or not",
141
- "type": "boolean",
142
- "title": "disabled"
143
- }
144
- }
145
- },
146
- "italic": {
147
- "title": "EditableHtmlButtonConfigure",
148
- "type": "object",
149
- "properties": {
150
- "disabled": {
151
- "description": "Indicates if the plugin is disabled or not",
152
- "type": "boolean",
153
- "title": "disabled"
154
- }
155
- }
156
- },
157
- "ol_list": {
158
- "title": "EditableHtmlButtonConfigure",
159
- "type": "object",
160
- "properties": {
161
- "disabled": {
162
- "description": "Indicates if the plugin is disabled or not",
163
- "type": "boolean",
164
- "title": "disabled"
165
- }
166
- }
167
- },
168
- "redo": {
169
- "title": "EditableHtmlButtonConfigure",
170
- "type": "object",
171
- "properties": {
172
- "disabled": {
173
- "description": "Indicates if the plugin is disabled or not",
174
- "type": "boolean",
175
- "title": "disabled"
176
- }
177
- }
178
- },
179
- "strikethrough": {
180
- "title": "EditableHtmlButtonConfigure",
181
- "type": "object",
182
- "properties": {
183
- "disabled": {
184
- "description": "Indicates if the plugin is disabled or not",
185
- "type": "boolean",
186
- "title": "disabled"
187
- }
188
- }
189
- },
190
- "sub": {
191
- "title": "EditableHtmlButtonConfigure",
192
- "type": "object",
193
- "properties": {
194
- "disabled": {
195
- "description": "Indicates if the plugin is disabled or not",
196
- "type": "boolean",
197
- "title": "disabled"
198
- }
199
- }
200
- },
201
- "sup": {
202
- "title": "EditableHtmlButtonConfigure",
203
- "type": "object",
204
- "properties": {
205
- "disabled": {
206
- "description": "Indicates if the plugin is disabled or not",
207
- "type": "boolean",
208
- "title": "disabled"
209
- }
210
- }
211
- },
212
- "table": {
213
- "title": "EditableHtmlButtonConfigure",
214
- "type": "object",
215
- "properties": {
216
- "disabled": {
217
- "description": "Indicates if the plugin is disabled or not",
218
- "type": "boolean",
219
- "title": "disabled"
220
- }
221
- }
222
- },
223
- "ul_list": {
224
- "title": "EditableHtmlButtonConfigure",
225
- "type": "object",
226
- "properties": {
227
- "disabled": {
228
- "description": "Indicates if the plugin is disabled or not",
229
- "type": "boolean",
230
- "title": "disabled"
231
- }
232
- }
233
- },
234
- "underline": {
235
- "title": "EditableHtmlButtonConfigure",
236
- "type": "object",
237
- "properties": {
238
- "disabled": {
239
- "description": "Indicates if the plugin is disabled or not",
240
- "type": "boolean",
241
- "title": "disabled"
242
- }
243
- }
244
- },
245
- "undo": {
246
- "title": "EditableHtmlButtonConfigure",
247
- "type": "object",
248
- "properties": {
249
- "disabled": {
250
- "description": "Indicates if the plugin is disabled or not",
251
- "type": "boolean",
252
- "title": "disabled"
253
- }
254
- }
255
- }
256
- }
257
- },
258
- "rows": {
259
- "title": "EditableHtmlPluginConfigure",
260
- "type": "object",
261
- "properties": {
262
- "inputConfiguration": {
263
- "title": "EditableHtmlConfigureProp",
264
- "type": "object",
265
- "properties": {
266
- "math": {
267
- "title": "EditableHtmlButtonConfigure",
268
- "type": "object",
269
- "properties": {
270
- "disabled": {
271
- "description": "Indicates if the plugin is disabled or not",
272
- "type": "boolean",
273
- "title": "disabled"
274
- }
275
- }
276
- },
277
- "audio": {
278
- "title": "EditableHtmlButtonConfigure",
279
- "type": "object",
280
- "properties": {
281
- "disabled": {
282
- "description": "Indicates if the plugin is disabled or not",
283
- "type": "boolean",
284
- "title": "disabled"
285
- }
286
- }
287
- },
288
- "video": {
289
- "title": "EditableHtmlButtonConfigure",
290
- "type": "object",
291
- "properties": {
292
- "disabled": {
293
- "description": "Indicates if the plugin is disabled or not",
294
- "type": "boolean",
295
- "title": "disabled"
296
- }
297
- }
298
- },
299
- "image": {
300
- "title": "EditableHtmlButtonConfigure",
301
- "type": "object",
302
- "properties": {
303
- "disabled": {
304
- "description": "Indicates if the plugin is disabled or not",
305
- "type": "boolean",
306
- "title": "disabled"
307
- }
308
- }
309
- },
310
- "customPlugins": {
311
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
312
- "type": "array",
313
- "items": {
314
- "title": "CustomPlugin",
315
- "type": "object",
316
- "properties": {
317
- "event": {
318
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
319
- "type": "string",
320
- "title": "event"
321
- },
322
- "iconAlt": {
323
- "description": "The alt for the custom button icon",
324
- "type": "string",
325
- "title": "iconAlt"
326
- },
327
- "iconType": {
328
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
329
- "type": "string",
330
- "title": "iconType"
331
- },
332
- "icon": {
333
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
334
- "type": "string",
335
- "title": "icon"
336
- }
337
- },
338
- "required": [
339
- "event",
340
- "icon",
341
- "iconAlt",
342
- "iconType"
343
- ]
344
- },
345
- "title": "customPlugins"
346
- },
347
- "blockquote": {
348
- "title": "EditableHtmlButtonConfigure",
349
- "type": "object",
350
- "properties": {
351
- "disabled": {
352
- "description": "Indicates if the plugin is disabled or not",
353
- "type": "boolean",
354
- "title": "disabled"
355
- }
356
- }
357
- },
358
- "h3": {
359
- "title": "EditableHtmlButtonConfigure",
360
- "type": "object",
361
- "properties": {
362
- "disabled": {
363
- "description": "Indicates if the plugin is disabled or not",
364
- "type": "boolean",
365
- "title": "disabled"
366
- }
367
- }
368
- },
369
- "characters": {
370
- "title": "EditableHtmlButtonConfigure",
371
- "type": "object",
372
- "properties": {
373
- "disabled": {
374
- "description": "Indicates if the plugin is disabled or not",
375
- "type": "boolean",
376
- "title": "disabled"
377
- }
378
- }
379
- },
380
- "bold": {
381
- "title": "EditableHtmlButtonConfigure",
382
- "type": "object",
383
- "properties": {
384
- "disabled": {
385
- "description": "Indicates if the plugin is disabled or not",
386
- "type": "boolean",
387
- "title": "disabled"
388
- }
389
- }
390
- },
391
- "html": {
392
- "title": "EditableHtmlButtonConfigure",
393
- "type": "object",
394
- "properties": {
395
- "disabled": {
396
- "description": "Indicates if the plugin is disabled or not",
397
- "type": "boolean",
398
- "title": "disabled"
399
- }
400
- }
401
- },
402
- "italic": {
403
- "title": "EditableHtmlButtonConfigure",
404
- "type": "object",
405
- "properties": {
406
- "disabled": {
407
- "description": "Indicates if the plugin is disabled or not",
408
- "type": "boolean",
409
- "title": "disabled"
410
- }
411
- }
412
- },
413
- "ol_list": {
414
- "title": "EditableHtmlButtonConfigure",
415
- "type": "object",
416
- "properties": {
417
- "disabled": {
418
- "description": "Indicates if the plugin is disabled or not",
419
- "type": "boolean",
420
- "title": "disabled"
421
- }
422
- }
423
- },
424
- "redo": {
425
- "title": "EditableHtmlButtonConfigure",
426
- "type": "object",
427
- "properties": {
428
- "disabled": {
429
- "description": "Indicates if the plugin is disabled or not",
430
- "type": "boolean",
431
- "title": "disabled"
432
- }
433
- }
434
- },
435
- "strikethrough": {
436
- "title": "EditableHtmlButtonConfigure",
437
- "type": "object",
438
- "properties": {
439
- "disabled": {
440
- "description": "Indicates if the plugin is disabled or not",
441
- "type": "boolean",
442
- "title": "disabled"
443
- }
444
- }
445
- },
446
- "sub": {
447
- "title": "EditableHtmlButtonConfigure",
448
- "type": "object",
449
- "properties": {
450
- "disabled": {
451
- "description": "Indicates if the plugin is disabled or not",
452
- "type": "boolean",
453
- "title": "disabled"
454
- }
455
- }
456
- },
457
- "sup": {
458
- "title": "EditableHtmlButtonConfigure",
459
- "type": "object",
460
- "properties": {
461
- "disabled": {
462
- "description": "Indicates if the plugin is disabled or not",
463
- "type": "boolean",
464
- "title": "disabled"
465
- }
466
- }
467
- },
468
- "table": {
469
- "title": "EditableHtmlButtonConfigure",
470
- "type": "object",
471
- "properties": {
472
- "disabled": {
473
- "description": "Indicates if the plugin is disabled or not",
474
- "type": "boolean",
475
- "title": "disabled"
476
- }
477
- }
478
- },
479
- "ul_list": {
480
- "title": "EditableHtmlButtonConfigure",
481
- "type": "object",
482
- "properties": {
483
- "disabled": {
484
- "description": "Indicates if the plugin is disabled or not",
485
- "type": "boolean",
486
- "title": "disabled"
487
- }
488
- }
489
- },
490
- "underline": {
491
- "title": "EditableHtmlButtonConfigure",
492
- "type": "object",
493
- "properties": {
494
- "disabled": {
495
- "description": "Indicates if the plugin is disabled or not",
496
- "type": "boolean",
497
- "title": "disabled"
498
- }
499
- }
500
- },
501
- "undo": {
502
- "title": "EditableHtmlButtonConfigure",
503
- "type": "object",
504
- "properties": {
505
- "disabled": {
506
- "description": "Indicates if the plugin is disabled or not",
507
- "type": "boolean",
508
- "title": "disabled"
509
- }
510
- }
511
- }
512
- }
513
- },
514
- "settings": {
515
- "description": "Indicates if the item has to be displayed in the Settings Panel",
516
- "type": "boolean",
517
- "title": "settings"
518
- },
519
- "label": {
520
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
521
- "type": "string",
522
- "title": "label"
523
- }
524
- }
525
- },
526
- "feedback": {
527
- "title": "ConfigureProp",
528
- "type": "object",
529
- "properties": {
530
- "settings": {
531
- "description": "Indicates if the item has to be displayed in the Settings Panel",
532
- "type": "boolean",
533
- "title": "settings"
534
- },
535
- "label": {
536
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
537
- "type": "string",
538
- "title": "label"
539
- }
540
- }
541
- },
542
- "headers": {
543
- "title": "EditableHtmlPluginConfigure",
544
- "type": "object",
545
- "properties": {
546
- "inputConfiguration": {
547
- "title": "EditableHtmlConfigureProp",
548
- "type": "object",
549
- "properties": {
550
- "math": {
551
- "title": "EditableHtmlButtonConfigure",
552
- "type": "object",
553
- "properties": {
554
- "disabled": {
555
- "description": "Indicates if the plugin is disabled or not",
556
- "type": "boolean",
557
- "title": "disabled"
558
- }
559
- }
560
- },
561
- "audio": {
562
- "title": "EditableHtmlButtonConfigure",
563
- "type": "object",
564
- "properties": {
565
- "disabled": {
566
- "description": "Indicates if the plugin is disabled or not",
567
- "type": "boolean",
568
- "title": "disabled"
569
- }
570
- }
571
- },
572
- "video": {
573
- "title": "EditableHtmlButtonConfigure",
574
- "type": "object",
575
- "properties": {
576
- "disabled": {
577
- "description": "Indicates if the plugin is disabled or not",
578
- "type": "boolean",
579
- "title": "disabled"
580
- }
581
- }
582
- },
583
- "image": {
584
- "title": "EditableHtmlButtonConfigure",
585
- "type": "object",
586
- "properties": {
587
- "disabled": {
588
- "description": "Indicates if the plugin is disabled or not",
589
- "type": "boolean",
590
- "title": "disabled"
591
- }
592
- }
593
- },
594
- "customPlugins": {
595
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
596
- "type": "array",
597
- "items": {
598
- "title": "CustomPlugin",
599
- "type": "object",
600
- "properties": {
601
- "event": {
602
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
603
- "type": "string",
604
- "title": "event"
605
- },
606
- "iconAlt": {
607
- "description": "The alt for the custom button icon",
608
- "type": "string",
609
- "title": "iconAlt"
610
- },
611
- "iconType": {
612
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
613
- "type": "string",
614
- "title": "iconType"
615
- },
616
- "icon": {
617
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
618
- "type": "string",
619
- "title": "icon"
620
- }
621
- },
622
- "required": [
623
- "event",
624
- "icon",
625
- "iconAlt",
626
- "iconType"
627
- ]
628
- },
629
- "title": "customPlugins"
630
- },
631
- "blockquote": {
632
- "title": "EditableHtmlButtonConfigure",
633
- "type": "object",
634
- "properties": {
635
- "disabled": {
636
- "description": "Indicates if the plugin is disabled or not",
637
- "type": "boolean",
638
- "title": "disabled"
639
- }
640
- }
641
- },
642
- "h3": {
643
- "title": "EditableHtmlButtonConfigure",
644
- "type": "object",
645
- "properties": {
646
- "disabled": {
647
- "description": "Indicates if the plugin is disabled or not",
648
- "type": "boolean",
649
- "title": "disabled"
650
- }
651
- }
652
- },
653
- "characters": {
654
- "title": "EditableHtmlButtonConfigure",
655
- "type": "object",
656
- "properties": {
657
- "disabled": {
658
- "description": "Indicates if the plugin is disabled or not",
659
- "type": "boolean",
660
- "title": "disabled"
661
- }
662
- }
663
- },
664
- "bold": {
665
- "title": "EditableHtmlButtonConfigure",
666
- "type": "object",
667
- "properties": {
668
- "disabled": {
669
- "description": "Indicates if the plugin is disabled or not",
670
- "type": "boolean",
671
- "title": "disabled"
672
- }
673
- }
674
- },
675
- "html": {
676
- "title": "EditableHtmlButtonConfigure",
677
- "type": "object",
678
- "properties": {
679
- "disabled": {
680
- "description": "Indicates if the plugin is disabled or not",
681
- "type": "boolean",
682
- "title": "disabled"
683
- }
684
- }
685
- },
686
- "italic": {
687
- "title": "EditableHtmlButtonConfigure",
688
- "type": "object",
689
- "properties": {
690
- "disabled": {
691
- "description": "Indicates if the plugin is disabled or not",
692
- "type": "boolean",
693
- "title": "disabled"
694
- }
695
- }
696
- },
697
- "ol_list": {
698
- "title": "EditableHtmlButtonConfigure",
699
- "type": "object",
700
- "properties": {
701
- "disabled": {
702
- "description": "Indicates if the plugin is disabled or not",
703
- "type": "boolean",
704
- "title": "disabled"
705
- }
706
- }
707
- },
708
- "redo": {
709
- "title": "EditableHtmlButtonConfigure",
710
- "type": "object",
711
- "properties": {
712
- "disabled": {
713
- "description": "Indicates if the plugin is disabled or not",
714
- "type": "boolean",
715
- "title": "disabled"
716
- }
717
- }
718
- },
719
- "strikethrough": {
720
- "title": "EditableHtmlButtonConfigure",
721
- "type": "object",
722
- "properties": {
723
- "disabled": {
724
- "description": "Indicates if the plugin is disabled or not",
725
- "type": "boolean",
726
- "title": "disabled"
727
- }
728
- }
729
- },
730
- "sub": {
731
- "title": "EditableHtmlButtonConfigure",
732
- "type": "object",
733
- "properties": {
734
- "disabled": {
735
- "description": "Indicates if the plugin is disabled or not",
736
- "type": "boolean",
737
- "title": "disabled"
738
- }
739
- }
740
- },
741
- "sup": {
742
- "title": "EditableHtmlButtonConfigure",
743
- "type": "object",
744
- "properties": {
745
- "disabled": {
746
- "description": "Indicates if the plugin is disabled or not",
747
- "type": "boolean",
748
- "title": "disabled"
749
- }
750
- }
751
- },
752
- "table": {
753
- "title": "EditableHtmlButtonConfigure",
754
- "type": "object",
755
- "properties": {
756
- "disabled": {
757
- "description": "Indicates if the plugin is disabled or not",
758
- "type": "boolean",
759
- "title": "disabled"
760
- }
761
- }
762
- },
763
- "ul_list": {
764
- "title": "EditableHtmlButtonConfigure",
765
- "type": "object",
766
- "properties": {
767
- "disabled": {
768
- "description": "Indicates if the plugin is disabled or not",
769
- "type": "boolean",
770
- "title": "disabled"
771
- }
772
- }
773
- },
774
- "underline": {
775
- "title": "EditableHtmlButtonConfigure",
776
- "type": "object",
777
- "properties": {
778
- "disabled": {
779
- "description": "Indicates if the plugin is disabled or not",
780
- "type": "boolean",
781
- "title": "disabled"
782
- }
783
- }
784
- },
785
- "undo": {
786
- "title": "EditableHtmlButtonConfigure",
787
- "type": "object",
788
- "properties": {
789
- "disabled": {
790
- "description": "Indicates if the plugin is disabled or not",
791
- "type": "boolean",
792
- "title": "disabled"
793
- }
794
- }
795
- }
796
- }
797
- },
798
- "settings": {
799
- "description": "Indicates if the item has to be displayed in the Settings Panel",
800
- "type": "boolean",
801
- "title": "settings"
802
- },
803
- "label": {
804
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
805
- "type": "string",
806
- "title": "label"
807
- }
808
- }
809
- },
810
- "layout": {
811
- "title": "ConfigureProp",
812
- "type": "object",
813
- "properties": {
814
- "settings": {
815
- "description": "Indicates if the item has to be displayed in the Settings Panel",
816
- "type": "boolean",
817
- "title": "settings"
818
- },
819
- "label": {
820
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
821
- "type": "string",
822
- "title": "label"
823
- }
824
- }
825
- },
826
- "lockChoiceOrder": {
827
- "title": "ConfigureProp",
828
- "type": "object",
829
- "properties": {
830
- "settings": {
831
- "description": "Indicates if the item has to be displayed in the Settings Panel",
832
- "type": "boolean",
833
- "title": "settings"
834
- },
835
- "label": {
836
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
837
- "type": "string",
838
- "title": "label"
839
- }
840
- }
841
- },
842
- "partialScoring": {
843
- "title": "ConfigureProp",
844
- "type": "object",
845
- "properties": {
846
- "settings": {
847
- "description": "Indicates if the item has to be displayed in the Settings Panel",
848
- "type": "boolean",
849
- "title": "settings"
850
- },
851
- "label": {
852
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
853
- "type": "string",
854
- "title": "label"
855
- }
856
- }
857
- },
858
- "choiceMode": {
859
- "title": "ConfigureProp",
860
- "type": "object",
861
- "properties": {
862
- "settings": {
863
- "description": "Indicates if the item has to be displayed in the Settings Panel",
864
- "type": "boolean",
865
- "title": "settings"
866
- },
867
- "label": {
868
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
869
- "type": "string",
870
- "title": "label"
871
- }
872
- }
873
- },
874
- "prompt": {
875
- "title": "EditableHtmlPluginConfigureRequired",
876
- "type": "object",
877
- "properties": {
878
- "inputConfiguration": {
879
- "title": "EditableHtmlConfigureProp",
880
- "type": "object",
881
- "properties": {
882
- "math": {
883
- "title": "EditableHtmlButtonConfigure",
884
- "type": "object",
885
- "properties": {
886
- "disabled": {
887
- "description": "Indicates if the plugin is disabled or not",
888
- "type": "boolean",
889
- "title": "disabled"
890
- }
891
- }
892
- },
893
- "audio": {
894
- "title": "EditableHtmlButtonConfigure",
895
- "type": "object",
896
- "properties": {
897
- "disabled": {
898
- "description": "Indicates if the plugin is disabled or not",
899
- "type": "boolean",
900
- "title": "disabled"
901
- }
902
- }
903
- },
904
- "video": {
905
- "title": "EditableHtmlButtonConfigure",
906
- "type": "object",
907
- "properties": {
908
- "disabled": {
909
- "description": "Indicates if the plugin is disabled or not",
910
- "type": "boolean",
911
- "title": "disabled"
912
- }
913
- }
914
- },
915
- "image": {
916
- "title": "EditableHtmlButtonConfigure",
917
- "type": "object",
918
- "properties": {
919
- "disabled": {
920
- "description": "Indicates if the plugin is disabled or not",
921
- "type": "boolean",
922
- "title": "disabled"
923
- }
924
- }
925
- },
926
- "customPlugins": {
927
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
928
- "type": "array",
929
- "items": {
930
- "title": "CustomPlugin",
931
- "type": "object",
932
- "properties": {
933
- "event": {
934
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
935
- "type": "string",
936
- "title": "event"
937
- },
938
- "iconAlt": {
939
- "description": "The alt for the custom button icon",
940
- "type": "string",
941
- "title": "iconAlt"
942
- },
943
- "iconType": {
944
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
945
- "type": "string",
946
- "title": "iconType"
947
- },
948
- "icon": {
949
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
950
- "type": "string",
951
- "title": "icon"
952
- }
953
- },
954
- "required": [
955
- "event",
956
- "icon",
957
- "iconAlt",
958
- "iconType"
959
- ]
960
- },
961
- "title": "customPlugins"
962
- },
963
- "blockquote": {
964
- "title": "EditableHtmlButtonConfigure",
965
- "type": "object",
966
- "properties": {
967
- "disabled": {
968
- "description": "Indicates if the plugin is disabled or not",
969
- "type": "boolean",
970
- "title": "disabled"
971
- }
972
- }
973
- },
974
- "h3": {
975
- "title": "EditableHtmlButtonConfigure",
976
- "type": "object",
977
- "properties": {
978
- "disabled": {
979
- "description": "Indicates if the plugin is disabled or not",
980
- "type": "boolean",
981
- "title": "disabled"
982
- }
983
- }
984
- },
985
- "characters": {
986
- "title": "EditableHtmlButtonConfigure",
987
- "type": "object",
988
- "properties": {
989
- "disabled": {
990
- "description": "Indicates if the plugin is disabled or not",
991
- "type": "boolean",
992
- "title": "disabled"
993
- }
994
- }
995
- },
996
- "bold": {
997
- "title": "EditableHtmlButtonConfigure",
998
- "type": "object",
999
- "properties": {
1000
- "disabled": {
1001
- "description": "Indicates if the plugin is disabled or not",
1002
- "type": "boolean",
1003
- "title": "disabled"
1004
- }
1005
- }
1006
- },
1007
- "html": {
1008
- "title": "EditableHtmlButtonConfigure",
1009
- "type": "object",
1010
- "properties": {
1011
- "disabled": {
1012
- "description": "Indicates if the plugin is disabled or not",
1013
- "type": "boolean",
1014
- "title": "disabled"
1015
- }
1016
- }
1017
- },
1018
- "italic": {
1019
- "title": "EditableHtmlButtonConfigure",
1020
- "type": "object",
1021
- "properties": {
1022
- "disabled": {
1023
- "description": "Indicates if the plugin is disabled or not",
1024
- "type": "boolean",
1025
- "title": "disabled"
1026
- }
1027
- }
1028
- },
1029
- "ol_list": {
1030
- "title": "EditableHtmlButtonConfigure",
1031
- "type": "object",
1032
- "properties": {
1033
- "disabled": {
1034
- "description": "Indicates if the plugin is disabled or not",
1035
- "type": "boolean",
1036
- "title": "disabled"
1037
- }
1038
- }
1039
- },
1040
- "redo": {
1041
- "title": "EditableHtmlButtonConfigure",
1042
- "type": "object",
1043
- "properties": {
1044
- "disabled": {
1045
- "description": "Indicates if the plugin is disabled or not",
1046
- "type": "boolean",
1047
- "title": "disabled"
1048
- }
1049
- }
1050
- },
1051
- "strikethrough": {
1052
- "title": "EditableHtmlButtonConfigure",
1053
- "type": "object",
1054
- "properties": {
1055
- "disabled": {
1056
- "description": "Indicates if the plugin is disabled or not",
1057
- "type": "boolean",
1058
- "title": "disabled"
1059
- }
1060
- }
1061
- },
1062
- "sub": {
1063
- "title": "EditableHtmlButtonConfigure",
1064
- "type": "object",
1065
- "properties": {
1066
- "disabled": {
1067
- "description": "Indicates if the plugin is disabled or not",
1068
- "type": "boolean",
1069
- "title": "disabled"
1070
- }
1071
- }
1072
- },
1073
- "sup": {
1074
- "title": "EditableHtmlButtonConfigure",
1075
- "type": "object",
1076
- "properties": {
1077
- "disabled": {
1078
- "description": "Indicates if the plugin is disabled or not",
1079
- "type": "boolean",
1080
- "title": "disabled"
1081
- }
1082
- }
1083
- },
1084
- "table": {
1085
- "title": "EditableHtmlButtonConfigure",
1086
- "type": "object",
1087
- "properties": {
1088
- "disabled": {
1089
- "description": "Indicates if the plugin is disabled or not",
1090
- "type": "boolean",
1091
- "title": "disabled"
1092
- }
1093
- }
1094
- },
1095
- "ul_list": {
1096
- "title": "EditableHtmlButtonConfigure",
1097
- "type": "object",
1098
- "properties": {
1099
- "disabled": {
1100
- "description": "Indicates if the plugin is disabled or not",
1101
- "type": "boolean",
1102
- "title": "disabled"
1103
- }
1104
- }
1105
- },
1106
- "underline": {
1107
- "title": "EditableHtmlButtonConfigure",
1108
- "type": "object",
1109
- "properties": {
1110
- "disabled": {
1111
- "description": "Indicates if the plugin is disabled or not",
1112
- "type": "boolean",
1113
- "title": "disabled"
1114
- }
1115
- }
1116
- },
1117
- "undo": {
1118
- "title": "EditableHtmlButtonConfigure",
1119
- "type": "object",
1120
- "properties": {
1121
- "disabled": {
1122
- "description": "Indicates if the plugin is disabled or not",
1123
- "type": "boolean",
1124
- "title": "disabled"
1125
- }
1126
- }
1127
- }
1128
- }
1129
- },
1130
- "required": {
1131
- "description": "Indicates if the item is required and the value cannot be empty",
1132
- "type": "boolean",
1133
- "title": "required"
1134
- },
1135
- "settings": {
1136
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1137
- "type": "boolean",
1138
- "title": "settings"
1139
- },
1140
- "label": {
1141
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1142
- "type": "string",
1143
- "title": "label"
1144
- }
1145
- }
1146
- },
1147
- "settingsPanelDisabled": {
1148
- "description": "Indicates if the settings panel is not available",
1149
- "type": "boolean",
1150
- "title": "settingsPanelDisabled"
1151
- },
1152
- "spellCheck": {
1153
- "title": "ConfigureProp",
1154
- "type": "object",
1155
- "properties": {
1156
- "settings": {
1157
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1158
- "type": "boolean",
1159
- "title": "settings"
1160
- },
1161
- "label": {
1162
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1163
- "type": "string",
1164
- "title": "label"
1165
- }
1166
- }
1167
- },
1168
- "rationale": {
1169
- "title": "EditableHtmlPluginConfigureRequired",
1170
- "type": "object",
1171
- "properties": {
1172
- "inputConfiguration": {
1173
- "title": "EditableHtmlConfigureProp",
1174
- "type": "object",
1175
- "properties": {
1176
- "math": {
1177
- "title": "EditableHtmlButtonConfigure",
1178
- "type": "object",
1179
- "properties": {
1180
- "disabled": {
1181
- "description": "Indicates if the plugin is disabled or not",
1182
- "type": "boolean",
1183
- "title": "disabled"
1184
- }
1185
- }
1186
- },
1187
- "audio": {
1188
- "title": "EditableHtmlButtonConfigure",
1189
- "type": "object",
1190
- "properties": {
1191
- "disabled": {
1192
- "description": "Indicates if the plugin is disabled or not",
1193
- "type": "boolean",
1194
- "title": "disabled"
1195
- }
1196
- }
1197
- },
1198
- "video": {
1199
- "title": "EditableHtmlButtonConfigure",
1200
- "type": "object",
1201
- "properties": {
1202
- "disabled": {
1203
- "description": "Indicates if the plugin is disabled or not",
1204
- "type": "boolean",
1205
- "title": "disabled"
1206
- }
1207
- }
1208
- },
1209
- "image": {
1210
- "title": "EditableHtmlButtonConfigure",
1211
- "type": "object",
1212
- "properties": {
1213
- "disabled": {
1214
- "description": "Indicates if the plugin is disabled or not",
1215
- "type": "boolean",
1216
- "title": "disabled"
1217
- }
1218
- }
1219
- },
1220
- "customPlugins": {
1221
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1222
- "type": "array",
1223
- "items": {
1224
- "title": "CustomPlugin",
1225
- "type": "object",
1226
- "properties": {
1227
- "event": {
1228
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1229
- "type": "string",
1230
- "title": "event"
1231
- },
1232
- "iconAlt": {
1233
- "description": "The alt for the custom button icon",
1234
- "type": "string",
1235
- "title": "iconAlt"
1236
- },
1237
- "iconType": {
1238
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1239
- "type": "string",
1240
- "title": "iconType"
1241
- },
1242
- "icon": {
1243
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1244
- "type": "string",
1245
- "title": "icon"
1246
- }
1247
- },
1248
- "required": [
1249
- "event",
1250
- "icon",
1251
- "iconAlt",
1252
- "iconType"
1253
- ]
1254
- },
1255
- "title": "customPlugins"
1256
- },
1257
- "blockquote": {
1258
- "title": "EditableHtmlButtonConfigure",
1259
- "type": "object",
1260
- "properties": {
1261
- "disabled": {
1262
- "description": "Indicates if the plugin is disabled or not",
1263
- "type": "boolean",
1264
- "title": "disabled"
1265
- }
1266
- }
1267
- },
1268
- "h3": {
1269
- "title": "EditableHtmlButtonConfigure",
1270
- "type": "object",
1271
- "properties": {
1272
- "disabled": {
1273
- "description": "Indicates if the plugin is disabled or not",
1274
- "type": "boolean",
1275
- "title": "disabled"
1276
- }
1277
- }
1278
- },
1279
- "characters": {
1280
- "title": "EditableHtmlButtonConfigure",
1281
- "type": "object",
1282
- "properties": {
1283
- "disabled": {
1284
- "description": "Indicates if the plugin is disabled or not",
1285
- "type": "boolean",
1286
- "title": "disabled"
1287
- }
1288
- }
1289
- },
1290
- "bold": {
1291
- "title": "EditableHtmlButtonConfigure",
1292
- "type": "object",
1293
- "properties": {
1294
- "disabled": {
1295
- "description": "Indicates if the plugin is disabled or not",
1296
- "type": "boolean",
1297
- "title": "disabled"
1298
- }
1299
- }
1300
- },
1301
- "html": {
1302
- "title": "EditableHtmlButtonConfigure",
1303
- "type": "object",
1304
- "properties": {
1305
- "disabled": {
1306
- "description": "Indicates if the plugin is disabled or not",
1307
- "type": "boolean",
1308
- "title": "disabled"
1309
- }
1310
- }
1311
- },
1312
- "italic": {
1313
- "title": "EditableHtmlButtonConfigure",
1314
- "type": "object",
1315
- "properties": {
1316
- "disabled": {
1317
- "description": "Indicates if the plugin is disabled or not",
1318
- "type": "boolean",
1319
- "title": "disabled"
1320
- }
1321
- }
1322
- },
1323
- "ol_list": {
1324
- "title": "EditableHtmlButtonConfigure",
1325
- "type": "object",
1326
- "properties": {
1327
- "disabled": {
1328
- "description": "Indicates if the plugin is disabled or not",
1329
- "type": "boolean",
1330
- "title": "disabled"
1331
- }
1332
- }
1333
- },
1334
- "redo": {
1335
- "title": "EditableHtmlButtonConfigure",
1336
- "type": "object",
1337
- "properties": {
1338
- "disabled": {
1339
- "description": "Indicates if the plugin is disabled or not",
1340
- "type": "boolean",
1341
- "title": "disabled"
1342
- }
1343
- }
1344
- },
1345
- "strikethrough": {
1346
- "title": "EditableHtmlButtonConfigure",
1347
- "type": "object",
1348
- "properties": {
1349
- "disabled": {
1350
- "description": "Indicates if the plugin is disabled or not",
1351
- "type": "boolean",
1352
- "title": "disabled"
1353
- }
1354
- }
1355
- },
1356
- "sub": {
1357
- "title": "EditableHtmlButtonConfigure",
1358
- "type": "object",
1359
- "properties": {
1360
- "disabled": {
1361
- "description": "Indicates if the plugin is disabled or not",
1362
- "type": "boolean",
1363
- "title": "disabled"
1364
- }
1365
- }
1366
- },
1367
- "sup": {
1368
- "title": "EditableHtmlButtonConfigure",
1369
- "type": "object",
1370
- "properties": {
1371
- "disabled": {
1372
- "description": "Indicates if the plugin is disabled or not",
1373
- "type": "boolean",
1374
- "title": "disabled"
1375
- }
1376
- }
1377
- },
1378
- "table": {
1379
- "title": "EditableHtmlButtonConfigure",
1380
- "type": "object",
1381
- "properties": {
1382
- "disabled": {
1383
- "description": "Indicates if the plugin is disabled or not",
1384
- "type": "boolean",
1385
- "title": "disabled"
1386
- }
1387
- }
1388
- },
1389
- "ul_list": {
1390
- "title": "EditableHtmlButtonConfigure",
1391
- "type": "object",
1392
- "properties": {
1393
- "disabled": {
1394
- "description": "Indicates if the plugin is disabled or not",
1395
- "type": "boolean",
1396
- "title": "disabled"
1397
- }
1398
- }
1399
- },
1400
- "underline": {
1401
- "title": "EditableHtmlButtonConfigure",
1402
- "type": "object",
1403
- "properties": {
1404
- "disabled": {
1405
- "description": "Indicates if the plugin is disabled or not",
1406
- "type": "boolean",
1407
- "title": "disabled"
1408
- }
1409
- }
1410
- },
1411
- "undo": {
1412
- "title": "EditableHtmlButtonConfigure",
1413
- "type": "object",
1414
- "properties": {
1415
- "disabled": {
1416
- "description": "Indicates if the plugin is disabled or not",
1417
- "type": "boolean",
1418
- "title": "disabled"
1419
- }
1420
- }
1421
- }
1422
- }
1423
- },
1424
- "required": {
1425
- "description": "Indicates if the item is required and the value cannot be empty",
1426
- "type": "boolean",
1427
- "title": "required"
1428
- },
1429
- "settings": {
1430
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1431
- "type": "boolean",
1432
- "title": "settings"
1433
- },
1434
- "label": {
1435
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1436
- "type": "string",
1437
- "title": "label"
1438
- }
1439
- }
1440
- },
1441
- "scoringType": {
1442
- "title": "ConfigureProp",
1443
- "type": "object",
1444
- "properties": {
1445
- "settings": {
1446
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1447
- "type": "boolean",
1448
- "title": "settings"
1449
- },
1450
- "label": {
1451
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1452
- "type": "string",
1453
- "title": "label"
1454
- }
1455
- }
1456
- },
1457
- "studentInstructions": {
1458
- "title": "ConfigureProp",
1459
- "type": "object",
1460
- "properties": {
1461
- "settings": {
1462
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1463
- "type": "boolean",
1464
- "title": "settings"
1465
- },
1466
- "label": {
1467
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1468
- "type": "string",
1469
- "title": "label"
1470
- }
1471
- }
1472
- },
1473
- "teacherInstructions": {
1474
- "title": "EditableHtmlPluginConfigureRequired",
1475
- "type": "object",
1476
- "properties": {
1477
- "inputConfiguration": {
1478
- "title": "EditableHtmlConfigureProp",
1479
- "type": "object",
1480
- "properties": {
1481
- "math": {
1482
- "title": "EditableHtmlButtonConfigure",
1483
- "type": "object",
1484
- "properties": {
1485
- "disabled": {
1486
- "description": "Indicates if the plugin is disabled or not",
1487
- "type": "boolean",
1488
- "title": "disabled"
1489
- }
1490
- }
1491
- },
1492
- "audio": {
1493
- "title": "EditableHtmlButtonConfigure",
1494
- "type": "object",
1495
- "properties": {
1496
- "disabled": {
1497
- "description": "Indicates if the plugin is disabled or not",
1498
- "type": "boolean",
1499
- "title": "disabled"
1500
- }
1501
- }
1502
- },
1503
- "video": {
1504
- "title": "EditableHtmlButtonConfigure",
1505
- "type": "object",
1506
- "properties": {
1507
- "disabled": {
1508
- "description": "Indicates if the plugin is disabled or not",
1509
- "type": "boolean",
1510
- "title": "disabled"
1511
- }
1512
- }
1513
- },
1514
- "image": {
1515
- "title": "EditableHtmlButtonConfigure",
1516
- "type": "object",
1517
- "properties": {
1518
- "disabled": {
1519
- "description": "Indicates if the plugin is disabled or not",
1520
- "type": "boolean",
1521
- "title": "disabled"
1522
- }
1523
- }
1524
- },
1525
- "customPlugins": {
1526
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1527
- "type": "array",
1528
- "items": {
1529
- "title": "CustomPlugin",
1530
- "type": "object",
1531
- "properties": {
1532
- "event": {
1533
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1534
- "type": "string",
1535
- "title": "event"
1536
- },
1537
- "iconAlt": {
1538
- "description": "The alt for the custom button icon",
1539
- "type": "string",
1540
- "title": "iconAlt"
1541
- },
1542
- "iconType": {
1543
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1544
- "type": "string",
1545
- "title": "iconType"
1546
- },
1547
- "icon": {
1548
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1549
- "type": "string",
1550
- "title": "icon"
1551
- }
1552
- },
1553
- "required": [
1554
- "event",
1555
- "icon",
1556
- "iconAlt",
1557
- "iconType"
1558
- ]
1559
- },
1560
- "title": "customPlugins"
1561
- },
1562
- "blockquote": {
1563
- "title": "EditableHtmlButtonConfigure",
1564
- "type": "object",
1565
- "properties": {
1566
- "disabled": {
1567
- "description": "Indicates if the plugin is disabled or not",
1568
- "type": "boolean",
1569
- "title": "disabled"
1570
- }
1571
- }
1572
- },
1573
- "h3": {
1574
- "title": "EditableHtmlButtonConfigure",
1575
- "type": "object",
1576
- "properties": {
1577
- "disabled": {
1578
- "description": "Indicates if the plugin is disabled or not",
1579
- "type": "boolean",
1580
- "title": "disabled"
1581
- }
1582
- }
1583
- },
1584
- "characters": {
1585
- "title": "EditableHtmlButtonConfigure",
1586
- "type": "object",
1587
- "properties": {
1588
- "disabled": {
1589
- "description": "Indicates if the plugin is disabled or not",
1590
- "type": "boolean",
1591
- "title": "disabled"
1592
- }
1593
- }
1594
- },
1595
- "bold": {
1596
- "title": "EditableHtmlButtonConfigure",
1597
- "type": "object",
1598
- "properties": {
1599
- "disabled": {
1600
- "description": "Indicates if the plugin is disabled or not",
1601
- "type": "boolean",
1602
- "title": "disabled"
1603
- }
1604
- }
1605
- },
1606
- "html": {
1607
- "title": "EditableHtmlButtonConfigure",
1608
- "type": "object",
1609
- "properties": {
1610
- "disabled": {
1611
- "description": "Indicates if the plugin is disabled or not",
1612
- "type": "boolean",
1613
- "title": "disabled"
1614
- }
1615
- }
1616
- },
1617
- "italic": {
1618
- "title": "EditableHtmlButtonConfigure",
1619
- "type": "object",
1620
- "properties": {
1621
- "disabled": {
1622
- "description": "Indicates if the plugin is disabled or not",
1623
- "type": "boolean",
1624
- "title": "disabled"
1625
- }
1626
- }
1627
- },
1628
- "ol_list": {
1629
- "title": "EditableHtmlButtonConfigure",
1630
- "type": "object",
1631
- "properties": {
1632
- "disabled": {
1633
- "description": "Indicates if the plugin is disabled or not",
1634
- "type": "boolean",
1635
- "title": "disabled"
1636
- }
1637
- }
1638
- },
1639
- "redo": {
1640
- "title": "EditableHtmlButtonConfigure",
1641
- "type": "object",
1642
- "properties": {
1643
- "disabled": {
1644
- "description": "Indicates if the plugin is disabled or not",
1645
- "type": "boolean",
1646
- "title": "disabled"
1647
- }
1648
- }
1649
- },
1650
- "strikethrough": {
1651
- "title": "EditableHtmlButtonConfigure",
1652
- "type": "object",
1653
- "properties": {
1654
- "disabled": {
1655
- "description": "Indicates if the plugin is disabled or not",
1656
- "type": "boolean",
1657
- "title": "disabled"
1658
- }
1659
- }
1660
- },
1661
- "sub": {
1662
- "title": "EditableHtmlButtonConfigure",
1663
- "type": "object",
1664
- "properties": {
1665
- "disabled": {
1666
- "description": "Indicates if the plugin is disabled or not",
1667
- "type": "boolean",
1668
- "title": "disabled"
1669
- }
1670
- }
1671
- },
1672
- "sup": {
1673
- "title": "EditableHtmlButtonConfigure",
1674
- "type": "object",
1675
- "properties": {
1676
- "disabled": {
1677
- "description": "Indicates if the plugin is disabled or not",
1678
- "type": "boolean",
1679
- "title": "disabled"
1680
- }
1681
- }
1682
- },
1683
- "table": {
1684
- "title": "EditableHtmlButtonConfigure",
1685
- "type": "object",
1686
- "properties": {
1687
- "disabled": {
1688
- "description": "Indicates if the plugin is disabled or not",
1689
- "type": "boolean",
1690
- "title": "disabled"
1691
- }
1692
- }
1693
- },
1694
- "ul_list": {
1695
- "title": "EditableHtmlButtonConfigure",
1696
- "type": "object",
1697
- "properties": {
1698
- "disabled": {
1699
- "description": "Indicates if the plugin is disabled or not",
1700
- "type": "boolean",
1701
- "title": "disabled"
1702
- }
1703
- }
1704
- },
1705
- "underline": {
1706
- "title": "EditableHtmlButtonConfigure",
1707
- "type": "object",
1708
- "properties": {
1709
- "disabled": {
1710
- "description": "Indicates if the plugin is disabled or not",
1711
- "type": "boolean",
1712
- "title": "disabled"
1713
- }
1714
- }
1715
- },
1716
- "undo": {
1717
- "title": "EditableHtmlButtonConfigure",
1718
- "type": "object",
1719
- "properties": {
1720
- "disabled": {
1721
- "description": "Indicates if the plugin is disabled or not",
1722
- "type": "boolean",
1723
- "title": "disabled"
1724
- }
1725
- }
1726
- }
1727
- }
1728
- },
1729
- "required": {
1730
- "description": "Indicates if the item is required and the value cannot be empty",
1731
- "type": "boolean",
1732
- "title": "required"
1733
- },
1734
- "settings": {
1735
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1736
- "type": "boolean",
1737
- "title": "settings"
1738
- },
1739
- "label": {
1740
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1741
- "type": "string",
1742
- "title": "label"
1743
- }
1744
- }
1745
- },
1746
- "maxImageWidth": {
1747
- "title": "ConfigureMaxImageDimensionsProp",
1748
- "type": "object",
1749
- "properties": {
1750
- "teacherInstructions": {
1751
- "description": "Indicates the max dimension for images in teacher instructions",
1752
- "type": "number",
1753
- "title": "teacherInstructions"
1754
- },
1755
- "prompt": {
1756
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1757
- "type": "number",
1758
- "title": "prompt"
1759
- },
1760
- "rationale": {
1761
- "description": "Indicates the max dimension for images in rationale",
1762
- "type": "number",
1763
- "title": "rationale"
1764
- },
1765
- "rowTitles": {
1766
- "description": "Indicates the max dimension for images in row labels",
1767
- "type": "number",
1768
- "title": "rowTitles"
1769
- }
1770
- }
1771
- },
1772
- "maxImageHeight": {
1773
- "title": "ConfigureMaxImageDimensionsProp",
1774
- "type": "object",
1775
- "properties": {
1776
- "teacherInstructions": {
1777
- "description": "Indicates the max dimension for images in teacher instructions",
1778
- "type": "number",
1779
- "title": "teacherInstructions"
1780
- },
1781
- "prompt": {
1782
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1783
- "type": "number",
1784
- "title": "prompt"
1785
- },
1786
- "rationale": {
1787
- "description": "Indicates the max dimension for images in rationale",
1788
- "type": "number",
1789
- "title": "rationale"
1790
- },
1791
- "rowTitles": {
1792
- "description": "Indicates the max dimension for images in row labels",
1793
- "type": "number",
1794
- "title": "rowTitles"
1795
- }
1796
- }
1797
- },
1798
- "withRubric": {
1799
- "title": "ConfigureProp",
1800
- "type": "object",
1801
- "properties": {
1802
- "settings": {
1803
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1804
- "type": "boolean",
1805
- "title": "settings"
1806
- },
1807
- "label": {
1808
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1809
- "type": "string",
1810
- "title": "label"
1811
- }
1812
- }
1813
- },
1814
- "minQuestions": {
1815
- "description": "Indicates the minimum number of question rows",
1816
- "type": "number",
1817
- "title": "minQuestions"
1818
- },
1819
- "maxQuestions": {
1820
- "description": "Indicates the maximum number of question rows",
1821
- "type": "number",
1822
- "title": "maxQuestions"
1823
- },
1824
- "maxLengthQuestionsHeading": {
1825
- "description": "Indicates the maximum length of question rows headings",
1826
- "type": "number",
1827
- "title": "maxLengthQuestionsHeading"
1828
- },
1829
- "maxAnswers": {
1830
- "description": "Indicates the maximum number of answer columns",
1831
- "type": "number",
1832
- "title": "maxAnswers"
1833
- },
1834
- "maxLengthAnswers": {
1835
- "description": "Indicates the maximum length of answer columns headings",
1836
- "type": "number",
1837
- "title": "maxLengthAnswers"
1838
- },
1839
- "maxLengthFirstColumnHeading": {
1840
- "description": "Indicates the maximum length of first column headings",
1841
- "type": "number",
1842
- "title": "maxLengthFirstColumnHeading"
1843
- },
1844
- "width": {
1845
- "description": "How large (in px) should match be",
1846
- "type": "string",
1847
- "title": "width"
1848
- },
1849
- "mathMlOptions": {
1850
- "title": "ConfigureMathMLProp",
1851
- "type": "object",
1852
- "properties": {
1853
- "mmlOutput": {
1854
- "description": "Indicates if model should have mathML output instead of latex",
1855
- "type": "number",
1856
- "title": "mmlOutput"
1857
- },
1858
- "mmlEditing": {
1859
- "description": "Indicates if mathML that's already in model should be editable",
1860
- "type": "number",
1861
- "title": "mmlEditing"
1862
- }
1863
- }
1864
- },
1865
- "language": {
1866
- "title": "ConfigurePropWithEnabled",
1867
- "type": "object",
1868
- "properties": {
1869
- "enabled": {
1870
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
1871
- "type": "boolean",
1872
- "title": "enabled"
1873
- },
1874
- "settings": {
1875
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1876
- "type": "boolean",
1877
- "title": "settings"
1878
- },
1879
- "label": {
1880
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1881
- "type": "string",
1882
- "title": "label"
1883
- }
1884
- }
1885
- },
1886
- "languageChoices": {
1887
- "description": "Language choices configuration\nOnly available if language is enabled",
1888
- "type": "object",
1889
- "properties": {
1890
- "label": {
1891
- "type": "string",
1892
- "title": "label"
1893
- },
1894
- "options": {
1895
- "type": "array",
1896
- "items": {
1897
- "title": "ConfigureLanguageOptionsProp",
1898
- "type": "object",
1899
- "properties": {
1900
- "value": {
1901
- "description": "Value of the language option",
1902
- "type": "string",
1903
- "title": "value"
1904
- },
1905
- "label": {
1906
- "description": "Label of the language option",
1907
- "type": "string",
1908
- "title": "label"
1909
- }
1910
- },
1911
- "required": [
1912
- "label",
1913
- "value"
1914
- ]
1915
- },
1916
- "title": "options"
1917
- }
1918
- },
1919
- "required": [
1920
- "label",
1921
- "options"
1922
- ],
1923
- "title": "languageChoices"
1924
- },
1925
- "showPrompt": {
1926
- "description": "Determines whether prompt field will be displayed or not",
1927
- "default": true,
1928
- "type": "boolean",
1929
- "title": "showPrompt"
1930
- },
1931
- "promptLabel": {
1932
- "description": "The label for the item stem/prompt field",
1933
- "default": "Item Stemm",
1934
- "type": "string",
1935
- "title": "promptLabel"
1936
- },
1937
- "contentDimensions": {
1938
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
1939
- "default": ": {}",
1940
- "type": "object",
1941
- "properties": {
1942
- "maxHeight": {
1943
- "description": "Indicates the max height of the authoring container",
1944
- "default": "undefined",
1945
- "type": [
1946
- "string",
1947
- "number"
1948
- ],
1949
- "title": "maxHeight"
1950
- },
1951
- "maxWidth": {
1952
- "description": "Indicates the max width of the authoring container",
1953
- "default": "undefined",
1954
- "type": [
1955
- "string",
1956
- "number"
1957
- ],
1958
- "title": "maxWidth"
1959
- },
1960
- "minHeight": {
1961
- "description": "Indicates the min height of the authoring container",
1962
- "default": "undefined",
1963
- "type": [
1964
- "string",
1965
- "number"
1966
- ],
1967
- "title": "minHeight"
1968
- },
1969
- "minWidth": {
1970
- "description": "Indicates the min width of the authoring container",
1971
- "default": "undefined",
1972
- "type": [
1973
- "string",
1974
- "number"
1975
- ],
1976
- "title": "minWidth"
1977
- }
1978
- },
1979
- "title": "contentDimensions"
1980
- },
1981
- "settingsPartialScoring": {
1982
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1983
- "default": true,
1984
- "type": "boolean",
1985
- "title": "settingsPartialScoring"
1986
- }
1987
- },
1988
- "required": [
1989
- "width"
1990
- ],
1991
- "definitions": {
1992
- "EditableHtmlConfigureProp": {
1993
- "title": "EditableHtmlConfigureProp",
1994
- "type": "object",
1995
- "properties": {
1996
- "math": {
1997
- "title": "EditableHtmlButtonConfigure",
1998
- "type": "object",
1999
- "properties": {
2000
- "disabled": {
2001
- "description": "Indicates if the plugin is disabled or not",
2002
- "type": "boolean",
2003
- "title": "disabled"
2004
- }
2005
- }
2006
- },
2007
- "audio": {
2008
- "title": "EditableHtmlButtonConfigure",
2009
- "type": "object",
2010
- "properties": {
2011
- "disabled": {
2012
- "description": "Indicates if the plugin is disabled or not",
2013
- "type": "boolean",
2014
- "title": "disabled"
2015
- }
2016
- }
2017
- },
2018
- "video": {
2019
- "title": "EditableHtmlButtonConfigure",
2020
- "type": "object",
2021
- "properties": {
2022
- "disabled": {
2023
- "description": "Indicates if the plugin is disabled or not",
2024
- "type": "boolean",
2025
- "title": "disabled"
2026
- }
2027
- }
2028
- },
2029
- "image": {
2030
- "title": "EditableHtmlButtonConfigure",
2031
- "type": "object",
2032
- "properties": {
2033
- "disabled": {
2034
- "description": "Indicates if the plugin is disabled or not",
2035
- "type": "boolean",
2036
- "title": "disabled"
2037
- }
2038
- }
2039
- },
2040
- "customPlugins": {
2041
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2042
- "type": "array",
2043
- "items": {
2044
- "title": "CustomPlugin",
2045
- "type": "object",
2046
- "properties": {
2047
- "event": {
2048
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2049
- "type": "string",
2050
- "title": "event"
2051
- },
2052
- "iconAlt": {
2053
- "description": "The alt for the custom button icon",
2054
- "type": "string",
2055
- "title": "iconAlt"
2056
- },
2057
- "iconType": {
2058
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2059
- "type": "string",
2060
- "title": "iconType"
2061
- },
2062
- "icon": {
2063
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2064
- "type": "string",
2065
- "title": "icon"
2066
- }
2067
- },
2068
- "required": [
2069
- "event",
2070
- "icon",
2071
- "iconAlt",
2072
- "iconType"
2073
- ]
2074
- },
2075
- "title": "customPlugins"
2076
- },
2077
- "blockquote": {
2078
- "title": "EditableHtmlButtonConfigure",
2079
- "type": "object",
2080
- "properties": {
2081
- "disabled": {
2082
- "description": "Indicates if the plugin is disabled or not",
2083
- "type": "boolean",
2084
- "title": "disabled"
2085
- }
2086
- }
2087
- },
2088
- "h3": {
2089
- "title": "EditableHtmlButtonConfigure",
2090
- "type": "object",
2091
- "properties": {
2092
- "disabled": {
2093
- "description": "Indicates if the plugin is disabled or not",
2094
- "type": "boolean",
2095
- "title": "disabled"
2096
- }
2097
- }
2098
- },
2099
- "characters": {
2100
- "title": "EditableHtmlButtonConfigure",
2101
- "type": "object",
2102
- "properties": {
2103
- "disabled": {
2104
- "description": "Indicates if the plugin is disabled or not",
2105
- "type": "boolean",
2106
- "title": "disabled"
2107
- }
2108
- }
2109
- },
2110
- "bold": {
2111
- "title": "EditableHtmlButtonConfigure",
2112
- "type": "object",
2113
- "properties": {
2114
- "disabled": {
2115
- "description": "Indicates if the plugin is disabled or not",
2116
- "type": "boolean",
2117
- "title": "disabled"
2118
- }
2119
- }
2120
- },
2121
- "html": {
2122
- "title": "EditableHtmlButtonConfigure",
2123
- "type": "object",
2124
- "properties": {
2125
- "disabled": {
2126
- "description": "Indicates if the plugin is disabled or not",
2127
- "type": "boolean",
2128
- "title": "disabled"
2129
- }
2130
- }
2131
- },
2132
- "italic": {
2133
- "title": "EditableHtmlButtonConfigure",
2134
- "type": "object",
2135
- "properties": {
2136
- "disabled": {
2137
- "description": "Indicates if the plugin is disabled or not",
2138
- "type": "boolean",
2139
- "title": "disabled"
2140
- }
2141
- }
2142
- },
2143
- "ol_list": {
2144
- "title": "EditableHtmlButtonConfigure",
2145
- "type": "object",
2146
- "properties": {
2147
- "disabled": {
2148
- "description": "Indicates if the plugin is disabled or not",
2149
- "type": "boolean",
2150
- "title": "disabled"
2151
- }
2152
- }
2153
- },
2154
- "redo": {
2155
- "title": "EditableHtmlButtonConfigure",
2156
- "type": "object",
2157
- "properties": {
2158
- "disabled": {
2159
- "description": "Indicates if the plugin is disabled or not",
2160
- "type": "boolean",
2161
- "title": "disabled"
2162
- }
2163
- }
2164
- },
2165
- "strikethrough": {
2166
- "title": "EditableHtmlButtonConfigure",
2167
- "type": "object",
2168
- "properties": {
2169
- "disabled": {
2170
- "description": "Indicates if the plugin is disabled or not",
2171
- "type": "boolean",
2172
- "title": "disabled"
2173
- }
2174
- }
2175
- },
2176
- "sub": {
2177
- "title": "EditableHtmlButtonConfigure",
2178
- "type": "object",
2179
- "properties": {
2180
- "disabled": {
2181
- "description": "Indicates if the plugin is disabled or not",
2182
- "type": "boolean",
2183
- "title": "disabled"
2184
- }
2185
- }
2186
- },
2187
- "sup": {
2188
- "title": "EditableHtmlButtonConfigure",
2189
- "type": "object",
2190
- "properties": {
2191
- "disabled": {
2192
- "description": "Indicates if the plugin is disabled or not",
2193
- "type": "boolean",
2194
- "title": "disabled"
2195
- }
2196
- }
2197
- },
2198
- "table": {
2199
- "title": "EditableHtmlButtonConfigure",
2200
- "type": "object",
2201
- "properties": {
2202
- "disabled": {
2203
- "description": "Indicates if the plugin is disabled or not",
2204
- "type": "boolean",
2205
- "title": "disabled"
2206
- }
2207
- }
2208
- },
2209
- "ul_list": {
2210
- "title": "EditableHtmlButtonConfigure",
2211
- "type": "object",
2212
- "properties": {
2213
- "disabled": {
2214
- "description": "Indicates if the plugin is disabled or not",
2215
- "type": "boolean",
2216
- "title": "disabled"
2217
- }
2218
- }
2219
- },
2220
- "underline": {
2221
- "title": "EditableHtmlButtonConfigure",
2222
- "type": "object",
2223
- "properties": {
2224
- "disabled": {
2225
- "description": "Indicates if the plugin is disabled or not",
2226
- "type": "boolean",
2227
- "title": "disabled"
2228
- }
2229
- }
2230
- },
2231
- "undo": {
2232
- "title": "EditableHtmlButtonConfigure",
2233
- "type": "object",
2234
- "properties": {
2235
- "disabled": {
2236
- "description": "Indicates if the plugin is disabled or not",
2237
- "type": "boolean",
2238
- "title": "disabled"
2239
- }
2240
- }
2241
- }
2242
- }
2243
- },
2244
- "EditableHtmlButtonConfigure": {
2245
- "title": "EditableHtmlButtonConfigure",
2246
- "type": "object",
2247
- "properties": {
2248
- "disabled": {
2249
- "description": "Indicates if the plugin is disabled or not",
2250
- "type": "boolean",
2251
- "title": "disabled"
2252
- }
2253
- }
2254
- },
2255
- "CustomPlugin": {
2256
- "title": "CustomPlugin",
2257
- "type": "object",
2258
- "properties": {
2259
- "event": {
2260
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2261
- "type": "string",
2262
- "title": "event"
2263
- },
2264
- "iconAlt": {
2265
- "description": "The alt for the custom button icon",
2266
- "type": "string",
2267
- "title": "iconAlt"
2268
- },
2269
- "iconType": {
2270
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2271
- "type": "string",
2272
- "title": "iconType"
2273
- },
2274
- "icon": {
2275
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2276
- "type": "string",
2277
- "title": "icon"
2278
- }
2279
- },
2280
- "required": [
2281
- "event",
2282
- "icon",
2283
- "iconAlt",
2284
- "iconType"
2285
- ]
2286
- },
2287
- "EditableHtmlPluginConfigure": {
2288
- "title": "EditableHtmlPluginConfigure",
2289
- "type": "object",
2290
- "properties": {
2291
- "inputConfiguration": {
2292
- "title": "EditableHtmlConfigureProp",
2293
- "type": "object",
2294
- "properties": {
2295
- "math": {
2296
- "title": "EditableHtmlButtonConfigure",
2297
- "type": "object",
2298
- "properties": {
2299
- "disabled": {
2300
- "description": "Indicates if the plugin is disabled or not",
2301
- "type": "boolean",
2302
- "title": "disabled"
2303
- }
2304
- }
2305
- },
2306
- "audio": {
2307
- "title": "EditableHtmlButtonConfigure",
2308
- "type": "object",
2309
- "properties": {
2310
- "disabled": {
2311
- "description": "Indicates if the plugin is disabled or not",
2312
- "type": "boolean",
2313
- "title": "disabled"
2314
- }
2315
- }
2316
- },
2317
- "video": {
2318
- "title": "EditableHtmlButtonConfigure",
2319
- "type": "object",
2320
- "properties": {
2321
- "disabled": {
2322
- "description": "Indicates if the plugin is disabled or not",
2323
- "type": "boolean",
2324
- "title": "disabled"
2325
- }
2326
- }
2327
- },
2328
- "image": {
2329
- "title": "EditableHtmlButtonConfigure",
2330
- "type": "object",
2331
- "properties": {
2332
- "disabled": {
2333
- "description": "Indicates if the plugin is disabled or not",
2334
- "type": "boolean",
2335
- "title": "disabled"
2336
- }
2337
- }
2338
- },
2339
- "customPlugins": {
2340
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2341
- "type": "array",
2342
- "items": {
2343
- "title": "CustomPlugin",
2344
- "type": "object",
2345
- "properties": {
2346
- "event": {
2347
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2348
- "type": "string",
2349
- "title": "event"
2350
- },
2351
- "iconAlt": {
2352
- "description": "The alt for the custom button icon",
2353
- "type": "string",
2354
- "title": "iconAlt"
2355
- },
2356
- "iconType": {
2357
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2358
- "type": "string",
2359
- "title": "iconType"
2360
- },
2361
- "icon": {
2362
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2363
- "type": "string",
2364
- "title": "icon"
2365
- }
2366
- },
2367
- "required": [
2368
- "event",
2369
- "icon",
2370
- "iconAlt",
2371
- "iconType"
2372
- ]
2373
- },
2374
- "title": "customPlugins"
2375
- },
2376
- "blockquote": {
2377
- "title": "EditableHtmlButtonConfigure",
2378
- "type": "object",
2379
- "properties": {
2380
- "disabled": {
2381
- "description": "Indicates if the plugin is disabled or not",
2382
- "type": "boolean",
2383
- "title": "disabled"
2384
- }
2385
- }
2386
- },
2387
- "h3": {
2388
- "title": "EditableHtmlButtonConfigure",
2389
- "type": "object",
2390
- "properties": {
2391
- "disabled": {
2392
- "description": "Indicates if the plugin is disabled or not",
2393
- "type": "boolean",
2394
- "title": "disabled"
2395
- }
2396
- }
2397
- },
2398
- "characters": {
2399
- "title": "EditableHtmlButtonConfigure",
2400
- "type": "object",
2401
- "properties": {
2402
- "disabled": {
2403
- "description": "Indicates if the plugin is disabled or not",
2404
- "type": "boolean",
2405
- "title": "disabled"
2406
- }
2407
- }
2408
- },
2409
- "bold": {
2410
- "title": "EditableHtmlButtonConfigure",
2411
- "type": "object",
2412
- "properties": {
2413
- "disabled": {
2414
- "description": "Indicates if the plugin is disabled or not",
2415
- "type": "boolean",
2416
- "title": "disabled"
2417
- }
2418
- }
2419
- },
2420
- "html": {
2421
- "title": "EditableHtmlButtonConfigure",
2422
- "type": "object",
2423
- "properties": {
2424
- "disabled": {
2425
- "description": "Indicates if the plugin is disabled or not",
2426
- "type": "boolean",
2427
- "title": "disabled"
2428
- }
2429
- }
2430
- },
2431
- "italic": {
2432
- "title": "EditableHtmlButtonConfigure",
2433
- "type": "object",
2434
- "properties": {
2435
- "disabled": {
2436
- "description": "Indicates if the plugin is disabled or not",
2437
- "type": "boolean",
2438
- "title": "disabled"
2439
- }
2440
- }
2441
- },
2442
- "ol_list": {
2443
- "title": "EditableHtmlButtonConfigure",
2444
- "type": "object",
2445
- "properties": {
2446
- "disabled": {
2447
- "description": "Indicates if the plugin is disabled or not",
2448
- "type": "boolean",
2449
- "title": "disabled"
2450
- }
2451
- }
2452
- },
2453
- "redo": {
2454
- "title": "EditableHtmlButtonConfigure",
2455
- "type": "object",
2456
- "properties": {
2457
- "disabled": {
2458
- "description": "Indicates if the plugin is disabled or not",
2459
- "type": "boolean",
2460
- "title": "disabled"
2461
- }
2462
- }
2463
- },
2464
- "strikethrough": {
2465
- "title": "EditableHtmlButtonConfigure",
2466
- "type": "object",
2467
- "properties": {
2468
- "disabled": {
2469
- "description": "Indicates if the plugin is disabled or not",
2470
- "type": "boolean",
2471
- "title": "disabled"
2472
- }
2473
- }
2474
- },
2475
- "sub": {
2476
- "title": "EditableHtmlButtonConfigure",
2477
- "type": "object",
2478
- "properties": {
2479
- "disabled": {
2480
- "description": "Indicates if the plugin is disabled or not",
2481
- "type": "boolean",
2482
- "title": "disabled"
2483
- }
2484
- }
2485
- },
2486
- "sup": {
2487
- "title": "EditableHtmlButtonConfigure",
2488
- "type": "object",
2489
- "properties": {
2490
- "disabled": {
2491
- "description": "Indicates if the plugin is disabled or not",
2492
- "type": "boolean",
2493
- "title": "disabled"
2494
- }
2495
- }
2496
- },
2497
- "table": {
2498
- "title": "EditableHtmlButtonConfigure",
2499
- "type": "object",
2500
- "properties": {
2501
- "disabled": {
2502
- "description": "Indicates if the plugin is disabled or not",
2503
- "type": "boolean",
2504
- "title": "disabled"
2505
- }
2506
- }
2507
- },
2508
- "ul_list": {
2509
- "title": "EditableHtmlButtonConfigure",
2510
- "type": "object",
2511
- "properties": {
2512
- "disabled": {
2513
- "description": "Indicates if the plugin is disabled or not",
2514
- "type": "boolean",
2515
- "title": "disabled"
2516
- }
2517
- }
2518
- },
2519
- "underline": {
2520
- "title": "EditableHtmlButtonConfigure",
2521
- "type": "object",
2522
- "properties": {
2523
- "disabled": {
2524
- "description": "Indicates if the plugin is disabled or not",
2525
- "type": "boolean",
2526
- "title": "disabled"
2527
- }
2528
- }
2529
- },
2530
- "undo": {
2531
- "title": "EditableHtmlButtonConfigure",
2532
- "type": "object",
2533
- "properties": {
2534
- "disabled": {
2535
- "description": "Indicates if the plugin is disabled or not",
2536
- "type": "boolean",
2537
- "title": "disabled"
2538
- }
2539
- }
2540
- }
2541
- }
2542
- },
2543
- "settings": {
2544
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2545
- "type": "boolean",
2546
- "title": "settings"
2547
- },
2548
- "label": {
2549
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2550
- "type": "string",
2551
- "title": "label"
2552
- }
2553
- }
2554
- },
2555
- "ConfigureProp": {
2556
- "title": "ConfigureProp",
2557
- "type": "object",
2558
- "properties": {
2559
- "settings": {
2560
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2561
- "type": "boolean",
2562
- "title": "settings"
2563
- },
2564
- "label": {
2565
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2566
- "type": "string",
2567
- "title": "label"
2568
- }
2569
- }
2570
- },
2571
- "EditableHtmlPluginConfigureRequired": {
2572
- "title": "EditableHtmlPluginConfigureRequired",
2573
- "type": "object",
2574
- "properties": {
2575
- "inputConfiguration": {
2576
- "title": "EditableHtmlConfigureProp",
2577
- "type": "object",
2578
- "properties": {
2579
- "math": {
2580
- "title": "EditableHtmlButtonConfigure",
2581
- "type": "object",
2582
- "properties": {
2583
- "disabled": {
2584
- "description": "Indicates if the plugin is disabled or not",
2585
- "type": "boolean",
2586
- "title": "disabled"
2587
- }
2588
- }
2589
- },
2590
- "audio": {
2591
- "title": "EditableHtmlButtonConfigure",
2592
- "type": "object",
2593
- "properties": {
2594
- "disabled": {
2595
- "description": "Indicates if the plugin is disabled or not",
2596
- "type": "boolean",
2597
- "title": "disabled"
2598
- }
2599
- }
2600
- },
2601
- "video": {
2602
- "title": "EditableHtmlButtonConfigure",
2603
- "type": "object",
2604
- "properties": {
2605
- "disabled": {
2606
- "description": "Indicates if the plugin is disabled or not",
2607
- "type": "boolean",
2608
- "title": "disabled"
2609
- }
2610
- }
2611
- },
2612
- "image": {
2613
- "title": "EditableHtmlButtonConfigure",
2614
- "type": "object",
2615
- "properties": {
2616
- "disabled": {
2617
- "description": "Indicates if the plugin is disabled or not",
2618
- "type": "boolean",
2619
- "title": "disabled"
2620
- }
2621
- }
2622
- },
2623
- "customPlugins": {
2624
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
2625
- "type": "array",
2626
- "items": {
2627
- "title": "CustomPlugin",
2628
- "type": "object",
2629
- "properties": {
2630
- "event": {
2631
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
2632
- "type": "string",
2633
- "title": "event"
2634
- },
2635
- "iconAlt": {
2636
- "description": "The alt for the custom button icon",
2637
- "type": "string",
2638
- "title": "iconAlt"
2639
- },
2640
- "iconType": {
2641
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2642
- "type": "string",
2643
- "title": "iconType"
2644
- },
2645
- "icon": {
2646
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2647
- "type": "string",
2648
- "title": "icon"
2649
- }
2650
- },
2651
- "required": [
2652
- "event",
2653
- "icon",
2654
- "iconAlt",
2655
- "iconType"
2656
- ]
2657
- },
2658
- "title": "customPlugins"
2659
- },
2660
- "blockquote": {
2661
- "title": "EditableHtmlButtonConfigure",
2662
- "type": "object",
2663
- "properties": {
2664
- "disabled": {
2665
- "description": "Indicates if the plugin is disabled or not",
2666
- "type": "boolean",
2667
- "title": "disabled"
2668
- }
2669
- }
2670
- },
2671
- "h3": {
2672
- "title": "EditableHtmlButtonConfigure",
2673
- "type": "object",
2674
- "properties": {
2675
- "disabled": {
2676
- "description": "Indicates if the plugin is disabled or not",
2677
- "type": "boolean",
2678
- "title": "disabled"
2679
- }
2680
- }
2681
- },
2682
- "characters": {
2683
- "title": "EditableHtmlButtonConfigure",
2684
- "type": "object",
2685
- "properties": {
2686
- "disabled": {
2687
- "description": "Indicates if the plugin is disabled or not",
2688
- "type": "boolean",
2689
- "title": "disabled"
2690
- }
2691
- }
2692
- },
2693
- "bold": {
2694
- "title": "EditableHtmlButtonConfigure",
2695
- "type": "object",
2696
- "properties": {
2697
- "disabled": {
2698
- "description": "Indicates if the plugin is disabled or not",
2699
- "type": "boolean",
2700
- "title": "disabled"
2701
- }
2702
- }
2703
- },
2704
- "html": {
2705
- "title": "EditableHtmlButtonConfigure",
2706
- "type": "object",
2707
- "properties": {
2708
- "disabled": {
2709
- "description": "Indicates if the plugin is disabled or not",
2710
- "type": "boolean",
2711
- "title": "disabled"
2712
- }
2713
- }
2714
- },
2715
- "italic": {
2716
- "title": "EditableHtmlButtonConfigure",
2717
- "type": "object",
2718
- "properties": {
2719
- "disabled": {
2720
- "description": "Indicates if the plugin is disabled or not",
2721
- "type": "boolean",
2722
- "title": "disabled"
2723
- }
2724
- }
2725
- },
2726
- "ol_list": {
2727
- "title": "EditableHtmlButtonConfigure",
2728
- "type": "object",
2729
- "properties": {
2730
- "disabled": {
2731
- "description": "Indicates if the plugin is disabled or not",
2732
- "type": "boolean",
2733
- "title": "disabled"
2734
- }
2735
- }
2736
- },
2737
- "redo": {
2738
- "title": "EditableHtmlButtonConfigure",
2739
- "type": "object",
2740
- "properties": {
2741
- "disabled": {
2742
- "description": "Indicates if the plugin is disabled or not",
2743
- "type": "boolean",
2744
- "title": "disabled"
2745
- }
2746
- }
2747
- },
2748
- "strikethrough": {
2749
- "title": "EditableHtmlButtonConfigure",
2750
- "type": "object",
2751
- "properties": {
2752
- "disabled": {
2753
- "description": "Indicates if the plugin is disabled or not",
2754
- "type": "boolean",
2755
- "title": "disabled"
2756
- }
2757
- }
2758
- },
2759
- "sub": {
2760
- "title": "EditableHtmlButtonConfigure",
2761
- "type": "object",
2762
- "properties": {
2763
- "disabled": {
2764
- "description": "Indicates if the plugin is disabled or not",
2765
- "type": "boolean",
2766
- "title": "disabled"
2767
- }
2768
- }
2769
- },
2770
- "sup": {
2771
- "title": "EditableHtmlButtonConfigure",
2772
- "type": "object",
2773
- "properties": {
2774
- "disabled": {
2775
- "description": "Indicates if the plugin is disabled or not",
2776
- "type": "boolean",
2777
- "title": "disabled"
2778
- }
2779
- }
2780
- },
2781
- "table": {
2782
- "title": "EditableHtmlButtonConfigure",
2783
- "type": "object",
2784
- "properties": {
2785
- "disabled": {
2786
- "description": "Indicates if the plugin is disabled or not",
2787
- "type": "boolean",
2788
- "title": "disabled"
2789
- }
2790
- }
2791
- },
2792
- "ul_list": {
2793
- "title": "EditableHtmlButtonConfigure",
2794
- "type": "object",
2795
- "properties": {
2796
- "disabled": {
2797
- "description": "Indicates if the plugin is disabled or not",
2798
- "type": "boolean",
2799
- "title": "disabled"
2800
- }
2801
- }
2802
- },
2803
- "underline": {
2804
- "title": "EditableHtmlButtonConfigure",
2805
- "type": "object",
2806
- "properties": {
2807
- "disabled": {
2808
- "description": "Indicates if the plugin is disabled or not",
2809
- "type": "boolean",
2810
- "title": "disabled"
2811
- }
2812
- }
2813
- },
2814
- "undo": {
2815
- "title": "EditableHtmlButtonConfigure",
2816
- "type": "object",
2817
- "properties": {
2818
- "disabled": {
2819
- "description": "Indicates if the plugin is disabled or not",
2820
- "type": "boolean",
2821
- "title": "disabled"
2822
- }
2823
- }
2824
- }
2825
- }
2826
- },
2827
- "required": {
2828
- "description": "Indicates if the item is required and the value cannot be empty",
2829
- "type": "boolean",
2830
- "title": "required"
2831
- },
2832
- "settings": {
2833
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2834
- "type": "boolean",
2835
- "title": "settings"
2836
- },
2837
- "label": {
2838
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2839
- "type": "string",
2840
- "title": "label"
2841
- }
2842
- }
2843
- },
2844
- "ConfigureMaxImageDimensionsProp": {
2845
- "title": "ConfigureMaxImageDimensionsProp",
2846
- "type": "object",
2847
- "properties": {
2848
- "teacherInstructions": {
2849
- "description": "Indicates the max dimension for images in teacher instructions",
2850
- "type": "number",
2851
- "title": "teacherInstructions"
2852
- },
2853
- "prompt": {
2854
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
2855
- "type": "number",
2856
- "title": "prompt"
2857
- },
2858
- "rationale": {
2859
- "description": "Indicates the max dimension for images in rationale",
2860
- "type": "number",
2861
- "title": "rationale"
2862
- },
2863
- "rowTitles": {
2864
- "description": "Indicates the max dimension for images in row labels",
2865
- "type": "number",
2866
- "title": "rowTitles"
2867
- }
2868
- }
2869
- },
2870
- "ConfigureMathMLProp": {
2871
- "title": "ConfigureMathMLProp",
2872
- "type": "object",
2873
- "properties": {
2874
- "mmlOutput": {
2875
- "description": "Indicates if model should have mathML output instead of latex",
2876
- "type": "number",
2877
- "title": "mmlOutput"
2878
- },
2879
- "mmlEditing": {
2880
- "description": "Indicates if mathML that's already in model should be editable",
2881
- "type": "number",
2882
- "title": "mmlEditing"
2883
- }
2884
- }
2885
- },
2886
- "ConfigurePropWithEnabled": {
2887
- "title": "ConfigurePropWithEnabled",
2888
- "type": "object",
2889
- "properties": {
2890
- "enabled": {
2891
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
2892
- "type": "boolean",
2893
- "title": "enabled"
2894
- },
2895
- "settings": {
2896
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2897
- "type": "boolean",
2898
- "title": "settings"
2899
- },
2900
- "label": {
2901
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2902
- "type": "string",
2903
- "title": "label"
2904
- }
2905
- }
2906
- },
2907
- "ConfigureLanguageOptionsProp": {
2908
- "title": "ConfigureLanguageOptionsProp",
2909
- "type": "object",
2910
- "properties": {
2911
- "value": {
2912
- "description": "Value of the language option",
2913
- "type": "string",
2914
- "title": "value"
2915
- },
2916
- "label": {
2917
- "description": "Label of the language option",
2918
- "type": "string",
2919
- "title": "label"
2920
- }
2921
- },
2922
- "required": [
2923
- "label",
2924
- "value"
2925
- ]
2926
- }
2927
- },
2928
- "$schema": "http://json-schema.org/draft-07/schema#"
2929
- }