@pie-element/matrix 4.1.2-next.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/CHANGELOG.md +1415 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +59 -0
  5. package/configure/CHANGELOG.json +1 -0
  6. package/configure/CHANGELOG.md +1341 -0
  7. package/configure/lib/HeaderCommon.js +28 -0
  8. package/configure/lib/HeaderCommon.js.map +1 -0
  9. package/configure/lib/Main.js +179 -0
  10. package/configure/lib/Main.js.map +1 -0
  11. package/configure/lib/MatrixColumnsSizeHeaderInput.js +56 -0
  12. package/configure/lib/MatrixColumnsSizeHeaderInput.js.map +1 -0
  13. package/configure/lib/MatrixLabelEditableButton.js +224 -0
  14. package/configure/lib/MatrixLabelEditableButton.js.map +1 -0
  15. package/configure/lib/MatrixLabelTypeHeaderInput.js +98 -0
  16. package/configure/lib/MatrixLabelTypeHeaderInput.js.map +1 -0
  17. package/configure/lib/MatrixRowsSizeHeaderInput.js +56 -0
  18. package/configure/lib/MatrixRowsSizeHeaderInput.js.map +1 -0
  19. package/configure/lib/MatrixValues.js +217 -0
  20. package/configure/lib/MatrixValues.js.map +1 -0
  21. package/configure/lib/NumberInput.js +77 -0
  22. package/configure/lib/NumberInput.js.map +1 -0
  23. package/configure/lib/columnLabelsGenerator.js +49 -0
  24. package/configure/lib/columnLabelsGenerator.js.map +1 -0
  25. package/configure/lib/defaults.js +86 -0
  26. package/configure/lib/defaults.js.map +1 -0
  27. package/configure/lib/index.js +98 -0
  28. package/configure/lib/index.js.map +1 -0
  29. package/configure/lib/isNumeric.js +11 -0
  30. package/configure/lib/isNumeric.js.map +1 -0
  31. package/configure/lib/matrixEntities.js +16 -0
  32. package/configure/lib/matrixEntities.js.map +1 -0
  33. package/configure/package.json +28 -0
  34. package/controller/CHANGELOG.json +1 -0
  35. package/controller/CHANGELOG.md +88 -0
  36. package/controller/lib/defaults.js +17 -0
  37. package/controller/lib/defaults.js.map +1 -0
  38. package/controller/lib/index.js +96 -0
  39. package/controller/lib/index.js.map +1 -0
  40. package/controller/package.json +17 -0
  41. package/docs/config-schema.json +1475 -0
  42. package/docs/config-schema.json.md +1093 -0
  43. package/docs/demo/config.js +8 -0
  44. package/docs/demo/generate.js +9 -0
  45. package/docs/demo/index.html +1 -0
  46. package/docs/demo/session.js +6 -0
  47. package/docs/pie-schema.json +1 -0
  48. package/docs/pie-schema.json.md +1 -0
  49. package/lib/ChoiceInput.js +59 -0
  50. package/lib/ChoiceInput.js.map +1 -0
  51. package/lib/Main.js +42 -0
  52. package/lib/Main.js.map +1 -0
  53. package/lib/Matrix.js +104 -0
  54. package/lib/Matrix.js.map +1 -0
  55. package/lib/index.js +80 -0
  56. package/lib/index.js.map +1 -0
  57. package/lib/session-updater.js +10 -0
  58. package/lib/session-updater.js.map +1 -0
  59. package/package.json +19 -84
  60. package/configure.js +0 -2
  61. package/controller.js +0 -1
  62. package/dist/author/HeaderCommon.d.ts +0 -12
  63. package/dist/author/HeaderCommon.js +0 -20
  64. package/dist/author/Main.d.ts +0 -27
  65. package/dist/author/Main.js +0 -134
  66. package/dist/author/MatrixColumnsSizeHeaderInput.d.ts +0 -21
  67. package/dist/author/MatrixColumnsSizeHeaderInput.js +0 -39
  68. package/dist/author/MatrixLabelEditableButton.d.ts +0 -27
  69. package/dist/author/MatrixLabelEditableButton.js +0 -191
  70. package/dist/author/MatrixLabelTypeHeaderInput.d.ts +0 -21
  71. package/dist/author/MatrixLabelTypeHeaderInput.js +0 -96
  72. package/dist/author/MatrixRowsSizeHeaderInput.d.ts +0 -21
  73. package/dist/author/MatrixRowsSizeHeaderInput.js +0 -39
  74. package/dist/author/MatrixValues.d.ts +0 -29
  75. package/dist/author/MatrixValues.js +0 -156
  76. package/dist/author/NumberInput.d.ts +0 -20
  77. package/dist/author/NumberInput.js +0 -61
  78. package/dist/author/columnLabelsGenerator.d.ts +0 -11
  79. package/dist/author/columnLabelsGenerator.js +0 -101
  80. package/dist/author/defaults.d.ts +0 -88
  81. package/dist/author/defaults.js +0 -56
  82. package/dist/author/index.d.ts +0 -31
  83. package/dist/author/index.js +0 -66
  84. package/dist/author/isNumeric.d.ts +0 -10
  85. package/dist/author/isNumeric.js +0 -4
  86. package/dist/author/matrixEntities.d.ts +0 -17
  87. package/dist/author/matrixEntities.js +0 -12
  88. package/dist/browser/Radio-DJhIYuTn.js +0 -10138
  89. package/dist/browser/Radio-DJhIYuTn.js.map +0 -1
  90. package/dist/browser/author/index.js +0 -39771
  91. package/dist/browser/author/index.js.map +0 -1
  92. package/dist/browser/controller/index.js +0 -60
  93. package/dist/browser/controller/index.js.map +0 -1
  94. package/dist/browser/delivery/index.js +0 -205
  95. package/dist/browser/delivery/index.js.map +0 -1
  96. package/dist/browser/dist-DHz-aOnW.js +0 -92
  97. package/dist/browser/dist-DHz-aOnW.js.map +0 -1
  98. package/dist/browser/matrix.css +0 -2
  99. package/dist/controller/defaults.d.ts +0 -19
  100. package/dist/controller/defaults.js +0 -17
  101. package/dist/controller/index.d.ts +0 -19
  102. package/dist/controller/index.js +0 -46
  103. package/dist/delivery/ChoiceInput.d.ts +0 -25
  104. package/dist/delivery/ChoiceInput.js +0 -36
  105. package/dist/delivery/Main.d.ts +0 -23
  106. package/dist/delivery/Main.js +0 -37
  107. package/dist/delivery/Matrix.d.ts +0 -29
  108. package/dist/delivery/Matrix.js +0 -81
  109. package/dist/delivery/index.d.ts +0 -22
  110. package/dist/delivery/index.js +0 -45
  111. package/dist/delivery/session-updater.d.ts +0 -9
  112. package/dist/index.d.ts +0 -1
  113. package/dist/index.iife.d.ts +0 -8
  114. package/dist/index.iife.js +0 -164
  115. package/dist/index.js +0 -2
  116. package/dist/runtime-support.d.ts +0 -12
  117. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,1093 @@
