@pie-element/graphing 3.5.1 → 3.5.4-next.1014

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.
@@ -25,6 +25,66 @@
25
25
  }
26
26
  },
27
27
  "arrows": {
28
+ "title": "ArrowsConfigProp",
29
+ "type": "object",
30
+ "properties": {
31
+ "settings": {
32
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
33
+ "type": "boolean",
34
+ "title": "settings"
35
+ },
36
+ "label": {
37
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
38
+ "type": "string",
39
+ "title": "label"
40
+ },
41
+ "left": {
42
+ "title": "ArrowsProp",
43
+ "type": "object",
44
+ "properties": {
45
+ "label": {
46
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
47
+ "type": "string",
48
+ "title": "label"
49
+ }
50
+ }
51
+ },
52
+ "right": {
53
+ "title": "ArrowsProp",
54
+ "type": "object",
55
+ "properties": {
56
+ "label": {
57
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
58
+ "type": "string",
59
+ "title": "label"
60
+ }
61
+ }
62
+ },
63
+ "up": {
64
+ "title": "ArrowsProp",
65
+ "type": "object",
66
+ "properties": {
67
+ "label": {
68
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
69
+ "type": "string",
70
+ "title": "label"
71
+ }
72
+ }
73
+ },
74
+ "down": {
75
+ "title": "ArrowsProp",
76
+ "type": "object",
77
+ "properties": {
78
+ "label": {
79
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
80
+ "type": "string",
81
+ "title": "label"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "coordinatesOnHover": {
28
88
  "title": "ConfigureProp",
29
89
  "type": "object",
30
90
  "properties": {
@@ -40,6 +100,42 @@
40
100
  }
41
101
  }
42
102
  },
103
+ "graphDimensions": {
104
+ "title": "DimensionsConfigProp",
105
+ "type": "object",
106
+ "properties": {
107
+ "settings": {
108
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
109
+ "type": "boolean",
110
+ "title": "settings"
111
+ },
112
+ "label": {
113
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
114
+ "type": "string",
115
+ "title": "label"
116
+ },
117
+ "enabled": {
118
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
119
+ "type": "boolean",
120
+ "title": "enabled"
121
+ },
122
+ "min": {
123
+ "description": "Indicates the minimum value for the graph width and height",
124
+ "type": "number",
125
+ "title": "min"
126
+ },
127
+ "max": {
128
+ "description": "Indicates the maximum value for the graph width and height",
129
+ "type": "number",
130
+ "title": "max"
131
+ },
132
+ "step": {
133
+ "description": "Indicates the increase/decrease value for the graph width and height",
134
+ "type": "number",
135
+ "title": "step"
136
+ }
137
+ }
138
+ },
43
139
  "padding": {
44
140
  "title": "ConfigureProp",
45
141
  "type": "object",
@@ -88,6 +184,22 @@
88
184
  }
89
185
  }
90
186
  },
187
+ "spellCheck": {
188
+ "title": "ConfigureProp",
189
+ "type": "object",
190
+ "properties": {
191
+ "settings": {
192
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
193
+ "type": "boolean",
194
+ "title": "settings"
195
+ },
196
+ "label": {
197
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
198
+ "type": "string",
199
+ "title": "label"
200
+ }
201
+ }
202
+ },
91
203
  "rationale": {
92
204
  "title": "ConfigureProp",
93
205
  "type": "object",
@@ -173,6 +285,48 @@
173
285
  }
174
286
  }
175
287
  },
