@pie-element/categorize 13.4.0-beta.7 → 14.0.0-next.20261002094057

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/author.js +2 -0
  2. package/configure.js +2 -0
  3. package/controller.js +1 -0
  4. package/dist/author/defaults.d.ts +222 -0
  5. package/dist/author/defaults.js +168 -0
  6. package/dist/author/design/builder.d.ts +10 -0
  7. package/dist/author/design/builder.js +24 -0
  8. package/dist/author/design/buttons.d.ts +28 -0
  9. package/dist/author/design/buttons.js +36 -0
  10. package/dist/author/design/categories/RowLabel.d.ts +23 -0
  11. package/dist/author/design/categories/RowLabel.js +47 -0
  12. package/dist/author/design/categories/alternateResponses.d.ts +31 -0
  13. package/dist/author/design/categories/alternateResponses.js +62 -0
  14. package/dist/author/design/categories/category.d.ts +44 -0
  15. package/dist/author/design/categories/category.js +98 -0
  16. package/dist/author/design/categories/choice-preview.d.ts +25 -0
  17. package/dist/author/design/categories/choice-preview.js +60 -0
  18. package/dist/author/design/categories/droppable-placeholder.d.ts +11 -0
  19. package/dist/author/design/categories/droppable-placeholder.js +71 -0
  20. package/dist/author/design/categories/index.d.ts +41 -0
  21. package/dist/author/design/categories/index.js +146 -0
  22. package/dist/author/design/choices/choice.d.ts +11 -0
  23. package/dist/author/design/choices/choice.js +129 -0
  24. package/dist/author/design/choices/config.d.ts +21 -0
  25. package/dist/author/design/choices/config.js +33 -0
  26. package/dist/author/design/choices/index.d.ts +41 -0
  27. package/dist/author/design/choices/index.js +110 -0
  28. package/dist/author/design/header.d.ts +24 -0
  29. package/dist/author/design/header.js +49 -0
  30. package/dist/author/design/index.d.ts +52 -0
  31. package/dist/author/design/index.js +427 -0
  32. package/dist/author/design/input-header.d.ts +39 -0
  33. package/dist/author/design/input-header.js +69 -0
  34. package/dist/author/design/utils.d.ts +9 -0
  35. package/dist/author/design/utils.js +7 -0
  36. package/dist/author/index.d.ts +50 -0
  37. package/dist/author/index.js +87 -0
  38. package/dist/author/main.d.ts +23 -0
  39. package/dist/author/main.js +30 -0
  40. package/dist/author/utils.d.ts +16 -0
  41. package/dist/author/utils.js +17 -0
  42. package/dist/browser/alert-dialog-DjezK_ch.js +11690 -0
  43. package/dist/browser/alert-dialog-DjezK_ch.js.map +1 -0
  44. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  45. package/dist/browser/author/index.js +35706 -0
  46. package/dist/browser/author/index.js.map +1 -0
  47. package/dist/browser/controller/index.js +372 -0
  48. package/dist/browser/controller/index.js.map +1 -0
  49. package/dist/browser/delivery/index.js +1220 -0
  50. package/dist/browser/delivery/index.js.map +1 -0
  51. package/dist/browser/dist-Denz71xw.js +1973 -0
  52. package/dist/browser/dist-Denz71xw.js.map +1 -0
  53. package/dist/browser/editor-runtime/alert-dialog-DegUZr32.js +11690 -0
  54. package/dist/browser/editor-runtime/alert-dialog-DegUZr32.js.map +1 -0
  55. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  56. package/dist/browser/editor-runtime/author/index.js +19297 -0
  57. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  58. package/dist/browser/editor-runtime/controller/index.js +372 -0
  59. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  60. package/dist/browser/editor-runtime/delivery/index.js +1220 -0
  61. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  62. package/dist/browser/editor-runtime/dist-BiRlv37L.js +1973 -0
  63. package/dist/browser/editor-runtime/dist-BiRlv37L.js.map +1 -0
  64. package/dist/browser/editor-runtime/rolldown-runtime-CHQKHQ89.js +32 -0
  65. package/dist/browser/rolldown-runtime-CWhphoD1.js +32 -0
  66. package/dist/controller/defaults.d.ts +33 -0
  67. package/dist/controller/defaults.js +27 -0
  68. package/dist/controller/index.d.ts +62 -0
  69. package/dist/controller/index.js +168 -0
  70. package/dist/controller/utils.d.ts +20 -0
  71. package/dist/controller/utils.js +35 -0
  72. package/dist/delivery/categorize/__tests__/categories.test.d.ts +1 -0
  73. package/dist/delivery/categorize/__tests__/category.test.d.ts +1 -0
  74. package/dist/delivery/categorize/__tests__/choice.test.d.ts +1 -0
  75. package/dist/delivery/categorize/__tests__/choices.test.d.ts +1 -0
  76. package/dist/delivery/categorize/__tests__/droppable-placeholder.test.d.ts +1 -0
  77. package/dist/delivery/categorize/__tests__/grid-content.test.d.ts +1 -0
  78. package/dist/delivery/categorize/__tests__/index.test.d.ts +1 -0
  79. package/dist/delivery/categorize/__tests__/keyboard-coordinates.test.d.ts +1 -0
  80. package/dist/delivery/categorize/categories.d.ts +37 -0
  81. package/dist/delivery/categorize/categories.js +72 -0
  82. package/dist/delivery/categorize/category.d.ts +31 -0
  83. package/dist/delivery/categorize/category.js +55 -0
  84. package/dist/delivery/categorize/choice.d.ts +28 -0
  85. package/dist/delivery/categorize/choice.js +114 -0
  86. package/dist/delivery/categorize/choices.d.ts +42 -0
  87. package/dist/delivery/categorize/choices.js +58 -0
  88. package/dist/delivery/categorize/droppable-placeholder.d.ts +36 -0
  89. package/dist/delivery/categorize/droppable-placeholder.js +77 -0
  90. package/dist/delivery/categorize/grid-content.d.ts +25 -0
  91. package/dist/delivery/categorize/grid-content.js +39 -0
  92. package/dist/delivery/categorize/index.d.ts +70 -0
  93. package/dist/delivery/categorize/index.js +323 -0
  94. package/dist/delivery/categorize/keyboard-coordinates.d.ts +22 -0
  95. package/dist/delivery/categorize/keyboard-coordinates.js +49 -0
  96. package/dist/delivery/index.d.ts +27 -0
  97. package/dist/delivery/index.js +154 -0
  98. package/dist/index.d.ts +1 -0
  99. package/dist/index.iife.d.ts +8 -0
  100. package/dist/index.iife.js +152 -0
  101. package/dist/index.js +2 -0
  102. package/dist/runtime-support.d.ts +12 -0
  103. package/dist/runtime-support.js +12 -0
  104. package/package.json +96 -23
  105. package/CHANGELOG.json +0 -1637
  106. package/CHANGELOG.md +0 -2591
  107. package/LICENSE.md +0 -5
  108. package/README.md +0 -5
  109. package/configure/CHANGELOG.json +0 -1202
  110. package/configure/CHANGELOG.md +0 -2170
  111. package/configure/lib/__tests__/main.test.js +0 -100
  112. package/configure/lib/__tests__/utils.js +0 -39
  113. package/configure/lib/defaults.js +0 -220
  114. package/configure/lib/defaults.js.map +0 -1
  115. package/configure/lib/design/__tests__/builder.test.js +0 -34
  116. package/configure/lib/design/__tests__/buttons.test.js +0 -36
  117. package/configure/lib/design/__tests__/header.test.js +0 -37
  118. package/configure/lib/design/__tests__/index.test.js +0 -269
  119. package/configure/lib/design/__tests__/input-header.test.js +0 -41
  120. package/configure/lib/design/builder.js +0 -55
  121. package/configure/lib/design/builder.js.map +0 -1
  122. package/configure/lib/design/buttons.js +0 -59
  123. package/configure/lib/design/buttons.js.map +0 -1
  124. package/configure/lib/design/categories/RowLabel.js +0 -66
  125. package/configure/lib/design/categories/RowLabel.js.map +0 -1
  126. package/configure/lib/design/categories/__tests__/alternateResponses.test.js +0 -93
  127. package/configure/lib/design/categories/__tests__/category.test.js +0 -65
  128. package/configure/lib/design/categories/__tests__/choice-preview.test.js +0 -52
  129. package/configure/lib/design/categories/__tests__/droppable-placeholder.test.js +0 -63
  130. package/configure/lib/design/categories/__tests__/index.test.js +0 -91
  131. package/configure/lib/design/categories/alternateResponses.js +0 -116
  132. package/configure/lib/design/categories/alternateResponses.js.map +0 -1
  133. package/configure/lib/design/categories/category.js +0 -153
  134. package/configure/lib/design/categories/category.js.map +0 -1
  135. package/configure/lib/design/categories/choice-preview.js +0 -79
  136. package/configure/lib/design/categories/choice-preview.js.map +0 -1
  137. package/configure/lib/design/categories/droppable-placeholder.js +0 -93
  138. package/configure/lib/design/categories/droppable-placeholder.js.map +0 -1
  139. package/configure/lib/design/categories/index.js +0 -256
  140. package/configure/lib/design/categories/index.js.map +0 -1
  141. package/configure/lib/design/choices/__tests__/choice.test.js +0 -62
  142. package/configure/lib/design/choices/__tests__/config.test.js +0 -66
  143. package/configure/lib/design/choices/__tests__/index.test.js +0 -70
  144. package/configure/lib/design/choices/choice.js +0 -187
  145. package/configure/lib/design/choices/choice.js.map +0 -1
  146. package/configure/lib/design/choices/config.js +0 -58
  147. package/configure/lib/design/choices/config.js.map +0 -1
  148. package/configure/lib/design/choices/index.js +0 -197
  149. package/configure/lib/design/choices/index.js.map +0 -1
  150. package/configure/lib/design/header.js +0 -71
  151. package/configure/lib/design/header.js.map +0 -1
  152. package/configure/lib/design/index.js +0 -741
  153. package/configure/lib/design/index.js.map +0 -1
  154. package/configure/lib/design/input-header.js +0 -105
  155. package/configure/lib/design/input-header.js.map +0 -1
  156. package/configure/lib/design/utils.js +0 -12
  157. package/configure/lib/design/utils.js.map +0 -1
  158. package/configure/lib/index.js +0 -148
  159. package/configure/lib/index.js.map +0 -1
  160. package/configure/lib/main.js +0 -44
  161. package/configure/lib/main.js.map +0 -1
  162. package/configure/lib/utils.js +0 -43
  163. package/configure/lib/utils.js.map +0 -1
  164. package/configure/package.json +0 -32
  165. package/controller/CHANGELOG.json +0 -452
  166. package/controller/CHANGELOG.md +0 -1424
  167. package/controller/lib/__tests__/index.test.js +0 -526
  168. package/controller/lib/defaults.js +0 -31
  169. package/controller/lib/defaults.js.map +0 -1
  170. package/controller/lib/index.js +0 -506
  171. package/controller/lib/index.js.map +0 -1
  172. package/controller/lib/utils.js +0 -69
  173. package/controller/lib/utils.js.map +0 -1
  174. package/controller/package.json +0 -18
  175. package/docs/config-schema.json +0 -2897
  176. package/docs/config-schema.json.md +0 -2138
  177. package/docs/demo/.pie/.configure/package.json +0 -10
  178. package/docs/demo/.pie/.configure/yarn.lock +0 -2122
  179. package/docs/demo/.pie/.controllers/package.json +0 -10
  180. package/docs/demo/.pie/.controllers/yarn.lock +0 -110
  181. package/docs/demo/.pie/info.entry.js +0 -89
  182. package/docs/demo/.pie/info.webpack.config.js +0 -119
  183. package/docs/demo/.pie/package.json +0 -10
  184. package/docs/demo/.pie/yarn.lock +0 -2137
  185. package/docs/demo/config.js +0 -8
  186. package/docs/demo/generate.js +0 -357
  187. package/docs/demo/index.html +0 -1
  188. package/docs/demo/pie.manifest.json +0 -11
  189. package/docs/demo/session.js +0 -12
  190. package/docs/pie-schema.json +0 -1784
  191. package/docs/pie-schema.json.md +0 -1046
  192. package/lib/__tests__/index.test.js +0 -197
  193. package/lib/categorize/__tests__/categories.test.js +0 -138
  194. package/lib/categorize/__tests__/category.test.js +0 -137
  195. package/lib/categorize/__tests__/choice.test.js +0 -88
  196. package/lib/categorize/__tests__/choices.test.js +0 -118
  197. package/lib/categorize/__tests__/droppable-placeholder.test.js +0 -96
  198. package/lib/categorize/__tests__/grid-content.test.js +0 -48
  199. package/lib/categorize/__tests__/index.test.js +0 -250
  200. package/lib/categorize/categories.js +0 -135
  201. package/lib/categorize/categories.js.map +0 -1
  202. package/lib/categorize/category.js +0 -67
  203. package/lib/categorize/category.js.map +0 -1
  204. package/lib/categorize/choice.js +0 -140
  205. package/lib/categorize/choice.js.map +0 -1
  206. package/lib/categorize/choices.js +0 -99
  207. package/lib/categorize/choices.js.map +0 -1
  208. package/lib/categorize/droppable-placeholder.js +0 -84
  209. package/lib/categorize/droppable-placeholder.js.map +0 -1
  210. package/lib/categorize/grid-content.js +0 -55
  211. package/lib/categorize/grid-content.js.map +0 -1
  212. package/lib/categorize/index.js +0 -450
  213. package/lib/categorize/index.js.map +0 -1
  214. package/lib/index.js +0 -316
  215. package/lib/index.js.map +0 -1
