@pie-element/graphing 3.4.19-next.85 → 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.
@@ -40,9 +40,25 @@ Additional restrictions:
40
40
 
41
41
  * Minimum items: `1`
42
42
 
43
- # `arrows` (boolean)
43
+ # `arrows` (object)
44
44
 
45
- Indicates if arrows are enabled
45
+ Properties of the `arrows` object:
46
+
47
+ ## `left` (boolean, required)
48
+
49
+ Indicates if left arrow is enabled
50
+
51
+ ## `right` (boolean, required)
52
+
53
+ Indicates if right arrow is enabled
54
+
55
+ ## `up` (boolean, required)
56
+
57
+ Indicates if up arrow is enabled
58
+
59
+ ## `down` (boolean, required)
60
+
61
+ Indicates if down arrow is enabled
46
62
 
47
63
  # `backgroundMarks` (array, required)
48
64
 
@@ -52,6 +68,26 @@ Additional restrictions:
52
68
 
53
69
  * Minimum items: `1`
54
70
 
71
+ # `coordinatesOnHover` (boolean)
72
+
73
+ Indicates if coordinates of a point are displayed on hover
74
+
75
+ # `defaultTool` (string, enum, required)
76
+
77
+ Indicates the default selected tool for the graph
78
+
79
+ This element must be one of the following enum values:
80
+
81
+ * `circle`
82
+ * `line`
83
+ * `parabola`
84
+ * `point`
85
+ * `polygon`
86
+ * `ray`
87
+ * `segment`
88
+ * `sine`
89
+ * `vector`
90
+
55
91
  # `domain` (object, required)
56
92
 
57
93
  Properties of the `domain` object:
@@ -92,6 +128,10 @@ Width for graph representation
92
128
 
93
129
  Height for graph representation
94
130
 
131
+ # `includeAxes` (boolean)
132
+
133
+ Indicates if the graph axes and labels are enabled
134
+
95
135
  # `labels` (object)
96
136
 
97
137
  Properties of the `labels` object:
@@ -177,6 +217,14 @@ Indicates teacher instructions
177
217
 
178
218
  Indicates graph title
179
219
 
220
+ # `labelsEnabled` (boolean)
221
+
222
+ Indicates if the graph labels are displayed
223
+
224
+ # `titleEnabled` (boolean)
225
+
226
+ Indicates if the graph title is displayed
227
+
180
228
  # `toolbarTools` (array)
181
229
 
182
230
  Indicates the tools that have to be displayed in toolbar
@@ -189,6 +237,14 @@ Additional restrictions:
189
237
 
190
238
  Indicates if Rationale are enabled
191
239
 
240
+ # `spellCheckEnabled` (boolean, required)
241
+
242
+ Indicates if spellcheck is enabled for the author. Default value is true
243
+
244
+ # `standardGrid` (boolean)
245
+
246
+ Indicates if some domain values will be synched to the range values
247
+
192
248
  # `studentInstructionsEnabled` (boolean, required)
193
249
 
194
250
  Indicates if Student Instructions are enabled
@@ -197,6 +253,10 @@ Indicates if Student Instructions are enabled
197
253
 
198
254
  Indicates if Teacher Instructions are enabled
199
255
 
256
+ # `rubricEnabled` (boolean, required)
257
+
258
+ Indicates if Rubric is enabled
259
+
200
260
  # `id` (string, required)
201
261
 
202
262
  Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
@@ -211,9 +271,105 @@ The html Element tag name
211
271
 
212
272
  The schema defines the following additional types:
213
273
 
214
- ## `ConfigurePropWithEnabled` (object)
274
+ ## `AuthoringConfigProp` (object)
215
275
 
