@pie-element/complex-rubric 6.0.0-beta.1 → 6.0.0-beta.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 (108) hide show
  1. package/CHANGELOG.md +0 -11
  2. package/configure/CHANGELOG.md +0 -11
  3. package/configure/package.json +6 -6
  4. package/configure/src/__tests__/index.test.js +15 -0
  5. package/configure/src/__tests__/main.test.jsx +7 -0
  6. package/package.json +5 -5
  7. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  8. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -2491
  9. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  10. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  11. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -2333
  12. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -429
  13. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  14. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -181
  15. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  16. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -157
  17. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  18. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -455
  19. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  20. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -206
  21. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  22. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -451
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -275
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -233
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -87
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -24
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -1571
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -18
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -158
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -11
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -14
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -1628
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -1202
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -117
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -861
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -614
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -54
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -123
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -248
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -83
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -32
  57. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  58. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -2774
  59. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  60. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  61. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -2541
  62. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -67
  63. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  64. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -135
  65. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  66. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -103
  67. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  68. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -24
  69. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -178
  70. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -42
  71. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -139
  72. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  73. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  74. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -1564
  75. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js +0 -15
  76. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js.map +0 -1
  77. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -46
  78. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  79. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -12
  80. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -33
  81. package/configure/node_modules/@pie-element/rubric/controller/src/defaults.js +0 -8
  82. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -41
  83. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -712
  84. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -532
  85. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  86. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  87. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  88. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -391
  89. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -281
  90. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -52
  91. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  92. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -210
  93. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  94. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -71
  95. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  96. package/configure/node_modules/@pie-element/rubric/package.json +0 -30
  97. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -2641
  98. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -49
  99. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -48
  100. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -226
  101. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -74
  102. package/configure/node_modules/clsx/clsx.d.ts +0 -6
  103. package/configure/node_modules/clsx/dist/clsx.js +0 -1
  104. package/configure/node_modules/clsx/dist/clsx.m.js +0 -1
  105. package/configure/node_modules/clsx/dist/clsx.min.js +0 -1
  106. package/configure/node_modules/clsx/license +0 -9
  107. package/configure/node_modules/clsx/package.json +0 -37
  108. package/configure/node_modules/clsx/readme.md +0 -88
