@pie-element/ebsr 7.0.24-next.2 → 7.0.26

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 (137) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/{configure/node_modules/@pie-element/multiple-choice/LICENSE.md → LICENSE.md} +0 -0
  3. package/configure/CHANGELOG.md +48 -0
  4. package/configure/package.json +3 -3
  5. package/controller/CHANGELOG.md +8 -0
  6. package/controller/package.json +1 -1
  7. package/package.json +3 -3
  8. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +0 -1972
  9. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +0 -1793
  10. package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +0 -35
  11. package/configure/node_modules/@pie-element/multiple-choice/README.md +0 -56
  12. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +0 -1387
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +0 -1334
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +0 -104
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +0 -1
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +0 -198
  18. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +0 -1
  19. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +0 -599
  20. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +0 -1
  21. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +0 -18
  22. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +0 -1
  23. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +0 -20
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +0 -527
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +0 -768
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +0 -18
  27. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +0 -1
  28. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +0 -305
  29. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +0 -36
  31. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +0 -1
  32. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +0 -15
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +0 -353
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +0 -277
  35. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +0 -8
  36. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +0 -52
  37. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +0 -1
  38. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +0 -7
  39. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +0 -338
  40. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +0 -274
  41. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +0 -298
  42. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +0 -1
  43. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +0 -157
  44. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +0 -1
  45. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +0 -174
  46. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +0 -1
  47. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +0 -151
  48. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +0 -1
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +0 -97
  50. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +0 -1
  51. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +0 -254
  52. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +0 -1
  53. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +0 -129
  54. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +0 -1
  55. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +0 -35
  56. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +0 -1
  57. package/configure/node_modules/@pie-element/multiple-choice/module/configure.js +0 -843
  58. package/configure/node_modules/@pie-element/multiple-choice/module/controller.js +0 -20686
  59. package/configure/node_modules/@pie-element/multiple-choice/module/demo.js +0 -77
  60. package/configure/node_modules/@pie-element/multiple-choice/module/element.js +0 -2019
  61. package/configure/node_modules/@pie-element/multiple-choice/module/index.html +0 -21
  62. package/configure/node_modules/@pie-element/multiple-choice/module/manifest.json +0 -14
  63. package/configure/node_modules/@pie-element/multiple-choice/module/print-demo.js +0 -115
  64. package/configure/node_modules/@pie-element/multiple-choice/module/print.html +0 -18
  65. package/configure/node_modules/@pie-element/multiple-choice/module/print.js +0 -1983
  66. package/configure/node_modules/@pie-element/multiple-choice/package.json +0 -34
  67. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +0 -672
  68. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +0 -427
  69. package/configure/node_modules/@pie-lib/math-rendering/LICENSE.md +0 -5
  70. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +0 -30
  71. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +0 -1
  72. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +0 -316
  73. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +0 -1
  74. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +0 -23
  75. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +0 -1
  76. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +0 -123
  77. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +0 -1
  78. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +0 -103
  79. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +0 -1
  80. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +0 -275
  81. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +0 -1
  82. package/configure/node_modules/@pie-lib/math-rendering/package.json +0 -19
  83. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.html +0 -872
  84. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.js +0 -108
  85. package/configure/node_modules/@pie-lib/math-rendering/playground/main.html +0 -156
  86. package/configure/node_modules/@pie-lib/math-rendering/playground/main.js +0 -16
  87. package/configure/node_modules/@pie-lib/math-rendering/playground/webpack.config.js +0 -29
  88. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +0 -4
  89. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +0 -215
  90. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +0 -13
  91. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +0 -24
  92. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +0 -69
  93. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +0 -234
  94. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +0 -937
  95. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +0 -602
  96. package/configure/node_modules/@pie-lib/render-ui/LICENSE.md +0 -5
  97. package/configure/node_modules/@pie-lib/render-ui/README.md +0 -33
  98. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +0 -146
  99. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +0 -1
  100. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +0 -134
  101. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +0 -1
  102. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +0 -160
  103. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +0 -1
  104. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +0 -24
  105. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +0 -1
  106. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +0 -102
  107. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +0 -1
  108. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +0 -104
  109. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +0 -1
  110. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +0 -60
  111. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +0 -1
  112. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +0 -133
  113. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +0 -1
  114. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +0 -162
  115. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +0 -1
  116. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +0 -28
  117. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +0 -1
  118. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +0 -28
  119. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +0 -1
  120. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +0 -160
  121. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +0 -1
  122. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +0 -206
  123. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +0 -1
  124. package/configure/node_modules/@pie-lib/render-ui/package.json +0 -30
  125. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +0 -68
  126. package/configure/node_modules/@pie-lib/render-ui/src/color.js +0 -48
  127. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +0 -100
  128. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +0 -14
  129. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +0 -40
  130. package/configure/node_modules/@pie-lib/render-ui/src/index.js +0 -27
  131. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +0 -41
  132. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +0 -77
  133. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +0 -90
  134. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +0 -19
  135. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +0 -19
  136. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +0 -89
  137. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +0 -118
