@pie-element/placement-ordering 7.3.18-next.85 → 7.4.1-beta.587

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 (46) hide show
  1. package/CHANGELOG.md +551 -0
  2. package/README.md +1 -1
  3. package/configure/CHANGELOG.md +503 -0
  4. package/configure/lib/choice-editor.js +239 -62
  5. package/configure/lib/choice-editor.js.map +1 -1
  6. package/configure/lib/choice-tile.js +71 -14
  7. package/configure/lib/choice-tile.js.map +1 -1
  8. package/configure/lib/defaults.js +29 -5
  9. package/configure/lib/defaults.js.map +1 -1
  10. package/configure/lib/design.js +230 -78
  11. package/configure/lib/design.js.map +1 -1
  12. package/configure/lib/help.js.map +1 -1
  13. package/configure/lib/index.js +17 -3
  14. package/configure/lib/index.js.map +1 -1
  15. package/configure/lib/utils.js +14 -0
  16. package/configure/lib/utils.js.map +1 -0
  17. package/configure/package.json +7 -6
  18. package/controller/CHANGELOG.md +144 -0
  19. package/controller/lib/defaults.js +4 -2
  20. package/controller/lib/defaults.js.map +1 -1
  21. package/controller/lib/index.js +79 -20
  22. package/controller/lib/index.js.map +1 -1
  23. package/controller/lib/scoring.js +11 -4
  24. package/controller/lib/scoring.js.map +1 -1
  25. package/controller/package.json +3 -3
  26. package/docs/config-schema.json +142 -23
  27. package/docs/config-schema.json.md +106 -16
  28. package/docs/demo/config.js +2 -2
  29. package/docs/demo/generate.js +10 -9
  30. package/docs/demo/index.html +1 -2
  31. package/docs/demo/session.js +1 -1
  32. package/docs/pie-schema.json +96 -42
  33. package/docs/pie-schema.json.md +67 -37
  34. package/lib/index.js +5 -2
  35. package/lib/index.js.map +1 -1
  36. package/lib/main.js +1 -1
  37. package/lib/main.js.map +1 -1
  38. package/lib/ordering.js +2 -1
  39. package/lib/ordering.js.map +1 -1
  40. package/lib/placement-ordering.js +131 -53
  41. package/lib/placement-ordering.js.map +1 -1
  42. package/lib/tile.js +1 -1
  43. package/lib/tile.js.map +1 -1
  44. package/lib/tiler.js +7 -5
  45. package/lib/tiler.js.map +1 -1
  46. package/package.json +8 -7
@@ -4,7 +4,7 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "choiceLabel": {
7
- "title": "ConfigurePropWithEnabled",
7
+ "title": "ConfigureProp",
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "settings": {
@@ -16,11 +16,6 @@
16
16
  "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
17
17
  "type": "string",
18
18
  "title": "label"
19
- },
20
- "enabled": {
21
- "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)",
22
- "type": "boolean",
23
- "title": "enabled"
24
19
  }
25
20
  }
26
21
  },
@@ -184,6 +179,22 @@
184
179
  }
185
180
  }
186
181
  },
182
+ "spellCheck": {
183
+ "title": "ConfigureProp",
184
+ "type": "object",
185
+ "properties": {
186
+ "settings": {
187
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
188
+ "type": "boolean",
189
+ "title": "settings"
190
+ },
191
+ "label": {
192
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
193
+ "type": "string",
194
+ "title": "label"
195
+ }
196
+ }
197
+ },
187
198
  "removeTilesAfterPlacing": {
188
199
  "title": "ConfigureProp",
189
200
  "type": "object",
@@ -200,6 +211,11 @@
200
211
  }
201
212
  }
202
213
  },
214
+ "settingsPanelDisabled": {
215
+ "description": "Indicates if the settings panel is not available",
216
+ "type": "boolean",
217
+ "title": "settingsPanelDisabled"
218
+ },
203
219
  "scoringType": {
204
220
  "title": "ConfigureProp",
205
221
  "type": "object",
@@ -264,6 +280,94 @@
264
280
  }