@@ -1,1202 +0,0 @@
1
- Config Object for @pie-elements/multi-trait-rubric
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
- # `expandedInput` (object)
191
-
192
- Properties of the `expandedInput` object:
193
-
194
- ## `inputConfiguration` (object)
195
-
196
- Properties of the `inputConfiguration` object:
197
-
198
- ### `math` (object)
199
-
200
- Properties of the `math` object:
201
-
202
- #### `disabled` (boolean)
203
-
204
- Indicates if the plugin is disabled or not
205
-
206
- ### `audio` (object)
207
-
208
- Properties of the `audio` object:
209
-
210
- #### `disabled` (boolean)
211
-
212
- Indicates if the plugin is disabled or not
213
-
214
- ### `video` (object)
215
-
216
- Properties of the `video` object:
217
-
218
- #### `disabled` (boolean)
219
-
220
- Indicates if the plugin is disabled or not
221
-
222
- ### `image` (object)
223
-
224
- Properties of the `image` object:
225
-
226
- #### `disabled` (boolean)
227
-
228
- Indicates if the plugin is disabled or not
229
-
230
- ### `customPlugins` (array)
231
-
232
- An array of objects that determine custom plugins.
233
- 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).
234
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
235
-
236
- The object is an array with all elements of the type `object`.
237
-
238
- The array object has the following properties:
239
-
240
- #### `event` (string, required)
241
-
242
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
243
- PIE will emit the event prefixed with "PIE-".
244
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
245
-
246
- #### `iconAlt` (string, required)
247
-
248
- The alt for the custom button icon
249
-
250
- #### `iconType` (string, required)
251
-
252
- The icon type.
253
- Currently, only "SVG" is supported.
254
-
255
- #### `icon` (string, required)
256
-
257
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
258
-
259
- ### `blockquote` (object)
260
-
261
- Properties of the `blockquote` object:
262
-
263
- #### `disabled` (boolean)
264
-
265
- Indicates if the plugin is disabled or not
266
-
267
- ### `h3` (object)
268
-
269
- Properties of the `h3` object:
270
-
271
- #### `disabled` (boolean)
272
-
273
- Indicates if the plugin is disabled or not
274
-
275
- ### `characters` (object)
276
-
277
- Properties of the `characters` object:
278
-
279
- #### `disabled` (boolean)
280
-
281
- Indicates if the plugin is disabled or not
282
-
283
- ### `bold` (object)
284
-
285
- Properties of the `bold` object:
286
-
287
- #### `disabled` (boolean)
288
-
289
- Indicates if the plugin is disabled or not
290
-
291
- ### `html` (object)
292
-
293
- Properties of the `html` object:
294
-
295
- #### `disabled` (boolean)
296
-
297
- Indicates if the plugin is disabled or not
298
-
299
- ### `italic` (object)
300
-
301
- Properties of the `italic` object:
302
-
303
- #### `disabled` (boolean)
304
-
305
- Indicates if the plugin is disabled or not
306
-
307
- ### `ol_list` (object)
308
-
309
- Properties of the `ol_list` object:
310
-
311
- #### `disabled` (boolean)
312
-
313
- Indicates if the plugin is disabled or not
314
-
315
- ### `redo` (object)
316
-
317
- Properties of the `redo` object:
318
-
319
- #### `disabled` (boolean)
320
-
321
- Indicates if the plugin is disabled or not
322
-
323
- ### `strikethrough` (object)
324
-
325
- Properties of the `strikethrough` object:
326
-
327
- #### `disabled` (boolean)
328
-
329
- Indicates if the plugin is disabled or not
330
-
331
- ### `sub` (object)
332
-
333
- Properties of the `sub` object:
334
-
335
- #### `disabled` (boolean)
336
-
337
- Indicates if the plugin is disabled or not
338
-
339
- ### `sup` (object)
340
-
341
- Properties of the `sup` object:
342
-
343
- #### `disabled` (boolean)
344
-
345
- Indicates if the plugin is disabled or not
346
-
347
- ### `table` (object)
348
-
349
- Properties of the `table` object:
350
-
351
- #### `disabled` (boolean)
352
-
353
- Indicates if the plugin is disabled or not
354
-
355
- ### `ul_list` (object)
356
-
357
- Properties of the `ul_list` object:
358
-
359
- #### `disabled` (boolean)
360
-
361
- Indicates if the plugin is disabled or not
362
-
363
- ### `underline` (object)
364
-
365
- Properties of the `underline` object:
366
-
367
- #### `disabled` (boolean)
368
-
369
- Indicates if the plugin is disabled or not
370
-
371
- ### `undo` (object)
372
-
373
- Properties of the `undo` object:
374
-
375
- #### `disabled` (boolean)
376
-
377
- Indicates if the plugin is disabled or not
378
-
379
- ## `settings` (boolean)
380
-
381
- Indicates if the item has to be displayed in the Settings Panel
382
-
383
- ## `label` (string)
384
-
385
- Indicates the label for the item that has to be displayed in the Settings Panel
386
-
387
- # `labelInput` (object)
388
-
389
- Properties of the `labelInput` object:
390
-
391
- ## `inputConfiguration` (object)
392
-
393
- Properties of the `inputConfiguration` object:
394
-
395
- ### `math` (object)
396
-
397
- Properties of the `math` object:
398
-
399
- #### `disabled` (boolean)
400
-
401
- Indicates if the plugin is disabled or not
402
-
403
- ### `audio` (object)
404
-
405
- Properties of the `audio` object:
406
-
407
- #### `disabled` (boolean)
408
-
409
- Indicates if the plugin is disabled or not
410
-
411
- ### `video` (object)
412
-
413
- Properties of the `video` object:
414
-
415
- #### `disabled` (boolean)
416
-
417
- Indicates if the plugin is disabled or not
418
-
419
- ### `image` (object)
420
-
421
- Properties of the `image` object:
422
-
423
- #### `disabled` (boolean)
424
-
425
- Indicates if the plugin is disabled or not
426
-
427
- ### `customPlugins` (array)
428
-
429
- An array of objects that determine custom plugins.
430
- 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).
431
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
432
-
433
- The object is an array with all elements of the type `object`.
434
-
435
- The array object has the following properties:
436
-
437
- #### `event` (string, required)
438
-
439
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
440
- PIE will emit the event prefixed with "PIE-".
441
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
442
-
443
- #### `iconAlt` (string, required)
444
-
445
- The alt for the custom button icon
446
-
447
- #### `iconType` (string, required)
448
-
449
- The icon type.
450
- Currently, only "SVG" is supported.
451
-
452
- #### `icon` (string, required)
453
-
454
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
455
-
456
- ### `blockquote` (object)
457
-
458
- Properties of the `blockquote` object:
459
-
460
- #### `disabled` (boolean)
461
-
462
- Indicates if the plugin is disabled or not
463
-
464
- ### `h3` (object)
465
-
466
- Properties of the `h3` object:
467
-
468
- #### `disabled` (boolean)
469
-
470
- Indicates if the plugin is disabled or not
471
-
472
- ### `characters` (object)
473
-
474
- Properties of the `characters` object:
475
-
476
- #### `disabled` (boolean)
477
-
478
- Indicates if the plugin is disabled or not
479
-
480
- ### `bold` (object)
481
-
482
- Properties of the `bold` object:
483
-
484
- #### `disabled` (boolean)
485
-
486
- Indicates if the plugin is disabled or not
487
-
488
- ### `html` (object)
489
-
490
- Properties of the `html` object:
491
-
492
- #### `disabled` (boolean)
493
-
494
- Indicates if the plugin is disabled or not
495
-
496
- ### `italic` (object)
497
-
498
- Properties of the `italic` object:
499
-
500
- #### `disabled` (boolean)
501
-
502
- Indicates if the plugin is disabled or not
503
-
504
- ### `ol_list` (object)
505
-
506
- Properties of the `ol_list` object:
507
-
508
- #### `disabled` (boolean)
509
-
510
- Indicates if the plugin is disabled or not
511
-
512
- ### `redo` (object)
513
-
514
- Properties of the `redo` object:
515
-
516
- #### `disabled` (boolean)
517
-
518
- Indicates if the plugin is disabled or not
519
-
520
- ### `strikethrough` (object)
521
-
522
- Properties of the `strikethrough` object:
523
-
524
- #### `disabled` (boolean)
525
-
526
- Indicates if the plugin is disabled or not
527
-
528
- ### `sub` (object)
529
-
530
- Properties of the `sub` object:
531
-
532
- #### `disabled` (boolean)
533
-
534
- Indicates if the plugin is disabled or not
535
-
536
- ### `sup` (object)
537
-
538
- Properties of the `sup` object:
539
-
540
- #### `disabled` (boolean)
541
-
542
- Indicates if the plugin is disabled or not
543
-
544
- ### `table` (object)
545
-
546
- Properties of the `table` object:
547
-
548
- #### `disabled` (boolean)
549
-
550
- Indicates if the plugin is disabled or not
551
-
552
- ### `ul_list` (object)
553
-
554
- Properties of the `ul_list` object:
555
-
556
- #### `disabled` (boolean)
557
-
558
- Indicates if the plugin is disabled or not
559
-
560
- ### `underline` (object)
561
-
562
- Properties of the `underline` object:
563
-
564
- #### `disabled` (boolean)
565
-
566
- Indicates if the plugin is disabled or not
567
-
568
- ### `undo` (object)
569
-
570
- Properties of the `undo` object:
571
-
572
- #### `disabled` (boolean)
573
-
574
- Indicates if the plugin is disabled or not
575
-
576
- ## `settings` (boolean)
577
-
578
- Indicates if the item has to be displayed in the Settings Panel
579
-
580
- ## `label` (string)
581
-
582
- Indicates the label for the item that has to be displayed in the Settings Panel
583
-
584
- # `excludeZeroDialogBoxContent` (object)
585
-
586
- Properties of the `excludeZeroDialogBoxContent` object:
587
-
588
- ## `title` (string)
589
-
590
- Dialog box title
591
-
592
- ## `text` (string)
593
-
594
- Dialog box text
595
-
596
- # `includeZeroDialogBoxContent` (object)
597
-
598
- Properties of the `includeZeroDialogBoxContent` object:
599
-
600
- ## `title` (string)
601
-
602
- Dialog box title
603
-
604
- ## `text` (string)
605
-
606
- Dialog box text
607
-
608
- # `deleteScaleDialogBoxContent` (object)
609
-
610
- Properties of the `deleteScaleDialogBoxContent` object:
611
-
612
- ## `title` (string)
613
-
614
- Dialog box title
615
-
616
- ## `text` (string)
617
-
618
- Dialog box text
619
-
620
- # `maxPointsDialogBoxContent` (object)
621
-
622
- Properties of the `maxPointsDialogBoxContent` object:
623
-
624
- ## `title` (string)
625
-
626
- Dialog box title
627
-
628
- ## `text` (string)
629
-
630
- Dialog box text
631
-
632
- # `settingsPanelDisabled` (boolean)
633
-
634
- Indicates if the settings panel is not available
635
-
636
- # `showExcludeZero` (object)
637
-
638
- Properties of the `showExcludeZero` object:
639
-
640
- ## `settings` (boolean)
641
-
642
- Indicates if the item has to be displayed in the Settings Panel
643
-
644
- ## `label` (string)
645
-
646
- Indicates the label for the item that has to be displayed in the Settings Panel
647
-
648
- # `showScorePointLabels` (object)
649
-
650
- Properties of the `showScorePointLabels` object:
651
-
652
- ## `settings` (boolean)
653
-
654
- Indicates if the item has to be displayed in the Settings Panel
655
-
656
- ## `label` (string)
657
-
658
- Indicates the label for the item that has to be displayed in the Settings Panel
659
-
660
- # `showDescription` (object)
661
-
662
- Properties of the `showDescription` object:
663
-
664
- ## `settings` (boolean)
665
-
666
- Indicates if the item has to be displayed in the Settings Panel
667
-
668
- ## `label` (string)
669
-
670
- Indicates the label for the item that has to be displayed in the Settings Panel
671
-
672
- # `showVisibleToStudent` (object)
673
-
674
- Properties of the `showVisibleToStudent` object:
675
-
676
- ## `settings` (boolean)
677
-
678
- Indicates if the item has to be displayed in the Settings Panel
679
-
680
- ## `label` (string)
681
-
682
- Indicates the label for the item that has to be displayed in the Settings Panel
683
-
684
- # `showHalfScoring` (object)
685
-
686
- Properties of the `showHalfScoring` object:
687
-
688
- ## `settings` (boolean)
689
-
690
- Indicates if the item has to be displayed in the Settings Panel
691
-
692
- ## `label` (string)
693
-
694
- Indicates the label for the item that has to be displayed in the Settings Panel
695
-
696
- # `spellCheck` (object)
697
-
698
- Properties of the `spellCheck` object:
699
-
700
- ## `settings` (boolean)
701
-
702
- Indicates if the item has to be displayed in the Settings Panel
703
-
704
- ## `label` (string)
705
-
706
- Indicates the label for the item that has to be displayed in the Settings Panel
707
-
708
- # `width` (string, required)
709
-
710
- How large (in px) should multi-trait-rubric be
711
-
712
- # `minNoOfTraits` (number)
713
-
714
- Minimum number of traits
715
-
716
- # `maxNoOfTraits` (number)
717
-
718
- Maximum number of traits
719
-
720
- # `minNoOfScales` (number)
721
-
722
- Minimum number of scales
723
-
724
- # `maxNoOfScales` (number)
725
-
726
- Maximum number of scales
727
-
728
- # `defaultTraitLabel` (string)
729
-
730
- The default trait label for new created scales.
731
- If it's not defined, it will default to the label of the first trait.
732
-
733
- # `mathMlOptions` (object)
734
-
735
- Properties of the `mathMlOptions` object:
736
-
737
- ## `mmlOutput` (number)
738
-
739
- Indicates if model should have mathML output instead of latex
740
-
741
- ## `mmlEditing` (number)
742
-
743
- Indicates if mathML that's already in model should be editable
744
-
745
- # `maxMaxPoints` (number)
746
-
747
- Indicates the max limit for scoring points
748
-
749
- ---
750
-
751
- # Sub Schemas
752
-
753
- The schema defines the following additional types:
754
-
755
- ## `EditableHtmlConfigureProp` (object)
756
-
757
- Properties of the `EditableHtmlConfigureProp` object:
758
-
759
- ### `math` (object)
760
-
761
- Properties of the `math` object:
762
-
763
- #### `disabled` (boolean)
764
-
765
- Indicates if the plugin is disabled or not
766
-
767
- ### `audio` (object)
768
-
769
- Properties of the `audio` object:
770
-
771
- #### `disabled` (boolean)
772
-
773
- Indicates if the plugin is disabled or not
774
-
775
- ### `video` (object)
776
-
777
- Properties of the `video` object:
778
-
779
- #### `disabled` (boolean)
780
-
781
- Indicates if the plugin is disabled or not
782
-
783
- ### `image` (object)
784
-
785
- Properties of the `image` object:
786
-
787
- #### `disabled` (boolean)
788
-
789
- Indicates if the plugin is disabled or not
790
-
791
- ### `customPlugins` (array)
792
-
793
- An array of objects that determine custom plugins.
794
- 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).
795
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
796
-
797
- The object is an array with all elements of the type `object`.
798
-
799
- The array object has the following properties:
800
-
801
- #### `event` (string, required)
802
-
803
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
804
- PIE will emit the event prefixed with "PIE-".
805
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
806
-
807
- #### `iconAlt` (string, required)
808
-
809
- The alt for the custom button icon
810
-
811
- #### `iconType` (string, required)
812
-
813
- The icon type.
814
- Currently, only "SVG" is supported.
815
-
816
- #### `icon` (string, required)
817
-
818
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
819
-
820
- ### `blockquote` (object)
821
-
822
- Properties of the `blockquote` object:
823
-
824
- #### `disabled` (boolean)
825
-
826
- Indicates if the plugin is disabled or not
827
-
828
- ### `h3` (object)
829
-
830
- Properties of the `h3` object:
831
-
832
- #### `disabled` (boolean)
833
-
834
- Indicates if the plugin is disabled or not
835
-
836
- ### `characters` (object)
837
-
838
- Properties of the `characters` object:
839
-
840
- #### `disabled` (boolean)
841
-
842
- Indicates if the plugin is disabled or not
843
-
844
- ### `bold` (object)
845
-
846
- Properties of the `bold` object:
847
-
848
- #### `disabled` (boolean)
849
-
850
- Indicates if the plugin is disabled or not
851
-
852
- ### `html` (object)
853
-
854
- Properties of the `html` object:
855
-
856
- #### `disabled` (boolean)
857
-
858
- Indicates if the plugin is disabled or not
859
-
860
- ### `italic` (object)
861
-
862
- Properties of the `italic` object:
863
-
864
- #### `disabled` (boolean)
865
-
866
- Indicates if the plugin is disabled or not
867
-
868
- ### `ol_list` (object)
869
-
870
- Properties of the `ol_list` object:
871
-
872
- #### `disabled` (boolean)
873
-
874
- Indicates if the plugin is disabled or not
875
-
876
- ### `redo` (object)
877
-
878
- Properties of the `redo` object:
879
-
880
- #### `disabled` (boolean)
881
-
882
- Indicates if the plugin is disabled or not
883
-
884
- ### `strikethrough` (object)
885
-
886
- Properties of the `strikethrough` object:
887
-
888
- #### `disabled` (boolean)
889
-
890
- Indicates if the plugin is disabled or not
891
-
892
- ### `sub` (object)
893
-
894
- Properties of the `sub` object:
895
-
896
- #### `disabled` (boolean)
897
-
898
- Indicates if the plugin is disabled or not
899
-
900
- ### `sup` (object)
901
-
902
- Properties of the `sup` object:
903
-
904
- #### `disabled` (boolean)
905
-
906
- Indicates if the plugin is disabled or not
907
-
908
- ### `table` (object)
909
-
910
- Properties of the `table` object:
911
-
912
- #### `disabled` (boolean)
913
-
914
- Indicates if the plugin is disabled or not
915
-
916
- ### `ul_list` (object)
917
-
918
- Properties of the `ul_list` object:
919
-
920
- #### `disabled` (boolean)
921
-
922
- Indicates if the plugin is disabled or not
923
-
924
- ### `underline` (object)
925
-
926
- Properties of the `underline` object:
927
-
928
- #### `disabled` (boolean)
929
-
930
- Indicates if the plugin is disabled or not
931
-
932
- ### `undo` (object)
933
-
934
- Properties of the `undo` object:
935
-
936
- #### `disabled` (boolean)
937
-
938
- Indicates if the plugin is disabled or not
939
-
940
- ## `EditableHtmlButtonConfigure` (object)
941
-
942
- Properties of the `EditableHtmlButtonConfigure` object:
943
-
944
- ### `disabled` (boolean)
945
-
946
- Indicates if the plugin is disabled or not
947
-
948
- ## `CustomPlugin` (object)
949
-
950
- Properties of the `CustomPlugin` object:
951
-
952
- ### `event` (string, required)
953
-
954
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
955
- PIE will emit the event prefixed with "PIE-".
956
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
957
-
958
- ### `iconAlt` (string, required)
959
-
960
- The alt for the custom button icon
961
-
962
- ### `iconType` (string, required)
963
-
964
- The icon type.
965
- Currently, only "SVG" is supported.
966
-
967
- ### `icon` (string, required)
968
-
969
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
970
-
971
- ## `EditableHtmlPluginConfigure` (object)
972
-
973
- Properties of the `EditableHtmlPluginConfigure` object:
974
-
975
- ### `inputConfiguration` (object)
976
-
977
- Properties of the `inputConfiguration` object:
978
-
979
- #### `math` (object)
980
-
981
- Properties of the `math` object:
982
-
983
- ##### `disabled` (boolean)
984
-
985
- Indicates if the plugin is disabled or not
986
-
987
- #### `audio` (object)
988
-
989
- Properties of the `audio` object:
990
-
991
- ##### `disabled` (boolean)
992
-
993
- Indicates if the plugin is disabled or not
994
-
995
- #### `video` (object)
996
-
997
- Properties of the `video` object:
998
-
999
- ##### `disabled` (boolean)
1000
-
1001
- Indicates if the plugin is disabled or not
1002
-
1003
- #### `image` (object)
1004
-
1005
- Properties of the `image` object:
1006
-
1007
- ##### `disabled` (boolean)
1008
-
1009
- Indicates if the plugin is disabled or not
1010
-
1011
- #### `customPlugins` (array)
1012
-
1013
- An array of objects that determine custom plugins.
1014
- 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).
1015
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1016
-
1017
- The object is an array with all elements of the type `object`.
1018
-
1019
- The array object has the following properties:
1020
-
1021
- ##### `event` (string, required)
1022
-
1023
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1024
- PIE will emit the event prefixed with "PIE-".
1025
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1026
-
1027
- ##### `iconAlt` (string, required)
1028
-
1029
- The alt for the custom button icon
1030
-
1031
- ##### `iconType` (string, required)
1032
-
1033
- The icon type.
1034
- Currently, only "SVG" is supported.
1035
-
1036
- ##### `icon` (string, required)
1037
-
1038
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1039
-
1040
- #### `blockquote` (object)
1041
-
1042
- Properties of the `blockquote` object:
1043
-
1044
- ##### `disabled` (boolean)
1045
-
1046
- Indicates if the plugin is disabled or not
1047
-
1048
- #### `h3` (object)
1049
-
1050
- Properties of the `h3` object:
1051
-
1052
- ##### `disabled` (boolean)
1053
-
1054
- Indicates if the plugin is disabled or not
1055
-
1056
- #### `characters` (object)
1057
-
1058
- Properties of the `characters` object:
1059
-
1060
- ##### `disabled` (boolean)
1061
-
1062
- Indicates if the plugin is disabled or not
1063
-
1064
- #### `bold` (object)
1065
-
1066
- Properties of the `bold` object:
1067
-
1068
- ##### `disabled` (boolean)
1069
-
1070
- Indicates if the plugin is disabled or not
1071
-
1072
- #### `html` (object)
1073
-
1074
- Properties of the `html` object:
1075
-
1076
- ##### `disabled` (boolean)
1077
-
1078
- Indicates if the plugin is disabled or not
1079
-
1080
- #### `italic` (object)
1081
-
1082
- Properties of the `italic` object:
1083
-
1084
- ##### `disabled` (boolean)
1085
-
1086
- Indicates if the plugin is disabled or not
1087
-
1088
- #### `ol_list` (object)
1089
-
1090
- Properties of the `ol_list` object:
1091
-
1092
- ##### `disabled` (boolean)
1093
-
1094
- Indicates if the plugin is disabled or not
1095
-
1096
- #### `redo` (object)
1097
-
1098
- Properties of the `redo` object:
1099
-
1100
- ##### `disabled` (boolean)
1101
-
1102
- Indicates if the plugin is disabled or not
1103
-
1104
- #### `strikethrough` (object)
1105
-
1106
- Properties of the `strikethrough` object:
1107
-
1108
- ##### `disabled` (boolean)
1109
-
1110
- Indicates if the plugin is disabled or not
1111
-
1112
- #### `sub` (object)
1113
-
1114
- Properties of the `sub` object:
1115
-
1116
- ##### `disabled` (boolean)
1117
-
1118
- Indicates if the plugin is disabled or not
1119
-
1120
- #### `sup` (object)
1121
-
1122
- Properties of the `sup` object:
1123
-
1124
- ##### `disabled` (boolean)
1125
-
1126
- Indicates if the plugin is disabled or not
1127
-
1128
- #### `table` (object)
1129
-
1130
- Properties of the `table` object:
1131
-
1132
- ##### `disabled` (boolean)
1133
-
1134
- Indicates if the plugin is disabled or not
1135
-
1136
- #### `ul_list` (object)
1137
-
1138
- Properties of the `ul_list` object:
1139
-
1140
- ##### `disabled` (boolean)
1141
-
1142
- Indicates if the plugin is disabled or not
1143
-
1144
- #### `underline` (object)
1145
-
1146
- Properties of the `underline` object:
1147
-
1148
- ##### `disabled` (boolean)
1149
-
1150
- Indicates if the plugin is disabled or not
1151
-
1152
- #### `undo` (object)
1153
-
1154
- Properties of the `undo` object:
1155
-
1156
- ##### `disabled` (boolean)
1157
-
1158
- Indicates if the plugin is disabled or not
1159
-
1160
- ### `settings` (boolean)
1161
-
1162
- Indicates if the item has to be displayed in the Settings Panel
1163
-
1164
- ### `label` (string)
1165
-
1166
- Indicates the label for the item that has to be displayed in the Settings Panel
1167
-
1168
- ## `DialogContent` (object)
1169
-
1170
- Properties of the `DialogContent` object:
1171
-
1172
- ### `title` (string)
1173
-
1174
- Dialog box title
1175
-
1176
- ### `text` (string)
1177
-
1178
- Dialog box text
1179
-
1180
- ## `ConfigureProp` (object)
1181
-
1182
- Properties of the `ConfigureProp` object:
1183
-
1184
- ### `settings` (boolean)
1185
-
1186
- Indicates if the item has to be displayed in the Settings Panel
1187
-
1188
- ### `label` (string)
1189
-
1190
- Indicates the label for the item that has to be displayed in the Settings Panel
1191
-
1192
- ## `ConfigureMathMLProp` (object)
1193
-
1194
- Properties of the `ConfigureMathMLProp` object:
1195
-
1196
- ### `mmlOutput` (number)
1197
-
1198
- Indicates if model should have mathML output instead of latex
1199
-
1200
- ### `mmlEditing` (number)
1201
-
1202
- Indicates if mathML that's already in model should be editable