216
- Properties of the `ConfigurePropWithEnabled` object:
276
+ Properties of the `AuthoringConfigProp` object:
277
+
278
+ ### `settings` (boolean)
279
+
280
+ Indicates if the item is displayed in the Settings Panel
281
+
282
+ ### `label` (string)
283
+
284
+ Indicates the label for the item that is displayed in the Settings Panel
285
+
286
+ ### `enabled` (boolean)
287
+
288
+ Indicates if the Grid Setup Panel is displayed
289
+
290
+ ### `includeAxesEnabled` (boolean)
291
+
292
+ Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
293
+
294
+ ### `standardGridEnabled` (boolean)
295
+
296
+ Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
297
+
298
+ ### `min` (object)
299
+
300
+ Properties of the `min` object:
301
+
302
+ #### `label` (string)
303
+
304
+ Indicates the label for the item that is displayed in the Grid Setup Panel
305
+
306
+ #### `enabled` (boolean)
307
+
308
+ Indicates if the item is displayed in the Grid Setup Panel
309
+
310
+ ### `max` (object)
311
+
312
+ Properties of the `max` object:
313
+
314
+ #### `label` (string)
315
+
316
+ Indicates the label for the item that is displayed in the Grid Setup Panel
317
+
318
+ #### `enabled` (boolean)
319
+
320
+ Indicates if the item is displayed in the Grid Setup Panel
321
+
322
+ ### `axisLabel` (object)
323
+
324
+ Properties of the `axisLabel` object:
325
+
326
+ #### `label` (string)
327
+
328
+ Indicates the label for the item that is displayed in the Grid Setup Panel
329
+
330
+ #### `enabled` (boolean)
331
+
332
+ Indicates if the item is displayed in the Grid Setup Panel
333
+
334
+ ### `step` (object)
335
+
336
+ Properties of the `step` object:
337
+
338
+ #### `label` (string)
339
+
340
+ Indicates the label for the item that is displayed in the Grid Setup Panel
341
+
342
+ #### `enabled` (boolean)
343
+
344
+ Indicates if the item is displayed in the Grid Setup Panel
345
+
346
+ ### `labelStep` (object)
347
+
348
+ Properties of the `labelStep` object:
349
+
350
+ #### `label` (string)
351
+
352
+ Indicates the label for the item that is displayed in the Grid Setup Panel
353
+
354
+ #### `enabled` (boolean)
355
+
356
+ Indicates if the item is displayed in the Grid Setup Panel
357
+
358
+ ## `GridPanelConfigProp` (object)
359
+
360
+ Properties of the `GridPanelConfigProp` object:
361
+
362
+ ### `label` (string)
363
+
364
+ Indicates the label for the item that is displayed in the Grid Setup Panel
365
+
366
+ ### `enabled` (boolean)
367
+
368
+ Indicates if the item is displayed in the Grid Setup Panel
369
+
370
+ ## `ArrowsConfigProp` (object)
371
+
372
+ Properties of the `ArrowsConfigProp` object:
217
373
 
218
374
  ### `settings` (boolean)
219
375
 
@@ -223,10 +379,45 @@ Indicates if the item has to be displayed in the Settings Panel
223
379
 
224
380
  Indicates the label for the item that has to be displayed in the Settings Panel
225
381
 
226
- ### `enabled` (boolean)
382
+ ### `left` (object)
227
383
 
228
- Indicates the value of the item if it affects config-ui
229
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
384
+ Properties of the `left` object:
385
+
386
+ #### `label` (string)
387
+
388
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
389
+
390
+ ### `right` (object)
391
+
392
+ Properties of the `right` object:
393
+
394
+ #### `label` (string)
395
+
396
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
397
+
398
+ ### `up` (object)
399
+
400
+ Properties of the `up` object:
401
+
402
+ #### `label` (string)
403
+
404
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
405
+
406
+ ### `down` (object)
407
+
408
+ Properties of the `down` object:
409
+
410
+ #### `label` (string)
411
+
412
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
413
+
414
+ ## `ArrowsProp` (object)
415
+
416
+ Properties of the `ArrowsProp` object:
417
+
418
+ ### `label` (string)
419
+
420
+ Indicates the label for the arrow that has to be displayed in the Settings Panel
230
421
 
231
422
  ## `ConfigureProp` (object)
232
423
 
@@ -240,157 +431,185 @@ Indicates if the item has to be displayed in the Settings Panel
240
431
 
241
432
  Indicates the label for the item that has to be displayed in the Settings Panel
242
433
 
243
- ## `Answer` (object)
434
+ ## `DimensionsConfigProp` (object)
244
435
 
245
- Properties of the `Answer` object:
436
+ Properties of the `DimensionsConfigProp` object:
246
437
 
