@pie-element/likert 4.1.2-next.5 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/CHANGELOG.md +1468 -0
  3. package/LICENSE.md +5 -0
  4. package/configure/CHANGELOG.json +1 -0
  5. package/configure/CHANGELOG.md +1385 -0
  6. package/configure/lib/choiceGenerator.js +219 -0
  7. package/configure/lib/choiceGenerator.js.map +1 -0
  8. package/configure/lib/defaults.js +100 -0
  9. package/configure/lib/defaults.js.map +1 -0
  10. package/configure/lib/index.js +106 -0
  11. package/configure/lib/index.js.map +1 -0
  12. package/configure/lib/likertEntities.js +24 -0
  13. package/configure/lib/likertEntities.js.map +1 -0
  14. package/configure/lib/main.js +388 -0
  15. package/configure/lib/main.js.map +1 -0
  16. package/configure/package.json +27 -0
  17. package/controller/CHANGELOG.json +1 -0
  18. package/controller/CHANGELOG.md +90 -0
  19. package/controller/lib/defaults.js +17 -0
  20. package/controller/lib/defaults.js.map +1 -0
  21. package/controller/lib/index.js +81 -0
  22. package/controller/lib/index.js.map +1 -0
  23. package/controller/package.json +17 -0
  24. package/docs/config-schema.json +2011 -0
  25. package/docs/config-schema.json.md +1487 -0
  26. package/docs/demo/config.js +8 -0
  27. package/docs/demo/generate.js +22 -0
  28. package/docs/demo/index.html +1 -0
  29. package/docs/demo/session.js +6 -0
  30. package/docs/pie-schema.json +966 -0
  31. package/docs/pie-schema.json.md +711 -0
  32. package/lib/choice-input.js +90 -0
  33. package/lib/choice-input.js.map +1 -0
  34. package/lib/index.js +64 -0
  35. package/lib/index.js.map +1 -0
  36. package/lib/likert.js +97 -0
  37. package/lib/likert.js.map +1 -0
  38. package/lib/likertEntities.js +11 -0
  39. package/lib/likertEntities.js.map +1 -0
  40. package/lib/main.js +42 -0
  41. package/lib/main.js.map +1 -0
  42. package/lib/session-updater.js +15 -0
  43. package/lib/session-updater.js.map +1 -0
  44. package/package.json +21 -83
  45. package/readme.md +55 -0
  46. package/configure.js +0 -2
  47. package/controller.js +0 -1
  48. package/dist/author/choiceGenerator.d.ts +0 -13
  49. package/dist/author/choiceGenerator.js +0 -255
  50. package/dist/author/defaults.d.ts +0 -102
  51. package/dist/author/defaults.js +0 -60
  52. package/dist/author/index.d.ts +0 -31
  53. package/dist/author/index.js +0 -73
  54. package/dist/author/likertEntities.d.ts +0 -25
  55. package/dist/author/likertEntities.js +0 -18
  56. package/dist/author/main.d.ts +0 -27
  57. package/dist/author/main.js +0 -298
  58. package/dist/browser/Radio-DABxV66W.js +0 -9454
  59. package/dist/browser/Radio-DABxV66W.js.map +0 -1
  60. package/dist/browser/author/index.js +0 -45281
  61. package/dist/browser/author/index.js.map +0 -1
  62. package/dist/browser/controller/index.js +0 -51
  63. package/dist/browser/controller/index.js.map +0 -1
  64. package/dist/browser/delivery/index.js +0 -219
  65. package/dist/browser/delivery/index.js.map +0 -1
  66. package/dist/browser/likert.css +0 -2
  67. package/dist/controller/defaults.d.ts +0 -19
  68. package/dist/controller/defaults.js +0 -13
  69. package/dist/controller/index.d.ts +0 -19
  70. package/dist/controller/index.js +0 -41
  71. package/dist/delivery/choice-input.d.ts +0 -27
  72. package/dist/delivery/choice-input.js +0 -59
  73. package/dist/delivery/index.d.ts +0 -19
  74. package/dist/delivery/index.js +0 -44
  75. package/dist/delivery/likert.d.ts +0 -26
  76. package/dist/delivery/likert.js +0 -70
  77. package/dist/delivery/likertEntities.d.ts +0 -12
  78. package/dist/delivery/likertEntities.js +0 -7
  79. package/dist/delivery/main.d.ts +0 -23
  80. package/dist/delivery/main.js +0 -37
  81. package/dist/delivery/session-updater.d.ts +0 -9
  82. package/dist/index.d.ts +0 -1
  83. package/dist/index.iife.d.ts +0 -8
  84. package/dist/index.iife.js +0 -145
  85. package/dist/index.js +0 -2
  86. package/dist/runtime-support.d.ts +0 -12
  87. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,2011 @@