288
+ "maxImageWidth": {
289
+ "title": "ConfigureMaxImageDimensionsProp",
290
+ "type": "object",
291
+ "properties": {
292
+ "teacherInstructions": {
293
+ "description": "Indicates the max dimension for images in teacher instructions",
294
+ "type": "number",
295
+ "title": "teacherInstructions"
296
+ },
297
+ "prompt": {
298
+ "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",
299
+ "type": "number",
300
+ "title": "prompt"
301
+ },
302
+ "rationale": {
303
+ "description": "Indicates the max dimension for images in rationale",
304
+ "type": "number",
305
+ "title": "rationale"
306
+ }
307
+ }
308
+ },
309
+ "maxImageHeight": {
310
+ "title": "ConfigureMaxImageDimensionsProp",
311
+ "type": "object",
312
+ "properties": {
313
+ "teacherInstructions": {
314
+ "description": "Indicates the max dimension for images in teacher instructions",
315
+ "type": "number",
316
+ "title": "teacherInstructions"
317
+ },
318
+ "prompt": {
319
+ "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",
320
+ "type": "number",
321
+ "title": "prompt"
322
+ },
323
+ "rationale": {
324
+ "description": "Indicates the max dimension for images in rationale",
325
+ "type": "number",
326
+ "title": "rationale"
327
+ }
328
+ }
329
+ },
176
330
  "showPrompt": {
177
331
  "description": "Determines whether prompt field will be displayed or not",
178
332
  "default": true,
@@ -214,6 +368,77 @@
214
368
  }
215
369
  }
216
370
  },
371
+ "ArrowsConfigProp": {
372
+ "title": "ArrowsConfigProp",
373
+ "type": "object",
374
+ "properties": {
375
+ "settings": {
376
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
377
+ "type": "boolean",
378
+ "title": "settings"
379
+ },
380
+ "label": {
381
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
382
+ "type": "string",
383
+ "title": "label"
384
+ },
385
+ "left": {
386
+ "title": "ArrowsProp",
387
+ "type": "object",
388
+ "properties": {
389
+ "label": {
390
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
391
+ "type": "string",
392
+ "title": "label"
393
+ }
394
+ }
395
+ },
396
+ "right": {
397
+ "title": "ArrowsProp",
398
+ "type": "object",
399
+ "properties": {
400
+ "label": {
401
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
402
+ "type": "string",
403
+ "title": "label"
404
+ }
405
+ }
406
+ },
407
+ "up": {
408
+ "title": "ArrowsProp",
409
+ "type": "object",
410
+ "properties": {
411
+ "label": {
412
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
413
+ "type": "string",
414
+ "title": "label"
415
+ }
416
+ }
417
+ },
418
+ "down": {
419
+ "title": "ArrowsProp",
420
+ "type": "object",
421
+ "properties": {
422
+ "label": {
423
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
424
+ "type": "string",
425
+ "title": "label"
426
+ }
427
+ }
428
+ }
429
+ }
430
+ },
431
+ "ArrowsProp": {
432
+ "title": "ArrowsProp",
433
+ "type": "object",
434
+ "properties": {
435
+ "label": {
436
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
437
+ "type": "string",
438
+ "title": "label"
439
+ }
440
+ }
441
+ },
217
442
  "ConfigureProp": {
218
443
  "title": "ConfigureProp",
219
444
  "type": "object",
@@ -229,6 +454,63 @@
229
454
  "title": "label"
230
455
  }
231
456
  }
457
+ },
458
+ "DimensionsConfigProp": {
459
+ "title": "DimensionsConfigProp",
460
+ "type": "object",
461
+ "properties": {
462
+ "settings": {
463
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
464
+ "type": "boolean",
465
+ "title": "settings"
466
+ },
467
+ "label": {
468
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
469
+ "type": "string",
470
+ "title": "label"
471
+ },
472
+ "enabled": {
473
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
474
+ "type": "boolean",
475
+ "title": "enabled"
476
+ },
477
+ "min": {
478
+ "description": "Indicates the minimum value for the graph width and height",
479
+ "type": "number",
480
+ "title": "min"
481
+ },
482
+ "max": {
483
+ "description": "Indicates the maximum value for the graph width and height",
484
+ "type": "number",
485
+ "title": "max"
486
+ },
487
+ "step": {
488
+ "description": "Indicates the increase/decrease value for the graph width and height",
489
+ "type": "number",
490
+ "title": "step"
491
+ }
492
+ }
493
+ },
494
+ "ConfigureMaxImageDimensionsProp": {
495
+ "title": "ConfigureMaxImageDimensionsProp",
496
+ "type": "object",
497
+ "properties": {
498
+ "teacherInstructions": {
499
+ "description": "Indicates the max dimension for images in teacher instructions",
500
+ "type": "number",
501
+ "title": "teacherInstructions"
502
+ },
503
+ "prompt": {
504
+ "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",
505
+ "type": "number",
506
+ "title": "prompt"
507
+ },
508
+ "rationale": {
509
+ "description": "Indicates the max dimension for images in rationale",
510
+ "type": "number",
511
+ "title": "rationale"
512
+ }
513
+ }
232
514
  }
