@pie-element/complex-rubric 2.1.2-next.57 → 2.1.2-next.72

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,6 +4,12 @@ The schema defines the following properties:
4
4
 
5
5
  How large should complex-rubric be
6
6
 
7
+ # `rubricOptions` (array)
8
+
9
+ Contains the available rubric types
10
+
11
+ The object is an array with all elements of the type `string`.
12
+
7
13
  # `simpleRubric` (object, required)
8
14
 
9
15
  Properties of the `simpleRubric` object:
@@ -279,6 +285,134 @@ Indicates if mathML that's already in model should be editable
279
285
 
280
286
  Indicates the max limit for scoring points
281
287
 
288
+ # `rubricless` (object, required)
289
+
290
+ Properties of the `rubricless` object:
291
+
292
+ ## `settingsPanelDisabled` (boolean)
293
+
294
+ Indicates if the settings panel is not available
295
+
296
+ ## `showExcludeZero` (object)
297
+
298
+ Properties of the `showExcludeZero` object:
299
+
300
+ ### `settings` (boolean)
301
+
302
+ Indicates if the item has to be displayed in the Settings Panel
303
+
304
+ ### `label` (string)
305
+
306
+ Indicates the label for the item that has to be displayed in the Settings Panel
307
+
308
+ ## `showMaxPoint` (object)
309
+
310
+ Properties of the `showMaxPoint` object:
311
+
312
+ ### `settings` (boolean)
313
+
314
+ Indicates if the item has to be displayed in the Settings Panel
315
+
316
+ ### `label` (string)
317
+
318
+ Indicates the label for the item that has to be displayed in the Settings Panel
319
+
320
+ ## `width` (string)
321
+
322
+ How large can the rubric be
323
+
324
+ ## `mathMlOptions` (object)
325
+
326
+ Properties of the `mathMlOptions` object:
327
+
328
+ ### `mmlOutput` (number)
329
+
330
+ Indicates if model should have mathML output instead of latex
331
+
332
+ ### `mmlEditing` (number)
333
+
334
+ Indicates if mathML that's already in model should be editable
335
+
336
+ ## `maxMaxPoints` (number)
337
+
338
+ Indicates the max limit for scoring points
339
+
340
+ ## `rubricless` (boolean, enum, required)
341
+
342
+ Indicates that it is rubricless
343
+
344
+ This element must be one of the following enum values:
345
+
346
+ * `true`
347
+
348
+ ## `rubriclessInstruction` (object, required)
349
+
350
+ Properties of the `rubriclessInstruction` object:
351
+
352
+ ### `settings` (boolean, enum, required)
353
+
354
+ This element must be one of the following enum values:
355
+
356
+ * `true`
357
+
358
+ ### `label` (string, enum, required)
359
+
360
+ This element must be one of the following enum values:
361
+
362
+ * `Instruction`
363
+
364
+ ## `showPrompt` (boolean)
365
+
366
+ Determines whether prompt field will be displayed or not
367
+
368
+ Default: `true`
369
+
370
+ ## `promptLabel` (string)
371
+
372
+ The label for the item stem/prompt field
373
+
374
+ Default: `"Item Stemm"`
375
+
376
+ ## `contentDimensions` (object)
377
+
378
+ Indicates the dimensions configuration for the authoring container
379
+ Note: Some items have a default minimum width because of their content, but if
380
+ the minWidth is lower than this, the overflow behavior will take care of that
381
+
382
+ Properties of the `contentDimensions` object:
383
+
384
+ ### `maxHeight` (string,number)
385
+
386
+ Indicates the max height of the authoring container
387
+
388
+ Default: `"undefined"`
389
+
390
+ ### `maxWidth` (string,number)
391
+
392
+ Indicates the max width of the authoring container
393
+
394
+ Default: `"undefined"`
395
+
396
+ ### `minHeight` (string,number)
397
+
398
+ Indicates the min height of the authoring container
399
+
400
+ Default: `"undefined"`
401
+
402
+ ### `minWidth` (string,number)
403
+
404
+ Indicates the min width of the authoring container
405
+
406
+ Default: `"undefined"`
407
+
408
+ Default: `": {}"`
409
+
410
+ ## `settingsPartialScoring` (boolean)
411
+
412
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
413
+
414
+ Default: `true`
415
+
282
416
  ---
283
417
 
284
418
  # Sub Schemas
@@ -594,4 +728,132 @@ Dialog box title
594
728
 
595
729
  ### `text` (string)
596
730
 
