@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,338 +0,0 @@
1
- {
2
- "description": "Model for the Choice Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "choiceMode": {
7
- "description": "Indicates the choices are single or multiple selection",
8
- "enum": [
9
- "checkbox",
10
- "radio"
11
- ],
12
- "type": "string",
13
- "title": "choiceMode"
14
- },
15
- "choicePrefix": {
16
- "description": "What key should be displayed before choices. If undefined no key will be displayed.",
17
- "default": ": 'letters'",
18
- "enum": [
19
- "letters",
20
- "numbers"
21
- ],
22
- "type": "string",
23
- "title": "choicePrefix"
24
- },
25
- "choices": {
26
- "description": "The choice options for the question",
27
- "type": "array",
28
- "items": {
29
- "title": "Choice",
30
- "type": "object",
31
- "properties": {
32
- "correct": {
33
- "description": "Indicates if the choice is correct",
34
- "type": "boolean",
35
- "title": "correct"
36
- },
37
- "value": {
38
- "description": "the value that will be stored if this choice is selected",
39
- "type": "string",
40
- "title": "value"
41
- },
42
- "label": {
43
- "description": "the text label that will be presented to the user for this choice",
44
- "type": "string",
45
- "title": "label"
46
- },
47
- "feedback": {
48
- "description": "The type of feedback to use:\n `default` = a standard feedback message\n `custom` = a customized feedback message",
49
- "title": "Feedback",
50
- "type": "object",
51
- "properties": {
52
- "type": {
53
- "default": "default",
54
- "enum": [
55
- "custom",
56
- "default",
57
- "none"
58
- ],
59
- "type": "string",
60
- "title": "type"
61
- },
62
- "value": {
63
- "description": "Value for feedback",
64
- "type": "string",
65
- "title": "value"
66
- },
67
- "custom": {
68
- "description": "Custom value for feedback",
69
- "type": "string",
70
- "title": "custom"
71
- }
72
- },
73
- "required": [
74
- "type"
75
- ]
76
- },
77
- "rationale": {
78
- "description": "Rationale for the Choice",
79
- "type": "string",
80
- "title": "rationale"
81
- }
82
- },
83
- "required": [
84
- "label",
85
- "value"
86
- ]
87
- },
88
- "title": "choices"
89
- },
90
- "prompt": {
91
- "description": "The question prompt or item stem",
92
- "type": "string",
93
- "title": "prompt"
94
- },
95
- "promptEnabled": {
96
- "description": "Determines if prompt should show",
97
- "type": "boolean",
98
- "title": "promptEnabled"
99
- },
100
- "choicesLayout": {
101
- "description": "Indicates the layout of choices for player",
102
- "default": ": 'vertical'",
103
- "enum": [
104
- "grid",
105
- "horizontal",
106
- "vertical"
107
- ],
108
- "type": "string",
109
- "title": "choicesLayout"
110
- },
111
- "gridColumns": {
112
- "description": "Indicates the number of columns for the grid layout",
113
- "default": ": 2",
114
- "type": "number",
115
- "title": "gridColumns"
116
- },
117
- "toolbarEditorPosition": {
118
- "description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
119
- "default": ": 'bottom'",
120
- "enum": [
121
- "bottom",
122
- "top"
123
- ],
124
- "type": "string",
125
- "title": "toolbarEditorPosition"
126
- },
127
- "lockChoiceOrder": {
128
- "description": "Indicates the order of choices should be randomly ordered when presented to user",
129
- "type": "boolean",
130
- "title": "lockChoiceOrder"
131
- },
132
- "partialScoring": {
133
- "description": "Indicates that the item should use partial scoring",
134
- "type": "boolean",
135
- "title": "partialScoring"
136
- },
137
- "scoringType": {
138
- "description": "Indicates scoring type",
139
- "enum": [
140
- "auto",
141
- "rubric"
142
- ],
143
- "type": "string",
144
- "title": "scoringType"
145
- },
146
- "studentInstructions": {
147
- "description": "Indicates student instructions",
148
- "type": "string",
149
- "title": "studentInstructions"
150
- },
151
- "teacherInstructions": {
152
- "description": "Indicates teacher instructions",
153
- "type": "string",
154
- "title": "teacherInstructions"
155
- },
156
- "feedbackEnabled": {
157
- "description": "Indicates if feedback is enabled",
158
- "type": "boolean",
159
- "title": "feedbackEnabled"
160
- },
161
- "rationaleEnabled": {
162
- "description": "Indicates if Rationale are enabled",
163
- "type": "boolean",
164
- "title": "rationaleEnabled"
165
- },
166
- "spellCheckEnabled": {
167
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
168
- "type": "boolean",
169
- "title": "spellCheckEnabled"
170
- },
171
- "studentInstructionsEnabled": {
172
- "description": "Indicates if Student Instructions are enabled",
173
- "type": "boolean",
174
- "title": "studentInstructionsEnabled"
175
- },
176
- "teacherInstructionsEnabled": {
177
- "description": "Indicates if Teacher Instructions are enabled",
178
- "type": "boolean",
179
- "title": "teacherInstructionsEnabled"
180
- },
181
- "accessibilityLabelsEnabled": {
182
- "description": "Indicates if Accessibility Labels are enabled",
183
- "type": "boolean",
184
- "title": "accessibilityLabelsEnabled"
185
- },
186
- "id": {
187
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
188
- "type": "string",
189
- "title": "id"
190
- },
191
- "element": {
192
- "description": "The html Element tag name",
193
- "type": "string",
194
- "title": "element"
195
- }
196
- },
197
- "required": [
198
- "accessibilityLabelsEnabled",
199
- "choices",
200
- "element",
201
- "feedbackEnabled",
202
- "id",
203
- "rationaleEnabled",
204
- "spellCheckEnabled",
205
- "studentInstructionsEnabled",
206
- "teacherInstructionsEnabled"
207
- ],
208
- "definitions": {
209
- "ConfigureProp": {
210
- "title": "ConfigureProp",
211
- "type": "object",
212
- "properties": {
213
- "settings": {
214
- "description": "Indicates if the item has to be displayed in the Settings Panel",
215
- "type": "boolean",
216
- "title": "settings"
217
- },
218
- "label": {
219
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
220
- "type": "string",
221
- "title": "label"
222
- }
223
- }
224
- },
225
- "ConfigurePropWithEnabled": {
226
- "title": "ConfigurePropWithEnabled",
227
- "type": "object",
228
- "properties": {
229
- "settings": {
230
- "description": "Indicates if the item has to be displayed in the Settings Panel",
231
- "type": "boolean",
232
- "title": "settings"
233
- },
234
- "label": {
235
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
236
- "type": "string",
237
- "title": "label"
238
- },
239
- "enabled": {
240
- "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)",
241
- "type": "boolean",
242
- "title": "enabled"
243
- }
244
- }
245
- },
246
- "Choice": {
247
- "title": "Choice",
248
- "type": "object",
249
- "properties": {
250
- "correct": {
251
- "description": "Indicates if the choice is correct",
252
- "type": "boolean",
253
- "title": "correct"
254
- },
255
- "value": {
256
- "description": "the value that will be stored if this choice is selected",
257
- "type": "string",
258
- "title": "value"
259
- },
260
- "label": {
261
- "description": "the text label that will be presented to the user for this choice",
262
- "type": "string",
263
- "title": "label"
264
- },
265
- "feedback": {
266
- "description": "The type of feedback to use:\n `default` = a standard feedback message\n `custom` = a customized feedback message",
267
- "title": "Feedback",
268
- "type": "object",
269
- "properties": {
270
- "type": {
271
- "default": "default",
272
- "enum": [
273
- "custom",
274
- "default",
275
- "none"
276
- ],
277
- "type": "string",
278
- "title": "type"
279
- },
280
- "value": {
281
- "description": "Value for feedback",
282
- "type": "string",
283
- "title": "value"
284
- },
285
- "custom": {
286
- "description": "Custom value for feedback",
287
- "type": "string",
288
- "title": "custom"
289
- }
290
- },
291
- "required": [
292
- "type"
293
- ]
294
- },
295
- "rationale": {
296
- "description": "Rationale for the Choice",
297
- "type": "string",
298
- "title": "rationale"
299
- }
300
- },
301
- "required": [
302
- "label",
303
- "value"
304
- ]
305
- },
306
- "Feedback": {
307
- "description": "The type of feedback to use:\n `default` = a standard feedback message\n `custom` = a customized feedback message",
308
- "title": "Feedback",
309
- "type": "object",
310
- "properties": {
311
- "type": {
312
- "default": "default",
313
- "enum": [
314
- "custom",
315
- "default",
316
- "none"
317
- ],
318
- "type": "string",
319
- "title": "type"
320
- },
321
- "value": {
322
- "description": "Value for feedback",
323
- "type": "string",
324
- "title": "value"
325
- },
326
- "custom": {
327
- "description": "Custom value for feedback",
328
- "type": "string",
329
- "title": "custom"
330
- }
331
- },
332
- "required": [
333
- "type"
334
- ]
335
- }
336
- },
337
- "$schema": "http://json-schema.org/draft-07/schema#"
338
- }
@@ -1,274 +0,0 @@
1
- Model for the Choice Interaction
2
-
3
- The schema defines the following properties:
4
-
5
- # `choiceMode` (string, enum)
6
-
7
- Indicates the choices are single or multiple selection
8
-
9
- This element must be one of the following enum values:
10
-
11
- * `checkbox`
12
- * `radio`
13
-
14
- # `choicePrefix` (string, enum)
15
-
16
- What key should be displayed before choices. If undefined no key will be displayed.
17
-
18
- This element must be one of the following enum values:
19
-
20
- * `letters`
21
- * `numbers`
22
-
23
- Default: `": 'letters'"`
24
-
25
- # `choices` (array, required)
26
-
27
- The choice options for the question
28
-
29
- The object is an array with all elements of the type `object`.
30
-
31
- The array object has the following properties:
32
-
33
- ## `correct` (boolean)
34
-
35
- Indicates if the choice is correct
36
-
37
- ## `value` (string, required)
38
-
39
- the value that will be stored if this choice is selected
40
-
41
- ## `label` (string, required)
42
-
43
- the text label that will be presented to the user for this choice
44
-
45
- ## `feedback` (object)
46
-
47
- The type of feedback to use:
48
- `default` = a standard feedback message
49
- `custom` = a customized feedback message
50
-
51
- Properties of the `feedback` object:
52
-
53
- ### `type` (string, enum, required)
54
-
55
- This element must be one of the following enum values:
56
-
57
- * `custom`
58
- * `default`
59
- * `none`
60
-
61
- Default: `"default"`
62
-
63
- ### `value` (string)
64
-
65
- Value for feedback
66
-
67
- ### `custom` (string)
68
-
69
- Custom value for feedback
70
-
71
- ## `rationale` (string)
72
-
73
- Rationale for the Choice
74
-
75
- # `prompt` (string)
76
-
77
- The question prompt or item stem
78
-
79
- # `promptEnabled` (boolean)
80
-
81
- Determines if prompt should show
82
-
83
- # `choicesLayout` (string, enum)
84
-
85
- Indicates the layout of choices for player
86
-
87
- This element must be one of the following enum values:
88
-
89
- * `grid`
90
- * `horizontal`
91
- * `vertical`
92
-
93
- Default: `": 'vertical'"`
94
-
95
- # `gridColumns` (number)
96
-
97
- Indicates the number of columns for the grid layout
98
-
99
- Default: `": 2"`
100
-
101
- # `toolbarEditorPosition` (string, enum)
102
-
103
- Indicates the editor's toolbar position which can be 'bottom' or 'top'
104
-
105
- This element must be one of the following enum values:
106
-
107
- * `bottom`
108
- * `top`
109
-
110
- Default: `": 'bottom'"`
111
-
112
- # `lockChoiceOrder` (boolean)
113
-
114
- Indicates the order of choices should be randomly ordered when presented to user
115
-
116
- # `partialScoring` (boolean)
117
-
118
- Indicates that the item should use partial scoring
119
-
120
- # `scoringType` (string, enum)
121
-
122
- Indicates scoring type
123
-
124
- This element must be one of the following enum values:
125
-
126
- * `auto`
127
- * `rubric`
128
-
129
- # `studentInstructions` (string)
130
-
131
- Indicates student instructions
132
-
133
- # `teacherInstructions` (string)
134
-
135
- Indicates teacher instructions
136
-
137
- # `feedbackEnabled` (boolean, required)
138
-
139
- Indicates if feedback is enabled
140
-
141
- # `rationaleEnabled` (boolean, required)
142
-
143
- Indicates if Rationale are enabled
144
-
145
- # `spellCheckEnabled` (boolean, required)
146
-
147
- Indicates if spellcheck is enabled for the author. Default value is true
148
-
149
- # `studentInstructionsEnabled` (boolean, required)
150
-
151
- Indicates if Student Instructions are enabled
152
-
153
- # `teacherInstructionsEnabled` (boolean, required)
154
-
155
- Indicates if Teacher Instructions are enabled
156
-
157
- # `accessibilityLabelsEnabled` (boolean, required)
158
-
159
- Indicates if Accessibility Labels are enabled
160
-
161
- # `id` (string, required)
162
-
163
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
164
-
165
- # `element` (string, required)
166
-
167
- The html Element tag name
168
-
169
- ---
170
-
171
- # Sub Schemas
172
-
173
- The schema defines the following additional types:
174
-
175
- ## `ConfigureProp` (object)
176
-
177
- Properties of the `ConfigureProp` object:
178
-
179
- ### `settings` (boolean)
180
-
181
- Indicates if the item has to be displayed in the Settings Panel
182
-
183
- ### `label` (string)
184
-
185
- Indicates the label for the item that has to be displayed in the Settings Panel
186
-
187
- ## `ConfigurePropWithEnabled` (object)
188
-
189
- Properties of the `ConfigurePropWithEnabled` object:
190
-
191
- ### `settings` (boolean)
192
-
193
- Indicates if the item has to be displayed in the Settings Panel
194
-
195
- ### `label` (string)
196
-
197
- Indicates the label for the item that has to be displayed in the Settings Panel
198
-
199
- ### `enabled` (boolean)
200
-
201
- Indicates the value of the item if it affects config-ui
202
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
203
-
204
- ## `Choice` (object)
205
-
206
- Properties of the `Choice` object:
207
-
208
- ### `correct` (boolean)
209
-
210
- Indicates if the choice is correct
211
-
212
- ### `value` (string, required)
213
-
214
- the value that will be stored if this choice is selected
215
-
216
- ### `label` (string, required)
217
-
218
- the text label that will be presented to the user for this choice
219
-
220
- ### `feedback` (object)
221
-
222
- The type of feedback to use:
223
- `default` = a standard feedback message
224
- `custom` = a customized feedback message
225
-
226
- Properties of the `feedback` object:
227
-
228
- #### `type` (string, enum, required)
229
-
230
- This element must be one of the following enum values:
231
-
232
- * `custom`
233
- * `default`
234
- * `none`
235
-
236
- Default: `"default"`
237
-
238
- #### `value` (string)
239
-
240
- Value for feedback
241
-
242
- #### `custom` (string)
243
-
244
- Custom value for feedback
245
-
246
- ### `rationale` (string)
247
-
248
- Rationale for the Choice
249
-
250
- ## `Feedback` (object)
251
-
252
- The type of feedback to use:
253
- `default` = a standard feedback message
254
- `custom` = a customized feedback message
255
-
256
- Properties of the `Feedback` object:
257
-
258
- ### `type` (string, enum, required)
259
-
260
- This element must be one of the following enum values:
261
-
262
- * `custom`
263
- * `default`
264
- * `none`
265
-
266
- Default: `"default"`
267
-
268
- ### `value` (string)
269
-
270
- Value for feedback
271
-
272
- ### `custom` (string)
273
-
274
- Custom value for feedback