@pie-element/complex-rubric 7.1.0-next.19 → 7.1.1-next.0

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 (118) hide show
  1. package/dist/author/defaults.d.ts +231 -0
  2. package/dist/author/defaults.js +177 -0
  3. package/dist/author/index.d.ts +34 -0
  4. package/dist/author/index.js +87 -0
  5. package/dist/author/main.d.ts +23 -0
  6. package/dist/author/main.js +106 -0
  7. package/dist/controller/defaults.d.ts +39 -0
  8. package/dist/controller/defaults.js +42 -0
  9. package/dist/controller/index.d.ts +25 -0
  10. package/dist/controller/index.js +107 -0
  11. package/dist/controller/utils.d.ts +9 -0
  12. package/dist/controller/utils.js +4 -0
  13. package/dist/delivery/index.d.ts +23 -0
  14. package/dist/delivery/index.js +96 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.iife.d.ts +8 -0
  17. package/dist/index.iife.js +145 -0
  18. package/dist/index.js +2 -0
  19. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  20. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  21. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  22. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  23. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  24. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  25. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  26. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  27. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  28. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  64. package/dist/print/index.d.ts +24 -0
  65. package/dist/print/index.js +84 -0
  66. package/package.json +58 -21
  67. package/CHANGELOG.md +0 -1431
  68. package/LICENSE.md +0 -5
  69. package/README.md +0 -3
  70. package/configure/CHANGELOG.md +0 -1085
  71. package/configure/lib/defaults.js +0 -271
  72. package/configure/lib/defaults.js.map +0 -1
  73. package/configure/lib/index.js +0 -150
  74. package/configure/lib/index.js.map +0 -1
  75. package/configure/lib/main.js +0 -172
  76. package/configure/lib/main.js.map +0 -1
  77. package/configure/package.json +0 -27
  78. package/configure/src/__tests__/index.test.js +0 -94
  79. package/configure/src/__tests__/main.test.jsx +0 -140
  80. package/configure/src/defaults.js +0 -213
  81. package/configure/src/index.js +0 -169
  82. package/configure/src/main.jsx +0 -162
  83. package/controller/CHANGELOG.md +0 -928
  84. package/controller/lib/defaults.js +0 -42
  85. package/controller/lib/defaults.js.map +0 -1
  86. package/controller/lib/index.js +0 -239
  87. package/controller/lib/index.js.map +0 -1
  88. package/controller/lib/utils.js +0 -11
  89. package/controller/lib/utils.js.map +0 -1
  90. package/controller/package.json +0 -16
  91. package/controller/src/__tests__/index.test.js +0 -55
  92. package/controller/src/defaults.js +0 -39
  93. package/controller/src/index.js +0 -220
  94. package/controller/src/utils.js +0 -3
  95. package/docs/config-schema.json +0 -4255
  96. package/docs/config-schema.json.md +0 -3162
  97. package/docs/demo/config.js +0 -8
  98. package/docs/demo/generate.js +0 -196
  99. package/docs/demo/index.html +0 -1
  100. package/docs/demo/session.js +0 -6
  101. package/docs/pie-schema.json +0 -3302
  102. package/docs/pie-schema.json.md +0 -2364
  103. package/lib/index.js +0 -141
  104. package/lib/index.js.map +0 -1
  105. package/lib/print.js +0 -129
  106. package/lib/print.js.map +0 -1
  107. package/module/configure.js +0 -1
  108. package/module/controller.js +0 -262
  109. package/module/demo.js +0 -221
  110. package/module/element.js +0 -1
  111. package/module/index.html +0 -21
  112. package/module/manifest.json +0 -22
  113. package/module/print-demo.js +0 -259
  114. package/module/print.html +0 -18
  115. package/module/print.js +0 -1
  116. package/src/__tests__/index.test.js +0 -256
  117. package/src/index.js +0 -152
  118. package/src/print.js +0 -140