597
- Dialog box text
731
+ Dialog box text
732
+
733
+ ## `RubriclessConfigure` (object)
734
+
735
+ Properties of the `RubriclessConfigure` object:
736
+
737
+ ### `settingsPanelDisabled` (boolean)
738
+
739
+ Indicates if the settings panel is not available
740
+
741
+ ### `showExcludeZero` (object)
742
+
743
+ Properties of the `showExcludeZero` object:
744
+
745
+ #### `settings` (boolean)
746
+
747
+ Indicates if the item has to be displayed in the Settings Panel
748
+
749
+ #### `label` (string)
750
+
751
+ Indicates the label for the item that has to be displayed in the Settings Panel
752
+
753
+ ### `showMaxPoint` (object)
754
+
755
+ Properties of the `showMaxPoint` object:
756
+
757
+ #### `settings` (boolean)
758
+
759
+ Indicates if the item has to be displayed in the Settings Panel
760
+
761
+ #### `label` (string)
762
+
763
+ Indicates the label for the item that has to be displayed in the Settings Panel
764
+
765
+ ### `width` (string)
766
+
767
+ How large can the rubric be
768
+
769
+ ### `mathMlOptions` (object)
770
+
771
+ Properties of the `mathMlOptions` object:
772
+
773
+ #### `mmlOutput` (number)
774
+
775
+ Indicates if model should have mathML output instead of latex
776
+
777
+ #### `mmlEditing` (number)
778
+
779
+ Indicates if mathML that's already in model should be editable
780
+
781
+ ### `maxMaxPoints` (number)
782
+
783
+ Indicates the max limit for scoring points
784
+
785
+ ### `rubricless` (boolean, enum, required)
786
+
787
+ Indicates that it is rubricless
788
+
789
+ This element must be one of the following enum values:
790
+
791
+ * `true`
792
+
793
+ ### `rubriclessInstruction` (object, required)
794
+
795
+ Properties of the `rubriclessInstruction` object:
796
+
797
+ #### `settings` (boolean, enum, required)
798
+
799
+ This element must be one of the following enum values:
800
+
801
+ * `true`
802
+
803
+ #### `label` (string, enum, required)
804
+
805
+ This element must be one of the following enum values:
806
+
807
+ * `Instruction`
808
+
809
+ ### `showPrompt` (boolean)
810
+
811
+ Determines whether prompt field will be displayed or not
812
+
813
+ Default: `true`
814
+
815
+ ### `promptLabel` (string)
816
+
817
+ The label for the item stem/prompt field
818
+
819
+ Default: `"Item Stemm"`
820
+
821
+ ### `contentDimensions` (object)
822
+
823
+ Indicates the dimensions configuration for the authoring container
824
+ Note: Some items have a default minimum width because of their content, but if
825
+ the minWidth is lower than this, the overflow behavior will take care of that
826
+
827
+ Properties of the `contentDimensions` object:
828
+
829
+ #### `maxHeight` (string,number)
830
+
831
+ Indicates the max height of the authoring container
832
+
833
+ Default: `"undefined"`
834
+
835
+ #### `maxWidth` (string,number)
836
+
837
+ Indicates the max width of the authoring container
838
+
839
+ Default: `"undefined"`
840
+
841
+ #### `minHeight` (string,number)
842
+
843
+ Indicates the min height of the authoring container
844
+
845
+ Default: `"undefined"`
846
+
847
+ #### `minWidth` (string,number)
848
+
849
+ Indicates the min width of the authoring container
850
+
851
+ Default: `"undefined"`
852
+
853
+ Default: `": {}"`
854
+
855
+ ### `settingsPartialScoring` (boolean)
856
+
857
+ Indicates whether the settings panel wil allow the author to modify settings for partial scoring
858
+
859
+ Default: `true`
@@ -2,6 +2,7 @@ exports.model = (id, element) => ({
2
2
  id,
3
3
  element,
4
4
  rubricType: 'simpleRubric',
5
+ rubricOptions: ['simpleRubric', 'multiTraitRubric', 'rubricless'],
5
6
  rubrics: {
6
7
  simpleRubric: {
7
8
  points: ['nothing right', 'a teeny bit right', 'mostly right', 'bingo'],
@@ -9,6 +10,11 @@ exports.model = (id, element) => ({
9
10
  maxPoints: 4,
10
11
  excludeZero: false,
11
12
  },
13
+ rubricless: {
14
+ maxPoints: 100,
15
+ excludeZero: false,
16
+ rubriclessInstructionEnabled: true,
17
+ },
12
18
  multiTraitRubric: {
13
19
  visibleToStudent: true,
14
20
  halfScoring: false,
@@ -7,6 +7,7 @@
7
7
  "title": "RubricType",
8
8
  "enum": [
9
9
  "multiTraitRubric",
10
+ "rubricless",
10
11
  "simpleRubric"
11
12
  ],
12
13
  "type": "string"
@@ -213,10 +214,47 @@
213
214
  "scales",
214
215
  "spellCheckEnabled"
215
216
  ]
217
+ },
218
+ "rubricless": {
219
+ "title": "RubriclessPie",
220
+ "type": "object",
221
+ "properties": {
222
+ "maxPoints": {
223
+ "description": "Indicates the max limit for scoring points",
224
+ "type": "number",
225
+ "title": "maxPoints"
226
+ },
227
+ "excludeZeros": {
228
+ "description": "Indicates if point 0 should be shown",
229
+ "type": "boolean",
230
+ "title": "excludeZeros"
231
+ },
232
+ "rubriclessInstructionEnabled": {
233
+ "description": "Indicates that rubricInstruction is enabled",
234
+ "type": "boolean",
235
+ "title": "rubriclessInstructionEnabled"
236
+ },
237
+ "id": {
238
+ "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
239
+ "type": "string",
240
+ "title": "id"
241
+ },
242
+ "element": {
243
+ "description": "The html Element tag name",
244
+ "type": "string",
245
+ "title": "element"
246
+ }
247
+ },
248
+ "required": [
249
+ "element",
250
+ "id",
251
+ "rubriclessInstructionEnabled"
252
+ ]
216
253
  }
217
254
  },
218
255
  "required": [
219
256
  "multiTraitRubric",
257
+ "rubricless",
220
258
  "simpleRubric"
221
259
  ]
222
260
  },
@@ -644,10 +682,178 @@
644
682
  }
645
683
  }
