@pie-element/graphing 3.7.21 → 4.0.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.
@@ -4,23 +4,113 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "authoring": {
7
- "title": "ConfigurePropWithEnabled",
7
+ "title": "AuthoringConfigProp",
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "settings": {
11
- "description": "Indicates if the item has to be displayed in the Settings Panel",
11
+ "description": "Indicates if the item is displayed in the Settings Panel",
12
12
  "type": "boolean",
13
13
  "title": "settings"
14
14
  },
15
15
  "label": {
16
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
16
+ "description": "Indicates the label for the item that is displayed in the Settings Panel",
17
17
  "type": "string",
18
18
  "title": "label"
19
19
  },
20
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)",
21
+ "description": "Indicates if the Grid Setup Panel is displayed",
22
22
  "type": "boolean",
23
23
  "title": "enabled"
24
+ },
25
+ "includeAxesEnabled": {
26
+ "description": "Indicates if the \"includeAxes\" toggle is displayed in the Grid Setup Panel",
27
+ "type": "boolean",
28
+ "title": "includeAxesEnabled"
29
+ },
30
+ "standardGridEnabled": {
31
+ "description": "Indicates if the \"standardGrid\" toggle is displayed in the Grid Setup Panel",
32
+ "type": "boolean",
33
+ "title": "standardGridEnabled"
34
+ },
35
+ "min": {
36
+ "title": "GridPanelConfigProp",
37
+ "type": "object",
38
+ "properties": {
39
+ "label": {
40
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
41
+ "type": "string",
42
+ "title": "label"
43
+ },
44
+ "enabled": {
45
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
46
+ "type": "boolean",
47
+ "title": "enabled"
48
+ }
49
+ }
50
+ },
51
+ "max": {
52
+ "title": "GridPanelConfigProp",
53
+ "type": "object",
54
+ "properties": {
55
+ "label": {
56
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
57
+ "type": "string",
58
+ "title": "label"
59
+ },
60
+ "enabled": {
61
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
62
+ "type": "boolean",
63
+ "title": "enabled"
64
+ }
65
+ }
66
+ },
67
+ "axisLabel": {
68
+ "title": "GridPanelConfigProp",
69
+ "type": "object",
70
+ "properties": {
71
+ "label": {
72
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
73
+ "type": "string",
74
+ "title": "label"
75
+ },
76
+ "enabled": {
77
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
78
+ "type": "boolean",
79
+ "title": "enabled"
80
+ }
81
+ }
82
+ },
83
+ "step": {
84
+ "title": "GridPanelConfigProp",
85
+ "type": "object",
86
+ "properties": {
87
+ "label": {
88
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
89
+ "type": "string",
90
+ "title": "label"
91
+ },
92
+ "enabled": {
93
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
94
+ "type": "boolean",
95
+ "title": "enabled"
96
+ }
97
+ }
98
+ },
99
+ "labelStep": {
100
+ "title": "GridPanelConfigProp",
101
+ "type": "object",
102
+ "properties": {
103
+ "label": {
104
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
105
+ "type": "string",
106
+ "title": "label"
107
+ },
108
+ "enabled": {
109
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
110
+ "type": "boolean",
111
+ "title": "enabled"
112
+ }
113
+ }
24
114
  }
25
115
  }
26
116
  },
@@ -84,6 +174,14 @@
84
174
  }
85
175
  }
86
176
  },
177
+ "availableTools": {
178
+ "description": "Graph toolbar tools configuration",
179
+ "type": "array",
180
+ "items": {
181
+ "type": "string"
182
+ },
183
+ "title": "availableTools"
184
+ },
87
185
  "coordinatesOnHover": {
88
186
  "title": "ConfigureProp",
89
187
  "type": "object",
@@ -100,6 +198,42 @@
100
198
  }
101
199
  }
102
200
  },
