@pie-element/graphing 3.5.4-next.135 → 3.5.4-next.1357

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,18 @@ 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
+ # `spellCheck` (object)
373
+
374
+ Properties of the `spellCheck` object:
375
+
376
+ ## `settings` (boolean)
377
+
378
+ Indicates if the item has to be displayed in the Settings Panel
379
+
380
+ ## `label` (string)
381
+
382
+ Indicates the label for the item that has to be displayed in the Settings Panel
383
+
114
384
  # `rationale` (object)
115
385
 
116
386
  Properties of the `rationale` object:
@@ -163,6 +433,10 @@ Indicates the label for the item that has to be displayed in the Settings Panel
163
433
 
164
434
  Properties of the `title` object:
165
435
 
436
+ ## `placeholder` (string)
437
+
438
+ Indicates the placeholder for the title label
439
+
166
440
  ## `settings` (boolean)
167
441
 
168
442
  Indicates if the item has to be displayed in the Settings Panel
@@ -176,6 +450,50 @@ Indicates the label for the item that has to be displayed in the Settings Panel
176
450
  Indicates the value of the item if it affects config-ui
177
451
  (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
178
452
 
453
+ # `maxImageWidth` (object)
454
+
455
+ Properties of the `maxImageWidth` object:
456
+
457
+ ## `teacherInstructions` (number)
458
+
459
+ Indicates the max dimension for images in teacher instructions
460
+
461
+ ## `prompt` (number)
462
+
463
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
464
+
465
+ ## `rationale` (number)
466
+
467
+ Indicates the max dimension for images in rationale
468
+
469
+ # `maxImageHeight` (object)
470
+
471
+ Properties of the `maxImageHeight` object:
472
+
473
+ ## `teacherInstructions` (number)
474
+
475
+ Indicates the max dimension for images in teacher instructions
476
+
477
+ ## `prompt` (number)
478
+
479
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
480
+
481
+ ## `rationale` (number)
482
+
483
+ Indicates the max dimension for images in rationale
484
+
485
+ # `withRubric` (object)
486
+
487
+ Properties of the `withRubric` object:
488
+
489
+ ## `settings` (boolean)
490
+
491
+ Indicates if the item has to be displayed in the Settings Panel
492
+
493
+ ## `label` (string)
494
+
495
+ Indicates the label for the item that has to be displayed in the Settings Panel
496
+
179
497
  # `showPrompt` (boolean)
180
498
 
181
499
  Determines whether prompt field will be displayed or not
@@ -200,22 +518,101 @@ Default: `true`
200
518
 
201
519
  The schema defines the following additional types:
202
520
 
203
- ## `ConfigurePropWithEnabled` (object)
521
+ ## `AuthoringConfigProp` (object)
204
522
 
205
- Properties of the `ConfigurePropWithEnabled` object:
523
+ Properties of the `AuthoringConfigProp` object:
206
524
 
207
525
  ### `settings` (boolean)
208
526
 
209
- Indicates if the item has to be displayed in the Settings Panel
527
+ Indicates if the item is displayed in the Settings Panel
210
528
 
211
529
  ### `label` (string)
212
530
 
213
- Indicates the label for the item that has to be displayed in the Settings Panel
531
+ Indicates the label for the item that is displayed in the Settings Panel
214
532
 
215
533
  ### `enabled` (boolean)
216
534
 
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)
535
+ Indicates if the Grid Setup Panel is displayed
536
+
537
+ ### `includeAxesEnabled` (boolean)
538
+
539
+ Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
540
+
541
+ ### `standardGridEnabled` (boolean)
542
+
543
+ Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
544
+
545
+ ### `min` (object)
546
+
547
+ Properties of the `min` object:
548
+
549
+ #### `label` (string)
550
+
551
+ Indicates the label for the item that is displayed in the Grid Setup Panel
552
+
553
+ #### `enabled` (boolean)
554
+
555
+ Indicates if the item is displayed in the Grid Setup Panel
556
+
557
+ ### `max` (object)
558
+
559
+ Properties of the `max` object:
560
+
561
+ #### `label` (string)
562
+
563
+ Indicates the label for the item that is displayed in the Grid Setup Panel
564
+
565
+ #### `enabled` (boolean)
566
+
567
+ Indicates if the item is displayed in the Grid Setup Panel
568
+
569
+ ### `axisLabel` (object)
570
+
571
+ Properties of the `axisLabel` object:
572
+
573
+ #### `label` (string)
574
+
575
+ Indicates the label for the item that is displayed in the Grid Setup Panel
576
+
577
+ #### `enabled` (boolean)
578
+
579
+ Indicates if the item is displayed in the Grid Setup Panel
580
+
581
+ ### `step` (object)
582
+
583
+ Properties of the `step` object:
584
+
585
+ #### `label` (string)
586
+
587
+ Indicates the label for the item that is displayed in the Grid Setup Panel
588
+
589
+ #### `enabled` (boolean)
590
+
591
+ Indicates if the item is displayed in the Grid Setup Panel
592
+
593
+ ### `labelStep` (object)
594
+
595
+ Properties of the `labelStep` object:
596
+
597
+ #### `label` (string)
598
+
599
+ Indicates the label for the item that is displayed in the Grid Setup Panel
600
+
601
+ #### `enabled` (boolean)
602
+
603
+ Indicates if the item is displayed in the Grid Setup Panel
604
+
605
+ ## `GridPanelConfigProp` (object)
606
+
607
+ Properties of the `GridPanelConfigProp` object:
608
+
609
+ ### `label` (string)
610
+
611
+ Indicates the label for the item that is displayed in the Grid Setup Panel
612
+
613
+ ### `enabled` (boolean)
614
+
615
+ Indicates if the item is displayed in the Grid Setup Panel
219
616
 
