@pie-element/complex-rubric 0.0.2-next.4424 → 0.1.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.
Files changed (204) hide show
  1. package/dist/author/defaults.d.ts +232 -0
  2. package/dist/author/defaults.d.ts.map +1 -0
  3. package/dist/author/defaults.js +177 -0
  4. package/dist/author/index.d.ts +35 -0
  5. package/dist/author/index.d.ts.map +1 -0
  6. package/dist/author/index.js +86 -0
  7. package/dist/author/main.d.ts +24 -0
  8. package/dist/author/main.d.ts.map +1 -0
  9. package/dist/author/main.js +106 -0
  10. package/dist/controller/defaults.d.ts +40 -0
  11. package/dist/controller/defaults.d.ts.map +1 -0
  12. package/dist/controller/defaults.js +42 -0
  13. package/dist/controller/index.d.ts +26 -0
  14. package/dist/controller/index.d.ts.map +1 -0
  15. package/dist/controller/index.js +107 -0
  16. package/dist/controller/utils.d.ts +10 -0
  17. package/dist/controller/utils.d.ts.map +1 -0
  18. package/dist/controller/utils.js +4 -0
  19. package/dist/delivery/index.d.ts +24 -0
  20. package/dist/delivery/index.d.ts.map +1 -0
  21. package/dist/delivery/index.js +96 -0
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/index.iife.d.ts +9 -0
  25. package/dist/index.iife.d.ts.map +1 -0
  26. package/dist/index.iife.js +145 -0
  27. package/dist/index.js +2 -0
  28. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +5 -0
  29. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +12 -0
  30. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  31. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +10 -0
  32. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +9 -0
  33. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +11 -0
  34. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  35. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +13 -0
  36. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +9 -0
  37. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +14 -0
  38. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +7 -0
  39. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +8 -0
  40. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +5 -0
  41. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +10 -0
  42. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +4 -0
  43. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +9 -0
  44. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +14 -0
  45. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +6 -0
  46. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +8 -0
  47. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js +12 -0
  48. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +11 -0
  49. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +8 -0
  50. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  51. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +9 -0
  52. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +7 -0
  53. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +13 -0
  54. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +5 -0
  55. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +6 -0
  56. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +14 -0
  57. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +15 -0
  58. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/constant.js +8 -0
  59. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/defaults.js +16 -0
  60. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js +6 -0
  62. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +10 -0
  63. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +4 -0
  64. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +8 -0
  65. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +6 -0
  66. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +11 -0
  67. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +7 -0
  68. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +7 -0
  69. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +6 -0
  70. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +7 -0
  71. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +9 -0
  72. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +6 -0
  73. package/dist/print/index.d.ts +25 -0
  74. package/dist/print/index.d.ts.map +1 -0
  75. package/dist/print/index.js +84 -0
  76. package/package.json +65 -16
  77. package/src/author/defaults.tsx +223 -0
  78. package/{configure/src/index.js → src/author/index.ts} +69 -28
  79. package/src/author/main.tsx +172 -0
  80. package/src/controller/defaults.ts +49 -0
  81. package/src/controller/index.ts +230 -0
  82. package/src/controller/utils.ts +13 -0
  83. package/src/{index.js → delivery/index.ts} +65 -9
  84. package/src/index.iife.ts +16 -0
  85. package/src/index.ts +1 -0
  86. package/src/print/index.ts +150 -0
  87. package/LICENSE.md +0 -5
  88. package/README.md +0 -3
  89. package/configure/lib/defaults.js +0 -99
  90. package/configure/lib/defaults.js.map +0 -1
  91. package/configure/lib/index.js +0 -232
  92. package/configure/lib/index.js.map +0 -1
  93. package/configure/lib/main.js +0 -165
  94. package/configure/lib/main.js.map +0 -1
  95. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  96. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -376
  97. package/configure/node_modules/@pie-element/multi-trait-rubric/LICENSE.md +0 -5
  98. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  99. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  100. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -344
  101. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -455
  102. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  103. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -82
  104. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  105. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -112
  106. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  107. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -438
  108. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  109. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -324
  110. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  111. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -490
  112. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  113. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -334
  114. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  115. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -254
  116. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  117. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -29
  118. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  119. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -22
  120. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  121. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -66
  122. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -9
  123. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  124. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -122
  125. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  126. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -15
  127. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -226
  128. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -169
  129. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  130. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -108
  131. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  132. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  133. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -282
  134. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -189
  135. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -85
  136. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  137. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -99
  138. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  139. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -209
  140. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  141. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -103
  142. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  143. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -24
  144. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  145. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -731
  146. package/configure/node_modules/@pie-element/rubric/LICENSE.md +0 -5
  147. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  148. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  149. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -615
  150. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -93
  151. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  152. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -16
  153. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -38
  154. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  155. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -105
  156. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -14
  157. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  158. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -9
  159. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -35
  160. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -6
  161. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -24
  162. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -19
  163. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  164. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  165. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -3
  166. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -62
  167. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -35
  168. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -88
  169. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  170. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -171
  171. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  172. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -114
  173. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  174. package/configure/node_modules/@pie-element/rubric/package.json +0 -25
  175. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -22767
  176. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -48
  177. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -38
  178. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -117
  179. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -63
  180. package/configure/package.json +0 -22
  181. package/configure/src/__tests__/__snapshots__/main.test.jsx.snap +0 -106
  182. package/configure/src/__tests__/index.test.js +0 -41
  183. package/configure/src/__tests__/main.test.jsx +0 -104
  184. package/configure/src/defaults.js +0 -122
  185. package/configure/src/main.jsx +0 -117
  186. package/controller/lib/defaults.js +0 -99
  187. package/controller/lib/defaults.js.map +0 -1
  188. package/controller/lib/index.js +0 -147
  189. package/controller/lib/index.js.map +0 -1
  190. package/controller/package.json +0 -12
  191. package/controller/src/__tests__/index.test.js +0 -58
  192. package/controller/src/defaults.js +0 -121
  193. package/controller/src/index.js +0 -81
  194. package/docs/config-schema.json +0 -427
  195. package/docs/config-schema.json.md +0 -315
  196. package/docs/demo/config.js +0 -8
  197. package/docs/demo/generate.js +0 -119
  198. package/docs/demo/index.html +0 -1
  199. package/docs/demo/session.js +0 -6
  200. package/docs/pie-schema.json +0 -994
  201. package/docs/pie-schema.json.md +0 -660
  202. package/lib/index.js +0 -176
  203. package/lib/index.js.map +0 -1
  204. package/src/__tests__/index.test.js +0 -166