247
- ### `name` (string, required)
438
+ ### `settings` (boolean)
248
439
 
249
- Indicates name of answer
440
+ Indicates if the item has to be displayed in the Settings Panel
250
441
 
251
- ### `marks` (array, required)
442
+ ### `label` (string)
252
443
 
253
- Indicates marks for the answer
444
+ Indicates the label for the item that has to be displayed in the Settings Panel
254
445
 
255
- Additional restrictions:
446
+ ### `enabled` (boolean)
256
447
 
257
- * Minimum items: `1`
448
+ Indicates if the graph dimensions are included in the Grid Setup Panel
258
449
 
259
- ## `Mark` (object)
450
+ ### `min` (number)
260
451
 
261
- Properties of the `Mark` object:
452
+ Indicates the minimum value for the graph width and height
262
453
 
263
- ### `type` (string, enum, required)
454
+ ### `max` (number)
264
455
 
265
- Indicates type of mark
456
+ Indicates the maximum value for the graph width and height
266
457
 
267
- This element must be one of the following enum values:
458
+ ### `step` (number)
268
459
 
269
- * `circle`
270
- * `line`
271
- * `parabola`
272
- * `point`
273
- * `polygon`
274
- * `ray`
275
- * `segment`
276
- * `sine`
277
- * `vector`
460
+ Indicates the increase/decrease value for the graph width and height
278
461
 
279
- ### `showLabel` (boolean)
462
+ ## `GridConfigurationsProp` (object)
280
463
 
281
- Indicates if label should be visible
464
+ Properties of the `GridConfigurationsProp` object:
282
465
 
283
466
  ### `label` (string)
284
467
 
285
- Indicates label value for mark
468
+ Indicates the label for the configuration
286
469
 
287
- ### `building` (boolean, required)
470
+ ### `arrows` (object)
288
471
 
289
- Indicates if mark is in build process
472
+ Properties of the `arrows` object:
290
473
 
291
- ### `x` (number)
474
+ #### `left` (boolean, required)
292
475
 
293
- Indicates x coordinate if type is point
476
+ Indicates if left arrow is enabled
294
477
 
295
- ### `y` (number)
478
+ #### `right` (boolean, required)
296
479
 
297
- Indicates y coordinate if type is point
480
+ Indicates if right arrow is enabled
298
481
 
299
- ### `from` (object)
482
+ #### `up` (boolean, required)
300
483
 
301
- Properties of the `from` object:
484
+ Indicates if up arrow is enabled
302
485
 
303
- #### `x` (number, required)
486
+ #### `down` (boolean, required)
304
487
 
305
- Indicates x coordinate
488
+ Indicates if down arrow is enabled
306
489
 
307
- #### `y` (number, required)
490
+ ### `domain` (object, required)
308
491
 
309
- Indicates y coordinate
492
+ Properties of the `domain` object:
310
493
 
311
- ### `to` (object)
494
+ #### `min` (number, required)
312
495
 
313
- Properties of the `to` object:
496
+ Min value
314
497
 
315
- #### `x` (number, required)
498
+ #### `max` (number, required)
316
499
 
317
- Indicates x coordinate
500
+ Max value
318
501
 
319
- #### `y` (number, required)
502
+ #### `padding` (number, required)
320
503
 
321
- Indicates y coordinate
504
+ Padding value
322
505
 
323
- ### `center` (object)
506
+ #### `step` (number, required)
324
507
 
325
- Properties of the `center` object:
508
+ Step value
326
509
 
327
- #### `x` (number, required)
510
+ #### `labelStep` (number, required)
328
511
 
329
- Indicates x coordinate
512
+ Label step value
330
513
 
331
- #### `y` (number, required)
514
+ #### `axisLabel` (string, required)
332
515
 
333
- Indicates y coordinate
516
+ Axis Label
334
517
 
335
- ### `outerPoint` (object)
518
+ ### `graph` (object, required)
336
519
 
337
- Properties of the `outerPoint` object:
520
+ Properties of the `graph` object:
338
521
 
339
- #### `x` (number, required)
522
+ #### `width` (number, required)
340
523
 
341
- Indicates x coordinate
524
+ Width for graph representation
342
525
 