201
+ "graphDimensions": {
202
+ "title": "DimensionsConfigProp",
203
+ "type": "object",
204
+ "properties": {
205
+ "settings": {
206
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
207
+ "type": "boolean",
208
+ "title": "settings"
209
+ },
210
+ "label": {
211
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
212
+ "type": "string",
213
+ "title": "label"
214
+ },
215
+ "enabled": {
216
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
217
+ "type": "boolean",
218
+ "title": "enabled"
219
+ },
220
+ "min": {
221
+ "description": "Indicates the minimum value for the graph width and height",
222
+ "type": "number",
223
+ "title": "min"
224
+ },
225
+ "max": {
226
+ "description": "Indicates the maximum value for the graph width and height",
227
+ "type": "number",
228
+ "title": "max"
229
+ },
230
+ "step": {
231
+ "description": "Indicates the increase/decrease value for the graph width and height",
232
+ "type": "number",
233
+ "title": "step"
234
+ }
235
+ }
236
+ },
103
237
  "padding": {
104
238
  "title": "ConfigureProp",
105
239
  "type": "object",
@@ -249,6 +383,48 @@
249
383
  }
250
384
  }
251
385
  },
386
+ "maxImageWidth": {
387
+ "title": "ConfigureMaxImageDimensionsProp",
388
+ "type": "object",
389
+ "properties": {
390
+ "teacherInstructions": {
391
+ "description": "Indicates the max dimension for images in teacher instructions",
392
+ "type": "number",
393
+ "title": "teacherInstructions"
394
+ },
395
+ "prompt": {
396
+ "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",
397
+ "type": "number",
398
+ "title": "prompt"
399
+ },
400
+ "rationale": {
401
+ "description": "Indicates the max dimension for images in rationale",
402
+ "type": "number",
403
+ "title": "rationale"
404
+ }
405
+ }
406
+ },
407
+ "maxImageHeight": {
408
+ "title": "ConfigureMaxImageDimensionsProp",
409
+ "type": "object",
410
+ "properties": {
411
+ "teacherInstructions": {
412
+ "description": "Indicates the max dimension for images in teacher instructions",
413
+ "type": "number",
414
+ "title": "teacherInstructions"
415
+ },
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
+ }
427
+ },
252
428
  "showPrompt": {
253
429
  "description": "Determines whether prompt field will be displayed or not",
254
430
  "default": true,
@@ -269,22 +445,128 @@
269
445
  }
270
446
  },