@@ -1,4255 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "width": {
5
- "description": "How large should complex-rubric be",
6
- "type": "string",
7
- "title": "width"
8
- },
9
- "rubricOptions": {
10
- "description": "Contains the available rubric types",
11
- "type": "array",
12
- "items": {
13
- "type": "string"
14
- },
15
- "title": "rubricOptions"
16
- },
17
- "simpleRubric": {
18
- "title": "RubricConfigure",
19
- "type": "object",
20
- "properties": {
21
- "baseInputConfiguration": {
22
- "title": "EditableHtmlConfigureProp",
23
- "type": "object",
24
- "properties": {
25
- "math": {
26
- "title": "EditableHtmlButtonConfigure",
27
- "type": "object",
28
- "properties": {
29
- "disabled": {
30
- "description": "Indicates if the plugin is disabled or not",
31
- "type": "boolean",
32
- "title": "disabled"
33
- }
34
- }
35
- },
36
- "audio": {
37
- "title": "EditableHtmlButtonConfigure",
38
- "type": "object",
39
- "properties": {
40
- "disabled": {
41
- "description": "Indicates if the plugin is disabled or not",
42
- "type": "boolean",
43
- "title": "disabled"
44
- }
45
- }
46
- },
47
- "video": {
48
- "title": "EditableHtmlButtonConfigure",
49
- "type": "object",
50
- "properties": {
51
- "disabled": {
52
- "description": "Indicates if the plugin is disabled or not",
53
- "type": "boolean",
54
- "title": "disabled"
55
- }
56
- }
57
- },
58
- "image": {
59
- "title": "EditableHtmlButtonConfigure",
60
- "type": "object",
61
- "properties": {
62
- "disabled": {
63
- "description": "Indicates if the plugin is disabled or not",
64
- "type": "boolean",
65
- "title": "disabled"
66
- }
67
- }
68
- },
69
- "customPlugins": {
70
- "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.",
71
- "type": "array",
72
- "items": {
73
- "title": "CustomPlugin",
74
- "type": "object",
75
- "properties": {
76
- "event": {
77
- "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\"",
78
- "type": "string",
79
- "title": "event"
80
- },
81
- "iconAlt": {
82
- "description": "The alt for the custom button icon",
83
- "type": "string",
84
- "title": "iconAlt"
85
- },
86
- "iconType": {
87
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
88
- "type": "string",
89
- "title": "iconType"
90
- },
91
- "icon": {
92
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
93
- "type": "string",
94
- "title": "icon"
95
- }
96
- },
97
- "required": [
98
- "event",
99
- "icon",
100
- "iconAlt",
101
- "iconType"
102
- ]
103
- },
104
- "title": "customPlugins"
105
- },
106
- "blockquote": {
107
- "title": "EditableHtmlButtonConfigure",
108
- "type": "object",
109
- "properties": {
110
- "disabled": {
111
- "description": "Indicates if the plugin is disabled or not",
112
- "type": "boolean",
113
- "title": "disabled"
114
- }
115
- }
116
- },
117
- "h3": {
118
- "title": "EditableHtmlButtonConfigure",
119
- "type": "object",
120
- "properties": {
121
- "disabled": {
122
- "description": "Indicates if the plugin is disabled or not",
123
- "type": "boolean",
124
- "title": "disabled"
125
- }
126
- }
127
- },
128
- "characters": {
129
- "title": "EditableHtmlButtonConfigure",
130
- "type": "object",
131
- "properties": {
132
- "disabled": {
133
- "description": "Indicates if the plugin is disabled or not",
134
- "type": "boolean",
135
- "title": "disabled"
136
- }
137
- }
138
- },
139
- "bold": {
140
- "title": "EditableHtmlButtonConfigure",
141
- "type": "object",
142
- "properties": {
143
- "disabled": {
144
- "description": "Indicates if the plugin is disabled or not",
145
- "type": "boolean",
146
- "title": "disabled"
147
- }
148
- }
149
- },
150
- "html": {
151
- "title": "EditableHtmlButtonConfigure",
152
- "type": "object",
153
- "properties": {
154
- "disabled": {
155
- "description": "Indicates if the plugin is disabled or not",
156
- "type": "boolean",
157
- "title": "disabled"
158
- }
159
- }
160
- },
161
- "italic": {
162
- "title": "EditableHtmlButtonConfigure",
163
- "type": "object",
164
- "properties": {
165
- "disabled": {
166
- "description": "Indicates if the plugin is disabled or not",
167
- "type": "boolean",
168
- "title": "disabled"
169
- }
170
- }
171
- },
172
- "ol_list": {
173
- "title": "EditableHtmlButtonConfigure",
174
- "type": "object",
175
- "properties": {
176
- "disabled": {
177
- "description": "Indicates if the plugin is disabled or not",
178
- "type": "boolean",
179
- "title": "disabled"
180
- }
181
- }
182
- },
183
- "redo": {
184
- "title": "EditableHtmlButtonConfigure",
185
- "type": "object",
186
- "properties": {
187
- "disabled": {
188
- "description": "Indicates if the plugin is disabled or not",
189
- "type": "boolean",
190
- "title": "disabled"
191
- }
192
- }
193
- },
194
- "strikethrough": {
195
- "title": "EditableHtmlButtonConfigure",
196
- "type": "object",
197
- "properties": {
198
- "disabled": {
199
- "description": "Indicates if the plugin is disabled or not",
200
- "type": "boolean",
201
- "title": "disabled"
202
- }
203
- }
204
- },
205
- "sub": {
206
- "title": "EditableHtmlButtonConfigure",
207
- "type": "object",
208
- "properties": {
209
- "disabled": {
210
- "description": "Indicates if the plugin is disabled or not",
211
- "type": "boolean",
212
- "title": "disabled"
213
- }
214
- }
215
- },
216
- "sup": {
217
- "title": "EditableHtmlButtonConfigure",
218
- "type": "object",
219
- "properties": {
220
- "disabled": {
221
- "description": "Indicates if the plugin is disabled or not",
222
- "type": "boolean",
223
- "title": "disabled"
224
- }
225
- }
226
- },
227
- "table": {
228
- "title": "EditableHtmlButtonConfigure",
229
- "type": "object",
230
- "properties": {
231
- "disabled": {
232
- "description": "Indicates if the plugin is disabled or not",
233
- "type": "boolean",
234
- "title": "disabled"
235
- }
236
- }
237
- },
238
- "ul_list": {
239
- "title": "EditableHtmlButtonConfigure",
240
- "type": "object",
241
- "properties": {
242
- "disabled": {
243
- "description": "Indicates if the plugin is disabled or not",
244
- "type": "boolean",
245
- "title": "disabled"
246
- }
247
- }
248
- },
249
- "underline": {
250
- "title": "EditableHtmlButtonConfigure",
251
- "type": "object",
252
- "properties": {
253
- "disabled": {
254
- "description": "Indicates if the plugin is disabled or not",
255
- "type": "boolean",
256
- "title": "disabled"
257
- }
258
- }
259
- },
260
- "undo": {
261
- "title": "EditableHtmlButtonConfigure",
262
- "type": "object",
263
- "properties": {
264
- "disabled": {
265
- "description": "Indicates if the plugin is disabled or not",
266
- "type": "boolean",
267
- "title": "disabled"
268
- }
269
- }
270
- }
271
- }
272
- },
273
- "settingsPanelDisabled": {
274
- "description": "Indicates if the settings panel is not available",
275
- "type": "boolean",
276
- "title": "settingsPanelDisabled"
277
- },
278
- "showExcludeZero": {
279
- "title": "ConfigureProp",
280
- "type": "object",
281
- "properties": {
282
- "settings": {
283
- "description": "Indicates if the item has to be displayed in the Settings Panel",
284
- "type": "boolean",
285
- "title": "settings"
286
- },
287
- "label": {
288
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
289
- "type": "string",
290
- "title": "label"
291
- }
292
- }
293
- },
294
- "showMaxPoint": {
295
- "title": "ConfigureProp",
296
- "type": "object",
297
- "properties": {
298
- "settings": {
299
- "description": "Indicates if the item has to be displayed in the Settings Panel",
300
- "type": "boolean",
301
- "title": "settings"
302
- },
303
- "label": {
304
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
305
- "type": "string",
306
- "title": "label"
307
- }
308
- }
309
- },
310
- "width": {
311
- "description": "How large can the rubric be",
312
- "type": "string",
313
- "title": "width"
314
- },
315
- "mathMlOptions": {
316
- "title": "ConfigureMathMLProp",
317
- "type": "object",
318
- "properties": {
319
- "mmlOutput": {
320
- "description": "Indicates if model should have mathML output instead of latex",
321
- "type": "number",
322
- "title": "mmlOutput"
323
- },
324
- "mmlEditing": {
325
- "description": "Indicates if mathML that's already in model should be editable",
326
- "type": "number",
327
- "title": "mmlEditing"
328
- }
329
- }
330
- },
331
- "maxMaxPoints": {
332
- "description": "Indicates the max limit for scoring points",
333
- "type": "number",
334
- "title": "maxMaxPoints"
335
- },
336
- "showPrompt": {
337
- "description": "Determines whether prompt field will be displayed or not",
338
- "default": true,
339
- "type": "boolean",
340
- "title": "showPrompt"
341
- },
342
- "promptLabel": {
343
- "description": "The label for the item stem/prompt field",
344
- "default": "Item Stemm",
345
- "type": "string",
346
- "title": "promptLabel"
347
- },
348
- "contentDimensions": {
349
- "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",
350
- "default": ": {}",
351
- "type": "object",
352
- "properties": {
353
- "maxHeight": {
354
- "description": "Indicates the max height of the authoring container",
355
- "default": "undefined",
356
- "type": [
357
- "string",
358
- "number"
359
- ],
360
- "title": "maxHeight"
361
- },
362
- "maxWidth": {
363
- "description": "Indicates the max width of the authoring container",
364
- "default": "undefined",
365
- "type": [
366
- "string",
367
- "number"
368
- ],
369
- "title": "maxWidth"
370
- },
371
- "minHeight": {
372
- "description": "Indicates the min height of the authoring container",
373
- "default": "undefined",
374
- "type": [
375
- "string",
376
- "number"
377
- ],
378
- "title": "minHeight"
379
- },
380
- "minWidth": {
381
- "description": "Indicates the min width of the authoring container",
382
- "default": "undefined",
383
- "type": [
384
- "string",
385
- "number"
386
- ],
387
- "title": "minWidth"
388
- }
389
- },
390
- "title": "contentDimensions"
391
- },
392
- "settingsPartialScoring": {
393
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
394
- "default": true,
395
- "type": "boolean",
396
- "title": "settingsPartialScoring"
397
- }
398
- }
399
- },
400
- "multiTraitRubric": {
401
- "description": "Config Object for @pie-elements/multi-trait-rubric",
402
- "additionalProperties": false,
403
- "title": "MultiTraitRubricConfigure",
404
- "type": "object",
405
- "properties": {
406
- "baseInputConfiguration": {
407
- "title": "EditableHtmlConfigureProp",
408
- "type": "object",
409
- "properties": {
410
- "math": {
411
- "title": "EditableHtmlButtonConfigure",
412
- "type": "object",
413
- "properties": {
414
- "disabled": {
415
- "description": "Indicates if the plugin is disabled or not",
416
- "type": "boolean",
417
- "title": "disabled"
418
- }
419
- }
420
- },
421
- "audio": {
422
- "title": "EditableHtmlButtonConfigure",
423
- "type": "object",
424
- "properties": {
425
- "disabled": {
426
- "description": "Indicates if the plugin is disabled or not",
427
- "type": "boolean",
428
- "title": "disabled"
429
- }
430
- }
431
- },
432
- "video": {
433
- "title": "EditableHtmlButtonConfigure",
434
- "type": "object",
435
- "properties": {
436
- "disabled": {
437
- "description": "Indicates if the plugin is disabled or not",
438
- "type": "boolean",
439
- "title": "disabled"
440
- }
441
- }
442
- },
443
- "image": {
444
- "title": "EditableHtmlButtonConfigure",
445
- "type": "object",
446
- "properties": {
447
- "disabled": {
448
- "description": "Indicates if the plugin is disabled or not",
449
- "type": "boolean",
450
- "title": "disabled"
451
- }
452
- }
453
- },
454
- "customPlugins": {
455
- "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.",
456
- "type": "array",
457
- "items": {
458
- "title": "CustomPlugin",
459
- "type": "object",
460
- "properties": {
461
- "event": {
462
- "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\"",
463
- "type": "string",
464
- "title": "event"
465
- },
466
- "iconAlt": {
467
- "description": "The alt for the custom button icon",
468
- "type": "string",
469
- "title": "iconAlt"
470
- },
471
- "iconType": {
472
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
473
- "type": "string",
474
- "title": "iconType"
475
- },
476
- "icon": {
477
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
478
- "type": "string",
479
- "title": "icon"
480
- }
481
- },
482
- "required": [
483
- "event",
484
- "icon",
485
- "iconAlt",
486
- "iconType"
487
- ]
488
- },
489
- "title": "customPlugins"
490
- },
491
- "blockquote": {
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
- "h3": {
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
- "characters": {
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
- "bold": {
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
- "html": {
536
- "title": "EditableHtmlButtonConfigure",
537
- "type": "object",
538
- "properties": {
539
- "disabled": {
540
- "description": "Indicates if the plugin is disabled or not",
541
- "type": "boolean",
542
- "title": "disabled"
543
- }
544
- }
545
- },
546
- "italic": {
547
- "title": "EditableHtmlButtonConfigure",
548
- "type": "object",
549
- "properties": {
550
- "disabled": {
551
- "description": "Indicates if the plugin is disabled or not",
552
- "type": "boolean",
553
- "title": "disabled"
554
- }
555
- }
556
- },
557
- "ol_list": {
558
- "title": "EditableHtmlButtonConfigure",
559
- "type": "object",
560
- "properties": {
561
- "disabled": {
562
- "description": "Indicates if the plugin is disabled or not",
563
- "type": "boolean",
564
- "title": "disabled"
565
- }
566
- }
567
- },
568
- "redo": {
569
- "title": "EditableHtmlButtonConfigure",
570
- "type": "object",
571
- "properties": {
572
- "disabled": {
573
- "description": "Indicates if the plugin is disabled or not",
574
- "type": "boolean",
575
- "title": "disabled"
576
- }
577
- }
578
- },
579
- "strikethrough": {
580
- "title": "EditableHtmlButtonConfigure",
581
- "type": "object",
582
- "properties": {
583
- "disabled": {
584
- "description": "Indicates if the plugin is disabled or not",
585
- "type": "boolean",
586
- "title": "disabled"
587
- }
588
- }
589
- },
590
- "sub": {
591
- "title": "EditableHtmlButtonConfigure",
592
- "type": "object",
593
- "properties": {
594
- "disabled": {
595
- "description": "Indicates if the plugin is disabled or not",
596
- "type": "boolean",
597
- "title": "disabled"
598
- }
599
- }
600
- },
601
- "sup": {
602
- "title": "EditableHtmlButtonConfigure",
603
- "type": "object",
604
- "properties": {
605
- "disabled": {
606
- "description": "Indicates if the plugin is disabled or not",
607
- "type": "boolean",
608
- "title": "disabled"
609
- }
610
- }
611
- },
612
- "table": {
613
- "title": "EditableHtmlButtonConfigure",
614
- "type": "object",
615
- "properties": {
616
- "disabled": {
617
- "description": "Indicates if the plugin is disabled or not",
618
- "type": "boolean",
619
- "title": "disabled"
620
- }
621
- }
622
- },
623
- "ul_list": {
624
- "title": "EditableHtmlButtonConfigure",
625
- "type": "object",
626
- "properties": {
627
- "disabled": {
628
- "description": "Indicates if the plugin is disabled or not",
629
- "type": "boolean",
630
- "title": "disabled"
631
- }
632
- }
633
- },
634
- "underline": {
635
- "title": "EditableHtmlButtonConfigure",
636
- "type": "object",
637
- "properties": {
638
- "disabled": {
639
- "description": "Indicates if the plugin is disabled or not",
640
- "type": "boolean",
641
- "title": "disabled"
642
- }
643
- }
644
- },
645
- "undo": {
646
- "title": "EditableHtmlButtonConfigure",
647
- "type": "object",
648
- "properties": {
649
- "disabled": {
650
- "description": "Indicates if the plugin is disabled or not",
651
- "type": "boolean",
652
- "title": "disabled"
653
- }
654
- }
655
- }
656
- }
657
- },
658
- "expandedInput": {
659
- "title": "EditableHtmlPluginConfigure",
660
- "type": "object",
661
- "properties": {
662
- "inputConfiguration": {
663
- "title": "EditableHtmlConfigureProp",
664
- "type": "object",
665
- "properties": {
666
- "math": {
667
- "title": "EditableHtmlButtonConfigure",
668
- "type": "object",
669
- "properties": {
670
- "disabled": {
671
- "description": "Indicates if the plugin is disabled or not",
672
- "type": "boolean",
673
- "title": "disabled"
674
- }
675
- }
676
- },
677
- "audio": {
678
- "title": "EditableHtmlButtonConfigure",
679
- "type": "object",
680
- "properties": {
681
- "disabled": {
682
- "description": "Indicates if the plugin is disabled or not",
683
- "type": "boolean",
684
- "title": "disabled"
685
- }
686
- }
687
- },
688
- "video": {
689
- "title": "EditableHtmlButtonConfigure",
690
- "type": "object",
691
- "properties": {
692
- "disabled": {
693
- "description": "Indicates if the plugin is disabled or not",
694
- "type": "boolean",
695
- "title": "disabled"
696
- }
697
- }
698
- },
699
- "image": {
700
- "title": "EditableHtmlButtonConfigure",
701
- "type": "object",
702
- "properties": {
703
- "disabled": {
704
- "description": "Indicates if the plugin is disabled or not",
705
- "type": "boolean",
706
- "title": "disabled"
707
- }
708
- }
709
- },
710
- "customPlugins": {
711
- "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.",
712
- "type": "array",
713
- "items": {
714
- "title": "CustomPlugin",
715
- "type": "object",
716
- "properties": {
717
- "event": {
718
- "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\"",
719
- "type": "string",
720
- "title": "event"
721
- },
722
- "iconAlt": {
723
- "description": "The alt for the custom button icon",
724
- "type": "string",
725
- "title": "iconAlt"
726
- },
727
- "iconType": {
728
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
729
- "type": "string",
730
- "title": "iconType"
731
- },
732
- "icon": {
733
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
734
- "type": "string",
735
- "title": "icon"
736
- }
737
- },
738
- "required": [
739
- "event",
740
- "icon",
741
- "iconAlt",
742
- "iconType"
743
- ]
744
- },
745
- "title": "customPlugins"
746
- },
747
- "blockquote": {
748
- "title": "EditableHtmlButtonConfigure",
749
- "type": "object",
750
- "properties": {
751
- "disabled": {
752
- "description": "Indicates if the plugin is disabled or not",
753
- "type": "boolean",
754
- "title": "disabled"
755
- }
756
- }
757
- },
758
- "h3": {
759
- "title": "EditableHtmlButtonConfigure",
760
- "type": "object",
761
- "properties": {
762
- "disabled": {
763
- "description": "Indicates if the plugin is disabled or not",
764
- "type": "boolean",
765
- "title": "disabled"
766
- }
767
- }
768
- },
769
- "characters": {
770
- "title": "EditableHtmlButtonConfigure",
771
- "type": "object",
772
- "properties": {
773
- "disabled": {
774
- "description": "Indicates if the plugin is disabled or not",
775
- "type": "boolean",
776
- "title": "disabled"
777
- }
778
- }
779
- },
780
- "bold": {
781
- "title": "EditableHtmlButtonConfigure",
782
- "type": "object",
783
- "properties": {
784
- "disabled": {
785
- "description": "Indicates if the plugin is disabled or not",
786
- "type": "boolean",
787
- "title": "disabled"
788
- }
789
- }
790
- },
791
- "html": {
792
- "title": "EditableHtmlButtonConfigure",
793
- "type": "object",
794
- "properties": {
795
- "disabled": {
796
- "description": "Indicates if the plugin is disabled or not",
797
- "type": "boolean",
798
- "title": "disabled"
799
- }
800
- }
801
- },
802
- "italic": {
803
- "title": "EditableHtmlButtonConfigure",
804
- "type": "object",
805
- "properties": {
806
- "disabled": {
807
- "description": "Indicates if the plugin is disabled or not",
808
- "type": "boolean",
809
- "title": "disabled"
810
- }
811
- }
812
- },
813
- "ol_list": {
814
- "title": "EditableHtmlButtonConfigure",
815
- "type": "object",
816
- "properties": {
817
- "disabled": {
818
- "description": "Indicates if the plugin is disabled or not",
819
- "type": "boolean",
820
- "title": "disabled"
821
- }
822
- }
823
- },
824
- "redo": {
825
- "title": "EditableHtmlButtonConfigure",
826
- "type": "object",
827
- "properties": {
828
- "disabled": {
829
- "description": "Indicates if the plugin is disabled or not",
830
- "type": "boolean",
831
- "title": "disabled"
832
- }
833
- }
834
- },
835
- "strikethrough": {
836
- "title": "EditableHtmlButtonConfigure",
837
- "type": "object",
838
- "properties": {
839
- "disabled": {
840
- "description": "Indicates if the plugin is disabled or not",
841
- "type": "boolean",
842
- "title": "disabled"
843
- }
844
- }
845
- },
846
- "sub": {
847
- "title": "EditableHtmlButtonConfigure",
848
- "type": "object",
849
- "properties": {
850
- "disabled": {
851
- "description": "Indicates if the plugin is disabled or not",
852
- "type": "boolean",
853
- "title": "disabled"
854
- }
855
- }
856
- },
857
- "sup": {
858
- "title": "EditableHtmlButtonConfigure",
859
- "type": "object",
860
- "properties": {
861
- "disabled": {
862
- "description": "Indicates if the plugin is disabled or not",
863
- "type": "boolean",
864
- "title": "disabled"
865
- }
866
- }
867
- },
868
- "table": {
869
- "title": "EditableHtmlButtonConfigure",
870
- "type": "object",
871
- "properties": {
872
- "disabled": {
873
- "description": "Indicates if the plugin is disabled or not",
874
- "type": "boolean",
875
- "title": "disabled"
876
- }
877
- }
878
- },
879
- "ul_list": {
880
- "title": "EditableHtmlButtonConfigure",
881
- "type": "object",
882
- "properties": {
883
- "disabled": {
884
- "description": "Indicates if the plugin is disabled or not",
885
- "type": "boolean",
886
- "title": "disabled"
887
- }
888
- }
889
- },
890
- "underline": {
891
- "title": "EditableHtmlButtonConfigure",
892
- "type": "object",
893
- "properties": {
894
- "disabled": {
895
- "description": "Indicates if the plugin is disabled or not",
896
- "type": "boolean",
897
- "title": "disabled"
898
- }
899
- }
900
- },
901
- "undo": {
902
- "title": "EditableHtmlButtonConfigure",
903
- "type": "object",
904
- "properties": {
905
- "disabled": {
906
- "description": "Indicates if the plugin is disabled or not",
907
- "type": "boolean",
908
- "title": "disabled"
909
- }
910
- }
911
- }
912
- }
913
- },
914
- "settings": {
915
- "description": "Indicates if the item has to be displayed in the Settings Panel",
916
- "type": "boolean",
917
- "title": "settings"
918
- },
919
- "label": {
920
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
921
- "type": "string",
922
- "title": "label"
923
- }
924
- }
925
- },
926
- "labelInput": {
927
- "title": "EditableHtmlPluginConfigure",
928
- "type": "object",
929
- "properties": {
930
- "inputConfiguration": {
931
- "title": "EditableHtmlConfigureProp",
932
- "type": "object",
933
- "properties": {
934
- "math": {
935
- "title": "EditableHtmlButtonConfigure",
936
- "type": "object",
937
- "properties": {
938
- "disabled": {
939
- "description": "Indicates if the plugin is disabled or not",
940
- "type": "boolean",
941
- "title": "disabled"
942
- }
943
- }
944
- },
945
- "audio": {
946
- "title": "EditableHtmlButtonConfigure",
947
- "type": "object",
948
- "properties": {
949
- "disabled": {
950
- "description": "Indicates if the plugin is disabled or not",
951
- "type": "boolean",
952
- "title": "disabled"
953
- }
954
- }
955
- },
956
- "video": {
957
- "title": "EditableHtmlButtonConfigure",
958
- "type": "object",
959
- "properties": {
960
- "disabled": {
961
- "description": "Indicates if the plugin is disabled or not",
962
- "type": "boolean",
963
- "title": "disabled"
964
- }
965
- }
966
- },
967
- "image": {
968
- "title": "EditableHtmlButtonConfigure",
969
- "type": "object",
970
- "properties": {
971
- "disabled": {
972
- "description": "Indicates if the plugin is disabled or not",
973
- "type": "boolean",
974
- "title": "disabled"
975
- }
976
- }
977
- },
978
- "customPlugins": {
979
- "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.",
980
- "type": "array",
981
- "items": {
982
- "title": "CustomPlugin",
983
- "type": "object",
984
- "properties": {
985
- "event": {
986
- "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\"",
987
- "type": "string",
988
- "title": "event"
989
- },
990
- "iconAlt": {
991
- "description": "The alt for the custom button icon",
992
- "type": "string",
993
- "title": "iconAlt"
994
- },
995
- "iconType": {
996
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
997
- "type": "string",
998
- "title": "iconType"
999
- },
1000
- "icon": {
1001
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1002
- "type": "string",
1003
- "title": "icon"
1004
- }
1005
- },
1006
- "required": [
1007
- "event",
1008
- "icon",
1009
- "iconAlt",
1010
- "iconType"
1011
- ]
1012
- },
1013
- "title": "customPlugins"
1014
- },
1015
- "blockquote": {
1016
- "title": "EditableHtmlButtonConfigure",
1017
- "type": "object",
1018
- "properties": {
1019
- "disabled": {
1020
- "description": "Indicates if the plugin is disabled or not",
1021
- "type": "boolean",
1022
- "title": "disabled"
1023
- }
1024
- }
1025
- },
1026
- "h3": {
1027
- "title": "EditableHtmlButtonConfigure",
1028
- "type": "object",
1029
- "properties": {
1030
- "disabled": {
1031
- "description": "Indicates if the plugin is disabled or not",
1032
- "type": "boolean",
1033
- "title": "disabled"
1034
- }
1035
- }
1036
- },
1037
- "characters": {
1038
- "title": "EditableHtmlButtonConfigure",
1039
- "type": "object",
1040
- "properties": {
1041
- "disabled": {
1042
- "description": "Indicates if the plugin is disabled or not",
1043
- "type": "boolean",
1044
- "title": "disabled"
1045
- }
1046
- }
1047
- },
1048
- "bold": {
1049
- "title": "EditableHtmlButtonConfigure",
1050
- "type": "object",
1051
- "properties": {
1052
- "disabled": {
1053
- "description": "Indicates if the plugin is disabled or not",
1054
- "type": "boolean",
1055
- "title": "disabled"
1056
- }
1057
- }
1058
- },
1059
- "html": {
1060
- "title": "EditableHtmlButtonConfigure",
1061
- "type": "object",
1062
- "properties": {
1063
- "disabled": {
1064
- "description": "Indicates if the plugin is disabled or not",
1065
- "type": "boolean",
1066
- "title": "disabled"
1067
- }
1068
- }
1069
- },
1070
- "italic": {
1071
- "title": "EditableHtmlButtonConfigure",
1072
- "type": "object",
1073
- "properties": {
1074
- "disabled": {
1075
- "description": "Indicates if the plugin is disabled or not",
1076
- "type": "boolean",
1077
- "title": "disabled"
1078
- }
1079
- }
1080
- },
1081
- "ol_list": {
1082
- "title": "EditableHtmlButtonConfigure",
1083
- "type": "object",
1084
- "properties": {
1085
- "disabled": {
1086
- "description": "Indicates if the plugin is disabled or not",
1087
- "type": "boolean",
1088
- "title": "disabled"
1089
- }
1090
- }
1091
- },
1092
- "redo": {
1093
- "title": "EditableHtmlButtonConfigure",
1094
- "type": "object",
1095
- "properties": {
1096
- "disabled": {
1097
- "description": "Indicates if the plugin is disabled or not",
1098
- "type": "boolean",
1099
- "title": "disabled"
1100
- }
1101
- }
1102
- },
1103
- "strikethrough": {
1104
- "title": "EditableHtmlButtonConfigure",
1105
- "type": "object",
1106
- "properties": {
1107
- "disabled": {
1108
- "description": "Indicates if the plugin is disabled or not",
1109
- "type": "boolean",
1110
- "title": "disabled"
1111
- }
1112
- }
1113
- },
1114
- "sub": {
1115
- "title": "EditableHtmlButtonConfigure",
1116
- "type": "object",
1117
- "properties": {
1118
- "disabled": {
1119
- "description": "Indicates if the plugin is disabled or not",
1120
- "type": "boolean",
1121
- "title": "disabled"
1122
- }
1123
- }
1124
- },
1125
- "sup": {
1126
- "title": "EditableHtmlButtonConfigure",
1127
- "type": "object",
1128
- "properties": {
1129
- "disabled": {
1130
- "description": "Indicates if the plugin is disabled or not",
1131
- "type": "boolean",
1132
- "title": "disabled"
1133
- }
1134
- }
1135
- },
1136
- "table": {
1137
- "title": "EditableHtmlButtonConfigure",
1138
- "type": "object",
1139
- "properties": {
1140
- "disabled": {
1141
- "description": "Indicates if the plugin is disabled or not",
1142
- "type": "boolean",
1143
- "title": "disabled"
1144
- }
1145
- }
1146
- },
1147
- "ul_list": {
1148
- "title": "EditableHtmlButtonConfigure",
1149
- "type": "object",
1150
- "properties": {
1151
- "disabled": {
1152
- "description": "Indicates if the plugin is disabled or not",
1153
- "type": "boolean",
1154
- "title": "disabled"
1155
- }
1156
- }
1157
- },
1158
- "underline": {
1159
- "title": "EditableHtmlButtonConfigure",
1160
- "type": "object",
1161
- "properties": {
1162
- "disabled": {
1163
- "description": "Indicates if the plugin is disabled or not",
1164
- "type": "boolean",
1165
- "title": "disabled"
1166
- }
1167
- }
1168
- },
1169
- "undo": {
1170
- "title": "EditableHtmlButtonConfigure",
1171
- "type": "object",
1172
- "properties": {
1173
- "disabled": {
1174
- "description": "Indicates if the plugin is disabled or not",
1175
- "type": "boolean",
1176
- "title": "disabled"
1177
- }
1178
- }
1179
- }
1180
- }
1181
- },
1182
- "settings": {
1183
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1184
- "type": "boolean",
1185
- "title": "settings"
1186
- },
1187
- "label": {
1188
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1189
- "type": "string",
1190
- "title": "label"
1191
- }
1192
- }
1193
- },
1194
- "excludeZeroDialogBoxContent": {
1195
- "title": "DialogContent",
1196
- "type": "object",
1197
- "properties": {
1198
- "title": {
1199
- "description": "Dialog box title",
1200
- "type": "string",
1201
- "title": "title"
1202
- },
1203
- "text": {
1204
- "description": "Dialog box text",
1205
- "type": "string",
1206
- "title": "text"
1207
- }
1208
- }
1209
- },
1210
- "includeZeroDialogBoxContent": {
1211
- "title": "DialogContent",
1212
- "type": "object",
1213
- "properties": {
1214
- "title": {
1215
- "description": "Dialog box title",
1216
- "type": "string",
1217
- "title": "title"
1218
- },
1219
- "text": {
1220
- "description": "Dialog box text",
1221
- "type": "string",
1222
- "title": "text"
1223
- }
1224
- }
1225
- },
1226
- "deleteScaleDialogBoxContent": {
1227
- "title": "DialogContent",
1228
- "type": "object",
1229
- "properties": {
1230
- "title": {
1231
- "description": "Dialog box title",
1232
- "type": "string",
1233
- "title": "title"
1234
- },
1235
- "text": {
1236
- "description": "Dialog box text",
1237
- "type": "string",
1238
- "title": "text"
1239
- }
1240
- }
1241
- },
1242
- "maxPointsDialogBoxContent": {
1243
- "title": "DialogContent",
1244
- "type": "object",
1245
- "properties": {
1246
- "title": {
1247
- "description": "Dialog box title",
1248
- "type": "string",
1249
- "title": "title"
1250
- },
1251
- "text": {
1252
- "description": "Dialog box text",
1253
- "type": "string",
1254
- "title": "text"
1255
- }
1256
- }
1257
- },
1258
- "settingsPanelDisabled": {
1259
- "description": "Indicates if the settings panel is not available",
1260
- "type": "boolean",
1261
- "title": "settingsPanelDisabled"
1262
- },
1263
- "showExcludeZero": {
1264
- "title": "ConfigureProp",
1265
- "type": "object",
1266
- "properties": {
1267
- "settings": {
1268
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1269
- "type": "boolean",
1270
- "title": "settings"
1271
- },
1272
- "label": {
1273
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1274
- "type": "string",
1275
- "title": "label"
1276
- }
1277
- }
1278
- },
1279
- "showScorePointLabels": {
1280
- "title": "ConfigureProp",
1281
- "type": "object",
1282
- "properties": {
1283
- "settings": {
1284
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1285
- "type": "boolean",
1286
- "title": "settings"
1287
- },
1288
- "label": {
1289
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1290
- "type": "string",
1291
- "title": "label"
1292
- }
1293
- }
1294
- },
1295
- "showDescription": {
1296
- "title": "ConfigureProp",
1297
- "type": "object",
1298
- "properties": {
1299
- "settings": {
1300
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1301
- "type": "boolean",
1302
- "title": "settings"
1303
- },
1304
- "label": {
1305
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1306
- "type": "string",
1307
- "title": "label"
1308
- }
1309
- }
1310
- },
1311
- "showVisibleToStudent": {
1312
- "title": "ConfigureProp",
1313
- "type": "object",
1314
- "properties": {
1315
- "settings": {
1316
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1317
- "type": "boolean",
1318
- "title": "settings"
1319
- },
1320
- "label": {
1321
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1322
- "type": "string",
1323
- "title": "label"
1324
- }
1325
- }
1326
- },
1327
- "showHalfScoring": {
1328
- "title": "ConfigureProp",
1329
- "type": "object",
1330
- "properties": {
1331
- "settings": {
1332
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1333
- "type": "boolean",
1334
- "title": "settings"
1335
- },
1336
- "label": {
1337
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1338
- "type": "string",
1339
- "title": "label"
1340
- }
1341
- }
1342
- },
1343
- "spellCheck": {
1344
- "title": "ConfigureProp",
1345
- "type": "object",
1346
- "properties": {
1347
- "settings": {
1348
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1349
- "type": "boolean",
1350
- "title": "settings"
1351
- },
1352
- "label": {
1353
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1354
- "type": "string",
1355
- "title": "label"
1356
- }
1357
- }
1358
- },
1359
- "width": {
1360
- "description": "How large (in px) should multi-trait-rubric be",
1361
- "type": "string",
1362
- "title": "width"
1363
- },
1364
- "minNoOfTraits": {
1365
- "description": "Minimum number of traits",
1366
- "type": "number",
1367
- "title": "minNoOfTraits"
1368
- },
1369
- "maxNoOfTraits": {
1370
- "description": "Maximum number of traits",
1371
- "type": "number",
1372
- "title": "maxNoOfTraits"
1373
- },
1374
- "minNoOfScales": {
1375
- "description": "Minimum number of scales",
1376
- "type": "number",
1377
- "title": "minNoOfScales"
1378
- },
1379
- "maxNoOfScales": {
1380
- "description": "Maximum number of scales",
1381
- "type": "number",
1382
- "title": "maxNoOfScales"
1383
- },
1384
- "defaultTraitLabel": {
1385
- "description": "The default trait label for new created scales.\nIf it's not defined, it will default to the label of the first trait.",
1386
- "type": "string",
1387
- "title": "defaultTraitLabel"
1388
- },
1389
- "mathMlOptions": {
1390
- "title": "ConfigureMathMLProp",
1391
- "type": "object",
1392
- "properties": {
1393
- "mmlOutput": {
1394
- "description": "Indicates if model should have mathML output instead of latex",
1395
- "type": "number",
1396
- "title": "mmlOutput"
1397
- },
1398
- "mmlEditing": {
1399
- "description": "Indicates if mathML that's already in model should be editable",
1400
- "type": "number",
1401
- "title": "mmlEditing"
1402
- }
1403
- }
1404
- },
1405
- "maxMaxPoints": {
1406
- "description": "Indicates the max limit for scoring points",
1407
- "type": "number",
1408
- "title": "maxMaxPoints"
1409
- }
1410
- },
1411
- "required": [
1412
- "width"
1413
- ]
1414
- },
1415
- "rubricless": {
1416
- "title": "RubriclessConfigure",
1417
- "type": "object",
1418
- "properties": {
1419
- "settingsPanelDisabled": {
1420
- "description": "Indicates if the settings panel is not available",
1421
- "type": "boolean",
1422
- "title": "settingsPanelDisabled"
1423
- },
1424
- "showExcludeZero": {
1425
- "title": "ConfigureProp",
1426
- "type": "object",
1427
- "properties": {
1428
- "settings": {
1429
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1430
- "type": "boolean",
1431
- "title": "settings"
1432
- },
1433
- "label": {
1434
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1435
- "type": "string",
1436
- "title": "label"
1437
- }
1438
- }
1439
- },
1440
- "showMaxPoint": {
1441
- "title": "ConfigureProp",
1442
- "type": "object",
1443
- "properties": {
1444
- "settings": {
1445
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1446
- "type": "boolean",
1447
- "title": "settings"
1448
- },
1449
- "label": {
1450
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1451
- "type": "string",
1452
- "title": "label"
1453
- }
1454
- }
1455
- },
1456
- "width": {
1457
- "description": "How large can the rubric be",
1458
- "type": "string",
1459
- "title": "width"
1460
- },
1461
- "mathMlOptions": {
1462
- "title": "ConfigureMathMLProp",
1463
- "type": "object",
1464
- "properties": {
1465
- "mmlOutput": {
1466
- "description": "Indicates if model should have mathML output instead of latex",
1467
- "type": "number",
1468
- "title": "mmlOutput"
1469
- },
1470
- "mmlEditing": {
1471
- "description": "Indicates if mathML that's already in model should be editable",
1472
- "type": "number",
1473
- "title": "mmlEditing"
1474
- }
1475
- }
1476
- },
1477
- "maxMaxPoints": {
1478
- "description": "Indicates the max limit for scoring points",
1479
- "type": "number",
1480
- "title": "maxMaxPoints"
1481
- },
1482
- "rubricless": {
1483
- "description": "Indicates that it is rubricless",
1484
- "type": "boolean",
1485
- "enum": [
1486
- true
1487
- ],
1488
- "title": "rubricless"
1489
- },
1490
- "rubriclessInstruction": {
1491
- "title": "EditableHtmlPluginConfigure",
1492
- "type": "object",
1493
- "properties": {
1494
- "inputConfiguration": {
1495
- "title": "EditableHtmlConfigureProp",
1496
- "type": "object",
1497
- "properties": {
1498
- "math": {
1499
- "title": "EditableHtmlButtonConfigure",
1500
- "type": "object",
1501
- "properties": {
1502
- "disabled": {
1503
- "description": "Indicates if the plugin is disabled or not",
1504
- "type": "boolean",
1505
- "title": "disabled"
1506
- }
1507
- }
1508
- },
1509
- "audio": {
1510
- "title": "EditableHtmlButtonConfigure",
1511
- "type": "object",
1512
- "properties": {
1513
- "disabled": {
1514
- "description": "Indicates if the plugin is disabled or not",
1515
- "type": "boolean",
1516
- "title": "disabled"
1517
- }
1518
- }
1519
- },
1520
- "video": {
1521
- "title": "EditableHtmlButtonConfigure",
1522
- "type": "object",
1523
- "properties": {
1524
- "disabled": {
1525
- "description": "Indicates if the plugin is disabled or not",
1526
- "type": "boolean",
1527
- "title": "disabled"
1528
- }
1529
- }
1530
- },
1531
- "image": {
1532
- "title": "EditableHtmlButtonConfigure",
1533
- "type": "object",
1534
- "properties": {
1535
- "disabled": {
1536
- "description": "Indicates if the plugin is disabled or not",
1537
- "type": "boolean",
1538
- "title": "disabled"
1539
- }
1540
- }
1541
- },
1542
- "customPlugins": {
1543
- "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.",
1544
- "type": "array",
1545
- "items": {
1546
- "title": "CustomPlugin",
1547
- "type": "object",
1548
- "properties": {
1549
- "event": {
1550
- "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\"",
1551
- "type": "string",
1552
- "title": "event"
1553
- },
1554
- "iconAlt": {
1555
- "description": "The alt for the custom button icon",
1556
- "type": "string",
1557
- "title": "iconAlt"
1558
- },
1559
- "iconType": {
1560
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1561
- "type": "string",
1562
- "title": "iconType"
1563
- },
1564
- "icon": {
1565
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1566
- "type": "string",
1567
- "title": "icon"
1568
- }
1569
- },
1570
- "required": [
1571
- "event",
1572
- "icon",
1573
- "iconAlt",
1574
- "iconType"
1575
- ]
1576
- },
1577
- "title": "customPlugins"
1578
- },
1579
- "blockquote": {
1580
- "title": "EditableHtmlButtonConfigure",
1581
- "type": "object",
1582
- "properties": {
1583
- "disabled": {
1584
- "description": "Indicates if the plugin is disabled or not",
1585
- "type": "boolean",
1586
- "title": "disabled"
1587
- }
1588
- }
1589
- },
1590
- "h3": {
1591
- "title": "EditableHtmlButtonConfigure",
1592
- "type": "object",
1593
- "properties": {
1594
- "disabled": {
1595
- "description": "Indicates if the plugin is disabled or not",
1596
- "type": "boolean",
1597
- "title": "disabled"
1598
- }
1599
- }
1600
- },
1601
- "characters": {
1602
- "title": "EditableHtmlButtonConfigure",
1603
- "type": "object",
1604
- "properties": {
1605
- "disabled": {
1606
- "description": "Indicates if the plugin is disabled or not",
1607
- "type": "boolean",
1608
- "title": "disabled"
1609
- }
1610
- }
1611
- },
1612
- "bold": {
1613
- "title": "EditableHtmlButtonConfigure",
1614
- "type": "object",
1615
- "properties": {
1616
- "disabled": {
1617
- "description": "Indicates if the plugin is disabled or not",
1618
- "type": "boolean",
1619
- "title": "disabled"
1620
- }
1621
- }
1622
- },
1623
- "html": {
1624
- "title": "EditableHtmlButtonConfigure",
1625
- "type": "object",
1626
- "properties": {
1627
- "disabled": {
1628
- "description": "Indicates if the plugin is disabled or not",
1629
- "type": "boolean",
1630
- "title": "disabled"
1631
- }
1632
- }
1633
- },
1634
- "italic": {
1635
- "title": "EditableHtmlButtonConfigure",
1636
- "type": "object",
1637
- "properties": {
1638
- "disabled": {
1639
- "description": "Indicates if the plugin is disabled or not",
1640
- "type": "boolean",
1641
- "title": "disabled"
1642
- }
1643
- }
1644
- },
1645
- "ol_list": {
1646
- "title": "EditableHtmlButtonConfigure",
1647
- "type": "object",
1648
- "properties": {
1649
- "disabled": {
1650
- "description": "Indicates if the plugin is disabled or not",
1651
- "type": "boolean",
1652
- "title": "disabled"
1653
- }
1654
- }
1655
- },
1656
- "redo": {
1657
- "title": "EditableHtmlButtonConfigure",
1658
- "type": "object",
1659
- "properties": {
1660
- "disabled": {
1661
- "description": "Indicates if the plugin is disabled or not",
1662
- "type": "boolean",
1663
- "title": "disabled"
1664
- }
1665
- }
1666
- },
1667
- "strikethrough": {
1668
- "title": "EditableHtmlButtonConfigure",
1669
- "type": "object",
1670
- "properties": {
1671
- "disabled": {
1672
- "description": "Indicates if the plugin is disabled or not",
1673
- "type": "boolean",
1674
- "title": "disabled"
1675
- }
1676
- }
1677
- },
1678
- "sub": {
1679
- "title": "EditableHtmlButtonConfigure",
1680
- "type": "object",
1681
- "properties": {
1682
- "disabled": {
1683
- "description": "Indicates if the plugin is disabled or not",
1684
- "type": "boolean",
1685
- "title": "disabled"
1686
- }
1687
- }
1688
- },
1689
- "sup": {
1690
- "title": "EditableHtmlButtonConfigure",
1691
- "type": "object",
1692
- "properties": {
1693
- "disabled": {
1694
- "description": "Indicates if the plugin is disabled or not",
1695
- "type": "boolean",
1696
- "title": "disabled"
1697
- }
1698
- }
1699
- },
1700
- "table": {
1701
- "title": "EditableHtmlButtonConfigure",
1702
- "type": "object",
1703
- "properties": {
1704
- "disabled": {
1705
- "description": "Indicates if the plugin is disabled or not",
1706
- "type": "boolean",
1707
- "title": "disabled"
1708
- }
1709
- }
1710
- },
1711
- "ul_list": {
1712
- "title": "EditableHtmlButtonConfigure",
1713
- "type": "object",
1714
- "properties": {
1715
- "disabled": {
1716
- "description": "Indicates if the plugin is disabled or not",
1717
- "type": "boolean",
1718
- "title": "disabled"
1719
- }
1720
- }
1721
- },
1722
- "underline": {
1723
- "title": "EditableHtmlButtonConfigure",
1724
- "type": "object",
1725
- "properties": {
1726
- "disabled": {
1727
- "description": "Indicates if the plugin is disabled or not",
1728
- "type": "boolean",
1729
- "title": "disabled"
1730
- }
1731
- }
1732
- },
1733
- "undo": {
1734
- "title": "EditableHtmlButtonConfigure",
1735
- "type": "object",
1736
- "properties": {
1737
- "disabled": {
1738
- "description": "Indicates if the plugin is disabled or not",
1739
- "type": "boolean",
1740
- "title": "disabled"
1741
- }
1742
- }
1743
- }
1744
- }
1745
- },
1746
- "settings": {
1747
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1748
- "type": "boolean",
1749
- "title": "settings"
1750
- },
1751
- "label": {
1752
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1753
- "type": "string",
1754
- "title": "label"
1755
- }
1756
- }
1757
- },
1758
- "showPrompt": {
1759
- "description": "Determines whether prompt field will be displayed or not",
1760
- "default": true,
1761
- "type": "boolean",
1762
- "title": "showPrompt"
1763
- },
1764
- "promptLabel": {
1765
- "description": "The label for the item stem/prompt field",
1766
- "default": "Item Stemm",
1767
- "type": "string",
1768
- "title": "promptLabel"
1769
- },
1770
- "contentDimensions": {
1771
- "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",
1772
- "default": ": {}",
1773
- "type": "object",
1774
- "properties": {
1775
- "maxHeight": {
1776
- "description": "Indicates the max height of the authoring container",
1777
- "default": "undefined",
1778
- "type": [
1779
- "string",
1780
- "number"
1781
- ],
1782
- "title": "maxHeight"
1783
- },
1784
- "maxWidth": {
1785
- "description": "Indicates the max width of the authoring container",
1786
- "default": "undefined",
1787
- "type": [
1788
- "string",
1789
- "number"
1790
- ],
1791
- "title": "maxWidth"
1792
- },
1793
- "minHeight": {
1794
- "description": "Indicates the min height of the authoring container",
1795
- "default": "undefined",
1796
- "type": [
1797
- "string",
1798
- "number"
1799
- ],
1800
- "title": "minHeight"
1801
- },
1802
- "minWidth": {
1803
- "description": "Indicates the min width of the authoring container",
1804
- "default": "undefined",
1805
- "type": [
1806
- "string",
1807
- "number"
1808
- ],
1809
- "title": "minWidth"
1810
- }
1811
- },
1812
- "title": "contentDimensions"
1813
- },
1814
- "settingsPartialScoring": {
1815
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1816
- "default": true,
1817
- "type": "boolean",
1818
- "title": "settingsPartialScoring"
1819
- }
1820
- },
1821
- "required": [
1822
- "rubricless",
1823
- "rubriclessInstruction"
1824
- ]
1825
- }
1826
- },
1827
- "required": [
1828
- "multiTraitRubric",
1829
- "rubricless",
1830
- "simpleRubric"
1831
- ],
1832
- "definitions": {
1833
- "RubricConfigure": {
1834
- "title": "RubricConfigure",
1835
- "type": "object",
1836
- "properties": {
1837
- "baseInputConfiguration": {
1838
- "title": "EditableHtmlConfigureProp",
1839
- "type": "object",
1840
- "properties": {
1841
- "math": {
1842
- "title": "EditableHtmlButtonConfigure",
1843
- "type": "object",
1844
- "properties": {
1845
- "disabled": {
1846
- "description": "Indicates if the plugin is disabled or not",
1847
- "type": "boolean",
1848
- "title": "disabled"
1849
- }
1850
- }
1851
- },
1852
- "audio": {
1853
- "title": "EditableHtmlButtonConfigure",
1854
- "type": "object",
1855
- "properties": {
1856
- "disabled": {
1857
- "description": "Indicates if the plugin is disabled or not",
1858
- "type": "boolean",
1859
- "title": "disabled"
1860
- }
1861
- }
1862
- },
1863
- "video": {
1864
- "title": "EditableHtmlButtonConfigure",
1865
- "type": "object",
1866
- "properties": {
1867
- "disabled": {
1868
- "description": "Indicates if the plugin is disabled or not",
1869
- "type": "boolean",
1870
- "title": "disabled"
1871
- }
1872
- }
1873
- },
1874
- "image": {
1875
- "title": "EditableHtmlButtonConfigure",
1876
- "type": "object",
1877
- "properties": {
1878
- "disabled": {
1879
- "description": "Indicates if the plugin is disabled or not",
1880
- "type": "boolean",
1881
- "title": "disabled"
1882
- }
1883
- }
1884
- },
1885
- "customPlugins": {
1886
- "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.",
1887
- "type": "array",
1888
- "items": {
1889
- "title": "CustomPlugin",
1890
- "type": "object",
1891
- "properties": {
1892
- "event": {
1893
- "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\"",
1894
- "type": "string",
1895
- "title": "event"
1896
- },
1897
- "iconAlt": {
1898
- "description": "The alt for the custom button icon",
1899
- "type": "string",
1900
- "title": "iconAlt"
1901
- },
1902
- "iconType": {
1903
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1904
- "type": "string",
1905
- "title": "iconType"
1906
- },
1907
- "icon": {
1908
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1909
- "type": "string",
1910
- "title": "icon"
1911
- }
1912
- },
1913
- "required": [
1914
- "event",
1915
- "icon",
1916
- "iconAlt",
1917
- "iconType"
1918
- ]
1919
- },
1920
- "title": "customPlugins"
1921
- },
1922
- "blockquote": {
1923
- "title": "EditableHtmlButtonConfigure",
1924
- "type": "object",
1925
- "properties": {
1926
- "disabled": {
1927
- "description": "Indicates if the plugin is disabled or not",
1928
- "type": "boolean",
1929
- "title": "disabled"
1930
- }
1931
- }
1932
- },
1933
- "h3": {
1934
- "title": "EditableHtmlButtonConfigure",
1935
- "type": "object",
1936
- "properties": {
1937
- "disabled": {
1938
- "description": "Indicates if the plugin is disabled or not",
1939
- "type": "boolean",
1940
- "title": "disabled"
1941
- }
1942
- }
1943
- },
1944
- "characters": {
1945
- "title": "EditableHtmlButtonConfigure",
1946
- "type": "object",
1947
- "properties": {
1948
- "disabled": {
1949
- "description": "Indicates if the plugin is disabled or not",
1950
- "type": "boolean",
1951
- "title": "disabled"
1952
- }
1953
- }
1954
- },
1955
- "bold": {
1956
- "title": "EditableHtmlButtonConfigure",
1957
- "type": "object",
1958
- "properties": {
1959
- "disabled": {
1960
- "description": "Indicates if the plugin is disabled or not",
1961
- "type": "boolean",
1962
- "title": "disabled"
1963
- }
1964
- }
1965
- },
1966
- "html": {
1967
- "title": "EditableHtmlButtonConfigure",
1968
- "type": "object",
1969
- "properties": {
1970
- "disabled": {
1971
- "description": "Indicates if the plugin is disabled or not",
1972
- "type": "boolean",
1973
- "title": "disabled"
1974
- }
1975
- }
1976
- },
1977
- "italic": {
1978
- "title": "EditableHtmlButtonConfigure",
1979
- "type": "object",
1980
- "properties": {
1981
- "disabled": {
1982
- "description": "Indicates if the plugin is disabled or not",
1983
- "type": "boolean",
1984
- "title": "disabled"
1985
- }
1986
- }
1987
- },
1988
- "ol_list": {
1989
- "title": "EditableHtmlButtonConfigure",
1990
- "type": "object",
1991
- "properties": {
1992
- "disabled": {
1993
- "description": "Indicates if the plugin is disabled or not",
1994
- "type": "boolean",
1995
- "title": "disabled"
1996
- }
1997
- }
1998
- },
1999
- "redo": {
2000
- "title": "EditableHtmlButtonConfigure",
2001
- "type": "object",
2002
- "properties": {
2003
- "disabled": {
2004
- "description": "Indicates if the plugin is disabled or not",
2005
- "type": "boolean",
2006
- "title": "disabled"
2007
- }
2008
- }
2009
- },
2010
- "strikethrough": {
2011
- "title": "EditableHtmlButtonConfigure",
2012
- "type": "object",
2013
- "properties": {
2014
- "disabled": {
2015
- "description": "Indicates if the plugin is disabled or not",
2016
- "type": "boolean",
2017
- "title": "disabled"
2018
- }
2019
- }
2020
- },
2021
- "sub": {
2022
- "title": "EditableHtmlButtonConfigure",
2023
- "type": "object",
2024
- "properties": {
2025
- "disabled": {
2026
- "description": "Indicates if the plugin is disabled or not",
2027
- "type": "boolean",
2028
- "title": "disabled"
2029
- }
2030
- }
2031
- },
2032
- "sup": {
2033
- "title": "EditableHtmlButtonConfigure",
2034
- "type": "object",
2035
- "properties": {
2036
- "disabled": {
2037
- "description": "Indicates if the plugin is disabled or not",
2038
- "type": "boolean",
2039
- "title": "disabled"
2040
- }
2041
- }
2042
- },
2043
- "table": {
2044
- "title": "EditableHtmlButtonConfigure",
2045
- "type": "object",
2046
- "properties": {
2047
- "disabled": {
2048
- "description": "Indicates if the plugin is disabled or not",
2049
- "type": "boolean",
2050
- "title": "disabled"
2051
- }
2052
- }
2053
- },
2054
- "ul_list": {
2055
- "title": "EditableHtmlButtonConfigure",
2056
- "type": "object",
2057
- "properties": {
2058
- "disabled": {
2059
- "description": "Indicates if the plugin is disabled or not",
2060
- "type": "boolean",
2061
- "title": "disabled"
2062
- }
2063
- }
2064
- },
2065
- "underline": {
2066
- "title": "EditableHtmlButtonConfigure",
2067
- "type": "object",
2068
- "properties": {
2069
- "disabled": {
2070
- "description": "Indicates if the plugin is disabled or not",
2071
- "type": "boolean",
2072
- "title": "disabled"
2073
- }
2074
- }
2075
- },
2076
- "undo": {
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
- }
2088
- },
2089
- "settingsPanelDisabled": {
2090
- "description": "Indicates if the settings panel is not available",
2091
- "type": "boolean",
2092
- "title": "settingsPanelDisabled"
2093
- },
2094
- "showExcludeZero": {
2095
- "title": "ConfigureProp",
2096
- "type": "object",
2097
- "properties": {
2098
- "settings": {
2099
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2100
- "type": "boolean",
2101
- "title": "settings"
2102
- },
2103
- "label": {
2104
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2105
- "type": "string",
2106
- "title": "label"
2107
- }
2108
- }
2109
- },
2110
- "showMaxPoint": {
2111
- "title": "ConfigureProp",
2112
- "type": "object",
2113
- "properties": {
2114
- "settings": {
2115
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2116
- "type": "boolean",
2117
- "title": "settings"
2118
- },
2119
- "label": {
2120
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2121
- "type": "string",
2122
- "title": "label"
2123
- }
2124
- }
2125
- },
2126
- "width": {
2127
- "description": "How large can the rubric be",
2128
- "type": "string",
2129
- "title": "width"
2130
- },
2131
- "mathMlOptions": {
2132
- "title": "ConfigureMathMLProp",
2133
- "type": "object",
2134
- "properties": {
2135
- "mmlOutput": {
2136
- "description": "Indicates if model should have mathML output instead of latex",
2137
- "type": "number",
2138
- "title": "mmlOutput"
2139
- },
2140
- "mmlEditing": {
2141
- "description": "Indicates if mathML that's already in model should be editable",
2142
- "type": "number",
2143
- "title": "mmlEditing"
2144
- }
2145
- }
2146
- },
2147
- "maxMaxPoints": {
2148
- "description": "Indicates the max limit for scoring points",
2149
- "type": "number",
2150
- "title": "maxMaxPoints"
2151
- },
2152
- "showPrompt": {
2153
- "description": "Determines whether prompt field will be displayed or not",
2154
- "default": true,
2155
- "type": "boolean",
2156
- "title": "showPrompt"
2157
- },
2158
- "promptLabel": {
2159
- "description": "The label for the item stem/prompt field",
2160
- "default": "Item Stemm",
2161
- "type": "string",
2162
- "title": "promptLabel"
2163
- },
2164
- "contentDimensions": {
2165
- "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",
2166
- "default": ": {}",
2167
- "type": "object",
2168
- "properties": {
2169
- "maxHeight": {
2170
- "description": "Indicates the max height of the authoring container",
2171
- "default": "undefined",
2172
- "type": [
2173
- "string",
2174
- "number"
2175
- ],
2176
- "title": "maxHeight"
2177
- },
2178
- "maxWidth": {
2179
- "description": "Indicates the max width of the authoring container",
2180
- "default": "undefined",
2181
- "type": [
2182
- "string",
2183
- "number"
2184
- ],
2185
- "title": "maxWidth"
2186
- },
2187
- "minHeight": {
2188
- "description": "Indicates the min height of the authoring container",
2189
- "default": "undefined",
2190
- "type": [
2191
- "string",
2192
- "number"
2193
- ],
2194
- "title": "minHeight"
2195
- },
2196
- "minWidth": {
2197
- "description": "Indicates the min width of the authoring container",
2198
- "default": "undefined",
2199
- "type": [
2200
- "string",
2201
- "number"
2202
- ],
2203
- "title": "minWidth"
2204
- }
2205
- },
2206
- "title": "contentDimensions"
2207
- },
2208
- "settingsPartialScoring": {
2209
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
2210
- "default": true,
2211
- "type": "boolean",
2212
- "title": "settingsPartialScoring"
2213
- }
2214
- }
2215
- },
2216
- "EditableHtmlConfigureProp": {
2217
- "title": "EditableHtmlConfigureProp",
2218
- "type": "object",
2219
- "properties": {
2220
- "math": {
2221
- "title": "EditableHtmlButtonConfigure",
2222
- "type": "object",
2223
- "properties": {
2224
- "disabled": {
2225
- "description": "Indicates if the plugin is disabled or not",
2226
- "type": "boolean",
2227
- "title": "disabled"
2228
- }
2229
- }
2230
- },
2231
- "audio": {
2232
- "title": "EditableHtmlButtonConfigure",
2233
- "type": "object",
2234
- "properties": {
2235
- "disabled": {
2236
- "description": "Indicates if the plugin is disabled or not",
2237
- "type": "boolean",
2238
- "title": "disabled"
2239
- }
2240
- }
2241
- },
2242
- "video": {
2243
- "title": "EditableHtmlButtonConfigure",
2244
- "type": "object",
2245
- "properties": {
2246
- "disabled": {
2247
- "description": "Indicates if the plugin is disabled or not",
2248
- "type": "boolean",
2249
- "title": "disabled"
2250
- }
2251
- }
2252
- },
2253
- "image": {
2254
- "title": "EditableHtmlButtonConfigure",
2255
- "type": "object",
2256
- "properties": {
2257
- "disabled": {
2258
- "description": "Indicates if the plugin is disabled or not",
2259
- "type": "boolean",
2260
- "title": "disabled"
2261
- }
2262
- }
2263
- },
2264
- "customPlugins": {
2265
- "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.",
2266
- "type": "array",
2267
- "items": {
2268
- "title": "CustomPlugin",
2269
- "type": "object",
2270
- "properties": {
2271
- "event": {
2272
- "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\"",
2273
- "type": "string",
2274
- "title": "event"
2275
- },
2276
- "iconAlt": {
2277
- "description": "The alt for the custom button icon",
2278
- "type": "string",
2279
- "title": "iconAlt"
2280
- },
2281
- "iconType": {
2282
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2283
- "type": "string",
2284
- "title": "iconType"
2285
- },
2286
- "icon": {
2287
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2288
- "type": "string",
2289
- "title": "icon"
2290
- }
2291
- },
2292
- "required": [
2293
- "event",
2294
- "icon",
2295
- "iconAlt",
2296
- "iconType"
2297
- ]
2298
- },
2299
- "title": "customPlugins"
2300
- },
2301
- "blockquote": {
2302
- "title": "EditableHtmlButtonConfigure",
2303
- "type": "object",
2304
- "properties": {
2305
- "disabled": {
2306
- "description": "Indicates if the plugin is disabled or not",
2307
- "type": "boolean",
2308
- "title": "disabled"
2309
- }
2310
- }
2311
- },
2312
- "h3": {
2313
- "title": "EditableHtmlButtonConfigure",
2314
- "type": "object",
2315
- "properties": {
2316
- "disabled": {
2317
- "description": "Indicates if the plugin is disabled or not",
2318
- "type": "boolean",
2319
- "title": "disabled"
2320
- }
2321
- }
2322
- },
2323
- "characters": {
2324
- "title": "EditableHtmlButtonConfigure",
2325
- "type": "object",
2326
- "properties": {
2327
- "disabled": {
2328
- "description": "Indicates if the plugin is disabled or not",
2329
- "type": "boolean",
2330
- "title": "disabled"
2331
- }
2332
- }
2333
- },
2334
- "bold": {
2335
- "title": "EditableHtmlButtonConfigure",
2336
- "type": "object",
2337
- "properties": {
2338
- "disabled": {
2339
- "description": "Indicates if the plugin is disabled or not",
2340
- "type": "boolean",
2341
- "title": "disabled"
2342
- }
2343
- }
2344
- },
2345
- "html": {
2346
- "title": "EditableHtmlButtonConfigure",
2347
- "type": "object",
2348
- "properties": {
2349
- "disabled": {
2350
- "description": "Indicates if the plugin is disabled or not",
2351
- "type": "boolean",
2352
- "title": "disabled"
2353
- }
2354
- }
2355
- },
2356
- "italic": {
2357
- "title": "EditableHtmlButtonConfigure",
2358
- "type": "object",
2359
- "properties": {
2360
- "disabled": {
2361
- "description": "Indicates if the plugin is disabled or not",
2362
- "type": "boolean",
2363
- "title": "disabled"
2364
- }
2365
- }
2366
- },
2367
- "ol_list": {
2368
- "title": "EditableHtmlButtonConfigure",
2369
- "type": "object",
2370
- "properties": {
2371
- "disabled": {
2372
- "description": "Indicates if the plugin is disabled or not",
2373
- "type": "boolean",
2374
- "title": "disabled"
2375
- }
2376
- }
2377
- },
2378
- "redo": {
2379
- "title": "EditableHtmlButtonConfigure",
2380
- "type": "object",
2381
- "properties": {
2382
- "disabled": {
2383
- "description": "Indicates if the plugin is disabled or not",
2384
- "type": "boolean",
2385
- "title": "disabled"
2386
- }
2387
- }
2388
- },
2389
- "strikethrough": {
2390
- "title": "EditableHtmlButtonConfigure",
2391
- "type": "object",
2392
- "properties": {
2393
- "disabled": {
2394
- "description": "Indicates if the plugin is disabled or not",
2395
- "type": "boolean",
2396
- "title": "disabled"
2397
- }
2398
- }
2399
- },
2400
- "sub": {
2401
- "title": "EditableHtmlButtonConfigure",
2402
- "type": "object",
2403
- "properties": {
2404
- "disabled": {
2405
- "description": "Indicates if the plugin is disabled or not",
2406
- "type": "boolean",
2407
- "title": "disabled"
2408
- }
2409
- }
2410
- },
2411
- "sup": {
2412
- "title": "EditableHtmlButtonConfigure",
2413
- "type": "object",
2414
- "properties": {
2415
- "disabled": {
2416
- "description": "Indicates if the plugin is disabled or not",
2417
- "type": "boolean",
2418
- "title": "disabled"
2419
- }
2420
- }
2421
- },
2422
- "table": {
2423
- "title": "EditableHtmlButtonConfigure",
2424
- "type": "object",
2425
- "properties": {
2426
- "disabled": {
2427
- "description": "Indicates if the plugin is disabled or not",
2428
- "type": "boolean",
2429
- "title": "disabled"
2430
- }
2431
- }
2432
- },
2433
- "ul_list": {
2434
- "title": "EditableHtmlButtonConfigure",
2435
- "type": "object",
2436
- "properties": {
2437
- "disabled": {
2438
- "description": "Indicates if the plugin is disabled or not",
2439
- "type": "boolean",
2440
- "title": "disabled"
2441
- }
2442
- }
2443
- },
2444
- "underline": {
2445
- "title": "EditableHtmlButtonConfigure",
2446
- "type": "object",
2447
- "properties": {
2448
- "disabled": {
2449
- "description": "Indicates if the plugin is disabled or not",
2450
- "type": "boolean",
2451
- "title": "disabled"
2452
- }
2453
- }
2454
- },
2455
- "undo": {
2456
- "title": "EditableHtmlButtonConfigure",
2457
- "type": "object",
2458
- "properties": {
2459
- "disabled": {
2460
- "description": "Indicates if the plugin is disabled or not",
2461
- "type": "boolean",
2462
- "title": "disabled"
2463
- }
2464
- }
2465
- }
2466
- }
2467
- },
2468
- "EditableHtmlButtonConfigure": {
2469
- "title": "EditableHtmlButtonConfigure",
2470
- "type": "object",
2471
- "properties": {
2472
- "disabled": {
2473
- "description": "Indicates if the plugin is disabled or not",
2474
- "type": "boolean",
2475
- "title": "disabled"
2476
- }
2477
- }
2478
- },
2479
- "CustomPlugin": {
2480
- "title": "CustomPlugin",
2481
- "type": "object",
2482
- "properties": {
2483
- "event": {
2484
- "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\"",
2485
- "type": "string",
2486
- "title": "event"
2487
- },
2488
- "iconAlt": {
2489
- "description": "The alt for the custom button icon",
2490
- "type": "string",
2491
- "title": "iconAlt"
2492
- },
2493
- "iconType": {
2494
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2495
- "type": "string",
2496
- "title": "iconType"
2497
- },
2498
- "icon": {
2499
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2500
- "type": "string",
2501
- "title": "icon"
2502
- }
2503
- },
2504
- "required": [
2505
- "event",
2506
- "icon",
2507
- "iconAlt",
2508
- "iconType"
2509
- ]
2510
- },
2511
- "ConfigureProp": {
2512
- "title": "ConfigureProp",
2513
- "type": "object",
2514
- "properties": {
2515
- "settings": {
2516
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2517
- "type": "boolean",
2518
- "title": "settings"
2519
- },
2520
- "label": {
2521
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2522
- "type": "string",
2523
- "title": "label"
2524
- }
2525
- }
2526
- },
2527
- "ConfigureMathMLProp": {
2528
- "title": "ConfigureMathMLProp",
2529
- "type": "object",
2530
- "properties": {
2531
- "mmlOutput": {
2532
- "description": "Indicates if model should have mathML output instead of latex",
2533
- "type": "number",
2534
- "title": "mmlOutput"
2535
- },
2536
- "mmlEditing": {
2537
- "description": "Indicates if mathML that's already in model should be editable",
2538
- "type": "number",
2539
- "title": "mmlEditing"
2540
- }
2541
- }
2542
- },
2543
- "MultiTraitRubricConfigure": {
2544
- "description": "Config Object for @pie-elements/multi-trait-rubric",
2545
- "additionalProperties": false,
2546
- "title": "MultiTraitRubricConfigure",
2547
- "type": "object",
2548
- "properties": {
2549
- "baseInputConfiguration": {
2550
- "title": "EditableHtmlConfigureProp",
2551
- "type": "object",
2552
- "properties": {
2553
- "math": {
2554
- "title": "EditableHtmlButtonConfigure",
2555
- "type": "object",
2556
- "properties": {
2557
- "disabled": {
2558
- "description": "Indicates if the plugin is disabled or not",
2559
- "type": "boolean",
2560
- "title": "disabled"
2561
- }
2562
- }
2563
- },
2564
- "audio": {
2565
- "title": "EditableHtmlButtonConfigure",
2566
- "type": "object",
2567
- "properties": {
2568
- "disabled": {
2569
- "description": "Indicates if the plugin is disabled or not",
2570
- "type": "boolean",
2571
- "title": "disabled"
2572
- }
2573
- }
2574
- },
2575
- "video": {
2576
- "title": "EditableHtmlButtonConfigure",
2577
- "type": "object",
2578
- "properties": {
2579
- "disabled": {
2580
- "description": "Indicates if the plugin is disabled or not",
2581
- "type": "boolean",
2582
- "title": "disabled"
2583
- }
2584
- }
2585
- },
2586
- "image": {
2587
- "title": "EditableHtmlButtonConfigure",
2588
- "type": "object",
2589
- "properties": {
2590
- "disabled": {
2591
- "description": "Indicates if the plugin is disabled or not",
2592
- "type": "boolean",
2593
- "title": "disabled"
2594
- }
2595
- }
2596
- },
2597
- "customPlugins": {
2598
- "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.",
2599
- "type": "array",
2600
- "items": {
2601
- "title": "CustomPlugin",
2602
- "type": "object",
2603
- "properties": {
2604
- "event": {
2605
- "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\"",
2606
- "type": "string",
2607
- "title": "event"
2608
- },
2609
- "iconAlt": {
2610
- "description": "The alt for the custom button icon",
2611
- "type": "string",
2612
- "title": "iconAlt"
2613
- },
2614
- "iconType": {
2615
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2616
- "type": "string",
2617
- "title": "iconType"
2618
- },
2619
- "icon": {
2620
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2621
- "type": "string",
2622
- "title": "icon"
2623
- }
2624
- },
2625
- "required": [
2626
- "event",
2627
- "icon",
2628
- "iconAlt",
2629
- "iconType"
2630
- ]
2631
- },
2632
- "title": "customPlugins"
2633
- },
2634
- "blockquote": {
2635
- "title": "EditableHtmlButtonConfigure",
2636
- "type": "object",
2637
- "properties": {
2638
- "disabled": {
2639
- "description": "Indicates if the plugin is disabled or not",
2640
- "type": "boolean",
2641
- "title": "disabled"
2642
- }
2643
- }
2644
- },
2645
- "h3": {
2646
- "title": "EditableHtmlButtonConfigure",
2647
- "type": "object",
2648
- "properties": {
2649
- "disabled": {
2650
- "description": "Indicates if the plugin is disabled or not",
2651
- "type": "boolean",
2652
- "title": "disabled"
2653
- }
2654
- }
2655
- },
2656
- "characters": {
2657
- "title": "EditableHtmlButtonConfigure",
2658
- "type": "object",
2659
- "properties": {
2660
- "disabled": {
2661
- "description": "Indicates if the plugin is disabled or not",
2662
- "type": "boolean",
2663
- "title": "disabled"
2664
- }
2665
- }
2666
- },
2667
- "bold": {
2668
- "title": "EditableHtmlButtonConfigure",
2669
- "type": "object",
2670
- "properties": {
2671
- "disabled": {
2672
- "description": "Indicates if the plugin is disabled or not",
2673
- "type": "boolean",
2674
- "title": "disabled"
2675
- }
2676
- }
2677
- },
2678
- "html": {
2679
- "title": "EditableHtmlButtonConfigure",
2680
- "type": "object",
2681
- "properties": {
2682
- "disabled": {
2683
- "description": "Indicates if the plugin is disabled or not",
2684
- "type": "boolean",
2685
- "title": "disabled"
2686
- }
2687
- }
2688
- },
2689
- "italic": {
2690
- "title": "EditableHtmlButtonConfigure",
2691
- "type": "object",
2692
- "properties": {
2693
- "disabled": {
2694
- "description": "Indicates if the plugin is disabled or not",
2695
- "type": "boolean",
2696
- "title": "disabled"
2697
- }
2698
- }
2699
- },
2700
- "ol_list": {
2701
- "title": "EditableHtmlButtonConfigure",
2702
- "type": "object",
2703
- "properties": {
2704
- "disabled": {
2705
- "description": "Indicates if the plugin is disabled or not",
2706
- "type": "boolean",
2707
- "title": "disabled"
2708
- }
2709
- }
2710
- },
2711
- "redo": {
2712
- "title": "EditableHtmlButtonConfigure",
2713
- "type": "object",
2714
- "properties": {
2715
- "disabled": {
2716
- "description": "Indicates if the plugin is disabled or not",
2717
- "type": "boolean",
2718
- "title": "disabled"
2719
- }
2720
- }
2721
- },
2722
- "strikethrough": {
2723
- "title": "EditableHtmlButtonConfigure",
2724
- "type": "object",
2725
- "properties": {
2726
- "disabled": {
2727
- "description": "Indicates if the plugin is disabled or not",
2728
- "type": "boolean",
2729
- "title": "disabled"
2730
- }
2731
- }
2732
- },
2733
- "sub": {
2734
- "title": "EditableHtmlButtonConfigure",
2735
- "type": "object",
2736
- "properties": {
2737
- "disabled": {
2738
- "description": "Indicates if the plugin is disabled or not",
2739
- "type": "boolean",
2740
- "title": "disabled"
2741
- }
2742
- }
2743
- },
2744
- "sup": {
2745
- "title": "EditableHtmlButtonConfigure",
2746
- "type": "object",
2747
- "properties": {
2748
- "disabled": {
2749
- "description": "Indicates if the plugin is disabled or not",
2750
- "type": "boolean",
2751
- "title": "disabled"
2752
- }
2753
- }
2754
- },
2755
- "table": {
2756
- "title": "EditableHtmlButtonConfigure",
2757
- "type": "object",
2758
- "properties": {
2759
- "disabled": {
2760
- "description": "Indicates if the plugin is disabled or not",
2761
- "type": "boolean",
2762
- "title": "disabled"
2763
- }
2764
- }
2765
- },
2766
- "ul_list": {
2767
- "title": "EditableHtmlButtonConfigure",
2768
- "type": "object",
2769
- "properties": {
2770
- "disabled": {
2771
- "description": "Indicates if the plugin is disabled or not",
2772
- "type": "boolean",
2773
- "title": "disabled"
2774
- }
2775
- }
2776
- },
2777
- "underline": {
2778
- "title": "EditableHtmlButtonConfigure",
2779
- "type": "object",
2780
- "properties": {
2781
- "disabled": {
2782
- "description": "Indicates if the plugin is disabled or not",
2783
- "type": "boolean",
2784
- "title": "disabled"
2785
- }
2786
- }
2787
- },
2788
- "undo": {
2789
- "title": "EditableHtmlButtonConfigure",
2790
- "type": "object",
2791
- "properties": {
2792
- "disabled": {
2793
- "description": "Indicates if the plugin is disabled or not",
2794
- "type": "boolean",
2795
- "title": "disabled"
2796
- }
2797
- }
2798
- }
2799
- }
2800
- },
2801
- "expandedInput": {
2802
- "title": "EditableHtmlPluginConfigure",
2803
- "type": "object",
2804
- "properties": {
2805
- "inputConfiguration": {
2806
- "title": "EditableHtmlConfigureProp",
2807
- "type": "object",
2808
- "properties": {
2809
- "math": {
2810
- "title": "EditableHtmlButtonConfigure",
2811
- "type": "object",
2812
- "properties": {
2813
- "disabled": {
2814
- "description": "Indicates if the plugin is disabled or not",
2815
- "type": "boolean",
2816
- "title": "disabled"
2817
- }
2818
- }
2819
- },
2820
- "audio": {
2821
- "title": "EditableHtmlButtonConfigure",
2822
- "type": "object",
2823
- "properties": {
2824
- "disabled": {
2825
- "description": "Indicates if the plugin is disabled or not",
2826
- "type": "boolean",
2827
- "title": "disabled"
2828
- }
2829
- }
2830
- },
2831
- "video": {
2832
- "title": "EditableHtmlButtonConfigure",
2833
- "type": "object",
2834
- "properties": {
2835
- "disabled": {
2836
- "description": "Indicates if the plugin is disabled or not",
2837
- "type": "boolean",
2838
- "title": "disabled"
2839
- }
2840
- }
2841
- },
2842
- "image": {
2843
- "title": "EditableHtmlButtonConfigure",
2844
- "type": "object",
2845
- "properties": {
2846
- "disabled": {
2847
- "description": "Indicates if the plugin is disabled or not",
2848
- "type": "boolean",
2849
- "title": "disabled"
2850
- }
2851
- }
2852
- },
2853
- "customPlugins": {
2854
- "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.",
2855
- "type": "array",
2856
- "items": {
2857
- "title": "CustomPlugin",
2858
- "type": "object",
2859
- "properties": {
2860
- "event": {
2861
- "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\"",
2862
- "type": "string",
2863
- "title": "event"
2864
- },
2865
- "iconAlt": {
2866
- "description": "The alt for the custom button icon",
2867
- "type": "string",
2868
- "title": "iconAlt"
2869
- },
2870
- "iconType": {
2871
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2872
- "type": "string",
2873
- "title": "iconType"
2874
- },
2875
- "icon": {
2876
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2877
- "type": "string",
2878
- "title": "icon"
2879
- }
2880
- },
2881
- "required": [
2882
- "event",
2883
- "icon",
2884
- "iconAlt",
2885
- "iconType"
2886
- ]
2887
- },
2888
- "title": "customPlugins"
2889
- },
2890
- "blockquote": {
2891
- "title": "EditableHtmlButtonConfigure",
2892
- "type": "object",
2893
- "properties": {
2894
- "disabled": {
2895
- "description": "Indicates if the plugin is disabled or not",
2896
- "type": "boolean",
2897
- "title": "disabled"
2898
- }
2899
- }
2900
- },
2901
- "h3": {
2902
- "title": "EditableHtmlButtonConfigure",
2903
- "type": "object",
2904
- "properties": {
2905
- "disabled": {
2906
- "description": "Indicates if the plugin is disabled or not",
2907
- "type": "boolean",
2908
- "title": "disabled"
2909
- }
2910
- }
2911
- },
2912
- "characters": {
2913
- "title": "EditableHtmlButtonConfigure",
2914
- "type": "object",
2915
- "properties": {
2916
- "disabled": {
2917
- "description": "Indicates if the plugin is disabled or not",
2918
- "type": "boolean",
2919
- "title": "disabled"
2920
- }
2921
- }
2922
- },
2923
- "bold": {
2924
- "title": "EditableHtmlButtonConfigure",
2925
- "type": "object",
2926
- "properties": {
2927
- "disabled": {
2928
- "description": "Indicates if the plugin is disabled or not",
2929
- "type": "boolean",
2930
- "title": "disabled"
2931
- }
2932
- }
2933
- },
2934
- "html": {
2935
- "title": "EditableHtmlButtonConfigure",
2936
- "type": "object",
2937
- "properties": {
2938
- "disabled": {
2939
- "description": "Indicates if the plugin is disabled or not",
2940
- "type": "boolean",
2941
- "title": "disabled"
2942
- }
2943
- }
2944
- },
2945
- "italic": {
2946
- "title": "EditableHtmlButtonConfigure",
2947
- "type": "object",
2948
- "properties": {
2949
- "disabled": {
2950
- "description": "Indicates if the plugin is disabled or not",
2951
- "type": "boolean",
2952
- "title": "disabled"
2953
- }
2954
- }
2955
- },
2956
- "ol_list": {
2957
- "title": "EditableHtmlButtonConfigure",
2958
- "type": "object",
2959
- "properties": {
2960
- "disabled": {
2961
- "description": "Indicates if the plugin is disabled or not",
2962
- "type": "boolean",
2963
- "title": "disabled"
2964
- }
2965
- }
2966
- },
2967
- "redo": {
2968
- "title": "EditableHtmlButtonConfigure",
2969
- "type": "object",
2970
- "properties": {
2971
- "disabled": {
2972
- "description": "Indicates if the plugin is disabled or not",
2973
- "type": "boolean",
2974
- "title": "disabled"
2975
- }
2976
- }
2977
- },
2978
- "strikethrough": {
2979
- "title": "EditableHtmlButtonConfigure",
2980
- "type": "object",
2981
- "properties": {
2982
- "disabled": {
2983
- "description": "Indicates if the plugin is disabled or not",
2984
- "type": "boolean",
2985
- "title": "disabled"
2986
- }
2987
- }
2988
- },
2989
- "sub": {
2990
- "title": "EditableHtmlButtonConfigure",
2991
- "type": "object",
2992
- "properties": {
2993
- "disabled": {
2994
- "description": "Indicates if the plugin is disabled or not",
2995
- "type": "boolean",
2996
- "title": "disabled"
2997
- }
2998
- }
2999
- },
3000
- "sup": {
3001
- "title": "EditableHtmlButtonConfigure",
3002
- "type": "object",
3003
- "properties": {
3004
- "disabled": {
3005
- "description": "Indicates if the plugin is disabled or not",
3006
- "type": "boolean",
3007
- "title": "disabled"
3008
- }
3009
- }
3010
- },
3011
- "table": {
3012
- "title": "EditableHtmlButtonConfigure",
3013
- "type": "object",
3014
- "properties": {
3015
- "disabled": {
3016
- "description": "Indicates if the plugin is disabled or not",
3017
- "type": "boolean",
3018
- "title": "disabled"
3019
- }
3020
- }
3021
- },
3022
- "ul_list": {
3023
- "title": "EditableHtmlButtonConfigure",
3024
- "type": "object",
3025
- "properties": {
3026
- "disabled": {
3027
- "description": "Indicates if the plugin is disabled or not",
3028
- "type": "boolean",
3029
- "title": "disabled"
3030
- }
3031
- }
3032
- },
3033
- "underline": {
3034
- "title": "EditableHtmlButtonConfigure",
3035
- "type": "object",
3036
- "properties": {
3037
- "disabled": {
3038
- "description": "Indicates if the plugin is disabled or not",
3039
- "type": "boolean",
3040
- "title": "disabled"
3041
- }
3042
- }
3043
- },
3044
- "undo": {
3045
- "title": "EditableHtmlButtonConfigure",
3046
- "type": "object",
3047
- "properties": {
3048
- "disabled": {
3049
- "description": "Indicates if the plugin is disabled or not",
3050
- "type": "boolean",
3051
- "title": "disabled"
3052
- }
3053
- }
3054
- }
3055
- }
3056
- },
3057
- "settings": {
3058
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3059
- "type": "boolean",
3060
- "title": "settings"
3061
- },
3062
- "label": {
3063
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3064
- "type": "string",
3065
- "title": "label"
3066
- }
3067
- }
3068
- },
3069
- "labelInput": {
3070
- "title": "EditableHtmlPluginConfigure",
3071
- "type": "object",
3072
- "properties": {
3073
- "inputConfiguration": {
3074
- "title": "EditableHtmlConfigureProp",
3075
- "type": "object",
3076
- "properties": {
3077
- "math": {
3078
- "title": "EditableHtmlButtonConfigure",
3079
- "type": "object",
3080
- "properties": {
3081
- "disabled": {
3082
- "description": "Indicates if the plugin is disabled or not",
3083
- "type": "boolean",
3084
- "title": "disabled"
3085
- }
3086
- }
3087
- },
3088
- "audio": {
3089
- "title": "EditableHtmlButtonConfigure",
3090
- "type": "object",
3091
- "properties": {
3092
- "disabled": {
3093
- "description": "Indicates if the plugin is disabled or not",
3094
- "type": "boolean",
3095
- "title": "disabled"
3096
- }
3097
- }
3098
- },
3099
- "video": {
3100
- "title": "EditableHtmlButtonConfigure",
3101
- "type": "object",
3102
- "properties": {
3103
- "disabled": {
3104
- "description": "Indicates if the plugin is disabled or not",
3105
- "type": "boolean",
3106
- "title": "disabled"
3107
- }
3108
- }
3109
- },
3110
- "image": {
3111
- "title": "EditableHtmlButtonConfigure",
3112
- "type": "object",
3113
- "properties": {
3114
- "disabled": {
3115
- "description": "Indicates if the plugin is disabled or not",
3116
- "type": "boolean",
3117
- "title": "disabled"
3118
- }
3119
- }
3120
- },
3121
- "customPlugins": {
3122
- "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.",
3123
- "type": "array",
3124
- "items": {
3125
- "title": "CustomPlugin",
3126
- "type": "object",
3127
- "properties": {
3128
- "event": {
3129
- "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\"",
3130
- "type": "string",
3131
- "title": "event"
3132
- },
3133
- "iconAlt": {
3134
- "description": "The alt for the custom button icon",
3135
- "type": "string",
3136
- "title": "iconAlt"
3137
- },
3138
- "iconType": {
3139
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
3140
- "type": "string",
3141
- "title": "iconType"
3142
- },
3143
- "icon": {
3144
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
3145
- "type": "string",
3146
- "title": "icon"
3147
- }
3148
- },
3149
- "required": [
3150
- "event",
3151
- "icon",
3152
- "iconAlt",
3153
- "iconType"
3154
- ]
3155
- },
3156
- "title": "customPlugins"
3157
- },
3158
- "blockquote": {
3159
- "title": "EditableHtmlButtonConfigure",
3160
- "type": "object",
3161
- "properties": {
3162
- "disabled": {
3163
- "description": "Indicates if the plugin is disabled or not",
3164
- "type": "boolean",
3165
- "title": "disabled"
3166
- }
3167
- }
3168
- },
3169
- "h3": {
3170
- "title": "EditableHtmlButtonConfigure",
3171
- "type": "object",
3172
- "properties": {
3173
- "disabled": {
3174
- "description": "Indicates if the plugin is disabled or not",
3175
- "type": "boolean",
3176
- "title": "disabled"
3177
- }
3178
- }
3179
- },
3180
- "characters": {
3181
- "title": "EditableHtmlButtonConfigure",
3182
- "type": "object",
3183
- "properties": {
3184
- "disabled": {
3185
- "description": "Indicates if the plugin is disabled or not",
3186
- "type": "boolean",
3187
- "title": "disabled"
3188
- }
3189
- }
3190
- },
3191
- "bold": {
3192
- "title": "EditableHtmlButtonConfigure",
3193
- "type": "object",
3194
- "properties": {
3195
- "disabled": {
3196
- "description": "Indicates if the plugin is disabled or not",
3197
- "type": "boolean",
3198
- "title": "disabled"
3199
- }
3200
- }
3201
- },
3202
- "html": {
3203
- "title": "EditableHtmlButtonConfigure",
3204
- "type": "object",
3205
- "properties": {
3206
- "disabled": {
3207
- "description": "Indicates if the plugin is disabled or not",
3208
- "type": "boolean",
3209
- "title": "disabled"
3210
- }
3211
- }
3212
- },
3213
- "italic": {
3214
- "title": "EditableHtmlButtonConfigure",
3215
- "type": "object",
3216
- "properties": {
3217
- "disabled": {
3218
- "description": "Indicates if the plugin is disabled or not",
3219
- "type": "boolean",
3220
- "title": "disabled"
3221
- }
3222
- }
3223
- },
3224
- "ol_list": {
3225
- "title": "EditableHtmlButtonConfigure",
3226
- "type": "object",
3227
- "properties": {
3228
- "disabled": {
3229
- "description": "Indicates if the plugin is disabled or not",
3230
- "type": "boolean",
3231
- "title": "disabled"
3232
- }
3233
- }
3234
- },
3235
- "redo": {
3236
- "title": "EditableHtmlButtonConfigure",
3237
- "type": "object",
3238
- "properties": {
3239
- "disabled": {
3240
- "description": "Indicates if the plugin is disabled or not",
3241
- "type": "boolean",
3242
- "title": "disabled"
3243
- }
3244
- }
3245
- },
3246
- "strikethrough": {
3247
- "title": "EditableHtmlButtonConfigure",
3248
- "type": "object",
3249
- "properties": {
3250
- "disabled": {
3251
- "description": "Indicates if the plugin is disabled or not",
3252
- "type": "boolean",
3253
- "title": "disabled"
3254
- }
3255
- }
3256
- },
3257
- "sub": {
3258
- "title": "EditableHtmlButtonConfigure",
3259
- "type": "object",
3260
- "properties": {
3261
- "disabled": {
3262
- "description": "Indicates if the plugin is disabled or not",
3263
- "type": "boolean",
3264
- "title": "disabled"
3265
- }
3266
- }
3267
- },
3268
- "sup": {
3269
- "title": "EditableHtmlButtonConfigure",
3270
- "type": "object",
3271
- "properties": {
3272
- "disabled": {
3273
- "description": "Indicates if the plugin is disabled or not",
3274
- "type": "boolean",
3275
- "title": "disabled"
3276
- }
3277
- }
3278
- },
3279
- "table": {
3280
- "title": "EditableHtmlButtonConfigure",
3281
- "type": "object",
3282
- "properties": {
3283
- "disabled": {
3284
- "description": "Indicates if the plugin is disabled or not",
3285
- "type": "boolean",
3286
- "title": "disabled"
3287
- }
3288
- }
3289
- },
3290
- "ul_list": {
3291
- "title": "EditableHtmlButtonConfigure",
3292
- "type": "object",
3293
- "properties": {
3294
- "disabled": {
3295
- "description": "Indicates if the plugin is disabled or not",
3296
- "type": "boolean",
3297
- "title": "disabled"
3298
- }
3299
- }
3300
- },
3301
- "underline": {
3302
- "title": "EditableHtmlButtonConfigure",
3303
- "type": "object",
3304
- "properties": {
3305
- "disabled": {
3306
- "description": "Indicates if the plugin is disabled or not",
3307
- "type": "boolean",
3308
- "title": "disabled"
3309
- }
3310
- }
3311
- },
3312
- "undo": {
3313
- "title": "EditableHtmlButtonConfigure",
3314
- "type": "object",
3315
- "properties": {
3316
- "disabled": {
3317
- "description": "Indicates if the plugin is disabled or not",
3318
- "type": "boolean",
3319
- "title": "disabled"
3320
- }
3321
- }
3322
- }
3323
- }
3324
- },
3325
- "settings": {
3326
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3327
- "type": "boolean",
3328
- "title": "settings"
3329
- },
3330
- "label": {
3331
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3332
- "type": "string",
3333
- "title": "label"
3334
- }
3335
- }
3336
- },
3337
- "excludeZeroDialogBoxContent": {
3338
- "title": "DialogContent",
3339
- "type": "object",
3340
- "properties": {
3341
- "title": {
3342
- "description": "Dialog box title",
3343
- "type": "string",
3344
- "title": "title"
3345
- },
3346
- "text": {
3347
- "description": "Dialog box text",
3348
- "type": "string",
3349
- "title": "text"
3350
- }
3351
- }
3352
- },
3353
- "includeZeroDialogBoxContent": {
3354
- "title": "DialogContent",
3355
- "type": "object",
3356
- "properties": {
3357
- "title": {
3358
- "description": "Dialog box title",
3359
- "type": "string",
3360
- "title": "title"
3361
- },
3362
- "text": {
3363
- "description": "Dialog box text",
3364
- "type": "string",
3365
- "title": "text"
3366
- }
3367
- }
3368
- },
3369
- "deleteScaleDialogBoxContent": {
3370
- "title": "DialogContent",
3371
- "type": "object",
3372
- "properties": {
3373
- "title": {
3374
- "description": "Dialog box title",
3375
- "type": "string",
3376
- "title": "title"
3377
- },
3378
- "text": {
3379
- "description": "Dialog box text",
3380
- "type": "string",
3381
- "title": "text"
3382
- }
3383
- }
3384
- },
3385
- "maxPointsDialogBoxContent": {
3386
- "title": "DialogContent",
3387
- "type": "object",
3388
- "properties": {
3389
- "title": {
3390
- "description": "Dialog box title",
3391
- "type": "string",
3392
- "title": "title"
3393
- },
3394
- "text": {
3395
- "description": "Dialog box text",
3396
- "type": "string",
3397
- "title": "text"
3398
- }
3399
- }
3400
- },
3401
- "settingsPanelDisabled": {
3402
- "description": "Indicates if the settings panel is not available",
3403
- "type": "boolean",
3404
- "title": "settingsPanelDisabled"
3405
- },
3406
- "showExcludeZero": {
3407
- "title": "ConfigureProp",
3408
- "type": "object",
3409
- "properties": {
3410
- "settings": {
3411
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3412
- "type": "boolean",
3413
- "title": "settings"
3414
- },
3415
- "label": {
3416
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3417
- "type": "string",
3418
- "title": "label"
3419
- }
3420
- }
3421
- },
3422
- "showScorePointLabels": {
3423
- "title": "ConfigureProp",
3424
- "type": "object",
3425
- "properties": {
3426
- "settings": {
3427
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3428
- "type": "boolean",
3429
- "title": "settings"
3430
- },
3431
- "label": {
3432
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3433
- "type": "string",
3434
- "title": "label"
3435
- }
3436
- }
3437
- },
3438
- "showDescription": {
3439
- "title": "ConfigureProp",
3440
- "type": "object",
3441
- "properties": {
3442
- "settings": {
3443
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3444
- "type": "boolean",
3445
- "title": "settings"
3446
- },
3447
- "label": {
3448
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3449
- "type": "string",
3450
- "title": "label"
3451
- }
3452
- }
3453
- },
3454
- "showVisibleToStudent": {
3455
- "title": "ConfigureProp",
3456
- "type": "object",
3457
- "properties": {
3458
- "settings": {
3459
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3460
- "type": "boolean",
3461
- "title": "settings"
3462
- },
3463
- "label": {
3464
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3465
- "type": "string",
3466
- "title": "label"
3467
- }
3468
- }
3469
- },
3470
- "showHalfScoring": {
3471
- "title": "ConfigureProp",
3472
- "type": "object",
3473
- "properties": {
3474
- "settings": {
3475
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3476
- "type": "boolean",
3477
- "title": "settings"
3478
- },
3479
- "label": {
3480
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3481
- "type": "string",
3482
- "title": "label"
3483
- }
3484
- }
3485
- },
3486
- "spellCheck": {
3487
- "title": "ConfigureProp",
3488
- "type": "object",
3489
- "properties": {
3490
- "settings": {
3491
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3492
- "type": "boolean",
3493
- "title": "settings"
3494
- },
3495
- "label": {
3496
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3497
- "type": "string",
3498
- "title": "label"
3499
- }
3500
- }
3501
- },
3502
- "width": {
3503
- "description": "How large (in px) should multi-trait-rubric be",
3504
- "type": "string",
3505
- "title": "width"
3506
- },
3507
- "minNoOfTraits": {
3508
- "description": "Minimum number of traits",
3509
- "type": "number",
3510
- "title": "minNoOfTraits"
3511
- },
3512
- "maxNoOfTraits": {
3513
- "description": "Maximum number of traits",
3514
- "type": "number",
3515
- "title": "maxNoOfTraits"
3516
- },
3517
- "minNoOfScales": {
3518
- "description": "Minimum number of scales",
3519
- "type": "number",
3520
- "title": "minNoOfScales"
3521
- },
3522
- "maxNoOfScales": {
3523
- "description": "Maximum number of scales",
3524
- "type": "number",
3525
- "title": "maxNoOfScales"
3526
- },
3527
- "defaultTraitLabel": {
3528
- "description": "The default trait label for new created scales.\nIf it's not defined, it will default to the label of the first trait.",
3529
- "type": "string",
3530
- "title": "defaultTraitLabel"
3531
- },
3532
- "mathMlOptions": {
3533
- "title": "ConfigureMathMLProp",
3534
- "type": "object",
3535
- "properties": {
3536
- "mmlOutput": {
3537
- "description": "Indicates if model should have mathML output instead of latex",
3538
- "type": "number",
3539
- "title": "mmlOutput"
3540
- },
3541
- "mmlEditing": {
3542
- "description": "Indicates if mathML that's already in model should be editable",
3543
- "type": "number",
3544
- "title": "mmlEditing"
3545
- }
3546
- }
3547
- },
3548
- "maxMaxPoints": {
3549
- "description": "Indicates the max limit for scoring points",
3550
- "type": "number",
3551
- "title": "maxMaxPoints"
3552
- }
3553
- },
3554
- "required": [
3555
- "width"
3556
- ]
3557
- },
3558
- "EditableHtmlPluginConfigure": {
3559
- "title": "EditableHtmlPluginConfigure",
3560
- "type": "object",
3561
- "properties": {
3562
- "inputConfiguration": {
3563
- "title": "EditableHtmlConfigureProp",
3564
- "type": "object",
3565
- "properties": {
3566
- "math": {
3567
- "title": "EditableHtmlButtonConfigure",
3568
- "type": "object",
3569
- "properties": {
3570
- "disabled": {
3571
- "description": "Indicates if the plugin is disabled or not",
3572
- "type": "boolean",
3573
- "title": "disabled"
3574
- }
3575
- }
3576
- },
3577
- "audio": {
3578
- "title": "EditableHtmlButtonConfigure",
3579
- "type": "object",
3580
- "properties": {
3581
- "disabled": {
3582
- "description": "Indicates if the plugin is disabled or not",
3583
- "type": "boolean",
3584
- "title": "disabled"
3585
- }
3586
- }
3587
- },
3588
- "video": {
3589
- "title": "EditableHtmlButtonConfigure",
3590
- "type": "object",
3591
- "properties": {
3592
- "disabled": {
3593
- "description": "Indicates if the plugin is disabled or not",
3594
- "type": "boolean",
3595
- "title": "disabled"
3596
- }
3597
- }
3598
- },
3599
- "image": {
3600
- "title": "EditableHtmlButtonConfigure",
3601
- "type": "object",
3602
- "properties": {
3603
- "disabled": {
3604
- "description": "Indicates if the plugin is disabled or not",
3605
- "type": "boolean",
3606
- "title": "disabled"
3607
- }
3608
- }
3609
- },
3610
- "customPlugins": {
3611
- "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.",
3612
- "type": "array",
3613
- "items": {
3614
- "title": "CustomPlugin",
3615
- "type": "object",
3616
- "properties": {
3617
- "event": {
3618
- "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\"",
3619
- "type": "string",
3620
- "title": "event"
3621
- },
3622
- "iconAlt": {
3623
- "description": "The alt for the custom button icon",
3624
- "type": "string",
3625
- "title": "iconAlt"
3626
- },
3627
- "iconType": {
3628
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
3629
- "type": "string",
3630
- "title": "iconType"
3631
- },
3632
- "icon": {
3633
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
3634
- "type": "string",
3635
- "title": "icon"
3636
- }
3637
- },
3638
- "required": [
3639
- "event",
3640
- "icon",
3641
- "iconAlt",
3642
- "iconType"
3643
- ]
3644
- },
3645
- "title": "customPlugins"
3646
- },
3647
- "blockquote": {
3648
- "title": "EditableHtmlButtonConfigure",
3649
- "type": "object",
3650
- "properties": {
3651
- "disabled": {
3652
- "description": "Indicates if the plugin is disabled or not",
3653
- "type": "boolean",
3654
- "title": "disabled"
3655
- }
3656
- }
3657
- },
3658
- "h3": {
3659
- "title": "EditableHtmlButtonConfigure",
3660
- "type": "object",
3661
- "properties": {
3662
- "disabled": {
3663
- "description": "Indicates if the plugin is disabled or not",
3664
- "type": "boolean",
3665
- "title": "disabled"
3666
- }
3667
- }
3668
- },
3669
- "characters": {
3670
- "title": "EditableHtmlButtonConfigure",
3671
- "type": "object",
3672
- "properties": {
3673
- "disabled": {
3674
- "description": "Indicates if the plugin is disabled or not",
3675
- "type": "boolean",
3676
- "title": "disabled"
3677
- }
3678
- }
3679
- },
3680
- "bold": {
3681
- "title": "EditableHtmlButtonConfigure",
3682
- "type": "object",
3683
- "properties": {
3684
- "disabled": {
3685
- "description": "Indicates if the plugin is disabled or not",
3686
- "type": "boolean",
3687
- "title": "disabled"
3688
- }
3689
- }
3690
- },
3691
- "html": {
3692
- "title": "EditableHtmlButtonConfigure",
3693
- "type": "object",
3694
- "properties": {
3695
- "disabled": {
3696
- "description": "Indicates if the plugin is disabled or not",
3697
- "type": "boolean",
3698
- "title": "disabled"
3699
- }
3700
- }
3701
- },
3702
- "italic": {
3703
- "title": "EditableHtmlButtonConfigure",
3704
- "type": "object",
3705
- "properties": {
3706
- "disabled": {
3707
- "description": "Indicates if the plugin is disabled or not",
3708
- "type": "boolean",
3709
- "title": "disabled"
3710
- }
3711
- }
3712
- },
3713
- "ol_list": {
3714
- "title": "EditableHtmlButtonConfigure",
3715
- "type": "object",
3716
- "properties": {
3717
- "disabled": {
3718
- "description": "Indicates if the plugin is disabled or not",
3719
- "type": "boolean",
3720
- "title": "disabled"
3721
- }
3722
- }
3723
- },
3724
- "redo": {
3725
- "title": "EditableHtmlButtonConfigure",
3726
- "type": "object",
3727
- "properties": {
3728
- "disabled": {
3729
- "description": "Indicates if the plugin is disabled or not",
3730
- "type": "boolean",
3731
- "title": "disabled"
3732
- }
3733
- }
3734
- },
3735
- "strikethrough": {
3736
- "title": "EditableHtmlButtonConfigure",
3737
- "type": "object",
3738
- "properties": {
3739
- "disabled": {
3740
- "description": "Indicates if the plugin is disabled or not",
3741
- "type": "boolean",
3742
- "title": "disabled"
3743
- }
3744
- }
3745
- },
3746
- "sub": {
3747
- "title": "EditableHtmlButtonConfigure",
3748
- "type": "object",
3749
- "properties": {
3750
- "disabled": {
3751
- "description": "Indicates if the plugin is disabled or not",
3752
- "type": "boolean",
3753
- "title": "disabled"
3754
- }
3755
- }
3756
- },
3757
- "sup": {
3758
- "title": "EditableHtmlButtonConfigure",
3759
- "type": "object",
3760
- "properties": {
3761
- "disabled": {
3762
- "description": "Indicates if the plugin is disabled or not",
3763
- "type": "boolean",
3764
- "title": "disabled"
3765
- }
3766
- }
3767
- },
3768
- "table": {
3769
- "title": "EditableHtmlButtonConfigure",
3770
- "type": "object",
3771
- "properties": {
3772
- "disabled": {
3773
- "description": "Indicates if the plugin is disabled or not",
3774
- "type": "boolean",
3775
- "title": "disabled"
3776
- }
3777
- }
3778
- },
3779
- "ul_list": {
3780
- "title": "EditableHtmlButtonConfigure",
3781
- "type": "object",
3782
- "properties": {
3783
- "disabled": {
3784
- "description": "Indicates if the plugin is disabled or not",
3785
- "type": "boolean",
3786
- "title": "disabled"
3787
- }
3788
- }
3789
- },
3790
- "underline": {
3791
- "title": "EditableHtmlButtonConfigure",
3792
- "type": "object",
3793
- "properties": {
3794
- "disabled": {
3795
- "description": "Indicates if the plugin is disabled or not",
3796
- "type": "boolean",
3797
- "title": "disabled"
3798
- }
3799
- }
3800
- },
3801
- "undo": {
3802
- "title": "EditableHtmlButtonConfigure",
3803
- "type": "object",
3804
- "properties": {
3805
- "disabled": {
3806
- "description": "Indicates if the plugin is disabled or not",
3807
- "type": "boolean",
3808
- "title": "disabled"
3809
- }
3810
- }
3811
- }
3812
- }
3813
- },
3814
- "settings": {
3815
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3816
- "type": "boolean",
3817
- "title": "settings"
3818
- },
3819
- "label": {
3820
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3821
- "type": "string",
3822
- "title": "label"
3823
- }
3824
- }
3825
- },
3826
- "DialogContent": {
3827
- "title": "DialogContent",
3828
- "type": "object",
3829
- "properties": {
3830
- "title": {
3831
- "description": "Dialog box title",
3832
- "type": "string",
3833
- "title": "title"
3834
- },
3835
- "text": {
3836
- "description": "Dialog box text",
3837
- "type": "string",
3838
- "title": "text"
3839
- }
3840
- }
3841
- },
3842
- "RubriclessConfigure": {
3843
- "title": "RubriclessConfigure",
3844
- "type": "object",
3845
- "properties": {
3846
- "settingsPanelDisabled": {
3847
- "description": "Indicates if the settings panel is not available",
3848
- "type": "boolean",
3849
- "title": "settingsPanelDisabled"
3850
- },
3851
- "showExcludeZero": {
3852
- "title": "ConfigureProp",
3853
- "type": "object",
3854
- "properties": {
3855
- "settings": {
3856
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3857
- "type": "boolean",
3858
- "title": "settings"
3859
- },
3860
- "label": {
3861
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3862
- "type": "string",
3863
- "title": "label"
3864
- }
3865
- }
3866
- },
3867
- "showMaxPoint": {
3868
- "title": "ConfigureProp",
3869
- "type": "object",
3870
- "properties": {
3871
- "settings": {
3872
- "description": "Indicates if the item has to be displayed in the Settings Panel",
3873
- "type": "boolean",
3874
- "title": "settings"
3875
- },
3876
- "label": {
3877
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
3878
- "type": "string",
3879
- "title": "label"
3880
- }
3881
- }
3882
- },
3883
- "width": {
3884
- "description": "How large can the rubric be",
3885
- "type": "string",
3886
- "title": "width"
3887
- },
3888
- "mathMlOptions": {
3889
- "title": "ConfigureMathMLProp",
3890
- "type": "object",
3891
- "properties": {
3892
- "mmlOutput": {
3893
- "description": "Indicates if model should have mathML output instead of latex",
3894
- "type": "number",
3895
- "title": "mmlOutput"
3896
- },
3897
- "mmlEditing": {
3898
- "description": "Indicates if mathML that's already in model should be editable",
3899
- "type": "number",
3900
- "title": "mmlEditing"
3901
- }
3902
- }
3903
- },
3904
- "maxMaxPoints": {
3905
- "description": "Indicates the max limit for scoring points",
3906
- "type": "number",
3907
- "title": "maxMaxPoints"
3908
- },
3909
- "rubricless": {
3910
- "description": "Indicates that it is rubricless",
3911
- "type": "boolean",
3912
- "enum": [
3913
- true
3914
- ],
3915
- "title": "rubricless"
3916
- },
3917
- "rubriclessInstruction": {
3918
- "title": "EditableHtmlPluginConfigure",
3919
- "type": "object",
3920
- "properties": {
3921
- "inputConfiguration": {
3922
- "title": "EditableHtmlConfigureProp",
3923
- "type": "object",
3924
- "properties": {
3925
- "math": {
3926
- "title": "EditableHtmlButtonConfigure",
3927
- "type": "object",
3928
- "properties": {
3929
- "disabled": {
3930
- "description": "Indicates if the plugin is disabled or not",
3931
- "type": "boolean",
3932
- "title": "disabled"
3933
- }
3934
- }
3935
- },
3936
- "audio": {
3937
- "title": "EditableHtmlButtonConfigure",
3938
- "type": "object",
3939
- "properties": {
3940
- "disabled": {
3941
- "description": "Indicates if the plugin is disabled or not",
3942
- "type": "boolean",
3943
- "title": "disabled"
3944
- }
3945
- }
3946
- },
3947
- "video": {
3948
- "title": "EditableHtmlButtonConfigure",
3949
- "type": "object",
3950
- "properties": {
3951
- "disabled": {
3952
- "description": "Indicates if the plugin is disabled or not",
3953
- "type": "boolean",
3954
- "title": "disabled"
3955
- }
3956
- }
3957
- },
3958
- "image": {
3959
- "title": "EditableHtmlButtonConfigure",
3960
- "type": "object",
3961
- "properties": {
3962
- "disabled": {
3963
- "description": "Indicates if the plugin is disabled or not",
3964
- "type": "boolean",
3965
- "title": "disabled"
3966
- }
3967
- }
3968
- },
3969
- "customPlugins": {
3970
- "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.",
3971
- "type": "array",
3972
- "items": {
3973
- "title": "CustomPlugin",
3974
- "type": "object",
3975
- "properties": {
3976
- "event": {
3977
- "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\"",
3978
- "type": "string",
3979
- "title": "event"
3980
- },
3981
- "iconAlt": {
3982
- "description": "The alt for the custom button icon",
3983
- "type": "string",
3984
- "title": "iconAlt"
3985
- },
3986
- "iconType": {
3987
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
3988
- "type": "string",
3989
- "title": "iconType"
3990
- },
3991
- "icon": {
3992
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
3993
- "type": "string",
3994
- "title": "icon"
3995
- }
3996
- },
3997
- "required": [
3998
- "event",
3999
- "icon",
4000
- "iconAlt",
4001
- "iconType"
4002
- ]
4003
- },
4004
- "title": "customPlugins"
4005
- },
4006
- "blockquote": {
4007
- "title": "EditableHtmlButtonConfigure",
4008
- "type": "object",
4009
- "properties": {
4010
- "disabled": {
4011
- "description": "Indicates if the plugin is disabled or not",
4012
- "type": "boolean",
4013
- "title": "disabled"
4014
- }
4015
- }
4016
- },
4017
- "h3": {
4018
- "title": "EditableHtmlButtonConfigure",
4019
- "type": "object",
4020
- "properties": {
4021
- "disabled": {
4022
- "description": "Indicates if the plugin is disabled or not",
4023
- "type": "boolean",
4024
- "title": "disabled"
4025
- }
4026
- }
4027
- },
4028
- "characters": {
4029
- "title": "EditableHtmlButtonConfigure",
4030
- "type": "object",
4031
- "properties": {
4032
- "disabled": {
4033
- "description": "Indicates if the plugin is disabled or not",
4034
- "type": "boolean",
4035
- "title": "disabled"
4036
- }
4037
- }
4038
- },
4039
- "bold": {
4040
- "title": "EditableHtmlButtonConfigure",
4041
- "type": "object",
4042
- "properties": {
4043
- "disabled": {
4044
- "description": "Indicates if the plugin is disabled or not",
4045
- "type": "boolean",
4046
- "title": "disabled"
4047
- }
4048
- }
4049
- },
4050
- "html": {
4051
- "title": "EditableHtmlButtonConfigure",
4052
- "type": "object",
4053
- "properties": {
4054
- "disabled": {
4055
- "description": "Indicates if the plugin is disabled or not",
4056
- "type": "boolean",
4057
- "title": "disabled"
4058
- }
4059
- }
4060
- },
4061
- "italic": {
4062
- "title": "EditableHtmlButtonConfigure",
4063
- "type": "object",
4064
- "properties": {
4065
- "disabled": {
4066
- "description": "Indicates if the plugin is disabled or not",
4067
- "type": "boolean",
4068
- "title": "disabled"
4069
- }
4070
- }
4071
- },
4072
- "ol_list": {
4073
- "title": "EditableHtmlButtonConfigure",
4074
- "type": "object",
4075
- "properties": {
4076
- "disabled": {
4077
- "description": "Indicates if the plugin is disabled or not",
4078
- "type": "boolean",
4079
- "title": "disabled"
4080
- }
4081
- }
4082
- },
4083
- "redo": {
4084
- "title": "EditableHtmlButtonConfigure",
4085
- "type": "object",
4086
- "properties": {
4087
- "disabled": {
4088
- "description": "Indicates if the plugin is disabled or not",
4089
- "type": "boolean",
4090
- "title": "disabled"
4091
- }
4092
- }
4093
- },
4094
- "strikethrough": {
4095
- "title": "EditableHtmlButtonConfigure",
4096
- "type": "object",
4097
- "properties": {
4098
- "disabled": {
4099
- "description": "Indicates if the plugin is disabled or not",
4100
- "type": "boolean",
4101
- "title": "disabled"
4102
- }
4103
- }
4104
- },
4105
- "sub": {
4106
- "title": "EditableHtmlButtonConfigure",
4107
- "type": "object",
4108
- "properties": {
4109
- "disabled": {
4110
- "description": "Indicates if the plugin is disabled or not",
4111
- "type": "boolean",
4112
- "title": "disabled"
4113
- }
4114
- }
4115
- },
4116
- "sup": {
4117
- "title": "EditableHtmlButtonConfigure",
4118
- "type": "object",
4119
- "properties": {
4120
- "disabled": {
4121
- "description": "Indicates if the plugin is disabled or not",
4122
- "type": "boolean",
4123
- "title": "disabled"
4124
- }
4125
- }
4126
- },
4127
- "table": {
4128
- "title": "EditableHtmlButtonConfigure",
4129
- "type": "object",
4130
- "properties": {
4131
- "disabled": {
4132
- "description": "Indicates if the plugin is disabled or not",
4133
- "type": "boolean",
4134
- "title": "disabled"
4135
- }
4136
- }
4137
- },
4138
- "ul_list": {
4139
- "title": "EditableHtmlButtonConfigure",
4140
- "type": "object",
4141
- "properties": {
4142
- "disabled": {
4143
- "description": "Indicates if the plugin is disabled or not",
4144
- "type": "boolean",
4145
- "title": "disabled"
4146
- }
4147
- }
4148
- },
4149
- "underline": {
4150
- "title": "EditableHtmlButtonConfigure",
4151
- "type": "object",
4152
- "properties": {
4153
- "disabled": {
4154
- "description": "Indicates if the plugin is disabled or not",
4155
- "type": "boolean",
4156
- "title": "disabled"
4157
- }
4158
- }
4159
- },
4160
- "undo": {
4161
- "title": "EditableHtmlButtonConfigure",
4162
- "type": "object",
4163
- "properties": {
4164
- "disabled": {
4165
- "description": "Indicates if the plugin is disabled or not",
4166
- "type": "boolean",
4167
- "title": "disabled"
4168
- }
4169
- }
4170
- }
4171
- }
4172
- },
4173
- "settings": {
4174
- "description": "Indicates if the item has to be displayed in the Settings Panel",
4175
- "type": "boolean",
4176
- "title": "settings"
4177
- },
4178
- "label": {
4179
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
4180
- "type": "string",
4181
- "title": "label"
4182
- }
4183
- }
4184
- },
4185
- "showPrompt": {
4186
- "description": "Determines whether prompt field will be displayed or not",
4187
- "default": true,
4188
- "type": "boolean",
4189
- "title": "showPrompt"
4190
- },
4191
- "promptLabel": {
4192
- "description": "The label for the item stem/prompt field",
4193
- "default": "Item Stemm",
4194
- "type": "string",
4195
- "title": "promptLabel"
4196
- },
4197
- "contentDimensions": {
4198
- "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",
4199
- "default": ": {}",
4200
- "type": "object",
4201
- "properties": {
4202
- "maxHeight": {
4203
- "description": "Indicates the max height of the authoring container",
4204
- "default": "undefined",
4205
- "type": [
4206
- "string",
4207
- "number"
4208
- ],
4209
- "title": "maxHeight"
4210
- },
4211
- "maxWidth": {
4212
- "description": "Indicates the max width of the authoring container",
4213
- "default": "undefined",
4214
- "type": [
4215
- "string",
4216
- "number"
4217
- ],
4218
- "title": "maxWidth"
4219
- },
4220
- "minHeight": {
4221
- "description": "Indicates the min height of the authoring container",
4222
- "default": "undefined",
4223
- "type": [
4224
- "string",
4225
- "number"
4226
- ],
4227
- "title": "minHeight"
4228
- },
4229
- "minWidth": {
4230
- "description": "Indicates the min width of the authoring container",
4231
- "default": "undefined",
4232
- "type": [
4233
- "string",
4234
- "number"
4235
- ],
4236
- "title": "minWidth"
4237
- }
4238
- },
4239
- "title": "contentDimensions"
4240
- },
4241
- "settingsPartialScoring": {
4242
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
4243
- "default": true,
4244
- "type": "boolean",
4245
- "title": "settingsPartialScoring"
4246
- }
4247
- },
4248
- "required": [
4249
- "rubricless",
4250
- "rubriclessInstruction"
4251
- ]
4252
- }
4253
- },
4254
- "$schema": "http://json-schema.org/draft-07/schema#"
4255
- }