@pie-element/complex-rubric 2.10.1-next.11 → 2.10.1-next.12

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 (115) hide show
  1. package/configure/package.json +2 -2
  2. package/controller/package.json +1 -1
  3. package/module/configure.js +233613 -0
  4. package/module/controller.js +379 -0
  5. package/module/demo.js +221 -0
  6. package/module/element.js +231245 -0
  7. package/module/index.html +21 -0
  8. package/module/manifest.json +14 -0
  9. package/module/print-demo.js +259 -0
  10. package/module/print.html +18 -0
  11. package/module/print.js +231217 -0
  12. package/package.json +4 -4
  13. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  14. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -1383
  15. package/configure/node_modules/@pie-element/multi-trait-rubric/LICENSE.md +0 -5
  16. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  17. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  18. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -1270
  19. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -584
  20. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  21. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -143
  22. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -204
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -602
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -361
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -556
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -380
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -296
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -14
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -18
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -544
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -94
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -215
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -13
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -15
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -803
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -602
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -180
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -531
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -374
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -85
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  57. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -161
  58. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  59. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -330
  60. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  61. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -103
  62. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  63. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -24
  64. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  65. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -1640
  66. package/configure/node_modules/@pie-element/rubric/LICENSE.md +0 -5
  67. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  68. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  69. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -1471
  70. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -59
  71. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  72. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -194
  73. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  74. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -160
  75. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  76. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js +0 -555
  77. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js.map +0 -1
  78. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js +0 -24
  79. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js.map +0 -1
  80. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js +0 -172
  81. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js.map +0 -1
  82. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -17
  83. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -173
  84. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -39
  85. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -127
  86. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  87. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/authoring.jsx +0 -427
  88. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/index.js +0 -9
  89. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/point-menu.jsx +0 -94
  90. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  91. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -536
  92. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -51
  93. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  94. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -13
  95. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -31
  96. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -42
  97. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -382
  98. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -292
  99. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  100. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  101. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  102. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -226
  103. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -161
  104. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -88
  105. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  106. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -187
  107. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  108. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -114
  109. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  110. package/configure/node_modules/@pie-element/rubric/package.json +0 -26
  111. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -23003
  112. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -50
  113. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -34
  114. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -136
  115. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -63