1
+ {
2
+ "description": "Config Object for @pie-elements/likert",
3
+ "additionalProperties": false,
4
+ "type": "object",
5
+ "properties": {
6
+ "settingsPanelDisabled": {
7
+ "description": "Indicates if the settings panel is not available",
8
+ "type": "boolean",
9
+ "title": "settingsPanelDisabled"
10
+ },
11
+ "spellCheck": {
12
+ "title": "ConfigureProp",
13
+ "type": "object",
14
+ "properties": {
15
+ "settings": {
16
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
17
+ "type": "boolean",
18
+ "title": "settings"
19
+ },
20
+ "label": {
21
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
22
+ "type": "string",
23
+ "title": "label"
24
+ }
25
+ }
26
+ },
27
+ "teacherInstructions": {
28
+ "title": "EditableHtmlPluginConfigureRequired",
29
+ "type": "object",
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
+ "customPlugins": {
80
+ "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.",
81
+ "type": "array",
82
+ "items": {
83
+ "title": "CustomPlugin",
84
+ "type": "object",
85
+ "properties": {
86
+ "event": {
87
+ "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\"",
88
+ "type": "string",
89
+ "title": "event"
90
+ },
91
+ "iconAlt": {
92
+ "description": "The alt for the custom button icon",
93
+ "type": "string",
94
+ "title": "iconAlt"
95
+ },
96
+ "iconType": {
97
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
98
+ "type": "string",
99
+ "title": "iconType"
100
+ },
101
+ "icon": {
102
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
103
+ "type": "string",
104
+ "title": "icon"
105
+ }
106
+ },
107
+ "required": [
108
+ "event",
109
+ "icon",
110
+ "iconAlt",
111
+ "iconType"
112
+ ]
113
+ },
114
+ "title": "customPlugins"
115
+ },
116
+ "blockquote": {
117
+ "title": "EditableHtmlButtonConfigure",
118
+ "type": "object",
119
+ "properties": {
120
+ "disabled": {
121
+ "description": "Indicates if the plugin is disabled or not",
122
+ "type": "boolean",
123
+ "title": "disabled"
124
+ }
125
+ }
126
+ },
127
+ "h3": {
128
+ "title": "EditableHtmlButtonConfigure",
129
+ "type": "object",
130
+ "properties": {
131
+ "disabled": {
132
+ "description": "Indicates if the plugin is disabled or not",
133
+ "type": "boolean",
134
+ "title": "disabled"
135
+ }
136
+ }
137
+ },
138
+ "characters": {
139
+ "title": "EditableHtmlButtonConfigure",
140
+ "type": "object",
141
+ "properties": {
142
+ "disabled": {
143
+ "description": "Indicates if the plugin is disabled or not",
144
+ "type": "boolean",
145
+ "title": "disabled"
146
+ }
147
+ }
148
+ },
149
+ "bold": {
150
+ "title": "EditableHtmlButtonConfigure",
151
+ "type": "object",
152
+ "properties": {
153
+ "disabled": {
154
+ "description": "Indicates if the plugin is disabled or not",
155
+ "type": "boolean",
156
+ "title": "disabled"
157
+ }
158
+ }
159
+ },
160
+ "html": {
161
+ "title": "EditableHtmlButtonConfigure",
162
+ "type": "object",
163
+ "properties": {
164
+ "disabled": {
165
+ "description": "Indicates if the plugin is disabled or not",
166
+ "type": "boolean",
167
+ "title": "disabled"
168
+ }
169
+ }
170
+ },
171
+ "italic": {
172
+ "title": "EditableHtmlButtonConfigure",
173
+ "type": "object",
174
+ "properties": {
175
+ "disabled": {
176
+ "description": "Indicates if the plugin is disabled or not",
177
+ "type": "boolean",
178
+ "title": "disabled"
179
+ }
180
+ }
181
+ },
182
+ "ol_list": {
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
+ "redo": {
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
+ "strikethrough": {
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
+ "sub": {
216
+ "title": "EditableHtmlButtonConfigure",
217
+ "type": "object",
218
+ "properties": {
219
+ "disabled": {
220
+ "description": "Indicates if the plugin is disabled or not",
221
+ "type": "boolean",
222
+ "title": "disabled"
223
+ }
224
+ }
225
+ },
226
+ "sup": {
227
+ "title": "EditableHtmlButtonConfigure",
228
+ "type": "object",
229
+ "properties": {
230
+ "disabled": {
231
+ "description": "Indicates if the plugin is disabled or not",
232
+ "type": "boolean",
233
+ "title": "disabled"
234
+ }
235
+ }
236
+ },
237
+ "table": {
238
+ "title": "EditableHtmlButtonConfigure",
239
+ "type": "object",
240
+ "properties": {
241
+ "disabled": {
242
+ "description": "Indicates if the plugin is disabled or not",
243
+ "type": "boolean",
244
+ "title": "disabled"
245
+ }
246
+ }
247
+ },
248
+ "ul_list": {
249
+ "title": "EditableHtmlButtonConfigure",
250
+ "type": "object",
251
+ "properties": {
252
+ "disabled": {
253
+ "description": "Indicates if the plugin is disabled or not",
254
+ "type": "boolean",
255
+ "title": "disabled"
256
+ }
257
+ }
258
+ },
259
+ "underline": {
260
+ "title": "EditableHtmlButtonConfigure",
261
+ "type": "object",
262
+ "properties": {
263
+ "disabled": {
264
+ "description": "Indicates if the plugin is disabled or not",
265
+ "type": "boolean",
266
+ "title": "disabled"
267
+ }
268
+ }
269
+ },
270
+ "undo": {
271
+ "title": "EditableHtmlButtonConfigure",
272
+ "type": "object",
273
+ "properties": {
274
+ "disabled": {
275
+ "description": "Indicates if the plugin is disabled or not",
276
+ "type": "boolean",
277
+ "title": "disabled"
278
+ }
279
+ }
280
+ }
281
+ }
282
+ },
283
+ "required": {
284
+ "description": "Indicates if the item is required and the value cannot be empty",
285
+ "type": "boolean",
286
+ "title": "required"
287
+ },
288
+ "settings": {
289
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
290
+ "type": "boolean",
291
+ "title": "settings"
292
+ },
293
+ "label": {
294
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
295
+ "type": "string",
296
+ "title": "label"
297
+ }
298
+ }
299
+ },
300
+ "prompt": {
301
+ "title": "EditableHtmlPluginConfigureRequired",
302
+ "type": "object",
303
+ "properties": {
304
+ "inputConfiguration": {
305
+ "title": "EditableHtmlConfigureProp",
306
+ "type": "object",
307
+ "properties": {
308
+ "math": {
309
+ "title": "EditableHtmlButtonConfigure",
310
+ "type": "object",
311
+ "properties": {
312
+ "disabled": {
313
+ "description": "Indicates if the plugin is disabled or not",
314
+ "type": "boolean",
315
+ "title": "disabled"
316
+ }
317
+ }
318
+ },
319
+ "audio": {
320
+ "title": "EditableHtmlButtonConfigure",
321
+ "type": "object",
322
+ "properties": {
323
+ "disabled": {
324
+ "description": "Indicates if the plugin is disabled or not",
325
+ "type": "boolean",
326
+ "title": "disabled"
327
+ }
328
+ }
329
+ },
330
+ "video": {
331
+ "title": "EditableHtmlButtonConfigure",
332
+ "type": "object",
333
+ "properties": {
334
+ "disabled": {
335
+ "description": "Indicates if the plugin is disabled or not",
336
+ "type": "boolean",
337
+ "title": "disabled"
338
+ }
339
+ }
340
+ },
341
+ "image": {
342
+ "title": "EditableHtmlButtonConfigure",
343
+ "type": "object",
344
+ "properties": {
345
+ "disabled": {
346
+ "description": "Indicates if the plugin is disabled or not",
347
+ "type": "boolean",
348
+ "title": "disabled"
349
+ }
350
+ }
351
+ },
352
+ "customPlugins": {
353
+ "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.",
354
+ "type": "array",
355
+ "items": {
356
+ "title": "CustomPlugin",
357
+ "type": "object",
358
+ "properties": {
359
+ "event": {
360
+ "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\"",
361
+ "type": "string",
362
+ "title": "event"
363
+ },
364
+ "iconAlt": {
365
+ "description": "The alt for the custom button icon",
366
+ "type": "string",
367
+ "title": "iconAlt"
368
+ },
369
+ "iconType": {
370
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
371
+ "type": "string",
372
+ "title": "iconType"
373
+ },
374
+ "icon": {
375
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
376
+ "type": "string",
377
+ "title": "icon"
378
+ }
379
+ },
380
+ "required": [
381
+ "event",
382
+ "icon",
383
+ "iconAlt",
384
+ "iconType"
385
+ ]
386
+ },
387
+ "title": "customPlugins"
388
+ },
389
+ "blockquote": {
390
+ "title": "EditableHtmlButtonConfigure",
391
+ "type": "object",
392
+ "properties": {
393
+ "disabled": {
394
+ "description": "Indicates if the plugin is disabled or not",
395
+ "type": "boolean",
396
+ "title": "disabled"
397
+ }
398
+ }
399
+ },
400
+ "h3": {
401
+ "title": "EditableHtmlButtonConfigure",
402
+ "type": "object",
403
+ "properties": {
404
+ "disabled": {
405
+ "description": "Indicates if the plugin is disabled or not",
406
+ "type": "boolean",
407
+ "title": "disabled"
408
+ }
409
+ }
410
+ },
411
+ "characters": {
412
+ "title": "EditableHtmlButtonConfigure",
413
+ "type": "object",
414
+ "properties": {
415
+ "disabled": {
416
+ "description": "Indicates if the plugin is disabled or not",
417
+ "type": "boolean",
418
+ "title": "disabled"
419
+ }
420
+ }
421
+ },
422
+ "bold": {
423
+ "title": "EditableHtmlButtonConfigure",
424
+ "type": "object",
425
+ "properties": {
426
+ "disabled": {
427
+ "description": "Indicates if the plugin is disabled or not",
428
+ "type": "boolean",
429
+ "title": "disabled"
430
+ }
431
+ }
432
+ },
433
+ "html": {
434
+ "title": "EditableHtmlButtonConfigure",
435
+ "type": "object",
436
+ "properties": {
437
+ "disabled": {
438
+ "description": "Indicates if the plugin is disabled or not",
439
+ "type": "boolean",
440
+ "title": "disabled"
441
+ }
442
+ }
443
+ },
444
+ "italic": {
445
+ "title": "EditableHtmlButtonConfigure",
446
+ "type": "object",
447
+ "properties": {
448
+ "disabled": {
449
+ "description": "Indicates if the plugin is disabled or not",
450
+ "type": "boolean",
451
+ "title": "disabled"
452
+ }
453
+ }
454
+ },
455
+ "ol_list": {
456
+ "title": "EditableHtmlButtonConfigure",
457
+ "type": "object",
458
+ "properties": {
459
+ "disabled": {
460
+ "description": "Indicates if the plugin is disabled or not",
461
+ "type": "boolean",
462
+ "title": "disabled"
463
+ }
464
+ }
465
+ },
466
+ "redo": {
467
+ "title": "EditableHtmlButtonConfigure",
468
+ "type": "object",
469
+ "properties": {
470
+ "disabled": {
471
+ "description": "Indicates if the plugin is disabled or not",
472
+ "type": "boolean",
473
+ "title": "disabled"
474
+ }
475
+ }
476
+ },
477
+ "strikethrough": {
478
+ "title": "EditableHtmlButtonConfigure",
479
+ "type": "object",
480
+ "properties": {
481
+ "disabled": {
482
+ "description": "Indicates if the plugin is disabled or not",
483
+ "type": "boolean",
484
+ "title": "disabled"
485
+ }
486
+ }
487
+ },
488
+ "sub": {
489
+ "title": "EditableHtmlButtonConfigure",
490
+ "type": "object",
491
+ "properties": {
492
+ "disabled": {
493
+ "description": "Indicates if the plugin is disabled or not",
494
+ "type": "boolean",
495
+ "title": "disabled"
496
+ }
497
+ }
498
+ },
499
+ "sup": {
500
+ "title": "EditableHtmlButtonConfigure",
501
+ "type": "object",
502
+ "properties": {
503
+ "disabled": {
504
+ "description": "Indicates if the plugin is disabled or not",
505
+ "type": "boolean",
506
+ "title": "disabled"
507
+ }
508
+ }
509
+ },
510
+ "table": {
511
+ "title": "EditableHtmlButtonConfigure",
512
+ "type": "object",
513
+ "properties": {
514
+ "disabled": {
515
+ "description": "Indicates if the plugin is disabled or not",
516
+ "type": "boolean",
517
+ "title": "disabled"
518
+ }
519
+ }
520
+ },
521
+ "ul_list": {
522
+ "title": "EditableHtmlButtonConfigure",
523
+ "type": "object",
524
+ "properties": {
525
+ "disabled": {
526
+ "description": "Indicates if the plugin is disabled or not",
527
+ "type": "boolean",
528
+ "title": "disabled"
529
+ }
530
+ }
531
+ },
532
+ "underline": {
533
+ "title": "EditableHtmlButtonConfigure",
534
+ "type": "object",
535
+ "properties": {
536
+ "disabled": {
537
+ "description": "Indicates if the plugin is disabled or not",
538
+ "type": "boolean",
539
+ "title": "disabled"
540
+ }
541
+ }
542
+ },
543
+ "undo": {
544
+ "title": "EditableHtmlButtonConfigure",
545
+ "type": "object",
546
+ "properties": {
547
+ "disabled": {
548
+ "description": "Indicates if the plugin is disabled or not",
549
+ "type": "boolean",
550
+ "title": "disabled"
551
+ }
552
+ }
553
+ }
554
+ }
555
+ },
556
+ "required": {
557
+ "description": "Indicates if the item is required and the value cannot be empty",
558
+ "type": "boolean",
559
+ "title": "required"
560
+ },
561
+ "settings": {
562
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
563
+ "type": "boolean",
564
+ "title": "settings"
565
+ },
566
+ "label": {
567
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
568
+ "type": "string",
569
+ "title": "label"
570
+ }
571
+ }
572
+ },
573
+ "baseInputConfiguration": {
574
+ "title": "EditableHtmlConfigureProp",
575
+ "type": "object",
576
+ "properties": {
577
+ "math": {
578
+ "title": "EditableHtmlButtonConfigure",
579
+ "type": "object",
580
+ "properties": {
581
+ "disabled": {
582
+ "description": "Indicates if the plugin is disabled or not",
583
+ "type": "boolean",
584
+ "title": "disabled"
585
+ }
586
+ }
587
+ },
588
+ "audio": {
589
+ "title": "EditableHtmlButtonConfigure",
590
+ "type": "object",
591
+ "properties": {
592
+ "disabled": {
593
+ "description": "Indicates if the plugin is disabled or not",
594
+ "type": "boolean",
595
+ "title": "disabled"
596
+ }
597
+ }
598
+ },
599
+ "video": {
600
+ "title": "EditableHtmlButtonConfigure",
601
+ "type": "object",
602
+ "properties": {
603
+ "disabled": {
604
+ "description": "Indicates if the plugin is disabled or not",
605
+ "type": "boolean",
606
+ "title": "disabled"
607
+ }
608
+ }
609
+ },
610
+ "image": {
611
+ "title": "EditableHtmlButtonConfigure",
612
+ "type": "object",
613
+ "properties": {
614
+ "disabled": {
615
+ "description": "Indicates if the plugin is disabled or not",
616
+ "type": "boolean",
617
+ "title": "disabled"
618
+ }
619
+ }
620
+ },
621
+ "customPlugins": {
622
+ "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.",
623
+ "type": "array",
624
+ "items": {
625
+ "title": "CustomPlugin",
626
+ "type": "object",
627
+ "properties": {
628
+ "event": {
629
+ "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\"",
630
+ "type": "string",
631
+ "title": "event"
632
+ },
633
+ "iconAlt": {
634
+ "description": "The alt for the custom button icon",
635
+ "type": "string",
636
+ "title": "iconAlt"
637
+ },
638
+ "iconType": {
639
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
640
+ "type": "string",
641
+ "title": "iconType"
642
+ },
643
+ "icon": {
644
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
645
+ "type": "string",
646
+ "title": "icon"
647
+ }
648
+ },
649
+ "required": [
650
+ "event",
651
+ "icon",
652
+ "iconAlt",
653
+ "iconType"
654
+ ]
655
+ },
656
+ "title": "customPlugins"
657
+ },
658
+ "blockquote": {
659
+ "title": "EditableHtmlButtonConfigure",
660
+ "type": "object",
661
+ "properties": {
662
+ "disabled": {
663
+ "description": "Indicates if the plugin is disabled or not",
664
+ "type": "boolean",
665
+ "title": "disabled"
666
+ }
667
+ }
668
+ },
669
+ "h3": {
670
+ "title": "EditableHtmlButtonConfigure",
671
+ "type": "object",
672
+ "properties": {
673
+ "disabled": {
674
+ "description": "Indicates if the plugin is disabled or not",
675
+ "type": "boolean",
676
+ "title": "disabled"
677
+ }
678
+ }
679
+ },
680
+ "characters": {
681
+ "title": "EditableHtmlButtonConfigure",
682
+ "type": "object",
683
+ "properties": {
684
+ "disabled": {
685
+ "description": "Indicates if the plugin is disabled or not",
686
+ "type": "boolean",
687
+ "title": "disabled"
688
+ }
689
+ }
690
+ },
691
+ "bold": {
692
+ "title": "EditableHtmlButtonConfigure",
693
+ "type": "object",
694
+ "properties": {
695
+ "disabled": {
696
+ "description": "Indicates if the plugin is disabled or not",
697
+ "type": "boolean",
698
+ "title": "disabled"
699
+ }
700
+ }
701
+ },
702
+ "html": {
703
+ "title": "EditableHtmlButtonConfigure",
704
+ "type": "object",
705
+ "properties": {
706
+ "disabled": {
707
+ "description": "Indicates if the plugin is disabled or not",
708
+ "type": "boolean",
709
+ "title": "disabled"
710
+ }
711
+ }
712
+ },
713
+ "italic": {
714
+ "title": "EditableHtmlButtonConfigure",
715
+ "type": "object",
716
+ "properties": {
717
+ "disabled": {
718
+ "description": "Indicates if the plugin is disabled or not",
719
+ "type": "boolean",
720
+ "title": "disabled"
721
+ }
722
+ }
723
+ },
724
+ "ol_list": {
725
+ "title": "EditableHtmlButtonConfigure",
726
+ "type": "object",
727
+ "properties": {
728
+ "disabled": {
729
+ "description": "Indicates if the plugin is disabled or not",
730
+ "type": "boolean",
731
+ "title": "disabled"
732
+ }
733
+ }
734
+ },
735
+ "redo": {
736
+ "title": "EditableHtmlButtonConfigure",
737
+ "type": "object",
738
+ "properties": {
739
+ "disabled": {
740
+ "description": "Indicates if the plugin is disabled or not",
741
+ "type": "boolean",
742
+ "title": "disabled"
743
+ }
744
+ }
745
+ },
746
+ "strikethrough": {
747
+ "title": "EditableHtmlButtonConfigure",
748
+ "type": "object",
749
+ "properties": {
750
+ "disabled": {
751
+ "description": "Indicates if the plugin is disabled or not",
752
+ "type": "boolean",
753
+ "title": "disabled"
754
+ }
755
+ }
756
+ },
757
+ "sub": {
758
+ "title": "EditableHtmlButtonConfigure",
759
+ "type": "object",
760
+ "properties": {
761
+ "disabled": {
762
+ "description": "Indicates if the plugin is disabled or not",
763
+ "type": "boolean",
764
+ "title": "disabled"
765
+ }
766
+ }
767
+ },
768
+ "sup": {
769
+ "title": "EditableHtmlButtonConfigure",
770
+ "type": "object",
771
+ "properties": {
772
+ "disabled": {
773
+ "description": "Indicates if the plugin is disabled or not",
774
+ "type": "boolean",
775
+ "title": "disabled"
776
+ }
777
+ }
778
+ },
779
+ "table": {
780
+ "title": "EditableHtmlButtonConfigure",
781
+ "type": "object",
782
+ "properties": {
783
+ "disabled": {
784
+ "description": "Indicates if the plugin is disabled or not",
785
+ "type": "boolean",
786
+ "title": "disabled"
787
+ }
788
+ }
789
+ },
790
+ "ul_list": {
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
+ "underline": {
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
+ "undo": {
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
+ "likertChoice": {
826
+ "title": "EditableHtmlPluginConfigure",
827
+ "type": "object",
828
+ "properties": {
829
+ "inputConfiguration": {
830
+ "title": "EditableHtmlConfigureProp",
831
+ "type": "object",
832
+ "properties": {
833
+ "math": {
834
+ "title": "EditableHtmlButtonConfigure",
835
+ "type": "object",
836
+ "properties": {
837
+ "disabled": {
838
+ "description": "Indicates if the plugin is disabled or not",
839
+ "type": "boolean",
840
+ "title": "disabled"
841
+ }
842
+ }
843
+ },
844
+ "audio": {
845
+ "title": "EditableHtmlButtonConfigure",
846
+ "type": "object",
847
+ "properties": {
848
+ "disabled": {
849
+ "description": "Indicates if the plugin is disabled or not",
850
+ "type": "boolean",
851
+ "title": "disabled"
852
+ }
853
+ }
854
+ },
855
+ "video": {
856
+ "title": "EditableHtmlButtonConfigure",
857
+ "type": "object",
858
+ "properties": {
859
+ "disabled": {
860
+ "description": "Indicates if the plugin is disabled or not",
861
+ "type": "boolean",
862
+ "title": "disabled"
863
+ }
864
+ }
865
+ },
866
+ "image": {
867
+ "title": "EditableHtmlButtonConfigure",
868
+ "type": "object",
869
+ "properties": {
870
+ "disabled": {
871
+ "description": "Indicates if the plugin is disabled or not",
872
+ "type": "boolean",
873
+ "title": "disabled"
874
+ }
875
+ }
876
+ },
877
+ "customPlugins": {
878
+ "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.",
879
+ "type": "array",
880
+ "items": {
881
+ "title": "CustomPlugin",
882
+ "type": "object",
883
+ "properties": {
884
+ "event": {
885
+ "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\"",
886
+ "type": "string",
887
+ "title": "event"
888
+ },
889
+ "iconAlt": {
890
+ "description": "The alt for the custom button icon",
891
+ "type": "string",
892
+ "title": "iconAlt"
893
+ },
894
+ "iconType": {
895
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
896
+ "type": "string",
897
+ "title": "iconType"
898
+ },
899
+ "icon": {
900
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
901
+ "type": "string",
902
+ "title": "icon"
903
+ }
904
+ },
905
+ "required": [
906
+ "event",
907
+ "icon",
908
+ "iconAlt",
909
+ "iconType"
910
+ ]
911
+ },
912
+ "title": "customPlugins"
913
+ },
914
+ "blockquote": {
915
+ "title": "EditableHtmlButtonConfigure",
916
+ "type": "object",
917
+ "properties": {
918
+ "disabled": {
919
+ "description": "Indicates if the plugin is disabled or not",
920
+ "type": "boolean",
921
+ "title": "disabled"
922
+ }
923
+ }
924
+ },
925
+ "h3": {
926
+ "title": "EditableHtmlButtonConfigure",
927
+ "type": "object",
928
+ "properties": {
929
+ "disabled": {
930
+ "description": "Indicates if the plugin is disabled or not",
931
+ "type": "boolean",
932
+ "title": "disabled"
933
+ }
934
+ }
935
+ },
936
+ "characters": {
937
+ "title": "EditableHtmlButtonConfigure",
938
+ "type": "object",
939
+ "properties": {
940
+ "disabled": {
941
+ "description": "Indicates if the plugin is disabled or not",
942
+ "type": "boolean",
943
+ "title": "disabled"
944
+ }
945
+ }
946
+ },
947
+ "bold": {
948
+ "title": "EditableHtmlButtonConfigure",
949
+ "type": "object",
950
+ "properties": {
951
+ "disabled": {
952
+ "description": "Indicates if the plugin is disabled or not",
953
+ "type": "boolean",
954
+ "title": "disabled"
955
+ }
956
+ }
957
+ },
958
+ "html": {
959
+ "title": "EditableHtmlButtonConfigure",
960
+ "type": "object",
961
+ "properties": {
962
+ "disabled": {
963
+ "description": "Indicates if the plugin is disabled or not",
964
+ "type": "boolean",
965
+ "title": "disabled"
966
+ }
967
+ }
968
+ },
969
+ "italic": {
970
+ "title": "EditableHtmlButtonConfigure",
971
+ "type": "object",
972
+ "properties": {
973
+ "disabled": {
974
+ "description": "Indicates if the plugin is disabled or not",
975
+ "type": "boolean",
976
+ "title": "disabled"
977
+ }
978
+ }
979
+ },
980
+ "ol_list": {
981
+ "title": "EditableHtmlButtonConfigure",
982
+ "type": "object",
983
+ "properties": {
984
+ "disabled": {
985
+ "description": "Indicates if the plugin is disabled or not",
986
+ "type": "boolean",
987
+ "title": "disabled"
988
+ }
989
+ }
990
+ },
991
+ "redo": {
992
+ "title": "EditableHtmlButtonConfigure",
993
+ "type": "object",
994
+ "properties": {
995
+ "disabled": {
996
+ "description": "Indicates if the plugin is disabled or not",
997
+ "type": "boolean",
998
+ "title": "disabled"
999
+ }
1000
+ }
1001
+ },
1002
+ "strikethrough": {
1003
+ "title": "EditableHtmlButtonConfigure",
1004
+ "type": "object",
1005
+ "properties": {
1006
+ "disabled": {
1007
+ "description": "Indicates if the plugin is disabled or not",
1008
+ "type": "boolean",
1009
+ "title": "disabled"
1010
+ }
1011
+ }
1012
+ },
1013
+ "sub": {
1014
+ "title": "EditableHtmlButtonConfigure",
1015
+ "type": "object",
1016
+ "properties": {
1017
+ "disabled": {
1018
+ "description": "Indicates if the plugin is disabled or not",
1019
+ "type": "boolean",
1020
+ "title": "disabled"
1021
+ }
1022
+ }
1023
+ },
1024
+ "sup": {
1025
+ "title": "EditableHtmlButtonConfigure",
1026
+ "type": "object",
1027
+ "properties": {
1028
+ "disabled": {
1029
+ "description": "Indicates if the plugin is disabled or not",
1030
+ "type": "boolean",
1031
+ "title": "disabled"
1032
+ }
1033
+ }
1034
+ },
1035
+ "table": {
1036
+ "title": "EditableHtmlButtonConfigure",
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "disabled": {
1040
+ "description": "Indicates if the plugin is disabled or not",
1041
+ "type": "boolean",
1042
+ "title": "disabled"
1043
+ }
1044
+ }
1045
+ },
1046
+ "ul_list": {
1047
+ "title": "EditableHtmlButtonConfigure",
1048
+ "type": "object",
1049
+ "properties": {
1050
+ "disabled": {
1051
+ "description": "Indicates if the plugin is disabled or not",
1052
+ "type": "boolean",
1053
+ "title": "disabled"
1054
+ }
1055
+ }
1056
+ },
1057
+ "underline": {
1058
+ "title": "EditableHtmlButtonConfigure",
1059
+ "type": "object",
1060
+ "properties": {
1061
+ "disabled": {
1062
+ "description": "Indicates if the plugin is disabled or not",
1063
+ "type": "boolean",
1064
+ "title": "disabled"
1065
+ }
1066
+ }
1067
+ },
1068
+ "undo": {
1069
+ "title": "EditableHtmlButtonConfigure",
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "disabled": {
1073
+ "description": "Indicates if the plugin is disabled or not",
1074
+ "type": "boolean",
1075
+ "title": "disabled"
1076
+ }
1077
+ }
1078
+ }
1079
+ }
1080
+ },
1081
+ "settings": {
1082
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1083
+ "type": "boolean",
1084
+ "title": "settings"
1085
+ },
1086
+ "label": {
1087
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1088
+ "type": "string",
1089
+ "title": "label"
1090
+ }
1091
+ }
1092
+ },
1093
+ "showPrompt": {
1094
+ "description": "Determines whether prompt field will be displayed or not",
1095
+ "default": true,
1096
+ "type": "boolean",
1097
+ "title": "showPrompt"
1098
+ },
1099
+ "promptLabel": {
1100
+ "description": "The label for the item stem/prompt field",
1101
+ "default": "Item Stemm",
1102
+ "type": "string",
1103
+ "title": "promptLabel"
1104
+ },
1105
+ "contentDimensions": {
1106
+ "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",
1107
+ "default": ": {}",
1108
+ "type": "object",
1109
+ "properties": {
1110
+ "maxHeight": {
1111
+ "description": "Indicates the max height of the authoring container",
1112
+ "default": "undefined",
1113
+ "type": [
1114
+ "string",
1115
+ "number"
1116
+ ],
1117
+ "title": "maxHeight"
1118
+ },
1119
+ "maxWidth": {
1120
+ "description": "Indicates the max width of the authoring container",
1121
+ "default": "undefined",
1122
+ "type": [
1123
+ "string",
1124
+ "number"
1125
+ ],
1126
+ "title": "maxWidth"
1127
+ },
1128
+ "minHeight": {
1129
+ "description": "Indicates the min height of the authoring container",
1130
+ "default": "undefined",
1131
+ "type": [
1132
+ "string",
1133
+ "number"
1134
+ ],
1135
+ "title": "minHeight"
1136
+ },
1137
+ "minWidth": {
1138
+ "description": "Indicates the min width of the authoring container",
1139
+ "default": "undefined",
1140
+ "type": [
1141
+ "string",
1142
+ "number"
1143
+ ],
1144
+ "title": "minWidth"
1145
+ }
1146
+ },
1147
+ "title": "contentDimensions"
1148
+ },
1149
+ "settingsPartialScoring": {
1150
+ "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1151
+ "default": true,
1152
+ "type": "boolean",
1153
+ "title": "settingsPartialScoring"
1154
+ }
1155
+ },
1156
+ "definitions": {
1157
+ "ConfigureProp": {
1158
+ "title": "ConfigureProp",
1159
+ "type": "object",
1160
+ "properties": {
1161
+ "settings": {
1162
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1163
+ "type": "boolean",
1164
+ "title": "settings"
1165
+ },
1166
+ "label": {
1167
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1168
+ "type": "string",
1169
+ "title": "label"
1170
+ }
1171
+ }
1172
+ },
1173
+ "EditableHtmlPluginConfigureRequired": {
1174
+ "title": "EditableHtmlPluginConfigureRequired",
1175
+ "type": "object",
1176
+ "properties": {
1177
+ "inputConfiguration": {
1178
+ "title": "EditableHtmlConfigureProp",
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "math": {
1182
+ "title": "EditableHtmlButtonConfigure",
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "disabled": {
1186
+ "description": "Indicates if the plugin is disabled or not",
1187
+ "type": "boolean",
1188
+ "title": "disabled"
1189
+ }
1190
+ }
1191
+ },
1192
+ "audio": {
1193
+ "title": "EditableHtmlButtonConfigure",
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "disabled": {
1197
+ "description": "Indicates if the plugin is disabled or not",
1198
+ "type": "boolean",
1199
+ "title": "disabled"
1200
+ }
1201
+ }
1202
+ },
1203
+ "video": {
1204
+ "title": "EditableHtmlButtonConfigure",
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "disabled": {
1208
+ "description": "Indicates if the plugin is disabled or not",
1209
+ "type": "boolean",
1210
+ "title": "disabled"
1211
+ }
1212
+ }
1213
+ },
1214
+ "image": {
1215
+ "title": "EditableHtmlButtonConfigure",
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "disabled": {
1219
+ "description": "Indicates if the plugin is disabled or not",
1220
+ "type": "boolean",
1221
+ "title": "disabled"
1222
+ }
1223
+ }
1224
+ },
1225
+ "customPlugins": {
1226
+ "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.",
1227
+ "type": "array",
1228
+ "items": {
1229
+ "title": "CustomPlugin",
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "event": {
1233
+ "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\"",
1234
+ "type": "string",
1235
+ "title": "event"
1236
+ },
1237
+ "iconAlt": {
1238
+ "description": "The alt for the custom button icon",
1239
+ "type": "string",
1240
+ "title": "iconAlt"
1241
+ },
1242
+ "iconType": {
1243
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1244
+ "type": "string",
1245
+ "title": "iconType"
1246
+ },
1247
+ "icon": {
1248
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1249
+ "type": "string",
1250
+ "title": "icon"
1251
+ }
1252
+ },
1253
+ "required": [
1254
+ "event",
1255
+ "icon",
1256
+ "iconAlt",
1257
+ "iconType"
1258
+ ]
1259
+ },
1260
+ "title": "customPlugins"
1261
+ },
1262
+ "blockquote": {
1263
+ "title": "EditableHtmlButtonConfigure",
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "disabled": {
1267
+ "description": "Indicates if the plugin is disabled or not",
1268
+ "type": "boolean",
1269
+ "title": "disabled"
1270
+ }
1271
+ }
1272
+ },
1273
+ "h3": {
1274
+ "title": "EditableHtmlButtonConfigure",
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "disabled": {
1278
+ "description": "Indicates if the plugin is disabled or not",
1279
+ "type": "boolean",
1280
+ "title": "disabled"
1281
+ }
1282
+ }
1283
+ },
1284
+ "characters": {
1285
+ "title": "EditableHtmlButtonConfigure",
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "disabled": {
1289
+ "description": "Indicates if the plugin is disabled or not",
1290
+ "type": "boolean",
1291
+ "title": "disabled"
1292
+ }
1293
+ }
1294
+ },
1295
+ "bold": {
1296
+ "title": "EditableHtmlButtonConfigure",
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "disabled": {
1300
+ "description": "Indicates if the plugin is disabled or not",
1301
+ "type": "boolean",
1302
+ "title": "disabled"
1303
+ }
1304
+ }
1305
+ },
1306
+ "html": {
1307
+ "title": "EditableHtmlButtonConfigure",
1308
+ "type": "object",
1309
+ "properties": {
1310
+ "disabled": {
1311
+ "description": "Indicates if the plugin is disabled or not",
1312
+ "type": "boolean",
1313
+ "title": "disabled"
1314
+ }
1315
+ }
1316
+ },
1317
+ "italic": {
1318
+ "title": "EditableHtmlButtonConfigure",
1319
+ "type": "object",
1320
+ "properties": {
1321
+ "disabled": {
1322
+ "description": "Indicates if the plugin is disabled or not",
1323
+ "type": "boolean",
1324
+ "title": "disabled"
1325
+ }
1326
+ }
1327
+ },
1328
+ "ol_list": {
1329
+ "title": "EditableHtmlButtonConfigure",
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "disabled": {
1333
+ "description": "Indicates if the plugin is disabled or not",
1334
+ "type": "boolean",
1335
+ "title": "disabled"
1336
+ }
1337
+ }
1338
+ },
1339
+ "redo": {
1340
+ "title": "EditableHtmlButtonConfigure",
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "disabled": {
1344
+ "description": "Indicates if the plugin is disabled or not",
1345
+ "type": "boolean",
1346
+ "title": "disabled"
1347
+ }
1348
+ }
1349
+ },
1350
+ "strikethrough": {
1351
+ "title": "EditableHtmlButtonConfigure",
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "disabled": {
1355
+ "description": "Indicates if the plugin is disabled or not",
1356
+ "type": "boolean",
1357
+ "title": "disabled"
1358
+ }
1359
+ }
1360
+ },
1361
+ "sub": {
1362
+ "title": "EditableHtmlButtonConfigure",
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "disabled": {
1366
+ "description": "Indicates if the plugin is disabled or not",
1367
+ "type": "boolean",
1368
+ "title": "disabled"
1369
+ }
1370
+ }
1371
+ },
1372
+ "sup": {
1373
+ "title": "EditableHtmlButtonConfigure",
1374
+ "type": "object",
1375
+ "properties": {
1376
+ "disabled": {
1377
+ "description": "Indicates if the plugin is disabled or not",
1378
+ "type": "boolean",
1379
+ "title": "disabled"
1380
+ }
1381
+ }
1382
+ },
1383
+ "table": {
1384
+ "title": "EditableHtmlButtonConfigure",
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "disabled": {
1388
+ "description": "Indicates if the plugin is disabled or not",
1389
+ "type": "boolean",
1390
+ "title": "disabled"
1391
+ }
1392
+ }
1393
+ },
1394
+ "ul_list": {
1395
+ "title": "EditableHtmlButtonConfigure",
1396
+ "type": "object",
1397
+ "properties": {
1398
+ "disabled": {
1399
+ "description": "Indicates if the plugin is disabled or not",
1400
+ "type": "boolean",
1401
+ "title": "disabled"
1402
+ }
1403
+ }
1404
+ },
1405
+ "underline": {
1406
+ "title": "EditableHtmlButtonConfigure",
1407
+ "type": "object",
1408
+ "properties": {
1409
+ "disabled": {
1410
+ "description": "Indicates if the plugin is disabled or not",
1411
+ "type": "boolean",
1412
+ "title": "disabled"
1413
+ }
1414
+ }
1415
+ },
1416
+ "undo": {
1417
+ "title": "EditableHtmlButtonConfigure",
1418
+ "type": "object",
1419
+ "properties": {
1420
+ "disabled": {
1421
+ "description": "Indicates if the plugin is disabled or not",
1422
+ "type": "boolean",
1423
+ "title": "disabled"
1424
+ }
1425
+ }
1426
+ }
1427
+ }
1428
+ },
1429
+ "required": {
1430
+ "description": "Indicates if the item is required and the value cannot be empty",
1431
+ "type": "boolean",
1432
+ "title": "required"
1433
+ },
1434
+ "settings": {
1435
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1436
+ "type": "boolean",
1437
+ "title": "settings"
1438
+ },
1439
+ "label": {
1440
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1441
+ "type": "string",
1442
+ "title": "label"
1443
+ }
1444
+ }
1445
+ },
1446
+ "EditableHtmlConfigureProp": {
1447
+ "title": "EditableHtmlConfigureProp",
1448
+ "type": "object",
1449
+ "properties": {
1450
+ "math": {
1451
+ "title": "EditableHtmlButtonConfigure",
1452
+ "type": "object",
1453
+ "properties": {
1454
+ "disabled": {
1455
+ "description": "Indicates if the plugin is disabled or not",
1456
+ "type": "boolean",
1457
+ "title": "disabled"
1458
+ }
1459
+ }
1460
+ },
1461
+ "audio": {
1462
+ "title": "EditableHtmlButtonConfigure",
1463
+ "type": "object",
1464
+ "properties": {
1465
+ "disabled": {
1466
+ "description": "Indicates if the plugin is disabled or not",
1467
+ "type": "boolean",
1468
+ "title": "disabled"
1469
+ }
1470
+ }
1471
+ },
1472
+ "video": {
1473
+ "title": "EditableHtmlButtonConfigure",
1474
+ "type": "object",
1475
+ "properties": {
1476
+ "disabled": {
1477
+ "description": "Indicates if the plugin is disabled or not",
1478
+ "type": "boolean",
1479
+ "title": "disabled"
1480
+ }
1481
+ }
1482
+ },
1483
+ "image": {
1484
+ "title": "EditableHtmlButtonConfigure",
1485
+ "type": "object",
1486
+ "properties": {
1487
+ "disabled": {
1488
+ "description": "Indicates if the plugin is disabled or not",
1489
+ "type": "boolean",
1490
+ "title": "disabled"
1491
+ }
1492
+ }
1493
+ },
1494
+ "customPlugins": {
1495
+ "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.",
1496
+ "type": "array",
1497
+ "items": {
1498
+ "title": "CustomPlugin",
1499
+ "type": "object",
1500
+ "properties": {
1501
+ "event": {
1502
+ "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\"",
1503
+ "type": "string",
1504
+ "title": "event"
1505
+ },
1506
+ "iconAlt": {
1507
+ "description": "The alt for the custom button icon",
1508
+ "type": "string",
1509
+ "title": "iconAlt"
1510
+ },
1511
+ "iconType": {
1512
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1513
+ "type": "string",
1514
+ "title": "iconType"
1515
+ },
1516
+ "icon": {
1517
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1518
+ "type": "string",
1519
+ "title": "icon"
1520
+ }
1521
+ },
1522
+ "required": [
1523
+ "event",
1524
+ "icon",
1525
+ "iconAlt",
1526
+ "iconType"
1527
+ ]
1528
+ },
1529
+ "title": "customPlugins"
1530
+ },
1531
+ "blockquote": {
1532
+ "title": "EditableHtmlButtonConfigure",
1533
+ "type": "object",
1534
+ "properties": {
1535
+ "disabled": {
1536
+ "description": "Indicates if the plugin is disabled or not",
1537
+ "type": "boolean",
1538
+ "title": "disabled"
1539
+ }
1540
+ }
1541
+ },
1542
+ "h3": {
1543
+ "title": "EditableHtmlButtonConfigure",
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "disabled": {
1547
+ "description": "Indicates if the plugin is disabled or not",
1548
+ "type": "boolean",
1549
+ "title": "disabled"
1550
+ }
1551
+ }
1552
+ },
1553
+ "characters": {
1554
+ "title": "EditableHtmlButtonConfigure",
1555
+ "type": "object",
1556
+ "properties": {
1557
+ "disabled": {
1558
+ "description": "Indicates if the plugin is disabled or not",
1559
+ "type": "boolean",
1560
+ "title": "disabled"
1561
+ }
1562
+ }
1563
+ },
1564
+ "bold": {
1565
+ "title": "EditableHtmlButtonConfigure",
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "disabled": {
1569
+ "description": "Indicates if the plugin is disabled or not",
1570
+ "type": "boolean",
1571
+ "title": "disabled"
1572
+ }
1573
+ }
1574
+ },
1575
+ "html": {
1576
+ "title": "EditableHtmlButtonConfigure",
1577
+ "type": "object",
1578
+ "properties": {
1579
+ "disabled": {
1580
+ "description": "Indicates if the plugin is disabled or not",
1581
+ "type": "boolean",
1582
+ "title": "disabled"
1583
+ }
1584
+ }
1585
+ },
1586
+ "italic": {
1587
+ "title": "EditableHtmlButtonConfigure",
1588
+ "type": "object",
1589
+ "properties": {
1590
+ "disabled": {
1591
+ "description": "Indicates if the plugin is disabled or not",
1592
+ "type": "boolean",
1593
+ "title": "disabled"
1594
+ }
1595
+ }
1596
+ },
1597
+ "ol_list": {
1598
+ "title": "EditableHtmlButtonConfigure",
1599
+ "type": "object",
1600
+ "properties": {
1601
+ "disabled": {
1602
+ "description": "Indicates if the plugin is disabled or not",
1603
+ "type": "boolean",
1604
+ "title": "disabled"
1605
+ }
1606
+ }
1607
+ },
1608
+ "redo": {
1609
+ "title": "EditableHtmlButtonConfigure",
1610
+ "type": "object",
1611
+ "properties": {
1612
+ "disabled": {
1613
+ "description": "Indicates if the plugin is disabled or not",
1614
+ "type": "boolean",
1615
+ "title": "disabled"
1616
+ }
1617
+ }
1618
+ },
1619
+ "strikethrough": {
1620
+ "title": "EditableHtmlButtonConfigure",
1621
+ "type": "object",
1622
+ "properties": {
1623
+ "disabled": {
1624
+ "description": "Indicates if the plugin is disabled or not",
1625
+ "type": "boolean",
1626
+ "title": "disabled"
1627
+ }
1628
+ }
1629
+ },
1630
+ "sub": {
1631
+ "title": "EditableHtmlButtonConfigure",
1632
+ "type": "object",
1633
+ "properties": {
1634
+ "disabled": {
1635
+ "description": "Indicates if the plugin is disabled or not",
1636
+ "type": "boolean",
1637
+ "title": "disabled"
1638
+ }
1639
+ }
1640
+ },
1641
+ "sup": {
1642
+ "title": "EditableHtmlButtonConfigure",
1643
+ "type": "object",
1644
+ "properties": {
1645
+ "disabled": {
1646
+ "description": "Indicates if the plugin is disabled or not",
1647
+ "type": "boolean",
1648
+ "title": "disabled"
1649
+ }
1650
+ }
1651
+ },
1652
+ "table": {
1653
+ "title": "EditableHtmlButtonConfigure",
1654
+ "type": "object",
1655
+ "properties": {
1656
+ "disabled": {
1657
+ "description": "Indicates if the plugin is disabled or not",
1658
+ "type": "boolean",
1659
+ "title": "disabled"
1660
+ }
1661
+ }
1662
+ },
1663
+ "ul_list": {
1664
+ "title": "EditableHtmlButtonConfigure",
1665
+ "type": "object",
1666
+ "properties": {
1667
+ "disabled": {
1668
+ "description": "Indicates if the plugin is disabled or not",
1669
+ "type": "boolean",
1670
+ "title": "disabled"
1671
+ }
1672
+ }
1673
+ },
1674
+ "underline": {
1675
+ "title": "EditableHtmlButtonConfigure",
1676
+ "type": "object",
1677
+ "properties": {
1678
+ "disabled": {
1679
+ "description": "Indicates if the plugin is disabled or not",
1680
+ "type": "boolean",
1681
+ "title": "disabled"
1682
+ }
1683
+ }
1684
+ },
1685
+ "undo": {
1686
+ "title": "EditableHtmlButtonConfigure",
1687
+ "type": "object",
1688
+ "properties": {
1689
+ "disabled": {
1690
+ "description": "Indicates if the plugin is disabled or not",
1691
+ "type": "boolean",
1692
+ "title": "disabled"
1693
+ }
1694
+ }
1695
+ }
1696
+ }
1697
+ },
1698
+ "EditableHtmlButtonConfigure": {
1699
+ "title": "EditableHtmlButtonConfigure",
1700
+ "type": "object",
1701
+ "properties": {
1702
+ "disabled": {
1703
+ "description": "Indicates if the plugin is disabled or not",
1704
+ "type": "boolean",
1705
+ "title": "disabled"
1706
+ }
1707
+ }
1708
+ },
1709
+ "CustomPlugin": {
1710
+ "title": "CustomPlugin",
1711
+ "type": "object",
1712
+ "properties": {
1713
+ "event": {
1714
+ "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\"",
1715
+ "type": "string",
1716
+ "title": "event"
1717
+ },
1718
+ "iconAlt": {
1719
+ "description": "The alt for the custom button icon",
1720
+ "type": "string",
1721
+ "title": "iconAlt"
1722
+ },
1723
+ "iconType": {
1724
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1725
+ "type": "string",
1726
+ "title": "iconType"
1727
+ },
1728
+ "icon": {
1729
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1730
+ "type": "string",
1731
+ "title": "icon"
1732
+ }
1733
+ },
1734
+ "required": [
1735
+ "event",
1736
+ "icon",
1737
+ "iconAlt",
1738
+ "iconType"
1739
+ ]
1740
+ },
1741
+ "EditableHtmlPluginConfigure": {
1742
+ "title": "EditableHtmlPluginConfigure",
1743
+ "type": "object",
1744
+ "properties": {
1745
+ "inputConfiguration": {
1746
+ "title": "EditableHtmlConfigureProp",
1747
+ "type": "object",
1748
+ "properties": {
1749
+ "math": {
1750
+ "title": "EditableHtmlButtonConfigure",
1751
+ "type": "object",
1752
+ "properties": {
1753
+ "disabled": {
1754
+ "description": "Indicates if the plugin is disabled or not",
1755
+ "type": "boolean",
1756
+ "title": "disabled"
1757
+ }
1758
+ }
1759
+ },
1760
+ "audio": {
1761
+ "title": "EditableHtmlButtonConfigure",
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "disabled": {
1765
+ "description": "Indicates if the plugin is disabled or not",
1766
+ "type": "boolean",
1767
+ "title": "disabled"
1768
+ }
1769
+ }
1770
+ },
1771
+ "video": {
1772
+ "title": "EditableHtmlButtonConfigure",
1773
+ "type": "object",
1774
+ "properties": {
1775
+ "disabled": {
1776
+ "description": "Indicates if the plugin is disabled or not",
1777
+ "type": "boolean",
1778
+ "title": "disabled"
1779
+ }
1780
+ }
1781
+ },
1782
+ "image": {
1783
+ "title": "EditableHtmlButtonConfigure",
1784
+ "type": "object",
1785
+ "properties": {
1786
+ "disabled": {
1787
+ "description": "Indicates if the plugin is disabled or not",
1788
+ "type": "boolean",
1789
+ "title": "disabled"
1790
+ }
1791
+ }
1792
+ },
1793
+ "customPlugins": {
1794
+ "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.",
1795
+ "type": "array",
1796
+ "items": {
1797
+ "title": "CustomPlugin",
1798
+ "type": "object",
1799
+ "properties": {
1800
+ "event": {
1801
+ "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\"",
1802
+ "type": "string",
1803
+ "title": "event"
1804
+ },
1805
+ "iconAlt": {
1806
+ "description": "The alt for the custom button icon",
1807
+ "type": "string",
1808
+ "title": "iconAlt"
1809
+ },
1810
+ "iconType": {
1811
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1812
+ "type": "string",
1813
+ "title": "iconType"
1814
+ },
1815
+ "icon": {
1816
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1817
+ "type": "string",
1818
+ "title": "icon"
1819
+ }
1820
+ },
1821
+ "required": [
1822
+ "event",
1823
+ "icon",
1824
+ "iconAlt",
1825
+ "iconType"
1826
+ ]
1827
+ },
1828
+ "title": "customPlugins"
1829
+ },
1830
+ "blockquote": {
1831
+ "title": "EditableHtmlButtonConfigure",
1832
+ "type": "object",
1833
+ "properties": {
1834
+ "disabled": {
1835
+ "description": "Indicates if the plugin is disabled or not",
1836
+ "type": "boolean",
1837
+ "title": "disabled"
1838
+ }
1839
+ }
1840
+ },
1841
+ "h3": {
1842
+ "title": "EditableHtmlButtonConfigure",
1843
+ "type": "object",
1844
+ "properties": {
1845
+ "disabled": {
1846
+ "description": "Indicates if the plugin is disabled or not",
1847
+ "type": "boolean",
1848
+ "title": "disabled"
1849
+ }
1850
+ }
1851
+ },
1852
+ "characters": {
1853
+ "title": "EditableHtmlButtonConfigure",
1854
+ "type": "object",
1855
+ "properties": {
1856
+ "disabled": {
1857
+ "description": "Indicates if the plugin is disabled or not",
1858
+ "type": "boolean",
1859
+ "title": "disabled"
1860
+ }
1861
+ }
1862
+ },
1863
+ "bold": {
1864
+ "title": "EditableHtmlButtonConfigure",
1865
+ "type": "object",
1866
+ "properties": {
1867
+ "disabled": {
1868
+ "description": "Indicates if the plugin is disabled or not",
1869
+ "type": "boolean",
1870
+ "title": "disabled"
1871
+ }
1872
+ }
1873
+ },
1874
+ "html": {
1875
+ "title": "EditableHtmlButtonConfigure",
1876
+ "type": "object",
1877
+ "properties": {
1878
+ "disabled": {
1879
+ "description": "Indicates if the plugin is disabled or not",
1880
+ "type": "boolean",
1881
+ "title": "disabled"
1882
+ }
1883
+ }
1884
+ },
1885
+ "italic": {
1886
+ "title": "EditableHtmlButtonConfigure",
1887
+ "type": "object",
1888
+ "properties": {
1889
+ "disabled": {
1890
+ "description": "Indicates if the plugin is disabled or not",
1891
+ "type": "boolean",
1892
+ "title": "disabled"
1893
+ }
1894
+ }
1895
+ },
1896
+ "ol_list": {
1897
+ "title": "EditableHtmlButtonConfigure",
1898
+ "type": "object",
1899
+ "properties": {
1900
+ "disabled": {
1901
+ "description": "Indicates if the plugin is disabled or not",
1902
+ "type": "boolean",
1903
+ "title": "disabled"
1904
+ }
1905
+ }
1906
+ },
1907
+ "redo": {
1908
+ "title": "EditableHtmlButtonConfigure",
1909
+ "type": "object",
1910
+ "properties": {
1911
+ "disabled": {
1912
+ "description": "Indicates if the plugin is disabled or not",
1913
+ "type": "boolean",
1914
+ "title": "disabled"
1915
+ }
1916
+ }
1917
+ },
1918
+ "strikethrough": {
1919
+ "title": "EditableHtmlButtonConfigure",
1920
+ "type": "object",
1921
+ "properties": {
1922
+ "disabled": {
1923
+ "description": "Indicates if the plugin is disabled or not",
1924
+ "type": "boolean",
1925
+ "title": "disabled"
1926
+ }
1927
+ }
1928
+ },
1929
+ "sub": {
1930
+ "title": "EditableHtmlButtonConfigure",
1931
+ "type": "object",
1932
+ "properties": {
1933
+ "disabled": {
1934
+ "description": "Indicates if the plugin is disabled or not",
1935
+ "type": "boolean",
1936
+ "title": "disabled"
1937
+ }
1938
+ }
1939
+ },
1940
+ "sup": {
1941
+ "title": "EditableHtmlButtonConfigure",
1942
+ "type": "object",
1943
+ "properties": {
1944
+ "disabled": {
1945
+ "description": "Indicates if the plugin is disabled or not",
1946
+ "type": "boolean",
1947
+ "title": "disabled"
1948
+ }
1949
+ }
1950
+ },
1951
+ "table": {
1952
+ "title": "EditableHtmlButtonConfigure",
1953
+ "type": "object",
1954
+ "properties": {
1955
+ "disabled": {
1956
+ "description": "Indicates if the plugin is disabled or not",
1957
+ "type": "boolean",
1958
+ "title": "disabled"
1959
+ }
1960
+ }
1961
+ },
1962
+ "ul_list": {
1963
+ "title": "EditableHtmlButtonConfigure",
1964
+ "type": "object",
1965
+ "properties": {
1966
+ "disabled": {
1967
+ "description": "Indicates if the plugin is disabled or not",
1968
+ "type": "boolean",
1969
+ "title": "disabled"
1970
+ }
1971
+ }
1972
+ },
1973
+ "underline": {
1974
+ "title": "EditableHtmlButtonConfigure",
1975
+ "type": "object",
1976
+ "properties": {
1977
+ "disabled": {
1978
+ "description": "Indicates if the plugin is disabled or not",
1979
+ "type": "boolean",
1980
+ "title": "disabled"
1981
+ }
1982
+ }
1983
+ },
1984
+ "undo": {
1985
+ "title": "EditableHtmlButtonConfigure",
1986
+ "type": "object",
1987
+ "properties": {
1988
+ "disabled": {
1989
+ "description": "Indicates if the plugin is disabled or not",
1990
+ "type": "boolean",
1991
+ "title": "disabled"
1992
+ }
1993
+ }
1994
+ }
1995
+ }
1996
+ },
1997
+ "settings": {
1998
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1999
+ "type": "boolean",
2000
+ "title": "settings"
2001
+ },
2002
+ "label": {
2003
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2004
+ "type": "string",
2005
+ "title": "label"
2006
+ }
2007
+ }
2008
+ }
2009
+ },
2010
+ "$schema": "http://json-schema.org/draft-07/schema#"
2011
+ }