@pie-element/complex-rubric 6.0.0-beta.1 → 6.0.0-next.0

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 (124) hide show
  1. package/CHANGELOG.md +0 -11
  2. package/configure/CHANGELOG.md +0 -11
  3. package/configure/lib/defaults.js +9 -0
  4. package/configure/lib/defaults.js.map +1 -1
  5. package/configure/lib/index.js +8 -8
  6. package/configure/lib/index.js.map +1 -1
  7. package/configure/package.json +9 -9
  8. package/configure/src/__tests__/index.test.js +15 -0
  9. package/configure/src/__tests__/main.test.jsx +7 -0
  10. package/configure/src/defaults.js +3 -0
  11. package/configure/src/index.js +1 -1
  12. package/controller/package.json +1 -1
  13. package/module/configure.js +1 -0
  14. package/module/controller.js +262 -0
  15. package/module/demo.js +221 -0
  16. package/module/element.js +1 -0
  17. package/module/index.html +21 -0
  18. package/module/manifest.json +22 -0
  19. package/module/print-demo.js +259 -0
  20. package/module/print.html +18 -0
  21. package/module/print.js +1 -0
  22. package/package.json +10 -6
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -2491
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -2333
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -429
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -181
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -157
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -455
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -206
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -451
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -275
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -233
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -87
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -24
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -1571
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -18
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -158
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -11
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -14
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -1628
  57. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -1202
  58. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  59. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -117
  60. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  61. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  62. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -861
  63. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -614
  64. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -54
  65. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  66. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -123
  67. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  68. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -248
  69. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  70. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -83
  71. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  72. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -32
  73. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  74. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -2774
  75. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  76. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  77. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -2541
  78. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -67
  79. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  80. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -135
  81. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  82. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -103
  83. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  84. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -24
  85. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -178
  86. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -42
  87. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -139
  88. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  89. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  90. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -1564
  91. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js +0 -15
  92. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js.map +0 -1
  93. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -46
  94. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  95. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -12
  96. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -33
  97. package/configure/node_modules/@pie-element/rubric/controller/src/defaults.js +0 -8
  98. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -41
  99. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -712
  100. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -532
  101. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  102. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  103. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  104. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -391
  105. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -281
  106. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -52
  107. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  108. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -210
  109. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  110. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -71
  111. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  112. package/configure/node_modules/@pie-element/rubric/package.json +0 -30
  113. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -2641
  114. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -49
  115. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -48
  116. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -226
  117. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -74
  118. package/configure/node_modules/clsx/clsx.d.ts +0 -6
  119. package/configure/node_modules/clsx/dist/clsx.js +0 -1
  120. package/configure/node_modules/clsx/dist/clsx.m.js +0 -1
  121. package/configure/node_modules/clsx/dist/clsx.min.js +0 -1
  122. package/configure/node_modules/clsx/license +0 -9
  123. package/configure/node_modules/clsx/package.json +0 -37
  124. package/configure/node_modules/clsx/readme.md +0 -88