343
- #### `y` (number, required)
526
+ #### `height` (number, required)
344
527
 
345
- Indicates y coordinate
528
+ Height for graph representation
346
529
 
347
- ### `closed` (boolean)
530
+ ### `includeAxes` (boolean)
348
531
 
349
- Indicates if mark is closed if type is polygon, sine
532
+ Indicates if the graph axes and labels are enabled
350
533
 
351
- ### `points` (array)
534
+ ### `labels` (object)
352
535
 
353
- Indicates all mark's points if type is polygon
536
+ Properties of the `labels` object:
354
537
 
355
- Additional restrictions:
538
+ #### `top` (string, required)
356
539
 
357
- * Minimum items: `1`
540
+ Label for top side of the graph
358
541
 
359
- ### `root` (object)
542
+ #### `bottom` (string, required)
360
543
 
361
- Properties of the `root` object:
544
+ Label for bottom side of the graph
362
545
 
363
- #### `x` (number, required)
546
+ #### `left` (string, required)
364
547
 
365
- Indicates x coordinate
548
+ Label for left side of the graph
366
549
 
367
- #### `y` (number, required)
550
+ #### `right` (string, required)
368
551
 
369
- Indicates y coordinate
552
+ Label for right side of the graph
370
553
 
371
- ### `edge` (object)
554
+ ### `padding` (boolean)
372
555
 
373
- Properties of the `edge` object:
556
+ Indicates if padding is enabled
374
557
 
375
- #### `x` (number, required)
558
+ ### `range` (object, required)
376
559
 
377
- Indicates x coordinate
560
+ Properties of the `range` object:
378
561
 
379
- #### `y` (number, required)
562
+ #### `min` (number, required)
380
563
 
381
- Indicates y coordinate
564
+ Min value
382
565
 
383
- ## `Point` (object)
566
+ #### `max` (number, required)
384
567
 
385
- Properties of the `Point` object:
568
+ Max value
386
569
 
387
- ### `x` (number, required)
570
+ #### `padding` (number, required)
388
571
 
389
- Indicates x coordinate
572
+ Padding value
390
573
 
391
- ### `y` (number, required)
574
+ #### `step` (number, required)
392
575
 
393
- Indicates y coordinate
576
+ Step value
577
+
578
+ #### `labelStep` (number, required)
579
+
580
+ Label step value
581
+
582
+ #### `axisLabel` (string, required)
583
+
584
+ Axis Label
585
+
586
+ ### `standardGrid` (boolean)
587
+
588
+ Indicates if some domain values will be synched to the range values
589
+
590
+ ### `title` (string)
591
+
592
+ Indicates graph title
593
+
594
+ ## `Arrows` (object)
595
+
596
+ Properties of the `Arrows` object:
597
+
598
+ ### `left` (boolean, required)
599
+
600
+ Indicates if left arrow is enabled
601
+
602
+ ### `right` (boolean, required)
603
+
604
+ Indicates if right arrow is enabled
605
+
606
+ ### `up` (boolean, required)
607
+
608
+ Indicates if up arrow is enabled
609
+
610
+ ### `down` (boolean, required)
611
+
612
+ Indicates if down arrow is enabled
394
613
 
395
614
  ## `GraphSettings` (object)
396
615
 
@@ -450,4 +669,202 @@ Label for left side of the graph
450
669
 
451
670
  ### `right` (string, required)
452
671
 