233
515
  },
234
516
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -31,6 +31,78 @@ Indicates if the item has to be displayed in the Settings Panel
31
31
 
32
32
  Indicates the label for the item that has to be displayed in the Settings Panel
33
33
 
34
+ ## `left` (object)
35
+
36
+ Properties of the `left` object:
37
+
38
+ ### `label` (string)
39
+
40
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
41
+
42
+ ## `right` (object)
43
+
44
+ Properties of the `right` object:
45
+
46
+ ### `label` (string)
47
+
48
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
49
+
50
+ ## `up` (object)
51
+
52
+ Properties of the `up` object:
53
+
54
+ ### `label` (string)
55
+
56
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
57
+
58
+ ## `down` (object)
59
+
60
+ Properties of the `down` object:
61
+
62
+ ### `label` (string)
63
+
64
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
65
+
66
+ # `coordinatesOnHover` (object)
67
+
68
+ Properties of the `coordinatesOnHover` object:
69
+
70
+ ## `settings` (boolean)
71
+
72
+ Indicates if the item has to be displayed in the Settings Panel
73
+
74
+ ## `label` (string)
75
+
76
+ Indicates the label for the item that has to be displayed in the Settings Panel
77
+
78
+ # `graphDimensions` (object)
79
+
80
+ Properties of the `graphDimensions` object:
81
+
82
+ ## `settings` (boolean)
83
+
84
+ Indicates if the item has to be displayed in the Settings Panel
85
+
86
+ ## `label` (string)
87
+
88
+ Indicates the label for the item that has to be displayed in the Settings Panel
89
+
90
+ ## `enabled` (boolean)
91
+
92
+ Indicates if the graph dimensions are included in the Grid Setup Panel
93
+
94
+ ## `min` (number)
95
+
96
+ Indicates the minimum value for the graph width and height
97
+
98
+ ## `max` (number)
99
+
100
+ Indicates the maximum value for the graph width and height
101
+
102
+ ## `step` (number)
103
+
104
+ Indicates the increase/decrease value for the graph width and height
105
+
34
106
  # `padding` (object)
35
107
 
36
108
  Properties of the `padding` object:
@@ -67,6 +139,18 @@ Indicates if the item has to be displayed in the Settings Panel
67
139
 
68
140
  Indicates the label for the item that has to be displayed in the Settings Panel
69
141
 
142
+ # `spellCheck` (object)
143
+
144
+ Properties of the `spellCheck` object:
145
+
146
+ ## `settings` (boolean)
147
+
148
+ Indicates if the item has to be displayed in the Settings Panel
149
+
150
+ ## `label` (string)
151
+
152
+ Indicates the label for the item that has to be displayed in the Settings Panel
153
+
70
154
  # `rationale` (object)
71
155
 
72
156
  Properties of the `rationale` object:
@@ -132,6 +216,38 @@ Indicates the label for the item that has to be displayed in the Settings Panel
132
216
  Indicates the value of the item if it affects config-ui