646
684
  },
685
+ "RubriclessConfigure": {
686
+ "title": "RubriclessConfigure",
687
+ "type": "object",
688
+ "properties": {
689
+ "settingsPanelDisabled": {
690
+ "description": "Indicates if the settings panel is not available",
691
+ "type": "boolean",
692
+ "title": "settingsPanelDisabled"
693
+ },
694
+ "showExcludeZero": {
695
+ "title": "ConfigureProp",
696
+ "type": "object",
697
+ "properties": {
698
+ "settings": {
699
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
700
+ "type": "boolean",
701
+ "title": "settings"
702
+ },
703
+ "label": {
704
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
705
+ "type": "string",
706
+ "title": "label"
707
+ }
708
+ }
709
+ },
710
+ "showMaxPoint": {
711
+ "title": "ConfigureProp",
712
+ "type": "object",
713
+ "properties": {
714
+ "settings": {
715
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
716
+ "type": "boolean",
717
+ "title": "settings"
718
+ },
719
+ "label": {
720
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
721
+ "type": "string",
722
+ "title": "label"
723
+ }
724
+ }
725
+ },
726
+ "width": {
727
+ "description": "How large can the rubric be",
728
+ "type": "string",
729
+ "title": "width"
730
+ },
731
+ "mathMlOptions": {
732
+ "title": "ConfigureMathMLProp",
733
+ "type": "object",
734
+ "properties": {
735
+ "mmlOutput": {
736
+ "description": "Indicates if model should have mathML output instead of latex",
737
+ "type": "number",
738
+ "title": "mmlOutput"
739
+ },
740
+ "mmlEditing": {
741
+ "description": "Indicates if mathML that's already in model should be editable",
742
+ "type": "number",
743
+ "title": "mmlEditing"
744
+ }
745
+ }
746
+ },
747
+ "maxMaxPoints": {
748
+ "description": "Indicates the max limit for scoring points",
749
+ "type": "number",
750
+ "title": "maxMaxPoints"
751
+ },
752
+ "rubricless": {
753
+ "description": "Indicates that it is rubricless",
754
+ "type": "boolean",
755
+ "enum": [
756
+ true
757
+ ],
758
+ "title": "rubricless"
759
+ },
760
+ "rubriclessInstruction": {
761
+ "type": "object",
762
+ "properties": {
763
+ "settings": {
764
+ "type": "boolean",
765
+ "enum": [
766
+ true
767
+ ],
768
+ "title": "settings"
769
+ },
770
+ "label": {
771
+ "type": "string",
772
+ "enum": [
773
+ "Instruction"
774
+ ],
775
+ "title": "label"
776
+ }
777
+ },
778
+ "required": [
779
+ "label",
780
+ "settings"
781
+ ],
782
+ "title": "rubriclessInstruction"
783
+ },
784
+ "showPrompt": {
785
+ "description": "Determines whether prompt field will be displayed or not",
786
+ "default": true,
787
+ "type": "boolean",
788
+ "title": "showPrompt"
789
+ },
790
+ "promptLabel": {
791
+ "description": "The label for the item stem/prompt field",
792
+ "default": "Item Stemm",
793
+ "type": "string",
794
+ "title": "promptLabel"
795
+ },
796
+ "contentDimensions": {
797
+ "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
798
+ "default": ": {}",
799
+ "type": "object",
800
+ "properties": {
801
+ "maxHeight": {
802
+ "description": "Indicates the max height of the authoring container",
803
+ "default": "undefined",
804
+ "type": [
805
+ "string",
806
+ "number"
807
+ ],
808
+ "title": "maxHeight"
809
+ },
810
+ "maxWidth": {
811
+ "description": "Indicates the max width of the authoring container",
812
+ "default": "undefined",
813
+ "type": [
814
+ "string",
815
+ "number"
816
+ ],
817
+ "title": "maxWidth"
818
+ },
819
+ "minHeight": {
820
+ "description": "Indicates the min height of the authoring container",
821
+ "default": "undefined",
822
+ "type": [
823
+ "string",
824
+ "number"
825
+ ],
826
+ "title": "minHeight"
827
+ },
828
+ "minWidth": {
829
+ "description": "Indicates the min width of the authoring container",
830
+ "default": "undefined",
831
+ "type": [
832
+ "string",
833
+ "number"
834
+ ],
835
+ "title": "minWidth"
836
+ }
837
+ },
838
+ "title": "contentDimensions"
839
+ },
840
+ "settingsPartialScoring": {
841
+ "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
842
+ "default": true,
843
+ "type": "boolean",
844
+ "title": "settingsPartialScoring"
845
+ }
846
+ },
847
+ "required": [
848
+ "rubricless",
849
+ "rubriclessInstruction"
850
+ ]
851
+ },
647
852
  "RubricType": {
648
853
  "title": "RubricType",
649
854
  "enum": [
650
855
  "multiTraitRubric",
856
+ "rubricless",
651
857
  "simpleRubric"
652
858
  ],
653
859
  "type": "string"
@@ -854,10 +1060,47 @@
854
1060
  "scales",
855
1061
  "spellCheckEnabled"
856
1062
  ]
