@pie-element/select-text 13.1.2-next.1 → 13.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1422 -0
- package/CHANGELOG.md +2288 -0
- package/LICENSE.md +5 -0
- package/README.md +5 -0
- package/configure/CHANGELOG.json +1032 -0
- package/configure/CHANGELOG.md +2023 -0
- package/configure/lib/defaultConfiguration.js +177 -0
- package/configure/lib/defaultConfiguration.js.map +1 -0
- package/configure/lib/design.js +406 -0
- package/configure/lib/design.js.map +1 -0
- package/configure/lib/index.js +128 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +92 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +25 -0
- package/controller/CHANGELOG.json +442 -0
- package/controller/CHANGELOG.md +1468 -0
- package/controller/lib/defaults.js +25 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +258 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/package.json +16 -0
- package/docs/config-schema.json +2135 -0
- package/docs/config-schema.json.md +1579 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +823 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +24 -0
- package/docs/pie-schema.json +1248 -0
- package/docs/pie-schema.json.md +711 -0
- package/lib/index.js +103 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +191 -0
- package/lib/main.js.map +1 -0
- package/lib/print.js +87 -0
- package/lib/print.js.map +1 -0
- package/lib/utils.js +80 -0
- package/lib/utils.js.map +1 -0
- package/package.json +21 -91
- package/configure.js +0 -2
- package/controller.js +0 -1
- package/dist/author/defaultConfiguration.d.ts +0 -179
- package/dist/author/defaultConfiguration.js +0 -141
- package/dist/author/design.d.ts +0 -38
- package/dist/author/design.js +0 -263
- package/dist/author/index.d.ts +0 -27
- package/dist/author/index.js +0 -74
- package/dist/author/utils.d.ts +0 -10
- package/dist/author/utils.js +0 -50
- package/dist/browser/Check-BEV41wEJ.js +0 -9254
- package/dist/browser/Check-BEV41wEJ.js.map +0 -1
- package/dist/browser/author/index.js +0 -41129
- package/dist/browser/author/index.js.map +0 -1
- package/dist/browser/controller/index.js +0 -194
- package/dist/browser/controller/index.js.map +0 -1
- package/dist/browser/delivery/index.js +0 -89
- package/dist/browser/delivery/index.js.map +0 -1
- package/dist/browser/dist-SG92p6xV.js +0 -319
- package/dist/browser/dist-SG92p6xV.js.map +0 -1
- package/dist/browser/main-gsFiosO8.js +0 -4804
- package/dist/browser/main-gsFiosO8.js.map +0 -1
- package/dist/browser/print/index.js +0 -41
- package/dist/browser/print/index.js.map +0 -1
- package/dist/browser/select-text.css +0 -2
- package/dist/controller/defaults.d.ts +0 -27
- package/dist/controller/defaults.js +0 -21
- package/dist/controller/index.d.ts +0 -25
- package/dist/controller/index.js +0 -121
- package/dist/delivery/index.d.ts +0 -19
- package/dist/delivery/index.js +0 -60
- package/dist/delivery/main.d.ts +0 -34
- package/dist/delivery/main.js +0 -136
- package/dist/delivery/utils.d.ts +0 -10
- package/dist/delivery/utils.js +0 -47
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -167
- package/dist/index.js +0 -2
- package/dist/print/index.d.ts +0 -15
- package/dist/print/index.js +0 -41
- package/dist/runtime-support.d.ts +0 -12
- package/dist/runtime-support.js +0 -12
|
@@ -0,0 +1,1248 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Pie Model Object for @pie-elements/select-text",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"maxSelections": {
|
|
7
|
+
"description": "The maximum number of token selections a user can make when responding",
|
|
8
|
+
"type": "number",
|
|
9
|
+
"title": "maxSelections"
|
|
10
|
+
},
|
|
11
|
+
"mode": {
|
|
12
|
+
"description": "The selected mode for tokenizing the text.\nThis is only used in the config UI to present the mode by which text has been tokenized for selection.\nIf importing an item, only set this property it the text tokens are strictly parsed by of these methods.",
|
|
13
|
+
"enum": [
|
|
14
|
+
"paragraph",
|
|
15
|
+
"sentence",
|
|
16
|
+
"word"
|
|
17
|
+
],
|
|
18
|
+
"type": "string",
|
|
19
|
+
"title": "mode"
|
|
20
|
+
},
|
|
21
|
+
"partialScoring": {
|
|
22
|
+
"description": "Indicates if partial scoring should be used",
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"title": "partialScoring"
|
|
25
|
+
},
|
|
26
|
+
"feedback": {
|
|
27
|
+
"title": "ComplexFeedbackType",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"correct": {
|
|
31
|
+
"description": "Indicates the configuration for feedback when answer is correct",
|
|
32
|
+
"anyOf": [
|
|
33
|
+
{
|
|
34
|
+
"title": "DefaultFeedbackType",
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"description": "Indicates the feedback type",
|
|
39
|
+
"enum": [
|
|
40
|
+
"default",
|
|
41
|
+
"none"
|
|
42
|
+
],
|
|
43
|
+
"type": "string",
|
|
44
|
+
"title": "type"
|
|
45
|
+
},
|
|
46
|
+
"default": {
|
|
47
|
+
"description": "Indicates the feedback value",
|
|
48
|
+
"type": "string",
|
|
49
|
+
"title": "default"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"type"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"title": "CustomFeedbackType",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"type": {
|
|
61
|
+
"description": "Indicates the feedback type",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"custom"
|
|
65
|
+
],
|
|
66
|
+
"title": "type"
|
|
67
|
+
},
|
|
68
|
+
"custom": {
|
|
69
|
+
"description": "Indicates the feedback custom value",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"title": "custom"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"custom",
|
|
76
|
+
"type"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"title": "correct"
|
|
81
|
+
},
|
|
82
|
+
"incorrect": {
|
|
83
|
+
"description": "Indicates the configuration for feedback when answer is incorrect",
|
|
84
|
+
"anyOf": [
|
|
85
|
+
{
|
|
86
|
+
"title": "DefaultFeedbackType",
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"type": {
|
|
90
|
+
"description": "Indicates the feedback type",
|
|
91
|
+
"enum": [
|
|
92
|
+
"default",
|
|
93
|
+
"none"
|
|
94
|
+
],
|
|
95
|
+
"type": "string",
|
|
96
|
+
"title": "type"
|
|
97
|
+
},
|
|
98
|
+
"default": {
|
|
99
|
+
"description": "Indicates the feedback value",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"title": "default"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"type"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"title": "CustomFeedbackType",
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"type": {
|
|
113
|
+
"description": "Indicates the feedback type",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"enum": [
|
|
116
|
+
"custom"
|
|
117
|
+
],
|
|
118
|
+
"title": "type"
|
|
119
|
+
},
|
|
120
|
+
"custom": {
|
|
121
|
+
"description": "Indicates the feedback custom value",
|
|
122
|
+
"type": "string",
|
|
123
|
+
"title": "custom"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [
|
|
127
|
+
"custom",
|
|
128
|
+
"type"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"title": "incorrect"
|
|
133
|
+
},
|
|
134
|
+
"partial": {
|
|
135
|
+
"description": "Indicates the configuration for feedback when answer is partially correct",
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"title": "DefaultFeedbackType",
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"type": {
|
|
142
|
+
"description": "Indicates the feedback type",
|
|
143
|
+
"enum": [
|
|
144
|
+
"default",
|
|
145
|
+
"none"
|
|
146
|
+
],
|
|
147
|
+
"type": "string",
|
|
148
|
+
"title": "type"
|
|
149
|
+
},
|
|
150
|
+
"default": {
|
|
151
|
+
"description": "Indicates the feedback value",
|
|
152
|
+
"type": "string",
|
|
153
|
+
"title": "default"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"required": [
|
|
157
|
+
"type"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"title": "CustomFeedbackType",
|
|
162
|
+
"type": "object",
|
|
163
|
+
"properties": {
|
|
164
|
+
"type": {
|
|
165
|
+
"description": "Indicates the feedback type",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"enum": [
|
|
168
|
+
"custom"
|
|
169
|
+
],
|
|
170
|
+
"title": "type"
|
|
171
|
+
},
|
|
172
|
+
"custom": {
|
|
173
|
+
"description": "Indicates the feedback custom value",
|
|
174
|
+
"type": "string",
|
|
175
|
+
"title": "custom"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"custom",
|
|
180
|
+
"type"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"title": "partial"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": [
|
|
188
|
+
"correct",
|
|
189
|
+
"incorrect"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"tokens": {
|
|
193
|
+
"description": "The selectable text tokens in the main text content",
|
|
194
|
+
"type": "array",
|
|
195
|
+
"items": {
|
|
196
|
+
"title": "TextToken",
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"text": {
|
|
200
|
+
"description": "The token text",
|
|
201
|
+
"type": "string",
|
|
202
|
+
"title": "text"
|
|
203
|
+
},
|
|
204
|
+
"start": {
|
|
205
|
+
"description": "The start point in the main text for this token",
|
|
206
|
+
"type": "number",
|
|
207
|
+
"title": "start"
|
|
208
|
+
},
|
|
209
|
+
"end": {
|
|
210
|
+
"description": "The end point in the main text for this token",
|
|
211
|
+
"type": "number",
|
|
212
|
+
"title": "end"
|
|
213
|
+
},
|
|
214
|
+
"correct": {
|
|
215
|
+
"description": "Is selected does the token represent a correct response",
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"title": "correct"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": [
|
|
221
|
+
"end",
|
|
222
|
+
"start"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"title": "tokens"
|
|
226
|
+
},
|
|
227
|
+
"text": {
|
|
228
|
+
"description": "The passage of text from which user may select responses",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"title": "text"
|
|
231
|
+
},
|
|
232
|
+
"prompt": {
|
|
233
|
+
"description": "The user prompt/item stem",
|
|
234
|
+
"type": "string",
|
|
235
|
+
"title": "prompt"
|
|
236
|
+
},
|
|
237
|
+
"promptEnabled": {
|
|
238
|
+
"description": "Determines if prompt should show",
|
|
239
|
+
"type": "boolean",
|
|
240
|
+
"title": "promptEnabled"
|
|
241
|
+
},
|
|
242
|
+
"highlightChoices": {
|
|
243
|
+
"description": "Indicates if the parts of text that are choosable, should be highligned when presented to student.",
|
|
244
|
+
"default": false,
|
|
245
|
+
"type": "boolean",
|
|
246
|
+
"title": "highlightChoices"
|
|
247
|
+
},
|
|
248
|
+
"rationale": {
|
|
249
|
+
"description": "Indicates rationale for correct answer",
|
|
250
|
+
"type": "string",
|
|
251
|
+
"title": "rationale"
|
|
252
|
+
},
|
|
253
|
+
"scoringType": {
|
|
254
|
+
"description": "Indicates scoring type",
|
|
255
|
+
"enum": [
|
|
256
|
+
"auto",
|
|
257
|
+
"rubric"
|
|
258
|
+
],
|
|
259
|
+
"type": "string",
|
|
260
|
+
"title": "scoringType"
|
|
261
|
+
},
|
|
262
|
+
"studentInstructions": {
|
|
263
|
+
"description": "Indicates student instructions",
|
|
264
|
+
"type": "string",
|
|
265
|
+
"title": "studentInstructions"
|
|
266
|
+
},
|
|
267
|
+
"teacherInstructions": {
|
|
268
|
+
"description": "Indicates teacher instructions",
|
|
269
|
+
"type": "string",
|
|
270
|
+
"title": "teacherInstructions"
|
|
271
|
+
},
|
|
272
|
+
"feedbackEnabled": {
|
|
273
|
+
"description": "Indicates if Feedback is enabled",
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"title": "feedbackEnabled"
|
|
276
|
+
},
|
|
277
|
+
"rationaleEnabled": {
|
|
278
|
+
"description": "Indicates if Rationale are enabled",
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"title": "rationaleEnabled"
|
|
281
|
+
},
|
|
282
|
+
"studentInstructionsEnabled": {
|
|
283
|
+
"description": "Indicates if Student Instructions are enabled",
|
|
284
|
+
"type": "boolean",
|
|
285
|
+
"title": "studentInstructionsEnabled"
|
|
286
|
+
},
|
|
287
|
+
"teacherInstructionsEnabled": {
|
|
288
|
+
"description": "Indicates if Teacher Instructions are enabled",
|
|
289
|
+
"type": "boolean",
|
|
290
|
+
"title": "teacherInstructionsEnabled"
|
|
291
|
+
},
|
|
292
|
+
"spellCheckEnabled": {
|
|
293
|
+
"description": "Indicates if spellcheck is enabled",
|
|
294
|
+
"type": "boolean",
|
|
295
|
+
"title": "spellCheckEnabled"
|
|
296
|
+
},
|
|
297
|
+
"toolbarEditorPosition": {
|
|
298
|
+
"description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
|
|
299
|
+
"default": ": 'bottom'",
|
|
300
|
+
"enum": [
|
|
301
|
+
"bottom",
|
|
302
|
+
"top"
|
|
303
|
+
],
|
|
304
|
+
"type": "string",
|
|
305
|
+
"title": "toolbarEditorPosition"
|
|
306
|
+
},
|
|
307
|
+
"rubricEnabled": {
|
|
308
|
+
"description": "Indicates if Rubric is enabled",
|
|
309
|
+
"type": "boolean",
|
|
310
|
+
"title": "rubricEnabled"
|
|
311
|
+
},
|
|
312
|
+
"language": {
|
|
313
|
+
"description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
|
|
314
|
+
"type": "string",
|
|
315
|
+
"title": "language"
|
|
316
|
+
},
|
|
317
|
+
"id": {
|
|
318
|
+
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
319
|
+
"type": "string",
|
|
320
|
+
"title": "id"
|
|
321
|
+
},
|
|
322
|
+
"element": {
|
|
323
|
+
"description": "The html Element tag name",
|
|
324
|
+
"type": "string",
|
|
325
|
+
"title": "element"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": [
|
|
329
|
+
"element",
|
|
330
|
+
"feedbackEnabled",
|
|
331
|
+
"id",
|
|
332
|
+
"prompt",
|
|
333
|
+
"rationaleEnabled",
|
|
334
|
+
"rubricEnabled",
|
|
335
|
+
"spellCheckEnabled",
|
|
336
|
+
"studentInstructionsEnabled",
|
|
337
|
+
"teacherInstructionsEnabled",
|
|
338
|
+
"text",
|
|
339
|
+
"tokens"
|
|
340
|
+
],
|
|
341
|
+
"definitions": {
|
|
342
|
+
"EditableHtmlConfigureProp": {
|
|
343
|
+
"title": "EditableHtmlConfigureProp",
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {
|
|
346
|
+
"math": {
|
|
347
|
+
"title": "EditableHtmlButtonConfigure",
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"disabled": {
|
|
351
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
352
|
+
"type": "boolean",
|
|
353
|
+
"title": "disabled"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"audio": {
|
|
358
|
+
"title": "EditableHtmlButtonConfigure",
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {
|
|
361
|
+
"disabled": {
|
|
362
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"title": "disabled"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"video": {
|
|
369
|
+
"title": "EditableHtmlButtonConfigure",
|
|
370
|
+
"type": "object",
|
|
371
|
+
"properties": {
|
|
372
|
+
"disabled": {
|
|
373
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
374
|
+
"type": "boolean",
|
|
375
|
+
"title": "disabled"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"image": {
|
|
380
|
+
"title": "EditableHtmlButtonConfigure",
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"disabled": {
|
|
384
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
385
|
+
"type": "boolean",
|
|
386
|
+
"title": "disabled"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"customPlugins": {
|
|
391
|
+
"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.",
|
|
392
|
+
"type": "array",
|
|
393
|
+
"items": {
|
|
394
|
+
"title": "CustomPlugin",
|
|
395
|
+
"type": "object",
|
|
396
|
+
"properties": {
|
|
397
|
+
"event": {
|
|
398
|
+
"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\"",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"title": "event"
|
|
401
|
+
},
|
|
402
|
+
"iconAlt": {
|
|
403
|
+
"description": "The alt for the custom button icon",
|
|
404
|
+
"type": "string",
|
|
405
|
+
"title": "iconAlt"
|
|
406
|
+
},
|
|
407
|
+
"iconType": {
|
|
408
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
409
|
+
"type": "string",
|
|
410
|
+
"title": "iconType"
|
|
411
|
+
},
|
|
412
|
+
"icon": {
|
|
413
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
414
|
+
"type": "string",
|
|
415
|
+
"title": "icon"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"required": [
|
|
419
|
+
"event",
|
|
420
|
+
"icon",
|
|
421
|
+
"iconAlt",
|
|
422
|
+
"iconType"
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"title": "customPlugins"
|
|
426
|
+
},
|
|
427
|
+
"blockquote": {
|
|
428
|
+
"title": "EditableHtmlButtonConfigure",
|
|
429
|
+
"type": "object",
|
|
430
|
+
"properties": {
|
|
431
|
+
"disabled": {
|
|
432
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
433
|
+
"type": "boolean",
|
|
434
|
+
"title": "disabled"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"h3": {
|
|
439
|
+
"title": "EditableHtmlButtonConfigure",
|
|
440
|
+
"type": "object",
|
|
441
|
+
"properties": {
|
|
442
|
+
"disabled": {
|
|
443
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
444
|
+
"type": "boolean",
|
|
445
|
+
"title": "disabled"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"characters": {
|
|
450
|
+
"title": "EditableHtmlButtonConfigure",
|
|
451
|
+
"type": "object",
|
|
452
|
+
"properties": {
|
|
453
|
+
"disabled": {
|
|
454
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
455
|
+
"type": "boolean",
|
|
456
|
+
"title": "disabled"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"bold": {
|
|
461
|
+
"title": "EditableHtmlButtonConfigure",
|
|
462
|
+
"type": "object",
|
|
463
|
+
"properties": {
|
|
464
|
+
"disabled": {
|
|
465
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
466
|
+
"type": "boolean",
|
|
467
|
+
"title": "disabled"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"html": {
|
|
472
|
+
"title": "EditableHtmlButtonConfigure",
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"disabled": {
|
|
476
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
477
|
+
"type": "boolean",
|
|
478
|
+
"title": "disabled"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"italic": {
|
|
483
|
+
"title": "EditableHtmlButtonConfigure",
|
|
484
|
+
"type": "object",
|
|
485
|
+
"properties": {
|
|
486
|
+
"disabled": {
|
|
487
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
488
|
+
"type": "boolean",
|
|
489
|
+
"title": "disabled"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"ol_list": {
|
|
494
|
+
"title": "EditableHtmlButtonConfigure",
|
|
495
|
+
"type": "object",
|
|
496
|
+
"properties": {
|
|
497
|
+
"disabled": {
|
|
498
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
499
|
+
"type": "boolean",
|
|
500
|
+
"title": "disabled"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"redo": {
|
|
505
|
+
"title": "EditableHtmlButtonConfigure",
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"disabled": {
|
|
509
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
510
|
+
"type": "boolean",
|
|
511
|
+
"title": "disabled"
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"strikethrough": {
|
|
516
|
+
"title": "EditableHtmlButtonConfigure",
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"disabled": {
|
|
520
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"title": "disabled"
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"sub": {
|
|
527
|
+
"title": "EditableHtmlButtonConfigure",
|
|
528
|
+
"type": "object",
|
|
529
|
+
"properties": {
|
|
530
|
+
"disabled": {
|
|
531
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
532
|
+
"type": "boolean",
|
|
533
|
+
"title": "disabled"
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"sup": {
|
|
538
|
+
"title": "EditableHtmlButtonConfigure",
|
|
539
|
+
"type": "object",
|
|
540
|
+
"properties": {
|
|
541
|
+
"disabled": {
|
|
542
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
543
|
+
"type": "boolean",
|
|
544
|
+
"title": "disabled"
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"table": {
|
|
549
|
+
"title": "EditableHtmlButtonConfigure",
|
|
550
|
+
"type": "object",
|
|
551
|
+
"properties": {
|
|
552
|
+
"disabled": {
|
|
553
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
554
|
+
"type": "boolean",
|
|
555
|
+
"title": "disabled"
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"ul_list": {
|
|
560
|
+
"title": "EditableHtmlButtonConfigure",
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"disabled": {
|
|
564
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
565
|
+
"type": "boolean",
|
|
566
|
+
"title": "disabled"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"underline": {
|
|
571
|
+
"title": "EditableHtmlButtonConfigure",
|
|
572
|
+
"type": "object",
|
|
573
|
+
"properties": {
|
|
574
|
+
"disabled": {
|
|
575
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"title": "disabled"
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"undo": {
|
|
582
|
+
"title": "EditableHtmlButtonConfigure",
|
|
583
|
+
"type": "object",
|
|
584
|
+
"properties": {
|
|
585
|
+
"disabled": {
|
|
586
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
587
|
+
"type": "boolean",
|
|
588
|
+
"title": "disabled"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"EditableHtmlButtonConfigure": {
|
|
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
|
+
"CustomPlugin": {
|
|
606
|
+
"title": "CustomPlugin",
|
|
607
|
+
"type": "object",
|
|
608
|
+
"properties": {
|
|
609
|
+
"event": {
|
|
610
|
+
"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\"",
|
|
611
|
+
"type": "string",
|
|
612
|
+
"title": "event"
|
|
613
|
+
},
|
|
614
|
+
"iconAlt": {
|
|
615
|
+
"description": "The alt for the custom button icon",
|
|
616
|
+
"type": "string",
|
|
617
|
+
"title": "iconAlt"
|
|
618
|
+
},
|
|
619
|
+
"iconType": {
|
|
620
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
621
|
+
"type": "string",
|
|
622
|
+
"title": "iconType"
|
|
623
|
+
},
|
|
624
|
+
"icon": {
|
|
625
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
626
|
+
"type": "string",
|
|
627
|
+
"title": "icon"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
"required": [
|
|
631
|
+
"event",
|
|
632
|
+
"icon",
|
|
633
|
+
"iconAlt",
|
|
634
|
+
"iconType"
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
"ConfigureProp": {
|
|
638
|
+
"title": "ConfigureProp",
|
|
639
|
+
"type": "object",
|
|
640
|
+
"properties": {
|
|
641
|
+
"settings": {
|
|
642
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
643
|
+
"type": "boolean",
|
|
644
|
+
"title": "settings"
|
|
645
|
+
},
|
|
646
|
+
"label": {
|
|
647
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
648
|
+
"type": "string",
|
|
649
|
+
"title": "label"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
654
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
655
|
+
"type": "object",
|
|
656
|
+
"properties": {
|
|
657
|
+
"inputConfiguration": {
|
|
658
|
+
"title": "EditableHtmlConfigureProp",
|
|
659
|
+
"type": "object",
|
|
660
|
+
"properties": {
|
|
661
|
+
"math": {
|
|
662
|
+
"title": "EditableHtmlButtonConfigure",
|
|
663
|
+
"type": "object",
|
|
664
|
+
"properties": {
|
|
665
|
+
"disabled": {
|
|
666
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
667
|
+
"type": "boolean",
|
|
668
|
+
"title": "disabled"
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"audio": {
|
|
673
|
+
"title": "EditableHtmlButtonConfigure",
|
|
674
|
+
"type": "object",
|
|
675
|
+
"properties": {
|
|
676
|
+
"disabled": {
|
|
677
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
678
|
+
"type": "boolean",
|
|
679
|
+
"title": "disabled"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"video": {
|
|
684
|
+
"title": "EditableHtmlButtonConfigure",
|
|
685
|
+
"type": "object",
|
|
686
|
+
"properties": {
|
|
687
|
+
"disabled": {
|
|
688
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
689
|
+
"type": "boolean",
|
|
690
|
+
"title": "disabled"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"image": {
|
|
695
|
+
"title": "EditableHtmlButtonConfigure",
|
|
696
|
+
"type": "object",
|
|
697
|
+
"properties": {
|
|
698
|
+
"disabled": {
|
|
699
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
700
|
+
"type": "boolean",
|
|
701
|
+
"title": "disabled"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"customPlugins": {
|
|
706
|
+
"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.",
|
|
707
|
+
"type": "array",
|
|
708
|
+
"items": {
|
|
709
|
+
"title": "CustomPlugin",
|
|
710
|
+
"type": "object",
|
|
711
|
+
"properties": {
|
|
712
|
+
"event": {
|
|
713
|
+
"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\"",
|
|
714
|
+
"type": "string",
|
|
715
|
+
"title": "event"
|
|
716
|
+
},
|
|
717
|
+
"iconAlt": {
|
|
718
|
+
"description": "The alt for the custom button icon",
|
|
719
|
+
"type": "string",
|
|
720
|
+
"title": "iconAlt"
|
|
721
|
+
},
|
|
722
|
+
"iconType": {
|
|
723
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
724
|
+
"type": "string",
|
|
725
|
+
"title": "iconType"
|
|
726
|
+
},
|
|
727
|
+
"icon": {
|
|
728
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
729
|
+
"type": "string",
|
|
730
|
+
"title": "icon"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": [
|
|
734
|
+
"event",
|
|
735
|
+
"icon",
|
|
736
|
+
"iconAlt",
|
|
737
|
+
"iconType"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
"title": "customPlugins"
|
|
741
|
+
},
|
|
742
|
+
"blockquote": {
|
|
743
|
+
"title": "EditableHtmlButtonConfigure",
|
|
744
|
+
"type": "object",
|
|
745
|
+
"properties": {
|
|
746
|
+
"disabled": {
|
|
747
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
748
|
+
"type": "boolean",
|
|
749
|
+
"title": "disabled"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"h3": {
|
|
754
|
+
"title": "EditableHtmlButtonConfigure",
|
|
755
|
+
"type": "object",
|
|
756
|
+
"properties": {
|
|
757
|
+
"disabled": {
|
|
758
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
759
|
+
"type": "boolean",
|
|
760
|
+
"title": "disabled"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"characters": {
|
|
765
|
+
"title": "EditableHtmlButtonConfigure",
|
|
766
|
+
"type": "object",
|
|
767
|
+
"properties": {
|
|
768
|
+
"disabled": {
|
|
769
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
770
|
+
"type": "boolean",
|
|
771
|
+
"title": "disabled"
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"bold": {
|
|
776
|
+
"title": "EditableHtmlButtonConfigure",
|
|
777
|
+
"type": "object",
|
|
778
|
+
"properties": {
|
|
779
|
+
"disabled": {
|
|
780
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
781
|
+
"type": "boolean",
|
|
782
|
+
"title": "disabled"
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"html": {
|
|
787
|
+
"title": "EditableHtmlButtonConfigure",
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"disabled": {
|
|
791
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
792
|
+
"type": "boolean",
|
|
793
|
+
"title": "disabled"
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"italic": {
|
|
798
|
+
"title": "EditableHtmlButtonConfigure",
|
|
799
|
+
"type": "object",
|
|
800
|
+
"properties": {
|
|
801
|
+
"disabled": {
|
|
802
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
803
|
+
"type": "boolean",
|
|
804
|
+
"title": "disabled"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"ol_list": {
|
|
809
|
+
"title": "EditableHtmlButtonConfigure",
|
|
810
|
+
"type": "object",
|
|
811
|
+
"properties": {
|
|
812
|
+
"disabled": {
|
|
813
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
814
|
+
"type": "boolean",
|
|
815
|
+
"title": "disabled"
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"redo": {
|
|
820
|
+
"title": "EditableHtmlButtonConfigure",
|
|
821
|
+
"type": "object",
|
|
822
|
+
"properties": {
|
|
823
|
+
"disabled": {
|
|
824
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
825
|
+
"type": "boolean",
|
|
826
|
+
"title": "disabled"
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"strikethrough": {
|
|
831
|
+
"title": "EditableHtmlButtonConfigure",
|
|
832
|
+
"type": "object",
|
|
833
|
+
"properties": {
|
|
834
|
+
"disabled": {
|
|
835
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
836
|
+
"type": "boolean",
|
|
837
|
+
"title": "disabled"
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
"sub": {
|
|
842
|
+
"title": "EditableHtmlButtonConfigure",
|
|
843
|
+
"type": "object",
|
|
844
|
+
"properties": {
|
|
845
|
+
"disabled": {
|
|
846
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
847
|
+
"type": "boolean",
|
|
848
|
+
"title": "disabled"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"sup": {
|
|
853
|
+
"title": "EditableHtmlButtonConfigure",
|
|
854
|
+
"type": "object",
|
|
855
|
+
"properties": {
|
|
856
|
+
"disabled": {
|
|
857
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
858
|
+
"type": "boolean",
|
|
859
|
+
"title": "disabled"
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"table": {
|
|
864
|
+
"title": "EditableHtmlButtonConfigure",
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"disabled": {
|
|
868
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
869
|
+
"type": "boolean",
|
|
870
|
+
"title": "disabled"
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"ul_list": {
|
|
875
|
+
"title": "EditableHtmlButtonConfigure",
|
|
876
|
+
"type": "object",
|
|
877
|
+
"properties": {
|
|
878
|
+
"disabled": {
|
|
879
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
880
|
+
"type": "boolean",
|
|
881
|
+
"title": "disabled"
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"underline": {
|
|
886
|
+
"title": "EditableHtmlButtonConfigure",
|
|
887
|
+
"type": "object",
|
|
888
|
+
"properties": {
|
|
889
|
+
"disabled": {
|
|
890
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
891
|
+
"type": "boolean",
|
|
892
|
+
"title": "disabled"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"undo": {
|
|
897
|
+
"title": "EditableHtmlButtonConfigure",
|
|
898
|
+
"type": "object",
|
|
899
|
+
"properties": {
|
|
900
|
+
"disabled": {
|
|
901
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"title": "disabled"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"required": {
|
|
910
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
911
|
+
"type": "boolean",
|
|
912
|
+
"title": "required"
|
|
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
|
+
"ConfigureMaxImageDimensionsProp": {
|
|
927
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
928
|
+
"type": "object",
|
|
929
|
+
"properties": {
|
|
930
|
+
"teacherInstructions": {
|
|
931
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
932
|
+
"type": "number",
|
|
933
|
+
"title": "teacherInstructions"
|
|
934
|
+
},
|
|
935
|
+
"prompt": {
|
|
936
|
+
"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",
|
|
937
|
+
"type": "number",
|
|
938
|
+
"title": "prompt"
|
|
939
|
+
},
|
|
940
|
+
"rationale": {
|
|
941
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
942
|
+
"type": "number",
|
|
943
|
+
"title": "rationale"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"ConfigureMathMLProp": {
|
|
948
|
+
"title": "ConfigureMathMLProp",
|
|
949
|
+
"type": "object",
|
|
950
|
+
"properties": {
|
|
951
|
+
"mmlOutput": {
|
|
952
|
+
"description": "Indicates if model should have mathML output instead of latex",
|
|
953
|
+
"type": "number",
|
|
954
|
+
"title": "mmlOutput"
|
|
955
|
+
},
|
|
956
|
+
"mmlEditing": {
|
|
957
|
+
"description": "Indicates if mathML that's already in model should be editable",
|
|
958
|
+
"type": "number",
|
|
959
|
+
"title": "mmlEditing"
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
"ConfigurePropWithEnabled": {
|
|
964
|
+
"title": "ConfigurePropWithEnabled",
|
|
965
|
+
"type": "object",
|
|
966
|
+
"properties": {
|
|
967
|
+
"enabled": {
|
|
968
|
+
"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)",
|
|
969
|
+
"type": "boolean",
|
|
970
|
+
"title": "enabled"
|
|
971
|
+
},
|
|
972
|
+
"settings": {
|
|
973
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
974
|
+
"type": "boolean",
|
|
975
|
+
"title": "settings"
|
|
976
|
+
},
|
|
977
|
+
"label": {
|
|
978
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
979
|
+
"type": "string",
|
|
980
|
+
"title": "label"
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"ConfigureLanguageOptionsProp": {
|
|
985
|
+
"title": "ConfigureLanguageOptionsProp",
|
|
986
|
+
"type": "object",
|
|
987
|
+
"properties": {
|
|
988
|
+
"value": {
|
|
989
|
+
"description": "Value of the language option",
|
|
990
|
+
"type": "string",
|
|
991
|
+
"title": "value"
|
|
992
|
+
},
|
|
993
|
+
"label": {
|
|
994
|
+
"description": "Label of the language option",
|
|
995
|
+
"type": "string",
|
|
996
|
+
"title": "label"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"required": [
|
|
1000
|
+
"label",
|
|
1001
|
+
"value"
|
|
1002
|
+
]
|
|
1003
|
+
},
|
|
1004
|
+
"ComplexFeedbackType": {
|
|
1005
|
+
"title": "ComplexFeedbackType",
|
|
1006
|
+
"type": "object",
|
|
1007
|
+
"properties": {
|
|
1008
|
+
"correct": {
|
|
1009
|
+
"description": "Indicates the configuration for feedback when answer is correct",
|
|
1010
|
+
"anyOf": [
|
|
1011
|
+
{
|
|
1012
|
+
"title": "DefaultFeedbackType",
|
|
1013
|
+
"type": "object",
|
|
1014
|
+
"properties": {
|
|
1015
|
+
"type": {
|
|
1016
|
+
"description": "Indicates the feedback type",
|
|
1017
|
+
"enum": [
|
|
1018
|
+
"default",
|
|
1019
|
+
"none"
|
|
1020
|
+
],
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"title": "type"
|
|
1023
|
+
},
|
|
1024
|
+
"default": {
|
|
1025
|
+
"description": "Indicates the feedback value",
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"title": "default"
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"required": [
|
|
1031
|
+
"type"
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"title": "CustomFeedbackType",
|
|
1036
|
+
"type": "object",
|
|
1037
|
+
"properties": {
|
|
1038
|
+
"type": {
|
|
1039
|
+
"description": "Indicates the feedback type",
|
|
1040
|
+
"type": "string",
|
|
1041
|
+
"enum": [
|
|
1042
|
+
"custom"
|
|
1043
|
+
],
|
|
1044
|
+
"title": "type"
|
|
1045
|
+
},
|
|
1046
|
+
"custom": {
|
|
1047
|
+
"description": "Indicates the feedback custom value",
|
|
1048
|
+
"type": "string",
|
|
1049
|
+
"title": "custom"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"required": [
|
|
1053
|
+
"custom",
|
|
1054
|
+
"type"
|
|
1055
|
+
]
|
|
1056
|
+
}
|
|
1057
|
+
],
|
|
1058
|
+
"title": "correct"
|
|
1059
|
+
},
|
|
1060
|
+
"incorrect": {
|
|
1061
|
+
"description": "Indicates the configuration for feedback when answer is incorrect",
|
|
1062
|
+
"anyOf": [
|
|
1063
|
+
{
|
|
1064
|
+
"title": "DefaultFeedbackType",
|
|
1065
|
+
"type": "object",
|
|
1066
|
+
"properties": {
|
|
1067
|
+
"type": {
|
|
1068
|
+
"description": "Indicates the feedback type",
|
|
1069
|
+
"enum": [
|
|
1070
|
+
"default",
|
|
1071
|
+
"none"
|
|
1072
|
+
],
|
|
1073
|
+
"type": "string",
|
|
1074
|
+
"title": "type"
|
|
1075
|
+
},
|
|
1076
|
+
"default": {
|
|
1077
|
+
"description": "Indicates the feedback value",
|
|
1078
|
+
"type": "string",
|
|
1079
|
+
"title": "default"
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
"required": [
|
|
1083
|
+
"type"
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"title": "CustomFeedbackType",
|
|
1088
|
+
"type": "object",
|
|
1089
|
+
"properties": {
|
|
1090
|
+
"type": {
|
|
1091
|
+
"description": "Indicates the feedback type",
|
|
1092
|
+
"type": "string",
|
|
1093
|
+
"enum": [
|
|
1094
|
+
"custom"
|
|
1095
|
+
],
|
|
1096
|
+
"title": "type"
|
|
1097
|
+
},
|
|
1098
|
+
"custom": {
|
|
1099
|
+
"description": "Indicates the feedback custom value",
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"title": "custom"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"required": [
|
|
1105
|
+
"custom",
|
|
1106
|
+
"type"
|
|
1107
|
+
]
|
|
1108
|
+
}
|
|
1109
|
+
],
|
|
1110
|
+
"title": "incorrect"
|
|
1111
|
+
},
|
|
1112
|
+
"partial": {
|
|
1113
|
+
"description": "Indicates the configuration for feedback when answer is partially correct",
|
|
1114
|
+
"anyOf": [
|
|
1115
|
+
{
|
|
1116
|
+
"title": "DefaultFeedbackType",
|
|
1117
|
+
"type": "object",
|
|
1118
|
+
"properties": {
|
|
1119
|
+
"type": {
|
|
1120
|
+
"description": "Indicates the feedback type",
|
|
1121
|
+
"enum": [
|
|
1122
|
+
"default",
|
|
1123
|
+
"none"
|
|
1124
|
+
],
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"title": "type"
|
|
1127
|
+
},
|
|
1128
|
+
"default": {
|
|
1129
|
+
"description": "Indicates the feedback value",
|
|
1130
|
+
"type": "string",
|
|
1131
|
+
"title": "default"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"required": [
|
|
1135
|
+
"type"
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"title": "CustomFeedbackType",
|
|
1140
|
+
"type": "object",
|
|
1141
|
+
"properties": {
|
|
1142
|
+
"type": {
|
|
1143
|
+
"description": "Indicates the feedback type",
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
"enum": [
|
|
1146
|
+
"custom"
|
|
1147
|
+
],
|
|
1148
|
+
"title": "type"
|
|
1149
|
+
},
|
|
1150
|
+
"custom": {
|
|
1151
|
+
"description": "Indicates the feedback custom value",
|
|
1152
|
+
"type": "string",
|
|
1153
|
+
"title": "custom"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"required": [
|
|
1157
|
+
"custom",
|
|
1158
|
+
"type"
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"title": "partial"
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"required": [
|
|
1166
|
+
"correct",
|
|
1167
|
+
"incorrect"
|
|
1168
|
+
]
|
|
1169
|
+
},
|
|
1170
|
+
"DefaultFeedbackType": {
|
|
1171
|
+
"title": "DefaultFeedbackType",
|
|
1172
|
+
"type": "object",
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"type": {
|
|
1175
|
+
"description": "Indicates the feedback type",
|
|
1176
|
+
"enum": [
|
|
1177
|
+
"default",
|
|
1178
|
+
"none"
|
|
1179
|
+
],
|
|
1180
|
+
"type": "string",
|
|
1181
|
+
"title": "type"
|
|
1182
|
+
},
|
|
1183
|
+
"default": {
|
|
1184
|
+
"description": "Indicates the feedback value",
|
|
1185
|
+
"type": "string",
|
|
1186
|
+
"title": "default"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"required": [
|
|
1190
|
+
"type"
|
|
1191
|
+
]
|
|
1192
|
+
},
|
|
1193
|
+
"CustomFeedbackType": {
|
|
1194
|
+
"title": "CustomFeedbackType",
|
|
1195
|
+
"type": "object",
|
|
1196
|
+
"properties": {
|
|
1197
|
+
"type": {
|
|
1198
|
+
"description": "Indicates the feedback type",
|
|
1199
|
+
"type": "string",
|
|
1200
|
+
"enum": [
|
|
1201
|
+
"custom"
|
|
1202
|
+
],
|
|
1203
|
+
"title": "type"
|
|
1204
|
+
},
|
|
1205
|
+
"custom": {
|
|
1206
|
+
"description": "Indicates the feedback custom value",
|
|
1207
|
+
"type": "string",
|
|
1208
|
+
"title": "custom"
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
"required": [
|
|
1212
|
+
"custom",
|
|
1213
|
+
"type"
|
|
1214
|
+
]
|
|
1215
|
+
},
|
|
1216
|
+
"TextToken": {
|
|
1217
|
+
"title": "TextToken",
|
|
1218
|
+
"type": "object",
|
|
1219
|
+
"properties": {
|
|
1220
|
+
"text": {
|
|
1221
|
+
"description": "The token text",
|
|
1222
|
+
"type": "string",
|
|
1223
|
+
"title": "text"
|
|
1224
|
+
},
|
|
1225
|
+
"start": {
|
|
1226
|
+
"description": "The start point in the main text for this token",
|
|
1227
|
+
"type": "number",
|
|
1228
|
+
"title": "start"
|
|
1229
|
+
},
|
|
1230
|
+
"end": {
|
|
1231
|
+
"description": "The end point in the main text for this token",
|
|
1232
|
+
"type": "number",
|
|
1233
|
+
"title": "end"
|
|
1234
|
+
},
|
|
1235
|
+
"correct": {
|
|
1236
|
+
"description": "Is selected does the token represent a correct response",
|
|
1237
|
+
"type": "boolean",
|
|
1238
|
+
"title": "correct"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
"required": [
|
|
1242
|
+
"end",
|
|
1243
|
+
"start"
|
|
1244
|
+
]
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1248
|
+
}
|