@pie-element/ebsr 9.0.2-next.13 → 9.0.2-next.15
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.
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +2478 -0
- package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +5 -0
- package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
- package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +1949 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +133 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +248 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +610 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +869 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +306 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +36 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +614 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +469 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +53 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +411 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +327 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +332 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +165 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +174 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +156 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +96 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +359 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +129 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +35 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/package.json +31 -0
- package/configure/package.json +2 -2
- package/controller/package.json +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Config Object for @pie-elements/multiple-choice",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"answerChoiceCount": {
|
|
7
|
+
"description": "The number of empty choices to show in config view if no choice model is provided",
|
|
8
|
+
"minimum": 1,
|
|
9
|
+
"default": 4,
|
|
10
|
+
"type": "number",
|
|
11
|
+
"title": "answerChoiceCount"
|
|
12
|
+
},
|
|
13
|
+
"addChoiceButton": {
|
|
14
|
+
"title": "ConfigureProp",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"settings": {
|
|
18
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"title": "settings"
|
|
21
|
+
},
|
|
22
|
+
"label": {
|
|
23
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "label"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"choiceMode": {
|
|
30
|
+
"title": "ConfigureProp",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"settings": {
|
|
34
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"title": "settings"
|
|
37
|
+
},
|
|
38
|
+
"label": {
|
|
39
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"title": "label"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"choicePrefix": {
|
|
46
|
+
"title": "ConfigureProp",
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"settings": {
|
|
50
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"title": "settings"
|
|
53
|
+
},
|
|
54
|
+
"label": {
|
|
55
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"title": "label"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"deleteChoice": {
|
|
62
|
+
"title": "ConfigureProp",
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"settings": {
|
|
66
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"title": "settings"
|
|
69
|
+
},
|
|
70
|
+
"label": {
|
|
71
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"title": "label"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"feedback": {
|
|
78
|
+
"title": "ConfigureProp",
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"settings": {
|
|
82
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"title": "settings"
|
|
85
|
+
},
|
|
86
|
+
"label": {
|
|
87
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"title": "label"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"prompt": {
|
|
94
|
+
"title": "ConfigureProp",
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"settings": {
|
|
98
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"title": "settings"
|
|
101
|
+
},
|
|
102
|
+
"label": {
|
|
103
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
104
|
+
"type": "string",
|
|
105
|
+
"title": "label"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"spellCheck": {
|
|
110
|
+
"title": "ConfigureProp",
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"settings": {
|
|
114
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"title": "settings"
|
|
117
|
+
},
|
|
118
|
+
"label": {
|
|
119
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"title": "label"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"choicesLayout": {
|
|
126
|
+
"title": "ConfigureProp",
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"settings": {
|
|
130
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
131
|
+
"type": "boolean",
|
|
132
|
+
"title": "settings"
|
|
133
|
+
},
|
|
134
|
+
"label": {
|
|
135
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
136
|
+
"type": "string",
|
|
137
|
+
"title": "label"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"gridColumns": {
|
|
142
|
+
"title": "ConfigureProp",
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"settings": {
|
|
146
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"title": "settings"
|
|
149
|
+
},
|
|
150
|
+
"label": {
|
|
151
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
152
|
+
"type": "string",
|
|
153
|
+
"title": "label"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"lockChoiceOrder": {
|
|
158
|
+
"title": "ConfigureProp",
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"settings": {
|
|
162
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
163
|
+
"type": "boolean",
|
|
164
|
+
"title": "settings"
|
|
165
|
+
},
|
|
166
|
+
"label": {
|
|
167
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"title": "label"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"partialScoring": {
|
|
174
|
+
"title": "ConfigureProp",
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"settings": {
|
|
178
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"title": "settings"
|
|
181
|
+
},
|
|
182
|
+
"label": {
|
|
183
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"title": "label"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"rationale": {
|
|
190
|
+
"title": "ConfigureProp",
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"settings": {
|
|
194
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"title": "settings"
|
|
197
|
+
},
|
|
198
|
+
"label": {
|
|
199
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
200
|
+
"type": "string",
|
|
201
|
+
"title": "label"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"scoringType": {
|
|
206
|
+
"title": "ConfigureProp",
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"settings": {
|
|
210
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"title": "settings"
|
|
213
|
+
},
|
|
214
|
+
"label": {
|
|
215
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
216
|
+
"type": "string",
|
|
217
|
+
"title": "label"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"settingsPanelDisabled": {
|
|
222
|
+
"description": "Indicates if the settings panel is not available",
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"title": "settingsPanelDisabled"
|
|
225
|
+
},
|
|
226
|
+
"studentInstructions": {
|
|
227
|
+
"title": "ConfigureProp",
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"settings": {
|
|
231
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"title": "settings"
|
|
234
|
+
},
|
|
235
|
+
"label": {
|
|
236
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"title": "label"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"teacherInstructions": {
|
|
243
|
+
"title": "ConfigureProp",
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"settings": {
|
|
247
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"title": "settings"
|
|
250
|
+
},
|
|
251
|
+
"label": {
|
|
252
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
253
|
+
"type": "string",
|
|
254
|
+
"title": "label"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"sequentialChoiceLabels": {
|
|
259
|
+
"title": "ConfigurePropWithEnabled",
|
|
260
|
+
"type": "object",
|
|
261
|
+
"properties": {
|
|
262
|
+
"settings": {
|
|
263
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
264
|
+
"type": "boolean",
|
|
265
|
+
"title": "settings"
|
|
266
|
+
},
|
|
267
|
+
"label": {
|
|
268
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
269
|
+
"type": "string",
|
|
270
|
+
"title": "label"
|
|
271
|
+
},
|
|
272
|
+
"enabled": {
|
|
273
|
+
"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)",
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"title": "enabled"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"accessibility": {
|
|
280
|
+
"title": "ConfigureProp",
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"settings": {
|
|
284
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
285
|
+
"type": "boolean",
|
|
286
|
+
"title": "settings"
|
|
287
|
+
},
|
|
288
|
+
"label": {
|
|
289
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
290
|
+
"type": "string",
|
|
291
|
+
"title": "label"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"minAnswerChoices": {
|
|
296
|
+
"description": "Minimum number of answer choices",
|
|
297
|
+
"type": "number",
|
|
298
|
+
"title": "minAnswerChoices"
|
|
299
|
+
},
|
|
300
|
+
"maxAnswerChoices": {
|
|
301
|
+
"description": "Maximum number of answer choices",
|
|
302
|
+
"type": "number",
|
|
303
|
+
"title": "maxAnswerChoices"
|
|
304
|
+
},
|
|
305
|
+
"maxImageWidth": {
|
|
306
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"teacherInstructions": {
|
|
310
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
311
|
+
"type": "number",
|
|
312
|
+
"title": "teacherInstructions"
|
|
313
|
+
},
|
|
314
|
+
"prompt": {
|
|
315
|
+
"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",
|
|
316
|
+
"type": "number",
|
|
317
|
+
"title": "prompt"
|
|
318
|
+
},
|
|
319
|
+
"rationale": {
|
|
320
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
321
|
+
"type": "number",
|
|
322
|
+
"title": "rationale"
|
|
323
|
+
},
|
|
324
|
+
"choices": {
|
|
325
|
+
"description": "Indicates the max dimension for images in choices",
|
|
326
|
+
"type": "number",
|
|
327
|
+
"title": "choices"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"maxImageHeight": {
|
|
332
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
333
|
+
"type": "object",
|
|
334
|
+
"properties": {
|
|
335
|
+
"teacherInstructions": {
|
|
336
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
337
|
+
"type": "number",
|
|
338
|
+
"title": "teacherInstructions"
|
|
339
|
+
},
|
|
340
|
+
"prompt": {
|
|
341
|
+
"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",
|
|
342
|
+
"type": "number",
|
|
343
|
+
"title": "prompt"
|
|
344
|
+
},
|
|
345
|
+
"rationale": {
|
|
346
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
347
|
+
"type": "number",
|
|
348
|
+
"title": "rationale"
|
|
349
|
+
},
|
|
350
|
+
"choices": {
|
|
351
|
+
"description": "Indicates the max dimension for images in choices",
|
|
352
|
+
"type": "number",
|
|
353
|
+
"title": "choices"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"withRubric": {
|
|
358
|
+
"title": "ConfigureProp",
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {
|
|
361
|
+
"settings": {
|
|
362
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"title": "settings"
|
|
365
|
+
},
|
|
366
|
+
"label": {
|
|
367
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
368
|
+
"type": "string",
|
|
369
|
+
"title": "label"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"mathMlOptions": {
|
|
374
|
+
"title": "ConfigureMathMLProp",
|
|
375
|
+
"type": "object",
|
|
376
|
+
"properties": {
|
|
377
|
+
"mmlOutput": {
|
|
378
|
+
"description": "Indicates if model should have mathML output instead of latex",
|
|
379
|
+
"type": "number",
|
|
380
|
+
"title": "mmlOutput"
|
|
381
|
+
},
|
|
382
|
+
"mmlEditing": {
|
|
383
|
+
"description": "Indicates if mathML that's already in model should be editable",
|
|
384
|
+
"type": "number",
|
|
385
|
+
"title": "mmlEditing"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"language": {
|
|
390
|
+
"title": "ConfigurePropWithEnabled",
|
|
391
|
+
"type": "object",
|
|
392
|
+
"properties": {
|
|
393
|
+
"settings": {
|
|
394
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
395
|
+
"type": "boolean",
|
|
396
|
+
"title": "settings"
|
|
397
|
+
},
|
|
398
|
+
"label": {
|
|
399
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
400
|
+
"type": "string",
|
|
401
|
+
"title": "label"
|
|
402
|
+
},
|
|
403
|
+
"enabled": {
|
|
404
|
+
"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)",
|
|
405
|
+
"type": "boolean",
|
|
406
|
+
"title": "enabled"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"languageChoices": {
|
|
411
|
+
"description": "Language choices configuration\nOnly available if language is enabled",
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"label": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"title": "label"
|
|
417
|
+
},
|
|
418
|
+
"options": {
|
|
419
|
+
"type": "array",
|
|
420
|
+
"items": {
|
|
421
|
+
"title": "ConfigureLanguageOptionsProp",
|
|
422
|
+
"type": "object",
|
|
423
|
+
"properties": {
|
|
424
|
+
"value": {
|
|
425
|
+
"description": "Value of the language option",
|
|
426
|
+
"type": "string",
|
|
427
|
+
"title": "value"
|
|
428
|
+
},
|
|
429
|
+
"label": {
|
|
430
|
+
"description": "Label of the language option",
|
|
431
|
+
"type": "string",
|
|
432
|
+
"title": "label"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"required": [
|
|
436
|
+
"label",
|
|
437
|
+
"value"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
"title": "options"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"required": [
|
|
444
|
+
"label",
|
|
445
|
+
"options"
|
|
446
|
+
],
|
|
447
|
+
"title": "languageChoices"
|
|
448
|
+
},
|
|
449
|
+
"showPrompt": {
|
|
450
|
+
"description": "Determines whether prompt field will be displayed or not",
|
|
451
|
+
"default": true,
|
|
452
|
+
"type": "boolean",
|
|
453
|
+
"title": "showPrompt"
|
|
454
|
+
},
|
|
455
|
+
"promptLabel": {
|
|
456
|
+
"description": "The label for the item stem/prompt field",
|
|
457
|
+
"default": "Item Stemm",
|
|
458
|
+
"type": "string",
|
|
459
|
+
"title": "promptLabel"
|
|
460
|
+
},
|
|
461
|
+
"contentDimensions": {
|
|
462
|
+
"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",
|
|
463
|
+
"default": ": {}",
|
|
464
|
+
"type": "object",
|
|
465
|
+
"properties": {
|
|
466
|
+
"maxHeight": {
|
|
467
|
+
"description": "Indicates the max height of the authoring container",
|
|
468
|
+
"default": "undefined",
|
|
469
|
+
"type": [
|
|
470
|
+
"string",
|
|
471
|
+
"number"
|
|
472
|
+
],
|
|
473
|
+
"title": "maxHeight"
|
|
474
|
+
},
|
|
475
|
+
"maxWidth": {
|
|
476
|
+
"description": "Indicates the max width of the authoring container",
|
|
477
|
+
"default": "undefined",
|
|
478
|
+
"type": [
|
|
479
|
+
"string",
|
|
480
|
+
"number"
|
|
481
|
+
],
|
|
482
|
+
"title": "maxWidth"
|
|
483
|
+
},
|
|
484
|
+
"minHeight": {
|
|
485
|
+
"description": "Indicates the min height of the authoring container",
|
|
486
|
+
"default": "undefined",
|
|
487
|
+
"type": [
|
|
488
|
+
"string",
|
|
489
|
+
"number"
|
|
490
|
+
],
|
|
491
|
+
"title": "minHeight"
|
|
492
|
+
},
|
|
493
|
+
"minWidth": {
|
|
494
|
+
"description": "Indicates the min width of the authoring container",
|
|
495
|
+
"default": "undefined",
|
|
496
|
+
"type": [
|
|
497
|
+
"string",
|
|
498
|
+
"number"
|
|
499
|
+
],
|
|
500
|
+
"title": "minWidth"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"title": "contentDimensions"
|
|
504
|
+
},
|
|
505
|
+
"settingsPartialScoring": {
|
|
506
|
+
"description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
|
|
507
|
+
"default": true,
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"title": "settingsPartialScoring"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"definitions": {
|
|
513
|
+
"ConfigureProp": {
|
|
514
|
+
"title": "ConfigureProp",
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"settings": {
|
|
518
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
519
|
+
"type": "boolean",
|
|
520
|
+
"title": "settings"
|
|
521
|
+
},
|
|
522
|
+
"label": {
|
|
523
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
524
|
+
"type": "string",
|
|
525
|
+
"title": "label"
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"ConfigurePropWithEnabled": {
|
|
530
|
+
"title": "ConfigurePropWithEnabled",
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"settings": {
|
|
534
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
535
|
+
"type": "boolean",
|
|
536
|
+
"title": "settings"
|
|
537
|
+
},
|
|
538
|
+
"label": {
|
|
539
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
540
|
+
"type": "string",
|
|
541
|
+
"title": "label"
|
|
542
|
+
},
|
|
543
|
+
"enabled": {
|
|
544
|
+
"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)",
|
|
545
|
+
"type": "boolean",
|
|
546
|
+
"title": "enabled"
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"ConfigureMaxImageDimensionsProp": {
|
|
551
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
552
|
+
"type": "object",
|
|
553
|
+
"properties": {
|
|
554
|
+
"teacherInstructions": {
|
|
555
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
556
|
+
"type": "number",
|
|
557
|
+
"title": "teacherInstructions"
|
|
558
|
+
},
|
|
559
|
+
"prompt": {
|
|
560
|
+
"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",
|
|
561
|
+
"type": "number",
|
|
562
|
+
"title": "prompt"
|
|
563
|
+
},
|
|
564
|
+
"rationale": {
|
|
565
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
566
|
+
"type": "number",
|
|
567
|
+
"title": "rationale"
|
|
568
|
+
},
|
|
569
|
+
"choices": {
|
|
570
|
+
"description": "Indicates the max dimension for images in choices",
|
|
571
|
+
"type": "number",
|
|
572
|
+
"title": "choices"
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"ConfigureMathMLProp": {
|
|
577
|
+
"title": "ConfigureMathMLProp",
|
|
578
|
+
"type": "object",
|
|
579
|
+
"properties": {
|
|
580
|
+
"mmlOutput": {
|
|
581
|
+
"description": "Indicates if model should have mathML output instead of latex",
|
|
582
|
+
"type": "number",
|
|
583
|
+
"title": "mmlOutput"
|
|
584
|
+
},
|
|
585
|
+
"mmlEditing": {
|
|
586
|
+
"description": "Indicates if mathML that's already in model should be editable",
|
|
587
|
+
"type": "number",
|
|
588
|
+
"title": "mmlEditing"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"ConfigureLanguageOptionsProp": {
|
|
593
|
+
"title": "ConfigureLanguageOptionsProp",
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {
|
|
596
|
+
"value": {
|
|
597
|
+
"description": "Value of the language option",
|
|
598
|
+
"type": "string",
|
|
599
|
+
"title": "value"
|
|
600
|
+
},
|
|
601
|
+
"label": {
|
|
602
|
+
"description": "Label of the language option",
|
|
603
|
+
"type": "string",
|
|
604
|
+
"title": "label"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": [
|
|
608
|
+
"label",
|
|
609
|
+
"value"
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
614
|
+
}
|