1
+ Config Object for @pie-elements/matrix
2
+
3
+ The schema defines the following properties:
4
+
5
+ # `baseInputConfiguration` (object)
6
+
7
+ Properties of the `baseInputConfiguration` object:
8
+
9
+ ## `math` (object)
10
+
11
+ Properties of the `math` object:
12
+
13
+ ### `disabled` (boolean)
14
+
15
+ Indicates if the plugin is disabled or not
16
+
17
+ ## `audio` (object)
18
+
19
+ Properties of the `audio` object:
20
+
21
+ ### `disabled` (boolean)
22
+
23
+ Indicates if the plugin is disabled or not
24
+
25
+ ## `video` (object)
26
+
27
+ Properties of the `video` object:
28
+
29
+ ### `disabled` (boolean)
30
+
31
+ Indicates if the plugin is disabled or not
32
+
33
+ ## `image` (object)
34
+
35
+ Properties of the `image` object:
36
+
37
+ ### `disabled` (boolean)
38
+
39
+ Indicates if the plugin is disabled or not
40
+
41
+ ## `customPlugins` (array)
42
+
43
+ An array of objects that determine custom plugins.
44
+ A 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).
45
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
46
+
47
+ The object is an array with all elements of the type `object`.
48
+
49
+ The array object has the following properties:
50
+
51
+ ### `event` (string, required)
52
+
53
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
54
+ PIE will emit the event prefixed with "PIE-".
55
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
56
+
57
+ ### `iconAlt` (string, required)
58
+
59
+ The alt for the custom button icon
60
+
61
+ ### `iconType` (string, required)
62
+
63
+ The icon type.
64
+ Currently, only "SVG" is supported.
65
+
66
+ ### `icon` (string, required)
67
+
68
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
69
+
70
+ ## `blockquote` (object)
71
+
72
+ Properties of the `blockquote` object:
73
+
74
+ ### `disabled` (boolean)
75
+
76
+ Indicates if the plugin is disabled or not
77
+
78
+ ## `h3` (object)
79
+
80
+ Properties of the `h3` object:
81
+
82
+ ### `disabled` (boolean)
83
+
84
+ Indicates if the plugin is disabled or not
85
+
86
+ ## `characters` (object)
87
+
88
+ Properties of the `characters` object:
89
+
90
+ ### `disabled` (boolean)
91
+
92
+ Indicates if the plugin is disabled or not
93
+
94
+ ## `bold` (object)
95
+
96
+ Properties of the `bold` object:
97
+
98
+ ### `disabled` (boolean)
99
+
100
+ Indicates if the plugin is disabled or not
101
+
102
+ ## `html` (object)
103
+
104
+ Properties of the `html` object:
105
+
106
+ ### `disabled` (boolean)
107
+
108
+ Indicates if the plugin is disabled or not
109
+
110
+ ## `italic` (object)
111
+
112
+ Properties of the `italic` object:
113
+
114
+ ### `disabled` (boolean)
115
+
116
+ Indicates if the plugin is disabled or not
117
+
118
+ ## `ol_list` (object)
119
+
120
+ Properties of the `ol_list` object:
121
+
122
+ ### `disabled` (boolean)
123
+
124
+ Indicates if the plugin is disabled or not
125
+
126
+ ## `redo` (object)
127
+
128
+ Properties of the `redo` object:
129
+
130
+ ### `disabled` (boolean)
131
+
132
+ Indicates if the plugin is disabled or not
133
+
134
+ ## `strikethrough` (object)
135
+
136
+ Properties of the `strikethrough` object:
137
+
138
+ ### `disabled` (boolean)
139
+
140
+ Indicates if the plugin is disabled or not
141
+
142
+ ## `sub` (object)
143
+
144
+ Properties of the `sub` object:
145
+
146
+ ### `disabled` (boolean)
147
+
148
+ Indicates if the plugin is disabled or not
149
+
150
+ ## `sup` (object)
151
+
152
+ Properties of the `sup` object:
153
+
154
+ ### `disabled` (boolean)
155
+
156
+ Indicates if the plugin is disabled or not
157
+
158
+ ## `table` (object)
159
+
160
+ Properties of the `table` object:
161
+
162
+ ### `disabled` (boolean)
163
+
164
+ Indicates if the plugin is disabled or not
165
+
166
+ ## `ul_list` (object)
167
+
168
+ Properties of the `ul_list` object:
169
+
170
+ ### `disabled` (boolean)
171
+
172
+ Indicates if the plugin is disabled or not
173
+
174
+ ## `underline` (object)
175
+
176
+ Properties of the `underline` object:
177
+
178
+ ### `disabled` (boolean)
179
+
180
+ Indicates if the plugin is disabled or not
181
+
182
+ ## `undo` (object)
183
+
184
+ Properties of the `undo` object:
185
+
186
+ ### `disabled` (boolean)
187
+
188
+ Indicates if the plugin is disabled or not
189
+
190
+ # `settingsPanelDisabled` (boolean)
191
+
192
+ Indicates if the settings panel is not available
193
+
194
+ # `spellCheck` (object)
195
+
196
+ Properties of the `spellCheck` object:
197
+
198
+ ## `settings` (boolean)
199
+
200
+ Indicates if the item has to be displayed in the Settings Panel
201
+
202
+ ## `label` (string)
203
+
204
+ Indicates the label for the item that has to be displayed in the Settings Panel
205
+
206
+ # `teacherInstructions` (object)
207
+
208
+ Properties of the `teacherInstructions` object:
209
+
210
+ ## `inputConfiguration` (object)
211
+
212
+ Properties of the `inputConfiguration` object:
213
+
214
+ ### `math` (object)
215
+
216
+ Properties of the `math` object:
217
+
218
+ #### `disabled` (boolean)
219
+
220
+ Indicates if the plugin is disabled or not
221
+
222
+ ### `audio` (object)
223
+
224
+ Properties of the `audio` object:
225
+
226
+ #### `disabled` (boolean)
227
+
228
+ Indicates if the plugin is disabled or not
229
+
230
+ ### `video` (object)
231
+
232
+ Properties of the `video` object:
233
+
234
+ #### `disabled` (boolean)
235
+
236
+ Indicates if the plugin is disabled or not
237
+
238
+ ### `image` (object)
239
+
240
+ Properties of the `image` object:
241
+
242
+ #### `disabled` (boolean)
243
+
244
+ Indicates if the plugin is disabled or not
245
+
246
+ ### `customPlugins` (array)
247
+
248
+ An array of objects that determine custom plugins.
249
+ A 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).
250
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
251
+
252
+ The object is an array with all elements of the type `object`.
253
+
254
+ The array object has the following properties:
255
+
256
+ #### `event` (string, required)
257
+
258
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
259
+ PIE will emit the event prefixed with "PIE-".
260
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
261
+
262
+ #### `iconAlt` (string, required)
263
+
264
+ The alt for the custom button icon
265
+
266
+ #### `iconType` (string, required)
267
+
268
+ The icon type.
269
+ Currently, only "SVG" is supported.
270
+
271
+ #### `icon` (string, required)
272
+
273
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
274
+
275
+ ### `blockquote` (object)
276
+
277
+ Properties of the `blockquote` object:
278
+
279
+ #### `disabled` (boolean)
280
+
281
+ Indicates if the plugin is disabled or not
282
+
283
+ ### `h3` (object)
284
+
285
+ Properties of the `h3` object:
286
+
287
+ #### `disabled` (boolean)
288
+
289
+ Indicates if the plugin is disabled or not
290
+
291
+ ### `characters` (object)
292
+
293
+ Properties of the `characters` object:
294
+
295
+ #### `disabled` (boolean)
296
+
297
+ Indicates if the plugin is disabled or not
298
+
299
+ ### `bold` (object)
300
+
301
+ Properties of the `bold` object:
302
+
303
+ #### `disabled` (boolean)
304
+
305
+ Indicates if the plugin is disabled or not
306
+
307
+ ### `html` (object)
308
+
309
+ Properties of the `html` object:
310
+
311
+ #### `disabled` (boolean)
312
+
313
+ Indicates if the plugin is disabled or not
314
+
315
+ ### `italic` (object)
316
+
317
+ Properties of the `italic` object:
318
+
319
+ #### `disabled` (boolean)
320
+
321
+ Indicates if the plugin is disabled or not
322
+
323
+ ### `ol_list` (object)
324
+
325
+ Properties of the `ol_list` object:
326
+
327
+ #### `disabled` (boolean)
328
+
329
+ Indicates if the plugin is disabled or not
330
+
331
+ ### `redo` (object)
332
+
333
+ Properties of the `redo` object:
334
+
335
+ #### `disabled` (boolean)
336
+
337
+ Indicates if the plugin is disabled or not
338
+
339
+ ### `strikethrough` (object)
340
+
341
+ Properties of the `strikethrough` object:
342
+
343
+ #### `disabled` (boolean)
344
+
345
+ Indicates if the plugin is disabled or not
346
+
347
+ ### `sub` (object)
348
+
349
+ Properties of the `sub` object:
350
+
351
+ #### `disabled` (boolean)
352
+
353
+ Indicates if the plugin is disabled or not
354
+
355
+ ### `sup` (object)
356
+
357
+ Properties of the `sup` object:
358
+
359
+ #### `disabled` (boolean)
360
+
361
+ Indicates if the plugin is disabled or not
362
+
363
+ ### `table` (object)
364
+
365
+ Properties of the `table` object:
366
+
367
+ #### `disabled` (boolean)
368
+
369
+ Indicates if the plugin is disabled or not
370
+
371
+ ### `ul_list` (object)
372
+
373
+ Properties of the `ul_list` object:
374
+
375
+ #### `disabled` (boolean)
376
+
377
+ Indicates if the plugin is disabled or not
378
+
379
+ ### `underline` (object)
380
+
381
+ Properties of the `underline` object:
382
+
383
+ #### `disabled` (boolean)
384
+
385
+ Indicates if the plugin is disabled or not
386
+
387
+ ### `undo` (object)
388
+
389
+ Properties of the `undo` object:
390
+
391
+ #### `disabled` (boolean)
392
+
393
+ Indicates if the plugin is disabled or not
394
+
395
+ ## `required` (boolean)
396
+
397
+ Indicates if the item is required and the value cannot be empty
398
+
399
+ ## `settings` (boolean)
400
+
401
+ Indicates if the item has to be displayed in the Settings Panel
402
+
403
+ ## `label` (string)
404
+
405
+ Indicates the label for the item that has to be displayed in the Settings Panel
406
+
407
+ # `prompt` (object)
408
+
409
+ Properties of the `prompt` object:
410
+
411
+ ## `inputConfiguration` (object)
412
+
413
+ Properties of the `inputConfiguration` object:
414
+
415
+ ### `math` (object)
416
+
417
+ Properties of the `math` object:
418
+
419
+ #### `disabled` (boolean)
420
+
421
+ Indicates if the plugin is disabled or not
422
+
423
+ ### `audio` (object)
424
+
425
+ Properties of the `audio` object:
426
+
427
+ #### `disabled` (boolean)
428
+
429
+ Indicates if the plugin is disabled or not
430
+
431
+ ### `video` (object)
432
+
433
+ Properties of the `video` object:
434
+
435
+ #### `disabled` (boolean)
436
+
437
+ Indicates if the plugin is disabled or not
438
+
439
+ ### `image` (object)
440
+
441
+ Properties of the `image` object:
442
+
443
+ #### `disabled` (boolean)
444
+
445
+ Indicates if the plugin is disabled or not
446
+
447
+ ### `customPlugins` (array)
448
+
449
+ An array of objects that determine custom plugins.
450
+ A 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).
451
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
452
+
453
+ The object is an array with all elements of the type `object`.
454
+
455
+ The array object has the following properties:
456
+
457
+ #### `event` (string, required)
458
+
459
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
460
+ PIE will emit the event prefixed with "PIE-".
461
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
462
+
463
+ #### `iconAlt` (string, required)
464
+
465
+ The alt for the custom button icon
466
+
467
+ #### `iconType` (string, required)
468
+
469
+ The icon type.
470
+ Currently, only "SVG" is supported.
471
+
472
+ #### `icon` (string, required)
473
+
474
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
475
+
476
+ ### `blockquote` (object)
477
+
478
+ Properties of the `blockquote` object:
479
+
480
+ #### `disabled` (boolean)
481
+
482
+ Indicates if the plugin is disabled or not
483
+
484
+ ### `h3` (object)
485
+
486
+ Properties of the `h3` object:
487
+
488
+ #### `disabled` (boolean)
489
+
490
+ Indicates if the plugin is disabled or not
491
+
492
+ ### `characters` (object)
493
+
494
+ Properties of the `characters` object:
495
+
496
+ #### `disabled` (boolean)
497
+
498
+ Indicates if the plugin is disabled or not
499
+
500
+ ### `bold` (object)
501
+
502
+ Properties of the `bold` object:
503
+
504
+ #### `disabled` (boolean)
505
+
506
+ Indicates if the plugin is disabled or not
507
+
508
+ ### `html` (object)
509
+
510
+ Properties of the `html` object:
511
+
512
+ #### `disabled` (boolean)
513
+
514
+ Indicates if the plugin is disabled or not
515
+
516
+ ### `italic` (object)
517
+
518
+ Properties of the `italic` object:
519
+
520
+ #### `disabled` (boolean)
521
+
522
+ Indicates if the plugin is disabled or not
523
+
524
+ ### `ol_list` (object)
525
+
526
+ Properties of the `ol_list` object:
527
+
528
+ #### `disabled` (boolean)
529
+
530
+ Indicates if the plugin is disabled or not
531
+
532
+ ### `redo` (object)
533
+
534
+ Properties of the `redo` object:
535
+
536
+ #### `disabled` (boolean)
537
+
538
+ Indicates if the plugin is disabled or not
539
+
540
+ ### `strikethrough` (object)
541
+
542
+ Properties of the `strikethrough` object:
543
+
544
+ #### `disabled` (boolean)
545
+
546
+ Indicates if the plugin is disabled or not
547
+
548
+ ### `sub` (object)
549
+
550
+ Properties of the `sub` object:
551
+
552
+ #### `disabled` (boolean)
553
+
554
+ Indicates if the plugin is disabled or not
555
+
556
+ ### `sup` (object)
557
+
558
+ Properties of the `sup` object:
559
+
560
+ #### `disabled` (boolean)
561
+
562
+ Indicates if the plugin is disabled or not
563
+
564
+ ### `table` (object)
565
+
566
+ Properties of the `table` object:
567
+
568
+ #### `disabled` (boolean)
569
+
570
+ Indicates if the plugin is disabled or not
571
+
572
+ ### `ul_list` (object)
573
+
574
+ Properties of the `ul_list` object:
575
+
576
+ #### `disabled` (boolean)
577
+
578
+ Indicates if the plugin is disabled or not
579
+
580
+ ### `underline` (object)
581
+
582
+ Properties of the `underline` object:
583
+
584
+ #### `disabled` (boolean)
585
+
586
+ Indicates if the plugin is disabled or not
587
+
588
+ ### `undo` (object)
589
+
590
+ Properties of the `undo` object:
591
+
592
+ #### `disabled` (boolean)
593
+
594
+ Indicates if the plugin is disabled or not
595
+
596
+ ## `required` (boolean)
597
+
598
+ Indicates if the item is required and the value cannot be empty
599
+
600
+ ## `settings` (boolean)
601
+
602
+ Indicates if the item has to be displayed in the Settings Panel
603
+
604
+ ## `label` (string)
605
+
606
+ Indicates the label for the item that has to be displayed in the Settings Panel
607
+
608
+ # `showPrompt` (boolean)
609
+
610
+ Determines whether prompt field will be displayed or not
611
+
612
+ Default: `true`
613
+
614
+ # `promptLabel` (string)
615
+
616
+ The label for the item stem/prompt field
617
+
618
+ Default: `"Item Stemm"`
619
+
620
+ # `contentDimensions` (object)
621
+
622
+ Indicates the dimensions configuration for the authoring container
623
+ Note: Some items have a default minimum width because of their content, but if
624
+ the minWidth is lower than this, the overflow behavior will take care of that
625
+
626
+ Properties of the `contentDimensions` object:
627
+
628
+ ## `maxHeight` (string,number)
629
+
630
+ Indicates the max height of the authoring container
631
+
632
+ Default: `"undefined"`
633
+
634
+ ## `maxWidth` (string,number)
635
+
636
+ Indicates the max width of the authoring container
637
+
638
+ Default: `"undefined"`
639
+
640
+ ## `minHeight` (string,number)
641
+
642
+ Indicates the min height of the authoring container
643
+
644
+ Default: `"undefined"`
645
+
646
+ ## `minWidth` (string,number)
647
+
648
+ Indicates the min width of the authoring container
649
+
650
+ Default: `"undefined"`
651
+
652
+ Default: `": {}"`
653
+
654
+ # `settingsPartialScoring` (boolean)
655
+
656
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
657
+
658
+ Default: `true`
659
+
660
+ ---
661
+
662
+ # Sub Schemas
663
+
664
+ The schema defines the following additional types:
665
+
666
+ ## `EditableHtmlConfigureProp` (object)
667
+
668
+ Properties of the `EditableHtmlConfigureProp` object:
669
+
670
+ ### `math` (object)
671
+
672
+ Properties of the `math` object:
673
+
674
+ #### `disabled` (boolean)
675
+
676
+ Indicates if the plugin is disabled or not
677
+
678
+ ### `audio` (object)
679
+
680
+ Properties of the `audio` object:
681
+
682
+ #### `disabled` (boolean)
683
+
684
+ Indicates if the plugin is disabled or not
685
+
686
+ ### `video` (object)
687
+
688
+ Properties of the `video` object:
689
+
690
+ #### `disabled` (boolean)
691
+
692
+ Indicates if the plugin is disabled or not
693
+
694
+ ### `image` (object)
695
+
696
+ Properties of the `image` object:
697
+
698
+ #### `disabled` (boolean)
699
+
700
+ Indicates if the plugin is disabled or not
701
+
702
+ ### `customPlugins` (array)
703
+
704
+ An array of objects that determine custom plugins.
705
+ A 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).
706
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
707
+
708
+ The object is an array with all elements of the type `object`.
709
+
710
+ The array object has the following properties:
711
+
712
+ #### `event` (string, required)
713
+
714
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
715
+ PIE will emit the event prefixed with "PIE-".
716
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
717
+
718
+ #### `iconAlt` (string, required)
719
+
720
+ The alt for the custom button icon
721
+
722
+ #### `iconType` (string, required)
723
+
724
+ The icon type.
725
+ Currently, only "SVG" is supported.
726
+
727
+ #### `icon` (string, required)
728
+
729
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
730
+
731
+ ### `blockquote` (object)
732
+
733
+ Properties of the `blockquote` object:
734
+
735
+ #### `disabled` (boolean)
736
+
737
+ Indicates if the plugin is disabled or not
738
+
739
+ ### `h3` (object)
740
+
741
+ Properties of the `h3` object:
742
+
743
+ #### `disabled` (boolean)
744
+
745
+ Indicates if the plugin is disabled or not
746
+
747
+ ### `characters` (object)
748
+
749
+ Properties of the `characters` object:
750
+
751
+ #### `disabled` (boolean)
752
+
753
+ Indicates if the plugin is disabled or not
754
+
755
+ ### `bold` (object)
756
+
757
+ Properties of the `bold` object:
758
+
759
+ #### `disabled` (boolean)
760
+
761
+ Indicates if the plugin is disabled or not
762
+
763
+ ### `html` (object)
764
+
765
+ Properties of the `html` object:
766
+
767
+ #### `disabled` (boolean)
768
+
769
+ Indicates if the plugin is disabled or not
770
+
771
+ ### `italic` (object)
772
+
773
+ Properties of the `italic` object:
774
+
775
+ #### `disabled` (boolean)
776
+
777
+ Indicates if the plugin is disabled or not
778
+
779
+ ### `ol_list` (object)
780
+
781
+ Properties of the `ol_list` object:
782
+
783
+ #### `disabled` (boolean)
784
+
785
+ Indicates if the plugin is disabled or not
786
+
787
+ ### `redo` (object)
788
+
789
+ Properties of the `redo` object:
790
+
791
+ #### `disabled` (boolean)
792
+
793
+ Indicates if the plugin is disabled or not
794
+
795
+ ### `strikethrough` (object)
796
+
797
+ Properties of the `strikethrough` object:
798
+
799
+ #### `disabled` (boolean)
800
+
801
+ Indicates if the plugin is disabled or not
802
+
803
+ ### `sub` (object)
804
+
805
+ Properties of the `sub` object:
806
+
807
+ #### `disabled` (boolean)
808
+
809
+ Indicates if the plugin is disabled or not
810
+
811
+ ### `sup` (object)
812
+
813
+ Properties of the `sup` object:
814
+
815
+ #### `disabled` (boolean)
816
+
817
+ Indicates if the plugin is disabled or not
818
+
819
+ ### `table` (object)
820
+
821
+ Properties of the `table` object:
822
+
823
+ #### `disabled` (boolean)
824
+
825
+ Indicates if the plugin is disabled or not
826
+
827
+ ### `ul_list` (object)
828
+
829
+ Properties of the `ul_list` object:
830
+
831
+ #### `disabled` (boolean)
832
+
833
+ Indicates if the plugin is disabled or not
834
+
835
+ ### `underline` (object)
836
+
837
+ Properties of the `underline` object:
838
+
839
+ #### `disabled` (boolean)
840
+
841
+ Indicates if the plugin is disabled or not
842
+
843
+ ### `undo` (object)
844
+
845
+ Properties of the `undo` object:
846
+
847
+ #### `disabled` (boolean)
848
+
849
+ Indicates if the plugin is disabled or not
850
+
851
+ ## `EditableHtmlButtonConfigure` (object)
852
+
853
+ Properties of the `EditableHtmlButtonConfigure` object:
854
+
855
+ ### `disabled` (boolean)
856
+
857
+ Indicates if the plugin is disabled or not
858
+
859
+ ## `CustomPlugin` (object)
860
+
861
+ Properties of the `CustomPlugin` object:
862
+
863
+ ### `event` (string, required)
864
+
865
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
866
+ PIE will emit the event prefixed with "PIE-".
867
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
868
+
869
+ ### `iconAlt` (string, required)
870
+
871
+ The alt for the custom button icon
872
+
873
+ ### `iconType` (string, required)
874
+
875
+ The icon type.
876
+ Currently, only "SVG" is supported.
877
+
878
+ ### `icon` (string, required)
879
+
880
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
881
+
882
+ ## `ConfigureProp` (object)
883
+
884
+ Properties of the `ConfigureProp` object:
885
+
886
+ ### `settings` (boolean)
887
+
888
+ Indicates if the item has to be displayed in the Settings Panel
889
+
890
+ ### `label` (string)
891
+
892
+ Indicates the label for the item that has to be displayed in the Settings Panel
893
+
894
+ ## `EditableHtmlPluginConfigureRequired` (object)
895
+
896
+ Properties of the `EditableHtmlPluginConfigureRequired` object:
897
+
898
+ ### `inputConfiguration` (object)
899
+
900
+ Properties of the `inputConfiguration` object:
901
+
902
+ #### `math` (object)
903
+
904
+ Properties of the `math` object:
905
+
906
+ ##### `disabled` (boolean)
907
+
908
+ Indicates if the plugin is disabled or not
909
+
910
+ #### `audio` (object)
911
+
912
+ Properties of the `audio` object:
913
+
914
+ ##### `disabled` (boolean)
915
+
916
+ Indicates if the plugin is disabled or not
917
+
918
+ #### `video` (object)
919
+
920
+ Properties of the `video` object:
921
+
922
+ ##### `disabled` (boolean)
923
+
924
+ Indicates if the plugin is disabled or not
925
+
926
+ #### `image` (object)
927
+
928
+ Properties of the `image` object:
929
+
930
+ ##### `disabled` (boolean)
931
+
932
+ Indicates if the plugin is disabled or not
933
+
934
+ #### `customPlugins` (array)
935
+
936
+ An array of objects that determine custom plugins.
937
+ A 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).
938
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
939
+
940
+ The object is an array with all elements of the type `object`.
941
+
942
+ The array object has the following properties:
943
+
944
+ ##### `event` (string, required)
945
+
946
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
947
+ PIE will emit the event prefixed with "PIE-".
948
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
949
+
950
+ ##### `iconAlt` (string, required)
951
+
952
+ The alt for the custom button icon
953
+
954
+ ##### `iconType` (string, required)
955
+
956
+ The icon type.
957
+ Currently, only "SVG" is supported.
958
+
959
+ ##### `icon` (string, required)
960
+
961
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
962
+
963
+ #### `blockquote` (object)
964
+
965
+ Properties of the `blockquote` object:
966
+
967
+ ##### `disabled` (boolean)
968
+
969
+ Indicates if the plugin is disabled or not
970
+
971
+ #### `h3` (object)
972
+
973
+ Properties of the `h3` object:
974
+
975
+ ##### `disabled` (boolean)
976
+
977
+ Indicates if the plugin is disabled or not
978
+
979
+ #### `characters` (object)
980
+
981
+ Properties of the `characters` object:
982
+
983
+ ##### `disabled` (boolean)
984
+
985
+ Indicates if the plugin is disabled or not
986
+
987
+ #### `bold` (object)
988
+
989
+ Properties of the `bold` object:
990
+
991
+ ##### `disabled` (boolean)
992
+
993
+ Indicates if the plugin is disabled or not
994
+
995
+ #### `html` (object)
996
+
997
+ Properties of the `html` object:
998
+
999
+ ##### `disabled` (boolean)
1000
+
1001
+ Indicates if the plugin is disabled or not
1002
+
1003
+ #### `italic` (object)
1004
+
1005
+ Properties of the `italic` object:
1006
+
1007
+ ##### `disabled` (boolean)
1008
+
1009
+ Indicates if the plugin is disabled or not
1010
+
1011
+ #### `ol_list` (object)
1012
+
1013
+ Properties of the `ol_list` object:
1014
+
1015
+ ##### `disabled` (boolean)
1016
+
1017
+ Indicates if the plugin is disabled or not
1018
+
1019
+ #### `redo` (object)
1020
+
1021
+ Properties of the `redo` object:
1022
+
1023
+ ##### `disabled` (boolean)
1024
+
1025
+ Indicates if the plugin is disabled or not
1026
+
1027
+ #### `strikethrough` (object)
1028
+
1029
+ Properties of the `strikethrough` object:
1030
+
1031
+ ##### `disabled` (boolean)
1032
+
1033
+ Indicates if the plugin is disabled or not
1034
+
1035
+ #### `sub` (object)
1036
+
1037
+ Properties of the `sub` object:
1038
+
1039
+ ##### `disabled` (boolean)
1040
+
1041
+ Indicates if the plugin is disabled or not
1042
+
1043
+ #### `sup` (object)
1044
+
1045
+ Properties of the `sup` object:
1046
+
1047
+ ##### `disabled` (boolean)
1048
+
1049
+ Indicates if the plugin is disabled or not
1050
+
1051
+ #### `table` (object)
1052
+
1053
+ Properties of the `table` object:
1054
+
1055
+ ##### `disabled` (boolean)
1056
+
1057
+ Indicates if the plugin is disabled or not
1058
+
1059
+ #### `ul_list` (object)
1060
+
1061
+ Properties of the `ul_list` object:
1062
+
1063
+ ##### `disabled` (boolean)
1064
+
1065
+ Indicates if the plugin is disabled or not
1066
+
1067
+ #### `underline` (object)
1068
+
1069
+ Properties of the `underline` object:
1070
+
1071
+ ##### `disabled` (boolean)
1072
+
1073
+ Indicates if the plugin is disabled or not
1074
+
1075
+ #### `undo` (object)
1076
+
1077
+ Properties of the `undo` object:
1078
+
1079
+ ##### `disabled` (boolean)
1080
+
1081
+ Indicates if the plugin is disabled or not
1082
+
1083
+ ### `required` (boolean)
1084
+
1085
+ Indicates if the item is required and the value cannot be empty
1086
+
1087
+ ### `settings` (boolean)
1088
+
1089
+ Indicates if the item has to be displayed in the Settings Panel
1090
+
1091
+ ### `label` (string)
1092
+
1093
+ Indicates the label for the item that has to be displayed in the Settings Panel