1063
+ },
1064
+ "rubricless": {
1065
+ "title": "RubriclessPie",
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "maxPoints": {
1069
+ "description": "Indicates the max limit for scoring points",
1070
+ "type": "number",
1071
+ "title": "maxPoints"
1072
+ },
1073
+ "excludeZeros": {
1074
+ "description": "Indicates if point 0 should be shown",
1075
+ "type": "boolean",
1076
+ "title": "excludeZeros"
1077
+ },
1078
+ "rubriclessInstructionEnabled": {
1079
+ "description": "Indicates that rubricInstruction is enabled",
1080
+ "type": "boolean",
1081
+ "title": "rubriclessInstructionEnabled"
1082
+ },
1083
+ "id": {
1084
+ "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
1085
+ "type": "string",
1086
+ "title": "id"
1087
+ },
1088
+ "element": {
1089
+ "description": "The html Element tag name",
1090
+ "type": "string",
1091
+ "title": "element"
1092
+ }
1093
+ },
1094
+ "required": [
1095
+ "element",
1096
+ "id",
1097
+ "rubriclessInstructionEnabled"
1098
+ ]
857
1099
  }
858
1100
  },
859
1101
  "required": [
860
1102
  "multiTraitRubric",
1103
+ "rubricless",
861
1104
  "simpleRubric"
862
1105
  ]
863
1106
  },
@@ -1170,6 +1413,42 @@
1170
1413
  "scorePointsDescriptors",
1171
1414
  "standards"
1172
1415
  ]
1416
+ },
1417
+ "RubriclessPie": {
1418
+ "title": "RubriclessPie",
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "maxPoints": {
1422
+ "description": "Indicates the max limit for scoring points",
1423
+ "type": "number",
1424
+ "title": "maxPoints"
1425
+ },
1426
+ "excludeZeros": {
1427
+ "description": "Indicates if point 0 should be shown",
1428
+ "type": "boolean",
1429
+ "title": "excludeZeros"
1430
+ },
1431
+ "rubriclessInstructionEnabled": {
1432
+ "description": "Indicates that rubricInstruction is enabled",
1433
+ "type": "boolean",
1434
+ "title": "rubriclessInstructionEnabled"
1435
+ },
1436
+ "id": {
1437
+ "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
1438
+ "type": "string",
1439
+ "title": "id"
1440
+ },
1441
+ "element": {
1442
+ "description": "The html Element tag name",
1443
+ "type": "string",
1444
+ "title": "element"
1445
+ }
1446
+ },
1447
+ "required": [
1448
+ "element",
1449
+ "id",
1450
+ "rubriclessInstructionEnabled"
1451
+ ]
1173
1452
  }
1174
1453
  },
1175
1454
  "$schema": "http://json-schema.org/draft-07/schema#"