@pie-element/likert 0.24.1-next.2 → 0.24.1-next.39
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 +51 -2
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/main.js +34 -6
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +1 -1
- package/controller/lib/index.js +28 -1
- package/controller/lib/index.js.map +1 -1
- package/docs/config-schema.json +441 -1
- package/docs/config-schema.json.md +321 -1
- package/docs/pie-schema.json +198 -0
- package/docs/pie-schema.json.md +144 -0
- package/package.json +3 -3
package/docs/config-schema.json
CHANGED
|
@@ -25,9 +25,251 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"teacherInstructions": {
|
|
28
|
-
"title": "
|
|
28
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
29
29
|
"type": "object",
|
|
30
30
|
"properties": {
|
|
31
|
+
"inputConfiguration": {
|
|
32
|
+
"title": "EditableHtmlConfigureProp",
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"math": {
|
|
36
|
+
"title": "EditableHtmlButtonConfigure",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"disabled": {
|
|
40
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"title": "disabled"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"audio": {
|
|
47
|
+
"title": "EditableHtmlButtonConfigure",
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"disabled": {
|
|
51
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"title": "disabled"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"video": {
|
|
58
|
+
"title": "EditableHtmlButtonConfigure",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"disabled": {
|
|
62
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"title": "disabled"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"image": {
|
|
69
|
+
"title": "EditableHtmlButtonConfigure",
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"disabled": {
|
|
73
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"title": "disabled"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required": {
|
|
82
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"title": "required"
|
|
85
|
+
},
|
|
86
|
+
"settings": {
|
|
87
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"title": "settings"
|
|
90
|
+
},
|
|
91
|
+
"label": {
|
|
92
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"title": "label"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"prompt": {
|
|
99
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"inputConfiguration": {
|
|
103
|
+
"title": "EditableHtmlConfigureProp",
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"math": {
|
|
107
|
+
"title": "EditableHtmlButtonConfigure",
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"disabled": {
|
|
111
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
112
|
+
"type": "boolean",
|
|
113
|
+
"title": "disabled"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"audio": {
|
|
118
|
+
"title": "EditableHtmlButtonConfigure",
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"disabled": {
|
|
122
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
123
|
+
"type": "boolean",
|
|
124
|
+
"title": "disabled"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"video": {
|
|
129
|
+
"title": "EditableHtmlButtonConfigure",
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"disabled": {
|
|
133
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"title": "disabled"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"image": {
|
|
140
|
+
"title": "EditableHtmlButtonConfigure",
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"disabled": {
|
|
144
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"title": "disabled"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": {
|
|
153
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
154
|
+
"type": "boolean",
|
|
155
|
+
"title": "required"
|
|
156
|
+
},
|
|
157
|
+
"settings": {
|
|
158
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"title": "settings"
|
|
161
|
+
},
|
|
162
|
+
"label": {
|
|
163
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
164
|
+
"type": "string",
|
|
165
|
+
"title": "label"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"baseInputConfiguration": {
|
|
170
|
+
"title": "EditableHtmlConfigureProp",
|
|
171
|
+
"type": "object",
|
|
172
|
+
"properties": {
|
|
173
|
+
"math": {
|
|
174
|
+
"title": "EditableHtmlButtonConfigure",
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"disabled": {
|
|
178
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"title": "disabled"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"audio": {
|
|
185
|
+
"title": "EditableHtmlButtonConfigure",
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"disabled": {
|
|
189
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"title": "disabled"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"video": {
|
|
196
|
+
"title": "EditableHtmlButtonConfigure",
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"disabled": {
|
|
200
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
201
|
+
"type": "boolean",
|
|
202
|
+
"title": "disabled"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"image": {
|
|
207
|
+
"title": "EditableHtmlButtonConfigure",
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"disabled": {
|
|
211
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
212
|
+
"type": "boolean",
|
|
213
|
+
"title": "disabled"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"likertChoice": {
|
|
220
|
+
"title": "EditableHtmlPluginConfigure",
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"inputConfiguration": {
|
|
224
|
+
"title": "EditableHtmlConfigureProp",
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"math": {
|
|
228
|
+
"title": "EditableHtmlButtonConfigure",
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"disabled": {
|
|
232
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
233
|
+
"type": "boolean",
|
|
234
|
+
"title": "disabled"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"audio": {
|
|
239
|
+
"title": "EditableHtmlButtonConfigure",
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"disabled": {
|
|
243
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"title": "disabled"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"video": {
|
|
250
|
+
"title": "EditableHtmlButtonConfigure",
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"disabled": {
|
|
254
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
255
|
+
"type": "boolean",
|
|
256
|
+
"title": "disabled"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"image": {
|
|
261
|
+
"title": "EditableHtmlButtonConfigure",
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"disabled": {
|
|
265
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
266
|
+
"type": "boolean",
|
|
267
|
+
"title": "disabled"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
31
273
|
"settings": {
|
|
32
274
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
33
275
|
"type": "boolean",
|
|
@@ -119,6 +361,204 @@
|
|
|
119
361
|
"title": "label"
|
|
120
362
|
}
|
|
121
363
|
}
|
|
364
|
+
},
|
|
365
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
366
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
367
|
+
"type": "object",
|
|
368
|
+
"properties": {
|
|
369
|
+
"inputConfiguration": {
|
|
370
|
+
"title": "EditableHtmlConfigureProp",
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"math": {
|
|
374
|
+
"title": "EditableHtmlButtonConfigure",
|
|
375
|
+
"type": "object",
|
|
376
|
+
"properties": {
|
|
377
|
+
"disabled": {
|
|
378
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
379
|
+
"type": "boolean",
|
|
380
|
+
"title": "disabled"
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"audio": {
|
|
385
|
+
"title": "EditableHtmlButtonConfigure",
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"disabled": {
|
|
389
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
390
|
+
"type": "boolean",
|
|
391
|
+
"title": "disabled"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"video": {
|
|
396
|
+
"title": "EditableHtmlButtonConfigure",
|
|
397
|
+
"type": "object",
|
|
398
|
+
"properties": {
|
|
399
|
+
"disabled": {
|
|
400
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
401
|
+
"type": "boolean",
|
|
402
|
+
"title": "disabled"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"image": {
|
|
407
|
+
"title": "EditableHtmlButtonConfigure",
|
|
408
|
+
"type": "object",
|
|
409
|
+
"properties": {
|
|
410
|
+
"disabled": {
|
|
411
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
412
|
+
"type": "boolean",
|
|
413
|
+
"title": "disabled"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"required": {
|
|
420
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"title": "required"
|
|
423
|
+
},
|
|
424
|
+
"settings": {
|
|
425
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
426
|
+
"type": "boolean",
|
|
427
|
+
"title": "settings"
|
|
428
|
+
},
|
|
429
|
+
"label": {
|
|
430
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
431
|
+
"type": "string",
|
|
432
|
+
"title": "label"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"EditableHtmlConfigureProp": {
|
|
437
|
+
"title": "EditableHtmlConfigureProp",
|
|
438
|
+
"type": "object",
|
|
439
|
+
"properties": {
|
|
440
|
+
"math": {
|
|
441
|
+
"title": "EditableHtmlButtonConfigure",
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"disabled": {
|
|
445
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
446
|
+
"type": "boolean",
|
|
447
|
+
"title": "disabled"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"audio": {
|
|
452
|
+
"title": "EditableHtmlButtonConfigure",
|
|
453
|
+
"type": "object",
|
|
454
|
+
"properties": {
|
|
455
|
+
"disabled": {
|
|
456
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
457
|
+
"type": "boolean",
|
|
458
|
+
"title": "disabled"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"video": {
|
|
463
|
+
"title": "EditableHtmlButtonConfigure",
|
|
464
|
+
"type": "object",
|
|
465
|
+
"properties": {
|
|
466
|
+
"disabled": {
|
|
467
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"title": "disabled"
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"image": {
|
|
474
|
+
"title": "EditableHtmlButtonConfigure",
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"disabled": {
|
|
478
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
479
|
+
"type": "boolean",
|
|
480
|
+
"title": "disabled"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"EditableHtmlButtonConfigure": {
|
|
487
|
+
"title": "EditableHtmlButtonConfigure",
|
|
488
|
+
"type": "object",
|
|
489
|
+
"properties": {
|
|
490
|
+
"disabled": {
|
|
491
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
492
|
+
"type": "boolean",
|
|
493
|
+
"title": "disabled"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"EditableHtmlPluginConfigure": {
|
|
498
|
+
"title": "EditableHtmlPluginConfigure",
|
|
499
|
+
"type": "object",
|
|
500
|
+
"properties": {
|
|
501
|
+
"inputConfiguration": {
|
|
502
|
+
"title": "EditableHtmlConfigureProp",
|
|
503
|
+
"type": "object",
|
|
504
|
+
"properties": {
|
|
505
|
+
"math": {
|
|
506
|
+
"title": "EditableHtmlButtonConfigure",
|
|
507
|
+
"type": "object",
|
|
508
|
+
"properties": {
|
|
509
|
+
"disabled": {
|
|
510
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
511
|
+
"type": "boolean",
|
|
512
|
+
"title": "disabled"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"audio": {
|
|
517
|
+
"title": "EditableHtmlButtonConfigure",
|
|
518
|
+
"type": "object",
|
|
519
|
+
"properties": {
|
|
520
|
+
"disabled": {
|
|
521
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
522
|
+
"type": "boolean",
|
|
523
|
+
"title": "disabled"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"video": {
|
|
528
|
+
"title": "EditableHtmlButtonConfigure",
|
|
529
|
+
"type": "object",
|
|
530
|
+
"properties": {
|
|
531
|
+
"disabled": {
|
|
532
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
533
|
+
"type": "boolean",
|
|
534
|
+
"title": "disabled"
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"image": {
|
|
539
|
+
"title": "EditableHtmlButtonConfigure",
|
|
540
|
+
"type": "object",
|
|
541
|
+
"properties": {
|
|
542
|
+
"disabled": {
|
|
543
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
544
|
+
"type": "boolean",
|
|
545
|
+
"title": "disabled"
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"settings": {
|
|
552
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
553
|
+
"type": "boolean",
|
|
554
|
+
"title": "settings"
|
|
555
|
+
},
|
|
556
|
+
"label": {
|
|
557
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
558
|
+
"type": "string",
|
|
559
|
+
"title": "label"
|
|
560
|
+
}
|
|
561
|
+
}
|
|
122
562
|
}
|
|
123
563
|
},
|
|
124
564
|
"$schema": "http://json-schema.org/draft-07/schema#"
|