@pie-element/multi-trait-rubric 8.1.1 → 8.1.2-next.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 (213) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/common.d.ts +90 -0
  4. package/dist/author/common.js +275 -0
  5. package/dist/author/defaults.d.ts +153 -0
  6. package/dist/author/defaults.js +113 -0
  7. package/dist/author/index.d.ts +22 -0
  8. package/dist/author/index.js +89 -0
  9. package/dist/author/main.d.ts +43 -0
  10. package/dist/author/main.js +249 -0
  11. package/dist/author/modals.d.ts +94 -0
  12. package/dist/author/modals.js +171 -0
  13. package/dist/author/scale.d.ts +46 -0
  14. package/dist/author/scale.js +280 -0
  15. package/dist/author/trait.d.ts +70 -0
  16. package/dist/author/trait.js +202 -0
  17. package/dist/author/traitsHeader.d.ts +28 -0
  18. package/dist/author/traitsHeader.js +172 -0
  19. package/dist/author/utils.d.ts +10 -0
  20. package/dist/author/utils.js +41 -0
  21. package/dist/browser/Typography-CdgSBeUZ.js +8984 -0
  22. package/dist/browser/Typography-CdgSBeUZ.js.map +1 -0
  23. package/dist/browser/author/index.js +42899 -0
  24. package/dist/browser/author/index.js.map +1 -0
  25. package/dist/browser/controller/index.js +70 -0
  26. package/dist/browser/controller/index.js.map +1 -0
  27. package/dist/browser/delivery/index.js +523 -0
  28. package/dist/browser/delivery/index.js.map +1 -0
  29. package/dist/browser/multi-trait-rubric.css +2 -0
  30. package/dist/controller/defaults.d.ts +20 -0
  31. package/dist/controller/defaults.js +14 -0
  32. package/dist/controller/index.d.ts +26 -0
  33. package/dist/controller/index.js +57 -0
  34. package/dist/controller/utils.d.ts +9 -0
  35. package/dist/controller/utils.js +4 -0
  36. package/dist/delivery/index.d.ts +17 -0
  37. package/dist/delivery/index.js +37 -0
  38. package/dist/delivery/main.d.ts +15 -0
  39. package/dist/delivery/main.js +95 -0
  40. package/dist/delivery/scale.d.ts +17 -0
  41. package/dist/delivery/scale.js +175 -0
  42. package/dist/delivery/trait.d.ts +27 -0
  43. package/dist/delivery/trait.js +44 -0
  44. package/dist/index.d.ts +1 -0
  45. package/dist/index.iife.d.ts +8 -0
  46. package/dist/index.iife.js +145 -0
  47. package/dist/index.js +2 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +8 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +8 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +50 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +7 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +19 -0
  163. package/package.json +80 -14
  164. package/CHANGELOG.json +0 -1
  165. package/CHANGELOG.md +0 -1584
  166. package/LICENSE.md +0 -5
  167. package/README.md +0 -55
  168. package/configure/CHANGELOG.json +0 -1
  169. package/configure/CHANGELOG.md +0 -1479
  170. package/configure/lib/common.js +0 -424
  171. package/configure/lib/common.js.map +0 -1
  172. package/configure/lib/defaults.js +0 -184
  173. package/configure/lib/defaults.js.map +0 -1
  174. package/configure/lib/index.js +0 -157
  175. package/configure/lib/index.js.map +0 -1
  176. package/configure/lib/main.js +0 -454
  177. package/configure/lib/main.js.map +0 -1
  178. package/configure/lib/modals.js +0 -206
  179. package/configure/lib/modals.js.map +0 -1
  180. package/configure/lib/scale.js +0 -478
  181. package/configure/lib/scale.js.map +0 -1
  182. package/configure/lib/trait.js +0 -275
  183. package/configure/lib/trait.js.map +0 -1
  184. package/configure/lib/traitsHeader.js +0 -235
  185. package/configure/lib/traitsHeader.js.map +0 -1
  186. package/configure/lib/utils.js +0 -87
  187. package/configure/lib/utils.js.map +0 -1
  188. package/configure/package.json +0 -24
  189. package/controller/CHANGELOG.json +0 -1
  190. package/controller/CHANGELOG.md +0 -911
  191. package/controller/lib/defaults.js +0 -18
  192. package/controller/lib/defaults.js.map +0 -1
  193. package/controller/lib/index.js +0 -158
  194. package/controller/lib/index.js.map +0 -1
  195. package/controller/lib/utils.js +0 -11
  196. package/controller/lib/utils.js.map +0 -1
  197. package/controller/package.json +0 -14
  198. package/docs/config-schema.json +0 -1628
  199. package/docs/config-schema.json.md +0 -1202
  200. package/docs/demo/config.js +0 -8
  201. package/docs/demo/generate.js +0 -117
  202. package/docs/demo/index.html +0 -1
  203. package/docs/demo/session.js +0 -6
  204. package/docs/pie-schema.json +0 -861
  205. package/docs/pie-schema.json.md +0 -614
  206. package/lib/index.js +0 -54
  207. package/lib/index.js.map +0 -1
  208. package/lib/main.js +0 -123
  209. package/lib/main.js.map +0 -1
  210. package/lib/scale.js +0 -248
  211. package/lib/scale.js.map +0 -1
  212. package/lib/trait.js +0 -83
  213. package/lib/trait.js.map +0 -1
