@pie-element/categorize 8.7.1-next.0 → 8.7.1-next.16
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/lib/defaults.js +73 -3
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/design/categories/RowLabel.js +6 -0
- package/configure/lib/design/categories/RowLabel.js.map +1 -1
- package/configure/lib/design/categories/alternateResponses.js +4 -2
- package/configure/lib/design/categories/alternateResponses.js.map +1 -1
- package/configure/lib/design/categories/category.js +7 -1
- package/configure/lib/design/categories/category.js.map +1 -1
- package/configure/lib/design/categories/index.js +4 -2
- package/configure/lib/design/categories/index.js.map +1 -1
- package/configure/lib/design/choices/choice.js +4 -1
- package/configure/lib/design/choices/choice.js.map +1 -1
- package/configure/lib/design/choices/index.js +2 -1
- package/configure/lib/design/choices/index.js.map +1 -1
- package/configure/lib/design/index.js +13 -8
- package/configure/lib/design/index.js.map +1 -1
- package/configure/lib/design/input-header.js +7 -9
- package/configure/lib/design/input-header.js.map +1 -1
- package/configure/lib/design/utils.js +23 -0
- package/configure/lib/design/utils.js.map +1 -0
- package/docs/config-schema.json +432 -22
- package/docs/config-schema.json.md +308 -12
- package/docs/pie-schema.json +146 -2
- package/docs/pie-schema.json.md +106 -2
- package/package.json +2 -2
package/docs/config-schema.json
CHANGED
|
@@ -3,31 +3,49 @@
|
|
|
3
3
|
"additionalProperties": false,
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
|
-
"
|
|
7
|
-
"title": "
|
|
6
|
+
"baseInputConfiguration": {
|
|
7
|
+
"title": "EditableHtmlConfigureProp",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"type": "
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
"audio": {
|
|
11
|
+
"title": "EditableHtmlButtonConfigure",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"disabled": {
|
|
15
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"title": "disabled"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"video": {
|
|
22
|
+
"title": "EditableHtmlButtonConfigure",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"disabled": {
|
|
26
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"title": "disabled"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"image": {
|
|
33
|
+
"title": "EditableHtmlButtonConfigure",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"disabled": {
|
|
37
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"title": "disabled"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
19
42
|
}
|
|
20
43
|
}
|
|
21
44
|
},
|
|
22
|
-
"
|
|
23
|
-
"title": "
|
|
45
|
+
"partialScoring": {
|
|
46
|
+
"title": "ConfigureProp",
|
|
24
47
|
"type": "object",
|
|
25
48
|
"properties": {
|
|
26
|
-
"required": {
|
|
27
|
-
"description": "Indicates if the item is required and the value cannot be empty",
|
|
28
|
-
"type": "boolean",
|
|
29
|
-
"title": "required"
|
|
30
|
-
},
|
|
31
49
|
"settings": {
|
|
32
50
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
33
51
|
"type": "boolean",
|
|
@@ -41,9 +59,48 @@
|
|
|
41
59
|
}
|
|
42
60
|
},
|
|
43
61
|
"rationale": {
|
|
44
|
-
"title": "
|
|
62
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
45
63
|
"type": "object",
|
|
46
64
|
"properties": {
|
|
65
|
+
"inputConfiguration": {
|
|
66
|
+
"title": "EditableHtmlConfigureProp",
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"audio": {
|
|
70
|
+
"title": "EditableHtmlButtonConfigure",
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"disabled": {
|
|
74
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"title": "disabled"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"video": {
|
|
81
|
+
"title": "EditableHtmlButtonConfigure",
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"disabled": {
|
|
85
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"title": "disabled"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"image": {
|
|
92
|
+
"title": "EditableHtmlButtonConfigure",
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"disabled": {
|
|
96
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"title": "disabled"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
47
104
|
"required": {
|
|
48
105
|
"description": "Indicates if the item is required and the value cannot be empty",
|
|
49
106
|
"type": "boolean",
|
|
@@ -115,9 +172,48 @@
|
|
|
115
172
|
}
|
|
116
173
|
},
|
|
117
174
|
"teacherInstructions": {
|
|
118
|
-
"title": "
|
|
175
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
119
176
|
"type": "object",
|
|
120
177
|
"properties": {
|
|
178
|
+
"inputConfiguration": {
|
|
179
|
+
"title": "EditableHtmlConfigureProp",
|
|
180
|
+
"type": "object",
|
|
181
|
+
"properties": {
|
|
182
|
+
"audio": {
|
|
183
|
+
"title": "EditableHtmlButtonConfigure",
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"disabled": {
|
|
187
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"title": "disabled"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"video": {
|
|
194
|
+
"title": "EditableHtmlButtonConfigure",
|
|
195
|
+
"type": "object",
|
|
196
|
+
"properties": {
|
|
197
|
+
"disabled": {
|
|
198
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"title": "disabled"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"image": {
|
|
205
|
+
"title": "EditableHtmlButtonConfigure",
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"disabled": {
|
|
209
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"title": "disabled"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
121
217
|
"required": {
|
|
122
218
|
"description": "Indicates if the item is required and the value cannot be empty",
|
|
123
219
|
"type": "boolean",
|
|
@@ -135,6 +231,176 @@
|
|
|
135
231
|
}
|
|
136
232
|
}
|
|
137
233
|
},
|
|
234
|
+
"prompt": {
|
|
235
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"inputConfiguration": {
|
|
239
|
+
"title": "EditableHtmlConfigureProp",
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"audio": {
|
|
243
|
+
"title": "EditableHtmlButtonConfigure",
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"disabled": {
|
|
247
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"title": "disabled"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"video": {
|
|
254
|
+
"title": "EditableHtmlButtonConfigure",
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"disabled": {
|
|
258
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"title": "disabled"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"image": {
|
|
265
|
+
"title": "EditableHtmlButtonConfigure",
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"disabled": {
|
|
269
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
270
|
+
"type": "boolean",
|
|
271
|
+
"title": "disabled"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"required": {
|
|
278
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"title": "required"
|
|
281
|
+
},
|
|
282
|
+
"settings": {
|
|
283
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
284
|
+
"type": "boolean",
|
|
285
|
+
"title": "settings"
|
|
286
|
+
},
|
|
287
|
+
"label": {
|
|
288
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
289
|
+
"type": "string",
|
|
290
|
+
"title": "label"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"headers": {
|
|
295
|
+
"title": "EditableHtmlPluginConfigure",
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"inputConfiguration": {
|
|
299
|
+
"title": "EditableHtmlConfigureProp",
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"audio": {
|
|
303
|
+
"title": "EditableHtmlButtonConfigure",
|
|
304
|
+
"type": "object",
|
|
305
|
+
"properties": {
|
|
306
|
+
"disabled": {
|
|
307
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
308
|
+
"type": "boolean",
|
|
309
|
+
"title": "disabled"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"video": {
|
|
314
|
+
"title": "EditableHtmlButtonConfigure",
|
|
315
|
+
"type": "object",
|
|
316
|
+
"properties": {
|
|
317
|
+
"disabled": {
|
|
318
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"title": "disabled"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"image": {
|
|
325
|
+
"title": "EditableHtmlButtonConfigure",
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"disabled": {
|
|
329
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
330
|
+
"type": "boolean",
|
|
331
|
+
"title": "disabled"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"settings": {
|
|
338
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"title": "settings"
|
|
341
|
+
},
|
|
342
|
+
"label": {
|
|
343
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
344
|
+
"type": "string",
|
|
345
|
+
"title": "label"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"rowLabels": {
|
|
350
|
+
"title": "EditableHtmlPluginConfigure",
|
|
351
|
+
"type": "object",
|
|
352
|
+
"properties": {
|
|
353
|
+
"inputConfiguration": {
|
|
354
|
+
"title": "EditableHtmlConfigureProp",
|
|
355
|
+
"type": "object",
|
|
356
|
+
"properties": {
|
|
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
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"settings": {
|
|
393
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
394
|
+
"type": "boolean",
|
|
395
|
+
"title": "settings"
|
|
396
|
+
},
|
|
397
|
+
"label": {
|
|
398
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"title": "label"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
},
|
|
138
404
|
"minChoices": {
|
|
139
405
|
"description": "Minimum number of choices",
|
|
140
406
|
"type": "number",
|
|
@@ -387,6 +653,56 @@
|
|
|
387
653
|
}
|
|
388
654
|
},
|
|
389
655
|
"definitions": {
|
|
656
|
+
"EditableHtmlConfigureProp": {
|
|
657
|
+
"title": "EditableHtmlConfigureProp",
|
|
658
|
+
"type": "object",
|
|
659
|
+
"properties": {
|
|
660
|
+
"audio": {
|
|
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
|
+
"video": {
|
|
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
|
+
"image": {
|
|
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
|
+
}
|
|
694
|
+
},
|
|
695
|
+
"EditableHtmlButtonConfigure": {
|
|
696
|
+
"title": "EditableHtmlButtonConfigure",
|
|
697
|
+
"type": "object",
|
|
698
|
+
"properties": {
|
|
699
|
+
"disabled": {
|
|
700
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
701
|
+
"type": "boolean",
|
|
702
|
+
"title": "disabled"
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
390
706
|
"ConfigureProp": {
|
|
391
707
|
"title": "ConfigureProp",
|
|
392
708
|
"type": "object",
|
|
@@ -403,10 +719,49 @@
|
|
|
403
719
|
}
|
|
404
720
|
}
|
|
405
721
|
},
|
|
406
|
-
"
|
|
407
|
-
"title": "
|
|
722
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
723
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
408
724
|
"type": "object",
|
|
409
725
|
"properties": {
|
|
726
|
+
"inputConfiguration": {
|
|
727
|
+
"title": "EditableHtmlConfigureProp",
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"audio": {
|
|
731
|
+
"title": "EditableHtmlButtonConfigure",
|
|
732
|
+
"type": "object",
|
|
733
|
+
"properties": {
|
|
734
|
+
"disabled": {
|
|
735
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
736
|
+
"type": "boolean",
|
|
737
|
+
"title": "disabled"
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"video": {
|
|
742
|
+
"title": "EditableHtmlButtonConfigure",
|
|
743
|
+
"type": "object",
|
|
744
|
+
"properties": {
|
|
745
|
+
"disabled": {
|
|
746
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
747
|
+
"type": "boolean",
|
|
748
|
+
"title": "disabled"
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"image": {
|
|
753
|
+
"title": "EditableHtmlButtonConfigure",
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"disabled": {
|
|
757
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
758
|
+
"type": "boolean",
|
|
759
|
+
"title": "disabled"
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
410
765
|
"required": {
|
|
411
766
|
"description": "Indicates if the item is required and the value cannot be empty",
|
|
412
767
|
"type": "boolean",
|
|
@@ -424,6 +779,61 @@
|
|
|
424
779
|
}
|
|
425
780
|
}
|
|
426
781
|
},
|
|
782
|
+
"EditableHtmlPluginConfigure": {
|
|
783
|
+
"title": "EditableHtmlPluginConfigure",
|
|
784
|
+
"type": "object",
|
|
785
|
+
"properties": {
|
|
786
|
+
"inputConfiguration": {
|
|
787
|
+
"title": "EditableHtmlConfigureProp",
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"audio": {
|
|
791
|
+
"title": "EditableHtmlButtonConfigure",
|
|
792
|
+
"type": "object",
|
|
793
|
+
"properties": {
|
|
794
|
+
"disabled": {
|
|
795
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"title": "disabled"
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"video": {
|
|
802
|
+
"title": "EditableHtmlButtonConfigure",
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"disabled": {
|
|
806
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
807
|
+
"type": "boolean",
|
|
808
|
+
"title": "disabled"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"image": {
|
|
813
|
+
"title": "EditableHtmlButtonConfigure",
|
|
814
|
+
"type": "object",
|
|
815
|
+
"properties": {
|
|
816
|
+
"disabled": {
|
|
817
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
818
|
+
"type": "boolean",
|
|
819
|
+
"title": "disabled"
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"settings": {
|
|
826
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
827
|
+
"type": "boolean",
|
|
828
|
+
"title": "settings"
|
|
829
|
+
},
|
|
830
|
+
"label": {
|
|
831
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
832
|
+
"type": "string",
|
|
833
|
+
"title": "label"
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
},
|
|
427
837
|
"ConfigureMathMLProp": {
|
|
428
838
|
"title": "ConfigureMathMLProp",
|
|
429
839
|
"type": "object",
|