@@ -1,353 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/multiple-choice",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "answerChoiceCount": {
7
- "description": "The number of empty choices to show in config view if no choice model is provided",
8
- "minimum": 1,
9
- "default": 4,
10
- "type": "number",
11
- "title": "answerChoiceCount"
12
- },
13
- "addChoiceButton": {
14
- "title": "ConfigureProp",
15
- "type": "object",
16
- "properties": {
17
- "settings": {
18
- "description": "Indicates if the item has to be displayed in the Settings Panel",
19
- "type": "boolean",
20
- "title": "settings"
21
- },
22
- "label": {
23
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
24
- "type": "string",
25
- "title": "label"
26
- }
27
- }
28
- },
29
- "choiceMode": {
30
- "title": "ConfigureProp",
31
- "type": "object",
32
- "properties": {
33
- "settings": {
34
- "description": "Indicates if the item has to be displayed in the Settings Panel",
35
- "type": "boolean",
36
- "title": "settings"
37
- },
38
- "label": {
39
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
40
- "type": "string",
41
- "title": "label"
42
- }
43
- }
44
- },
45
- "choicePrefix": {
46
- "title": "ConfigureProp",
47
- "type": "object",
48
- "properties": {
49
- "settings": {
50
- "description": "Indicates if the item has to be displayed in the Settings Panel",
51
- "type": "boolean",
52
- "title": "settings"
53
- },
54
- "label": {
55
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
56
- "type": "string",
57
- "title": "label"
58
- }
59
- }
60
- },
61
- "deleteChoice": {
62
- "title": "ConfigureProp",
63
- "type": "object",
64
- "properties": {
65
- "settings": {
66
- "description": "Indicates if the item has to be displayed in the Settings Panel",
67
- "type": "boolean",
68
- "title": "settings"
69
- },
70
- "label": {
71
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
72
- "type": "string",
73
- "title": "label"
74
- }
75
- }
76
- },
77
- "feedback": {
78
- "title": "ConfigureProp",
79
- "type": "object",
80
- "properties": {
81
- "settings": {
82
- "description": "Indicates if the item has to be displayed in the Settings Panel",
83
- "type": "boolean",
84
- "title": "settings"
85
- },
86
- "label": {
87
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
88
- "type": "string",
89
- "title": "label"
90
- }
91
- }
92
- },
93
- "prompt": {
94
- "title": "ConfigureProp",
95
- "type": "object",
96
- "properties": {
97
- "settings": {
98
- "description": "Indicates if the item has to be displayed in the Settings Panel",
99
- "type": "boolean",
100
- "title": "settings"
101
- },
102
- "label": {
103
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
104
- "type": "string",
105
- "title": "label"
106
- }
107
- }
108
- },
109
- "spellCheck": {
110
- "title": "ConfigureProp",
111
- "type": "object",
112
- "properties": {
113
- "settings": {
114
- "description": "Indicates if the item has to be displayed in the Settings Panel",
115
- "type": "boolean",
116
- "title": "settings"
117
- },
118
- "label": {
119
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
120
- "type": "string",
121
- "title": "label"
122
- }
123
- }
124
- },
125
- "choicesLayout": {
126
- "title": "ConfigureProp",
127
- "type": "object",
128
- "properties": {
129
- "settings": {
130
- "description": "Indicates if the item has to be displayed in the Settings Panel",
131
- "type": "boolean",
132
- "title": "settings"
133
- },
134
- "label": {
135
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
136
- "type": "string",
137
- "title": "label"
138
- }
139
- }
140
- },
141
- "gridColumns": {
142
- "title": "ConfigureProp",
143
- "type": "object",
144
- "properties": {
145
- "settings": {
146
- "description": "Indicates if the item has to be displayed in the Settings Panel",
147
- "type": "boolean",
148
- "title": "settings"
149
- },
150
- "label": {
151
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
152
- "type": "string",
153
- "title": "label"
154
- }
155
- }
156
- },
157
- "lockChoiceOrder": {
158
- "title": "ConfigureProp",
159
- "type": "object",
160
- "properties": {
161
- "settings": {
162
- "description": "Indicates if the item has to be displayed in the Settings Panel",
163
- "type": "boolean",
164
- "title": "settings"
165
- },
166
- "label": {
167
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
168
- "type": "string",
169
- "title": "label"
170
- }
171
- }
172
- },
173
- "partialScoring": {
174
- "title": "ConfigureProp",
175
- "type": "object",
176
- "properties": {
177
- "settings": {
178
- "description": "Indicates if the item has to be displayed in the Settings Panel",
179
- "type": "boolean",
180
- "title": "settings"
181
- },
182
- "label": {
183
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
184
- "type": "string",
185
- "title": "label"
186
- }
187
- }
188
- },
189
- "rationale": {
190
- "title": "ConfigureProp",
191
- "type": "object",
192
- "properties": {
193
- "settings": {
194
- "description": "Indicates if the item has to be displayed in the Settings Panel",
195
- "type": "boolean",
196
- "title": "settings"
197
- },
198
- "label": {
199
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
200
- "type": "string",
201
- "title": "label"
202
- }
203
- }
204
- },
205
- "scoringType": {
206
- "title": "ConfigureProp",
207
- "type": "object",
208
- "properties": {
209
- "settings": {
210
- "description": "Indicates if the item has to be displayed in the Settings Panel",
211
- "type": "boolean",
212
- "title": "settings"
213
- },
214
- "label": {
215
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
216
- "type": "string",
217
- "title": "label"
218
- }
219
- }
220
- },
221
- "studentInstructions": {
222
- "title": "ConfigureProp",
223
- "type": "object",
224
- "properties": {
225
- "settings": {
226
- "description": "Indicates if the item has to be displayed in the Settings Panel",
227
- "type": "boolean",
228
- "title": "settings"
229
- },
230
- "label": {
231
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
232
- "type": "string",
233
- "title": "label"
234
- }
235
- }
236
- },
237
- "teacherInstructions": {
238
- "title": "ConfigureProp",
239
- "type": "object",
240
- "properties": {
241
- "settings": {
242
- "description": "Indicates if the item has to be displayed in the Settings Panel",
243
- "type": "boolean",
244
- "title": "settings"
245
- },
246
- "label": {
247
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
248
- "type": "string",
249
- "title": "label"
250
- }
251
- }
252
- },
253
- "sequentialChoiceLabels": {
254
- "title": "ConfigurePropWithEnabled",
255
- "type": "object",
256
- "properties": {
257
- "settings": {
258
- "description": "Indicates if the item has to be displayed in the Settings Panel",
259
- "type": "boolean",
260
- "title": "settings"
261
- },
262
- "label": {
263
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
264
- "type": "string",
265
- "title": "label"
266
- },
267
- "enabled": {
268
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
269
- "type": "boolean",
270
- "title": "enabled"
271
- }
272
- }
273
- },
274
- "accessibility": {
275
- "title": "ConfigureProp",
276
- "type": "object",
277
- "properties": {
278
- "settings": {
279
- "description": "Indicates if the item has to be displayed in the Settings Panel",
280
- "type": "boolean",
281
- "title": "settings"
282
- },
283
- "label": {
284
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
285
- "type": "string",
286
- "title": "label"
287
- }
288
- }
289
- },
290
- "minAnswerChoices": {
291
- "description": "Minimum number of answer choices",
292
- "type": "number",
293
- "title": "minAnswerChoices"
294
- },
295
- "maxAnswerChoices": {
296
- "description": "Maximum number of answer choices",
297
- "type": "number",
298
- "title": "maxAnswerChoices"
299
- },
300
- "showPrompt": {
301
- "description": "Determines whether prompt field will be displayed or not",
302
- "default": true,
303
- "type": "boolean",
304
- "title": "showPrompt"
305
- },
306
- "promptLabel": {
307
- "description": "The label for the item stem/prompt field",
308
- "default": "Item Stemm",
309
- "type": "string",
310
- "title": "promptLabel"
311
- }
312
- },
313
- "definitions": {
314
- "ConfigureProp": {
315
- "title": "ConfigureProp",
316
- "type": "object",
317
- "properties": {
318
- "settings": {
319
- "description": "Indicates if the item has to be displayed in the Settings Panel",
320
- "type": "boolean",
321
- "title": "settings"
322
- },
323
- "label": {
324
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
325
- "type": "string",
326
- "title": "label"
327
- }
328
- }
329
- },
330
- "ConfigurePropWithEnabled": {
331
- "title": "ConfigurePropWithEnabled",
332
- "type": "object",
333
- "properties": {
334
- "settings": {
335
- "description": "Indicates if the item has to be displayed in the Settings Panel",
336
- "type": "boolean",
337
- "title": "settings"
338
- },
339
- "label": {
340
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
341
- "type": "string",
342
- "title": "label"
343
- },
344
- "enabled": {
345
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
346
- "type": "boolean",
347
- "title": "enabled"
348
- }
349
- }
350
- }
351
- },
352
- "$schema": "http://json-schema.org/draft-07/schema#"
353
- }
@@ -1,277 +0,0 @@
1
- Config Object for @pie-elements/multiple-choice
2
-
3
- The schema defines the following properties:
4
-
5
- # `answerChoiceCount` (number)
6
-
7
- The number of empty choices to show in config view if no choice model is provided
8
-
9
- Default: `4`
10
-
11
- Additional restrictions:
12
-
13
- * Minimum: `1`
14
-
15
- # `addChoiceButton` (object)
16
-
17
- Properties of the `addChoiceButton` object:
18
-
19
- ## `settings` (boolean)
20
-
21
- Indicates if the item has to be displayed in the Settings Panel
22
-
23
- ## `label` (string)
24
-
25
- Indicates the label for the item that has to be displayed in the Settings Panel
26
-
27
- # `choiceMode` (object)
28
-
29
- Properties of the `choiceMode` object:
30
-
31
- ## `settings` (boolean)
32
-
33
- Indicates if the item has to be displayed in the Settings Panel
34
-
35
- ## `label` (string)
36
-
37
- Indicates the label for the item that has to be displayed in the Settings Panel
38
-
39
- # `choicePrefix` (object)
40
-
41
- Properties of the `choicePrefix` object:
42
-
43
- ## `settings` (boolean)
44
-
45
- Indicates if the item has to be displayed in the Settings Panel
46
-
47
- ## `label` (string)
48
-
49
- Indicates the label for the item that has to be displayed in the Settings Panel
50
-
51
- # `deleteChoice` (object)
52
-
53
- Properties of the `deleteChoice` object:
54
-
55
- ## `settings` (boolean)
56
-
57
- Indicates if the item has to be displayed in the Settings Panel
58
-
59
- ## `label` (string)
60
-
61
- Indicates the label for the item that has to be displayed in the Settings Panel
62
-
63
- # `feedback` (object)
64
-
65
- Properties of the `feedback` object:
66
-
67
- ## `settings` (boolean)
68
-
69
- Indicates if the item has to be displayed in the Settings Panel
70
-
71
- ## `label` (string)
72
-
73
- Indicates the label for the item that has to be displayed in the Settings Panel
74
-
75
- # `prompt` (object)
76
-
77
- Properties of the `prompt` object:
78
-
79
- ## `settings` (boolean)
80
-
81
- Indicates if the item has to be displayed in the Settings Panel
82
-
83
- ## `label` (string)
84
-
85
- Indicates the label for the item that has to be displayed in the Settings Panel
86
-
87
- # `spellCheck` (object)
88
-
89
- Properties of the `spellCheck` object:
90
-
91
- ## `settings` (boolean)
92
-
93
- Indicates if the item has to be displayed in the Settings Panel
94
-
95
- ## `label` (string)
96
-
97
- Indicates the label for the item that has to be displayed in the Settings Panel
98
-
99
- # `choicesLayout` (object)
100
-
101
- Properties of the `choicesLayout` object:
102
-
103
- ## `settings` (boolean)
104
-
105
- Indicates if the item has to be displayed in the Settings Panel
106
-
107
- ## `label` (string)
108
-
109
- Indicates the label for the item that has to be displayed in the Settings Panel
110
-
111
- # `gridColumns` (object)
112
-
113
- Properties of the `gridColumns` object:
114
-
115
- ## `settings` (boolean)
116
-
117
- Indicates if the item has to be displayed in the Settings Panel
118
-
119
- ## `label` (string)
120
-
121
- Indicates the label for the item that has to be displayed in the Settings Panel
122
-
123
- # `lockChoiceOrder` (object)
124
-
125
- Properties of the `lockChoiceOrder` object:
126
-
127
- ## `settings` (boolean)
128
-
129
- Indicates if the item has to be displayed in the Settings Panel
130
-
131
- ## `label` (string)
132
-
133
- Indicates the label for the item that has to be displayed in the Settings Panel
134
-
135
- # `partialScoring` (object)
136
-
137
- Properties of the `partialScoring` object:
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
- # `rationale` (object)
148
-
149
- Properties of the `rationale` object:
150
-
151
- ## `settings` (boolean)
152
-
153
- Indicates if the item has to be displayed in the Settings Panel
154
-
155
- ## `label` (string)
156
-
157
- Indicates the label for the item that has to be displayed in the Settings Panel
158
-
159
- # `scoringType` (object)
160
-
161
- Properties of the `scoringType` object:
162
-
163
- ## `settings` (boolean)
164
-
165
- Indicates if the item has to be displayed in the Settings Panel
166
-
167
- ## `label` (string)
168
-
169
- Indicates the label for the item that has to be displayed in the Settings Panel
170
-
171
- # `studentInstructions` (object)
172
-
173
- Properties of the `studentInstructions` object:
174
-
175
- ## `settings` (boolean)
176
-
177
- Indicates if the item has to be displayed in the Settings Panel
178
-
179
- ## `label` (string)
180
-
181
- Indicates the label for the item that has to be displayed in the Settings Panel
182
-
183
- # `teacherInstructions` (object)
184
-
185
- Properties of the `teacherInstructions` object:
186
-
187
- ## `settings` (boolean)
188
-
189
- Indicates if the item has to be displayed in the Settings Panel
190
-
191
- ## `label` (string)
192
-
193
- Indicates the label for the item that has to be displayed in the Settings Panel
194
-
195
- # `sequentialChoiceLabels` (object)
196
-
197
- Properties of the `sequentialChoiceLabels` object:
198
-
199
- ## `settings` (boolean)
200
-
201
- Indicates if the item has to be displayed in the Settings Panel
202
-
203
- ## `label` (string)
204
-
205
- Indicates the label for the item that has to be displayed in the Settings Panel
206
-
207
- ## `enabled` (boolean)
208
-
209
- Indicates the value of the item if it affects config-ui
210
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
211
-
212
- # `accessibility` (object)
213
-
214
- Properties of the `accessibility` object:
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
- # `minAnswerChoices` (number)
225
-
226
- Minimum number of answer choices
227
-
228
- # `maxAnswerChoices` (number)
229
-
230
- Maximum number of answer choices
231
-
232
- # `showPrompt` (boolean)
233
-
234
- Determines whether prompt field will be displayed or not
235
-
236
- Default: `true`
237
-
238
- # `promptLabel` (string)
239
-
240
- The label for the item stem/prompt field
241
-
242
- Default: `"Item Stemm"`
243
-
244
- ---
245
-
246
- # Sub Schemas
247
-
248
- The schema defines the following additional types:
249
-
250
- ## `ConfigureProp` (object)
251
-
252
- Properties of the `ConfigureProp` object:
253
-
254
- ### `settings` (boolean)
255
-
256
- Indicates if the item has to be displayed in the Settings Panel
257
-
258
- ### `label` (string)
259
-
260
- Indicates the label for the item that has to be displayed in the Settings Panel
261
-
262
- ## `ConfigurePropWithEnabled` (object)
263
-
264
- Properties of the `ConfigurePropWithEnabled` object:
265
-
266
- ### `settings` (boolean)
267
-
268
- Indicates if the item has to be displayed in the Settings Panel
269
-
270
- ### `label` (string)
271
-
272
- Indicates the label for the item that has to be displayed in the Settings Panel
273
-
274
- ### `enabled` (boolean)
275
-
276
- Indicates the value of the item if it affects config-ui
277
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
@@ -1,8 +0,0 @@
1
- const { model } = require('./generate');
2
-
3
- module.exports = {
4
- elements: {
5
- 'multiple-choice': '../..'
6
- },
7
- models: [model('1', 'multiple-choice')]
8
- };
@@ -1,52 +0,0 @@
1
- exports.model = (id, element) => ({
2
- id,
3
- element,
4
- choiceMode: 'checkbox',
5
- choicePrefix: 'numbers',
6
- choices: [
7
- {
8
- correct: true,
9
- value: 'sweden',
10
- label: 'Sweden',
11
- feedback: {
12
- type: 'none',
13
- value: ''
14
- },
15
- accessibility: 'sweden'
16
- },
17
- {
18
- value: 'iceland',
19
- label: 'Iceland',
20
- feedback: {
21
- type: 'none',
22
- value: ''
23
- },
24
- rationale: 'Rationale for Iceland',
25
- accessibility: 'iceland'
26
- },
27
- {
28
- value: 'norway',
29
- label: 'Norway',
30
- feedback: {
31
- type: 'none',
32
- value: ''
33
- },
34
- rationale: 'Rationale for Norway',
35
- accessibility: 'norway'
36
- },
37
- {
38
- correct: true,
39
- value: 'finland',
40
- label: 'Finland',
41
- feedback: {
42
- type: 'none',
43
- value: ''
44
- },
45
- rationale: 'Rationale for Finland',
46
- accessibility: 'finland'
47
- }
48
- ],
49
- prompt: 'Which of these northern European countries are EU members? <math><mstack><msrow><mn>111</mn></msrow><msline/></mstack></math>',
50
- promptEnabled: true,
51
- toolbarEditorPosition: 'bottom'
52
- });
@@ -1 +0,0 @@
1
- <multiple-choice pie-id="1"> </multiple-choice>
@@ -1,7 +0,0 @@
1
- module.exports = [
2
- {
3
- id: '1',
4
- element: 'multiple-choice',
5
- // value: ['iceland', 'norway']
6
- }
7
- ];