@@ -1,861 +0,0 @@
1
- {
2
- "description": "Model for the MultiTraitRubric Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "halfScoring": {
7
- "description": "Indicates if half scoring is enabled",
8
- "type": "boolean",
9
- "title": "halfScoring"
10
- },
11
- "pointLabels": {
12
- "description": "Indicates if point labels should be shown",
13
- "type": "boolean",
14
- "title": "pointLabels"
15
- },
16
- "visibleToStudent": {
17
- "description": "Indicates if should be visible to student",
18
- "type": "boolean",
19
- "title": "visibleToStudent"
20
- },
21
- "description": {
22
- "description": "Indicates if description should be shown",
23
- "type": "boolean",
24
- "title": "description"
25
- },
26
- "standards": {
27
- "description": "Indicates if standards should be shown",
28
- "type": "boolean",
29
- "title": "standards"
30
- },
31
- "excludeZero": {
32
- "description": "Indicates if scoring should start at 0 or 1",
33
- "type": "boolean",
34
- "title": "excludeZero"
35
- },
36
- "spellCheckEnabled": {
37
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
38
- "type": "boolean",
39
- "title": "spellCheckEnabled"
40
- },
41
- "scales": {
42
- "description": "scales",
43
- "type": "array",
44
- "items": {
45
- "title": "Scale",
46
- "type": "object",
47
- "properties": {
48
- "maxPoints": {
49
- "description": "Indicates max limit for scoring points",
50
- "type": "number",
51
- "title": "maxPoints"
52
- },
53
- "scorePointsLabels": {
54
- "description": "Score labels. Starting from 0 to max.",
55
- "type": "array",
56
- "items": {
57
- "type": "string"
58
- },
59
- "title": "scorePointsLabels"
60
- },
61
- "traitLabel": {
62
- "description": "Trait label",
63
- "type": "string",
64
- "title": "traitLabel"
65
- },
66
- "traits": {
67
- "description": "Traits",
68
- "type": "array",
69
- "items": {
70
- "title": "Trait",
71
- "type": "object",
72
- "properties": {
73
- "name": {
74
- "description": "Trait name",
75
- "type": "string",
76
- "title": "name"
77
- },
78
- "standards": {
79
- "description": "Trait standards",
80
- "type": "array",
81
- "items": {
82
- "type": "string"
83
- },
84
- "title": "standards"
85
- },
86
- "description": {
87
- "description": "Trait description",
88
- "type": "string",
89
- "title": "description"
90
- },
91
- "scorePointsDescriptors": {
92
- "description": "Score point descriptors. Starting from 0 to max.",
93
- "type": "array",
94
- "items": {
95
- "type": "string"
96
- },
97
- "title": "scorePointsDescriptors"
98
- }
99
- },
100
- "required": [
101
- "description",
102
- "name",
103
- "scorePointsDescriptors",
104
- "standards"
105
- ]
106
- },
107
- "title": "traits"
108
- }
109
- },
110
- "required": [
111
- "maxPoints",
112
- "scorePointsLabels",
113
- "traitLabel",
114
- "traits"
115
- ]
116
- },
117
- "title": "scales"
118
- },
119
- "id": {
120
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
121
- "type": "string",
122
- "title": "id"
123
- },
124
- "element": {
125
- "description": "The html Element tag name",
126
- "type": "string",
127
- "title": "element"
128
- }
129
- },
130
- "required": [
131
- "element",
132
- "id",
133
- "scales",
134
- "spellCheckEnabled"
135
- ],
136
- "definitions": {
137
- "EditableHtmlConfigureProp": {
138
- "title": "EditableHtmlConfigureProp",
139
- "type": "object",
140
- "properties": {
141
- "math": {
142
- "title": "EditableHtmlButtonConfigure",
143
- "type": "object",
144
- "properties": {
145
- "disabled": {
146
- "description": "Indicates if the plugin is disabled or not",
147
- "type": "boolean",
148
- "title": "disabled"
149
- }
150
- }
151
- },
152
- "audio": {
153
- "title": "EditableHtmlButtonConfigure",
154
- "type": "object",
155
- "properties": {
156
- "disabled": {
157
- "description": "Indicates if the plugin is disabled or not",
158
- "type": "boolean",
159
- "title": "disabled"
160
- }
161
- }
162
- },
163
- "video": {
164
- "title": "EditableHtmlButtonConfigure",
165
- "type": "object",
166
- "properties": {
167
- "disabled": {
168
- "description": "Indicates if the plugin is disabled or not",
169
- "type": "boolean",
170
- "title": "disabled"
171
- }
172
- }
173
- },
174
- "image": {
175
- "title": "EditableHtmlButtonConfigure",
176
- "type": "object",
177
- "properties": {
178
- "disabled": {
179
- "description": "Indicates if the plugin is disabled or not",
180
- "type": "boolean",
181
- "title": "disabled"
182
- }
183
- }
184
- },
185
- "customPlugins": {
186
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
187
- "type": "array",
188
- "items": {
189
- "title": "CustomPlugin",
190
- "type": "object",
191
- "properties": {
192
- "event": {
193
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
194
- "type": "string",
195
- "title": "event"
196
- },
197
- "iconAlt": {
198
- "description": "The alt for the custom button icon",
199
- "type": "string",
200
- "title": "iconAlt"
201
- },
202
- "iconType": {
203
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
204
- "type": "string",
205
- "title": "iconType"
206
- },
207
- "icon": {
208
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
209
- "type": "string",
210
- "title": "icon"
211
- }
212
- },
213
- "required": [
214
- "event",
215
- "icon",
216
- "iconAlt",
217
- "iconType"
218
- ]
219
- },
220
- "title": "customPlugins"
221
- },
222
- "blockquote": {
223
- "title": "EditableHtmlButtonConfigure",
224
- "type": "object",
225
- "properties": {
226
- "disabled": {
227
- "description": "Indicates if the plugin is disabled or not",
228
- "type": "boolean",
229
- "title": "disabled"
230
- }
231
- }
232
- },
233
- "h3": {
234
- "title": "EditableHtmlButtonConfigure",
235
- "type": "object",
236
- "properties": {
237
- "disabled": {
238
- "description": "Indicates if the plugin is disabled or not",
239
- "type": "boolean",
240
- "title": "disabled"
241
- }
242
- }
243
- },
244
- "characters": {
245
- "title": "EditableHtmlButtonConfigure",
246
- "type": "object",
247
- "properties": {
248
- "disabled": {
249
- "description": "Indicates if the plugin is disabled or not",
250
- "type": "boolean",
251
- "title": "disabled"
252
- }
253
- }
254
- },
255
- "bold": {
256
- "title": "EditableHtmlButtonConfigure",
257
- "type": "object",
258
- "properties": {
259
- "disabled": {
260
- "description": "Indicates if the plugin is disabled or not",
261
- "type": "boolean",
262
- "title": "disabled"
263
- }
264
- }
265
- },
266
- "html": {
267
- "title": "EditableHtmlButtonConfigure",
268
- "type": "object",
269
- "properties": {
270
- "disabled": {
271
- "description": "Indicates if the plugin is disabled or not",
272
- "type": "boolean",
273
- "title": "disabled"
274
- }
275
- }
276
- },
277
- "italic": {
278
- "title": "EditableHtmlButtonConfigure",
279
- "type": "object",
280
- "properties": {
281
- "disabled": {
282
- "description": "Indicates if the plugin is disabled or not",
283
- "type": "boolean",
284
- "title": "disabled"
285
- }
286
- }
287
- },
288
- "ol_list": {
289
- "title": "EditableHtmlButtonConfigure",
290
- "type": "object",
291
- "properties": {
292
- "disabled": {
293
- "description": "Indicates if the plugin is disabled or not",
294
- "type": "boolean",
295
- "title": "disabled"
296
- }
297
- }
298
- },
299
- "redo": {
300
- "title": "EditableHtmlButtonConfigure",
301
- "type": "object",
302
- "properties": {
303
- "disabled": {
304
- "description": "Indicates if the plugin is disabled or not",
305
- "type": "boolean",
306
- "title": "disabled"
307
- }
308
- }
309
- },
310
- "strikethrough": {
311
- "title": "EditableHtmlButtonConfigure",
312
- "type": "object",
313
- "properties": {
314
- "disabled": {
315
- "description": "Indicates if the plugin is disabled or not",
316
- "type": "boolean",
317
- "title": "disabled"
318
- }
319
- }
320
- },
321
- "sub": {
322
- "title": "EditableHtmlButtonConfigure",
323
- "type": "object",
324
- "properties": {
325
- "disabled": {
326
- "description": "Indicates if the plugin is disabled or not",
327
- "type": "boolean",
328
- "title": "disabled"
329
- }
330
- }
331
- },
332
- "sup": {
333
- "title": "EditableHtmlButtonConfigure",
334
- "type": "object",
335
- "properties": {
336
- "disabled": {
337
- "description": "Indicates if the plugin is disabled or not",
338
- "type": "boolean",
339
- "title": "disabled"
340
- }
341
- }
342
- },
343
- "table": {
344
- "title": "EditableHtmlButtonConfigure",
345
- "type": "object",
346
- "properties": {
347
- "disabled": {
348
- "description": "Indicates if the plugin is disabled or not",
349
- "type": "boolean",
350
- "title": "disabled"
351
- }
352
- }
353
- },
354
- "ul_list": {
355
- "title": "EditableHtmlButtonConfigure",
356
- "type": "object",
357
- "properties": {
358
- "disabled": {
359
- "description": "Indicates if the plugin is disabled or not",
360
- "type": "boolean",
361
- "title": "disabled"
362
- }
363
- }
364
- },
365
- "underline": {
366
- "title": "EditableHtmlButtonConfigure",
367
- "type": "object",
368
- "properties": {
369
- "disabled": {
370
- "description": "Indicates if the plugin is disabled or not",
371
- "type": "boolean",
372
- "title": "disabled"
373
- }
374
- }
375
- },
376
- "undo": {
377
- "title": "EditableHtmlButtonConfigure",
378
- "type": "object",
379
- "properties": {
380
- "disabled": {
381
- "description": "Indicates if the plugin is disabled or not",
382
- "type": "boolean",
383
- "title": "disabled"
384
- }
385
- }
386
- }
387
- }
388
- },
389
- "EditableHtmlButtonConfigure": {
390
- "title": "EditableHtmlButtonConfigure",
391
- "type": "object",
392
- "properties": {
393
- "disabled": {
394
- "description": "Indicates if the plugin is disabled or not",
395
- "type": "boolean",
396
- "title": "disabled"
397
- }
398
- }
399
- },
400
- "CustomPlugin": {
401
- "title": "CustomPlugin",
402
- "type": "object",
403
- "properties": {
404
- "event": {
405
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
406
- "type": "string",
407
- "title": "event"
408
- },
409
- "iconAlt": {
410
- "description": "The alt for the custom button icon",
411
- "type": "string",
412
- "title": "iconAlt"
413
- },
414
- "iconType": {
415
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
416
- "type": "string",
417
- "title": "iconType"
418
- },
419
- "icon": {
420
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
421
- "type": "string",
422
- "title": "icon"
423
- }
424
- },
425
- "required": [
426
- "event",
427
- "icon",
428
- "iconAlt",
429
- "iconType"
430
- ]
431
- },
432
- "EditableHtmlPluginConfigure": {
433
- "title": "EditableHtmlPluginConfigure",
434
- "type": "object",
435
- "properties": {
436
- "inputConfiguration": {
437
- "title": "EditableHtmlConfigureProp",
438
- "type": "object",
439
- "properties": {
440
- "math": {
441
- "title": "EditableHtmlButtonConfigure",
442
- "type": "object",
443
- "properties": {
444
- "disabled": {
445
- "description": "Indicates if the plugin is disabled or not",
446
- "type": "boolean",
447
- "title": "disabled"
448
- }
449
- }
450
- },
451
- "audio": {
452
- "title": "EditableHtmlButtonConfigure",
453
- "type": "object",
454
- "properties": {
455
- "disabled": {
456
- "description": "Indicates if the plugin is disabled or not",
457
- "type": "boolean",
458
- "title": "disabled"
459
- }
460
- }
461
- },
462
- "video": {
463
- "title": "EditableHtmlButtonConfigure",
464
- "type": "object",
465
- "properties": {
466
- "disabled": {
467
- "description": "Indicates if the plugin is disabled or not",
468
- "type": "boolean",
469
- "title": "disabled"
470
- }
471
- }
472
- },
473
- "image": {
474
- "title": "EditableHtmlButtonConfigure",
475
- "type": "object",
476
- "properties": {
477
- "disabled": {
478
- "description": "Indicates if the plugin is disabled or not",
479
- "type": "boolean",
480
- "title": "disabled"
481
- }
482
- }
483
- },
484
- "customPlugins": {
485
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
486
- "type": "array",
487
- "items": {
488
- "title": "CustomPlugin",
489
- "type": "object",
490
- "properties": {
491
- "event": {
492
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
493
- "type": "string",
494
- "title": "event"
495
- },
496
- "iconAlt": {
497
- "description": "The alt for the custom button icon",
498
- "type": "string",
499
- "title": "iconAlt"
500
- },
501
- "iconType": {
502
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
503
- "type": "string",
504
- "title": "iconType"
505
- },
506
- "icon": {
507
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
508
- "type": "string",
509
- "title": "icon"
510
- }
511
- },
512
- "required": [
513
- "event",
514
- "icon",
515
- "iconAlt",
516
- "iconType"
517
- ]
518
- },
519
- "title": "customPlugins"
520
- },
521
- "blockquote": {
522
- "title": "EditableHtmlButtonConfigure",
523
- "type": "object",
524
- "properties": {
525
- "disabled": {
526
- "description": "Indicates if the plugin is disabled or not",
527
- "type": "boolean",
528
- "title": "disabled"
529
- }
530
- }
531
- },
532
- "h3": {
533
- "title": "EditableHtmlButtonConfigure",
534
- "type": "object",
535
- "properties": {
536
- "disabled": {
537
- "description": "Indicates if the plugin is disabled or not",
538
- "type": "boolean",
539
- "title": "disabled"
540
- }
541
- }
542
- },
543
- "characters": {
544
- "title": "EditableHtmlButtonConfigure",
545
- "type": "object",
546
- "properties": {
547
- "disabled": {
548
- "description": "Indicates if the plugin is disabled or not",
549
- "type": "boolean",
550
- "title": "disabled"
551
- }
552
- }
553
- },
554
- "bold": {
555
- "title": "EditableHtmlButtonConfigure",
556
- "type": "object",
557
- "properties": {
558
- "disabled": {
559
- "description": "Indicates if the plugin is disabled or not",
560
- "type": "boolean",
561
- "title": "disabled"
562
- }
563
- }
564
- },
565
- "html": {
566
- "title": "EditableHtmlButtonConfigure",
567
- "type": "object",
568
- "properties": {
569
- "disabled": {
570
- "description": "Indicates if the plugin is disabled or not",
571
- "type": "boolean",
572
- "title": "disabled"
573
- }
574
- }
575
- },
576
- "italic": {
577
- "title": "EditableHtmlButtonConfigure",
578
- "type": "object",
579
- "properties": {
580
- "disabled": {
581
- "description": "Indicates if the plugin is disabled or not",
582
- "type": "boolean",
583
- "title": "disabled"
584
- }
585
- }
586
- },
587
- "ol_list": {
588
- "title": "EditableHtmlButtonConfigure",
589
- "type": "object",
590
- "properties": {
591
- "disabled": {
592
- "description": "Indicates if the plugin is disabled or not",
593
- "type": "boolean",
594
- "title": "disabled"
595
- }
596
- }
597
- },
598
- "redo": {
599
- "title": "EditableHtmlButtonConfigure",
600
- "type": "object",
601
- "properties": {
602
- "disabled": {
603
- "description": "Indicates if the plugin is disabled or not",
604
- "type": "boolean",
605
- "title": "disabled"
606
- }
607
- }
608
- },
609
- "strikethrough": {
610
- "title": "EditableHtmlButtonConfigure",
611
- "type": "object",
612
- "properties": {
613
- "disabled": {
614
- "description": "Indicates if the plugin is disabled or not",
615
- "type": "boolean",
616
- "title": "disabled"
617
- }
618
- }
619
- },
620
- "sub": {
621
- "title": "EditableHtmlButtonConfigure",
622
- "type": "object",
623
- "properties": {
624
- "disabled": {
625
- "description": "Indicates if the plugin is disabled or not",
626
- "type": "boolean",
627
- "title": "disabled"
628
- }
629
- }
630
- },
631
- "sup": {
632
- "title": "EditableHtmlButtonConfigure",
633
- "type": "object",
634
- "properties": {
635
- "disabled": {
636
- "description": "Indicates if the plugin is disabled or not",
637
- "type": "boolean",
638
- "title": "disabled"
639
- }
640
- }
641
- },
642
- "table": {
643
- "title": "EditableHtmlButtonConfigure",
644
- "type": "object",
645
- "properties": {
646
- "disabled": {
647
- "description": "Indicates if the plugin is disabled or not",
648
- "type": "boolean",
649
- "title": "disabled"
650
- }
651
- }
652
- },
653
- "ul_list": {
654
- "title": "EditableHtmlButtonConfigure",
655
- "type": "object",
656
- "properties": {
657
- "disabled": {
658
- "description": "Indicates if the plugin is disabled or not",
659
- "type": "boolean",
660
- "title": "disabled"
661
- }
662
- }
663
- },
664
- "underline": {
665
- "title": "EditableHtmlButtonConfigure",
666
- "type": "object",
667
- "properties": {
668
- "disabled": {
669
- "description": "Indicates if the plugin is disabled or not",
670
- "type": "boolean",
671
- "title": "disabled"
672
- }
673
- }
674
- },
675
- "undo": {
676
- "title": "EditableHtmlButtonConfigure",
677
- "type": "object",
678
- "properties": {
679
- "disabled": {
680
- "description": "Indicates if the plugin is disabled or not",
681
- "type": "boolean",
682
- "title": "disabled"
683
- }
684
- }
685
- }
686
- }
687
- },
688
- "settings": {
689
- "description": "Indicates if the item has to be displayed in the Settings Panel",
690
- "type": "boolean",
691
- "title": "settings"
692
- },
693
- "label": {
694
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
695
- "type": "string",
696
- "title": "label"
697
- }
698
- }
699
- },
700
- "DialogContent": {
701
- "title": "DialogContent",
702
- "type": "object",
703
- "properties": {
704
- "title": {
705
- "description": "Dialog box title",
706
- "type": "string",
707
- "title": "title"
708
- },
709
- "text": {
710
- "description": "Dialog box text",
711
- "type": "string",
712
- "title": "text"
713
- }
714
- }
715
- },
716
- "ConfigureProp": {
717
- "title": "ConfigureProp",
718
- "type": "object",
719
- "properties": {
720
- "settings": {
721
- "description": "Indicates if the item has to be displayed in the Settings Panel",
722
- "type": "boolean",
723
- "title": "settings"
724
- },
725
- "label": {
726
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
727
- "type": "string",
728
- "title": "label"
729
- }
730
- }
731
- },
732
- "ConfigureMathMLProp": {
733
- "title": "ConfigureMathMLProp",
734
- "type": "object",
735
- "properties": {
736
- "mmlOutput": {
737
- "description": "Indicates if model should have mathML output instead of latex",
738
- "type": "number",
739
- "title": "mmlOutput"
740
- },
741
- "mmlEditing": {
742
- "description": "Indicates if mathML that's already in model should be editable",
743
- "type": "number",
744
- "title": "mmlEditing"
745
- }
746
- }
747
- },
748
- "Scale": {
749
- "title": "Scale",
750
- "type": "object",
751
- "properties": {
752
- "maxPoints": {
753
- "description": "Indicates max limit for scoring points",
754
- "type": "number",
755
- "title": "maxPoints"
756
- },
757
- "scorePointsLabels": {
758
- "description": "Score labels. Starting from 0 to max.",
759
- "type": "array",
760
- "items": {
761
- "type": "string"
762
- },
763
- "title": "scorePointsLabels"
764
- },
765
- "traitLabel": {
766
- "description": "Trait label",
767
- "type": "string",
768
- "title": "traitLabel"
769
- },
770
- "traits": {
771
- "description": "Traits",
772
- "type": "array",
773
- "items": {
774
- "title": "Trait",
775
- "type": "object",
776
- "properties": {
777
- "name": {
778
- "description": "Trait name",
779
- "type": "string",
780
- "title": "name"
781
- },
782
- "standards": {
783
- "description": "Trait standards",
784
- "type": "array",
785
- "items": {
786
- "type": "string"
787
- },
788
- "title": "standards"
789
- },
790
- "description": {
791
- "description": "Trait description",
792
- "type": "string",
793
- "title": "description"
794
- },
795
- "scorePointsDescriptors": {
796
- "description": "Score point descriptors. Starting from 0 to max.",
797
- "type": "array",
798
- "items": {
799
- "type": "string"
800
- },
801
- "title": "scorePointsDescriptors"
802
- }
803
- },
804
- "required": [
805
- "description",
806
- "name",
807
- "scorePointsDescriptors",
808
- "standards"
809
- ]
810
- },
811
- "title": "traits"
812
- }
813
- },
814
- "required": [
815
- "maxPoints",
816
- "scorePointsLabels",
817
- "traitLabel",
818
- "traits"
819
- ]
820
- },
821
- "Trait": {
822
- "title": "Trait",
823
- "type": "object",
824
- "properties": {
825
- "name": {
826
- "description": "Trait name",
827
- "type": "string",
828
- "title": "name"
829
- },
830
- "standards": {
831
- "description": "Trait standards",
832
- "type": "array",
833
- "items": {
834
- "type": "string"
835
- },
836
- "title": "standards"
837
- },
838
- "description": {
839
- "description": "Trait description",
840
- "type": "string",
841
- "title": "description"
842
- },
843
- "scorePointsDescriptors": {
844
- "description": "Score point descriptors. Starting from 0 to max.",
845
- "type": "array",
846
- "items": {
847
- "type": "string"
848
- },
849
- "title": "scorePointsDescriptors"
850
- }
851
- },
852
- "required": [
853
- "description",
854
- "name",
855
- "scorePointsDescriptors",
856
- "standards"
857
- ]
858
- }
859
- },
860
- "$schema": "http://json-schema.org/draft-07/schema#"
861
- }