@pie-element/explicit-constructed-response 11.1.2-next.2 → 11.1.2

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