265
281
  }
266
282
  },
283
+ "maxImageWidth": {
284
+ "title": "ConfigureMaxImageDimensionsProp",
285
+ "type": "object",
286
+ "properties": {
287
+ "teacherInstructions": {
288
+ "description": "Indicates the max dimension for images in teacher instructions",
289
+ "type": "number",
290
+ "title": "teacherInstructions"
291
+ },
292
+ "prompt": {
293
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
294
+ "type": "number",
295
+ "title": "prompt"
296
+ },
297
+ "rationale": {
298
+ "description": "Indicates the max dimension for images in rationale",
299
+ "type": "number",
300
+ "title": "rationale"
301
+ },
302
+ "choicesWithPlacementArea": {
303
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
304
+ "type": "number",
305
+ "title": "choicesWithPlacementArea"
306
+ },
307
+ "choicesWithoutPlacementArea": {
308
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
309
+ "type": "number",
310
+ "title": "choicesWithoutPlacementArea"
311
+ },
312
+ "choices": {
313
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
314
+ "type": "number",
315
+ "title": "choices"
316
+ }
317
+ }
318
+ },
319
+ "maxImageHeight": {
320
+ "title": "ConfigureMaxImageDimensionsProp",
321
+ "type": "object",
322
+ "properties": {
323
+ "teacherInstructions": {
324
+ "description": "Indicates the max dimension for images in teacher instructions",
325
+ "type": "number",
326
+ "title": "teacherInstructions"
327
+ },
328
+ "prompt": {
329
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
330
+ "type": "number",
331
+ "title": "prompt"
332
+ },
333
+ "rationale": {
334
+ "description": "Indicates the max dimension for images in rationale",
335
+ "type": "number",
336
+ "title": "rationale"
337
+ },
338
+ "choicesWithPlacementArea": {
339
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
340
+ "type": "number",
341
+ "title": "choicesWithPlacementArea"
342
+ },
343
+ "choicesWithoutPlacementArea": {
344
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
345
+ "type": "number",
346
+ "title": "choicesWithoutPlacementArea"
347
+ },
348
+ "choices": {
349
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
350
+ "type": "number",
351
+ "title": "choices"
352
+ }
353
+ }
354
+ },
355
+ "withRubric": {
356
+ "title": "ConfigureProp",
357
+ "type": "object",
358
+ "properties": {
359
+ "settings": {
360
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
361
+ "type": "boolean",
362
+ "title": "settings"
363
+ },
364
+ "label": {
365
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
366
+ "type": "string",
367
+ "title": "label"
368
+ }
369
+ }
370
+ },
267
371
  "showPrompt": {
268
372
  "description": "Determines whether prompt field will be displayed or not",
269
373
  "default": true,
@@ -284,8 +388,8 @@
284
388
  }
285
389
  },