453
- Label for right side of the graph
672
+ Label for right side of the graph
673
+
674
+ ## `LabelsConfigProp` (object)
675
+
676
+ Properties of the `LabelsConfigProp` object:
677
+
678
+ ### `top` (string)
679
+
680
+ Indicates the placeholder for the top label
681
+
682
+ ### `right` (string)
683
+
684
+ Indicates the placeholder for the right label
685
+
686
+ ### `bottom` (string)
687
+
688
+ Indicates the placeholder for the bottom label
689
+
690
+ ### `left` (string)
691
+
692
+ Indicates the placeholder for the left label
693
+
694
+ ### `settings` (boolean)
695
+
696
+ Indicates if the item has to be displayed in the Settings Panel
697
+
698
+ ### `label` (string)
699
+
700
+ Indicates the label for the item that has to be displayed in the Settings Panel
701
+
702
+ ### `enabled` (boolean)
703
+
704
+ Indicates the value of the item if it affects config-ui
705
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
706
+
707
+ ## `TitleConfigProp` (object)
708
+
709
+ Properties of the `TitleConfigProp` object:
710
+
711
+ ### `placeholder` (string)
712
+
713
+ Indicates the placeholder for the title label
714
+
715
+ ### `settings` (boolean)
716
+
717
+ Indicates if the item has to be displayed in the Settings Panel
718
+
719
+ ### `label` (string)
720
+
721
+ Indicates the label for the item that has to be displayed in the Settings Panel
722
+
723
+ ### `enabled` (boolean)
724
+
725
+ Indicates the value of the item if it affects config-ui
726
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
727
+
728
+ ## `ConfigureMaxImageDimensionsProp` (object)
729
+
730
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
731
+
732
+ ### `teacherInstructions` (number)
733
+
734
+ Indicates the max dimension for images in teacher instructions
735
+
736
+ ### `prompt` (number)
737
+
738
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
739
+
740
+ ### `rationale` (number)
741
+
742
+ Indicates the max dimension for images in rationale
743
+
744
+ ## `Answer` (object)
745
+
746
+ Properties of the `Answer` object:
747
+
748
+ ### `name` (string, required)
749
+
750
+ Indicates name of answer
751
+
752
+ ### `marks` (array, required)
753
+
754
+ Indicates marks for the answer
755
+
756
+ Additional restrictions:
757
+
758
+ * Minimum items: `1`
759
+
760
+ ## `Mark` (object)
761
+
762
+ Properties of the `Mark` object:
763
+
764
+ ### `type` (string, enum, required)
765
+
766
+ Indicates type of mark
767
+
768
+ This element must be one of the following enum values:
769
+
770
+ * `circle`
771
+ * `line`
772
+ * `parabola`
773
+ * `point`
774
+ * `polygon`
775
+ * `ray`
776
+ * `segment`
777
+ * `sine`
778
+ * `vector`
779
+
780
+ ### `showLabel` (boolean)
781
+
782
+ Indicates if label should be visible
783
+
784
+ ### `label` (string)
785
+
786
+ Indicates label value for mark
787
+
788
+ ### `building` (boolean, required)
789
+
790
+ Indicates if mark is in build process
791
+
792
+ ### `x` (number)
793
+
794
+ Indicates x coordinate if type is point
795
+
796
+ ### `y` (number)
797
+
798
+ Indicates y coordinate if type is point
799
+
800
+ ### `from` (object)
801
+
802
+ Properties of the `from` object:
803
+
804
+ #### `x` (number, required)
805
+
806
+ Indicates x coordinate
807
+
808
+ #### `y` (number, required)
809
+
810
+ Indicates y coordinate
811
+
812
+ ### `to` (object)
813
+
814
+ Properties of the `to` object:
815
+
816
+ #### `x` (number, required)
817
+
818
+ Indicates x coordinate
819
+
820
+ #### `y` (number, required)
821
+
822
+ Indicates y coordinate
823
+
824
+ ### `closed` (boolean)
825
+
826
+ Indicates if mark is closed if type is polygon, sine
827
+
828
+ ### `points` (array)
829
+
830
+ Indicates all mark's points if type is polygon
831
+
832
+ Additional restrictions:
833
+
834
+ * Minimum items: `1`
835
+
836
+ ### `root` (object)
837
+
838
+ Properties of the `root` object:
839
+
840
+ #### `x` (number, required)
841
+
842
+ Indicates x coordinate
843
+
844
+ #### `y` (number, required)
845
+
846
+ Indicates y coordinate
847
+
848
+ ### `edge` (object)
849
+
850
+ Properties of the `edge` object:
851
+
852
+ #### `x` (number, required)
853
+
854
+ Indicates x coordinate
855
+
856
+ #### `y` (number, required)
857
+
858
+ Indicates y coordinate
859
+
860
+ ## `Point` (object)
861
+
862
+ Properties of the `Point` object:
863
+
864
+ ### `x` (number, required)
865
+
866
+ Indicates x coordinate
867
+
868
+ ### `y` (number, required)
869
+
870
+ Indicates y coordinate