@@ -1,602 +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
- # `expandedInput` (object)
71
-
72
- Properties of the `expandedInput` object:
73
-
74
- ## `inputConfiguration` (object)
75
-
76
- Properties of the `inputConfiguration` object:
77
-
78
- ### `math` (object)
79
-
80
- Properties of the `math` object:
81
-
82
- #### `disabled` (boolean)
83
-
84
- Indicates if the plugin is disabled or not
85
-
86
- ### `audio` (object)
87
-
88
- Properties of the `audio` object:
89
-
90
- #### `disabled` (boolean)
91
-
92
- Indicates if the plugin is disabled or not
93
-
94
- ### `video` (object)
95
-
96
- Properties of the `video` object:
97
-
98
- #### `disabled` (boolean)
99
-
100
- Indicates if the plugin is disabled or not
101
-
102
- ### `image` (object)
103
-
104
- Properties of the `image` object:
105
-
106
- #### `disabled` (boolean)
107
-
108
- Indicates if the plugin is disabled or not
109
-
110
- ### `customPlugins` (array)
111
-
112
- An array of objects that determine custom plugins.
113
- 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).
114
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
115
-
116
- The object is an array with all elements of the type `object`.
117
-
118
- The array object has the following properties:
119
-
120
- #### `event` (string, required)
121
-
122
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
123
- PIE will emit the event prefixed with "PIE-".
124
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
125
-
126
- #### `iconAlt` (string, required)
127
-
128
- The alt for the custom button icon
129
-
130
- #### `iconType` (string, required)
131
-
132
- The icon type.
133
- Currently, only "SVG" is supported.
134
-
135
- #### `icon` (string, required)
136
-
137
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
138
-
139
- ## `settings` (boolean)
140
-
141
- Indicates if the item has to be displayed in the Settings Panel
142
-
143
- ## `label` (string)
144
-
145
- Indicates the label for the item that has to be displayed in the Settings Panel
146
-
147
- # `labelInput` (object)
148
-
149
- Properties of the `labelInput` object:
150
-
151
- ## `inputConfiguration` (object)
152
-
153
- Properties of the `inputConfiguration` object:
154
-
155
- ### `math` (object)
156
-
157
- Properties of the `math` object:
158
-
159
- #### `disabled` (boolean)
160
-
161
- Indicates if the plugin is disabled or not
162
-
163
- ### `audio` (object)
164
-
165
- Properties of the `audio` object:
166
-
167
- #### `disabled` (boolean)
168
-
169
- Indicates if the plugin is disabled or not
170
-
171
- ### `video` (object)
172
-
173
- Properties of the `video` object:
174
-
175
- #### `disabled` (boolean)
176
-
177
- Indicates if the plugin is disabled or not
178
-
179
- ### `image` (object)
180
-
181
- Properties of the `image` object:
182
-
183
- #### `disabled` (boolean)
184
-
185
- Indicates if the plugin is disabled or not
186
-
187
- ### `customPlugins` (array)
188
-
189
- An array of objects that determine custom plugins.
190
- 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).
191
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
192
-
193
- The object is an array with all elements of the type `object`.
194
-
195
- The array object has the following properties:
196
-
197
- #### `event` (string, required)
198
-
199
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
200
- PIE will emit the event prefixed with "PIE-".
201
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
202
-
203
- #### `iconAlt` (string, required)
204
-
205
- The alt for the custom button icon
206
-
207
- #### `iconType` (string, required)
208
-
209
- The icon type.
210
- Currently, only "SVG" is supported.
211
-
212
- #### `icon` (string, required)
213
-
214
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
215
-
216
- ## `settings` (boolean)
217
-
218
- Indicates if the item has to be displayed in the Settings Panel
219
-
220
- ## `label` (string)
221
-
222
- Indicates the label for the item that has to be displayed in the Settings Panel
223
-
224
- # `excludeZeroDialogBoxContent` (object)
225
-
226
- Properties of the `excludeZeroDialogBoxContent` object:
227
-
228
- ## `title` (string)
229
-
230
- Dialog box title
231
-
232
- ## `text` (string)
233
-
234
- Dialog box text
235
-
236
- # `includeZeroDialogBoxContent` (object)
237
-
238
- Properties of the `includeZeroDialogBoxContent` object:
239
-
240
- ## `title` (string)
241
-
242
- Dialog box title
243
-
244
- ## `text` (string)
245
-
246
- Dialog box text
247
-
248
- # `deleteScaleDialogBoxContent` (object)
249
-
250
- Properties of the `deleteScaleDialogBoxContent` object:
251
-
252
- ## `title` (string)
253
-
254
- Dialog box title
255
-
256
- ## `text` (string)
257
-
258
- Dialog box text
259
-
260
- # `maxPointsDialogBoxContent` (object)
261
-
262
- Properties of the `maxPointsDialogBoxContent` object:
263
-
264
- ## `title` (string)
265
-
266
- Dialog box title
267
-
268
- ## `text` (string)
269
-
270
- Dialog box text
271
-
272
- # `settingsPanelDisabled` (boolean)
273
-
274
- Indicates if the settings panel is not available
275
-
276
- # `showExcludeZero` (object)
277
-
278
- Properties of the `showExcludeZero` object:
279
-
280
- ## `settings` (boolean)
281
-
282
- Indicates if the item has to be displayed in the Settings Panel
283
-
284
- ## `label` (string)
285
-
286
- Indicates the label for the item that has to be displayed in the Settings Panel
287
-
288
- # `showScorePointLabels` (object)
289
-
290
- Properties of the `showScorePointLabels` object:
291
-
292
- ## `settings` (boolean)
293
-
294
- Indicates if the item has to be displayed in the Settings Panel
295
-
296
- ## `label` (string)
297
-
298
- Indicates the label for the item that has to be displayed in the Settings Panel
299
-
300
- # `showDescription` (object)
301
-
302
- Properties of the `showDescription` object:
303
-
304
- ## `settings` (boolean)
305
-
306
- Indicates if the item has to be displayed in the Settings Panel
307
-
308
- ## `label` (string)
309
-
310
- Indicates the label for the item that has to be displayed in the Settings Panel
311
-
312
- # `showVisibleToStudent` (object)
313
-
314
- Properties of the `showVisibleToStudent` object:
315
-
316
- ## `settings` (boolean)
317
-
318
- Indicates if the item has to be displayed in the Settings Panel
319
-
320
- ## `label` (string)
321
-
322
- Indicates the label for the item that has to be displayed in the Settings Panel
323
-
324
- # `showHalfScoring` (object)
325
-
326
- Properties of the `showHalfScoring` object:
327
-
328
- ## `settings` (boolean)
329
-
330
- Indicates if the item has to be displayed in the Settings Panel
331
-
332
- ## `label` (string)
333
-
334
- Indicates the label for the item that has to be displayed in the Settings Panel
335
-
336
- # `spellCheck` (object)
337
-
338
- Properties of the `spellCheck` object:
339
-
340
- ## `settings` (boolean)
341
-
342
- Indicates if the item has to be displayed in the Settings Panel
343
-
344
- ## `label` (string)
345
-
346
- Indicates the label for the item that has to be displayed in the Settings Panel
347
-
348
- # `width` (string, required)
349
-
350
- How large (in px) should multi-trait-rubric be
351
-
352
- # `minNoOfTraits` (number)
353
-
354
- Minimum number of traits
355
-
356
- # `maxNoOfTraits` (number)
357
-
358
- Maximum number of traits
359
-
360
- # `minNoOfScales` (number)
361
-
362
- Minimum number of scales
363
-
364
- # `maxNoOfScales` (number)
365
-
366
- Maximum number of scales
367
-
368
- # `defaultTraitLabel` (string)
369
-
370
- The default trait label for new created scales.
371
- If it's not defined, it will default to the label of the first trait.
372
-
373
- # `mathMlOptions` (object)
374
-
375
- Properties of the `mathMlOptions` object:
376
-
377
- ## `mmlOutput` (number)
378
-
379
- Indicates if model should have mathML output instead of latex
380
-
381
- ## `mmlEditing` (number)
382
-
383
- Indicates if mathML that's already in model should be editable
384
-
385
- # `maxMaxPoints` (number)
386
-
387
- Indicates the max limit for scoring points
388
-
389
- ---
390
-
391
- # Sub Schemas
392
-
393
- The schema defines the following additional types:
394
-
395
- ## `EditableHtmlConfigureProp` (object)
396
-
397
- Properties of the `EditableHtmlConfigureProp` object:
398
-
399
- ### `math` (object)
400
-
401
- Properties of the `math` object:
402
-
403
- #### `disabled` (boolean)
404
-
405
- Indicates if the plugin is disabled or not
406
-
407
- ### `audio` (object)
408
-
409
- Properties of the `audio` object:
410
-
411
- #### `disabled` (boolean)
412
-
413
- Indicates if the plugin is disabled or not
414
-
415
- ### `video` (object)
416
-
417
- Properties of the `video` object:
418
-
419
- #### `disabled` (boolean)
420
-
421
- Indicates if the plugin is disabled or not
422
-
423
- ### `image` (object)
424
-
425
- Properties of the `image` object:
426
-
427
- #### `disabled` (boolean)
428
-
429
- Indicates if the plugin is disabled or not
430
-
431
- ### `customPlugins` (array)
432
-
433
- An array of objects that determine custom plugins.
434
- 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).
435
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
436
-
437
- The object is an array with all elements of the type `object`.
438
-
439
- The array object has the following properties:
440
-
441
- #### `event` (string, required)
442
-
443
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
444
- PIE will emit the event prefixed with "PIE-".
445
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
446
-
447
- #### `iconAlt` (string, required)
448
-
449
- The alt for the custom button icon
450
-
451
- #### `iconType` (string, required)
452
-
453
- The icon type.
454
- Currently, only "SVG" is supported.
455
-
456
- #### `icon` (string, required)
457
-
458
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
459
-
460
- ## `EditableHtmlButtonConfigure` (object)
461
-
462
- Properties of the `EditableHtmlButtonConfigure` object:
463
-
464
- ### `disabled` (boolean)
465
-
466
- Indicates if the plugin is disabled or not
467
-
468
- ## `CustomPlugin` (object)
469
-
470
- Properties of the `CustomPlugin` object:
471
-
472
- ### `event` (string, required)
473
-
474
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
475
- PIE will emit the event prefixed with "PIE-".
476
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
477
-
478
- ### `iconAlt` (string, required)
479
-
480
- The alt for the custom button icon
481
-
482
- ### `iconType` (string, required)
483
-
484
- The icon type.
485
- Currently, only "SVG" is supported.
486
-
487
- ### `icon` (string, required)
488
-
489
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
490
-
491
- ## `EditableHtmlPluginConfigure` (object)
492
-
493
- Properties of the `EditableHtmlPluginConfigure` object:
494
-
495
- ### `inputConfiguration` (object)
496
-
497
- Properties of the `inputConfiguration` object:
498
-
499
- #### `math` (object)
500
-
501
- Properties of the `math` object:
502
-
503
- ##### `disabled` (boolean)
504
-
505
- Indicates if the plugin is disabled or not
506
-
507
- #### `audio` (object)
508
-
509
- Properties of the `audio` object:
510
-
511
- ##### `disabled` (boolean)
512
-
513
- Indicates if the plugin is disabled or not
514
-
515
- #### `video` (object)
516
-
517
- Properties of the `video` object:
518
-
519
- ##### `disabled` (boolean)
520
-
521
- Indicates if the plugin is disabled or not
522
-
523
- #### `image` (object)
524
-
525
- Properties of the `image` object:
526
-
527
- ##### `disabled` (boolean)
528
-
529
- Indicates if the plugin is disabled or not
530
-
531
- #### `customPlugins` (array)
532
-
533
- An array of objects that determine custom plugins.
534
- 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).
535
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
536
-
537
- The object is an array with all elements of the type `object`.
538
-
539
- The array object has the following properties:
540
-
541
- ##### `event` (string, required)
542
-
543
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
544
- PIE will emit the event prefixed with "PIE-".
545
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
546
-
547
- ##### `iconAlt` (string, required)
548
-
549
- The alt for the custom button icon
550
-
551
- ##### `iconType` (string, required)
552
-
553
- The icon type.
554
- Currently, only "SVG" is supported.
555
-
556
- ##### `icon` (string, required)
557
-
558
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
559
-
560
- ### `settings` (boolean)
561
-
562
- Indicates if the item has to be displayed in the Settings Panel
563
-
564
- ### `label` (string)
565
-
566
- Indicates the label for the item that has to be displayed in the Settings Panel
567
-
568
- ## `DialogContent` (object)
569
-
570
- Properties of the `DialogContent` object:
571
-
572
- ### `title` (string)
573
-
574
- Dialog box title
575
-
576
- ### `text` (string)
577
-
578
- Dialog box text
579
-
580
- ## `ConfigureProp` (object)
581
-
582
- Properties of the `ConfigureProp` object:
583
-
584
- ### `settings` (boolean)
585
-
586
- Indicates if the item has to be displayed in the Settings Panel
587
-
588
- ### `label` (string)
589
-
590
- Indicates the label for the item that has to be displayed in the Settings Panel
591
-
592
- ## `ConfigureMathMLProp` (object)
593
-
594
- Properties of the `ConfigureMathMLProp` object:
595
-
596
- ### `mmlOutput` (number)
597
-
598
- Indicates if model should have mathML output instead of latex
599
-
600
- ### `mmlEditing` (number)
601
-
602
- 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
- 'multi-trait-rubric': '../..',
6
- },
7
- models: [model('1', 'multi-trait-rubric')],
8
- };