133
217
  (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
134
218
 
219
+ # `maxImageWidth` (object)
220
+
221
+ Properties of the `maxImageWidth` object:
222
+
223
+ ## `teacherInstructions` (number)
224
+
225
+ Indicates the max dimension for images in teacher instructions
226
+
227
+ ## `prompt` (number)
228
+
229
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
230
+
231
+ ## `rationale` (number)
232
+
233
+ Indicates the max dimension for images in rationale
234
+
235
+ # `maxImageHeight` (object)
236
+
237
+ Properties of the `maxImageHeight` object:
238
+
239
+ ## `teacherInstructions` (number)
240
+
241
+ Indicates the max dimension for images in teacher instructions
242
+
243
+ ## `prompt` (number)
244
+
245
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
246
+
247
+ ## `rationale` (number)
248
+
249
+ Indicates the max dimension for images in rationale
250
+
135
251
  # `showPrompt` (boolean)
136
252
 
137
253
  Determines whether prompt field will be displayed or not
@@ -173,6 +289,58 @@ Indicates the label for the item that has to be displayed in the Settings Panel
173
289
  Indicates the value of the item if it affects config-ui
174
290
  (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
175
291
 
292
+ ## `ArrowsConfigProp` (object)
293
+
294
+ Properties of the `ArrowsConfigProp` object:
295
+
296
+ ### `settings` (boolean)
297
+
298
+ Indicates if the item has to be displayed in the Settings Panel
299
+
300
+ ### `label` (string)
301
+
302
+ Indicates the label for the item that has to be displayed in the Settings Panel
303
+
304
+ ### `left` (object)
305
+
306
+ Properties of the `left` object:
307
+
308
+ #### `label` (string)
309
+
310
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
311
+
312
+ ### `right` (object)
313
+
314
+ Properties of the `right` object:
315
+
316
+ #### `label` (string)
317
+
318
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
319
+
320
+ ### `up` (object)
321
+
322
+ Properties of the `up` object:
323
+
324
+ #### `label` (string)
325
+
326
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
327
+
328
+ ### `down` (object)
329
+
330
+ Properties of the `down` object:
331
+
332
+ #### `label` (string)
333
+
334
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
335
+
336
+ ## `ArrowsProp` (object)
337
+
338
+ Properties of the `ArrowsProp` object:
339
+
340
+ ### `label` (string)
341
+
342
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
343
+
176
344
  ## `ConfigureProp` (object)
177
345
 
178
346
  Properties of the `ConfigureProp` object:
@@ -183,4 +351,48 @@ Indicates if the item has to be displayed in the Settings Panel
183
351
 
184
352
  ### `label` (string)
185
353
 
186
- Indicates the label for the item that has to be displayed in the Settings Panel
354
+ Indicates the label for the item that has to be displayed in the Settings Panel
355
+
356
+ ## `DimensionsConfigProp` (object)
357
+
358
+ Properties of the `DimensionsConfigProp` object:
359
+
360
+ ### `settings` (boolean)
361
+
362
+ Indicates if the item has to be displayed in the Settings Panel
363
+
364
+ ### `label` (string)
365
+
366
+ Indicates the label for the item that has to be displayed in the Settings Panel
367
+
368
+ ### `enabled` (boolean)
369
+
370
+ Indicates if the graph dimensions are included in the Grid Setup Panel
371
+
372
+ ### `min` (number)
373
+
374
+ Indicates the minimum value for the graph width and height
375
+
376
+ ### `max` (number)
377
+
378
+ Indicates the maximum value for the graph width and height
379
+
380
+ ### `step` (number)
381
+
382
+ Indicates the increase/decrease value for the graph width and height
383
+
384
+ ## `ConfigureMaxImageDimensionsProp` (object)
385
+
386
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
387
+
388
+ ### `teacherInstructions` (number)
389
+
390
+ Indicates the max dimension for images in teacher instructions
391
+
392
+ ### `prompt` (number)
393
+
394
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
395
+
396
+ ### `rationale` (number)
397
+
398
+ Indicates the max dimension for images in rationale
@@ -105,7 +105,12 @@ exports.model = (id, element) => ({
105
105
  }]
106
106
  }
107
107
  },
108
- arrows: true,
108
+ arrows: {
109
+ left: true,
110
+ right: true,
111
+ up: true,
112
+ down: true
113
+ },
109
114
  backgroundMarks: [
110
115
  {
111
116
  type: 'point',
@@ -127,6 +132,7 @@ exports.model = (id, element) => ({
127
132
  width: 480,
128
133
  height: 480
129
134
  },
135
+ coordinatesOnHover: false,
130
136
  labels: { top: 'top', left: 'left', bottom: 'bottom', right: 'right' },
131
137
  padding: true,
132
138
  prompt: 'Here goes item stem !!!!!!',