@pie-element/ebsr 12.3.4-next.3 → 13.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configure/lib/defaults.js +23 -36
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +114 -202
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/main.js +188 -271
- package/configure/lib/main.js.map +1 -1
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +4213 -0
- package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
- package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +3351 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/__tests__/root.test.js +248 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +200 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +211 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +477 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +22 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +2316 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/index.test.js +520 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/utils.test.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +33 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +251 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +16 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +2993 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +2217 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +61 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/pie.manifest.json +11 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +1332 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +1015 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/choice-input-test.js +117 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/index-test.js +151 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/key-events-test.js +95 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/multiple-choice-test.js +223 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/session-updater-test.js +70 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +370 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +197 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +130 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +292 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +54 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +386 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +92 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +37 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/package.json +39 -0
- package/configure/package.json +9 -6
- package/configure/src/__tests__/index.test.js +99 -108
- package/configure/src/index.js +13 -6
- package/configure/src/main.jsx +14 -18
- package/controller/lib/defaults.js +20 -32
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +224 -349
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js +4 -18
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +3 -3
- package/lib/index.js +113 -181
- package/lib/index.js.map +1 -1
- package/lib/print.js +120 -204
- package/lib/print.js.map +1 -1
- package/package.json +5 -13
- package/src/__tests__/index.test.js +18 -5
- package/configure/src/__tests__/__snapshots__/index.test.js.snap +0 -83
- package/esm/configure.js +0 -12003
- package/esm/configure.js.map +0 -1
- package/esm/controller.js +0 -3358
- package/esm/controller.js.map +0 -1
- package/esm/element.js +0 -2203
- package/esm/element.js.map +0 -1
- package/esm/package.json +0 -3
- package/esm/print.js +0 -4092
- package/esm/print.js.map +0 -1
- package/module/configure.js +0 -1
- package/module/controller.js +0 -6469
- package/module/demo.js +0 -77
- package/module/element.js +0 -1
- package/module/index.html +0 -21
- package/module/manifest.json +0 -14
- package/module/print-demo.js +0 -115
- package/module/print.html +0 -18
- package/module/print.js +0 -1
|
@@ -0,0 +1,1015 @@
|
|
|
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
|
+
# `selectedAnswerBackgroundColor` (string)
|
|
113
|
+
|
|
114
|
+
Indicates the background color for selected choices
|
|
115
|
+
|
|
116
|
+
Default: `": 'initial'"`
|
|
117
|
+
|
|
118
|
+
# `selectedAnswerStrokeColor` (string)
|
|
119
|
+
|
|
120
|
+
Indicates the border color for selected choices
|
|
121
|
+
|
|
122
|
+
Default: `": 'initial'"`
|
|
123
|
+
|
|
124
|
+
# `selectedAnswerStrokeWidth` (string)
|
|
125
|
+
|
|
126
|
+
Indicates the border width for selected choices if selectedAnswerBackgroundColor is set
|
|
127
|
+
|
|
128
|
+
Default: `": '2px'"`
|
|
129
|
+
|
|
130
|
+
# `hoverAnswerBackgroundColor` (string)
|
|
131
|
+
|
|
132
|
+
Indicates the background color for choices on hover
|
|
133
|
+
|
|
134
|
+
Default: `": 'initial'"`
|
|
135
|
+
|
|
136
|
+
# `hoverAnswerStrokeColor` (string)
|
|
137
|
+
|
|
138
|
+
Indicates the border color for choices on hover
|
|
139
|
+
|
|
140
|
+
Default: `": 'initial'"`
|
|
141
|
+
|
|
142
|
+
# `hoverAnswerStrokeWidth` (string)
|
|
143
|
+
|
|
144
|
+
Indicates the border width for choices on hover if hoverAnswerBackgroundColor is set
|
|
145
|
+
|
|
146
|
+
Default: `": '2px'"`
|
|
147
|
+
|
|
148
|
+
# `lockChoiceOrder` (boolean)
|
|
149
|
+
|
|
150
|
+
Indicates the order of choices presented to user
|
|
151
|
+
if true, answer choices will be presented in the order they are defined in the model
|
|
152
|
+
If false, answer choices may be presented in a random order (depending upon the value of the lockChoiceOrder environment variable)
|
|
153
|
+
|
|
154
|
+
# `minSelections` (number)
|
|
155
|
+
|
|
156
|
+
Indicates that minimum selections that should be made (only for choice mode 'checkbox')
|
|
157
|
+
|
|
158
|
+
# `maxSelections` (number)
|
|
159
|
+
|
|
160
|
+
Indicates that maximum selections that should be made (only for choice mode 'checkbox')
|
|
161
|
+
|
|
162
|
+
# `partialScoring` (boolean)
|
|
163
|
+
|
|
164
|
+
Indicates that the item should use partial scoring
|
|
165
|
+
|
|
166
|
+
# `scoringType` (string, enum)
|
|
167
|
+
|
|
168
|
+
Indicates scoring type
|
|
169
|
+
|
|
170
|
+
This element must be one of the following enum values:
|
|
171
|
+
|
|
172
|
+
* `auto`
|
|
173
|
+
* `rubric`
|
|
174
|
+
|
|
175
|
+
# `studentInstructions` (string)
|
|
176
|
+
|
|
177
|
+
Indicates student instructions
|
|
178
|
+
|
|
179
|
+
# `teacherInstructions` (string)
|
|
180
|
+
|
|
181
|
+
Indicates teacher instructions
|
|
182
|
+
|
|
183
|
+
# `feedbackEnabled` (boolean, required)
|
|
184
|
+
|
|
185
|
+
Indicates if feedback is enabled
|
|
186
|
+
|
|
187
|
+
# `rationaleEnabled` (boolean, required)
|
|
188
|
+
|
|
189
|
+
Indicates if Rationale are enabled
|
|
190
|
+
|
|
191
|
+
# `spellCheckEnabled` (boolean, required)
|
|
192
|
+
|
|
193
|
+
Indicates if spellcheck is enabled for the author. Default value is true
|
|
194
|
+
|
|
195
|
+
# `studentInstructionsEnabled` (boolean, required)
|
|
196
|
+
|
|
197
|
+
Indicates if Student Instructions are enabled
|
|
198
|
+
|
|
199
|
+
# `teacherInstructionsEnabled` (boolean, required)
|
|
200
|
+
|
|
201
|
+
Indicates if Teacher Instructions are enabled
|
|
202
|
+
|
|
203
|
+
# `accessibilityLabelsEnabled` (boolean, required)
|
|
204
|
+
|
|
205
|
+
Indicates if Accessibility Labels are enabled
|
|
206
|
+
|
|
207
|
+
# `rubricEnabled` (boolean, required)
|
|
208
|
+
|
|
209
|
+
Indicates if Rubric is enabled
|
|
210
|
+
|
|
211
|
+
# `language` (string)
|
|
212
|
+
|
|
213
|
+
Indicates the language of the component
|
|
214
|
+
Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
|
|
215
|
+
|
|
216
|
+
# `isSelectionButtonBelow` (boolean)
|
|
217
|
+
|
|
218
|
+
Indicates if the selection button and choice prefix should be positioned below the corresponding answer choice
|
|
219
|
+
|
|
220
|
+
# `fontSizeFactor` (number)
|
|
221
|
+
|
|
222
|
+
Indicates font size adjustment factor
|
|
223
|
+
|
|
224
|
+
# `autoplayAudioEnabled` (boolean)
|
|
225
|
+
|
|
226
|
+
Indicates if the audio for the prompt should autoplay
|
|
227
|
+
|
|
228
|
+
# `completeAudioEnabled` (boolean)
|
|
229
|
+
|
|
230
|
+
Indicates if the audio should reach the end before the item can be marked as 'complete'
|
|
231
|
+
|
|
232
|
+
# `customAudioButton` (object)
|
|
233
|
+
|
|
234
|
+
Indicates if the audio should be replaced with a custom audio button
|
|
235
|
+
playImage: image url for the play state
|
|
236
|
+
pauseImage: image url for the pause state
|
|
237
|
+
|
|
238
|
+
Properties of the `customAudioButton` object:
|
|
239
|
+
|
|
240
|
+
## `playImage` (string, required)
|
|
241
|
+
|
|
242
|
+
## `pauseImage` (string, required)
|
|
243
|
+
|
|
244
|
+
# `id` (string, required)
|
|
245
|
+
|
|
246
|
+
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
247
|
+
|
|
248
|
+
# `element` (string, required)
|
|
249
|
+
|
|
250
|
+
The html Element tag name
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
# Sub Schemas
|
|
255
|
+
|
|
256
|
+
The schema defines the following additional types:
|
|
257
|
+
|
|
258
|
+
## `ConfigureProp` (object)
|
|
259
|
+
|
|
260
|
+
Properties of the `ConfigureProp` object:
|
|
261
|
+
|
|
262
|
+
### `settings` (boolean)
|
|
263
|
+
|
|
264
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
265
|
+
|
|
266
|
+
### `label` (string)
|
|
267
|
+
|
|
268
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
269
|
+
|
|
270
|
+
## `EditableHtmlConfigureProp` (object)
|
|
271
|
+
|
|
272
|
+
Properties of the `EditableHtmlConfigureProp` object:
|
|
273
|
+
|
|
274
|
+
### `math` (object)
|
|
275
|
+
|
|
276
|
+
Properties of the `math` object:
|
|
277
|
+
|
|
278
|
+
#### `disabled` (boolean)
|
|
279
|
+
|
|
280
|
+
Indicates if the plugin is disabled or not
|
|
281
|
+
|
|
282
|
+
### `audio` (object)
|
|
283
|
+
|
|
284
|
+
Properties of the `audio` object:
|
|
285
|
+
|
|
286
|
+
#### `disabled` (boolean)
|
|
287
|
+
|
|
288
|
+
Indicates if the plugin is disabled or not
|
|
289
|
+
|
|
290
|
+
### `video` (object)
|
|
291
|
+
|
|
292
|
+
Properties of the `video` object:
|
|
293
|
+
|
|
294
|
+
#### `disabled` (boolean)
|
|
295
|
+
|
|
296
|
+
Indicates if the plugin is disabled or not
|
|
297
|
+
|
|
298
|
+
### `image` (object)
|
|
299
|
+
|
|
300
|
+
Properties of the `image` object:
|
|
301
|
+
|
|
302
|
+
#### `disabled` (boolean)
|
|
303
|
+
|
|
304
|
+
Indicates if the plugin is disabled or not
|
|
305
|
+
|
|
306
|
+
### `customPlugins` (array)
|
|
307
|
+
|
|
308
|
+
An array of objects that determine custom plugins.
|
|
309
|
+
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).
|
|
310
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
311
|
+
|
|
312
|
+
The object is an array with all elements of the type `object`.
|
|
313
|
+
|
|
314
|
+
The array object has the following properties:
|
|
315
|
+
|
|
316
|
+
#### `event` (string, required)
|
|
317
|
+
|
|
318
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
319
|
+
PIE will emit the event prefixed with "PIE-".
|
|
320
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
321
|
+
|
|
322
|
+
#### `iconAlt` (string, required)
|
|
323
|
+
|
|
324
|
+
The alt for the custom button icon
|
|
325
|
+
|
|
326
|
+
#### `iconType` (string, required)
|
|
327
|
+
|
|
328
|
+
The icon type.
|
|
329
|
+
Currently, only "SVG" is supported.
|
|
330
|
+
|
|
331
|
+
#### `icon` (string, required)
|
|
332
|
+
|
|
333
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
334
|
+
|
|
335
|
+
### `blockquote` (object)
|
|
336
|
+
|
|
337
|
+
Properties of the `blockquote` object:
|
|
338
|
+
|
|
339
|
+
#### `disabled` (boolean)
|
|
340
|
+
|
|
341
|
+
Indicates if the plugin is disabled or not
|
|
342
|
+
|
|
343
|
+
### `h3` (object)
|
|
344
|
+
|
|
345
|
+
Properties of the `h3` object:
|
|
346
|
+
|
|
347
|
+
#### `disabled` (boolean)
|
|
348
|
+
|
|
349
|
+
Indicates if the plugin is disabled or not
|
|
350
|
+
|
|
351
|
+
### `characters` (object)
|
|
352
|
+
|
|
353
|
+
Properties of the `characters` object:
|
|
354
|
+
|
|
355
|
+
#### `disabled` (boolean)
|
|
356
|
+
|
|
357
|
+
Indicates if the plugin is disabled or not
|
|
358
|
+
|
|
359
|
+
### `bold` (object)
|
|
360
|
+
|
|
361
|
+
Properties of the `bold` object:
|
|
362
|
+
|
|
363
|
+
#### `disabled` (boolean)
|
|
364
|
+
|
|
365
|
+
Indicates if the plugin is disabled or not
|
|
366
|
+
|
|
367
|
+
### `html` (object)
|
|
368
|
+
|
|
369
|
+
Properties of the `html` object:
|
|
370
|
+
|
|
371
|
+
#### `disabled` (boolean)
|
|
372
|
+
|
|
373
|
+
Indicates if the plugin is disabled or not
|
|
374
|
+
|
|
375
|
+
### `italic` (object)
|
|
376
|
+
|
|
377
|
+
Properties of the `italic` object:
|
|
378
|
+
|
|
379
|
+
#### `disabled` (boolean)
|
|
380
|
+
|
|
381
|
+
Indicates if the plugin is disabled or not
|
|
382
|
+
|
|
383
|
+
### `ol_list` (object)
|
|
384
|
+
|
|
385
|
+
Properties of the `ol_list` object:
|
|
386
|
+
|
|
387
|
+
#### `disabled` (boolean)
|
|
388
|
+
|
|
389
|
+
Indicates if the plugin is disabled or not
|
|
390
|
+
|
|
391
|
+
### `redo` (object)
|
|
392
|
+
|
|
393
|
+
Properties of the `redo` object:
|
|
394
|
+
|
|
395
|
+
#### `disabled` (boolean)
|
|
396
|
+
|
|
397
|
+
Indicates if the plugin is disabled or not
|
|
398
|
+
|
|
399
|
+
### `strikethrough` (object)
|
|
400
|
+
|
|
401
|
+
Properties of the `strikethrough` object:
|
|
402
|
+
|
|
403
|
+
#### `disabled` (boolean)
|
|
404
|
+
|
|
405
|
+
Indicates if the plugin is disabled or not
|
|
406
|
+
|
|
407
|
+
### `sub` (object)
|
|
408
|
+
|
|
409
|
+
Properties of the `sub` object:
|
|
410
|
+
|
|
411
|
+
#### `disabled` (boolean)
|
|
412
|
+
|
|
413
|
+
Indicates if the plugin is disabled or not
|
|
414
|
+
|
|
415
|
+
### `sup` (object)
|
|
416
|
+
|
|
417
|
+
Properties of the `sup` object:
|
|
418
|
+
|
|
419
|
+
#### `disabled` (boolean)
|
|
420
|
+
|
|
421
|
+
Indicates if the plugin is disabled or not
|
|
422
|
+
|
|
423
|
+
### `table` (object)
|
|
424
|
+
|
|
425
|
+
Properties of the `table` object:
|
|
426
|
+
|
|
427
|
+
#### `disabled` (boolean)
|
|
428
|
+
|
|
429
|
+
Indicates if the plugin is disabled or not
|
|
430
|
+
|
|
431
|
+
### `ul_list` (object)
|
|
432
|
+
|
|
433
|
+
Properties of the `ul_list` object:
|
|
434
|
+
|
|
435
|
+
#### `disabled` (boolean)
|
|
436
|
+
|
|
437
|
+
Indicates if the plugin is disabled or not
|
|
438
|
+
|
|
439
|
+
### `underline` (object)
|
|
440
|
+
|
|
441
|
+
Properties of the `underline` object:
|
|
442
|
+
|
|
443
|
+
#### `disabled` (boolean)
|
|
444
|
+
|
|
445
|
+
Indicates if the plugin is disabled or not
|
|
446
|
+
|
|
447
|
+
### `undo` (object)
|
|
448
|
+
|
|
449
|
+
Properties of the `undo` object:
|
|
450
|
+
|
|
451
|
+
#### `disabled` (boolean)
|
|
452
|
+
|
|
453
|
+
Indicates if the plugin is disabled or not
|
|
454
|
+
|
|
455
|
+
## `EditableHtmlButtonConfigure` (object)
|
|
456
|
+
|
|
457
|
+
Properties of the `EditableHtmlButtonConfigure` object:
|
|
458
|
+
|
|
459
|
+
### `disabled` (boolean)
|
|
460
|
+
|
|
461
|
+
Indicates if the plugin is disabled or not
|
|
462
|
+
|
|
463
|
+
## `CustomPlugin` (object)
|
|
464
|
+
|
|
465
|
+
Properties of the `CustomPlugin` object:
|
|
466
|
+
|
|
467
|
+
### `event` (string, required)
|
|
468
|
+
|
|
469
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
470
|
+
PIE will emit the event prefixed with "PIE-".
|
|
471
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
472
|
+
|
|
473
|
+
### `iconAlt` (string, required)
|
|
474
|
+
|
|
475
|
+
The alt for the custom button icon
|
|
476
|
+
|
|
477
|
+
### `iconType` (string, required)
|
|
478
|
+
|
|
479
|
+
The icon type.
|
|
480
|
+
Currently, only "SVG" is supported.
|
|
481
|
+
|
|
482
|
+
### `icon` (string, required)
|
|
483
|
+
|
|
484
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
485
|
+
|
|
486
|
+
## `EditableHtmlPluginConfigure` (object)
|
|
487
|
+
|
|
488
|
+
Properties of the `EditableHtmlPluginConfigure` object:
|
|
489
|
+
|
|
490
|
+
### `inputConfiguration` (object)
|
|
491
|
+
|
|
492
|
+
Properties of the `inputConfiguration` object:
|
|
493
|
+
|
|
494
|
+
#### `math` (object)
|
|
495
|
+
|
|
496
|
+
Properties of the `math` object:
|
|
497
|
+
|
|
498
|
+
##### `disabled` (boolean)
|
|
499
|
+
|
|
500
|
+
Indicates if the plugin is disabled or not
|
|
501
|
+
|
|
502
|
+
#### `audio` (object)
|
|
503
|
+
|
|
504
|
+
Properties of the `audio` object:
|
|
505
|
+
|
|
506
|
+
##### `disabled` (boolean)
|
|
507
|
+
|
|
508
|
+
Indicates if the plugin is disabled or not
|
|
509
|
+
|
|
510
|
+
#### `video` (object)
|
|
511
|
+
|
|
512
|
+
Properties of the `video` object:
|
|
513
|
+
|
|
514
|
+
##### `disabled` (boolean)
|
|
515
|
+
|
|
516
|
+
Indicates if the plugin is disabled or not
|
|
517
|
+
|
|
518
|
+
#### `image` (object)
|
|
519
|
+
|
|
520
|
+
Properties of the `image` object:
|
|
521
|
+
|
|
522
|
+
##### `disabled` (boolean)
|
|
523
|
+
|
|
524
|
+
Indicates if the plugin is disabled or not
|
|
525
|
+
|
|
526
|
+
#### `customPlugins` (array)
|
|
527
|
+
|
|
528
|
+
An array of objects that determine custom plugins.
|
|
529
|
+
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).
|
|
530
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
531
|
+
|
|
532
|
+
The object is an array with all elements of the type `object`.
|
|
533
|
+
|
|
534
|
+
The array object has the following properties:
|
|
535
|
+
|
|
536
|
+
##### `event` (string, required)
|
|
537
|
+
|
|
538
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
539
|
+
PIE will emit the event prefixed with "PIE-".
|
|
540
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
541
|
+
|
|
542
|
+
##### `iconAlt` (string, required)
|
|
543
|
+
|
|
544
|
+
The alt for the custom button icon
|
|
545
|
+
|
|
546
|
+
##### `iconType` (string, required)
|
|
547
|
+
|
|
548
|
+
The icon type.
|
|
549
|
+
Currently, only "SVG" is supported.
|
|
550
|
+
|
|
551
|
+
##### `icon` (string, required)
|
|
552
|
+
|
|
553
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
554
|
+
|
|
555
|
+
#### `blockquote` (object)
|
|
556
|
+
|
|
557
|
+
Properties of the `blockquote` object:
|
|
558
|
+
|
|
559
|
+
##### `disabled` (boolean)
|
|
560
|
+
|
|
561
|
+
Indicates if the plugin is disabled or not
|
|
562
|
+
|
|
563
|
+
#### `h3` (object)
|
|
564
|
+
|
|
565
|
+
Properties of the `h3` object:
|
|
566
|
+
|
|
567
|
+
##### `disabled` (boolean)
|
|
568
|
+
|
|
569
|
+
Indicates if the plugin is disabled or not
|
|
570
|
+
|
|
571
|
+
#### `characters` (object)
|
|
572
|
+
|
|
573
|
+
Properties of the `characters` object:
|
|
574
|
+
|
|
575
|
+
##### `disabled` (boolean)
|
|
576
|
+
|
|
577
|
+
Indicates if the plugin is disabled or not
|
|
578
|
+
|
|
579
|
+
#### `bold` (object)
|
|
580
|
+
|
|
581
|
+
Properties of the `bold` object:
|
|
582
|
+
|
|
583
|
+
##### `disabled` (boolean)
|
|
584
|
+
|
|
585
|
+
Indicates if the plugin is disabled or not
|
|
586
|
+
|
|
587
|
+
#### `html` (object)
|
|
588
|
+
|
|
589
|
+
Properties of the `html` object:
|
|
590
|
+
|
|
591
|
+
##### `disabled` (boolean)
|
|
592
|
+
|
|
593
|
+
Indicates if the plugin is disabled or not
|
|
594
|
+
|
|
595
|
+
#### `italic` (object)
|
|
596
|
+
|
|
597
|
+
Properties of the `italic` object:
|
|
598
|
+
|
|
599
|
+
##### `disabled` (boolean)
|
|
600
|
+
|
|
601
|
+
Indicates if the plugin is disabled or not
|
|
602
|
+
|
|
603
|
+
#### `ol_list` (object)
|
|
604
|
+
|
|
605
|
+
Properties of the `ol_list` object:
|
|
606
|
+
|
|
607
|
+
##### `disabled` (boolean)
|
|
608
|
+
|
|
609
|
+
Indicates if the plugin is disabled or not
|
|
610
|
+
|
|
611
|
+
#### `redo` (object)
|
|
612
|
+
|
|
613
|
+
Properties of the `redo` object:
|
|
614
|
+
|
|
615
|
+
##### `disabled` (boolean)
|
|
616
|
+
|
|
617
|
+
Indicates if the plugin is disabled or not
|
|
618
|
+
|
|
619
|
+
#### `strikethrough` (object)
|
|
620
|
+
|
|
621
|
+
Properties of the `strikethrough` object:
|
|
622
|
+
|
|
623
|
+
##### `disabled` (boolean)
|
|
624
|
+
|
|
625
|
+
Indicates if the plugin is disabled or not
|
|
626
|
+
|
|
627
|
+
#### `sub` (object)
|
|
628
|
+
|
|
629
|
+
Properties of the `sub` object:
|
|
630
|
+
|
|
631
|
+
##### `disabled` (boolean)
|
|
632
|
+
|
|
633
|
+
Indicates if the plugin is disabled or not
|
|
634
|
+
|
|
635
|
+
#### `sup` (object)
|
|
636
|
+
|
|
637
|
+
Properties of the `sup` object:
|
|
638
|
+
|
|
639
|
+
##### `disabled` (boolean)
|
|
640
|
+
|
|
641
|
+
Indicates if the plugin is disabled or not
|
|
642
|
+
|
|
643
|
+
#### `table` (object)
|
|
644
|
+
|
|
645
|
+
Properties of the `table` object:
|
|
646
|
+
|
|
647
|
+
##### `disabled` (boolean)
|
|
648
|
+
|
|
649
|
+
Indicates if the plugin is disabled or not
|
|
650
|
+
|
|
651
|
+
#### `ul_list` (object)
|
|
652
|
+
|
|
653
|
+
Properties of the `ul_list` object:
|
|
654
|
+
|
|
655
|
+
##### `disabled` (boolean)
|
|
656
|
+
|
|
657
|
+
Indicates if the plugin is disabled or not
|
|
658
|
+
|
|
659
|
+
#### `underline` (object)
|
|
660
|
+
|
|
661
|
+
Properties of the `underline` object:
|
|
662
|
+
|
|
663
|
+
##### `disabled` (boolean)
|
|
664
|
+
|
|
665
|
+
Indicates if the plugin is disabled or not
|
|
666
|
+
|
|
667
|
+
#### `undo` (object)
|
|
668
|
+
|
|
669
|
+
Properties of the `undo` object:
|
|
670
|
+
|
|
671
|
+
##### `disabled` (boolean)
|
|
672
|
+
|
|
673
|
+
Indicates if the plugin is disabled or not
|
|
674
|
+
|
|
675
|
+
### `settings` (boolean)
|
|
676
|
+
|
|
677
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
678
|
+
|
|
679
|
+
### `label` (string)
|
|
680
|
+
|
|
681
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
682
|
+
|
|
683
|
+
## `EditableHtmlPluginConfigureRequired` (object)
|
|
684
|
+
|
|
685
|
+
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
686
|
+
|
|
687
|
+
### `inputConfiguration` (object)
|
|
688
|
+
|
|
689
|
+
Properties of the `inputConfiguration` object:
|
|
690
|
+
|
|
691
|
+
#### `math` (object)
|
|
692
|
+
|
|
693
|
+
Properties of the `math` object:
|
|
694
|
+
|
|
695
|
+
##### `disabled` (boolean)
|
|
696
|
+
|
|
697
|
+
Indicates if the plugin is disabled or not
|
|
698
|
+
|
|
699
|
+
#### `audio` (object)
|
|
700
|
+
|
|
701
|
+
Properties of the `audio` object:
|
|
702
|
+
|
|
703
|
+
##### `disabled` (boolean)
|
|
704
|
+
|
|
705
|
+
Indicates if the plugin is disabled or not
|
|
706
|
+
|
|
707
|
+
#### `video` (object)
|
|
708
|
+
|
|
709
|
+
Properties of the `video` object:
|
|
710
|
+
|
|
711
|
+
##### `disabled` (boolean)
|
|
712
|
+
|
|
713
|
+
Indicates if the plugin is disabled or not
|
|
714
|
+
|
|
715
|
+
#### `image` (object)
|
|
716
|
+
|
|
717
|
+
Properties of the `image` object:
|
|
718
|
+
|
|
719
|
+
##### `disabled` (boolean)
|
|
720
|
+
|
|
721
|
+
Indicates if the plugin is disabled or not
|
|
722
|
+
|
|
723
|
+
#### `customPlugins` (array)
|
|
724
|
+
|
|
725
|
+
An array of objects that determine custom plugins.
|
|
726
|
+
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).
|
|
727
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
728
|
+
|
|
729
|
+
The object is an array with all elements of the type `object`.
|
|
730
|
+
|
|
731
|
+
The array object has the following properties:
|
|
732
|
+
|
|
733
|
+
##### `event` (string, required)
|
|
734
|
+
|
|
735
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
736
|
+
PIE will emit the event prefixed with "PIE-".
|
|
737
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
738
|
+
|
|
739
|
+
##### `iconAlt` (string, required)
|
|
740
|
+
|
|
741
|
+
The alt for the custom button icon
|
|
742
|
+
|
|
743
|
+
##### `iconType` (string, required)
|
|
744
|
+
|
|
745
|
+
The icon type.
|
|
746
|
+
Currently, only "SVG" is supported.
|
|
747
|
+
|
|
748
|
+
##### `icon` (string, required)
|
|
749
|
+
|
|
750
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
751
|
+
|
|
752
|
+
#### `blockquote` (object)
|
|
753
|
+
|
|
754
|
+
Properties of the `blockquote` object:
|
|
755
|
+
|
|
756
|
+
##### `disabled` (boolean)
|
|
757
|
+
|
|
758
|
+
Indicates if the plugin is disabled or not
|
|
759
|
+
|
|
760
|
+
#### `h3` (object)
|
|
761
|
+
|
|
762
|
+
Properties of the `h3` object:
|
|
763
|
+
|
|
764
|
+
##### `disabled` (boolean)
|
|
765
|
+
|
|
766
|
+
Indicates if the plugin is disabled or not
|
|
767
|
+
|
|
768
|
+
#### `characters` (object)
|
|
769
|
+
|
|
770
|
+
Properties of the `characters` object:
|
|
771
|
+
|
|
772
|
+
##### `disabled` (boolean)
|
|
773
|
+
|
|
774
|
+
Indicates if the plugin is disabled or not
|
|
775
|
+
|
|
776
|
+
#### `bold` (object)
|
|
777
|
+
|
|
778
|
+
Properties of the `bold` object:
|
|
779
|
+
|
|
780
|
+
##### `disabled` (boolean)
|
|
781
|
+
|
|
782
|
+
Indicates if the plugin is disabled or not
|
|
783
|
+
|
|
784
|
+
#### `html` (object)
|
|
785
|
+
|
|
786
|
+
Properties of the `html` object:
|
|
787
|
+
|
|
788
|
+
##### `disabled` (boolean)
|
|
789
|
+
|
|
790
|
+
Indicates if the plugin is disabled or not
|
|
791
|
+
|
|
792
|
+
#### `italic` (object)
|
|
793
|
+
|
|
794
|
+
Properties of the `italic` object:
|
|
795
|
+
|
|
796
|
+
##### `disabled` (boolean)
|
|
797
|
+
|
|
798
|
+
Indicates if the plugin is disabled or not
|
|
799
|
+
|
|
800
|
+
#### `ol_list` (object)
|
|
801
|
+
|
|
802
|
+
Properties of the `ol_list` object:
|
|
803
|
+
|
|
804
|
+
##### `disabled` (boolean)
|
|
805
|
+
|
|
806
|
+
Indicates if the plugin is disabled or not
|
|
807
|
+
|
|
808
|
+
#### `redo` (object)
|
|
809
|
+
|
|
810
|
+
Properties of the `redo` object:
|
|
811
|
+
|
|
812
|
+
##### `disabled` (boolean)
|
|
813
|
+
|
|
814
|
+
Indicates if the plugin is disabled or not
|
|
815
|
+
|
|
816
|
+
#### `strikethrough` (object)
|
|
817
|
+
|
|
818
|
+
Properties of the `strikethrough` object:
|
|
819
|
+
|
|
820
|
+
##### `disabled` (boolean)
|
|
821
|
+
|
|
822
|
+
Indicates if the plugin is disabled or not
|
|
823
|
+
|
|
824
|
+
#### `sub` (object)
|
|
825
|
+
|
|
826
|
+
Properties of the `sub` object:
|
|
827
|
+
|
|
828
|
+
##### `disabled` (boolean)
|
|
829
|
+
|
|
830
|
+
Indicates if the plugin is disabled or not
|
|
831
|
+
|
|
832
|
+
#### `sup` (object)
|
|
833
|
+
|
|
834
|
+
Properties of the `sup` object:
|
|
835
|
+
|
|
836
|
+
##### `disabled` (boolean)
|
|
837
|
+
|
|
838
|
+
Indicates if the plugin is disabled or not
|
|
839
|
+
|
|
840
|
+
#### `table` (object)
|
|
841
|
+
|
|
842
|
+
Properties of the `table` object:
|
|
843
|
+
|
|
844
|
+
##### `disabled` (boolean)
|
|
845
|
+
|
|
846
|
+
Indicates if the plugin is disabled or not
|
|
847
|
+
|
|
848
|
+
#### `ul_list` (object)
|
|
849
|
+
|
|
850
|
+
Properties of the `ul_list` object:
|
|
851
|
+
|
|
852
|
+
##### `disabled` (boolean)
|
|
853
|
+
|
|
854
|
+
Indicates if the plugin is disabled or not
|
|
855
|
+
|
|
856
|
+
#### `underline` (object)
|
|
857
|
+
|
|
858
|
+
Properties of the `underline` object:
|
|
859
|
+
|
|
860
|
+
##### `disabled` (boolean)
|
|
861
|
+
|
|
862
|
+
Indicates if the plugin is disabled or not
|
|
863
|
+
|
|
864
|
+
#### `undo` (object)
|
|
865
|
+
|
|
866
|
+
Properties of the `undo` object:
|
|
867
|
+
|
|
868
|
+
##### `disabled` (boolean)
|
|
869
|
+
|
|
870
|
+
Indicates if the plugin is disabled or not
|
|
871
|
+
|
|
872
|
+
### `required` (boolean)
|
|
873
|
+
|
|
874
|
+
Indicates if the item is required and the value cannot be empty
|
|
875
|
+
|
|
876
|
+
### `settings` (boolean)
|
|
877
|
+
|
|
878
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
879
|
+
|
|
880
|
+
### `label` (string)
|
|
881
|
+
|
|
882
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
883
|
+
|
|
884
|
+
## `ConfigurePropWithEnabled` (object)
|
|
885
|
+
|
|
886
|
+
Properties of the `ConfigurePropWithEnabled` object:
|
|
887
|
+
|
|
888
|
+
### `enabled` (boolean)
|
|
889
|
+
|
|
890
|
+
Indicates the value of the item if it affects config-ui
|
|
891
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
892
|
+
|
|
893
|
+
### `settings` (boolean)
|
|
894
|
+
|
|
895
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
896
|
+
|
|
897
|
+
### `label` (string)
|
|
898
|
+
|
|
899
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
900
|
+
|
|
901
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
902
|
+
|
|
903
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
904
|
+
|
|
905
|
+
### `teacherInstructions` (number)
|
|
906
|
+
|
|
907
|
+
Indicates the max dimension for images in teacher instructions
|
|
908
|
+
|
|
909
|
+
### `prompt` (number)
|
|
910
|
+
|
|
911
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
912
|
+
|
|
913
|
+
### `rationale` (number)
|
|
914
|
+
|
|
915
|
+
Indicates the max dimension for images in rationale
|
|
916
|
+
|
|
917
|
+
### `choices` (number)
|
|
918
|
+
|
|
919
|
+
Indicates the max dimension for images in choices
|
|
920
|
+
|
|
921
|
+
## `ConfigureMathMLProp` (object)
|
|
922
|
+
|
|
923
|
+
Properties of the `ConfigureMathMLProp` object:
|
|
924
|
+
|
|
925
|
+
### `mmlOutput` (number)
|
|
926
|
+
|
|
927
|
+
Indicates if model should have mathML output instead of latex
|
|
928
|
+
|
|
929
|
+
### `mmlEditing` (number)
|
|
930
|
+
|
|
931
|
+
Indicates if mathML that's already in model should be editable
|
|
932
|
+
|
|
933
|
+
## `ConfigureLanguageOptionsProp` (object)
|
|
934
|
+
|
|
935
|
+
Properties of the `ConfigureLanguageOptionsProp` object:
|
|
936
|
+
|
|
937
|
+
### `value` (string, required)
|
|
938
|
+
|
|
939
|
+
Value of the language option
|
|
940
|
+
|
|
941
|
+
### `label` (string, required)
|
|
942
|
+
|
|
943
|
+
Label of the language option
|
|
944
|
+
|
|
945
|
+
## `Choice` (object)
|
|
946
|
+
|
|
947
|
+
Properties of the `Choice` object:
|
|
948
|
+
|
|
949
|
+
### `correct` (boolean)
|
|
950
|
+
|
|
951
|
+
Indicates if the choice is correct
|
|
952
|
+
|
|
953
|
+
### `value` (string, required)
|
|
954
|
+
|
|
955
|
+
the value that will be stored if this choice is selected
|
|
956
|
+
|
|
957
|
+
### `label` (string, required)
|
|
958
|
+
|
|
959
|
+
the text label that will be presented to the user for this choice
|
|
960
|
+
|
|
961
|
+
### `feedback` (object)
|
|
962
|
+
|
|
963
|
+
The type of feedback to use:
|
|
964
|
+
`default` = a standard feedback message
|
|
965
|
+
`custom` = a customized feedback message
|
|
966
|
+
|
|
967
|
+
Properties of the `feedback` object:
|
|
968
|
+
|
|
969
|
+
#### `type` (string, enum, required)
|
|
970
|
+
|
|
971
|
+
This element must be one of the following enum values:
|
|
972
|
+
|
|
973
|
+
* `custom`
|
|
974
|
+
* `default`
|
|
975
|
+
* `none`
|
|
976
|
+
|
|
977
|
+
Default: `"default"`
|
|
978
|
+
|
|
979
|
+
#### `value` (string)
|
|
980
|
+
|
|
981
|
+
Value for feedback
|
|
982
|
+
|
|
983
|
+
#### `custom` (string)
|
|
984
|
+
|
|
985
|
+
Custom value for feedback
|
|
986
|
+
|
|
987
|
+
### `rationale` (string)
|
|
988
|
+
|
|
989
|
+
Rationale for the Choice
|
|
990
|
+
|
|
991
|
+
## `Feedback` (object)
|
|
992
|
+
|
|
993
|
+
The type of feedback to use:
|
|
994
|
+
`default` = a standard feedback message
|
|
995
|
+
`custom` = a customized feedback message
|
|
996
|
+
|
|
997
|
+
Properties of the `Feedback` object:
|
|
998
|
+
|
|
999
|
+
### `type` (string, enum, required)
|
|
1000
|
+
|
|
1001
|
+
This element must be one of the following enum values:
|
|
1002
|
+
|
|
1003
|
+
* `custom`
|
|
1004
|
+
* `default`
|
|
1005
|
+
* `none`
|
|
1006
|
+
|
|
1007
|
+
Default: `"default"`
|
|
1008
|
+
|
|
1009
|
+
### `value` (string)
|
|
1010
|
+
|
|
1011
|
+
Value for feedback
|
|
1012
|
+
|
|
1013
|
+
### `custom` (string)
|
|
1014
|
+
|
|
1015
|
+
Custom value for feedback
|