220
617
  ## `ArrowsConfigProp` (object)
221
618
 
@@ -280,3 +677,313 @@ Indicates if the item has to be displayed in the Settings Panel
280
677
  ### `label` (string)
281
678
 
282
679
  Indicates the label for the item that has to be displayed in the Settings Panel
680
+
681
+ ## `DimensionsConfigProp` (object)
682
+
683
+ Properties of the `DimensionsConfigProp` object:
684
+
685
+ ### `settings` (boolean)
686
+
687
+ Indicates if the item has to be displayed in the Settings Panel
688
+
689
+ ### `label` (string)
690
+
691
+ Indicates the label for the item that has to be displayed in the Settings Panel
692
+
693
+ ### `enabled` (boolean)
694
+
695
+ Indicates if the graph dimensions are included in the Grid Setup Panel
696
+
697
+ ### `min` (number)
698
+
699
+ Indicates the minimum value for the graph width and height
700
+
701
+ ### `max` (number)
702
+
703
+ Indicates the maximum value for the graph width and height
704
+
705
+ ### `step` (number)
706
+
707
+ Indicates the increase/decrease value for the graph width and height
708
+
709
+ ## `GridConfigurationsProp` (object)
710
+
711
+ Properties of the `GridConfigurationsProp` object:
712
+
713
+ ### `label` (string)
714
+
715
+ Indicates the label for the configuration
716
+
717
+ ### `arrows` (object)
718
+
719
+ Properties of the `arrows` object:
720
+
721
+ #### `left` (boolean, required)
722
+
723
+ Indicates if left arrow is enabled
724
+
725
+ #### `right` (boolean, required)
726
+
727
+ Indicates if right arrow is enabled
728
+
729
+ #### `up` (boolean, required)
730
+
731
+ Indicates if up arrow is enabled
732
+
733
+ #### `down` (boolean, required)
734
+
735
+ Indicates if down arrow is enabled
736
+
737
+ ### `domain` (object, required)
738
+
739
+ Properties of the `domain` object:
740
+
741
+ #### `min` (number, required)
742
+
743
+ Min value
744
+
745
+ #### `max` (number, required)
746
+
747
+ Max value
748
+
749
+ #### `padding` (number, required)
750
+
751
+ Padding value
752
+
753
+ #### `step` (number, required)
754
+
755
+ Step value
756
+
757
+ #### `labelStep` (number, required)
758
+
759
+ Label step value
760
+
761
+ #### `axisLabel` (string, required)
762
+
763
+ Axis Label
764
+
765
+ ### `graph` (object, required)
766
+
767
+ Properties of the `graph` object:
768
+
769
+ #### `width` (number, required)
770
+
771
+ Width for graph representation
772
+
773
+ #### `height` (number, required)
774
+
775
+ Height for graph representation
776
+
777
+ ### `includeAxes` (boolean)
778
+
779
+ Indicates if the graph axes and labels are enabled
780
+
781
+ ### `labels` (object)
782
+
783
+ Properties of the `labels` object:
784
+
785
+ #### `top` (string, required)
786
+
787
+ Label for top side of the graph
788
+
789
+ #### `bottom` (string, required)
790
+
791
+ Label for bottom side of the graph
792
+
793
+ #### `left` (string, required)
794
+
795
+ Label for left side of the graph
796
+
797
+ #### `right` (string, required)
798
+
799
+ Label for right side of the graph
800
+
801
+ ### `padding` (boolean)
802
+
803
+ Indicates if padding is enabled
804
+
805
+ ### `range` (object, required)
806
+
807
+ Properties of the `range` object:
808
+
809
+ #### `min` (number, required)
810
+
811
+ Min value
812
+
813
+ #### `max` (number, required)
814
+
815
+ Max value
816
+
817
+ #### `padding` (number, required)
818
+
819
+ Padding value
820
+
821
+ #### `step` (number, required)
822
+
823
+ Step value
824
+
825
+ #### `labelStep` (number, required)
826
+
827
+ Label step value
828
+
829
+ #### `axisLabel` (string, required)
830
+
831
+ Axis Label
832
+
833
+ ### `standardGrid` (boolean)
834
+
835
+ Indicates if some domain values will be synched to the range values
836
+
837
+ ### `title` (string)
838
+
839
+ Indicates graph title
840
+
841
+ ## `Arrows` (object)
842
+
843
+ Properties of the `Arrows` object:
844
+
845
+ ### `left` (boolean, required)
846
+
847
+ Indicates if left arrow is enabled
848
+
849
+ ### `right` (boolean, required)
850
+
851
+ Indicates if right arrow is enabled
852
+
853
+ ### `up` (boolean, required)
854
+
855
+ Indicates if up arrow is enabled
856
+
857
+ ### `down` (boolean, required)
858
+
859
+ Indicates if down arrow is enabled
860
+
861
+ ## `GraphSettings` (object)
862
+
863
+ Properties of the `GraphSettings` object:
864
+
865
+ ### `min` (number, required)
866
+
867
+ Min value
868
+
869
+ ### `max` (number, required)
870
+
871
+ Max value
872
+
873
+ ### `padding` (number, required)
874
+
875
+ Padding value
876
+
877
+ ### `step` (number, required)
878
+
879
+ Step value
880
+
881
+ ### `labelStep` (number, required)
882
+
883
+ Label step value
884
+
885
+ ### `axisLabel` (string, required)
886
+
887
+ Axis Label
888
+
889
+ ## `Graph` (object)
890
+
891
+ Properties of the `Graph` object:
892
+
893
+ ### `width` (number, required)
894
+
895
+ Width for graph representation
896
+
897
+ ### `height` (number, required)
898
+
899
+ Height for graph representation
900
+
901
+ ## `Labels` (object)
902
+
903
+ Properties of the `Labels` object:
904
+
905
+ ### `top` (string, required)
906
+
907
+ Label for top side of the graph
908
+
909
+ ### `bottom` (string, required)
910
+
911
+ Label for bottom side of the graph
912
+
913
+ ### `left` (string, required)
914
+
915
+ Label for left side of the graph
916
+
917
+ ### `right` (string, required)
918
+
919
+ Label for right side of the graph
920
+
921
+ ## `LabelsConfigProp` (object)
922
+
923
+ Properties of the `LabelsConfigProp` object:
924
+
925
+ ### `top` (string)
926
+
927
+ Indicates the placeholder for the top label
928
+
929
+ ### `right` (string)
930
+
931
+ Indicates the placeholder for the right label
932
+
933
+ ### `bottom` (string)
934
+
935
+ Indicates the placeholder for the bottom label
936
+
937
+ ### `left` (string)
938
+
939
+ Indicates the placeholder for the left label
940
+
941
+ ### `settings` (boolean)
942
+
943
+ Indicates if the item has to be displayed in the Settings Panel
944
+
945
+ ### `label` (string)
946
+
947
+ Indicates the label for the item that has to be displayed in the Settings Panel
948
+
949
+ ### `enabled` (boolean)
950
+
951
+ Indicates the value of the item if it affects config-ui
952
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
953
+
954
+ ## `TitleConfigProp` (object)
955
+
956
+ Properties of the `TitleConfigProp` object:
957
+
958
+ ### `placeholder` (string)
959
+
960
+ Indicates the placeholder for the title label
961
+
962
+ ### `settings` (boolean)
963
+
964
+ Indicates if the item has to be displayed in the Settings Panel
965
+
966
+ ### `label` (string)
967
+
968
+ Indicates the label for the item that has to be displayed in the Settings Panel
969
+
970
+ ### `enabled` (boolean)
971
+
972
+ Indicates the value of the item if it affects config-ui
973
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
974
+
975
+ ## `ConfigureMaxImageDimensionsProp` (object)
976
+
977
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
978
+
979
+ ### `teacherInstructions` (number)
980
+
981
+ Indicates the max dimension for images in teacher instructions
982
+
983
+ ### `prompt` (number)
984
+
985
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
986
+
987
+ ### `rationale` (number)
988
+
989
+ Indicates the max dimension for images in rationale