@pie-element/graphing 3.5.0 → 3.5.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.
- package/CHANGELOG.md +498 -0
- package/configure/CHANGELOG.md +482 -0
- package/configure/lib/configure.js +174 -56
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/correct-response.js +340 -62
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/lib/defaults.js +281 -13
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/graphing-config.js +323 -177
- package/configure/lib/graphing-config.js.map +1 -1
- package/configure/lib/index.js +63 -18
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/utils.js +165 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +6 -5
- package/controller/CHANGELOG.md +114 -0
- package/controller/lib/defaults.js +11 -1
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +85 -23
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js +8 -6
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +4 -4
- package/docs/config-schema.json +1166 -10
- package/docs/config-schema.json.md +816 -9
- package/docs/demo/config.js +2 -2
- package/docs/demo/generate.js +31 -19
- package/docs/pie-schema.json +725 -463
- package/docs/pie-schema.json.md +504 -87
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/main.js +23 -21
- package/lib/main.js.map +1 -1
- package/lib/utils.js +3 -1
- package/lib/utils.js.map +1 -1
- package/package.json +7 -6
|
@@ -8,16 +8,83 @@ Properties of the `authoring` object:
|
|
|
8
8
|
|
|
9
9
|
## `settings` (boolean)
|
|
10
10
|
|
|
11
|
-
Indicates if the item
|
|
11
|
+
Indicates if the item is displayed in the Settings Panel
|
|
12
12
|
|
|
13
13
|
## `label` (string)
|
|
14
14
|
|
|
15
|
-
Indicates the label for the item that
|
|
15
|
+
Indicates the label for the item that is displayed in the Settings Panel
|
|
16
16
|
|
|
17
17
|
## `enabled` (boolean)
|
|
18
18
|
|
|
19
|
-
Indicates
|
|
20
|
-
|
|
19
|
+
Indicates if the Grid Setup Panel is displayed
|
|
20
|
+
|
|
21
|
+
## `includeAxesEnabled` (boolean)
|
|
22
|
+
|
|
23
|
+
Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
|
|
24
|
+
|
|
25
|
+
## `standardGridEnabled` (boolean)
|
|
26
|
+
|
|
27
|
+
Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
|
|
28
|
+
|
|
29
|
+
## `min` (object)
|
|
30
|
+
|
|
31
|
+
Properties of the `min` object:
|
|
32
|
+
|
|
33
|
+
### `label` (string)
|
|
34
|
+
|
|
35
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
36
|
+
|
|
37
|
+
### `enabled` (boolean)
|
|
38
|
+
|
|
39
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
40
|
+
|
|
41
|
+
## `max` (object)
|
|
42
|
+
|
|
43
|
+
Properties of the `max` object:
|
|
44
|
+
|
|
45
|
+
### `label` (string)
|
|
46
|
+
|
|
47
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
48
|
+
|
|
49
|
+
### `enabled` (boolean)
|
|
50
|
+
|
|
51
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
52
|
+
|
|
53
|
+
## `axisLabel` (object)
|
|
54
|
+
|
|
55
|
+
Properties of the `axisLabel` object:
|
|
56
|
+
|
|
57
|
+
### `label` (string)
|
|
58
|
+
|
|
59
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
60
|
+
|
|
61
|
+
### `enabled` (boolean)
|
|
62
|
+
|
|
63
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
64
|
+
|
|
65
|
+
## `step` (object)
|
|
66
|
+
|
|
67
|
+
Properties of the `step` object:
|
|
68
|
+
|
|
69
|
+
### `label` (string)
|
|
70
|
+
|
|
71
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
72
|
+
|
|
73
|
+
### `enabled` (boolean)
|
|
74
|
+
|
|
75
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
76
|
+
|
|
77
|
+
## `labelStep` (object)
|
|
78
|
+
|
|
79
|
+
Properties of the `labelStep` object:
|
|
80
|
+
|
|
81
|
+
### `label` (string)
|
|
82
|
+
|
|
83
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
84
|
+
|
|
85
|
+
### `enabled` (boolean)
|
|
86
|
+
|
|
87
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
21
88
|
|
|
22
89
|
# `arrows` (object)
|
|
23
90
|
|
|
@@ -31,6 +98,220 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
31
98
|
|
|
32
99
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
33
100
|
|
|
101
|
+
## `left` (object)
|
|
102
|
+
|
|
103
|
+
Properties of the `left` object:
|
|
104
|
+
|
|
105
|
+
### `label` (string)
|
|
106
|
+
|
|
107
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
108
|
+
|
|
109
|
+
## `right` (object)
|
|
110
|
+
|
|
111
|
+
Properties of the `right` object:
|
|
112
|
+
|
|
113
|
+
### `label` (string)
|
|
114
|
+
|
|
115
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
116
|
+
|
|
117
|
+
## `up` (object)
|
|
118
|
+
|
|
119
|
+
Properties of the `up` object:
|
|
120
|
+
|
|
121
|
+
### `label` (string)
|
|
122
|
+
|
|
123
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
124
|
+
|
|
125
|
+
## `down` (object)
|
|
126
|
+
|
|
127
|
+
Properties of the `down` object:
|
|
128
|
+
|
|
129
|
+
### `label` (string)
|
|
130
|
+
|
|
131
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
132
|
+
|
|
133
|
+
# `availableTools` (array)
|
|
134
|
+
|
|
135
|
+
Graph toolbar tools configuration
|
|
136
|
+
|
|
137
|
+
The object is an array with all elements of the type `string`.
|
|
138
|
+
|
|
139
|
+
# `coordinatesOnHover` (object)
|
|
140
|
+
|
|
141
|
+
Properties of the `coordinatesOnHover` object:
|
|
142
|
+
|
|
143
|
+
## `settings` (boolean)
|
|
144
|
+
|
|
145
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
146
|
+
|
|
147
|
+
## `label` (string)
|
|
148
|
+
|
|
149
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
150
|
+
|
|
151
|
+
# `graphDimensions` (object)
|
|
152
|
+
|
|
153
|
+
Properties of the `graphDimensions` object:
|
|
154
|
+
|
|
155
|
+
## `settings` (boolean)
|
|
156
|
+
|
|
157
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
158
|
+
|
|
159
|
+
## `label` (string)
|
|
160
|
+
|
|
161
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
162
|
+
|
|
163
|
+
## `enabled` (boolean)
|
|
164
|
+
|
|
165
|
+
Indicates if the graph dimensions are included in the Grid Setup Panel
|
|
166
|
+
|
|
167
|
+
## `min` (number)
|
|
168
|
+
|
|
169
|
+
Indicates the minimum value for the graph width and height
|
|
170
|
+
|
|
171
|
+
## `max` (number)
|
|
172
|
+
|
|
173
|
+
Indicates the maximum value for the graph width and height
|
|
174
|
+
|
|
175
|
+
## `step` (number)
|
|
176
|
+
|
|
177
|
+
Indicates the increase/decrease value for the graph width and height
|
|
178
|
+
|
|
179
|
+
# `gridConfigurations` (array, required)
|
|
180
|
+
|
|
181
|
+
Grid default configurations
|
|
182
|
+
|
|
183
|
+
The object is an array with all elements of the type `object`.
|
|
184
|
+
|
|
185
|
+
The array object has the following properties:
|
|
186
|
+
|
|
187
|
+
## `label` (string)
|
|
188
|
+
|
|
189
|
+
Indicates the label for the configuration
|
|
190
|
+
|
|
191
|
+
## `arrows` (object)
|
|
192
|
+
|
|
193
|
+
Properties of the `arrows` object:
|
|
194
|
+
|
|
195
|
+
### `left` (boolean, required)
|
|
196
|
+
|
|
197
|
+
Indicates if left arrow is enabled
|
|
198
|
+
|
|
199
|
+
### `right` (boolean, required)
|
|
200
|
+
|
|
201
|
+
Indicates if right arrow is enabled
|
|
202
|
+
|
|
203
|
+
### `up` (boolean, required)
|
|
204
|
+
|
|
205
|
+
Indicates if up arrow is enabled
|
|
206
|
+
|
|
207
|
+
### `down` (boolean, required)
|
|
208
|
+
|
|
209
|
+
Indicates if down arrow is enabled
|
|
210
|
+
|
|
211
|
+
## `domain` (object, required)
|
|
212
|
+
|
|
213
|
+
Properties of the `domain` object:
|
|
214
|
+
|
|
215
|
+
### `min` (number, required)
|
|
216
|
+
|
|
217
|
+
Min value
|
|
218
|
+
|
|
219
|
+
### `max` (number, required)
|
|
220
|
+
|
|
221
|
+
Max value
|
|
222
|
+
|
|
223
|
+
### `padding` (number, required)
|
|
224
|
+
|
|
225
|
+
Padding value
|
|
226
|
+
|
|
227
|
+
### `step` (number, required)
|
|
228
|
+
|
|
229
|
+
Step value
|
|
230
|
+
|
|
231
|
+
### `labelStep` (number, required)
|
|
232
|
+
|
|
233
|
+
Label step value
|
|
234
|
+
|
|
235
|
+
### `axisLabel` (string, required)
|
|
236
|
+
|
|
237
|
+
Axis Label
|
|
238
|
+
|
|
239
|
+
## `graph` (object, required)
|
|
240
|
+
|
|
241
|
+
Properties of the `graph` object:
|
|
242
|
+
|
|
243
|
+
### `width` (number, required)
|
|
244
|
+
|
|
245
|
+
Width for graph representation
|
|
246
|
+
|
|
247
|
+
### `height` (number, required)
|
|
248
|
+
|
|
249
|
+
Height for graph representation
|
|
250
|
+
|
|
251
|
+
## `includeAxes` (boolean)
|
|
252
|
+
|
|
253
|
+
Indicates if the graph axes and labels are enabled
|
|
254
|
+
|
|
255
|
+
## `labels` (object)
|
|
256
|
+
|
|
257
|
+
Properties of the `labels` object:
|
|
258
|
+
|
|
259
|
+
### `top` (string, required)
|
|
260
|
+
|
|
261
|
+
Label for top side of the graph
|
|
262
|
+
|
|
263
|
+
### `bottom` (string, required)
|
|
264
|
+
|
|
265
|
+
Label for bottom side of the graph
|
|
266
|
+
|
|
267
|
+
### `left` (string, required)
|
|
268
|
+
|
|
269
|
+
Label for left side of the graph
|
|
270
|
+
|
|
271
|
+
### `right` (string, required)
|
|
272
|
+
|
|
273
|
+
Label for right side of the graph
|
|
274
|
+
|
|
275
|
+
## `padding` (boolean)
|
|
276
|
+
|
|
277
|
+
Indicates if padding is enabled
|
|
278
|
+
|
|
279
|
+
## `range` (object, required)
|
|
280
|
+
|
|
281
|
+
Properties of the `range` object:
|
|
282
|
+
|
|
283
|
+
### `min` (number, required)
|
|
284
|
+
|
|
285
|
+
Min value
|
|
286
|
+
|
|
287
|
+
### `max` (number, required)
|
|
288
|
+
|
|
289
|
+
Max value
|
|
290
|
+
|
|
291
|
+
### `padding` (number, required)
|
|
292
|
+
|
|
293
|
+
Padding value
|
|
294
|
+
|
|
295
|
+
### `step` (number, required)
|
|
296
|
+
|
|
297
|
+
Step value
|
|
298
|
+
|
|
299
|
+
### `labelStep` (number, required)
|
|
300
|
+
|
|
301
|
+
Label step value
|
|
302
|
+
|
|
303
|
+
### `axisLabel` (string, required)
|
|
304
|
+
|
|
305
|
+
Axis Label
|
|
306
|
+
|
|
307
|
+
## `standardGrid` (boolean)
|
|
308
|
+
|
|
309
|
+
Indicates if some domain values will be synched to the range values
|
|
310
|
+
|
|
311
|
+
## `title` (string)
|
|
312
|
+
|
|
313
|
+
Indicates graph title
|
|
314
|
+
|
|
34
315
|
# `padding` (object)
|
|
35
316
|
|
|
36
317
|
Properties of the `padding` object:
|
|
@@ -47,6 +328,22 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
47
328
|
|
|
48
329
|
Properties of the `labels` object:
|
|
49
330
|
|
|
331
|
+
## `top` (string)
|
|
332
|
+
|
|
333
|
+
Indicates the placeholder for the top label
|
|
334
|
+
|
|
335
|
+
## `right` (string)
|
|
336
|
+
|
|
337
|
+
Indicates the placeholder for the right label
|
|
338
|
+
|
|
339
|
+
## `bottom` (string)
|
|
340
|
+
|
|
341
|
+
Indicates the placeholder for the bottom label
|
|
342
|
+
|
|
343
|
+
## `left` (string)
|
|
344
|
+
|
|
345
|
+
Indicates the placeholder for the left label
|
|
346
|
+
|
|
50
347
|
## `settings` (boolean)
|
|
51
348
|
|
|
52
349
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -55,6 +352,11 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
55
352
|
|
|
56
353
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
57
354
|
|
|
355
|
+
## `enabled` (boolean)
|
|
356
|
+
|
|
357
|
+
Indicates the value of the item if it affects config-ui
|
|
358
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
359
|
+
|
|
58
360
|
# `prompt` (object)
|
|
59
361
|
|
|
60
362
|
Properties of the `prompt` object:
|
|
@@ -67,6 +369,22 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
67
369
|
|
|
68
370
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
69
371
|
|
|
372
|
+
# `settingsPanelDisabled` (boolean)
|
|
373
|
+
|
|
374
|
+
Indicates if the settings panel is not available
|
|
375
|
+
|
|
376
|
+
# `spellCheck` (object)
|
|
377
|
+
|
|
378
|
+
Properties of the `spellCheck` object:
|
|
379
|
+
|
|
380
|
+
## `settings` (boolean)
|
|
381
|
+
|
|
382
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
383
|
+
|
|
384
|
+
## `label` (string)
|
|
385
|
+
|
|
386
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
387
|
+
|
|
70
388
|
# `rationale` (object)
|
|
71
389
|
|
|
72
390
|
Properties of the `rationale` object:
|
|
@@ -119,6 +437,10 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
119
437
|
|
|
120
438
|
Properties of the `title` object:
|
|
121
439
|
|
|
440
|
+
## `placeholder` (string)
|
|
441
|
+
|
|
442
|
+
Indicates the placeholder for the title label
|
|
443
|
+
|
|
122
444
|
## `settings` (boolean)
|
|
123
445
|
|
|
124
446
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -132,6 +454,50 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
132
454
|
Indicates the value of the item if it affects config-ui
|
|
133
455
|
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
134
456
|
|
|
457
|
+
# `maxImageWidth` (object)
|
|
458
|
+
|
|
459
|
+
Properties of the `maxImageWidth` object:
|
|
460
|
+
|
|
461
|
+
## `teacherInstructions` (number)
|
|
462
|
+
|
|
463
|
+
Indicates the max dimension for images in teacher instructions
|
|
464
|
+
|
|
465
|
+
## `prompt` (number)
|
|
466
|
+
|
|
467
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
468
|
+
|
|
469
|
+
## `rationale` (number)
|
|
470
|
+
|
|
471
|
+
Indicates the max dimension for images in rationale
|
|
472
|
+
|
|
473
|
+
# `maxImageHeight` (object)
|
|
474
|
+
|
|
475
|
+
Properties of the `maxImageHeight` object:
|
|
476
|
+
|
|
477
|
+
## `teacherInstructions` (number)
|
|
478
|
+
|
|
479
|
+
Indicates the max dimension for images in teacher instructions
|
|
480
|
+
|
|
481
|
+
## `prompt` (number)
|
|
482
|
+
|
|
483
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
484
|
+
|
|
485
|
+
## `rationale` (number)
|
|
486
|
+
|
|
487
|
+
Indicates the max dimension for images in rationale
|
|
488
|
+
|
|
489
|
+
# `withRubric` (object)
|
|
490
|
+
|
|
491
|
+
Properties of the `withRubric` object:
|
|
492
|
+
|
|
493
|
+
## `settings` (boolean)
|
|
494
|
+
|
|
495
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
496
|
+
|
|
497
|
+
## `label` (string)
|
|
498
|
+
|
|
499
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
500
|
+
|
|
135
501
|
# `showPrompt` (boolean)
|
|
136
502
|
|
|
137
503
|
Determines whether prompt field will be displayed or not
|
|
@@ -156,9 +522,425 @@ Default: `true`
|
|
|
156
522
|
|
|
157
523
|
The schema defines the following additional types:
|
|
158
524
|
|
|
159
|
-
## `
|
|
525
|
+
## `AuthoringConfigProp` (object)
|
|
526
|
+
|
|
527
|
+
Properties of the `AuthoringConfigProp` object:
|
|
528
|
+
|
|
529
|
+
### `settings` (boolean)
|
|
530
|
+
|
|
531
|
+
Indicates if the item is displayed in the Settings Panel
|
|
532
|
+
|
|
533
|
+
### `label` (string)
|
|
534
|
+
|
|
535
|
+
Indicates the label for the item that is displayed in the Settings Panel
|
|
536
|
+
|
|
537
|
+
### `enabled` (boolean)
|
|
538
|
+
|
|
539
|
+
Indicates if the Grid Setup Panel is displayed
|
|
540
|
+
|
|
541
|
+
### `includeAxesEnabled` (boolean)
|
|
542
|
+
|
|
543
|
+
Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
|
|
544
|
+
|
|
545
|
+
### `standardGridEnabled` (boolean)
|
|
160
546
|
|
|
161
|
-
|
|
547
|
+
Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
|
|
548
|
+
|
|
549
|
+
### `min` (object)
|
|
550
|
+
|
|
551
|
+
Properties of the `min` object:
|
|
552
|
+
|
|
553
|
+
#### `label` (string)
|
|
554
|
+
|
|
555
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
556
|
+
|
|
557
|
+
#### `enabled` (boolean)
|
|
558
|
+
|
|
559
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
560
|
+
|
|
561
|
+
### `max` (object)
|
|
562
|
+
|
|
563
|
+
Properties of the `max` object:
|
|
564
|
+
|
|
565
|
+
#### `label` (string)
|
|
566
|
+
|
|
567
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
568
|
+
|
|
569
|
+
#### `enabled` (boolean)
|
|
570
|
+
|
|
571
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
572
|
+
|
|
573
|
+
### `axisLabel` (object)
|
|
574
|
+
|
|
575
|
+
Properties of the `axisLabel` object:
|
|
576
|
+
|
|
577
|
+
#### `label` (string)
|
|
578
|
+
|
|
579
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
580
|
+
|
|
581
|
+
#### `enabled` (boolean)
|
|
582
|
+
|
|
583
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
584
|
+
|
|
585
|
+
### `step` (object)
|
|
586
|
+
|
|
587
|
+
Properties of the `step` object:
|
|
588
|
+
|
|
589
|
+
#### `label` (string)
|
|
590
|
+
|
|
591
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
592
|
+
|
|
593
|
+
#### `enabled` (boolean)
|
|
594
|
+
|
|
595
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
596
|
+
|
|
597
|
+
### `labelStep` (object)
|
|
598
|
+
|
|
599
|
+
Properties of the `labelStep` object:
|
|
600
|
+
|
|
601
|
+
#### `label` (string)
|
|
602
|
+
|
|
603
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
604
|
+
|
|
605
|
+
#### `enabled` (boolean)
|
|
606
|
+
|
|
607
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
608
|
+
|
|
609
|
+
## `GridPanelConfigProp` (object)
|
|
610
|
+
|
|
611
|
+
Properties of the `GridPanelConfigProp` object:
|
|
612
|
+
|
|
613
|
+
### `label` (string)
|
|
614
|
+
|
|
615
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
616
|
+
|
|
617
|
+
### `enabled` (boolean)
|
|
618
|
+
|
|
619
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
620
|
+
|
|
621
|
+
## `ArrowsConfigProp` (object)
|
|
622
|
+
|
|
623
|
+
Properties of the `ArrowsConfigProp` object:
|
|
624
|
+
|
|
625
|
+
### `settings` (boolean)
|
|
626
|
+
|
|
627
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
628
|
+
|
|
629
|
+
### `label` (string)
|
|
630
|
+
|
|
631
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
632
|
+
|
|
633
|
+
### `left` (object)
|
|
634
|
+
|
|
635
|
+
Properties of the `left` object:
|
|
636
|
+
|
|
637
|
+
#### `label` (string)
|
|
638
|
+
|
|
639
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
640
|
+
|
|
641
|
+
### `right` (object)
|
|
642
|
+
|
|
643
|
+
Properties of the `right` object:
|
|
644
|
+
|
|
645
|
+
#### `label` (string)
|
|
646
|
+
|
|
647
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
648
|
+
|
|
649
|
+
### `up` (object)
|
|
650
|
+
|
|
651
|
+
Properties of the `up` object:
|
|
652
|
+
|
|
653
|
+
#### `label` (string)
|
|
654
|
+
|
|
655
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
656
|
+
|
|
657
|
+
### `down` (object)
|
|
658
|
+
|
|
659
|
+
Properties of the `down` object:
|
|
660
|
+
|
|
661
|
+
#### `label` (string)
|
|
662
|
+
|
|
663
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
664
|
+
|
|
665
|
+
## `ArrowsProp` (object)
|
|
666
|
+
|
|
667
|
+
Properties of the `ArrowsProp` object:
|
|
668
|
+
|
|
669
|
+
### `label` (string)
|
|
670
|
+
|
|
671
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
672
|
+
|
|
673
|
+
## `ConfigureProp` (object)
|
|
674
|
+
|
|
675
|
+
Properties of the `ConfigureProp` object:
|
|
676
|
+
|
|
677
|
+
### `settings` (boolean)
|
|
678
|
+
|
|
679
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
680
|
+
|
|
681
|
+
### `label` (string)
|
|
682
|
+
|
|
683
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
684
|
+
|
|
685
|
+
## `DimensionsConfigProp` (object)
|
|
686
|
+
|
|
687
|
+
Properties of the `DimensionsConfigProp` object:
|
|
688
|
+
|
|
689
|
+
### `settings` (boolean)
|
|
690
|
+
|
|
691
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
692
|
+
|
|
693
|
+
### `label` (string)
|
|
694
|
+
|
|
695
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
696
|
+
|
|
697
|
+
### `enabled` (boolean)
|
|
698
|
+
|
|
699
|
+
Indicates if the graph dimensions are included in the Grid Setup Panel
|
|
700
|
+
|
|
701
|
+
### `min` (number)
|
|
702
|
+
|
|
703
|
+
Indicates the minimum value for the graph width and height
|
|
704
|
+
|
|
705
|
+
### `max` (number)
|
|
706
|
+
|
|
707
|
+
Indicates the maximum value for the graph width and height
|
|
708
|
+
|
|
709
|
+
### `step` (number)
|
|
710
|
+
|
|
711
|
+
Indicates the increase/decrease value for the graph width and height
|
|
712
|
+
|
|
713
|
+
## `GridConfigurationsProp` (object)
|
|
714
|
+
|
|
715
|
+
Properties of the `GridConfigurationsProp` object:
|
|
716
|
+
|
|
717
|
+
### `label` (string)
|
|
718
|
+
|
|
719
|
+
Indicates the label for the configuration
|
|
720
|
+
|
|
721
|
+
### `arrows` (object)
|
|
722
|
+
|
|
723
|
+
Properties of the `arrows` object:
|
|
724
|
+
|
|
725
|
+
#### `left` (boolean, required)
|
|
726
|
+
|
|
727
|
+
Indicates if left arrow is enabled
|
|
728
|
+
|
|
729
|
+
#### `right` (boolean, required)
|
|
730
|
+
|
|
731
|
+
Indicates if right arrow is enabled
|
|
732
|
+
|
|
733
|
+
#### `up` (boolean, required)
|
|
734
|
+
|
|
735
|
+
Indicates if up arrow is enabled
|
|
736
|
+
|
|
737
|
+
#### `down` (boolean, required)
|
|
738
|
+
|
|
739
|
+
Indicates if down arrow is enabled
|
|
740
|
+
|
|
741
|
+
### `domain` (object, required)
|
|
742
|
+
|
|
743
|
+
Properties of the `domain` object:
|
|
744
|
+
|
|
745
|
+
#### `min` (number, required)
|
|
746
|
+
|
|
747
|
+
Min value
|
|
748
|
+
|
|
749
|
+
#### `max` (number, required)
|
|
750
|
+
|
|
751
|
+
Max value
|
|
752
|
+
|
|
753
|
+
#### `padding` (number, required)
|
|
754
|
+
|
|
755
|
+
Padding value
|
|
756
|
+
|
|
757
|
+
#### `step` (number, required)
|
|
758
|
+
|
|
759
|
+
Step value
|
|
760
|
+
|
|
761
|
+
#### `labelStep` (number, required)
|
|
762
|
+
|
|
763
|
+
Label step value
|
|
764
|
+
|
|
765
|
+
#### `axisLabel` (string, required)
|
|
766
|
+
|
|
767
|
+
Axis Label
|
|
768
|
+
|
|
769
|
+
### `graph` (object, required)
|
|
770
|
+
|
|
771
|
+
Properties of the `graph` object:
|
|
772
|
+
|
|
773
|
+
#### `width` (number, required)
|
|
774
|
+
|
|
775
|
+
Width for graph representation
|
|
776
|
+
|
|
777
|
+
#### `height` (number, required)
|
|
778
|
+
|
|
779
|
+
Height for graph representation
|
|
780
|
+
|
|
781
|
+
### `includeAxes` (boolean)
|
|
782
|
+
|
|
783
|
+
Indicates if the graph axes and labels are enabled
|
|
784
|
+
|
|
785
|
+
### `labels` (object)
|
|
786
|
+
|
|
787
|
+
Properties of the `labels` object:
|
|
788
|
+
|
|
789
|
+
#### `top` (string, required)
|
|
790
|
+
|
|
791
|
+
Label for top side of the graph
|
|
792
|
+
|
|
793
|
+
#### `bottom` (string, required)
|
|
794
|
+
|
|
795
|
+
Label for bottom side of the graph
|
|
796
|
+
|
|
797
|
+
#### `left` (string, required)
|
|
798
|
+
|
|
799
|
+
Label for left side of the graph
|
|
800
|
+
|
|
801
|
+
#### `right` (string, required)
|
|
802
|
+
|
|
803
|
+
Label for right side of the graph
|
|
804
|
+
|
|
805
|
+
### `padding` (boolean)
|
|
806
|
+
|
|
807
|
+
Indicates if padding is enabled
|
|
808
|
+
|
|
809
|
+
### `range` (object, required)
|
|
810
|
+
|
|
811
|
+
Properties of the `range` object:
|
|
812
|
+
|
|
813
|
+
#### `min` (number, required)
|
|
814
|
+
|
|
815
|
+
Min value
|
|
816
|
+
|
|
817
|
+
#### `max` (number, required)
|
|
818
|
+
|
|
819
|
+
Max value
|
|
820
|
+
|
|
821
|
+
#### `padding` (number, required)
|
|
822
|
+
|
|
823
|
+
Padding value
|
|
824
|
+
|
|
825
|
+
#### `step` (number, required)
|
|
826
|
+
|
|
827
|
+
Step value
|
|
828
|
+
|
|
829
|
+
#### `labelStep` (number, required)
|
|
830
|
+
|
|
831
|
+
Label step value
|
|
832
|
+
|
|
833
|
+
#### `axisLabel` (string, required)
|
|
834
|
+
|
|
835
|
+
Axis Label
|
|
836
|
+
|
|
837
|
+
### `standardGrid` (boolean)
|
|
838
|
+
|
|
839
|
+
Indicates if some domain values will be synched to the range values
|
|
840
|
+
|
|
841
|
+
### `title` (string)
|
|
842
|
+
|
|
843
|
+
Indicates graph title
|
|
844
|
+
|
|
845
|
+
## `Arrows` (object)
|
|
846
|
+
|
|
847
|
+
Properties of the `Arrows` object:
|
|
848
|
+
|
|
849
|
+
### `left` (boolean, required)
|
|
850
|
+
|
|
851
|
+
Indicates if left arrow is enabled
|
|
852
|
+
|
|
853
|
+
### `right` (boolean, required)
|
|
854
|
+
|
|
855
|
+
Indicates if right arrow is enabled
|
|
856
|
+
|
|
857
|
+
### `up` (boolean, required)
|
|
858
|
+
|
|
859
|
+
Indicates if up arrow is enabled
|
|
860
|
+
|
|
861
|
+
### `down` (boolean, required)
|
|
862
|
+
|
|
863
|
+
Indicates if down arrow is enabled
|
|
864
|
+
|
|
865
|
+
## `GraphSettings` (object)
|
|
866
|
+
|
|
867
|
+
Properties of the `GraphSettings` object:
|
|
868
|
+
|
|
869
|
+
### `min` (number, required)
|
|
870
|
+
|
|
871
|
+
Min value
|
|
872
|
+
|
|
873
|
+
### `max` (number, required)
|
|
874
|
+
|
|
875
|
+
Max value
|
|
876
|
+
|
|
877
|
+
### `padding` (number, required)
|
|
878
|
+
|
|
879
|
+
Padding value
|
|
880
|
+
|
|
881
|
+
### `step` (number, required)
|
|
882
|
+
|
|
883
|
+
Step value
|
|
884
|
+
|
|
885
|
+
### `labelStep` (number, required)
|
|
886
|
+
|
|
887
|
+
Label step value
|
|
888
|
+
|
|
889
|
+
### `axisLabel` (string, required)
|
|
890
|
+
|
|
891
|
+
Axis Label
|
|
892
|
+
|
|
893
|
+
## `Graph` (object)
|
|
894
|
+
|
|
895
|
+
Properties of the `Graph` object:
|
|
896
|
+
|
|
897
|
+
### `width` (number, required)
|
|
898
|
+
|
|
899
|
+
Width for graph representation
|
|
900
|
+
|
|
901
|
+
### `height` (number, required)
|
|
902
|
+
|
|
903
|
+
Height for graph representation
|
|
904
|
+
|
|
905
|
+
## `Labels` (object)
|
|
906
|
+
|
|
907
|
+
Properties of the `Labels` object:
|
|
908
|
+
|
|
909
|
+
### `top` (string, required)
|
|
910
|
+
|
|
911
|
+
Label for top side of the graph
|
|
912
|
+
|
|
913
|
+
### `bottom` (string, required)
|
|
914
|
+
|
|
915
|
+
Label for bottom side of the graph
|
|
916
|
+
|
|
917
|
+
### `left` (string, required)
|
|
918
|
+
|
|
919
|
+
Label for left side of the graph
|
|
920
|
+
|
|
921
|
+
### `right` (string, required)
|
|
922
|
+
|
|
923
|
+
Label for right side of the graph
|
|
924
|
+
|
|
925
|
+
## `LabelsConfigProp` (object)
|
|
926
|
+
|
|
927
|
+
Properties of the `LabelsConfigProp` object:
|
|
928
|
+
|
|
929
|
+
### `top` (string)
|
|
930
|
+
|
|
931
|
+
Indicates the placeholder for the top label
|
|
932
|
+
|
|
933
|
+
### `right` (string)
|
|
934
|
+
|
|
935
|
+
Indicates the placeholder for the right label
|
|
936
|
+
|
|
937
|
+
### `bottom` (string)
|
|
938
|
+
|
|
939
|
+
Indicates the placeholder for the bottom label
|
|
940
|
+
|
|
941
|
+
### `left` (string)
|
|
942
|
+
|
|
943
|
+
Indicates the placeholder for the left label
|
|
162
944
|
|
|
163
945
|
### `settings` (boolean)
|
|
164
946
|
|
|
@@ -173,9 +955,13 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
173
955
|
Indicates the value of the item if it affects config-ui
|
|
174
956
|
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
175
957
|
|
|
176
|
-
## `
|
|
958
|
+
## `TitleConfigProp` (object)
|
|
177
959
|
|
|
178
|
-
Properties of the `
|
|
960
|
+
Properties of the `TitleConfigProp` object:
|
|
961
|
+
|
|
962
|
+
### `placeholder` (string)
|
|
963
|
+
|
|
964
|
+
Indicates the placeholder for the title label
|
|
179
965
|
|
|
180
966
|
### `settings` (boolean)
|
|
181
967
|
|
|
@@ -183,4 +969,25 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
183
969
|
|
|
184
970
|
### `label` (string)
|
|
185
971
|
|
|
186
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
972
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
973
|
+
|
|
974
|
+
### `enabled` (boolean)
|
|
975
|
+
|
|
976
|
+
Indicates the value of the item if it affects config-ui
|
|
977
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
978
|
+
|
|
979
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
980
|
+
|
|
981
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
982
|
+
|
|
983
|
+
### `teacherInstructions` (number)
|
|
984
|
+
|
|
985
|
+
Indicates the max dimension for images in teacher instructions
|
|
986
|
+
|
|
987
|
+
### `prompt` (number)
|
|
988
|
+
|
|
989
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
990
|
+
|
|
991
|
+
### `rationale` (number)
|
|
992
|
+
|
|
993
|
+
Indicates the max dimension for images in rationale
|