@pie-element/multiple-choice 13.5.0-beta.7 → 14.0.0-next.20261002094057

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