@@ -1,532 +0,0 @@
1
- The schema defines the following properties:
2
-
3
- # `baseInputConfiguration` (object)
4
-
5
- Properties of the `baseInputConfiguration` object:
6
-
7
- ## `math` (object)
8
-
9
- Properties of the `math` object:
10
-
11
- ### `disabled` (boolean)
12
-
13
- Indicates if the plugin is disabled or not
14
-
15
- ## `audio` (object)
16
-
17
- Properties of the `audio` object:
18
-
19
- ### `disabled` (boolean)
20
-
21
- Indicates if the plugin is disabled or not
22
-
23
- ## `video` (object)
24
-
25
- Properties of the `video` object:
26
-
27
- ### `disabled` (boolean)
28
-
29
- Indicates if the plugin is disabled or not
30
-
31
- ## `image` (object)
32
-
33
- Properties of the `image` object:
34
-
35
- ### `disabled` (boolean)
36
-
37
- Indicates if the plugin is disabled or not
38
-
39
- ## `customPlugins` (array)
40
-
41
- An array of objects that determine custom plugins.
42
- 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).
43
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
44
-
45
- The object is an array with all elements of the type `object`.
46
-
47
- The array object has the following properties:
48
-
49
- ### `event` (string, required)
50
-
51
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
52
- PIE will emit the event prefixed with "PIE-".
53
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
54
-
55
- ### `iconAlt` (string, required)
56
-
57
- The alt for the custom button icon
58
-
59
- ### `iconType` (string, required)
60
-
61
- The icon type.
62
- Currently, only "SVG" is supported.
63
-
64
- ### `icon` (string, required)
65
-
66
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
67
-
68
- ## `blockquote` (object)
69
-
70
- Properties of the `blockquote` object:
71
-
72
- ### `disabled` (boolean)
73
-
74
- Indicates if the plugin is disabled or not
75
-
76
- ## `h3` (object)
77
-
78
- Properties of the `h3` object:
79
-
80
- ### `disabled` (boolean)
81
-
82
- Indicates if the plugin is disabled or not
83
-
84
- ## `characters` (object)
85
-
86
- Properties of the `characters` object:
87
-
88
- ### `disabled` (boolean)
89
-
90
- Indicates if the plugin is disabled or not
91
-
92
- ## `bold` (object)
93
-
94
- Properties of the `bold` object:
95
-
96
- ### `disabled` (boolean)
97
-
98
- Indicates if the plugin is disabled or not
99
-
100
- ## `html` (object)
101
-
102
- Properties of the `html` object:
103
-
104
- ### `disabled` (boolean)
105
-
106
- Indicates if the plugin is disabled or not
107
-
108
- ## `italic` (object)
109
-
110
- Properties of the `italic` object:
111
-
112
- ### `disabled` (boolean)
113
-
114
- Indicates if the plugin is disabled or not
115
-
116
- ## `ol_list` (object)
117
-
118
- Properties of the `ol_list` object:
119
-
120
- ### `disabled` (boolean)
121
-
122
- Indicates if the plugin is disabled or not
123
-
124
- ## `redo` (object)
125
-
126
- Properties of the `redo` object:
127
-
128
- ### `disabled` (boolean)
129
-
130
- Indicates if the plugin is disabled or not
131
-
132
- ## `strikethrough` (object)
133
-
134
- Properties of the `strikethrough` object:
135
-
136
- ### `disabled` (boolean)
137
-
138
- Indicates if the plugin is disabled or not
139
-
140
- ## `sub` (object)
141
-
142
- Properties of the `sub` object:
143
-
144
- ### `disabled` (boolean)
145
-
146
- Indicates if the plugin is disabled or not
147
-
148
- ## `sup` (object)
149
-
150
- Properties of the `sup` object:
151
-
152
- ### `disabled` (boolean)
153
-
154
- Indicates if the plugin is disabled or not
155
-
156
- ## `table` (object)
157
-
158
- Properties of the `table` object:
159
-
160
- ### `disabled` (boolean)
161
-
162
- Indicates if the plugin is disabled or not
163
-
164
- ## `ul_list` (object)
165
-
166
- Properties of the `ul_list` object:
167
-
168
- ### `disabled` (boolean)
169
-
170
- Indicates if the plugin is disabled or not
171
-
172
- ## `underline` (object)
173
-
174
- Properties of the `underline` object:
175
-
176
- ### `disabled` (boolean)
177
-
178
- Indicates if the plugin is disabled or not
179
-
180
- ## `undo` (object)
181
-
182
- Properties of the `undo` object:
183
-
184
- ### `disabled` (boolean)
185
-
186
- Indicates if the plugin is disabled or not
187
-
188
- # `settingsPanelDisabled` (boolean)
189
-
190
- Indicates if the settings panel is not available
191
-
192
- # `showExcludeZero` (object)
193
-
194
- Properties of the `showExcludeZero` object:
195
-
196
- ## `settings` (boolean)
197
-
198
- Indicates if the item has to be displayed in the Settings Panel
199
-
200
- ## `label` (string)
201
-
202
- Indicates the label for the item that has to be displayed in the Settings Panel
203
-
204
- # `showMaxPoint` (object)
205
-
206
- Properties of the `showMaxPoint` object:
207
-
208
- ## `settings` (boolean)
209
-
210
- Indicates if the item has to be displayed in the Settings Panel
211
-
212
- ## `label` (string)
213
-
214
- Indicates the label for the item that has to be displayed in the Settings Panel
215
-
216
- # `width` (string)
217
-
218
- How large can the rubric be
219
-
220
- # `mathMlOptions` (object)
221
-
222
- Properties of the `mathMlOptions` object:
223
-
224
- ## `mmlOutput` (number)
225
-
226
- Indicates if model should have mathML output instead of latex
227
-
228
- ## `mmlEditing` (number)
229
-
230
- Indicates if mathML that's already in model should be editable
231
-
232
- # `maxMaxPoints` (number)
233
-
234
- Indicates the max limit for scoring points
235
-
236
- # `showPrompt` (boolean)
237
-
238
- Determines whether prompt field will be displayed or not
239
-
240
- Default: `true`
241
-
242
- # `promptLabel` (string)
243
-
244
- The label for the item stem/prompt field
245
-
246
- Default: `"Item Stemm"`
247
-
248
- # `contentDimensions` (object)
249
-
250
- Indicates the dimensions configuration for the authoring container
251
- Note: Some items have a default minimum width because of their content, but if
252
- the minWidth is lower than this, the overflow behavior will take care of that
253
-
254
- Properties of the `contentDimensions` object:
255
-
256
- ## `maxHeight` (string,number)
257
-
258
- Indicates the max height of the authoring container
259
-
260
- Default: `"undefined"`
261
-
262
- ## `maxWidth` (string,number)
263
-
264
- Indicates the max width of the authoring container
265
-
266
- Default: `"undefined"`
267
-
268
- ## `minHeight` (string,number)
269
-
270
- Indicates the min height of the authoring container
271
-
272
- Default: `"undefined"`
273
-
274
- ## `minWidth` (string,number)
275
-
276
- Indicates the min width of the authoring container
277
-
278
- Default: `"undefined"`
279
-
280
- Default: `": {}"`
281
-
282
- # `settingsPartialScoring` (boolean)
283
-
284
- Indicates whether the settings panel wil allow the author to modify settings for partial scoring
285
-
286
- Default: `true`
287
-
288
- ---
289
-
290
- # Sub Schemas
291
-
292
- The schema defines the following additional types:
293
-
294
- ## `EditableHtmlConfigureProp` (object)
295
-
296
- Properties of the `EditableHtmlConfigureProp` object:
297
-
298
- ### `math` (object)
299
-
300
- Properties of the `math` object:
301
-
302
- #### `disabled` (boolean)
303
-
304
- Indicates if the plugin is disabled or not
305
-
306
- ### `audio` (object)
307
-
308
- Properties of the `audio` object:
309
-
310
- #### `disabled` (boolean)
311
-
312
- Indicates if the plugin is disabled or not
313
-
314
- ### `video` (object)
315
-
316
- Properties of the `video` object:
317
-
318
- #### `disabled` (boolean)
319
-
320
- Indicates if the plugin is disabled or not
321
-
322
- ### `image` (object)
323
-
324
- Properties of the `image` object:
325
-
326
- #### `disabled` (boolean)
327
-
328
- Indicates if the plugin is disabled or not
329
-
330
- ### `customPlugins` (array)
331
-
332
- An array of objects that determine custom plugins.
333
- 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).
334
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
335
-
336
- The object is an array with all elements of the type `object`.
337
-
338
- The array object has the following properties:
339
-
340
- #### `event` (string, required)
341
-
342
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
343
- PIE will emit the event prefixed with "PIE-".
344
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
345
-
346
- #### `iconAlt` (string, required)
347
-
348
- The alt for the custom button icon
349
-
350
- #### `iconType` (string, required)
351
-
352
- The icon type.
353
- Currently, only "SVG" is supported.
354
-
355
- #### `icon` (string, required)
356
-
357
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
358
-
359
- ### `blockquote` (object)
360
-
361
- Properties of the `blockquote` object:
362
-
363
- #### `disabled` (boolean)
364
-
365
- Indicates if the plugin is disabled or not
366
-
367
- ### `h3` (object)
368
-
369
- Properties of the `h3` object:
370
-
371
- #### `disabled` (boolean)
372
-
373
- Indicates if the plugin is disabled or not
374
-
375
- ### `characters` (object)
376
-
377
- Properties of the `characters` object:
378
-
379
- #### `disabled` (boolean)
380
-
381
- Indicates if the plugin is disabled or not
382
-
383
- ### `bold` (object)
384
-
385
- Properties of the `bold` object:
386
-
387
- #### `disabled` (boolean)
388
-
389
- Indicates if the plugin is disabled or not
390
-
391
- ### `html` (object)
392
-
393
- Properties of the `html` object:
394
-
395
- #### `disabled` (boolean)
396
-
397
- Indicates if the plugin is disabled or not
398
-
399
- ### `italic` (object)
400
-
401
- Properties of the `italic` object:
402
-
403
- #### `disabled` (boolean)
404
-
405
- Indicates if the plugin is disabled or not
406
-
407
- ### `ol_list` (object)
408
-
409
- Properties of the `ol_list` object:
410
-
411
- #### `disabled` (boolean)
412
-
413
- Indicates if the plugin is disabled or not
414
-
415
- ### `redo` (object)
416
-
417
- Properties of the `redo` object:
418
-
419
- #### `disabled` (boolean)
420
-
421
- Indicates if the plugin is disabled or not
422
-
423
- ### `strikethrough` (object)
424
-
425
- Properties of the `strikethrough` object:
426
-
427
- #### `disabled` (boolean)
428
-
429
- Indicates if the plugin is disabled or not
430
-
431
- ### `sub` (object)
432
-
433
- Properties of the `sub` object:
434
-
435
- #### `disabled` (boolean)
436
-
437
- Indicates if the plugin is disabled or not
438
-
439
- ### `sup` (object)
440
-
441
- Properties of the `sup` object:
442
-
443
- #### `disabled` (boolean)
444
-
445
- Indicates if the plugin is disabled or not
446
-
447
- ### `table` (object)
448
-
449
- Properties of the `table` object:
450
-
451
- #### `disabled` (boolean)
452
-
453
- Indicates if the plugin is disabled or not
454
-
455
- ### `ul_list` (object)
456
-
457
- Properties of the `ul_list` object:
458
-
459
- #### `disabled` (boolean)
460
-
461
- Indicates if the plugin is disabled or not
462
-
463
- ### `underline` (object)
464
-
465
- Properties of the `underline` object:
466
-
467
- #### `disabled` (boolean)
468
-
469
- Indicates if the plugin is disabled or not
470
-
471
- ### `undo` (object)
472
-
473
- Properties of the `undo` object:
474
-
475
- #### `disabled` (boolean)
476
-
477
- Indicates if the plugin is disabled or not
478
-
479
- ## `EditableHtmlButtonConfigure` (object)
480
-
481
- Properties of the `EditableHtmlButtonConfigure` object:
482
-
483
- ### `disabled` (boolean)
484
-
485
- Indicates if the plugin is disabled or not
486
-
487
- ## `CustomPlugin` (object)
488
-
489
- Properties of the `CustomPlugin` object:
490
-
491
- ### `event` (string, required)
492
-
493
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
494
- PIE will emit the event prefixed with "PIE-".
495
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
496
-
497
- ### `iconAlt` (string, required)
498
-
499
- The alt for the custom button icon
500
-
501
- ### `iconType` (string, required)
502
-
503
- The icon type.
504
- Currently, only "SVG" is supported.
505
-
506
- ### `icon` (string, required)
507
-
508
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
509
-
510
- ## `ConfigureProp` (object)
511
-
512
- Properties of the `ConfigureProp` object:
513
-
514
- ### `settings` (boolean)
515
-
516
- Indicates if the item has to be displayed in the Settings Panel
517
-
518
- ### `label` (string)
519
-
520
- Indicates the label for the item that has to be displayed in the Settings Panel
521
-
522
- ## `ConfigureMathMLProp` (object)
523
-
524
- Properties of the `ConfigureMathMLProp` object:
525
-
526
- ### `mmlOutput` (number)
527
-
528
- Indicates if model should have mathML output instead of latex
529
-
530
- ### `mmlEditing` (number)
531
-
532
- Indicates if mathML that's already in model should be editable
@@ -1,8 +0,0 @@
1
- const { model } = require('./generate');
2
-
3
- module.exports = {
4
- elements: {
5
- 'pie-rubric': '../..',
6
- },
7
- models: [model('1', 'pie-rubric')],
8
- };
@@ -1,8 +0,0 @@
1
- exports.model = (id, element) => ({
2
- id,
3
- element,
4
- points: ['nothing right', 'a teeny bit right', 'mostly right', 'bingo'],
5
- sampleAnswers: [null, 'just right', 'not left', null],
6
- maxPoints: 3,
7
- excludeZero: false,
8
- });
@@ -1,2 +0,0 @@
1
- <p />
2
- <pie-rubric pie-id="1"></pie-rubric>