271
447
  "definitions": {
272
- "ConfigurePropWithEnabled": {
273
- "title": "ConfigurePropWithEnabled",
448
+ "AuthoringConfigProp": {
449
+ "title": "AuthoringConfigProp",
274
450
  "type": "object",
275
451
  "properties": {
276
452
  "settings": {
277
- "description": "Indicates if the item has to be displayed in the Settings Panel",
453
+ "description": "Indicates if the item is displayed in the Settings Panel",
278
454
  "type": "boolean",
279
455
  "title": "settings"
280
456
  },
281
457
  "label": {
282
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
458
+ "description": "Indicates the label for the item that is displayed in the Settings Panel",
283
459
  "type": "string",
284
460
  "title": "label"
285
461
  },
286
462
  "enabled": {
287
- "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)",
463
+ "description": "Indicates if the Grid Setup Panel is displayed",
464
+ "type": "boolean",
465
+ "title": "enabled"
466
+ },
467
+ "includeAxesEnabled": {
468
+ "description": "Indicates if the \"includeAxes\" toggle is displayed in the Grid Setup Panel",
469
+ "type": "boolean",
470
+ "title": "includeAxesEnabled"
471
+ },
472
+ "standardGridEnabled": {
473
+ "description": "Indicates if the \"standardGrid\" toggle is displayed in the Grid Setup Panel",
474
+ "type": "boolean",
475
+ "title": "standardGridEnabled"
476
+ },
477
+ "min": {
478
+ "title": "GridPanelConfigProp",
479
+ "type": "object",
480
+ "properties": {
481
+ "label": {
482
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
483
+ "type": "string",
484
+ "title": "label"
485
+ },
486
+ "enabled": {
487
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
488
+ "type": "boolean",
489
+ "title": "enabled"
490
+ }
491
+ }
492
+ },
493
+ "max": {
494
+ "title": "GridPanelConfigProp",
495
+ "type": "object",
496
+ "properties": {
497
+ "label": {
498
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
499
+ "type": "string",
500
+ "title": "label"
501
+ },
502
+ "enabled": {
503
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
504
+ "type": "boolean",
505
+ "title": "enabled"
506
+ }
507
+ }
508
+ },
509
+ "axisLabel": {
510
+ "title": "GridPanelConfigProp",
511
+ "type": "object",
512
+ "properties": {
513
+ "label": {
514
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
515
+ "type": "string",
516
+ "title": "label"
517
+ },
518
+ "enabled": {
519
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
520
+ "type": "boolean",
521
+ "title": "enabled"
522
+ }
523
+ }
524
+ },
525
+ "step": {
526
+ "title": "GridPanelConfigProp",
527
+ "type": "object",
528
+ "properties": {
529
+ "label": {
530
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
531
+ "type": "string",
532
+ "title": "label"
533
+ },
534
+ "enabled": {
535
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
536
+ "type": "boolean",
537
+ "title": "enabled"
538
+ }
539
+ }
540
+ },
541
+ "labelStep": {
542
+ "title": "GridPanelConfigProp",
543
+ "type": "object",
544
+ "properties": {
545
+ "label": {
546
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
547
+ "type": "string",
548
+ "title": "label"
549
+ },
550
+ "enabled": {
551
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
552
+ "type": "boolean",
553
+ "title": "enabled"
554
+ }
555
+ }
556
+ }
557
+ }
558
+ },
559
+ "GridPanelConfigProp": {
560
+ "title": "GridPanelConfigProp",
561
+ "type": "object",
562
+ "properties": {
563
+ "label": {
564
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
565
+ "type": "string",
566
+ "title": "label"
567
+ },
568
+ "enabled": {
569
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
288
570
  "type": "boolean",
289
571
  "title": "enabled"
290
572
  }
@@ -376,7 +658,85 @@
376
658
  "title": "label"
377
659
  }
378
660
  }
661
+ },
662
+ "DimensionsConfigProp": {
663
+ "title": "DimensionsConfigProp",
664
+ "type": "object",
665
+ "properties": {
666
+ "settings": {
667
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
668
+ "type": "boolean",
669
+ "title": "settings"
670
+ },
671
+ "label": {
672
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
673
+ "type": "string",
674
+ "title": "label"
675
+ },
676
+ "enabled": {
677
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
678
+ "type": "boolean",
679
+ "title": "enabled"
680
+ },
681
+ "min": {
682
+ "description": "Indicates the minimum value for the graph width and height",
683
+ "type": "number",
684
+ "title": "min"
685
+ },
686
+ "max": {
687
+ "description": "Indicates the maximum value for the graph width and height",
688
+ "type": "number",
689
+ "title": "max"
690
+ },
691
+ "step": {
692
+ "description": "Indicates the increase/decrease value for the graph width and height",
693
+ "type": "number",
694
+ "title": "step"
695
+ }
696
+ }
697
+ },
698
+ "ConfigurePropWithEnabled": {
699
+ "title": "ConfigurePropWithEnabled",
700
+ "type": "object",
701
+ "properties": {
702
+ "settings": {
703
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
704
+ "type": "boolean",
705
+ "title": "settings"
706
+ },
707
+ "label": {
708
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
709
+ "type": "string",
710
+ "title": "label"
711
+ },
712
+ "enabled": {
713
+ "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)",
714
+ "type": "boolean",
715
+ "title": "enabled"
716
+ }
717
+ }
718
+ },
719
+ "ConfigureMaxImageDimensionsProp": {
720
+ "title": "ConfigureMaxImageDimensionsProp",
721
+ "type": "object",
722
+ "properties": {
723
+ "teacherInstructions": {
724
+ "description": "Indicates the max dimension for images in teacher instructions",
725
+ "type": "number",
726
+ "title": "teacherInstructions"
727
+ },
728
+ "prompt": {
729
+ "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",
730
+ "type": "number",
731
+ "title": "prompt"
732
+ },
733
+ "rationale": {
734
+ "description": "Indicates the max dimension for images in rationale",
735
+ "type": "number",
736
+ "title": "rationale"
737
+ }
738
+ }
379
739
  }
380
740
  },
381
741
  "$schema": "http://json-schema.org/draft-07/schema#"
382
- }
742
+ }