@@ -1,994 +0,0 @@
1
- {
2
- "description": "Model for the ComplexRubricPie Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "rubricType": {
7
- "title": "RubricType",
8
- "enum": [
9
- "multiTraitRubric",
10
- "simpleRubric"
11
- ],
12
- "type": "string"
13
- },
14
- "rubrics": {
15
- "title": "RubricModels",
16
- "type": "object",
17
- "properties": {
18
- "simpleRubric": {
19
- "description": "Model for the RubricPie Interaction",
20
- "additionalProperties": false,
21
- "title": "RubricPie",
22
- "type": "object",
23
- "properties": {
24
- "points": {
25
- "description": "Indicates the score points labels. Starting from 0 to max",
26
- "type": "array",
27
- "items": {
28
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
29
- "type": "object",
30
- "additionalProperties": false,
31
- "patternProperties": {
32
- "^[0-9]+$": {
33
- "type": "string"
34
- }
35
- }
36
- },
37
- "title": "points"
38
- },
39
- "sampleAnswers": {
40
- "description": "Indicates the sample answers labels. Starting from 0 to max",
41
- "type": "array",
42
- "items": {
43
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
44
- "type": "object",
45
- "additionalProperties": false,
46
- "patternProperties": {
47
- "^[0-9]+$": {
48
- "type": "string"
49
- }
50
- }
51
- },
52
- "title": "sampleAnswers"
53
- },
54
- "maxPoints": {
55
- "description": "Indicates the max limit for scoring points",
56
- "type": "number",
57
- "title": "maxPoints"
58
- },
59
- "excludeZeros": {
60
- "description": "Indicates if point 0 should be shown",
61
- "type": "boolean",
62
- "title": "excludeZeros"
63
- },
64
- "id": {
65
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
66
- "type": "string",
67
- "title": "id"
68
- },
69
- "element": {
70
- "description": "The html Element tag name",
71
- "type": "string",
72
- "title": "element"
73
- }
74
- },
75
- "required": [
76
- "element",
77
- "id"
78
- ]
79
- },
80
- "multiTraitRubric": {
81
- "description": "Model for the MultiTraitRubric Interaction",
82
- "additionalProperties": false,
83
- "title": "MultiTraitRubricPie",
84
- "type": "object",
85
- "properties": {
86
- "halfScoring": {
87
- "description": "Indicates if half scoring is enabled",
88
- "type": "boolean",
89
- "title": "halfScoring"
90
- },
91
- "pointLabels": {
92
- "description": "Indicates if point labels should be shown",
93
- "type": "boolean",
94
- "title": "pointLabels"
95
- },
96
- "visibleToStudent": {
97
- "description": "Indicates if should be visible to student",
98
- "type": "boolean",
99
- "title": "visibleToStudent"
100
- },
101
- "description": {
102
- "description": "Indicates if description should be shown",
103
- "type": "boolean",
104
- "title": "description"
105
- },
106
- "standards": {
107
- "description": "Indicates if standards should be shown",
108
- "type": "boolean",
109
- "title": "standards"
110
- },
111
- "excludeZero": {
112
- "description": "Indicates if scoring should start at 0 or 1",
113
- "type": "boolean",
114
- "title": "excludeZero"
115
- },
116
- "spellCheckEnabled": {
117
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
118
- "type": "boolean",
119
- "title": "spellCheckEnabled"
120
- },
121
- "scales": {
122
- "description": "scales",
123
- "type": "array",
124
- "items": {
125
- "title": "Scale",
126
- "type": "object",
127
- "properties": {
128
- "maxPoints": {
129
- "description": "Indicates max limit for scoring points",
130
- "type": "number",
131
- "title": "maxPoints"
132
- },
133
- "scorePointsLabels": {
134
- "description": "Score labels. Starting from 0 to max.",
135
- "type": "array",
136
- "items": {
137
- "type": "string"
138
- },
139
- "title": "scorePointsLabels"
140
- },
141
- "traitLabel": {
142
- "description": "Trait label",
143
- "type": "string",
144
- "title": "traitLabel"
145
- },
146
- "traits": {
147
- "description": "Traits",
148
- "type": "array",
149
- "items": {
150
- "title": "Trait",
151
- "type": "object",
152
- "properties": {
153
- "name": {
154
- "description": "Trait name",
155
- "type": "string",
156
- "title": "name"
157
- },
158
- "standards": {
159
- "description": "Trait standards",
160
- "type": "array",
161
- "items": {
162
- "type": "string"
163
- },
164
- "title": "standards"
165
- },
166
- "description": {
167
- "description": "Trait description",
168
- "type": "string",
169
- "title": "description"
170
- },
171
- "scorePointsDescriptors": {
172
- "description": "Score point descriptors. Starting from 0 to max.",
173
- "type": "array",
174
- "items": {
175
- "type": "string"
176
- },
177
- "title": "scorePointsDescriptors"
178
- }
179
- },
180
- "required": [
181
- "description",
182
- "name",
183
- "scorePointsDescriptors",
184
- "standards"
185
- ]
186
- },
187
- "title": "traits"
188
- }
189
- },
190
- "required": [
191
- "maxPoints",
192
- "scorePointsLabels",
193
- "traitLabel",
194
- "traits"
195
- ]
196
- },
197
- "title": "scales"
198
- },
199
- "id": {
200
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
201
- "type": "string",
202
- "title": "id"
203
- },
204
- "element": {
205
- "description": "The html Element tag name",
206
- "type": "string",
207
- "title": "element"
208
- }
209
- },
210
- "required": [
211
- "element",
212
- "id",
213
- "scales",
214
- "spellCheckEnabled"
215
- ]
216
- }
217
- },
218
- "required": [
219
- "multiTraitRubric",
220
- "simpleRubric"
221
- ]
222
- },
223
- "id": {
224
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
225
- "type": "string",
226
- "title": "id"
227
- },
228
- "element": {
229
- "description": "The html Element tag name",
230
- "type": "string",
231
- "title": "element"
232
- }
233
- },
234
- "required": [
235
- "element",
236
- "id",
237
- "rubricType",
238
- "rubrics"
239
- ],
240
- "definitions": {
241
- "MultiTraitRubricConfigure": {
242
- "description": "Config Object for @pie-elements/multi-trait-rubric",
243
- "additionalProperties": false,
244
- "title": "MultiTraitRubricConfigure",
245
- "type": "object",
246
- "properties": {
247
- "excludeZeroDialogBoxContent": {
248
- "title": "DialogContent",
249
- "type": "object",
250
- "properties": {
251
- "title": {
252
- "description": "Dialog box title",
253
- "type": "string",
254
- "title": "title"
255
- },
256
- "text": {
257
- "description": "Dialog box text",
258
- "type": "string",
259
- "title": "text"
260
- }
261
- }
262
- },
263
- "includeZeroDialogBoxContent": {
264
- "title": "DialogContent",
265
- "type": "object",
266
- "properties": {
267
- "title": {
268
- "description": "Dialog box title",
269
- "type": "string",
270
- "title": "title"
271
- },
272
- "text": {
273
- "description": "Dialog box text",
274
- "type": "string",
275
- "title": "text"
276
- }
277
- }
278
- },
279
- "deleteTraitDialogBoxContent": {
280
- "title": "DialogContent",
281
- "type": "object",
282
- "properties": {
283
- "title": {
284
- "description": "Dialog box title",
285
- "type": "string",
286
- "title": "title"
287
- },
288
- "text": {
289
- "description": "Dialog box text",
290
- "type": "string",
291
- "title": "text"
292
- }
293
- }
294
- },
295
- "deleteScaleDialogBoxContent": {
296
- "title": "DialogContent",
297
- "type": "object",
298
- "properties": {
299
- "title": {
300
- "description": "Dialog box title",
301
- "type": "string",
302
- "title": "title"
303
- },
304
- "text": {
305
- "description": "Dialog box text",
306
- "type": "string",
307
- "title": "text"
308
- }
309
- }
310
- },
311
- "maxPointsDialogBoxContent": {
312
- "title": "DialogContent",
313
- "type": "object",
314
- "properties": {
315
- "title": {
316
- "description": "Dialog box title",
317
- "type": "string",
318
- "title": "title"
319
- },
320
- "text": {
321
- "description": "Dialog box text",
322
- "type": "string",
323
- "title": "text"
324
- }
325
- }
326
- },
327
- "showExcludeZero": {
328
- "title": "ConfigureProp",
329
- "type": "object",
330
- "properties": {
331
- "settings": {
332
- "description": "Indicates if the item has to be displayed in the Settings Panel",
333
- "type": "boolean",
334
- "title": "settings"
335
- },
336
- "label": {
337
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
338
- "type": "string",
339
- "title": "label"
340
- }
341
- }
342
- },
343
- "showScorePointLabels": {
344
- "title": "ConfigureProp",
345
- "type": "object",
346
- "properties": {
347
- "settings": {
348
- "description": "Indicates if the item has to be displayed in the Settings Panel",
349
- "type": "boolean",
350
- "title": "settings"
351
- },
352
- "label": {
353
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
354
- "type": "string",
355
- "title": "label"
356
- }
357
- }
358
- },
359
- "showDescription": {
360
- "title": "ConfigureProp",
361
- "type": "object",
362
- "properties": {
363
- "settings": {
364
- "description": "Indicates if the item has to be displayed in the Settings Panel",
365
- "type": "boolean",
366
- "title": "settings"
367
- },
368
- "label": {
369
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
370
- "type": "string",
371
- "title": "label"
372
- }
373
- }
374
- },
375
- "showVisibleToStudent": {
376
- "title": "ConfigureProp",
377
- "type": "object",
378
- "properties": {
379
- "settings": {
380
- "description": "Indicates if the item has to be displayed in the Settings Panel",
381
- "type": "boolean",
382
- "title": "settings"
383
- },
384
- "label": {
385
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
386
- "type": "string",
387
- "title": "label"
388
- }
389
- }
390
- },
391
- "showHalfScoring": {
392
- "title": "ConfigureProp",
393
- "type": "object",
394
- "properties": {
395
- "settings": {
396
- "description": "Indicates if the item has to be displayed in the Settings Panel",
397
- "type": "boolean",
398
- "title": "settings"
399
- },
400
- "label": {
401
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
402
- "type": "string",
403
- "title": "label"
404
- }
405
- }
406
- },
407
- "spellCheck": {
408
- "title": "ConfigureProp",
409
- "type": "object",
410
- "properties": {
411
- "settings": {
412
- "description": "Indicates if the item has to be displayed in the Settings Panel",
413
- "type": "boolean",
414
- "title": "settings"
415
- },
416
- "label": {
417
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
418
- "type": "string",
419
- "title": "label"
420
- }
421
- }
422
- },
423
- "width": {
424
- "description": "How large (in px) should multi-trait-rubric be",
425
- "type": "string",
426
- "title": "width"
427
- }
428
- },
429
- "required": [
430
- "width"
431
- ]
432
- },
433
- "DialogContent": {
434
- "title": "DialogContent",
435
- "type": "object",
436
- "properties": {
437
- "title": {
438
- "description": "Dialog box title",
439
- "type": "string",
440
- "title": "title"
441
- },
442
- "text": {
443
- "description": "Dialog box text",
444
- "type": "string",
445
- "title": "text"
446
- }
447
- }
448
- },
449
- "ConfigureProp": {
450
- "title": "ConfigureProp",
451
- "type": "object",
452
- "properties": {
453
- "settings": {
454
- "description": "Indicates if the item has to be displayed in the Settings Panel",
455
- "type": "boolean",
456
- "title": "settings"
457
- },
458
- "label": {
459
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
460
- "type": "string",
461
- "title": "label"
462
- }
463
- }
464
- },
465
- "RubricType": {
466
- "title": "RubricType",
467
- "enum": [
468
- "multiTraitRubric",
469
- "simpleRubric"
470
- ],
471
- "type": "string"
472
- },
473
- "RubricModels": {
474
- "title": "RubricModels",
475
- "type": "object",
476
- "properties": {
477
- "simpleRubric": {
478
- "description": "Model for the RubricPie Interaction",
479
- "additionalProperties": false,
480
- "title": "RubricPie",
481
- "type": "object",
482
- "properties": {
483
- "points": {
484
- "description": "Indicates the score points labels. Starting from 0 to max",
485
- "type": "array",
486
- "items": {
487
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
488
- "type": "object",
489
- "additionalProperties": false,
490
- "patternProperties": {
491
- "^[0-9]+$": {
492
- "type": "string"
493
- }
494
- }
495
- },
496
- "title": "points"
497
- },
498
- "sampleAnswers": {
499
- "description": "Indicates the sample answers labels. Starting from 0 to max",
500
- "type": "array",
501
- "items": {
502
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
503
- "type": "object",
504
- "additionalProperties": false,
505
- "patternProperties": {
506
- "^[0-9]+$": {
507
- "type": "string"
508
- }
509
- }
510
- },
511
- "title": "sampleAnswers"
512
- },
513
- "maxPoints": {
514
- "description": "Indicates the max limit for scoring points",
515
- "type": "number",
516
- "title": "maxPoints"
517
- },
518
- "excludeZeros": {
519
- "description": "Indicates if point 0 should be shown",
520
- "type": "boolean",
521
- "title": "excludeZeros"
522
- },
523
- "id": {
524
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
525
- "type": "string",
526
- "title": "id"
527
- },
528
- "element": {
529
- "description": "The html Element tag name",
530
- "type": "string",
531
- "title": "element"
532
- }
533
- },
534
- "required": [
535
- "element",
536
- "id"
537
- ]
538
- },
539
- "multiTraitRubric": {
540
- "description": "Model for the MultiTraitRubric Interaction",
541
- "additionalProperties": false,
542
- "title": "MultiTraitRubricPie",
543
- "type": "object",
544
- "properties": {
545
- "halfScoring": {
546
- "description": "Indicates if half scoring is enabled",
547
- "type": "boolean",
548
- "title": "halfScoring"
549
- },
550
- "pointLabels": {
551
- "description": "Indicates if point labels should be shown",
552
- "type": "boolean",
553
- "title": "pointLabels"
554
- },
555
- "visibleToStudent": {
556
- "description": "Indicates if should be visible to student",
557
- "type": "boolean",
558
- "title": "visibleToStudent"
559
- },
560
- "description": {
561
- "description": "Indicates if description should be shown",
562
- "type": "boolean",
563
- "title": "description"
564
- },
565
- "standards": {
566
- "description": "Indicates if standards should be shown",
567
- "type": "boolean",
568
- "title": "standards"
569
- },
570
- "excludeZero": {
571
- "description": "Indicates if scoring should start at 0 or 1",
572
- "type": "boolean",
573
- "title": "excludeZero"
574
- },
575
- "spellCheckEnabled": {
576
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
577
- "type": "boolean",
578
- "title": "spellCheckEnabled"
579
- },
580
- "scales": {
581
- "description": "scales",
582
- "type": "array",
583
- "items": {
584
- "title": "Scale",
585
- "type": "object",
586
- "properties": {
587
- "maxPoints": {
588
- "description": "Indicates max limit for scoring points",
589
- "type": "number",
590
- "title": "maxPoints"
591
- },
592
- "scorePointsLabels": {
593
- "description": "Score labels. Starting from 0 to max.",
594
- "type": "array",
595
- "items": {
596
- "type": "string"
597
- },
598
- "title": "scorePointsLabels"
599
- },
600
- "traitLabel": {
601
- "description": "Trait label",
602
- "type": "string",
603
- "title": "traitLabel"
604
- },
605
- "traits": {
606
- "description": "Traits",
607
- "type": "array",
608
- "items": {
609
- "title": "Trait",
610
- "type": "object",
611
- "properties": {
612
- "name": {
613
- "description": "Trait name",
614
- "type": "string",
615
- "title": "name"
616
- },
617
- "standards": {
618
- "description": "Trait standards",
619
- "type": "array",
620
- "items": {
621
- "type": "string"
622
- },
623
- "title": "standards"
624
- },
625
- "description": {
626
- "description": "Trait description",
627
- "type": "string",
628
- "title": "description"
629
- },
630
- "scorePointsDescriptors": {
631
- "description": "Score point descriptors. Starting from 0 to max.",
632
- "type": "array",
633
- "items": {
634
- "type": "string"
635
- },
636
- "title": "scorePointsDescriptors"
637
- }
638
- },
639
- "required": [
640
- "description",
641
- "name",
642
- "scorePointsDescriptors",
643
- "standards"
644
- ]
645
- },
646
- "title": "traits"
647
- }
648
- },
649
- "required": [
650
- "maxPoints",
651
- "scorePointsLabels",
652
- "traitLabel",
653
- "traits"
654
- ]
655
- },
656
- "title": "scales"
657
- },
658
- "id": {
659
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
660
- "type": "string",
661
- "title": "id"
662
- },
663
- "element": {
664
- "description": "The html Element tag name",
665
- "type": "string",
666
- "title": "element"
667
- }
668
- },
669
- "required": [
670
- "element",
671
- "id",
672
- "scales",
673
- "spellCheckEnabled"
674
- ]
675
- }
676
- },
677
- "required": [
678
- "multiTraitRubric",
679
- "simpleRubric"
680
- ]
681
- },
682
- "RubricPie": {
683
- "description": "Model for the RubricPie Interaction",
684
- "additionalProperties": false,
685
- "title": "RubricPie",
686
- "type": "object",
687
- "properties": {
688
- "points": {
689
- "description": "Indicates the score points labels. Starting from 0 to max",
690
- "type": "array",
691
- "items": {
692
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
693
- "type": "object",
694
- "additionalProperties": false,
695
- "patternProperties": {
696
- "^[0-9]+$": {
697
- "type": "string"
698
- }
699
- }
700
- },
701
- "title": "points"
702
- },
703
- "sampleAnswers": {
704
- "description": "Indicates the sample answers labels. Starting from 0 to max",
705
- "type": "array",
706
- "items": {
707
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
708
- "type": "object",
709
- "additionalProperties": false,
710
- "patternProperties": {
711
- "^[0-9]+$": {
712
- "type": "string"
713
- }
714
- }
715
- },
716
- "title": "sampleAnswers"
717
- },
718
- "maxPoints": {
719
- "description": "Indicates the max limit for scoring points",
720
- "type": "number",
721
- "title": "maxPoints"
722
- },
723
- "excludeZeros": {
724
- "description": "Indicates if point 0 should be shown",
725
- "type": "boolean",
726
- "title": "excludeZeros"
727
- },
728
- "id": {
729
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
730
- "type": "string",
731
- "title": "id"
732
- },
733
- "element": {
734
- "description": "The html Element tag name",
735
- "type": "string",
736
- "title": "element"
737
- }
738
- },
739
- "required": [
740
- "element",
741
- "id"
742
- ]
743
- },
744
- "MultiTraitRubricPie": {
745
- "description": "Model for the MultiTraitRubric Interaction",
746
- "additionalProperties": false,
747
- "title": "MultiTraitRubricPie",
748
- "type": "object",
749
- "properties": {
750
- "halfScoring": {
751
- "description": "Indicates if half scoring is enabled",
752
- "type": "boolean",
753
- "title": "halfScoring"
754
- },
755
- "pointLabels": {
756
- "description": "Indicates if point labels should be shown",
757
- "type": "boolean",
758
- "title": "pointLabels"
759
- },
760
- "visibleToStudent": {
761
- "description": "Indicates if should be visible to student",
762
- "type": "boolean",
763
- "title": "visibleToStudent"
764
- },
765
- "description": {
766
- "description": "Indicates if description should be shown",
767
- "type": "boolean",
768
- "title": "description"
769
- },
770
- "standards": {
771
- "description": "Indicates if standards should be shown",
772
- "type": "boolean",
773
- "title": "standards"
774
- },
775
- "excludeZero": {
776
- "description": "Indicates if scoring should start at 0 or 1",
777
- "type": "boolean",
778
- "title": "excludeZero"
779
- },
780
- "spellCheckEnabled": {
781
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
782
- "type": "boolean",
783
- "title": "spellCheckEnabled"
784
- },
785
- "scales": {
786
- "description": "scales",
787
- "type": "array",
788
- "items": {
789
- "title": "Scale",
790
- "type": "object",
791
- "properties": {
792
- "maxPoints": {
793
- "description": "Indicates max limit for scoring points",
794
- "type": "number",
795
- "title": "maxPoints"
796
- },
797
- "scorePointsLabels": {
798
- "description": "Score labels. Starting from 0 to max.",
799
- "type": "array",
800
- "items": {
801
- "type": "string"
802
- },
803
- "title": "scorePointsLabels"
804
- },
805
- "traitLabel": {
806
- "description": "Trait label",
807
- "type": "string",
808
- "title": "traitLabel"
809
- },
810
- "traits": {
811
- "description": "Traits",
812
- "type": "array",
813
- "items": {
814
- "title": "Trait",
815
- "type": "object",
816
- "properties": {
817
- "name": {
818
- "description": "Trait name",
819
- "type": "string",
820
- "title": "name"
821
- },
822
- "standards": {
823
- "description": "Trait standards",
824
- "type": "array",
825
- "items": {
826
- "type": "string"
827
- },
828
- "title": "standards"
829
- },
830
- "description": {
831
- "description": "Trait description",
832
- "type": "string",
833
- "title": "description"
834
- },
835
- "scorePointsDescriptors": {
836
- "description": "Score point descriptors. Starting from 0 to max.",
837
- "type": "array",
838
- "items": {
839
- "type": "string"
840
- },
841
- "title": "scorePointsDescriptors"
842
- }
843
- },
844
- "required": [
845
- "description",
846
- "name",
847
- "scorePointsDescriptors",
848
- "standards"
849
- ]
850
- },
851
- "title": "traits"
852
- }
853
- },
854
- "required": [
855
- "maxPoints",
856
- "scorePointsLabels",
857
- "traitLabel",
858
- "traits"
859
- ]
860
- },
861
- "title": "scales"
862
- },
863
- "id": {
864
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
865
- "type": "string",
866
- "title": "id"
867
- },
868
- "element": {
869
- "description": "The html Element tag name",
870
- "type": "string",
871
- "title": "element"
872
- }
873
- },
874
- "required": [
875
- "element",
876
- "id",
877
- "scales",
878
- "spellCheckEnabled"
879
- ]
880
- },
881
- "Scale": {
882
- "title": "Scale",
883
- "type": "object",
884
- "properties": {
885
- "maxPoints": {
886
- "description": "Indicates max limit for scoring points",
887
- "type": "number",
888
- "title": "maxPoints"
889
- },
890
- "scorePointsLabels": {
891
- "description": "Score labels. Starting from 0 to max.",
892
- "type": "array",
893
- "items": {
894
- "type": "string"
895
- },
896
- "title": "scorePointsLabels"
897
- },
898
- "traitLabel": {
899
- "description": "Trait label",
900
- "type": "string",
901
- "title": "traitLabel"
902
- },
903
- "traits": {
904
- "description": "Traits",
905
- "type": "array",
906
- "items": {
907
- "title": "Trait",
908
- "type": "object",
909
- "properties": {
910
- "name": {
911
- "description": "Trait name",
912
- "type": "string",
913
- "title": "name"
914
- },
915
- "standards": {
916
- "description": "Trait standards",
917
- "type": "array",
918
- "items": {
919
- "type": "string"
920
- },
921
- "title": "standards"
922
- },
923
- "description": {
924
- "description": "Trait description",
925
- "type": "string",
926
- "title": "description"
927
- },
928
- "scorePointsDescriptors": {
929
- "description": "Score point descriptors. Starting from 0 to max.",
930
- "type": "array",
931
- "items": {
932
- "type": "string"
933
- },
934
- "title": "scorePointsDescriptors"
935
- }
936
- },
937
- "required": [
938
- "description",
939
- "name",
940
- "scorePointsDescriptors",
941
- "standards"
942
- ]
943
- },
944
- "title": "traits"
945
- }
946
- },
947
- "required": [
948
- "maxPoints",
949
- "scorePointsLabels",
950
- "traitLabel",
951
- "traits"
952
- ]
953
- },
954
- "Trait": {
955
- "title": "Trait",
956
- "type": "object",
957
- "properties": {
958
- "name": {
959
- "description": "Trait name",
960
- "type": "string",
961
- "title": "name"
962
- },
963
- "standards": {
964
- "description": "Trait standards",
965
- "type": "array",
966
- "items": {
967
- "type": "string"
968
- },
969
- "title": "standards"
970
- },
971
- "description": {
972
- "description": "Trait description",
973
- "type": "string",
974
- "title": "description"
975
- },
976
- "scorePointsDescriptors": {
977
- "description": "Score point descriptors. Starting from 0 to max.",
978
- "type": "array",
979
- "items": {
980
- "type": "string"
981
- },
982
- "title": "scorePointsDescriptors"
983
- }
984
- },
985
- "required": [
986
- "description",
987
- "name",
988
- "scorePointsDescriptors",
989
- "standards"
990
- ]
991
- }
992
- },
993
- "$schema": "http://json-schema.org/draft-07/schema#"
994
- }