@pie-element/graphing 3.7.9 → 3.7.10-beta.1445

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.
@@ -8,16 +8,83 @@ Properties of the `authoring` object:
8
8
 
9
9
  ## `settings` (boolean)
10
10
 
11
- Indicates if the item has to be displayed in the Settings Panel
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 has to be displayed in the Settings Panel
15
+ Indicates the label for the item that is displayed in the Settings Panel
16
16
 
17
17
  ## `enabled` (boolean)
18
18
 
19
- Indicates the value of the item if it affects config-ui
20
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
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
 
@@ -63,6 +130,12 @@ Properties of the `down` object:
63
130
 
64
131
  Indicates the label for the arrow that has to be displayed in the Settings Panel
65
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
+
66
139
  # `coordinatesOnHover` (object)
67
140
 
68
141
  Properties of the `coordinatesOnHover` object:
@@ -75,6 +148,170 @@ Indicates if the item has to be displayed in the Settings Panel
75
148
 
76
149
  Indicates the label for the item that has to be displayed in the Settings Panel
77
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
+
78
315
  # `padding` (object)
79
316
 
80
317
  Properties of the `padding` object:
@@ -91,6 +328,22 @@ Indicates the label for the item that has to be displayed in the Settings Panel
91
328
 
92
329
  Properties of the `labels` object:
93
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
+
94
347
  ## `settings` (boolean)
95
348
 
96
349
  Indicates if the item has to be displayed in the Settings Panel
@@ -99,6 +352,11 @@ Indicates if the item has to be displayed in the Settings Panel
99
352
 
100
353
  Indicates the label for the item that has to be displayed in the Settings Panel
101
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
+
102
360
  # `prompt` (object)
103
361
 
104
362
  Properties of the `prompt` object:
@@ -111,6 +369,22 @@ Indicates if the item has to be displayed in the Settings Panel
111
369
 
112
370
  Indicates the label for the item that has to be displayed in the Settings Panel
113
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
+
114
388
  # `rationale` (object)
115
389
 
116
390
  Properties of the `rationale` object:
@@ -163,6 +437,10 @@ Indicates the label for the item that has to be displayed in the Settings Panel
163
437
 
164
438
  Properties of the `title` object:
165
439
 
440
+ ## `placeholder` (string)
441
+
442
+ Indicates the placeholder for the title label
443
+
166
444
  ## `settings` (boolean)
167
445
 
168
446
  Indicates if the item has to be displayed in the Settings Panel
@@ -176,6 +454,50 @@ Indicates the label for the item that has to be displayed in the Settings Panel
176
454
  Indicates the value of the item if it affects config-ui
177
455
  (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
178
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
+
179
501
  # `showPrompt` (boolean)
180
502
 
181
503
  Determines whether prompt field will be displayed or not
@@ -200,22 +522,101 @@ Default: `true`
200
522
 
201
523
  The schema defines the following additional types:
202
524
 
203
- ## `ConfigurePropWithEnabled` (object)
525
+ ## `AuthoringConfigProp` (object)
204
526
 
205
- Properties of the `ConfigurePropWithEnabled` object:
527
+ Properties of the `AuthoringConfigProp` object:
206
528
 
207
529
  ### `settings` (boolean)
208
530
 
209
- Indicates if the item has to be displayed in the Settings Panel
531
+ Indicates if the item is displayed in the Settings Panel
210
532
 
211
533
  ### `label` (string)
212
534
 
213
- Indicates the label for the item that has to be displayed in the Settings Panel
535
+ Indicates the label for the item that is displayed in the Settings Panel
214
536
 
215
537
  ### `enabled` (boolean)
216
538
 
217
- Indicates the value of the item if it affects config-ui
218
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
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)
546
+
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
219
620
 
220
621
  ## `ArrowsConfigProp` (object)
221
622
 
@@ -279,4 +680,314 @@ Indicates if the item has to be displayed in the Settings Panel
279
680
 
280
681
  ### `label` (string)
281
682
 
282
- Indicates the label for the item that has to be displayed in the Settings Panel
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
944
+
945
+ ### `settings` (boolean)
946
+
947
+ Indicates if the item has to be displayed in the Settings Panel
948
+
949
+ ### `label` (string)
950
+
951
+ Indicates the label for the item that has to be displayed in the Settings Panel
952
+
953
+ ### `enabled` (boolean)
954
+
955
+ Indicates the value of the item if it affects config-ui
956
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
957
+
958
+ ## `TitleConfigProp` (object)
959
+
960
+ Properties of the `TitleConfigProp` object:
961
+
962
+ ### `placeholder` (string)
963
+
964
+ Indicates the placeholder for the title label
965
+
966
+ ### `settings` (boolean)
967
+
968
+ Indicates if the item has to be displayed in the Settings Panel
969
+
970
+ ### `label` (string)
971
+
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