@@ -1,1784 +0,0 @@
1
- {
2
- "description": "Pie Model Object for @pie-elements/categorize",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "allowMaxChoicesPerCategory": {
7
- "description": "Indicates if author has the possibility to set maxChoicesPerCategory",
8
- "type": "boolean",
9
- "title": "allowMaxChoicesPerCategory"
10
- },
11
- "choices": {
12
- "description": "The available choices",
13
- "type": "array",
14
- "items": {
15
- "title": "CategoryChoice",
16
- "type": "object",
17
- "properties": {
18
- "id": {
19
- "description": "Identifier for the choice",
20
- "type": "string",
21
- "title": "id"
22
- },
23
- "content": {
24
- "description": "The xhtml content for the choice",
25
- "type": "string",
26
- "title": "content"
27
- },
28
- "categoryCount": {
29
- "type": [
30
- "string",
31
- "number"
32
- ],
33
- "title": "categoryCount"
34
- },
35
- "correctResponseCount": {
36
- "type": [
37
- "string",
38
- "number"
39
- ],
40
- "title": "correctResponseCount"
41
- }
42
- },
43
- "required": [
44
- "content",
45
- "id"
46
- ]
47
- },
48
- "title": "choices"
49
- },
50
- "categoriesPerRow": {
51
- "description": "The number of columns in which to present the categories",
52
- "default": 2,
53
- "type": "number",
54
- "title": "categoriesPerRow"
55
- },
56
- "choicesPosition": {
57
- "title": "ChoicesPosition",
58
- "enum": [
59
- "above",
60
- "below",
61
- "left",
62
- "right"
63
- ],
64
- "type": "string"
65
- },
66
- "choicesLabel": {
67
- "description": "Label to be displayed for the choices",
68
- "type": "string",
69
- "title": "choicesLabel"
70
- },
71
- "lockChoiceOrder": {
72
- "description": "Should the choices be shuffled or not",
73
- "type": "boolean",
74
- "title": "lockChoiceOrder"
75
- },
76
- "prompt": {
77
- "description": "The question prompt or item stem",
78
- "type": "string",
79
- "title": "prompt"
80
- },
81
- "promptEnabled": {
82
- "description": "Indicates if the prompt is enabled",
83
- "type": "boolean",
84
- "title": "promptEnabled"
85
- },
86
- "categories": {
87
- "description": "The categories in which choices may be placed",
88
- "type": "array",
89
- "items": {
90
- "title": "Category",
91
- "type": "object",
92
- "properties": {
93
- "id": {
94
- "description": "Identifier for the category",
95
- "type": "string",
96
- "title": "id"
97
- },
98
- "label": {
99
- "description": "The label to display with the category.",
100
- "type": "string",
101
- "title": "label"
102
- },
103
- "choices": {
104
- "description": "The choices presented in this category",
105
- "type": "array",
106
- "items": {
107
- "title": "CategoryChoice",
108
- "type": "object",
109
- "properties": {
110
- "id": {
111
- "description": "Identifier for the choice",
112
- "type": "string",
113
- "title": "id"
114
- },
115
- "content": {
116
- "description": "The xhtml content for the choice",
117
- "type": "string",
118
- "title": "content"
119
- },
120
- "categoryCount": {
121
- "type": [
122
- "string",
123
- "number"
124
- ],
125
- "title": "categoryCount"
126
- },
127
- "correctResponseCount": {
128
- "type": [
129
- "string",
130
- "number"
131
- ],
132
- "title": "correctResponseCount"
133
- }
134
- },
135
- "required": [
136
- "content",
137
- "id"
138
- ]
139
- },
140
- "title": "choices"
141
- }
142
- },
143
- "required": [
144
- "choices",
145
- "id",
146
- "label"
147
- ]
148
- },
149
- "title": "categories"
150
- },
151
- "correctResponse": {
152
- "description": "The defintion of the correct response to the question",
153
- "type": "array",
154
- "items": {
155
- "title": "CategoryCorrectResponse",
156
- "type": "object",
157
- "properties": {
158
- "category": {
159
- "description": "The identifier for the category",
160
- "type": "string",
161
- "title": "category"
162
- },
163
- "choices": {
164
- "description": "Array of identifiers for the choices that belong in this category",
165
- "type": "array",
166
- "items": {
167
- "type": "string"
168
- },
169
- "title": "choices"
170
- },
171
- "alternateResponses": {
172
- "description": "Array of alternatives correct choices",
173
- "type": "array",
174
- "items": {
175
- "type": "array",
176
- "items": {
177
- "type": "string"
178
- }
179
- },
180
- "title": "alternateResponses"
181
- }
182
- },
183
- "required": [
184
- "category",
185
- "choices"
186
- ]
187
- },
188
- "title": "correctResponse"
189
- },
190
- "feedback": {
191
- "title": "ComplexFeedbackType",
192
- "type": "object",
193
- "properties": {
194
- "correct": {
195
- "description": "Indicates the configuration for feedback when answer is correct",
196
- "anyOf": [
197
- {
198
- "title": "DefaultFeedbackType",
199
- "type": "object",
200
- "properties": {
201
- "type": {
202
- "description": "Indicates the feedback type",
203
- "enum": [
204
- "default",
205
- "none"
206
- ],
207
- "type": "string",
208
- "title": "type"
209
- },
210
- "default": {
211
- "description": "Indicates the feedback value",
212
- "type": "string",
213
- "title": "default"
214
- }
215
- },
216
- "required": [
217
- "type"
218
- ]
219
- },
220
- {
221
- "title": "CustomFeedbackType",
222
- "type": "object",
223
- "properties": {
224
- "type": {
225
- "description": "Indicates the feedback type",
226
- "type": "string",
227
- "enum": [
228
- "custom"
229
- ],
230
- "title": "type"
231
- },
232
- "custom": {
233
- "description": "Indicates the feedback custom value",
234
- "type": "string",
235
- "title": "custom"
236
- }
237
- },
238
- "required": [
239
- "custom",
240
- "type"
241
- ]
242
- }
243
- ],
244
- "title": "correct"
245
- },
246
- "incorrect": {
247
- "description": "Indicates the configuration for feedback when answer is incorrect",
248
- "anyOf": [
249
- {
250
- "title": "DefaultFeedbackType",
251
- "type": "object",
252
- "properties": {
253
- "type": {
254
- "description": "Indicates the feedback type",
255
- "enum": [
256
- "default",
257
- "none"
258
- ],
259
- "type": "string",
260
- "title": "type"
261
- },
262
- "default": {
263
- "description": "Indicates the feedback value",
264
- "type": "string",
265
- "title": "default"
266
- }
267
- },
268
- "required": [
269
- "type"
270
- ]
271
- },
272
- {
273
- "title": "CustomFeedbackType",
274
- "type": "object",
275
- "properties": {
276
- "type": {
277
- "description": "Indicates the feedback type",
278
- "type": "string",
279
- "enum": [
280
- "custom"
281
- ],
282
- "title": "type"
283
- },
284
- "custom": {
285
- "description": "Indicates the feedback custom value",
286
- "type": "string",
287
- "title": "custom"
288
- }
289
- },
290
- "required": [
291
- "custom",
292
- "type"
293
- ]
294
- }
295
- ],
296
- "title": "incorrect"
297
- },
298
- "partial": {
299
- "description": "Indicates the configuration for feedback when answer is partially correct",
300
- "anyOf": [
301
- {
302
- "title": "DefaultFeedbackType",
303
- "type": "object",
304
- "properties": {
305
- "type": {
306
- "description": "Indicates the feedback type",
307
- "enum": [
308
- "default",
309
- "none"
310
- ],
311
- "type": "string",
312
- "title": "type"
313
- },
314
- "default": {
315
- "description": "Indicates the feedback value",
316
- "type": "string",
317
- "title": "default"
318
- }
319
- },
320
- "required": [
321
- "type"
322
- ]
323
- },
324
- {
325
- "title": "CustomFeedbackType",
326
- "type": "object",
327
- "properties": {
328
- "type": {
329
- "description": "Indicates the feedback type",
330
- "type": "string",
331
- "enum": [
332
- "custom"
333
- ],
334
- "title": "type"
335
- },
336
- "custom": {
337
- "description": "Indicates the feedback custom value",
338
- "type": "string",
339
- "title": "custom"
340
- }
341
- },
342
- "required": [
343
- "custom",
344
- "type"
345
- ]
346
- }
347
- ],
348
- "title": "partial"
349
- }
350
- },
351
- "required": [
352
- "correct",
353
- "incorrect"
354
- ]
355
- },
356
- "maxChoicesPerCategory": {
357
- "description": "Indicates the maximum number of choices from a category",
358
- "type": "number",
359
- "title": "maxChoicesPerCategory"
360
- },
361
- "rationale": {
362
- "description": "Indicates the value for rationale",
363
- "type": "string",
364
- "title": "rationale"
365
- },
366
- "partialScoring": {
367
- "description": "Indicates if partial scoring is enabled",
368
- "type": "boolean",
369
- "title": "partialScoring"
370
- },
371
- "feedbackEnabled": {
372
- "description": "Indicates if Feedback is enabled",
373
- "type": "boolean",
374
- "title": "feedbackEnabled"
375
- },
376
- "rationaleEnabled": {
377
- "description": "Indicates if Rationale are enabled",
378
- "type": "boolean",
379
- "title": "rationaleEnabled"
380
- },
381
- "spellCheckEnabled": {
382
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
383
- "type": "boolean",
384
- "title": "spellCheckEnabled"
385
- },
386
- "studentInstructionsEnabled": {
387
- "description": "Indicates if Student Instructions are enabled",
388
- "type": "boolean",
389
- "title": "studentInstructionsEnabled"
390
- },
391
- "teacherInstructionsEnabled": {
392
- "description": "Indicates if Teacher Instructions are enabled",
393
- "type": "boolean",
394
- "title": "teacherInstructionsEnabled"
395
- },
396
- "note": {
397
- "description": "Indicates the note for the answer",
398
- "type": "string",
399
- "title": "note"
400
- },
401
- "toolbarEditorPosition": {
402
- "description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
403
- "default": ": 'bottom'",
404
- "enum": [
405
- "bottom",
406
- "top"
407
- ],
408
- "type": "string",
409
- "title": "toolbarEditorPosition"
410
- },
411
- "rubricEnabled": {
412
- "description": "Indicates if Rubric is enabled",
413
- "type": "boolean",
414
- "title": "rubricEnabled"
415
- },
416
- "language": {
417
- "description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
418
- "type": "string",
419
- "title": "language"
420
- },
421
- "maxAnswerChoices": {
422
- "description": "Maximum number of choices",
423
- "type": "number",
424
- "title": "maxAnswerChoices"
425
- },
426
- "fontSizeFactor": {
427
- "description": "Indicates font size adjustment factor",
428
- "type": "number",
429
- "title": "fontSizeFactor"
430
- },
431
- "autoplayAudioEnabled": {
432
- "description": "Indicates if the audio for the prompt should autoplay",
433
- "type": "boolean",
434
- "title": "autoplayAudioEnabled"
435
- },
436
- "completeAudioEnabled": {
437
- "description": "Indicates if the audio should reach the end before the item can be marked as 'complete'",
438
- "type": "boolean",
439
- "title": "completeAudioEnabled"
440
- },
441
- "customAudioButton": {
442
- "description": "Indicates if the audio should be replaced with a custom audio button\n playImage: image url for the play state\n pauseImage: image url for the pause state",
443
- "type": "object",
444
- "properties": {
445
- "playImage": {
446
- "type": "string",
447
- "title": "playImage"
448
- },
449
- "pauseImage": {
450
- "type": "string",
451
- "title": "pauseImage"
452
- }
453
- },
454
- "required": [
455
- "pauseImage",
456
- "playImage"
457
- ],
458
- "title": "customAudioButton"
459
- },
460
- "id": {
461
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
462
- "type": "string",
463
- "title": "id"
464
- },
465
- "element": {
466
- "description": "The html Element tag name",
467
- "type": "string",
468
- "title": "element"
469
- }
470
- },
471
- "required": [
472
- "allowMaxChoicesPerCategory",
473
- "categories",
474
- "choices",
475
- "element",
476
- "feedbackEnabled",
477
- "id",
478
- "maxChoicesPerCategory",
479
- "prompt",
480
- "rationaleEnabled",
481
- "rubricEnabled",
482
- "spellCheckEnabled",
483
- "studentInstructionsEnabled",
484
- "teacherInstructionsEnabled"
485
- ],
486
- "definitions": {
487
- "EditableHtmlConfigureProp": {
488
- "title": "EditableHtmlConfigureProp",
489
- "type": "object",
490
- "properties": {
491
- "math": {
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
- "audio": {
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
- "video": {
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
- "image": {
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
- "customPlugins": {
536
- "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.",
537
- "type": "array",
538
- "items": {
539
- "title": "CustomPlugin",
540
- "type": "object",
541
- "properties": {
542
- "event": {
543
- "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\"",
544
- "type": "string",
545
- "title": "event"
546
- },
547
- "iconAlt": {
548
- "description": "The alt for the custom button icon",
549
- "type": "string",
550
- "title": "iconAlt"
551
- },
552
- "iconType": {
553
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
554
- "type": "string",
555
- "title": "iconType"
556
- },
557
- "icon": {
558
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
559
- "type": "string",
560
- "title": "icon"
561
- }
562
- },
563
- "required": [
564
- "event",
565
- "icon",
566
- "iconAlt",
567
- "iconType"
568
- ]
569
- },
570
- "title": "customPlugins"
571
- },
572
- "blockquote": {
573
- "title": "EditableHtmlButtonConfigure",
574
- "type": "object",
575
- "properties": {
576
- "disabled": {
577
- "description": "Indicates if the plugin is disabled or not",
578
- "type": "boolean",
579
- "title": "disabled"
580
- }
581
- }
582
- },
583
- "h3": {
584
- "title": "EditableHtmlButtonConfigure",
585
- "type": "object",
586
- "properties": {
587
- "disabled": {
588
- "description": "Indicates if the plugin is disabled or not",
589
- "type": "boolean",
590
- "title": "disabled"
591
- }
592
- }
593
- },
594
- "characters": {
595
- "title": "EditableHtmlButtonConfigure",
596
- "type": "object",
597
- "properties": {
598
- "disabled": {
599
- "description": "Indicates if the plugin is disabled or not",
600
- "type": "boolean",
601
- "title": "disabled"
602
- }
603
- }
604
- },
605
- "bold": {
606
- "title": "EditableHtmlButtonConfigure",
607
- "type": "object",
608
- "properties": {
609
- "disabled": {
610
- "description": "Indicates if the plugin is disabled or not",
611
- "type": "boolean",
612
- "title": "disabled"
613
- }
614
- }
615
- },
616
- "html": {
617
- "title": "EditableHtmlButtonConfigure",
618
- "type": "object",
619
- "properties": {
620
- "disabled": {
621
- "description": "Indicates if the plugin is disabled or not",
622
- "type": "boolean",
623
- "title": "disabled"
624
- }
625
- }
626
- },
627
- "italic": {
628
- "title": "EditableHtmlButtonConfigure",
629
- "type": "object",
630
- "properties": {
631
- "disabled": {
632
- "description": "Indicates if the plugin is disabled or not",
633
- "type": "boolean",
634
- "title": "disabled"
635
- }
636
- }
637
- },
638
- "ol_list": {
639
- "title": "EditableHtmlButtonConfigure",
640
- "type": "object",
641
- "properties": {
642
- "disabled": {
643
- "description": "Indicates if the plugin is disabled or not",
644
- "type": "boolean",
645
- "title": "disabled"
646
- }
647
- }
648
- },
649
- "redo": {
650
- "title": "EditableHtmlButtonConfigure",
651
- "type": "object",
652
- "properties": {
653
- "disabled": {
654
- "description": "Indicates if the plugin is disabled or not",
655
- "type": "boolean",
656
- "title": "disabled"
657
- }
658
- }
659
- },
660
- "strikethrough": {
661
- "title": "EditableHtmlButtonConfigure",
662
- "type": "object",
663
- "properties": {
664
- "disabled": {
665
- "description": "Indicates if the plugin is disabled or not",
666
- "type": "boolean",
667
- "title": "disabled"
668
- }
669
- }
670
- },
671
- "sub": {
672
- "title": "EditableHtmlButtonConfigure",
673
- "type": "object",
674
- "properties": {
675
- "disabled": {
676
- "description": "Indicates if the plugin is disabled or not",
677
- "type": "boolean",
678
- "title": "disabled"
679
- }
680
- }
681
- },
682
- "sup": {
683
- "title": "EditableHtmlButtonConfigure",
684
- "type": "object",
685
- "properties": {
686
- "disabled": {
687
- "description": "Indicates if the plugin is disabled or not",
688
- "type": "boolean",
689
- "title": "disabled"
690
- }
691
- }
692
- },
693
- "table": {
694
- "title": "EditableHtmlButtonConfigure",
695
- "type": "object",
696
- "properties": {
697
- "disabled": {
698
- "description": "Indicates if the plugin is disabled or not",
699
- "type": "boolean",
700
- "title": "disabled"
701
- }
702
- }
703
- },
704
- "ul_list": {
705
- "title": "EditableHtmlButtonConfigure",
706
- "type": "object",
707
- "properties": {
708
- "disabled": {
709
- "description": "Indicates if the plugin is disabled or not",
710
- "type": "boolean",
711
- "title": "disabled"
712
- }
713
- }
714
- },
715
- "underline": {
716
- "title": "EditableHtmlButtonConfigure",
717
- "type": "object",
718
- "properties": {
719
- "disabled": {
720
- "description": "Indicates if the plugin is disabled or not",
721
- "type": "boolean",
722
- "title": "disabled"
723
- }
724
- }
725
- },
726
- "undo": {
727
- "title": "EditableHtmlButtonConfigure",
728
- "type": "object",
729
- "properties": {
730
- "disabled": {
731
- "description": "Indicates if the plugin is disabled or not",
732
- "type": "boolean",
733
- "title": "disabled"
734
- }
735
- }
736
- }
737
- }
738
- },
739
- "EditableHtmlButtonConfigure": {
740
- "title": "EditableHtmlButtonConfigure",
741
- "type": "object",
742
- "properties": {
743
- "disabled": {
744
- "description": "Indicates if the plugin is disabled or not",
745
- "type": "boolean",
746
- "title": "disabled"
747
- }
748
- }
749
- },
750
- "CustomPlugin": {
751
- "title": "CustomPlugin",
752
- "type": "object",
753
- "properties": {
754
- "event": {
755
- "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\"",
756
- "type": "string",
757
- "title": "event"
758
- },
759
- "iconAlt": {
760
- "description": "The alt for the custom button icon",
761
- "type": "string",
762
- "title": "iconAlt"
763
- },
764
- "iconType": {
765
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
766
- "type": "string",
767
- "title": "iconType"
768
- },
769
- "icon": {
770
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
771
- "type": "string",
772
- "title": "icon"
773
- }
774
- },
775
- "required": [
776
- "event",
777
- "icon",
778
- "iconAlt",
779
- "iconType"
780
- ]
781
- },
782
- "ConfigureProp": {
783
- "title": "ConfigureProp",
784
- "type": "object",
785
- "properties": {
786
- "settings": {
787
- "description": "Indicates if the item has to be displayed in the Settings Panel",
788
- "type": "boolean",
789
- "title": "settings"
790
- },
791
- "label": {
792
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
793
- "type": "string",
794
- "title": "label"
795
- }
796
- }
797
- },
798
- "EditableHtmlPluginConfigureRequired": {
799
- "title": "EditableHtmlPluginConfigureRequired",
800
- "type": "object",
801
- "properties": {
802
- "inputConfiguration": {
803
- "title": "EditableHtmlConfigureProp",
804
- "type": "object",
805
- "properties": {
806
- "math": {
807
- "title": "EditableHtmlButtonConfigure",
808
- "type": "object",
809
- "properties": {
810
- "disabled": {
811
- "description": "Indicates if the plugin is disabled or not",
812
- "type": "boolean",
813
- "title": "disabled"
814
- }
815
- }
816
- },
817
- "audio": {
818
- "title": "EditableHtmlButtonConfigure",
819
- "type": "object",
820
- "properties": {
821
- "disabled": {
822
- "description": "Indicates if the plugin is disabled or not",
823
- "type": "boolean",
824
- "title": "disabled"
825
- }
826
- }
827
- },
828
- "video": {
829
- "title": "EditableHtmlButtonConfigure",
830
- "type": "object",
831
- "properties": {
832
- "disabled": {
833
- "description": "Indicates if the plugin is disabled or not",
834
- "type": "boolean",
835
- "title": "disabled"
836
- }
837
- }
838
- },
839
- "image": {
840
- "title": "EditableHtmlButtonConfigure",
841
- "type": "object",
842
- "properties": {
843
- "disabled": {
844
- "description": "Indicates if the plugin is disabled or not",
845
- "type": "boolean",
846
- "title": "disabled"
847
- }
848
- }
849
- },
850
- "customPlugins": {
851
- "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.",
852
- "type": "array",
853
- "items": {
854
- "title": "CustomPlugin",
855
- "type": "object",
856
- "properties": {
857
- "event": {
858
- "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\"",
859
- "type": "string",
860
- "title": "event"
861
- },
862
- "iconAlt": {
863
- "description": "The alt for the custom button icon",
864
- "type": "string",
865
- "title": "iconAlt"
866
- },
867
- "iconType": {
868
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
869
- "type": "string",
870
- "title": "iconType"
871
- },
872
- "icon": {
873
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
874
- "type": "string",
875
- "title": "icon"
876
- }
877
- },
878
- "required": [
879
- "event",
880
- "icon",
881
- "iconAlt",
882
- "iconType"
883
- ]
884
- },
885
- "title": "customPlugins"
886
- },
887
- "blockquote": {
888
- "title": "EditableHtmlButtonConfigure",
889
- "type": "object",
890
- "properties": {
891
- "disabled": {
892
- "description": "Indicates if the plugin is disabled or not",
893
- "type": "boolean",
894
- "title": "disabled"
895
- }
896
- }
897
- },
898
- "h3": {
899
- "title": "EditableHtmlButtonConfigure",
900
- "type": "object",
901
- "properties": {
902
- "disabled": {
903
- "description": "Indicates if the plugin is disabled or not",
904
- "type": "boolean",
905
- "title": "disabled"
906
- }
907
- }
908
- },
909
- "characters": {
910
- "title": "EditableHtmlButtonConfigure",
911
- "type": "object",
912
- "properties": {
913
- "disabled": {
914
- "description": "Indicates if the plugin is disabled or not",
915
- "type": "boolean",
916
- "title": "disabled"
917
- }
918
- }
919
- },
920
- "bold": {
921
- "title": "EditableHtmlButtonConfigure",
922
- "type": "object",
923
- "properties": {
924
- "disabled": {
925
- "description": "Indicates if the plugin is disabled or not",
926
- "type": "boolean",
927
- "title": "disabled"
928
- }
929
- }
930
- },
931
- "html": {
932
- "title": "EditableHtmlButtonConfigure",
933
- "type": "object",
934
- "properties": {
935
- "disabled": {
936
- "description": "Indicates if the plugin is disabled or not",
937
- "type": "boolean",
938
- "title": "disabled"
939
- }
940
- }
941
- },
942
- "italic": {
943
- "title": "EditableHtmlButtonConfigure",
944
- "type": "object",
945
- "properties": {
946
- "disabled": {
947
- "description": "Indicates if the plugin is disabled or not",
948
- "type": "boolean",
949
- "title": "disabled"
950
- }
951
- }
952
- },
953
- "ol_list": {
954
- "title": "EditableHtmlButtonConfigure",
955
- "type": "object",
956
- "properties": {
957
- "disabled": {
958
- "description": "Indicates if the plugin is disabled or not",
959
- "type": "boolean",
960
- "title": "disabled"
961
- }
962
- }
963
- },
964
- "redo": {
965
- "title": "EditableHtmlButtonConfigure",
966
- "type": "object",
967
- "properties": {
968
- "disabled": {
969
- "description": "Indicates if the plugin is disabled or not",
970
- "type": "boolean",
971
- "title": "disabled"
972
- }
973
- }
974
- },
975
- "strikethrough": {
976
- "title": "EditableHtmlButtonConfigure",
977
- "type": "object",
978
- "properties": {
979
- "disabled": {
980
- "description": "Indicates if the plugin is disabled or not",
981
- "type": "boolean",
982
- "title": "disabled"
983
- }
984
- }
985
- },
986
- "sub": {
987
- "title": "EditableHtmlButtonConfigure",
988
- "type": "object",
989
- "properties": {
990
- "disabled": {
991
- "description": "Indicates if the plugin is disabled or not",
992
- "type": "boolean",
993
- "title": "disabled"
994
- }
995
- }
996
- },
997
- "sup": {
998
- "title": "EditableHtmlButtonConfigure",
999
- "type": "object",
1000
- "properties": {
1001
- "disabled": {
1002
- "description": "Indicates if the plugin is disabled or not",
1003
- "type": "boolean",
1004
- "title": "disabled"
1005
- }
1006
- }
1007
- },
1008
- "table": {
1009
- "title": "EditableHtmlButtonConfigure",
1010
- "type": "object",
1011
- "properties": {
1012
- "disabled": {
1013
- "description": "Indicates if the plugin is disabled or not",
1014
- "type": "boolean",
1015
- "title": "disabled"
1016
- }
1017
- }
1018
- },
1019
- "ul_list": {
1020
- "title": "EditableHtmlButtonConfigure",
1021
- "type": "object",
1022
- "properties": {
1023
- "disabled": {
1024
- "description": "Indicates if the plugin is disabled or not",
1025
- "type": "boolean",
1026
- "title": "disabled"
1027
- }
1028
- }
1029
- },
1030
- "underline": {
1031
- "title": "EditableHtmlButtonConfigure",
1032
- "type": "object",
1033
- "properties": {
1034
- "disabled": {
1035
- "description": "Indicates if the plugin is disabled or not",
1036
- "type": "boolean",
1037
- "title": "disabled"
1038
- }
1039
- }
1040
- },
1041
- "undo": {
1042
- "title": "EditableHtmlButtonConfigure",
1043
- "type": "object",
1044
- "properties": {
1045
- "disabled": {
1046
- "description": "Indicates if the plugin is disabled or not",
1047
- "type": "boolean",
1048
- "title": "disabled"
1049
- }
1050
- }
1051
- }
1052
- }
1053
- },
1054
- "required": {
1055
- "description": "Indicates if the item is required and the value cannot be empty",
1056
- "type": "boolean",
1057
- "title": "required"
1058
- },
1059
- "settings": {
1060
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1061
- "type": "boolean",
1062
- "title": "settings"
1063
- },
1064
- "label": {
1065
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1066
- "type": "string",
1067
- "title": "label"
1068
- }
1069
- }
1070
- },
1071
- "EditableHtmlPluginConfigure": {
1072
- "title": "EditableHtmlPluginConfigure",
1073
- "type": "object",
1074
- "properties": {
1075
- "inputConfiguration": {
1076
- "title": "EditableHtmlConfigureProp",
1077
- "type": "object",
1078
- "properties": {
1079
- "math": {
1080
- "title": "EditableHtmlButtonConfigure",
1081
- "type": "object",
1082
- "properties": {
1083
- "disabled": {
1084
- "description": "Indicates if the plugin is disabled or not",
1085
- "type": "boolean",
1086
- "title": "disabled"
1087
- }
1088
- }
1089
- },
1090
- "audio": {
1091
- "title": "EditableHtmlButtonConfigure",
1092
- "type": "object",
1093
- "properties": {
1094
- "disabled": {
1095
- "description": "Indicates if the plugin is disabled or not",
1096
- "type": "boolean",
1097
- "title": "disabled"
1098
- }
1099
- }
1100
- },
1101
- "video": {
1102
- "title": "EditableHtmlButtonConfigure",
1103
- "type": "object",
1104
- "properties": {
1105
- "disabled": {
1106
- "description": "Indicates if the plugin is disabled or not",
1107
- "type": "boolean",
1108
- "title": "disabled"
1109
- }
1110
- }
1111
- },
1112
- "image": {
1113
- "title": "EditableHtmlButtonConfigure",
1114
- "type": "object",
1115
- "properties": {
1116
- "disabled": {
1117
- "description": "Indicates if the plugin is disabled or not",
1118
- "type": "boolean",
1119
- "title": "disabled"
1120
- }
1121
- }
1122
- },
1123
- "customPlugins": {
1124
- "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.",
1125
- "type": "array",
1126
- "items": {
1127
- "title": "CustomPlugin",
1128
- "type": "object",
1129
- "properties": {
1130
- "event": {
1131
- "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\"",
1132
- "type": "string",
1133
- "title": "event"
1134
- },
1135
- "iconAlt": {
1136
- "description": "The alt for the custom button icon",
1137
- "type": "string",
1138
- "title": "iconAlt"
1139
- },
1140
- "iconType": {
1141
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1142
- "type": "string",
1143
- "title": "iconType"
1144
- },
1145
- "icon": {
1146
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1147
- "type": "string",
1148
- "title": "icon"
1149
- }
1150
- },
1151
- "required": [
1152
- "event",
1153
- "icon",
1154
- "iconAlt",
1155
- "iconType"
1156
- ]
1157
- },
1158
- "title": "customPlugins"
1159
- },
1160
- "blockquote": {
1161
- "title": "EditableHtmlButtonConfigure",
1162
- "type": "object",
1163
- "properties": {
1164
- "disabled": {
1165
- "description": "Indicates if the plugin is disabled or not",
1166
- "type": "boolean",
1167
- "title": "disabled"
1168
- }
1169
- }
1170
- },
1171
- "h3": {
1172
- "title": "EditableHtmlButtonConfigure",
1173
- "type": "object",
1174
- "properties": {
1175
- "disabled": {
1176
- "description": "Indicates if the plugin is disabled or not",
1177
- "type": "boolean",
1178
- "title": "disabled"
1179
- }
1180
- }
1181
- },
1182
- "characters": {
1183
- "title": "EditableHtmlButtonConfigure",
1184
- "type": "object",
1185
- "properties": {
1186
- "disabled": {
1187
- "description": "Indicates if the plugin is disabled or not",
1188
- "type": "boolean",
1189
- "title": "disabled"
1190
- }
1191
- }
1192
- },
1193
- "bold": {
1194
- "title": "EditableHtmlButtonConfigure",
1195
- "type": "object",
1196
- "properties": {
1197
- "disabled": {
1198
- "description": "Indicates if the plugin is disabled or not",
1199
- "type": "boolean",
1200
- "title": "disabled"
1201
- }
1202
- }
1203
- },
1204
- "html": {
1205
- "title": "EditableHtmlButtonConfigure",
1206
- "type": "object",
1207
- "properties": {
1208
- "disabled": {
1209
- "description": "Indicates if the plugin is disabled or not",
1210
- "type": "boolean",
1211
- "title": "disabled"
1212
- }
1213
- }
1214
- },
1215
- "italic": {
1216
- "title": "EditableHtmlButtonConfigure",
1217
- "type": "object",
1218
- "properties": {
1219
- "disabled": {
1220
- "description": "Indicates if the plugin is disabled or not",
1221
- "type": "boolean",
1222
- "title": "disabled"
1223
- }
1224
- }
1225
- },
1226
- "ol_list": {
1227
- "title": "EditableHtmlButtonConfigure",
1228
- "type": "object",
1229
- "properties": {
1230
- "disabled": {
1231
- "description": "Indicates if the plugin is disabled or not",
1232
- "type": "boolean",
1233
- "title": "disabled"
1234
- }
1235
- }
1236
- },
1237
- "redo": {
1238
- "title": "EditableHtmlButtonConfigure",
1239
- "type": "object",
1240
- "properties": {
1241
- "disabled": {
1242
- "description": "Indicates if the plugin is disabled or not",
1243
- "type": "boolean",
1244
- "title": "disabled"
1245
- }
1246
- }
1247
- },
1248
- "strikethrough": {
1249
- "title": "EditableHtmlButtonConfigure",
1250
- "type": "object",
1251
- "properties": {
1252
- "disabled": {
1253
- "description": "Indicates if the plugin is disabled or not",
1254
- "type": "boolean",
1255
- "title": "disabled"
1256
- }
1257
- }
1258
- },
1259
- "sub": {
1260
- "title": "EditableHtmlButtonConfigure",
1261
- "type": "object",
1262
- "properties": {
1263
- "disabled": {
1264
- "description": "Indicates if the plugin is disabled or not",
1265
- "type": "boolean",
1266
- "title": "disabled"
1267
- }
1268
- }
1269
- },
1270
- "sup": {
1271
- "title": "EditableHtmlButtonConfigure",
1272
- "type": "object",
1273
- "properties": {
1274
- "disabled": {
1275
- "description": "Indicates if the plugin is disabled or not",
1276
- "type": "boolean",
1277
- "title": "disabled"
1278
- }
1279
- }
1280
- },
1281
- "table": {
1282
- "title": "EditableHtmlButtonConfigure",
1283
- "type": "object",
1284
- "properties": {
1285
- "disabled": {
1286
- "description": "Indicates if the plugin is disabled or not",
1287
- "type": "boolean",
1288
- "title": "disabled"
1289
- }
1290
- }
1291
- },
1292
- "ul_list": {
1293
- "title": "EditableHtmlButtonConfigure",
1294
- "type": "object",
1295
- "properties": {
1296
- "disabled": {
1297
- "description": "Indicates if the plugin is disabled or not",
1298
- "type": "boolean",
1299
- "title": "disabled"
1300
- }
1301
- }
1302
- },
1303
- "underline": {
1304
- "title": "EditableHtmlButtonConfigure",
1305
- "type": "object",
1306
- "properties": {
1307
- "disabled": {
1308
- "description": "Indicates if the plugin is disabled or not",
1309
- "type": "boolean",
1310
- "title": "disabled"
1311
- }
1312
- }
1313
- },
1314
- "undo": {
1315
- "title": "EditableHtmlButtonConfigure",
1316
- "type": "object",
1317
- "properties": {
1318
- "disabled": {
1319
- "description": "Indicates if the plugin is disabled or not",
1320
- "type": "boolean",
1321
- "title": "disabled"
1322
- }
1323
- }
1324
- }
1325
- }
1326
- },
1327
- "settings": {
1328
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1329
- "type": "boolean",
1330
- "title": "settings"
1331
- },
1332
- "label": {
1333
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1334
- "type": "string",
1335
- "title": "label"
1336
- }
1337
- }
1338
- },
1339
- "ConfigureMathMLProp": {
1340
- "title": "ConfigureMathMLProp",
1341
- "type": "object",
1342
- "properties": {
1343
- "mmlOutput": {
1344
- "description": "Indicates if model should have mathML output instead of latex",
1345
- "type": "number",
1346
- "title": "mmlOutput"
1347
- },
1348
- "mmlEditing": {
1349
- "description": "Indicates if mathML that's already in model should be editable",
1350
- "type": "number",
1351
- "title": "mmlEditing"
1352
- }
1353
- }
1354
- },
1355
- "ConfigureMaxImageDimensionsProp": {
1356
- "title": "ConfigureMaxImageDimensionsProp",
1357
- "type": "object",
1358
- "properties": {
1359
- "teacherInstructions": {
1360
- "description": "Indicates the max dimension for images in teacher instructions",
1361
- "type": "number",
1362
- "title": "teacherInstructions"
1363
- },
1364
- "prompt": {
1365
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1366
- "type": "number",
1367
- "title": "prompt"
1368
- },
1369
- "rationale": {
1370
- "description": "Indicates the max dimension for images in rationale",
1371
- "type": "number",
1372
- "title": "rationale"
1373
- },
1374
- "choices": {
1375
- "description": "Indicates the max dimension for images in choices",
1376
- "type": "number",
1377
- "title": "choices"
1378
- },
1379
- "rowLabel": {
1380
- "description": "Indicates the max dimension for images in row labels",
1381
- "type": "number",
1382
- "title": "rowLabel"
1383
- },
1384
- "categoryLabel": {
1385
- "description": "Indicates the max dimension for images in category labels",
1386
- "type": "number",
1387
- "title": "categoryLabel"
1388
- }
1389
- }
1390
- },
1391
- "ConfigurePropWithEnabled": {
1392
- "title": "ConfigurePropWithEnabled",
1393
- "type": "object",
1394
- "properties": {
1395
- "enabled": {
1396
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
1397
- "type": "boolean",
1398
- "title": "enabled"
1399
- },
1400
- "settings": {
1401
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1402
- "type": "boolean",
1403
- "title": "settings"
1404
- },
1405
- "label": {
1406
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1407
- "type": "string",
1408
- "title": "label"
1409
- }
1410
- }
1411
- },
1412
- "ConfigureLanguageOptionsProp": {
1413
- "title": "ConfigureLanguageOptionsProp",
1414
- "type": "object",
1415
- "properties": {
1416
- "value": {
1417
- "description": "Value of the language option",
1418
- "type": "string",
1419
- "title": "value"
1420
- },
1421
- "label": {
1422
- "description": "Label of the language option",
1423
- "type": "string",
1424
- "title": "label"
1425
- }
1426
- },
1427
- "required": [
1428
- "label",
1429
- "value"
1430
- ]
1431
- },
1432
- "CategoryChoice": {
1433
- "title": "CategoryChoice",
1434
- "type": "object",
1435
- "properties": {
1436
- "id": {
1437
- "description": "Identifier for the choice",
1438
- "type": "string",
1439
- "title": "id"
1440
- },
1441
- "content": {
1442
- "description": "The xhtml content for the choice",
1443
- "type": "string",
1444
- "title": "content"
1445
- },
1446
- "categoryCount": {
1447
- "type": [
1448
- "string",
1449
- "number"
1450
- ],
1451
- "title": "categoryCount"
1452
- },
1453
- "correctResponseCount": {
1454
- "type": [
1455
- "string",
1456
- "number"
1457
- ],
1458
- "title": "correctResponseCount"
1459
- }
1460
- },
1461
- "required": [
1462
- "content",
1463
- "id"
1464
- ]
1465
- },
1466
- "ChoicesPosition": {
1467
- "title": "ChoicesPosition",
1468
- "enum": [
1469
- "above",
1470
- "below",
1471
- "left",
1472
- "right"
1473
- ],
1474
- "type": "string"
1475
- },
1476
- "Category": {
1477
- "title": "Category",
1478
- "type": "object",
1479
- "properties": {
1480
- "id": {
1481
- "description": "Identifier for the category",
1482
- "type": "string",
1483
- "title": "id"
1484
- },
1485
- "label": {
1486
- "description": "The label to display with the category.",
1487
- "type": "string",
1488
- "title": "label"
1489
- },
1490
- "choices": {
1491
- "description": "The choices presented in this category",
1492
- "type": "array",
1493
- "items": {
1494
- "title": "CategoryChoice",
1495
- "type": "object",
1496
- "properties": {
1497
- "id": {
1498
- "description": "Identifier for the choice",
1499
- "type": "string",
1500
- "title": "id"
1501
- },
1502
- "content": {
1503
- "description": "The xhtml content for the choice",
1504
- "type": "string",
1505
- "title": "content"
1506
- },
1507
- "categoryCount": {
1508
- "type": [
1509
- "string",
1510
- "number"
1511
- ],
1512
- "title": "categoryCount"
1513
- },
1514
- "correctResponseCount": {
1515
- "type": [
1516
- "string",
1517
- "number"
1518
- ],
1519
- "title": "correctResponseCount"
1520
- }
1521
- },
1522
- "required": [
1523
- "content",
1524
- "id"
1525
- ]
1526
- },
1527
- "title": "choices"
1528
- }
1529
- },
1530
- "required": [
1531
- "choices",
1532
- "id",
1533
- "label"
1534
- ]
1535
- },
1536
- "CategoryCorrectResponse": {
1537
- "title": "CategoryCorrectResponse",
1538
- "type": "object",
1539
- "properties": {
1540
- "category": {
1541
- "description": "The identifier for the category",
1542
- "type": "string",
1543
- "title": "category"
1544
- },
1545
- "choices": {
1546
- "description": "Array of identifiers for the choices that belong in this category",
1547
- "type": "array",
1548
- "items": {
1549
- "type": "string"
1550
- },
1551
- "title": "choices"
1552
- },
1553
- "alternateResponses": {
1554
- "description": "Array of alternatives correct choices",
1555
- "type": "array",
1556
- "items": {
1557
- "type": "array",
1558
- "items": {
1559
- "type": "string"
1560
- }
1561
- },
1562
- "title": "alternateResponses"
1563
- }
1564
- },
1565
- "required": [
1566
- "category",
1567
- "choices"
1568
- ]
1569
- },
1570
- "ComplexFeedbackType": {
1571
- "title": "ComplexFeedbackType",
1572
- "type": "object",
1573
- "properties": {
1574
- "correct": {
1575
- "description": "Indicates the configuration for feedback when answer is correct",
1576
- "anyOf": [
1577
- {
1578
- "title": "DefaultFeedbackType",
1579
- "type": "object",
1580
- "properties": {
1581
- "type": {
1582
- "description": "Indicates the feedback type",
1583
- "enum": [
1584
- "default",
1585
- "none"
1586
- ],
1587
- "type": "string",
1588
- "title": "type"
1589
- },
1590
- "default": {
1591
- "description": "Indicates the feedback value",
1592
- "type": "string",
1593
- "title": "default"
1594
- }
1595
- },
1596
- "required": [
1597
- "type"
1598
- ]
1599
- },
1600
- {
1601
- "title": "CustomFeedbackType",
1602
- "type": "object",
1603
- "properties": {
1604
- "type": {
1605
- "description": "Indicates the feedback type",
1606
- "type": "string",
1607
- "enum": [
1608
- "custom"
1609
- ],
1610
- "title": "type"
1611
- },
1612
- "custom": {
1613
- "description": "Indicates the feedback custom value",
1614
- "type": "string",
1615
- "title": "custom"
1616
- }
1617
- },
1618
- "required": [
1619
- "custom",
1620
- "type"
1621
- ]
1622
- }
1623
- ],
1624
- "title": "correct"
1625
- },
1626
- "incorrect": {
1627
- "description": "Indicates the configuration for feedback when answer is incorrect",
1628
- "anyOf": [
1629
- {
1630
- "title": "DefaultFeedbackType",
1631
- "type": "object",
1632
- "properties": {
1633
- "type": {
1634
- "description": "Indicates the feedback type",
1635
- "enum": [
1636
- "default",
1637
- "none"
1638
- ],
1639
- "type": "string",
1640
- "title": "type"
1641
- },
1642
- "default": {
1643
- "description": "Indicates the feedback value",
1644
- "type": "string",
1645
- "title": "default"
1646
- }
1647
- },
1648
- "required": [
1649
- "type"
1650
- ]
1651
- },
1652
- {
1653
- "title": "CustomFeedbackType",
1654
- "type": "object",
1655
- "properties": {
1656
- "type": {
1657
- "description": "Indicates the feedback type",
1658
- "type": "string",
1659
- "enum": [
1660
- "custom"
1661
- ],
1662
- "title": "type"
1663
- },
1664
- "custom": {
1665
- "description": "Indicates the feedback custom value",
1666
- "type": "string",
1667
- "title": "custom"
1668
- }
1669
- },
1670
- "required": [
1671
- "custom",
1672
- "type"
1673
- ]
1674
- }
1675
- ],
1676
- "title": "incorrect"
1677
- },
1678
- "partial": {
1679
- "description": "Indicates the configuration for feedback when answer is partially correct",
1680
- "anyOf": [
1681
- {
1682
- "title": "DefaultFeedbackType",
1683
- "type": "object",
1684
- "properties": {
1685
- "type": {
1686
- "description": "Indicates the feedback type",
1687
- "enum": [
1688
- "default",
1689
- "none"
1690
- ],
1691
- "type": "string",
1692
- "title": "type"
1693
- },
1694
- "default": {
1695
- "description": "Indicates the feedback value",
1696
- "type": "string",
1697
- "title": "default"
1698
- }
1699
- },
1700
- "required": [
1701
- "type"
1702
- ]
1703
- },
1704
- {
1705
- "title": "CustomFeedbackType",
1706
- "type": "object",
1707
- "properties": {
1708
- "type": {
1709
- "description": "Indicates the feedback type",
1710
- "type": "string",
1711
- "enum": [
1712
- "custom"
1713
- ],
1714
- "title": "type"
1715
- },
1716
- "custom": {
1717
- "description": "Indicates the feedback custom value",
1718
- "type": "string",
1719
- "title": "custom"
1720
- }
1721
- },
1722
- "required": [
1723
- "custom",
1724
- "type"
1725
- ]
1726
- }
1727
- ],
1728
- "title": "partial"
1729
- }
1730
- },
1731
- "required": [
1732
- "correct",
1733
- "incorrect"
1734
- ]
1735
- },
1736
- "DefaultFeedbackType": {
1737
- "title": "DefaultFeedbackType",
1738
- "type": "object",
1739
- "properties": {
1740
- "type": {
1741
- "description": "Indicates the feedback type",
1742
- "enum": [
1743
- "default",
1744
- "none"
1745
- ],
1746
- "type": "string",
1747
- "title": "type"
1748
- },
1749
- "default": {
1750
- "description": "Indicates the feedback value",
1751
- "type": "string",
1752
- "title": "default"
1753
- }
1754
- },
1755
- "required": [
1756
- "type"
1757
- ]
1758
- },
1759
- "CustomFeedbackType": {
1760
- "title": "CustomFeedbackType",
1761
- "type": "object",
1762
- "properties": {
1763
- "type": {
1764
- "description": "Indicates the feedback type",
1765
- "type": "string",
1766
- "enum": [
1767
- "custom"
1768
- ],
1769
- "title": "type"
1770
- },
1771
- "custom": {
1772
- "description": "Indicates the feedback custom value",
1773
- "type": "string",
1774
- "title": "custom"
1775
- }
1776
- },
1777
- "required": [
1778
- "custom",
1779
- "type"
1780
- ]
1781
- }
1782
- },
1783
- "$schema": "http://json-schema.org/draft-07/schema#"
1784
- }