286
390
  "definitions": {
287
- "ConfigurePropWithEnabled": {
288
- "title": "ConfigurePropWithEnabled",
391
+ "ConfigureProp": {
392
+ "title": "ConfigureProp",
289
393
  "type": "object",
290
394
  "properties": {
291
395
  "settings": {
@@ -297,27 +401,42 @@
297
401
  "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
298
402
  "type": "string",
299
403
  "title": "label"
300
- },
301
- "enabled": {
302
- "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)",
303
- "type": "boolean",
304
- "title": "enabled"
305
404
  }
306
405
  }
307
406
  },
308
- "ConfigureProp": {
309
- "title": "ConfigureProp",
407
+ "ConfigureMaxImageDimensionsProp": {
408
+ "title": "ConfigureMaxImageDimensionsProp",
310
409
  "type": "object",
311
410
  "properties": {
312
- "settings": {
313
- "description": "Indicates if the item has to be displayed in the Settings Panel",
314
- "type": "boolean",
315
- "title": "settings"
411
+ "teacherInstructions": {
412
+ "description": "Indicates the max dimension for images in teacher instructions",
413
+ "type": "number",
414
+ "title": "teacherInstructions"
316
415
  },
317
- "label": {
318
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
319
- "type": "string",
320
- "title": "label"
416
+ "prompt": {
417
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
418
+ "type": "number",
419
+ "title": "prompt"
420
+ },
421
+ "rationale": {
422
+ "description": "Indicates the max dimension for images in rationale",
423
+ "type": "number",
424
+ "title": "rationale"
425
+ },
426
+ "choicesWithPlacementArea": {
427
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
428
+ "type": "number",
429
+ "title": "choicesWithPlacementArea"
430
+ },
431
+ "choicesWithoutPlacementArea": {
432
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
433
+ "type": "number",
434
+ "title": "choicesWithoutPlacementArea"
435
+ },
436
+ "choices": {
437
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
438
+ "type": "number",
439
+ "title": "choices"
321
440
  }
322
441
  }
323
442
  }
@@ -14,11 +14,6 @@ Indicates if the item has to be displayed in the Settings Panel
14
14
 
15
15
  Indicates the label for the item that has to be displayed in the Settings Panel
16
16
 
17
- ## `enabled` (boolean)
18
-
19
- Indicates the value of the item if it affects config-ui
20
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
21
-
22
17
  # `choices` (object)
23
18
 
24
19
  Properties of the `choices` object:
@@ -139,6 +134,18 @@ Indicates if the item has to be displayed in the Settings Panel
139
134
 
140
135
  Indicates the label for the item that has to be displayed in the Settings Panel
141
136
 
137
+ # `spellCheck` (object)
138
+
139
+ Properties of the `spellCheck` object:
140
+
141
+ ## `settings` (boolean)
142
+
143
+ Indicates if the item has to be displayed in the Settings Panel
144
+
145
+ ## `label` (string)
146
+
147
+ Indicates the label for the item that has to be displayed in the Settings Panel
148
+
142
149
  # `removeTilesAfterPlacing` (object)
143
150
 
144
151
  Properties of the `removeTilesAfterPlacing` object:
@@ -151,6 +158,10 @@ Indicates if the item has to be displayed in the Settings Panel
151
158
 
152
159
  Indicates the label for the item that has to be displayed in the Settings Panel
153
160
 
161
+ # `settingsPanelDisabled` (boolean)
162
+
163
+ Indicates if the settings panel is not available
164
+
154
165
  # `scoringType` (object)
155
166
 
156
167
  Properties of the `scoringType` object:
@@ -199,6 +210,74 @@ Indicates if the item has to be displayed in the Settings Panel
199
210
 
200
211
  Indicates the label for the item that has to be displayed in the Settings Panel
201
212
 
213
+ # `maxImageWidth` (object)
214
+
215
+ Properties of the `maxImageWidth` object:
216
+
217
+ ## `teacherInstructions` (number)
218
+
219
+ Indicates the max dimension for images in teacher instructions
220
+
221
+ ## `prompt` (number)
222
+
223
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
224
+
225
+ ## `rationale` (number)
226
+
227
+ Indicates the max dimension for images in rationale
228
+
229
+ ## `choicesWithPlacementArea` (number)
230
+
231
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled
232
+
233
+ ## `choicesWithoutPlacementArea` (number)
234
+
235
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled
236
+
237
+ ## `choices` (number)
238
+
239
+ Only available for the height prop: indicates the max height for images in choices and choices labels
240
+
241
+ # `maxImageHeight` (object)
242
+
243
+ Properties of the `maxImageHeight` object:
244
+
245
+ ## `teacherInstructions` (number)
246
+
247
+ Indicates the max dimension for images in teacher instructions
248
+
249
+ ## `prompt` (number)
250
+
251
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
252
+
253
+ ## `rationale` (number)
254
+
255
+ Indicates the max dimension for images in rationale
256
+
257
+ ## `choicesWithPlacementArea` (number)
258
+
259
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled
260
+
261
+ ## `choicesWithoutPlacementArea` (number)
262
+
263
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled
264
+
265
+ ## `choices` (number)
266
+
267
+ Only available for the height prop: indicates the max height for images in choices and choices labels
268
+
269
+ # `withRubric` (object)
270
+
271
+ Properties of the `withRubric` object:
272
+
273
+ ## `settings` (boolean)
274
+
275
+ Indicates if the item has to be displayed in the Settings Panel
276
+
277
+ ## `label` (string)
278
+
279
+ Indicates the label for the item that has to be displayed in the Settings Panel
280
+
202
281
  # `showPrompt` (boolean)
203
282
 
204
283
  Determines whether prompt field will be displayed or not
@@ -223,9 +302,9 @@ Default: `true`
223
302
 
224
303
  The schema defines the following additional types:
225
304
 
226
- ## `ConfigurePropWithEnabled` (object)
305
+ ## `ConfigureProp` (object)
227
306
 
228
- Properties of the `ConfigurePropWithEnabled` object:
307
+ Properties of the `ConfigureProp` object:
229
308
 
230
309
  ### `settings` (boolean)
231
310
 
@@ -235,19 +314,30 @@ Indicates if the item has to be displayed in the Settings Panel
235
314
 
236
315
  Indicates the label for the item that has to be displayed in the Settings Panel
237
316
 
238
- ### `enabled` (boolean)
317
+ ## `ConfigureMaxImageDimensionsProp` (object)
239
318
 
240
- Indicates the value of the item if it affects config-ui
241
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
319
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
242
320
 
243
- ## `ConfigureProp` (object)
321
+ ### `teacherInstructions` (number)
244
322
 
245
- Properties of the `ConfigureProp` object:
323
+ Indicates the max dimension for images in teacher instructions
246
324
 
247
- ### `settings` (boolean)
325
+ ### `prompt` (number)
248
326
 
249
- Indicates if the item has to be displayed in the Settings Panel
327
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
250
328
 
251
- ### `label` (string)
329
+ ### `rationale` (number)
330
+
331
+ Indicates the max dimension for images in rationale
332
+
333
+ ### `choicesWithPlacementArea` (number)
334
+
335
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled
336
+
337
+ ### `choicesWithoutPlacementArea` (number)
338
+
339
+ Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled
340
+
341
+ ### `choices` (number)
252
342
 
253
- Indicates the label for the item that has to be displayed in the Settings Panel
343
+ Only available for the height prop: indicates the max height for images in choices and choices labels
@@ -2,7 +2,7 @@ const { model } = require('./generate');
2
2
 
3
3
  module.exports = {
4
4
  elements: {
5
- 'placement-ordering': '../..'
5
+ 'placement-ordering': '../..',
6
6
  },
7
- models: [model('1', 'placement-ordering')]
7
+ models: [model('1', 'placement-ordering')],
8
8
  };
@@ -9,7 +9,7 @@ exports.model = (id, element) => ({
9
9
  },
10
10
  {
11
11
  id: 'c2',
12
- label: 'Lemon'
12
+ label: 'Lemon',
13
13
  },
14
14
  {
15
15
  id: 'c3',
@@ -21,31 +21,32 @@ exports.model = (id, element) => ({
21
21
  },
22
22
  ],
23
23
  correctResponse: ['c1', 'c2', 'c3', 'c4'],
24
- alternateResponses: [
25
- ['c4', 'c3', 'c2', 'c1']
26
- ],
24
+ alternateResponses: [{ response: ['c4', 'c3', 'c2', 'c1'] }],
27
25
  enableImages: false,
28
26
  feedback: {
29
27
  correct: {
30
28
  type: 'custom',
31
- custom: 'foo'
29
+ custom: 'foo',
32
30
  },
33
31
  incorrect: {
34
32
  type: 'custom',
35
- custom: 'no'
33
+ custom: 'no',
36
34
  },
37
35
  partial: {
38
36
  type: 'custom',
39
- custom: 'nearly'
40
- }
37
+ custom: 'nearly',
38
+ },
41
39
  },
42
40
  feedbackEnabled: true,
43
41
  prompt: 'Arrange the fruits alphabetically',
42
+ note: 'The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.',
44
43
  promptEnabled: true,
45
44
  numberedGuides: false,
46
45
  orientation: 'vertical',
47
46
  partialScoring: false,
48
- placementArea: true,
47
+ placementArea: false,
49
48
  scoringType: 'auto',
50
49
  targetLabel: 'Answers',
50
+ toolbarEditorPosition: 'bottom',
51
+ rubricEnabled: false,
51
52
  });
@@ -1,2 +1 @@
1
- <placement-ordering pie-id="1"></placement-ordering>
2
- <placement-ordering pie-id="2"></placement-ordering>
1
+ <placement-ordering pie-id="1"></placement-ordering> <placement-ordering pie-id="2"></placement-ordering>
@@ -2,6 +2,6 @@ module.exports = [
2
2
  {
3
3
  id: '1',
4
4
  element: 'placement-ordering',
5
- value: [undefined, 'c1', 'c2', undefined]
5
+ value: ['c3', 'c1', 'c2', undefined]
6
6
  }
7
7
  ];
@@ -24,18 +24,6 @@
24
24
  "description": "The label of the choice",
25
25
  "type": "string",
26
26
  "title": "label"
27
- },
28
- "moveOnDrag": {
29
- "description": "Indicates if choice will be removed after is placed into a placement area",
30
- "default": false,
31
- "type": "boolean",
32
- "title": "moveOnDrag"
33
- },
34
- "lockChoiceOrder": {
35
- "description": "If the entire array of choices can lockChoiceOrder, each choice itself\nhas this property to indicate if it should lockChoiceOrder",
36
- "default": true,
37
- "type": "boolean",
38
- "title": "lockChoiceOrder"
39
27
  }
40
28
  },
41
29
  "required": [
@@ -72,7 +60,21 @@
72
60
  "description": "Array that contains the correct alternate responses",
73
61
  "type": "array",
74
62
  "items": {
75
- "type": "string"
63
+ "title": "AlternateResponse",
64
+ "type": "object",
65
+ "properties": {
66
+ "response": {
67
+ "description": "Array that contains the alternate response ids",
68
+ "type": "array",
69
+ "items": {
70
+ "type": "string"
71
+ },
72
+ "title": "response"
73
+ }
74
+ },
75
+ "required": [
76
+ "response"
77
+ ]
76
78
  },
77
79
  "title": "alternateResponses"
78
80
  },
@@ -340,6 +342,36 @@
340
342
  "type": "boolean",
341
343
  "title": "teacherInstructionsEnabled"
342
344
  },
345
+ "choiceLabelEnabled": {
346
+ "description": "Indicates if Choice Label is enabled",
347
+ "type": "boolean",
348
+ "title": "choiceLabelEnabled"
349
+ },
350
+ "spellCheckEnabled": {
351
+ "description": "Indicates if spellcheck is enabled for the author. Default value is true",
352
+ "type": "boolean",
353
+ "title": "spellCheckEnabled"
354
+ },
355
+ "note": {
356
+ "description": "Indicates the note for the answer",
357
+ "type": "string",
358
+ "title": "note"
359
+ },
360
+ "toolbarEditorPosition": {
361
+ "description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
362
+ "default": ": 'bottom'",
363
+ "enum": [
364
+ "bottom",
365
+ "top"
366
+ ],
367
+ "type": "string",
368
+ "title": "toolbarEditorPosition"
369
+ },
370
+ "rubricEnabled": {
371
+ "description": "Indicates if Rubric is enabled",
372
+ "type": "boolean",
373
+ "title": "rubricEnabled"
374
+ },
343
375
  "id": {
344
376
  "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
345
377
  "type": "string",
@@ -358,12 +390,14 @@
358
390
  "feedbackEnabled",
359
391
  "id",
360
392
  "rationaleEnabled",
393
+ "rubricEnabled",
394
+ "spellCheckEnabled",
361
395
  "studentInstructionsEnabled",
362
396
  "teacherInstructionsEnabled"
363
397
  ],
364
398
  "definitions": {
365
- "ConfigurePropWithEnabled": {
366
- "title": "ConfigurePropWithEnabled",
399
+ "ConfigureProp": {
400
+ "title": "ConfigureProp",
367
401
  "type": "object",
368
402
  "properties": {
369
403
  "settings": {
@@ -375,27 +409,42 @@
375
409
  "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
376
410
  "type": "string",
377
411
  "title": "label"
378
- },
379
- "enabled": {
380
- "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)",
381
- "type": "boolean",
382
- "title": "enabled"
383
412
  }
384
413
  }
385
414
  },
386
- "ConfigureProp": {
387
- "title": "ConfigureProp",
415
+ "ConfigureMaxImageDimensionsProp": {
416
+ "title": "ConfigureMaxImageDimensionsProp",
388
417
  "type": "object",
389
418
  "properties": {
390
- "settings": {
391
- "description": "Indicates if the item has to be displayed in the Settings Panel",
392
- "type": "boolean",
393
- "title": "settings"
419
+ "teacherInstructions": {
420
+ "description": "Indicates the max dimension for images in teacher instructions",
421
+ "type": "number",
422
+ "title": "teacherInstructions"
394
423
  },
395
- "label": {
396
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
397
- "type": "string",
398
- "title": "label"
424
+ "prompt": {
425
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
426
+ "type": "number",
427
+ "title": "prompt"
428
+ },
429
+ "rationale": {
430
+ "description": "Indicates the max dimension for images in rationale",
431
+ "type": "number",
432
+ "title": "rationale"
433
+ },
434
+ "choicesWithPlacementArea": {
435
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is enabled",
436
+ "type": "number",
437
+ "title": "choicesWithPlacementArea"
438
+ },
439
+ "choicesWithoutPlacementArea": {
440
+ "description": "Only available for the width prop: indicates the max width for images in choices and choices labels when placement area is disabled",
441
+ "type": "number",
442
+ "title": "choicesWithoutPlacementArea"
443
+ },
444
+ "choices": {
445
+ "description": "Only available for the height prop: indicates the max height for images in choices and choices labels",
446
+ "type": "number",
447
+ "title": "choices"
399
448
  }
400
449
  }
401
450
  },
@@ -412,18 +461,6 @@
412
461
  "description": "The label of the choice",
413
462
  "type": "string",
414
463
  "title": "label"
415
- },
416
- "moveOnDrag": {
417
- "description": "Indicates if choice will be removed after is placed into a placement area",
418
- "default": false,
419
- "type": "boolean",
420
- "title": "moveOnDrag"
421
- },
422
- "lockChoiceOrder": {
423
- "description": "If the entire array of choices can lockChoiceOrder, each choice itself\nhas this property to indicate if it should lockChoiceOrder",
424
- "default": true,
425
- "type": "boolean",
426
- "title": "lockChoiceOrder"
427
464
  }
428
465
  },
429
466
  "required": [
@@ -449,6 +486,23 @@
449
486
  "id"
450
487
  ]
451
488
  },
489
+ "AlternateResponse": {
490
+ "title": "AlternateResponse",
491
+ "type": "object",
492
+ "properties": {
493
+ "response": {
494
+ "description": "Array that contains the alternate response ids",
495
+ "type": "array",
496
+ "items": {
497
+ "type": "string"
498
+ },
499
+ "title": "response"
500
+ }
501
+ },
502
+ "required": [
503
+ "response"
504
+ ]
505
+ },
452
506
  "ComplexFeedbackType": {
453
507
  "title": "ComplexFeedbackType",
454
508
  "type": "object",